/* ──────────── reset + base ──────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg, #0f0e0d);
  color: var(--ink, #f3eee3);
  font-family: var(--ff-body);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
img { display: block; max-width: 100%; }

.root {
  background: var(--bg);
  color: var(--ink);
  min-height: 100vh;
  font-family: var(--ff-body);
  position: relative;
  transition: background .35s ease, color .35s ease;
}

/* ──────────── nav ──────────── */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  padding: 18px 40px;
  background: color-mix(in oklab, var(--bg) 82%, transparent);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid color-mix(in oklab, var(--line) 70%, transparent);
  transition: transform .35s ease;
}
.nav-hidden { transform: translateY(-100%); }

.nav-mark { display: inline-flex; align-items: center; gap: 12px; }
.nav-mark-d {
  display: inline-grid; place-items: center;
  width: 32px; height: 32px;
  background: var(--ink); color: var(--bg);
  border-radius: 999px; font-style: italic; font-size: 18px;
  font-family: var(--ff-display);
  flex-shrink: 0;
}
.nav-mark-text { display: flex; flex-direction: column; gap: 1px; }
.nav-mark-name {
  font-style: italic; font-size: 17px; letter-spacing: -.01em;
  line-height: 1.1; font-family: var(--ff-display);
}
.nav-mark-role {
  font-size: 9px; text-transform: uppercase; letter-spacing: .18em;
  color: var(--muted); font-family: var(--ff-body); line-height: 1;
}

.nav-links { display: flex; gap: 28px; justify-self: center; font-size: 14px; }
.nav-links a { color: var(--muted); transition: color .2s; }
.nav-links a:hover { color: var(--ink); }

.nav-cta {
  justify-self: end;
  display: inline-flex; align-items: center; gap: 10px;
  padding: 9px 18px 9px 20px;
  background: var(--accent); color: var(--accent-ink);
  border-radius: 999px; font-size: 13px; font-weight: 600; letter-spacing: -.005em;
  transition: transform .2s, box-shadow .2s;
}
.nav-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 24px -6px color-mix(in oklab, var(--accent) 55%, transparent);
}
.nav-cta-dot { width: 7px; height: 7px; border-radius: 999px; background: var(--accent-ink); display: inline-block; opacity: 0.5; }

/* ──────────── hero ──────────── */
.hero {
  min-height: 100vh;
  padding: 0 40px;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

/* Subtle grid lines */
.hero::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(color-mix(in oklab, var(--line) 80%, transparent) 1px, transparent 1px),
    linear-gradient(90deg, color-mix(in oklab, var(--line) 80%, transparent) 1px, transparent 1px);
  background-size: 72px 72px;
  pointer-events: none;
}

/* Accent glow */
.hero-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 60% 70% at 80% 25%, color-mix(in oklab, var(--accent) 13%, transparent), transparent 65%),
    radial-gradient(ellipse 50% 60% at 5% 90%, color-mix(in oklab, var(--accent) 8%, transparent), transparent 60%);
  pointer-events: none;
}

.hero-wrap {
  width: 100%; max-width: 1360px; margin: 0 auto;
  display: grid; grid-template-columns: 1.05fr 1fr;
  gap: 72px; align-items: center;
  padding: 128px 0 80px;
  position: relative; z-index: 1;
}

/* ── Left column ── */
.hero-left { display: flex; flex-direction: column; gap: 36px; }

.hero-label {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 9px 18px;
  border: 1px solid var(--line); border-radius: 999px;
  font-size: 11px; letter-spacing: .10em; text-transform: uppercase;
  color: var(--muted); width: fit-content;
  background: color-mix(in oklab, var(--surface) 80%, transparent);
}
.hero-label-sep { color: var(--line); }

