/* ============================================================
   ARC marketing site — layout & components
   Built on tokens.css. Forked & extended from the ARC website UI kit.
   ============================================================ */

* { box-sizing: border-box; }
html, body { margin: 0; }
body { background: var(--arc-paper); color: var(--fg); font-family: var(--font-sans); -webkit-font-smoothing: antialiased; }

/* tunables driven by the Tweaks panel */
:root { --h-scale: 1; }

.container { max-width: var(--container-max); margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }
.app { min-height: 100vh; display: flex; flex-direction: column; }
main { flex: 1; }

/* radius helpers honoring the corner-radius tweak */
.r-sm { border-radius: calc(var(--radius-sm) * var(--r-scale)); }
.r-md { border-radius: calc(var(--radius-md) * var(--r-scale)); }
.r-lg { border-radius: calc(var(--radius-lg) * var(--r-scale)); }

/* --------------------------------------------------------------
   Emergency utility strip
-------------------------------------------------------------- */
.eu-strip { background: var(--arc-vintage-navy); color: #fff; font-size: 13px; }
.eu-strip .inner { display: flex; align-items: center; justify-content: space-between; padding-block: 9px; gap: 16px; }
.eu-strip .left { display: flex; align-items: center; gap: 12px; }
.eu-strip .pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--arc-fabric-red); box-shadow: 0 0 0 0 rgba(193,54,54,.5); flex: none; animation: pulse 2.4s var(--ease-out) infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(193,54,54,.5);} 70% { box-shadow: 0 0 0 7px rgba(193,54,54,0);} 100% { box-shadow: 0 0 0 0 rgba(193,54,54,0);} }
@media (prefers-reduced-motion: reduce) { .eu-strip .pulse { animation: none; } }
.eu-strip .phone { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; letter-spacing: .02em; color: #fff; text-decoration: none; }
.eu-strip .eu-abbr { display: none; }
.eu-strip .phone svg { width: 14px; height: 14px; }
.eu-strip .right { display: flex; align-items: center; gap: 22px; }
.eu-strip .right a { color: rgba(255,255,255,.72); text-decoration: none; font-size: 12px; transition: color var(--dur-fast); }
.eu-strip .right a:hover { color: #fff; }

/* --------------------------------------------------------------
   Nav
-------------------------------------------------------------- */
.nav { background: #fff; border-bottom: 1px solid var(--border); position: sticky; top: 0; z-index: 60; transition: box-shadow var(--dur-base); }
.nav.scrolled { box-shadow: var(--shadow-sm); }
.nav .inner { display: flex; align-items: center; gap: 36px; padding-block: 16px; }
.nav .logo { height: 32px; flex: none; cursor: pointer; background: none; border: 0; padding: 0; }
.nav .logo img { height: 100%; display: block; }
.nav .links { display: flex; gap: 30px; flex: 1; }
.nav .links button { background: none; border: 0; font-family: inherit; color: var(--arc-vintage-navy); font-size: 14px; font-weight: 600; letter-spacing: .005em; padding: 6px 0; position: relative; cursor: pointer; transition: color var(--dur-fast); }
.nav .links button:hover { color: var(--arc-fabric-red); }
.nav .links button.active { color: var(--arc-vintage-navy); }
.nav .links button.active::after { content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 2px; background: var(--arc-fabric-red); }
.nav .actions { display: flex; align-items: center; gap: 16px; }
.nav .phone { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--arc-vintage-navy); font-size: 14px; text-decoration: none; }
.nav .phone svg { width: 15px; height: 15px; }
.nav .menu-btn { display: none; background: none; border: 0; color: var(--arc-vintage-navy); cursor: pointer; }

/* --------------------------------------------------------------
   Buttons
-------------------------------------------------------------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px; height: 46px; padding: 0 20px; border-radius: calc(var(--radius-sm) * var(--r-scale)); font-family: inherit; font-weight: 600; font-size: 14.5px; cursor: pointer; border: 1px solid transparent; text-decoration: none; transition: background var(--dur-fast) var(--ease-std), color var(--dur-fast), transform var(--dur-fast), border-color var(--dur-fast); white-space: nowrap; }
.btn svg { width: 16px; height: 16px; }
.btn.lg { height: 52px; padding: 0 26px; font-size: 15.5px; }
.btn.primary { background: var(--arc-vintage-navy); color: #fff; }
.btn.primary:hover { background: var(--arc-navy-2); }
.btn.primary:active { transform: scale(.98); }
.btn.accent { background: var(--arc-fabric-red); color: #fff; }
.btn.accent:hover { background: var(--accent-press); }
.btn.accent:active { transform: scale(.98); }
.btn.secondary { background: transparent; color: var(--arc-vintage-navy); border-color: var(--border-strong); }
.btn.secondary:hover { background: var(--arc-vintage-navy); color: #fff; border-color: var(--arc-vintage-navy); }
.btn.ghost { background: transparent; color: var(--arc-vintage-navy); }
.btn.ghost:hover { background: var(--arc-fog); }
.btn.on-navy { background: #fff; color: var(--arc-vintage-navy); }
.btn.on-navy:hover { background: var(--arc-concrete); }
.btn.on-navy-outline { background: transparent; color: #fff; border-color: rgba(255,255,255,.34); }
.btn.on-navy-outline:hover { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.6); }

/* --------------------------------------------------------------
   Generic section scaffolding
-------------------------------------------------------------- */
.section { padding: clamp(56px, 8vw, 96px) 0; }
.section.tight { padding: clamp(44px, 6vw, 68px) 0; }
.section.bg-paper { background: var(--arc-paper); }
.section.bg-white { background: #fff; }
.section.bg-fog { background: var(--arc-fog); }
.section.bg-navy { background: var(--arc-vintage-navy); color: #fff; }
.section.bordered { border-top: 1px solid var(--border); }

.section-head { display: flex; gap: 48px; margin-bottom: 44px; align-items: flex-end; }
.section-head.center { flex-direction: column; align-items: center; text-align: center; gap: 16px; margin-bottom: 52px; }
.section-head .col { flex: 1; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--arc-fabric-red); margin: 0 0 16px; }
.eyebrow .bar { width: 28px; height: 1px; background: var(--arc-fabric-red); }
.section.bg-navy .eyebrow { color: var(--arc-fabric-red); }
.section-head h2 { font-weight: 700; font-size: calc(clamp(30px, 3.6vw, 48px) * var(--h-scale)); line-height: 1.05; letter-spacing: -.012em; margin: 0; text-wrap: balance; max-width: 20ch; }
.section-head.center h2 { margin-inline: auto; }
.section-head p.lede { font-size: 17px; line-height: 1.55; color: var(--fg-muted); max-width: 52ch; margin: 0; }
.section.bg-navy .section-head p.lede { color: rgba(255,255,255,.72); }
.section-head.center p.lede { margin-inline: auto; }

/* --------------------------------------------------------------
   HERO (split layout: headline + emergency form)
-------------------------------------------------------------- */
.hero { background: var(--arc-vintage-navy); color: #fff; position: relative; overflow: hidden; }
.hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: var(--arc-fabric-red); z-index: 3; }
.hero .bg-slot { position: absolute; inset: 0; z-index: 0; }
.hero .bg-slot image-slot { width: 100%; height: 100%; display: block; }
.hero .bg-wash { position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(40,41,58,.97) 0%, rgba(40,41,58,.92) 42%, rgba(40,41,58,.7) 100%); pointer-events: none; }
.hero .inner { position: relative; z-index: 2; display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(36px, 5vw, 80px); align-items: center; padding-block: clamp(56px, 7vw, 92px) clamp(64px, 8vw, 100px); }

.hero .copy .eyebrow { color: rgba(255,255,255,.62); }
.hero .copy .eyebrow .bar { background: var(--arc-fabric-red); }
.hero h1 { font-weight: 900; font-size: calc(clamp(40px, 5vw, 68px) * var(--h-scale)); line-height: .98; letter-spacing: -.022em; margin: 0 0 22px; text-wrap: balance; }
.hero h1 .accent { color: #fff; position: relative; }
.hero .sub { font-size: clamp(16px, 1.4vw, 19px); line-height: 1.5; color: rgba(255,255,255,.8); max-width: 54ch; margin: 0 0 30px; }
.hero .cta-row { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; }
.hero .reassure { display: flex; align-items: center; gap: 10px; margin-top: 26px; font-size: 13.5px; color: rgba(255,255,255,.66); }
.hero .reassure svg { width: 16px; height: 16px; color: var(--arc-fabric-red); flex: none; }

/* emergency form card riding the hero */
.hero-form { background: #fff; color: var(--arc-vintage-navy); border-radius: calc(var(--radius-lg) * var(--r-scale)); padding: 28px; box-shadow: var(--shadow-lg); position: relative; }
.hero-form::before { content: ""; position: absolute; top: 0; left: 28px; right: 28px; height: 3px; background: var(--arc-fabric-red); border-radius: 0 0 2px 2px; }
.hero-form .hf-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin-bottom: 6px; }
.hero-form h3 { margin: 0; font-size: 21px; font-weight: 800; letter-spacing: -.01em; }
.hero-form .hf-badge { display: inline-flex; align-items: center; gap: 6px; font-size: 10.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--arc-fabric-red); background: rgba(193,54,54,.08); padding: 5px 9px; border-radius: var(--radius-pill); white-space: nowrap; }
.hero-form .hf-badge .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--arc-fabric-red); }
.hero-form .hf-sub { font-size: 13px; color: var(--fg-muted); margin: 0 0 18px; line-height: 1.45; }

