/* ===================================
   Base
   =================================== */

@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url('/assets/fonts/plus-jakarta-sans-latin-300-700.woff2') format('woff2');
}

@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 400 500;
  font-display: swap;
  src: url('/assets/fonts/manrope-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 400 500;
  font-display: swap;
  src: url('/assets/fonts/manrope-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --accent: #f97316;
  --accent-hover: #ea580c;
  --accent-strong: #c2410c;
  --accent-soft: #ffedd5;
  --accent-bg: #fff7ed;

  --feature-blue: #d8edff;
  --feature-blue-accent: #0369a1;
  --feature-orange: #ffd9b0;
  --feature-orange-accent: #f97316;
  --feature-violet: var(--feature-orange);
  --feature-violet-accent: var(--feature-orange-accent);
  --feature-emerald: #ccf4de;
  --feature-emerald-accent: #f97316;

  --ink-950: #081018;
  --ink-900: #0f1b2d;
  --ink-800: #1e2a42;

  --text-color: #13213a;
  --text-muted: #55637b;
  --text-subtle: #7c8ca5;
  --text-inverse: #f8fafc;
  --text-inverse-soft: #c7d3e6;

  --bg-color: #ffffff;
  --bg-soft: #f5f8fc;
  --bg-tint: #f8fbff;
  --bg-warm: #f7f4ef;

  --border-color: #dbe5f1;
  --border-soft: rgba(249, 115, 22, 0.18);

  --shadow-card-pre: 0 2px 6px rgba(13, 28, 58, 0.04);
  --shadow-card: 0 10px 24px rgba(13, 28, 58, 0.08);
  --shadow-card-hover: 0 22px 42px rgba(13, 28, 58, 0.15);
  --shadow-panel: 0 16px 34px rgba(13, 28, 58, 0.12);
  --shadow-sm: 0 10px 20px rgba(8, 16, 24, 0.18);

  --max-width: 1200px;
  --spacing: 1.25rem;
  --header-height: 88px;
  --section-space: 5.9rem;
  --section-space-mobile: 4.8rem;

  --radius-sm: 0.24rem;
  --radius-md: 0.4rem;
  --radius-lg: 0.56rem;
  --radius-xl: 1.55rem;

  --font-display: 'Manrope', sans-serif;
  --primary-color: var(--accent);
}

html {
  scroll-padding-top: var(--header-height);
}

body {
  font-family: "Avenir Next", "Avenir", "Segoe UI", "Trebuchet MS", sans-serif;
  line-height: 1.6;
  color: var(--text-color);
  background: var(--bg-color);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4 {
  letter-spacing: -0.02em;
  line-height: 1.06;
  color: var(--text-color);
  font-weight: 700;
}

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

a {
  color: var(--accent);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--accent-hover);
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--spacing);
}

main {
  min-height: 70vh;
}

.section {
  padding: var(--section-space) 0;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.09em;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 0.55rem;
}

.section-head {
  max-width: 780px;
  margin-bottom: 2.1rem;
}

.section-head h2 {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  margin-bottom: 0.82rem;
}

.section-head p {
  color: var(--text-muted);
  font-size: 1.06rem;
}

/* ===================================
   Header
   =================================== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-height);
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(219, 229, 241, 0.7);
}

.navbar {
  height: 100%;
}

.nav-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--ink-900);
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1.3rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.2em;
}

.logo-mark {
  width: 1.85rem;
  height: 1.85rem;
  flex-shrink: 0;
}

.logo:hover {
  color: var(--ink-900);
}

.nav-cluster {
  display: flex;
  align-items: center;
}

.nav-menu {
  list-style: none;
  display: flex;
  gap: 0;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  margin: 0;
  white-space: nowrap;
}

.nav-menu a {
  color: var(--ink-900);
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1rem;
  font-weight: 400;
  letter-spacing: 0.01em;
  padding: 0.5rem 1.3rem;
  transition: color 0.15s ease;
}

.nav-menu a:hover,
.nav-menu a.active {
  color: var(--accent);
}

.nav-cta {
  background: linear-gradient(to right, var(--ink-900) 50%, var(--accent) 50%);
  background-size: 200% 100%;
  background-position: 100% 0;
  color: #ffffff;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.9375rem;
  font-weight: 600;
  padding: 0.65rem 1.4rem;
  border-radius: var(--radius-xl);
  letter-spacing: 0.01em;
  transition:
    background-position 420ms cubic-bezier(0.76, 0, 0.24, 1),
    box-shadow 0.2s ease;
}

.nav-cta:hover {
  background-position: 0% 0;
  color: #ffffff;
  box-shadow: var(--shadow-sm);
}

.mobile-menu-toggle {
  display: none;
  border: none;
  background: none;
  padding: 0.45rem;
  cursor: pointer;
  flex-direction: column;
  gap: 0.24rem;
}

.mobile-menu-toggle span {
  width: 1.38rem;
  height: 2px;
  background: var(--text-color);
}

/* ===================================
   Buttons
   =================================== */

/* ---- Primary: ink floods left → right ---- */
.btn {
  display: inline-block;
  border: none;
  border-radius: var(--radius-xl);
  padding: 0.76rem 1.5rem;
  background: linear-gradient(to right, var(--ink-900) 50%, var(--accent) 50%);
  background-size: 200% 100%;
  background-position: 100% 0;
  color: #ffffff;
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  cursor: pointer;
  transition: background-position 420ms cubic-bezier(0.76, 0, 0.24, 1);
}

.btn:hover {
  background-position: 0% 0;
  color: #ffffff;
}

/* ---- Ghost: cream rises from bottom (distinct from primary's ink flood) ---- */
.btn-ghost {
  background: linear-gradient(to bottom, transparent 50%, #f1f5f9 50%);
  background-size: 100% 201%;
  background-position: 0% 0;
  background-clip: padding-box;
  color: #f8fafc;
  border: 1px solid rgba(248, 250, 252, 0.45);
  transition:
    background-position 420ms cubic-bezier(0.22, 1, 0.36, 1),
    color 420ms cubic-bezier(0.22, 1, 0.36, 1),
    border-color 0.2s ease;
}

.btn-ghost:hover {
  background-position: 0% 100%;
  color: #0f1b2d;
  border-color: rgba(248, 250, 252, 0.7);
}

/* ---- Outline (secondary): teal rises from bottom ---- */
.btn-outline {
  background: linear-gradient(to bottom, transparent 50%, var(--accent) 50%);
  background-size: 100% 201%;
  background-position: 0% 0;
  background-clip: padding-box;
  color: var(--text-color);
  border: 1.5px solid var(--accent);
  transition:
    background-position 420ms cubic-bezier(0.22, 1, 0.36, 1),
    color 420ms cubic-bezier(0.22, 1, 0.36, 1);
}

.btn-outline:hover {
  background-position: 0% 100%;
  color: #f8fafc;
}

/* ---- Light: ink floods left → right (on dark backgrounds) ---- */
.btn-light {
  background: linear-gradient(to right, var(--ink-900) 50%, #f8fafc 50%);
  background-size: 200% 100%;
  background-position: 100% 0;
  color: #0f172a;
  transition:
    background-position 420ms cubic-bezier(0.76, 0, 0.24, 1),
    color 420ms cubic-bezier(0.76, 0, 0.24, 1);
}

.btn-light:hover {
  background-position: 0% 0;
  color: #f8fafc;
}

/* ---- Outline light: cream rises from bottom (dark bg secondary, same family as ghost) ---- */
.btn-outline-light {
  background: linear-gradient(to bottom, transparent 50%, #f1f5f9 50%);
  background-size: 100% 201%;
  background-position: 0% 0;
  background-clip: padding-box;
  color: #f8fafc;
  border: 1px solid rgba(241, 245, 249, 0.55);
  transition:
    background-position 420ms cubic-bezier(0.22, 1, 0.36, 1),
    color 420ms cubic-bezier(0.22, 1, 0.36, 1),
    border-color 0.2s ease;
}

.btn-outline-light:hover {
  background-position: 0% 100%;
  color: #0f1b2d;
  border-color: rgba(241, 245, 249, 0.85);
}

/* ---- Dark: teal floods left → right ---- */
.btn-dark {
  background: linear-gradient(to right, var(--accent) 50%, #13213a 50%);
  background-size: 200% 100%;
  background-position: 100% 0;
  color: #f8fafc;
  transition:
    background-position 420ms cubic-bezier(0.76, 0, 0.24, 1);
}

.btn-dark:hover {
  background-position: 0% 0;
  color: #f8fafc;
}

/* ---- Reduced motion ---- */
@media (prefers-reduced-motion: reduce) {
  .btn,
  .btn-ghost,
  .btn-outline,
  .btn-light,
  .btn-outline-light,
  .btn-dark {
    transition: none;
  }
}

/* ===================================
   Hero
   =================================== */

.hero-bleed {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  padding: 0;
}

.hero-media {
  position: relative;
  min-height: calc(100vh - var(--header-height));
  background-image: var(
    --hero-img,
    linear-gradient(140deg, #0f172a 0%, #1e293b 100%)
  );
  background-size: cover;
  background-position: center;
  overflow: hidden;
  contain: paint;
  display: flex;
  align-items: flex-end;
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(
    120deg,
    rgba(8, 12, 18, 0.94),
    rgba(8, 12, 18, 0.76),
    rgba(8, 12, 18, 0.48)
  );
}

.hero-video {
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 0;
  transition: opacity 0.35s ease;
  background-image: var(--hero-img, none);
  background-size: cover;
  background-position: center;
}

.hero-video video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transform: translateZ(0);
  backface-visibility: hidden;
}

.hero-media.has-video .hero-video {
  opacity: 1;
}

.hero-media.no-video .hero-video {
  opacity: 0;
}

.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 4.8rem var(--spacing) 3.6rem;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(260px, 0.85fr);
  gap: 2rem;
  align-items: end;
  color: #f8fafc;
}

.hero-copy h1 {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 6vw, 5rem);
  line-height: 0.97;
  letter-spacing: -0.01em;
  color: #ffffff;
}

.hero-copy .eyebrow {
  color: #86efac;
}

.hero-rule {
  display: block;
  width: 0;
  height: 2.5px;
  background: var(--accent);
  border: none;
  margin-top: 2rem;
  margin-bottom: 1.35rem;
  border-radius: 2px;
  animation: rule-grow 0.55s ease-out 0.35s forwards;
}

@keyframes rule-grow {
  to { width: 36px; }
}

.hero-sub {
  margin-top: 0;
  max-width: 62ch;
  color: #f8fafc;
  font-size: 1.2rem;
  line-height: 1.65;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.35);
}

.hero-actions {
  margin-top: 1.95rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(130px, 1fr));
  gap: 0.8rem;
}

.hero-stat-card {
  border-radius: var(--radius-md);
  border: 1px solid rgba(216, 227, 244, 0.28);
  background: rgba(8, 16, 24, 0.45);
  padding: 0.92rem;
}

.hero-stat-card strong {
  display: block;
  color: #ffffff;
  font-size: 1.85rem;
  line-height: 1.1;
}

.hero-stat-card span {
  display: block;
  color: #d8e3f4;
  font-size: 0.88rem;
  line-height: 1.5;
  margin-top: 0.26rem;
}

/* ===================================
   Stat Parade
   =================================== */

.stats-parade-section {
  background: #ffffff;
}

.text-highlight {
  display: inline-block;
  padding: 0 0.12em;
  border-radius: 0.22em;
  background-image: linear-gradient(
    180deg,
    transparent 24%,
    var(--highlight-color) 24%,
    var(--highlight-color) 80%,
    transparent 80%
  );
  background-size: 0% 100%;
  background-position: left center;
  background-repeat: no-repeat;
}

.text-highlight--red {
  --highlight-color: rgba(252, 165, 165, 0.65);
}

.text-highlight--green {
  --highlight-color: rgba(167, 243, 208, 0.70);
}

.text-highlight--blue {
  --highlight-color: rgba(191, 219, 254, 0.72);
}

.text-highlight--yellow {
  --highlight-color: rgba(254, 240, 138, 0.75);
}

.text-highlight--magenta {
  --highlight-color: rgba(244, 184, 228, 0.70);
}

.text-highlight--orange {
  --highlight-color: rgba(253, 186, 116, 0.72);
}


.stats-parade-head {
  max-width: 760px;
  margin-bottom: 3.15rem;
}

.stats-parade-head h2 {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  line-height: 1.04;
  letter-spacing: -0.03em;
}

.stats-parade-head p {
  margin-top: 0.95rem;
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.72;
  max-width: 62ch;
}

.stats-parade-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  column-gap: 1.8rem;
  row-gap: 1.2rem;
  align-items: start;
  justify-items: center;
}

.stats-parade-item {
  display: contents;
}

.stats-parade-statement {
  display: contents;
}

.stats-parade-value {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(2.3rem, 4vw, 3.3rem);
  line-height: 0.94;
  letter-spacing: -0.05em;
  color: var(--text-color);
  grid-row: 1;
  align-self: end;
  justify-self: center;
  text-align: center;
}

.stats-parade-lead {
  display: block;
  width: min(100%, 26ch);
  color: var(--text-color);
  font-family: var(--font-display);
  font-size: clamp(1.02rem, 1.45vw, 1.18rem);
  line-height: 1.28;
  letter-spacing: -0.02em;
  grid-row: 2;
  align-self: start;
  justify-self: center;
  text-align: left;
}

.stats-parade-copy {
  grid-row: 3;
  align-self: start;
  justify-self: center;
  width: min(100%, 26ch);
}

.stats-parade-copy p {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.66;
  text-align: left;
}

.stats-parade-research {
  margin-top: 2.8rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.16rem 0.42rem;
  color: var(--text-subtle);
  font-size: 0.82rem;
  line-height: 1.7;
}

.stats-parade-research-label {
  color: var(--text-color);
  font-size: 0.8rem;
  letter-spacing: 0.01em;
}

.stats-parade-research-dash,
.stats-parade-research-separator {
  color: var(--text-subtle);
}

.stats-parade-research-link {
  color: inherit;
  text-decoration: none;
  transition: color 0.18s ease;
}

.stats-parade-research-link:hover {
  color: var(--text-color);
}

.stats-parade-bridge-stack {
  background: #ffffff;
}

.stats-parade-bridge-bleed {
  position: relative;
  width: 100vw;
  height: 420px;
  margin-left: calc(50% - 50vw);
  overflow: hidden;
  background: #0b0b0b;
}

.stats-parade-bridge-bleed + .stats-parade-bridge-bleed {
  margin-top: 1rem;
}

.stats-parade-bridge-media {
  position: absolute;
  inset: 0;
}

.stats-parade-bridge-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: var(--bridge-focus, 50% 50%);
  filter: grayscale(1) contrast(1.04) brightness(0.92);
  transform: scale(1.01);
}

.stats-parade-bridge-bleed::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(8, 16, 24, 0.14) 0%,
    rgba(8, 16, 24, 0.08) 28%,
    rgba(8, 16, 24, 0.28) 100%
  );
  pointer-events: none;
}

.stats-parade-bridge-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: flex;
  align-items: flex-end;
}

.stats-parade-bridge-overlay--upper-right {
  align-items: flex-start;
}

.stats-parade-bridge-overlay .container {
  width: 100%;
}

.stats-parade-bridge-copy {
  max-width: 760px;
  padding: 0 0 3.25rem;
}

.stats-parade-bridge-copy--upper-right {
  margin-left: auto;
  padding-top: 2.4rem;
  padding-bottom: 0;
  text-align: right;
}

.stats-parade-bridge-quote {
  color: #f8fafc;
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4.2vw, 3.9rem);
  line-height: 1.02;
  letter-spacing: -0.04em;
  text-wrap: balance;
}

.stats-parade-bridge-tag {
  position: absolute;
  top: 1rem;
  left: 1rem;
  z-index: 1;
  display: inline-grid;
  gap: 0.08rem;
  padding: 0.72rem 0.88rem;
  background: rgba(8, 16, 24, 0.5);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #f8fafc;
}

.stats-parade-bridge-tag span {
  font-family: var(--font-display);
  font-size: 0.92rem;
  line-height: 1.1;
}

.stats-parade-bridge-tag small {
  color: rgba(248, 250, 252, 0.72);
  font-size: 0.72rem;
  letter-spacing: 0.02em;
}

.stats-parade-transition {
  background: linear-gradient(136deg, var(--ink-950) 0%, var(--ink-900) 54%, var(--ink-800) 100%);
  padding: clamp(3.5rem, 6vw, 5.5rem) 0;
  text-align: right;
}

.stats-parade-transition-inner {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: clamp(3rem, 5vw, 6rem);
}

.stats-parade-transition-logo {
  display: flex;
  align-items: center;
  padding: 8% 0;
  overflow: visible;
}

.stats-parade-transition-logo svg {
  display: block;
  width: clamp(120px, 14vw, 210px);
  height: auto;
}

.stats-parade-transition-copy {
  max-width: 680px;
  margin-left: auto;
}

.stats-parade-transition-copy h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.5vw, 3.2rem);
  line-height: 1.06;
  letter-spacing: -0.04em;
  color: var(--text-inverse);
}

.stats-parade-transition-intro {
  margin-top: 1.1rem;
  color: var(--text-inverse);
  font-family: var(--font-display);
  font-size: clamp(1.08rem, 1.65vw, 1.32rem);
  line-height: 1.5;
  letter-spacing: -0.02em;
  max-width: 44ch;
  margin-left: auto;
}

.stats-parade-transition-subhead {
  margin-top: 0.75rem;
  color: var(--text-inverse-soft);
  font-family: var(--font-display);
  font-size: clamp(0.92rem, 1.2vw, 1.05rem);
  line-height: 1.65;
  letter-spacing: -0.01em;
  max-width: 52ch;
  margin-left: auto;
}

