:root {
  --ink: #f3f7f2;
  --muted: #97a49b;
  --bg: #050806;
  --panel: #0b100c;
  --paper: #e9eee7;
  --accent: #baff29;
  --black: #050806;
  --line: rgba(243, 247, 242, 0.15);
  --line-strong: rgba(243, 247, 242, 0.3);
  --ease: cubic-bezier(.16, 1, .3, 1);
  --page: min(92vw, 1560px);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: clip; }
body { margin: 0; color: var(--ink); background: var(--bg); font-family: "DM Sans", sans-serif; line-height: 1.5; overflow-x: hidden; }
body.cursor-ready, body.cursor-ready a, body.cursor-ready button { cursor: none; }
a { color: inherit; text-decoration: none; }
button { color: inherit; font: inherit; }
img { display: block; max-width: 100%; }
::selection { color: var(--black); background: var(--accent); }

.fixed-grid { position: fixed; inset: 0; z-index: -2; pointer-events: none; opacity: .26; background-color: var(--bg); background-image: url("data:image/svg+xml,%3Csvg width='64' height='64' viewBox='0 0 64 64' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M64 0H0V64' fill='none' stroke='%232a332c' stroke-width='1'/%3E%3Ccircle cx='0' cy='0' r='1.25' fill='%23baff29'/%3E%3C/svg%3E"); }
.fixed-word { position: fixed; right: -1.5vw; bottom: -5.5vw; z-index: -1; color: transparent; opacity: .06; pointer-events: none; font: 700 clamp(160px, 28vw, 520px)/.72 "Space Grotesk", sans-serif; letter-spacing: -.09em; -webkit-text-stroke: 1px var(--ink); transform: translate3d(0, var(--fixed-shift, 0), 0); }
.depth-line { position: fixed; z-index: -1; width: 58vw; height: 1px; pointer-events: none; opacity: .16; background: var(--accent); transform-origin: center; will-change: transform; }
.depth-line-a { left: -15vw; top: 29vh; transform: translate3d(var(--depth-a, 0), 0, 0) rotate(-18deg); }
.depth-line-b { right: -16vw; bottom: 22vh; background: var(--ink); transform: translate3d(var(--depth-b, 0), 0, 0) rotate(24deg); }
.section-sweep { position: fixed; left: -18vw; top: 43%; z-index: 80; width: 136vw; height: clamp(88px, 13vw, 180px); display: grid; place-items: center; color: var(--black); background: var(--accent); pointer-events: none; opacity: 0; transform: translate3d(-110%, 0, 0) rotate(-3deg); }
.section-sweep span { font: 700 clamp(54px, 9vw, 140px)/1 "Space Grotesk", sans-serif; letter-spacing: -.07em; }
.section-sweep.play { animation: section-sweep 1s var(--ease); }
.chapter-rail { position: fixed; right: max(18px, calc((100vw - var(--page)) / 2 - 52px)); top: 50%; z-index: 45; display: flex; align-items: center; gap: 13px; color: var(--muted); transform: translateY(-50%); }
.chapter-readout { min-width: 76px; text-align: right; text-transform: uppercase; }
.chapter-readout span, .chapter-readout strong { display: block; }
.chapter-readout span { color: var(--accent); font: 700 10px "Space Grotesk", sans-serif; letter-spacing: .14em; }
.chapter-readout strong { margin-top: 4px; font: 600 10px "Space Grotesk", sans-serif; letter-spacing: .12em; }
.chapter-rail nav { display: flex; flex-direction: column; gap: 9px; padding: 12px 8px; border-left: 1px solid var(--line); }
.chapter-dot { width: 5px; height: 5px; border: 1px solid var(--muted); background: var(--bg); transition: height .35s var(--ease), background .35s, border-color .35s; }
.chapter-dot.active { height: 24px; border-color: var(--accent); background: var(--accent); }
[data-chapter] { scroll-margin-top: 62px; }
.scroll-progress { position: fixed; inset: 0 0 auto; z-index: 100; height: 3px; background: rgba(255,255,255,.05); }
.scroll-progress span { display: block; width: var(--progress, 0%); height: 100%; background: var(--accent); }
.cursor, .cursor-dot { position: fixed; left: 0; top: 0; z-index: 999; pointer-events: none; border-radius: 50%; opacity: 0; }
.cursor { width: 38px; height: 38px; border: 1px solid var(--accent); transition: width .25s var(--ease), height .25s var(--ease), background .25s; }
.cursor-dot { width: 5px; height: 5px; background: var(--accent); }
.cursor.visible, .cursor-dot.visible { opacity: 1; }
.cursor.hovering { width: 66px; height: 66px; background: rgba(186,255,41,.08); }

