/* ============================================================
   HAUSBRAND — main.css
   Newsreader (headlines) · Karla (eyebrows/nav) · Raleway (body)
   Ported from the Showit design.
   ============================================================ */

:root {
  /* Sampled from the live Showit design at hausbrand.showitpreview.com.
     The whole site is three colours: white, --ink, and --brand. No cream. */
  --ink: #343233;          /* body text AND every dark band */
  --brand: #d54d39;
  --brand-foreground: #ffffff;
  --background: #ffffff;
  --hairline: #d7d7d7;
  --logo-grey: #474847;

  --shell: 1600px;
  --gutter: 24px;
  --gutter-lg: 40px;
  --nav-h: 88px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Raleway', system-ui, -apple-system, sans-serif;
  font-size: 18px;
  font-weight: 300;
  line-height: 1.8;
  color: var(--ink);
  background: var(--background);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img, video { display: block; max-width: 100%; }
button { font-family: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
ul, ol { list-style: none; }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; }

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 999;
  background: var(--ink); color: #fff; padding: 12px 20px; font-size: 14px;
}
.skip-link:focus { left: 12px; top: 12px; }

/* ── Type primitives ────────────────────────────────────── */
.display {
  /* Newsreader carries an optical-size axis; Showit uses its Display cut. */
  font-family: 'Newsreader', Georgia, 'Times New Roman', serif;
  font-variation-settings: 'opsz' 72;
  font-weight: 200;
  letter-spacing: normal;
  line-height: 1.1;
}
.eyebrow {
  font-family: 'Karla', system-ui, sans-serif;
  font-size: 0.85rem;
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  line-height: 1.4;
}
.italic { font-style: italic; }
.lower { text-transform: lowercase; }

/* ── Layout ─────────────────────────────────────────────── */
.shell { max-width: var(--shell); margin: 0 auto; }
.section { padding: 112px var(--gutter); }
.section--tight { padding: 96px var(--gutter); }
.section--tall { padding: 128px var(--gutter); }
@media (min-width: 1024px) {
  .section { padding: 160px var(--gutter-lg); }
  .section--tight { padding: 128px var(--gutter-lg); }
  .section--tall { padding: 192px var(--gutter-lg); }
}