.text-on-dark--warm { color: #fcd34d; }
.text-on-dark--teal { color: #6ee7b7; }
.text-on-dark--blue { color: #93c5fd; }
.text-on-dark--red { color: #fca5a5; }
.text-on-dark--white { color: #ffffff; }

.stats-parade-transition--image-left {
  display: grid;
  grid-template-columns: 1fr 1fr;
  padding: 0;
  min-height: 480px;
}

.stats-parade-transition--image-left .stats-parade-transition-media {
  position: relative;
  overflow: hidden;
  margin: 0;
}

.stats-parade-transition--image-left .stats-parade-transition-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, transparent 40%, var(--ink-950) 100%);
  pointer-events: none;
}

.stats-parade-transition--image-left .stats-parade-transition-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: var(--transition-focus, 50% 50%);
  filter: grayscale(1) contrast(1.06) brightness(0.75);
}

.stats-parade-transition-panel {
  display: flex;
  align-items: center;
  padding: 4rem 0 4rem 2rem;
}

/* ===================================
   Stats Parade Transition — Animations
   =================================== */

/* D: Colored words start invisible; cascade in on .spt-revealed
   Duration 0.4s, offsets spaced 0.17s — rapid but clearly sequential */
.stats-parade-transition-subhead .text-on-dark--warm,
.stats-parade-transition-subhead .text-on-dark--blue,
.stats-parade-transition-subhead .text-on-dark--red,
.stats-parade-transition-subhead .text-on-dark--teal,
.stats-parade-transition-subhead .text-on-dark--white {
  opacity: 0;
}

@keyframes spt-colorword {
  from { opacity: 0; }
  to   { opacity: 1; }
}

.stats-parade-transition.spt-revealed .stats-parade-transition-subhead .text-on-dark--warm  { animation: spt-colorword 0.9s ease-out 0.05s forwards; }
.stats-parade-transition.spt-revealed .stats-parade-transition-subhead .text-on-dark--blue  { animation: spt-colorword 0.9s ease-out 0.22s forwards; }
.stats-parade-transition.spt-revealed .stats-parade-transition-subhead .text-on-dark--red   { animation: spt-colorword 0.9s ease-out 0.39s forwards; }
.stats-parade-transition.spt-revealed .stats-parade-transition-subhead .text-on-dark--teal  { animation: spt-colorword 0.9s ease-out 0.56s forwards; }
.stats-parade-transition.spt-revealed .stats-parade-transition-subhead .text-on-dark--white { animation: spt-colorword 0.9s ease-out 0.76s forwards; }

/* E: Letter-wave — left-to-right brightness sweep on cursor proximity (WAAPI) */
.spt-wl {
  display: inline;
}


/* A: Orbital drift — satellite + connector group rotates around the center mark */
@keyframes spt-orbital {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

.stats-parade-transition.spt-orbital .spt-orbital-group {
  transform-box: view-box;
  transform-origin: 50% 50%;
  animation: spt-orbital 90s linear infinite;
}

/* B: Glow heartbeat — driven entirely by WAAPI in JS (stored refs allow
   updatePlaybackRate for jerk-free speed change on proximity).
   Wrappers handle the vertical movement so CSS transform never fights
   the SVG transform attribute on the <use> elements. */

/* Explicit opacity:1 ensures the CSS transition has a known start value */
.spt-orbital-group {
  opacity: 1;
  transition: opacity 1.8s ease;
}

.stats-parade-transition.spt-proximate .spt-orbital-group {
  opacity: 0.42;
}

/* Proximity movement is driven by JS rAF + lerp — see initTransitionSection.
   CSS owns nothing here; that's what makes the fade-out smooth. */

/* C: Electric connectors — dashoffset flows outward; varied speeds, two run reverse */
@keyframes spt-dash-fwd { to { stroke-dashoffset: -1.3; } }
@keyframes spt-dash-rev { to { stroke-dashoffset:  1.3; } }

.stats-parade-transition.spt-connectors .spt-connector-1 { animation: spt-dash-fwd 4.0s linear infinite; }
.stats-parade-transition.spt-connectors .spt-connector-2 { animation: spt-dash-rev 5.2s linear infinite; }
.stats-parade-transition.spt-connectors .spt-connector-3 { animation: spt-dash-fwd 3.4s linear infinite; }
.stats-parade-transition.spt-connectors .spt-connector-4 { animation: spt-dash-rev 4.7s linear infinite; }
.stats-parade-transition.spt-connectors .spt-connector-5 { animation: spt-dash-fwd 6.1s linear infinite; }

/* Reduced motion: kill CSS-driven A/C and proximity movement.
   B (WAAPI glow) is gated by reduceMotion check in JS.
   D (pure opacity) is low-vestibular and stays. */
@media (prefers-reduced-motion: reduce) {
  .stats-parade-transition.spt-orbital .spt-orbital-group { animation: none; }
  .stats-parade-transition.spt-connectors .spt-connector-1,
  .stats-parade-transition.spt-connectors .spt-connector-2,
  .stats-parade-transition.spt-connectors .spt-connector-3,
  .stats-parade-transition.spt-connectors .spt-connector-4,
  .stats-parade-transition.spt-connectors .spt-connector-5 { animation: none; }
  /* wrapper movement is JS-controlled; rAF is gated by reduceMotion check */
}

/* ===================================
   Showcase - shared base
   =================================== */

.showcase-section {
  background: var(--bg-soft);
}

.showcase-section--dark {
  background: linear-gradient(
    136deg,
    var(--ink-950) 0%,
    var(--ink-900) 54%,
    var(--ink-800) 100%
  );
}

.showcase-section--dark .section-head h2 {
  color: var(--text-inverse);
}

.showcase-section--dark .section-head p {
  color: var(--text-inverse-soft);
}

.showcase-section--dark .eyebrow {
  color: #a7f3d0;
}

.showcase-card,
.showcase-card--featured,
.showcase-card--flanking {
  display: block;
  text-decoration: none;
  color: inherit;
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
}

.showcase-card:hover,
.showcase-card--featured:hover,
.showcase-card--flanking:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-card-hover);
}

.showcase-frame {
  position: relative;
  overflow: hidden;
}

.showcase-img-wrap img {
  width: 100%;
  display: block;
  object-fit: cover;
}

.showcase-tag {
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--accent);
}

/* ---- Browser chrome (layouts A, C) ---- */

.showcase-chrome {
  display: flex;
  align-items: center;
  gap: 0.36rem;
  padding: 0.52rem 0.72rem;
  background: var(--bg-tint);
  border-bottom: 1px solid var(--border-color);
}

.showcase-dot {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
}

.showcase-dot--red {
  background: #ef4444;
  opacity: 0.55;
}

.showcase-dot--yellow {
  background: #eab308;
  opacity: 0.55;
}

.showcase-dot--green {
  background: #22c55e;
  opacity: 0.55;
}

/* ---- Overlay component (layouts B, C) ---- */

.showcase-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.25rem;
  background: linear-gradient(
    to top,
    rgba(8, 16, 24, 0.82) 0%,
    rgba(8, 16, 24, 0.35) 50%,
    rgba(8, 16, 24, 0.05) 100%
  );
}

.showcase-overlay .showcase-tag {
  color: #86efac;
}

.showcase-overlay h3 {
  color: #ffffff;
  font-size: 1.18rem;
  margin-top: 0.22rem;
}

.showcase-overlay p {
  color: #d8e3f4;
  font-size: 0.88rem;
  line-height: 1.55;
  margin-top: 0.3rem;
}

/* ---- Meta component (layouts A, C) ---- */

.showcase-meta {
  padding: 1.15rem 1.25rem;
}

.showcase-meta h3 {
  font-size: 1.14rem;
  line-height: 1.25;
}

.showcase-meta .showcase-tag {
  display: block;
  margin-top: 0.28rem;
}

.showcase-meta p {
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.55;
  margin-top: 0.35rem;
}

/* ===================================
   Showcase — Layout A (browser-chrome panels)
   =================================== */

.showcase-grid-a {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.3rem;
}

.showcase-grid-a .showcase-card {
  background: var(--bg-color);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-card);
}

.showcase-grid-a .showcase-img-wrap {
  aspect-ratio: 4 / 3;
}

/* ===================================
   Showcase — Layout B (editorial triptych)
   =================================== */

.showcase-grid-b {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 1.3rem;
}

.showcase-grid-b .showcase-card {
  border-radius: var(--radius-lg);
  border: 1px solid rgba(216, 227, 244, 0.15);
}

.showcase-grid-b .showcase-card:first-child {
  grid-row: span 2;
}

.showcase-grid-b .showcase-card:first-child .showcase-img-wrap {
  aspect-ratio: 3 / 4;
}

.showcase-grid-b .showcase-card:nth-child(n + 2) .showcase-img-wrap {
  aspect-ratio: 16 / 10;
}

.showcase-grid-b .showcase-img-wrap img {
  height: 100%;
}

/* ===================================
   Showcase — Layout C (hybrid)
   =================================== */

.showcase-grid-c {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 1.3rem;
}

.showcase-card--featured {
  grid-row: span 2;
  background: var(--bg-color);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-card);
}

.showcase-card--featured .showcase-img-wrap {
  aspect-ratio: 4 / 3;
}

.showcase-card--flanking {
  border: 1px solid rgba(216, 227, 244, 0.15);
  background: var(--ink-900);
}

.showcase-card--flanking .showcase-img-wrap {
  aspect-ratio: 16 / 10;
}

.showcase-card--flanking .showcase-img-wrap img {
  height: 100%;
}

/* ===================================
   Showcase — Layout D (full-bleed image + name only)
   =================================== */

/* Showcase Carousel */
.showcase-carousel {
  position: relative;
  overflow: hidden;
}

.showcase-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 100%;
  transition: transform 0.5s ease;
}

.showcase-slide {
  position: relative;
  aspect-ratio: 16 / 7;
  min-height: 320px;
  overflow: hidden;
}

.showcase-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.showcase-slide-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(8, 16, 24, 0.05),
    rgba(8, 16, 24, 0.65)
  );
  display: flex;
  align-items: flex-end;
  padding: 2rem;
}

.showcase-slide-overlay h3 {
  margin: 0;
  font-size: clamp(1.6rem, 3vw, 2.6rem);
  line-height: 1.1;
  color: #ffffff;
}

.carousel-controls {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 1rem;
}

.carousel-controls button {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: var(--radius-sm, 4px);
  border: 1px solid var(--border-color);
  background: var(--bg-color, #fff);
  cursor: pointer;
  font-size: 1.2rem;
  transition:
    transform 0.15s ease,
    box-shadow 0.15s ease;
}

.carousel-controls button:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(8, 16, 24, 0.12);
}

.carousel-dots {
  display: flex;
  gap: 0.5rem;
  margin-top: 0.75rem;
  justify-content: center;
  padding-bottom: 0.5rem;
}

.carousel-dots button {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 1px solid var(--border-color);
  background: #e2e8f0;
  cursor: pointer;
  transition: all 0.2s ease;
}

.carousel-dots button.active {
  background: var(--primary-color, var(--accent));
  border-color: var(--primary-color, var(--accent));
}

/* ===================================
   Showcase — Motion
   =================================== */

.showcase-grid-a,
.showcase-grid-b,
.showcase-grid-c,
.showcase-carousel {
  animation: riseIn 0.56s ease both;
}

@media (prefers-reduced-motion: reduce) {
  .showcase-grid-a,
  .showcase-grid-b,
  .showcase-grid-c,
  .showcase-carousel {
    animation: none;
  }
}

/* ===================================
   Showcase - Vertical Slices
   =================================== */

.showcase-slices-wrap {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--spacing);
}

.showcase-slices {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
  justify-items: center;
  animation: riseIn 0.56s ease both;
}

.showcase-slice {
  width: 100%;
  aspect-ratio: 6 / 7;
  border-radius: 0;
  overflow: hidden;
  border: 1px solid var(--border-color);
  background: #e2e8f0;
  box-shadow: var(--shadow-card);
}

.showcase-slice img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: var(--slice-focus, 0%) 0%;
  transform: scale(1);
  transition: transform 0.35s ease;
}

.showcase-slice:hover img {
  transform: scale(1.02);
}

.showcase-intro {
  max-width: 780px;
  margin-top: 1.15rem;
}

.showcase-intro p {
  color: var(--text-muted);
  font-size: 1.03rem;
  line-height: 1.66;
}

.showcase-intro p + p {
  margin-top: 0.92rem;
}

@media (prefers-reduced-motion: reduce) {
  .showcase-slices {
    animation: none;
  }

  .showcase-slice img {
    transform: none;
    transition: none;
  }
}

/* ===================================
   Services
   =================================== */

.services-section {
  background: linear-gradient(180deg, #ffffff 0%, #f3f9ff 100%);
}

.service-rows {
  display: grid;
  gap: 1.3rem;
}

.intro-section {
  --intro-head-art-w: clamp(22rem, 44vw, 36rem);
  --intro-sliver-w-tablet: clamp(2.35rem, 4.2vw, 3.15rem);
  --intro-sliver-h-tablet: clamp(11.5rem, 22vw, 15.5rem);
  --intro-sliver-w-desktop: clamp(2.5rem, 3.2vw, 3rem);
  --intro-sliver-h-desktop: clamp(16.5rem, 25vw, 20.5rem);
  --intro-sliver-h-mobile: clamp(3.1rem, 10vw, 4.8rem);
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(
      circle at 10% 18%,
      rgba(249, 115, 22, 0.08),
      rgba(249, 115, 22, 0) 32%
    ),
    radial-gradient(
      circle at 88% 82%,
      rgba(3, 105, 161, 0.06),
      rgba(3, 105, 161, 0) 34%
    ),
    linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
}

.intro-section .section-head {
  max-width: none;
  margin-bottom: clamp(3rem, 6vw, 4.75rem);
}

.intro-head {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) var(--intro-head-art-w);
  grid-template-rows: auto auto;
  column-gap: clamp(1.5rem, 3vw, 2.5rem);
  row-gap: 0;
  align-items: start;
}

.intro-head-copy {
  grid-column: 1;
  grid-row: 1;
  position: relative;
  z-index: 2;
}

.intro-section .section-head h2 {
  max-width: 16ch;
}

.intro-head-body {
  grid-column: 1;
  grid-row: 2;
  max-width: 64ch;
  font-size: 1.05rem;
  line-height: 1.72;
  margin-top: 1.25rem;
}

.intro-head-art {
  grid-column: 2;
  grid-row: 1 / -1;
  position: relative;
  width: calc(100% + var(--spacing));
}

.intro-head-art::before {
  content: "";
  position: absolute;
  inset: 2.2rem 0.4rem 0.4rem 1.6rem;
  background:
    radial-gradient(circle at 30% 60%, rgba(180, 80, 180, 0.2), transparent 44%),
    radial-gradient(circle at 65% 30%, rgba(30, 60, 160, 0.18), transparent 48%),
    linear-gradient(180deg, rgba(9, 11, 15, 0.05), rgba(9, 11, 15, 0));
  filter: blur(22px);
  opacity: 0.9;
  pointer-events: none;
}

.intro-head-art-svg {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  display: block;
  filter: saturate(1.15) contrast(1.08);
}

.intro-chapters {
  display: grid;
  gap: clamp(2.75rem, 5vw, 4.5rem);
  position: relative;
  /* ---- Scatter dots tuning ---- */
  --scatter-size: 5.8px;
  --scatter-opacity: 1;
  --scatter-drift-speed: 64s;
  --scatter-drift-range: 30px;
  --scatter-bg-scale: 760px;
}

/* ---- Scatter dots (coral-image peepholes) ---- */
.scatter-dots {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
}

.scatter-dot {
  --scatter-pull-x: 0px;
  --scatter-pull-y: 0px;
  --scatter-scale: 1;
  --scatter-pull-duration: 0.85s;
  --scatter-pull-delay: 0s;
  --scatter-brightness: 1;
  --scatter-saturate: 1;
  --scatter-glow-opacity: 0;
  position: absolute;
  left: var(--x);
  top: var(--y);
  width: calc(var(--scatter-size) * var(--s));
  height: calc(var(--scatter-size) * var(--s));
  border-radius: 50%;
  background: url('/assets/intro/wwa_header_coral.jpg') var(--bx) var(--by) / var(--scatter-bg-scale) auto no-repeat;
  opacity: var(--scatter-opacity);
  transform: translate(var(--scatter-pull-x), var(--scatter-pull-y)) scale(var(--scatter-scale));
  will-change: background-position, transform;
  animation: scatter-drift var(--scatter-drift-speed) ease-in-out infinite alternate;
  animation-delay: var(--d);
  transition:
    transform var(--scatter-pull-duration) cubic-bezier(0.22, 1, 0.36, 1) var(--scatter-pull-delay),
    box-shadow 0.8s ease var(--scatter-pull-delay),
    filter 0.8s ease var(--scatter-pull-delay),
    opacity 0.6s ease var(--scatter-pull-delay);
}

.scatter-dot.scatter-dot--active {
  opacity: 1;
  filter: saturate(var(--scatter-saturate)) brightness(var(--scatter-brightness));
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.04),
    0 0 14px rgba(244, 114, 74, var(--scatter-glow-opacity));
}

@keyframes scatter-drift {
  from {
    background-position:
      calc(var(--bx) + var(--scatter-drift-range) * var(--dx) * -0.5)
      calc(var(--by) + var(--scatter-drift-range) * var(--dy) * -0.5);
  }
  to {
    background-position:
      calc(var(--bx) + var(--scatter-drift-range) * var(--dx) * 0.5)
      calc(var(--by) + var(--scatter-drift-range) * var(--dy) * 0.5);
  }
}

.scatter-dots.paused .scatter-dot {
  animation-play-state: paused;
}

@media (prefers-reduced-motion: reduce) {
  .scatter-dot {
    animation: none;
    transform: none;
    filter: none;
    box-shadow: none;
    transition: none;
  }
}

.intro-chapter {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  align-items: start;
  padding-top: clamp(2.6rem, 4vw, 3.25rem);
  border-top: 1px solid rgba(19, 33, 58, 0.12);
}

.intro-chapter:first-child {
  padding-top: 0;
  border-top: none;
}

.intro-chapter-marker {
  position: relative;
  width: clamp(4.1rem, 8vw, 5.2rem);
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #090b0f;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.12),
    0 18px 28px rgba(8, 16, 24, 0.16);
  transition:
    transform 0.85s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.45s ease;
}

.intro-chapter-marker::before {
  content: "";
  position: absolute;
  inset: -0.36rem;
  border-radius: 50%;
  border: 1px solid rgba(249, 115, 22, 0.18);
  opacity: 0;
  transform: scale(0.9);
  transition:
    opacity 0.45s ease,
    transform 0.85s cubic-bezier(0.22, 1, 0.36, 1);
}

.intro-chapter-marker::after {
  content: "";
  position: absolute;
  inset: 0.42rem;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.intro-chapter-marker span {
  position: relative;
  z-index: 1;
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 2.8vw, 1.65rem);
  line-height: 1;
  letter-spacing: -0.05em;
  color: #ffffff;
}

.intro-chapter-copy {
  display: grid;
  gap: 1rem;
}

.intro-chapter-content {
  max-width: none;
}

.intro-chapter-content h3 {
  max-width: 18ch;
  font-family: var(--font-display);
  font-size: clamp(1.72rem, 3vw, 2.7rem);
  line-height: 1.02;
  letter-spacing: -0.04em;
}

.intro-chapter-description {
  margin-top: 0.85rem;
  color: var(--text-color);
}

.intro-chapter-body {
  display: grid;
  gap: 1rem;
}

.intro-chapter-body p {
  max-width: 64ch;
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.78;
}

.intro-chapter-photo {
  display: block;
  width: 100%;
  height: var(--intro-sliver-h-mobile);
  overflow: hidden;
  background: #090b0f;
  box-shadow: 0 16px 28px rgba(8, 16, 24, 0.12);
}

