/* fonts: self-hosted variable Space Grotesk and JetBrains Mono (OFL), latin, latin-ext and vietnamese subsets */
@font-face { font-family: 'JetBrains Mono'; font-style: normal; font-weight: 400 700; font-display: swap; src: url(fonts/jetbrains-mono-vietnamese.woff2) format('woff2'); unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB; }
@font-face { font-family: 'JetBrains Mono'; font-style: normal; font-weight: 400 700; font-display: swap; src: url(fonts/jetbrains-mono-latin-ext.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'JetBrains Mono'; font-style: normal; font-weight: 400 700; font-display: swap; src: url(fonts/jetbrains-mono-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Space Grotesk'; font-style: normal; font-weight: 400 700; font-display: swap; src: url(fonts/space-grotesk-vietnamese.woff2) format('woff2'); unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB; }
@font-face { font-family: 'Space Grotesk'; font-style: normal; font-weight: 400 700; font-display: swap; src: url(fonts/space-grotesk-latin-ext.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Space Grotesk'; font-style: normal; font-weight: 400 700; font-display: swap; src: url(fonts/space-grotesk-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
:root {
  --bg: #050505; --panel: rgba(10,14,20,0.9); --line: rgba(255,255,255,0.08); --line-2: rgba(255,255,255,0.14);
  --fg: #E6EDF3; --fg-2: #A9B8C6; --fg-3: #7E8C9A; --white: #fff;
  --cyan: #00D4FF; --violet: #7C3AED; --lilac: #B794F6; --mint: #00FFB3;
  --mono: 'JetBrains Mono', ui-monospace, monospace; --sans: 'Space Grotesk', system-ui, sans-serif;
  --wrap: 1400px; --gut: 6vw; --ease: cubic-bezier(.16,1,.3,1);
  /* shape scale: controls 10px, surfaces 16px, pills full, app icons 22% (squircle), phone frame is a device mock */
  --r-sm: 10px; --r: 16px;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body { background: var(--bg); color: var(--fg); font-family: var(--sans); overflow-x: hidden; line-height: 1.5; }
a { color: var(--cyan); }
a:hover { color: #7FE9FF; }
img { max-width: 100%; display: block; }
::selection { background: rgba(0,212,255,0.3); color: #fff; }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; border-radius: 4px; }

/* background layers */
.bg-canvas, .bg-grid, .bg-aurora { position: fixed; pointer-events: none; z-index: 0; }
.bg-canvas { inset: 0; width: 100%; height: 100%; }
@media (max-width: 820px) { .bg-canvas { display: none; } }
.bg-grid { inset: 0; background-image: linear-gradient(rgba(0,212,255,0.045) 1px, transparent 1px), linear-gradient(90deg, rgba(0,212,255,0.045) 1px, transparent 1px);
  background-size: 60px 60px; mask-image: radial-gradient(ellipse at 50% 20%, #000 30%, transparent 75%); }
.bg-aurora { width: 55vw; height: 55vw; filter: blur(40px); }
.bg-aurora.a1 { top: -15%; left: -10%; background: radial-gradient(circle, rgba(124,58,237,0.22), transparent 65%); animation: auroradrift 18s ease-in-out infinite; }
.bg-aurora.a2 { bottom: -20%; right: -10%; background: radial-gradient(circle, rgba(0,212,255,0.16), transparent 65%); animation: auroradrift2 22s ease-in-out infinite; }
@keyframes auroradrift { 0%,100% { transform: translate(0,0) scale(1); } 50% { transform: translate(6%,-4%) scale(1.15); } }
@keyframes auroradrift2 { 0%,100% { transform: translate(0,0) scale(1.1); } 50% { transform: translate(-7%,5%) scale(1); } }
@keyframes pulsering { 0% { box-shadow: 0 0 0 0 rgba(0,255,179,0.5); } 70% { box-shadow: 0 0 0 12px rgba(0,255,179,0); } 100% { box-shadow: 0 0 0 0 rgba(0,255,179,0); } }

main, footer { position: relative; z-index: 2; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gut); }

/* reveal (only hidden when JS is running). An animation, not a transition, so hover transitions on cards keep their own timing.
   --d is the element's order within the batch that entered the viewport together (set in site.js). */
.js [data-reveal]:not(.in) { opacity: 0; }
.js [data-reveal].in { animation: rise 1.15s var(--ease) calc(var(--d, 0) * 80ms) backwards; }
@keyframes rise { from { opacity: 0; transform: translateY(26px) scale(0.985); filter: blur(5px); } }

/* page transitions: old page fades out, new one fades up; nav stays put */
@view-transition { navigation: auto; }
.nav { view-transition-name: nav; }
::view-transition-old(root) { animation: fade-out .2s ease-in both; }
::view-transition-new(root) { animation: fade-in .45s var(--ease) both; }
::view-transition-group(shot) { animation-duration: .35s; animation-timing-function: var(--ease); }
@keyframes fade-out { to { opacity: 0; } }
@keyframes fade-in { from { opacity: 0; } }

@media (prefers-reduced-motion: reduce) {
  .js [data-reveal]:not(.in), .js [data-reveal].in { opacity: 1; animation: none; }
  .bg-aurora { animation: none; }
  ::view-transition-group(*), ::view-transition-old(*), ::view-transition-new(*) { animation: none !important; }
}

/* nav */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 50; backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  background: linear-gradient(rgba(5,5,5,0.9), rgba(5,5,5,0.45)); border-bottom: 1px solid rgba(255,255,255,0.06); }
.nav-in { max-width: var(--wrap); margin: 0 auto; padding: 14px var(--gut); display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand { display: flex; align-items: center; gap: 11px; text-decoration: none; }
.brand svg { width: 26px; height: 26px; flex: none; transform-origin: 47.7% 53.7%; } /* origin = star centre */
.brand.spin svg { animation: brandspin 1.1s cubic-bezier(.16,1,.3,1); }
@keyframes brandspin { from { transform: rotate(360deg) scale(.6); opacity: .2; } to { transform: none; opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .brand.spin svg { animation: none; } }
.brand span { font-weight: 700; letter-spacing: 0.2em; color: #fff; font-size: 16px; }
.nav-links { display: flex; gap: 28px; align-items: center; font-family: var(--mono); font-size: 12.5px; letter-spacing: 0.3px; }
.nav-links a { color: #9FB0BF; text-decoration: none; padding: 6px 0; border-bottom: 1px solid transparent; transition: color .2s, border-color .2s; white-space: nowrap; }
.nav-links a:hover { color: var(--cyan); }
.nav-links a[aria-current="page"] { color: #fff; border-bottom-color: var(--cyan); }
.btn-ghost { padding: 9px 18px; border: 1px solid rgba(0,212,255,0.4); border-radius: var(--r-sm); color: var(--cyan); text-decoration: none; background: rgba(0,212,255,0.06);
  font-family: var(--mono); font-size: 12.5px; transition: background .2s, transform .15s; white-space: nowrap; }
.btn-ghost:hover { background: rgba(0,212,255,0.16); color: var(--cyan); }
.burger { display: none; width: 40px; height: 40px; border: 1px solid var(--line-2); border-radius: var(--r-sm); background: transparent; cursor: pointer; position: relative; }
.burger span, .burger span::before, .burger span::after { position: absolute; left: 11px; width: 16px; height: 1.5px; background: #fff; content: ''; transition: transform .2s, background .2s; }
.burger span { top: 19px; } .burger span::before { top: -5px; left: 0; } .burger span::after { top: 5px; left: 0; }
.nav.open .burger span { background: transparent; }
.nav.open .burger span::before { transform: translateY(5px) rotate(45deg); }
.nav.open .burger span::after { transform: translateY(-5px) rotate(-45deg); }
@media (max-width: 900px) {
  .burger { display: block; }
  .nav-links { position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0;
    background: rgba(5,5,5,0.97); border-bottom: 1px solid var(--line); padding: 8px var(--gut) 18px;
    opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity .25s var(--ease), transform .25s var(--ease), visibility 0s .25s; }
  .nav.open .nav-links { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
  .nav-links a { padding: 13px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
  .nav-links a[aria-current="page"] { border-bottom-color: var(--line); color: var(--cyan); }
  .nav-cta { display: none; }
}

/* type */
.eyebrow { font-family: var(--mono); color: var(--cyan); font-size: 13px; letter-spacing: 3px; text-transform: uppercase; margin-bottom: 16px; text-wrap: balance; }
.h1 { font-weight: 700; font-size: clamp(44px, 7vw, 104px); line-height: 0.95; letter-spacing: -0.035em; color: #fff; text-wrap: balance; max-width: 1050px; }
.h2 { font-weight: 700; font-size: clamp(32px, 4.4vw, 60px); line-height: 1.02; letter-spacing: -0.03em; color: #fff; text-wrap: balance; }
.h3 { font-weight: 600; font-size: 24px; color: #fff; letter-spacing: -0.3px; }
.grad { color: var(--cyan); }
.lead { color: var(--fg-2); font-size: clamp(16px, 1.6vw, 19px); line-height: 1.65; max-width: 640px; margin-top: 24px; text-wrap: pretty; }
.muted { color: var(--fg-2); }
.mono { font-family: var(--mono); }

.page-head { padding-top: 150px; padding-bottom: 40px; }
.hero { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 56px; align-items: center; padding-top: 130px; min-height: 88vh; min-height: 88svh; }
.hero .h1 { font-size: clamp(38px, 4.2vw, 60px); }
.hero-shots { position: relative; aspect-ratio: 16 / 13; }
.hero-shots img { position: absolute; width: 78%; height: auto; border-radius: var(--r); border: 1px solid var(--line-2); box-shadow: 0 30px 80px rgba(0,0,0,0.6); }
.hero-shots img:nth-child(1) { top: 0; right: 0; }
.hero-shots img:nth-child(2) { top: 20%; left: 0; }
.hero-shots img:nth-child(3) { bottom: 0; right: 8%; }
@media (max-width: 1023px) {
  .hero { grid-template-columns: 1fr; gap: 40px; min-height: 0; }
  .hero-shots { aspect-ratio: auto; }
  .hero-shots img { position: static; width: 100%; }
  .hero-shots img:not(:first-child) { display: none; }
}
.stats { display: flex; flex-wrap: wrap; gap: 12px 36px; padding-top: 8px; padding-bottom: 24px; font-family: var(--mono); font-size: 13px; color: var(--fg-2); }
.stats b { color: #fff; font-size: 22px; font-family: var(--sans); margin-right: 8px; }
.section { padding-top: 72px; padding-bottom: 72px; }
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; padding-bottom: 18px; margin-bottom: 28px; border-bottom: 1px solid var(--line); }
.section-head h2 { font-size: clamp(26px, 3vw, 38px); font-weight: 600; color: #fff; letter-spacing: -0.02em; }
.section-head .count { font-family: var(--mono); font-size: 12px; color: var(--fg-3); white-space: nowrap; }

/* buttons */
.btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 14px 24px; border-radius: var(--r-sm); font-family: var(--mono); font-size: 13.5px; text-decoration: none; transition: transform .25s var(--ease), box-shadow .25s, background .25s, border-color .25s; }
.btn-primary { background: var(--cyan); color: #050505; font-weight: 700; }
.btn-primary:hover { color: #050505; background: #5CE1FF; transform: translateY(-2px); }
.btn-line { border: 1px solid var(--line-2); color: var(--fg); background: rgba(255,255,255,0.03); }
.btn-line:hover { color: #fff; border-color: var(--cyan); background: rgba(0,212,255,0.06); }
.btn:active, .btn-ghost:active { transform: scale(.97); transition-duration: .08s; }

/* status pill */
.pill { display: inline-flex; align-items: center; gap: 7px; padding: 5px 11px; border-radius: 100px; background: rgba(5,5,5,0.7); border: 1px solid var(--line-2);
  font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.8px; color: var(--fg); text-transform: uppercase; white-space: nowrap; }
.pill i { width: 7px; height: 7px; border-radius: 50%; border: 1.5px solid currentColor; }
.pill.live i { animation: pulsering 2.2s infinite; }
.legend { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 36px; }

/* product cards */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); gap: 22px; }
.card { position: relative; display: flex; flex-direction: column; border-radius: var(--r); overflow: hidden; background: var(--panel); border: 1px solid var(--line);
  text-decoration: none; color: inherit; transition: transform .4s var(--ease), border-color .3s; }
.card:hover { transform: translateY(-4px); border-color: color-mix(in srgb, var(--accent) 55%, transparent); color: inherit; }
.card-bar { position: absolute; left: 0; right: 0; top: 0; height: 2px; z-index: 2; background: var(--accent); }
.card-media { position: relative; aspect-ratio: 16 / 10; overflow: hidden;
  background: radial-gradient(circle at 50% 45%, color-mix(in srgb, var(--accent) 22%, transparent), transparent 60%),
    repeating-linear-gradient(45deg, #0b1016, #0b1016 11px, #0e141b 11px, #0e141b 22px); }
.card-media .icon-frame { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; }
.card-media .icon { width: 112px; height: 112px; transition: transform .6s var(--ease); }
.card:active { transform: translateY(-2px) scale(.99); }
.card:hover .card-media .icon { transform: scale(1.06); }
.icon { width: 76px; height: 76px; border-radius: 22%; overflow: hidden; border: 1px solid var(--line-2); flex: none; }
.icon img { width: 100%; height: 100%; }
.card-media > img { width: 100%; height: 100%; object-fit: cover; object-position: top left; transition: transform .8s var(--ease); }
.card:hover .card-media > img { transform: scale(1.03); }
.card.phone .card-media > img { object-fit: contain; object-position: center bottom; padding-top: 18px; }
.card-title { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 12px; }
.card-title .h3 { white-space: nowrap; }
.card-title .icon { width: 32px; height: 32px; }
.card-title .pill { margin-left: auto; }
/* desktop rows of three: layout() in site.js marks cards that span 2 columns (.wide) or the whole row (.full) */
@media (min-width: 1024px) {
  .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-flow: dense; }
  .card.wide { grid-column: span 2; flex-direction: row; }
  .card.full { grid-column: 1 / -1; flex-direction: row; }
  .card.wide .card-media, .card.full .card-media { flex: 1.55; aspect-ratio: auto; min-height: 300px; }
  .card.wide .card-body, .card.full .card-body { padding: 32px; justify-content: center; }
}
.card-body { padding: 22px 24px 24px; display: flex; flex-direction: column; gap: 10px; flex: 1; min-width: 0; }
.card-body p { font-size: 14.5px; line-height: 1.6; color: var(--fg-2); text-wrap: pretty; }
.card-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: auto; padding-top: 14px; border-top: 1px solid rgba(255,255,255,0.07);
  font-family: var(--mono); font-size: 11px; color: var(--fg-3); }

/* feature / info blocks */
/* about: company story. Same rail as the portfolio's About timeline: a glowing dot per step, joined by a
   gradient segment from this step's colour (--c) to the next one's (--n); the last step pulses. */
.story { list-style: none; }
.story li { position: relative; padding: 0 0 34px 35px; }
.story li::before { content: ''; position: absolute; left: 0; top: 1px; width: 15px; height: 15px; border-radius: 50%; background: var(--c); box-shadow: 0 0 14px var(--c); }
.story li::after { content: ''; position: absolute; left: 6.5px; top: 16px; bottom: -1px; width: 2px; background: linear-gradient(var(--c), var(--n)); }
.story li:last-child { padding-bottom: 0; }
.story li:last-child::before { background: #fff; box-shadow: 0 0 16px var(--cyan); animation: pulsering 2.4s infinite; }
.story li:last-child::after { content: none; }
.story li:nth-child(1) { --c: #7C3AED; --n: #5B5CF2; }
.story li:nth-child(2) { --c: #5B5CF2; --n: #3A85F7; }
.story li:nth-child(3) { --c: #3A85F7; --n: #00D4FF; }
.story li:nth-child(4) { --c: #00D4FF; --n: #00DFE0; }
.story li:nth-child(5) { --c: #00DFE0; --n: #00EAC9; }
.story li:nth-child(6) { --c: #00EAC9; --n: #00FFB3; }
.story li:nth-child(7) { --c: #00FFB3; --n: rgba(0,255,179,0.2); }
.story time { display: block; font-family: var(--mono); font-size: 12px; line-height: 17px; letter-spacing: 2px; color: var(--c); }
.story li:last-child time, .story li:last-child h3 { color: var(--cyan); }
.story h3 { font-size: 18px; font-weight: 600; color: #fff; margin: 4px 0 4px; }
.story p { color: var(--fg-2); font-size: 14.5px; line-height: 1.65; max-width: 640px; text-wrap: pretty; }
.tl-products { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.tl-products a { display: inline-flex; align-items: center; gap: 10px; padding: 8px 12px 8px 8px; border-radius: var(--r-sm); border: 1px solid var(--line); background: rgba(13,17,23,0.6);
  color: #fff; font-weight: 500; font-size: 14.5px; text-decoration: none; transition: border-color .25s, transform .25s var(--ease); }
.tl-products a:hover { border-color: color-mix(in srgb, var(--accent) 55%, transparent); transform: translateY(-2px); }
.tl-products a:active { transform: translateY(0); }
.tl-products .icon { width: 32px; height: 32px; }
.tl-products .icon img { width: 100%; height: 100%; }
.tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 18px; }
.tile { padding: 26px; border-radius: var(--r); background: rgba(13,17,23,0.6); border: 1px solid var(--line); backdrop-filter: blur(10px); transition: border-color .3s, transform .4s var(--ease); }
.tile h3 { font-size: 19px; font-weight: 600; color: #fff; margin-bottom: 10px; }
.tile p, .tile li { color: var(--fg-2); font-size: 14.5px; line-height: 1.65; }
.tile ul { list-style: none; display: grid; gap: 8px; margin-top: 14px; }
.tile li::before { content: '▸ '; color: var(--cyan); }
.tile .k { font-family: var(--mono); font-size: 11px; letter-spacing: 2px; color: var(--cyan); margin-bottom: 14px; display: block; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { padding: 6px 11px; border-radius: var(--r-sm); background: rgba(255,255,255,0.04); border: 1px solid var(--line); color: #9fb0bf; font-size: 12.5px; font-family: var(--mono); }

/* product page */
.p-head { display: flex; gap: 22px; align-items: center; flex-wrap: wrap; margin-bottom: 8px; }
.p-head .icon { width: 64px; height: 64px; }
.p-meta { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-top: 22px; font-family: var(--mono); font-size: 12px; color: var(--fg-3); }
.gallery { margin-top: 48px; }
.gallery-main { position: relative; border-radius: var(--r); overflow: hidden; border: 1px solid var(--line-2); background: #0b1016; box-shadow: 0 30px 80px rgba(0,0,0,0.5); }
.gallery-main img { width: 100%; height: auto; }
.gallery.phone .gallery-main { max-width: 360px; margin: 0 auto; border-radius: 36px; border: 8px solid #1a1f27; }
.thumbs { display: flex; gap: 12px; margin-top: 16px; overflow-x: auto; padding-bottom: 6px; }
.thumbs button { flex: none; width: 150px; aspect-ratio: 16/10; border-radius: var(--r-sm); overflow: hidden; border: 1px solid var(--line-2); background: #0b1016; cursor: pointer; opacity: .55; transition: opacity .2s, border-color .2s; padding: 0; }
.gallery.phone .thumbs { justify-content: center; }
.gallery.phone .thumbs button { width: 70px; aspect-ratio: 9/19; }
.thumbs button[aria-pressed="true"], .thumbs button:hover { opacity: 1; border-color: var(--accent); }
.thumbs img { width: 100%; height: 100%; object-fit: cover; object-position: top left; }
.no-shot { aspect-ratio: 16/9; display: flex; flex-direction: column; gap: 14px; align-items: center; justify-content: center;
  background: radial-gradient(circle at 50% 45%, color-mix(in srgb, var(--accent) 22%, transparent), transparent 60%), repeating-linear-gradient(45deg, #0b1016, #0b1016 11px, #0e141b 11px, #0e141b 22px); }
.no-shot .icon { width: 110px; height: 110px; }
.no-shot span { font-family: var(--mono); font-size: 12px; color: var(--fg-3); }
.two { display: grid; grid-template-columns: 1.2fr 1fr; gap: 48px; align-items: start; }
@media (max-width: 900px) { .two { grid-template-columns: 1fr; gap: 32px; } }
.credit { margin-top: 18px; font-family: var(--mono); font-size: 12px; color: var(--fg-3); }
.pager { display: flex; justify-content: space-between; gap: 16px; margin-top: 64px; padding-top: 24px; border-top: 1px solid var(--line); font-family: var(--mono); font-size: 13px; }
.pager a { color: var(--fg-2); text-decoration: none; } .pager a:hover { color: var(--cyan); }

/* case studies */
.case { display: grid; grid-template-columns: 300px 1fr; gap: 40px; padding: 40px 0; border-top: 1px solid var(--line); }
.case:first-child { border-top: none; }
.case dl { display: grid; gap: 22px; }
.case dt { font-family: var(--mono); font-size: 11px; letter-spacing: 2px; color: var(--cyan); text-transform: uppercase; margin-bottom: 6px; }
.case dd { color: var(--fg-2); font-size: 15.5px; line-height: 1.7; max-width: 760px; }
.case .who { font-family: var(--mono); font-size: 12px; color: var(--fg-3); margin-top: 10px; line-height: 1.7; }
@media (max-width: 900px) { .case { grid-template-columns: 1fr; gap: 20px; } }

/* how we work: three steps on one rail, no cards */
.flow { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 48px; }
.flow h3 { font-size: clamp(28px, 3vw, 40px); font-weight: 600; color: #fff; letter-spacing: -0.02em; margin-bottom: 12px; }
.flow h3::after { content: '→' / ''; color: var(--fg-3); font-weight: 400; margin-left: 16px; }
.flow li:last-child h3::after { content: none; }
.flow p { color: var(--fg-2); font-size: 15px; line-height: 1.65; max-width: 40ch; text-wrap: pretty; }
@media (max-width: 900px) { .flow { grid-template-columns: 1fr; gap: 28px; } .flow h3::after { content: none; } }

/* client work teaser: rows, not cards */
.case-list { border-top: 1px solid var(--line); }
.case-row { display: grid; grid-template-columns: 260px minmax(0, 1fr) auto; gap: 32px; align-items: start; padding: 28px 0; border-bottom: 1px solid var(--line);
  text-decoration: none; color: inherit; }
.case-row:hover { color: inherit; }
.case-who { font-family: var(--mono); font-size: 12.5px; color: var(--fg-3); padding-top: 6px; }
.case-row .h3 { display: block; transition: color .2s; }
.case-row p { color: var(--fg-2); font-size: 15px; line-height: 1.6; margin-top: 8px; max-width: 65ch; }
.case-go { font-size: 22px; color: var(--fg-3); transition: transform .3s var(--ease), color .2s; }
.case-row:hover .h3, .case-row:hover .case-go { color: var(--cyan); }
.case-row:hover .case-go { transform: translateX(4px); }
@media (max-width: 800px) { .case-row { grid-template-columns: 1fr; gap: 6px; } .case-go { display: none; } }

/* founder */
.founder { display: grid; grid-template-columns: 380px 1fr; gap: 56px; align-items: start; }
@media (max-width: 900px) { .founder { grid-template-columns: 1fr; gap: 32px; } }
.portrait { position: relative; border-radius: var(--r); overflow: hidden; border: 1px solid var(--line-2); max-width: 380px; }
.timeline { list-style: none; display: grid; gap: 0; margin-top: 8px; }
.timeline li { position: relative; padding: 0 0 26px 28px; border-left: 1px solid var(--line-2); margin-left: 6px; }
.timeline li::before { content: ''; position: absolute; left: -6px; top: 4px; width: 11px; height: 11px; border-radius: 50%; background: var(--bg); border: 2px solid var(--cyan); }
.timeline li:last-child { border-left-color: transparent; }
.timeline li.now::before { background: var(--mint); border-color: var(--mint); animation: pulsering 2.2s infinite; }
.timeline b { display: block; color: #fff; font-weight: 600; font-size: 17px; }
.timeline span { color: var(--fg-2); font-size: 14px; }
blockquote { border-left: 2px solid var(--cyan); padding: 6px 0 6px 20px; color: #fff; font-size: clamp(20px, 2.2vw, 26px); line-height: 1.4; letter-spacing: -0.01em; margin: 32px 0; }

/* contact */
.contact { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 14px; margin-top: 32px; }
.contact a { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 20px 22px; border-radius: var(--r); border: 1px solid var(--line-2);
  background: rgba(13,17,23,0.6); color: var(--fg); text-decoration: none; font-family: var(--mono); font-size: 13.5px; transition: border-color .2s, background .2s; }
.contact a:hover { border-color: var(--cyan); background: rgba(0,212,255,0.06); color: #fff; }
.contact a small { display: block; color: var(--fg-3); font-size: 11px; letter-spacing: 1.5px; text-transform: uppercase; margin-bottom: 4px; }
.cta-band { margin: 40px 0 0; padding: 56px; border-radius: var(--r); border: 1px solid var(--line-2); text-align: left;
  background: radial-gradient(circle at 15% 0%, rgba(124,58,237,0.25), transparent 55%), radial-gradient(circle at 90% 100%, rgba(0,212,255,0.18), transparent 55%), rgba(10,14,20,0.8); }
@media (max-width: 600px) { .cta-band { padding: 32px 22px; } }

/* footer */
footer { margin-top: 80px; border-top: 1px solid var(--line); }
.foot { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; padding: 44px 0 30px; }
.foot h4 { font-family: var(--mono); font-size: 11px; letter-spacing: 2px; color: var(--fg-3); font-weight: 400; margin-bottom: 14px; text-transform: uppercase; }
.foot ul { list-style: none; display: grid; gap: 9px; }
.foot ul a { color: var(--fg); text-decoration: none; font-size: 14.5px; } .foot ul a:hover { color: var(--cyan); }
.foot p { color: var(--fg-2); font-size: 14px; margin-top: 12px; max-width: 280px; }
.foot-base { display: flex; justify-content: space-between; gap: 16px; padding: 18px 0 30px; border-top: 1px solid rgba(255,255,255,0.05); font-family: var(--mono); font-size: 11.5px; color: var(--fg-3); flex-wrap: wrap; }
@media (max-width: 700px) { .foot { grid-template-columns: 1fr 1fr; } .foot > div:first-child { grid-column: 1 / -1; } }
.founder-teaser { display: grid; grid-template-columns: auto 1fr; gap: 48px; align-items: center; }
.founder-teaser img { width: 180px; height: 180px; border-radius: 50%; object-fit: cover; border: 1px solid var(--line-2); }
@media (max-width: 700px) { .founder-teaser { grid-template-columns: 1fr; gap: 22px; } .founder-teaser img { width: 120px; height: 120px; } }
