
/* ---- New circle wordmark ---- */
.site-header__mark--circle {
  height: 52px;
  width: 52px;
  border-radius: 999px;
  object-fit: cover;
  display: block;
}
.site-footer__brand img {
  height: 80px;
  width: 80px;
  border-radius: 999px;
  object-fit: cover;
}
/* ============================================================
   CTMA — extras.css
   ============================================================ */

/* ---------- GT Walsheim Condensed (licensed) ----------
   The @font-face cuts for this family now live in colors_and_type.css as
   self-hosted woff2/woff (Ultra Bold 800 + Black 900, normal + oblique).
   No duplicate declarations here, so the lighter woff2 always wins and
   weight 900 correctly resolves to the Black cut (not Ultra Bold). */

/* Ensure the display token always reaches this family first */
:root {
  --ff-display: "GT Walsheim Condensed", "Hanken Grotesk", Anton, "Archivo Black", sans-serif;
}

/* ---- Hero headline — explicitly GT Walsheim Condensed Black (900) ---- */
.hero__lines,
.hero-type__word,
.hero-split__left .display-xl {
  font-family: "GT Walsheim Condensed", Anton, "Archivo Black", sans-serif !important;
  font-weight: 900 !important;
  font-style: normal;
  letter-spacing: -0.018em;
  line-height: 0.92;
}

/* Hero — video background */
.hero__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.hero__bg-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    160deg,
    rgba(26, 23, 20, 0.52) 0%,
    rgba(26, 23, 20, 0.28) 50%,
    rgba(26, 23, 20, 0.72) 100%
  );
}
.surface-ink-soft {
  background: var(--c-ink-soft);
  color: var(--fg-on-ink);
}

/* ---------- Universal drag-and-drop image slots ---------- */
.painted-ph { position: relative; overflow: hidden; }
.painted-ph--slotted { overflow: hidden; }

/* Photo sits at z-index 1, slot at z-index 2 */
.painted-ph__photo { z-index: 1; }

.ph-slot-host {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: all;
  z-index: 2;
  display: flex;
  flex-direction: column;
}
.ph-slot-host image-slot {
  flex: 1;
  min-height: 0;
  width: 100%;
  height: 100%;
  display: block;
}

/* Empty state: transparent so photo/pattern shows through.
   Only reveal a drop-target ring on hover. */
.ph-slot-host image-slot::part(frame) {
  background: transparent;
  height: 100%;
  outline: none;
  transition: box-shadow 160ms ease;
}
.ph-slot-host image-slot:not([data-has-image])::part(frame):hover {
  box-shadow: inset 0 0 0 2px rgba(232,161,74,0.7);
}
.ph-slot-host image-slot::part(empty) {
  color: rgba(255,255,255,0);
  transition: color 160ms ease;
}
.ph-slot-host image-slot:not([data-has-image])::part(empty):hover {
  color: rgba(255,255,255,0.9);
  text-shadow: 0 1px 4px rgba(0,0,0,0.6);
}

/* Featured grid — all layout variants */
.featured__grid { display: grid; gap: 20px; }

/* 2×2 equal grid — aspect ratio driven by JSX prop, not CSS override */
.featured__grid--2x2 {
  grid-template-columns: 1fr 1fr;
}

/* 3-column */
.featured__grid--3col {
  grid-template-columns: repeat(3, 1fr);
}

/* Asymmetric tall/short alternating */
.featured__grid--asymmetric {
  grid-template-columns: 1fr 1fr;
}
.featured__grid--asymmetric .featured-card--tall .painted-ph,
.featured__grid--asymmetric .featured-card--tall .painted-ph--photo { aspect-ratio: 4 / 5; }
.featured__grid--asymmetric .featured-card--short .painted-ph,
.featured__grid--asymmetric .featured-card--short .painted-ph--photo { aspect-ratio: 5 / 4; }

/* Editorial list */
.featured__grid--list {
  grid-template-columns: 1fr;
  gap: 0;
}
.featured__grid--list .featured-card {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 32px;
  align-items: start;
  border-top: 1px solid var(--c-border-plaster);
  padding: 24px 0;
}
.featured__grid--list .featured-card .painted-ph,
.featured__grid--list .featured-card .painted-ph--photo { aspect-ratio: 4 / 3; }
.featured__grid--list .featured-card h3,
.featured__grid--list .featured-card__meta,
.featured__grid--list .featured-card__note { padding-left: 0; }

/* Service grid layout variants */
.services__grid--1x4 {
  grid-template-columns: repeat(4, 1fr) !important;
}
.services__grid--1col {
  grid-template-columns: 1fr !important;
}

@media (max-width: 600px) {
  .featured__grid--2x2 { grid-template-columns: 1fr; }
  .featured__grid--3col,
  .featured__grid--asymmetric { grid-template-columns: 1fr; }
  .featured__grid--list .featured-card { grid-template-columns: 1fr; }
  .services__grid--1x4 { grid-template-columns: 1fr 1fr !important; }
}
.hero__lines {
  display: flex;
  flex-direction: column;
  margin: 0;
}
.hero__line {
  display: block;
}
/* Tighten the stacked display lines on the home full-bleed hero so the two
 * headline lines pull together (per review note). Scoped to the full-bleed
 * variant so the split / typographic heroes keep their default rhythm. */
