/* ============================================================================
   Hertis landing — "heirloom futurism."
   A midnight world with a living Glow at its heart. Champagne gold for love
   made visible, lavender for reflection, ivory words, Fraunces voice.
   Founder's face-free photography sits in cinematic arched frames.

   Hard-won rules baked in:
   - never overflow:hidden on an ancestor of position:sticky (use clip)
   - fixed widths for pinned frames (no w-full inside shrink-wrapped parents)
   ============================================================================ */

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: clip; }
body {
  font-family: var(--h-sans);
  font-size: var(--h-fs-body);
  line-height: 1.7;
  color: var(--h-text);
  background: var(--h-midnight);
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
::selection { background: var(--h-champagne); color: var(--h-midnight); }

h1, h2, h3, .h-serif {
  font-family: var(--h-serif);
  font-weight: 600;
  letter-spacing: 0.002em; /* garaldes want air, not the negative tracking Fraunces took */
  color: var(--h-text);
}
h2 { font-size: var(--h-fs-headline); line-height: 1.12; }
h2 em, h1 em { font-style: italic; color: var(--h-champagne); }

.h-container { max-width: var(--h-max); margin: 0 auto; padding: 0 24px; }
.h-label {
  font-size: var(--h-fs-label); font-weight: 700;
  letter-spacing: var(--h-track); text-transform: uppercase;
  color: var(--h-champagne);
}
.h-lede { font-size: var(--h-fs-sub); color: var(--h-text-dim); max-width: 600px; }

/* ---------------------------------------------------------------- ambience
   The page breathes: two vast, slow-drifting radial glows (gold low-left,
   lavender high-right) + a fine grain overlay. */
.h-atmosphere {
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  overflow: clip;
}
.h-atmosphere .orb {
  position: absolute; border-radius: 50%;
  filter: blur(90px);
  animation: hDrift 26s ease-in-out infinite alternate;
}
.h-atmosphere .orb.gold {
  width: 820px; height: 820px; left: -16%; bottom: -26%;
  background: radial-gradient(circle, rgba(212,175,55,0.15), transparent 65%);
}
.h-atmosphere .orb.lav {
  width: 700px; height: 700px; right: -12%; top: -20%;
  background: radial-gradient(circle, rgba(167,139,250,0.14), transparent 65%);
  animation-delay: -13s;
}
.h-atmosphere .orb.rose {
  width: 560px; height: 560px; left: 32%; top: 30%;
  background: radial-gradient(circle, rgba(212,140,90,0.07), transparent 65%);
  animation-delay: -7s; animation-duration: 34s;
}
@keyframes hDrift {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to   { transform: translate3d(56px, -46px, 0) scale(1.09); }
}
#hEmbers { position: absolute; inset: 0; width: 100%; height: 100%; }
.h-grain {
  position: fixed; inset: 0; z-index: 1; pointer-events: none; opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)' opacity='0.6'/%3E%3C/svg%3E");
}
main, nav, footer { position: relative; z-index: 2; }

