/* ==========================================================================
   Feasix — homepage (home.css)

   Warm, light, editorial: cream paper, copper accents, Newsreader serif for
   words that carry judgement, IBM Plex Mono for data micro-labels. Two
   deliberate dark moments punctuate the page — the scroll-story interlude
   and the floating Feasibility Desk window (the app in its dark default) —
   like photographs laid on paper. Loaded by index.html only; body.home.

   Motion grammar (mirrors the app):
     • things RISE IN as they enter (IO-driven .hm-reveal → .in)
     • figures COUNT to their values (home.js [data-count])
     • ambient layers DRIFT slowly and never demand attention
   Everything collapses to a static, fully-visible page under
   prefers-reduced-motion (body.hm-static).
   ========================================================================== */

body.home {
  --hm-paper: #fbf7f0;
  --hm-card: #fffaf2;
  --hm-ink: #171512;
  --hm-ink-2: #302b25;
  --hm-muted: #756d63;
  --hm-line: rgba(36, 31, 25, 0.12);
  --hm-line-strong: rgba(36, 31, 25, 0.22);
  --hm-copper: #b46a3c;
  --hm-copper-2: #d8945f;
  --hm-teal: #1f6f6b;
  --hm-go: #2f7f5f;
  --hm-warn: #b5792b;
  --hm-no: #a94f44;
  /* the two dark "photograph" moments share the app's dark tokens */
  --hm-dark: #16130f;
  --hm-dark-card: #1c1a17;
  --hm-dark-ink: #f2ede4;
  --hm-dark-muted: #9c9287;
  --hm-dark-line: rgba(242, 237, 228, 0.13);
  --hm-dark-copper: #d9975f;
  --hm-dark-copper-2: #eeb488;
  --hm-dark-go: #62c08f;
  --hm-serif: "Newsreader", Georgia, serif;
  --hm-mono: "IBM Plex Mono", ui-monospace, monospace;
  --hm-ease: cubic-bezier(0.16, 1, 0.3, 1);
}

::selection { background: var(--hm-copper); color: #fffaf2; }

/* Ambient drift — two warm washes breathing across the paper. */
.hm-aurora { position: fixed; inset: -20%; z-index: -1; pointer-events: none; }
.hm-aurora::before,
.hm-aurora::after {
  content: "";
  position: absolute;
  width: 48vw; height: 48vw;
  min-width: 460px; min-height: 460px;
  border-radius: 50%;
  filter: blur(90px);
  will-change: transform;
}
.hm-aurora::before {
  left: 2%; top: -4%;
  background: radial-gradient(circle, rgba(180, 106, 60, 0.12), transparent 65%);
  animation: hm-drift-a 44s ease-in-out infinite alternate;
}
.hm-aurora::after {
  right: -4%; bottom: -8%;
  background: radial-gradient(circle, rgba(31, 111, 107, 0.09), transparent 65%);
  animation: hm-drift-b 56s ease-in-out infinite alternate;
}
@keyframes hm-drift-a { to { transform: translate3d(9vw, 6vh, 0) scale(1.14); } }
@keyframes hm-drift-b { to { transform: translate3d(-8vw, -5vh, 0) scale(0.94); } }

/* --------------------------------------------------------------------------
   Reveal grammar
   -------------------------------------------------------------------------- */
.hm-reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s var(--hm-ease), transform 0.8s var(--hm-ease);
  transition-delay: var(--d, 0ms);
}
.hm-reveal.in { opacity: 1; transform: none; }
body.hm-static .hm-reveal { opacity: 1; transform: none; transition: none; }

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */
/* The original Cape Town photograph, returned as a hand-tinted print: warm
   sepia wash, emerging on the right, dissolving into the paper on the left
   (where the headline needs quiet) and at the bottom (where the line-drawn
   skyline takes over — the city photographed, then redrawn as a model). */
