/**
 * Homepage variant B styles — Phase B of the design plan.
 *
 * Self-contained. Inherits design tokens from /css/calculator.css
 * (--ink, --paper, --sage-*, --font-display, --font-serif, --ease-*,
 * --duration-*, --radius-*, --container-*).
 *
 * Block layout (matches /_inc/home-v2.php):
 *   .hv-hero          block 1
 *   .hv-panel         block 2 — lender shelf
 *   .hv-calcs         block 3 — calculator dock
 *   .hv-work-row      block 4 — recent work + writing
 *   .hv-closing       block 5
 */

.home-v2 {
  max-width: var(--container-default, 880px);
  margin: 0 auto;
  padding: 28px 22px 80px;
  color: var(--ink);
}

/* Eyebrow / section caption pattern — lowercase + letter-spacing per
   spec §2 ("the panel" not "THE PANEL"). */
.hv-eyebrow {
  font-family: var(--font-display);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  color: var(--sage-600);
  margin: 0 0 14px;
  font-weight: 500;
}

.hv-section-title {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2.0rem);
  letter-spacing: -0.015em;
  line-height: 1.18;
  margin: 0 0 12px;
  color: var(--ink);
  font-weight: 500;
}

.hv-section-lede {
  font-family: var(--font-serif);
  font-size: clamp(1.04rem, 1.8vw, 1.18rem);
  line-height: 1.55;
  color: var(--ink-soft);
  max-width: 60ch;
  margin: 0 0 28px;
}

/* === Block 1 — Hero (v3: type billboard + live meter) ========== */
.hv-hero {
  padding: 12px 0 56px;
  border-bottom: 1px solid var(--paper-edge);
  margin-bottom: 56px;
}

/* Directory-funnel hero (v6) — replaces the v5 live-mini-calc hero.
   One sentence, one CTA. The mini-calc styles below stay loaded for
   ?v=a archive use; they're inert when the form HTML isn't rendered. */
.hv-hero--directory {
  padding: 28px 0 48px;
}
.hv-headline-simple {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(2.2rem, 6vw, 4.2rem);
  line-height: 1.05;
  letter-spacing: -0.025em;
  color: var(--ink);
  font-variation-settings: "opsz" 144, "SOFT" 30, "wght" 450;
  margin: 0 0 22px;
  max-width: 18ch;
}
.hv-headline-simple strong {
  font-style: normal;
  font-family: var(--font-display);
  font-weight: 600;
  font-variation-settings: "opsz" 32;
  color: var(--sage-800);
}
.hv-lede-simple {
  font-family: var(--font-serif);
  font-size: clamp(1.04rem, 1.6vw, 1.18rem);
  line-height: 1.55;
  color: var(--ink-soft);
  margin: 0 0 28px;
  max-width: 56ch;
}
@media (max-width: 600px) {
  .hv-headline-simple { font-size: clamp(1.9rem, 8vw, 2.8rem); max-width: none; }
}
.hv-eyebrow em {
  font-family: var(--font-serif);
  font-style: italic;
  letter-spacing: 0;
  color: var(--ink);
  font-weight: 500;
}
.hv-headline {
  margin: 0 0 28px;
  display: block;
}
.hv-headline-mark {
  display: block;
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(3.4rem, 11vw, 8.2rem);
  line-height: 0.95;
  letter-spacing: -0.04em;
  color: var(--ink);
  font-variation-settings: "opsz" 144, "SOFT" 30, "wght" 450;
  margin: 0;
  /* Subtle entrance — opacity tuned for first paint without flash */
}
.hv-headline-rest {
  display: block;
  margin-top: 6px;
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 2vw, 1.5rem);
  line-height: 1.25;
  letter-spacing: -0.012em;
  color: var(--ink-soft);
  font-weight: 450;
  font-variation-settings: "opsz" 32;
  max-width: 24ch;
}
.hv-credit {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  line-height: 1.6;
  color: var(--ink-muted);
  margin: 0 0 22px;
  max-width: 64ch;
  letter-spacing: 0.01em;
}
.hv-credit strong { color: var(--ink); font-weight: 600; }

