/* ==========================================================================
   Black Inheritance — monotone, Afrocentric, editorial.
   Layout concept: asymmetric 12-column grid; light bone pages broken by
   full-width ink bands; thin 1px rules; woven patterns at 4–6% opacity.
   ========================================================================== */

:root {
  /* Palette (monotone only) */
  --ink: #0B0B0B;
  --charcoal: #1E1E1E;
  --stone: #8A8A8A;      /* decorative only: lines, marks */
  --mist: #D9D9D9;
  --bone: #F5F3EF;
  --graphite: #55534F;   /* readable muted text on bone (AA) */
  --ash: #A9A7A2;        /* readable muted text on ink (AA) */

  /* Contextual tokens (flipped inside .dark) */
  --bg: var(--bone);
  --fg: var(--ink);
  --muted: var(--graphite);
  --line: #CFCCC6;
  --surface: #ECE9E3;

  /* Type */
  --display: "Josefin Sans", "Futura", "Century Gothic", "Avenir Next", sans-serif;
  --body: "Manrope", "Helvetica Neue", Arial, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;

  /* Scale */
  --t-xs: 0.75rem;
  --t-sm: 0.875rem;
  --t-md: 1.0625rem;
  --t-lg: clamp(1.25rem, 1.1rem + 0.6vw, 1.5rem);
  --t-xl: clamp(1.75rem, 1.3rem + 1.8vw, 2.75rem);
  --t-2xl: clamp(2.5rem, 1.6rem + 3.6vw, 4.75rem);
  --t-3xl: clamp(3rem, 1.6rem + 6vw, 7.5rem);

  /* Space */
  --s-1: 0.5rem;
  --s-2: 1rem;
  --s-3: 1.5rem;
  --s-4: 2.5rem;
  --s-5: 4rem;
  --s-6: clamp(4.5rem, 3rem + 6vw, 9rem);

  --gutter: clamp(20px, 5vw, 56px);
  --max: 1320px;
  --ease: cubic-bezier(.2, .7, .1, 1);

  color-scheme: light;
}

/* ---------- Base ---------- */
[hidden] { display: none !important; }
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--body);
  font-size: var(--t-md);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
/* Paints the phone's top safe-area band behind the sticky header */
body::before {
  content: ""; position: fixed; inset: 0 0 auto;
  height: env(safe-area-inset-top, 0px); z-index: 60; background: var(--bone);
}
img { max-width: 100%; display: block; }
img.photo { filter: grayscale(100%) contrast(1.08); width: 100%; height: 100%; object-fit: cover; }
a { color: inherit; text-decoration: none; }
p { margin: 0; }
h1, h2, h3, h4 { margin: 0; font-family: var(--display); font-weight: 300; line-height: 1.1; letter-spacing: -0.01em; text-wrap: balance; }
em { font-style: italic; }
:focus-visible { outline: 2px solid var(--fg); outline-offset: 3px; }
::selection { background: var(--ink); color: var(--bone); }
.dark ::selection { background: var(--bone); color: var(--ink); }

.skip { position: absolute; left: -9999px; top: 0; z-index: 100; background: var(--ink); color: var(--bone); padding: .75rem 1rem; }
.skip:focus { left: max(16px, env(safe-area-inset-left, 0px)); top: calc(env(safe-area-inset-top, 0px) + 8px); }

/* ---------- Layout ---------- */
.wrap {
  width: 100%;
  max-width: calc(var(--max) + 2 * var(--gutter));
  margin-inline: auto;
  padding-left: max(var(--gutter), env(safe-area-inset-left, 0px));
  padding-right: max(var(--gutter), env(safe-area-inset-right, 0px));
}
.section { padding-block: var(--s-6); position: relative; }
.section + .section { border-top: 1px solid var(--line); }
.dark + .section, .section + .dark { border-top: 0; }
.grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--s-4) var(--s-3); }
.grid > * { min-width: 0; }

.dark {
  --bg: var(--ink); --fg: var(--bone); --muted: var(--ash);
  --line: #2C2C2B; --surface: var(--charcoal);
  background: var(--bg); color: var(--fg);
}

/* Texture layer for any section */
.textured { isolation: isolate; }
.textured::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: url("../assets/patterns/mudcloth.svg") 0 0 / 60px 60px repeat;
  opacity: .045;
}
.dark.textured::before { filter: invert(1); opacity: .06; }

