/* ============================================================
   RetrievalNT · Editorial navy palette, serif + sans pairing
   ============================================================ */

:root {
  /* Palette · deep navy primary, supporting blues & slates */
  --navy-900: #0A2540;
  --navy-800: #0D2B4F;
  --navy-700: #14365C;
  --navy-600: #1C3A5E;
  --steel-500: #2E5C8A;
  --steel-400: #4A7BA8;
  --sky-300: #8FB4D3;
  --slate-100: #EEF2F7;
  --slate-50: #F5F8FC;
  --ink: #0F1E32;
  --ink-muted: #44556B;
  --rule: #D6DEE9;
  --rule-soft: #E8EEF5;
  --paper: #FAF6EC;
  --paper-warm: #F8F5EF;
  --accent: #C08A3E;

  /* Type stack */
  --serif: "Newsreader", Georgia, serif;
  --sans: "Inter Tight", system-ui, -apple-system, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, Menlo, monospace;

  /* Density */
  --section-py: clamp(72px, 9vw, 140px);
  --shell-px: clamp(20px, 4vw, 56px);
  --shell-max: 1280px;

  /* Speed */
  --ease: cubic-bezier(.2,.7,.2,1);
}

html[data-font="fraunces-inter"] {
  --serif: "Fraunces", "Newsreader", Georgia, serif;
}
html[data-font="all-inter"] {
  --serif: "Inter Tight", system-ui, sans-serif;
}
html[data-density="compact"] {
  --section-py: clamp(52px, 6vw, 96px);
}

* { box-sizing: border-box; }
html, body { margin: 0; }
html {
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: "ss01", "cv11";
}
body {
  min-height: 100vh;
  overflow-x: hidden;
  background: var(--paper);
}

a { color: inherit; text-decoration: none; }
a:where(:visited) { color: inherit; }
a:where(:focus) { color: inherit; outline: none; }
a:focus-visible, button:focus-visible {
  outline: 2px solid var(--navy-900);
  outline-offset: 3px;
  border-radius: 2px;
}
img { max-width: 100%; display: block; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
ul { list-style: none; padding: 0; margin: 0; }

.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--navy-900); color: #fff; padding: 10px 14px;
}
.skip-link:focus { left: 12px; top: 12px; z-index: 1000; }

.shell {
  max-width: var(--shell-max);
  margin: 0 auto;
  padding-left: var(--shell-px);
  padding-right: var(--shell-px);
}

/* ============================================================
   HEADER
   ============================================================ */
#services { scroll-margin-top: 110px; }

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(250, 246, 236, 0.88);
  backdrop-filter: saturate(1.1) blur(14px);
  -webkit-backdrop-filter: saturate(1.1) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s var(--ease), background .2s var(--ease);
}
.site-header.scrolled {
  border-color: var(--rule-soft);
  background: rgba(250, 246, 236, 0.94);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  min-height: 78px;
  padding-top: 14px; padding-bottom: 14px;
}

.brand { display: inline-flex; align-items: center; gap: 12px; color: var(--navy-900); }
.brand-mark { width: 47px; height: 47px; display: block; flex: none; object-fit: contain; }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-word {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 22px;
  letter-spacing: -0.01em;
  color: var(--navy-900);
}
.brand-word em { font-style: normal; color: var(--accent); font-weight: 500; }
.brand-sub {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.04em;
  color: var(--ink-muted);
  margin-top: 5px;
  text-transform: uppercase;
}

