/* Toothed AI — monochrome, native-scroll company narrative. */
:root{color-scheme:dark;--bg:#000;--fg:#fff;--muted:#999;--line:#292929;--header:88px;font-family:Sora,Helvetica,Arial,sans-serif}
*{box-sizing:border-box}
html{scroll-padding-top:110px;scrollbar-width:none}
html::-webkit-scrollbar,body::-webkit-scrollbar{display:none;width:0;height:0}
body{margin:0;background:var(--bg);color:var(--fg);font:400 16px/1.65 Sora,Helvetica,Arial,sans-serif;-webkit-font-smoothing:antialiased}
a{color:inherit;text-decoration:none}button{font:inherit}a:focus-visible,button:focus-visible{outline:2px solid #fff;outline-offset:6px}
img,svg{display:block;max-width:100%}h1,h2,h3,p{margin:0}h1,h2,h3{font-weight:400}::selection{background:#fff;color:#000}
.wrap{width:min(1440px,calc(100% - 112px));margin-inline:auto}
.skip{position:fixed;top:-80px;left:16px;background:white;color:black;padding:10px;z-index:100}.skip:focus{top:10px}
/* Header is deliberately not a .wrap: it occupies the entire viewport. */
.hd{position:sticky;top:0;z-index:50;background:#000}
.home-page .hd{opacity:1;transform:none;transition:transform .45s cubic-bezier(.22,1,.36,1),opacity .3s ease!important}
.home-page .hd.scrolling{transform:translateY(-100%);opacity:0;pointer-events:none}
@media(prefers-reduced-motion:reduce){.home-page .hd{transition:none!important}}
.home-page .hd-in{display:flex;width:100%;max-width:none;margin:0;height:var(--header);padding:0 24px;gap:32px}
.brand{position:relative;display:block;flex:none;height:24px}
.brand img{position:absolute;top:50%;left:0;transform:translateY(-50%);width:auto;max-width:none}
.nav{display:flex;flex:1;min-width:0}.nav-trigger{font:inherit}.nav-signin{margin-left:auto}
.home-page .nav a,.home-page .nav .nav-trigger{font-weight:400}
.home-page .brand,.home-page .hd.scrolled .brand{width:124px}
.home-page .lg-word,.home-page .hd.scrolled .lg-word{display:block;height:16px}
.home-page .lg-mark,.home-page .hd.scrolled .lg-mark{display:none}
.home-page .mega-menu,.home-page .nav-dropdown>.nav-backdrop{top:var(--header)}
.progress{position:fixed;top:0;left:0;right:0;height:1px;background:white;z-index:70;transform:scaleX(0);transform-origin:left}
.hero{position:relative;padding:64px 0 0;overflow:clip}
.hero h1{font-size:clamp(64px,7.9vw,132px);line-height:1.02;letter-spacing:-.075em;max-width:1200px}
.hero h1 span{color:#808080}
.hero #hero-title{position:relative;top:20px;left:10px;max-width:calc(100% - 10px)}
.hero-stage{position:relative}
.scroll-hint{position:absolute;z-index:3;bottom:24px;left:50%;transform:translateX(-50%);display:flex;flex-direction:column;align-items:center;gap:12px;width:max-content;color:#999;font-size:10px;font-weight:400;line-height:1.5;letter-spacing:.08em;pointer-events:none;transition:opacity .35s ease}
.scroll-hint-line{position:relative;width:1px;height:32px;background:#303030;overflow:hidden}
.scroll-hint-line::after{content:"";position:absolute;inset:0;background:linear-gradient(transparent,#ccc,transparent);transform:translateY(-100%);animation:scroll-cue 2.4s ease-in-out infinite}
@keyframes scroll-cue{0%{transform:translateY(-100%)}65%,100%{transform:translateY(100%)}}
@media(max-width:640px),(max-height:699px){.scroll-hint{position:relative;bottom:auto;left:auto;transform:none;margin:40px auto 0}}
.scroll-hint.is-hidden{opacity:0}
.hero-stage>.wrap{display:grid;grid-template-columns:fit-content(100%);width:100%;max-width:none;margin-inline:0;padding-inline:24px}
@media(max-width:640px){.hero-stage>.wrap{padding-inline:12px}}
@media(max-width:360px){.hero-stage>.wrap{padding-inline:10px}}
.signal-window{position:relative;height:340px;margin:48px 0 0;overflow:hidden;background:#000}
.signal-window::after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,#000,transparent 20%,transparent 80%,#000);pointer-events:none}
.signal{width:100%;height:100%;filter:contrast(1.35)}
.hero-wave path{transform-origin:800px 130px}
@media(prefers-reduced-motion:no-preference){
 .hero-wave path{animation:wave-breathe 5s ease-in-out infinite alternate}
 .hero-wave path:nth-child(2n){animation-delay:-2s;animation-direction:alternate-reverse}
 .hero-wave path:nth-child(3n){animation-delay:-3.5s}
}
@keyframes wave-breathe{from{transform:translateY(-8px) scaleY(.7)}to{transform:translateY(8px) scaleY(1.15)}}
.journey{position:relative;background:#030303}
.journey-layout{display:grid;grid-template-columns:1fr 1.15fr;gap:7vw;align-items:start}
.lab{position:sticky;top:calc(var(--header) + 32px);height:calc(100svh - var(--header) - 64px);min-height:440px;max-height:760px;display:grid;align-items:center}
.lab-frame{position:relative;aspect-ratio:1/1;overflow:hidden;background:radial-gradient(ellipse at 50% 42%,#141414 0%,#030303 66%)}
.lab-frame::before,.lab-frame::after{content:"";position:absolute;top:0;bottom:0;width:1px;background:linear-gradient(transparent,#292929,transparent)}
.lab-frame::before{left:0}.lab-frame::after{right:0}
.closing{padding:100px 0}
.closing .wrap{display:flex;justify-content:space-between;align-items:end;gap:40px}
.closing h2{font-size:clamp(50px,7vw,110px);line-height:1.05;letter-spacing:-.07em}
.ft{padding:50px 0 30px}.ft-in{display:flex;align-items:center;justify-content:space-between;gap:30px;flex-wrap:wrap}.ft-brand img{height:16px;width:auto}
.ft-legal{display:flex;gap:24px;flex-wrap:wrap;font-size:12px;color:#999}
.ft-mail{font-size:13px;color:#999;margin-top:24px}.ft-mail a{text-decoration:underline}.ft-copy{font-size:11px;color:#666;margin-top:35px;padding-top:20px}
.cban{position:fixed;bottom:0;left:0;right:0;z-index:100;background:#000;border-top:1px solid #444;padding:16px 0}
.cban-in{display:flex;align-items:center;gap:16px;justify-content:space-between;flex-wrap:wrap}
.cban p{color:#aaa;font-size:12px;max-width:850px}.cban a{text-decoration:underline}.cban-btns{display:flex;gap:10px}.cb{border:1px solid #777;border-radius:4px;padding:8px 20px;font-size:12px;cursor:pointer;background:#000;color:#fff}.cb-a{background:white;color:black}
@supports(animation-timeline:scroll()){
 .progress{animation:progress linear both;animation-timeline:scroll()}
 .signal-flow{animation:signal-pass linear both;animation-timeline:view();animation-range:entry 0% exit 100%}
}
@keyframes progress{to{transform:scaleX(1)}}
@keyframes signal-pass{from{transform:translateX(-60px)}to{transform:translateX(80px)}}
@media(min-width:900px) and (prefers-reduced-motion:no-preference){
 .journey{view-timeline-name:--journey;view-timeline-axis:block}
}
.hero-next{padding:80px 56px}.hero-next h2{font-size:clamp(48px,7vw,110px);line-height:1.03;letter-spacing:-.065em;margin-top:24px}.hero-next h2 span{color:#888}
@media(min-width:641px) and (min-height:700px) and (prefers-reduced-motion:no-preference){
 @supports(animation-timeline:--opening){
  .hero{padding:0;height:250svh;view-timeline-name:--opening;view-timeline-axis:block}
  .hero-stage{position:sticky;top:var(--header);height:calc(100svh - var(--header));overflow:hidden;padding-top:32px;background:#000}
  .hero h1{font-size:clamp(64px,7.5vw,120px)}
  .signal-window{position:absolute;bottom:0;left:0;right:0;height:44%;margin:0;transform-origin:center;animation:opening-diagram linear both;animation-timeline:--opening;animation-range:contain 0% contain 100%}
  .hero-stage>.wrap{animation:opening-copy linear both;animation-timeline:--opening;animation-range:contain 0% contain 100%}
  .hero-next{position:absolute;inset:0;display:flex;flex-direction:column;justify-content:center;padding:0 max(56px,calc((100vw - 1440px)/2));pointer-events:none;animation:opening-next linear both;animation-timeline:--opening;animation-range:contain 0% contain 100%}
 }
}
@keyframes opening-copy{0%,18%{opacity:1;transform:none}42%,100%{opacity:0;transform:translateY(-70px)}}
@keyframes opening-next{0%,38%{opacity:0;transform:translateY(55px)}62%,100%{opacity:1;transform:none}}
.hero-stage:has(a:focus-visible)>.wrap{animation:none;opacity:1;transform:none}
.hero-stage:has(a:focus-visible) .hero-next{visibility:hidden}
@media(max-width:900px){
 .wrap{width:calc(100% - 48px)}.hero{padding-top:40px}.hero h1{font-size:clamp(56px,9vw,90px)}
 .journey-layout{gap:32px;grid-template-columns:1fr 1fr}.lab{min-height:340px}.lab-frame{aspect-ratio: .9}
}
@media(max-width:640px){
 :root{--header:88px}.home-page .hd-in{padding-inline:12px;gap:18px}.home-page .brand,.home-page .hd.scrolled .brand{width:100px}.home-page .lg-word,.home-page .hd.scrolled .lg-word{height:12.7px}.home-page .nav{gap:15px}.home-page .nav .nav-trigger,.home-page .nav-signin{font-size:11px!important}
 .wrap{width:calc(100% - 40px)}.hero{padding-top:24px}.hero h1{font-size:clamp(45px,11vw,70px);letter-spacing:-.07em}.signal-window{height:180px;margin:40px 12px 0}
 .hero-next{padding:60px 20px 0}.hero-next h2{font-size:45px}
 .lab{position:relative;top:auto;min-height:0;height:auto;width:100%;padding:35px 0}.lab-frame{aspect-ratio:1.1}
 .closing{padding:65px 0}.closing .wrap{align-items:start;flex-direction:column}.closing h2{font-size:54px}.ft-legal{gap:16px;font-size:10px}
}
@media(prefers-reduced-motion:reduce){
 *,*::before,*::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}
 .lab{position:relative;top:auto}
}
@media(max-width:360px){
 .home-page .hd-in{gap:12px;padding-inline:10px}.home-page .brand,.home-page .hd.scrolled .brand{width:88px}.home-page .lg-word,.home-page .hd.scrolled .lg-word{height:11px}.home-page .nav{gap:10px}.home-page .nav .nav-trigger,.home-page .nav-signin{font-size:10px!important}
}

/* Illustration-first scenes: a full stage, with only a short caption. */
.hero h1{font-size:clamp(45px,5.3vw,82px)}
.hero-next h2{font-size:clamp(42px,5vw,76px)}
.hero-next{justify-content:flex-end!important;padding-bottom:50px!important}
.signal-window{height:420px}
.journey-layout{display:grid;grid-template-columns:minmax(0,1fr);gap:0}
.lab{width:100%;height:calc(100svh - var(--header));min-height:0;max-height:none;top:var(--header);padding:0}
.lab-frame{height:100%;width:100%;aspect-ratio:auto;background:radial-gradient(ellipse at 60% 40%,#121212,transparent 65%)}
.lab-frame::before,.lab-frame::after{display:none}
@media(min-width:641px) and (min-height:700px) and (prefers-reduced-motion:no-preference){
 @supports(animation-timeline:--opening){
  .hero h1{font-size:clamp(45px,5.3vw,82px)}
  .signal-window{height:64%;bottom:0}
  .hero-stage>.wrap{position:relative;z-index:2}
  .hero-next{z-index:2}
 }
}
@keyframes opening-diagram{
  0%,15%{opacity:1;transform:translateY(8%) scale(1)}
  65%,100%{opacity:.85;transform:translateY(-20%) scale(1.25)}
}
@media(min-width:641px){
 .journey{view-timeline-name:--journey;view-timeline-axis:block}
}
@media(max-width:640px){
 .hero h1{font-size:42px}.hero-next{padding:35px 20px!important}.hero-next h2{font-size:38px}
 .signal-window{height:300px;margin:20px 0 0}
 .journey-layout{display:grid}.chapter{min-height:100svh;padding-bottom:125px}
 .lab{position:sticky;top:var(--header);height:calc(100svh - var(--header));padding:0}
}
@media(prefers-reduced-motion:reduce),(scripting:none){
 .journey-layout{display:flex;flex-direction:column}
 .chapters{display:flex;flex-wrap:wrap;gap:30px;width:100%}
 .chapter{min-height:0;padding:35px 0;flex:1;min-width:200px}
 .lab{position:static;height:auto}
 .lab-frame{height:auto}
}

/* Full-screen connection and creation studies. */
.circuit-story{background:#000;view-timeline-name:--circuits;view-timeline-axis:block}
.circuit-story .lab{top:0;height:100svh}
.circuit-story .lab-frame{background:#000}
.continuous-story{margin-top:18svh}
.circuit-title{position:absolute;top:clamp(24px,5svh,48px);right:0;text-align:right;z-index:1;font-size:clamp(30px,4vw,58px);line-height:1.08;letter-spacing:-.055em;font-weight:400}
.circuit-title span{color:#777}
.continuous-stage{position:absolute;inset:clamp(120px,23svh,185px) 0 3%;display:grid;place-items:center}
.continuous-art{width:100%;height:100%;max-height:90svh;overflow:visible}
.continuous-art *{vector-effect:non-scaling-stroke}
.interface-story{position:relative;height:230svh;view-timeline-name:--interface;view-timeline-axis:block;margin-top:15svh}
.interface-stage{position:sticky;top:0;height:100svh;display:grid;grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr);align-items:center;gap:30px}
.interface-stage h2{font-size:clamp(30px,3.6vw,54px);line-height:1.1;letter-spacing:-.055em;font-weight:400}
.interface-stage h2 span{color:#777}
.interface-art{width:100%;max-height:75svh;overflow:visible}
.interface-art *{vector-effect:non-scaling-stroke}
.creation-art.pen-driven .interface-shell,
.creation-art.pen-driven .interface-module,
.creation-art.pen-driven .interface-ready{animation:none!important;opacity:1;clip-path:none}
.creation-art.pen-driven .interface-shell path,
.creation-art.pen-driven .interface-module path{vector-effect:none;stroke-linecap:butt}
.orbit-study .orbit{vector-effect:non-scaling-stroke;transform-box:fill-box;transform-origin:center}
@supports(animation-timeline:view()){
 @media(prefers-reduced-motion:no-preference) and (scripting:enabled){
  .orbit-study .orbit{animation:orbit-form linear both;animation-timeline:--connected}
  .orbit-study .orbit{animation-timing-function:cubic-bezier(.22,1,.36,1)}
  .orbit-study .orbit-a{animation-name:tool-node-reveal;animation-range:contain 0% contain 12%}
  .orbit-study .orbit-b{animation-range:contain 5% contain 21%}
  .orbit-study .orbit-c{animation-name:tool-node-reveal;animation-range:contain 12% contain 27%}
  .orbit-study .orbit-d{animation-range:contain 19% contain 35%}
  .orbit-study .orbit-e{animation-name:tool-node-reveal;animation-range:contain 27% contain 42%}
 }
}
@keyframes orbit-form{from{opacity:0;clip-path:inset(0 100% 0 0)}to{opacity:1;clip-path:inset(0)}}
@keyframes tool-node-reveal{from{opacity:0;transform:translateY(12px) scale(.96)}to{opacity:1;transform:none}}
@supports(animation-timeline:view()){
 @media(prefers-reduced-motion:no-preference) and (scripting:enabled){
  .creation-art .interface-module{animation-name:sketch-reveal;animation-timing-function:cubic-bezier(.4,0,.2,1)}
  .creation-art .interface-ready{animation-name:tool-node-reveal;animation-timing-function:cubic-bezier(.22,1,.36,1)}
 }
}
@keyframes sketch-reveal{from{clip-path:inset(0 100% 0 0);opacity:0}20%{opacity:1}to{clip-path:inset(0);opacity:1}}
@supports(animation-timeline:--interface){
 @media(prefers-reduced-motion:no-preference) and (scripting:enabled){
  .interface-shell{animation:tool-arrive linear both;animation-timeline:--interface;animation-range:contain 15% contain 30%}
  .interface-module{animation:interface-fit linear both;animation-timeline:--interface}
  .module-one{animation-range:contain 25% contain 45%}
  .module-two{animation-range:contain 40% contain 60%}
  .module-three{animation-range:contain 55% contain 75%}
  .interface-ready{animation:tool-arrive linear both;animation-timeline:--interface;animation-range:contain 78% contain 90%}
 }
}
@keyframes interface-fit{from{transform:translate(-180px,40px);opacity:0}to{transform:none;opacity:1}}
@supports(animation-timeline:--circuits){
 @media(prefers-reduced-motion:no-preference) and (scripting:enabled){
  .circuit-title{animation:title-enter linear both;animation-timeline:--circuits;animation-range:entry 65% contain 8%}
  .interface-stage h2{animation:title-enter linear both;animation-timeline:--interface;animation-range:entry 65% contain 8%}
  .circuit-title span,.interface-stage h2 span{display:inline-block;animation:title-enter linear both;animation-range:entry 80% contain 14%}
  .circuit-title span{animation-timeline:--circuits}
  .interface-stage h2 span{animation-timeline:--interface}
 }
}
@keyframes title-enter{from{opacity:0;transform:translateY(32px);clip-path:inset(0 0 100% 0)}to{opacity:1;transform:none;clip-path:inset(0)}}
@media(max-width:640px){
 .continuous-story{margin-top:12svh}
 .interface-stage{grid-template-columns:1fr;grid-template-rows:auto 1fr;align-items:center;gap:20px;padding-top:8svh;padding-bottom:8svh}
 .interface-art{max-height:60svh}
 .interface-story{height:200svh}
}
@media(prefers-reduced-motion:reduce),(scripting:none){
 .interface-story{height:auto;margin-block:60px}
 .interface-stage{position:static;height:auto;min-height:70svh}
}
.continuous-story .lab{min-height:0}
@keyframes tool-arrive{from{transform:translateX(12px);opacity:0}to{transform:none;opacity:1}}
@media(prefers-reduced-motion:reduce),(scripting:none){
 .circuit-title{position:static;padding-top:40px}
 .continuous-story .continuous-stage{position:static;min-height:65svh}
 .continuous-art{height:auto}
}
@media(prefers-reduced-motion:reduce),(scripting:none){
 .circuit-story .chapters{display:none}
 .circuit-story .lab{height:auto;position:static}
}

/* Finish the first drawing, travel right, assemble the interface, then unpin down.
   A single native scroll timeline keeps the two drawings and camera in sequence. */
@supports(animation-timeline:view()){
 @media(prefers-reduced-motion:no-preference) and (scripting:enabled){
  .connected-story{height:600svh;margin-top:18svh;view-timeline:--connected block}
  .connected-viewport{position:sticky;top:0;height:100svh;overflow:clip}
  .connected-track{display:flex;width:200%;height:100%;animation:travel-right linear both;animation-timeline:--connected;animation-range:contain 46% contain 60%}
  .connected-track>section{flex:0 0 50%;min-width:0;height:100%;margin:0;view-timeline-name:none}
  .connected-track .chapters{display:none}
  .connected-track .journey-layout{height:100%}
  .connected-track .lab,.connected-track .interface-stage{position:relative;top:auto;height:100svh}
  .connected-track .circuit-title,.connected-track .circuit-title span,
  .connected-track .interface-stage h2,.connected-track .interface-stage h2 span,
  .connected-track .interface-shell,.connected-track .interface-module,.connected-track .interface-ready{animation-timeline:--connected}
  .connected-track .circuit-title{animation-range:entry 65% contain 3%}
  .connected-track .circuit-title span{animation-range:entry 80% contain 6%}
  .connected-track .interface-stage h2{animation-range:contain 51% contain 60%}
  .connected-track .interface-stage h2 span{animation-range:contain 54% contain 63%}
  .connected-track .interface-shell{animation-range:contain 65% contain 70%}
  .connected-track .module-one{animation-range:contain 65% contain 83%}
  .connected-track .module-two{animation-range:contain 69% contain 88%}
  .connected-track .module-three{animation-range:contain 73% contain 93%}
  .connected-track .interface-ready{animation-range:contain 86% contain 96%}
 }
}
@keyframes travel-right{from{transform:translateX(0)}to{transform:translateX(-50%)}}
@media(max-width:640px){
 .connected-story{margin-top:12svh}
}
