.hero {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-rows: 1fr auto;
  min-height: calc(100svh - var(--header-h));
  overflow: hidden;
  padding: 0 var(--gutter);
  border-bottom: 1px solid var(--border);
}
.hero__stage {
  position: relative;
  z-index: 2;
  display: grid;
  align-content: space-between;
  width: min(100%, var(--content));
  min-height: calc(100svh - var(--header-h) - 118px);
  margin: 0 auto;
  padding: clamp(36px, 5vw, 64px) 0 clamp(40px, 5vw, 72px);
}
.hero__topline { display: flex; justify-content: space-between; gap: 24px; color: var(--muted); font: 500 14px/1.3 var(--sans); letter-spacing: .08em; text-transform: uppercase; }
.hero__stage > * { min-width: 0; }
.hero__block { max-width: 100%; }
.hero__name {
  margin: clamp(48px, 9vh, 120px) 0 30px;
  color: var(--text);
  width: max-content;
  max-width: 100%;
  font: 800 clamp(60px, 11.4vw, 190px)/.86 var(--display);
  font-stretch: 125%;
  letter-spacing: -.035em;
  text-transform: uppercase;
}
.hero__name-mask { display: block; overflow: hidden; padding: .04em 0 .08em; margin-bottom: -.08em; }
.hero__name-line { display: block; transform: translate3d(0, 112%, 0); animation: hero-rise 1.2s var(--ease-premium) .14s forwards; }
.hero__name-mask:nth-child(2) .hero__name-line { animation-delay: .3s; }
.hero__name-line--tone { color: var(--muted); }
@supports (-webkit-background-clip: text) or (background-clip: text) {
  .hero__name-line--tone { color: transparent; background: linear-gradient(180deg, var(--text) 8%, var(--muted) 96%); -webkit-background-clip: text; background-clip: text; }
}
.hero__line { max-width: 560px; margin: 0; color: var(--text); font-size: clamp(19px, 2vw, 25px); line-height: 1.4; }
.hero__hbs { color: var(--harvard); font-weight: 600; }
.hero__lede { max-width: 560px; margin: 14px 0 0; color: var(--muted); font-size: clamp(15px, 1.25vw, 18px); line-height: 1.55; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.hero__intro { opacity: 0; transform: translate3d(0, 18px, 0); animation: hero-fade .95s var(--ease-premium) forwards; }
.hero__topline { animation-delay: .95s; }
html.agent-awake .hero__topline span:last-child { opacity: 0; transition: opacity .4s var(--ease-premium); }
.hero__line { animation-delay: 1.05s; }
.hero__lede { animation-delay: 1.12s; }
.hero__cta { animation-delay: 1.2s; }

.hero__media {
  position: absolute;
  z-index: 1;
  top: 0;
  right: 0;
  bottom: 118px;
  width: min(62vw, 1180px);
  overflow: hidden;
  pointer-events: none;
}
.hero__picture { display: block; width: 100%; height: 100%; }
.hero__portrait {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 86% center;
  opacity: 0;
  filter: grayscale(1) contrast(1.3) brightness(.78);
  mask-image: linear-gradient(90deg, transparent 0%, rgba(0,0,0,.35) 18%, #000 42%, #000 90%, rgba(0,0,0,.5) 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0,0,0,.35) 18%, #000 42%, #000 90%, rgba(0,0,0,.5) 100%);
  transition: opacity 1.1s var(--ease-premium);
}
html.no-js .hero__portrait, .hero--static .hero__portrait { opacity: 1; }
.hero__gl { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; transition: opacity .5s var(--ease-premium); }
.hero.is-gl-ready .hero__gl { opacity: 1; }
.hero--static .hero__gl { display: none; }
.hero__ticks { position: absolute; inset: 18px; width: calc(100% - 36px); height: calc(100% - 36px); color: var(--border); opacity: 0; animation: hero-fade 1.4s var(--ease-premium) 1.6s forwards; }

.hero__stats {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  width: min(100%, var(--content));
  margin: 0 auto;
  padding: 0;
  list-style: none;
}
.hero__stats::before { content: ""; position: absolute; top: 0; left: 0; width: 100%; height: 1px; background: var(--border); transform-origin: left center; transform: scaleX(0); animation: hero-draw 1.3s var(--ease-premium) 1.2s forwards; }
.hero__stats li { min-width: 0; padding: 24px 24px 28px 0; opacity: 0; transform: translate3d(0, 12px, 0); animation: hero-fade .85s var(--ease-premium) calc(1.3s + var(--i, 0) * .09s) forwards; }
.hero__stats li + li { padding-left: 24px; border-left: 1px solid var(--border); }
.hero__stats strong { display: block; margin-bottom: 6px; font: 600 clamp(26px, 3.1vw, 44px)/1 var(--sans); font-variant-numeric: tabular-nums; letter-spacing: -.03em; }
.hero__stats span { display: block; color: var(--muted); font: 500 13px/1.4 var(--sans); letter-spacing: .08em; text-transform: uppercase; }

@keyframes hero-rise { to { transform: none; } }
@keyframes hero-fade { to { opacity: 1; transform: none; } }
@keyframes hero-draw { to { transform: scaleX(1); } }
html.motion-off .hero__name-line, html.motion-off .hero__intro, html.motion-off .hero__stats li, html.motion-off .hero__stats::before, html.motion-off .hero__ticks,
html.reveal-safe .hero__name-line, html.reveal-safe .hero__intro, html.reveal-safe .hero__stats li, html.reveal-safe .hero__stats::before, html.reveal-safe .hero__ticks,
html.no-js .hero__name-line, html.no-js .hero__intro, html.no-js .hero__stats li, html.no-js .hero__stats::before, html.no-js .hero__ticks { animation: none; opacity: 1; transform: none; }

/* ---- shared home pieces: accent words, CTA rows, stat rows ---- */
h2 em, h3 em { font-style: normal; color: var(--accent); }
.section__head .lede { font-size: clamp(18px, 1.5vw, 21px); line-height: 1.5; }
.section__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 22px; margin-top: clamp(36px, 5vw, 60px); }
.section__actions .link-arrow { font-size: 16px; }
.stat-row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 0 0 clamp(28px, 4vw, 44px); padding: 0; list-style: none; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.stat-row li { min-width: 0; padding: 22px 24px 24px 0; }
.stat-row li + li { padding-left: 24px; border-left: 1px solid var(--border); }
.stat-row strong { display: block; margin-bottom: 6px; font: 600 clamp(28px, 3.2vw, 46px)/1 var(--sans); letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.stat-row span { display: block; color: var(--muted); font: 500 13px/1.4 var(--sans); letter-spacing: .08em; text-transform: uppercase; }

/* ---- The short version: what I do, who I am, and four reasons to keep going. ---- */
.overview-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(28px, 4vw, 64px); margin-bottom: clamp(40px, 6vw, 80px); }
.overview-lede { max-width: 540px; margin: 14px 0 0; font-size: 18px; line-height: 1.6; color: var(--text); }
.overview-hooks { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-4); margin: 0; padding: 0; list-style: none; }
.overview-hooks a { display: flex; flex-direction: column; gap: 10px; height: 100%; padding: clamp(20px, 2.4vw, 28px); border: 1px solid var(--border); border-radius: var(--radius-md); background: var(--surface); color: var(--text); text-decoration: none; transition: transform .3s var(--ease-premium), border-color .3s var(--ease-premium); }
.overview-hooks a:hover { transform: translateY(-2px); border-color: var(--accent); }
.overview-hooks strong { font-size: 19px; line-height: 1.25; }
.overview-hooks span { font-size: 14px; color: var(--muted); }
.overview-hooks a::after { content: "\2197"; margin-top: auto; color: var(--accent); font-size: 14px; }