.hero--fullbleed .hero__lines {
  line-height: 0.8;
}
.hero__stop {
  color: var(--c-ochre);
  margin-left: -0.05em;
}
.hero__lines--ink {
  color: var(--c-ink);
}
.hero__stop--ochre {
  color: var(--c-ochre);
}

.hero__lede {
  max-width: 720px;
  margin-top: 28px;
  font-size: clamp(18px, 1.45vw, 24px);
  line-height: 1.45;
  color: var(--fg-on-ink); /* solid cream (overrides the muted .lede colour) */
}

/* ---------- Hero variant: editorial split ---------- */
.hero-split {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  min-height: 100vh;
  min-height: 100dvh; /* dvh tracks the Android URL bar so the hero doesn't jump mid-scroll */
}
.hero-split__left {
  padding: 200px 56px 80px 56px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: var(--fg-on-plaster);
  position: relative;
}
.hero-split__left .display-xl {
  font-size: clamp(56px, 7.2vw, 138px);
  line-height: 0.9;
}
.hero-split__crumb {
  display: flex; align-items: center; gap: 14px;
  font-family: var(--ff-body);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--c-brick);
  margin-bottom: 40px;
}
.hero-split__right {
  position: relative;
  overflow: hidden;
}
.hero-split__right .painted-ph {
  width: 100%; height: 100%; aspect-ratio: auto;
}
.hero-split__caption {
  position: absolute;
  bottom: 22px; left: 22px;
  display: inline-flex; align-items: center; gap: 10px;
  background: rgba(26, 23, 20, 0.78);
  color: var(--c-plaster);
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 600;
}
@media (max-width: 900px) {
  .hero-split { grid-template-columns: 1fr; min-height: auto; }
  .hero-split__left { padding: 160px 24px 64px; }
  .hero-split__right { min-height: 60vh; }
}

/* ---------- Hero variant: typographic ---------- */
.hero-type {
  min-height: 100vh;
  min-height: 100dvh; /* dvh tracks the Android URL bar so the hero doesn't jump mid-scroll */
  display: flex; flex-direction: column;
  padding: 160px 0 0;
  position: relative;
  color: var(--c-plaster);
}
.hero-type__crumb {
  display: flex; gap: 14px;
  font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--fg-on-ink-muted);
  margin-bottom: 64px;
}
.hero-type__type {
  flex: 1;
  display: flex; flex-direction: column;
  justify-content: center;
  padding: 0 32px;
  max-width: 1380px;
  margin: 0 auto;
  width: 100%;
}
.hero-type__line {
  display: flex;
  align-items: baseline;
  gap: 32px;
  border-top: 1px solid var(--c-border-ink);
  padding: 18px 0;
}
.hero-type__line:last-child { border-bottom: 1px solid var(--c-border-ink); }
.hero-type__num {
  font-family: var(--ff-serif);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(16px, 1.4vw, 22px);
  color: var(--c-ochre);
  min-width: 50px;
  text-align: right;
  letter-spacing: 0;
}
.hero-type__word {
  font-family: var(--ff-display);
  font-weight: 900;
  font-size: clamp(60px, 11vw, 200px);
  line-height: 0.92;
  letter-spacing: -0.015em;
  text-transform: uppercase;
  color: var(--c-plaster);
}
.hero-type__foot {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 32px; flex-wrap: wrap;
  padding-top: 56px;
  padding-bottom: 36px;
}
.hero-type__foot .lede { margin: 0; color: var(--fg-on-ink-muted); }
.hero-type__band {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  height: 140px;
  border-top: 1px solid var(--c-border-ink);
}
.hero-type__band-tile {
  position: relative; overflow: hidden;
  border-right: 1px solid var(--c-border-ink);
}
.hero-type__band-tile:last-child { border-right: none; }
.hero-type__band-tile .painted-ph { width: 100%; height: 100%; aspect-ratio: auto; }
.hero-type__band-tile::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(26,23,20,0) 50%, rgba(26,23,20,0.5) 100%);
}
@media (max-width: 760px) {
  .hero-type__line { gap: 16px; padding: 12px 0; }
  .hero-type__num { min-width: 28px; }
  .hero-type__band { grid-template-columns: repeat(2, 1fr); height: 220px; }
  .hero-type__band-tile:nth-child(2) { border-right: none; }
}

/* ============================================================
   Clients ticker — infinite right-to-left scroll
   ============================================================ */
.clients {
  padding: 40px 0;
  overflow: hidden;
}
.clients--ink {
  background: var(--c-ink);
  color: var(--fg-on-ink);
  border-top: 1px solid var(--c-border-ink);
  border-bottom: 1px solid var(--c-border-ink);
}
.clients--plaster {
  background: var(--c-plaster);
  color: var(--fg-on-plaster);
}

/* Fade edges */
.clients__ticker-wrap {
  position: relative;
  overflow: hidden;
}
.clients__ticker-wrap::before,
.clients__ticker-wrap::after {
  content: "";
  position: absolute;
  top: 0; bottom: 0;
  width: 120px;
  z-index: 2;
  pointer-events: none;
}
.clients--ink .clients__ticker-wrap::before  { left: 0;  background: linear-gradient(to right, var(--c-ink), transparent); }
.clients--ink .clients__ticker-wrap::after   { right: 0; background: linear-gradient(to left,  var(--c-ink), transparent); }
.clients--plaster .clients__ticker-wrap::before { left: 0;  background: linear-gradient(to right, var(--c-plaster), transparent); }
.clients--plaster .clients__ticker-wrap::after  { right: 0; background: linear-gradient(to left,  var(--c-plaster), transparent); }