.intro-chapter-photo picture,
.intro-chapter-photo img {
  width: 100%;
  height: 100%;
  display: block;
}

.intro-chapter-photo img {
  object-fit: cover;
  object-position: var(--intro-photo-focus-mobile, var(--intro-photo-focus, 50% 50%));
  filter: saturate(0.96) contrast(0.99);
  transition:
    transform 0.95s cubic-bezier(0.22, 1, 0.36, 1),
    filter 0.5s ease;
}

.intro-chapter.is-active .intro-chapter-marker {
  transform: translateY(-2px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.14),
    0 20px 32px rgba(8, 16, 24, 0.18);
}

.intro-chapter.is-active .intro-chapter-marker::before {
  opacity: 1;
  transform: scale(1.03);
}

.intro-chapter.is-active .intro-chapter-photo img {
  transform: scale(1.02);
  filter: saturate(1.06) contrast(1.03) brightness(1.02);
}

@media (prefers-reduced-motion: reduce) {
  .intro-chapter-marker,
  .intro-chapter-marker::before,
  .intro-chapter-photo img {
    transition: none;
  }

  .intro-chapter.is-active .intro-chapter-marker,
  .intro-chapter.is-active .intro-chapter-photo img {
    transform: none;
    filter: none;
  }
}

.intro-media-strip {
  margin-top: clamp(3.5rem, 6vw, 5rem);
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.9fr) minmax(0, 1.4fr);
  gap: 0.42rem;
  padding: 0.42rem;
  border-radius: 999px;
  background: #090b0f;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 16px 28px rgba(8, 16, 24, 0.15);
}

.intro-media-strip-segment {
  position: relative;
  display: block;
  height: 26px;
  border-radius: 999px;
  overflow: hidden;
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0.09) 0%,
    rgba(255, 255, 255, 0.02) 100%
  );
}

.intro-media-strip-segment::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(
    90deg,
    rgba(3, 105, 161, 0.24) 0%,
    rgba(9, 11, 15, 0) 40%,
    rgba(249, 115, 22, 0.18) 100%
  );
  opacity: 0.85;
}

.intro-media-strip-segment:nth-child(2)::after {
  background: linear-gradient(
    90deg,
    rgba(249, 115, 22, 0.24) 0%,
    rgba(9, 11, 15, 0.08) 50%,
    rgba(255, 255, 255, 0.08) 100%
  );
}

.intro-media-strip-segment:nth-child(3)::after {
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0.06) 0%,
    rgba(249, 115, 22, 0.18) 38%,
    rgba(3, 105, 161, 0.24) 100%
  );
}

@media (min-width: 768px) {
  .intro-chapters {
    --scatter-opacity: 1;
  }

  .intro-chapter {
    grid-template-columns: clamp(4.1rem, 8vw, 5.2rem) minmax(0, 1fr);
    gap: clamp(1.8rem, 3.5vw, 3rem);
  }

  .intro-chapter-marker {
    align-self: center;
  }

  .intro-chapter-copy {
    grid-template-columns: minmax(0, 1fr) var(--intro-sliver-w-tablet);
    column-gap: clamp(0.5rem, 1vw, 0.75rem);
    row-gap: 1rem;
    align-items: start;
  }

  .intro-chapter-content,
  .intro-chapter-body {
    grid-column: 1;
    padding-left: clamp(1.5rem, 3vw, 2.5rem);
  }

  .intro-chapter-photo {
    grid-column: 2;
    grid-row: 1 / span 2;
    width: 100%;
    height: var(--intro-sliver-h-tablet);
    align-self: center;
    justify-self: start;
    margin-left: clamp(-6.25rem, -7.5vw, -3.75rem);
    box-shadow: none;
  }

  .intro-chapter-photo img {
    object-position: var(--intro-photo-focus, 50% 50%);
  }
}

@media (min-width: 1121px) {
  .intro-chapter {
    gap: clamp(2rem, 3.5vw, 3.25rem);
  }

  .intro-chapter-marker {
    width: clamp(4.8rem, 8vw, 6.1rem);
  }

  .intro-chapter-marker span {
    font-size: clamp(1.45rem, 2.4vw, 2rem);
  }

  .intro-chapter-copy {
    grid-template-columns: minmax(0, 1fr) var(--intro-sliver-w-desktop);
  }

  .intro-chapter-photo {
    height: var(--intro-sliver-h-desktop);
  }
}

@media (max-width: 920px) {
  .intro-section .section-head h2,
  .intro-section .section-head p,
  .intro-chapter-content h3,
  .intro-chapter-body p {
    max-width: none;
  }
}

@media (max-width: 767px) {
  .intro-chapters {
    --scatter-size: 5.8px;
    --scatter-opacity: 1;
    --scatter-bg-scale: 760px;
  }

  .intro-head {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .intro-head-art {
    grid-column: 1;
    grid-row: 1;
    width: 100%;
    margin-right: 0;
  }

  .intro-head-copy {
    grid-row: 2;
  }

  .intro-head-body {
    grid-row: 3;
    margin-top: 0;
  }
}

@media (max-width: 560px) {
  .intro-media-strip {
    gap: 0.3rem;
    padding: 0.3rem;
  }

  .intro-media-strip-segment {
    height: 22px;
  }
}

.service-row {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-card);
  background: var(--card-bg, var(--feature-blue));
  overflow: hidden;
}

.service-rows .service-row {
  transition:
    transform 0.3s ease-out,
    box-shadow 0.3s ease-out,
    border-color 0.3s ease-out;
}

.service-rows .service-row:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(13, 28, 58, 0.1);
  border-color: rgba(249, 115, 22, 0.5);
  border-color: color-mix(in srgb, var(--card-accent, var(--accent)) 50%, transparent);
}

.service-row-panel {
  min-height: 300px;
}

.service-row-copy {
  background: var(--card-bg, var(--feature-blue));
  padding: 1.5rem;
  border-right: 1px solid var(--border-color);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.service-row-copy h3 {
  font-size: clamp(1.34rem, 2.2vw, 1.58rem);
  line-height: 1.2;
  color: var(--text-color);
}

.service-row-copy p {
  color: var(--text-muted);
  line-height: 1.6;
}

.service-row-media {
  overflow: hidden;
  background: #ffffff;
}

.service-row-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease-out;
}

.service-row:hover .service-row-media img {
  transform: scale(1.025);
}

.service-row--reverse .service-row-copy {
  order: 2;
  border-right: none;
  border-left: 1px solid var(--border-color);
}

.service-row--reverse .service-row-media {
  order: 1;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.35rem;
}

.service-card {
  background: var(--card-bg, var(--feature-blue));
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card-pre);
  transition:
    transform 0.5s ease,
    box-shadow 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.service-grid .service-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-card-hover);
}

.service-card:hover .service-media img {
  transform: scale(1.05);
}

.service-media {
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.service-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.service-body {
  padding: 1.45rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  min-height: 330px;
}

.service-card h3 {
  font-size: clamp(1.34rem, 2.2vw, 1.58rem);
  line-height: 1.2;
  color: var(--text-color);
}

.service-card p {
  color: var(--text-muted);
  line-height: 1.6;
}

.service-points {
  list-style: none;
  display: grid;
  gap: 1.1rem;
  margin: 0.1rem 0 0.25rem;
}

.service-points li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.55rem;
  color: #36465f;
  font-size: 0.92rem;
  line-height: 1.45;
}

.service-points li::before {
  content: "";
  width: 0.48rem;
  height: 0.48rem;
  border-radius: 0.08rem;
  align-self: center;
  background: var(--card-accent, var(--accent));
}

.service-link {
  color: var(--card-accent, var(--accent));
  font-weight: 700;
  font-size: 0.91rem;
  margin-top: auto;
}


/* ===================================
   Emerald CTA
   =================================== */

.cta-banner-emerald {
  padding: 4.8rem 0;
  background:
    radial-gradient(
      circle at 88% 14%,
      rgba(16, 185, 129, 0.28),
      rgba(16, 185, 129, 0)
    ),
    linear-gradient(132deg, #062e2b 0%, #0b3d38 56%, #12524b 100%);
}

.cta-banner-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) auto;
  gap: 1.8rem;
  align-items: center;
}

.cta-banner-inner .eyebrow {
  color: #86efac;
}

.cta-banner-inner h2 {
  color: #ffffff;
  font-size: clamp(1.66rem, 3.2vw, 2.45rem);
}

.cta-banner-inner p {
  margin-top: 0.55rem;
  color: #d5ece9;
  max-width: 62ch;
}

.cta-actions {
  display: flex;
  gap: 0.7rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}

/* ===================================
   Proof
   =================================== */

.proof-section {
  background: var(--bg-color);
}

.proof-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 1.3rem;
}

.proof-card:first-child {
  grid-row: span 2;
  display: flex;
  flex-direction: column-reverse;
}

.proof-card:first-child .proof-media {
  flex: 1;
  min-height: 220px;
}

.proof-card {
  background: var(--bg-color);
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-card-pre);
  transition:
    transform 0.25s ease,
    box-shadow 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.proof-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card-hover);
}

.proof-card:hover .proof-media img {
  transform: scale(1.04);
}

.proof-media {
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.proof-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.proof-body {
  padding: 1.38rem;
}

.proof-industry {
  text-transform: uppercase;
  letter-spacing: 0.07em;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--accent);
}

.proof-body h3 {
  margin-top: 0.42rem;
  font-size: 1.24rem;
}

.proof-body p {
  margin-top: 0.5rem;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* ===================================
   Proof — Layout Variants
   =================================== */

/* B: Giant headline as the visual anchor */
.proof-layout-b .section-head {
  max-width: 100%;
  margin-bottom: 3rem;
}

.proof-layout-b .section-head h2 {
  font-size: clamp(3.2rem, 6.5vw, 6rem);
  letter-spacing: -0.03em;
  line-height: 0.94;
  max-width: 18ch;
}

/* D: Editorial bento — 4 cells, card 4 is a circle */
.proof-layout-d.proof-section {
  position: relative;
  overflow: hidden;
}

/* Large decorative circle bleeding in from bottom-left */
.proof-layout-d.proof-section::before {
  content: "";
  position: absolute;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: var(--accent-bg);
  bottom: -140px;
  left: -120px;
  pointer-events: none;
  z-index: 0;
}

.proof-layout-d .section-head {
  position: relative;
  z-index: 1;
  margin-left: auto;
  margin-right: 0;
  text-align: right;
  margin-bottom: 2.4rem;
}

.proof-layout-d .section-head .eyebrow {
  text-align: right;
}

.proof-layout-d .proof-grid {
  position: relative;
  z-index: 1;
  grid-template-columns: 1.3fr 0.9fr 0.9fr;
  gap: 1.4rem;
}

.proof-layout-d .proof-media img {
  display: none;
}

/* Grid placement — card 1 spans both rows, cards 2-4 fill the right */
.proof-layout-d .proof-card:nth-child(1) {
  grid-column: 1;
  grid-row: 1 / span 2;
}
.proof-layout-d .proof-card:nth-child(2) {
  grid-column: 2 / span 2;
  grid-row: 1;
}
.proof-layout-d .proof-card:nth-child(3) {
  grid-column: 2;
  grid-row: 2;
}
.proof-layout-d .proof-card:nth-child(4) {
  grid-column: 3;
  grid-row: 2;
}

/* Hide any extra cards beyond 4 in other layouts */
.proof-layout-b .proof-card:nth-child(n + 4),
.proof-layout-e .proof-card:nth-child(n + 4) {
  display: none;
}

/* Card 1 — tall dark feature, text above gray band */
.proof-layout-d .proof-card:nth-child(1) {
  background: var(--ink-900);
  border-color: transparent;
  box-shadow: var(--shadow-panel);
}

.proof-layout-d .proof-card:nth-child(1) .proof-media {
  background: var(--ink-800);
  min-height: 200px;
}

.proof-layout-d .proof-card:nth-child(1) .proof-body {
  padding: 1.6rem;
}

.proof-layout-d .proof-card:nth-child(1) .proof-body h3 {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 1.8vw, 1.65rem);
  line-height: 1.14;
  color: #ffffff;
}

.proof-layout-d .proof-card:nth-child(1) .proof-body p {
  color: var(--text-inverse-soft);
}

/* Card 2 — light, wide */
.proof-layout-d .proof-card:nth-child(2) {
  background: var(--bg-soft);
  border-color: transparent;
}

.proof-layout-d .proof-card:nth-child(2) .proof-media {
  background: #ced4dc;
  aspect-ratio: unset;
  height: 130px;
  min-height: unset;
  flex-shrink: 0;
}

.proof-layout-d .proof-card:nth-child(2) .proof-body h3 {
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 1.5vw, 1.35rem);
  line-height: 1.18;
}

/* Card 3 — tint */
.proof-layout-d .proof-card:nth-child(3) {
  background: var(--bg-tint);
  border-color: transparent;
}

.proof-layout-d .proof-card:nth-child(3) .proof-media {
  background: #dde2ea;
  aspect-ratio: unset;
  height: 110px;
  min-height: unset;
  flex-shrink: 0;
}

.proof-layout-d .proof-card:nth-child(3) .proof-body h3 {
  font-family: var(--font-display);
  font-size: 1.06rem;
  line-height: 1.2;
}

/* Card 4 — circle */
.proof-layout-d .proof-card:nth-child(4) {
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--accent);
  border-color: transparent;
  box-shadow: none;
  align-self: center;
  justify-self: center;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.proof-layout-d .proof-card:nth-child(4) .proof-media {
  display: none;
}

.proof-layout-d .proof-card:nth-child(4) .proof-body {
  padding: 1.2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.proof-layout-d .proof-card:nth-child(4) .proof-body h3 {
  font-family: var(--font-display);
  color: #ffffff;
  font-size: 1rem;
  line-height: 1.25;
}

.proof-layout-d .proof-card:nth-child(4) .proof-body p {
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.85rem;
  margin-top: 0.3rem;
}

/* E: Color-blocked — grid wrapped in split background */
.proof-layout-e .proof-grid {
  background: linear-gradient(
    to right,
    var(--bg-soft) 0%,
    var(--bg-soft) 60%,
    var(--bg-tint) 60%
  );
  border-radius: var(--radius-xl);
  padding: 1.4rem;
  gap: 1.4rem;
  border: 1px solid var(--border-color);
}

.proof-layout-e .proof-card:first-child {
  border: none;
  box-shadow: none;
  background: transparent;
}

/* ===================================
   Readiness
   =================================== */

.readiness-section {
  background: var(--bg-soft);
}

.readiness-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(0, 0.96fr);
  gap: 2rem;
  align-items: center;
}

.readiness-copy h2 {
  font-size: clamp(2rem, 3.6vw, 2.9rem);
  margin-bottom: 0.75rem;
}

.readiness-copy > p {
  color: var(--text-muted);
  font-size: 1.04rem;
  line-height: 1.65;
}

.readiness-list {
  list-style: none;
  display: grid;
  gap: 0.8rem;
  margin-top: 1.3rem;
}

.readiness-list li {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 0.72rem;
  padding: 0.92rem 1rem;
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
}

.readiness-list li::before {
  content: "";
  width: 0.84rem;
  height: 0.84rem;
  align-self: center;
  border-radius: 50%;
  background: var(--accent);
}

.readiness-list strong {
  display: block;
  color: var(--text-color);
  font-size: 0.98rem;
}

.readiness-list span {
  display: block;
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-top: 0.16rem;
}

.readiness-media {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-panel);
}

.readiness-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ===================================
   Spark
   =================================== */

.spark-section {
  position: relative;
  overflow: clip;
  background: linear-gradient(
    132deg,
    #ff4fa3 0%,
    #ff73bd 32%,
    #ff96c9 58%,
    #fcb8c7 76%,
    #ffd48f 100%
  );
}

.spark-section::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(
      circle at 14% 14%,
      rgba(79, 70, 229, 0.3),
      rgba(79, 70, 229, 0)
    ),
    radial-gradient(
      circle at 86% 85%,
      rgba(30, 64, 175, 0.15),
      rgba(30, 64, 175, 0)
    );
}

.spark-panel {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 1.65rem;
  padding: 2rem;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.55);
  background: rgba(255, 255, 255, 0.76);
  box-shadow: 0 22px 44px rgba(157, 23, 77, 0.2);
  transition:
    transform 0.35s ease-out,
    box-shadow 0.35s ease-out,
    border-color 0.35s ease-out;
}

.spark-panel:hover {
  transform: translateY(-8px);
  box-shadow: 0 32px 56px rgba(13, 28, 58, 0.22);
  border-color: #ff4fa3;
}

.spark-copy .eyebrow {
  color: #9d174d;
}

.spark-copy h2 {
  font-size: clamp(1.95rem, 3.5vw, 2.85rem);
  margin-bottom: 0.76rem;
}

.spark-copy p {
  color: #334155;
  max-width: 58ch;
}

.spark-list {
  list-style: none;
  margin-top: 1.15rem;
  display: grid;
  gap: 0.6rem;
}

.spark-list li {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 0.52rem;
  color: #1f2f4c;
  font-size: 0.93rem;
}

.spark-list li::before {
  content: "";
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 0.08rem;
  align-self: center;
  background: #be185d;
}

.spark-copy .btn {
  margin-top: 1.15rem;
}

.spark-media {
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid rgba(31, 41, 55, 0.18);
  box-shadow: 0 16px 30px rgba(31, 41, 55, 0.18);
}

.spark-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease-out;
}

.spark-panel:hover .spark-media img {
  transform: scale(1.025);
}

/* ===================================
   Process
   =================================== */

.process-section {
  background: var(--bg-color);
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.2rem;
}

.step-card {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-top: 3px solid var(--ink-900);
  border-radius: var(--radius-md);
  padding: 1.4rem;
  box-shadow: var(--shadow-card-pre);
  transition:
    transform 0.22s ease,
    box-shadow 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.step-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card-hover);
}

.step-number {
  display: block;
  font-family: var(--font-display);
  color: var(--ink-900);
  font-size: 3rem;
  font-weight: 300;
  letter-spacing: -0.01em;
  line-height: 1;
  opacity: 0.6;
  margin-bottom: 0.5rem;
}

.step-card h3 {
  margin-top: 0.72rem;
  font-size: 1.14rem;
}

.step-card p {
  margin-top: 0.45rem;
  color: var(--text-muted);
  font-size: 0.94rem;
}

/* ===================================
   Deliverables
   =================================== */

.deliverables-section {
  background: var(--bg-tint);
}

.deliverables-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.15rem;
}

.deliverable-item {
  position: relative;
  padding: 1.2rem 1.2rem 1.2rem 1.45rem;
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card-pre);
  transition:
    transform 0.22s ease,
    box-shadow 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.deliverable-item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 0.28rem;
  border-radius: var(--radius-md) 0 0 var(--radius-md);
  background: linear-gradient(
    180deg,
    var(--accent) 0%,
    var(--accent-strong) 100%
  );
}

