/* ==========================================================================
   MAGNETIC — bemagnetic.ca
   Dark editorial agency system: black ground with a fine dot texture, four
   hairline columns, numbered "//SECTION" rows, Clash Display for anything
   large, Inter for reading. Everything scales from --gutter and the columns.
   ========================================================================== */

:root {
  --bg: #000000;
  --bg-raised: #0b0b0b;
  --bg-card: #0e0e0e;
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.16);
  --text: #ffffff;
  --text-2: #b3b3b3;
  --muted: #7d7d7d;
  --dim: #6f6f6f;
  --dimmer: #5c5c5c;
  --accent: #ffffff;
  --red: #e8322b;
  --radius: 14px;
  --radius-sm: 10px;
  --gutter: clamp(20px, 5.35vw, 80px);
  --font-display: "Clash Display", "Inter", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --dur: 0.9s;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  position: relative;
}
/* fine dot texture, like the reference */
body::before {
  content: "";
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background-image: radial-gradient(rgba(255,255,255,0.075) 0.6px, transparent 0.7px);
  background-size: 4px 4px;
  opacity: 0.9;
}
/* four hairline columns */
.grid-lines {
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  display: grid; grid-template-columns: repeat(4, 1fr);
}
.grid-lines span { border-left: 1px solid var(--line); }
.grid-lines span:first-child { border-left: 0; }

