/* ============================================================
   Rightsyde Media — reference site stylesheet
   Aligned to RightsydeMediaBrandGuidelines v2 (April 2026).
   Color tokens use brand names (Ink/Bone/Lime/Graphite/Dust).
   Type uses DM Serif Display + Archivo + JetBrains Mono.
   Default ground is Ink — site biases dark, alternates to Bone.
   ============================================================ */

/* -------- Tokens ------------------------------------------ */

:root {
  /* color — brand palette, 60/25/10/3/2 composition target */
  --ink: #0A0A0A;
  --bone: #F5F1E8;
  --lime: #B8FF4D;
  --graphite: #2A2A2A;
  --dust: #D9D4C6;

  /* derived text colors */
  --text-on-ink: var(--bone);
  --text-on-bone: var(--ink);
  --muted-on-ink: rgba(245, 241, 232, 0.55);
  --muted-on-bone: rgba(10, 10, 10, 0.55);

  /* type */
  --font-display: "DM Serif Display", "Iowan Old Style", "Times New Roman", serif;
  --font-system: "Archivo", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;

  /* layout */
  --container: 1240px;
  --container-pad: clamp(20px, 4vw, 56px);
  --section-pad-y: clamp(70px, 10vw, 130px);

  /* spacing */
  --gap-xs: 8px;
  --gap-sm: 16px;
  --gap: 24px;
  --gap-lg: 40px;
  --gap-xl: 64px;

  /* radii */
  --radius-card: 14px;
  --radius-large: 22px;
  --radius-pill: 999px;

  /* motion */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --dur-fast: 200ms;
  --dur: 380ms;
  --dur-slow: 1400ms;

  /* z */
  --z-nav: 40;
  --z-loader: 90;
}

/* -------- Reset (lightweight) ----------------------------- */

*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  margin: 0;
  background: var(--ink);              /* default ground = Ink */
  color: var(--text-on-ink);
  font-family: var(--font-system);
  font-size: 17px;
  line-height: 1.55;
}

/* When a page leads on Bone (e.g. about/long-form), set body data attr */
body[data-ground="bone"] {
  background: var(--bone);
  color: var(--text-on-bone);
}

@media (max-width: 640px) {
  body { font-size: 16px; }
}

img, svg, video { display: block; max-width: 100%; height: auto; }

button { font: inherit; color: inherit; cursor: pointer; }

a { color: inherit; text-decoration: none; }

ul, ol { padding: 0; margin: 0; list-style: none; }

p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

::selection { background: var(--lime); color: var(--ink); }

/* -------- Type primitives --------------------------------- */

/* Display — DM Serif Display, italic available */
.t-display-xl,
.t-display-l,
.t-display-m {
  font-family: var(--font-display);
  font-weight: 400;
  margin: 0;
}

.t-display-xl {
  font-size: clamp(56px, 13vw, 180px);
  line-height: 0.95;
  letter-spacing: -0.02em;
}
.t-display-l {
  font-size: clamp(44px, 9vw, 110px);
  line-height: 1;
  letter-spacing: -0.02em;
}
.t-display-m {
  font-size: clamp(34px, 6vw, 72px);
  line-height: 1.05;
  letter-spacing: -0.02em;
}

/* Heading — Archivo Black */
.t-heading {
  font-family: var(--font-system);
  font-weight: 800;
  font-size: clamp(28px, 3.5vw, 40px);
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin: 0;
}

/* Body — fluid */
.t-body {
  font-family: var(--font-system);
  font-weight: 400;
  font-size: clamp(17px, 1.4vw, 22px);
  line-height: 1.55;
}

/* Label / eyebrow — JetBrains Mono */
.t-label,
.eyebrow {
  font-family: var(--font-mono);
  font-weight: 400;
  font-size: 12px;
  line-height: 1;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--muted-on-ink);
}
body[data-ground="bone"] .eyebrow,
.section--bone .eyebrow { color: var(--muted-on-bone); }
.section--ink .eyebrow { color: var(--muted-on-ink); }

.eyebrow::before {
  content: "";
  width: 22px;
  height: 1px;
  background: currentColor;
  display: inline-block;
}
.eyebrow--accent::before { background: var(--lime); height: 2px; }

/* italic accent — wrap one word in <em class="accent"> within a display heading */
em.accent {
  font-style: italic;
  color: var(--lime);
  font-family: var(--font-display);
  font-weight: 400;
}

/* On Bone backgrounds the Lime headline accent is hard to read at scale.
   Switch to Ink with a thick Lime underline so the brand signal still
   appears once per composition without crushing legibility. */
.section--bone em.accent,
body[data-ground="bone"] em.accent {
  color: var(--ink);
  text-decoration: underline;
  text-decoration-color: var(--lime);
  text-decoration-thickness: 5px;
  text-underline-offset: 8px;
}

/* Wordmark voices (text utilities) */
.wm-system    { font-family: var(--font-system); font-weight: 900; letter-spacing: -0.02em; text-transform: lowercase; }
.wm-editorial { font-family: var(--font-display); font-style: italic; }
.wm-editorial .syde { font-family: var(--font-system); font-weight: 900; font-style: normal; letter-spacing: -0.02em; }
.wm-caps      { font-family: var(--font-system); font-weight: 900; letter-spacing: 0.18em; text-transform: uppercase; }

/* Drop cap — used on first paragraph of long-form (about page story) */
.drop-cap::first-letter {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 4.2em;
  line-height: 0.9;
  float: left;
  padding: 0.05em 0.12em 0 0;
  color: var(--lime);
}

/* -------- Layout primitives ------------------------------- */

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--container-pad);
}

.section {
  padding-block: var(--section-pad-y);
}

/* Three brand grounds */
.section--ink {
  background: var(--ink);
  color: var(--text-on-ink);
}
.section--bone {
  background: var(--bone);
  color: var(--text-on-bone);
}
.section--lime {
  background: var(--lime);
  color: var(--ink);
}

/* -------- Buttons & links --------------------------------- */

.btn {
  --btn-bg: var(--bone);
  --btn-fg: var(--ink);
  --btn-border: var(--bone);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 22px;
  border-radius: var(--radius-pill);
  background: var(--btn-bg);
  color: var(--btn-fg);
  border: 1px solid var(--btn-border);
  font-family: var(--font-system);
  font-weight: 600;
  font-size: 15px;
  line-height: 1;
  cursor: pointer;
  transition: transform var(--dur-fast) var(--ease),
              background var(--dur-fast) var(--ease),
              color var(--dur-fast) var(--ease),
              border-color var(--dur-fast) var(--ease);
  text-decoration: none;
  white-space: nowrap;
}

.btn:hover { transform: translateY(-1px); }
.btn:focus-visible { outline: 2px solid var(--lime); outline-offset: 3px; }

/* primary on light → Ink fill */
.btn--primary {
  --btn-bg: var(--ink);
  --btn-fg: var(--bone);
  --btn-border: var(--ink);
}
.btn--primary:hover { --btn-bg: var(--graphite); --btn-border: var(--graphite); }

/* primary on dark → Bone fill, hover swaps to Lime (1× per composition rule) */
.btn--primary-on-ink {
  --btn-bg: var(--bone);
  --btn-fg: var(--ink);
  --btn-border: var(--bone);
}
.btn--primary-on-ink:hover { --btn-bg: var(--lime); --btn-fg: var(--ink); --btn-border: var(--lime); }

/* ghost on light */
.btn--ghost {
  --btn-bg: transparent;
  --btn-fg: var(--ink);
  --btn-border: var(--ink);
}
.btn--ghost:hover { --btn-bg: var(--ink); --btn-fg: var(--bone); }

/* ghost on dark */
.btn--ghost-on-ink {
  --btn-bg: transparent;
  --btn-fg: var(--bone);
  --btn-border: rgba(245, 241, 232, 0.3);
}
.btn--ghost-on-ink:hover { --btn-border: var(--bone); }

.btn .arrow {
  display: inline-block;
  transition: transform var(--dur-fast) var(--ease);
}
.btn:hover .arrow { transform: translateX(3px); }

/* link with animated underline (lime) */
.link-underline {
  position: relative;
  display: inline-block;
  padding-bottom: 2px;
}
.link-underline::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 2px;
  background: var(--lime);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform var(--dur) var(--ease);
}
.link-underline:hover::after { transform: scaleX(1); }

/* -------- Cards ------------------------------------------- */

.card {
  background: var(--bone);
  color: var(--ink);
  border: 1px solid var(--dust);
  border-radius: var(--radius-card);
  padding: clamp(24px, 3vw, 36px);
  display: flex;
  flex-direction: column;
  gap: var(--gap);
}

.card--ink {
  background: var(--ink);
  color: var(--text-on-ink);
  border-color: var(--graphite);
}
.card--ink .eyebrow { color: var(--muted-on-ink); }

.card--feature { padding: clamp(32px, 4vw, 56px); }

/* numbered card — number sits top-left in serif */
.numbered-card .num {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(48px, 6vw, 88px);
  line-height: 1;
  letter-spacing: -0.02em;
  margin-bottom: var(--gap-sm);
  color: var(--muted-on-bone);
}
.card--ink .numbered-card .num { color: var(--muted-on-ink); }

/* tag pills (capability tags) — mono */
.tag {
  display: inline-flex;
  align-items: center;
  padding: 6px 12px;
  border: 1px solid var(--dust);
  border-radius: var(--radius-pill);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  line-height: 1;
  color: var(--muted-on-bone);
  background: transparent;
}
.card--ink .tag { color: var(--muted-on-ink); border-color: var(--graphite); }
.tag--accent {
  color: var(--ink);
  background: var(--lime);
  border-color: var(--lime);
}

/* -------- Dark CTA banner --------------------------------- */

.cta-banner {
  background: var(--ink);
  color: var(--text-on-ink);
  border-radius: var(--radius-large);
  padding: clamp(48px, 7vw, 96px);
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.cta-banner::before {
  /* soft Lime radial glow, top-right — the one Lime hit per CTA composition */
  content: "";
  position: absolute;
  inset: -40% -10% auto auto;
  width: 60%;
  aspect-ratio: 1;
  background: radial-gradient(closest-side, rgba(184, 255, 77, 0.18), transparent 70%);
  filter: blur(40px);
  z-index: -1;
  pointer-events: none;
}

/* -------- Page loader (Suma-style) ----------------------- */

#loader {
  position: fixed;
  inset: 0;
  z-index: var(--z-loader);
  background: var(--ink);
  color: var(--text-on-ink);
  display: grid;
  place-items: center;
  transform: translateY(0);
  transition: transform var(--dur-slow) var(--ease);
}

#loader.is-leaving { transform: translateY(-100%); }
#loader.is-hidden { display: none; }

.loader-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
  padding-inline: 24px;
  text-align: center;
}

.loader-mark { width: clamp(120px, 18vw, 200px); height: auto; }

.loader-counter {
  font-family: var(--font-mono);
  font-weight: 400;
  font-size: 14px;
  letter-spacing: 0.18em;
  color: var(--muted-on-ink);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.loader-counter .dot {
  /* the loader's one Lime hit */
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--lime);
  display: inline-block;
}

/* -------- Marquee — Superside-style pills ---------------- */

.marquee {
  overflow: hidden;
  background: var(--ink);
  color: var(--text-on-ink);
  padding-block: 22px;
  border-block: 1px solid var(--graphite);
}

.marquee-track {
  display: flex;
  gap: 12px;
  width: max-content;
  align-items: center;
  animation: marquee 40s linear infinite;
}

@keyframes marquee {
  to { transform: translateX(-50%); }
}

.marquee:hover .marquee-track { animation-play-state: paused; }

/* Pill — Bone-bg rounded chip with thumbnail + label.
   Swap `--pill-bg` with `url('...')` or insert <img>/<video>
   inside .pill__media when assets land. */
.pill {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 6px 22px 6px 6px;
  background: var(--bone);
  color: var(--ink);
  border-radius: 999px;
  flex-shrink: 0;
  white-space: nowrap;
}

.pill__media {
  width: 44px;
  height: 44px;
  border-radius: 999px;
  background: var(--pill-bg, linear-gradient(135deg, var(--graphite), var(--ink)));
  background-size: cover;
  background-position: center;
  flex-shrink: 0;
  overflow: hidden;
}

.pill__media img,
.pill__media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.pill__label {
  font-family: var(--font-system);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0;
}

/* -------- Reveal on scroll (JS adds .is-visible) ---------- */

.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease);
  will-change: opacity, transform;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal[style*="--reveal-delay"] {
  transition-delay: var(--reveal-delay);
}

/* -------- Top nav (sticky) -------------------------------- */

.site-nav {
  position: sticky;
  top: 0;
  z-index: var(--z-nav);
  background: rgba(10, 10, 10, 0.78);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid var(--graphite);
  color: var(--text-on-ink);
}

body[data-ground="bone"] .site-nav {
  background: rgba(245, 241, 232, 0.78);
  border-bottom: 1px solid var(--dust);
  color: var(--text-on-bone);
}

.site-nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: 16px;
  gap: var(--gap);
}

.site-nav__brand { display: inline-flex; align-items: center; }
.site-nav__brand img { width: auto; }
.site-nav__brand-img--wordmark { height: 24px; display: block; }
.site-nav__brand-img--mark { height: 32px; display: none; }
/* When the nav has scrolled past the top of the page (JS toggles
   .is-stuck), trade the full wordmark for the compact rs mark — keeps
   the header visually lighter as the user scrolls and re-asserts the
   brand glyph the way it appears in the OG card and favicon. */
.site-nav.is-stuck .site-nav__brand-img--wordmark { display: none; }
.site-nav.is-stuck .site-nav__brand-img--mark     { display: block; }
/* Mobile: always show the compact mark (the long wordmark crowds the
   nav at narrow widths and pushes the menu button off-center). */
@media (max-width: 860px) {
  .site-nav__brand-img--wordmark { display: none; }
  .site-nav__brand-img--mark     { display: block; height: 30px; }
}

.site-nav__links {
  display: flex;
  align-items: center;
  gap: 28px;
}

.site-nav__links a {
  font-family: var(--font-system);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0;
}

.site-nav__cta { display: flex; align-items: center; gap: 12px; }

.site-nav__toggle {
  display: none;
  background: transparent;
  border: 1px solid currentColor;
  border-radius: var(--radius-pill);
  padding: 10px 16px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

@media (max-width: 860px) {
  .site-nav__links,
  .site-nav__cta .btn--ghost,
  .site-nav__cta .btn--ghost-on-ink { display: none; }
  .site-nav__toggle { display: inline-flex; }
}
@media (max-width: 600px) {
  .site-nav__cta { display: none; }
}

.mobile-menu {
  position: fixed;
  inset: 0;
  background: var(--ink);
  color: var(--text-on-ink);
  z-index: calc(var(--z-nav) + 1);
  display: none;
  flex-direction: column;
  padding: 24px;
}
.mobile-menu.is-open { display: flex; }
.mobile-menu__close { align-self: flex-end; }
.mobile-menu nav {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 32px;
}
.mobile-menu nav a {
  font-family: var(--font-display);
  font-size: 36px;
  line-height: 1.2;
  padding: 8px 0;
}

/* -------- Footer ------------------------------------------ */

.site-footer {
  background: var(--ink);
  color: var(--text-on-ink);
  padding-block: clamp(48px, 6vw, 80px) 32px;
}
.site-footer .container { display: grid; gap: var(--gap-xl); }
.site-footer__top {
  display: grid;
  gap: var(--gap-lg);
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
}
.site-footer h4 {
  font-family: var(--font-mono);
  font-weight: 400;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--muted-on-ink);
  margin: 0 0 14px;
}
.site-footer ul { display: flex; flex-direction: column; gap: 10px; }
.site-footer a { color: var(--text-on-ink); }
.site-footer a:hover { color: var(--lime); }
.site-footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 24px;
  border-top: 1px solid var(--graphite);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--muted-on-ink);
}

@media (max-width: 860px) {
  .site-footer__top { grid-template-columns: 1fr 1fr; }
  .site-footer__bottom { flex-direction: column; gap: 16px; align-items: flex-start; }
}

/* -------- Reduced motion --------------------------------- */

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .reveal { opacity: 1; transform: none; }
  #loader { transition: opacity var(--dur-fast) ease; transform: none; }
  #loader.is-leaving { opacity: 0; transform: none; }
  .marquee-track { animation: none; }
  .btn:hover, .link-underline::after { transform: none; }
  .link-underline::after { transform: scaleX(1); transition: none; }
}

/* ============================================================
   Page sections — home + shared cross-page section layouts
   ============================================================ */

/* -------- Section header --------------------------------- */

.section-header {
  display: flex;
  flex-direction: column;
  gap: var(--gap);
  max-width: 880px;
  margin-bottom: var(--gap-xl);
}
.section-header--center {
  text-align: center;
  margin-inline: auto;
  align-items: center;
}
.section-header__lead { max-width: 60ch; }
.section--ink .section-header__lead { color: var(--muted-on-ink); }
.section--bone .section-header__lead { color: var(--muted-on-bone); }

/* -------- Hero — 2-col Superside-style ------------------- */

.hero {
  min-height: 92vh;
  display: flex;
  flex-direction: column;
  padding-top: clamp(80px, 12vh, 140px);
  padding-bottom: clamp(28px, 4vw, 48px);
  overflow: hidden;
}

.hero__inner {
  flex: 1 1 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: clamp(40px, 5vw, 72px);
  align-items: center;
  width: 100%;
}

.hero__copy {
  display: flex;
  flex-direction: column;
  gap: var(--gap-lg);
  max-width: 640px;
}

/* Hero headline — Display L scale per Superside reference */
.hero__headline {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(44px, 9vw, 110px);
  line-height: 0.98;
  letter-spacing: -0.02em;
}

.hero__lead {
  max-width: 52ch;
  color: var(--muted-on-ink);
}

.hero__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: var(--gap-sm);
}

/* -------- Hero media — 3 vertical-scrolling tile columns -- */

.hero__media {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  height: clamp(560px, 86vh, 860px);
  overflow: hidden;
  /* Top + bottom mask so tiles fade out into the Ink ground */
  -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 7%, #000 93%, transparent 100%);
  mask-image: linear-gradient(180deg, transparent 0, #000 7%, #000 93%, transparent 100%);
}

.hero__col {
  display: flex;
  flex-direction: column;
  gap: 14px;
  animation: hero-scroll-up 38s linear infinite;
  will-change: transform;
}

.hero__col[data-vmarquee="down"] {
  animation-name: hero-scroll-down;
  animation-duration: 46s;
}

/* Initial vertical offsets so columns don't all start aligned */
.hero__col:nth-child(2) { padding-top: 80px; }
.hero__col:nth-child(3) { padding-top: 32px; }

@keyframes hero-scroll-up {
  from { transform: translateY(0); }
  to   { transform: translateY(-50%); }
}
@keyframes hero-scroll-down {
  from { transform: translateY(-50%); }
  to   { transform: translateY(0); }
}

.hero__tile {
  flex: 0 0 auto;
  aspect-ratio: 4 / 5; /* default for image placeholders */
  border-radius: 14px;
  background: var(--tile-bg, linear-gradient(135deg, var(--graphite), var(--ink)));
  border: 1px solid var(--graphite);
  position: relative;
  overflow: hidden;
}

/* Aspect modifiers — each video tile matches its source dimensions
   so videos fill natively without crop. Columns mix short/tall tiles
   to create masonry rhythm; vertical tiles dominate the vertical
   inventory, horizontal tiles act as visual breaks. */
.hero__tile--16-9 { aspect-ratio: 16 / 9; }
.hero__tile--9-16 { aspect-ratio: 9 / 16; }
.hero__tile--4-5  { aspect-ratio: 4 / 5; }

.hero__tile::after {
  /* Subtle sheen so placeholder tiles read as media rather than flat color */
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(120% 100% at 0% 0%, rgba(245, 241, 232, 0.04), transparent 60%);
  pointer-events: none;
  z-index: 1;
}

/* Video-tile variant — Vimeo iframe in background mode.
   Iframe is over-sized to 16:9 then center-cropped so the video covers
   the 4:5 tile regardless of its native aspect ratio. */
.hero__tile--video {
  /* Use poster image as background so the tile never goes blank
     while the Vimeo iframe is still booting up. Iframe overlays on load. */
  background: var(--tile-bg, var(--ink)) center/cover var(--ink);
}

.hero__tile--video iframe,
.hero__tile--video video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  pointer-events: none;
  z-index: 0;
  object-fit: cover; /* covers any aspect drift between source and tile */
}

