/* =============================================================
   Café Savorsky × Eliška Hlaváčová — landing page
   ============================================================= */

:root {
  --bg: #0f1f1b;
  --bg-2: #0a1411;
  --bg-3: #111111;
  --accent: #c3897a;
  --accent-2: #b9855b;
  --cream: #f9f6ef;
  --cream-dim: rgba(249, 246, 239, 0.72);
  --cream-faint: rgba(249, 246, 239, 0.42);
  --hairline: rgba(195, 137, 122, 0.28);

  --font-serif: "Cormorant Garamond", "Times New Roman", serif;
  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  --max-w: 1200px;
  --pad-x: clamp(1.25rem, 4vw, 3rem);
}

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

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--cream);
  font-family: var(--font-sans);
  font-weight: 300;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

html { scroll-behavior: smooth; }

img { max-width: 100%; display: block; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
a { color: inherit; text-decoration: none; }

/* ---------- utilities ---------- */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding-inline: var(--pad-x);
}

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

/* =============================================================
   HERO
   ============================================================= */
.hero {
  position: relative;
  width: 100%;
  min-height: 100vh;        /* fallback */
  min-height: 100svh;
  overflow: hidden;
  display: flex;
  align-items: stretch;
  justify-content: stretch;
  isolation: isolate;
  transition: opacity 600ms ease;
}

/* video background */
.hero__video {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.hero__video iframe {
  /* Cover the viewport regardless of YouTube's 16:9 aspect. */
  position: absolute;
  top: 45%;
  left: 50%;
  width: 100vw;
  height: 56.25vw;           /* 16:9 based on width */
  min-height: 100vh;
  min-height: 100svh;
  min-width: 177.78vh;       /* 16:9 based on height */
  min-width: 177.78svh;
  transform: translate(-50%, -50%) scale(1.06);
  pointer-events: none;
  border: 0;
  animation: bg-zoom 30s ease-in-out infinite alternate;
}

.hero--mobile-video .hero__video iframe {
  /* Cover the viewport for the 9:16 YouTube Shorts version. */
  top: 50%;
  width: 56.25vh;
  width: 56.25svh;
  height: 100vh;
  height: 100svh;
  min-width: 100vw;
  min-height: 177.78vw;
  animation: mobile-bg-zoom 30s ease-in-out infinite alternate;
}

@keyframes bg-zoom {
  from { transform: translate(-50%, -50%) scale(1.04); }
  to   { transform: translate(-50%, -50%) scale(1.14); }
}

@keyframes mobile-bg-zoom {
  from { transform: translate(-50%, -50%) scale(1.16); }
  to   { transform: translate(-50%, -50%) scale(1.26); }
}

.hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(100deg, rgba(8,14,12,0.88) 0%, rgba(10,20,17,0.62) 45%, rgba(0,0,0,0.35) 100%),
    radial-gradient(ellipse at 20% 50%, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0) 60%);
  pointer-events: none;
  transition: opacity 700ms ease;
}

/* hero content — two column layout */
.hero__content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: clamp(2rem, 6vh, 5rem) var(--pad-x) clamp(3rem, 8vh, 5rem);
  padding-left: clamp(var(--pad-x), 34vw, 38vw);
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(2rem, 5vw, 4rem);
  transition: opacity 600ms ease, transform 600ms ease, filter 600ms ease;
}

.hero__text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  gap: clamp(0.9rem, 2vh, 1.4rem);
}

.hero__portrait {
  position: absolute;
  left: clamp(0rem, 2vw, 2.5rem);
  bottom: 0;
  z-index: 2;
  width: auto;
  height: min(83vh, 740px);
  max-width: 38vw;
  object-fit: contain;
  object-position: bottom left;
  pointer-events: none;
  user-select: none;
  filter: drop-shadow(0 18px 40px rgba(0, 0, 0, 0.55));
  animation: fade-up 1200ms ease-out 200ms both;
}