.deliverable-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card-hover);
}

.deliverable-item strong {
  display: block;
  color: var(--text-color);
  font-size: 1rem;
}

.deliverable-item p {
  margin-top: 0.24rem;
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.55;
}

.deliverables-section--icon-cards {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(
      circle at 14% 18%,
      rgba(249, 115, 22, 0.12),
      rgba(249, 115, 22, 0) 34%
    ),
    linear-gradient(180deg, #f8fbff 0%, #f2f7ff 100%);
}

.deliverables-section--icon-cards::after {
  content: "";
  position: absolute;
  right: -5rem;
  top: 1.5rem;
  width: 18rem;
  height: 18rem;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(249, 115, 22, 0.14),
    rgba(249, 115, 22, 0) 72%
  );
  pointer-events: none;
}

.deliverables-section--icon-cards .container {
  position: relative;
  z-index: 1;
}

.deliverables-grid--icon-cards {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.2rem;
  align-items: stretch;
}

.deliverable-item--icon {
  padding: 1.35rem;
  border: 1px solid rgba(249, 115, 22, 0.16);
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.98),
    rgba(248, 252, 255, 0.94)
  );
}

.deliverable-item--icon::before {
  display: none;
}

.deliverable-item--icon:hover {
  transform: translateY(-6px);
  border-color: rgba(249, 115, 22, 0.3);
}

.deliverable-item-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

.deliverable-icon-shell {
  width: 3rem;
  height: 3rem;
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.9rem;
  border: 1px solid rgba(249, 115, 22, 0.16);
  background: linear-gradient(
    180deg,
    rgba(249, 115, 22, 0.12),
    rgba(249, 115, 22, 0.03)
  );
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.45);
}

.deliverable-icon {
  width: 24px;
  height: 24px;
  display: block;
  stroke: var(--accent);
  fill: none;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  opacity: 0.72;
}

.deliverable-meta {
  max-width: 13rem;
  font-family: 'Fragment Mono', monospace;
  font-size: 0.68rem;
  line-height: 1.55;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-subtle);
}

.deliverable-copy {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.deliverable-item--icon strong {
  font-size: 1.05rem;
}

.deliverable-item--icon p {
  margin-top: 0;
  font-size: 0.92rem;
}

@media (max-width: 1100px) {
  .deliverables-grid--icon-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 920px) {
  .deliverable-item-head {
    flex-direction: column;
    align-items: flex-start;
  }

  .deliverable-meta {
    max-width: none;
  }
}

@media (max-width: 768px) {
  .deliverables-grid--icon-cards {
    grid-template-columns: 1fr;
  }
}

/* ===================================
   About
   =================================== */

.about-section {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(
      circle at 12% 22%,
      rgba(16, 185, 129, 0.22),
      rgba(16, 185, 129, 0)
    ),
    radial-gradient(
      circle at 82% 86%,
      rgba(236, 72, 153, 0.2),
      rgba(236, 72, 153, 0)
    ),
    linear-gradient(
      136deg,
      var(--ink-950) 0%,
      var(--ink-900) 54%,
      var(--ink-800) 100%
    );
  box-shadow: inset 0 8px 28px -8px rgba(0, 0, 0, 0.45);
}

.about-section .eyebrow {
  color: #a7f3d0;
}

.about-section .section-head h2 {
  color: var(--text-inverse);
}

.about-section .section-head p {
  color: var(--text-inverse-soft);
}

.about-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.3rem;
}

.about-point {
  border: 1px solid rgba(216, 227, 244, 0.26);
  background: rgba(8, 16, 24, 0.38);
  border-radius: var(--radius-md);
  padding: 1.2rem;
}

.about-point h3 {
  color: #ffffff;
  font-size: 1.16rem;
  margin-bottom: 0.46rem;
}

.about-point p {
  color: #d9e4f5;
  line-height: 1.62;
}

/* ===================================
   Contact
   =================================== */

.contact-section {
  background:
    radial-gradient(
      circle at 18% 28%,
      rgba(249, 115, 22, 0.07),
      transparent 48%
    ),
    radial-gradient(
      circle at 82% 76%,
      rgba(249, 115, 22, 0.05),
      transparent 42%
    ),
    linear-gradient(160deg, #f5f8fc 0%, #ffffff 100%);
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 2.7rem;
  align-items: start;
}

.contact-copy h2 {
  font-size: clamp(2rem, 3.4vw, 2.95rem);
}

.contact-copy > p {
  margin-top: 0.75rem;
  color: var(--text-muted);
  font-size: 1.04rem;
  line-height: 1.64;
}

.contact-details {
  margin-top: 1.45rem;
  list-style: none;
  display: grid;
  gap: 0.5rem;
}

.contact-details li {
  color: var(--text-muted);
  font-size: 0.94rem;
}

.contact-form {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-panel);
  padding: 1.9rem;
  display: grid;
  gap: 0.94rem;
}

.contact-form label {
  display: grid;
  gap: 0.36rem;
  color: var(--text-muted);
  font-size: 0.875rem;
  font-weight: 600;
}

.contact-form label span {
  color: var(--text-color);
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1.5px solid var(--border-color);
  border-radius: var(--radius-xl);
  background: #ffffff;
  color: var(--text-color);
  padding: 0.72rem 0.85rem;
  font-size: 0.95rem;
  font-family: inherit;
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.12);
  outline: none;
}

.contact-form textarea {
  resize: vertical;
  min-height: 120px;
}

.contact-form .btn {
  width: 100%;
  margin-top: 0.2rem;
}

.contact-form-status {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.55;
  color: var(--text-muted);
}

/* ===================================
   Footer
   =================================== */

footer {
  margin-top: 0;
  padding: 3.3rem 0 1.2rem;
  background: linear-gradient(
    136deg,
    var(--ink-950) 0%,
    var(--ink-900) 54%,
    var(--ink-800) 100%
  );
  color: var(--text-inverse-soft);
}

.footer-content {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-section h3,
.footer-section h4 {
  margin-bottom: 0.75rem;
  color: #ffffff;
  font-size: 0.95rem;
}

.footer-section p {
  font-size: 0.9rem;
  line-height: 1.62;
}

.footer-tagline {
  text-wrap: balance;
}

.footer-section ul {
  list-style: none;
}

.footer-section li {
  margin-bottom: 0.42rem;
  font-size: 0.9rem;
}

.footer-section a {
  color: var(--text-inverse-soft);
}

.footer-section a:hover {
  color: #ffffff;
}

.footer-bottom {
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 1.25rem;
  color: #9fb1cd;
  font-size: 0.85rem;
}

/* ===================================
   Motion
   =================================== */

@keyframes riseIn {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Above-fold elements keep a CSS load animation */
.hero-copy {
  animation: riseIn 0.52s ease both;
}

.hero-stat-card {
  animation: riseIn 0.52s ease both;
}

.hero-stat-card:nth-child(2) {
  animation-delay: 0.07s;
}
.hero-stat-card:nth-child(3) {
  animation-delay: 0.14s;
}
.hero-stat-card:nth-child(4) {
  animation-delay: 0.2s;
}

/* Scroll-triggered reveal for below-fold content */
.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition:
    opacity 0.56s ease,
    transform 0.56s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .hero-copy,
  .hero-stat-card {
    animation: none;
  }

  .hero-rule {
    animation: none;
    width: 36px;
  }

  .text-highlight {
    transition: none;
    background-size: 100% 100%;
  }

  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .work-portfolio-title,
  .work-portfolio-rule {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ===================================
   Responsive
   =================================== */

@media (max-width: 1100px) {
  .stats-parade-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2.5rem 1.8rem;
  }

  .stats-parade-item {
    display: grid;
    grid-template-rows: auto auto 1fr;
    gap: 0.95rem;
    align-content: start;
  }

  .stats-parade-statement {
    display: grid;
    gap: 0.42rem;
  }

  .stats-parade-value,
  .stats-parade-lead,
  .stats-parade-copy {
    grid-row: auto;
  }

  .service-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .service-row {
    grid-template-columns: 1fr;
  }

  .service-row-panel {
    min-height: 0;
  }

  .service-row-copy {
    border-right: none;
  }

  .service-row--reverse .service-row-copy {
    order: 1;
    border-left: none;
  }

  .service-row--reverse .service-row-media {
    order: 2;
  }

  .service-row-media {
    min-height: 260px;
  }

  .showcase-grid-a {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .showcase-grid-b {
    grid-template-columns: 1fr;
  }

  .showcase-grid-b .showcase-card:first-child {
    grid-row: span 1;
  }

  .showcase-grid-b .showcase-card:first-child .showcase-img-wrap {
    aspect-ratio: 16 / 10;
  }

  .showcase-grid-c {
    grid-template-columns: 1fr;
  }

  .showcase-card--featured {
    grid-row: span 1;
  }

  .showcase-slice {
    aspect-ratio: 6 / 7;
  }

  .process-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .about-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 920px) {
  .mobile-menu-toggle {
    display: flex;
  }

  .nav-cluster {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-color);
    padding: 1rem 1.25rem 1.25rem;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0.84rem;
  }

  .nav-cluster.is-active {
    display: flex;
  }

  .nav-menu {
    position: static;
    transform: none;
    left: auto;
    white-space: normal;
    flex-direction: column;
    gap: 0;
  }

  .nav-menu li {
    border-bottom: 1px solid var(--border-color);
    padding: 0.6rem 0;
  }

  .nav-menu li:last-child {
    border-bottom: 0;
  }

  .nav-cta {
    text-align: center;
  }
}

@media (max-width: 768px) {
  .section {
    padding: var(--section-space-mobile) 0;
  }

  .stats-parade-bridge-bleed {
    height: 320px;
  }

  .stats-parade-bridge-copy {
    padding-bottom: 2rem;
  }

  .stats-parade-bridge-copy--upper-right {
    padding-top: 1.4rem;
  }

  .stats-parade-bridge-quote {
    font-size: clamp(1.75rem, 8vw, 2.5rem);
  }

  .stats-parade-bridge-tag {
    top: 0.75rem;
    left: 0.75rem;
    padding: 0.62rem 0.78rem;
  }

  .stats-parade-grid {
    grid-template-columns: 1fr;
    gap: 2.1rem;
  }

  .hero-video {
    display: none;
  }

  .hero-content {
    grid-template-columns: 1fr;
    padding: 4.4rem var(--spacing) 3.1rem;
    gap: 1.5rem;
  }

  .hero-stats {
    grid-template-columns: 1fr;
  }

  .hero-actions,
  .cta-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-actions .btn,
  .cta-actions .btn {
    width: 100%;
    text-align: center;
  }

  .service-grid,
  .proof-grid,
  .readiness-grid,
  .spark-panel,
  .deliverables-grid,
  .about-grid,
  .contact-layout,
  .showcase-grid-a,
  .showcase-grid-b,
  .showcase-grid-c {
    grid-template-columns: 1fr;
  }

  .proof-card:first-child {
    grid-row: auto;
  }

  .proof-card:first-child .proof-media {
    aspect-ratio: 4 / 3;
  }

  .showcase-slide {
    aspect-ratio: 16 / 9;
    min-height: 240px;
  }

  .showcase-slide-overlay {
    padding: 1.25rem;
  }

  .showcase-slices {
    grid-template-columns: 1fr;
    gap: 0.65rem;
  }

  .showcase-slice {
    max-width: 560px;
    aspect-ratio: 6 / 7;
    margin-inline: auto;
  }

  .showcase-intro p {
    font-size: 1rem;
  }

  .service-row-copy {
    padding: 1.25rem;
  }

  .service-row-media {
    min-height: 220px;
  }

  .service-body {
    min-height: 0;
  }

  .cta-banner-emerald {
    padding: 4rem 0;
  }

  .cta-banner-inner {
    grid-template-columns: 1fr;
  }

  .spark-panel {
    padding: 1.35rem;
  }

  .footer-content {
    grid-template-columns: 1fr;
  }

}

@media (max-width: 560px) {
}

@media (max-width: 480px) {
  .section-head h2,
  .contact-copy h2,
  .readiness-copy h2,
  .spark-copy h2 {
    font-size: clamp(1.78rem, 10vw, 2.2rem);
  }

  .process-grid {
    grid-template-columns: 1fr;
  }

  .hero-copy h1 {
    font-size: clamp(2.05rem, 11vw, 2.8rem);
  }

  .hero-sub {
    font-size: 1rem;
  }
}

/* ── CTA Variants (temp) ── */

.cta-v-right {
  position: relative;
  overflow: hidden;
  min-height: 420px;
}

.cta-banner-emerald.cta-v-right {
  padding: 10.8rem 0;
}

.cta-right-img {
  position: absolute;
  top: 0;
  right: 0;
  width: 65%;
  height: 100%;
  background-image: url('/assets/heroes/cta_conv_01.webp');
  background-size: cover;
  background-position: center;
  z-index: 0;
  transform: scaleX(-1);
  -webkit-mask-image: linear-gradient(to left, transparent 0%, black 40%);
  mask-image: linear-gradient(to left, transparent 0%, black 40%);
}


/* ── Tools Parade ── */
.tools-parade {
  padding: 6rem 0;
  overflow-x: clip;
  overflow-y: visible;
}

.parade-header {
  text-align: center;
  margin-bottom: 3.5rem;
}

.parade-heading {
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  font-weight: 700;
  margin-bottom: 1.6rem;
}

.parade-sub {
  font-size: 1rem;
  color: var(--text-subtle);
  max-width: 58ch;
  margin: 0 auto;
}

.parade-mask {
  -webkit-mask-image: linear-gradient(
    to right,
    transparent 0%,
    black 8%,
    black 92%,
    transparent 100%
  );
  mask-image: linear-gradient(
    to right,
    transparent 0%,
    black 8%,
    black 92%,
    transparent 100%
  );
  padding: 28px 0;
  margin: -28px 0;
  overflow-x: clip;
  overflow-y: visible;
}

.parade-track {
  display: flex;
  align-items: center;
  width: max-content;
  animation: parade-scroll 66s linear infinite;
  gap: 0;
  transition: animation-duration 1.2s ease;
}

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

.parade-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0 3.2rem;
  color: var(--text-color);
  white-space: nowrap;
  position: relative;
  isolation: isolate;
  cursor: default;
  transition: transform 0.45s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.parade-item::after {
  content: "·";
  position: absolute;
  right: 0;
  color: var(--text-subtle);
  font-size: 1.1rem;
  opacity: 0.4;
}

.parade-item::before {
  content: "";
  position: absolute;
  left: calc(3.2rem - 14px);
  top: 50%;
  width: 92px;
  height: 92px;
  border-radius: 50%;
  background: radial-gradient(
    circle at center,
    var(--accent-soft) 0%,
    rgba(209, 250, 229, 0.55) 38%,
    rgba(209, 250, 229, 0) 72%
  );
  transform: translateY(-50%) scale(0.55);
  opacity: 0;
  z-index: -1;
  pointer-events: none;
  transition:
    transform 0.55s cubic-bezier(0.2, 0.7, 0.2, 1),
    opacity 0.4s ease;
}

.parade-item svg {
  width: 64px;
  height: 64px;
  flex-shrink: 0;
  opacity: 0.8;
  color: var(--text-color);
  transition:
    color 0.35s ease,
    opacity 0.35s ease,
    transform 0.5s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.parade-item span {
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  opacity: 0.7;
  position: relative;
  transition:
    color 0.35s ease,
    opacity 0.35s ease;
}

.parade-item span::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -6px;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left center;
  opacity: 0.55;
  transition: transform 0.45s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.parade-item:hover {
  transform: translateY(-4px);
}

.parade-item:hover::before {
  opacity: 1;
  transform: translateY(-50%) scale(1);
}

.parade-item:hover svg {
  color: var(--accent);
  opacity: 1;
  transform: scale(1.04);
}

.parade-item:hover span {
  color: var(--accent-strong);
  opacity: 1;
}

.parade-item:hover span::after {
  transform: scaleX(1);
}

@media (prefers-reduced-motion: reduce) {
  .parade-item,
  .parade-item::before,
  .parade-item svg,
  .parade-item span,
  .parade-item span::after {
    transition-duration: 0.15s;
  }
  .parade-item:hover {
    transform: none;
  }
  .parade-item:hover svg {
    transform: none;
  }
}

/* ===================================
   Typography Theme — Outliant
   Toggle on:  "fontVariant": "outliant"  in _data/theme.json
   Toggle off: "fontVariant": "B"         in _data/theme.json
   =================================== */

html[data-font-variant="outliant"] {
  --text-color: #202020;
  --text-muted: #1a3354;
  --text-subtle: #2a4f7c;
  --text-inverse: #f5f5f5;
  --text-inverse-soft: rgba(245, 245, 245, 0.8);
}

html[data-font-variant="outliant"] body {
  font-family: 'Manrope', sans-serif;
  font-weight: 500;
}

html[data-font-variant="outliant"] h1,
html[data-font-variant="outliant"] h2,
html[data-font-variant="outliant"] h3,
html[data-font-variant="outliant"] h4 {
  font-family: 'Manrope', sans-serif;
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.05;
}

/* Hero H1 */
html[data-font-variant="outliant"] .hero-copy h1 {
  font-size: clamp(2.5rem, 6.5vw, 4.5rem);
  line-height: 1;
  letter-spacing: -2.5px;
}

/* Section H2s */
html[data-font-variant="outliant"] .section-head h2,
html[data-font-variant="outliant"] .readiness-copy h2,
html[data-font-variant="outliant"] .cta-banner-inner h2,
html[data-font-variant="outliant"] .contact-copy h2,
html[data-font-variant="outliant"] .spark-copy h2 {
  font-size: clamp(1.8rem, 4vw, 3rem);
  line-height: 1.25;
  letter-spacing: -2px;
}

/* Proof layout B — giant display headline */
html[data-font-variant="outliant"] .proof-layout-b .section-head h2 {
  font-size: clamp(3rem, 7vw, 5.5rem);
  line-height: 1;
  letter-spacing: -3px;
}

/* Service H3s */
html[data-font-variant="outliant"] .service-row-copy h3,
html[data-font-variant="outliant"] .service-card h3 {
  font-size: clamp(1.35rem, 2.5vw, 2rem);
  line-height: 1.14;
  letter-spacing: -1px;
}

/* Showcase slide overlay H3 */
html[data-font-variant="outliant"] .showcase-slide-overlay h3 {
  letter-spacing: -2px;
  line-height: 1;
}

/* Parade heading */
html[data-font-variant="outliant"] .parade-heading {
  font-family: 'Manrope', sans-serif;
  font-weight: 500;
  letter-spacing: -2px;
}

/* Eyebrow → Fragment Mono uppercase label */
html[data-font-variant="outliant"] .eyebrow {
  font-family: 'Fragment Mono', monospace;
  font-size: 0.8125rem;
  font-weight: 400;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

/* Tags / industry labels → Fragment Mono */
html[data-font-variant="outliant"] .showcase-tag,
html[data-font-variant="outliant"] .proof-industry {
  font-family: 'Fragment Mono', monospace;
  font-size: 0.8125rem;
  font-weight: 400;
  letter-spacing: 0.02em;
}

/* Nav */
html[data-font-variant="outliant"] .logo {
  font-family: 'Manrope', sans-serif;
  letter-spacing: 0.15em;
}

html[data-font-variant="outliant"] .nav-menu a {
  font-family: 'Manrope', sans-serif;
  font-weight: 500;
}

html[data-font-variant="outliant"] .nav-cta {
  font-family: 'Manrope', sans-serif;
  font-weight: 500;
}

/* Buttons */
html[data-font-variant="outliant"] .btn {
  font-family: 'Manrope', sans-serif;
  font-weight: 500;
}

/* Step numbers (Process section) */
html[data-font-variant="outliant"] .step-number {
  font-family: 'Manrope', sans-serif;
  font-weight: 500;
  letter-spacing: -0.04em;
}

/* Mobile */
@media (max-width: 480px) {
  html[data-font-variant="outliant"] .hero-copy h1 {
    letter-spacing: -2px;
  }

  html[data-font-variant="outliant"] .section-head h2,
  html[data-font-variant="outliant"] .contact-copy h2,
  html[data-font-variant="outliant"] .readiness-copy h2,
  html[data-font-variant="outliant"] .spark-copy h2 {
    letter-spacing: -1.5px;
  }

  html[data-font-variant="outliant"] .hero-sub {
    font-size: 1.15rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .parade-track {
    animation: none;
    flex-wrap: wrap;
    justify-content: center;
    width: 100%;
  }
  .parade-mask {
    -webkit-mask-image: none;
    mask-image: none;
  }
}

/* ===================================
   Subpage Hero Variants
   =================================== */

/* ── Light (Work) ── */

.svc-hero.svc-hero--light {
  background: var(--bg-color);
  border-bottom: 1px solid var(--border-color);
}

.svc-hero.svc-hero--light .svc-hero-h1 {
  color: var(--text-color);
}

.svc-hero.svc-hero--light .eyebrow {
  color: var(--accent);
}

.svc-hero.svc-hero--light .svc-hero-sub {
  color: var(--text-muted);
}

.svc-hero-copy--centered {
  text-align: center;
  max-width: 640px;
  margin: 0 auto;
}

.svc-hero-copy--centered .svc-hero-sub {
  margin-left: auto;
  margin-right: auto;
}

/* ── Warm dark (About) ── */

.svc-hero.svc-hero--warm {
  background: linear-gradient(136deg, #0f0904 0%, #1a1108 54%, #221a0d 100%);
}

.svc-hero.svc-hero--warm .eyebrow {
  color: #fcd34d;
}

/* ── TOC sidebar (Process) ── */

.svc-hero-toc-wrap {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 4rem;
  align-items: end;
}

.prc-hero-toc {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  padding-bottom: 0.2rem;
}

.prc-hero-toc li {
  font-family: 'Fragment Mono', monospace;
  font-size: 0.74rem;
  color: rgba(248, 250, 252, 0.25);
  letter-spacing: 0.04em;
  white-space: nowrap;
  transition: color 0.2s ease;
}

.prc-hero-toc li:hover {
  color: rgba(248, 250, 252, 0.65);
}

@media (max-width: 700px) {
  .svc-hero-toc-wrap {
    grid-template-columns: 1fr;
  }

  .prc-hero-toc {
    display: none;
  }
}

/* ===================================
   Services Page
   =================================== */

/* ── Image Placeholders ── */

.img-ph {
  background: var(--bg-soft);
  border: 1.5px dashed var(--border-color);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  overflow: hidden;
}

.img-ph-label {
  font-family: 'Fragment Mono', monospace;
  font-size: 0.72rem;
  color: var(--text-subtle);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-align: center;
  padding: 1rem;
}

.img-ph--portrait {
  aspect-ratio: 3 / 4;
}

.img-ph--icon {
  width: 2.75rem;
  height: 2.75rem;
  flex-shrink: 0;
  border-radius: var(--radius-sm);
}

/* ── Page Hero ── */

.svc-hero {
  background: linear-gradient(136deg, var(--ink-950) 0%, var(--ink-900) 54%, var(--ink-800) 100%);
  padding: clamp(3.5rem, 7vw, 5.5rem) 0 clamp(3rem, 6vw, 5rem);
}

.svc-hero-inner {
  display: grid;
  grid-template-columns: 1fr 260px;
  gap: 4rem;
  align-items: center;
}

.svc-hero .eyebrow {
  color: #86efac;
}

.svc-hero-h1 {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5.5vw, 4.2rem);
  line-height: 1;
  letter-spacing: -0.03em;
  color: #ffffff;
  margin-top: 0.75rem;
}

.svc-hero-sub {
  margin-top: 1.3rem;
  color: var(--text-inverse-soft);
  font-size: 1.06rem;
  line-height: 1.68;
  max-width: 50ch;
}

.svc-hero-aside {
  margin: 0;
}

.svc-hero-aside .img-ph {
  border-color: rgba(216, 229, 244, 0.18);
  background: rgba(255, 255, 255, 0.04);
}

/* ── Services Triptych ── */

.svc-triptych-section {
  background: var(--bg-color);
}

.svc-triptych-section .container {
  max-width: 1380px;
}

.svc-triptych-shell {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

.svc-triptych-capstone {
  position: relative;
  width: min(80%, 68rem);
  aspect-ratio: 2 / 1;
  box-sizing: border-box;
  padding: clamp(1.3rem, 2vw, 1.7rem) clamp(1.6rem, 4vw, 3rem) clamp(1.2rem, 2.5vw, 1.6rem);
  margin-bottom: clamp(1.3rem, 2.5vw, 2rem);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
  text-align: center;
}

.svc-triptych-capstone::before {
  content: '';
  position: absolute;
  inset: 0;
  border-top: 1px solid rgba(15, 23, 42, 0.16);
  border-left: 1px solid rgba(15, 23, 42, 0.16);
  border-right: 1px solid rgba(15, 23, 42, 0.16);
  border-bottom: none;
  border-radius: 50% 50% 0 0 / 100% 100% 0 0;
  pointer-events: none;
}

.svc-triptych-capstone::after {
  content: '';
  position: absolute;
  left: clamp(1rem, 6%, 2rem);
  right: clamp(1rem, 6%, 2rem);
  bottom: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(15, 23, 42, 0.14) 10%, rgba(15, 23, 42, 0.14) 90%, transparent 100%);
  pointer-events: none;
}

.svc-triptych-capstone .eyebrow {
  color: #0f766e;
}

.svc-triptych-capstone-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.6vw, 3.15rem);
  letter-spacing: -0.04em;
  line-height: 0.96;
  color: var(--text-color);
  margin: 0.6rem 0 0;
  max-width: 11ch;
}

.svc-triptych-capstone-copy {
  font-size: 1rem;
  line-height: 1.68;
  color: var(--text-muted);
  max-width: 50ch;
  margin: 0.85rem 0 0;
}

.svc-triptych-grid {
  --svc-col-gap: clamp(1.25rem, 1.9vw, 1.75rem);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  column-gap: var(--svc-col-gap);
  min-height: clamp(760px, 84vh, 980px);
  width: 100%;
  background: transparent;
  overflow: visible;
}

.svc-triptych-col {
  --svc-accent: var(--text-color);
  --svc-border-accent: rgba(15, 23, 42, 0.1);
  position: relative;
  background: transparent;
  min-width: 0;
}

.svc-triptych-col + .svc-triptych-col::before {
  content: '';
  position: absolute;
  left: calc(var(--svc-col-gap) * -0.5);
  top: clamp(1.8rem, 3vw, 2.8rem);
  bottom: clamp(1.8rem, 3vw, 2.8rem);
  width: 1px;
  background: linear-gradient(180deg, transparent 0%, rgba(15, 23, 42, 0.18) 12%, rgba(15, 23, 42, 0.08) 50%, rgba(15, 23, 42, 0.18) 88%, transparent 100%);
  box-shadow: 0 0 18px rgba(15, 23, 42, 0.05);
  pointer-events: none;
}

.svc-triptych-col-inner {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: clamp(1.6rem, 2.8vw, 2.3rem) clamp(1.5rem, 2.2vw, 2.1rem) clamp(1.8rem, 2.8vw, 2.35rem);
}

.svc-triptych-head {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.45rem;
  min-height: 11.75rem;
}

.svc-triptych-title {
  font-family: inherit;
  font-size: clamp(2.7rem, 5vw, 4.8rem);
  font-weight: 700;
  letter-spacing: -0.08em;
  line-height: 0.86;
  color: var(--text-color);
  text-transform: uppercase;
  margin: 0;
}

.svc-triptych-subtitle {
  font-size: 0.82rem;
  line-height: 1.4;
  letter-spacing: 0.02em;
  color: var(--text-muted);
  color: color-mix(in srgb, var(--text-muted) 82%, var(--svc-accent) 18%);
  text-transform: none;
  margin: 0;
}

.svc-triptych-deck {
  font-size: 1rem;
  line-height: 1.65;
  letter-spacing: -0.01em;
  color: var(--accent);
  color: color-mix(in srgb, var(--svc-accent) 72%, var(--text-color) 28%);
  margin: 0;
  max-width: 24ch;
}

.svc-triptych-specimen {
  --svc-spot-x: 50%;
  --svc-spot-y: 50%;
  --svc-focus-x: var(--specimen-focus, 50%);
  --svc-focus-y: 50%;
  --svc-spot-opacity: 0;
  --svc-accent-wash: rgba(249, 115, 22, 0.18);
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  margin-top: clamp(1.5rem, 2.6vw, 2rem);
  padding: 1.35rem 0 1.55rem;
  border-top: 1px solid var(--svc-border-accent);
  border-bottom: 1px solid var(--svc-border-accent);
}

.svc-specimen-photo {
  position: relative;
  aspect-ratio: 25 / 16;
  overflow: hidden;
  background: rgba(17, 24, 39, 0.05);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.28);
}

.svc-specimen-photo::before,
.svc-specimen-photo::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.svc-specimen-photo::before {
  content: attr(data-active-label);
  inset: auto auto 0.85rem 0.85rem;
  padding: 0.38rem 0.62rem;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.74);
  color: rgba(255, 255, 255, 0.92);
  font-family: 'Fragment Mono', monospace;
  font-size: 0.56rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0;
  transform: translateY(6px);
  z-index: 2;
  transition:
    opacity 0.35s ease,
    transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.svc-specimen-photo::after {
  background:
    radial-gradient(circle at var(--svc-spot-x) var(--svc-spot-y), var(--svc-accent-wash) 0%, rgba(255, 255, 255, 0.12) 14%, transparent 44%);
  opacity: var(--svc-spot-opacity);
  transform: scale(0.96);
  transition:
    opacity 0.55s ease,
    transform 0.55s cubic-bezier(0.16, 1, 0.3, 1);
}

.svc-specimen-photo picture {
  display: block;
  width: 100%;
  height: 100%;
}

.svc-specimen-photo img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: var(--svc-focus-x) var(--svc-focus-y);
  filter: saturate(0.92) contrast(0.98);
  transform: scale(1);
  transition:
    object-position 0.65s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.65s cubic-bezier(0.16, 1, 0.3, 1),
    filter 0.45s ease;
}

.svc-triptych-specimen.is-active .svc-specimen-photo::before {
  opacity: 1;
  transform: translateY(0);
}

.svc-triptych-specimen.is-active .svc-specimen-photo::after {
  transform: scale(1);
}

.svc-triptych-specimen.is-active .svc-specimen-photo img {
  transform: scale(1.035);
  filter: saturate(1.02) contrast(1.03) brightness(1.01);
}

.svc-specimen-meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
}