/* === Live panel meter — the homepage's defensible signature artifact === */
.hv-panel-meter {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 14px 18px;
  padding: 18px 22px;
  margin: 0 0 28px;
  background: var(--paper-soft);
  border: 1px solid var(--paper-edge);
  border-left: 3px solid var(--sage-600);
  border-radius: var(--radius-md);
  font-family: var(--font-mono);
}
.hv-meter-cell {
  display: inline-flex;
  flex-direction: column;
  gap: 2px;
}
.hv-meter-value {
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.005em;
  line-height: 1;
}
.hv-meter-label {
  font-size: 0.7rem;
  letter-spacing: 0.06em;
  color: var(--ink-muted);
  text-transform: lowercase;
  line-height: 1;
}
.hv-meter-divider {
  color: var(--paper-edge);
  font-size: 1.2rem;
  align-self: center;
  margin: 0 -4px;
}
@media (max-width: 600px) {
  .hv-panel-meter { padding: 14px 16px; gap: 12px 16px; }
  .hv-meter-value { font-size: 1.15rem; }
  .hv-meter-divider { display: none; }
}

.hv-hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin: 0 0 24px;
}
.hv-cta-primary,
.hv-cta-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  border-radius: var(--radius-md, 8px);
  padding: 14px 22px;
  transition: background 200ms var(--ease-default), color 200ms var(--ease-default), border-color 200ms var(--ease-default), transform 120ms var(--ease-default);
  border: 1px solid transparent;
}
.hv-cta-primary {
  background: var(--sage-600);
  color: #FFF;
}
.hv-cta-primary:hover { background: var(--sage-800); transform: translateY(-1px); }
.hv-cta-secondary {
  background: transparent;
  color: var(--ink);
  border-color: var(--paper-edge);
}
.hv-cta-secondary:hover { border-color: var(--sage-600); color: var(--sage-600); }

.hv-meta {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--ink-muted);
  margin: 0;
  max-width: 60ch;
  line-height: 1.55;
}
.hv-byline-mark {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 450;
  color: var(--ink);
  letter-spacing: 0;
  font-variation-settings: "opsz" 32, "SOFT" 30;
}

/* === Hero — live mini-calculator =============================== */
.hv-mini-calc {
  margin: 0 0 24px;
  padding: 22px 24px 18px;
  background: var(--paper-soft);
  border: 1px solid var(--paper-edge);
  border-radius: var(--radius-md);
}
.hv-mini-row {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 14px 16px;
  margin: 0 0 16px;
}
.hv-mini-row label {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.hv-mini-label {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  color: var(--ink-muted);
  text-transform: lowercase;
  line-height: 1;
}
.hv-mini-prefix {
  position: absolute;
  left: 12px;
  bottom: 11px;
  font-family: var(--font-mono);
  font-size: 0.95rem;
  color: var(--ink-muted);
  pointer-events: none;
  font-variant-numeric: tabular-nums;
}
.hv-mini-row input[type="text"],
.hv-mini-row select {
  width: 100%;
  height: 40px;
  background: var(--paper);
  border: 1px solid var(--paper-edge);
  border-radius: var(--radius-sm, 6px);
  padding: 0 12px 0 22px;
  font-family: var(--font-mono);
  font-size: 0.98rem;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
  transition: border-color 160ms var(--ease-default);
}
.hv-mini-row .hv-mini-shape select {
  padding-left: 12px;
  font-family: var(--font-display);
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--ink-muted) 50%),
                    linear-gradient(135deg, var(--ink-muted) 50%, transparent 50%);
  background-position: calc(100% - 16px) 18px, calc(100% - 11px) 18px;
  background-size: 5px 5px;
  background-repeat: no-repeat;
  padding-right: 28px;
}
.hv-mini-row input:focus,
.hv-mini-row select:focus {
  outline: none;
  border-color: var(--sage-600);
  box-shadow: 0 0 0 3px rgba(74, 100, 81, 0.12);
}

.hv-mini-result {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 10px 14px;
  padding: 14px 0 4px;
  border-top: 1px solid var(--paper-edge);
}
.hv-mini-result-meta {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  color: var(--ink-muted);
  text-transform: lowercase;
  margin-right: 6px;
  flex-basis: 100%;
}
.hv-mini-result-num {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 450;
  font-size: 1.85rem;
  line-height: 1;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
  font-variation-settings: "opsz" 72, "SOFT" 30, "wght" 450;
  letter-spacing: -0.01em;
  transition: color 200ms var(--ease-default);
}
.hv-mini-result-high { color: var(--sage-800); }
.hv-mini-result-sep {
  font-family: var(--font-mono);
  color: var(--ink-muted);
  font-size: 1.1rem;
  align-self: center;
}

.hv-mini-disclaimer {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  line-height: 1.55;
  color: var(--ink-muted);
  margin: 14px 0 0;
}
.hv-mini-disclaimer strong { color: var(--ink); font-weight: 600; }

.hv-live-cta-link {
  color: var(--sage-600);
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid currentColor;
  transition: color 160ms var(--ease-default);
}
.hv-live-cta-link:hover { color: var(--sage-800); }

