/* ==========================================================================
   Sliptest - sliptest.net
   Design system: instrument-grade. Cool grey ground, deep navy ink,
   safety orange action colour, Sora geometric display type and a mono
   face for readings and labels. Square-ish corners, hairline rules.
   ========================================================================== */

:root {
  color-scheme: light;

  --bg: #f4f6f9;
  --bg-2: #eaeef3;
  --surface: #ffffff;
  --navy: #0d1b2e;
  --navy-2: #16294a;
  --ink: #0d1b2e;
  --ink-2: #43546b;
  --ink-3: #7a8798;
  --rule: rgba(13, 27, 46, 0.12);
  --rule-strong: rgba(13, 27, 46, 0.24);

  --orange: #f05a1a;
  --orange-hover: #d64a0f;
  --orange-tint: #fdeee6;
  --orange-ink: #8a2f08;
  --steel: #2f4f73;
  --steel-tint: #e3ebf4;

  --pass: #157a4a;
  --pass-tint: #dcf3e6;
  --warn: #9a6400;
  --warn-tint: #fbf0d0;
  --fail: #b9321f;
  --fail-tint: #fbe3df;

  --shadow-1: 0 1px 2px rgba(13, 27, 46, 0.06), 0 6px 20px rgba(13, 27, 46, 0.06);
  --shadow-2: 0 14px 40px rgba(13, 27, 46, 0.18);
  --r: 10px;
  --r-sm: 6px;
  --cta-h: 64px;

  --f-display: "Sora", "Segoe UI", Helvetica, Arial, sans-serif;
  --f-body: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --f-mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 80px; }

