/* ============================================================
   Dr. Hakan Gonen — Personal site v2
   Design system: deep black, warm white, signature orange accent
   ============================================================ */

/* ---------- Reset & base ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  scrollbar-color: #2a2a2a #0a0a0a;
}

body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  font-weight: 400;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
button { font: inherit; cursor: pointer; background: none; border: 0; color: inherit; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; padding: 0; margin: 0; }

::selection { background: var(--accent); color: #0a0a0a; }

/* ---------- Tokens ---------- */
:root {
  --bg: #0a0a0a;
  --bg-soft: #111113;
  --bg-card: #141416;
  --bg-card-2: #18181b;
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.16);
  --ink: #f5f1ea;
  --ink-2: #d4d0c8;
  --ink-mute: #8a8a8a;
  --ink-soft: #5a5a5a;

  --accent: #ff6b35;
  --accent-2: #ff8a5b;
  --teal: #4ecdc4;
  --violet: #a78bfa;
  --gold: #f0c674;

  --radius-s: 10px;
  --radius: 18px;
  --radius-l: 28px;

  --max: 1240px;
  --gutter: clamp(20px, 4vw, 56px);

  --ease: cubic-bezier(.22, 1, .36, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
}

/* ---------- Type ---------- */
.display, h1, h2, h3, h4, h5 {
  font-family: 'Space Grotesk', 'Inter', sans-serif;
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.05;
  margin: 0;
  color: var(--ink);
}

h1 { font-size: clamp(2.6rem, 6.4vw, 5.4rem); }
h2 { font-size: clamp(2rem, 4.4vw, 3.6rem); }
h3 { font-size: clamp(1.25rem, 1.8vw, 1.5rem); line-height: 1.25; letter-spacing: -0.01em; }
h4 { font-size: 1.05rem; }
h5 { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.12em; color: var(--ink-mute); }

p { margin: 0 0 1rem; color: var(--ink-2); }
strong { color: var(--ink); font-weight: 500; }
em { font-family: 'Instrument Serif', serif; font-style: italic; font-weight: 400; letter-spacing: 0; }

.mono { font-family: 'JetBrains Mono', monospace; font-size: 0.8rem; letter-spacing: 0.02em; }

.container {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* ---------- Cursor ---------- */
.cursor {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9999;
  mix-blend-mode: difference;
}
.cursor__dot,
.cursor__ring {
  position: absolute;
  top: 0; left: 0;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width 0.3s var(--ease), height 0.3s var(--ease), opacity 0.2s, border-color 0.3s;
}
.cursor__dot {
  width: 6px; height: 6px;
  background: #fff;
  transition: width 0.2s var(--ease), height 0.2s var(--ease);
}
.cursor__ring {
  width: 36px; height: 36px;
  border: 1px solid rgba(255, 255, 255, 0.6);
}
.cursor.is-hover .cursor__ring {
  width: 64px; height: 64px;
  border-color: var(--accent);
}
.cursor.is-hover .cursor__dot {
  width: 0; height: 0;
}
@media (hover: none) {
  .cursor { display: none; }
  body { cursor: auto; }
}

/* ---------- Scroll progress ---------- */
.scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 2px;
  width: 0%;
  background: linear-gradient(90deg, var(--accent), var(--teal));
  z-index: 9000;
  transition: width 0.1s linear;
}

/* ---------- Noise ---------- */
.noise {
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.04;
  z-index: 1;
  background-image: url("data:image/svg+xml;utf8,<svg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix 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%' height='100%' filter='url(%23n)'/></svg>");
}

/* ---------- Navigation ---------- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px var(--gutter);
  transition: background 0.3s var(--ease), border-color 0.3s var(--ease), padding 0.3s var(--ease);
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled {
  background: rgba(10, 10, 10, 0.7);
  backdrop-filter: blur(16px) saturate(160%);
  -webkit-backdrop-filter: blur(16px) saturate(160%);
  border-bottom-color: var(--line);
  padding: 12px var(--gutter);
}
.nav__logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 500;
  letter-spacing: -0.01em;
}
.nav__logo-mark {
  width: 36px; height: 36px;
  display: grid; place-items: center;
  border-radius: 10px;
  background: var(--accent);
  color: #0a0a0a;
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: -0.02em;
  transition: transform 0.4s var(--ease);
}
.nav__logo:hover .nav__logo-mark { transform: rotate(-8deg); }
.nav__logo-text { font-size: 0.95rem; }
.nav__links {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 6px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line);
  border-radius: 100px;
}
.nav__links a {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  font-size: 0.85rem;
  color: var(--ink-2);
  border-radius: 100px;
  transition: color 0.2s, background 0.2s;
}
.nav__links a span { font-family: 'JetBrains Mono', monospace; font-size: 0.65rem; color: var(--ink-soft); }
.nav__links a:hover { color: var(--ink); background: rgba(255, 255, 255, 0.04); }
.nav__cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  font-size: 0.85rem;
  font-weight: 500;
  color: #0a0a0a;
  background: var(--ink);
  border-radius: 100px;
  transition: transform 0.3s var(--ease), background 0.3s;
}
.nav__cta svg { width: 14px; height: 14px; transition: transform 0.3s var(--ease); }
.nav__cta:hover { background: var(--accent); }
.nav__cta:hover svg { transform: translate(2px, -2px); }

.nav__toggle { display: none; width: 40px; height: 40px; position: relative; }
.nav__toggle span {
  position: absolute;
  left: 10px; right: 10px;
  height: 1.5px;
  background: var(--ink);
  transition: transform 0.3s var(--ease), top 0.3s var(--ease);
}
.nav__toggle span:nth-child(1) { top: 16px; }
.nav__toggle span:nth-child(2) { top: 22px; }
.nav__toggle.is-open span:nth-child(1) { top: 19px; transform: rotate(45deg); }
.nav__toggle.is-open span:nth-child(2) { top: 19px; transform: rotate(-45deg); }

.mobile-menu {
  position: fixed;
  inset: 0;
  background: var(--bg);
  z-index: 999;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s var(--ease);
}
.mobile-menu.is-open { opacity: 1; pointer-events: auto; }
.mobile-menu a {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 2rem;
  font-weight: 500;
  color: var(--ink);
}

@media (max-width: 1024px) {
  .nav__links, .nav__cta { display: none; }
  .nav__toggle { display: block; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 24px;
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: -0.005em;
  border-radius: 100px;
  transition: transform 0.3s var(--ease), background 0.3s, color 0.3s, box-shadow 0.3s;
  border: 1px solid transparent;
  white-space: nowrap;
}
.btn svg { width: 16px; height: 16px; transition: transform 0.3s var(--ease); }
.btn:hover svg { transform: translate(3px, -3px); }
.btn--primary {
  background: var(--accent);
  color: #0a0a0a;
  box-shadow: 0 14px 40px -16px rgba(255, 107, 53, 0.6);
}
.btn--primary:hover { background: #ff8255; transform: translateY(-2px); }
.btn--ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line-strong);
}
.btn--ghost:hover { background: rgba(255, 255, 255, 0.04); border-color: var(--ink); }

/* ---------- Section heads ---------- */
.section-head {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  margin-bottom: 64px;
  max-width: 920px;
}
.section-num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  color: var(--accent);
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.section-num::before {
  content: '';
  display: inline-block;
  width: 28px; height: 1px;
  background: var(--accent);
}
.section-title { line-height: 1.04; }
.section-title em { color: var(--ink-2); }
.section-title .accent { color: var(--accent); }
.section-lede {
  font-size: 1.05rem;
  color: var(--ink-mute);
  max-width: 60ch;
  margin: 0;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  padding: 140px 0 60px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}
.hero__glow {
  position: absolute;
  width: 60vw;
  height: 60vw;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.45;
  animation: float 14s ease-in-out infinite;
}
.hero__glow--orange {
  background: radial-gradient(circle, #ff6b35 0%, transparent 60%);
  top: -20%;
  right: -10%;
}
.hero__glow--teal {
  background: radial-gradient(circle, #4ecdc4 0%, transparent 60%);
  bottom: -30%;
  left: -20%;
  animation-delay: -7s;
  opacity: 0.3;
}
@keyframes float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(40px, -30px) scale(1.1); }
}
.hero__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 75%);
}

.hero__top {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  padding: 0 var(--gutter);
}
.hero__pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.78rem;
  letter-spacing: 0.02em;
  color: var(--ink-2);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line);
  border-radius: 100px;
  backdrop-filter: blur(8px);
}
.hero__pulse {
  width: 8px; height: 8px;
  background: #4ade80;
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(74, 222, 128, 0.6);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(74, 222, 128, 0.6); }
  70% { box-shadow: 0 0 0 12px rgba(74, 222, 128, 0); }
  100% { box-shadow: 0 0 0 0 rgba(74, 222, 128, 0); }
}
.hero__location {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.78rem;
  color: var(--ink-mute);
  letter-spacing: 0.02em;
}
.hero__location svg { width: 14px; height: 14px; stroke: var(--accent); }