.s-light { background: var(--background); color: var(--ink); }
.s-cream { background: var(--background); color: var(--ink); }
.s-dark  { background: var(--ink); color: #fff; }
.s-slate { background: var(--ink); color: #fff; }
.s-slate .lede { color: rgba(255, 255, 255, 0.75); }

.sec-head { max-width: 18ch; }
.sec-title {
  font-size: clamp(2.4rem, 4.6vw, 4.25rem);
  margin-top: 28px;
}
.sec-title--wide { max-width: none; }
.lede { max-width: 52ch; font-size: 1.05rem; line-height: 1.85; font-weight: 300; }
.s-light .lede, .s-cream .lede { color: rgba(52, 50, 51, 0.75); }
.s-dark .lede { color: rgba(255, 255, 255, 0.75); }
.stack > * + * { margin-top: 24px; }
.text-brand { color: var(--brand); }

/* ── Buttons + links ────────────────────────────────────── */
.btn {
  display: inline-block;
  padding: 20px 40px;
  transition: transform 0.3s var(--ease), background-color 0.3s, color 0.3s, border-color 0.3s;
}
.btn--solid { background: var(--brand); color: var(--brand-foreground); }
.btn--solid:hover { transform: translateY(-2px); }
.btn--ghost { border: 1px solid rgba(255, 255, 255, 0.45); color: #fff; }
.btn--ghost:hover { background: rgba(255, 255, 255, 0.1); }
.btn--outline { border: 1px solid var(--brand); color: var(--brand); padding: 14px 32px; }
.btn--outline:hover { background: var(--brand); color: var(--brand-foreground); }

.link-rule {
  display: inline-block;
  border-bottom: 1px solid var(--brand);
  padding-bottom: 8px;
  color: var(--brand);
  transition: opacity 0.3s;
}
.link-rule:hover { opacity: 0.75; }

.arrow-link {
  display: inline-flex; align-items: center; gap: 12px;
  transition: color 0.3s;
}
.arrow-link .arrow { transition: transform 0.3s var(--ease); }
.arrow-link:hover { color: var(--brand); }
.arrow-link:hover .arrow { transform: translateX(4px); }

/* ── Nav ────────────────────────────────────────────────── */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  background: var(--background);
  transition: box-shadow 0.3s;
}
.nav.scrolled { box-shadow: 0 1px 0 0 var(--hairline); }
.nav-inner {
  max-width: var(--shell); margin: 0 auto;
  height: var(--nav-h);
  padding: 0 var(--gutter);
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
@media (min-width: 1024px) { .nav-inner { padding: 0 var(--gutter-lg); } }
.nav-logo { display: flex; align-items: center; flex-shrink: 0; }
/* The lockup is 659 × 80, so height drives the width. */
.nav-logo img { height: 26px; width: auto; transition: opacity 0.3s; }
@media (min-width: 640px) { .nav-logo img { height: 30px; } }
.nav-logo:hover img { opacity: 0.8; }
.nav-links { display: none; align-items: center; gap: 40px; }
@media (min-width: 1024px) { .nav-links { display: flex; } }
.nav-links a { color: rgba(52, 50, 51, 0.8); transition: color 0.3s; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--brand); }
.nav-burger {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px;
  width: 40px; height: 40px;
}
@media (min-width: 1024px) { .nav-burger { display: none; } }
.nav-burger span {
  display: block; height: 1px; width: 24px; background: var(--ink);
  transition: transform 0.3s var(--ease), opacity 0.3s;
}
.nav-burger.open span:nth-child(1) { transform: translateY(3.5px) rotate(45deg); }
.nav-burger.open span:nth-child(2) { transform: translateY(-3.5px) rotate(-45deg); }

.mobile-sheet {
  display: none;
  border-top: 1px solid var(--hairline);
  background: var(--background);
  padding: 16px var(--gutter) 24px;
}
.mobile-sheet.open { display: block; }
@media (min-width: 1024px) { .mobile-sheet, .mobile-sheet.open { display: none; } }
.mobile-sheet a { display: block; padding: 12px 0; color: rgba(52, 50, 51, 0.8); }
.mobile-sheet .btn--outline { margin-top: 12px; text-align: center; }

/* ── Footer ─────────────────────────────────────────────── */
.footer { background: var(--ink); color: #fff; padding: 80px var(--gutter) 56px; }
@media (min-width: 1024px) { .footer { padding: 80px var(--gutter-lg) 56px; } }
.footer-top {
  display: grid; gap: 48px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 56px;
}
@media (min-width: 1024px) {
  .footer-top { grid-template-columns: minmax(0, 1fr) auto; gap: 96px; }
}
.footer-mark { display: flex; align-items: center; }
.footer-mark img { height: 32px; width: auto; max-width: 100%; }
.footer-tagline {
  margin-top: 24px; max-width: 20ch;
  font-size: 1.8rem; color: rgba(255, 255, 255, 0.85); font-style: italic;
}
.footer-contact { margin-top: 36px; font-style: normal; font-size: 0.95rem; font-weight: 300; }
.footer-contact > * + * { margin-top: 12px; }
.footer-contact a { color: rgba(255, 255, 255, 0.7); transition: color 0.3s; }
.footer-contact a:hover { color: var(--brand); }
.footer-loc { max-width: 34ch; color: rgba(255, 255, 255, 0.55); }
.footer-nav {
  display: grid; grid-template-columns: repeat(2, auto); gap: 16px 56px;
  align-self: start;
}
@media (min-width: 640px) { .footer-nav { grid-template-columns: repeat(3, auto); } }
@media (min-width: 1024px) { .footer-nav { grid-template-columns: repeat(2, auto); } }
.footer-nav a { color: rgba(255, 255, 255, 0.65); transition: color 0.3s; }
.footer-nav a:hover { color: var(--brand); }
.footer-bottom {
  margin-top: 64px; padding-top: 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px;
}
.footer-bottom p { font-size: 0.8rem; font-weight: 300; color: rgba(255, 255, 255, 0.45); }

/* ── Hero (home) ────────────────────────────────────────── */
.hero {
  position: relative; isolate: isolate;
  min-height: 100svh; overflow: hidden; background: var(--ink);
}
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-bg img { height: 100%; width: 100%; object-fit: cover; }
.hero-bg::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(to right, rgba(0,0,0,.7), rgba(0,0,0,.4) 50%, rgba(0,0,0,.1));
}
.hero-inner {
  position: relative; z-index: 1;
  max-width: var(--shell); margin: 0 auto;
  min-height: 100svh;
  display: flex; flex-direction: column; justify-content: center;
  padding: calc(var(--nav-h) + 24px) var(--gutter) 80px;
}
@media (min-width: 1024px) { .hero-inner { padding-left: var(--gutter-lg); padding-right: var(--gutter-lg); } }
.hero h1 {
  max-width: 16ch;
  font-size: clamp(3rem, 8.2vw, 7.5rem);
  color: #fff;
}
.hero h1 .line-mask { display: block; overflow: hidden; padding-bottom: 0.06em; }
.hero h1 .line {
  display: block;
  transform: translateY(110%); opacity: 0;
  animation: line-rise 1.1s var(--ease) forwards;
}
.hero h1 .line-mask:nth-child(1) .line { animation-delay: 0.15s; }
.hero h1 .line-mask:nth-child(2) .line { animation-delay: 0.26s; }
.hero h1 .line-mask:nth-child(3) .line { animation-delay: 0.37s; }
.hero h1 .line-mask:nth-child(4) .line { animation-delay: 0.48s; }
@keyframes line-rise { to { transform: translateY(0); opacity: 1; } }

.hero-lede {
  margin-top: 40px; max-width: 46ch;
  font-size: 1.05rem; line-height: 1.75; font-weight: 300;
  color: rgba(255, 255, 255, 0.85);
  opacity: 0; animation: soft-rise 0.9s var(--ease) 0.7s forwards;
}
.hero-actions {
  margin-top: 44px; display: flex; flex-wrap: wrap; gap: 16px;
  opacity: 0; animation: soft-rise 0.9s var(--ease) 0.86s forwards;
}
@keyframes soft-rise { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: none; } }

/* ── Page hero (inner pages) ────────────────────────────── */
.page-hero {
  background: var(--ink); color: #fff;
  padding: calc(var(--nav-h) + 80px) var(--gutter) 96px;
}
@media (min-width: 1024px) {
  .page-hero { padding: calc(var(--nav-h) + 128px) var(--gutter-lg) 144px; }
}
.page-hero h1 {
  margin-top: 28px; max-width: 18ch;
  font-size: clamp(2.8rem, 6.4vw, 5.5rem);
}
.page-hero .lede { margin-top: 36px; }

/* ── Two-column media + text ────────────────────────────── */
.split { display: grid; gap: 56px; align-items: center; }
@media (min-width: 1024px) { .split { grid-template-columns: 1fr 1fr; gap: 96px; } }
.split--narrow-left { }
@media (min-width: 1024px) {
  .split--narrow-left { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); }
}
.framed { position: relative; }
.framed img { position: relative; width: 100%; object-fit: cover; }
.framed::before {
  content: ''; position: absolute; top: -24px; left: -24px;
  width: 100%; height: 100%; border: 1px solid rgba(255, 255, 255, 0.12);
  display: none;
}
.framed--br::before { top: auto; left: auto; right: -24px; bottom: -24px; border-color: var(--hairline); }
@media (min-width: 1024px) { .framed::before { display: block; } }

