/* =====================================================
   BlekCode — brand-aligned (dark / light) + interactive
   Brand palette: #111111 Blek Black · #4A4A4A Code Grey ·
   #F2F2F2 Soft White · #909090 Reverse Grey ·
   #1A1A1A Deep Charcoal · #D9D9D9 Soft Grey · #FFFFFF Pure White
   ===================================================== */

:root {
  /* Raw brand anchors */
  --blek-black: #111111;
  --code-grey: #4A4A4A;
  --soft-white: #F2F2F2;
  --reverse-grey: #909090;
  --deep-charcoal: #1A1A1A;
  --soft-grey: #D9D9D9;
  --pure-white: #FFFFFF;

  /* Semantic tokens — DARK is the default (Reverse) */
  --bg: #111111;
  --bg-soft: #161616;
  --surface-1: #1A1A1A;
  --surface-2: #1F1F1F;
  --surface-3: #262626;
  --surface-4: #2D2D2D;
  --text: #F2F2F2;
  --text-strong: #FFFFFF;
  --muted: #909090;
  --muted-2: #5A5A5A;
  --line: rgba(242, 242, 242, 0.08);
  --line-strong: rgba(242, 242, 242, 0.18);

  --accent-bg: #F2F2F2;
  --accent-fg: #111111;
  --accent-bg-hover: #FFFFFF;

  --tint-soft: rgba(242, 242, 242, 0.02);
  --tint-softer: rgba(242, 242, 242, 0.015);
  --bg-radial-1: rgba(242, 242, 242, 0.035);
  --bg-radial-2: rgba(242, 242, 242, 0.02);
  --grid-line: rgba(242, 242, 242, 0.025);
  --grid-line-strong: rgba(242, 242, 242, 0.045);
  --orb-1: rgba(242, 242, 242, 0.06);
  --orb-2: rgba(242, 242, 242, 0.035);
  --vignette: rgba(17, 17, 17, 0.6);
  --accent-glow: rgba(242, 242, 242, 0.45);
  --glyph: rgba(242, 242, 242, 0.85);
  --glyph-glow: rgba(242, 242, 242, 0.15);
  --spotlight: rgba(242, 242, 242, 0.06);
  --cursor-glow: rgba(242, 242, 242, 0.06);

  --nav-bg: rgba(17, 17, 17, 0.55);
  --nav-bg-scrolled: rgba(17, 17, 17, 0.88);
  --nav-bg-mobile: rgba(17, 17, 17, 0.96);

  --grain-blend: overlay;
  --grain-opacity: 0.04;

  --work-cover-1: radial-gradient(circle at 30% 30%, #2A2A2A, #141414);
  --work-cover-2: radial-gradient(circle at 70% 40%, #2D2D2D, #181818);
  --work-cover-3: radial-gradient(circle at 50% 70%, #232323, #111111);
  --work-cover-4: radial-gradient(circle at 80% 20%, #303030, #161616);

  --font-sans: 'Sora', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --font-mono: 'Sora', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;

  --max: 1240px;
  --pad-x: clamp(20px, 4vw, 56px);
  --radius: 12px;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-out-back: cubic-bezier(0.34, 1.56, 0.64, 1);
}

[data-theme="light"] {
  /* Primary Logo mode — light surface, Blek Black emphasis */
  --bg: #FFFFFF;
  --bg-soft: #F2F2F2;
  --surface-1: #FFFFFF;
  --surface-2: #F2F2F2;
  --surface-3: #EAEAEA;
  --surface-4: #D9D9D9;
  --text: #1A1A1A;
  --text-strong: #111111;
  --muted: #4A4A4A;
  --muted-2: #909090;
  --line: rgba(17, 17, 17, 0.08);
  --line-strong: rgba(17, 17, 17, 0.16);

  --accent-bg: #111111;
  --accent-fg: #FFFFFF;
  --accent-bg-hover: #1A1A1A;

  --tint-soft: rgba(17, 17, 17, 0.025);
  --tint-softer: rgba(17, 17, 17, 0.015);
  --bg-radial-1: rgba(17, 17, 17, 0.04);
  --bg-radial-2: rgba(17, 17, 17, 0.022);
  --grid-line: rgba(17, 17, 17, 0.045);
  --grid-line-strong: rgba(17, 17, 17, 0.07);
  --orb-1: rgba(17, 17, 17, 0.045);
  --orb-2: rgba(17, 17, 17, 0.025);
  --vignette: rgba(255, 255, 255, 0.65);
  --accent-glow: rgba(17, 17, 17, 0.32);
  --glyph: rgba(17, 17, 17, 0.78);
  --glyph-glow: rgba(17, 17, 17, 0.1);
  --spotlight: rgba(17, 17, 17, 0.045);
  --cursor-glow: rgba(17, 17, 17, 0.045);

  --nav-bg: rgba(255, 255, 255, 0.65);
  --nav-bg-scrolled: rgba(255, 255, 255, 0.92);
  --nav-bg-mobile: rgba(255, 255, 255, 0.98);

  --grain-blend: multiply;
  --grain-opacity: 0.035;

  --work-cover-1: radial-gradient(circle at 30% 30%, #EAEAEA, #FAFAFA);
  --work-cover-2: radial-gradient(circle at 70% 40%, #EFEFEF, #F5F5F5);
  --work-cover-3: radial-gradient(circle at 50% 70%, #F2F2F2, #FFFFFF);
  --work-cover-4: radial-gradient(circle at 80% 20%, #E2E2E2, #F4F4F4);
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  scroll-behavior: smooth;
}

body {
  overflow-x: hidden;
  background:
    radial-gradient(1200px 600px at 80% -10%, var(--bg-radial-1), transparent 60%),
    radial-gradient(900px 500px at -10% 30%, var(--bg-radial-2), transparent 60%),
    var(--bg);
  transition: background-color .4s var(--ease), color .4s var(--ease);
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; transition: color .2s var(--ease); }
a:hover { color: var(--text-strong); }

button { font: inherit; cursor: pointer; border: 0; background: transparent; color: inherit; }

::selection { background: var(--text-strong); color: var(--bg); }

/* Theme transition: smooth cross-fade across all elements during theme swap */
.theme-transition,
.theme-transition *,
.theme-transition *::before,
.theme-transition *::after {
  transition: background-color .35s var(--ease),
              background .35s var(--ease),
              color .35s var(--ease),
              border-color .35s var(--ease),
              fill .35s var(--ease) !important;
}

/* View-transitions theme swap (circular reveal) */
::view-transition-old(root),
::view-transition-new(root) {
  animation: none;
  mix-blend-mode: normal;
}
::view-transition-old(root) { z-index: 1; }
::view-transition-new(root) { z-index: 2; }
@keyframes circle-in {
  from { clip-path: circle(0% at var(--reveal-x, 50%) var(--reveal-y, 50%)); }
  to   { clip-path: circle(150% at var(--reveal-x, 50%) var(--reveal-y, 50%)); }
}
[data-theme] ::view-transition-new(root) {
  animation: circle-in .55s var(--ease);
}

/* Subtle grain overlay */
.grain {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  opacity: var(--grain-opacity);
  mix-blend-mode: var(--grain-blend);
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix type='matrix' values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 0.6 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
}
[data-theme="light"] .grain { filter: invert(1); }

/* Scroll progress bar */
.scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 2px;
  width: 100%;
  transform: scaleX(0);
  transform-origin: 0 50%;
  background: var(--text-strong);
  z-index: 100;
  will-change: transform;
}

/* Cursor-following spotlight (desktop only) */
.cursor-glow {
  position: fixed;
  pointer-events: none;
  width: 520px;
  height: 520px;
  left: 0; top: 0;
  margin-left: -260px;
  margin-top: -260px;
  background: radial-gradient(circle, var(--cursor-glow), transparent 60%);
  z-index: 1;
  opacity: 0;
  transition: opacity .4s var(--ease);
  mix-blend-mode: screen;
  will-change: transform;
}
[data-theme="light"] .cursor-glow { mix-blend-mode: multiply; }
.cursor-glow.is-visible { opacity: 1; }
@media (hover: none), (max-width: 820px) {
  .cursor-glow { display: none; }
}

.container {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding-left: var(--pad-x);
  padding-right: var(--pad-x);
  position: relative;
  z-index: 2;
}

/* =====================================================
   NAV
   ===================================================== */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px var(--pad-x);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  background: var(--nav-bg);
  border-bottom: 1px solid transparent;
  transition: border-color .3s var(--ease), background-color .3s var(--ease);
}
.nav.is-scrolled {
  background: var(--nav-bg-scrolled);
  border-bottom-color: var(--line);
}
.nav__brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-sans);
  font-size: 18px;
  color: var(--text-strong);
  margin-right: auto;
  line-height: 1;
}
.logo-mark {
  display: inline-flex;
  align-items: center; justify-content: center;
  width: 24px; height: 26px;
  color: var(--text-strong);
  transition: transform .5s var(--ease-out-back);
}
.logo-mark svg { width: 100%; height: 100%; display: block; }
.nav__brand:hover .logo-mark { transform: scale(1.06); }
.logo-word {
  letter-spacing: 0.01em;
  font-weight: 800;
  text-transform: uppercase;
}
.logo-accent {
  color: var(--muted);
  font-weight: 300;
  margin-left: 0.04em;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 14px;
  font-weight: 500;
  color: var(--muted);
}
.nav__links a {
  position: relative;
}
.nav__links a:not(.nav__cta)::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -6px;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: 0 50%;
  transition: transform .35s var(--ease);
}
.nav__links a:not(.nav__cta):hover { color: var(--text-strong); }
.nav__links a:not(.nav__cta):hover::after { transform: scaleX(1); }

.nav__cta {
  padding: 10px 18px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  color: var(--text-strong) !important;
  background: var(--surface-2);
  transition: background-color .25s var(--ease), border-color .25s var(--ease), color .25s var(--ease);
}
.nav__cta:hover {
  background: var(--accent-bg);
  color: var(--accent-fg) !important;
  border-color: var(--accent-bg);
}

/* Theme toggle */
.theme-toggle {
  width: 38px; height: 38px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: var(--surface-2);
  display: inline-flex;
  align-items: center; justify-content: center;
  color: var(--text-strong);
  transition: background-color .25s var(--ease), border-color .25s var(--ease), transform .5s var(--ease-out-back);
  flex-shrink: 0;
}
.theme-toggle:hover {
  background: var(--surface-3);
  transform: rotate(28deg);
}
.theme-toggle svg { width: 16px; height: 16px; }
.theme-toggle__sun { display: none; }
.theme-toggle__moon { display: block; }
[data-theme="light"] .theme-toggle__sun { display: block; }
[data-theme="light"] .theme-toggle__moon { display: none; }

.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 4px;
  width: 32px; height: 32px;
  align-items: center; justify-content: center;
}
.nav__toggle span {
  width: 20px; height: 1.5px;
  background: var(--text-strong);
  transition: transform .3s var(--ease), opacity .3s var(--ease);
}

@media (max-width: 820px) {
  .nav__links {
    position: fixed;
    inset: 64px 0 auto 0;
    flex-direction: column;
    gap: 0;
    padding: 24px var(--pad-x);
    background: var(--nav-bg-mobile);
    border-bottom: 1px solid var(--line);
    transform: translateY(-110%);
    transition: transform .35s var(--ease);
  }
  .nav__links a { padding: 14px 0; width: 100%; border-bottom: 1px solid var(--line); }
  .nav__links a:last-child { border-bottom: 0; }
  .nav__cta { width: max-content; margin-top: 12px; }
  .nav__toggle { display: inline-flex; }
  .nav.is-open .nav__links { transform: translateY(0); }
  .nav.is-open .nav__toggle span:nth-child(1) { transform: translateY(5.5px) rotate(45deg); }
  .nav.is-open .nav__toggle span:nth-child(2) { opacity: 0; }
  .nav.is-open .nav__toggle span:nth-child(3) { transform: translateY(-5.5px) rotate(-45deg); }
}

/* =====================================================
   HERO
   ===================================================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 140px 0 80px;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}
.hero__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, transparent 60%, var(--vignette)),
    repeating-linear-gradient(0deg, var(--grid-line) 0 1px, transparent 1px 80px),
    repeating-linear-gradient(90deg, var(--grid-line) 0 1px, transparent 1px 80px);
  mask-image: radial-gradient(ellipse at center, black 40%, transparent 80%);
}
.hero__orb {
  position: absolute;
  width: 600px; height: 600px;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.7;
  will-change: transform;
}
.hero__orb--a {
  top: -200px; right: -150px;
  background: radial-gradient(circle, var(--orb-1), transparent 60%);
}
.hero__orb--b {
  bottom: -250px; left: -100px;
  background: radial-gradient(circle, var(--orb-2), transparent 60%);
}

.hero__inner { position: relative; z-index: 2; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: 11.5px;
  letter-spacing: 0.22em;
  color: var(--muted);
  background: var(--tint-soft);
  margin-bottom: 28px;
  text-transform: uppercase;
}
.dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--text-strong);
  box-shadow: 0 0 12px var(--accent-glow);
  animation: pulse 2.4s var(--ease) infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.85); }
}

.hero__title {
  font-size: clamp(40px, 7vw, 92px);
  line-height: 1.02;
  letter-spacing: -0.03em;
  font-weight: 800;
  color: var(--text-strong);
  margin: 0 0 26px;
  max-width: 14ch;
}
/* Word-by-word reveal */
.hero__title .word {
  display: inline-block;
  opacity: 0;
  transform: translateY(0.4em);
  animation: wordIn .9s var(--ease) forwards;
}
@keyframes wordIn {
  to { opacity: 1; transform: translateY(0); }
}

.hero__lede {
  max-width: 56ch;
  font-size: clamp(16px, 1.4vw, 19px);
  color: var(--muted);
  margin: 0 0 40px;
  opacity: 0;
  transform: translateY(12px);
  animation: fadeUp .9s var(--ease) .6s forwards;
}
@keyframes fadeUp { to { opacity: 1; transform: translateY(0); } }

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 80px;
  opacity: 0;
  transform: translateY(10px);
  animation: fadeUp .9s var(--ease) .75s forwards;
}

.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 24px;
  border-radius: 999px;
  font-weight: 500;
  font-size: 15px;
  letter-spacing: 0.01em;
  border: 1px solid transparent;
  transition: background-color .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), box-shadow .35s var(--ease);
  will-change: transform;
  overflow: hidden;
  isolation: isolate;
}
.btn::before {
  content: '';
  position: absolute;
  width: 140%; height: 140%;
  left: -20%; top: -20%;
  background: radial-gradient(circle at var(--mx,50%) var(--my,50%), var(--spotlight), transparent 55%);
  opacity: 0;
  transition: opacity .25s var(--ease);
  z-index: -1;
}
.btn:hover::before { opacity: 1; }
.btn--primary {
  background: var(--accent-bg);
  color: var(--accent-fg);
  border-color: var(--accent-bg);
}
.btn--primary:hover {
  background: var(--accent-bg-hover);
  border-color: var(--accent-bg-hover);
  box-shadow: 0 10px 30px -10px var(--accent-glow);
}
.btn--ghost {
  background: transparent;
  color: var(--text-strong);
  border-color: var(--line-strong);
}
.btn--ghost:hover {
  border-color: var(--text-strong);
  background: var(--surface-3);
}