.status-dot {
  width: 8px; height: 8px;
  background: #2fa163; border-radius: 999px;
  box-shadow: 0 0 0 4px color-mix(in oklab, #2fa163 28%, transparent);
  display: inline-block; flex-shrink: 0;
}

.hero-h1 {
  font-family: var(--ff-display);
  font-weight: 700;
  font-size: clamp(52px, 6.8vw, 96px);
  line-height: .93;
  letter-spacing: -.04em;
  display: flex; flex-direction: column; gap: .02em;
}
.hero-h1 span { display: block; }
.hero-h1-em { color: var(--accent); font-style: italic; }

.hero-p {
  font-size: clamp(16px, 1.4vw, 18px);
  line-height: 1.6; color: var(--muted); max-width: 460px;
}

.hero-actions {
  display: flex; gap: 12px; align-items: center; flex-wrap: wrap;
}

.hero-cta-main {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 15px 26px;
  background: var(--accent); color: var(--accent-ink);
  border-radius: 999px; font-size: 15px; font-weight: 600; letter-spacing: -.01em;
  transition: transform .2s, box-shadow .2s;
}
.hero-cta-main:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 36px -8px color-mix(in oklab, var(--accent) 55%, transparent);
}
.hero-cta-main svg { transition: transform .2s; }
.hero-cta-main:hover svg { transform: translateX(3px); }

.hero-cta-ghost {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 15px 20px;
  border: 1px solid var(--line); border-radius: 999px;
  font-size: 14px; color: var(--muted);
  transition: border-color .2s, color .2s;
}
.hero-cta-ghost:hover {
  border-color: color-mix(in oklab, var(--ink) 55%, transparent);
  color: var(--ink);
}
.hero-cta-count {
  font-size: 11px; padding: 3px 8px;
  background: var(--surface); border-radius: 999px; letter-spacing: .04em;
}

/* Metrics bar */
.hero-metrics {
  display: flex; align-items: center; gap: 20px;
  padding-top: 4px; border-top: 1px solid var(--line);
  flex-wrap: wrap;
}
.hero-metric { display: flex; flex-direction: column; gap: 5px; }
.hero-metric strong {
  font-family: var(--ff-display);
  font-size: clamp(28px, 2.8vw, 40px);
  line-height: 1; letter-spacing: -.03em; font-weight: 700;
}
.hero-metric span {
  font-size: 10px; color: var(--muted);
  text-transform: uppercase; letter-spacing: .10em;
}
.hero-metric-sep { width: 1px; height: 36px; background: var(--line); flex-shrink: 0; }

/* ── Right column: mosaic ── */
.hero-right { position: relative; }

.hero-mosaic {
  display: grid; grid-template-columns: 1.3fr 1fr;
  gap: 10px; height: 530px;
}

.hero-mosaic-main {
  position: relative; border-radius: 12px;
  overflow: hidden; background: var(--surface);
}
.hero-mosaic-main img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform .7s cubic-bezier(.4,0,.2,1);
}
.hero-mosaic-main:hover img { transform: scale(1.04); }

.hero-mosaic-col {
  display: grid; grid-template-rows: 1fr 1fr; gap: 10px;
}
.hero-mosaic-item {
  position: relative; border-radius: 12px; overflow: hidden;
}
.hero-mosaic-item img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform .7s cubic-bezier(.4,0,.2,1);
}
.hero-mosaic-item:hover img { transform: scale(1.05); }

.hero-mosaic-label {
  position: absolute; bottom: 10px; left: 10px;
  padding: 5px 11px;
  background: rgba(0,0,0,.65); color: rgba(255,255,255,.95);
  border-radius: 999px; font-size: 10px;
  letter-spacing: .08em; text-transform: uppercase;
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}

/* Floating badge */
.hero-float {
  position: absolute; bottom: -16px; left: -24px;
  padding: 16px 20px;
  background: var(--accent); color: var(--accent-ink);
  border-radius: 14px;
  display: flex; align-items: center; gap: 14px;
  box-shadow: 0 24px 64px -12px rgba(0,0,0,.5);
  animation: heroFloat 3.5s ease-in-out infinite;
}
.hero-float-n {
  font-family: var(--ff-display);
  font-size: 40px; line-height: 1; font-weight: 700; letter-spacing: -.02em;
}
.hero-float-text { display: flex; flex-direction: column; gap: 2px; }
.hero-float-l { font-size: 13px; font-weight: 600; line-height: 1.2; }
.hero-float-sub { font-size: 11px; opacity: .8; line-height: 1.2; }

@keyframes heroFloat {
  0%, 100% { transform: translateY(0px); }
  50%       { transform: translateY(-8px); }
}

