@font-face {
  font-family: "Space Grotesk";
  src: url("assets/space-grotesk-latin.woff2") format("woff2");
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --ink: #272727;
  --muted: rgba(39, 39, 39, .52);
  --line: rgba(39, 39, 39, .16);
  --paper: #e9e9e9;
  --white: #f7f7f4;
  --pink: #f2bfc6;
  --green: #2da677;
  --lavender: #b5b6e8;
  --blue: #68b7de;
  --orange: #f8924a;
  --lime: #c8ff39;
  --pad: clamp(16px, 3.1vw, 48px);
  --night: #07090f;
  --night-2: #0d1220;
  --night-card: #0f1424;
  --night-line: rgba(255, 255, 255, .08);
  --night-mute: rgba(255, 255, 255, .55);
  --accent: #6b8eff;
  --accent-soft: rgba(107, 142, 255, .14);
  --mono: "JetBrains Mono", "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--paper); }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Space Grotesk", Arial, sans-serif;
  font-size: 15px;
  -webkit-font-smoothing: antialiased;
}
body.loading * { cursor: wait; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { font: inherit; }
[id] { scroll-margin-top: 72px; }
::selection { color: #fff; background: var(--green); }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: fixed;
  z-index: 50;
  top: 0;
  left: 0;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  width: 100%;
  padding: 24px var(--pad);
  transition: padding .35s ease, background .35s ease, backdrop-filter .35s ease;
}
.site-header.past-hero {
  padding-block: 14px;
  background: rgba(233, 233, 233, .82);
  border-bottom: 1px solid rgba(39,39,39,.08);
  backdrop-filter: blur(16px);
}
.identity { display: grid; gap: 1px; line-height: 1.1; }
.identity strong { font-size: 15px; font-weight: 600; letter-spacing: -.02em; }
.identity span { color: var(--muted); font-size: 11px; }
.site-header nav { display: flex; align-items: center; gap: clamp(18px, 3vw, 48px); }
.site-header nav > a { font-size: 13px; transition: opacity .2s ease; }
.site-header nav > a:hover { opacity: .55; }
.site-header .availability {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 13px 18px;
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 1px 0 rgba(0,0,0,.04);
}
.availability i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 5px rgba(45,166,119,.09);
  animation: pulse 2.4s ease-in-out infinite;
}
@keyframes pulse { 50% { box-shadow: 0 0 0 9px rgba(45,166,119,0); } }

/* ---------- HERO (light, matches site palette) ---------- */
.hero-dark {
  position: relative;
  padding: 96px var(--pad) 80px;
  background: var(--paper);
  color: var(--ink);
  overflow: hidden;
}