.hero__meta {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
  max-width: 760px;
  opacity: 0;
  transform: translateY(12px);
  animation: fadeUp .9s var(--ease) .9s forwards;
}
.hero__meta div {
  display: flex; flex-direction: column; gap: 4px;
}
.hero__meta strong {
  font-size: clamp(22px, 2.6vw, 32px);
  font-weight: 600;
  color: var(--text-strong);
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}
.hero__meta span {
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: 11.5px;
  letter-spacing: 0.18em;
  color: var(--muted);
  text-transform: uppercase;
}
@media (max-width: 720px) {
  .hero__meta { grid-template-columns: repeat(2, 1fr); }
}

.hero__scroll {
  position: absolute;
  left: var(--pad-x);
  bottom: 32px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: 11px;
  letter-spacing: 0.22em;
  color: var(--muted);
  text-transform: uppercase;
  z-index: 2;
}
.hero__scroll .line {
  width: 60px; height: 1px;
  background: linear-gradient(90deg, var(--muted), transparent);
  position: relative;
  overflow: hidden;
}
.hero__scroll .line::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--text-strong);
  transform: translateX(-100%);
  animation: scrollLine 2.6s var(--ease) infinite;
}
@keyframes scrollLine {
  0% { transform: translateX(-100%); }
  60% { transform: translateX(100%); }
  100% { transform: translateX(100%); }
}

