/* Chelsea Collective — design tokens & base */

:root {
  /* Palette — warm cream (default, very pale near-white) */
  --bg: #FAF8F3;
  --bg-deep: #FAF8F3;
  --fg: #1a1a1a;
  --fg-soft: #4a4744;
  --fg-mute: #7a756d;
  --rule: rgba(26, 26, 26, 0.18);
  --rule-soft: rgba(26, 26, 26, 0.09);
  --accent: #6b5a3e;
  --accent-soft: #9c8b6b;

  /* Type */
  --serif: "Cormorant Garamond", "Newsreader", Georgia, serif;
  --serif-italic: "Cormorant Garamond", "Newsreader", Georgia, serif;
  --sans: "Geist", "Inter Tight", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  --mono: "JetBrains Mono", "IBM Plex Mono", ui-monospace, "SF Mono", Menlo, monospace;

  /* Metrics */
  --maxw: 1440px;
  --gutter: clamp(24px, 4vw, 64px);
  --section-y: clamp(96px, 12vw, 200px);
}

[data-palette="warm-dark"] {
  --bg: #0e0e0d;
  --bg-deep: #1a1a18;
  --fg: #f1ece1;
  --fg-soft: #c9c1b0;
  --fg-mute: #8a8377;
  --rule: rgba(241, 236, 225, 0.18);
  --rule-soft: rgba(241, 236, 225, 0.08);
  --accent: #c9a978;
  --accent-soft: #9c8b6b;
}

[data-palette="cool-grey"] {
  --bg: #E8E6E1;
  --bg-deep: #DAD7D1;
  --fg: #2a2a28;
  --fg-soft: #55524d;
  --fg-mute: #8a8580;
  --rule: rgba(42, 42, 40, 0.14);
  --rule-soft: rgba(42, 42, 40, 0.07);
  --accent: #55524d;
  --accent-soft: #8a8580;
}

[data-palette="ink"] {
  --bg: #F5F3EE;
  --bg-deep: #E8E5DC;
  --fg: #1a2a3a;
  --fg-soft: #3d4a59;
  --fg-mute: #7a8290;
  --rule: rgba(26, 42, 58, 0.16);
  --rule-soft: rgba(26, 42, 58, 0.08);
  --accent: #3a5a4a;
  --accent-soft: #6f8a7c;
}

/* Type pairings */
[data-typepair="serif-display"] {
  --serif: "Cormorant Garamond", "Newsreader", Georgia, serif;
  --sans: "Geist", -apple-system, system-ui, sans-serif;
}
[data-typepair="literary"] {
  --serif: "Cormorant Garamond", "Source Serif 4", Georgia, serif;
  --sans: "Cormorant Garamond", Georgia, serif;
}
[data-typepair="mono-serif"] {
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "JetBrains Mono", ui-monospace, monospace;
}
[data-typepair="sans-display"] {
  --serif: "Geist", system-ui, sans-serif;
  --sans: "Geist", system-ui, sans-serif;
}

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

html {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--sans);
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--sans);
  font-feature-settings: "ss01", "ss02", "cv01";
  line-height: 1.5;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
  transition: opacity 180ms ease, color 180ms ease;
}
a:hover { opacity: 0.6; }

button { font-family: inherit; cursor: pointer; }

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

/* ——— Typography utilities ——— */

.eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--fg-mute);
  font-weight: 400;
}

.label-mono {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--fg);
}

.section-num {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--fg-mute);
}

.display {
  font-family: var(--serif);
  font-weight: 300;
  font-style: italic;
  font-size: clamp(40px, 6.8vw, 104px);
  line-height: 0.98;
  letter-spacing: -0.025em;
  text-wrap: balance;
}

.display-mid {
  font-family: var(--serif);
  font-weight: 300;
  font-style: italic;
  font-size: clamp(32px, 4.6vw, 72px);
  line-height: 1.02;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

.lede {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(22px, 2.4vw, 32px);
  line-height: 1.28;
  letter-spacing: -0.005em;
  text-wrap: pretty;
}

.body-lg {
  font-size: clamp(16px, 1.1vw, 18px);
  line-height: 1.55;
  color: var(--fg-soft);
  text-wrap: pretty;
}

/* ——— Layout ——— */

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

main { display: block; }

section { position: relative; }

.section-pad { padding: var(--section-y) 0; }
.section-pad-sm { padding: clamp(56px, 8vw, 128px) 0; }

.rule-top { border-top: 1px solid var(--rule); }
.rule-bot { border-bottom: 1px solid var(--rule); }

/* ——— Nav (top variant) ——— */

.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  padding: 28px var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  color: #f1ece1;
  pointer-events: none;
}
.nav > * { pointer-events: auto; }

.nav.solid {
  color: var(--fg);
  background: color-mix(in srgb, var(--bg) 92%, transparent);
  backdrop-filter: blur(10px) saturate(1.05);
  -webkit-backdrop-filter: blur(10px) saturate(1.05);
  border-bottom: 1px solid var(--rule-soft);
  transition: background 200ms ease, color 200ms ease;
}

.nav .wordmark {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(20px, 1.8vw, 26px);
  letter-spacing: -0.005em;
  line-height: 1;
}

.nav .links {
  display: flex;
  align-items: center;
  gap: clamp(28px, 3.4vw, 56px);
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
}

.nav .links a,
.nav .links .link-btn {
  position: relative;
  padding: 6px 0;
  font-family: inherit;
  font-size: inherit;
  font-weight: inherit;
  color: inherit;
  background: transparent;
  border: none;
  cursor: pointer;
  transition: opacity 180ms ease;
}
.nav .links a:hover,
.nav .links .link-btn:hover { opacity: 0.6; }

.nav .links a.active::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 1px;
  background: currentColor;
}

@media (max-width: 720px) {
  .nav .links { gap: 20px; }
  .nav .wordmark { font-size: 18px; }
  .nav .links a, .nav .links .link-btn { font-size: 13px; }
}

/* Side nav variant */
[data-navstyle="side"] .nav {
  position: fixed;
  top: 0; bottom: 0; left: 0;
  right: auto;
  width: 220px;
  padding: 36px 28px;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 48px;
  mix-blend-mode: normal;
  color: var(--fg);
  background: var(--bg-deep);
  border-right: 1px solid var(--rule);
}
[data-navstyle="side"] .nav .links {
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
}
[data-navstyle="side"] main {
  padding-left: 220px;
}
[data-navstyle="side"] .nav.solid { background: var(--bg-deep); }

@media (max-width: 900px) {
  [data-navstyle="side"] .nav {
    position: fixed;
    inset: auto 0 0 0;
    width: 100%;
    height: auto;
    flex-direction: row;
    padding: 14px var(--gutter);
    gap: 16px;
    border-right: none;
    border-top: 1px solid var(--rule);
  }
  [data-navstyle="side"] main { padding-left: 0; }
}

/* ——— Hero ——— */

.hero {
  position: relative;
  height: 100svh;
  min-height: 720px;
  overflow: hidden;
  background: #0a0a0a;
  color: #f1ece1;
}

.hero .video {
  position: absolute;
  inset: 0;
  z-index: 1;
}
.hero .video > video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero .video::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0.15) 55%, rgba(0,0,0,0.35) 100%),
    linear-gradient(180deg, rgba(0,0,0,0.45) 0%, rgba(0,0,0,0) 30%, rgba(0,0,0,0) 70%, rgba(0,0,0,0.55) 100%);
  z-index: 2;
  pointer-events: none;
}

.hero .content {
  position: absolute;
  z-index: 3;
  inset: 0;
  padding: clamp(96px, 12vh, 140px) var(--gutter) clamp(48px, 6vw, 80px);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: clamp(28px, 4vw, 48px);
}

.hero-main {
  display: grid;
  grid-template-columns: 2.3fr 1fr;
  gap: 0 clamp(40px, 6vw, 96px);
  align-items: end;
}

.hero-main .left {
  display: flex;
  flex-direction: column;
  gap: clamp(20px, 2.4vw, 32px);
}

.hero .overline {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.hero .overline .label {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: rgba(241, 236, 225, 0.6);
}
.hero .overline .rule {
  width: clamp(260px, 30vw, 440px);
  height: 1px;
  background: rgba(180, 195, 215, 0.55);
}

.hero h1 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 400;
  font-style: normal;
  font-size: clamp(40px, 5.8vw, 84px);
  line-height: 1.04;
  letter-spacing: -0.015em;
  color: #f1ece1;
  text-wrap: pretty;
}
.hero h1 em {
  font-style: italic;
  font-weight: 400;
}

.hero .sub {
  font-family: var(--sans);
  font-size: clamp(14px, 1.05vw, 17px);
  line-height: 1.6;
  color: rgba(241, 236, 225, 0.82);
  max-width: 44ch;
  text-wrap: pretty;
}

.hero-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
}

