/* ==========================================================================
   The $2 Bill Brand: site styles
   Design system: work order, Decision 7 (Marquee tokens, DM Serif Display,
   DM Sans). Mobile first. Motion is minimal and respects reduced-motion.
   ========================================================================== */

:root {
  /* Marquee colour tokens. Do not add colours outside this set. */
  --cream: #F2EDE4;         /* primary light background, light text on dark */
  --cream-raised: #F7F3EC;  /* cards, form fields, lifted surfaces */
  --ink: #1E2B2E;           /* primary dark background, primary text */
  --ink-deep: #172122;      /* hero and footer depth */
  --slate: #2C3A38;         /* secondary dark surface */
  --muted: #54615E;         /* supporting copy on light backgrounds */
  --gold: #C9A961;          /* button fills, lines, small highlights only */
  --gold-ink: #7E6417;      /* gold text on light backgrounds */
  --sage: #47705A;          /* focus state, check marks */
  --line: #E0D8CB;          /* light dividers */

  --on-dark: rgba(242, 237, 228, .82);
  --on-dark-soft: rgba(242, 237, 228, .62);
  --line-dark: rgba(242, 237, 228, .18);

  --serif: "DM Serif Display", Georgia, "Times New Roman", serif;
  --sans: "DM Sans", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  --wrap: 1180px;
  --gutter: clamp(1.25rem, 5vw, 3rem);
  --section: clamp(4.5rem, 10vw, 8.5rem);
  --radius: 2px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --header-h: 72px;
}

/* ------------------------------------------------------------------ base */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 1.5rem); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0; background: var(--cream); color: var(--ink);
  font-family: var(--sans); font-size: 1.0625rem; line-height: 1.65;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  /* Short pages (a confirmation, a thank-you) still fill the window. */
  min-height: 100vh; min-height: 100dvh; display: flex; flex-direction: column;
}
main { flex: 1 0 auto; display: flex; flex-direction: column; }
main > .page-hero--tall { flex: 1 0 auto; }
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; line-height: 1.1; letter-spacing: -.005em; margin: 0; text-wrap: balance; }
h2 { font-size: clamp(2rem, 4.1vw, 3.15rem); }
h3 { font-size: clamp(1.3rem, 2vw, 1.6rem); }
p { margin: 0 0 1.15em; }
p:last-child { margin-bottom: 0; }
a { color: inherit; }
fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
legend { padding: 0; }
cite { font-style: normal; }
[hidden] { display: none !important; }

/* One focus treatment that reads on cream and on ink. */
:focus-visible { outline: 2px solid var(--cream); outline-offset: 2px; box-shadow: 0 0 0 5px var(--sage); }
[tabindex="-1"]:focus-visible { outline: none; box-shadow: none; }

.skip { position: absolute; left: -999px; top: 0; }
.skip:focus { left: 1rem; top: 1rem; z-index: 100; background: var(--gold); color: var(--ink-deep); padding: .8rem 1.2rem; font-weight: 600; }

.wrap { width: min(var(--wrap), 100% - 2 * var(--gutter)); margin-inline: auto; }
.wrap--narrow { max-width: 800px; }
.wrap--form { max-width: 740px; }
.center { text-align: center; }
.vh { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }

/* ----------------------------------------------------------- preview bar */
.preview-bar {
  display: flex; flex-wrap: wrap; justify-content: center; gap: .15rem 1.25rem;
  background: var(--gold); color: var(--ink-deep);
  font: 600 .78rem/1.35 var(--sans); letter-spacing: .02em; text-align: center;
  padding: .5rem var(--gutter);
}
.preview-bar__note { font-weight: 400; }
.preview-bar--internal { background: var(--ink-deep); color: var(--gold); border-bottom: 2px dashed var(--gold); }

/* --------------------------------------------------------------- buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .65rem;
  min-height: 52px; padding: .85rem 1.55rem;
  font: 600 1rem/1.2 var(--sans); letter-spacing: .01em; text-decoration: none; text-align: center;
  border: 1px solid transparent; border-radius: var(--radius); cursor: pointer;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), background-color .2s ease, color .2s ease, border-color .2s ease;
}
.btn .arrow, .text-cta .arrow, .door__cta .arrow { display: inline-block; transition: transform .3s var(--ease); }
.btn:hover .arrow, .text-cta:hover .arrow { transform: translateX(5px); }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn--gold { background: var(--gold); color: var(--ink-deep); }
.btn--gold:hover { box-shadow: 0 16px 30px -16px rgba(201, 169, 97, .7); }
.btn--ink { background: var(--ink); color: var(--cream); }
.btn--ink:hover { background: var(--ink-deep); box-shadow: 0 16px 30px -18px rgba(23, 33, 34, .7); }
.btn--quiet { background: transparent; color: var(--ink); border-color: rgba(84, 97, 94, .78); }
.btn--quiet:hover { border-color: var(--ink); }
.btn--lg { min-height: 58px; padding: 1rem 1.9rem; font-size: 1.06rem; }
.btn--sm { min-height: 44px; padding: .55rem 1.1rem; font-size: .94rem; }
.btn[disabled] { opacity: .55; cursor: not-allowed; transform: none; box-shadow: none; }

.text-cta {
  display: inline-flex; align-items: center; gap: .55rem; min-height: 44px;
  font-weight: 600; text-decoration: none; color: var(--ink);
  background: linear-gradient(var(--gold), var(--gold)) 0 calc(100% - 9px) / 100% 1px no-repeat;
  transition: background-size .4s var(--ease), color .2s ease;
}
.text-cta:hover { background-size: 0 1px; background-position: 100% calc(100% - 9px); }
.text-cta--light { color: var(--cream); }

.cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 2rem; margin-top: 2.2rem; }
.cta-row--center { justify-content: center; }

/* ------------------------------------------------------- shared elements */
.eyebrow {
  display: flex; align-items: center; gap: .9rem; margin: 0;
  font: 600 .76rem/1.3 var(--sans); letter-spacing: .22em; text-transform: uppercase; color: var(--gold-ink);
}
.eyebrow::before { content: ""; flex: none; width: 40px; height: 1px; background: var(--gold); }
.eyebrow--light { color: var(--gold); }

