/*
  BamXo, bamxo.com. Light "paper and ledger" system.

  Colour carries meaning, and only two hues exist:
    spreadsheet yellow  = the mess (highlighted rows, symptoms, "Mess" labels)
    ledger green        = the system, done, paid (the CTA, "Outcome" labels)
  Everything else is white paper, a cool wash, near-black ink and hairlines.
  One typeface, Archivo (variable width and weight): semi-condensed and heavy
  for headlines, normal width for reading. Spreadsheet mockups use Calibri or
  Arial on purpose, so they look like the files people actually have.
  One motion moment: the system card rising over the spreadsheet on load.
*/

@font-face {
  font-family: "Archivo";
  font-style: normal;
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
  src: url("/fonts/archivo-latin-wdth-normal.woff2") format("woff2");
}

:root {
  --paper: #FFFFFF;
  --wash: #F4F5F7;
  --ink: #121417;
  --body: #2B303A;
  --ink-2: #4A5160;
  --ink-3: #646B78;
  --line: #E3E6EA;
  --line-strong: #CDD2D9;
  --field: #8A909B;

  --green: #0F6B4C;
  --green-hover: #0B573D;
  --green-ink: #0B573D;
  --green-soft: #E7F2EC;

  --mess: #FFE88A;
  --mess-edge: #E2C64B;
  --mess-soft: #FFF6CC;
  --mess-red: #B42318;
  --err: #B42318;

  --font: "Archivo", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --sheet-font: Calibri, Carlito, Arial, sans-serif;

  --max: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --measure: 64ch;
  --section: clamp(64px, 9vw, 120px);
  --lift: 0 1px 2px rgba(18, 20, 23, .06), 0 18px 40px -16px rgba(18, 20, 23, .22);
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; color-scheme: light; scroll-padding-top: 88px; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--body);
  font: 400 1.0625rem/1.6 var(--font);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
h1, h2, h3 { margin: 0; color: var(--ink); font-family: var(--font); }
h1 { font-weight: 800; font-stretch: 86%; letter-spacing: -.025em; line-height: .98; }
h2 { font-size: clamp(1.9rem, 1.35rem + 2vw, 3rem); font-weight: 780; font-stretch: 90%; letter-spacing: -.02em; line-height: 1.05; }
h3 { font-size: 1.1875rem; font-weight: 650; letter-spacing: -.005em; line-height: 1.3; }
p, ul, ol, dl, dd, figure, blockquote { margin: 0; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; }
main:focus { outline: none; }

.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip {
  position: absolute; left: var(--gutter); top: -120px; z-index: 50;
  background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 8px;
  text-decoration: none; font-weight: 600;
}
.skip:focus { top: 12px; }

.wrap { max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section); }
.wash { background: var(--wash); }
.section-head { max-width: 760px; margin-bottom: clamp(32px, 4vw, 52px); }
.section-lede, .section-head p { margin-top: 16px; font-size: clamp(1.0625rem, 1rem + .3vw, 1.1875rem); line-height: 1.55; color: var(--ink-2); max-width: 56ch; }
.two { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 40px clamp(40px, 6vw, 96px); align-items: start; }
@media (max-width: 959px) { .two { grid-template-columns: 1fr; } }