/* Hero content - vertical stack */
.hero__content {
  position: relative;
  z-index: 2;
  padding: 0 var(--gutter);
  margin-top: 56px;
  display: flex;
  flex-direction: column;
  max-width: 1400px;
}

/* Eyebrow */
.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  color: var(--accent);
  text-transform: uppercase;
  margin-bottom: 32px;
  align-self: flex-start;
}
.hero__eyebrow-line {
  display: inline-block;
  width: 48px; height: 1px;
  background: var(--accent);
}

/* Title */
.hero__title {
  font-size: clamp(3rem, 9vw, 7.2rem);
  line-height: 0.95;
  letter-spacing: -0.04em;
  font-weight: 500;
  max-width: 1200px;
  margin: 0;
}
.hero__line { display: block; overflow: hidden; }
.hero__line:nth-child(2) { padding-left: clamp(20px, 8vw, 110px); }
.hero__line:nth-child(3) { padding-left: clamp(0px, 2vw, 30px); }
.hero__word {
  display: inline-block;
  transform: translateY(110%);
  animation: rise 1.1s var(--ease-out) forwards;
}
.hero__line:nth-child(1) .hero__word { animation-delay: 0.05s; }
.hero__line:nth-child(2) .hero__word:nth-child(1) { animation-delay: 0.18s; }
.hero__line:nth-child(2) .hero__word:nth-child(2) { animation-delay: 0.26s; }
.hero__line:nth-child(3) .hero__word:nth-child(1) { animation-delay: 0.36s; }
.hero__line:nth-child(3) .hero__word:nth-child(2) { animation-delay: 0.44s; }
.hero__line:nth-child(3) .hero__word:nth-child(3) { animation-delay: 0.52s; }
@keyframes rise {
  to { transform: translateY(0); }
}
.hero__word--italic em {
  color: var(--accent);
  font-style: italic;
}
.hero__word--accent {
  background: linear-gradient(120deg, var(--accent), #ffaa70, var(--accent));
  background-size: 200% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: rise 1.1s var(--ease-out) forwards, shimmer 6s linear infinite 1.5s;
}
@keyframes shimmer {
  0% { background-position: 0% 50%; }
  100% { background-position: 200% 50%; }
}

/* Lede */
.hero__lede {
  margin: 40px 0 0;
  max-width: 60ch;
  font-size: clamp(1rem, 1.25vw, 1.15rem);
  color: var(--ink-2);
  line-height: 1.6;
}
.hero__lede strong { color: var(--ink); font-weight: 500; }

/* Actions */
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

/* Stats - new */
.hero__stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin: 64px 0 0;
  padding: 28px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.hero__stat {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 4px 28px;
  border-right: 1px solid var(--line);
  position: relative;
}
.hero__stat:first-child { padding-left: 0; }
.hero__stat:last-child { border-right: 0; padding-right: 0; }
.hero__stat::before {
  content: '';
  position: absolute;
  top: -1px; left: 28px;
  width: 24px; height: 1px;
  background: var(--accent);
}
.hero__stat:first-child::before { left: 0; }
.hero__stat-num {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(2.2rem, 3.6vw, 3rem);
  font-weight: 500;
  letter-spacing: -0.035em;
  line-height: 1;
  color: var(--ink);
  display: inline-flex;
  align-items: baseline;
}
.hero__stat-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.7rem;
  color: var(--ink-mute);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* Meta */
.hero__meta {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin-top: 0;
  padding: 28px 0 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid transparent;
}
.hero__meta-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 0 28px;
  border-right: 1px solid var(--line);
}
.hero__meta-item:first-child { padding-left: 0; }
.hero__meta-item:last-child { border-right: 0; padding-right: 0; }
.hero__meta-item span {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.68rem;
  color: var(--ink-mute);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.hero__meta-item strong {
  font-weight: 500;
  font-size: 0.92rem;
  color: var(--ink);
  line-height: 1.4;
}

.hero__scroll {
  position: absolute;
  bottom: 24px;
  right: var(--gutter);
  z-index: 3;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-mute);
}
.hero__scroll-line {
  width: 1px; height: 48px;
  background: linear-gradient(to bottom, var(--accent), transparent);
  position: relative;
  overflow: hidden;
}
.hero__scroll-line::after {
  content: '';
  position: absolute;
  top: -48px; left: 0;
  width: 100%; height: 48px;
  background: var(--ink);
  animation: scrollLine 2s var(--ease) infinite;
}
@keyframes scrollLine {
  to { top: 48px; }
}

@media (max-width: 860px) {
  .hero { padding: 120px 0 50px; }
  .hero__content { margin-top: 40px; }
  .hero__lede { margin-top: 32px; }
  .hero__stats { grid-template-columns: repeat(2, 1fr); gap: 28px 0; margin-top: 48px; }
  .hero__stat { padding: 4px 16px; }
  .hero__stat:nth-child(2) { border-right: 0; }
  .hero__stat:nth-child(1), .hero__stat:nth-child(2) { padding-bottom: 20px; border-bottom: 1px solid var(--line); }
  .hero__meta { grid-template-columns: 1fr; gap: 16px; }
  .hero__meta-item { border-right: 0; border-bottom: 1px solid var(--line); padding: 0 0 16px; }
  .hero__meta-item:last-child { border-bottom: 0; }
  .hero__scroll { display: none; }
  .hero__line:nth-child(2) { padding-left: 20px; }
}

/* ---------- Marquee ---------- */
.marquee {
  position: relative;
  z-index: 2;
  padding: 28px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
  background: var(--bg-soft);
}
.marquee__track {
  display: flex;
  gap: 48px;
  width: max-content;
  animation: marquee 40s linear infinite;
}
.marquee__group {
  display: flex;
  align-items: center;
  gap: 48px;
  flex-shrink: 0;
}
.marquee__group span {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(1.4rem, 2.6vw, 2.2rem);
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.marquee__group i {
  color: var(--accent);
  font-size: 1.2rem;
  font-style: normal;
}
@keyframes marquee {
  to { transform: translateX(-50%); }
}

/* ---------- About ---------- */
.about {
  padding: 140px 0 120px;
  position: relative;
}
.about__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 80px;
  align-items: start;
  margin-bottom: 80px;
}
.about__text p {
  font-size: 1.1rem;
  line-height: 1.65;
  color: var(--ink-2);
  max-width: 60ch;
}
.about__lede {
  font-size: clamp(1.3rem, 1.8vw, 1.6rem) !important;
  line-height: 1.4 !important;
  color: var(--ink) !important;
  font-weight: 300;
}
.about__text strong { color: var(--ink); }

.about__card {
  position: sticky;
  top: 100px;
  padding: 28px;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-l);
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.about__card-head {
  display: flex;
  align-items: center;
  gap: 16px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line);
}
.about__avatar {
  width: 56px; height: 56px;
  display: grid; place-items: center;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--accent), var(--teal));
  color: #0a0a0a;
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: -0.02em;
  flex-shrink: 0;
}
.about__card h3 { font-size: 1.1rem; }
.about__card p { color: var(--ink-mute); font-size: 0.85rem; margin: 0; }
.about__facts { display: flex; flex-direction: column; gap: 14px; }
.about__facts li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  font-size: 0.9rem;
  padding-bottom: 14px;
  border-bottom: 1px dashed var(--line);
}
.about__facts li:last-child { border-bottom: 0; padding-bottom: 0; }
.about__facts span { color: var(--ink-mute); font-family: 'JetBrains Mono', monospace; font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.06em; }
.about__facts strong { font-weight: 500; color: var(--ink); text-align: right; }
.about__card-link {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--line);
  border-radius: 14px;
  font-size: 0.9rem;
  transition: background 0.3s, border-color 0.3s;
}
.about__card-link svg { width: 14px; height: 14px; }
.about__card-link:hover { background: rgba(255, 107, 53, 0.08); border-color: var(--accent); color: var(--accent); }

.about__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.about__tags li {
  padding: 8px 16px;
  font-size: 0.85rem;
  color: var(--ink-2);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--line);
  border-radius: 100px;
  transition: all 0.3s var(--ease);
}
.about__tags li:hover {
  color: var(--bg);
  background: var(--ink);
  transform: translateY(-2px);
}

@media (max-width: 860px) {
  .about__grid { grid-template-columns: 1fr; gap: 40px; }
  .about__card { position: static; }
}