/* Scrolling track */
.clients__ticker {
  display: flex;
  align-items: center;
  width: max-content;
  animation: ticker-scroll var(--ticker-duration, 44s) linear infinite;
}
.clients__ticker:hover { animation-play-state: paused; }

@keyframes ticker-scroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.clients__item {
  display: inline-flex;
  align-items: center;
  padding: 0 56px;
  flex-shrink: 0;
  position: relative;
}
.clients__item::after {
  content: "·";
  position: absolute;
  right: 0;
  transform: translateX(50%);
  font-size: 22px;
  opacity: 0.22;
  pointer-events: none;
}

/* Logo images — default to full white on ink, full dark on plaster */
.client__logo {
  display: block;
  width: auto;
  max-width: 180px;
  object-fit: contain;
}
/* All client logos are now pre-coloured cream PNGs (processed during build).
   Just need uniform sizing and a subtle opacity bump for visual consistency. */
.client__logo {
  height: 64px !important;
  width: auto !important;
  max-width: none !important;
  max-height: none !important;
  display: block !important;
  object-fit: unset !important;
}
.clients--ink .client__logo     { opacity: 0.95; filter: none; }
.clients--plaster .client__logo { filter: brightness(0) opacity(0.55); }

/* Per-logo size overrides (some sources read visually larger than others
   at the uniform 64px — these target the visual weight of each logo) */
.client__logo[src*="yoco.png"]                { height: 45px !important; } /* 30% smaller */
.client__logo[src*="tristan-du-plessis.png"]  { height: 32px !important; } /* 50% smaller */

/* Tighter padding on items so bigger logos breathe */
.clients__item {
  padding: 0 36px !important;
  min-height: 64px;
  display: inline-flex !important;
  align-items: center !important;
}

/* Remove separator dots between logos */
.clients__item::after { display: none !important; content: none !important; }

/* Fallback wordmarks */
.client__mark {
  font-family: var(--ff-body);
  font-weight: 700;
  font-size: 17px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: currentColor;
  white-space: nowrap;
  opacity: 0.72;
}
.client__mark--display  { font-family: var(--ff-display); font-weight: 900; letter-spacing: -0.01em; }
.client__mark--serif    { font-family: var(--ff-serif); font-style: italic; font-size: 20px; text-transform: none; letter-spacing: 0; font-weight: 500; }
.client__mark--mono     { font-family: ui-monospace, "SF Mono", monospace; letter-spacing: 0.2em; font-size: 13px; }
.client__mark--italic   { font-style: italic; font-size: 19px; text-transform: none; letter-spacing: -0.01em; }
.client__mark--stencil  { font-family: var(--ff-display); font-weight: 900; letter-spacing: 0.06em; font-size: 15px; }
.client__mark--rounded  { font-weight: 800; letter-spacing: -0.02em; font-size: 21px; text-transform: none; }

/* ============================================================
   Instagram block
   ============================================================ */
.ig { padding: 60px 0 120px; }
.ig__head {
  display: flex; justify-content: space-between; align-items: flex-end;
  gap: 32px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}
.ig__account {
  display: flex; align-items: flex-start; gap: 24px;
}
.ig__avatar {
  width: 88px; height: 88px;
  border-radius: 999px;
  background: var(--c-ink);
  display: grid; place-items: center;
  flex-shrink: 0;
  position: relative;
  box-shadow: 0 0 0 3px var(--c-plaster), 0 0 0 5px var(--c-ochre);
  margin: 4px;
}
.ig__avatar img { width: 100%; height: 100%; border-radius: 999px; object-fit: cover; }
.ig__handle {
  margin: 0;
  font-size: clamp(26px, 6.4vw, 64px);
  line-height: 0.95;
  color: var(--fg-on-plaster);
  white-space: nowrap;
}
.ig__stats {
  display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
  margin-top: 14px;
  font-family: var(--ff-body);
  font-size: 13px;
  color: var(--fg-on-plaster-muted);
}
.ig__stats strong {
  color: var(--fg-on-plaster);
  font-weight: 700;
}
.ig__statdot {
  width: 4px; height: 4px; border-radius: 999px;
  background: var(--fg-on-plaster-faint);
}
.ig__head-cta { padding-bottom: 6px; }

/* Live embed container — 3×4 square-tile grid (3 cols × 4 rows) needs
   aspect-ratio 3:4 so it scales with width. Declared BEFORE the media queries
   below so they can override it on small screens. width/max-width are capped so
   the aspect-ratio + min-height never compute a width wider than the viewport
   (that previously forced ~900px and caused horizontal page scroll on mobile). */
.ig__embed {
  margin-bottom: 36px;
  width: 100%;
  max-width: 100%;
  aspect-ratio: 3 / 4;
  min-height: 1200px;
  overflow: hidden;
}
.ig__embed iframe {
  width: 100% !important;
  height: 100% !important;
  min-height: 1200px;
  border: none;
  display: block;
}

.ig__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}
@media (max-width: 760px) { .ig__grid { grid-template-columns: repeat(2, 1fr); } }

/* ── Instagram responsive ── */
@media (max-width: 900px) {
  .ig { padding: 40px 0 80px; }
  .ig__head {
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
  }
  .ig__head-cta { padding-bottom: 0; }
}

