/* Hero, editorial pass (Dan, 2026-11-23). Art direction and type only; the
   painting, the words and the order of ideas are unchanged. Loaded last.

   Hierarchy, in the order a visitor should meet it:
     1. the headline, warm ivory, the one heavy thing
     2. the promise, its own line, ivory serif, a step down
     3. the description, lavender-grey sans at a reading weight
     4. Corey, set as a pull quote on a hairline gold rule
     5. your choice of AI, a small eyebrow over the models
     6. the lantern (primary) and a quieter gold door (secondary)
     7. setup, small print under the actions
   Structure comes from space, type and colour; no new boxes. The halo under
   each line is lighter; a feathered pool of the page's navy steadies the
   words where the bright clouds drift behind them. */

.hh {
  --hx-ivory: #f5efe3;
  --hx-body: #d1d0dc;
  --hx-champagne: #f3d58b;
  --hx-gold-quiet: #e2c98f;
  --hx-peri: #a9adca;
  --hx-peri-dim: #9da2c3;
  --hx-rule: color-mix(in srgb, var(--hx-champagne) 62%, transparent);
  --hx-halo: 0 1px 16px color-mix(in srgb, var(--paper) 70%, transparent), 0 0 3px color-mix(in srgb, var(--paper) 55%, transparent);
}

/* ── type and colour, every width ─────────────────────────────────── */
.hh .hh-text :is(p, a, span, small) { text-shadow: var(--hx-halo); }

.hh .hh-statement {
  color: var(--hx-ivory);
  font-weight: 500;
  letter-spacing: -0.024em;
  line-height: 1.01;
  text-shadow: 0 2px 30px color-mix(in srgb, var(--paper) 75%, transparent);
}

.hh .hh-lead {
  margin: 0;
  font: 500 clamp(20px, calc(0.55vw + 13px), 29px)/1.32 var(--display);
  letter-spacing: -0.006em;
  color: var(--hx-ivory);
  text-wrap: balance;
}

.hh .hh-bridge {
  font-family: var(--body); font-weight: 400;
  line-height: 1.65; letter-spacing: 0.003em;
  color: var(--hx-body);
  text-wrap: pretty;
}

/* the pull quote: a hairline of champagne down its left, no floating mark */
.hh .hh-quote {
  position: relative;
  padding: 0.1em 0 0.15em clamp(18px, 1.3vw, 26px);
  color: var(--hx-champagne);
  font-family: var(--display); font-style: italic; font-weight: 400;
  background: none; border: 0; border-radius: 0;
  text-wrap: balance;
}
.hh .hh-quote::before {
  content: ""; position: absolute; translate: none;
  left: 0; top: 0.28em; bottom: 0.3em; width: 1.5px;
  background: linear-gradient(to bottom, var(--hx-rule), color-mix(in srgb, var(--hx-champagne) 22%, transparent));
  font-size: inherit; line-height: 0; margin: 0;
}
.hh .hh-quote small {
  display: block;
  margin-top: 0.6em;
  font-style: italic; font-weight: 400;
  line-height: 1.5;
  color: var(--hx-body);
  text-wrap: balance;
}
.hh .hh-quote span {
  display: block;
  margin-top: 1.05em;
  font: 500 clamp(11px, calc(0.12vw + 9.4px), 12.5px)/1.4 var(--body);
  font-style: normal; text-transform: uppercase; letter-spacing: 0.13em;
  color: var(--hx-peri);
}

/* your choice of AI: a benefit with a small label, not a disclaimer */
.hh .hh-ai { margin: 0; }
.hh .hh-eyebrow {
  margin: 0 0 0.55em;
  font: 600 clamp(11px, calc(0.12vw + 9.4px), 12.5px)/1.3 var(--body);
  text-transform: uppercase; letter-spacing: 0.15em;
  color: var(--hx-gold-quiet);
}
.hh .hh-ai .hh-models {
  margin: 0;
  font-weight: 400; line-height: 1.6; letter-spacing: 0.004em;
  color: var(--hx-peri);
  text-wrap: balance;
}

/* the lantern: same warm amber, a calmer shape */
.hh .acts .cta {
  border-radius: 14px;
  font-weight: 600; letter-spacing: 0.012em;
}
/* the second door: a hairline of muted gold, plainly a button */
.hh .acts .act-quiet {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.45em;
  box-sizing: border-box;
  border: 1px solid color-mix(in srgb, var(--hx-gold-quiet) 42%, transparent);
  border-radius: 14px;
  background: color-mix(in srgb, var(--paper) 30%, transparent);
  color: var(--hx-gold-quiet);
  font-weight: 500;
  text-decoration: none;
  transition: color 260ms var(--ease-calm), border-color 260ms var(--ease-calm), background-color 260ms var(--ease-calm);
}
.hh .acts .act-quiet:hover {
  color: var(--hx-champagne);
  border-color: color-mix(in srgb, var(--hx-champagne) 70%, transparent);
  background: color-mix(in srgb, var(--hx-champagne) 8%, color-mix(in srgb, var(--paper) 30%, transparent));
}
.hh .acts .act-quiet:focus-visible { outline: 2px solid var(--hx-champagne); outline-offset: 3px; }

.hh .hh-setup {
  font: 400 clamp(13px, calc(0.1vw + 11.5px), 14.5px)/1.5 var(--body);
  letter-spacing: 0.01em;
  color: var(--hx-peri-dim);
}

