/* Self-hosted fonts: no third-party requests */
@font-face { font-family: "Overpass"; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url("fonts/overpass-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: "Overpass"; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url("fonts/overpass-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Atkinson Hyperlegible"; font-style: normal; font-weight: 400; font-display: swap;
  src: url("fonts/atkinson-hyperlegible-400-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: "Atkinson Hyperlegible"; font-style: normal; font-weight: 400; font-display: swap;
  src: url("fonts/atkinson-hyperlegible-400-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Atkinson Hyperlegible"; font-style: normal; font-weight: 700; font-display: swap;
  src: url("fonts/atkinson-hyperlegible-700-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: "Atkinson Hyperlegible"; font-style: normal; font-weight: 700; font-display: swap;
  src: url("fonts/atkinson-hyperlegible-700-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }

:root {
  --sign: #0b5d47;          /* enamel clinic green */
  --sign-deep: #08463a;
  --sign-ink: #ffffff;
  --sign-soft: #cfe8df;     /* secondary text on green, tinted from the hue */
  --ground: #f6f8f7;
  --plate: #ffffff;
  --ink: #1e2a32;           /* slate */
  --ink-soft: #46555f;
  --rule: #d5dedb;
  --reception: #f2c230;     /* wayfinding yellow */
  --reception-deep: #d9a915;
  --band-1: #f2c230;        /* reminders */
  --band-2: #9fdcb8;        /* intake */
  --band-3: #9fd3ea;        /* enquiries */
  --band-4: #f7b39b;        /* paperwork */
  --band-5: #cdbbec;        /* recalls */
  --display: "Overpass", "Atkinson Hyperlegible", system-ui, sans-serif;
  --text: "Atkinson Hyperlegible", system-ui, sans-serif;
  --radius: 14px;
  --gap: clamp(1rem, 2.5vw, 1.75rem);
  --section: clamp(4rem, 9vw, 7.5rem);
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scrollbar-color: var(--sign) var(--ground); -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0; background: var(--ground); color: var(--ink);
  font: 400 1.125rem/1.6 var(--text);
  font-variant-numeric: tabular-nums;
  text-rendering: optimizeLegibility;
}
::selection { background: var(--reception); color: var(--ink); }
img, svg { display: block; max-width: 100%; }
a { color: var(--sign); text-underline-offset: 0.2em; text-decoration-thickness: 2px; }
a:hover { color: var(--sign-deep); }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; border-radius: 6px; box-shadow: 0 0 0 6px var(--reception); }
h1, h2, h3 { font-family: var(--display); line-height: 1.05; letter-spacing: -0.02em; margin: 0; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
.wrap { width: min(100% - 2 * var(--gap), 74rem); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 0; background: var(--reception); color: var(--ink); padding: .75rem 1rem; z-index: 10; font-weight: 700; }
.skip:focus { left: 1rem; top: 1rem; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ── Top bar ─────────────────────────────── */
.top { padding-block: 1rem; }
.top .wrap { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; }
.name-plate {
  font: 800 1.05rem/1 var(--display); letter-spacing: -0.01em; color: var(--ink); text-decoration: none;
  display: inline-flex; align-items: center; gap: .6rem; margin-right: auto;
}
.name-plate .mark { width: 2rem; height: 2rem; border-radius: 8px; background: var(--sign); display: grid; place-items: center; }
.name-plate .mark svg { width: 1.1rem; height: 1.1rem; color: var(--reception); }
.top nav { display: flex; gap: 1.25rem; align-items: center; flex-wrap: wrap; }
.top nav a { color: var(--ink); text-decoration: none; font-weight: 700; font-size: 1rem; padding-block: .35rem; }
.top nav a:hover { text-decoration: underline; }
.lang { display: inline-flex; border: 2px solid var(--ink); border-radius: 999px; overflow: hidden; font: 800 .85rem/1 var(--display); }
.lang a, .lang span { padding: .45rem .7rem; text-decoration: none; color: var(--ink); }
.lang [aria-current] { background: var(--ink); color: var(--plate); }
@media (max-width: 720px) { .top nav .nav-link { display: none; } }

/* ── Sign panel (hero + closing) ─────────── */
.sign {
  position: relative; background: var(--sign); color: var(--sign-ink);
  border-radius: calc(var(--radius) + 6px);
  padding: clamp(1.5rem, 3.5vw, 2.75rem) clamp(1.25rem, 5vw, 4.5rem);
  box-shadow: 0 1px 0 rgba(255,255,255,.08) inset, 0 18px 40px -22px rgba(8,70,58,.55);
}
/* mounting screws */
.sign::before, .sign::after {
  content: ""; position: absolute; top: 14px; width: 9px; height: 9px; border-radius: 50%;
  background: var(--sign-soft); box-shadow: 0 0 0 2px var(--sign-deep);
}
.sign::before { left: 14px; } .sign::after { right: 14px; }
.sign h1 { font-weight: 900; font-size: clamp(1.9rem, 4.2vw, 3.9rem); letter-spacing: -0.03em; max-width: 20ch; }
.sign .sub { margin-top: 1rem; font-size: clamp(1.1rem, 1.6vw, 1.3rem); color: var(--sign-soft); max-width: 66ch; }
.sign .sub strong { color: var(--sign-ink); }
.cta-row { margin-top: 1.5rem; display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.5rem; }
.reception {
  display: inline-flex; align-items: center; gap: .9rem;
  background: var(--reception); color: var(--ink); text-decoration: none;
  font: 900 clamp(1.05rem, 1.6vw, 1.25rem)/1.15 var(--display); letter-spacing: -0.01em;
  padding: 1.05rem 1.35rem 1rem 1.5rem; border-radius: 12px;
  box-shadow: 0 10px 24px -12px rgba(0,0,0,.45);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.reception svg { width: 1.6rem; height: 1.6rem; flex: none; transition: transform .45s var(--ease); }
.reception:hover { color: var(--ink); transform: translateY(-2px); box-shadow: 0 16px 28px -14px rgba(0,0,0,.5); }
.reception:hover svg { transform: translateX(5px); }
.reception:active { transform: translateY(1px); box-shadow: 0 6px 14px -10px rgba(0,0,0,.45); }
.trust { font-size: .95rem; color: var(--sign-soft); display: flex; flex-wrap: wrap; gap: .35rem 1rem; list-style: none; padding: 0; margin: 1rem 0 0; }
.trust li { display: inline-flex; align-items: center; gap: .4rem; }
.trust svg { width: 1rem; height: 1rem; color: var(--reception); }
.secondary-link { color: var(--sign-ink); font-weight: 700; }
.secondary-link:hover { color: var(--reception); }
@media (max-width: 640px) { .sign:not(.closing) .trust, .sign:not(.closing) .secondary-link { display: none; } .sign .sub { font-size: 1.02rem; } }

/* ── Direction bands ─────────────────────── */
.bands-head { margin-top: clamp(1.25rem, 2.5vw, 2rem); display: flex; flex-direction: column; gap: .25rem; }
.bands-head h2 { font-size: clamp(1.5rem, 2.6vw, 2.1rem); font-weight: 900; }
.bands-head p { color: var(--ink-soft); font-size: 1rem; }
.bands { list-style: none; margin: .85rem 0 0; padding: 0; display: grid; gap: .5rem; }
.band { --c: var(--band-1); animation: band-in .7s var(--ease) both; animation-delay: calc(var(--i, 0) * 70ms); }
.band:nth-child(2) { --c: var(--band-2); --i: 1; } .band:nth-child(3) { --c: var(--band-3); --i: 2; }
.band:nth-child(4) { --c: var(--band-4); --i: 3; } .band:nth-child(5) { --c: var(--band-5); --i: 4; }
.band a {
  display: grid; grid-template-columns: auto 1fr auto auto; align-items: center; gap: 1rem;
  background: var(--c); color: var(--ink); text-decoration: none;
  border-radius: 10px; padding: .85rem 1.1rem .85rem .9rem;
}
.band a:hover { color: var(--ink); }
.band .pain { font: 800 clamp(1.05rem, 1.8vw, 1.35rem)/1.2 var(--display); letter-spacing: -0.01em; }
.band .fix { font-size: .98rem; font-weight: 700; color: var(--ink); text-align: right; }
.band .arrow { width: clamp(2.25rem, 3vw, 3rem); height: clamp(2.25rem, 3vw, 3rem); border-radius: 50%; background: var(--ink); color: var(--c); display: grid; place-items: center; transition: transform .45s var(--ease); }
.band .arrow svg { width: 60%; height: 60%; }
.band a:hover .arrow, .band a:focus-visible .arrow { transform: translateX(6px); }
@keyframes band-in { from { transform: translateX(-14px); } to { transform: none; } }
@media (prefers-reduced-motion: reduce) { .band { animation: none; } .band .arrow, .reception, .reception svg { transition: none; } }
@media (max-width: 640px) {
  .band a { grid-template-columns: auto 1fr auto; padding: .7rem .8rem .7rem .7rem; gap: .75rem; }
  .bands-head p { display: none; }
  .band .fix { grid-column: 2; grid-row: 2; text-align: left; font-size: .875rem; line-height: 1.2; margin-top: -.45rem; }
  .band .arrow { grid-column: 3; grid-row: 1 / 3; }
  .band .idx { grid-row: 1 / 3; }
  .band .pain { font-size: 1rem; }
  .band .idx { width: 1.8rem; height: 1.8rem; font-size: .875rem; }
}

/* circled index */
.idx {
  display: inline-grid; place-items: center; width: 2.1rem; height: 2.1rem; border-radius: 50%;
  border: 2.5px solid currentColor; font: 900 1rem/1 var(--display); flex: none;
}

/* ── Section scaffolding ─────────────────── */
section { scroll-margin-top: 1.5rem; }
.section { padding-block: var(--section) 0; }
.section-head { max-width: 46rem; margin-bottom: clamp(1.75rem, 3vw, 2.75rem); }
.section-head h2 { font-size: clamp(2rem, 4.2vw, 3.4rem); font-weight: 900; letter-spacing: -0.03em; }
.section-head p { margin-top: 1rem; color: var(--ink-soft); font-size: 1.15rem; max-width: 60ch; }

/* ── Directory board (automations) ───────── */
.directory { background: var(--sign-deep); color: var(--sign-ink); border-radius: calc(var(--radius) + 6px); padding: clamp(1rem, 3vw, 2rem); }
.directory ol { list-style: none; margin: 0; padding: 0; }
.dir-row {
  display: grid; grid-template-columns: auto minmax(0, 22rem) minmax(0, 1fr); gap: .75rem 2rem; align-items: start;
  padding: clamp(1.25rem, 2.5vw, 1.75rem) clamp(.5rem, 2vw, 1.25rem);
  border-top: 1px solid rgba(255,255,255,.14); scroll-margin-top: 1.5rem;
}
.dir-row:first-child { border-top: 0; }
.dir-row .chip { width: 3rem; height: 3rem; border-radius: 10px; background: var(--c); color: var(--ink); display: grid; place-items: center; font: 900 1.25rem/1 var(--display); }
.dir-row h3 { font-size: clamp(1.35rem, 2.2vw, 1.75rem); font-weight: 800; padding-top: .35rem; }
.dir-row p { color: var(--sign-soft); padding-top: .4rem; max-width: 60ch; }
.dir-row:target { background: rgba(255,255,255,.06); border-radius: 10px; }
.dir-row:nth-child(1) { --c: var(--band-1); } .dir-row:nth-child(2) { --c: var(--band-2); }
.dir-row:nth-child(3) { --c: var(--band-3); } .dir-row:nth-child(4) { --c: var(--band-4); }
.dir-row:nth-child(5) { --c: var(--band-5); }
.emergency { margin-top: 1rem; display: flex; gap: .85rem; align-items: flex-start; background: var(--plate); color: var(--ink); border: 2px solid var(--ink); border-radius: 12px; padding: 1rem 1.25rem; font-size: 1rem; }
.emergency svg { width: 1.5rem; height: 1.5rem; flex: none; color: #b42318; margin-top: .1rem; }
@media (max-width: 760px) {
  .dir-row { grid-template-columns: auto 1fr; }
  .dir-row p { grid-column: 1 / -1; padding-top: 0; }
}

/* ── Safety: calm face vs dense small print ─ */
.safety { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 0; border-radius: calc(var(--radius) + 6px); overflow: hidden; border: 2px solid var(--ink); background: var(--plate); }
.safety .face { padding: clamp(2rem, 5vw, 3.5rem); display: flex; flex-direction: column; justify-content: space-between; gap: 2rem; }
.safety .face h2 { font-size: clamp(2rem, 4.2vw, 3.4rem); font-weight: 900; letter-spacing: -0.03em; }
.safety .face .shield { width: 4.5rem; height: 4.5rem; color: var(--sign); }
.safety .face p { color: var(--ink-soft); }
.small-print { background: var(--ink); color: #e6ecef; padding: clamp(1.5rem, 3.5vw, 2.5rem); display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem 1.75rem; align-content: start; font-size: .98rem; line-height: 1.5; }
.small-print h3 { font: 800 1.05rem/1.2 var(--display); color: var(--reception); margin-bottom: .35rem; letter-spacing: 0; }
.small-print .legal { grid-column: 1 / -1; border-top: 1px solid rgba(255,255,255,.18); padding-top: 1rem; font-size: .875rem; color: #c3ced4; font-style: italic; }
@media (max-width: 860px) { .safety { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .small-print { grid-template-columns: 1fr; } }

/* ── Route (how it works) ────────────────── */
.route { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.5rem; position: relative; }
.route::before { content: ""; position: absolute; left: 1.4rem; right: 1.4rem; top: 1.4rem; height: 6px; border-radius: 999px; background: var(--sign); }
.stop { position: relative; }
.stop .dot { position: relative; width: 2.8rem; height: 2.8rem; border-radius: 50%; background: var(--plate); border: 6px solid var(--sign); display: grid; place-items: center; font: 900 1.05rem/1 var(--display); color: var(--sign); }
.stop:first-child .dot { background: var(--reception); border-color: var(--ink); color: var(--ink); }
.stop h3 { margin-top: 1.25rem; font-size: 1.4rem; font-weight: 800; }
.stop .price { margin-top: .4rem; display: inline-block; font: 800 1rem/1 var(--display); background: var(--ink); color: var(--plate); padding: .45rem .6rem .35rem; border-radius: 6px; }
.stop:first-child .price { background: var(--reception); color: var(--ink); }
.stop p { margin-top: .75rem; color: var(--ink-soft); font-size: 1.02rem; }
.route-note { margin-top: 2rem; color: var(--ink-soft); font-size: .98rem; max-width: 70ch; }
@media (max-width: 860px) {
  .route { grid-template-columns: 1fr; gap: 2rem; }
  .route::before { left: 1.15rem; right: auto; top: 1rem; bottom: 1rem; width: 6px; height: auto; }
  .stop { padding-left: 4.25rem; }
  .stop .dot { position: absolute; left: 0; top: 0; }
  .stop h3 { margin-top: .3rem; }
}

/* ── About plate ─────────────────────────── */
.about { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: clamp(1.5rem, 4vw, 3.5rem); align-items: center; background: var(--plate); border: 1px solid var(--rule); border-radius: calc(var(--radius) + 6px); padding: clamp(1.5rem, 4vw, 3rem); }
.about h2 { font-size: clamp(2rem, 4.2vw, 3.4rem); font-weight: 900; letter-spacing: -0.03em; }
.about p { margin-top: 1rem; max-width: 60ch; }
.credentials { margin: 0; background: var(--sign-deep); color: var(--sign-ink); border-radius: var(--radius); padding: .5rem clamp(1rem, 2.5vw, 1.5rem); }
.credentials div { display: grid; gap: .2rem; padding: .95rem 0; border-top: 1px solid rgba(255,255,255,.14); }
.credentials div:first-child { border-top: 0; }
.credentials dt { font: 800 .85rem/1.2 var(--display); color: var(--reception); }
.credentials dd { margin: 0; font: 800 clamp(1.05rem, 1.6vw, 1.2rem)/1.3 var(--display); letter-spacing: -0.01em; }
@media (max-width: 760px) { .about { grid-template-columns: 1fr; } }

/* ── FAQ ─────────────────────────────────── */
.faq { display: grid; gap: .6rem; max-width: 52rem; }
.faq details { background: var(--plate); border: 1px solid var(--rule); border-radius: 12px; }
.faq summary { cursor: pointer; list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.15rem 1.35rem; font: 800 1.15rem/1.3 var(--display); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary svg { width: 1.4rem; height: 1.4rem; flex: none; color: var(--sign); transition: transform .4s var(--ease); }
.faq details[open] summary svg { transform: rotate(90deg); }
.faq summary:hover { color: var(--sign); }
.faq details p { padding: 0 1.35rem 1.25rem; color: var(--ink-soft); max-width: 65ch; }
@media (prefers-reduced-motion: reduce) { .faq summary svg { transition: none; } }

/* ── Closing sign + footer ───────────────── */
.closing { margin-top: var(--section); }
.closing h2 { font-size: clamp(1.9rem, 4.2vw, 3.9rem); font-weight: 900; letter-spacing: -0.03em; max-width: 18ch; }
.closing .alt { margin-top: 1.25rem; color: var(--sign-soft); }
.closing .alt a { color: var(--sign-ink); font-weight: 700; }
.closing .alt a:hover { color: var(--reception); }
footer { padding-block: 3rem; color: var(--ink-soft); font-size: .95rem; }
footer .wrap { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; align-items: center; }
footer .who { font-weight: 700; color: var(--ink); margin-right: auto; }
footer a { color: var(--ink-soft); }
footer a:hover { color: var(--ink); }
@media (max-width: 640px) { footer .wrap { flex-direction: column; align-items: flex-start; } }

/* ── Simple text page (privacy) ──────────── */
.doc { max-width: 46rem; padding-block: 2rem 4rem; }
.doc h1 { font-size: clamp(2rem, 4.2vw, 3.4rem); font-weight: 900; margin-bottom: 1.5rem; }
.doc h2 { font-size: 1.4rem; font-weight: 800; margin: 2rem 0 .5rem; }
.doc p, .doc li { color: var(--ink-soft); }
.doc .note { background: #fff7d6; border: 2px solid var(--reception-deep); border-radius: 10px; padding: 1rem 1.25rem; color: var(--ink); }
