/* ──────────────────────────────────────────────────────────────
 Spyglass Investigations — shared stylesheet
 Used by index.html, service detail pages, about, service area,
 contact. Mobile-first responsive.
 ────────────────────────────────────────────────────────────── */

:root {
 --ink: #14223f;  /* navy from the logo */
 --ink-deep: #0e1830;
 --ink-soft: #1c2c4f;
 --paper: #f3ebde;
 --paper-warm: #ebe1d0;
 --paper-cream: #faf5ec;
 --paper-bright: #ffffff;
 --accent: #a37b53;  /* brass */
 --accent-deep: #7d5a3a;
 --accent-soft: #c9a47c;
 --crest: #6b1e2b;  /* deep crimson from logo crosshair */
 --line: #d6c9b3;
 --line-soft: #e6dcc7;
 --muted: #6b5d44;
 --serif: 'Playfair Display', Georgia, serif;
 --serif-display: 'Cormorant Garamond', Georgia, serif;
 --sans: 'Inter', system-ui, -apple-system, sans-serif;
 --maxw: 1240px;
}

*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
 background: var(--paper);
 color: var(--ink);
 font-family: var(--sans);
 font-size: 16px;
 line-height: 1.6;
 -webkit-font-smoothing: antialiased;
 -moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; display: block; }
a { color: var(--ink); text-decoration: none; }
::selection { background: var(--accent); color: var(--paper); }

/* skip link for a11y */
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 12px; top: 12px; padding: 8px 12px; background: var(--ink); color: var(--paper); z-index: 999; border-radius: 6px; }

/* ───────── Top bar ───────── */
.top {
 position: sticky; top: 0; z-index: 50;
 background: color-mix(in oklab, var(--paper) 94%, transparent);
 backdrop-filter: blur(20px) saturate(160%);
 -webkit-backdrop-filter: blur(20px) saturate(160%);
 border-bottom: 1px solid color-mix(in oklab, var(--ink) 8%, transparent);
}
.top-row {
 max-width: var(--maxw);
 margin: 0 auto;
 padding: 14px 28px;
 display: flex;
 align-items: center;
 justify-content: space-between;
 gap: 24px;
 flex-wrap: nowrap;
}
.top-logo { display: flex; align-items: center; flex-shrink: 0; }
.top-logo img {
 height: 76px; width: auto; max-width: 420px;
 object-fit: contain;
 display: block;
}
@media (max-width: 980px) {
 .top-logo img { height: 48px; max-width: 240px; }
}

/* Inline menu is suppressed — we use the hamburger panel for all nav */
.top-nav { display: none !important; }
.top-nav-legacy {
 display: flex; gap: 6px;
 justify-content: center;
 font-family: var(--serif);
 font-size: 12px; letter-spacing: 0.2em;
 text-transform: uppercase;
}
.nav-item { position: relative; }
.nav-link {
 display: inline-flex; align-items: center; gap: 6px;
 padding: 10px 14px; border-radius: 999px;
 color: var(--ink); opacity: 0.8;
 transition: opacity 160ms, color 160ms, background 200ms;
 cursor: pointer;
}
.nav-link:hover, .nav-link.active { opacity: 1; color: var(--accent-deep); background: rgba(31, 28, 24, 0.04); }
.nav-link .caret { font-size: 8px; transition: transform 220ms; opacity: 0.6; }
.nav-item:hover .nav-link .caret,
.nav-item:focus-within .nav-link .caret { transform: rotate(180deg); }

.nav-dropdown {
 position: absolute; top: calc(100% + 6px); left: 50%;
 transform: translateX(-50%) translateY(-6px);
 background: var(--paper-bright);
 border: 1px solid var(--line);
 border-radius: 14px;
 padding: 10px;
 min-width: 320px;
 box-shadow: 0 18px 50px rgba(20, 34, 63, 0.16);
 opacity: 0; visibility: hidden; pointer-events: none;
 transition: opacity 200ms ease, transform 200ms ease, visibility 200ms;
 z-index: 60;
}
.nav-item:hover > .nav-dropdown,
.nav-item:focus-within > .nav-dropdown {
 opacity: 1; visibility: visible; pointer-events: auto;
 transform: translateX(-50%) translateY(0);
}
.nav-dropdown a {
 display: grid; grid-template-columns: 18px 1fr; gap: 12px; align-items: start;
 padding: 10px 12px; border-radius: 10px;
 font-family: var(--sans);
 font-size: 13.5px; letter-spacing: 0;
 text-transform: none;
 color: var(--ink);
 transition: background 160ms;
}
.nav-dropdown a:hover { background: var(--paper-warm); }
.nav-dropdown a .icn { color: var(--accent); padding-top: 2px; }
.nav-dropdown a .lbl { font-weight: 500; }
.nav-dropdown a .sub {
 display: block; font-size: 11.5px;
 color: color-mix(in oklab, var(--ink) 60%, transparent);
 font-weight: 400; margin-top: 2px;
}

.top-cta { display: flex; gap: 10px; justify-content: flex-end; align-items: center; flex-shrink: 0; }