.hero__date {
  margin: 0;
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(2.8rem, 8.5vw, 7rem);
  line-height: 1;
  letter-spacing: -0.01em;
  color: var(--accent);
  animation: fade-up 1100ms ease-out 150ms both;
}
.hero__date-num {
  display: inline-block;
  background: linear-gradient(180deg, #d8a589 0%, #c3897a 55%, #b9855b 100%);
  -webkit-background-clip: text;
          background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero__title {
  margin: 0;
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(1.6rem, 3.6vw, 2.8rem);
  line-height: 1.1;
  color: var(--cream);
  animation: fade-up 1100ms ease-out 300ms both;
}

.hero__subtitle {
  margin: 0;
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(1.05rem, 1.8vw, 1.45rem);
  color: var(--accent);
  letter-spacing: 0.01em;
  animation: fade-up 1100ms ease-out 450ms both;
}

.hero__meta {
  margin: 0.6rem 0 0;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  color: var(--cream-dim);
  animation: fade-up 1100ms ease-out 600ms both;
}

.hero__action {
  display: flex;
  align-items: center;
  justify-content: center;
}

/* play button */
.play-button {
  --size: clamp(96px, 13vw, 160px);
  width: var(--size);
  height: var(--size);
  border-radius: 50%;
  border: 1.5px solid var(--accent);
  background: rgba(15, 31, 27, 0.25);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  transition:
    transform 350ms cubic-bezier(.2,.7,.2,1),
    background 350ms ease,
    border-color 350ms ease,
    box-shadow 350ms ease;
  animation: fade-up 1100ms ease-out 550ms both;
  position: relative;
}
.play-button::before {
  content: "";
  position: absolute;
  inset: -12px;
  border-radius: 50%;
  border: 1px solid var(--hairline);
  opacity: 0.6;
  transition: opacity 350ms ease, transform 350ms ease;
}
.play-button svg {
  width: 38%;
  height: 38%;
  fill: currentColor;
  transform: translateX(3px);
}
.play-button:hover,
.play-button:focus-visible {
  transform: scale(1.06);
  background: rgba(195, 137, 122, 0.18);
  border-color: var(--cream);
  color: var(--cream);
  box-shadow: 0 10px 40px -10px rgba(195, 137, 122, 0.55);
  outline: none;
}
.play-button:hover::before,
.play-button:focus-visible::before { opacity: 1; transform: scale(1.05); }

/* countdown */
.countdown {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  width: min(100%, 460px);
  margin-top: clamp(0.6rem, 1.8vh, 1.4rem);
  border: 1px solid var(--hairline);
  border-radius: 6px;
  background: rgba(10, 20, 17, 0.35);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  padding: 0.9rem 0.4rem;
  animation: fade-up 1100ms ease-out 750ms both;
}
.countdown__cell {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0.2rem 0.4rem;
  text-align: center;
}
.countdown__cell + .countdown__cell::before {
  content: "";
  position: absolute;
  left: 0;
  top: 18%;
  bottom: 18%;
  width: 1px;
  background: var(--hairline);
}
.countdown__num {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(1.6rem, 3.2vw, 2.2rem);
  line-height: 1;
  color: var(--cream);
  font-variant-numeric: tabular-nums;
}
.countdown__label {
  margin-top: 0.45rem;
  font-size: 0.66rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--cream-faint);
}

/* scroll arrow — anchored to bottom of hero */
.scroll-arrow {
  --s: 44px;
  position: absolute;
  left: 50%;
  bottom: clamp(1.5rem, 4vh, 2.5rem);
  transform: translateX(-50%);
  width: var(--s);
  height: var(--s);
  z-index: 3;
  border-radius: 50%;
  border: 1px solid var(--hairline);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  background: rgba(15, 31, 27, 0.25);
  transition: transform 350ms ease, border-color 350ms ease, color 350ms ease, opacity 500ms ease;
  animation: fade-up 1100ms ease-out 900ms both, arrow-bob 2.4s ease-in-out 2s infinite;
}
.scroll-arrow svg { width: 45%; height: 45%; }
.scroll-arrow:hover,
.scroll-arrow:focus-visible {
  color: var(--cream);
  border-color: var(--cream);
  transform: translateX(-50%) translateY(2px);
  outline: none;
}

@keyframes arrow-bob {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%      { transform: translateX(-50%) translateY(6px); }
}

@keyframes fade-up {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ---------- inline fullscreen playback ---------- */
/* Full-width top bar that hosts the close button.
   Blocks YouTube’s iframe from intercepting taps near the top of the screen,
   which on mobile would otherwise redirect to the YouTube site / app. */
.hero__close-shield {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 64px;
  z-index: 49;
  display: none;
  background: linear-gradient(180deg, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0) 100%);
  pointer-events: none;
  touch-action: manipulation;
}
.hero.is-playing .hero__close-shield {
  display: block;
  pointer-events: auto;
}
.hero__close {
  position: absolute;
  top: calc(clamp(1rem, 2.5vh, 1.6rem) + env(safe-area-inset-top, 0px));
  right: calc(clamp(1rem, 2.5vw, 1.6rem) + env(safe-area-inset-right, 0px));
  z-index: 50;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid rgba(249, 246, 239, 0.55);
  color: var(--cream);
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  display: none;
  align-items: center;
  justify-content: center;
  opacity: 0;
  cursor: pointer;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
  touch-action: manipulation;
  transition: opacity 300ms ease, transform 250ms ease, background 250ms ease;
}

/* Invisible safety pad behind the close button — enlarges the tappable
   zone so YouTube’s iframe can’t intercept taps near the corner. */
.hero__close::before {
  content: "";
  position: absolute;
  inset: -18px;
  border-radius: 50%;
}
.hero__close svg { width: 55%; height: 55%; }
.hero__close:hover,
.hero__close:focus-visible {
  background: rgba(195, 137, 122, 0.25);
  transform: rotate(90deg);
  outline: none;
}

/* when playing: dissolve everything except the close button + video */
.hero.is-playing .hero__content,
.hero.is-playing .scroll-arrow,
.hero.is-playing .hero__portrait,
.hero.is-playing .countdown,
.hero.is-playing .hero__overlay {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  animation: none !important;
  transition: opacity 400ms ease, visibility 0s linear 400ms;
}
.hero.is-playing .hero__close {
  display: inline-flex;
  opacity: 1;
}
.hero.is-playing .hero__video iframe {
  top: 50%;
  width: min(100vw, 177.78vh);
  width: min(100vw, 177.78svh);
  height: min(56.25vw, 100vh);
  height: min(56.25vw, 100svh);
  min-width: 0;
  min-height: 0;
  animation: none;
  transform: translate(-50%, -50%) scale(1);
  pointer-events: auto;
}
.hero.hero--mobile-video.is-playing .hero__video iframe {
  width: min(100vw, 56.25vh);
  width: min(100vw, 56.25svh);
  height: min(177.78vw, 100vh);
  height: min(177.78vw, 100svh);
}

/* =============================================================
   ABOUT
   ============================================================= */
.about {
  position: relative;
  background: var(--cream);
  color: #2a2622;
  padding: clamp(4rem, 10vh, 7rem) 0 clamp(4rem, 10vh, 7rem);
}

.about__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: start;
}