.hm-photo {
  position: absolute;
  /* extra headroom: the parallax translate consumes it, so no seam opens */
  inset: -22% 0 0 0;
  z-index: 0;
  background-image: url("assets/capetown-hero.jpg");
  will-change: transform;
  background-size: cover;
  background-position: center 38%;
  filter: sepia(0.22) saturate(0.92) brightness(1.06) contrast(0.98);
  opacity: 0;
  transition: opacity 1.6s var(--hm-ease) 0.2s;
}
body.hm-ready .hm-photo,
body.hm-static .hm-photo { opacity: 1; }
.hm-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, var(--hm-paper) 0%, rgba(251, 247, 240, 0.94) 34%, rgba(251, 247, 240, 0.55) 58%, rgba(251, 247, 240, 0.18) 100%),
    linear-gradient(180deg, rgba(251, 247, 240, 0.85) 0%, rgba(251, 247, 240, 0.25) 34%, rgba(251, 247, 240, 0.3) 62%, var(--hm-paper) 96%);
}

.hm-hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
  padding: 120px 32px 0;
}
.hm-hero-inner {
  position: relative;
  z-index: 2;
  width: min(1180px, 100%);
  margin: 0 auto;
}
.hm-kicker {
  font-family: var(--hm-mono);
  font-size: 11.5px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--hm-copper);
}
.hm-title {
  margin: 22px 0 0;
  font-family: var(--hm-serif);
  font-optical-sizing: auto;
  font-weight: 500;
  font-size: clamp(46px, 8.4vw, 108px);
  line-height: 1.02;
  letter-spacing: -0.015em;
  color: var(--hm-ink);
  max-width: 12ch;
}
/* Each word rises from behind a mask, staggered. */
.hm-title .w {
  display: inline-block;
  overflow: hidden;
  vertical-align: bottom;
  /* the mask clips at the layout box, but italic serif glyphs overshoot it —
     give the overhang room on both sides, cancelled by negative margins so
     word spacing is unchanged */
  padding: 0 0.12em 0.08em 0.04em;
  margin: 0 -0.12em -0.08em -0.04em;
}
.hm-title .w > span {
  display: inline-block;
  transform: translateY(112%);
  transition: transform 0.9s var(--hm-ease);
  transition-delay: var(--d, 0ms);
}
body.hm-ready .hm-title .w > span,
body.hm-static .hm-title .w > span { transform: none; }
.hm-title em {
  font-style: italic;
  color: var(--hm-copper);
}
/* the italic word gets a hand-drawn underline that sweeps in after the
   words have landed */
.hm-title .w.u { padding-bottom: 0.18em; margin-bottom: -0.18em; }
.hm-title .w.u > span { position: relative; }
.hm-underline {
  position: absolute;
  left: 0.02em;
  right: 0.06em;
  bottom: -0.02em;
  height: 0.14em;
  overflow: visible;
}
.hm-underline path {
  fill: none;
  stroke: var(--hm-copper-2);
  stroke-width: 5;
  stroke-linecap: round;
  stroke-dasharray: 100;
  stroke-dashoffset: 100;
  transition: stroke-dashoffset 0.9s var(--hm-ease) 1.15s;
}
body.hm-ready .hm-underline path,
body.hm-static .hm-underline path { stroke-dashoffset: 0; }
.hm-lede {
  margin: 26px 0 0;
  max-width: 56ch;
  font-size: clamp(15.5px, 1.5vw, 18px);
  line-height: 1.65;
  color: var(--hm-muted);
}
.hm-lede strong { color: var(--hm-ink-2); font-weight: 600; }
.hm-hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 34px;
}