.topbar { position: fixed; top: 0; left: 50%; z-index: 50; width: var(--page); min-height: 76px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 28px; border-bottom: 1px solid var(--line); transform: translateX(-50%); transition: min-height .35s var(--ease), background .35s, padding .35s; }
.topbar.scrolled { min-height: 62px; padding: 0 18px; background: rgba(5,8,6,.9); backdrop-filter: blur(18px); }
.brand { display: flex; align-items: center; gap: 12px; width: max-content; font: 600 14px "Space Grotesk", sans-serif; letter-spacing: -.02em; }
.brand-signal { width: 9px; height: 9px; background: var(--accent); box-shadow: 0 0 0 5px rgba(186,255,41,.1); animation: pulse 2.4s infinite; }
.topbar nav { display: flex; align-items: center; gap: 34px; color: var(--muted); font-size: 13px; }
.topbar nav a, .footer-links a { position: relative; transition: color .25s; }
.topbar nav a::after, .footer-links a::after { content: ""; position: absolute; right: 0; bottom: -5px; left: 0; height: 1px; background: var(--accent); transform: scaleX(0); transform-origin: right; transition: transform .35s var(--ease); }
.topbar nav a:hover, .footer-links a:hover { color: var(--ink); }
.topbar nav a:hover::after, .footer-links a:hover::after { transform: scaleX(1); transform-origin: left; }
.nav-contact { justify-self: end; padding: 10px 18px; color: var(--black); background: var(--accent); font-size: 13px; font-weight: 700; }

.hero { position: relative; width: var(--page); min-height: 100svh; margin: 0 auto; padding: 128px 0 70px; display: flex; flex-direction: column; justify-content: center; }
.hero-status { display: flex; align-items: center; gap: 12px; margin-bottom: clamp(26px, 4vh, 48px); color: var(--muted); font-size: 12px; text-transform: uppercase; letter-spacing: .15em; }
.live-dot { width: 8px; height: 8px; background: var(--accent); animation: blink 1.6s infinite; }
.status-place { margin-left: auto; }
.hero-title { position: relative; z-index: 2; display: flex; flex-direction: column; }
.title-line { width: max-content; font: 600 clamp(56px, 8.4vw, 154px)/.84 "Space Grotesk", sans-serif; letter-spacing: -.075em; }
.title-line:nth-child(2) { margin-left: 11vw; }
.title-line:nth-child(3) { align-self: flex-end; }
.title-line.outline { color: transparent; -webkit-text-stroke: 1.2px rgba(243,247,242,.8); }
.title-line.accent { color: var(--accent); }
.hero-bottom { display: grid; grid-template-columns: minmax(300px, .85fr) minmax(320px, .58fr); justify-content: space-between; align-items: end; gap: 8vw; margin-top: clamp(42px, 7vh, 80px); }
.hero-intro p { max-width: 650px; margin: 0 0 28px; color: var(--muted); font-size: clamp(17px, 1.5vw, 22px); line-height: 1.65; }
.hero-intro strong { color: var(--ink); }
.hero-actions, .contact-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 51px; padding: 0 22px; border: 1px solid transparent; font-weight: 700; transition: color .3s, background .3s, border-color .3s, transform .3s var(--ease); }
.button-solid { color: var(--black); background: var(--accent); }
.button-solid:hover { color: var(--accent); background: var(--black); border-color: var(--accent); }
.button-line { border-color: var(--line-strong); }
.button-line:hover { border-color: var(--accent); }
.portrait-stage { position: relative; justify-self: end; width: min(28vw, 410px); aspect-ratio: 1.14; border: 1px solid var(--line-strong); background: var(--panel); overflow: hidden; transform-style: preserve-3d; }
.portrait-stage::before { content: ""; position: absolute; inset: 11px; z-index: 2; border: 1px solid rgba(186,255,41,.45); pointer-events: none; }
.portrait-stage img { width: 100%; height: 100%; object-fit: cover; object-position: center 19%; filter: saturate(.72) contrast(1.08); transition: transform .8s var(--ease), filter .5s; }
.portrait-stage:hover img { transform: scale(1.045); filter: saturate(1) contrast(1.04); }
.portrait-index { position: absolute; top: 24px; right: 24px; z-index: 3; padding: 5px 8px; color: var(--black); background: var(--accent); font: 700 10px "Space Grotesk"; }
.portrait-caption { position: absolute; right: 12px; bottom: 12px; left: 12px; z-index: 3; display: flex; justify-content: space-between; gap: 12px; padding: 12px; color: var(--ink); background: rgba(5,8,6,.85); font-size: 11px; text-transform: uppercase; letter-spacing: .08em; backdrop-filter: blur(12px); }
.scroll-cue { position: absolute; right: 0; bottom: 28px; display: flex; align-items: center; gap: 12px; color: var(--muted); font-size: 10px; text-transform: uppercase; letter-spacing: .18em; writing-mode: vertical-rl; }
.scroll-cue i { display: block; width: 1px; height: 44px; background: var(--accent); transform-origin: top; animation: scroll-line 1.8s var(--ease) infinite; }

