/* ============================================================
   TAG CPAs — Redesign prototype  ·  "Editorial Hive"
   Structure + language faithfully adopted from Pragmatiq (pragmatiq.pl):
   white canvas, sharp gold blocks, bold high-contrast serif headlines,
   black & white macro photography, big numbers, generous asymmetric
   whitespace, zero rounded corners, zero soft-shadow cards.
   Skinned in TAG's DNA: gold #f5b81f (= Pragmatiq's yellow, and TAG's
   own honey spark), navy #112337, amber #d67729 as a minor accent.
   Type: Inria Serif (display, like the reference) + Inter (body, TAG's font).
   ============================================================ */

:root {
  /* ---- Palette ---- */
  --gold: #f5b81f;          /* THE accent — offset blocks, CTA blocks */
  --gold-deep: #e0a400;
  --amber: #d67729;         /* minor accent (link hover, rules) */
  --navy: #232323;          /* dark gray sections (replaces the old navy) */
  --ink: #141414;           /* near-black text + headlines */
  --ink-soft: #565656;      /* body gray (7:1 on white) */
  --paper: #ffffff;
  --paper-2: #f5f5f4;       /* faint section tint */
  --line: #e3e1dd;          /* hairlines */

  /* ---- Type ---- */
  --font-display: "Inria Serif", Georgia, "Times New Roman", serif;
  --font-sans: "Inter", ui-sans-serif, system-ui, sans-serif;

  --label: 0.78rem;
  --body: clamp(1rem, 0.96rem + 0.2vw, 1.12rem);
  --lead: clamp(1.15rem, 1rem + 0.7vw, 1.5rem);
  --h3: clamp(1.5rem, 1.2rem + 1.4vw, 2.3rem);
  --h2: clamp(2.4rem, 1.5rem + 3.6vw, 4.6rem);
  --hero: clamp(2.3rem, 1.5rem + 2.9vw, 3.9rem);
  --huge: clamp(4rem, 2rem + 9vw, 9rem);   /* big stat numbers */

  --section: clamp(5rem, 3rem + 8vw, 12rem);
  --gutter: clamp(1.25rem, 0.5rem + 4vw, 5.5rem);
  --maxw: 1360px;

  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --dur: 600ms;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-font-smoothing: antialiased; }