.hero-card {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  padding: clamp(36px, 5vw, 80px);
  border: 1px solid var(--line);
  border-radius: 28px;
  background: var(--white);
  overflow: hidden;
}
.hero-eyebrow {
  margin: 0;
  color: var(--green);
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.hero-title {
  position: relative;
  z-index: 2;
  max-width: 14ch;
  margin: 0;
  font-size: clamp(52px, 8.6vw, 132px);
  font-weight: 600;
  letter-spacing: -.045em;
  line-height: .96;
}
.hero-title-muted { color: rgba(39, 39, 39, .26); }
.hero-title-accent { color: var(--green); }
.hero-sub {
  position: relative;
  z-index: 2;
  max-width: 56ch;
  margin: 0;
  color: var(--muted);
  font-size: clamp(15px, 1.2vw, 18px);
  line-height: 1.55;
}
.hero-ctas {
  position: relative;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 14px;
}
.hero-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 24px;
  border: 1px solid rgba(39, 39, 39, .14);
  border-radius: 14px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 500;
  background: rgba(255, 255, 255, .6);
  transition: transform .25s ease, background .25s ease, border-color .25s ease;
}
.hero-btn i { font-style: normal; }
.hero-btn:hover { transform: translateY(-2px); background: #fff; border-color: rgba(39, 39, 39, .28); }
.hero-btn.primary {
  color: #fff;
  background: var(--ink);
  border-color: var(--ink);
}
.hero-btn.primary:hover { background: #000; border-color: #000; }

.hero-icon-btn {
  position: relative;
  z-index: 2;
  display: inline-grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border: 1px solid rgba(39, 39, 39, .16);
  border-radius: 14px;
  color: var(--ink);
  background: rgba(255, 255, 255, .6);
  transition: transform .25s ease, background .25s ease, border-color .25s ease, color .25s ease;
}
.hero-icon-btn svg { transition: transform .25s ease; }
.hero-icon-btn:hover { transform: translateY(-2px); background: #fff; border-color: rgba(39, 39, 39, .32); }
.hero-icon-btn:hover svg { transform: scale(1.08); }
.hero-icon-btn.primary {
  color: #fff;
  background: var(--green);
  border-color: var(--green);
}
.hero-icon-btn.primary:hover { background: #248a62; border-color: #248a62; }

.hero-marquee {
  position: absolute;
  right: 0;
  bottom: 6%;
  z-index: 1;
  width: 58%;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent 0%, #000 22%, #000 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 22%, #000 100%);
  pointer-events: none;
}
.hero-marquee-track {
  display: inline-flex;
  align-items: center;
  gap: clamp(20px, 2.4vw, 44px);
  color: rgba(39, 39, 39, .065);
  font-weight: 700;
  font-size: clamp(80px, 14vw, 220px);
  letter-spacing: -.055em;
  line-height: .9;
  white-space: nowrap;
  animation: hero-marquee 28s linear infinite;
}
.hero-marquee-track i {
  color: rgba(45, 166, 119, .25);
  font-style: normal;
  font-size: .65em;
}
@keyframes hero-marquee {
  to { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .hero-marquee-track { animation: none; }
}
.hero-glow {
  position: absolute;
  left: 8%;
  top: 22%;
  z-index: 0;
  width: clamp(420px, 50vw, 820px);
  height: clamp(280px, 32vw, 520px);
  background: radial-gradient(ellipse at center, rgba(45, 166, 119, .22), rgba(45, 166, 119, 0) 65%);
  filter: blur(20px);
  pointer-events: none;
  animation: glow-float 9s ease-in-out infinite;
}
@keyframes glow-float {
  0%, 100% { transform: translate(0, 0); }
  50%      { transform: translate(20px, -16px); }
}

.hero-stats-row {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 22px;
  margin-top: 22px;
}
.stats-card,
.services-card {
  padding: clamp(28px, 3.4vw, 44px);
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--white);
  color: var(--ink);
}
.card-label {
  margin: 0 0 28px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .18em;
  text-transform: uppercase;
}
.stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px 32px;
}
.stats-grid div { display: grid; gap: 4px; }
.stats-grid strong {
  font-size: clamp(36px, 4.6vw, 60px);
  font-weight: 600;
  letter-spacing: -.04em;
  line-height: 1;
}
.stats-grid span { color: var(--muted); font-size: 13px; }
.card-foot {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 32px 0 0;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: .08em;
}
.pin {
  position: relative;
  width: 12px;
  height: 12px;
  border: 1.5px solid currentColor;
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
}
.pin::after {
  content: "";
  position: absolute;
  inset: 3px;
  border-radius: 50%;
  background: currentColor;
}

.service-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.service-pills span {
  padding: 12px 18px;
  border: 1px solid rgba(45, 166, 119, .28);
  border-radius: 999px;
  color: var(--ink);
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: .02em;
  background: rgba(45, 166, 119, .06);
  transition: background .25s ease, color .25s ease, border-color .25s ease;
}
.service-pills span:hover { background: rgba(45, 166, 119, .14); border-color: rgba(45, 166, 119, .5); }

.about-grid {
  display: grid;
  grid-template-columns: minmax(280px, .9fr) minmax(0, 1.1fr);
  gap: clamp(36px, 6vw, 96px);
  align-items: center;
}
.about-portrait {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: 50% 50% 22% 22% / 14% 14% 9% 9%;
  background: #2a1410;
  box-shadow: 0 30px 70px rgba(60, 24, 12, .22), 0 8px 22px rgba(0, 0, 0, .10);
  animation: about-portrait-float 7s ease-in-out infinite;
}
.about-portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  filter: saturate(1.02) contrast(1.02);
}
.about-portrait-sheen {
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, rgba(255,255,255,.10), transparent 32%, transparent 64%, rgba(255,170,90,.14));
  mix-blend-mode: screen;
  pointer-events: none;
}
.about-copy { display: grid; gap: 20px; }
.about-copy h2 { max-width: 640px; margin: 0; font-size: clamp(40px, 5vw, 76px); font-weight: 500; letter-spacing: -.055em; line-height: 1.03; }
.about-copy .intro-copy { max-width: 560px; margin: 0; font-size: 15px; line-height: 1.5; }
@keyframes about-portrait-float {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-10px); }
}