/* Video tiles get a bottom-only dark gradient so the mono label stays
   readable over varied footage, instead of the placeholder sheen. */
.hero__tile--video::after {
  background: linear-gradient(180deg, transparent 0%, transparent 55%, rgba(0, 0, 0, 0.55) 100%);
}

.hero__tile-label {
  position: absolute;
  inset: auto auto 12px 14px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted-on-ink);
  z-index: 2;
}

.hero__tile--video .hero__tile-label {
  /* Slight text shadow as a safety net over very bright footage */
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

/* -------- Hero stats strip (below the 2-col block) ------- */

.hero__stats-wrap {
  flex: 0 0 auto;
  padding-top: var(--gap-lg);
  border-top: 1px solid var(--graphite);
  margin-top: var(--gap-xl);
}

.hero__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--gap);
  text-align: center;
  justify-items: center;
}
.hero__stats li { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.hero__stat-num {
  font-family: var(--font-display);
  font-size: clamp(32px, 3.6vw, 48px);
  line-height: 1;
  letter-spacing: -0.02em;
}
.hero__stat-label {
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--muted-on-ink);
}

@media (max-width: 960px) {
  .hero__inner {
    grid-template-columns: 1fr;
    gap: var(--gap-xl);
  }
  .hero__media {
    height: clamp(420px, 60vh, 560px);
  }
}

@media (max-width: 720px) {
  .hero__stats { grid-template-columns: 1fr; gap: var(--gap-lg); }
}

/* Mobile hero — keep the video slider visible with a tighter 2-col layout.
   On phone widths both columns continue to scroll vertically in opposite
   directions, giving the same "feed" feel as desktop just at smaller scale. */
@media (max-width: 600px) {
  .hero__media {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    height: clamp(420px, 64vh, 560px);
  }
  .hero__col { gap: 10px; }
  /* Slightly faster scroll on mobile so motion reads clearly in a small frame */
  .hero__col[data-vmarquee="up"]   { animation-duration: 32s; }
  .hero__col[data-vmarquee="down"] { animation-duration: 38s; }
  /* Tighter staggered offsets for the shorter column heights */
  .hero__col:nth-child(2) { padding-top: 40px; }
}

@media (max-width: 380px) {
  /* Smallest phones — keep both cols but pull the height in a notch */
  .hero__media { height: clamp(360px, 56vh, 460px); gap: 8px; }
  .hero__col { gap: 8px; }
}

@media (prefers-reduced-motion: reduce) {
  .hero__col { animation: none !important; }
}

/* -------- Services grid — 6 Netflix-style cards (3 cols) - */

#services-heading,
#testimonials-heading,
#cta-heading {
  font-size: clamp(31px, 6.3vw, 77px);
}
#services-heading,
#testimonials-heading {
  white-space: nowrap;
}

/* CTA banner sits inside section--bone but its own surface is Ink — restore
   the Lime headline accent (override the Bone underline treatment). */
.cta-banner em.accent {
  color: var(--lime);
  text-decoration: none;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--gap);
}

@media (max-width: 960px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .services-grid { grid-template-columns: 1fr; }
}

.tags { display: flex; flex-wrap: wrap; gap: 8px; }

.service-card {
  position: relative;
  aspect-ratio: 5 / 6;
  border-radius: 22px;
  overflow: hidden;
  background: var(--ink);
  color: var(--bone);
  isolation: isolate;
  transition: transform var(--dur) var(--ease);
}
.service-card:hover { transform: translateY(-2px); }

.service-card__media {
  position: absolute;
  inset: 0;
  background: var(--card-bg, linear-gradient(135deg, var(--graphite), var(--ink)));
  background-size: cover;
  background-position: center;
  z-index: 0;
}
.service-card__media img,
.service-card__media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* -------- Growth card — photo → meta ad → email → sms cascade ------- */
.service-card--growth .service-card__media {
  background:
    linear-gradient(rgba(10, 10, 10, 0.45), rgba(10, 10, 10, 0.45)),
    url('../assets/services/growth/clubs.jpg') center/cover no-repeat,
    var(--ink);
  transition: transform 600ms cubic-bezier(0.16, 1, 0.3, 1);
}
/* Continuous horizontal marquee in the lower portion of the card.
   The marquee duplicator JS clones the 4 mockups in place (8 total in the track),
   then the track translates -50% in a slow linear loop so the wrap is invisible. */
.growth-stage {
  position: absolute;
  left: 0;
  right: 0;
  top: 30%;
  bottom: 0;
  overflow: hidden;
}
.growth-track {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  width: max-content;
  animation: growth-marquee 40s linear infinite;
  will-change: transform;
}
.growth-frame {
  flex: 0 0 auto;
  width: 280px;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 0 18px;
  opacity: 1;
  transform: none;
  animation: none;
}
@keyframes growth-marquee {
  to { transform: translateX(-50%); }
}
.growth-tag {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--lime);
}

/* ----- Meta · Instagram-style ad card ------------------------------- */
.ig-card {
  width: 200px;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 12px 28px rgba(0,0,0,0.45);
  display: flex;
  flex-direction: column;
}
.ig-card__head {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
}
.ig-card__avatar {
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--ink);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  overflow: hidden;
}
.ig-card__avatar img {
  width: 78%;
  height: 78%;
  display: block;
}
.ig-card__meta {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
  flex: 1;
  min-width: 0;
}
.ig-card__user {
  font-family: var(--font-system);
  font-weight: 700;
  font-size: 11px;
  color: #0a0a0a;
}
.ig-card__sub {
  font-family: var(--font-system);
  font-size: 9px;
  color: #8e8e8e;
}
.ig-card__dots {
  font-size: 14px;
  color: #0a0a0a;
  line-height: 1;
}
.ig-card__media {
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: #ddd;
}
.ig-card__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ig-card__actions {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px 4px;
  font-size: 14px;
  color: #0a0a0a;
}
.ig-card__bookmark { margin-left: auto; }
.ig-card__cta {
  font-family: var(--font-system);
  font-weight: 700;
  font-size: 11px;
  color: #0a0a0a;
  padding: 4px 10px 10px;
}

/* ----- Google · Search ad with sitelink ----------------------------- */
.g-card {
  width: 260px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 12px 28px rgba(0,0,0,0.45);
  padding: 12px 12px 10px;
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-areas:
    "head head"
    "title thumb"
    "desc thumb";
  column-gap: 10px;
  row-gap: 4px;
  align-items: start;
}
.g-card__head {
  grid-area: head;
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 4px;
}
.g-card__ad {
  font-family: var(--font-system);
  font-weight: 700;
  font-size: 9px;
  color: #006621;
  border: 1px solid #006621;
  padding: 1px 5px;
  border-radius: 3px;
  letter-spacing: 0.04em;
}
.g-card__url {
  font-family: var(--font-system);
  font-size: 10px;
  color: #5f6368;
}
.g-card__title {
  grid-area: title;
  font-family: var(--font-system);
  font-weight: 500;
  font-size: 13px;
  line-height: 1.25;
  color: #1a0dab;
}
.g-card__desc {
  grid-area: desc;
  font-family: var(--font-system);
  font-size: 10px;
  line-height: 1.35;
  color: #3c4043;
}
.g-card__thumb {
  grid-area: thumb;
  width: 56px;
  aspect-ratio: 1 / 1;
  border-radius: 6px;
  overflow: hidden;
  background: #eee;
}
.g-card__thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* ----- Klaviyo · email composer preview ----------------------------- */
.kl-card {
  width: 220px;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 12px 28px rgba(0,0,0,0.45);
  display: flex;
  flex-direction: column;
}
.kl-card__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 12px;
  border-bottom: 1px solid #eee;
}
.kl-card__brand {
  font-family: var(--font-system);
  font-weight: 900;
  font-size: 10px;
  letter-spacing: 0.18em;
  color: #0a0a0a;
}
.kl-card__send {
  font-family: var(--font-mono);
  font-size: 8px;
  color: #8e8e8e;
  letter-spacing: 0.08em;
}
.kl-card__subj {
  font-family: var(--font-display);
  font-size: 14px;
  line-height: 1.2;
  color: #0a0a0a;
  padding: 10px 12px 8px;
}
.kl-card__hero {
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #eee;
}
.kl-card__hero img { width: 100%; height: 100%; object-fit: cover; display: block; }
.kl-card__cta {
  font-family: var(--font-system);
  font-weight: 700;
  font-size: 11px;
  color: #fff;
  background: #0a0a0a;
  margin: 10px 12px 12px;
  padding: 7px 14px;
  border-radius: 999px;
  text-align: center;
  border: 1.5px solid var(--lime);
}

/* ----- Attentive · SMS thread --------------------------------------- */
.att-card {
  width: 200px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 6px;
}
.att-card__head {
  font-family: var(--font-system);
  font-weight: 700;
  font-size: 10px;
  letter-spacing: 0.04em;
  color: var(--muted-on-ink);
  text-align: center;
  margin-bottom: 2px;
}
.att-card__bubble {
  background: #2a2a2a;
  border-radius: 16px;
  border-bottom-left-radius: 4px;
  max-width: 78%;
  align-self: flex-start;
  overflow: hidden;
  box-shadow: 0 8px 18px rgba(0,0,0,0.4);
}
.att-card__bubble--media { padding: 0; }
.att-card__bubble--media img {
  width: 100%;
  height: 110px;
  object-fit: cover;
  display: block;
}
.att-card__bubble--text {
  padding: 8px 12px;
  font-family: var(--font-system);
  font-size: 11px;
  line-height: 1.35;
  color: var(--text-on-ink);
}

.service-card--growth:hover .growth-track { animation-play-state: paused; }
.service-card--growth:hover .service-card__media { transform: scale(1.04); }
@media (prefers-reduced-motion: reduce) {
  .growth-track { animation: none; transform: translateX(0); }
}

/* -------- Marketing Management card — subtle horizontal roadmap with a car -- */
.service-card--mm .service-card__media {
  background:
    linear-gradient(rgba(10, 10, 10, 0.6), rgba(10, 10, 10, 0.72)),
    url('../assets/services/creative/biker.jpg') center/cover no-repeat,
    var(--ink);
  transition: transform 600ms cubic-bezier(0.16, 1, 0.3, 1);
}
.mm-roadmap {
  position: absolute;
  inset: 0;
}
.mm-roadmap__svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}
.mm-roadmap__road {
  stroke: rgba(245, 241, 232, 0.22);
  stroke-width: 1.5;
  stroke-dasharray: 6 8;
  stroke-linecap: round;
  fill: none;
}
.mm-step {
  position: absolute;
  left: var(--x);
  top: var(--y);
  transform: translate(-50%, -50%);
  z-index: 2;
}
.mm-step__dot {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--ink);
  border: 1.5px solid rgba(245, 241, 232, 0.32);
  display: grid;
  place-items: center;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  color: rgba(245, 241, 232, 0.55);
  transition: background 500ms ease, border-color 500ms ease, color 500ms ease;
}
.mm-step__label {
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(245, 241, 232, 0.7);
  white-space: nowrap;
}
/* Stages light to bone briefly as the car passes, then fade back. Subtle, no scale or glow. */
.mm-step--1 .mm-step__dot { animation: mm-step-on-1 16s ease infinite; }
.mm-step--2 .mm-step__dot { animation: mm-step-on-2 16s ease infinite; }
.mm-step--3 .mm-step__dot { animation: mm-step-on-3 16s ease infinite; }
.mm-step--4 .mm-step__dot { animation: mm-step-on-4 16s ease infinite; }
@keyframes mm-step-on-1 {
  0%, 18%   { background: var(--ink); border-color: rgba(245,241,232,0.32); color: rgba(245,241,232,0.55); }
  24%, 92%  { background: var(--bone); border-color: var(--bone); color: var(--ink); }
  100%      { background: var(--ink); border-color: rgba(245,241,232,0.32); color: rgba(245,241,232,0.55); }
}
@keyframes mm-step-on-2 {
  0%, 36%   { background: var(--ink); border-color: rgba(245,241,232,0.32); color: rgba(245,241,232,0.55); }
  42%, 92%  { background: var(--bone); border-color: var(--bone); color: var(--ink); }
  100%      { background: var(--ink); border-color: rgba(245,241,232,0.32); color: rgba(245,241,232,0.55); }
}
@keyframes mm-step-on-3 {
  0%, 54%   { background: var(--ink); border-color: rgba(245,241,232,0.32); color: rgba(245,241,232,0.55); }
  60%, 92%  { background: var(--bone); border-color: var(--bone); color: var(--ink); }
  100%      { background: var(--ink); border-color: rgba(245,241,232,0.32); color: rgba(245,241,232,0.55); }
}
@keyframes mm-step-on-4 {
  0%, 72%   { background: var(--ink); border-color: rgba(245,241,232,0.32); color: rgba(245,241,232,0.55); }
  78%, 92%  { background: var(--bone); border-color: var(--bone); color: var(--ink); }
  100%      { background: var(--ink); border-color: rgba(245,241,232,0.32); color: rgba(245,241,232,0.55); }
}

/* Pitch line above the roadmap */
.mm-pitch {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80%;
  margin: 0;
  font-family: var(--font-system);
  font-weight: 500;
  font-size: 13px;
  line-height: 1.35;
  letter-spacing: -0.005em;
  color: var(--bone);
  text-align: center;
  z-index: 2;
}

.service-card--mm:hover .mm-step__dot {
  animation-play-state: paused;
}
.service-card--mm:hover .service-card__media { transform: scale(1.04); }
@media (prefers-reduced-motion: reduce) {
  .mm-step__dot { animation: none; background: var(--bone); border-color: var(--bone); color: var(--ink); }
}

/* -------- AI Services card — type prompt → load ad variations canvas -- */
.service-card--ai .service-card__media {
  /* Lime dot grid + soft center glow over Ink (Higgsfield-canvas aesthetic) */
  background:
    radial-gradient(ellipse 80% 60% at 50% 60%, rgba(184, 255, 77, 0.12) 0%, transparent 70%),
    radial-gradient(rgba(184, 255, 77, 0.18) 0.8px, transparent 0.8px) 0 0 / 14px 14px,
    var(--ink);
  transition: transform 600ms cubic-bezier(0.16, 1, 0.3, 1);
}
.ai-platform {
  position: absolute;
  inset: 0;
  padding: 22px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 10px;
}

/* Prompt bar — typewriter input */
.ai-platform__prompt {
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(10, 10, 10, 0.85);
  border: 1px solid rgba(184, 255, 77, 0.4);
  border-radius: 8px;
  padding: 7px 9px;
  font-family: var(--font-mono);
  font-size: 9.5px;
  color: var(--text-on-ink);
  z-index: 2;
}
.ai-platform__caret {
  color: var(--lime);
  flex-shrink: 0;
  font-weight: 700;
}
.ai-platform__type {
  white-space: nowrap;
  overflow: hidden;
  width: 0;
  border-right: 1.5px solid var(--lime);
  flex: 1;
  min-width: 0;
  animation: ai-type 10s steps(43, end) infinite;
}
@keyframes ai-type {
  0%       { width: 0; border-right-color: var(--lime); }
  32%      { width: 100%; border-right-color: var(--lime); }
  35%      { border-right-color: transparent; }
  37%      { border-right-color: var(--lime); }
  40%, 92% { width: 100%; border-right-color: transparent; }
  100%     { width: 0; }
}
.ai-platform__btn {
  background: var(--lime);
  color: var(--ink);
  font-family: var(--font-system);
  font-weight: 700;
  font-size: 8.5px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 4px 8px;
  border-radius: 4px;
  flex-shrink: 0;
  animation: ai-btn-pulse 10s ease-in-out infinite;
}
@keyframes ai-btn-pulse {
  0%, 35% { transform: scale(1); box-shadow: 0 0 0 0 rgba(184,255,77,0); }
  37%     { transform: scale(0.92); box-shadow: 0 0 0 0 rgba(184,255,77,0.5); }
  41%     { transform: scale(1); box-shadow: 0 0 0 10px rgba(184,255,77,0); }
  100%    { transform: scale(1); box-shadow: 0 0 0 0 rgba(184,255,77,0); }
}

/* Source thumb — appears once "Generate" fires */
.ai-platform__source {
  display: flex;
  align-items: center;
  gap: 6px;
  align-self: flex-start;
  opacity: 0;
  animation: ai-source-in 10s ease infinite;
}
.ai-platform__source-tag {
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--lime);
}
.ai-platform__source-img {
  width: 26px;
  height: 26px;
  border-radius: 4px;
  overflow: hidden;
  border: 1px solid rgba(184,255,77,0.5);
  box-shadow: 0 4px 8px rgba(0,0,0,0.3);
}
.ai-platform__source-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
@keyframes ai-source-in {
  0%, 40%  { opacity: 0; transform: translateY(4px); }
  44%, 92% { opacity: 1; transform: translateY(0); }
  100%     { opacity: 0; }
}

