:root {
  --bg: #fbf7f1;
  --bg-soft: #f5efe7;
  --surface: rgba(255, 255, 255, 0.58);
  --text: #221d1a;
  --muted: #7b746d;
  --line: rgba(34, 29, 26, 0.08);
  --line-strong: rgba(34, 29, 26, 0.14);
  --accent: #31494a;
  --accent-soft: rgba(49, 73, 74, 0.08);
  --container: 1540px;
  --hero-copy: 34rem;
  --content-copy: 41rem;
  --radius-lg: 36px;
  --radius-md: 28px;
  --font-heading: "Newsreader", Georgia, serif;
  --font-body: "Manrope", "Segoe UI", sans-serif;
  --copy-line-height: 1.68;
  --copy-line-height-tight: 1.56;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: clip;
}

[id] {
  scroll-margin-top: 120px;
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: clip;
  font-family: var(--font-body);
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(255, 255, 255, 0.92), transparent 28%),
    linear-gradient(180deg, #fdfaf5 0%, #f8f3ed 40%, #fbf8f3 100%);
  line-height: var(--copy-line-height);
  text-rendering: optimizeLegibility;
}

body.nav-open {
  overflow: hidden;
}

::selection {
  background: rgba(49, 73, 74, 0.16);
}

img {
  display: block;
  width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  color: inherit;
}

main,
header,
footer {
  position: relative;
  z-index: 1;
}

.container {
  width: min(calc(100% - clamp(32px, 7vw, 144px)), var(--container));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(251, 247, 241, 0.66);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: background 0.28s ease, border-color 0.28s ease;
}

.site-header.is-scrolled {
  background: rgba(252, 249, 244, 0.82);
  border-color: var(--line);
}

.header__inner {
  min-height: 88px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 22px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.brand__mark {
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  position: relative;
  border-radius: 50%;
  border: 1px solid rgba(34, 29, 26, 0.14);
  background:
    radial-gradient(circle at 32% 28%, rgba(255, 255, 255, 0.96), rgba(255, 255, 255, 0.3) 66%),
    linear-gradient(160deg, rgba(255, 255, 255, 0.82), rgba(255, 255, 255, 0.12));
}

.brand__mark::after {
  content: "";
  position: absolute;
  inset: 12px;
  border-radius: 50%;
  background: linear-gradient(150deg, rgba(49, 73, 74, 0.82), rgba(49, 73, 74, 0.46));
}

.brand__text strong,
.brand__text small {
  display: block;
}

.brand__text {
  min-width: 0;
}

.brand__text strong {
  font-size: 0.82rem;
  line-height: 1;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.brand__text small {
  margin-top: 5px;
  color: var(--muted);
  font-size: 0.71rem;
  line-height: 1.4;
}

.site-nav {
  justify-self: center;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 24px;
}

.site-nav a,
.header-cta,
.btn,
.section__eyebrow,
.hero__eyebrow,
.story-card__meta,
.timeline__num,
.editorial-note__label,
.quote-card span {
  font-size: 0.72rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.site-nav a {
  position: relative;
  color: var(--muted);
  transition: color 0.2s ease;
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -6px;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.22s ease;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--text);
}

.site-nav a:hover::after,
.site-nav a[aria-current="page"]::after {
  transform: scaleX(1);
}

.header-cta {
  white-space: nowrap;
}

.header-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 18px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: rgba(255, 255, 255, 0.62);
  transition: transform 0.25s ease, border-color 0.25s ease, background-color 0.25s ease;
}

.header-cta:hover,
.btn:hover {
  transform: translateY(-1px);
}

.header-cta:hover {
  background: rgba(255, 255, 255, 0.72);
  border-color: rgba(34, 29, 26, 0.2);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: 14px;
  background: transparent;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.nav-toggle:hover {
  background: rgba(49, 73, 74, 0.08);
}

.nav-toggle::before,
.nav-toggle span {
  content: "";
  display: block;
  width: 24px;
  height: 2px;
  border-radius: 999px;
  background: var(--text);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.nav-toggle[aria-expanded="true"]::before {
  opacity: 0;
  transform: scaleX(0);
}

.nav-toggle[aria-expanded="true"] span:first-child {
  transform: translateY(3.5px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:last-child {
  transform: translateY(-3.5px) rotate(-45deg);
}

.schedule-first {
  padding: clamp(18px, 3vw, 34px) 0 clamp(24px, 4vw, 46px);
  background: #f8f4ee;
}

.schedule-first__link {
  display: grid;
  grid-template-columns: minmax(0, 0.76fr) minmax(320px, 1.24fr);
  gap: clamp(18px, 3vw, 34px);
  align-items: center;
  padding: clamp(16px, 2.6vw, 30px);
  border: 1px solid rgba(49, 73, 74, 0.16);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at 18% 12%, rgba(190, 140, 39, 0.16), transparent 28%),
    linear-gradient(135deg, #fffaf1 0%, #f3eee5 100%);
  color: var(--text);
  text-decoration: none;
  box-shadow: 0 22px 68px rgba(19, 24, 22, 0.12);
}

.schedule-first__carousel {
  --carousel-item-width: 100%;
  padding: 2px;
}

.schedule-first__carousel .carousel__track {
  --carousel-gap: clamp(14px, 2vw, 24px);
  padding: 0;
}

.schedule-first__carousel .schedule-first__link {
  height: 100%;
}

.schedule-first__copy {
  display: grid;
  gap: 18px;
  align-content: center;
  min-width: 0;
}

.schedule-first__copy .section__eyebrow {
  margin: 0;
  color: var(--accent-dark);
  font-weight: 700;
}

.schedule-first__title {
  margin: 0;
  max-width: 10ch;
  font-family: var(--font-heading);
  font-size: clamp(3rem, 5.8vw, 6.2rem);
  font-weight: 400;
  line-height: 0.98;
  color: var(--text);
  text-wrap: balance;
}

.schedule-first__text {
  margin: 0;
  max-width: 34rem;
  color: var(--muted);
  font-size: clamp(1rem, 1.18vw, 1.12rem);
  line-height: 1.55;
}

.schedule-first__copy .btn {
  width: fit-content;
}

.schedule-first__media {
  margin: 0;
  min-width: 0;
  overflow: hidden;
  border-radius: calc(var(--radius-lg) - 10px);
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 18px 44px rgba(19, 24, 22, 0.14);
}

.schedule-first__media img {
  display: block;
  width: 100%;
  max-height: min(72vh, 760px);
  object-fit: contain;
}

.hero {
  padding: clamp(34px, 5vw, 72px) 0 clamp(62px, 8vw, 104px);
}

.hero__grid {
  display: grid;
  grid-template-columns: 1fr;
  grid-template-areas: "hero";
  align-items: stretch;
  min-height: clamp(620px, 74vh, 860px);
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: #1d2423;
  box-shadow: 0 28px 80px rgba(19, 24, 22, 0.16);
}

.hero__grid > * {
  min-width: 0;
}

.hero__copy {
  position: relative;
  z-index: 3;
  grid-area: hero;
  align-self: end;
  max-width: min(48rem, 100%);
  padding: clamp(26px, 5vw, 74px);
  color: #f8f4ee;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.42);
}

.hero__eyebrow,
.section__eyebrow,
.story-card__meta,
.timeline__num,
.editorial-note__label,
.quote-card span {
  color: var(--muted);
}

.hero__eyebrow,
.section__eyebrow {
  margin: 0 0 18px;
}

.hero__title,
.section__title,
.story-card h3,
.editorial-note h3,
.timeline__item h3 {
  margin: 0;
  font-family: var(--font-heading);
  font-weight: 400;
  color: var(--text);
  text-wrap: balance;
}

.hero__title {
  font-size: clamp(3.4rem, 6.6vw, 6.6rem);
  line-height: 1.08;
  max-width: 12.5ch;
  color: inherit;
}

.hero__lead,
.section__text,
.story-card p,
.editorial-note p,
.timeline__item p,
.quote-card p {
  color: var(--muted);
  text-wrap: pretty;
}

.hero__lead {
  margin: 24px 0 0;
  max-width: 34rem;
  font-size: clamp(1rem, 1.16vw, 1.08rem);
  color: rgba(248, 244, 238, 0.9);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
  align-items: center;
}

.hero__actions .btn,
.lead-form__actions .btn,
.scenario-detail__intro > .btn,
.birthday-hero__actions .btn,
.birthday-quote__wrap > .btn {
  min-width: 220px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  max-width: 100%;
  min-height: 48px;
  padding: 12px 22px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  line-height: 1.22;
  text-align: center;
  white-space: normal;
  overflow-wrap: anywhere;
  transition: transform 0.25s ease, background-color 0.25s ease, border-color 0.25s ease, color 0.25s ease;
}

.btn--primary {
  background: var(--accent);
  border-color: var(--accent);
  color: #f8f5ef;
}

.btn--primary:hover {
  background: #365051;
}

.btn--secondary {
  background: rgba(255, 255, 255, 0.44);
}

.btn--secondary:hover {
  background: rgba(255, 255, 255, 0.66);
  border-color: rgba(34, 29, 26, 0.18);
}

.btn--telegram-community {
  gap: 8px;
}

.btn--telegram-community::before {
  content: "";
  width: 1.05em;
  height: 1.05em;
  flex: 0 0 auto;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 2 11 13'/%3E%3Cpath d='m22 2-7 20-4-9-9-4Z'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 2 11 13'/%3E%3Cpath d='m22 2-7 20-4-9-9-4Z'/%3E%3C/svg%3E") center / contain no-repeat;
}

.hero__visual,
.cta-block__image {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
}

.hero__visual {
  position: relative;
  z-index: 1;
  grid-area: hero;
  min-height: 100%;
  border-radius: inherit;
  background: #1d2423;
}

.hero__visual::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(5, 7, 7, 0.08), rgba(5, 7, 7, 0.12) 38%, rgba(5, 7, 7, 0.54) 100%),
    linear-gradient(90deg, rgba(5, 7, 7, 0.64), rgba(5, 7, 7, 0.16) 58%, rgba(5, 7, 7, 0.22));
  pointer-events: none;
}

.hero__visual::after,
.cta-block__image::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  border-radius: inherit;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(19, 17, 16, 0.12));
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12);
  pointer-events: none;
}