@media (max-width: 600px) {
  .ig { padding: 28px 0 32px; }
  .ig__account { gap: 16px; }
  .ig__avatar { width: 64px; height: 64px; flex-shrink: 0; }

  /* Sit the embed close to its real grid height instead of reserving a tall
     fixed block (which left a big empty gap above "See all on Instagram"). */
  .ig__embed {
    aspect-ratio: unset;
    height: auto;
    min-height: 280px;
    overflow: hidden;
    margin-bottom: 12px;
  }
  .ig__embed iframe {
    height: 470px !important; /* fallback close to the real grid height */
    min-height: 280px;
  }

  .ig__foot {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    margin-top: 4px;
  }
}

/* ── Mobile: tighten vertical cushioning between sections + hero spacing ── */
@media (max-width: 600px) {
  .featured,
  .why,
  .in-action,
  .process-page,
  .founder-cta,
  .process-aside { padding-top: 56px; padding-bottom: 56px; }
  .founder,
  .final-cta { padding-top: 60px; padding-bottom: 60px; }
  .services-page { padding-top: 44px; padding-bottom: 56px; }
  .work-grid-section { padding-bottom: 56px; }
  .site-footer { padding-top: 64px; }
  /* more breathing room between the hero headline and the intro paragraph */
  .hero__lede { margin-top: 44px; }
}
.ig-post {
  position: relative;
  display: block;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
}
.ig-post__media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1 / 1;
}
.ig-post__media .painted-ph { transition: transform var(--dur-base) var(--ease-out); width: 100%; height: 100%; aspect-ratio: auto; }
.ig-post:hover .ig-post__media .painted-ph { transform: scale(1.03); }
.ig-post__kind {
  position: absolute; top: 12px; right: 12px;
  width: 28px; height: 28px;
  color: var(--c-plaster);
  display: grid; place-items: center;
  filter: drop-shadow(0 1px 2px rgba(0,0,0,0.4));
}
.ig-post__kind:empty { display: none; }
.ig-post__kind svg { width: 100%; height: 100%; }
.ig-post__hover {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  gap: 28px;
  background: rgba(26,23,20,0.55);
  color: var(--c-plaster);
  opacity: 0;
  transition: opacity var(--dur-quick) var(--ease-out);
  font-family: var(--ff-body);
  font-weight: 700;
  font-size: 14px;
}
.ig-post__hover span { display: inline-flex; align-items: center; gap: 8px; }
.ig-post__hover svg { width: 18px; height: 18px; }
.ig-post:hover .ig-post__hover { opacity: 1; }
.ig-post__caption {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 14px 14px 12px;
  background: linear-gradient(180deg, transparent, rgba(26,23,20,0.78));
  color: rgba(255,255,255,0.92);
  font-size: 12px;
  letter-spacing: 0.01em;
  opacity: 0;
  transform: translateY(8px);
  transition: all var(--dur-base) var(--ease-out);
}
.ig-post:hover .ig-post__caption { opacity: 1; transform: translateY(0); }
.ig__foot {
  display: flex; align-items: center; justify-content: space-between;
  margin-top: 36px;
  gap: 24px;
  flex-wrap: wrap;
}
.ig__foot-link {
  display: inline-flex; align-items: center; gap: 14px;
  font-family: var(--ff-body); font-weight: 700;
  font-size: 14px; letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--fg-on-plaster);
  text-decoration: none;
}
.ig__foot-arrow {
  width: 38px; height: 38px;
  border-radius: 999px;
  background: var(--c-ochre);
  color: var(--c-ink);
  display: grid; place-items: center;
  transition: transform var(--dur-quick) var(--ease-out);
}
.ig__foot-arrow svg { width: 15px; height: 15px; }
.ig__foot-link:hover .ig__foot-arrow { transform: scale(1.08); background: var(--c-ochre-deep); }

/* ── A11y: ≥44px touch targets on the smaller interactive controls ── */
.lang-switch__btn,
.cf-stepper__btn,
.cf-sendnow,
.featured__all { min-height: 44px; display: inline-flex; align-items: center; justify-content: center; }
.ig__foot-link { min-height: 44px; }
.page-hero__crumb a { display: inline-flex; align-items: center; min-height: 44px; }
.ig__foot-meta {
  font-size: 12px;
  color: var(--fg-on-plaster-muted);
  max-width: 380px;
}


