/* Exact Ink. Official tokens (--le-*) plus theme-mapped --ink/--paper for existing rules.
   Dark (default): ink #102033 as the base, paper type, bronze accents. Light: paper base, ink type.
   --cyan is aliased to an AA-safe emphasis colour (not raw bronze on navy, which is 3.34:1). */
@font-face {
  font-family: "Instrument Sans";
  src: url("/fonts/InstrumentSans-ExactInk-Medium.ttf") format("truetype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Instrument Sans";
  src: url("/fonts/InstrumentSans-ExactInk-Semibold.ttf") format("truetype");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Instrument Sans";
  src: url("/fonts/InstrumentSans-ExactInk-Bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --le-ink: #102033;
  --le-paper: #F6F3ED;
  --le-accent: #8B6B3D;
  --le-white: #FFFFFF;
  --le-font: "Instrument Sans", "Segoe UI", "Helvetica Neue", sans-serif;
  --le-font-weight-logo: 700;
  --le-font-weight-headline: 600;
  --le-font-weight-body: 500;
  --le-font-stretch: 96%;
  --le-icon-min: 32px;
  --le-wordmark-min: 80px;
}
:root, html.theme-dark {
  --ink: var(--le-paper);
  --ink-soft: #D4CFC6;
  --paper: var(--le-ink);
  --card: #152536;
  --line: rgba(139, 107, 61, 0.4);
  --accent: var(--le-accent);
  --accent-dark: #6A512E;
  --accent-text: #C4A36A; /* 6.89:1 on ink — for text emphasis */
  --warn: #E8B4A8;
  --cyan: var(--accent-text);
  --cyan-dim: rgba(139, 107, 61, 0.2);
  --glow: 0 0 0 1px rgba(139, 107, 61, 0.4), 0 0 40px rgba(139, 107, 61, 0.18);
  --hero-shade: linear-gradient(180deg, rgba(16,32,51,0.2), rgba(16,32,51,0.78));
  --btn-fg: var(--le-white);
  color-scheme: dark;
}
html.theme-light {
  --ink: var(--le-ink);
  --ink-soft: #3D4F63;
  --paper: var(--le-paper);
  --card: #FFFFFF;
  --line: rgba(16, 32, 51, 0.16);
  --accent: var(--le-accent);
  --accent-dark: #6A512E;
  --accent-text: #6A512E; /* 6.70:1 on paper */
  --warn: #8A3A2A;
  --cyan: var(--accent-text);
  --cyan-dim: rgba(139, 107, 61, 0.14);
  --glow: 0 0 0 1px rgba(139, 107, 61, 0.28), 0 16px 40px rgba(16, 32, 51, 0.08);
  --hero-shade: linear-gradient(180deg, rgba(16,32,51,0.05), rgba(16,32,51,0.58));
  --btn-fg: var(--le-white);
  color-scheme: light;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--le-font);
  font-weight: 500;
  font-size: 1.05rem;
  line-height: 1.55;
  color: var(--ink);
  background: var(--paper);
}
h1, h2, h3 { font-weight: 600; letter-spacing: -0.03em; }
.stat-value, .price, .price-xl { font-weight: 700; font-variant-numeric: tabular-nums; }
html.theme-dark body {
  background:
    radial-gradient(1200px 600px at 10% -10%, rgba(139,107,61,0.14), transparent 50%),
    radial-gradient(900px 500px at 110% 10%, rgba(16,32,51,0.4), transparent 45%),
    var(--paper);
}
a { color: var(--accent-text); }
a:hover { color: var(--ink); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.skip {
  position: absolute; left: 0.75rem; top: -3.2rem;
  background: var(--accent); color: var(--le-white); padding: 0.5rem 0.75rem; z-index: 40; font-weight: 700;
}
.skip:focus { top: 0.75rem; }
.visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); border: 0;
}