/* ---------------------------------------------------------------- preloader */
.h-preloader {
  position: fixed; inset: 0; z-index: 9999;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 20px;
  background: var(--h-midnight);
  transition: opacity 0.8s ease, visibility 0.8s ease;
}
.h-preloader--done { opacity: 0; visibility: hidden; pointer-events: none; }
.h-preloader .mark {
  width: 84px; height: auto; opacity: 0;
  filter: drop-shadow(0 0 26px rgba(212,175,55,0.5));
  animation: hMarkIn 1.2s cubic-bezier(0.22, 0.61, 0.36, 1) 0.1s forwards;
}
.h-preloader .word {
  height: 26px; width: auto; opacity: 0;
  animation: hFadeUp 0.8s ease 0.8s forwards;
}
@keyframes hMarkIn {
  from { opacity: 0; transform: scale(0.82); filter: drop-shadow(0 0 0 rgba(212,175,55,0)); }
  to   { opacity: 1; transform: none; filter: drop-shadow(0 0 26px rgba(212,175,55,0.5)); }
}
@keyframes hFadeUp { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

/* --------------------------------------------------------------------- nav */
.h-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 90;
  transition: background 0.3s ease, border-color 0.3s ease;
  border-bottom: 1px solid transparent;
}
.h-nav--scrolled {
  background: rgba(13,17,23,0.9);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom-color: var(--h-line);
}
.h-nav-inner {
  max-width: var(--h-max); margin: 0 auto; padding: 15px 24px;
  display: flex; align-items: center; justify-content: space-between; gap: 22px;
}
.h-nav-brand { display: flex; align-items: center; gap: 11px; }
.h-nav-brand .mark { height: 34px; width: auto; }
.h-nav-brand .word { height: 17px; width: auto; }
.h-nav-links { display: flex; align-items: center; gap: 28px; list-style: none; }
.h-nav-links a { font-size: 14px; font-weight: 600; color: var(--h-text-dim); transition: color 0.2s ease; }
.h-nav-links a:hover { color: var(--h-champagne); }
.h-nav-cta {
  padding: 10px 22px; border-radius: var(--h-r); font-size: 13.5px; font-weight: 700;
  background: linear-gradient(135deg, var(--h-gold-1), var(--h-gold-2) 60%, var(--h-gold-3));
  color: var(--h-midnight); box-shadow: var(--h-shadow-gold);
  will-change: transform;
}
@media (max-width: 880px) { .h-nav-links { display: none; } }

/* ----------------------------------------------------------------- buttons */
.h-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 16px 30px; border-radius: var(--h-r);
  font-family: var(--h-sans); font-weight: 700; font-size: 15.5px;
  cursor: pointer; border: 0;
  transition: filter 0.2s ease, box-shadow 0.25s ease;
  will-change: transform;
}
.h-btn--gold {
  background: linear-gradient(135deg, var(--h-gold-1), var(--h-gold-2) 60%, var(--h-gold-3));
  color: var(--h-midnight); box-shadow: var(--h-shadow-gold);
}
.h-btn--gold:hover { filter: brightness(1.1); }
.h-btn--ghost {
  background: transparent; color: var(--h-text);
  box-shadow: inset 0 0 0 1.5px var(--h-line);
}
.h-btn--ghost:hover { box-shadow: inset 0 0 0 1.5px var(--h-gold-line); color: var(--h-champagne); }

/* ---------------------------------------------------------------- sections */
.h-section { padding: var(--h-s9) 0; position: relative; }
.h-section-head { max-width: 700px; margin-bottom: var(--h-s8); }
.h-section-head.centered { margin-left: auto; margin-right: auto; text-align: center; }
.h-section-head .h-label { display: inline-block; margin-bottom: var(--h-s4); }
.h-section-head h2 { margin-bottom: var(--h-s4); }

/* -------------------------------------------------------------------- hero */
.h-hero {
  position: relative; min-height: 100vh;
  display: flex; align-items: center;
  padding: 130px 0 80px;
}
.h-hero-grid {
  display: grid; grid-template-columns: 1.04fr 1fr;
  gap: 54px; align-items: center;
}
@media (max-width: 1023px) { .h-hero-grid { grid-template-columns: 1fr; gap: 48px; } }
.h-hero-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: var(--h-fs-label); font-weight: 700; letter-spacing: var(--h-track);
  text-transform: uppercase; color: var(--h-lavender);
  padding: 8px 16px; border-radius: 999px;
  border: 1px solid var(--h-glow-border); background: var(--h-lav-soft);
  margin-bottom: var(--h-s5);
}
.h-hero h1 {
  font-size: clamp(42px, 4.6vw, 66px); line-height: 1.05;
  margin-bottom: var(--h-s5); max-width: 20ch;
}
.h-hero-sub { font-size: var(--h-fs-sub); color: var(--h-text-dim); max-width: 520px; margin-bottom: var(--h-s6); }
.h-hero-sub strong { color: var(--h-text); font-weight: 600; }

/* hero entrance */
.h-hero [data-enter] { opacity: 0; transform: translateY(22px); }
.h-hero.h-hero--in [data-enter] {
  animation: hFadeUp 0.9s cubic-bezier(0.22, 0.61, 0.36, 1) forwards;
  animation-delay: calc(var(--enter, 0) * 130ms);
}

