/* Hero variations — prompt-focused additions (D/E/F).
   Layered on top of heroes.css. Same scoped tokens; lives in its own
   file so prompt-side iterations don't touch the foundational shared
   sheet. */

/* ---------- Trust strip (shared D/E/F) ---------- */
.hv-stage .hv-trust {
  display: inline-flex; align-items: center; gap: 14px;
  margin: 22px 0 0;
  font-family: var(--display);
  font-size: 14px; font-weight: 300;
  font-style: italic;
  color: var(--paper); opacity: 0.6;
  font-variation-settings: "opsz" 60;
}
.hv-stage .hv-trust em {
  font-style: italic; color: var(--terracotta);
  font-weight: 400; opacity: 0.95;
}
.hv-stage .hv-trust-bar {
  display: inline-block;
  width: 28px; height: 1px;
  background: var(--terracotta);
  opacity: 0.7;
}

/* ---------- Hero D — Recipe Card ---------- */
.hv-d-grid {
  position: relative; z-index: 2;
  height: 100%;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: 80px;
  align-items: center;
  padding: 120px 56px 56px;
  max-width: 1480px;
  margin: 0 auto;
}
.hv-d-text { max-width: 580px; }
.hv-d-headline {
  font-family: var(--display);
  font-weight: 300;
  font-size: clamp(46px, 5.2vw, 80px);
  line-height: 1.0;
  letter-spacing: -0.024em;
  color: var(--paper);
  margin: 32px 0 0;
  font-variation-settings: "opsz" 144;
  text-wrap: balance;
}
.hv-d-headline em {
  font-style: italic; color: var(--terracotta); font-weight: 300;
}
.hv-d-sub {
  margin: 28px 0 0;
  font-size: 17px; line-height: 1.55;
  color: var(--paper); opacity: 0.82;
  max-width: 54ch;
}
.hv-d-poetic {
  font-family: var(--display);
  font-size: 15px; font-weight: 300;
  color: var(--paper); opacity: 0.5;
  margin: 28px 0 0;
  letter-spacing: -0.005em;
  max-width: 50ch;
}
.hv-d-poetic em {
  font-style: italic; color: var(--terracotta); opacity: 0.85;
}

.hv-d-visual {
  display: flex; align-items: center; justify-content: center;
}

/* The recipe card itself */
.hv-recipe {
  position: relative;
  width: 440px;
  background: var(--paper);
  color: var(--ink);
  padding: 30px 32px 22px;
  font-family: var(--sans);
  border-radius: 2px;
  box-shadow: 0 30px 80px rgba(0,0,0,0.5), 0 8px 20px rgba(0,0,0,0.3);
  transform: rotate(-1deg);
  transition: transform 0.6s var(--ease-soft);
  display: flex; flex-direction: column;
  gap: 18px;
}
.hv-recipe:hover { transform: rotate(-0.2deg) translateY(-3px); }
.hv-recipe-edge {
  position: absolute;
  top: 0; left: 0; right: 0; height: 6px;
  background: var(--terracotta);
}
.hv-recipe-head {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 8px;
  font-family: var(--mono); font-size: 10px;
  text-transform: uppercase; letter-spacing: 0.12em;
  color: var(--terracotta); font-weight: 600;
}
.hv-recipe-pulse {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--terracotta);
  box-shadow: 0 0 0 4px rgba(195,107,62,0.18);
  animation: hv-pulse 2.4s var(--ease-soft) infinite;
}
.hv-recipe-title {
  font-family: var(--display);
  font-weight: 300;
  font-size: 26px;
  line-height: 1.1;
  letter-spacing: -0.018em;
  color: var(--ink);
  margin: 0;
  font-variation-settings: "opsz" 144;
}
.hv-recipe-title em {
  font-style: italic; color: var(--terracotta); font-weight: 300;
}
.hv-recipe-intro {
  margin: 0;
  font-family: var(--display); font-style: italic;
  font-size: 14px; font-weight: 300;
  line-height: 1.5;
  color: rgba(10,10,10,0.75);
  font-variation-settings: "opsz" 60;
}
.hv-recipe-body {
  position: relative;
  background: rgba(10,10,10,0.04);
  border-left: 2px solid var(--terracotta);
  padding: 14px 16px;
  border-radius: 1px;
  overflow: hidden;
  max-height: 156px;
}
.hv-recipe-body pre {
  margin: 0;
  font-family: var(--mono);
  font-size: 11.5px;
  line-height: 1.55;
  color: rgba(10,10,10,0.85);
  white-space: pre-wrap;
  word-wrap: break-word;
}
.hv-recipe-fade {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 50px;
  background: linear-gradient(to bottom, rgba(245,242,237,0), rgba(245,242,237,1));
  pointer-events: none;
}
.hv-recipe-foot {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 8px;
  border-top: 1px solid rgba(10,10,10,0.12);
}
.hv-recipe-paste {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--ink); color: var(--paper);
  border: 0;
  padding: 10px 16px;
  border-radius: 2px;
  font-family: var(--mono); font-size: 11px;
  text-transform: uppercase; letter-spacing: 0.08em;
  cursor: pointer;
  transition: background 0.2s, gap 0.2s;
}
.hv-recipe-paste:hover { background: var(--terracotta); gap: 12px; }
.hv-recipe-meta {
  font-family: var(--mono); font-size: 10px;
  text-transform: uppercase; letter-spacing: 0.1em;
  color: var(--muted);
}
.hv-recipe-stamp {
  position: absolute;
  bottom: -22px; right: -22px;
  width: 78px; height: 78px;
  filter: drop-shadow(0 4px 8px rgba(0,0,0,0.25));
}
/* reuse hv-stamp-ring/inner from heroes.css */