@media (max-width: 720px) {
  .hv-mini-calc { padding: 18px 18px 14px; }
  .hv-mini-row { grid-template-columns: 1fr; gap: 12px; }
  .hv-mini-result-num { font-size: 1.55rem; }
  .hv-mini-result-meta { flex-basis: auto; margin-right: 0; }
  .hv-mini-result { gap: 6px 12px; padding: 12px 0 4px; }
}

/* === Block 2 — Panel proof shelf ================================ */
.hv-panel { margin-bottom: 64px; }
.hv-panel-head { margin-bottom: 24px; }

.hv-shelf {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 16px;
}
.hv-shelf-card {
  display: flex;
  flex-direction: column;
  background: var(--paper-soft);
  border: 1px solid var(--paper-edge);
  border-radius: var(--radius);
  padding: 22px 22px 20px;
  text-decoration: none;
  color: inherit;
  transition: border-color 200ms var(--ease-default), transform 220ms var(--ease-default), box-shadow 220ms var(--ease-default);
  position: relative;
  overflow: hidden;
}
.hv-shelf-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--sage-600);
  transform-origin: left;
  transform: scaleX(0);
  transition: transform 280ms var(--ease-default);
}
.hv-shelf-card:hover {
  border-color: var(--sage-400);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(14,20,17,0.06);
}
.hv-shelf-card:hover::before { transform: scaleX(1); }