.primary-nav { display: flex; align-items: center; gap: 4px; }
.primary-nav a {
  padding: 10px 14px;
  font-size: 14.5px;
  font-weight: 500;
  color: var(--ink);
  border-radius: 4px;
  transition: background .15s var(--ease), color .15s var(--ease);
  position: relative;
}
.primary-nav a:hover { color: var(--navy-900); background: var(--slate-100); }
.primary-nav a.active {
  color: var(--navy-900);
}
.primary-nav a.active::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 4px;
  height: 1.5px; background: var(--accent);
}
.primary-nav .nav-cta {
  margin-left: 10px;
  background: var(--navy-900);
  color: #fff;
  padding: 11px 18px;
  border-radius: 2px;
}
.primary-nav .nav-cta:hover { background: var(--navy-700); color: #fff; }
.primary-nav .nav-cta.active { color: #fff; }
.primary-nav .nav-cta.active::after { display: none; }

.nav-toggle { display: none; flex-direction: column; gap: 5px; padding: 10px; }
.nav-toggle span { width: 22px; height: 1.5px; background: var(--navy-900); display: block; transition: transform .2s var(--ease); }

@media (max-width: 900px) {
  .primary-nav { display: none; }
  .nav-toggle { display: flex; }
}

/* ============================================================
   MOBILE DRAWER
   Body-level drawer that slides in from the right. Rendered
   outside the header so backdrop-filter doesn't create a
   containing block for its fixed position.
   ============================================================ */
.mobile-backdrop {
  position: fixed; inset: 0; z-index: 60;
  background: rgba(10, 37, 64, 0.42);
  opacity: 0;
  transition: opacity .2s var(--ease);
  pointer-events: none;
}
.mobile-drawer {
  position: fixed; top: 0; right: 0; bottom: 0;
  width: min(86vw, 360px);
  z-index: 70;
  background: var(--paper);
  border-left: 1px solid var(--rule-soft);
  box-shadow: -18px 0 40px rgba(10, 37, 64, 0.14);
  transform: translateX(100%);
  transition: transform .28s var(--ease);
  display: flex; flex-direction: column;
  padding: 0;
  visibility: hidden;
}
body.nav-open .mobile-drawer {
  transform: translateX(0);
  visibility: visible;
}
body.nav-open .mobile-backdrop {
  opacity: 1;
  pointer-events: auto;
}
body.nav-open,
html:has(body.nav-open) {
  overflow: hidden;
}

.mobile-drawer-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 22px;
  border-bottom: 1px solid var(--rule-soft);
  min-height: 64px;
}
.mobile-drawer-label {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-muted);
}
.mobile-drawer-close {
  width: 44px; height: 44px;
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--navy-900);
  border-radius: 2px;
}
.mobile-drawer-close:hover { background: var(--slate-100); }