/* ---------- Hero E — Three-Step Demo ---------- */
.hv-e-grid {
  position: relative; z-index: 2;
  min-height: 100vh;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: 64px;
  align-items: center;
  padding: 120px 56px 56px;
  max-width: 1480px;
  margin: 0 auto;
}
.hv-e-text { max-width: 560px; }
.hv-e-headline {
  font-family: var(--display);
  font-weight: 300;
  font-size: clamp(46px, 5.4vw, 84px);
  line-height: 0.98;
  letter-spacing: -0.026em;
  color: var(--paper);
  margin: 32px 0 0;
  font-variation-settings: "opsz" 144;
}
.hv-e-headline em {
  font-style: italic; color: var(--terracotta); font-weight: 300;
}
.hv-e-sub {
  margin: 28px 0 0;
  font-size: 17px; line-height: 1.55;
  color: var(--paper); opacity: 0.82;
  max-width: 54ch;
}
.hv-e-poetic {
  font-family: var(--display);
  font-size: 15px; font-weight: 300;
  color: var(--paper); opacity: 0.5;
  margin: 28px 0 0;
  letter-spacing: -0.005em;
  max-width: 50ch;
}
.hv-e-poetic em {
  font-style: italic; color: var(--terracotta); opacity: 0.85;
}

.hv-e-visual {
  display: flex; flex-direction: column; gap: 14px;
  align-items: stretch;
}
.hv-trip {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 14px;
}
.hv-trip-panel {
  background: var(--ink-2);
  border: 1px solid var(--line);
  padding: 16px;
  border-radius: 3px;
  cursor: pointer;
  transition: border-color 0.4s var(--ease-soft), transform 0.4s var(--ease-soft), background 0.4s var(--ease-soft);
  display: flex; flex-direction: column; gap: 12px;
  min-height: 320px;
}
.hv-trip-panel.active {
  border-color: var(--terracotta);
  background: rgba(195,107,62,0.04);
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.35);
}
.hv-trip-panel-head {
  display: flex; align-items: baseline; justify-content: space-between;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
}
.hv-trip-num {
  font-family: var(--mono); font-size: 10px;
  text-transform: uppercase; letter-spacing: 0.12em;
  color: var(--terracotta); font-weight: 600;
}
.hv-trip-label {
  font-family: var(--display); font-style: italic;
  font-size: 12px; font-weight: 300;
  color: var(--paper); opacity: 0.85;
  text-align: right;
  max-width: 60%;
}
.hv-trip-panel-body { flex: 1; display: flex; }
.hv-trip-pager {
  display: flex; gap: 8px; justify-content: center;
  margin-top: 6px;
}
.hv-trip-pager button {
  width: 28px; height: 2px;
  border: 0; padding: 0;
  background: var(--line-2); cursor: pointer;
  transition: background 0.2s;
}
.hv-trip-pager button.active { background: var(--terracotta); }