.hero__visual img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  min-height: 0;
  aspect-ratio: auto;
  object-fit: cover;
  object-position: center;
  filter: saturate(0.88) contrast(1.02);
}

.hero__visual--blank,
.cta-block__image--blank {
  min-height: clamp(620px, 74vh, 860px);
  background:
    radial-gradient(circle at top left, rgba(255, 255, 255, 0.14), transparent 34%),
    radial-gradient(circle at 82% 26%, rgba(112, 168, 165, 0.16), transparent 30%),
    linear-gradient(180deg, rgba(34, 42, 41, 0.96), rgba(20, 25, 24, 0.98));
  border: 1px solid rgba(34, 29, 26, 0.08);
}

.section {
  padding: clamp(94px, 11vw, 168px) 0;
}

.section--soft {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.24), rgba(255, 255, 255, 0.08)),
    var(--bg-soft);
}

.section__head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: clamp(30px, 4vw, 48px);
  min-width: 0;
}

.section__copy {
  max-width: var(--content-copy);
  margin-bottom: clamp(30px, 4vw, 48px);
  min-width: 0;
}

.section__head .section__copy {
  margin-bottom: 0;
}

.section__title {
  font-size: clamp(2.65rem, 4.8vw, 4.9rem);
  line-height: 1.08;
  letter-spacing: 0;
  max-width: 15ch;
}

.section__text {
  margin: 18px 0 0;
  max-width: 38rem;
  font-size: clamp(1rem, 1.14vw, 1.08rem);
}

.carousel__track {
  --carousel-gap: clamp(22px, 3vw, 38px);
  display: flex;
  align-items: stretch;
  gap: var(--carousel-gap);
  padding: 2px 0 0;
  transform: translate3d(0, 0, 0);
  will-change: transform;
}

.carousel {
  position: relative;
  min-width: 0;
  overflow: hidden;
  cursor: grab;
  touch-action: pan-y pinch-zoom;
  user-select: none;
  -webkit-user-select: none;
}

.carousel.is-dragging {
  cursor: grabbing;
}

.carousel.is-dragging a,
.carousel.is-dragging button {
  pointer-events: none;
}

.carousel a,
.carousel img {
  -webkit-user-drag: none;
}

.carousel__track > * {
  flex: 0 0 var(--carousel-item-width, clamp(320px, 30vw, 420px));
  min-width: 0;
}

.story-card {
  display: grid;
  grid-template-rows: auto 1fr;
  gap: 18px;
  min-width: 0;
  min-height: 736px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.42);
  scroll-snap-align: start;
  transition: transform 0.32s ease, opacity 0.32s ease, border-color 0.32s ease, background-color 0.32s ease, box-shadow 0.32s ease;
}

.story-card:hover {
  transform: translateY(-2px);
  opacity: 0.98;
  border-color: rgba(34, 29, 26, 0.16);
  background: rgba(255, 255, 255, 0.56);
  box-shadow: 0 18px 46px rgba(49, 40, 32, 0.08);
}

.story-card.is-clickable-card {
  cursor: pointer;
}

.story-card.is-clickable-card:focus-visible {
  outline: 3px solid rgba(61, 89, 90, 0.28);
  outline-offset: 4px;
}

.story-card__link {
  display: grid;
  grid-template-rows: auto 1fr;
  gap: 18px;
  min-width: 0;
  min-height: 100%;
  color: inherit;
  text-decoration: none;
  border-radius: inherit;
}

.story-card__link:focus-visible {
  outline: 3px solid rgba(61, 89, 90, 0.28);
  outline-offset: 4px;
}

.story-card__media {
  overflow: hidden;
  border-radius: calc(var(--radius-lg) - 8px);
}

.story-card__media img {
  aspect-ratio: 4 / 5;
  object-fit: cover;
  filter: saturate(0.9) contrast(1.02);
  transform: none;
  transition: filter 0.32s ease;
}

.story-card:hover .story-card__media img {
  transform: none;
}

.story-card__body {
  display: grid;
  grid-template-rows: var(--story-card-meta-row, auto) var(--story-card-body-title-row, auto) 1fr;
  gap: 10px;
  align-items: flex-start;
  min-height: 100%;
}

.story-card--entry {
  text-decoration: none;
}

.story-card--entry:not(.story-card--product) {
  position: relative;
  display: flex;
  min-height: clamp(560px, 52vw, 680px);
  overflow: hidden;
  padding: 0;
  isolation: isolate;
  border-color: rgba(34, 29, 26, 0.34);
  background: #1d2423;
  color: #f8f4ee;
  box-shadow: 0 24px 64px rgba(19, 24, 22, 0.16);
}

.story-card--entry:not(.story-card--product)::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(5, 7, 7, 0.08) 0%, rgba(5, 7, 7, 0.16) 42%, rgba(5, 7, 7, 0.56) 72%, rgba(5, 7, 7, 0.88) 100%),
    linear-gradient(90deg, rgba(5, 7, 7, 0.38), rgba(5, 7, 7, 0.08) 58%, rgba(5, 7, 7, 0.24));
  pointer-events: none;
}

.story-card--entry:not(.story-card--product)::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 3;
  border-radius: inherit;
  box-shadow: none;
  pointer-events: none;
}

.story-card--entry:not(.story-card--product) .story-card__link {
  position: relative;
  z-index: 4;
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  justify-content: stretch;
  gap: 0;
  height: 100%;
  min-height: 100%;
  padding: clamp(20px, 2.3vw, 30px);
}

.story-card--entry:not(.story-card--product) .story-card__media {
  position: absolute;
  inset: -32px;
  z-index: 0;
  border-radius: 0;
}

.story-card--entry:not(.story-card--product) .story-card__media img {
  display: block;
  width: 100%;
  height: 100%;
  aspect-ratio: auto;
  object-fit: cover;
  transform: none;
  filter: saturate(0.94) contrast(1.05) brightness(0.72);
  transition: filter 0.32s ease;
}

.story-card--entry:not(.story-card--product):hover .story-card__media img {
  transform: none;
  filter: saturate(0.98) contrast(1.07) brightness(0.78);
}

.story-card--schedule .story-card__media {
  inset: 0;
  background: #eadfce;
}