/* Live verdict ticker — the product speaking for itself. */
.hm-ticker {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 40px;
  padding: 11px 18px 11px 13px;
  border: 1px solid var(--hm-line);
  border-radius: 999px;
  background: var(--hm-card);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.6) inset, 0 18px 46px rgba(38, 31, 23, 0.12);
  min-height: 46px;
}
.hm-ticker i {
  flex: none;
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--hm-go);
  box-shadow: 0 0 10px rgba(47, 127, 95, 0.55);
  transition: background 0.4s var(--hm-ease), box-shadow 0.4s var(--hm-ease);
}
.hm-ticker[data-tone="caution"] i { background: var(--hm-warn); box-shadow: 0 0 10px rgba(181, 121, 43, 0.55); }
.hm-ticker[data-tone="no"] i { background: var(--hm-no); box-shadow: 0 0 10px rgba(169, 79, 68, 0.55); }
.hm-ticker-text {
  display: inline-flex;
  align-items: baseline;
  gap: 10px;
  white-space: nowrap;
  transition: opacity 0.3s var(--hm-ease), transform 0.3s var(--hm-ease);
}
.hm-ticker-text.out { opacity: 0; transform: translateY(7px); }
.hm-ticker-text b {
  font-family: var(--hm-mono);
  font-weight: 500;
  font-size: 11.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--hm-muted);
}
.hm-ticker-text em {
  font-family: var(--hm-serif);
  font-style: italic;
  font-size: 17px;
  color: var(--hm-ink);
}

/* Skyline — an architect's line drawing on the paper, behind the copy. */
.hm-skyline {
  position: relative;
  z-index: 1;
  margin-top: -6vh;
  pointer-events: none;
}
/* over the photo fade, hairlines need a hint more ink */
.hm-photo ~ .hm-skyline { opacity: 0.92; }
.hm-skyline svg { display: block; width: 100%; height: auto; }
/* Each building draws its own outline first (a dashoffset sweep along the
   rect perimeter), then its fill, parapet and windows develop like a print. */
.hm-bldg-line {
  fill: none;
  stroke-dasharray: var(--p);
  stroke-dashoffset: var(--p);
  transition: stroke-dashoffset 1.5s var(--hm-ease);
  transition-delay: var(--d, 0ms);
}
body.hm-ready .hm-bldg-line,
body.hm-static .hm-bldg-line { stroke-dashoffset: 0; }
.hm-bldg-inner {
  opacity: 0;
  transition: opacity 0.9s var(--hm-ease);
  transition-delay: calc(var(--d, 0ms) + 620ms);
}
body.hm-ready .hm-bldg-inner,
body.hm-static .hm-bldg-inner { opacity: 1; }
.hm-skyline { will-change: transform; }
.hm-win { fill: #b46a3c; fill-opacity: 0.06; }
.hm-win.lit { animation: hm-twinkle 7s ease-in-out infinite; animation-delay: var(--d, 0s); }
@keyframes hm-twinkle {
  0%, 100% { fill-opacity: 0.06; }
  12%, 30% { fill-opacity: 0.66; }
  44% { fill-opacity: 0.16; }
  60%, 78% { fill-opacity: 0.5; }
}
body.hm-static .hm-win.lit { animation: none; fill-opacity: 0.45; }
.hm-hero::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 160px;
  z-index: 1;
  background: linear-gradient(transparent, var(--hm-paper));
  pointer-events: none;
}