/* Variations grid — 4 thumbs, each with skeleton + shimmer that resolves to a treated copy */
.ai-platform__variations {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
}
.ai-variation {
  position: relative;
  aspect-ratio: 1 / 1;
  border-radius: 6px;
  overflow: hidden;
  background: rgba(184, 255, 77, 0.08);
  border: 1px solid rgba(184, 255, 77, 0.3);
}
.ai-variation::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent 0%, rgba(184, 255, 77, 0.3) 50%, transparent 100%);
  transform: translateX(-100%);
  animation: ai-shimmer 1.4s linear infinite;
  z-index: 1;
}
.ai-variation img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  position: relative;
  z-index: 2;
  opacity: 0;
}
@keyframes ai-shimmer {
  0%   { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}
/* Each variation reveals its image at a staggered moment within the 10s cycle.
   Filters give a "different generated take" feel without needing 4 source files. */
.ai-variation--1 img {
  animation: ai-reveal-1 10s ease infinite;
  filter: contrast(1.05);
}
.ai-variation--2 img {
  animation: ai-reveal-2 10s ease infinite;
  filter: saturate(1.5) hue-rotate(-12deg);
}
.ai-variation--3 img {
  animation: ai-reveal-3 10s ease infinite;
  filter: brightness(0.85) contrast(1.2);
}
.ai-variation--4 img {
  animation: ai-reveal-4 10s ease infinite;
  filter: sepia(0.35) saturate(1.3);
}
@keyframes ai-reveal-1 {
  0%, 44%   { opacity: 0; }
  48%, 92%  { opacity: 1; }
  100%      { opacity: 0; }
}
@keyframes ai-reveal-2 {
  0%, 51%   { opacity: 0; }
  55%, 92%  { opacity: 1; }
  100%      { opacity: 0; }
}
@keyframes ai-reveal-3 {
  0%, 58%   { opacity: 0; }
  62%, 92%  { opacity: 1; }
  100%      { opacity: 0; }
}
@keyframes ai-reveal-4 {
  0%, 65%   { opacity: 0; }
  69%, 92%  { opacity: 1; }
  100%      { opacity: 0; }
}

.service-card--ai:hover .service-card__media { transform: scale(1.04); }
.service-card--ai:hover .ai-platform__type,
.service-card--ai:hover .ai-platform__btn,
.service-card--ai:hover .ai-platform__source,
.service-card--ai:hover .ai-variation img,
.service-card--ai:hover .ai-variation::before {
  animation-play-state: paused;
}
@media (prefers-reduced-motion: reduce) {
  .ai-platform__type, .ai-platform__btn, .ai-platform__source,
  .ai-variation img, .ai-variation::before { animation: none; }
  .ai-platform__type, .ai-platform__source { width: 100%; opacity: 1; }
  .ai-variation img { opacity: 1; }
}

/* -------- Branding card — brain background + brand-guideline reel ------- */
.service-card--branding .service-card__media {
  background:
    linear-gradient(rgba(10, 10, 10, 0.55), rgba(10, 10, 10, 0.7)),
    url('../assets/services/branding/brain.jpg') center/cover no-repeat,
    var(--ink);
  transition: transform 600ms cubic-bezier(0.16, 1, 0.3, 1);
}
.brand-stage {
  position: absolute;
  inset: 0;
}
.brand-frame {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  /* Sit in the lower portion of the card, well below the title + Learn more CTA */
  justify-content: flex-end;
  gap: 14px;
  padding: 28px 28px 40px;
  opacity: 0;
  transform: translateY(50px);
  animation: brand-cycle 20s cubic-bezier(0.22, 1, 0.36, 1) infinite;
  will-change: opacity, transform;
}
.brand-frame--marks   { animation-delay: 0s; }
.brand-frame--palette { animation-delay: 5s; }
.brand-frame--type    { animation-delay: 10s; }
.brand-frame--voice   { animation-delay: 15s; }
/* Scroll-up motion: each frame slides up from below into view, holds, slides up out the top.
   20s cycle, 4 frames × 5s slot. Each frame visible ~2.6s. */
@keyframes brand-cycle {
  0%, 3%    { opacity: 0; transform: translateY(50px); }
  8%, 21%   { opacity: 1; transform: translateY(0); }
  26%, 100% { opacity: 0; transform: translateY(-50px); }
}
.brand-tag {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--lime);
}

/* Frame 1 · Logo system */
.brand-marks {
  display: grid;
  grid-template-columns: 56px 56px;
  grid-template-rows: 56px auto;
  gap: 8px;
}
.brand-marks__tile {
  border-radius: 10px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255,255,255,0.08);
}
.brand-marks__tile--ink  { background: var(--ink); }
.brand-marks__tile--bone { background: var(--bone); }
.brand-marks__tile--wide {
  grid-column: 1 / 3;
  background: var(--graphite);
  height: 28px;
  padding: 0 12px;
}
.brand-marks__tile img {
  max-width: 70%;
  max-height: 70%;
}
.brand-marks__tile--wide img {
  max-width: 100%;
  max-height: 100%;
}
/* HTML-rendered marks + wordmark — uses the live Archivo Black so the letters render reliably */
.brand-marks__rs {
  font-family: var(--font-system);
  font-weight: 900;
  font-size: 28px;
  line-height: 1;
  letter-spacing: -0.06em;
  display: block;
}
.brand-marks__rs--light { color: var(--bone); }
.brand-marks__rs--dark  { color: var(--ink); }
.brand-marks__wordmark {
  font-family: var(--font-system);
  font-weight: 900;
  font-size: 16px;
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--bone);
  display: block;
}

/* Frame 2 · Palette */
.brand-swatches {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 4px;
  width: 84%;
}
.brand-swatch {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  font-family: var(--font-mono);
  font-size: 7px;
  letter-spacing: 0.04em;
  color: var(--text-on-ink);
}
.brand-swatch::before {
  content: "";
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 6px;
  background: currentColor;
  margin-bottom: 2px;
}
.brand-swatch b {
  font-weight: 700;
  font-family: var(--font-system);
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--text-on-ink);
}
.brand-swatch i {
  font-style: normal;
  color: var(--muted-on-ink);
}
.brand-swatch--ink      { color: var(--ink); }
.brand-swatch--bone     { color: var(--bone); }
.brand-swatch--lime     { color: var(--lime); }
.brand-swatch--graphite { color: var(--graphite); }
.brand-swatch--dust     { color: var(--dust); }
/* Outline the dark swatch so it's visible on Ink */
.brand-swatch--ink::before { box-shadow: inset 0 0 0 1px var(--graphite); }

/* Frame 3 · Typography */
.brand-type {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 78%;
}
.brand-type__row {
  display: flex;
  align-items: baseline;
  gap: 12px;
  border-bottom: 1px solid var(--graphite);
  padding-bottom: 6px;
}
.brand-type__row:last-child { border-bottom: none; }
.brand-type__sample {
  color: var(--text-on-ink);
  line-height: 1;
}
.brand-type__sample--display { font-family: var(--font-display); font-size: 32px; font-style: italic; }
.brand-type__sample--system  { font-family: var(--font-system);  font-weight: 900; font-size: 22px; }
.brand-type__sample--mono    { font-family: var(--font-mono);    font-size: 18px; }
.brand-type__label {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted-on-ink);
  margin-left: auto;
}

/* Frame 4 · Voice */
.brand-voice {
  font-family: var(--font-display);
  font-size: 30px;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--text-on-ink);
  margin: 0;
  text-align: center;
}
.brand-voice em {
  font-style: italic;
  color: var(--lime);
}

.service-card--branding:hover .brand-frame { animation-play-state: paused; }
.service-card--branding:hover .service-card__media { transform: scale(1.04); }
@media (prefers-reduced-motion: reduce) {
  .brand-frame { animation: none; opacity: 1; transform: none; }
  .brand-frame:not(:first-child) { display: none; }
}

/* -------- Creative Content card — single full-card video ------------- */
.service-card--creative .service-card__media {
  background: var(--ink);
  transition: transform 600ms cubic-bezier(0.16, 1, 0.3, 1);
}
.creative-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  /* Cover so the landscape video fills the portrait card frame; center crop. */
  object-fit: cover;
  display: block;
  /* Zoom in past cover-fit so the source-video letterbox at top + caption text
     at bottom both get clipped off the card. Origin centered so it crops symmetrically. */
  transform: scale(1.6);
  transform-origin: center center;
}
.service-card--creative:hover .service-card__media { transform: scale(1.04); }

/* -------- Web & E-Commerce card — vertical marquee of site mockups -- */
.service-card--web .service-card__media {
  background: var(--ink);
  transition: transform 600ms cubic-bezier(0.16, 1, 0.3, 1);
}
.web-marquee {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  animation: web-marquee-scroll 32s linear infinite;
  will-change: transform;
}
.web-marquee img {
  width: 100% !important;
  height: auto !important;
  object-fit: initial !important;
  flex-shrink: 0;
  display: block;
}
@keyframes web-marquee-scroll {
  0%   { transform: translate3d(0, 0, 0); }
  100% { transform: translate3d(0, -50%, 0); }
}
.service-card--web:hover .web-marquee {
  animation-play-state: paused;
}
.service-card--web:hover .service-card__media {
  transform: scale(1.04);
}
@media (prefers-reduced-motion: reduce) {
  .web-marquee { animation: none; }
}

/* Top-down dark gradient so the title + Learn-more link stay readable over varied imagery */
.service-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.92) 0%, rgba(0,0,0,0.65) 28%, rgba(0,0,0,0) 55%);
  z-index: 1;
  pointer-events: none;
}

.service-card__content {
  position: relative;
  z-index: 2;
  padding: clamp(24px, 3vw, 36px);
  display: flex;
  flex-direction: column;
  gap: 14px;
  height: 100%;
}

.service-card__num {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(245, 241, 232, 0.55);
}

.service-card__title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(28px, 3vw, 44px);
  line-height: 1;
  letter-spacing: -0.02em;
  margin: 0;
  /* Subtle dark halo so the title stays crisp over varied media backgrounds */
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.55), 0 1px 3px rgba(0, 0, 0, 0.4);
}

/* Learn-more link sits directly under the title */
.service-card__cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  align-self: flex-start;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--lime);
  text-decoration: none;
  border-bottom: 1px solid rgba(184, 255, 77, 0.45);
  padding: 0 0 4px;
  margin-top: 6px;
  transition: color 200ms ease, border-color 200ms ease;
}
.service-card__cta .arrow {
  transition: transform 200ms ease;
}
.service-card__cta:hover {
  color: var(--text-on-ink);
  border-color: rgba(245, 241, 232, 0.7);
}
.service-card__cta:hover .arrow {
  transform: translateX(3px);
}

.service-card .tags { margin-top: auto; }
.service-card .tag {
  color: var(--bone);
  background: rgba(245, 241, 232, 0.08);
  border-color: rgba(245, 241, 232, 0.18);
}

/* -------- AI pillars (4-up) ------------------------------ */

.pillars {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--gap);
}
.pillar {
  display: flex;
  flex-direction: column;
  gap: var(--gap-sm);
  padding: clamp(20px, 2.5vw, 32px);
  background: var(--graphite);
  border: 1px solid var(--graphite);
  border-radius: var(--radius-card);
}
.pillar h3 { margin: 0; }
.pillar p { margin: 0; color: var(--muted-on-ink); }
.pillar .eyebrow { color: var(--muted-on-ink); }

@media (max-width: 960px) {
  .pillars { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .pillars { grid-template-columns: 1fr; }
}

/* -------- Industries (3 cards) --------------------------- */

.industry-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--gap);
}
.industry-grid .card { gap: var(--gap-sm); }
.industry-grid .card h3 { margin: 0; }
.industry-grid .card p { margin: 0; color: var(--muted-on-bone); }

@media (max-width: 960px) {
  .industry-grid { grid-template-columns: 1fr; }
}

/* -------- Process (4 steps) ------------------------------ */

.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--gap);
  list-style: none;
}
.process-step {
  display: flex;
  flex-direction: column;
  gap: var(--gap-sm);
  padding-top: var(--gap);
  border-top: 1px solid var(--dust);
}
.process-step h3 { margin: 0; }
.process-step p { margin: 0; color: var(--muted-on-bone); }

@media (max-width: 960px) {
  .process-steps { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .process-steps { grid-template-columns: 1fr; }
}

/* -------- Founders (2-up) -------------------------------- */

.founders-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--gap-lg);
}
.founder-card {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: var(--gap-lg);
  align-items: start;
}
.founder-card__portrait {
  aspect-ratio: 1;
  border-radius: var(--radius-card);
  background: linear-gradient(135deg, var(--graphite) 0%, var(--ink) 100%);
  display: grid;
  place-items: center;
  color: var(--bone);
  position: relative;
  overflow: hidden;
}
.founder-card__portrait::after {
  content: "";
  position: absolute;
  inset: auto -20% -30% auto;
  width: 60%;
  aspect-ratio: 1;
  background: radial-gradient(closest-side, rgba(184, 255, 77, 0.22), transparent 70%);
  filter: blur(20px);
}
.founder-card__initials {
  font-family: var(--font-display);
  font-size: 80px;
  line-height: 1;
  letter-spacing: -0.02em;
  position: relative;
  z-index: 1;
}
.founder-card__body {
  display: flex;
  flex-direction: column;
  gap: var(--gap-sm);
}
.founder-card__body h3 { margin: 0; }
.founder-card__body p { margin: 0; }
.founder-card__role {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted-on-bone);
}
.founder-card__personality {
  margin-top: var(--gap-sm) !important;
  color: var(--muted-on-bone);
  font-size: 0.95em;
}

@media (max-width: 1100px) {
  .founders-grid { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .founder-card { grid-template-columns: 140px 1fr; gap: var(--gap); }
  .founder-card__initials { font-size: 60px; }
}

/* -------- Testimonials (4 cards) ------------------------- */

/* Horizontal scrolling marquee (always shows the next testimonial) */
.testimonial-strip {
  position: relative;
  width: 100%;
  overflow: hidden;
  padding: var(--gap-sm) 0;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 4%, #000 96%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0, #000 4%, #000 96%, transparent 100%);
}
.testimonial-strip__track {
  display: flex;
  align-items: stretch;
  width: max-content;
  animation: testimonial-scroll 80s linear infinite;
  will-change: transform;
  /* Per-card margin-right instead of `gap` so the cloned set repeats the
     exact same spacing as the originals (each card contributes card+margin
     identically). Half the track = exactly one full set of card+margin
     blocks, so translateX(-50%) wraps perfectly to the start. */
}
.testimonial-strip__track > .testimonial {
  margin-right: var(--gap);
}
@keyframes testimonial-scroll {
  to { transform: translateX(-50%); }
}
.testimonial-strip:hover .testimonial-strip__track { animation-play-state: paused; }
@media (prefers-reduced-motion: reduce) {
  .testimonial-strip__track { animation: none; overflow-x: auto; }
  .testimonial-strip { mask-image: none; -webkit-mask-image: none; }
}

.testimonial {
  flex: 0 0 auto;
  width: clamp(280px, 28vw, 380px);
  gap: var(--gap);
  margin: 0;
  padding: var(--gap-lg) var(--gap);
  background: var(--graphite);
  border: 1px solid rgba(245,241,232,0.08);
  border-radius: 14px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.testimonial blockquote {
  margin: 0;
  font-family: var(--font-system);
  font-weight: 500;
  font-size: 14.5px;
  line-height: 1.55;
  letter-spacing: 0;
  color: var(--bone);
}
.testimonial blockquote p { margin: 0; }
.testimonial figcaption { display: flex; flex-direction: column; gap: 4px; margin-top: var(--gap); padding-top: var(--gap-sm); border-top: 1px solid rgba(245,241,232,0.1); }
.testimonial__name {
  font-family: var(--font-system);
  font-weight: 700;
  font-size: 13px;
  margin: 0;
  color: var(--text-on-ink);
}
.testimonial__meta {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted-on-ink);
  margin: 0;
}

/* -------- Contact CTA banner ----------------------------- */

.contact-cta .container { max-width: 1100px; }
.cta-banner {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--gap);
}
.cta-banner__headline { margin: 0; max-width: 18ch; }
.cta-banner .eyebrow { color: var(--muted-on-ink); }
.cta-banner .eyebrow--accent::before { background: var(--lime); }
.cta-banner__lead {
  color: var(--muted-on-ink);
  max-width: 48ch;
  margin: 0;
}
.cta-banner__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: var(--gap-sm);
  justify-content: center;
  margin-top: var(--gap);
}

/* -------- Footer brand block ---------------------------- */

.site-footer__brand img { height: 28px; width: auto; }
.site-footer__brand p {
  margin-top: 16px;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 18px;
  line-height: 1.3;
  color: var(--muted-on-ink);
  max-width: 30ch;
}
.site-footer__brand p.site-footer__about {
  margin-top: 12px;
  font-family: var(--font-system);
  font-style: normal;
  font-size: 13px;
  line-height: 1.5;
  color: rgba(245, 241, 232, 0.55);
  max-width: 36ch;
}

/* Social icon row in the Connect footer column */
.site-footer__social {
  display: flex;
  flex-direction: row;
  gap: 10px;
  margin-top: 18px;
  padding: 0;
  list-style: none;
}
.site-footer__social li { display: inline-flex; }
.site-footer__social a {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(245, 241, 232, 0.16);
  color: rgba(245, 241, 232, 0.78);
  transition: color var(--dur-fast) var(--ease),
              border-color var(--dur-fast) var(--ease),
              background var(--dur-fast) var(--ease),
              transform var(--dur-fast) var(--ease);
}
.site-footer__social a:hover {
  color: var(--ink);
  background: var(--lime);
  border-color: var(--lime);
  transform: translateY(-2px);
}
.site-footer__social svg {
  width: 16px;
  height: 16px;
  display: block;
}

/* =====================================================================
   Creative Content service page (creative-content.html)
   ===================================================================== */

/* -------- Breadcrumb -------------------------------------- */
.breadcrumb {
  padding-top: 96px;          /* clears sticky nav */
  padding-bottom: 0;
}
.breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--muted-on-ink);
}
.breadcrumb a { color: var(--muted-on-ink); }
.breadcrumb li[aria-current="page"] { color: var(--bone); }

/* -------- CC hero ---------------------------------------- */
.cc-hero {
  padding-top: calc(var(--gap-lg) + 8px);
}
.cc-hero__inner {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: var(--gap-xl);
  align-items: center;
}
.cc-hero__headline {
  margin: 16px 0 24px;
}
.cc-hero__deck {
  color: var(--muted-on-ink);
  max-width: 52ch;
  margin-bottom: var(--gap);
}
.cc-hero__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: var(--gap-sm);
  margin-bottom: var(--gap-lg);
}
.cc-hero__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.cc-hero__chips li {
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  padding: 8px 12px;
  border: 1px solid rgba(245,241,232,0.16);
  border-radius: 999px;
  color: var(--muted-on-ink);
}
.cc-hero__media-frame {
  position: relative;
  aspect-ratio: 4 / 5;
  background: var(--ink);
  border-radius: 12px;
  overflow: hidden;
  display: block;
  text-decoration: none;
  color: var(--bone);
  transition: transform var(--dur-fast) var(--ease), border-color var(--dur-fast) var(--ease);
}
.cc-hero__media-frame:hover { transform: translateY(-2px); }
.cc-hero__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  object-fit: cover;
  pointer-events: none;
}
.cc-hero__media-caption {
  position: absolute;
  inset: auto 0 0 0;
  z-index: 2;
  padding: 24px 22px 22px;
  background: linear-gradient(180deg, transparent 0%, rgba(0,0,0,0.55) 55%, rgba(0,0,0,0.88) 100%);
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.cc-hero__media-format {
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: rgba(245,241,232,0.78);
}
.cc-hero__media-title {
  font-family: var(--font-display);
  font-size: clamp(20px, 2.2vw, 30px);
  line-height: 1.15;
  color: var(--bone);
}

@media (max-width: 960px) {
  .cc-hero__inner { grid-template-columns: 1fr; gap: var(--gap-xl); }
  .cc-hero__media-frame { aspect-ratio: 4 / 5; max-height: 70vh; }
}

/* -------- Trust strip ------------------------------------ */
.trust-strip {
  padding-top: var(--gap-lg);
  padding-bottom: var(--gap-lg);
  border-top: 1px solid var(--graphite);
  border-bottom: 1px solid var(--graphite);
}
.trust-strip__label {
  margin-bottom: var(--gap-sm);
}
.trust-strip__list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--gap-lg) var(--gap-xl);
  list-style: none;
  padding: 0;
  margin: 0;
  font-family: var(--font-system);
  font-weight: 800;
  font-size: clamp(18px, 1.6vw, 24px);
  color: var(--muted-on-ink);
  letter-spacing: -0.01em;
}
.trust-strip__list li { opacity: 0.78; }

