/* ============================================================================
   Beka Store · Grupo VIP — Coleção AKARI 灯
   Aesthetic: refined editorial luxury, warm "akari" (lantern-light) glow.
   Type: Cormorant Garamond (display) · Marcellus (labels) · Jost (body)
         · Noto Serif JP (kanji accents).
   Mobile-first. Brand palette: wine #5D0411 · red #861211 · cream #F4F3EF
   · warm-gray #E4DFD9, warmed with copper/ember light.
   ========================================================================== */

:root {
  /* — palette — */
  --wine: #5d0411;
  --wine-2: #470410;
  --wine-3: #2b0208;
  --red: #861211;
  --red-bright: #a8231e;
  --cream: #f4f3ef;
  --cream-2: #faf8f3;
  --sand: #e4dfd9;
  --sand-2: #d8cfc6;
  --ember: #d98e5a;        /* warm lantern light */
  --ember-soft: #ecbf95;
  --blush: #f1dccf;        /* warm rose from the campaign imagery */
  --gold: #b5894e;
  --ink: #261117;
  --ink-soft: #6a4f55;
  --on-wine: #f3e7e1;
  --on-wine-soft: rgba(243, 231, 225, 0.76);
  --gold-ink: #8a6638;
  --line-wine: rgba(243, 231, 225, 0.16);
  --line-ink: rgba(38, 17, 23, 0.14);

  /* — type — */
  --f-display: "Cormorant Garamond", "Times New Roman", Georgia, serif;
  --f-label: "Marcellus", "Cormorant Garamond", Georgia, serif;
  --f-body: "Jost", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --f-cjk: "Noto Serif JP", "Cormorant Garamond", serif;

  /* — metrics — */
  --container: 1180px;
  --gutter: clamp(1.25rem, 5vw, 3rem);
  --radius: 4px;
  --radius-lg: 10px;
  --ease: cubic-bezier(0.16, 0.84, 0.34, 1);
  --shadow-card: 0 30px 70px -32px rgba(43, 2, 8, 0.55);
  --shadow-soft: 0 18px 50px -28px rgba(43, 2, 8, 0.4);
}

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

* { margin: 0; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--f-body);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  text-rendering: optimizeLegibility;
}

img,
video { display: block; max-width: 100%; }

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

button { font-family: inherit; cursor: pointer; border: none; background: none; }

::selection { background: var(--ember); color: var(--wine-3); }

:focus-visible { outline: 2px solid var(--ember); outline-offset: 3px; }

/* film grain over everything for warmth/depth */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 9000;
  pointer-events: none;
  opacity: 0.04;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* -------------------------------------------------------------- helpers --- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section {
  position: relative;
  padding-block: clamp(4.5rem, 12vw, 9rem);
}

.section--wine {
  background: radial-gradient(120% 90% at 50% 0%, var(--wine) 0%, var(--wine-2) 45%, var(--wine-3) 100%);
  color: var(--on-wine);
}
.section--cream { background: var(--cream); }
.section--sand { background: linear-gradient(180deg, var(--cream) 0%, var(--sand) 100%); }

.eyebrow {
  font-family: var(--f-label);
  font-size: 0.72rem;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: var(--red);
  display: inline-flex;
  align-items: center;
  gap: 0.8em;
}
.section--wine .eyebrow { color: var(--ember-soft); }
.eyebrow::before {
  content: "";
  width: 1.8rem;
  height: 1px;
  background: currentColor;
  opacity: 0.6;
}
.eyebrow--center { justify-content: center; }
.eyebrow--center::after {
  content: "";
  width: 1.8rem;
  height: 1px;
  background: currentColor;
  opacity: 0.6;
}

.kanji {
  font-family: var(--f-cjk);
  font-weight: 300;
  line-height: 1;
  display: inline-block;
}

.section-head { max-width: 40rem; }
.section-head--center { max-width: 46rem; margin-inline: auto; text-align: center; }
.section-head--center .lead { margin-inline: auto; }

.section-title {
  font-family: var(--f-display);
  font-weight: 500;
  font-size: clamp(2.3rem, 6.4vw, 4rem);
  line-height: 1.02;
  letter-spacing: -0.01em;
  margin-top: 1.1rem;
}
.section-title em { font-style: italic; font-weight: 400; color: var(--red); }
.section--wine .section-title em { color: var(--ember-soft); }