.section__eyebrow {
  margin: 0 0 1.2rem;
  font-size: 0.72rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--accent-2);
}
.section__title {
  margin: 0 0 1.6rem;
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(1.9rem, 3.6vw, 2.8rem);
  line-height: 1.15;
  color: #1a1815;
  max-width: 22ch;
}

.about__p {
  margin: 0 0 1rem;
  max-width: 46ch;
  color: #4a443d;
  font-size: 0.98rem;
  line-height: 1.7;
}
.about__p:last-of-type { margin-bottom: 1.8rem; }

.about__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.85rem 1.4rem;
  border: 1px solid var(--accent-2);
  border-radius: 999px;
  color: var(--accent-2);
  background: transparent;
  text-decoration: none;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  transition:
    transform 300ms ease,
    background 300ms ease,
    color 300ms ease,
    border-color 300ms ease,
    box-shadow 300ms ease;
}
.about__cta:hover,
.about__cta:focus-visible {
  background: var(--accent-2);
  color: var(--cream);
  transform: translateY(-2px);
  box-shadow: 0 14px 30px -14px rgba(185, 133, 91, 0.5);
  outline: none;
}
.about__cta-icon {
  display: inline-flex;
  width: 20px;
  height: 20px;
}
.about__cta-icon svg { width: 100%; height: 100%; }

/* tiles: 2×2 grid with hairline dividers */
.about__tiles {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border: 1px solid rgba(195, 137, 122, 0.28);
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.4);
}

.tile {
  padding: clamp(1.6rem, 3vw, 2.4rem) clamp(1rem, 2vw, 1.6rem);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
  position: relative;
}
/* vertical divider between columns */
.tile:nth-child(odd)::after {
  content: "";
  position: absolute;
  right: 0; top: 18%; bottom: 18%;
  width: 1px;
  background: rgba(195, 137, 122, 0.25);
}
/* horizontal divider between rows */
.tile:nth-child(n+3)::before {
  content: "";
  position: absolute;
  left: 12%; right: 12%; top: 0;
  height: 1px;
  background: rgba(195, 137, 122, 0.25);
}

.tile__icon {
  width: 44px;
  height: 44px;
  color: var(--accent-2);
  margin-bottom: 0.4rem;
}
.tile__icon svg { width: 100%; height: 100%; }

.tile__label {
  margin: 0;
  font-size: 0.72rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--accent-2);
}

.tile__value {
  margin: 0;
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(1.1rem, 1.6vw, 1.3rem);
  line-height: 1.35;
  color: #1a1815;
}