/* -------- CC value stats --------------------------------- */
.cc-value__inner { display: block; }
.cc-value__stats {
  list-style: none;
  padding: 0;
  margin: var(--gap-xl) 0 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--gap-lg);
  border-top: 1px solid var(--dust);
  padding-top: var(--gap-lg);
}
.cc-value__stats li {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.cc-value__num {
  font-family: var(--font-display);
  font-size: clamp(48px, 6vw, 88px);
  line-height: 0.95;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.cc-value__num small {
  font-size: 0.42em;
  font-family: var(--font-system);
  font-weight: 700;
  letter-spacing: 0;
  vertical-align: top;
  margin-left: 2px;
}
.cc-value__label {
  font-family: var(--font-mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--muted-on-bone);
}
@media (max-width: 720px) {
  .cc-value__stats { grid-template-columns: 1fr; gap: var(--gap); }
}

/* -------- Make grid -------------------------------------- */
.make-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--gap);
  margin-top: var(--gap-lg);
}
.make-tile {
  position: relative;
  padding: var(--gap-lg) var(--gap);
  background: var(--graphite);
  border: 1px solid rgba(245,241,232,0.06);
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  gap: var(--gap-sm);
  transition: border-color var(--dur-fast) var(--ease), background var(--dur-fast) var(--ease), transform var(--dur-fast) var(--ease);
}
.make-tile:hover {
  border-color: rgba(184,255,77,0.4);
  transform: translateY(-2px);
}
.make-tile__num {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--muted-on-ink);
}
.make-tile__title {
  font-family: var(--font-display);
  font-size: clamp(22px, 2vw, 28px);
  font-weight: 400;
  line-height: 1.15;
  margin: 0;
  color: var(--bone);
}
.make-tile p {
  margin: 0;
  font-size: 15px;
  line-height: 1.55;
  color: var(--muted-on-ink);
}
@media (max-width: 960px) {
  .make-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .make-grid { grid-template-columns: 1fr; }
}

/* -------- Work grid -------------------------------------- */
.work-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--gap);
  margin-top: var(--gap-lg);
}
.work-card {
  display: flex;
  flex-direction: column;
  gap: var(--gap-sm);
  text-decoration: none;
  color: inherit;
}
.work-card__media {
  position: relative;
  aspect-ratio: 16 / 9;
  background: var(--ink);
  border-radius: 8px;
  overflow: hidden;
  display: grid;
  place-items: center;
  transition: transform var(--dur-fast) var(--ease);
}
.work-card__media iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  object-fit: cover;
  pointer-events: none;
}
.work-card:hover .work-card__media {
  transform: translateY(-3px);
}
.work-card__placeholder {
  font-family: var(--font-mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--muted-on-ink);
}
.work-card__format {
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--muted-on-bone);
}
.work-card__title {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 400;
  line-height: 1.25;
  margin: 4px 0 0;
  color: var(--ink);
}
.work-card:hover .work-card__title { text-decoration: underline; text-decoration-color: var(--lime); text-underline-offset: 3px; }
@media (max-width: 960px) {
  .work-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .work-grid { grid-template-columns: 1fr; }
}

/* -------- Process ---------------------------------------- */
.process {
  list-style: none;
  padding: 0;
  margin: var(--gap-lg) 0 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--gap);
}
.process__step {
  padding: var(--gap-lg) var(--gap) var(--gap);
  border-top: 1px solid rgba(245,241,232,0.16);
  display: flex;
  flex-direction: column;
  gap: var(--gap-sm);
}
.process__num {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--lime);
}
.process__title {
  font-family: var(--font-display);
  font-size: clamp(28px, 2.4vw, 36px);
  font-weight: 400;
  margin: 0;
  color: var(--bone);
}
.process__step p {
  margin: 0;
  font-size: 15px;
  line-height: 1.55;
  color: var(--muted-on-ink);
}
@media (max-width: 960px) {
  .process { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .process { grid-template-columns: 1fr; }
}

/* -------- Case study feature ----------------------------- */
.case-feature {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--gap-xl);
  margin-top: var(--gap-lg);
  align-items: start;
}
.case-feature__media {
  position: relative;
  aspect-ratio: 4 / 5;
  background: var(--ink);
  border-radius: 8px;
  display: grid;
  place-items: center;
  overflow: hidden;
}
.case-feature--video .case-feature__media {
  aspect-ratio: 16 / 9;
  position: sticky;
  top: 96px;
}
.case-feature--video .case-feature__media iframe {
  position: absolute;
  top: 50%;
  left: 50%;
  width: calc(100% + 4px);
  height: calc(100% + 4px);
  transform: translate(-50%, -50%);
  border: 0;
  pointer-events: none;
  object-fit: cover;
}
.case-feature__placeholder {
  font-family: var(--font-mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--muted-on-ink);
}
.case-feature__body {
  display: flex;
  flex-direction: column;
  gap: var(--gap-sm);
}
.case-feature__title {
  font-family: var(--font-display);
  font-size: clamp(32px, 3.4vw, 48px);
  font-weight: 400;
  line-height: 1.15;
  margin: 8px 0 0;
  color: var(--ink);
}
.case-feature__sub {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(26px, 2.4vw, 36px);
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin: 0 0 var(--gap-sm);
  color: var(--ink);
}
.case-feature__lead {
  font-size: 18px;
  line-height: 1.55;
  color: var(--muted-on-bone);
  max-width: 48ch;
}
.case-feature__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--gap);
  margin: var(--gap) 0;
  padding: var(--gap) 0;
  border-top: 1px solid var(--dust);
  border-bottom: 1px solid var(--dust);
}
.case-feature__stats div { display: flex; flex-direction: column; gap: 6px; }
.case-feature__stats dt {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted-on-bone);
}
.case-feature__stats dd {
  margin: 0;
  font-size: 15px;
  color: var(--ink);
}
.case-feature__num {
  display: inline-block;
  font-family: var(--font-display);
  font-size: clamp(32px, 3vw, 44px);
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin-right: 6px;
}
.case-feature__num small {
  font-size: 0.5em;
  font-family: var(--font-system);
  font-weight: 700;
  vertical-align: top;
}
.case-feature__how h4 {
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--muted-on-bone);
  margin: 0 0 var(--gap-sm);
}
.case-feature__how ol {
  margin: 0 0 var(--gap-lg);
  padding-left: 18px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 15px;
  line-height: 1.55;
}
.case-feature__how strong { color: var(--ink); }
@media (max-width: 960px) {
  .case-feature { grid-template-columns: 1fr; }
  .case-feature__media { aspect-ratio: 16 / 10; }
  .case-feature__stats { grid-template-columns: 1fr; }
}

/* -------- AI assist split -------------------------------- */
.cc-ai__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--gap-xl);
  align-items: start;
}
.cc-ai__col h2 { margin: 12px 0 var(--gap); }
.cc-ai__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: var(--gap-sm);
}
.cc-ai__list li {
  padding: var(--gap-sm) 0;
  border-top: 1px solid rgba(245,241,232,0.16);
  font-size: 15px;
  line-height: 1.55;
  color: var(--muted-on-ink);
}
.cc-ai__list strong { color: var(--bone); margin-right: 6px; }
@media (max-width: 960px) {
  .cc-ai__inner { grid-template-columns: 1fr; gap: var(--gap-lg); }
}

/* -------- Capabilities columns --------------------------- */
.cap-cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--gap-lg);
  margin-top: var(--gap-lg);
}
.cap-col h3 {
  font-family: var(--font-mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  margin: 0 0 var(--gap-sm);
  padding-bottom: 8px;
  border-bottom: 1px solid var(--dust);
  color: var(--ink);
}
.cap-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 15px;
  line-height: 1.5;
  color: var(--ink);
}
@media (max-width: 960px) {
  .cap-cols { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .cap-cols { grid-template-columns: 1fr; }
}

/* -------- FAQ -------------------------------------------- */
.cc-faq__inner {
  display: grid;
  grid-template-columns: 0.55fr 1fr;
  gap: var(--gap-xl);
  align-items: start;
}
.cc-faq__inner .section-header { margin-bottom: 0; }
.faq {
  display: flex;
  flex-direction: column;
  border-top: 1px solid rgba(245,241,232,0.16);
}
.faq__item {
  border-bottom: 1px solid rgba(245,241,232,0.16);
}
.faq__item summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--gap);
  padding: var(--gap) 0;
  font-family: var(--font-display);
  font-size: clamp(20px, 1.8vw, 26px);
  font-weight: 400;
  line-height: 1.25;
  color: var(--bone);
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__icon {
  position: relative;
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}
.faq__icon::before,
.faq__icon::after {
  content: "";
  position: absolute;
  background: var(--bone);
  transition: transform var(--dur-fast) var(--ease);
}
.faq__icon::before {
  left: 0;
  top: 50%;
  width: 100%;
  height: 1.5px;
  transform: translateY(-50%);
}
.faq__icon::after {
  left: 50%;
  top: 0;
  width: 1.5px;
  height: 100%;
  transform: translateX(-50%);
}
.faq__item[open] .faq__icon::after { transform: translateX(-50%) scaleY(0); }
.faq__body {
  padding: 0 0 var(--gap-lg);
  max-width: 60ch;
}
.faq__body p {
  margin: 0;
  font-size: 16px;
  line-height: 1.6;
  color: var(--muted-on-ink);
}
@media (max-width: 960px) {
  .cc-faq__inner { grid-template-columns: 1fr; }
}

/* -------- Related grid ----------------------------------- */
.related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--gap);
  margin-top: var(--gap-lg);
}
.related-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: var(--gap);
  background: var(--bone);
  border: 1px solid var(--dust);
  border-radius: 8px;
  text-decoration: none;
  color: var(--ink);
  transition: border-color var(--dur-fast) var(--ease), transform var(--dur-fast) var(--ease);
}
.related-card:hover {
  border-color: var(--ink);
  transform: translateY(-2px);
}
.related-card h3 {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 400;
  margin: 0;
}
.related-card p {
  font-size: 14px;
  line-height: 1.5;
  color: var(--muted-on-bone);
  margin: 0;
}
.related-card__arrow {
  position: absolute;
  right: var(--gap);
  top: var(--gap);
  font-family: var(--font-mono);
  color: var(--ink);
}
@media (max-width: 960px) {
  .related-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .related-grid { grid-template-columns: 1fr; }
}

/* =====================================================================
   Recent Work — full-bleed horizontal marquee (cc-work section)
   Slow continuous left-scroll, alternating vertical/horizontal tiles.
   Mirrors the home-page Growth-card pattern via [data-marquee].
   ===================================================================== */

.cc-work .container { padding-bottom: var(--gap-lg); }

.work-strip {
  position: relative;
  width: 100%;
  height: clamp(320px, 44vh, 460px);
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 4%, #000 96%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0, #000 4%, #000 96%, transparent 100%);
}

.work-strip + .work-strip {
  margin-top: 18px;
}

.work-strip__track {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  gap: 18px;
  width: max-content;
  padding: 0 18px;
  animation: work-strip-scroll 90s linear infinite;
  will-change: transform;
}

.work-strip__track--reverse {
  animation: work-strip-scroll-reverse 96s linear infinite;
}

@keyframes work-strip-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

@keyframes work-strip-scroll-reverse {
  from { transform: translateX(-50%); }
  to   { transform: translateX(0); }
}

.work-strip:hover .work-strip__track {
  animation-play-state: paused;
}

.work-strip__tile {
  flex: 0 0 auto;
  position: relative;
  height: 100%;
  background: var(--ink);
  border-radius: 14px;
  border: 1px solid var(--dust);
  overflow: hidden;
  text-decoration: none;
  color: var(--bone);
  transition: transform 200ms ease, border-color 200ms ease;
}
.work-strip__tile:hover {
  transform: translateY(-3px);
  border-color: var(--lime);
}

.work-strip__tile--16-9 { aspect-ratio: 16 / 9; }
.work-strip__tile--9-16 { aspect-ratio: 9 / 16; }
.work-strip__tile--4-5  { aspect-ratio: 4 / 5; }

.work-strip__tile iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  pointer-events: none;
  z-index: 0;
  object-fit: cover;
}

.work-strip__meta {
  position: absolute;
  inset: auto 0 0 0;
  z-index: 2;
  padding: 18px 16px 14px;
  background: linear-gradient(180deg, transparent 0%, rgba(0,0,0,0.55) 55%, rgba(0,0,0,0.88) 100%);
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.work-strip__format {
  font-family: var(--font-mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: rgba(245,241,232,0.78);
}
.work-strip__title {
  font-family: var(--font-display);
  font-size: clamp(14px, 1.2vw, 20px);
  line-height: 1.15;
  color: var(--bone);
}

@media (max-width: 720px) {
  .work-strip { height: clamp(300px, 42vh, 420px); }
  .work-strip__track { gap: 12px; padding: 0 12px; animation-duration: 70s; }
}

@media (prefers-reduced-motion: reduce) {
  .work-strip__track {
    animation: none;
    overflow-x: auto;
  }
  .work-strip { mask-image: none; -webkit-mask-image: none; }
}

/* =====================================================================
   Growth service page (growth.html)
   ===================================================================== */

/* -------- Hero ------------------------------------------- */
.gr-hero { padding-top: calc(var(--gap-lg) + 8px); }
.gr-hero__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--gap-xl);
  align-items: center;
}
.gr-hero__headline { margin: 16px 0 24px; }
.gr-hero__deck {
  color: var(--muted-on-ink);
  max-width: 52ch;
  margin-bottom: var(--gap);
}
.gr-hero__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: var(--gap-sm);
  margin-bottom: var(--gap-lg);
}
.gr-hero__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.gr-hero__chips li {
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  padding: 8px 12px;
  border: 1px solid rgba(245,241,232,0.16);
  border-radius: 999px;
  color: var(--muted-on-ink);
}