/* ── laptops and up: the words on the left of one wide scene ──────────── */
@media (min-width: 1000px) {
  /* a little more navy where the words sit, feathered to nothing, so the
     clouds still glow beyond the column */
  .hh::before {
    background:
      radial-gradient(ellipse 52% 74% at 26% 50%, color-mix(in srgb, var(--paper) 90%, transparent) 0%, color-mix(in srgb, var(--paper) 76%, transparent) 46%, color-mix(in srgb, var(--paper) 30%, transparent) 74%, transparent 100%),
      linear-gradient(to right, color-mix(in srgb, var(--paper) 62%, transparent) 0%, color-mix(in srgb, var(--paper) 28%, transparent) 46%, transparent 68%);
  }
  .hh .hh-text { padding: clamp(24px, 4vh, 72px) 0; }
  /* the pool travels with the column at every width: dense under the words,
     reaching nothing exactly at its own edge (closest-side), so no seam */
  .hh .hh-text::before {
    content: ""; position: absolute; z-index: -1; pointer-events: none;
    inset: -18% -40% -20% -40%;
    background: radial-gradient(closest-side at 50% 50%,
      color-mix(in srgb, var(--paper) 84%, transparent) 0%,
      color-mix(in srgb, var(--paper) 80%, transparent) 60%,
      color-mix(in srgb, var(--paper) 44%, transparent) 82%,
      transparent 100%);
  }

  .hh .hh-statement { font-size: clamp(46px, calc(2.6vw + 16px), 100px); }
  .hh .hh-lead { margin-top: clamp(22px, 1.7vw, 38px); max-width: 24em; }
  .hh .hh-bridge {
    margin: clamp(18px, 1.35vw, 30px) 0 0; max-width: 33em;
    font-size: clamp(16px, calc(0.3vw + 11.5px), 20px);
  }
  /* one even beat between the four groups: intro, quote, AI, actions */
  .hh .hh-quote {
    margin: clamp(36px, 2.9vw, 64px) 0 0; max-width: 24em;
    font-size: clamp(22px, calc(0.8vw + 12px), 33px); line-height: 1.24;
  }
  .hh .hh-quote small { font-size: clamp(15px, calc(0.25vw + 11.5px), 19px); }
  .hh .hh-ai { margin-top: clamp(40px, 3.1vw, 68px); }
  .hh .hh-ai .hh-models { max-width: 40em; font-size: clamp(14.5px, calc(0.18vw + 11.5px), 17px); }
  .hh .acts { margin-top: clamp(40px, 3.1vw, 68px); gap: clamp(12px, 1vw, 20px); align-items: center; }
  .hh .acts .cta { padding: 0.8em 1.45em 0.84em; font-size: clamp(17px, calc(0.22vw + 12.8px), 20px); }
  .hh .acts .act-quiet { padding: 0.8em 1.25em 0.84em; font-size: clamp(15.5px, calc(0.2vw + 11.8px), 18.5px); line-height: 1.15; }
  .hh .hh-setup { margin: clamp(12px, 0.9vw, 18px) 0 0; }
}

/* ── tablets: one column, set left like a page, the painting below ─────── */
@media (min-width: 761px) and (max-width: 999px) {
  .hh .hh-text { text-align: left; max-width: 680px; padding-inline: 40px; box-sizing: content-box; }
  .hh .hh-statement { font-size: 60px; }
  .hh .hh-lead { margin-top: 22px; font-size: 23px; }
  .hh .hh-bridge { margin: 16px 0 0; max-width: none; font-size: 17.5px; }
  .hh .hh-quote { margin: 38px 0 0; max-width: 24em; font-size: 25px; line-height: 1.26; }
  .hh .hh-quote small { font-size: 16.5px; }
  .hh .hh-ai { margin-top: 42px; }
  .hh .hh-ai .hh-models { font-size: 15.5px; }
  .hh .acts { justify-content: flex-start; margin-top: 42px; gap: 14px; }
  .hh .acts .cta { padding: 15px 26px 16px; font-size: 18px; }
  .hh .acts .act-quiet { padding: 15px 22px 16px; font-size: 16.5px; line-height: 1.15; }
  .hh .hh-setup { margin: 14px 0 0; }
}

/* ── phones: the painting, then one left-set column ─────────────────────── */
@media (max-width: 760px) {
  .hh .hh-text { align-items: stretch; text-align: left; padding-inline: 22px; }
  .hh .hh-statement { order: 1; font-size: 42px; line-height: 1.02; }
  .hh .hh-lead { order: 2; margin-top: 16px; font-size: 20px; line-height: 1.32; }
  .hh .hh-bridge { order: 3; margin: 10px 0 0; max-width: none; font-size: 16.5px; line-height: 1.62; }
  .hh .acts { order: 4; align-self: stretch; max-width: none; margin-top: 26px; }
  .hh .acts .cta { border-radius: 14px; }
  .hh .acts .act-quiet {
    border-radius: 14px; -webkit-backdrop-filter: none; backdrop-filter: none;
    color: var(--hx-gold-quiet); font-weight: 500;
  }
  .hh .hh-setup { order: 5; text-align: left; margin: 12px 0 0; font-size: 13.5px; }
  .hh .hh-quote {
    order: 6; box-sizing: border-box; width: auto; max-width: none;
    margin: 40px 0 0; padding: 0.1em 0 0.15em 18px;
    background: none; border: 0; border-radius: 0;
    color: var(--hx-champagne); font: italic 400 22px/1.28 var(--display);
  }
  .hh .hh-quote::before { position: absolute; display: block; }
  .hh .hh-quote small { font-size: 16px; }
  .hh .hh-quote span { font-size: 11px; color: var(--hx-peri); }
  .hh .hh-ai { order: 7; margin-top: 32px; }
  .hh .hh-ai .hh-models { margin: 0; max-width: none; font-size: 15px; color: var(--hx-peri); }
}