.lead {
  font-size: 1.075rem;
  color: var(--ink-soft);
  margin-top: 1.25rem;
  max-width: 34rem;
}
.section--wine .lead { color: var(--on-wine-soft); }

/* glowing filament divider */
.ember-line {
  width: min(220px, 50%);
  height: 1px;
  border: 0;
  margin: 0;
  background: linear-gradient(90deg, transparent, var(--ember) 50%, transparent);
  box-shadow: 0 0 14px 1px rgba(217, 142, 90, 0.5);
  opacity: 0.85;
}
.ember-line--center { margin-inline: auto; }

/* ---------------------------------------------------------------- buttons - */
.btn {
  --bg: var(--red);
  --fg: var(--cream-2);
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6em;
  font-family: var(--f-label);
  font-size: 0.82rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--fg);
  background: var(--bg);
  padding: 1.05em 1.9em;
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease), background 0.4s var(--ease);
  box-shadow: 0 12px 30px -14px rgba(134, 18, 17, 0.7);
  isolation: isolate;
}
.btn::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(120deg, var(--red-bright), var(--ember));
  opacity: 0;
  transition: opacity 0.5s var(--ease);
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 18px 40px -14px rgba(134, 18, 17, 0.65); }
.btn:hover::after { opacity: 1; }
.btn:active { transform: translateY(0); }
.btn--lg { padding: 1.2em 2.4em; font-size: 0.86rem; }
.btn--full { width: 100%; }
.btn--ghost {
  --bg: transparent;
  --fg: var(--on-wine);
  border: 1px solid var(--line-wine);
  box-shadow: none;
}
.btn--ghost::after { background: rgba(243, 231, 225, 0.08); }
.btn[disabled] { cursor: default; opacity: 0.92; }
.btn.is-success { background: var(--wine); }
.btn.is-success::after { opacity: 0; }

.btn-arrow { transition: transform 0.5s var(--ease); }
.btn:hover .btn-arrow { transform: translateX(4px); }

/* ------------------------------------------------------------------ header */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  height: 72px;
  transition: background 0.5s var(--ease), backdrop-filter 0.5s var(--ease), border-color 0.5s var(--ease), height 0.5s var(--ease);
  border-bottom: 1px solid transparent;
}
.site-header.scrolled {
  height: 62px;
  background: rgba(43, 2, 8, 0.72);
  -webkit-backdrop-filter: blur(14px) saturate(1.2);
  backdrop-filter: blur(14px) saturate(1.2);
  border-bottom-color: var(--line-wine);
}
.header-inner {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.header-logo {
  font-family: var(--f-label);
  font-size: 1.02rem;
  letter-spacing: 0.34em;
  color: var(--on-wine);
  text-indent: 0.34em;
}
.header-right { display: flex; align-items: center; gap: 1.4rem; }
.header-tag {
  font-family: var(--f-label);
  font-size: 0.66rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--ember-soft);
  display: none;
}
.header-cta {
  font-family: var(--f-label);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--on-wine);
  padding: 0.62em 1.25em;
  border: 1px solid var(--line-wine);
  border-radius: var(--radius);
  transition: background 0.4s var(--ease), color 0.4s var(--ease), border-color 0.4s var(--ease);
}
.header-cta:hover { background: var(--ember); color: var(--wine-3); border-color: var(--ember); }
@media (min-width: 720px) { .header-tag { display: inline; } }

/* -------------------------------------------------------------------- hero */
.hero {
  position: relative;
  min-height: 100vh; /* fallback for engines without svh */
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  padding-top: 96px;
  padding-bottom: clamp(2.5rem, 6vw, 4.5rem);
  background: var(--wine-3);
  overflow: hidden;
  color: var(--on-wine);
}
/* poster as a background so the hero always has imagery — incl. reduced-motion
   (where the video is hidden) and before the video loads */