/* ---- The Everything Agent: three modes, then the live stage ---- */
.agent-section { min-height: 95vh; }
.agent-modes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-4); margin-bottom: clamp(56px, 7vw, 96px); }
.mode { display: flex; flex-direction: column; min-width: 0; padding: clamp(24px, 2.6vw, 32px); border: 1px solid var(--border); border-radius: var(--radius-md); background: var(--surface); transition: transform .3s var(--ease-premium), border-color .3s var(--ease-premium); }
.mode:hover { transform: translateY(-2px); border-color: var(--control); }
.mode__num { color: var(--accent); font: 500 14px/1 var(--sans); }
.mode h3 { margin: 22px 0 14px; font-size: 22px; }
.mode p { font-size: 15px; line-height: 1.6; }
.mode ul { margin: auto 0 0; padding: 0; list-style: none; }
.mode li { padding: 9px 0; border-top: 1px solid var(--border); color: var(--muted); font-size: 14px; }
.mode__video { margin: auto 0 0; }
.mode .mode__video img { aspect-ratio: 16 / 9; height: auto; filter: grayscale(1) contrast(1.12) brightness(.85); }
.mode .mode__video.is-color img { filter: none; }
.mode__video::after { inset: auto; top: 0; left: 0; width: 100%; aspect-ratio: 16 / 9; }
.mode__video.is-color img { filter: none; }
.mode__video + ul { margin-top: 14px; }
.mode__video figcaption { padding: 14px 16px 16px; border-top: 1px solid var(--border); color: var(--muted); font-size: 14px; line-height: 1.55; }
.agent-stage { display: grid; grid-template-columns: minmax(0, .9fr) minmax(340px, .7fr); gap: clamp(44px, 9vw, 150px); align-items: center; }
.agent-copy .lede { margin-top: 0; }
.prompt-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 38px; }
.prompt {
  min-height: 76px;
  padding: 16px;
  border: 1px solid var(--border);
  border-radius: 0;
  background: #000;
  color: var(--muted);
  text-align: left;
  cursor: pointer;
  transition: color .35s var(--ease-premium), border-color .35s var(--ease-premium), transform .35s var(--ease-premium);
}
.prompt:hover { border-color: var(--accent); color: var(--text); transform: translateY(-2px); }
.agent-console { position: relative; min-height: 570px; padding: 26px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-md); }
.agent-console::before { content: ""; position: absolute; inset: 12px; border: 1px solid rgba(245,247,250,.05); pointer-events: none; }
.agent-console__bar { display: flex; justify-content: space-between; padding-bottom: 18px; border-bottom: 1px solid var(--border); color: var(--muted); font: 500 14px/1 var(--sans); text-transform: uppercase; letter-spacing: .08em; }
.agent-console__stage { display: grid; min-height: 390px; place-items: center; padding: 40px 0; }
.agent-console__glyph { position: relative; display: grid; width: min(260px, 70%); aspect-ratio: 1; place-items: center; }
.agent-console__glyph::before, .agent-console__glyph::after { content: ""; position: absolute; border: 1px solid var(--accent); border-radius: 50%; }
.agent-console__glyph::before { inset: 7%; opacity: .38; }
.agent-console__glyph::after { inset: 28%; opacity: .78; }
.agent-console__pixels { width: 48%; height: 48%; opacity: .7; background-image: radial-gradient(circle, var(--accent) 1.5px, transparent 1.7px); background-size: 11px 11px; }
.agent-console__actions { display: flex; flex-wrap: wrap; gap: 8px; }
.agent-disclosure { margin: 24px 0 0; color: var(--muted); font: 400 14px/1.6 var(--sans); }