.svc-specimen-chip {
  appearance: none;
  background: none;
  border: none;
  border-top: 1px solid rgba(15, 23, 42, 0.15);
  border-top: 1px solid color-mix(in srgb, var(--svc-accent) 18%, rgba(15, 23, 42, 0.12));
  padding: 0.65rem 0 0;
  text-align: left;
  font-family: 'Fragment Mono', monospace;
  font-size: 0.62rem;
  color: var(--text-subtle);
  color: color-mix(in srgb, var(--svc-accent) 62%, var(--text-subtle) 38%);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  transition:
    color 0.2s ease,
    border-color 0.2s ease,
    transform 0.2s ease;
}

.svc-specimen-chip:hover,
.svc-specimen-chip:focus-visible,
.svc-specimen-chip.is-active {
  color: color-mix(in srgb, var(--svc-accent) 82%, var(--text-color) 18%);
  border-top-color: color-mix(in srgb, var(--svc-accent) 34%, rgba(15, 23, 42, 0.14));
  transform: translateY(-1px);
}

.svc-specimen-chip:focus-visible {
  outline: 2px solid color-mix(in srgb, var(--svc-accent) 22%, rgba(15, 23, 42, 0.18));
  outline-offset: 3px;
}

.svc-triptych-body {
  display: flex;
  flex-direction: column;
  gap: 1.05rem;
  flex: 1;
  margin-top: 1.4rem;
}

.svc-triptych-copy p {
  font-size: 0.98rem;
  line-height: 1.78;
  color: var(--text-muted);
  margin: 0 0 1rem;
}

.svc-triptych-copy p:last-child {
  margin-bottom: 0;
}

.svc-triptych-pull {
  margin: 0;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.45;
  letter-spacing: -0.015em;
  color: var(--svc-accent);
  font-style: normal;
  max-width: 24ch;
}

.svc-triptych-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  margin: auto 0 0;
  padding: 1.5rem 0 0;
  border-top: 1px solid var(--svc-border-accent);
}

.svc-triptych-list li {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  font-family: 'Fragment Mono', monospace;
  font-size: 0.72rem;
  color: var(--svc-accent);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.svc-triptych-list li::before {
  content: '';
  width: 1.2rem;
  height: 1px;
  background: currentColor;
  opacity: 0.55;
  flex-shrink: 0;
}

.svc-conclusion {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(2rem, 4vw, 4rem);
  padding: clamp(2rem, 4vw, 3rem);
  width: 100%;
  margin-top: clamp(1rem, 2vw, 1.4rem);
  border-top: 1px solid rgba(15, 23, 42, 0.12);
  background: transparent;
}

.svc-conclusion-head .eyebrow {
  color: #0f766e;
}

.svc-conclusion-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 2.9rem);
  line-height: 0.98;
  letter-spacing: -0.04em;
  color: var(--text-color);
  margin: 0.55rem 0 0;
  max-width: 14ch;
}

.svc-conclusion-body {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.svc-conclusion-copy {
  font-size: 1rem;
  line-height: 1.75;
  color: var(--text-muted);
  max-width: 58ch;
  margin: 0;
}

.svc-conclusion-pull {
  font-family: var(--font-display);
  font-size: clamp(1.05rem, 1.9vw, 1.45rem);
  line-height: 1.3;
  letter-spacing: -0.02em;
  color: #9d174d;
  font-style: italic;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(244, 114, 182, 0.22);
  margin: 0;
}

.svc-conclusion-tags {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0;
  padding: 0;
}

.svc-conclusion-tags li {
  font-family: 'Fragment Mono', monospace;
  font-size: 0.72rem;
  color: #831843;
  padding: 0.38em 0.88em;
  background: transparent;
  border: 1px solid rgba(244, 184, 228, 0.48);
  border-radius: 0;
}

/* ── Foundations ── */

.svc-foundations {
  background: linear-gradient(136deg, var(--ink-950) 0%, var(--ink-900) 54%, var(--ink-800) 100%);
  padding: clamp(4rem, 7vw, 5.5rem) 0;
}

.svc-foundations-head {
  margin-bottom: 3rem;
}

.svc-foundations-head .eyebrow {
  color: #a7f3d0;
}

.svc-foundations-head h2 {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 3.5vw, 2.75rem);
  color: var(--text-inverse);
  margin-top: 0.55rem;
  letter-spacing: -0.03em;
}

.svc-foundations-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

.svc-found-item--a {
  --found-accent: #60a5fa;
  --found-icon-bg: rgba(191, 219, 254, 0.12);
  --found-icon-border: rgba(96, 165, 250, 0.35);
}

.svc-found-item--b {
  --found-accent: #fbbf24;
  --found-icon-bg: rgba(254, 240, 138, 0.1);
  --found-icon-border: rgba(251, 191, 36, 0.35);
}

.svc-found-item--c {
  --found-accent: #34d399;
  --found-icon-bg: rgba(167, 243, 208, 0.12);
  --found-icon-border: rgba(52, 211, 153, 0.35);
}

.svc-found-item--d {
  --found-accent: #f472b6;
  --found-icon-bg: rgba(244, 184, 228, 0.12);
  --found-icon-border: rgba(244, 114, 182, 0.35);
}

.svc-found-item .img-ph--icon {
  background: var(--found-icon-bg, rgba(255, 255, 255, 0.04));
  border-color: var(--found-icon-border, rgba(216, 229, 244, 0.2));
}

.svc-found-icon {
  width: 2.75rem;
  height: 2.75rem;
  flex-shrink: 0;
  border-radius: var(--radius-sm);
  border: 1px dashed var(--found-icon-border, rgba(216, 229, 244, 0.2));
  background: var(--found-icon-bg, rgba(255, 255, 255, 0.04));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--found-accent);
}

.svc-found-icon svg {
  width: 1.35rem;
  height: 1.35rem;
}

.svc-found-item h3 {
  color: var(--found-accent, var(--text-inverse));
  font-size: 1.05rem;
  font-weight: 500;
  margin-top: 1rem;
  margin-bottom: 0.45rem;
  letter-spacing: -0.02em;
}

.svc-found-item p {
  color: rgba(245, 245, 245, 0.68);
  font-size: 0.88rem;
  line-height: 1.68;
}

/* ── Services CTA ── */

.svc-cta-section {
  background: linear-gradient(160deg, #ffffff 0%, #fef5fa 60%, #fff8f0 100%);
}

.svc-cta-inner {
  max-width: 640px;
}

.svc-cta-inner::before {
  content: '';
  display: block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #60a5fa;
  box-shadow:
    14px 0 0 #fbbf24,
    28px 0 0 #34d399,
    42px 0 0 #f472b6;
  margin-bottom: 1.75rem;
}

.svc-cta-section .eyebrow {
  color: #0369a1;
}

.svc-cta-heading {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 4vw, 3rem);
  letter-spacing: -0.03em;
  line-height: 1.05;
  margin-top: 0.5rem;
  color: var(--text-color);
}

.svc-cta-sub {
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.7;
  margin-top: 0.8rem;
  max-width: 50ch;
}

.svc-cta-actions {
  margin-top: 1.8rem;
  display: flex;
  gap: 0.9rem;
  flex-wrap: wrap;
  align-items: center;
}