/* Email panel */
.hv-mail {
  flex: 1;
  background: var(--paper); color: var(--ink);
  padding: 14px;
  border-radius: 2px;
  display: flex; flex-direction: column; gap: 8px;
  font-size: 11px;
}
.hv-mail-head {
  display: flex;
  gap: 10px;
  align-items: baseline;
  white-space: nowrap;
  font-family: var(--mono);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
}
.hv-mail-from {
  overflow: hidden;
  text-overflow: ellipsis;
  min-width: 0;
  font-size: clamp(9.5px, 2.6vw, 11px);
  letter-spacing: 0.04em;
}
.hv-mail-time {
  flex-shrink: 0;
  font-size: 9px;
  opacity: 0.7;
}
.hv-mail-subj {
  font-family: var(--display); font-size: 14px;
  font-weight: 300; color: var(--ink);
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(10,10,10,0.12);
}
.hv-mail-subj em {
  font-style: italic; color: var(--terracotta); font-weight: 300;
}
.hv-mail-body { display: flex; flex-direction: column; gap: 6px; }
.hv-mail-row {
  display: grid;
  grid-template-columns: 14px 1fr;
  gap: 8px;
  font-family: var(--display); font-style: italic;
  font-size: 12px; font-weight: 300;
  color: var(--ink);
}
.hv-mail-row > span:first-child { color: var(--terracotta); }
.hv-mail-row-hot { color: var(--terracotta); }
.hv-mail-row-hot > span:first-child { color: var(--terracotta); }

/* Chat panel */
.hv-chat {
  flex: 1;
  background: var(--ink-3);
  border: 1px solid var(--line);
  padding: 12px;
  border-radius: 2px;
  display: flex; flex-direction: column; gap: 10px;
}
.hv-chat-head {
  display: flex; align-items: center; gap: 8px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--line);
  font-family: var(--mono); font-size: 10px;
  color: var(--paper); opacity: 0.85;
}
.hv-chat-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: #10A37F; /* ChatGPT green */
}
.hv-chat-name { letter-spacing: 0.04em; }
.hv-chat-msg { flex: 1; display: flex; flex-direction: column; gap: 8px; }
.hv-chat-paste {
  background: rgba(195,107,62,0.06);
  border-left: 2px solid var(--terracotta);
  padding: 8px 10px;
  border-radius: 2px;
  font-family: var(--mono); font-size: 10px;
  line-height: 1.5;
  color: var(--paper); opacity: 0.85;
  position: relative;
  max-height: 180px; overflow: hidden;
}
.hv-chat-paste::after {
  content: "";
  position: absolute;
  bottom: 0; left: 0; right: 0; height: 30px;
  background: linear-gradient(to bottom, rgba(31,31,31,0), var(--ink-3));
}
.hv-chat-paste-tag {
  display: block;
  font-size: 8.5px;
  text-transform: uppercase; letter-spacing: 0.1em;
  color: var(--terracotta);
  margin-bottom: 6px;
}
.hv-chat-paste p { margin: 0; }
.hv-chat-cursor {
  width: 6px; height: 12px;
  background: var(--terracotta);
  animation: hv-blink 1s steps(1) infinite;
  margin-left: 2px;
}
@keyframes hv-blink {
  50% { opacity: 0; }
}

/* Output panel */
.hv-out {
  flex: 1;
  background: var(--paper); color: var(--ink);
  padding: 14px;
  border-radius: 2px;
  display: flex; flex-direction: column; gap: 10px;
}
.hv-out-head {
  display: flex; align-items: center; gap: 8px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(10,10,10,0.12);
}
.hv-out-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--terracotta);
}
.hv-out-name {
  font-family: var(--mono); font-size: 10px;
  text-transform: uppercase; letter-spacing: 0.08em;
  color: var(--ink);
}
.hv-out-body { font-size: 12px; line-height: 1.55; color: var(--ink); }
.hv-out-body p { margin: 0 0 6px; }
.hv-out-body em {
  font-family: var(--display); font-style: italic;
  font-size: 14px; font-weight: 300;
  color: var(--terracotta);
}
.hv-out-k {
  font-family: var(--mono); font-size: 10px;
  color: var(--terracotta); font-weight: 600;
  margin-right: 6px;
}