.rule { display: block; width: 56px; height: 2px; background: var(--gold); margin: 0 0 1.6rem; transform-origin: left center; }
.center .rule { margin-inline: auto; transform-origin: center; }

.lead { font-size: clamp(1.12rem, 1.6vw, 1.3rem); line-height: 1.6; color: var(--muted); }
.lead--ink { color: var(--ink); font-size: clamp(1.25rem, 2vw, 1.55rem); line-height: 1.5; }
h2 + .lead, .rule + h2 + .lead { margin-top: 1.3rem; }

.prose { margin-top: 1.7rem; }
.prose > p { max-width: 62ch; }
.prose--lg { margin-top: 0; font-size: 1.14rem; }
.prose--lg > p { max-width: none; }
.pull {
  font-family: var(--serif); font-size: clamp(1.4rem, 2.4vw, 1.9rem); line-height: 1.26;
  margin-top: 2rem; padding-left: 1.4rem; border-left: 2px solid var(--gold); max-width: 30ch;
}
.prose--lg .pull { max-width: none; }
.statement { font-family: var(--serif); font-size: clamp(1.5rem, 2.9vw, 2.15rem); line-height: 1.3; margin: 0; }

/* -------------------------------------------------------------- sections */
.section { padding-block: var(--section); position: relative; }
.section--raised { background: var(--cream-raised); }
.section--ink { background: var(--ink); color: var(--cream); }
.section--deep { background: var(--ink-deep); color: var(--cream); }
.section--slate { background: var(--slate); color: var(--cream); padding-block: clamp(3.5rem, 8vw, 6rem); }
.section--ink .lead, .section--deep .lead, .section--slate .lead { color: var(--on-dark); }
.section--ink .prose > p, .section--deep .prose > p { color: var(--on-dark); }
.section__head { max-width: 46rem; }

.split { display: grid; gap: clamp(2rem, 5vw, 4.5rem); }
@media (min-width: 960px) {
  .split { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); align-items: start; }
  .split--media { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); align-items: center; }
  .split--flip { grid-template-columns: minmax(0, 4fr) minmax(0, 6fr); }
  .split__head { position: sticky; top: calc(var(--header-h) + 3rem); }
}

/* Photo in an offset gold keyline. */
.frame { position: relative; margin: 0; }
.frame picture { display: block; position: relative; z-index: 1; overflow: hidden; background: var(--slate); }
.frame img { width: 100%; height: 100%; object-fit: cover; }
.frame--landscape picture { aspect-ratio: 3 / 2; }
.frame--portrait picture { aspect-ratio: 4 / 5; }
.frame--portrait { width: min(100%, 420px); margin-inline: auto; }
.frame::before {
  content: ""; position: absolute; inset: 0; z-index: 0; border: 1px solid var(--gold);
  transform: translate(14px, 14px);
}
img[src*="headshot"] { object-position: 50% 16%; }
img[src*="holding-2-dollar"] { object-position: 50% 12%; }
img[src*="bill-suit"] { object-position: 50% 12%; }
img[src*="keynote-wide"] { object-position: 38% 50%; }
@media (min-width: 960px) { .frame--portrait { margin-inline: 0; justify-self: center; } }

/* ----------------------------------------------------------- site header */
.site-header {
  position: sticky; top: 0; z-index: 50; background: var(--ink-deep); color: var(--cream);
  transition: box-shadow .35s ease;
}
.site-header::after { content: ""; position: absolute; inset: auto 0 0; height: 1px; background: rgba(201, 169, 97, .32); }
.site-header.is-stuck { box-shadow: 0 14px 34px -20px rgba(23, 33, 34, .9); }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: var(--header-h); position: relative; }

.brand { display: inline-flex; align-items: center; gap: .7rem; min-height: 44px; text-decoration: none; color: var(--cream); }
.brand__mark { flex: none; color: var(--gold); transition: transform .6s var(--ease); }
.brand:hover .brand__mark { transform: rotate(-8deg); }
.brand__text { display: flex; flex-direction: column; line-height: 1.05; }
.brand__name { font-family: var(--serif); font-size: 1.28rem; }
.brand__name--sm { font-size: 1.1rem; }
.brand__sub { margin-top: .32rem; font: 600 .6rem/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--on-dark-soft); }