/* ---------- Stats ---------- */
.stats {
  padding: 80px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--bg-soft);
}
.stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
.stats__item {
  text-align: left;
  padding: 0 24px;
  border-right: 1px solid var(--line);
}
.stats__item:first-child { padding-left: 0; }
.stats__item:last-child { border-right: 0; padding-right: 0; }
.stats__num {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(2.6rem, 5vw, 4.4rem);
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 1;
  color: var(--ink);
  margin-bottom: 12px;
  display: inline-flex;
  align-items: baseline;
}
.stats__num::after {
  content: '+';
  color: var(--accent);
  font-size: 0.6em;
  margin-left: 4px;
}
.stats__label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-mute);
}

@media (max-width: 720px) {
  .stats__grid { grid-template-columns: repeat(2, 1fr); gap: 32px 0; }
  .stats__item:nth-child(2) { border-right: 0; }
  .stats__item:nth-child(1), .stats__item:nth-child(2) { padding-bottom: 24px; border-bottom: 1px solid var(--line); }
  .stats__item:nth-child(3), .stats__item:nth-child(4) { padding-top: 8px; }
  .stats__item:nth-child(1), .stats__item:nth-child(3) { padding-left: 0; }
  .stats__item:nth-child(2), .stats__item:nth-child(4) { padding-right: 0; }
}

/* ---------- Experience timeline ---------- */
.experience { padding: 140px 0 120px; }
.timeline {
  display: flex;
  flex-direction: column;
  position: relative;
}
.timeline__item {
  position: relative;
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 40px;
  padding: 36px 0;
  border-top: 1px solid var(--line);
  transition: background 0.3s;
}
.timeline__item:last-child { border-bottom: 1px solid var(--line); }
.timeline__date {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  color: var(--ink-mute);
  padding-top: 6px;
  position: relative;
}
.timeline__date::before {
  content: '';
  position: absolute;
  top: 14px; left: -28px;
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--bg);
  border: 1px solid var(--line-strong);
  transition: background 0.3s, transform 0.3s, border-color 0.3s;
}
.timeline__item:hover .timeline__date::before {
  background: var(--accent);
  border-color: var(--accent);
  transform: scale(1.4);
}
.timeline__item--featured .timeline__date::before {
  background: var(--accent);
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(255, 107, 53, 0.2);
}
.timeline__body h3 {
  font-size: 1.5rem;
  margin-bottom: 6px;
  transition: color 0.3s;
}
.timeline__item:hover .timeline__body h3 { color: var(--accent); }
.timeline__body h4 {
  font-size: 0.95rem;
  color: var(--ink-mute);
  font-weight: 400;
  margin-bottom: 16px;
}
.timeline__link {
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color 0.3s, border-color 0.3s;
}
.timeline__link:hover {
  color: var(--accent);
  border-bottom-color: var(--accent);
}
.timeline__body p { font-size: 1rem; line-height: 1.6; max-width: 70ch; }
.timeline__badge {
  display: inline-flex;
  align-items: center;
  margin-top: 14px;
  padding: 6px 12px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.72rem;
  color: var(--accent);
  background: rgba(255, 107, 53, 0.1);
  border: 1px solid rgba(255, 107, 53, 0.3);
  border-radius: 100px;
}
.timeline__more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 48px;
  padding: 14px 22px;
  border: 1px solid var(--line-strong);
  border-radius: 100px;
  font-size: 0.9rem;
  transition: background 0.3s, border-color 0.3s, color 0.3s;
}
.timeline__more svg { width: 14px; height: 14px; transition: transform 0.3s var(--ease); }
.timeline__more:hover { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.timeline__more:hover svg { transform: translate(3px, -3px); }

@media (max-width: 720px) {
  .timeline__item { grid-template-columns: 1fr; gap: 12px; padding: 28px 0; }
  .timeline__date { padding-top: 0; padding-left: 16px; }
  .timeline__date::before { left: -2px; top: 6px; }
}

/* ---------- Work / case studies ---------- */
.work { padding: 120px 0; }
.work__grid {
  display: flex;
  flex-direction: column;
  gap: 32px;
}
.case {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 0;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-l);
  overflow: hidden;
  transition: transform 0.5s var(--ease), border-color 0.5s, box-shadow 0.5s;
  color: inherit;
  text-decoration: none;
}
a.case { cursor: pointer; }
.case:hover {
  transform: translateY(-4px);
  border-color: var(--line-strong);
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.5);
}
.case--dhca {
  border-color: rgba(255, 107, 53, 0.25);
}
.case--dhca::before {
  content: 'Featured case study';
  position: absolute;
  top: 18px;
  right: 24px;
  z-index: 5;
  padding: 4px 10px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.65rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--bg);
  background: var(--accent);
  border-radius: 100px;
  pointer-events: none;
}
.case__cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  color: var(--accent);
  transition: gap 0.3s var(--ease);
}
.case__cta svg { width: 14px; height: 14px; transition: transform 0.3s var(--ease); }
a.case:hover .case__cta { gap: 12px; }
a.case:hover .case__cta svg { transform: translateX(4px); }
.case:nth-child(even) { grid-template-columns: 1.2fr 1fr; }
.case:nth-child(even) .case__visual { order: 2; }
.case:nth-child(even) .case__body { order: 1; }