.hm-scrollcue {
  position: absolute;
  left: 50%;
  bottom: 22px;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
  font-family: var(--hm-mono);
  font-size: 9.5px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: rgba(36, 31, 25, 0.45);
  text-decoration: none;
}
.hm-scrollcue::after {
  content: "";
  width: 1px;
  height: 30px;
  background: linear-gradient(var(--hm-copper), transparent);
  animation: hm-cue 2.2s var(--hm-ease) infinite;
}
@keyframes hm-cue {
  0% { transform: scaleY(0); transform-origin: top; }
  45% { transform: scaleY(1); transform-origin: top; }
  55% { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}
body.hm-static .hm-scrollcue::after { animation: none; }

/* --------------------------------------------------------------------------
   Data marquee — a strip of surveyor's tape across the page
   -------------------------------------------------------------------------- */
.hm-marquee {
  position: relative;
  background: rgba(36, 31, 25, 0.035);
  border-top: 1px solid var(--hm-line);
  border-bottom: 1px solid var(--hm-line);
  overflow: hidden;
  padding: 15px 0;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
}
.hm-marquee-track {
  display: flex;
  width: max-content;
  animation: hm-marquee 46s linear infinite;
}
.hm-marquee:hover .hm-marquee-track { animation-play-state: paused; }
body.hm-static .hm-marquee-track { animation: none; }
@keyframes hm-marquee { to { transform: translateX(-50%); } }
.hm-marquee-seq {
  display: flex;
  align-items: center;
  white-space: nowrap;
  font-family: var(--hm-mono);
  font-size: 11.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(36, 31, 25, 0.5);
}
.hm-marquee-seq > span { padding: 0 26px; }
.hm-marquee-seq b { color: var(--hm-copper); font-weight: 500; }

/* --------------------------------------------------------------------------
   Shared section chrome
   -------------------------------------------------------------------------- */
.hm-section {
  position: relative;
  width: min(1180px, calc(100% - 64px));
  margin: 0 auto;
  padding: 110px 0 30px;
}
.hm-heading { max-width: 760px; }
.hm-heading h2 {
  margin: 14px 0 0;
  font-family: var(--hm-serif);
  font-optical-sizing: auto;
  font-weight: 550;
  font-size: clamp(32px, 4vw, 52px);
  line-height: 1.06;
  letter-spacing: -0.01em;
  color: var(--hm-ink);
}
.hm-heading h2 em { font-style: italic; color: var(--hm-copper); }
.hm-heading p {
  margin: 18px 0 0;
  font-size: 15.5px;
  line-height: 1.65;
  color: var(--hm-muted);
  max-width: 58ch;
}

/* --------------------------------------------------------------------------
   The desk — the app's dark window floating on the paper
   -------------------------------------------------------------------------- */
.hm-desk-frame {
  margin-top: 54px;
  perspective: 1400px;
}
.hm-desk-card {
  border: 1px solid rgba(36, 31, 25, 0.2);
  border-radius: 14px;
  background: var(--hm-dark-card);
  color: var(--hm-dark-ink);
  box-shadow: 0 50px 120px rgba(38, 31, 23, 0.35), 0 1px 0 rgba(255, 255, 255, 0.06) inset;
  overflow: hidden;
  transform: rotateX(9deg) scale(0.96);
  transform-origin: 50% 0%;
  transition: transform 1.1s var(--hm-ease);
}
.hm-desk-frame.in .hm-desk-card,
body.hm-static .hm-desk-card { transform: none; }
.hm-chrome {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 13px 18px;
  border-bottom: 1px solid var(--hm-dark-line);
  background: rgba(242, 237, 228, 0.03);
}
.hm-chrome i { width: 10px; height: 10px; border-radius: 50%; background: rgba(242, 237, 228, 0.14); }
.hm-chrome i:first-child { background: rgba(229, 130, 116, 0.5); }
.hm-chrome span {
  margin-left: 6px;
  font-family: var(--hm-mono);
  font-size: 11px;
  color: rgba(242, 237, 228, 0.4);
  letter-spacing: 0.08em;
}
.hm-chrome b { font-weight: 400; color: rgba(242, 237, 228, 0.7); }
.hm-caret {
  display: inline-block;
  width: 6px;
  height: 11px;
  margin-left: 2px;
  vertical-align: -1px;
  background: var(--hm-dark-copper);
  opacity: 0;
}
.hm-caret.on { animation: hm-blink 0.85s steps(1) infinite; }
.hm-caret.done { opacity: 0; animation: none; }
@keyframes hm-blink { 0%, 55% { opacity: 1; } 56%, 100% { opacity: 0; } }
.hm-desk-body { padding: 30px clamp(18px, 4vw, 44px) 40px; }

.hm-verdict-line {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.hm-glyph {
  flex: none;
  position: relative;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: rgba(98, 192, 143, 0.14);
}
.hm-glyph::after {
  content: "";
  position: absolute;
  inset: 11px;
  border-radius: 50%;
  background: var(--hm-dark-go);
}
.hm-desk-frame.in .hm-glyph::after { animation: hm-breathe 2.8s ease-in-out infinite; }
body.hm-static .hm-glyph::after { animation: none; }
@keyframes hm-breathe {
  0%, 100% { box-shadow: 0 0 0 0 rgba(98, 192, 143, 0.35); }
  50% { box-shadow: 0 0 0 10px rgba(98, 192, 143, 0); }
}
.hm-verdict-line .hm-kicker { display: block; letter-spacing: 0.18em; color: var(--hm-dark-copper); }
.hm-verdict-word {
  font-family: var(--hm-serif);
  font-style: italic;
  font-weight: 600;
  font-size: clamp(26px, 3vw, 38px);
  color: var(--hm-dark-ink);
  line-height: 1.1;
}
.hm-tiles {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 30px;
}
.hm-tile {
  padding: 4px 22px;
  border-left: 1px solid var(--hm-dark-line);
}
.hm-tile:first-child { border-left: 0; padding-left: 2px; }
.hm-tile span {
  display: block;
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--hm-dark-muted);
}
.hm-tile strong {
  display: block;
  margin-top: 5px;
  font-size: clamp(20px, 2.2vw, 30px);
  font-weight: 650;
  letter-spacing: -0.02em;
  color: var(--hm-dark-ink);
  white-space: nowrap;
}
.hm-comp {
  display: flex;
  gap: 2px;
  height: 13px;
  margin-top: 32px;
  border-radius: 3px 7px 7px 3px;
  overflow: hidden;
}
.hm-comp i {
  height: 100%;
  width: 0;
  transition: width 1.1s var(--hm-ease);
  transition-delay: var(--d, 0ms);
}
.hm-desk-frame.in .hm-comp i,
body.hm-static .hm-comp i { width: var(--w); }
.hm-legend {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
  margin-top: 14px;
  font-size: 12px;
  color: var(--hm-dark-muted);
}
.hm-legend span { display: inline-flex; align-items: center; gap: 7px; }
.hm-legend i { width: 9px; height: 9px; border-radius: 3px; }
.hm-desk-note {
  margin: 26px 0 0;
  font-size: 13px;
  line-height: 1.6;
  color: var(--hm-dark-muted);
  max-width: 62ch;
}
.hm-desk-note strong { color: var(--hm-dark-go); font-weight: 600; }

/* --------------------------------------------------------------------------
   Stats band
   -------------------------------------------------------------------------- */
.hm-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  margin-top: 64px;
  background: var(--hm-line);
  border: 1px solid var(--hm-line);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.55) inset, 0 18px 50px rgba(38, 31, 23, 0.1);
}
.hm-stat {
  position: relative;
  overflow: hidden;
  background: var(--hm-card);
  padding: 30px 26px 28px;
}
.hm-stat::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(200px circle at var(--mx, 50%) var(--my, 0%), rgba(180, 106, 60, 0.1), transparent 65%);
  opacity: 0;
  transition: opacity 0.4s var(--hm-ease);
  pointer-events: none;
}
.hm-stat:hover::after { opacity: 1; }
.hm-stat strong {
  display: block;
  font-size: clamp(28px, 3vw, 42px);
  font-weight: 650;
  letter-spacing: -0.025em;
  color: var(--hm-ink);
  white-space: nowrap;
}
.hm-stat strong em { font-family: var(--hm-serif); font-style: italic; font-weight: 550; color: var(--hm-copper); }
.hm-stat span {
  display: block;
  margin-top: 8px;
  font-size: 12.5px;
  line-height: 1.5;
  color: var(--hm-muted);
}