.story-card--schedule .story-card__media img {
  object-fit: contain;
  object-position: center;
  background: #eadfce;
  filter: saturate(0.98) contrast(1.02) brightness(0.9);
}

.story-card--schedule::before {
  background:
    linear-gradient(180deg, rgba(5, 7, 7, 0.04) 0%, rgba(5, 7, 7, 0.04) 56%, rgba(5, 7, 7, 0.38) 82%, rgba(5, 7, 7, 0.72) 100%);
}

.story-card--entry:not(.story-card--product) .story-card__body {
  position: relative;
  z-index: 5;
  display: grid;
  flex: 1 1 auto;
  grid-template-rows: minmax(0, 1fr) minmax(5.9rem, auto) minmax(3rem, auto) auto;
  gap: 10px;
  height: 100%;
  min-height: 100%;
  padding: 0;
  color: inherit;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.5);
}

.story-card--entry:not(.story-card--product) .story-card__body > p:not(.story-card__meta) {
  position: relative;
  z-index: 1;
  grid-row: 3;
  display: -webkit-box;
  flex: 0 0 auto;
  min-height: 2.9em;
  max-width: 21.5rem;
  overflow: hidden;
  color: rgba(248, 244, 238, 0.9);
  line-height: 1.42;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.story-card--entry:not(.story-card--product) .story-card__meta {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 6;
  width: fit-content;
  min-height: 34px;
  margin: 0;
  padding: 8px 15px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  background: rgba(12, 15, 15, 0.58);
  color: rgba(248, 244, 238, 0.9);
  font-size: 0.72rem;
  backdrop-filter: blur(10px);
}

.story-card--entry:not(.story-card--product) h3 {
  position: relative;
  z-index: 1;
  grid-row: 2;
  display: flex;
  align-items: flex-end;
  flex: 0 0 auto;
  min-height: clamp(5.25rem, 6.2vw, 6.4rem);
  margin: 0;
  max-width: min(100%, 18rem);
  color: #f8f4ee;
  font-size: clamp(2rem, 3vw, 2.85rem);
  line-height: 1.1;
  letter-spacing: 0;
  text-wrap: balance;
  overflow-wrap: normal;
  word-break: normal;
  hyphens: none;
}

.story-card--entry:not(.story-card--product) .story-card__cta {
  position: relative;
  z-index: 1;
  grid-row: 4;
  align-self: flex-start;
  justify-self: stretch;
  max-width: 100%;
  min-height: 48px;
  margin-top: 2px;
  padding: 0 22px;
  border-color: rgba(255, 255, 255, 0.2);
  background: #3d595a;
  color: #f8f4ee;
  text-align: center;
  pointer-events: none;
}

.story-card--entry:not(.story-card--product) .story-card__body:not(:has(.story-card__cta))::after {
  content: "Смотреть формат";
  position: relative;
  z-index: 1;
  grid-row: 4;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: flex-start;
  max-width: 100%;
  min-height: 48px;
  margin-top: 8px;
  padding: 0 22px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  background: #3d595a;
  color: #f8f4ee;
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  white-space: normal;
  overflow-wrap: normal;
  text-shadow: none;
}

.story-card--entry .story-card__media {
  align-self: stretch;
}

.story-card--entry .story-card__link {
  min-height: 100%;
}

.story-card--entry .story-card__media img {
  width: 100%;
  height: 100%;
  display: block;
}

.story-card--entry:focus-visible {
  outline: 3px solid rgba(61, 89, 90, 0.28);
  outline-offset: 4px;
}

.story-card--entry:active {
  transform: translateY(0);
}

.story-card h3 {
  font-size: clamp(1.55rem, 2.2vw, 2.35rem);
  line-height: 1.12;
  letter-spacing: 0;
}

.story-card p {
  margin: 0;
  max-width: 27rem;
  font-size: 1rem;
}

.story-card__subtitle {
  max-width: 24rem;
}

.story-card__micro {
  font-size: 0.88rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.story-card__meta,
.story-card__tag,
.story-card__micro,
.story-card__info-list li:last-child,
.story-card .btn {
  letter-spacing: normal;
  text-transform: none;
}

.story-card__cta {
  margin-top: auto;
}

.story-card--base {
  min-height: clamp(520px, 44vw, 620px);
  background: rgba(255, 255, 255, 0.48);
}

.story-card--base .story-card__link {
  grid-template-rows: auto 1fr;
  gap: 16px;
}

.story-card--base .story-card__media img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.story-card--base .story-card__body {
  grid-template-rows: auto auto 1fr auto;
  padding: 2px 2px 6px;
}

.story-card--base .story-card__cta {
  align-self: end;
  justify-self: start;
  margin-top: 8px;
  pointer-events: none;
}

.story-card--product {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: 0;
  overflow: hidden;
  isolation: isolate;
  min-height: clamp(560px, 58vw, 700px);
  border-color: rgba(255, 255, 255, 0.08);
  background:
    linear-gradient(180deg, rgba(23, 31, 30, 0.98), rgba(18, 24, 23, 0.96)),
    #1f2624;
  color: #f6f0e8;
  box-shadow: 0 24px 64px rgba(19, 24, 22, 0.22);
}

.story-card--product::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(5, 7, 7, 0.2) 0%, rgba(5, 7, 7, 0.36) 44%, rgba(5, 7, 7, 0.92) 100%),
    linear-gradient(90deg, rgba(5, 7, 7, 0.42), rgba(5, 7, 7, 0.12) 54%, rgba(5, 7, 7, 0.3)),
    radial-gradient(circle at top left, rgba(255, 255, 255, 0.14), transparent 34%);
  z-index: 1;
  pointer-events: none;
}

.story-card--product::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.14), transparent 18%);
  opacity: 0.48;
  z-index: 3;
  pointer-events: none;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.story-card--product > * {
  position: relative;
  z-index: 2;
}

.story-card--product .story-card__link {
  position: relative;
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  gap: 0;
  min-height: 100%;
  height: 100%;
}

.story-card__panel {
  display: grid;
  grid-template-rows: auto 1fr;
  gap: 28px;
  min-height: 100%;
}

.story-card--product .story-card__panel {
  position: relative;
  z-index: 2;
  display: grid;
  flex: 1 1 auto;
  grid-template-rows: auto minmax(0, 1fr);
  gap: 18px;
  min-height: 0;
  order: 2;
  padding: clamp(20px, 2.4vw, 30px);
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.48);
  background: transparent;
}

.story-card__header {
  display: flex;
  align-items: flex-start;
  min-height: 40px;
}

.story-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.story-card__tag {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 8px 15px;
  border-radius: 999px;
  background: rgba(12, 15, 15, 0.26);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #f6f0e8;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  backdrop-filter: blur(10px);
}

.story-card__content {
  display: grid;
  grid-template-rows: auto 1fr;
  gap: 26px;
  min-height: 100%;
  height: 100%;
}

.story-card--product .story-card__content {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  align-content: end;
  gap: 18px;
  min-height: 0;
  height: 100%;
}

.story-card__heading {
  display: grid;
  gap: 16px;
  align-content: start;
}

.story-card--product .story-card__heading {
  grid-template-rows: var(--story-card-title-row, auto) var(--story-card-subtitle-row, auto);
  min-height: 0;
}

.story-card--product .story-card__title {
  margin: 0;
  font-size: clamp(1.82rem, 2.55vw, 2.55rem);
  line-height: 1.08;
  letter-spacing: 0;
  color: #f8f4ee;
  max-width: 100%;
  overflow-wrap: normal;
  word-break: normal;
  hyphens: none;
  text-wrap: balance;
  align-self: start;
}

.story-card__content-bottom {
  display: grid;
  grid-template-rows: minmax(8.5rem, auto) auto;
  gap: 22px;
  height: 100%;
  align-content: stretch;
}

.story-card--product .story-card__content-bottom {
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  align-content: end;
  gap: 18px;
  min-height: 0;
  height: 100%;
}

.story-card__copy-group {
  display: grid;
  gap: 14px;
  align-content: start;
  min-height: 0;
  max-width: 22.5rem;
}

.story-card--product .story-card__copy-group {
  grid-template-rows: var(--story-card-summary-row, auto) auto;
}