.bg-layer { position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.grid-bg {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(139, 107, 61, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(139, 107, 61, 0.08) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse at 50% 20%, #000 20%, transparent 75%);
  animation: griddrift 28s linear infinite;
}
html.theme-light .grid-bg { opacity: 0.4; }
@keyframes griddrift { to { background-position: 48px 48px, 48px 48px; } }
.mesh {
  position: absolute; width: 55vw; height: 55vw; max-width: 720px; max-height: 720px;
  border-radius: 50%; filter: blur(80px); opacity: 0.28; animation: mesh 16s ease-in-out infinite alternate;
}
.mesh-a { top: -10%; left: -8%; background: #8B6B3D; }
.mesh-b { top: 30%; right: -12%; background: #6A512E; animation-delay: -6s; }
@keyframes mesh { to { transform: translate(4%, 6%) scale(1.12); } }
canvas#mesh-canvas { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0.45; }

.wrap { width: 100%; max-width: 70rem; margin-inline: auto; padding-inline: clamp(1.2rem, 5vw, 2rem); position: relative; z-index: 1; }
.site-header, .site-footer, main, .draft-banner { position: relative; z-index: 1; }

.draft-banner {
  background: #2a120f; color: #f3c7bf; font-size: 0.84rem; text-align: center;
  padding: 0.45rem 0.75rem; border-bottom: 1px solid rgba(243, 199, 191, 0.25);
}
html.theme-light .draft-banner { background: #f6e8e4; color: #7a3326; }

.site-header {
  border-bottom: 1px solid rgba(139, 107, 61, 0.35);
  background: var(--paper);
  position: sticky; top: 0; z-index: 10;
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 0.7rem 0; flex-wrap: wrap; }
.le-logo-wrap, a.logo {
  display: inline-flex; align-items: center; text-decoration: none; color: var(--ink);
  padding: calc(180px * 0.116); /* clear space ≈ 11.6% of lockup width */
  margin: calc(180px * -0.116); /* keep header compact; padding still protects the mark */
}
.le-logo, .logo-img {
  display: none;
  width: 180px;
  min-width: var(--le-wordmark-min);
  height: auto;
}
html.theme-dark .logo-for-dark,
html:not(.theme-light):not(.theme-dark) .logo-for-dark { display: block; }
html.theme-light .logo-for-light { display: block; }
html.theme-light .logo-for-dark { display: none; }
.visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
.header-tools { display: flex; gap: 0.5rem; margin-left: auto; }
.theme-toggle, .nav-toggle {
  background: transparent; color: var(--ink); border: 1px solid var(--line);
  border-radius: 999px; padding: 0.35rem 0.8rem; cursor: pointer; font: inherit; font-size: 0.85rem;
}
.theme-toggle:hover, .nav-toggle:hover { border-color: var(--accent); color: var(--accent-text); }
.nav-toggle { display: none; }
nav ul { display: flex; flex-wrap: wrap; gap: 0.35rem 1.05rem; list-style: none; margin: 0; padding: 0; align-items: center; }
nav a, nav button { color: var(--ink-soft); text-decoration: none; font-size: 0.93rem; background: none; border: 0; cursor: pointer; font: inherit; }
nav a[aria-current="page"], nav a:hover, nav button:hover { color: var(--ink); }
.nav-cta {
  background: var(--accent); color: var(--le-white) !important; padding: 0.4rem 0.8rem; border-radius: 999px; font-weight: 650;
}
.has-sub { position: relative; }
.has-sub > ul {
  display: none; position: absolute; top: 100%; left: 0; min-width: 16rem;
  background: var(--card); border: 1px solid var(--line); border-radius: 0.6rem;
  padding: 0.5rem; flex-direction: column; gap: 0.2rem; z-index: 12;
  box-shadow: var(--glow);
}
.has-sub:hover > ul, .has-sub:focus-within > ul, .has-sub[data-open] > ul { display: flex; }

.kicker {
  font-family: var(--le-font); font-weight: 600; font-size: 0.75rem; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--accent-text); margin: 0 0 0.7rem;
}
h1, h2, h3 { font-weight: 650; line-height: 1.18; color: var(--ink); letter-spacing: -0.02em; margin: 0 0 0.4rem; }
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.4rem, 3vw, 2rem); }
.lede, .caption { margin: 0 0 1rem; color: var(--ink-soft); max-width: 36rem; }
.caption { font-size: 1.02rem; }
.section-tight { padding: 3.2rem 0; }
.actions { display: flex; flex-wrap: wrap; gap: 0.7rem; margin: 1rem 0; }
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  box-sizing: border-box;
  min-height: 48px; height: 48px; padding: 0 1.15rem;
  border-radius: 999px; font: inherit; font-weight: 650; font-size: 1rem; line-height: 1;
  letter-spacing: 0; white-space: nowrap;
  text-decoration: none; text-align: center;
  border: 1px solid transparent; cursor: pointer;
}
.btn-primary { background: var(--accent); color: #fff; box-shadow: var(--glow); }
html.theme-light .btn-primary { color: #fff; }
.btn-primary:hover { filter: brightness(1.08); color: #fff; }
.btn-ghost,
.btn-secondary {
  background: transparent; color: var(--ink); border-color: color-mix(in srgb, var(--ink) 38%, transparent);
}
.btn-ghost:hover,
.btn-secondary:hover { border-color: var(--accent); color: var(--accent-text); }
.btn:disabled { opacity: 0.5; cursor: not-allowed; }

/* Reveal: visible by default; hidden only after JS adds html.js-reveal */
.reveal { opacity: 1; transform: none; }
html.js-reveal .reveal { opacity: 0; transform: translateY(16px); transition: opacity 0.6s ease, transform 0.6s ease; }
html.js-reveal .reveal.in { opacity: 1; transform: none; }
@media print {
  .reveal, html.js-reveal .reveal { opacity: 1 !important; transform: none !important; }
}

.hero-visual { padding: 0 0 2rem; display: grid; gap: 0; }
.hero-photo { position: relative; overflow: hidden; min-height: 42vw; max-height: 34rem; background: #000; }
.hero-photo > img { width: 100%; height: 100%; object-fit: cover; display: block; min-height: 22rem; }
.hero-photo::after { content: ""; position: absolute; inset: 0; background: var(--hero-shade); pointer-events: none; }
.hero-copy { margin-top: 0; padding-block: 1.4rem 0.4rem; }
.hero-photo { margin-bottom: 0; }
.scan-stage {
  position: absolute; right: 6%; bottom: 12%; width: min(280px, 46%); z-index: 2;
  color: var(--accent); filter: drop-shadow(0 0 12px rgba(139,107,61,0.45));
}
.scan-house { width: 100%; height: auto; }
.scan-line { fill: var(--accent); opacity: 0.85; animation: scan 3.6s ease-in-out infinite; }
@keyframes scan { 0%,100% { transform: translateY(0); } 50% { transform: translateY(150px); } }
.scan-ticks .tick { opacity: 0.25; fill: none; stroke: var(--accent); transition: opacity 0.3s; }
.scan-ticks .tick.on { opacity: 1; fill: rgba(92,224,200,0.15); }
.scan-score { margin: 0.3rem 0 0; font-family: ui-monospace, monospace; font-size: 0.8rem; letter-spacing: 0.08em; text-transform: uppercase; color: #fff; }
.lead-chip {
  display: inline-flex; align-items: center; gap: 0.7rem; margin-top: 0.6rem;
  padding: 0.35rem 0.8rem 0.35rem 0.35rem; border: 1px solid var(--line); border-radius: 999px;
  text-decoration: none; color: var(--ink); background: color-mix(in srgb, var(--card) 80%, transparent);
  box-shadow: var(--glow); font-size: 0.92rem;
}
.lead-chip img { width: 3.2rem; height: 2.4rem; object-fit: cover; border-radius: 999px; }
.lead-chip:hover { border-color: var(--accent); }

.stats-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin: 1.2rem 0; }
.stat {
  background: var(--card); border: 1px solid var(--line); border-radius: 1rem; padding: 1.1rem 1rem;
  box-shadow: var(--glow);
}
.stat-value { font-size: clamp(1.8rem, 4vw, 2.6rem); font-weight: 700; color: var(--cyan); margin: 0; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.stat p { margin: 0.2rem 0 0; color: var(--ink-soft); }
.source, .tiny, .source-tight, .vat-line, .legend { font-size: 0.82rem; color: var(--ink-soft); }
.source-tight { max-width: 52rem; }
.vat-line { margin: 0 0 1rem; }

.process { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.process-step, .service-card, .who-card, .fact-card {
  background: var(--card); border: 1px solid var(--line); border-radius: 1rem; overflow: hidden;
  box-shadow: var(--glow); transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  padding: 0 0 1rem; position: relative;
}
.process-step img, .service-card img, .mosaic img, .hero-photo > img { display: block; width: 100%; }
.process-step img, .service-card img { height: 10.5rem; object-fit: cover; }
.process-step h3, .service-card h3, .who-card h3, .fact-card h3 { padding: 0 1rem; margin: 0.4rem 0 0.15rem; }
.process-step p, .who-card p, .fact-card p { padding: 0 1rem; margin: 0; color: var(--ink-soft); }
.step-num {
  position: absolute; top: 0.7rem; left: 0.7rem; z-index: 1;
  font-family: ui-monospace, monospace; font-size: 0.72rem; letter-spacing: 0.1em;
  background: rgba(16,32,51,0.72); color: var(--accent-text); padding: 0.2rem 0.45rem; border-radius: 999px;
}
.ico { width: 1.7rem; height: 1.7rem; color: var(--accent); margin: 0.7rem 1rem 0; display: block; }
.process-line { display: none; }
.card-tilt:hover, .service-card:hover, .process-step:hover, .who-card:hover, .fact-card:hover {
  border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent), 0 0 36px rgba(139,107,61,0.28); transform: translateY(-4px) rotate3d(1, 1, 0, 2deg);
}

.mosaic { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 0.8rem; }
.mosaic figure { margin: 0; border-radius: 1rem; overflow: hidden; border: 1px solid var(--line); }
.mosaic img { height: 14rem; object-fit: cover; width: 100%; }
.mosaic figcaption {
  position: relative; margin-top: -2.2rem; padding: 0.4rem 0.8rem; color: #fff;
  font-size: 0.85rem; background: linear-gradient(transparent, rgba(0,0,0,0.65));
}

.draft-prices { font-family: var(--le-font); font-weight: 600; font-size: 0.75rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent-text); margin: 0 0 0.3rem; }
.service-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); gap: 1rem; }
.service-card .price { padding: 0 1rem; margin: 0; font-size: 1.25rem; font-weight: 700; color: var(--cyan); }
.service-card ul { margin: 0.4rem 1rem 0.7rem; padding-left: 1.1rem; color: var(--ink-soft); }
.service-card .btn { margin: 0 1rem; }
.service-card .tiny { padding: 0.5rem 1rem 0; }

.map-shell { position: relative; background: var(--card); border: 1px solid var(--line); border-radius: 1rem; padding: 0.6rem; box-shadow: var(--glow); min-height: 22rem; }
.map-canvas svg { width: 100%; height: auto; max-height: 70vh; display: block; color: var(--line); }
.map-canvas path { fill: color-mix(in srgb, var(--ink-soft) 18%, transparent); stroke: var(--line); stroke-width: 0.6; cursor: default; transition: fill 0.15s, stroke 0.15s; }
.map-canvas path.covered { fill: rgba(139, 107, 61, 0.42); stroke: var(--accent); cursor: pointer; }
.map-canvas path.soon { fill: color-mix(in srgb, var(--ink-soft) 12%, transparent); }
.map-canvas path:hover, .map-canvas path:focus, .map-canvas path:focus-visible {
  fill: var(--accent); stroke: var(--le-paper); outline: none;
}
.map-tooltip {
  position: absolute; z-index: 3; min-width: 14rem; max-width: 20rem;
  background: var(--card); color: var(--ink); border: 1px solid var(--accent);
  border-radius: 0.7rem; padding: 0.7rem 0.8rem; box-shadow: var(--glow); pointer-events: none; font-size: 0.88rem;
}
.map-tooltip[hidden] { display: none; }
.legend { display: flex; gap: 0.7rem; align-items: center; flex-wrap: wrap; }
.swatch { display: inline-block; width: 0.8rem; height: 0.8rem; border-radius: 2px; margin-right: 0.3rem; vertical-align: middle; }
.swatch.covered { background: rgba(92,224,200,0.6); }
.swatch.soon { background: color-mix(in srgb, var(--ink-soft) 30%, transparent); border: 1px solid var(--line); }

.who-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.who-card { padding-bottom: 1.1rem; }

.faq details, .learn details {
  border: 1px solid var(--line); border-radius: 0.8rem; background: var(--card); margin: 0.5rem 0; padding: 0.6rem 0.9rem;
}
.faq summary, .learn summary { cursor: pointer; font-weight: 650; }
.faq details p, .learn details p, .learn details ul { color: var(--ink-soft); }

.enquiry { display: grid; gap: 0.6rem; max-width: 28rem; }
.enquiry label { display: grid; gap: 0.2rem; font-size: 0.9rem; }
.enquiry input, .risk-box select, .risk-box input {
  background: var(--card); color: var(--ink); border: 1px solid var(--line); border-radius: 0.5rem; padding: 0.5rem 0.6rem; font: inherit;
}
.form-off { background: #2a120f; color: #f3c7bf; padding: 0.4rem 0.6rem; border-radius: 0.4rem; font-size: 0.86rem; }
html.theme-light .form-off { background: #f6e8e4; color: #7a3326; }

.fact-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.fact-card { padding: 1rem 0 1.1rem; }
.fact-grid-2 { grid-template-columns: 1fr 1fr; max-width: 46rem; }
.scheme-wrap { margin: 0 0 1.2rem; }
.scheme-table { width: 100%; border-collapse: collapse; background: var(--card); border: 1px solid var(--line); border-radius: 1rem; overflow: hidden; box-shadow: var(--glow); }
.scheme-table th, .scheme-table td { text-align: left; padding: 0.7rem 0.9rem; vertical-align: top; border-bottom: 1px solid var(--line); font-size: 0.92rem; }
.scheme-table thead th { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.04em; color: var(--ink-soft); background: color-mix(in srgb, var(--card) 70%, var(--paper)); }
.scheme-table tbody th { font-weight: 650; color: var(--ink); }
.scheme-table tbody tr:last-child th, .scheme-table tbody tr:last-child td { border-bottom: 0; }
.scheme-table td:last-child { font-variant-numeric: tabular-nums; color: var(--accent-text); font-weight: 600; }
.scheme-note { display: inline-block; margin-left: 0.4rem; padding: 0.05rem 0.4rem; border-radius: 999px; border: 1px solid var(--line); font-size: 0.72rem; font-weight: 600; letter-spacing: 0.02em; text-transform: uppercase; color: var(--ink-soft); vertical-align: middle; }
@media (max-width: 700px) {
  .scheme-table, .scheme-table thead, .scheme-table tbody, .scheme-table th, .scheme-table td, .scheme-table tr { display: block; }
  .scheme-table thead { display: none; }
  .scheme-table tr { border-bottom: 1px solid var(--line); padding: 0.6rem 0; }
  .scheme-table tbody th, .scheme-table td { border: 0; padding: 0.15rem 0.9rem; }
  .scheme-table td::before { content: attr(data-label); display: block; font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.04em; color: var(--ink-soft); font-weight: 600; }
}
.fee-bands { list-style: none; margin: 0.3rem 1rem 0; padding: 0; }
.fee-bands li { display: flex; justify-content: space-between; gap: 0.5rem; padding: 0.2rem 0; border-bottom: 1px solid var(--line); }
.fee-bands strong { color: var(--cyan); font-variant-numeric: tabular-nums; }

.risk-box { display: grid; gap: 0.8rem; background: var(--card); border: 1px solid var(--line); border-radius: 1rem; padding: 1rem; box-shadow: var(--glow); }
.risk-nums { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.6rem; }
.risk-meter { height: 0.55rem; background: var(--line); border-radius: 999px; overflow: hidden; margin: 0.8rem 0; }
.risk-meter span { display: block; height: 100%; width: 0; background: var(--accent); transition: width 0.4s ease, background 0.3s; }
.risk-meter[data-level="low"] span { width: 28%; background: #7CB89A; }
.risk-meter[data-level="medium"] span { width: 62%; background: #e0c45c; }
.risk-meter[data-level="high"] span { width: 92%; background: #e07a5c; }
.risk-result ul { color: var(--ink-soft); }

.site-footer { padding: 2.2rem 0 2.8rem; border-top: 1px solid var(--line); color: var(--ink-soft); font-size: 0.88rem; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 0.5rem 1rem; margin-bottom: 1rem; }
.footer-nav a { color: var(--ink-soft); text-decoration: none; }
.footer-nav a:hover { color: var(--accent-text); }
.site-footer p { max-width: 54rem; }

@media (max-width: 900px) {
  .nav-toggle { display: inline-flex; }
  nav { display: none; width: 100%; }
  nav.is-open { display: block; }
  nav ul { flex-direction: column; align-items: flex-start; }
  .has-sub > ul { position: static; box-shadow: none; }
  .stats-row, .process, .service-grid, .who-row, .fact-grid, .mosaic { grid-template-columns: 1fr 1fr; }
  .service-grid { grid-template-columns: 1fr 1fr; }
  .hero-copy { margin-top: 0; }
  .scan-stage { width: min(200px, 42%); }
}
@media (max-width: 640px) {
  .stats-row, .process, .service-grid, .who-row, .fact-grid, .mosaic, .risk-nums { grid-template-columns: 1fr; }
  .hero-photo { min-height: 18rem; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal, html.js-reveal .reveal { opacity: 1; transform: none; }
  .scan-line { display: none; }
  .grid-bg, .mesh { animation: none; }
  .card-tilt:hover, .service-card:hover, .process-step:hover { transform: none; }
}

/* Milestone 2: service, region, article pages */
.price-xl { font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 700; color: var(--cyan); margin: 0.4rem 0 0.6rem; }
.service-bullets { margin: 0.6rem 0 1rem; padding-left: 1.1rem; color: var(--ink-soft); }
.service-bullets li { margin: 0.25rem 0; }
.region-grid, .blog-grid, .council-tiles {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr)); gap: 1rem;
}
.council-tile, .blog-card, .region-card {
  background: var(--card); border: 1px solid var(--line); border-radius: 0.9rem;
  overflow: hidden; box-shadow: var(--glow);
}
.council-tile { padding: 1rem 1.1rem; text-decoration: none; color: inherit; display: block; }
.council-tile:hover, .blog-card:hover, .region-card:hover { border-color: var(--accent); }
.council-tile h3, .blog-card h3, .region-card h3 { margin: 0 0 0.3rem; }
.council-tile p, .blog-card p, .region-card p { margin: 0; color: var(--ink-soft); font-size: 0.92rem; }
.blog-card img, .article-hero img, .region-hero img { display: block; width: 100%; height: 12rem; object-fit: cover; }
.blog-card { display: block; text-decoration: none; color: inherit; }
.blog-card .pad, .region-card .pad { padding: 0.9rem 1rem 1.1rem; }
.article { max-width: 42rem; }
.article p { color: var(--ink-soft); }
.article h2 { margin-top: 1.6rem; }
.chips { display: flex; flex-wrap: wrap; gap: 0.35rem; margin: 0.4rem 0; }
.chip {
  font-size: 0.72rem; letter-spacing: 0.06em; text-transform: uppercase;
  border: 1px solid var(--line); border-radius: 999px; padding: 0.15rem 0.55rem; color: var(--ink-soft);
}
.flag-banner {
  border: 1px solid color-mix(in srgb, var(--warn) 50%, var(--line));
  background: color-mix(in srgb, var(--warn) 12%, var(--card));
  color: var(--ink); border-radius: 0.7rem; padding: 0.7rem 1rem; margin: 0 0 1.2rem;
}
.learn details { margin: 0.45rem 0; border: 1px solid var(--line); border-radius: 0.7rem; padding: 0.2rem 0.9rem; background: var(--card); }
.learn summary { cursor: pointer; font-weight: 600; padding: 0.55rem 0; }
.crumb { font-size: 0.85rem; color: var(--ink-soft); margin: 0 0 0.8rem; }
.crumb a { color: var(--accent-text); }

.footer-brand { margin: 0 0 1rem; }
.footer-brand .le-logo-wrap { margin: 0; padding: calc(180px * 0.116) 0; }

/* Event / partners pass — typography, cinematic hero, calculator */
h1 { font-size: clamp(2.4rem, 7vw, 4.8rem); letter-spacing: -0.035em; line-height: 1.02; max-width: 16ch; }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.35rem); letter-spacing: -0.03em; }
.lede { font-size: clamp(1.05rem, 2vw, 1.25rem); line-height: 1.45; max-width: 34rem; }
.section-tight { padding: 4rem 0; }
.section-feature { background: color-mix(in srgb, var(--card) 70%, transparent); border-block: 1px solid var(--line); }

.hero-cinematic .hero-photo {
  min-height: min(70vh, 38rem);
  max-height: none;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}
.hero-cinematic .hero-photo > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: cover;
  transform-origin: 50% 40%;
  animation: kenburns 22s ease-in-out infinite alternate;
  pointer-events: none;
  z-index: 0;
}
@keyframes kenburns {
  from { transform: scale(1); }
  to { transform: scale(1.08); }
}
.hero-cinematic .hero-photo::before {
  content: "";
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    linear-gradient(90deg, rgba(16,32,51,0.82) 0%, rgba(16,32,51,0.45) 46%, rgba(16,32,51,0.2) 100%),
    linear-gradient(180deg, rgba(16,32,51,0.15), rgba(16,32,51,0.72));
}
.hero-cinematic .hero-photo::after { background: none; }
.hero-overlay {
  position: relative;
  z-index: 3;
  padding-block: 3.2rem 2.4rem;
  pointer-events: auto;
}
.hero-overlay a,
.hero-overlay .actions,
.hero-overlay .lead-chip {
  position: relative;
  z-index: 4;
  pointer-events: auto;
}
.hero-cinematic .hero-overlay h1,
.hero-cinematic .hero-overlay .lede,
.hero-cinematic .hero-overlay .kicker { color: #F6F3ED; }
.hero-cinematic .hero-overlay .lede { color: #D4CFC6; }
.hero-cinematic .lead-chip { color: #F6F3ED; border-color: rgba(246,243,237,0.35); background: rgba(16,32,51,0.45); }
.hero-cinematic .btn-ghost { color: #F6F3ED; border-color: rgba(246,243,237,0.45); }
.hero-cinematic .btn-ghost:hover { border-color: #F6F3ED; background: rgba(246,243,237,0.1); }
.hero-cinematic .scan-stage { z-index: 4; right: 5%; top: 16%; bottom: auto; }

.partners-strip { background: var(--card); }
.partner-fee-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin: 1.2rem 0;
}
.partner-fee {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 1rem;
  padding: 1.15rem 1.2rem;
  box-shadow: var(--glow);
}
.partners-strip .partner-fee { background: var(--card); }
.partner-fee .price { margin: 0.15rem 0 0.35rem; font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 700; color: var(--accent-text); font-variant-numeric: tabular-nums; }
.partner-fee p { margin: 0; color: var(--ink-soft); }
.partner-audiences { grid-template-columns: repeat(4, 1fr); }

.partner-calc {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 1.2rem;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 1.1rem;
  padding: 1.2rem;
  box-shadow: var(--glow);
}
.partner-calc-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--line);
  font-weight: 600;
}
.partner-calc-row small { display: block; font-weight: 500; color: var(--ink-soft); }
.stepper { display: inline-flex; align-items: center; gap: 0.25rem; }
.stepper button {
  width: 2.4rem; height: 2.4rem; border-radius: 999px;
  border: 1px solid var(--line); background: transparent; color: var(--ink);
  font: inherit; font-size: 1.2rem; cursor: pointer;
}
.stepper button:hover { border-color: var(--accent); color: var(--accent-text); }
.stepper input {
  width: 3.2rem; text-align: center; font: inherit; font-weight: 650;
  background: transparent; color: var(--ink); border: 1px solid var(--line);
  border-radius: 0.5rem; padding: 0.4rem 0;
  font-variant-numeric: tabular-nums;
}
.partner-calc-total { display: flex; flex-direction: column; justify-content: center; padding: 0.4rem 0.6rem; }
.partner-calc-total .price { font-size: clamp(2.2rem, 5vw, 3.4rem); font-weight: 700; color: var(--accent-text); letter-spacing: -0.03em; margin: 0; font-variant-numeric: tabular-nums; }
.partner-calc-breakdown { margin: 0.8rem 0 0; padding-left: 1.1rem; color: var(--ink-soft); }

.map-shell { min-height: 22rem; border-radius: 1.1rem; overflow: hidden; border: 1px solid var(--line); background: var(--card); box-shadow: var(--glow); }

@media (max-width: 900px) {
  .partner-fee-grid, .partner-audiences { grid-template-columns: 1fr 1fr; }
  .partner-calc { grid-template-columns: 1fr; }
  .hero-cinematic .hero-photo { min-height: min(62vh, 32rem); }
  .hero-cinematic .hero-photo > img { min-height: 0; }
  .hero-overlay { padding-block: 2rem 1.6rem; }
  .hero-cinematic .scan-stage { display: none; }
}
@media (max-width: 640px) {
  .service-grid { grid-template-columns: 1fr 1fr; }
  .partner-fee-grid, .partner-fee-grid-compact { grid-template-columns: 1fr 1fr; }
  .hero-cinematic .hero-photo { min-height: min(58vh, 26rem); }
  .hero-cinematic .hero-photo > img { min-height: 0; }
  .hero-overlay h1 { font-size: clamp(2.1rem, 11vw, 3rem); }
  .actions .btn { min-height: 48px; height: 48px; }
  .stepper button { width: 2.75rem; height: 2.75rem; }
}
@media (max-width: 420px) {
  .service-grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-cinematic .hero-photo > img { animation: none; }
  html { scroll-behavior: auto; }
}


/* Overnight polish: gutters already on .wrap; motion, sticky CTA, checker, map, cards */
.scroll-progress {
  position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 40;
  pointer-events: none; background: transparent;
}
.scroll-progress span {
  display: block; height: 100%; width: 100%; transform: scaleX(0); transform-origin: 0 50%;
  background: var(--accent); box-shadow: 0 0 12px rgba(139,107,61,0.65);
}

html.js-hero .hero-cinematic .hero-overlay:not(.is-ready) .kicker,
html.js-hero .hero-cinematic .hero-overlay:not(.is-ready) h1,
html.js-hero .hero-cinematic .hero-overlay:not(.is-ready) .lede,
html.js-hero .hero-cinematic .hero-overlay:not(.is-ready) .actions,
html.js-hero .hero-cinematic .hero-overlay:not(.is-ready) .lead-chip {
  opacity: 0;
  transform: translateY(18px);
}
.hero-cinematic .hero-overlay.is-ready .kicker,
.hero-cinematic .hero-overlay.is-ready h1,
.hero-cinematic .hero-overlay.is-ready .lede,
.hero-cinematic .hero-overlay.is-ready .actions,
.hero-cinematic .hero-overlay.is-ready .lead-chip {
  opacity: 1;
  transform: none;
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.hero-cinematic .hero-overlay.is-ready h1 { transition-delay: 0.12s; }
.hero-cinematic .hero-overlay.is-ready .lede { transition-delay: 0.24s; }
.hero-cinematic .hero-overlay.is-ready .actions { transition-delay: 0.36s; }
.hero-cinematic .hero-overlay.is-ready .lead-chip { transition-delay: 0.48s; }

.card-tilt {
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}
.card-tilt:hover, .partner-fee:hover, .service-card:hover, .who-card:hover {
  box-shadow: 0 0 0 1px rgba(139,107,61,0.55), 0 18px 40px rgba(16,32,51,0.28), 0 0 48px rgba(139,107,61,0.22);
  border-color: var(--accent);
}

.process-line path {
  stroke: var(--accent);
  stroke-width: 2;
  fill: none;
  transition: stroke-dashoffset 0.2s linear;
}

.risk-result {
  opacity: 0;
  transform: translateY(12px);
}
.risk-result.is-shown, .risk-result.in {
  opacity: 1;
  transform: none;
  transition: opacity 0.55s ease, transform 0.55s ease;
}

[data-council-map] path,
[data-council-map] .region,
[data-council-map] a,
.map-shell path {
  transition: fill 0.2s ease, opacity 0.2s ease, filter 0.2s ease;
}
[data-council-map] path:hover,
[data-council-map] .region:hover,
.map-shell path:hover,
.map-shell a:hover path {
  filter: brightness(1.18);
  cursor: pointer;
}

.sticky-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 25;
  display: none;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  padding: 0.7rem clamp(1rem, 4vw, 2rem) calc(0.7rem + env(safe-area-inset-bottom, 0px));
  background: var(--paper);
  border-top: 1px solid var(--line);
  box-shadow: 0 -12px 30px rgba(16,32,51,0.18);
  overflow: hidden;
}
.sticky-cta .btn {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
@media (max-width: 700px) {
  .sticky-cta.is-visible { display: block; }
  html.has-sticky-cta body { padding-bottom: 4.8rem; }
  .hero-overlay h1 { max-width: 14ch; }
}

@media (prefers-reduced-motion: reduce) {
  .scroll-progress span, .hero-cinematic .hero-overlay .kicker,
  .hero-cinematic .hero-overlay h1, .hero-cinematic .hero-overlay .lede,
  .hero-cinematic .hero-overlay .actions, .hero-cinematic .hero-overlay .lead-chip,
  .risk-result, .card-tilt, .process-line path {
    transition: none !important; animation: none !important;
    opacity: 1 !important; transform: none !important;
  }
  .grid-bg, .mesh { animation: none !important; }
}


/* —— 1 Dec event pass: light hero, simpler home, usable map, gallery carousel —— */
.section-lede { max-width: 40rem; color: var(--ink-soft); margin: 0 0 1.8rem; font-size: 1.05rem; }
.services-more { margin: 1.5rem 0 0.35rem; }
.eyebrow {
  font-family: var(--le-font, inherit);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-text);
  margin: 0.85rem 1rem 0;
  font-weight: 600;
}
.service-card p { padding: 0 1rem; margin: 0.35rem 0 0.8rem; color: var(--ink-soft); }
.service-card.featured { box-shadow: 0 0 0 1px var(--accent), var(--glow); }
.price-card .price, .service-card .price { font-size: clamp(1.6rem, 3vw, 2.1rem); color: var(--accent-text); }
.band, .band-alt { padding-block: clamp(2.75rem, 6vw, 4.5rem); }

.hero-cinematic.hero-light .hero-photo::before {
  background:
    linear-gradient(90deg, rgba(246,243,237,0.92) 0%, rgba(246,243,237,0.72) 48%, rgba(246,243,237,0.28) 100%),
    linear-gradient(180deg, rgba(246,243,237,0.12), rgba(246,243,237,0.55));
}
.hero-cinematic.hero-light .hero-overlay h1,
.hero-cinematic.hero-light .hero-overlay .kicker { color: var(--ink); }
.hero-cinematic.hero-light .hero-overlay .lede { color: var(--ink-soft); }
.hero-cinematic.hero-light .lead-chip {
  color: var(--ink);
  border-color: var(--line);
  background: rgba(246,243,237,0.88);
}
.hero-cinematic.hero-light .btn-ghost {
  color: var(--ink);
  border-color: color-mix(in srgb, var(--ink) 45%, transparent);
}
.hero-cinematic.hero-light .btn-ghost:hover {
  border-color: var(--ink);
  background: rgba(16,32,51,0.06);
}

.look-band h2 { margin-bottom: 0.35rem; }
.look-carousel .mosaic figure {
  background: transparent;
  border: 0;
  box-shadow: none;
}
.look-carousel .mosaic img {
  height: 16rem;
  border-radius: 1rem;
  border: 1px solid var(--line);
}
.look-carousel .mosaic figcaption {
  position: static;
  margin: 0;
  padding: 0.75rem 0.15rem 0;
  color: var(--ink);
  background: none;
  font-size: 1.02rem;
  font-weight: 600;
  line-height: 1.35;
}
.look-dots { display: none; }
.text-btn {
  background: none;
  border: 0;
  padding: 0;
  color: var(--accent-text);
  font: inherit;
  text-decoration: underline;
  cursor: pointer;
}
.text-btn:hover { color: var(--ink); }

.checker-teaser .section-lede { max-width: 42rem; }

/* Map */
.map-hint { font-size: 1.05rem; color: var(--ink); margin: 0 0 1rem; }
.map-app { display: grid; gap: 0.85rem; }
.map-tools { display: grid; gap: 0.75rem; }
.map-search { position: relative; }
.map-search input {
  width: 100%;
  min-height: 2.85rem;
  font-size: 1rem;
  padding: 0.65rem 0.9rem;
  border: 1px solid var(--line);
  border-radius: 0.7rem;
  background: var(--card);
  color: var(--ink);
}
.map-suggest {
  position: absolute;
  z-index: 8;
  left: 0; right: 0; top: calc(100% + 0.25rem);
  margin: 0;
  padding: 0.3rem;
  list-style: none;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 0.7rem;
  box-shadow: var(--glow);
  max-height: 16rem;
  overflow: auto;
}
.map-suggest li { margin: 0; }
.map-suggest button {
  width: 100%;
  text-align: left;
  background: none;
  border: 0;
  color: var(--ink);
  font: inherit;
  min-height: 2.75rem;
  padding: 0.55rem 0.7rem;
  border-radius: 0.5rem;
  cursor: pointer;
}
.map-suggest button:hover,
.map-suggest button.is-active { background: color-mix(in srgb, var(--accent) 16%, var(--card)); }
.map-suggest .tiny { display: block; margin: 0.1rem 0 0; }
.map-chips { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.map-chip {
  min-height: 2.5rem;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--card);
  color: var(--ink);
  font: inherit;
  font-size: 0.92rem;
  cursor: pointer;
}
.map-chip.is-on {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}
.map-stage {
  display: grid;
  gap: 0.8rem;
  align-items: start;
}
.map-viewport {
  position: relative;
  min-height: 22rem;
  height: min(68vh, 36rem);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 1rem;
  background: var(--card);
  box-shadow: var(--glow);
  touch-action: none;
}
.map-canvas,
.map-canvas svg { width: 100%; height: 100%; display: block; }
.map-canvas path { stroke-width: 0.9; }
.map-canvas path.covered { stroke-width: 1.15; }
.map-canvas path.is-dim { opacity: 0.18; pointer-events: none; }
.map-canvas path.is-selected {
  fill: var(--accent);
  stroke: var(--ink);
  stroke-width: 2.4;
}
.map-zoom {
  position: absolute;
  right: 0.7rem;
  top: 0.7rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  z-index: 3;
}
.map-zoom-btn {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 0.55rem;
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--ink);
  font-size: 1.2rem;
  line-height: 1;
  cursor: pointer;
}
.map-zoom-btn:hover { border-color: var(--accent); }
.map-backdrop,
.map-backdrop[hidden] {
  display: none !important;
  pointer-events: none;
}
.map-backdrop:not([hidden]) {
  display: block !important;
  position: fixed;
  inset: 0;
  z-index: 80;
  background: rgba(16, 32, 51, 0.5);
  pointer-events: auto;
}
.map-sheet {
  background: #ffffff;
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 1rem;
  padding: 1rem 1.1rem 1.2rem;
  box-shadow: 0 16px 48px rgba(16, 32, 51, 0.28);
  box-sizing: border-box;
  max-width: 100%;
  min-width: 0;
  overflow-x: hidden;
  overflow-wrap: anywhere;
  word-break: break-word;
  opacity: 1;
  isolation: isolate;
}
html.theme-dark .map-sheet {
  background: #152536;
}
html.sheet-open {
  overflow: hidden;
  overscroll-behavior: none;
  overflow-anchor: none;
}
html.sheet-open body {
  overflow: hidden;
  overscroll-behavior: none;
  overflow-anchor: none;
}
html.sheet-open #map,
html.sheet-open [data-map-root] {
  position: relative;
  z-index: 50;
}

.map-sheet-switch { clear: both; margin: 0 0 0.85rem; }
.map-sheet-switch label {
  display: block;
  font-size: 0.88rem;
  font-weight: 650;
  margin: 0 0 0.35rem;
}
.map-sheet-switch input {
  width: 100%;
  min-height: 2.85rem;
  font-size: 1rem;
  padding: 0.65rem 0.9rem;
  border: 1px solid var(--line);
  border-radius: 0.7rem;
  background: var(--card);
  color: var(--ink);
  box-sizing: border-box;
}
.map-sheet-suggest:not([hidden]) {
  position: static;
  display: block;
  margin-top: 0.4rem;
  max-height: 10rem;
  overflow: auto;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 0.7rem;
}

.hero-photo > img,
.look-track img,
.mosaic img,
.process-step img,
.service-card img {
  object-fit: cover;
  object-position: center;
}
.map-sheet,
.map-sheet-body,
.map-sheet * {
  max-width: 100%;
  box-sizing: border-box;
}
.map-sheet[hidden] { display: none; }
.map-sheet h3 { margin: 0 0 0.25rem; }
.map-sheet-cta { margin: 0.7rem 0 0.5rem; }
.map-sheet-cta .btn { max-width: 100%; }
.map-fact { min-width: 0; }
.map-fact-label {
  font-weight: 650;
  margin: 0.7rem 0 0.2rem;
  font-size: 0.92rem;
}
.map-fact-list {
  margin: 0 0 0.35rem;
  padding-left: 1.15rem;
}
.map-fact-list li {
  margin: 0.3rem 0;
  overflow-wrap: anywhere;
  word-break: break-word;
  line-height: 1.4;
}
.map-sheet-close {
  float: right;
  background: none;
  border: 0;
  color: var(--ink-soft);
  font: inherit;
  cursor: pointer;
  min-height: 2.5rem;
  padding: 0 0.2rem;
}
.map-list {
  max-height: 18rem;
  overflow: auto;
  border: 1px solid var(--line);
  border-radius: 0.8rem;
  background: var(--card);
}
.map-list[hidden] { display: none; }
.map-list button {
  display: block;
  width: 100%;
  text-align: left;
  background: none;
  border: 0;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  font: inherit;
  min-height: 2.75rem;
  padding: 0.65rem 0.9rem;
  cursor: pointer;
}
.map-list button:last-child { border-bottom: 0; }
.map-list button:hover { background: color-mix(in srgb, var(--accent) 12%, var(--card)); }
.map-list .tiny { display: block; }

@media (min-width: 901px) {
  .map-stage { grid-template-columns: 1fr min(20rem, 32%); }
  .map-sheet { position: sticky; top: 5.5rem; }
}

@media (max-width: 900px) {
  .map-sheet:not([hidden]) {
    position: fixed;
    left: 0;
    right: 0;
    width: 100%;
    max-width: 100%;
    bottom: 0;
    z-index: 90;
    border-radius: 1.1rem 1.1rem 0 0;
    max-height: min(72vh, 34rem);
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    touch-action: pan-y;
    -webkit-overflow-scrolling: touch;
    padding: 1rem 1rem calc(1.2rem + env(safe-area-inset-bottom, 0px));
    background: #ffffff;
  }
  html.theme-dark .map-sheet:not([hidden]) { background: #152536; }
  .map-app, .map-tools, .map-search, .map-search input, .map-stage, .map-viewport {
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
  }
}

@media (max-width: 700px) {
  .look-track {
    display: flex;
    grid-template-columns: none !important;
    gap: 0.85rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 0.35rem;
  }
  .look-track figure {
    flex: 0 0 min(86vw, 22rem);
    scroll-snap-align: start;
  }
  .look-track img { height: 14rem; }
  .look-dots {
    display: flex;
    justify-content: center;
    gap: 0.45rem;
    margin-top: 0.85rem;
  }
  .look-dot {
    width: 0.55rem;
    height: 0.55rem;
    min-width: 0.55rem;
    min-height: 0.55rem;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: var(--line);
    cursor: pointer;
  }
  .look-dot.is-on { background: var(--accent); width: 1.15rem; }
  .map-canvas path { stroke-width: 1.5; }
  .map-canvas path.covered { stroke-width: 2; }
  .map-canvas path.is-selected { stroke-width: 3; }
  .map-viewport { min-height: 24rem; height: min(62vh, 32rem); height: min(62dvh, 32rem); }
  .mosaic { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  .look-track { scroll-behavior: auto; }
  .hero-cinematic.hero-light .hero-photo > img { animation: none; }
}

#how, #prices, #look, #checker, #map, #partners, #enquiry {
  scroll-margin-top: 6rem;
}
.map-search { z-index: 20; }
@media (max-width: 700px) {
  .map-suggest {
    position: static;
    box-shadow: none;
    margin-top: 0.4rem;
  }
}

.look-carousel { overflow: hidden; max-width: 100%; }
.map-chips { max-width: 100%; }
img, svg, table, pre { max-width: 100%; }
img { height: auto; }
@media (max-width: 700px) {
  .look-carousel { overflow: hidden; }
}

/* 9-item "What we check" grid: three even rows on desktop, swipe on mobile */
@media (min-width: 701px) {
  .look-carousel .look-track.mosaic {
    display: grid;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 1.1rem 1.15rem;
  }
  .look-carousel .look-track figure { min-width: 0; }
  .look-carousel .look-track img { height: 14rem; }
}

/* Partner teaser photo: crop, never stretch */
.split {
  display: grid;
  gap: 1.5rem;
  align-items: start;
}
@media (min-width: 801px) {
  .split { grid-template-columns: 1.15fr 0.85fr; align-items: center; }
}
.frame {
  margin: 0;
  border-radius: 1rem;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--card);
}
.frame img,
.partners-teaser img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center;
  border-radius: 1rem;
}

/* Council fee table */
.fees-block { margin: 1.4rem 0 1.6rem; }
.fees-from { font-size: 1.15rem; font-weight: 700; margin: 0 0 0.25rem; }
.fees-table { width: 100%; max-width: 40rem; border-collapse: collapse; background: var(--card); border: 1px solid var(--line); border-radius: 1rem; overflow: hidden; box-shadow: var(--glow); }
.fees-table th, .fees-table td { text-align: left; padding: 0.7rem 0.9rem; border-bottom: 1px solid var(--line); font-size: 0.95rem; vertical-align: top; }
.fees-table thead th { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.04em; color: var(--ink-soft); }
.fees-table tbody th { font-weight: 650; }
.fees-table td { font-variant-numeric: tabular-nums; }
.fees-table tbody tr:last-child th, .fees-table tbody tr:last-child td { border-bottom: 0; }
@media (max-width: 700px) {
  .fees-table, .fees-table thead, .fees-table tbody, .fees-table th, .fees-table td, .fees-table tr { display: block; }
  .fees-table thead { display: none; }
  .fees-table tr { border-bottom: 1px solid var(--line); padding: 0.55rem 0; }
  .fees-table tbody th, .fees-table td { border: 0; padding: 0.15rem 0.9rem; }
  .fees-table td::before { content: attr(data-label); display: block; font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.04em; color: var(--ink-soft); font-weight: 600; }
}

.map-fee-from { font-weight: 700; margin: 0.6rem 0 0.2rem; font-size: 1.05rem; }

/* Stacked enquiry form */
.enquiry-form {
  display: grid;
  gap: 1.1rem;
  max-width: 36rem;
  margin-top: 1.2rem;
}
.enquiry-form .field { display: grid; gap: 0.4rem; margin: 0; }
.enquiry-form .field span,
.enquiry-form label { font-size: 0.95rem; font-weight: 650; color: var(--ink); }
.enquiry-form input,
.enquiry-form select,
.enquiry-form textarea {
  display: block;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  min-height: 48px;
  font-size: 16px;
  line-height: 1.4;
  font-family: inherit;
  color: var(--ink);
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 0.7rem;
  padding: 0.7rem 0.85rem;
}
.enquiry-form textarea { min-height: 8rem; resize: vertical; }
.enquiry-form input:focus,
.enquiry-form select:focus,
.enquiry-form textarea:focus {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  border-color: var(--accent);
}
.enquiry-form .btn-primary { width: 100%; min-height: 48px; }
.enquiry-form .hp { position: absolute; left: -9999px; height: 0; overflow: hidden; }
.enquiry-thanks {
  border: 1px solid var(--line);
  background: var(--card);
  border-radius: 1rem;
  padding: 1.2rem 1.3rem;
  margin-top: 1.2rem;
}
.enquiry-form.is-sent { display: none; }

/* Price cards: identical primary buttons, pinned to the bottom; one column on phones */
.price-grid { align-items: stretch; }
.price-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  min-width: 0;
}
.price-card-cta {
  margin-top: auto;
  margin-bottom: 0;
  padding: 0.85rem 1rem 0;
  width: 100%;
  box-sizing: border-box;
}
.price-card-cta .btn,
.price-card .btn {
  display: flex;
  width: 100%;
  max-width: 100%;
  margin: 0;
  height: 48px;
  min-height: 48px;
  white-space: nowrap;
}
.price-included {
  margin: 0 1rem 0.2rem;
  padding: 0;
  border: 0;
  color: var(--ink-soft);
}
.price-included summary {
  cursor: pointer;
  font-weight: 650;
  color: var(--ink);
  list-style: none;
  min-height: 2rem;
}
.price-included summary::-webkit-details-marker { display: none; }
.price-included summary::after { content: " +"; color: var(--accent-text); font-weight: 700; }
.price-included[open] summary::after { content: " −"; }
.price-included p { padding: 0.35rem 0 0; margin: 0; }
@media (max-width: 640px) {
  .price-grid,
  .service-grid.price-grid,
  #prices .service-grid {
    grid-template-columns: 1fr !important;
  }
}

@media (max-width: 700px) {
  html.has-sticky-cta #prices {
    padding-bottom: calc(clamp(3rem, 7vw, 5.5rem) + 5.2rem);
  }
}

/* Equal button groups: stacked full-width on phones, same min-width in a row on desktop */
.actions, .btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  align-items: stretch;
}
.actions .btn, .btn-row .btn {
  text-align: center;
  justify-content: center;
  box-sizing: border-box;
  height: 48px;
  min-height: 48px;
  border-radius: 999px;
  white-space: nowrap;
}
@media (max-width: 640px) {
  .actions, .btn-row {
    flex-direction: column;
    align-items: stretch;
  }
  .actions .btn, .btn-row .btn {
    width: 100%;
    max-width: 100%;
  }
}
@media (min-width: 641px) {
  .actions .btn, .btn-row .btn {
    min-width: 13.5rem;
  }
}