/* ---------- Type utilities ---------- */
.eyebrow {
  font-family: var(--mono); font-size: var(--t-xs); letter-spacing: .16em; text-transform: uppercase;
  color: var(--muted); display: inline-flex; align-items: center; gap: .75rem;
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; }
.lede { font-size: var(--t-lg); line-height: 1.5; max-width: 34ch; }
.prose { max-width: 64ch; display: grid; gap: 1.25rem; }
.muted { color: var(--muted); }
.display-xl { font-size: var(--t-3xl); letter-spacing: -0.02em; }
.display-l { font-size: var(--t-2xl); }
.display-m { font-size: var(--t-xl); }

/* ---------- Links & buttons ---------- */
.link-u {
  background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat;
  transition: background-size .45s var(--ease); padding-bottom: 2px;
}
.link-u:hover, .link-u:focus-visible, .link-u[aria-current="page"] { background-size: 100% 1px; }

.btn {
  display: inline-flex; align-items: center; gap: .9rem;
  font-family: var(--mono); font-size: var(--t-xs); letter-spacing: .16em; text-transform: uppercase;
  padding: 1.05rem 1.6rem; border: 1px solid var(--fg); color: var(--fg); background: transparent;
  cursor: pointer; transition: background-color .3s var(--ease), color .3s var(--ease);
}
.btn svg { width: 18px; height: 18px; transition: transform .3s var(--ease); }
.btn:hover, .btn:focus-visible { background: var(--fg); color: var(--bg); }
.btn:hover svg { transform: translateX(4px); }
.btn--solid { background: var(--fg); color: var(--bg); }
.btn--solid:hover, .btn--solid:focus-visible { background: transparent; color: var(--fg); }

/* ---------- Pattern rule (section divider) ---------- */
.weave {
  height: 18px; border-block: 1px solid var(--line);
  background: url("../assets/patterns/kente.svg") 0 0 / 36px 36px repeat-x;
  opacity: .9;
}
.weave--soft { opacity: .18; border: 0; }
.dark .weave { filter: invert(1); opacity: .35; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50;
  background: color-mix(in srgb, var(--bone) 92%, transparent);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line); color: var(--ink);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: var(--s-3); height: 80px; }
.brand { display: inline-flex; align-items: center; gap: .7rem; font-family: var(--display); font-size: 1.6rem; letter-spacing: -0.01em; }
h1 em, h2 em { font-weight: 200; }
h3, h4 { font-weight: 400; }
.statement, .proverb blockquote, .article-body blockquote { font-weight: 300; }
.brand-mark { width: 26px; height: 26px; }
.brand-logo { height: 56px; width: auto; display: block; }
@media (max-width: 560px) { .brand-logo { height: 38px; } }
.footer-logo { margin-top: var(--s-5); }
.footer-logo img { width: clamp(220px, 45vw, 560px); height: auto; }
.nav { display: flex; gap: clamp(1rem, 2.4vw, 2.4rem); font-family: var(--mono); font-size: var(--t-xs); letter-spacing: .16em; text-transform: uppercase; }
.menu-btn {
  display: none; background: none; border: 1px solid var(--ink); color: var(--ink);
  font-family: var(--mono); font-size: var(--t-xs); letter-spacing: .16em; text-transform: uppercase;
  padding: .6rem 1rem; cursor: pointer;
}

/* Full-screen mobile menu */
.overlay {
  position: fixed; inset: 0; z-index: 70; background: var(--ink); color: var(--bone);
  display: flex; flex-direction: column;
  padding: calc(env(safe-area-inset-top, 0px) + 18px) max(var(--gutter), env(safe-area-inset-right, 0px)) calc(env(safe-area-inset-bottom, 0px) + 32px) max(var(--gutter), env(safe-area-inset-left, 0px));
}
.overlay-top { display: flex; justify-content: space-between; align-items: center; min-height: 54px; }
.overlay .menu-btn { display: inline-block; border-color: var(--bone); color: var(--bone); }
.overlay nav { margin-top: auto; display: grid; gap: .25rem; }
.overlay nav a { font-family: var(--display); font-size: clamp(2.4rem, 11vw, 4rem); line-height: 1.15; }
.overlay nav a[aria-current="page"] { font-style: italic; }
.overlay-foot { margin-top: var(--s-4); font-family: var(--mono); font-size: var(--t-xs); letter-spacing: .14em; text-transform: uppercase; color: var(--ash); }
body.menu-open { overflow: hidden; }