/* --------------------------------------------------------------------------
   Services
   -------------------------------------------------------------------------- */
.hm-services {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 54px;
}
.hm-service {
  position: relative;
  padding: 30px 28px 32px;
  border: 1px solid var(--hm-line);
  border-radius: 12px;
  background: var(--hm-card);
  overflow: hidden;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.55) inset, 0 14px 40px rgba(38, 31, 23, 0.08);
  transition: transform 0.4s var(--hm-ease), border-color 0.4s var(--hm-ease), box-shadow 0.4s var(--hm-ease);
}
.hm-service:hover {
  transform: translateY(-4px);
  border-color: rgba(180, 106, 60, 0.45);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.55) inset, 0 24px 60px rgba(38, 31, 23, 0.14);
}
.hm-service::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(240px circle at var(--mx, 30%) var(--my, 0%), rgba(180, 106, 60, 0.13), transparent 65%);
  opacity: 0;
  transition: opacity 0.4s var(--hm-ease);
  pointer-events: none;
}
.hm-service:hover::after { opacity: 1; }
.hm-service > b {
  font-family: var(--hm-mono);
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--hm-copper);
}
.hm-service h3 {
  margin: 14px 0 0;
  font-family: var(--hm-serif);
  font-weight: 550;
  font-size: 24px;
  color: var(--hm-ink);
}
.hm-service p {
  margin: 12px 0 0;
  font-size: 13.5px;
  line-height: 1.65;
  color: var(--hm-muted);
}