.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: var(--wine-3) url("/assets/hero-poster.webp") center 28% / cover no-repeat;
}
.hero-media video,
.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 28%;
}
/* warm wine wash + bottom gradient so text reads, glow stays */
.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(43, 2, 8, 0.55) 0%, rgba(43, 2, 8, 0.1) 32%, rgba(43, 2, 8, 0.55) 74%, rgba(43, 2, 8, 0.92) 100%),
    radial-gradient(120% 80% at 78% 30%, rgba(217, 142, 90, 0.22), transparent 60%);
  mix-blend-mode: normal;
}
/* the "akari" lantern glow (parallaxed by hero-glow.js) */
.hero-glow {
  position: absolute;
  top: 38%;
  left: 50%;
  width: 90vw;
  max-width: 760px;
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
  z-index: 1;
  pointer-events: none;
  background: radial-gradient(circle, rgba(236, 191, 149, 0.4) 0%, rgba(217, 142, 90, 0.16) 32%, transparent 66%);
  filter: blur(8px);
  mix-blend-mode: screen;
}

.hero-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
  display: grid;
  gap: clamp(2rem, 5vw, 3.5rem);
  align-items: end;
}

/* localized scrim so hero copy stays legible over bright video frames,
   without darkening the whole frame (keeps the akari glow visible) */
.hero-content { position: relative; z-index: 1; }
.hero-content::before {
  content: "";
  position: absolute;
  inset: -1.5rem -2rem;
  z-index: -1;
  border-radius: 1.5rem;
  pointer-events: none;
  background: radial-gradient(120% 100% at 30% 55%,
    rgba(43, 2, 8, 0.62) 0%,
    rgba(43, 2, 8, 0.42) 55%,
    transparent 100%);
}

.hero-eyebrow {
  font-family: var(--f-label);
  font-size: 0.74rem;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--ember-soft);
  display: inline-flex;
  align-items: center;
  gap: 0.85em;
}
.hero-eyebrow .kanji { font-size: 1.3rem; color: var(--ember); }

.hero-title {
  font-family: var(--f-display);
  font-weight: 500;
  font-size: clamp(2.6rem, 8.5vw, 5.4rem);
  line-height: 0.98;
  letter-spacing: -0.015em;
  margin-top: 1.1rem;
  max-width: 16ch;
  text-wrap: balance;
}
.hero-title em {
  font-style: italic;
  font-weight: 400;
  color: var(--ember-soft);
}
.hero-sub {
  margin-top: 1.4rem;
  font-size: 1.04rem;
  line-height: 1.6;
  color: var(--on-wine-soft);
  max-width: 42ch;
}
.hero-meta {
  margin-top: 1.8rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem 1rem;
  align-items: center;
}
.chip {
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  font-family: var(--f-label);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 0.55em 1em;
  border: 1px solid var(--line-wine);
  border-radius: 100px;
  color: var(--on-wine);
  background: rgba(43, 2, 8, 0.32);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}
.chip-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--ember);
  box-shadow: 0 0 0 0 rgba(217, 142, 90, 0.7);
  animation: pulse 2.4s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(217, 142, 90, 0.6); }
  70% { box-shadow: 0 0 0 8px rgba(217, 142, 90, 0); }
  100% { box-shadow: 0 0 0 0 rgba(217, 142, 90, 0); }
}
.hero-scarcity {
  margin-top: 1.1rem;
  color: var(--on-wine-soft);
  font-style: italic;
  font-family: var(--f-display);
  font-size: 1.12rem;
}

