/* Primal Space v2 "Gallery" — site stylesheet.
   Tokens and rationale: docs/superpowers/specs/2026-09-27-v2-gallery-design.md */

@font-face { font-family: "Schibsted Grotesk"; src: url("../fonts/schibsted-grotesk-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Schibsted Grotesk"; src: url("../fonts/schibsted-grotesk-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Schibsted Grotesk"; src: url("../fonts/schibsted-grotesk-latin-700-normal.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Schibsted Grotesk"; src: url("../fonts/schibsted-grotesk-latin-900-normal.woff2") format("woff2"); font-weight: 900; font-style: normal; font-display: swap; }

:root {
  --ink: #000000;
  --text: #2a2a2a;
  --muted: #5c5a55;
  --ground: #f2f1ee;
  --paper: #ffffff;
  --rule: #d9d6d0;
  --gold: #e0a240;
  --gold-text: #7a4d0b;
  --footer-text: #bdbab3;

  --sans: "Schibsted Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;

  --fs-sm: 0.9375rem;
  --fs-base: 1.0625rem;
  --fs-md: clamp(1.0625rem, 1rem + 0.25vw, 1.1875rem);
  --fs-lg: 1.25rem;
  --fs-xl: clamp(1.5rem, 1.2rem + 1vw, 1.875rem);
  --fs-h2: clamp(2.25rem, 1.2rem + 3.5vw, 4.5rem);
  --fs-h1: clamp(2.75rem, 1.4rem + 5vw, 5.5rem);
  --fs-display: clamp(3.5rem, 1rem + 10vw, 10.5rem);

  --gutter: clamp(1rem, 3.9vw, 3.5rem);
  --wrap: 90rem;
  --measure: 70ch;
  --section: clamp(4rem, 8vw, 7rem);
  --col-gap: clamp(1rem, 1.7vw, 1.5rem);
  --radius: 4px;
  --header-h: 88px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 1rem); }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: var(--fs-base);
  line-height: 1.5;
  color: var(--text);
  background: var(--ground);
  -webkit-font-smoothing: antialiased;
  overflow-wrap: break-word;
}
img, svg, video { max-width: 100%; height: auto; display: block; }
main { display: block; }
main:focus { outline: none; }

h1, h2, h3, h4 { color: var(--ink); margin: 0; line-height: 1.05; }
h1 { font-size: var(--fs-h1); font-weight: 900; letter-spacing: -0.045em; line-height: 0.95; }
h2 { font-size: var(--fs-h2); font-weight: 900; letter-spacing: -0.045em; line-height: 0.95; }
h3 { font-size: var(--fs-lg); font-weight: 800; letter-spacing: -0.01em; line-height: 1.2; }
p { margin: 0 0 1em; }
a { color: var(--ink); text-decoration-thickness: 1px; text-underline-offset: 0.2em; }
a:hover { color: var(--gold-text); }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; border-radius: 2px; }

.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 1rem; top: -4rem; z-index: 100; background: var(--ink); color: var(--paper); padding: 0.75rem 1rem; border-radius: var(--radius); }
.skip-link:focus { top: 1rem; color: var(--paper); }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.grid-12 { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--col-gap); }
.section { padding-block: var(--section); }
.section--rule { border-top: 1px solid var(--rule); }
.muted { color: var(--muted); }
.lede { font-size: var(--fs-md); color: var(--text); max-width: 60ch; }