.nav-toggle summary {
  list-style: none; display: inline-flex; align-items: center; gap: .6rem; min-height: 44px; padding: 0 .9rem;
  border: 1px solid var(--line-dark); border-radius: var(--radius); cursor: pointer;
  font: 600 .86rem/1 var(--sans); letter-spacing: .08em; text-transform: uppercase;
}
.nav-toggle summary::-webkit-details-marker { display: none; }
.nav-toggle__bars { position: relative; width: 18px; height: 12px; border-block: 2px solid currentColor; }
.nav-toggle__bars::before { content: ""; position: absolute; inset: 3px 0 auto; height: 2px; background: currentColor; }
.nav { display: none; }
.nav-toggle[open] ~ .nav {
  display: block; position: absolute; top: 100%; left: calc(-1 * var(--gutter)); right: calc(-1 * var(--gutter));
  background: var(--ink-deep); padding: .5rem var(--gutter) 1.75rem; border-bottom: 1px solid rgba(201, 169, 97, .32);
  box-shadow: 0 24px 40px -20px rgba(23, 33, 34, .85); animation: menu-in .35s var(--ease);
}
.nav__list { list-style: none; margin: 0 0 1.2rem; padding: 0; }
.nav__list a {
  display: flex; align-items: center; min-height: 52px; text-decoration: none; color: var(--cream);
  font-family: var(--serif); font-size: 1.4rem; border-bottom: 1px solid var(--line-dark);
}
.nav__cta { width: 100%; }
@media (min-width: 960px) {
  .nav-toggle { display: none; }
  .nav, .nav-toggle[open] ~ .nav {
    display: flex; align-items: center; gap: 2.2rem; position: static; padding: 0; border: 0; box-shadow: none; background: none; animation: none;
  }
  .nav__list { display: flex; gap: 2rem; margin: 0; }
  .nav__list a {
    min-height: 44px; border: 0; font: 500 .95rem/1 var(--sans); color: var(--on-dark); position: relative; transition: color .2s ease;
  }
  .nav__list a::after {
    content: ""; position: absolute; left: 0; right: 0; bottom: 9px; height: 1px; background: var(--gold);
    transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease);
  }
  .nav__list a:hover, .nav__list a[aria-current] { color: var(--cream); }
  .nav__list a:hover::after, .nav__list a[aria-current]::after { transform: scaleX(1); }
  .nav__cta { width: auto; }
}

/* ------------------------------------------------------------------ hero */
.hero { position: relative; isolation: isolate; overflow: hidden; background: var(--ink-deep); color: var(--cream); }
.hero__media { position: absolute; inset: 0; z-index: -2; }
.hero__media picture { display: block; width: 100%; height: 100%; }
.hero__img { width: 100%; height: 100%; object-fit: cover; object-position: 68% 22%; animation: settle 2.4s var(--ease) both; }
.hero__veil { position: absolute; inset: 0; z-index: -1; background: rgba(23, 33, 34, .84); }
.hero__veil--heavy { background: rgba(23, 33, 34, .86); }
@media (min-width: 960px) {
  .hero--home .hero__media { left: 38%; }
  .hero--home .hero__img { object-position: 50% 18%; }
  .hero--home .hero__veil { background: linear-gradient(90deg, var(--ink-deep) 0%, var(--ink-deep) 38%, rgba(23, 33, 34, .8) 54%, rgba(23, 33, 34, .3) 100%); }
  .hero--photo .hero__media { left: 38%; }
  .hero--photo .hero__img { object-position: 30% 40%; }
  .hero__veil--heavy { background: linear-gradient(90deg, var(--ink-deep) 0%, var(--ink-deep) 38%, rgba(23, 33, 34, .82) 54%, rgba(23, 33, 34, .45) 100%); }
}
.hero__inner { padding-block: clamp(4rem, 9vw, 7.25rem) clamp(4.5rem, 10vw, 7.75rem); }
.hero__inner > * { max-width: 44rem; }
.hero__inner > .hero__title { max-width: 60rem; }
.hero__title { font-size: clamp(2.55rem, 5.3vw, 4.2rem); line-height: 1.04; margin: 1.5rem 0 1.6rem; text-wrap: balance; }
.hero__title--product { font-size: clamp(2.3rem, 5.2vw, 4.05rem); }
@media (max-width: 359px) {
  .hero__title { font-size: 2.15rem; } .hero__title--product { font-size: 2rem; } .page-hero__title { font-size: 2.05rem; }
  /* Keep the name on one line: the menu button drops its word (its label stays for screen readers). */
  .nav-toggle__word { display: none; }
  .nav-toggle summary { padding: 0 .8rem; }
}
.brand__name, .brand__sub { white-space: nowrap; }
.hero__title .line { display: block; overflow: hidden; padding-bottom: .1em; margin-bottom: -.1em; }
.hero__title .line > span { display: block; animation: rise 1.05s var(--ease) both; }
.hero__title .line:nth-child(2) > span { animation-delay: .12s; }
.hero__title em {
  font-style: italic;
  background: linear-gradient(var(--gold), var(--gold)) 0 94% / 100% 2px no-repeat;
  animation: underline 1s var(--ease) .95s both;
}
.hero__sub { font-size: clamp(1.1rem, 1.7vw, 1.3rem); line-height: 1.58; color: var(--on-dark); max-width: 40rem; }
.hero__micro { margin-top: 1.5rem; font-size: .97rem; color: var(--on-dark-soft); max-width: 36rem; }
.hero .eyebrow { animation: fade-up .9s var(--ease) both; }
.hero__sub { animation: fade-up .9s var(--ease) .35s both; }
.hero__cta { animation: fade-up .9s var(--ease) .5s both; }
.hero__micro { animation: fade-up .9s var(--ease) .62s both; }

.hero--product .hero__grid { display: grid; gap: 2.75rem; align-items: center; padding-block: clamp(3.5rem, 8vw, 6.5rem); }
.hero--product .hero__grid .hero__inner { padding-block: 0; }
.hero__figure { animation: fade-up 1.1s var(--ease) .3s both; }
@media (min-width: 960px) { .hero--product .hero__grid { grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: 4rem; } }
.hero--center .hero__inner { text-align: center; }
.hero--center .hero__inner > * { margin-inline: auto; }
.hero--center .eyebrow { justify-content: center; }
.hero--center .eyebrow::after { content: ""; flex: none; width: 40px; height: 1px; background: var(--gold); }