/* --------------------------------------------------------------
   Forms
-------------------------------------------------------------- */
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 13px; }
.field label { font-size: 10.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--arc-graphite); }
.field .req { color: var(--arc-fabric-red); }
.field input, .field select, .field textarea { width: 100%; padding: 12px 13px; border-radius: calc(var(--radius-sm) * var(--r-scale)); border: 1px solid var(--border-strong); background: #fff; font-family: inherit; font-size: 14px; color: var(--arc-vintage-navy); font-weight: 500; transition: border-color var(--dur-fast), box-shadow var(--dur-fast); }
.field input::placeholder, .field textarea::placeholder { color: var(--fg-faint); font-weight: 400; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--arc-vintage-navy); box-shadow: 0 0 0 3px rgba(40,41,58,.12); }
.field textarea { resize: vertical; min-height: 90px; }
.field.error input, .field.error select, .field.error textarea { border-color: var(--arc-fabric-red); }
.field .err-msg { font-size: 11.5px; color: var(--arc-fabric-red); font-weight: 600; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.form-foot { display: flex; align-items: center; gap: 12px; margin-top: 4px; }
.form-foot .note { font-size: 11px; color: var(--fg-muted); line-height: 1.4; }
.form-foot .btn { flex: none; }

/* success state */
.form-sent { text-align: center; padding: 24px 8px; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.form-sent .check { width: 52px; height: 52px; border-radius: 50%; background: var(--arc-vintage-navy); color: #fff; display: flex; align-items: center; justify-content: center; }
.form-sent .check svg { width: 26px; height: 26px; }
.form-sent h3 { margin: 0; font-size: 22px; font-weight: 800; }
.form-sent p { margin: 0; font-size: 14px; color: var(--fg-muted); max-width: 32ch; line-height: 1.5; }

/* --------------------------------------------------------------
   Trust bar
-------------------------------------------------------------- */
.trustbar { background: #fff; border-bottom: 1px solid var(--border); }
.trustbar .inner { padding-block: 22px; display: flex; flex-direction: column; align-items: center; gap: 12px; text-align: center; }
.trustbar .label { font-size: 13px; font-weight: 600; color: var(--fg-muted); }
.trustbar .services { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; justify-content: center; font-size: 14px; font-weight: 700; letter-spacing: .03em; color: var(--arc-vintage-navy); }
.trustbar .services .pipe { color: var(--arc-fabric-red); font-weight: 400; }

/* --------------------------------------------------------------
   Why ARC — two-up feature
-------------------------------------------------------------- */
.feature-2 { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 5vw, 72px); align-items: center; }
.feature-2 > * { min-width: 0; }
.feature-2.flip .media { order: 2; }
.feature-2 .body h2 { font-weight: 700; font-size: calc(clamp(28px, 3.4vw, 44px) * var(--h-scale)); line-height: 1.06; letter-spacing: -.012em; margin: 0 0 20px; text-wrap: balance; }
.feature-2 .body p { font-size: 16.5px; line-height: 1.6; color: var(--fg-muted); margin: 0 0 16px; max-width: 52ch; }
.section.bg-navy .feature-2 .body p { color: rgba(255,255,255,.74); }
.feature-2 .body .btn { margin-top: 10px; }
.feature-2 .media image-slot { width: 100%; display: block; }
/* larger, full-image media variant (About → "our approach") */
.feature-2.media-lg { align-items: center; grid-template-columns: 0.88fr 1.12fr; }
.feature-2.media-lg .media { display: block; }
.feature-2.media-lg .media image-slot { width: 100%; height: auto; aspect-ratio: 3 / 2; background: var(--arc-fog); }

/* --------------------------------------------------------------
   Services grid
-------------------------------------------------------------- */
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.svc-grid.five { grid-template-columns: repeat(5, 1fr); }
.svc-card { background: #fff; border: 1px solid var(--border); border-radius: calc(var(--radius-md) * var(--r-scale)); padding: 26px 22px 22px; display: flex; flex-direction: column; gap: 14px; cursor: pointer; text-align: left; font-family: inherit; transition: box-shadow var(--dur-base) var(--ease-std), border-color var(--dur-base), transform var(--dur-base); position: relative; }
.svc-card:hover { box-shadow: var(--shadow-md); border-color: transparent; transform: translateY(-3px); }
.svc-card .ico { width: 38px; height: 38px; color: var(--arc-vintage-navy); }
.svc-card .ico svg { width: 100%; height: 100%; stroke-width: 1.5; }
.svc-card .accent-rule { width: 26px; height: 2px; background: var(--arc-fabric-red); }
.svc-card h3 { margin: 0; font-size: 20px; font-weight: 700; letter-spacing: -.008em; line-height: 1.15; }
.svc-card p { margin: 0; font-size: 13.5px; color: var(--fg-muted); line-height: 1.5; flex: 1; }
.svc-card .more { margin-top: 4px; display: inline-flex; align-items: center; gap: 6px; font-size: 11.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--arc-vintage-navy); transition: gap var(--dur-fast); }
.svc-card:hover .more { gap: 10px; color: var(--arc-fabric-red); }
.svc-card .more svg { width: 13px; height: 13px; }

/* --------------------------------------------------------------
   Why-choose bullet list
-------------------------------------------------------------- */
.checklist { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.checklist.two { grid-template-columns: repeat(2, 1fr); }
.check-item { display: flex; align-items: center; gap: 14px; padding: 20px 22px; background: #fff; border: 1px solid var(--border); border-radius: calc(var(--radius-md) * var(--r-scale)); }
.section.bg-navy .check-item { background: rgba(255,255,255,.05); border-color: rgba(255,255,255,.14); }
.check-item .tick { width: 34px; height: 34px; flex: none; border-radius: calc(var(--radius-sm) * var(--r-scale)); background: var(--arc-vintage-navy); color: #fff; display: flex; align-items: center; justify-content: center; }
.section.bg-navy .check-item .tick { background: var(--arc-fabric-red); }
.check-item .tick svg { width: 18px; height: 18px; }
.check-item span.t { font-size: 15px; font-weight: 600; line-height: 1.25; }

/* --------------------------------------------------------------
   Process band
-------------------------------------------------------------- */
.process { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.proc-step { display: flex; flex-direction: column; gap: 10px; }
.proc-step .num { font-weight: 900; font-size: 52px; line-height: 1; color: rgba(255,255,255,.22); letter-spacing: -.02em; }
.proc-step .num .accent { color: var(--arc-fabric-red); }
.proc-step h4 { margin: 0; font-size: 18px; font-weight: 700; }
.proc-step p { margin: 0; font-size: 14px; color: rgba(255,255,255,.7); line-height: 1.5; }
.proc-step .rule { height: 1px; background: rgba(255,255,255,.18); margin: 2px 0 6px; }

/* --------------------------------------------------------------
   Stat band
-------------------------------------------------------------- */
.stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 36px; }
.stat { display: flex; flex-direction: column; gap: 6px; }
.stat .n { font-weight: 900; font-size: calc(60px * var(--h-scale)); line-height: .95; letter-spacing: -.02em; }
.stat .n .u { color: var(--arc-fabric-red); }
.stat .l { font-size: 13px; font-weight: 600; letter-spacing: .03em; color: rgba(255,255,255,.7); line-height: 1.4; }

/* --------------------------------------------------------------
   Service-area split
-------------------------------------------------------------- */
.area-split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 4vw, 64px); align-items: center; }
.area-split .map { position: relative; border-radius: calc(var(--radius-lg) * var(--r-scale)); overflow: hidden; border: 1px solid var(--border); aspect-ratio: 4 / 3; background: var(--arc-fog); }
.area-split .map image-slot { width: 100%; height: 100%; display: block; }
/* illustrated service-area map fills the map card */
.svc-map { width: 100%; height: 100%; }
.svc-map svg { width: 100%; height: 100%; display: block; }
/* full-image map variant (Contact → "Local experts" photo) */
.area-split .map.map-full { aspect-ratio: 3 / 2; }
.area-pins { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.area-pin { display: inline-flex; align-items: center; gap: 7px; font-size: 13px; font-weight: 600; color: var(--arc-vintage-navy); background: #fff; border: 1px solid var(--border); padding: 8px 13px; border-radius: var(--radius-pill); }
.area-pin svg { width: 13px; height: 13px; color: var(--arc-fabric-red); }

/* --------------------------------------------------------------
   Final CTA band
-------------------------------------------------------------- */
.cta-band { background: var(--arc-vintage-navy); color: #fff; position: relative; overflow: hidden; }
.cta-band::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: var(--arc-fabric-red); }
.cta-band .inner { padding-block: clamp(52px, 7vw, 88px); display: flex; align-items: center; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.cta-band h2 { font-weight: 900; font-size: calc(clamp(32px, 4vw, 56px) * var(--h-scale)); line-height: 1.02; letter-spacing: -.02em; margin: 0 0 14px; max-width: 16ch; }
.cta-band p { font-size: 17px; line-height: 1.5; color: rgba(255,255,255,.74); max-width: 44ch; margin: 0; }
.cta-band .cta-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* --------------------------------------------------------------
   Page hero (interior pages)
-------------------------------------------------------------- */
.page-hero { background: var(--arc-vintage-navy); color: #fff; position: relative; overflow: hidden; }
.page-hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: var(--arc-fabric-red); }
.page-hero .bg-slot { position: absolute; inset: 0; z-index: 0; }
.page-hero .bg-slot image-slot { width: 100%; height: 100%; display: block; }
.page-hero .bg-wash { position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(40,41,58,.96), rgba(40,41,58,.78)); }
.page-hero .inner { position: relative; z-index: 2; padding-block: clamp(52px, 7vw, 88px) clamp(56px, 7vw, 84px); }
.page-hero .eyebrow { color: rgba(255,255,255,.6); }
.page-hero h1 { font-weight: 900; font-size: calc(clamp(38px, 5vw, 64px) * var(--h-scale)); line-height: 1.0; letter-spacing: -.02em; margin: 0 0 18px; text-wrap: balance; max-width: 18ch; }
.page-hero p { font-size: 18px; line-height: 1.55; color: rgba(255,255,255,.8); margin: 0; max-width: 64ch; }

/* --------------------------------------------------------------
   Services page — service rows
-------------------------------------------------------------- */
.svc-rows { display: flex; flex-direction: column; }
.svc-row { display: grid; grid-template-columns: 56px 1fr auto; gap: 28px; align-items: center; padding: 30px 0; border-top: 1px solid var(--border); }
.svc-row:last-child { border-bottom: 1px solid var(--border); }
.svc-row .ico { width: 44px; height: 44px; color: var(--arc-vintage-navy); }
.svc-row .ico svg { width: 100%; height: 100%; stroke-width: 1.5; }
.svc-row .txt h3 { margin: 0 0 6px; font-size: 23px; font-weight: 700; letter-spacing: -.01em; }
.svc-row .txt p { margin: 0; font-size: 15px; color: var(--fg-muted); line-height: 1.55; max-width: 70ch; }
.svc-row .go { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--border-strong); color: var(--arc-vintage-navy); background: #fff; transition: background var(--dur-fast), color var(--dur-fast), border-color var(--dur-fast); flex: none; }
.svc-row:hover .go { background: var(--arc-vintage-navy); color: #fff; border-color: var(--arc-vintage-navy); }
.svc-row .go svg { width: 18px; height: 18px; }

/* --------------------------------------------------------------
   Bio / founder card
-------------------------------------------------------------- */
.bio-card { display: grid; grid-template-columns: 220px 1fr; gap: 36px; align-items: center; background: #fff; border: 1px solid var(--border); border-radius: calc(var(--radius-lg) * var(--r-scale)); padding: 32px; box-shadow: var(--shadow-sm); }
.bio-card .portrait image-slot { width: 100%; aspect-ratio: 1; display: block; }
.bio-card .eyebrow { margin-bottom: 10px; }
.bio-card h3 { margin: 0 0 2px; font-size: 26px; font-weight: 800; letter-spacing: -.01em; }
.bio-card .role { font-size: 14px; font-weight: 600; color: var(--arc-fabric-red); margin: 0 0 16px; }
.bio-card p { font-size: 15px; line-height: 1.6; color: var(--fg-muted); margin: 0 0 18px; max-width: 56ch; }
.bio-card .contact-line { display: flex; gap: 22px; flex-wrap: wrap; font-size: 13.5px; }
.bio-card .contact-line a { display: inline-flex; align-items: center; gap: 7px; color: var(--arc-vintage-navy); text-decoration: none; font-weight: 600; }
.bio-card .contact-line svg { width: 14px; height: 14px; color: var(--arc-fabric-red); }

/* --------------------------------------------------------------
   Contact page
-------------------------------------------------------------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(36px, 5vw, 72px); align-items: start; }
.contact-info h2 { font-size: calc(clamp(28px, 3.4vw, 40px) * var(--h-scale)); font-weight: 700; line-height: 1.08; letter-spacing: -.01em; margin: 0 0 16px; text-wrap: balance; }
.contact-info > p { font-size: 16px; line-height: 1.55; color: var(--fg-muted); max-width: 40ch; margin: 0 0 28px; }
.contact-info .detail { display: flex; gap: 16px; padding: 18px 0; border-top: 1px solid var(--border); align-items: flex-start; }
.contact-info .detail:last-of-type { border-bottom: 1px solid var(--border); }
.contact-info .detail .di { width: 40px; height: 40px; flex: none; border-radius: calc(var(--radius-sm) * var(--r-scale)); background: var(--arc-fog); color: var(--arc-vintage-navy); display: flex; align-items: center; justify-content: center; }
.contact-info .detail .di svg { width: 18px; height: 18px; }
.contact-info .detail .dl { font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--fg-muted); margin-bottom: 3px; }
.contact-info .detail .dv { font-size: 17px; font-weight: 700; color: var(--arc-vintage-navy); }
.contact-info .detail .dv a { color: inherit; text-decoration: none; }
.contact-info .detail .dv small { display: block; font-size: 13px; font-weight: 500; color: var(--fg-muted); margin-top: 2px; }
.form-card { background: #fff; border: 1px solid var(--border); border-radius: calc(var(--radius-lg) * var(--r-scale)); padding: clamp(24px, 3vw, 36px); box-shadow: var(--shadow-sm); }
.form-card h3 { margin: 0 0 6px; font-size: 22px; font-weight: 800; }
.form-card .fc-sub { font-size: 13.5px; color: var(--fg-muted); margin: 0 0 22px; }

/* --------------------------------------------------------------
   FAQ accordion
-------------------------------------------------------------- */
.faq-list { max-width: 860px; margin: 0 auto; display: flex; flex-direction: column; }
.faq-item { border-top: 1px solid var(--border); }
.faq-item:last-child { border-bottom: 1px solid var(--border); }
.faq-q { width: 100%; background: none; border: 0; font-family: inherit; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 24px 4px; text-align: left; color: var(--arc-vintage-navy); }
.faq-q h3 { margin: 0; font-size: 19px; font-weight: 700; letter-spacing: -.005em; line-height: 1.3; }
.faq-q .pm { width: 30px; height: 30px; flex: none; border-radius: 50%; border: 1px solid var(--border-strong); display: flex; align-items: center; justify-content: center; color: var(--arc-vintage-navy); transition: background var(--dur-base), color var(--dur-base), transform var(--dur-base); }
.faq-q .pm svg { width: 16px; height: 16px; transition: transform var(--dur-base) var(--ease-out); }
.faq-item.open .faq-q .pm { background: var(--arc-fabric-red); border-color: var(--arc-fabric-red); color: #fff; }
.faq-item.open .faq-q .pm svg { transform: rotate(180deg); }
.faq-a { overflow: hidden; max-height: 0; transition: max-height var(--dur-slow) var(--ease-out); }
.faq-a-inner { padding: 0 4px 26px; font-size: 15.5px; line-height: 1.6; color: var(--fg-muted); max-width: 70ch; }
.faq-a-inner ul { margin: 10px 0 0; padding-left: 18px; }
.faq-a-inner li { margin-bottom: 5px; }

/* --------------------------------------------------------------
   Service detail page
-------------------------------------------------------------- */
.svc-detail { display: grid; grid-template-columns: 1.5fr 1fr; gap: clamp(36px, 5vw, 64px); align-items: start; }
.svc-detail h3 { margin: 0 0 18px; font-size: 24px; font-weight: 700; letter-spacing: -.01em; }
.svc-detail ul.checks { padding: 0; margin: 0; list-style: none; display: flex; flex-direction: column; gap: 12px; }
.svc-detail ul.checks li { display: flex; gap: 12px; font-size: 16px; line-height: 1.45; font-weight: 500; align-items: center; }
.svc-detail ul.checks svg { width: 20px; height: 20px; color: var(--arc-fabric-red); flex: none; }
.svc-detail .svc-sub { margin-top: 32px; padding-top: 28px; border-top: 1px solid var(--border); }
.svc-detail .svc-sub h3 { margin-bottom: 12px; }
.svc-detail .svc-sub p { margin: 0; font-size: 16px; line-height: 1.6; color: var(--arc-steel); max-width: 60ch; }
.side-card { background: #fff; border: 1px solid var(--border); border-radius: calc(var(--radius-lg) * var(--r-scale)); padding: 26px; display: flex; flex-direction: column; gap: 12px; box-shadow: var(--shadow-sm); position: sticky; top: 96px; }
.side-card .h { font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--fg-muted); }
.side-card .phone-big { font-size: 30px; font-weight: 900; letter-spacing: -.01em; color: var(--arc-vintage-navy); }
.side-card .sub { font-size: 13.5px; color: var(--fg-muted); line-height: 1.55; margin: 0 0 4px; }
.side-card .btn { width: 100%; }

/* --------------------------------------------------------------
   Footer
-------------------------------------------------------------- */
.footer { background: var(--arc-navy-3); color: rgba(255,255,255,.7); padding: 64px 0 26px; }
.footer .top { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 36px; padding-bottom: 38px; border-bottom: 1px solid rgba(255,255,255,.1); }
.footer .col h5 { font-size: 11px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: rgba(255,255,255,.55); margin: 0 0 16px; }
.footer .col button { display: block; background: none; border: 0; font-family: inherit; text-align: left; color: rgba(255,255,255,.82); cursor: pointer; font-size: 14px; margin-bottom: 9px; padding: 0; transition: color var(--dur-fast); }
.footer .col button:hover { color: var(--arc-fabric-red); }
.footer .brand img { height: 30px; margin-bottom: 16px; }
.footer .brand p { font-size: 13px; line-height: 1.6; color: rgba(255,255,255,.6); margin: 0 0 18px; max-width: 36ch; }
.footer .brand .fphone { display: inline-flex; align-items: center; gap: 9px; color: #fff; text-decoration: none; font-weight: 700; font-size: 16px; }
.footer .brand .fphone svg { width: 16px; height: 16px; color: var(--arc-fabric-red); }
.footer .bottom { padding-top: 22px; display: flex; justify-content: space-between; align-items: center; gap: 16px; font-size: 12px; color: rgba(255,255,255,.5); flex-wrap: wrap; }
.footer .bottom .legal { display: flex; gap: 20px; }
.footer .bottom .legal a { color: inherit; text-decoration: none; }
.footer .bottom .legal a:hover { color: #fff; }

/* --------------------------------------------------------------
   Reveal animation
-------------------------------------------------------------- */
.reveal { opacity: 0; transform: translateY(10px); transition: opacity .55s var(--ease-out), transform .55s var(--ease-out); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

/* image-slot brand styling */
image-slot { --slot-bg: var(--arc-graphite); }

/* lucide icon wrapper span */
.lucide-i { display: inline-flex; align-items: center; justify-content: center; }

/* static-site service-wheel image (static pages only) */
.wheel-static { display: block; width: 100%; max-width: 520px; height: auto; margin: 0 auto; }
.lucide-i svg { display: block; }

/* embedded ARC service wheel (About → our approach) */
.wheel-embed { width: 100%; }
.wheel-sizer { position: relative; margin: 0 auto; }
.wheel-canvas { position: absolute; top: 0; left: 0; width: 1480px; height: 1080px; transform-origin: top left; }
.wheel-wires { position: absolute; left: 0; top: 0; width: 1480px; height: 1080px; }
.wheel-halo { position: absolute; border-radius: 50%; background: radial-gradient(circle at 50% 42%, #fff 60%, var(--arc-fog) 100%); box-shadow: var(--shadow-md); }
.wheel-hub { position: absolute; border-radius: 50%; background: #fff; border: 9px solid var(--arc-vintage-navy); display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 38px 40px; }
.wh-logo { width: 150px; display: block; margin-bottom: 2px; }
.wh-rule { width: 56px; height: 2px; background: var(--arc-fabric-red); margin: 16px 0 15px; }
.wh-spoc { font-size: 23px; font-weight: 700; letter-spacing: .06em; color: var(--arc-vintage-navy); line-height: 1.12; text-transform: uppercase; }
.wheel-node { position: absolute; width: 94px; height: 94px; border-radius: 50%; background: #fff; border: 1px solid var(--border); box-shadow: var(--shadow-sm); display: flex; align-items: center; justify-content: center; transform: translate(-50%, -50%); }
.wheel-node .lucide-i svg { width: 42px; height: 42px; color: var(--arc-vintage-navy); stroke-width: 1.6; }
.wheel-label { position: absolute; width: 224px; }
.wheel-label.right { text-align: left; }
.wheel-label.left { text-align: right; }
.wheel-label.center { width: 280px; text-align: center; }
.wheel-label h3 { margin: 0; font-size: 19px; font-weight: 800; letter-spacing: .02em; text-transform: uppercase; color: var(--arc-vintage-navy); line-height: 1.08; }
.wheel-banner { position: absolute; left: 0; right: 0; bottom: 44px; text-align: center; }
.wheel-banner .wb-rule { display: flex; align-items: center; justify-content: center; width: 1040px; max-width: 80%; margin: 0 auto 22px; }
.wb-rl { flex: 1; height: 2px; background: var(--arc-fabric-red); }
.wb-badge { flex: none; width: 34px; height: 34px; border-radius: 50%; background: var(--arc-fabric-red); display: flex; align-items: center; justify-content: center; color: #fff; margin: 0 14px; }
.wb-badge .lucide-i svg { width: 19px; height: 19px; stroke-width: 2.4; }
.wheel-banner h2 { margin: 0 0 7px; font-size: 27px; font-weight: 900; letter-spacing: .03em; text-transform: uppercase; color: var(--arc-vintage-navy); }
.wheel-banner p { margin: 0; font-size: 17px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--arc-steel); }

/* --------------------------------------------------------------
   Tweak: accent intensity
-------------------------------------------------------------- */
/* minimal — pull decorative red back to neutral; accent CTAs go navy */
[data-accent="minimal"] .eyebrow { color: var(--fg-muted); }
[data-accent="minimal"] .eyebrow .bar { background: var(--border-strong); }
[data-accent="minimal"] .section.bg-navy .eyebrow,
[data-accent="minimal"] .page-hero .eyebrow,
[data-accent="minimal"] .hero .copy .eyebrow { color: rgba(255,255,255,.55); }
[data-accent="minimal"] .trustbar .services .pipe { color: var(--border-strong); }
[data-accent="minimal"] .btn.accent { background: var(--arc-vintage-navy); }
[data-accent="minimal"] .btn.accent:hover { background: var(--arc-navy-2); }
[data-accent="minimal"] .area-pin svg,
[data-accent="minimal"] .hero .reassure svg { color: var(--arc-steel); }
[data-accent="minimal"] .role { color: var(--arc-steel) !important; }

/* bold — push the accent: red card top-rules, red ticks on light */
[data-accent="bold"] .svc-card { border-top: 2px solid var(--arc-fabric-red); }
[data-accent="bold"] .check-item .tick { background: var(--arc-fabric-red); }
[data-accent="bold"] .svc-row .ico,
[data-accent="bold"] .contact-info .detail .di { color: var(--arc-fabric-red); }
[data-accent="bold"] .section-head h2 { position: relative; }

/* --------------------------------------------------------------
   Tweak: hero variant — stacked
-------------------------------------------------------------- */
.hero.v-stacked .inner { grid-template-columns: 1fr; gap: 40px; text-align: center; max-width: 940px; margin: 0 auto; }
.hero.v-stacked .copy .eyebrow { justify-content: center; }
.hero.v-stacked .copy .cta-row, .hero.v-stacked .copy .reassure { justify-content: center; }
.hero.v-stacked .hero-form { text-align: left; max-width: 620px; width: 100%; margin: 0 auto; }
.hero.v-stacked .sub { margin-inline: auto; }

/* --------------------------------------------------------------
   Responsive
-------------------------------------------------------------- */
@media (max-width: 1080px) {
  .svc-grid.five { grid-template-columns: repeat(3, 1fr); }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .team-grid.rest { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 920px) {
  .hero .inner { grid-template-columns: 1fr; gap: 36px; padding-top: 48px; }
  .section-head { flex-direction: column; align-items: flex-start; gap: 14px; margin-bottom: 32px; }
  .section-head .col { width: 100%; }
  .hero .bg-wash { background: linear-gradient(180deg, rgba(40,41,58,.94), rgba(40,41,58,.9)); }
  .feature-2, .feature-2.flip { grid-template-columns: 1fr; }
  .feature-2.flip .media { order: 0; }
  .feature-2.media-lg { grid-template-columns: 1fr; }
  .area-split, .contact-grid { grid-template-columns: 1fr; gap: 32px; }
  .svc-grid, .svc-grid.five { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .checklist, .checklist.two { grid-template-columns: 1fr 1fr; }
  .process { grid-template-columns: repeat(2, 1fr); }
  .stat-grid { grid-template-columns: repeat(2, 1fr); gap: 28px; }
  .bio-card { grid-template-columns: 1fr; text-align: center; }
  .bio-card .portrait { max-width: 200px; margin: 0 auto; }
  .bio-card .contact-line { justify-content: center; }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .team-grid.rest { grid-template-columns: repeat(2, 1fr); }
  .bio-layout { grid-template-columns: 1fr; gap: 28px; }
  .bio-side { position: static; flex-direction: row; gap: 20px; align-items: stretch; }
  .bio-photo { flex: 0 0 38%; max-width: 260px; }
  .bio-side-card { flex: 1; }
  .nav .links { display: none; }
  .nav .menu-btn { display: inline-flex; }
  .nav .actions { margin-left: auto; }
  .footer .top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  :root { --gutter: 13px; }
  .svc-grid, .svc-grid.five, .checklist, .checklist.two, .process, .stat-grid, .two-col { grid-template-columns: 1fr; }
  /* tighter internal padding on the hero form so copy isn't doubly inset */
  .hero-form { padding: 20px; }
  .hero-form::before { left: 20px; right: 20px; }
  .gallery-grid { grid-template-columns: 1fr; }
  .ba-grid { grid-template-columns: 1fr; }
  .gallery-zoom { opacity: 1; transform: translate(-50%,-50%) scale(1); width: 46px; height: 46px; }
  .lb-nav { width: 44px; height: 44px; }
  .team-grid, .team-grid.rest { grid-template-columns: 1fr; }

  /* typography: pull the oversized clamp floors down for phones */
  .hero h1 { font-size: calc(33px * var(--h-scale)); }
  .hero .sub { font-size: 15.5px; }
  .page-hero h1, .bio-hero h1 { font-size: calc(30px * var(--h-scale)); }
  .page-hero p { font-size: 16px; }
  .cta-band h2 { font-size: calc(27px * var(--h-scale)); }
  .section-head h2, .feature-2 .body h2, .contact-info h2 { font-size: calc(26px * var(--h-scale)); }
  .stat .n { font-size: calc(44px * var(--h-scale)); }

  /* nav: stop the action cluster from overflowing the bar */
  .nav .inner { gap: 14px; }
  .nav .actions { gap: 10px; }
  .nav .actions > .phone { display: none; }
  .nav .actions .btn.accent { display: none; }
  .nav .logo { height: 28px; }

  /* emergency strip (mobile): dot + 24/7 only, nudged down; phone a bit bigger */
  .eu-strip { font-size: 12px; }
  .eu-strip .inner { padding-block: 11px; align-items: center; }
  .eu-strip .left { align-items: center; min-width: 0; }
  .eu-strip .eu-l2 { display: none; }
  .eu-strip .eu-sep { display: none; }
  .eu-strip .right > span { display: none; }
  .eu-strip .phone { white-space: nowrap; font-size: 15px; font-weight: 800; }

  /* hero CTAs: full-width, comfortable tap targets with breathing room */
  .hero .cta-row { gap: 10px; }
  .hero .cta-row .btn { flex: 1 1 auto; }

  /* bio: center the portrait and bring it down to size */
  .bio-side { flex-direction: column; align-items: center; }
  .bio-photo { width: 200px; max-width: 60%; aspect-ratio: 4 / 5; margin: 0 auto; }
  .bio-side-card { width: 100%; }
  .bio-body p:first-child { font-size: 16.5px; }

  /* feature/gallery imagery: a touch shorter so it isn't overwhelming */
  .feature-2.media-lg .media image-slot { aspect-ratio: 4 / 3; }

  .cta-band .inner { flex-direction: column; align-items: flex-start; }
  .cta-band .cta-actions { width: 100%; }
  .cta-band .cta-actions .btn { flex: 1 1 auto; }

  /* footer: single column so headers aren't squeezed */
  .footer .top { grid-template-columns: 1fr; gap: 28px; }
  .footer .bottom { flex-direction: column; align-items: flex-start; gap: 10px; }
}

/* --------------------------------------------------------------
   Team grid (Why page) + bio sub-page
-------------------------------------------------------------- */
.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.team-grid.rest { grid-template-columns: repeat(3, 1fr); }
.team-card { background: #fff; border: 1px solid var(--border); border-radius: calc(var(--radius-md) * var(--r-scale)); overflow: hidden; cursor: pointer; display: flex; flex-direction: column; text-align: left; transition: box-shadow var(--dur-base) var(--ease-std), border-color var(--dur-base), transform var(--dur-base); }
.team-card:hover { box-shadow: var(--shadow-md); border-color: transparent; transform: translateY(-3px); }
.team-card .photo { position: relative; aspect-ratio: 4 / 5; background: var(--arc-graphite); }
.team-card .photo image-slot { width: 100%; height: 100%; display: block; position: relative; z-index: 1; }

/* ---- Designed role placeholder (behind empty headshot slots) ---- */
.role-avatar {
  position: absolute; inset: 0; z-index: 0; container-type: size;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  background: var(--arc-navy); color: #fff; overflow: hidden;
}
.ra-iconwrap {
  width: 27cqmin; height: 27cqmin; display: grid; place-items: center;
  border: 1px solid rgba(255,255,255,.28); border-radius: 50%;
  margin-bottom: 7cqmin;
}
.ra-iconwrap .lucide-i { display: grid; place-items: center; color: #fff; }
.ra-iconwrap .lucide-i svg { width: 13cqmin; height: 13cqmin; stroke-width: 1.6; }
.ra-initials {
  font-family: var(--font-sans); font-weight: 900; font-size: 26cqmin; line-height: .9;
  letter-spacing: .01em; color: #fff;
}
.ra-rule { width: 16cqmin; height: 2px; background: var(--arc-fabric-red); margin-top: 6cqmin; }
.ra-hint {
  position: absolute; left: 0; right: 0; bottom: 6cqmin; text-align: center;
  font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: rgba(255,255,255,.5); opacity: 0; transition: opacity var(--dur-base) var(--ease-out);
}
:is(.team-card .photo, .bio-photo):hover .ra-hint { opacity: 1; }

/* show the placeholder through an empty slot; hide all the drop chrome */
.role-avatar + image-slot:not([data-filled])::part(frame) { background: transparent; }
.role-avatar + image-slot:not([data-filled])::part(empty) { display: none; }
.role-avatar + image-slot:not([data-filled])::part(ring) { display: none; }
/* once a real photo is dropped, drop the placeholder entirely */
:is(.team-card .photo, .bio-photo):has(image-slot[data-filled]) .role-avatar { display: none; }
.team-card .tc-body { padding: 22px 22px 24px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.team-card .tc-body h3 { margin: 0; font-size: 22px; font-weight: 800; letter-spacing: -.01em; line-height: 1.1; }
.team-card .tc-title { margin: 0; font-size: 13px; font-weight: 700; letter-spacing: .02em; color: var(--arc-fabric-red); }
[data-accent="minimal"] .team-card .tc-title { color: var(--arc-steel); }
.team-card .tc-excerpt { margin: 4px 0 0; font-size: 14px; line-height: 1.55; color: var(--fg-muted); flex: 1; }
.team-card .tc-more { margin-top: 12px; display: inline-flex; align-items: center; gap: 7px; font-size: 11.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--arc-vintage-navy); transition: gap var(--dur-fast), color var(--dur-fast); }
.team-card:hover .tc-more { gap: 11px; color: var(--arc-fabric-red); }
.team-card .tc-more svg { width: 14px; height: 14px; }

/* reading-progress bar */
.read-progress { position: sticky; top: 0; left: 0; right: 0; height: 3px; background: rgba(40,41,58,.08); z-index: 55; }
.read-progress span { display: block; height: 100%; width: 100%; background: var(--arc-fabric-red); transform-origin: 0 50%; transform: scaleX(0); transition: transform 80ms linear; }

/* bio hero */
.bio-hero { background: var(--arc-vintage-navy); color: #fff; position: relative; padding: clamp(40px, 5vw, 64px) 0 clamp(40px, 5vw, 60px); }
.bio-hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: var(--arc-fabric-red); }
.bio-hero .eyebrow { color: rgba(255,255,255,.6); }
.bio-hero h1 { font-weight: 900; font-size: calc(clamp(36px, 4.6vw, 58px) * var(--h-scale)); line-height: 1.0; letter-spacing: -.02em; margin: 0 0 12px; text-wrap: balance; }
.bio-hero .bio-role { font-size: clamp(16px, 1.6vw, 20px); font-weight: 600; color: rgba(255,255,255,.82); margin: 0; }
.back-link { display: inline-flex; align-items: center; gap: 8px; background: none; border: 0; font-family: inherit; color: rgba(255,255,255,.66); font-size: 13px; font-weight: 600; cursor: pointer; padding: 0; margin-bottom: 22px; transition: color var(--dur-fast), gap var(--dur-fast); }
.back-link:hover { color: #fff; gap: 11px; }
.back-link svg { width: 15px; height: 15px; }

/* bio layout */
.bio-layout { display: grid; grid-template-columns: 320px 1fr; gap: clamp(36px, 5vw, 72px); align-items: start; }
.bio-side { position: sticky; top: 92px; display: flex; flex-direction: column; gap: 18px; }
.bio-photo { position: relative; aspect-ratio: 4 / 5; background: var(--arc-graphite); border-radius: calc(var(--radius-lg) * var(--r-scale)); overflow: hidden; }
.bio-photo image-slot { width: 100%; height: 100%; display: block; position: relative; z-index: 1; }
.bio-side-card { background: #fff; border: 1px solid var(--border); border-radius: calc(var(--radius-lg) * var(--r-scale)); padding: 24px; box-shadow: var(--shadow-sm); }
.bio-side-card .bsc-name { margin: 0 0 2px; font-size: 19px; font-weight: 800; letter-spacing: -.01em; }
.bio-side-card .bsc-title { margin: 0 0 16px; font-size: 12.5px; font-weight: 700; color: var(--arc-fabric-red); line-height: 1.35; }
[data-accent="minimal"] .bio-side-card .bsc-title { color: var(--arc-steel); }
.bio-contact { display: flex; flex-direction: column; gap: 11px; }
.bio-contact a { display: flex; align-items: center; gap: 11px; color: var(--arc-vintage-navy); text-decoration: none; font-size: 13.5px; font-weight: 600; word-break: break-word; transition: color var(--dur-fast); }
.bio-contact a:hover { color: var(--arc-fabric-red); }
.bio-contact .ci { width: 30px; height: 30px; flex: none; border-radius: calc(var(--radius-sm) * var(--r-scale)); background: var(--arc-fog); color: var(--arc-vintage-navy); display: flex; align-items: center; justify-content: center; }
.bio-contact .ci svg { width: 15px; height: 15px; }
.bsc-divider { height: 1px; background: var(--divider); margin: 20px 0; }
.bsc-label { font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--fg-muted); margin: 0 0 12px; }
.bio-glance { list-style: none; padding: 0; margin: 0 0 22px; display: flex; flex-direction: column; gap: 10px; }
.bio-glance li { display: flex; gap: 10px; font-size: 13.5px; line-height: 1.4; font-weight: 500; color: var(--arc-graphite); align-items: flex-start; }
.bio-glance svg { width: 16px; height: 16px; color: var(--arc-fabric-red); flex: none; margin-top: 1px; }
.bio-side-card .btn { width: 100%; }

/* bio content */
.bio-content { max-width: 70ch; }
.svc-lines { display: flex; flex-direction: column; gap: 6px; padding-bottom: 24px; margin-bottom: 28px; border-bottom: 1px solid var(--border); }
.svc-line { margin: 0; font-size: 14px; font-weight: 700; letter-spacing: .02em; color: var(--arc-vintage-navy); display: flex; flex-wrap: wrap; align-items: center; gap: 9px; }
.svc-line .pipe { color: var(--arc-fabric-red); font-weight: 400; }
.svc-lines.on-navy .svc-line { color: #fff; }
.bio-body p { font-size: 16.5px; line-height: 1.7; color: var(--arc-graphite); margin: 0 0 20px; }
.bio-body p:first-child { font-size: 18px; line-height: 1.62; color: var(--arc-vintage-navy); font-weight: 500; }
.bio-body p:last-child { margin-bottom: 0; }

/* --------------------------------------------------------------
   Work gallery + lightbox
-------------------------------------------------------------- */
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.gallery-cell { position: relative; margin: 0; aspect-ratio: 3 / 2; border-radius: calc(var(--radius-md) * var(--r-scale)); overflow: hidden; border: 1px solid var(--border); background: var(--arc-graphite); }
.gallery-cell image-slot { width: 100%; height: 100%; display: block; }
.gallery-cell::after { content: ""; position: absolute; inset: 0; background: rgba(40,41,58,0); transition: background var(--dur-base) var(--ease-out); pointer-events: none; }
.gallery-cell:hover::after { background: rgba(40,41,58,.30); }
.gallery-zoom { position: absolute; left: 50%; top: 50%; transform: translate(-50%,-50%) scale(.9); width: 52px; height: 52px; border-radius: 50%; border: 0; background: rgba(255,255,255,.96); color: var(--arc-vintage-navy); display: flex; align-items: center; justify-content: center; cursor: zoom-in; opacity: 0; transition: opacity var(--dur-base) var(--ease-out), transform var(--dur-base) var(--ease-out); box-shadow: var(--shadow-md); z-index: 2; }
.gallery-zoom svg { width: 22px; height: 22px; }
.gallery-cell:hover .gallery-zoom, .gallery-zoom:focus-visible { opacity: 1; transform: translate(-50%,-50%) scale(1); }
.gallery-zoom:hover { background: #fff; }

.lightbox { position: fixed; inset: 0; z-index: 200; background: rgba(11,12,18,.93); display: flex; align-items: center; justify-content: center; padding: clamp(20px, 5vw, 72px); animation: lb-fade var(--dur-base) var(--ease-out); }
@keyframes lb-fade { from { opacity: 0; } to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .lightbox { animation: none; } }
.lb-stage { margin: 0; display: flex; flex-direction: column; gap: 14px; max-width: min(1100px, 92vw); align-items: center; }
.lb-stage img { max-width: 100%; max-height: 78vh; object-fit: contain; border-radius: calc(var(--radius-sm) * var(--r-scale)); box-shadow: var(--shadow-lg); display: block; }
.lb-stage figcaption { color: rgba(255,255,255,.82); font-size: 14px; text-align: center; display: flex; align-items: center; gap: 12px; justify-content: center; }
.lb-count { font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: rgba(255,255,255,.5); }
.lb-empty { width: min(520px, 80vw); aspect-ratio: 4 / 3; border: 1px dashed rgba(255,255,255,.28); border-radius: var(--radius-md); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; color: rgba(255,255,255,.7); text-align: center; padding: 24px; }
.lb-empty svg { width: 34px; height: 34px; color: rgba(255,255,255,.45); margin-bottom: 4px; }
.lb-empty p { margin: 0; font-size: 17px; font-weight: 700; color: #fff; }
.lb-empty span { font-size: 13px; color: rgba(255,255,255,.6); }
.lb-close { position: absolute; top: 22px; right: 26px; width: 46px; height: 46px; border-radius: 50%; border: 1px solid rgba(255,255,255,.22); background: rgba(255,255,255,.06); color: #fff; display: flex; align-items: center; justify-content: center; cursor: pointer; transition: background var(--dur-fast), border-color var(--dur-fast); }
.lb-close:hover { background: rgba(255,255,255,.16); border-color: rgba(255,255,255,.5); }
.lb-close svg { width: 20px; height: 20px; }
.lb-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 52px; height: 52px; border-radius: 50%; border: 1px solid rgba(255,255,255,.22); background: rgba(255,255,255,.06); color: #fff; display: flex; align-items: center; justify-content: center; cursor: pointer; transition: background var(--dur-fast), border-color var(--dur-fast); }
.lb-nav:hover { background: rgba(255,255,255,.16); border-color: rgba(255,255,255,.5); }
.lb-nav svg { width: 24px; height: 24px; }
.lb-nav.prev { left: clamp(12px, 3vw, 40px); }
.lb-nav.next { right: clamp(12px, 3vw, 40px); }

/* --------------------------------------------------------------
   Before / after
-------------------------------------------------------------- */
.ba-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; max-width: 1000px; margin: 0 auto; }
.ba-cell { position: relative; margin: 0; aspect-ratio: 3 / 2; border-radius: calc(var(--radius-md) * var(--r-scale)); overflow: hidden; border: 1px solid var(--border); background: var(--arc-graphite); }
.ba-cell image-slot { width: 100%; height: 100%; display: block; }
.ba-tag { position: absolute; top: 14px; left: 14px; z-index: 2; font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; padding: 7px 13px; border-radius: calc(var(--radius-sm) * var(--r-scale)); color: #fff; box-shadow: var(--shadow-sm); }
.ba-tag.before { background: var(--arc-vintage-navy); }
.ba-tag.after { background: var(--arc-fabric-red); }
[data-accent="minimal"] .ba-tag.after { background: var(--arc-vintage-navy); }

/* mobile drawer */
.m-drawer { position: fixed; inset: 0; z-index: 100; display: none; }
.m-drawer.open { display: block; }
.m-drawer .scrim { position: absolute; inset: 0; background: rgba(15,16,24,.5); }
.m-drawer .panel { position: absolute; top: 0; right: 0; bottom: 0; width: min(82vw, 340px); background: #fff; padding: 24px; display: flex; flex-direction: column; gap: 6px; box-shadow: var(--shadow-lg); }
.m-drawer .panel .close { align-self: flex-end; background: none; border: 0; cursor: pointer; color: var(--arc-vintage-navy); margin-bottom: 8px; }
.m-drawer .panel button.m-link { background: none; border: 0; font-family: inherit; text-align: left; font-size: 18px; font-weight: 700; color: var(--arc-vintage-navy); padding: 14px 0; border-bottom: 1px solid var(--border); cursor: pointer; }
.m-drawer .panel .btn { margin-top: 16px; }

/* --------------------------------------------------------------
   Responsive — grids defined after the main @media block
   (placed last so they win the cascade over their base rules)
-------------------------------------------------------------- */
@media (max-width: 1080px) {
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .team-grid.rest { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 920px) {
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .team-grid.rest { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  /* bio layout collapses (base rule lives below the main @media block) */
  .bio-layout { grid-template-columns: 1fr; gap: 28px; }
  .bio-side { position: static; flex-direction: row; gap: 20px; align-items: stretch; }
  .bio-photo { flex: 0 0 38%; max-width: 260px; }
  .bio-side-card { flex: 1; }
  /* footer collapses from 4 columns */
  .footer .top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .team-grid, .team-grid.rest { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr; }
  .ba-grid { grid-template-columns: 1fr; }
  .bio-side { flex-direction: column; align-items: center; }
  .bio-photo { width: 200px; max-width: 60%; flex: none; aspect-ratio: 4 / 5; margin: 0 auto; }
  .bio-side-card { width: 100%; }
  .footer .top { grid-template-columns: 1fr; gap: 28px; }
  .footer .bottom { flex-direction: column; align-items: flex-start; gap: 10px; }
  /* bio typography (base rules live below the main @media block) */
  .bio-hero h1 { font-size: calc(30px * var(--h-scale)); }
  .bio-body p:first-child { font-size: 16.5px; }
}

/* --------------------------------------------------------------
   Square corners on all image blocks (site-wide, no rounding)
   Placed last so it wins the cascade.
-------------------------------------------------------------- */
image-slot,
.r-sm, .r-md, .r-lg,
.gallery-cell,
.ba-cell,
.area-split .map,
.team-card,
.team-card .photo,
.bio-photo,
.bio-card .portrait image-slot,
.lb-stage img {
  border-radius: 0 !important;
}

/* --------------------------------------------------------------
   Static-site element equivalents — the exported .html pages use
   <a> where the app used <button>, and <img> where it used
   <image-slot>. These rules style those; they don't affect the app.
-------------------------------------------------------------- */
.nav .links a { background: none; border: 0; font-family: inherit; color: var(--arc-vintage-navy); font-size: 14px; font-weight: 600; letter-spacing: .005em; padding: 6px 0; position: relative; cursor: pointer; text-decoration: none; }
.nav .links a:hover { color: var(--arc-fabric-red); }
.nav .links a.active { color: var(--arc-vintage-navy); }
.nav .links a.active::after { content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 2px; background: var(--arc-fabric-red); }
.footer .col a { display: block; color: rgba(255,255,255,.82); text-decoration: none; font-size: 14px; margin-bottom: 9px; }
.footer .col a:hover { color: var(--arc-fabric-red); }
.m-drawer .panel a.m-link { background: none; border: 0; font-family: inherit; text-align: left; font-size: 18px; font-weight: 700; color: var(--arc-vintage-navy); padding: 14px 0; border-bottom: 1px solid var(--border); text-decoration: none; display: block; }
.gallery-cell img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ba-cell img { width: 100%; height: 100%; object-fit: cover; display: block; }
.area-split .map img { width: 100%; height: 100%; object-fit: cover; display: block; }
.feature-2 .media img { width: 100%; height: auto; display: block; }
.feature-2.media-lg .media img.wheel-static { aspect-ratio: auto; background: none; }
/* service cards became <a> in the static pages — kill default link colors */
a.svc-card { color: var(--arc-vintage-navy); text-decoration: none; }
a.svc-card:visited { color: var(--arc-vintage-navy); }
a.svc-card h3 { color: var(--arc-vintage-navy); }
a.svc-card p { color: var(--fg-muted); }
a.svc-card .more { color: var(--arc-vintage-navy); }
a.svc-card:hover .more { color: var(--arc-fabric-red); }
/* team cards became <a> in the static about page */
a.team-card { text-decoration: none; color: inherit; display: block; }
a.team-card:visited { color: inherit; }
a.team-card h3 { color: var(--arc-vintage-navy); }
