/*
 * CodeDude portfolio — editorial product console
 * Palette: deep ink / warm white / cobalt blue
 * Standalone stylesheet. Designed for current + anticipated semantic classes.
 */
:root{
  color-scheme:dark;
  --ink:#07090d;
  --ink-2:#0b0e14;
  --panel:#10141c;
  --panel-2:#151a24;
  --paper:#f3f0e8;
  --paper-2:#e8e3d8;
  --white:#f8f6f0;
  --text:#ebe9e4;
  --muted:#9299a7;
  --muted-2:#687181;
  --line:rgba(255,255,255,.115);
  --line-strong:rgba(255,255,255,.21);
  --blue:#3868ff;
  --blue-2:#7392ff;
  --blue-soft:rgba(56,104,255,.14);
  --positive:#72cfac;
  --warning:#e7bd6d;
  --danger:#e37a82;
  --shell:min(1240px,calc(100vw - 64px));
  --radius:20px;
  --radius-sm:12px;
  --shadow:0 28px 80px rgba(0,0,0,.32);
  --ease:cubic-bezier(.2,.8,.2,1);
  --spot-x:50%;
  --spot-y:30%;
  --header-h:72px;
  --safe-top:env(safe-area-inset-top,0px);
  --safe-right:env(safe-area-inset-right,0px);
  --safe-bottom:env(safe-area-inset-bottom,0px);
  --safe-left:env(safe-area-inset-left,0px)
}
*{box-sizing:border-box}
html{overflow-x:hidden;scroll-behavior:smooth;scroll-padding-top:calc(var(--header-h) + var(--safe-top) + 18px);background:var(--ink)}
body{min-width:320px;margin:0;overflow-x:hidden;background:var(--ink);color:var(--text);font-family:Inter,"SF Pro Text","SF Pro Display",-apple-system,BlinkMacSystemFont,"Segoe UI","PingFang SC","Noto Sans CJK SC","Microsoft YaHei",sans-serif;font-size:16px;line-height:1.55;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility}
body::before{content:"";position:fixed;inset:0;z-index:-2;pointer-events:none;background:radial-gradient(900px circle at var(--spot-x) var(--spot-y),rgba(56,104,255,.115),transparent 58%),linear-gradient(180deg,#090c12 0,var(--ink) 36%,#07080b 100%)}
body::after{content:"";position:fixed;inset:0;z-index:-1;pointer-events:none;opacity:.025;background-image:url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.78' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E")}
::selection{background:rgba(56,104,255,.44);color:#fff}
a{color:inherit;text-decoration:none}
button,input,select,textarea{font:inherit;color:inherit}
button{cursor:pointer}
img,svg,video{display:block;max-width:100%}
h1,h2,h3,p{margin-top:0}
h1,h2,h3{font-weight:560;text-wrap:balance}
p{text-wrap:pretty}
.shell{width:var(--shell);margin-inline:auto}
.sr-only{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}
.skip-link{position:fixed;top:calc(10px + var(--safe-top));left:calc(10px + var(--safe-left));z-index:9999;transform:translateY(-180%);padding:11px 15px;border-radius:8px;background:var(--paper);color:var(--ink);font-weight:720}.skip-link:focus{transform:none}
:focus-visible{outline:2px solid var(--blue-2);outline-offset:3px}
[data-reveal]{opacity:1;transform:none;transition:opacity .72s var(--ease),transform .72s var(--ease)}
[data-reveal].visible{opacity:1;transform:none}
.ambient,.noise{pointer-events:none}.ambient{position:fixed;z-index:-2;border-radius:50%;filter:blur(150px);opacity:.12}.a1{width:560px;height:560px;right:-260px;top:-260px;background:var(--blue)}.a2{width:440px;height:440px;left:-260px;top:45vh;background:#2248bb}.noise{display:none}

/* Header */
.header{position:fixed;inset:0 0 auto;z-index:100;height:calc(var(--header-h) + var(--safe-top));padding-top:var(--safe-top);border-bottom:1px solid transparent;transition:background .28s ease,border-color .28s ease,box-shadow .28s ease}
.header.scrolled{background:rgba(7,9,13,.82);border-color:var(--line);box-shadow:0 14px 42px rgba(0,0,0,.15);backdrop-filter:saturate(130%) blur(22px);-webkit-backdrop-filter:saturate(130%) blur(22px)}
.nav-wrap{height:var(--header-h);display:flex;align-items:center;justify-content:space-between;gap:30px}
.brand{display:inline-flex;min-height:44px;align-items:center;gap:12px}
.brand-mark{width:38px;height:38px;display:grid;place-items:center;padding:3px;border:1px solid rgba(145,156,176,.42);border-radius:11px;background:#0b0e14;overflow:hidden;box-shadow:inset 0 1px 0 rgba(255,255,255,.08),0 8px 22px rgba(0,0,0,.24);transition:transform .22s var(--ease),border-color .22s var(--ease),box-shadow .22s var(--ease)}.brand-mark img{display:block;width:100%;height:100%;object-fit:cover;border-radius:8px}
.brand>b{font-size:14px;font-weight:650;letter-spacing:-.01em}.brand>b span{color:var(--blue-2)}
.nav-wrap nav{display:flex;align-items:center;gap:10px;font-size:13px;color:#a9afbb}
.nav-wrap nav>a{min-height:44px;padding:0 12px;display:inline-flex;align-items:center;border-radius:8px;transition:color .2s ease,background .2s ease}
.nav-wrap nav>a:hover{color:var(--white);background:rgba(255,255,255,.045)}
.nav-cta{margin-left:4px!important;border:1px solid var(--line-strong);color:var(--white)!important}.nav-cta:hover{border-color:rgba(115,146,255,.65);background:var(--blue-soft)!important}
.menu-toggle{display:none;position:relative;width:44px;height:44px;flex:none;padding:0;border:0;border-radius:9px;background:transparent;touch-action:manipulation;-webkit-tap-highlight-color:transparent}.menu-toggle:hover{background:rgba(255,255,255,.05)}.menu-toggle i{position:absolute;top:50%;left:11px;width:22px;height:1px;background:currentColor;transform-origin:center;backface-visibility:hidden;will-change:transform;transition:transform .18s cubic-bezier(.2,.75,.25,1),background-color .18s ease}.menu-toggle i:first-of-type{transform:translate3d(0,-4px,0)}.menu-toggle i:last-of-type{transform:translate3d(0,4px,0)}.menu-toggle[aria-expanded=true] i:first-of-type{transform:translate3d(0,0,0) rotate(45deg)}.menu-toggle[aria-expanded=true] i:last-of-type{transform:translate3d(0,0,0) rotate(-45deg)}

/* Hero */
.hero{position:relative;min-height:max(760px,100svh);padding-top:calc(var(--header-h) + var(--safe-top) + 78px);padding-bottom:90px;display:grid;grid-template-columns:minmax(0,1.02fr) minmax(420px,.98fr);align-items:center;gap:clamp(42px,7vw,108px)}
.hero::before{content:"";position:absolute;inset:var(--header-h) 0 0;z-index:-1;background-image:linear-gradient(rgba(255,255,255,.025) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.025) 1px,transparent 1px);background-size:72px 72px;mask-image:linear-gradient(180deg,transparent,#000 16%,#000 66%,transparent 100%);-webkit-mask-image:linear-gradient(180deg,transparent,#000 16%,#000 66%,transparent 100%)}
.hero-copy{min-width:0;position:relative;z-index:2}
.eyebrow,.kicker{display:flex;align-items:center;gap:11px;margin:0 0 25px;color:#9da5b4;font:650 10px/1.35 "SFMono-Regular",Consolas,monospace;letter-spacing:.14em;text-transform:uppercase}.eyebrow i{width:7px;height:7px;border-radius:50%;background:var(--blue-2);box-shadow:0 0 0 5px rgba(56,104,255,.12)}.kicker b{color:var(--blue-2);font:inherit}
.hero h1{max-width:760px;margin:0 0 30px;font-size:clamp(54px,6.2vw,92px);line-height:.99;letter-spacing:-.066em}.hero h1 span{color:var(--blue-2);background:none;-webkit-text-fill-color:currentColor}
.lede{max-width:650px;margin-bottom:0;color:#a8aebb;font-size:clamp(16px,1.35vw,19px);line-height:1.82}
.actions{display:flex;align-items:center;gap:12px;margin:38px 0 38px}.btn{min-height:50px;padding:0 19px;display:inline-flex;align-items:center;justify-content:center;gap:20px;border:1px solid transparent;border-radius:10px;font-size:13px;font-weight:680;transition:transform .24s var(--ease),background .24s ease,border-color .24s ease,box-shadow .24s ease}.btn:hover{transform:translateY(-2px)}.primary{background:var(--blue);color:#fff;box-shadow:0 13px 34px rgba(56,104,255,.22)}.primary:hover{background:#4774ff;box-shadow:0 18px 42px rgba(56,104,255,.28)}.primary b{font-size:17px}.quiet{border-color:var(--line-strong);background:rgba(255,255,255,.025);color:var(--text)}.quiet:hover{border-color:rgba(255,255,255,.32);background:rgba(255,255,255,.06)}
.proof{display:flex;align-items:center;flex-wrap:wrap;gap:11px;color:#727b89;font:600 9px/1.4 "SFMono-Regular",Consolas,monospace;letter-spacing:.1em;text-transform:uppercase}.proof i{width:3px;height:3px;border-radius:50%;background:#55606e}
.hero-stage{position:relative;min-height:590px;display:grid;place-items:center;perspective:1100px}.scroll-cue{position:absolute;left:0;bottom:26px;display:flex;align-items:center;gap:9px;color:#636c7a;font:600 9px "SFMono-Regular",Consolas,monospace;letter-spacing:.12em}.scroll-cue i{width:30px;height:1px;background:#586170}
.atlas-orbit{position:absolute;border:1px solid rgba(115,146,255,.14);border-radius:50%;pointer-events:none}.ao1{width:min(570px,46vw);aspect-ratio:1}.ao2{width:min(430px,36vw);aspect-ratio:1;border-style:dashed;animation:slow-rotate 42s linear infinite}.atlas-card{position:relative;z-index:2;width:min(440px,100%);min-height:456px;overflow:hidden;border:1px solid var(--line-strong);border-radius:20px;background:linear-gradient(145deg,rgba(21,27,38,.97),rgba(10,13,19,.98));box-shadow:0 46px 100px rgba(0,0,0,.48),inset 0 1px rgba(255,255,255,.05);transform-style:preserve-3d;transition:transform .2s ease,border-color .2s ease}.atlas-card::before{content:"";position:absolute;inset:0;pointer-events:none;background:radial-gradient(470px circle at var(--spot-x) var(--spot-y),rgba(115,146,255,.12),transparent 54%)}.atlas-card>header,.atlas-card>footer{position:relative;min-height:50px;padding:0 18px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line);color:#737d8c;font:600 9px/1 "SFMono-Regular",Consolas,monospace;letter-spacing:.12em}.atlas-card>header>b{color:#9cb1ff}.atlas-card>footer{min-height:43px;border-top:1px solid var(--line);border-bottom:0}.dots{display:flex;gap:5px}.dots i{width:6px;height:6px;border-radius:50%;background:#424b59}.dots i:nth-child(2){opacity:.72}.dots i:nth-child(3){opacity:.45}
.atlas-body{position:relative;padding:25px}.atlas-title{display:flex;align-items:flex-end;justify-content:space-between;gap:22px;padding-bottom:21px;border-bottom:1px solid var(--line)}.atlas-title small{color:#9cb1ff;font:650 9px "SFMono-Regular",Consolas,monospace;letter-spacing:.1em}.atlas-title strong{text-align:right;font-size:17px;line-height:1.38}.atlas-list{list-style:none;padding:12px 0 0;margin:0;display:grid;grid-template-columns:1fr 1fr;gap:8px}.atlas-list li{min-width:0;padding:12px 10px;display:grid;grid-template-columns:25px minmax(0,1fr);align-items:center;gap:9px;border:1px solid rgba(255,255,255,.075);border-radius:10px;background:rgba(255,255,255,.022);transition:background .2s ease,border-color .2s ease}.atlas-list li:hover{border-color:rgba(115,146,255,.3);background:rgba(56,104,255,.065)}.atlas-list li>i{width:25px;height:25px;display:grid;place-items:center;border-radius:7px;background:var(--blue-soft);color:#9cb1ff;font:680 7px "SFMono-Regular",Consolas,monospace;font-style:normal}.atlas-list li>span{min-width:0;display:flex;flex-direction:column;gap:4px}.atlas-list b{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:11px}.atlas-list small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#687383;font:500 7px "SFMono-Regular",Consolas,monospace}

/* Rhythm and headings */
.section{padding-block:clamp(100px,11vw,152px)}
.section-head{display:grid;grid-template-columns:minmax(0,1fr) minmax(280px,380px);align-items:end;gap:clamp(40px,8vw,110px);margin-bottom:58px}.section-head h2,.about-grid h2,.cta h2{margin:0;font-size:clamp(40px,5.1vw,70px);line-height:1.04;letter-spacing:-.052em}.section-head>p{margin:0;color:#929aa7;font-size:15px;line-height:1.82}
.summary-strip{margin-top:66px;display:grid;grid-template-columns:repeat(4,1fr);overflow:hidden;border:1px solid var(--line);border-radius:16px;background:rgba(255,255,255,.02)}.summary-strip>div{min-height:106px;padding:23px;display:flex;align-items:center;gap:14px}.summary-strip>div+div{border-left:1px solid var(--line)}.summary-strip b{color:var(--blue-2);font-size:34px;font-weight:590;letter-spacing:-.05em}.summary-strip span{display:flex;flex-direction:column;gap:5px;color:#bdc2cb;font:650 9px "SFMono-Regular",Consolas,monospace;letter-spacing:.07em}.summary-strip small{color:#737c89;font:500 10px/1.45 inherit;letter-spacing:0}

/* Atlas / direction system */
.direction-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.direction-card{--accent:var(--blue-2);position:relative;min-height:350px;overflow:hidden;padding:23px;display:flex;flex-direction:column;border:1px solid var(--line);border-radius:18px;background:linear-gradient(145deg,rgba(56,104,255,.055),rgba(14,18,25,.97) 45%);transition:transform .3s var(--ease),border-color .3s ease,box-shadow .3s ease}.direction-card::before{content:"";position:absolute;inset:0;pointer-events:none;opacity:0;background:radial-gradient(420px circle at var(--spot-x) var(--spot-y),color-mix(in srgb,var(--accent) 15%,transparent),transparent 55%);transition:opacity .3s ease}.direction-card:hover{transform:translateY(-4px);border-color:color-mix(in srgb,var(--accent) 46%,transparent);box-shadow:var(--shadow)}.direction-card:hover::before{opacity:1}.direction-top{position:relative;display:flex;align-items:center;justify-content:space-between}.direction-top>b{color:#606b7a;font:620 8px "SFMono-Regular",Consolas,monospace;letter-spacing:.12em}.direction-icon{width:40px;height:40px;display:grid;place-items:center;border:1px solid color-mix(in srgb,var(--accent) 45%,transparent);border-radius:10px;background:color-mix(in srgb,var(--accent) 10%,transparent);color:var(--accent);font-size:16px}.direction-card h3{position:relative;margin:25px 0 10px;font-size:23px;letter-spacing:-.035em}.direction-card>p{position:relative;margin-bottom:22px;color:#8d96a4;font-size:13px;line-height:1.72}.direction-card ul{position:relative;list-style:none;margin:auto 0 0;padding:0;display:flex;flex-wrap:wrap;gap:7px}.direction-card li{padding:7px 9px;border:1px solid rgba(255,255,255,.085);border-radius:7px;background:rgba(255,255,255,.022);color:#aab1bc;font-size:10px}.d-ai{--accent:#7898ff}.d-native{--accent:#7ec6ad}.d-space{--accent:#83a8df}.d-game{--accent:#d6b77b}.d-media{--accent:#ad93d8}.d-data{--accent:#76b9d4}

/* Featured work */
.featured-section{border-block:1px solid var(--line);background:#090c11}.featured-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.feature-card{position:relative;min-width:0;min-height:500px;overflow:hidden;display:flex;flex-direction:column;border:1px solid var(--line);border-radius:20px;background:var(--panel);transition:transform .32s var(--ease),border-color .32s ease,box-shadow .32s ease}.feature-card::after{content:"";position:absolute;inset:0;pointer-events:none;opacity:0;background:radial-gradient(560px circle at var(--spot-x) var(--spot-y),rgba(56,104,255,.1),transparent 56%);transition:opacity .3s ease}.feature-card:hover{transform:translateY(-4px);border-color:var(--line-strong);box-shadow:var(--shadow)}.feature-card:hover::after{opacity:1}.feature-card.feature-wide{grid-column:1/-1;min-height:424px;display:grid;grid-template-columns:1.16fr .84fr}.feature-shot{position:relative;z-index:1;height:275px;padding:18px;overflow:hidden;display:flex;align-items:center;justify-content:center;background:#e8e6df}.feature-shot img{width:100%;height:100%;object-fit:cover;border-radius:9px;box-shadow:0 14px 42px rgba(0,0,0,.22);transition:transform .65s var(--ease)}.feature-card:hover .feature-shot img{transform:scale(1.018)}.shot-dark{height:auto;min-height:424px;padding:36px;background:radial-gradient(circle at 48% 44%,#152333,#070a0f 72%)}.shot-dark img{object-fit:contain;box-shadow:none}.feature-phone .feature-shot{height:350px;background:linear-gradient(145deg,#18312b,#0b1214)}.feature-phone .feature-shot img{width:auto;max-width:88%;object-fit:contain;border-radius:15px}.feature-phone .sea-shot{background:linear-gradient(145deg,#103752,#0a6279)}.feature-copy{position:relative;z-index:2;padding:26px;display:flex;flex:1;flex-direction:column}.feature-wide .feature-copy{padding:40px;justify-content:center}.feature-meta{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:21px}.feature-meta>span{color:#6f7987;font:650 9px "SFMono-Regular",Consolas,monospace;letter-spacing:.12em}.status{padding:6px 9px;border-radius:999px;background:rgba(255,255,255,.05);font-size:9px;font-weight:620}.status.local{color:var(--positive);background:rgba(114,207,172,.1)}.status.beta{color:#9cb1ff;background:var(--blue-soft)}.status.candidate{color:var(--warning);background:rgba(231,189,109,.1)}.feature-copy h3{margin:0 0 11px;font-size:30px;font-weight:560;letter-spacing:-.04em}.feature-copy>p{margin-bottom:23px;color:#8e97a5;font-size:13px;line-height:1.78}.tech{margin-top:auto;display:flex;flex-wrap:wrap;gap:7px}.tech span{padding:7px 10px;border:1px solid var(--line);border-radius:999px;color:#737e8d;font:600 8px "SFMono-Regular",Consolas,monospace}

/* Project controls and index */
.project-controls{position:sticky;top:calc(var(--header-h) + var(--safe-top) - 1px);z-index:25;margin-bottom:20px;padding:12px 0;background:linear-gradient(180deg,rgba(7,9,13,.98) 72%,transparent);backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px)}
.project-controls-inner,.filter-chips{display:flex;align-items:center;gap:8px}.project-controls-inner{justify-content:space-between}.filter-chips{min-width:0;overflow-x:auto;overscroll-behavior-inline:contain;scroll-snap-type:x proximity;scrollbar-width:none;padding:2px 2px 6px}.filter-chips::-webkit-scrollbar{display:none}.filter-chip,.project-controls button{min-width:max-content;min-height:44px;padding:0 15px;border:1px solid var(--line);border-radius:999px;background:rgba(255,255,255,.025);color:#929ba8;font-size:12px;font-weight:620;scroll-snap-align:start;transition:border-color .2s ease,background .2s ease,color .2s ease}.filter-chip:hover,.project-controls button:hover{border-color:var(--line-strong);color:var(--white)}.filter-chip[aria-pressed=true],.filter-chip.active,.project-controls button[aria-pressed=true]{border-color:rgba(115,146,255,.55);background:var(--blue-soft);color:#cad5ff}
.project-index,.archive-table{overflow:hidden;border:1px solid var(--line);border-radius:18px;background:#0b0e14}.project-index{display:grid;gap:0}.project-card,.archive-row{min-width:0;padding:14px 21px;display:grid;grid-template-columns:minmax(180px,1.25fr) minmax(100px,.62fr) minmax(180px,.95fr) minmax(90px,.48fr);align-items:center;gap:18px;border-bottom:1px solid var(--line);background:transparent;transition:background .2s ease}.project-card:last-child,.archive-row:last-child{border-bottom:0}.project-card{width:100%;min-height:66px;text-align:left;border-top:0;border-left:0;border-right:0;color:inherit}.project-card:hover,.archive-row:hover:not(.archive-head){background:rgba(56,104,255,.055)}.project-card b,.archive-row b{overflow:hidden;text-overflow:ellipsis;font-size:13px;font-weight:620;white-space:nowrap}.project-card span,.archive-row span{color:#818b99;font-size:12px}.project-card i,.archive-row i{color:#adb4bf;font-size:10px;font-style:normal}.archive-head{min-height:48px;background:rgba(255,255,255,.025);color:#687280;font:650 8px "SFMono-Regular",Consolas,monospace;letter-spacing:.11em}.archive-note{margin:20px 4px 0;color:#697382;font-size:11px;line-height:1.75}

/* Dialog: right side sheet on desktop, full screen on mobile */
dialog{width:min(680px,calc(100vw - 24px));height:100dvh;max-width:none;max-height:none;margin:0 0 0 auto;padding:0;border:0;border-left:1px solid var(--line-strong);background:var(--panel);color:var(--text);box-shadow:-32px 0 100px rgba(0,0,0,.48);transform:translateX(26px);opacity:0;transition:transform .32s var(--ease),opacity .25s ease,overlay .32s allow-discrete,display .32s allow-discrete}
dialog[open]{transform:none;opacity:1}@starting-style{dialog[open]{transform:translateX(26px);opacity:0}}
dialog::backdrop{background:rgba(2,4,8,.7);backdrop-filter:blur(5px);-webkit-backdrop-filter:blur(5px);opacity:0;transition:opacity .28s ease,overlay .28s allow-discrete,display .28s allow-discrete}dialog[open]::backdrop{opacity:1}@starting-style{dialog[open]::backdrop{opacity:0}}
.dialog,.dialog-shell{height:100%;display:flex;flex-direction:column}.dialog-header{min-height:calc(68px + var(--safe-top));padding:var(--safe-top) calc(22px + var(--safe-right)) 0 24px;display:flex;align-items:center;justify-content:space-between;gap:20px;border-bottom:1px solid var(--line)}.dialog-close{width:44px;height:44px;display:grid;place-items:center;border:1px solid var(--line);border-radius:10px;background:transparent}.dialog-close:hover{background:rgba(255,255,255,.055);border-color:var(--line-strong)}.dialog-body{flex:1;overflow:auto;overscroll-behavior:contain;padding:30px calc(28px + var(--safe-right)) calc(44px + var(--safe-bottom)) 30px}.dialog-body h2{font-size:clamp(34px,5vw,58px);line-height:1.02;letter-spacing:-.05em}.dialog-media{margin:22px 0 28px;overflow:hidden;border:1px solid var(--line);border-radius:16px;background:#090c11}.dialog-media img{width:100%;height:auto}.dialog-meta{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:25px}

/* Method / approach */
.method,.approach{background:var(--paper);color:#11151d}.method .kicker,.approach .kicker{color:#69717b}.method .section-head>p,.approach .section-head>p{color:#626b75}.process{list-style:none;margin:0;padding:0;border-top:1px solid rgba(17,21,29,.18)}.process li{min-height:112px;padding:26px 10px;display:grid;grid-template-columns:44px 62px minmax(0,1fr) auto;align-items:center;gap:25px;border-bottom:1px solid rgba(17,21,29,.18);transition:background .24s ease,padding .24s var(--ease)}.process li:hover{padding-inline:20px;background:rgba(255,255,255,.43)}.process li>b{color:#848a90;font:620 10px "SFMono-Regular",Consolas,monospace}.process li>i{width:54px;height:54px;display:grid;place-items:center;border:1px solid rgba(17,21,29,.2);border-radius:50%;font-style:normal}.process h3{margin:0 0 6px;font-size:22px;letter-spacing:-.025em}.process p{margin:0;color:#656d76;font-size:13px}.process li>span{padding:8px 11px;border:1px solid rgba(17,21,29,.18);border-radius:999px;color:#68717b;font:620 9px "SFMono-Regular",Consolas,monospace;letter-spacing:.11em}

/* About */
.about-grid{display:grid;grid-template-columns:1.06fr .94fr;gap:clamp(55px,9vw,120px)}.about-grid h2 span{color:#6c7584}.about-copy>p{margin:38px 0 0;color:#a1a8b3;font-size:17px;line-height:1.88}.about-copy ol{list-style:none;margin:38px 0 0;padding:0;border-top:1px solid var(--line)}.about-copy li{min-height:54px;padding:15px 0;display:flex;align-items:center;gap:23px;border-bottom:1px solid var(--line);color:#c9cdd4;font:600 12px "SFMono-Regular",Consolas,monospace}.about-copy li b{color:#596473;font-size:9px}.console{margin-top:70px;overflow:hidden;border:1px solid var(--line);border-radius:16px;background:#0a0d13;box-shadow:var(--shadow)}.console>header,.console>footer{min-height:46px;padding:0 16px;display:flex;align-items:center;border-bottom:1px solid var(--line);color:#6c7684;font:600 8px "SFMono-Regular",Consolas,monospace;letter-spacing:.12em}.console>header .dots{margin-right:22px}.console>header>span:last-child{margin-left:auto}.console>div{padding:27px 24px;display:grid;grid-template-columns:34px minmax(0,1fr);gap:11px 18px;font:500 11px/1.6 "SFMono-Regular",Consolas,monospace}.console>div>b{text-align:right;color:#3f4958}.console>div p{min-width:0;margin:0;color:#aab2bd;overflow-wrap:anywhere}.console>div p i{color:#9cb1ff;font-style:normal}.caret{display:inline-block;width:7px;height:13px;margin-left:4px;vertical-align:-2px;background:var(--blue-2);animation:caret 1.15s step-end infinite}.console>footer{min-height:36px;justify-content:space-between;border-top:1px solid var(--line);border-bottom:0}

/* CTA and footer */
.cta{padding-bottom:clamp(90px,10vw,145px)}.cta>div{position:relative;isolation:isolate;min-height:470px;padding:clamp(42px,6.5vw,78px);overflow:hidden;border:1px solid rgba(20,31,65,.12);border-radius:24px;background:var(--paper);color:#10141d}.cta>div::before{content:"";position:absolute;inset:0;z-index:-1;background:radial-gradient(700px circle at var(--spot-x) var(--spot-y),rgba(56,104,255,.22),transparent 58%),linear-gradient(120deg,#f2eee5,#e7ebf7)}.cta-orb{position:absolute;z-index:-1;right:-90px;top:-180px;width:520px;aspect-ratio:1;border:1px solid rgba(20,31,65,.12);border-radius:50%;box-shadow:0 0 0 70px rgba(56,104,255,.035),0 0 0 140px rgba(56,104,255,.022)}.kicker.light,.kicker.light b{color:#33435f}.cta h2{max-width:850px;margin:30px 0 22px}.cta>div>p:not(.kicker){margin-bottom:32px;color:#46505e;font-size:15px}.light-btn{min-width:220px;background:#111722;color:#fff}.light-btn:hover{background:var(--blue)}
.site-footer{padding:65px 0 calc(26px + var(--safe-bottom));border-top:1px solid var(--line)}.footer-main{display:flex;justify-content:space-between;gap:60px}.footer-main>div>p{margin:15px 0;color:#6e7886;font-size:12px}.footer-main nav{display:flex;gap:clamp(44px,8vw,100px)}.footer-main nav div{min-width:90px;display:flex;flex-direction:column;gap:4px}.footer-main nav b{margin-bottom:7px;color:#5d6877;font:620 9px "SFMono-Regular",Consolas,monospace;letter-spacing:.12em}.footer-main nav a{min-height:40px;display:flex;align-items:center;color:#9ca4af;font-size:13px}.footer-main nav a:hover{color:var(--white)}.footer-bottom{margin-top:55px;padding-top:22px;display:flex;justify-content:space-between;gap:18px;border-top:1px solid var(--line);color:#596371;font:600 8px "SFMono-Regular",Consolas,monospace;letter-spacing:.09em}.footer-bottom span:nth-child(2){color:#747e8c}.footer-bottom i{display:inline-block;width:5px;height:5px;margin-right:6px;border-radius:50%;background:var(--positive)}

/* Compatibility aliases */
.marquee{overflow:hidden;height:62px;display:flex;align-items:center;border-block:1px solid var(--line);background:rgba(255,255,255,.015)}.marquee div{width:max-content;display:flex;align-items:center;gap:34px;animation:marquee 38s linear infinite}.marquee span{white-space:nowrap;color:#77818f;font:640 11px "SFMono-Regular",Consolas,monospace;letter-spacing:.12em}.marquee i{color:var(--blue-2);font-size:8px;font-style:normal}
.archive-section{padding-bottom:90px}

@keyframes slow-rotate{to{transform:rotate(360deg)}}
@keyframes marquee{to{transform:translateX(-50%)}}
@keyframes caret{50%{opacity:0}}

@media (max-width:980px){
  :root{--shell:min(100% - 40px,760px)}
  .menu-toggle{display:block;z-index:102}
  .nav-wrap nav{position:fixed;inset:0;z-index:101;padding:calc(110px + var(--safe-top)) calc(30px + var(--safe-right)) calc(40px + var(--safe-bottom)) calc(30px + var(--safe-left));display:flex;flex-direction:column;align-items:stretch;justify-content:flex-start;gap:5px;overflow-y:auto;overscroll-behavior:contain;background:#07090d;opacity:0;transform:translate3d(0,-10px,0);transform-origin:top right;visibility:hidden;pointer-events:none;backface-visibility:hidden;will-change:transform,opacity;contain:layout paint style;transition:transform .22s cubic-bezier(.2,.75,.25,1),opacity .18s ease-out}
  .nav-wrap nav.menu-mounted{visibility:visible}.nav-wrap nav.open{transform:translate3d(0,0,0);opacity:1;pointer-events:auto}.nav-wrap nav>a{min-height:54px;font-size:22px}.nav-cta{margin-top:12px!important;justify-content:center;font-size:14px!important}
  .menu-open .header{background:#07090d;border-color:transparent;box-shadow:none;backdrop-filter:none;-webkit-backdrop-filter:none}
  .hero{min-height:0;padding-top:calc(var(--header-h) + var(--safe-top) + 76px);grid-template-columns:1fr;gap:34px}.hero-stage{min-height:560px}.ao1{width:570px}.ao2{width:430px}
  .section-head{grid-template-columns:1fr;gap:22px}.section-head>p{max-width:600px}
  .summary-strip{grid-template-columns:1fr 1fr}.summary-strip>div:nth-child(3){border-top:1px solid var(--line);border-left:0}.summary-strip>div:nth-child(4){border-top:1px solid var(--line)}
  .direction-grid{grid-template-columns:1fr 1fr}
  .feature-card.feature-wide{grid-template-columns:1fr}.feature-card.feature-wide .feature-shot{height:360px;min-height:0}.feature-card.feature-wide .feature-copy{padding:28px}
  .project-card,.archive-row{grid-template-columns:minmax(160px,1.15fr) minmax(90px,.7fr) minmax(120px,.9fr)}.project-card>*:nth-child(3),.archive-row>*:nth-child(3){display:none}
  .about-grid{grid-template-columns:1fr;gap:20px}.about-copy>p{margin-top:12px}
}

@media (max-width:640px){
  :root{--shell:calc(100% - 24px);--header-h:64px;--radius:17px}
  .header{padding-inline:var(--safe-left) var(--safe-right)}.brand>b{font-size:13px}
  .hero{padding-top:calc(var(--header-h) + var(--safe-top) + 62px);padding-bottom:70px}.hero h1{font-size:clamp(45px,13.3vw,61px);line-height:1.01}.lede{font-size:15px;line-height:1.75}.actions{margin:31px 0;flex-direction:column;align-items:stretch}.btn{width:100%;min-height:50px}.proof{font-size:8px;gap:8px}
  .hero-stage{min-height:414px}.atlas-card{width:min(100%,380px);min-height:360px}.atlas-card>header{min-height:44px}.atlas-card>footer{display:none}.atlas-body{padding:17px}.atlas-title{padding-bottom:13px}.atlas-title strong{font-size:13px}.atlas-list{gap:6px}.atlas-list li{padding:8px 7px;grid-template-columns:22px minmax(0,1fr)}.atlas-list li>i{width:22px;height:22px}.ao1{width:390px}.ao2{width:315px}.scroll-cue{display:none}
  .section{padding-block:84px}.section-head{margin-bottom:39px}.section-head h2,.about-grid h2{font-size:clamp(36px,10.7vw,46px)}
  .summary-strip{margin-top:28px}.summary-strip>div{min-height:88px;padding:15px 12px;gap:9px}.summary-strip b{font-size:27px}.summary-strip span{font-size:7px}.summary-strip small{font-size:8px}
  .direction-grid,.featured-grid{grid-template-columns:1fr}.direction-card{min-height:320px}.feature-card,.feature-card.feature-wide{grid-column:auto;display:flex;min-height:0}.feature-shot,.feature-card.feature-wide .feature-shot{height:235px;padding:12px}.shot-dark{height:260px!important;padding:24px!important}.feature-phone .feature-shot{height:310px}.feature-copy,.feature-card.feature-wide .feature-copy{padding:21px}.feature-copy h3{font-size:27px}
  .project-controls{margin-inline:-12px;padding-inline:12px}.project-controls-inner{display:block}.filter-chips{width:100%;padding-right:12px}.filter-chip,.project-controls button{min-height:44px}
  .project-index,.archive-table{border-radius:14px}.project-card,.archive-row{min-height:64px;padding:12px 14px;grid-template-columns:minmax(0,1.25fr) minmax(68px,.75fr);gap:10px}.project-card>*:nth-child(2),.archive-row>*:nth-child(2){display:none}.project-card b,.archive-row b{font-size:11px}.project-card i,.archive-row i{text-align:right}.archive-head>*:last-child{display:block!important}
  dialog{inset:0;width:100vw;height:100dvh;border-left:0}.dialog-header{padding-left:calc(16px + var(--safe-left));padding-right:calc(12px + var(--safe-right))}.dialog-body{padding:24px calc(18px + var(--safe-right)) calc(34px + var(--safe-bottom)) calc(18px + var(--safe-left))}.dialog-body h2{font-size:38px}
  .process li{padding:23px 0;grid-template-columns:28px 48px minmax(0,1fr);gap:12px}.process li>i{width:46px;height:46px}.process li>span{display:none}.process h3{font-size:18px}.process p{font-size:12px;line-height:1.55}
  .console{margin-top:52px}.console>div{padding:21px 8px;grid-template-columns:25px minmax(0,1fr);gap:9px;font-size:9px}
  .cta{padding-bottom:82px}.cta>div{min-height:430px;padding:38px 23px;border-radius:19px}.cta h2{font-size:clamp(38px,11vw,48px)}.light-btn{width:100%}
  .footer-main{flex-direction:column;gap:40px}.footer-main nav{gap:38px}.footer-bottom{margin-top:42px;flex-wrap:wrap}.footer-bottom span:last-child{display:none}
}

@media (max-width:380px){
  :root{--shell:calc(100% - 20px)}
  .hero h1{font-size:43px}.hero-stage{min-height:390px}.atlas-card{width:100%}.atlas-title{gap:8px}.atlas-title strong{font-size:12px}.atlas-list small{font-size:6.5px}.direction-card{padding:20px}.summary-strip>div{padding-inline:10px}.summary-strip b{font-size:24px}
}

@media (hover:none){.direction-card:hover,.feature-card:hover,.btn:hover{transform:none}.feature-card:hover .feature-shot img{transform:none}}
@media (prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
  *,*::before,*::after{scroll-behavior:auto!important;animation-duration:.01ms!important;animation-delay:0ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}
  [data-reveal]{opacity:1!important;transform:none!important}
  .ao2,.marquee div,.caret{animation:none!important}
  .brand-mark{transform:none!important}
}
@media (forced-colors:active){.direction-card,.feature-card,.atlas-card,.archive-table,.project-index{border:1px solid CanvasText}.status,.filter-chip{border:1px solid CanvasText}}

/* v3 integration layer — semantic interactions and multilingual navigation */
.reading-progress{position:fixed;inset:0 0 auto;z-index:220;height:2px;background:rgba(255,255,255,.035);pointer-events:none}.reading-progress i{display:block;width:100%;height:100%;transform:scaleX(0);transform-origin:left;background:linear-gradient(90deg,var(--blue),var(--blue-2));will-change:transform}
.language-nav{display:flex;align-items:center;gap:3px;margin-left:7px;padding-left:11px;border-left:1px solid var(--line)}.language-nav a{min-width:36px;min-height:36px;display:grid;place-items:center;border-radius:8px;color:#737d8b;font:650 10px "SFMono-Regular",Consolas,monospace;transition:background .2s ease,color .2s ease}.language-nav a:hover{background:rgba(255,255,255,.055);color:var(--white)}.language-nav a[aria-current=page]{background:var(--blue-soft);color:#bdcaff}
.atlas-list li{padding:0!important;display:block!important;background:transparent!important;border:0!important}.atlas-node{width:100%;min-width:0;min-height:54px;padding:10px;display:grid;grid-template-columns:25px minmax(0,1fr);align-items:center;gap:9px;text-align:left;border:1px solid rgba(255,255,255,.075);border-radius:10px;background:rgba(255,255,255,.022);color:inherit;transition:background .2s ease,border-color .2s ease,transform .2s ease}.atlas-node:hover,.atlas-node[aria-pressed=true]{border-color:rgba(115,146,255,.38);background:rgba(56,104,255,.085);transform:translateY(-1px)}.atlas-node>i{width:25px;height:25px;display:grid;place-items:center;border-radius:7px;background:var(--blue-soft);color:#9cb1ff;font:680 7px "SFMono-Regular",Consolas,monospace;font-style:normal}.atlas-node>span{min-width:0;display:flex;flex-direction:column;gap:4px}.atlas-node b,.atlas-node small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.atlas-node b{font-size:11px}.atlas-node small{color:#687383;font:500 7px "SFMono-Regular",Consolas,monospace}
.summary-strip>div{display:grid!important;grid-template-columns:auto 1fr!important;column-gap:14px}.summary-strip>div>b{grid-row:1/3}.summary-strip>div>span{display:block!important}.summary-strip>div>small{color:#737c89;font:500 10px/1.45 "SFMono-Regular",Consolas,monospace}
.direction-card{appearance:none;text-align:left;color:inherit}.direction-icon svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}.direction-card ul{display:none}.field-action{position:relative;margin-top:auto;color:var(--accent);font:620 10px "SFMono-Regular",Consolas,monospace;letter-spacing:.05em}
.feature-shot{width:100%;border:0;color:inherit;cursor:pointer}.text-link{width:max-content;min-height:44px;margin-top:18px;padding:0;border:0;background:transparent;color:#aebeff;font:650 11px "SFMono-Regular",Consolas,monospace}.text-link:hover{color:#fff}
.project-controls-inner{margin-bottom:10px}.search-box{min-width:min(420px,60vw);min-height:46px;padding:0 14px;display:flex;align-items:center;gap:10px;border:1px solid var(--line);border-radius:11px;background:rgba(255,255,255,.025)}.search-box:focus-within{border-color:rgba(115,146,255,.58);box-shadow:0 0 0 3px rgba(56,104,255,.1)}.search-box svg{width:17px;height:17px;fill:none;stroke:#798493;stroke-width:1.8;stroke-linecap:round}.search-box input{width:100%;min-width:0;border:0;outline:0;background:transparent;color:var(--text);font-size:13px}.search-box input::placeholder{color:#626d7c}.result-count{color:#7e8896;font:620 10px "SFMono-Regular",Consolas,monospace;white-space:nowrap}
.project-card{grid-template-columns:38px minmax(160px,.9fr) minmax(90px,.55fr) minmax(230px,1.4fr) minmax(100px,.48fr)!important;min-height:72px}.project-number{color:#536070!important;font:620 9px "SFMono-Regular",Consolas,monospace!important}.project-card-summary{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.project-card i{text-align:right}.empty-state{padding:50px 20px;text-align:center;border:1px solid var(--line);border-radius:16px}.empty-state p{color:#9099a6}.empty-state .btn{width:auto}
.dialog-details{margin:0;display:grid;border-top:1px solid var(--line)}.dialog-details>div{padding:17px 0;display:grid;grid-template-columns:130px 1fr;gap:20px;border-bottom:1px solid var(--line)}.dialog-details dt{color:#697483;font:620 9px "SFMono-Regular",Consolas,monospace;letter-spacing:.08em}.dialog-details dd{margin:0;color:#c5cad2;font-size:13px;line-height:1.65}
html[data-locale="en"] .hero h1,html[data-locale="es"] .hero h1{font-size:clamp(50px,5.45vw,82px)}html[data-locale="es"] .direction-card h3{font-size:21px}
@media(max-width:980px){.language-nav{margin:18px 0 0;padding:16px 0 0;border-left:0;border-top:1px solid var(--line)}.language-nav a{min-width:52px;min-height:44px}.project-card{grid-template-columns:34px minmax(150px,1fr) minmax(90px,.62fr) minmax(90px,.48fr)!important}.project-card-summary{display:none}.menu-open{overflow:hidden;overscroll-behavior:none}}
@media(max-width:640px){.language-nav{justify-content:flex-start}.project-controls-inner{display:flex;gap:9px;align-items:center}.search-box{min-width:0;flex:1}.result-count{font-size:9px}.project-card{grid-template-columns:28px minmax(0,1fr) minmax(94px,.68fr)!important;padding:12px!important;gap:9px!important}.project-card>span:nth-of-type(2),.project-card-summary{display:none}.project-number{display:block!important}.project-card i{display:block!important;text-align:right}.dialog-details>div{grid-template-columns:1fr;gap:6px}.atlas-node{min-height:49px;padding:7px}.atlas-node small{font-size:6.5px}html[data-locale="en"] .hero h1,html[data-locale="es"] .hero h1{font-size:clamp(40px,11.5vw,51px)}}
@media(max-width:980px){.project-card>b{display:block!important}}
@media(max-width:640px){.project-card>b{display:block!important}}
@media (min-width:641px) and (max-width:980px){.project-card{grid-template-columns:34px minmax(150px,1fr) minmax(120px,.48fr)!important}}

/* full-site visual polish — coherent mark, contrast and compact mobile rhythm */
.brand{white-space:nowrap}.brand-mark{position:relative;letter-spacing:0}.header .brand-mark,.site-footer .brand-mark{flex:0 0 38px}.header .brand>b,.site-footer .brand>b{line-height:1;white-space:nowrap}
@media(hover:hover) and (pointer:fine){.brand:hover .brand-mark{transform:translateY(-1px);border-color:rgba(120,151,255,.72);box-shadow:inset 0 1px 0 rgba(255,255,255,.1),0 10px 26px rgba(34,74,190,.18),0 0 0 1px rgba(111,143,255,.08)}.brand:active .brand-mark{transform:translateY(0) scale(.98)}}
.about-grid h2{color:#e6e9ef}.about-grid h2 span{color:#8d98ab}.about-copy>p{color:#b1b8c4}.about-copy li{color:#d1d5dc}.console>div p{color:#bdc4cf}.console>header,.console>footer{color:#788394}
.project-card b{min-width:0}.project-card-summary{min-width:0}.feature-shot:focus-visible{outline-offset:-4px}
@media(max-width:640px){
  .hero{padding-top:calc(var(--header-h) + var(--safe-top) + 48px)}
  .hero-stage{margin-top:6px}.hero h1{overflow-wrap:normal;word-break:normal}
  .direction-grid{gap:10px}.direction-card{min-height:286px}
  .featured-grid{gap:12px}.feature-card{border-radius:16px}
  .project-card b{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
}

/* full-site audit fixes — sticky controls, readable metadata, touch sizing */
html{overflow-x:clip}.filter-chips{position:relative}.filter-chips::after{content:"";position:sticky;right:-1px;flex:0 0 22px;align-self:stretch;background:linear-gradient(90deg,transparent,rgba(7,9,13,.98));pointer-events:none}
.atlas-node small{font-size:9px;color:#8792a3}.proof{font-size:10px;color:#8791a0}.project-number{color:#778496!important}.feature-meta>span{color:#8b95a4;font-size:10px}.footer-bottom{color:#7f8998;font-size:10px}.console>div>b{color:#697688}.archive-note{color:#7f8b9b;font-size:12px}
.language-nav a{min-width:44px;min-height:44px}.footer-main nav a{min-height:44px}
@media(max-width:980px){.header .brand>b{font-size:14px}}
@media(max-width:640px){.atlas-node small{font-size:9px}.proof{font-size:9px}.project-number{font-size:10px!important}.filter-chips{padding-right:0}}
@media print{[data-reveal]{opacity:1!important;transform:none!important}.header{position:static}.reading-progress{display:none}}
.js-ready [data-reveal]{opacity:0;transform:translateY(18px)}.js-ready [data-reveal].visible{opacity:1;transform:none}