.story-card--product .story-card__subtitle,
.story-card--product .story-card__summary,
.story-card--product .story-card__note {
  margin: 0;
  max-width: 22.5rem;
  color: rgba(248, 244, 238, 0.92);
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
}

.story-card--product .story-card__subtitle {
  font-size: 1.03rem;
  line-height: 1.66;
  -webkit-line-clamp: 3;
}

.story-card--product .story-card__summary {
  line-height: 1.72;
  -webkit-line-clamp: 3;
}

.story-card--product .story-card__note {
  font-size: 0.86rem;
  line-height: 1.64;
  color: rgba(248, 244, 238, 0.78);
  -webkit-line-clamp: 3;
}

.story-card__info-list {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
  align-content: start;
  max-width: 22.5rem;
}

.story-card--product .story-card__info-list li {
  margin: 0;
  color: rgba(248, 244, 238, 0.9);
}

.story-card__info-list li:first-child {
  font-size: 1.02rem;
  line-height: 1.66;
}

.story-card__info-list li:last-child {
  font-size: 0.86rem;
  line-height: 1.56;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.story-card--product .story-card__actions {
  display: grid;
  gap: 10px;
  margin-top: auto;
  align-self: end;
  width: 100%;
  padding-top: 66px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.story-card--product .story-card__cta {
  margin-top: 0;
  align-self: stretch;
  min-height: 52px;
  border-color: rgba(61, 89, 90, 0.96);
  background: #3d595a;
  pointer-events: none;
}

.story-card--product .story-card__cta:hover {
  background: #476767;
}

.story-card--birthday .story-card__summary,
.story-card--birthday .story-card__note {
  max-width: 21rem;
}

.story-card--birthday .story-card__cta {
  margin-top: 0;
}

.story-card--product .story-card__cta {
  width: 100%;
  min-width: 0;
  text-align: center;
}

.story-card--format {
  min-height: 688px;
}

.story-card--format .story-card__header {
  min-height: 40px;
}

.story-card--format .story-card__heading {
  grid-template-rows: var(--story-card-title-row, auto) var(--story-card-subtitle-row, auto);
}

.story-card--format .story-card__title {
  max-width: 100%;
}

.story-card--format .story-card__copy-group {
  max-width: 23rem;
  grid-template-rows: var(--story-card-summary-row, auto) auto;
}

.story-card--format .story-card__actions {
  width: 100%;
}

.story-card--format .story-card__cta {
  pointer-events: auto;
}

.story-card--birthday .story-card__cta--secondary {
  border-color: rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.08);
  color: #f8f4ee;
}

.story-card--birthday .story-card__cta--secondary:hover {
  background: rgba(255, 255, 255, 0.14);
}

.story-card__media--product {
  position: absolute;
  z-index: 0;
  inset: 0;
  order: initial;
  flex: none;
  width: 100%;
  height: 100%;
  aspect-ratio: auto;
  margin: 0;
  overflow: hidden;
  border-radius: 0;
  background: rgba(255, 255, 255, 0.08);
  border-bottom: 0;
}

.story-card__media--product:not(.story-card__media--format) {
  inset: -32px;
  width: auto;
  height: auto;
}

.story-card--product > .story-card__media--product {
  z-index: 0;
}

.story-card__media--format {
  background:
    radial-gradient(circle at 14% 16%, var(--format-glow, rgba(112, 168, 165, 0.28)), transparent 34%),
    radial-gradient(circle at 82% 18%, rgba(255, 255, 255, 0.16), transparent 18%),
    linear-gradient(165deg, var(--format-surface-top, rgba(31, 44, 43, 0.98)), var(--format-surface-bottom, rgba(12, 16, 16, 0.98)));
}

.story-card__media--format::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.08), transparent 36%),
    radial-gradient(circle at bottom right, rgba(255, 255, 255, 0.08), transparent 30%);
  pointer-events: none;
}

.story-card__media--product img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: saturate(0.92) contrast(1.04) brightness(0.68);
  transform: none;
  transition: filter 0.32s ease;
}

.story-card--product:hover .story-card__media--product img {
  transform: none;
  filter: saturate(0.96) contrast(1.06) brightness(0.76);
}

.hero__lead,
.section__text,
.story-card p,
.story-card__info-list li,
.editorial-note p,
.timeline__item p,
.quote-card p,
.scenario-detail__steps span,
.scenario-detail__list li,
.scenario-step__text,
.birthday-hero__lead,
.birthday-hero__note,
.birthday-scene__group p {
  line-height: var(--copy-line-height);
}

.story-card__note,
.story-card__info-list li:last-child,
.lead-form__input {
  line-height: var(--copy-line-height-tight);
}

.scenario-detail__intro {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
}

.scenario-detail__copy {
  max-width: 44rem;
}

.scenario-detail__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(20px, 3vw, 32px);
  margin-top: 34px;
}

.scenario-detail__card {
  min-width: 0;
  min-height: 100%;
  padding: clamp(24px, 3vw, 34px);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.52);
}

.scenario-detail__card--cta {
  display: grid;
  align-content: start;
  gap: 14px;
}

.scenario-detail__card--cta h3 {
  margin: 0;
  font-size: clamp(1.5rem, 2vw, 2rem);
  line-height: 1.12;
}

.scenario-detail__card--cta p {
  margin: 0;
  max-width: 26rem;
}

.scenario-detail__steps,
.scenario-detail__list {
  display: grid;
  gap: 16px;
  margin: 18px 0 0;
  padding: 0;
}

.scenario-detail__steps {
  list-style: none;
  counter-reset: scenario-step;
}

.scenario-detail__steps li {
  display: grid;
  gap: 8px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  counter-increment: scenario-step;
}

.scenario-detail__steps li::before {
  content: "0" counter(scenario-step);
  font-size: 0.72rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted);
}

.scenario-detail__steps strong,
.scenario-detail__list li {
  color: var(--text);
}

.scenario-detail__steps span,
.scenario-detail__list li {
  line-height: 1.7;
  color: var(--muted);
}

.scenario-detail__list {
  list-style: none;
}

.scenario-detail__list li {
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.scenario-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(18px, 3vw, 28px);
}

.scenario-gallery__item {
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.36);
}

.scenario-gallery__item--feature {
  grid-column: 1 / -1;
}

.scenario-gallery__item img {
  width: 100%;
  min-height: clamp(260px, 30vw, 360px);
  height: 100%;
  object-fit: cover;
}

.scenario-gallery__item--feature img {
  min-height: clamp(340px, 48vw, 560px);
}

.carousel--gallery {
  --carousel-item-width: clamp(320px, 44vw, 640px);
}

.carousel--gallery .carousel__track {
  --carousel-gap: clamp(18px, 2vw, 24px);
  padding-bottom: 2px;
}

.carousel--gallery .scenario-gallery__item {
  margin: 0;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.4);
}

.carousel--gallery .scenario-gallery__item--feature {
  grid-column: auto;
}

.carousel--gallery .scenario-gallery__item img,
.carousel--gallery .scenario-gallery__item--feature img {
  min-height: clamp(280px, 34vw, 480px);
  aspect-ratio: 4 / 3;
}

.formats-carousel {
  --carousel-item-width: clamp(320px, 34vw, 450px);
}

.scenario-program__stack {
  display: grid;
  gap: 18px;
}

.scenario-step {
  max-width: 52rem;
  padding: clamp(22px, 3vw, 34px);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.52);
}

.scenario-step__title {
  margin: 0 0 14px;
  font-size: clamp(1.6rem, 2.2vw, 2.2rem);
  line-height: 1.1;
}

.scenario-step__body {
  display: grid;
  gap: 14px;
}

.scenario-step__text {
  margin: 0;
  max-width: 32rem;
  line-height: 1.7;
  color: var(--text);
}

.scenario-quote__card {
  display: grid;
  gap: 10px;
  max-width: 34rem;
  margin: 0;
  padding: clamp(28px, 4vw, 44px);
  border-radius: var(--radius-lg);
  background: #31494a;
  color: #f8f5ef;
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1.08;
}

.scenario-quote__card span {
  display: block;
}

.scenario-bottom-cta__inner {
  display: flex;
  justify-content: flex-start;
}

.date-choice__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(18px, 3vw, 28px);
}