/* ---------- Hero F — The Stack ---------- */
.hv-f-grid {
  position: relative; z-index: 2;
  height: 100%;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: 64px;
  align-items: center;
  padding: 120px 56px 56px;
  max-width: 1480px;
  margin: 0 auto;
}
.hv-f-text { max-width: 560px; }
.hv-f-headline {
  font-family: var(--display);
  font-weight: 300;
  font-size: clamp(46px, 5.4vw, 82px);
  line-height: 0.98;
  letter-spacing: -0.026em;
  color: var(--paper);
  margin: 32px 0 0;
  font-variation-settings: "opsz" 144;
}
.hv-f-headline em {
  font-style: italic; color: var(--terracotta); font-weight: 300;
}
.hv-f-sub {
  margin: 28px 0 0;
  font-size: 17px; line-height: 1.55;
  color: var(--paper); opacity: 0.82;
  max-width: 54ch;
}
.hv-f-poetic {
  font-family: var(--display);
  font-size: 15px; font-weight: 300;
  color: var(--paper); opacity: 0.5;
  margin: 28px 0 0;
  letter-spacing: -0.005em;
  max-width: 50ch;
}
.hv-f-poetic em {
  font-style: italic; color: var(--terracotta); opacity: 0.85;
}

.hv-f-visual {
  display: flex; flex-direction: column; gap: 24px;
  align-items: center;
}
.hv-stack {
  position: relative;
  width: 380px; height: 460px;
}
.hv-stack-card {
  position: absolute;
  inset: 0;
  background: var(--paper);
  color: var(--ink);
  padding: 26px 28px;
  border-radius: 2px;
  box-shadow: 0 20px 50px rgba(0,0,0,0.4), 0 4px 12px rgba(0,0,0,0.25);
  display: flex; flex-direction: column;
  gap: 16px;
  transition: transform 0.7s var(--ease-soft), opacity 0.5s var(--ease-soft);
  cursor: pointer;
  transform-origin: center center;
}
.hv-stack-card.front {
  box-shadow: 0 30px 80px rgba(0,0,0,0.5), 0 8px 20px rgba(0,0,0,0.3);
}
.hv-stack-card.front:hover {
  transform: translate(0, -4px) rotate(0deg) !important;
}
.hv-stack-head {
  display: flex; align-items: center; justify-content: space-between;
  font-family: var(--mono); font-size: 10px;
  text-transform: uppercase; letter-spacing: 0.12em;
}
.hv-stack-num { color: var(--terracotta); font-weight: 600; }
.hv-stack-kind { color: var(--muted); }
.hv-stack-title {
  flex: 1;
  font-family: var(--display);
  font-weight: 300;
  font-size: 30px;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin: 0;
  font-variation-settings: "opsz" 144;
  text-wrap: balance;
}
.hv-stack-foot {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 14px;
  border-top: 1px solid rgba(10,10,10,0.12);
  font-family: var(--mono); font-size: 10px;
  text-transform: uppercase; letter-spacing: 0.1em;
}
.hv-stack-meta { color: var(--muted); }
.hv-stack-meta em {
  font-family: var(--display); font-style: italic;
  font-size: 12px; text-transform: none; letter-spacing: 0;
  color: var(--ink);
}
.hv-stack-paste { color: var(--terracotta); font-weight: 600; }
.hv-stack-stamp {
  position: absolute;
  top: 22px; right: 22px;
  width: 56px; height: 56px;
  border: 1.5px solid var(--terracotta);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--mono); font-size: 9px;
  text-transform: uppercase; letter-spacing: 0.1em;
  color: var(--terracotta);
  transform: rotate(-12deg);
  opacity: 0.6;
}
.hv-stack-pager {
  display: flex; gap: 8px;
  padding-top: 8px;
}
.hv-stack-pager button {
  width: 22px; height: 2px;
  border: 0; padding: 0;
  background: var(--line-2); cursor: pointer;
  transition: background 0.2s;
}
.hv-stack-pager button.active { background: var(--terracotta); }

/* ---------- Hero G — Merged (E shell, cost-anchored sub, method blip) ---------- */
.hv-g-sub {
  /* Slightly tighter line-length so the cost line sits at the visual end */
  max-width: 50ch;
}
.hv-g-cost {
  font-family: var(--display);
  font-style: italic;
  font-weight: 400;
  font-size: 1.08em;
  color: var(--paper);
  opacity: 1;
  letter-spacing: -0.005em;
  border-bottom: 1px solid var(--terracotta);
  padding-bottom: 1px;
  font-variation-settings: "opsz" 60;
}