/* Setup card (shown when WIDGET_EMBED_CODE is empty) */
.ig__setup {
  margin-bottom: 48px;
  border: 1.5px dashed var(--c-border-plaster);
  border-radius: var(--r-card);
  padding: 56px 48px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.ig__setup-inner {
  max-width: 520px;
  text-align: center;
}
.ig__setup-icon {
  width: 52px; height: 52px;
  border-radius: 999px;
  background: var(--c-ink);
  color: var(--c-plaster);
  display: grid; place-items: center;
  margin: 0 auto 20px;
}
.ig__setup-icon svg { width: 26px; height: 26px; }
.ig__setup-title {
  margin: 0 0 14px;
  color: var(--fg-on-plaster);
  font-size: clamp(24px, 3vw, 38px);
}
.ig__setup-body {
  color: var(--fg-on-plaster-muted);
  font-size: 16px;
  margin: 0 0 32px;
}
.ig__setup-steps {
  list-style: none; padding: 0; margin: 0 0 36px;
  display: flex; flex-direction: column; gap: 18px;
  text-align: left;
}
.ig__setup-steps li {
  display: flex; gap: 20px; align-items: baseline;
  font-size: 15px; color: var(--fg-on-plaster);
}
.ig__setup-steps a {
  color: var(--c-brick);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.ig__setup-steps code {
  font-family: ui-monospace, "SF Mono", monospace;
  font-size: 13px;
  background: var(--c-paper);
  padding: 2px 6px;
  border-radius: 4px;
  color: var(--c-brick);
}
.ig__setup-num {
  font-family: var(--ff-serif);
  font-style: italic;
  color: var(--c-ochre-deep);
  font-size: 14px;
  min-width: 28px;
}
.ig__setup-cta {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--c-ink);
  color: var(--c-plaster);
  padding: 12px 24px;
  border-radius: var(--r-pill);
  font-family: var(--ff-body);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background var(--dur-quick) var(--ease-out);
}
.ig__setup-cta:hover { background: var(--c-ink-soft); }
.ig__setup-arrow { font-size: 18px; }

/* ============================================================
   Case study page
   ============================================================ */
.case-hero { padding: 200px 0 0; }
.case-hero .container { position: relative; }
.case-hero__type-line {
  display: inline-flex; align-items: center;
  font-family: var(--ff-body); font-weight: 700;
  font-size: 13px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--c-ochre);
  margin-bottom: 28px;
}
.case-hero__top {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 64px;
  align-items: end;
  margin-bottom: 80px;
}
.case-hero__top .display-xl {
  font-size: clamp(64px, 8.2vw, 160px);
  line-height: 0.92;
  letter-spacing: -0.015em;
  margin: 0;
}
.case-hero__sub {
  display: flex; align-items: center; gap: 12px;
  flex-wrap: wrap;
  margin-top: 24px;
  font-family: var(--ff-body);
  font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase;
  font-weight: 600;
  color: var(--fg-on-ink-muted);
}
.case-hero__lede {
  color: var(--c-plaster);
  font-size: 20px;
  line-height: 1.5;
  margin: 0;
  max-width: 520px;
  justify-self: end;
}
.case-hero__shot {
  position: relative;
  height: 64vh; max-height: 720px; min-height: 480px;
  overflow: hidden;
  width: 100%;
}
.case-hero__shot .painted-ph,
.case-hero__shot .painted-ph--slotted {
  width: 100% !important;
  height: 100% !important;
  aspect-ratio: auto !important;
}
[id^="cs-hero-"] {
  width: 100% !important;
  height: 100% !important;
}
.case-hero__shot img.painted-ph__photo {
  object-fit: cover;
  object-position: center;
  width: 100%;
  height: 100%;
}
.case-hero__shot-tag {
  position: absolute;
  bottom: 22px; left: 32px;
  display: inline-flex; align-items: center; gap: 10px;
  background: rgba(0,0,0,0.55);
  color: var(--c-plaster);
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
@media (max-width: 900px) {
  .case-hero__top { grid-template-columns: 1fr; gap: 28px; }
  .case-hero__lede { justify-self: start; }
}

/* body + facts */
.case-body { padding: 80px 0 56px; }
.case-body__grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 96px;
  align-items: start;
}
@media (max-width: 900px) { .case-body__grid { grid-template-columns: 1fr; gap: 56px; } }
.case-body__copy { color: var(--fg-on-plaster); }
.case-body__copy .eyebrow { margin-bottom: 20px; }
.case-body__p {
  font-family: var(--ff-body);
  font-size: 20px;
  line-height: 1.55;
  margin: 0 0 28px;
  max-width: 70ch;
  color: var(--fg-on-plaster);
}
.case-body__p:first-of-type {
  font-size: 22px;
  line-height: 1.5;
}
.case-body__p:last-child { margin-bottom: 0; }
.case-body__quote {
  margin: 56px 0 0;
  padding: 28px 0 0;
  border-top: 1px solid var(--c-border-plaster);
}
.case-body__quote p {
  font-family: var(--ff-serif);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(22px, 2.6vw, 36px);
  line-height: 1.35;
  margin: 0 0 16px;
  color: var(--c-ink);
  text-wrap: balance;
}
.case-body__quote cite {
  font-family: var(--ff-body);
  font-style: normal;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--c-brick);
}

/* facts panel */
.case-facts__panel {
  background: var(--c-paper);
  border-radius: var(--r-card);
  padding: 32px;
  position: sticky;
  top: 110px;
}
.case-facts__row {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 16px;
  padding: 14px 0;
  border-top: 1px solid var(--c-border-plaster);
  align-items: baseline;
}
.case-facts__row:first-child { border-top: none; padding-top: 0; }
.case-facts__row--block {
  grid-template-columns: 1fr;
  gap: 10px;
}
.case-facts__k {
  font-family: var(--ff-body);
  font-weight: 700;
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--fg-on-plaster-muted);
}
.case-facts__v {
  font-family: var(--ff-body);
  font-size: 15px;
  color: var(--fg-on-plaster);
  font-weight: 500;
}
.case-facts__list {
  margin: 0; padding: 0; list-style: none;
  display: flex; flex-direction: column; gap: 6px;
  font-size: 14px;
  color: var(--fg-on-plaster);
}
.case-facts__role {
  display: inline-block;
  min-width: 110px;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--fg-on-plaster-muted);
  font-weight: 600;
}