/* ---------- Buttons and links ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  min-height: 48px; padding: 0.75rem 1.5rem; border-radius: 999px; border: 1.5px solid transparent;
  font: inherit; font-size: 1rem; font-weight: 700; line-height: 1.2; text-decoration: none; cursor: pointer;
}
.btn-primary { background: var(--ink); color: var(--paper); }
.btn-primary:hover { background: #2b2b2b; color: var(--paper); }
.btn-gold { background: var(--gold); color: var(--ink); }
.btn-gold:hover { background: #ebb562; color: var(--ink); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: var(--paper); }
.link-underline { font-weight: 700; text-decoration: none; border-bottom: 2px solid var(--gold); padding-bottom: 0.2rem; }
.link-underline:hover { color: var(--ink); border-bottom-color: var(--ink); }
.cta-row { display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; margin-top: 2rem; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--ground); border-bottom: 1px solid var(--rule); }
.header-bar { display: flex; align-items: center; gap: clamp(1.5rem, 3vw, 3rem); min-height: var(--header-h); }
.brand { flex-shrink: 0; }
.brand img { width: 200px; height: auto; }
.nav { flex-grow: 1; }
.nav-list { list-style: none; margin: 0; padding: 0; display: flex; gap: clamp(1rem, 2.2vw, 2rem); align-items: center; }
.nav-top {
  display: inline-flex; align-items: center; gap: 0.35rem; min-height: 44px; padding: 0;
  background: none; border: 0; font: inherit; font-size: 1rem; font-weight: 500; color: var(--ink); text-decoration: none; cursor: pointer;
}
.nav-top[aria-current="page"], .nav-top.is-current { text-decoration: underline; text-decoration-color: var(--gold); text-decoration-thickness: 2px; text-underline-offset: 0.4em; }
.chev { width: 12px; height: 12px; transition: transform 0.15s; }
.nav-toggle-sub[aria-expanded="true"] .chev { transform: rotate(180deg); }
.has-sub { position: relative; }
.sub { display: none; position: absolute; top: calc(100% + 22px); left: -1.5rem; background: var(--paper); border: 1px solid var(--rule); border-radius: var(--radius); padding: 1.5rem; min-width: 18rem; box-shadow: 0 18px 40px -24px rgba(0, 0, 0, 0.35); }
.has-sub.is-open > .sub { display: block; }
.sub ul { list-style: none; margin: 0; padding: 0; }
.sub a { display: block; padding: 0.35rem 0; text-decoration: none; color: var(--text); }
.sub a:hover, .sub a[aria-current="page"] { color: var(--ink); text-decoration: underline; text-decoration-color: var(--gold); text-decoration-thickness: 2px; }
.has-mega { position: static; }
.sub--mega { left: var(--gutter); right: var(--gutter); max-width: calc(var(--wrap) - 2 * var(--gutter)); margin-inline: auto; padding: 2rem 2.5rem 2.25rem; }
.mega-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 2rem; }
.mega-head { font-weight: 800; color: var(--ink) !important; font-size: 1.0625rem; margin-bottom: 0.5rem; }
.mega-all { display: inline-block; margin-top: 1.75rem; }
.header-cta { flex-shrink: 0; }
.mobile-cta { display: none; }
.menu-button { display: none; }

@media (max-width: 960px) {
  :root { --header-h: 72px; }
  .brand img { width: 170px; }
  .header-cta { display: none; }
  .menu-button {
    display: inline-flex; align-items: center; justify-content: center; margin-left: auto;
    width: 48px; height: 48px; background: none; border: 0; cursor: pointer; padding: 0;
  }
  .menu-lines, .menu-lines::before, .menu-lines::after { display: block; width: 24px; height: 2px; background: var(--ink); position: relative; transition: transform 0.2s; }
  .menu-lines::before, .menu-lines::after { content: ""; position: absolute; left: 0; }
  .menu-lines::before { top: -7px; } .menu-lines::after { top: 7px; }
  .menu-open .menu-lines { background: transparent; }
  .menu-open .menu-lines::before { transform: translateY(7px) rotate(45deg); }
  .menu-open .menu-lines::after { transform: translateY(-7px) rotate(-45deg); }
  .nav { display: none; position: fixed; inset: var(--header-h) 0 0 0; background: var(--ground); overflow-y: auto; padding: 1rem var(--gutter) 3rem; }
  .menu-open .nav { display: block; }
  .menu-open { overflow: hidden; }
  .nav-list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav-list > li { border-bottom: 1px solid var(--rule); }
  .nav-top { width: 100%; justify-content: space-between; min-height: 60px; font-size: 1.5rem; font-weight: 800; letter-spacing: -0.02em; }
  .sub, .sub--mega { position: static; border: 0; box-shadow: none; padding: 0 0 1.25rem; background: transparent; min-width: 0; max-width: none; }
  .mega-grid { grid-template-columns: 1fr; gap: 1.25rem; }
  .mobile-cta { display: block; border-bottom: 0 !important; padding-top: 1.5rem; }
  .mobile-cta .btn { width: 100%; }
}

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: var(--footer-text); margin-top: var(--section); padding-block: 4rem 3rem; font-size: var(--fs-sm); }
.site-footer a { color: var(--paper); text-decoration: none; }
.site-footer a:hover { color: var(--gold); }
.footer-cta { display: flex; flex-wrap: wrap; gap: 1.5rem; align-items: center; justify-content: space-between; padding-bottom: 3rem; margin-bottom: 3rem; border-bottom: 1px solid #2e2d2a; }
.footer-cta-text { margin: 0; color: var(--paper); font-size: var(--fs-xl); font-weight: 900; letter-spacing: -0.03em; }
.site-footer .btn-gold, .site-footer .btn-gold:hover { color: var(--ink); }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(3, minmax(0, 1fr)); gap: 2.5rem; }
.footer-grid h2 { color: var(--paper); font-size: 1rem; font-weight: 700; letter-spacing: 0; line-height: 1.3; margin-bottom: 1rem; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; }
.footer-grid li { margin-bottom: 0.45rem; }
.footer-grid li a { color: var(--footer-text); }
.footer-grid li a:hover { color: var(--paper); }
.wordmark { display: block; color: var(--paper); font-size: 1.5rem; font-weight: 900; letter-spacing: -0.02em; margin-bottom: 1rem; }
.wordmark span { color: var(--gold); }
.footer-contact { margin-bottom: 1.25rem !important; }
.social { display: flex !important; gap: 0.75rem; }
.social a { display: inline-flex; width: 44px; height: 44px; align-items: center; justify-content: center; border: 1px solid #3a3935; border-radius: 999px; }
.social svg { width: 18px; height: 18px; fill: currentColor; }
.footer-legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1.5rem; margin-top: 3rem; padding-top: 2rem; border-top: 1px solid #2e2d2a; font-size: 0.875rem; }
.footer-legal p { margin: 0; }
.footer-legal ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem; }
@media (max-width: 960px) { .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .footer-brand { grid-column: 1 / -1; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}

/* ---------- Tiles ---------- */
.tile { display: flex; flex-direction: column; gap: 0.85rem; text-decoration: none; color: var(--ink); min-width: 0; }
.tile-media { display: block; overflow: hidden; border-radius: var(--radius); background: #e4e2dd; }
.tile-media img { width: 100%; height: 100%; object-fit: cover; object-position: top center; transition: transform 0.4s ease; }
.tile:hover .tile-media img { transform: scale(1.02); }
.tile--wide .tile-media { aspect-ratio: 1600 / 940; }
.tile--tall .tile-media { aspect-ratio: 800 / 940; }
.tile--std .tile-media { aspect-ratio: 1; }
.tile-caption { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; font-size: var(--fs-base); }
.tile-title { font-weight: 700; }
.tile:hover .tile-title { text-decoration: underline; text-decoration-color: var(--gold); text-decoration-thickness: 2px; text-underline-offset: 0.25em; }
.tile-meta { color: var(--muted); flex-shrink: 0; text-align: right; }
.tile--text { justify-content: flex-end; min-height: 12rem; padding: 1.5rem; background: var(--paper); border: 1px solid var(--rule); border-radius: var(--radius); }
.tile--text .tile-caption { flex-direction: column; gap: 0.35rem; }
.tile--text .tile-meta { text-align: left; }
.tile-grid { display: grid; gap: 2.5rem var(--col-gap); }
.tile-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.tile-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 960px) { .tile-grid--3, .tile-grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .tile-grid--3, .tile-grid--4 { grid-template-columns: 1fr; } }