/* The Marquee "bulb row": one static row of lights that warms up once. */
.bulbs {
  height: 24px; border-top: 1px solid rgba(201, 169, 97, .28);
  background:
    radial-gradient(circle at center, var(--gold) 0 2px, rgba(201, 169, 97, .3) 2.2px 4.6px, transparent 5px) center / 30px 24px repeat-x,
    var(--ink-deep);
  animation: bulbs 2s var(--ease) .9s both;
}

/* ------------------------------------------------------------- page hero */
.page-hero { position: relative; background: var(--ink-deep); color: var(--cream); padding-block: clamp(4rem, 9vw, 7rem) clamp(3.5rem, 8vw, 6rem); overflow: hidden; }
.page-hero::after { content: ""; position: absolute; inset: auto 0 0; height: 1px; background: rgba(201, 169, 97, .32); }
.page-hero--compact { padding-block: clamp(3.25rem, 7vw, 5.5rem) clamp(2.75rem, 6vw, 4.5rem); }
.page-hero--tall { min-height: 62vh; display: flex; align-items: center; }
.page-hero__title { font-size: clamp(2.3rem, 5.4vw, 4rem); line-height: 1.05; margin: 1.4rem 0 0; max-width: 20ch; animation: fade-up 1s var(--ease) .1s both; }
.page-hero--compact .page-hero__title { max-width: 24ch; }
.page-hero__sub { font-size: clamp(1.1rem, 1.6vw, 1.28rem); line-height: 1.6; color: var(--on-dark); max-width: 60ch; margin: 1.5rem 0 0; animation: fade-up 1s var(--ease) .25s both; }
.page-hero__helper { font-size: .95rem; color: var(--on-dark-soft); margin: 1rem 0 0; max-width: 60ch; animation: fade-up 1s var(--ease) .35s both; }
.page-hero .eyebrow { animation: fade-up .9s var(--ease) both; }
.page-hero .cta-row { animation: fade-up 1s var(--ease) .4s both; }
.page-hero__grid { display: grid; gap: 2.75rem; align-items: center; }
.page-hero__figure { animation: fade-up 1.1s var(--ease) .3s both; }
@media (min-width: 960px) { .page-hero__grid { grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: 4rem; } }

.product-header { background: var(--ink-deep); color: var(--cream); border-bottom: 1px solid rgba(201, 169, 97, .32); }
.product-header__inner { display: flex; align-items: center; min-height: 64px; }

/* -------------------------------------------------- method steps (home) */
.steps { list-style: none; margin: clamp(3rem, 7vw, 5rem) 0 0; padding: 0; display: grid; gap: 2.25rem; }
.step { position: relative; padding-top: 1.7rem; border-top: 1px solid var(--line-dark); }
.step::before {
  content: ""; position: absolute; left: 0; top: -1px; width: 100%; height: 1px; background: var(--gold);
  transform: scaleX(0); transform-origin: left; transition: transform 1.2s var(--ease) calc(var(--i, 0) * 160ms + .2s);
}
.step.in::before, html:not(.js) .step::before { transform: scaleX(1); }
.step__n { margin: 0 0 .9rem; font-family: var(--serif); font-size: 1.1rem; letter-spacing: .08em; color: var(--gold); }
.step__t { font-size: 1.6rem; margin-bottom: .7rem; }
.step p:last-child { color: var(--on-dark); }
@media (min-width: 860px) {
  .steps { grid-template-columns: repeat(3, 1fr); gap: 0; }
  .step { padding: 1.9rem 2.2rem 0 0; }
  .step + .step { padding-left: 2.2rem; }
}

/* ------------------------------------------------------------ credentials */
.credential__text { margin: 0; font-family: var(--serif); font-size: clamp(1.45rem, 2.7vw, 2.15rem); line-height: 1.32; }
.credential--light .credential__text { color: var(--cream); font-size: clamp(1.3rem, 2.2vw, 1.75rem); }
.credits { margin-top: 2.2rem; padding-top: 1.5rem; border-top: 1px solid var(--line); color: var(--muted); }
.credits__label { display: block; margin-bottom: .7rem; font: 600 .76rem/1.3 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--gold-ink); }
.credits cite { font-family: var(--serif); font-style: italic; font-size: 1.2rem; color: var(--ink); }

.strip { list-style: none; margin: 0; padding: 0; display: grid; gap: .55rem; text-align: center; }
.strip li { font-family: var(--serif); font-size: clamp(1.15rem, 1.9vw, 1.45rem); line-height: 1.3; }
.strip--light li { color: var(--cream); }
@media (min-width: 720px) {
  /* Six facts in a three-by-two grid, split by thin gold keylines. */
  .strip { grid-template-columns: repeat(3, 1fr); gap: 1.6rem 0; }
  .strip li { padding: .15rem 1.2rem; border-left: 1px solid rgba(201, 169, 97, .55); }
  .strip li:nth-child(3n + 1) { border-left: 0; }
}