.mobile-drawer-links {
  display: flex; flex-direction: column;
  padding: 12px 14px 24px;
  overflow-y: auto;
  overscroll-behavior: contain;
  flex: 1;
}
.mobile-drawer-links a {
  padding: 16px 12px;
  font-size: 16px;
  font-weight: 500;
  color: var(--navy-900);
  border-bottom: 1px solid var(--rule-soft);
  min-height: 48px;
  display: flex; align-items: center;
}
.mobile-drawer-links a:last-child { border-bottom: 0; }
.mobile-drawer-links a.active {
  color: var(--navy-900);
  background: var(--slate-100);
  border-radius: 2px;
}
.mobile-drawer-links .mobile-drawer-cta {
  margin-top: 16px;
  background: var(--navy-900);
  color: #fff;
  justify-content: center;
  border: 0;
  border-radius: 2px;
  min-height: 52px;
  letter-spacing: 0.01em;
}
.mobile-drawer-links .mobile-drawer-cta.active { background: var(--navy-700); color: #fff; }
.mobile-drawer-links .mobile-drawer-cta:hover { background: var(--navy-700); color: #fff; }

/* Hide drawer + backdrop on desktop regardless of body state */
@media (min-width: 901px) {
  .mobile-drawer, .mobile-backdrop { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .mobile-drawer, .mobile-backdrop { transition: none; }
}

/* ============================================================
   SHARED SECTION PATTERNS
   ============================================================ */
.view { animation: fadeUp .4s var(--ease); }
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: none; }
}

section { padding-top: var(--section-py); padding-bottom: var(--section-py); }
section.band-navy { background: var(--navy-900); color: #fff; }
section.band-slate { background: var(--slate-50); }
section.band-warm { background: var(--paper-warm); }

.eyebrow {
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-muted);
  display: inline-flex; align-items: center; gap: 10px;
}
.eyebrow::before {
  content: ""; width: 24px; height: 1px; background: currentColor; display: inline-block;
}
.band-navy .eyebrow { color: var(--sky-300); }

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 400;
  color: var(--navy-900);
  letter-spacing: -0.015em;
  text-wrap: balance;
  margin: 0;
}
.band-navy h1, .band-navy h2, .band-navy h3, .band-navy h4 { color: #fff; }

h1 { font-size: clamp(44px, 6.5vw, 88px); line-height: 1.04; font-weight: 300; }
h2 { font-size: clamp(32px, 4vw, 54px); line-height: 1.08; }
h3 { font-size: clamp(22px, 2.3vw, 30px); line-height: 1.2; }

p { text-wrap: pretty; }
.lede {
  font-size: clamp(18px, 1.5vw, 21px);
  line-height: 1.55;
  color: var(--ink-muted);
  max-width: 60ch;
  font-weight: 400;
}
.band-navy .lede { color: rgba(255,255,255,0.78); }

.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 15px 24px;
  font-size: 14.5px; font-weight: 500;
  letter-spacing: 0.01em;
  border-radius: 2px;
  transition: transform .15s var(--ease), background .15s var(--ease), color .15s var(--ease);
  border: 1px solid transparent;
}
.btn .arrow { transition: transform .2s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }
.btn-primary { background: var(--navy-900); color: #fff; }
.btn-primary:hover { background: var(--navy-700); }
.btn-outline { border-color: var(--navy-900); color: var(--navy-900); }
.btn-outline:hover { background: var(--navy-900); color: #fff; }
.band-navy .btn-outline { border-color: rgba(255,255,255,0.5); color: #fff; }
.band-navy .btn-outline:hover { background: #FAF6EC; color: var(--navy-900); border-color: #FAF6EC; }
.btn-ghost { color: var(--navy-900); padding-left: 4px; padding-right: 4px; border-bottom: 1px solid var(--navy-900); border-radius: 0; }

.rule { border: 0; height: 1px; background: var(--rule); margin: 0; }
.rule-soft { border: 0; height: 1px; background: var(--rule-soft); }

/* ============================================================
   HERO · editorial, split, centered variants
   ============================================================ */
.hero { position: relative; padding-top: clamp(20px, 2.4vw, 32px); padding-bottom: clamp(72px, 9vw, 140px); overflow: hidden; }
.hero-shell { position: relative; z-index: 2; }

.hero-editorial .hero-shell {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 72px;
  align-items: end;
}
.hero-editorial .h-eyebrow-col {
  border-top: 1px solid var(--navy-900);
  padding-top: 18px;
  max-width: 28ch;
}
.hero-editorial .h-eyebrow-col .pill {
  margin-top: 22px;
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase;
  background: var(--navy-900); color: #fff; padding: 8px 12px; border-radius: 2px;
}
.hero-editorial .h-eyebrow-col .hero-portrait { display: none; }
@media (min-width: 1024px) {
  .hero-editorial .hero-shell:has(.hero-portrait) { align-items: start; }

  /* image-led layout: drop the column's top rule + max-width so the photo can fill the full column width */
  .hero-editorial .h-eyebrow-col:has(.hero-portrait) {
    border-top: 0;
    padding-top: 0;
    max-width: none;
  }

  .hero-editorial .h-eyebrow-col .hero-portrait {
    display: block;
    margin: 0 0 24px 0;
    width: 100%;
    max-width: none;
    height: auto;
    border-radius: 4px;
    object-fit: cover;
  }

  /* navy rule now sits below the image (above the eyebrow) */
  .hero-editorial .h-eyebrow-col .hero-portrait + .eyebrow {
    display: flex;
    border-top: 1px solid var(--navy-900);
    padding-top: 18px;
  }
}
.hero-editorial .h-headline-col h1 {
  font-weight: 300;
}
.hero-editorial .h-headline-col h1 .italic {
  font-style: italic; color: var(--steel-500); font-weight: 400;
}
.hero-editorial .h-headline-col h1 .rule-word {
  position: relative;
}
.hero-editorial .h-headline-col h1 .rule-word::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 4px; height: 1px; background: var(--accent);
  transform: scaleX(0); transform-origin: left; animation: drawRule 1s .4s var(--ease) forwards;
}
@keyframes drawRule { to { transform: scaleX(1); } }
.hero-editorial .h-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 36px; }
.hero-editorial .h-meta {
  display: flex; flex-wrap: wrap; gap: 32px 48px;
  margin-top: 64px; padding-top: 28px;
  border-top: 1px solid var(--rule);
}
.hero-editorial .h-meta .stat { max-width: 24ch; }
.hero-editorial .h-meta .stat .n {
  font-family: var(--serif); font-size: 40px; line-height: 1; color: var(--navy-900); display: block; font-weight: 400;
  font-feature-settings: "lnum";
}
.hero-editorial .h-meta .stat .l {
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--ink-muted); margin-top: 10px; display: block;
}

/* Decorative page-edge number */
.hero-edge {
  position: absolute; top: 40px; right: var(--shell-px);
  font-family: var(--mono); font-size: 11px; color: var(--ink-muted); letter-spacing: 0.12em;
  writing-mode: vertical-rl;
}

@media (max-width: 900px) {
  .hero-editorial .hero-shell { grid-template-columns: 1fr; gap: 36px; }
  .hero-editorial .h-eyebrow-col { display: none; }
  .hero-editorial .h-meta { gap: 24px 32px; }
  .hero-edge { display: none; }
}

/* Split hero variant */
.hero-split .hero-shell {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 64px;
  align-items: center;
}
.hero-split .portrait {
  aspect-ratio: 4/5;
  background: linear-gradient(135deg, var(--navy-800), var(--navy-900));
  border-radius: 2px;
  position: relative;
  overflow: hidden;
}
.hero-split .portrait::before {
  content: ""; position: absolute; inset: 0;
  background-image: repeating-linear-gradient(135deg, rgba(255,255,255,.04) 0 2px, transparent 2px 18px);
}
.hero-split .portrait .ph-label {
  position: absolute; left: 20px; bottom: 20px;
  font-family: var(--mono); font-size: 10px; letter-spacing: .14em; text-transform: uppercase;
  color: rgba(255,255,255,0.7);
}
@media (max-width: 900px) { .hero-split .hero-shell { grid-template-columns: 1fr; } }

/* Centered hero */
.hero-centered { text-align: center; }
.hero-centered .h-actions { justify-content: center; }
.hero-centered .lede { margin-left: auto; margin-right: auto; }

/* ============================================================
   CARDS / GRIDS
   ============================================================ */
.services-head {
  display: flex; flex-direction: column; align-items: flex-start;
  gap: 14px;
  margin-bottom: 40px;
  max-width: 44ch;
}
.services-head h2 { margin: 0; }

.services-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 0;
  border-top: 1px solid var(--rule);
}
.service-card {
  padding: 44px 36px 40px;
  border-right: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  position: relative;
  background: var(--paper);
  transition: background .2s var(--ease);
  display: flex; flex-direction: column;
  min-height: 340px;
}
.service-card:last-child { border-right: 0; }
.service-card:hover { background: var(--slate-50); }
.service-card .num {
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em;
  color: var(--ink-muted); text-transform: uppercase;
}
.service-card h3 {
  margin-top: 18px; margin-bottom: 16px;
}
.service-card p { color: var(--ink-muted); font-size: 15.5px; flex: 1; }
.service-card .s-link {
  margin-top: 22px; display: inline-flex; align-items: center; gap: 8px;
  color: var(--navy-900); font-weight: 500; font-size: 14px;
}
.service-card .s-link .arrow { transition: transform .2s var(--ease); }
.service-card:hover .s-link .arrow { transform: translateX(4px); }