/* ---- The Automation Database: numbers, 19 areas, 8 examples, the Blueprint ---- */
.auto-lede { max-width: 720px; margin: 0 0 clamp(40px, 5vw, 64px); color: var(--text); font-size: 18px; line-height: 1.6; }
.auto-grid__label, .auto-examples__label { margin: 0 0 18px; }
.auto-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; margin: 0; padding: 0; list-style: none; border: 1px solid var(--border); background: var(--border); }
.auto-cat { display: flex; flex-direction: column; gap: 10px; min-width: 0; padding: 20px 18px 18px; background: #000; }
.auto-cat__count { color: var(--accent); font: 600 clamp(24px, 2.2vw, 30px)/1 var(--sans); letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.auto-cat__name { color: var(--text); font-size: 14px; line-height: 1.4; }
.auto-cat__hint { color: var(--muted); font-size: 13px; line-height: 1.4; }
.auto-cat--quiet { grid-column: span 2; background: var(--surface); }   /* 18 tiles + one double = 5 full rows of 4 */
.auto-cat--quiet .auto-cat__count { color: var(--control); }
.auto-note { margin: 14px 0 clamp(48px, 6vw, 80px); color: var(--muted); font-size: 14px; }
.auto-examples { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 clamp(28px, 4vw, 64px); margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--border); }
.auto-example { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 12px 20px; align-items: center; min-width: 0; padding: 18px 0; border-bottom: 1px solid var(--border); }
.auto-example h3 { font-size: 17px; line-height: 1.3; }
.auto-example .chip-row { justify-content: flex-end; gap: 6px; }
.auto-example .chip { min-height: 30px; padding: 6px 10px; font-size: 13px; }
.auto-cta { display: grid; grid-template-columns: minmax(0, .8fr) minmax(320px, 1fr); gap: clamp(36px, 6vw, 96px); align-items: start; margin-top: clamp(56px, 7vw, 96px); padding-top: clamp(40px, 5vw, 64px); border-top: 1px solid var(--border); scroll-margin-top: 96px; }
.auto-cta__copy h3 { max-width: 12ch; font-size: clamp(26px, 2.8vw, 38px); line-height: 1.12; }
.auto-cta__copy p { margin-top: 18px; }
.auto-cta__copy .section__actions { margin-top: 28px; }
.lead-panel { min-width: 0; padding: clamp(24px, 3vw, 36px); border: 1px solid var(--border); border-radius: var(--radius-md); background: var(--surface); }
.lead-panel__alt { margin: 18px 0 0; color: var(--muted); font-size: 14px; }
.lead-panel__alt a { color: var(--text); }

/* ---- AI Transformations: four phases, then the tool board ---- */
.phases { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--space-4); margin: 0; padding: 0; list-style: none; }
.phase { display: flex; flex-direction: column; min-width: 0; min-height: 300px; padding: clamp(22px, 2.4vw, 30px); border: 1px solid var(--border); border-radius: var(--radius-md); background: var(--surface); transition: transform .3s var(--ease-premium), border-color .3s var(--ease-premium); }
.phase:hover { transform: translateY(-2px); border-color: var(--control); }
.phase__num { color: var(--accent); font: 500 14px/1 var(--sans); }
.phase h3 { margin: 20px 0 12px; font-size: 22px; }
.phase p { font-size: 15px; line-height: 1.6; }
.phase__outcome { display: grid; gap: 4px; margin: auto 0 0; padding-top: 16px; border-top: 1px solid var(--border); color: var(--text); font-size: 14px; }
.phase__outcome span { color: var(--muted); font: 500 12px/1.4 var(--sans); letter-spacing: .08em; text-transform: uppercase; }
.tool-board { margin-top: clamp(56px, 7vw, 96px); padding-top: 30px; border-top: 1px solid var(--border); }
.credential-row { display: flex; flex-wrap: wrap; gap: 12px 24px; margin-top: 28px; }
.credential { padding-bottom: 5px; border-bottom: 1px solid var(--muted); color: var(--text); font-size: 14px; }