/* gallery */
.case-gallery { padding: 0 0 80px; }
.case-gallery .eyebrow { margin-bottom: 32px; }
/* Gallery — 2×2 grid + full-width landscape at bottom */
.case-gallery__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.case-gallery__cell { margin: 0; }
/* Hover animation — matches service card */
.case-gallery__cell .painted-ph { transition: transform var(--dur-base) var(--ease-out); }
.case-gallery__cell:hover .painted-ph { transform: scale(1.012); }
.case-gallery__cell figcaption {
  margin-top: 10px;
  font-family: var(--ff-body);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--fg-on-plaster-muted);
}
/* All standard cells: 2-column, forced 4:3 regardless of data aspect */
.case-gallery__cell--1,
.case-gallery__cell--2,
.case-gallery__cell--3,
.case-gallery__cell--4,
.case-gallery__cell--5,
.case-gallery__cell--6 { grid-column: span 1; }

/* Force uniform 4:3 on all gallery images — object-fit cover handles crop */
.case-gallery__cell .painted-ph,
.case-gallery__cell .painted-ph--slotted,
.case-gallery__cell .painted-ph--photo,
.case-gallery__cell img.painted-ph__photo {
  aspect-ratio: 4 / 3 !important;
  object-fit: cover !important;
  object-position: center !important;
  width: 100% !important;
  height: auto !important;
}

/* Wide flag — full width + cinematic 16:7 ratio */
.case-gallery__cell--wide { grid-column: span 2 !important; }
.case-gallery__cell--wide .painted-ph,
.case-gallery__cell--wide .painted-ph--slotted,
.case-gallery__cell--wide .painted-ph--photo,
.case-gallery__cell--wide img.painted-ph__photo {
  aspect-ratio: 16 / 7 !important;
}

@media (max-width: 720px) {
  /* Standardised mobile gallery: every image is a uniform, full-width 4:3 cell
     in a single column. Wide cells must also reset to span 1 — otherwise their
     `grid-column: span 2` creates an implicit second column and orphans the
     preceding cell into a narrow half-width slot (the broken look on Canopy /
     Mama Samba). */
  .case-gallery__grid { grid-template-columns: 1fr; }
  .case-gallery__cell,
  .case-gallery__cell--1,
  .case-gallery__cell--2,
  .case-gallery__cell--3,
  .case-gallery__cell--4,
  .case-gallery__cell--5,
  .case-gallery__cell--6,
  .case-gallery__cell--wide { grid-column: span 1 !important; }
  /* One ratio for all images so the stack reads as a clean, even column. */
  .case-gallery__cell .painted-ph,
  .case-gallery__cell .painted-ph--slotted,
  .case-gallery__cell .painted-ph--photo,
  .case-gallery__cell img.painted-ph__photo,
  .case-gallery__cell--wide .painted-ph,
  .case-gallery__cell--wide .painted-ph--slotted,
  .case-gallery__cell--wide .painted-ph--photo,
  .case-gallery__cell--wide img.painted-ph__photo {
    aspect-ratio: 4 / 3 !important;
  }
}

/* next */
.case-next { padding: 100px 0; }
.case-next__grid {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 32px; flex-wrap: wrap;
}
.case-next__grid .display-l { margin: 0; max-width: 700px; }
.case-next__ctas {
  display: flex; gap: 14px; flex-wrap: wrap;
  padding-bottom: 8px;
}

/* ============================================================
   About page
   ============================================================ */
.about-founder { padding: 120px 0; }
.about-founder__grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 64px;
  align-items: start;
}
.about-founder__media { position: sticky; top: 100px; }
.about-founder__media .painted-ph { border-radius: var(--r-card); overflow: hidden; }
.about-founder__body p { max-width: 560px; }

.about-code { padding: 120px 0; }
.about-code__list {
  list-style: none;
  margin: 48px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.about-code__item {
  border-top: 2px solid rgba(255,255,255,0.28);
  padding-top: 24px;
}
.about-code__num {
  font-family: var(--ff-display, "Archivo Black");
  font-size: 56px;
  line-height: 1;
  display: block;
  margin-bottom: 18px;
  opacity: 0.85;
}

.about-where { padding: 120px 0; }
.about-where__grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 64px;
  align-items: center;
}
.about-where__cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}
.about-where__tag {
  font-family: var(--ff-body);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  opacity: 0.6;
  padding-bottom: 14px;
  margin-bottom: 18px;
  border-bottom: 1px solid rgba(255,255,255,0.18);
}
.about-where__list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.about-where__list li {
  font-family: var(--ff-display-alt, "Bebas Neue");
  font-size: 28px;
  line-height: 1.45;
  letter-spacing: 0.01em;
}

@media (max-width: 880px) {
  .about-founder__grid,
  .about-where__grid { grid-template-columns: 1fr; gap: 40px; }
  .about-founder__media { position: static; max-width: 420px; }
  .about-code__list { grid-template-columns: 1fr; gap: 24px; }
  .about-where__cols { gap: 32px; }
}

/* ============================================================
   Press page
   ============================================================ */
.press-body { padding: 80px 0 120px; }
.press-intro {
  max-width: 720px;
  margin-bottom: 8px;
  padding-bottom: 48px;
  padding-top: 96px;
  border-top: 1px solid var(--c-border-plaster);
}
.press-intro .eyebrow { margin-bottom: 20px; }
.press-intro__lede {
  font-size: 22px;
  line-height: 1.5;
  color: var(--c-ink-soft, var(--c-ink));
  margin: 0;
}