/* Method blip — quiet, sourced, sits below the triptych */
.hv-method {
  display: grid;
  grid-template-columns: 18px 1fr auto;
  gap: 14px;
  align-items: center;
  margin-top: 16px;
  padding: 14px 18px;
  background: rgba(250, 247, 242, 0.025);
  border: 1px solid var(--line);
  border-left: 2px solid var(--terracotta);
  border-radius: 2px;
}
.hv-method-icon {
  color: var(--terracotta);
  display: inline-flex;
}
.hv-method-body { min-width: 0; }
.hv-method-tag {
  display: block;
  font-family: var(--mono); font-size: 9.5px;
  text-transform: uppercase; letter-spacing: 0.12em;
  color: var(--terracotta); font-weight: 600;
  margin-bottom: 4px;
}
.hv-method-body p {
  margin: 0;
  font-size: 12.5px; line-height: 1.5;
  color: var(--paper); opacity: 0.78;
}
.hv-method-body em {
  font-family: var(--display); font-style: italic;
  color: var(--terracotta); opacity: 0.95;
  font-weight: 400;
}
.hv-method-link {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--mono); font-size: 10px;
  text-transform: uppercase; letter-spacing: 0.1em;
  color: var(--paper); opacity: 0.7;
  transition: opacity 0.2s, gap 0.2s, color 0.2s;
  white-space: nowrap;
}
.hv-method-link:hover { opacity: 1; gap: 12px; color: var(--terracotta); }
.hv-method-link .hv-arrow { font-family: var(--sans); }

/* ============================================================
   Design tweaks v2 — 2026-05-07
   #2 headline rhythm · #3 Triptych active state · #4 trust line
   #5 email count chip · #6 method chip strip
   ============================================================ */

/* #2 — tighten headline rhythm on Hero G/E */
.hv-stage .hv-e-headline {
  line-height: 0.96;
  letter-spacing: -0.028em;
}
.hv-stage .hv-e-headline em {
  font-size: 1.04em;
  display: inline-block;
  margin-top: 0.06em;
}

/* #3 — stronger active state on Triptych */
.hv-stage .hv-trip-panel {
  position: relative;
}
.hv-stage .hv-trip-panel-head {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 12px;
  align-items: baseline;
}
.hv-stage .hv-trip-now {
  font-family: var(--mono);
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--terracotta);
  opacity: 0;
  transform: translateX(-4px);
  transition: opacity 0.3s var(--ease-soft), transform 0.3s var(--ease-soft);
}
.hv-stage .hv-trip-panel.active .hv-trip-now {
  opacity: 1;
  transform: translateX(0);
}
.hv-stage .hv-trip-panel.active {
  border-color: var(--terracotta);
  background: rgba(195,107,62,0.06);
  transform: translateY(-4px);
  box-shadow:
    0 16px 40px rgba(0,0,0,0.4),
    inset 2px 0 0 var(--terracotta);
}
.hv-stage .hv-trip-panel.active .hv-trip-panel-head {
  border-bottom-color: rgba(195,107,62,0.35);
}

/* #4 — trust line treatment */
.hv-stage .hv-trust {
  margin-top: 28px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  font-size: 13.5px;
  opacity: 0.7;
  max-width: 44ch;
}
.hv-stage .hv-trust-bar {
  width: 18px;
  height: 1.5px;
  opacity: 1;
}

/* #5 — count chip on email subject */
.hv-stage .hv-mail-subj {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
}
.hv-stage .hv-mail-count {
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 600;
  color: var(--terracotta);
  background: rgba(195,107,62,0.10);
  padding: 2px 8px;
  border-radius: 999px;
  letter-spacing: 0.08em;
}

/* #6 — chip strip under the method blurb */
.hv-stage .hv-method-chips {
  list-style: none;
  margin: 10px 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 6px 8px;
}
.hv-stage .hv-method-chips li {
  font-family: var(--mono);
  font-size: 9.5px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--paper);
  opacity: 0.78;
  padding: 3px 9px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  background: rgba(250, 247, 242, 0.025);
  white-space: nowrap;
}