/* --------------------------------------------------------------------------
   Manifesto
   -------------------------------------------------------------------------- */
.hm-manifesto { padding-top: 130px; }
.hm-manifesto blockquote {
  margin: 26px 0 0;
  font-family: var(--hm-serif);
  font-optical-sizing: auto;
  font-weight: 500;
  font-size: clamp(28px, 3.6vw, 46px);
  line-height: 1.28;
  letter-spacing: -0.005em;
  color: var(--hm-ink-2);
  max-width: 24ch;
}
.hm-manifesto blockquote em { font-style: italic; color: var(--hm-copper); }
.hm-manifesto blockquote .dim { color: rgba(117, 109, 99, 0.75); }
.hm-manifesto footer {
  margin-top: 26px;
  font-size: 14px;
  line-height: 1.7;
  color: var(--hm-muted);
  max-width: 58ch;
}

/* --------------------------------------------------------------------------
   Waitlist
   -------------------------------------------------------------------------- */
.hm-waitlist { padding-bottom: 130px; }
.hm-waitlist-card {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 420px);
  gap: 48px;
  margin-top: 54px;
  padding: clamp(28px, 4vw, 52px);
  border: 1px solid var(--hm-line);
  border-radius: 16px;
  background: var(--hm-card);
  overflow: hidden;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.6) inset, 0 30px 80px rgba(38, 31, 23, 0.14);
}
.hm-waitlist-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(110% 150% at 0% 0%, rgba(180, 106, 60, 0.09), transparent 55%);
  pointer-events: none;
}
.hm-waitlist-copy { position: relative; }
.hm-waitlist-copy h2 {
  margin: 14px 0 0;
  font-family: var(--hm-serif);
  font-weight: 550;
  font-size: clamp(28px, 3.4vw, 44px);
  line-height: 1.08;
  color: var(--hm-ink);
}
.hm-waitlist-copy h2 em { font-style: italic; color: var(--hm-copper); }
.hm-waitlist-copy p {
  margin: 18px 0 0;
  font-size: 14.5px;
  line-height: 1.65;
  color: var(--hm-muted);
  max-width: 44ch;
}
.hm-form { position: relative; display: flex; flex-direction: column; gap: 13px; }
.hm-form .field { display: flex; flex-direction: column; gap: 6px; }
.hm-form .field-label {
  font-size: 12px;
  font-weight: 550;
  color: var(--hm-ink-2);
  letter-spacing: 0.02em;
}
.hm-form input:not(.waitlist-hp) {
  height: 44px;
  padding: 0 14px;
  border: 1px solid var(--hm-line-strong);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.65);
  color: var(--hm-ink);
  font: inherit;
  font-size: 14px;
  transition: border-color 0.2s var(--hm-ease), box-shadow 0.3s var(--hm-ease);
}
.hm-form input:not(.waitlist-hp)::placeholder { color: rgba(36, 31, 25, 0.32); }
.hm-form input:not(.waitlist-hp):focus {
  outline: none;
  border-color: var(--hm-copper);
  box-shadow: 0 0 0 3px rgba(180, 106, 60, 0.16);
}
.hm-form .btn { margin-top: 6px; }
.hm-form .auth-status { min-height: 18px; font-size: 13px; color: var(--hm-muted); }
.hm-form .auth-status[data-tone="success"] { color: var(--hm-go); }
.hm-form .auth-status[data-tone="error"] { color: var(--hm-no); }
.waitlist-hp { position: absolute; left: -9999px; opacity: 0; height: 0; }

