
/* ============================================================
   Site Templater output stylesheet
   Hand-rolled CSS, no framework. One file, no build step.
   ============================================================ */

/* TOKENS: palette is swappable by changing the body class */
.theme-editorial-navy {
  --ink:    #0E1B2C;
  --canvas: #F7F4EE;
  --text:   #1A1A1A;
  --accent: #B8894A;
  --muted:  #D9D3C7;
}

/* ALT PALETTE (just to show the swap works; not used by default) */
.theme-forest-court {
  --ink:    #1F2D24;
  --canvas: #F2EFE6;
  --text:   #1B1B1A;
  --accent: #8C6A3F;
  --muted:  #CFD2C4;
}

:root {
  --container: 1180px;
  --section-pad: clamp(64px, 10vw, 160px);
  --gutter: clamp(20px, 4vw, 48px);
  --radius: 0; /* no rounded corners: squared editorial */
  /* Paper: the soft light band between white and canvas. A palette can author
     it (palette.paper -> the inline :root override); this is the sensible
     derived default, a canvas nudged a hair toward ink so a "paper" band reads
     as distinct from a white or plain-canvas one on any palette. */
  --paper: color-mix(in oklab, var(--canvas) 93%, var(--ink) 7%);
}

/* RESET / BASE */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--canvas);
  color: var(--text);
  font-family: var(--font-body, 'Inter'), system-ui, -apple-system, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; cursor: pointer; }

/* SKIP LINK */
.skip-link {
  position: absolute; left: -10000px; top: auto;
  background: var(--ink); color: var(--canvas);
  padding: 12px 16px; z-index: 100;
}
.skip-link:focus { left: 16px; top: 16px; }

/* FOCUS */
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

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

/* TYPE */
.font-serif, .t-display, .t-h1, .t-h2, .t-h3 {
  font-family: var(--font-display, 'Fraunces'), Georgia, serif;
  font-optical-sizing: auto;
  letter-spacing: -0.01em;
  line-height: 1.1;
  font-weight: 400;
  margin: 0;
}
.t-display {
  font-variation-settings: 'opsz' 96;
  font-size: clamp(2.75rem, 6vw, 5.25rem);
  line-height: 1.02;
  letter-spacing: -0.02em;
}
.t-h1 { font-size: clamp(2.25rem, 4.5vw, 3.5rem); line-height: 1.05; }
.t-h2 { font-size: clamp(1.625rem, 3vw, 2.5rem); line-height: 1.1; }
.t-h3 { font-size: clamp(1.2rem, 1.7vw, 1.45rem); line-height: 1.2; }
.italic { font-style: italic; font-weight: 300; display: block; margin-top: 0.15em; }
/* Full-bleed hero italic-tail knob: 'inline' keeps a short interior title on one
   line (a short title like "Let's talk."); default stays block. */
.hero--fullbleed[data-italic-tail="inline"] .t-display .italic { display: inline; margin-top: 0; }

.eyebrow {
  font-size: 0.74rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 16px;
}
/* A deliberately blank hero eyebrow (hero.no_eyebrow) collapses instead of
   leaving a ghost margin. */
.hero .eyebrow:empty { display: none; }

.lead {
  font-size: clamp(1rem, 1.3vw, 1.25rem);
  color: rgba(0,0,0,0.65);
  line-height: 1.6;
  max-width: 50ch;
}
.prose p { color: rgba(0,0,0,0.7); font-size: 1.0625rem; line-height: 1.7; max-width: 60ch; }
.prose p + p { margin-top: 1em; }

/* BUTTONS */
.btn-primary {
  display: inline-block;
  background: var(--ink);
  color: var(--canvas);
  padding: 14px 26px;
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  text-decoration: none;
  border: 1px solid var(--ink);
  transition: background 200ms ease, color 200ms ease, transform 200ms ease;
  white-space: nowrap;
}
/* Subtle hover-lift on buttons (matches the standalone's -2px). Purely a hover
   affordance: the resting state is unchanged, and the reduced-motion block
   neutralizes the transform for motion-sensitive visitors. */
.btn-primary:hover { background: color-mix(in oklab, var(--ink) 85%, var(--accent) 15%); border-color: color-mix(in oklab, var(--ink) 85%, var(--accent) 15%); transform: translateY(-2px); }
.btn-primary--accent { background: var(--accent); border-color: var(--accent); color: var(--accent-text, var(--ink)); }
.btn-primary--accent:hover { background: color-mix(in oklab, var(--accent) 85%, var(--ink) 15%); border-color: color-mix(in oklab, var(--accent) 85%, var(--ink) 15%); color: var(--accent-text, var(--ink)); transform: translateY(-2px); }
.btn-ghost {
  display: inline-block;
  background: transparent;
  color: inherit;
  padding: 14px 26px;
  font-size: 0.875rem;
  font-weight: 500;
  /* Translucent border at 20% of the current text colour (the reference's
     border-ink/20 and border-canvas/20 ghost CTAs), with the label at full
     opacity, rather than fading the whole button to 85%. */
  border: 1px solid color-mix(in srgb, currentColor 20%, transparent);
  text-decoration: none;
  transition: border-color 200ms ease, transform 200ms ease;
  white-space: nowrap;
}
.btn-ghost:hover { border-color: color-mix(in srgb, currentColor 50%, transparent); transform: translateY(-2px); }
/* A button/link whose label slot is blank renders nothing (no empty button). */
.btn-primary:empty, .btn-primary--accent:empty, .btn-ghost:empty { display: none; }

/* LINK ARROW */
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 500;
  text-decoration: none;
  position: relative;
}
.link-arrow::after {
  content: '';
  position: absolute;
  left: 0; bottom: -2px;
  width: 100%; height: 1px;
  background: currentColor;
  transform: scaleX(0); transform-origin: left;
  transition: transform 220ms ease;
}
.link-arrow:hover::after { transform: scaleX(1); }
.link-arrow svg { transition: transform 200ms ease; }
.link-arrow:hover svg { transform: translateX(3px); }