.case__visual {
  position: relative;
  min-height: 460px;
  background: linear-gradient(135deg, #1a1a1a 0%, #0a0a0a 100%);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 36px;
  overflow: hidden;
  border-right: 1px solid var(--line);
}
.case:nth-child(even) .case__visual { border-right: 0; border-left: 1px solid var(--line); }
.case__orb {
  position: absolute;
  top: -80px; right: -80px;
  width: 360px; height: 360px;
  background: radial-gradient(circle, #ff6b35 0%, transparent 60%);
  border-radius: 50%;
  filter: blur(40px);
  opacity: 0.6;
  transition: transform 0.8s var(--ease), opacity 0.4s;
}
.case__orb--mint { background: radial-gradient(circle, #4ecdc4 0%, transparent 60%); }
.case__orb--violet { background: radial-gradient(circle, #a78bfa 0%, transparent 60%); }
.case:hover .case__orb { transform: scale(1.15) rotate(20deg); opacity: 0.8; }

.case__visual--mint { background: linear-gradient(135deg, #0e2a28 0%, #0a0a0a 100%); }
.case__visual--violet { background: linear-gradient(135deg, #1d1530 0%, #0a0a0a 100%); }

.case__brand {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 500;
  font-size: 1rem;
}
.case__brand svg { width: 36px; height: 36px; color: var(--accent); }
.case__brand-mark {
  width: 36px; height: 36px;
  display: grid; place-items: center;
  background: var(--ink);
  color: var(--bg);
  border-radius: 10px;
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.04em;
}
.case--snb .case__brand-mark { background: var(--teal); }
.case--zu .case__brand-mark { background: var(--violet); }

.case__metric {
  position: relative;
  z-index: 2;
}
.case__metric strong {
  display: block;
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 500;
  letter-spacing: -0.03em;
  color: var(--ink);
  line-height: 1;
  margin-bottom: 6px;
}
.case__metric span {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  color: var(--ink-mute);
  text-transform: uppercase;
}

.case__body {
  padding: 40px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.case__row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.case__tag {
  display: inline-block;
  padding: 6px 12px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  color: var(--ink-2);
  background: rgba(255, 255, 255, 0.05);
  border-radius: 100px;
}
.case__year {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.78rem;
  color: var(--ink-mute);
}
.case__title {
  font-size: clamp(1.5rem, 2.2vw, 1.85rem);
  line-height: 1.15;
  margin: 0;
}
.case__details {
  display: grid;
  gap: 20px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}
.case__details > div h5 {
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 6px;
}
.case__details > div p {
  font-size: 0.95rem;
  color: var(--ink-2);
  margin: 0;
  line-height: 1.55;
}

@media (max-width: 860px) {
  .case, .case:nth-child(even) { grid-template-columns: 1fr; }
  .case:nth-child(even) .case__visual { order: 0; }
  .case:nth-child(even) .case__body { order: 1; }
  .case__visual { min-height: 280px; }
  .case__body { padding: 28px; }
  .case:nth-child(even) .case__visual { border-left: 0; border-bottom: 1px solid var(--line); }
  .case__visual { border-right: 0; border-bottom: 1px solid var(--line); }
}

/* ---------- Services — process journey + modalities + principles ---------- */
.services { padding: 140px 0 120px; background: var(--bg-soft); position: relative; overflow: hidden; }
.services::before {
  content: '';
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: 60vw; height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  opacity: 0.5;
}

/* ---- Journey ---- */
.journey { position: relative; margin-bottom: 100px; }
.journey__head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  margin-bottom: 32px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}
.journey__title {
  font-size: clamp(1.4rem, 2vw, 1.75rem);
  margin: 0;
}
.journey__hint {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.78rem;
  color: var(--ink-mute);
  letter-spacing: 0.08em;
}

.journey__track {
  position: absolute;
  top: 198px; /* aligns with center of step__visual */
  left: 8%;
  right: 8%;
  height: 1px;
  z-index: 1;
  pointer-events: none;
}
.journey__line {
  position: absolute;
  inset: 0;
  background: var(--line);
}
.journey__line--filled {
  width: 0%;
  background: linear-gradient(90deg, #ff6b35, #4ecdc4, #a78bfa, #f0c674);
  transition: width 0.05s linear;
  box-shadow: 0 0 12px rgba(255, 107, 53, 0.4);
}
.journey__dot {
  position: absolute;
  top: 50%;
  width: 8px; height: 8px;
  background: var(--bg-soft);
  border: 1.5px solid var(--line-strong);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: background 0.3s, border-color 0.3s, transform 0.3s;
}
.journey__dot--1 { left: 8%; }
.journey__dot--2 { left: 36.66%; }
.journey__dot--3 { left: 65.33%; }
.journey__dot--4 { left: 94%; }
.journey__dot.is-active {
  background: var(--step-color, var(--accent));
  border-color: var(--step-color, var(--accent));
  transform: translate(-50%, -50%) scale(1.4);
  box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.05);
}

.journey__steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  position: relative;
  z-index: 2;
}

.step {
  position: relative;
  padding: 28px 24px 24px;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-l);
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: transform 0.5s var(--ease), border-color 0.4s, background 0.4s;
  overflow: hidden;
  min-height: 460px;
}
.step::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--step-color);
  opacity: 0.6;
  transition: opacity 0.4s, height 0.4s;
}
.step::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 0%, var(--step-glow), transparent 60%);
  opacity: 0;
  transition: opacity 0.5s;
  pointer-events: none;
}
.step:hover {
  transform: translateY(-8px);
  border-color: var(--step-color);
}
.step:hover::before { opacity: 1; height: 4px; }
.step:hover::after { opacity: 1; }

.step--discover { --step-color: #ff6b35; --step-glow: rgba(255, 107, 53, 0.15); }
.step--define   { --step-color: #4ecdc4; --step-glow: rgba(78, 205, 196, 0.15); }
.step--design   { --step-color: #a78bfa; --step-glow: rgba(167, 139, 250, 0.15); }
.step--deliver  { --step-color: #f0c674; --step-glow: rgba(240, 198, 116, 0.15); }

.step__num {
  position: absolute;
  top: 18px; right: 22px;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 3.6rem;
  font-weight: 500;
  letter-spacing: -0.05em;
  color: var(--step-color);
  opacity: 0.18;
  line-height: 1;
  transition: opacity 0.4s, transform 0.4s var(--ease);
}
.step:hover .step__num { opacity: 0.4; transform: translateX(-4px); }

.step__visual {
  width: 76px; height: 76px;
  display: grid; place-items: center;
  border-radius: 18px;
  background: var(--step-glow);
  color: var(--step-color);
  margin-top: 4px;
  transition: transform 0.5s var(--ease);
  position: relative;
  z-index: 2;
}
.step__visual svg { width: 52px; height: 52px; }
.step:hover .step__visual { transform: rotate(-8deg) scale(1.08); }

.step__name {
  font-size: 1.6rem;
  margin: 0;
  letter-spacing: -0.02em;
}
.step__tagline {
  font-family: 'Instrument Serif', serif;
  font-style: italic;
  font-size: 1.1rem;
  color: var(--step-color);
  margin: -8px 0 0;
  line-height: 1.3;
}
.step__desc {
  font-size: 0.9rem;
  color: var(--ink-2);
  line-height: 1.55;
  margin: 4px 0 0;
  flex: 1;
}
.step__deliverables {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}
.step__deliverables span {
  padding: 5px 10px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.68rem;
  letter-spacing: 0.02em;
  color: var(--ink-2);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--line);
  border-radius: 100px;
  transition: color 0.3s, border-color 0.3s, background 0.3s;
}
.step:hover .step__deliverables span {
  color: var(--ink);
  border-color: var(--line-strong);
  background: rgba(255, 255, 255, 0.05);
}

.step__meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: auto;
  padding-top: 16px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.7rem;
  color: var(--ink-mute);
  letter-spacing: 0.04em;
}
.step__duration { color: var(--step-color); font-weight: 500; }
.step__phase { text-transform: uppercase; }

@media (max-width: 1024px) {
  .journey__track { display: none; }
}
@media (max-width: 860px) {
  .journey__steps { grid-template-columns: repeat(2, 1fr); }
  .step { min-height: auto; }
  .journey__head { flex-direction: column; align-items: start; gap: 8px; }
}
@media (max-width: 560px) {
  .journey__steps { grid-template-columns: 1fr; }
}

/* ---- Modalities ---- */
.modalities { margin-bottom: 80px; }
.modalities__head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 32px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line);
}
.modalities__head h3 {
  font-size: clamp(1.5rem, 2.4vw, 2.1rem);
  line-height: 1.1;
  margin: 8px 0 0;
}
.modalities__head h3 em { color: var(--accent); }
.modalities__head .section-num { font-size: 0.72rem; }
.modalities__head p {
  font-size: 0.95rem;
  color: var(--ink-mute);
  margin: 0;
  max-width: 36ch;
  text-align: right;
}

.modalities__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.modality {
  padding: 28px 24px;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: border-color 0.3s, transform 0.4s var(--ease), background 0.3s;
  position: relative;
  overflow: hidden;
}
.modality::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 100%; height: 2px;
  background: var(--accent);
  transform: translateX(-100%);
  transition: transform 0.4s var(--ease);
}
.modality:hover {
  border-color: var(--line-strong);
  transform: translateY(-4px);
  background: rgba(255, 107, 53, 0.04);
}
.modality:hover::after { transform: translateX(0); }

.modality__label {
  width: 38px; height: 38px;
  display: grid; place-items: center;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--accent);
  transition: background 0.3s, color 0.3s, border-color 0.3s, transform 0.4s var(--ease);
}
.modality:hover .modality__label {
  background: var(--accent);
  color: var(--bg);
  border-color: var(--accent);
  transform: rotate(360deg);
}

.modality h4 {
  font-size: 1.3rem;
  margin: 0;
  letter-spacing: -0.01em;
}
.modality p {
  font-size: 0.9rem;
  color: var(--ink-2);
  line-height: 1.5;
  margin: 0;
  flex: 1;
}
.modality__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}
.modality__meta span {
  padding: 4px 10px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.7rem;
  color: var(--ink-2);
  background: rgba(255, 255, 255, 0.03);
  border-radius: 100px;
}
.modality__meta .modality__tag { color: var(--accent); }

@media (max-width: 860px) {
  .modalities__head { flex-direction: column; align-items: start; }
  .modalities__head p { text-align: left; }
  .modalities__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .modalities__grid { grid-template-columns: 1fr; }
}

/* ---- Principles ---- */
.principles {
  padding: 40px;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-l);
  position: relative;
  overflow: hidden;
}
.principles::before {
  content: '"';
  position: absolute;
  top: -40px; right: 24px;
  font-family: 'Instrument Serif', serif;
  font-size: 18rem;
  line-height: 1;
  color: var(--accent);
  opacity: 0.06;
  pointer-events: none;
}
.principles__head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 32px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
}
.principles__head h6 {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0;
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.principles__head h6::before {
  content: '';
  display: inline-block;
  width: 28px; height: 1px;
  background: var(--accent);
}
.principles__head p {
  font-size: 0.9rem;
  color: var(--ink-mute);
  margin: 0;
  max-width: 40ch;
  text-align: right;
}
.principles ul {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px 40px;
}
.principles li {
  font-size: 0.95rem;
  line-height: 1.55;
  color: var(--ink-2);
  padding-left: 20px;
  border-left: 2px solid var(--line);
  transition: border-color 0.3s, transform 0.3s var(--ease);
}
.principles li:hover {
  border-color: var(--accent);
  transform: translateX(4px);
}
.principles strong {
  color: var(--ink);
  font-weight: 500;
  display: block;
  font-size: 1rem;
  margin-bottom: 4px;
}

@media (max-width: 860px) {
  .principles__head { flex-direction: column; align-items: start; }
  .principles__head p { text-align: left; }
  .principles ul { grid-template-columns: 1fr; }
  .principles { padding: 28px; }
}

/* ---------- Testimonials ---------- */
.testimonials { padding: 140px 0; }
.quotes {
  position: relative;
  min-height: 320px;
  display: grid;
}
.quote {
  grid-column: 1; grid-row: 1;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
  pointer-events: none;
  margin: 0;
  padding: 40px 0;
}
.quote.is-active {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.quote__mark {
  font-family: 'Instrument Serif', serif;
  font-size: 8rem;
  line-height: 0.5;
  color: var(--accent);
  display: block;
  margin-bottom: 8px;
}
.quote blockquote {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(1.4rem, 2.6vw, 2.2rem);
  font-weight: 400;
  line-height: 1.3;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin: 0 0 24px;
  max-width: 30ch;
}
.quote figcaption {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.85rem;
  color: var(--ink-mute);
  letter-spacing: 0.04em;
}
.quotes__nav {
  display: flex;
  gap: 10px;
  margin-top: 32px;
}
.quotes__dot {
  width: 40px; height: 4px;
  background: var(--line);
  border-radius: 4px;
  transition: background 0.3s, width 0.3s var(--ease);
}
.quotes__dot.is-active { background: var(--accent); width: 64px; }
.quotes__dot:hover { background: var(--ink-2); }

/* ---------- Contact ---------- */
.contact {
  padding: 140px 0 120px;
  background: var(--bg-soft);
  position: relative;
  overflow: hidden;
}
.contact::before {
  content: '';
  position: absolute;
  top: -20%;
  left: 50%;
  transform: translateX(-50%);
  width: 80vw; height: 80vw;
  background: radial-gradient(circle, rgba(255, 107, 53, 0.15) 0%, transparent 60%);
  filter: blur(80px);
  pointer-events: none;
}
.contact__inner {
  position: relative;
  z-index: 2;
  max-width: 1100px;
  margin: 0 auto;
  text-align: left;
}
.contact__title {
  font-size: clamp(2.6rem, 6vw, 5.4rem);
  letter-spacing: -0.04em;
  line-height: 0.98;
  margin: 24px 0 32px;
}
.contact__title em { color: var(--ink-2); }
.contact__title .accent { color: var(--accent); }
.contact__lede {
  font-size: 1.15rem;
  color: var(--ink-2);
  max-width: 50ch;
  margin: 0 0 56px;
}
.contact__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.contact__item {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 28px;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: border-color 0.3s, transform 0.3s var(--ease), background 0.3s;
}
.contact__item svg {
  position: absolute;
  top: 28px; right: 28px;
  width: 18px; height: 18px;
  color: var(--ink-mute);
  transition: color 0.3s, transform 0.3s var(--ease);
}
.contact__item span {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-mute);
}
.contact__item strong {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--ink);
  word-break: break-word;
}
.contact__item:hover {
  border-color: var(--accent);
  background: rgba(255, 107, 53, 0.04);
  transform: translateY(-3px);
}
.contact__item:hover svg { color: var(--accent); transform: translate(2px, -2px); }