.portrait-story { position: relative; height: 315svh; }
.portrait-stage {
  position: sticky;
  top: 0;
  display: grid;
  place-items: center;
  height: 100svh;
  min-height: 680px;
  overflow: hidden;
}
.portrait-stage::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 80%, rgba(242,191,198,.23), transparent 38%);
}
.portrait-shell {
  position: relative;
  width: min(92vw, 1280px);
  height: 92svh;
  min-height: 640px;
  overflow: hidden;
  border-radius: 50% 50% 24% 24% / 16% 16% 10% 10%;
  background: var(--pink);
  transform: translateY(17%) scale(.76);
  box-shadow: 0 30px 70px rgba(76,61,65,.08);
  will-change: transform, border-radius;
}
.portrait-shell img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 42%;
  filter: saturate(.82) contrast(.96);
  transform: scale(1.02);
  will-change: filter;
}
.portrait-sheen {
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, rgba(255,255,255,.17), transparent 30%, transparent 64%, rgba(255,227,236,.15));
  mix-blend-mode: screen;
  pointer-events: none;
}
.portrait-note,
.story-index {
  position: absolute;
  z-index: 2;
  bottom: 28px;
  margin: 0;
  color: rgba(255,255,255,.78);
  font-size: 11px;
  opacity: 0;
  transition: opacity .4s ease;
}
.portrait-note { left: var(--pad); }
.story-index { right: var(--pad); }
.portrait-stage.deep .portrait-note,
.portrait-stage.deep .story-index { opacity: 1; }

.hero-summary {
  display: grid;
  grid-template-columns: 42px minmax(280px, 1fr) auto 42px auto 42px auto;
  align-items: center;
  gap: 20px;
  min-height: 130px;
  padding: 28px var(--pad) 36px;
}
.hero-summary > p { max-width: 480px; margin: 0; font-size: 14px; line-height: 1.35; }
.summary-stat { display: flex; align-items: center; gap: 14px; }
.summary-stat strong { font-size: 42px; font-weight: 400; letter-spacing: -.06em; }
.summary-stat span,
.summary-label { font-size: 10px; line-height: 1.2; }
.summary-icon { position: relative; width: 42px; height: 42px; opacity: .85; }
.globe { border: 1px solid var(--ink); border-radius: 50%; }
.globe::before, .globe::after { content: ""; position: absolute; inset: 4px 13px; border: 1px solid var(--ink); border-block: 0; border-radius: 50%; }
.globe::after { inset: 20px 1px auto; border: 0; border-top: 1px solid var(--ink); }
.spark::before, .spark::after { content: ""; position: absolute; inset: 50% 0 auto; border-top: 1px solid var(--ink); transform: rotate(0); }
.spark::after { transform: rotate(90deg); }
.spark { background: linear-gradient(45deg, transparent 49%, var(--ink) 50%, transparent 51%); }

.funding-strip {
  display: grid;
  grid-template-columns: 230px 1fr;
  gap: 24px;
  padding: 22px var(--pad);
  border-block: 1px solid var(--line);
  overflow: hidden;
}
.funding-strip > span { color: var(--muted); font-size: 12px; }
.funding-track { display: flex; gap: 34px; overflow: auto hidden; scrollbar-width: none; }
.funding-track::-webkit-scrollbar { display: none; }
.funding-track a { flex: 0 0 auto; color: var(--muted); font-size: 12px; }
.funding-track b { color: var(--ink); font-weight: 500; }

.section-pad { padding: clamp(64px, 8vw, 110px) var(--pad); }
.eyebrow { margin: 0; color: var(--muted); font-size: 14px; }
h2, h3, p { text-wrap: pretty; }
.section-heading { display: grid; grid-template-columns: minmax(120px, 1fr) minmax(420px, 2.3fr) minmax(260px, 1fr); gap: 30px; align-items: start; }
.section-heading h2,
.practice-top h2,
.work-heading h2,
.experiments-head h2 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(40px, 5vw, 76px);
  font-weight: 500;
  letter-spacing: -.055em;
  line-height: 1.03;
}
.intro-copy { max-width: 510px; margin: 4px 0 0; font-size: 14px; line-height: 1.45; }

