/* Vectis Forensic Engineering: public site styles */

/* ---------- Theme tokens ---------- */
:root,
:root[data-vtheme="survey"] {
  --bg: #F3F1EC;          /* Drafting Paper */
  --ink: #15191E;         /* Graphite Ink */
  --accent: #E0561C;      /* Survey Orange, graphics and fills */
  --accent-ink: #A9410F;  /* Survey Orange darkened for text on paper */
  --on-accent: #15191E;
  --muted: #545F69;       /* Steel, deepened slightly for small text */
  --line: #5E6A75;        /* Steel */
  --rule: #C9CFD4;        /* Grid */
  --grid: #C9CFD4;
  --measure: #5E6A75;
  --road: #E7E4DD;
  --panel: #ECE9E2;
  color-scheme: light;
}
:root[data-vtheme="asphalt"] {
  --bg: #1B2026;          /* Asphalt */
  --ink: #F1F1EC;         /* Lane White */
  --accent: #F2B705;      /* Centre Yellow */
  --accent-ink: #F2B705;
  --on-accent: #1B2026;
  --muted: #A3AEB9;       /* Kerb Grey, lifted for small text */
  --line: #8A96A3;        /* Kerb Grey */
  --rule: #3D4752;        /* Wet Slate */
  --grid: #3D4752;
  --measure: #8A96A3;
  --road: #232A32;
  --panel: #20262D;
  color-scheme: dark;
}
:root[data-vtheme="petrol"] {
  --bg: #0F2A32;          /* Petrol */
  --ink: #EEF2F0;         /* Chalk */
  --accent: #C8342B;      /* Impact Red, graphics and fills */
  --accent-ink: #F07A6E;  /* Impact Red lifted for text on petrol */
  --on-accent: #EEF2F0;
  --muted: #9DB3B8;
  --line: #5D7A80;        /* Tide */
  --rule: #2C4A52;
  --grid: #24434B;
  --measure: #2BB3B1;     /* Measure Cyan */
  --road: #133640;
  --panel: #12313A;
  color-scheme: dark;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Source Serif 4", Georgia, "Times New Roman", serif;
  font-size: 1.125rem;
  line-height: 1.65;
  font-optical-sizing: auto;
  overflow-x: hidden;
  text-rendering: optimizeLegibility;
}
h1, h2, h3, .sans { font-family: "Overpass", "Helvetica Neue", Arial, sans-serif; }
h1, h2, h3 { margin: 0; color: var(--ink); }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
a { color: var(--accent-ink); text-underline-offset: 0.18em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--accent-ink); outline-offset: 3px; border-radius: 2px; }
svg { display: block; }
.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 50; background: var(--ink); color: var(--bg); padding: 10px 14px; font-family: "Overpass", sans-serif; font-weight: 700; text-decoration: none; }
.skip:focus { top: 12px; }

.mono { font-family: "Overpass Mono", ui-monospace, Menlo, monospace; }

/* ---------- Masthead ---------- */
.masthead {
  position: sticky; top: 0; z-index: 20;
  background: var(--bg);
  border-bottom: 1px solid var(--rule);
}
.masthead__inner {
  max-width: 1320px; margin: 0 auto;
  padding: 0 clamp(16px, 3vw, 40px);
  height: 72px;
  display: flex; align-items: center; gap: 28px;
}
.brand { display: flex; align-items: center; gap: 11px; color: var(--ink); text-decoration: none; flex: none; }
.brand__mark { width: 34px; height: 34px; color: var(--ink); flex: none; }
.brand__words { display: flex; flex-direction: column; line-height: 1; }
.brand__name { font-family: "Overpass", sans-serif; font-weight: 800; font-size: 1.32rem; letter-spacing: 0.16em; }
.brand__sub { font-family: "Overpass", sans-serif; font-weight: 600; font-size: 0.72rem; letter-spacing: 0.04em; color: var(--muted); margin-top: 4px; }

.sitenav { margin-left: auto; }
.sitenav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 2px; }
.sitenav a {
  display: block; padding: 8px 10px;
  font-family: "Overpass", sans-serif; font-weight: 600; font-size: 0.9rem;
  color: var(--ink); text-decoration: none; border-bottom: 2px solid transparent;
}
.sitenav a:hover { border-bottom-color: var(--accent); }

