:root {
  --bg: #f7f8fb;
  --bg-rgb: 247, 248, 251;
  --surface: #ffffff;
  --surface-2: #f0f2f6;
  --surface-3: #e7eaf0;
  --text: #101114;
  --text-soft: #50545d;
  --text-faint: #7e838d;
  --line: rgba(16, 17, 20, 0.1);
  --line-strong: rgba(16, 17, 20, 0.18);
  --accent: #315efb;
  --accent-2: #6a8cff;
  --accent-soft: rgba(49, 94, 251, 0.08);
  --accent-glow: rgba(49, 94, 251, 0.22);
  --positive: #0a9b69;
  --shadow-sm: 0 10px 30px rgba(27, 32, 43, 0.08);
  --shadow-md: 0 24px 80px rgba(27, 32, 43, 0.12);
  --shadow-lg: 0 45px 120px rgba(27, 32, 43, 0.16);
  --radius-sm: 14px;
  --radius: 24px;
  --radius-lg: 36px;
  --container: 1240px;
  --ease: cubic-bezier(.2,.75,.22,1);
  --ease-spring: cubic-bezier(.2,1.2,.35,1);
  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-mono: "DM Mono", "SFMono-Regular", Consolas, monospace;
  color-scheme: light;
}

html[data-theme="dark"] {
  --bg: #101114;
  --bg-rgb: 16, 17, 20;
  --surface: #17191e;
  --surface-2: #1d2026;
  --surface-3: #252932;
  --text: #f3f4f7;
  --text-soft: #afb4bf;
  --text-faint: #7f8590;
  --line: rgba(255, 255, 255, 0.09);
  --line-strong: rgba(255, 255, 255, 0.17);
  --accent: #7c9cff;
  --accent-2: #9eb5ff;
  --accent-soft: rgba(124, 156, 255, 0.1);
  --accent-glow: rgba(124, 156, 255, 0.18);
  --positive: #65d6aa;
  --shadow-sm: 0 10px 35px rgba(0,0,0,.24);
  --shadow-md: 0 26px 90px rgba(0,0,0,.34);
  --shadow-lg: 0 50px 140px rgba(0,0,0,.42);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; }
body { margin: 0; min-width: 320px; overflow-x: hidden; background: var(--bg); color: var(--text); font-family: var(--font-sans); line-height: 1.6; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; transition: background-color .45s var(--ease), color .45s var(--ease); }
body.menu-open { overflow: hidden; }
::selection { background: var(--accent); color: #fff; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
button { color: inherit; }
img { display: block; max-width: 100%; }
svg { display: block; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; border-radius: 6px; }
.skip-link { position: fixed; z-index: 9999; top: 12px; left: 12px; transform: translateY(-160%); padding: 10px 14px; border-radius: 10px; background: var(--text); color: var(--bg); font-weight: 700; transition: transform .2s ease; }
.skip-link:focus { transform: translateY(0); }

.container { width: min(calc(100% - 48px), var(--container)); margin-inline: auto; }
.section { position: relative; padding: 150px 0; }
.section-soft { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-kicker { display: flex; align-items: center; gap: 12px; margin-bottom: 38px; font-family: var(--font-mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--text-faint); }
.section-kicker span { display: grid; place-items: center; width: 34px; height: 24px; border: 1px solid var(--line); border-radius: 999px; color: var(--accent); background: var(--surface); }
.section-header { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(280px, .7fr); align-items: end; gap: 72px; margin-bottom: 78px; }
.section-header h2, .about-heading h2, .proof-heading h2, .testimonial-top h2, .contact-copy h2 { margin: 0; font-size: clamp(44px, 6vw, 82px); line-height: .98; letter-spacing: -.06em; font-weight: 650; }
.section-header p, .proof-heading > p { max-width: 480px; margin: 0 0 6px; color: var(--text-soft); font-size: 16px; }
.section-header .section-kicker, .testimonial-top .section-kicker, .contact-copy .section-kicker { margin-bottom: 26px; }

.scroll-progress { position: fixed; top: 0; left: 0; z-index: 1000; width: 100%; height: 2px; pointer-events: none; }
.scroll-progress span { display: block; width: 0; height: 100%; background: var(--accent); box-shadow: 0 0 12px var(--accent-glow); }

.site-header { position: fixed; z-index: 900; top: 18px; left: 50%; width: min(calc(100% - 36px), 1280px); transform: translateX(-50%); transition: top .35s var(--ease), width .35s var(--ease); }
.nav-shell { height: 68px; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 0 12px 0 22px; border: 1px solid transparent; border-radius: 999px; transition: height .35s var(--ease), background .35s var(--ease), border-color .35s var(--ease), box-shadow .35s var(--ease), backdrop-filter .35s var(--ease); }
.site-header.is-scrolled { top: 10px; width: min(calc(100% - 28px), 1120px); }
.site-header.is-scrolled .nav-shell { height: 58px; border-color: var(--line); background: rgba(var(--bg-rgb), .82); backdrop-filter: blur(24px) saturate(150%); box-shadow: var(--shadow-sm); }
.brand { display: inline-flex; align-items: center; gap: 10px; flex: 0 0 auto; }
.brand-name { font-size: 16px; font-weight: 800; letter-spacing: -.04em; }
.brand-name span { color: var(--accent); }
.brand-mark { position: relative; display: block; width: 22px; height: 22px; transform: rotate(-8deg); }
.brand-mark i { position: absolute; border: 1.5px solid var(--text); border-radius: 50%; inset: 5px 0; }
.brand-mark i:nth-child(2) { inset: 0 6px; transform: rotate(60deg); }
.brand-mark i:nth-child(3) { inset: 0 6px; transform: rotate(-60deg); }
.nav-links { display: flex; align-items: center; gap: 30px; }
.nav-links a { position: relative; padding: 10px 0; font-size: 13px; font-weight: 600; color: var(--text-soft); transition: color .25s ease; }
.nav-links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 5px; height: 1px; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease); }
.nav-links a:hover, .nav-links a.is-active { color: var(--text); }
.nav-links a:hover::after, .nav-links a.is-active::after { transform: scaleX(1); }
.nav-actions { display: flex; align-items: center; gap: 8px; }
.theme-toggle, .menu-toggle, .round-button { appearance: none; border: 1px solid var(--line); background: var(--surface); }
.theme-toggle { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 50%; cursor: pointer; transition: background .25s ease, border-color .25s ease, transform .25s var(--ease); }
.theme-toggle:hover { border-color: var(--line-strong); transform: translateY(-1px); }
.theme-toggle svg { position: absolute; width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; transition: opacity .25s ease, transform .35s var(--ease); }
.theme-toggle .moon { opacity: 0; transform: scale(.6) rotate(-25deg); }
html[data-theme="dark"] .theme-toggle .sun { opacity: 0; transform: scale(.6) rotate(25deg); }
html[data-theme="dark"] .theme-toggle .moon { opacity: 1; transform: scale(1) rotate(0); }
.nav-cta { display: inline-flex; align-items: center; gap: 11px; min-height: 42px; padding: 0 18px; border-radius: 999px; background: var(--text); color: var(--bg); font-size: 13px; font-weight: 700; transition: box-shadow .25s ease, background .25s ease; }
.nav-cta:hover { box-shadow: 0 10px 26px rgba(0,0,0,.12); }
.nav-cta span { font-size: 14px; }
.menu-toggle { display: none; width: 42px; height: 42px; border-radius: 50%; cursor: pointer; position: relative; }
.menu-toggle span { position: absolute; left: 13px; width: 16px; height: 1.5px; background: var(--text); transition: transform .3s var(--ease), top .3s var(--ease); }
.menu-toggle span:first-child { top: 16px; }
.menu-toggle span:last-child { top: 24px; }
.menu-toggle[aria-expanded="true"] span:first-child { top: 20px; transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:last-child { top: 20px; transform: rotate(-45deg); }

.hero { position: relative; min-height: 100svh; display: grid; align-items: center; overflow: hidden; padding: 128px 0 82px; border-bottom: 1px solid var(--line); }
.hero-grid, .statement-grid { position: absolute; inset: 0; pointer-events: none; background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px); background-size: 80px 80px; mask-image: linear-gradient(to bottom, rgba(0,0,0,.44), transparent 78%); opacity: .42; }
.hero::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(circle at 76% 48%, var(--accent-soft), transparent 34%), linear-gradient(to bottom, transparent 60%, var(--bg) 100%); }
.ambient { position: absolute; border-radius: 50%; filter: blur(3px); pointer-events: none; will-change: transform; }
.ambient-a { width: 420px; height: 420px; left: -260px; top: 20%; background: radial-gradient(circle at 50% 50%, var(--accent-soft), transparent 68%); }
.ambient-b { width: 520px; height: 520px; right: -220px; bottom: -180px; background: radial-gradient(circle at 50% 50%, rgba(127, 164, 255, .14), transparent 68%); }
.hero-layout { position: relative; z-index: 2; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(420px, .95fr); align-items: center; gap: clamp(46px, 6vw, 96px); }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 26px; font-family: var(--font-mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--text-faint); }
.eyebrow::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--positive); box-shadow: 0 0 0 5px color-mix(in srgb, var(--positive) 12%, transparent); }
.hero-title { margin: 0; font-size: clamp(55px, 6.6vw, 96px); line-height: .94; letter-spacing: -.075em; font-weight: 650; }
.hero-title span { display: block; color: var(--text); }
.hero-title em { display: block; margin-top: 12px; font-style: normal; color: var(--text-soft); font-weight: 500; }
.hero-intro { max-width: 675px; margin: 34px 0 0; font-size: clamp(17px, 1.55vw, 21px); line-height: 1.65; letter-spacing: -.02em; color: var(--text-soft); }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 38px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 16px; min-height: 54px; padding: 0 22px; border-radius: 999px; border: 1px solid var(--line); font-size: 14px; font-weight: 700; cursor: pointer; transition: transform .3s var(--ease), box-shadow .3s var(--ease), background .3s ease, border-color .3s ease, color .3s ease; }
.button span { font-size: 17px; transition: transform .3s var(--ease); }
.button:hover span { transform: translate(2px, -2px); }
.button-primary { background: var(--text); color: var(--bg); border-color: var(--text); }
.button-primary:hover { box-shadow: var(--shadow-sm); }
.button-secondary { background: rgba(var(--bg-rgb), .55); backdrop-filter: blur(10px); color: var(--text); }
.button-secondary:hover { background: var(--surface); border-color: var(--line-strong); }
.hero-proof { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; max-width: 700px; margin-top: 56px; padding-top: 22px; border-top: 1px solid var(--line); }
.hero-proof div { padding-right: 22px; }
.hero-proof strong { display: block; font-size: 24px; letter-spacing: -.05em; line-height: 1; }
.hero-proof span { display: block; margin-top: 8px; font-family: var(--font-mono); font-size: 10px; text-transform: uppercase; letter-spacing: .06em; color: var(--text-faint); }