/* ── Masthead carousel: auto-scrolling featured publications ───── */
.press-strip {
  margin-bottom: 8px;
  padding-bottom: 44px;
}
.press-strip__label {
  margin-bottom: 22px;
}
.press-strip__wrap {
  position: relative;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 90px, #000 calc(100% - 90px), transparent);
  mask-image: linear-gradient(to right, transparent, #000 90px, #000 calc(100% - 90px), transparent);
}
.press-strip__track {
  display: flex;
  align-items: center;
  width: max-content;
  animation: ticker-scroll 52s linear infinite;
}
.press-strip__wrap:hover .press-strip__track { animation-play-state: paused; }
.press-strip__item {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  padding: 0 38px;
  height: 56px;
  position: relative;
  text-decoration: none;
}
.press-strip__item:not(:last-child)::after {
  content: "";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  height: 22px;
  width: 1px;
  background: var(--c-border-plaster);
}
.press-strip__name {
  font-family: var(--ff-serif);
  font-weight: 500;
  font-size: 27px;
  line-height: 1;
  letter-spacing: 0.01em;
  white-space: nowrap;
  color: var(--c-ink);
  opacity: 0.55;
  transition: opacity var(--dur-quick) var(--ease-out), color var(--dur-quick) var(--ease-out);
}
.press-strip__item:hover .press-strip__name {
  opacity: 1;
  color: var(--c-brick);
}
@media (prefers-reduced-motion: reduce) {
  .press-strip__track { animation: none; flex-wrap: wrap; width: 100%; }
}

/* Home-page press carousel — divider from the Instagram section above */
.home-press {
  padding: 64px 0 80px;
  border-top: 1px solid var(--c-border-plaster);
}
.home-press .press-strip { margin-bottom: 0; padding-bottom: 0; }
.press-group {
  padding: 48px 0;
  border-top: 1px solid var(--c-border-plaster);
}
.press-group:first-child { border-top: none; padding-top: 0; }
.press-group__head {
  display: flex; align-items: baseline; justify-content: space-between;
  gap: 24px;
  margin-bottom: 24px;
}
.press-group__head .eyebrow { margin-bottom: 0; }
.press-group__link {
  font-family: var(--ff-body);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--c-brick);
  text-decoration: none;
}
.press-group__link:hover { color: var(--c-ink); }
.press-list {
  list-style: none; margin: 0; padding: 0;
  display: flex; flex-direction: column; gap: 2px;
}
.press-item {}
.press-item__link {
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px;
  padding: 20px 0;
  border-top: 1px solid var(--c-border-plaster);
  text-decoration: none;
  color: var(--fg-on-plaster);
  transition: background var(--dur-quick) var(--ease-out);
}
.press-item__link:hover .press-item__arrow { color: var(--c-ochre); }
.press-item__link:hover .press-item__title { color: var(--c-brick); }
.press-item__inner { display: flex; flex-direction: column; gap: 4px; }
.press-item__pub {
  font-family: var(--ff-body);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--fg-on-plaster-muted);
}
.press-item__title {
  font-family: var(--ff-body);
  font-size: 18px;
  font-weight: 500;
  color: var(--fg-on-plaster);
  transition: color var(--dur-quick) var(--ease-out);
}
.press-item__meta {
  display: flex; align-items: center; gap: 16px;
  flex-shrink: 0;
}
.press-item__year {
  font-family: var(--ff-serif);
  font-style: italic;
  font-size: 15px;
  color: var(--fg-on-plaster-muted);
}
.press-item__arrow {
  font-size: 20px;
  color: var(--fg-on-plaster-faint);
  transition: color var(--dur-quick) var(--ease-out);
}
.press-note {
  margin-top: 72px;
  padding-top: 48px;
  border-top: 1px solid var(--c-border-plaster);
  max-width: 640px;
}
.press-note p {
  font-size: 18px;
  line-height: 1.55;
  color: var(--fg-on-plaster-muted);
}

/* ============================================================
   Terms of service page
   ============================================================ */
.terms-body { padding: 80px 0 120px; }
.terms-doc { max-width: 640px; } /* ~75ch line-length for legal prose */
.terms-section {
  padding: 40px 0;
  border-top: 1px solid var(--c-border-plaster);
}
.terms-section:first-child { border-top: none; padding-top: 0; }
.terms-section .display-s {
  margin: 0 0 20px;
  font-size: clamp(22px, 2.4vw, 32px);
  color: var(--fg-on-plaster);
}
.terms-section p {
  font-family: var(--ff-body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--fg-on-plaster);
  margin: 0 0 14px;
}
.terms-section p:last-child { margin-bottom: 0; }
.terms-updated {
  margin-top: 48px;
  font-family: var(--ff-body);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--fg-on-plaster-muted);
}

/* ============================================================
   Contact form polish
   ============================================================ */
.contact-form__aside-quote {
  border-top: 1px solid var(--c-border-plaster);
  border-bottom: 1px solid var(--c-border-plaster);
  padding: 24px 0;
  margin: 32px 0;
}
.contact-form__aside-quote p {
  font-family: var(--ff-serif);
  font-style: italic;
  font-size: 17px;
  line-height: 1.45;
  color: var(--c-ink);
  margin: 0 0 12px;
}
.contact-form__aside-quote cite {
  font-family: var(--ff-body);
  font-style: normal;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--c-brick);
  font-weight: 600;
}