@media (max-width: 900px) {
  .services-grid { grid-template-columns: 1fr; }
  .service-card { border-right: 0; min-height: 0; }
}

/* Two-column layout */
.two-col {
  display: grid; grid-template-columns: 1fr 1.3fr; gap: 72px;
  align-items: start;
}
@media (max-width: 900px) { .two-col { grid-template-columns: 1fr; gap: 36px; } }

.lede-col .eyebrow { margin-bottom: 18px; }
.lede-col h2 { margin-bottom: 20px; }

/* Values list */
.values-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px;
  margin-top: 56px;
}
.value {
  padding-top: 22px; border-top: 1px solid rgba(255,255,255,0.2);
}
.value .v-num { font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; color: var(--sky-300); text-transform: uppercase; }
.value h3 { margin-top: 14px; font-size: 26px; }
.value p { margin-top: 10px; color: rgba(255,255,255,0.7); font-size: 15px; }
@media (max-width: 700px) { .values-grid { grid-template-columns: 1fr; gap: 24px; } }

/* Why-choose list */
.why-list { columns: 2; column-gap: 48px; margin-top: 8px; }
.why-list li {
  padding: 18px 0;
  border-bottom: 1px solid var(--rule);
  display: flex; gap: 14px; align-items: flex-start;
  break-inside: avoid;
}
.why-list li .tick {
  flex: none; width: 22px; height: 22px; border: 1px solid var(--navy-900); border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center; margin-top: 2px;
}
.why-list li .tick svg { width: 10px; height: 10px; }
.why-list li strong { font-weight: 500; color: var(--navy-900); display: block; }
.why-list li span.desc { font-size: 14.5px; color: var(--ink-muted); display: block; margin-top: 4px; }
@media (max-width: 700px) { .why-list { columns: 1; } }

/* Credentials strip */
.cred-strip {
  display: grid; grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule);
}
.cred-strip .cred {
  padding: 32px 24px;
  border-right: 1px solid var(--rule);
}
.cred-strip .cred:last-child { border-right: 0; }
.cred .c-label { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.14em; color: var(--ink-muted); text-transform: uppercase; }
.cred .c-value { font-family: var(--serif); font-size: 22px; color: var(--navy-900); margin-top: 10px; line-height: 1.25; }
@media (max-width: 760px) {
  .cred-strip { grid-template-columns: 1fr; }
  .cred-strip .cred { border-right: 0; border-bottom: 1px solid var(--rule); padding: 22px 0; }
  .cred-strip .cred:last-child { border-bottom: 0; }
}

/* CTA band */
.cta-band { padding: clamp(72px, 9vw, 120px) 0; }
.cta-inner {
  display: grid; grid-template-columns: 1.5fr 1fr; gap: 48px; align-items: end;
}
.cta-inner h2 { max-width: 16ch; }
.cta-inner .cta-actions { display: flex; gap: 14px; flex-wrap: wrap; justify-content: flex-end; }
@media (max-width: 800px) {
  .cta-inner { grid-template-columns: 1fr; }
  .cta-inner .cta-actions { justify-content: flex-start; }
}

/* ============================================================
   SERVICE PAGE
   ============================================================ */