.date-choice__link {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 88px;
  padding: 20px 24px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-lg);
  font-size: clamp(1.05rem, 1.2vw, 1.18rem);
  line-height: 1.4;
  text-align: center;
  transition: transform 0.25s ease, border-color 0.25s ease, background-color 0.25s ease;
}

.date-choice__link:hover {
  transform: translateY(-1px);
}

.date-choice__link--soft {
  background: rgba(255, 255, 255, 0.54);
}

.date-choice__link--strong {
  background: var(--accent);
  border-color: var(--accent);
  color: #f8f5ef;
}

.date-choice__link--strong:hover {
  background: #365051;
}

.date-program__intro {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 34px;
}

.date-program__copy {
  max-width: 44rem;
}

.date-program__meta {
  margin: 0 0 16px;
  color: var(--muted);
  font-size: 0.78rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.date-program__stack {
  display: grid;
  gap: 18px;
}

.date-program__footer {
  display: grid;
  grid-template-columns: minmax(0, auto) minmax(260px, 1fr);
  align-items: end;
  gap: clamp(22px, 4vw, 42px);
  margin-top: 34px;
}

.date-program__actions {
  display: grid;
  gap: 12px;
  justify-items: start;
}

.date-program__actions .btn {
  min-width: min(100%, 320px);
}

.date-program__cta-soft {
  background: rgba(255, 255, 255, 0.54);
}

.date-program__note {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.6;
}

.birthday-hero {
  padding: clamp(34px, 5vw, 78px) 0 clamp(58px, 7vw, 104px);
}

.birthday-hero__grid {
  display: grid;
  grid-template-columns: 1fr;
  grid-template-areas: "hero";
  align-items: stretch;
  min-height: clamp(620px, 74vh, 860px);
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: #1d2423;
  box-shadow: 0 28px 80px rgba(19, 24, 22, 0.16);
}

.birthday-scene__copy {
  min-width: 0;
}

.birthday-hero__copy {
  position: relative;
  z-index: 3;
  grid-area: hero;
  align-self: end;
  min-width: 0;
  max-width: min(54rem, 100%);
  padding: clamp(26px, 5vw, 74px);
  color: #f8f4ee;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.42);
}

.birthday-hero__title,
.birthday-hero__subtitle,
.birthday-scene__name,
.birthday-quote__card {
  margin: 0;
  font-family: var(--font-heading);
  font-weight: 400;
  color: var(--text);
}

.birthday-hero__title {
  max-width: 12ch;
  font-size: clamp(3.2rem, 6vw, 6.2rem);
  line-height: 0.98;
  color: inherit;
}

.birthday-hero__subtitle {
  margin-top: 18px;
  max-width: 24ch;
  font-size: clamp(1.4rem, 2.2vw, 2.1rem);
  line-height: 1.12;
  color: inherit;
}

.birthday-hero__lead,
.birthday-hero__note,
.birthday-scene__group p {
  margin: 0;
  color: var(--text);
}

.birthday-hero__lead {
  margin-top: 22px;
  max-width: 38rem;
  font-size: clamp(1rem, 1.15vw, 1.12rem);
  line-height: 1.65;
  color: rgba(248, 244, 238, 0.9);
}

.birthday-hero__actions {
  margin-top: 28px;
}

.birthday-hero__note {
  margin-top: 18px;
  font-size: 0.92rem;
  line-height: 1.6;
  color: rgba(248, 244, 238, 0.72);
}

.birthday-hero__media,
.birthday-scene__media {
  overflow: hidden;
  border-radius: var(--radius-lg);
}

.birthday-hero__media {
  position: relative;
  z-index: 1;
  grid-area: hero;
  min-height: 100%;
  margin: 0;
  border-radius: inherit;
  background: #1d2423;
}

.birthday-hero__media::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(5, 7, 7, 0.12), rgba(5, 7, 7, 0.2) 38%, rgba(5, 7, 7, 0.82) 100%),
    linear-gradient(90deg, rgba(5, 7, 7, 0.6), rgba(5, 7, 7, 0.2) 58%, rgba(5, 7, 7, 0.34));
  pointer-events: none;
}

.birthday-hero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  border-radius: inherit;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12);
  pointer-events: none;
}

.birthday-hero__media img,
.birthday-hero__media video {
  position: absolute;
  inset: 0;
  display: block;
  min-height: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.birthday-hero__media--surf img,
.birthday-hero__media--surf video {
  object-position: 52% 30%;
}

.media-video-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}

.media-video-card {
  overflow: hidden;
  margin: 0;
  background: var(--color-ink, #172523);
  border-radius: var(--radius-card, 1.5rem);
  aspect-ratio: 9 / 16;
  max-height: 44rem;
}

.media-video-card video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: var(--color-ink, #172523);
}

.media-video-card img {
 display: block;
 width: 100%;
 height: 100%;
 object-fit: cover;
}

.alliance-page .media-video-card img,
#new-gallery .media-video-card img,
#media-2026 .media-video-card img {
 object-fit: contain;
 background: var(--color-surface, #f2eee7);
}

.alliance-page .birthday-hero__media img,
.alliance-page .cta-block__image img,
.uncropped-media-page .birthday-hero__media img,
.uncropped-media-page .birthday-scene__media img,
.uncropped-media-page .scenario-gallery__item img {
 object-fit: contain;
 background: var(--color-surface, #f2eee7);
}

@media (max-width: 700px) {
  .media-video-grid {
    grid-template-columns: 1fr;
  }
}

.birthday-scenes {
  padding-top: 0;
}

.birthday-scenes__stack {
  display: grid;
  gap: clamp(28px, 4vw, 44px);
}

.birthday-scene {
  display: grid;
  grid-template-columns: minmax(0, 0.84fr) minmax(320px, 1fr);
  gap: clamp(24px, 4vw, 42px);
  align-items: center;
}

.birthday-scene--reverse .birthday-scene__copy {
  order: 2;
}

.birthday-scene--reverse .birthday-scene__media {
  order: 1;
}

.birthday-scene__copy {
  display: grid;
  gap: 20px;
  padding: clamp(24px, 3vw, 34px);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.58);
}

.birthday-scene__name {
  font-size: clamp(1.8rem, 2.6vw, 2.6rem);
  line-height: 1.04;
}

.birthday-scene__groups {
  display: grid;
  gap: 18px;
  max-width: 34rem;
}

.birthday-scene__group {
  display: grid;
  gap: 6px;
}

.birthday-scene__group p {
  font-size: clamp(1.02rem, 1.18vw, 1.14rem);
  line-height: 1.62;
  text-wrap: pretty;
}

.birthday-scene__copy .btn {
  justify-self: start;
}

.birthday-scene__media {
  min-height: clamp(300px, 32vw, 460px);
  background: rgba(255, 255, 255, 0.28);
}

.birthday-scene__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.birthday-quote {
  padding-top: clamp(24px, 4vw, 48px);
}

.birthday-quote__wrap {
  display: grid;
  gap: 22px;
  justify-items: start;
}

.birthday-quote__card {
  display: grid;
  gap: 10px;
  max-width: 36rem;
  padding: clamp(28px, 4vw, 46px);
  border-radius: var(--radius-lg);
  background: #31494a;
  color: #f8f5ef;
  font-size: clamp(2rem, 4vw, 3.5rem);
  line-height: 1.06;
}

.birthday-quote__card span {
  display: block;
}

.editorial-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(26px, 4vw, 58px) clamp(28px, 6vw, 96px);
}

.editorial-note {
  position: relative;
  min-width: 0;
  padding-top: 20px;
}

.editorial-note::before,
.timeline__item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 72px;
  height: 1px;
  background: var(--line-strong);
}

.editorial-note h3,
.timeline__item h3 {
  font-size: clamp(1.5rem, 2vw, 2rem);
  line-height: 1.16;
  max-width: 17ch;
}

.editorial-note p,
.timeline__item p {
  margin: 14px 0 0;
  max-width: 28rem;
  font-size: 1rem;
}

.faq-list {
  display: grid;
  gap: 12px;
  max-width: 920px;
}

.faq-item {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.58);
  overflow: hidden;
}