.hero .scrollcue {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(241, 236, 225, 0.6);
}

.hero .scrollcue .line {
  width: 56px;
  height: 1px;
  background: currentColor;
  position: relative;
  overflow: hidden;
}
.hero .scrollcue .line::before {
  content: "";
  position: absolute;
  inset: 0;
  background: #f1ece1;
  transform: translateX(-100%);
  animation: scrollcue 2.6s ease-in-out infinite;
}
@keyframes scrollcue {
  0% { transform: translateX(-100%); }
  60% { transform: translateX(100%); }
  100% { transform: translateX(100%); }
}

@media (max-width: 900px) {
  .hero-main { grid-template-columns: 1fr; gap: 24px; }
  .hero h1 { font-size: clamp(36px, 8vw, 56px); }
}

/* Video placeholder scenes */
.scene {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

/* Skyline scene */
.scene-skyline {
  background:
    linear-gradient(180deg,
      #1a2030 0%,
      #2d3548 18%,
      #4b4d5a 38%,
      #7a6e63 56%,
      #a9967e 72%,
      #c9a978 88%,
      #d4b585 100%);
}
.scene-skyline .clouds {
  position: absolute;
  inset: 0 -10% 30% -10%;
  background:
    radial-gradient(80% 40% at 30% 35%, rgba(255,240,220,0.25), transparent 70%),
    radial-gradient(60% 30% at 70% 50%, rgba(220,200,180,0.18), transparent 70%),
    radial-gradient(40% 20% at 20% 60%, rgba(200,180,160,0.18), transparent 70%);
  filter: blur(10px);
  animation: drift 60s linear infinite;
}
@keyframes drift {
  0% { transform: translateX(-8%) translateY(0); }
  100% { transform: translateX(8%) translateY(-3%); }
}
.scene-skyline .skyline {
  position: absolute;
  inset: auto 0 0 0;
  height: 36%;
  background: linear-gradient(180deg, transparent, rgba(8, 8, 10, 0.55));
}
.scene-skyline .buildings {
  position: absolute;
  inset: auto 0 0 0;
  height: 38%;
  filter: drop-shadow(0 -8px 16px rgba(0,0,0,0.3));
}

/* Craft scene — dark interior with warm bokeh blur */
.scene-craft {
  background: #0a0807;
}
.scene-craft::before {
  content: "";
  position: absolute;
  inset: -10%;
  background:
    radial-gradient(70px 70px at 18% 32%, rgba(220, 200, 170, 0.18), transparent 70%),
    radial-gradient(110px 110px at 32% 58%, rgba(180, 150, 110, 0.22), transparent 65%),
    radial-gradient(90px 90px at 12% 76%, rgba(160, 130, 90, 0.16), transparent 70%),
    radial-gradient(60px 60px at 48% 22%, rgba(220, 200, 170, 0.10), transparent 70%),
    radial-gradient(140px 140px at 62% 70%, rgba(120, 95, 65, 0.20), transparent 65%),
    radial-gradient(50px 50px at 78% 32%, rgba(200, 175, 130, 0.10), transparent 70%);
  filter: blur(24px);
  animation: craft-drift 60s ease-in-out infinite alternate;
}
.scene-craft::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(50% 60% at 35% 60%, rgba(0,0,0,0) 0%, rgba(0,0,0,0.6) 100%);
}
@keyframes craft-drift {
  0% { transform: translate(-2%, 0) scale(1); }
  100% { transform: translate(2%, -1%) scale(1.04); }
}

/* Abstract scene */
.scene-abstract {
  background: linear-gradient(135deg, #1a1814, #3a342a 40%, #6b5a3e 100%);
}
.scene-abstract::before {
  content: "";
  position: absolute;
  inset: -20%;
  background:
    radial-gradient(40% 40% at 30% 30%, rgba(241, 236, 225, 0.2), transparent 70%),
    radial-gradient(40% 40% at 70% 70%, rgba(201, 169, 120, 0.25), transparent 70%);
  filter: blur(40px);
  animation: pan 24s ease-in-out infinite alternate;
}
@keyframes pan {
  0% { transform: translate(-2%, -2%) scale(1); }
  100% { transform: translate(2%, 2%) scale(1.08); }
}

/* Interior scene */
.scene-interior {
  background: linear-gradient(180deg, #d4cbb8 0%, #b5a78b 50%, #6b5a3e 100%);
}
.scene-interior::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0.3) 100%),
    repeating-linear-gradient(90deg, transparent 0 80px, rgba(0,0,0,0.06) 80px 82px);
}
.scene-interior::after {
  content: "";
  position: absolute;
  inset: 20% 30% 0 30%;
  background: linear-gradient(180deg, rgba(241, 236, 225, 0.4), rgba(241, 236, 225, 0.1) 60%, transparent);
  filter: blur(20px);
}

/* Hero video placeholder indicator (inline with meta row) */
.video-indicator {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(241, 236, 225, 0.6);
}
.video-indicator .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: #d4534f;
  box-shadow: 0 0 0 0 rgba(212, 83, 79, 0.6);
  animation: pulse 1.8s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(212, 83, 79, 0.6); }
  50% { box-shadow: 0 0 0 6px rgba(212, 83, 79, 0); }
}

/* ——— Intro section ——— */
.intro {
  padding-top: clamp(80px, 12vw, 180px);
  padding-bottom: clamp(60px, 8vw, 120px);
}
.intro-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: clamp(40px, 6vw, 120px);
  align-items: start;
}
.intro-grid .left { padding-top: 12px; }
@media (max-width: 880px) {
  .intro-grid { grid-template-columns: 1fr; gap: 40px; }
}

/* ——— The Gap (chart) ——— */
.gap-section { padding: clamp(80px, 10vw, 160px) 0; background: var(--bg-deep); }

.gap-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: clamp(40px, 6vw, 100px);
  align-items: start;
}
@media (max-width: 980px) {
  .gap-grid { grid-template-columns: 1fr; }
}

.chart-card {
  background: var(--bg);
  border: 1px solid var(--rule);
  padding: clamp(24px, 3vw, 40px);
  position: relative;
}
.chart-card .chart-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--rule);
  margin-bottom: 28px;
}

.chart {
  position: relative;
  width: 100%;
  height: 280px;
}
.chart svg { width: 100%; height: 100%; overflow: visible; }
.chart-foot {
  display: flex;
  justify-content: space-between;
  margin-top: 16px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--fg-mute);
}

.cite {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--fg-mute);
  margin-top: 24px;
}

/* ——— Latest (cards) ——— */
.latest-head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: end;
  gap: 40px;
  margin-bottom: clamp(40px, 5vw, 72px);
}
@media (max-width: 880px) { .latest-head { grid-template-columns: 1fr; } }

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 32px;
}
.filter-bar button {
  background: transparent;
  border: 1px solid var(--rule);
  color: var(--fg-soft);
  padding: 8px 14px;
  border-radius: 999px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  transition: all 180ms ease;
}
.filter-bar button:hover { color: var(--fg); border-color: var(--fg-soft); }
.filter-bar button.on {
  background: var(--fg);
  color: var(--bg);
  border-color: var(--fg);
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--rule);
  border-left: 1px solid var(--rule);
}
.card {
  border-right: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  padding: clamp(20px, 2.4vw, 32px);
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-height: 260px;
  position: relative;
  background: transparent;
  transition: background 220ms ease;
  cursor: pointer;
}
.card:hover { background: var(--bg-deep); }
.card .tag {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
}
.card h3 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 400;
  font-style: normal;
  font-size: clamp(20px, 1.6vw, 26px);
  line-height: 1.18;
  letter-spacing: -0.01em;
  color: var(--fg);
  text-wrap: balance;
}
.card p {
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
  color: var(--fg-soft);
}
.card .meta {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--fg-mute);
}
.card .arrow {
  width: 28px; height: 28px;
  border: 1px solid var(--rule);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 200ms ease, background 200ms ease;
}
.card:hover .arrow { transform: translateX(2px); background: var(--fg); color: var(--bg); }

@media (max-width: 980px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .cards { grid-template-columns: 1fr; } }

.show-more {
  display: flex;
  justify-content: center;
  margin-top: 40px;
}
.show-more button {
  background: transparent;
  border: 1px solid var(--fg);
  padding: 14px 28px;
  border-radius: 999px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--fg);
  transition: all 200ms ease;
}
.show-more button:hover { background: var(--fg); color: var(--bg); }

/* ——— Practice ——— */
.practice-section { background: var(--fg); color: var(--bg); padding: var(--section-y) 0; }
.practice-section .eyebrow, .practice-section .section-num { color: rgba(241,236,225,0.6); }
.practice-section .lede, .practice-section .display-mid { color: var(--bg); }

.practice-head {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: clamp(40px, 6vw, 100px);
  align-items: end;
  margin-bottom: clamp(60px, 8vw, 100px);
}
@media (max-width: 880px) { .practice-head { grid-template-columns: 1fr; } }