/* Larger version of the home-page Growth-card marquee */
.gr-hero-stage {
  position: relative;
  height: clamp(440px, 60vh, 600px);
  overflow: hidden;
  border-radius: 14px;
  background: linear-gradient(180deg, #1a1a1a 0%, #0a0a0a 100%);
  border: 1px solid var(--graphite);
  -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 8%, #000 92%, transparent 100%);
  mask-image: linear-gradient(180deg, transparent 0, #000 8%, #000 92%, transparent 100%);
}
.gr-hero-track {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  width: max-content;
  gap: 32px;
  padding: 0 32px;
  animation: gr-hero-marquee 50s linear infinite;
  will-change: transform;
}
@keyframes gr-hero-marquee {
  to { transform: translateX(-50%); }
}
.gr-hero-stage:hover .gr-hero-track { animation-play-state: paused; }

/* Scale the existing growth-frame children up inside the hero stage */
.gr-hero-track .ig-card { width: 240px; }
.gr-hero-track .g-card  { width: 300px; }
.gr-hero-track .kl-card { width: 260px; }
.gr-hero-track .att-card { width: 240px; }
.gr-hero-track .growth-frame {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

@media (max-width: 960px) {
  .gr-hero__inner { grid-template-columns: 1fr; gap: var(--gap-xl); }
  .gr-hero-stage { height: clamp(420px, 60vh, 540px); }
}

/* -------- Strategy section ------------------------------- */
.gr-strategy__inner { display: block; }
.gr-strategy .section-header { margin-bottom: 0; }

/* -------- Engine blocks --------------------------------- */
.gr-services .section-header { margin-bottom: var(--gap-xl); }

.gr-engine {
  display: grid;
  grid-template-columns: 0.85fr 1fr;
  gap: var(--gap-xl);
  align-items: center;
  padding: var(--gap-xl) 0;
  border-top: 1px solid rgba(245,241,232,0.1);
}
.gr-engine:last-of-type { border-bottom: 1px solid rgba(245,241,232,0.1); }
.gr-engine--flip { grid-template-columns: 1fr 0.85fr; }
.gr-engine--flip .gr-engine__body { order: 2; }
.gr-engine--flip .gr-engine__viz { order: 1; }

.gr-engine__body { display: flex; flex-direction: column; gap: var(--gap-sm); }
.gr-engine__num {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--lime);
}
.gr-engine__title {
  font-family: var(--font-display);
  font-size: clamp(34px, 3.4vw, 48px);
  font-weight: 400;
  line-height: 1.1;
  margin: 8px 0 0;
  color: var(--bone);
}
.gr-engine__lead {
  font-size: 17px;
  line-height: 1.55;
  color: var(--muted-on-ink);
  max-width: 56ch;
  margin: 0 0 var(--gap-sm);
}
.gr-engine__caps {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px 24px;
}
.gr-engine__caps li {
  font-size: 14px;
  line-height: 1.5;
  color: var(--muted-on-ink);
  padding-left: 14px;
  position: relative;
}
.gr-engine__caps li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--lime);
}
.gr-engine__platforms {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: var(--gap-sm);
}
.platform-tag {
  font-family: var(--font-mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid rgba(245,241,232,0.2);
  color: var(--bone);
}

.gr-engine__viz {
  background: linear-gradient(135deg, #161616 0%, #0a0a0a 100%);
  border: 1px solid var(--graphite);
  border-radius: 14px;
  padding: var(--gap);
  min-height: 380px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
}

@media (max-width: 960px) {
  .gr-engine,
  .gr-engine--flip { grid-template-columns: 1fr; gap: var(--gap-lg); }
  .gr-engine--flip .gr-engine__body { order: 1; }
  .gr-engine--flip .gr-engine__viz { order: 2; }
  .gr-engine__caps { grid-template-columns: 1fr; }
}

/* -------- Social-platform strip (paid social engine) ----- */
.social-strip {
  position: relative;
  width: 100%;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 10%, #000 90%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0, #000 10%, #000 90%, transparent 100%);
}
.social-strip__track {
  display: flex;
  width: max-content;
  gap: 16px;
  padding: 8px 0;
  animation: social-marquee 32s linear infinite;
  will-change: transform;
}
@keyframes social-marquee {
  to { transform: translateX(-50%); }
}
.social-strip:hover .social-strip__track { animation-play-state: paused; }

.social-badge {
  flex: 0 0 auto;
  width: 132px;
  height: 132px;
  border-radius: 26px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: #fff;
  box-shadow: 0 14px 28px rgba(0,0,0,0.45);
}
.social-badge__icon {
  width: 52px;
  height: 52px;
  display: block;
}
.social-badge__name {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
.social-badge--meta     { background: linear-gradient(135deg, #0064E0 0%, #0081FB 50%, #00A6FF 100%); }
.social-badge--facebook { background: #1877F2; }
.social-badge--ig       { background: linear-gradient(135deg, #FEDA77 0%, #F58529 25%, #DD2A7B 50%, #8134AF 75%, #515BD4 100%); }
.social-badge--tiktok   { background: #000; }
.social-badge--x        { background: #000; }
.social-badge--snap     { background: #FFFC00; color: #0a0a0a; }
.social-badge--snap .social-badge__name { color: #0a0a0a; }
.social-badge--linkedin { background: #0A66C2; }
.social-badge--youtube  { background: #FF0000; }

/* -------- Google SERP mock (google ads engine) ----------- */
.serp-mock {
  width: 100%;
  max-width: 460px;
  background: #fff;
  border-radius: 12px;
  padding: 16px 16px 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  box-shadow: 0 24px 60px rgba(0,0,0,0.5);
}
.serp-mock__bar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px;
  border: 1px solid #dadce0;
  border-radius: 999px;
  background: #fff;
}
.serp-mock__logo {
  font-family: var(--font-system);
  font-weight: 700;
  font-size: 18px;
  letter-spacing: -0.02em;
}
.serp-mock__query {
  flex: 1;
  font-family: var(--font-system);
  font-size: 13px;
  color: #3c4043;
}
.serp-mock__icon {
  color: #4285F4;
  font-size: 14px;
}
.serp-mock__results {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.serp-mock .g-card {
  width: 100%;
  box-shadow: none;
  border: 1px solid #e8eaed;
}

/* -------- Lifecycle mock (email + SMS) ------------------- */
.lifecycle-mock {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--gap);
  align-items: start;
  width: 100%;
}
.lifecycle-mock__email,
.lifecycle-mock__sms {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
.lifecycle-mock__email .kl-card { width: 100%; max-width: 240px; }
.lifecycle-mock__sms .att-card { width: 100%; max-width: 220px; }
.lifecycle-mock__tag {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--lime);
}
.att-card__bubble--reply {
  align-self: flex-end;
  background: #1877F2;
  color: #fff;
  border-bottom-left-radius: 16px;
  border-bottom-right-radius: 4px;
}

@media (max-width: 560px) {
  .lifecycle-mock { grid-template-columns: 1fr; }
}

/* -------- Process on Bone background ---------------------- */
.process--bone .process__step {
  border-top: 1px solid var(--dust);
}
.process--bone .process__title { color: var(--ink); }
.process--bone .process__step p { color: var(--muted-on-bone); }

/* -------- Case study placeholder on growth page ---------- */
.gr-case .case-feature__media {
  background: var(--ink);
  aspect-ratio: 16 / 9;
}

/* -------- Case feature with stacked media (video + photo slider) --
   Uses the inherited .case-feature 2-col grid: media stack left, body right. */
.case-feature--stack .case-feature__media-stack {
  display: flex;
  flex-direction: column;
  gap: var(--gap);
  width: 100%;
  min-width: 0;
  position: sticky;
  top: 96px;
}
.case-feature--stack .case-feature__body {
  min-width: 0;
}
.case-feature--stack .case-feature__media {
  position: relative;
  aspect-ratio: 16 / 9;
  width: 100%;
  background: var(--ink);
  border-radius: 12px;
  overflow: hidden;
  display: block;
  top: auto;
}
.case-feature--stack .case-feature__media iframe {
  position: absolute;
  top: 50%;
  left: 50%;
  width: calc(100% + 4px);
  height: calc(100% + 4px);
  transform: translate(-50%, -50%);
  border: 0;
  pointer-events: none;
  object-fit: cover;
}
.case-feature--stack .case-feature__body {
  align-self: start;
}

/* Horizontal photo slider beneath the video */
.case-feature__photo-slider {
  position: relative;
  width: 100%;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 4%, #000 96%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0, #000 4%, #000 96%, transparent 100%);
}
.case-feature__photo-track {
  display: flex;
  align-items: center;
  gap: 16px;
  width: max-content;
  padding: 4px 16px;
  animation: case-photo-scroll 60s linear infinite;
  will-change: transform;
}
@keyframes case-photo-scroll {
  to { transform: translateX(-50%); }
}
.case-feature__photo-slider:hover .case-feature__photo-track {
  animation-play-state: paused;
}
.case-feature__photo {
  flex: 0 0 auto;
  height: clamp(220px, 28vh, 320px);
  border-radius: 10px;
  overflow: hidden;
  background: var(--ink);
  border: 1px solid var(--dust);
}
.case-feature__photo--landscape { aspect-ratio: 3 / 2; }
.case-feature__photo--square    { aspect-ratio: 1 / 1; }
.case-feature__photo--wide      { aspect-ratio: 21 / 9; }
.case-feature__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

@media (prefers-reduced-motion: reduce) {
  .case-feature__photo-track {
    animation: none;
    overflow-x: auto;
  }
  .case-feature__photo-slider {
    mask-image: none;
    -webkit-mask-image: none;
  }
}

/* =====================================================================
   Growth Strategy section — 50/50 split with phone-row mockup
   ===================================================================== */

.gr-strategy__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--gap-xl);
  align-items: center;
}
.gr-strategy__copy { margin: 0; max-width: 52ch; }
.gr-strategy__viz {
  position: relative;
  min-width: 0;
  height: clamp(420px, 56vh, 560px);
  display: flex;
  align-items: center;
  justify-content: center;
}

@media (max-width: 960px) {
  .gr-strategy__inner { grid-template-columns: 1fr; gap: var(--gap-xl); }
  .gr-strategy__viz { height: auto; }
}

/* -------- Phone mockup row ------------------------------- */
.phone-row {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  justify-content: center;
  width: 100%;
}
.phone {
  position: relative;
  flex: 0 0 auto;
  width: clamp(150px, 18vw, 200px);
  aspect-ratio: 9 / 19.5;
  background: #0a0a0a;
  border-radius: 28px;
  border: 3px solid #1a1a1a;
  box-shadow: 0 24px 60px rgba(0,0,0,0.35), inset 0 0 0 2px rgba(255,255,255,0.04);
  overflow: hidden;
  color: #0a0a0a;
}
.phone--stagger-1 { transform: translateY(0); }
.phone--stagger-2 { transform: translateY(-26px); }
.phone--stagger-3 { transform: translateY(8px); }

.phone__notch {
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 38%;
  height: 16px;
  background: #0a0a0a;
  border-radius: 999px;
  z-index: 3;
}

.phone__status {
  position: absolute;
  top: 7px;
  left: 0;
  right: 0;
  z-index: 4;
  padding: 0 18px;
  height: 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--font-system);
  font-weight: 700;
  font-size: 10px;
  color: var(--bone);
  pointer-events: none;
}
.phone__time { letter-spacing: -0.02em; }
.phone__icons {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--bone);
}

.phone__screen {
  position: absolute;
  inset: 30px 4px 4px;
  background: var(--bone);
  border-radius: 22px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.phone__brand {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px 0 8px;
  border-bottom: 1px solid #ebe6da;
}
.phone__brand-mark {
  width: 22px;
  height: 22px;
  display: block;
}

.phone__feed {
  flex: 1;
  overflow: hidden;
  padding: 8px;
  background: #f7f3e9;
}

/* -------- Phone ad card (Meta sponsored style) ----------- */
.phone-ad {
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
  display: flex;
  flex-direction: column;
}
.phone-ad__head {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 8px;
}
.phone-ad__avatar {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--ink);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  overflow: hidden;
}
.phone-ad__avatar img { width: 76%; height: 76%; display: block; }
.phone-ad__meta {
  flex: 1;
  display: flex;
  flex-direction: column;
  line-height: 1.05;
  min-width: 0;
}
.phone-ad__user {
  font-family: var(--font-system);
  font-weight: 700;
  font-size: 9px;
  color: #0a0a0a;
}
.phone-ad__sub {
  font-family: var(--font-system);
  font-size: 7.5px;
  color: #8e8e8e;
  margin-top: 1px;
}
.phone-ad__dots { font-size: 12px; color: #0a0a0a; line-height: 1; }
.phone-ad__media {
  width: 100%;
  aspect-ratio: 1 / 1;
  background: #ddd;
  overflow: hidden;
}
.phone-ad__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.phone-ad__cta {
  font-family: var(--font-system);
  font-weight: 700;
  font-size: 9px;
  color: #0a0a0a;
  padding: 6px 8px 8px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #f4f0e6;
  border-top: 1px solid #ebe6da;
}
.phone-ad__cta::after {
  content: "›";
  color: #8e8e8e;
  font-weight: 600;
}

/* Subtle float animation per phone */
@keyframes phone-float-a {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-6px); }
}
@keyframes phone-float-b {
  0%, 100% { transform: translateY(-26px); }
  50%      { transform: translateY(-32px); }
}
@keyframes phone-float-c {
  0%, 100% { transform: translateY(8px); }
  50%      { transform: translateY(2px); }
}
.phone--stagger-1 { animation: phone-float-a 6s ease-in-out infinite; }
.phone--stagger-2 { animation: phone-float-b 7s ease-in-out infinite 0.6s; }
.phone--stagger-3 { animation: phone-float-c 6.4s ease-in-out infinite 1.1s; }

@media (max-width: 720px) {
  .phone-row { gap: 10px; }
  .phone { width: clamp(120px, 28vw, 170px); }
  .phone--stagger-1,
  .phone--stagger-2,
  .phone--stagger-3 { animation: none; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  .phone--stagger-1,
  .phone--stagger-2,
  .phone--stagger-3 { animation: none; }
}

/* -------- Phone ad — expanded chrome (caption, link card, engage) -- */
.phone-ad__caption {
  margin: 0;
  padding: 6px 8px 4px;
  font-family: var(--font-system);
  font-size: 8px;
  line-height: 1.35;
  color: #0a0a0a;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.phone-ad__more { color: #65676b; }
.phone-ad__hashtag { color: #1877F2; }

.phone-ad__media--video { position: relative; }
.phone-ad__play {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 32px; height: 32px;
  border-radius: 50%;
  background: rgba(0,0,0,0.55);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 10px;
  padding-left: 2px;
}

.phone-ad__link {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 8px;
  background: #f0f2f5;
}
.phone-ad__link-meta {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.phone-ad__domain {
  font-family: var(--font-system);
  font-size: 7px;
  text-transform: lowercase;
  color: #65676b;
  letter-spacing: 0.02em;
}
.phone-ad__headline {
  font-family: var(--font-system);
  font-weight: 600;
  font-size: 8.5px;
  line-height: 1.2;
  color: #0a0a0a;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.phone-ad__btn {
  flex: 0 0 auto;
  font-family: var(--font-system);
  font-weight: 700;
  font-size: 8px;
  color: #050505;
  background: #e4e6eb;
  padding: 5px 8px;
  border-radius: 5px;
  white-space: nowrap;
}

.phone-ad__engage {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 5px 8px 7px;
  font-family: var(--font-system);
  font-size: 7.5px;
  color: #65676b;
  border-top: 1px solid #ebedf0;
}
.phone-ad__reactions {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  color: #050505;
}
.rxn {
  display: inline-block;
  font-size: 8px;
  line-height: 1;
}
.rxn--like, .rxn--love { transform: translateY(-1px); }

/* -------- Brand avatars (Pickle / Balli / Vic Garcia) ---- */
.phone-ad__avatar--pickle {
  background: #5cb85c;
  position: relative;
}
.phone-ad__avatar--pickle::before {
  content: "P";
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: #fff;
  font-family: var(--font-system);
  font-weight: 900;
  font-size: 10px;
}
.phone-ad__avatar--balli {
  background: linear-gradient(135deg, #2c2c2c, #0a0a0a);
  color: #fff;
  font-family: var(--font-system);
  font-weight: 800;
  font-size: 7px;
  letter-spacing: 0.04em;
}
.phone-ad__avatar--vic {
  background: linear-gradient(135deg, #c68642, #6b4423);
  color: #fff;
  font-family: var(--font-system);
  font-weight: 800;
  font-size: 7px;
  letter-spacing: 0.04em;
}

/* =====================================================================
   Marketing Management service page (marketing-management.html)
   ===================================================================== */

/* -------- Hero ------------------------------------------- */
.mm-hero { padding-top: calc(var(--gap-lg) + 8px); }
.mm-hero__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--gap-xl);
  align-items: center;
}
.mm-hero__headline { margin: 16px 0 24px; }
.mm-hero__deck {
  color: var(--muted-on-ink);
  max-width: 56ch;
  margin-bottom: var(--gap);
}
.mm-hero__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: var(--gap-sm);
  margin-bottom: var(--gap-lg);
}
.mm-hero__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.mm-hero__chips li {
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  padding: 8px 12px;
  border: 1px solid rgba(245,241,232,0.16);
  border-radius: 999px;
  color: var(--muted-on-ink);
}

.mm-hero__viz {
  position: relative;
  min-width: 0;
}

/* -------- Discipline grid (hero visual) ------------------ */
.disc-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  padding: 8px;
}
.disc-tile {
  aspect-ratio: 1 / 1;
  background: var(--graphite);
  border: 1px solid rgba(245,241,232,0.08);
  border-radius: 14px;
  padding: 14px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
  color: var(--bone);
}
.disc-tile__num {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  color: currentColor;
  opacity: 0.62;
}
.disc-tile__label {
  font-family: var(--font-display);
  font-size: clamp(16px, 1.4vw, 22px);
  line-height: 1.05;
  color: currentColor;
}

/* Hub tile — the "One team" anchor */
.disc-tile--hub {
  background: var(--lime);
  border: 1px solid var(--lime);
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 4px;
  color: var(--ink);
  animation: none;
}
.disc-tile--hub .disc-tile__num,
.disc-tile--hub .disc-tile__label { opacity: 1; }
.disc-tile__hub-label {
  font-family: var(--font-display);
  font-size: clamp(18px, 1.5vw, 24px);
  line-height: 1;
  color: var(--ink);
}
.disc-tile__hub-sub {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink);
}

/* Sequential lighting cycle — each tile lit ~2s in a 14s loop.
   Order: Strategy → Creative → Growth → Social → Web → Brand → Reporting. */
@keyframes disc-light {
  0%, 13% {
    background: linear-gradient(135deg, #B8FF4D 0%, #d6ff8a 50%, #ecffc4 100%);
    border-color: var(--lime);
    box-shadow: 0 0 32px rgba(184,255,77,0.45);
    color: var(--ink);
  }
  20%, 100% {
    background: var(--graphite);
    border-color: rgba(245,241,232,0.08);
    box-shadow: none;
    color: var(--bone);
  }
}

.disc-tile--strategy  { animation: disc-light 14s linear infinite 0s; }
.disc-tile--creative  { animation: disc-light 14s linear infinite 2s; }
.disc-tile--growth    { animation: disc-light 14s linear infinite 4s; }
.disc-tile--social    { animation: disc-light 14s linear infinite 6s; }
.disc-tile--web       { animation: disc-light 14s linear infinite 8s; }
.disc-tile--brand     { animation: disc-light 14s linear infinite 10s; }
.disc-tile--reporting { animation: disc-light 14s linear infinite 12s; }

@media (max-width: 960px) {
  .mm-hero__inner { grid-template-columns: 1fr; gap: var(--gap-xl); }
  .disc-grid { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 560px) {
  .disc-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (prefers-reduced-motion: reduce) {
  .disc-tile { animation: none; }
}

/* -------- Partnership section ---------------------------- */
.mm-partner__inner { display: block; }
.mm-partner .section-header { margin-bottom: var(--gap-xl); }
.mm-partner__pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--gap-lg);
  margin-top: var(--gap-lg);
  padding-top: var(--gap-lg);
  border-top: 1px solid var(--dust);
}
.mm-pillar {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.mm-pillar__label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--lime);
}
.mm-pillar__title {
  font-family: var(--font-display);
  font-size: clamp(22px, 2vw, 28px);
  font-weight: 400;
  line-height: 1.15;
  margin: 4px 0 6px;
  color: var(--ink);
}
.mm-pillar p {
  margin: 0;
  font-size: 15px;
  line-height: 1.55;
  color: var(--muted-on-bone);
}
@media (max-width: 960px) {
  .mm-partner__pillars { grid-template-columns: 1fr; gap: var(--gap); }
}

/* -------- What we manage (6 discipline blocks) ----------- */
.mm-services .section-header { margin-bottom: var(--gap-xl); }
.mm-disc-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--gap);
  margin-top: var(--gap-lg);
}
.mm-disc {
  position: relative;
  padding: var(--gap-lg) var(--gap);
  background: #fff;
  border: 1px solid var(--dust);
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  gap: var(--gap-sm);
  transition: border-color var(--dur-fast) var(--ease), transform var(--dur-fast) var(--ease);
}
.mm-disc:hover {
  border-color: var(--ink);
  transform: translateY(-2px);
}
.mm-disc__num {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--ink);
  opacity: 0.7;
}
.mm-disc__title {
  font-family: var(--font-display);
  font-size: clamp(22px, 2vw, 28px);
  font-weight: 400;
  line-height: 1.15;
  margin: 0;
  color: var(--ink);
}
.mm-disc p {
  margin: 0;
  font-size: 15px;
  line-height: 1.55;
  color: var(--muted-on-bone);
}
.mm-disc__caps {
  list-style: none;
  padding: 0;
  margin: 8px 0 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.mm-disc__caps li {
  position: relative;
  padding-left: 14px;
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--muted-on-bone);
}
.mm-disc__caps li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--lime);
}

@media (max-width: 960px) {
  .mm-disc-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .mm-disc-grid { grid-template-columns: 1fr; }
}

/* -------- Testimonial section on MM page ---------------- */
.mm-testimonial .section-header { margin-bottom: var(--gap-xl); }
.mm-testi {
  position: relative;
  max-width: 940px;
  margin: 0 auto;
  padding: var(--gap-xl) var(--gap-lg) var(--gap-lg);
  background: var(--graphite);
  border: 1px solid rgba(245,241,232,0.08);
  border-radius: 14px;
}
.mm-testi__mark {
  position: absolute;
  top: -6px;
  left: 24px;
  font-family: var(--font-display);
  font-size: 140px;
  line-height: 1;
  color: var(--lime);
  pointer-events: none;
  user-select: none;
}
.mm-testi__quote {
  margin: 0 0 var(--gap-lg);
  position: relative;
  z-index: 1;
}
.mm-testi__quote p {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(22px, 2.4vw, 32px);
  font-style: italic;
  line-height: 1.3;
  color: var(--bone);
}
.mm-testi__attrib { padding-top: var(--gap); border-top: 1px solid rgba(245,241,232,0.12); }
.mm-testi__name {
  margin: 0;
  font-family: var(--font-system);
  font-weight: 800;
  font-size: 16px;
  color: var(--bone);
}
.mm-testi__meta {
  margin: 4px 0 0;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted-on-ink);
}

@media (max-width: 720px) {
  .mm-testi { padding: var(--gap-lg); }
  .mm-testi__mark { font-size: 96px; }
}

/* =====================================================================
   Web & E-Commerce service page (web-ecommerce.html)
   ===================================================================== */

/* -------- Hero ------------------------------------------- */
.web-hero { padding-top: calc(var(--gap-lg) + 8px); }
.web-hero__inner {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: var(--gap-xl);
  align-items: center;
}
.web-hero__headline { margin: 16px 0 24px; }
.web-hero__deck {
  color: var(--muted-on-ink);
  max-width: 52ch;
  margin-bottom: var(--gap);
}
.web-hero__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: var(--gap-sm);
  margin-bottom: var(--gap-lg);
}

/* Platform row */
.web-hero__platforms {
  padding: var(--gap-lg) var(--gap);
  border: 1px solid rgba(245,241,232,0.12);
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(245,241,232,0.02), rgba(245,241,232,0));
}
.web-hero__platforms-label {
  margin: 0 0 var(--gap-sm);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted-on-ink);
}
.platform-row {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}
.platform {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 999px;
  border: 1px solid rgba(245,241,232,0.16);
  background: var(--graphite);
  font-family: var(--font-system);
  font-weight: 700;
  font-size: 14px;
  color: var(--bone);
  transition: border-color var(--dur-fast) var(--ease), transform var(--dur-fast) var(--ease);
}
.platform:hover {
  border-color: var(--lime);
  transform: translateY(-2px);
}
.platform__icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}
.platform--framer .platform__icon      { color: #0099FF; }
.platform--shopify .platform__icon     { color: #95BF47; }
.platform--squarespace .platform__icon { color: #ffffff; }
.platform--custom .platform__icon      { color: var(--lime); }

.web-hero__platforms-note {
  margin: var(--gap-sm) 0 0;
  font-size: 13px;
  line-height: 1.5;
  color: var(--muted-on-ink);
}

@media (max-width: 960px) {
  .web-hero__inner { grid-template-columns: 1fr; gap: var(--gap-xl); }
}

/* -------- Process timeline ------------------------------- */
.web-process {
  position: relative;
  overflow: hidden;
  padding-top: var(--gap-xl);
  padding-bottom: calc(var(--gap-xl) + var(--gap-lg));
}
.web-process__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(ellipse 60% 40% at 20% 30%, rgba(184,255,77,0.06), transparent 70%),
    radial-gradient(ellipse 50% 35% at 80% 60%, rgba(184,255,77,0.04), transparent 70%);
  pointer-events: none;
  animation: web-process-bg 18s ease-in-out infinite alternate;
}
@keyframes web-process-bg {
  0%   { transform: translate3d(0,0,0); opacity: 1; }
  100% { transform: translate3d(20px, -10px, 0); opacity: 0.7; }
}
.web-process > .container { position: relative; z-index: 1; }

.proc-timeline {
  list-style: none;
  margin: var(--gap-xl) 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: var(--gap);
  position: relative;
}
.proc-step {
  position: relative;
  padding: var(--gap) var(--gap-sm) var(--gap-lg);
  background: linear-gradient(180deg, rgba(245,241,232,0.04), rgba(245,241,232,0.01));
  border: 1px solid rgba(245,241,232,0.08);
  border-radius: 14px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 10px;
  transition: transform 300ms var(--ease), border-color 300ms var(--ease), box-shadow 300ms var(--ease);
}
.proc-step:hover {
  transform: translateY(-4px);
  border-color: rgba(184,255,77,0.5);
  box-shadow: 0 0 36px rgba(184,255,77,0.18);
}

/* Connecting rail between steps */
.proc-step__rail {
  position: absolute;
  top: 60px;
  left: 100%;
  width: var(--gap);
  height: 2px;
  background: linear-gradient(90deg, rgba(184,255,77,0.6), rgba(184,255,77,0.15));
  z-index: 0;
  transform-origin: left center;
  transform: scaleX(0);
  animation: proc-rail-grow 0.9s var(--ease) forwards;
}
.proc-step:nth-child(1) .proc-step__rail { animation-delay: 0.4s; }
.proc-step:nth-child(2) .proc-step__rail { animation-delay: 0.7s; }
.proc-step:nth-child(3) .proc-step__rail { animation-delay: 1.0s; }
.proc-step:nth-child(4) .proc-step__rail { animation-delay: 1.3s; }
.proc-step:last-child .proc-step__rail,
.proc-step__rail--end { display: none; }
@keyframes proc-rail-grow {
  to { transform: scaleX(1); }
}

.proc-step__icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--graphite);
  border: 1px solid rgba(245,241,232,0.16);
  display: grid;
  place-items: center;
  color: var(--lime);
  transition: border-color 300ms var(--ease), box-shadow 300ms var(--ease);
}
.proc-step__icon svg { width: 28px; height: 28px; }
.proc-step:hover .proc-step__icon {
  border-color: var(--lime);
  box-shadow: 0 0 24px rgba(184,255,77,0.45);
}