/* ---------- Image placeholders ---------- */
/* Replace any .ph with <img class="photo" src="assets/images/…" alt="…"> inside the same frame. */
.frame { position: relative; overflow: hidden; background: var(--charcoal); max-width: 100%; }
.frame > img, .frame > .ph { transition: transform 1.4s var(--ease); }
a:hover .frame > img, a:hover .frame > .ph, .frame:hover > img { transform: scale(1.04); }
.ph {
  position: absolute; inset: 0;
  background:
    radial-gradient(120% 90% at 30% 20%, #3a3a39 0%, #1b1b1b 55%, #0d0d0d 100%);
}
.ph::before {
  content: ""; position: absolute; inset: 0;
  background: url("../assets/patterns/kente.svg") 0 0 / 48px 48px repeat;
  filter: invert(1); opacity: .07;
}
.ph::after {
  content: attr(data-label);
  position: absolute; left: 14px; bottom: 12px; right: 14px;
  font-family: var(--mono); font-size: 0.6875rem; letter-spacing: .14em; text-transform: uppercase; color: #9b9994;
}
.r-portrait { aspect-ratio: 4 / 5; }
.r-land { aspect-ratio: 3 / 2; }
.r-wide { aspect-ratio: 16 / 9; }
.r-square { aspect-ratio: 1; }

/* ---------- Hero ---------- */
.hero { padding-block: clamp(3.5rem, 2rem + 6vw, 7.5rem) var(--s-5); }
.hero-grid { align-items: end; }
.hero-copy { grid-column: 1 / span 7; display: grid; gap: var(--s-4); }
.hero-media { grid-column: 9 / span 4; }
.hero-meta {
  display: flex; flex-wrap: wrap; gap: var(--s-2) var(--s-4); padding-top: var(--s-3); border-top: 1px solid var(--line);
  font-family: var(--mono); font-size: var(--t-xs); letter-spacing: .14em; text-transform: uppercase; color: var(--muted);
}
.hero-meta strong { color: var(--fg); font-weight: 500; }

.page-hero { padding-block: clamp(3.5rem, 2rem + 5vw, 6.5rem) var(--s-5); }
.page-hero .grid { align-items: end; }
.page-hero h1 { grid-column: 1 / span 8; }
.page-hero .lede { grid-column: 9 / span 4; }

/* ---------- Intro split ---------- */
.split-label { grid-column: 1 / span 3; }
.split-body { grid-column: 5 / span 8; display: grid; gap: var(--s-4); }
.statement { font-family: var(--display); font-size: var(--t-xl); line-height: 1.2; letter-spacing: -0.015em; }

/* ---------- Service list ---------- */
.svc-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.svc-list li { border-bottom: 1px solid var(--line); }
.svc-row {
  display: grid; grid-template-columns: 4.5rem minmax(0, 1.1fr) minmax(0, 1.4fr) 24px; gap: var(--s-3);
  align-items: baseline; padding-block: var(--s-4); transition: padding .4s var(--ease);
}
.svc-row:hover { padding-left: 12px; }
.svc-num { font-family: var(--mono); font-size: var(--t-xs); letter-spacing: .12em; color: var(--muted); }
.svc-name { font-family: var(--display); font-size: var(--t-xl); }
.svc-desc { color: var(--muted); max-width: 46ch; }
.svc-row svg { width: 24px; height: 24px; align-self: center; transition: transform .3s var(--ease); }
.svc-row:hover svg { transform: translateX(6px); }
.svc-tags { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1rem; }
.tag { font-family: var(--mono); font-size: 0.6875rem; letter-spacing: .12em; text-transform: uppercase; border: 1px solid var(--line); padding: .3rem .6rem; color: var(--muted); }

/* ---------- Work cards ---------- */
.work-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--s-5) var(--s-3); }
.work-card { display: grid; gap: 1rem; min-width: 0; }
.work-card:nth-child(4n+1) { grid-column: 1 / span 7; }
.work-card:nth-child(4n+2) { grid-column: 9 / span 4; margin-top: var(--s-6); }
.work-card:nth-child(4n+3) { grid-column: 2 / span 4; }
.work-card:nth-child(4n+4) { grid-column: 7 / span 6; margin-top: var(--s-5); }
.work-card h3 { font-size: var(--t-lg); line-height: 1.25; }
.work-card .meta { display: flex; justify-content: space-between; gap: 1rem; font-family: var(--mono); font-size: var(--t-xs); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }

.strip { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s-3); }
.strip .work-card { grid-column: auto !important; margin-top: 0 !important; }
.strip .work-card:nth-child(2) { margin-top: var(--s-5) !important; }

.filters { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: var(--s-5); }
.filter {
  font-family: var(--mono); font-size: var(--t-xs); letter-spacing: .14em; text-transform: uppercase;
  background: none; border: 1px solid var(--line); color: var(--fg); padding: .6rem 1rem; cursor: pointer;
  transition: background-color .25s, color .25s, border-color .25s;
}
.filter:hover { border-color: var(--fg); }
.filter[aria-pressed="true"] { background: var(--fg); color: var(--bg); border-color: var(--fg); }
.work-card[hidden] { display: none !important; }

/* ---------- Values (Adinkra) ---------- */
.values { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.value { padding: var(--s-4) var(--s-3) var(--s-4) 0; display: grid; gap: 1rem; align-content: start; }
.value + .value { border-left: 1px solid var(--line); padding-left: var(--s-3); }
.sym { width: 56px; height: 56px; color: currentColor; }
.sym--lg { width: clamp(120px, 18vw, 220px); height: clamp(120px, 18vw, 220px); }
.value h3 { font-size: var(--t-lg); }
.value .gloss { font-family: var(--mono); font-size: var(--t-xs); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }

.proverb { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: var(--s-4); align-items: center; margin-top: var(--s-5); }
.proverb blockquote { margin: 0; font-family: var(--display); font-style: italic; font-size: var(--t-xl); line-height: 1.2; max-width: 30ch; }
.proverb cite { display: block; margin-top: 1rem; font-style: normal; font-family: var(--mono); font-size: var(--t-xs); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }

/* ---------- Clients ---------- */
.clients { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.client {
  display: grid; place-items: center; min-height: 120px; padding: 1rem; text-align: center;
  border-right: 1px solid var(--line); border-bottom: 1px solid var(--line);
  color: var(--stone); transition: color .3s;
  font-family: var(--display); font-size: 1.15rem; letter-spacing: .02em;
}
.client:hover { color: var(--fg); }
.client.sans { font-family: var(--body); font-weight: 700; letter-spacing: .2em; font-size: .8rem; text-transform: uppercase; }
.client.mono { font-family: var(--mono); font-size: .85rem; }

/* ---------- CTA ---------- */
.cta { display: grid; gap: var(--s-4); justify-items: start; }
.cta h2 { font-size: var(--t-3xl); letter-spacing: -0.035em; max-width: 12ch; }

/* ---------- Team / timeline ---------- */
.team { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--s-4) var(--s-3); }
.person { display: grid; gap: .75rem; }
.person h3 { font-size: var(--t-lg); }
.person p { font-family: var(--mono); font-size: var(--t-xs); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }

.timeline { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.timeline li { display: grid; grid-template-columns: 8rem minmax(0, 1fr); gap: var(--s-3); padding-block: var(--s-3); border-bottom: 1px solid var(--line); }
.timeline time { font-family: var(--display); font-size: var(--t-lg); font-variant-numeric: tabular-nums; }

.mv { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-4); }
.mv > div { display: grid; gap: 1rem; align-content: start; padding-top: var(--s-3); border-top: 1px solid var(--fg); }

/* ---------- Process steps ---------- */
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--s-3); counter-reset: step; }
.step { display: grid; gap: .75rem; padding-top: var(--s-3); border-top: 1px solid var(--line); align-content: start; }
.step::before { counter-increment: step; content: "Step " counter(step, decimal-leading-zero); font-family: var(--mono); font-size: var(--t-xs); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.steps--plain .step::before { content: none; }
.step h3 { font-size: var(--t-lg); }

/* ---------- Insights ---------- */
.feature { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--s-3); align-items: end; padding-bottom: var(--s-5); border-bottom: 1px solid var(--line); margin-bottom: var(--s-5); }
.feature .frame { grid-column: 1 / span 7; }
.feature .body { grid-column: 9 / span 4; display: grid; gap: 1rem; min-width: 0; }
.feature h2 { font-size: var(--t-xl); }
.posts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s-5) var(--s-3); }
.post { display: grid; gap: .9rem; align-content: start; }
.post h3 { font-size: var(--t-lg); line-height: 1.25; }
.post-meta { font-family: var(--mono); font-size: var(--t-xs); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); display: flex; gap: 1rem; flex-wrap: wrap; }