/* ------------------------------------------------------------ product map */
.doors { margin-top: clamp(2.5rem, 5vw, 4rem); }
.door:first-child { border-top: 1px solid var(--line); }
.door {
  position: relative; display: grid; grid-template-columns: auto 1fr; gap: .45rem 1rem;
  grid-template-areas: "n name" "q q" "a a" "cta cta";
  padding: 1.9rem 0; border-bottom: 1px solid var(--line); transition: background-color .35s ease;
}
.door::before {
  content: ""; position: absolute; left: 0; top: -1px; bottom: -1px; width: 2px; background: var(--gold);
  transform: scaleY(0); transform-origin: top; transition: transform .5s var(--ease);
}
.door__n { grid-area: n; margin: 0; padding-top: .42rem; font-family: var(--serif); font-size: 1rem; letter-spacing: .06em; color: var(--gold-ink); }
.door__name { grid-area: name; font-size: 1.65rem; }
.door__q { grid-area: q; margin: .5rem 0 0; font-family: var(--serif); font-style: italic; font-size: 1.22rem; line-height: 1.35; }
.door__a { grid-area: a; margin: 0; color: var(--muted); }
.door__cta {
  grid-area: cta; justify-self: start; display: inline-flex; align-items: center; gap: .55rem; min-height: 44px; margin-top: .3rem;
  font-weight: 600; text-decoration: none; white-space: nowrap;
  background: linear-gradient(var(--gold), var(--gold)) 0 calc(100% - 9px) / 100% 1px no-repeat;
}
.door__cta::after { content: ""; position: absolute; inset: 0; }
.door:hover, .door:focus-within { background: var(--cream); }
.door:hover::before, .door:focus-within::before { transform: scaleY(1); }
.door:hover .arrow { transform: translateX(6px); }
@media (min-width: 720px) {
  .door { grid-template-columns: 3rem minmax(0, 1fr) minmax(0, 1.25fr); grid-template-areas: "n name cta" "n q a"; gap: .8rem 2rem; padding: 2.1rem 1.5rem; margin-inline: -1.5rem; }
  .door__cta { justify-self: end; align-self: start; margin-top: 0; }
  .door__q { margin: 0; }
}
@media (min-width: 1120px) {
  .door {
    grid-template-columns: 3rem minmax(0, 1.05fr) minmax(0, 1.5fr) minmax(0, 1.45fr) 14.5rem;
    grid-template-areas: "n name q a cta"; align-items: center; gap: 0 2rem;
  }
  .door__n { padding-top: 0; }
  .door__cta { align-self: center; justify-self: end; }
}

/* ----------------------------------------------------------------- close */
.close h2 { font-size: clamp(2.1rem, 4.6vw, 3.45rem); }
.close .lead { margin-top: 1.4rem; }
.close__text { margin: 0; font-family: var(--serif); font-size: clamp(1.5rem, 3vw, 2.3rem); line-height: 1.28; }
.close__text.close__text--ink { color: var(--ink); margin-bottom: 2.2rem; }
.tagline {
  display: flex; align-items: center; justify-content: center; gap: 1.1rem; margin: 2.8rem 0 0;
  font-family: var(--serif); font-style: italic; font-size: clamp(1.15rem, 2vw, 1.45rem); color: var(--gold);
}
.tagline::before, .tagline::after { content: ""; flex: 0 1 56px; height: 1px; background: rgba(201, 169, 97, .55); }

/* ------------------------------------------------- product-page elements */
.moments { margin: 2.5rem 0 0; }
.moment { display: grid; gap: .35rem 2rem; padding: 1.5rem 0; border-top: 1px solid var(--line-dark); }
.moment:last-child { border-bottom: 1px solid var(--line-dark); }
.moment dt { font: 600 .78rem/1.5 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--gold); padding-top: .25rem; }
.moment dd { margin: 0; font-size: 1.14rem; color: var(--cream); }
@media (min-width: 720px) { .moment { grid-template-columns: 11rem 1fr; } }

.cards { list-style: none; margin: clamp(2.5rem, 5vw, 3.5rem) 0 0; padding: 0; display: grid; gap: 1.25rem; }
.card {
  position: relative; padding: 1.9rem 1.6rem 2.1rem; background: var(--cream-raised); border: 1px solid var(--line);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.section--raised .card { background: var(--cream); }
.card::before { content: ""; position: absolute; left: -1px; right: -1px; top: -1px; height: 2px; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .55s var(--ease); }
.card:hover { transform: translateY(-4px); box-shadow: 0 24px 42px -30px rgba(23, 33, 34, .5); }
.card:hover::before { transform: scaleX(1); }
.card h3 { font-size: 1.42rem; margin-bottom: .7rem; }
.card p { font-size: 1rem; color: var(--muted); }
@media (min-width: 700px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .cards { grid-template-columns: repeat(4, 1fr); } .cards--3 { grid-template-columns: repeat(3, 1fr); } }

.ticks { list-style: none; margin: 2rem 0 0; padding: 0; display: grid; gap: 1.05rem; }
.ticks li { position: relative; padding-left: 2.3rem; font-size: 1.12rem; }
.ticks li::before { content: ""; position: absolute; left: 2px; top: .46em; width: 1rem; height: .5rem; border-left: 2px solid var(--sage); border-bottom: 2px solid var(--sage); transform: rotate(-45deg); }
.ticks--plain li { font-family: var(--serif); font-size: 1.45rem; }
.ticks--plain li::before { top: .5em; }

.months { list-style: none; margin: 2.5rem 0 0; padding: 0; }
.months li { display: grid; grid-template-columns: 6.5rem 1fr; gap: 1.25rem; align-items: baseline; padding: 1.15rem 0; border-top: 1px solid var(--line-dark); }
.months li:last-child { border-bottom: 1px solid var(--line-dark); }
.months__n { font: 600 .76rem/1.5 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--gold); }
.months__t { font-family: var(--serif); font-size: clamp(1.25rem, 2.2vw, 1.5rem); line-height: 1.25; }

.acts { list-style: none; margin: 3rem 0 0; padding: 0; display: grid; border-top: 1px solid var(--line-dark); }
.act { padding: 1.9rem 0 2rem; border-bottom: 1px solid var(--line-dark); }
.act__n { margin: 0; font: 600 .76rem/1.4 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--gold); }
.act h3 { font-size: 1.65rem; margin: .7rem 0 .6rem; }
.act p:last-child { color: var(--on-dark); }
@media (min-width: 760px) { .acts { grid-template-columns: repeat(2, 1fr); column-gap: 3rem; } }
@media (min-width: 1040px) { .acts { grid-template-columns: repeat(3, 1fr); } }

