/* National Floors franchise landing page.
   Brand tokens follow nationalfloors.com.au (its nf-design-system.css): Poppins
   headings, Nunito Sans text, slate navy, lemon yellow, rust labels, cream panels.
   Layout: dark showroom hero with the form, then alternating white / cream bands,
   two navy bands for the numbers and the territory map, and a yellow close. */

/* fonts:start (self-hosted Latin subsets; tools/build_artifact.py swaps this for Google Fonts) */
@font-face { font-family: "Nunito Sans"; font-style: normal; font-weight: 400 800; font-display: swap; src: url("fonts/nunito-sans-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 600; font-display: swap; src: url("fonts/poppins-600.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 700; font-display: swap; src: url("fonts/poppins-700.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 800; font-display: swap; src: url("fonts/poppins-800.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
/* fonts:end */

:root {
  --navy: #17283f;
  --navy-700: #24364f;
  --navy-900: #0f1e31;
  --navy-950: #0a1626;
  --yellow: #ffed00;
  --yellow-600: #eedc00;
  --rust: #a55234;
  --cream: #fffaf3;
  --sand: #f6f0e6;
  --line: #e8e0d3;
  --line-strong: #d6ccbc;
  --ink: #1d222c;
  --text: #4a4d55;
  --muted: #66615a;
  --white: #ffffff;
  --green: #2e6643;
  --green-bg: #e9f4ec;
  --error: #b03a2e;
  --on-dark: rgba(255, 255, 255, 0.86);
  --on-dark-2: rgba(255, 255, 255, 0.64);
  --on-dark-line: rgba(255, 255, 255, 0.12);
  --font-display: "Poppins", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "Nunito Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 20px;
  --shadow-sm: 0 1px 2px rgba(15, 30, 49, 0.06), 0 8px 22px rgba(15, 30, 49, 0.06);
  --shadow-md: 0 2px 6px rgba(15, 30, 49, 0.05), 0 22px 50px rgba(15, 30, 49, 0.11);
  --shadow-lg: 0 34px 90px rgba(5, 12, 24, 0.45);
  --wrap: 1200px;
  --header-h: 72px;
  color-scheme: light;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-top: calc(var(--header-h) + 20px); -webkit-text-size-adjust: 100%; }
/* Smooth only for clicks within a page. On page load (a link to /#numbers from a
   territory page) it can leave the browser at the top instead of the section. */
html:focus-within { scroll-behavior: smooth; }
html.modal-open { overflow: hidden; }
body { margin: 0; font-family: var(--font-body); font-size: 17px; line-height: 1.65; color: var(--text); background: var(--white); -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, h4 { margin: 0; font-family: var(--font-display); color: var(--ink); letter-spacing: -0.02em; text-wrap: balance; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
figure { margin: 0; }
fieldset { margin: 0; padding: 0; border: 0; min-width: 0; }
legend { padding: 0; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid rgba(165, 82, 52, 0.55); outline-offset: 3px; }
.dark :focus-visible { outline-color: var(--yellow); }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: 24px; }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.ico { width: 1.1em; height: 1.1em; flex: none; }

/* ---------- Buttons (the main site's style: compact uppercase, 8px corners) ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 54px; padding: 0 26px; border: 0; border-radius: var(--r-sm); font: 700 0.88rem/1 var(--font-display); letter-spacing: 0.06em; text-transform: uppercase; text-decoration: none; white-space: nowrap; cursor: pointer; transition: transform 0.18s ease, background-color 0.18s ease, box-shadow 0.18s ease; }
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: none; }
.btn[disabled] { opacity: 0.65; cursor: progress; transform: none; }
.btn .ico { width: 18px; height: 18px; transition: transform 0.18s ease; }
.btn:hover .ico { transform: translateX(2px); }
.btn-primary { background: var(--yellow); color: var(--navy); box-shadow: 0 10px 24px rgba(15, 30, 49, 0.14); }
.btn-primary:hover { background: var(--yellow-600); }
.btn-navy { background: var(--navy); color: var(--white); box-shadow: inset 4px 0 0 var(--yellow), 0 12px 26px rgba(15, 30, 49, 0.18); }
.btn-navy:hover { background: var(--navy-900); }
.btn-sm { min-height: 44px; padding: 0 18px; font-size: 0.8rem; }
.btn-block { width: 100%; }

/* ---------- Top bar + header ---------- */
.topbar { background: var(--yellow); color: var(--navy); }
.topbar-inner { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 4px 14px; min-height: 40px; padding-block: 6px; font-size: 0.88rem; line-height: 1.35; text-align: center; }
.topbar strong { font-weight: 800; }
.topbar-dot { position: relative; width: 8px; height: 8px; border-radius: 50%; background: var(--navy); }
.topbar-dot::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: var(--navy); animation: pulse 2s ease-out infinite; will-change: transform, opacity; }
.topbar-link { display: inline-flex; align-items: center; gap: 6px; font-weight: 800; text-decoration: none; border-bottom: 1.5px solid currentColor; }
.topbar-link .ico { width: 14px; height: 14px; }
@keyframes pulse { 0% { transform: scale(1); opacity: 0.5; } 75%, 100% { transform: scale(2.8); opacity: 0; } }

.header { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50; background: rgba(10, 22, 38, 0.94); -webkit-backdrop-filter: saturate(1.4) blur(14px); backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid rgba(255, 255, 255, 0.07); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: var(--header-h); }
.logo img { height: 36px; width: auto; }

/* ---------- Hero ---------- */
.hero { position: relative; isolation: isolate; overflow: hidden; color: var(--on-dark); background: var(--navy-950); }
.hero-bg { position: absolute; inset: 0; z-index: -1; overflow: hidden; background: var(--navy-950); }
.hero-bg img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 40%; }
.hero-bg::after { content: ""; position: absolute; inset: 0; background:
  linear-gradient(90deg, rgba(10, 22, 38, 0.97) 0%, rgba(10, 22, 38, 0.9) 34%, rgba(10, 22, 38, 0.66) 64%, rgba(10, 22, 38, 0.5) 100%),
  linear-gradient(0deg, rgba(10, 22, 38, 0.9) 0%, rgba(10, 22, 38, 0) 45%); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.06fr) minmax(0, 0.94fr); gap: 56px; align-items: center; padding-block: 64px 140px; }
.hero-copy { display: grid; gap: 24px; align-content: start; }
.kicker { justify-self: start; display: inline-flex; align-items: center; gap: 10px; padding: 7px 14px 7px 11px; border: 1px solid rgba(255, 255, 255, 0.16); border-radius: 999px; background: rgba(255, 255, 255, 0.06); font-size: 0.76rem; font-weight: 800; letter-spacing: 0.13em; text-transform: uppercase; color: var(--on-dark); }
.kicker-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--yellow); box-shadow: 0 0 0 4px rgba(255, 237, 0, 0.18); }
.hero h1 { color: var(--white); font-weight: 700; font-size: clamp(2.7rem, 5.1vw, 4.5rem); line-height: 1.03; letter-spacing: -0.038em; }
.hero h1 .hl { color: var(--yellow); }
.hero-sub { max-width: 46ch; font-size: clamp(1.08rem, 1.35vw, 1.22rem); line-height: 1.6; color: var(--on-dark); }
.signs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; max-width: 540px; margin-top: 4px; }
.sign { display: grid; gap: 2px; padding: 18px 20px 16px; border-radius: var(--r-md); background: var(--yellow); color: var(--navy); box-shadow: 0 18px 40px rgba(0, 0, 0, 0.28); }
.sign-label, .sign-foot { font: 700 0.7rem/1.3 var(--font-display); letter-spacing: 0.09em; text-transform: uppercase; }
.sign-label { opacity: 0.75; }
.sign-num { display: flex; align-items: flex-start; margin: 6px 0 2px; font: 800 clamp(2.8rem, 4.4vw, 3.8rem)/0.95 var(--font-display); letter-spacing: -0.045em; font-variant-numeric: lining-nums; }
.sign-num small { margin: 0.12em 0.04em 0 0; font-size: 0.45em; letter-spacing: 0; }
.hero-proof { display: flex; flex-wrap: wrap; gap: 10px 26px; font-size: 0.92rem; color: var(--on-dark); }
.hero-proof li { display: inline-flex; align-items: center; gap: 9px; }
.hero-proof b { color: var(--white); font-weight: 800; }
.hero-proof .ico { width: 18px; height: 18px; color: var(--yellow); }
.proof-link { display: inline-flex; align-items: center; gap: 9px; color: var(--white); font-weight: 700; text-decoration: none; border-bottom: 1px solid rgba(255, 255, 255, 0.35); }
.proof-link:hover { border-bottom-color: var(--yellow); }
.stars { display: inline-flex; gap: 2px; color: var(--yellow); }
.stars svg { width: 15px; height: 15px; }
.hero-note { font-size: 0.78rem; line-height: 1.5; color: var(--on-dark-2); }
.form-slot { width: 100%; max-width: 470px; margin-left: auto; }