@media (max-width: 720px) {
  .contact__grid { grid-template-columns: 1fr; }
}

/* ---------- Footer ---------- */
.footer {
  background: #050505;
  border-top: 1px solid var(--line);
}
.footer__inner {
  display: grid;
  grid-template-columns: 1.2fr 2fr;
  gap: 56px;
  padding: 80px var(--gutter) 40px;
}
.footer__brand {
  display: flex;
  align-items: center;
  gap: 14px;
}
.footer__brand strong { display: block; font-size: 1rem; }
.footer__brand p { color: var(--ink-mute); font-size: 0.85rem; margin: 4px 0 0; }
.footer__cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}
.footer__cols h6 {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin: 0 0 16px;
}
.footer__cols a {
  display: block;
  padding: 6px 0;
  font-size: 0.95rem;
  color: var(--ink-2);
  transition: color 0.3s, transform 0.3s var(--ease);
}
.footer__cols a:hover { color: var(--accent); transform: translateX(4px); }
.footer__base {
  border-top: 1px solid var(--line);
  padding: 24px var(--gutter);
  display: flex;
  justify-content: space-between;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.78rem;
  color: var(--ink-soft);
}
@media (max-width: 720px) {
  .footer__inner { grid-template-columns: 1fr; gap: 40px; padding-top: 60px; }
  .footer__base { flex-direction: column; gap: 6px; text-align: center; }
}

/* ---------- Reveal animations ---------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out);
}
[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  [data-reveal] { opacity: 1; transform: none; }
}

/* ============================================================
   Service Design Playbook page
   ============================================================ */

/* Hero */
.pb-hero {
  position: relative;
  min-height: 90vh;
  padding: 160px 0 80px;
  overflow: hidden;
}
.pb-hero__inner {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
}
.pb-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.78rem;
  color: var(--ink-mute);
  letter-spacing: 0.04em;
  margin-bottom: 48px;
  align-self: flex-start;
  transition: color 0.3s, transform 0.3s var(--ease);
}
.pb-back svg { width: 14px; height: 14px; transition: transform 0.3s var(--ease); }
.pb-back:hover { color: var(--accent); transform: translateX(-4px); }
.pb-back:hover svg { transform: translateX(-4px); }

.pb-hero__title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(3rem, 9vw, 7rem);
  line-height: 0.94;
  letter-spacing: -0.04em;
  font-weight: 500;
  margin: 24px 0 0;
  max-width: 1200px;
}
.pb-hero__title em {
  font-style: italic;
  background: linear-gradient(120deg, var(--accent) 0%, #ffaa70 50%, var(--accent) 100%);
  background-size: 200% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: shimmer 6s linear infinite 1.5s;
}

.pb-hero__lede {
  margin: 32px 0 0;
  max-width: 64ch;
  font-size: clamp(1rem, 1.25vw, 1.15rem);
  line-height: 1.6;
  color: var(--ink-2);
}

.pb-hero__phases {
  display: flex;
  align-items: stretch;
  flex-wrap: wrap;
  gap: 8px;
  margin: 56px 0 0;
  padding: 24px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--line);
  border-radius: var(--radius-l);
  max-width: 920px;
}
.pb-hero__phase {
  flex: 1;
  min-width: 140px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 18px 20px 16px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  position: relative;
  overflow: hidden;
  transition: transform 0.3s var(--ease), border-color 0.3s, background 0.3s;
}
.pb-hero__phase:hover {
  transform: translateY(-2px);
  border-color: var(--c);
  background: rgba(255, 255, 255, 0.03);
}
.pb-hero__phase::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--c);
  border-radius: 2px 2px 0 0;
}
.pb-hero__phase-num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.72rem;
  color: var(--c);
  letter-spacing: 0.06em;
}
.pb-hero__phase strong {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.4rem;
  font-weight: 500;
  color: var(--ink);
  letter-spacing: -0.01em;
}
.pb-hero__phase small {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.7rem;
  color: var(--ink-mute);
  letter-spacing: 0.04em;
}
.pb-hero__phase-arrow {
  align-self: center;
  color: var(--ink-soft);
  font-size: 1.2rem;
}

.pb-hero__cta { align-self: flex-start; margin-top: 40px; }

/* Sticky phase nav */
.pb-sticky-nav {
  position: sticky;
  top: 70px;
  z-index: 50;
  background: rgba(10, 10, 10, 0.85);
  backdrop-filter: blur(16px) saturate(160%);
  -webkit-backdrop-filter: blur(16px) saturate(160%);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 14px 0;
  margin-bottom: 32px;
}
.pb-sticky-nav__inner {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.pb-sticky-nav__label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.72rem;
  color: var(--ink-mute);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-right: 12px;
}
.pb-nav-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  font-size: 0.85rem;
  color: var(--ink-2);
  border: 1px solid var(--line);
  border-radius: 100px;
  transition: color 0.3s, border-color 0.3s, background 0.3s;
}
.pb-nav-link span {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.7rem;
  color: var(--c);
  letter-spacing: 0.04em;
}
.pb-nav-link:hover {
  color: var(--ink);
  border-color: var(--c);
  background: rgba(255, 255, 255, 0.03);
}
.pb-nav-link.is-active {
  color: var(--bg);
  background: var(--c);
  border-color: var(--c);
}
.pb-nav-link.is-active span { color: var(--bg); }

/* Phase section */
.pb-phase {
  padding: 80px 0 100px;
  border-top: 1px solid var(--line);
}
.pb-phase__head {
  display: grid;
  grid-template-columns: auto 1fr 1fr;
  align-items: end;
  gap: 32px;
  margin-bottom: 56px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--line);
}
.pb-phase__num {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(3rem, 6vw, 5rem);
  font-weight: 500;
  letter-spacing: -0.05em;
  line-height: 1;
}
.pb-phase__title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(2rem, 4vw, 3.4rem);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1;
  margin: 0 0 8px;
}
.pb-phase__subtitle {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.78rem;
  color: var(--ink-mute);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin: 0;
}
.pb-phase__desc {
  font-size: 1.05rem;
  line-height: 1.55;
  color: var(--ink-2);
  max-width: 50ch;
  margin: 0;
}

@media (max-width: 860px) {
  .pb-phase__head { grid-template-columns: 1fr; gap: 16px; }
}