/* ── Quote cards (Problem) ──────────────────────────────── */
.quote-grid { margin-top: 80px; display: grid; gap: 24px; }
@media (min-width: 768px) { .quote-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1024px) { .quote-grid { margin-top: 112px; } }
.quote-card {
  display: flex; flex-direction: column; justify-content: space-between; height: 100%;
  border-top: 2px solid var(--brand);
  background: var(--background);
  padding: 36px;
}
@media (min-width: 1024px) { .quote-card { padding: 44px; } }
.quote-card blockquote { font-size: 1.7rem; line-height: 1.25; color: var(--ink); }
.quote-card p { margin-top: 32px; font-size: 0.95rem; line-height: 1.8; font-weight: 300; color: rgba(52, 50, 51,.7); }

/* ── Hairline grids (pillars / stats / work) ────────────── */
.rule-grid { display: grid; gap: 1px; background: rgba(255, 255, 255, 0.12); }
.rule-grid--light { background: var(--hairline); }
.rule-grid > * { background: var(--ink); }
.rule-grid--light > * { background: var(--background); }
@media (min-width: 768px) {
  .rule-grid--2 { grid-template-columns: repeat(2, 1fr); }
  .rule-grid--3 { grid-template-columns: repeat(3, 1fr); }
}

.pillar { display: flex; flex-direction: column; height: 100%; padding: 40px; }
@media (min-width: 1024px) { .pillar { padding: 56px; } }
.pillar h3 {
  margin-top: 24px;
  font-size: clamp(1.9rem, 2.6vw, 2.75rem);
  text-transform: uppercase; color: #fff;
}
.pillar ul { margin-top: 28px; }
.pillar ul li { font-size: 0.95rem; font-weight: 300; color: rgba(255,255,255,.6); }
.pillar ul li + li { margin-top: 8px; }
.pillar-body { margin-top: 32px; flex: 1; font-size: 0.98rem; line-height: 1.85; font-weight: 300; color: rgba(255,255,255,.75); }
.pillar .link-rule { margin-top: 40px; align-self: flex-start; }


/* ── Full-bleed image section, copy held to the left ─────── */
.bleed { position: relative; isolation: isolate; overflow: hidden; background: var(--ink); }
.bleed-img {
  position: absolute; inset: 0; z-index: -2;
  width: 100%; height: 100%; object-fit: cover;
}
/* Keeps the left-hand copy legible without flattening the image on the right. */
.bleed::before {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(100deg, rgba(6,6,6,.88) 0%, rgba(6,6,6,.80) 34%, rgba(6,6,6,.40) 64%, rgba(6,6,6,.05) 100%);
}
.bleed-inner { padding: 120px var(--gutter) 128px; }
@media (min-width: 1024px) { .bleed-inner { padding: 176px var(--gutter-lg) 184px; } }
.bleed-copy { max-width: 100%; }
@media (min-width: 900px) { .bleed-copy { max-width: 56%; } }
.bleed-title { margin-top: 32px; font-size: clamp(2.4rem, 4.4vw, 4rem); }
.bleed-title .line { display: block; }
.bleed-body { margin-top: 56px; max-width: 46ch; }
.bleed-body p { font-size: 1.02rem; line-height: 1.85; font-weight: 300; color: rgba(255,255,255,.82); }
.bleed-body p + p { margin-top: 32px; }

/* ── What we do ─────────────────────────────────────────── */
.wwd-intro { margin-top: 56px; max-width: 46rem; }
.wwd-intro p {
  font-size: clamp(1.2rem, 2vw, 1.75rem);
  line-height: 1.5; font-weight: 300; letter-spacing: -0.01em;
  color: rgba(255, 255, 255, 0.92);
}
.wwd-intro p + p { margin-top: 28px; }
@media (min-width: 1024px) { .wwd-intro { max-width: 78rem; } }