.faq-item summary {
  position: relative;
  display: block;
  min-height: 58px;
  padding: 18px 56px 18px 20px;
  cursor: pointer;
  font-weight: 700;
  line-height: 1.25;
  color: var(--ink);
  list-style: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  position: absolute;
  top: 50%;
  right: 20px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  display: grid;
  place-items: center;
  transform: translateY(-50%);
  font-size: 1.05rem;
  line-height: 1;
}

.faq-item[open] summary::after {
  content: "−";
}

.faq-item__answer {
  padding: 0 20px 20px;
}

.faq-item__answer p {
  margin: 0;
  max-width: 48rem;
  color: var(--muted);
}

.faq-item__answer a {
  color: var(--ink);
  font-weight: 700;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

.timeline {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(18px, 2vw, 30px);
}

.timeline__item {
  position: relative;
  padding-top: 20px;
  min-width: 0;
}

.timeline__item:nth-child(2n) {
  margin-top: 48px;
}

.timeline__num {
  display: inline-block;
  margin-bottom: 14px;
}

.quote-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 3vw, 40px);
}

.quote-card {
  padding-top: 20px;
  position: relative;
}

.quote-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 64px;
  height: 1px;
  background: var(--line);
}

.quote-card p {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.92;
  color: var(--text);
}

.quote-card span {
  display: inline-block;
  margin-top: 18px;
}

.cta-block {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(320px, 0.92fr);
  gap: clamp(30px, 5vw, 70px);
  align-items: center;
}

.cta-block__copy {
  min-width: 0;
  max-width: 36rem;
}

.lead-form {
  display: grid;
  gap: 14px;
  margin-top: 28px;
}

.lead-form__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.lead-form__field {
  display: grid;
  gap: 8px;
  min-width: 0;
}

.lead-form__field span,
.lead-form__status {
  font-size: 0.72rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.lead-form__field span {
  color: var(--muted);
}

.lead-form__input {
  width: 100%;
  min-height: 50px;
  padding: 13px 18px;
  border: 1px solid var(--line-strong);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.54);
  color: var(--text);
  font: inherit;
  line-height: 1.6;
  transition: border-color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}

.lead-form__input::placeholder {
  color: rgba(123, 116, 109, 0.82);
}

.lead-form__input:focus {
  outline: none;
  border-color: rgba(49, 73, 74, 0.3);
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 0 0 3px rgba(49, 73, 74, 0.08);
}

.lead-form__input--area {
  min-height: 128px;
  resize: vertical;
}

.lead-form__input.is-invalid {
  border-color: rgba(153, 81, 68, 0.38);
  box-shadow: 0 0 0 3px rgba(153, 81, 68, 0.08);
}

.lead-form__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
}

.lead-form__status {
  flex: 1 1 220px;
  min-height: 1.2em;
  margin: 0;
  color: var(--muted);
  font-size: 0.82rem;
  letter-spacing: 0.02em;
  text-transform: none;
  overflow-wrap: anywhere;
}

.lead-form__status.is-success {
  color: var(--accent);
}

.lead-form__status.is-error {
  color: #8f574a;
}

.cta-block__copy > .hero__actions {
  margin-top: 20px;
  gap: 10px;
}

.cta-block__copy > .hero__actions .btn {
  min-height: 44px;
  padding: 10px 18px;
}

.cta-block__copy > .hero__actions .btn--primary {
  background: rgba(255, 255, 255, 0.44);
  border-color: var(--line-strong);
  color: var(--text);
}

.cta-block__copy > .hero__actions .btn--primary:hover {
  background: rgba(255, 255, 255, 0.66);
  border-color: rgba(34, 29, 26, 0.18);
}

.cta-block__image img {
  min-height: 420px;
  aspect-ratio: 1.2 / 1;
  object-fit: cover;
  filter: saturate(0.9) contrast(1.02);
}

.site-footer {
  padding: 22px 0 40px;
}

.footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.9rem;
}

.footer__inner p {
  margin: 0;
}