/* ──────────── marquee ──────────── */
.marquee {
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  background: color-mix(in oklab, var(--surface) 60%, transparent);
  overflow: hidden;
}
.marquee-eyebrow {
  text-align: center;
  font-size: 10px; letter-spacing: .20em; text-transform: uppercase;
  color: var(--muted);
  padding: 16px 32px 8px;
}
.marquee-track {
  display: inline-flex; gap: 48px;
  white-space: nowrap;
  animation: marquee 38s linear infinite;
  font-family: var(--ff-display); font-style: italic;
  font-size: 28px; color: var(--ink);
  padding: 10px 0 18px;
}
.marquee-item { display: inline-flex; align-items: center; gap: 24px; }
.marquee-star { color: var(--accent); font-size: 20px; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-33.333%); } }

/* ──────────── sections (shared) ──────────── */
.section { padding: 120px 40px; }
.sec-head { max-width: 760px; margin-bottom: 72px; }
.kicker { display: inline-block; font-size: 11px; letter-spacing: .20em; text-transform: uppercase; color: var(--muted); margin-bottom: 24px; }
.kicker-light { color: color-mix(in oklab, var(--bg) 60%, var(--muted)); }
.sec-t { font-family: var(--ff-display); font-size: clamp(48px, 6vw, 88px); line-height: .98; letter-spacing: -.025em; font-weight: 400; }
.sec-s { margin-top: 20px; font-size: 18px; color: var(--muted); max-width: 540px; }

/* ──────────── work list ──────────── */
.work-list { position: relative; border-top: 1px solid var(--line); }
.work-row {
  display: grid;
  grid-template-columns: 60px 1.5fr 2fr 1.5fr 80px 32px;
  align-items: center; gap: 24px;
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
  transition: padding .25s ease;
  position: relative;
}
.work-row:hover { padding-left: 16px; }
.work-row::before {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 0;
  background: var(--accent); transition: width .3s ease;
}
.work-row:hover::before { width: 4px; }
.work-num { font-family: var(--ff-display); font-size: 14px; color: var(--muted); font-style: italic; }
.work-client { font-family: var(--ff-display); font-size: clamp(24px, 3vw, 42px); letter-spacing: -.02em; }
.work-kind { font-size: 15px; color: var(--muted); }
.work-tags { display: flex; gap: 6px; flex-wrap: wrap; }
.tag {
  display: inline-block; font-size: 10px; letter-spacing: .08em;
  padding: 5px 9px; border: 1px solid var(--line); border-radius: 999px;
  text-transform: uppercase; color: var(--muted);
}
.work-year { font-size: 13px; color: var(--muted); font-variant-numeric: tabular-nums; }
.work-arrow { font-size: 18px; color: var(--muted); transition: transform .25s; }
.work-row:hover .work-arrow { transform: translate(4px, -4px); color: var(--ink); }

.work-preview {
  position: absolute; right: 0; top: 0;
  pointer-events: none; width: 280px; height: 360px;
  z-index: 5; animation: prevIn .25s ease;
}
.work-preview-card {
  width: 100%; height: 100%; overflow: hidden;
  border-radius: 8px; box-shadow: 0 30px 80px -20px rgba(0,0,0,.4);
}
.work-preview-img { width: 100%; height: 100%; object-fit: cover; display: block; }
@keyframes prevIn { from { opacity: 0; transform: translateY(20px) scale(.96); } to { opacity: 1; transform: none; } }

