/* Hubble product page. Bands alternate white and mist; black bands carry the hero, the two statements and the contact.
   Labels are set in JetBrains Mono, loaded on this page only. */
.hubble { --f-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace; --hb-rule: var(--color-surface-strong); --hb-rule-night: #2A2A2E; --hb-dim: #9A9AA0; }
.hubble h2, .hubble h3 { font-family: var(--f-display); text-wrap: balance; margin: 0; }
.hubble h2 { font-size: clamp(1.75rem, 1rem + 2.6vw, 3.125rem); line-height: 1.04; letter-spacing: -0.035em; font-weight: 700; max-width: none; }
.hubble h3 { font-size: clamp(1.1875rem, 1rem + .4vw, 1.375rem); line-height: 1.2; letter-spacing: -0.02em; font-weight: 700; }
.hubble p { margin: 0; }
.hb-orange { color: var(--color-accent); }
.hb-mono { font-family: var(--f-mono); font-size: .75rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 500; color: var(--color-muted-foreground); }
.hb-num { display: block; font-family: var(--f-mono); font-size: .75rem; letter-spacing: .1em; font-weight: 500; color: var(--color-accent-text); }
.hubble :focus-visible { outline: 2px solid var(--color-accent); outline-offset: 3px; }

/* Hero on the night page head. The canvas fills the hero: raw points enter on the left behind the copy
   and sort into clusters on the right. */
.hb-hero { position: relative; isolation: isolate; align-items: center; row-gap: var(--primitive-spacing-8); padding-bottom: var(--primitive-spacing-16); min-height: min(52rem, 100svh); }
.hb-hero-copy { grid-column: 1 / 7; display: flex; flex-direction: column; gap: var(--primitive-spacing-6); position: relative; z-index: 1; }
.hubble .hb-hero h1 { font-size: clamp(2.75rem, 1.4rem + 4vw, 5.25rem); line-height: .95; letter-spacing: -0.045em; max-width: 13ch; }
.hb-hero .lead { max-width: none; color: var(--color-on-night-muted); font-size: clamp(1.1875rem, 1rem + .6vw, 1.5rem); line-height: 1.38; }
.hb-hero-meta { display: flex; flex-wrap: wrap; gap: var(--primitive-spacing-4) var(--primitive-spacing-8); align-items: center; margin-top: var(--primitive-spacing-4); }
.hb-hero .hb-mono { color: var(--hb-dim); }
.hb-hero-art { position: absolute; inset: 0; margin: 0; z-index: 0; pointer-events: none; }
.hb-hero-art canvas, .hb-lens-stage canvas { display: block; width: 100%; height: auto; max-width: 100%; }
.hb-hero-art figcaption { position: absolute; right: var(--margin-r); bottom: var(--primitive-spacing-6); font-size: .6875rem; letter-spacing: .1em; color: #6E6E76; }

/* Bands */
.hb-band { padding-block: var(--primitive-spacing-24); }
.hb-band--mist { background: var(--color-surface); }
.hb-band--night { background: var(--color-night); color: var(--color-on-night); }
.hb-in { grid-column: 1 / 13; display: flex; flex-direction: column; gap: var(--primitive-spacing-8); min-width: 0; }
.hb-head { display: flex; flex-direction: column; gap: var(--primitive-spacing-4); }
.hb-lead { font-size: clamp(1.1875rem, 1rem + .55vw, 1.5rem); line-height: 1.4; color: var(--color-muted-foreground); max-width: none; }
.hb-band--night .hb-lead, .hb-band--night .hb-item p { color: var(--hb-dim); }
.hb-band--night .hb-mono { color: var(--hb-dim); }

/* Grids */
.hb-cols { display: grid; gap: var(--primitive-spacing-12) var(--primitive-spacing-8); }
.hb-cols--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--primitive-spacing-12) var(--primitive-spacing-12); }
.hb-cols--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.hb-cols--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.hb-item { display: flex; flex-direction: column; gap: .625rem; min-width: 0; border-top: 1px solid var(--hb-rule); padding-top: 1.125rem; }
.hb-item p { color: var(--color-muted-foreground); font-size: 1.0625rem; line-height: 1.55; }
.hb-band--night .hb-item { border-top-color: var(--hb-rule-night); }
.hb-item--hot, .hb-band--night .hb-item--hot { border-top: 2px solid var(--color-accent); }