.client-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin-top: 100px;
  border-top: 1px solid var(--line);
}
.client-list a {
  display: grid;
  grid-template-columns: 42px 1fr auto 20px;
  align-items: center;
  min-height: 70px;
  gap: 14px;
  padding: 14px 18px 14px 0;
  border-bottom: 1px solid var(--line);
  transition: padding .25s ease, background .25s ease;
}
.client-list a:nth-child(odd) { border-right: 1px solid var(--line); padding-right: 24px; }
.client-list a:nth-child(even) { padding-left: 24px; }
.client-list a:hover { padding-inline: 14px 10px; background: rgba(255,255,255,.5); }
.client-list span { color: var(--muted); font-size: 12px; }
.client-list b { font-size: 14px; font-weight: 500; }
.client-list em { color: var(--muted); font-size: 12px; font-style: normal; }
.client-list i { font-style: normal; opacity: .45; }

.practice { background: #f5f4f0; }
.practice-top { display: grid; grid-template-columns: .55fr 1.4fr .9fr; gap: 32px; align-items: start; }
.discipline-cloud { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; }
.discipline-cloud span { padding: 10px 15px; border: 1px solid rgba(39,39,39,.18); border-radius: 999px; font-size: 12px; }
.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; margin: 60px 0 0; padding: 0; list-style: none; background: var(--line); border: 1px solid var(--line); }
.services li { min-height: 0; padding: 24px; background: #f5f4f0; transition: background .25s ease, color .25s ease; }
.services li:hover { color: #fff; background: var(--ink); }
.services span { color: var(--muted); font-size: 12px; }
.services strong { display: block; margin-top: 32px; font-size: 20px; font-weight: 500; letter-spacing: -.03em; }
.services p { max-width: 260px; margin: 12px 0 0; font-size: 12px; line-height: 1.45; opacity: .7; }
.tool-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 36px; }
.tool-row span { margin-right: 16px; color: var(--muted); font-size: 12px; }
.tool-row b { padding: 9px 14px; border-radius: 999px; background: #fff; font-size: 12px; font-weight: 500; }

.work { padding-bottom: 80px; }
.work-heading { display: grid; grid-template-columns: .5fr 1.5fr; gap: 30px; margin-bottom: 56px; }
.case-stack { display: grid; gap: 36px; }
.case-card {
  position: relative;
  display: grid;
  grid-template-columns: minmax(300px, .9fr) minmax(0, 1.1fr);
  min-height: 0;
  overflow: hidden;
  border-radius: 28px;
  box-shadow: 0 14px 34px rgba(40,40,40,.12);
  transform-origin: center top;
}
.case-copy { z-index: 2; display: flex; flex-direction: column; align-items: flex-start; padding: clamp(28px, 4vw, 58px); }
.case-tag { padding: 8px 12px; border: 1px solid currentColor; border-radius: 999px; font-size: 10px; opacity: .65; }
.case-copy h3 { margin: 22px 0 0; font-size: clamp(46px, 6vw, 82px); font-weight: 500; letter-spacing: -.065em; line-height: .92; }
.case-year { margin: 14px 0 24px; opacity: .55; }
.case-copy > p:not(.case-year) { max-width: 440px; font-size: 14px; line-height: 1.45; }
.case-copy > a { margin-top: 22px; padding-bottom: 3px; border-bottom: 1px solid currentColor; font-size: 12px; }
.case-actions { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 22px; }
.case-actions a { padding-bottom: 3px; border-bottom: 1px solid currentColor; font-size: 12px; transition: opacity .2s ease; }
.case-actions a:hover { opacity: .65; }

.more-work { display: flex; flex-wrap: wrap; gap: 10px; max-width: 760px; margin: 40px 0 0; color: var(--muted); font-size: 14px; line-height: 1.45; }
.more-work a { padding-bottom: 2px; color: var(--ink); border-bottom: 1px solid var(--ink); transition: opacity .2s ease; }
.more-work a:hover { opacity: .55; }

/* ---------- Recent Work ---------- */
.recent-work { background: var(--paper); }
.rw-heading { display: grid; gap: 18px; max-width: 760px; margin-bottom: 56px; }
.rw-heading h2 { margin: 0; font-size: clamp(40px, 5.4vw, 84px); font-weight: 500; letter-spacing: -.055em; line-height: 1; }
.rw-heading .intro-copy { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.5; max-width: 60ch; }

.rw-layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: clamp(28px, 4vw, 64px);
  align-items: start;
}
.rw-nav {
  position: sticky;
  top: 100px;
  display: grid;
  gap: 4px;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--white);
}
.rw-nav-btn {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 14px;
  border: 0;
  border-radius: 12px;
  background: transparent;
  color: var(--ink);
  font-family: inherit;
  font-size: 13px;
  font-weight: 500;
  text-align: left;
  cursor: pointer;
  transition: background .2s ease, color .2s ease;
}
.rw-nav-btn span {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--muted);
  letter-spacing: .04em;
}
.rw-nav-btn:hover { background: rgba(45, 166, 119, .06); }
.rw-nav-btn.is-active { background: var(--ink); color: #fff; }
.rw-nav-btn.is-active span { color: rgba(255, 255, 255, .55); }

.rw-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.rw-card {
  display: grid;
  gap: 14px;
  transition: opacity .35s ease, transform .35s ease;
}
.rw-card.is-hidden {
  display: none;
}
.rw-card h3 {
  margin: 0;
  font-size: 17px;
  font-weight: 500;
  letter-spacing: -.018em;
  line-height: 1.25;
}
.rw-card p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.4;
}
.rw-thumb {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 4 / 3;
  border-radius: 16px;
  overflow: hidden;
  color: rgba(255, 255, 255, .9);
  font-weight: 600;
  font-size: clamp(36px, 4vw, 56px);
  letter-spacing: -.04em;
  transition: transform .4s cubic-bezier(.2,.7,.2,1), filter .4s ease;
}
.rw-card:hover .rw-thumb { transform: translateY(-4px); filter: brightness(1.04); }
.rw-thumb b {
  position: relative;
  z-index: 2;
  font-weight: 600;
  letter-spacing: -.03em;
  text-shadow: 0 4px 18px rgba(0, 0, 0, .18);
}
.rw-thumb::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 18% 22%, rgba(255, 255, 255, .22), transparent 40%),
    radial-gradient(circle at 84% 78%, rgba(0, 0, 0, .14), transparent 50%);
  pointer-events: none;
}
.rw-thumb-tag {
  position: absolute;
  z-index: 2;
  left: 12px;
  bottom: 12px;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(0, 0, 0, .28);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  color: #fff;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .08em;
  text-transform: uppercase;
}