/* Light-background ghost button override */
.svc-cta-section .btn-ghost {
  background: linear-gradient(to bottom, transparent 50%, #e2e8f0 50%);
  background-size: 100% 201%;
  background-position: 0% 0;
  background-clip: padding-box;
  color: var(--text-color);
  border: 1px solid rgba(15, 23, 42, 0.18);
  transition:
    background-position 420ms cubic-bezier(0.22, 1, 0.36, 1),
    color 420ms cubic-bezier(0.22, 1, 0.36, 1),
    border-color 0.2s ease;
}

.svc-cta-section .btn-ghost:hover {
  background-position: 0% 100%;
  color: var(--text-color);
  border-color: transparent;
}

/* ── Responsive ── */

@media (max-width: 900px) {
  .svc-hero-inner {
    grid-template-columns: 1fr;
  }

  .svc-hero-aside {
    display: none;
  }

  .svc-triptych-head {
    min-height: 0;
  }

  .svc-triptych-capstone {
    width: min(36rem, calc(100% - 1rem));
  }

  .svc-triptych-grid,
  .svc-conclusion {
    grid-template-columns: 1fr;
  }

  .svc-triptych-grid {
    min-height: 0;
    row-gap: 0;
  }

  .svc-triptych-col + .svc-triptych-col::before {
    left: clamp(1.5rem, 4vw, 2rem);
    right: clamp(1.5rem, 4vw, 2rem);
    top: 0;
    bottom: auto;
    width: auto;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, rgba(15, 23, 42, 0.16) 12%, rgba(15, 23, 42, 0.08) 50%, rgba(15, 23, 42, 0.16) 88%, transparent 100%);
    box-shadow: 0 0 18px rgba(15, 23, 42, 0.04);
  }

  .svc-conclusion-title,
  .svc-triptych-deck {
    max-width: none;
  }

  .svc-foundations-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 560px) {
  .svc-triptych-capstone {
    width: calc(100% - 1rem);
    padding-left: 1.25rem;
    padding-right: 1.25rem;
  }

  .svc-triptych-col-inner,
  .svc-conclusion {
    padding-left: 1.2rem;
    padding-right: 1.2rem;
  }

  .svc-foundations-grid {
    grid-template-columns: 1fr;
  }
}

/* ===================================
   Work Page
   =================================== */

/* ── Selected Work Header ── */

.work-portfolio-head {
  background: var(--bg-color);
  padding: clamp(3.8rem, 7vw, 5.5rem) 0 0;
}

.work-portfolio-title {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 5.5vw, 4rem);
  letter-spacing: -0.04em;
  line-height: 0.94;
  color: var(--text-color);
}

.work-portfolio-rule {
  border: none;
  border-top: 1px solid var(--border-color);
  margin-top: clamp(1.6rem, 3vw, 2.2rem);
}

/* reveal integration */
.work-portfolio-title,
.work-portfolio-rule {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.56s ease, transform 0.56s ease;
}

.work-portfolio-head.is-visible .work-portfolio-title {
  opacity: 1;
  transform: translateY(0);
}

.work-portfolio-head.is-visible .work-portfolio-rule {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.1s;
}

/* ── Featured Project ── */

.work-featured-section {
  background: var(--bg-color);
}

.work-featured-section--headed {
  padding-top: clamp(2.2rem, 4vw, 3.2rem);
}

.work-feat-card {
  position: relative;
  display: flex;
  align-items: flex-end;
  width: 100%;
  min-height: clamp(540px, 72vh, 860px);
  overflow: hidden;
  border-radius: var(--radius-sm);
  cursor: pointer;
  background: none;
  border: none;
  padding: 0;
  text-align: left;
  text-decoration: none;
  color: inherit;
  -webkit-appearance: none;
  appearance: none;
}

.work-feat-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 70%, rgba(0, 31, 10, 0.45) 82%, rgba(0, 31, 10, 0.9) 92%, #001f0a 99%);
  background: linear-gradient(
    to bottom,
    transparent 70%,
    color-mix(in oklch, var(--card-tint, oklch(20% 0.07 160)), transparent 55%) 82%,
    color-mix(in oklch, var(--card-tint, oklch(20% 0.07 160)), transparent 10%) 92%,
    var(--card-tint, oklch(20% 0.07 160)) 99%
  );
  z-index: 1;
  pointer-events: none;
}

.work-feat-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center 35%;
  transition: transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  will-change: transform;
}

.work-feat-card:hover .work-feat-bg {
  transform: scale(1.04);
}

.work-feat-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: #bbdfe8;
  background: oklch(88% 0.04 215);
  mix-blend-mode: multiply;
  opacity: 0.38;
  pointer-events: none;
}

.work-card-bg--maroon::after {
  content: '';
  position: absolute;
  inset: 0;
  background: #b92846;
  background: oklch(52% 0.18 15);
  mix-blend-mode: screen;
  opacity: 0.38;
  pointer-events: none;
}

.work-feat-content {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: clamp(2rem, 4vw, 3.5rem);
  color: #f5f1ea;
  color: oklch(96% 0.01 80);
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.85), 0 4px 20px rgba(0, 0, 0, 0.5);
}

.work-feat-label {
  font-family: 'Fragment Mono', monospace;
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #c8f2c8;
  color: oklch(92% 0.07 145);
  display: block;
  margin-bottom: 0.55rem;
}

.work-feat-tag {
  font-family: 'Fragment Mono', monospace;
  font-size: 0.72rem;
  color: #ded6c9;
  color: oklch(88% 0.02 80);
  letter-spacing: 0.045em;
  text-transform: uppercase;
  display: block;
  margin-bottom: 0.85rem;
}

.work-feat-title {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 5vw, 4.2rem);
  line-height: 0.94;
  letter-spacing: -0.04em;
  color: #f8f5ef;
  color: oklch(97% 0.008 80);
  margin-bottom: 1rem;
}

.work-feat-desc {
  font-size: clamp(0.88rem, 1.15vw, 0.98rem);
  line-height: 1.72;
  color: #d6d0c7;
  color: oklch(86% 0.014 80);
  margin-bottom: 1.25rem;
  max-width: 52ch;
}

.work-feat-meta {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  margin-bottom: 1.4rem;
}

.work-feat-year,
.work-feat-scope {
  font-family: 'Fragment Mono', monospace;
  font-size: 0.7rem;
  letter-spacing: 0.05em;
}

.work-feat-year {
  color: #8d8579;
  color: oklch(62% 0.02 80);
}

.work-scope {
  font-family: 'Fragment Mono', monospace;
  font-size: 0.74rem;
  color: var(--accent);
  letter-spacing: 0.04em;
  transition: color 0.2s ease;
}

.work-scope:hover {
  color: rgba(249, 115, 22, 0.35);
}

.work-scope-sep {
  font-family: 'Fragment Mono', monospace;
  font-size: 0.74rem;
  color: var(--text-subtle);
  letter-spacing: 0.04em;
}

.work-feat-cta {
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 500;
  color: #adcfad;
  color: oklch(82% 0.06 145);
  letter-spacing: -0.01em;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  transition: gap 0.25s ease, color 0.25s ease;
}

.work-feat-card:hover .work-feat-cta {
  gap: 0.6rem;
  color: #c2ebc2;
  color: oklch(90% 0.07 145);
}

/* Override scope colors on dark card backgrounds */
.work-feat-card .work-scope {
  color: #94b594;
  color: oklch(74% 0.06 145);
}

.work-feat-card .work-scope-sep {
  color: #6f685c;
  color: oklch(52% 0.02 80);
}

/* ── Project Grid ── */

.work-grid-section {
  background: var(--bg-soft);
}

.work-grid-eyebrow {
  margin-bottom: 2rem;
}

.work-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.4rem;
}

.work-card {
  display: block;
  text-decoration: none;
  color: inherit;
  position: relative;
  overflow: hidden;
  aspect-ratio: 5 / 3;
  border-radius: var(--radius-sm);
  cursor: pointer;
}

.work-card-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center 30%;
  transition: transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  will-change: transform;
}

.work-card:hover .work-card-bg {
  transform: scale(1.05);
}

.work-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 58%, rgba(0, 14, 23, 0.45) 72%, rgba(0, 14, 23, 0.9) 84%, #000e17 96%);
  background: linear-gradient(
    to bottom,
    transparent 58%,
    color-mix(in oklch, var(--card-tint, oklch(15% 0.04 220)), transparent 55%) 72%,
    color-mix(in oklch, var(--card-tint, oklch(15% 0.04 220)), transparent 10%) 84%,
    var(--card-tint, oklch(15% 0.04 220)) 96%
  );
  z-index: 1;
  pointer-events: none;
}

.work-card-content {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: clamp(1.1rem, 2.2vw, 1.6rem);
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.85), 0 4px 20px rgba(0, 0, 0, 0.5);
}

.work-card-tag {
  font-family: 'Fragment Mono', monospace;
  font-size: 0.66rem;
  color: #e7ddcc;
  color: oklch(90% 0.025 80);
  letter-spacing: 0.055em;
  text-transform: uppercase;
  display: block;
  margin-bottom: 0.4rem;
}

.work-card-title {
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 2.1vw, 1.55rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: #fdfbf9;
  color: oklch(99% 0.004 80);
  margin-bottom: 0.45rem;
}

.work-card-desc {
  font-size: 0.82rem;
  line-height: 1.6;
  color: #d6d0c7;
  color: oklch(86% 0.014 80);
  margin-bottom: 0.85rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.work-card-foot {
  display: flex;
  align-items: center;
  gap: 0.7rem;
}

.work-card-year,
.work-card-scope {
  font-family: 'Fragment Mono', monospace;
  font-size: 0.66rem;
  letter-spacing: 0.05em;
}

.work-card-year {
  color: #81796d;
  color: oklch(58% 0.02 80);
}

.work-card-scope {
  display: flex;
  align-items: center;
  gap: 0.2rem;
  color: #a19787;
  color: oklch(68% 0.025 80);
}

/* Override scope colors on dark card backgrounds */
.work-card .work-scope {
  color: #8eaf8e;
  color: oklch(72% 0.06 145);
}

.work-card .work-scope-sep {
  color: #696257;
  color: oklch(50% 0.02 80);
}

/* ── Industries Strip ── */

.work-industries {
  background: var(--bg-color);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  padding: 2.75rem 0;
  text-align: center;
}

.work-industries-label {
  margin-bottom: 0.75rem;
}

.work-industries-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: baseline;
  gap: 0.4rem 0.7rem;
  font-family: var(--font-display);
  font-size: clamp(0.95rem, 1.55vw, 1.35rem);
  letter-spacing: -0.025em;
  color: var(--text-color);
  line-height: 1.5;
}

.work-dot {
  color: var(--accent);
  font-size: 1.1em;
  line-height: 1;
}

/* ── Responsive ── */

@media (max-width: 640px) {
  .work-feat-card {
    min-height: clamp(300px, 55vw, 400px);
  }

  .work-grid {
    grid-template-columns: 1fr;
  }

  .work-card {
    aspect-ratio: 4 / 3;
  }
}


/* ===================================
   About Page (redesign)
   =================================== */

/* ── Header ── */

.abt-header {
  padding: clamp(4rem, 8vw, 6.5rem) 0 clamp(1.5rem, 3vw, 2.5rem);
}

.abt-header-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}

.abt-title {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 4vw, 3.2rem);
  letter-spacing: -0.03em;
  line-height: 1.05;
  color: var(--text-color);
}

.abt-studio {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 4vw, 3.2rem);
  letter-spacing: -0.03em;
  line-height: 1.05;
  color: var(--text-color);
}

/* ── I · Passion ── */

.abt-passion {
  padding-top: clamp(1.5rem, 3vw, 2.5rem);
  padding-bottom: clamp(3rem, 5vw, 4.5rem);
}

.abt-passion-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(2rem, 4vw, 3.5rem);
  align-items: center;
}

.abt-passion-img {
  border-radius: var(--radius-xl);
}

.abt-passion-copy p {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.4vw, 1.85rem);
  line-height: 1.35;
  letter-spacing: -0.02em;
  color: var(--text-color);
  max-width: 28ch;
}

/* ── II · Credibility ── */

.abt-cred {
  padding-top: clamp(3rem, 5vw, 4.5rem);
  padding-bottom: clamp(3rem, 5vw, 4.5rem);
}

.abt-cred-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(2rem, 4vw, 3.5rem);
  align-items: center;
}

.abt-cred-copy p {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.4vw, 1.85rem);
  line-height: 1.35;
  letter-spacing: -0.02em;
  color: var(--text-color);
  max-width: 28ch;
}

.abt-cred-copy p + p {
  margin-top: clamp(1rem, 1.8vw, 1.35rem);
}

.abt-cred-images {
  display: grid;
  grid-template-columns: 1.1fr 0.6fr;
  grid-template-rows: 1fr 1fr;
  column-gap: clamp(1.2rem, 2.4vw, 1.8rem);
  row-gap: clamp(0.6rem, 1.2vw, 0.9rem);
  padding-top: 1.5rem;
}

.abt-cred-img-a {
  grid-row: 1 / 3;
  aspect-ratio: 7 / 8;
  border-radius: var(--radius-xl);
}

.abt-cred-img-b {
  margin-top: -1.5rem;
  border-radius: var(--radius-xl);
}

.abt-cred-img-c {
  width: 112%;
  margin-left: clamp(0.6rem, 1.2vw, 0.9rem);
  border-radius: var(--radius-xl);
}

/* ── III · Point of View ── */

.abt-pov {
  padding-top: clamp(3rem, 5vw, 4.5rem);
  padding-bottom: clamp(3rem, 5vw, 4.5rem);
}

.abt-pov-grid {
  display: flex;
  gap: clamp(0.8rem, 1.5vw, 1.2rem);
  align-items: stretch;
}

.abt-pov-grid > :first-child { flex: 0.92; }
.abt-pov-grid > :last-child  { flex: 0.85; }

.abt-pov-heading {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 2.7vw, 2.15rem);
  letter-spacing: -0.025em;
  line-height: 1.1;
  color: var(--text-color);
  margin-bottom: clamp(1.2rem, 2vw, 1.8rem);
}

.abt-pov-cards p {
  color: var(--text-color);
  font-size: clamp(1.15rem, 1.5vw, 1.32rem);
  line-height: 1.65;
}

.abt-pov-cards p + p {
  margin-top: clamp(1.2rem, 2vw, 1.6rem);
}

.page-about {
  --abt-accent: #1A5CCC;
}

.abt-word-accent { color: var(--abt-accent); }

.abt-pov-img {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  margin-top: -1rem;
  margin-bottom: -1rem;
  min-height: 0;
}

/* ── IV · Stats — The ROI of Good Design ── */

.abt-stats {
  background: var(--bg-soft);
  padding-top: clamp(4rem, 7vw, 6rem);
  padding-bottom: clamp(4rem, 7vw, 6rem);
}

.abt-stats-header {
  text-align: center;
  margin-bottom: clamp(3rem, 5vw, 4.5rem);
}

.abt-stats-heading {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: var(--text-color);
  margin-top: 0.75rem;
}

.abt-stat-row {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(2rem, 4vw, 3.5rem);
  align-items: center;
}

.abt-stat-row + .abt-stat-row {
  margin-top: clamp(3rem, 5vw, 4.5rem);
}

.abt-stat-row--flip {
  grid-template-columns: 0.85fr 1.15fr;
}

.abt-stat-row--flip .abt-stat-content {
  order: 2;
}

.abt-stat-row--flip .abt-stat-img {
  order: 1;
}

.abt-stat-value {
  font-family: var(--font-display);
  font-size: clamp(3rem, 5.5vw, 4.5rem);
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--text-color);
  margin: 0 0 0.25rem;
}

.abt-stat-label {
  font-size: 0.6875rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin: 0 0 0.75rem;
  line-height: 1.3;
}

.abt-stat-desc {
  font-size: clamp(0.95rem, 1.2vw, 1.05rem);
  color: var(--text-muted);
  line-height: 1.55;
  max-width: 34ch;
  margin: 0 0 0.75rem;
}

.abt-stat-source {
  font-style: normal;
  font-size: 0.75rem;
  color: var(--text-subtle);
  display: block;
}

.abt-stat-img {
  border-radius: var(--radius-xl);
  aspect-ratio: 4 / 3;
}

.page-about .abt-stats .img-ph {
  border: none;
}

.page-about .img-ph { border: none; }
.page-about .abt-photo {
  width: 100%;
  height: 100%;
  display: block;
  align-self: stretch;
  object-fit: cover;
}

.page-about .abt-photo--passion {
  object-position: center 42%;
}

.page-about .abt-photo--cred-tall {
  object-position: center center;
}

.page-about .abt-photo--cred-detail {
  object-position: center 44%;
}

.page-about .abt-photo--cred-wide {
  object-position: center 54%;
}

.page-about .abt-photo--pov {
  position: absolute;
  inset: 0;
  object-position: center 46%;
}

/* ── V · CTA ── */

.abt-cta.svc-cta-section {
  background: var(--bg-color);
}

/* ── Responsive ── */

@media (max-width: 860px) {
  .abt-passion-grid,
  .abt-cred-grid,
  .abt-pov-grid {
    grid-template-columns: 1fr;
  }

  .abt-passion-img {
    max-width: 420px;
  }

  .abt-cred-images {
    max-width: 480px;
  }

  .abt-pov-img {
    max-width: 360px;
  }

  .abt-stat-row,
  .abt-stat-row--flip {
    grid-template-columns: 1fr;
  }

  .abt-stat-row--flip .abt-stat-content {
    order: 0;
  }

  .abt-stat-row--flip .abt-stat-img {
    order: 0;
  }

  .abt-stat-img {
    max-width: 480px;
  }
}

/* ===================================
   Process Page
   =================================== */

/* ── Steps ── */

.prc-steps-section {
  background: var(--bg-color);
}

.prc-list {
  list-style: none;
  border-top: 1px solid var(--border-color);
}

.prc-step {
  border-bottom: 1px solid var(--border-color);
  padding: clamp(2.5rem, 4.5vw, 4rem) 0;
}

.prc-step-inner {
  display: grid;
  grid-template-columns: 0.55fr 1fr;
  gap: clamp(2rem, 4vw, 4rem);
  align-items: start;
}

.prc-step-left {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  position: sticky;
  top: calc(var(--header-height) + 2rem);
}

.prc-step-num {
  font-family: 'Fragment Mono', monospace;
  font-size: 0.78rem;
  color: var(--accent);
  letter-spacing: 0.04em;
}

.prc-step-name {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 3.2vw, 2.8rem);
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--text-color);
}

.prc-step-desc {
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.75;
  margin-bottom: 1.75rem;
  max-width: 58ch;
}

.prc-step-deliverables {
  border-top: 1px solid var(--border-color);
  padding-top: 1.25rem;
}