body {
  margin: 0;
  font-family: var(--f-body);
  font-size: 16.5px;
  line-height: 1.62;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

img, svg { max-width: 100%; height: auto; vertical-align: middle; }
a { color: var(--steel); text-decoration: underline; text-decoration-color: rgba(47, 79, 115, 0.35); text-underline-offset: 3px; }
a:hover { text-decoration-color: currentColor; }

h1, h2, h3, h4 { font-family: var(--f-display); margin: 0 0 0.5em; line-height: 1.12; letter-spacing: -0.02em; text-wrap: balance; }
h1 { font-size: clamp(2.1rem, 5.2vw, 3.4rem); font-weight: 700; }
h2 { font-size: clamp(1.55rem, 3.4vw, 2.25rem); font-weight: 700; }
h3 { font-size: 1.2rem; font-weight: 600; }
h4 { font-size: 1rem; font-weight: 600; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
.lede { font-size: clamp(1.08rem, 2.2vw, 1.25rem); color: var(--ink-2); max-width: 34em; }
.muted { color: var(--ink-2); }
.small { font-size: 0.9rem; }
.mono { font-family: var(--f-mono); }
::selection { background: var(--orange); color: #fff; }

.skip { position: absolute; left: -9999px; top: 0; background: var(--navy); color: #fff; padding: 10px 16px; z-index: 300; }
.skip:focus { left: 0; }

/* ---------- Layout ---------- */

.wrap { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 22px; }
.band { padding: 72px 0; }
.band-tight { padding: 40px 0; }
.band-alt { background: var(--surface); border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.band-dark { background: var(--navy); color: #e8edf5; }
.band-dark h2, .band-dark h3 { color: #fff; }
.band-dark .muted { color: #b7c3d4; }
.band-dark a { color: #fff; }
.band-dark table.grid, .band-dark .card { color: var(--ink); }
.band-dark .card a, .band-dark table.grid a { color: var(--steel); }

.label {
  display: inline-block;
  font-family: var(--f-mono);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--orange-ink);
  margin-bottom: 14px;
}
.label::before { content: "//"; margin-right: 8px; color: var(--orange); }
.band-dark .label { color: #ffb08a; }

.head { max-width: 46em; margin-bottom: 36px; }
.two { display: grid; gap: 36px; align-items: start; }
.three { display: grid; gap: 20px; }
.four { display: grid; gap: 20px; }
@media (min-width: 720px) {
  .two { grid-template-columns: 1fr 1fr; gap: 48px; }
  .three { grid-template-columns: repeat(3, 1fr); }
  .four { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 980px) { .four { grid-template-columns: repeat(4, 1fr); } }

/* ---------- Top bar ---------- */

.topbar {
  position: sticky; top: 0; z-index: 120;
  background: rgba(255, 255, 255, 0.92);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--rule);
}
.topbar .wrap { display: flex; align-items: center; gap: 18px; min-height: 66px; }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); flex: none; }
.logo svg { width: 30px; height: 30px; }
.logo b { font-family: var(--f-display); font-weight: 700; font-size: 1.2rem; letter-spacing: -0.02em; }
.logo b span { color: var(--orange); font-weight: 500; }

.menu { display: none; margin-left: auto; align-items: center; gap: 2px; }
.menu a {
  color: var(--ink-2); text-decoration: none; font-size: 0.92rem; font-weight: 500;
  padding: 8px 11px; border-radius: var(--r-sm);
}
.menu a:hover, .menu a[aria-current="page"] { color: var(--ink); background: var(--bg-2); }

.top-cta {
  display: none; margin-left: 8px;
  background: var(--orange); color: #fff !important; text-decoration: none;
  font-weight: 600; font-size: 0.92rem; padding: 10px 16px; border-radius: var(--r-sm);
}
.top-cta:hover { background: var(--orange-hover); }

.burger {
  margin-left: auto; display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border: 1px solid var(--rule); border-radius: var(--r-sm);
  background: var(--surface); color: var(--ink); cursor: pointer;
}
.burger svg { width: 20px; height: 20px; }

@media (min-width: 980px) {
  .menu, .top-cta { display: inline-flex; }
  .burger { display: none; }
}

/* ---------- Drawer (mobile navigation) ---------- */

.drawer-scrim {
  position: fixed; inset: 0; background: rgba(13, 27, 46, 0.5); z-index: 200;
  opacity: 0; pointer-events: none; transition: opacity .25s ease;
}
.drawer {
  position: fixed; top: 0; right: 0; bottom: 0; width: min(88vw, 380px); z-index: 210;
  background: var(--surface); box-shadow: var(--shadow-2);
  transform: translateX(104%); transition: transform .3s cubic-bezier(.2,.8,.2,1);
  overflow-y: auto; padding: 18px 22px 40px;
}
body.drawer-open .drawer { transform: none; }
body.drawer-open .drawer-scrim { opacity: 1; pointer-events: auto; }
body.drawer-open { overflow: hidden; }
.drawer-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.drawer-close { width: 40px; height: 40px; border: 1px solid var(--rule); border-radius: var(--r-sm); background: var(--surface); cursor: pointer; display: inline-flex; align-items: center; justify-content: center; }
.drawer-close svg { width: 16px; height: 16px; }
.drawer-group { padding: 14px 0; border-top: 1px solid var(--rule); }
.drawer-group strong { display: block; font-family: var(--f-mono); font-size: 0.7rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 6px; }
.drawer-group a { display: block; padding: 9px 0; color: var(--ink); text-decoration: none; font-weight: 500; font-size: 1.02rem; }
.drawer .btn { width: 100%; justify-content: center; margin-top: 8px; }

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-weight: 600; font-size: 1rem; line-height: 1;
  padding: 15px 22px; border-radius: var(--r-sm); border: 1px solid transparent;
  text-decoration: none; cursor: pointer; font-family: var(--f-body);
  transition: background .15s ease, border-color .15s ease, transform .05s ease;
}
.btn:active { transform: translateY(1px); }
.btn-solid { background: var(--orange); color: #fff; }
.btn-solid:hover { background: var(--orange-hover); }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--navy-2); }
.btn-line { background: transparent; color: var(--ink); border-color: var(--rule-strong); }
.btn-line:hover { border-color: var(--ink); }
.band-dark .btn-line { color: #fff; border-color: rgba(255,255,255,0.4); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.btn[disabled] { opacity: .55; cursor: default; }

/* ---------- Hero ---------- */

.hero { background: var(--navy); color: #e8edf5; padding: 64px 0 72px; position: relative; overflow: hidden; }
.hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgba(255,255,255,0.045) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.045) 1px, transparent 1px);
  background-size: 48px 48px; mask-image: radial-gradient(ellipse at 80% 20%, #000 20%, transparent 70%);
}
.hero .wrap { position: relative; z-index: 1; }
.hero h1 { color: #fff; }
.hero .lede { color: #c5d0e0; }
.hero-grid { display: grid; gap: 40px; align-items: center; }
@media (min-width: 900px) { .hero-grid { grid-template-columns: 1.15fr 0.85fr; gap: 56px; } }
.hero-meta { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 26px; font-family: var(--f-mono); font-size: 0.78rem; letter-spacing: 0.06em; text-transform: uppercase; color: #9fb0c8; }
.hero-meta span::before { content: ""; display: inline-block; width: 8px; height: 8px; background: var(--orange); margin-right: 9px; transform: translateY(-1px); }

/* Reading panel: an instrument readout styled card */
.readout { background: #fff; color: var(--ink); border-radius: var(--r); box-shadow: var(--shadow-2); overflow: hidden; }
.readout-head { display: flex; justify-content: space-between; align-items: baseline; padding: 14px 18px; border-bottom: 1px solid var(--rule); font-family: var(--f-mono); font-size: 0.74rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-3); }
.readout-head strong { color: var(--ink); }
.readout-row { display: grid; grid-template-columns: 1fr auto auto; gap: 14px; align-items: center; padding: 13px 18px; border-bottom: 1px solid var(--rule); }
.readout-row:last-of-type { border-bottom: 0; }
.readout-row .where { font-weight: 600; font-size: 0.95rem; }
.readout-row .where small { display: block; font-weight: 400; color: var(--ink-3); font-size: 0.8rem; }
.readout-row .val { font-family: var(--f-mono); font-size: 0.95rem; color: var(--ink-2); }
.readout-foot { padding: 12px 18px; background: var(--bg); font-size: 0.85rem; color: var(--ink-2); }

.tag { display: inline-block; font-family: var(--f-mono); font-size: 0.74rem; letter-spacing: 0.04em; padding: 4px 9px; border-radius: 4px; font-weight: 600; white-space: nowrap; }
.tag-pass { background: var(--pass-tint); color: var(--pass); }
.tag-warn { background: var(--warn-tint); color: var(--warn); }
.tag-fail { background: var(--fail-tint); color: var(--fail); }
.tag-neutral { background: var(--steel-tint); color: var(--steel); }

/* ---------- Cards and lists ---------- */

.card { background: var(--surface); border: 1px solid var(--rule); border-radius: var(--r); padding: 26px; box-shadow: var(--shadow-1); }
a.card { display: block; color: inherit; text-decoration: none; transition: border-color .15s ease, transform .15s ease; }
a.card:hover { border-color: var(--orange); transform: translateY(-2px); }
.card h3 { margin-top: 0; }
.card .more { display: inline-block; margin-top: 10px; color: var(--orange-ink); font-weight: 600; font-size: 0.92rem; }
.card .more::after { content: " \2192"; }
.card-num { font-family: var(--f-mono); font-size: 0.78rem; color: var(--orange); letter-spacing: 0.1em; margin-bottom: 10px; display: block; }

.ticks { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 14px; }
.ticks li { display: grid; grid-template-columns: 22px 1fr; gap: 12px; align-items: start; }
.ticks .tk { width: 22px; height: 22px; border-radius: 4px; background: var(--orange); color: #fff; display: inline-flex; align-items: center; justify-content: center; margin-top: 2px; }
.ticks .tk svg { width: 12px; height: 12px; }

.steps { counter-reset: s; display: grid; gap: 18px; }
@media (min-width: 720px) { .steps { grid-template-columns: repeat(4, 1fr); } }
.step { background: var(--surface); border: 1px solid var(--rule); border-radius: var(--r); padding: 24px 22px 22px; position: relative; }
.step::before { counter-increment: s; content: "0" counter(s); font-family: var(--f-mono); font-size: 0.8rem; color: var(--orange); letter-spacing: 0.1em; display: block; margin-bottom: 12px; }
.step h3 { font-size: 1.05rem; }
.step p { color: var(--ink-2); font-size: 0.95rem; margin: 0; }

.rows { list-style: none; margin: 0; padding: 0; border: 1px solid var(--rule); border-radius: var(--r); background: var(--surface); overflow: hidden; }
.rows li + li { border-top: 1px solid var(--rule); }
.rows a { display: flex; align-items: center; gap: 14px; padding: 16px 18px; color: inherit; text-decoration: none; }
.rows a:hover { background: var(--bg); }
.rows .rows-body { flex: 1; }
.rows .rows-body strong { display: block; font-weight: 600; }
.rows .rows-body span { color: var(--ink-2); font-size: 0.9rem; }
.rows .rows-go { color: var(--orange); font-family: var(--f-mono); }

.prose { max-width: 44em; }
.prose h2 { margin-top: 1.6em; }
.prose h3 { margin-top: 1.4em; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li { margin-bottom: 0.4em; }
.prose blockquote { margin: 1.4em 0; padding: 14px 20px; border-left: 3px solid var(--orange); background: var(--surface); color: var(--ink-2); }

table.grid { width: 100%; border-collapse: collapse; background: var(--surface); border: 1px solid var(--rule); border-radius: var(--r); overflow: hidden; font-size: 0.95rem; }
table.grid th, table.grid td { padding: 12px 14px; text-align: left; border-bottom: 1px solid var(--rule); vertical-align: top; }
table.grid th { font-family: var(--f-mono); font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-3); background: var(--bg); font-weight: 600; }
table.grid tr:last-child td { border-bottom: 0; }
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }

.faq { display: grid; gap: 10px; }
.faq details { background: var(--surface); border: 1px solid var(--rule); border-radius: var(--r); }
.faq summary { cursor: pointer; list-style: none; padding: 18px 52px 18px 20px; font-weight: 600; font-family: var(--f-display); font-size: 1.02rem; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 20px; top: 14px; font-family: var(--f-mono); font-size: 1.3rem; color: var(--orange); }
.faq details[open] summary::after { content: "\2013"; }
.faq .a { padding: 0 20px 20px; color: var(--ink-2); }

.cta-band { background: var(--orange); color: #fff; border-radius: var(--r); padding: 44px 36px; display: grid; gap: 20px; align-items: center; }
@media (min-width: 800px) { .cta-band { grid-template-columns: 1fr auto; } }
.cta-band h2 { color: #fff; margin-bottom: 8px; }
.cta-band p { color: #fff3ec; margin: 0; max-width: 40em; }
.cta-band .btn-navy { white-space: nowrap; }

.crumbs { font-size: 0.85rem; color: var(--ink-3); margin: 26px 0 18px; }
.crumbs ol { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.crumbs li + li::before { content: "/"; margin-right: 6px; color: var(--rule-strong); }
.crumbs a { color: var(--ink-2); text-decoration: none; }
.page-head { padding-bottom: 34px; }
.page-head .lede { margin-top: 6px; }
.meta-line { font-family: var(--f-mono); font-size: 0.76rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-3); }

.city-strip { display: grid; gap: 14px; }
@media (min-width: 720px) { .city-strip { grid-template-columns: repeat(3, 1fr); } }

/* ---------- Forms ---------- */

.field { display: grid; gap: 6px; margin-bottom: 16px; }
.field label { font-weight: 600; font-size: 0.9rem; }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; color: var(--ink); background: var(--surface);
  border: 1px solid var(--rule-strong); border-radius: var(--r-sm); padding: 12px 13px; min-height: 48px;
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--orange); outline-offset: 1px; border-color: var(--orange); }
.field .hint { font-size: 0.85rem; color: var(--ink-3); margin: 0; }
.field .err { display: none; font-size: 0.85rem; color: var(--fail); margin: 0; }
.field .err.on { display: block; }
.field .is-bad { border-color: var(--fail); }
.pair { display: grid; gap: 0 16px; }
@media (min-width: 640px) { .pair { grid-template-columns: 1fr 1fr; } }
.hp { position: absolute; left: -9999px; }
.status { min-height: 1.4em; font-size: 0.95rem; margin: 6px 0 0; }
.status.ok { color: var(--pass); }
.status.bad { color: var(--fail); }
.contact-grid { display: grid; gap: 28px; }
@media (min-width: 900px) { .contact-grid { grid-template-columns: 1.4fr 1fr; align-items: start; } }
form.enquiry { background: var(--surface); border: 1px solid var(--rule); border-radius: var(--r); padding: 28px; }

/* ---------- Booking flow ---------- */

body.book { background: var(--bg); }
body.book .topbar { display: none; }
.bk-top { position: sticky; top: 0; z-index: 50; background: var(--surface); border-bottom: 1px solid var(--rule); }
.bk-top .wrap { display: flex; align-items: center; justify-content: space-between; min-height: 62px; }
.bk-top .exit { color: var(--ink-2); text-decoration: none; font-size: 0.9rem; display: inline-flex; align-items: center; gap: 6px; }
.bk { max-width: 720px; margin: 0 auto; padding: 32px 0 120px; }
.bk-progress { display: flex; align-items: center; gap: 12px; margin: 0 0 26px; font-family: var(--f-mono); font-size: 0.74rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-3); }
.bk-progress .bar { flex: 1; height: 4px; background: var(--bg-2); border-radius: 2px; overflow: hidden; }
.bk-progress .bar i { display: block; height: 100%; width: 0; background: var(--orange); transition: width .3s ease; }
.bk-panel { background: var(--surface); border: 1px solid var(--rule); border-radius: var(--r); padding: 28px; box-shadow: var(--shadow-1); }
.bk-panel h1 { font-family: var(--f-mono); font-size: 0.74rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-3); font-weight: 600; margin: 0 0 10px; }
.bk-panel .bk-step-title { font-size: clamp(1.5rem, 3vw, 1.9rem); margin-bottom: 6px; }
.bk-panel .intro { color: var(--ink-2); margin-bottom: 22px; }
.areas { list-style: none; padding: 0; margin: 0 0 14px; display: grid; gap: 10px; }
.areas li { display: grid; grid-template-columns: 34px 1fr auto; gap: 12px; align-items: center; border: 1px solid var(--rule); border-radius: var(--r-sm); padding: 12px 14px; background: var(--bg); }
.areas .n { font-family: var(--f-mono); color: var(--orange); font-size: 0.85rem; }
.areas strong { display: block; font-weight: 600; }
.areas span.s { color: var(--ink-3); font-size: 0.85rem; }
.areas button { border: 0; background: transparent; color: var(--ink-3); cursor: pointer; padding: 6px; }
.areas button:hover { color: var(--fail); }
.area-add { display: grid; gap: 10px; padding: 16px; border: 1px dashed var(--rule-strong); border-radius: var(--r-sm); }
@media (min-width: 640px) { .area-add { grid-template-columns: 1.4fr 1fr auto; align-items: end; } }
.area-add .field { margin: 0; }
.quick { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0 0; }
.quick button { font: inherit; font-size: 0.85rem; padding: 7px 12px; border-radius: 999px; border: 1px solid var(--rule-strong); background: var(--surface); cursor: pointer; }
.quick button:hover { border-color: var(--orange); color: var(--orange-ink); }
.slots { display: grid; gap: 10px; }
.slot { display: block; cursor: pointer; }
.slot input { position: absolute; opacity: 0; }
.slot .box { display: flex; justify-content: space-between; align-items: center; border: 1px solid var(--rule-strong); border-radius: var(--r-sm); padding: 14px 16px; background: var(--surface); }
.slot .box small { display: block; color: var(--ink-3); font-weight: 400; }
.slot input:checked + .box { border-color: var(--orange); box-shadow: inset 0 0 0 1px var(--orange); background: var(--orange-tint); }
.slot input:focus-visible + .box { outline: 2px solid var(--orange); outline-offset: 2px; }
.note { border-left: 3px solid var(--warn); background: var(--warn-tint); padding: 12px 16px; border-radius: 4px; margin-top: 14px; font-size: 0.92rem; }
.note button { font: inherit; background: none; border: 0; color: var(--orange-ink); text-decoration: underline; cursor: pointer; padding: 0; }
.price { text-align: center; padding: 10px 0 20px; border-bottom: 1px solid var(--rule); margin-bottom: 20px; }
.price .amt { font-family: var(--f-mono); font-size: clamp(2.6rem, 8vw, 3.6rem); font-weight: 600; letter-spacing: -0.03em; color: var(--ink); line-height: 1; }
.price .gst { font-family: var(--f-mono); color: var(--ink-3); font-size: 0.85rem; letter-spacing: 0.08em; text-transform: uppercase; margin-top: 8px; }
.price .sub { color: var(--ink-2); margin-top: 12px; }
.terms { list-style: none; padding: 0; margin: 18px 0; display: grid; gap: 6px; font-size: 0.9rem; color: var(--ink-2); }
.terms li::before { content: "\2014"; margin-right: 8px; color: var(--orange); }
.bk-actions { display: flex; justify-content: space-between; gap: 12px; margin-top: 24px; }
.bk-actions .btn-solid { flex: 1; }
.done { text-align: center; }
.done .ok-mark { width: 64px; height: 64px; border-radius: 50%; background: var(--pass-tint); color: var(--pass); display: inline-flex; align-items: center; justify-content: center; margin-bottom: 16px; }
.done .ok-mark svg { width: 28px; height: 28px; }

/* ---------- Footer ---------- */

.foot { background: var(--surface); border-top: 1px solid var(--rule); padding: 56px 0 40px; margin-top: 20px; font-size: 0.92rem; }
.foot-grid { display: grid; gap: 30px; }
@media (min-width: 800px) { .foot-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }
.foot h4 { font-family: var(--f-mono); font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 12px; }
.foot ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.foot a { color: var(--ink-2); text-decoration: none; }
.foot a:hover { color: var(--ink); text-decoration: underline; }
.foot .about { color: var(--ink-2); max-width: 32em; }
.foot-base { margin-top: 36px; padding-top: 20px; border-top: 1px solid var(--rule); display: flex; flex-wrap: wrap; gap: 10px 24px; justify-content: space-between; color: var(--ink-3); font-size: 0.84rem; }

/* ---------- Mobile sticky CTA ---------- */

.stick { position: fixed; left: 0; right: 0; bottom: 0; z-index: 90; background: rgba(255,255,255,0.95); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border-top: 1px solid var(--rule); padding: 10px 16px calc(10px + env(safe-area-inset-bottom, 0px)); display: flex; gap: 10px; }
.stick .btn { flex: 1; padding: 13px 14px; font-size: 0.95rem; }
@media (min-width: 980px) { .stick { display: none; } }
body:not(.book) { padding-bottom: calc(var(--cta-h) + env(safe-area-inset-bottom, 0px)); }
@media (min-width: 980px) { body:not(.book) { padding-bottom: 0; } }

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; } }