.practice-list {
  border-top: 1px solid rgba(241, 236, 225, 0.18);
}
.practice-row {
  display: grid;
  grid-template-columns: 80px 1fr 1.4fr 60px;
  align-items: center;
  gap: clamp(20px, 3vw, 48px);
  padding: clamp(32px, 4vw, 56px) 0;
  border-bottom: 1px solid rgba(241, 236, 225, 0.18);
  position: relative;
  cursor: pointer;
  transition: padding-left 250ms ease;
}
.practice-row:hover { padding-left: 16px; }
.practice-row .num {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  color: rgba(241,236,225,0.6);
}
.practice-row h3 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 300;
  font-style: italic;
  font-size: clamp(28px, 3.6vw, 56px);
  line-height: 1.02;
  letter-spacing: -0.02em;
}
.practice-row p {
  margin: 0;
  font-size: clamp(15px, 1.05vw, 17px);
  line-height: 1.5;
  color: rgba(241, 236, 225, 0.75);
  max-width: 38ch;
}
.practice-row .chev {
  justify-self: end;
  width: 44px; height: 44px;
  border: 1px solid rgba(241,236,225,0.3);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 240ms ease, background 240ms ease, color 240ms ease;
}
.practice-row:hover .chev {
  transform: translateX(4px);
  background: var(--bg);
  color: var(--fg);
}

@media (max-width: 720px) {
  .practice-row { grid-template-columns: 40px 1fr 36px; }
  .practice-row p { grid-column: 1 / -1; padding-left: 40px; }
}

.practice-foot {
  display: flex;
  justify-content: flex-end;
  margin-top: clamp(32px, 4vw, 56px);
}
.practice-foot a {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(241,236,225,0.85);
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.practice-foot a::after { content: "→"; }

/* ——— Sectors ——— */
.sectors-section { padding: var(--section-y) 0; }

.sectors-head {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: clamp(40px, 6vw, 100px);
  align-items: end;
  margin-bottom: clamp(56px, 7vw, 96px);
}
@media (max-width: 880px) { .sectors-head { grid-template-columns: 1fr; } }

.sector-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--rule);
}
.sector {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding: clamp(28px, 3.5vw, 44px) clamp(16px, 2vw, 28px);
  border-bottom: 1px solid var(--rule);
  position: relative;
  transition: padding-left 240ms ease;
}
.sector:nth-child(3n+1) { padding-left: 0; }
.sector:nth-child(3n) { padding-right: 0; }
.sector + .sector { border-left: 1px solid var(--rule); }
.sector:nth-child(3n+1) { border-left: none; }
.sector:hover { background: var(--bg-deep); }

.sector .name {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(24px, 2.4vw, 36px);
  line-height: 1.05;
  letter-spacing: -0.015em;
  font-style: italic;
}
.sector .idx {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--fg-mute);
}

@media (max-width: 880px) {
  .sector-grid { grid-template-columns: repeat(2, 1fr); }
  .sector + .sector { border-left: 1px solid var(--rule); }
  .sector:nth-child(2n+1) { border-left: none; padding-left: 0; }
  .sector:nth-child(2n) { padding-right: 0; }
}
@media (max-width: 560px) {
  .sector-grid { grid-template-columns: 1fr; }
  .sector { border-left: none !important; padding-left: 0 !important; padding-right: 0 !important; }
}

.sectors-note {
  margin-top: 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--fg-mute);
}

/* Marquee variant for sectors */
.sector-marquee {
  overflow: hidden;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  padding: 28px 0;
  position: relative;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.sector-marquee .track {
  display: flex;
  gap: clamp(40px, 6vw, 96px);
  width: max-content;
  animation: marquee 36s linear infinite;
}
.sector-marquee .item {
  font-family: var(--serif);
  font-weight: 300;
  font-style: italic;
  font-size: clamp(36px, 4vw, 60px);
  letter-spacing: -0.02em;
  white-space: nowrap;
  color: var(--fg);
  display: inline-flex;
  align-items: center;
  gap: clamp(40px, 6vw, 96px);
}
.sector-marquee .item::after {
  content: "";
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--accent);
  display: inline-block;
}
@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ——— CTA ——— */
.cta-section {
  background: var(--bg-deep);
  padding: clamp(100px, 14vw, 200px) 0;
}
.cta-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: clamp(40px, 6vw, 100px);
  align-items: start;
}
@media (max-width: 880px) { .cta-grid { grid-template-columns: 1fr; } }

.cta-button {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  padding: 22px 36px;
  background: var(--fg);
  color: var(--bg);
  border: none;
  border-radius: 999px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  margin-top: 32px;
  transition: transform 200ms ease, background 200ms ease;
}
.cta-button .arr {
  display: inline-block;
  width: 24px; height: 1px; background: var(--bg); position: relative;
}
.cta-button .arr::after {
  content: "";
  position: absolute; right: 0; top: 50%;
  width: 8px; height: 8px;
  border-top: 1px solid var(--bg);
  border-right: 1px solid var(--bg);
  transform: translateY(-50%) rotate(45deg);
}
.cta-button:hover { background: var(--accent); }

/* ——— Footer ——— */
footer {
  padding: clamp(60px, 8vw, 100px) 0 32px;
  border-top: 1px solid var(--rule);
}
.foot-definition {
  font-family: var(--serif);
  font-weight: 300;
  font-style: italic;
  font-size: clamp(20px, 2vw, 30px);
  line-height: 1.3;
  letter-spacing: -0.01em;
  max-width: 36ch;
  margin-bottom: clamp(60px, 8vw, 100px);
  color: var(--fg);
  text-wrap: pretty;
}
.foot-definition em {
  font-style: normal;
  font-family: var(--mono);
  font-size: 0.5em;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--fg-mute);
  display: inline-block;
  vertical-align: middle;
  margin-right: 6px;
}

.foot-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: clamp(24px, 4vw, 64px);
  padding-bottom: 56px;
  border-bottom: 1px solid var(--rule);
}
@media (max-width: 880px) { .foot-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .foot-grid { grid-template-columns: 1fr; } }

.foot-grid h4 {
  margin: 0 0 16px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--fg-mute);
  font-weight: 400;
}
.foot-grid ul { list-style: none; margin: 0; padding: 0; }
.foot-grid li { margin-bottom: 8px; font-size: 14px; color: var(--fg-soft); }
.foot-grid li a { color: var(--fg-soft); }

.foot-wordmark {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(40px, 6vw, 84px);
  line-height: 1;
  letter-spacing: -0.025em;
  margin-bottom: 20px;
}

.foot-meta {
  font-size: 12px;
  color: var(--fg-mute);
  line-height: 1.6;
}

.foot-subscribe {
  display: flex;
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid var(--fg-soft);
  padding-bottom: 6px;
  margin-top: 12px;
}
.foot-subscribe input {
  flex: 1;
  background: transparent;
  border: none;
  font-family: var(--sans);
  font-size: 13px;
  color: var(--fg);
  padding: 6px 0;
  outline: none;
}
.foot-subscribe input::placeholder { color: var(--fg-mute); }
.foot-subscribe button {
  background: transparent;
  border: none;
  color: var(--fg);
  font-size: 16px;
}

.foot-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 32px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--fg-mute);
}
.foot-bottom a { margin-left: 16px; color: var(--fg-mute); }

/* ——— Contact modal ——— */
.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(10, 10, 8, 0.45);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: stretch;
  justify-content: flex-end;
  animation: backfade 320ms ease;
}
@keyframes backfade { from { opacity: 0; } to { opacity: 1; } }

.modal {
  width: min(640px, 100%);
  height: 100%;
  background: var(--bg);
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  animation: slidein 420ms cubic-bezier(0.2, 0.8, 0.2, 1);
}
@keyframes slidein {
  from { transform: translateX(6%); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

.modal .modal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px clamp(28px, 4vw, 56px);
  border-bottom: 1px solid var(--rule);
  position: sticky;
  top: 0;
  background: var(--bg);
  z-index: 2;
}

.modal-eyebrow {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: 18px;
  letter-spacing: -0.005em;
  color: var(--fg);
}

.modal-close {
  background: transparent;
  border: 1px solid var(--rule);
  width: 40px; height: 40px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--fg);
  transition: all 200ms ease;
}
.modal-close:hover { background: var(--fg); color: var(--bg); border-color: var(--fg); }

.modal-body {
  padding: clamp(36px, 5vw, 56px) clamp(28px, 4vw, 56px) 56px;
  flex: 1;
}

.modal-title {
  margin: 0 0 32px;
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(36px, 4.4vw, 52px);
  line-height: 1.04;
  letter-spacing: -0.018em;
  color: var(--fg);
}
.modal-title em {
  font-style: italic;
}