/* waitlist form */
.h-wait { max-width: 470px; }
.h-wait-row { display: flex; gap: 10px; }
@media (max-width: 480px) { .h-wait-row { flex-direction: column; } }
.h-wait input {
  flex: 1; min-width: 0;
  background: rgba(22,27,34,0.85);
  border: 1.5px solid var(--h-line); border-radius: var(--h-r);
  padding: 15px 18px; font-family: var(--h-sans); font-size: 15px;
  color: var(--h-text); outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.h-wait input::placeholder { color: var(--h-text-faint); }
.h-wait input:focus { border-color: var(--h-gold-line); box-shadow: 0 0 0 3px var(--h-gold-soft); }
.h-wait .micro {
  margin-top: 13px; font-size: 12.5px; color: var(--h-text-faint);
  display: flex; gap: 14px; flex-wrap: wrap;
}
.h-wait .micro span { display: inline-flex; align-items: center; gap: 6px; }
.h-wait .micro .dot { width: 4px; height: 4px; border-radius: 50%; background: var(--h-champagne); }
.h-wait-note {
  margin-top: 12px; font-size: 13.5px; border-radius: 10px; padding: 11px 14px; display: none;
}
.h-wait-note.ok { display: block; background: rgba(212,175,55,0.10); border: 1px solid var(--h-gold-line); color: var(--h-champagne); }
.h-wait-note.err { display: block; background: rgba(167,139,250,0.08); border: 1px solid var(--h-glow-border); color: var(--h-text-dim); }
.h-wait-note a { color: var(--h-lavender); text-decoration: underline; }

/* ------------------------------------------------- THE RITUAL (hero)
   The hero asks the visitor a question, in handwriting, and holds the
   silence — then resolves into the headline. Scroll/click fast-forwards.
   After resolving, the question line shrinks and quietly keeps asking. */
.h-hero--ritual {
  text-align: center;
  /* full-bleed night: the words live in the photograph's own darkness,
     the glowing window sits low beneath them. The section is painted the
     same near-black as the photograph's own sky, so image and page are one
     surface — nothing to blend, nothing to seam. */
  background: #010202;
  min-height: 100svh;
  padding: 66px 0 min(30vh, 320px);
}
@media (max-width: 760px) { .h-hero--ritual { padding-bottom: 24vh; } }
.h-ritual {
  display: flex; flex-direction: column; align-items: center; justify-content: flex-start;
  width: 100%; position: relative; z-index: 2;
}

/* the Full House — living-painting band along the bottom */
.h-hero-home {
  position: absolute; inset: 0;   /* full-bleed — one continuous night */
  z-index: 0; pointer-events: none; overflow: hidden;
}
.h-hero-home video {
  width: 100%; height: 100%;
  object-fit: cover; object-position: center bottom;
}
@media (min-width: 1024px) {
  /* the 21:9 frame fits by width and sits on the floor of the viewport, so the
     glowing window stays in the bottom third at any screen height; the mask
     dissolves the image's top edge into the page's own midnight — no seam */
  .h-hero-home video {
    object-fit: contain; object-position: center bottom;
    /* slide the frame down a touch — crops only the garden strip below the
       sill and keeps the glowing window clear of the waitlist form */
    transform: translateY(11vh);
    -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 22%);
    mask-image: linear-gradient(to bottom, transparent 0, #000 22%);
  }
}
.h-hero-home .veil {
  position: absolute; inset: 0;
  /* legibility pool behind the words (black-tinted to match the photograph —
     a blue veil over black film reads as a colour seam) + a blue settle at
     the very bottom for the handoff into the next midnight section */
  background:
    radial-gradient(ellipse 58% 42% at 50% 26%,
      rgba(1,2,2,0.6), rgba(1,2,2,0.2) 55%, transparent 75%),
    linear-gradient(to bottom,
      rgba(1,2,2,0.5) 0%, rgba(1,2,2,0.1) 24%,
      transparent 55%, rgba(13,17,23,0.55) 100%);
}
.h-glowfield {
  position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(ellipse 46% 38% at 50% 42%, rgba(212,175,55,0.09), transparent 70%);
  animation: hFieldBreathe 7s ease-in-out infinite;
}
@keyframes hFieldBreathe {
  0%, 100% { opacity: 0.7; transform: scale(1); }
  50%      { opacity: 1;   transform: scale(1.05); }
}

.h-ask {
  position: relative; min-height: 150px;
  display: block; max-width: 740px;
  margin-top: 11vh;   /* the lone question floats; it docks up when quiet */
  font-family: "La Belle Aurore", cursive;
  font-size: clamp(29px, 4.2vw, 52px);
  line-height: 1.5;
  color: var(--h-champagne);
  text-shadow: 0 0 32px rgba(212,175,55,0.28);
  transition: opacity 0.9s ease, transform 0.9s ease, filter 0.9s ease,
              font-size 0.8s ease, min-height 0.8s ease, margin 0.8s ease;
}
.h-ask .ch { opacity: 0; }
.h-ask .ch.on { opacity: 1; transition: opacity 0.26s ease; }
.h-ask.lift { opacity: 0; transform: translateY(-18px); filter: blur(5px); }
.h-ask.quiet {
  min-height: 50px;
  font-size: clamp(18px, 1.9vw, 24px);
  opacity: 0.6;
  text-shadow: none;
  margin-top: 0;
  margin-bottom: 6px;
}
.h-pen {
  position: absolute; width: 7px; height: 7px; border-radius: 50%;
  background: radial-gradient(circle at 40% 35%, #FBF6EE, var(--h-champagne) 60%);
  box-shadow: 0 0 12px rgba(212,175,55,0.9), 0 0 30px rgba(212,175,55,0.45);
  opacity: 0; transition: opacity 0.3s ease; pointer-events: none;
}
.h-pen.on { opacity: 1; }

.h-resolve { display: flex; flex-direction: column; align-items: center; }
.h-resolve [data-r] {
  opacity: 0; transform: translateY(22px);
  transition: opacity 0.9s cubic-bezier(0.22,0.61,0.36,1), transform 0.9s cubic-bezier(0.22,0.61,0.36,1);
}
.h-resolve [data-r="1"] { transition-delay: 0.15s; }
.h-resolve [data-r="2"] { transition-delay: 0.30s; }
.h-resolve [data-r="3"] { transition-delay: 0.45s; }
.h-resolve.in [data-r] { opacity: 1; transform: none; }
.h-answer {
  font-family: var(--h-serif); font-style: italic;
  font-size: clamp(20px, 2.2vw, 28px);
  color: var(--h-text-dim); margin-bottom: 8px;
}
.h-answer em { color: var(--h-champagne); font-style: italic; }
.h-hero--ritual h1 {
  max-width: 18ch;
  font-size: clamp(42px, 5.1vw, 72px);
  line-height: 1.04;
  margin-bottom: 16px;
}
.h-hero--ritual .h-hero-sub { max-width: 620px; margin-bottom: 14px; }
/* the hero's reassurance line (no form up here — the nav CTA and the final
   section carry the waitlist): a quiet promise on the dark wall */
.h-hero-assure {
  display: flex; justify-content: center; gap: 14px; flex-wrap: wrap;
  font-size: 13px; color: var(--h-text-dim);
}
.h-hero-assure span { display: inline-flex; align-items: center; gap: 6px; }
.h-hero-assure .dot { width: 4px; height: 4px; border-radius: 50%; background: var(--h-champagne); }

/* ---------------------------------------------------------------- the ache */
.h-ache { text-align: center; }
.h-ache h2 { max-width: 17ch; margin: 0 auto var(--h-s7); font-size: clamp(32px, 4.6vw, 60px); }
.h-truths { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; max-width: 940px; margin: 0 auto; }
@media (max-width: 860px) { .h-truths { grid-template-columns: 1fr; } }
.h-truth {
  background: rgba(22,27,34,0.6);
  border: 1px solid var(--h-glow-border); border-radius: var(--h-r-lg);
  padding: 26px 24px; text-align: left;
  box-shadow: var(--h-shadow-glow);
}
.h-truth .n { font-family: var(--h-serif); font-size: 22px; color: var(--h-lavender); margin-bottom: 8px; }
.h-truth p { font-size: 14.5px; color: var(--h-text-dim); }
.h-ache .turn {
  margin-top: var(--h-s7); font-family: var(--h-serif); font-size: clamp(20px, 2.4vw, 28px);
  color: var(--h-text);
}
.h-ache .turn em { color: var(--h-champagne); font-style: italic; }

/* --------------------------------------------- scrollytelling: a woven day
   Pinned phone shows the app's own design language; four beats crossfade. */
.h-day { display: grid; grid-template-columns: 1fr 1fr; gap: var(--h-s8); }
@media (max-width: 1023px) { .h-day { display: block; } }
.h-day-pin { position: sticky; top: 92px; align-self: start; height: fit-content; }
@media (max-width: 1023px) { .h-day-pin { position: static; margin-bottom: var(--h-s7); } }
.h-phone {
  position: relative; width: 300px; margin: 0 auto;
  aspect-ratio: 9 / 18.2;
  background: var(--h-surface);
  border: 3px solid rgba(61,53,81,0.9);
  border-radius: 42px;
  box-shadow: 0 0 0 1px var(--h-glow-border), 0 34px 90px rgba(0,0,0,0.6), 0 0 70px rgba(167,139,250,0.08);
  overflow: hidden;
}
.h-phone .notch {
  position: absolute; top: 10px; left: 50%; transform: translateX(-50%);
  width: 84px; height: 22px; border-radius: 999px; background: #0A0D12; z-index: 5;
}
.h-shot {
  position: absolute; inset: 0; padding: 48px 18px 18px;
  opacity: 0; transition: opacity 0.55s ease;
  display: flex; flex-direction: column;
}
.h-shot.on { opacity: 1; }
.h-day-dots { display: flex; gap: 8px; margin-top: 22px; justify-content: center; }
.h-day-dots span { height: 6px; width: 8px; border-radius: 999px; background: rgba(251,246,238,0.16); transition: all 0.3s ease; }
.h-day-dots span.on { width: 26px; background: var(--h-champagne); }
@media (max-width: 1023px) { .h-day-dots { display: none; } }

.h-day-step {
  min-height: 62vh; display: flex; flex-direction: column; justify-content: center;
  opacity: 0.3; transform: translateY(6px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.h-day-step.on { opacity: 1; transform: none; }
@media (max-width: 1023px) { .h-day-step { min-height: 0; padding: 24px 0; opacity: 1; transform: none; } }
.h-day-step .k { font-size: var(--h-fs-label); font-weight: 700; letter-spacing: var(--h-track); text-transform: uppercase; color: var(--h-lavender); margin-bottom: 12px; }
.h-day-step h3 { font-size: clamp(24px, 2.6vw, 33px); margin-bottom: 13px; }
.h-day-step p { color: var(--h-text-dim); max-width: 430px; font-size: 16px; }

/* — in-phone mocks (the app's own visual language) — */
.h-mock-header { font-family: var(--h-serif); font-size: 19px; color: var(--h-text); margin-bottom: 4px; }
.h-mock-sub { font-size: 10.5px; color: var(--h-text-faint); margin-bottom: 12px; }
.h-mock-card {
  background: var(--h-surface-alt);
  border: 1px solid var(--h-glow-border); border-radius: 18px;
  padding: 14px; margin-bottom: 10px;
  box-shadow: 0 4px 18px rgba(0,0,0,0.3);
}
.h-mock-card .q { font-family: var(--h-serif); font-size: 15px; line-height: 1.45; color: var(--h-text); }
.h-mock-chiprow { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 10px; }
.h-mock-chip {
  font-size: 10px; font-weight: 600; color: var(--h-lavender);
  background: var(--h-lav-soft); border: 1px solid var(--h-glow-border);
  border-radius: 999px; padding: 4px 10px;
}
.h-mock-gold {
  margin-top: auto; text-align: center;
  background: linear-gradient(135deg, var(--h-gold-1), var(--h-gold-2) 60%, var(--h-gold-3));
  color: var(--h-midnight); font-weight: 700; font-size: 13px;
  border-radius: 14px; padding: 13px;
  box-shadow: 0 6px 18px rgba(212,175,55,0.3);
}
.h-mock-photo { border-radius: 14px; overflow: hidden; margin-bottom: 10px; position: relative; }
.h-mock-photo img { width: 100%; height: 150px; object-fit: cover; }
.h-mock-byline { display: flex; align-items: center; gap: 8px; font-size: 11px; color: var(--h-text-dim); }
.h-mock-byline .av {
  width: 24px; height: 24px; border-radius: 50%; flex-shrink: 0;
  background: var(--h-dusk); color: var(--h-lavender);
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 10px; font-weight: 700;
}
.h-mock-heart { margin-left: auto; color: var(--h-champagne); font-size: 13px; }
.h-mock-glowline { display: flex; align-items: center; gap: 10px; padding: 10px 0; }
.h-mock-glowline .gdot { width: 10px; height: 10px; border-radius: 50%; background: var(--h-champagne); box-shadow: 0 0 12px rgba(212,175,55,0.9); }
.h-mock-glowline span { font-size: 12px; color: var(--h-text-dim); }
.h-mock-keepsake { text-align: center; padding: 18px 8px 8px; }
.h-mock-keepsake .kt { font-family: var(--h-serif); font-size: 17px; color: var(--h-text); margin: 10px 0 4px; }
.h-mock-keepsake .ks { font-size: 11px; color: var(--h-text-faint); }

/* ----------------------------------------------------------- both ends */
.h-ends { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 900px) { .h-ends { grid-template-columns: 1fr; } }
.h-end {
  border-radius: var(--h-r-xl); padding: 38px 34px;
  border: 1px solid var(--h-glow-border);
  box-shadow: var(--h-shadow-glow);
  position: relative; overflow: clip;
}
.h-end.parent { background: linear-gradient(165deg, #F6EFE3, var(--h-ivory) 55%); color: #1A1A1A; }
.h-end.parent h3, .h-end.parent .h-serif { color: #14181F; }
.h-end.parent p, .h-end.parent li { color: rgba(20,24,31,0.72); }
.h-end.family { background: linear-gradient(165deg, var(--h-surface-alt), var(--h-surface) 60%); }
.h-end .who { font-size: var(--h-fs-label); font-weight: 700; letter-spacing: var(--h-track); text-transform: uppercase; margin-bottom: 14px; display: block; }
.h-end.parent .who { color: var(--h-gold-3); }
.h-end.family .who { color: var(--h-lavender); }
.h-end h3 { font-size: clamp(22px, 2.4vw, 30px); margin-bottom: 12px; }
.h-end ul { list-style: none; margin-top: 16px; display: grid; gap: 10px; }
.h-end li { display: flex; gap: 10px; font-size: 15px; align-items: flex-start; }
.h-end li .tick { color: var(--h-champagne); font-weight: 800; flex-shrink: 0; }
.h-end.parent li .tick { color: var(--h-gold-2); }

/* ---------------------------------------------------------------- features */
.h-features { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
@media (max-width: 900px) { .h-features { grid-template-columns: 1fr; } }
.h-feature {
  display: flex; min-height: 148px;
  background: rgba(22,27,34,0.75);
  border: 1px solid var(--h-glow-border); border-radius: var(--h-r-lg);
  overflow: clip;
  box-shadow: var(--h-shadow-glow);
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}
.h-feature:hover { transform: translateY(-4px); border-color: var(--h-gold-line); box-shadow: var(--h-shadow-card), 0 0 44px rgba(212,175,55,0.10); }
.h-feature .panel { position: relative; width: 128px; flex-shrink: 0; }
.h-feature .panel img { width: 100%; height: 100%; object-fit: cover; }
.h-feature .panel::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(to right, transparent 40%, rgba(22,27,34,0.95));
}
.h-feature .body { padding: 20px 22px 20px 14px; }
.h-feature h3 { font-size: 18.5px; margin-bottom: 6px; }
.h-feature p { font-size: 13.5px; color: var(--h-text-dim); }

/* ------------------------------------------------------------------ legacy */
.h-legacy {
  position: relative; border-radius: var(--h-r-xl); overflow: clip;
  border: 1px solid rgba(212,175,55,0.25);
  box-shadow: 0 30px 90px rgba(0,0,0,0.5);
}
.h-legacy .bg { position: absolute; inset: 0; }
.h-legacy .bg img { width: 100%; height: 100%; object-fit: cover; }
.h-legacy .bg::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(13,17,23,0.94) 30%, rgba(13,17,23,0.72) 60%, rgba(13,17,23,0.4));
}
.h-legacy .inner { position: relative; padding: 66px 58px; max-width: 660px; }
@media (max-width: 700px) { .h-legacy .inner { padding: 44px 26px; } }
.h-legacy h2 { margin-bottom: var(--h-s4); }
.h-legacy .promise {
  margin-top: var(--h-s6); border-left: 2px solid var(--h-champagne);
  padding: 6px 0 6px 18px;
  font-family: var(--h-serif); font-size: 17.5px; color: var(--h-text); font-style: italic;
}
.h-legacy .price-line { margin-top: var(--h-s5); font-size: 14.5px; color: var(--h-text-dim); }
.h-legacy .price-line b { color: var(--h-champagne); font-family: var(--h-serif); font-size: 18px; }

/* ----------------------------------------------------------------- pricing */
.h-plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; align-items: stretch; margin-top: var(--h-s7); }
@media (max-width: 960px) { .h-plans { grid-template-columns: 1fr; max-width: 460px; margin: 0 auto; } }
.h-plan {
  background: rgba(22,27,34,0.75);
  border: 1px solid var(--h-glow-border); border-radius: var(--h-r-xl);
  padding: 34px 30px; display: flex; flex-direction: column;
  box-shadow: var(--h-shadow-glow);
}
.h-plan.star {
  background: linear-gradient(170deg, rgba(212,175,55,0.10), rgba(22,27,34,0.9) 45%);
  border-color: var(--h-gold-line);
  box-shadow: 0 0 0 1px rgba(212,175,55,0.15), 0 24px 70px rgba(0,0,0,0.45), 0 0 70px rgba(212,175,55,0.08);
}
.h-plan .tier { font-size: var(--h-fs-label); font-weight: 700; letter-spacing: var(--h-track); text-transform: uppercase; color: var(--h-lavender); margin-bottom: 10px; }
.h-plan.star .tier { color: var(--h-champagne); }
.h-plan h3 { font-size: 23px; margin-bottom: 6px; }
.h-plan .price { font-family: var(--h-serif); font-size: 38px; font-weight: 600; color: var(--h-text); line-height: 1.1; }
.h-plan .price small { font-size: 14px; color: var(--h-text-faint); font-family: var(--h-sans); font-weight: 500; }
.h-plan .alt { font-size: 12.5px; color: var(--h-text-faint); margin-top: 3px; }
.h-plan ul { list-style: none; margin: 20px 0; display: grid; gap: 9px; flex: 1; }
.h-plan li { display: flex; gap: 9px; font-size: 14px; color: var(--h-text-dim); align-items: flex-start; }
.h-plan li .tick { color: var(--h-champagne); font-weight: 800; flex-shrink: 0; }
.h-plan .h-btn { width: 100%; }
.h-plans-fine { text-align: center; margin-top: var(--h-s5); font-size: 12.5px; color: var(--h-text-faint); }

/* --------------------------------------------------------------------- faq */
.h-faq { max-width: 740px; margin: 0 auto; }
.h-faq-item { border-bottom: 1px solid var(--h-line); }
.h-faq-q {
  width: 100%; background: none; border: 0; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 18px;
  padding: 22px 0; text-align: left;
  font-family: var(--h-serif); font-size: 18.5px; font-weight: 600; color: var(--h-text);
}
.h-faq-q .pl { color: var(--h-champagne); font-size: 22px; transition: transform 0.3s ease; flex-shrink: 0; }
.h-faq-item.open .pl { transform: rotate(45deg); }
.h-faq-a { max-height: 0; overflow: hidden; transition: max-height 0.35s ease; }
.h-faq-a p { padding: 0 0 22px; color: var(--h-text-dim); font-size: 15px; max-width: 620px; }

/* --------------------------------------------------------------- final cta */
.h-final { position: relative; text-align: center; }
.h-final .bg { position: absolute; inset: 0; z-index: 0; }
.h-final .bg img { width: 100%; height: 100%; object-fit: cover; opacity: 0.35; }
.h-final .bg::after {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse 62% 55% at 50% 46%, rgba(13,17,23,0.25), rgba(13,17,23,0.9) 78%),
              linear-gradient(to bottom, var(--h-midnight), transparent 25%, transparent 70%, var(--h-midnight));
}
.h-final .inner { position: relative; z-index: 1; padding: calc(var(--h-s9) + 20px) 24px; }
.h-final .mark { width: 84px; height: auto; margin: 0 auto var(--h-s5); filter: drop-shadow(0 0 30px rgba(212,175,55,0.45)); }
.h-final h2 { font-size: clamp(34px, 4.6vw, 62px); max-width: 18ch; margin: 0 auto var(--h-s4); }
.h-final p { color: var(--h-text-dim); max-width: 480px; margin: 0 auto var(--h-s6); font-size: var(--h-fs-sub); }
.h-final .h-wait { margin: 0 auto; }
.h-final .h-wait .micro { justify-content: center; }

/* ------------------------------------------------------------------ footer */
.h-footer { border-top: 1px solid var(--h-line); background: rgba(10,13,18,0.92); padding: 56px 0 26px; }
.h-footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 36px; margin-bottom: 40px; }
@media (max-width: 760px) { .h-footer-grid { grid-template-columns: 1fr; } }
.h-footer .brand { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.h-footer .brand .mark { height: 30px; width: auto; }
.h-footer .brand .word { height: 15px; width: auto; }
.h-footer .fcol p { font-size: 13.5px; color: var(--h-text-faint); max-width: 300px; }
.h-footer .fcol h5 {
  font-size: var(--h-fs-label); font-weight: 700; letter-spacing: var(--h-track);
  text-transform: uppercase; color: var(--h-champagne); margin-bottom: 14px;
}
.h-footer .fcol a { display: block; font-size: 14px; color: var(--h-text-dim); padding: 4px 0; transition: color 0.2s ease; }
.h-footer .fcol a:hover { color: var(--h-champagne); }
.h-footer-bottom {
  border-top: 1px solid var(--h-line); padding-top: 20px;
  display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap;
  font-size: 12px; color: var(--h-text-faint);
}

/* ----------------------------------------------------------- scroll reveal */
.h-reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.8s cubic-bezier(0.22,0.61,0.36,1), transform 0.8s cubic-bezier(0.22,0.61,0.36,1); transition-delay: var(--rd, 0ms); }
.h-reveal.h-in { opacity: 1; transform: none; }

/* ---------------------------------------------- Cormorant optical compensation
   Cormorant Garamond's x-height runs ~12–15% smaller than Fraunces; every
   small-to-mid serif moment gets a size bump here (one block = one revert). */
.h-truth .n { font-size: 27px; font-weight: 600; }
.h-ache .turn { font-size: clamp(24px, 2.8vw, 33px); }
.h-mock-header { font-size: 23px; font-weight: 600; }
.h-mock-card .q { font-size: 17.5px; font-weight: 500; }
.h-mock-keepsake .kt { font-size: 20px; font-weight: 600; }
.h-day-step h3 { font-size: clamp(27px, 2.9vw, 37px); }
.h-end h3 { font-size: clamp(25px, 2.7vw, 34px); }
.h-feature h3 { font-size: 22px; }
.h-plan h3 { font-size: 27px; }
.h-plan .price { font-size: 44px; font-weight: 600; }
.h-faq-q { font-size: 21.5px; }
.h-legacy .promise { font-size: 21px; }
.h-final h2 { font-size: clamp(38px, 5vw, 68px); }

/* ------------------------------------------------------------ reduced motion */
@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; }
  .h-reveal, .h-hero [data-enter], .h-day-step { opacity: 1 !important; transform: none !important; }
  .h-preloader { display: none; }
}