@media (max-width: 900px) {
  .about__grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .section__title { max-width: none; }
}

@media (max-width: 480px) {
  .about__tiles { grid-template-columns: 1fr; }
  .tile:nth-child(odd)::after { display: none; }
  .tile:nth-child(n+2)::before {
    content: "";
    position: absolute;
    left: 12%; right: 12%; top: 0;
    height: 1px;
    background: rgba(195, 137, 122, 0.25);
  }
}

/* =============================================================
   ELIŠKA
   ============================================================= */
.eliska {
  position: relative;
  background:
    radial-gradient(ellipse at 80% 20%, rgba(195, 137, 122, 0.10) 0%, transparent 55%),
    radial-gradient(ellipse at 10% 90%, rgba(185, 133, 91, 0.08) 0%, transparent 60%),
    #121f1d;
  color: var(--cream);
  padding: clamp(3rem, 7vh, 5rem) 0;
  overflow: hidden;
  border-top: 1px solid rgba(195, 137, 122, 0.2);
}

.eliska .section__eyebrow { color: var(--accent); }

.eliska__grid {
  display: grid;
  grid-template-columns: minmax(220px, 280px) minmax(0, 1fr);
  gap: clamp(2.5rem, 5vw, 5rem);
  align-items: center;
}

.eliska__photo {
  margin: 0;
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: 2px;
  background: #2a2622;
  isolation: isolate;
  transition: transform 600ms cubic-bezier(.2,.7,.2,1);
}
/* offset gold frame */
.eliska__photo::before {
  content: "";
  position: absolute;
  inset: 14px -14px -14px 14px;
  border: 1px solid var(--accent);
  border-radius: 2px;
  z-index: 0;
  pointer-events: none;
  transition: inset 600ms cubic-bezier(.2,.7,.2,1);
}
/* subtle vignette / accent glow above the image */
.eliska__photo::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 2px;
  z-index: 2;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(0,0,0,0) 55%, rgba(10, 20, 17, 0.55) 100%),
    radial-gradient(ellipse at 50% 0%, rgba(195,137,122,0.18) 0%, transparent 60%);
  box-shadow:
    inset 0 0 0 1px rgba(249, 246, 239, 0.08),
    inset 0 0 60px rgba(0, 0, 0, 0.45);
  mix-blend-mode: normal;
}
.eliska__photo img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 2px;
  filter: saturate(1.05) contrast(1.04);
  transition: transform 800ms cubic-bezier(.2,.7,.2,1), filter 600ms ease;
  box-shadow: 0 30px 60px -20px rgba(0,0,0,0.55);
}
.eliska__photo:hover img { transform: scale(1.03); }
.eliska__photo:hover::before { inset: 18px -18px -18px 18px; }

.eliska__copy { max-width: 46ch; }

.eliska__name {
  margin: 0.6rem 0 0.4rem;
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(1.9rem, 3.4vw, 2.6rem);
  line-height: 1.1;
  color: var(--cream);
}

.eliska__role {
  margin: 0;
  font-family: var(--font-serif);
  font-style: italic;
  color: var(--accent);
  font-size: clamp(1rem, 1.6vw, 1.2rem);
}

.eliska__rule {
  width: 60px;
  height: 1px;
  margin: 1.4rem 0;
  border: 0;
  background: rgba(195, 137, 122, 0.5);
}

.eliska__bio {
  margin: 0;
  color: var(--cream-dim);
  font-size: 0.98rem;
  line-height: 1.7;
}

.eliska__mark {
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.18;
}
.eliska__mark img {
  width: 100%;
  height: auto;
  max-width: 200px;
  filter: sepia(0.2) hue-rotate(-10deg) saturate(0.8);
}

/* Instagram CTA */
.eliska__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
  margin-top: 1.6rem;
  padding: 0.95rem 1.4rem 0.95rem 1.1rem;
  border: 1px solid var(--accent);
  border-radius: 999px;
  color: var(--accent);
  background: rgba(255, 255, 255, 0.04);
  text-decoration: none;
  font-family: var(--font-sans);
  transition:
    transform 300ms ease,
    background 300ms ease,
    color 300ms ease,
    border-color 300ms ease,
    box-shadow 300ms ease;
}
.eliska__cta:hover,
.eliska__cta:focus-visible {
  background: var(--accent);
  color: #1a1815;
  border-color: var(--accent);
  transform: translateY(-2px);
  box-shadow: 0 14px 30px -14px rgba(195, 137, 122, 0.55);
  outline: none;
}

.eliska__cta-icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid currentColor;
  flex: 0 0 auto;
}
.eliska__cta-icon svg { width: 60%; height: 60%; }