/* Tabs */
.modal-tabs {
  display: flex;
  gap: 0;
  border: 1px solid var(--rule);
  border-radius: 999px;
  padding: 4px;
  margin-bottom: 32px;
  width: fit-content;
  max-width: 100%;
}
.modal-tab {
  background: transparent;
  border: none;
  padding: 10px 20px;
  border-radius: 999px;
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: -0.005em;
  color: var(--fg-soft);
  cursor: pointer;
  transition: background 220ms ease, color 220ms ease;
  white-space: nowrap;
}
.modal-tab:hover { color: var(--fg); }
.modal-tab.on {
  background: var(--fg);
  color: var(--bg);
}

.modal-lede {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(17px, 1.3vw, 21px);
  line-height: 1.42;
  color: var(--fg);
  margin: 0 0 16px;
  max-width: 50ch;
  text-wrap: pretty;
}
.modal-lede--soft {
  color: var(--fg-mute);
  font-style: italic;
  font-size: clamp(15px, 1.05vw, 17px);
  margin-bottom: 36px;
}

.modal-success {
  padding: 16px 0;
}
.modal-success h2 {
  margin: 0 0 20px;
  font-family: var(--serif);
  font-weight: 400;
  font-style: italic;
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1.04;
  letter-spacing: -0.018em;
  color: var(--fg);
}
.modal-success__line {
  font-family: var(--serif);
  font-size: clamp(17px, 1.3vw, 20px);
  line-height: 1.45;
  color: var(--fg-soft);
  max-width: 46ch;
  margin: 0;
}

.form-foot {
  margin: 16px 0 0;
  font-family: var(--sans);
  font-style: italic;
  font-size: 13px;
  color: var(--fg-mute);
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px 24px;
}
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } }

.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.field label {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--fg-mute);
}
.field input,
.field textarea,
.field select {
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--rule);
  padding: 8px 0;
  font-family: var(--sans);
  font-size: 16px;
  color: var(--fg);
  outline: none;
  transition: border-color 180ms ease;
  border-radius: 0;
  width: 100%;
}
.field select { appearance: none; cursor: pointer; }
.field input:focus,
.field textarea:focus,
.field select:focus {
  border-bottom-color: var(--fg);
}
.field textarea { resize: vertical; min-height: 120px; }

.form-submit {
  margin-top: 36px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: var(--fg);
  color: var(--bg);
  border: none;
  padding: 18px 32px;
  border-radius: 999px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  transition: background 200ms ease, transform 200ms ease;
}
.form-submit:hover { background: var(--accent); }
.form-submit:disabled { opacity: 0.4; cursor: not-allowed; }

.form-success {
  padding: 32px 0;
  font-family: var(--serif);
  font-size: clamp(20px, 1.8vw, 26px);
  line-height: 1.35;
  font-style: italic;
}

/* ——— About page ——— */
.about-hero {
  padding: 180px var(--gutter) clamp(80px, 10vw, 140px);
  border-bottom: 1px solid var(--rule);
}
.about-hero h1 {
  margin: 0 0 0;
  font-family: var(--serif);
  font-weight: 300;
  font-style: italic;
  font-size: clamp(48px, 7.5vw, 124px);
  line-height: 0.96;
  letter-spacing: -0.028em;
  max-width: 14ch;
}

.about-meta {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  gap: 24px;
  margin-top: clamp(60px, 8vw, 100px);
  padding-top: 24px;
  border-top: 1px solid var(--rule);
}
.about-meta .item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.about-meta .k {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--fg-mute);
}
.about-meta .v { font-size: 15px; color: var(--fg); }
@media (max-width: 720px) { .about-meta { grid-template-columns: 1fr 1fr; } }

.about-section { padding: clamp(80px, 10vw, 140px) 0; border-bottom: 1px solid var(--rule); }

.about-twocol {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: clamp(40px, 6vw, 100px);
  align-items: start;
}
@media (max-width: 880px) { .about-twocol { grid-template-columns: 1fr; } }

.about-twocol p {
  margin: 0 0 1em;
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(18px, 1.5vw, 24px);
  line-height: 1.4;
  color: var(--fg);
  text-wrap: pretty;
}
.about-twocol p:last-child { margin-bottom: 0; }

/* Principles list */
.principles {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  border-top: 1px solid var(--rule);
}
.principles .p {
  border-bottom: 1px solid var(--rule);
  padding: clamp(28px, 3.5vw, 48px) clamp(20px, 2.4vw, 32px) clamp(28px, 3.5vw, 48px) 0;
}
.principles .p + .p {
  border-left: 1px solid var(--rule);
  padding-left: clamp(20px, 2.4vw, 32px);
}
.principles .p:nth-child(2n+1) { border-left: none; padding-left: 0; }
.principles .p .num {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--fg-mute);
  margin-bottom: 20px;
}
.principles .p h4 {
  margin: 0 0 12px;
  font-family: var(--serif);
  font-weight: 300;
  font-style: italic;
  font-size: clamp(24px, 2.6vw, 38px);
  line-height: 1.04;
  letter-spacing: -0.015em;
  text-wrap: balance;
}
.principles .p p {
  margin: 0;
  font-size: 15px;
  line-height: 1.55;
  color: var(--fg-soft);
}
@media (max-width: 720px) {
  .principles { grid-template-columns: 1fr; }
  .principles .p { border-left: none !important; padding-left: 0 !important; }
}

.team-section { padding: clamp(80px, 10vw, 140px) 0; }
.team-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(40px, 5vw, 80px);
  margin-top: clamp(40px, 5vw, 64px);
}
.team-grid .person {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.team-grid .portrait {
  aspect-ratio: 4 / 5;
  background:
    repeating-linear-gradient(135deg,
      rgba(26,26,26,0.04) 0 14px,
      rgba(26,26,26,0.08) 14px 28px);
  border: 1px solid var(--rule);
  position: relative;
  display: flex;
  align-items: flex-end;
  padding: 18px;
}
.team-grid .portrait::before {
  content: attr(data-placeholder);
  position: absolute;
  inset: auto auto 18px 18px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--fg-mute);
}
.team-grid h3 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 300;
  font-style: italic;
  font-size: clamp(28px, 2.8vw, 40px);
  line-height: 1.05;
  letter-spacing: -0.015em;
}
.team-grid .role {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--fg-mute);
}
.team-grid .bio {
  font-size: 15px;
  line-height: 1.55;
  color: var(--fg-soft);
}
@media (max-width: 720px) { .team-grid { grid-template-columns: 1fr; } }

/* ——— Section style variants ——— */
[data-sectionstyle="alternating"] .latest-section { background: var(--bg-deep); }
[data-sectionstyle="numbered"] .latest-head .display-mid { font-size: clamp(36px, 5vw, 80px); }

/* ——— Reveal animation ——— */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 800ms cubic-bezier(0.2, 0.8, 0.2, 1),
              transform 800ms cubic-bezier(0.2, 0.8, 0.2, 1);
}
.reveal.in {
  opacity: 1;
  transform: translateY(0);
}

[data-motion="minimal"] .reveal {
  transition-duration: 360ms;
  transform: none;
}
[data-motion="rich"] .reveal {
  transition-duration: 1000ms;
}

/* Practice highlight on hover (rich motion) */
[data-motion="rich"] .practice-row { transition: padding-left 400ms ease, background 400ms ease; }
[data-motion="rich"] .practice-row:hover { background: rgba(241,236,225,0.04); }

/* ——— Misc ——— */
.section-num-wrap { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 24px; }
.section-num-wrap .bar { width: 32px; height: 1px; background: currentColor; opacity: 0.4; }

/* Hide body when modal open */
body.modal-open { overflow: hidden; }

/* Tweaks panel visual nudge */
[data-edit-mode-on] {}


/* ═══════════════════════════════════════════════════════════
   Approach (Derris-style)
   ═══════════════════════════════════════════════════════════ */

.approach {
  background: var(--bg);
  padding: clamp(120px, 16vw, 220px) 0 clamp(80px, 10vw, 140px);
}

.approach-intro {
  display: grid;
  grid-template-columns: 1.1fr 2.6fr;
  gap: clamp(24px, 4vw, 80px);
  padding: 0 var(--gutter);
  margin-bottom: clamp(80px, 12vw, 160px);
}

.approach-intro .spacer { grid-column: 1; }

.approach-intro > div:not(.spacer) {
  grid-column: 2;
  max-width: 32ch;
}

.approach-overline {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--fg-mute);
  margin: 0 0 24px;
}

.approach-intro .heading {
  margin: 0;
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(32px, 3.8vw, 58px);
  line-height: 1.08;
  letter-spacing: -0.018em;
  color: var(--fg);
  text-wrap: balance;
}

.approach-intro .heading .em {
  font-style: italic;
}

@media (max-width: 900px) {
  .approach-intro { grid-template-columns: 1fr; }
  .approach-intro .spacer { display: none; }
  .approach-intro > div:not(.spacer) { grid-column: 1; max-width: none; }
  .approach-intro .heading { font-size: clamp(28px, 5vw, 40px); }
}