/* ──────────── case study ──────────── */
.case { padding: 0 40px 120px; }
.case-tag {
  display: inline-block; margin-bottom: 24px;
  padding: 6px 14px; background: var(--chip); color: var(--bg);
  border-radius: 999px; font-size: 11px; letter-spacing: .15em; text-transform: uppercase;
}
.case-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 56px; align-items: stretch; }
.case-gallery { display: grid; grid-template-columns: 1.4fr 1fr; gap: 12px; align-items: stretch; }
.case-gallery-main { border-radius: 8px; overflow: hidden; background: #111; aspect-ratio: 4 / 5; }
.case-gallery-main img { width: 100%; height: 100%; object-fit: cover; display: block; }
.case-gallery-side { display: grid; grid-template-rows: 1fr 1fr; gap: 12px; min-height: 0; }
.case-gallery-side img { border-radius: 8px; width: 100%; height: 100%; min-height: 0; object-fit: cover; display: block; background: #111; }

.case-right { display: flex; flex-direction: column; gap: 24px; padding: 32px 0; }
.case-title { font-family: var(--ff-display); font-size: clamp(44px, 5.5vw, 76px); line-height: .98; letter-spacing: -.025em; }
.case-kicker { font-size: 18px; color: var(--muted); max-width: 480px; line-height: 1.5; }
.case-rows { display: flex; flex-direction: column; border-top: 1px solid var(--line); }
.case-row { display: grid; grid-template-columns: 120px 1fr; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.case-row > span:first-child { color: var(--muted); text-transform: uppercase; font-size: 11px; letter-spacing: .12em; padding-top: 2px; }
.case-results { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; padding: 12px 0; }
.result { display: flex; flex-direction: column; gap: 4px; }
.result-n { font-family: var(--ff-display); font-size: 40px; line-height: 1; color: var(--accent); letter-spacing: -.02em; }
.result-l { font-size: 12px; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; }
.case-link {
  align-self: flex-start;
  display: inline-flex; align-items: center; gap: 12px;
  margin-top: 8px; padding: 14px 22px;
  border: 1px solid var(--ink); border-radius: 999px; font-size: 14px;
  transition: background .2s, color .2s;
}
.case-link:hover { background: var(--ink); color: var(--bg); }
.case-link span { transition: transform .2s; }
.case-link:hover span { transform: translateX(4px); }

/* ──────────── secondary cases ──────────── */
.cases-row { padding: 0 40px 120px; display: grid; gap: 80px; }
.cases-row-item { display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px; align-items: center; }
.cases-row-item-flip { grid-template-columns: 1fr 1.1fr; }
.cases-row-item-flip .cases-row-img { order: 2; }
.cases-row-img { aspect-ratio: 4 / 5; border-radius: 8px; overflow: hidden; }
.cases-row-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cases-row-meta h4 { font-family: var(--ff-display); font-size: clamp(28px, 3.2vw, 44px); line-height: 1.05; letter-spacing: -.02em; font-weight: 400; margin: 14px 0 14px; }
.cases-row-meta p { font-size: 16px; color: var(--muted); max-width: 460px; line-height: 1.55; }

/* ──────────── ugc ──────────── */
.ugc { padding: 0 40px 120px; }
.ugc-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; margin-top: 32px; }
.ugc-grid img { width: 100%; aspect-ratio: 9 / 16; object-fit: cover; border-radius: 8px; background: #111; transition: transform .4s ease; }
.ugc-grid img:hover { transform: scale(1.02); }
.ugc-foot { margin-top: 24px; font-size: 14px; color: var(--muted); }
.ugc-foot strong { color: var(--ink); font-weight: 500; }

/* ──────────── services ──────────── */
.services { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 4px; overflow: hidden; }
.service {
  background: var(--bg); padding: 40px 36px 36px;
  position: relative; transition: background .25s; cursor: pointer;
  min-height: 280px; display: flex; flex-direction: column;
}
.service:hover { background: var(--surface); }
.service-top { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 32px; }
.service-n { font-family: var(--ff-display); font-style: italic; font-size: 14px; color: var(--muted); }
.service-tags { display: flex; gap: 6px; }
.chip { display: inline-block; font-size: 10px; padding: 4px 9px; background: var(--chip); color: var(--bg); border-radius: 999px; letter-spacing: .04em; }
.service-t { font-family: var(--ff-display); font-size: 34px; line-height: 1.02; letter-spacing: -.02em; margin-bottom: 12px; font-weight: 400; }
.service-d { font-size: 15px; color: var(--muted); max-width: 380px; line-height: 1.55; flex: 1; }
.service-arrow { position: absolute; right: 36px; bottom: 36px; font-size: 20px; color: var(--ink); transition: transform .25s; }
.service:hover .service-arrow { transform: translate(4px, -4px); }

/* ──────────── about ──────────── */
.about { padding: 120px 40px; background: color-mix(in oklab, var(--surface) 60%, var(--bg)); }
.about-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 64px; align-items: start; }
.about-photo-frame { aspect-ratio: 4 / 5; background: var(--chip); position: relative; overflow: hidden; border-radius: 4px; }
.about-photo-frame img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.92); }
.about-photo-cap { display: flex; justify-content: space-between; font-size: 11px; color: var(--muted); margin-top: 14px; text-transform: uppercase; letter-spacing: .12em; }