/* stepper */
.cf-stepper {
  display: flex;
  background: var(--c-paper);
  border-radius: var(--r-pill);
  padding: 6px;
  width: fit-content;
}
.cf-stepper__btn {
  display: inline-flex; align-items: center; gap: 10px;
  background: transparent; border: none;
  padding: 8px 18px;
  border-radius: var(--r-pill);
  font-family: var(--ff-body);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--fg-on-plaster-muted);
  cursor: pointer;
  transition: all var(--dur-quick) var(--ease-out);
}
.cf-stepper__btn span {
  font-family: var(--ff-serif);
  font-style: italic;
  font-size: 11px;
  color: var(--c-ochre-deep);
}
.cf-stepper__btn--on {
  background: var(--c-ink);
  color: var(--c-plaster);
}
.cf-stepper__btn--on span { color: var(--c-ochre); }

/* optional-steps hint under the stepper */
.cf-stepper__hint {
  margin: 14px 2px 4px;
  font-size: 14px;
  line-height: 1.5;
  color: var(--fg-on-plaster-muted);
  max-width: 520px;
}
.cf-stepper__hint strong {
  color: var(--fg-on-plaster);
  font-weight: 700;
}

/* chips */
.cf-chips {
  display: flex; flex-wrap: wrap; gap: 8px;
}
.cf-chip {
  background: transparent;
  border: 1px solid var(--c-border-plaster);
  padding: 8px 14px;
  border-radius: 999px;
  font-family: var(--ff-body);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--fg-on-plaster);
  cursor: pointer;
  transition: all var(--dur-quick) var(--ease-out);
}
.cf-chip:hover { border-color: var(--c-ink); }
.cf-chip--on {
  background: var(--c-ink);
  color: var(--c-plaster);
  border-color: transparent;
}
.cf-field--chips label { margin-bottom: 8px; }

/* dropzone polish */
.cf-dropzone {
  align-items: center;
}
.cf-dropzone strong {
  display: block;
  color: var(--fg-on-plaster);
  font-weight: 700;
  font-size: 14px;
  margin-bottom: 2px;
}
.cf-dropzone__hint {
  font-size: 12px;
  color: var(--fg-on-plaster-muted);
}

/* back link */
.cf-back {
  background: transparent;
  border: none;
  padding: 8px 16px;
  color: var(--fg-on-plaster-muted);
  font-family: var(--ff-body);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  cursor: pointer;
}
.cf-back:hover { color: var(--c-ink); }

/* "send enquiry now" escape — text button so the early steps never trap */
.cf-sendnow {
  background: transparent;
  border: none;
  padding: 8px 4px;
  color: var(--c-brick);
  font-family: var(--ff-body);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}
.cf-sendnow:hover { color: var(--c-ink); }

/* ============================================================
   CLIENTS PAGE — logos grouped by field of work
   ============================================================ */
.clientpage { padding: 80px 0 120px; }
.clientpage-group {
  padding: 56px 0;
  border-top: 1px solid var(--c-border-plaster);
}
.clientpage-group:first-child { border-top: none; padding-top: 8px; }
.clientpage-group__head {
  display: flex; align-items: baseline; justify-content: space-between;
  gap: 24px;
}
.clientpage-group__head .eyebrow { margin-bottom: 0; }
.clientpage-group__count {
  font-family: var(--ff-serif);
  font-style: italic;
  font-size: 22px;
  color: var(--fg-on-plaster-faint);
}
.clientpage-group__blurb {
  margin: 14px 0 0;
  max-width: 520px;
  font-size: 16px;
  color: var(--fg-on-plaster-muted);
}

.clientpage-grid {
  list-style: none; margin: 0; padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--c-border-plaster);
  border: 1px solid var(--c-border-plaster);
}
@media (max-width: 900px) { .clientpage-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 560px) { .clientpage-grid { grid-template-columns: repeat(2, 1fr); } }

.clientpage-cell {
  background: var(--c-plaster);
  transition: background var(--dur-base) var(--ease-out);
}
.clientpage-cell:hover { background: var(--c-paper); }
.clientpage-cell__link {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding: 28px 20px;
  min-height: 168px;
  text-decoration: none;
  color: inherit;
  width: 100%;
  height: 100%;
  box-sizing: border-box;
}

.clientpage-logo {
  display: block;
  height: 56px;
  width: auto;
  max-width: 80%;
  object-fit: contain;
  filter: brightness(0) opacity(0.55);
  transition: filter var(--dur-base) var(--ease-out), transform var(--dur-base) var(--ease-out);
}
.clientpage-cell:hover .clientpage-logo,
.clientpage-cell__link:hover .clientpage-logo {
  filter: brightness(0) opacity(0.9);
  transform: translateY(-2px);
}

.clientpage-cell__name {
  font-family: var(--ff-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--fg-on-plaster-faint);
  transition: color var(--dur-base) var(--ease-out);
  text-align: center;
}
.clientpage-cell:hover .clientpage-cell__name,
.clientpage-cell__link:hover .clientpage-cell__name { color: var(--fg-on-plaster-muted); }

.clientpage-cta {
  margin-top: 80px;
  padding-top: 56px;
  border-top: 1px solid var(--c-border-plaster);
}
