/* ============================================================
   805title · marketing site styles
   Editorial luxury. Paper + charcoal. Thin-line frame.
   Built on design_system/colors_and_type.css.
   ============================================================ */

:root {
  --paper: #FFFFFF;
  --paper-deep: #F4F4F4;
  --paper-alt: #FAFAFA;
  --ink: #0E0E0E;
  --ink-soft: #1A1A1A;

  /* Accents · monochrome is default; tweak swaps hue */
  --accent: #1A1A1A;
  --accent-fg: #FFFFFF;
  --accent-soft: rgba(26,26,26,0.06);

  --site-max: 1320px;
  --site-pad: clamp(24px, 5vw, 72px);
}

[data-accent="oxblood"] {
  --accent: #5B1F1A;
  --accent-fg: #FFFFFF;
  --accent-soft: rgba(91,31,26,0.08);
}
[data-accent="sage"] {
  --accent: #3B4A3A;
  --accent-fg: #FFFFFF;
  --accent-soft: rgba(59,74,58,0.08);
}

html, body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
* { box-sizing: border-box; }
body { overflow-x: hidden; }

a { color: inherit; text-decoration: none; border-bottom: 0; }

/* ---------- Utilities ---------- */
.eyebrow {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.eyebrow__rule {
  width: 42px;
  height: 1px;
  background: currentColor;
  opacity: 0.55;
  display: inline-block;
}
.eyebrow--small { font-size: 10px; letter-spacing: 0.24em; }
.eyebrow--inverse { color: rgba(255,255,255,0.92); }

.serif {
  font-family: var(--font-serif);
  font-weight: 400;
  letter-spacing: -0.01em;
  line-height: 1.04;
}
.serif em { font-style: italic; font-weight: 400; }

.display-xxl {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(64px, 10vw, 172px);
  line-height: 0.94;
  letter-spacing: -0.02em;
}
.display-xl {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(48px, 6.5vw, 104px);
  line-height: 0.98;
  letter-spacing: -0.015em;
}
.display-lg {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(40px, 4.8vw, 76px);
  line-height: 1.02;
  letter-spacing: -0.01em;
}
.display-md {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(28px, 3.2vw, 44px);
  line-height: 1.1;
  letter-spacing: -0.01em;
}

.body-lg { font-size: 17px; line-height: 1.55; color: var(--ink-body, #4A4A4A); font-weight: 400; }
.body { font-size: 15px; line-height: 1.6; color: var(--ink-body, #4A4A4A); }
.body-sm { font-size: 13px; line-height: 1.55; color: var(--ink-muted, #6A6A6A); }

/* Copy tone: quiet keeps serif for statements, bold lets headings feel assertive.
   Currently controlled by data-tone on root. */
[data-tone="bold"] .display-xxl,
[data-tone="bold"] .display-xl { font-weight: 500; letter-spacing: -0.025em; }
[data-tone="bold"] .section-title em { font-style: normal; }

/* ---------- Frame (signature brand motif) ---------- */
.frame {
  position: relative;
}
.frame::after {
  content: "";
  position: absolute;
  inset: 14px;
  border: 1px solid rgba(26,26,26,0.85);
  pointer-events: none;
}
.frame--inverse::after {
  border-color: rgba(255,255,255,0.35);
}
.frame--soft::after { border-color: rgba(26,26,26,0.15); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  height: 54px;
  padding: 0 26px;
  font-family: var(--font-sans);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  border-radius: 0;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 180ms var(--ease-standard, ease), background 160ms, color 160ms, border-color 160ms;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn__arrow { font-weight: 300; font-size: 20px; line-height: 1; }

.btn--primary { background: var(--accent); color: var(--accent-fg); border-color: var(--accent); }
.btn--primary:hover { background: #000; border-color: #000; }

.btn--ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: var(--paper); }

.btn--inverse { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.btn--inverse-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,0.5); }
.btn--inverse-ghost:hover { background: #fff; color: var(--ink); border-color: #fff; }

.btn--sm { height: 42px; padding: 0 18px; font-size: 10.5px; letter-spacing: 0.2em; }

/* ---------- Nav ---------- */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  padding: 0 var(--site-pad);
  background: rgba(241,236,226,0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(26,26,26,0.08);
}
.site-nav__inner {
  max-width: var(--site-max);
  margin: 0 auto;
  height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}
.site-nav__brand { display: flex; align-items: center; gap: 10px; }
.site-nav__brand img { height: 22px; width: auto; display: block; }
.site-nav__links {
  display: flex;
  gap: 34px;
  align-items: center;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}
.site-nav__links a {
  color: var(--ink);
  padding: 6px 0;
  position: relative;
  transition: opacity 160ms;
}
.site-nav__links a:hover { opacity: 0.6; }
.site-nav__links a.is-active::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 1.5px;
  background: var(--ink);
}
.site-nav__cta { display: flex; align-items: center; gap: 10px; }
.site-nav__phone {
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: var(--ink);
  display: flex;
  align-items: center;
  gap: 8px;
}
.site-nav__phone::before {
  content: '';
  width: 6px; height: 6px; border-radius: 50%;
  background: #6FAF8A;
  display: inline-block;
}

/* Hamburger toggle — hidden on desktop, visible on mobile */
.site-nav__toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  margin: 0;
  background: transparent;
  border: 0;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  position: relative;
  z-index: 60;
}
.site-nav__toggle-bar {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--ink, #1A1A1A);
  border-radius: 1px;
  transition: transform 0.25s ease, opacity 0.2s ease;
}
[data-theme="dark"] .site-nav__toggle-bar { background: #fff; }
.site-nav__toggle.is-open .site-nav__toggle-bar:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.site-nav__toggle.is-open .site-nav__toggle-bar:nth-child(2) { opacity: 0; }
.site-nav__toggle.is-open .site-nav__toggle-bar:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* Mobile drawer — full-viewport overlay. The hamburger morphs to an X; while
   the drawer is open the site-nav background + logo hide so the drawer is the
   only visible layer (the X stays — it's higher z-index). */
.site-nav__drawer {
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  height: 100dvh;
  background: #0E0E0E;
  z-index: 55;
  padding: 84px clamp(20px, 5vw, 40px) 32px;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  box-sizing: border-box;
  /* Slide in from the right; visibility waits until the slide-out completes
     so the drawer doesn't block taps on the underlying page when closed. */
  transform: translate3d(100%, 0, 0);
  visibility: hidden;
  transition: transform 0.32s cubic-bezier(0.22, 0.61, 0.36, 1), visibility 0s linear 0.32s;
  will-change: transform;
}
.site-nav__drawer.is-open {
  transform: translate3d(0, 0, 0);
  visibility: visible;
  transition: transform 0.32s cubic-bezier(0.22, 0.61, 0.36, 1), visibility 0s linear 0s;
}
/* While drawer is open, fade out the site-nav's blurred chrome + logo so the
   drawer is the only visible dark layer (toggle stays visible at z-index 60). */
body.is-nav-open .site-nav { background: transparent !important; backdrop-filter: none !important; -webkit-backdrop-filter: none !important; border-bottom-color: transparent !important; }
body.is-nav-open .site-nav__brand { opacity: 0; visibility: hidden; }
.site-nav__drawer-eyebrow {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(255,255,255,0.12);
  margin-bottom: 8px;
}
.site-nav__drawer-links {
  display: flex;
  flex-direction: column;
  font-family: var(--font-serif);
  font-size: clamp(24px, 5.5vw, 30px);
  font-weight: 400;
  letter-spacing: -0.005em;
  text-transform: none;
  flex: 0 0 auto;
}
.site-nav__drawer-links a {
  color: #fff;
  text-decoration: none;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  line-height: 1.15;
}
.site-nav__drawer-links a:last-child { border-bottom: 0; }
.site-nav__drawer-links a.is-active,
.site-nav__drawer-links a.current-menu-item { font-style: italic; }
.site-nav__drawer-foot {
  margin-top: auto;
  padding-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  border-top: 1px solid rgba(255,255,255,0.12);
}
.site-nav__drawer-phone {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: #fff;
  text-decoration: none;
  padding: 8px 0;
}
.site-nav__drawer-phone-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: #6FAF8A; display: inline-block;
}
.site-nav__drawer-cta {
  align-self: flex-start;
  background: #fff;
  color: #0E0E0E;
  border: 0;
}

body.is-nav-open { overflow: hidden; }

@media (max-width: 820px) {
  .site-nav__links { display: none; }
  /* Hide desktop phone + CTA — they live inside the drawer on mobile */
  .site-nav__cta { display: none; }
  .site-nav__toggle { display: flex; }
  .site-nav__inner { height: 64px; gap: 12px; }
  .site-nav__brand img { height: 18px; }
  /* Mobile drawer fills the viewport. padding-top accounts for the 64px header. */
  .site-nav__drawer { padding-top: 84px; }
}
@media (min-width: 821px) {
  .site-nav__drawer { display: none; }
}

/* ---------- Section shell ---------- */
.section {
  padding: clamp(72px, 10vw, 140px) var(--site-pad);
  position: relative;
}
.section--tight { padding: clamp(48px, 6vw, 96px) var(--site-pad); }
.section--dark { background: var(--ink); color: #fff; }
.section--paper-alt { background: var(--paper-alt); }
.section--paper-deep { background: var(--paper-deep); }
.section--ruled > .section__inner { border-top: 1px solid rgba(26,26,26,0.15); padding-top: clamp(72px, 10vw, 140px); }
[data-theme="dark"] .section--ruled > .section__inner { border-top-color: rgba(255,255,255,0.18); }
.section--ruled { padding-top: 0; }

.section__inner {
  max-width: var(--site-max);
  margin: 0 auto;
}

.section-head {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: clamp(24px, 4vw, 80px);
  align-items: end;
  margin-bottom: clamp(40px, 5vw, 72px);
}
.section-head__num {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--ink);
  padding-top: 8px;
  border-top: 1px solid var(--ink);
}
.section-head__num em {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  font-size: 20px;
  letter-spacing: 0;
  margin-right: 8px;
  vertical-align: -1px;
}
.section--dark .section-head__num { color: #fff; border-top-color: rgba(255,255,255,0.4); }
.section-title {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(38px, 5vw, 72px);
  line-height: 1.02;
  letter-spacing: -0.015em;
  margin: 0;
  text-wrap: pretty;
}
.section-title em { font-style: italic; }
.section-title__sub {
  grid-column: 2;
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(20px, 2.2vw, 28px);
  line-height: 1.25;
  letter-spacing: -0.005em;
  color: var(--color-ink-70, var(--ink-body, #4A4A4A));
  margin: 18px 0 0;
}
@media (max-width: 820px) {
  .section-title__sub { grid-column: 1; }
}
.section--dark .section-title__sub { color: rgba(255,255,255,0.92); }

@media (max-width: 820px) {
  .section-head { grid-template-columns: 1fr; gap: 18px; }
}

/* ---------- HERO · variant: paper editorial (default) ---------- */
.hero {
  padding: 40px var(--site-pad) 0;
  position: relative;
}
.hero__inner {
  max-width: var(--site-max);
  margin: 0 auto;
  padding: clamp(40px, 5vw, 80px) 0 clamp(40px, 4vw, 60px);
  position: relative;
}
.hero__eyebrow-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: clamp(40px, 6vw, 80px);
  gap: 24px;
  flex-wrap: wrap;
}
.hero__eyebrow-row .eyebrow__rule { width: 64px; }
.hero__meta {
  font-family: var(--font-sans);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--ink-body, #4A4A4A);
}
.hero__statement {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(58px, 9.5vw, 168px);
  line-height: 0.92;
  letter-spacing: -0.025em;
  margin: 0;
  text-wrap: balance;
}
.hero__statement em { font-style: italic; }
.hero__sub-row {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: clamp(24px, 4vw, 64px);
  align-items: start;
  margin-top: clamp(32px, 4vw, 60px);
  padding-top: 28px;
  border-top: 1px solid rgba(26,26,26,0.18);
}
.hero__lede {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(20px, 2.1vw, 28px);
  line-height: 1.3;
  color: var(--ink);
  max-width: 36ch;
}
.hero__actions { display: flex; flex-direction: column; gap: 14px; }
.hero__actions .btn { width: 100%; }
.hero__actions__meta {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-muted, #6A6A6A);
  font-weight: 600;
  display: flex; justify-content: space-between;
  padding-top: 6px;
}
@media (max-width: 820px) {
  .hero__sub-row { grid-template-columns: 1fr; }
  .hero__actions { margin-top: 18px; }
}

/* Stats strip at bottom of hero */
.hero-stats {
  max-width: var(--site-max);
  margin: 0 auto;
  padding: 28px 0 48px;
  border-top: 1px solid rgba(26,26,26,0.12);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
.hero-stats__item {
  padding: 0 24px;
  border-left: 1px solid rgba(26,26,26,0.12);
}
.hero-stats__item:first-child { border-left: 0; padding-left: 0; }
.hero-stats__num {
  font-family: var(--font-serif);
  font-size: clamp(32px, 3.6vw, 52px);
  line-height: 1;
  letter-spacing: -0.02em;
  font-feature-settings: "tnum";
  margin-bottom: 10px;
}
.hero-stats__num em { font-style: italic; font-weight: 400; font-size: 0.5em; margin-left: 4px; letter-spacing: 0; color: var(--ink-muted, #6A6A6A); }
.hero-stats__label {
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-muted, #6A6A6A);
  line-height: 1.3;
}
@media (max-width: 820px) {
  .hero-stats { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .hero-stats__item { border-left: 0; padding: 16px 0; border-top: 1px solid rgba(26,26,26,0.1); }
  .hero-stats__item:first-child, .hero-stats__item:nth-child(2) { border-top: 0; }
}

/* ---------- HERO variant: dark ---------- */
.hero--dark {
  background: var(--ink);
  color: #fff;
  margin-bottom: 0;
}
.hero--dark .hero__meta { color: rgba(255,255,255,0.92); }
.hero--dark .hero__sub-row { border-top-color: rgba(255,255,255,0.2); }
.hero--dark .hero__lede { color: #fff; }
.hero--dark .hero-stats { border-top-color: rgba(255,255,255,0.2); }
.hero--dark .hero-stats__item { border-left-color: rgba(255,255,255,0.2); }
.hero-stats__tagline {
  display: block;
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  font-size: 12.5px;
  line-height: 1.35;
  letter-spacing: 0;
  text-transform: none;
  color: var(--ink-muted, #6A6A6A);
  margin-top: 8px;
  max-width: 22ch;
}
.hero--dark .hero-stats__tagline { color: rgba(255,255,255,0.92); }
.hero--dark .hero-stats__num em,
.hero--dark .hero-stats__label,
.hero--dark .hero__actions__meta { color: rgba(255,255,255,0.92); }

/* ---------- HERO variant: split (mosaic) ---------- */
.hero--split .hero__inner {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: clamp(32px, 4vw, 72px);
  padding-top: clamp(24px, 3vw, 48px);
}
.hero--split .hero__statement { font-size: clamp(48px, 6.8vw, 112px); }
.hero--split .hero__media {
  position: relative;
  align-self: stretch;
  min-height: 520px;
}
.hero--split .hero__eyebrow-row { margin-bottom: 32px; }
@media (max-width: 900px) {
  .hero--split .hero__inner { grid-template-columns: 1fr; }
  .hero--split .hero__media { min-height: 360px; }
}

/* ---------- Image placeholders · striped SVG ---------- */
.image-placeholder {
  position: relative;
  width: 100%;
  height: 100%;
  background:
    repeating-linear-gradient(
      -45deg,
      rgba(26,26,26,0.06) 0 1px,
      transparent 1px 16px
    ),
    #F4F4F4;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 16px;
}
.image-placeholder--dark {
  background:
    repeating-linear-gradient(
      -45deg,
      rgba(255,255,255,0.06) 0 1px,
      transparent 1px 16px
    ),
    #222;
  color: rgba(255,255,255,0.92);
}
.image-placeholder__tag {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  color: rgba(26,26,26,0.55);
  text-transform: uppercase;
  display: flex; justify-content: space-between;
}
.image-placeholder--dark .image-placeholder__tag { color: rgba(255,255,255,0.92); }
.image-placeholder__caption {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 20px;
  color: rgba(26,26,26,0.5);
  max-width: 80%;
}
.image-placeholder--dark .image-placeholder__caption { color: rgba(255,255,255,0.92); }

/* ---------- Services · What we do ---------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(26,26,26,0.12);
  border: 1px solid rgba(26,26,26,0.12);
}
.service-card {
  background: var(--paper);
  padding: clamp(28px, 3vw, 48px) clamp(24px, 2.5vw, 40px) clamp(32px, 3.5vw, 56px);
  display: flex;
  flex-direction: column;
  min-height: 420px;
  position: relative;
  transition: background 220ms;
}
.service-card:hover { background: var(--paper-alt); }
.service-card__num {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  font-size: 32px;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin-bottom: 28px;
  display: flex;
  align-items: baseline;
  gap: 10px;
}
.service-card__num::after {
  content: '';
  flex: 1;
  height: 1px;
  background: rgba(26,26,26,0.2);
}
.service-card__eyebrow {
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--ink-muted, #6A6A6A);
  margin-bottom: 16px;
}
.service-card__title {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(26px, 2.6vw, 34px);
  line-height: 1.08;
  letter-spacing: -0.01em;
  margin: 0 0 16px;
}
.service-card__title em { font-style: italic; }
.service-card__body {
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--ink-body, #4A4A4A);
  margin-bottom: 24px;
  flex: 1;
}
.service-card__list {
  list-style: none;
  padding: 0;
  margin: 0 0 20px;
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink);
}
.service-card__list li {
  padding: 10px 0;
  border-top: 1px solid rgba(26,26,26,0.12);
  display: flex; align-items: center; justify-content: space-between;
}
.service-card__list li::after { content: '→'; font-weight: 300; font-size: 16px; opacity: 0.5; }
.service-card__link {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  display: inline-flex; align-items: center; gap: 10px;
  padding-top: 6px;
  border-top: 1px solid var(--ink);
  align-self: flex-start;
}
@media (max-width: 900px) {
  .services-grid { grid-template-columns: 1fr; }
}

/* ---------- Process · How it works ---------- */
.process {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 5vw, 96px);
  align-items: start;
}
.process__left { position: sticky; top: 120px; }
.process__left .hero-stats { padding: 24px 0 0; max-width: 480px; }
.process-steps {
  display: flex;
  flex-direction: column;
}
.process-step {
  padding: clamp(28px, 3vw, 44px) 0;
  border-top: 1px solid rgba(26,26,26,0.16);
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 24px;
  align-items: start;
}
.process-step:last-child { border-bottom: 1px solid rgba(26,26,26,0.16); }
.section--dark .process-step,
.section--dark .process-step:last-child { border-color: rgba(255,255,255,0.2); }
.process-step__num {
  font-family: var(--font-serif);
  font-size: 48px;
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.process-step__num em { font-style: italic; color: #888; font-size: 20px; margin-left: 4px; vertical-align: 10px; }
.section--dark .process-step__num em { color: rgba(255,255,255,0.92); }
.process-step__eyebrow {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--ink-muted, #6A6A6A);
  margin-bottom: 10px;
}
.section--dark .process-step__eyebrow { color: rgba(255,255,255,0.92); }
.process-step__title {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(22px, 2.1vw, 30px);
  line-height: 1.12;
  letter-spacing: -0.005em;
  margin: 0 0 10px;
}
.process-step__title em { font-style: italic; }
.process-step__body {
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--ink-body, #4A4A4A);
  margin: 0 0 16px;
  max-width: 52ch;
}
.section--dark .process-step__body { color: rgba(255,255,255,0.92); }
.process-step__meta {
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink);
  display: inline-flex; gap: 14px;
}
.section--dark .process-step__meta { color: #fff; }
.process-step__meta span { display: inline-flex; align-items: center; gap: 6px; }
.process-step__meta span::before {
  content: ''; width: 4px; height: 4px; border-radius: 50%;
  background: currentColor; display: inline-block;
}
@media (max-width: 900px) {
  .process { grid-template-columns: 1fr; }
  .process__left { position: static; }
  .process-step { grid-template-columns: 56px 1fr; gap: 16px; }
  .process-step__num { font-size: 36px; }
}

/* ---------- Team / About preview ---------- */
.team-group-label {
  margin: clamp(32px, 3vw, 48px) 0 clamp(16px, 1.5vw, 24px);
  padding-top: 20px;
  border-top: 1px solid rgba(26,26,26,0.15);
}
.team-group-label:first-child { margin-top: 0; border-top: 0; padding-top: 0; }
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(16px, 2vw, 28px);
}
.team-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.team-card__photo {
  aspect-ratio: 4/5;
  background:
    repeating-linear-gradient(-45deg, rgba(26,26,26,0.05) 0 1px, transparent 1px 14px),
    #EDE7D8;
  position: relative;
  overflow: hidden;
}
.team-card__photo .frame::after { inset: 10px; border-color: rgba(26,26,26,0.2); }
.team-card__initials {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(48px, 5vw, 80px);
  color: rgba(26,26,26,0.3);
  letter-spacing: -0.02em;
}
.team-card__kicker {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--ink-muted, #6A6A6A);
  display: flex; align-items: center; gap: 10px;
}
.team-card__kicker::before {
  content: '';
  flex-shrink: 0;
  width: 18px; height: 1px; background: currentColor;
}
.team-card__name {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: 22px;
  line-height: 1.1;
  letter-spacing: -0.005em;
  margin: 0;
}
.team-card__title {
  font-size: 12.5px;
  color: var(--ink-body, #4A4A4A);
}
.team-card__meta {
  margin-top: 6px;
  padding-top: 10px;
  border-top: 1px solid rgba(26,26,26,0.15);
  font-size: 10.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-muted, #6A6A6A);
  font-weight: 600;
  display: flex; justify-content: space-between;
}
@media (max-width: 900px) {
  .team-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 520px) {
  .team-grid { grid-template-columns: 1fr; }
}

/* ---------- Open an order (primary CTA band) ---------- */
.order-band {
  background: var(--ink);
  color: #fff;
  padding: clamp(64px, 8vw, 120px) var(--site-pad);
  position: relative;
}
.order-band__inner {
  max-width: var(--site-max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 96px);
  align-items: center;
}
.order-band__eyebrow {
  color: rgba(255,255,255,0.92);
  margin-bottom: 18px;
}
.order-band__title {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(40px, 5.5vw, 84px);
  line-height: 1.02;
  letter-spacing: -0.015em;
  margin: 0;
}
.order-band__title em { font-style: italic; }
.order-band__subtext {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(16px, 1.5vw, 22px);
  line-height: 1.4;
  color: rgba(255,255,255,0.92);
  margin: 18px 0 0;
  letter-spacing: 0;
  max-width: 32ch;
}
.order-band__actions {
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: flex-start;
}
.order-band__actions .btn { min-width: 260px; }
.order-band__statement {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.order-band__note {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(16px, 1.4vw, 19px);
  color: rgba(255,255,255,0.92);
  line-height: 1.55;
  max-width: 38ch;
  margin: 0 0 28px;
}
@media (max-width: 900px) {
  .order-band__inner { grid-template-columns: 1fr; }
}

/* Order-band: sharper CTA hierarchy + micro-proof line */
.order-band__proof {
  list-style: none;
  margin: 0 0 26px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
  border-top: 1px solid rgba(255,255,255,0.22);
  align-self: stretch;
  max-width: 380px;
}
.order-band__proof li {
  display: grid;
  grid-template-columns: 28px 1fr;
  align-items: baseline;
  gap: 14px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255,255,255,0.14);
  font-family: var(--font-sans);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.92);
}
.order-band__proof-num {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 14px;
  letter-spacing: 0;
  text-transform: none;
  color: rgba(255,255,255,0.92);
  font-weight: 400;
}
.btn--lg {
  height: 60px;
  padding: 0 32px;
  font-size: 12px;
  letter-spacing: 0.24em;
}
.order-band__secondary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 14px;
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.92);
  border-bottom: 1px solid rgba(255,255,255,0.35);
  padding: 6px 0;
  transition: color 140ms var(--ease-standard, ease), border-color 140ms var(--ease-standard, ease);
}
.order-band__secondary:hover {
  color: #fff;
  border-bottom-color: #fff;
}
.order-band__secondary .btn__arrow {
  font-style: normal;
  letter-spacing: 0;
}

/* ---------- Pull quote ---------- */
.pullquote {
  max-width: var(--site-max);
  margin: 0 auto;
  padding: clamp(60px, 8vw, 120px) var(--site-pad);
  text-align: center;
}
.pullquote__mark {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 120px;
  line-height: 0.5;
  color: var(--ink);
  margin-bottom: 24px;
  opacity: 0.4;
}
.pullquote__text {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(28px, 3.4vw, 48px);
  line-height: 1.25;
  letter-spacing: -0.005em;
  max-width: 26ch;
  margin: 0 auto 32px;
  color: var(--ink);
}
.pullquote__attrib {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--ink-muted, #6A6A6A);
}
.pullquote__attrib strong { color: var(--ink); font-weight: 700; margin-right: 8px; }
.pullquote__slides {
  position: relative;
  max-width: 75%;
  margin: 0 auto;
}
.pullquote__slides::before {
  /* reserve height for the tallest slide so we don't collapse during fades */
  content: '';
  display: block;
  visibility: hidden;
  pointer-events: none;
}
.pullquote__slide {
  opacity: 0;
  transition: opacity 700ms ease;
  pointer-events: none;
}
.pullquote__slide.is-active {
  opacity: 1;
  pointer-events: auto;
  position: relative;
}
.pullquote__slide:not(.is-active) {
  position: absolute;
  inset: 0;
}
.pullquote__slide .pullquote__text { max-width: none; }
.pullquote__dots {
  display: flex;
  gap: 10px;
  justify-content: center;
  margin-top: 36px;
}
.pullquote__dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  border: 1px solid var(--ink);
  background: transparent;
  padding: 0;
  cursor: pointer;
  opacity: 0.4;
  transition: opacity 200ms ease, background 200ms ease;
}
.pullquote__dot.is-active {
  background: var(--ink);
  opacity: 1;
}
.pullquote__dot:hover { opacity: 0.85; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--ink);
  color: rgba(255,255,255,0.92);
  padding: clamp(64px, 7vw, 96px) var(--site-pad) 40px;
}
.site-footer__inner {
  max-width: var(--site-max);
  margin: 0 auto;
}
.site-footer__top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.2);
}
.site-footer__brand {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 36px;
  letter-spacing: -0.01em;
  color: #fff;
  margin: 0 0 18px;
  line-height: 1.05;
}
.site-footer__addr {
  font-size: 12.5px;
  line-height: 1.7;
  letter-spacing: 0.02em;
}
.site-footer__addr strong {
  display: block;
  color: #fff;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 10.5px;
  margin-bottom: 10px;
}
.site-footer__col h4 {
  font-family: var(--font-sans);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: #fff;
  margin: 0 0 18px;
}
.site-footer__col ul {
  list-style: none;
  padding: 0; margin: 0;
  display: flex; flex-direction: column;
  gap: 10px;
  font-size: 13px;
}
.site-footer__col a { transition: color 160ms; }
.site-footer__col a:hover { color: #fff; }
.site-footer__legal {
  padding-top: 28px;
  display: flex; justify-content: space-between;
  gap: 24px;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.92);
}
.site-footer__wordmark {
  font-family: var(--font-serif);
  font-size: 260px;
  line-height: 0.7;
  letter-spacing: -0.04em;
  color: rgba(255,255,255,0.92);
  margin: 48px 0 -24px;
  overflow: hidden;
  white-space: nowrap;
  text-align: center;
}
.site-footer__wordmark em { font-style: italic; }
@media (max-width: 900px) {
  .site-footer__top { grid-template-columns: 1fr 1fr; gap: 36px; }
  .site-footer__legal { flex-direction: column; gap: 10px; }
  .site-footer__wordmark { font-size: 120px; }
}

/* ---------- Marquee ---------- */
.marquee {
  overflow: hidden;
  padding: 24px 0;
  border-top: 1px solid rgba(26,26,26,0.15);
  border-bottom: 1px solid rgba(26,26,26,0.15);
  background: var(--paper);
  white-space: nowrap;
}
.marquee__track {
  display: inline-flex;
  gap: 64px;
  animation: marquee 60s linear infinite;
  padding-left: 64px;
}
.marquee__item {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(22px, 2.4vw, 34px);
  color: var(--ink);
  letter-spacing: -0.01em;
  display: inline-flex;
  align-items: center;
  gap: 64px;
}
.marquee__item::after {
  content: '✺';
  font-size: 0.6em;
  color: rgba(26,26,26,0.35);
}
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ---------- App strip (subtle mention) ---------- */
.app-strip {
  max-width: var(--site-max);
  margin: 0 auto;
  padding: clamp(56px, 6vw, 96px) var(--site-pad);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 96px);
  align-items: center;
}
.app-strip__copy .eyebrow { margin-bottom: 16px; }
.app-strip__title {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(28px, 3.2vw, 44px);
  line-height: 1.08;
  letter-spacing: -0.01em;
  margin: 0 0 16px;
}
.app-strip__title em { font-style: italic; }
.app-strip__body { max-width: 48ch; margin: 0 0 20px; }
.app-strip__phone {
  aspect-ratio: 9/18;
  max-width: 320px;
  margin: 0 auto;
  background: var(--ink);
  border-radius: 38px;
  padding: 10px;
  position: relative;
  box-shadow: 0 30px 80px rgba(26,26,26,0.2);
}
.app-strip__phone-inner {
  background: var(--paper);
  height: 100%;
  border-radius: 28px;
  position: relative;
  overflow: hidden;
  padding: 24px 18px;
}
.app-strip__phone-notch {
  position: absolute;
  top: 18px; left: 50%;
  width: 88px; height: 22px;
  background: var(--ink);
  border-radius: 20px;
  transform: translateX(-50%);
  z-index: 2;
}
@media (max-width: 900px) {
  .app-strip { grid-template-columns: 1fr; }
  .app-strip__phone { max-width: 260px; }
}

/* ---------- Tweaks panel ---------- */
.tweaks-panel {
  position: fixed;
  bottom: 20px; right: 20px;
  width: 280px;
  background: var(--paper);
  border: 1px solid var(--ink);
  padding: 18px;
  z-index: 200;
  font-family: var(--font-sans);
  box-shadow: 0 20px 60px rgba(26,26,26,0.25);
  display: none;
}
.tweaks-panel.is-visible { display: block; }
.tweaks-panel__title {
  font-size: 10px; font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  margin-bottom: 14px;
  display: flex; justify-content: space-between; align-items: center;
}
.tweaks-panel__group { margin-bottom: 12px; }
.tweaks-panel__label {
  font-size: 9px; font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-muted, #6A6A6A);
  margin-bottom: 6px;
}
.tweak-options { display: flex; gap: 4px; }
.tweak-option {
  flex: 1;
  padding: 8px 6px;
  font-size: 9.5px; font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border: 1px solid rgba(26,26,26,0.15);
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  transition: all 140ms;
  font-family: inherit;
}
.tweak-option:hover { border-color: var(--ink); }
.tweak-option--active {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
}

/* ---------- Page header (for inner pages) ---------- */
.page-header {
  padding: clamp(80px, 10vw, 140px) var(--site-pad) clamp(48px, 6vw, 80px);
  border-bottom: 1px solid rgba(26,26,26,0.15);
}
.page-header__inner {
  max-width: var(--site-max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: clamp(32px, 4vw, 80px);
  align-items: end;
}
.page-header__kicker {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--ink-muted, #6A6A6A);
  margin-bottom: 20px;
}
.page-header__title {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(52px, 8vw, 140px);
  line-height: 0.95;
  letter-spacing: -0.02em;
  margin: 0;
}
.page-header__title em { font-style: italic; }
.page-header__lede {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(18px, 2vw, 26px);
  line-height: 1.35;
  color: var(--ink);
}
@media (max-width: 900px) {
  .page-header__inner { grid-template-columns: 1fr; }
}

/* ---------- For Agents page · feature grid + app mockup ---------- */
.feature-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 5vw, 96px);
  align-items: center;
  padding: clamp(48px, 6vw, 96px) 0;
  border-top: 1px solid rgba(26,26,26,0.15);
}
.feature-row:first-of-type { border-top: 0; }
.feature-row--reversed > :first-child { order: 2; }
.feature-row__title {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(32px, 4vw, 60px);
  line-height: 1.02;
  letter-spacing: -0.015em;
  margin: 14px 0 18px;
}
.feature-row__title em { font-style: italic; }
.feature-row__body { max-width: 48ch; margin: 0 0 20px; font-size: 16px; line-height: 1.55; color: var(--ink-body, #4A4A4A); }
.feature-row__list {
  list-style: none;
  padding: 0; margin: 20px 0 0;
  border-top: 1px solid rgba(26,26,26,0.15);
}
.feature-row__list li {
  padding: 14px 0;
  border-bottom: 1px solid rgba(26,26,26,0.15);
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 20px;
  align-items: center;
  font-size: 14px;
  color: var(--ink-body, #4A4A4A);
}
.feature-row__list li::before {
  content: attr(data-label);
  font-family: var(--font-sans);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--ink);
}

.feature-visual {
  aspect-ratio: 5/4;
  position: relative;
}
@media (max-width: 1100px) {
  .feature-row, .feature-row--reversed { grid-template-columns: 1fr; }
  .feature-row--reversed > :first-child { order: 0; }
  .feature-visual { aspect-ratio: 4/3; }
}
@media (max-width: 560px) {
  .feature-row__list li {
    grid-template-columns: 1fr;
    gap: 6px;
  }
}

/* ---------- Spec table ---------- */
.spec-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13.5px;
}
.spec-table th, .spec-table td {
  padding: 18px 4px;
  text-align: left;
  border-bottom: 1px solid rgba(26,26,26,0.15);
  vertical-align: top;
}
.spec-table th {
  font-family: var(--font-sans);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--ink);
  width: 30%;
}
.spec-table td { color: var(--ink-body, #4A4A4A); line-height: 1.55; }

/* ---------- About page bits ---------- */
.about-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 96px);
  max-width: var(--site-max);
  margin: 0 auto;
  padding: clamp(48px, 6vw, 96px) var(--site-pad);
}
.about-intro__body p {
  font-size: 16.5px;
  line-height: 1.65;
  color: #2A2A2A;
  margin: 0 0 18px;
}
.about-intro__body p:first-letter {
  font-family: var(--font-serif);
  font-size: 4em;
  font-weight: 400;
  float: left;
  line-height: 0.85;
  margin: 6px 12px 0 0;
  color: var(--ink);
}
.about-intro__side .eyebrow { margin-bottom: 20px; }
.about-intro__facts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border-top: 1px solid rgba(26,26,26,0.15);
}
.about-intro__facts div {
  padding: 22px 0;
  border-bottom: 1px solid rgba(26,26,26,0.15);
}
.about-intro__facts div:nth-child(odd) { padding-right: 18px; }
.about-intro__facts div:nth-child(even) { padding-left: 18px; border-left: 1px solid rgba(26,26,26,0.15); }
.about-intro__facts dt {
  font-size: 10.5px; font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--ink-muted, #6A6A6A);
  margin-bottom: 10px;
}
.about-intro__facts dd {
  font-family: var(--font-serif);
  font-size: 28px;
  line-height: 1;
  margin: 0;
  letter-spacing: -0.01em;
}
.about-intro__facts dd em { font-style: italic; font-size: 16px; color: var(--ink-muted, #6A6A6A); margin-left: 4px; }
@media (max-width: 820px) {
  .about-intro { grid-template-columns: 1fr; }
}

/* ---------- Timeline / milestones ---------- */
.milestones {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 24px;
  align-items: start;
  padding: 22px 0;
  border-top: 1px solid rgba(26,26,26,0.15);
}
.milestones:last-child { border-bottom: 1px solid rgba(26,26,26,0.15); }
.milestones__year {
  font-family: var(--font-serif);
  font-size: 34px;
  line-height: 1;
  letter-spacing: -0.015em;
}
.milestones__year em { font-style: italic; font-size: 16px; color: var(--ink-muted, #6A6A6A); }
.milestones__title {
  font-family: var(--font-serif);
  font-size: clamp(20px, 2vw, 28px);
  line-height: 1.15;
  margin: 0 0 6px;
}
.milestones__body { color: var(--ink-body, #4A4A4A); font-size: 14.5px; line-height: 1.55; margin: 0; max-width: 60ch; }
@media (max-width: 720px) {
  .milestones { grid-template-columns: 1fr; }
  .milestones__year { font-size: 24px; }
}

/* ---------- Mini nav spacer ---------- */
.pad-lg { padding: clamp(48px, 6vw, 96px) 0; }

/* ---------- Card grid (numbered list) ---------- */
.nums-list {
  counter-reset: ns;
  display: grid;
  gap: 0;
  border-top: 1px solid rgba(26,26,26,0.15);
}
.nums-list__item {
  display: grid;
  grid-template-columns: 80px 1.3fr 2fr;
  gap: 24px;
  padding: 24px 0;
  border-bottom: 1px solid rgba(26,26,26,0.15);
  counter-increment: ns;
}
.nums-list__item::before {
  content: counter(ns, decimal-leading-zero);
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 30px;
  color: var(--ink-muted, #6A6A6A);
  font-variant-numeric: tabular-nums;
}
.nums-list__title {
  font-family: var(--font-serif);
  font-size: clamp(20px, 2vw, 28px);
  line-height: 1.1;
  margin: 0;
  letter-spacing: -0.005em;
}
.nums-list__body { color: var(--ink-body, #4A4A4A); font-size: 14.5px; line-height: 1.6; margin: 0; }
@media (max-width: 720px) {
  .nums-list__item { grid-template-columns: 56px 1fr; }
  .nums-list__item .nums-list__body { grid-column: 2; }
}

/* ---------- Standard of care section ---------- */
.standard { background: var(--paper-alt); }

.standard__lede {
  font-family: var(--font-serif);
  font-weight: 400;
  font-style: normal;
  font-size: clamp(22px, 2.6vw, 36px);
  line-height: 1.3;
  letter-spacing: -0.005em;
  color: var(--ink);
  max-width: 36ch;
  margin: 0 0 clamp(56px, 7vw, 96px);
  text-wrap: balance;
}
.standard__lede em { font-style: italic; }

.standard__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
}
.standard__col {
  padding: clamp(36px, 4vw, 56px) clamp(28px, 3.5vw, 56px) clamp(36px, 4vw, 56px) 0;
  position: relative;
}
.standard__col + .standard__col {
  padding-left: clamp(28px, 3.5vw, 56px);
  padding-right: 0;
  border-left: 1px solid rgba(26,26,26,0.18);
}
.standard__col-num {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 22px;
  color: var(--ink);
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 22px;
}
.standard__col-num::after {
  content: '';
  flex: 1;
  height: 1px;
  background: rgba(26,26,26,0.25);
}
.standard__col-eyebrow {
  font-family: var(--font-sans);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--ink-body, #4A4A4A);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
}
.standard__col-eyebrow .eyebrow__rule {
  width: 28px; height: 1px; background: currentColor; opacity: 0.55; display: inline-block;
}
.standard__col-title {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(24px, 2.4vw, 34px);
  line-height: 1.12;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin: 0 0 18px;
  text-wrap: pretty;
  max-width: 22ch;
}
.standard__col-title em { font-style: italic; }
.standard__col-body {
  font-family: var(--font-sans);
  font-size: 15px;
  line-height: 1.65;
  color: #3A3A3A;
  margin: 0 0 28px;
  max-width: 44ch;
}

/* Underwriter partners list */
.standard__partners {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid rgba(26,26,26,0.18);
}
.standard__partners li {
  display: grid;
  grid-template-columns: 36px 1fr auto;
  align-items: baseline;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid rgba(26,26,26,0.12);
}
.standard__partners-num {
  font-family: var(--font-sans);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.2em;
  color: var(--ink-muted, #6A6A6A);
  font-variant-numeric: tabular-nums;
}
.standard__partners-name {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(20px, 1.8vw, 26px);
  line-height: 1;
  color: var(--ink);
  letter-spacing: -0.005em;
}
.standard__partners-meta {
  font-family: var(--font-sans);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-muted, #6A6A6A);
}

/* Discipline list */
.standard__discipline {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid rgba(26,26,26,0.18);
  counter-reset: disc;
}
.standard__discipline li {
  display: grid;
  grid-template-columns: 36px 1fr;
  align-items: center;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(26,26,26,0.12);
  counter-increment: disc;
  font-family: var(--font-sans);
  font-size: 14px;
  color: var(--ink);
}
.standard__discipline li::before {
  content: counter(disc, decimal-leading-zero);
  font-family: var(--font-sans);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.2em;
  color: var(--ink-muted, #6A6A6A);
  font-variant-numeric: tabular-nums;
}

/* Soft CTA */
.standard__cta {
  margin-top: clamp(64px, 8vw, 112px);
  text-align: center;
  max-width: 980px;
  margin-left: auto;
  margin-right: auto;
}
.standard__cta-rule {
  width: 56px;
  height: 1px;
  background: var(--ink);
  margin: 0 auto 32px;
  opacity: 0.6;
}
.standard__cta-text {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(26px, 3.2vw, 46px);
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin: 0 0 36px;
  text-wrap: balance;
}
.standard__cta-text em { font-style: italic; }
.standard__cta-tail {
  font-style: italic;
  color: var(--ink-body, #4A4A4A);
  display: inline;
}
.standard__cta-actions {
  display: inline-flex;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: center;
}

@media (max-width: 820px) {
  .standard__grid { grid-template-columns: 1fr; }
  .standard__col { padding: clamp(32px, 6vw, 48px) 0; }
  .standard__col + .standard__col {
    padding-left: 0;
    border-left: none;
    border-top: 1px solid rgba(26,26,26,0.18);
  }
}

/* ============================================================
   Journal · editorial blog index
   ============================================================ */
.journal-featured {
  padding: clamp(48px, 6vw, 96px) var(--site-pad) clamp(32px, 4vw, 64px);
}
.journal-featured__inner {
  max-width: var(--site-max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: clamp(32px, 5vw, 80px);
  align-items: stretch;
}
.journal-featured__visual {
  background: var(--paper-alt);
  border: 1px solid rgba(26,26,26,0.15);
  position: relative;
  min-height: 460px;
  overflow: hidden;
}
.journal-featured__visual::before {
  content: "";
  position: absolute;
  inset: 14px;
  border: 1px solid rgba(26,26,26,0.18);
  pointer-events: none;
}
.journal-featured__plate {
  position: absolute;
  left: 32px; right: 32px; bottom: 32px;
  background: var(--paper);
  border: 1px solid var(--ink);
  padding: 22px 24px 20px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.journal-featured__plate-num {
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--ink-muted, #6A6A6A);
}
.journal-featured__plate-title {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 22px;
  line-height: 1.2;
  color: var(--ink);
}
.journal-featured__visual-stripes {
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(
      32deg,
      transparent 0,
      transparent 26px,
      rgba(26,26,26,0.05) 26px,
      rgba(26,26,26,0.05) 27px
    );
}
.journal-featured__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.journal-featured__cat {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--ink);
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 28px;
}
.journal-featured__cat::before {
  content: "";
  display: inline-block;
  width: 36px; height: 1px;
  background: var(--ink);
}
.journal-featured__title {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(40px, 5vw, 72px);
  line-height: 1.02;
  letter-spacing: -0.015em;
  margin: 0 0 24px;
  color: var(--ink);
}
.journal-featured__title em { font-style: italic; }
.journal-featured__deck {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(18px, 1.6vw, 22px);
  line-height: 1.45;
  color: #2A2A2A;
  margin: 0 0 32px;
  max-width: 44ch;
}
.journal-featured__meta {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-muted, #6A6A6A);
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  padding-top: 22px;
  border-top: 1px solid rgba(26,26,26,0.18);
}
.journal-featured__meta strong { color: var(--ink); font-weight: 700; }

/* ----- Filter strip ----- */
.journal-filters {
  border-top: 1px solid rgba(26,26,26,0.15);
  border-bottom: 1px solid rgba(26,26,26,0.15);
  background: var(--paper);
}
.journal-filters__inner {
  max-width: var(--site-max);
  margin: 0 auto;
  padding: 18px var(--site-pad);
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
.journal-filters__label {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--ink-muted, #6A6A6A);
}
.journal-filters__list {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
}
.journal-filters__list a {
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  padding-bottom: 2px;
  transition: border-color 140ms ease;
}
.journal-filters__list a.is-active,
.journal-filters__list a:hover {
  border-bottom-color: var(--ink);
}
.journal-filters__count {
  margin-left: auto;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 14px;
  color: var(--ink-muted, #6A6A6A);
}

/* ----- Article grid ----- */
.journal-grid {
  padding: clamp(48px, 6vw, 96px) var(--site-pad) clamp(40px, 5vw, 80px);
}
.journal-grid__inner {
  max-width: var(--site-max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(28px, 3vw, 48px) clamp(24px, 2.5vw, 40px);
}
.journal-card {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: var(--ink);
  border-top: 1px solid var(--ink);
  padding-top: 22px;
  transition: transform 220ms var(--ease-standard, ease);
}
.journal-card:hover {
  transform: translateY(-2px);
}
.journal-card__head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--ink-muted, #6A6A6A);
  margin-bottom: 16px;
}
.journal-card__cat { color: var(--ink); }
.journal-card__visual {
  background: var(--paper-alt);
  border: 1px solid rgba(26,26,26,0.15);
  position: relative;
  aspect-ratio: 4 / 3;
  margin-bottom: 22px;
  overflow: hidden;
}
.journal-card__visual::before {
  content: "";
  position: absolute;
  inset: 10px;
  border: 1px solid rgba(26,26,26,0.18);
  pointer-events: none;
}
.journal-card__visual-stripes {
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(
      32deg,
      transparent 0,
      transparent 22px,
      rgba(26,26,26,0.045) 22px,
      rgba(26,26,26,0.045) 23px
    );
}
.journal-card__visual-num {
  position: absolute;
  bottom: 18px; left: 22px;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 18px;
  color: var(--ink-muted, #6A6A6A);
}
.journal-card__visual-tag {
  position: absolute;
  top: 18px; right: 22px;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--ink-muted, #6A6A6A);
}
.journal-card__title {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(22px, 1.8vw, 30px);
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin: 0 0 14px;
  text-wrap: balance;
}
.journal-card__title em { font-style: italic; }
.journal-card__excerpt {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 15px;
  line-height: 1.5;
  color: #3A3A3A;
  margin: 0 0 22px;
}
.journal-card__byline {
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid rgba(26,26,26,0.15);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-muted, #6A6A6A);
  display: flex;
  justify-content: space-between;
}
.journal-card__byline strong { color: var(--ink); font-weight: 700; }

/* ----- Subscribe band ----- */
.journal-subscribe {
  background: var(--paper-alt);
  border-top: 1px solid rgba(26,26,26,0.15);
  border-bottom: 1px solid rgba(26,26,26,0.15);
  padding: clamp(64px, 8vw, 120px) var(--site-pad);
}
.journal-subscribe__inner {
  max-width: var(--site-max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 80px);
  align-items: center;
}
.journal-subscribe__title {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(36px, 4.5vw, 64px);
  line-height: 1.05;
  letter-spacing: -0.015em;
  margin: 0;
}
.journal-subscribe__title em { font-style: italic; }
.journal-subscribe__form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.journal-subscribe__lede {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 18px;
  line-height: 1.5;
  color: #3A3A3A;
  margin: 0;
}
.journal-subscribe__row {
  display: flex;
  gap: 8px;
  border-bottom: 1px solid var(--ink);
  padding-bottom: 6px;
}
.journal-subscribe__input {
  flex: 1;
  border: 0;
  background: transparent;
  padding: 14px 0;
  font-family: var(--font-sans);
  font-size: 16px;
  color: var(--ink);
  outline: none;
}
.journal-subscribe__input::placeholder { color: #8A8A8A; font-style: italic; font-family: var(--font-serif); }
.journal-subscribe__submit {
  background: var(--ink);
  color: #fff;
  border: 0;
  padding: 0 24px;
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  cursor: pointer;
  white-space: nowrap;
}
.journal-subscribe__fineprint {
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-muted, #6A6A6A);
  font-weight: 600;
}

@media (max-width: 900px) {
  .journal-featured__inner { grid-template-columns: 1fr; }
  .journal-featured__visual { min-height: 320px; }
  .journal-grid__inner { grid-template-columns: 1fr; }
  .journal-subscribe__inner { grid-template-columns: 1fr; }
}
@media (min-width: 901px) and (max-width: 1100px) {
  .journal-grid__inner { grid-template-columns: repeat(2, 1fr); }
}

/* ============================================================
   DARK THEME · applies to whole page when [data-theme="dark"]
   Inverts paper↔ink across components, keeps editorial rhythm.
   ============================================================ */
[data-theme="dark"] {
  --paper: #1A1A1A;
  --paper-alt: #1F1F1F;
  --paper-deep: #232323;
  --ink: #FFFFFF;
  --ink-soft: #EFEFEF;
}
[data-theme="dark"] body {
  background: #0E0E0E;
  color: #EAEAEA;
}

/* ----- Components that use var(--ink) as a BACKGROUND
   need an explicit dark surface instead of the now-white token. ----- */
[data-theme="dark"] .hero--dark { background: #0E0E0E; color: #fff; }
[data-theme="dark"] .section--dark { background: #0E0E0E; color: #fff; }
[data-theme="dark"] .order-band { background: #050505; }
[data-theme="dark"] .site-footer { background: #050505; color: rgba(255,255,255,0.92); }
[data-theme="dark"] .app-strip__phone { background: #050505; }
[data-theme="dark"] .app-strip__phone-notch { background: #050505; }
[data-theme="dark"] .btn--ghost:hover { background: #fff; color: #0E0E0E; }
[data-theme="dark"] .btn--inverse { background: #0E0E0E; color: #fff; border-color: #0E0E0E; }

/* ----- Nav (matches dark hero treatment) ----- */
[data-theme="dark"] .site-nav {
  background: rgba(14,14,14,0.88);
  border-bottom-color: rgba(255,255,255,0.12);
}
[data-theme="dark"] .site-nav__links a,
[data-theme="dark"] .site-nav__phone,
[data-theme="dark"] .site-nav__brand { color: #fff; }
[data-theme="dark"] .site-nav__brand img { filter: invert(1) brightness(1.1); }
[data-theme="dark"] .site-nav__links a.is-active::after { background: #fff; }
[data-theme="dark"] .site-nav__links a::after { background: #fff; }
[data-theme="dark"] .site-nav .btn--primary { background: #fff; color: #0E0E0E; border-color: #fff; }
[data-theme="dark"] .site-nav .btn--primary:hover { background: #EAEAEA; border-color: #EAEAEA; }
[data-theme="dark"] .site-nav__phone::before { background: #6BD46B; box-shadow: 0 0 0 4px rgba(107,212,107,0.18); }

/* ----- Page header ----- */
[data-theme="dark"] .page-header {
  background: #0E0E0E;
  border-bottom-color: rgba(255,255,255,0.12);
}
[data-theme="dark"] .page-header__kicker { color: rgba(255,255,255,0.92); }
[data-theme="dark"] .page-header__title { color: #fff; }
[data-theme="dark"] .page-header__lede { color: rgba(255,255,255,0.92); }

/* ----- Generic sections ----- */
[data-theme="dark"] .section { color: #EAEAEA; }
[data-theme="dark"] .section--paper-alt { background: #161616; }
[data-theme="dark"] .section--paper-deep { background: #1A1A1A; }
[data-theme="dark"] .section--dark { background: #0E0E0E; }
[data-theme="dark"] .section-head__num { color: #fff; border-top-color: rgba(255,255,255,0.4); }
[data-theme="dark"] .section-title { color: #fff; }
[data-theme="dark"] .section-title__sub { color: rgba(255,255,255,0.92); }

/* ----- Eyebrows / kickers ----- */
[data-theme="dark"] .eyebrow { color: rgba(255,255,255,0.92); }
[data-theme="dark"] .eyebrow__rule { background: rgba(255,255,255,0.55); }

/* ----- Buttons ----- */
[data-theme="dark"] .btn--primary {
  background: #fff; color: #0E0E0E; border-color: #fff;
}
[data-theme="dark"] .btn--primary:hover { background: #EAEAEA; border-color: #EAEAEA; }
[data-theme="dark"] .btn--ghost { color: #fff; border-color: rgba(255,255,255,0.5); }
[data-theme="dark"] .btn--ghost:hover { background: #fff; color: #0E0E0E; border-color: #fff; }

/* ----- Marquee ----- */
[data-theme="dark"] .marquee {
  background: #0E0E0E;
  border-top-color: rgba(255,255,255,0.15);
  border-bottom-color: rgba(255,255,255,0.15);
}
[data-theme="dark"] .marquee__item { color: rgba(255,255,255,0.92); }

/* ----- Frame motif ----- */
[data-theme="dark"] .frame::after { border-color: rgba(255,255,255,0.35); }
[data-theme="dark"] .frame--soft::after { border-color: rgba(255,255,255,0.18); }

/* ----- Service cards (home) ----- */
[data-theme="dark"] .service-card { background: #161616; color: #EAEAEA; }
[data-theme="dark"] .service-card:hover { background: #1F1F1F; }
[data-theme="dark"] .service-card__num { color: #fff; }
[data-theme="dark"] .service-card__title { color: #fff; }
[data-theme="dark"] .service-card__body { color: rgba(255,255,255,0.92); }
[data-theme="dark"] .service-card__list-label { color: #fff; }
[data-theme="dark"] .service-card__list li { color: rgba(255,255,255,0.92); border-color: rgba(255,255,255,0.18); }
[data-theme="dark"] .service-card__cta { color: #fff; border-top-color: rgba(255,255,255,0.4); }

/* ----- Standard of Care section ----- */
[data-theme="dark"] .standard { background: #161616; }
[data-theme="dark"] .standard__lede { color: #fff; }
[data-theme="dark"] .standard__grid { border-top-color: rgba(255,255,255,0.4); border-bottom-color: rgba(255,255,255,0.4); }
[data-theme="dark"] .standard__col + .standard__col { border-left-color: rgba(255,255,255,0.18); }
[data-theme="dark"] .standard__title { color: #fff; }
[data-theme="dark"] .standard__discipline li { color: rgba(255,255,255,0.92); }
[data-theme="dark"] .standard__cta-rule { background: #fff; }
[data-theme="dark"] .standard__cta-text { color: #fff; }
[data-theme="dark"] .standard__cta-tail { color: rgba(255,255,255,0.92); }

/* ----- Pull quote ----- */
[data-theme="dark"] .pullquote__mark { color: #fff; }
[data-theme="dark"] .pullquote__text { color: #fff; }
[data-theme="dark"] .pullquote__attrib { color: rgba(255,255,255,0.92); }
[data-theme="dark"] .pullquote__attrib strong { color: #fff; }
[data-theme="dark"] .pullquote__dot { border-color: #fff; }
[data-theme="dark"] .pullquote__dot.is-active { background: #fff; }

/* ----- Hero stats (used on home + agents) ----- */
[data-theme="dark"] .hero-stats { border-color: rgba(255,255,255,0.2) !important; }
[data-theme="dark"] .hero-stats__item { border-color: rgba(255,255,255,0.2); }
[data-theme="dark"] .hero-stats__num { color: #fff; }
[data-theme="dark"] .hero-stats__label { color: rgba(255,255,255,0.92); }
[data-theme="dark"] .hero-stats__tagline { color: rgba(255,255,255,0.92); }

/* ----- Process steps (agents page) ----- */
[data-theme="dark"] .process-step { border-top-color: rgba(255,255,255,0.2); }
[data-theme="dark"] .process-step:last-child { border-bottom-color: rgba(255,255,255,0.2); }
[data-theme="dark"] .process-step__num { color: #fff; }
[data-theme="dark"] .process-step__num em { color: rgba(255,255,255,0.92); }
[data-theme="dark"] .process-step__eyebrow { color: rgba(255,255,255,0.92); }
[data-theme="dark"] .process-step__title { color: #fff; }
[data-theme="dark"] .process-step__body { color: rgba(255,255,255,0.92); }
[data-theme="dark"] .process-step__meta { color: #fff; }

/* ----- Feature rows (agents page) ----- */
[data-theme="dark"] .feature-row { border-top-color: rgba(255,255,255,0.18); }
[data-theme="dark"] .feature-row__title { color: #fff; }
[data-theme="dark"] .feature-row__body { color: rgba(255,255,255,0.92); }
[data-theme="dark"] .feature-row__list { border-top-color: rgba(255,255,255,0.2); }
[data-theme="dark"] .feature-row__list li { border-bottom-color: rgba(255,255,255,0.18); color: rgba(255,255,255,0.92); }
[data-theme="dark"] .feature-row__list li::before { color: #fff; }

/* ----- App strip (agents) ----- */
[data-theme="dark"] .app-strip__title { color: #fff; }
[data-theme="dark"] .app-strip__body { color: rgba(255,255,255,0.92); }

/* ----- Image placeholders (agents) -----
   Keep them lighter so screenshots/cards inside still read; outline becomes paper. */
[data-theme="dark"] .image-placeholder {
  background:
    repeating-linear-gradient(
      32deg,
      transparent 0,
      transparent 26px,
      rgba(255,255,255,0.06) 26px,
      rgba(255,255,255,0.06) 27px
    ),
    #161616;
  border: 1px solid rgba(255,255,255,0.18);
}
[data-theme="dark"] .image-placeholder__tag { color: rgba(255,255,255,0.92); }

/* ----- Spec tables (agents) ----- */
[data-theme="dark"] .spec-table th { color: #fff; }
[data-theme="dark"] .spec-table td { color: rgba(255,255,255,0.92); }
[data-theme="dark"] .spec-table th, [data-theme="dark"] .spec-table td {
  border-bottom-color: rgba(255,255,255,0.15);
}

/* ----- About page ----- */
[data-theme="dark"] .about-intro__body p { color: rgba(255,255,255,0.92); }
[data-theme="dark"] .about-intro__body p:first-letter { color: #fff; }
[data-theme="dark"] .about-intro__facts { border-top-color: rgba(255,255,255,0.2); }
[data-theme="dark"] .about-intro__facts div { border-bottom-color: rgba(255,255,255,0.18); }
[data-theme="dark"] .about-intro__facts div:nth-child(even) { border-left-color: rgba(255,255,255,0.18); }
[data-theme="dark"] .about-intro__facts dt { color: rgba(255,255,255,0.92); }
[data-theme="dark"] .about-intro__facts dd { color: #fff; }
[data-theme="dark"] .about-intro__facts dd em { color: rgba(255,255,255,0.92); }

/* ----- Milestones ----- */
[data-theme="dark"] .milestones { border-top-color: rgba(255,255,255,0.18); }
[data-theme="dark"] .milestones:last-child { border-bottom-color: rgba(255,255,255,0.18); }
[data-theme="dark"] .milestones__year { color: #fff; }
[data-theme="dark"] .milestones__year em { color: rgba(255,255,255,0.92); }
[data-theme="dark"] .milestones__title { color: #fff; }
[data-theme="dark"] .milestones__body { color: rgba(255,255,255,0.92); }

/* ----- Team cards ----- */
[data-theme="dark"] .team-card { color: #EAEAEA; }
[data-theme="dark"] .team-card__photo .frame::after { border-color: rgba(255,255,255,0.3); }
[data-theme="dark"] .team-card__photo {
  background:
    repeating-linear-gradient(
      32deg,
      transparent 0,
      transparent 22px,
      rgba(255,255,255,0.06) 22px,
      rgba(255,255,255,0.06) 23px
    ),
    #1A1A1A;
}
[data-theme="dark"] .team-card__initials { color: rgba(255,255,255,0.92); }
[data-theme="dark"] .team-card__kicker { color: rgba(255,255,255,0.92); }
[data-theme="dark"] .team-card__name { color: #fff; }
[data-theme="dark"] .team-card__title { color: rgba(255,255,255,0.92); }
[data-theme="dark"] .team-card__meta { color: rgba(255,255,255,0.92); }

/* ----- Order band (already dark by default — make sure it stays correct) ----- */
[data-theme="dark"] .order-band { background: #050505; }

/* ----- Journal ----- */
[data-theme="dark"] .journal-featured__visual {
  background: #161616;
  border-color: rgba(255,255,255,0.18);
}
[data-theme="dark"] .journal-featured__visual::before { border-color: rgba(255,255,255,0.22); }
[data-theme="dark"] .journal-featured__visual-stripes {
  background:
    repeating-linear-gradient(
      32deg,
      transparent 0,
      transparent 26px,
      rgba(255,255,255,0.05) 26px,
      rgba(255,255,255,0.05) 27px
    );
}
[data-theme="dark"] .journal-featured__plate {
  background: #0E0E0E;
  border-color: #fff;
}
[data-theme="dark"] .journal-featured__plate-num { color: rgba(255,255,255,0.92); }
[data-theme="dark"] .journal-featured__plate-title { color: #fff; }
[data-theme="dark"] .journal-featured__cat { color: #fff; }
[data-theme="dark"] .journal-featured__cat::before { background: #fff; }
[data-theme="dark"] .journal-featured__title { color: #fff; }
[data-theme="dark"] .journal-featured__deck { color: rgba(255,255,255,0.92); }
[data-theme="dark"] .journal-featured__meta { color: rgba(255,255,255,0.92); border-top-color: rgba(255,255,255,0.2); }
[data-theme="dark"] .journal-featured__meta strong { color: #fff; }
[data-theme="dark"] .journal-filters {
  background: #0E0E0E;
  border-top-color: rgba(255,255,255,0.15);
  border-bottom-color: rgba(255,255,255,0.15);
}
[data-theme="dark"] .journal-filters__label { color: rgba(255,255,255,0.92); }
[data-theme="dark"] .journal-filters__list a { color: #fff; }
[data-theme="dark"] .journal-filters__list a.is-active,
[data-theme="dark"] .journal-filters__list a:hover { border-bottom-color: #fff; }
[data-theme="dark"] .journal-filters__count { color: rgba(255,255,255,0.92); }
[data-theme="dark"] .journal-card { color: #EAEAEA; border-top-color: #fff; }
[data-theme="dark"] .journal-card__head { color: rgba(255,255,255,0.92); }
[data-theme="dark"] .journal-card__cat { color: #fff; }
[data-theme="dark"] .journal-card__visual {
  background: #161616;
  border-color: rgba(255,255,255,0.18);
}
[data-theme="dark"] .journal-card__visual::before { border-color: rgba(255,255,255,0.22); }
[data-theme="dark"] .journal-card__visual-stripes {
  background:
    repeating-linear-gradient(
      32deg,
      transparent 0,
      transparent 22px,
      rgba(255,255,255,0.05) 22px,
      rgba(255,255,255,0.05) 23px
    );
}
[data-theme="dark"] .journal-card__visual-num { color: rgba(255,255,255,0.92); }
[data-theme="dark"] .journal-card__visual-tag { color: rgba(255,255,255,0.92); }
[data-theme="dark"] .journal-card__title { color: #fff; }
[data-theme="dark"] .journal-card__excerpt { color: rgba(255,255,255,0.92); }
[data-theme="dark"] .journal-card__byline { color: rgba(255,255,255,0.92); border-top-color: rgba(255,255,255,0.18); }
[data-theme="dark"] .journal-card__byline strong { color: #fff; }
[data-theme="dark"] .journal-subscribe {
  background: #161616;
  border-top-color: rgba(255,255,255,0.15);
  border-bottom-color: rgba(255,255,255,0.15);
}
[data-theme="dark"] .journal-subscribe__title { color: #fff; }
[data-theme="dark"] .journal-subscribe__lede { color: rgba(255,255,255,0.92); }
[data-theme="dark"] .journal-subscribe__row { border-bottom-color: #fff; }
[data-theme="dark"] .journal-subscribe__input { color: #fff; }
[data-theme="dark"] .journal-subscribe__input::placeholder { color: rgba(255,255,255,0.92); }
[data-theme="dark"] .journal-subscribe__submit { background: #fff; color: #0E0E0E; }
[data-theme="dark"] .journal-subscribe__fineprint { color: rgba(255,255,255,0.92); }

/* ----- Tweaks panel ----- */
[data-theme="dark"] .tweaks-panel { background: #0E0E0E; border-color: rgba(255,255,255,0.2); color: #EAEAEA; }
[data-theme="dark"] .tweaks-panel__title { color: #fff; }
[data-theme="dark"] .tweaks-panel__label { color: rgba(255,255,255,0.92); }
[data-theme="dark"] .tweak-option { color: #fff; border-color: rgba(255,255,255,0.25); }
[data-theme="dark"] .tweak-option:hover { border-color: #fff; }
[data-theme="dark"] .tweak-option--active { background: #fff; color: #0E0E0E; border-color: #fff; }

/* ============================================================
   NET SHEET · desktop app screenshot illustration (for-agents)
   Renders identically in light + dark modes (it IS the app).
   ============================================================ */
.netsheet-window {
  width: 100%;
  background: #FFFFFF;
  color: #1A1A1A;
  border: 1px solid rgba(26,26,26,0.18);
  box-shadow: 0 30px 60px -30px rgba(0,0,0,0.45), 0 8px 20px -10px rgba(0,0,0,0.25);
  font-family: var(--font-sans);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  aspect-ratio: 16 / 11;
}
[data-theme="dark"] .netsheet-window {
  border-color: rgba(255,255,255,0.18);
  box-shadow: 0 30px 60px -30px rgba(0,0,0,0.7), 0 8px 20px -10px rgba(0,0,0,0.5);
}
.netsheet-window__chrome {
  display: grid;
  grid-template-columns: 80px 1fr 80px;
  align-items: center;
  padding: 10px 14px;
  background: #F4F4F4;
  border-bottom: 1px solid rgba(26,26,26,0.12);
}
.netsheet-window__lights { display: flex; gap: 6px; }
.netsheet-window__lights span {
  width: 11px; height: 11px; border-radius: 50%;
  background: #C9C5BA;
  display: inline-block;
}
.netsheet-window__lights span:nth-child(1) { background: #D7B095; }
.netsheet-window__lights span:nth-child(2) { background: #C7BC9F; }
.netsheet-window__lights span:nth-child(3) { background: #A9B6A4; }
.netsheet-window__url {
  font-size: 10.5px;
  letter-spacing: 0.04em;
  color: var(--ink-muted, #6A6A6A);
  text-align: center;
  font-feature-settings: "tnum";
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.netsheet-window__body {
  display: grid;
  grid-template-columns: 168px 1fr;
  flex: 1;
  min-height: 0;
}
.netsheet-window__sidebar {
  background: #F8F8F6;
  border-right: 1px solid rgba(26,26,26,0.12);
  padding: 18px 16px;
  font-size: 11.5px;
}
.netsheet-window__brand {
  font-family: var(--font-serif);
  font-size: 18px;
  letter-spacing: -0.01em;
  color: #1A1A1A;
  margin-bottom: 22px;
}
.netsheet-window__brand em { font-style: italic; }
.netsheet-window__nav-section {
  font-size: 9px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #8A8A82;
  font-weight: 600;
  margin: 18px 0 8px;
}
.netsheet-window__nav-section:first-of-type { margin-top: 0; }
.netsheet-window__nav {
  list-style: none;
  margin: 0; padding: 0;
}
.netsheet-window__nav li {
  padding: 6px 10px;
  margin: 0 -10px;
  color: var(--ink-body, #4A4A4A);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: -0.005em;
  border-radius: 0;
}
.netsheet-window__nav li.is-active {
  background: #1A1A1A;
  color: #fff;
}
.netsheet-window__main {
  padding: 22px 26px;
  display: flex;
  flex-direction: column;
  background: #FFFFFF;
}
.netsheet-window__header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(26,26,26,0.18);
  margin-bottom: 18px;
}
.netsheet-window__kicker {
  font-size: 9.5px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--ink-muted, #6A6A6A);
  font-weight: 600;
  margin-bottom: 6px;
}
.netsheet-window__address {
  font-family: var(--font-serif);
  font-size: 22px;
  letter-spacing: -0.01em;
  color: #1A1A1A;
}
.netsheet-window__chip {
  font-size: 10.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #1A1A1A;
  border: 1px solid #1A1A1A;
  padding: 6px 12px;
  font-weight: 700;
  white-space: nowrap;
}
.netsheet-window__grid {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 24px;
  align-items: start;
  flex: 1;
}
.netsheet-window__lines {
  display: flex;
  flex-direction: column;
}
.netsheet-window__line {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 9px 0;
  font-size: 12.5px;
  border-bottom: 1px dotted rgba(26,26,26,0.2);
  font-feature-settings: "tnum";
}
.netsheet-window__line span:first-child { color: var(--ink-body, #4A4A4A); }
.netsheet-window__line span:last-child { color: #1A1A1A; font-weight: 600; }
.netsheet-window__line:first-child { border-top: 1px solid #1A1A1A; padding-top: 11px; }
.netsheet-window__line:first-child span:last-child { font-weight: 700; }
.netsheet-window__line--neg span:last-child { color: var(--ink-muted, #6A6A6A); font-weight: 500; }
.netsheet-window__net {
  background: #1A1A1A;
  color: #fff;
  padding: 22px 22px 18px;
  position: relative;
}
.netsheet-window__net::before {
  content: "";
  position: absolute;
  top: 8px; left: 8px; right: 8px; bottom: 8px;
  border: 1px solid rgba(255,255,255,0.18);
  pointer-events: none;
}
.netsheet-window__net-label {
  font-size: 10px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.92);
  font-weight: 600;
  margin-bottom: 10px;
  position: relative;
}
.netsheet-window__net-value {
  font-family: var(--font-sans);
  font-size: 38px;
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1;
  margin-bottom: 14px;
  position: relative;
  font-feature-settings: "tnum";
}
.netsheet-window__net-meta {
  display: flex;
  justify-content: space-between;
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.92);
  font-weight: 600;
  position: relative;
}
.netsheet-window__net-divider {
  height: 1px;
  background: rgba(255,255,255,0.2);
  margin: 18px 0 12px;
  position: relative;
}
.netsheet-window__net-foot {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  padding: 4px 0;
  position: relative;
}
.netsheet-window__net-foot span {
  color: rgba(255,255,255,0.92);
  font-size: 9.5px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 600;
}
.netsheet-window__net-foot strong {
  color: #fff;
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  font-size: 13px;
  letter-spacing: -0.005em;
}

@media (max-width: 700px) {
  .netsheet-window { aspect-ratio: 4 / 5; }
  .netsheet-window__body { grid-template-columns: 1fr; }
  .netsheet-window__sidebar { display: none; }
  .netsheet-window__grid { grid-template-columns: 1fr; gap: 16px; }
  .netsheet-window__main { padding: 16px 18px; }
  .netsheet-window__address { font-size: 18px; }
  .netsheet-window__net-value { font-size: 30px; }
}

/* ============================================================
   PRELIM COVER · placeholder of preliminary title report
   Always renders as a "document" (white paper) regardless of theme.
   ============================================================ */
.prelim-cover {
  width: 100%;
  background: #fff;
  color: #1A1A1A;
  font-family: "Times New Roman", "Times", Georgia, serif;
  padding: 36px 44px 32px;
  border: 1px solid rgba(26,26,26,0.18);
  box-shadow: 0 30px 60px -30px rgba(0,0,0,0.45), 0 8px 20px -10px rgba(0,0,0,0.25);
  font-size: 11px;
  line-height: 1.5;
  aspect-ratio: 5 / 6;
  overflow: hidden;
}
[data-theme="dark"] .prelim-cover {
  border-color: rgba(255,255,255,0.18);
  box-shadow: 0 30px 60px -30px rgba(0,0,0,0.7), 0 8px 20px -10px rgba(0,0,0,0.5);
}

.prelim-cover__brand {
  text-align: center;
  margin-bottom: 24px;
}
.prelim-cover__wordmark {
  font-family: var(--font-serif);
  font-size: 44px;
  letter-spacing: -0.01em;
  color: #1A1A1A;
  line-height: 1;
  margin-bottom: 6px;
}
.prelim-cover__wordmark em { font-style: italic; }
.prelim-cover__brandmeta {
  font-size: 10.5px;
  color: #1A1A1A;
  line-height: 1.45;
}

.prelim-cover__header-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-bottom: 22px;
  font-size: 10.5px;
  padding: 0 18px;
}
.prelim-cover__order {
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 1px;
}
.prelim-cover__order > div {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 6px;
  align-items: baseline;
}
.prelim-cover__order dt {
  font-weight: 400;
  color: #1A1A1A;
  font-size: 10.5px;
  text-transform: uppercase;
  letter-spacing: 0.01em;
}
.prelim-cover__order dt::after { content: ""; }
.prelim-cover__order dd {
  margin: 0;
  font-weight: 400;
  color: #1A1A1A;
  font-size: 10.5px;
}
/* Order No. and Title Officer have a colon after them */
.prelim-cover__order > div:nth-child(1) dt::after,
.prelim-cover__order > div:nth-child(2) dt::after { content: "."; }

.prelim-cover__attn {
  font-size: 10.5px;
  color: #1A1A1A;
  line-height: 1.45;
}
.prelim-cover__attn-label {
  margin-bottom: 4px;
}
.prelim-cover__attn-label span {
  font-size: 9.5px;
  letter-spacing: 0;
}
.prelim-cover__attn-name {
  font-weight: 700;
  font-size: 11px;
}

.prelim-cover__property {
  font-size: 10.5px;
  margin: 22px 18px 16px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.prelim-cover__property strong { font-weight: 700; }

.prelim-cover__title {
  text-align: center;
  font-family: "Times New Roman", "Times", serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #1A1A1A;
  margin: 18px 0 8px;
}
.prelim-cover__rule {
  height: 2px;
  background: #1A1A1A;
  margin: 0 0 18px;
}
.prelim-cover__body {
  font-size: 10.5px;
  line-height: 1.55;
  color: #1A1A1A;
  padding: 0 18px;
}
.prelim-cover__body p {
  margin: 0 0 12px;
  text-indent: 0;
}

@media (max-width: 700px) {
  .prelim-cover {
    padding: 24px 22px 22px;
    aspect-ratio: 5 / 7;
  }
  .prelim-cover__wordmark { font-size: 34px; }
  .prelim-cover__header-grid { grid-template-columns: 1fr; gap: 18px; padding: 0 4px; }
  .prelim-cover__property { margin: 18px 4px 12px; }
  .prelim-cover__body { padding: 0 4px; }
  .prelim-cover__order > div { grid-template-columns: 76px 1fr; }
}

/* ============================================================
   PROP DETAILS · property profile document recreation
   Always renders as a "document" (white paper) regardless of theme.
   ============================================================ */
.prop-details {
  width: 100%;
  background: #fff;
  color: #1A1A1A;
  font-family: "Helvetica Neue", "Arial", sans-serif;
  font-size: 9px;
  line-height: 1.4;
  border: 1px solid rgba(26,26,26,0.18);
  box-shadow: 0 30px 60px -30px rgba(0,0,0,0.45), 0 8px 20px -10px rgba(0,0,0,0.25);
  aspect-ratio: 5 / 6;
  overflow: hidden;
}
[data-theme="dark"] .prop-details {
  border-color: rgba(255,255,255,0.18);
  box-shadow: 0 30px 60px -30px rgba(0,0,0,0.7), 0 8px 20px -10px rgba(0,0,0,0.5);
}

/* ----- Hero band ----- */
.prop-details__hero {
  background: #1A1A1A;
  color: #fff;
  padding: 18px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 6px solid #1A1A1A;
}
.prop-details__hero-title {
  font-family: "Helvetica Neue", "Arial Black", sans-serif;
  font-weight: 800;
  font-size: 22px;
  letter-spacing: 0.02em;
  margin: 0;
  color: #fff;
}
.prop-details__hero-mark {
  font-family: var(--font-serif);
  font-size: 28px;
  letter-spacing: -0.01em;
  color: #fff;
  line-height: 1;
}
.prop-details__hero-mark em { font-style: italic; }

/* ----- Top: subject location + report meta ----- */
.prop-details__top {
  display: grid;
  grid-template-columns: 1.45fr 1fr;
  gap: 0;
  padding: 14px 22px 12px;
  border-bottom: 1px solid rgba(26,26,26,0.12);
}
.prop-details__subject-h,
.prop-details__meta {
  font-size: 9.5px;
}
.prop-details__subject-h {
  font-weight: 700;
  margin-bottom: 6px;
  font-size: 10px;
}
.prop-details__subject dl,
.prop-details__meta dl {
  margin: 0;
  display: grid;
  gap: 3px;
}
.prop-details__subject dl > div,
.prop-details__meta dl > div {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 8px;
  align-items: baseline;
}
.prop-details__meta dl > div { grid-template-columns: 110px 1fr; }
.prop-details__subject dt,
.prop-details__meta dt {
  font-weight: 700;
  color: #1A1A1A;
}
.prop-details__subject dd,
.prop-details__meta dd {
  margin: 0;
  color: #1A1A1A;
}
.prop-details__meta {
  text-align: left;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.prop-details__meta > div:first-child,
.prop-details__meta > div:nth-child(2) {
  align-self: flex-end;
  font-size: 9.5px;
  color: #1A1A1A;
  margin-bottom: 1px;
}
.prop-details__meta dl {
  width: 100%;
  margin-top: 8px;
}

/* ----- Legal description ----- */
.prop-details__legal {
  padding: 10px 22px;
  font-size: 9px;
  line-height: 1.5;
  color: #1A1A1A;
  border-bottom: 1px solid rgba(26,26,26,0.12);
}
.prop-details__legal strong { font-weight: 700; }

/* ----- Section bands ----- */
.prop-details__band {
  background: #1A1A1A;
  color: #fff;
  padding: 6px 14px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0;
  margin-top: 0;
}
.prop-details__band em {
  font-weight: 400;
  font-style: italic;
  font-size: 9px;
  color: rgba(255,255,255,0.92);
}

/* ----- Tables ----- */
.prop-details__table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
  font-size: 9px;
}
.prop-details__table th,
.prop-details__table td {
  border: 1px solid rgba(26,26,26,0.18);
  padding: 5px 10px;
  text-align: left;
  vertical-align: middle;
  font-weight: 400;
  color: #1A1A1A;
  background: #fff;
  height: 22px;
}
.prop-details__table th {
  font-weight: 700;
  width: 18%;
  background: #fff;
}
.prop-details__table--split th { width: 16%; }
.prop-details__table--split td { width: 18%; }
.prop-details__table--specs th,
.prop-details__table--specs td { width: calc(100% / 6); }
.prop-details__table--specs th { font-size: 9px; }
.prop-details__table a { color: #1A1A1A; text-decoration: underline; }

@media (max-width: 700px) {
  .prop-details { aspect-ratio: 4 / 7; font-size: 7.5px; }
  .prop-details__hero-title { font-size: 16px; }
  .prop-details__hero-mark { font-size: 20px; }
  .prop-details__hero { padding: 12px 14px; }
  .prop-details__top { grid-template-columns: 1fr; padding: 10px 14px; gap: 10px; }
  .prop-details__legal { padding: 8px 14px; }
  .prop-details__band { padding: 5px 10px; font-size: 9px; }
  .prop-details__table th,
  .prop-details__table td { padding: 4px 6px; font-size: 7.5px; }
  .prop-details__subject dl > div,
  .prop-details__meta dl > div { grid-template-columns: 100px 1fr; }
}

/* ============================================================
   LIFECYCLE · order timeline (replaces parallax process)
   Horizontal stepper + 5-column register, all visible at once.
   ============================================================ */
.lifecycle__lede {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(20px, 1.9vw, 28px);
  line-height: 1.4;
  letter-spacing: -0.005em;
  color: var(--ink);
  max-width: 56ch;
  margin: 0 0 48px;
  text-wrap: pretty;
}

/* ----- Top stat row ----- */
.lifecycle__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid rgba(26,26,26,0.18);
  padding: 22px 0 26px;
  margin-bottom: 0;
}
[data-theme="dark"] .lifecycle__stats {
  border-top-color: rgba(255,255,255,0.5);
  border-bottom-color: rgba(255,255,255,0.18);
}
.lifecycle__stats > div {
  padding: 0 24px;
  border-left: 1px solid rgba(26,26,26,0.18);
}
[data-theme="dark"] .lifecycle__stats > div { border-left-color: rgba(255,255,255,0.18); }
.lifecycle__stats > div:first-child { padding-left: 0; border-left: 0; }
.lifecycle__stat-num {
  font-family: var(--font-serif);
  font-size: clamp(48px, 5vw, 72px);
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin-bottom: 10px;
  font-feature-settings: "tnum";
}
.lifecycle__stat-num em {
  font-family: var(--font-sans);
  font-style: normal;
  font-size: 0.34em;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: lowercase;
  vertical-align: 22%;
  color: rgba(26,26,26,0.55);
  margin-left: 6px;
}
[data-theme="dark"] .lifecycle__stat-num em { color: rgba(255,255,255,0.92); }
.lifecycle__stat-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(26,26,26,0.62);
  line-height: 1.4;
}
[data-theme="dark"] .lifecycle__stat-label { color: rgba(255,255,255,0.92); }

/* ----- Timeline rail ----- */
.lifecycle__rail {
  list-style: none;
  margin: 60px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  position: relative;
}
.lifecycle__rail::before {
  content: "";
  position: absolute;
  left: 10%; right: 10%;
  top: 28px;
  height: 1px;
  background: rgba(26,26,26,0.25);
}
[data-theme="dark"] .lifecycle__rail::before { background: rgba(255,255,255,0.25); }
.lifecycle__rail li {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
}
.lifecycle__node {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--paper);
  border: 1.5px solid var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-serif);
  font-size: 22px;
  letter-spacing: -0.01em;
  color: var(--ink);
  font-feature-settings: "tnum";
  position: relative;
  z-index: 1;
}
[data-theme="dark"] .lifecycle__node {
  background: #0E0E0E;
  border-color: #fff;
  color: #fff;
}
.lifecycle__stage {
  margin-top: 14px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--ink);
}
.lifecycle__when {
  margin-top: 4px;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 14px;
  color: rgba(26,26,26,0.6);
}
[data-theme="dark"] .lifecycle__when { color: rgba(255,255,255,0.92); }

/* ----- Detail register (5 columns) ----- */
.lifecycle__register {
  margin-top: 56px;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  border-top: 1px solid var(--ink);
}
[data-theme="dark"] .lifecycle__register { border-top-color: rgba(255,255,255,0.5); }
.lifecycle__cell {
  padding: 28px 22px 26px;
  border-left: 1px solid rgba(26,26,26,0.18);
  display: flex;
  flex-direction: column;
}
[data-theme="dark"] .lifecycle__cell { border-left-color: rgba(255,255,255,0.18); }
.lifecycle__cell:first-child { border-left: 0; padding-left: 0; }
.lifecycle__cell:last-child { padding-right: 0; }
.lifecycle__cell-title {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(18px, 1.4vw, 22px);
  line-height: 1.25;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin: 0 0 14px;
  text-wrap: pretty;
}
.lifecycle__cell-title em { font-style: italic; }
.lifecycle__cell-body {
  font-size: 13.5px;
  line-height: 1.6;
  color: rgba(26,26,26,0.72);
  margin: 0 0 22px;
  flex: 1;
}
[data-theme="dark"] .lifecycle__cell-body { color: rgba(255,255,255,0.92); }
.lifecycle__cell-stamp {
  align-self: flex-start;
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink);
  border: 1px solid var(--ink);
  padding: 5px 10px;
}
[data-theme="dark"] .lifecycle__cell-stamp { color: #fff; border-color: #fff; }

@media (max-width: 1100px) {
  .lifecycle__rail { grid-template-columns: repeat(5, 1fr); }
  .lifecycle__register { grid-template-columns: 1fr; border-top: 0; }
  .lifecycle__cell {
    border-left: 0;
    border-top: 1px solid rgba(26,26,26,0.18);
    padding: 24px 0;
  }
  [data-theme="dark"] .lifecycle__cell { border-top-color: rgba(255,255,255,0.18); }
  .lifecycle__cell:first-child { border-top: 1px solid var(--ink); }
  [data-theme="dark"] .lifecycle__cell:first-child { border-top-color: rgba(255,255,255,0.5); }
  .lifecycle__cell:last-child { padding-right: 0; }
}
@media (max-width: 700px) {
  .lifecycle__stats { grid-template-columns: 1fr; gap: 22px; }
  .lifecycle__stats > div { padding: 0; border-left: 0; }
  .lifecycle__rail { grid-template-columns: 1fr; gap: 24px; margin-top: 40px; }
  .lifecycle__rail::before { display: none; }
  .lifecycle__rail li {
    flex-direction: row;
    align-items: center;
    gap: 18px;
    text-align: left;
    padding-bottom: 18px;
    border-bottom: 1px solid rgba(26,26,26,0.18);
  }
  [data-theme="dark"] .lifecycle__rail li { border-bottom-color: rgba(255,255,255,0.18); }
  .lifecycle__node { width: 44px; height: 44px; font-size: 18px; flex-shrink: 0; }
  .lifecycle__stage { margin-top: 0; }
  .lifecycle__when { margin-top: 0; margin-left: auto; }
}


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

/* Direct contacts strip */
.contact-direct { padding-top: 56px; padding-bottom: 56px; }
.contact-direct__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(24px, 3vw, 48px);
  border-top: 1px solid rgba(26,26,26,0.18);
  border-bottom: 1px solid rgba(26,26,26,0.18);
  padding: 36px 0;
}
.contact-direct__cell {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 0 clamp(8px, 1.6vw, 24px);
  border-left: 1px solid rgba(26,26,26,0.12);
}
.contact-direct__cell:first-child { border-left: 0; padding-left: 0; }
.contact-direct__label {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--ink-mute, #595959);
}
.contact-direct__value {
  font-family: var(--font-serif);
  font-size: clamp(22px, 2.1vw, 30px);
  line-height: 1.1;
  letter-spacing: -0.005em;
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  align-self: flex-start;
  transition: border-color 0.15s ease;
}
.contact-direct__value:hover { border-bottom-color: var(--ink); }
.contact-direct__hint {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 14px;
  line-height: 1.45;
  color: var(--ink-mute, #595959);
  max-width: 32ch;
}

/* Offices grid */
.contact-offices {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(20px, 2.4vw, 36px);
}
.contact-office {
  padding: clamp(24px, 2.4vw, 36px);
  display: flex;
  flex-direction: column;
  gap: 18px;
  position: relative;
  min-height: 420px;
}
.contact-office__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}
.contact-office__badge {
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 700;
  color: rgba(255,255,255,0.92);
  border: 1px solid rgba(255,255,255,0.3);
  padding: 4px 10px;
  border-radius: 999px;
  white-space: nowrap;
  align-self: flex-start;
}
.contact-office__title {
  font-family: var(--font-serif);
  font-size: clamp(26px, 2.4vw, 34px);
  line-height: 1.05;
  letter-spacing: -0.01em;
  margin: 0;
}
.contact-office__title em {
  font-style: normal;
  color: rgba(255,255,255,0.92);
}
.contact-office__lede {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 15px;
  line-height: 1.45;
  color: rgba(255,255,255,0.92);
  max-width: 36ch;
  margin: 0;
  flex: 1;
}
.contact-office__facts {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  padding-top: 18px;
  margin: 0;
  border-top: 1px solid rgba(255,255,255,0.25);
}
.contact-office__facts > div { display: grid; grid-template-columns: 84px 1fr; gap: 12px; align-items: baseline; }
.contact-office__facts dt {
  font-size: 10.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 700;
  color: rgba(255,255,255,0.92);
  margin: 0;
}
.contact-office__facts dd {
  margin: 0;
  font-family: var(--font-serif);
  font-size: 15px;
  line-height: 1.4;
  color: #fff;
}
.contact-office__facts dd a { color: #fff; text-decoration: none; border-bottom: 1px solid rgba(255,255,255,0.35); }
.contact-office__facts dd a:hover { border-bottom-color: #fff; }
.contact-office__directions {
  align-self: flex-start;
  margin-top: 4px;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 700;
  color: #fff;
  text-decoration: none;
  border-bottom: 1px solid rgba(255,255,255,0.55);
  padding-bottom: 4px;
  transition: border-color 0.15s ease;
}
.contact-office__directions:hover { border-bottom-color: #fff; }

/* Contact form */
.contact-form-wrap {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: clamp(40px, 5vw, 88px);
  align-items: start;
}
.contact-form-wrap__aside {
  position: sticky;
  top: 100px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.contact-form-wrap__title {
  font-family: var(--font-serif);
  font-size: clamp(36px, 4vw, 56px);
  line-height: 1.04;
  letter-spacing: -0.015em;
  margin: 0;
  color: var(--ink);
}
.contact-form-wrap__title em {
  font-style: italic;
  color: var(--ink-mute, #595959);
}
.contact-form-wrap__lede {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 17px;
  line-height: 1.55;
  color: var(--ink-mute, #595959);
  max-width: 40ch;
  margin: 0;
}
.contact-form-wrap__list {
  list-style: none;
  margin: 8px 0 0;
  padding: 0;
  display: grid;
  gap: 14px;
  border-top: 1px solid rgba(26,26,26,0.18);
  padding-top: 22px;
}
.contact-form-wrap__list li {
  position: relative;
  padding-left: 22px;
  font-size: 14px;
  line-height: 1.5;
  color: var(--ink);
}
.contact-form-wrap__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.65em;
  width: 12px;
  height: 1px;
  background: var(--ink);
}
.contact-form-wrap__list strong {
  font-weight: 700;
}

.contact-form {
  padding: clamp(28px, 3vw, 48px);
  display: grid;
  gap: 22px;
  background: #fff;
}
.contact-form__row { display: grid; gap: 22px; }
.contact-form__row--two { grid-template-columns: 1fr 1fr; }

.contact-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.contact-field__label {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--ink-mute, #595959);
}
.contact-field__label em {
  font-style: italic;
  font-weight: 400;
  text-transform: none;
  letter-spacing: 0;
  color: rgba(89,89,89,0.7);
  font-size: 12px;
  margin-left: 4px;
}
.contact-field__input {
  appearance: none;
  -webkit-appearance: none;
  background: transparent;
  border: 0;
  border-bottom: 1px solid rgba(26,26,26,0.45);
  padding: 10px 0 12px;
  font-family: var(--font-serif);
  font-size: 17px;
  color: var(--ink);
  outline: none;
  width: 100%;
  border-radius: 0;
  transition: border-color 0.15s ease;
}
.contact-field__input:focus { border-bottom-color: var(--ink); }
.contact-field__input::placeholder {
  color: rgba(89,89,89,0.55);
  font-style: italic;
}
.contact-field__select {
  background-image: linear-gradient(45deg, transparent 50%, var(--ink) 50%),
                    linear-gradient(135deg, var(--ink) 50%, transparent 50%);
  background-position: calc(100% - 14px) center, calc(100% - 8px) center;
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
  padding-right: 32px;
  cursor: pointer;
}
.contact-field__textarea {
  resize: vertical;
  min-height: 140px;
  padding: 14px 0 16px;
  line-height: 1.5;
}

.contact-form__prefs {
  border-top: 1px solid rgba(26,26,26,0.12);
  padding-top: 20px;
}
.contact-check {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-family: var(--font-serif);
  font-size: 14px;
  line-height: 1.45;
  color: var(--ink);
  cursor: pointer;
}
.contact-check input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  width: 16px;
  height: 16px;
  border: 1px solid var(--ink);
  background: transparent;
  flex-shrink: 0;
  margin-top: 2px;
  cursor: pointer;
  position: relative;
  border-radius: 0;
}
.contact-check input[type="checkbox"]:checked {
  background: var(--ink);
}
.contact-check input[type="checkbox"]:checked::after {
  content: "";
  position: absolute;
  left: 4px; top: 0px;
  width: 6px; height: 11px;
  border-right: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: rotate(45deg);
}

.contact-form__submit {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  border-top: 1px solid rgba(26,26,26,0.12);
  padding-top: 24px;
}
.contact-form__finep {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 13px;
  color: var(--ink-mute, #595959);
  margin: 0;
  max-width: 36ch;
  line-height: 1.45;
}

.contact-form__sent {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  padding: 20px 22px;
  border: 1px solid var(--ink);
  background: rgba(26,26,26,0.04);
}
.contact-form__sent-mark {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}
.contact-form__sent strong {
  display: block;
  font-size: 16px;
  margin-bottom: 4px;
}
.contact-form__sent p {
  margin: 0;
  font-family: var(--font-serif);
  font-style: italic;
  color: var(--ink-mute, #595959);
  font-size: 14px;
}
.contact-form__sent a { color: var(--ink); }

/* Responsive */
@media (max-width: 960px) {
  .contact-direct__grid { grid-template-columns: 1fr; gap: 28px; padding: 24px 0; }
  .contact-direct__cell { border-left: 0; border-top: 1px solid rgba(26,26,26,0.12); padding: 20px 0 0; }
  .contact-direct__cell:first-child { border-top: 0; padding-top: 0; }
  .contact-offices { grid-template-columns: 1fr; }
  .contact-office { min-height: 0; }
  .contact-form-wrap { grid-template-columns: 1fr; gap: 32px; }
  .contact-form-wrap__aside { position: static; }
  .contact-form__row--two { grid-template-columns: 1fr; }
}

/* Dark theme support for the in-form aside (currently form is on paper, no overrides needed) */


/* ============================================================
   Contact page — dark theme overrides
   ============================================================ */

/* Direct contacts strip */
[data-theme="dark"] .contact-direct__grid {
  border-top-color: rgba(255,255,255,0.18);
  border-bottom-color: rgba(255,255,255,0.18);
}
[data-theme="dark"] .contact-direct__cell { border-left-color: rgba(255,255,255,0.14); }
[data-theme="dark"] .contact-direct__label { color: rgba(255,255,255,0.92); }
[data-theme="dark"] .contact-direct__value { color: #fff; }
[data-theme="dark"] .contact-direct__value:hover { border-bottom-color: #fff; }
[data-theme="dark"] .contact-direct__hint { color: rgba(255,255,255,0.92); }

/* Form aside */
[data-theme="dark"] .contact-form-wrap__title { color: #fff; }
[data-theme="dark"] .contact-form-wrap__title em { color: rgba(255,255,255,0.92); }
[data-theme="dark"] .contact-form-wrap__lede { color: rgba(255,255,255,0.92); }
[data-theme="dark"] .contact-form-wrap__list { border-top-color: rgba(255,255,255,0.18); }
[data-theme="dark"] .contact-form-wrap__list li { color: rgba(255,255,255,0.92); }
[data-theme="dark"] .contact-form-wrap__list li::before { background: rgba(255,255,255,0.7); }

/* Form */
[data-theme="dark"] .contact-form {
  background: #161616;
  border: 1px solid rgba(255,255,255,0.1);
}
[data-theme="dark"] .contact-form__row--two,
[data-theme="dark"] .contact-form__prefs,
[data-theme="dark"] .contact-form__submit {
  border-color: rgba(255,255,255,0.14);
}

[data-theme="dark"] .contact-field__label { color: rgba(255,255,255,0.92); }
[data-theme="dark"] .contact-field__label em { color: rgba(255,255,255,0.92); }
[data-theme="dark"] .contact-field__input {
  color: #fff;
  border-bottom-color: rgba(255,255,255,0.32);
}
[data-theme="dark"] .contact-field__input:focus { border-bottom-color: #fff; }
[data-theme="dark"] .contact-field__input::placeholder { color: rgba(255,255,255,0.92); }
[data-theme="dark"] .contact-field__select {
  background-image: linear-gradient(45deg, transparent 50%, #fff 50%),
                    linear-gradient(135deg, #fff 50%, transparent 50%);
}
[data-theme="dark"] .contact-field__select option { background: #161616; color: #fff; }

[data-theme="dark"] .contact-check { color: rgba(255,255,255,0.92); }
[data-theme="dark"] .contact-check input[type="checkbox"] { border-color: rgba(255,255,255,0.55); }
[data-theme="dark"] .contact-check input[type="checkbox"]:checked { background: #fff; border-color: #fff; }
[data-theme="dark"] .contact-check input[type="checkbox"]:checked::after { border-color: #161616; }

[data-theme="dark"] .contact-form__finep { color: rgba(255,255,255,0.92); }

[data-theme="dark"] .contact-form__sent {
  border-color: rgba(255,255,255,0.45);
  background: rgba(255,255,255,0.06);
}
[data-theme="dark"] .contact-form__sent-mark { background: #fff; color: #0E0E0E; }
[data-theme="dark"] .contact-form__sent strong { color: #fff; }
[data-theme="dark"] .contact-form__sent p { color: rgba(255,255,255,0.92); }
[data-theme="dark"] .contact-form__sent a { color: #fff; }

/* Mobile responsive border tweaks */
@media (max-width: 960px) {
  [data-theme="dark"] .contact-direct__cell { border-top-color: rgba(255,255,255,0.14); }
}


/* ============================================================
   Contact form — force light card on dark page
   The form lives inside a dark page but reads better as a paper
   surface (matching documents like the prelim cover / net sheet).
   ============================================================ */
[data-theme="dark"] .contact-form {
  background: #fff;
  border: 1px solid rgba(26,26,26,0.16);
  color: #1a1a1a;
}
[data-theme="dark"] .contact-form__row--two,
[data-theme="dark"] .contact-form__prefs,
[data-theme="dark"] .contact-form__submit {
  border-color: rgba(26,26,26,0.12);
}
[data-theme="dark"] .contact-form .contact-field__label { color: #1a1a1a; }
[data-theme="dark"] .contact-form .contact-field__label em { color: rgba(26,26,26,0.65); font-style: normal; }
[data-theme="dark"] .contact-form .contact-field__input {
  color: #1a1a1a;
  border-bottom-color: rgba(26,26,26,0.45);
  background-color: transparent;
}
[data-theme="dark"] .contact-form .contact-field__input:focus { border-bottom-color: #1a1a1a; }
[data-theme="dark"] .contact-form .contact-field__input::placeholder { color: rgba(26,26,26,0.42); }
[data-theme="dark"] .contact-form .contact-field__select {
  background-image: linear-gradient(45deg, transparent 50%, #1a1a1a 50%),
                    linear-gradient(135deg, #1a1a1a 50%, transparent 50%);
}
[data-theme="dark"] .contact-form .contact-field__select option { background: #fff; color: #1a1a1a; }

[data-theme="dark"] .contact-form .contact-check { color: #1a1a1a; }
[data-theme="dark"] .contact-form .contact-check input[type="checkbox"] { border-color: #1a1a1a; background: transparent; }
[data-theme="dark"] .contact-form .contact-check input[type="checkbox"]:checked { background: #1a1a1a; border-color: #1a1a1a; }
[data-theme="dark"] .contact-form .contact-check input[type="checkbox"]:checked::after { border-color: #fff; }

[data-theme="dark"] .contact-form .contact-form__finep { color: rgba(26,26,26,0.72); }

/* Submit button stays primary; in dark theme primary is white-on-black —
   inside a white form card we want black-on-white, so override. */
[data-theme="dark"] .contact-form .btn--primary {
  background: #1a1a1a;
  color: #fff;
  border-color: #1a1a1a;
}
[data-theme="dark"] .contact-form .btn--primary:hover { background: #000; border-color: #000; }

[data-theme="dark"] .contact-form .contact-form__sent,
[data-theme="dark"] form.contact-form .contact-form__sent {
  border-color: #1a1a1a;
  background: rgba(26,26,26,0.04);
}
[data-theme="dark"] form.contact-form .contact-form__sent-mark { background: #1a1a1a; color: #fff; }
[data-theme="dark"] form.contact-form .contact-form__sent strong { color: #1a1a1a; }
[data-theme="dark"] form.contact-form .contact-form__sent p { color: rgba(26,26,26,0.78); }
[data-theme="dark"] form.contact-form .contact-form__sent a { color: #1a1a1a; }

/* Select needs the dark-on-white treatment too */
[data-theme="dark"] form.contact-form select.contact-field__select { color: #1a1a1a; }
[data-theme="dark"] form.contact-form select.contact-field__select:invalid,
[data-theme="dark"] form.contact-form select.contact-field__select option[value=""] { color: rgba(26,26,26,0.42); }


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

/* Make service-card list items into clickable rows */
.service-card__list li a {
  flex: 1;
  display: block;
  color: inherit;
  text-decoration: none;
  transition: color 0.2s;
}
.service-card__list li:hover { border-top-color: rgba(26,26,26,0.4); }
.service-card__list li:hover::after { opacity: 1; transform: translateX(2px); }
.service-card__list li::after { transition: opacity 0.2s, transform 0.2s; }
[data-theme="dark"] .service-card__list li:hover { border-top-color: rgba(255,255,255,0.45); }

/* Jump nav strip — anchored sub-categories on a services page */
.svc-jump {
  border-top: 1px solid rgba(26,26,26,0.18);
  border-bottom: 1px solid rgba(26,26,26,0.18);
  padding: 22px 0;
}
.svc-jump__inner {
  max-width: var(--container-max, 1280px);
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 56px);
  display: flex;
  align-items: center;
  gap: clamp(20px, 3vw, 40px);
  flex-wrap: wrap;
}
.svc-jump__label {
  font-size: 10px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  font-weight: 700;
  color: rgba(26,26,26,0.55);
  white-space: nowrap;
}
.svc-jump__list {
  display: flex;
  gap: clamp(18px, 2.5vw, 32px);
  flex-wrap: wrap;
  list-style: none;
  padding: 0; margin: 0;
}
.svc-jump__list a {
  font-family: var(--font-serif);
  font-size: 16px;
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  padding-bottom: 2px;
  transition: border-color 0.2s;
}
.svc-jump__list a:hover { border-bottom-color: var(--ink); }
.svc-jump__list a em { font-style: italic; color: rgba(26,26,26,0.55); margin-left: 4px; }
[data-theme="dark"] .svc-jump { border-color: rgba(255,255,255,0.22); }
[data-theme="dark"] .svc-jump__label { color: rgba(255,255,255,0.92); }
[data-theme="dark"] .svc-jump__list a { color: #fff; }
[data-theme="dark"] .svc-jump__list a:hover { border-bottom-color: #fff; }
[data-theme="dark"] .svc-jump__list a em { color: rgba(255,255,255,0.92); }

/* Category section — anchor target on services pages */
.svc-cat {
  padding: clamp(72px, 9vw, 120px) 0;
  border-top: 1px solid rgba(26,26,26,0.12);
  scroll-margin-top: 80px;
}
.svc-cat:first-of-type { border-top: none; }
.svc-cat__inner {
  max-width: var(--container-max, 1280px);
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 56px);
  display: grid;
  grid-template-columns: minmax(220px, 280px) 1fr;
  gap: clamp(40px, 6vw, 96px);
  align-items: start;
}
.svc-cat__head {
  position: sticky;
  top: 96px;
}
.svc-cat__num {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 38px;
  color: rgba(26,26,26,0.4);
  margin-bottom: 12px;
}
.svc-cat__eyebrow {
  font-size: 10.5px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--ink);
}
.svc-cat__title {
  font-family: var(--font-serif);
  font-size: clamp(36px, 4vw, 52px);
  line-height: 1.04;
  letter-spacing: -0.012em;
  margin: 0 0 0;
  color: var(--ink);
}
.svc-cat__title em { font-style: italic; }

.svc-cat__body { display: flex; flex-direction: column; gap: 36px; }
.svc-cat__lede {
  font-family: var(--font-serif);
  font-size: clamp(18px, 1.5vw, 22px);
  line-height: 1.5;
  color: var(--ink);
  margin: 0;
  max-width: 60ch;
  text-wrap: pretty;
}
.svc-cat__lede em { font-style: italic; color: rgba(26,26,26,0.7); }

/* Two-column "we handle" list */
.svc-handle {
  border-top: 1px solid rgba(26,26,26,0.18);
  padding-top: 28px;
}
.svc-handle__label {
  font-size: 10px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  font-weight: 700;
  color: rgba(26,26,26,0.55);
  margin-bottom: 18px;
}
.svc-handle__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0 clamp(24px, 3vw, 40px);
  list-style: none;
  padding: 0; margin: 0;
}
.svc-handle__grid li {
  padding: 12px 0;
  border-top: 1px solid rgba(26,26,26,0.12);
  font-size: 15px;
  color: var(--ink);
  display: flex; align-items: baseline; gap: 12px;
}
.svc-handle__grid li::before {
  content: '·';
  font-family: var(--font-serif);
  font-size: 22px;
  line-height: 0.5;
  color: rgba(26,26,26,0.5);
  flex-shrink: 0;
}

/* Sample timeline */
.svc-timeline {
  border: 1px solid rgba(26,26,26,0.22);
  padding: clamp(20px, 2.4vw, 28px);
  background: rgba(26,26,26,0.02);
}
.svc-timeline__label {
  font-size: 10px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  font-weight: 700;
  color: rgba(26,26,26,0.55);
  margin-bottom: 18px;
}
.svc-timeline__steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 0;
  list-style: none;
  padding: 0; margin: 0;
}
.svc-timeline__steps li {
  padding: 14px 16px 0 0;
  border-top: 1px solid var(--ink);
  position: relative;
}
.svc-timeline__steps li::before {
  content: '';
  position: absolute;
  top: -4px; left: 0;
  width: 7px; height: 7px;
  background: var(--ink);
  border-radius: 50%;
}
.svc-timeline__day {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 13px;
  color: rgba(26,26,26,0.6);
  margin-bottom: 4px;
}
.svc-timeline__step {
  font-size: 14px;
  line-height: 1.35;
  color: var(--ink);
  font-weight: 500;
}

/* Watch-outs / pitfalls */
.svc-watch {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
}
.svc-watch__label {
  font-size: 10px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  font-weight: 700;
  color: rgba(26,26,26,0.55);
  margin-bottom: 18px;
}
.svc-watch__item {
  padding: 18px 0;
  border-top: 1px solid rgba(26,26,26,0.18);
  display: grid;
  grid-template-columns: 32px 1fr;
  gap: 16px;
  align-items: baseline;
}
.svc-watch__item:last-child { border-bottom: 1px solid rgba(26,26,26,0.18); }
.svc-watch__num {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 22px;
  color: rgba(26,26,26,0.5);
}
.svc-watch__heading {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 4px;
  color: var(--ink);
}
.svc-watch__body {
  font-family: var(--font-serif);
  font-size: 15px;
  line-height: 1.55;
  color: rgba(26,26,26,0.75);
  margin: 0;
  text-wrap: pretty;
}

/* FAQ */
.svc-faq {
  max-width: 880px;
  margin: 0 auto;
}
.svc-faq__item {
  border-top: 1px solid rgba(26,26,26,0.18);
  padding: 28px 0;
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: clamp(16px, 2vw, 32px);
  align-items: baseline;
}
.svc-faq__item:last-child { border-bottom: 1px solid rgba(26,26,26,0.18); }
.svc-faq__num {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 28px;
  color: rgba(26,26,26,0.45);
}
.svc-faq__q {
  font-family: var(--font-serif);
  font-size: clamp(20px, 1.8vw, 26px);
  line-height: 1.25;
  letter-spacing: -0.01em;
  margin: 0 0 12px;
  color: var(--ink);
}
.svc-faq__q em { font-style: italic; }
.svc-faq__a {
  font-family: var(--font-serif);
  font-size: 16px;
  line-height: 1.55;
  color: rgba(26,26,26,0.78);
  margin: 0;
  max-width: 60ch;
  text-wrap: pretty;
}

/* Dark theme overrides for services-page parts */
[data-theme="dark"] .svc-cat { border-top-color: rgba(255,255,255,0.16); }
[data-theme="dark"] .svc-cat__num { color: rgba(255,255,255,0.92); }
[data-theme="dark"] .svc-cat__title,
[data-theme="dark"] .svc-cat__eyebrow,
[data-theme="dark"] .svc-cat__lede { color: #fff; }
[data-theme="dark"] .svc-cat__lede em { color: rgba(255,255,255,0.92); }

[data-theme="dark"] .svc-handle { border-top-color: rgba(255,255,255,0.28); }
[data-theme="dark"] .svc-handle__label { color: rgba(255,255,255,0.92); }
[data-theme="dark"] .svc-handle__grid li { border-top-color: rgba(255,255,255,0.16); color: rgba(255,255,255,0.92); }
[data-theme="dark"] .svc-handle__grid li::before { color: rgba(255,255,255,0.92); }

[data-theme="dark"] .svc-timeline { border-color: rgba(255,255,255,0.32); background: rgba(255,255,255,0.04); }
[data-theme="dark"] .svc-timeline__label { color: rgba(255,255,255,0.92); }
[data-theme="dark"] .svc-timeline__steps li { border-top-color: #fff; }
[data-theme="dark"] .svc-timeline__steps li::before { background: #fff; }
[data-theme="dark"] .svc-timeline__day { color: rgba(255,255,255,0.92); }
[data-theme="dark"] .svc-timeline__step { color: #fff; }

[data-theme="dark"] .svc-watch__label { color: rgba(255,255,255,0.92); }
[data-theme="dark"] .svc-watch__item { border-top-color: rgba(255,255,255,0.22); }
[data-theme="dark"] .svc-watch__item:last-child { border-bottom-color: rgba(255,255,255,0.22); }
[data-theme="dark"] .svc-watch__num { color: rgba(255,255,255,0.92); }
[data-theme="dark"] .svc-watch__heading { color: #fff; }
[data-theme="dark"] .svc-watch__body { color: rgba(255,255,255,0.92); }

[data-theme="dark"] .svc-faq__item { border-top-color: rgba(255,255,255,0.22); }
[data-theme="dark"] .svc-faq__item:last-child { border-bottom-color: rgba(255,255,255,0.22); }
[data-theme="dark"] .svc-faq__num { color: rgba(255,255,255,0.92); }
[data-theme="dark"] .svc-faq__q { color: #fff; }
[data-theme="dark"] .svc-faq__a { color: rgba(255,255,255,0.92); }

/* Responsive */
@media (max-width: 880px) {
  .svc-cat__inner { grid-template-columns: 1fr; gap: 28px; }
  .svc-cat__head { position: static; }
  .svc-handle__grid { grid-template-columns: 1fr; }
  .svc-faq__item { grid-template-columns: 32px 1fr; }
  .svc-faq__num { font-size: 22px; }
}

/* ===========================================================================
 * Editable theme additions  (v1.1.0)
 * Components added when refactoring to ACF + Customizer + posts archive.
 * =========================================================================== */

/* --- Page header lede / subhead (used by journal, archive, single) --- */
.page-header__lede {
  margin-top: 14px;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(15px, 1.1vw, 18px);
  line-height: 1.6;
  color: rgba(26,26,26,0.7);
  max-width: 56ch;
}
[data-theme="dark"] .page-header__lede { color: rgba(255,255,255,0.92); }

.page-header__subhead {
  margin-top: 12px;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(18px, 1.4vw, 22px);
  line-height: 1.5;
  color: rgba(26,26,26,0.7);
}
[data-theme="dark"] .page-header__subhead { color: rgba(255,255,255,0.92); }

/* --- Section inner narrow variant for long-form reading --- */
.section__inner--narrow {
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}

/* --- Posts grid (Journal archive + category/tag) --- */
.post-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(20px, 2vw, 32px);
}

.post-card {
  border: 1px solid rgba(26,26,26,0.18);
  background: var(--paper);
  display: flex;
  flex-direction: column;
  transition: transform 200ms ease, border-color 200ms ease;
}
[data-theme="dark"] .post-card {
  border-color: rgba(255,255,255,0.18);
  background: rgba(255,255,255,0.04);
}
.post-card:hover {
  transform: translateY(-2px);
  border-color: rgba(26,26,26,0.45);
}
[data-theme="dark"] .post-card:hover { border-color: rgba(255,255,255,0.45); }

.post-card__link {
  display: flex;
  flex-direction: column;
  height: 100%;
  text-decoration: none;
  color: inherit;
}

.post-card__media {
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: rgba(26,26,26,0.06);
}
[data-theme="dark"] .post-card__media { background: rgba(255,255,255,0.06); }
.post-card__media img {
  width: 100%; height: 100%; object-fit: cover; display: block;
}

.post-card__body {
  padding: clamp(22px, 2vw, 30px);
  display: flex; flex-direction: column;
  flex: 1;
}

.post-card__kicker {
  font-size: 10.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 700;
  color: rgba(26,26,26,0.55);
  margin-bottom: 12px;
}
[data-theme="dark"] .post-card__kicker { color: rgba(255,255,255,0.92); }

.post-card__title {
  font-family: var(--font-serif);
  font-size: clamp(22px, 1.7vw, 28px);
  line-height: 1.2;
  margin: 0 0 12px;
  color: var(--ink);
}
[data-theme="dark"] .post-card__title { color: #fff; }

.post-card__excerpt {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 15px;
  line-height: 1.6;
  color: rgba(26,26,26,0.7);
  margin: 0 0 18px;
  flex: 1;
}
[data-theme="dark"] .post-card__excerpt { color: rgba(255,255,255,0.92); }

.post-card__meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 11.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 600;
  color: rgba(26,26,26,0.5);
  border-top: 1px solid rgba(26,26,26,0.12);
  padding-top: 14px;
}
[data-theme="dark"] .post-card__meta {
  color: rgba(255,255,255,0.92);
  border-top-color: rgba(255,255,255,0.12);
}

.post-card__more {
  color: rgba(26,26,26,0.85);
  font-weight: 700;
}
[data-theme="dark"] .post-card__more { color: #fff; }

/* --- Pagination --- */
.post-pagination {
  margin-top: clamp(40px, 4vw, 64px);
  display: flex;
  justify-content: center;
}
.post-pagination .nav-links {
  display: flex; gap: 6px; align-items: center;
}
.post-pagination .page-numbers {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 38px; height: 38px;
  padding: 0 10px;
  border: 1px solid rgba(26,26,26,0.2);
  font-size: 13px; letter-spacing: 0.05em;
  color: rgba(26,26,26,0.7);
  text-decoration: none;
  transition: border-color 160ms ease, color 160ms ease;
}
[data-theme="dark"] .post-pagination .page-numbers {
  border-color: rgba(255,255,255,0.22);
  color: rgba(255,255,255,0.92);
}
.post-pagination .page-numbers:hover { color: var(--ink); border-color: rgba(26,26,26,0.6); }
[data-theme="dark"] .post-pagination .page-numbers:hover { color: #fff; border-color: rgba(255,255,255,0.6); }
.post-pagination .page-numbers.current {
  background: var(--ink); color: var(--paper); border-color: var(--ink);
  font-weight: 700;
}
[data-theme="dark"] .post-pagination .page-numbers.current {
  background: #fff; color: var(--ink); border-color: #fff;
}

.post-empty {
  font-family: var(--font-serif);
  font-style: italic;
  text-align: center;
  padding: clamp(40px, 4vw, 80px) 0;
  color: rgba(26,26,26,0.6);
}
[data-theme="dark"] .post-empty { color: rgba(255,255,255,0.92); }

/* --- Single post --- */
.post-single__hero {
  margin: 0;
  background: rgba(26,26,26,0.04);
}
[data-theme="dark"] .post-single__hero { background: rgba(255,255,255,0.04); }
.post-single__hero img {
  width: 100%; max-height: 540px; object-fit: cover; display: block;
}

.post-single__content {
  font-family: var(--font-serif);
  font-size: clamp(17px, 1.1vw, 19px);
  line-height: 1.78;
  color: rgba(26,26,26,0.88);
}
[data-theme="dark"] .post-single__content { color: rgba(255,255,255,0.92); }

.post-single__content > * { margin-bottom: 1.2em; }
.post-single__content h2 {
  font-family: var(--font-serif);
  font-size: clamp(28px, 2.2vw, 36px);
  line-height: 1.25;
  margin-top: 1.6em; margin-bottom: 0.6em;
  color: var(--ink);
}
[data-theme="dark"] .post-single__content h2 { color: #fff; }
.post-single__content h3 {
  font-family: var(--font-serif);
  font-size: clamp(22px, 1.7vw, 26px);
  line-height: 1.3;
  margin-top: 1.4em; margin-bottom: 0.5em;
  color: var(--ink);
}
[data-theme="dark"] .post-single__content h3 { color: #fff; }
.post-single__content a {
  color: rgba(26,26,26,0.95);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}
[data-theme="dark"] .post-single__content a { color: #fff; }
.post-single__content blockquote {
  font-style: italic;
  border-left: 2px solid rgba(26,26,26,0.4);
  padding-left: 24px; margin-left: 0;
}
[data-theme="dark"] .post-single__content blockquote { border-left-color: rgba(255,255,255,0.4); }
.post-single__content ul, .post-single__content ol { padding-left: 1.4em; }
.post-single__content li { margin-bottom: 0.5em; }
.post-single__content img {
  max-width: 100%; height: auto;
  display: block;
  margin: 1.6em auto;
}

.post-single__meta {
  font-family: var(--font-mono, var(--font-sans));
  font-size: 11.5px; letter-spacing: 0.16em; text-transform: uppercase;
  color: rgba(26,26,26,0.55);
  margin: 0;
}
[data-theme="dark"] .post-single__meta { color: rgba(255,255,255,0.92); }
.post-single__meta a { color: inherit; }

.post-single__tags {
  margin-top: 40px; padding-top: 20px;
  border-top: 1px solid rgba(26,26,26,0.12);
  font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase;
  color: rgba(26,26,26,0.55);
  display: flex; flex-wrap: wrap; gap: 8px 14px;
}
[data-theme="dark"] .post-single__tags { color: rgba(255,255,255,0.92); border-top-color: rgba(255,255,255,0.12); }
.post-single__tags a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }

.post-single__nav {
  margin-top: 30px;
  display: flex; justify-content: space-between; align-items: center;
  gap: 20px; flex-wrap: wrap;
  border-top: 1px solid rgba(26,26,26,0.12);
  padding-top: 24px;
  font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase;
}
[data-theme="dark"] .post-single__nav { border-top-color: rgba(255,255,255,0.12); }
.post-single__nav a { color: inherit; text-decoration: none; }

/* --- Team grid (template-team.php) --- */
.team-grid {
  display: grid;
  gap: clamp(20px, 2vw, 32px);
}
.team-grid--leadership {
  grid-template-columns: repeat(3, 1fr);
}
.team-grid--staff {
  grid-template-columns: repeat(4, 1fr);
}

.team-card {
  border: 1px solid rgba(26,26,26,0.16);
  background: var(--paper);
  padding: clamp(20px, 1.8vw, 28px);
  display: flex;
  flex-direction: column;
}
[data-theme="dark"] .team-card { border-color: rgba(255,255,255,0.16); background: rgba(255,255,255,0.04); }

.team-card__photo {
  margin: 0 0 16px;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: 999px;
  width: 130px; height: 130px;
  background: rgba(26,26,26,0.06);
}
.team-card__photo--small { width: 90px; height: 90px; }
[data-theme="dark"] .team-card__photo { background: rgba(255,255,255,0.06); }
.team-card__photo img { width: 100%; height: 100%; object-fit: cover; display: block; }

.team-card__name {
  font-family: var(--font-serif);
  font-size: clamp(20px, 1.4vw, 24px);
  line-height: 1.2;
  margin: 0 0 6px;
  color: var(--ink);
}
[data-theme="dark"] .team-card__name { color: #fff; }
.team-card--staff .team-card__name { font-size: 17px; }

.team-card__role {
  font-size: 11.5px; letter-spacing: 0.14em; text-transform: uppercase;
  font-weight: 600;
  color: rgba(26,26,26,0.55);
  margin-bottom: 12px;
}
[data-theme="dark"] .team-card__role { color: rgba(255,255,255,0.92); }

.team-card__bio {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 14.5px;
  line-height: 1.6;
  color: rgba(26,26,26,0.72);
  margin: 0 0 16px;
}
[data-theme="dark"] .team-card__bio { color: rgba(255,255,255,0.92); }

.team-card__contact {
  margin-top: auto;
  display: flex; flex-direction: column; gap: 4px;
  font-size: 13px;
  color: rgba(26,26,26,0.7);
}
[data-theme="dark"] .team-card__contact { color: rgba(255,255,255,0.92); }
.team-card__contact a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }

/* --- Careers blocks --- */
.section--careers .career-block {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: clamp(28px, 3vw, 56px);
  align-items: center;
}
.section--careers .career-block--text {
  grid-template-columns: 1fr;
  max-width: 760px;
  margin-left: auto; margin-right: auto;
}
.career-block__image img {
  width: 100%; height: auto; display: block;
}
.career-block__body .section-kicker {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 28px;
  color: rgba(26,26,26,0.45);
  margin-bottom: 16px;
}
[data-theme="dark"] .career-block__body .section-kicker { color: rgba(255,255,255,0.92); }
.career-block__body .section-title {
  font-family: var(--font-serif);
  font-size: clamp(28px, 2.4vw, 40px);
  line-height: 1.2;
  margin-bottom: 16px;
}
.career-block__body p {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(16px, 1.1vw, 18px);
  line-height: 1.65;
  color: rgba(26,26,26,0.78);
  margin-bottom: 1em;
}
[data-theme="dark"] .career-block__body p { color: rgba(255,255,255,0.92); }

/* --- Order page placeholder --- */
.order-message {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(17px, 1.2vw, 20px);
  line-height: 1.7;
  text-align: center;
  margin-bottom: 36px;
  color: rgba(26,26,26,0.78);
}
[data-theme="dark"] .order-message { color: rgba(255,255,255,0.92); }

.order-form-wrap {
  max-width: 600px; margin: 0 auto;
}

/* --- 404 list --- */
.ft-404 {
  list-style: none;
  padding: 0; margin: 30px 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  font-family: var(--font-serif);
  font-size: clamp(18px, 1.4vw, 22px);
}
.ft-404 a {
  color: inherit;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}
.ft-404__search { font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(26,26,26,0.5); margin-top: 24px; }
[data-theme="dark"] .ft-404__search { color: rgba(255,255,255,0.92); }

/* --- Footer column lists (now PHP-rendered with <ul>) --- */
.site-footer__col ul {
  list-style: none;
  padding: 0; margin: 0;
}
.site-footer__col ul li { margin-bottom: 8px; }

/* --- Responsive --- */
@media (max-width: 960px) {
  .post-grid { grid-template-columns: repeat(2, 1fr); }
  .team-grid--leadership { grid-template-columns: 1fr; }
  .team-grid--staff { grid-template-columns: repeat(2, 1fr); }
  .section--careers .career-block { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .post-grid { grid-template-columns: 1fr; }
  .team-grid--staff { grid-template-columns: 1fr; }
  .post-single__nav { flex-direction: column; align-items: flex-start; }
}



/* =====================================================================
   v2.0.16 — Dark-theme subtext legibility overrides
   --ink-body is the design's body-text gray (#4A4A4A) used on light
   backgrounds; on the locked dark variant we flip it to a near-white so
   subtext, body paragraphs, and table cells remain readable.
   ===================================================================== */
:root { --ink-body: #4A4A4A; --ink-muted: #6A6A6A; }
[data-theme="dark"] { --ink-body: rgba(255,255,255,0.95); --ink-muted: rgba(255,255,255,0.78); }

/* Belt-and-braces: also force common text classes to bright white on dark
   sections in case a rule used a literal color that escaped the variable. */
[data-theme="dark"] .hero__lede,
[data-theme="dark"] .hero__body,
[data-theme="dark"] .order-band__subtext,
[data-theme="dark"] .order-band__note,
[data-theme="dark"] .standard__body,
[data-theme="dark"] .feature-row__body,
[data-theme="dark"] .milestones__body,
[data-theme="dark"] .nums-list__body,
[data-theme="dark"] .standard__col p,
[data-theme="dark"] .standard p,
[data-theme="dark"] .section--dark p,
[data-theme="dark"] .page-header__lede,
[data-theme="dark"] .page-header__lede p,
[data-theme="dark"] .pullquote__text,
[data-theme="dark"] .body,
[data-theme="dark"] .body-lg,
[data-theme="dark"] .testimonial__quote,
[data-theme="dark"] .about-intro__body,
[data-theme="dark"] .about-intro__body p,
[data-theme="dark"] .spec-table td { color: rgba(255,255,255,0.95); }

[data-theme="dark"] .eyebrow,
[data-theme="dark"] .section-kicker,
[data-theme="dark"] .page-header__kicker,
[data-theme="dark"] .hero__kicker,
[data-theme="dark"] .standard__col-eyebrow,
[data-theme="dark"] .feature-row__eyebrow { color: rgba(255,255,255,0.92); }

[data-theme="dark"] em.text-muted,
[data-theme="dark"] .text-muted,
[data-theme="dark"] .desk-card__meta,
[data-theme="dark"] .post-card__meta { color: rgba(255,255,255,0.88); }