/* ---- Website Design: the scroll story (sticky rail + step toggles), audit panel, logo strip ---- */
.section.logos-home { overflow: visible; }
.checks { display: grid; grid-template-columns: minmax(240px, .4fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.checks__rail { position: sticky; top: 110px; display: grid; grid-template-columns: 2px minmax(0, 1fr); grid-template-rows: auto auto auto; column-gap: 22px; align-items: start; }
.checks__bar { grid-row: 1 / span 3; align-self: stretch; width: 2px; min-height: 180px; background: var(--border); }
.checks__bar i { display: block; width: 100%; height: 100%; background: var(--accent); transform: scaleY(1); transform-origin: top center; }
.checks__label { margin: 0; }
.checks__counter { display: flex; align-items: baseline; gap: 10px; margin: 14px 0 18px; color: var(--text); font: 800 clamp(64px, 9vw, 140px)/.9 var(--display); font-stretch: 125%; letter-spacing: -.04em; font-variant-numeric: tabular-nums; }
.checks__counter span:last-child { color: var(--control); font: 500 clamp(16px, 1.6vw, 22px)/1 var(--sans); letter-spacing: 0; }
.checks__title { max-width: none; margin: 0; color: var(--text); font: 600 clamp(20px, 2vw, 26px)/1.25 var(--sans); letter-spacing: -.02em; }
.checks__steps { margin: 0; padding: 0; list-style: none; }
.checks__step { display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 8px 20px; align-content: start; min-height: 34vh; padding: 28px 0; border-top: 1px solid var(--border); transition: opacity .5s var(--ease-premium); }
.checks__num { color: var(--accent); font: 500 14px/1.7 var(--sans); font-variant-numeric: tabular-nums; }
.checks__step h3 { font-size: clamp(24px, 2.6vw, 34px); }
.checks__step p { grid-column: 2; max-width: 520px; margin: 0; font-size: 17px; }
html.lenis .checks__step { opacity: .28; }
html.lenis .checks__step.is-active, html.no-js .checks__step, html.motion-off .checks__step, html.reveal-safe .checks__step { opacity: 1; }
html.no-js [data-story-bar], html.motion-off [data-story-bar], html.reveal-safe [data-story-bar] { transform: scaleY(1) !important; }
.audit-panel { display: grid; grid-template-columns: minmax(0, .8fr) minmax(320px, 1fr); gap: clamp(36px, 6vw, 96px); align-items: start; margin-top: clamp(48px, 6vw, 80px); padding-top: clamp(40px, 5vw, 64px); border-top: 1px solid var(--border); scroll-margin-top: 96px; }
.audit-panel__copy h3 { max-width: 12ch; font-size: clamp(26px, 2.8vw, 38px); line-height: 1.12; }
.audit-panel__copy p { margin-top: 18px; }
.companies-strip { margin-top: clamp(56px, 7vw, 96px); overflow: hidden; }
.companies-strip > .mono-label { margin: 0 0 18px; }

/* ---- The receipts ---- */
.gate-console { border: 1px solid var(--border); border-radius: var(--radius-md); background: var(--surface); font-family: var(--mono); overflow: hidden; }
.gate-console__bar { display: flex; justify-content: space-between; padding: 15px 18px; border-bottom: 1px solid var(--border); color: var(--muted); font: 500 14px/1 var(--mono); text-transform: uppercase; letter-spacing: .08em; }
.gate-list { margin: 0; padding: 0; list-style: none; }
.gate-list li { display: grid; grid-template-columns: 1fr auto; gap: 20px; align-items: center; min-height: 62px; padding: 15px 18px; border-bottom: 1px solid var(--border); }
.gate-list li:last-child { border-bottom: 0; }
.gate-label { color: var(--text); font: 400 14px/1.4 var(--mono); }
.gate-value { color: var(--muted); font: 500 14px/1.3 var(--mono); text-align: right; text-transform: uppercase; }
.gate-value::before { content: ""; display: inline-block; width: 6px; height: 6px; margin-right: 9px; border: 1px solid var(--muted); border-radius: 50%; }

/* ---- Social Media: platforms, the guarantee, three steps ---- */
.social-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(300px, .8fr); gap: clamp(40px, 7vw, 120px); align-items: start; }
.social-platforms > .mono-label { margin: 0 0 16px; }
.guarantee { display: grid; gap: 8px; max-width: none; margin: clamp(32px, 4vw, 48px) 0 0; padding: clamp(24px, 3vw, 36px); border: 1px solid var(--border); border-radius: var(--radius-md); background: var(--surface); }
.guarantee__num { color: var(--accent); white-space: nowrap; font: 800 clamp(34px, 4.6vw, 72px)/.95 var(--display); font-stretch: 125%; letter-spacing: -.04em; font-variant-numeric: tabular-nums; }
.guarantee__text { color: var(--text); font: 500 14px/1.4 var(--sans); letter-spacing: .08em; text-transform: uppercase; }
.process { counter-reset: process; margin: 0; padding: 0; list-style: none; }
.process li { counter-increment: process; display: grid; grid-template-columns: 42px 1fr; gap: 18px; padding: 22px 0; border-top: 1px solid var(--border); }
.process li::before { content: "0" counter(process); color: var(--accent); font: 500 14px/1.7 var(--sans); }
.process strong { display: block; margin-bottom: 5px; }
.process span { color: var(--muted); font-size: 15px; }

/* ---- Consulting and Teaching: four offers ---- */
.offers { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-4); }
.offer { position: relative; min-height: 510px; display: flex; flex-direction: column; min-width: 0; padding: clamp(26px, 3vw, 32px); border: 1px solid var(--border); border-radius: var(--radius-md); background: var(--surface); transition: transform .3s var(--ease-premium), border-color .3s var(--ease-premium); }
.offer:hover { transform: translateY(-2px); border-color: var(--control); }
.offer__num { color: var(--accent); font: 500 14px/1 var(--sans); }
.offer h3 { margin: auto 0 30px; font-size: 24px; }
.offer p { min-height: 82px; }
.offer ul { margin: 0 0 28px; padding: 0; list-style: none; }
.offer li { padding: 10px 0; border-top: 1px solid var(--border); color: var(--muted); font-size: 14px; }
.offer__fit { margin-top: auto; color: var(--text); font-size: 14px; }
.offers--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.offers--4 .offer { min-height: 380px; padding: clamp(22px, 2.4vw, 28px); }
.offers--4 .offer h3 { margin: 18px 0 14px; font-size: 21px; }
.offers--4 .offer p { min-height: 0; font-size: 15px; line-height: 1.6; }
.offers--4 .offer__fit { padding-top: 16px; border-top: 1px solid var(--border); }
.offer--feature { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.35fr); gap: var(--space-4); align-items: end; }
.offers--4 .offer--feature { min-height: 0; }
.offers--4 .offer--feature h3 { margin: 18px 0 0; font-size: clamp(26px, 2.8vw, 36px); }
.offers--4 .offer--feature p { font-size: 17px; }
.offers--4 .offer--feature .offer__fit { margin-top: 14px; padding-top: 0; border-top: 0; font-size: 15px; }
@media (max-width: 760px) { .offer--feature { grid-template-columns: 1fr; } }
.offer__meta { color: var(--accent); font: 500 13px/1.4 var(--sans); letter-spacing: .08em; text-transform: uppercase; }

