:root {
  color-scheme: dark;
  --bg: #101310;
  --surface: #151a16;
  --surface-2: #1b211c;
  --text: #eef0e8;
  --muted: #afb5ad;
  --faint: #8d958d;
  --line: rgba(238, 240, 232, 0.16);
  --line-strong: rgba(238, 240, 232, 0.32);
  --accent: #b8ef3a;
  --accent-ink: #151814;
  --blue: #7aa7ff;
  --max: 1400px;
  --sans: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --mono: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
}

[data-theme="light"] {
  color-scheme: light;
  --bg: #efefe8;
  --surface: #fafaf4;
  --surface-2: #e1e2d9;
  --text: #151814;
  --muted: #505850;
  --faint: #626b62;
  --line: rgba(17, 19, 17, 0.18);
  --line-strong: rgba(17, 19, 17, 0.36);
  --accent: #76b900;
  --accent-ink: #11170b;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body { margin: 0; min-width: 320px; overflow-x: hidden; background: var(--bg); color: var(--text); font-family: var(--sans); }
body::before { position: fixed; inset: -12%; z-index: -2; content: ""; background: radial-gradient(ellipse 44% 30% at 82% 5%, color-mix(in srgb, var(--accent) 10%, transparent), transparent 72%), radial-gradient(ellipse 38% 28% at 8% 48%, color-mix(in srgb, var(--blue) 6%, transparent), transparent 74%), radial-gradient(ellipse 36% 24% at 70% 86%, color-mix(in srgb, #ff9b62 4%, transparent), transparent 76%); pointer-events: none; }
body::after { position: fixed; top: -42vw; right: -28vw; z-index: -1; width: min(1000px, 82vw); aspect-ratio: 1; border-radius: 42% 58% 65% 35% / 38% 45% 55% 62%; content: ""; background: conic-gradient(from 205deg, transparent 0 24%, color-mix(in srgb, var(--accent) 13%, transparent) 31%, color-mix(in srgb, var(--blue) 7%, transparent) 40%, transparent 48% 100%); filter: blur(54px); opacity: .72; transform: rotate(-12deg); pointer-events: none; }
.scroll-progress { position: fixed; top: 0; left: 0; z-index: 120; width: 100%; height: 2px; pointer-events: none; }
.scroll-progress i { display: block; width: 100%; height: 100%; background: var(--accent); box-shadow: 0 0 10px color-mix(in srgb, var(--accent) 45%, transparent); transform: scaleX(0); transform-origin: left; }
a { color: inherit; text-decoration: none; }
button { color: inherit; font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; }
::selection { background: var(--accent); color: var(--accent-ink); }
.skip-link { position: fixed; top: 10px; left: 10px; z-index: 200; padding: 12px 18px; background: var(--accent); color: var(--accent-ink); transform: translateY(-160%); }
.skip-link:focus { transform: translateY(0); }

.site-header { position: sticky; top: 0; z-index: 50; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; width: min(calc(100% - 48px), var(--max)); height: 76px; margin: 0 auto; border-bottom: 1px solid var(--line); background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: blur(18px); }
.wordmark { display: flex; align-items: center; gap: 10px; width: fit-content; font-family: var(--mono); font-size: 13px; font-weight: 800; letter-spacing: .1em; }
.wordmark-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 18px color-mix(in srgb, var(--accent) 60%, transparent); }
.desktop-nav { display: flex; gap: 36px; font-size: 13px; font-weight: 700; }
.desktop-nav a { position: relative; padding: 8px 0; }
.desktop-nav a::after { position: absolute; bottom: 2px; left: 0; width: 100%; height: 1px; content: ""; background: var(--accent); transform: scaleX(0); transform-origin: right; transition: transform .3s ease; }
.desktop-nav a:hover::after { transform: scaleX(1); transform-origin: left; }
.desktop-nav a[aria-current="page"] { color: var(--accent); }
.desktop-nav a[aria-current="page"]::after { transform: scaleX(1); }
.header-actions { justify-self: end; display: flex; align-items: center; gap: 10px; }
.icon-button, .menu-button { display: grid; width: 42px; height: 42px; border: 1px solid var(--line); background: transparent; place-items: center; cursor: pointer; }
.icon-button svg { width: 17px; fill: none; stroke: currentColor; stroke-width: 1.7; }
.command-button { height: 42px; padding: 0 8px 0 15px; border: 1px solid var(--line); background: transparent; font-size: 12px; cursor: pointer; }
kbd { display: inline-grid; min-width: 28px; height: 26px; margin-left: 10px; border: 1px solid var(--line); background: var(--surface); color: var(--muted); font: 10px var(--mono); place-items: center; }
.menu-button, .mobile-nav { display: none; }

main, .site-footer { width: min(calc(100% - 48px), var(--max)); margin-inline: auto; }
.hero { min-height: calc(100svh - 76px); padding-top: clamp(70px, 9vw, 130px); }
.hero-intro { display: grid; grid-template-columns: minmax(0, 1fr) minmax(280px, 420px); column-gap: 8vw; align-items: end; }
.eyebrow { grid-column: 1 / -1; display: flex; align-items: center; gap: 10px; margin: 0 0 28px; color: var(--muted); font: 11px var(--mono); letter-spacing: .08em; text-transform: uppercase; }
.status-pulse { position: relative; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }
.status-pulse::after { position: absolute; inset: -5px; border: 1px solid var(--accent); border-radius: inherit; content: ""; animation: pulse 2.2s ease-out infinite; }
h1 { margin: 0; font-size: clamp(58px, 7.7vw, 118px); font-weight: 720; letter-spacing: -.075em; line-height: .88; }
h1 em, h2 em { color: var(--accent); font-family: Georgia, "Times New Roman", serif; font-weight: 400; letter-spacing: -.055em; }
.hero-lede { align-self: center; max-width: 420px; margin: 0 0 28px; color: var(--muted); font-size: clamp(17px, 1.5vw, 21px); line-height: 1.55; }
.hero-actions { grid-column: 2; display: flex; flex-wrap: wrap; gap: 10px; }
.button { display: inline-flex; min-height: 52px; padding: 0 18px; align-items: center; justify-content: space-between; gap: 24px; border: 1px solid var(--line); font-size: 13px; font-weight: 750; transition: transform .2s ease, background .2s ease, color .2s ease; }
.button:hover { transform: translateY(-3px); }
.button-primary:hover { box-shadow: 0 10px 34px color-mix(in srgb, var(--accent) 18%, transparent); }
.button-primary { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.button-secondary { background: transparent; }
.button-light { min-width: 270px; background: var(--text); color: var(--bg); border-color: var(--text); }
.system-card { position: relative; min-height: 460px; margin: clamp(80px, 9vw, 130px) 0 0 25%; border: 1px solid var(--line); background: var(--surface); overflow: hidden; }
.system-card::before { position: absolute; inset: 0; content: ""; background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px); background-size: 52px 52px; opacity: .23; }
.system-card::after { position: absolute; top: -30%; right: 0; left: 0; z-index: 0; height: 26%; content: ""; background: linear-gradient(180deg, transparent, color-mix(in srgb, var(--accent) 8%, transparent), transparent); pointer-events: none; }
.system-topline, .runtime-line { position: relative; z-index: 1; display: flex; justify-content: space-between; padding: 16px 18px; border-bottom: 1px solid var(--line); font: 10px var(--mono); letter-spacing: .08em; }
.system-state { display: flex; align-items: center; gap: 8px; color: var(--accent); }
.system-state i { width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.architecture { position: relative; z-index: 1; height: 300px; }
.arch-node { position: absolute; display: flex; flex-direction: column; width: 160px; padding: 15px; border: 1px solid var(--line-strong); background: color-mix(in srgb, var(--surface) 92%, transparent); }
.arch-node small { margin-bottom: 18px; color: var(--accent); font: 9px var(--mono); }
.arch-node strong { font: 13px var(--mono); }
.arch-node span { margin-top: 5px; color: var(--muted); font: 10px var(--mono); }
.arch-interface { top: 35px; left: 6%; }.arch-api { top: 35px; left: 39%; }.arch-auth { bottom: 32px; left: 23%; }.arch-data { right: 7%; bottom: 32px; }
.arch-line { position: absolute; height: 1px; background: var(--accent); transform-origin: left; opacity: .7; }
.line-one { top: 83px; left: calc(6% + 160px); width: calc(33% - 160px); }
.line-two { top: 108px; left: 48%; width: 122px; transform: rotate(128deg); }
.line-three { bottom: 77px; left: calc(23% + 160px); width: calc(54% - 160px); }
.system-metrics { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); }
.system-metrics div { padding: 16px 18px; border-right: 1px solid var(--line); }
.system-metrics div:last-child { border: 0; }
.system-metrics small { display: block; color: var(--faint); font: 9px var(--mono); }
.system-metrics strong { display: block; margin-top: 6px; font-size: 12px; }
.runtime-line { border-top: 1px solid var(--line); border-bottom: 0; }.runtime-line strong { color: var(--accent); }
.hero-index { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 60px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.hero-index div { min-height: 108px; padding: 20px 18px; border-right: 1px solid var(--line); }.hero-index div:first-child { padding-left: 0; }.hero-index div:last-child { border: 0; }
.hero-index span { display: block; color: var(--faint); font: 9px var(--mono); letter-spacing: .08em; }.hero-index strong { display: block; max-width: 210px; margin-top: 20px; font-size: 13px; line-height: 1.35; }

.section { padding: clamp(110px, 13vw, 190px) 0; }
.section-heading { display: grid; grid-template-columns: 25% 1fr; padding-bottom: 70px; }
.section-number { margin: 0; color: var(--faint); font: 10px var(--mono); letter-spacing: .09em; }
.section-heading h2 { max-width: 850px; margin: 0; font-size: clamp(42px, 6vw, 85px); line-height: .95; letter-spacing: -.06em; }
.section-heading > div > p { max-width: 620px; margin: 26px 0 0; color: var(--muted); font-size: 18px; line-height: 1.6; }
.case-study { border: 1px solid var(--line); background: var(--surface); }
.case-study-featured { display: grid; grid-template-columns: 1fr 1fr; min-height: 670px; }
.case-copy { display: flex; flex-direction: column; padding: clamp(30px, 4vw, 62px); }
.case-meta { display: flex; justify-content: space-between; color: var(--faint); font: 9px var(--mono); letter-spacing: .09em; }
.case-copy h3 { margin: auto 0 25px; font-size: clamp(54px, 6vw, 92px); line-height: .86; letter-spacing: -.07em; }
.case-copy > p { max-width: 620px; color: var(--muted); font-size: 16px; line-height: 1.7; }
.case-outcomes { display: grid; grid-template-columns: repeat(3, 1fr); margin: 25px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.case-outcomes div { padding: 18px 12px 18px 0; }.case-outcomes small { display: block; color: var(--faint); font: 8px var(--mono); }.case-outcomes strong { display: block; margin-top: 8px; font-size: 11px; }
.tag-list { display: flex; flex-wrap: wrap; gap: 7px; }.tag-list span { padding: 7px 9px; border: 1px solid var(--line); color: var(--muted); font: 9px var(--mono); }
.private-note { margin: 18px 0 0 !important; font: 9px var(--mono) !important; text-transform: uppercase; letter-spacing: .06em; }
.case-visual { position: relative; display: grid; min-height: 100%; padding: 8%; place-items: center; overflow: hidden; background: var(--accent); }
.case-visual::before { position: absolute; inset: 0; content: ""; background: radial-gradient(circle at 20% 15%, #efffc6, transparent 30%), linear-gradient(135deg, transparent 50%, rgba(0,0,0,.09) 50%); }
.ui-window { position: relative; z-index: 1; width: 92%; aspect-ratio: 1.38; border: 2px solid #11150a; background: #11150a; box-shadow: 26px 30px 0 rgba(17,21,10,.16); transform: perspective(1000px) rotateY(-5deg) rotateX(2deg); }
.ui-window-bar { display: flex; height: 34px; padding: 0 10px; align-items: center; gap: 6px; border-bottom: 1px solid #414538; color: #9ca28f; font: 8px var(--mono); }.ui-window-bar i { width: 6px; height: 6px; border: 1px solid #777; border-radius: 50%; }.ui-window-bar span { margin-left: auto; }
.ui-dashboard { display: flex; height: calc(100% - 34px); }.ui-sidebar { display: flex; width: 48px; padding: 12px; flex-direction: column; align-items: center; gap: 18px; border-right: 1px solid #30352e; }.ui-sidebar b { color: var(--accent); font: 9px var(--mono); }.ui-sidebar i { width: 11px; height: 11px; border: 1px solid #687064; }
.ui-content { flex: 1; padding: 22px; }.ui-title { display: flex; justify-content: space-between; }.ui-title span { width: 38%; height: 12px; background: #e8eade; }.ui-title button { padding: 6px 12px; border: 0; background: var(--accent); font: 7px var(--mono); }.ui-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 25px 0; }.ui-stats i { height: 52px; border: 1px solid #373c35; background: #171b17; }.ui-stats i:first-child { border-top: 3px solid var(--accent); }
.ui-table { border-top: 1px solid #373c35; }.ui-table span { display: block; height: 27px; border-bottom: 1px solid #272c27; }.ui-table span::before { display: block; width: 54%; height: 5px; margin-top: 11px; content: ""; background: #3f473e; }
.code-float { position: absolute; right: 3%; bottom: 9%; z-index: 2; display: flex; min-width: 205px; padding: 13px; justify-content: space-between; background: #f4f5e9; color: #11150a; box-shadow: -12px 14px 0 rgba(17,21,10,.17); font: 7px var(--mono); }.code-float b { color: #478900; }
.recommender-window { position: relative; z-index: 1; width: 92%; aspect-ratio: 1.38; border: 2px solid #101310; background: #101310; box-shadow: 26px 30px 0 rgba(17,21,10,.16); transform: perspective(1000px) rotateY(-5deg) rotateX(2deg); }
.rec-window-bar { display: flex; height: 34px; padding: 0 10px; align-items: center; gap: 6px; border-bottom: 1px solid #3a413a; color: #9ca59b; font: 8px var(--mono); }.rec-window-bar i { width: 6px; height: 6px; border: 1px solid #737b72; border-radius: 50%; }.rec-window-bar span { margin-left: auto; }
.rec-layout { display: flex; height: calc(100% - 34px); }.rec-sidebar { display: flex; width: 50px; padding: 13px; flex-direction: column; align-items: center; gap: 20px; border-right: 1px solid #303730; }.rec-sidebar b { color: var(--accent); font: 8px var(--mono); }.rec-sidebar i { width: 12px; height: 12px; border: 1px solid #5b655a; }
.rec-feed { flex: 1; padding: clamp(14px, 2.2vw, 28px); }.rec-heading { display: flex; justify-content: space-between; align-items: end; }.rec-heading small { display: block; color: #8c958b; font: 7px var(--mono); }.rec-heading strong { display: block; margin-top: 5px; color: #eef0e8; font-size: clamp(13px, 1.5vw, 20px); }.rec-heading > b { padding: 6px 8px; background: var(--accent); color: var(--accent-ink); font: 7px var(--mono); }
.movie-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 9px; margin: 23px 0; }.movie-cards i { position: relative; height: clamp(80px, 11vw, 145px); overflow: hidden; background: linear-gradient(150deg, #2f3942, #6d5b69); }.movie-cards i:nth-child(2) { background: linear-gradient(150deg, #53472c, #b8853f); }.movie-cards i:nth-child(3) { background: linear-gradient(150deg, #243a35, #4b8171); }.movie-cards i::before { position: absolute; right: 8px; bottom: 8px; width: 24px; height: 3px; content: ""; background: var(--accent); }
.model-stack { display: grid; grid-template-columns: repeat(4, 1fr); gap: 5px; }.model-stack span { padding: 7px 3px; border: 1px solid #394039; color: #899188; text-align: center; font: 6px var(--mono); }
.case-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; margin-top: 1px; background: var(--line); }
.case-grid .case-study { padding: clamp(28px, 4vw, 58px); border: 0; }.case-grid h3 { margin: 28px 0 16px; font-size: clamp(38px, 4vw, 60px); letter-spacing: -.055em; }.case-grid p { max-width: 580px; min-height: 82px; color: var(--muted); line-height: 1.65; }
.case-mini-visual { position: relative; height: 300px; margin-top: 36px; overflow: hidden; }
.shop-visual { padding: 35px; background: #f05f3e; color: #1c100d; }.shop-visual > span { font-size: clamp(34px, 5vw, 72px); font-weight: 900; letter-spacing: -.08em; }.shop-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 8px; margin-top: 32px; }.shop-grid i { height: 105px; border: 2px solid #1c100d; background: linear-gradient(145deg, transparent 45%, rgba(28,16,13,.18) 45%); }.shop-visual b { position: absolute; right: 25px; bottom: 18px; font: 9px var(--mono); }
.bank-visual { display: flex; align-items: flex-end; gap: 10%; padding: 28px 12%; background: #7aa7ff; color: #0e1420; }.phone { display: flex; width: 45%; min-width: 155px; height: 245px; padding: 22px; flex-direction: column; border: 3px solid #0e1420; border-radius: 25px 25px 0 0; background: #e9edff; box-shadow: 18px 18px 0 rgba(14,20,32,.15); }.phone small { font: 8px var(--mono); }.phone strong { margin: 8px 0 24px; font-size: 18px; }.phone i { display: block; height: 80px; border-radius: 10px; background: #151d2c; }.phone span { margin-top: -25px; padding-left: 12px; color: #fff; font: 9px var(--mono); }.bank-lines { flex: 1; padding-bottom: 30px; }.bank-lines i { display: block; height: 1px; margin: 24px 0; background: #0e1420; }.bank-lines i:nth-child(2) { width: 65%; }.bank-lines i:nth-child(3) { width: 82%; }
.auth-visual { display: grid; grid-template-columns: 1fr 1fr; align-items: center; padding: 35px; background: #9e8cff; color: #171329; }.auth-rings { position: relative; display: grid; width: 170px; height: 170px; margin: auto; place-items: center; }.auth-rings i { position: absolute; inset: 0; border: 2px solid currentColor; border-radius: 50%; }.auth-rings i:nth-child(2) { inset: 23px; border-style: dashed; }.auth-rings b { display: grid; width: 68px; height: 68px; border-radius: 20px; background: #171329; color: #c9ff52; font-size: 28px; place-items: center; box-shadow: 12px 14px 0 rgba(23,19,41,.16); }.auth-steps { display: grid; gap: 10px; }.auth-steps span { padding: 11px; border: 1px solid rgba(23,19,41,.5); font: 8px var(--mono); }.auth-steps span::before { margin-right: 8px; content: "✓"; font-weight: 900; }
.place-visual { position: relative; padding: 0; background: #ffb84f; color: #20180e; }.map-grid { position: absolute; inset: 0; background-image: linear-gradient(rgba(32,24,14,.17) 1px, transparent 1px), linear-gradient(90deg, rgba(32,24,14,.17) 1px, transparent 1px); background-size: 34px 34px; }.map-grid i { position: absolute; width: 18px; height: 18px; border: 4px solid #20180e; border-radius: 50% 50% 50% 0; background: #ffdfab; transform: rotate(-45deg); }.map-grid i:nth-child(1) { top: 20%; left: 20%; }.map-grid i:nth-child(2) { top: 54%; left: 68%; }.map-grid i:nth-child(3) { top: 26%; left: 78%; }.map-grid span { position: absolute; top: 30%; left: 25%; width: 48%; height: 34%; border-right: 3px dashed #20180e; border-bottom: 3px dashed #20180e; transform: skew(-16deg); }.place-card { position: absolute; right: 7%; bottom: 9%; left: 7%; padding: 20px; background: #fff4dc; box-shadow: 16px 17px 0 rgba(32,24,14,.18); }.place-card small { display: block; font: 7px var(--mono); }.place-card strong { display: block; margin: 9px 0 14px; font-size: 22px; }.place-card span { font: 8px var(--mono); }
.text-link { display: inline-flex; margin-top: 28px; gap: 16px; align-items: center; font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; }.text-link span { color: var(--accent); }
.more-work { margin-top: 90px; border-top: 1px solid var(--line); }.more-work > p { margin: 0; padding: 18px 0 40px; color: var(--faint); font: 10px var(--mono); text-transform: uppercase; }.more-work a, .more-work .project-row { display: grid; grid-template-columns: 1fr 1fr auto; gap: 20px; padding: 27px 0; border-top: 1px solid var(--line); align-items: center; transition: color .25s ease; }.more-work a:hover { color: var(--accent); }.more-work a span, .more-work .project-row span { font-size: 19px; font-weight: 700; transition: transform .25s ease; }.more-work a:hover span { transform: translateX(12px); }.more-work a small, .more-work .project-row small { color: var(--muted); }.more-work a b, .more-work .project-row b { color: var(--faint); font: 8px var(--mono); }

.profile-section { border-top: 1px solid var(--line); }
.profile-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 9vw; }
.profile-statement p { margin: 0 0 30px; font-size: clamp(25px, 3.3vw, 48px); line-height: 1.12; letter-spacing: -.04em; }.profile-statement em { color: var(--accent); font-family: Georgia, serif; }
.capability-list { border-top: 1px solid var(--line); }.capability-list div { display: grid; grid-template-columns: 45px 130px 1fr; padding: 23px 0; border-bottom: 1px solid var(--line); align-items: start; }.capability-list span { color: var(--faint); font: 9px var(--mono); }.capability-list strong { font-size: 13px; }.capability-list p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.55; }
.timeline { margin-top: 130px; border-top: 1px solid var(--line); }.timeline-item { display: grid; grid-template-columns: 25% 37.5% 1fr; padding: 30px 0; border-bottom: 1px solid var(--line); }.timeline-date, .timeline-item small { color: var(--faint); font: 9px var(--mono); letter-spacing: .07em; }.timeline-item h3 { margin: 9px 0; font-size: 20px; }.timeline-item p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.6; }.timeline-item > p { max-width: 410px; }

.contact-section { position: relative; left: 50%; width: 100vw; margin-left: -50vw; padding: clamp(88px, 9vw, 132px) max(24px, calc((100vw - var(--max)) / 2)); background: var(--accent); color: var(--accent-ink); }
.contact-section .section-number { color: rgba(17,21,10,.58); }.contact-content { display: grid; grid-template-columns: 25% 1fr; margin-top: clamp(46px, 5vw, 72px); }.contact-content > p { margin: 10px 0 0; font-size: 14px; }.contact-content h2 { margin: 0; font-size: clamp(58px, 8.3vw, 125px); line-height: .85; letter-spacing: -.075em; }.contact-content h2 em { color: var(--accent-ink); }.contact-actions { grid-column: 2; display: flex; gap: 10px; margin-top: 48px; }.copy-button { min-height: 52px; padding: 0 22px; border: 1px solid rgba(17,21,10,.35); background: transparent; color: var(--accent-ink); font-weight: 750; cursor: pointer; }
.contact-links { display: flex; justify-content: flex-end; gap: 32px; margin-top: clamp(64px, 7vw, 92px); font: 11px var(--mono); text-transform: uppercase; }.contact-links a { border-bottom: 1px solid currentColor; padding-bottom: 4px; }
.site-footer { display: grid; grid-template-columns: 1fr 1fr auto; padding: 28px 0; color: var(--faint); font: 9px var(--mono); text-transform: uppercase; letter-spacing: .06em; }.site-footer p { margin: 0; }

.command-dialog { width: min(92vw, 620px); padding: 0; border: 1px solid var(--line-strong); background: var(--surface); color: var(--text); box-shadow: 0 40px 120px rgba(0,0,0,.6); }.command-dialog::backdrop { background: rgba(4,5,4,.72); backdrop-filter: blur(7px); }.command-head { display: flex; padding: 17px 20px; justify-content: space-between; border-bottom: 1px solid var(--line); font: 11px var(--mono); text-transform: uppercase; }.command-head button { border: 0; background: transparent; color: var(--faint); font: 9px var(--mono); cursor: pointer; }.command-list { padding: 8px; }.command-list a { display: flex; padding: 16px 13px; justify-content: space-between; align-items: center; border: 1px solid transparent; }.command-list a:hover, .command-list a:focus { border-color: var(--line); background: var(--surface-2); }.command-list span { font-size: 13px; }.command-list b { margin-right: 15px; color: var(--faint); font: 9px var(--mono); }.command-hint { margin: 0; padding: 14px 20px; border-top: 1px solid var(--line); color: var(--faint); font: 9px var(--mono); }
.toast { position: fixed; right: 24px; bottom: 24px; z-index: 100; padding: 12px 16px; background: var(--text); color: var(--bg); font: 10px var(--mono); opacity: 0; transform: translateY(12px); pointer-events: none; transition: .25s ease; }.toast.visible { opacity: 1; transform: translateY(0); }
.reveal { opacity: 1; transform: none; }
.motion-ready .reveal { opacity: 0; transform: translateY(22px); transition: opacity .75s ease, transform .75s cubic-bezier(.2,.7,.2,1); }
.motion-ready .reveal.visible { opacity: 1; transform: none; }
@keyframes pulse { to { transform: scale(2); opacity: 0; } }
@keyframes ambientDrift { 0% { transform: translate3d(-1%, -1%, 0) scale(1); } 100% { transform: translate3d(2%, 1%, 0) scale(1.04); } }
@keyframes fluidMorph { 0% { transform: rotate(-12deg) translate3d(0, 0, 0) scale(1); opacity: .6; } 50% { transform: rotate(-5deg) translate3d(-3%, 4%, 0) scale(1.08); opacity: .78; } 100% { transform: rotate(-16deg) translate3d(4%, 1%, 0) scale(.98); opacity: .66; } }
@keyframes scanSystem { 0%, 12% { transform: translateY(0); opacity: 0; } 22% { opacity: 1; } 70% { opacity: .65; } 82%, 100% { transform: translateY(500px); opacity: 0; } }
@keyframes drawLine { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes drawLineDiagonal { from { transform: rotate(128deg) scaleX(0); } to { transform: rotate(128deg) scaleX(1); } }
@keyframes nodeBoot { from { opacity: 0; transform: translateY(8px) scale(.97); } to { opacity: 1; transform: none; } }
@keyframes contentSettle { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes windowFloat { 0%, 100% { transform: perspective(1000px) rotateY(-5deg) rotateX(2deg) translateY(0); } 50% { transform: perspective(1000px) rotateY(-4deg) rotateX(1deg) translateY(-7px); } }

@media (prefers-reduced-motion: no-preference) {
  body::before { animation: ambientDrift 18s ease-in-out infinite alternate; }
  body::after { animation: fluidMorph 24s ease-in-out infinite alternate; }
  .system-card::after { animation: scanSystem 8s ease-in-out infinite; }
  .system-card.visible .line-one { animation: drawLine .75s .35s cubic-bezier(.2,.7,.2,1) both; }
  .system-card.visible .line-two { animation: drawLineDiagonal .75s .7s cubic-bezier(.2,.7,.2,1) both; }
  .system-card.visible .line-three { animation: drawLine .75s 1.05s cubic-bezier(.2,.7,.2,1) both; }
  .system-card.visible .arch-node { animation: nodeBoot .5s ease both; }
  .system-card.visible .arch-api { animation-delay: .2s; }
  .system-card.visible .arch-auth { animation-delay: .55s; }
  .system-card.visible .arch-data { animation-delay: .9s; }
  .hero-intro.visible .eyebrow { animation: contentSettle .55s .05s ease both; }
  .hero-intro.visible h1 { animation: contentSettle .75s .12s cubic-bezier(.2,.7,.2,1) both; }
  .hero-intro.visible .hero-lede { animation: contentSettle .65s .3s ease both; }
  .hero-intro.visible .hero-actions { animation: contentSettle .65s .4s ease both; }
  .hero-index.visible div, .capability-list.visible div, .timeline.visible .timeline-item { animation: contentSettle .5s ease both; }
  .hero-index.visible div:nth-child(2), .capability-list.visible div:nth-child(2), .timeline.visible .timeline-item:nth-child(2) { animation-delay: .08s; }
  .hero-index.visible div:nth-child(3), .capability-list.visible div:nth-child(3) { animation-delay: .16s; }
  .hero-index.visible div:nth-child(4), .capability-list.visible div:nth-child(4) { animation-delay: .24s; }
  .capability-list.visible div:nth-child(5) { animation-delay: .32s; }
  .capability-list.visible div:nth-child(6) { animation-delay: .4s; }
  .ui-window, .recommender-window { animation: windowFloat 7s ease-in-out infinite; }
}

@media (hover: hover) and (pointer: fine) {
  .case-grid .case-study { transition: transform .28s ease, background .28s ease; }
  .case-grid .case-study:hover { z-index: 1; background: var(--surface-2); transform: translateY(-6px); }
  .case-mini-visual { transition: transform .45s cubic-bezier(.2,.7,.2,1), box-shadow .45s ease; }
  .case-grid .case-study:hover .case-mini-visual { transform: scale(1.012); box-shadow: 0 24px 60px rgba(0,0,0,.16); }
  .tag-list span { transition: border-color .2s ease, color .2s ease, transform .2s ease; }
  .tag-list span:hover { border-color: var(--accent); color: var(--text); transform: translateY(-2px); }
  .more-work a b { transition: transform .25s ease; }
  .more-work a:hover b { transform: translate(3px, -3px); }
  .icon-button, .command-button, .copy-button { transition: border-color .2s ease, background .2s ease, transform .2s ease; }
  .icon-button:hover, .command-button:hover { border-color: var(--accent); transform: translateY(-2px); }
}

@media (max-width: 900px) {
  .site-header { grid-template-columns: 1fr auto; width: min(calc(100% - 30px), var(--max)); }.desktop-nav, .command-button { display: none; }.menu-button { display: grid; gap: 5px; }.menu-button span { width: 17px; height: 1px; background: currentColor; transition: .2s; }.menu-button[aria-expanded="true"] span:first-child { transform: translateY(3px) rotate(45deg); }.menu-button[aria-expanded="true"] span:last-child { transform: translateY(-3px) rotate(-45deg); }
  .mobile-nav { position: absolute; top: 76px; left: 0; display: none; width: 100%; padding: 18px; border: 1px solid var(--line); background: var(--surface); }.mobile-nav.open { display: grid; }.mobile-nav a { padding: 14px; border-bottom: 1px solid var(--line); font-size: 15px; }.mobile-nav a[aria-current="page"] { color: var(--accent); }
  main, .site-footer { width: min(calc(100% - 30px), var(--max)); }.hero { padding-top: 65px; }.hero-intro { display: block; }.hero-lede { margin-top: 34px; }.hero-actions { display: flex; }.system-card { margin-left: 0; }.hero-index { grid-template-columns: 1fr 1fr; }.hero-index div:nth-child(2) { border-right: 0; }.hero-index div:first-child { padding-left: 18px; }.hero-index div:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .section-heading { grid-template-columns: 1fr; gap: 30px; }.case-study-featured { grid-template-columns: 1fr; }.case-copy h3 { margin-top: 100px; }.case-visual { min-height: 540px; }.case-grid { grid-template-columns: 1fr; }.profile-grid { grid-template-columns: 1fr; }.timeline-item { grid-template-columns: 1fr; gap: 20px; }.contact-content { grid-template-columns: 1fr; gap: 30px; }.contact-actions { grid-column: 1; }.contact-links { justify-content: flex-start; }
}

@media (max-width: 560px) {
  .icon-button { display: none; }.hero { min-height: auto; }.eyebrow { line-height: 1.5; }.hero-actions { display: grid; }.button { width: 100%; }.system-card { min-height: 430px; }.architecture { height: 280px; }.arch-node { width: 126px; padding: 12px; }.arch-interface { left: 4%; }.arch-api { left: auto; right: 4%; }.arch-auth { left: 4%; }.arch-data { right: 4%; }.line-one { left: calc(4% + 126px); width: calc(92% - 252px); }.line-two { display: none; }.line-three { left: calc(4% + 126px); width: calc(92% - 252px); }.system-metrics { grid-template-columns: 1fr; }.system-metrics div { padding: 11px 14px; border-right: 0; border-bottom: 1px solid var(--line); }.system-card { padding-bottom: 0; }.hero-index { grid-template-columns: 1fr; }.hero-index div { min-height: 90px; border-right: 0; border-bottom: 1px solid var(--line) !important; }
  .section { padding: 100px 0; }.section-heading { padding-bottom: 45px; }.case-copy { padding: 25px; }.case-outcomes { grid-template-columns: 1fr; }.case-outcomes div { border-bottom: 1px solid var(--line); }.case-visual { min-height: 390px; }.ui-window, .recommender-window { width: 100%; }.rec-sidebar { display: none; }.rec-feed { padding: 14px; }.model-stack { grid-template-columns: 1fr 1fr; }.code-float { right: 2%; bottom: 6%; }.case-grid .case-study { padding: 25px; }.case-mini-visual { height: 240px; }.shop-visual { padding: 22px; }.phone { width: 60%; }.auth-visual { grid-template-columns: 1fr 1fr; padding: 18px; }.auth-rings { width: 105px; height: 105px; }.auth-rings b { width: 46px; height: 46px; }.auth-steps span { padding: 8px; font-size: 6px; }.more-work a, .more-work .project-row { grid-template-columns: 1fr auto; }.more-work a small, .more-work .project-row small { grid-row: 2; }.more-work a b, .more-work .project-row b { grid-column: 2; grid-row: 1 / span 2; }.capability-list div { grid-template-columns: 32px 100px 1fr; }.contact-section { padding-inline: 15px; }.contact-content { margin-top: 55px; }.contact-actions { display: grid; }.contact-links { flex-direction: column; gap: 18px; margin-top: 75px; align-items: flex-start; }.site-footer { grid-template-columns: 1fr auto; gap: 12px; }.site-footer p:nth-child(2) { display: none; }
}

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