.proc-step__num {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.22em;
  color: var(--lime);
  margin-top: 2px;
}
.proc-step__title {
  font-family: var(--font-display);
  font-size: clamp(20px, 1.6vw, 26px);
  font-weight: 400;
  line-height: 1.15;
  margin: 0;
  color: var(--bone);
}
.proc-step__copy {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--muted-on-ink);
  max-width: 28ch;
}

@media (max-width: 1100px) {
  .proc-timeline { grid-template-columns: repeat(3, 1fr); }
  .proc-step:nth-child(3n) .proc-step__rail { display: none; }
}
@media (max-width: 720px) {
  .proc-timeline { grid-template-columns: 1fr; }
  .proc-step__rail {
    top: auto;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%) scaleY(0);
    width: 2px;
    height: 16px;
    background: linear-gradient(180deg, rgba(184,255,77,0.6), rgba(184,255,77,0.15));
    transform-origin: top center;
    animation-name: proc-rail-grow-v;
  }
  @keyframes proc-rail-grow-v {
    to { transform: translateX(-50%) scaleY(1); }
  }
  .proc-step:last-child .proc-step__rail { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .proc-step__rail { transform: scaleX(1); animation: none; }
  .web-process__bg { animation: none; }
}

/* -------- What we build (3 cards on Bone) ---------------- */
.web-build-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--gap);
  margin-top: var(--gap-lg);
}
.web-build-card {
  background: #fff;
  border: 1px solid var(--dust);
  border-radius: 8px;
  padding: var(--gap-lg) var(--gap);
  display: flex;
  flex-direction: column;
  gap: var(--gap-sm);
  transition: border-color var(--dur-fast) var(--ease), transform var(--dur-fast) var(--ease);
}
.web-build-card:hover {
  border-color: var(--ink);
  transform: translateY(-2px);
}
.web-build-card__num {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--ink);
  opacity: 0.7;
}
.web-build-card__title {
  font-family: var(--font-display);
  font-size: clamp(22px, 2vw, 28px);
  font-weight: 400;
  line-height: 1.15;
  margin: 0;
  color: var(--ink);
}
.web-build-card p {
  margin: 0;
  font-size: 15px;
  line-height: 1.55;
  color: var(--muted-on-bone);
}
.web-build-card__caps {
  list-style: none;
  margin: 8px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.web-build-card__caps li {
  position: relative;
  padding-left: 14px;
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--muted-on-bone);
}
.web-build-card__caps li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--lime);
}
@media (max-width: 960px) { .web-build-grid { grid-template-columns: 1fr; } }

/* =====================================================================
   Web & E-Commerce — additional components
   ===================================================================== */

/* -------- Hero web-mockup marquee ------------------------ */
.web-hero__viz {
  position: relative;
  min-width: 0;
}
.web-hero__viz-frame {
  position: relative;
  height: clamp(440px, 64vh, 620px);
  overflow: hidden;
  border-radius: 14px;
  background: var(--ink);
  border: 1px solid var(--graphite);
  -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 6%, #000 94%, transparent 100%);
  mask-image: linear-gradient(180deg, transparent 0, #000 6%, #000 94%, transparent 100%);
}
.web-hero__marquee {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  animation: web-hero-marquee 28s linear infinite;
  will-change: transform;
}
.web-hero__marquee img {
  width: 100%;
  height: auto;
  display: block;
  flex-shrink: 0;
}
@keyframes web-hero-marquee {
  0%   { transform: translate3d(0, 0, 0); }
  100% { transform: translate3d(0, -50%, 0); }
}
.web-hero__viz-frame:hover .web-hero__marquee { animation-play-state: paused; }
@media (prefers-reduced-motion: reduce) {
  .web-hero__marquee { animation: none; }
}

/* -------- Platforms strip on the What we build (Bone) ---- */
.web-build__platforms {
  margin: var(--gap-lg) 0 var(--gap-xl);
  padding: var(--gap-lg) var(--gap);
  background: #fff;
  border: 1px solid var(--dust);
  border-radius: 14px;
  display: flex;
  flex-direction: column;
  gap: var(--gap-sm);
}
.web-build__platforms-label {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted-on-bone);
}
.platform-row--bone {
  grid-template-columns: repeat(4, 1fr);
}
.platform-row--bone .platform {
  background: var(--bone);
  border: 1px solid var(--dust);
  color: var(--ink);
}
.platform-row--bone .platform:hover {
  border-color: var(--ink);
  transform: translateY(-2px);
}
.platform-row--bone .platform--shopify .platform__icon     { color: #7AB55C; }
.platform-row--bone .platform--squarespace .platform__icon { color: var(--ink); }
.platform-row--bone .platform--custom .platform__icon      { color: var(--ink); }
.web-build__platforms-note {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--muted-on-bone);
}
@media (max-width: 720px) {
  .platform-row--bone { grid-template-columns: repeat(2, 1fr); }
}

/* -------- Wireframe section ----------------------------- */
.web-wireframe { padding-top: var(--gap-xl); padding-bottom: var(--gap-xl); }
.web-wireframe .section-header { margin-bottom: var(--gap-xl); }

.wf-tree {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--gap-sm);
  margin-top: var(--gap-lg);
}
.wf-row {
  display: grid;
  gap: var(--gap);
  width: 100%;
}
.wf-row--single { grid-template-columns: minmax(360px, 560px); justify-content: center; }
.wf-row--four {
  grid-template-columns: repeat(4, 1fr);
}

.wf-connector {
  height: 36px;
  width: 100%;
  position: relative;
}
.wf-connector--branch::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: 1px;
  height: 18px;
  background: var(--lime);
  transform: translateX(-50%);
}
.wf-connector--branch::after {
  content: "";
  position: absolute;
  top: 18px;
  left: 12.5%;
  right: 12.5%;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, var(--lime) 12%, var(--lime) 88%, transparent 100%);
}

.wf-page {
  position: relative;
  border: 1px solid rgba(245,241,232,0.16);
  border-radius: 12px;
  background: linear-gradient(180deg, rgba(245,241,232,0.04), rgba(245,241,232,0.01));
  overflow: hidden;
  padding-bottom: 28px;
  transition: transform var(--dur-fast) var(--ease), border-color var(--dur-fast) var(--ease), box-shadow var(--dur-fast) var(--ease);
}
.wf-page:hover {
  transform: translateY(-3px);
  border-color: rgba(184,255,77,0.5);
  box-shadow: 0 0 30px rgba(184,255,77,0.15);
}
.wf-page--lg { padding-bottom: 36px; }
.wf-page--active {
  border-color: var(--lime);
  box-shadow: 0 0 28px rgba(184,255,77,0.25);
}
.wf-page::after {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: 1px;
  height: 12px;
  background: var(--lime);
  transform: translateX(-50%);
  opacity: 0.6;
}
.wf-row--single .wf-page::after { display: none; }

.wf-page__chrome {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  background: rgba(0,0,0,0.4);
  border-bottom: 1px solid rgba(245,241,232,0.08);
}
.wf-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: rgba(245,241,232,0.18);
}
.wf-dot:first-child { background: rgba(255,90,90,0.6); }
.wf-dot:nth-child(2) { background: rgba(255,200,80,0.5); }
.wf-dot:nth-child(3) { background: rgba(80,220,120,0.5); }
.wf-url {
  margin-left: 8px;
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--muted-on-ink);
}

.wf-page__body {
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* Top nav block */
.wf-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 4px 0;
}
.wf-nav__brand {
  width: 36px; height: 8px;
  background: var(--bone);
  border-radius: 2px;
}
.wf-nav__links {
  flex: 1;
  display: flex;
  justify-content: center;
  gap: 8px;
}
.wf-nav__links span {
  width: 24px; height: 4px;
  background: rgba(245,241,232,0.45);
  border-radius: 2px;
}
.wf-nav__cta {
  width: 40px; height: 12px;
  background: var(--bone);
  border-radius: 999px;
}
.wf-mini-nav {
  height: 12px;
  background: rgba(245,241,232,0.1);
  border-radius: 4px;
}

/* Hero block */
.wf-hero {
  padding: 16px 12px;
  background: rgba(245,241,232,0.04);
  border-radius: 6px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}
.wf-hero__title {
  width: 80%;
  height: 16px;
  background: var(--bone);
  border-radius: 3px;
}
.wf-hero__sub {
  width: 55%;
  height: 6px;
  background: rgba(245,241,232,0.45);
  border-radius: 2px;
}
.wf-hero__cta {
  margin-top: 4px;
  width: 70px;
  height: 14px;
  background: var(--lime);
  border-radius: 999px;
}
.wf-mini-hero {
  height: 44px;
  background: rgba(245,241,232,0.06);
  border-radius: 6px;
  position: relative;
}
.wf-mini-hero::after {
  content: "";
  position: absolute;
  left: 12px; bottom: 8px;
  width: 36px; height: 8px;
  background: var(--lime);
  border-radius: 999px;
}

/* Strip block (eyebrow/intro line) */
.wf-strip {
  height: 6px;
  width: 60%;
  background: rgba(184,255,77,0.5);
  border-radius: 2px;
}

/* Generic grid of section tiles */
.wf-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
}
.wf-grid--3 { grid-template-columns: repeat(3, 1fr); }
.wf-grid > div {
  aspect-ratio: 1 / 1;
  background: rgba(245,241,232,0.08);
  border-radius: 4px;
}

/* Growth phones row in mini */
.wf-phones {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
}
.wf-phones > div {
  aspect-ratio: 9 / 16;
  background: rgba(245,241,232,0.08);
  border-radius: 4px;
}

/* MM discipline grid mini */
.wf-disc {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 4px;
}
.wf-disc > div {
  aspect-ratio: 1 / 1;
  background: rgba(245,241,232,0.08);
  border-radius: 3px;
}
.wf-disc > .wf-disc--accent {
  background: var(--lime);
}

/* Web process timeline mini (5 nodes connected) */
.wf-timeline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 4px;
  position: relative;
}
.wf-timeline::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 10%;
  right: 10%;
  height: 1px;
  background: rgba(184,255,77,0.4);
  transform: translateY(-50%);
}
.wf-timeline span {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--ink);
  border: 1.5px solid var(--lime);
  position: relative;
  z-index: 1;
}

.wf-page__label {
  position: absolute;
  bottom: 8px;
  left: 12px;
  right: 12px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--bone);
  display: flex;
  align-items: center;
  gap: 8px;
}
.wf-page__badge {
  margin-left: auto;
  font-size: 8.5px;
  padding: 3px 8px;
  border-radius: 999px;
  background: var(--lime);
  color: var(--ink);
  letter-spacing: 0.12em;
}

@media (max-width: 1100px) {
  .wf-row--four { grid-template-columns: repeat(2, 1fr); }
  .wf-connector--branch::after { left: 25%; right: 25%; }
}
@media (max-width: 600px) {
  .wf-row--four { grid-template-columns: 1fr; }
  .wf-connector { height: 24px; }
}

/* =====================================================================
   Wireframe — Full sitemap + Conversion architecture
   ===================================================================== */
.wf-block { margin-top: var(--gap-xl); padding-top: var(--gap-lg); border-top: 1px solid rgba(245,241,232,0.08); }
.wf-block:first-of-type { border-top: none; padding-top: 0; margin-top: var(--gap-lg); }
.wf-block__label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--lime);
  margin: 0 0 8px;
}
.wf-block__title {
  font-family: var(--font-display);
  font-size: clamp(28px, 2.8vw, 40px);
  font-weight: 400;
  line-height: 1.15;
  margin: 0 0 var(--gap-sm);
  color: var(--bone);
}
.wf-block__deck {
  margin: 0 0 var(--gap-lg);
  max-width: 64ch;
  font-size: 15.5px;
  line-height: 1.55;
  color: var(--muted-on-ink);
}

/* -------- Sitemap (3A) ---------------------------------- */
.sitemap {
  padding: var(--gap-lg);
  background: linear-gradient(180deg, rgba(245,241,232,0.03), rgba(245,241,232,0.01));
  border: 1px solid rgba(245,241,232,0.1);
  border-radius: 14px;
}
.sitemap__root { display: flex; justify-content: center; }
.sitemap__node {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  border: 1px solid rgba(245,241,232,0.18);
  border-radius: 10px;
  background: var(--graphite);
  color: var(--bone);
  font-family: var(--font-system);
  font-weight: 600;
  font-size: 14px;
  transition: border-color var(--dur-fast) var(--ease), background var(--dur-fast) var(--ease), transform var(--dur-fast) var(--ease);
}
.sitemap__node:hover {
  border-color: var(--lime);
  transform: translateY(-1px);
}
.sitemap__node--root {
  background: var(--lime);
  color: var(--ink);
  border-color: var(--lime);
  padding: 14px 22px;
  font-size: 16px;
}
.sitemap__node--root:hover { transform: translateY(-2px); }
.sitemap__node--parent {
  background: rgba(184,255,77,0.08);
  border-color: rgba(184,255,77,0.4);
}
.sitemap__node--child {
  font-size: 13px;
  padding: 8px 12px;
  background: rgba(245,241,232,0.04);
}
.sitemap__node--active {
  background: var(--lime);
  color: var(--ink);
  border-color: var(--lime);
}
.sitemap__node-mono {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.06em;
  opacity: 0.7;
}
.sitemap__node--child .sitemap__node-mono { font-size: 9.5px; }
.sitemap__node-label { font-weight: 700; }
.sitemap__here {
  display: inline-block;
  margin-left: 6px;
  padding: 2px 7px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--lime);
  font-family: var(--font-mono);
  font-size: 8.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 700;
}

.sitemap__trunk {
  width: 1px;
  height: 28px;
  background: linear-gradient(180deg, var(--lime), rgba(184,255,77,0.25));
  margin: 0 auto;
}

.sitemap__branches {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: var(--gap);
  align-items: start;
  position: relative;
}
.sitemap__branches::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 10%;
  right: 10%;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(184,255,77,0.45) 10%, rgba(184,255,77,0.45) 90%, transparent 100%);
}
.sitemap__col {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  position: relative;
  padding-top: 14px;
}
.sitemap__col::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: 1px;
  height: 14px;
  background: rgba(184,255,77,0.45);
  transform: translateX(-50%);
}

.sitemap__rail {
  width: 1px;
  height: 12px;
  background: rgba(184,255,77,0.5);
}
.sitemap__children {
  display: flex;
  flex-direction: column;
  gap: 6px;
  width: 100%;
  align-items: stretch;
}
.sitemap__children .sitemap__node {
  justify-content: space-between;
  width: 100%;
}

@media (max-width: 960px) {
  .sitemap__branches { grid-template-columns: repeat(2, 1fr); }
  .sitemap__branches::before { display: none; }
}
@media (max-width: 560px) {
  .sitemap__branches { grid-template-columns: 1fr; }
}

/* -------- Conversion architecture (3B) ------------------ */
.convo {
  position: relative;
  padding: var(--gap-lg) var(--gap-lg) var(--gap-lg) calc(var(--gap-lg) + 48px);
  background: linear-gradient(180deg, rgba(245,241,232,0.03), rgba(245,241,232,0.01));
  border: 1px solid rgba(245,241,232,0.1);
  border-radius: 14px;
}
.convo__rail {
  position: absolute;
  top: var(--gap-lg);
  bottom: var(--gap-lg);
  left: var(--gap-lg);
  width: 2px;
  background: linear-gradient(180deg, var(--lime) 0%, var(--lime) 80%, rgba(184,255,77,0.2) 100%);
  border-radius: 2px;
  overflow: hidden;
}
.convo__rail-pulse {
  position: absolute;
  top: 0;
  left: -2px;
  right: -2px;
  height: 30%;
  background: linear-gradient(180deg, transparent 0%, var(--lime) 50%, transparent 100%);
  filter: blur(4px);
  animation: convo-pulse 4.5s ease-in-out infinite;
}
@keyframes convo-pulse {
  0%   { transform: translateY(-30%); opacity: 0; }
  20%  { opacity: 1; }
  80%  { opacity: 1; }
  100% { transform: translateY(330%); opacity: 0; }
}

.convo__steps {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: var(--gap-lg);
}
.convo__step {
  display: grid;
  grid-template-columns: 36px 1fr 220px;
  gap: var(--gap);
  align-items: start;
  position: relative;
}
.convo__num {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--ink);
  border: 1.5px solid var(--lime);
  color: var(--lime);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  display: grid;
  place-items: center;
  margin-left: -50px;
  margin-top: 14px;
  position: relative;
  z-index: 1;
}
.convo__num--end {
  background: var(--lime);
  color: var(--ink);
}