/* ---------- Article / case study ---------- */
.article-head { display: grid; gap: var(--s-3); max-width: 960px; }
.article-head h1 { font-size: var(--t-2xl); }
.article-body { max-width: 68ch; margin-inline: auto; display: grid; gap: 1.4rem; font-size: 1.125rem; }
.article-body h2 { font-size: var(--t-xl); margin-top: var(--s-3); }
.article-body blockquote { margin: var(--s-3) 0; padding-left: var(--s-3); border-left: 1px solid var(--fg); font-family: var(--display); font-style: italic; font-size: var(--t-lg); line-height: 1.35; }
.article-body .dropcap::first-letter { font-family: var(--display); float: left; font-size: 4.6rem; line-height: .85; padding: .3rem .6rem 0 0; }

.facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.facts > div { padding: var(--s-3) var(--s-3) var(--s-3) 0; display: grid; gap: .4rem; }
.facts > div + div { border-left: 1px solid var(--line); padding-left: var(--s-3); }
.facts dt { font-family: var(--mono); font-size: var(--t-xs); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.facts dd { margin: 0; }
.results { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s-3); }
.result { border-top: 1px solid var(--fg); padding-top: var(--s-3); display: grid; gap: .5rem; }
.result strong { font-family: var(--display); font-weight: 400; font-size: var(--t-2xl); line-height: 1; font-variant-numeric: tabular-nums; }

.pager { display: flex; justify-content: space-between; gap: var(--s-3); flex-wrap: wrap; }

/* ---------- Contact ---------- */
.contact-grid { align-items: start; }
.contact-form { grid-column: 1 / span 7; display: grid; gap: var(--s-4); }
.contact-info { grid-column: 9 / span 4; display: grid; gap: var(--s-4); }
.field { display: grid; gap: .5rem; }
.field label { font-family: var(--mono); font-size: var(--t-xs); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.field input, .field textarea, .field select {
  font: inherit; font-size: var(--t-lg); color: var(--fg); background: transparent;
  border: 0; border-bottom: 1px solid var(--line); border-radius: 0; padding: .6rem 0; width: 100%;
  transition: border-color .3s;
}
.field textarea { resize: vertical; min-height: 9rem; font-size: var(--t-md); }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-bottom-color: var(--fg); }
.field-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-3); }
.form-note { font-size: var(--t-sm); color: var(--muted); min-height: 1.5em; }
.studio { display: grid; gap: .3rem; padding-top: var(--s-2); border-top: 1px solid var(--line); }
.studio h3 { font-size: var(--t-lg); }
.studio address { font-style: normal; color: var(--muted); }
.map { aspect-ratio: 16 / 7; position: relative; overflow: hidden; background: var(--surface); border: 1px solid var(--line); max-width: 100%; }
.map svg { position: absolute; inset: 0; width: 100%; height: 100%; }

/* ---------- Footer ---------- */
.site-footer { padding-block: var(--s-5) calc(var(--s-3) + env(safe-area-inset-bottom, 0px)); }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(2, minmax(0, 1fr)) minmax(0, 1.4fr); gap: var(--s-4) var(--s-3); padding-block: var(--s-5); }
.footer-grid h4 { font-family: var(--mono); font-size: var(--t-xs); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin-bottom: 1rem; font-weight: 400; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .45rem; }
.newsletter { display: flex; border-bottom: 1px solid var(--fg); margin-top: .75rem; }
.newsletter input { flex: 1; min-width: 0; background: transparent; border: 0; color: var(--fg); font: inherit; padding: .7rem 0; }
.newsletter input:focus { outline: none; }
.newsletter button { background: none; border: 0; color: var(--fg); cursor: pointer; padding: 0 0 0 1rem; }
.newsletter button svg { width: 22px; height: 22px; }
.wordmark { font-family: var(--display); font-size: clamp(3.2rem, 0.5rem + 13vw, 15rem); line-height: .88; letter-spacing: -0.05em; margin-top: var(--s-4); white-space: nowrap; overflow: hidden; }
.footer-base { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem; padding-top: var(--s-3); border-top: 1px solid var(--line); font-family: var(--mono); font-size: var(--t-xs); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }

/* ---------- 404 ---------- */
.nf { min-height: 70vh; display: grid; align-content: center; gap: var(--s-4); }
.nf .num { font-family: var(--display); font-size: clamp(7rem, 4rem + 18vw, 18rem); line-height: .8; letter-spacing: -0.05em; display: flex; align-items: center; gap: .1em; }
.nf .num .sym { width: .8em; height: .8em; }

/* ---------- Motion ---------- */
.reveal-pending { opacity: 0; transform: translateY(28px); }
.reveal-in { opacity: 1; transform: none; transition: opacity 1s var(--ease), transform 1s var(--ease); }
.hero-copy > * { animation: rise 1.1s var(--ease) both; }
.hero-copy > *:nth-child(2) { animation-delay: .12s; }
.hero-copy > *:nth-child(3) { animation-delay: .24s; }
.hero-copy > *:nth-child(4) { animation-delay: .36s; }
@keyframes rise { from { opacity: .001; transform: translateY(18px); } to { opacity: 1; transform: none; } }
.spin-slow { animation: spin 60s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

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

/* ---------- Responsive ---------- */
@media (max-width: 1200px) {
  .clients { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 960px) {
  .nav { display: none; }
  .grid > [style*="grid-column"] { grid-column: 1 / -1 !important; justify-self: start !important; }
  .menu-btn { display: inline-block; }
  .hero-copy, .hero-media, .page-hero h1, .page-hero .lede,
  .split-label, .split-body, .contact-form, .contact-info { grid-column: 1 / -1; }
  .hero-media { max-width: 420px; }
  .values, .team, .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .value:nth-child(3) { border-left: 0; padding-left: 0; }
  .values .value:nth-child(n+3) { border-top: 1px solid var(--line); }
  .work-card:nth-child(n) { grid-column: 1 / -1; margin-top: 0; }
  .work-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .work-card:nth-child(n) { grid-column: auto; }
  .work-card:nth-child(even) { margin-top: var(--s-5); }
  .feature .frame, .feature .body { grid-column: 1 / -1; }
  .posts, .strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .strip .work-card:nth-child(3) { display: none; }
  .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .facts > div:nth-child(3) { border-left: 0; padding-left: 0; }
  .results { grid-template-columns: minmax(0, 1fr); }
  .svc-row { grid-template-columns: 3rem minmax(0, 1fr) 24px; }
  .svc-desc { grid-column: 2 / 3; }
  .svc-row svg { grid-column: 3; grid-row: 1; }
}
@media (max-width: 768px) {
  .mv { grid-template-columns: minmax(0, 1fr); }
  .field-row { grid-template-columns: minmax(0, 1fr); }
  .proverb { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 560px) {
  .values, .team, .steps, .posts, .work-grid, .strip, .facts { grid-template-columns: minmax(0, 1fr); }
  .value + .value, .facts > div + div { border-left: 0; padding-left: 0; border-top: 1px solid var(--line); }
  .value { padding-right: 0; }
  .work-card:nth-child(even), .strip .work-card:nth-child(2) { margin-top: 0 !important; }
  .strip .work-card:nth-child(3) { display: grid; }
  .clients { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: minmax(0, 1fr); }
  .timeline li { grid-template-columns: minmax(0, 1fr); gap: .25rem; }
  .svc-row { grid-template-columns: minmax(0, 1fr) 24px; gap: .5rem 1rem; }
  .svc-num { grid-column: 1 / -1; }
  .svc-name { grid-column: 1; }
  .svc-row svg { grid-column: 2; grid-row: 2; }
  .svc-desc { grid-column: 1 / -1; }
}