.prc-step-dlabel {
  display: block;
  margin-bottom: 0.75rem;
}

.prc-step-dlist {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.prc-step-dlist li {
  font-family: 'Fragment Mono', monospace;
  font-size: 0.76rem;
  color: var(--text-subtle);
  letter-spacing: 0.02em;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  transition: color 0.2s ease;
}

.prc-step-dlist li:hover {
  color: rgba(42, 79, 124, 0.38);
}

.prc-step-dlist li::before {
  content: "";
  display: inline-block;
  width: 14px;
  height: 1px;
  background: var(--accent);
  flex-shrink: 0;
  transition: background 0.2s ease;
}

.prc-step-dlist li:hover::before {
  background: rgba(249, 115, 22, 0.35);
}

/* ── Facts Strip ── */

.prc-facts {
  background: #ffffff;
  padding: clamp(3.5rem, 5.5vw, 5rem) 0;
  border-top: 2px solid var(--ink-900);
  border-bottom: 1px solid var(--border-color);
}

.prc-facts-header {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  margin-bottom: clamp(2rem, 3.5vw, 3rem);
}

.prc-facts-eyebrow {
  white-space: nowrap;
  color: var(--text-muted);
}

.prc-facts-header-rule {
  flex: 1;
  height: 1px;
  background: var(--border-color);
}

.prc-facts-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0 clamp(2rem, 4vw, 3.5rem);
}

.prc-fact {
  position: relative;
  padding-left: clamp(1.25rem, 2vw, 1.75rem);
  border-left: 3px solid var(--ink-900);
}

.prc-fact-value {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(2.75rem, 5vw, 5rem);
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--ink-900);
  margin-bottom: 0.5rem;
}

.prc-fact-value-track {
  display: inline-flex;
  align-items: flex-end;
}

.prc-fact-glyph {
  display: inline-block;
  transform: translateY(0.34em);
  opacity: 0;
  transition:
    transform 0.88s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.72s ease;
  transition-delay: calc(var(--reveal-delay, 0s) + var(--glyph-delay, 0s));
}

.prc-fact.is-visible .prc-fact-glyph {
  transform: translateY(0);
  opacity: 1;
}

@media (prefers-reduced-motion: reduce) {
  .svc-specimen-photo::before,
  .svc-specimen-photo::after,
  .svc-specimen-photo img,
  .svc-specimen-chip,
  .prc-fact-glyph {
    transition: none;
  }

  .svc-specimen-chip:hover,
  .svc-specimen-chip:focus-visible,
  .svc-specimen-chip.is-active {
    transform: none;
  }

  .prc-fact-glyph {
    transform: none;
    opacity: 1;
  }
}

.prc-fact-label {
  display: block;
  font-size: 0.6875rem;
  font-weight: 700;
  color: var(--ink-900);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 0.9rem;
}

.prc-fact-desc {
  color: var(--text-muted);
  font-size: 0.875rem;
  line-height: 1.65;
  max-width: 22ch;
}

/* ── Responsive ── */

@media (max-width: 860px) {
  .prc-step-inner {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .prc-step-left {
    position: static;
    flex-direction: row;
    align-items: baseline;
    gap: 1rem;
  }

  .prc-facts-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2.25rem clamp(1.5rem, 4vw, 3rem);
  }

  .prc-fact {
    padding-left: clamp(1rem, 3vw, 1.5rem);
  }
}

@media (max-width: 560px) {
  .prc-facts-grid {
    grid-template-columns: 1fr;
    gap: 2rem 0;
  }
}

/* ===================================
   FEATURE: newSubpageHeroes (v2)
   Toggle: _data/features.json → "newSubpageHeroes": true/false
   =================================== */

/* ── Shared base ── */

.v2-hero {
  position: relative;
  overflow: hidden;
}

.v2-h1 {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 6vw, 4.8rem);
  line-height: 1;
  letter-spacing: -0.03em;
  color: #ffffff;
  margin-top: 0.75rem;
}

.v2-sub {
  margin-top: 1.3rem;
  color: var(--text-inverse-soft);
  font-size: 1.06rem;
  line-height: 1.68;
  max-width: 50ch;
}

.v2-eyebrow {
  color: #86efac;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  font-size: 0.78rem;
  font-weight: 700;
  margin-bottom: 0.55rem;
}

.v2-eyebrow--dark {
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.09em;
  font-size: 0.78rem;
  font-weight: 700;
  margin-bottom: 0.55rem;
}

.v2-eyebrow--gold {
  color: #fcd34d;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  font-size: 0.78rem;
  font-weight: 700;
  margin-bottom: 0.55rem;
}

.v2-img-placeholder {
  border: 1.5px dashed rgba(255, 255, 255, 0.22);
  border-radius: var(--radius-md);
  width: 100%;
  background: rgba(255, 255, 255, 0.04);
}

.v2-img-placeholder--portrait {
  aspect-ratio: 3 / 4;
}

/* ─────────────────────────────────
   Services v2
   "Systematic authority"
   ───────────────────────────────── */

.v2-hero--services {
  background:
    radial-gradient(circle at 82% 22%, rgba(109, 236, 196, 0.22) 0%, rgba(109, 236, 196, 0) 32%),
    radial-gradient(circle at 16% 100%, rgba(22, 166, 127, 0.18) 0%, rgba(22, 166, 127, 0) 38%),
    linear-gradient(136deg, #06110f 0%, #0f2821 54%, #174036 100%);
  padding: 0;
  position: relative;
  overflow: hidden;
}

/* ── Tree-ring overlay ──
   Concentric radial gradients → perfect rings.
   #ring-warp feTurbulence displaces them → organic wobble like real growth rings.
   Three gradient layers at different centers/spacings = natural irregularity. */
.v2-svc-rings {
  --ring-op-lo: 0.3;
  --ring-op-hi: 0.55;
  --ring-breathe: 20s;
  position: absolute;
  inset: -40px;
  z-index: 0;
  pointer-events: none;
  filter: url(#ring-warp);
  mix-blend-mode: screen;
  animation: ring-breathe var(--ring-breathe) ease-in-out infinite;
  background:
    /* Primary ring set — tighter spacing, slightly elliptical */
    repeating-radial-gradient(
      ellipse 95% 115% at 64% 44%,
      transparent 0px,
      transparent 26px,
      rgba(111, 231, 198, 0.10) 27px,
      rgba(111, 231, 198, 0.05) 29px,
      transparent 30px
    ),
    /* Secondary set — wider spacing, offset center */
    repeating-radial-gradient(
      ellipse 115% 88% at 58% 52%,
      transparent 0px,
      transparent 42px,
      rgba(162, 240, 214, 0.07) 43px,
      rgba(162, 240, 214, 0.03) 45px,
      transparent 46px
    ),
    /* Tertiary — very subtle, large scale */
    repeating-radial-gradient(
      ellipse 105% 100% at 55% 56%,
      transparent 0px,
      transparent 68px,
      rgba(109, 236, 196, 0.05) 69px,
      rgba(109, 236, 196, 0.02) 71px,
      transparent 72px
    );
  /* Fade rings out over the text area, full over the image */
  -webkit-mask-image: linear-gradient(to right, transparent 2%, rgba(0,0,0,0.2) 25%, rgba(0,0,0,0.7) 50%, black 70%);
  mask-image: linear-gradient(to right, transparent 2%, rgba(0,0,0,0.2) 25%, rgba(0,0,0,0.7) 50%, black 70%);
}

@keyframes ring-breathe {
  0%, 100% { opacity: var(--ring-op-lo); }
  50%      { opacity: var(--ring-op-hi); }
}

.v2-svc-filter-defs {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
  pointer-events: none;
}

.v2-svc-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.38fr) minmax(0, 0.62fr);
  gap: clamp(0.5rem, 1vw, 0.75rem);
  align-items: center;
  min-height: clamp(24rem, 48vh, 34rem);
  position: relative;
  z-index: 1;
}

.v2-svc-copy {
  max-width: none;
  padding: clamp(3.5rem, 7vw, 5.5rem) 0 clamp(3rem, 6vw, 5rem);
}

.v2-svc-media {
  --_bleed-r: calc(var(--spacing) + max(0px, (100vw - var(--max-width)) / 2));
  position: relative;
  width: calc(100% + var(--_bleed-r));
  margin: 0;
  align-self: stretch;
  overflow: hidden;
  border: none;
  border-left: 1px solid rgba(111, 231, 198, 0.14);
  background: rgba(13, 34, 29, 0.22);
  box-shadow: -1rem 0 3rem rgba(2, 12, 10, 0.28);
}

.v2-svc-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(8, 19, 17, 0.08), rgba(8, 19, 17, 0.26)),
    linear-gradient(135deg, rgba(111, 231, 198, 0.12), rgba(111, 231, 198, 0));
  pointer-events: none;
}

.v2-svc-media picture {
  display: block;
  width: 100%;
  height: 100%;
}