.signal-band { position: relative; z-index: 2; overflow: hidden; border-block: 1px solid var(--accent); color: var(--black); background: var(--accent); }
.marquee { overflow: hidden; padding: 18px 0; }
.marquee-track { display: flex; width: max-content; align-items: center; gap: 30px; font: 700 16px "Space Grotesk", sans-serif; letter-spacing: .12em; animation: marquee 24s linear infinite; }
.marquee-track b { font-size: 13px; }

.section-label { display: flex; align-items: center; gap: 14px; color: var(--muted); font-size: 11px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; }
.section-label span { color: var(--accent); }
.product { position: relative; z-index: 1; min-height: 100vh; display: grid; grid-template-columns: minmax(0, 1fr) minmax(520px, .93fr); border-bottom: 1px solid var(--line); background: var(--bg); }
.product-copy { padding: clamp(90px, 10vw, 170px) max(5vw, calc((100vw - var(--page)) / 2)); padding-right: 6vw; }
.oc-heading { display: flex; align-items: center; gap: 24px; margin: 42px 0 36px; }
.oc-heading img { width: clamp(72px, 7vw, 110px); aspect-ratio: 1; border: 1px solid rgba(255,255,255,.12); }
.oc-heading span { color: var(--accent); font-size: 11px; text-transform: uppercase; letter-spacing: .14em; }
.oc-heading h2 { margin: 3px 0 0; font: 600 clamp(54px, 6.2vw, 104px)/.9 "Space Grotesk", sans-serif; letter-spacing: -.07em; }
.product-lead { max-width: 760px; color: var(--muted); font-size: clamp(17px, 1.45vw, 22px); line-height: 1.7; }
.product-tabs { margin-top: 46px; border-top: 1px solid var(--line); }
.tab-list { display: flex; border-bottom: 1px solid var(--line); }
.tab { position: relative; flex: 1; padding: 16px 6px; border: 0; color: var(--muted); background: transparent; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.tab::after { content: ""; position: absolute; right: 0; bottom: -1px; left: 0; height: 2px; background: var(--accent); transform: scaleX(0); transition: transform .35s var(--ease); }
.tab.active { color: var(--ink); }
.tab.active::after { transform: scaleX(1); }
.tab-panels { min-height: 116px; padding: 22px 0 8px; }
.tab-panel { animation: panel-in .45s var(--ease); }
.tab-panel p { max-width: 660px; margin: 0; color: var(--muted); line-height: 1.65; }
.product-links { margin-top: 28px; border-top: 1px solid var(--line); }
.text-link { display: flex; justify-content: space-between; align-items: center; padding: 17px 4px; border-bottom: 1px solid var(--line); transition: padding .3s var(--ease), color .3s; }
.text-link small { color: var(--muted); text-transform: uppercase; letter-spacing: .1em; }
.text-link:hover { padding-inline: 14px; color: var(--accent); }
.product-visual { position: sticky; top: 0; align-self: start; height: 100vh; min-height: 720px; overflow: hidden; background: var(--accent); }
.product-visual::before, .product-visual::after { content: ""; position: absolute; z-index: 0; background: var(--black); }
.product-visual::before { width: 1px; top: 0; bottom: 0; left: 50%; opacity: .2; }
.product-visual::after { height: 1px; right: 0; left: 0; top: 50%; opacity: .2; }
.oc-watermark { position: absolute; width: 82%; right: -24%; top: -9%; opacity: .1; filter: brightness(0); transform: rotate(15deg); }
.phone { position: absolute; z-index: 2; width: min(43%, 330px); padding: 9px; border: 2px solid #111; border-radius: 34px; background: #0b0b0b; box-shadow: 24px 28px 0 rgba(5,8,6,.15); overflow: hidden; will-change: transform; }
.phone img { width: 100%; border-radius: 25px; }
.phone-speaker { position: absolute; z-index: 3; top: 17px; left: 50%; width: 30%; height: 18px; border-radius: 20px; background: #090909; transform: translateX(-50%); }
.phone-one { left: 11%; top: 19%; transform: rotate(-8deg) translateY(var(--phone-shift, 0)); }
.phone-two { right: 7%; top: 8%; transform: rotate(7deg) translateY(var(--phone-shift, 0)); }
.visual-badge { position: absolute; z-index: 4; display: flex; align-items: center; gap: 10px; padding: 13px 16px; color: var(--ink); background: var(--black); border: 1px solid rgba(255,255,255,.18); box-shadow: 10px 12px 0 rgba(5,8,6,.14); }
.visual-badge strong { color: var(--accent); font: 700 26px "Space Grotesk"; }
.visual-badge span { font-size: 11px; text-transform: uppercase; letter-spacing: .1em; }
.badge-users { left: 4%; bottom: 12%; }
.badge-live { right: 4%; bottom: 7%; }
.badge-live i { width: 8px; height: 8px; background: var(--accent); animation: blink 1.4s infinite; }

.metrics { position: relative; z-index: 2; display: grid; grid-template-columns: repeat(4, 1fr); border-bottom: 1px solid var(--line); background: var(--bg); }
.metric { min-height: 230px; padding: 42px 4vw; display: flex; flex-direction: column; justify-content: space-between; border-right: 1px solid var(--line); }
.metric:last-child { border-right: 0; }
.metric strong { color: var(--accent); font: 600 clamp(64px, 7vw, 118px)/.8 "Space Grotesk"; letter-spacing: -.08em; }
.metric strong[data-counter]::after { content: "+"; font-size: .38em; vertical-align: top; margin-left: 3px; }
.metric:nth-child(2) strong[data-counter]::after { content: ""; }
.metric span { max-width: 130px; color: var(--muted); font-size: 12px; line-height: 1.3; text-transform: uppercase; letter-spacing: .08em; }

.selected-work { position: relative; z-index: 2; padding: clamp(100px, 11vw, 180px) max(4vw, calc((100vw - var(--page)) / 2)); background: var(--paper); color: var(--black); }
.selected-work .section-label { color: #5e695f; }
.selected-work .section-label span { color: #3e6d00; }
.work-head h2 { margin: 26px 0 0; font: 600 clamp(52px, 7vw, 118px)/.9 "Space Grotesk"; letter-spacing: -.075em; }
.work-head > p { margin: 6px 0 58px 21vw; color: #3e6d00; font: 600 clamp(34px, 5vw, 80px)/1 "Space Grotesk"; letter-spacing: -.06em; }
.work-list { display: grid; grid-template-columns: repeat(2, 1fr); border-top: 1px solid #aab3aa; border-left: 1px solid #aab3aa; perspective: 1200px; }
.work-card { min-height: 470px; padding: 30px; display: flex; flex-direction: column; border-right: 1px solid #aab3aa; border-bottom: 1px solid #aab3aa; background: var(--paper); transform-style: preserve-3d; translate: 0 var(--scroll-depth-shift, 0); transition: background .45s, color .45s, transform .25s var(--ease), translate .2s linear; }
.work-card:hover { color: var(--ink); background: var(--black); }
.work-number { align-self: end; color: #5e695f; font: 700 12px "Space Grotesk"; }
.work-type { margin-top: 52px; color: #5e695f; font-size: 11px; text-transform: uppercase; letter-spacing: .12em; }
.work-card:hover .work-type, .work-card:hover .work-number { color: var(--accent); }
.work-card h3 { margin: 26px 0 20px; font: 600 clamp(36px, 3.4vw, 58px)/.94 "Space Grotesk"; letter-spacing: -.055em; }
.work-card p { color: #5e695f; line-height: 1.65; }
.work-card:hover p { color: var(--muted); }
.work-footer { margin-top: auto; display: flex; justify-content: space-between; align-items: end; gap: 20px; padding-top: 24px; border-top: 1px solid currentColor; font-size: 11px; }
.work-footer span { max-width: 170px; }
.work-footer a { color: #3e6d00; font-weight: 700; }
.work-card:hover .work-footer a { color: var(--accent); }

.profile { position: relative; z-index: 2; width: var(--page); margin: 0 auto; padding: clamp(100px, 11vw, 180px) 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10vw; }
.profile-sticky { position: sticky; top: 120px; align-self: start; }
.profile h2 { margin: 30px 0; font: 600 clamp(52px, 5.6vw, 92px)/.94 "Space Grotesk"; letter-spacing: -.07em; }
.profile h2 em { color: var(--accent); font-style: normal; }
.profile-sticky > p { max-width: 570px; color: var(--muted); font-size: 18px; line-height: 1.7; }
.capability { display: grid; grid-template-columns: 46px 1fr; gap: 20px; padding: 42px 0; border-bottom: 1px solid var(--line); }
.capability:first-child { padding-top: 0; }
.capability > span { color: var(--accent); font: 700 11px "Space Grotesk"; }
.capability h3, .capability p { grid-column: 2; }
.capability h3 { margin: -3px 0 4px; font: 600 clamp(27px, 2.5vw, 40px)/1 "Space Grotesk"; letter-spacing: -.04em; }
.capability p { margin: 0; color: var(--muted); line-height: 1.65; }

.stack { position: relative; z-index: 2; padding: clamp(80px, 9vw, 140px) max(4vw, calc((100vw - var(--page)) / 2)); border-top: 1px solid var(--line); background: var(--panel); }
.stack-title { max-width: 1150px; font: 600 clamp(42px, 6vw, 96px)/.96 "Space Grotesk"; letter-spacing: -.065em; }
.stack-title span { color: var(--accent); }
.stack-rail { display: flex; flex-wrap: wrap; gap: 0; margin: 62px 0; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.stack-rail span { flex: 1 0 16.66%; min-width: 150px; padding: 20px 16px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); color: var(--muted); text-align: center; transition: color .3s, background .3s; }
.stack-rail span:hover { color: var(--black); background: var(--accent); }
.education-strip { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.education-strip > div { min-height: 220px; padding: 30px; display: flex; flex-direction: column; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.education-strip small { color: var(--accent); text-transform: uppercase; letter-spacing: .13em; }
.education-strip strong { margin: auto 0 12px; font: 600 clamp(28px, 3vw, 46px) "Space Grotesk"; }
.education-strip span { color: var(--muted); }

.contact { position: relative; z-index: 2; min-height: 92vh; padding: clamp(100px, 11vw, 180px) max(4vw, calc((100vw - var(--page)) / 2)); display: flex; flex-direction: column; justify-content: center; color: var(--black); background: var(--accent); overflow: hidden; }
.contact .section-label { color: #305300; }
.contact .section-label span { color: var(--black); }
.contact h2 { position: relative; z-index: 2; margin: 32px 0 26px; font: 600 clamp(64px, 9vw, 158px)/.82 "Space Grotesk"; letter-spacing: -.08em; }
.contact h2 span { color: transparent; -webkit-text-stroke: 1.5px var(--black); }
.contact > p { position: relative; z-index: 2; max-width: 650px; margin: 0 0 34px; font-size: 18px; }
.contact-actions { position: relative; z-index: 2; }
.button-dark { color: var(--ink); background: var(--black); }
.button-dark:hover { color: var(--black); background: transparent; border-color: var(--black); }
.button-outline-dark { border-color: rgba(5,8,6,.55); }
.button-outline-dark:hover { color: var(--ink); background: var(--black); }
.contact-orbit { position: absolute; right: -5vw; top: 8%; width: clamp(240px, 26vw, 430px); aspect-ratio: 1; border: 1px solid rgba(5,8,6,.32); border-radius: 50%; animation: rotate 18s linear infinite; }
.contact-orbit::before, .contact-orbit::after { content: ""; position: absolute; background: var(--black); }
.contact-orbit::before { width: 12px; height: 12px; top: -6px; left: 50%; }
.contact-orbit::after { width: 36%; height: 1px; top: 50%; left: 32%; opacity: .35; }
.contact-orbit span { position: absolute; left: 50%; top: 50%; width: 130%; transform: translate(-50%, -50%); font: 700 11px "Space Grotesk"; letter-spacing: .2em; text-align: center; }

footer { position: relative; z-index: 2; width: var(--page); margin: 0 auto; min-height: 130px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 30px; color: var(--muted); font-size: 12px; }
footer > div:first-child { display: flex; flex-direction: column; }
footer strong { color: var(--ink); }
.footer-links { display: flex; gap: 28px; }
footer > span { justify-self: end; }

.reveal { opacity: 0; transition: opacity .85s var(--ease), transform .85s var(--ease), clip-path 1s var(--ease); }
.reveal[data-reveal="up"] { transform: translate3d(0, 60px, 0); }
.reveal[data-reveal="left"] { transform: translate3d(-50px, 0, 0); }
.reveal[data-reveal="right"] { transform: translate3d(50px, 0, 0); }
.reveal[data-reveal="scale"] { transform: scale(.88); clip-path: inset(8% 8% 8% 8%); }
.reveal.visible { opacity: 1; transform: none; clip-path: inset(0 0 0 0); }
.hero-title .reveal:nth-child(2) { transition-delay: .08s; }
.hero-title .reveal:nth-child(3) { transition-delay: .16s; }

@keyframes pulse { 50% { box-shadow: 0 0 0 9px rgba(186,255,41,0); } }
@keyframes blink { 50% { opacity: .25; } }
@keyframes scroll-line { 0% { transform: scaleY(0); transform-origin: top; } 45% { transform: scaleY(1); transform-origin: top; } 55% { transform: scaleY(1); transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes rotate { to { transform: rotate(360deg); } }
@keyframes panel-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@keyframes section-sweep { 0% { opacity: 0; transform: translate3d(-110%, 0, 0) rotate(-3deg); } 18% { opacity: 1; } 52% { opacity: 1; transform: translate3d(0, 0, 0) rotate(-3deg); } 100% { opacity: 0; transform: translate3d(110%, 0, 0) rotate(-3deg); } }

@media (max-width: 1120px) {
  .product { grid-template-columns: 1fr 1fr; }
  .product-copy { padding-left: 5vw; }
  .product-visual { min-height: 660px; }
  .phone { width: 48%; }
  .work-card { min-height: 480px; }
  .work-footer { flex-direction: column; align-items: start; }
}

@media (max-width: 900px) {
  :root { --page: calc(100vw - 48px); }
  .topbar { grid-template-columns: 1fr auto; }
  .topbar nav { display: none; }
  .hero { padding-top: 116px; }
  .title-line { font-size: clamp(52px, 12.3vw, 106px); }
  .title-line:nth-child(2) { margin-left: 7vw; }
  .hero-bottom { grid-template-columns: 1fr .7fr; gap: 5vw; }
  .product { grid-template-columns: 1fr; }
  .product-copy { padding: 110px 7vw; }
  .product-visual { position: relative; height: 86vh; min-height: 700px; }
  .metrics { grid-template-columns: 1fr 1fr; }
  .metric:nth-child(2) { border-right: 0; }
  .metric:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .work-list { grid-template-columns: 1fr; }
  .work-card { min-height: 390px; }
  .profile { grid-template-columns: 1fr; }
  .profile-sticky { position: relative; top: auto; }
  .capabilities { margin-left: 10vw; }
  .education-strip { grid-template-columns: 1fr; }
  .fixed-word { right: 0; }
  .reveal[data-reveal="left"], .reveal[data-reveal="right"] { transform: translate3d(0, 52px, 0); }
  .reveal.visible { transform: none; }
  .chapter-rail { right: 12px; }
  .chapter-readout { display: none; }
}

@media (max-width: 640px) {
  :root { --page: calc(100vw - 32px); }
  .topbar { min-height: 64px; }
  .brand { font-size: 12px; }
  .brand-signal { width: 7px; height: 7px; }
  .nav-contact { padding: 8px 11px; font-size: 11px; }
  .hero { min-height: auto; padding: 102px 0 68px; }
  .hero-status { flex-wrap: wrap; gap: 8px; margin-bottom: 34px; font-size: 9px; }
  .status-place { width: 100%; margin-left: 20px; }
  .title-line { font-size: 13vw; line-height: .89; }
  .title-line:nth-child(2) { margin-left: 0; }
  .title-line:nth-child(3) { align-self: start; font-size: 11.7vw; }
  .hero-bottom { grid-template-columns: 1fr; margin-top: 42px; }
  .hero-intro p { font-size: 16px; }
  .hero-actions .button { flex: 1 1 150px; }
  .portrait-stage { justify-self: stretch; width: 100%; max-height: 440px; margin-top: 18px; }
  .scroll-cue { display: none; }
  .marquee { padding: 13px 0; }
  .marquee-track { font-size: 12px; gap: 20px; }
  .product-copy { padding: 82px 20px; }
  .oc-heading { gap: 16px; margin-block: 30px; }
  .oc-heading img { width: 64px; }
  .oc-heading h2 { font-size: 54px; }
  .product-lead { font-size: 16px; }
  .product-tabs { margin-top: 34px; }
  .tab { font-size: 10px; }
  .product-visual { height: 680px; min-height: 0; }
  .phone { width: 53%; padding: 6px; border-radius: 26px; box-shadow: 14px 16px 0 rgba(5,8,6,.14); }
  .phone img { border-radius: 20px; }
  .phone-speaker { top: 12px; height: 13px; }
  .phone-one { left: 4%; top: 23%; }
  .phone-two { right: 1%; top: 8%; }
  .visual-badge { padding: 10px 11px; }
  .visual-badge strong { font-size: 21px; }
  .badge-users { left: 3%; bottom: 8%; }
  .badge-live { right: 3%; bottom: 3%; }
  .metrics { grid-template-columns: 1fr 1fr; }
  .metric { min-height: 170px; padding: 28px 18px; }
  .metric strong { font-size: 58px; }
  .selected-work { padding: 86px 16px; }
  .work-head h2 { font-size: 48px; }
  .work-head > p { margin: 5px 0 38px; font-size: 34px; }
  .work-card { min-height: 410px; padding: 24px; }
  .profile { padding: 90px 0; }
  .profile h2 { font-size: 48px; }
  .capabilities { margin-left: 0; }
  .capability { grid-template-columns: 32px 1fr; gap: 10px; }
  .stack { padding: 82px 16px; }
  .stack-title { font-size: 42px; }
  .stack-rail { margin: 42px 0; }
  .stack-rail span { flex-basis: 50%; min-width: 0; font-size: 13px; }
  .education-strip > div { min-height: 200px; padding: 24px; }
  .contact { min-height: 760px; padding: 90px 16px; }
  .contact h2 { font-size: 60px; }
  .contact > p { font-size: 16px; }
  .contact-actions .button { width: 100%; }
  .contact-orbit { top: 5%; right: -24%; }
  footer { grid-template-columns: 1fr; padding: 34px 0; }
  footer > span { justify-self: start; }
  .footer-links { flex-wrap: wrap; }
  .fixed-word { display: none; }
  .depth-line, .chapter-rail { display: none; }
  .section-sweep { top: 46%; height: 88px; }
  .reveal[data-reveal="left"], .reveal[data-reveal="right"] { transform: translate3d(0, 44px, 0); }
  .reveal.visible { transform: none; }
}

@media (hover: none), (pointer: coarse) {
  .cursor, .cursor-dot { display: none; }
  body.cursor-ready, body.cursor-ready a, body.cursor-ready button { cursor: auto; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; clip-path: none; transition: none; }
  .fixed-word, .phone { transform: none !important; }
  .depth-line, .section-sweep, .chapter-rail { display: none !important; }
  .work-card { translate: none !important; }
}