.footer__inner a {
  color: var(--text);
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.72s ease, transform 0.72s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 1180px) {
  .schedule-first__link {
    grid-template-columns: 1fr;
  }

  .schedule-first__title {
    max-width: 14ch;
  }

  .header__inner {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 18px;
  }

  .nav-toggle {
    display: inline-flex;
    justify-self: end;
  }

  .header-cta {
    display: none;
  }

  .site-nav {
    grid-column: 1 / -1;
    justify-self: stretch;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
    padding: 18px 0 8px;
    border-top: 1px solid var(--line);
  }

  .site-nav.is-open {
    display: flex;
  }

  .hero__grid,
  .cta-block,
  .quote-grid,
  .lead-form__grid {
    grid-template-columns: 1fr;
  }

  .hero__copy {
    max-width: 40rem;
    padding-top: 0;
  }

  .section__head {
    flex-direction: column;
    align-items: flex-start;
  }

  .carousel__track {
    gap: clamp(20px, 3vw, 30px);
  }

  .scenario-detail__intro {
    display: grid;
    align-items: start;
  }

  .scenario-detail__grid {
    grid-template-columns: 1fr;
  }

  .date-choice__grid,
  .date-program__footer {
    grid-template-columns: 1fr;
  }

  .date-program__intro {
    display: grid;
    align-items: start;
  }

  .birthday-hero__grid,
  .birthday-scene {
    grid-template-columns: 1fr;
  }

  .birthday-hero__title,
  .birthday-hero__subtitle,
  .birthday-scene__groups {
    max-width: 100%;
  }

  .birthday-scene--reverse .birthday-scene__copy,
  .birthday-scene--reverse .birthday-scene__media {
    order: initial;
  }

  .timeline {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .timeline__item:nth-child(2n) {
    margin-top: 28px;
  }
}

@media (max-width: 780px) {
  .container {
    width: min(calc(100% - 24px), var(--container));
  }

  [id] {
    scroll-margin-top: 96px;
  }

  .header__inner {
    min-height: 78px;
    gap: 14px;
  }

  .brand__text small {
    max-width: 17rem;
  }

  .hero {
    padding-top: 28px;
  }

  .birthday-hero {
    padding-top: 28px;
    padding-bottom: 48px;
  }

  .hero__title {
    font-size: clamp(2.35rem, 10.5vw, 3.35rem);
    line-height: 1.07;
    max-width: min(100%, 11.2ch);
  }

  .birthday-hero__title {
    max-width: 100%;
    font-size: clamp(2.8rem, 14vw, 4.6rem);
  }

  .birthday-hero__subtitle {
    max-width: 100%;
    font-size: clamp(1.18rem, 6.5vw, 1.7rem);
  }

  .birthday-hero__media img,
  .birthday-scene__media,
  .birthday-scene__media img {
    min-height: 320px;
  }

  .location-page .birthday-hero {
    padding-top: 22px;
    padding-bottom: 38px;
  }

  .location-page .birthday-hero__grid {
    gap: 20px;
  }

  .location-page .birthday-hero__title {
    font-size: clamp(2.45rem, 12vw, 3.6rem);
    line-height: 1.02;
    max-width: 10.5ch;
  }

  .location-page .birthday-hero__subtitle {
    margin-top: 14px;
    font-size: clamp(1.08rem, 5.4vw, 1.44rem);
    line-height: 1.18;
  }

  .location-page .birthday-hero__lead {
    margin-top: 16px;
    font-size: 0.98rem;
    line-height: 1.5;
  }

  .location-page .birthday-hero__actions {
    margin-top: 20px;
  }

  .location-page .birthday-hero__note {
    display: none;
  }

  .location-page .birthday-hero__media img {
    min-height: 220px;
    max-height: 240px;
  }

  .birthday-scene__copy {
    padding: 22px 20px;
  }

  .birthday-scene__name {
    font-size: clamp(1.9rem, 9vw, 2.6rem);
  }

  .section__title {
    font-size: clamp(1.95rem, 8vw, 2.75rem);
    max-width: 100%;
    overflow-wrap: anywhere;
  }

  .hero__lead,
  .section__text,
  .story-card p,
  .editorial-note p,
  .timeline__item p,
  .quote-card p,
  .date-program__note {
    line-height: var(--copy-line-height);
    text-wrap: wrap;
    overflow-wrap: break-word;
  }

  .hero__actions {
    gap: 12px;
  }

  .btn,
  .header-cta {
    max-width: 100%;
  }

  .hero__actions .btn,
  .lead-form__actions .btn,
  .scenario-detail__intro > .btn,
  .birthday-hero__actions .btn,
  .birthday-quote__wrap > .btn {
    min-width: 0;
    width: 100%;
  }

  .carousel__track {
    gap: 22px;
    padding-right: 8px;
  }

  .carousel {
    --carousel-item-width: 84vw;
  }

  .story-card {
    min-height: 660px;
  }

  .story-card--entry:not(.story-card--product) {
    min-height: 580px;
  }

  .story-card--entry:not(.story-card--product) .story-card__link {
    height: 100%;
    padding: 18px;
  }

  .story-card--entry:not(.story-card--product) .story-card__body {
    grid-template-rows: minmax(72px, 1fr) auto auto auto;
    gap: 10px;
    height: 100%;
  }

  .story-card--entry:not(.story-card--product) h3 {
    grid-row: 2;
    display: flex;
    min-height: 0;
    max-width: min(100%, 16rem);
    font-size: clamp(1.45rem, 7vw, 1.9rem);
    line-height: 1.08;
  }

  .story-card--entry:not(.story-card--product) .story-card__body > p:not(.story-card__meta) {
    grid-row: 3;
    min-height: 0;
    max-width: 100%;
    -webkit-line-clamp: 2;
  }

  .story-card--entry:not(.story-card--product) .story-card__cta,
  .story-card--entry:not(.story-card--product) .story-card__body:not(:has(.story-card__cta))::after {
    grid-row: 4;
  }

  .story-card--product {
    min-height: 580px;
  }

  .story-card--format {
    min-height: 580px;
  }

  .story-card--product .story-card__panel {
    display: grid;
    grid-template-rows: auto minmax(0, 1fr);
    gap: 14px;
    padding: 18px;
  }

  .story-card--product .story-card__content {
    display: grid;
    grid-template-rows: auto minmax(0, 1fr);
    gap: 14px;
    height: 100%;
  }

  .story-card--product .story-card__title {
    font-size: clamp(1.45rem, 6.5vw, 1.82rem);
    max-width: 100%;
    line-height: 1.08;
  }

  .story-card--product .story-card__subtitle {
    font-size: 0.96rem;
    line-height: 1.52;
    -webkit-line-clamp: 2;
  }

  .story-card--product .story-card__summary {
    line-height: 1.55;
    -webkit-line-clamp: 2;
  }

  .story-card--product .story-card__note {
    line-height: 1.5;
    -webkit-line-clamp: 2;
  }

  .story-card--product .story-card__actions {
    padding-top: 12px;
  }

  .story-card--product .story-card__heading,
  .story-card--birthday .story-card__heading {
    min-height: 0;
  }

  .story-card--product .story-card__copy-group {
    grid-template-rows: var(--story-card-summary-row, auto) auto;
  }

  .story-card__content-bottom {
    height: 100%;
    grid-template-rows: minmax(0, 1fr) auto;
  }

  .story-card--birthday .story-card__title {
    max-width: 100%;
  }

  .editorial-grid,
  .timeline,
  .quote-grid,
  .date-choice__grid,
  .scenario-gallery {
    grid-template-columns: 1fr;
  }

  .scenario-detail__card {
    padding: 22px 20px;
  }

  .faq-list {
    gap: 10px;
  }

  .faq-item summary {
    min-height: 54px;
    padding: 16px 50px 16px 16px;
    font-size: 0.98rem;
  }

  .faq-item summary::after {
    right: 16px;
    width: 26px;
    height: 26px;
  }

  .faq-item__answer {
    padding: 0 16px 18px;
  }

  .faq-item__answer p {
    font-size: 0.95rem;
    line-height: 1.55;
  }

  .timeline__item:nth-child(2n) {
    margin-top: 0;
  }

  .hero__visual img,
  .cta-block__image img {
    min-height: 320px;
  }

  .hero__visual--blank,
  .cta-block__image--blank {
    min-height: 320px;
  }

  .footer__inner {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* Absolute hero rule: every hero is a single poster, never text/image columns. */
.hero__copy .hero__eyebrow,
.birthday-hero__copy .section__eyebrow {
  color: rgba(248, 244, 238, 0.76);
}

.hero__copy .btn--secondary,
.birthday-hero__copy .btn--secondary {
  border-color: rgba(255, 255, 255, 0.34);
  background: rgba(255, 255, 255, 0.12);
  color: #f8f4ee;
  backdrop-filter: blur(10px);
}

.hero__copy .btn--secondary:hover,
.birthday-hero__copy .btn--secondary:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.48);
}

@media (max-width: 760px) {
  .schedule-first {
    padding: 10px 0 22px;
  }

  .schedule-first .container {
    width: min(100% - 18px, var(--container));
  }

  .schedule-first__link {
    gap: 12px;
    padding: 10px;
    border-radius: 28px;
  }

  .schedule-first__media {
    order: -1;
    border-radius: 22px;
  }

  .schedule-first__media img {
    max-height: calc(100svh - 128px);
  }

  .schedule-first__copy {
    gap: 10px;
    padding: 4px 4px 6px;
  }

  .schedule-first__title {
    max-width: 13ch;
    font-size: clamp(2.3rem, 12vw, 3.5rem);
    line-height: 1;
  }

  .schedule-first__text {
    font-size: 0.95rem;
    line-height: 1.45;
  }

  .schedule-first__copy .btn {
    width: 100%;
  }

  .hero,
  .birthday-hero {
    padding-top: 18px;
  }

  .hero__grid {
    min-height: auto;
    border-radius: 28px;
  }

  .birthday-hero__grid {
    min-height: calc(100svh - 118px);
    border-radius: 28px;
  }

  .hero__copy {
    min-height: calc(100svh - 118px);
    max-width: 100%;
    padding: 28px 20px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
  }

  .birthday-hero__copy {
    max-width: 100%;
    padding: 24px 20px;
  }

  .hero__lead {
    margin-top: 18px;
    font-size: 0.96rem;
    line-height: 1.48;
  }

  .hero__actions {
    width: 100%;
    gap: 10px;
    margin-top: 24px;
  }

  .hero__actions .btn {
    width: 100%;
    min-width: 0;
  }

  .hero__visual,
  .birthday-hero__media,
  .hero__visual--blank {
    min-height: 100%;
  }

  .hero__visual img {
    min-height: 100%;
    max-height: none;
  }

  .birthday-hero__media img {
    min-height: calc(100svh - 118px);
    max-height: none;
  }

  .location-page .birthday-hero__media img {
    min-height: calc(100svh - 118px);
    max-height: none;
  }

  .birthday-hero__note {
    display: none;
  }
}

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.btn--with-icon,
.header-contact,
.story-card__quick-action {
  gap: 8px;
}

.contact-icon::before {
  content: "";
  width: 1.05em;
  height: 1.05em;
  flex: 0 0 auto;
  background: currentColor;
}

.contact-icon--phone::before {
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 16.92v3a2 2 0 0 1-2.18 2 19.8 19.8 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6A19.8 19.8 0 0 1 2.12 4.2 2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72c.12.9.32 1.77.58 2.61a2 2 0 0 1-.45 2.11L8 9.67a16 16 0 0 0 6.33 6.33l1.23-1.23a2 2 0 0 1 2.11-.45c.84.26 1.71.46 2.61.58A2 2 0 0 1 22 16.92Z'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 16.92v3a2 2 0 0 1-2.18 2 19.8 19.8 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6A19.8 19.8 0 0 1 2.12 4.2 2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72c.12.9.32 1.77.58 2.61a2 2 0 0 1-.45 2.11L8 9.67a16 16 0 0 0 6.33 6.33l1.23-1.23a2 2 0 0 1 2.11-.45c.84.26 1.71.46 2.61.58A2 2 0 0 1 22 16.92Z'/%3E%3C/svg%3E") center / contain no-repeat;
}

.contact-icon--whatsapp::before {
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20.5 11.9A8.5 8.5 0 0 1 8.1 19.5L3 21l1.5-5A8.5 8.5 0 1 1 20.5 11.9Z'/%3E%3Cpath d='M8.8 8.6c.2-.5.4-.5.7-.5h.5c.2 0 .5 0 .7.5l.6 1.4c.1.3.1.5-.1.7l-.4.5c-.1.1-.2.3-.1.5.4.8 1.1 1.5 2.1 2 .2.1.4.1.5-.1l.6-.7c.2-.2.4-.2.7-.1l1.5.7c.3.2.5.3.5.6-.1.6-.7 1.3-1.4 1.4-1 .2-3.4-.3-5.3-2.2-1.7-1.7-2.4-3.7-2.2-4.7Z'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20.5 11.9A8.5 8.5 0 0 1 8.1 19.5L3 21l1.5-5A8.5 8.5 0 1 1 20.5 11.9Z'/%3E%3Cpath d='M8.8 8.6c.2-.5.4-.5.7-.5h.5c.2 0 .5 0 .7.5l.6 1.4c.1.3.1.5-.1.7l-.4.5c-.1.1-.2.3-.1.5.4.8 1.1 1.5 2.1 2 .2.1.4.1.5-.1l.6-.7c.2-.2.4-.2.7-.1l1.5.7c.3.2.5.3.5.6-.1.6-.7 1.3-1.4 1.4-1 .2-3.4-.3-5.3-2.2-1.7-1.7-2.4-3.7-2.2-4.7Z'/%3E%3C/svg%3E") center / contain no-repeat;
}

.contact-icon--telegram::before,
.btn--telegram-community::before {
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 2 11 13'/%3E%3Cpath d='m22 2-7 20-4-9-9-4Z'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 2 11 13'/%3E%3Cpath d='m22 2-7 20-4-9-9-4Z'/%3E%3C/svg%3E") center / contain no-repeat;
}

.header-actions {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  justify-self: end;
}

.header-contact {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: rgba(255, 255, 255, 0.62);
  color: var(--text);
  transition: transform 0.25s ease, border-color 0.25s ease, background-color 0.25s ease, color 0.25s ease;
}

.header-contact:hover {
  transform: translateY(-1px);
  background: rgba(255, 255, 255, 0.78);
  border-color: rgba(34, 29, 26, 0.2);
}

.header-contact--whatsapp,
.header-contact--telegram {
  background: var(--accent);
  border-color: var(--accent);
  color: #f8f5ef;
}

.header-contact--whatsapp:hover,
.header-contact--telegram:hover {
  background: #365051;
  color: #f8f5ef;
}

.story-card__quick-actions {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 8;
  display: inline-flex;
  gap: 8px;
  pointer-events: auto;
}

.story-card--product .story-card__quick-actions {
  top: auto;
  right: clamp(20px, 2.4vw, 30px);
  bottom: calc(clamp(20px, 2.4vw, 30px) + 64px);
}

.story-card__quick-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(12, 15, 15, 0.62);
  color: #f8f4ee;
  backdrop-filter: blur(12px);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.16);
  transition: transform 0.25s ease, background-color 0.25s ease, border-color 0.25s ease;
}