/* Row */
.approach-row {
  display: grid;
  grid-template-columns: 1.1fr 2.6fr;
  gap: clamp(24px, 4vw, 80px);
  padding: clamp(36px, 5vw, 64px) var(--gutter);
  border-top: 1px solid var(--rule);
  align-items: start;
  position: relative;
}
.approach-row:last-of-type { border-bottom: none; }

/* Draw the rule on reveal — overlay a colored line that scales in from left */
.approach-row::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--fg);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 1100ms cubic-bezier(0.2, 0.8, 0.2, 1);
}
.approach-row.in::before { transform: scaleX(1); }

.approach-row .label {
  display: inline-flex;
  align-items: baseline;
  gap: 14px;
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 500;
  color: var(--fg);
  letter-spacing: -0.005em;
}
.approach-row .label::before {
  content: "";
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--fg);
  display: inline-block;
  position: relative;
  top: -2px;
  flex-shrink: 0;
}
.approach-row .label .num {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--fg-mute);
  text-transform: uppercase;
  margin-right: 6px;
}

.approach-row .lede {
  margin: 0;
  font-family: var(--serif);
  font-weight: 400;
  font-style: italic;
  font-size: clamp(20px, 1.8vw, 28px);
  line-height: 1.32;
  letter-spacing: -0.008em;
  color: var(--fg);
  text-wrap: pretty;
}

.approach-row .body {
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.approach-row .body p {
  margin: 0;
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.6;
  color: var(--fg-soft);
  text-wrap: pretty;
}

/* Methods list (Derris-style with underlines) */
.approach-row .methods {
  display: flex;
  flex-direction: column;
}
.approach-row .methods .item {
  position: relative;
  padding: 14px 0;
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 500;
  color: var(--fg);
  letter-spacing: -0.005em;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.approach-row .methods .item::after {
  content: "";
  position: absolute;
  left: 0; right: 0;
  bottom: 0;
  height: 1px;
  background: var(--fg);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 900ms cubic-bezier(0.2, 0.8, 0.2, 1);
}
.approach-row.in .methods .item::after { transform: scaleX(1); }
.approach-row.in .methods .item:nth-child(1)::after { transition-delay: 200ms; }
.approach-row.in .methods .item:nth-child(2)::after { transition-delay: 280ms; }
.approach-row.in .methods .item:nth-child(3)::after { transition-delay: 360ms; }
.approach-row.in .methods .item:nth-child(4)::after { transition-delay: 440ms; }
.approach-row.in .methods .item:nth-child(5)::after { transition-delay: 520ms; }
.approach-row.in .methods .item:nth-child(6)::after { transition-delay: 600ms; }
.approach-row .methods .item .tag {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  color: var(--fg-mute);
  text-transform: uppercase;
  font-weight: 400;
}

@media (max-width: 900px) {
  .approach-row { grid-template-columns: 1fr; gap: 24px; }
}

/* Pending row — for sections whose copy is not yet provided */
.approach-row.pending .lede,
.approach-row.pending .body p { color: var(--fg-mute); }
.approach-row.pending .methods .item { color: var(--fg-mute); }
.approach-row.pending .methods .item::after { background: var(--rule); }
.approach-row.pending .label::before { background: var(--rule); }
.approach-row.pending .label { color: var(--fg-mute); }

/* Big bottom wordmark */
.approach-wordmark {
  padding: clamp(100px, 14vw, 200px) var(--gutter) clamp(40px, 6vw, 80px);
  overflow: hidden;
  position: relative;
}
.approach-wordmark .mark {
  font-family: var(--serif);
  font-weight: 500;
  font-style: normal;
  font-size: clamp(80px, 17vw, 280px);
  line-height: 0.86;
  letter-spacing: -0.04em;
  color: var(--fg);
  margin: 0;
  white-space: nowrap;
  transform: translateY(20%);
  opacity: 0;
  transition: transform 1400ms cubic-bezier(0.2, 0.8, 0.2, 1), opacity 1000ms ease;
}
.approach-wordmark.in .mark {
  transform: translateY(0);
  opacity: 1;
}
.approach-wordmark .mark em { font-style: italic; font-weight: 400; }

@media (max-width: 720px) {
  .approach-wordmark .mark { font-size: clamp(54px, 16vw, 110px); white-space: normal; line-height: 0.92; }
}


/* ═══════════════════════════════════════════════════════════
   02 · Latest — auto-scrolling marquee of insight cards
   ═══════════════════════════════════════════════════════════ */

.cc-latest {
  background: var(--bg);
  padding: clamp(80px, 12vw, 160px) 0;
  overflow: hidden;
  position: relative;
  border-top: 1px solid var(--rule);
}

.cc-latest__header {
  max-width: var(--maxw);
  margin: 0 auto clamp(40px, 5vw, 64px);
  padding: 0 var(--gutter);
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 32px;
}

.cc-latest__overline {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--fg-mute);
  line-height: 1.4;
  margin: 0;
}

.cc-latest__lede {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(18px, 1.4vw, 22px);
  line-height: 1.32;
  color: var(--fg-soft);
  margin: 0;
  max-width: 42ch;
  text-wrap: pretty;
}

.cc-latest__scroller {
  width: 100%;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 5%, #000 95%, transparent 100%);
          mask-image: linear-gradient(to right, transparent 0%, #000 5%, #000 95%, transparent 100%);
}

.cc-latest__track {
  display: flex;
  gap: 24px;
  width: max-content;
  animation: cc-latest-scroll 180s linear infinite;
  padding: 4px;
}

.cc-latest__scroller:hover .cc-latest__track {
  animation-play-state: paused;
}

@keyframes cc-latest-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(calc(-50% - 12px)); }
}

.cc-latest__card {
  flex: 0 0 360px;
  height: 320px;
  background: transparent;
  border: 1px solid rgba(26, 26, 26, 0.15);
  padding: 32px;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  transition: border-color 320ms ease, background-color 320ms ease, transform 320ms ease;
  box-sizing: border-box;
}

.cc-latest__card:hover {
  border-color: #142E6D;
  background-color: rgba(20, 46, 109, 0.05);
  transform: translateY(-4px);
  opacity: 1;
}

.cc-latest__category {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--fg-mute);
  line-height: 1.4;
  margin: 0 0 16px;
}

.cc-latest__rule {
  display: block;
  width: 32px;
  height: 2px;
  background: #142E6D;
  margin: 0 0 20px;
  padding: 0;
  border: 0;
  transition: width 320ms ease;
}

.cc-latest__card:hover .cc-latest__rule {
  width: 56px;
}

.cc-latest__title {
  font-family: var(--serif);
  font-weight: 400;
  font-style: normal;
  font-size: 1.5rem;
  line-height: 1.18;
  color: var(--fg);
  margin: 0 0 16px;
  letter-spacing: -0.008em;
  text-wrap: pretty;
}

.cc-latest__desc {
  font-family: var(--sans);
  font-weight: 400;
  font-size: 0.9375rem;
  line-height: 1.55;
  color: var(--fg-soft);
  margin: 0 0 auto;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.cc-latest__date {
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--fg-mute);
  line-height: 1.4;
  margin: 20px 0 0;
}

@media (max-width: 767px) {
  .cc-latest { padding: 80px 0; }
  .cc-latest__header { padding: 0 24px; flex-direction: column; align-items: flex-start; gap: 16px; }
  .cc-latest__card { flex: 0 0 280px; height: 280px; padding: 24px; }
  .cc-latest__title { font-size: 1.25rem; }
  .cc-latest__desc { font-size: 0.875rem; -webkit-line-clamp: 3; }
  .cc-latest__track { animation-duration: 120s; }
}


/* ═══════════════════════════════════════════════════════════
   Centered statement (Derris-style word reveal)
   ═══════════════════════════════════════════════════════════ */

.approach-statement {
  background: var(--bg);
  padding: clamp(140px, 22vh, 280px) var(--gutter);
  display: flex;
  justify-content: center;
}

.approach-statement .inner {
  width: clamp(320px, 44%, 620px);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  gap: clamp(24px, 3vw, 36px);
}

.statement-overline {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--fg-mute);
  margin: 0;
}

.statement-body {
  margin: 0;
  max-width: 100%;
  font-family: var(--serif);
  font-weight: 400;
  font-style: normal;
  font-size: clamp(26px, 3.2vw, 46px);
  line-height: 1.18;
  letter-spacing: -0.012em;
  color: var(--fg);
  text-wrap: pretty;
}

/* Word reveal */
.word-reveal .w {
  display: inline;
  opacity: 0.12;
  transition: opacity 900ms cubic-bezier(0.2, 0.8, 0.2, 1),
              color 900ms ease;
}
.word-reveal.in .w {
  opacity: 1;
}
.word-reveal .w.emph {
  font-style: italic;
}
.word-reveal.in .w.emph {
  color: var(--fg);
}