.v2-svc-media img {
  display: block;
  width: calc(100% + 40px);
  height: calc(100% + 40px);
  margin: -20px;
  object-fit: cover;
  object-position: 50% 50%;
  filter: url(#svc-img-turb) saturate(0.88) contrast(1.02) brightness(0.93);
}

/* @property — Chrome/Edge only; Firefox/Safari ignore these and fall back to initial-value */
@property --sl-b {
  syntax: '<length>';
  inherits: true;
  initial-value: 0px;
}

@property --sl-d {
  syntax: '<length>';
  inherits: true;
  initial-value: 1px;
}

.v2-shimmer-word {
  color: #ffffff;
  --sl-b: 0px;
  --sl-d: 1px;
  transition: --sl-b 0.6s ease-in-out, --sl-d 0.6s ease-in-out;
}

.v2-shimmer-word.v2-sw-live {
  --sl-b: 1.3px;
  --sl-d: 1.5px;
}

.v2-sl {
  animation: v2-shimmer 6s ease-in-out infinite;
  animation-delay: calc(var(--i) * -0.67s);
  mix-blend-mode: screen;
}

@keyframes v2-shimmer {
  0%, 100% {
    text-shadow:
      calc(var(--sl-d) * -1)  0px                    var(--sl-b) rgb(255, 0,   80),
      var(--sl-d)              0px                    var(--sl-b) rgb(0,  220, 255),
      0px                     calc(var(--sl-d) * -1)  var(--sl-b) rgb(255, 230, 0),
      0px                     var(--sl-d)             var(--sl-b) rgb(80,  255, 140);
  }
  25% {
    text-shadow:
      calc(var(--sl-d) * -1)  calc(var(--sl-d) * -1)  var(--sl-b) rgb(255, 0,   200),
      var(--sl-d)              calc(var(--sl-d) * -1)  var(--sl-b) rgb(255, 160, 0),
      var(--sl-d)              var(--sl-d)             var(--sl-b) rgb(0,   255, 180),
      calc(var(--sl-d) * -1)  var(--sl-d)             var(--sl-b) rgb(120, 200, 255);
  }
  50% {
    text-shadow:
      var(--sl-d)              0px                    var(--sl-b) rgb(255, 80,  0),
      calc(var(--sl-d) * -1)  0px                    var(--sl-b) rgb(210, 80,  255),
      0px                     var(--sl-d)             var(--sl-b) rgb(0,   230, 255),
      0px                     calc(var(--sl-d) * -1)  var(--sl-b) rgb(255, 255, 0);
  }
  75% {
    text-shadow:
      var(--sl-d)              var(--sl-d)             var(--sl-b) rgb(255, 0,   150),
      calc(var(--sl-d) * -1)  var(--sl-d)             var(--sl-b) rgb(0,   255, 100),
      calc(var(--sl-d) * -1)  calc(var(--sl-d) * -1)  var(--sl-b) rgb(255, 200, 0),
      var(--sl-d)              calc(var(--sl-d) * -1)  var(--sl-b) rgb(80,  200, 255);
  }
}

@media (max-width: 900px) {
  .v2-hero--services {
    padding: clamp(3.5rem, 7vw, 5.5rem) 0 clamp(3rem, 6vw, 5rem);
  }

  .v2-svc-rings {
    /* On mobile, center the rings and use a radial fade instead */
    -webkit-mask-image: radial-gradient(ellipse 90% 80% at 50% 50%, black 20%, transparent 70%);
    mask-image: radial-gradient(ellipse 90% 80% at 50% 50%, black 20%, transparent 70%);
    opacity: 0.4;
  }

  .v2-svc-copy {
    padding: 0;
  }

  .v2-svc-layout {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    min-height: 0;
  }

  .v2-svc-media {
    --_bleed-r: 0px;
    align-self: auto;
    width: 100%;
    border: 1px solid rgba(111, 231, 198, 0.18);
    box-shadow: 0 1.5rem 4rem rgba(2, 12, 10, 0.34);
    max-width: min(100%, 28rem);
    justify-self: end;
    aspect-ratio: 16 / 10;
  }

  .v2-svc-media img {
    width: 100%;
    height: 100%;
  }
}

@media (max-width: 560px) {
  .v2-svc-media {
    max-width: none;
    justify-self: stretch;
    aspect-ratio: 6 / 5;
  }
}

/* ─────────────────────────────────
   Work v2
   "Editorial proof"
   ───────────────────────────────── */

.v2-hero--work {
  background: var(--bg-warm);
  padding: clamp(3.5rem, 7vw, 5rem) 0 clamp(2.5rem, 5vw, 4rem);
  border-bottom: 1px solid #e5e0d8;
}

.v2-hero--work .eyebrow {
  text-align: left;
  color: var(--text-color);
}

.v2-work-h1 {
  font-family: var(--font-display);
  font-size: clamp(3.2rem, 8.5vw, 7.2rem);
  line-height: 0.92;
  letter-spacing: -0.04em;
  color: var(--text-color);
  margin-top: 1rem;
  font-weight: 700;
  text-align: right;
}

.v2-work-rule {
  border: none;
  border-top: 1.5px solid #c8c0b4;
  margin: 1.8rem auto 1.4rem;
  width: clamp(120px, 30%, 260px);
}

.v2-work-typewriter-line {
  font-family: 'Fragment Mono', monospace;
  font-size: 0.88rem;
  letter-spacing: 0.04em;
  color: var(--text-muted);
  min-height: 1.6em;
  text-align: center;
}

.v2-typewriter {
  color: var(--text-color);
}

.v2-typewriter::after {
  content: '';
  display: inline-block;
  width: 1.5px;
  height: 0.85em;
  background: currentColor;
  vertical-align: -0.05em;
  margin-left: 2px;
  opacity: 1;
}

.v2-typewriter.tw-blink::after {
  animation: v2-blink 0.62s step-end infinite;
}

@keyframes v2-blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

/* ── Credentials Bridge ─────────────────────────── */

.work-credentials {
  background: var(--ink-900, #0f1b2d);
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 420px;
}

.work-credentials__inner {
  max-width: var(--max-width, 1200px);
  margin: 0 auto;
  padding: 1.5rem 2rem;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 2.4fr;
  gap: 0 4rem;
  align-items: center;
}

.work-credentials__left {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
}

.work-credentials__right {
  position: relative;
  z-index: 4;
  transition: transform 0.65s cubic-bezier(0.16, 1, 0.3, 1);
}

.work-credentials__inner:has(.work-credentials__orb.is-open) .work-credentials__right {
  transform: translateX(20px);
}

.work-credentials__eyebrow {
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--accent, #f97316);
}

.work-credentials__rule {
  width: 1px;
  height: 3rem;
  background: rgba(249, 115, 22, 0.3);
}

.work-credentials__body {
  font-family: "Avenir Next", "Avenir", "Segoe UI", sans-serif;
  font-size: clamp(1.1rem, 1.5vw, 1.3rem);
  font-weight: 300;
  line-height: 1.72;
  color: rgba(199, 211, 230, 0.88);
  margin: 0;
  max-width: 58ch;
}

/* Animatable hole radius for orb ring effect */
@property --hole-r {
  syntax: '<percentage>';
  inherits: false;
  initial-value: 0%;
}

.work-credentials__orb {
  position: relative;
  width: 330px;
  height: 270px;
  flex-shrink: 0;
  cursor: pointer;
}

.orb-disc {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 165px;
  height: 165px;
  border-radius: 50%;
  overflow: hidden;
  transform-origin: center center;
  /* True transparent hole via mask — lets rings behind show through */
  -webkit-mask-image: radial-gradient(
    transparent var(--hole-r),
    black var(--hole-r)
  );
  mask-image: radial-gradient(
    transparent var(--hole-r),
    black var(--hole-r)
  );
  transition:
    transform 0.65s cubic-bezier(0.16, 1, 0.3, 1),
    --hole-r 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.orb-disc img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
  user-select: none;
}

/* Resting: concentric nested discs via scale, no hole */
.orb-disc--a { transform: translate(-50%, -50%) scale(1.45); z-index: 1; }
.orb-disc--b { transform: translate(-50%, -50%) scale(0.97); z-index: 2; }
.orb-disc--c { transform: translate(-50%, -50%) scale(0.55); z-index: 3; }

/* Open: centered in section via JS-computed --center-dy / --center-dx */
.work-credentials__orb.is-open .orb-disc--a {
  transform: translate(calc(-50% - 88px + var(--center-dx, 0px)), calc(-50% + var(--center-dy, 0px))) scale(2.0);
  --hole-r: 53%;
  z-index: 3;
}
.work-credentials__orb.is-open .orb-disc--b {
  transform: translate(calc(-50% + var(--center-dx, 0px)), calc(-50% + var(--center-dy, 0px))) scale(2.0);
  --hole-r: 53%;
  z-index: 2;
}
.work-credentials__orb.is-open .orb-disc--c {
  transform: translate(calc(-50% + 88px + var(--center-dx, 0px)), calc(-50% + var(--center-dy, 0px))) scale(2.0);
  --hole-r: 53%;
  z-index: 1;
}

/* Hover rule: appears directly below the body text */
.work-credentials__hover-rule {
  display: block;
  width: 0;
  height: 2px;
  background: #7f8f97;
  background: oklch(64% 0.022 230);
  border: none;
  border-radius: 1px;
  margin-top: 1.1rem;
  /* Close: shrink immediately */
  transition: width 0.25s cubic-bezier(0.4, 0, 0.6, 1) 0s;
}
.work-credentials:has(.work-credentials__orb.is-open) .work-credentials__hover-rule {
  width: min(80%, calc(58ch * 0.8));
  /* Open: grow after section mostly expanded */
  transition: width 0.55s cubic-bezier(0.16, 1, 0.3, 1) 0.42s;
}

@keyframes cred-in {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: translateY(0); }
}

.work-credentials__eyebrow,
.work-credentials__rule,
.work-credentials__orb,
.work-credentials__body {
  opacity: 0;
}

.work-credentials.is-visible .work-credentials__eyebrow,
.work-credentials.is-visible .work-credentials__rule,
.work-credentials.is-visible .work-credentials__orb,
.work-credentials.is-visible .work-credentials__body {
  animation: cred-in 0.7s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.work-credentials.is-visible .work-credentials__eyebrow { animation-delay: 0.05s; }
.work-credentials.is-visible .work-credentials__rule    { animation-delay: 0.15s; }
.work-credentials.is-visible .work-credentials__orb     { animation-delay: 0.2s; }
.work-credentials.is-visible .work-credentials__body    { animation-delay: 0.28s; }

@media (max-width: 700px) {
  .work-credentials {
    min-height: 0;
  }

  .work-credentials__inner {
    grid-template-columns: 1fr;
    gap: 1.5rem 0;
    padding: 2.2rem 1.25rem 2.8rem;
  }

  .work-credentials__hover-rule {
    display: none;
  }

  /* Mobile: single disc only */
  .work-credentials__orb {
    width: 80px;
    height: 80px;
    pointer-events: none;
  }
  .orb-disc--a,
  .orb-disc--b { display: none; }
  .orb-disc--c {
    width: 80px;
    height: 80px;
    transform: translate(-50%, -50%) scale(1.0);
  }
}

/* ── Work Disclosure ── */

.work-disclosure {
  background: var(--bg-warm);
  padding: 0.65rem 2rem;
  text-align: center;
}

.work-disclosure-text {
  font-family: 'Fragment Mono', monospace;
  font-size: 0.72rem;
  color: var(--text-color);
  letter-spacing: 0.02em;
  line-height: 1;
  margin: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

@media (max-width: 600px) {
  .work-disclosure-text {
    white-space: normal;
    line-height: 1.5;
  }
}

/* ─────────────────────────────────
   Process v2
   "Methodical precision — dot grid"
   ───────────────────────────────── */

.v2-hero--process {
  background: linear-gradient(180deg, #0a0a0a 0%, #131313 55%, #1a1a1a 100%);
  padding: clamp(3.5rem, 7vw, 5.5rem) 0 clamp(3rem, 6vw, 5rem);
  position: relative;
}

/* Pill variant — enable via features.processHeroPill */
.v2-hero--process--pill {
  overflow: hidden;
  border-radius: 9999px;
  padding-left: clamp(3rem, 6vw, 5rem);
  padding-right: clamp(3rem, 6vw, 5rem);
}

.v2-hero--process--pill .container {
  padding: 0;
  max-width: 100%;
}

.v2-hero--process::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 28px 28px;
  pointer-events: none;
  z-index: 0;
}

.v2-prc-layout {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2.5rem;
  text-align: center;
  position: relative;
  z-index: 1;
}

.v2-prc-copy {
  position: relative;
  padding-left: 0;
  max-width: 620px;
}

.v2-prc-accent-line {
  display: none;
}

.v2-hero--process .v2-eyebrow--gold {
  color: #777;
}

.v2-prc-toc {
  list-style: none;
  display: flex;
  flex-direction: row;
  gap: 0;
  padding: 1.4rem 0 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-left: none;
  padding-left: 0;
  min-width: unset;
  width: 100%;
  max-width: 520px;
  justify-content: center;
}

.v2-prc-toc li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0 1.1rem;
  border-bottom: none;
  border-right: 1px solid rgba(255, 255, 255, 0.09);
  font-family: 'Fragment Mono', monospace;
  font-size: 0.72rem;
  color: rgba(248, 250, 252, 0.26);
  letter-spacing: 0.04em;
  white-space: nowrap;
  transition: color 0.85s ease;
}

.v2-prc-toc li:last-child {
  border-right: none;
}

.v2-prc-toc li:hover,
.v2-prc-toc li.wave-active {
  color: rgba(248, 250, 252, 0.65);
}

.v2-prc-toc-num {
  color: #555;
  transition: color 0.85s ease;
}

/* Numeral fruit-loop colors — per item, on hover or wave phase 1 */
.v2-prc-toc li:nth-child(1):hover .v2-prc-toc-num,
.v2-prc-toc li:nth-child(1).wave-num .v2-prc-toc-num { color: #fca5a5; }

.v2-prc-toc li:nth-child(2):hover .v2-prc-toc-num,
.v2-prc-toc li:nth-child(2).wave-num .v2-prc-toc-num { color: #a7f3d0; }

.v2-prc-toc li:nth-child(3):hover .v2-prc-toc-num,
.v2-prc-toc li:nth-child(3).wave-num .v2-prc-toc-num { color: #bfdbfe; }

.v2-prc-toc li:nth-child(4):hover .v2-prc-toc-num,
.v2-prc-toc li:nth-child(4).wave-num .v2-prc-toc-num { color: #fef08a; }

.v2-prc-toc li:nth-child(5):hover .v2-prc-toc-num,
.v2-prc-toc li:nth-child(5).wave-num .v2-prc-toc-num { color: #fdba74; }

@media (max-width: 700px) {
  .v2-prc-toc {
    flex-direction: column;
    max-width: none;
    justify-content: flex-start;
  }
  .v2-prc-toc li {
    padding: 0.5rem 0;
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.09);
  }
  .v2-prc-toc li:last-child {
    border-bottom: none;
  }

  /* On mobile, numeral and text light up together (vertical flow = one unit) */
  /* wave-num already lights the numeral; also brighten the text immediately */
  .v2-prc-toc li.wave-num { color: rgba(248, 250, 252, 0.65); }

  /* Keep numeral fruit-loop color during wave-active so both fade in sync */
  .v2-prc-toc li:nth-child(1):hover .v2-prc-toc-num,
  .v2-prc-toc li:nth-child(1).wave-num .v2-prc-toc-num,
  .v2-prc-toc li:nth-child(1).wave-active .v2-prc-toc-num { color: #fca5a5; }

  .v2-prc-toc li:nth-child(2):hover .v2-prc-toc-num,
  .v2-prc-toc li:nth-child(2).wave-num .v2-prc-toc-num,
  .v2-prc-toc li:nth-child(2).wave-active .v2-prc-toc-num { color: #a7f3d0; }

  .v2-prc-toc li:nth-child(3):hover .v2-prc-toc-num,
  .v2-prc-toc li:nth-child(3).wave-num .v2-prc-toc-num,
  .v2-prc-toc li:nth-child(3).wave-active .v2-prc-toc-num { color: #bfdbfe; }

  .v2-prc-toc li:nth-child(4):hover .v2-prc-toc-num,
  .v2-prc-toc li:nth-child(4).wave-num .v2-prc-toc-num,
  .v2-prc-toc li:nth-child(4).wave-active .v2-prc-toc-num { color: #fef08a; }

  .v2-prc-toc li:nth-child(5):hover .v2-prc-toc-num,
  .v2-prc-toc li:nth-child(5).wave-num .v2-prc-toc-num,
  .v2-prc-toc li:nth-child(5).wave-active .v2-prc-toc-num { color: #fdba74; }
}

/* ── Process page — chapter opener ── */
.prc-chapter-opener {
  position: relative;
  width: 100%;
  height: 46vh;
  overflow: hidden;
}

.prc-chapter-opener picture {
  display: block;
  width: 100%;
  height: 100%;
}

.prc-chapter-opener img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
  display: block;
}


/* ── Process page — grayscale overrides ── */

/* "DELIVERABLES" label — passes WCAG AA 4.5:1 on white (~5.1:1) */
.prc-steps-section .eyebrow {
  color: #6e6e6e;
}

/* Deliverable list items — darker confident gray, distinct from label above */
.prc-step-dlist li {
  color: #555;
}

.prc-cta.svc-cta-section {
  background: #0d0d0d;
}

.prc-cta .eyebrow {
  color: rgba(255, 255, 255, 0.5); /* passes WCAG AA 4.5:1 on #0d0d0d (~5.3:1) */
}

.prc-cta .svc-cta-heading {
  color: #ffffff;
}

.prc-cta .svc-cta-sub {
  color: rgba(255, 255, 255, 0.55);
}

.prc-cta .btn:not(.btn-ghost) {
  background: linear-gradient(to right, #0d0d0d 50%, #ffffff 50%);
  background-size: 200% 100%;
  background-position: 100% 0;
  color: #0d0d0d;
}

.prc-cta .btn:not(.btn-ghost):hover {
  background-position: 0% 0;
  color: #f8fafc;
  box-shadow: none;
}

.prc-cta .btn-ghost {
  background: linear-gradient(to bottom, transparent 50%, rgba(255, 255, 255, 0.45) 50%);
  background-size: 100% 201%;
  background-position: 0% 0;
  background-clip: padding-box;
  color: rgba(255, 255, 255, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition:
    background-position 420ms cubic-bezier(0.22, 1, 0.36, 1),
    color 420ms cubic-bezier(0.22, 1, 0.36, 1),
    border-color 0.2s ease;
}

.prc-cta .btn-ghost:hover {
  background-position: 0% 100%;
  color: #0d0d0d;
  border-color: transparent;
}

/* Step numerals — engraved gradient, dark crown to silver base */
.prc-step-num {
  color: #909090;
  background: linear-gradient(170deg, #1c1c1c 0%, #909090 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Deliverable dashes — cool silver, snap to near-black on hover */
.prc-step-dlist li::before {
  background: #c8c8c8;
}

.prc-step-dlist li:hover {
  color: #111;
}

.prc-step-dlist li:hover::before {
  background: #1a1a1a;
}

/* ── Process page — Placement 2: Left-column photo inserts ── */
/* A horizontal strip — contact-print proportions, no frame.
   Echoes the chapter opener. Evidence, not decoration.         */

.prc-step-photo {
  width: 100%;
  height: 180px;
  overflow: hidden;
  margin-top: 1.75rem;
}

.prc-step-photo picture {
  display: block;
  width: 100%;
  height: 100%;
}

.prc-step-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.prc-step-photo--build img {
  object-position: center 20%;
}

@media (max-width: 860px) {
  .prc-step:has(.prc-step-photo) .prc-step-left {
    flex-wrap: wrap;
    align-items: flex-start;
  }

  .prc-step:has(.prc-step-photo) .prc-step-num,
  .prc-step:has(.prc-step-photo) .prc-step-name {
    order: 1;
  }

  .prc-step-photo {
    order: 0;
    height: 40vw;
    max-height: 240px;
    flex: 1 1 100%;
    margin-top: 0;
  }
}

/* ── Process page — Placement 3: Mid-scroll editorial break ── */
/* Full-bleed photo, manifesto text anchored bottom-left.
   The text has a home in the frame — not floating, landed.     */

.prc-editorial-break {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  border-bottom: none;
  padding: 0;
  list-style: none;
}

.prc-editorial-inner {
  position: relative;
  height: 65vh;
  overflow: hidden;
}

.prc-editorial-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center top;
}

.prc-editorial-quote {
  position: absolute;
  z-index: 1;
  bottom: clamp(2.5rem, 5vw, 4.5rem);
  left: clamp(2rem, 8vw, 9rem);
  max-width: 18ch;
  margin: 0;
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(2.5rem, 5vw, 5rem);
  letter-spacing: -0.04em;
  line-height: 1.1;
  text-align: left;
  color: rgba(255, 255, 255, 0.18);
  pointer-events: none;
}

/* ── Process page — Placement 4: CTA split ── */
/* 55/45 — text is dominant, photo is environmental.
   Hard edge between columns. No fade. Consistent with the
   chapter opener's established language.                       */

.prc-cta.section {
  padding: 0;
}

.prc-cta-split {
  display: grid;
  grid-template-columns: 55fr 45fr;
}

.prc-cta-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(3.5rem, 6vw, 6rem) clamp(2rem, 6vw, 6rem);
}

.prc-cta-text-inner {
  max-width: 520px;
}

.prc-cta-photo {
  position: relative;
  overflow: hidden;
}

.prc-cta-photo picture {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
}

.prc-cta-photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: right center;
}

@media (max-width: 860px) {
  .prc-cta-split {
    grid-template-columns: 1fr;
  }

  .prc-cta-photo {
    height: 45vw;
  }
}

/* Dark zone dots — single continuous grid across bridge + CTA.
   Enable via features.processCtaDots → adds prc-dark-zone--dots to wrapper.
   One ::before on the wrapper = one background-position origin = no seam. */

.prc-dark-zone--dots {
  position: relative;
  isolation: isolate;
}

.prc-dark-zone--dots::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(255, 255, 255, 0.1) 1px, transparent 1px);
  background-size: 28px 28px;
  pointer-events: none;
  z-index: 0;
  animation: dots-drift 8s linear infinite;
}

@keyframes dots-drift {
  from { background-position: 0 0; }
  to   { background-position: 28px 28px; }
}

@media (prefers-reduced-motion: reduce) {
  .prc-dark-zone--dots::before {
    animation: none;
  }
}

/* Lift content above the dot layer */
.prc-dark-zone--dots .prc-bridge-inner,
.prc-dark-zone--dots .prc-cta-split {
  position: relative;
  z-index: 1;
}

/* Bridge — breathing room between band and CTA, same solid floor */
.prc-bridge {
  background: #0d0d0d;
  padding: clamp(3rem, 5vw, 4.5rem) 0;
  display: flex;
  justify-content: center;
}

.prc-bridge-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
}

.prc-bridge-rule {
  width: 2.5rem;
  border: none;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  margin: 0;
}

.prc-bridge-close {
  font-size: 0.95rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.45);
  text-align: center;
  max-width: 44ch;
}

/* Facts strip dark override removed — section now lives in the light world. */

/* ── Process page — header grayscale ── */
body.prc-chrome-gray .site-header {
  background: rgba(10, 10, 10, 0.88);
  border-bottom-color: rgba(255, 255, 255, 0.07);
}

body.prc-chrome-gray .logo {
  color: #e0e0e0;
}

body.prc-chrome-gray .logo:hover {
  color: #ffffff;
}

body.prc-chrome-gray .logo-mark {
  color: #e0e0e0;
}

body.prc-chrome-gray .nav-menu a {
  color: rgba(255, 255, 255, 0.55);
}

body.prc-chrome-gray .nav-menu a:hover,
body.prc-chrome-gray .nav-menu a.active {
  color: #ffffff;
}

body.prc-chrome-gray .nav-cta {
  background: linear-gradient(to right, #ffffff 50%, #1c1c1c 50%);
  background-size: 201% 100%;
  background-position: 100% 0;
  background-clip: padding-box;
  color: #e8e8e8;
}

body.prc-chrome-gray .nav-cta:hover {
  background-position: 0% 0;
  color: #0d0d0d;
}

body.prc-chrome-gray .mobile-menu-toggle span {
  background: rgba(255, 255, 255, 0.75);
}

/* ── Process page — footer grayscale ── */
body.prc-chrome-gray footer {
  padding-top: clamp(5rem, 8vw, 7rem);
  background:
    radial-gradient(ellipse at 50% 55%, rgba(255, 255, 255, 0.035) 0%, transparent 65%),
    linear-gradient(to bottom, #0d0d0d 0%, #111111 55%, #1a1a1a 100%);
}

body.prc-chrome-gray .footer-section p,
body.prc-chrome-gray .footer-section a {
  color: rgba(255, 255, 255, 0.45);
}

body.prc-chrome-gray .footer-section a:hover {
  color: #ffffff;
}

body.prc-chrome-gray .footer-bottom {
  color: rgba(255, 255, 255, 0.25);
  border-top-color: rgba(255, 255, 255, 0.08);
}

/* ===================================
   Services page — emerald palette overrides
   =================================== */

body.page-services {
  --accent: #16a67f;
  --accent-hover: #128466;
  --accent-strong: #0c6c54;
  --accent-soft: #c9f4e6;
  --accent-bg: #eefbf6;
  --border-soft: rgba(22, 166, 127, 0.22);
}

body.page-services .nav-menu a:hover,
body.page-services .nav-menu a.active {
  color: #0f766e;
}

body.page-services .nav-cta {
  background: linear-gradient(to right, #071713 50%, #16a67f 50%);
  background-size: 200% 100%;
  background-position: 100% 0;
  box-shadow: inset 0 0 0 1px rgba(137, 231, 204, 0.14);
}

body.page-services .nav-cta:hover {
  background-position: 0% 0;
  box-shadow: 0 10px 20px rgba(5, 28, 22, 0.26);
}

body.page-services .svc-cta-section {
  background:
    radial-gradient(circle at 86% 20%, rgba(112, 217, 184, 0.2) 0%, rgba(112, 217, 184, 0) 32%),
    linear-gradient(160deg, #ffffff 0%, #f2fbf7 58%, #e8f8f0 100%);
}

body.page-services .svc-cta-inner::before {
  background: #16a67f;
  box-shadow:
    14px 0 0 #68d5b0,
    28px 0 0 #0f766e,
    42px 0 0 #0a4f43;
}

body.page-services .svc-cta-section .eyebrow {
  color: #0f766e;
}

body.page-services .svc-cta-section .btn:not(.btn-ghost) {
  background: linear-gradient(to right, #0a1814 50%, #16a67f 50%);
  background-size: 200% 100%;
  background-position: 100% 0;
  color: #ffffff;
  box-shadow: 0 12px 24px rgba(18, 68, 55, 0.12);
}

body.page-services .svc-cta-section .btn:not(.btn-ghost):hover {
  background-position: 0% 0;
  color: #ffffff;
  box-shadow: 0 16px 28px rgba(8, 36, 29, 0.22);
}

body.page-services footer {
  padding-top: clamp(4rem, 7vw, 5.6rem);
  background:
    radial-gradient(circle at 14% 18%, rgba(104, 213, 176, 0.14) 0%, rgba(104, 213, 176, 0) 26%),
    radial-gradient(circle at 78% 22%, rgba(22, 166, 127, 0.12) 0%, rgba(22, 166, 127, 0) 30%),
    linear-gradient(136deg, #071310 0%, #0d211c 54%, #13332b 100%);
  color: rgba(185, 232, 217, 0.66);
}

body.page-services .footer-section h3,
body.page-services .footer-section h4 {
  color: #e7fff7;
}

body.page-services .footer-section p,
body.page-services .footer-section a {
  color: rgba(185, 232, 217, 0.66);
}

body.page-services .footer-section a:hover {
  color: #79e2be;
}

body.page-services .footer-bottom {
  border-top-color: rgba(121, 226, 190, 0.14);
  color: rgba(185, 232, 217, 0.42);
}

/* ── Card shadow scroll-in reveal (piggybacks on .is-visible from initReveal) ── */
.service-card.is-visible,
.proof-card.is-visible,
.step-card.is-visible,
.deliverable-item.is-visible {
  box-shadow: var(--shadow-card);
}

.service-grid .service-card.is-visible:hover,
.proof-card.is-visible:hover,
.step-card.is-visible:hover,
.deliverable-item.is-visible:hover {
  box-shadow: var(--shadow-card-hover);
}

@media (prefers-reduced-motion: reduce) {
  .service-card,
  .proof-card,
  .step-card,
  .deliverable-item {
    box-shadow: var(--shadow-card);
    transition: none;
  }
}