/* ------------------------------------------------------------- form card -- */
.form-card {
  background: linear-gradient(180deg, rgba(250, 248, 243, 0.97), rgba(244, 243, 239, 0.97));
  color: var(--ink);
  border-radius: var(--radius-lg);
  padding: clamp(1.6rem, 5vw, 2.2rem);
  box-shadow: var(--shadow-card);
  border: 1px solid rgba(255, 255, 255, 0.5);
  position: relative;
  overflow: hidden;
}
.form-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--red), var(--ember), var(--gold));
}
.form-card-title {
  font-family: var(--f-display);
  font-weight: 600;
  font-size: 1.55rem;
  line-height: 1.1;
  letter-spacing: -0.01em;
}
.form-card-sub {
  margin-top: 0.4rem;
  font-size: 0.92rem;
  color: var(--ink-soft);
}
.form {
  margin-top: 1.3rem;
  display: grid;
  gap: 0.9rem;
}
.field { display: grid; gap: 0.4rem; }
.field label {
  font-family: var(--f-label);
  font-size: 0.66rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.field input {
  font-family: var(--f-body);
  font-size: 1rem;
  color: var(--ink);
  background: var(--cream);
  border: 1px solid var(--sand-2);
  border-radius: var(--radius);
  padding: 0.85em 1em;
  transition: border-color 0.35s var(--ease), box-shadow 0.35s var(--ease), background 0.35s var(--ease);
  width: 100%;
}
.field input::placeholder { color: #a99a96; }
.field input:focus {
  outline: none;
  border-color: var(--ember);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(217, 142, 90, 0.18);
}
.form.is-invalid input:invalid { border-color: var(--red); }
.form .btn { margin-top: 0.3rem; }
.form-micro {
  margin-top: 0.85rem;
  font-size: 0.74rem;
  line-height: 1.5;
  color: var(--ink-soft);
  text-align: center;
}

/* ------------------------------------------------------------------- story */
.story-grid { display: grid; gap: clamp(2rem, 6vw, 4rem); align-items: center; }
.story-figure {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  aspect-ratio: 4 / 5;
}
.story-figure img { width: 100%; height: 100%; object-fit: cover; }
.story-figure .kanji {
  position: absolute;
  right: -0.1em;
  bottom: -0.18em;
  font-size: clamp(7rem, 22vw, 13rem);
  color: rgba(244, 243, 239, 0.14);
  z-index: 1;
  pointer-events: none;
}
.story-body { position: relative; }
.story-quote {
  font-family: var(--f-display);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(1.8rem, 5.2vw, 2.9rem);
  line-height: 1.16;
  color: var(--wine);
  margin: 1.3rem 0 1.6rem;
  text-wrap: balance;
}
.story-body p { color: var(--ink-soft); margin-top: 1rem; max-width: 40ch; }
.story-signature {
  margin-top: 1.6rem;
  font-family: var(--f-label);
  letter-spacing: 0.12em;
  color: var(--wine);
  font-size: 0.92rem;
}
.story-meta {
  margin-top: 1.4rem;
  padding-top: 1.2rem;
  border-top: 1px solid var(--line-ink);
  font-family: var(--f-label);
  font-size: 0.74rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.story-head { display: flex; align-items: baseline; gap: 1rem; }
.story-head .kanji { font-size: 2.4rem; color: var(--red); }
.story-head .story-sub {
  font-family: var(--f-cjk);
  font-weight: 500;
  letter-spacing: 0.1em;
  color: var(--gold-ink);
  font-size: 0.92rem;
}

/* --------------------------------------------------------------- benefits - */
.benefits-list {
  margin-top: clamp(2.2rem, 5vw, 3.4rem);
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line-wine);
}
.benefit {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.1rem 1.4rem;
  align-items: start;
  padding: clamp(1.4rem, 3.5vw, 2rem) 0;
  border-bottom: 1px solid var(--line-wine);
  transition: padding-left 0.5s var(--ease);
}
.benefit:hover { padding-left: 0.6rem; }
.benefit-num {
  font-family: var(--f-display);
  font-size: 1.4rem;
  font-weight: 500;
  color: var(--ember);
  font-feature-settings: "lnum";
  line-height: 1;
  padding-top: 0.15rem;
}
.benefit-body h3 {
  font-family: var(--f-display);
  font-weight: 600;
  font-size: clamp(1.3rem, 3.6vw, 1.7rem);
  line-height: 1.1;
  color: var(--on-wine);
}
.benefit-body p { margin-top: 0.4rem; color: var(--on-wine-soft); max-width: 46ch; }
@media (min-width: 760px) {
  .benefits-wrap { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
  .benefits-list { margin-top: 0; }
}

/* --------------------------------------------------------------- lookbook - */
.lookbook-top {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.4rem;
}
.price-chip {
  font-family: var(--f-label);
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--wine);
  border: 1px solid var(--sand-2);
  border-radius: 100px;
  padding: 0.6em 1.15em;
  white-space: nowrap;
}
.lookbook-grid {
  margin-top: clamp(2.2rem, 5vw, 3.4rem);
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(0.6rem, 2vw, 1.1rem);
}
.look {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: var(--radius);
  aspect-ratio: 4 / 5;
  background: var(--sand);
  cursor: zoom-in;
}
.look img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 1.1s var(--ease), filter 0.6s var(--ease);
}
.look::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 45%, rgba(43, 2, 8, 0.72) 100%);
  opacity: 0.7;
  transition: opacity 0.5s var(--ease);
}
.look:hover img { transform: scale(1.05); }
.look:hover::after { opacity: 0.92; }
.look-caption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  z-index: 2;
  padding: 1rem 1.1rem;
  color: var(--on-wine);
  transform: translateY(0.4rem);
  opacity: 0.92;
  transition: transform 0.5s var(--ease), opacity 0.5s var(--ease);
}
.look:hover .look-caption { transform: translateY(0); opacity: 1; }
.look-name { font-family: var(--f-display); font-weight: 600; font-size: 1.16rem; line-height: 1.05; }
.look-tag {
  font-family: var(--f-label);
  font-size: 0.62rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ember-soft);
  margin-top: 0.25rem;
}
/* feature the signature first look on wider screens */
@media (min-width: 760px) {
  .lookbook-grid { grid-template-columns: repeat(3, 1fr); }
}
.lookbook-foot {
  margin-top: clamp(1.8rem, 4vw, 2.6rem);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: flex-start;
}
.lookbook-note { font-style: italic; font-family: var(--f-display); font-size: 1.1rem; color: var(--ink-soft); }

/* lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 5000;
  display: grid;
  place-items: center;
  padding: 1.5rem;
  background: rgba(20, 1, 5, 0.92);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s var(--ease), visibility 0.4s var(--ease);
}
.lightbox.active { opacity: 1; visibility: visible; }
.lightbox img {
  max-width: min(92vw, 560px);
  max-height: 88vh;
  border-radius: var(--radius);
  box-shadow: 0 40px 90px -30px rgba(0, 0, 0, 0.8);
  transform: scale(0.96);
  transition: transform 0.5s var(--ease);
}
.lightbox.active img { transform: scale(1); }
.lightbox-close {
  position: absolute;
  top: 1.1rem; right: 1.3rem;
  font-size: 2rem;
  line-height: 1;
  color: var(--on-wine);
  width: 2.6rem; height: 2.6rem;
  border-radius: 50%;
  border: 1px solid var(--line-wine);
  transition: background 0.3s var(--ease);
}
.lightbox-close:hover { background: rgba(255, 255, 255, 0.1); }
body.no-scroll { overflow: hidden; }

/* ------------------------------------------------------------- video reels - */
.reels {
  margin-top: clamp(2rem, 5vw, 3rem);
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(60%, 1fr);
  gap: clamp(0.7rem, 2vw, 1.1rem);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 0.7rem;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: var(--sand-2) transparent;
}
.reel {
  position: relative;
  display: block;
  width: 100%;
  scroll-snap-align: center;
  aspect-ratio: 9 / 16;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--wine-3);
  box-shadow: var(--shadow-soft);
  cursor: pointer;
}
.reel-poster,
.reel iframe { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border: 0; }
.reel::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(43, 2, 8, 0.14) 0%, transparent 28%, rgba(43, 2, 8, 0.5) 100%);
  transition: opacity 0.5s var(--ease);
}
.reel.is-playing { cursor: default; }
.reel.is-playing::after,
.reel.is-playing .video-play { display: none; }
.video-play {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  width: 64px; height: 64px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(244, 243, 239, 0.14);
  border: 1px solid var(--ember-soft);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
  transition: transform 0.5s var(--ease), background 0.5s var(--ease);
}
.reel:hover .video-play { transform: translate(-50%, -50%) scale(1.08); background: rgba(217, 142, 90, 0.3); }
.video-play svg { width: 22px; height: 22px; fill: var(--cream-2); margin-left: 3px; }
@media (min-width: 760px) {
  .reels {
    grid-auto-flow: row;
    grid-template-columns: repeat(5, 1fr);
    grid-auto-columns: auto;
    overflow: visible;
  }
}

/* --------------------------------------------------------------- timeline - */
.timeline {
  margin-top: clamp(2.4rem, 6vw, 3.6rem);
  display: grid;
  gap: 1.2rem;
}
.tl-step {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.2rem;
  align-items: start;
  padding: 1.3rem 1.4rem;
  border: 1px solid var(--line-ink);
  border-radius: var(--radius-lg);
  background: var(--cream-2);
  transition: border-color 0.5s var(--ease), transform 0.5s var(--ease), box-shadow 0.5s var(--ease);
}
.tl-step:hover { transform: translateY(-3px); box-shadow: var(--shadow-soft); border-color: var(--ember); }
.tl-time {
  font-family: var(--f-label);
  font-size: 0.74rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--cream-2);
  background: var(--wine);
  padding: 0.5em 0.85em;
  border-radius: 100px;
  white-space: nowrap;
  align-self: start;
}
.tl-step--accent .tl-time { background: var(--red); }
.tl-body h3 { font-family: var(--f-display); font-weight: 600; font-size: 1.3rem; line-height: 1.1; color: var(--wine); }
.tl-body p { color: var(--ink-soft); margin-top: 0.35rem; font-size: 0.96rem; }
.timeline .tl-step:last-child .tl-time { background: var(--red); }
@media (min-width: 760px) { .timeline { grid-template-columns: repeat(3, 1fr); gap: 1rem; } }