.page-head {
  padding-top: clamp(18px, 2vw, 28px);
  padding-bottom: clamp(48px, 5vw, 80px);
  border-bottom: 1px solid var(--rule);
}
.page-head .crumb {
  font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.14em;
  color: var(--ink-muted); text-transform: uppercase; margin-bottom: 24px;
}
.page-head .crumb a { color: var(--navy-900); }
.page-head h1 { max-width: 16ch; }
.page-head .lede { margin-top: 28px; max-width: 58ch; }

.service-body { padding: var(--section-py) 0; }
.service-grid {
  display: grid; grid-template-columns: 1fr 1.6fr; gap: 80px; align-items: start;
}
.service-grid aside.sticky {
  position: sticky; top: 104px;
  padding: 24px; border: 1px solid var(--rule); border-radius: 2px;
  background: var(--paper);
}
.service-grid aside.sticky h4 { font-family: var(--sans); font-weight: 600; font-size: 13px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-muted); margin-bottom: 14px; }
.service-grid aside.sticky ul li {
  padding: 12px 0; border-bottom: 1px solid var(--rule-soft); display: flex; justify-content: space-between; gap: 12px; font-size: 14.5px;
}
.service-grid aside.sticky ul li:last-child { border-bottom: 0; }
.service-grid aside.sticky ul li span.k { color: var(--ink-muted); }
.service-grid aside.sticky ul li span.v { color: var(--navy-900); font-weight: 500; text-align: right; }

.service-grid .scope h2 { margin-bottom: 28px; }
.service-grid .scope p { font-size: 17px; color: var(--ink-muted); }
.service-grid .scope h3 { margin-top: 48px; margin-bottom: 18px; font-size: 24px; }
.service-grid .scope ul.scope-list li {
  padding: 16px 0; border-bottom: 1px solid var(--rule);
  display: grid; grid-template-columns: 28px 1fr; gap: 16px; align-items: baseline;
}
.service-grid .scope ul.scope-list li .n { font-family: var(--mono); font-size: 12px; color: var(--ink-muted); }
.service-grid .scope ul.scope-list li strong { font-family: var(--serif); font-size: 19px; font-weight: 500; color: var(--navy-900); display: block; margin-bottom: 4px; }
.service-grid .scope ul.scope-list li .d { font-size: 15px; color: var(--ink-muted); }

.service-grid .scope-editorial { max-width: 68ch; }
.service-grid .scope-editorial h2 { font-size: clamp(28px, 3vw, 36px); line-height: 1.2; margin-bottom: 14px; color: var(--navy-900); }
.service-grid .scope-editorial .scope-sub {
  font-family: var(--mono); font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 36px; padding-bottom: 18px; border-bottom: 1px solid var(--rule);
}
.service-grid .scope-editorial p { font-size: 16px; line-height: 1.75; color: var(--ink); margin-top: 18px; }
.service-grid .scope-editorial p strong { color: var(--navy-900); font-weight: 600; }
.service-grid .scope-editorial h3 {
  margin-top: 48px; margin-bottom: 14px; padding-top: 28px; border-top: 1px solid var(--rule);
  font-family: var(--serif); font-size: 22px; font-weight: 500; color: var(--navy-900); letter-spacing: -0.005em;
}
.service-grid .scope-editorial ul.lean-list {
  list-style: none; padding: 0; margin-top: 18px;
}
.service-grid .scope-editorial ul.lean-list li {
  position: relative; padding: 10px 0 10px 26px; font-size: 16px; line-height: 1.65; color: var(--ink);
  border-bottom: 1px solid var(--rule);
}
.service-grid .scope-editorial ul.lean-list li:last-child { border-bottom: 0; }
.service-grid .scope-editorial ul.lean-list li::before {
  content: ""; position: absolute; left: 0; top: 18px;
  width: 14px; height: 1px; background: var(--accent);
}
.service-grid .scope-editorial .scope-close {
  margin-top: 40px; padding: 24px; background: var(--paper-warm);
  border-left: 3px solid var(--accent); font-size: 16px; line-height: 1.7;
}

@media (max-width: 900px) {
  .service-grid { grid-template-columns: 1fr; gap: 36px; }
  .service-grid aside.sticky { position: static; }
}

/* Audience pills */
.audience-band { padding: clamp(56px, 6vw, 100px) 0; border-top: 1px solid var(--rule); }
.audience-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 0;
  margin-top: 40px;
}
.aud-card {
  padding: 28px 24px; border-right: 1px solid var(--rule);
}
.aud-card:last-child { border-right: 0; }
.aud-card .icon {
  width: 36px; height: 36px; border: 1px solid var(--navy-900); border-radius: 2px;
  display: inline-flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
}
.aud-card .icon svg { width: 16px; height: 16px; stroke: var(--navy-900); fill: none; stroke-width: 1.5; }
.aud-card h4 { font-size: 16px; font-family: var(--sans); font-weight: 600; color: var(--navy-900); margin-bottom: 6px; }
.aud-card p { font-size: 14px; color: var(--ink-muted); }
@media (max-width: 800px) {
  .audience-grid { grid-template-columns: repeat(2, 1fr); }
  .aud-card { border-bottom: 1px solid var(--rule); }
  .aud-card:nth-child(2) { border-right: 0; }
}