/* Sources: the list beside a ring of nine sources streaming into Hubble */
.hb-intake { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--primitive-spacing-12); align-items: start; }
.hb-source-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--hb-rule); }
.hb-source-list li { display: grid; grid-template-columns: minmax(0, 1fr); gap: .25rem; border-bottom: 1px solid var(--hb-rule); border-left: 2px solid transparent; padding: .875rem 1rem .9375rem; cursor: default; transition: background-color var(--primitive-motion-fast) ease, border-color var(--primitive-motion-fast) ease; }
.hb-source-list li.is-on { border-left-color: var(--color-accent); background: var(--color-background); }
.hb-source-list h3 { font-size: 1.125rem; }
.hb-source-list p { font-family: var(--f-mono); font-size: .75rem; line-height: 1.5; color: var(--color-muted-foreground); letter-spacing: .01em; }
.hb-intake-art { margin: 0; min-width: 0; position: sticky; top: calc(var(--bar) + var(--primitive-spacing-6)); }
.hb-intake-stage { background: var(--color-night); padding: 1.125rem 0; }
.hb-intake-stage canvas { display: block; max-width: 100%; }

/* Pipeline */
.hb-rail { font-family: var(--f-mono); font-size: .71875rem; letter-spacing: .14em; text-transform: uppercase; color: var(--color-muted-foreground); background: var(--color-surface); padding: .75rem 1rem; }
.hb-stages { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); }
.hb-stages { margin-block: .875rem; }
.hb-stages li { padding: 1.5rem 1.375rem 1.75rem 0; border-top: 2px solid var(--hb-rule); min-width: 0; }
.hb-stages li:last-child { border-top-color: var(--color-accent); }
.hb-stages .hb-num { margin-bottom: .75rem; }
.hb-stages h3 { font-size: 1.125rem; margin-bottom: .5rem; }
.hb-stages p { font-size: .90625rem; line-height: 1.5; color: var(--color-muted-foreground); }

/* Statements */
.hubble h2.hb-statement { font-size: clamp(2rem, 1rem + 3.9vw, 4.25rem); max-width: none; letter-spacing: -0.04em; }

/* Record */
.hb-record, .hb-fields, .hb-asks { list-style: none; margin: 0; padding: 0; }
.hb-record { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--hb-rule); align-content: start; }
.hb-record li { border-bottom: 1px solid var(--hb-rule); padding: 1rem 1.25rem 1rem 0; font-family: var(--f-display); font-weight: 500; font-size: 1.125rem; letter-spacing: -0.015em; min-width: 0; }
.hb-fields-wrap { display: flex; flex-direction: column; gap: .75rem; }
.hb-fields-wrap > p { color: var(--color-muted-foreground); }
.hb-fields { display: flex; flex-wrap: wrap; border-top: 1px solid var(--hb-rule); margin-top: .25rem; }
.hb-fields li { font-family: var(--f-mono); font-size: .75rem; letter-spacing: .1em; text-transform: uppercase; color: var(--color-muted-foreground); padding: .875rem 1.75rem .875rem 0; }