/* Per-lender accent (top bar colour) — matches each page's brand colour */
.hv-card-anz::before { background: #004986; }
.hv-card-cba::before { background: #fdb515; }
.hv-card-nab::before { background: #C8102E; }

.hv-card-eyebrow {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--ink-muted);
  letter-spacing: 0.06em;
  margin-bottom: 8px;
  text-transform: uppercase;
}
.hv-card-name {
  font-family: var(--font-display);
  font-size: 1.7rem;
  font-weight: 600;
  letter-spacing: -0.015em;
  margin: 0 0 12px;
  line-height: 1;
  color: var(--ink);
  font-variation-settings: 'wght' 600;
  transition: font-variation-settings 240ms var(--ease-default);
}
.hv-shelf-card:hover .hv-card-name { font-variation-settings: 'wght' 700; }

.hv-card-insight {
  font-family: var(--font-serif);
  font-size: 1.0rem;
  line-height: 1.55;
  color: var(--ink);
  margin: 0 0 20px;
  flex-grow: 1;
}
.hv-card-insight em { font-style: italic; }

.hv-card-cta {
  font-family: var(--font-display);
  font-size: 0.92rem;
  color: var(--sage-600);
  font-weight: 600;
}
.hv-card-cta .arrow { transition: transform 120ms var(--ease-default); }
.hv-shelf-card:hover .hv-card-cta .arrow { transform: translateX(3px); }

.hv-panel-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  margin: 0;
  font-size: 0.92rem;
  color: var(--ink-soft);
}
.hv-panel-foot a {
  color: var(--sage-600);
  font-weight: 600;
  text-decoration: none;
  font-family: var(--font-display);
}
.hv-panel-foot a:hover { color: var(--sage-800); }
.hv-soft {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  color: var(--ink-muted);
  letter-spacing: 0.04em;
}

/* === Block 3 — Calculators ====================================== */
.hv-calcs { margin-bottom: 64px; }
.hv-calcs-head { margin-bottom: 24px; }

.hv-calc-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.hv-calc-card {
  display: flex;
  flex-direction: column;
  background: var(--paper-soft);
  border: 1px solid var(--paper-edge);
  border-left: 3px solid var(--sage-600);
  border-radius: var(--radius);
  padding: 22px 22px 20px;
  text-decoration: none;
  color: inherit;
  transition: border-color 200ms var(--ease-default), transform 220ms var(--ease-default), box-shadow 220ms var(--ease-default);
}
.hv-calc-card:hover {
  border-color: var(--sage-400);
  border-left-color: var(--sage-800);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(14,20,17,0.06);
}
.hv-calc-tag {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  color: var(--sage-600);
  margin-bottom: 10px;
  text-transform: lowercase;
}
.hv-calc-name {
  font-family: var(--font-display);
  font-size: 1.18rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.22;
  margin: 0 0 12px;
  color: var(--ink);
}
.hv-calc-sample {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  line-height: 1.5;
  color: var(--ink);
  background: var(--paper);
  border-radius: 6px;
  padding: 8px 10px;
  margin: 0 0 12px;
}
.hv-calc-sample strong {
  color: var(--sage-800);
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}
.hv-calc-blurb {
  font-family: var(--font-serif);
  font-size: 0.95rem;
  line-height: 1.55;
  color: var(--ink-soft);
  margin: 0 0 16px;
  flex-grow: 1;
}
.hv-calc-cta {
  font-family: var(--font-display);
  font-size: 0.92rem;
  color: var(--sage-600);
  font-weight: 600;
}

/* In-build / "next up" calc card — shape matches the live cards but
   the left-border pulses slowly and the body sits at lower contrast. */
.hv-calc-card--soon {
  display: flex;
  flex-direction: column;
  background: var(--paper-soft);
  border: 1px solid var(--paper-edge);
  border-left: 3px dashed var(--sage-400);
  border-radius: var(--radius);
  padding: 22px 22px 20px;
  color: inherit;
  position: relative;
}
.hv-calc-card--soon::after {
  content: "in build";
  position: absolute;
  top: 18px;
  right: 18px;
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.1em;
  color: var(--sage-800);
  background: var(--sage-50);
  padding: 3px 8px;
  border-radius: 999px;
  text-transform: lowercase;
}
.hv-calc-tag--soon { color: var(--ink-muted); }
.hv-calc-card--soon .hv-calc-name { color: var(--ink); }
.hv-calc-card--soon .hv-calc-blurb { color: var(--ink-soft); }

.hv-calc-notify {
  margin: 16px 0 0;
  padding: 14px 14px 12px;
  background: var(--paper);
  border: 1px solid var(--paper-edge);
  border-radius: var(--radius-sm, 6px);
}
.hv-calc-notify-label {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: lowercase;
  color: var(--ink-muted);
  margin-bottom: 8px;
}
.hv-calc-notify-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
}
.hv-calc-notify-row input[type="email"] {
  height: 38px;
  background: var(--paper);
  border: 1px solid var(--paper-edge);
  border-radius: var(--radius-sm, 6px);
  padding: 0 12px;
  font-family: var(--font-mono);
  font-size: 0.92rem;
  color: var(--ink);
  min-width: 0;
}
.hv-calc-notify-row input[type="email"]:focus {
  outline: none;
  border-color: var(--sage-600);
  box-shadow: 0 0 0 3px rgba(74, 100, 81, 0.12);
}
.hv-calc-notify-row button {
  height: 38px;
  padding: 0 14px;
  background: var(--sage-600);
  color: #FFF;
  border: none;
  border-radius: var(--radius-sm, 6px);
  font-family: var(--font-display);
  font-size: 0.86rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 160ms var(--ease-default);
}
.hv-calc-notify-row button:hover { background: var(--sage-800); }
.hv-calc-notify-row button[disabled] {
  background: var(--paper-edge);
  color: var(--ink-muted);
  cursor: default;
}
.hv-calc-notify-status {
  margin: 8px 0 0;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  color: var(--sage-800);
  min-height: 1em;
}
.hv-calc-notify-status[data-state="error"] { color: #b34141; }

.hv-calcs-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 12px 24px;
  margin: 22px 0 0;
}
.hv-calcs-specialty {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--sage-600);
  text-decoration: none;
}
.hv-calcs-specialty:hover { color: var(--sage-800); }
.hv-calcs-specialty .arrow { transition: transform 120ms var(--ease-default); }
.hv-calcs-specialty:hover .arrow { transform: translateX(3px); }

/* === Block 2½ — full-suite intent groups ======================== */
.hv-suite { margin-bottom: 64px; }
.hv-suite-head { margin-bottom: 28px; max-width: 60ch; }

.hv-intent { margin: 0 0 28px; }
.hv-intent:last-child { margin-bottom: 0; }
.hv-intent-h {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: -0.005em;
  color: var(--ink);
  margin: 0 0 14px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--paper-edge);
  display: flex;
  align-items: baseline;
  gap: 12px;
  flex-wrap: wrap;
}
.hv-intent-count {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-weight: 400;
  letter-spacing: 0.04em;
  color: var(--ink-muted);
  text-transform: lowercase;
}
.hv-intent-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
}

/* Compact variant of .hv-calc-card for intent grids — tighter padding,
   slightly smaller type, no sample-data row. */
.hv-calc-card--compact {
  padding: 16px 18px 14px;
}
.hv-calc-card--compact .hv-calc-tag {
  margin-bottom: 6px;
  font-size: 0.66rem;
}
.hv-calc-card--compact .hv-calc-name {
  font-size: 1.02rem;
  margin-bottom: 8px;
}
.hv-calc-card--compact .hv-calc-blurb {
  font-size: 0.88rem;
  line-height: 1.5;
  margin-bottom: 10px;
}
.hv-calc-card--compact .hv-calc-cta {
  font-size: 0.84rem;
}