body {
  font-family: var(--font-sans);
  font-size: var(--body);
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

h1, h2, h3 { font-family: var(--font-display); font-weight: 700; line-height: 1.02; letter-spacing: -0.015em; text-wrap: balance; }
p { text-wrap: pretty; }

::selection { background: var(--gold); color: var(--ink); }

:focus-visible { outline: 2.5px solid var(--ink); outline-offset: 3px; }
.band--navy :focus-visible, .block-gold :focus-visible { outline-color: var(--ink); }

.skip-link {
  position: absolute; left: 1rem; top: 0.5rem; z-index: 200;
  padding: 0.6rem 1rem; background: var(--ink); color: #fff;
  font-size: 0.85rem; font-weight: 700; transform: translateY(-180%);
  transition: transform var(--dur) var(--ease);
}
.skip-link:focus-visible { transform: none; }

.wrap { width: min(100% - 2 * var(--gutter), var(--maxw)); margin-inline: auto; }

/* ---- Ruled label (Pragmatiq's leading-rule eyebrow) ---- */
.label {
  display: inline-flex; align-items: center; gap: 0.85rem;
  font-size: var(--label); font-weight: 500; color: var(--ink-soft);
  letter-spacing: 0.01em;
}
.label::before { content: ""; width: 38px; height: 1px; background: var(--ink); opacity: 0.55; }
.band--navy .label { color: rgba(255,255,255,0.75); }
.band--navy .label::before { background: var(--gold); opacity: 1; }

/* ---- Long-arrow link ---- */
.arrow {
  display: inline-flex; align-items: center; gap: 0.7rem;
  font-weight: 600; font-size: 0.98rem; color: var(--ink);
  padding-block: 0.3rem;
}
.arrow svg { transition: transform var(--dur) var(--ease); }
.arrow:hover svg { transform: translateX(8px); }
.arrow:hover { color: var(--amber); }
.band--navy .arrow { color: #fff; } .band--navy .arrow:hover { color: var(--gold); }

/* ---- Gold CTA block (sharp rectangle, long arrow) ---- */
.block-gold {
  display: flex; flex-direction: column; justify-content: space-between; gap: 2.5rem;
  background: var(--gold); color: var(--ink);
  padding: clamp(1.6rem, 1rem + 2vw, 2.6rem);
  min-height: 200px; transition: background var(--dur) var(--ease);
}
.block-gold:hover { background: var(--gold-deep); }
.block-gold .arrow { color: var(--ink); font-weight: 700; }
.block-gold strong { font-family: var(--font-display); font-weight: 700; font-size: var(--h3); line-height: 1.05; }

/* ---- Inline button (used in header / hero) ---- */
.btn {
  display: inline-flex; align-items: center; gap: 0.6rem;
  font-family: var(--font-sans); font-weight: 600; font-size: 0.95rem;
  padding: 0.85rem 1.4rem; cursor: pointer; border: 1.5px solid var(--ink);
  background: transparent; color: var(--ink); transition: all 0.2s var(--ease);
  min-height: 46px;
}
.btn svg { transition: transform 0.2s var(--ease); }
.btn:hover svg { transform: translateX(4px); }
.btn--solid { background: var(--gold); border-color: var(--gold); color: var(--ink); font-weight: 700; }
.btn--solid:hover { background: var(--gold-deep); border-color: var(--gold-deep); }
.btn--ghost:hover { background: var(--ink); color: #fff; }
.band--navy .btn { border-color: rgba(255,255,255,0.5); color: #fff; }
.band--navy .btn:hover { background: var(--gold); border-color: var(--gold); color: var(--ink); }

/* B/W editorial imagery */
.bw { filter: grayscale(1) contrast(1.06); transition: filter var(--dur) var(--ease); }
.bw:hover, .group:hover .bw { filter: grayscale(0) contrast(1); }

/* hexagon crop applied across content photography (pointy-top, matches the brand mark) */
.hex-img,
.why__media img, .feature__media img, .svc-hero__media img,
.tcard img, .locations__map img {
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
}

/* ============================================================
   Header
   ============================================================ */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 1.4rem var(--gutter);
  background: rgba(255,255,255,0); transition: all var(--dur) var(--ease);
}
.site-header.is-scrolled { padding-block: 0.85rem; background: #fff; border-bottom: 1px solid var(--line); }
.brand { display: inline-flex; align-items: center; }
.brand img.logo { height: 42px; width: auto; display: block; transition: height var(--dur) var(--ease); }
.site-header.is-scrolled .brand img.logo { height: 34px; }
.brand img.logo--white { display: none; }
.nav { display: flex; align-items: center; gap: 1.7rem; }
.nav a { font-weight: 500; font-size: 0.96rem; position: relative; padding: 0.2rem 0; }
.nav a::after { content: ""; position: absolute; left: 0; bottom: -3px; height: 2px; width: 0; background: var(--gold); transition: width var(--dur) var(--ease); }
.nav a:hover::after, .nav a:focus-visible::after, .nav a[aria-current]::after { width: 100%; }
.header-cta { display: flex; align-items: center; gap: 0.8rem; }
.nav-toggle, .nav-close { display: none; }

/* ============================================================
   Hero  (airy, asymmetric, gold block + serif headline + B/W macro)
   ============================================================ */
.hero { padding-top: clamp(7rem, 5rem + 5vw, 10rem); padding-bottom: var(--section); }
/* full-width headline so lines break naturally (not boxed into a narrow column) */
.hero h1 { font-size: var(--hero); line-height: 1.24; margin: 1.4rem 0 0; max-width: 22ch; text-wrap: balance; }
/* highlight: horizontal padding only + generous line-height so it never covers the line above */
.hero h1 .mark { background: var(--gold); padding: 0 0.12em; box-decoration-break: clone; -webkit-box-decoration-break: clone; }
.hero__grid { display: grid; gap: clamp(2rem, 1rem + 4vw, 4.5rem); align-items: center; grid-template-columns: 1fr; margin-top: clamp(2.4rem, 1.5rem + 3vw, 4rem); }
@media (min-width: 880px) { .hero__grid { grid-template-columns: 1fr 0.92fr; } }
.hero__lead { color: var(--ink-soft); font-size: var(--lead); max-width: 42ch; margin: 0 0 2rem; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 0.9rem; }
/* hexagon-clipped macro image, the honeycomb brand tie */
.hero__media { position: relative; align-self: stretch; min-height: 360px; }
.hero__media .hexframe { position: relative; width: 100%; max-width: 520px; margin-inline: auto; aspect-ratio: 1 / 1.155; }
.hero__media .hexframe img { width: 100%; height: 100%; object-fit: cover; clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%); }
.hero__media .tagblock { position: absolute; left: 50%; bottom: 4%; transform: translateX(-50%); background: var(--gold); color: var(--ink); padding: 0.7rem 1.2rem; font-family: var(--font-display); font-weight: 700; font-size: 1.15rem; white-space: nowrap; }
.hero__media .hc-accent { position: absolute; right: -6%; top: -6%; width: 38%; z-index: -1; color: var(--gold); }
.hero__media .hc-accent .cell { fill: currentColor; }

/* ============================================================
   Honeycomb mesh, the "honey filling the comb" animation.
   Cells fill gold in a staggered wave; loops gently. SVG <use> cells
   carry their own animation-delay set inline in markup.
   ============================================================ */
.honeycomb { display: block; width: 100%; height: auto; color: var(--gold); }
.honeycomb .cell { fill: currentColor; fill-opacity: 0.85; }
/* one-shot fill on scroll-into-view (honey fills the comb, then settles).
   Not an infinite decorative loop, per UX anti-pattern guidance. */
.js-anim .bigmark .honeycomb .cell { fill-opacity: 0.06; }
.js-anim .bigmark.is-in .honeycomb .cell { animation: hc-fill 1.5s var(--ease) forwards; }
@keyframes hc-fill {
  from { fill-opacity: 0.06; }
  to { fill-opacity: 0.85; }
}
/* On dark bands the empty cells read as faint gold strokes */
.band--navy .honeycomb .cell { stroke: var(--gold); stroke-width: 1; }

/* hexagon bullet (replaces checkmarks where the hive voice fits) */
.hexbul { list-style: none; display: grid; gap: 0.7rem; }
.hexbul li { display: flex; gap: 0.75rem; align-items: baseline; }
.hexbul li::before {
  content: ""; flex: none; width: 13px; height: 14px; margin-top: 5px;
  background: var(--gold);
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
}

/* the bee glyph in a CTA buzzes (vibrates) on hover, like a hive */
.btn .bee, .block-gold .bee { transform-origin: center; }
.btn:hover .bee, .block-gold:hover .bee { animation: bee-vibrate 0.085s linear infinite; }
@keyframes bee-vibrate {
  0%   { transform: translate(0, 0) rotate(0deg); }
  20%  { transform: translate(0.7px, -0.6px) rotate(2.2deg); }
  40%  { transform: translate(-0.6px, 0.5px) rotate(-2.4deg); }
  60%  { transform: translate(0.6px, 0.5px) rotate(1.6deg); }
  80%  { transform: translate(-0.5px, -0.4px) rotate(-1.4deg); }
  100% { transform: translate(0, 0) rotate(0deg); }
}
@media (prefers-reduced-motion: reduce) { .btn:hover .bee, .block-gold:hover .bee { animation: none; } }

/* trust strip */
.trust { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem 1rem; margin-top: clamp(3rem, 2rem + 4vw, 5rem); border-top: 1px solid var(--line); padding-top: 2.4rem; }
@media (min-width: 720px) { .trust { grid-template-columns: repeat(4, 1fr); } }
.trust b { display: block; font-family: var(--font-display); font-weight: 700; font-size: clamp(2rem, 1.4rem + 2vw, 3rem); line-height: 1; }
.trust span { display: block; margin-top: 0.5rem; font-size: 0.85rem; color: var(--ink-soft); max-width: 22ch; }

/* ---- Credentials / proof strip (Trust & Authority pattern, section 2) ---- */
.creds { border-block: 1px solid var(--ink); }
.creds__inner { display: grid; gap: clamp(1.5rem, 1rem + 2vw, 3rem); align-items: center; grid-template-columns: 1fr; padding-block: clamp(2rem, 1.2rem + 2vw, 3.2rem); }
@media (min-width: 880px) { .creds__inner { grid-template-columns: 0.8fr 1.2fr; } }
.creds__lead h2 { font-size: var(--h3); font-weight: 300; margin-top: 1rem; }
.creds__row { list-style: none; display: grid; grid-template-columns: repeat(2, 1fr); gap: 0; }
@media (min-width: 620px) { .creds__row { grid-template-columns: repeat(4, 1fr); } }
.creds__row li { padding: 0.4rem 1.1rem; border-left: 1px solid var(--line); position: relative; }
.creds__row li:first-child { border-left: none; padding-left: 0; }
.creds__row b { display: flex; align-items: center; gap: 0.5rem; font-family: var(--font-display); font-weight: 700; font-size: 1.15rem; line-height: 1.1; }
.creds__row b::before { content: ""; flex: none; width: 12px; height: 13px; background: var(--gold); clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%); }
.creds__row span { display: block; margin-top: 0.4rem; font-size: 0.8rem; color: var(--ink-soft); }

/* footer certification badges (white logos on dark) */
.footer-certs { margin-top: 1.4rem; }
.footer-certs img { height: 46px; width: auto; opacity: 0.92; }

/* ---- Testimonials (social proof before CTA) ---- */
.quotes { border-top: 1px solid var(--ink); margin-top: clamp(2rem, 1rem + 3vw, 4rem); }
.quotes blockquote { margin: 0; padding: clamp(1.6rem, 1rem + 2vw, 2.8rem) 0; border-bottom: 1px solid var(--line); display: grid; gap: 1.2rem; }
@media (min-width: 820px) { .quotes blockquote { grid-template-columns: 1fr 24ch; gap: 3rem; align-items: start; } }
.quotes p { font-family: var(--font-display); font-weight: 300; font-size: clamp(1.3rem, 1rem + 1.3vw, 1.95rem); line-height: 1.28; }
.quotes p .markq { font-style: italic; color: var(--gold-text); }
.quotes cite { font-style: normal; color: var(--ink-soft); font-size: 0.88rem; line-height: 1.5; }
.quotes cite b { display: block; color: var(--ink); font-family: var(--font-sans); font-weight: 600; font-size: 0.96rem; margin-bottom: 0.15rem; }

/* ============================================================
   Generic section + the signature Pragmatiq two-column editorial row
   ============================================================ */
.section { padding-block: var(--section); }
.section--tint { background: var(--paper-2); }

.editorial { display: grid; gap: clamp(2rem, 1rem + 4vw, 5rem); grid-template-columns: 1fr; }
@media (min-width: 940px) { .editorial { grid-template-columns: 1.2fr 0.8fr; align-items: start; } }
.editorial__head h2 { font-size: var(--h2); margin-top: 1.4rem; }
.editorial__aside { display: flex; flex-direction: column; gap: 1.4rem; }
.editorial__aside p { color: var(--ink-soft); }

/* big number stat */
.stat-huge { font-family: var(--font-display); font-weight: 700; font-size: var(--huge); line-height: 0.92; letter-spacing: -0.03em; }
.stat-huge + .cap { color: var(--ink-soft); font-size: 0.95rem; margin-top: 0.6rem; }

/* ============================================================
   Services — editorial list rows, NOT cards
   ============================================================ */
.svc-list { border-top: 1px solid var(--line); margin-top: clamp(2rem, 1rem + 3vw, 4rem); }
.svc-row {
  display: grid; gap: 0.6rem 2rem; align-items: baseline;
  grid-template-columns: auto 1fr; padding: clamp(1.4rem, 1rem + 1.5vw, 2.4rem) 0;
  border-bottom: 1px solid var(--line); position: relative;
  transition: background var(--dur) var(--ease), padding-left var(--dur) var(--ease);
}
@media (min-width: 800px) { .svc-row { grid-template-columns: 4rem minmax(0, 22ch) 1fr auto; } }
.svc-row:hover { background: var(--gold); padding-left: 1.2rem; }
.svc-row__no { font-family: var(--font-sans); font-weight: 600; font-size: 0.85rem; color: var(--ink-soft); }
.svc-row:hover .svc-row__no { color: var(--ink); }
.svc-row h3 { font-size: clamp(1.3rem, 1rem + 1.2vw, 1.9rem); font-weight: 700; }
.svc-row p { color: var(--ink-soft); font-size: 0.96rem; }
.svc-row:hover p { color: var(--ink); }
.svc-row__cta { display: inline-flex; align-items: center; gap: 0.5rem; font-weight: 600; font-size: 0.9rem; white-space: nowrap; }
.svc-row__cta svg { transition: transform var(--dur) var(--ease); }
.svc-row:hover .svc-row__cta svg { transform: translateX(6px); }

/* ============================================================
   Pillars / why — alternating editorial blocks with B/W media
   ============================================================ */
.why { display: grid; gap: clamp(2.5rem, 1.5rem + 4vw, 5rem); }
.why__row { display: grid; gap: clamp(1.5rem, 1rem + 3vw, 4rem); align-items: center; grid-template-columns: 1fr; }
@media (min-width: 860px) {
  .why__row { grid-template-columns: 1fr 1fr; }
  .why__row:nth-child(even) .why__media { order: 2; }
}
.why__media { position: relative; }
.why__media img { width: 100%; height: auto; aspect-ratio: 1 / 1.155; object-fit: cover; }
.why__media .num { position: absolute; left: 50%; bottom: 6%; transform: translateX(-50%); background: var(--gold); color: var(--ink); font-family: var(--font-display); font-weight: 700; font-size: 1.05rem; padding: 0.25rem 0.7rem; }
.why__body h3 { font-size: var(--h3); }
.why__body p { color: var(--ink-soft); margin-top: 1rem; max-width: 46ch; }

/* ============================================================
   Bands (navy signature / CTA)
   ============================================================ */
/* navy band: a subtle gradient carries the content contrast; the honeycomb sits on top, faint */
.band--navy { color: #fff; position: relative; isolation: isolate;
  background: linear-gradient(155deg, #2e2e2e 0%, #222222 55%, #1a1a1a 100%); }
.band--navy h2 { color: #fff; }
.band--navy > .wrap { position: relative; z-index: 1; }

/* aligned honeycomb grid overlay (faint, hex lattice; the section gradient shows through) */
.hive { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; display: block; }

/* flying bees (brand bee SVG; Lévy-flight motion is driven entirely in JS) */
.bee-layer { position: fixed; inset: 0; z-index: 60; pointer-events: none; overflow: hidden; }
.bee-layer .bee { position: fixed; top: 0; left: 0; width: 26px; height: 26px; opacity: 0; will-change: transform; color: var(--ink); }
.bee-layer .bee svg { width: 100%; height: 100%; display: block; }
.bee-layer .bee svg path { fill: currentColor; }
.bee-layer .bee--gold { color: var(--gold-deep); }
@media (prefers-reduced-motion: reduce) { .bee-layer { display: none; } }

/* decorative honeycomb behind each hex image (injected + randomised + animated in effects.js) */
.why__media, .feature__media, .svc-hero__media, .locations__map { position: relative; }
.why__media img, .feature__media img, .svc-hero__media img, .locations__map img { position: relative; z-index: 1; }
.hc-deco { position: absolute; z-index: 0; pointer-events: none; color: var(--gold); overflow: visible; }
.hc-deco .dcell { fill: currentColor; fill-opacity: 0; transition: fill-opacity 0.8s var(--ease); }
@media (prefers-reduced-motion: reduce) { .hc-deco .dcell { transition: none; } }
.feature { display: grid; gap: clamp(2rem, 1rem + 4vw, 4.5rem); align-items: center; grid-template-columns: 1fr; }
@media (min-width: 920px) { .feature { grid-template-columns: 0.95fr 1.05fr; } }
.feature__media img { width: 100%; height: auto; aspect-ratio: 1 / 1.155; object-fit: cover; }
.feature h2 { font-size: var(--h2); }
.feature p { color: rgba(255,255,255,0.82); margin-top: 1.2rem; font-size: var(--lead); }
.feature ul { list-style: none; margin: 1.6rem 0 2rem; display: grid; gap: 0.7rem; }
.feature li { display: flex; gap: 0.7rem; color: rgba(255,255,255,0.9); }
.feature li svg { color: var(--gold); flex: none; margin-top: 5px; }

/* big hex graphic mark (TAG's answer to Pragmatiq's X) */
.bigmark { display: grid; place-items: center; padding-block: clamp(3rem, 2rem + 4vw, 6rem); }
.bigmark svg { width: min(60vw, 360px); height: auto; color: var(--gold); }

/* ============================================================
   Locations
   ============================================================ */
.locations { display: grid; gap: clamp(2rem, 1rem + 4vw, 4rem); grid-template-columns: 1fr; align-items: start; }
@media (min-width: 880px) { .locations { grid-template-columns: 1fr 1fr; } }
.loc-grid { display: grid; gap: 0; }
.loc { border-top: 1px solid var(--line); padding: 1.6rem 0; }
.loc:last-child { border-bottom: 1px solid var(--line); }
.loc h3 { font-size: 1.5rem; font-weight: 700; }
.loc address { font-style: normal; color: var(--ink-soft); margin-top: 0.6rem; line-height: 1.7; }
.loc a.tel { display: inline-block; margin-top: 0.7rem; font-weight: 700; border-bottom: 2px solid var(--gold); }
.locations__map img { width: 100%; height: auto; aspect-ratio: 1 / 1.155; object-fit: cover; }

/* ============================================================
   Footer
   ============================================================ */
.site-footer { background: var(--ink); color: #cfcdc9; padding-block: clamp(3.5rem, 2rem + 5vw, 6rem) 2rem; }
.footer-grid { display: grid; gap: 2.6rem; grid-template-columns: 1fr; }
@media (min-width: 760px) { .footer-grid { grid-template-columns: 1.6fr 1fr 1fr 1.2fr; } }
.footer-grid h4 { font-family: var(--font-sans); font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.16em; color: var(--gold); margin-bottom: 1.1rem; }
.footer-grid a { display: block; padding: 0.3rem 0; color: #c7c5c1; min-height: 30px; }
.footer-grid a:hover { color: #fff; }
.footer-brand .brand { color: #fff; margin-bottom: 1rem; }
.footer-brand .brand small { color: #8d8a85; }
.footer-brand p { color: #97948f; max-width: 34ch; }
.footer-bottom { margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,0.12); display: flex; flex-wrap: wrap; gap: 0.6rem 1.5rem; justify-content: space-between; font-size: 0.82rem; color: #8d8a85; }

/* ============================================================
   Service page
   ============================================================ */
.crumbs { font-size: 0.85rem; color: var(--ink-soft); display: flex; gap: 0.5rem; flex-wrap: wrap; }
.crumbs a:hover { color: var(--amber); } .crumbs span { opacity: 0.5; }
.svc-hero { padding-top: clamp(8rem, 6rem + 6vw, 11rem); padding-bottom: clamp(3rem, 2rem + 3vw, 5rem); }
.svc-hero h1 { font-size: clamp(2.6rem, 1.4rem + 4.4vw, 5rem); margin: 1.2rem 0 1.4rem; }
.svc-hero h1 .mark { background: var(--gold); padding: 0 0.1em; box-decoration-break: clone; -webkit-box-decoration-break: clone; }
.svc-hero__lead { color: var(--ink-soft); font-size: var(--lead); max-width: 50ch; }
.svc-hero__media { margin-top: clamp(2rem, 1rem + 3vw, 3.5rem); }
.svc-hero__media { width: fit-content; max-width: 100%; margin-inline: auto; }
.svc-hero__media img { width: 460px; max-width: 100%; height: auto; aspect-ratio: 1 / 1.155; object-fit: cover; }

.svc-layout { display: grid; gap: clamp(2rem, 1rem + 4vw, 4rem); }
@media (min-width: 980px) { .svc-layout { grid-template-columns: 1fr 360px; align-items: start; } }
.prose { max-width: 66ch; }
.prose h2 { font-size: var(--h3); margin: 2.4rem 0 0.8rem; font-weight: 700; }
.prose h2:first-child { margin-top: 0; }
.prose p { margin-top: 0.9rem; color: var(--ink); }
.specialty { display: grid; gap: 0; margin-top: 1.2rem; border-top: 1px solid var(--line); }
.specialty div { display: flex; gap: 0.7rem; padding: 0.85rem 0; border-bottom: 1px solid var(--line); font-size: 0.97rem; align-items: baseline; }
.specialty svg { color: var(--amber); flex: none; }

.team-mini { display: grid; gap: 0; margin-top: 1.4rem; border-top: 1px solid var(--line); }
.tcard { display: flex; gap: 1.1rem; align-items: center; padding: 1.1rem 0; border-bottom: 1px solid var(--line); }
.tcard img { width: 72px; height: 72px; object-fit: cover; flex: none; }
.tcard b { display: block; font-family: var(--font-display); font-size: 1.15rem; font-weight: 700; }
.tcard span { font-size: 0.86rem; color: var(--ink-soft); }

.faq { display: grid; gap: 0; max-width: 760px; border-top: 1px solid var(--ink); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; font-weight: 700; font-family: var(--font-display); font-size: 1.15rem; padding: 1.1rem 0; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; width: 16px; height: 16px; flex: none; background: var(--ink); clip-path: polygon(43% 0,57% 0,57% 43%,100% 43%,100% 57%,57% 57%,57% 100%,43% 100%,43% 57%,0 57%,0 43%,43% 43%); transition: transform var(--dur) var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq p { padding: 0 0 1.2rem; color: var(--ink-soft); }

.aside-cta { background: var(--gold); color: var(--ink); padding: 1.8rem; }
@media (min-width: 980px) { .aside-cta { position: sticky; top: 100px; } }
.aside-cta h3 { font-size: 1.5rem; font-weight: 700; }
.aside-cta p { margin: 0.7rem 0 1.3rem; font-size: 0.95rem; }
.aside-cta .btn { width: 100%; justify-content: center; border-color: var(--ink); }
.aside-cta .btn--fill { background: var(--ink); color: #fff; }
.aside-cta .btn--fill:hover { background: var(--navy); }

/* ============================================================
   Motion (progressive enhancement, opt-in, reduced-motion safe)
   ============================================================ */
.js-anim .reveal { opacity: 0; transform: translateY(26px); }
.js-anim .reveal.is-in { opacity: 1; transform: none; transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease); }
.js-anim .reveal-stagger > * { opacity: 0; transform: translateY(22px); }
.js-anim .reveal-stagger.is-in > * { opacity: 1; transform: none; transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease); }
.js-anim .reveal-stagger.is-in > *:nth-child(2) { transition-delay: 90ms; }
.js-anim .reveal-stagger.is-in > *:nth-child(3) { transition-delay: 180ms; }
.js-anim .reveal-stagger.is-in > *:nth-child(4) { transition-delay: 270ms; }
.js-anim .reveal-stagger.is-in > *:nth-child(5) { transition-delay: 360ms; }
.js-anim .reveal-stagger.is-in > *:nth-child(6) { transition-delay: 450ms; }
.js-anim .reveal-stagger.is-in > *:nth-child(7) { transition-delay: 540ms; }

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; }
  .js-anim .reveal, .js-anim .reveal-stagger > * { opacity: 1 !important; transform: none !important; }
  .js-anim .honeycomb .cell, .js-anim .bigmark .honeycomb .cell { animation: none !important; fill-opacity: 0.85 !important; }
  .bw { transition: none; }
}

/* ============================================================
   Mobile nav
   ============================================================ */
@media (max-width: 940px) {
  .nav, .header-cta .btn { display: none; }
  .nav-toggle { display: inline-flex; align-items: center; justify-content: center; width: 46px; height: 46px; border: 1.5px solid var(--ink); background: #fff; cursor: pointer; color: var(--ink); }
  .site-header.is-scrolled { background: #fff; }
  .nav.is-open { display: flex; position: fixed; inset: 0; z-index: 150; flex-direction: column; align-items: flex-start; justify-content: center; gap: 1.3rem; padding: 2rem var(--gutter); background: #fff; }
  .nav.is-open a { font-family: var(--font-display); font-weight: 700; font-size: clamp(1.8rem, 1rem + 5vw, 2.6rem); }
  .nav-close { position: fixed; top: 1.2rem; right: var(--gutter); z-index: 160; width: 46px; height: 46px; border: 1.5px solid var(--ink); background: #fff; cursor: pointer; }
  .nav.is-open ~ .nav-close { display: inline-flex; align-items: center; justify-content: center; }
}