.masthead__tools { display: flex; align-items: center; gap: 18px; flex: none; }
.themes { display: flex; border: 1px solid var(--rule); padding: 3px; gap: 3px; border-radius: 3px; }
.chip {
  appearance: none; border: 0; background: transparent; padding: 4px; margin: 0;
  cursor: pointer; border-radius: 2px; line-height: 0;
}
.chip[aria-pressed="true"] { background: var(--ink); }
.chip__swatch { display: block; width: 18px; height: 18px; border-radius: 1px; }
.chip__swatch--survey { background: linear-gradient(135deg, #F3F1EC 0 54%, #E0561C 54% 100%); box-shadow: inset 0 0 0 1px #15191E; }
.chip__swatch--asphalt { background: linear-gradient(135deg, #1B2026 0 54%, #F2B705 54% 100%); box-shadow: inset 0 0 0 1px #8A96A3; }
.chip__swatch--petrol { background: linear-gradient(135deg, #0F2A32 0 54%, #C8342B 54% 100%); box-shadow: inset 0 0 0 1px #5D7A80; }
.chip:hover:not([aria-pressed="true"]) { background: var(--panel); }

.navtoggle {
  display: none; margin-left: auto;
  appearance: none; background: transparent; color: var(--ink);
  border: 1px solid var(--line); border-radius: 3px;
  font-family: "Overpass", sans-serif; font-weight: 700; font-size: 0.9rem;
  padding: 7px 12px 5px; cursor: pointer;
}

@media (max-width: 1100px) {
  .navtoggle { display: block; }
  .masthead__tools { margin-left: 0; }
  .sitenav {
    position: absolute; left: 0; right: 0; top: 72px;
    background: var(--bg); border-bottom: 1px solid var(--rule);
    display: none; margin: 0;
  }
  .sitenav.is-open { display: block; }
  .sitenav ul { flex-direction: column; padding: 8px clamp(16px, 3vw, 40px) 16px; }
  .sitenav a { padding: 12px 0; font-size: 1.05rem; border-bottom: 1px solid var(--rule); }
  .sitenav li:last-child a { border-bottom: 0; }
}
@media (max-width: 480px) {
  .masthead__inner { gap: 10px; height: 64px; }
  .sitenav { top: 64px; }
  .brand__mark { width: 28px; height: 28px; }
  .brand__name { font-size: 1.08rem; letter-spacing: 0.12em; }
  .brand__sub { font-size: 0.64rem; }
  .brand { gap: 8px; }
  .themes { padding: 2px; gap: 1px; }
  .chip { padding: 3px; }
  .chip__swatch { width: 16px; height: 16px; }
  .navtoggle { padding: 6px 9px 4px; font-size: 0.85rem; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  font-family: "Overpass", sans-serif; font-weight: 700; font-size: 1rem; line-height: 1;
  padding: 15px 22px 13px;
  text-decoration: none; border-radius: 2px;
  border: 1.5px solid transparent;
  cursor: pointer;
}
.btn--solid { background: var(--accent); color: var(--on-accent); border-color: var(--accent); }
.btn--solid:hover { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.btn--line { color: var(--ink); border-color: var(--ink); }
.btn--line:hover { background: var(--ink); color: var(--bg); }
.btn[disabled], .btn[disabled]:hover {
  background: transparent; color: var(--muted);
  border: 1.5px dashed var(--line); cursor: not-allowed;
}

/* ---------- Hero: drawing sheet ---------- */
.hero { padding: clamp(16px, 2.4vw, 32px) clamp(16px, 3vw, 40px) 0; }
.sheet {
  position: relative;
  max-width: 1320px; margin: 0 auto;
  border: 1px solid var(--line);
  padding: 22px;
}
.sheet::before {
  content: ""; position: absolute; inset: 22px;
  border: 1.5px solid var(--ink); pointer-events: none;
}
.sheet__zones { position: absolute; display: flex; font-family: "Overpass Mono", monospace; font-size: 0.7rem; color: var(--muted); }
.sheet__zones span { flex: 1; text-align: center; position: relative; }
.sheet__zones--top { top: 0; left: 22px; right: 22px; height: 22px; align-items: center; }
.sheet__zones--top span + span::before { content: ""; position: absolute; left: 0; top: 4px; height: 14px; border-left: 1px solid var(--line); }
.sheet__zones--side { top: 22px; bottom: 22px; left: 0; width: 22px; flex-direction: column; }
.sheet__zones--side span { display: flex; align-items: center; justify-content: center; }
.sheet__zones--side span + span::before { content: ""; position: absolute; top: 0; left: 4px; width: 14px; border-top: 1px solid var(--line); }

.sheet > .hero__text, .sheet > .hero__figure { position: relative; }
.sheet {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-areas: "text" "fig";
}
.hero__text {
  grid-area: text;
  padding: clamp(28px, 4vw, 64px) clamp(20px, 3.6vw, 56px) clamp(8px, 1.5vw, 20px);
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 22px;
}
.hero h1 {
  font-weight: 800;
  font-size: clamp(2.35rem, 5.4vw, 4.9rem);
  line-height: 1.0;
  letter-spacing: -0.025em;
  max-width: 17ch;
  text-wrap: balance;
}
.hero__lead { font-size: clamp(1.1rem, 1.4vw, 1.25rem); line-height: 1.6; max-width: 40ch; margin: 0; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 6px 0 0; }

.hero__figure { grid-area: fig; margin: 0; padding: 0 clamp(20px, 3.6vw, 56px) clamp(20px, 3vw, 44px); }
.hero__figure figcaption { font-family: "Overpass", sans-serif; font-size: 0.82rem; color: var(--muted); margin-top: 10px; }

@media (min-width: 1000px) {
  .sheet {
    grid-template-columns: minmax(0, 4.7fr) minmax(0, 7.3fr);
    grid-template-areas: "text fig";
    align-items: start;
  }
  .hero__text { padding-right: 0; padding-top: clamp(40px, 5vw, 72px); }
  .hero h1 { font-size: clamp(2.6rem, 3.9vw, 4.1rem); max-width: 12.5ch; }
  .hero__figure { padding: clamp(28px, 3.4vw, 48px) clamp(20px, 3vw, 44px) 32px clamp(12px, 2vw, 28px); }
}

/* plan drawing */
.plan { width: 100%; height: auto; overflow: hidden; }
.plan text { font-family: "Overpass Mono", ui-monospace, monospace; }
.g-fine { fill: none; stroke: var(--grid); stroke-width: 0.6; opacity: 0.55; }
.g-major { fill: none; stroke: var(--grid); stroke-width: 1; }
.road-fill { fill: var(--road); }
.road-edge { fill: none; stroke: var(--ink); stroke-width: 1.8; }
.road-centre { fill: none; stroke: var(--ink); stroke-width: 1.3; stroke-dasharray: 16 12; opacity: 0.7; }
.road-giveway { fill: none; stroke: var(--ink); stroke-width: 3; stroke-dasharray: 6 4; opacity: 0.7; }
.traj { fill: none; stroke: var(--accent); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.traj--post { stroke-width: 2; opacity: 0.85; }
.ticks circle { fill: var(--bg); stroke: var(--accent); stroke-width: 2; }
.labels text { font-size: 12.5px; letter-spacing: 0.06em; fill: var(--muted); font-weight: 600; }
.rest rect { fill: var(--bg); stroke: var(--accent); stroke-width: 2; }
.labels .lab-strong { fill: var(--ink); font-size: 14px; }
.legend text { font-size: 11px; fill: var(--muted); letter-spacing: 0.05em; font-weight: 600; }
.legend__rest { fill: var(--bg); stroke: var(--accent); stroke-width: 1.8; }
.legend__rp { fill: none; stroke: var(--measure); stroke-width: 1.5; }
.rp path { fill: none; stroke: var(--measure); stroke-width: 1.6; }
.rp circle { fill: var(--measure); }
.rp text { font-size: 13px; fill: var(--measure); font-weight: 600; }
.dim__ext { fill: none; stroke: var(--measure); stroke-width: 0.9; stroke-dasharray: 3 3; }
.dim__line { fill: none; stroke: var(--measure); stroke-width: 1.2; }
.dim__tick { fill: none; stroke: var(--measure); stroke-width: 2; }
.dim__mask { fill: var(--bg); }
.dim__text { font-size: 14px; fill: var(--measure); font-weight: 600; }
.aoi__ring { fill: none; stroke: var(--accent); stroke-width: 2.2; }
.aoi__dot { fill: var(--accent); }
.aoi__cross, .aoi__leader { fill: none; stroke: var(--ink); stroke-width: 1; }
.aoi__text { font-size: 13px; fill: var(--ink); font-weight: 600; letter-spacing: 0.05em; }
.north__ring { fill: none; stroke: var(--ink); stroke-width: 1.2; }
.north__arrow { fill: var(--ink); }
.north text { font-size: 13px; fill: var(--ink); font-weight: 600; }
.scale__fill { fill: var(--ink); }
.scale__open { fill: var(--bg); }
.scale__frame { fill: none; stroke: var(--ink); stroke-width: 1.2; }
.scale text { font-size: 12px; fill: var(--ink); }
.tblock__frame { fill: var(--bg); stroke: var(--ink); stroke-width: 1.4; }
.tblock__rule { fill: none; stroke: var(--ink); stroke-width: 0.9; }
.tblock text { font-size: 11px; fill: var(--ink); letter-spacing: 0.04em; }
.tblock .tblock__strong { font-weight: 600; font-size: 12px; }

/* the one orchestrated motion: the drawing is plotted on load */
@media (prefers-reduced-motion: no-preference) {
  .plan .traj { stroke-dasharray: 1; stroke-dashoffset: 1; animation: plot 1.3s cubic-bezier(.45,.05,.3,1) forwards; }
  .plan .traj--a { animation-delay: .25s; }
  .plan .traj--b { animation-delay: .55s; }
  .plan .traj--post { animation-duration: .7s; animation-delay: 2.05s; }
  .plan .ticks, .plan .labels { opacity: 0; animation: appear .5s ease forwards 1.4s; }
  .plan .aoi { opacity: 0; transform-origin: 528px 204px; transform-box: view-box; animation: mark .5s cubic-bezier(.2,.8,.3,1.2) forwards 1.85s; }
  .plan .rest, .plan .legend { opacity: 0; animation: appear .4s ease forwards 2.6s; }
  .plan .dim, .plan .rp { opacity: 0; animation: appear .6s ease forwards 2.8s; }
}
@keyframes plot { to { stroke-dashoffset: 0; } }
@keyframes appear { to { opacity: 1; } }
@keyframes mark { from { opacity: 0; transform: scale(1.8); } to { opacity: 1; transform: scale(1); } }

/* ---------- Bands (page sections) ---------- */
.band {
  position: relative;
  max-width: 1320px; margin: 0 auto;
  padding: clamp(64px, 8vw, 112px) clamp(16px, 3vw, 40px);
  display: grid; grid-template-columns: minmax(0, 1fr);
  gap: 28px 56px;
}
/* each section opens on a dimension line: a rule with end ticks */
.band::before {
  content: ""; position: absolute; top: 0;
  left: clamp(16px, 3vw, 40px); right: clamp(16px, 3vw, 40px);
  border-top: 1px solid var(--line);
}
.band::after {
  content: ""; position: absolute; top: -7px; height: 14px;
  left: clamp(16px, 3vw, 40px); right: clamp(16px, 3vw, 40px);
  border-left: 1.5px solid var(--line); border-right: 1.5px solid var(--line);
  pointer-events: none;
}
.hero + .band::before, .hero + .band::after { display: none; }

.band__head h2 {
  font-weight: 800;
  font-size: clamp(1.8rem, 2.8vw, 2.5rem);
  line-height: 1.08;
  letter-spacing: -0.015em;
}
.band__note { font-style: italic; color: var(--muted); margin-top: 12px; max-width: 30ch; font-size: 1.05rem; line-height: 1.5; }
.band__body { min-width: 0; }

@media (min-width: 900px) {
  .band { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); }
  .band__head { position: sticky; top: 112px; align-self: start; }
}

.prose p { max-width: 62ch; }
.lede {
  font-family: "Overpass", sans-serif; font-weight: 700;
  font-size: clamp(1.35rem, 2vw, 1.7rem); line-height: 1.3; letter-spacing: -0.01em;
  max-width: 30ch;
  margin-bottom: 1.1em;
}

/* how we work */
.rules { margin: 0; display: grid; grid-template-columns: minmax(0, 1fr); gap: 40px 48px; }
@media (min-width: 720px) { .rules { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.rule { border-top: 3px solid var(--ink); padding-top: 18px; }
.rule dt { font-family: "Overpass", sans-serif; font-weight: 700; font-size: 1.22rem; line-height: 1.25; margin-bottom: 10px; }
.rule dd { margin: 0; }
.rule dd p { margin-bottom: 0.8em; }

.range { margin: 18px 0 0; padding: 14px 14px 12px; background: var(--panel); border-left: 3px solid var(--accent); }
.range svg { width: 100%; max-width: 380px; height: auto; }
.range text { font-family: "Overpass Mono", monospace; font-size: 18px; fill: var(--ink); }
.range .range__bestlabel { font-weight: 600; }
.range__axis { stroke: var(--line); stroke-width: 1.5; fill: none; }
.range__minor { stroke: var(--line); stroke-width: 1; fill: none; }
.range__band { fill: var(--accent); opacity: 0.35; }
.range__best { stroke: var(--ink); stroke-width: 2.5; }
.range figcaption { font-family: "Overpass", sans-serif; font-size: 0.85rem; line-height: 1.45; color: var(--muted); margin-top: 6px; }

/* services */
.services { list-style: none; margin: 0; padding: 0; border-bottom: 1px solid var(--rule); }
.service {
  display: grid; grid-template-columns: minmax(0, 1fr); gap: 6px 40px;
  padding: 24px 0 26px; border-top: 1px solid var(--rule);
}
.service h3 { font-weight: 700; font-size: 1.3rem; line-height: 1.25; letter-spacing: -0.005em; }
.service h3::before {
  content: ""; display: inline-block; width: 10px; height: 10px;
  border: 2px solid var(--accent); border-radius: 50%;
  margin-right: 12px; vertical-align: 0.1em;
}
.service p { margin: 0; max-width: 54ch; }
@media (min-width: 720px) { .service { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); } }

/* toolset */
.bench {
  margin-top: 40px;
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px; background: var(--line); border: 1px solid var(--line);
}
@media (min-width: 1100px) { .bench { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.bench__cell { background: var(--bg); padding: 18px 18px 20px; }
.bench__cell svg { width: 100%; height: auto; aspect-ratio: 16 / 10; margin-bottom: 14px; background: var(--panel); }
.bench__cell h3 { font-size: 1.02rem; font-weight: 700; line-height: 1.25; }
.bench__cell p { font-size: 0.95rem; line-height: 1.45; color: var(--muted); margin-top: 4px; }
.b-road { fill: none; stroke: var(--ink); stroke-width: 1.6; }
.b-dash { fill: none; stroke: var(--line); stroke-width: 1.2; stroke-dasharray: 5 4; }
.b-accent { fill: none; stroke: var(--accent); stroke-width: 2.6; }
.b-dot { fill: var(--accent); }
.b-band { fill: var(--accent); opacity: 0.35; }
.b-steps circle { fill: var(--bg); stroke: var(--accent); stroke-width: 1.6; }
.b-formula { font-family: "Overpass Mono", monospace; font-size: 15px; fill: var(--ink); font-weight: 600; }
@media (max-width: 520px) {
  .bench__cell { padding: 12px 12px 14px; }
  .bench__cell svg { margin-bottom: 10px; }
  .bench__cell h3 { font-size: 0.95rem; }
  .bench__cell p { font-size: 0.88rem; }
}

/* clients */
.clients { display: grid; grid-template-columns: minmax(0, 1fr); gap: 36px; }
@media (min-width: 760px) { .clients { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; } }
.client { border-top: 3px solid var(--ink); padding-top: 18px; }
.client h3 { font-size: 1.22rem; font-weight: 700; line-height: 1.25; margin-bottom: 10px; }
.client p { font-size: 1.05rem; line-height: 1.6; }

/* principal */
.principal__name {
  font-family: "Overpass", sans-serif; font-weight: 800;
  font-size: clamp(2.1rem, 4.4vw, 3.6rem); line-height: 1; letter-spacing: -0.025em;
  margin: 0 0 14px;
}
.principal__cred {
  font-family: "Overpass Mono", monospace; font-size: 0.95rem; line-height: 1.5;
  color: var(--ink);
  display: inline-block; padding: 8px 12px 6px; border: 1px solid var(--line);
  margin-bottom: 28px;
}

/* contact */
.contact__line {
  font-family: "Overpass", sans-serif; font-weight: 700;
  font-size: clamp(1.35rem, 2.4vw, 1.9rem); line-height: 1.25; margin-bottom: 14px;
}
.contact__label { color: var(--muted); font-weight: 600; }
.contact__intro { max-width: 58ch; }

.enquiry { margin-top: 36px; border: 1px dashed var(--line); padding: clamp(18px, 3vw, 32px); background: var(--panel); }
.enquiry__status { font-family: "Overpass", sans-serif; font-size: 0.95rem; margin-bottom: 22px; display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 12px; }
.enquiry__flag {
  font-family: "Overpass Mono", monospace; font-weight: 600; font-size: 0.85rem;
  color: var(--accent-ink); border: 1.5px solid var(--accent-ink); padding: 3px 8px 1px; border-radius: 2px;
}
.enquiry fieldset { border: 0; margin: 0; padding: 0; min-width: 0; display: grid; grid-template-columns: minmax(0, 1fr); gap: 18px 24px; }
@media (min-width: 720px) { .enquiry fieldset { grid-template-columns: repeat(2, minmax(0, 1fr)); } .field--full { grid-column: 1 / -1; } }
.field label { display: block; font-family: "Overpass", sans-serif; font-weight: 700; font-size: 0.92rem; margin-bottom: 6px; }
.field .opt { font-weight: 400; color: var(--muted); }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--ink);
  background: var(--bg); border: 1px solid var(--line); border-radius: 2px;
  padding: 10px 12px;
}
.field textarea { resize: vertical; }
.enquiry fieldset[disabled] input,
.enquiry fieldset[disabled] select,
.enquiry fieldset[disabled] textarea { cursor: not-allowed; opacity: 0.7; }
.field__hint { font-family: "Overpass", sans-serif; font-size: 0.85rem; color: var(--muted); margin-top: 6px; }

/* ---------- Footer ---------- */
.foot { border-top: 1px solid var(--line); margin-top: 40px; }
.foot__inner {
  max-width: 1320px; margin: 0 auto;
  padding: 32px clamp(16px, 3vw, 40px) 40px;
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 20px;
}
.foot__brand { display: flex; align-items: center; gap: 14px; }
.foot__brand p { font-family: "Overpass", sans-serif; font-size: 0.9rem; line-height: 1.45; margin: 0; color: var(--muted); }
.foot__nav { display: flex; gap: 22px; font-family: "Overpass", sans-serif; font-weight: 600; font-size: 0.95rem; }
.foot__nav a { color: var(--ink); }

/* ---------- Privacy page ---------- */
.page { max-width: 1320px; margin: 0 auto; padding: clamp(48px, 7vw, 96px) clamp(16px, 3vw, 40px); }
.page h1 { font-weight: 800; font-size: clamp(2.2rem, 4.4vw, 3.4rem); line-height: 1.05; letter-spacing: -0.02em; margin-bottom: 28px; }
.page h2 { font-size: 1.3rem; font-weight: 700; margin: 36px 0 8px; }
.page .prose { max-width: 62ch; }
.page .updated { font-family: "Overpass", sans-serif; color: var(--muted); font-size: 0.95rem; }

@media (max-width: 640px) {
  .sheet { padding: 14px; }
  .sheet::before { inset: 14px; }
  .sheet__zones { font-size: 0.6rem; }
  .sheet__zones--top { left: 14px; right: 14px; height: 14px; }
  .sheet__zones--top span + span::before { top: 2px; height: 10px; }
  .sheet__zones--side { top: 14px; bottom: 14px; width: 14px; }
  .sheet__zones--side span + span::before { left: 2px; width: 10px; }
  .hero__text { padding: 28px 18px 8px; }
  .hero__figure { padding: 12px 1.5px 16px; }
  .hero__figure figcaption { padding: 0 16px; }
}

/* credentials */
.creds{display:grid;gap:clamp(18px,3vw,28px);margin:24px 0 0}
.creds__item{border-top:1px solid var(--line);padding-top:14px;min-width:0}
.creds dt{font-family:"Overpass","Helvetica Neue",Arial,sans-serif;font-weight:700;font-size:1.15rem;margin:0 0 6px}
.creds dd{margin:0 0 8px;max-width:68ch}
.creds__list{margin:6px 0 0;padding-left:1.2em}
.creds__list li{margin:3px 0}