/* Tools */
.pb-tools {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.pb-tool {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  transition: border-color 0.3s, background 0.3s;
}
.pb-tool::before {
  content: '';
  position: absolute;
  top: 0; left: 0; bottom: 0;
  width: 3px;
  background: var(--phase-color);
  opacity: 0.5;
  transition: opacity 0.3s, width 0.3s;
}
.pb-tool[open] {
  border-color: var(--line-strong);
  background: var(--bg-card-2);
}
.pb-tool[open]::before { opacity: 1; width: 4px; }
.pb-tool:hover { border-color: var(--line-strong); }
.pb-tool:hover::before { opacity: 0.8; }

.pb-tool__head {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 22px 28px;
  cursor: pointer;
  list-style: none;
  user-select: none;
  transition: background 0.3s;
}
.pb-tool__head::-webkit-details-marker { display: none; }
.pb-tool__head:hover { background: rgba(255, 255, 255, 0.02); }

.pb-tool__num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.78rem;
  color: var(--phase-color);
  letter-spacing: 0.04em;
  min-width: 32px;
}
.pb-tool__name {
  flex: 1;
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(1.1rem, 1.6vw, 1.35rem);
  font-weight: 500;
  letter-spacing: -0.01em;
  margin: 0;
  color: var(--ink);
}
.pb-tool__toggle {
  display: grid;
  place-items: center;
  width: 32px; height: 32px;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--ink-mute);
  transition: transform 0.3s var(--ease), border-color 0.3s, color 0.3s, background 0.3s;
  flex-shrink: 0;
}
.pb-tool__toggle svg { width: 14px; height: 14px; }
.pb-tool[open] .pb-tool__toggle {
  transform: rotate(180deg);
  border-color: var(--phase-color);
  color: var(--phase-color);
  background: rgba(255, 255, 255, 0.04);
}

.pb-tool__body {
  padding: 0 28px 28px 80px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px 40px;
  border-top: 1px solid var(--line);
  padding-top: 24px;
}
.pb-tool-section h5 {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--phase-color);
  margin: 0 0 10px;
}
.pb-tool-section p {
  font-size: 0.92rem;
  line-height: 1.6;
  color: var(--ink-2);
  margin: 0;
}
.pb-tool-section ul,
.pb-tool-section ol {
  margin: 0;
  padding: 0;
  list-style: none;
}
.pb-tool-section ul li,
.pb-tool-section ol li {
  position: relative;
  padding-left: 18px;
  margin-bottom: 8px;
  font-size: 0.9rem;
  line-height: 1.55;
  color: var(--ink-2);
}
.pb-tool-section ul li::before {
  content: '→';
  position: absolute;
  left: 0; top: 0;
  color: var(--phase-color);
}
.pb-tool-section ol {
  counter-reset: pb-step;
}
.pb-tool-section ol li {
  counter-increment: pb-step;
  padding-left: 28px;
}
.pb-tool-section ol li::before {
  content: counter(pb-step);
  position: absolute;
  left: 0; top: 0;
  width: 20px; height: 20px;
  display: grid; place-items: center;
  background: var(--phase-color);
  color: var(--bg);
  border-radius: 50%;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.65rem;
  font-weight: 600;
  line-height: 1;
}
.pb-tool-section a {
  color: var(--phase-color);
  text-decoration: underline;
  text-decoration-color: rgba(255, 255, 255, 0.2);
  text-underline-offset: 3px;
  transition: text-decoration-color 0.3s;
}
.pb-tool-section a:hover { text-decoration-color: var(--phase-color); }
.pb-tool-section strong { color: var(--ink); font-weight: 500; }

/* Single-column sections that are full-width */
.pb-tool-section:has(ul):has(+ h5),
.pb-tool-section:nth-of-type(2) { grid-column: span 1; }
.pb-tool-section { grid-column: span 1; }
.pb-tool-section:has(p:only-child) { grid-column: 1 / -1; }

@media (max-width: 720px) {
  .pb-tool__body { grid-template-columns: 1fr; padding: 0 24px 24px; gap: 20px; }
  .pb-tool__head { padding: 18px 20px; gap: 12px; }
  .pb-tool__num { display: none; }
}

/* CTA */
.pb-cta {
  padding: 100px 0;
  text-align: center;
  background: var(--bg-soft);
  border-top: 1px solid var(--line);
  position: relative;
  overflow: hidden;
}
.pb-cta::before {
  content: '';
  position: absolute;
  top: -20%; left: 50%;
  transform: translateX(-50%);
  width: 80vw; height: 80vw;
  background: radial-gradient(circle, rgba(255, 107, 53, 0.12) 0%, transparent 60%);
  filter: blur(80px);
  pointer-events: none;
}
.pb-cta h2 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(2rem, 4.4vw, 3.6rem);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.05;
  margin: 0 0 16px;
  position: relative;
  z-index: 2;
}
.pb-cta h2 em { color: var(--accent); }
.pb-cta p {
  font-size: 1.05rem;
  color: var(--ink-2);
  max-width: 50ch;
  margin: 0 auto 32px;
  position: relative;
  z-index: 2;
}
.pb-cta .btn { position: relative; z-index: 2; }

/* ============================================================
   Case Study page
   ============================================================ */

.cs-section {
  padding: 120px 0;
  position: relative;
}
.cs-section--alt {
  background: var(--bg-soft);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.cs-section--reflection {
  background: linear-gradient(180deg, var(--bg) 0%, #050505 100%);
  border-top: 1px solid var(--line);
  position: relative;
  overflow: hidden;
}
.cs-section--reflection::before {
  content: '';
  position: absolute;
  top: 20%;
  right: -10%;
  width: 60vw; height: 60vw;
  background: radial-gradient(circle, rgba(255, 107, 53, 0.08) 0%, transparent 60%);
  filter: blur(100px);
  pointer-events: none;
}

.cs-section__head {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 64px;
  max-width: 880px;
}
.cs-section__title {
  font-size: clamp(2rem, 4.2vw, 3.4rem);
  line-height: 1.05;
  letter-spacing: -0.035em;
  margin: 0;
  color: var(--ink);
}
.cs-section__title em { color: var(--accent); }

.cs-subhead {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.25rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  margin: 0 0 20px;
  color: var(--ink);
}

/* Hero */
.cs-hero {
  position: relative;
  min-height: 90vh;
  padding: 160px 0 100px;
  overflow: hidden;
}
.cs-hero__inner {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
}
.cs-hero__meta {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  color: var(--ink-2);
  margin-bottom: 32px;
  flex-wrap: wrap;
}
.cs-hero__client { color: var(--accent); font-weight: 500; }
.cs-hero__sep { color: var(--ink-soft); }
.cs-hero__tag { color: var(--ink-mute); }

.cs-hero__title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(2.6rem, 6.8vw, 5.6rem);
  line-height: 0.98;
  letter-spacing: -0.04em;
  font-weight: 500;
  margin: 0;
  max-width: 1200px;
}
.cs-hero__title em {
  font-style: italic;
  background: linear-gradient(120deg, var(--accent) 0%, #ffaa70 50%, var(--accent) 100%);
  background-size: 200% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: shimmer 6s linear infinite 1.5s;
}

.cs-hero__lede {
  margin: 32px 0 0;
  max-width: 64ch;
  font-size: clamp(1.05rem, 1.4vw, 1.25rem);
  line-height: 1.55;
  color: var(--ink-2);
}

.cs-hero__facts {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin: 64px 0 0;
  padding: 24px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.cs-fact {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 0 24px;
  border-right: 1px solid var(--line);
}
.cs-fact:first-child { padding-left: 0; }
.cs-fact:last-child { border-right: 0; padding-right: 0; }
.cs-fact__label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-mute);
}
.cs-fact__value {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--ink);
  letter-spacing: -0.01em;
}

.cs-hero__scroll {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin-top: 56px;
}
.cs-hero__scroll .hero__scroll-line { width: 1px; height: 32px; }

@media (max-width: 860px) {
  .cs-hero__facts { grid-template-columns: 1fr 1fr; gap: 16px 0; }
  .cs-fact:nth-child(2) { border-right: 0; }
  .cs-fact { padding: 0 12px; }
  .cs-fact:first-child, .cs-fact:nth-child(3) { padding-bottom: 16px; border-bottom: 1px solid var(--line); }
  .cs-fact:nth-child(3), .cs-fact:nth-child(4) { padding-top: 8px; }
}

/* Overview grid */
.cs-overview__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 64px;
  align-items: start;
}
.cs-overview__text p {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--ink-2);
  margin: 0 0 16px;
}
.cs-overview__text p:last-child { margin-bottom: 0; }
.cs-overview__text strong { color: var(--ink); font-weight: 500; }
.cs-overview__scope {
  margin-top: 24px !important;
  padding: 18px 20px;
  background: rgba(255, 107, 53, 0.06);
  border-left: 2px solid var(--accent);
  border-radius: 0 8px 8px 0;
  font-size: 0.95rem !important;
  color: var(--ink) !important;
}