.about-text { padding-top: 12px; }
.about-title { font-family: var(--ff-display); font-size: clamp(44px, 5.2vw, 72px); line-height: 1; letter-spacing: -.025em; font-weight: 400; margin-bottom: 32px; }
.about-title em { color: var(--accent); }
.about-text p { font-size: 18px; line-height: 1.55; color: color-mix(in oklab, var(--ink) 85%, var(--muted)); max-width: 540px; margin-bottom: 18px; text-wrap: pretty; }
.about-text strong { font-weight: 600; color: var(--ink); }
.about-skills { list-style: none; margin-top: 32px; border-top: 1px solid var(--line); }
.about-skills li { padding: 14px 0; border-bottom: 1px solid var(--line); display: flex; align-items: center; gap: 16px; font-size: 15px; }
.about-skills li::before { content: "→"; color: var(--accent); }

/* ──────────── quotes ──────────── */
.quotes { padding: 100px 40px; text-align: center; position: relative; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.quotes-glyph { font-family: var(--ff-display); font-size: 200px; line-height: .5; color: var(--accent); position: absolute; top: 80px; left: 50%; transform: translateX(-50%); opacity: .15; }
.quotes-stage { position: relative; max-width: 880px; margin: 0 auto; min-height: 220px; padding-top: 32px; }
.quote { position: absolute; inset: 32px 0 0; opacity: 0; transition: opacity .6s ease; }
.quote-on { opacity: 1; position: relative; }
.quote p { font-family: var(--ff-display); font-style: italic; font-size: clamp(24px, 2.8vw, 36px); line-height: 1.3; letter-spacing: -.015em; }
.quote footer { margin-top: 24px; font-size: 13px; color: var(--muted); display: flex; gap: 8px; justify-content: center; align-items: center; }
.quote footer strong { font-weight: 600; color: var(--ink); }
.quotes-dots { display: flex; gap: 10px; justify-content: center; margin-top: 32px; }
.dot { width: 6px; height: 6px; border-radius: 999px; background: var(--line); transition: width .25s, background .25s; }
.dot-on { background: var(--accent); width: 24px; }

/* ──────────── process ──────────── */
.process { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; position: relative; }
.process-step { padding: 24px 0; position: relative; }
.process-n { font-family: var(--ff-display); font-style: italic; font-size: 14px; color: var(--accent); }
.process-step h4 { font-family: var(--ff-display); font-size: 28px; margin: 16px 0 10px; line-height: 1.1; font-weight: 400; }
.process-step p { font-size: 14px; color: var(--muted); line-height: 1.55; }
.process-line { position: absolute; top: 40px; right: -12px; width: 24px; height: 1px; background: var(--line); }

/* ──────────── cta ──────────── */
.cta { padding: 140px 40px; background: var(--ink); color: var(--bg); position: relative; overflow: hidden; }
.cta::before {
  content: ""; position: absolute; bottom: -200px; right: -200px;
  width: 600px; height: 600px; border-radius: 999px;
  background: radial-gradient(circle, var(--accent) 0%, transparent 70%);
  opacity: .4;
}
.cta-inner { position: relative; max-width: 960px; }
.cta-title { font-family: var(--ff-display); font-size: clamp(52px, 7.5vw, 116px); line-height: .96; letter-spacing: -.03em; margin: 24px 0 28px; font-weight: 400; text-wrap: balance; }
.cta-title em { color: var(--accent); }
.cta-sub { font-size: 19px; color: color-mix(in oklab, var(--bg) 70%, transparent); margin-bottom: 40px; max-width: 520px; line-height: 1.5; }
.cta-row { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 48px; }
.btn { display: inline-flex; align-items: center; gap: 12px; padding: 18px 28px; border-radius: 999px; font-size: 15px; font-weight: 500; transition: all .2s; }
.btn-primary { background: var(--accent); color: var(--accent-ink); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 36px -8px color-mix(in oklab, var(--accent) 50%, transparent); }
.btn-ghost { border: 1px solid color-mix(in oklab, var(--bg) 30%, transparent); color: var(--bg); }
.btn-ghost:hover { background: color-mix(in oklab, var(--bg) 10%, transparent); }
.cta-socials { display: flex; gap: 32px; padding-top: 32px; border-top: 1px solid color-mix(in oklab, var(--bg) 20%, transparent); }
.cta-socials a { font-size: 14px; color: color-mix(in oklab, var(--bg) 65%, transparent); display: inline-flex; align-items: center; gap: 6px; transition: color .2s; }
.cta-socials a:hover { color: var(--accent); }

/* ──────────── footer ──────────── */
.foot { padding: 80px 40px 48px; display: grid; grid-template-columns: 1.5fr 2fr; gap: 64px; align-items: end; }
.foot-left { display: flex; flex-direction: column; gap: 14px; }
.foot-big { font-family: var(--ff-display); font-size: clamp(56px, 9vw, 160px); line-height: .9; letter-spacing: -.04em; font-style: italic; }
.foot-dot { color: var(--accent); }
.foot-studio { font-size: 11px; text-transform: uppercase; letter-spacing: .20em; color: var(--muted); }
.foot-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; padding-bottom: 24px; }
.foot-h { display: block; font-size: 11px; text-transform: uppercase; letter-spacing: .20em; color: var(--muted); margin-bottom: 16px; }
.foot-cols p { font-size: 14px; line-height: 1.7; color: color-mix(in oklab, var(--ink) 70%, var(--muted)); }