@media (max-width: 720px) {
  .statement-body { font-size: clamp(22px, 5.4vw, 32px); }
  .approach-statement { padding: clamp(80px, 14vw, 140px) var(--gutter); }
  .approach-statement .inner { width: 100%; }
}


/* Practice note (small italic slate, below the practice rows) */
.practice-note {
  margin: clamp(24px, 4vw, 48px) 0 0;
  padding: clamp(24px, 3vw, 36px) var(--gutter) 0;
  font-family: var(--sans);
  font-style: italic;
  font-size: 14px;
  line-height: 1.5;
  color: var(--fg-mute);
  text-align: right;
}
.practice-note em { font-style: italic; }


/* ═══════════════════════════════════════════════════════════
   Custom cursor (Derris-style — small dot + trailing ring)
   ═══════════════════════════════════════════════════════════ */

@media (pointer: fine) {
  body.has-cursor,
  body.has-cursor * {
    cursor: none !important;
  }
  /* Keep system cursor visible over form fields & tweaks panel for usability */
  body.has-cursor input,
  body.has-cursor textarea,
  body.has-cursor select,
  body.has-cursor .twk-panel,
  body.has-cursor .twk-panel * {
    cursor: auto !important;
  }
}

.cc-cursor {
  position: fixed;
  top: 0; left: 0;
  pointer-events: none;
  z-index: 9999;
  will-change: transform, width, height, opacity;
  mix-blend-mode: difference;
}

.cc-cursor--dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #faf8f3;
  transition: width 220ms cubic-bezier(0.2, 0.8, 0.2, 1),
              height 220ms cubic-bezier(0.2, 0.8, 0.2, 1),
              opacity 220ms ease;
}

.cc-cursor--ring {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(250, 248, 243, 0.7);
  transition: width 320ms cubic-bezier(0.2, 0.8, 0.2, 1),
              height 320ms cubic-bezier(0.2, 0.8, 0.2, 1),
              opacity 320ms ease,
              border-color 220ms ease;
}

/* Hover state — ring grows, dot shrinks slightly */
body.cursor-hover .cc-cursor--ring {
  width: 64px;
  height: 64px;
  border-color: rgba(250, 248, 243, 0.95);
}
body.cursor-hover .cc-cursor--dot {
  width: 3px;
  height: 3px;
  opacity: 0.6;
}

/* Hide on touch / coarse pointer */
@media (pointer: coarse), (hover: none) {
  .cc-cursor { display: none; }
  body.has-cursor, body.has-cursor * { cursor: auto !important; }
}


/* ═══════════════════════════════════════════════════════════
   Scroll lock — JS-driven on desktop (see chrome.jsx).
   On touch / coarse-pointer devices we use CSS scroll-snap
   instead — native momentum + snap behaves correctly there,
   and the JS hijack interferes with browser scroll on iOS/Android.
   ═══════════════════════════════════════════════════════════ */

html {
  scroll-snap-type: none;
  scroll-behavior: auto;
  scroll-padding-top: 0;
}

@media (pointer: coarse), (hover: none) {
  html {
    scroll-snap-type: y proximity;
    scroll-behavior: smooth;
  }
  [data-snap] {
    scroll-snap-align: start;
    scroll-snap-stop: always;
    scroll-margin-top: 0;
  }
  /* Tall sections — let them be a soft snap point at their start only. */
  .approach,
  .ap-row,
  footer {
    scroll-snap-stop: normal;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-snap-type: none; scroll-behavior: auto; }
}

/* Visual indicator dots on the right — like Beyond Luxury, etc. */
.section-dots {
  position: fixed;
  top: 50%;
  right: clamp(14px, 1.6vw, 24px);
  transform: translateY(-50%);
  z-index: 80;
  display: flex;
  flex-direction: column;
  gap: 14px;
  pointer-events: auto;
}
.section-dots__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(26, 26, 26, 0.18);
  border: none;
  padding: 0;
  cursor: pointer;
  transition: background 240ms ease, transform 240ms ease;
}
.section-dots__dot:hover { background: rgba(26, 26, 26, 0.42); transform: scale(1.2); }
.section-dots__dot.on {
  background: var(--fg);
  transform: scale(1.25);
}
/* On the hero (dark video), invert the dots to read on dark */
.section-dots.on-dark .section-dots__dot { background: rgba(241, 236, 225, 0.32); }
.section-dots.on-dark .section-dots__dot:hover { background: rgba(241, 236, 225, 0.7); }
.section-dots.on-dark .section-dots__dot.on { background: rgba(241, 236, 225, 1); }

@media (max-width: 720px) {
  .section-dots { display: none; }
}


/* ═══════════════════════════════════════════════════════════
   Approach page (Derris-style)
   ═══════════════════════════════════════════════════════════ */

/* Intro */
.ap-intro {
  padding: clamp(160px, 22vh, 240px) 0 clamp(80px, 12vw, 160px);
}
.ap-intro__grid {
  display: grid;
  grid-template-columns: 1.1fr 2.6fr;
  gap: clamp(24px, 4vw, 80px);
  padding: 0 var(--gutter);
}
.ap-intro__spacer { grid-column: 1; }
.ap-intro__body {
  grid-column: 2;
  max-width: 38ch;
}
.ap-intro__heading {
  margin: 0;
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(32px, 3.8vw, 58px);
  line-height: 1.08;
  letter-spacing: -0.018em;
  color: var(--fg);
  text-wrap: balance;
}
.ap-intro__heading .lead {
  font-style: normal;
  font-weight: 500;
}
.ap-intro__heading .trail {
  font-style: italic;
  font-weight: 400;
  color: var(--fg-soft);
}

@media (max-width: 900px) {
  .ap-intro__grid { grid-template-columns: 1fr; }
  .ap-intro__spacer { display: none; }
  .ap-intro__body { grid-column: 1; max-width: none; }
  .ap-intro__heading { font-size: clamp(28px, 5vw, 40px); }
}

/* Rows */
.ap-row {
  display: grid;
  grid-template-columns: 1.1fr 1.6fr 1.3fr;
  gap: clamp(24px, 4vw, 80px);
  padding: clamp(48px, 6vw, 84px) var(--gutter);
  border-top: 1px solid var(--rule);
  align-items: start;
  position: relative;
}

/* Animated rule */
.ap-row::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--fg);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 1200ms cubic-bezier(0.2, 0.8, 0.2, 1);
}
.ap-row.in::before { transform: scaleX(1); }

/* Label (left) */
.ap-row__label {
  display: inline-flex;
  align-items: baseline;
  gap: 14px;
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 500;
  color: var(--fg);
  letter-spacing: -0.005em;
}
.ap-row__label::before {
  content: "";
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--fg);
  display: inline-block;
  position: relative;
  top: -2px;
  flex-shrink: 0;
}
.ap-row__label .num {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--fg-mute);
  text-transform: uppercase;
  margin-right: 6px;
}

/* Middle lede paragraph */
.ap-row__lede {
  margin: 0;
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(16px, 1.25vw, 19px);
  line-height: 1.52;
  color: var(--fg);
  text-wrap: pretty;
}
.ap-row__lede em {
  font-style: italic;
  color: var(--fg);
}

/* Right list — items with animated underlines */
.ap-row__list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
}
.ap-row__list li {
  position: relative;
  padding: 14px 0;
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: -0.005em;
  color: var(--fg);
}
.ap-row__list li::after {
  content: "";
  position: absolute;
  left: 0; right: 0;
  bottom: 0;
  height: 1px;
  background: var(--fg);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 900ms cubic-bezier(0.2, 0.8, 0.2, 1);
}
.ap-row.in .ap-row__list li::after { transform: scaleX(1); }
.ap-row.in .ap-row__list li:nth-child(1)::after { transition-delay: 200ms; }
.ap-row.in .ap-row__list li:nth-child(2)::after { transition-delay: 290ms; }
.ap-row.in .ap-row__list li:nth-child(3)::after { transition-delay: 380ms; }
.ap-row.in .ap-row__list li:nth-child(4)::after { transition-delay: 470ms; }
.ap-row.in .ap-row__list li:nth-child(5)::after { transition-delay: 560ms; }
.ap-row.in .ap-row__list li:nth-child(6)::after { transition-delay: 650ms; }

@media (max-width: 900px) {
  .ap-row { grid-template-columns: 1fr; gap: 24px; }
}

/* Closing italic line */
.ap-close {
  padding: clamp(48px, 6vw, 80px) var(--gutter) clamp(24px, 4vw, 40px);
  border-top: 1px solid var(--rule);
  text-align: right;
}
.ap-close__line {
  margin: 0;
  font-family: var(--sans);
  font-style: italic;
  font-size: 14px;
  color: var(--fg-mute);
}