.cs-overview__stats {
  position: sticky;
  top: 100px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.cs-stat {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 24px 20px;
  background: var(--bg-card);
}
.cs-stat__num {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 2.4rem;
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1;
  color: var(--accent);
}
.cs-stat__label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.72rem;
  color: var(--ink-mute);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

@media (max-width: 860px) {
  .cs-overview__grid { grid-template-columns: 1fr; gap: 40px; }
  .cs-overview__stats { position: static; }
}

/* Challenge */
.cs-challenge {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 56px;
  align-items: start;
  margin-bottom: 56px;
}
.cs-challenge__lede {
  font-size: 1.1rem !important;
  color: var(--ink) !important;
  margin-bottom: 16px !important;
}
.cs-journey-steps {
  list-style: none;
  counter-reset: step;
  padding: 0;
  margin: 0 0 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.cs-journey-steps li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line);
  border-radius: 100px;
  font-size: 0.88rem;
  color: var(--ink);
  counter-increment: step;
  position: relative;
}
.cs-journey-steps li::before {
  content: counter(step, decimal-leading-zero);
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.7rem;
  color: var(--accent);
}
.cs-challenge__text p {
  font-size: 1rem;
  line-height: 1.65;
  color: var(--ink-2);
  margin: 0 0 14px;
}

.cs-problems {
  margin-bottom: 56px;
}
.cs-problems__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px 32px;
}
.cs-problems__list li {
  position: relative;
  padding-left: 22px;
  font-size: 1rem;
  line-height: 1.55;
  color: var(--ink-2);
}
.cs-problems__list li::before {
  content: '';
  position: absolute;
  left: 0; top: 10px;
  width: 8px; height: 8px;
  background: var(--accent);
  border-radius: 50%;
}

@media (max-width: 860px) {
  .cs-challenge { grid-template-columns: 1fr; }
  .cs-problems__list { grid-template-columns: 1fr; }
}

/* Pullquote */
.cs-pullquote {
  margin: 0;
  padding: 40px 48px;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-left: 3px solid var(--accent);
  border-radius: 0 var(--radius) var(--radius) 0;
}
.cs-pullquote p {
  font-family: 'Instrument Serif', serif;
  font-style: italic;
  font-size: clamp(1.3rem, 2vw, 1.7rem);
  line-height: 1.4;
  color: var(--ink);
  margin: 0;
  letter-spacing: -0.005em;
}
.cs-pullquote--accent {
  background: rgba(255, 107, 53, 0.06);
  border-color: var(--accent);
  border-left-width: 3px;
}
@media (max-width: 720px) {
  .cs-pullquote { padding: 28px; }
}

/* Role */
.cs-role {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 48px;
  align-items: start;
}
.cs-role__list {
  list-style: none;
  counter-reset: role;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px 24px;
}
.cs-role__list li {
  position: relative;
  padding-left: 36px;
  font-size: 0.95rem;
  line-height: 1.5;
  color: var(--ink-2);
  counter-increment: role;
}
.cs-role__list li::before {
  content: counter(role, decimal-leading-zero);
  position: absolute;
  left: 0; top: 0;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.7rem;
  color: var(--accent);
  letter-spacing: 0.04em;
  padding-top: 2px;
}
.cs-role__callout {
  position: sticky;
  top: 100px;
  padding: 32px;
  background: linear-gradient(135deg, rgba(255, 107, 53, 0.08), rgba(78, 205, 196, 0.04));
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
}
.cs-role__callout-label {
  display: block;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}
.cs-role__callout p {
  font-family: 'Instrument Serif', serif;
  font-style: italic;
  font-size: 1.2rem;
  line-height: 1.4;
  color: var(--ink);
  margin: 0;
}
@media (max-width: 860px) {
  .cs-role { grid-template-columns: 1fr; }
  .cs-role__list { grid-template-columns: 1fr; }
  .cs-role__callout { position: static; }
}

/* Ecosystem */
.cs-ecosystem {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 48px;
}
.cs-layer {
  position: relative;
  padding: 32px 28px;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: transform 0.4s var(--ease), border-color 0.3s, background 0.3s;
  overflow: hidden;
}
.cs-layer:hover {
  transform: translateY(-4px);
  border-color: var(--accent);
  background: var(--bg-card-2);
}
.cs-layer::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), transparent);
}
.cs-layer:nth-child(2)::before {
  background: linear-gradient(90deg, var(--teal), transparent);
}
.cs-layer:nth-child(3)::before {
  background: linear-gradient(90deg, var(--violet), transparent);
}
.cs-layer__num {
  display: inline-block;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  color: var(--accent);
  margin-bottom: 16px;
}
.cs-layer:nth-child(2) .cs-layer__num { color: var(--teal); }
.cs-layer:nth-child(3) .cs-layer__num { color: var(--violet); }
.cs-layer__title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.4rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  margin: 0 0 12px;
  color: var(--ink);
}
.cs-layer p {
  font-size: 0.92rem;
  line-height: 1.55;
  color: var(--ink-2);
  margin: 0;
}
@media (max-width: 860px) {
  .cs-ecosystem { grid-template-columns: 1fr; }
}

.cs-ecosystem__insight {
  max-width: 70ch;
  margin: 0 auto 48px;
  text-align: center;
}
.cs-ecosystem__insight p {
  font-size: 1.05rem;
  line-height: 1.6;
  color: var(--ink-2);
  margin: 0 0 16px;
}
.cs-ecosystem__conclusion strong { color: var(--ink); font-weight: 500; }
.cs-ecosystem__conclusion { color: var(--ink) !important; }

/* Research */
.cs-research {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
}
.cs-research__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
}
.cs-research__list li {
  position: relative;
  padding: 14px 16px 14px 44px;
  font-size: 0.95rem;
  color: var(--ink-2);
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: 10px;
  transition: border-color 0.3s;
}
.cs-research__list li:hover { border-color: var(--line-strong); }
.cs-research__list li::before {
  content: '✓';
  position: absolute;
  left: 16px; top: 50%;
  transform: translateY(-50%);
  width: 18px; height: 18px;
  display: grid; place-items: center;
  background: var(--accent);
  color: var(--bg);
  border-radius: 50%;
  font-size: 0.7rem;
  font-weight: 700;
}

.cs-research__perspectives {
  padding: 32px;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.cs-research__intro {
  font-size: 1rem;
  color: var(--ink-2);
  margin: 0 0 20px;
}
.cs-research__conclusion {
  margin: 20px 0 0;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  font-size: 1rem;
  color: var(--ink) !important;
  font-style: italic;
  font-family: 'Instrument Serif', serif;
}
.cs-perspective {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}
.cs-perspective:last-of-type { border-bottom: 0; }
.cs-perspective__num {
  width: 32px; height: 32px;
  display: grid; place-items: center;
  background: rgba(255, 107, 53, 0.15);
  color: var(--accent);
  border-radius: 50%;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  font-size: 0.9rem;
  flex-shrink: 0;
}
.cs-perspective h4 {
  font-size: 0.95rem;
  font-weight: 500;
  margin: 0;
  color: var(--ink);
}
@media (max-width: 860px) {
  .cs-research { grid-template-columns: 1fr; }
}

/* Findings */
.cs-findings {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.cs-finding {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 24px;
  padding: 28px 32px;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: border-color 0.3s, transform 0.3s var(--ease);
}
.cs-finding:hover {
  border-color: var(--accent);
  transform: translateX(4px);
}
.cs-finding__num {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 3rem;
  font-weight: 500;
  letter-spacing: -0.05em;
  color: var(--accent);
  line-height: 1;
  padding-top: 4px;
}
.cs-finding__body h3 {
  font-size: 1.2rem;
  font-weight: 500;
  margin: 0 0 10px;
  color: var(--ink);
  letter-spacing: -0.01em;
}
.cs-finding__body p {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--ink-2);
  margin: 0;
}
.cs-finding__body em {
  font-style: italic;
  color: var(--accent);
  font-family: 'Instrument Serif', serif;
}
@media (max-width: 720px) {
  .cs-finding { grid-template-columns: 1fr; gap: 12px; padding: 24px; }
  .cs-finding__num { font-size: 2.4rem; }
}

/* Reframe */
.cs-reframe {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 24px;
  align-items: stretch;
  margin-bottom: 40px;
}
.cs-reframe__col {
  padding: 32px;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.cs-reframe__col--before {
  border-color: var(--line-strong);
  opacity: 0.7;
}
.cs-reframe__col--after {
  background: linear-gradient(135deg, rgba(255, 107, 53, 0.08), rgba(78, 205, 196, 0.04));
  border-color: var(--accent);
}
.cs-reframe__label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-mute);
}
.cs-reframe__col--after .cs-reframe__label { color: var(--accent); }
.cs-reframe__col h3 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.4rem;
  font-weight: 500;
  margin: 0;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.cs-reframe__col p {
  font-size: 0.95rem;
  line-height: 1.55;
  color: var(--ink-2);
  margin: 0;
}
.cs-reframe__arrow {
  display: grid;
  place-items: center;
  font-size: 2rem;
  color: var(--accent);
  padding: 0 8px;
}
.cs-reframe__conclusion {
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--ink-2);
  max-width: 80ch;
  margin: 0 auto;
  text-align: center;
}
@media (max-width: 860px) {
  .cs-reframe { grid-template-columns: 1fr; }
  .cs-reframe__arrow { transform: rotate(90deg); padding: 8px 0; }
}