/* Round icon-only header buttons (phone, calendar, menu) */
.icon-btn {
 width: 44px; height: 44px;
 border-radius: 999px;
 border: 1px solid var(--line);
 background: var(--paper-bright);
 color: var(--ink);
 display: inline-flex; align-items: center; justify-content: center;
 cursor: pointer;
 transition: background 200ms, color 200ms, border-color 200ms, transform 120ms;
 text-decoration: none;
}
.icon-btn:hover {
 background: var(--ink); color: var(--paper);
 border-color: var(--ink);
}
.icon-btn:active { transform: scale(0.94); }
.icon-btn svg { width: 18px; height: 18px; }
.icon-btn.icon-btn-dark { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.icon-btn.icon-btn-dark:hover { background: var(--accent-deep); border-color: var(--accent-deep); }
.icon-btn.menu-btn {
 width: auto; padding: 0 16px; gap: 10px;
 font-family: var(--serif); font-size: 11px;
 letter-spacing: 0.22em; text-transform: uppercase;
}
.icon-btn.menu-btn .menu-btn-label { display: inline; }
@media (max-width: 720px) {
 .icon-btn.menu-btn { width: 44px; padding: 0; gap: 0; }
 .icon-btn.menu-btn .menu-btn-label { display: none; }
}

/* Phone icon inside button labels ("Call Now") */
.btn-phone-svg {
 width: 14px; height: 14px; flex-shrink: 0;
 display: inline-block; vertical-align: -2px;
}
.icon-btn-stack { display: inline-flex; flex-direction: column; gap: 3px; }
.icon-btn-stack span { display: block; width: 18px; height: 2px; background: currentColor; border-radius: 1px; }

/* Legacy menu-toggle kept (no-op on new layout) */
.menu-toggle { display: none; }
.mobile-menu {
 display: none;
 position: fixed; inset: 0; z-index: 70;
 background: var(--paper);
 overflow-y: auto;
 padding: 72px 24px 32px;
}
.mobile-menu.open { display: block; }
.mobile-menu-close {
 position: absolute; top: 16px; right: 16px;
 background: var(--ink); color: var(--paper);
 border: 0; border-radius: 999px;
 width: 44px; height: 44px;
 font-size: 22px; cursor: pointer; line-height: 1;
}
.mobile-menu-section { margin-bottom: 28px; }
.mobile-menu-section h4 {
 font-family: var(--serif); font-size: 11px; letter-spacing: 0.3em; text-transform: uppercase;
 color: var(--accent-deep); font-weight: 500;
 margin: 0 0 14px;
}
.mobile-menu a {
 display: block; padding: 14px 18px;
 background: var(--paper-bright); border: 1px solid var(--line);
 border-radius: 12px;
 margin-bottom: 8px;
 font-family: var(--serif-display); font-style: italic;
 font-size: 19px;
 color: var(--ink);
}
.mobile-menu a .sub {
 display: block; font-family: var(--sans); font-style: normal;
 font-size: 12px; color: color-mix(in oklab, var(--ink) 60%, transparent);
 margin-top: 2px; letter-spacing: 0;
}
.mobile-menu .btn { width: 100%; margin-top: 8px; }

/* ───────── Buttons ───────── */
.btn {
 display: inline-flex; align-items: center; justify-content: center; gap: 9px;
 padding: 13px 26px; border-radius: 999px;
 font-family: var(--serif); font-weight: 500;
 font-size: 11.5px; letter-spacing: 0.22em; text-transform: uppercase;
 border: 1px solid transparent; cursor: pointer;
 transition: transform 120ms ease, background 240ms ease, color 240ms ease, border-color 240ms ease;
 white-space: nowrap;
}
.btn:active { transform: scale(0.98); }
.btn-primary { background: transparent; color: var(--accent-deep); border-color: var(--accent); }
.btn-primary:hover { background: var(--accent); color: var(--paper); }
.btn-dark { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.btn-dark:hover { background: var(--accent-deep); border-color: var(--accent-deep); }
.btn-outline-light { background: transparent; color: var(--paper); border-color: color-mix(in oklab, var(--paper) 40%, transparent); }
.btn-outline-light:hover { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.btn-filled-accent { background: var(--accent); color: var(--paper); border-color: var(--accent); }
.btn-filled-accent:hover { background: var(--accent-deep); border-color: var(--accent-deep); }
.btn-sm { padding: 10px 18px; font-size: 10.5px; letter-spacing: 0.2em; }

/* ───────── Section base ───────── */
section { padding: 96px 32px; }
.wrap { max-width: var(--maxw); margin: 0 auto; }
.wrap-narrow { max-width: 980px; margin: 0 auto; }
.eyebrow {
 font-family: var(--serif);
 font-size: 12px;
 letter-spacing: 0.32em;
 text-transform: uppercase;
 color: var(--accent-deep);
 font-weight: 500;
}
h1, h2, h3, h4 {
 font-family: var(--serif); font-weight: 500;
 color: var(--ink);
 letter-spacing: -0.005em;
 margin: 0;
}
.display {
 font-family: var(--serif-display);
 font-weight: 500;
 font-style: italic;
 line-height: 1.02;
 letter-spacing: -0.01em;
}
.display em { color: var(--accent-deep); font-style: italic; }

/* ───────── Hero ───────── */
.hero {
 padding: 60px 32px 90px;
 background: linear-gradient(180deg, var(--paper-warm) 0%, var(--paper) 75%);
 position: relative;
 overflow: hidden;
}
.hero-grid {
 max-width: var(--maxw); margin: 0 auto;
 display: grid; grid-template-columns: 1fr 0.92fr;
 gap: 58px; align-items: start;
}
.hero-eye {
 font-family: var(--serif);
 font-size: 12.5px; letter-spacing: 0.4em; text-transform: uppercase;
 color: var(--accent-deep); margin-bottom: 26px;
}
.hero-eye .dot { color: var(--accent); margin: 0 10px; }
.hero h1 {
 font-family: var(--serif-display);
 font-weight: 500;
 font-size: clamp(34px, 4vw, 54px);
 line-height: 1.05; letter-spacing: -0.012em;
 color: var(--ink);
 margin-bottom: 28px;
}
.hero h1 em { font-style: italic; color: var(--accent-deep); }
.hero-lede {
 font-family: var(--sans);
 font-size: 17px; line-height: 1.65;
 color: color-mix(in oklab, var(--ink) 78%, transparent);
 max-width: 560px;
 margin-bottom: 16px;
}
.hero-lede + .hero-lede { color: color-mix(in oklab, var(--ink) 65%, transparent); }
.hero-cta { display: flex; gap: 14px; margin-top: 32px; flex-wrap: wrap; }
.hero-meta {
 margin-top: 36px;
 display: flex; gap: 22px; flex-wrap: wrap;
 font-family: var(--serif);
 font-size: 11px; letter-spacing: 0.25em; text-transform: uppercase;
 color: var(--muted);
}
.hero-meta span::before {
 content: '✦'; color: var(--accent); margin-right: 8px;
}

.hero-img {
 position: relative;
 aspect-ratio: 4 / 5;
 border-radius: 6px;
 overflow: hidden;
 background: var(--ink);
 box-shadow: 0 30px 60px rgba(20, 34, 63, 0.22);
 margin-top: 0;
}
.hero-img img { width: 100%; height: 100%; object-fit: cover; filter: saturate(0.92) contrast(1.04); }
.hero-img::after {
 content: ''; position: absolute; inset: 0;
 background: linear-gradient(180deg, transparent 50%, rgba(20, 34, 63, 0.35) 100%);
}
.hero-img-tag {
 position: absolute; left: 24px; bottom: 24px;
 padding: 9px 18px;
 border-radius: 999px;
 background: rgba(243, 235, 222, 0.95);
 backdrop-filter: blur(8px);
 color: var(--ink);
 font-family: var(--serif);
 font-size: 11px; letter-spacing: 0.28em; text-transform: uppercase;
 font-weight: 500;
 z-index: 2;
}
.hero-img-stamp {
 position: absolute; right: 18px; top: 18px;
 width: 92px; height: 92px;
 border: 1.5px solid rgba(243, 235, 222, 0.62);
 border-radius: 50%;
 display: flex; align-items: center; justify-content: center;
 font-family: var(--serif);
 color: rgba(243, 235, 222, 0.96);
 font-size: 9.5px; letter-spacing: 0.22em; text-transform: uppercase;
 text-align: center;
 line-height: 1.3;
 padding: 8px;
 z-index: 2;
 backdrop-filter: blur(4px);
}

/* Quote band */
.quote-band {
 background: var(--ink);
 color: var(--paper);
 padding: 64px 32px;
}
.quote-band-inner { max-width: 1000px; margin: 0 auto; text-align: center; }
.quote-band p {
 font-family: var(--serif-display);
 font-style: italic;
 font-weight: 500;
 font-size: clamp(22px, 2.4vw, 30px);
 line-height: 1.4;
 margin: 0;
 color: color-mix(in oklab, var(--paper) 95%, transparent);
}
.quote-band p em { color: var(--accent-soft); font-style: italic; }
.quote-band-cap {
 margin-top: 22px;
 font-family: var(--serif);
 font-size: 11px; letter-spacing: 0.42em; text-transform: uppercase;
 color: var(--accent-soft);
}

/* ───────── Services grid ───────── */
.svcs { background: var(--paper); }
.svcs-head { text-align: center; margin-bottom: 56px; }
.svcs-head .eyebrow { margin-bottom: 18px; display: inline-block; }
.svcs-head h2 {
 font-family: var(--serif-display);
 font-style: italic;
 font-size: clamp(38px, 4vw, 58px);
 line-height: 1.05;
 max-width: 840px; margin: 0 auto 18px;
}
.svcs-head h2 em { color: var(--accent-deep); font-style: italic; }
.svcs-head p {
 font-size: 16.5px; max-width: 640px; margin: 0 auto;
 color: color-mix(in oklab, var(--ink) 72%, transparent);
}
.svcs-grid {
 display: grid;
 grid-template-columns: repeat(3, 1fr);
 gap: 22px;
}
.svc-card {
 background: var(--paper-cream);
 border: 1px solid var(--line);
 border-radius: 14px;
 overflow: hidden;
 display: flex; flex-direction: column;
 text-decoration: none; color: var(--ink);
 transition: transform 280ms ease, box-shadow 280ms ease, border-color 280ms ease;
}
.svc-card:hover {
 transform: translateY(-3px);
 box-shadow: 0 18px 40px rgba(20, 34, 63, 0.14);
 border-color: var(--accent-soft);
}
.svc-card-img {
 aspect-ratio: 4 / 3;
 overflow: hidden;
 background: var(--ink);
 position: relative;
}
.svc-card-img img {
 width: 100%; height: 100%; object-fit: cover;
 filter: saturate(0.96);
 transition: transform 600ms ease;
}
.svc-card:hover .svc-card-img img { transform: scale(1.04); }
.svc-card-img::after {
 content: ''; position: absolute; inset: 0;
 background: linear-gradient(180deg, rgba(20, 34, 63, 0) 60%, rgba(20, 34, 63, 0.18) 100%);
 pointer-events: none;
}
.svc-card-body { padding: 26px 28px 28px; flex: 1; display: flex; flex-direction: column; }
.svc-tier {
 font-family: var(--serif);
 font-size: 10.5px; letter-spacing: 0.28em; text-transform: uppercase;
 color: var(--accent-deep);
 margin-bottom: 10px;
 font-weight: 500;
}
.svc-card h3 {
 font-family: var(--serif-display);
 font-style: italic; font-weight: 500;
 font-size: 26px; line-height: 1.1;
 margin: 0 0 10px;
 color: var(--ink);
}
.svc-card .svc-card-q {
 font-family: var(--serif-display);
 font-style: italic;
 font-weight: 500;
 font-size: 26px; line-height: 1.1;
 color: var(--ink);
 margin: 0 0 12px;
}
.svc-card-q em { color: var(--accent-deep); font-style: italic; }
.svc-card p {
 margin: 0 0 16px;
 font-size: 14.5px; line-height: 1.55;
 color: color-mix(in oklab, var(--ink) 70%, transparent);
}
.svc-scope-lbl {
 font-family: var(--serif);
 font-size: 10.5px; letter-spacing: 0.26em; text-transform: uppercase;
 color: var(--accent-deep); font-weight: 500;
 margin: 8px 0 10px;
}
.svc-scope { padding: 0; margin: 0 0 18px; list-style: none; }
.svc-scope li {
 padding: 6px 0 6px 22px;
 position: relative;
 font-size: 14px;
 color: color-mix(in oklab, var(--ink) 78%, transparent);
 border-top: 1px solid var(--line-soft);
}
.svc-scope li strong {
 display: block;
 font-family: var(--serif);
 font-weight: 500;
 font-style: italic;
 color: var(--ink);
}
.svc-scope li:first-child { border-top: 0; }
.svc-scope li::before {
 content: ''; position: absolute; left: 0; top: 14px;
 width: 12px; height: 1px; background: var(--accent);
}
.svc-card .btn { align-self: flex-start; margin-top: auto; }
.svc-card .btn-row { display: flex; align-items: center; justify-content: space-between; margin-top: auto; gap: 12px; width: 100%; }
.svc-card .btn-row .btn { margin-top: 0; }
.svc-card .btn-row .arrow {
 color: var(--accent-deep);
 font-family: var(--serif);
 font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase;
 display: inline-flex; align-items: center; gap: 6px;
 transition: transform 200ms;
}
.svc-card:hover .btn-row .arrow { transform: translateX(4px); }
.svc-disclosure {
 margin-top: 10px;
 font-size: 12px;
 color: color-mix(in oklab, var(--ink) 55%, transparent);
 font-style: italic;
 line-height: 1.5;
}

/* ───────── Scope of services grid ───────── */
.scope {
 background: var(--paper-warm);
}
.scope-head {
 display: grid; grid-template-columns: auto 1fr; gap: 56px; align-items: end;
 margin-bottom: 56px;
}
.scope-head h2 {
 font-family: var(--serif-display);
 font-style: italic;
 font-size: clamp(36px, 3.8vw, 56px);
 line-height: 1.05;
 max-width: 720px;
}
.scope-head h2 em { color: var(--accent-deep); }
.scope-grid {
 display: grid; grid-template-columns: repeat(3, 1fr);
 gap: 24px;
}
.scope-card {
 background: var(--paper);
 border: 1px solid var(--line);
 border-radius: 12px;
 padding: 30px 28px 28px;
 transition: border-color 240ms, transform 240ms, box-shadow 240ms;
 position: relative;
 display: flex; flex-direction: column;
 text-decoration: none; color: var(--ink);
}
.scope-card:hover {
 border-color: var(--accent-soft);
 transform: translateY(-2px);
 box-shadow: 0 14px 30px rgba(20, 34, 63, 0.1);
}
.scope-icon {
 width: 44px; height: 44px;
 border-radius: 999px;
 background: color-mix(in oklab, var(--accent) 18%, var(--paper));
 color: var(--accent-deep);
 display: flex; align-items: center; justify-content: center;
 margin-bottom: 18px;
}
/* Scope cards with photo */
.scope-card-img {
 aspect-ratio: 16 / 7;
 height: auto;
 min-height: 150px;
 overflow: hidden;
 background: var(--ink);
 border-radius: 11px 11px 0 0;
 margin: -30px -28px 22px;
 position: relative;
}
.scope-card-img img {
 width: 100%; height: 100%;
 object-fit: cover;
 object-position: center 40%;
 filter: saturate(0.93) contrast(1.02);
 transition: transform 600ms ease;
 display: block;
}
.scope-card:hover .scope-card-img img { transform: scale(1.04); }
.scope-card-img::after {
 content: ''; position: absolute; inset: 0;
 background: linear-gradient(180deg, rgba(20,34,63,0) 50%, rgba(20,34,63,0.18) 100%);
 pointer-events: none;
}

.scope-card h3 {
 font-family: var(--serif-display);
 font-style: italic; font-weight: 500;
 font-size: 24px; line-height: 1.1;
 margin: 0 0 12px;
}
.scope-card p {
 font-size: 14.5px;
 color: color-mix(in oklab, var(--ink) 70%, transparent);
 margin: 0 0 16px;
}
.scope-bullets { padding: 0; margin: 0 0 18px; list-style: none; }
.scope-bullets li {
 font-size: 13.5px; line-height: 1.5;
 padding: 8px 0;
 border-top: 1px solid var(--line-soft);
 color: color-mix(in oklab, var(--ink) 78%, transparent);
}
.scope-bullets li:first-child { border-top: 0; }
.scope-bullets strong {
 font-family: var(--serif);
 font-weight: 500;
 font-style: italic;
 color: var(--ink);
 display: block;
 margin-bottom: 2px;
}
.scope-more {
 font-family: var(--serif);
 font-size: 11px; letter-spacing: 0.24em; text-transform: uppercase;
 color: var(--accent-deep);
 margin-top: auto;
 display: inline-flex; align-items: center; gap: 8px;
 font-weight: 500;
}
.scope-more::after {
 content: '→';
 transition: transform 200ms;
}
.scope-card:hover .scope-more::after { transform: translateX(4px); }

/* ───────── The Difference / Team ───────── */
.diff { background: var(--paper); }
.diff-grid {
 display: grid; grid-template-columns: 0.95fr 1.05fr;
 gap: 80px; align-items: center;
}
.diff-portrait {
 position: relative;
 border-radius: 6px;
 overflow: hidden;
 aspect-ratio: 4 / 5;
 background: var(--ink);
 box-shadow: 0 24px 60px rgba(20, 34, 63, 0.18);
}
.diff-portrait img { width: 100%; height: 100%; object-fit: cover; }
.diff-grid-textonly {
 grid-template-columns: 1fr;
 max-width: 940px;
 margin: 0 auto;
}
.diff-grid-textonly .diff-content {
 width: 100%;
}
.identity-fit-img {
 background: var(--ink);
}
.identity-fit-img img {
 object-fit: cover !important;
 object-position: center top !important;
 background: transparent !important;
}
.identity-hero-img {
 object-fit: cover !important;
 object-position: center top !important;
}

.diff-badge {
 position: absolute; bottom: 22px; left: 22px;
 background: var(--paper);
 border-radius: 12px;
 padding: 14px 22px;
 box-shadow: 0 10px 22px rgba(20, 34, 63, 0.22);
 border: 1px solid var(--line);
}
.diff-badge-t {
 font-family: var(--serif-display);
 font-style: italic;
 font-size: 16px;
 color: var(--ink);
}
.diff-badge-s {
 margin-top: 2px;
 font-family: var(--serif);
 font-size: 10.5px; letter-spacing: 0.22em; text-transform: uppercase;
 color: var(--accent-deep);
 font-weight: 500;
}
.diff-content h2 {
 font-family: var(--serif-display);
 font-style: italic;
 font-size: clamp(36px, 4vw, 56px);
 line-height: 1.05;
 margin: 14px 0 22px;
}
.diff-content h2 em { color: var(--accent-deep); }
.diff-pillars { display: grid; gap: 22px; margin: 24px 0 30px; }
.diff-pillar {
 padding: 16px 0;
 border-top: 1px solid var(--line);
}
.diff-pillar h4 {
 font-family: var(--serif-display);
 font-style: italic; font-weight: 500;
 font-size: 19px;
 color: var(--ink);
 margin: 0 0 8px;
}
.diff-pillar p {
 margin: 0; font-size: 14.5px;
 color: color-mix(in oklab, var(--ink) 70%, transparent);
}
.diff-stats {
 display: grid; grid-template-columns: repeat(3, 1fr);
 border: 1px solid var(--line);
 border-radius: 14px;
 overflow: hidden;
 background: var(--paper-cream);
 margin-top: 32px;
}
.diff-stats > div {
 padding: 24px 16px; text-align: center;
 border-right: 1px solid var(--line);
}
.diff-stats > div:last-child { border-right: 0; }
.diff-stats-big {
 font-family: var(--serif-display);
 font-style: italic; font-weight: 500;
 font-size: 36px;
 color: var(--ink);
 line-height: 1;
}
.diff-stats-lbl {
 margin-top: 8px;
 font-family: var(--serif);
 font-size: 10.5px; letter-spacing: 0.24em; text-transform: uppercase;
 color: var(--accent-deep);
 font-weight: 500;
}

/* ───────── Compare table ───────── */
.compare { background: var(--ink); color: var(--paper); }
.compare-head { text-align: center; margin-bottom: 56px; }
.compare-head .eyebrow { color: var(--accent-soft); }
.compare-head h2 {
 font-family: var(--serif-display);
 font-style: italic;
 font-size: clamp(38px, 4vw, 58px);
 color: var(--paper);
 margin: 16px auto 0;
 max-width: 800px;
}
.compare-head h2 em { color: var(--accent-soft); }
.compare-grid {
 display: grid; grid-template-columns: 1fr 1fr;
 gap: 22px;
}
.compare-card {
 border-radius: 16px;
 padding: 38px 36px;
 background: color-mix(in oklab, var(--paper) 6%, transparent);
 border: 1px solid color-mix(in oklab, var(--paper) 14%, transparent);
}
.compare-card.win {
 background: var(--paper);
 color: var(--ink);
 border-color: var(--accent);
}
.compare-card-eye {
 font-family: var(--serif);
 font-size: 11px; letter-spacing: 0.32em; text-transform: uppercase;
 color: color-mix(in oklab, var(--paper) 64%, transparent);
 margin-bottom: 14px;
}
.compare-card.win .compare-card-eye { color: var(--accent-deep); }
.compare-card h3 {
 font-family: var(--serif-display);
 font-style: italic;
 font-size: 28px;
 margin: 0 0 12px;
 color: var(--paper);
}
.compare-card.win h3 { color: var(--ink); }
.compare-card > p {
 margin: 0 0 22px;
 font-size: 14.5px;
 color: color-mix(in oklab, var(--paper) 70%, transparent);
}
.compare-card.win > p { color: color-mix(in oklab, var(--ink) 70%, transparent); }
.compare-list { padding: 0; margin: 0; list-style: none; }
.compare-list li {
 padding: 10px 0 10px 28px;
 border-top: 1px solid color-mix(in oklab, var(--paper) 12%, transparent);
 position: relative;
 font-size: 14px;
 color: color-mix(in oklab, var(--paper) 78%, transparent);
}
.compare-card.win .compare-list li {
 border-top: 1px solid var(--line);
 color: color-mix(in oklab, var(--ink) 80%, transparent);
}
.compare-list li:first-child { border-top: 0; }
.compare-list li::before {
 position: absolute; left: 0; top: 12px;
 font-family: var(--sans);
 font-size: 11px;
 line-height: 1;
 width: 16px; height: 16px;
 border-radius: 50%;
 display: flex; align-items: center; justify-content: center;
}
.compare-list.bad li::before {
 content: '×';
 background: color-mix(in oklab, var(--paper) 12%, transparent);
 color: color-mix(in oklab, var(--paper) 70%, transparent);
 font-size: 13px;
}
.compare-list.good li::before {
 content: '✓';
 background: var(--accent);
 color: var(--paper);
 font-size: 9px;
}

/* ───────── Service area / map ───────── */
.area { background: var(--paper-warm); }
.area-grid {
 display: grid; grid-template-columns: 1fr 1.05fr;
 gap: 64px; align-items: center;
}
.area-content h2 {
 font-family: var(--serif-display);
 font-style: italic;
 font-size: clamp(38px, 4vw, 56px);
 line-height: 1.05;
 margin: 14px 0 22px;
}
.area-content h2 em { color: var(--accent-deep); }
.area-content > p {
 font-size: 16px; max-width: 540px;
 color: color-mix(in oklab, var(--ink) 72%, transparent);
 margin: 0 0 26px;
}
.area-coasts {
 display: grid; gap: 18px;
 margin-bottom: 22px;
}
.coast h4 {
 font-family: var(--serif);
 font-size: 11px; letter-spacing: 0.3em; text-transform: uppercase;
 color: var(--accent-deep);
 font-weight: 500;
 margin: 0 0 10px;
}
.pills { display: flex; flex-wrap: wrap; gap: 6px; }
.pill {
 padding: 7px 14px;
 border-radius: 999px;
 background: var(--paper);
 border: 1px solid var(--line);
 font-size: 12.5px;
 font-weight: 500;
 color: var(--ink);
 white-space: nowrap;
}
.area-note {
 margin-top: 14px;
 font-size: 13.5px;
 color: color-mix(in oklab, var(--ink) 65%, transparent);
}
.area-note a { color: var(--accent-deep); text-decoration: underline; text-underline-offset: 3px; font-weight: 600; }
.area-map {
 border-radius: 18px; overflow: hidden;
 border: 1px solid var(--line);
 background: var(--paper-cream);
 line-height: 0;
 box-shadow: 0 18px 40px rgba(20, 34, 63, 0.1);
}

/* ───────── Process ───────── */
.process { background: var(--paper); }
.process-head { text-align: center; margin-bottom: 56px; }
.process-head h2 {
 font-family: var(--serif-display);
 font-style: italic;
 font-size: clamp(38px, 4vw, 58px);
 line-height: 1.05;
 margin: 14px auto 0;
 max-width: 720px;
}
.process-head h2 em { color: var(--accent-deep); }
.steps {
 display: grid; grid-template-columns: repeat(3, 1fr);
 gap: 22px;
}
.step {
 padding: 36px 32px;
 background: var(--paper-cream);
 border: 1px solid var(--line);
 border-radius: 14px;
 position: relative;
}
.step-n {
 font-family: var(--serif-display);
 font-style: italic;
 font-size: 64px;
 line-height: 1;
 color: var(--accent);
 margin-bottom: 14px;
}
.step h3 {
 font-family: var(--serif-display);
 font-style: italic;
 font-size: 24px;
 margin: 0 0 10px;
}
.step p {
 margin: 0;
 font-size: 14.5px;
 color: color-mix(in oklab, var(--ink) 70%, transparent);
}

/* ───────── FAQ ───────── */
.faq { background: var(--paper-warm); }
.faq-head { text-align: center; margin-bottom: 48px; }
.faq-head h2 {
 font-family: var(--serif-display);
 font-style: italic;
 font-size: clamp(38px, 4vw, 58px);
 margin: 14px auto 0;
}
.faq-list {
 background: var(--paper);
 border: 1px solid var(--line);
 border-radius: 18px;
 overflow: hidden;
 max-width: 880px; margin: 0 auto;
}
.faq-item { border-top: 1px solid var(--line); }
.faq-item:first-child { border-top: 0; }
.faq-q {
 width: 100%; background: transparent; border: 0; cursor: pointer;
 padding: 22px 28px;
 display: flex; align-items: center; justify-content: space-between;
 gap: 16px; text-align: left;
 font-family: var(--serif-display);
 font-style: italic; font-weight: 500;
 font-size: 21px;
 color: var(--ink);
 list-style: none;
}
.faq-q::-webkit-details-marker { display: none; }
.faq-q .chev {
 color: var(--accent-deep);
 transition: transform 240ms;
 font-size: 14px;
 flex-shrink: 0;
}
.faq-item[open] .faq-q .chev { transform: rotate(90deg); }
.faq-a {
 padding: 0 28px 22px;
 font-size: 15px; line-height: 1.6;
 color: color-mix(in oklab, var(--ink) 72%, transparent);
}

/* ───────── CTA ───────── */
.cta-wrap { padding: 0 32px 96px; background: var(--paper-warm); }
.cta {
 max-width: var(--maxw); margin: 0 auto;
 background: var(--ink);
 color: var(--paper);
 border-radius: 24px;
 padding: 72px 64px;
 position: relative;
 overflow: hidden;
}
.cta::before {
 content: ''; position: absolute; inset: 0;
 background: radial-gradient(circle at 88% 20%, color-mix(in oklab, var(--accent) 50%, transparent) 0%, transparent 60%);
 pointer-events: none;
}
.cta-grid {
 position: relative;
 display: grid; grid-template-columns: 1.1fr 0.9fr;
 gap: 64px; align-items: center;
}
.cta-eye {
 font-family: var(--serif);
 font-size: 11.5px; letter-spacing: 0.34em; text-transform: uppercase;
 color: var(--accent-soft);
 margin-bottom: 14px;
 font-weight: 500;
}
.cta h3 {
 font-family: var(--serif-display);
 font-style: italic;
 font-size: clamp(36px, 3.6vw, 52px);
 line-height: 1.05;
 color: var(--paper);
 margin: 0 0 14px;
}
.cta h3 em { color: var(--accent-soft); }
.cta p {
 font-size: 15.5px;
 color: color-mix(in oklab, var(--paper) 78%, transparent);
 margin: 0 0 24px;
 max-width: 480px;
}
.cta-actions { display: flex; flex-direction: column; gap: 12px; }
.cta-actions .btn { padding: 16px 22px; font-size: 12px; }

/* ───────── Footer ───────── */
footer.foot {
 background: var(--ink);
 color: color-mix(in oklab, var(--paper) 72%, transparent);
 padding: 72px 32px 36px;
 border-top: 1px solid color-mix(in oklab, var(--paper) 10%, transparent);
}
.foot-grid {
 max-width: var(--maxw); margin: 0 auto;
 display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr;
 gap: 48px;
 padding-bottom: 40px;
 border-bottom: 1px solid color-mix(in oklab, var(--paper) 12%, transparent);
}
.foot-brand-img {
 height: 72px; width: auto; max-width: 280px;
 margin-bottom: 16px;
 object-fit: contain;
 /* Invert navy logo + lettering to cream on the dark footer */
 filter: brightness(0) invert(1) opacity(0.92);
}
.foot-tag {
 font-family: var(--serif);
 font-size: 11px; letter-spacing: 0.3em; text-transform: uppercase;
 color: var(--accent-soft);
 margin: 0 0 16px;
}
.foot-desc {
 font-size: 14px; line-height: 1.65;
 max-width: 340px;
}
.foot-col h5 {
 font-family: var(--serif);
 font-size: 11px; letter-spacing: 0.3em; text-transform: uppercase;
 color: var(--paper);
 margin: 0 0 18px;
 font-weight: 500;
}
.foot-col ul { padding: 0; margin: 0; list-style: none; display: grid; gap: 10px; }
.foot-col a {
 color: color-mix(in oklab, var(--paper) 70%, transparent);
 font-size: 14px;
 transition: color 180ms;
}
.foot-col a:hover { color: var(--accent-soft); }
.foot-bottom {
 max-width: var(--maxw); margin: 0 auto;
 padding-top: 32px;
 font-size: 12px; line-height: 1.7;
 color: color-mix(in oklab, var(--paper) 50%, transparent);
 display: grid; gap: 14px;
}
.foot-bottom strong {
 color: color-mix(in oklab, var(--paper) 75%, transparent);
 font-weight: 500;
}
.foot-bottom-row {
 display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap;
 font-family: var(--serif);
 font-size: 11px; letter-spacing: 0.24em; text-transform: uppercase;
}

/* ───────── Contact form (with ID-scan auto-fill) ───────── */
.contact-grid {
 max-width: var(--maxw); margin: 0 auto;
 display: grid;
 grid-template-columns: 1.05fr 0.95fr;
 gap: 56px;
 align-items: start;
}
@media (max-width: 980px) {
 .contact-grid { grid-template-columns: 1fr; gap: 36px; }
}

.contact-form-card {
 background: var(--paper-bright);
 border: 1px solid var(--line);
 border-radius: 18px;
 padding: 40px;
 box-shadow: 0 18px 50px rgba(20, 34, 63, 0.08);
}
@media (max-width: 560px) { .contact-form-card { padding: 28px 22px; } }

.contact-form-card h2 {
 font-family: var(--serif-display);
 font-style: italic;
 font-size: clamp(28px, 2.8vw, 36px);
 margin: 0 0 8px;
}
.contact-form-card h2 em { color: var(--accent-deep); }
.contact-form-card > .sub {
 font-size: 14.5px;
 color: color-mix(in oklab, var(--ink) 70%, transparent);
 margin: 0 0 22px;
}

/* ID scan zone */
.id-scan {
 display: flex; flex-direction: column; gap: 12px;
 background: var(--paper-warm);
 border: 1px dashed var(--accent);
 border-radius: 14px;
 padding: 20px;
 margin-bottom: 28px;
}
.id-scan-head {
 display: flex; align-items: center; gap: 12px;
}
.id-scan-icon {
 width: 38px; height: 38px;
 border-radius: 999px;
 background: var(--ink);
 color: var(--paper);
 display: flex; align-items: center; justify-content: center;
 flex-shrink: 0;
}
.id-scan-icon svg { width: 18px; height: 18px; }
.id-scan-title {
 font-family: var(--serif-display);
 font-style: italic;
 font-size: 18px;
 color: var(--ink);
 margin: 0;
}
.id-scan-sub {
 font-size: 12.5px;
 color: color-mix(in oklab, var(--ink) 65%, transparent);
 margin: 2px 0 0;
}
.id-scan-actions {
 display: flex; gap: 10px; flex-wrap: wrap;
}
.id-scan-actions .btn { padding: 11px 18px; font-size: 11px; }
.id-scan-status {
 font-size: 12.5px;
 color: var(--accent-deep);
 font-style: italic;
 font-family: var(--serif-display);
 min-height: 18px;
}
.id-scan-status.busy { color: var(--accent-deep); }
.id-scan-status.err { color: #a8324a; }
.id-scan-status.ok { color: #2e7a4f; }
.id-scan-preview {
 display: none;
 width: 100%; max-width: 240px;
 border-radius: 8px;
 border: 1px solid var(--line);
 margin-top: 6px;
}
.id-scan-preview.show { display: block; }
.id-scan-progress {
 height: 4px; border-radius: 2px;
 background: color-mix(in oklab, var(--accent) 18%, transparent);
 overflow: hidden;
 display: none;
}
.id-scan-progress.show { display: block; }
.id-scan-progress-bar {
 height: 100%; width: 0%;
 background: var(--accent);
 transition: width 220ms ease;
}
.id-scan-privacy {
 font-size: 11.5px;
 color: color-mix(in oklab, var(--ink) 55%, transparent);
 display: flex; align-items: center; gap: 6px;
}
.id-scan-privacy::before {
 content: '🔒';
 font-size: 11px;
}

/* Form fields */
.form-grid {
 display: grid;
 grid-template-columns: 1fr 1fr;
 gap: 16px;
}
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 560px) { .form-grid { grid-template-columns: 1fr; } }

.field {
 display: flex; flex-direction: column; gap: 6px;
}
.field label {
 font-family: var(--serif);
 font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase;
 color: var(--accent-deep);
 font-weight: 500;
}
.field input,
.field select,
.field textarea {
 font-family: var(--sans);
 font-size: 15px;
 padding: 12px 14px;
 background: var(--paper-cream);
 border: 1px solid var(--line);
 border-radius: 10px;
 color: var(--ink);
 width: 100%;
 transition: border-color 180ms, background 180ms, box-shadow 180ms;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
 outline: none;
 border-color: var(--accent);
 background: var(--paper-bright);
 box-shadow: 0 0 0 3px color-mix(in oklab, var(--accent) 22%, transparent);
}
.field textarea { min-height: 130px; resize: vertical; }
.field input.flash {
 animation: flash 700ms ease;
}
@keyframes flash {
 0% { background: color-mix(in oklab, var(--accent) 22%, var(--paper-bright)); }
 100% { background: var(--paper-cream); }
}

.form-submit-row {
 display: flex; gap: 12px; align-items: center; flex-wrap: wrap;
 margin-top: 18px;
}
.form-submit-row .btn { padding: 15px 28px; }
.form-note {
 font-size: 12px;
 color: color-mix(in oklab, var(--ink) 60%, transparent);
}

/* ───────── Hero interactive service summary (mobile quick-understand) ───────── */
.hero-bars { display: none; }
.hero-bars-lbl {
 font-family: var(--serif);
 font-size: 12px; letter-spacing: 0.28em; text-transform: uppercase;
 color: var(--accent-deep); font-weight: 500;
 margin: 4px 0 14px;
}
/* Always-visible summary rows — each links straight to its service page */
.hero-svc {
 display: flex; align-items: center; gap: 14px;
 padding: 14px 16px;
 border: 1px solid var(--line);
 border-radius: 14px;
 background: var(--paper-bright);
 margin-bottom: 9px;
 text-decoration: none;
 color: var(--ink);
 transition: transform 120ms ease, border-color 180ms, background 180ms;
}
.hero-svc:active { transform: scale(0.985); background: var(--paper-warm); }
.hero-svc-ico {
 width: 42px; height: 42px; flex-shrink: 0;
 border-radius: 999px;
 background: color-mix(in oklab, var(--accent) 18%, var(--paper));
 color: var(--accent-deep);
 display: flex; align-items: center; justify-content: center;
}
.hero-svc-ico svg { width: 20px; height: 20px; }
.hero-svc-text { flex: 1; min-width: 0; }
.hero-svc-name {
 font-family: var(--serif-display);
 font-style: italic; font-weight: 600;
 font-size: 19px; line-height: 1.1;
 color: var(--ink);
}
.hero-svc-desc {
 font-size: 13.5px; line-height: 1.4;
 color: color-mix(in oklab, var(--ink) 66%, transparent);
 margin-top: 2px;
}
.hero-svc-arrow {
 flex-shrink: 0; color: var(--accent-deep);
 font-size: 18px; line-height: 1;
}
.hero-svc-all {
 display: flex; align-items: center; justify-content: center; gap: 8px;
 margin-top: 4px; padding: 13px;
 border-radius: 999px;
 background: var(--ink); color: var(--paper);
 font-family: var(--serif); font-weight: 500;
 font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase;
 text-decoration: none;
}

/* ───────── AI service finder (type your issue → routed to a service) ───────── */
.svc-finder {
 margin: 22px 0 4px;
 background: linear-gradient(135deg, var(--ink) 0%, var(--ink-soft) 100%);
 border-radius: 16px;
 padding: 18px 18px 16px;
 position: relative;
 overflow: hidden;
}
.svc-finder::before {
 content: ''; position: absolute; inset: 0;
 background: radial-gradient(circle at 90% 0%, color-mix(in oklab, var(--accent) 45%, transparent) 0%, transparent 55%);
 pointer-events: none;
}
.svc-finder > * { position: relative; }
.svc-finder-lbl {
 display: flex; align-items: center; gap: 8px;
 font-family: var(--serif);
 font-size: 11px; letter-spacing: 0.24em; text-transform: uppercase;
 color: var(--accent-soft); font-weight: 500;
 margin-bottom: 10px;
}
.svc-finder-lbl svg { width: 15px; height: 15px; }
.svc-finder-row {
 display: flex; gap: 8px; align-items: stretch;
}
.svc-finder-input {
 flex: 1; min-width: 0;
 font-family: var(--sans); font-size: 15px;
 padding: 13px 16px;
 border: 1px solid color-mix(in oklab, var(--paper) 26%, transparent);
 border-radius: 999px;
 background: color-mix(in oklab, var(--paper) 96%, transparent);
 color: var(--ink);
}
.svc-finder-input::placeholder { color: color-mix(in oklab, var(--ink) 48%, transparent); }
.svc-finder-input:focus {
 outline: none;
 border-color: var(--accent-soft);
 box-shadow: 0 0 0 3px color-mix(in oklab, var(--accent) 30%, transparent);
}
.svc-finder-btn {
 flex-shrink: 0;
 border: 0; cursor: pointer;
 border-radius: 999px;
 background: var(--accent);
 color: var(--paper);
 font-family: var(--serif); font-weight: 500;
 font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase;
 padding: 0 20px;
 display: inline-flex; align-items: center; gap: 7px;
 transition: background 200ms, transform 120ms;
}
.svc-finder-btn:hover { background: var(--accent-soft); }
.svc-finder-btn:active { transform: scale(0.96); }
.svc-finder-btn svg { width: 15px; height: 15px; }
.svc-finder-result {
 margin-top: 12px;
 display: none;
}
.svc-finder-result.show { display: block; animation: finderIn 320ms ease; }
@keyframes finderIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.svc-finder-result-intro {
 font-size: 12.5px;
 color: color-mix(in oklab, var(--paper) 72%, transparent);
 margin-bottom: 8px;
}
.svc-finder-match {
 display: flex; align-items: center; gap: 12px;
 padding: 13px 14px;
 border-radius: 12px;
 background: color-mix(in oklab, var(--paper) 96%, transparent);
 color: var(--ink);
 text-decoration: none;
 margin-bottom: 7px;
 transition: transform 120ms;
}
.svc-finder-match:active { transform: scale(0.985); }
.svc-finder-match-ico {
 width: 36px; height: 36px; flex-shrink: 0;
 border-radius: 999px;
 background: color-mix(in oklab, var(--accent) 18%, var(--paper));
 color: var(--accent-deep);
 display: flex; align-items: center; justify-content: center;
}
.svc-finder-match-ico svg { width: 18px; height: 18px; }
.svc-finder-match-text { flex: 1; min-width: 0; }
.svc-finder-match-name {
 font-family: var(--serif-display); font-style: italic; font-weight: 600;
 font-size: 17px; color: var(--ink);
 display: block;
}
.svc-finder-match-why {
 font-size: 12.5px; line-height: 1.35;
 color: color-mix(in oklab, var(--ink) 64%, transparent);
 margin-top: 3px;
 display: block;
}
.svc-finder-match-go { flex-shrink: 0; color: var(--accent-deep); font-size: 18px; }
.svc-finder-alt {
 font-size: 12px;
 color: color-mix(in oklab, var(--paper) 64%, transparent);
}
.svc-finder-alt a { color: var(--accent-soft); text-decoration: underline; text-underline-offset: 2px; }
@media (max-width: 980px) { .svc-finder { display: block; } }

.svc-hero {
 padding: 48px 32px 64px;
 background: linear-gradient(180deg, var(--paper-warm) 0%, var(--paper) 100%);
}
.svc-hero-grid {
 max-width: var(--maxw); margin: 0 auto;
 display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center;
}
.svc-hero-tier {
 font-family: var(--serif);
 font-size: 11.5px; letter-spacing: 0.38em; text-transform: uppercase;
 color: var(--accent-deep);
 margin-bottom: 18px;
 font-weight: 500;
}
.svc-hero h1 {
 font-family: var(--serif-display);
 font-style: italic;
 font-size: clamp(44px, 5vw, 72px);
 line-height: 1.02;
 letter-spacing: -0.012em;
 color: var(--ink);
 margin: 0 0 22px;
}
.svc-hero h1 em { color: var(--accent-deep); font-style: italic; }
.svc-hero-lede {
 font-size: 17px; line-height: 1.65; max-width: 540px;
 color: color-mix(in oklab, var(--ink) 78%, transparent);
}
.svc-hero-img {
 aspect-ratio: 4 / 5;
 border-radius: 6px;
 overflow: hidden;
 background: var(--ink);
 box-shadow: 0 30px 60px rgba(20, 34, 63, 0.22);
}
.svc-hero-img img { width: 100%; height: 100%; object-fit: cover; }

/* Team section photo: use the supplied office hands image instead of the old insignia/team artwork */
.team-hands-frame {
 aspect-ratio: 16 / 10;
 background: var(--paper-warm);
}
.team-hands-frame img {
 width: 100%;
 height: 100%;
 object-fit: cover;
 object-position: center;
}

.breadcrumbs {
 max-width: var(--maxw); margin: 0 auto;
 padding: 18px 32px 0;
 font-family: var(--serif);
 font-size: 11px; letter-spacing: 0.24em; text-transform: uppercase;
 color: color-mix(in oklab, var(--ink) 60%, transparent);
}
.breadcrumbs a { color: var(--ink); opacity: 0.7; }
.breadcrumbs a:hover { opacity: 1; color: var(--accent-deep); }
.breadcrumbs .sep { margin: 0 10px; color: var(--accent); }

.svc-body {
 padding: 80px 32px;
 background: var(--paper);
}
.svc-body-grid {
 max-width: var(--maxw); margin: 0 auto;
 display: grid; grid-template-columns: 0.95fr 1.05fr; gap: 64px;
 align-items: start;
}
.svc-body h2 {
 font-family: var(--serif-display);
 font-style: italic;
 font-size: clamp(28px, 2.8vw, 38px);
 line-height: 1.1;
 margin: 0 0 18px;
}
.svc-body h2 em { color: var(--accent-deep); }
.svc-body h3 {
 font-family: var(--serif-display);
 font-style: italic; font-weight: 500;
 font-size: 22px; line-height: 1.15;
 margin: 26px 0 10px;
}
.svc-body p {
 font-size: 16px; line-height: 1.65;
 color: color-mix(in oklab, var(--ink) 78%, transparent);
 margin: 0 0 18px;
}
.svc-body-aside {
 position: sticky; top: 110px;
 background: var(--paper-cream);
 border: 1px solid var(--line);
 border-radius: 14px;
 padding: 28px;
}
.svc-body-aside h4 {
 font-family: var(--serif); font-size: 11px; letter-spacing: 0.3em;
 text-transform: uppercase; color: var(--accent-deep);
 font-weight: 500; margin: 0 0 12px;
}
.svc-body-aside .ask {
 font-family: var(--serif-display);
 font-style: italic;
 font-size: 24px; line-height: 1.15;
 color: var(--ink);
 margin: 0 0 18px;
}
.svc-body-aside ul {
 padding: 0; margin: 0 0 22px; list-style: none;
}
.svc-body-aside li {
 font-size: 13.5px; line-height: 1.5;
 padding: 8px 0 8px 20px;
 position: relative;
 border-top: 1px solid var(--line-soft);
 color: color-mix(in oklab, var(--ink) 80%, transparent);
}
.svc-body-aside li:first-child { border-top: 0; }
.svc-body-aside li::before {
 content: ''; position: absolute; left: 0; top: 14px;
 width: 10px; height: 1px; background: var(--accent);
}
.svc-body-aside .btn { width: 100%; margin-top: 8px; }

.svc-scope-section {
 background: var(--paper-warm);
 padding: 80px 32px;
}
.svc-scope-section .wrap > h2 {
 font-family: var(--serif-display);
 font-style: italic;
 font-size: clamp(32px, 3.4vw, 48px);
 line-height: 1.05;
 margin: 14px 0 36px;
}
.svc-scope-section .wrap > h2 em { color: var(--accent-deep); }
.svc-scope-cards {
 display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px;
}
.svc-scope-cards .scope-card { background: var(--paper); }

/* Related services strip */
.related {
 background: var(--paper);
 padding: 80px 32px;
}
.related-head { margin-bottom: 36px; }
.related-head h2 {
 font-family: var(--serif-display); font-style: italic;
 font-size: clamp(28px, 2.8vw, 38px); margin: 12px 0 0;
}
.related-grid {
 display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px;
}
.related-card {
 display: flex; gap: 16px;
 padding: 18px;
 border: 1px solid var(--line);
 border-radius: 12px;
 background: var(--paper-cream);
 transition: border-color 200ms, transform 200ms;
}
.related-card:hover { border-color: var(--accent-soft); transform: translateY(-2px); }
.related-card-img {
 width: 80px; height: 80px;
 border-radius: 8px; overflow: hidden;
 background: var(--ink); flex-shrink: 0;
}
.related-card-img img { width: 100%; height: 100%; object-fit: cover; }
.related-card h4 {
 font-family: var(--serif-display);
 font-style: italic; font-weight: 500;
 font-size: 19px; margin: 0 0 6px;
}
.related-card span {
 font-family: var(--serif);
 font-size: 10.5px; letter-spacing: 0.22em;
 text-transform: uppercase; color: var(--accent-deep);
}

/* ───────── Services Strip (compact list right after hero) ───────── */
.svc-strip {
 background: var(--paper-cream);
 padding: 26px 32px;
 border-bottom: 1px solid var(--line);
}
.svc-strip-inner {
 max-width: var(--maxw); margin: 0 auto;
 display: flex; flex-wrap: wrap;
 align-items: center; gap: 12px;
}
.svc-strip-lbl {
 font-family: var(--serif);
 font-size: 11px; letter-spacing: 0.3em; text-transform: uppercase;
 color: var(--accent-deep);
 font-weight: 500;
 white-space: nowrap;
 margin-right: 8px;
}
.svc-strip-list {
 display: flex; flex-wrap: wrap; gap: 6px;
}
.svc-strip-chip {
 display: inline-flex; align-items: center;
 padding: 8px 16px;
 border-radius: 999px;
 background: var(--paper);
 border: 1px solid var(--line);
 color: var(--ink);
 font-size: 13px; font-weight: 500;
 white-space: nowrap;
 transition: background 180ms, border-color 180ms, color 180ms, transform 120ms;
 text-decoration: none;
}
.svc-strip-chip:hover {
 background: var(--ink);
 border-color: var(--ink);
 color: var(--paper);
 transform: translateY(-1px);
}
@media (max-width: 720px) {
 .svc-strip { padding: 20px 18px; }
 .svc-strip-inner { gap: 8px; }
 .svc-strip-chip { padding: 7px 13px; font-size: 12px; }
}

/* Service grid image alignment fix — every tile reserves the same image height so cards line up */
.svc-card { min-height: 540px; }
@media (max-width: 980px) { .svc-card { min-height: 0; } }

/* ───────── Mobile ───────── */
@media (max-width: 980px) {
 section { padding: 64px 22px; }
 .top-row { padding: 10px 14px; gap: 10px; }
 .top-logo img { height: 40px; max-width: 240px; }
 .icon-btn { width: 40px; height: 40px; }
 .icon-btn.menu-btn { padding: 0 14px; }
 .hero { padding: 48px 22px 56px; }
 .hero-grid { grid-template-columns: 1fr; gap: 28px; }
 /* Make the hero text column a flex column so we can reorder on mobile:
 headline → interactive service bars → descriptive text → CTAs → meta */
 .hero-grid > div:first-child { display: flex; flex-direction: column; }
 .hero-grid .eyebrow { order: 0; }
 .hero-grid #hero-title { order: 1; }
 .svc-finder { order: 2; margin: 22px 0 6px; }
 .hero-grid .hero-lede { order: 3; }
 .hero-bars { display: block; order: 4; margin: 22px 0 6px; }
 .hero-grid .hero-cta { order: 5; }
 .hero-grid .hero-meta { order: 6; }
 .hero-img { order: 1; max-width: 460px; margin: 0 auto; }
 .svcs-grid, .scope-grid, .steps, .related-grid { grid-template-columns: 1fr; }
 .scope-head { grid-template-columns: 1fr; gap: 16px; }
 .diff-grid { grid-template-columns: 1fr; gap: 40px; }
 .diff-portrait { max-width: 460px; margin: 0 auto; }
 .compare-grid { grid-template-columns: 1fr; }
 .area-grid { grid-template-columns: 1fr; gap: 36px; }
 .cta { padding: 48px 28px; }
 .cta-grid { grid-template-columns: 1fr; gap: 28px; }
 .cta-wrap { padding: 0 18px 64px; }
 .foot-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
 .svc-hero-grid { grid-template-columns: 1fr; gap: 32px; }
 .svc-hero-img { max-width: 480px; margin: 0 auto; }
 .svc-body-grid { grid-template-columns: 1fr; gap: 32px; }
 .svc-body-aside { position: relative; top: 0; }
 .svc-scope-cards { grid-template-columns: 1fr; }
 .breadcrumbs { padding: 14px 18px 0; }
 .svc-body, .svc-scope-section, .related { padding: 56px 22px; }

 /* Mobile readability — bump body text up ~1pt everywhere */
 body { font-size: 17px; }
 .hero-lede { font-size: 18px; }
 .svcs-head p { font-size: 17.5px; }
 .svc-card p { font-size: 15.5px; }
 .svc-card-s, .svc-scope li { font-size: 15px; }
 .scope-card p { font-size: 15.5px; }
 .scope-bullets li { font-size: 14.5px; }
 .diff-pillar p { font-size: 15.5px; }
 .compare-card > p, .compare-list li { font-size: 15px; }
 .area-content > p { font-size: 17px; }
 .pill { font-size: 13.5px; }
 .step p { font-size: 15.5px; }
 .faq-q { font-size: 20px; }
 .faq-a { font-size: 16px; }
 .svc-body p { font-size: 17px; }
 .svc-hero-lede { font-size: 18px; }
 .svc-body-aside li { font-size: 14.5px; }
 .field input, .field select, .field textarea { font-size: 16px; }
 .foot-col a, .foot-desc { font-size: 15px; }
}
@media (max-width: 560px) {
 .foot-grid { grid-template-columns: 1fr; }
 .diff-stats { grid-template-columns: 1fr; }
 .diff-stats > div { border-right: 0; border-bottom: 1px solid var(--line); }
 .diff-stats > div:last-child { border-bottom: 0; }
 .hero-meta { gap: 12px; font-size: 10px; }
 .hero h1 { font-size: 34px; }
}


/* Mobile overflow protection: prevent text from being cut off on narrower phones */
html, body {
 width: 100%;
 max-width: 100%;
 overflow-x: hidden;
}
main, section, .wrap, .wrap-narrow, .hero-grid, .svc-hero-grid, .svc-body-grid,
.svc-body-grid > *, .svc-body-aside, .svc-scope-cards, .scope-card, .svc-card,
.diff-grid, .compare-grid, .area-grid, .contact-grid, .cta-grid {
 min-width: 0;
 max-width: 100%;
}
p, li, h1, h2, h3, h4, .display, .svc-hero-lede, .hero-lede, .faq-q span,
.scope-card p, .svc-card p, .svc-body p, .svc-body h2, .svc-body h3 {
 overflow-wrap: anywhere;
 word-break: normal;
}


@media (max-width: 560px) {
 .top-row { padding: 9px 10px; gap: 6px; }
 .top-logo img { height: 34px; max-width: 145px; }
 .top-cta { gap: 5px; min-width: 0; }
 .icon-btn { width: 35px; height: 35px; min-width: 35px; }
 .icon-btn svg { width: 16px; height: 16px; }
 .icon-btn.menu-btn { width: 35px; padding: 0; }
 .hero, .svc-hero, .svc-body, .svc-scope-section, .related, section { padding-left: 18px; padding-right: 18px; }
 .svc-hero h1 { font-size: clamp(32px, 12vw, 44px); }
 .svc-body h2 { font-size: clamp(26px, 9vw, 34px); line-height: 1.12; }
 .svc-body h3 { font-size: clamp(21px, 7vw, 26px); line-height: 1.18; }
 .svc-body p { font-size: 16px; line-height: 1.62; }
 .btn { white-space: normal; text-align: center; max-width: 100%; }
 .hero-cta .btn, .svc-body-aside .btn { width: 100%; }
 .svc-finder-row { flex-wrap: wrap; }
 .svc-finder-btn { min-height: 44px; width: 100%; justify-content: center; }
}
@media (max-width: 380px) {
 .top-logo img { max-width: 132px; height: 32px; }
 .icon-btn { width: 34px; height: 34px; min-width: 34px; }
 .top-cta { gap: 4px; }
 .top-row { padding-left: 8px; padding-right: 8px; }
}

/* ───────── Mobile text-fit hardening for in-app browsers and smaller iPhones ───────── */
html {
 -webkit-text-size-adjust: 100%;
 text-size-adjust: 100%;
}
@media (max-width: 700px) {
 body, main {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
 }
 .svc-hero, .svc-body, .svc-scope-section, .related, .hero, section {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
 }
 .svc-hero-grid, .svc-body-grid, .svc-scope-cards,
 .wrap, .wrap-narrow, .scope-grid, .svcs-grid,
 .related-grid, .compare-grid, .area-grid, .contact-grid,
 .cta-grid, .diff-grid {
  width: 100%;
  max-width: 100%;
  min-width: 0;
 }
 .svc-body-grid > div,
 .svc-body-grid > aside,
 .svc-hero-grid > div,
 .svc-hero-grid > figure,
 .scope-card,
 .svc-card,
 .related-card,
 .compare-card,
 .cta,
 .contact-form-card {
  width: 100%;
  max-width: 100%;
  min-width: 0;
 }
 .svc-body p,
 .svc-body li,
 .svc-hero-lede,
 .scope-card p,
 .scope-bullets li,
 .svc-card p,
 .svc-scope li,
 .related-card h4,
 .cta p,
 .faq-a,
 .foot-desc {
  max-width: 100%;
  white-space: normal;
  overflow-wrap: break-word;
  word-break: normal;
  hyphens: auto;
 }
 .svc-body p,
 .svc-hero-lede {
  font-size: 16px;
  line-height: 1.58;
 }
 .svc-body h2 {
  font-size: clamp(27px, 8.2vw, 34px);
  line-height: 1.12;
  max-width: 100%;
  overflow-wrap: break-word;
 }
 .svc-body h3 {
  font-size: clamp(20px, 6.3vw, 25px);
  line-height: 1.18;
  max-width: 100%;
  overflow-wrap: break-word;
 }
 .svc-hero h1 {
  font-size: clamp(32px, 10.5vw, 43px);
  max-width: 100%;
 }
}
@media (max-width: 430px) {
 .svc-hero, .svc-body, .svc-scope-section, .related, .hero, section {
  padding-left: 16px;
  padding-right: 16px;
 }
 .svc-body p,
 .svc-hero-lede {
  font-size: 15.5px;
  line-height: 1.56;
 }
 .svc-body h2 { font-size: clamp(25px, 7.8vw, 32px); }
 .svc-body h3 { font-size: clamp(19px, 6vw, 24px); }
}

/* ───────── Universal mobile/tablet fit guard ─────────
   Prevents sideways layout/cropping in Safari, Messages browser, Android Chrome,
   small iPhones, Display Zoom, and iPad split-view. */
@media (max-width: 900px) {
 html,
 body {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden !important;
 }
 body {
  min-width: 0 !important;
 }
 body * {
  min-width: 0;
 }
 .top,
 main,
 footer.foot,
 section,
 .hero,
 .svc-strip,
 .svc-hero,
 .svc-body,
 .svc-scope-section,
 .related,
 .cta-wrap {
  width: 100%;
  max-width: 100%;
  overflow-x: clip;
 }
 .wrap,
 .wrap-narrow,
 .top-row,
 .hero-grid,
 .svcs-grid,
 .scope-grid,
 .steps,
 .diff-grid,
 .compare-grid,
 .area-grid,
 .process-head,
 .faq-list,
 .contact-grid,
 .svc-hero-grid,
 .svc-body-grid,
 .svc-scope-cards,
 .related-grid,
 .cta-grid,
 .foot-grid,
 .foot-bottom {
  width: 100%;
  max-width: 100%;
  min-width: 0;
 }
 .svc-hero-grid,
 .svc-body-grid,
 .cta-grid,
 .contact-grid,
 .diff-grid,
 .compare-grid,
 .area-grid {
  grid-template-columns: minmax(0, 1fr) !important;
 }
 .svc-hero-grid > *,
 .svc-body-grid > *,
 .cta-grid > *,
 .contact-grid > *,
 .diff-grid > *,
 .compare-grid > *,
 .area-grid > * {
  width: 100%;
  max-width: 100%;
  min-width: 0;
 }
 p,
 li,
 h1,
 h2,
 h3,
 h4,
 .display,
 .svc-hero-lede,
 .hero-lede,
 .svc-body p,
 .svc-body h2,
 .svc-body h3,
 .scope-card p,
 .svc-card p,
 .cta p,
 .cta h3,
 .faq-q span,
 .related-card h4,
 .foot-desc {
  max-width: 100%;
  white-space: normal;
  overflow-wrap: anywhere;
  word-break: normal;
  hyphens: auto;
 }
 .btn,
 .cta-actions .btn,
 .hero-cta .btn,
 .svc-body-aside .btn,
 .form-submit-row .btn {
  max-width: 100%;
  min-width: 0;
  white-space: normal;
  text-align: center;
  line-height: 1.25;
  overflow-wrap: anywhere;
 }
 .cta {
  width: 100%;
  max-width: 100%;
  padding-left: clamp(22px, 7vw, 40px);
  padding-right: clamp(22px, 7vw, 40px);
 }
 .cta-actions {
  width: 100%;
  max-width: 100%;
  min-width: 0;
 }
 .cta-actions .btn {
  width: 100%;
  padding-left: 14px;
  padding-right: 14px;
  letter-spacing: clamp(0.12em, 0.9vw, 0.2em);
  font-size: clamp(10.5px, 3.2vw, 12px);
 }
 .cta h3 {
  font-size: clamp(30px, 8.5vw, 44px);
  line-height: 1.08;
 }
 .svc-body p,
 .svc-hero-lede {
  font-size: clamp(15px, 4.15vw, 16.5px);
  line-height: 1.58;
 }
 .svc-body h2 {
  font-size: clamp(27px, 7.4vw, 36px);
  line-height: 1.12;
 }
 .svc-body h3 {
  font-size: clamp(20px, 5.7vw, 25px);
  line-height: 1.18;
 }
}
@media (max-width: 430px) {
 .svc-hero,
 .svc-body,
 .svc-scope-section,
 .related,
 .hero,
 section {
  padding-left: 18px;
  padding-right: 18px;
 }
 .cta-wrap { padding-left: 18px; padding-right: 18px; }
 .cta { padding-left: 22px; padding-right: 22px; }
 .svc-body p,
 .svc-hero-lede {
  font-size: 15.5px;
  line-height: 1.55;
 }
 .svc-body h2 { font-size: clamp(25px, 7.2vw, 32px); }
 .svc-body h3 { font-size: clamp(19px, 5.5vw, 24px); }
}
@media (max-width: 370px) {
 .top-logo img { max-width: 122px; height: 30px; }
 .top-cta { gap: 3px; }
 .icon-btn { width: 32px; height: 32px; min-width: 32px; }
 .icon-btn svg { width: 15px; height: 15px; }
 .svc-body p,
 .svc-hero-lede { font-size: 15px; }
 .cta-actions .btn { font-size: 10px; letter-spacing: 0.11em; }
}


/* v7: Team image restoration + remove empty second-image slot on Team page */
.svc-hero-grid-single {
  grid-template-columns: minmax(0, 920px) !important;
  justify-content: center;
}
.svc-hero-grid-single > div {
  max-width: 920px;
}
.diff-portrait.team-hands-frame {
  aspect-ratio: 16 / 10;
  background: var(--paper-warm);
}
.diff-portrait.team-hands-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}
@media (max-width: 820px) {
  .svc-hero-grid-single {
    grid-template-columns: minmax(0, 1fr) !important;
  }
}

/* v8: final copy/layout polish + universal responsive safeguards */
.quote-band-inner {
  max-width: 1240px;
}
.quote-band p span {
  display: block;
}
.quote-band p span + span {
  margin-top: 6px;
}
@media (min-width: 980px) {
  .quote-band p {
    font-size: clamp(26px, 2.35vw, 36px);
    line-height: 1.28;
  }
}
@media (max-width: 760px) {
  .quote-band {
    padding: 48px 20px;
  }
  .quote-band p {
    font-size: clamp(23px, 7vw, 31px);
    line-height: 1.18;
  }
  .quote-band-cap {
    letter-spacing: 0.26em;
    line-height: 1.45;
  }
}
.about-team-hero-img {
  aspect-ratio: 16 / 10;
}
.diff-grid.diff-grid-textonly {
  grid-template-columns: minmax(0, 960px) !important;
  justify-content: center;
  text-align: left;
}
.diff-grid.diff-grid-textonly .diff-content {
  max-width: 960px;
  margin-inline: auto;
}
@media (min-width: 981px) {
  .diff-grid.diff-grid-textonly .diff-pillars {
    grid-template-columns: 1fr 1fr;
    display: grid;
    gap: 20px 32px;
  }
  .diff-grid.diff-grid-textonly .diff-pillar {
    padding-top: 18px;
  }
}

/* Keep service text inside the visible viewport on phones, iPads, in-app browsers, and display-zoom modes. */
@media (max-width: 1100px) {
  .svc-hero-grid,
  .svc-body-grid,
  .svc-scope-cards,
  .related-grid,
  .diff-grid,
  .cta-grid,
  .compare-grid,
  .area-grid,
  .contact-grid {
    grid-template-columns: minmax(0, 1fr) !important;
  }
  .svc-body,
  .svc-hero,
  .svc-scope-section,
  .related,
  .hero,
  section {
    padding-left: clamp(16px, 4.5vw, 28px);
    padding-right: clamp(16px, 4.5vw, 28px);
  }
  .svc-body-grid,
  .svc-hero-grid,
  .wrap,
  .wrap-narrow {
    width: 100% !important;
    max-width: 100% !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }
  .svc-body-grid > *,
  .svc-hero-grid > *,
  .wrap > *,
  .wrap-narrow > * {
    max-width: 100% !important;
    min-width: 0 !important;
  }
  .svc-body p,
  .svc-body li,
  .svc-body h2,
  .svc-body h3,
  .svc-hero-lede,
  .hero-lede,
  .scope-card p,
  .svc-card p,
  .diff-pillar p,
  .cta p,
  .cta h3 {
    inline-size: 100%;
    max-inline-size: 100%;
    white-space: normal !important;
    overflow-wrap: break-word;
    word-break: normal;
    hyphens: auto;
  }
  .svc-hero-img,
  .diff-portrait {
    width: 100%;
    max-width: min(520px, 100%);
    margin-inline: auto;
  }
}
@media (max-width: 520px) {
  .svc-body p,
  .svc-body li,
  .svc-hero-lede {
    font-size: 15.25px !important;
    line-height: 1.56 !important;
  }
  .svc-body h2 {
    font-size: clamp(25px, 7.5vw, 32px) !important;
    line-height: 1.12 !important;
  }
  .svc-body h3 {
    font-size: clamp(19px, 5.8vw, 24px) !important;
    line-height: 1.17 !important;
  }
  .cta h3 {
    font-size: clamp(28px, 8.4vw, 38px) !important;
    line-height: 1.08 !important;
  }
  .cta-actions .btn {
    white-space: normal !important;
    overflow-wrap: break-word;
    letter-spacing: 0.12em;
  }
}


/* v9: final responsive polish, team layout, SEO-safe image fit */
.hero h1 {
  max-width: min(100%, 760px);
  text-wrap: balance;
  overflow-wrap: normal;
}
.hero-title-line { display: block; }
@media (max-width: 760px) {
  .hero h1 {
    font-size: clamp(30px, 8.7vw, 40px) !important;
    line-height: 1.05 !important;
  }
}
@media (max-width: 390px) {
  .hero h1 {
    font-size: clamp(28px, 8.2vw, 36px) !important;
  }
}

.quote-band-inner { max-width: min(1260px, calc(100vw - 44px)); }
.quote-band p { text-wrap: balance; }
.quote-band p span { display: block; }
.quote-band p span + span { margin-top: 6px; }
@media (min-width: 980px) {
  .quote-band p { font-size: clamp(26px, 2.1vw, 34px) !important; line-height: 1.25 !important; }
}
@media (max-width: 760px) {
  .quote-band { padding: 46px 20px; }
  .quote-band p { font-size: clamp(22px, 6.4vw, 29px) !important; line-height: 1.18 !important; }
}

.team-intro-grid {
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  align-items: center;
  margin-bottom: 64px;
}
.team-intro-copy p {
  font-size: 16.5px;
  line-height: 1.65;
  color: color-mix(in oklab, var(--ink) 74%, transparent);
  margin: 18px 0 26px;
  max-width: 660px;
}
.diff-bottom {
  padding-top: 18px;
  border-top: 1px solid var(--line-soft);
}
.diff-grid.diff-grid-textonly {
  grid-template-columns: minmax(0, 1040px) !important;
  justify-content: center;
  text-align: center;
}
.diff-grid.diff-grid-textonly .diff-content {
  max-width: 1040px;
  margin-inline: auto;
}
.diff-grid.diff-grid-textonly .diff-pillars { text-align: left; }
.diff-grid.diff-grid-textonly .diff-stats { margin-top: 34px; }
@media (min-width: 981px) {
  .diff-grid.diff-grid-textonly .diff-pillars {
    grid-template-columns: 1fr 1fr;
    display: grid;
    gap: 20px 32px;
  }
}
@media (max-width: 980px) {
  .team-intro-grid { grid-template-columns: minmax(0, 1fr) !important; gap: 32px; }
  .team-intro-copy { text-align: center; }
  .team-intro-copy p { margin-inline: auto; }
}

.about-team-grid .about-team-hero-img,
.about-team-hero-img {
  width: 100%;
  max-width: 620px;
  margin-inline: auto;
  aspect-ratio: 16 / 10;
}
@media (max-width: 980px) {
  .about-team-grid { grid-template-columns: minmax(0, 1fr) !important; }
}

.identity-card-img,
.identity-hero-img,
.identity-fit-img img {
  object-fit: cover !important;
  object-position: center 28% !important;
}
@media (max-width: 760px) {
  .identity-card-img,
  .identity-hero-img,
  .identity-fit-img img { object-position: center 24% !important; }
}

/* Direct viewport clamps. These prevent in-app browser clipping instead of hiding overflow. */
@media (max-width: 900px) {
  .hero-grid,
  .svc-hero-grid,
  .svc-body-grid,
  .svc-scope-cards,
  .related-grid,
  .scope-grid,
  .svcs-grid,
  .diff-grid,
  .compare-grid,
  .contact-grid,
  .cta-grid,
  .area-grid,
  .wrap,
  .wrap-narrow {
    max-width: calc(100vw - 32px) !important;
    width: calc(100vw - 32px) !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }
  .svc-body-grid > *,
  .svc-hero-grid > *,
  .diff-grid > *,
  .cta-grid > *,
  .contact-grid > *,
  .area-grid > *,
  .compare-grid > * {
    max-width: calc(100vw - 32px) !important;
    width: 100% !important;
  }
  .svc-body,
  .svc-hero,
  .svc-scope-section,
  .related,
  .hero,
  section {
    padding-left: 16px !important;
    padding-right: 16px !important;
  }
  .svc-body p,
  .svc-body li,
  .svc-hero-lede,
  .hero-lede,
  .scope-card p,
  .svc-card p,
  .diff-pillar p,
  .cta p,
  .cta h3,
  .team-intro-copy p {
    max-width: calc(100vw - 32px) !important;
    width: 100% !important;
    overflow-wrap: break-word !important;
    word-break: normal !important;
    white-space: normal !important;
  }
  .cta {
    max-width: calc(100vw - 32px) !important;
    width: calc(100vw - 32px) !important;
    padding-left: 26px !important;
    padding-right: 26px !important;
    overflow: hidden;
  }
  .cta h3 {
    font-size: clamp(27px, 7.4vw, 36px) !important;
    line-height: 1.08 !important;
    text-wrap: balance;
  }
}
@media (max-width: 420px) {
  .hero-grid,
  .svc-hero-grid,
  .svc-body-grid,
  .svc-scope-cards,
  .related-grid,
  .scope-grid,
  .svcs-grid,
  .diff-grid,
  .compare-grid,
  .contact-grid,
  .cta-grid,
  .area-grid,
  .wrap,
  .wrap-narrow,
  .cta {
    max-width: calc(100vw - 28px) !important;
    width: calc(100vw - 28px) !important;
  }
  .svc-body,
  .svc-hero,
  .svc-scope-section,
  .related,
  .hero,
  section {
    padding-left: 14px !important;
    padding-right: 14px !important;
  }
  .svc-body p,
  .svc-body li,
  .svc-hero-lede,
  .hero-lede,
  .scope-card p,
  .svc-card p,
  .diff-pillar p,
  .cta p,
  .cta h3,
  .team-intro-copy p {
    max-width: calc(100vw - 28px) !important;
  }
  .svc-body p,
  .svc-body li,
  .svc-hero-lede { font-size: 15px !important; line-height: 1.55 !important; }
  .cta { padding-left: 22px !important; padding-right: 22px !important; }
}