/* ---------- links and buttons ---------- */
.link {
  color: var(--ink); font-weight: 600;
  text-decoration: underline; text-decoration-thickness: 1.5px;
  text-decoration-color: var(--line-strong); text-underline-offset: 4px;
  transition: color .15s, text-decoration-color .15s;
}
.link:hover { color: var(--green-ink); text-decoration-color: var(--green); }

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 12px 22px;
  border: 1px solid transparent; border-radius: 10px;
  font: 600 1rem/1.2 var(--font); text-decoration: none; text-align: center;
  cursor: pointer; transition: background-color .15s;
}
.btn-primary { background: var(--green); color: #fff; }
.btn-primary:hover { background: var(--green-hover); }
.btn-primary:active { background: #094a34; }
.btn[disabled] { cursor: progress; opacity: .75; }

/* ---------- header ---------- */
.site-header { position: sticky; top: 0; z-index: 20; background: var(--paper); border-bottom: 1px solid var(--line); }
.header-row { display: flex; align-items: center; gap: 32px; min-height: 72px; }
.wordmark {
  font-weight: 800; font-stretch: 90%; font-size: 1.5rem; letter-spacing: -.02em;
  color: var(--ink); text-decoration: none; line-height: 1;
}
.nav { display: flex; align-items: center; gap: 28px; margin-left: auto; }
.nav a {
  color: var(--ink-2); text-decoration: none; font-weight: 500; font-size: .9375rem;
  padding-block: 8px; border-bottom: 2px solid transparent;
}
.nav a:hover { color: var(--ink); }
.nav a[aria-current="page"] { color: var(--ink); border-bottom-color: var(--green); }
.nav-toggle { display: none; }
.header-cta { min-height: 44px; padding: 10px 16px; font-size: .9375rem; }

@media (max-width: 899px) {
  .nav-toggle {
    display: inline-flex; align-items: center; justify-content: center;
    margin-left: auto; min-height: 44px; min-width: 44px; padding: 0 16px;
    background: var(--paper); color: var(--ink);
    border: 1px solid var(--field); border-radius: 8px;
    font: 600 .9375rem/1 var(--font); cursor: pointer;
  }
  .header-cta { display: none; }
  .js .nav {
    display: none; position: absolute; top: 100%; left: 0; right: 0; margin: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    padding: 4px var(--gutter) 16px;
    background: var(--paper); border-bottom: 1px solid var(--line);
    box-shadow: 0 16px 24px -16px rgba(18, 20, 23, .18);
  }
  .js .nav.open { display: flex; }
  .js .nav a { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 1.0625rem; }
  .js .nav a[aria-current="page"] { border-bottom-color: var(--line); color: var(--green-ink); }
  html:not(.js) .nav-toggle { display: none; }
  html:not(.js) .header-row { flex-wrap: wrap; }
}

/* ---------- hero ---------- */
.hero { padding-block: clamp(40px, 6vw, 88px) clamp(56px, 7vw, 104px); overflow-x: clip; }
.hero-grid {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: 56px clamp(40px, 5vw, 80px); align-items: center;
}
.hero h1 { font-size: clamp(2.75rem, 1.5rem + 4.6vw, 5rem); max-width: 12ch; }
.lede { margin-top: 24px; font-size: clamp(1.125rem, 1rem + .4vw, 1.3125rem); line-height: 1.5; color: var(--ink-2); max-width: 42ch; }
.hero-actions { margin-top: 32px; display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; }
.hero-trust { margin-top: 36px; padding-top: 20px; border-top: 1px solid var(--line); font-size: .9375rem; color: var(--ink-3); max-width: 50ch; }
@media (max-width: 999px) {
  .hero-grid { grid-template-columns: 1fr; }
  .demo { max-width: 640px; }
}

/* The mess-to-system illustration */
/* The card sits low enough that the telling cells (yes?, #REF!, DUPLICATE)
   stay readable; it only overlaps the last row and the sheet tabs. */
.demo { position: relative; padding-bottom: 250px; }
.sheet {
  background: #fff; border: 1px solid var(--line-strong); border-radius: 12px; overflow: hidden;
  font-family: var(--sheet-font); font-size: 13px; color: #333A45;
  box-shadow: 0 1px 2px rgba(18, 20, 23, .05);
}
.sheet-bar { display: flex; align-items: center; gap: 12px; padding: 10px 14px; background: #F3F4F6; border-bottom: 1px solid var(--line); }
.dots { display: flex; gap: 6px; flex: none; }
.dots i { width: 10px; height: 10px; border-radius: 50%; background: #D5D9DF; }
.sheet-name { font-size: 12.5px; color: var(--ink-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tag { margin-left: auto; flex: none; font: 600 12px/1 var(--font); padding: 6px 10px; border-radius: 999px; white-space: nowrap; }
.tag-mess { background: var(--mess); color: #4D3F00; }
.tag-sys { background: var(--green-soft); color: var(--green-ink); }
.sheet-formula { display: flex; gap: 12px; padding: 7px 14px; border-bottom: 1px solid var(--line); font-size: 12px; color: var(--ink-2); white-space: nowrap; overflow: hidden; }
.fx { color: var(--ink-3); font-weight: 700; }
.grid { width: 100%; border-collapse: collapse; table-layout: fixed; }
.grid th, .grid td {
  border: 1px solid #E6E8EC; padding: 6px 8px; height: 31px;
  text-align: left; font-weight: 400; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.grid thead th, .grid tbody th { background: #F7F8FA; color: var(--ink-3); font-size: 11.5px; text-align: center; }
.grid .c0 { width: 32px; }
.grid .ca { width: 33%; }
.grid .cb { width: 18%; }
.grid .cc { width: 17%; }
.grid .hdr td { font-weight: 700; color: #1F242C; }
.grid .hl td { background: var(--mess-soft); }
.grid td.hot { background: var(--mess); }
.grid .red { color: var(--mess-red); }
.sheet-tabs { display: flex; gap: 2px; padding: 0 10px; background: #F3F4F6; border-top: 1px solid var(--line); font-size: 12px; color: var(--ink-3); overflow: hidden; }
.sheet-tabs span { padding: 7px 12px; white-space: nowrap; }
.sheet-tabs .on { background: #fff; color: #1F242C; font-weight: 700; border-inline: 1px solid var(--line); }
.sheet-tabs .warn { color: var(--mess-red); font-weight: 700; }

.sys {
  position: absolute; right: -12px; bottom: 0; width: min(370px, 82%);
  background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--lift);
}
.sys-head { display: flex; align-items: center; gap: 12px; padding: 14px 16px 12px; }
.sys-title { font-weight: 700; font-size: 15px; color: var(--ink); }
.sys-rows { list-style: none; margin: 0; padding: 0 8px; }
.sys-rows li { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 9px 8px; border-top: 1px solid var(--line); font-size: 14px; }
.sys-name { color: var(--ink); font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pill { flex: none; font-size: 12.5px; font-weight: 600; padding: 4px 9px; border-radius: 999px; background: var(--wash); color: var(--ink-2); }
.pill-done { background: var(--green-soft); color: var(--green-ink); }
.sys-foot { display: flex; align-items: center; gap: 8px; padding: 11px 16px 14px; border-top: 1px solid var(--line); font-size: 13.5px; font-weight: 600; color: var(--green-ink); }
.check { position: relative; flex: none; width: 18px; height: 18px; border-radius: 50%; background: var(--green); }
.check::after { content: ""; position: absolute; left: 6px; top: 3px; width: 5px; height: 9px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg); }

@media (prefers-reduced-motion: no-preference) {
  .sys { animation: bx-rise .55s .35s cubic-bezier(.2, .7, .2, 1) both; }
}
@keyframes bx-rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

@media (max-width: 639px) {
  .demo { padding-bottom: 0; }
  .sheet { font-size: 12px; }
  .grid .d, .sheet-formula { display: none; }
  .grid .ca { width: 44%; }
  .grid .cb { width: 28%; }
  .grid .cc { width: 28%; }
  .sys { position: relative; right: auto; bottom: auto; width: auto; margin: -32px 0 0 20px; }
}

/* ---------- symptoms ---------- */
.symptoms { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--line); }
.symptoms li {
  display: flex; gap: 16px; align-items: baseline;
  padding: 18px 0; border-bottom: 1px solid var(--line);
  font-size: clamp(1.0625rem, 1rem + .3vw, 1.1875rem); color: var(--ink);
}
.symptoms li::before {
  content: ""; flex: none; width: 14px; height: 14px; border-radius: 3px;
  background: var(--mess); border: 1px solid var(--mess-edge); transform: translateY(1px);
}
.file { font-family: var(--sheet-font); background: var(--mess-soft); padding: 1px 6px; border-radius: 4px; white-space: nowrap; }

/* ---------- steps ---------- */
.steps { list-style: none; padding: 0; margin: 28px 0 0; }
.step {
  display: grid; grid-template-columns: 32px minmax(0, 1fr); column-gap: 16px;
  padding: 18px 0; border-top: 1px solid var(--line);
}
.step:last-child { border-bottom: 1px solid var(--line); }
.step-n {
  grid-row: 1 / span 2; width: 32px; height: 32px; border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  background: var(--ink); color: #fff; font-weight: 700; font-size: .9375rem;
}
.step h3, .step p { grid-column: 2; }
.step h3 { font-size: 1.125rem; line-height: 32px; }
.step p { margin-top: 2px; color: var(--ink-2); }
.split .steps { margin-top: 0; }

/* ---------- the written teardown preview ---------- */
.doc-page {
  background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--lift);
  padding: clamp(24px, 3.5vw, 44px); max-width: 520px; margin-left: auto;
}
.doc-kicker { font-size: 13px; font-weight: 600; color: var(--green-ink); }
.doc-title { margin-top: 6px; font-weight: 800; font-stretch: 92%; font-size: 1.5rem; letter-spacing: -.015em; line-height: 1.15; color: var(--ink); overflow-wrap: anywhere; }
.doc-h { margin-top: 22px; font-weight: 700; font-size: .9375rem; color: var(--ink); }
.doc-p, .doc-list { margin-top: 6px; color: var(--ink-2); font-size: .9375rem; line-height: 1.55; }
.doc-list { padding-left: 1.1em; }
.doc-list li + li { margin-top: 4px; }
.doc-list li::marker { color: var(--mess-red); }
.doc-next { background: var(--green-soft); color: var(--green-ink); padding: 10px 12px; border-radius: 8px; font-weight: 600; }
.fine { margin-top: 16px; font-size: .9375rem; color: var(--ink-3); }
@media (max-width: 959px) { .doc-page { margin-left: 0; } }

/* ---------- proof ledger ---------- */
.ledger { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--line-strong); }
.ledger-row {
  display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 2.7fr) minmax(0, 6.3fr);
  gap: 20px 40px; padding: 32px 0; border-bottom: 1px solid var(--line);
}
.ledger-org h3 { font-size: 1.25rem; line-height: 1.25; }
.ledger-org p { margin-top: 6px; font-size: .9375rem; color: var(--ink-3); }
.fig {
  font-weight: 800; font-stretch: 88%; font-size: clamp(2.25rem, 1.7rem + 1.8vw, 3rem);
  line-height: 1; letter-spacing: -.02em; color: var(--ink);
  font-variant-numeric: lining-nums tabular-nums; white-space: nowrap;
}
.cap { margin-top: 8px; font-size: .9375rem; line-height: 1.45; color: var(--ink-2); }
.ledger-msg { display: grid; gap: 10px; }
.ledger-msg div { display: grid; grid-template-columns: 88px minmax(0, 1fr); gap: 12px; }
.ledger-msg dt { display: flex; align-items: center; gap: 8px; height: 1.7em; font-size: .875rem; font-weight: 600; color: var(--ink-3); }
.ledger-msg dt::before { content: ""; flex: none; width: 9px; height: 9px; border-radius: 2px; background: var(--line-strong); }
.ledger-msg .dt-mess::before { background: var(--mess); box-shadow: inset 0 0 0 1px var(--mess-edge); }
.ledger-msg .dt-out::before { background: var(--green); }
.ledger-link { grid-column: 3; }
@media (max-width: 959px) {
  .ledger-row { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .ledger-msg, .ledger-link { grid-column: 1 / -1; }
}
@media (max-width: 599px) {
  .ledger-row { grid-template-columns: 1fr; }
  .ledger-msg div { grid-template-columns: 1fr; gap: 2px; }
}

/* ---------- price list ---------- */
.price-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.price {
  display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 5fr) minmax(0, 2.4fr);
  gap: 12px 40px; align-items: center;
  padding: 22px 24px; background: #fff; border: 1px solid var(--line); border-radius: 12px;
}
.price-name h3 { font-size: 1.25rem; }
.price-name p { margin-top: 4px; font-size: .9375rem; color: var(--ink-3); }
.price-what { color: var(--ink-2); }
.price-amt { display: flex; flex-direction: column; align-items: flex-end; gap: 10px; text-align: right; }
.amt { font-weight: 800; font-stretch: 90%; font-size: 1.5rem; letter-spacing: -.01em; line-height: 1.1; color: var(--ink); font-variant-numeric: tabular-nums; }
.price-note { font-size: .875rem; color: var(--ink-3); }
.price-lead { grid-template-columns: minmax(0, 4fr) minmax(0, 5fr) auto; border: 2px solid var(--green); padding: 28px 24px; }
.price-lead .amt { font-size: 2.25rem; color: var(--green-ink); }
@media (max-width: 959px) {
  .price, .price-lead { grid-template-columns: 1fr; }
  .price-amt { align-items: flex-start; text-align: left; }
}
@media (max-width: 599px) { .price-amt .btn { width: 100%; } }

/* ---------- about strip ---------- */
.big { font-size: clamp(1.25rem, 1.05rem + .7vw, 1.5rem); line-height: 1.45; color: var(--ink); font-weight: 500; }
.aside { color: var(--ink-3); font-size: .9375rem; }

/* ---------- CTA band ---------- */
.band {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 28px 48px;
  background: var(--ink); border-radius: 20px; padding: clamp(32px, 6vw, 72px);
}
.band h2 { color: #fff; font-size: clamp(2.1rem, 1.4rem + 3vw, 3.75rem); max-width: 20ch; }
.two-center { align-items: center; }
.band p { margin-top: 14px; color: #B9BEC7; max-width: 44ch; }
.band :focus-visible { outline-color: #fff; }
@media (max-width: 799px) { .band { grid-template-columns: 1fr; align-items: start; } }

/* ---------- inner pages ---------- */
.page-head { padding-block: clamp(48px, 7vw, 96px) clamp(32px, 4vw, 56px); }
.page-head h1 { font-size: clamp(2.5rem, 1.5rem + 3.8vw, 4.25rem); max-width: 18ch; }
.page-head .btn { margin-top: 32px; }
.page-head-solo { min-height: 55vh; }
.head-note { margin-top: 16px; color: var(--ink-3); font-size: .9375rem; max-width: 60ch; }
.head-links { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 24px; }

.split {
  display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
  gap: 20px clamp(32px, 6vw, 96px); padding-block: clamp(40px, 5vw, 64px);
  border-top: 1px solid var(--line);
}
.split > h2, .split > div > h2 { font-size: clamp(1.375rem, 1.15rem + .8vw, 1.75rem); font-stretch: 94%; letter-spacing: -.015em; line-height: 1.2; }
.split-note { margin-top: 12px; color: var(--ink-3); font-size: .9375rem; max-width: 40ch; }
@media (max-width: 899px) { .split { grid-template-columns: 1fr; } }

.prose { max-width: var(--measure); }
.prose > * + * { margin-top: 16px; }
.prose ul { padding-left: 1.2em; }
.prose li + li { margin-top: 8px; }
.prose li::marker { color: var(--ink-3); }
.price-big { font-weight: 800; font-stretch: 88%; font-size: clamp(2.5rem, 2rem + 2vw, 3.5rem); line-height: 1; letter-spacing: -.02em; color: var(--green-ink); }

/* ---------- work entries ---------- */
.entry {
  display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
  gap: 28px clamp(32px, 6vw, 96px); padding-block: clamp(48px, 6vw, 80px);
  border-top: 1px solid var(--line);
}
.entry-head { position: sticky; top: 104px; align-self: start; }
.entry-head h2 { font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); line-height: 1.1; }
.entry-rel { margin-top: 8px; color: var(--ink-3); font-size: .9375rem; }
.entry-head .fig { margin-top: 24px; }
.entry-links { list-style: none; padding: 0; margin-top: 20px; display: grid; gap: 6px; font-size: .9375rem; }
.entry-body { max-width: var(--measure); }
.entry-body h3 { display: flex; align-items: center; gap: 10px; margin-top: 32px; font-size: 1.0625rem; }
.entry-body h3:first-child { margin-top: 0; }
.entry-body h3::before { content: ""; flex: none; width: 10px; height: 10px; border-radius: 2px; background: var(--line-strong); }
.entry-body h3.h-mess::before { background: var(--mess); box-shadow: inset 0 0 0 1px var(--mess-edge); }
.entry-body h3.h-out::before { background: var(--green); }
.entry-body ul { margin-top: 10px; padding-left: 1.2em; }
.entry-body li + li { margin-top: 8px; }
.entry-body li::marker { color: var(--ink-3); }
.entry-stack { margin-top: 12px; color: var(--ink-3); font-size: .9375rem; }
.entry-next { margin-top: 32px; }
.entry-empty { padding-block: 48px; max-width: var(--measure); }
.placeholder { margin-top: 32px; padding: 14px 16px; border: 1px dashed var(--line-strong); border-radius: 8px; background: var(--wash); color: var(--ink-3); font-size: .9375rem; }
.quote { margin-top: 32px; padding-left: 20px; border-left: 3px solid var(--green); }
.quote footer { margin-top: 8px; color: var(--ink-3); font-size: .9375rem; }
@media (max-width: 899px) {
  .entry { grid-template-columns: 1fr; }
  .entry-head { position: static; }
}

/* ---------- FAQ ---------- */
.faq { border-top: 1px solid var(--line); max-width: 760px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; position: relative; padding: 18px 44px 18px 0; font-weight: 600; font-size: 1.0625rem; color: var(--ink); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 8px; top: 13px; font-size: 1.5rem; font-weight: 400; color: var(--ink-3); }
.faq details[open] summary::after { content: "\2212"; }
.faq .ans { padding-bottom: 20px; color: var(--ink-2); max-width: var(--measure); }

/* ---------- form ---------- */
.form { display: grid; gap: 20px; max-width: 640px; position: relative; }
.field { display: grid; gap: 8px; }
.field label { font-weight: 600; font-size: .9375rem; color: var(--ink); }
.opt { color: var(--ink-3); font-weight: 400; }
.field input, .field textarea {
  width: 100%; min-height: 50px; padding: 12px 14px;
  background: #fff; color: var(--ink);
  border: 1px solid var(--field); border-radius: 8px;
  font: 400 1rem/1.45 var(--font);
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:hover, .field textarea:hover { border-color: var(--ink-2); }
.field input:focus-visible, .field textarea:focus-visible { outline-offset: 1px; border-color: var(--green); }
.field [aria-invalid="true"] { border-color: var(--err); }
.field-error { color: var(--err); font-size: .9375rem; }
.hp { position: absolute !important; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.form .btn { justify-self: start; }
.form-status { min-height: 1.5em; font-size: .9375rem; }
.form-status.error { color: var(--err); }
.form-status.ok { color: var(--green-ink); }
.form-status a { color: inherit; font-weight: 600; }
.contact-aside { margin-top: 16px; display: grid; gap: 12px; color: var(--ink-2); font-size: .9375rem; max-width: 40ch; }

/* ---------- footer ---------- */
.site-footer { background: var(--wash); border-top: 1px solid var(--line); padding-block: 56px; }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, .7fr) minmax(0, 1.3fr); gap: 32px; }
.site-footer p, .footer-list a { font-size: .9375rem; color: var(--ink-2); }
.site-footer p + p { margin-top: 8px; }
.footer-tag { margin-top: 10px; color: var(--ink) !important; font-weight: 600; }
.footer-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.footer-list a { text-decoration: none; }
.footer-list a:hover { color: var(--ink); }
.footer-contact a { color: var(--ink); }
.footer-email { font-weight: 600; color: var(--ink) !important; }
@media (max-width: 899px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }
@media (max-width: 599px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- mobile CTA bar ---------- */
.mobile-cta { display: none; }
@media (max-width: 899px) {
  .mobile-cta {
    display: block; position: fixed; left: 0; right: 0; bottom: 0; z-index: 30;
    padding: 12px var(--gutter) calc(12px + env(safe-area-inset-bottom));
    background: var(--paper); border-top: 1px solid var(--line);
  }
  .mobile-cta .btn { width: 100%; }
  body { padding-bottom: 80px; }
  /* main.js hides the bar while another booking button, a form or the CTA
     band is on screen. Hidden until main.js has run so it does not flash. */
  .js .mobile-cta:not(.is-ready), .mobile-cta.is-hidden { visibility: hidden; }
}

@media print {
  .site-header, .mobile-cta, .band, .form { display: none; }
}
