/* GULO GULO — design tokens sampled from the supplied references */
:root {
  --background: #070c12;
  --background-secondary: #0b141c;
  --surface: #0f1b26;
  --surface-hover: #142433;
  --border: rgba(126, 176, 204, 0.14);
  --border-strong: rgba(126, 176, 204, 0.28);
  --text-primary: #eef3f7;
  --text-secondary: #a7b7c5;
  --text-muted: #7e91a1;
  --accent-cyan: #34d5ff;
  --accent-blue: #2f86f6;
  --accent-green: #4be7b8;
  --accent-mint: #5cf0c4;
  --glow-cyan: rgba(52, 213, 255, 0.35);
  --glow-green: rgba(75, 231, 184, 0.35);
  --radius: 14px;
  --radius-pill: 999px;
  --container: 1180px;
  --gutter: clamp(20px, 4vw, 40px);
  --font: Inter, "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-primary);
  background: var(--background);
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
[hidden] { display: none !important; }
a { color: inherit; text-decoration: none; }
a:focus-visible, button:focus-visible, [tabindex]:focus-visible { outline: 2px solid var(--accent-cyan); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3, h4 { margin: 0; line-height: 1.12; letter-spacing: -0.02em; font-weight: 700; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }

.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; padding: 10px 14px; background: var(--accent-mint); color: #06221a; border-radius: 8px; font-weight: 700; }
.skip:focus { top: 12px; }

.container { width: min(100% - 2 * var(--gutter), var(--container)); margin-inline: auto; }
.icon { width: 1.25em; height: 1.25em; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }

/* typography */
.eyebrow { font-size: 12px; font-weight: 600; letter-spacing: 0.28em; text-transform: uppercase; color: var(--accent-green); }
h1 { font-size: clamp(2.1rem, 4.4vw, 3.35rem); font-weight: 750; }
h2 { font-size: clamp(1.75rem, 3.4vw, 2.5rem); }
h3 { font-size: 1.2rem; }
.accent { color: var(--accent-green); }
.lead { font-size: clamp(1.05rem, 1.5vw, 1.2rem); color: var(--text-secondary); max-width: 42ch; }

/* buttons */
.btn { display: inline-flex; align-items: center; gap: 10px; padding: 14px 24px; border-radius: var(--radius-pill); font-weight: 700; line-height: 1; transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s var(--ease); min-height: 48px; }
.btn-primary { background: var(--accent-mint); color: #06221a; box-shadow: 0 0 0 1px rgba(92, 240, 196, .35), 0 10px 30px -12px var(--glow-green); }
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 0 0 1px rgba(92, 240, 196, .6), 0 14px 34px -10px var(--glow-green); background: #74f4cd; }
.btn-small { padding: 11px 18px; min-height: 40px; font-size: .95rem; }
.btn-large { padding: 18px 30px; font-size: 1.05rem; }
.btn-ghost { border: 1px solid var(--border-strong); color: var(--text-primary); background: rgba(52, 213, 255, .04); }
.btn-ghost:hover { border-color: var(--accent-cyan); background: rgba(52, 213, 255, .09); transform: translateY(-1px); }
.cta-actions { display: grid; gap: 12px; justify-items: stretch; }

/* header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(7, 12, 18, .78); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid rgba(126, 176, 204, .08); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 78px; gap: 20px; }
.brand { display: inline-flex; align-items: center; gap: 12px; font-weight: 800; letter-spacing: .04em; font-size: 1.15rem; white-space: nowrap; }
.brand-logo { height: 58px; width: auto; display: block; }
.brand-name span { background: linear-gradient(90deg, #5fb7ff, #84e8ff); -webkit-background-clip: text; background-clip: text; color: transparent; }
.nav { display: flex; align-items: center; }
.nav-list { display: flex; align-items: center; gap: 30px; }
.nav-list a:not(.btn) { font-size: .95rem; color: var(--text-secondary); padding: 6px 0; position: relative; }
.nav-list a:not(.btn)::after { content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px; border-radius: 2px; background: var(--accent-green); transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease); }
.nav-list a:not(.btn):hover, .nav-list a:not(.btn)[aria-current="true"] { color: var(--text-primary); }
.nav-list a:not(.btn):hover::after, .nav-list a:not(.btn)[aria-current="true"]::after { transform: scaleX(1); }
.nav-cta { margin-left: 10px; }
.nav-toggle { display: none; width: 44px; height: 44px; align-items: center; justify-content: center; border-radius: 10px; border: 1px solid var(--border); }
.nav-toggle-bar, .nav-toggle-bar::before, .nav-toggle-bar::after { display: block; width: 20px; height: 2px; background: var(--text-primary); border-radius: 2px; transition: transform .25s var(--ease), opacity .25s; }
.nav-toggle-bar { position: relative; }
.nav-toggle-bar::before, .nav-toggle-bar::after { content: ""; position: absolute; left: 0; }
.nav-toggle-bar::before { top: -6px; } .nav-toggle-bar::after { top: 6px; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar::after { transform: translateY(-6px) rotate(-45deg); }

/* hero */
.hero { position: relative; overflow: hidden; padding: clamp(40px, 6vw, 72px) 0 clamp(36px, 5vw, 60px); border-bottom: 1px solid var(--border); }
.hero-bg { position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(60% 55% at 78% 45%, rgba(47, 134, 246, .22), transparent 70%),
    radial-gradient(40% 40% at 60% 70%, rgba(52, 213, 255, .12), transparent 70%),
    radial-gradient(45% 45% at 10% 100%, rgba(75, 231, 184, .10), transparent 70%),
    linear-gradient(rgba(126, 176, 204, .05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(126, 176, 204, .05) 1px, transparent 1px);
  background-size: auto, auto, auto, 64px 64px, 64px 64px;
  mask-image: linear-gradient(180deg, #000 60%, transparent);
  -webkit-mask-image: linear-gradient(180deg, #000 60%, transparent);
}
.hero-mountains { position: absolute; left: 0; right: 0; bottom: -1px; width: 100%; height: min(46%, 360px); object-fit: cover; object-position: center bottom; pointer-events: none; opacity: .42; filter: saturate(.75) brightness(.72); mask-image: linear-gradient(180deg, transparent 0, #000 60%), linear-gradient(90deg, rgba(0,0,0,.35) 0, #000 45%); -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 60%), linear-gradient(90deg, rgba(0,0,0,.35) 0, #000 45%); mask-composite: intersect; -webkit-mask-composite: source-in; }
.hero-aurora { position: absolute; right: -10%; top: -10%; width: 60%; height: 80%; pointer-events: none; background: radial-gradient(50% 50% at 50% 50%, rgba(75, 231, 184, .12), rgba(52, 213, 255, .05) 45%, transparent 70%); }
.hero-inner { position: relative; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); align-items: center; gap: clamp(24px, 3vw, 40px); }
.hero-copy { display: grid; gap: 22px; }
.hero h1 { max-width: none; }
.hero-actions { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; margin-top: 6px; }
.hero-tagline { font-size: .85rem; letter-spacing: .22em; text-transform: uppercase; color: var(--text-muted); }
.hero-brand { position: relative; display: grid; justify-items: center; align-content: center; padding: 24px 0 8px; min-height: 420px; }
.hero-support { position: absolute; inset: -6% -8%; width: 116%; height: 112%; pointer-events: none; }
.hero-brand picture { display: block; width: min(100%, 470px); }
.hero-mark { position: relative; display: block; width: 100%; height: auto; aspect-ratio: 1 / 1; margin-bottom: -30px; filter: drop-shadow(0 24px 50px rgba(47, 143, 245, .35)) drop-shadow(0 0 22px rgba(52, 213, 255, .18)); }
.hero-wordmark { position: relative; margin: 0; font-size: clamp(2.4rem, 4.6vw, 4rem); font-weight: 850; letter-spacing: .06em; line-height: 1; color: #fff; text-shadow: 0 6px 30px rgba(0, 0, 0, .5); }
.hero-wordmark span { background: linear-gradient(90deg, #5fb7ff, #8ae9ff); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-brand-tagline { position: relative; margin: 12px 0 0; font-size: clamp(.9rem, 1.3vw, 1.15rem); letter-spacing: .3em; text-transform: none; color: #c2d1de; }
.hero-vertical { display: none; }
.sup-pulse { animation: pulse 7s linear infinite; }
.sup-loop { animation: core 40s linear infinite; }
.sup-blink circle { animation: blink 3.4s ease-in-out infinite; }
.sup-blink circle:nth-child(2) { animation-delay: 1.1s; }
.sup-blink circle:nth-child(3) { animation-delay: 2.2s; }
@keyframes pulse { to { stroke-dashoffset: -1426; } }
@keyframes core { to { stroke-dashoffset: -280; } }
@keyframes float { 50% { transform: translateY(-8px); } }
@keyframes blink { 50% { opacity: .25; } }

/* sections */
.section { padding: clamp(48px, 6.4vw, 84px) 0; border-bottom: 1px solid var(--border); }
.section-alt { background: var(--background-secondary); }
.section-head { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 24px 48px; margin-bottom: clamp(32px, 4vw, 48px); }
.section-head .eyebrow { margin-bottom: 14px; }
.section-intro { color: var(--text-secondary); max-width: 34ch; font-size: .98rem; }
.eyebrow + h2 { margin-top: 14px; }

/* services */
.services { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.service { position: relative; display: grid; align-content: start; gap: 14px; text-align: left; padding: 28px 28px 30px; border-left: 1px solid var(--border); border-radius: 0; transition: background .3s var(--ease), transform .3s var(--ease); }
.service:first-child { border-left: 0; padding-left: 0; }
.service::before { content: ""; position: absolute; inset: 8px 8px 8px 12px; border-radius: var(--radius); border: 1px solid transparent; transition: border-color .3s var(--ease), box-shadow .3s var(--ease), background .3s var(--ease); pointer-events: none; }
.service:first-child::before { left: -12px; }
.service:hover::before, .service:focus-visible::before { border-color: var(--border-strong); background: rgba(52, 213, 255, .04); box-shadow: 0 20px 50px -30px var(--glow-cyan); }
.service:hover { transform: translateY(-3px); }
.service:focus-visible { outline-offset: -2px; }
.service-icon { width: 64px; height: 64px; border-radius: 16px; display: grid; place-items: center; color: var(--accent-cyan); background: linear-gradient(145deg, rgba(52, 213, 255, .18), rgba(47, 134, 246, .12)); border: 1px solid rgba(52, 213, 255, .28); box-shadow: 0 0 30px -8px var(--glow-cyan), inset 0 0 20px rgba(52, 213, 255, .06); }
.service-icon .icon { width: 30px; height: 30px; }
.service-title { font-size: 1.28rem; font-weight: 700; line-height: 1.2; letter-spacing: -.01em; margin-top: 6px; }
.service-text { color: var(--text-secondary); font-size: .96rem; line-height: 1.55; }
.service-more { display: inline-flex; align-items: center; gap: 6px; font-size: .85rem; font-weight: 600; color: var(--accent-green); margin-top: 4px; }
.service-more .icon { transition: transform .25s var(--ease); }
.service:hover .service-more .icon { transform: translateX(4px); }

/* approach */
.approach { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 2fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; counter-reset: step; }
.step { display: grid; gap: 10px; }
.step-marks { display: flex; align-items: center; gap: 22px; position: relative; margin-bottom: 8px; }
.step-num { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; font-size: .95rem; border: 2px solid var(--accent-cyan); color: var(--accent-cyan); box-shadow: 0 0 24px -6px var(--glow-cyan); flex: none; }
.step-2 .step-num { border-color: var(--accent-blue); color: #7db7ff; box-shadow: 0 0 24px -6px rgba(47, 134, 246, .5); }
.step-3 .step-num { border-color: var(--accent-green); color: var(--accent-green); box-shadow: 0 0 24px -6px var(--glow-green); }
.step-icon { width: 30px; height: 30px; color: var(--accent-cyan); stroke-width: 1.6; }
.step-2 .step-icon { color: #7db7ff; } .step-3 .step-icon { color: var(--accent-green); }
.step-line { flex: 1; height: 1px; background: linear-gradient(90deg, var(--border-strong), rgba(126, 176, 204, .05)); position: relative; margin-left: 6px; }
.step-line::after { content: ""; position: absolute; right: 0; top: -3px; border: 3.5px solid transparent; border-left: 6px solid var(--border-strong); }
.step h3 { font-size: 1.15rem; }
.step p { color: var(--text-secondary); font-size: .95rem; max-width: 26ch; }

/* technologies */
.tech { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 26px 12px; margin-top: 34px; }
.tech li { display: grid; justify-items: center; align-content: start; gap: 12px; font-size: .84rem; color: var(--text-secondary); font-weight: 500; text-align: center; }
.tech-icon { width: 44px; height: 44px; fill: none; stroke: var(--accent-cyan); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; padding: 6px; border-radius: 12px; background: rgba(52, 213, 255, .06); border: 1px solid rgba(52, 213, 255, .16); transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s; }
.tech li:hover .tech-icon { transform: translateY(-3px); border-color: rgba(52, 213, 255, .45); box-shadow: 0 10px 26px -12px var(--glow-cyan); }

/* projects */
.projects { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.5fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.project-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 14px; }
.project-list li { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: 12px; background: var(--surface); border: 1px solid var(--border); font-size: .95rem; transition: background .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease); }
.project-list li:hover { background: var(--surface-hover); border-color: var(--border-strong); transform: translateX(3px); }
.project-list .icon { width: 22px; height: 22px; color: var(--accent-cyan); stroke-width: 1.6; }
.project-list .arrow { color: var(--accent-green); margin: 0 2px; }

/* selected work: a scroll-snap carousel */
.work-head { margin-bottom: clamp(20px, 3vw, 32px); }
.work-nav { display: flex; gap: 10px; }
.work-arrow { width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--border-strong); display: grid; place-items: center; color: var(--text-primary); background: rgba(52, 213, 255, .04); transition: background .2s, border-color .2s, opacity .2s; }
.work-arrow:hover { border-color: var(--accent-cyan); background: rgba(52, 213, 255, .1); }
.work-arrow[data-dir="-1"] .icon { transform: rotate(180deg); }
.work-arrow[disabled] { opacity: .35; cursor: default; }
.work-carousel { width: 100%; overflow: hidden; }
.work-track { display: flex; gap: 22px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none; padding: 12px calc((100vw - min(100vw - 2 * var(--gutter), var(--container)) * .78) / 2) 18px; cursor: grab; -webkit-overflow-scrolling: touch; }
.work-track::-webkit-scrollbar { display: none; }
.work-track.dragging { cursor: grabbing; scroll-snap-type: none; scroll-behavior: auto; }
.work-track:focus-visible { outline: 2px solid var(--accent-cyan); outline-offset: -2px; }
.work-card { position: relative; flex: 0 0 calc(min(100vw - 2 * var(--gutter), var(--container)) * .78); scroll-snap-align: center; scroll-snap-stop: always; display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: clamp(20px, 3vw, 48px); align-items: center; padding: clamp(24px, 3.5vw, 44px); border-radius: 22px; background: linear-gradient(145deg, rgba(15, 27, 38, .96), rgba(10, 18, 26, .96)); border: 1px solid var(--border); box-shadow: 0 30px 80px -40px rgba(0, 0, 0, .9); overflow: hidden; opacity: .55; transform: scale(.97); transition: opacity .35s var(--ease), transform .35s var(--ease), border-color .35s; }
.work-card.is-active { opacity: 1; transform: none; border-color: var(--border-strong); box-shadow: 0 30px 80px -40px var(--glow-cyan), inset 0 1px 0 rgba(255, 255, 255, .04); }
.work-card::before { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 80% at 85% 50%, rgba(47, 134, 246, .14), transparent 70%), linear-gradient(rgba(126, 176, 204, .05) 1px, transparent 1px), linear-gradient(90deg, rgba(126, 176, 204, .05) 1px, transparent 1px); background-size: auto, 48px 48px, 48px 48px; pointer-events: none; }
.work-copy { position: relative; display: grid; gap: 14px; justify-items: start; }
.work-kicker { font-size: .78rem; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--accent-cyan); }
.work-copy h3 { font-size: clamp(1.5rem, 2.4vw, 2.1rem); }
.work-lead { font-size: 1.08rem; color: var(--text-primary); max-width: 46ch; }
.work-note { color: var(--text-secondary); max-width: 52ch; }
.work-tags { margin: 4px 0 8px; }
.work-visual { position: relative; display: grid; place-items: center; min-height: 300px; }
.work-diagram { width: min(100%, 360px); height: auto; filter: drop-shadow(0 20px 40px rgba(0, 0, 0, .5)); }
.work-lines { position: absolute; inset: 0; width: 100%; height: 100%; }
.device { position: relative; z-index: 1; width: 168px; height: 336px; border-radius: 30px; padding: 10px; background: linear-gradient(160deg, #1a2a3a, #0a121a); border: 1px solid rgba(126, 176, 204, .35); box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .8), 0 0 60px -20px var(--glow-cyan); }
.device::before { content: ""; position: absolute; left: 50%; top: 14px; width: 44px; height: 5px; border-radius: 3px; background: rgba(126, 176, 204, .25); transform: translateX(-50%); }
.device-screen { display: grid; place-items: center; align-content: center; gap: 10px; width: 100%; height: 100%; border-radius: 22px; background: radial-gradient(70% 60% at 50% 35%, rgba(52, 213, 255, .12), transparent 70%), #0b1520; border: 1px solid rgba(126, 176, 204, .12); }
.device-screen img { width: 84px; height: 84px; border-radius: 20px; box-shadow: 0 12px 30px -10px rgba(0, 0, 0, .8); }
.device-name { font-weight: 700; letter-spacing: .04em; }
.device-tag { font-size: .68rem; letter-spacing: .22em; text-transform: uppercase; color: var(--text-muted); }
.work-dots { display: flex; gap: 8px; justify-content: center; margin-top: 8px; }
.work-dots button { width: 28px; height: 28px; display: grid; place-items: center; border-radius: 50%; }
.work-dots button::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--border-strong); transition: background .2s, transform .2s; }
.work-dots button[aria-selected="true"]::before { background: var(--accent-green); transform: scale(1.3); box-shadow: 0 0 10px var(--glow-green); }
.d-flow { stroke-dasharray: 6 8; animation: core 8s linear infinite; }
.d-artifact { animation: float 6s ease-in-out infinite; transform-box: fill-box; transform-origin: center; }

/* cta */
.cta { position: relative; overflow: hidden; background: var(--background-secondary); }
.cta-mountains { position: absolute; left: 0; right: 0; bottom: -1px; width: 100%; height: 72%; object-fit: cover; object-position: center bottom; pointer-events: none; opacity: .3; filter: saturate(.75) brightness(.7); mask-image: linear-gradient(180deg, transparent 0, #000 65%); -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 65%); }
.cta-wave { position: absolute; left: 0; bottom: 0; width: 100%; height: 100%; pointer-events: none; opacity: .85; }
.cta-inner { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 28px 48px; }
.cta h2 { margin-top: 14px; }
.cta .lead { margin-top: 14px; }

/* footer */
.site-footer { padding: 36px 0 28px; }
.footer-inner { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 20px; }
.footer-company { display: grid; gap: 6px; justify-items: center; text-align: center; font-size: .88rem; color: var(--text-secondary); }
.footer-company p { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; justify-content: center; }
.footer-contact a:hover { color: var(--text-primary); }
.footer-company span[aria-hidden] { color: var(--border-strong); }
.footer-links { display: flex; gap: 22px; justify-content: flex-end; font-size: .9rem; color: var(--text-secondary); }
.footer-links a:hover { color: var(--text-primary); }
.footer-tagline { margin-top: 22px; font-size: .74rem; letter-spacing: .3em; text-transform: uppercase; color: var(--text-muted); text-align: center; }

/* drawer */
.drawer-root { position: fixed; inset: 0; z-index: 90; }
.drawer-root[hidden] { display: none; }
.drawer-backdrop { position: absolute; inset: 0; background: rgba(3, 7, 11, .62); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); animation: fade .3s var(--ease); }
.drawer { position: absolute; top: 0; right: 0; bottom: 0; width: min(60vw, 860px); background: linear-gradient(180deg, #0d1822, #0a121a); border-left: 1px solid var(--border-strong); box-shadow: -30px 0 80px -30px rgba(0, 0, 0, .8); display: flex; flex-direction: column; animation: slide .38s var(--ease); outline: 0; }
.drawer-bar { display: flex; align-items: center; justify-content: space-between; padding: 20px clamp(20px, 4vw, 44px); border-bottom: 1px solid var(--border); }
.drawer-close { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--border-strong); display: grid; place-items: center; color: var(--text-primary); transition: background .2s, border-color .2s; }
.drawer-close:hover { background: var(--surface-hover); border-color: var(--accent-cyan); }
.drawer-close .icon { width: 20px; height: 20px; }
.drawer-body { overflow-y: auto; padding: clamp(24px, 4vw, 44px); display: grid; gap: 30px; overscroll-behavior: contain; }
.drawer-body h2 { font-size: clamp(1.6rem, 2.6vw, 2.2rem); }
.drawer-body h2:focus, .cta h2:focus { outline: none; }
.drawer-intro { color: var(--text-secondary); font-size: 1.05rem; max-width: 52ch; margin-top: -12px; }
.drawer-body h3 { font-size: .8rem; letter-spacing: .22em; text-transform: uppercase; color: var(--accent-green); margin-bottom: 14px; font-weight: 600; }
.drawer-body h4 { font-size: .95rem; color: var(--text-primary); margin: 14px 0 10px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { padding: 7px 12px; border-radius: 999px; border: 1px solid var(--border-strong); background: rgba(52, 213, 255, .05); font-size: .88rem; color: var(--text-primary); }
.plain { display: grid; gap: 8px; }
.plain li { position: relative; padding-left: 20px; color: var(--text-secondary); }
.plain li::before { content: ""; position: absolute; left: 0; top: .6em; width: 8px; height: 8px; border-radius: 50%; background: var(--accent-green); box-shadow: 0 0 10px var(--glow-green); }
.platforms { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.drawer-tech { color: var(--text-secondary); }
.drawer-cta { padding-top: 8px; }
@keyframes slide { from { transform: translateX(40px); opacity: 0; } }
@keyframes fade { from { opacity: 0; } }
body.no-scroll { overflow: hidden; }

/* reveal on scroll (progressive: content is visible without JS) */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
html.no-js .reveal { opacity: 1; transform: none; }

/* legal pages */
.legal { padding: clamp(40px, 6vw, 72px) 0 80px; max-width: 760px; }
.legal h1 { font-size: clamp(2rem, 4vw, 2.6rem); margin-bottom: 8px; }
.legal h2 { font-size: 1.3rem; margin-top: 36px; margin-bottom: 10px; }
.legal p, .legal li { color: var(--text-secondary); margin-bottom: 12px; }
.legal ul { padding-left: 20px; list-style: disc; }
.legal .updated { font-size: .85rem; color: var(--text-muted); margin-bottom: 28px; }
.legal a { color: var(--accent-cyan); }

/* responsive */
@media (max-width: 1100px) {
  .hero-vertical { display: none; }
  .services { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 0; }
  .service:nth-child(3) { border-left: 0; padding-left: 0; }
  .service:nth-child(3)::before { left: -12px; }
}
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-brand { min-height: 0; padding: 12px 0 0; }
  .hero-brand picture { width: min(78%, 380px); }
  .hero-mark { margin-bottom: -20px; }
  .section-head { grid-template-columns: 1fr; align-items: start; }
  .approach, .projects, .work-card { grid-template-columns: 1fr; }
  .work-visual { min-height: 0; padding: 12px 0 0; }
  .work-copy .btn { width: 100%; justify-content: center; }
  .work-track { gap: 14px; padding-left: var(--gutter); padding-right: var(--gutter); scroll-padding: 0 var(--gutter); }
  .work-card { flex-basis: calc(100vw - 2 * var(--gutter)); opacity: 1; transform: none; }
  .work-head { grid-template-columns: 1fr auto; align-items: end; }
  .steps { grid-template-columns: 1fr; gap: 26px; }
  .step-line { display: none; }
  .project-list { grid-template-columns: 1fr; }
  .tech { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .cta-inner { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; justify-items: center; text-align: center; }
  .footer-links { justify-content: center; }
  .drawer { width: 100%; border-left: 0; }
  .platforms { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
  .nav-toggle { display: inline-flex; }
  .nav-list { position: absolute; left: 0; right: 0; top: 78px; display: none; flex-direction: column; align-items: stretch; gap: 0; padding: 10px var(--gutter) 18px; background: rgba(7, 12, 18, .97); border-bottom: 1px solid var(--border); }
  .nav-list.open { display: flex; }
  .nav-list li { border-top: 1px solid var(--border); }
  .nav-list a:not(.btn) { display: block; padding: 14px 0; font-size: 1.05rem; }
  .nav-list a:not(.btn)::after { display: none; }
  .nav-cta { margin: 14px 0 0; border-top: 0 !important; }
  .nav-cta .btn { width: 100%; justify-content: center; }
  .hero-actions { gap: 16px; }
}
@media (max-width: 640px) {
  .services { grid-template-columns: 1fr; }
  .service { border-left: 0; padding: 22px 0; border-top: 1px solid var(--border); }
  .service:first-child { border-top: 0; }
  .service::before, .service:first-child::before, .service:nth-child(3)::before { inset: 4px -12px; left: -12px; }
  .tech { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 400px) {
  .brand-logo { height: 44px; }
  .btn-large { padding: 16px 22px; font-size: 1rem; width: 100%; justify-content: center; }
  .tech { gap: 22px 8px; }
}

/* motion */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}
