@font-face {
  font-family: "Manrope";
  src: url("./assets/fonts/manrope.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
}

@font-face {
  font-family: "Newsreader";
  src: url("./assets/fonts/newsreader.woff2") format("woff2");
  font-style: italic;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "DM Mono";
  src: url("./assets/fonts/dm-mono.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

:root {
  --ink: #151020;
  --ink-soft: #21182f;
  --paper: #f2efe8;
  --paper-bright: #fbfaf6;
  --white: #fffdf8;
  --muted: #686270;
  --line: #cbc5cf;
  --violet: #a78bfa;
  --violet-deep: #6544c7;
  --amber: #ffca62;
  --mint: #8ce8c3;
  --sans: "Manrope", Arial, sans-serif;
  --serif: "Newsreader", Georgia, serif;
  --mono: "DM Mono", monospace;
  --gutter: clamp(20px, 4.2vw, 68px);
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font: 400 16px/1.5 var(--sans); -webkit-font-smoothing: antialiased; }
body.menu-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button { color: inherit; font: inherit; }
img { display: block; max-width: 100%; }
p, h1, h2, h3 { margin: 0; }
a:focus-visible,
button:focus-visible,
[tabindex]:focus-visible { outline: 3px solid var(--amber); outline-offset: 5px; }
::selection { color: var(--ink); background: var(--amber); }

.skip-link { position: fixed; top: 8px; left: 8px; z-index: 200; padding: 10px 14px; color: var(--ink); background: var(--amber); transform: translateY(-160%); transition: transform 180ms ease; }
.skip-link:focus { transform: translateY(0); }

.site-header { position: absolute; inset: 0 0 auto; z-index: 50; display: flex; align-items: center; justify-content: space-between; min-height: 82px; padding: 0 var(--gutter); color: var(--white); border-bottom: 1px solid rgba(255,255,255,.12); }
.brand { display: flex; align-items: center; gap: 13px; width: max-content; }
.brand img { width: 129px; height: auto; }
.brand > span { width: 1px; height: 19px; background: rgba(255,255,255,.28); }
.brand b { font: 9px var(--mono); letter-spacing: .13em; }
.site-header nav { display: flex; align-items: center; gap: 31px; font-size: 11px; font-weight: 600; }
.site-header nav > a:not(.nav-cta) { color: rgba(255,255,255,.65); }
.site-header nav a:hover { color: #fff; }
.nav-cta { display: inline-flex; align-items: center; gap: 25px; padding: 12px 17px; color: var(--ink); background: var(--amber); border-radius: 999px; }
.menu-toggle { display: none; }

.hero { position: relative; overflow: hidden; min-height: 870px; padding: 148px var(--gutter) 0; color: var(--white); background: var(--ink); }
.hero::before { position: absolute; top: -260px; right: -170px; width: 760px; height: 760px; border: 1px solid rgba(167,139,250,.24); border-radius: 50%; box-shadow: 0 0 0 92px rgba(167,139,250,.035), 0 0 0 184px rgba(167,139,250,.018); content: ""; }
.hero::after { position: absolute; inset: 0; opacity: .14; pointer-events: none; background-image: linear-gradient(rgba(255,255,255,.12) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.12) 1px, transparent 1px); background-size: 64px 64px; mask-image: linear-gradient(90deg, transparent 0, #000 67%); content: ""; }
.hero-copy { position: relative; z-index: 3; width: 47%; max-width: 680px; }
.eyebrow { display: flex; align-items: center; gap: 12px; margin-bottom: 25px; color: rgba(255,255,255,.52); font: 9px var(--mono); letter-spacing: .12em; text-transform: uppercase; }
.eyebrow > span { width: 23px; height: 1px; background: var(--amber); }
.eyebrow.dark { color: var(--muted); }
.hero h1,
.manifesto h2,
.section-head h2,
.formats h2,
.approach h2,
.fit h2,
.contact h2 { font-size: clamp(61px, 7.2vw, 106px); line-height: .9; letter-spacing: -.067em; }
.hero h1 em,
.manifesto h2 em,
.section-head h2 em,
.formats h2 em,
.approach h2 em,
.fit h2 em,
.contact h2 em { font-family: var(--serif); font-weight: 400; letter-spacing: -.035em; }
.hero h1 em { color: var(--violet); }
.hero-intro { max-width: 575px; margin-top: 30px; color: rgba(255,255,255,.67); font-size: 15px; line-height: 1.8; }
.hero-actions { display: flex; align-items: center; gap: 27px; margin-top: 36px; }
.button { display: inline-flex; align-items: center; justify-content: space-between; gap: 30px; min-height: 52px; padding: 0 19px; border: 0; font-size: 11px; font-weight: 700; }
.primary { color: var(--ink); background: var(--amber); }
.text-link { display: inline-flex; align-items: center; gap: 17px; padding-bottom: 6px; color: rgba(255,255,255,.72); border-bottom: 1px solid rgba(255,255,255,.27); font-size: 11px; font-weight: 700; }
.text-link span { color: var(--amber); }

.session-lab { position: absolute; top: 143px; right: var(--gutter); z-index: 3; width: 45%; max-width: 660px; overflow: hidden; border: 1px solid rgba(255,255,255,.18); background: #1c1428; box-shadow: 0 55px 100px #07040d99; }
.lab-bar,
.lab-footer { display: flex; align-items: center; justify-content: space-between; min-height: 42px; padding: 0 14px; color: rgba(255,255,255,.44); border-bottom: 1px solid rgba(255,255,255,.12); font: 7px var(--mono); letter-spacing: .1em; }
.lab-bar i { display: inline-block; width: 6px; height: 6px; margin-right: 8px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 10px var(--mint); }
.lab-tabs { display: grid; grid-template-columns: repeat(3, 1fr); border-bottom: 1px solid rgba(255,255,255,.12); }
.lab-tabs button { min-height: 46px; padding: 0 8px; color: rgba(255,255,255,.5); border: 0; border-right: 1px solid rgba(255,255,255,.1); background: transparent; font-size: 9px; cursor: pointer; }
.lab-tabs button:last-child { border-right: 0; }
.lab-tabs button[aria-selected="true"] { color: var(--ink); background: var(--amber); }
.lab-tabs button:focus-visible { outline: 2px solid var(--mint); outline-offset: -4px; }
.lab-stage { display: grid; grid-template-columns: 56px 1fr; min-height: 428px; color: var(--ink); background: var(--paper-bright); }
.session-sidebar { display: flex; flex-direction: column; align-items: center; gap: 24px; padding-top: 21px; color: rgba(255,255,255,.42); background: var(--violet-deep); }
.session-sidebar span { display: grid; place-items: center; width: 28px; height: 28px; color: var(--ink); background: var(--amber); border-radius: 50%; font: 8px var(--mono); }
.session-sidebar i { width: 17px; height: 1px; background: rgba(255,255,255,.28); }
.session-sidebar i:nth-of-type(2) { width: 25px; background: var(--mint); }
.session-sidebar b { margin-top: auto; margin-bottom: 22px; color: var(--white); font-weight: 400; }
.session-content { padding: 27px 25px; }
.session-meta { display: flex; justify-content: space-between; gap: 15px; color: #797282; font: 7px var(--mono); letter-spacing: .08em; text-transform: uppercase; }
.session-meta span:first-child { color: var(--violet-deep); }
.session-content h2 { max-width: 500px; margin-top: 28px; font-size: clamp(25px, 2.75vw, 39px); line-height: 1.02; letter-spacing: -.052em; }
.session-content > p { max-width: 495px; margin-top: 16px; color: #6f6874; font-size: 11px; line-height: 1.75; }
.session-output { margin-top: 25px; padding: 15px; border: 1px solid #d9d2de; background: #f5f1fa; }
.session-output span { display: block; color: #817789; font: 6px var(--mono); letter-spacing: .1em; }
.session-output strong { display: block; margin-top: 10px; font-size: 11px; line-height: 1.5; }
.prompt-thread { display: grid; gap: 7px; margin-top: 14px; }
.prompt-thread span { padding: 8px 10px; color: #68616d; background: #ece8ed; font-size: 8px; }
.prompt-thread span:nth-child(2) { margin-left: 20px; background: #e5ddfa; }
.prompt-thread span:nth-child(3) { margin-left: 40px; color: #59442a; background: #fff0ce; }
.prompt-thread i { display: inline-block; min-width: 38px; color: var(--violet-deep); font: 6px var(--mono); font-style: normal; }
.lab-footer { min-height: 38px; border-top: 1px solid rgba(255,255,255,.12); border-bottom: 0; }
.hero-note { position: absolute; right: var(--gutter); bottom: 32px; left: var(--gutter); z-index: 3; display: flex; align-items: center; gap: 18px; color: rgba(255,255,255,.38); font: 8px var(--mono); letter-spacing: .1em; }
.hero-note i { flex: 1; height: 1px; background: rgba(255,255,255,.11); }

.manifesto { padding: 125px var(--gutter); }
.manifesto h2 { max-width: 1180px; font-size: clamp(51px, 6.2vw, 88px); }
.manifesto h2 em { color: var(--violet-deep); }
.manifesto-copy { display: flex; align-items: start; gap: 25px; max-width: 650px; margin: 53px 5% 0 auto; }
.manifesto-copy span { color: var(--violet-deep); font-size: 31px; }
.manifesto-copy p { color: var(--muted); font-size: 14px; line-height: 1.85; }

.capabilities { padding: 120px var(--gutter); color: var(--white); background: var(--ink); }
.section-head { display: grid; grid-template-columns: minmax(0,1fr) 300px; align-items: end; gap: 60px; margin-bottom: 75px; }
.section-head .eyebrow { grid-column: 1/-1; margin-bottom: -42px; }
.section-head h2 { font-size: clamp(50px, 5.8vw, 82px); }
.section-head h2 em { color: var(--violet); }
.section-head > p { margin-bottom: 7px; color: rgba(255,255,255,.55); font-size: 13px; line-height: 1.8; }
.capability-grid { display: grid; grid-template-columns: repeat(3,1fr); border-top: 1px solid rgba(255,255,255,.15); border-left: 1px solid rgba(255,255,255,.15); }
.capability-grid article { position: relative; min-height: 300px; padding: 25px; border-right: 1px solid rgba(255,255,255,.15); border-bottom: 1px solid rgba(255,255,255,.15); transition: background 200ms ease, transform 200ms ease; }
.capability-grid article:hover { z-index: 1; background: var(--ink-soft); transform: translateY(-3px); }
.capability-grid article > span { color: var(--amber); font: 8px var(--mono); }
.capability-grid article > b { position: absolute; top: 19px; right: 22px; color: rgba(255,255,255,.26); font-size: 20px; font-weight: 400; }
.capability-grid h3 { margin-top: 108px; font-size: 25px; letter-spacing: -.04em; }
.capability-grid p { max-width: 345px; margin-top: 15px; color: rgba(255,255,255,.54); font-size: 12px; line-height: 1.8; }

.formats { padding: 120px var(--gutter); background: var(--paper-bright); }
.formats-intro { display: grid; grid-template-columns: minmax(0,1fr) 310px; align-items: end; gap: 60px; }
.formats-intro .eyebrow { grid-column: 1/-1; margin-bottom: -41px; }
.formats h2 { font-size: clamp(50px, 5.8vw, 82px); }
.formats h2 em { color: var(--violet-deep); }
.formats-intro > p { color: var(--muted); font-size: 13px; line-height: 1.8; }
.format-list { display: grid; grid-template-columns: repeat(3,1fr); margin-top: 74px; border-top: 1px solid var(--line); }
.format-list article { display: flex; flex-direction: column; min-height: 340px; padding: 27px 30px 27px 0; border-right: 1px solid var(--line); }
.format-list article + article { padding-left: 30px; }
.format-list article:last-child { border-right: 0; }
.format-list span,
.format-list small { color: var(--violet-deep); font: 8px var(--mono); letter-spacing: .08em; }
.format-list h3 { margin-top: 86px; font-size: 29px; letter-spacing: -.045em; }
.format-list p { margin-top: 16px; color: var(--muted); font-size: 12px; line-height: 1.8; }
.format-list small { margin-top: auto; padding-top: 30px; color: #7b7480; }

.approach { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(60px, 10vw, 155px); padding: 120px var(--gutter); color: var(--white); background: var(--violet-deep); }
.approach-copy { align-self: start; position: sticky; top: 100px; }
.approach .eyebrow { color: rgba(255,255,255,.8); }
.approach h2 { font-size: clamp(47px, 5.2vw, 76px); }
.approach h2 em { color: var(--amber); }
.approach-copy > p:last-child { max-width: 470px; margin-top: 29px; color: rgba(255,255,255,.84); font-size: 13px; line-height: 1.85; }
.approach-list { margin: 0; padding: 0; list-style: none; border-top: 1px solid rgba(255,255,255,.25); }
.approach-list li { display: grid; grid-template-columns: 45px 1fr; gap: 23px; min-height: 220px; padding: 27px 0 34px; border-bottom: 1px solid rgba(255,255,255,.25); }
.approach-list span { color: var(--amber); font: 8px var(--mono); }
.approach-list h3 { margin-top: 60px; font-size: 30px; letter-spacing: -.045em; }
.approach-list p { max-width: 530px; margin-top: 13px; color: rgba(255,255,255,.65); font-size: 13px; line-height: 1.8; }

.fit { display: grid; grid-template-columns: 1fr 1fr; align-items: end; gap: clamp(60px,10vw,160px); padding: 120px var(--gutter); background: #e7e0f7; }
.fit h2 { font-size: clamp(50px, 5.5vw, 80px); }
.fit h2 em { color: var(--violet-deep); }
.fit-list { border-top: 1px solid rgba(21,16,32,.24); }
.fit-list p { display: grid; grid-template-columns: 35px 1fr; gap: 12px; padding: 22px 0; border-bottom: 1px solid rgba(21,16,32,.24); font-size: 13px; }
.fit-list span { color: var(--violet-deep); font: 9px var(--mono); }

.contact { padding: 120px var(--gutter); background: var(--amber); }
.contact .eyebrow { color: #684a13; }
.contact .eyebrow > span { background: var(--ink); }
.contact h2 { max-width: 1080px; font-size: clamp(58px, 7.5vw, 110px); }
.contact h2 em { color: #74521b; }
.contact-bottom { display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 34px; margin-top: 66px; padding-top: 24px; border-top: 1px solid rgba(21,16,32,.34); }
.contact-bottom p { font-size: 13px; }
.dark-button { color: #fff; background: var(--ink); }
.contact-bottom > a:last-child { font-size: 11px; border-bottom: 1px solid rgba(21,16,32,.4); }

footer { display: grid; grid-template-columns: 1fr 1fr auto; align-items: center; gap: 35px; padding: 48px var(--gutter) 24px; color: rgba(255,255,255,.58); background: var(--ink); font-size: 10px; }
footer p { text-align: center; font-family: var(--serif); font-size: 16px; }
footer > a:not(.brand) { text-align: right; }
footer small { grid-column: 1/-1; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.12); font: 8px var(--mono); }

[data-reveal] { opacity: 1; transform: none; }
.motion-ready [data-reveal] { opacity: 0; transform: translateY(22px); transition: opacity 650ms ease, transform 650ms cubic-bezier(.2,.75,.25,1); }
.motion-ready [data-reveal].visible { opacity: 1; transform: none; }

@media (max-width: 1050px) {
  .hero { min-height: 1050px; }
  .hero-copy { width: 77%; }
  .session-lab { position: relative; top: auto; right: auto; width: min(100%,690px); margin: 55px 0 92px auto; }
  .hero-note { bottom: 24px; }
  .approach { gap: 60px; }
}

@media (max-width: 760px) {
  .site-header { min-height: 70px; }
  .brand img { width: 102px; }
  .brand b { font-size: 7px; }
  .menu-toggle { display: grid; place-content: center; gap: 6px; width: 43px; height: 43px; padding: 0; border: 1px solid rgba(255,255,255,.25); border-radius: 50%; background: transparent; }
  .menu-toggle span { display: block; width: 17px; height: 1px; background: #fff; transition: transform 180ms ease; }
  .menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(3.5px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }
  .site-header nav { position: fixed; inset: 0; z-index: -1; display: flex; flex-direction: column; align-items: stretch; justify-content: center; gap: 0; padding: 90px var(--gutter) 35px; background: var(--ink); opacity: 0; visibility: hidden; transition: opacity 180ms ease, visibility 180ms ease; }
  .site-header nav.open { opacity: 1; visibility: visible; }
  .site-header nav > a:not(.nav-cta) { padding: 15px 0; border-bottom: 1px solid rgba(255,255,255,.12); font-size: 23px; }
  .nav-cta { justify-content: space-between; margin-top: 28px; }
  .hero { min-height: 0; padding-top: 120px; }
  .hero-copy { width: 100%; }
  .hero h1 { font-size: clamp(54px, 15.5vw, 78px); }
  .hero-intro { font-size: 13px; }
  .hero-actions { align-items: stretch; flex-direction: column; }
  .button { justify-content: space-between; }
  .text-link { align-self: flex-start; }
  .session-lab { margin-top: 48px; margin-bottom: 84px; }
  .lab-tabs button { min-height: 49px; font-size: 8px; }
  .lab-stage { grid-template-columns: 39px 1fr; min-height: 440px; }
  .session-sidebar { gap: 20px; }
  .session-sidebar span { width: 24px; height: 24px; }
  .session-content { padding: 22px 14px; }
  .session-meta span:last-child { display: none; }
  .session-content h2 { margin-top: 23px; font-size: 27px; }
  .prompt-thread span:nth-child(2) { margin-left: 10px; }
  .prompt-thread span:nth-child(3) { margin-left: 20px; }
  .hero-note { gap: 8px; font-size: 6px; }
  .manifesto,
  .capabilities,
  .formats,
  .approach,
  .fit,
  .contact { padding-top: 76px; padding-bottom: 76px; }
  .manifesto h2 { font-size: clamp(45px, 12.5vw, 65px); }
  .manifesto-copy { margin-top: 37px; }
  .section-head,
  .formats-intro { display: block; margin-bottom: 45px; }
  .section-head .eyebrow,
  .formats-intro .eyebrow { margin-bottom: 22px; }
  .section-head h2,
  .formats h2 { font-size: clamp(46px, 12.5vw, 64px); }
  .section-head > p,
  .formats-intro > p { margin-top: 25px; }
  .capability-grid { grid-template-columns: 1fr; }
  .capability-grid article { min-height: 240px; }
  .capability-grid h3 { margin-top: 73px; }
  .format-list { grid-template-columns: 1fr; margin-top: 48px; }
  .format-list article,
  .format-list article + article { min-height: 270px; padding: 26px 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .format-list h3 { margin-top: 50px; }
  .approach { display: block; }
  .approach-copy { position: static; }
  .approach h2 { font-size: clamp(44px, 11.8vw, 61px); }
  .approach-list { margin-top: 50px; }
  .approach-list li { min-height: 0; }
  .approach-list h3 { margin-top: 45px; }
  .fit { grid-template-columns: 1fr; gap: 50px; }
  .fit h2 { font-size: clamp(45px, 12vw, 63px); }
  .contact h2 { font-size: clamp(52px, 14.3vw, 76px); }
  .contact-bottom { grid-template-columns: 1fr; align-items: stretch; gap: 22px; margin-top: 45px; }
  .contact-bottom > a:last-child { justify-self: start; }
  footer { grid-template-columns: 1fr; justify-items: start; }
  footer p { text-align: left; }
  footer > a:not(.brand) { text-align: left; }
}

@media (max-width: 380px) {
  .brand { gap: 9px; }
  .brand img { width: 94px; }
  .lab-tabs button { font-size: 7px; }
  .prompt-thread { display: none; }
  .lab-stage { min-height: 370px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation: none !important; }
  .motion-ready [data-reveal] { opacity: 1; transform: none; }
}