.convo__band {
  padding: 18px 20px;
  border: 1px solid rgba(245,241,232,0.12);
  border-radius: 10px;
  background: var(--graphite);
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 96px;
}
.convo__band--hero { padding: 22px; }
.convo__band--cta {
  background: linear-gradient(135deg, rgba(184,255,77,0.12), rgba(184,255,77,0.04));
  border-color: rgba(184,255,77,0.45);
  align-items: center;
}
.convo__band-row {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 16px;
  align-items: center;
}
.convo__lines {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.convo__line {
  height: 8px;
  border-radius: 3px;
  background: rgba(245,241,232,0.18);
}
.convo__line--xl { height: 16px; width: 80%; background: var(--bone); }
.convo__line--md { height: 6px; width: 60%; }
.convo__line--sm { height: 5px; width: 45%; }
.convo__line--xs { height: 5px; width: 30%; }
.convo__line--center { margin-left: auto; margin-right: auto; }
.convo__cta {
  margin-top: 4px;
  width: 90px;
  height: 18px;
  background: var(--lime);
  border-radius: 999px;
}
.convo__cta--center { margin-left: auto; margin-right: auto; }
.convo__media {
  width: 100%;
  aspect-ratio: 4 / 3;
  background: rgba(245,241,232,0.08);
  border-radius: 6px;
}
.convo__grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 6px;
}
.convo__grid > div {
  aspect-ratio: 1 / 1;
  background: rgba(245,241,232,0.08);
  border-radius: 4px;
}
.convo__strip {
  display: flex;
  gap: 6px;
}
.convo__strip > span {
  flex: 1;
  height: 32px;
  background: rgba(245,241,232,0.08);
  border-radius: 4px;
}
.convo__quote {
  padding: 14px;
  background: rgba(245,241,232,0.04);
  border-left: 2px solid var(--lime);
  border-radius: 4px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.convo__note {
  padding-top: 14px;
  border-top: 1px solid rgba(245,241,232,0.06);
}
.convo__note-title {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--lime);
}
.convo__note-copy {
  margin: 4px 0 0;
  font-size: 13px;
  line-height: 1.5;
  color: var(--muted-on-ink);
}

@media (max-width: 960px) {
  .convo__step { grid-template-columns: 1fr; }
  .convo__num { margin-left: -50px; margin-top: 4px; }
  .convo__note { border-top: none; padding-top: 0; }
}
@media (max-width: 600px) {
  .convo { padding-left: calc(var(--gap-lg) + 32px); }
  .convo__num { margin-left: -40px; width: 22px; height: 22px; font-size: 10px; }
  .convo__rail { left: var(--gap); }
}

/* =====================================================================
   Branding service page (branding.html)
   ===================================================================== */

/* -------- Hero ------------------------------------------- */
.br-hero { padding-top: calc(var(--gap-lg) + 8px); }
.br-hero__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--gap-xl);
  align-items: center;
}
.br-hero__headline { margin: 16px 0 24px; }
.br-hero__deck {
  color: var(--muted-on-ink);
  max-width: 56ch;
  margin-bottom: var(--gap-sm);
}
.br-hero__support {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 18px;
  line-height: 1.5;
  color: var(--bone);
  max-width: 52ch;
  margin: 0 0 var(--gap-lg);
  padding-left: 14px;
  border-left: 2px solid var(--lime);
}
.br-hero__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: var(--gap-sm);
}

/* -------- Hero viz frame (hosts the brand-stage card) ---- */
.br-hero__viz {
  position: relative;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: var(--gap-sm);
}
.br-hero__viz-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 5;
  border-radius: 14px;
  overflow: hidden;
  background: var(--ink);
  border: 1px solid var(--graphite);
  box-shadow: 0 30px 60px rgba(0,0,0,0.55);
}
.br-hero__viz-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(10,10,10,0.92) 0%, rgba(10,10,10,0.65) 28%, rgba(10,10,10,0.35) 55%, rgba(10,10,10,0.7) 100%);
  pointer-events: none;
}
.br-hero__brain {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
  pointer-events: none;
  animation: brain-drift 12s ease-in-out infinite alternate;
}
@keyframes brain-drift {
  0%   { transform: scale(1.02) translate(0, 0); }
  100% { transform: scale(1.06) translate(-1%, 1%); }
}
.br-hero__viz-frame .brand-stage { position: absolute; inset: 0; z-index: 2; }
@media (prefers-reduced-motion: reduce) {
  .br-hero__brain { animation: none; }
}
@media (max-width: 960px) {
  .br-hero__viz-frame { aspect-ratio: 16 / 10; }
}
.flipbook {
  position: relative;
  width: 100%;
  perspective: 1600px;
}
.flipbook__stack {
  position: relative;
  width: 100%;
  aspect-ratio: 1200 / 840;
  border-radius: 12px;
  overflow: hidden;
  background: var(--graphite);
  box-shadow: 0 30px 60px rgba(0,0,0,0.55), 0 0 0 1px rgba(245,241,232,0.08);
  transform-style: preserve-3d;
}
.flipbook__stack::after {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: 1px;
  bottom: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.4), rgba(0,0,0,0), rgba(0,0,0,0.4));
  pointer-events: none;
  z-index: 5;
  opacity: 0.4;
}
.flipbook__page {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  opacity: 0;
  transform-origin: left center;
  backface-visibility: hidden;
  animation: flip-page 30s linear infinite;
}
.flipbook__page:nth-child(1)  { animation-delay:  0s; z-index: 10; }
.flipbook__page:nth-child(2)  { animation-delay:  3s; z-index:  9; }
.flipbook__page:nth-child(3)  { animation-delay:  6s; z-index:  8; }
.flipbook__page:nth-child(4)  { animation-delay:  9s; z-index:  7; }
.flipbook__page:nth-child(5)  { animation-delay: 12s; z-index:  6; }
.flipbook__page:nth-child(6)  { animation-delay: 15s; z-index:  5; }
.flipbook__page:nth-child(7)  { animation-delay: 18s; z-index:  4; }
.flipbook__page:nth-child(8)  { animation-delay: 21s; z-index:  3; }
.flipbook__page:nth-child(9)  { animation-delay: 24s; z-index:  2; }
.flipbook__page:nth-child(10) { animation-delay: 27s; z-index:  1; }
@keyframes flip-page {
  0%   { opacity: 0; transform: rotateY(45deg); }
  2%   { opacity: 1; transform: rotateY(0); }
  9%   { opacity: 1; transform: rotateY(0); }
  11%  { opacity: 0; transform: rotateY(-45deg); }
  100% { opacity: 0; transform: rotateY(-45deg); }
}
.flipbook__caption {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted-on-ink);
}

@media (max-width: 960px) {
  .br-hero__inner { grid-template-columns: 1fr; gap: var(--gap-xl); }
}
@media (prefers-reduced-motion: reduce) {
  .flipbook__page { animation: none; }
  .flipbook__page:nth-child(1) { opacity: 1; }
}

/* -------- Deliverables grid (6 cards on Bone) ------------ */
.br-del-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--gap);
  margin-top: var(--gap-lg);
}
.br-del-card {
  background: #fff;
  border: 1px solid var(--dust);
  border-radius: 10px;
  padding: var(--gap-lg) var(--gap);
  display: flex;
  flex-direction: column;
  gap: var(--gap-sm);
  transition: border-color var(--dur-fast) var(--ease), transform var(--dur-fast) var(--ease), box-shadow var(--dur-fast) var(--ease);
}
.br-del-card:hover {
  border-color: var(--ink);
  transform: translateY(-3px);
  box-shadow: 0 20px 40px rgba(10,10,10,0.08);
}
.br-del-card__num {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--ink);
  opacity: 0.6;
}
.br-del-card__icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--bone);
  border: 1px solid var(--dust);
  display: grid;
  place-items: center;
  color: var(--ink);
  margin-bottom: 4px;
}
.br-del-card__icon svg { width: 26px; height: 26px; }
.br-del-card__title {
  font-family: var(--font-display);
  font-size: clamp(22px, 2vw, 28px);
  font-weight: 400;
  line-height: 1.15;
  margin: 0;
  color: var(--ink);
}
.br-del-card p {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--muted-on-bone);
}
@media (max-width: 960px) { .br-del-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .br-del-grid { grid-template-columns: 1fr; } }

/* -------- Brand Bible callout (Ink) --------------------- */
.br-bible { padding-top: var(--gap-xl); padding-bottom: var(--gap-xl); }
.bible-card {
  position: relative;
  padding: var(--gap-xl) var(--gap-xl);
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(184,255,77,0.06), rgba(184,255,77,0.02));
  border: 1px solid rgba(184,255,77,0.4);
  box-shadow: 0 0 60px rgba(184,255,77,0.08), inset 0 0 0 1px rgba(245,241,232,0.04);
  text-align: center;
  max-width: 940px;
  margin: 0 auto;
}
.bible-card__badge {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--lime);
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: var(--gap-sm);
}
.bible-card__title {
  margin: 0 0 var(--gap-sm);
  max-width: 22ch;
  margin-left: auto;
  margin-right: auto;
}
.bible-card__copy {
  margin: 0 auto var(--gap);
  max-width: 60ch;
  font-size: 17px;
  line-height: 1.55;
  color: var(--muted-on-ink);
}
.bible-card__bullets {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 10px;
  margin-top: var(--gap);
}
.bible-card__bullets span {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 8px 14px;
  border: 1px solid rgba(245,241,232,0.18);
  border-radius: 999px;
  color: var(--bone);
}
@media (max-width: 720px) { .bible-card { padding: var(--gap-lg); } }

/* -------- Touchpoints marquee ---------------------------- */
.br-touch .section-header { margin-bottom: var(--gap-lg); }
.touch-strip {
  position: relative;
  width: 100%;
  overflow: hidden;
  padding: 8px 0;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 5%, #000 95%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0, #000 5%, #000 95%, transparent 100%);
}
.touch-strip__track {
  display: flex;
  align-items: center;
  gap: 14px;
  width: max-content;
  padding: 0 14px;
  animation: touch-marquee 36s linear infinite;
  will-change: transform;
}
@keyframes touch-marquee {
  to { transform: translateX(-50%); }
}
.touch-strip:hover .touch-strip__track { animation-play-state: paused; }

.touch-pill {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 18px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--dust);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink);
  transition: border-color var(--dur-fast) var(--ease), transform var(--dur-fast) var(--ease);
}
.touch-pill:hover {
  border-color: var(--ink);
  transform: translateY(-2px);
}
.touch-pill svg {
  width: 16px;
  height: 16px;
  color: var(--lime);
  stroke: currentColor;
  flex-shrink: 0;
}
@media (prefers-reduced-motion: reduce) {
  .touch-strip__track { animation: none; }
}

/* =====================================================================
   AI Services page (ai-services.html)
   ===================================================================== */

/* -------- Hero ------------------------------------------- */
.ai-hero { padding-top: calc(var(--gap-lg) + 8px); }
.ai-hero__inner {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: var(--gap-xl);
  align-items: center;
}
.ai-hero__headline { margin: 16px 0 24px; }
.ai-hero__deck {
  color: var(--muted-on-ink);
  max-width: 56ch;
  margin-bottom: var(--gap-sm);
}
.ai-hero__support {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 18px;
  line-height: 1.5;
  color: var(--bone);
  max-width: 52ch;
  margin: 0 0 var(--gap-lg);
  padding-left: 14px;
  border-left: 2px solid var(--lime);
}
.ai-hero__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: var(--gap-sm);
  margin-bottom: var(--gap-lg);
}
.ai-hero__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.ai-hero__chips li {
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  padding: 8px 12px;
  border: 1px solid rgba(245,241,232,0.16);
  border-radius: 999px;
  color: var(--muted-on-ink);
}

/* Hero AI-platform viz frame */
.ai-hero__viz {
  position: relative;
  min-width: 0;
}
.ai-hero__viz-frame {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: 14px;
  overflow: hidden;
  background:
    radial-gradient(ellipse 80% 60% at 50% 60%, rgba(184, 255, 77, 0.12) 0%, transparent 70%),
    radial-gradient(rgba(184, 255, 77, 0.18) 0.8px, transparent 0.8px) 0 0 / 14px 14px,
    var(--ink);
  border: 1px solid var(--graphite);
  box-shadow: 0 30px 60px rgba(0,0,0,0.55);
}
.ai-hero__viz-frame .ai-platform {
  position: absolute;
  inset: 0;
}

@media (max-width: 960px) {
  .ai-hero__inner { grid-template-columns: 1fr; gap: var(--gap-xl); }
}

/* -------- Four pillars grid (on Bone) -------------------- */
.ai-pillar-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--gap);
  margin-top: var(--gap-lg);
}
.ai-pillar {
  background: #fff;
  border: 1px solid var(--dust);
  border-radius: 10px;
  padding: var(--gap-lg) var(--gap);
  display: flex;
  flex-direction: column;
  gap: var(--gap-sm);
  transition: border-color var(--dur-fast) var(--ease), transform var(--dur-fast) var(--ease), box-shadow var(--dur-fast) var(--ease);
}
.ai-pillar:hover {
  border-color: var(--ink);
  transform: translateY(-3px);
  box-shadow: 0 20px 40px rgba(10,10,10,0.08);
}
.ai-pillar__num {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--ink);
  opacity: 0.6;
}
.ai-pillar__icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--bone);
  border: 1px solid var(--dust);
  display: grid;
  place-items: center;
  color: var(--ink);
  margin-bottom: 2px;
}
.ai-pillar__icon svg { width: 22px; height: 22px; }
.ai-pillar__title {
  font-family: var(--font-display);
  font-size: clamp(22px, 1.9vw, 28px);
  font-weight: 400;
  line-height: 1.15;
  margin: 0;
  color: var(--ink);
}
.ai-pillar p {
  margin: 0;
  font-size: 14px;
  line-height: 1.55;
  color: var(--muted-on-bone);
}
.ai-pillar__caps {
  list-style: none;
  margin: 6px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.ai-pillar__caps li {
  position: relative;
  padding-left: 14px;
  font-size: 13px;
  line-height: 1.5;
  color: var(--muted-on-bone);
}
.ai-pillar__caps li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 7px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--lime);
}
@media (max-width: 1100px) { .ai-pillar-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px)  { .ai-pillar-grid { grid-template-columns: 1fr; } }

/* -------- The stack — AI platform marquee --------------- */
.ai-stack .section-header { margin-bottom: var(--gap-lg); }
.ai-stack-strip {
  position: relative;
  width: 100%;
  overflow: hidden;
  padding: 14px 0;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 5%, #000 95%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0, #000 5%, #000 95%, transparent 100%);
}
.ai-stack-strip__track {
  display: flex;
  align-items: center;
  gap: 14px;
  width: max-content;
  padding: 0 14px;
  animation: ai-stack-scroll 50s linear infinite;
  will-change: transform;
}
@keyframes ai-stack-scroll {
  to { transform: translateX(-50%); }
}
.ai-stack-strip:hover .ai-stack-strip__track { animation-play-state: paused; }

.ai-tile {
  flex: 0 0 auto;
  position: relative;
  display: inline-flex;
  flex-direction: column;
  gap: 4px;
  padding: 16px 22px;
  min-width: 200px;
  border-radius: 14px;
  background: var(--graphite);
  border: 1px solid rgba(245,241,232,0.12);
  transition: border-color var(--dur-fast) var(--ease), transform var(--dur-fast) var(--ease), box-shadow var(--dur-fast) var(--ease);
}
.ai-tile:hover {
  border-color: var(--tile-accent, var(--lime));
  transform: translateY(-3px);
  box-shadow: 0 0 26px color-mix(in srgb, var(--tile-accent, var(--lime)) 35%, transparent);
}
.ai-tile::before {
  content: "";
  position: absolute;
  top: 16px;
  right: 16px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--tile-accent, var(--lime));
  box-shadow: 0 0 12px var(--tile-accent, var(--lime));
}
.ai-tile__mono {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.22em;
  color: var(--muted-on-ink);
}
.ai-tile__name {
  font-family: var(--font-system);
  font-weight: 800;
  font-size: 18px;
  color: var(--bone);
  letter-spacing: -0.01em;
}
.ai-tile__role {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--tile-accent, var(--lime));
}

@media (prefers-reduced-motion: reduce) {
  .ai-stack-strip__track { animation: none; }
}

/* -------- Human + AI balance ---------------------------- */
.ai-balance-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--gap-lg);
  margin-top: var(--gap-lg);
  align-items: stretch;
}
.ai-balance-col {
  padding: var(--gap-lg);
  border-radius: 14px;
  border: 1px solid var(--dust);
  background: #fff;
  display: flex;
  flex-direction: column;
  gap: var(--gap);
}
.ai-balance-col--human {
  background: var(--ink);
  border-color: var(--graphite);
  color: var(--bone);
}
.ai-balance-col__label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--lime);
}
.ai-balance-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: var(--gap-sm);
}
.ai-balance-col li {
  padding: var(--gap-sm) 0;
  border-top: 1px solid var(--dust);
  font-size: 15px;
  line-height: 1.5;
  color: var(--ink);
}
.ai-balance-col--human li { border-top-color: rgba(245,241,232,0.16); color: var(--muted-on-ink); }
.ai-balance-col li strong { color: var(--ink); margin-right: 6px; }
.ai-balance-col--human li strong { color: var(--bone); }

@media (max-width: 720px) {
  .ai-balance-grid { grid-template-columns: 1fr; }
}

/* =====================================================================
   Modals (Book a Call + Start a Project) + form styles
   ===================================================================== */
.rs-modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.rs-modal.is-open {
  display: flex;
  animation: rs-modal-in 220ms var(--ease, ease) both;
}
@keyframes rs-modal-in {
  from { opacity: 0; }
  to   { opacity: 1; }
}

.rs-modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(10, 10, 10, 0.78);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.rs-modal__panel {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 560px;
  max-height: 92vh;
  overflow-y: auto;
  padding: var(--gap-xl) var(--gap-lg) var(--gap-lg);
  background: var(--ink);
  border: 1px solid var(--graphite);
  border-radius: 16px;
  box-shadow: 0 40px 80px rgba(0,0,0,0.5);
  color: var(--bone);
}

.rs-modal__close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(245,241,232,0.18);
  background: transparent;
  color: var(--bone);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: background var(--dur-fast) var(--ease), border-color var(--dur-fast) var(--ease);
}
.rs-modal__close:hover { background: rgba(245,241,232,0.08); border-color: rgba(184,255,77,0.5); }

.rs-modal__title { margin: 6px 0 8px; }
.rs-modal__deck {
  margin: 0 0 var(--gap);
  color: var(--muted-on-ink);
  font-size: 15px;
  line-height: 1.5;
}

/* -------- rs-form (used in modals + contact page) -------- */
.rs-form {
  display: flex;
  flex-direction: column;
  gap: var(--gap-sm);
}
.rs-form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--gap-sm);
}
.rs-form__field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}
.rs-form__label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted-on-ink);
}
.rs-form input[type="text"],
.rs-form input[type="email"],
.rs-form input[type="tel"],
.rs-form input[type="url"],
.rs-form select,
.rs-form textarea {
  width: 100%;
  padding: 12px 14px;
  background: var(--graphite);
  border: 1px solid rgba(245,241,232,0.12);
  border-radius: 8px;
  font-family: var(--font-system);
  font-size: 15px;
  color: var(--bone);
  outline: none;
  transition: border-color var(--dur-fast) var(--ease), background var(--dur-fast) var(--ease);
}
.rs-form input::placeholder,
.rs-form textarea::placeholder { color: rgba(245,241,232,0.35); }
.rs-form input:focus,
.rs-form select:focus,
.rs-form textarea:focus {
  border-color: var(--lime);
  background: #1f1f1f;
}
.rs-form select {
  appearance: none;
  -webkit-appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--bone) 50%), linear-gradient(135deg, var(--bone) 50%, transparent 50%);
  background-position: calc(100% - 18px) 50%, calc(100% - 12px) 50%;
  background-size: 6px 6px;
  background-repeat: no-repeat;
  padding-right: 36px;
}
.rs-form textarea {
  resize: vertical;
  min-height: 96px;
  font-family: var(--font-system);
  line-height: 1.5;
}