/* Big bottom wordmark */
.ap-wordmark {
  padding: clamp(100px, 14vw, 200px) var(--gutter) clamp(40px, 6vw, 80px);
  overflow: hidden;
  position: relative;
}
.ap-wordmark__mark {
  font-family: var(--serif);
  font-weight: 500;
  font-style: normal;
  font-size: clamp(80px, 17vw, 260px);
  line-height: 0.88;
  letter-spacing: -0.04em;
  color: var(--fg);
  margin: 0;
  white-space: nowrap;
  transform: translateY(20%);
  opacity: 0;
  transition: transform 1400ms cubic-bezier(0.2, 0.8, 0.2, 1), opacity 1000ms ease;
}
.ap-wordmark.in .ap-wordmark__mark {
  transform: translateY(0);
  opacity: 1;
}
.ap-wordmark__mark .em {
  font-style: italic;
  font-weight: 400;
}

@media (max-width: 720px) {
  .ap-wordmark__mark {
    font-size: clamp(48px, 14vw, 96px);
    white-space: normal;
    line-height: 0.94;
  }
}


/* ═══════════════════════════════════════════════════════════
   Mallevays-style spread (mono-caps title + serif body)
   ═══════════════════════════════════════════════════════════ */

.ap-spread {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 120px);
  padding: clamp(96px, 12vw, 160px) var(--gutter);
  align-items: start;
}

.ap-spread__title h2 {
  margin: 0;
  /* Switched from mono caps to refined italic serif for a softer treatment
     on “Founder & Principal” / “Advisory Board” titles. */
  font-family: var(--serif);
  font-weight: 400;
  font-style: italic;
  font-size: clamp(28px, 3.4vw, 48px);
  line-height: 1.04;
  letter-spacing: -0.018em;
  text-transform: none;
  color: var(--fg);
  text-wrap: balance;
}

.ap-spread__body {
  display: flex;
  flex-direction: column;
  gap: 18px;
  max-width: 56ch;
}

.ap-spread__body p {
  margin: 0;
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(18px, 1.5vw, 24px);
  line-height: 1.4;
  letter-spacing: -0.008em;
  color: var(--fg);
  text-wrap: pretty;
}

.ap-spread__body p em {
  font-style: italic;
}

.ap-spread__name {
  font-style: italic;
  color: var(--fg-mute);
  font-size: clamp(16px, 1.1vw, 18px) !important;
  letter-spacing: 0.01em !important;
  margin-bottom: 6px !important;
  font-family: var(--mono) !important;
  font-weight: 400 !important;
  text-transform: uppercase;
  letter-spacing: 0.18em !important;
}

.ap-spread__aside {
  font-size: clamp(15px, 1.1vw, 18px) !important;
  color: var(--fg-mute) !important;
  font-style: italic;
  margin-top: 8px;
}

@media (max-width: 900px) {
  .ap-spread {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: clamp(72px, 10vw, 100px) var(--gutter);
  }
}


/* ═══════════════════════════════════════════════════════════
   Reveal tuning — softer, more professional easing
   ═══════════════════════════════════════════════════════════ */

.reveal {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 720ms cubic-bezier(0.22, 0.61, 0.36, 1),
              transform 720ms cubic-bezier(0.22, 0.61, 0.36, 1);
  will-change: opacity, transform;
}
.reveal.in {
  opacity: 1;
  transform: translateY(0);
}
[data-motion="minimal"] .reveal {
  transition-duration: 420ms;
  transform: none;
}
[data-motion="rich"] .reveal {
  transition-duration: 900ms;
}


/* ═══════════════════════════════════════════════════════════
   Network popup — compensated network CTA
   ═══════════════════════════════════════════════════════════ */

.network-popup {
  position: fixed;
  z-index: 90;
  right: clamp(16px, 2.5vw, 32px);
  bottom: clamp(16px, 2.5vw, 32px);
  width: min(360px, calc(100vw - 32px));
  background: var(--fg);
  color: var(--bg);
  padding: 26px 26px 22px;
  border-radius: 4px;
  box-shadow:
    0 1px 0 rgba(255,255,255,0.05) inset,
    0 28px 60px rgba(0,0,0,0.32),
    0 8px 18px rgba(0,0,0,0.18);
  transform: translateY(20px);
  opacity: 0;
  animation: network-pop 600ms cubic-bezier(0.22, 0.61, 0.36, 1) 100ms forwards;
}
.network-popup.out {
  animation: network-pop-out 320ms cubic-bezier(0.4, 0, 1, 1) forwards;
}
@keyframes network-pop {
  to { transform: translateY(0); opacity: 1; }
}
@keyframes network-pop-out {
  to { transform: translateY(20px); opacity: 0; }
}

.network-popup__close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: none;
  background: transparent;
  color: rgba(250, 248, 243, 0.5);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: color 200ms ease, background 200ms ease;
}
.network-popup__close:hover {
  color: var(--bg);
  background: rgba(250, 248, 243, 0.1);
}

.network-popup__eyebrow {
  margin: 0 0 12px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(250, 248, 243, 0.55);
  font-weight: 400;
}

.network-popup__title {
  margin: 0 0 18px;
  font-family: var(--serif);
  font-weight: 400;
  font-size: 22px;
  line-height: 1.18;
  letter-spacing: -0.012em;
  color: var(--bg);
  padding-right: 24px;
  text-wrap: pretty;
}
.network-popup__title em {
  font-style: italic;
}

.network-popup__points {
  list-style: none;
  margin: 0 0 22px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.network-popup__points li {
  font-family: var(--sans);
  font-size: 13px;
  line-height: 1.4;
  color: rgba(250, 248, 243, 0.78);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.network-popup__points .dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: rgba(250, 248, 243, 0.6);
  display: inline-block;
  flex-shrink: 0;
}

.network-popup__form {
  display: flex;
  align-items: stretch;
  border: 1px solid rgba(250, 248, 243, 0.2);
  border-radius: 999px;
  overflow: hidden;
  background: rgba(250, 248, 243, 0.04);
  transition: border-color 200ms ease, background 200ms ease;
}
.network-popup__form:focus-within {
  border-color: rgba(250, 248, 243, 0.45);
  background: rgba(250, 248, 243, 0.08);
}
.network-popup__form input {
  flex: 1;
  min-width: 0;
  background: transparent;
  border: none;
  outline: none;
  padding: 12px 16px;
  font-family: var(--sans);
  font-size: 13px;
  color: var(--bg);
  letter-spacing: -0.005em;
}
.network-popup__form input::placeholder {
  color: rgba(250, 248, 243, 0.5);
}
.network-popup__form button {
  background: var(--bg);
  color: var(--fg);
  border: none;
  padding: 0 18px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--sans);
  font-weight: 500;
  font-size: 12px;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: background 220ms ease, color 220ms ease;
}
.network-popup__form button:hover {
  background: var(--accent-soft);
  color: var(--fg);
}

.network-popup__more {
  margin: 14px 0 0;
  background: transparent;
  border: none;
  padding: 0;
  font-family: var(--sans);
  font-style: italic;
  font-size: 12px;
  color: rgba(250, 248, 243, 0.55);
  cursor: pointer;
  transition: color 200ms ease;
}
.network-popup__more:hover {
  color: var(--bg);
}

.network-popup__success {
  padding: 8px 0 4px;
}
.network-popup__success h3 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 400;
  font-size: 22px;
  line-height: 1.2;
  letter-spacing: -0.012em;
  color: var(--bg);
}
.network-popup__success h3 em {
  font-style: italic;
  color: rgba(250, 248, 243, 0.7);
  display: block;
}

@media (max-width: 540px) {
  .network-popup {
    right: 12px;
    left: 12px;
    bottom: 12px;
    width: auto;
    padding: 22px 22px 18px;
  }
  .network-popup__title { font-size: 19px; }
}

@media (prefers-reduced-motion: reduce) {
  .network-popup, .network-popup.out { animation: none !important; opacity: 1; transform: none; }
}


/* ═══════════════════════════════════════════════════════════
   Production polish — desktop / tablet / mobile
   ═══════════════════════════════════════════════════════════ */

/* iOS / mobile baselines */
html {
  -webkit-text-size-adjust: 100%;
       text-size-adjust: 100%;
}
body {
  -webkit-tap-highlight-color: transparent;
  overflow-x: hidden;
  overscroll-behavior-y: contain;
}

/* Prevent iOS zoom on form focus — inputs must be ≥16px */
@media (max-width: 900px) {
  .field input,
  .field textarea,
  .field select,
  .network-popup__form input,
  .foot-subscribe input {
    font-size: 16px !important;
  }
}