/* ---------- Home ---------- */
.hero { padding-block: clamp(3rem, 6vw, 4.5rem) clamp(2.5rem, 4vw, 3.5rem); }
.hero .grid-12 { align-items: end; row-gap: 2rem; }
.hero-title { grid-column: span 8; font-size: min(var(--fs-display), 11.2vw); line-height: 0.86; letter-spacing: -0.055em; overflow-wrap: normal; }
.hero-intro { grid-column: span 4; padding-bottom: 0.75rem; }
.hero-intro .lede { margin-bottom: 1.25rem; }
.mosaic { row-gap: 2.5rem; }
.mosaic .tile--wide { grid-column: span 8; }
.mosaic .tile--tall { grid-column: span 4; }
.mosaic .tile--tall .tile-media { aspect-ratio: auto; height: 100%; min-height: 0; }
.mosaic .tile--tall { display: grid; grid-template-rows: 1fr auto; }
.mosaic .tile--std { grid-column: span 3; }
.hero-more { margin-top: 3rem; color: var(--text); font-size: var(--fs-md); }
.hero-more p { grid-column: span 6; max-width: 60ch; margin: 0; }
.clients { margin-top: var(--section); border-block: 1px solid var(--rule); }
.clients-row { display: flex; gap: clamp(1.5rem, 4vw, 3rem); align-items: baseline; padding-block: 2.5rem; }
.clients-label { flex-shrink: 0; font-size: var(--fs-base); font-weight: 500; letter-spacing: 0; color: var(--muted); line-height: 1.4; }
.clients-names { margin: 0; font-size: var(--fs-xl); font-weight: 700; letter-spacing: -0.02em; line-height: 1.35; color: var(--ink); }
.subhead { font-size: var(--fs-md); color: var(--text); margin-top: 1rem; max-width: 55ch; }
.services .grid-12 { row-gap: 3rem; }
.services-intro { grid-column: span 5; }
.services-intro h2 { margin-bottom: 0.25rem; }
.services-intro p { max-width: 50ch; }
.services-intro .btn { margin-top: 0.5rem; }
.service-index { grid-column: 7 / span 6; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2.5rem var(--col-gap); }
.service-group h3 { font-size: var(--fs-lg); margin-bottom: 0.6rem; }
.service-group h3 a { text-decoration: none; }
.service-group ul { list-style: none; margin: 0; padding: 0; line-height: 1.9; }
.service-group li a { text-decoration: none; color: var(--text); }
.service-group a:hover { color: var(--ink); text-decoration: underline; text-decoration-color: var(--gold); text-decoration-thickness: 2px; }
.section-head { margin-bottom: clamp(2rem, 4vw, 3.5rem); }
.section-head.grid-12 > h2 { grid-column: span 6; }
.section-head.grid-12 > .subhead { grid-column: 8 / span 5; margin-top: 0; align-self: end; }
.section-head--split { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 1.5rem; }
.reasons { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 3rem var(--col-gap); }
.reasons li { border-top: 2px solid var(--ink); padding-top: 1.25rem; }
.reasons h3 { font-size: var(--fs-xl); font-weight: 900; letter-spacing: -0.03em; margin-bottom: 0.75rem; }
.reasons p { margin: 0; max-width: 45ch; }
.faqs-title { grid-column: span 5; font-size: clamp(1.875rem, 1.2rem + 2vw, 3rem); letter-spacing: -0.035em; line-height: 1.05; }
.faqs-list { grid-column: 7 / span 6; }