.eliska__cta-text {
  display: inline-flex;
  flex-direction: column;
  line-height: 1.2;
}
.eliska__cta-label {
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.02em;
}
.eliska__cta-handle {
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  opacity: 0.85;
  margin-top: 2px;
}

@media (max-width: 900px) {
  .eliska__grid {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
  }
  .eliska__photo {
    max-width: 280px;
    margin: 0 auto;
  }
  .eliska__copy { margin: 0 auto; }
  .eliska__rule { margin-left: auto; margin-right: auto; }
  .eliska__mark { display: none; }
}

/* =============================================================
   FOOTER
   ============================================================= */
.footer {
  background: var(--bg-3);
  padding: clamp(3rem, 7vh, 5rem) 0;
}
.footer__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1.1rem;
}
.footer__logo {
  width: clamp(150px, 18vw, 220px);
  height: auto;
  opacity: 0.95;
}
.footer__rule {
  width: 60px;
  height: 1px;
  background: var(--accent);
  border: 0;
  margin: 0.3rem 0 0.6rem;
  opacity: 0.7;
}
.footer__address {
  margin: 0;
  color: var(--cream-dim);
  letter-spacing: 0.06em;
  font-size: 0.95rem;
}
.footer__date {
  margin: 0;
  font-family: var(--font-serif);
  font-style: italic;
  color: var(--accent);
  font-size: 1.05rem;
  letter-spacing: 0.04em;
}

/* =============================================================
   MODAL — (removed; video plays inline fullscreen in hero)
   ============================================================= */

/* =============================================================
   RESPONSIVE
   ============================================================= */
@media (max-width: 900px) {
  .hero {
    height: 100vh;
    height: 100svh;
    min-height: 100vh;
    min-height: 100svh;
  }
  .hero__content {
    grid-template-columns: 1fr;
    gap: clamp(0.9rem, 2.5vh, 1.5rem);
    text-align: center;
    padding-left: var(--pad-x);
    padding-right: var(--pad-x);
    padding-top: clamp(2.5rem, 8vh, 5rem);
    padding-bottom: 0;
    align-items: start;
  }
  .hero__text {
    align-items: center;
    text-align: center;
    order: 0;
    display: flex;
    flex-direction: column;
  }
  /* Reorder on mobile: title → date → subtitle → meta (countdown moves to bottom) */
  .hero__title    { order: 1; }
  .hero__date     { order: 2; }
  .hero__subtitle { order: 3; }
  .hero__meta     { order: 4; }
  .hero__date-row { justify-content: center; }

  /* Portrait pinned to the bottom edge of the hero (= viewport bottom). */
  .hero__portrait {
    left: 38%;
    bottom: 0;
    transform: translateX(-50%);
    height: min(50vh, 460px);
    max-width: 92vw;
    object-position: bottom center;
    margin: 0;
    display: block;
  }

  /* Bigger scroll arrow on mobile. */
  .scroll-arrow { --s: 60px; bottom: clamp(1.75rem, 4.5vh, 2.75rem); }

  /* Countdown anchored above the scroll arrow, horizontally centered. */
  .countdown {
    order: 5;
    position: absolute;
    left: var(--pad-x);
    right: var(--pad-x);
    bottom: calc(clamp(1.75rem, 4.5vh, 2.75rem) + 60px + 1.75rem);
    width: auto;
    max-width: 440px;
    margin-left: auto;
    margin-right: auto;
    margin-top: 0;
    transform: none;
    animation: fade-in 1100ms ease-out 750ms both;
    z-index: 3;
  }
  @keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }

  /* Play button centered on the page — both axes. */
  .hero__action {
    order: 1;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: max-content;
    z-index: 3;
    margin: 0;
  }
  .play-button { --size: clamp(96px, 22vw, 140px); }

  /* Larger, more reliable close target on touch devices. */
  .hero__close {
    width: 60px;
    height: 60px;
    background: rgba(0, 0, 0, 0.7);
    border-color: rgba(249, 246, 239, 0.75);
  }
  .hero__close-shield {
    height: 88px;
  }
}

@media (max-width: 720px) {
  .countdown { padding: 0.75rem 0.3rem; width: auto; }
  .countdown__num { font-size: 1.55rem; }
  .countdown__label { font-size: 0.62rem; letter-spacing: 0.22em; }
}

@media (max-width: 420px) {
  .hero__text { gap: 0.8rem; }
  .countdown__num { font-size: 1.35rem; }
}

/* respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  .hero__video iframe { animation: none; }
  .scroll-arrow { animation: none; }
}