.invest__text { margin: 1.4rem 0 0; font-size: 1.2rem; line-height: 1.6; }
.invest__text strong { font-weight: 600; }

/* ------------------------------------------------------------------- faq */
.faq-group { font-size: 1.55rem; margin: 3.25rem 0 .6rem; }
.faq-group:first-child { margin-top: 0; }
.faq { border-top: 1px solid var(--line); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__item summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; min-height: 44px; padding: 1.3rem 0; cursor: pointer; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__q { font: 600 1.12rem/1.4 var(--sans); letter-spacing: 0; }
.faq__icon { position: relative; flex: none; width: 18px; height: 18px; }
.faq__icon::before, .faq__icon::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 2px; margin-top: -1px; background: var(--gold-ink); transition: transform .35s var(--ease); }
.faq__icon::after { transform: rotate(90deg); }
.faq__item[open] .faq__icon::after { transform: rotate(0deg); }
.faq__a { padding: 0 0 1.5rem; max-width: 64ch; color: var(--muted); }
.faq__item[open] .faq__a { animation: fade-up .45s var(--ease) both; }

/* ----------------------------------------------------------------- forms */
.section--form { background: var(--cream-raised); }
.router, .form { background: var(--cream); border: 1px solid var(--line); padding: clamp(1.4rem, 4vw, 2.6rem); box-shadow: 0 34px 64px -48px rgba(23, 33, 34, .55); }
.router__bar { display: flex; align-items: center; gap: 1rem; margin-bottom: 1.6rem; }
.router__progress { margin: 0; flex: none; font: 600 .78rem/1 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--gold-ink); }
.router__reset { flex: none; margin-left: auto; min-height: 44px; padding: 0 .25rem; background: none; border: 0; cursor: pointer; font: 500 .92rem/1 var(--sans); color: var(--muted); text-decoration: underline; text-underline-offset: 3px; }
.router__reset:hover { color: var(--ink); }
.router__q { display: block; margin: 0 0 1.4rem; font-family: var(--serif); font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 400; line-height: 1.2; }
.router__step { animation: step-in .5s var(--ease) both; }
.router__nav { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; margin-top: 1.8rem; }

.field { margin: 0 0 1.5rem; }
.field-grid { display: grid; gap: 0 1.25rem; }
@media (min-width: 620px) { .field-grid { grid-template-columns: 1fr 1fr; } }
.field__label { display: block; margin: 0 0 .5rem; font-weight: 600; font-size: 1rem; line-height: 1.4; }
.field__opt { margin-left: .35rem; font-weight: 400; font-size: .88rem; color: var(--muted); }
.field__help { margin: -.15rem 0 .6rem; font-size: .94rem; color: var(--muted); }
input[type="text"], input[type="email"], input[type="tel"], input[type="url"], select, textarea {
  width: 100%; min-height: 50px; padding: .8rem 1rem; font: inherit; color: var(--ink);
  background: var(--cream-raised); border: 1px solid var(--muted); border-radius: var(--radius);
  transition: border-color .2s ease, background-color .2s ease;
}
textarea { min-height: 7.5rem; resize: vertical; line-height: 1.5; }
input:focus, select:focus, textarea:focus { border-color: var(--sage); background: var(--cream); }
.field--error input, .field--error textarea, .field--error select { border: 2px solid var(--ink); }
.field__error { display: flex; align-items: flex-start; gap: .5rem; margin: .5rem 0 0; font-size: .93rem; font-weight: 600; }
.field__error::before { content: "!"; flex: none; display: grid; place-items: center; width: 1.25rem; height: 1.25rem; margin-top: .1rem; border-radius: 50%; background: var(--ink); color: var(--cream); font-size: .78rem; }
.field--hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.choices { display: grid; gap: .6rem; }
@media (min-width: 620px) { .choices--row { grid-template-columns: 1fr 1fr; } }
.choice {
  position: relative; display: flex; align-items: flex-start; gap: .85rem; min-height: 52px; padding: .9rem 1.1rem;
  background: var(--cream-raised); border: 1px solid rgba(84, 97, 94, .78); cursor: pointer;
  transition: border-color .2s ease, background-color .2s ease, box-shadow .2s ease;
}
.choice:hover { border-color: var(--ink); }
.choice input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.choice__box { flex: none; display: grid; place-items: center; width: 1.2rem; height: 1.2rem; margin-top: .22rem; border: 1.5px solid var(--muted); border-radius: 50%; transition: border-color .2s ease; }
.choice__box::after { content: ""; width: .58rem; height: .58rem; border-radius: 50%; background: var(--sage); transform: scale(0); transition: transform .25s var(--ease); }
.choice input:checked ~ .choice__box { border-color: var(--sage); }
.choice input:checked ~ .choice__box::after { transform: scale(1); }
.choice:has(input:checked) { border-color: var(--sage); background: var(--cream); box-shadow: inset 0 0 0 1px var(--sage); }
.choice:has(input:focus-visible) { outline: 2px solid var(--cream); outline-offset: 2px; box-shadow: 0 0 0 5px var(--sage); }
.choice__label { line-height: 1.45; }