/* ---------- FAQs ---------- */
.faq details { border-bottom: 1px solid var(--rule); }
.faq details:first-child { border-top: 1px solid var(--rule); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 1rem; align-items: center; min-height: 64px; padding-block: 1rem; font-size: var(--fs-lg); font-weight: 700; color: var(--ink); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex-shrink: 0; width: 14px; height: 14px; background: linear-gradient(var(--ink), var(--ink)) center / 14px 2px no-repeat, linear-gradient(var(--ink), var(--ink)) center / 2px 14px no-repeat; transition: transform 0.2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .answer { padding-bottom: 1.5rem; max-width: var(--measure); }

/* ---------- Enquiry band ---------- */
.enquiry-band { margin-top: var(--section); }
.enquiry-panel { background: var(--gold); color: var(--ink); border-radius: var(--radius); padding: clamp(2rem, 5vw, 4rem); row-gap: 2rem; align-items: center; }
.enquiry-copy { grid-column: span 5; }
.enquiry-copy h2 { font-size: clamp(2.25rem, 1.4rem + 3vw, 3.5rem); margin-bottom: 0.75rem; }
.enquiry-copy .lede { color: var(--ink); }
.enquiry-email { margin: 1.5rem 0 0; }
.enquiry-email a { font-weight: 700; }
.enquiry-fields { grid-column: 7 / span 6; }
.enquiry-panel a:hover { color: var(--ink); }

/* ---------- Forms (Form plugin markup; ported from v1) ---------- */
.form-grid { display: grid; gap: 1rem 1.25rem; }
@media (min-width: 600px) { .form-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .form-grid .field--wide, .form-grid .field-textarea, .form-grid .form-actions, .form-grid .field-checkbox, .form-grid .form-errors, .form-grid .field:has(.form-data[data-grav-field="checkbox"]), .form-grid .field:has(.form-data[data-grav-field="captcha"]) { grid-column: 1 / -1; } }
.field { display: flex; flex-direction: column; gap: 0.35rem; margin: 0; }
.field .form-label, .field .form-data { display: block; }
.field-label, .field label { font-weight: 700; font-size: var(--fs-sm); color: var(--ink); }
.field .required { color: var(--ink); }
.field-input, .field input[type="text"], .field input[type="email"], .field input[type="tel"], .field input[type="url"], .field select, .field textarea {
  width: 100%; min-height: 48px; padding: 0.7rem 0.9rem; font: 400 1rem/1.4 var(--sans); color: var(--ink);
  background: var(--paper); border: 1.5px solid transparent; border-radius: var(--radius);
}
.form-panel .field-input, .form-panel .field input:not([type="checkbox"]), .form-panel .field textarea, .form-panel .field select { border-color: #c9c6bf; }
.field textarea { min-height: 8rem; resize: vertical; }
.field-input:focus, .field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 1px var(--ink); }
.field input[aria-invalid="true"], .field.has-errors input, .field.has-errors textarea { border-color: #a4161a; }
.field-check, .field input[type="checkbox"] { width: 1.25rem; height: 1.25rem; min-height: 0; padding: 0; accent-color: var(--ink); flex: 0 0 auto; margin: 0.15rem 0 0; }
.field-checkbox .form-data, .field .form-data:has(> .form-input-wrapper > input[type=checkbox]), .field .form-input-wrapper:has(> input[type=checkbox]) { display: flex; gap: 0.6rem; align-items: flex-start; }
.field-checkbox label, .checkboxes label { font-weight: 400; }
.field--services .checkboxes, .field--services .form-data > .checkboxes { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 0.55rem 0.6rem; align-items: center; }
@media (min-width: 600px) { .field--services .checkboxes { grid-template-columns: repeat(2, auto minmax(0, 1fr)); } }
.field--services label { font-weight: 400 !important; font-size: var(--fs-sm); cursor: pointer; display: block !important; }
.field--services input { margin: 0 !important; }
.field label.inline { display: inline !important; font-weight: 400; }
.form-errors, .field .form-errors { color: #a4161a; font-size: var(--fs-sm); font-weight: 700; }
.form-actions { margin-top: 0.5rem; display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; }
.form-actions .btn { width: 100%; }
.enquiry-panel .form-actions .btn { background: var(--ink); color: var(--paper); }
.form-honeybear, .hp-field { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; opacity: 0; }
.form-messages, .notices { margin-bottom: 1.25rem; }
.notices p, .form-messages p { margin: 0; padding: 0.9rem 1.1rem; background: var(--paper); border-left: 4px solid var(--ink); color: var(--ink); border-radius: var(--radius); }
.notices.red p, .form-messages .error p { border-left-color: #a4161a; }

/* ---------- Pricing cards (content markup; ported from v1) ---------- */
.price-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); gap: var(--col-gap); margin: 2.5rem 0; }
.price-card { display: flex; flex-direction: column; background: var(--paper); border-radius: var(--radius); border-top: 3px solid var(--ink); padding: 1.5rem; }
.price-card.is-featured { border-top-color: var(--gold); box-shadow: 0 0 0 2px var(--gold) inset; }
.price-card h3, .prose .price-card h3 { font-size: var(--fs-lg); margin: 0 0 0.5rem; }
.price-card .price { font-size: var(--fs-xl); font-weight: 900; letter-spacing: -0.03em; line-height: 1.1; color: var(--ink); margin-bottom: 1.25rem; }
.price-badge { font-size: var(--fs-sm); font-weight: 700; color: var(--gold-text); margin: 0 0 0.5rem; }
.price-card ul, .prose .price-card ul { list-style: none; padding: 0; margin: 0 0 1.5rem; font-size: var(--fs-sm); flex: 1; }
.prose .price-card li { margin: 0; padding: 0.45rem 0; border-top: 1px solid var(--ground); }
.price-card .btn { align-self: flex-start; }
.prose .contact-lines li { margin: 0; }
.portfolio-body ul:has(img) li, .portfolio-body ul:has(img) p { margin: 0; }

@media (max-width: 960px) {
  .hero-title, .hero-intro, .services-intro, .service-index, .faqs-title, .faqs-list, .enquiry-copy, .enquiry-fields,
  .section-head.grid-12 > h2, .section-head.grid-12 > .subhead { grid-column: 1 / -1; }
  .mosaic .tile--wide, .mosaic .tile--tall { grid-column: 1 / -1; }
  .mosaic .tile--tall .tile-media { aspect-ratio: 4 / 3; height: auto; }
  .mosaic .tile--std { grid-column: span 6; }
  .hero-more p { grid-column: 1 / -1; }
  .hero-more { row-gap: 1rem; }
  .reasons { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .clients-row { flex-direction: column; gap: 0.75rem; }
}
@media (max-width: 560px) {
  .mosaic { row-gap: 2rem; }
  .mosaic .tile--std .tile-caption { flex-direction: column; gap: 0.15rem; font-size: var(--fs-sm); }
  .mosaic .tile--std .tile-meta { text-align: left; }
  .reasons { grid-template-columns: 1fr; }
  .service-index { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ---------- Inner pages ---------- */
.page-title { padding-block: clamp(2.5rem, 5vw, 4.5rem) clamp(2rem, 4vw, 3.5rem); border-bottom: 1px solid var(--rule); }
.page-title h1 { max-width: 18ch; }
.page-title .lede { margin-top: 1.25rem; }
.page-title--error { border-bottom: 0; }
.breadcrumbs ol { list-style: none; margin: 0 0 1.5rem; padding: 0; display: flex; flex-wrap: wrap; gap: 0.25rem 0.5rem; font-size: var(--fs-sm); color: var(--muted); }
.breadcrumbs li + li::before { content: "/"; margin-right: 0.5rem; color: #a9a59d; }
.breadcrumbs a { color: var(--muted); text-decoration: none; }
.breadcrumbs a:hover { color: var(--ink); text-decoration: underline; }
.h2-small { font-size: clamp(1.875rem, 1.2rem + 2vw, 3rem); letter-spacing: -0.035em; }

.content-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--col-gap); row-gap: 3rem; padding-block: clamp(2.5rem, 5vw, 4.5rem) 0; }
.content-grid > .prose { grid-column: 1 / span 7; }
.content-grid > .aside { grid-column: 9 / span 4; }
.content-grid--form > .prose { grid-column: 1 / span 5; }
.content-grid--form > .form-panel { grid-column: 7 / span 6; }

.prose { font-size: var(--fs-md); line-height: 1.6; max-width: var(--measure); min-width: 0; }
.prose > :first-child { margin-top: 0; }
.prose h2 { font-size: clamp(1.75rem, 1.2rem + 1.6vw, 2.5rem); letter-spacing: -0.035em; line-height: 1.05; margin: 2.75rem 0 1rem; }
.prose h3 { font-size: var(--fs-xl); font-weight: 800; letter-spacing: -0.02em; margin: 2.25rem 0 0.75rem; }
.prose h4 { font-size: var(--fs-lg); font-weight: 700; margin: 1.75rem 0 0.5rem; }
.prose ul, .prose ol { padding-left: 1.25rem; margin: 0 0 1.25em; }
.prose li { margin-bottom: 0.4em; }
.prose li::marker { color: var(--gold-text); }
.prose a { color: var(--ink); text-decoration-color: var(--gold); text-decoration-thickness: 2px; }
.prose a:hover { color: var(--gold-text); }
.prose img { border-radius: var(--radius); margin-block: 1.5rem; }
.prose blockquote { margin: 2rem 0; padding-left: 1.5rem; border-left: 3px solid var(--gold); font-size: var(--fs-lg); color: var(--ink); }
.prose hr { border: 0; border-top: 1px solid var(--rule); margin: 2.5rem 0; }
.prose table { display: block; width: 100%; overflow-x: auto; border-collapse: collapse; margin: 1.5rem 0 2rem; font-size: var(--fs-base); }
.prose thead, .prose tbody, .prose tr { width: 100%; }
.prose th, .prose td { text-align: left; vertical-align: top; padding: 0.8rem 1rem 0.8rem 0; border-bottom: 1px solid var(--rule); min-width: 8rem; }
.prose th { color: var(--ink); font-weight: 700; border-bottom: 2px solid var(--ink); }
.prose-faqs { margin-top: 3rem; }
.prose .faq summary { font-size: var(--fs-lg); }

.aside { position: sticky; top: calc(var(--header-h) + 1.5rem); align-self: start; display: flex; flex-direction: column; gap: 1.5rem; }
.aside-card { background: var(--paper); border-radius: var(--radius); padding: 1.75rem; }
.aside-card h2 { font-size: var(--fs-xl); letter-spacing: -0.03em; margin-bottom: 0.5rem; }
.aside-card .btn { width: 100%; margin-top: 0.5rem; }
.aside-nav ul { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--rule); }
.aside-nav li { border-bottom: 1px solid var(--rule); }
.aside-nav a { display: block; padding: 0.7rem 0; text-decoration: none; color: var(--text); }
.aside-nav a:hover, .aside-nav a[aria-current="page"] { color: var(--ink); font-weight: 700; }

.form-panel { background: var(--paper); border-radius: var(--radius); padding: clamp(1.5rem, 3vw, 2.5rem); }
.form-panel .field-input { border-color: #c9c6bf; }
.contact-lines { list-style: none; padding: 0 !important; }
.child-pages, .related-work { margin-top: var(--section); }

@media (max-width: 960px) {
  .content-grid > .prose, .content-grid > .aside, .content-grid--form > .prose, .content-grid--form > .form-panel { grid-column: 1 / -1; }
  .aside { position: static; }
}
.prose a.btn { text-decoration: none; }
.prose a.btn-primary, .prose a.btn-primary:hover { color: var(--paper); }
.prose a.btn-ghost:hover { color: var(--paper); }
.prose a.btn-gold, .prose a.btn-gold:hover { color: var(--ink); }
.prose .subhead { margin: -0.4rem 0 1.25rem; font-size: var(--fs-base); font-weight: 500; color: var(--muted); max-width: none; }

/* ---------- Creations, case studies, blog ---------- */
.prose--intro { padding-top: clamp(2rem, 4vw, 3rem); }
.gallery { padding-top: clamp(2rem, 4vw, 3rem); }
.gallery-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); grid-auto-flow: dense; gap: 3rem var(--col-gap); }
.gallery-grid .tile--std { grid-column: span 4; }
.gallery-grid .tile--wide { grid-column: span 8; }
.gallery-grid .tile--wide .tile-media { aspect-ratio: auto; height: 100%; }
.gallery-grid .tile--wide { display: grid; grid-template-rows: 1fr auto; }
.project-tags { margin: 1.25rem 0 0; color: var(--muted); font-size: var(--fs-sm); max-width: 70ch; }
.project-lead { margin: clamp(2rem, 4vw, 3rem) auto 0; }
.project-lead img { width: 100%; border-radius: var(--radius); }
.project-nav { display: flex; justify-content: space-between; gap: 1.5rem; margin-top: var(--section); padding-top: 2rem; border-top: 1px solid var(--rule); }
.project-nav a { display: flex; flex-direction: column; gap: 0.25rem; text-decoration: none; max-width: 45%; }
.project-nav strong { font-size: var(--fs-xl); font-weight: 900; letter-spacing: -0.03em; line-height: 1.1; }
.project-nav a:hover strong { text-decoration: underline; text-decoration-color: var(--gold); text-decoration-thickness: 2px; }
.project-next { text-align: right; margin-left: auto; }
.portfolio-body img { width: 100%; }
.post-meta { margin: 1.25rem 0 0; }
.filter-list { display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem; margin-bottom: 2.5rem; font-size: var(--fs-sm); }
.filter-list a { text-decoration: none; color: var(--text); padding-block: 0.4rem; border-bottom: 2px solid transparent; }
.filter-list a:hover { color: var(--ink); border-bottom-color: var(--rule); }
.filter-list a[aria-current="page"] { color: var(--ink); font-weight: 700; border-bottom-color: var(--gold); }
.pagination { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; margin-top: 3.5rem; padding-top: 1.5rem; border-top: 1px solid var(--rule); color: var(--muted); }
@media (max-width: 960px) {
  .gallery-grid .tile--std { grid-column: span 6; }
  .gallery-grid .tile--wide { grid-column: 1 / -1; }
  .gallery-grid .tile--wide .tile-media { aspect-ratio: 16 / 10; height: auto; }
}
@media (max-width: 560px) {
  .gallery-grid { row-gap: 2rem; }
  .gallery-grid .tile--std .tile-caption { flex-direction: column; gap: 0.15rem; font-size: var(--fs-sm); }
  .gallery-grid .tile--std .tile-meta { text-align: left; }
  .project-nav { flex-direction: column; }
  .project-nav a { max-width: none; }
}
.portfolio-body ul:has(img) { list-style: none; padding-left: 0; display: grid; gap: 1.5rem; }
@media (max-width: 560px) { .tile-caption { flex-direction: column; gap: 0.15rem; } .tile-meta { text-align: left; } }
.sub a.mega-all { display: inline-block; padding-bottom: 0.2rem; color: var(--ink); }
.site-footer :focus-visible { outline-color: var(--gold); }
.enquiry-panel .form-errors, .enquiry-panel .field .form-errors { color: var(--ink); background: var(--paper); padding: 0.5rem 0.75rem; border-radius: var(--radius); }
.enquiry-contact { list-style: none; margin: 1.5rem 0 0; padding: 0; display: grid; gap: 0.35rem; }
.enquiry-contact a { font-weight: 700; }
.aside-phone { margin: 0.9rem 0 0; font-size: var(--fs-sm); color: var(--muted); }
.aside-phone a { color: var(--ink); font-weight: 700; }
address { font-style: normal; }

/* ---------- Marketing feedback: proof ---------- */
/* Small section labels (requested by the marketing team). */
.eyebrow { font-size: 0.8125rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); line-height: 1.4; margin: 0 0 1rem; }

.stats { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.5rem 3rem; margin-top: clamp(2rem, 4vw, 3rem); padding-top: 1.75rem; border-top: 1px solid var(--rule); }
.stats-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, max-content)); gap: 1rem clamp(2rem, 6vw, 5rem); }
.stats-list li { display: flex; flex-direction: column; gap: 0.25rem; }
.stat-value { font-size: clamp(2.5rem, 1.6rem + 3vw, 4.25rem); font-weight: 900; letter-spacing: -0.045em; line-height: 0.9; color: var(--ink); }
.stat-label { font-size: var(--fs-sm); font-weight: 600; color: var(--muted); max-width: 14ch; }
.partner-badge { height: 72px; width: auto; }
@media (max-width: 560px) { .stats-list { grid-template-columns: 1fr 1fr; } }