/* --------------------------------------------------------------------------
   Story interlude — framed like a film strip in the light page
   -------------------------------------------------------------------------- */
body.home .story {
  background: var(--hm-dark);
  border-top: 1px solid rgba(217, 151, 95, 0.25);
  border-bottom: 1px solid rgba(217, 151, 95, 0.25);
}

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 900px) {
  .hm-hero { padding: 104px 20px 0; }
  .hm-photo::after {
    background:
      linear-gradient(90deg, rgba(251, 247, 240, 0.96) 0%, rgba(251, 247, 240, 0.82) 55%, rgba(251, 247, 240, 0.55) 100%),
      linear-gradient(180deg, rgba(251, 247, 240, 0.9) 0%, rgba(251, 247, 240, 0.45) 40%, var(--hm-paper) 96%);
  }
  .hm-section { width: calc(100% - 40px); padding-top: 84px; }
  .hm-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 20px; }
  .hm-tile:nth-child(odd) { border-left: 0; padding-left: 2px; }
  .hm-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hm-services { grid-template-columns: minmax(0, 1fr); }
  .hm-waitlist-card { grid-template-columns: minmax(0, 1fr); gap: 30px; }
  .hm-ticker { max-width: 100%; overflow: hidden; }
  .hm-ticker-text { flex-wrap: wrap; white-space: normal; }
}
@media (max-width: 520px) {
  .hm-stats { grid-template-columns: minmax(0, 1fr); }
  .hm-tiles { grid-template-columns: minmax(0, 1fr); }
  .hm-tile { border-left: 0; padding-left: 2px; }
}

@media (prefers-reduced-motion: reduce) {
  .hm-aurora::before, .hm-aurora::after, .hm-marquee-track,
  .hm-win.lit, .hm-scrollcue::after, .hm-glyph::after, .hm-caret.on { animation: none !important; }
  .hm-reveal, .hm-title .w > span, .hm-bldg-line, .hm-bldg-inner,
  .hm-underline path, .hm-desk-card, .hm-comp i { transition: none !important; }
}

/* --------------------------------------------------------------------------
   Reading-progress hairline — a copper thread along the very top
   -------------------------------------------------------------------------- */
.hm-progress {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 2px;
  z-index: 300;
  background: linear-gradient(90deg, var(--hm-copper), var(--hm-copper-2));
  transform: scaleX(0);
  transform-origin: 0 50%;
  pointer-events: none;
}

/* --------------------------------------------------------------------------
   Footer — a proper editorial sign-off
   -------------------------------------------------------------------------- */
.hm-footer {
  border-top: 1px solid var(--hm-line);
  background: rgba(36, 31, 25, 0.03);
}
.hm-footer-inner {
  width: min(1180px, calc(100% - 64px));
  margin: 0 auto;
  padding: 56px 0 40px;
  display: flex;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}
.hm-footer-word {
  font-family: var(--hm-serif);
  font-weight: 600;
  font-size: 26px;
  color: var(--hm-ink);
}
.hm-footer-brand p {
  margin: 10px 0 0;
  font-size: 13px;
  line-height: 1.6;
  color: var(--hm-muted);
  max-width: 34ch;
}
.hm-footer-nav {
  display: grid;
  grid-template-columns: repeat(3, auto);
  gap: 12px 36px;
  align-content: start;
}
.hm-footer-nav a {
  font-size: 13.5px;
  color: var(--hm-ink-2);
  text-decoration: none;
  transition: color 0.2s var(--hm-ease);
}
.hm-footer-nav a:hover { color: var(--hm-copper); }
.hm-footer-meta {
  width: min(1180px, calc(100% - 64px));
  margin: 0 auto;
  padding: 18px 0 26px;
  border-top: 1px solid var(--hm-line);
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  font-family: var(--hm-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--hm-muted);
}
.hm-footer-meta svg { vertical-align: -1px; margin-left: 3px; }