/* =====================================================
   TICKER
   ===================================================== */
.ticker {
  border-bottom: 1px solid var(--line);
  background: var(--bg-soft);
  overflow: hidden;
  padding: 22px 0;
  position: relative;
  z-index: 2;
}
.ticker__track {
  display: flex;
  gap: 48px;
  white-space: nowrap;
  animation: tick 50s linear infinite;
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 13px;
  letter-spacing: 0.22em;
  color: var(--muted);
  text-transform: uppercase;
  transition: animation-duration .4s var(--ease);
}
.ticker:hover .ticker__track { animation-duration: 120s; }
.ticker__track span:nth-child(even) { color: var(--muted-2); }
@keyframes tick {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* =====================================================
   SECTIONS
   ===================================================== */
.section {
  padding: clamp(80px, 10vw, 140px) 0;
  position: relative;
  z-index: 2;
  border-bottom: 1px solid var(--line);
}
.section--alt {
  background: linear-gradient(180deg, var(--bg-soft), var(--bg));
}
.section__head {
  max-width: 760px;
  margin-bottom: 64px;
}
.section__head--center {
  text-align: center;
  margin-left: auto; margin-right: auto;
}
.section__num {
  display: inline-block;
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 11.5px;
  letter-spacing: 0.22em;
  color: var(--muted);
  text-transform: uppercase;
  margin-bottom: 18px;
}
.section__title {
  font-size: clamp(32px, 4.6vw, 60px);
  line-height: 1.05;
  letter-spacing: -0.025em;
  font-weight: 700;
  color: var(--text-strong);
  margin: 0 0 18px;
}
.section__sub {
  font-size: clamp(15px, 1.3vw, 18px);
  color: var(--muted);
  max-width: 60ch;
  margin: 0;
}
.section__head--center .section__sub { margin-left: auto; margin-right: auto; }

/* =====================================================
   SERVICES — with cursor-tracked spotlight
   ===================================================== */
.services {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.service {
  position: relative;
  background: var(--surface-1);
  padding: 36px 32px;
  transition: background-color .35s var(--ease);
  overflow: hidden;
  isolation: isolate;
}
.service::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(360px at var(--mx, 50%) var(--my, 50%), var(--spotlight), transparent 55%);
  opacity: 0;
  transition: opacity .35s var(--ease);
  z-index: 0;
  pointer-events: none;
}
.service:hover::before { opacity: 1; }
.service > * { position: relative; z-index: 1; }
.service:hover { background: var(--surface-3); }
.service__icon {
  display: inline-flex;
  align-items: center; justify-content: center;
  width: 44px; height: 44px;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  margin-bottom: 22px;
  font-size: 18px;
  color: var(--text-strong);
  background: linear-gradient(180deg, var(--surface-4), var(--surface-2));
  transition: transform .5s var(--ease-out-back);
}
.service:hover .service__icon { transform: rotate(-12deg) scale(1.08); }
.service h3 {
  margin: 0 0 10px;
  font-size: 22px;
  font-weight: 600;
  color: var(--text-strong);
  letter-spacing: -0.01em;
}
.service p {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 15px;
}
.service ul {
  list-style: none;
  margin: 0; padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.service li {
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: 11.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  padding: 5px 10px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--tint-softer);
  transition: color .2s var(--ease), border-color .2s var(--ease);
}
.service:hover li { color: var(--text); border-color: var(--line-strong); }
@media (max-width: 980px) { .services { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .services { grid-template-columns: 1fr; } }

/* =====================================================
   PROCESS
   ===================================================== */
.process {
  list-style: none;
  margin: 0; padding: 0;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
  counter-reset: step;
}
.process__step {
  position: relative;
  padding: 28px 24px 32px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface-1);
  transition: transform .4s var(--ease), border-color .3s var(--ease), background-color .3s var(--ease);
  overflow: hidden;
  isolation: isolate;
}
.process__step::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(280px at var(--mx, 50%) var(--my, 50%), var(--spotlight), transparent 55%);
  opacity: 0;
  transition: opacity .35s var(--ease);
  z-index: 0;
  pointer-events: none;
}
.process__step:hover::before { opacity: 1; }
.process__step > * { position: relative; z-index: 1; }
.process__step:hover {
  transform: translateY(-6px);
  border-color: var(--line-strong);
  background: var(--surface-3);
}
.process__index {
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 12px;
  letter-spacing: 0.22em;
  color: var(--muted-2);
  display: block;
  margin-bottom: 18px;
  transition: color .3s var(--ease);
}
.process__step:hover .process__index { color: var(--text-strong); }
.process__step h3 {
  margin: 0 0 10px;
  color: var(--text-strong);
  font-size: 19px;
  font-weight: 600;
}
.process__step p {
  margin: 0;
  font-size: 14px;
  color: var(--muted);
}
@media (max-width: 1080px) { .process { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 700px) { .process { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 460px) { .process { grid-template-columns: 1fr; } }

/* =====================================================
   WORK — with 3D tilt
   ===================================================== */
.work-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  perspective: 1400px;
}
.work-grid--featured {
  grid-template-columns: 1fr;
}
.work-grid--featured .work {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  align-items: stretch;
}
.work-grid--featured .work__cover {
  aspect-ratio: auto;
  min-height: 360px;
  height: 100%;
}
.work-grid--featured .work__meta {
  padding: 44px 48px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.work-grid--featured .work__meta p {
  max-width: 44ch;
}
@media (max-width: 760px) {
  .work-grid--featured .work { grid-template-columns: 1fr; }
  .work-grid--featured .work__cover { min-height: 240px; }
  .work-grid--featured .work__meta { padding: 28px; }
}
.work__link {
  margin-top: 22px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-strong);
  border-bottom: 1px solid var(--line-strong);
  width: fit-content;
  padding-bottom: 4px;
  transition: border-color .25s var(--ease), gap .25s var(--ease);
}
.work__link:hover {
  border-bottom-color: var(--text-strong);
  gap: 12px;
}
.work {
  position: relative;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--surface-1);
  transition: border-color .4s var(--ease), box-shadow .4s var(--ease);
  transform-style: preserve-3d;
  will-change: transform;
}
.work.is-tilting { transition: border-color .4s var(--ease), box-shadow .4s var(--ease); }
.work:hover {
  border-color: var(--line-strong);
  box-shadow: 0 30px 60px -30px var(--accent-glow);
}
.work__cover {
  aspect-ratio: 16 / 10;
  position: relative;
  display: flex; align-items: center; justify-content: center;
  background: var(--surface-2);
  overflow: hidden;
}
.work__cover::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    repeating-linear-gradient(0deg, var(--grid-line-strong) 0 1px, transparent 1px 24px),
    repeating-linear-gradient(90deg, var(--grid-line-strong) 0 1px, transparent 1px 24px);
  mask-image: radial-gradient(ellipse at center, black 40%, transparent 75%);
}
.work__cover::after {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(360px at var(--mx, 50%) var(--my, 50%), var(--spotlight), transparent 60%);
  opacity: 0;
  transition: opacity .35s var(--ease);
}
.work:hover .work__cover::after { opacity: 1; }
.work__cover--1 { background: var(--work-cover-1); }
.work__cover--2 { background: var(--work-cover-2); }
.work__cover--3 { background: var(--work-cover-3); }
.work__cover--4 { background: var(--work-cover-4); }
.work__glyph {
  position: relative;
  font-size: clamp(60px, 9vw, 110px);
  color: var(--glyph);
  filter: drop-shadow(0 8px 24px var(--glyph-glow));
  transition: transform .7s var(--ease-out-back);
  transform: translateZ(40px);
}
.work:hover .work__glyph { transform: translateZ(60px) scale(1.08) rotate(-3deg); }
.work__meta { padding: 26px 28px 30px; }
.work__tag {
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  display: block;
  margin-bottom: 10px;
}
.work__meta h3 {
  margin: 0 0 8px;
  color: var(--text-strong);
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.work__meta p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
}
@media (max-width: 760px) { .work-grid { grid-template-columns: 1fr; } }