/* countdown */
.countdown-wrap {
  margin-top: clamp(2.4rem, 6vw, 3.4rem);
  text-align: center;
}
.countdown-label {
  font-family: var(--f-label);
  font-size: 0.72rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.countdown {
  margin-top: 1rem;
  display: inline-flex;
  gap: clamp(0.7rem, 3vw, 1.6rem);
  align-items: baseline;
}
.cd-unit { display: grid; gap: 0.3rem; min-width: 3.4rem; }
.cd-num {
  font-family: var(--f-display);
  font-weight: 500;
  font-size: clamp(2.6rem, 9vw, 4.2rem);
  line-height: 0.9;
  color: var(--wine);
  font-variant-numeric: tabular-nums;
}
.cd-lab {
  font-family: var(--f-label);
  font-size: 0.6rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.cd-sep { font-family: var(--f-display); font-size: clamp(1.8rem, 6vw, 3rem); color: var(--ember); align-self: center; line-height: 0; }
.countdown.is-live .cd-num { color: var(--red); }

/* -------------------------------------------------------------- final cta - */
.final {
  position: relative;
  text-align: center;
  overflow: hidden;
}
.final .hero-glow { top: 50%; opacity: 0.9; }
.final-kanji {
  font-family: var(--f-cjk);
  font-weight: 300;
  font-size: clamp(4rem, 13vw, 8rem);
  color: var(--ember);
  line-height: 1;
  display: block;
  filter: drop-shadow(0 0 26px rgba(217, 142, 90, 0.45));
}
.final-title {
  font-family: var(--f-display);
  font-weight: 500;
  font-size: clamp(2.4rem, 8vw, 4.6rem);
  line-height: 1.02;
  margin-top: 1.2rem;
  color: var(--on-wine);
  text-wrap: balance;
}
.final-text { margin: 1.4rem auto 0; max-width: 40ch; color: var(--on-wine-soft); }
.final .btn { margin-top: 2.2rem; }
.final-micro {
  margin-top: 1.1rem;
  font-family: var(--f-label);
  font-size: 0.68rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ember-soft);
}

/* ------------------------------------------------------------------ footer */
.site-footer {
  background: var(--wine-3);
  color: var(--on-wine-soft);
  padding-block: clamp(2.6rem, 6vw, 3.6rem);
  border-top: 1px solid var(--line-wine);
}
.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  align-items: center;
  text-align: center;
}
.footer-brand {
  font-family: var(--f-label);
  font-size: 1.1rem;
  letter-spacing: 0.36em;
  color: var(--on-wine);
  text-indent: 0.36em;
}
.footer-tagline { font-family: var(--f-cjk); font-weight: 300; font-size: 0.86rem; letter-spacing: 0.08em; color: var(--ember-soft); }
.footer-links { display: flex; gap: 1.4rem; align-items: center; }
.footer-ig { font-family: var(--f-label); letter-spacing: 0.14em; font-size: 0.84rem; color: var(--on-wine); transition: color 0.3s var(--ease); }
.footer-ig:hover { color: var(--ember); }
.footer-fine { font-size: 0.74rem; color: rgba(243, 231, 225, 0.58); max-width: 40ch; }

/* --------------------------------------------------------- sticky mobile -- */
.sticky-cta {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 1200;
  padding: 0.7rem var(--gutter) calc(0.7rem + env(safe-area-inset-bottom));
  background: rgba(43, 2, 8, 0.86);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-top: 1px solid var(--line-wine);
  transform: translateY(120%);
  transition: transform 0.5s var(--ease);
}
.sticky-cta.visible { transform: translateY(0); }
.sticky-cta .btn { width: 100%; }
@media (min-width: 760px) { .sticky-cta { display: none; } }