.check { position: relative; display: flex; align-items: flex-start; gap: .8rem; min-height: 44px; margin: 0 0 .6rem; padding-block: .65rem; font-size: .98rem; line-height: 1.5; cursor: pointer; }
.check input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.check__box { flex: none; display: grid; place-items: center; width: 1.3rem; height: 1.3rem; margin-top: .15rem; background: var(--cream-raised); border: 1.5px solid var(--muted); border-radius: var(--radius); }
.check__box::after { content: ""; width: .7rem; height: .38rem; margin-top: -.12rem; border-left: 2px solid var(--sage); border-bottom: 2px solid var(--sage); transform: rotate(-45deg) scale(0); transition: transform .2s var(--ease); }
.check input:checked ~ .check__box { border-color: var(--sage); }
.check input:checked ~ .check__box::after { transform: rotate(-45deg) scale(1); }
.check input:focus-visible ~ .check__box { outline: 2px solid var(--cream); outline-offset: 2px; box-shadow: 0 0 0 5px var(--sage); }

.form-help { margin: 1.25rem 0 0; font-size: .93rem; color: var(--muted); }
.form-legal { margin: .8rem 0 1.5rem; font-size: .9rem; line-height: 1.55; color: var(--muted); }
.form-note, .form-safety { margin: 0 0 1.6rem; padding: .85rem 1.05rem; font-size: .93rem; line-height: 1.5; background: var(--cream-raised); border-left: 2px solid var(--gold); }
.form-safety { border-left-color: var(--sage); }
.router__errors, .form__errors { margin: 0 0 1.5rem; padding: 1rem 1.2rem; border: 2px solid var(--ink); font-weight: 600; }
.router__errors ul, .form__errors ul { margin: .5rem 0 0; padding-left: 1.2rem; font-weight: 400; }

.outcome { padding: clamp(2rem, 6vw, 3.5rem); background: var(--ink-deep); color: var(--cream); animation: step-in .6s var(--ease) both; }
.outcome h2 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); }
.outcome .lead { margin: 1.2rem 0 2rem; color: var(--on-dark); }
.outcome-fallback { margin-top: 1.5rem; font-weight: 600; }

/* ---------------------------------------------------- screening checkout */
/* The Reserve step: order summary beside the secure payment panel. The card
   form inside the panel is GHL's own; everything around it is ours. */
.checkout { display: grid; gap: clamp(2.25rem, 4vw, 3.5rem); align-items: start; }
@media (min-width: 940px) {
  .checkout { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); }
  .checkout__summary { position: sticky; top: 2rem; }
}
.checkout__summary {
  background: var(--ink-deep); color: var(--cream); padding: clamp(1.6rem, 4vw, 2.5rem);
  /* An offset gold keyline, the same gesture as the photo frames. */
  box-shadow: 12px 12px 0 -1px var(--cream-raised), 12px 12px 0 0 var(--gold);
}
.checkout__label { margin: 0; font: 600 .76rem/1.3 var(--sans); letter-spacing: .22em; text-transform: uppercase; color: var(--gold); }
.order { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: .35rem 1rem; margin: 1.2rem 0 1.4rem; padding: 1.2rem 0; border-block: 1px solid var(--line-dark); }
.order__name { margin: 0; font-family: var(--serif); font-size: clamp(1.6rem, 2.6vw, 1.9rem); line-height: 1.1; }
.order__price { margin: 0; font-size: 1.45rem; font-weight: 700; white-space: nowrap; }
.order__price span { margin-left: .2rem; font-size: .88rem; font-weight: 400; color: var(--on-dark-soft); }
.checkout__terms { margin: 0; font-size: .97rem; line-height: 1.6; color: var(--on-dark); }
.checkout__next { list-style: none; margin: 1.6rem 0 0; padding: 1.5rem 0 0; display: grid; gap: .9rem; border-top: 1px solid var(--line-dark); }
.checkout__next li { display: flex; align-items: flex-start; gap: .85rem; font-size: .97rem; line-height: 1.5; color: var(--on-dark); }
.checkout__next strong { font-weight: 600; color: var(--cream); }
.checkout__n { flex: none; display: grid; place-items: center; width: 1.6rem; height: 1.6rem; margin-top: -.05rem; border: 1px solid var(--gold); border-radius: 50%; font: 600 .78rem/1 var(--sans); color: var(--gold); }

.checkout__pay { background: var(--cream); border: 1px solid var(--line); padding: clamp(1.4rem, 4vw, 2.6rem); box-shadow: 0 34px 64px -48px rgba(23, 33, 34, .55); }
.checkout__h { display: flex; align-items: center; gap: .7rem; margin: 0 0 1.5rem; font-size: clamp(1.6rem, 2.6vw, 2rem); }
.checkout__lock { flex: none; width: 1.35rem; height: 1.35rem; color: var(--gold-ink); }
.checkout__btn { width: 100%; }
.checkout__hint { margin: .95rem 0 0; font-size: .93rem; color: var(--muted); }
.checkout__embed { min-height: 22rem; }
.checkout__embed iframe { display: block; width: 100%; min-height: 34rem; border: 0; }
.checkout__pay .form-note { margin-bottom: 1.2rem; }
.checkout__pay .form-legal { margin: 1.6rem 0 0; padding-top: 1.25rem; border-top: 1px solid var(--line); }
.checkout__pay .form-help { margin-top: .9rem; }
.page-hero .form-help { margin-top: 1.75rem; color: var(--on-dark-soft); animation: fade-up 1s var(--ease) .5s both; }

/* -------------------------------------------------------------- policies */
.policy h2 { font-size: 1.7rem; margin: 2.75rem 0 .85rem; }
.policy ul { padding-left: 1.2rem; }
.policy li { margin-bottom: .65rem; }
.policy__meta { color: var(--muted); }
.draft-banner { margin-bottom: 2.2rem; padding: 1.05rem 1.25rem; font-size: .98rem; background: var(--cream-raised); border: 1px solid var(--gold); }
.ph { padding: .08em .35em; font-weight: 600; background: rgba(201, 169, 97, .28); border-bottom: 1px dashed var(--gold-ink); overflow-wrap: anywhere; }
.site-footer .ph, .product-footer .ph { color: var(--cream); background: rgba(201, 169, 97, .2); border-bottom-color: var(--gold); }