/* Lenses */
.hb-lenses { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--primitive-spacing-12); align-items: start; }
.hb-tabs { display: flex; flex-direction: column; border-top: 1px solid var(--hb-rule); }
.hb-tab { appearance: none; background: none; border: 0; border-radius: 0; border-bottom: 1px solid var(--hb-rule); border-left: 2px solid transparent; text-align: left; padding: 1.25rem 1rem 1.375rem; cursor: pointer; font: inherit; color: var(--color-foreground); display: flex; flex-direction: column; gap: .4375rem; width: 100%; transition: background-color var(--primitive-motion-fast) ease, border-color var(--primitive-motion-fast) ease; }
.hb-tab:hover { background: var(--color-background); }
.hb-tab[aria-selected="true"] { border-left-color: var(--color-accent); background: var(--color-background); }
.hb-q { font-family: var(--f-mono); font-size: .71875rem; letter-spacing: .12em; text-transform: uppercase; color: var(--color-accent-text); font-weight: 500; }
.hb-t { font-family: var(--f-display); font-size: 1.25rem; font-weight: 700; letter-spacing: -0.02em; line-height: 1.2; }
.hb-d { font-size: .90625rem; line-height: 1.5; color: var(--color-muted-foreground); }
.hb-lens-stage { background: var(--color-night); padding: 1.125rem; color: var(--color-on-night); }
.hb-caption { font-size: .6875rem; letter-spacing: .1em; padding-top: .875rem; display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem 1rem; }
.hb-eg { color: #8A8A92; }
.hb-qa { border-top: 1px solid var(--hb-rule-night); margin-top: 1.125rem; padding-top: 1rem; min-height: 13.5rem; }
.hb-ask { font-family: var(--f-mono); font-size: .875rem; line-height: 1.5; color: var(--color-on-night); }
.hb-prompt { color: var(--color-accent); }
.hb-ask .typing::after, #hb-ask-text.typing::after { content: ""; display: inline-block; width: .55em; height: 1em; margin-left: 2px; vertical-align: -0.15em; background: var(--color-accent); }
.hb-answer { list-style: none; margin: .875rem 0 0; padding: 0; display: grid; gap: 0; }
.hb-answer li { display: grid; grid-template-columns: minmax(0, 11rem) minmax(0, 1fr); gap: 1rem; padding: .5625rem 0; border-top: 1px solid #1E1E22; opacity: 0; transform: translateY(4px); transition: opacity 360ms var(--ease-out), transform 360ms var(--ease-out); }
.hb-answer li.in { opacity: 1; transform: none; }
.hb-k { font-family: var(--f-mono); font-size: .6875rem; letter-spacing: .1em; text-transform: uppercase; color: #8A8A92; padding-top: .2rem; }
.hb-v { font-size: .9375rem; line-height: 1.45; color: var(--color-on-night); }
@media (prefers-reduced-motion: reduce) { .hb-answer li { transition: none; } }

/* Ask why: pick a question, then each step is checked in turn */
.hb-why { display: flex; flex-direction: column; gap: var(--primitive-spacing-6); }
.hb-why-asks { display: flex; flex-wrap: wrap; gap: .75rem; }
.hb-why-q { appearance: none; border: 1px solid var(--hb-rule); border-radius: 0; background: var(--color-background); color: var(--color-foreground); font-family: var(--f-mono); font-size: .875rem; padding: .875rem 1.125rem; min-height: 44px; cursor: pointer; text-align: left; transition: border-color var(--primitive-motion-fast) ease, background-color var(--primitive-motion-fast) ease, color var(--primitive-motion-fast) ease; }
.hb-why-q:hover { border-color: var(--color-foreground); }
.hb-why-q[aria-pressed="true"] { background: var(--color-night); color: var(--color-on-night); border-color: var(--color-night); }
.hb-why-board { background: var(--color-night); color: var(--color-on-night); padding: var(--primitive-spacing-8); display: flex; flex-direction: column; gap: var(--primitive-spacing-6); }
.hb-why-track { position: relative; height: 2px; background-image: linear-gradient(90deg, #3A3A40 0 2px, transparent 2px 7px); background-size: 7px 2px; }
.hb-why-probe { --at: .125; position: absolute; top: 50%; left: calc(var(--at) * 100%); width: 12px; height: 12px; margin: -6px 0 0 -6px; border-radius: 50%; background: var(--color-accent); box-shadow: 0 0 0 5px rgba(255, 97, 35, .18); transition: left 600ms var(--ease-out); }
.hb-why-probe.is-done { box-shadow: 0 0 0 8px rgba(255, 97, 35, .12); }
.hb-why-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--primitive-spacing-6); }
.hb-why-steps li { display: flex; flex-direction: column; gap: .5rem; border-top: 2px solid #2A2A2E; padding-top: 1rem; min-width: 0; transition: border-color 300ms ease, opacity 300ms ease; }
.hb-why-steps .hb-num { color: var(--hb-dim); }
.hb-why-t { font-family: var(--f-display); font-weight: 700; font-size: 1.125rem; letter-spacing: -0.015em; line-height: 1.2; }
.hb-why-v { font-family: var(--f-mono); font-size: .6875rem; letter-spacing: .12em; text-transform: uppercase; color: var(--hb-dim); }
.hb-why-v.is-found, .hb-why-v.is-traced { color: var(--color-accent); }
.hb-why-d { font-size: .9375rem; line-height: 1.45; color: var(--color-on-night-muted); }
.hb-why-steps li.is-wait { opacity: .35; }
.hb-why-steps li.is-wait .hb-why-v, .hb-why-steps li.is-wait .hb-why-d, .hb-why-steps li.is-checking .hb-why-d { visibility: hidden; }
.hb-why-steps li.is-checking { border-top-color: var(--color-accent); }
.hb-why-steps li.is-checking .hb-why-v { visibility: visible; color: var(--color-accent); font-size: 0; }
.hb-why-steps li.is-checking .hb-why-v::before { content: "Checking"; font-size: .6875rem; animation: hb-blink 900ms steps(2) infinite; }
.hb-why-steps li.is-done:has(.is-found), .hb-why-steps li.is-done:has(.is-traced) { border-top-color: var(--color-accent); }
@keyframes hb-blink { 50% { opacity: .35; } }
.hb-why-cause { border-left: 2px solid var(--color-accent); padding: .25rem 0 .25rem 1.375rem; display: flex; flex-direction: column; gap: .5rem; opacity: 0; transform: translateY(6px); transition: opacity 500ms var(--ease-out), transform 500ms var(--ease-out); }
.hb-why-cause.in { opacity: 1; transform: none; }
.hb-why-cause .hb-said { color: var(--color-on-night); }
.hb-why-cause .hb-mono { color: var(--color-accent); }
.hb-why-src { font-size: .875rem; color: var(--hb-dim); }
.hb-why-foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 1rem; border-top: 1px solid #1E1E22; padding-top: var(--primitive-spacing-4); }
.hb-why-foot .hb-eg { color: #8A8A92; font-size: .6875rem; }
@media (prefers-reduced-motion: reduce) { .hb-why-probe, .hb-why-cause, .hb-why-steps li { transition: none; } .hb-why-steps li.is-checking .hb-why-v::before { animation: none; } }

/* Quote style shared with the record */
.hb-said { font-family: var(--f-display); font-weight: 700; font-size: clamp(1.25rem, 1rem + .8vw, 1.6875rem); line-height: 1.15; letter-spacing: -0.025em; }

/* Ask */
.hb-label { padding-bottom: .875rem; }
.hb-asks { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--hb-rule); }
.hb-asks li { border-bottom: 1px solid var(--hb-rule); padding: 1.125rem 1.5rem 1.125rem 0; min-width: 0; font-family: var(--f-display); font-weight: 500; font-size: clamp(1.0625rem, 1rem + .3vw, 1.3125rem); letter-spacing: -0.02em; }

/* Contact */
.hb-contact { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; margin-top: 1.75rem; }
.hb-email { font-family: var(--f-mono); font-size: clamp(1rem, .8rem + 1vw, 1.5rem); color: var(--color-on-night); user-select: all; letter-spacing: -0.01em; text-decoration: none; overflow-wrap: anywhere; }
.hb-email:hover { color: var(--color-accent); }
.hb-copy { appearance: none; background: none; border: 1px solid #3A3A40; border-radius: 0; color: var(--hb-dim); font-family: var(--f-mono); font-size: .6875rem; letter-spacing: .12em; text-transform: uppercase; padding: .5625rem .875rem; min-height: 44px; cursor: pointer; transition: border-color var(--primitive-motion-fast) ease, color var(--primitive-motion-fast) ease; }
.hb-copy:hover { border-color: var(--color-accent); color: var(--color-accent); }

@media (max-width: 899px) {
  .hb-hero { min-height: 0; padding-bottom: var(--primitive-spacing-8); }
  .hb-hero-copy { grid-column: 1 / 13; }
  .hb-hero-art { position: relative; inset: auto; grid-column: 1 / 13; height: clamp(24rem, 112vw, 38rem); margin-inline: calc(var(--margin) * -1) calc(var(--margin-r) * -1); }
  .hb-hero-art figcaption { right: var(--margin-r); }
  .hb-intake { grid-template-columns: minmax(0, 1fr); gap: var(--primitive-spacing-8); }
  .hb-intake-art { position: static; order: -1; }
  .hb-hero-art figcaption { bottom: 0; }
  .hb-cols--3, .hb-cols--4, .hb-stages, .hb-why-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hb-why-board { padding: var(--primitive-spacing-6); }
  .hb-why-track { display: none; }
  .hb-stages li { border-top: 2px solid var(--hb-rule); padding-right: 1.125rem; }
  .hb-stages li:last-child { border-top-color: var(--color-accent); }
  .hb-lenses { grid-template-columns: minmax(0, 1fr); gap: var(--primitive-spacing-8); }
  .hb-band { padding-block: var(--primitive-spacing-16); }
}
@media (max-width: 620px) {
  .hb-cols--2, .hb-cols--3, .hb-cols--4, .hb-stages, .hb-why-steps, .hb-record, .hb-asks { grid-template-columns: minmax(0, 1fr); }
  .hb-answer li { grid-template-columns: minmax(0, 1fr); gap: .125rem; }
  .hb-qa { min-height: 15.5rem; }
  .hubble h2 { max-width: none; }
}

/* Two black bands in a row: a hairline between them */
.hb-band--joined { border-top: 1px solid #1E1E22; }

/* ---------- Restructure, after Vesence: show the product, say less, one grid of live cards ---------- */
.hb-band--tight { padding-block: var(--primitive-spacing-16); }
.btn.hb-btn-ghost { background: transparent; color: inherit; box-shadow: inset 0 0 0 1px currentColor; }
.btn.hb-btn-ghost:hover { background: rgba(255, 255, 255, .08); }
.hb-band .btn.hb-btn-ghost:hover, .hb-close .btn.hb-btn-ghost:hover { background: rgba(0, 0, 0, .06); }
.hb-proof { display: flex; align-items: center; gap: var(--primitive-spacing-4); margin-top: var(--primitive-spacing-4); }
.hb-proof img { width: 92px; height: auto; }
.hb-proof .hb-mono { font-size: .6875rem; letter-spacing: .1em; }

/* The product frame */
.hb-app { margin: 0; }
.hb-app-bar { display: flex; align-items: center; gap: .4rem; background: var(--color-surface); border: 1px solid var(--hb-rule); border-bottom: 0; padding: .625rem .875rem; }
.hb-app-bar > span { width: 9px; height: 9px; border-radius: 50%; background: var(--hb-rule); }
.hb-app-bar .hb-mono { margin-left: .75rem; font-size: .6875rem; letter-spacing: .06em; text-transform: none; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hb-app-body { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); border: 1px solid var(--hb-rule); min-height: 28rem; }
.hb-doc { padding: var(--primitive-spacing-8) var(--primitive-spacing-8) var(--primitive-spacing-6); display: flex; flex-direction: column; gap: var(--primitive-spacing-4); background: var(--color-background); min-width: 0; }
.hb-doc-kicker { font-size: .6875rem; letter-spacing: .1em; }
.hubble .hb-doc-title { font-size: clamp(1.75rem, 1.2rem + 1.6vw, 2.5rem); letter-spacing: -0.035em; }
.hb-doc-meta { display: flex; flex-wrap: wrap; gap: .5rem 2rem; margin: 0; padding-bottom: var(--primitive-spacing-4); border-bottom: 1px solid var(--hb-rule); }
.hb-doc-meta div { display: flex; gap: .5rem; align-items: baseline; }
.hb-doc-meta dt { font-family: var(--f-mono); font-size: .6875rem; letter-spacing: .1em; text-transform: uppercase; color: var(--color-muted-foreground); }
.hb-doc-meta dd { margin: 0; font-weight: 600; }
.hb-hot { color: var(--color-accent-text); }
.hb-doc-lines { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.hb-doc-lines li { display: grid; grid-template-columns: 8rem minmax(0, 1fr) auto; gap: 1rem; align-items: baseline; padding: .75rem 0; border-bottom: 1px solid var(--hb-rule); opacity: 0; transform: translateY(6px); transition: opacity 500ms var(--ease-out), transform 500ms var(--ease-out), background-color 1.2s ease; background: rgba(255, 97, 35, .10); }
.hb-doc-lines li.in { opacity: 1; transform: none; background: transparent; }
.hb-doc-k { font-family: var(--f-mono); font-size: .6875rem; letter-spacing: .1em; text-transform: uppercase; color: var(--color-muted-foreground); }
.hb-doc-v { font-size: 1rem; line-height: 1.45; }
.hb-tag { font-family: var(--f-mono); font-size: .6875rem; letter-spacing: .02em; color: var(--color-accent-text); border: 1px solid currentColor; padding: .125rem .4375rem; white-space: nowrap; }
.hb-log { background: var(--color-night); color: var(--color-on-night); padding: var(--primitive-spacing-6); display: flex; flex-direction: column; gap: var(--primitive-spacing-4); min-width: 0; }
.hb-log-head { display: flex; justify-content: space-between; font-size: .6875rem; color: var(--hb-dim); }
.hb-log-head span { color: var(--color-accent); }
.hb-log-lines { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: .625rem; font-family: var(--f-mono); font-size: .78125rem; line-height: 1.5; }
.hb-log-lines li { display: grid; grid-template-columns: 3.25rem minmax(0, 1fr); gap: .5rem; opacity: 0; transition: opacity 400ms ease; }
.hb-log-lines li.in { opacity: 1; }
.hb-log-t { color: #6E6E76; }
.hb-log-m { color: var(--color-on-night-muted); }
.hb-log-lines li:last-child .hb-log-m { color: var(--color-on-night); }
.hb-log-lines li.is-held .hb-log-m { color: var(--color-accent); }

/* Manifesto in big type */
.hb-manifesto { gap: var(--primitive-spacing-16); padding-block: var(--primitive-spacing-8); }
.hubble .hb-big { font-family: var(--f-display); font-weight: 700; font-size: clamp(2.25rem, 1rem + 4.6vw, 5.5rem); line-height: 1.0; letter-spacing: -0.045em; margin: 0; text-wrap: balance; }
.hb-big--two { font-size: clamp(1.75rem, 1rem + 3vw, 3.75rem) !important; }
.hb-grey { color: #A0A0A6; }

/* Five live cards */
.hb-bento { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: var(--primitive-spacing-4); }
.hb-card { grid-column: span 2; background: var(--color-background); border: 1px solid var(--hb-rule); padding: var(--primitive-spacing-6); display: flex; flex-direction: column; gap: .375rem; min-width: 0; }
.hb-bento .hb-card--wide { grid-column: span 4; }
.hb-card > p { color: var(--color-muted-foreground); font-size: .9375rem; }
.hb-demo { margin: var(--primitive-spacing-6) 0 0; padding: var(--primitive-spacing-4); background: var(--color-surface); flex: 1 0 auto; min-height: 12.5rem; list-style: none; }
.hb-bento { align-items: stretch; }
.hb-card { contain: layout; }

.hb-chat { display: flex; flex-direction: column; gap: .75rem; background: #141416; color: var(--color-on-night); padding: 0; flex: none; height: 26rem; min-height: 0; overflow: hidden; contain: size layout; }
.hb-chat-top { display: flex; justify-content: space-between; align-items: center; padding: .75rem 1rem; border-bottom: 1px solid #26262A; }
.hb-chat-name { font-family: var(--f-display); font-weight: 700; font-size: .9375rem; }
.hb-chat-top .hb-mono { font-size: .625rem; color: var(--color-accent); }
.hb-chat-top .hb-mono::before { content: ""; display: inline-block; width: 6px; height: 6px; margin-right: .4rem; background: var(--color-accent); vertical-align: .1em; }
.hb-chat-log { flex: 1; min-height: 0; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end; gap: .75rem; padding: 0 1rem; }
.hb-chat-me { align-self: flex-end; max-width: 82%; background: #26262A; padding: .5625rem .875rem; font-size: .9375rem; line-height: 1.4; }
.hb-chat-tool { border-left: 1px solid #3A3A40; padding-left: .75rem; display: flex; flex-direction: column; gap: .25rem; }
.hb-chat-step { font-family: var(--f-mono); font-size: .6875rem; line-height: 1.5; color: #8A8A92; }
.hb-chat-step.is-live { color: var(--color-on-night-muted); }
.hb-chat-step.is-live::after { content: " \2026"; animation: hb-blink 900ms steps(2) infinite; }
.hb-chat-ans { display: flex; flex-direction: column; gap: .5rem; font-size: .9375rem; line-height: 1.5; color: #ECECEE; }
.hb-chat-ans ul { margin: 0; padding-left: 1.125rem; display: flex; flex-direction: column; gap: .25rem; }
.hb-cite { font-family: var(--f-mono); font-size: .625rem; color: var(--color-accent); margin-left: 1px; }
.hb-chat-src { list-style: none; margin: .25rem 0 0; padding: .5rem 0 0; border-top: 1px solid #26262A; display: flex; flex-wrap: wrap; gap: .25rem 1rem; counter-reset: src; opacity: 0; transition: opacity 400ms ease; }
.hb-chat-src.in { opacity: 1; }
.hb-chat-src li { counter-increment: src; font-family: var(--f-mono); font-size: .625rem; color: #8A8A92; }
.hb-chat-src li::before { content: counter(src) " "; color: var(--color-accent); }
.hb-chat-box { display: flex; justify-content: space-between; align-items: center; gap: 1rem; border: 1px solid #2A2A2E; margin: 0 1rem 1rem; padding: .625rem .875rem; min-height: 2.75rem; font-size: .9375rem; color: var(--color-on-night-muted); }
.hb-chat-typed::after { content: ""; display: inline-block; width: 1px; height: 1em; background: var(--color-accent); vertical-align: -0.15em; margin-left: 2px; }
.hb-chat-send { font-family: var(--f-mono); font-size: .6875rem; letter-spacing: .1em; text-transform: uppercase; background: var(--color-accent); color: var(--color-on-accent); padding: .25rem .5rem; }
@media (max-width: 620px) { .hb-chat { height: 30rem; } }

.hb-verify { display: flex; flex-direction: column; gap: 0; }
.hb-verify li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: .125rem .75rem; padding: .5rem 0; border-bottom: 1px solid var(--hb-rule); opacity: .45; transition: opacity 300ms ease; }
.hb-verify li.is-checking, .hb-verify li.is-ok, .hb-verify li.is-held { opacity: 1; }
.hb-v-claim { font-size: .875rem; font-weight: 600; }
.hb-v-state { font-family: var(--f-mono); font-size: .625rem; letter-spacing: .12em; text-transform: uppercase; color: var(--color-muted-foreground); align-self: center; }
.hb-verify li.is-checking .hb-v-state { color: var(--color-accent-text); animation: hb-blink 900ms steps(2) infinite; }
.hb-verify li.is-ok .hb-v-state { color: var(--color-foreground); }
.hb-verify li.is-held .hb-v-state { color: var(--color-accent-text); }
.hb-v-why { grid-column: 1 / -1; font-family: var(--f-mono); font-size: .6875rem; color: var(--color-muted-foreground); min-height: 1em; }

.hb-fact { display: flex; flex-direction: column; gap: .75rem; }
.hb-fact-line { font-family: var(--f-display); font-weight: 700; font-size: 1.25rem; letter-spacing: -0.02em; }
.hb-fact-tags { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; margin: 0; border-top: 1px solid var(--hb-rule); }
.hb-fact-tags div { padding: .4375rem .5rem .4375rem 0; border-bottom: 1px solid var(--hb-rule); opacity: .25; transition: opacity 300ms ease; min-width: 0; }
.hb-fact-tags div.in { opacity: 1; }
.hb-fact-tags dt { font-family: var(--f-mono); font-size: .5625rem; letter-spacing: .12em; text-transform: uppercase; color: var(--color-muted-foreground); }
.hb-fact-tags dd { margin: 0; font-size: .8125rem; font-weight: 600; min-height: 1.2em; overflow-wrap: anywhere; }
.hb-fact-tags div:last-child dd { color: var(--color-accent-text); }

.hb-drag { display: flex; flex-direction: column; }
.hb-drag li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: .125rem .75rem; padding: .625rem 0 .625rem .625rem; border-bottom: 1px solid var(--hb-rule); border-left: 2px solid transparent; transition: border-color 400ms ease, background-color 400ms ease; }
.hb-d-what { font-size: .9375rem; font-weight: 600; }
.hb-d-who { grid-row: 2; font-family: var(--f-mono); font-size: .625rem; letter-spacing: .12em; text-transform: uppercase; color: var(--color-muted-foreground); }
.hb-d-days { grid-row: 1 / 3; grid-column: 2; align-self: center; font-family: var(--f-display); font-weight: 700; font-size: 1.125rem; font-variant-numeric: tabular-nums; }
.hb-drag li.is-drag { border-left-color: var(--color-accent); background: var(--color-background); }
.hb-drag li.is-drag .hb-d-who, .hb-drag li.is-drag .hb-d-days { color: var(--color-accent-text); }

.hb-night { display: flex; flex-direction: column; gap: 0; counter-reset: none; }
.hb-night li { position: relative; display: flex; gap: .75rem; align-items: baseline; padding: .5rem 0; border-bottom: 1px solid var(--hb-rule); font-family: var(--f-display); font-weight: 700; font-size: 1rem; color: #A0A0A6; transition: color 300ms ease; overflow: hidden; }
.hb-night li span { font-family: var(--f-mono); font-size: .6875rem; font-weight: 500; color: inherit; }
.hb-night li::after { content: ""; position: absolute; left: 0; bottom: -1px; height: 2px; width: 0; background: var(--color-accent); }
.hb-night li.is-on { color: var(--color-foreground); }
.hb-night li.is-on::after { width: 100%; transition: width 1.05s linear; }
.hb-night li.is-done { color: var(--color-foreground); }
.hb-night li.is-done span { color: var(--color-accent-text); }

/* The close: the homepage dawn, held at sunrise */
.hb-close { position: relative; isolation: isolate; overflow: hidden; background: #161C25; color: var(--color-on-night); padding-block: var(--primitive-spacing-24) clamp(10rem, 22vw, 18rem); }
.hb-sky { position: absolute; inset: 0; z-index: -1; background: linear-gradient(#0B0E14 0%, #161C25 22%, #262F3B 44%, #444C58 60%, #7E7470 72%, #C9805C 82%, #FF7A3D 90%, #FF6123 97%); }
.hb-sun { position: absolute; left: 72%; top: 92%; width: min(34vw, 30rem); aspect-ratio: 1; border-radius: 50%; transform: translate(-50%, -30%); background: radial-gradient(circle, #FFF6E8 0%, #FFE0B0 16%, #FFB070 30%, rgba(255, 122, 61, .75) 44%, rgba(255, 97, 35, .3) 58%, rgba(255, 97, 35, 0) 72%); filter: blur(4px); }
.hb-close.is-up .hb-sun { animation: hb-rise 2.4s var(--ease-out) both; }
@keyframes hb-rise { from { transform: translate(-50%, 10%); opacity: .3; } to { transform: translate(-50%, -30%); opacity: 1; } }
.hb-land { position: absolute; left: 0; bottom: 0; width: 100%; height: auto; min-height: 3rem; object-fit: cover; object-position: 62% 100%; }
.hb-grain { position: absolute; inset: 0; background: url("../img/grain.png?v=20261026") repeat; background-size: 180px; mix-blend-mode: overlay; opacity: .2; }
.hb-close .hb-lead { color: var(--color-on-night-muted); }
.hb-close .hb-contact { margin-top: 0; }
.hb-close .hb-copy { border-color: rgba(255, 255, 255, .35); color: var(--color-on-night-muted); }
.hb-close .btn.hb-btn-ghost:hover { background: rgba(255, 255, 255, .1); }

@media (max-width: 899px) {
  .hb-app-body { grid-template-columns: minmax(0, 1fr); }
  .hb-doc { padding: var(--primitive-spacing-6); }
  .hb-doc-lines li { grid-template-columns: minmax(0, 1fr); gap: .25rem; }
  .hb-doc-lines .hb-tag { justify-self: start; }
  .hb-bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hb-bento .hb-card { grid-column: span 1; }
  .hb-bento .hb-card--wide { grid-column: 1 / -1; }
  .hb-manifesto { gap: var(--primitive-spacing-8); }
}
@media (max-width: 620px) {
  .hb-bento { grid-template-columns: minmax(0, 1fr); }
  .hb-bento .hb-card, .hb-bento .hb-card--wide { grid-column: 1 / -1; }
  .hb-sun { left: 70%; width: 70vw; }
}
@media (prefers-reduced-motion: reduce) {
  .hb-doc-lines li, .hb-log-lines li, .hb-chat-src, .hb-verify li, .hb-fact-tags div, .hb-drag li, .hb-night li { transition: none; }
  .hb-night li.is-on::after { transition: none; }
  .hb-close.is-up .hb-sun { animation: none; }
}

/* The future of work: the biggest type on the page */
.hb-future { padding-block: var(--primitive-spacing-24); border-top: 1px solid var(--hb-rule); }
.hb-future .hb-in { gap: var(--primitive-spacing-12); }
.hubble .hb-huge { font-family: var(--f-display); font-weight: 700; font-size: clamp(3rem, 1rem + 8.4vw, 10rem); line-height: .9; letter-spacing: -0.055em; max-width: none; text-wrap: balance; }

/* The manifesto as a scroll story: one dark section, the words and the picture together.
   The section is tall, its content pins, and each line takes a turn. */
.hb-story { position: relative; background: #050506; color: var(--color-on-night); padding-block: var(--primitive-spacing-16); }
.hb-story .hb-grey { color: #6E6E76; }
.hb-story-pin { display: flex; flex-direction: column; }
.hb-story-grid { row-gap: var(--primitive-spacing-8); }
.hb-story-lines .hb-line, .hb-story .hb-line { display: block; }
.hb-story .hb-manifesto { gap: var(--primitive-spacing-6); padding-block: 0; }
.hb-story-art { grid-column: 1 / 13; position: relative; min-width: 0; height: 22rem; }
.hb-story-art canvas { display: block; }
.hb-story-cap { position: absolute; left: 0; bottom: 0; font-size: .6875rem; letter-spacing: .12em; color: rgba(255, 255, 255, .45); }
.hb-story.is-live { height: 240svh; padding: 0; }
.hb-story.is-live .hb-story-pin { position: sticky; top: var(--bar); height: calc(100svh - var(--bar)); padding-block: var(--primitive-spacing-12) var(--primitive-spacing-8); box-sizing: border-box; }
.hb-story.is-live .hb-story-grid { flex: 1; min-height: 0; grid-template-rows: auto minmax(0, 1fr); }
.hb-story.is-live .hb-story-art { height: auto; min-height: 12rem; }
.hb-story.is-live .hb-big { font-size: clamp(2rem, 1rem + 3.6vw, 4.75rem); }
.hb-story.is-live .hb-big--two { font-size: clamp(1.5rem, 1rem + 2.2vw, 3rem) !important; }
.hb-story.is-live .hb-line { cursor: pointer; will-change: opacity; }
@media (max-width: 899px) {
  .hb-story.is-live { height: 220svh; }
  .hb-story.is-live .hb-big { font-size: clamp(1.75rem, 1rem + 4vw, 2.75rem); }
  .hb-story.is-live .hb-big--two { font-size: clamp(1.25rem, 1rem + 2.4vw, 1.875rem) !important; }
}

/* The future of work: the biggest type on the page */
.hb-future { padding-block: var(--primitive-spacing-24); border-top: 1px solid var(--hb-rule); }
.hb-future .hb-in { gap: var(--primitive-spacing-12); }
.hubble .hb-huge { font-family: var(--f-display); font-weight: 700; font-size: clamp(3rem, 1rem + 8.4vw, 10rem); line-height: .9; letter-spacing: -0.055em; max-width: none; text-wrap: balance; }

.hb-future-art { margin: 0; }
.hb-future-art canvas { display: block; }
/* Words fill in as the section scrolls into view */
.hb-future.is-live .hb-w { color: #D6D6D9; transition: color 260ms ease; }
.hb-future.is-live .hb-w.on { color: var(--color-foreground); }
.hb-future.is-live .hb-orange .hb-w.on { color: var(--color-accent); }