img { max-width: 100%; display: block; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, p { margin: 0; }
::selection { background: #fff; color: #000; }

.wrap { position: relative; z-index: 1; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.container { padding-left: var(--gutter); padding-right: var(--gutter); }

/* --------------------------------------------------------------------------
   Type
   -------------------------------------------------------------------------- */
.label {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}
.label strong { color: var(--text); font-weight: 500; }
.display {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 0.92;
  letter-spacing: -0.025em;
  text-transform: uppercase;
}
.display .dim { color: var(--dim); }
.display .dimmer { color: var(--dimmer); }
.h-xl { font-size: clamp(56px, 9.2vw, 150px); }
.h-lg { font-size: clamp(44px, 7vw, 112px); }
.h-md { font-size: clamp(30px, 3.4vw, 52px); line-height: 1.02; letter-spacing: -0.015em; }
.h-sm { font-family: var(--font-display); font-weight: 600; font-size: clamp(20px, 1.6vw, 26px); letter-spacing: -0.01em; line-height: 1.1; }
.statement {
  font-family: var(--font-display);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: -0.005em;
  line-height: 1.12;
  font-size: clamp(20px, 2.4vw, 36px);
}
.lede { font-size: clamp(17px, 1.3vw, 20px); color: var(--text-2); line-height: 1.55; }
.body { color: var(--text-2); font-size: 17px; line-height: 1.7; }
.body + .body { margin-top: 1.1em; }
.mono { font-variant-numeric: tabular-nums; }

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-display); font-weight: 600; font-size: 13px;
  letter-spacing: 0.06em; text-transform: uppercase;
  padding: 16px 26px; border-radius: 999px;
  border: 1px solid var(--line-strong);
  color: var(--text); background: rgba(0,0,0,0.55);
  transition: background 0.35s var(--ease), color 0.35s var(--ease), border-color 0.35s var(--ease), transform 0.35s var(--ease);
  will-change: transform;
}
.btn:hover { background: #fff; color: #000; border-color: #fff; }
.btn--solid { background: #fff; color: #000; border-color: #fff; }
.btn--solid:hover { background: transparent; color: #fff; border-color: #fff; }
.btn--sm { padding: 12px 18px; font-size: 12px; }
.btn .arrow { transition: transform 0.35s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }

/* --------------------------------------------------------------------------
   Header
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky; top: 0; left: 0; right: 0; z-index: 20;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  height: 88px; padding: 0 var(--gutter);
  border-bottom: 1px solid var(--line);
  background: rgba(0,0,0,0.65); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
/* The primary CTA: red + white, pinned top-right on every page */
.site-header .btn.cta { background: var(--red); border-color: var(--red); color: #fff; }
.site-header .btn.cta:hover { background: #fff; border-color: #fff; color: var(--red); }
.site-header .brand { justify-self: center; display: inline-flex; align-items: center; gap: 6px; }
.site-header .brand i { width: 3px; height: 3px; border-radius: 50%; background: #fff; display: block; opacity: 0.9; }
.site-header .brand i:nth-child(2), .site-header .brand i:nth-child(4) { transform: translateY(6px); }
.site-header .brand:hover i { animation: pulse 1.2s infinite; }
.site-header .brand:hover i:nth-child(2) { animation-delay: 0.15s; }
.site-header .brand:hover i:nth-child(3) { animation-delay: 0.3s; }
.site-header .brand:hover i:nth-child(4) { animation-delay: 0.45s; }
@keyframes pulse { 0%,100% { opacity: 0.4; } 50% { opacity: 1; } }
.site-header .loc { justify-self: start; }
.site-header .cta { justify-self: end; }
.site-header--page { height: 88px; }

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */
.hero { position: relative; padding-top: 0; }
.hero__canvas { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.hero__word {
  position: relative; z-index: 1;
  display: flex; align-items: center; justify-content: center;
  padding: clamp(24px, 4vw, 56px) var(--gutter) clamp(20px, 3vw, 44px);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}
.hero__word h1 {
  font-family: var(--font-display); font-weight: 600; text-transform: uppercase;
  font-size: clamp(64px, 16.6vw, 300px); line-height: 0.86; letter-spacing: -0.02em;
  text-align: center; white-space: nowrap;
  transform: translateY(0.02em);
}
/* JS fits the wordmark exactly to the available width (see fitWordmark) */
.hero__word h1[data-fit] { font-size: var(--fit, 16.6vw); }
.hero__word h1 span.sr-only { animation: none; opacity: 1; transform: none; font-size: 1px; }
.hero__word h1 span { display: inline-block; opacity: 0; transform: translateY(0.35em) skewY(2deg); animation: rise 1.1s var(--ease) forwards; }
.hero__word h1 span:nth-child(1) { animation-delay: 0.05s } .hero__word h1 span:nth-child(2) { animation-delay: 0.1s }
.hero__word h1 span:nth-child(3) { animation-delay: 0.15s } .hero__word h1 span:nth-child(4) { animation-delay: 0.2s }
.hero__word h1 span:nth-child(5) { animation-delay: 0.25s } .hero__word h1 span:nth-child(6) { animation-delay: 0.3s }
.hero__word h1 span:nth-child(7) { animation-delay: 0.35s } .hero__word h1 span:nth-child(8) { animation-delay: 0.4s }
@keyframes rise { to { opacity: 1; transform: none; } }
.hero__facts {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: repeat(3, 1fr);
  border-bottom: 1px solid var(--line);
}
.hero__facts div {
  padding: 26px var(--gutter); text-align: center;
  display: flex; flex-direction: column; align-items: center; gap: 8px;
}
.hero__facts svg { width: 22px; height: 22px; opacity: 0.9; }
.hero__facts .label { color: var(--text); }
.hero__facts .label small { display: block; color: var(--muted); letter-spacing: 0.08em; margin-top: 2px; }
.hero__media { position: relative; z-index: 1; padding: clamp(40px, 6vw, 96px) var(--gutter) 0; }
.hero__media figure { margin: 0; border-radius: var(--radius); overflow: hidden; aspect-ratio: 16 / 7.2; background: #111; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: center 62%; transform: scale(1.04); transition: transform 1.6s var(--ease); }
.hero__media.in img { transform: none; }
.hero__media figcaption { display: flex; justify-content: space-between; padding: 14px 4px 0; }

/* --------------------------------------------------------------------------
   Sections
   -------------------------------------------------------------------------- */
.section { position: relative; padding-top: clamp(64px, 9vw, 140px); }
.section-head {
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  padding: 18px var(--gutter);
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.section-head .n { justify-self: start; color: var(--text); }
.section-head .t { justify-self: center; color: var(--text); }
.section-head .r { justify-self: end; }
.section-body { padding: clamp(40px, 6vw, 96px) var(--gutter) 0; }
.two-col {
  display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 40px var(--gutter); align-items: end;
}
.two-col .lede { max-width: 26em; justify-self: end; }
.rule { height: 1px; background: var(--line); margin: clamp(40px, 6vw, 96px) 0 0; }

/* Reveal */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: 0.1s } .reveal[data-delay="2"] { transition-delay: 0.2s }
.reveal[data-delay="3"] { transition-delay: 0.3s } .reveal[data-delay="4"] { transition-delay: 0.4s }
@media (prefers-reduced-motion: reduce) {
  .reveal, .hero__word h1 span { opacity: 1; transform: none; transition: none; animation: none; }
}

/* --------------------------------------------------------------------------
   01 Approach — three pillars + client marquee
   -------------------------------------------------------------------------- */
.pillars {
  display: grid; grid-template-columns: repeat(3, 1fr);
  margin-top: clamp(40px, 6vw, 96px);
  border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  background: rgba(8,8,8,0.7);
}
.pillar { padding: clamp(28px, 3.4vw, 52px) clamp(22px, 2.6vw, 40px); border-left: 1px solid var(--line); text-align: center; }
.pillar:first-child { border-left: 0; }
.dots { display: inline-flex; gap: 6px; }
.dots i { width: 7px; height: 7px; border-radius: 50%; background: var(--dimmer); display: block; }
.dots i.on { background: #fff; }
.pillar .h-sm { margin: 44px 0 12px; text-transform: uppercase; }
.pillar p { color: var(--muted); font-size: 15.5px; max-width: 24em; margin: 0 auto; }

.marquee { margin-top: clamp(40px, 6vw, 96px); overflow: hidden; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 26px 0; -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee__track { display: flex; gap: 0; width: max-content; animation: marquee 44s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__track span {
  font-family: var(--font-display); font-weight: 600; font-size: clamp(22px, 2.6vw, 38px);
  text-transform: uppercase; letter-spacing: -0.01em; color: #808080;
  padding: 0 34px; display: inline-flex; align-items: center; gap: 34px; white-space: nowrap;
}
.marquee__track span::after { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--dimmer); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* --------------------------------------------------------------------------
   02 Work — staggered cards
   -------------------------------------------------------------------------- */
.work-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: clamp(48px, 7vw, 120px) var(--gutter); margin-top: clamp(40px, 6vw, 96px); }
.work-card { position: relative; }
.work-card:nth-child(6n+1) { grid-column: 1 / span 6; }
.work-card:nth-child(6n+2) { grid-column: 8 / span 5; margin-top: clamp(80px, 12vw, 200px); }
.work-card:nth-child(6n+3) { grid-column: 4 / span 6; }
.work-card:nth-child(6n+4) { grid-column: 1 / span 5; margin-top: clamp(-40px, -3vw, 0px); }
.work-card:nth-child(6n+5) { grid-column: 7 / span 6; margin-top: clamp(80px, 12vw, 200px); }
.work-card:nth-child(6n+6) { grid-column: 2 / span 5; }
.work-card:nth-child(7) { grid-column: 6 / span 7; }
.work-card figure { margin: 0; border-radius: var(--radius); overflow: hidden; aspect-ratio: 16 / 10.5; background: #0f0f0f; position: relative; }
.work-card:nth-child(6n+1) figure, .work-card:nth-child(6n+5) figure { aspect-ratio: 16 / 10; }
.work-card:nth-child(6n+2) figure, .work-card:nth-child(6n+4) figure { aspect-ratio: 16 / 9.4; }
.work-card img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.02); transition: transform 1.2s var(--ease), filter 0.8s var(--ease); }
.work-card:hover img { transform: scale(1.06); }
.work-card__meta { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: clamp(20px, 3vw, 56px); padding: 22px 6px 0; }
.work-card__title { font-family: var(--font-display); font-weight: 500; font-size: 20px; letter-spacing: -0.005em; }
.work-card__meta .label { margin-top: 3px; }
.work-card .go { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line-strong); display: grid; place-items: center; transition: background 0.35s var(--ease), color 0.35s var(--ease), transform 0.35s var(--ease); }
.work-card:hover .go { background: #fff; color: #000; transform: translateX(4px); }
.work-card a.cover { position: absolute; inset: 0; z-index: 2; }
.work-all { display: flex; justify-content: center; margin-top: clamp(48px, 7vw, 120px); }

/* --------------------------------------------------------------------------
   03 About
   -------------------------------------------------------------------------- */
.about { display: grid; grid-template-columns: repeat(12, 1fr); gap: 32px var(--gutter); align-items: start; margin-top: clamp(40px, 6vw, 96px); }
.about__img { grid-column: 4 / span 6; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 5; background: #111; }
.about__img img { width: 100%; height: 100%; object-fit: cover; }
.about__text { grid-column: 3 / span 8; text-align: center; margin-top: 24px; }
.about__text .statement { margin-bottom: 26px; }
.about__text .body { max-width: 52em; margin-left: auto; margin-right: auto; }
.about__you { grid-column: 3 / span 8; margin-top: 30px; padding: 30px 34px; border: 1px solid var(--line); border-radius: var(--radius); background: rgba(8,8,8,0.7); display: grid; grid-template-columns: auto 1fr; gap: 24px; align-items: center; }
.about__you .label { color: var(--text); }
.about__you p { color: var(--text-2); font-size: 16.5px; }
.about__cta { grid-column: 1 / -1; display: flex; justify-content: center; margin-top: 12px; }

/* --------------------------------------------------------------------------
   04 Capabilities — accordion
   -------------------------------------------------------------------------- */
.svc-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px var(--gutter); align-items: end; }
.svc-head .lede { justify-self: end; max-width: 22em; }
.accordion { margin-top: clamp(40px, 6vw, 96px); margin-left: auto; width: min(100%, 72%); border-top: 1px solid var(--line); }
.acc { border-bottom: 1px solid var(--line); }
.acc__btn { width: 100%; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: clamp(20px, 3.4vw, 60px); padding: 26px 8px; text-align: left; }
.acc__btn .work-card__title { font-size: 20px; }
.acc__btn .label { margin-top: 3px; }
.acc__btn .chev { width: 24px; height: 24px; transition: transform 0.4s var(--ease); }
.acc.open .chev { transform: rotate(180deg); }
.acc__panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.55s var(--ease); }
.acc.open .acc__panel { grid-template-rows: 1fr; }
.acc__panel > div { overflow: hidden; }
.acc__panel p { padding: 0 8px 28px calc(67px + clamp(20px, 3.4vw, 60px)); color: var(--text-2); max-width: 46em; }

/* --------------------------------------------------------------------------
   05 Voice — scroll-highlighted manifesto
   -------------------------------------------------------------------------- */
.voice { padding: clamp(60px, 9vw, 150px) var(--gutter) 0; }
.voice p { font-family: var(--font-display); font-weight: 600; text-transform: uppercase; font-size: clamp(24px, 3.9vw, 62px); line-height: 1.06; letter-spacing: -0.015em; max-width: 24ch; }
.voice p .w { color: var(--dimmer); transition: color 0.4s var(--ease); }
.voice p .w.on { color: #fff; }
.voice p .em .w.on { color: #fff; }

/* --------------------------------------------------------------------------
   06 Stats
   -------------------------------------------------------------------------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: clamp(40px, 6vw, 96px); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: rgba(8,8,8,0.7); }
.stat { padding: clamp(28px, 3.6vw, 56px) 24px; border-left: 1px solid var(--line); text-align: center; }
.stat:first-child { border-left: 0; }
.stat .num { font-family: var(--font-display); font-weight: 600; font-size: clamp(48px, 6vw, 96px); line-height: 1; letter-spacing: -0.03em; }
.stat .num small { font-size: 0.5em; vertical-align: super; margin-left: 2px; color: var(--muted); }
.stat .label { margin-top: 14px; }

/* --------------------------------------------------------------------------
   07 Process — timeline
   -------------------------------------------------------------------------- */
.timeline { margin-top: clamp(40px, 6vw, 96px); border-top: 1px solid var(--line); }
.tl { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr) minmax(0, 1.4fr); gap: 20px var(--gutter); padding: 30px 8px; border-bottom: 1px solid var(--line); align-items: start; }
.tl .h-sm { text-transform: uppercase; }
.tl .label { padding-top: 6px; }
.tl .label b { display: block; color: var(--text); font-weight: 500; }
.tl p { color: var(--text-2); font-size: 16px; }

/* --------------------------------------------------------------------------
   08 Working together — two cards
   -------------------------------------------------------------------------- */
.plans { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--gutter); margin-top: clamp(40px, 6vw, 96px); }
.plan { border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(28px, 3.4vw, 48px); background: rgba(8,8,8,0.7); position: relative; }
.plan--pref { border-color: var(--line-strong); }
.plan .tag { position: absolute; top: 22px; right: 22px; font-family: var(--font-display); font-size: 11px; letter-spacing: 0.08em; padding: 6px 10px; border: 1px solid var(--line-strong); border-radius: 999px; text-transform: uppercase; }
.plan .h-md { margin: 18px 0 14px; text-transform: uppercase; }
.plan p { color: var(--text-2); }
.plan ul { margin-top: 26px; border-top: 1px solid var(--line); }
.plan li { display: flex; gap: 12px; align-items: baseline; padding: 12px 0; border-bottom: 1px solid var(--line); font-family: var(--font-display); font-size: 13px; letter-spacing: 0.06em; text-transform: uppercase; }
.plan li::before { content: "•"; color: var(--muted); }
.plan .btn { margin-top: 26px; }
.plans-note { margin-top: 26px; color: var(--muted); font-size: 14px; max-width: 60em; }

/* --------------------------------------------------------------------------
   09 FAQ
   -------------------------------------------------------------------------- */
.faq { margin-top: clamp(40px, 6vw, 96px); border-top: 1px solid var(--line); }
.faq .acc__btn { grid-template-columns: auto 1fr auto; }
.faq .acc__btn .n { font-family: var(--font-display); font-size: 13px; color: var(--muted); }
.faq .acc__btn .q { font-family: var(--font-display); font-weight: 600; font-size: clamp(16px, 1.5vw, 22px); text-transform: uppercase; letter-spacing: 0.01em; }
.faq .acc__panel p { padding-left: calc(20px + clamp(20px, 3.4vw, 60px)); }

/* --------------------------------------------------------------------------
   CTA + Footer
   -------------------------------------------------------------------------- */
.cta-block { padding: clamp(80px, 12vw, 200px) var(--gutter) clamp(60px, 8vw, 120px); text-align: center; }
.cta-block .display { margin-bottom: 36px; }
.contact-grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.contact-grid > div { padding: 30px var(--gutter); border-left: 1px solid var(--line); }
.contact-grid > div:first-child { border-left: 0; }
.contact-grid .label { margin-bottom: 14px; }
.contact-grid a, .contact-grid .v { display: block; font-family: var(--font-display); font-weight: 500; font-size: 17px; letter-spacing: -0.005em; margin-top: 4px; }
.contact-grid a:hover { text-decoration: underline; text-underline-offset: 4px; }
.contact-grid .clock { font-variant-numeric: tabular-nums; }
.site-footer { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; padding: 26px var(--gutter) 34px; }
.site-footer .l { justify-self: start; } .site-footer .c { justify-self: center; } .site-footer .r { justify-self: end; }
.site-footer .c .label { color: var(--dim); }
.top-link { display: inline-flex; align-items: center; gap: 8px; }
.top-link:hover { color: #fff; }

/* Floating CTA */
.float-cta { position: fixed; right: 20px; bottom: 20px; z-index: 30; opacity: 0; transform: translateY(12px); pointer-events: none; transition: opacity 0.4s var(--ease), transform 0.4s var(--ease); }
.float-cta.show { opacity: 1; transform: none; pointer-events: auto; }

/* --------------------------------------------------------------------------
   Case-study pages
   -------------------------------------------------------------------------- */
.case-hero { padding: clamp(40px, 6vw, 96px) var(--gutter) 0; }
.case-hero .display { max-width: 12ch; }
.case-meta { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin-top: clamp(32px, 4vw, 64px); }
.case-meta > div { padding: 24px 32px; border-left: 1px solid var(--line); }
.case-meta > div:first-child { border-left: 0; padding-left: 0; }
.case-meta .v { font-family: var(--font-display); font-weight: 500; font-size: 17px; margin-top: 8px; }
.case-meta .v span { display: block; }
.case-cover { margin: clamp(32px, 4vw, 64px) var(--gutter) 0; border-radius: var(--radius); overflow: hidden; aspect-ratio: 16 / 9; background: #111; }
.case-cover img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.04); transition: transform 1.6s var(--ease); }
.case-cover.in img { transform: none; }
.case-intro { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 40px var(--gutter); padding: clamp(48px, 7vw, 120px) var(--gutter) 0; }
.case-intro .did { border-top: 1px solid var(--line); }
.case-intro .did li { padding: 12px 0; border-bottom: 1px solid var(--line); font-family: var(--font-display); font-size: 13px; letter-spacing: 0.06em; text-transform: uppercase; display: flex; gap: 12px; }
.case-intro .did li::before { content: "•"; color: var(--muted); }
.gallery { display: grid; grid-template-columns: repeat(6, 1fr); gap: var(--gutter); padding: clamp(48px, 7vw, 120px) var(--gutter) 0; }
.g { grid-column: span 6; }
.g.half { grid-column: span 3; }
.g.third { grid-column: span 2; }
.g figure { margin: 0; border-radius: var(--radius); overflow: hidden; background: #0f0f0f; border: 1px solid var(--line); }
.g figure img { width: 100%; height: auto; }
.g.contain figure { padding: clamp(20px, 3vw, 48px); background: radial-gradient(120% 100% at 50% 0%, #161616, #070707); }
.g.contain figure img { max-height: 640px; width: auto; margin: 0 auto; object-fit: contain; }
.g figcaption { padding: 14px 4px 0; display: flex; justify-content: space-between; gap: 16px; align-items: baseline; }
.g figcaption .cap { font-family: var(--font-display); font-weight: 500; font-size: 16px; }
.g figcaption .label { text-align: right; }
.g a.link:hover .cap { text-decoration: underline; text-underline-offset: 4px; }
.case-nav { display: grid; grid-template-columns: 1fr 1fr; margin-top: clamp(64px, 9vw, 140px); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.case-nav a { padding: 34px var(--gutter); display: flex; flex-direction: column; gap: 10px; border-left: 1px solid var(--line); transition: background 0.35s var(--ease); }
.case-nav a:first-child { border-left: 0; }
.case-nav a:last-child { text-align: right; align-items: flex-end; }
.case-nav a:hover { background: rgba(255,255,255,0.03); }
.case-nav .h-md { text-transform: uppercase; }

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 1100px) {
  .accordion { width: 100%; }
  .work-card:nth-child(n) { grid-column: 1 / -1 !important; margin-top: 0 !important; }
  .work-card figure { aspect-ratio: 16 / 10 !important; }
  .about__img { grid-column: 3 / span 8; }
  .about__text, .about__you { grid-column: 1 / -1; }
}
@media (max-width: 860px) {
  body { font-size: 16px; }
  .site-header { height: 72px; grid-template-columns: 1fr auto; }
  .site-header .brand { display: none; }
  .site-header .loc { white-space: nowrap; }
  .site-header .btn { padding: 12px 16px; font-size: 12px; }
  .hero__media figcaption { flex-direction: column; gap: 6px; }
  .hero__facts { grid-template-columns: 1fr; }
  .hero__facts div { border-bottom: 1px solid var(--line); padding: 18px var(--gutter); }
  .hero__facts div:last-child { border-bottom: 0; }
  .hero__media figure { aspect-ratio: 4 / 3; }
  .two-col, .svc-head, .case-intro { grid-template-columns: 1fr; }
  .two-col .lede, .svc-head .lede { justify-self: start; }
  .pillars:not(.pillars--4) { grid-template-columns: 1fr; }
  .pillar { border-left: 0; border-top: 1px solid var(--line); text-align: left; }
  .pillar:first-child { border-top: 0; }
  .pillar p { margin: 0; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(3) { border-left: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--line); }
  .tl { grid-template-columns: 1fr; gap: 10px; }
  .plans { grid-template-columns: 1fr; }
  .contact-grid, .case-meta { grid-template-columns: 1fr 1fr; }
  .contact-grid > div:nth-child(3), .case-meta > div:nth-child(3) { border-left: 0; }
  .contact-grid > div:nth-child(n+3), .case-meta > div:nth-child(n+3) { border-top: 1px solid var(--line); }
  .site-footer { grid-template-columns: 1fr 1fr; row-gap: 12px; }
  .site-footer .c { grid-column: 1 / -1; justify-self: start; order: 3; }
  .about__you { grid-template-columns: 1fr; }
  .g.half, .g.third { grid-column: span 6; }
  .g.third.contain { grid-column: span 3; }
  .case-nav { grid-template-columns: 1fr; }
  .case-nav a { border-left: 0; border-top: 1px solid var(--line); }
  .case-nav a:first-child { border-top: 0; }
  .voice p { max-width: none; }
  .section-head { grid-template-columns: auto 1fr; }
  .section-head .r { display: none; }
  .section-head .t { justify-self: end; }
}
@media (max-width: 520px) {
  .grid-lines { grid-template-columns: repeat(2, 1fr); }
  .grid-lines span:nth-child(n+3) { display: none; }
  .stats { grid-template-columns: 1fr; }
  .stat { border-left: 0 !important; border-top: 1px solid var(--line); }
  .stat:first-child { border-top: 0; }
  .contact-grid, .case-meta { grid-template-columns: 1fr; }
  .contact-grid > div, .case-meta > div { border-left: 0 !important; border-top: 1px solid var(--line); }
  .contact-grid > div:first-child, .case-meta > div:first-child { border-top: 0; }
  .g.third.contain { grid-column: span 6; }
}

/* --------------------------------------------------------------------------
   Service pages
   -------------------------------------------------------------------------- */
.pillars--wrap { grid-template-columns: repeat(3, 1fr); margin-top: clamp(40px, 6vw, 96px); }
.pillars--wrap .pillar { text-align: left; border-top: 1px solid var(--line); }
.pillars--wrap .pillar:nth-child(-n+3) { border-top: 0; }
.pillars--wrap .pillar:nth-child(3n+1) { border-left: 0; }
.pillars--wrap .pillar .h-sm { margin: 28px 0 10px; }
.pillars--wrap .pillar p { margin: 0; max-width: none; }
.related { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gutter); margin-top: clamp(40px, 6vw, 96px); }
.related .work-card { grid-column: auto !important; margin-top: 0 !important; }
.related .work-card figure { aspect-ratio: 16 / 11 !important; }
.related .work-card__title { font-size: 18px; }
.section-head .r a:hover, .site-footer .c a:hover, .did a:hover { color: #fff; }
.case-hero .case-meta { margin-top: clamp(28px, 4vw, 56px); }
@media (max-width: 1100px) { .related { grid-template-columns: 1fr 1fr; } }
@media (max-width: 860px) {
  .pillars--wrap { grid-template-columns: 1fr; }
  .pillars--wrap .pillar:nth-child(-n+3) { border-top: 1px solid var(--line); }
  .pillars--wrap .pillar:first-child { border-top: 0; }
  .related { grid-template-columns: 1fr; }
}

.voice--static { padding-bottom: 0; }
.voice--static .statement { font-size: clamp(22px, 3vw, 46px); line-height: 1.08; }

/* Four-pillar service grid on the home page */
.pillars.pillars--4 { grid-template-columns: repeat(4, 1fr); }
.pillars--4 .pillar { text-align: left; }
.pillars--4 .pillar p { margin: 0 0 18px; max-width: none; }
.pillars--4 .pillar .h-sm a:hover { text-decoration: underline; text-underline-offset: 4px; }
.pillar__link { display: inline-block; color: var(--text); }
.pillar__link:hover { text-decoration: underline; text-underline-offset: 4px; }
@media (max-width: 900px) { .pillars.pillars--4 { grid-template-columns: 1fr 1fr; } .pillars--4 .pillar:nth-child(3) { border-left: 0; } .pillars--4 .pillar:nth-child(n+3) { border-top: 1px solid var(--line); } }
@media (max-width: 560px) { .pillars.pillars--4 { grid-template-columns: 1fr; } .pillars--4 .pillar { border-left: 0; } .pillars--4 .pillar:nth-child(n+2) { border-top: 1px solid var(--line); } }
.pillars--4 .pillar { display: flex; flex-direction: column; }
.pillars--4 .pillar__link { margin-top: auto; }

.cta-block .btn + .btn { margin-left: 10px; }
@media (max-width: 520px) { .cta-block .btn { display: inline-flex; margin: 6px 0; } .cta-block .btn + .btn { margin-left: 0; } }

/* --------------------------------------------------------------------------
   Text us — pre-written SMS to Ryan + Randall (Padster's book-a-showing pattern)
   -------------------------------------------------------------------------- */
.textus { max-width: 720px; margin: 40px auto 0; text-align: left; border: 1px solid var(--line-strong); border-radius: var(--radius); background: rgba(8,8,8,0.8); padding: clamp(22px, 3vw, 36px); }
.textus__head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; margin-bottom: 6px; }
.textus__title { font-family: var(--font-display); font-weight: 600; font-size: clamp(20px, 2vw, 26px); letter-spacing: -0.01em; }
.textus__sub { color: var(--muted); font-size: 15px; margin-bottom: 18px; }
.textus__modes { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.textus__mode { font-family: var(--font-display); font-weight: 500; font-size: 13px; letter-spacing: 0.04em; text-transform: uppercase; padding: 10px 14px; border-radius: 999px; border: 1px solid var(--line-strong); color: var(--text-2); background: transparent; transition: background 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease); }
.textus__mode:hover { border-color: #fff; color: #fff; }
.textus__mode.is-picked { background: #fff; color: #000; border-color: #fff; }
.textus textarea { width: 100%; min-height: 112px; resize: vertical; font: 16px/1.5 var(--font-body); color: var(--text); background: #000; border: 1px solid var(--line-strong); border-radius: var(--radius-sm); padding: 14px 16px; outline: none; }
.textus textarea:focus { border-color: #fff; }
.textus__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-top: 14px; }
.textus__foot .label { max-width: 34em; }
.textus__foot .label a { color: var(--text); }