/* =====================================================
   ABOUT
   ===================================================== */
.about {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 80px;
  align-items: start;
}
.about__copy p {
  color: var(--muted);
  font-size: 17px;
  margin: 0 0 18px;
  max-width: 56ch;
}
.about__copy .btn { margin-top: 16px; }
.about__facts {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.fact {
  background: var(--surface-1);
  padding: 22px 24px;
  display: flex; flex-direction: column; gap: 6px;
  transition: background-color .3s var(--ease);
}
.fact:hover { background: var(--surface-3); }
.fact__k {
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
}
.fact__v {
  color: var(--text-strong);
  font-weight: 500;
  font-size: 15px;
}
@media (max-width: 920px) {
  .about { grid-template-columns: 1fr; gap: 48px; }
}

/* =====================================================
   CONTACT
   ===================================================== */
.contact { max-width: 880px; margin: 0 auto; }
.contact__form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px 22px;
  margin-top: 40px;
}
.field { display: flex; flex-direction: column; gap: 8px; position: relative; }
.field--full { grid-column: 1 / -1; }
.field label {
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 11.5px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  transition: color .25s var(--ease);
}
.field:focus-within label { color: var(--text-strong); }
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 14px 16px;
  background: var(--surface-1);
  border: 1px solid var(--line);
  border-radius: 10px;
  color: var(--text-strong);
  font-family: var(--font-sans);
  font-size: 15px;
  transition: border-color .25s var(--ease), background-color .25s var(--ease), box-shadow .25s var(--ease);
  resize: vertical;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--text-strong);
  background: var(--surface-2);
  box-shadow: 0 0 0 4px var(--tint-soft);
}
.field input::placeholder,
.field textarea::placeholder {
  color: var(--muted-2);
}
.field select {
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%);
  background-position: calc(100% - 22px) 22px, calc(100% - 16px) 22px;
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
  padding-right: 42px;
}
.contact__submit {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 8px;
}
.contact__note {
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: 12px;
  letter-spacing: 0.12em;
  color: var(--muted);
}
.contact__note a { color: var(--text-strong); border-bottom: 1px solid var(--line-strong); }
.contact__note a:hover { border-bottom-color: var(--text-strong); }
.contact__sent {
  grid-column: 1 / -1;
  padding: 16px 18px;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  background: var(--surface-2);
  color: var(--text-strong);
  font-size: 14px;
  animation: fadeUp .5s var(--ease);
}
@media (max-width: 700px) {
  .contact__form { grid-template-columns: 1fr; }
}