/* Browser-frame portfolio tiles: one consistent treatment for every project. */
.tile--framed .tile-media { background: #e5e2db; padding: clamp(0.75rem, 2.2vw, 1.75rem) clamp(0.75rem, 2.2vw, 1.75rem) 0; aspect-ratio: auto; display: flex; flex-direction: column; }
.tile--framed .frame-bar { display: flex; gap: 6px; align-items: center; height: 26px; padding: 0 12px; background: var(--paper); border-radius: 8px 8px 0 0; border-bottom: 1px solid #ece9e3; }
.tile--framed .frame-bar i { width: 9px; height: 9px; border-radius: 50%; background: #d4d0c8; }
.tile--framed .tile-media img { aspect-ratio: 16 / 10; height: auto; object-fit: cover; object-position: top center; background: var(--paper); box-shadow: 0 18px 40px -28px rgba(0, 0, 0, 0.45); }
.mosaic .tile--framed.tile--wide { grid-column: span 6; }
.mosaic .tile--framed.tile--std { grid-column: span 3; }
.mosaic .tile--framed.tile--std .frame-bar { height: 18px; padding: 0 8px; gap: 4px; }
.mosaic .tile--framed.tile--std .frame-bar i { width: 6px; height: 6px; }
.tile-caption { font-size: var(--fs-md); }
.tile-title { font-weight: 700; }
@media (max-width: 960px) { .mosaic .tile--framed.tile--wide { grid-column: 1 / -1; } .mosaic .tile--framed.tile--std { grid-column: span 6; } }

/* Client logo marquee: greyscale for a consistent row (approved by marketing). */
.clients { padding-block: 2.5rem; }
.clients-row { padding-block: 0; }
.marquee { display: flex; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee-track { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: clamp(2.5rem, 5vw, 4.5rem); padding-right: clamp(2.5rem, 5vw, 4.5rem); flex-shrink: 0; animation: marquee 40s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track img { height: 64px; width: auto; filter: grayscale(1) contrast(1.1); mix-blend-mode: multiply; opacity: 0.85; }
.marquee-track span { font-weight: 700; white-space: nowrap; }
@keyframes marquee { to { transform: translateX(-100%); } }
@media (prefers-reduced-motion: reduce) {
  .marquee { -webkit-mask-image: none; mask-image: none; flex-wrap: wrap; justify-content: center; padding-inline: var(--gutter); }
  .marquee-track { flex-wrap: wrap; justify-content: center; padding-right: 0; }
  .marquee-track[aria-hidden="true"] { display: none; }
}

/* Testimonials band. */
.quote-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 3rem var(--col-gap); }
.quote { margin: 0; grid-column: span 6; display: flex; flex-direction: column; gap: 1.25rem; padding-top: 1.5rem; border-top: 1px solid var(--rule); }
.quote blockquote { margin: 0; }
.quote p { margin: 0; font-size: var(--fs-lg); line-height: 1.5; color: var(--ink); }
.quote--lead { grid-column: 1 / -1; border-top: 0; padding-top: 0; }
.quote--lead p { font-size: clamp(1.625rem, 1.1rem + 1.8vw, 2.75rem); font-weight: 700; line-height: 1.2; letter-spacing: -0.025em; max-width: 34ch; }
.quote figcaption { font-size: var(--fs-sm); font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; }
.quote figcaption a { text-decoration: none; color: var(--muted); }
.quote figcaption a:hover { color: var(--ink); }
@media (max-width: 960px) { .quote { grid-column: 1 / -1; } }
/* White band so the logos' own white backgrounds disappear. */
.clients { background: var(--paper); border-block-color: #e6e3dd; }
.marquee-track img { mix-blend-mode: normal; opacity: 1; filter: grayscale(1) contrast(1.15); }

/* ---------- Design critique: type scale, rhythm, components ---------- */
:root {
  --fs-md: clamp(1.1875rem, 1.05rem + 0.55vw, 1.5rem);   /* lead paragraphs */
  --fs-lg: clamp(1.25rem, 1.1rem + 0.45vw, 1.5rem);      /* card / row headings */
  --section: clamp(4.5rem, 9vw, 9rem);
}
.nav-top { font-size: 1rem; font-weight: 600; }
.btn { transition: background-color 0.15s, color 0.15s, border-color 0.15s, transform 0.15s; }
.btn:active { transform: translateY(1px); }
.link-underline { background: linear-gradient(var(--ink), var(--ink)) left bottom / 0 2px no-repeat; transition: background-size 0.25s ease; }
.link-underline:hover { background-size: 100% 2px; border-bottom-color: var(--gold); }
.tile:hover .tile-media img { transform: scale(1.03); }
.tile--framed .tile-media { overflow: hidden; }

.hero-title { letter-spacing: -0.05em; line-height: 0.88; }
.hero-line { display: inline-block; }
.js .hero-line { animation: rise 0.7s cubic-bezier(.2, .7, .2, 1) both; }
.js .hero-line:nth-child(3) { animation-delay: 0.12s; }
@keyframes rise { from { opacity: 0; transform: translateY(0.35em); } }

.statement { font-size: var(--fs-md); font-weight: 500; line-height: 1.45; color: var(--ink); }

/* Services: numbered editorial rows. */
.services .grid-12 { align-items: start; }
.services-intro { grid-column: 1 / span 4; position: sticky; top: calc(var(--header-h) + 2rem); }
.service-rows { grid-column: 6 / span 7; list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--ink); }
.service-rows li { border-bottom: 1px solid var(--rule); }
.service-row { display: grid; grid-template-columns: 3.5rem minmax(0, 1fr) 2rem; gap: 1.25rem; align-items: start; padding: 1.75rem 0; text-decoration: none; color: var(--ink); }
.service-num { font-size: var(--fs-sm); font-weight: 700; color: var(--muted); padding-top: 0.55rem; font-variant-numeric: tabular-nums; }
.service-body h3 { font-size: clamp(1.625rem, 1.2rem + 1.4vw, 2.5rem); font-weight: 900; letter-spacing: -0.035em; line-height: 1.05; margin-bottom: 0.6rem; }
.service-summary { margin: 0; color: var(--text); max-width: 55ch; }
.service-arrow { width: 28px; height: 28px; margin-top: 0.55rem; transition: transform 0.2s ease; }
.service-row:hover .service-arrow { transform: translateX(6px); }
.service-row:hover h3 { text-decoration: underline; text-decoration-color: var(--gold); text-decoration-thickness: 3px; text-underline-offset: 0.15em; }

/* Why choose: inverted section with numerals. */
.why--inverted { background: var(--ink); color: #d9d6cf; border: 0; }
.why--inverted h2, .why--inverted h3 { color: var(--paper); }
.why--inverted .eyebrow, .why--inverted .subhead { color: #b9b5ad; }
.why--inverted .section-head.grid-12 > .why-title-col { grid-column: span 6; }
.why--inverted .reasons li { border-top-color: #3a3935; }
.reason-num { display: block; font-size: clamp(2.5rem, 1.8rem + 2vw, 3.75rem); font-weight: 900; letter-spacing: -0.04em; line-height: 1; color: var(--gold); margin-bottom: 1rem; }
.why--inverted .reasons h3 { font-size: var(--fs-xl); }
.why--inverted .reasons p { color: #cfcbc3; font-size: var(--fs-base); }
.why--inverted :focus-visible { outline-color: var(--gold); }
.recent-posts.section--rule { border-top: 0; }
.faqs-title { grid-column: span 5; }
.faqs-title h2 { font-size: clamp(1.875rem, 1.2rem + 2vw, 3rem); letter-spacing: -0.035em; line-height: 1.05; }

/* Scroll reveals: only hidden once JS confirms it will reveal them. */
.js.reveal-on [data-reveal] { opacity: 0; transform: translateY(20px); transition: opacity 0.4s ease, transform 0.4s ease; }
.js.reveal-on [data-reveal].is-visible { opacity: 1; transform: none; }

@media (max-width: 960px) {
  .services-intro, .service-rows { grid-column: 1 / -1; position: static; }
  .why--inverted .section-head.grid-12 > .why-title-col { grid-column: 1 / -1; }
  .faqs-title { grid-column: 1 / -1; }
}
@media (max-width: 560px) { .service-row { grid-template-columns: 2.25rem minmax(0, 1fr) 1.5rem; gap: 0.75rem; } }
@media (prefers-reduced-motion: reduce) { .js .hero-line { animation: none; } .js.reveal-on [data-reveal] { opacity: 1; transform: none; } }
.mosaic .tile--framed.tile--std .tile-caption, .gallery-grid .tile--framed .tile-caption { flex-direction: column; gap: 0.15rem; } .mosaic .tile--framed.tile--std .tile-meta { text-align: left; }
@media (max-width: 560px) { .stats-list { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; } .stat-value { font-size: 2.125rem; } .stat-label { font-size: 0.8125rem; } }

/* ---------- Service pages: asymmetric grid ---------- */
.title-cta { margin-top: 1.75rem; }
.page-title h1 { max-width: 20ch; }
.svc-section { padding-block: clamp(2.5rem, 5vw, 4.5rem); border-top: 1px solid var(--rule); }
.svc-section:first-child { border-top: 0; }
.svc-section .grid-12 { align-items: start; row-gap: 1.25rem; }
.svc-head { grid-column: 1 / span 4; position: sticky; top: calc(var(--header-h) + 1.5rem); }
.svc-head h2 { font-size: clamp(1.75rem, 1.2rem + 1.6vw, 2.75rem); letter-spacing: -0.035em; line-height: 1.05; margin: 0; }
.svc-body { grid-column: 6 / span 7; max-width: 65ch; }
.svc-section--intro .svc-body { grid-column: 1 / span 8; font-size: var(--fs-md); max-width: 60ch; }
.svc-body > :first-child { margin-top: 0; }
.svc-body .subhead { margin-top: 0; }
/* In-copy testimonials become a design moment. */
.svc-body blockquote, .prose blockquote { border-left: 0; padding: 0; margin: 2.5rem 0; font-size: clamp(1.375rem, 1.1rem + 1vw, 2rem); font-weight: 700; line-height: 1.3; letter-spacing: -0.02em; color: var(--ink); }
.svc-body blockquote p, .prose blockquote p { margin: 0 0 1rem; }
.svc-body blockquote cite, .prose blockquote cite { display: block; font-size: var(--fs-sm); font-weight: 700; font-style: normal; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
.related-work .tile-grid--4 .tile-caption { flex-direction: column; gap: 0.15rem; }
@media (max-width: 960px) { .svc-head, .svc-body, .svc-section--intro .svc-body { grid-column: 1 / -1; position: static; } }
.gallery-grid .tile--framed.tile--std { grid-column: span 4; }
@media (max-width: 960px) { .gallery-grid .tile--framed.tile--std { grid-column: span 6; } }
@media (max-width: 560px) { .gallery-grid .tile--framed.tile--std { grid-column: 1 / -1; } }
.gallery-grid .tile-caption { font-size: var(--fs-base); }
.footer-positioning { color: var(--paper); font-size: var(--fs-base); line-height: 1.45; max-width: 36ch; margin: 0 0 1.25rem; }

/* ---------- Client results (shown only when real figures are entered) ---------- */
.results-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(12rem, 1fr)); gap: 1.5rem var(--col-gap); }
.results-list li { display: flex; flex-direction: column; gap: 0.25rem; border-top: 2px solid var(--ink); padding-top: 1rem; }
.result-value { font-size: clamp(2.25rem, 1.6rem + 2.4vw, 3.75rem); font-weight: 900; letter-spacing: -0.045em; line-height: 0.95; color: var(--ink); }
.result-label { font-weight: 700; color: var(--ink); }
.result-period { font-size: var(--fs-sm); color: var(--muted); }
.project-results { margin-top: clamp(2rem, 4vw, 3rem); }
.results-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--col-gap); margin-top: 2rem; }
.result-card { display: flex; flex-direction: column; gap: 1.25rem; padding: 1.75rem; background: var(--paper); border-radius: var(--radius); text-decoration: none; color: var(--ink); }
.result-card:hover .result-client { text-decoration: underline; text-decoration-color: var(--gold); text-decoration-thickness: 2px; }
.result-client { font-weight: 800; font-size: var(--fs-lg); }
.result-card .results-list { grid-template-columns: 1fr; }
.tile-result { display: block; font-size: var(--fs-sm); color: var(--ink); margin-top: -0.4rem; }
.tile-result strong { font-weight: 900; }
@media (max-width: 960px) { .results-grid { grid-template-columns: 1fr; } }

/* ---------- Sitewide inner pages (spec 2026-10-02) ---------- */
/* C1 split hero */
.page-title--split .page-title-grid { align-items: end; row-gap: 1.5rem; }
.page-title--split h1 { grid-column: span 7; max-width: none; }
.page-title-side { grid-column: 9 / span 4; padding-bottom: 0.5rem; }
.page-title-side .lede { margin: 0; font-size: var(--fs-md); }
.page-title-side .lede p { margin: 0 0 1rem; }
.page-title-side .title-cta { margin-top: 1.25rem; }
.page-title + .wrap .stats { margin-top: clamp(2rem, 4vw, 3rem); border-top: 0; padding-top: 0; }
@media (max-width: 960px) { .page-title--split h1, .page-title-side { grid-column: 1 / -1; } }

/* C4 numbered rows inside a section */
.comp-rows { list-style: none; margin: 1.5rem 0 1.75rem; padding: 0; border-top: 2px solid var(--ink); }
.comp-rows li { border-bottom: 1px solid var(--rule); margin: 0 !important; }
.comp-row { display: grid; grid-template-columns: 3rem minmax(0, 1fr) 2rem; gap: 1.25rem; align-items: start; padding: 1.4rem 0; text-decoration: none; color: var(--ink); }
div.comp-row { grid-template-columns: 3rem minmax(0, 1fr); }
.row-num { font-size: var(--fs-sm); font-weight: 700; color: var(--gold-text); padding-top: 0.3rem; font-variant-numeric: tabular-nums; }
.row-title { font-size: var(--fs-lg) !important; font-weight: 800; letter-spacing: -0.02em; margin: 0 0 0.35rem !important; line-height: 1.2; }
.row-text { display: block; color: var(--text); font-size: var(--fs-base); line-height: 1.55; }
.row-text p { margin: 0; }
.row-arrow { width: 24px; height: 24px; margin-top: 0.3rem; transition: transform 0.2s ease; }
a.comp-row:hover .row-arrow { transform: translateX(6px); }
a.comp-row:hover .row-title { text-decoration: underline; text-decoration-color: var(--gold); text-decoration-thickness: 2px; }
.svc-body .comp-rows a { text-decoration: none; }
@media (max-width: 560px) { .comp-row { grid-template-columns: 2.25rem minmax(0, 1fr) 1.5rem; gap: 0.75rem; } div.comp-row { grid-template-columns: 2.25rem minmax(0, 1fr); } }

/* C5 black grid extras */
.black-intro { grid-column: 8 / span 5; align-self: end; color: var(--gold); font-size: var(--fs-md); line-height: 1.45; }
.black-intro p { margin: 0 0 0.75rem; }
.black-intro a, .black-after a:not(.btn) { color: var(--paper); }
.black-after { margin-top: 3rem; }
.why--inverted .btn-ghost { color: var(--paper); border-color: var(--paper); }
.why--inverted .btn-ghost:hover { background: var(--paper); color: var(--ink); }
.why--inverted .btn-primary { background: var(--gold); color: var(--ink); }
.reason-body p { margin: 0 0 0.6rem; color: #cfcbc3; }
.reason-body a { color: var(--paper); }
@media (max-width: 960px) { .black-intro { grid-column: 1 / -1; } }

/* C12 timeline */
.comp-timeline { list-style: none; margin: 2rem 0 0; padding: 0 0 0 1.75rem; border-left: 2px solid var(--ink); display: grid; gap: 2.5rem; }
.comp-timeline li { position: relative; margin: 0 !important; }
.comp-timeline li::before { content: ""; position: absolute; left: calc(-1.75rem - 7px); top: 0.7rem; width: 12px; height: 12px; border-radius: 50%; background: var(--gold); }
.tl-year { font-size: clamp(1.75rem, 1.2rem + 1.6vw, 2.75rem) !important; font-weight: 900; letter-spacing: -0.04em; margin: 0 0 0.5rem !important; color: var(--ink); }
.tl-body img { border-radius: var(--radius); max-width: min(100%, 520px); }

/* C14 logo grid */
.comp-logos { list-style: none; margin: 1.5rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 1px; background: var(--rule); border: 1px solid var(--rule); }
.comp-logos li { background: var(--paper); display: flex; align-items: center; justify-content: center; padding: 1.5rem; min-height: 120px; }
.comp-logos img { max-height: 72px; width: auto; filter: grayscale(1) contrast(1.15); margin: 0; }
.comp-logos a:hover img { filter: none; }

/* C6 extras */
.quotes-intro { font-size: var(--fs-md); color: var(--text); max-width: 55ch; margin: 0 0 2rem; }
.quote-label { font-size: 0.8125rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold-text); }
.quote-link { align-self: flex-start; font-size: var(--fs-sm); }
.comp-quotes .quote--lead p { max-width: 38ch; }

/* Section helpers */
.cta-lead { font-size: var(--fs-md); font-weight: 800; color: var(--ink); letter-spacing: -0.01em; margin: 2rem 0 0.75rem; }
.comp-wide .svc-head { grid-column: 1 / -1; position: static; }
.comp-wide .svc-body { grid-column: 1 / -1; max-width: none; }
.svc-body .faq { margin: 1.5rem 0; }
.svc > .svc-section:first-child { border-top: 0; }

/* Legal / article / case study columns */
.legal-body, .article-wrap { padding-top: clamp(2.5rem, 5vw, 4rem); }
.legal-body .prose, .article-body { max-width: 68ch; }
.article-body > p:first-of-type { font-size: var(--fs-md); color: var(--ink); }
.article-body img { width: 100%; }
.page-title .eyebrow a { color: var(--muted); text-decoration: none; }
.page-title .eyebrow a:hover { color: var(--ink); }
.case-body { padding-top: clamp(2.5rem, 5vw, 4rem); }
.case-body .portfolio-body { grid-column: 1 / span 8; max-width: none; }
.portfolio-body > ul:not(:has(img)) { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 var(--col-gap); border-top: 2px solid var(--ink); }
.portfolio-body > ul:not(:has(img)) li { border-bottom: 1px solid var(--rule); padding: 0.75rem 0; margin: 0; font-weight: 600; }
.portfolio-body ul:has(img) { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.portfolio-body ul:has(img) img { background: #e5e2db; padding: clamp(0.5rem, 1.5vw, 1rem); border-radius: var(--radius); margin: 0; }
@media (max-width: 960px) { .case-body .portfolio-body { grid-column: 1 / -1; } .portfolio-body ul:has(img), .portfolio-body > ul:not(:has(img)) { grid-template-columns: 1fr; } }
.svc-body img { max-width: min(100%, 560px); border-radius: var(--radius); } .comp-quotes .h2-small { margin-bottom: 1rem; }
.prose .comp-rows, .prose .comp-timeline, .prose .comp-logos { padding-left: 0; } .prose .comp-timeline { padding-left: 1.75rem; } .prose .comp-rows li::marker { content: none; }