/* Category gradients */
.thumb-seo    { background: linear-gradient(135deg, #1f7a52 0%, #2da677 60%, #6fd3a4 100%); }
.thumb-seo.alt{ background: linear-gradient(135deg, #14533a 0%, #2da677 80%); }
.thumb-paid   { background: linear-gradient(135deg, #c8521a 0%, #f8924a 60%, #ffc28a 100%); }
.thumb-paid.alt{background: linear-gradient(135deg, #8a3210 0%, #f8924a 90%); }
.thumb-social { background: linear-gradient(135deg, #c14f73 0%, #f2bfc6 65%, #ffe4e7 100%); }
.thumb-social.alt{background: linear-gradient(135deg, #7a2c4a 0%, #f2bfc6 90%); }
.thumb-web    { background: linear-gradient(135deg, #5a5cb8 0%, #b5b6e8 65%, #e0e1f7 100%); }
.thumb-web.alt{ background: linear-gradient(135deg, #34357e 0%, #b5b6e8 90%); }
.thumb-wp     { background: linear-gradient(135deg, #2f7aa3 0%, #68b7de 60%, #b9e3f5 100%); }
.thumb-wp.alt { background: linear-gradient(135deg, #154b6b 0%, #68b7de 90%); }
.thumb-ai     { background: linear-gradient(135deg, #6e8a18 0%, #c8ff39 60%, #eaffac 100%); color: #1a1a1a; }
.thumb-ai b   { text-shadow: 0 4px 12px rgba(255, 255, 255, .35); }
.thumb-ai.alt { background: linear-gradient(135deg, #4c5e0a 0%, #c8ff39 92%); }

@media (max-width: 980px) {
  .rw-layout { grid-template-columns: 1fr; }
  .rw-nav {
    position: static;
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    overflow-y: hidden;
    gap: 6px;
    padding: 6px;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }
  .rw-nav::-webkit-scrollbar { display: none; }
  .rw-nav-btn { flex: 0 0 auto; gap: 8px; padding: 10px 14px; white-space: nowrap; }
  .rw-nav-btn span { margin-left: 6px; }
  .rw-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .rw-grid { grid-template-columns: 1fr; gap: 18px; }
  .rw-heading { margin-bottom: 28px; }
  .rw-heading h2 { font-size: 44px; }
  .recent-work { padding-bottom: 36px; }
  .work { padding-top: 36px; }
  .work-heading { grid-template-columns: 1fr; gap: 14px; margin-bottom: 32px; }
}

/* SHIFTT featured card */
.shiftt { color: #f4f2ed; background: #141414; }
.shiftt-media { display: grid; place-items: center; padding: 40px; background: radial-gradient(circle at 30% 20%, #2a2a2a 0%, #0c0c0c 70%); }
.shiftt-card {
  position: relative;
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: 22px;
  width: min(78%, 360px);
  aspect-ratio: 5 / 8;
  padding: 26px;
  border-radius: 22px;
  background: linear-gradient(150deg, #d9f85a 0%, #b4d935 60%, #98bd1f 100%);
  color: #111;
  box-shadow: 0 30px 60px rgba(217, 248, 90, .14), 0 8px 22px rgba(0, 0, 0, .35);
  transform: rotate(-4deg);
  transition: transform .5s cubic-bezier(.2,.7,.2,1);
}
.shiftt:hover .shiftt-card { transform: rotate(-1deg) translateY(-6px); }
.shiftt-brand { font-size: 22px; font-weight: 600; letter-spacing: .14em; }
.shiftt-qr { display: grid; place-items: center; padding: 16px; border-radius: 14px; background: #111; }
.qr-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; width: 100%; aspect-ratio: 1; }
.qr-grid i { background: #d9f85a; border-radius: 2px; }
.qr-grid i:nth-child(7n+1),
.qr-grid i:nth-child(3),
.qr-grid i:nth-child(5),
.qr-grid i:nth-child(9),
.qr-grid i:nth-child(11),
.qr-grid i:nth-child(13),
.qr-grid i:nth-child(16),
.qr-grid i:nth-child(20),
.qr-grid i:nth-child(22),
.qr-grid i:nth-child(25),
.qr-grid i:nth-child(28),
.qr-grid i:nth-child(31),
.qr-grid i:nth-child(34),
.qr-grid i:nth-child(38),
.qr-grid i:nth-child(41),
.qr-grid i:nth-child(44),
.qr-grid i:nth-child(46) { background: transparent; }
.shiftt-tag { font-size: 11px; letter-spacing: .08em; text-transform: uppercase; opacity: .78; }

.contact-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }
.contact-actions .email-button { margin-top: 0; }
.email-button.alt { background: transparent; }
.email-button.alt:hover { background: rgba(255,255,255,.55); }
.case-media { position: relative; min-height: 360px; overflow: hidden; }
.case-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.2,.7,.2,1); }
.case-card:hover .case-media > img { transform: scale(1.035); }
.hypernoon { color: #f4f2ed; background: #214a34; }
.portrait-media img { object-position: center 32%; }
.soul { background: var(--lavender); }
.machine-media { background: radial-gradient(circle at center, #dcdcff 0 12%, transparent 50%), linear-gradient(145deg, #b9bae9, #e7d7f2); }
.machine-media img { position: absolute; object-fit: contain; filter: drop-shadow(0 24px 28px rgba(50,46,78,.18)); }
.machine-media .device-one { z-index: 2; left: 15%; top: 12%; width: 58%; height: 58%; transform: rotate(-10deg); }
.machine-media .device-two { right: -10%; bottom: -5%; width: 58%; height: 58%; transform: rotate(12deg); }
.soul:hover .device-one { transform: rotate(-5deg) translateY(-8px); }
.orbit { position: absolute; inset: 16% 8%; border: 1px solid rgba(255,255,255,.6); border-radius: 50%; transform: rotate(-20deg); }
.gte { color: #171717; background: var(--orange); }
.type-media { display: flex; flex-direction: column; justify-content: center; padding: 50px; background: #ffb057; }
.type-media span { font-size: clamp(58px, 8vw, 126px); font-weight: 500; line-height: .74; letter-spacing: -.09em; mix-blend-mode: multiply; opacity: .82; }
.type-media b { position: absolute; right: 7%; bottom: 5%; font-size: clamp(130px, 22vw, 320px); line-height: .75; letter-spacing: -.1em; opacity: .14; }
.espresso { color: #fff; background: #151515; }
.espresso-media { display: grid; place-items: center; background: #050505; }
.espresso-media strong { z-index: 2; font-size: clamp(36px, 6vw, 92px); letter-spacing: -.06em; }
.ring { position: absolute; width: 55%; aspect-ratio: 1; border: 2px solid #f3d188; border-radius: 50%; filter: blur(.1px); }
.ring-a { transform: translate(-25%, -8%); }
.ring-b { transform: translate(26%, -5%); }
.ring-c { transform: translate(0, 24%); border-color: #f36c5c; }
.salsa { color: #272727; background: #b5b6e8; }
.salsa-media { display: grid; place-items: center; padding: 6%; background: linear-gradient(145deg, #b6b7ec, #d7d7fb); }
.salsa-media img { object-fit: contain; filter: drop-shadow(0 30px 28px rgba(49,50,104,.16)); }
.succinct { color: #111; background: var(--lime); }
.succinct-media { display: grid; place-items: center; color: var(--lime); background: #141414; }
.succinct-mark { font-size: clamp(180px, 30vw, 480px); font-weight: 600; letter-spacing: -.14em; line-height: .8; transform: skewX(-12deg); }
.succinct-media p { position: absolute; right: 7%; bottom: 5%; margin: 0; text-align: right; font-size: 13px; letter-spacing: .18em; }

.experiments { background: #101010; color: #f4f4ef; }
.experiments .eyebrow { color: rgba(255,255,255,.45); }
.experiments-head { display: grid; grid-template-columns: .5fr 1.5fr; gap: 30px; }
.experiments-head h2 { max-width: 1000px; }
.experiment-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-top: 110px; }
.experiment-card { display: grid; min-height: 600px; overflow: hidden; border-radius: 20px; background: #242424; }
.experiment-card.wide { grid-column: 1 / -1; grid-template-columns: 1.35fr .65fr; min-height: 660px; }
.experiment-card.tall { grid-row: span 2; }
.experiment-card > img { width: 100%; height: 100%; min-height: 420px; object-fit: cover; }
.experiment-card.wide > img { min-height: 660px; }
.experiment-card > div:last-child { align-self: end; padding: 28px; }
.experiment-card span { color: rgba(255,255,255,.42); font-size: 11px; }
.experiment-card h3 { margin: 10px 0; font-size: 28px; font-weight: 500; letter-spacing: -.04em; }
.experiment-card p { max-width: 430px; margin: 0; color: rgba(255,255,255,.58); font-size: 13px; line-height: 1.45; }
.experiment-card.soft { color: var(--ink); background: #e8e7e3; }
.experiment-card.soft p { color: rgba(39,39,39,.58); }
.prototype-lineup { display: flex; align-items: center; justify-content: center; gap: 2%; padding: 5%; overflow: hidden; background: #d9d8d4; }
.prototype-lineup img { width: 31%; object-fit: contain; filter: drop-shadow(0 20px 22px rgba(38,38,38,.12)); }
.experiments-note { max-width: 830px; margin: 120px 0 0 auto; font-size: clamp(24px, 3.3vw, 50px); line-height: 1.12; letter-spacing: -.045em; }

.contact {
  position: relative;
  min-height: 0;
  overflow: hidden;
  padding: 80px var(--pad);
  color: #141414;
  background: #d9f85a;
}
.contact-grid { position: absolute; inset: 0; opacity: .17; background-image: linear-gradient(rgba(0,0,0,.2) 1px, transparent 1px), linear-gradient(90deg, rgba(0,0,0,.2) 1px, transparent 1px); background-size: 52px 52px; mask-image: linear-gradient(to bottom, transparent, #000 30%, #000); }
.contact .eyebrow { position: relative; z-index: 2; color: rgba(0,0,0,.55); }
.contact-main { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; min-height: 0; margin-top: 32px; }
.contact h2 { margin: 0; font-size: clamp(48px, 8vw, 124px); font-weight: 500; letter-spacing: -.075em; line-height: .92; }
.contact h2 span { display: inline-block; min-width: 4.5em; font-style: italic; }
.email-button { display: flex; align-items: center; justify-content: space-between; gap: 60px; margin-top: 44px; padding: 15px 18px; border: 1px solid rgba(0,0,0,.28); border-radius: 999px; color: inherit; background: rgba(255,255,255,.32); cursor: pointer; transition: background .2s ease, transform .2s ease; }
.email-button:hover { background: rgba(255,255,255,.62); transform: translateY(-2px); }
.email-button i { font-style: normal; }
.contact-orb { position: absolute; border-radius: 50%; filter: blur(10px); mix-blend-mode: multiply; opacity: .56; }
.orb-one { right: -10vw; top: -8vw; width: 44vw; height: 44vw; background: #ff8a74; }
.orb-two { right: 12vw; bottom: -17vw; width: 38vw; height: 38vw; background: #71b9ff; }

.quotes { display: grid; grid-template-columns: 1fr 1fr; gap: 10vw; }
.quotes figure { margin: 0; }
.quotes blockquote { margin: 0; font-size: clamp(26px, 3.4vw, 52px); line-height: 1.12; letter-spacing: -.045em; }
.quotes figcaption { display: grid; gap: 2px; margin-top: 44px; font-size: 12px; }
.quotes figcaption strong { font-weight: 500; }
.quotes figcaption span { color: var(--muted); }

footer { display: flex; justify-content: space-between; gap: 20px; padding: 24px var(--pad); border-top: 1px solid var(--line); color: var(--muted); font-size: 11px; }

.reveal { opacity: 0; transform: translateY(34px); transition: opacity .8s ease, transform .8s cubic-bezier(.2,.72,.2,1); }
.reveal.in-view { opacity: 1; transform: none; }

@media (max-width: 980px) {
  .hero-summary { grid-template-columns: 42px 1fr auto; }
  .hero-summary .summary-icon,
  .hero-summary .summary-label { display: none; }
  .section-heading { grid-template-columns: .4fr 1.6fr; }
  .section-heading .intro-copy { grid-column: 2; }
  .practice-top { grid-template-columns: .4fr 1.4fr; }
  .discipline-cloud { grid-column: 2; justify-content: flex-start; }
  .services { grid-template-columns: 1fr 1fr; }
  .case-card { grid-template-columns: 1fr 1.2fr; min-height: 0; }
  .experiment-card.wide { grid-template-columns: 1fr; }
  .experiment-card.wide > img { min-height: 500px; }
}

@media (max-width: 720px) {
  .site-header { padding-top: 16px; }
  .site-header nav > a:not(.availability) { display: none; }
  .site-header .availability { padding: 11px 14px; font-size: 11px; }
  .identity strong { font-size: 13px; }
  .identity span { font-size: 9px; }
  .hero-intro { min-height: 620px; }
  .about-grid { grid-template-columns: 1fr; gap: 36px; }
  .about-portrait { max-width: 78vw; margin: 0 auto; }
  .hero-stats-row { grid-template-columns: 1fr; }
  .hero-monogram { font-size: 38vw; }
  .stats-grid { grid-template-columns: 1fr 1fr; gap: 20px; }
  .hero-card { padding: 28px; }
  .scroll-cue small { display: none; }
  .portrait-story { height: 245svh; }
  .portrait-stage { min-height: 620px; }
  .portrait-shell { width: 94vw; height: 84svh; min-height: 560px; border-radius: 50% 50% 20% 20% / 11% 11% 8% 8%; }
  .portrait-shell img { object-position: center 40%; }
  .hero-summary { grid-template-columns: 42px 1fr; gap: 16px; min-height: 170px; }
  .summary-stat { grid-column: 2; }
  .funding-strip { grid-template-columns: 1fr; gap: 14px; }
  .section-pad { padding-block: 88px; }
  .section-heading,
  .practice-top,
  .work-heading,
  .experiments-head { grid-template-columns: 1fr; }
  .section-heading .intro-copy,
  .discipline-cloud { grid-column: auto; }
  .section-heading h2 { margin-top: 22px; }
  .intro-copy { margin-top: 14px; }
  .client-list { grid-template-columns: 1fr; margin-top: 58px; }
  .client-list a:nth-child(odd), .client-list a:nth-child(even) { padding-left: 0; padding-right: 8px; border-right: 0; }
  .client-list a:hover { padding-left: 8px; }
  .services { grid-template-columns: 1fr; margin-top: 64px; }
  .services li { min-height: 210px; }
  .services strong { margin-top: 55px; }
  .work-heading { margin-bottom: 60px; }
  .case-stack { gap: 24px; }
  .case-card,
  .case-card:nth-child(n) { position: relative; top: auto; grid-template-columns: 1fr; min-height: 0; border-radius: 20px; }
  .case-copy { min-height: 0; }
  .case-copy h3 { font-size: 48px; }
  .case-media { min-height: 320px; }
  .experiment-grid { grid-template-columns: 1fr; margin-top: 64px; }
  .experiment-card,
  .experiment-card.wide,
  .experiment-card.tall { grid-column: auto; grid-row: auto; min-height: 0; }
  .experiment-card.wide > img,
  .experiment-card > img { min-height: 430px; }
  .experiments-note { margin-top: 80px; }
  .contact { min-height: 0; }
  .contact-main { min-height: 0; }
  .contact h2 { font-size: 14vw; }
  .email-button { gap: 30px; margin-top: 46px; }
  .quotes { grid-template-columns: 1fr; gap: 100px; }
  footer { flex-direction: column; }
}

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