/* Design pass (2 Dec): map side note, step cards, rhythm */
.map-empty { display: none; }
@media (min-width: 901px) {
  .map-empty { display: flex; align-items: center; grid-column: 2; grid-row: 1; padding: 1.2rem; border: 1px dashed var(--line); border-radius: 1rem; color: var(--ink-soft); min-height: 8rem; }
  .map-empty p { margin: 0; padding: 0; }
  .map-sheet:not([hidden]) ~ .map-empty { display: none; }
}
.process-step { display: flex; flex-direction: column; }
.process-step p:last-child { padding-bottom: 1.1rem; }
@media (max-width: 640px) {
  .process-step img { height: 9rem; }
  .price-grid, .process-steps { gap: 1rem; }
}
.section-lede + .actions, .caption + .actions { margin-top: 1.2rem; }

/* Tap targets (2 Dec): at least 44px */
.theme-toggle, .nav-toggle { min-height: 44px; min-width: 44px; padding: 0.35rem 1rem; display: inline-flex; align-items: center; justify-content: center; }
.nav-toggle { display: none; }
@media (max-width: 900px) { .nav-toggle { display: inline-flex; } }
.footer-nav { gap: 0 1.1rem; }
.footer-nav a { display: inline-flex; align-items: center; min-height: 44px; }
.map-chip { min-height: 44px; }
.price-included summary { min-height: 44px; display: flex; align-items: center; }
@media (max-width: 900px) {
  .look-dots { gap: 0; }
  .look-dot { position: relative; background: transparent; width: 1.6rem; height: 2.75rem; min-width: 1.6rem; min-height: 2.75rem; }
  .look-dot::before { content: ""; position: absolute; left: 50%; top: 50%; width: 0.55rem; height: 0.55rem; border-radius: 999px; background: var(--line); transform: translate(-50%, -50%); transition: width .2s; }
  .look-dot.is-on { background: transparent; width: 1.6rem; }
  .look-dot.is-on::before { background: var(--accent); width: 1.15rem; }
}
@media (max-width: 900px) { nav.is-open a, nav.is-open button { min-height: 44px; display: inline-flex; align-items: center; } }
/* Fit at 360px: risk checker fields and legal tables */
.risk-box, .risk-box label, .risk-nums, .risk-nums label { min-width: 0; }
.risk-box select, .risk-box input { max-width: 100%; box-sizing: border-box; }
.risk-box > label select { width: 100%; }
.risk-nums input { width: 100%; min-width: 0; }
@media (max-width: 900px) { nav a, nav button { min-height: 44px; display: inline-flex; align-items: center; } }
@media (max-width: 640px) {
  main table:not(.fees-table) { display: block; max-width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; }
  main table:not(.fees-table) th, main table:not(.fees-table) td { min-width: 9rem; vertical-align: top; }
}
