/* The home opening (Oct 30, v2): what I give you, in four short scenes.
   1 what works: new claims about the models, each stamped after I test it
   2 what it means: the models rise faster than most people expect; your picture catches up
   3 your ideas: what you've lived meets what the models can do, and ideas come out of the overlap
   4 tool to partner: that overlap shrinks into its place on the arc, between the tool behind us and what no one can see yet
   Everything inside the box is sized in em from one container-relative font size, so the scene scales as one picture. */

.hero h1 { font-size: clamp(2.5rem, 1.6rem + 3vw, 3.6rem); }
.hero h1 em { color: var(--human-ink); }

.stage { container-type: inline-size; }
.hz-box {
  position: relative; width: 100%; aspect-ratio: 600 / 460; font-size: 2.45cqw; line-height: 1.3;
  border-radius: 1.1em; background: var(--paper-2); border: 1px solid var(--rule); overflow: hidden;
}
.js .stage:not(.ready) .hz-box, .js .stage:not(.ready) .caps { visibility: hidden; }
.js .stage:not(.ready) .hz-box *, .js .stage:not(.ready) .cap { transition: none !important; }

/* a scene's layer fades in while its pieces arrive; scenes 3 and 4 share one layer */
.hz-s { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity .4s ease, visibility 0s linear .4s; }
.hz-box[data-scene="1"] .hz-s1, .hz-box[data-scene="2"] .hz-s2,
.hz-box[data-scene="3"] .hz-s34, .hz-box[data-scene="4"] .hz-s34 { opacity: 1; visibility: visible; transition: opacity .4s ease; }
.hz-box [data-on] { opacity: 0; transition: opacity .4s ease, transform .6s cubic-bezier(.2, .8, .2, 1); }
.hz-box [data-on].on { opacity: 1; }

/* 1. what works ----------------------------------------------------------------------- */
.hz-k { position: absolute; left: 6%; top: 6.5%; margin: 0; display: flex; align-items: center; gap: .6em; font-family: var(--mono); font-size: .8em; letter-spacing: .08em; text-transform: uppercase; color: var(--ai-ink); }
.hz-k::before { content: ""; width: .6em; height: .6em; border-radius: 50%; background: var(--ai); box-shadow: 0 0 0 .3em color-mix(in srgb, var(--ai) 22%, transparent); }
.hz-feed { position: absolute; left: 6%; right: 6%; top: 15%; display: grid; gap: .9em; margin: 0; padding: 0; list-style: none; }
.hz-card { display: flex; align-items: center; justify-content: space-between; gap: 1em; padding: .8em 1em .8em 1.1em; border-radius: .8em; background: var(--card); border: 1px solid var(--rule); border-left: .28em solid var(--ai); box-shadow: var(--shadow); transform: translateX(6%); }
.hz-card.on { transform: none; }
.hz-claim { display: grid; gap: .25em; min-width: 0; font-family: var(--mono); font-size: .9em; line-height: 1.35; color: var(--ink); }
.hz-claim small { font-size: .74em; letter-spacing: .1em; text-transform: uppercase; color: var(--ai-ink); }
.hz-claim span { transition: color .4s ease; }
.hz-stamp { flex: none; padding: .25em .7em .3em; border: .12em solid currentColor; border-radius: .4em; font-family: var(--serif); font-style: italic; font-weight: 600; font-size: 1.08em; white-space: nowrap; transform: rotate(-5deg) scale(1.6); }
.hz-stamp.on { transform: rotate(-5deg) scale(1); }
.hz-stamp.ok { color: var(--sym-ink); }
.hz-stamp.care { color: var(--human-ink); }
.hz-stamp.no { color: var(--ink-3); }
.hz-card:has(.hz-stamp.no.on) .hz-claim span { color: var(--ink-3); text-decoration: line-through; text-decoration-thickness: .08em; }
.hz-lesson { position: absolute; left: 6%; right: 6%; bottom: 8%; margin: 0; display: flex; align-items: center; gap: .7em; font-family: var(--serif); font-style: italic; font-size: 1.14em; line-height: 1.3; color: var(--human-ink); transform: translateY(.5em); }
.hz-lesson.on { transform: none; }
.hz-tag { flex: none; padding: .25em .65em; border-radius: 99em; background: var(--human); color: var(--on-human); font-family: var(--sans); font-style: normal; font-size: .58em; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }

/* 2. what it means -------------------------------------------------------------------- */
.hz-legend { position: absolute; left: 6%; right: 6%; top: 6%; display: flex; flex-wrap: wrap; gap: .4em 1.4em; margin: 0; padding: 0; list-style: none; font-size: .8em; }
.hz-legend li { display: flex; align-items: center; gap: .5em; }
.hz-legend li::before { content: ""; width: 1.6em; height: .26em; border-radius: 1em; background: currentColor; }
.hz-lg-ai { font-family: var(--mono); color: var(--ai-ink); }
.hz-lg-most { color: var(--ink-3); }
.hz-lg-you { font-family: var(--serif); font-style: italic; font-size: 1.12em; color: var(--human-ink); }
.hz-chart { position: absolute; left: 6%; width: 88%; top: 16%; aspect-ratio: 400 / 250; }
.hz-chart svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.hz-chart path, .hz-chart line { fill: none; stroke-linecap: round; stroke-linejoin: round; }
.hz-axis { stroke: var(--rule-strong); stroke-width: 1.5; }
.hz-now { stroke: var(--ink-3); stroke-width: 1.2; stroke-dasharray: 3 5; }
.hz-chart .hz-gapfill { fill: color-mix(in srgb, var(--ai) 15%, transparent); stroke: none; }
.hz-ai-line { stroke: var(--ai); stroke-width: 4; }
.hz-ai-next { stroke: var(--ai); stroke-width: 3; stroke-dasharray: .5 8; }
.hz-most { stroke: var(--ink-3); stroke-width: 2.6; }
.hz-yours { stroke: var(--human); stroke-width: 4.6; }
.hz-bracket { stroke: var(--ink-2); stroke-width: 1.6; }
.hz-chart .hz-meet { fill: var(--sym); stroke: var(--paper-2); stroke-width: 2.5; }
.hz-box .hz-draw[data-on] { opacity: 1; stroke-dasharray: 1; stroke-dashoffset: 1; transition: none; }
.hz-box .hz-draw[data-on].on { stroke-dashoffset: 0; transition: stroke-dashoffset 1.2s cubic-bezier(.4, 0, .2, 1); }
.hz-cl { position: absolute; margin: 0; font-size: .8em; line-height: 1.2; white-space: nowrap; }
.hz-cl-gap { left: 67%; top: 47%; font-family: var(--serif); font-style: italic; font-size: 1em; color: var(--ink-2); }
.hz-cl-next { left: 77.5%; top: 1%; font-family: var(--mono); color: var(--ai-ink); }
.hz-cl-now { left: 62.5%; top: 92.5%; transform: translateX(-50%); font-family: var(--mono); color: var(--ink-3); letter-spacing: .06em; text-transform: uppercase; font-size: .7em; }

/* 3. your ideas ----------------------------------------------------------------------- */
.hz-t { position: absolute; top: 5%; margin: 0; display: grid; gap: .2em; max-width: 44%; }
.hz-t-you { left: 6%; }
.hz-t-you b { font-family: var(--serif); font-style: italic; font-weight: 600; font-size: 1.2em; color: var(--human-ink); }
.hz-t-you small { font-size: .74em; color: var(--ink-3); }
.hz-t-ai { right: 6%; text-align: right; }
.hz-t-ai b { font-family: var(--mono); font-weight: 500; font-size: .86em; color: var(--ai-ink); }
.hz-venn { position: absolute; left: 0; width: 100%; top: 13%; aspect-ratio: 600 / 290; transform-origin: 50% 50%; transition: transform .9s cubic-bezier(.5, 0, .2, 1); }
.hz-venn svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.hz-ca { fill: color-mix(in srgb, var(--human) 20%, transparent); stroke: var(--human); stroke-width: 2.5; }
.hz-cb { fill: color-mix(in srgb, var(--ai) 20%, transparent); stroke: var(--ai); stroke-width: 2.5; }
.hz-venn .hz-cs { fill: var(--sym); }
.hz-va, .hz-vb, .hz-chips { transition: transform .9s cubic-bezier(.5, 0, .2, 1); }
.hz-va { transform: translateX(-54px); }
.hz-vb { transform: translateX(54px); }
.hz-box.joined .hz-va, .hz-box.joined .hz-vb { transform: none; }
.hz-chips { position: absolute; top: 33%; display: grid; gap: .45em; margin: 0; padding: 0; list-style: none; font-size: .74em; }
.hz-chips li { padding: .3em .6em; border-radius: .5em; background: var(--card); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hz-chips-you { left: 20.67%; width: 20.67%; transform: translateX(-43.5%); }
.hz-chips-you li { border: 1px solid color-mix(in srgb, var(--human) 60%, var(--rule)); color: var(--ink); }
.hz-chips-ai { right: 20.67%; width: 21.33%; text-align: right; transform: translateX(42.2%); font-family: var(--mono); }
.hz-chips-ai li { border: 1px solid color-mix(in srgb, var(--ai) 60%, var(--rule)); color: var(--ink); }
.hz-box.joined .hz-chips { transform: none; }
.hz-ideas { position: absolute; left: 5%; right: 5%; top: 75.5%; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .9em; margin: 0; padding: 0; list-style: none; }
.hz-ideas li { display: grid; align-content: start; gap: .25em; padding: .6em .8em .7em; border-radius: .7em; background: var(--card); border: 1.5px solid var(--sym); box-shadow: 0 0 0 .25em var(--sym-soft); font-size: .8em; line-height: 1.3; color: var(--ink); transform: translate(var(--dx, 0), -3.6em) scale(.55); }
.hz-ideas li:nth-child(1) { --dx: 104%; }
.hz-ideas li:nth-child(3) { --dx: -104%; }
.hz-ideas li.on { transform: none; }
.hz-ideas small { font-size: .78em; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--sym-ink); }