/* ---------- The form card ---------- */
.form-card { position: relative; padding: 28px 28px 22px; border-radius: var(--r-lg); background: var(--white); color: var(--text); box-shadow: var(--shadow-lg); }
.fc-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.fc-title { font: 700 1.3rem/1.2 var(--font-display); letter-spacing: -0.02em; color: var(--ink); }
.fc-sub { margin-top: 3px; font-size: 0.88rem; color: var(--muted); }
.fc-status { display: inline-flex; align-items: center; gap: 7px; flex: none; padding: 6px 11px; border-radius: 999px; background: var(--green-bg); color: var(--green); font-size: 0.78rem; font-weight: 800; white-space: nowrap; }
.fc-status i { width: 7px; height: 7px; border-radius: 50%; background: var(--green); }
.fc-progress { margin-top: 18px; }
.fc-bar { height: 6px; overflow: hidden; border-radius: 999px; background: var(--sand); }
.fc-bar span { display: block; width: 20%; height: 100%; border-radius: inherit; background: var(--navy); transition: width 0.35s ease; }
.fc-meta { display: flex; align-items: center; justify-content: space-between; min-height: 34px; margin-top: 6px; font-size: 0.84rem; color: var(--muted); }
.fc-back { display: inline-flex; align-items: center; gap: 6px; padding: 4px 0; border: 0; background: none; color: var(--navy); font-weight: 800; cursor: pointer; }
.fc-back .ico { width: 14px; height: 14px; transform: rotate(180deg); }
.fc-meta > span { margin-left: auto; }
.fstep { display: grid; gap: 14px; animation: step-in 0.28s ease; }
@keyframes step-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.q { margin-bottom: 14px; font: 700 1.28rem/1.3 var(--font-display); letter-spacing: -0.02em; color: var(--ink); }
.q-sm { margin-bottom: 10px; font: 600 0.98rem/1.35 var(--font-display); color: var(--ink); }
.hint { margin-top: -6px; font-size: 0.88rem; color: var(--muted); }
.group { display: grid; }

.tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.tiles-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.tile { position: relative; display: block; cursor: pointer; }
.tile > input { position: absolute; inset: 0; margin: 0; opacity: 0; cursor: pointer; }
.tile > span { display: flex; align-items: center; justify-content: center; gap: 8px; height: 100%; min-height: 48px; padding: 8px 10px; border: 1.5px solid var(--line); border-radius: 10px; background: var(--white); color: var(--ink); font-size: 0.93rem; font-weight: 700; line-height: 1.25; text-align: center; transition: border-color 0.15s ease, background-color 0.15s ease, color 0.15s ease, box-shadow 0.15s ease; }
.tile:hover > span { border-color: var(--navy-700); background: var(--cream); }
.tile > input:checked + span { border-color: var(--navy); background: var(--navy); color: var(--white); box-shadow: 0 8px 18px rgba(15, 30, 49, 0.2); }
.tile > input:focus-visible + span { outline: 3px solid rgba(165, 82, 52, 0.55); outline-offset: 2px; }
.tile-other > span { flex-direction: column; gap: 1px; }
.tile-other small { color: var(--muted); letter-spacing: 0.04em; }
.tile small { font-size: 0.64rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: var(--rust); }
.tile > input:checked + span small { color: var(--yellow); }
.tile .tick { display: none; width: 16px; height: 16px; color: var(--yellow); }
.tile > input:checked + span .tick { display: block; }
.choices { display: grid; gap: 8px; }
.choice > span { justify-content: flex-start; gap: 14px; min-height: 64px; padding: 12px 16px; text-align: left; }
.choice > span::before { content: ""; flex: none; width: 20px; height: 20px; border: 2px solid var(--line-strong); border-radius: 50%; background: var(--white); transition: border-color 0.15s ease, box-shadow 0.15s ease; }
.choice > input:checked + span { background: var(--cream); color: var(--ink); box-shadow: none; }
.choice > input:checked + span::before { border-color: var(--navy); box-shadow: inset 0 0 0 4px var(--white), inset 0 0 0 10px var(--navy); }
.c-txt { display: grid; gap: 1px; }
.c-txt b { font-weight: 800; color: var(--ink); }
.c-txt em { font-style: normal; font-size: 0.84rem; font-weight: 600; color: var(--muted); }

.field { display: grid; gap: 6px; min-width: 0; }
.field label { font-size: 0.88rem; font-weight: 700; color: var(--ink); }
.optional { margin-left: 4px; font-size: 0.74rem; font-weight: 700; color: var(--muted); }
.input { width: 100%; height: 50px; padding: 0 14px; border: 1.5px solid var(--line); border-radius: 10px; background: var(--white); font-size: 1rem; color: var(--ink); transition: border-color 0.15s ease, box-shadow 0.15s ease; }
.input::placeholder { color: #a39c92; }
.input:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 4px rgba(23, 40, 63, 0.1); }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.invalid .input, .invalid .tile > span { border-color: var(--error); }
.err { font-size: 0.84rem; font-weight: 700; color: var(--error); }
.form-error { margin-top: 14px; padding: 10px 12px; border-radius: 10px; background: #fbecea; color: var(--error); font-size: 0.9rem; font-weight: 600; }
.fc-nav { margin-top: 20px; }
.fc-consent { margin-top: 12px; font-size: 0.78rem; line-height: 1.5; text-align: center; color: var(--muted); }
.fc-consent a { color: var(--navy); font-weight: 700; }
.fc-trust { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 18px; margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line); font-size: 0.8rem; font-weight: 700; color: var(--muted); }
.fc-trust span { display: inline-flex; align-items: center; gap: 6px; }
.fc-trust .ico { width: 14px; height: 14px; color: var(--green); }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

.done { display: grid; justify-items: center; gap: 12px; padding: 12px 4px 4px; text-align: center; outline: none; }
.done-badge { display: grid; place-items: center; width: 68px; height: 68px; border-radius: 50%; background: var(--yellow); color: var(--navy); box-shadow: 0 0 0 8px rgba(255, 237, 0, 0.25); }
.done-badge .ico { width: 32px; height: 32px; }
.done h3 { margin-top: 6px; font-size: 1.65rem; letter-spacing: -0.03em; }
.done > p { max-width: 34ch; color: var(--muted); }
.next { width: 100%; margin-top: 8px; padding: 18px; border-radius: var(--r-md); background: var(--cream); text-align: left; }
.next-title { margin-bottom: 12px; font-size: 0.72rem; font-weight: 800; letter-spacing: 0.13em; text-transform: uppercase; color: var(--rust); }
.next ol { display: grid; gap: 12px; counter-reset: n; }
.next li { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 12px; font-size: 0.95rem; color: var(--ink); counter-increment: n; }
.next li::before { content: counter(n); display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--navy); color: var(--white); font: 700 0.78rem/1 var(--font-display); }
.done-demo { font-size: 0.76rem; color: var(--muted); }