/* =========================================================
   v3 — Responsive: tablet (≤1024) + mobile (≤600)
   Scoped to .hv-stage-g (hero G only).
   Note: Design's draft used .is-active for the active Triptych
   panel; adapted to .active to match the existing JSX/CSS.
   ========================================================= */

/* ---------- Tablet (≤1024) ---------- */
@media (max-width: 1024px) {
  .hv-stage-g .hv-topbar {
    padding: 18px 32px;
  }
  .hv-stage-g .hv-topnav {
    gap: 22px;
  }

  .hv-stage-g .hv-e-grid {
    grid-template-columns: 1fr;
    gap: 48px;
    padding: 100px 32px 56px;
  }

  .hv-stage-g .hv-e-text {
    max-width: 640px;
  }

  .hv-stage-g .hv-e-headline {
    font-size: clamp(44px, 7.2vw, 68px);
    line-height: 1.02;
  }

  .hv-stage-g .hv-e-visual {
    max-width: 640px;
    width: 100%;
  }

  .hv-stage-g .hv-trip {
    gap: 10px;
  }
  .hv-stage-g .hv-trip-panel {
    padding: 14px 12px;
  }

  .hv-stage-g .hv-method {
    padding: 18px 20px;
    gap: 16px;
    grid-template-columns: 1fr auto;
  }
  .hv-stage-g .hv-method-icon {
    display: none;
  }
}

/* ---------- Mobile (≤600) ---------- */
@media (max-width: 600px) {
  .hv-stage-g .hv-topbar {
    padding: 14px 20px;
  }
  .hv-stage-g .hv-topnav {
    gap: 0;
  }
  .hv-stage-g .hv-topnav > a:not(.hv-pill),
  .hv-stage-g .hv-topnav > span:not(.hv-pill) {
    display: none;
  }
  .hv-stage-g .hv-pill {
    background: var(--terracotta);
    color: var(--paper);
    border-color: var(--terracotta);
    padding: 9px 14px;
    font-weight: 600;
  }
  .hv-stage-g .hv-pill:hover {
    background: var(--terracotta-2, #d68458);
    border-color: var(--terracotta-2, #d68458);
  }

  .hv-stage-g .hv-e-grid {
    gap: 36px;
    padding: 88px 24px 48px;
  }

  .hv-stage-g .hv-label {
    font-size: 10px;
    letter-spacing: 0.1em;
  }

  .hv-stage-g .hv-e-headline {
    font-size: clamp(34px, 9vw, 56px);
    line-height: 1.02;
    letter-spacing: -0.02em;
    max-width: none;
  }

  .hv-stage-g .hv-e-sub,
  .hv-stage-g .hv-g-sub {
    font-size: 17px;
    line-height: 1.55;
    max-width: none;
  }

  .hv-stage-g .hv-e-poetic {
    font-size: 14px;
  }

  .hv-stage-g .hv-trust {
    font-size: 12px;
  }

  /* Triptych — show-active-only carousel.
     Adapted from Design's `.is-active` to the existing `.active` class. */
  .hv-stage-g .hv-trip {
    grid-template-columns: 1fr;
    gap: 0;
    min-height: 380px;
    position: relative;
  }
  .hv-stage-g .hv-trip-panel {
    grid-column: 1;
    grid-row: 1;
    padding: 18px 16px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 220ms ease;
  }
  .hv-stage-g .hv-trip-panel.active {
    opacity: 1;
    pointer-events: auto;
  }

  .hv-stage-g .hv-trip-pager {
    margin-top: 14px;
    gap: 6px;
  }
  .hv-stage-g .hv-trip-pager button {
    min-height: 44px;
    min-width: 44px;
    font-size: 11px;
  }

  .hv-stage-g .hv-method {
    padding: 16px 18px;
    gap: 12px;
    grid-template-columns: 1fr;
  }
  .hv-stage-g .hv-method-body {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
  .hv-stage-g .hv-method-tag {
    font-size: 10px;
  }
  .hv-stage-g .hv-method-body p {
    font-size: 13px;
    line-height: 1.5;
  }
  .hv-stage-g .hv-method-chips {
    flex-wrap: wrap;
    gap: 6px;
  }
  .hv-stage-g .hv-method-chips li {
    font-size: 10px;
    padding: 4px 8px;
  }
  .hv-stage-g .hv-method-link {
    align-self: flex-start;
    font-size: 11px;
  }
}