.pillar-grid { margin-top: 96px; display: grid; gap: 40px; }
@media (min-width: 860px) { .pillar-grid { grid-template-columns: repeat(3, 1fr); } }
.pillar-col { display: flex; flex-direction: column; }
.pillar-label { text-align: center; color: rgba(255, 255, 255, 0.75); }
.pillar-card {
  display: flex; flex-direction: column; flex: 1;
  margin-top: 28px; padding: 48px 32px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  text-align: center;
  transition: border-color 0.4s, background-color 0.4s, transform 0.4s var(--ease);
}
.pillar-card:hover {
  border-color: rgba(255, 255, 255, 0.55);
  background: rgba(255, 255, 255, 0.04);
  transform: translateY(-4px);
}
.pillar-title {
  font-family: 'Karla', system-ui, sans-serif;
  font-size: 1.25rem; font-weight: 400;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: #fff;
}
.pillar-card .pillar-body {
  margin-top: 28px; flex: 1;
  font-size: 0.95rem; line-height: 1.8; font-weight: 300;
  color: rgba(255, 255, 255, 0.78);
}
.pillar-items {
  margin-top: 32px;
  font-size: 0.85rem; font-weight: 300; line-height: 1.7;
  color: rgba(255, 255, 255, 0.55);
}


/* ── Showit-ported treatments ───────────────────────────── */
.hero-title { max-width: 16ch; font-size: clamp(2.9rem, 6.4vw, 5.4rem); color: #fff; }

/* Intro band — stacked statement groups on the dark ground */
.intro-band { max-width: 74rem; }
.intro-group + .intro-group { margin-top: 28px; }
.intro-group p {
  font-size: clamp(1.05rem, 1.5vw, 1.3rem);
  line-height: 1.65; font-weight: 300; color: rgba(255, 255, 255, 0.9);
}

/* Problem — italic serif quote left, sans body right */
.quote-rows { margin-top: 72px; }
.quote-row {
  display: grid; gap: 16px;
  border-top: 1px solid var(--hairline);
  padding: 36px 0;
}
@media (min-width: 900px) {
  .quote-rows { margin-top: 96px; }
  .quote-row { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 64px; padding: 48px 0; }
}
.quote-row:last-child { border-bottom: 1px solid var(--hairline); }
.quote-mark {
  font-style: italic; font-weight: 300;
  font-size: clamp(1.2rem, 1.9vw, 1.5rem); line-height: 1.35;
  color: var(--brand);
}
.quote-body { font-size: 1rem; line-height: 1.85; font-weight: 300; color: rgba(52, 50, 51, 0.8); }

.bleed--short .bleed-inner { padding-block: 128px; }
.bleed-inner--centred { display: flex; flex-direction: column; align-items: flex-start; }

.pillar-link { display: block; margin-top: 28px; color: var(--brand); }

.stat-grid { display: grid; gap: 56px; }
@media (min-width: 860px) { .stat-grid { grid-template-columns: repeat(2, 1fr); gap: 80px; } }
.stat { padding: 0; }

/* FAQ questions are serif italic in the Showit design */
.faq summary.display {
  font-style: italic; font-weight: 300;
  font-size: clamp(1.15rem, 1.7vw, 1.45rem);
}

/* ── Process ────────────────────────────────────────────── */
.phase {
  display: grid; gap: 24px;
  border-top: 1px solid var(--hairline);
  padding: 48px 0;
}
@media (min-width: 1024px) {
  .phase { grid-template-columns: 120px minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 56px; padding: 64px 0; }
}
.phase-n { font-size: 2.6rem; line-height: 1; color: var(--brand); }
.phase h3 { font-size: 1.35rem; line-height: 1.35; font-weight: 500; }
.phase p { font-size: 1rem; line-height: 1.9; font-weight: 300; color: rgba(52, 50, 51,.75); }
.phase-end { border-top: 1px solid var(--hairline); }

/* ── Right-fit ──────────────────────────────────────────── */
.fit-cols { display: grid; gap: 56px; }
@media (min-width: 1024px) { .fit-cols { grid-template-columns: repeat(2, 1fr); gap: 80px; } }
.fit-list { margin-top: 36px; display: grid; gap: 1px; background: rgba(255,255,255,.12); }
.fit-item { background: var(--ink); padding: 32px; border-left: 2px solid rgba(255,255,255,.15); }
@media (min-width: 1024px) { .fit-item { padding: 40px; } }
.fit-item--yes { border-left-color: var(--brand); }
.fit-item h3 { font-size: 1.15rem; line-height: 1.4; font-weight: 500; color: #fff; }
.fit-item p { margin-top: 16px; font-size: 0.95rem; line-height: 1.85; font-weight: 300; color: rgba(255,255,255,.7); }

/* ── Marquee (testimonials + clients) ───────────────────── */
.marquee { position: relative; overflow: hidden; }
.marquee-track {
  display: flex; width: max-content;
  animation: marquee 70s linear infinite;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translate3d(-50%, 0, 0); } }

.tm-track { gap: 24px; }
.tm-card {
  display: flex; flex-direction: column; flex-shrink: 0;
  width: min(88vw, 420px);
  border-top: 2px solid var(--brand);
  background: var(--background);
  padding: 36px;
  white-space: normal;
}
@media (min-width: 1024px) { .tm-card { padding: 44px; } }
.tm-body { flex: 1; font-size: 0.95rem; line-height: 1.85; font-weight: 300; color: rgba(52, 50, 51,.75); }
.tm-body p + p { margin-top: 20px; }
.tm-foot { margin-top: 36px; border-top: 1px solid var(--hairline); padding-top: 24px; }
.tm-name { font-size: 1.4rem; font-style: italic; color: var(--ink); }
.tm-role { margin-top: 4px; font-size: 0.85rem; font-weight: 300; color: rgba(52, 50, 51,.6); }
.tm-co { margin-top: 8px; color: var(--brand); }

.clients-rail { margin-top: 48px; border-block: 1px solid var(--hairline); padding: 40px 0; }
.clients-track { gap: 64px; align-items: center; }
.clients-track span {
  flex-shrink: 0; white-space: nowrap;
  font-size: clamp(1.5rem, 2.4vw, 2.4rem);
  color: rgba(52, 50, 51,.45);
  transition: color 0.3s;
}
.clients-track span:hover { color: var(--ink); }

/* ── Stats ──────────────────────────────────────────────── */
.stat { padding: 40px; }
@media (min-width: 1024px) { .stat { padding: 64px; } }
.stat-lead { font-size: 0.95rem; line-height: 1.7; font-weight: 300; color: rgba(255,255,255,.65); }
.stat-value { margin-top: 24px; font-size: clamp(4rem, 9vw, 8rem); line-height: 1; color: var(--brand); }
.stat-trail { margin-top: 24px; max-width: 26ch; font-size: 1.05rem; line-height: 1.6; font-weight: 300; color: #fff; }
.source-note { margin-top: 40px; max-width: 70ch; font-size: 0.78rem; line-height: 1.7; font-weight: 300; color: rgba(255,255,255,.45); }

/* ── Mixed-weight headings (What We Do / Explore Our Work) ─ */
.mixed-title { font-size: clamp(2.6rem, 6vw, 5.5rem); }
.mixed-title .kicker {
  font-family: 'Karla', system-ui, sans-serif;
  font-size: 0.4em; font-weight: 500;
  letter-spacing: 0.24em; text-transform: uppercase;
}

/* ── Service rows ───────────────────────────────────────── */
.svc-rows { margin-top: 48px; }
.svc-row {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  border-top: 1px solid var(--hairline);
  padding: 24px 0;
  transition: color 0.3s;
}
.svc-row:last-child { border-bottom: 1px solid var(--hairline); }
.svc-row:hover { color: var(--brand); }
.svc-row .arrow { color: var(--brand); transition: transform 0.3s; }
.svc-row:hover .arrow { transform: translateX(4px); }

/* ── Work cards ─────────────────────────────────────────── */
.work-card {
  display: flex; flex-direction: column; justify-content: flex-end; height: 100%;
  padding: 40px; transition: background-color 0.5s;
}
@media (min-width: 1024px) { .work-card { padding: 56px; } }
.work-card:hover { background: rgba(255,255,255,.04); }
.work-card h3 { margin-top: 24px; font-size: clamp(1.9rem, 3vw, 3rem); color: #fff; }
.work-card .work-svcs { margin-top: 12px; font-size: 0.9rem; font-weight: 300; color: rgba(255,255,255,.6); }
.work-card .arrow-link { margin-top: 32px; color: rgba(255,255,255,.7); }

/* ── FAQs ───────────────────────────────────────────────── */
.faq-grid { display: grid; gap: 56px; }
@media (min-width: 1024px) {
  .faq-grid { grid-template-columns: minmax(0, 0.6fr) minmax(0, 1.4fr); gap: 96px; }
}
.faq { border-bottom: 1px solid var(--hairline); }
.faq summary {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 28px 0; cursor: pointer; list-style: none;
  font-size: 1.1rem; line-height: 1.45; font-weight: 500;
  transition: color 0.3s;
}
@media (min-width: 1024px) { .faq summary { font-size: 1.25rem; } }
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--brand); }
.faq summary .sign {
  flex-shrink: 0; width: 14px; height: 14px; position: relative; color: var(--brand);
}
.faq summary .sign::before,
.faq summary .sign::after {
  content: ''; position: absolute; background: currentColor;
  top: 50%; left: 0; width: 14px; height: 1px; transform: translateY(-50%);
  transition: transform 0.3s var(--ease);
}
.faq summary .sign::after { transform: translateY(-50%) rotate(90deg); }
.faq[open] summary .sign::after { transform: translateY(-50%) rotate(0deg); }
.s-dark .faq { border-bottom-color: rgba(255,255,255,.18); }
.s-dark .faq summary { color: #fff; }
.s-dark .faq-answer { color: rgba(255,255,255,.75); }
.faq-answer { padding-bottom: 32px; font-size: 1rem; line-height: 1.9; font-weight: 300; color: rgba(52, 50, 51,.75); }

/* ── Contact CTA ────────────────────────────────────────── */
.cta-title { margin-top: 32px; font-size: clamp(3rem, 8vw, 7.5rem); color: #fff; }
.cta-copy { margin-top: 40px; max-width: 44ch; font-size: 1.05rem; line-height: 1.8; font-weight: 300; color: rgba(255,255,255,.75); }
.cta-copy a { color: var(--brand); }

/* ── Journal / posts ────────────────────────────────────── */
.post-grid { margin-top: 56px; display: grid; gap: 1px; background: var(--hairline); }
/* Cells paint over the hairline background, so a filler cell in an odd-numbered
   last row reads as empty page rather than a grey block. */
.post-grid > * { background: var(--background); }
@media (min-width: 768px) { .post-grid { grid-template-columns: repeat(2, 1fr); } }
.post-card {
  display: flex; flex-direction: column; height: 100%;
  background: var(--background); padding: 40px;
  transition: background-color 0.4s;
}
@media (min-width: 1024px) { .post-card { padding: 56px; } }
.post-card:hover { background: var(--background); }
.post-card h3 { margin-top: 24px; flex: 1; font-size: clamp(1.7rem, 2.6vw, 2.5rem); }
.post-card .arrow-link { margin-top: 40px; }

.post-body { max-width: 68ch; }
.post-body > * + * { margin-top: 24px; }
.post-body h2 {
  font-family: 'Open Sans', system-ui, sans-serif;
  font-weight: 300; letter-spacing: -0.02em;
  font-size: clamp(1.9rem, 3.2vw, 2.6rem); line-height: 1.15;
  margin-top: 56px;
}
.post-body h3 { font-size: 1.25rem; font-weight: 500; margin-top: 40px; }
.post-body p, .post-body li { font-size: 1.05rem; line-height: 1.9; font-weight: 300; color: rgba(52, 50, 51,.8); }
.post-body ul, .post-body ol { padding-left: 1.2em; }
.post-body ul li { list-style: disc; }
.post-body ol li { list-style: decimal; }
.post-body li + li { margin-top: 10px; }
.post-body a { color: var(--brand); border-bottom: 1px solid currentColor; }
.post-body blockquote {
  border-left: 2px solid var(--brand); padding-left: 24px;
  font-family: 'Open Sans', system-ui, sans-serif; font-size: 1.35rem; line-height: 1.55;
}
.post-body strong { font-weight: 500; color: var(--ink); }
.post-body img { margin-block: 40px; }
.post-body hr { border: 0; border-top: 1px solid var(--hairline); margin-block: 48px; }

.post-meta { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; color: var(--brand); }
.post-nav { margin-top: 80px; padding-top: 40px; border-top: 1px solid var(--hairline); }

/* ── Portfolio ──────────────────────────────────────────── */
.case {
  display: grid; gap: 48px;
  border-top: 1px solid var(--hairline); padding-top: 56px;
}
@media (min-width: 1024px) { .case { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 80px; align-items: start; } }
.case + .case { margin-top: 80px; }
.case h2 { font-size: clamp(2rem, 3.6vw, 3.2rem); margin-top: 20px; }
.case dl { margin-top: 36px; }
.case dt { margin-top: 28px; color: var(--brand); }
.case dd { margin-top: 10px; font-size: 1rem; line-height: 1.85; font-weight: 300; color: rgba(52, 50, 51,.75); }
.case-tags { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 10px; }
.case-tags li {
  border: 1px solid var(--hairline); padding: 8px 16px;
  font-size: 0.72rem; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase;
}

/* ── Services page ──────────────────────────────────────── */
.svc-block { border-top: 1px solid var(--hairline); padding-top: 56px; scroll-margin-top: calc(var(--nav-h) + 24px); }
.svc-block + .svc-block { margin-top: 80px; }
@media (min-width: 1024px) {
  .svc-block { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 80px; }
}
.svc-block h2 { font-size: clamp(2rem, 3.6vw, 3.2rem); margin-top: 20px; }
.svc-deliverables { margin-top: 36px; display: grid; gap: 1px; background: var(--hairline); }
@media (min-width: 640px) { .svc-deliverables { grid-template-columns: repeat(2, 1fr); } }
.svc-deliverables li { background: var(--background); padding: 24px; }
.svc-deliverables strong { display: block; font-weight: 500; }
.svc-deliverables span { display: block; margin-top: 8px; font-size: 0.92rem; line-height: 1.7; color: rgba(52, 50, 51,.7); }


/* ── Portrait (About) ───────────────────────────────────── */
.portrait { width: 100%; max-width: 300px; margin-bottom: 40px; }
.portrait--below { margin: 48px 0 0; }
/* Source is 600×600, so 300px displays at exactly 2× on retina. */
/* height:auto is load-bearing — without it the img's height="600"
   attribute wins, aspect-ratio is ignored, and cover crops the face. */
.portrait img { width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; }
.portrait figcaption {
  margin-top: 16px;
  font-size: 0.85rem; font-weight: 300; color: rgba(52, 50, 51, 0.6);
}


/* ── Inner page treatments ──────────────────────────────── */
.bleed--page::before {
  /* about/services/contact heroes run over light images — the homepage
     gradient is nowhere near dark enough to hold white type here. */
  background: linear-gradient(100deg, rgba(20,19,19,.92) 0%, rgba(20,19,19,.80) 45%, rgba(20,19,19,.55) 100%);
}
.bleed--page { color: #fff; }   /* the scrim is always dark, so fix the text colour here */
.bleed--page .bleed-inner { padding-block: calc(var(--nav-h) + 96px) 128px; }
@media (min-width: 1024px) { .bleed--page .bleed-inner { padding-block: calc(var(--nav-h) + 144px) 160px; } }

.challenge-list { margin-top: 56px; display: grid; gap: 1px; background: rgba(255,255,255,.14); }
@media (min-width: 760px) { .challenge-list { grid-template-columns: repeat(2, 1fr); } }
.challenge { background: var(--ink); padding: 40px; display: flex; gap: 24px; align-items: baseline; }
.challenge-n { font-size: 2rem; color: var(--brand); flex-shrink: 0; }
.challenge p { font-size: 1.05rem; line-height: 1.6; font-weight: 300; color: rgba(255,255,255,.85); }

.next-grid { display: grid; gap: 1px; background: var(--hairline); }
@media (min-width: 760px) { .next-grid { grid-template-columns: repeat(2, 1fr); } }
.next-card {
  background: var(--background); padding: 56px 40px;
  display: flex; flex-direction: column; gap: 16px;
  transition: background-color 0.4s;
}
.next-card:hover { background: #faf9f8; }
.next-title { font-size: clamp(1.7rem, 2.8vw, 2.4rem); }

.success-list { margin-top: 56px; display: grid; gap: 1px; background: rgba(255,255,255,.14); }
@media (min-width: 760px) { .success-list { grid-template-columns: repeat(2, 1fr); } }
.success-list li {
  background: var(--ink); padding: 32px 36px;
  font-size: 1.02rem; line-height: 1.7; font-weight: 300; color: rgba(255,255,255,.85);
  border-left: 2px solid var(--brand);
}


/* ── Work galleries ─────────────────────────────────────── */
.work-gallery { margin-top: 64px; display: grid; gap: 24px; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 900px) { .work-gallery { grid-template-columns: repeat(3, 1fr); gap: 32px; } }
.work-gallery--tight { margin-top: 24px; }
.work-shot { overflow: hidden; background: #f4f3f1; }
.work-shot img { width: 100%; height: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform 0.7s var(--ease); }
.work-shot:hover img { transform: scale(1.04); }
.addl-group { margin-top: 64px; }

/* Client logo marquee — logos are mixed formats, so normalise by height */
.logo-rail { margin-top: 48px; border-block: 1px solid var(--hairline); padding: 44px 0; }
.logo-track { gap: 72px; align-items: center; }
.logo-track img {
  height: 34px; width: auto; flex-shrink: 0;
  filter: grayscale(1); opacity: .55;
  transition: opacity .3s, filter .3s;
}
.logo-track img:hover { filter: grayscale(0); opacity: 1; }

/* ── Forms ──────────────────────────────────────────────── */
.form { max-width: 640px; }
.form-row { margin-top: 28px; }
.form-row label { display: block; margin-bottom: 10px; color: var(--brand); }
.form input[type="text"],
.form input[type="email"],
.form select,
.form textarea {
  width: 100%; padding: 16px;
  font-family: inherit; font-size: 1rem; font-weight: 300; color: var(--ink);
  background: var(--background);
  border: 1px solid var(--hairline);
  border-radius: 0;
  transition: border-color 0.2s;
}
.form textarea { min-height: 160px; resize: vertical; }
.form input:focus, .form select:focus, .form textarea:focus { border-color: var(--brand); outline: none; }
.form .hp { position: absolute; left: -9999px; }
.form button { margin-top: 32px; }
.form-note { margin-top: 20px; font-size: 0.88rem; color: rgba(52, 50, 51,.6); }

.form-success {
  border-top: 2px solid var(--brand);
  background: var(--background);
  padding: 40px;
  max-width: 640px;
}
.form-success h2 { font-size: 2rem; }
.form-success p { margin-top: 16px; font-weight: 300; line-height: 1.8; color: rgba(52, 50, 51,.75); }

/* ── Contact page columns ───────────────────────────────── */
.contact-grid { display: grid; gap: 56px; }
@media (min-width: 1024px) { .contact-grid { grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr); gap: 96px; } }
.contact-aside > * + * { margin-top: 40px; }
.contact-aside h2 { font-size: 1.6rem; }
.contact-aside p { margin-top: 12px; font-size: 1rem; line-height: 1.8; font-weight: 300; color: rgba(52, 50, 51,.75); }
.contact-aside a { color: var(--brand); }

/* ── 404 ────────────────────────────────────────────────── */
.notfound { min-height: 70svh; display: flex; flex-direction: column; justify-content: center; }

/* ── Scroll reveal ──────────────────────────────────────────
   Scoped to .js so that if the script fails to load, every section is
   simply visible rather than permanently transparent. */
.js .fade-up {
  opacity: 0; transform: translateY(28px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
  transition-delay: calc(var(--i, 0) * 80ms);
}
.js .fade-up.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .fade-up { opacity: 1 !important; transform: none !important; }
  .hero h1 .line, .hero-lede, .hero-actions { opacity: 1 !important; transform: none !important; }
  .marquee-track { animation: none !important; }
  html { scroll-behavior: auto; }
}

/* ══ Pillar pages (Strategy / Message / Identity) ══════════ */

/* Hero: "The" sits above the package name, the promise below it. */
.pillar-pre { font-size: 1.1rem; font-style: italic; font-weight: 300; }
.pillar-sub {
  margin-top: 20px;
  font-style: italic; font-weight: 200;
  font-size: clamp(1.4rem, 2.6vw, 2.2rem); line-height: 1.25;
  color: var(--brand-foreground);
}

/* Empathy band — one long sentence set large. */
.empathy {
  max-width: 26ch;
  font-size: clamp(1.8rem, 3.6vw, 3.2rem);
  font-weight: 200; line-height: 1.22;
}
@media (min-width: 900px) { .empathy { max-width: 34ch; } }

/* Six outcomes, ticked. */
.tick-grid { margin-top: 48px; display: grid; gap: 1px; background: var(--hairline); }
@media (min-width: 640px) { .tick-grid { grid-template-columns: repeat(2, 1fr); } }
.tick {
  background: var(--background); padding: 24px 28px;
  display: flex; gap: 16px; align-items: baseline;
  font-size: 1rem; line-height: 1.6; font-weight: 300;
}
.tick::before {
  content: "—"; flex-shrink: 0; color: var(--brand);
}
.s-dark .tick { background: var(--ink); color: rgba(255,255,255,.85); }
.s-dark .tick-grid { background: rgba(255,255,255,.14); }

/* Problem → Solution → Benefit → Value */
.psbv { margin-top: 56px; display: grid; gap: 1px; background: rgba(255,255,255,.14); }
@media (min-width: 960px) { .psbv { grid-template-columns: repeat(4, 1fr); } }
.psbv-row { background: var(--ink); padding: 40px 32px; display: flex; flex-direction: column; gap: 20px; }
.psbv-row .eyebrow { color: var(--brand); }
.psbv-row p { font-size: 1rem; line-height: 1.75; font-weight: 300; color: rgba(255,255,255,.85); }

/* What you'll get — numbered rows reuse .phase, plus a sub-label. */
.phase-sub {
  font-size: 0.85rem; font-weight: 400; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--brand);
}

/* Benefits — three columns of prose. */
.benefit-grid { margin-top: 64px; display: grid; gap: 48px; }
@media (min-width: 900px) { .benefit-grid { grid-template-columns: repeat(3, 1fr); gap: 56px; } }
.benefit { border-top: 1px solid var(--hairline); padding-top: 28px; }
.benefit h3 {
  font-size: 0.95rem; font-weight: 400; letter-spacing: 0.16em;
  text-transform: uppercase;
}
.benefit p { margin-top: 20px; font-size: 0.98rem; line-height: 1.85; font-weight: 300; color: rgba(52,50,51,.75); }

/* Closing band — brand red, with the Showit "LET'S DO THIS" marquee. */
.inquire { background: var(--brand); color: var(--brand-foreground); overflow: hidden; padding-block: 96px; }
.inquire .shell { padding-inline: var(--gutter); }
.inquire-line {
  max-width: 20ch;
  font-size: clamp(1.9rem, 4vw, 3.4rem); font-weight: 200; line-height: 1.2;
}
.inquire .btn--solid {
  margin-top: 40px; background: #fff; color: var(--brand); border: 1px solid #fff;
}
.inquire .btn--solid:hover { background: transparent; color: #fff; }
.inquire-marquee { margin-top: 72px; }
.inquire-marquee .marquee-track { gap: 48px; animation-duration: 40s; }
.inquire-marquee span {
  font-family: 'Newsreader', Georgia, serif;
  font-size: clamp(2.4rem, 6vw, 5rem); font-weight: 200; font-style: italic;
  white-space: nowrap; color: rgba(255,255,255,.45);
}

/* ══ Case study ════════════════════════════════════════════ */
.case-intro { max-width: 68ch; }
.case-sections { margin-top: 0; }
.case-block { border-top: 1px solid var(--hairline); padding-block: 72px; }
@media (min-width: 1024px) {
  .case-block { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 80px; }
}
.case-block h2 { font-size: clamp(2rem, 3.8vw, 3.2rem); margin-top: 16px; }
.case-block .case-sub { margin-top: 16px; font-style: italic; font-weight: 300; color: var(--brand); }
.case-block .case-body { font-size: 1.05rem; line-height: 1.9; font-weight: 300; color: rgba(52,50,51,.78); }
.case-n { font-size: 2.6rem; line-height: 1; color: var(--brand); }
.case-close { max-width: 70ch; }
.case-close > p + p { margin-top: 24px; }
.case-close p { font-size: 1.05rem; line-height: 1.9; font-weight: 300; color: rgba(255,255,255,.82); }

/* ── Fixes layered over the pillar-page rules above ───────── */

/* `.phase p` is more specific than `.phase-sub`, so the sub-label was
   inheriting the body grey instead of the brand red. */
.phase .phase-sub { color: var(--brand); }

/* A mid-page bleed has no nav to clear, so it does not need the hero's
   top padding — only the hero variant does. */
.bleed--page.bleed--short .bleed-inner { padding-block: 128px; }

/* The "what makes us different" photo is almost white, so the hero scrim
   flattens it to a grey rectangle. This variant keeps the copy side dark
   and lets the right-hand side of the image come through. */
.bleed--photo::before {
  background: linear-gradient(100deg,
    rgba(20,19,19,.94) 0%,
    rgba(20,19,19,.86) 38%,
    rgba(20,19,19,.34) 72%,
    rgba(20,19,19,.06) 100%);
}

/* Narrow screens stack the copy over the full width of the photo, so the
   angled scrim leaves the last words of each line on bare white. Flatten it. */
@media (max-width: 899px) {
  .bleed--photo::before {
    background: linear-gradient(180deg,
      rgba(20,19,19,.93) 0%,
      rgba(20,19,19,.88) 55%,
      rgba(20,19,19,.72) 100%);
  }
}

/* `.phase` was only ever styled for light sections, so on the homepage's dark
   "3 Phases" band the body copy was rendering near-black on near-black —
   present in the HTML, invisible on screen. */
.s-dark .phase,
.s-dark .phase-end { border-top-color: rgba(255,255,255,.18); }
.s-dark .phase h3 { color: #fff; }
.s-dark .phase p { color: rgba(255,255,255,.78); }