/* =====================================================
   FOOTER
   ===================================================== */
.footer {
  position: relative;
  z-index: 2;
  padding: 80px 0 30px;
  background: var(--bg-soft);
  color: var(--muted);
}
.footer__inner {
  display: grid;
  grid-template-columns: 1.2fr 2fr;
  gap: 60px;
  padding-bottom: 60px;
  border-bottom: 1px solid var(--line);
}
.footer__brand { display: flex; flex-direction: column; gap: 14px; align-items: flex-start; }
.footer__brand-lockup {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text-strong);
  font-size: 18px;
  line-height: 1;
}
.footer__brand-lockup .logo-mark { width: 24px; height: 26px; }
.footer__brand p { margin: 6px 0 0; max-width: 30ch; font-size: 14px; }
.footer__cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}
.footer__cols h4 {
  font-family: var(--font-sans);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted-2);
  margin: 0 0 16px;
  font-weight: 600;
}
.footer__cols a, .footer__cols span {
  display: block;
  font-size: 14px;
  padding: 6px 0;
}
.footer__cols a:hover { color: var(--text-strong); }
.footer__legal {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding-top: 30px;
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: 11.5px;
  letter-spacing: 0.18em;
  color: var(--muted-2);
  text-transform: uppercase;
}
@media (max-width: 820px) {
  .footer__inner { grid-template-columns: 1fr; gap: 40px; }
  .footer__cols { grid-template-columns: repeat(2, 1fr); }
}

/* =====================================================
   REVEAL ANIMATIONS
   ===================================================== */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .9s var(--ease), transform .9s var(--ease);
}
.reveal.is-in {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
  .reveal { opacity: 1; transform: none; }
  .hero__title .word, .hero__lede, .hero__cta, .hero__meta { opacity: 1; transform: none; animation: none; }
  .cursor-glow { display: none; }
}