/* NAV */
.site-nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(247,244,238,0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(217,211,199,0.6);
}
.nav-inner {
  max-width: var(--container); margin: 0 auto;
  padding: 0 var(--gutter);
  height: 80px;
  display: flex; align-items: center; justify-content: space-between;
  gap: 32px;
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.brand-mark {
  width: 36px; height: 36px;
  background: var(--ink); color: var(--canvas);
  font-family: var(--font-display, 'Fraunces'), Georgia, serif; font-size: 1.5rem; font-weight: 400;
  display: inline-flex; align-items: center; justify-content: center;
  line-height: 1;
}
.brand-word { font-family: var(--font-display, 'Fraunces'), Georgia, serif; font-size: 1.5rem; letter-spacing: -0.01em; line-height: 1; }
.nav-links { display: flex; align-items: center; gap: clamp(24px, 2.5vw, 40px); font-size: 1rem; flex-wrap: nowrap; }
.nav-links a { white-space: nowrap; }
.brand-mark-img { width: auto; height: 44px; object-fit: contain; display: block; }
.footer-mark-img { width: auto; height: 28px; max-width: 220px; object-fit: contain; display: block; margin-bottom: 16px; }
/* Reverse the footer wordmark to white on the dark ink band. A dark footer
   expects a white wordmark: a full-colour PNG reads correctly and an
   already-white one is unchanged. Light footers keep the colour logo. */
body[data-footer-style="dark"] .footer-mark-img { filter: brightness(0) invert(1); }
/* Two-image header lockup (brand.lockup): a mark image beside a wordmark image,
   no text word. The mark keeps .brand-mark-img sizing; the wordmark image sits
   at a smaller cap height. The default 'text' lockup emits no attribute, so
   these selectors never match and existing headers are unchanged. */
.brand-wordmark-img { width: auto; height: 28px; max-width: 240px; object-fit: contain; display: block; }
.brand-lockup-mark { height: 44px; }
body[data-brand-lockup="mark-wordmark-image"] .brand-word,
body[data-brand-lockup="mark-only"] .brand-word,
body[data-brand-lockup="wordmark-only"] .brand-word { display: none; }
body[data-header-style="transparent-over-hero"] .site-nav:not(.is-solid) .brand-wordmark-img { filter: brightness(0) invert(1); }
.nav-links a { color: rgba(14,27,44,0.75); text-decoration: none; transition: color 150ms ease; }
.nav-links a:hover { color: var(--ink); }
/* Header size 'large' (brand.headerSize). A taller bar with the logo, links and
   header button scaled in step, from 1024px up; narrower screens keep the
   standard header. The button rules beat the shell's chrome-button-size rules,
   except where a site already chose a large or huge chrome button. */
@media (min-width: 1024px) {
  body[data-header-size="large"] .nav-inner { height: 96px; }
  body[data-header-size="large"] .nav-item--menu { height: 96px; }
  body[data-header-size="large"] .site-nav .brand-mark-img,
  body[data-header-size="large"] .site-nav .brand-lockup-mark { height: 52px; }
  body[data-header-size="large"] .site-nav .nav-links a { font-size: 0.95rem; }
  body[data-header-size="large"]:not([data-chrome-button-size="large"]):not([data-chrome-button-size="huge"]) .site-nav .nav-cta .btn-primary { padding: 14px 26px !important; font-size: 0.9rem !important; }
  body[data-header-size="large"][data-chrome-buttons="caret"]:not([data-chrome-button-size="large"]):not([data-chrome-button-size="huge"]) .site-nav .nav-cta .btn-primary { padding-right: 40px !important; }
  body[data-header-size="large"]:not([data-header-style="transparent-over-hero"]) { --hero-header-offset: 92px; }
  body[data-header-size="large"] .hero--fullbleed .hero-video-toggle { top: 29px; }
}
.nav-cta { display: flex; align-items: center; gap: 20px; }
.phone-link { font-size: 0.875rem; color: rgba(14,27,44,0.75); text-decoration: none; }
.phone-link:hover { color: var(--ink); }
.nav-toggle { display: none; background: transparent; border: 0; padding: 8px; color: var(--ink); }
/* NAV mega-menu (Services dropdown, CSS hover): a 520px card with number,
   title and blurb rows and an "All services" footer. */
.nav-item--menu { position: relative; display: inline-flex; align-items: center; height: 80px; }
.nav-menu-trigger { display: inline-flex; align-items: center; gap: 6px; }
.nav-caret { transition: transform 180ms ease; }
.nav-item--menu:hover .nav-caret { transform: rotate(180deg); }
.nav-menu {
  position: absolute; top: 100%; left: 0; width: 520px;
  background: var(--canvas); border: 1px solid var(--muted);
  box-shadow: 0 24px 60px rgba(14,27,44,0.14);
  display: none; z-index: 60;
}
.nav-item--menu:hover .nav-menu,
.nav-item--menu:focus-within .nav-menu { display: block; }
.nav-menu-body { padding: 12px; }
.nav-menu-item { display: flex; gap: 20px; padding: 16px; text-decoration: none; transition: background 150ms ease; }
.nav-menu-item:hover { background: color-mix(in oklab, var(--muted) 40%, transparent); }
.nav-menu-num { font-family: var(--font-display, 'Fraunces'), Georgia, serif; font-size: 1.5rem; line-height: 1; color: var(--accent); padding-top: 4px; flex-shrink: 0; }
.nav-menu-title { font-family: var(--font-display, 'Fraunces'), Georgia, serif; font-size: 1.125rem; line-height: 1.15; color: var(--ink); }
.nav-menu-blurb { font-size: 0.75rem; color: color-mix(in oklab, var(--ink) 60%, transparent); margin-top: 6px; line-height: 1.4; }
.nav-menu-all { border-top: 1px solid color-mix(in oklab, var(--muted) 60%, transparent); padding: 12px 16px; background: color-mix(in oklab, var(--muted) 20%, transparent); }
.nav-menu-all a { display: flex; align-items: center; justify-content: space-between; font-size: 0.75rem; letter-spacing: 0.16em; text-transform: uppercase; color: color-mix(in oklab, var(--ink) 60%, transparent); text-decoration: none; }
.nav-menu-all a:hover { color: var(--ink); }

/* HEADER over-hero variant (opt-in via brand.headerStyle). The nav floats
   transparent over a dark full-bleed hero with light links, then a scroll
   script adds .is-solid to swap in the solid bar + ink links. At the default
   'solid' none of these selectors match, so nothing changes. */
body[data-header-style="transparent-over-hero"] .site-nav {
  position: fixed; left: 0; right: 0; top: 0;
  background: transparent; backdrop-filter: none; border-bottom-color: transparent;
  transition: background 350ms ease, border-color 350ms ease, box-shadow 350ms ease;
}
/* A 'full' hero is sized viewport-minus-header, which is only right when the
   header is in flow. This variant makes the nav position:fixed, so it takes
   zero layout height: zero the offset here. The solid header keeps the 76px
   because there the bar really does take that space. */
body[data-header-style="transparent-over-hero"] { --hero-header-offset: 0px; }
body[data-header-style="transparent-over-hero"] .site-nav:not(.is-solid) .nav-links a,
body[data-header-style="transparent-over-hero"] .site-nav:not(.is-solid) .phone-link,
body[data-header-style="transparent-over-hero"] .site-nav:not(.is-solid) .brand,
body[data-header-style="transparent-over-hero"] .site-nav:not(.is-solid) .nav-toggle { color: #fff; }
body[data-header-style="transparent-over-hero"] .site-nav:not(.is-solid) .brand-mark-img { filter: brightness(0) invert(1); }
body[data-header-style="transparent-over-hero"] .site-nav.is-solid {
  background: rgba(247,244,238,0.95); backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(217,211,199,0.6);
  box-shadow: 0 8px 30px rgba(14,27,44,0.06);
}
/* Keep the nav's ink in step with its background. The bar fades over 350ms;
   if the links change colour faster, un-solidifying shows white text on a
   still-cream bar. Same duration and easing, so the two cross together.
   Scoped to this header mode, so a solid-header site is unchanged. */
body[data-header-style="transparent-over-hero"] .site-nav .nav-links a,
body[data-header-style="transparent-over-hero"] .site-nav .phone-link,
body[data-header-style="transparent-over-hero"] .site-nav .brand,
body[data-header-style="transparent-over-hero"] .site-nav .brand-word,
body[data-header-style="transparent-over-hero"] .site-nav .nav-toggle {
  transition: color 350ms ease;
}
body[data-header-style="transparent-over-hero"] .site-nav .brand-mark-img,
body[data-header-style="transparent-over-hero"] .site-nav .brand-wordmark-img {
  transition: filter 350ms ease;
}
/* No prefers-reduced-motion block here on purpose. The blanket kill above
   covers the default posture, and a site set to
   data-reduced-motion="selective" has opted out of it so motion plays for
   everyone. A block here would re-impose the kill on exactly those sites. */

/* HERO */
.hero {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  padding: clamp(48px, 8vw, 120px) 0 clamp(64px, 10vw, 160px);
  background:
    radial-gradient(ellipse 70% 55% at 85% 15%, rgba(184,137,74,0.08) 0%, transparent 60%),
    radial-gradient(ellipse 60% 45% at 8% 95%, rgba(14,27,44,0.05) 0%, transparent 60%);
}
.hero-arc {
  position: absolute;
  width: 560px; height: 560px;
  border: 1px solid rgba(184,137,74,0.32);
  border-radius: 50%;
  bottom: -220px; left: -180px;
  pointer-events: none;
}
.hero-arc--inner {
  width: 360px; height: 360px;
  border-color: rgba(184,137,74,0.18);
  bottom: -120px; left: -80px;
}
.hero-serial {
  position: absolute; top: 32px; right: 32px;
  font-size: 0.6875rem; letter-spacing: 0.3em; text-transform: uppercase;
  color: rgba(14,27,44,0.35);
  writing-mode: vertical-rl; transform: rotate(180deg);
  pointer-events: none;
}
.hero-grid {
  display: grid;
  grid-template-columns: 7fr 5fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
  position: relative;
  z-index: 1;
}
/* Photo-less editorial hero (inner pages): full-width left-aligned copy, no
   empty second column. The headline still gets a generous measure. */
.hero--editorial .hero-grid:not(:has(.hero-media-col)) { grid-template-columns: 1fr; }
.hero--editorial .hero-grid:not(:has(.hero-media-col)) .hero-copy { max-width: 56rem; }
.hero--editorial .hero-grid:not(:has(.hero-media-col)) .t-display { max-width: 20ch; }
.hero-actions { margin-top: 40px; display: flex; flex-wrap: wrap; align-items: center; gap: 24px; }
.hero-copy .lead { margin-top: 32px; }
.hero-media-caption { margin: 12px 0 0; font-size: 0.75rem; line-height: 1.4; color: color-mix(in oklab, var(--ink, #1A1A1A) 50%, transparent); }

/* PORTRAIT PLACEHOLDER (shimmer): palette-driven, no hardcoded navy/brass */
.portrait-placeholder {
  position: relative;
  aspect-ratio: 4/5;
  background: linear-gradient(135deg, color-mix(in oklab, var(--ink) 70%, var(--accent) 30%) 0%, var(--ink) 100%);
  overflow: hidden;
  color: color-mix(in oklab, var(--canvas) 55%, transparent);
}
.portrait-placeholder::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(100deg, transparent 40%, color-mix(in oklab, var(--accent) 35%, transparent) 50%, transparent 60%);
  background-size: 200% 100%;
  animation: shimmer 2.8s ease-in-out infinite;
}
.portrait-placeholder::after {
  content: ''; position: absolute; inset: 0;
  background-image:
    radial-gradient(circle at 50% 35%, color-mix(in oklab, var(--canvas) 8%, transparent) 0%, transparent 38%),
    radial-gradient(circle at 50% 75%, color-mix(in oklab, var(--canvas) 4%, transparent) 0%, transparent 55%);
}
.portrait-placeholder--tall { aspect-ratio: 4/5.2; }
.portrait-label {
  position: absolute; inset: 0; z-index: 2;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 6px;
}
.portrait-name { font-family: var(--font-display, 'Fraunces'), Georgia, serif; font-style: italic; font-size: 1.4rem; color: color-mix(in oklab, var(--canvas) 85%, transparent); }
.portrait-sub { font-size: 0.6875rem; letter-spacing: 0.25em; text-transform: uppercase; color: color-mix(in oklab, var(--accent) 90%, transparent); }
@keyframes shimmer { 0% { background-position: 200% 0; } 100% { background-position: -200% 0; } }
/* Reduced-motion. The default (no data-reduced-motion) is the blanket kill:
   every transition / animation collapses to ~instant. There is also a SELECTIVE
   posture (body[data-reduced-motion="selective"], the standalone's approach):
   motion plays for everyone, the blanket kill is lifted, and only the genuinely
   problematic perpetual loops (shimmer) drop; the motion scripts un-gate their
   entrance. A seed opts in; the default stays the blanket kill. */
@media (prefers-reduced-motion: reduce) {
  body:not([data-reduced-motion="selective"]) *,
  body:not([data-reduced-motion="selective"]) *::before,
  body:not([data-reduced-motion="selective"]) *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
  }
  .portrait-placeholder::before { animation: none; }
  body[data-reduced-motion="selective"] { scroll-behavior: auto; }
}

/* PILLARS (inverted) */
.pillars { background: var(--ink); color: var(--canvas); }
.pillars-grid {
  display: grid;
  grid-template-columns: var(--pillars-cols, repeat(3, 1fr));
}
/* 2-card region grid (region-grid variant of pillars-3col). Centred pair,
   comfortable max width so two cards do not stretch edge to edge. */
@media not all and (max-width: 768px) {
  /* Two up wherever the phone rule (max-width: 768px) does not apply, with no gap at fractional widths. */
  .pillars[data-pillars-cols="2"] .pillars-grid {
    grid-template-columns: repeat(2, 1fr);
    max-width: 920px; margin-left: auto; margin-right: auto;
  }
}
/* Optional per-card CTA link on pillar / feature cards. Hidden unless a
   card carries a cta_label, so existing cards are unchanged. */
.card-cta { margin-top: 18px; }
.card-cta-link {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-head, inherit); font-weight: 600;
  letter-spacing: .04em; text-transform: uppercase; font-size: .82rem;
  color: var(--accent); text-decoration: none;
}
.card-cta-link:hover { text-decoration: underline; }
.card-cta-link .ar { width: 16px; height: 16px; flex: none; }
.pillar {
  padding: clamp(48px, 6vw, 80px) clamp(20px, 3vw, 40px);
  border-right: 1px solid rgba(247,244,238,0.1);
}
.pillar:last-child { border-right: 0; }
.pillar .eyebrow { color: color-mix(in oklab, var(--accent) 72%, white); }
.pillar h3 { color: var(--canvas); margin-bottom: 14px; }
.pillar p { color: rgba(247,244,238,0.78); line-height: 1.7; }
/* Light pillars band (theme knob). A white/paper section with dark text and
   bordered cards, for a "what sets us apart" strip that sits between light
   neighbours. Default (no attribute) keeps the inverted dark band unchanged. */
.pillars[data-theme="light"] { background: var(--section-bg, var(--canvas)); color: var(--ink); }
.pillars[data-theme="light"] .section-head h2,
.pillars[data-theme="light"] .pillar h3 { color: var(--ink); }
.pillars[data-theme="light"] .pillar p { color: color-mix(in oklab, var(--ink) 70%, transparent); }
.pillars[data-theme="light"] .pillar .eyebrow,
.pillars[data-theme="light"] .section-head .eyebrow { color: var(--accent); }
.pillars[data-theme="light"] .pillar { border-right-color: color-mix(in oklab, var(--ink) 10%, transparent); }
.pillars[data-theme="light"] .pillar:has(.card-icon) {
  border-color: color-mix(in oklab, var(--ink) 12%, transparent);
  background: color-mix(in oklab, var(--canvas) 45%, #ffffff);
}
.pillars[data-theme="light"] .pillar:has(.card-icon):hover { border-color: color-mix(in oklab, var(--ink) 30%, transparent); }
/* No header copy (a flush 3-up strip) collapses the header row. */
.pillars .section-head:has(.eyebrow:empty):has(h2:empty) { display: none; }

/* SERVICES */
.services { padding: var(--section-pad) 0; }
.section-head {
  display: flex; align-items: end; justify-content: space-between;
  flex-wrap: wrap; gap: 24px;
  margin-bottom: clamp(48px, 6vw, 96px);
}
/* Collapse an empty services header (no eyebrow, no headline, no link) so a
   header-less rows section (the services landing) has no phantom top gap. */
.services .section-head:has(.eyebrow:empty):has(h2:empty):not(:has(a)) { display: none; }
.service-row {
  display: grid;
  grid-template-columns: 80px 1fr 2fr 32px;
  gap: clamp(24px, 3vw, 56px);
  align-items: start;
  padding: clamp(32px, 4vw, 56px) clamp(0px, 1vw, 16px);
  border-top: 1px solid rgba(217,211,199,0.6);
  text-decoration: none;
  color: inherit;
  transition: background 200ms ease;
}
.service-row:hover { background: rgba(217,211,199,0.2); }
.service-row--last { border-bottom: 1px solid rgba(217,211,199,0.6); }
.service-num {
  font-family: var(--font-display, 'Fraunces'), Georgia, serif;
  font-variation-settings: 'opsz' 144;
  font-weight: 300;
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  color: var(--accent);
  line-height: 1;
}
.service-name h3 { color: var(--ink); }
.service-tags { margin: 14px 0 0; font-size: 0.8125rem; color: color-mix(in oklab, var(--ink) 55%, transparent); }

/* CONTENT SECTION (flexible editorial band). Palette-tokenized; reflows to one
   column on mobile. Light by default; --band variant inverts to ink/canvas. */
.content-section { padding: var(--section-pad, clamp(64px, 9vw, 128px)) 0; background: var(--section-bg, var(--canvas)); color: var(--ink); }
.content-section-grid { display: grid; grid-template-columns: 1fr; gap: clamp(32px, 5vw, 64px); align-items: center; }
@media (min-width: 768px) { .content-section-grid { grid-template-columns: 6fr 5fr; } .content-section[data-media="left"] .content-section-photo { order: -1; } }
.content-section-photo { width: 100%; aspect-ratio: 5 / 4; background-size: cover; background-position: center; border-radius: 4px; }
/* Inline video in the media slot: fills the same frame as the still. */
.content-section-photo--video { overflow: hidden; background: var(--ink); }
.content-section-photo--video .cs-video { width: 100%; height: 100%; object-fit: cover; display: block; }
/* Image drift knob: the still gets a little vertical overscan so the JS
   parallax translate never reveals an edge. Held still under reduced motion. */
.content-section[data-media-parallax] .content-section-photo { will-change: transform; }
/* Media fit knob: 'image' renders a natural-aspect <img> in place of the
   5/4 cover crop, so a wide banner is shown whole (like the hand-built
   standalone) rather than centre-cropped into a washed-out region. */
.content-section[data-media-fit="image"] .content-section-photo { aspect-ratio: auto; height: auto; background: none; }
img.content-section-photo { display: block; width: 100%; height: auto; object-fit: contain; }
/* Heading-scale knob: let a band borrow the h1 (feature) or h3 (promo)
   heading size without a bespoke section. Default h2 emits no attribute. The
   extra .t-h2 class + !important outrank the global body[data-heading-size]
   type-scale (which is itself !important) for this one band. */
.content-section[data-heading-scale="h1"] .t-h2 { font-size: clamp(2.25rem, 4.5vw, 3.75rem) !important; line-height: 1.05 !important; }
.content-section[data-heading-scale="h3"] .t-h2 { font-size: clamp(1.25rem, 1.8vw, 1.5rem) !important; line-height: 1.2 !important; }
/* Density knob: tighten a promo band to the reference's py-14 padding. */
.content-section[data-density="compact"] { --section-pad: clamp(40px, 4vw, 56px); }
/* Ad-card media: a bounded, fixed-size linked creative with a caption slot
   and drop shadow (a 300x250 display ad), not a cover-cropped fill.
   Right-aligned to its column on desktop. */
/* Ad-card band borrows the reference's 7/5 copy:media split. */
@media (min-width: 768px) { .content-section[data-media-fit="card"] .content-section-grid { grid-template-columns: 7fr 5fr; } }
.content-section-adcard { display: flex; flex-direction: column; align-items: center; }
.content-section-adcard-link { display: block; width: 100%; max-width: 300px; transition: transform 200ms ease; }
.content-section-adcard-link:hover { transform: scale(1.02); }
.content-section-adcard-img { display: block; width: 100%; height: auto; box-shadow: 0 14px 36px rgba(14, 27, 44, 0.18); }
.content-section-adcard-caption { margin: 0.75rem 0 0; width: 100%; max-width: 300px; font-size: 0.75rem; line-height: 1.5; color: color-mix(in oklab, var(--ink) 50%, transparent); text-align: center; }
@media (min-width: 768px) {
  .content-section[data-media="right"] .content-section-adcard { align-items: flex-end; }
  .content-section[data-media="right"] .content-section-adcard-caption { text-align: right; }
}
/* Below-media list: the item list spans full width beneath the media row
   (a 3-up grid) instead of stacking in the copy column. */
.content-section-list--below { grid-column: 1 / -1; }
/* The media-variant 1fr rule below outranks a bare class at desktop widths -
   repeat the variant in the selector so the 3-up grid actually applies. */
@media (min-width: 700px) { .content-section-list--below, .content-section--media .content-section-list.content-section-list--below { grid-template-columns: repeat(3, 1fr); } }
.content-section-narrow { max-width: 760px; }
/* Two-column split (heading-left / statement-right), matching the standalone's
   About "Performance driven" block: copy on the left, a bordered statement +
   support paragraph on the right. */
.content-section--split-cols { padding: var(--section-pad) 0; }
.content-section-split-grid { display: grid; grid-template-columns: 1fr; gap: clamp(32px, 5vw, 56px); align-items: start; }
@media (min-width: 860px) { .content-section-split-grid { grid-template-columns: 1.05fr 1fr; } }
.content-section-split-copy .eyebrow { color: var(--accent); margin-bottom: 1.25rem; }
.content-section-split-copy h2 { color: var(--ink); }
.content-section-statement { border-left: 3px solid var(--accent); padding: 6px 0 6px 26px; margin: 0; }
.content-section-statement .statement-body { font-size: clamp(1.4rem, 2.6vw, 2rem); line-height: 1.25; color: var(--ink); }
.content-section-statement-support { margin: 1.5rem 0 0; font-size: 1.125rem; line-height: 1.6; color: color-mix(in oklab, var(--ink) 75%, transparent); }
.content-section--stacked .content-section-narrow, .content-section--band .content-section-narrow { margin: 0 auto; text-align: center; }
.content-section--stacked .content-section-actions, .content-section--band .content-section-actions { justify-content: center; }
.content-section .prose { margin-top: clamp(16px, 2vw, 24px); }
.content-section .prose p { color: color-mix(in oklab, var(--ink) 75%, transparent); line-height: 1.7; margin: 0 0 1rem; }
.content-section .prose p:last-child { margin-bottom: 0; }
.content-section-actions { margin-top: clamp(28px, 3.5vw, 40px); display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; }
.content-section-list { margin-top: clamp(32px, 4vw, 56px); display: grid; grid-template-columns: 1fr; gap: clamp(28px, 3.5vw, 44px); }
@media (min-width: 700px) { .content-section--media .content-section-list { grid-template-columns: 1fr; } .content-section--stacked .content-section-list, .content-section--band .content-section-list { grid-template-columns: repeat(3, 1fr); text-align: left; } }
.content-section-list-arrow { color: var(--accent); margin-bottom: 12px; }
/* List-style knob, 'hairline' mode: items drop their arrow (the renderer omits
   the div) and separate with the house hairline instead. Default 'arrows'
   emits no attribute, so this stays inert. */
.content-section[data-list-style="hairline"] .content-section-list-item {
  border-top: 1px solid color-mix(in oklab, var(--ink) 15%, transparent);
  padding-top: 2rem;
}
/* List-style knob, 'checks' mode: a compact check-mark list. The check
   sits inline before a single-line title. Default 'arrows' emits no attribute,
   so this stays inert for existing sections. */
.content-section[data-list-style="checks"] .content-section-list { gap: 12px clamp(18px, 3vw, 32px); }
@media (min-width: 700px) { .content-section--media[data-list-style="checks"] .content-section-list { grid-template-columns: repeat(2, 1fr); } }
.content-section[data-list-style="checks"] .content-section-list-item {
  display: grid; grid-template-columns: auto 1fr; column-gap: 10px; align-items: start;
}
.content-section-list-check { color: var(--accent); grid-row: 1 / 3; margin-top: 2px; }
.content-section[data-list-style="checks"] .content-section-list-item h3 { font-size: 1rem; margin: 0; font-weight: 600; }
.content-section[data-list-style="checks"] .content-section-list-item p { margin: 2px 0 0; }
.content-section-list-item h3 { color: var(--ink); margin: 0 0 8px; }
.content-section-list-item p { color: color-mix(in oklab, var(--ink) 75%, transparent); line-height: 1.65; margin: 0; }
/* Long-form / legal prose variant: plain, undecorated reading column. */
.content-section--legal .content-section-legal-title { margin-bottom: 0.75rem; }
.content-section--legal .legal-intro { margin-bottom: clamp(24px, 3vw, 40px); }
.content-section--legal .legal-block { margin-top: clamp(28px, 3.5vw, 44px); }
.content-section--legal .legal-h { font-size: clamp(1.25rem, 2.4vw, 1.6rem); margin: 0 0 0.6rem; }
.content-section--legal .legal-block p { color: color-mix(in oklab, var(--ink) 80%, transparent); line-height: 1.75; margin: 0 0 1rem; }
.content-section--legal .legal-list { margin: 0 0 1rem 1.2rem; padding: 0; color: color-mix(in oklab, var(--ink) 80%, transparent); line-height: 1.7; }
.content-section--legal .legal-list li { margin: 0 0 0.4rem; }
/* Inverted band: ink background, canvas text + accent button. */
.content-section--band { background: var(--ink); color: var(--canvas); }
/* Split band: eyebrow left / statement right, matching a manifesto row.
   The row fills the content column, so the 760px narrow cap is lifted to the
   container width. It must NOT go to `max-width: none; margin: 0`: this element
   is also the section's `.container`, and that pins the band to the viewport
   edge while every neighbouring section stays in the column. */
.content-section--band[data-cs-layout="split"] .content-section-narrow { max-width: var(--container); margin: 0 auto; text-align: left; display: grid; gap: clamp(20px, 3vw, 32px); }
@media (min-width: 768px) { .content-section--band[data-cs-layout="split"] .content-section-narrow { grid-template-columns: 4fr 8fr; column-gap: clamp(40px, 6vw, 80px); align-items: start; } }
.content-section--band[data-cs-layout="split"] .eyebrow { margin: 0; }
.content-section--band[data-cs-layout="split"] .t-h2 { margin: 0; }
.content-section--band .t-h2 { color: var(--canvas); }
.content-section--band .prose p { color: color-mix(in oklab, var(--canvas) 80%, transparent); }
.content-section--band .content-section-list-item h3 { color: var(--canvas); }
.content-section--band .content-section-list-item p { color: color-mix(in oklab, var(--canvas) 72%, transparent); }
.content-section--band .btn-ghost { color: var(--canvas); border-color: color-mix(in oklab, var(--canvas) 35%, transparent); }
.service-body { color: rgba(0,0,0,0.7); line-height: 1.65; padding-top: 6px; }
.service-arrow { color: rgba(14,27,44,0.5); transition: color 180ms ease, transform 180ms ease; padding-top: 12px; }
.service-row:hover .service-arrow { color: var(--accent); transform: translateX(4px); }

/* ABOUT */
.about {
  padding: var(--section-pad) 0;
  background: rgba(217,211,199,0.3);
}
.about-grid {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
}
.about-portrait { max-width: 460px; }
.about-copy h2 { margin-top: 0; margin-bottom: 28px; }
.about-copy .prose { margin-top: 0; }
.about-lead { font-family: var(--font-display, 'Fraunces'), Georgia, serif; font-size: clamp(1.25rem, 2vw, 1.6rem); line-height: 1.4; color: var(--ink, #0E1B2C); max-width: none; }
.about-more { margin-top: 28px; }
.about--columns { padding: clamp(56px, 9vw, 120px) 0; background: var(--section-bg, var(--canvas)); }
/* Interior two-column prose sits on the
   canvas; the home snippet opts back into the muted band via data-bg. Top rule
   + h2 heading scale are opt-in, matching the standalone's per-section levels. */
.about--columns[data-top-rule="yes"] { border-top: 1px solid color-mix(in oklab, var(--muted) 60%, transparent); }
.about--columns[data-heading-scale="h2"] .about-columns-head h2.t-h1 { font-size: clamp(1.625rem, 3vw, 2.5rem) !important; }
.about-columns-grid { display: grid; grid-template-columns: 1fr; gap: clamp(28px, 4vw, 56px); }
@media (min-width: 768px) { .about-columns-grid { grid-template-columns: 5fr 7fr; gap: clamp(40px, 6vw, 80px); } }
.about-columns-head h2 { margin-top: 0; }
.about-columns-body > p { color: rgba(0,0,0,0.7); font-size: 1.0625rem; line-height: 1.7; max-width: 60ch; }
.about-columns-body > p + p { margin-top: 1em; }

/* TRUST STRIP */
.trust-strip {
  padding: 48px 0;
  border-top: 1px solid rgba(217,211,199,0.6);
  border-bottom: 1px solid rgba(217,211,199,0.6);
  background: var(--canvas);
}
.trust-line {
  margin: 0;
  text-align: center;
  font-family: var(--font-display, 'Fraunces'), Georgia, serif;
  font-size: clamp(0.95rem, 1.4vw, 1.15rem);
  color: rgba(14,27,44,0.7);
  display: flex; flex-wrap: wrap; justify-content: center; gap: 18px;
}
.trust-line .dot { color: var(--accent); }

/* TESTIMONIAL */
.testimonial { padding: var(--section-pad) 0; }
.quote {
  font-family: var(--font-display, 'Fraunces'), Georgia, serif;
  font-size: clamp(1.5rem, 3vw, 2.5rem);
  line-height: 1.25;
  color: var(--ink);
  margin: 32px 0 0;
  max-width: 22ch;
}
.quote-attrib {
  margin-top: 40px;
  display: flex; align-items: center; gap: 16px;
  font-size: 0.875rem;
  color: rgba(14,27,44,0.6);
}
.quote-attrib .rule { display: inline-block; width: 48px; height: 1px; background: var(--accent); }
.quote-attrib cite { font-style: normal; }

/* FAQ */
.faq {
  padding: var(--section-pad) 0;
  background: var(--ink);
  color: var(--canvas);
}
.faq-grid {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: start;
}
.faq-head h2 { color: var(--canvas); }
.faq-head .eyebrow { color: var(--accent); }
.faq-list details {
  border-bottom: 1px solid rgba(247,244,238,0.15);
  padding: 24px 0;
}
.faq-list details:first-child { border-top: 1px solid rgba(247,244,238,0.15); }
.faq-list summary {
  list-style: none;
  display: flex; justify-content: space-between; align-items: center; gap: 24px;
  cursor: pointer;
  font-family: var(--font-display, 'Fraunces'), Georgia, serif;
  font-size: clamp(1.1rem, 1.5vw, 1.35rem);
  font-weight: 400;
  color: var(--canvas);
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list .caret { color: var(--accent); transition: transform 220ms ease; flex-shrink: 0; }
.faq-list details[open] .caret { transform: rotate(180deg); }
.faq-list details p {
  margin: 14px 0 0;
  color: rgba(247,244,238,0.7);
  line-height: 1.65;
  max-width: 60ch;
}

/* VISIT / LOCATION */
.visit { padding: var(--section-pad) 0; background: rgba(217,211,199,0.3); }
.visit-grid {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: start;
}
.visit-info h2 { margin-bottom: 32px; }
.visit-details { font-style: normal; margin-bottom: 32px; }
.visit-row {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 16px;
  padding: 18px 0;
  border-top: 1px solid rgba(217,211,199,0.7);
  font-size: 0.95rem;
  line-height: 1.6;
}
.visit-row:last-child { border-bottom: 1px solid rgba(217,211,199,0.7); }
.visit-label {
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 500;
  padding-top: 3px;
}
.visit-row a { color: var(--ink); text-decoration: underline; text-decoration-color: rgba(14,27,44,0.25); }
.visit-row a:hover { text-decoration-color: var(--ink); }

/* MAP SHELL (lite-mode click-to-load) */
.visit-map { aspect-ratio: 4/3; }
.map-shell {
  position: relative; width: 100%; height: 100%;
  border: 1px solid rgba(14,27,44,0.15);
  background: linear-gradient(135deg, #2a3a4f 0%, #0E1B2C 100%);
  color: rgba(247,244,238,0.85);
  cursor: pointer;
  overflow: hidden;
  text-align: left;
  padding: 0;
}
.map-shell-bg {
  position: absolute; inset: 0;
  background-image:
    radial-gradient(circle at 20% 30%, rgba(184,137,74,0.18) 0%, transparent 40%),
    radial-gradient(circle at 75% 65%, rgba(247,244,238,0.07) 0%, transparent 45%),
    repeating-linear-gradient(45deg, rgba(247,244,238,0.04) 0 1px, transparent 1px 22px),
    repeating-linear-gradient(-45deg, rgba(247,244,238,0.04) 0 1px, transparent 1px 22px);
}
.map-shell-pin {
  position: absolute; top: 38%; left: 50%;
  transform: translate(-50%, -50%);
  color: var(--accent);
  filter: drop-shadow(0 6px 12px rgba(0,0,0,0.4));
}
.map-shell-cta {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: 20px 24px;
  background: rgba(14,27,44,0.7);
  color: var(--canvas);
  display: flex; flex-direction: column; gap: 4px;
}
.map-shell-cta > span:first-child {
  font-family: var(--font-display, 'Fraunces'), Georgia, serif;
  font-size: 1.1rem;
}
.map-shell-cta-sub { font-size: 0.75rem; color: rgba(247,244,238,0.6); }
.map-shell:hover .map-shell-pin { transform: translate(-50%, -55%); }
.map-shell-pin { transition: transform 240ms ease; }

/* CONTACT CTA */
.contact-cta {
  padding: var(--section-pad) 0;
  background: var(--ink); color: var(--canvas);
}
.contact-cta-grid {
  display: grid;
  grid-template-columns: 7fr 5fr;
  gap: clamp(32px, 4vw, 64px);
  align-items: end;
}
.contact-cta h2 { color: var(--canvas); }
.contact-cta .eyebrow { color: var(--accent); }
.contact-cta .lead { color: rgba(247,244,238,0.7); margin-top: 24px; }
.contact-cta-actions {
  display: flex; flex-direction: column; gap: 12px;
}
.contact-cta-actions .btn-primary--accent { text-align: center; }
/* Directional arrow on the crimson primary CTA. Shown only for the
   industrial family (condensed-caps); hidden everywhere else so editorial
   sites stay arrow-free. */
.cta-ar { display: none; }
/* Any primary button, not only the accent one: the arrow is opted into by the
   TEMPLATE emitting the svg, so widening the selector cannot add an arrow to a
   button that does not carry one. Editorial sites stay arrow-free via the
   typography gate above. */
body[data-typography="condensed-caps"] .btn-primary .cta-ar {
  display: inline-block; width: 17px; height: 17px; margin-left: 10px;
  vertical-align: -3px; transition: transform 250ms cubic-bezier(0.16, 1, 0.3, 1);
}
body[data-typography="condensed-caps"] .btn-primary:hover .cta-ar { transform: translateX(4px); }
.contact-cta-actions .btn-ghost { color: var(--canvas); border-color: rgba(247,244,238,0.25); text-align: center; }
.contact-cta-actions .btn-ghost:hover { border-color: rgba(247,244,238,0.6); }

/* Animated bracket divider (section-divider). Resting state is fully drawn, so
   reduced-motion / no-motion / unsupported browsers all show a complete rule;
   the section reveal fades it in when motion is on. */
.section-divider { padding: clamp(10px, 2.5vw, 28px) 0; }
.divider-rule { display: flex; align-items: center; }
.divider-line { flex: 1; height: 1px; background: var(--muted); }
.divider-mark { flex: none; width: 28px; height: 10px; margin: 0 16px; position: relative; }
.divider-mark::before, .divider-mark::after { content: ""; position: absolute; top: 0; width: 10px; height: 10px; }
.divider-mark::before { left: 0; border-left: 2px solid var(--accent); border-top: 2px solid var(--accent); }
.divider-mark::after { right: 0; border-right: 2px solid var(--accent); border-bottom: 2px solid var(--accent); }
.section-divider[data-tone="dark"] .divider-line { background: rgba(255,255,255,0.14); }
/* Section-owned top decoration. Sits INSIDE its section (reference design
   `.divider` margin: 0 0 46px) so it inherits that section's background and
   draws with that section's reveal rather than as a separate band. */
.section-topdivider { margin: 0 0 46px; }
.section-topdivider .divider-line { transform: scaleX(0); transform-origin: center;
  transition: transform 1.3s cubic-bezier(0.16, 1, 0.3, 1); }
.section-topdivider .divider-mark { width: 0; transition: width .8s cubic-bezier(0.16, 1, 0.3, 1) .55s; }
section.in .section-topdivider .divider-line { transform: scaleX(1); }
section.in .section-topdivider .divider-mark { width: 28px; }
/* No JS: never leave the rule undrawn. */
html:not(.scg-js) .section-topdivider .divider-line { transform: scaleX(1); }
html:not(.scg-js) .section-topdivider .divider-mark { width: 28px; }
/* Divider background band (band knob). Default (no attribute) is transparent
   and shows the page canvas. 'paper' paints an explicit canvas band; 'ink' paints
   a dark band so a divider between two dark sections blends instead of flashing a
   pale stripe. */
.section-divider[data-band="paper"] { background: var(--canvas); }
.section-divider[data-band="ink"] { background: var(--ink); }
/* 'navy' = the divider belongs to the dark stats strip below it rather than
   being its own band. It takes that strip's TOP gradient stop verbatim
   (.stats--darkstrip starts at navy mixed 86% with black), so the two meet with
   no seam and the bracket reads as that section's decorator. --navy falls back
   to --ink for sites with a single dark token, matching the strip's own
   fallback, so this value is safe on any palette. */
.section-divider[data-band="navy"] {
  background: color-mix(in oklab, var(--navy, var(--ink)) 86%, black);
  border-top: 1px solid rgba(247,244,238,0.08);
}
/* The strip draws its own hairline top edge. With the divider sitting directly
   above it as that section's decorator, that hairline lands mid-band and reads
   as a thin blue line splitting the two. The divider now supplies the top edge,
   so the strip drops its own. */
.section-divider[data-band="navy"] + .stats--darkstrip { border-top: 0; }
/* Divider draw-on, opt-in via data-divider-motion="draw", so static dividers
   are unchanged. Resting state is fully drawn; when motion is on and
   scroll-driven animation is supported, the rule draws across and the bracket
   mark widens on reveal. Reduced motion and unsupported browsers keep the
   drawn rule. */
@media (prefers-reduced-motion: no-preference) {
  @supports (animation-timeline: view()) {
    body[data-motion="subtle"] .section-divider[data-divider-motion="draw"] .divider-line,
    body[data-motion="full"] .section-divider[data-divider-motion="draw"] .divider-line {
      transform: scaleX(0); transform-origin: center;
      animation: scg-divider-line linear both;
      animation-timeline: view(); animation-range: entry 6% cover 26%;
    }
    body[data-motion="subtle"] .section-divider[data-divider-motion="draw"] .divider-mark,
    body[data-motion="full"] .section-divider[data-divider-motion="draw"] .divider-mark {
      width: 0;
      animation: scg-divider-mark linear both;
      animation-timeline: view(); animation-range: entry 14% cover 32%;
    }
  }
}
@keyframes scg-divider-line { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes scg-divider-mark { from { width: 0; } to { width: 28px; } }

/* FOOTER */
/* Footer colours are tokens, defaulting to the original warm canvas values
   and overridable per palette. */
.site-footer {
  background: var(--ink); color: var(--footer-text, rgba(247,244,238,0.7));
  border-top: 1px solid rgba(247,244,238,0.1);
  padding: 60px 0 24px;
  font-size: 0.875rem;
}
.site-footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(32px, 4vw, 56px);
  margin-bottom: 48px;
}
/* Brass-wide brand column + equal link columns. A fixed repeat() is valid with
   a leading fr track (auto-fit is NOT, and silently voids the whole rule). */
@media (min-width: 640px) {
  .site-footer-grid { grid-template-columns: 1.8fr repeat(3, 1fr); }
  /* Hours-in-contact layout: 3 columns, brand-wide / links / contact,
     matching a hand-built 5:3:4 footer where hours live inside Contact. */
  .site-footer-grid--3col { grid-template-columns: 5fr 3fr 4fr; }
}
.site-footer p { margin: 0 0 8px; line-height: 1.65; }
/* Dimmed hours line folded into the Contact column. */
.footer-hours-muted { color: rgba(247,244,238,0.5); }
body[data-footer-style="light"] .footer-hours-muted { color: color-mix(in oklab, var(--text) 50%, transparent); }
.footer-links { list-style: none; margin: 0; padding: 0; }
.footer-links li { margin: 0 0 8px; line-height: 1.65; }
.site-footer a { color: var(--footer-text, rgba(247,244,238,0.85)); text-decoration: none; }
.site-footer a:hover { color: var(--canvas); text-decoration: underline; }
.footer-mark {
  display: inline-flex; align-items: center; justify-content: center;
  width: 36px; height: 36px;
  background: rgba(247,244,238,0.08);
  color: var(--canvas);
  font-family: var(--font-display, 'Fraunces'), Georgia, serif; font-size: 1.4rem;
  margin-bottom: 16px;
}
.footer-h {
  font-size: 0.7rem; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--canvas); font-weight: 500;
  margin-bottom: 16px;
}
/* Optional second brand-column line (footer.brandSecondLine): a condensed,
   spaced tagline under the description. Emitted only when authored, so the
   default folded footer is unchanged. */
.footer-tag {
  margin: 16px 0 0; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--canvas); font-size: 0.78rem; line-height: 1.5;
}
.site-footer-base {
  border-top: 1px solid rgba(247,244,238,0.1);
  padding-top: 24px;
  color: var(--footer-base-text, rgba(247,244,238,0.65));
  font-size: 0.75rem;
}
.site-footer-base-row { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
.site-footer-base p { margin: 0; }
/* Per-page footer small print: a full-width legal or attribution line above
   the copyright row (a trademark line, for example). */
/* p-qualified so it outranks the .site-footer-base p { margin: 0 } reset;
   without it the fine print and the copyright line sit flush together. */
p.site-footer-fineprint, .site-footer-base p.site-footer-fineprint { max-width: 48rem; margin: 0 0 14px; color: rgba(247,244,238,0.4); line-height: 1.5; }

/* FOOTER · light variant (body[data-footer-style="light"])
   A pale, on-brand footer so a COLOURED wordmark logo reads (the default navy
   footer hides a navy logo). Dark text on a faint ink-tinted canvas, accent
   link hovers, a hairline top border for separation. General: any site can
   pick it; the renderer resolves the logo swap (footerMarkHtml). */
body[data-footer-style="light"] .site-footer {
  background: color-mix(in oklab, var(--ink) 5%, var(--canvas));
  color: color-mix(in oklab, var(--text) 68%, transparent);
  border-top: 1px solid color-mix(in oklab, var(--ink) 14%, transparent);
}
body[data-footer-style="light"] .site-footer a { color: color-mix(in oklab, var(--text) 88%, transparent); }
body[data-footer-style="light"] .site-footer a:hover { color: var(--accent); }
body[data-footer-style="light"] .footer-h { color: var(--ink); }
body[data-footer-style="light"] .footer-mark {
  background: color-mix(in oklab, var(--ink) 8%, transparent);
  color: var(--ink);
}
body[data-footer-style="light"] .site-footer-base {
  color: color-mix(in oklab, var(--text) 52%, transparent);
  border-top: 1px solid color-mix(in oklab, var(--ink) 12%, transparent);
}

/* MOBILE MENU: hidden until the toggle adds .open, and only under the
   breakpoint (so a resize from mobile->desktop can never leave it showing). */
.mobile-menu {
  display: none;
  border-top: 1px solid rgba(217,211,199,0.6);
  padding: 16px var(--gutter);
  flex-direction: column; gap: 12px;
  background: var(--canvas);
}
.mobile-menu a { color: var(--ink); text-decoration: none; padding: 8px 0; min-height: 44px; display: flex; align-items: center; }
.mobile-menu a.mobile-menu-child { padding-left: 16px; font-size: 0.9375rem; color: rgba(14,27,44,0.7); }

/* RESPONSIVE (768px md breakpoint) */
@media (max-width: 768px) {
  .nav-links, .nav-cta { display: none; }
  .nav-toggle { display: inline-flex; }
  .mobile-menu.open { display: flex; }
  .hero-grid,
  .about-grid,
  .faq-grid,
  .visit-grid,
  .contact-cta-grid { grid-template-columns: 1fr; }
  .pillars-grid { grid-template-columns: 1fr; }
  .pillar { border-right: 0; border-bottom: 1px solid rgba(247,244,238,0.1); }
  .pillar:last-child { border-bottom: 0; }
  .service-row { grid-template-columns: 60px 1fr 24px; }
  .service-body { grid-column: 1 / -1; padding-left: 0; }
  .hero-serial { display: none; }
  .hero-arc--inner { display: none; }
  .contact-cta-actions { flex-direction: row; flex-wrap: wrap; }
  .contact-cta-actions .btn-primary--accent,
  .contact-cta-actions .btn-ghost { flex: 1 0 100%; }
}

@media (max-width: 560px) {
  .visit-row { grid-template-columns: 1fr; gap: 4px; }
  .quote { max-width: 100%; }
}

/* STATEMENT (centred credibility statement, e.g. a carriers / positioning block) */
.statement { padding: clamp(72px, 11vw, 150px) 0; border-top: 1px solid color-mix(in oklab, var(--muted) 60%, transparent); background: var(--section-bg, transparent); }
/* On an explicit background band (muted / paper), drop the top hairline: a
   banded statement (services positioning quote, contact sign-off) reads as its
   own block, matching the standalone's bordering-free muted band. */
.statement[data-bg] { border-top: 0; }
.statement-inner { max-width: 46rem; margin: 0 auto; text-align: center; }
.statement .eyebrow { color: var(--accent); margin-bottom: 2rem; }
.statement-body { font-family: var(--font-display, 'Fraunces'), Georgia, serif; font-size: clamp(1.5rem, 3.2vw, 2.5rem); line-height: 1.25; color: var(--ink); margin: 0; }
.statement-accent { color: var(--accent); }
.statement-para { margin: 1.5rem auto 0; max-width: 52ch; font-size: 1.0625rem; line-height: 1.7; color: color-mix(in oklab, var(--ink) 75%, transparent); }
.statement-support { margin: 2.5rem 0 0; font-size: 1.125rem; line-height: 1.6; color: color-mix(in oklab, var(--ink) 75%, transparent); }
.statement-fine { margin: 1.75rem 0 0; font-size: 0.875rem; color: color-mix(in oklab, var(--ink) 60%, transparent); }
.statement-support:empty, .statement-fine:empty, .statement .eyebrow:empty { display: none; }
/* Statement · quote-left treatment: left-aligned pullquote with a brass
   opening-quote glyph and a brass rule above the cite. Matches the standalone's
   about pullquote. The glyph + rule are only emitted for this treatment, so the
   default centered statement is untouched.
   `.statement-inner` is also the section's `.container`, so it owns the page
   centring. Left-aligning it must NOT zero its margin, or the whole block leaves
   the content column and pins to the viewport edge. The measure goes on the body
   instead, which is how the standalone nests it (max-w-4xl inside the column). */
.statement[data-statement-style="quote-left"] .statement-inner { max-width: var(--container); margin: 0 auto; text-align: left; }
.statement[data-statement-style="quote-left"] .statement-body { max-width: 56rem; }
.statement[data-statement-style="quote-left"] .statement-para { margin-left: 0; margin-right: 0; }
.statement-quote-glyph { font-family: var(--font-display, 'Fraunces'), Georgia, serif; font-size: clamp(3rem, 6vw, 4.5rem); line-height: 0.7; color: var(--accent); margin: 0 0 1.25rem; }
.statement[data-statement-style="quote-left"] .statement-support { margin-left: 0; margin-right: 0; max-width: 48rem; }
.statement-rule { display: block; width: 3rem; height: 1px; background: var(--accent); margin: 2.25rem 0 0; }
.statement[data-statement-style="quote-left"] .statement-fine { margin-top: 1rem; }

/* FIGURE-PAIR (struck "before" figure -> accent "after" figure beside a quote) */
.figure-pair { padding: clamp(72px, 11vw, 150px) 0; background: color-mix(in oklab, var(--muted) 30%, transparent); }
.figure-pair-grid { display: grid; grid-template-columns: 1fr; gap: 2.5rem; align-items: center; }
@media (min-width: 768px) { .figure-pair-grid { grid-template-columns: 5fr 6fr; gap: 4rem; } }
.figure-pair .eyebrow { color: var(--accent); margin-bottom: 2rem; }
.figure-pair-figures { display: flex; align-items: baseline; gap: 1rem; }
.figure-pair-from { font-family: var(--font-display, 'Fraunces'), Georgia, serif; font-size: clamp(3rem, 9vw, 8rem); line-height: 1; color: color-mix(in oklab, var(--ink) 25%, transparent); text-decoration: line-through; text-decoration-thickness: 2px; }
.figure-pair-arrow { flex-shrink: 0; color: var(--accent); align-self: center; }
.figure-pair-to { font-family: var(--font-display, 'Fraunces'), Georgia, serif; font-size: clamp(3rem, 9vw, 8rem); line-height: 1; color: var(--accent); }
.figure-pair-caption { margin: 1rem 0 0; font-size: 0.875rem; color: color-mix(in oklab, var(--ink) 60%, transparent); }
.figure-pair-caption:empty { display: none; }
.figure-pair-quote { font-family: var(--font-display, 'Fraunces'), Georgia, serif; font-size: clamp(1.5rem, 3vw, 2.5rem); line-height: 1.25; color: var(--ink); margin: 0; }
.figure-pair-cite { margin: 2.5rem 0 0; display: flex; align-items: center; gap: 1rem; font-size: 0.875rem; color: color-mix(in oklab, var(--ink) 60%, transparent); }
.figure-pair-cite::before { content: ""; width: 3rem; height: 1px; background: var(--accent); flex-shrink: 0; }
.figure-pair-cite:empty { display: none; }

/* FEATURES (numbered 3-up on light bg, with a lead-in) */
.features { padding: var(--section-pad) 0; background: var(--section-bg, transparent); }
.features[data-heading-scale="h2"] .features-head h2.t-h1 { font-size: clamp(1.625rem, 3vw, 2.5rem) !important; }
.features-head { max-width: 48rem; margin-bottom: clamp(48px, 7vw, 96px); }
.features-head .eyebrow { color: var(--accent); margin-bottom: 1.25rem; }
.features-head h2 { color: var(--ink); }
.features-head h2:empty { display: none; }
/* Headline no-wrap pin: hold a short display heading on one line at
   desktop, matching the standalone's md:whitespace-nowrap. Opt-in per section. */
@media (min-width: 768px) {
  .features[data-headline-nowrap] .features-head h2,
  .team-roster[data-headline-nowrap] .team-roster-head h2 { white-space: nowrap; }
}
.features-lead { margin: 1.75rem 0 0; font-size: 1.125rem; line-height: 1.6; color: color-mix(in oklab, var(--ink) 75%, transparent); }
.features-lead:empty { display: none; }
.features-grid { display: grid; grid-template-columns: 1fr; gap: clamp(36px, 5vw, 56px); }
/* Default fills the row with no orphan (4 items -> 4-up or 2x2, never 3+1). The
   `--features-cols` var (a section knob) lets the user force 2 / 3 / 4. */
@media (min-width: 768px) { .features-grid { grid-template-columns: var(--features-cols, repeat(auto-fit, minmax(min(240px, 100%), 1fr))); } }
.feature-num { font-family: var(--font-display, 'Fraunces'), Georgia, serif; font-size: 2.5rem; line-height: 1; color: var(--accent); margin-bottom: 1.5rem; }
/* Numbering knob, 'hairline' mode: icon-less items swap their numeral for the
   house per-item hairline. Gated on :not(:has(.card-icon)) so icon'd cards are
   never restyled. 'numerals' / 'none' emit no attribute, so this stays inert. */
.features[data-numbering="hairline"] .feature-col:not(:has(.card-icon)),
.pillars[data-numbering="hairline"] .pillar:not(:has(.card-icon)) {
  border-top: 1px solid color-mix(in oklab, var(--muted) 60%, transparent);
  padding-top: 2rem;
}
.feature-col h3 { color: var(--ink); margin-bottom: 0.75rem; }
.feature-col p { color: color-mix(in oklab, var(--ink) 75%, transparent); line-height: 1.65; margin: 0; }

/* CONTACT FORM (intro + enquiry form) */
.contact-form { padding: var(--section-pad) 0; background: var(--section-bg, transparent); }
.contact-form-grid { display: grid; grid-template-columns: 1fr; gap: clamp(36px, 5vw, 64px); align-items: start; }
@media (min-width: 768px) { .contact-form-grid { grid-template-columns: 5fr 7fr; } }
.contact-form-intro .eyebrow { color: var(--accent); margin-bottom: 1.25rem; }
.contact-form-intro h2 { color: var(--ink); }
/* Opt-in larger (h1) intro heading, matching a standalone whose form title is
   the big display size; default stays t-h2 so other sites are unchanged. */
.contact-form[data-heading-scale="h1"] .contact-form-intro h2.t-h2 { font-size: clamp(2.25rem, 4.5vw, 3.5rem) !important; }
.contact-form-text { margin: 1.5rem 0 0; font-size: 1.0625rem; line-height: 1.65; color: color-mix(in oklab, var(--ink) 75%, transparent); }
.contact-form-text:empty { display: none; }
/* Disabled-form note: the one-line fallback shown in place of the <form> when
   the site's form mode is 'disabled' (no live form endpoint wired yet). */
.contact-form-note { margin: 1.5rem 0 0; font-size: 1.0625rem; line-height: 1.65; color: color-mix(in oklab, var(--ink) 78%, transparent); }
.contact-form-note:empty { display: none; }
/* Contact form + offices in one 2-column row (form left, offices right),
   matching the standalone's contact-grid. */
.contact-form--offices { padding: var(--section-pad) 0; }
.contact-form-offices-grid { display: grid; grid-template-columns: 1fr; gap: clamp(36px, 5vw, 56px); align-items: start; }
@media (min-width: 860px) { .contact-form-offices-grid { grid-template-columns: 1.1fr 0.9fr; } }
.contact-form-offices-main .eyebrow { color: var(--accent); margin-bottom: 1rem; }
.contact-form-offices-main h2 { color: var(--ink); margin-bottom: 1.25rem; }
.contact-form-offices-main .contact-form-fields { margin-top: 1.25rem; }
.contact-form-offices-aside .office { padding: 0 0 22px; border-bottom: 1px solid var(--muted); margin-bottom: 22px; }
.contact-form-offices-aside .office:last-child { border-bottom: 0; margin-bottom: 0; }
/* Accent submit also applies to the offices form variant. */
.contact-form--offices[data-submit-style="accent"] .contact-form-fields .btn-primary { background: var(--accent); border-color: var(--accent); color: var(--accent-text, var(--canvas)); }
.contact-form--offices[data-submit-style="accent"] .contact-form-fields .btn-primary:hover { background: color-mix(in oklab, var(--accent) 85%, var(--ink) 15%); border-color: color-mix(in oklab, var(--accent) 85%, var(--ink) 15%); }
.contact-form-fields { display: flex; flex-direction: column; gap: 1rem; }
/* Honeypot: a real field kept out of sight + out of the tab/a11y tree. Bots fill
   it; FormSubmit silently drops any submission where _honey is non-empty. */
.cf-honey { display: none !important; }
.cf-row { display: grid; grid-template-columns: 1fr; gap: 1rem; }
@media (min-width: 560px) { .cf-row { grid-template-columns: 1fr 1fr; } }
.cf-field { display: flex; flex-direction: column; gap: 0.4rem; }
.cf-field span { font-size: 0.75rem; letter-spacing: 0.16em; text-transform: uppercase; color: color-mix(in oklab, var(--ink) 65%, transparent); }
.cf-field input, .cf-field textarea, .cf-field select {
  font: inherit; color: var(--ink); background: var(--canvas);
  border: 1px solid color-mix(in oklab, var(--ink) 22%, transparent);
  padding: 0.7rem 0.85rem; border-radius: 0; width: 100%; box-sizing: border-box;
}
.cf-field input:focus, .cf-field textarea:focus, .cf-field select:focus { outline: 2px solid var(--accent); outline-offset: 1px; border-color: transparent; }
.contact-form-fields .btn-primary { align-self: start; margin-top: 0.5rem; }
/* Checkbox-group field. A labelled block of inline checkboxes. */
.cf-checkgroup-label { font-size: 0.75rem; letter-spacing: 0.16em; text-transform: uppercase; color: color-mix(in oklab, var(--ink) 65%, transparent); display: block; margin-bottom: 0.5rem; }
.cf-checks { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 8px 18px; }
.cf-check { display: flex; align-items: center; gap: 9px; font-size: 0.94rem; color: color-mix(in oklab, var(--ink) 80%, transparent); cursor: pointer; }
.cf-check input { width: 17px; height: 17px; accent-color: var(--accent); }
.cf-fine { margin: 0.25rem 0 0; font-size: 0.8125rem; color: color-mix(in oklab, var(--ink) 60%, transparent); }
.cf-fine:empty { display: none; }
/* Accent submit button (submitStyle knob): the standalone's crimson enquiry
   button. Default (no attribute) keeps the ink button unchanged. */
.contact-form[data-submit-style="accent"] .contact-form-fields .btn-primary { background: var(--accent); border-color: var(--accent); color: var(--accent-text, var(--canvas)); }
.contact-form[data-submit-style="accent"] .contact-form-fields .btn-primary:hover { background: color-mix(in oklab, var(--accent) 85%, var(--ink) 15%); border-color: color-mix(in oklab, var(--accent) 85%, var(--ink) 15%); }

/* SERVICE DETAIL (auto-built page per service item) */
.service-detail { padding: clamp(40px, 6vw, 96px) 0 clamp(64px, 10vw, 160px); }
/* When a detail page carries a full-bleed photo hero, it sits flush to the top
   (the hero owns the top spacing) and the body blocks pad below it. */
.service-detail:has(.page-hero) { padding-top: 0; }
.service-detail:has(.page-hero) .service-detail-block:first-of-type { padding-top: clamp(48px, 7vw, 96px); }
.service-detail-breadcrumb { font-size: 0.8125rem; letter-spacing: 0.04em; color: color-mix(in oklab, var(--ink) 55%, transparent); margin-bottom: clamp(24px, 4vw, 48px); }
/* Optional per-coverage label (collapses when empty so it never disturbs a 1:1 build). */
.service-detail-cov-eyebrow { margin-bottom: 8px; }

/* INNER-PAGE HERO (page-hero): grayscale scenery photo, copy anchored low, brass
   arcs. A general variant: any detail page with a hero image gets it. Palette
   tokens (--ink / --accent / --canvas) keep it on-brand for any client. */
.page-hero { position: relative; isolation: isolate; min-height: 58vh; display: flex; align-items: flex-end; overflow: hidden; background: var(--ink); }
.page-hero__bg { position: absolute; inset: 0; z-index: 0; background-size: cover; background-position: center; filter: grayscale(1) contrast(1.04); }
.page-hero__overlay {
  position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(to top, color-mix(in oklab, var(--ink) 92%, transparent) 0%, color-mix(in oklab, var(--ink) 55%, transparent) 48%, color-mix(in oklab, var(--ink) 40%, transparent) 100%),
    linear-gradient(to right, color-mix(in oklab, var(--ink) 55%, transparent) 0%, color-mix(in oklab, var(--ink) 15%, transparent) 60%, color-mix(in oklab, var(--ink) 10%, transparent) 100%);
}
.page-hero__inner { position: relative; z-index: 2; width: 100%; padding-top: 5rem; padding-bottom: 3.5rem; }
.page-hero__arc { position: absolute; bottom: -200px; left: -160px; width: 520px; height: 520px; border-radius: 50%; border: 1px solid color-mix(in oklab, var(--accent) 42%, transparent); z-index: 1; pointer-events: none; }
.page-hero__arc--inner { width: 340px; height: 340px; bottom: -110px; left: -70px; border-color: color-mix(in oklab, var(--accent) 26%, transparent); }
.page-hero .eyebrow { color: var(--accent); }
.page-hero .t-display { color: var(--canvas); }
/* The extra .service-detail variant outranks the later dark `.service-detail
   .lead` rule for a lead sitting ON the photo hero (equal specificity would
   lose on source order and leave dark text on the dark photo). */
.page-hero .lead, .service-detail .page-hero .lead { color: color-mix(in oklab, var(--canvas) 82%, transparent); max-width: 36rem; margin-top: clamp(20px, 3vw, 32px); }
.service-detail-breadcrumb--onphoto { color: color-mix(in oklab, var(--canvas) 68%, transparent); }
.service-detail-breadcrumb--onphoto a { color: color-mix(in oklab, var(--canvas) 68%, transparent); }
/* Breadcrumb is a real nav: the parent segment links back to the services
   landing (works in preview via the switch script and in the exported files). */
.service-detail-breadcrumb a { color: inherit; text-decoration: none; transition: color 150ms ease; }
.service-detail-breadcrumb a:hover { color: var(--ink); }
.service-detail-breadcrumb--onphoto a:hover { color: var(--canvas); }
.service-detail-breadcrumb-sep { margin: 0 0.5rem; color: color-mix(in oklab, currentColor 55%, transparent); }
.service-detail-breadcrumb--onphoto .service-detail-breadcrumb-here { color: var(--canvas); }
.service-detail-breadcrumb:not(.service-detail-breadcrumb--onphoto) .service-detail-breadcrumb-here { color: color-mix(in oklab, var(--ink) 80%, transparent); }
/* Service-page hero headline: the italic tail stays inline (one line, wrapping
   naturally), unlike the full-bleed hero where the tail drops to its own line. */
.page-hero .t-display .italic { display: inline; margin-top: 0; }
/* Bounded rich-inline prose: reference-style body links (brass underline) + bold. */
.service-detail-para a, .rich-link { color: var(--ink); text-decoration: underline; text-decoration-color: color-mix(in oklab, var(--accent) 50%, transparent); text-underline-offset: 2px; transition: text-decoration-color 150ms ease; }
.service-detail-para a:hover, .rich-link:hover { text-decoration-color: var(--accent); }
.service-detail-para strong, .prose strong { color: var(--ink); font-weight: 500; }
@media (max-width: 768px) {
  .page-hero { min-height: 52vh; }
  .page-hero__arc { width: 300px; height: 300px; bottom: -130px; left: -110px; }
  .page-hero__arc--inner { display: none; }
}
.service-detail-grid { display: grid; grid-template-columns: 1fr; gap: clamp(40px, 6vw, 80px); align-items: center; }
@media (min-width: 768px) { .service-detail-grid { grid-template-columns: 7fr 5fr; } }
.service-detail .eyebrow { color: var(--accent); margin-bottom: 1.5rem; }
.service-detail h1 { color: var(--ink); }
.service-detail .lead { margin-top: 2rem; font-size: 1.125rem; line-height: 1.6; color: color-mix(in oklab, var(--ink) 75%, transparent); }
.service-detail-actions { margin-top: 2.5rem; display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; }
.service-detail-promo-col { display: flex; flex-direction: column; align-items: flex-start; gap: 0; }
.service-detail-promo { display: block; max-width: 340px; border: 1px solid var(--muted); transition: border-color 150ms ease; }
.service-detail-promo:hover { border-color: color-mix(in oklab, var(--ink) 55%, transparent); }
.service-detail-promo img { display: block; width: 100%; height: auto; }
.service-detail-promo-caption { margin: 12px 0 0; font-size: 0.75rem; line-height: 1.4; color: color-mix(in oklab, var(--ink) 50%, transparent); }
/* These blocks are also .container, whose side padding the shorthand below would zero. Keep the gutter wherever the
   centring margin does not already cover it (phone up to about container + 2 gutters), and none above that, as live. */
.service-detail-block, .service-detail-other { --sd-inline: max(0px, calc(var(--gutter) - max(0px, (100% - var(--container)) / 2))); }
.service-detail-block { padding: clamp(48px, 7vw, 96px) var(--sd-inline); border-top: 1px solid color-mix(in oklab, var(--muted) 60%, transparent); }
.service-detail-block-grid { display: grid; grid-template-columns: 1fr; gap: 1rem; }
@media (min-width: 768px) { .service-detail-block-grid { grid-template-columns: 4fr 7fr; gap: 3rem; } }
.service-detail-block .eyebrow { color: var(--accent); margin: 0 0 1rem; }
.service-detail-block-head h2 { color: var(--ink); margin: 0; }
.service-detail-block h2 { color: var(--ink); margin: 0; }
.service-detail-para { font-size: 1.0625rem; line-height: 1.7; color: color-mix(in oklab, var(--ink) 75%, transparent); margin: 0 0 1.25rem; }
/* How we run it: the reference keeps this band on the plain canvas (the muted
   wash sits on the coverage band instead), and each item carries the house
   hairline top-rule. */
.service-detail-how { padding: clamp(48px, 7vw, 96px) 0; }
.service-detail-how .eyebrow { color: var(--accent); margin-bottom: 1.25rem; }
.service-detail-how-head { color: var(--ink); max-width: 40rem; margin-bottom: clamp(32px, 4vw, 56px); }
.service-detail-how-grid { display: grid; grid-template-columns: 1fr; gap: clamp(28px, 4vw, 44px); }
@media (min-width: 700px) { .service-detail-how-grid { grid-template-columns: repeat(2, 1fr); } }
.service-detail-how-item { border-top: 1px solid color-mix(in oklab, var(--ink) 15%, transparent); padding-top: clamp(24px, 3vw, 32px); }
.service-detail-how-item h3 { color: var(--ink); margin-bottom: 0.6rem; }
.service-detail-how-item p { color: color-mix(in oklab, var(--ink) 75%, transparent); line-height: 1.6; margin: 0; }
/* Coverage / types: muted wash band, each item on the house hairline top-rule. */
.service-detail-coverage { padding: clamp(48px, 7vw, 96px) 0; background: color-mix(in oklab, var(--muted) 30%, transparent); }
.service-detail-coverage .eyebrow { color: var(--accent); margin-bottom: 1.25rem; }
.service-detail-coverage-grid { display: grid; grid-template-columns: 1fr; gap: clamp(28px, 4vw, 44px) clamp(32px, 5vw, 64px); }
@media (min-width: 700px) { .service-detail-coverage-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) {
  .service-detail-coverage-grid { grid-template-columns: repeat(3, 1fr); }
  /* A larger coverage set (six items) reads as two columns, matching the
     standalone's grid-cols-2; three-item sets stay 3-up. */
  .service-detail-coverage-grid:has(> .service-detail-coverage-item:nth-child(4)) { grid-template-columns: repeat(2, 1fr); }
}
.service-detail-coverage-item { border-top: 1px solid color-mix(in oklab, var(--ink) 15%, transparent); padding-top: clamp(24px, 3vw, 32px); }
.service-detail-coverage-item h3 { color: var(--ink); margin-bottom: 0.6rem; }
.service-detail-coverage-item p { color: color-mix(in oklab, var(--ink) 72%, transparent); line-height: 1.6; margin: 0; font-size: 0.95rem; }
/* Who it's for (inverted) */
.service-detail-who { background: var(--ink); color: var(--canvas); padding: clamp(56px, 8vw, 112px) 0; }
.service-detail-who-grid { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
@media (min-width: 768px) { .service-detail-who-grid { grid-template-columns: 4fr 7fr; gap: 3rem; } }
.service-detail-who .eyebrow { color: var(--accent); margin: 0; }
.service-detail-who-text { font-family: var(--font-display, 'Fraunces'), Georgia, serif; font-size: clamp(1.35rem, 2.4vw, 2rem); line-height: 1.3; color: var(--canvas); margin: 0; }
/* Other services cards */
.service-detail-other { padding: clamp(48px, 7vw, 96px) var(--sd-inline); }
.service-detail-other .eyebrow { color: var(--accent); margin-bottom: clamp(24px, 3vw, 40px); }
/* minmax(0, 1fr) and the wrap let a card shrink inside the gutter at 320px with large text instead of overflowing. */
.service-detail-other-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1rem; }
@media (min-width: 700px) {
  .service-detail-other-grid { grid-template-columns: repeat(3, 1fr); }
  /* Two cross-sell cards sit half-width each (not third-width with an empty
     slot), matching the standalone's per-page grid-cols-2 / grid-cols-3. */
  .service-detail-other-grid:has(> .service-detail-other-card:nth-child(2):last-child) { grid-template-columns: repeat(2, 1fr); }
}
.service-detail-other-card { display: block; min-width: 0; overflow-wrap: break-word; border: 1px solid var(--muted); padding: clamp(24px, 3vw, 36px); text-decoration: none; transition: border-color 150ms ease; }
.service-detail-other-card:hover { border-color: color-mix(in oklab, var(--ink) 55%, transparent); }
.service-detail-other-num { font-family: var(--font-display, 'Fraunces'), Georgia, serif; font-size: 1.75rem; color: var(--accent); line-height: 1; margin-bottom: 1rem; }
.service-detail-other-card h3 { color: var(--ink); margin-bottom: 0.6rem; }
.service-detail-other-card p { color: color-mix(in oklab, var(--ink) 70%, transparent); line-height: 1.55; margin: 0 0 1.25rem; font-size: 0.95rem; }
.service-detail-other-more { display: inline-flex; align-items: center; gap: 8px; font-size: 1rem; font-weight: 500; letter-spacing: normal; text-transform: none; color: var(--ink); }
/* Final CTA */
.service-detail-finalcta { background: color-mix(in oklab, var(--muted) 40%, transparent); padding: clamp(56px, 9vw, 128px) 0; text-align: center; }
/* When the final CTA closes the page, the section's own bottom padding would
   show a bare canvas gap between the CTA band and the footer - collapse it. */
.service-detail:has(> .service-detail-finalcta:last-child) { padding-bottom: 0; }
.service-detail-finalcta h2 { color: var(--ink); }
.service-detail-finalcta-sub { margin: 1.25rem auto 0; max-width: 36rem; font-size: 1.0625rem; line-height: 1.6; color: color-mix(in oklab, var(--ink) 72%, transparent); }
.service-detail-finalcta-sub:empty { display: none; }
.service-detail-finalcta-actions { margin-top: 2.5rem; display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center; }
/* Ghost phone reads in ink (the reference's text-ink + border-ink/20), not the
   near-black body --text it would otherwise inherit. */
.service-detail-finalcta-actions .btn-ghost { color: var(--ink); }

/* TEAM ROSTER */
.team-roster { padding: var(--section-pad) 0; background: var(--section-bg, color-mix(in oklab, var(--muted) 22%, transparent)); }
.team-roster-head { max-width: 46rem; margin-bottom: clamp(40px, 6vw, 72px); }
.team-roster-head .eyebrow { color: var(--accent); margin-bottom: 1.25rem; }
.team-roster-head h2 { color: var(--ink); }
.team-roster-intro { margin: 1.75rem 0 0; font-size: 1.125rem; line-height: 1.65; color: color-mix(in oklab, var(--ink) 75%, transparent); }
.team-roster-intro:empty { display: none; }
.team-roster-grid { display: grid; grid-template-columns: 1fr; gap: clamp(36px, 5vw, 64px); }
/* Column count is a knob (--team-cols). Default 2 keeps every existing roster
   byte-identical; 3 exists because a third member in a two-column grid sits
   alone on a second row at half width. */
@media (min-width: 700px) { .team-roster-grid { grid-template-columns: repeat(var(--team-cols, 2), 1fr); } }
/* Grayscale-with-colour-on-hover leadership photos (photoTreatment knob). Default
   (no attribute) keeps full colour; the standalone desaturates and colours on hover. */
.team-roster[data-photo-treatment="grayscale-hover"] .team-member-photo { filter: grayscale(1) contrast(1.02); transition: filter 400ms ease; }
.team-roster[data-photo-treatment="grayscale-hover"] .team-member:hover .team-member-photo { filter: grayscale(0); }
.team-member-photo { aspect-ratio: 4/3; margin-bottom: 1.75rem; }
/* Headshots are portrait, the frame above is landscape, and the shipped cover crop
   is centred, so the top of the head is the first thing it takes. Top focus anchors
   the crop to the top edge instead (photoFocus knob). Default emits no attribute and
   stays centred, so every existing roster renders byte-identical. The attribute pair
   outranks the shell's .portrait-placeholder[style*="background-image"] rule, which is
   where background-position: center actually comes from. */
.team-roster[data-photo-focus="top"] .team-member-photo[style*="background-image"] { background-position: 50% 0%; }
/* Frame shape for the same photos (photoFrame knob). Anchoring the crop only
   decides WHICH tight crop you get: a 4/3 landscape box holding a portrait
   headshot cuts it to a face no matter where the anchor sits. A portrait box fits
   head and shoulders, and a 4:5 source fits it exactly with nothing cropped.
   Default emits no attribute and stays 4/3, so every existing roster is
   byte-identical. */
.team-roster[data-photo-frame="portrait"] .team-member-photo { aspect-ratio: 4/5; }
.team-member-name { color: var(--ink); margin-bottom: 0.35rem; }
.team-member-role { color: var(--accent); font-size: 0.8125rem; letter-spacing: 0.1em; text-transform: uppercase; margin: 0 0 1rem; }
.team-member-role:empty { display: none; }
.team-member-bio { color: color-mix(in oklab, var(--ink) 75%, transparent); line-height: 1.65; margin: 0; }
/* Text-only variant: each bio gets the house per-item hairline instead of a portrait. */
.team-roster--plain .team-member { border-top: 1px solid color-mix(in oklab, var(--muted) 60%, transparent); padding-top: 2rem; }

/* CONTACT DETAILS STRIP */
.contact-details { padding: clamp(36px, 5vw, 64px) 0; background: var(--section-bg, transparent); border-top: 1px solid color-mix(in oklab, var(--muted) 60%, transparent); border-bottom: 1px solid color-mix(in oklab, var(--muted) 60%, transparent); }
.contact-details-grid { display: grid; grid-template-columns: 1fr; gap: clamp(24px, 3vw, 40px); }
@media (min-width: 700px) { .contact-details-grid { grid-template-columns: repeat(4, 1fr); } }
.contact-details-label { font-size: 0.75rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--accent); margin-bottom: 0.6rem; }
.contact-details-value { color: var(--ink); line-height: 1.55; font-size: 0.975rem; }
/* Offices / locations variant. A grid of labelled offices, each with an
   optional address / phone / email. */
.contact-details-offices-head { margin-bottom: clamp(24px, 3vw, 40px); }
.contact-details-offices-head .eyebrow { color: var(--accent); }
.offices-grid { display: grid; grid-template-columns: 1fr; gap: clamp(20px, 3vw, 36px); }
@media (min-width: 700px) { .offices-grid { grid-template-columns: repeat(2, 1fr); } }
.office h3 { font-size: 1.15rem; text-transform: uppercase; letter-spacing: 0.02em; color: var(--ink); margin: 0 0 8px; }
.office p { color: color-mix(in oklab, var(--ink) 72%, transparent); line-height: 1.6; margin: 0 0 6px; }
.office .office-addr { white-space: pre-line; }
.office a { color: var(--accent); text-decoration: none; }
.office a:hover { text-decoration: underline; }

/* ===== CARD GRID: linked resource / index cards ===== */
.card-grid { padding: var(--section-pad) 0; background: var(--section-bg, var(--canvas)); color: var(--ink); }
.card-grid-head { max-width: 60ch; margin-bottom: clamp(36px, 5vw, 72px); }
.card-grid-head .eyebrow { color: var(--accent); }
.card-grid-lead { margin-top: 12px; }
.card-grid-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(260px, 100%), 1fr)); gap: clamp(16px, 2vw, 24px); }
.lcard { display: flex; flex-direction: column; gap: 10px; padding: clamp(20px, 2.4vw, 30px);
  background: color-mix(in oklab, var(--ink) 3%, var(--canvas));
  border: 1px solid color-mix(in oklab, var(--ink) 12%, transparent);
  border-radius: var(--radius); text-decoration: none; color: inherit;
  transition: transform .3s cubic-bezier(0.16,1,0.3,1), box-shadow .3s ease, border-color .3s ease; }
.lcard--linked:hover, .lcard--linked:focus-visible { transform: translateY(-4px); border-color: var(--accent); box-shadow: 0 18px 40px color-mix(in oklab, var(--ink) 14%, transparent); }
/* Card treatment 'stripe' (tune.cardStyle). Rounded card with a 4px accent
   rail that wipes down on hover, plus a navy edge and a lift. Opt-in per
   section: without the attribute every existing card grid is untouched. */
.card-grid[data-card-style="stripe"] .lcard {
  border-radius: 8px; overflow: hidden; position: relative;
  background: #fff; border-color: var(--muted);
}
.card-grid[data-card-style="stripe"] .lcard::before {
  content: ""; position: absolute; left: 0; top: 0; width: 4px; height: 100%;
  background: var(--accent); transform: scaleY(0); transform-origin: top;
  transition: transform .3s cubic-bezier(0.16,1,0.3,1);
}
.card-grid[data-card-style="stripe"] .lcard--linked:hover,
.card-grid[data-card-style="stripe"] .lcard--linked:focus-visible {
  transform: translateY(-5px); border-color: var(--navy, var(--ink));
  box-shadow: 0 22px 46px rgba(10,23,51,0.12);
}
.card-grid[data-card-style="stripe"] .lcard--linked:hover::before,
.card-grid[data-card-style="stripe"] .lcard--linked:focus-visible::before { transform: scaleY(1); }
@media (prefers-reduced-motion: reduce) {
  .card-grid[data-card-style="stripe"] .lcard--linked:hover { transform: none; }
}
.lcard-tag { align-self: flex-start; font-family: var(--font-head, inherit); text-transform: uppercase; letter-spacing: 0.14em; font-size: 0.72rem; color: var(--accent); }
/* Big numeral card hero (spec cards). An optional card slot: a large ink
   numeral with a small accent label, the card's identity. Renders only when a
   card carries a `numeral` (gated in the template), so other card grids are
   unchanged. */
.lcard-numeral { display: flex; align-items: baseline; gap: 8px; font-family: var(--font-display, 'Fraunces'), Georgia, serif; font-weight: 700; font-size: clamp(2.2rem, 3.4vw, 2.6rem); line-height: 1; color: var(--navy, var(--ink)); }
.lcard-numeral > span { font-family: var(--font-head, inherit); font-size: 1.05rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent); font-weight: 600; }
body[data-typography="condensed-caps"] .lcard-numeral { font-family: 'Barlow Condensed', system-ui, sans-serif; }
.lcard-media { width: 100%; aspect-ratio: 16 / 10; background-size: cover; background-position: center; border-radius: var(--radius); }
.lcard-title { margin: 0; color: var(--ink); }
.lcard-meta { display: flex; flex-direction: column; gap: 2px; }
.lcard-meta-line { font-size: 0.92rem; color: color-mix(in oklab, var(--ink) 66%, transparent); line-height: 1.5; }
.lcard-link { margin-top: auto; display: inline-flex; align-items: center; gap: 6px; font-family: var(--font-head, inherit); text-transform: uppercase; letter-spacing: 0.1em; font-size: 0.78rem; color: var(--accent); }
.lcard-link svg { width: 15px; height: 15px; }
/* Group heading (card.group): a full-width row in the grid, label then a
   hairline to the right edge. Only rendered when a card carries one. */
.card-grid-group { grid-column: 1 / -1; display: flex; align-items: center; gap: 16px; margin: 0;
  font-family: var(--font-head, inherit); font-size: 1.15rem; font-weight: 600; line-height: 1.2;
  letter-spacing: 0.08em; text-transform: uppercase; color: var(--navy, var(--ink)); }
.card-grid-group::after { content: ""; flex: 1; height: 1px; background: color-mix(in oklab, var(--ink) 18%, transparent); }
.card-grid-group:not(:first-child) { margin-top: clamp(20px, 3vw, 40px); }

/* ===== DIRECTORY: compact contact rows, hairline-separated ===== */
.directory { padding: var(--section-pad) 0; background: var(--section-bg, var(--canvas)); color: var(--ink); }
.directory-head { max-width: 60ch; margin-bottom: clamp(28px, 4vw, 56px); }
.directory-head .eyebrow { color: var(--accent); }
.directory-list { border-top: 1px solid color-mix(in oklab, var(--ink) 14%, transparent); }
.dir-row { display: grid; grid-template-columns: 1.2fr 1.4fr auto; gap: clamp(12px, 2vw, 32px); align-items: baseline;
  padding: clamp(14px, 1.6vw, 20px) 0; border-bottom: 1px solid color-mix(in oklab, var(--ink) 12%, transparent); }
.dir-name { font-weight: 600; color: var(--ink); }
.dir-role { color: color-mix(in oklab, var(--ink) 62%, transparent); }
.dir-contact { display: flex; flex-wrap: wrap; gap: 2px 16px; justify-content: flex-end; }
.dir-contact a { color: var(--accent); text-decoration: none; }
.dir-contact a:hover { text-decoration: underline; }
@media (max-width: 640px) { .dir-row { grid-template-columns: 1fr; gap: 2px; } .dir-contact { justify-content: flex-start; } }

/* ===== MAP EMBED: allowlisted iframe, authored fallback ===== */
.map-embed { padding: var(--section-pad) 0; background: var(--section-bg, var(--canvas)); color: var(--ink); }
.map-embed-head { max-width: 60ch; margin-bottom: clamp(20px, 3vw, 36px); }
.map-embed-head .eyebrow { color: var(--accent); }
.map-embed-frame { position: relative; width: 100%; aspect-ratio: 16 / 7; overflow: hidden;
  border: 1px solid color-mix(in oklab, var(--ink) 12%, transparent); }
.map-embed-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map-embed-fallback { white-space: pre-line; font-size: 1.05rem; line-height: 1.6; color: color-mix(in oklab, var(--ink) 74%, transparent); }
/* Pair variant: two maps side by side, equal frames, stacked on phones. */
.map-embed-pair { display: grid; grid-template-columns: 1fr; gap: clamp(28px, 4vw, 48px); }
@media (min-width: 760px) { .map-embed-pair { grid-template-columns: repeat(2, 1fr); gap: clamp(20px, 3vw, 40px); } }
.map-embed-label { font-size: 1.15rem; text-transform: uppercase; letter-spacing: 0.02em; color: var(--ink); margin: 0 0 14px; }
.map-embed--pair .map-embed-frame { aspect-ratio: 4 / 3; }

/* ===== SECTION BACKGROUND BAND (per-section `background` knob) =====
   A section's background knob sets --section-bg on its own <section>; every
   banded section reads background: var(--section-bg, <its own default>). So the
   default value ('canvas') emits no attribute and each section keeps its native
   background; 'white'/'paper'/'ink' repaint the band. This is how the standalone
   sites alternate white body / paper / dark bands. --section-bg is only ever
   read by section wrappers (never by inner cards/inputs), so the value does not
   bleed into a section's contents even though the custom property inherits. */
[data-bg="white"] { --section-bg: #fff; }
[data-bg="muted"] { --section-bg: color-mix(in srgb, var(--muted) 30%, transparent); }
[data-bg="paper"] { --section-bg: var(--paper); }
[data-bg="ink"]   { --section-bg: var(--ink); color: var(--canvas); }
/* Flat royal navy band (reference design .section--navy). Distinct from ink:
   ink is the near-black hero/footer tone, navy is the brand blue. Falls back
   to --ink on palettes with a single dark token. */
[data-bg="navy"]  { --section-bg: var(--navy, var(--ink)); color: var(--canvas); }
[data-bg="navy"] .section-head h2, [data-bg="navy"] h2, [data-bg="navy"] .t-h1, [data-bg="navy"] .t-h2 { color: var(--canvas); }
[data-bg="navy"] .eyebrow { color: var(--accentBright, var(--accent)); }
[data-bg="navy"] .divider-line { background: rgba(255,255,255,0.14); }
[data-bg="navy"] .divider-mark::before, [data-bg="navy"] .divider-mark::after,
[data-bg="ink"] .divider-mark::before, [data-bg="ink"] .divider-mark::after { border-color: var(--accentBright, var(--accent)); }
[data-bg="ink"] .section-head h2, [data-bg="ink"] h2, [data-bg="ink"] .t-h1, [data-bg="ink"] .t-h2 { color: var(--canvas); }
[data-bg="ink"] .eyebrow { color: var(--accent); }

/* ===== BRAND-MARK HERO: draw-on mark + kinetic headline + keyline =====
   Resting state (no JS / reduced motion) = mark filled + visible, headline
   shown, keyline drawn. buildBrandMarkScript arms then reveals when motion is on. */
.hero--fullbleed .hero-mark { position: absolute; z-index: 2; right: clamp(-48px, 0vw, 24px); top: 50%;
  width: min(46vw, 500px); aspect-ratio: 1; transform: translateY(-50%); pointer-events: none;
  color: var(--canvas); opacity: 0.16; }
.hero--fullbleed .hero-mark-inner { width: 100%; height: 100%; }
.hero--fullbleed .hero-mark svg { width: 100%; height: 100%; display: block; }
/* Fill geometry with the mark colour ONLY when the path declares no fill of
   its own. A path with an explicit fill (a two-tone mark) keeps it: the
   sanitizer preserves the fill attribute, so per-path inks survive.
   Single-colour marks are unchanged (no fill -> currentColor). */
.hero--fullbleed .hero-mark svg :is(path, line, polyline, polygon, rect, circle, ellipse):not([fill]) { fill: currentColor; }
.hero--fullbleed .hero-kinetic { display: block; }
/* Each headline line stays on one line (the standalone's two-line lock), so the
   headline wraps to its authored line breaks instead of orphaning a word. */
.hero--fullbleed .hero-kinetic .hero-ln { display: block; overflow: hidden; padding-bottom: 0.06em; white-space: nowrap; }
.hero--fullbleed .hero-kinetic .hero-ln > span { display: block; transition: transform 1.2s cubic-bezier(0.16,1,0.3,1); }
.hero--fullbleed .hero-kinetic.is-armed .hero-ln > span { transform: translateY(116%); }
.hero--fullbleed .hero-kinetic.is-armed.is-ready .hero-ln > span { transform: translateY(0); }
.hero--fullbleed .hero-kinetic.is-armed .hero-ln:nth-child(2) > span { transition-delay: 0.16s; }
.hero--fullbleed .hero-kinetic .hero-ln.accent > span { color: var(--canvas); }
.hero--fullbleed .hero-keyline { display: inline-block; width: 56px; height: 5px; margin-left: 8px;
  background: var(--accent); vertical-align: middle; }
.hero--fullbleed .hero-kinetic.is-armed .hero-keyline { width: 0; transition: width 1s cubic-bezier(0.16,1,0.3,1) 0.85s; }
.hero--fullbleed .hero-kinetic.is-armed.is-ready .hero-keyline { width: 56px; }
/* Arm before paint. The kinetic headline starts hidden from the first paint
   when scripting is on, so it reveals from hidden with no flash (hiding it
   from end-of-body JS showed it, hid it, then slid it back in). With
   scripting disabled it stays visible. CSS-only, so no markup changes. */
@media (scripting: enabled) {
  .hero--fullbleed .hero-kinetic .hero-ln > span { transform: translateY(116%); }
  .hero--fullbleed .hero-kinetic.is-ready .hero-ln > span { transform: translateY(0); }
  .hero--fullbleed .hero-keyline { width: 0; }
  .hero--fullbleed .hero-kinetic.is-ready .hero-keyline { width: 56px; transition: width 1s cubic-bezier(0.16,1,0.3,1) 0.85s; }
  /* Safety: a BAND hero's reveal script returns early by design (its mark is a
     static watermark, so buildBrandMarkScript skips the draw-on trace and the
     kinetic headline with it). Arming before paint therefore hid every interior
     page's h1 permanently: nothing ever added .is-ready. Un-arm band heroes so the
     title is simply present with no motion, which also holds if the script never
     runs. The reduced-motion escape below could not catch this because it is
     scoped away from selective-motion sites. */
  .hero--fullbleed[data-hero-treatment="band"] .hero-kinetic .hero-ln > span { transform: translateY(0); }
  .hero--fullbleed[data-hero-treatment="band"] .hero-keyline { width: 56px; }
  /* Safety: a non-selective reduced-motion visitor's JS early-returns and never
     adds is-ready, so un-arm the headline for them (it stays visible, not blank).
     Selective-motion sites animate under reduced motion, so they keep
     the armed reveal. */
  @media (prefers-reduced-motion: reduce) {
    body:not([data-reduced-motion="selective"]) .hero--fullbleed .hero-kinetic .hero-ln > span { transform: translateY(0); }
    body:not([data-reduced-motion="selective"]) .hero--fullbleed .hero-keyline { width: 56px; }
  }
}
@media (max-width: 720px) { .hero--fullbleed .hero-mark { width: 64vw; opacity: 0.12; right: -14vw; } }
/* Feature brand mark (markStyle knob): a large, mostly-opaque canvas mark
   beside the headline, the signature look. Default 'ghost' (no attribute) keeps
   the faint corner watermark. */
/* The mark is absolutely positioned inside a FULL-BLEED hero, so `right`
   measures from the viewport while the copy sits in a centred --container;
   the two drift apart as the screen widens. Anchor it to the column so the
   gap between mark and copy is the same at any width. Below --container the
   max() collapses to a small negative bleed. */
.hero--fullbleed[data-mark-style="feature"] .hero-mark {
  opacity: 1; width: min(42vw, 460px);
  right: calc(max(0px, (100vw - var(--container)) / 2) - 24px);
}
@media (max-width: 720px) { .hero--fullbleed[data-mark-style="feature"] .hero-mark { opacity: 0.5; width: 62vw; right: -12vw; } }

/* ============ INDUSTRIAL FAMILY (condensed-caps) ============
   Family-scoped variants, gated on data-typography="condensed-caps" so the
   editorial family is untouched. --accent-bright is the palette's lifted
   crimson (a brighter red that reads on the dark navy bands); it falls back
   to a derived lift when a site does not supply one. */
body[data-typography="condensed-caps"] {
  --_accent-bright: var(--accent-bright, color-mix(in srgb, var(--accent) 55%, #E11D48));
  --_eyebrow-ondark: #B9C6E0;
}
/* Eyebrow keyline: a short crimson bar before the label (standalone
   .eyebrow::before; 28x2, 12px gap). Empty eyebrows collapse (no ghost bar). */
body[data-typography="condensed-caps"] .eyebrow { display: inline-flex; align-items: center; gap: 12px; }
body[data-typography="condensed-caps"] .eyebrow:not(:empty)::before {
  content: ""; flex: none; width: 28px; height: 2px;
  background: var(--eyebrow-mark, var(--accent));
}
/* On-dark eyebrows (hero over photo, dark stat strip): periwinkle label + a
   brightened crimson mark (standalone .eyebrow.on-dark). Higher specificity +
   !important to beat the global .has-bg-photo .eyebrow accent mix. */
body[data-typography="condensed-caps"] .hero .eyebrow,
body[data-typography="condensed-caps"] .has-bg-photo .eyebrow,
body[data-typography="condensed-caps"] .stats--darkstrip .eyebrow {
  color: var(--_eyebrow-ondark) !important;
  --eyebrow-mark: var(--_accent-bright);
}
/* The centred CTA tag is a bare centred crimson-bright label (standalone
   .cta-band .tag; no keyline, centred). */
body[data-typography="condensed-caps"] .contact-cta--centered .eyebrow { justify-content: center; }
body[data-typography="condensed-caps"] .contact-cta--centered .eyebrow::before { display: none; }
body[data-typography="condensed-caps"] .contact-cta--centered[data-cta-theme="dark"] .eyebrow {
  color: var(--_accent-bright) !important;
}
/* Interior heroes (no feature brand mark) are compact and bottom-anchored,
   matching the standalone .page-hero (min-height 58vh, copy at the foot) rather
   than a tall vertically-centred full-bleed. The home hero keeps data-brand-mark
   ="on" and is excluded. */
body[data-typography="condensed-caps"] .hero--fullbleed[data-hero-treatment="band"] {
  --hero-min-h: clamp(380px, 58vh, 560px);
}
body[data-typography="condensed-caps"] .hero--fullbleed[data-hero-treatment="band"] .hero-grid { align-items: end; }
/* Value-prop card icons: clean unboxed crimson glyph (standalone .card__icon,
   46px, no tinted square). */
body[data-typography="condensed-caps"] .card-icon {
  width: 46px; height: 46px; border-radius: 0; margin-bottom: 18px;
  background: none !important; box-shadow: none !important;
}
body[data-typography="condensed-caps"] .card-icon svg { width: 46px; height: 46px; }
body[data-typography="condensed-caps"] .pillar:hover .card-icon,
body[data-typography="condensed-caps"] .feature-col:hover .card-icon { background: none !important; }
/* Card titles in royal navy, not near-black ink (standalone .card h3). */
body[data-typography="condensed-caps"] .pillars[data-theme="light"] .pillar h3 { color: var(--navy, var(--ink)); }
/* Card surface: subtle 6px radius + hairline muted border (standalone .card). */
body[data-typography="condensed-caps"] .pillars[data-theme="light"] .pillar:has(.card-icon) { border-radius: 6px; border-color: var(--muted); }
/* Checks list (fleet strengths): regular sentence-case Inter body in one column,
   not oversized condensed caps (standalone .tick li). */
body[data-typography="condensed-caps"] .content-section--media[data-list-style="checks"] .content-section-list { grid-template-columns: 1fr; }
body[data-typography="condensed-caps"] .content-section[data-list-style="checks"] .content-section-list-item h3 {
  font-family: 'Inter', system-ui, sans-serif !important;
  text-transform: none !important; letter-spacing: 0 !important; font-weight: 400 !important;
  font-size: 1rem !important; line-height: 1.5 !important; color: #41506B;
}
/* Card body copy: neutral slate, not navy-tinted ink (standalone .card p). */
body[data-typography="condensed-caps"] .pillars[data-theme="light"] .pillar p { color: #43526E; }
/* Dark stat strip: white figure + brightened crimson unit (standalone .stat__num
   white, .suffix crimson-bright), not an all-crimson number. */
body[data-typography="condensed-caps"] .stats--darkstrip .stat-figure { color: #fff !important; font-size: clamp(2.8rem, 5vw, 4.2rem) !important; }
body[data-typography="condensed-caps"] .stats--darkstrip .stat-unit { color: var(--_accent-bright) !important; font-size: 1em !important; }
/* Stats band: left-aligned head (standalone .section__head) with centred stat
   cells (standalone .stats text-align:center), not a centred head + left cells. */
body[data-typography="condensed-caps"] .stats--darkstrip .stats-head { text-align: left; margin-left: 0; max-width: 60ch; }
body[data-typography="condensed-caps"] .stats--darkstrip .stat-cell { align-items: center; text-align: center; }
/* Hero ghost button: pure white text + border (standalone .btn--ghost), not the
   off-white canvas token. */
body[data-typography="condensed-caps"] .hero .btn-ghost { color: #fff !important; border-color: rgba(255,255,255,0.6) !important; }
body[data-typography="condensed-caps"] .hero .btn-ghost:hover { background: #fff !important; color: var(--navy) !important; border-color: #fff !important; }
/* Hero scroll cue carries a "Scroll" label above the chevron (standalone
   .hero__scroll). CSS-only via ::before so no markup changes (other families' cue stays
   byte-identical). */
body[data-typography="condensed-caps"] .hero--fullbleed .hero-scroll-cue {
  flex-direction: column; gap: 6px; width: auto; height: auto;
}
body[data-typography="condensed-caps"] .hero--fullbleed .hero-scroll-cue::before {
  content: "Scroll"; font-family: 'Barlow Condensed', system-ui, sans-serif;
  text-transform: uppercase; letter-spacing: 0.2em; font-size: 0.72rem; color: #cfd5e6;
}
/* Centred CTA tag reads at body size, not the tiny eyebrow size (standalone
   .cta-band .tag ~1rem). Heading + lead in pure white on the dark band. */
body[data-typography="condensed-caps"] .contact-cta--centered .eyebrow { font-size: 1rem; letter-spacing: 0.18em; margin-bottom: 14px; }
body[data-typography="condensed-caps"] .contact-cta--centered[data-cta-theme="dark"] h2 { color: #fff; }
/* Slightly rounded buttons (standalone 2px), not hard-squared, for the whole
   industrial family; content + chrome buttons. */
body[data-typography="condensed-caps"][data-buttons="editorial-squared"] .btn-primary,
body[data-typography="condensed-caps"][data-buttons="editorial-squared"] .btn-primary--accent,
body[data-typography="condensed-caps"][data-buttons="editorial-squared"] .btn-ghost { border-radius: 2px !important; }
body[data-typography="condensed-caps"][data-chrome-buttons="editorial-squared"] .site-nav .btn-primary,
body[data-typography="condensed-caps"][data-chrome-buttons="editorial-squared"] .site-nav .btn-primary--accent,
body[data-typography="condensed-caps"][data-chrome-buttons="editorial-squared"] .site-nav .btn-ghost,
body[data-typography="condensed-caps"][data-chrome-buttons="editorial-squared"] .site-footer .btn-primary,
body[data-typography="condensed-caps"][data-chrome-buttons="editorial-squared"] .site-footer .btn-primary--accent,
body[data-typography="condensed-caps"][data-chrome-buttons="editorial-squared"] .site-footer .btn-ghost,
body[data-typography="condensed-caps"][data-chrome-buttons="editorial-squared"] .contact-cta .btn-primary,
body[data-typography="condensed-caps"][data-chrome-buttons="editorial-squared"] .contact-cta .btn-primary--accent,
body[data-typography="condensed-caps"][data-chrome-buttons="editorial-squared"] .contact-cta .btn-ghost { border-radius: 2px !important; }
/* Secondary CTAs inside light content sections read as outline-navy buttons
   (standalone .btn--outline-navy: transparent, navy rule + label, fills navy on
   hover), not solid ink / faint ghost. Dark bands keep their own treatment. */
body[data-typography="condensed-caps"] .content-section:not(.content-section--band) .btn-primary:not(.btn-primary--accent),
body[data-typography="condensed-caps"] .content-section:not(.content-section--band) .btn-ghost {
  background: transparent !important; color: var(--navy) !important;
  border: 2px solid var(--navy) !important;
}
body[data-typography="condensed-caps"] .content-section:not(.content-section--band) .btn-primary:not(.btn-primary--accent):hover,
body[data-typography="condensed-caps"] .content-section:not(.content-section--band) .btn-ghost:hover {
  background: var(--navy) !important; color: #fff !important;
}
/* Drop-down: compact industrial menu (standalone .nav__menu), a narrow white
   card of uppercase navy links, not the editorial mega-menu with numerals and
   blurbs. The footer link is kept but reads as a navy link (not the editorial
   ink/60 on muted). */
body[data-typography="condensed-caps"] .nav-menu { width: auto; min-width: 220px; left: -14px; border-radius: 4px; }
body[data-typography="condensed-caps"] .nav-menu-body { padding: 8px; }
body[data-typography="condensed-caps"] .nav-menu-num,
body[data-typography="condensed-caps"] .nav-menu-blurb { display: none; }
body[data-typography="condensed-caps"] .nav-menu-item { padding: 10px 12px; border-radius: 3px; gap: 0; }
body[data-typography="condensed-caps"] .nav-menu-title {
  font-family: 'Barlow Condensed', system-ui, sans-serif; font-size: 0.86rem;
  text-transform: uppercase; letter-spacing: 0.1em; color: var(--navy);
}
body[data-typography="condensed-caps"] .nav-menu-item:hover .nav-menu-title { color: var(--accent); }
body[data-typography="condensed-caps"] .nav-menu-all { padding: 8px 12px; }
body[data-typography="condensed-caps"] .nav-menu-all a { color: var(--navy); }
/* A transparent-over-hero nav paints its top-level links white; the
   dropdown card is solid white, so its links must NOT inherit that white.
   Restore card-appropriate colours whenever the dropdown is open over a
   transparent nav. Applies to any transparent-over-hero site with a menu. */
body[data-header-style="transparent-over-hero"] .site-nav:not(.is-solid) .nav-menu a,
body[data-header-style="transparent-over-hero"] .site-nav:not(.is-solid) .nav-menu-title,
body[data-header-style="transparent-over-hero"] .site-nav:not(.is-solid) .nav-menu-all a { color: var(--ink); }
body[data-typography="condensed-caps"][data-header-style="transparent-over-hero"] .site-nav:not(.is-solid) .nav-menu-title,
body[data-typography="condensed-caps"][data-header-style="transparent-over-hero"] .site-nav:not(.is-solid) .nav-menu-all a { color: var(--navy); }
/* The nav "Get in touch" button carries the crimson accent (standalone
   .nav .btn--primary), not the ink default. */
body[data-typography="condensed-caps"] .site-nav .btn-primary {
  background: var(--accent); color: var(--accent-text, #fff); border-color: transparent;
}
body[data-typography="condensed-caps"] .site-nav .btn-primary:hover {
  background: color-mix(in oklab, var(--accent) 86%, black); border-color: color-mix(in oklab, var(--accent) 86%, black);
}