/* 4. tool to partner: the overlap shrinks into its place on the arc ---------------------- */
.hz-box.era .hz-venn { transform: translateY(-5.6%) scale(.38); }
.hz-slot { position: absolute; top: 30.5%; width: 24%; display: grid; justify-items: center; gap: .1em; margin: 0; text-align: center; }
.hz-slot1 { left: 8%; } .hz-slot2 { left: 38%; } .hz-slot3 { left: 68%; }
.hz-pic { display: block; width: 100%; aspect-ratio: 120 / 80; }
.hz-pic svg { display: block; width: 100%; height: 100%; }
.hz-ring { fill: none; stroke: var(--ink-3); stroke-width: 1.6; stroke-dasharray: 3 4; }
.hz-slot b { margin-top: .4em; font-family: var(--serif); font-weight: 600; font-size: 1.15em; }
.hz-slot span { font-size: .74em; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); }
.hz-slot2 b { color: var(--sym-ink); }
.hz-here { position: absolute; left: 50%; top: 23.5%; margin: 0; padding: .25em .75em; border-radius: 99em; background: var(--sym); color: var(--cta-ink); font-size: .66em; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; white-space: nowrap; transform: translate(-50%, .6em); }
.hz-here.on { transform: translate(-50%, 0); }
.hz-arrow { position: absolute; top: 40.5%; width: 5%; height: .14em; background: var(--rule-strong); }
.hz-arrow::after { content: ""; position: absolute; right: -.1em; top: 50%; width: .5em; height: .5em; border-top: .14em solid var(--rule-strong); border-right: .14em solid var(--rule-strong); transform: translateY(-50%) rotate(45deg); }
.hz-arrow1 { left: 32.5%; } .hz-arrow2 { left: 62.5%; }
.hz-w { position: absolute; left: 6%; right: 6%; margin: 0; text-align: center; text-wrap: balance; transform: translateY(.5em); }
.hz-w.on { transform: none; }
.hz-w1 { top: 67%; font-family: var(--mono); font-size: .86em; color: var(--ai-ink); }
.hz-w2 { top: 75%; font-family: var(--serif); font-style: italic; font-size: 1.28em; line-height: 1.25; color: var(--human-ink); }

/* on a phone: a taller box; titles and chips above the circles, the ideas stacked under them */
@container (max-width: 520px) {
  .hz-box { aspect-ratio: 1 / 1.25; font-size: 3.4cqw; }
  .hz-k { top: 5%; }
  .hz-feed { top: 12%; gap: .8em; }
  .hz-card { flex-direction: column; align-items: flex-start; gap: .55em; padding: .7em .9em; }
  .hz-stamp { font-size: .98em; }
  .hz-lesson { bottom: 5%; }
  .hz-chart { left: 5%; width: 90%; top: 9%; }
  .hz-legend { top: 66%; flex-direction: column; gap: .55em; }
  .hz-cl-gap { left: 66%; }
  .hz-cl-next { left: 74%; top: -3%; }
  .hz-t { top: 4%; }
  .hz-t-ai b { font-size: .8em; }
  .hz-chips, .hz-box.joined .hz-chips { top: -72%; width: 55%; transform: none; }   /* the chips sit in the circles' box: these lift them above the circles */
  .hz-chips-you { left: -8%; }
  .hz-chips-ai { right: -8%; }
  .hz-chips li { white-space: normal; }
  .hz-venn { left: 12%; width: 76%; top: 35%; }
  .hz-ideas { top: 67%; grid-template-columns: 1fr; gap: .5em; }
  .hz-ideas li { display: flex; align-items: baseline; gap: .6em; padding: .45em .75em; transform: translateY(-2.6em) scale(.7); }
  .hz-box.era .hz-venn { transform: translateY(-72%) scale(.5); }
  .hz-slot { top: 21%; width: 28%; }
  .hz-slot1 { left: 4%; } .hz-slot2 { left: 36%; } .hz-slot3 { left: 68%; }
  .hz-here { top: 14.5%; }
  .hz-arrow { top: 30%; width: 3%; }
  .hz-arrow1 { left: 32.5%; } .hz-arrow2 { left: 64.5%; }
  .hz-w1 { top: 58%; }
  .hz-w2 { top: 68%; }
}