.hero-visual { position: relative; min-height: 590px; display: flex; flex-direction: column; justify-content: center; }
.visual-stage { position: relative; width: 100%; aspect-ratio: 1 / 1.02; perspective: 1200px; transform-style: preserve-3d; --hero-rx: 0deg; --hero-ry: 0deg; --hero-scroll-y: 0px; }
.orbit-system { position: absolute; z-index: 3; width: 60%; aspect-ratio: 1; left: 50%; top: calc(50% + var(--hero-scroll-y)); transform-style: preserve-3d; transform: translate(-50%, -50%) rotateX(var(--hero-rx)) rotateY(var(--hero-ry)); transition: transform .14s linear, top .14s linear; will-change: transform, top; }
.orbit { position: absolute; inset: 9%; border-radius: 50%; border: 1px solid var(--line-strong); box-shadow: inset 0 0 50px rgba(49,94,251,.04); transform-style: preserve-3d; }
.orbit-one { transform: rotateX(58deg) rotateY(4deg); }
.orbit-two { inset: 20%; transform: rotateY(72deg) rotateX(8deg); border-color: color-mix(in srgb, var(--accent) 40%, var(--line)); }
.orbit-three { inset: 33%; transform: rotateX(20deg) rotateY(65deg); border-color: color-mix(in srgb, var(--accent) 28%, var(--line)); }
.core-sphere { position: absolute; inset: 31%; display: grid; place-items: center; border-radius: 50%; background: radial-gradient(circle at 33% 25%, #fff 0, color-mix(in srgb, var(--accent) 28%, #dfe5f6) 19%, color-mix(in srgb, var(--surface-3) 72%, var(--text)) 58%, #101218 100%); box-shadow: -28px 30px 48px rgba(26,31,44,.26), inset -18px -24px 34px rgba(0,0,0,.28), inset 12px 12px 25px rgba(255,255,255,.62), 0 0 70px var(--accent-glow); transform: translateZ(28px); overflow: hidden; }
html[data-theme="dark"] .core-sphere { background: radial-gradient(circle at 33% 25%, #9fb5ff 0, #5d73b3 18%, #323948 52%, #07080a 100%); }
.sphere-glint { position: absolute; width: 32%; height: 22%; left: 24%; top: 17%; border-radius: 50%; background: rgba(255,255,255,.5); filter: blur(11px); transform: rotate(-22deg); }
.sphere-label { position: relative; z-index: 2; text-align: center; font-family: var(--font-mono); font-size: clamp(7px, .8vw, 10px); line-height: 1.7; letter-spacing: .09em; color: rgba(255,255,255,.78); text-shadow: 0 1px 8px rgba(0,0,0,.35); }
.sphere-label b { color: #fff; font-weight: 500; }
.orbit-node { position: absolute; width: 14px; height: 14px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 6px var(--accent-soft), 0 0 26px var(--accent-glow); }
.node-a { top: 12%; left: 49%; transform: translateZ(32px); }
.node-b { left: 10%; bottom: 35%; transform: translateZ(18px); }
.node-c { right: 5%; bottom: 26%; transform: translateZ(44px); }
.visual-shadow { position: absolute; left: 25%; right: 15%; bottom: 16%; height: 16%; border-radius: 50%; background: rgba(25,30,42,.18); filter: blur(38px); transform: rotate(-7deg); }
.floating-card { position: absolute; z-index: 5; min-width: 190px; border: 1px solid var(--line); background: color-mix(in srgb, var(--surface) 84%, transparent); box-shadow: var(--shadow-md); backdrop-filter: blur(18px) saturate(150%); border-radius: 18px; padding: 16px; transform-style: preserve-3d; will-change: transform; transition: transform .18s linear, background .35s ease, border-color .35s ease; }
.floating-card::before { content: ""; position: absolute; inset: 0; border-radius: inherit; background: linear-gradient(135deg, rgba(255,255,255,.16), transparent 45%); pointer-events: none; }
.mini-label { display: block; margin-bottom: 9px; font-family: var(--font-mono); font-size: 9px; letter-spacing: .08em; text-transform: uppercase; color: var(--text-faint); }
.floating-card strong { display: block; font-size: 12px; letter-spacing: -.01em; }
.card-query { left: 1%; top: 9%; transform: translate3d(0, 0, 72px); }
.card-index { right: -2%; top: 27%; transform: translate3d(0, 0, 52px); }
.card-result { left: 5%; bottom: 12%; max-width: 200px; transform: translate3d(0, 0, 92px); }
.query-line { display: flex; gap: 5px; margin-top: 13px; }
.query-line i { height: 3px; border-radius: 3px; background: var(--surface-3); }
.query-line i:nth-child(1) { width: 54%; background: var(--accent); }
.query-line i:nth-child(2) { width: 25%; }
.query-line i:nth-child(3) { width: 12%; }
.index-row { display: grid; grid-template-columns: 6px 1fr auto; align-items: center; gap: 8px; margin-top: 7px; font-size: 10px; color: var(--text-soft); }
.index-row i { width: 6px; height: 6px; border-radius: 50%; background: var(--positive); }
.index-row b { color: var(--positive); }
.visual-caption { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 10px; font-family: var(--font-mono); font-size: 10px; letter-spacing: .06em; text-transform: uppercase; color: var(--text-faint); }
.status-dot, .availability i { width: 7px; height: 7px; border-radius: 50%; background: var(--positive); box-shadow: 0 0 0 4px color-mix(in srgb, var(--positive) 13%, transparent); }
.scroll-cue { position: absolute; z-index: 5; bottom: 27px; left: 50%; display: flex; align-items: center; gap: 12px; transform: translateX(-50%); font-family: var(--font-mono); font-size: 10px; letter-spacing: .08em; text-transform: uppercase; color: var(--text-faint); }
.scroll-cue i { width: 26px; height: 40px; border: 1px solid var(--line-strong); border-radius: 999px; position: relative; }
.scroll-cue i::after { content: ""; position: absolute; width: 3px; height: 8px; top: 7px; left: 50%; border-radius: 999px; background: var(--text-faint); transform: translateX(-50%); animation: scrollCue 2s var(--ease) infinite; }
@keyframes scrollCue { 0% { opacity: 0; transform: translate(-50%, 0); } 30% { opacity: 1; } 80%, 100% { opacity: 0; transform: translate(-50%, 15px); } }

.about-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(420px, .85fr); gap: clamp(70px, 10vw, 160px); align-items: start; }
.about-heading h2 span { color: var(--text-soft); font-weight: 500; }
.about-copy { padding-top: 8px; }
.about-copy p { margin: 0 0 20px; color: var(--text-soft); font-size: 16px; }
.about-copy .lead-copy { color: var(--text); font-size: clamp(20px, 2.3vw, 28px); line-height: 1.45; letter-spacing: -.03em; }
.text-links { display: flex; flex-wrap: wrap; gap: 20px; margin-top: 32px; }
.text-links a, .inline-arrow { display: inline-flex; align-items: center; gap: 10px; padding-bottom: 4px; border-bottom: 1px solid var(--line-strong); font-size: 13px; font-weight: 700; }
.text-links a span, .inline-arrow span { color: var(--accent); }
.about-media { display: grid; grid-template-columns: 1.15fr .85fr; gap: 24px; margin-top: 96px; align-items: start; }
.portrait-frame { margin: 0; position: relative; padding: 16px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--surface); box-shadow: var(--shadow-sm); overflow: hidden; transform-style: preserve-3d; }
.portrait-depth { overflow: hidden; border-radius: calc(var(--radius-lg) - 12px); height: min(58vw, 620px); will-change: transform; }
.portrait-frame img { width: 100%; height: 100%; object-fit: cover; object-position: center 18%; filter: grayscale(100%); transition: filter .5s var(--ease), transform .7s var(--ease); }
.portrait-frame:hover img { filter: grayscale(15%); transform: scale(1.018); }
.portrait-frame figcaption { display: flex; justify-content: space-between; gap: 24px; padding: 15px 4px 2px; font-family: var(--font-mono); font-size: 9px; text-transform: uppercase; letter-spacing: .07em; color: var(--text-faint); }
.about-depth { position: relative; display: flex; flex-direction: column; justify-content: flex-end; min-height: 460px; padding: 34px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: linear-gradient(160deg, var(--surface), var(--surface-2)); overflow: hidden; opacity: 1; transform: none; }
.about-depth::before { content: ""; position: absolute; width: 300px; height: 300px; right: -110px; top: -80px; border-radius: 50%; background: radial-gradient(circle, var(--accent-soft), transparent 70%); }
.depth-stack { position: absolute; top: 54px; left: 50%; width: 250px; height: 230px; --depth-y: 0px; transform: translateX(-50%) translateY(var(--depth-y)); transform-style: preserve-3d; perspective: 1100px; touch-action: pan-y; user-select: none; -webkit-user-select: none; outline: none; will-change: transform; }
.depth-stack::after { content: ""; position: absolute; left: 12%; right: 12%; bottom: -28px; height: 34px; border-radius: 50%; background: radial-gradient(ellipse, rgba(21,27,40,.16), transparent 68%); filter: blur(8px); opacity: .48; pointer-events: none; }
.depth-stack:focus-visible { outline: 2px solid var(--accent); outline-offset: 12px; border-radius: 30px; }
.plane { position: absolute; inset: 0; display: grid; place-items: center; border: 1px solid var(--line-strong); border-radius: 28px; background: color-mix(in srgb, var(--surface) 94%, transparent); backdrop-filter: blur(14px); box-shadow: 0 18px 48px rgba(21,27,40,.10), 0 2px 0 rgba(255,255,255,.55) inset; transform-origin: 50% 92%; transition: transform .42s var(--ease), opacity .28s ease, box-shadow .32s ease, border-color .32s ease; will-change: transform, opacity; pointer-events: none; }
.plane::before { content: ""; position: absolute; inset: 13px; border: 1px solid color-mix(in srgb, var(--line) 72%, transparent); border-radius: 20px; pointer-events: none; }
.plane b { position: relative; z-index: 1; font-family: var(--font-mono); font-size: 10px; letter-spacing: .05em; text-transform: uppercase; color: var(--text-faint); }
.plane small { position: absolute; top: 24px; right: 26px; z-index: 1; font-family: var(--font-mono); font-size: 9px; letter-spacing: .06em; color: var(--text-faint); }
.plane.is-active { border-color: color-mix(in srgb, var(--accent) 52%, var(--line)); box-shadow: 0 24px 62px rgba(21,27,40,.14), 0 2px 0 rgba(255,255,255,.7) inset; pointer-events: auto; }
.depth-stack.is-dragging .plane { transition: none; }
.depth-stack.is-dragging .plane.is-active { box-shadow: 0 34px 78px rgba(21,27,40,.18), 0 2px 0 rgba(255,255,255,.7) inset; }
.stack-instruction { position: absolute; z-index: 3; top: 310px; left: 34px; right: 34px; display: flex; justify-content: space-between; align-items: center; gap: 16px; font-family: var(--font-mono); font-size: 9px; letter-spacing: .07em; text-transform: uppercase; color: var(--text-faint); }
.stack-instruction span:first-child::before { content: "↔"; margin-right: 8px; color: var(--accent); }
.about-depth p { position: relative; z-index: 2; margin: 0; font-size: 15px; color: var(--text-faint); }
.about-depth p strong { color: var(--text); font-weight: 650; }
.stat-line { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 28px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.stat-line div { min-height: 170px; padding: 26px 24px 24px 0; border-right: 1px solid var(--line); }
.stat-line div:not(:first-child) { padding-left: 24px; }
.stat-line div:last-child { border-right: 0; }
.stat-line span { font-family: var(--font-mono); font-size: 9px; color: var(--accent); }
.stat-line strong { display: block; margin-top: 26px; font-size: 28px; letter-spacing: -.05em; }
.stat-line p { margin: 8px 0 0; color: var(--text-faint); font-size: 12px; }

.timeline { position: relative; }
.timeline-line { position: absolute; left: 123px; top: 0; bottom: 0; width: 1px; background: var(--line); }
.timeline-line span { display: block; width: 100%; height: var(--timeline-progress, 0%); background: var(--accent); box-shadow: 0 0 12px var(--accent-glow); transition: height .2s linear; }
.timeline-item { position: relative; display: grid; grid-template-columns: 90px minmax(0, 1fr) 220px; gap: 66px; align-items: start; padding: 38px 0 78px; border-top: 1px solid var(--line); }
.timeline-item:last-child { padding-bottom: 20px; }
.timeline-meta { position: relative; padding-top: 6px; font-family: var(--font-mono); font-size: 10px; letter-spacing: .06em; text-transform: uppercase; color: var(--text-faint); }
.timeline-meta i { position: absolute; z-index: 2; top: 7px; right: -38px; width: 11px; height: 11px; border-radius: 50%; border: 2px solid var(--surface); background: var(--surface-3); box-shadow: 0 0 0 1px var(--line-strong); transition: background .35s ease, box-shadow .35s ease, transform .35s var(--ease-spring); }
.timeline-item.is-current .timeline-meta i { background: var(--accent); box-shadow: 0 0 0 5px var(--accent-soft), 0 0 18px var(--accent-glow); transform: scale(1.08); }
.role-type { margin: 0 0 10px; font-family: var(--font-mono); font-size: 10px; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); }
.timeline-content h3 { margin: 0; font-size: clamp(25px, 3vw, 42px); letter-spacing: -.045em; line-height: 1.08; font-weight: 600; }
.timeline-content > p:not(.role-type) { max-width: 700px; margin: 20px 0 0; color: var(--text-soft); }
.achievement-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; list-style: none; margin: 28px 0 0; padding: 0; }
.achievement-list li { position: relative; padding: 14px 14px 14px 28px; border-top: 1px solid var(--line); color: var(--text-faint); font-size: 11px; line-height: 1.5; }
.achievement-list li::before { content: ""; position: absolute; left: 9px; top: 19px; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.timeline-visual { min-height: 152px; display: flex; flex-direction: column; justify-content: space-between; padding: 18px; border: 1px solid var(--line); border-radius: 20px; background: linear-gradient(145deg, var(--surface), var(--surface-2)); transform: translateY(10px) rotate(1deg); transition: transform .5s var(--ease), border-color .35s ease; }
.timeline-item.is-current .timeline-visual { transform: translateY(0) rotate(-1deg); border-color: color-mix(in srgb, var(--accent) 36%, var(--line)); }
.timeline-visual span { font-family: var(--font-mono); font-size: 10px; color: var(--text-faint); }
.timeline-visual b { font-size: 22px; line-height: 1.05; letter-spacing: -.045em; font-weight: 600; }

.case-studies { display: grid; gap: 34px; }
.case-study { display: grid; grid-template-columns: minmax(390px, .82fr) minmax(0, 1.18fr); gap: clamp(42px, 6vw, 90px); align-items: center; min-height: 720px; padding: 54px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--surface); overflow: hidden; box-shadow: 0 1px 0 rgba(255,255,255,.6) inset; }
.case-reverse .case-copy { order: 2; }
.case-reverse .case-visual { order: 1; }
.case-number { margin: 0 0 22px; font-family: var(--font-mono); font-size: 10px; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); }
.case-copy h3 { margin: 0; font-size: clamp(36px, 4.4vw, 61px); line-height: 1; letter-spacing: -.06em; font-weight: 600; }
.case-summary { margin: 24px 0 0; color: var(--text-soft); font-size: 16px; }
.case-details { margin: 34px 0 0; }
.case-details div { display: grid; grid-template-columns: 82px 1fr; gap: 18px; padding: 15px 0; border-top: 1px solid var(--line); }
.case-details div:last-child { border-bottom: 1px solid var(--line); }
.case-details dt { font-family: var(--font-mono); font-size: 9px; letter-spacing: .06em; text-transform: uppercase; color: var(--text-faint); }
.case-details dd { margin: 0; color: var(--text-soft); font-size: 12px; line-height: 1.55; }
.tag-row { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 24px; }
.tag-row span { padding: 7px 10px; border: 1px solid var(--line); border-radius: 999px; background: var(--bg); font-family: var(--font-mono); font-size: 8px; letter-spacing: .04em; text-transform: uppercase; color: var(--text-faint); }
.case-link { display: inline-flex; align-items: center; gap: 10px; margin-top: 30px; font-size: 13px; font-weight: 700; }
.case-link span { color: var(--accent); }
.case-visual { position: relative; min-height: 550px; border: 1px solid var(--line); border-radius: 28px; background: var(--surface-2); overflow: hidden; transform-style: preserve-3d; box-shadow: var(--shadow-sm); }
.browser-chrome { height: 48px; display: flex; align-items: center; gap: 6px; padding: 0 15px; border-bottom: 1px solid var(--line); background: color-mix(in srgb, var(--surface) 72%, transparent); font-family: var(--font-mono); font-size: 9px; color: var(--text-faint); }
.browser-chrome i { width: 7px; height: 7px; border-radius: 50%; background: var(--surface-3); }
.browser-chrome span { margin-left: auto; }
.visual-meta { position: absolute; bottom: 0; left: 0; right: 0; display: flex; justify-content: space-between; padding: 17px 19px; border-top: 1px solid var(--line); background: color-mix(in srgb, var(--surface) 78%, transparent); backdrop-filter: blur(14px); font-family: var(--font-mono); font-size: 8px; letter-spacing: .04em; text-transform: uppercase; color: var(--text-faint); }
.knowledge-canvas { position: absolute; inset: 49px 0 46px; background: radial-gradient(circle at 50% 45%, var(--accent-soft), transparent 42%), linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px); background-size: auto, 46px 46px, 46px 46px; will-change: transform; }
.knowledge-canvas svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.knowledge-canvas path { fill: none; stroke: var(--line-strong); stroke-width: 1.2; stroke-dasharray: 4 7; }
.k-node { position: absolute; z-index: 2; display: grid; place-items: center; height: 38px; min-width: 82px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); box-shadow: var(--shadow-sm); font-family: var(--font-mono); font-size: 9px; color: var(--text-soft); }
.k-main { width: 110px; height: 110px; min-width: 0; left: 50%; top: 50%; transform: translate(-50%,-50%); border-radius: 50%; color: #fff; background: radial-gradient(circle at 35% 30%, var(--accent-2), var(--accent) 58%, #1a2e84); border: 0; box-shadow: 0 30px 70px var(--accent-glow); }
.k-a { left: 9%; top: 16%; }
.k-b { right: 8%; top: 14%; }
.k-c { left: 9%; bottom: 15%; }
.k-d { right: 8%; bottom: 14%; }
.code-window { position: absolute; inset: 88px 7% 92px; padding: 22px; border: 1px solid var(--line); border-radius: 18px; background: #111319; box-shadow: var(--shadow-lg); color: #f0f2f8; transform: rotateY(-6deg) rotateX(2deg); will-change: transform; }
.code-head { display: flex; align-items: center; justify-content: space-between; padding-bottom: 15px; border-bottom: 1px solid rgba(255,255,255,.08); font-family: var(--font-mono); font-size: 9px; color: #888f9f; }
.code-head b { color: #89d7b5; font-weight: 400; }
.code-window pre { margin: 28px 0; font: 500 clamp(12px, 1.4vw, 16px)/1.9 var(--font-mono); white-space: pre-wrap; }
.c-muted { color: #8c93a3; }
.c-accent { color: #9bb1ff; }
.quality-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.quality-grid span { display: flex; align-items: center; gap: 8px; min-height: 34px; padding: 0 10px; border: 1px solid rgba(255,255,255,.08); border-radius: 9px; font: 400 9px var(--font-mono); color: #b5bbca; }
.quality-grid i { width: 6px; height: 6px; border-radius: 50%; background: #62cc9e; }
.industry-scene { position: absolute; inset: 49px 0 46px; display: grid; place-items: center; background: radial-gradient(circle at 50% 49%, var(--accent-soft), transparent 38%), linear-gradient(135deg, transparent 49.8%, var(--line) 50%, transparent 50.2%); perspective: 900px; will-change: transform; }
.industry-core { position: relative; z-index: 3; width: 170px; height: 170px; display: grid; place-items: center; align-content: center; border-radius: 42px; background: var(--text); color: var(--bg); box-shadow: var(--shadow-lg); transform: rotateX(12deg) rotateY(-18deg) rotateZ(4deg); text-align: center; font: 400 10px/1.5 var(--font-mono); letter-spacing: .08em; }
.industry-core strong { font-size: 18px; letter-spacing: -.03em; }
.industry-orbit { position: absolute; width: 66%; aspect-ratio: 1; border: 1px solid var(--line-strong); border-radius: 50%; transform: rotateX(67deg) rotateZ(-18deg); box-shadow: 0 0 0 34px color-mix(in srgb, var(--accent) 3%, transparent), 0 0 0 68px color-mix(in srgb, var(--accent) 2%, transparent); }
.industry-chip { position: absolute; z-index: 4; padding: 9px 13px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); box-shadow: var(--shadow-sm); font: 500 9px var(--font-mono); color: var(--text-soft); }
.chip-one { top: 17%; left: 15%; }
.chip-two { top: 19%; right: 12%; }
.chip-three { left: 10%; bottom: 19%; }
.chip-four { right: 11%; bottom: 22%; }
.chip-five { right: 20%; top: 49%; }
.more-work { margin-top: 36px; border-top: 1px solid var(--line); }
.more-work a { display: grid; grid-template-columns: 190px 1fr auto; gap: 24px; align-items: center; min-height: 90px; border-bottom: 1px solid var(--line); transition: padding .3s var(--ease), color .3s ease; }
.more-work a:hover { padding-inline: 14px; color: var(--accent); }
.more-work span { font: 400 9px var(--font-mono); text-transform: uppercase; letter-spacing: .06em; color: var(--text-faint); }
.more-work b { font-size: 16px; font-weight: 600; }
.more-work i { font-style: normal; font-size: 18px; }

.service-grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.service-card { position: relative; min-height: 310px; display: flex; flex-direction: column; padding: 28px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--surface); overflow: hidden; transition: background .35s ease, transform .35s var(--ease); }
.service-card:hover { background: var(--bg); transform: translateY(-3px); }
.service-card::after { content: ""; position: absolute; width: 180px; height: 180px; right: -80px; top: -90px; border-radius: 50%; background: radial-gradient(circle, var(--accent-soft), transparent 70%); opacity: 0; transition: opacity .35s ease; }
.service-card:hover::after { opacity: 1; }
.service-index { font: 400 9px var(--font-mono); color: var(--text-faint); }
.service-card h3 { margin: auto 0 10px; font-size: 22px; letter-spacing: -.04em; }
.service-card p { min-height: 60px; margin: 0; color: var(--text-soft); font-size: 12px; }
.service-card small { display: block; margin-top: 20px; padding-top: 13px; border-top: 1px solid var(--line); font: 400 8px var(--font-mono); text-transform: uppercase; letter-spacing: .05em; color: var(--text-faint); }
.service-icon { position: relative; width: 72px; height: 72px; margin: 28px 0 15px; transform-style: preserve-3d; perspective: 400px; transition: transform .45s var(--ease); }
.service-card:hover .service-icon { transform: rotate(8deg) translateY(-4px); }
.icon-ring::before, .icon-ring::after { content: ""; position: absolute; inset: 12px; border-radius: 50%; border: 1px solid var(--line-strong); transform: rotateX(60deg); }
.icon-ring::after { transform: rotateY(60deg); border-color: var(--accent); }
.icon-plane::before, .icon-plane::after, .icon-stack::before, .icon-stack::after { content: ""; position: absolute; inset: 13px 8px; border: 1px solid var(--line-strong); border-radius: 10px; background: var(--surface-2); transform: skewY(-16deg); }
.icon-plane::after { transform: translate(11px, -9px) skewY(-16deg); border-color: var(--accent); background: var(--accent-soft); }
.icon-sphere::before { content: ""; position: absolute; inset: 10px; border-radius: 50%; background: radial-gradient(circle at 35% 28%, #fff, var(--accent-2) 26%, var(--accent) 58%, #1b2f84 100%); box-shadow: inset -8px -9px 16px rgba(0,0,0,.25), 0 13px 28px var(--accent-glow); }
.icon-stack::before { transform: translate(-7px, 7px) skewY(-15deg); }
.icon-stack::after { transform: translate(7px, -7px) skewY(-15deg); border-color: var(--accent); }
.icon-link::before, .icon-link::after { content: ""; position: absolute; width: 38px; height: 22px; border: 1.5px solid var(--line-strong); border-radius: 999px; top: 24px; }
.icon-link::before { left: 7px; transform: rotate(-28deg); }
.icon-link::after { right: 7px; transform: rotate(-28deg); border-color: var(--accent); }
.icon-chart::before { content: ""; position: absolute; left: 12px; right: 12px; bottom: 13px; height: 45px; background: linear-gradient(115deg, transparent 0 16%, var(--line-strong) 16.5% 18%, transparent 18.5% 36%, var(--accent) 36.5% 38%, transparent 38.5% 58%, var(--line-strong) 58.5% 60%, transparent 60.5%); clip-path: polygon(0 80%, 22% 58%, 42% 68%, 65% 25%, 100% 0, 100% 100%, 0 100%); }
.icon-pin::before { content: ""; position: absolute; width: 36px; height: 44px; left: 18px; top: 10px; border-radius: 50% 50% 50% 0; transform: rotate(-45deg); border: 1.5px solid var(--accent); }
.icon-pin::after { content: ""; position: absolute; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); left: 32px; top: 26px; }
.icon-cube::before, .icon-cube::after { content: ""; position: absolute; inset: 15px; border: 1px solid var(--line-strong); transform: rotateX(58deg) rotateZ(45deg); }
.icon-cube::after { transform: translateY(-11px) rotateX(58deg) rotateZ(45deg); border-color: var(--accent); }

.skills-layout { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(340px, .8fr); gap: 62px; align-items: start; }
.skill-group { display: grid; grid-template-columns: 118px 1fr; gap: 22px; padding: 18px 0; border-top: 1px solid var(--line); }
.skill-group:last-child { border-bottom: 1px solid var(--line); }
.skill-group-name { padding-top: 9px; font: 400 9px var(--font-mono); text-transform: uppercase; letter-spacing: .08em; color: var(--text-faint); }
.skill-list { display: flex; flex-wrap: wrap; gap: 8px; }
.skill-chip { appearance: none; border: 1px solid var(--line); background: var(--surface); color: var(--text-soft); min-height: 38px; padding: 0 14px; border-radius: 999px; cursor: pointer; font-size: 11px; font-weight: 600; transition: color .25s ease, border-color .25s ease, background .25s ease, transform .25s var(--ease); }
.skill-chip:hover, .skill-chip:focus-visible, .skill-chip.is-active { color: var(--text); border-color: color-mix(in srgb, var(--accent) 55%, var(--line)); background: var(--accent-soft); transform: translateY(-1px); }
.skill-detail { position: sticky; top: 98px; min-height: 390px; padding: 34px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: linear-gradient(150deg, var(--surface), var(--surface-2)); overflow: hidden; box-shadow: var(--shadow-sm); }
.skill-detail-label { display: block; font: 400 9px var(--font-mono); text-transform: uppercase; letter-spacing: .08em; color: var(--text-faint); }
.skill-detail h3 { margin: 80px 0 18px; font-size: 40px; letter-spacing: -.055em; line-height: 1; }
.skill-detail p { position: relative; z-index: 2; max-width: 430px; margin: 0; color: var(--text-soft); font-size: 13px; }
.skill-tools { position: relative; z-index: 2; margin-top: 34px; padding-top: 17px; border-top: 1px solid var(--line); }
.skill-tools span { display: block; margin-bottom: 8px; font: 400 8px var(--font-mono); text-transform: uppercase; letter-spacing: .07em; color: var(--text-faint); }
.skill-tools strong { font-size: 11px; font-weight: 600; }
.skill-depth { position: absolute; width: 220px; height: 180px; top: 35px; right: -82px; transform: rotateX(65deg) rotateZ(-30deg); transform-style: preserve-3d; }
.skill-depth i { position: absolute; inset: 0; border: 1px solid var(--line-strong); border-radius: 30px; background: color-mix(in srgb, var(--surface) 55%, transparent); }
.skill-depth i:nth-child(2) { transform: translateZ(34px); border-color: color-mix(in srgb, var(--accent) 26%, var(--line)); }
.skill-depth i:nth-child(3) { transform: translateZ(68px); border-color: color-mix(in srgb, var(--accent) 48%, var(--line)); }
.tool-rail { margin-top: 80px; display: grid; grid-template-columns: 210px 1fr; gap: 28px; align-items: center; padding: 28px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.tool-rail-label span { display: block; font: 400 9px var(--font-mono); text-transform: uppercase; letter-spacing: .07em; color: var(--text-faint); }
.tool-rail-label b { display: block; margin-top: 8px; font-size: 14px; }
.tool-marquee { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.tool-track { width: max-content; display: flex; gap: 10px; animation: tools 36s linear infinite; }
.tool-marquee:hover .tool-track, .tool-marquee:focus .tool-track { animation-play-state: paused; }
.tool-track span { display: inline-flex; align-items: center; gap: 9px; min-height: 40px; padding: 0 13px 0 7px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); font-size: 10px; font-weight: 600; color: var(--text-soft); }
.tool-track i { min-width: 27px; height: 27px; display: grid; place-items: center; border-radius: 50%; background: var(--surface-2); font: 500 8px var(--font-mono); color: var(--accent); }
@keyframes tools { to { transform: translateX(-50%); } }

.proof-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 88px; align-items: start; }
.proof-heading { position: sticky; top: 110px; }
.proof-heading > p { margin-top: 26px; }
.proof-cards { display: grid; gap: 14px; }
.proof-card { min-height: 235px; display: flex; flex-direction: column; justify-content: flex-end; padding: 30px; border: 1px solid var(--line); border-radius: 24px; background: var(--bg); }
.proof-card > span { margin-bottom: auto; font: 400 9px var(--font-mono); text-transform: uppercase; letter-spacing: .07em; color: var(--accent); }
.proof-card strong { font-size: 30px; line-height: 1.1; letter-spacing: -.045em; }
.proof-card p { max-width: 520px; margin: 15px 0 0; color: var(--text-soft); font-size: 12px; }

.testimonial-top { display: flex; justify-content: space-between; gap: 48px; align-items: end; margin-bottom: 66px; }
.testimonial-controls { display: flex; align-items: center; gap: 12px; }
.round-button { width: 44px; height: 44px; border-radius: 50%; cursor: pointer; transition: background .25s ease, transform .25s var(--ease); }
.round-button:hover { background: var(--surface-2); }
.testimonial-controls > span { min-width: 64px; text-align: center; font: 400 9px var(--font-mono); letter-spacing: .06em; color: var(--text-faint); }
.testimonial-stage { position: relative; min-height: 480px; padding: 78px 36% 58px 70px; border-radius: var(--radius-lg); border: 1px solid var(--line); background: var(--surface); overflow: hidden; }
.quote-mark { position: absolute; left: 58px; top: 30px; font-size: 90px; line-height: 1; color: var(--accent); opacity: .2; font-family: Georgia, serif; }
.testimonial-slide { margin: 0; animation: testimonialIn .55s var(--ease) both; }
.testimonial-slide blockquote { margin: 0; font-size: clamp(27px, 3.5vw, 47px); line-height: 1.22; letter-spacing: -.045em; font-weight: 520; }
.testimonial-slide figcaption { display: flex; flex-direction: column; gap: 4px; margin-top: 46px; }
.testimonial-slide figcaption strong { font-size: 13px; }
.testimonial-slide figcaption span { font: 400 9px var(--font-mono); text-transform: uppercase; letter-spacing: .06em; color: var(--text-faint); }
@keyframes testimonialIn { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: translateY(0); } }
.testimonial-art { position: absolute; right: -40px; bottom: -50px; width: 37%; aspect-ratio: 1; transform: rotateX(60deg) rotateZ(25deg); transform-style: preserve-3d; }
.testimonial-art i { position: absolute; inset: 0; border: 1px solid var(--line-strong); border-radius: 28%; background: color-mix(in srgb, var(--surface-2) 58%, transparent); }
.testimonial-art i:nth-child(2) { transform: translateZ(58px); border-color: color-mix(in srgb, var(--accent) 30%, var(--line)); }
.testimonial-art i:nth-child(3) { transform: translateZ(116px); border-color: var(--accent); box-shadow: 0 25px 70px var(--accent-glow); }

.statement { min-height: 100svh; display: grid; place-items: center; overflow: hidden; background: var(--text); color: var(--bg); }
.statement-grid { opacity: .08; background-image: linear-gradient(currentColor 1px, transparent 1px), linear-gradient(90deg, currentColor 1px, transparent 1px); }
.statement-inner { position: relative; z-index: 2; }
.statement-overline { margin: 0 0 42px; font: 400 10px var(--font-mono); text-transform: uppercase; letter-spacing: .12em; opacity: .5; }
.statement-copy { margin: 0; display: flex; flex-direction: column; align-items: flex-start; font-size: clamp(45px, 7.4vw, 110px); line-height: .94; letter-spacing: -.07em; font-weight: 500; }
.statement-copy span { opacity: .45; }
.statement-copy strong { font-weight: 600; color: color-mix(in srgb, var(--accent) 78%, white); }
.statement-copy > * { transition: transform .18s linear; will-change: transform; }
.statement-note { margin: 46px 0 0 auto; max-width: 440px; font-size: 14px; color: color-mix(in srgb, var(--bg) 65%, transparent); }

.writing-list { border-top: 1px solid var(--line); }
.writing-item { display: grid; grid-template-columns: 110px minmax(0, 1fr) minmax(230px, .55fr) auto; gap: 30px; align-items: center; min-height: 130px; border-bottom: 1px solid var(--line); transition: padding .35s var(--ease), background .35s ease; }
.writing-item:hover { padding-inline: 18px; background: var(--bg); }
.writing-item > span { font: 400 9px var(--font-mono); text-transform: uppercase; letter-spacing: .08em; color: var(--accent); }
.writing-item h3 { margin: 0; font-size: 19px; line-height: 1.25; letter-spacing: -.025em; }
.writing-item p { margin: 0; color: var(--text-faint); font-size: 11px; }
.writing-item i { font-style: normal; color: var(--accent); font-size: 18px; }

.contact { position: relative; overflow: hidden; }
.contact::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 70% 45%, var(--accent-soft), transparent 33%); pointer-events: none; }
.contact-orb { position: absolute; border-radius: 50%; border: 1px solid var(--line); pointer-events: none; will-change: transform; }
.contact-orb::before { content: ""; position: absolute; inset: 14%; border-radius: 50%; border: 1px solid color-mix(in srgb, var(--accent) 35%, var(--line)); }
.contact-orb-a { width: 420px; height: 420px; right: -170px; top: 60px; transform: rotateX(70deg); }
.contact-orb-b { width: 310px; height: 310px; left: -190px; bottom: 20px; }
.contact-grid { position: relative; z-index: 2; display: grid; grid-template-columns: minmax(0, .86fr) minmax(440px, 1.14fr); gap: clamp(70px, 9vw, 140px); align-items: start; }
.contact-copy > p { max-width: 560px; margin: 30px 0 0; color: var(--text-soft); font-size: 16px; }
.availability { display: inline-flex; align-items: center; gap: 10px; margin-top: 34px; padding: 10px 13px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); font: 400 9px var(--font-mono); text-transform: uppercase; letter-spacing: .04em; color: var(--text-soft); }
.contact-direct { margin-top: 50px; border-top: 1px solid var(--line); }
.contact-direct > * { min-height: 72px; display: grid; grid-template-columns: 80px 1fr auto; align-items: center; gap: 18px; border-bottom: 1px solid var(--line); }
.contact-direct span { font: 400 8px var(--font-mono); text-transform: uppercase; letter-spacing: .06em; color: var(--text-faint); }
.contact-direct strong { font-size: 12px; font-weight: 600; overflow-wrap: anywhere; }
.contact-direct i { font-style: normal; color: var(--accent); }
.contact-panel { border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--surface); box-shadow: var(--shadow-md); padding: 34px; }
.contact-panel-head { display: flex; justify-content: space-between; gap: 22px; padding-bottom: 25px; margin-bottom: 25px; border-bottom: 1px solid var(--line); }
.contact-panel-head span { font-weight: 700; font-size: 13px; }
.contact-panel-head small { font: 400 8px var(--font-mono); text-transform: uppercase; letter-spacing: .05em; color: var(--text-faint); }
.honeypot { position: absolute !important; left: -9999px !important; }
.form-row { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.field { margin-bottom: 17px; }
.field label { display: block; margin: 0 0 8px; font: 400 9px var(--font-mono); text-transform: uppercase; letter-spacing: .05em; color: var(--text-faint); }
.field input, .field textarea, .field select { width: 100%; border: 1px solid var(--line); border-radius: 13px; background: var(--bg); color: var(--text); padding: 13px 14px; outline: none; transition: border-color .25s ease, box-shadow .25s ease, background .25s ease; }
.field input, .field select { min-height: 50px; }
.field textarea { resize: vertical; min-height: 150px; }
.field input::placeholder, .field textarea::placeholder { color: var(--text-faint); opacity: .78; }
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); background: var(--surface); }
.field.is-invalid input, .field.is-invalid textarea { border-color: #d74d58; box-shadow: 0 0 0 4px rgba(215,77,88,.08); }
.field-error { display: block; min-height: 15px; padding-top: 4px; font-size: 9px; color: #d74d58; }
.form-submit { width: 100%; margin-top: 4px; }
.form-submit:disabled { opacity: .55; cursor: wait; }
.form-status { min-height: 22px; margin: 12px 0 0; text-align: center; font-size: 11px; color: var(--text-soft); }
.form-status.is-success { color: var(--positive); }
.form-status.is-error { color: #d74d58; }

.footer { padding: 90px 0 24px; border-top: 1px solid var(--line); background: var(--surface); }
.footer-grid { display: grid; grid-template-columns: 1.35fr .65fr .8fr 1fr; gap: 70px; }
.footer-brand > p { max-width: 330px; margin: 22px 0 0; color: var(--text-faint); font-size: 12px; }
.footer-nav, .footer-social, .footer-contact { display: flex; flex-direction: column; align-items: flex-start; gap: 9px; }
.footer-nav > span, .footer-social > span, .footer-contact > span { margin-bottom: 10px; font: 400 8px var(--font-mono); text-transform: uppercase; letter-spacing: .08em; color: var(--text-faint); }
.footer-nav a, .footer-social a, .footer-contact a, .footer-contact p { margin: 0; font-size: 11px; color: var(--text-soft); transition: color .2s ease; }
.footer-nav a:hover, .footer-social a:hover, .footer-contact a:hover { color: var(--accent); }
.footer-bottom { display: grid; grid-template-columns: 1fr 1fr auto; gap: 20px; align-items: center; margin-top: 80px; padding-top: 20px; border-top: 1px solid var(--line); font: 400 8px var(--font-mono); text-transform: uppercase; letter-spacing: .05em; color: var(--text-faint); }
.footer-bottom p { margin: 0; }
.footer-bottom a { justify-self: end; }

.reveal { opacity: 0; transform: translateY(24px); transition: opacity .75s var(--ease), transform .75s var(--ease); }
.reveal.is-visible { opacity: 1; transform: translateY(0); }
.hero .reveal[data-delay="1"] { transition-delay: .08s; }
.hero .reveal[data-delay="2"] { transition-delay: .16s; }
.hero .reveal[data-delay="3"] { transition-delay: .24s; }
.hero .reveal[data-delay="4"] { transition-delay: .32s; }

.cursor { position: fixed; z-index: 1100; inset: 0 auto auto 0; pointer-events: none; display: none; }
.cursor-dot { position: absolute; width: 6px; height: 6px; border-radius: 50%; background: var(--text); transform: translate(-50%,-50%); }
.cursor-ring { position: absolute; width: 34px; height: 34px; display: grid; place-items: center; border: 1px solid var(--line-strong); border-radius: 50%; background: rgba(var(--bg-rgb), .14); backdrop-filter: blur(5px); transform: translate(-50%,-50%); transition: width .25s var(--ease), height .25s var(--ease), background .25s ease, border-color .25s ease; }
.cursor-ring span { opacity: 0; font: 500 8px var(--font-mono); text-transform: uppercase; letter-spacing: .04em; color: #fff; transition: opacity .18s ease; }
.cursor.is-interactive .cursor-dot { opacity: 0; }
.cursor.is-interactive .cursor-ring { width: 62px; height: 62px; border-color: var(--accent); background: var(--accent); box-shadow: 0 12px 30px var(--accent-glow); }
.cursor.is-interactive .cursor-ring span { opacity: 1; }

@media (pointer: fine) and (min-width: 900px) {
  .cursor { display: block; }
  body, a, button { cursor: none; }
}

@media (max-width: 1120px) {
  .nav-links { gap: 20px; }
  .hero-layout { grid-template-columns: minmax(0, 1fr) minmax(370px, .75fr); }
  .hero-visual { min-height: 520px; }
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .case-study { grid-template-columns: 1fr; }
  .case-copy { max-width: 780px; }
  .case-reverse .case-copy, .case-reverse .case-visual { order: initial; }
  .case-visual { min-height: 580px; }
  .timeline-item { grid-template-columns: 90px minmax(0, 1fr); }
  .timeline-visual { display: none; }
  .testimonial-stage { padding-right: 26%; }
}

@media (max-width: 900px) {
  .section { padding: 110px 0; }
  .nav-links { position: fixed; top: 70px; left: 10px; right: 10px; display: flex; flex-direction: column; align-items: stretch; gap: 0; padding: 16px; border: 1px solid var(--line); border-radius: 24px; background: rgba(var(--bg-rgb), .96); backdrop-filter: blur(26px) saturate(140%); box-shadow: var(--shadow-md); opacity: 0; visibility: hidden; transform: translateY(-10px) scale(.98); transition: opacity .25s ease, transform .3s var(--ease), visibility .25s; }
  .nav-links.is-open { opacity: 1; visibility: visible; transform: translateY(0) scale(1); }
  .nav-links a { padding: 15px 14px; border-bottom: 1px solid var(--line); font-size: 15px; }
  .nav-links a:last-child { border-bottom: 0; }
  .nav-links a::after { display: none; }
  .menu-toggle { display: block; }
  .nav-cta { display: none; }
  .hero { min-height: auto; padding-top: 150px; }
  .hero-layout { grid-template-columns: 1fr; }
  .hero-copy { max-width: 820px; }
  .hero-visual { min-height: 620px; width: min(100%, 620px); margin: 0 auto; }
  .scroll-cue { display: none; }
  .section-header, .about-grid, .proof-grid, .contact-grid { grid-template-columns: 1fr; gap: 48px; }
  .section-header { align-items: start; margin-bottom: 60px; }
  .about-media { grid-template-columns: 1fr; }
  .about-depth { min-height: 420px; }
  .portrait-depth { height: 680px; }
  .stat-line { grid-template-columns: repeat(2, 1fr); }
  .stat-line div:nth-child(2) { border-right: 0; }
  .stat-line div:nth-child(3), .stat-line div:nth-child(4) { border-top: 1px solid var(--line); }
  .timeline-line { left: 21px; }
  .timeline-item { grid-template-columns: 1fr; gap: 16px; padding-left: 56px; }
  .timeline-meta i { left: -40px; right: auto; top: 7px; }
  .achievement-list { grid-template-columns: 1fr; }
  .case-study { padding: 32px; min-height: auto; }
  .case-visual { min-height: 520px; }
  .skills-layout { grid-template-columns: 1fr; }
  .skill-detail { position: relative; top: auto; min-height: 330px; }
  .tool-rail { grid-template-columns: 1fr; }
  .proof-heading { position: relative; top: auto; }
  .testimonial-top { align-items: flex-start; flex-direction: column; }
  .testimonial-stage { padding: 70px 36px 260px; }
  .testimonial-art { width: 54%; right: 4%; bottom: -80px; }
  .writing-item { grid-template-columns: 90px 1fr auto; }
  .writing-item p { grid-column: 2 / 3; }
  .contact-grid { gap: 70px; }
  .footer-grid { grid-template-columns: repeat(3, 1fr); gap: 40px 32px; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-brand > p { max-width: 420px; }
  .footer-bottom { grid-template-columns: 1fr auto; }
  .footer-bottom p:nth-child(2) { grid-row: 2; grid-column: 1 / -1; }
}

@media (max-width: 640px) {
  .container { width: min(calc(100% - 28px), var(--container)); }
  .section { padding: 88px 0; }
  .site-header { width: calc(100% - 20px); top: 10px; }
  .site-header.is-scrolled { width: calc(100% - 16px); top: 7px; }
  .nav-shell { height: 56px; padding: 0 7px 0 16px; background: rgba(var(--bg-rgb), .72); backdrop-filter: blur(18px); border-color: var(--line); }
  .site-header.is-scrolled .nav-shell { height: 54px; }
  .hero { padding: 125px 0 76px; }
  .hero-grid { background-size: 46px 46px; }
  .hero-title { font-size: clamp(50px, 15vw, 68px); }
  .hero-intro { margin-top: 26px; font-size: 16px; }
  .hero-actions { align-items: stretch; flex-direction: column; }
  .button { width: 100%; }
  .hero-proof { grid-template-columns: repeat(2, 1fr); row-gap: 22px; }
  .hero-proof div:nth-child(3), .hero-proof div:nth-child(4) { padding-top: 20px; border-top: 1px solid var(--line); }
  .hero-visual { min-height: 470px; margin-top: 18px; }
  .floating-card { min-width: 150px; padding: 12px; }
  .card-query { top: 6%; left: -2%; }
  .card-index { right: -2%; top: 31%; }
  .card-result { left: 1%; bottom: 8%; }
  .section-kicker { margin-bottom: 26px; }
  .section-header h2, .about-heading h2, .proof-heading h2, .testimonial-top h2, .contact-copy h2 { font-size: clamp(39px, 12vw, 58px); }
  .about-copy .lead-copy { font-size: 21px; }
  .about-media { margin-top: 60px; }
  .portrait-frame { padding: 10px; border-radius: 24px; }
  .portrait-depth { height: 500px; border-radius: 17px; }
  .portrait-frame figcaption { flex-direction: column; gap: 5px; }
  .about-depth { padding: 24px; min-height: 380px; }
  .depth-stack { top: 48px; width: 190px; height: 170px; }
  .stack-instruction { top: 245px; left: 24px; right: 24px; }
  .stat-line { grid-template-columns: 1fr; }
  .stat-line div, .stat-line div:not(:first-child) { min-height: 135px; padding: 20px 0; border-right: 0; border-top: 1px solid var(--line); }
  .stat-line div:first-child { border-top: 0; }
  .stat-line strong { margin-top: 18px; }
  .timeline-item { padding-left: 46px; }
  .timeline-line { left: 15px; }
  .timeline-meta i { left: -36px; }
  .timeline-content h3 { font-size: 30px; }
  .case-study { padding: 22px; border-radius: 26px; gap: 34px; }
  .case-copy h3 { font-size: 39px; }
  .case-details div { grid-template-columns: 1fr; gap: 8px; }
  .case-visual { min-height: 410px; border-radius: 20px; }
  .knowledge-canvas { background-size: auto, 36px 36px, 36px 36px; }
  .k-main { width: 90px; height: 90px; }
  .k-node:not(.k-main) { min-width: 65px; padding: 0 9px; height: 34px; font-size: 7px; }
  .code-window { inset: 72px 5% 78px; padding: 15px; }
  .code-window pre { font-size: 10px; }
  .quality-grid { gap: 5px; }
  .quality-grid span { font-size: 7px; }
  .industry-core { width: 130px; height: 130px; border-radius: 32px; }
  .industry-chip { font-size: 7px; padding: 7px 9px; }
  .more-work a { grid-template-columns: 1fr auto; gap: 8px 15px; padding: 18px 0; }
  .more-work a span { grid-column: 1 / 2; }
  .more-work a b { grid-column: 1 / 2; font-size: 14px; }
  .more-work a i { grid-column: 2; grid-row: 1 / span 2; }
  .service-grid { grid-template-columns: 1fr; }
  .service-card { min-height: 250px; }
  .skill-group { grid-template-columns: 1fr; gap: 10px; }
  .skill-detail { padding: 26px; }
  .skill-detail h3 { margin-top: 70px; font-size: 34px; }
  .tool-marquee { overflow-x: auto; mask-image: none; scrollbar-width: none; }
  .tool-track { animation: none; padding-bottom: 4px; }
  .proof-card { min-height: 210px; }
  .testimonial-stage { min-height: 530px; padding: 62px 24px 240px; border-radius: 26px; }
  .quote-mark { left: 24px; top: 24px; font-size: 70px; }
  .testimonial-slide blockquote { font-size: 28px; }
  .testimonial-art { width: 62%; right: 12%; }
  .statement { min-height: 82svh; }
  .statement-copy { font-size: clamp(43px, 13vw, 63px); }
  .writing-item { grid-template-columns: 1fr auto; gap: 9px 16px; padding: 22px 0; }
  .writing-item > span, .writing-item h3, .writing-item p { grid-column: 1; }
  .writing-item i { grid-column: 2; grid-row: 1 / span 3; align-self: center; }
  .writing-item h3 { font-size: 17px; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .contact-panel { padding: 22px; border-radius: 26px; }
  .contact-panel-head { flex-direction: column; gap: 7px; }
  .contact-direct > * { grid-template-columns: 72px 1fr; }
  .contact-direct i { display: none; }
  .footer { padding-top: 68px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 34px 20px; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-brand > p { max-width: none; }
  .footer-contact { grid-column: 1 / -1; padding-top: 8px; border-top: 1px solid var(--line); }
  .footer-bottom { grid-template-columns: 1fr; gap: 10px; margin-top: 55px; }
  .footer-bottom p:nth-child(2) { grid-row: auto; grid-column: auto; }
  .footer-bottom a { justify-self: start; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1 !important; transform: none !important; }
  [data-parallax], [data-depth-card], .statement-copy > * { transform: none !important; }
  .orbit-system { transform: translate(-50%, -50%) !important; top: 50% !important; }
  .depth-stack { transform: translateX(-50%) !important; }
  .tool-track { animation: none !important; }
  .cursor { display: none !important; }
}