/* The same card, lifted over the page when a button further down opens it. */
.form-dialog { width: min(470px, calc(100% - 24px)); max-height: calc(100% - 24px); padding: 0; border: 0; background: transparent; overflow: auto; }
.form-dialog::backdrop { background: rgba(5, 12, 24, 0.66); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); }
.form-dialog[open] { animation: pop 0.22s ease; }
@keyframes pop { from { opacity: 0; transform: translateY(10px) scale(0.985); } to { opacity: 1; transform: none; } }
.form-dialog .form-card { box-shadow: none; }
.form-dialog .fc-head { padding-right: 48px; }
.form-dialog .fc-status { display: none; }
.dialog-close { position: absolute; top: 18px; right: 18px; z-index: 3; display: grid; place-items: center; width: 38px; height: 38px; border: 1px solid var(--line); border-radius: 50%; background: var(--white); color: var(--ink); cursor: pointer; }
.dialog-close .ico { width: 16px; height: 16px; }

/* ---------- At a glance (overlaps the hero) ---------- */
.glance { position: relative; z-index: 2; margin-top: -86px; }
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); overflow: hidden; border-radius: var(--r-lg); background: var(--white); box-shadow: var(--shadow-md); }
.stats li { display: grid; align-content: start; gap: 6px; padding: 28px 28px 26px; border-left: 1px solid var(--line); }
.stats li:first-child { border-left: 0; }
.stats strong { font: 700 clamp(2rem, 3vw, 2.55rem)/1 var(--font-display); letter-spacing: -0.04em; color: var(--navy); font-variant-numeric: tabular-nums; }
.stats span { font-size: 0.94rem; line-height: 1.4; color: var(--muted); }
.suppliers { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 14px 40px; padding-top: 36px; }
.suppliers-label { font-size: 0.72rem; font-weight: 800; letter-spacing: 0.15em; text-transform: uppercase; color: var(--muted); }
.suppliers ul { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 36px; }
.suppliers li { font: 600 1.06rem/1 var(--font-display); letter-spacing: -0.01em; color: #736d65; }
.suppliers .more { color: var(--rust); }

/* ---------- Sections ---------- */
.section { padding-block: 112px; }
.section-cream { background: var(--cream); }
.section-navy { background: var(--navy); color: var(--on-dark); }
.section-deep { background: var(--navy-950); color: var(--on-dark); }
.dark h2, .dark h3 { color: var(--white); }
.head { display: grid; gap: 14px; max-width: 700px; margin-bottom: 56px; }
.head-center { justify-items: center; margin-inline: auto; text-align: center; }
.eyebrow { font-size: 0.76rem; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; color: var(--rust); }
.dark .eyebrow { color: var(--yellow); }
.h2 { font-weight: 700; font-size: clamp(2rem, 3.5vw, 2.95rem); line-height: 1.1; letter-spacing: -0.032em; color: var(--ink); }
.dark .h2 { color: var(--white); }
.h3 { font-weight: 700; font-size: clamp(1.55rem, 2.4vw, 2.05rem); line-height: 1.16; letter-spacing: -0.03em; }
.lede { max-width: 58ch; font-size: 1.14rem; line-height: 1.65; color: var(--text); }
.dark .lede { color: var(--on-dark); }

/* Sections below the first screen are laid out only when they're about to be
   seen, which cuts the work a phone does while the page first loads. "auto"
   remembers each section's real height once it has been shown. */
.section, .final, .footer { content-visibility: auto; contain-intrinsic-size: auto 1000px; }
/* Territory pages are light and script-free, so they render in full: no placeholder
   heights for tools (or people) to trip over. */
.t-page .section, .t-page .final, .t-page .footer { content-visibility: visible; }

/* Showrooms */
.gallery { display: grid; grid-template-columns: minmax(0, 2.1fr) minmax(0, 1fr); gap: 20px; }
.gallery figure { position: relative; overflow: hidden; border-radius: var(--r-lg); background: var(--navy-950); }
.gallery .video { grid-row: span 2; aspect-ratio: 16 / 9; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s ease; }
.gallery figure:hover img { transform: scale(1.03); }
.gallery figcaption { position: absolute; left: 16px; bottom: 16px; display: inline-flex; align-items: center; gap: 9px; padding: 9px 15px 9px 12px; border-radius: 999px; background: rgba(255, 255, 255, 0.95); color: var(--ink); font: 600 0.86rem/1.2 var(--font-display); box-shadow: 0 6px 18px rgba(0, 0, 0, 0.16); }
.gallery figcaption i { width: 8px; height: 8px; border-radius: 50%; background: var(--yellow); box-shadow: 0 0 0 3px rgba(23, 40, 63, 0.14); }
.video-play { position: absolute; inset: 0; display: block; color: var(--white); text-decoration: none; }
.video-play::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(10, 22, 38, 0.66) 0%, rgba(10, 22, 38, 0.1) 46%, rgba(10, 22, 38, 0) 100%); }
.play-btn { position: absolute; z-index: 1; left: 50%; top: 50%; display: grid; place-items: center; width: 88px; height: 88px; margin: -44px 0 0 -44px; border-radius: 50%; background: var(--yellow); color: var(--navy); box-shadow: 0 0 0 12px rgba(255, 237, 0, 0.22), 0 16px 40px rgba(0, 0, 0, 0.35); transition: transform 0.2s ease, box-shadow 0.2s ease; }
.play-btn svg { width: 32px; height: 32px; margin-left: 4px; }
.video-play:hover .play-btn, .video-play:focus-visible .play-btn { transform: scale(1.07); box-shadow: 0 0 0 16px rgba(255, 237, 0, 0.26), 0 16px 40px rgba(0, 0, 0, 0.35); }
.video-tag { position: absolute; z-index: 1; left: 24px; bottom: 22px; display: grid; gap: 4px; font: 600 1.15rem/1.25 var(--font-display); letter-spacing: -0.01em; text-shadow: 0 2px 14px rgba(0, 0, 0, 0.35); }
.video-tag small { font: 800 0.72rem/1 var(--font-body); letter-spacing: 0.14em; text-transform: uppercase; color: var(--yellow); }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* Why a showroom */
.why-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 72px; align-items: center; }
.why-grid .head { margin-bottom: 36px; }
.features { display: grid; gap: 26px; }
.features li { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 18px; }
.badge-ico { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 12px; background: var(--navy); color: var(--yellow); }
.badge-ico .ico { width: 22px; height: 22px; }
.badge-sm { width: 42px; height: 42px; border-radius: 11px; }
.badge-sm .ico { width: 20px; height: 20px; }
.features h3 { font-size: 1.12rem; font-weight: 600; letter-spacing: -0.015em; }
.features p { margin-top: 4px; }
.compare { padding: 26px; border-radius: var(--r-lg); background: var(--white); box-shadow: var(--shadow-md); }
.compare-title { font: 700 1.15rem/1.3 var(--font-display); letter-spacing: -0.015em; color: var(--ink); }
.compare-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 18px 0 6px; }
.compare-cols span { font-size: 0.72rem; font-weight: 800; letter-spacing: 0.13em; text-transform: uppercase; color: var(--muted); }
.compare-cols .us { color: var(--navy); }
.compare-row { padding: 14px 0; border-top: 1px solid var(--line); }
.compare-label { margin-bottom: 10px; font: 600 0.92rem/1.3 var(--font-display); color: var(--ink); }
.compare-cells { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.cell { display: flex; align-items: flex-start; gap: 9px; padding: 11px 13px; border-radius: 10px; font-size: 0.92rem; line-height: 1.4; }
.cell .ico { width: 17px; height: 17px; margin-top: 1px; }
.cell-them { background: var(--sand); color: var(--muted); }
.cell-them .ico { color: #b4aa9c; }
.cell-us { background: var(--navy); color: var(--white); font-weight: 600; }
.cell-us .ico { color: var(--yellow); }

/* Training and support */
.timeline { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; }
.timeline::before { content: ""; position: absolute; top: 24px; left: 24px; right: 24px; height: 2px; background: var(--line); }
.tl-item { position: relative; display: grid; gap: 22px; align-content: start; }
.tl-node { position: relative; z-index: 1; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: var(--navy); color: var(--yellow); font: 700 1.05rem/1 var(--font-display); box-shadow: 0 0 0 8px var(--white); }
.tl-body h3 { margin-bottom: 14px; font-size: 1.3rem; font-weight: 700; letter-spacing: -0.025em; }
.checks { display: grid; gap: 11px; }
.checks li { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 11px; font-size: 0.98rem; line-height: 1.5; }
.checks .ico { width: 18px; height: 18px; margin-top: 3px; color: var(--green); }
.checks b { font-weight: 700; color: var(--ink); }
.training { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 72px; align-items: center; margin-top: 104px; padding-top: 104px; border-top: 1px solid var(--line); }
.training .h3 { margin-top: 12px; }
.training p:not(.eyebrow) { margin-top: 16px; }
.mini-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 30px; }
.mini-stats div { padding: 16px 16px 14px; border-radius: var(--r-md); background: var(--cream); }
.mini-stats strong { display: block; font: 700 1.5rem/1.1 var(--font-display); letter-spacing: -0.035em; color: var(--navy); }
.mini-stats span { display: block; margin-top: 4px; font-size: 0.86rem; line-height: 1.35; color: var(--muted); }
.browser { overflow: hidden; border: 1px solid var(--line); border-radius: var(--r-md); background: var(--white); box-shadow: var(--shadow-md); }
.browser-bar { display: flex; align-items: center; gap: 6px; height: 36px; padding: 0 14px; border-bottom: 1px solid var(--line); background: #f4efe7; }
.browser-bar i { width: 10px; height: 10px; border-radius: 50%; background: var(--line-strong); }
.browser-bar span { margin-left: 10px; font-size: 0.76rem; font-weight: 700; color: var(--muted); }
.browser img { width: 100%; aspect-ratio: 16 / 11; object-fit: cover; object-position: top left; }
.browser-dark { border-color: #2b2e36; background: #202227; }
.browser-dark .browser-bar { border-color: #2b2e36; background: #2b2e36; }
.browser-dark .browser-bar i { background: #50535b; }
.browser-dark .browser-bar span { color: #a5a8af; }
.browser-dark img { aspect-ratio: 16 / 12; }

/* Technology */
.systems { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 72px; align-items: center; }
.systems .head { margin-bottom: 32px; }
.tools { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.tools li { padding: 20px; border-radius: var(--r-md); background: var(--white); box-shadow: var(--shadow-sm); }
.tools h3 { margin-top: 14px; font-size: 1rem; font-weight: 600; letter-spacing: -0.01em; }
.tools p { margin-top: 4px; font-size: 0.92rem; line-height: 1.5; }

/* The numbers */
.numbers { display: grid; grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr); gap: 28px; align-items: start; }
.chart-card { display: flex; flex-direction: column; padding: 32px; border: 1px solid var(--on-dark-line); border-radius: var(--r-lg); background: rgba(255, 255, 255, 0.04); }
.chart-title { font-size: 0.74rem; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; color: var(--yellow); }
.chart { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; align-items: end; height: 320px; margin-top: 26px; padding: 0 10px; border-bottom: 2px solid rgba(255, 255, 255, 0.35); background: repeating-linear-gradient(to top, rgba(255, 255, 255, 0.06) 0 1px, transparent 1px 25%); }
.bar-col { display: flex; flex-direction: column; align-items: center; justify-content: flex-end; height: 100%; gap: 12px; }
.bar-val { font: 700 2rem/1 var(--font-display); letter-spacing: -0.035em; color: var(--white); }
.bar { width: min(112px, 70%); border-radius: 8px 8px 0 0; background: var(--yellow); }
.bar-labels { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; padding: 14px 10px 0; text-align: center; font-size: 0.92rem; font-weight: 700; color: var(--on-dark); }
.chart-meta { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 28px; }
.chart-meta div:only-child { grid-column: 1 / -1; }
.chart-meta div { padding: 16px 18px; border-radius: var(--r-md); background: rgba(255, 255, 255, 0.06); font-size: 0.9rem; line-height: 1.45; color: var(--on-dark-2); }
.chart-meta b { display: block; margin-bottom: 3px; font: 700 1.2rem/1.2 var(--font-display); letter-spacing: -0.02em; color: var(--white); }
.invest { padding: 36px; border-radius: var(--r-lg); background: var(--white); color: var(--text); box-shadow: var(--shadow-lg); }
.invest-top { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 14px 24px; padding-bottom: 24px; border-bottom: 1px solid var(--line); }
.invest-label { font-size: 0.74rem; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; color: var(--rust); }
.invest-price { margin-top: 8px; font: 700 clamp(2.4rem, 3.8vw, 3.1rem)/1 var(--font-display); letter-spacing: -0.045em; color: var(--ink); }
.invest-price small { font-size: 0.4em; font-weight: 600; letter-spacing: 0; color: var(--muted); }
.invest-cover { max-width: 30ch; font-size: 0.95rem; line-height: 1.5; color: var(--muted); }
.invest h3 { margin: 26px 0 14px; font: 800 0.72rem/1 var(--font-body); letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.stack { display: grid; grid-template-columns: 1fr 1fr; gap: 11px 24px; }
.stack li { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 10px; font-size: 0.94rem; font-weight: 600; line-height: 1.4; color: var(--ink); }
.stack .ico { width: 18px; height: 18px; margin-top: 1px; color: var(--green); }
.fees { margin: 0; padding: 4px 18px; border-radius: var(--r-md); background: var(--cream); }
.fees div { display: flex; justify-content: space-between; gap: 18px; padding: 13px 0; border-top: 1px solid var(--line); font-size: 0.94rem; }
.fees div:first-child { border-top: 0; }
.fees dt { color: var(--text); }
.fees dd { margin: 0; font-weight: 800; text-align: right; color: var(--ink); }
.invest .btn { margin-top: 26px; }

/* Is this you? */
.fit { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: 64px; align-items: center; }
.fit .head { margin-bottom: 32px; }
.fit-list { display: grid; gap: 12px; }
.fit-list li { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 16px; padding: 18px 20px; border-radius: var(--r-md); background: var(--cream); font-size: 1.04rem; }
.fit-list b { color: var(--ink); }
.check-dot { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--yellow); color: var(--navy); }
.check-dot .ico { width: 16px; height: 16px; }
.fit-card { position: relative; overflow: hidden; display: grid; gap: 14px; justify-items: start; padding: 40px; border-radius: var(--r-lg); background: var(--navy); color: var(--on-dark); }
.fit-card::after { content: ""; position: absolute; right: -6px; top: 0; width: 150px; height: 100%; background: repeating-linear-gradient(90deg, rgba(255, 237, 0, 0.1) 0 10px, transparent 10px 26px); -webkit-mask: linear-gradient(270deg, #000, transparent); mask: linear-gradient(270deg, #000, transparent); pointer-events: none; }
.fit-card strong { font: 800 clamp(4.2rem, 7vw, 5.6rem)/0.9 var(--font-display); letter-spacing: -0.06em; color: var(--yellow); }
.fit-card h3 { font-size: 1.4rem; font-weight: 600; line-height: 1.3; color: var(--white); }
.fit-card .btn { margin-top: 10px; }

/* Territories */
.terr { display: grid; grid-template-columns: minmax(0, 1.32fr) minmax(0, 0.68fr); gap: 28px; align-items: start; }
.map-card { padding: 16px; border: 1px solid rgba(255, 255, 255, 0.09); border-radius: var(--r-lg); background: rgba(255, 255, 255, 0.03); }
.map { display: block; width: 100%; height: auto; }
.map .state { fill: #1b2e46; stroke: rgba(255, 255, 255, 0.22); stroke-width: 1.3; stroke-linejoin: round; }
.map .metro { fill: rgba(255, 255, 255, 0.45); font: 700 11px var(--font-body); letter-spacing: 0.16em; text-transform: uppercase; }
.map .town { fill: rgba(255, 255, 255, 0.92); font: 700 14px var(--font-body); pointer-events: none; }
.map .town-dim { fill: rgba(255, 255, 255, 0.5); }
.pin { cursor: pointer; outline: none; }
.pin .hit { fill: transparent; }
.pin .d-available { fill: var(--yellow); stroke: var(--navy-950); stroke-width: 2; }
.pin .d-reserved { fill: var(--navy-950); stroke: var(--yellow); stroke-width: 2.4; }
.pin .d-established { fill: var(--white); stroke: var(--navy-950); stroke-width: 1.5; }
.pin .ring { fill: none; stroke: var(--yellow); stroke-width: 1.8; transform-box: fill-box; transform-origin: center; animation: ping 2.6s ease-out infinite; }
.pin:hover .dot, .pin:focus-visible .dot, .pin.on .dot { stroke: var(--white); stroke-width: 3.5; }
@keyframes ping { 0% { transform: scale(1); opacity: 0.75; } 80%, 100% { transform: scale(2.7); opacity: 0; } }
.legend { display: flex; flex-wrap: wrap; gap: 8px 22px; padding: 10px 6px 2px; font-size: 0.88rem; color: var(--on-dark-2); }
.legend span { display: inline-flex; align-items: center; gap: 8px; }
.legend i { display: inline-block; width: 12px; height: 12px; border-radius: 50%; }
.l-available { background: var(--yellow); }
.l-reserved { border: 2.4px solid var(--yellow); }
.l-established { background: var(--white); }
.terr-side { display: grid; gap: 22px; }
.counts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.counts div { padding: 16px 8px 14px; border-radius: var(--r-md); background: rgba(255, 255, 255, 0.05); text-align: center; }
.counts strong { display: block; font: 700 2.2rem/1 var(--font-display); letter-spacing: -0.04em; color: var(--white); font-variant-numeric: tabular-nums; }
.counts .c-open strong { color: var(--yellow); }
.counts span { display: block; margin-top: 6px; font-size: 0.72rem; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; color: var(--on-dark-2); }
.pick { display: grid; gap: 10px; padding: 24px; border-radius: var(--r-lg); background: var(--white); color: var(--text); }
.pick-status { justify-self: start; display: inline-flex; align-items: center; gap: 7px; padding: 5px 10px; border-radius: 999px; font-size: 0.72rem; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; }
.pick-status::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.s-available { background: var(--green-bg); color: var(--green); }
.s-reserved { background: #fbefe6; color: var(--rust); }
.s-established { background: #e8edf4; color: var(--navy); }
.pick h3 { font-size: 1.9rem; font-weight: 700; letter-spacing: -0.035em; color: var(--ink); }
.pick p { font-size: 0.96rem; line-height: 1.5; color: var(--muted); }
.pick .btn { margin-top: 6px; }
.pick-more { justify-self: center; display: inline-flex; align-items: center; gap: 7px; margin-top: 2px; color: var(--navy); font-size: 0.92rem; font-weight: 800; text-decoration: none; border-bottom: 1.5px solid var(--line-strong); }
.pick-more:hover { border-bottom-color: var(--navy); }
.pick-more .ico { width: 14px; height: 14px; }
.chips-title { margin-bottom: 10px; font-size: 0.72rem; font-weight: 800; letter-spacing: 0.13em; text-transform: uppercase; color: var(--on-dark-2); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { min-height: 38px; padding: 0 14px; border: 1px solid rgba(255, 255, 255, 0.16); border-radius: 999px; background: transparent; color: var(--white); font-size: 0.9rem; font-weight: 700; cursor: pointer; transition: border-color 0.15s ease, background-color 0.15s ease, color 0.15s ease; }
.chip:hover { border-color: var(--yellow); }
.chip.on { border-color: var(--yellow); background: var(--yellow); color: var(--navy); }
.chip-dim { color: var(--on-dark-2); }
.terr-all { justify-self: start; display: inline-flex; align-items: center; gap: 8px; color: var(--white); font-size: 0.92rem; font-weight: 700; line-height: 1.4; text-decoration: none; border-bottom: 1px solid rgba(255, 255, 255, 0.3); }
.terr-all:hover { border-bottom-color: var(--yellow); }
.terr-all .ico { flex: none; width: 15px; height: 15px; color: var(--yellow); }

/* Process */
.steps { position: relative; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 24px; counter-reset: s; }
.steps::before { content: ""; position: absolute; top: 27px; left: 28px; right: 28px; height: 2px; background: var(--line); }
.steps li { position: relative; display: grid; gap: 8px; align-content: start; }
.steps li::before { counter-increment: s; content: counter(s); position: relative; display: grid; place-items: center; width: 56px; height: 56px; margin-bottom: 12px; border-radius: 50%; background: var(--yellow); color: var(--navy); font: 700 1.15rem/1 var(--font-display); box-shadow: 0 0 0 8px var(--white); }
.steps h3 { font-size: 1.05rem; font-weight: 600; letter-spacing: -0.015em; }
.steps p { font-size: 0.95rem; line-height: 1.5; }
.center-cta { display: flex; justify-content: center; margin-top: 60px; }

/* FAQ */
.faq-grid { display: grid; grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr); gap: 64px; align-items: start; }
.faq-head { position: sticky; top: calc(var(--header-h) + 36px); margin-bottom: 0; justify-items: start; }
.faq-head .btn { margin-top: 12px; }
.faq { display: grid; gap: 10px; }
.faq details { border-radius: var(--r-md); background: var(--white); box-shadow: var(--shadow-sm); transition: box-shadow 0.2s ease; }
.faq details[open] { box-shadow: var(--shadow-md); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 20px 22px; list-style: none; cursor: pointer; font: 600 1.02rem/1.4 var(--font-display); letter-spacing: -0.01em; color: var(--ink); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--cream); color: var(--rust); font: 600 1.25rem/1 var(--font-body); transition: background-color 0.2s ease, color 0.2s ease; }
.faq details[open] summary::after { content: "\2212"; background: var(--navy); color: var(--yellow); }
.faq details p { padding: 0 22px 22px; }

/* Final call to action */
.final { position: relative; overflow: hidden; background: var(--yellow); color: var(--navy); }
.final::before, .final::after { content: ""; position: absolute; top: 0; bottom: 0; width: 26%; background: repeating-linear-gradient(90deg, rgba(23, 40, 63, 0.075) 0 12px, transparent 12px 30px); pointer-events: none; }
.final::before { left: 0; -webkit-mask: linear-gradient(90deg, #000, transparent); mask: linear-gradient(90deg, #000, transparent); }
.final::after { right: 0; -webkit-mask: linear-gradient(270deg, #000, transparent); mask: linear-gradient(270deg, #000, transparent); }
.final-inner { position: relative; display: grid; justify-items: center; gap: 14px; padding-block: 92px; text-align: center; }
.final h2 { font-weight: 700; font-size: clamp(2.3rem, 4.6vw, 3.7rem); line-height: 1.04; letter-spacing: -0.04em; color: var(--navy); }
.final p { font-size: 1.15rem; font-weight: 600; color: rgba(23, 40, 63, 0.85); }
.final .btn { min-width: 280px; margin-top: 12px; }
.final .final-small { font-size: 0.86rem; font-weight: 700; color: rgba(23, 40, 63, 0.68); }

/* Footer */
.footer { background: var(--navy-950); color: var(--on-dark-2); font-size: 0.9rem; line-height: 1.6; }
.footer-inner { display: grid; gap: 40px; padding-block: 72px 120px; }
.footer-top { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 2fr); gap: 56px; }
.footer-logo { width: auto; height: 40px; margin-bottom: 16px; }
.footer h2 { margin-bottom: 12px; font-size: 1rem; font-weight: 600; letter-spacing: -0.01em; color: var(--white); }
.disclosure p + p { margin-top: 10px; }
.disclosure b { color: var(--white); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 28px; padding-top: 28px; border-top: 1px solid rgba(255, 255, 255, 0.1); }
.footer a { color: var(--white); }
.footer-links { display: grid; gap: 12px; padding-top: 28px; border-top: 1px solid rgba(255, 255, 255, 0.1); }
.footer .footer-links h2 { margin: 0; }
.footer-links ul { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.footer-links a { color: var(--on-dark); text-decoration: none; border-bottom: 1px solid rgba(255, 255, 255, 0.22); }
.footer-links a:hover { color: var(--white); border-bottom-color: var(--yellow); }
.footer-links .all { color: var(--yellow); font-weight: 700; }

/* ---------- Territory pages (/flooring-franchise, built by tools/build_territories.py) ---------- */
.crumbs { display: flex; flex-wrap: wrap; gap: 6px; font-size: 0.86rem; color: var(--on-dark-2); }
.crumbs li + li::before { content: "/"; margin-right: 6px; color: rgba(255, 255, 255, 0.32); }
.crumbs a { color: var(--on-dark); text-decoration: none; border-bottom: 1px solid rgba(255, 255, 255, 0.25); }
.crumbs a:hover { border-bottom-color: var(--yellow); }
.t-hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: center; padding-block: 52px 140px; }
.t-hero .hero-copy { gap: 22px; }
.t-hero h1 { font-size: clamp(2.5rem, 4.6vw, 4.1rem); }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 4px; }
.btn-ghost { background: rgba(255, 255, 255, 0.04); color: var(--white); box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, 0.32); }
.btn-ghost:hover { box-shadow: inset 0 0 0 1.5px var(--yellow); }
.hero-trust { display: flex; flex-wrap: wrap; gap: 6px 20px; font-size: 0.88rem; font-weight: 700; color: var(--on-dark-2); }
.hero-trust span { display: inline-flex; align-items: center; gap: 7px; }
.hero-trust .ico { width: 15px; height: 15px; color: var(--yellow); }
.t-map { padding: 14px 14px 10px; border: 1px solid rgba(255, 255, 255, 0.1); border-radius: var(--r-lg); background: rgba(10, 22, 38, 0.6); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); box-shadow: var(--shadow-lg); }
.t-map figcaption { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 18px; padding: 8px 6px 2px; font-size: 0.84rem; line-height: 1.45; color: var(--on-dark-2); }
.t-map figcaption span { display: inline-flex; align-items: center; gap: 8px; }
.t-map .zone-key { display: inline-block; width: 18px; height: 12px; border: 2px dashed var(--yellow); border-radius: 50%; background: rgba(255, 237, 0, 0.14); }
.map .zone { fill: rgba(255, 237, 0, 0.13); stroke: var(--yellow); stroke-width: 2; stroke-dasharray: 7 6; }
.map .town-hl { fill: var(--white); font: 800 23px var(--font-display); letter-spacing: -0.02em; paint-order: stroke; stroke: var(--navy-950); stroke-width: 6px; stroke-linejoin: round; pointer-events: none; }
.map a.pin:hover .town, .map a.pin:focus-visible .town { fill: var(--yellow); }
.map .pin-static { cursor: default; }
.stats sup { margin-left: 2px; font: 800 0.62rem/1 var(--font-body); letter-spacing: 0; vertical-align: super; }
.stats sup a { color: var(--rust); text-decoration: none; }
.t-area { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr); gap: 64px; align-items: start; }
.t-area .head { margin-bottom: 26px; }
.t-prose { display: grid; gap: 16px; }
.t-prose p { max-width: 62ch; }
.t-prose sup { font-size: 0.7em; font-weight: 800; }
.t-prose sup a { color: var(--rust); text-decoration: none; }
.t-panels { display: grid; gap: 16px; }
.t-panel { padding: 26px 26px 24px; border-radius: var(--r-lg); background: var(--cream); }
.t-panel h3 { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; font-size: 1.08rem; font-weight: 600; letter-spacing: -0.015em; }
.t-panel h3 .ico { width: 20px; height: 20px; color: var(--rust); }
.t-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.t-tags li { padding: 7px 13px; border: 1px solid var(--line); border-radius: 999px; background: var(--white); font-size: 0.92rem; font-weight: 700; line-height: 1.3; color: var(--ink); }
.t-note { margin-top: 14px; font-size: 0.86rem; line-height: 1.5; color: var(--muted); }
.t-why { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; align-items: start; }
.t-why .head { margin-bottom: 36px; }
.t-links { display: flex; flex-wrap: wrap; gap: 10px 26px; margin-top: 34px; }
.t-links a { display: inline-flex; align-items: center; gap: 8px; color: var(--navy); font-weight: 800; text-decoration: none; border-bottom: 1.5px solid var(--line-strong); }
.t-links a:hover { border-bottom-color: var(--navy); }
.t-links .ico { width: 15px; height: 15px; }
.t-invest .stack { grid-template-columns: minmax(0, 1fr); }
.t-faq { max-width: 860px; margin-inline: auto; }
.t-towns { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; }
.t-town { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 2px 12px; padding: 18px 20px; border: 1px solid rgba(255, 255, 255, 0.12); border-radius: var(--r-md); background: rgba(255, 255, 255, 0.04); color: var(--white); text-decoration: none; transition: border-color 0.15s ease, background-color 0.15s ease; }
.t-town:hover { border-color: var(--yellow); background: rgba(255, 255, 255, 0.07); }
.t-town b { font: 700 1.1rem/1.25 var(--font-display); letter-spacing: -0.015em; }
.t-town span { grid-column: 1; font-size: 0.88rem; line-height: 1.35; color: var(--on-dark-2); }
.t-town .ico { grid-row: 1 / span 2; grid-column: 2; width: 18px; height: 18px; color: var(--yellow); transition: transform 0.15s ease; }
.t-town:hover .ico { transform: translateX(3px); }
.t-all { display: flex; justify-content: center; margin-top: 36px; }
.t-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.t-card { display: grid; align-content: start; gap: 10px; padding: 26px; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--white); color: var(--text); text-decoration: none; box-shadow: var(--shadow-sm); transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease; }
.t-card:hover { transform: translateY(-2px); border-color: var(--line-strong); box-shadow: var(--shadow-md); }
.t-card .pick-status { margin-bottom: 4px; }
.t-card h3 { font-size: 1.5rem; font-weight: 700; letter-spacing: -0.03em; }
.t-card p { font-size: 0.96rem; line-height: 1.5; }
.t-card dl { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 6px 0 0; }
.t-card dl div { padding: 12px 14px; border-radius: 10px; background: var(--cream); }
.t-card dt { font-size: 0.78rem; line-height: 1.35; color: var(--muted); }
.t-card dd { margin: 2px 0 0; font: 700 1.05rem/1.2 var(--font-display); letter-spacing: -0.02em; color: var(--ink); }
.t-card .more { display: inline-flex; align-items: center; gap: 8px; margin-top: 8px; color: var(--navy); font-weight: 800; }
.t-card .more .ico { width: 16px; height: 16px; transition: transform 0.18s ease; }
.t-card:hover .more .ico { transform: translateX(3px); }
.t-taken { display: flex; flex-wrap: wrap; gap: 10px; }
.t-taken li { display: inline-flex; align-items: center; gap: 10px; padding: 9px 14px; border: 1px solid var(--line); border-radius: 999px; background: var(--white); font-weight: 700; color: var(--ink); }
.t-taken .pick-status { padding: 3px 8px; font-size: 0.66rem; }
.t-taken-wrap { margin-top: 44px; }
.t-taken-wrap .chips-title { color: var(--muted); }
.sources { display: grid; gap: 4px; margin: 0 0 14px; padding-left: 1.3em; list-style: decimal; }
.sources li::marker { color: var(--on-dark-2); }
.t-asof { margin-top: 14px; font-size: 0.84rem; text-align: center; color: var(--muted); }
.t-photo { position: relative; overflow: hidden; margin-top: 34px; border-radius: var(--r-lg); background: var(--navy-950); aspect-ratio: 16 / 9; }
.t-photo img { width: 100%; height: 100%; object-fit: cover; }
.t-photo figcaption { position: absolute; left: 16px; bottom: 16px; display: inline-flex; align-items: center; gap: 9px; padding: 9px 15px 9px 12px; border-radius: 999px; background: rgba(255, 255, 255, 0.95); color: var(--ink); font: 600 0.86rem/1.2 var(--font-display); box-shadow: 0 6px 18px rgba(0, 0, 0, 0.16); }
.t-photo figcaption i { width: 8px; height: 8px; border-radius: 50%; background: var(--yellow); box-shadow: 0 0 0 3px rgba(23, 40, 63, 0.14); }
.legend-inline i { display: inline-block; width: 12px; height: 12px; border-radius: 50%; }

/* ---------- Blog (/blog, built by tools/build_blog.py) ---------- */
.post-hero-inner { display: grid; gap: 18px; max-width: 880px; padding-block: 48px 64px; }
.post-hero h1 { color: var(--white); font-weight: 700; font-size: clamp(2.1rem, 4vw, 3.3rem); line-height: 1.08; letter-spacing: -0.035em; }
.post-hero h1 .hl { color: var(--yellow); }
.post-hero .hero-sub { max-width: 62ch; }
.post-meta { font-size: 0.9rem; font-weight: 700; color: var(--on-dark-2); }
.post-section { padding-block: 72px 96px; }
.post-layout { display: grid; grid-template-columns: minmax(0, 720px) 290px; justify-content: center; gap: 64px; align-items: start; }
.post-body { font-size: 1.08rem; line-height: 1.75; color: var(--text); }
.post-body > * + * { margin-top: 1.15em; }
.post-body h2 { margin-top: 2.1em; font-size: clamp(1.5rem, 2.4vw, 1.95rem); line-height: 1.18; letter-spacing: -0.028em; scroll-margin-top: calc(var(--header-h) + 24px); }
.post-body h3 { margin-top: 1.7em; font-size: 1.22rem; font-weight: 700; line-height: 1.3; letter-spacing: -0.02em; }
.post-body h2 + *, .post-body h3 + * { margin-top: 0.6em; }
.post-body ul, .post-body ol { padding-left: 1.35em; }
.post-body ul { list-style: disc; }
.post-body ol { list-style: decimal; }
.post-body li + li { margin-top: 0.45em; }
.post-body li::marker { color: var(--rust); font-weight: 800; }
.post-body strong { color: var(--ink); }
.post-body a { color: var(--navy); font-weight: 700; text-decoration: underline; text-decoration-color: rgba(165, 82, 52, 0.5); text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
.post-body a:hover { text-decoration-color: var(--navy); }
.post-body blockquote { margin-inline: 0; padding: 18px 22px; border-left: 4px solid var(--yellow); border-radius: 0 var(--r-md) var(--r-md) 0; background: var(--cream); color: var(--ink); }
.post-body code { padding: 1px 6px; border-radius: 6px; background: var(--sand); font-size: 0.92em; }
.post-table { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r-md); -webkit-overflow-scrolling: touch; }
.post-table table { width: 100%; min-width: 560px; border-collapse: collapse; font-size: 0.93rem; line-height: 1.45; }
.post-table th { padding: 11px 14px; background: var(--navy); color: var(--white); font-weight: 700; text-align: left; vertical-align: bottom; }
.post-table td { padding: 11px 14px; border-top: 1px solid var(--line); vertical-align: top; }
.post-table tr:nth-child(even) td { background: var(--cream); }
.post-table .num { text-align: right; font-variant-numeric: tabular-nums; }
.post-table td.num { white-space: nowrap; }
.post-body .post-sources { padding-left: 1.2em; font-size: 0.92rem; line-height: 1.55; }
.post-cta { display: grid; justify-items: start; gap: 8px; margin-block: 2em; padding: 26px 28px; border-radius: var(--r-lg); background: var(--navy); color: var(--on-dark); box-shadow: var(--shadow-md); }
.post-cta p { margin: 0; }
.post-cta-kicker { font-size: 0.74rem; font-weight: 800; letter-spacing: 0.13em; text-transform: uppercase; color: var(--yellow); }
.post-cta-title { font: 700 1.4rem/1.25 var(--font-display); letter-spacing: -0.02em; color: var(--white); }
.post-body .post-cta a { margin-top: 8px; color: var(--navy); text-decoration: none; }
.post-aside { position: sticky; top: calc(var(--header-h) + 28px); display: grid; gap: 18px; }
.post-toc { padding: 22px 22px 18px; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--white); }
.post-toc-title { margin-bottom: 10px; font-size: 0.74rem; font-weight: 800; letter-spacing: 0.13em; text-transform: uppercase; color: var(--rust); }
.post-toc ol { display: grid; gap: 8px; counter-reset: toc; }
.post-toc li { display: grid; grid-template-columns: 22px minmax(0, 1fr); font-size: 0.92rem; line-height: 1.4; counter-increment: toc; }
.post-toc li::before { content: counter(toc); font-weight: 800; color: var(--muted); }
.post-toc a { color: var(--ink); font-weight: 600; text-decoration: none; }
.post-toc a:hover { color: var(--rust); }
.post-side-cta { display: grid; gap: 10px; padding: 22px; border-radius: var(--r-lg); background: var(--navy); color: var(--on-dark); }
.post-side-title { font: 700 1.15rem/1.3 var(--font-display); letter-spacing: -0.015em; color: var(--white); }
.post-side-small { display: inline-flex; align-items: center; gap: 6px; font-size: 0.8rem; font-weight: 700; color: var(--on-dark-2); }
.post-side-small .ico { width: 14px; height: 14px; color: var(--yellow); }
.post-list, .post-more { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 18px; }
.post-more { margin-bottom: 44px; }
.post-card { display: grid; align-content: start; gap: 10px; padding: 26px; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--white); color: var(--text); text-decoration: none; box-shadow: var(--shadow-sm); transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease; }
.post-card:hover { transform: translateY(-2px); border-color: var(--line-strong); box-shadow: var(--shadow-md); }
.post-card-meta { font-size: 0.74rem; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; color: var(--rust); }
.post-card h2, .post-card h3 { font-size: 1.3rem; font-weight: 700; line-height: 1.25; letter-spacing: -0.025em; }
.post-card p { font-size: 0.96rem; line-height: 1.55; }
.post-card .more { display: inline-flex; align-items: center; gap: 8px; margin-top: 6px; color: var(--navy); font-weight: 800; }
.post-card .more .ico { width: 16px; height: 16px; transition: transform 0.18s ease; }
.post-card:hover .more .ico { transform: translateX(3px); }
.post-towns-wrap { margin-top: 8px; }
.post-towns-wrap .chips-title { color: var(--muted); }
.post-towns { display: flex; flex-wrap: wrap; gap: 8px; }
.post-towns a { display: inline-flex; align-items: center; min-height: 38px; padding: 0 14px; border: 1px solid var(--line); border-radius: 999px; background: var(--white); color: var(--ink); font-size: 0.92rem; font-weight: 700; text-decoration: none; transition: border-color 0.15s ease; }
.post-towns a:hover { border-color: var(--navy); }
.post-author { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 18px; margin-top: 2.4em; padding: 20px 22px; border-radius: var(--r-lg); background: var(--navy); color: var(--on-dark); font-size: 0.95rem; line-height: 1.55; }
.post-author img { width: 110px; height: auto; }
.post-author b { color: var(--white); }
.t-guides .post-more { margin-bottom: 0; }
.t-guides .t-links { margin-top: 28px; }
.faq-guides { display: grid; gap: 10px; margin-top: 22px; padding-top: 20px; border-top: 1px solid var(--line); }
.faq-guides p { font-size: 0.74rem; font-weight: 800; letter-spacing: 0.13em; text-transform: uppercase; color: var(--rust); }
.faq-guides ul { display: grid; gap: 8px; }
.faq-guides li { font-size: 0.96rem; line-height: 1.45; }
.faq-guides li a { color: var(--ink); font-weight: 700; text-decoration: none; border-bottom: 1px solid var(--line-strong); }
.faq-guides li a:hover { border-bottom-color: var(--navy); }
.faq-guides .all { justify-self: start; display: inline-flex; align-items: center; gap: 7px; margin-top: 2px; color: var(--navy); font-size: 0.92rem; font-weight: 800; text-decoration: none; }
.faq-guides .all .ico { width: 14px; height: 14px; }
.section:not(.section-cream) .faq details { border: 1px solid var(--line); }

/* Mobile call-to-action bar */
.mbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 55; display: none; align-items: center; gap: 12px; padding: 10px 16px calc(10px + env(safe-area-inset-bottom, 0px)); border-top: 1px solid var(--line); background: rgba(255, 255, 255, 0.97); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); box-shadow: 0 -12px 30px rgba(15, 30, 49, 0.12); transform: translateY(110%); transition: transform 0.25s ease; }
.mbar.show { transform: none; }
.mbar-txt { font-size: 0.8rem; line-height: 1.3; color: var(--muted); }
.mbar-txt b { display: block; font: 700 0.98rem/1.2 var(--font-display); color: var(--ink); }
.mbar .btn { margin-left: auto; min-height: 46px; padding: 0 16px; font-size: 0.78rem; }

/* ---------- Responsive ---------- */
@media (min-width: 961px) {
  .fc-body { min-height: 322px; }
  .form-dialog .fc-body { min-height: 0; }
}
@media (max-width: 1100px) {
  .hero-grid { gap: 40px; }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stats li:nth-child(3) { border-left: 0; }
  .stats li:nth-child(n + 3) { border-top: 1px solid var(--line); }
  .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 44px; }
  .steps::before { display: none; }
  .stack { grid-template-columns: 1fr; }
  .t-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 960px) {
  .section { padding-block: 88px; }
  .hero-grid { grid-template-columns: minmax(0, 1fr); padding-block: 44px 128px; }
  .form-slot { max-width: 560px; margin: 0; }
  .why-grid, .training, .systems, .numbers, .fit, .terr, .faq-grid { grid-template-columns: minmax(0, 1fr); gap: 44px; }
  .faq-head { position: static; }
  .timeline { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .timeline::before { top: 24px; bottom: 24px; left: 23px; right: auto; width: 2px; height: auto; }
  .tl-item { grid-template-columns: auto minmax(0, 1fr); gap: 20px; }
  .tl-body { padding-top: 10px; }
  .gallery { grid-template-columns: 1fr 1fr; }
  .gallery .video { grid-column: 1 / -1; grid-row: auto; }
  .gallery figure:not(.video) { aspect-ratio: 16 / 9; }
  .stack { grid-template-columns: 1fr 1fr; }
  .mbar { display: flex; }
  .t-hero-grid { grid-template-columns: minmax(0, 1fr); gap: 36px; padding-block: 40px 128px; }
  .t-area, .t-why { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .post-layout { grid-template-columns: minmax(0, 1fr); }
  .post-aside { display: none; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .wrap { padding-inline: 16px; }
  .section { padding-block: 72px; }
  .head { margin-bottom: 40px; }
  .topbar-inner { font-size: 0.8rem; }
  .hide-sm { display: none; }
  .topbar-dot { display: none; }
  /* On phones the form comes straight after the two numbers. */
  .hero-copy { display: contents; }
  .kicker { order: 1; }
  .hero h1 { order: 2; }
  .hero-sub { order: 3; }
  .signs { order: 4; }
  .hero-form { order: 5; margin-top: 6px; }
  .hero-proof { order: 6; }
  .hero-note { order: 7; margin-top: -6px; }
  .header-inner { height: 64px; }
  .logo img { height: 30px; }
  .hero-grid { gap: 18px; padding-block: 30px 108px; }
  .hero h1 { font-size: clamp(2.3rem, 10vw, 2.9rem); }
  .signs { gap: 10px; }
  .sign { padding: 14px 14px 12px; }
  .sign-label, .sign-foot { font-size: 0.6rem; }
  .sign-num { font-size: 2.55rem; }
  .hero-proof { gap: 8px 18px; font-size: 0.86rem; }
  .form-card { padding: 22px 18px 18px; border-radius: 18px; }
  .fc-status { display: none; }
  .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .row2 { grid-template-columns: minmax(0, 1fr); }
  .glance { margin-top: -76px; }
  .stats li { padding: 20px 18px; }
  .suppliers { gap: 12px 24px; padding-top: 28px; }
  .suppliers ul { gap: 8px 22px; }
  .suppliers li { font-size: 0.95rem; }
  .gallery { gap: 10px; }
  .gallery figure { border-radius: var(--r-md); }
  .gallery figure:not(.video) figcaption { display: none; }
  .play-btn { width: 64px; height: 64px; margin: -32px 0 0 -32px; box-shadow: 0 0 0 8px rgba(255, 237, 0, 0.22), 0 12px 30px rgba(0, 0, 0, 0.35); }
  .play-btn svg { width: 24px; height: 24px; }
  .video-tag { left: 16px; bottom: 14px; font-size: 0.98rem; }
  .compare { padding: 20px 16px; }
  .cell { padding: 10px; font-size: 0.86rem; }
  .mini-stats { grid-template-columns: minmax(0, 1fr); }
  .tools, .stack, .chart-meta { grid-template-columns: minmax(0, 1fr); }
  .chart-card, .invest { padding: 24px 20px; }
  .chart { height: 240px; }
  .bar-val { font-size: 1.6rem; }
  .fit-card { padding: 30px 24px; }
  .steps { grid-template-columns: minmax(0, 1fr); row-gap: 24px; }
  .steps li { grid-template-columns: auto minmax(0, 1fr); column-gap: 16px; }
  .steps li::before { grid-row: span 2; width: 46px; height: 46px; margin: 0; font-size: 1rem; }
  .map .town { display: none; }
  .final::before, .final::after { display: none; }
  .final-inner { padding-block: 72px; }
  .final .btn { width: 100%; min-width: 0; }
  .footer-top { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .t-hero-grid { gap: 28px; padding-block: 28px 108px; }
  /* The landing page reorders its hero on phones; territory pages keep theirs in order. */
  .t-hero .hero-copy { display: grid; gap: 18px; }
  .t-hero .hero-copy > * { order: 0; margin-top: 0; }
  .t-hero h1 { font-size: clamp(2.2rem, 9.4vw, 2.8rem); }
  .hero-ctas .btn { width: 100%; }
  .t-map { padding: 10px 8px 8px; }
  .t-panel { padding: 22px 18px 20px; }
  .t-cards { grid-template-columns: minmax(0, 1fr); }
  .t-card { padding: 22px 20px; }
  .post-hero-inner { padding-block: 28px 44px; gap: 14px; }
  .post-hero .post-hero-inner > * { order: 0; }
  .post-section { padding-block: 48px 72px; }
  .post-body { font-size: 1.02rem; }
  .post-cta { padding: 22px 20px; }
  .post-cta .btn { width: 100%; }
  .post-list, .post-more { grid-template-columns: minmax(0, 1fr); }
  .post-card { padding: 22px 20px; }
  .post-author { grid-template-columns: minmax(0, 1fr); gap: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  html, html:focus-within { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