/* ---- Speaking: topics + photo, request form ---- */
.speak-layout { display: grid; grid-template-columns: minmax(0, .9fr) minmax(320px, 1fr); gap: clamp(40px, 7vw, 120px); align-items: start; }
.speak-copy > .mono-label { margin: 0 0 16px; }
.speak-copy__link { margin: 28px 0 0; }
.speak-photo { max-width: 360px; margin: clamp(28px, 4vw, 44px) 0 0; overflow: hidden; border: 1px solid var(--border); background: var(--surface); }
.speak-photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 42%; filter: grayscale(1) contrast(1.15) brightness(.85); }

/* ---- Built my own path ---- */
.story-beats { margin: 28px 0 0; padding: 0; list-style: none; display: grid; gap: 10px; max-width: 560px; }
.story-beats li { position: relative; padding-left: 18px; color: var(--muted); font-size: 15px; line-height: 1.5; }
.story-beats li::before { content: ""; position: absolute; left: 0; top: .66em; width: 8px; height: 1px; background: var(--accent); }
.manifesto { min-height: 120vh; overflow: hidden; }
.manifesto__photo { position: absolute; inset: 0 0 0 38%; }
.manifesto__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% top; filter: grayscale(1) contrast(1.2) brightness(.62); mask-image: linear-gradient(90deg, transparent, #000 28%, #000 72%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 28%, #000 72%, transparent); }
.manifesto__content { position: relative; z-index: 2; }
.manifesto__lines { margin: 11vh 0; }
.manifesto__lines p { margin: 0; color: var(--text); font: 600 clamp(40px, 6vw, 78px)/1.05 var(--sans); letter-spacing: -.03em; }
.manifesto__lines p:nth-child(even) { color: transparent; -webkit-text-stroke: 1px rgba(245,247,250,.65); }
.manifesto blockquote { max-width: 520px; margin: 0 0 34px; color: var(--muted); font-size: clamp(19px, 2.3vw, 29px); }

/* ---- Blog: the note + the Build Log ---- */
.journal-grid { display: grid; grid-template-columns: .85fr 1.15fr; border: 1px solid var(--border); border-radius: var(--radius-md); background: var(--surface); overflow: hidden; }
.teaching-card { display: flex; min-height: 440px; flex-direction: column; padding: clamp(28px, 4vw, 62px); border-right: 1px solid var(--border); }
.teaching-card h3 { margin-top: auto; max-width: 460px; font-size: 24px; }
.teaching-card p { margin: 24px 0 0; }
.build-log { padding: clamp(28px, 4vw, 62px); }
.log-entry { display: grid; grid-template-columns: 90px 1fr auto; gap: 22px; padding: 24px 0; border-top: 1px solid var(--border); text-decoration: none; }
.log-entry time { color: var(--muted); font: 400 14px/1.5 var(--sans); text-transform: uppercase; }
.log-entry strong { display: block; margin-bottom: 8px; }
.log-entry span { color: var(--muted); font-size: 14px; }
.log-entry i { color: var(--accent); font-style: normal; transition: transform .35s var(--ease-premium); }
.log-entry:hover i { transform: translate(4px,-4px); }
.build-log > .link-arrow { margin-top: 24px; }

/* ---- FAQ ---- */
.faq-list { max-width: 980px; margin-left: auto; border-top: 1px solid var(--border); }
.faq-list details { border-bottom: 1px solid var(--border); }
.faq-list summary { position: relative; padding: 26px 52px 26px 0; color: var(--text); font-size: clamp(18px, 2vw, 25px); cursor: pointer; list-style: none; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; position: absolute; right: 0; color: var(--accent); font: 400 24px/1 var(--sans); transition: transform .35s var(--ease-premium); }
.faq-list details[open] summary::after { transform: rotate(45deg); }
.faq-list details p { max-width: 720px; padding: 0 0 26px; }

/* ---- Start here ---- */
.final-cta { min-height: 90vh; display: grid; align-items: center; }
.final-cta__grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(40px, 8vw, 120px); align-items: center; }
.final-cta h2 { max-width: 800px; font-size: 40px; }
.final-cta__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 38px; }
.video-slot { position: relative; overflow: hidden; border: 1px solid var(--border); background: var(--surface); }
.video-slot img { width: 100%; aspect-ratio: 3/4; object-fit: cover; filter: grayscale(1) contrast(1.12); }
.video-slot::before { content: "Video pending"; position: absolute; z-index: 2; top: 16px; left: 16px; padding: 7px 9px; background: #000; color: var(--text); font: 500 14px/1 var(--sans); text-transform: uppercase; letter-spacing: .08em; }
.video-slot::after { content: "▶"; position: absolute; inset: 0; display: grid; place-items: center; color: var(--accent); font-size: 34px; }

/* ---- responsive: 1080 / 720 / 390 (the hero keeps its own 980 tweak) ---- */
@media (max-width: 1080px) {
  .overview-hooks { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .agent-modes { grid-template-columns: 1fr; }
  .mode ul, .mode__video { margin-top: 12px; }
  .mode__video { max-width: 560px; }
  .journal-grid, .final-cta__grid { grid-template-columns: 1fr; }
  .auto-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .auto-cat--quiet { grid-column: 1 / -1; }   /* 18 tiles = 6 rows of 3 (or 9 of 2); the quiet tile takes its own row */
  .phases, .offers--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .phase, .offers--4 .offer { min-height: 0; }
  .checks { grid-template-columns: minmax(200px, .38fr) minmax(0, 1fr); }
  .teaching-card { min-height: 320px; border-right: 0; border-bottom: 1px solid var(--border); }
}

@media (max-width: 980px) {
  .hero__media { width: 58vw; }
  .hero__line, .hero__lede { max-width: 480px; }
}

@media (max-width: 720px) {
  .hero { grid-template-rows: auto auto auto; min-height: auto; padding: 0 20px; }
  .hero__stage { min-height: auto; padding: 34px 0 30px; }
  .hero__topline span:last-child { display: none; }
  .hero__name { margin: 36px 0 24px; font-size: clamp(54px, 18.6vw, 96px); }
  .hero__line, .hero__lede { max-width: 100%; }
  .hero__block { max-width: none; }
  .hero__media { position: relative; z-index: 1; right: auto; bottom: auto; width: 100%; max-height: 72svh; aspect-ratio: 4 / 5; margin: 0 0 8px; }
  .hero__portrait { object-position: center 18%; mask-image: linear-gradient(180deg, transparent 0%, #000 10%, #000 88%, transparent 100%); -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 10%, #000 88%, transparent 100%); }
  .hero__ticks { display: none; }
  .hero__stats { grid-template-columns: 1fr; }
  .hero__stats li { display: grid; grid-template-columns: 112px 1fr; align-items: center; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--border); }
  .hero__stats li + li { padding-left: 0; border-left: 0; }
  .hero__stats li:last-child { border-bottom: 0; }
  .overview-grid, .overview-hooks { grid-template-columns: 1fr; }
  .section__actions { gap: 10px 18px; }
  .section__actions .btn { flex: 1 1 auto; }
  .stat-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stat-row li { padding: 18px 16px 18px 0; }
  .stat-row li + li { padding-left: 16px; }
  .stat-row li:nth-child(odd) { padding-left: 0; border-left: 0; }
  .stat-row li:nth-child(n + 3) { border-top: 1px solid var(--border); }
  .prompt-grid { grid-template-columns: 1fr; }
  .agent-console { min-height: 480px; }
  .agent-stage { gap: 40px; }
  .auto-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .auto-cat { padding: 16px 14px; }
  .auto-examples { grid-template-columns: 1fr; }
  .auto-example { grid-template-columns: 1fr; gap: 10px; }
  .auto-example .chip-row { justify-content: flex-start; }
  .auto-cta, .audit-panel, .social-layout, .speak-layout { grid-template-columns: 1fr; gap: 32px; }
  .auto-cta__copy h3, .audit-panel__copy h3 { max-width: none; }
  .lead-panel { padding: 22px 18px; }
  .phases, .offers--4 { grid-template-columns: 1fr; }
  .checks { grid-template-columns: 1fr; gap: 0; }
  .checks__rail { top: 0; z-index: 3; display: flex; align-items: baseline; gap: 14px; padding: 12px 0; border-bottom: 1px solid var(--border); background: #000; }
  .checks__bar { display: none; }
  html.no-js .checks__rail, html.motion-off .checks__rail, html.reveal-safe .checks__rail { position: static; }   /* no toggles to follow, so don't pin a stale step */
  .checks__counter { margin: 0; font-size: 30px; line-height: 1; }
  .checks__counter span:last-child { font-size: 14px; }
  .checks__title { font-size: 17px; }
  .checks__step { grid-template-columns: 1fr; gap: 6px; min-height: 0; padding: 26px 0; }
  .checks__step:first-child { border-top: 0; }
  .checks__step p { grid-column: 1; }
  .speak-photo { max-width: none; }
  .speak-photo img { aspect-ratio: 4 / 3; }
  .manifesto { min-height: 100vh; }
  .manifesto__photo { inset: 18% -45% 0 15%; opacity: .72; }
  .manifesto__lines { margin: 7vh 0 36vh; }
  .manifesto__lines p { font-size: clamp(38px, 13vw, 64px); }
  .teaching-card { min-height: 0; }
  .log-entry { grid-template-columns: 1fr auto; }
  .log-entry time { grid-column: 1 / -1; }
  .final-cta h2 { font-size: 28px; }
}

@media (max-width: 390px) {
  .stat-row { grid-template-columns: 1fr; }
  .stat-row li { padding: 14px 0; border-left: 0; }
  .stat-row li + li { padding-left: 0; border-left: 0; border-top: 1px solid var(--border); }
  .auto-grid { grid-template-columns: 1fr; }
  .auto-cat { flex-direction: row; align-items: baseline; gap: 14px; padding: 12px 14px; }
  .auto-cat__count { flex: 0 0 74px; font-size: 20px; }
  .auto-cat--quiet { flex-wrap: wrap; }
  .auto-cat__hint { flex-basis: 100%; padding-left: 88px; }
  .checks__label { display: none; }
  .checks__counter { font-size: 26px; }
  .section__actions .btn { flex: 1 1 100%; }
}

@media (prefers-reduced-motion: reduce) {
  .hero__portrait { opacity: 1; }
  .hero__gl { display: none; }
  .hero__name-line, .hero__intro, .hero__stats li, .hero__stats::before, .hero__ticks { animation: none; opacity: 1; transform: none; }
  .checks__step, html.lenis .checks__step { opacity: 1; transition: none; }
  [data-story-bar] { transform: scaleY(1) !important; }
}

/* Hero name game: letters light blue under the cursor; all of them lit once = confetti + a word from Will. */
.hero__name .ch { display: inline-block; transition: color .9s var(--ease-premium), -webkit-text-fill-color .9s var(--ease-premium), text-shadow .9s var(--ease-premium); }
.hero__name .ch.lit { color: var(--accent); -webkit-text-fill-color: var(--accent); text-shadow: 0 0 34px rgba(57, 184, 255, .5); transition-duration: .16s; }
.hero-confetti { position: fixed; inset: 0; z-index: 299; pointer-events: none; overflow: hidden; }
.hero-confetti i { position: absolute; left: var(--ox); top: var(--oy); width: var(--size); height: calc(var(--size) * .55); border-radius: 2px; opacity: 0; will-change: transform, opacity; animation: hero-confetti var(--d) cubic-bezier(.18, .72, .36, 1) var(--delay) forwards; }
@keyframes hero-confetti {
  0% { opacity: 1; transform: translate3d(0, 0, 0) rotate(0) scale(.6); }
  30% { opacity: 1; transform: translate3d(var(--dx), var(--dy), 0) rotate(calc(var(--r) * .4)) scale(1); }
  100% { opacity: 0; transform: translate3d(calc(var(--dx) * 1.25), 110vh, 0) rotate(var(--r)) scale(.9); }
}
.hero-reward { position: fixed; inset: 0; z-index: 300; display: grid; place-items: center; padding: 1.2rem; background: rgba(0, 0, 0, .55); backdrop-filter: blur(6px); opacity: 0; transition: opacity .45s var(--ease-premium); }
.hero-reward.on { opacity: 1; }
.hero-reward__panel { position: relative; width: 100%; max-width: 580px; padding: clamp(30px, 4vw, 48px); border: 1px solid rgba(57, 184, 255, .45); border-radius: var(--radius-md); background: rgba(16, 20, 24, .96); text-align: center; box-shadow: 0 30px 80px -30px rgba(57, 184, 255, .45); transform: translateY(10px); transition: transform .5s var(--ease-premium); }
.hero-reward.on .hero-reward__panel { transform: none; }
.hero-reward__panel .eyebrow { justify-content: center; }
.hero-reward__text { max-width: none; margin: 0 0 26px; color: var(--text); font-size: clamp(18px, 1.1rem + .6vw, 24px); line-height: 1.45; }
.hero-reward__close { position: absolute; top: 12px; right: 12px; width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--border); background: transparent; color: var(--muted); font-size: 18px; line-height: 1; cursor: pointer; }
.hero-reward__close:hover { color: #fff; border-color: var(--accent); }
@media (prefers-reduced-motion: reduce) { .hero__name .ch { transition: none; } .hero-confetti { display: none; } .hero-reward, .hero-reward__panel { transition: none; } }
.guarantee { min-width: 0; }
.guarantee__note { margin-top: 6px; color: var(--muted); font-size: 14px; line-height: 1.5; text-transform: none; letter-spacing: 0; }
/* Section head media: the generated visual under the lede, right column on desktop. */
.section__head-media { margin: 22px 0 0; border: 1px solid var(--border); border-radius: var(--radius-md); overflow: hidden; background: var(--surface); }
.section__head-media img { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