/* Process steps */
.process {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 0;
  border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule);
  margin-top: 36px;
}
.step {
  padding: 32px 24px; border-right: 1px solid var(--rule);
  position: relative;
}
.step:last-child { border-right: 0; }
.step .step-num { font-family: var(--serif); font-size: 44px; color: var(--accent); line-height: 1; font-weight: 300; }
.step h4 { font-family: var(--sans); font-weight: 600; font-size: 15px; color: var(--navy-900); margin-top: 14px; }
.step p { font-size: 14px; color: var(--ink-muted); margin-top: 6px; }
@media (max-width: 800px) {
  .process { grid-template-columns: repeat(2, 1fr); }
  .step { border-bottom: 1px solid var(--rule); }
  .step:nth-child(2) { border-right: 0; }
}

/* ============================================================
   ABOUT / portrait placeholder
   ============================================================ */
.about-split {
  display: grid; grid-template-columns: 1fr 1.2fr; gap: 64px;
  align-items: start;
}
.about-split .portrait-card {
  position: relative;
}
.about-split .portrait-ph {
  aspect-ratio: 4/5;
  background:
    repeating-linear-gradient(135deg, rgba(10,37,64,.05) 0 2px, transparent 2px 16px),
    var(--slate-100);
  border: 1px solid var(--rule);
  position: relative;
  overflow: hidden;
}
.about-split .portrait-ph img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
.about-split .caption {
  margin-top: 18px;
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em; color: var(--ink-muted); text-transform: uppercase;
  display: flex; justify-content: space-between;
}
.about-split h2 { margin-bottom: 24px; }
.about-split .about-body p { font-size: 17px; color: var(--ink-muted); margin-bottom: 16px; }
.about-split .about-body p strong { color: var(--navy-900); font-weight: 500; }
.about-split .signoff {
  margin-top: 36px; padding-top: 24px; border-top: 1px solid var(--rule);
  display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap;
}
.about-split .signoff .name { font-family: var(--serif); font-size: 20px; color: var(--navy-900); }
.about-split .signoff .role { font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em; color: var(--ink-muted); text-transform: uppercase; margin-top: 4px; }

@media (max-width: 900px) {
  .about-split { grid-template-columns: 1fr; gap: 36px; }
}

/* ============================================================
   CONTACT PAGE
   ============================================================ */
.contact-grid {
  display: grid; grid-template-columns: 1fr 1.2fr; gap: 72px;
}
.contact-info h3 { font-size: 22px; margin-bottom: 18px; }
.contact-info .block { padding: 22px 0; border-top: 1px solid var(--rule); }
.contact-info .block:first-of-type { border-top: 0; }
.contact-info .label { font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; color: var(--ink-muted); text-transform: uppercase; }
.contact-info .val { font-family: var(--serif); font-size: 22px; color: var(--navy-900); margin-top: 8px; font-weight: 400; }
.contact-info .val a { border-bottom: 1px solid var(--rule); }
.contact-info .val a:hover { border-color: var(--navy-900); }
.contact-info .block p.hint { font-size: 14px; color: var(--ink-muted); margin-top: 6px; }

.contact-form {
  border: 1px solid var(--rule); padding: 40px; background: var(--paper); border-radius: 2px;
}
.contact-form h2 { font-size: 32px; margin-bottom: 28px; }
.field { margin-bottom: 22px; }
.field label {
  display: block;
  font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--ink-muted); margin-bottom: 8px;
}
.field input, .field select, .field textarea {
  width: 100%; border: 0; border-bottom: 1px solid var(--rule);
  padding: 10px 0; font: inherit; font-size: 16px; color: var(--ink);
  background: transparent; border-radius: 0;
  transition: border-color .15s var(--ease);
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: 0; border-bottom-color: var(--navy-900);
}
.field textarea { resize: vertical; min-height: 120px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.form-submit { margin-top: 16px; }
.form-note { font-size: 13px; color: var(--ink-muted); margin-top: 16px; }
.form-status { min-height: 1.5em; }

.contact-map {
  margin-top: 48px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 0;
  border: 1px solid var(--rule);
}
.contact-map.single-location { grid-template-columns: 1fr; }
.contact-map .loc { padding: 28px; border-right: 1px solid var(--rule); }
.contact-map .loc:last-child { border-right: 0; }
.contact-map .loc .lbl { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.14em; color: var(--ink-muted); text-transform: uppercase; }
.contact-map .loc .city { font-family: var(--serif); font-size: 26px; color: var(--navy-900); margin-top: 8px; }
.contact-map .loc .addr { font-size: 14.5px; color: var(--ink-muted); margin-top: 12px; line-height: 1.6; }

@media (max-width: 900px) {
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .contact-form { padding: 28px; }
  .field-row { grid-template-columns: 1fr; gap: 0; }
  .contact-map { grid-template-columns: 1fr; }
  .contact-map .loc { border-right: 0; border-bottom: 1px solid var(--rule); }
  .contact-map .loc:last-child { border-bottom: 0; }
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--navy-900);
  color: rgba(255,255,255,0.7);
  padding: 20px 0;
}
.site-footer:empty { display: none; }
.foot-line {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.06em;
}
.foot-line .foot-tag { color: rgba(255,255,255,0.55); }
@media (max-width: 560px) {
  .foot-line { justify-content: flex-start; }
}
.foot-credit {
  margin-top: 12px;
  text-align: center;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  color: rgba(255,255,255,0.5);
}
.foot-credit a { text-decoration: underline; }