/* steps: jump to any part */
.hx-steps { display: flex; gap: 6px; margin-top: 12px; }
.hx-step { flex: 1; min-width: 0; display: grid; gap: 6px; padding: 6px 2px 2px; background: none; border: 0; color: var(--ink-3); font: inherit; font-size: .78rem; font-weight: 600; text-align: left; cursor: pointer; }
.hx-step i { display: block; height: 3px; border-radius: 2px; background: var(--rule-strong); overflow: hidden; }
.hx-step i b { display: block; height: 100%; width: calc(var(--p, 0) * 100%); background: var(--ink-2); }
.hx-step[aria-current="step"], .hx-step:hover { color: var(--ink); }
.hx-step span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hx-steps .stage-pause { position: static; flex: none; align-self: center; width: 40px; height: 40px; margin-left: 4px; }
.caps { margin-top: 8px; }

/* the three ways in: real links with real pictures, under the scene from the first frame */
.ways { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-top: 16px; }
.way { position: relative; display: grid; grid-template-rows: auto 1fr auto; gap: 8px; padding: 8px 8px 12px; border-radius: 14px; border: 1px solid var(--rule-strong); background: var(--card); text-decoration: none; transition: border-color .2s ease, transform .2s ease, box-shadow .3s ease; }
.way:hover { border-color: var(--ink-2); transform: translateY(-2px); }
.way img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 8; object-fit: cover; border-radius: 8px; }
.way-txt { display: grid; gap: 2px; padding: 0 4px; }
.way-txt b { font-family: var(--serif); font-weight: 600; font-size: 1.08rem; line-height: 1.15; }
.way-txt span { font-size: .8rem; line-height: 1.35; color: var(--ink-3); }
.way em { padding: 0 4px; font-style: normal; font-weight: 600; font-size: 1.05rem; }
.way em small { font-size: .72em; font-weight: 500; color: var(--ink-3); }
.way-rec { border-color: var(--sym); box-shadow: 0 0 0 3px var(--sym-soft); }
.way-tag { position: absolute; top: -9px; right: 12px; z-index: 1; padding: 3px 8px; border-radius: 99px; background: var(--sym); color: var(--cta-ink); font-size: .64rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.way-live { position: absolute; top: 14px; left: 14px; z-index: 1; display: inline-flex; align-items: center; gap: 6px; padding: 3px 8px 3px 6px; border-radius: 99px; background: rgba(10, 12, 10, .78); color: #fff; font-size: .66rem; font-weight: 600; }
.way-live .live-dot { width: 6px; height: 6px; }
.ways.lit .way { animation: hv-lit 1.6s ease both; }
.ways.lit .way:nth-child(2) { animation-delay: .25s; }
.ways.lit .way:nth-child(3) { animation-delay: .5s; }
@keyframes hv-lit { 0%, 100% { box-shadow: 0 0 0 0 transparent; } 35% { box-shadow: 0 0 0 4px color-mix(in srgb, var(--human) 45%, transparent); border-color: var(--human); } }
.way-rec.way-rec { animation-name: hv-lit-rec; }
@keyframes hv-lit-rec { 0%, 100% { box-shadow: 0 0 0 3px var(--sym-soft); } 35% { box-shadow: 0 0 0 5px color-mix(in srgb, var(--human) 45%, transparent); border-color: var(--human); } }
@container (max-width: 520px) {
  .hx-step { font-size: .72rem; }
  .ways { grid-template-columns: 1fr; gap: 8px; }
  .way { grid-template-columns: 92px minmax(0, 1fr) auto; grid-template-rows: auto; align-items: center; gap: 12px; padding: 8px 14px 8px 8px; }
  .way img { aspect-ratio: 16 / 10; }
  .way-txt, .way em { padding: 0; }
  .way-tag { top: -8px; right: 12px; }
  .way-live { top: 12px; left: 12px; padding: 2px 5px; font-size: 0; gap: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .hz-box *, .way { transition: none !important; }
  .live-dot::after, .ways.lit .way { animation: none !important; }
}