/* ──────────── grid overlay ──────────── */
.grid-overlay { position: fixed; inset: 0; pointer-events: none; z-index: 100; display: grid; grid-template-columns: repeat(12, 1fr); gap: 24px; padding: 0 40px; }
.grid-overlay span { background: color-mix(in oklab, var(--accent) 8%, transparent); }

/* ──────────── tweaks panel (custom palette picker) ──────────── */
.tw-palette { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.tw-pal { display: flex; flex-direction: column; gap: 8px; padding: 10px; border: 1px solid color-mix(in oklab, currentColor 15%, transparent); border-radius: 8px; transition: all .15s; cursor: pointer; }
.tw-pal:hover { background: color-mix(in oklab, currentColor 5%, transparent); }
.tw-pal-on { border-color: currentColor; }
.tw-pal-swatches { display: flex; height: 32px; border-radius: 4px; overflow: hidden; }
.tw-pal-swatches span { flex: 1; }
.tw-pal-label { font-size: 12px; }

/* ──────────── responsive ──────────── */
@media (max-width: 1100px) {
  .hero-mosaic { height: 460px; }
  .hero-float { left: -12px; }
}

@media (max-width: 900px) {
  /* nav */
  .nav-links { display: none; }
  .nav { grid-template-columns: 1fr auto; padding: 16px 20px; }

  /* hero */
  .hero { padding: 0 20px; align-items: flex-start; }
  .hero-wrap {
    grid-template-columns: 1fr;
    gap: 48px;
    padding: 104px 0 64px;
  }
  .hero-h1 { font-size: clamp(44px, 10vw, 68px); }
  .hero-mosaic { height: 300px; }
  .hero-mosaic-col { grid-template-rows: 1fr; grid-template-columns: 1fr 1fr; }
  .hero-float { bottom: -12px; left: -8px; padding: 12px 14px; }
  .hero-float-n { font-size: 28px; }
  .hero-float-l { font-size: 11px; }
  .hero-float-sub { font-size: 10px; }
  .hero-metrics { gap: 12px; }
  .hero-metric-sep { height: 28px; }
  .hero-metric strong { font-size: 26px; }

  /* sections */
  .section, .about, .case, .cta, .foot { padding-left: 20px; padding-right: 20px; }
  .ugc { padding-left: 20px; padding-right: 20px; }
  .ugc-grid { grid-template-columns: repeat(3, 1fr); }
  .cases-row { padding: 0 20px 80px; gap: 56px; }
  .cases-row-item, .cases-row-item-flip { grid-template-columns: 1fr; gap: 24px; }
  .cases-row-item-flip .cases-row-img { order: 0; }
  .case-grid { grid-template-columns: 1fr; gap: 32px; }
  .case-gallery { grid-template-columns: 1fr; }
  .case-gallery-side { grid-template-columns: 1fr 1fr; grid-template-rows: none; }
  .services { grid-template-columns: 1fr; }
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .process { grid-template-columns: repeat(2, 1fr); gap: 32px; }
  .process-line { display: none; }
  .foot { grid-template-columns: 1fr; gap: 40px; }
  .foot-cols { grid-template-columns: 1fr 1fr; }
  .work-preview { display: none; }
  .work-row { grid-template-columns: 40px 1fr 32px; gap: 12px; }
  .work-kind, .work-tags, .work-year { display: none; }
}

@media (max-width: 540px) {
  .ugc-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-mosaic-col .hero-mosaic-item:last-child { display: none; }
  .hero-mosaic { grid-template-columns: 1fr; height: 260px; }
  .hero-metrics { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; border-top: none; padding-top: 0; }
  .hero-metric-sep { display: none; }
}