/* ============================================================
   TWEAKS PANEL
   ============================================================ */
.tweaks {
  position: fixed; right: 20px; bottom: 20px; z-index: 100;
  width: 280px;
  background: #FAF6EC; border: 1px solid var(--rule); border-radius: 4px;
  box-shadow: 0 20px 40px rgba(10,37,64,.15), 0 2px 4px rgba(10,37,64,.08);
  font-family: var(--sans);
}
.tweaks-head {
  display: flex; justify-content: space-between; align-items: center;
  padding: 12px 16px; border-bottom: 1px solid var(--rule);
}
.tweaks-head strong { font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--navy-900); }
.tweaks-head button { font-size: 20px; line-height: 1; padding: 4px 8px; color: var(--ink-muted); }
.tweaks-body { padding: 16px; display: flex; flex-direction: column; gap: 16px; }
.tw-row > span:first-child { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-muted); display: block; margin-bottom: 8px; }
.tw-swatches { display: flex; gap: 8px; }
.tw-swatches button {
  width: 26px; height: 26px; border-radius: 50%; background: var(--c); border: 2px solid transparent;
}
.tw-swatches button.active { border-color: var(--ink); transform: scale(1.08); }
.tw-segment { display: flex; gap: 0; border: 1px solid var(--rule); border-radius: 2px; overflow: hidden; }
.tw-segment button {
  flex: 1; padding: 8px 6px; font-size: 12px; background: #FAF6EC; color: var(--ink-muted); border-right: 1px solid var(--rule);
}
.tw-segment button:last-child { border-right: 0; }
.tw-segment button.active { background: var(--navy-900); color: #fff; }

/* ============================================================
   ACCESSIBILITY / MOTION
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

/* ============================================================
   MOBILE REFINEMENTS
   Layered overrides for ≤820 / ≤600 / ≤420 phones and tablets.
   Existing 900/800/700/560 breakpoints above are preserved.
   ============================================================ */

/* Prevent iOS auto-zoom on input focus (16px is the safe floor) */
.field input, .field select, .field textarea { font-size: 16px; }

/* Disable hover-only motion on touch devices; give :active feedback instead */
@media (hover: none), (pointer: coarse) {
  .service-card:hover { background: var(--paper); }
  .service-card:hover .s-link .arrow,
  .btn:hover .arrow { transform: none; }
  .service-card:active { background: var(--slate-50); }
  .btn-primary:active { background: var(--navy-700); }
  .btn-outline:active { background: var(--navy-900); color: #fff; }
  .primary-nav a:active { background: var(--slate-100); }
}

/* Tablet portrait (≤820px) · collapse 4-col grids and 3-col services to 2-col */
@media (max-width: 820px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .services-grid .service-card { border-right: 1px solid var(--rule); }
  .services-grid .service-card:nth-child(2n) { border-right: 0; }
  .services-grid .service-card { min-height: 0; }
  .hero-editorial .h-meta .stat .n { font-size: clamp(28px, 6vw, 40px); }
}

/* ≤760px · compact header, hide brand subtitle, shrink nav toggle target */
@media (max-width: 760px) {
  .header-inner { min-height: 64px; gap: 16px; padding-top: 10px; padding-bottom: 10px; }
  .brand-sub { display: none; }
  .mobile-drawer-head { min-height: 58px; }
}

/* Large phone / phablet (≤600px) · collapse to single column, raise touch targets */
@media (max-width: 600px) {
  :root {
    --shell-px: clamp(16px, 4vw, 28px);
    --section-py: clamp(56px, 13vw, 96px);
  }

  /* Header · tighten height, raise hamburger tap area */
  .header-inner { gap: 16px; min-height: 60px; }
  .nav-toggle { padding: 12px; min-width: 44px; min-height: 44px; align-items: center; justify-content: center; }

  /* Buttons · meet 44×44 touch target */
  .btn { padding: 16px 24px; min-height: 48px; font-size: 15px; }

  /* Typography floors · let display sizes shrink further on small screens */
  h1 { font-size: clamp(38px, 9vw, 56px); }
  h2 { font-size: clamp(28px, 7vw, 42px); }
  h3 { font-size: clamp(20px, 5vw, 26px); }
  .lede { font-size: 17px; }
  .eyebrow { font-size: 12px; }
  .brand-sub { font-size: 11.5px; }
  /* Bump tiny mono labels above 11px */
  .cred .c-label,
  .field label,
  .contact-info .label,
  .contact-map .loc .lbl,
  .about-split .signoff .role { font-size: 12px; }

  /* Services · single column */
  .services-grid { grid-template-columns: 1fr; }
  .services-grid .service-card,
  .service-card { border-right: 0; padding: 32px 24px; }

  /* Credentials strip · single column */
  .cred-strip { grid-template-columns: 1fr; }
  .cred-strip .cred { border-right: 0; border-bottom: 1px solid var(--rule); padding: 24px 0; }
  .cred-strip .cred:last-child { border-bottom: 0; }

  /* Audience · single column */
  .audience-grid { grid-template-columns: 1fr; }
  .aud-card { border-right: 0; border-bottom: 1px solid var(--rule); padding: 24px 0; }
  .aud-card:last-child { border-bottom: 0; }

  /* Process · single column */
  .process { grid-template-columns: 1fr; }
  .step { border-right: 0; border-bottom: 1px solid var(--rule); padding: 24px 0; }
  .step:last-child { border-bottom: 0; }

  /* Hero meta · tighter rhythm */
  .hero-editorial .h-meta { gap: 20px 28px; margin-top: 40px; }

  /* Contact form · pull padding in */
  .contact-form { padding: 24px; }
  .contact-form h2 { font-size: 28px; }
}

/* Small phone (≤420px) · final tightening pass */
@media (max-width: 420px) {
  .hero { padding-top: 48px; padding-bottom: 48px; }
  .hero-editorial .h-meta { margin-top: 32px; padding-top: 22px; gap: 18px 24px; }
  .hero-editorial .h-meta .stat .n { font-size: 30px; }
  .contact-form { padding: 20px; }
  .contact-form h2 { font-size: 24px; }
  .brand-word { font-size: 19px; }
  .brand-mark { width: 42px; height: 42px; }
  .services-head { margin-bottom: 28px; }
  /* Stack hero/CTA actions full-width for thumb reach */
  .hero-editorial .h-actions { flex-direction: column; align-items: stretch; }
  .hero-editorial .h-actions .btn,
  .cta-inner .cta-actions .btn { justify-content: center; }
  .cta-inner .cta-actions { flex-direction: column; align-items: stretch; }
}

/* Authoring tweaks panel · out of the way on phones/tablets */
@media (max-width: 900px) {
  .tweaks { display: none; }
}

/* ============================================================
   FAQ · editorial accordion
   ============================================================ */
.faq-band {
  padding: var(--section-py) 0;
  background: var(--paper-warm);
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}
.faq-list {
  margin-top: 40px;
  max-width: 820px;
  display: flex;
  flex-direction: column;
  gap: 0;
  border-top: 1px solid var(--rule);
}
.faq-item {
  border-bottom: 1px solid var(--rule);
  padding: 4px 0;
}
.faq-item > summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 20px 4px;
  font-family: var(--serif);
  font-size: clamp(18px, 2vw, 22px);
  font-weight: 500;
  line-height: 1.3;
  color: var(--ink);
  transition: color .2s var(--ease);
}
.faq-item > summary::-webkit-details-marker { display: none; }
.faq-item > summary:hover { color: var(--navy-900); }
.faq-item > summary:focus-visible {
  outline: 2px solid var(--navy-900);
  outline-offset: 4px;
  border-radius: 2px;
}
.faq-plus {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--rule);
  border-radius: 999px;
  font-family: var(--sans);
  font-size: 16px;
  font-weight: 400;
  color: var(--ink-muted);
  transition: transform .25s var(--ease), background .2s var(--ease), color .2s var(--ease);
}
.faq-item[open] .faq-plus {
  transform: rotate(45deg);
  background: var(--navy-900);
  color: #fff;
  border-color: var(--navy-900);
}
.faq-answer {
  padding: 0 4px 24px 4px;
  max-width: 68ch;
  color: var(--ink-muted);
  font-size: 15.5px;
  line-height: 1.65;
}
.faq-answer p { margin: 0; }
@media (max-width: 720px) {
  .faq-item > summary { padding: 18px 2px; gap: 16px; }
  .faq-answer { padding: 0 2px 20px 2px; }
  .faq-plus { width: 24px; height: 24px; font-size: 14px; }
}