@media (max-width: 640px) {
  .hv-intent-grid { grid-template-columns: 1fr; }
  .hv-intent-h { font-size: 1rem; }
}

/* === Block 4 — Recent work + writing ============================ */
.hv-work-row {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 28px;
  margin-bottom: 64px;
  padding: 36px 0;
  border-top: 1px solid var(--paper-edge);
  border-bottom: 1px solid var(--paper-edge);
}
.hv-work-row--solo {
  grid-template-columns: 1fr;
}
.hv-recent-head { margin-bottom: 18px; }

.hv-recent-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
.hv-recent-grid--solo {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.hv-deal {
  background: var(--paper-soft);
  border: 1px solid var(--paper-edge);
  border-radius: var(--radius);
  padding: 20px 22px 18px;
}
.hv-deal-tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.06em;
  color: var(--sage-800);
  background: var(--sage-50);
  padding: 3px 10px;
  border-radius: 999px;
  text-transform: lowercase;
  margin-bottom: 12px;
}
.hv-deal-headline {
  font-family: var(--font-display);
  font-size: 1.12rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin: 0 0 8px;
  color: var(--ink);
  line-height: 1.25;
}
.hv-deal-detail {
  font-family: var(--font-serif);
  font-size: 0.96rem;
  line-height: 1.55;
  color: var(--ink-soft);
  margin: 0 0 12px;
}
.hv-deal-numbers {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--paper-edge);
  padding-top: 12px;
}
.hv-deal-numbers li {
  display: flex;
  flex-direction: column;
  font-family: var(--font-mono);
  font-size: 0.82rem;
}
.hv-deal-num-label {
  font-size: 0.66rem;
  letter-spacing: 0.08em;
  color: var(--ink-muted);
  text-transform: uppercase;
  margin-bottom: 2px;
}
.hv-deal-num-value {
  color: var(--ink);
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

/* === Block 5 — Closing CTA ====================================== */
.hv-closing {
  background: var(--ink);
  color: var(--paper);
  border-radius: var(--radius-lg);
  padding: 44px 36px;
  text-align: center;
}
.hv-closing .hv-section-title {
  color: var(--paper);
  margin-bottom: 10px;
}
.hv-closing .hv-section-lede {
  color: rgba(248, 244, 237, 0.78);
  margin: 0 auto 24px;
}
.hv-closing .hv-cta-primary {
  background: var(--sage-400);
  color: var(--ink);
}
.hv-closing .hv-cta-primary:hover {
  background: var(--sage-200);
}
.hv-closing .hv-cta-secondary {
  background: transparent;
  border-color: rgba(248, 244, 237, 0.28);
  color: var(--paper);
}
.hv-closing .hv-cta-secondary:hover {
  border-color: var(--sage-200);
  color: var(--sage-200);
}

/* === Mobile ===================================================== */
@media (max-width: 720px) {
  .hv-headline { font-size: clamp(1.9rem, 8vw, 2.4rem); }
  .hv-shelf,
  .hv-calc-grid { grid-template-columns: 1fr; }
  .hv-work-row { grid-template-columns: 1fr; }
  .hv-recent-grid--solo { grid-template-columns: 1fr; }
  .hv-closing { padding: 32px 22px; }
  .hv-hero-cta { flex-direction: column; align-items: stretch; }
  .hv-cta-primary,
  .hv-cta-secondary { justify-content: center; }
}

/* === Reveal starting states (motion-primitives.js handles play) === */
[data-stagger] > * {
  opacity: 1;                                    /* visible by default */
}
.home-v2[data-stage-state="pending"] [data-stagger] > * {
  opacity: 0;
  transform: translateY(18px);
}

/* === Hero reveal — pure CSS, replaces the GSAP timeline ============= */
.hv-hero .hv-headline-simple,
.hv-hero .hv-lede-simple,
.hv-hero-cta {
  opacity: 0;
  animation: hv-reveal 0.85s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  will-change: opacity;
}
.hv-hero .hv-headline-simple { animation-delay: 0.05s; }
.hv-hero .hv-lede-simple     { animation-delay: 0.25s; }
.hv-hero-cta                 { animation-delay: 0.45s; }

@keyframes hv-reveal {
  to { opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
  .hv-hero .hv-headline-simple,
  .hv-hero .hv-lede-simple,
  .hv-hero-cta {
    animation: none;
    opacity: 1;
  }
}
