/* The continuous website composition: shared optical grid, legible type and
   finite transitions. Figma identity and original media remain the source. */
:root{--ink:#090909;--paper:#f2f1ed;--muted:#aaa9a5;--surface:#202020;--panel:#141414;--gutter:clamp(22px,4.45vw,80px)}
:root[data-theme=light]{--ink:#f1f0ec;--paper:#171717;--muted:#5c5b57;--surface:#e4e3df;--panel:#e9e8e4}
body{font-size:15px}
.display{font-size:clamp(34px,4.1vw,66px);line-height:1.12}
.eyebrow{font-size:11px;letter-spacing:.12em}
.section-heading{margin-bottom:48px}
.section-heading>p{font-size:15px;line-height:1.8}
.button{font-size:13px;min-height:56px;background:transparent;border-color:color-mix(in srgb,var(--paper) 24%,transparent)}
.site-header{height:88px;transition:background .3s}
.site-header.is-compact{background:color-mix(in srgb,var(--ink) 94%,transparent);backdrop-filter:blur(12px)}
.header-brand{opacity:var(--header-presence,0);transition:none}
.is-compact .header-brand{opacity:var(--header-presence,1)}
.theme-toggle,.menu-toggle{width:48px;height:48px}
.menu-toggle img{width:33px;height:33px}
.hero-descriptors{top:23.5%;font-size:12px;letter-spacing:.26em;color:var(--paper)}
.hero-field{top:0;height:100%;clip-path:inset(30.4% 0 19.6%);will-change:clip-path;contain:paint;background:#000;mask-image:linear-gradient(to bottom,transparent var(--film-top,30.4%),#000 calc(var(--film-top,30.4%) + 24px),#000 calc(100% - var(--film-bottom,19.6%) - 24px),transparent calc(100% - var(--film-bottom,19.6%)))}
.hero-reel{position:absolute;inset:0;z-index:1;transform:scale(1.04);will-change:transform;filter:saturate(1.04) contrast(1.08) brightness(.62);transition:opacity .45s var(--ease)}
.ascii-glitter-layer{position:absolute;inset:0;z-index:2;width:100%;height:100%;display:block;opacity:0;background:#000;pointer-events:none;transition:opacity .55s var(--ease)}
.ascii-glitter-ready .ascii-glitter-layer{opacity:1}
.ascii-glitter-ready .hero-reel{opacity:0}
.film-shade{z-index:3;background:radial-gradient(ellipse 27% 30% at 50% 50%,#0009,transparent 82%),radial-gradient(ellipse 45% 28% at 14% 77%,#000d,#0007 48%,transparent 84%),radial-gradient(ellipse 35% 22% at 78% 20%,#0007,transparent 76%),linear-gradient(0deg,#0009,transparent 34%,transparent 80%,#0002)}
.hero-field:after{z-index:4;background:radial-gradient(ellipse 42% 54% at 50% 52%,#000b,#0007 42%,transparent 80%)}
.hero-copy{top:68.2%;font-size:clamp(16px,1.4vw,20px);font-weight:600;line-height:1.45;max-width:620px;width:47%}
.hero-logo{top:43.9%}
.hero-footer{bottom:5.5%;font-size:18px}
.hero-footer .micro{font-size:10px}
.logo-button{width:116px;height:116px;background:#1a1a1a}
[data-theme=light] .logo-button{background:var(--surface)}
.about-content{isolation:isolate}
.about-content h2{top:25.5%;font-size:32px;z-index:1}
.about-description{top:62%;font-size:16px;font-weight:500;line-height:1.65;width:min(630px,80vw)}
.about-scroll{font-size:10px}
.about-static-logo,.about-description,.about-scroll{z-index:1}
.about-content:before{content:'';position:absolute;inset:12% 13% 7%;z-index:0;background:radial-gradient(ellipse at center,#000b,#0007 44%,transparent 76%);pointer-events:none}
[data-theme=light] .intro-stage .hero-heading img{filter:brightness(.13)}
[data-theme=light] .hero-descriptors,[data-theme=light] .hero-footer{color:var(--paper)}
[data-theme=light] .hero-copy,[data-theme=light] .about-content{color:#f5f4ef}
.code-section{padding-top:110px}
.code-lab{position:relative;display:grid;grid-template-columns:repeat(12,minmax(0,1fr));gap:0 24px;min-height:0;padding:0;background:none;align-items:center}
.code-controls{grid-column:1/6;min-width:0;align-self:stretch;display:flex;padding:0 40px 36px 0}
.code-tabs{flex-wrap:nowrap;gap:24px;margin:0 0 50px;padding-top:0}
.code-tabs button{position:relative;min-height:48px;padding:12px 0;border:0;border-radius:0;white-space:nowrap;font-size:12px;color:var(--muted);transition:color .3s}
.code-tabs button:after{content:'';position:absolute;height:1px;bottom:0;left:0;right:0;background:currentColor;transform:scaleX(0);transform-origin:left;transition:transform .4s var(--ease)}
.code-tabs [aria-selected=true]{background:none;color:var(--paper)}
.code-tabs [aria-selected=true]:after{transform:scaleX(1)}
.code-panel{padding-top:0;margin:auto 0}
.code-panel h3{font:400 clamp(25px,2.6vw,40px)/1.2 var(--mono);letter-spacing:-.06em;max-width:420px;text-wrap:balance}
.code-panel>p{font-size:14px;line-height:1.8;max-width:370px;margin-top:24px}
.code-panel .code-note{font-size:10px;line-height:1.8;margin-top:30px;letter-spacing:.08em}
.colour-values{margin-top:36px;gap:26px}
.colour-values span{font-size:10px;gap:10px}
.colour-values span:before{width:42px;height:5px;border-radius:0}
.code-art{grid-column:6/-1;width:100%;aspect-ratio:1.33;min-height:0;max-height:560px;border-radius:0;background:#101010}
.code-art>div{transform:none;transition:opacity .55s var(--ease)}
.code-art .colour-art{filter:none}
.colour-art>img{width:100%;height:100%;object-fit:cover;object-position:50% 41%;transform:scale(1.03);transition:transform 1.2s var(--ease)}
.colour-art:after{content:'';position:absolute;inset:0;background:linear-gradient(0deg,#000a,transparent 45%)}
.colour-art-label{position:absolute;z-index:2;left:30px;bottom:64px;color:#fff;font:12px var(--mono);letter-spacing:.1em}
.art-caption{left:30px;bottom:28px;font-size:9px;letter-spacing:.1em;color:#c5c4c2}
.type-art{padding:36px;background:#e4e2da;color:#161616;display:flex;flex-direction:column}
.type-art .type-specimen{font:400 clamp(44px,6.4vw,96px)/1 var(--mono);letter-spacing:-.1em}
.type-art .type-display{font:400 clamp(36px,4.2vw,68px)/1.12 var(--display);letter-spacing:0;margin:auto 0}
.type-baseline{display:flex;justify-content:space-between;gap:12px;font-size:10px;padding-bottom:38px;border-top:1px solid #16161628;padding-top:15px}
[data-mode=type] .art-caption{color:#5d5b55}
.geometry-art{background:#111;background-image:none;overflow:hidden}
.geometry-grid{position:absolute;inset:0;background-image:linear-gradient(#ffffff09 1px,transparent 1px),linear-gradient(90deg,#ffffff09 1px,transparent 1px);background-size:10% 12.5%;mask-image:radial-gradient(ellipse,#000,transparent 75%)}
.geometry-circle{position:absolute;width:42%;aspect-ratio:1;border:1px solid #ffffff30;border-radius:50%;left:29%;top:22%}
.geometry-circle-one{transform:translateX(-24%)}
.geometry-circle-two{transform:translateX(24%)}
.geometry-circle-three{transform:translateY(-25%)}
.geometry-mark{position:absolute;width:39%;left:30.5%;top:24%;filter:drop-shadow(0 15px 25px #000)}
.geometry-art .geometry-caption{bottom:65px;font-size:10px;letter-spacing:.1em;color:#aaa}
.process-line{margin:0 0 64px;padding:34px 0 0;grid-template-columns:repeat(4,1fr);font-size:12px;gap:24px;color:var(--paper)}
.process-line span{font-size:10px;color:var(--muted)}
.device-intro{top:17%;max-width:60%}
.device-intro p{font-size:14px;line-height:1.7;margin-top:20px}
.device-status{font-size:10px}
.dev-section{min-height:850px;padding-block:100px 64px;background:#111}
.dev-top{padding-bottom:220px}
.dev-role{font-size:14px}
.dev-copy p{font-size:15px;line-height:1.8}
.dev-copy h3{font-size:clamp(28px,3vw,44px)}
.dev-links{background:#1119;border:1px solid #ffffff14;border-radius:4px;padding:28px}
.dev-links .eyebrow{font-size:10px}
.dev-links a{font-size:14px;padding-block:17px}
.contact-section{padding-top:110px}
.contact-grid{gap:24px}
.field{background:var(--panel);padding:20px 24px;border-bottom:1px solid var(--line);min-height:99px}
.field>span{font-size:13px}
.field input,.field select,.field textarea{font-size:14px;min-height:29px}
.contact-mark{background:var(--panel);padding:32px;min-height:541px}
.contact-mark>.micro{font-size:10px}
.contact-mark>p{font-size:14px;max-width:340px}
.form-note{font-size:12px;line-height:1.75;max-width:550px}
.form-status{font-size:13px}
.footer-meta,.footer-bottom{font-size:11px}
.motion-toggle{font-size:11px}
@media(max-width:1100px){
 .hero-descriptors{font-size:10px;letter-spacing:.2em}
 .hero-copy{font-size:17px;width:55%}
 .code-controls{padding-right:18px;grid-column:1/6}
 .code-tabs{gap:14px;margin-bottom:32px}
 .code-tabs button{font-size:10px}
 .code-panel h3{font-size:28px}
 .code-panel>p{font-size:13px}
 .code-art{aspect-ratio:1.05}
 .type-art{padding:26px}
 .type-art .type-display{font-size:36px}
 .type-baseline{flex-direction:column;font-size:9px}
 .colour-values{gap:18px}
 .process-line{font-size:11px}
 .dev-bottom{gap:32px}
}
@media(max-width:700px){
 :root{--header:74px}
 .site-header{height:74px}
 .theme-toggle,.menu-toggle{width:42px;height:42px}
 .menu-toggle img{width:28px;height:28px}
 .display{font-size:clamp(29px,7.6vw,45px)}
 .eyebrow{font-size:10px;margin-bottom:16px}
 .section-heading{margin-bottom:32px}
 .section-heading>p{font-size:14px;line-height:1.6;margin-top:20px}
 .hero-heading{top:13.2%}
 .hero-descriptors{top:19%;gap:9px;font-size:10px;letter-spacing:.12em;line-height:1.7}
 .hero-field{top:0;height:100%;clip-path:inset(29% 0 15%)}
 .hero-logo{top:41.5%;width:130px}
 .hero-copy{top:69%;font-size:14px;font-weight:500;line-height:1.65;width:calc(100% - 2 * var(--gutter));max-width:430px}
 .hero-footer{bottom:4%;font-size:12px;line-height:1.6;align-items:center}
 .logo-button{width:58px;height:58px}
 .about-content h2{top:24%;font-size:27px}
 .about-description{top:61%;font-size:14px;line-height:1.75;width:calc(100% - 2 * var(--gutter))}
 .about-content:before{inset:10% 0 5%}
 .about-scroll{font-size:9px;bottom:5%}
 .film-shade{background:radial-gradient(ellipse 48% 31% at 50% 49%,#000a,transparent 88%),linear-gradient(0deg,#000b 14%,#0007 31%,transparent 60%)}
 .code-section{padding-top:78px}
 .code-lab{display:grid;grid-template-columns:1fr;gap:0;align-items:start}
 .code-controls{display:contents}
 .code-tabs{grid-row:1;grid-column:1;margin:0 0 26px;justify-content:space-between;gap:12px}
 .code-tabs button{font-size:11px;padding-block:11px}
 .code-art{grid-row:2;grid-column:1;aspect-ratio:1.06;max-height:none;min-height:0;margin:0 0 30px}
 .code-panel{grid-row:3;grid-column:1;padding:0;min-height:232px;margin:0}
 .code-panel h3{font-size:27px;max-width:310px}
 .code-panel>p{font-size:14px;max-width:410px;margin-top:18px;line-height:1.7}
 .code-panel .code-note{font-size:10px;margin-top:26px}
 .colour-values{margin-top:26px;gap:25px}
 .colour-values span{font-size:10px}
 .colour-values span:before{height:5px;width:35px}
 .colour-art-label{font-size:10px;left:22px;bottom:50px}
 .art-caption{left:22px;bottom:23px;font-size:8px}
 .type-art{padding:24px}
 .type-art .type-specimen{font-size:68px}
 .type-art .type-display{font-size:clamp(26px,7.6vw,33px)}
 .type-baseline{flex-direction:row;font-size:8px;padding-bottom:30px;gap:8px}
 .geometry-art .geometry-caption{font-size:9px;bottom:52px}
 .process-line{margin-top:22px;margin-bottom:46px;padding-top:26px;border-top:1px solid var(--line);grid-template-columns:1fr 1fr;gap:18px 14px;font-size:11px}
 .process-line span{margin-right:8px;font-size:9px}
 .device-intro{top:20%;max-width:calc(100% - 2 * var(--gutter))}
 .device-intro p{font-size:12px}
 .device-status{font-size:8px;bottom:28px}
 .dev-section{padding-top:74px;padding-bottom:32px;min-height:960px}
 .dev-top{padding-bottom:290px}
 .dev-role{font-size:12px;margin-top:18px}
 .dev-copy p{font-size:14px;line-height:1.75}
 .dev-copy h3{font-size:26px;margin-bottom:20px}
 .dev-links{padding:22px}
 .dev-links a{font-size:13px}
 .dev-links .eyebrow{font-size:9px}
 .contact-section{padding-top:78px;padding-bottom:42px}
 .contact-grid{flex-direction:column;gap:28px}
 .field{padding:18px 20px;min-height:97px}
 .field>span{font-size:12px}
 .field input,.field select,.field textarea{font-size:16px}
 .field-row{grid-template-columns:1fr;gap:0}
 .field-row .field{padding:18px 20px}
 .field-row .field select{font-size:16px}
 .contact-mark{min-height:320px;padding:25px}
 .contact-mark>.micro{font-size:9px}
 .contact-mark>p{font-size:12px}
 .footer-meta{font-size:9px;line-height:1.7}
 .footer-bottom{font-size:10px;gap:20px}
}
@media(max-height:600px) and (min-width:701px){
 .hero-heading{top:23%;right:20%}
 .hero-descriptors{top:38%;font-size:8px}
 .hero-field{top:0;height:100%;clip-path:inset(46% 0 9%)}
 .hero-logo{top:47%;width:95px}
 .hero-copy{top:75%;font-size:11px;line-height:1.5}
 .hero-footer{bottom:2%;font-size:9px}
 .logo-button{width:38px;height:38px}
 .about-content h2{top:27%;font-size:24px}
 .about-description{top:65%;font-size:11px;line-height:1.5}
 .about-scroll{bottom:2%;font-size:8px}
 .device-intro{top:26%}
 .device-intro p{font-size:11px}
}
.reduced-layout .intro-track{height:auto}
.reduced-layout .intro-stage{height:calc(max(100svh,620px) + max(100svh,620px));min-height:1240px;position:relative;overflow:hidden}
.reduced-layout .hero-panel{position:relative;inset:auto;height:max(100svh,620px);min-height:620px}
.reduced-layout .about-content{position:relative;inset:auto;height:max(100svh,620px);min-height:620px;opacity:1;pointer-events:auto;color:#fff}
.reduced-layout .about-content h2{top:17%}
.reduced-layout .about-static-logo{display:block;position:absolute;top:29%;left:50%;width:120px;transform:translateX(-50%);filter:drop-shadow(0 16px 30px #000)}
.reduced-layout .about-description{top:54%}
.reduced-layout .about-scroll{bottom:9%;opacity:1}
.reduced-layout .hero-field{position:absolute;inset:0;height:100%;clip-path:none;mask-image:none;will-change:auto}
.reduced-layout .hero-reel{transform:none;will-change:auto}
.reduced-layout .hero-logo{top:43svh}
.reduced-layout .hero-footer{bottom:3%}
.reduced-layout .ascii-glitter-layer{display:none}
.reduced-layout .ascii-glitter-ready .hero-reel{opacity:1}
[data-theme=light] .reduced-layout .hero-heading img{filter:none}
[data-theme=light] .reduced-layout .hero-descriptors,[data-theme=light] .reduced-layout .hero-descriptors b,[data-theme=light] .reduced-layout .hero-footer{color:#f5f4ef}
@media(prefers-reduced-motion:reduce){.hero-field,.hero-reel{will-change:auto}.ascii-glitter-layer{display:none}.code-art>div{transition:none}}