.rs-form__radios,
.rs-form__checks {
  border: 0;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.rs-form__radios .rs-form__label,
.rs-form__checks .rs-form__label { margin-bottom: 4px; }

.rs-radio,
.rs-check {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  background: var(--graphite);
  border: 1px solid rgba(245,241,232,0.12);
  border-radius: 8px;
  font-family: var(--font-system);
  font-size: 14px;
  color: var(--bone);
  cursor: pointer;
  transition: border-color var(--dur-fast) var(--ease);
}
.rs-radio:hover,
.rs-check:hover { border-color: rgba(184,255,77,0.4); }
.rs-radio input,
.rs-check input { accent-color: var(--lime); }
.rs-radio input:checked + span,
.rs-check input:checked + span { color: var(--lime); font-weight: 700; }

.rs-form__radios {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.rs-form__radios > .rs-form__label { grid-column: 1 / -1; }

.rs-form__checks {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.rs-form__checks > .rs-form__label { grid-column: 1 / -1; }

.rs-form__submit {
  margin-top: var(--gap-sm);
  align-self: flex-start;
}

.rs-form__note {
  margin: 8px 0 0;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted-on-ink);
}
.rs-form__hp { position: absolute; left: -9999px; opacity: 0; pointer-events: none; }

/* On Bone backgrounds (contact-page hero is Ink, so keep as-is) */

@media (max-width: 560px) {
  .rs-form__row,
  .rs-form__radios,
  .rs-form__checks { grid-template-columns: 1fr; }
  .rs-modal__panel { padding: var(--gap-lg) var(--gap); }
}

/* =====================================================================
   Contact page layout
   ===================================================================== */
.contact-page { padding-top: calc(var(--gap-lg) + 12px); }
.contact-page__inner {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: var(--gap-xl);
  align-items: start;
}
.contact-page__headline { margin: 16px 0 18px; }
.contact-page__deck {
  color: var(--muted-on-ink);
  max-width: 38ch;
  margin-bottom: var(--gap);
}
.contact-page__chips {
  list-style: none;
  padding: 0;
  margin: var(--gap) 0 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.contact-page__form-wrap {
  padding: var(--gap-lg);
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(245,241,232,0.03), rgba(245,241,232,0.01));
  border: 1px solid rgba(245,241,232,0.1);
}
@media (max-width: 960px) {
  .contact-page__inner { grid-template-columns: 1fr; }
}

/* Mobile menu CTA button styled to match anchor look */
.mobile-menu__cta {
  margin-top: 24px;
  font-family: var(--font-system);
  font-size: 16px;
  background: transparent;
  border: 0;
  color: inherit;
  cursor: pointer;
  text-align: left;
  padding: 0;
}

/* =====================================================================
   About page layout
   ===================================================================== */
.about-hero { padding-top: calc(var(--gap-lg) + 8px); }
.about-hero__inner {
  display: flex;
  flex-direction: column;
  gap: var(--gap);
  max-width: 920px;
}
.about-hero__headline { margin: 12px 0 16px; line-height: 0.98; }
.about-hero__lead {
  font-size: clamp(18px, 1.6vw, 22px);
  color: var(--muted-on-ink);
  max-width: 60ch;
  line-height: 1.5;
}

.about-story__inner { max-width: 760px; }
.about-story__body {
  display: flex;
  flex-direction: column;
  gap: var(--gap);
  font-size: 17px;
  line-height: 1.6;
  color: var(--muted-on-bone);
}
.about-story__body p { margin: 0; }

.about-team__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--gap-xl);
  margin-top: var(--gap-lg);
}
.about-team__grid--three {
  grid-template-columns: repeat(3, 1fr);
  gap: var(--gap);
}
.about-person {
  display: flex;
  flex-direction: column;
  gap: var(--gap);
}
.about-person__portrait {
  aspect-ratio: 5 / 4;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--graphite), var(--ink));
  border: 1px solid rgba(245,241,232,0.12);
  overflow: hidden;
  position: relative;
}
.about-person__portrait img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 22%;
}
/* Per-card object-position tuning so each photo's subject sits well in
   the 5:4 landscape crop. The Together photo (portrait orientation,
   subjects mid-frame) needs a deeper anchor or it leaves the dark
   cinder-block top reading as empty space. */
.about-team__grid--three > article:nth-child(3) .about-person__portrait img {
  object-position: center 40%;
}
.about-person__initials {
  font-family: var(--font-display);
  font-size: clamp(64px, 6vw, 96px);
  color: var(--lime);
}
.about-person__role {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--lime);
}
.about-person__name {
  margin: 6px 0 8px;
  font-family: var(--font-display);
  font-size: clamp(28px, 2.4vw, 36px);
  font-weight: 400;
  line-height: 1.15;
  color: var(--bone);
}
.about-person__bio {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--muted-on-ink);
  max-width: 56ch;
}
@media (max-width: 1100px) {
  .about-team__grid--three { grid-template-columns: 1fr; gap: var(--gap-xl); }
}
@media (max-width: 720px) {
  .about-team__grid { grid-template-columns: 1fr; }
}

/* -------- Video hero banner (replaces We-create-for-the-now hero) -- */
.about-video-hero {
  padding: 0;
}
.about-video-hero__frame {
  position: relative;
  width: 100%;
  height: clamp(420px, 72vh, 720px);
  overflow: hidden;
  background: var(--ink);
  /* Container queries let the iframe size off the frame's actual
     rendered box, not the viewport — critical on mobile where the
     frame height is much smaller than 100vh. */
  container-type: size;
  container-name: aboutHero;
}
.about-video-hero__poster {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  object-fit: cover;
  z-index: 0;
}
.about-video-hero__video {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border: 0;
  pointer-events: none;
  z-index: 1;
  /* True 16:9 cover: whichever dimension is the binding constraint
     drives the other. If the frame is wider than 16:9 the width wins
     and height overflows (cropped); if narrower the height wins and
     width overflows. Result: video always covers the frame edge-to-
     edge with no letterboxing. */
  width: max(100cqw, calc(100cqh * 16 / 9));
  height: max(100cqh, calc(100cqw * 9 / 16));
}
.about-video-hero__poster {
  z-index: 0;
}
.about-video-hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(180deg, rgba(10,10,10,0) 30%, rgba(10,10,10,0.85) 100%);
  pointer-events: none;
}
.about-video-hero__caption {
  position: absolute;
  left: clamp(20px, 5vw, 64px);
  bottom: clamp(28px, 5vw, 64px);
  z-index: 3;
  color: var(--bone);
}
.about-video-hero__caption .eyebrow { color: var(--muted-on-ink); }
.about-video-hero__title {
  margin: 8px 0 0;
  line-height: 0.98;
  letter-spacing: -0.02em;
}
@media (max-width: 600px) {
  .about-video-hero__frame { height: clamp(360px, 64vh, 520px); }
}

/* -------- About closing block --------------------------- */
.about-together__inner {
  max-width: 820px;
  text-align: center;
  margin: 0 auto;
}
.about-together__photo {
  width: 100%;
  max-width: 720px;
  margin: 0 auto var(--gap-lg);
  border-radius: 14px;
  overflow: hidden;
  background: var(--graphite);
  box-shadow: 0 30px 60px rgba(0,0,0,0.18);
}
.about-together__photo img {
  display: block;
  width: 100%;
  height: auto;
}
.about-together__headline { margin: 12px auto 16px; max-width: 22ch; }
.about-together__copy {
  margin: 0 auto;
  max-width: 60ch;
  font-size: clamp(17px, 1.5vw, 20px);
  line-height: 1.6;
  color: var(--muted-on-bone);
}

.about-values__list {
  list-style: none;
  padding: 0;
  margin: var(--gap-lg) 0 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--gap);
}
.about-value {
  padding: var(--gap-lg) var(--gap);
  background: #fff;
  border: 1px solid var(--dust);
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.about-value__num {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--lime);
}
.about-value__title {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(22px, 2vw, 28px);
  font-weight: 400;
  color: var(--ink);
}
.about-value p {
  margin: 0;
  font-size: 15px;
  line-height: 1.55;
  color: var(--muted-on-bone);
}
@media (max-width: 720px) { .about-values__list { grid-template-columns: 1fr; } }

/* =====================================================================
   Thanks page
   ===================================================================== */
.thanks { min-height: 60vh; display: grid; place-items: center; }
.thanks__inner { text-align: center; max-width: 640px; padding: var(--gap-xl) 0; }
.thanks__deck { margin: var(--gap-sm) 0 var(--gap-lg); color: var(--muted-on-ink); }
.thanks__ctas { display: flex; flex-wrap: wrap; gap: var(--gap-sm); justify-content: center; }

/* =====================================================================
   Mobile responsive tuning pass
   Targets: 768 (tablet), 600 (sm tablet / lg phone), 480 (phone), 380 (xs)
   ===================================================================== */

@media (max-width: 768px) {
  /* Section vertical padding tightens up */
  .section { padding-block: clamp(40px, 9vw, 64px); }
  .container { padding-inline: 20px; }

  /* Breadcrumb wraps */
  .breadcrumb ol { flex-wrap: wrap; }

  /* Hero: text deck reads tighter */
  .hero__lead, .cc-hero__deck, .gr-hero__deck, .mm-hero__deck, .ai-hero__deck,
  .web-hero__deck, .br-hero__deck, .about-hero__lead {
    font-size: 16px;
    line-height: 1.5;
  }

  /* Capability chip strips wrap and shrink */
  .cc-hero__chips li, .gr-hero__chips li, .mm-hero__chips li, .ai-hero__chips li {
    font-size: 10px;
    padding: 7px 10px;
  }

  /* Service page hero CTAs full width */
  .web-hero__ctas, .br-hero__ctas, .gr-hero__ctas, .cc-hero__ctas,
  .mm-hero__ctas, .ai-hero__ctas, .hero__ctas {
    flex-direction: column;
    align-items: stretch;
  }
  .web-hero__ctas .btn, .br-hero__ctas .btn, .gr-hero__ctas .btn, .cc-hero__ctas .btn,
  .mm-hero__ctas .btn, .ai-hero__ctas .btn, .hero__ctas .btn {
    justify-content: center;
  }

  /* Nav: hide the desktop CTAs on tablet+, mobile-menu handles it */
  .site-nav__cta { display: none; }
  .site-nav__toggle { display: inline-flex; }

  /* Hero stats stack already at 720; ensure padding is right */
  .hero__stats { gap: var(--gap); }

  /* Service grid on home — 1 col on small */
  .services-grid { grid-template-columns: 1fr; }

  /* Creative content recent work strip: smaller rows on mobile */
  .work-strip { height: clamp(260px, 38vh, 340px); }
  .work-strip__track { gap: 12px; padding: 0 12px; animation-duration: 70s; }

  /* AI stack tiles smaller */
  .ai-tile { min-width: 168px; padding: 12px 16px; }
  .ai-tile__name { font-size: 16px; }

  /* Testimonial cards smaller width */
  .testimonial { width: clamp(260px, 78vw, 320px); padding: var(--gap) var(--gap-sm); }
  .testimonial blockquote { font-size: 13.5px; }

  /* Touchpoints marquee tighter */
  .touch-pill { padding: 9px 14px; font-size: 11px; }

  /* Modals: full-width feel, less padding */
  .rs-modal__panel { padding: var(--gap-lg) var(--gap); max-height: 88vh; }
  .rs-modal__title { font-size: 28px; }
  .rs-form__row { grid-template-columns: 1fr; gap: 10px; }
  .rs-form__radios, .rs-form__checks { grid-template-columns: 1fr; }

  /* Contact page: form takes full width, sidebar above */
  .contact-page__inner { gap: var(--gap-lg); }

  /* About video hero: less vertical real estate */
  .about-video-hero__frame { height: clamp(340px, 60vh, 480px); }
  .about-video-hero__caption { left: 20px; bottom: 24px; }
  .about-video-hero__title { font-size: clamp(36px, 9vw, 56px); }

  /* Web process timeline shrinks */
  .proc-step__icon { width: 56px; height: 56px; }
  .proc-step__icon svg { width: 22px; height: 22px; }
  .proc-step { padding: var(--gap-sm) var(--gap-sm) var(--gap); }
  .proc-step__title { font-size: 18px; }
  .proc-step__copy { font-size: 13px; }

  /* Branding deliverable + flipbook spacing */
  .br-del-card { padding: var(--gap) var(--gap-sm); }
  .br-del-card__icon { width: 40px; height: 40px; }
  .br-del-card__icon svg { width: 22px; height: 22px; }

  /* Brand Bible card */
  .bible-card { padding: var(--gap-lg) var(--gap); }
  .bible-card__title { font-size: clamp(28px, 7vw, 36px); }
  .bible-card__copy { font-size: 15px; }

  /* Marketing Management discipline cards */
  .mm-disc { padding: var(--gap) var(--gap-sm); }

  /* MM hero discipline grid: cards smaller, gap tighter */
  .disc-grid { gap: 8px; padding: 4px; }
  .disc-tile { padding: 10px; border-radius: 10px; }
  .disc-tile__label { font-size: 13px; }

  /* Growth services engine viz min-height shorter */
  .gr-engine__viz { min-height: 280px; padding: var(--gap-sm); }

  /* Social platform badges smaller on mobile */
  .social-badge { width: 96px; height: 96px; border-radius: 20px; }
  .social-badge__icon { width: 38px; height: 38px; }

  /* AI hero viz frame keeps aspect but smaller */
  .ai-hero__viz-frame { aspect-ratio: 4 / 5; }

  /* Phone mockups (growth page) scale down */
  .phone { width: 168px; height: auto; }
}

@media (max-width: 600px) {
  /* Footer: 1 col stack */
  .site-footer__top { grid-template-columns: 1fr; gap: var(--gap-lg); }

  /* Case feature stacks fully (already done elsewhere but ensure) */
  .case-feature { gap: var(--gap-lg); }
  .case-feature__stats { grid-template-columns: 1fr; }

  /* Recent work strip even smaller */
  .work-strip { height: clamp(220px, 32vh, 280px); }
  .work-strip__track { animation-duration: 60s; }

  /* Wireframe sitemap stacks */
  .sitemap__branches { grid-template-columns: 1fr; }
  .sitemap__branches::before { display: none; }
  .sitemap__col::before { display: none; }
  .convo__step { grid-template-columns: 1fr; gap: var(--gap-sm); }
  .convo__num { margin-left: -40px; }
  .convo { padding-left: calc(var(--gap-lg) + 28px); }

  /* AI pillar grid one column */
  .ai-pillar-grid { grid-template-columns: 1fr; }

  /* AI human/AI balance one column */
  .ai-balance-grid { grid-template-columns: 1fr; }

  /* Branding deliverables to 1 col */
  .br-del-grid { grid-template-columns: 1fr; }

  /* Touchpoints marquee narrower pills */
  .touch-pill { padding: 8px 12px; font-size: 10px; }
  .touch-pill svg { width: 14px; height: 14px; }

  /* Marketing Management discipline cards 1 col */
  .mm-disc-grid { grid-template-columns: 1fr; }

  /* MM hero disc-grid 2 col */
  .disc-grid { grid-template-columns: repeat(2, 1fr); }

  /* About team 3-col already collapses at 1100; ensure portrait crop ok */
  .about-person__portrait { aspect-ratio: 5 / 4; }
  /* On mobile the cards stack, so we can match each card's portrait to
     its source photo aspect — no awkward crop, no dark dead space. */
  .about-team__grid--three > article:nth-child(1) .about-person__portrait {
    aspect-ratio: 1000 / 1127; /* christopher.png natural */
  }
  .about-team__grid--three > article:nth-child(1) .about-person__portrait img {
    object-position: center 20%;
  }
  .about-team__grid--three > article:nth-child(3) .about-person__portrait {
    aspect-ratio: 1320 / 1623; /* both.png natural */
  }
  .about-team__grid--three > article:nth-child(3) .about-person__portrait img {
    object-position: center center;
  }

  /* Web build cards 1 col */
  .web-build-grid { grid-template-columns: 1fr; }
  .platform-row--bone { grid-template-columns: 1fr 1fr; }

  /* Process timeline goes vertical */
  .proc-timeline { grid-template-columns: 1fr; gap: var(--gap); }

  /* Hero stats already 1 col at 720 */

  /* Lifecycle mock (email + sms) stacks */
  .lifecycle-mock { grid-template-columns: 1fr; }

  /* Phone row in growth hero scrolls horizontally if needed */
  .phone-row { gap: 12px; }
  .phone { width: 150px; }

  /* AI tiles narrower */
  .ai-tile { min-width: 152px; }

  /* Case feature stack on growth too */
  .case-feature--stack .case-feature__media-stack { position: static; }
}

@media (max-width: 480px) {
  /* Even tighter padding on phones */
  .container { padding-inline: 16px; }
  .section { padding-block: clamp(32px, 8vw, 48px); }

  /* H1 sizing on display-l / xl tightens further */
  .t-display-xl { font-size: clamp(44px, 11vw, 64px); }
  .t-display-l  { font-size: clamp(34px, 9vw, 48px); }
  .t-display-m  { font-size: clamp(28px, 7vw, 36px); }

  /* Hero on home: text-only after media hidden */
  .hero__inner { padding-top: 8px; }
  .hero__headline { font-size: clamp(48px, 14vw, 80px); }

  /* Nav brand image smaller on very narrow phones */
  .site-nav__brand-img--wordmark { height: 22px; }
  .site-nav__brand-img--mark { height: 26px; }
  .site-nav__inner { gap: 12px; }

  /* Service card content padding */
  .service-card__content { padding: 20px; }
  .service-card__title { font-size: clamp(24px, 6vw, 32px); }

  /* Mobile menu */
  .mobile-menu nav a, .mobile-menu__cta { font-size: 22px; }

  /* About video hero shorter */
  .about-video-hero__frame { height: clamp(300px, 56vh, 400px); }

  /* Branding bible bullets wrap tighter */
  .bible-card__bullets span { font-size: 9px; padding: 6px 10px; }

  /* Modal: scrollable but tighter */
  .rs-modal { padding: 12px; }
  .rs-modal__panel { padding: var(--gap) 18px var(--gap); border-radius: 12px; }
  .rs-modal__close { top: 10px; right: 10px; width: 32px; height: 32px; }

  /* Form inputs slightly smaller */
  .rs-form input, .rs-form select, .rs-form textarea { font-size: 14px; padding: 10px 12px; }
  .rs-form__label { font-size: 9.5px; }

  /* Footer about line max-width */
  .site-footer__brand p { font-size: 16px; }
  .site-footer__brand p.site-footer__about { font-size: 12.5px; }

  /* Phone mockups */
  .phone { width: 132px; }

  /* AI tiles fixed narrow */
  .ai-tile { min-width: 140px; padding: 10px 14px; }
  .ai-tile__name { font-size: 14px; }
  .ai-tile__role { font-size: 9px; }

  /* Process step icon shrinks */
  .proc-step__icon { width: 48px; height: 48px; }
  .proc-step__icon svg { width: 20px; height: 20px; }

  /* Recent work card titles smaller */
  .work-strip__title { font-size: 12px; }

  /* Testimonial cards a bit smaller */
  .testimonial { width: clamp(240px, 84vw, 300px); }

  /* MM disc-grid stays 2 col but smaller */
  .disc-tile__label { font-size: 11px; }
}

@media (max-width: 380px) {
  /* Truly small phones */
  .container { padding-inline: 14px; }
  .hero__headline { font-size: clamp(40px, 13vw, 64px); }
  .testimonial { width: 88vw; }
  .work-strip { height: clamp(200px, 28vh, 240px); }
}