/* ------------------------------------------------------------------ modal - */
.modal {
  position: fixed;
  inset: 0;
  z-index: 4000;
  display: grid;
  place-items: center;
  padding: 1.3rem;
  background: rgba(20, 1, 5, 0.78);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s var(--ease), visibility 0.4s var(--ease);
}
.modal.active { opacity: 1; visibility: visible; }
.modal .form-card {
  width: min(440px, 100%);
  transform: translateY(14px) scale(0.98);
  transition: transform 0.5s var(--ease);
}
.modal.active .form-card { transform: none; }
.modal-close {
  position: absolute;
  top: 0.7rem; right: 0.7rem;
  width: 2.4rem; height: 2.4rem;
  font-size: 1.7rem; line-height: 1;
  color: var(--ink-soft);
  border-radius: 50%;
  transition: background 0.3s var(--ease);
}
.modal-close:hover { background: var(--sand); }

/* ------------------------------------------------------------ reveal anim - */
.js-reveal-ready .reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.95s var(--ease), transform 0.95s var(--ease);
  transition-delay: calc(var(--i, 0) * 0.08s);
  will-change: opacity, transform;
}
.js-reveal-ready .reveal.visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
  .js-reveal-ready .reveal { opacity: 1; transform: none; }
  .hero-media video { display: none; }
}

/* ----------------------------------------------------------- breakpoints -- */
@media (min-width: 860px) {
  .hero { align-items: center; }
  .hero-inner { grid-template-columns: 1.15fr 0.85fr; align-items: center; gap: clamp(2.5rem, 5vw, 4.5rem); }
  .hero-media video, .hero-media img { object-position: 50% 22%; }
  .story-grid { grid-template-columns: 0.9fr 1.1fr; }
  .story-grid--reverse .story-figure { order: 2; }
}
@media (min-width: 1024px) {
  body { font-size: 17px; }
}

/* ============================================================ thank-you === */
.page-typ { background: var(--wine-3); }
.typ {
  position: relative;
  min-height: 100vh; /* fallback for engines without svh */
  min-height: 100svh;
  display: grid;
  place-items: center;
  overflow: hidden;
  padding: 96px var(--gutter) clamp(2.5rem, 6vw, 4rem);
  color: var(--on-wine);
  text-align: center;
}
.typ .hero-glow { top: 42%; opacity: 0.95; }
.typ-inner { position: relative; z-index: 2; max-width: 38rem; width: 100%; }
.typ-kanji {
  font-family: var(--f-cjk);
  font-weight: 300;
  font-size: clamp(3rem, 11vw, 5.4rem);
  line-height: 1;
  color: var(--ember);
  filter: drop-shadow(0 0 24px rgba(217, 142, 90, 0.45));
}
.typ-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  margin-top: 1.1rem;
  font-family: var(--f-label);
  font-size: 0.7rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--ember-soft);
  border: 1px solid var(--line-wine);
  border-radius: 100px;
  padding: 0.55em 1.1em;
}
.typ-title {
  font-family: var(--f-display);
  font-weight: 500;
  font-size: clamp(2.3rem, 8vw, 3.8rem);
  line-height: 1.02;
  margin-top: 1.1rem;
  text-wrap: balance;
}
.typ-intro { font-size: 1.1rem; color: var(--on-wine-soft); margin-top: 1rem; }
.typ-card {
  margin-top: 2rem;
  text-align: left;
  background: rgba(244, 243, 239, 0.05);
  border: 1px solid var(--line-wine);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 5vw, 2.2rem);
}
.typ-card > p { color: var(--on-wine-soft); }
.typ-list-intro {
  font-family: var(--f-label);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ember-soft);
  margin-bottom: 0.9rem;
}
.typ-list { list-style: none; display: grid; gap: 0.7rem; }
.typ-item { display: flex; gap: 0.7rem; align-items: flex-start; color: var(--on-wine); }
.typ-check { color: var(--ember); flex: none; }
.typ-cta { margin-top: 1.6rem; }
.typ-redirect {
  margin-top: 1.2rem;
  font-family: var(--f-label);
  font-size: 0.74rem;
  letter-spacing: 0.1em;
  color: var(--on-wine-soft);
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
}
.typ-spinner {
  width: 0.9rem; height: 0.9rem;
  border: 2px solid var(--line-wine);
  border-top-color: var(--ember);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.typ-fallback { margin-top: 0.8rem; font-size: 0.76rem; color: rgba(243, 231, 225, 0.58); }