.story-card__quick-action::before {
  width: 18px;
  height: 18px;
}

.story-card__quick-action:hover {
  transform: translateY(-1px);
  background: rgba(61, 89, 90, 0.92);
  border-color: rgba(255, 255, 255, 0.34);
}

@media (max-width: 1180px) {
  .header-actions {
    grid-column: 1 / -1;
    justify-self: start;
  }
}

@media (max-width: 780px) {
  .header-actions {
    gap: 6px;
  }

  .header-contact {
    width: 40px;
    height: 40px;
  }

  .story-card__quick-actions {
    top: 12px;
    right: 12px;
    gap: 6px;
  }

  .story-card--entry:not(.story-card--product) .story-card__quick-actions {
    top: 14px;
    right: 14px;
  }

  .story-card--product .story-card__quick-actions {
    top: auto;
    right: 20px;
    bottom: 86px;
  }

  .story-card__quick-action {
    width: 38px;
    height: 38px;
  }
}

.story-card--entry:not(.story-card--product):not(.story-card--schedule) {
  min-height: clamp(560px, 58vw, 700px);
  border-color: rgba(255, 255, 255, 0.08);
  background:
    linear-gradient(180deg, rgba(23, 31, 30, 0.98), rgba(18, 24, 23, 0.96)),
    #1f2624;
  box-shadow: 0 24px 64px rgba(19, 24, 22, 0.22);
}

.story-card--entry:not(.story-card--product):not(.story-card--schedule)::before {
  background:
    linear-gradient(180deg, rgba(5, 7, 7, 0.2) 0%, rgba(5, 7, 7, 0.36) 44%, rgba(5, 7, 7, 0.92) 100%),
    linear-gradient(90deg, rgba(5, 7, 7, 0.42), rgba(5, 7, 7, 0.12) 54%, rgba(5, 7, 7, 0.3)),
    radial-gradient(circle at top left, rgba(255, 255, 255, 0.14), transparent 34%);
}

.story-card--entry:not(.story-card--product):not(.story-card--schedule)::after {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.14), transparent 18%);
  opacity: 0.48;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.story-card--entry:not(.story-card--product):not(.story-card--schedule) .story-card__link {
  padding: clamp(20px, 2.4vw, 30px);
}

.story-card--entry:not(.story-card--product):not(.story-card--schedule) .story-card__media img {
  filter: saturate(0.92) contrast(1.04) brightness(0.68);
}

.story-card--entry:not(.story-card--product):not(.story-card--schedule):hover .story-card__media img {
  filter: saturate(0.96) contrast(1.06) brightness(0.76);
}

.story-card--entry:not(.story-card--product):not(.story-card--schedule) .story-card__body {
  grid-template-rows: auto auto minmax(0, 1fr) auto;
  gap: 18px;
}

.story-card--entry:not(.story-card--product):not(.story-card--schedule) .story-card__meta {
  position: relative;
  top: auto;
  left: auto;
  grid-row: 1;
  align-self: start;
  min-height: 34px;
  padding: 8px 15px;
  background: rgba(12, 15, 15, 0.26);
  border-color: rgba(255, 255, 255, 0.2);
  color: #f6f0e8;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.story-card--entry:not(.story-card--product):not(.story-card--schedule) h3 {
  grid-row: 2;
  display: block;
  min-height: 0;
  max-width: 100%;
  font-size: clamp(1.82rem, 2.55vw, 2.55rem);
  line-height: 1.08;
  align-self: start;
}

.story-card--entry:not(.story-card--product):not(.story-card--schedule) .story-card__body > p:not(.story-card__meta) {
  grid-row: 3;
  align-self: start;
  min-height: 0;
  max-width: 22.5rem;
  color: rgba(248, 244, 238, 0.92);
  font-size: 1.03rem;
  line-height: 1.66;
  -webkit-line-clamp: 3;
}

.story-card--entry:not(.story-card--product):not(.story-card--schedule) .story-card__cta,
.story-card--entry:not(.story-card--product):not(.story-card--schedule) .story-card__body:not(:has(.story-card__cta))::after {
  grid-row: 4;
  align-self: end;
  justify-self: stretch;
  width: 100%;
  min-height: 52px;
  margin-top: 0;
  border-color: rgba(61, 89, 90, 0.96);
  background: #3d595a;
  text-shadow: none;
}

.story-card--entry:not(.story-card--product):not(.story-card--schedule) .story-card__quick-actions {
  top: auto;
  right: clamp(20px, 2.4vw, 30px);
  bottom: calc(clamp(20px, 2.4vw, 30px) + 64px);
}

@media (max-width: 780px) {
  .story-card--entry:not(.story-card--product):not(.story-card--schedule) {
    min-height: 580px;
  }

  .story-card--entry:not(.story-card--product):not(.story-card--schedule) .story-card__link {
    padding: 18px;
  }

  .story-card--entry:not(.story-card--product):not(.story-card--schedule) .story-card__body {
    gap: 14px;
  }

  .story-card--entry:not(.story-card--product):not(.story-card--schedule) h3 {
    font-size: clamp(1.45rem, 6.5vw, 1.82rem);
    line-height: 1.08;
  }

  .story-card--entry:not(.story-card--product):not(.story-card--schedule) .story-card__body > p:not(.story-card__meta) {
    line-height: 1.52;
    -webkit-line-clamp: 3;
  }

  .story-card--entry:not(.story-card--product):not(.story-card--schedule) .story-card__quick-actions {
    top: auto;
    right: 20px;
    bottom: 86px;
  }
}