/* Make every link/button on touch at least 44px tappable */
@media (hover: none) and (pointer: coarse) {
  .nav .links a,
  .nav .links .link-btn,
  .nav .wordmark,
  .card a,
  .cc-latest__card,
  .modal-close,
  .modal-tab,
  .filter-bar button,
  .show-more button,
  .form-submit,
  .cta-button,
  .practice-row,
  .ap-row,
  .approach-row {
    min-height: 44px;
  }

  /* Disable hover effects that linger on touch */
  a:hover, button:hover,
  .card:hover, .cc-latest__card:hover,
  .practice-row:hover, .ap-row:hover, .approach-row:hover,
  .sector:hover {
    opacity: 1;
    background: transparent;
    transform: none;
  }
  .cc-latest__card:hover { border-color: rgba(26,26,26,0.15); background-color: transparent; transform: none; }
  .cc-latest__card:hover .cc-latest__rule { width: 32px; }
  .practice-row:hover { padding-left: 0; }
  .ap-row:hover { padding-left: 0; }
}

/* ── Tablet (901–1100): refine row layouts ─────────────────── */
@media (max-width: 1100px) and (min-width: 901px) {
  .ap-row {
    grid-template-columns: 1fr 1.5fr 1.2fr;
    gap: clamp(20px, 3vw, 48px);
  }
  .approach-row {
    grid-template-columns: 1.1fr 2.4fr;
  }
  .ap-spread {
    gap: clamp(32px, 4vw, 80px);
  }
}

/* ── Hero on tablet/mobile ─────────────────────────────────── */
@media (max-width: 900px) {
  .hero {
    min-height: 100svh;
  }
  .hero .content {
    padding: clamp(96px, 14vh, 130px) var(--gutter) clamp(40px, 6vw, 60px);
    gap: 32px;
  }
  .hero .overline .rule {
    width: clamp(180px, 50vw, 280px);
  }
  .hero .sub {
    font-size: 15px;
  }
}

@media (max-width: 540px) {
  .hero { min-height: 86svh; }
  .hero h1 { font-size: clamp(32px, 9vw, 44px); }
  .hero .overline .label { font-size: 10px; letter-spacing: 0.22em; }
  .hero .sub { font-size: 14px; line-height: 1.55; }
  .hero-foot { flex-direction: column; align-items: flex-start; gap: 16px; }
  .hero .scrollcue { font-size: 9px; }
}

/* ── Nav on small viewport ─────────────────────────────────── */
@media (max-width: 540px) {
  .nav { padding: 18px 16px; align-items: center; }
  .nav .links { gap: 14px; align-items: center; }
  .nav .wordmark { font-size: 16px; }
  .nav .links a, .nav .links .link-btn { font-size: 12px; padding: 8px 0; }
}

/* Force every nav item — anchor or button — onto the same visual baseline
   on every viewport. Mixed <a> + <button> elements otherwise sit on subtly
   different baselines on mobile Safari. */
.nav .links {
  align-items: center;
}
.nav .links a,
.nav .links .link-btn {
  display: inline-flex;
  align-items: center;
  line-height: 1;
  margin: 0;
  vertical-align: middle;
}

/* ── Approach (Home) section on mobile ─────────────────────── */
@media (max-width: 900px) {
  .approach {
    padding: clamp(72px, 12vw, 120px) 0 clamp(60px, 8vw, 100px);
  }
  .approach-intro {
    margin-bottom: clamp(60px, 10vw, 100px);
    padding: 0 clamp(28px, 6vw, 40px);
  }
  .approach-intro .heading {
    font-size: clamp(28px, 6.4vw, 40px);
    line-height: 1.12;
  }
  /* Match the side margin used by .ap-row on the About page (`01 method`)
     so Origin / Gap / Method on the home page don't run flush to the edge. */
  .approach-row {
    padding: clamp(36px, 6vw, 56px) clamp(28px, 6vw, 40px);
  }
  .approach-row .label { font-size: 13px; }
  .approach-row .body p { font-size: 14.5px; }
}

@media (max-width: 540px) {
  .approach-intro,
  .approach-row {
    padding-left: 28px;
    padding-right: 28px;
  }
  .ap-row,
  .ap-spread,
  .ap-close {
    padding-left: 28px;
    padding-right: 28px;
  }
  .cc-latest__header {
    padding-left: 28px;
    padding-right: 28px;
  }
}

/* ── Statement block on mobile ─────────────────────────────── */
@media (max-width: 540px) {
  .approach-statement {
    padding: 72px 20px 72px;
  }
  .statement-body { font-size: clamp(20px, 5.8vw, 26px); }
  .statement-overline { font-size: 10px; }
}

/* ── Latest marquee — slow down on mobile so it's readable ── */
@media (max-width: 767px) {
  .cc-latest { padding: 64px 0; }
  .cc-latest__track {
    animation-duration: 260s;
    /* Make sure the animation starts immediately on first paint, even when
       the section is below the fold on mobile (some browsers defer
       off-screen CSS animations on first load). */
    animation-delay: 0s;
    animation-play-state: running;
    will-change: transform;
  }
  .cc-latest__card { flex: 0 0 260px; height: 260px; padding: 22px; }
  .cc-latest__title { font-size: 1.125rem; line-height: 1.22; }
  .cc-latest__desc { font-size: 0.875rem; line-height: 1.5; }
  .cc-latest__lede { font-size: 14px; line-height: 1.5; }
  .cc-latest__header { gap: 12px; }
}

/* Pause marquee when user reduces motion */
@media (prefers-reduced-motion: reduce) {
  .cc-latest__track { animation: none !important; }
}

/* ── Practice section on mobile ────────────────────────────── */
@media (max-width: 900px) {
  .practice-note { padding-left: 0; padding-right: var(--gutter); }
}

/* ── Approach (about) intro on mobile ──────────────────────── */
@media (max-width: 540px) {
  .ap-intro { padding: clamp(110px, 16vh, 160px) 0 clamp(60px, 10vw, 100px); }
  .ap-intro__heading { font-size: clamp(28px, 6.6vw, 40px); line-height: 1.12; }
  .ap-row { padding: clamp(36px, 6vw, 56px) var(--gutter); }
  .ap-row__lede { font-size: 15.5px; line-height: 1.5; }
  .ap-row__list li { font-size: 13.5px; padding: 12px 0; }
  .ap-row__label { font-size: 13px; }
  .ap-spread__title h2 { font-size: clamp(18px, 5.6vw, 26px); }
  .ap-spread__body p { font-size: clamp(16px, 4.4vw, 19px); line-height: 1.42; }
  .ap-spread { padding: clamp(64px, 12vw, 96px) var(--gutter); }
}

/* ── Modal on mobile — full-screen drawer, sticky footer ──── */
@media (max-width: 540px) {
  .modal {
    width: 100%;
    height: 100%;
  }
  .modal .modal-head { padding: 18px 20px; }
  .modal-body { padding: 28px 20px 48px; }
  .modal-title { font-size: clamp(28px, 8vw, 36px); margin-bottom: 24px; }
  .modal-tabs { width: 100%; }
  .modal-tab { flex: 1; padding: 12px 14px; font-size: 12.5px; text-align: center; }
  .modal-lede { font-size: 16px; }
  .form-grid { gap: 22px 16px; }
}

/* ── Network popup mobile adjustments ──────────────────────── */
@media (max-width: 540px) {
  .network-popup__title { font-size: 18px; }
  .network-popup__points li { font-size: 12.5px; }
  .network-popup__form input { font-size: 16px; padding: 14px 16px; }
  .network-popup__form button { padding: 0 16px; min-width: 76px; }
}

/* ── Footer on mobile ──────────────────────────────────────── */
@media (max-width: 540px) {
  footer { padding: 48px 0 24px; }
  .foot-definition { font-size: 18px; line-height: 1.32; margin-bottom: 48px; }
  .foot-wordmark { font-size: 36px; }
  .foot-grid { padding-bottom: 36px; gap: 28px; }
  .foot-bottom { flex-direction: column; gap: 8px; align-items: flex-start; padding-top: 20px; }
  .foot-bottom a { margin-left: 0; margin-right: 14px; }
}

/* ── Tweaks panel: hide on small viewports ─────────────────── */
@media (max-width: 720px) {
  .twk-panel { display: none !important; }
}

/* ── Video / image hints for performance ───────────────────── */
.hero video {
  display: block;
}
@media (max-width: 540px) {
  .hero video { object-position: 60% center; }
}

/* ── Body-lock when modal/popup open ───────────────────────── */
body.modal-open {
  overflow: hidden;
  position: fixed;
  width: 100%;
}

/* ── Selection styling ─────────────────────────────────────── */
::selection {
  background: var(--fg);
  color: var(--bg);
}

/* ── Focus ring (a11y) ─────────────────────────────────────── */
*:focus-visible {
  outline: 2px solid var(--fg);
  outline-offset: 3px;
  border-radius: 2px;
}
.nav .links a:focus-visible,
.modal-close:focus-visible,
.network-popup__close:focus-visible {
  outline-offset: 4px;
}
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: none;
}