/* ------------------------------------------------------------------ proof */
/* Work order, Decision 6: at most three on a page, never a wall of praise. */
.proof { display: grid; gap: 1.25rem; margin-top: clamp(2.5rem, 5vw, 3.5rem); }
@media (min-width: 900px) { .proof:not(.proof--single) { grid-template-columns: repeat(3, 1fr); } }
.proof__card {
  position: relative; display: flex; flex-direction: column; margin: 0; padding: 2.1rem 1.75rem 1.75rem;
  background: var(--cream); border: 1px solid var(--line);
}
.proof__card::before { content: ""; position: absolute; left: -1px; right: -1px; top: -1px; height: 2px; background: var(--gold); }
.proof__card blockquote { margin: 0; font-family: var(--serif); font-size: clamp(1.25rem, 1.9vw, 1.42rem); line-height: 1.36; }
.proof__card figcaption {
  margin-top: auto; padding-top: 1.5rem;
  font: 600 .78rem/1.4 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--gold-ink);
}
/* One line on a product page: a quiet pull quote, not a card. */
.proof--single { max-width: 40rem; margin-top: clamp(3rem, 6vw, 4.5rem); }
.proof--single .proof__card { padding: .2rem 0 .2rem 1.6rem; background: none; border: 0; border-left: 2px solid var(--gold); }
.proof--single .proof__card::before { content: none; }
.proof--single .proof__card blockquote { font-size: clamp(1.4rem, 2.4vw, 1.75rem); line-height: 1.3; }
.proof--single .proof__card figcaption { padding-top: 1.1rem; }
/* A candidate that Brad has not approved: internal build only. */
.proof__card--candidate { border: 1px dashed var(--gold-ink); }
.proof__flag { margin: 0 0 1rem; font: 700 .66rem/1.4 var(--sans); letter-spacing: .14em; color: var(--gold-ink); }
.proof__note { display: block; margin-top: .4rem; font: 400 .85rem/1.4 var(--sans); letter-spacing: 0; text-transform: none; color: var(--muted); }

/* ---------------------------------------------------------------- footer */
.site-footer { background: var(--ink-deep); color: var(--on-dark); padding-block: clamp(3.5rem, 7vw, 5.5rem) 2rem; border-top: 1px solid rgba(201, 169, 97, .32); }
.site-footer__top { display: grid; gap: 2.5rem; }
@media (min-width: 620px) { .site-footer__top { grid-template-columns: repeat(3, 1fr); } .site-footer__brand { grid-column: 1 / -1; } }
@media (min-width: 960px) { .site-footer__top { grid-template-columns: 1.7fr repeat(3, 1fr); } .site-footer__brand { grid-column: auto; } }
.site-footer__close { margin: 1.4rem 0 0; max-width: 20ch; font-family: var(--serif); font-style: italic; font-size: 1.3rem; line-height: 1.3; color: var(--cream); }
.site-footer__h { margin: 0 0 .7rem; font: 600 .76rem/1.3 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--gold); }
.site-footer ul, .product-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer a, .product-footer a { display: inline-flex; align-items: center; min-height: 44px; color: inherit; text-decoration: none; transition: color .2s ease; }
.site-footer a:hover, .product-footer a:hover { color: var(--cream); text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: 5px; }
.site-footer__bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .5rem 2rem; margin-top: 3rem; padding-top: 1.25rem; border-top: 1px solid var(--line-dark); font-size: .9rem; }
.site-footer__legal { display: flex; flex-wrap: wrap; gap: 0 1.6rem; }
.site-footer__copy { margin: 0; }
.product-footer { background: var(--ink-deep); color: var(--on-dark); padding-block: 1.5rem; font-size: .9rem; border-top: 1px solid rgba(201, 169, 97, .32); }
.product-footer__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .5rem 2rem; }

/* ---------------------------------------------------------------- motion */
/* Scroll reveal. Applied only when JavaScript is running (html.js). */
.js .reveal {
  opacity: 0; transform: translateY(22px);
  transition: opacity .9s var(--ease) calc(var(--i, 0) * 110ms), transform .9s var(--ease) calc(var(--i, 0) * 110ms);
}
.js .reveal.in { opacity: 1; transform: none; }
.js .reveal .rule { transform: scaleX(0); transition: transform 1s var(--ease) .25s; }
.js .reveal.in .rule { transform: scaleX(1); }
.js .frame.reveal::before { transform: translate(0, 0); opacity: 0; transition: transform 1s var(--ease) .35s, opacity .8s ease .35s; }
.js .frame.reveal.in::before { transform: translate(14px, 14px); opacity: 1; }
.js .frame.reveal img { transform: scale(1.07); transition: transform 1.6s var(--ease); }
.js .frame.reveal.in img { transform: none; }

@keyframes rise { from { transform: translateY(108%); } to { transform: none; } }
@keyframes fade-up { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@keyframes settle { from { transform: scale(1.07); } to { transform: none; } }
@keyframes underline { from { background-size: 0 2px; } to { background-size: 100% 2px; } }
@keyframes bulbs { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }
@keyframes step-in { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes menu-in { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-delay: 0s !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  .js .reveal, .js .reveal .rule, .js .frame.reveal img { opacity: 1; transform: none; }
  .js .frame.reveal::before { opacity: 1; transform: translate(14px, 14px); }
  .step::before { transform: scaleX(1); }
}

@media print {
  .site-header, .site-footer, .preview-bar, .bulbs, .nav { display: none !important; }
  .js .reveal { opacity: 1 !important; transform: none !important; }
}