/* Principles */
.cs-principles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.cs-principle {
  position: relative;
  padding: 32px 28px;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: border-color 0.3s, transform 0.3s var(--ease), background 0.3s;
}
.cs-principle:hover {
  border-color: var(--accent);
  transform: translateY(-3px);
  background: var(--bg-card-2);
}
.cs-principle__num {
  display: inline-block;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 2.2rem;
  font-weight: 500;
  letter-spacing: -0.04em;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 16px;
}
.cs-principle h3 {
  font-size: 1.15rem;
  font-weight: 500;
  margin: 0 0 10px;
  color: var(--ink);
  letter-spacing: -0.01em;
}
.cs-principle p {
  font-size: 0.92rem;
  line-height: 1.55;
  color: var(--ink-2);
  margin: 0;
}
@media (max-width: 860px) {
  .cs-principles { grid-template-columns: 1fr; }
}

/* Design response */
.cs-response {
  display: flex;
  flex-direction: column;
  gap: 64px;
}
.cs-response__item {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 48px;
  align-items: start;
}
.cs-response__item:nth-child(even) {
  grid-template-columns: 1fr 1.3fr;
}
.cs-response__item:nth-child(even) .cs-response__body { order: 2; }
.cs-response__item:nth-child(even) .cs-visual { order: 1; }
.cs-response__num {
  display: inline-block;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  color: var(--accent);
  margin-bottom: 12px;
}
.cs-response__body h3 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(1.3rem, 1.8vw, 1.65rem);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin: 0 0 16px;
  color: var(--ink);
}
.cs-response__body p {
  font-size: 0.98rem;
  line-height: 1.65;
  color: var(--ink-2);
  margin: 0 0 14px;
}
.cs-response__body p:last-child { margin-bottom: 0; }
.cs-response__body em {
  font-style: italic;
  color: var(--ink);
  font-family: 'Instrument Serif', serif;
}
@media (max-width: 860px) {
  .cs-response__item,
  .cs-response__item:nth-child(even) { grid-template-columns: 1fr; gap: 24px; }
  .cs-response__item:nth-child(even) .cs-response__body,
  .cs-response__item:nth-child(even) .cs-visual { order: initial; }
}

/* Visual placeholders */
.cs-visual {
  margin: 0;
  position: relative;
}
.cs-visual__placeholder {
  position: relative;
  aspect-ratio: 4 / 3;
  background: var(--bg-card);
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 24px;
  text-align: center;
  overflow: hidden;
  transition: border-color 0.3s, background 0.3s;
}
.cs-visual__placeholder::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 24px 24px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 75%);
  pointer-events: none;
}
.cs-visual__placeholder--diagram {
  aspect-ratio: 16 / 10;
}
.cs-visual:hover .cs-visual__placeholder {
  border-color: var(--accent);
  background: var(--bg-card-2);
}
.cs-visual__icon {
  display: grid;
  place-items: center;
  width: 56px; height: 56px;
  background: rgba(255, 107, 53, 0.1);
  color: var(--accent);
  border-radius: 16px;
  position: relative;
  z-index: 2;
}
.cs-visual__icon svg { width: 28px; height: 28px; }
.cs-visual__label {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--ink);
  position: relative;
  z-index: 2;
  letter-spacing: -0.01em;
}
.cs-visual__hint {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.7rem;
  letter-spacing: 0.04em;
  color: var(--ink-mute);
  position: relative;
  z-index: 2;
}
.cs-visual figcaption {
  margin-top: 12px;
  font-size: 0.85rem;
  line-height: 1.5;
  color: var(--ink-mute);
  text-align: center;
  font-style: italic;
}
.cs-visual--wide .cs-visual__placeholder {
  aspect-ratio: 21 / 9;
}

/* Personas */
.cs-personas {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.cs-persona {
  padding: 32px;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: border-color 0.3s, transform 0.3s var(--ease);
}
.cs-persona:hover {
  border-color: var(--accent);
  transform: translateY(-3px);
}
.cs-persona__head {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 12px;
}
.cs-persona__num {
  width: 40px; height: 40px;
  display: grid; place-items: center;
  background: var(--accent);
  color: var(--bg);
  border-radius: 50%;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  font-size: 1rem;
  flex-shrink: 0;
}
.cs-persona h3 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.2rem;
  font-weight: 500;
  margin: 0;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.cs-persona__tag {
  display: inline-block;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.7rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 12px;
  padding-left: 56px;
}
.cs-persona__body {
  font-size: 0.92rem;
  line-height: 1.55;
  color: var(--ink-2);
  margin: 0;
}
@media (max-width: 720px) {
  .cs-personas { grid-template-columns: 1fr; }
  .cs-persona__tag { padding-left: 0; }
}

/* Deliverables */
.cs-deliverables {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.cs-deliverable {
  padding: 20px 22px;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: 12px;
  font-size: 0.95rem;
  color: var(--ink);
  display: flex;
  align-items: center;
  gap: 14px;
  transition: border-color 0.3s, transform 0.3s var(--ease);
}
.cs-deliverable::before {
  content: '↗';
  font-family: 'JetBrains Mono', monospace;
  color: var(--accent);
  font-size: 0.9rem;
}
.cs-deliverable:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
}
@media (max-width: 860px) {
  .cs-deliverables { grid-template-columns: 1fr; }
}

/* Outcome */
.cs-outcome__list {
  max-width: 60ch;
  margin-bottom: 48px;
}
.cs-outcome__list ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.cs-outcome__list li {
  position: relative;
  padding-left: 28px;
  font-size: 1.02rem;
  line-height: 1.55;
  color: var(--ink-2);
}
.cs-outcome__list li::before {
  content: '→';
  position: absolute;
  left: 0; top: 0;
  color: var(--accent);
  font-weight: 600;
}
.cs-outcome__note {
  max-width: 70ch;
  margin: 40px 0 0;
  padding: 20px 24px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--ink-2);
  font-style: italic;
}

/* Reflection */
.cs-reflection {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}
.cs-reflection p {
  font-size: clamp(1.1rem, 1.5vw, 1.3rem);
  line-height: 1.6;
  color: var(--ink-2);
  margin: 0 0 24px;
  font-weight: 300;
}
.cs-reflection__list {
  list-style: none;
  padding: 32px 0;
  margin: 32px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 16px;
  text-align: left;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}
.cs-reflection__list li {
  position: relative;
  padding-left: 24px;
  font-size: 1rem;
  line-height: 1.5;
  color: var(--ink-2);
  font-weight: 300;
}
.cs-reflection__list li::before {
  content: '→';
  position: absolute;
  left: 0; top: 0;
  color: var(--accent);
}
.cs-reflection__closing {
  font-family: 'Instrument Serif', serif;
  font-style: italic;
  font-size: clamp(1.4rem, 2.4vw, 2rem) !important;
  line-height: 1.35 !important;
  color: var(--ink) !important;
  font-weight: 400 !important;
  margin-top: 40px;
}
.cs-reflection__closing em { color: var(--accent); font-style: italic; }

/* Next case study */
.cs-next {
  padding: 100px 0;
  background: var(--bg-soft);
  border-top: 1px solid var(--line);
}
.cs-next h2 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin: 12px 0 40px;
  color: var(--ink);
}
.cs-next h2 em { color: var(--accent); }
.cs-next__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.cs-next__card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 32px;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: border-color 0.3s, transform 0.3s var(--ease);
}
.cs-next__card:hover {
  border-color: var(--accent);
  transform: translateY(-3px);
}
.cs-next__client {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
}
.cs-next__card h3 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.4rem;
  font-weight: 500;
  margin: 0;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.cs-next__card p {
  font-size: 0.95rem;
  line-height: 1.55;
  color: var(--ink-2);
  margin: 0;
  flex: 1;
}
.cs-next__cta {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.78rem;
  color: var(--accent);
  margin-top: 8px;
}
@media (max-width: 720px) {
  .cs-next__grid { grid-template-columns: 1fr; }
}
