/* ==========================================================================
   Brisbane Best Movers — Harbour Editorial
   A single, original design system adapted from the published Airtable
   DESIGN.md reference (MIT, opendesignmd.com): calm cream/white canvas,
   near-black ink, light display weights, generous section rhythm, and a few
   full-bleed signature surfaces (navy, coral, cream, mist) that carry the
   brand voltage. Blue/cream lead; coral and navy are used sparingly.

   No webfonts. No Haas (Airtable's licensed face) — the display voice is a
   system humanist sans with serif italics for emphasis. No framework.
   ========================================================================== */

/* ---------- Tokens ------------------------------------------------------- */
:root {
  color-scheme: light;

  /* Canvas & ink */
  --paper: #faf7f1;          /* warm editorial canvas */
  --paper-2: #f3ebdb;        /* deeper cream band */
  --canvas: #ffffff;         /* white editorial canvas */
  --mist: #e8eef4;           /* cool light band */
  --ink: #101d2b;            /* display + strongest text */
  --body: #33414f;           /* running text */
  --muted: #4b5965;          /* secondary copy with clearer contrast */
  --line: #ded5c5;           /* hairline on cream */
  --line-cool: #d7dee6;      /* hairline on white/mist */
  --line-strong: #8f8574;

  /* Brand */
  --harbour: #16436b;        /* deep harbour blue */
  --harbour-deep: #0d2c48;
  --harbour-soft: #dfe9f3;
  --link: #1b5aa6;
  --link-active: #123f77;
  --coral: #a83c1a;          /* oxide coral — one signature moment */
  --coral-deep: #852e12;
  --coral-soft: #f7e2d7;
  --navy: #0b1723;           /* near-black navy */
  --navy-2: #13263a;
  --cream: #f6ead3;
  --on-dark: #f7f1e5;
  --on-dark-muted: #aebdcb;

  /* State */
  --success: #2f6b46;
  --success-soft: #e3f0e7;
  --error: #a52a1f;
  --error-soft: #f9e4e1;

  /* Pastel demo surfaces (Airtable demo-grid family, retuned for BBM) */
  --tone-mint: #e2eef0;
  --tone-peach: #f8e2d6;
  --tone-sand: #f3ead8;
  --tone-lilac: #e7e9f1;

  /* Type */
  --font-sans: "Segoe UI Variable Text", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  --font-display: "Segoe UI Variable Display", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  --font-serif: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, "Times New Roman", serif;

  /* Shape & space */
  --radius-xs: 4px;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 12px;
  --radius-pill: 999px;

  --shell: 1280px;
  --gutter: clamp(20px, 4vw, 48px);
  --section: clamp(64px, 8vw, 96px);
  --section-tight: clamp(40px, 5vw, 64px);

  --shadow-soft: 0 1px 2px rgba(16, 29, 43, .05), 0 10px 28px rgba(16, 29, 43, .06);
  --shadow-lift: 0 2px 4px rgba(16, 29, 43, .06), 0 24px 60px rgba(16, 29, 43, .13);
  --shadow-button: 0 1px 2px rgba(16, 29, 43, .18), 0 6px 18px rgba(27, 90, 166, .16);

  --ease-out: cubic-bezier(.22, 1, .36, 1);
  --ease-standard: cubic-bezier(.2, 0, 0, 1);
  --header-h: 84px;
  /* Proves this stylesheet resolved before bbm-theme.js reveals the switch. */
  --bbm-theme-css: 1;

  /* Compatibility aliases used by a few inline page styles. */
  --primary: var(--harbour);
  --on-surface: var(--ink);
  --on-surface-variant: var(--body);
  --surface-lowest: var(--canvas);
  --surface-container: var(--paper-2);
  --butter: #f4e6bd;
  --peach: var(--tone-peach);
  --mint: var(--tone-mint);
  --sand: var(--tone-sand);
  --lilac: var(--tone-lilac);
  --x2-blue-900: var(--navy);
}

/* ---------- Reset -------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 24px);
  scroll-padding-bottom: 16px;
}
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.65;
  color: var(--body);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
a { color: inherit; text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
h1, h2, h3, h4, h5, p, ul, ol, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
[hidden] { display: none !important; }
::selection { background: var(--coral-soft); color: var(--coral-deep); }
svg { flex: none; }

:focus-visible {
  outline: 2px solid var(--link);
  outline-offset: 3px;
  border-radius: 3px;
}
.site-footer :focus-visible { outline-color: var(--cream); }

/* ---------- Typography --------------------------------------------------- */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 400;
  color: var(--ink);
  line-height: 1.1;
  letter-spacing: -.028em;
  text-wrap: balance;
}
h1 {
  font-size: clamp(2.5rem, 4.8vw, 4.05rem);
  line-height: 1.02;
  letter-spacing: -.036em;
}
h2 {
  font-size: clamp(1.85rem, 3.2vw, 2.75rem);
  line-height: 1.08;
  letter-spacing: -.032em;
}
h3 {
  font-size: clamp(1.2rem, 1.6vw, 1.45rem);
  line-height: 1.22;
  letter-spacing: -.018em;
}
h4 { font-size: 1.0625rem; line-height: 1.35; letter-spacing: -.01em; }
p { text-wrap: pretty; }
strong, b { font-weight: 600; color: var(--ink); }

/* The one emphatic move: serif accent words, coral, never bolder. Roman
   rather than italic so tight letterforms such as "rhythm" stay legible. */
em, .ed-accent, .at-display__accent {
  font-family: var(--font-serif);
  font-style: normal;
  font-weight: 400;
  letter-spacing: -.005em;
  color: var(--coral);
}
.ed-accent { white-space: normal; }

.shell {
  width: min(var(--shell), calc(100% - (var(--gutter) * 2)));
  margin-inline: auto;
}
.narrow { max-width: 760px; }
.muted { color: var(--muted); }
.lede {
  font-size: clamp(17px, 1.3vw, 19px);
  line-height: 1.62;
  color: var(--body);
  max-width: 62ch;
  text-wrap: pretty;
}
.small { font-size: 14.5px; line-height: 1.55; }
.tiny { font-size: 13px; line-height: 1.5; }

.eyebrow, .at-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  font-family: var(--font-sans);
  font-size: 11.5px;
  font-weight: 650;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--harbour);
}
.eyebrow::before, .at-kicker__rule {
  content: "";
  display: inline-block;
  width: 22px;
  height: 2px;
  border-radius: 2px;
  background: var(--coral);
  flex: none;
}
.eyebrow--on-dark, .at-kicker--light { color: var(--cream); }
.at-kicker--light .at-kicker__rule { background: var(--coral); }

.skip-link {
  position: absolute;
  left: 16px;
  top: -100px;
  z-index: 200;
  padding: 12px 18px;
  border-radius: var(--radius-sm);
  background: var(--navy);
  color: var(--on-dark);
  font-size: 14px;
  text-decoration: none;
  transition: top .18s var(--ease-out);
}
.skip-link:focus { top: 12px; }

/* ---------- Buttons ------------------------------------------------------ */
.btn, .at-btn {
  --btn-bg: var(--navy);
  --btn-ink: var(--on-dark);
  --btn-border: var(--navy);
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 48px;
  padding: 13px 24px;
  border: 1px solid var(--btn-border);
  border-radius: var(--radius-lg);
  background: var(--btn-bg);
  color: var(--btn-ink);
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: -.005em;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color .2s var(--ease-standard), border-color .2s var(--ease-standard),
              color .2s var(--ease-standard), transform .2s var(--ease-out), box-shadow .2s var(--ease-standard);
}
.btn svg, .at-btn svg { transition: transform .25s var(--ease-out); }
.btn:hover, .at-btn:hover { transform: translateY(-1px); }
.btn:hover svg, .at-btn:hover svg { transform: translateX(2px); }
.btn:active, .at-btn:active { transform: translateY(0); }

.btn--filled, .at-btn--solid {
  --btn-bg: var(--navy);
  --btn-ink: var(--on-dark);
  --btn-border: var(--navy);
  box-shadow: var(--shadow-button);
}
.btn--filled:hover, .at-btn--solid:hover { --btn-bg: var(--harbour); --btn-border: var(--harbour); }

.btn--outline, .at-btn--line {
  --btn-bg: transparent;
  --btn-ink: var(--ink);
  --btn-border: var(--line-strong);
}
.btn--outline:hover, .at-btn--line:hover { --btn-bg: var(--canvas); --btn-border: var(--ink); }

.btn--tonal {
  --btn-bg: var(--harbour-soft);
  --btn-ink: var(--harbour-deep);
  --btn-border: transparent;
}
.btn--tonal:hover { --btn-bg: #d2e1ee; }

.btn--ghost {
  --btn-bg: transparent;
  --btn-ink: var(--link);
  --btn-border: transparent;
  min-height: 40px;
  padding: 8px 2px;
  border-radius: var(--radius-xs);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}
.btn--ghost:hover { --btn-ink: var(--link-active); transform: none; }

.at-btn--cream {
  --btn-bg: var(--cream);
  --btn-ink: var(--navy);
  --btn-border: var(--cream);
}
.at-btn--cream:hover { --btn-bg: #fff6e4; --btn-border: #fff6e4; }

.btn--lg { min-height: 54px; padding: 16px 28px; font-size: 17px; }
.btn--sm { min-height: 40px; padding: 9px 16px; font-size: 14.5px; border-radius: var(--radius-md); }
.btn--block { width: 100%; }

/* ---------- Theme bar ---------------------------------------------------- */
.theme-bar {
  background: var(--paper-2);
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 12px;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.theme-bar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 38px;
  padding-block: 6px;
}
.theme-bar__lead { display: inline-flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.theme-bar__place { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--body); }
.theme-bar__place-mark {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--coral);
  box-shadow: 0 0 0 3px rgba(176, 67, 31, .14);
}
.theme-bar__call {
  display: inline-flex; align-items: center; gap: 7px;
  color: var(--body); text-decoration: none; letter-spacing: .04em;
}
.theme-bar__call:hover { color: var(--coral); }
.theme-bar__aside { display: none; }
html.theme-ready .theme-bar__aside { display: inline-flex; align-items: center; gap: 10px; }
.theme-bar__label { color: var(--muted); }

.theme-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px 4px 4px 8px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-pill);
  background: var(--canvas);
  color: var(--body);
  font-size: 11px;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.theme-toggle__icon { display: inline-flex; color: var(--muted); }
.theme-toggle__sun { display: none; }
html[data-theme="dark"] .theme-toggle__sun { display: block; }
html[data-theme="dark"] .theme-toggle__moon { display: none; }
.theme-toggle__track {
  position: relative;
  width: 34px; height: 20px;
  border-radius: var(--radius-pill);
  background: var(--line);
  transition: background-color .2s var(--ease-standard);
}
.theme-toggle__track::after {
  content: "";
  position: absolute;
  left: 2px; top: 2px;
  width: 16px; height: 16px;
  border-radius: 50%;
  background: var(--canvas);
  box-shadow: 0 1px 2px rgba(16, 29, 43, .25);
  transition: transform .22s var(--ease-out);
}
html[data-theme="dark"] .theme-toggle__track { background: var(--harbour); }
html[data-theme="dark"] .theme-toggle__track::after { transform: translateX(14px); background: var(--cream); }
.theme-bar [hidden] { display: none !important; }

/* ---------- App bar ------------------------------------------------------ */
.app-bar {
  position: sticky;
  top: 0;
  z-index: 60;
  background: var(--canvas);
  border-bottom: 1px solid var(--line-cool);
  transition: box-shadow .25s var(--ease-standard), background-color .25s var(--ease-standard);
}
.app-bar.is-scrolled { box-shadow: 0 8px 24px rgba(16, 29, 43, .07); }
.app-bar__inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  min-height: var(--header-h);
  padding-block: 12px;
}
.brand {
  justify-self: start;
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  color: var(--ink);
}
.brand__art img { width: auto; height: 46px; }
.brand-forward__art img { width: auto; height: 54px; }
.brand-forward__art--reverse { display: none; }
html[data-theme="dark"] .brand-forward__art--primary { display: none; }
html[data-theme="dark"] .brand-forward__art--reverse { display: block; }

.primary-nav {
  justify-self: center;
  display: flex;
  align-items: center;
  gap: clamp(14px, 2.2vw, 30px);
}
.primary-nav a {
  position: relative;
  padding: 8px 0;
  color: var(--body);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: -.005em;
  text-decoration: none;
  transition: color .2s var(--ease-standard);
}
.primary-nav a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 2px;
  border-radius: 2px;
  background: var(--coral);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .25s var(--ease-out);
}
.primary-nav a:hover { color: var(--ink); }
.primary-nav a:hover::after,
.primary-nav a.is-active::after { transform: scaleX(1); }
.primary-nav a.is-active { color: var(--ink); }

.app-bar__actions {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 10px;
}
.app-bar__call {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 8px 14px;
  border: 1px solid var(--line-cool);
  border-radius: var(--radius-lg);
  color: var(--ink);
  font-size: 14.5px;
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
  transition: border-color .2s var(--ease-standard), background-color .2s var(--ease-standard);
}
.app-bar__call:hover { border-color: var(--ink); background: var(--paper); }
.app-bar__call-icon { display: inline-flex; color: var(--coral); }
.app-bar__cta { min-height: 44px; padding: 10px 18px; font-size: 15px; }
.app-bar__cta-short { display: none; }

.icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-width: 44px;
  min-height: 44px;
  padding: 8px 10px;
  border: 1px solid var(--line-cool);
  border-radius: var(--radius-lg);
  background: var(--canvas);
  color: var(--ink);
  transition: border-color .2s var(--ease-standard), background-color .2s var(--ease-standard);
}
.icon-btn:hover { border-color: var(--ink); background: var(--paper); }
.menu-btn { display: none; }
.menu-btn__label { font-size: 14px; font-weight: 500; }

/* ---------- Nav sheet ---------------------------------------------------- */
.nav-scrim {
  position: fixed;
  inset: 0;
  z-index: 80;
  background: rgba(11, 23, 35, .55);
  opacity: 0;
  transition: opacity .3s var(--ease-standard);
}
.nav-scrim.is-open { opacity: 1; }
.nav-sheet {
  position: fixed;
  top: 0; right: 0; bottom: 0;
  z-index: 90;
  display: flex;
  flex-direction: column;
  width: min(420px, 92vw);
  padding: 22px 26px 28px;
  background: var(--paper);
  border-left: 1px solid var(--line);
  box-shadow: -24px 0 60px rgba(11, 23, 35, .22);
  transform: translateX(102%);
  transition: transform .34s var(--ease-out);
  overflow-y: auto;
}
.nav-sheet.is-open { transform: translateX(0); }
.nav-sheet__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}
.nav-sheet__title {
  font-size: 12px;
  font-weight: 650;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--muted);
}
.nav-sheet__links { display: flex; flex-direction: column; margin-top: 12px; }
.nav-sheet__links a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 15px 2px;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  font-size: 20px;
  font-weight: 400;
  letter-spacing: -.02em;
  text-decoration: none;
  transition: color .18s var(--ease-standard), padding-left .22s var(--ease-out);
}
.nav-sheet__links a:hover { color: var(--coral); padding-left: 6px; }
.nav-sheet__links a[aria-current="page"] { color: var(--coral); }
.nav-sheet__foot { margin-top: auto; padding-top: 26px; display: grid; gap: 14px; }
.nav-sheet__phone {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--canvas);
  text-decoration: none;
}
.nav-sheet__phone-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--harbour-soft);
  color: var(--harbour);
}
.nav-sheet__phone-copy { display: grid; }
.nav-sheet__phone-label { font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.nav-sheet__phone-number { font-size: 18px; font-weight: 600; color: var(--ink); }
.nav-sheet__mail {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--muted); font-size: 14px; text-decoration: none;
}
.nav-sheet__mail:hover { color: var(--link); }
.nav-sheet__legal { display: flex; gap: 18px; font-size: 13px; }
.nav-sheet__legal a { color: var(--muted); text-decoration: none; }
.nav-sheet__legal a:hover { color: var(--ink); }

/* ---------- No-JS navigation -------------------------------------------- */
.noscript-nav {
  background: var(--canvas);
  border-bottom: 1px solid var(--line-cool);
}
.noscript-nav__summary {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 40px;
  padding: 8px var(--gutter);
  color: var(--ink);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .01em;
  cursor: pointer;
  list-style: none;
}
.noscript-nav__summary::-webkit-details-marker { display: none; }
.noscript-nav__summary::after {
  content: "+";
  margin-left: auto;
  color: var(--coral);
  font-size: 18px;
  line-height: 1;
}
.noscript-nav[open] .noscript-nav__summary::after { content: "–"; }
.noscript-nav__summary:focus-visible {
  outline: 2px solid var(--link);
  outline-offset: -2px;
}
.noscript-nav__links .shell {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 22px;
  padding-block: 4px 14px;
}
.noscript-nav__links a {
  color: var(--body);
  font-size: 14.5px;
  font-weight: 500;
  text-decoration: none;
}
.noscript-nav__links a:hover { color: var(--coral); }
/* The menu button needs JavaScript; without it the noscript links above are
   the navigation instead of an inert control. */
html:not(.js) .menu-btn { display: none !important; }
/* Desktop keeps its server-rendered primary nav: the no-JS menu would only
   push the hero (and the quote form's privacy note) below the fold. */
@media (min-width: 1024px) {
  .noscript-nav { display: none; }
}

/* ---------- Bottom mobile navigation ------------------------------------ */
.bottom-nav { display: none; }

/* ---------- Section rhythm ---------------------------------------------- */
.section { padding-block: var(--section); }
.section--tight { padding-block: var(--section-tight); }
.section--low { background: var(--paper-2); }
.section--stage {
  background: var(--navy);
  color: var(--on-dark-muted);
  padding-block: var(--section);
}
.section--stage h2, .section--stage h3, .section--stage h4, .section--stage strong { color: var(--on-dark); }
.section--stage .eyebrow { color: var(--cream); }
.section--stage .muted, .section--stage .art-note { color: var(--on-dark-muted); }
.section--stage .card { color: var(--body); }
.section--stage .card h3, .section--stage .card strong { color: var(--ink); }
.section--stage .card p { color: var(--body); }

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
  align-items: end;
  gap: clamp(24px, 4vw, 64px);
  margin-bottom: clamp(32px, 4vw, 48px);
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line);
}
.section-head h2 { margin-top: 14px; }
.section-head__lead {
  color: var(--body);
  font-size: 17px;
  line-height: 1.6;
  max-width: 52ch;
  padding-bottom: 4px;
}
.section--stage .section-head { border-bottom-color: rgba(247, 241, 229, .18); }
.section--stage .section-head__lead { color: var(--on-dark-muted); }

/* ---------- Cards -------------------------------------------------------- */
.card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 28px;
  border: 1px solid var(--line-cool);
  border-radius: var(--radius-md);
  background: var(--canvas);
  color: var(--body);
  transition: transform .25s var(--ease-out), box-shadow .25s var(--ease-standard);
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-soft); }
.card h3 { margin-top: 2px; }
.card p { font-size: 15.5px; line-height: 1.6; }
.card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--cream);
  flex: none;
}
.card--mint { background: var(--tone-mint); border-color: transparent; }
.card--peach { background: var(--tone-peach); border-color: transparent; }
.card--sand { background: var(--tone-sand); border-color: transparent; }
.card--lilac { background: var(--tone-lilac); border-color: transparent; }

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.split {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  align-items: start;
  gap: clamp(32px, 5vw, 72px);
}
.split--reverse .split__media { order: -1; }
.split--listening { align-items: center; }
.split__body { display: grid; gap: 18px; justify-items: start; }
.split__body h2 { max-width: 18ch; }
.split__media { position: relative; }
.split__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: var(--radius-pill);
  background: var(--harbour-soft);
  color: var(--harbour-deep);
  font-size: 12px;
  font-weight: 650;
  letter-spacing: .08em;
  text-transform: uppercase;
}

/* ---------- Chips -------------------------------------------------------- */
.chip-row { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 12px;
  border: 1px solid var(--line-cool);
  border-radius: var(--radius-pill);
  background: var(--canvas);
  color: var(--body);
  font-size: 13.5px;
  line-height: 1.2;
}
.chip svg { color: var(--coral); }
.chip--static { list-style: none; }
.area-band {
  padding: 18px 20px;
  border: 1px solid var(--line-cool);
  border-radius: var(--radius-md);
  background: var(--canvas);
}
.area-band .chip-row { margin-top: 12px; }

/* ---------- Detail list -------------------------------------------------- */
.detail-list { display: grid; gap: 0; margin-top: 4px; }
.detail-list li {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 14px;
  padding: 14px 0;
  border-top: 1px solid var(--line);
  font-size: 15.5px;
  line-height: 1.55;
}
.detail-list li:last-child { border-bottom: 1px solid var(--line); }
.detail-list svg { color: var(--coral); margin-top: 3px; }

/* ---------- Forms -------------------------------------------------------- */
.field { display: grid; align-content: start; gap: 6px; min-width: 0; }
.field--full { grid-column: 1 / -1; }
.field label {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .015em;
  color: var(--ink);
}
.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 50px;
  padding: 12px 14px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  background: var(--canvas);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.4;
  transition: border-color .18s var(--ease-standard), box-shadow .18s var(--ease-standard);
}
.field input::placeholder { color: var(--muted); opacity: 1; }
.field input:hover { border-color: var(--muted); }
.field input:focus {
  outline: none;
  border-color: var(--link);
  box-shadow: 0 0 0 3px rgba(27, 90, 166, .16);
}
.field input.invalid { border-color: var(--error); }
.field input.invalid:focus { box-shadow: 0 0 0 3px rgba(165, 42, 31, .14); }
.field__hint { font-size: 12.5px; color: var(--muted); }
.field-error {
  display: none;
  font-size: 13px;
  line-height: 1.4;
  color: var(--error);
}
.field-error.show { display: block; }
.req { color: var(--coral); font-weight: 600; }

.hp-field {
  position: absolute !important;
  left: -9999px !important;
  width: 1px; height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}
.form-note, .at-form__note {
  display: block;
  color: var(--muted);
  font-size: 12.5px;
  line-height: 1.5;
}
.form-note svg, .at-form__note svg {
  display: inline-block;
  vertical-align: -2px;
  margin-right: 5px;
}
.form-note a, .at-form__note a { color: var(--link); }
.form-status {
  display: flex;
  gap: 12px;
  padding: 14px 16px;
  border: 1px solid var(--error);
  border-radius: var(--radius-sm);
  background: var(--error-soft);
  color: var(--error);
  font-size: 14.5px;
  line-height: 1.5;
}
.form-status svg { flex: none; margin-top: 2px; }

/* ---------- FAQ ---------------------------------------------------------- */
.faq { display: grid; border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary {
  display: grid;
  grid-template-columns: 34px 1fr 24px;
  align-items: start;
  gap: 14px;
  padding: 20px 2px;
  cursor: pointer;
  list-style: none;
  color: var(--ink);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-number {
  font-size: 12px;
  font-weight: 650;
  letter-spacing: .08em;
  color: var(--coral);
  padding-top: 3px;
}
.faq-question {
  font-family: var(--font-display);
  font-size: clamp(16.5px, 1.4vw, 19px);
  font-weight: 500;
  line-height: 1.35;
  letter-spacing: -.012em;
}
.faq-icon { display: inline-flex; color: var(--muted); transition: transform .25s var(--ease-out); }
.faq-item[open] .faq-icon { transform: rotate(180deg); color: var(--coral); }
.faq-item[open] summary { color: var(--coral-deep); }
.faq-answer { padding: 0 40px 22px 48px; }
.faq-answer p { color: var(--body); font-size: 15.5px; line-height: 1.65; max-width: 72ch; }
.faq-layout {
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
  gap: clamp(32px, 5vw, 76px);
  align-items: start;
}
.faq-layout > div:first-child { position: sticky; top: calc(var(--header-h) + 28px); }
.faq-layout h2 { margin: 14px 0 16px; }

/* ---------- CTA band (light mist, Airtable cta-band-light) --------------- */
.cta-band {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: clamp(24px, 4vw, 56px);
  padding: clamp(32px, 4vw, 52px);
  border-radius: var(--radius-lg);
  background: var(--mist);
  overflow: hidden;
}
.cta-band h2 { font-size: clamp(1.7rem, 2.6vw, 2.35rem); max-width: 20ch; margin: 10px 0 10px; }
.cta-band p { max-width: 56ch; color: var(--body); font-size: 15.5px; }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.cta-route {
  position: absolute;
  left: 0; right: 0; bottom: 8px;
  height: 24px;
  color: var(--harbour);
  opacity: .28;
  pointer-events: none;
}
.cta-route__line, .cta-route__line svg { width: 100%; height: 100%; }
.cta-route__line path { fill: none; stroke: currentColor; stroke-width: 1.5; }
.cta-route__truck { position: absolute; left: 22%; bottom: 8px; width: 30px; color: var(--coral); opacity: .9; }

/* ---------- Status / progress ------------------------------------------- */
.status-chip, .progress-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  background: var(--canvas);
  color: var(--muted);
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: .02em;
}
.status-chip::before {
  content: "";
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--success);
}

/* ---------- Tables ------------------------------------------------------- */
.table-wrap { overflow-x: auto; border: 1px solid var(--line-cool); border-radius: var(--radius-md); background: var(--canvas); }
.compare-table { width: 100%; border-collapse: collapse; font-size: 15px; }
.compare-table th, .compare-table td { padding: 14px 18px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line-cool); }
.compare-table th { font-size: 12px; font-weight: 650; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); background: var(--paper); }
.compare-table tr:last-child td { border-bottom: 0; }
.compare-table td:first-child { color: var(--ink); font-weight: 500; }

/* ---------- Prose (legal) ------------------------------------------------ */
.prose { max-width: 72ch; color: var(--body); font-size: 16.5px; line-height: 1.72; }
.prose > * + * { margin-top: 1.05em; }
.prose h2 {
  font-size: clamp(1.4rem, 2vw, 1.75rem);
  margin-top: 2em;
  padding-top: 1.1em;
  border-top: 1px solid var(--line);
  letter-spacing: -.02em;
}
.prose h3 { font-size: 1.15rem; margin-top: 1.6em; }
.prose ul, .prose ol { padding-left: 1.25em; display: grid; gap: .45em; }
.prose ul { list-style: disc; }
.prose ol { list-style: decimal; }
.prose a { color: var(--link); }
.prose strong { color: var(--ink); }

/* ---------- Footer ------------------------------------------------------- */
.site-footer {
  background: var(--navy);
  color: var(--on-dark);
  font-size: 14.5px;
  line-height: 1.55;
}
.sf-shell { padding-block: clamp(56px, 7vw, 88px) 28px; }
.sf-close {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, .65fr);
  gap: clamp(32px, 5vw, 72px);
  padding-bottom: clamp(36px, 4vw, 52px);
  border-bottom: 1px solid rgba(247, 241, 229, .16);
}
.sf-kicker {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--on-dark-muted);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.sf-kicker__rule { width: 22px; height: 2px; background: var(--coral); display: inline-block; }
.sf-kicker__slash { color: rgba(247, 241, 229, .3); }
.sf-invite {
  margin-top: 18px;
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.4vw, 3rem);
  font-weight: 400;
  line-height: 1.06;
  letter-spacing: -.035em;
  color: var(--on-dark);
  text-wrap: balance;
}
.sf-invite__lead, .sf-invite__sub { display: block; }
.sf-invite__sub { color: var(--on-dark-muted); }
.sf-invite em { color: #f0a184; }
.sf-index-title {
  margin-top: 18px;
  font-size: clamp(1.7rem, 2.8vw, 2.3rem);
  color: var(--on-dark);
}
.sf-close__actions { margin-top: 26px; display: flex; flex-wrap: wrap; gap: 12px; }
.sf-btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 48px;
  padding: 13px 22px;
  border-radius: var(--radius-lg);
  background: var(--cream);
  color: var(--navy);
  font-size: 15.5px;
  font-weight: 500;
  text-decoration: none;
  transition: background-color .2s var(--ease-standard), transform .2s var(--ease-out);
}
.sf-btn:hover { background: #fff6e4; transform: translateY(-1px); }
.sf-quote-link {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--cream);
  font-size: 15px;
  text-decoration: underline;
  text-underline-offset: 4px;
}
.sf-quote-link:hover { color: #f0a184; }

.sf-contact { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.sf-contact__label {
  font-size: 11px;
  font-weight: 650;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--on-dark-muted);
  margin-bottom: 4px;
}
.sf-phone { display: grid; text-decoration: none; color: var(--on-dark); }
.sf-phone__label { font-size: 12px; color: var(--on-dark-muted); }
.sf-phone__number {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.2vw, 1.9rem);
  letter-spacing: -.02em;
}
.sf-phone:hover .sf-phone__number { color: #f0a184; }
.sf-mail { color: var(--cream); text-decoration: underline; text-underline-offset: 3px; }
.sf-mail:hover { color: #f0a184; }
.sf-address { color: var(--on-dark-muted); font-size: 14px; max-width: 26ch; }

.sf-index {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(24px, 4vw, 48px);
  padding-block: clamp(32px, 4vw, 44px);
  border-bottom: 1px solid rgba(247, 241, 229, .16);
}
.sf-col h3 {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 650;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--on-dark-muted);
  margin-bottom: 14px;
}
.sf-links { display: grid; gap: 9px; }
.sf-link {
  color: var(--on-dark);
  font-size: 14.5px;
  text-decoration: none;
  transition: color .18s var(--ease-standard);
}
.sf-link:hover { color: #f0a184; }
.sf-areas { display: flex; flex-wrap: wrap; gap: 6px 14px; }
.sf-areas li { color: var(--on-dark-muted); font-size: 13.5px; }
.sf-base {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px 32px;
  padding-top: 26px;
}
.sf-mark__forward-logo { width: auto; height: 40px; }
.sf-copy { color: var(--on-dark-muted); font-size: 12.5px; }
.sf-legal { display: flex; align-items: center; gap: 20px; font-size: 12.5px; }
.sf-legal a { color: var(--on-dark-muted); text-decoration: none; }
.sf-legal a:hover { color: var(--cream); }
.sf-top-link { display: inline-flex; align-items: center; gap: 4px; }
.sf-visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}

/* ---------- Lightweight interaction feedback ---------------------------- */
.x2-progress {
  position: fixed;
  top: 0; left: 0;
  z-index: 120;
  width: 100%;
  height: 2px;
  background: var(--coral);
  transform: scaleX(var(--x2-progress, 0));
  transform-origin: left;
  transition: transform .08s linear;
  pointer-events: none;
}
.btn, .at-btn, .chip, .icon-btn, .segmented button,
.primary-nav a, .bottom-nav a, .nav-sheet__links a { position: relative; overflow: hidden; }
.x2-ripple {
  position: absolute;
  border-radius: 50%;
  background: currentColor;
  opacity: .16;
  transform: scale(0);
  animation: x2-ripple .55s var(--ease-out) forwards;
  pointer-events: none;
}
@keyframes x2-ripple { to { transform: scale(1); opacity: 0; } }

/* ---------- Responsive shell -------------------------------------------- */
@media (max-width: 1180px) {
  .primary-nav { gap: 14px; }
  .app-bar__call-number { display: none; }
  .app-bar__call { padding: 8px 11px; }
}

@media (max-width: 1023px) {
  :root { --header-h: 68px; }
  .app-bar__inner { grid-template-columns: 1fr auto; gap: 12px; }
  .primary-nav { display: none; }
  .menu-btn { display: inline-flex; }
  .app-bar__cta-label { display: none; }
  .app-bar__cta-short { display: inline; }
  .app-bar__cta { min-height: 44px; padding: 9px 13px; }
  .brand-forward__art img { height: 44px; }
  .section-head { grid-template-columns: 1fr; gap: 14px; }
  .service-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .split { grid-template-columns: 1fr; }
  .split--reverse .split__media { order: 0; }
  .faq-layout { grid-template-columns: 1fr; }
  .faq-layout > div:first-child { position: static; }
  .sf-close { grid-template-columns: 1fr; }
  .sf-index { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 767px) {
  body { font-size: 16.5px; padding-bottom: calc(78px + env(safe-area-inset-bottom)); }
  html { scroll-padding-bottom: calc(76px + env(safe-area-inset-bottom)); }
  /* Keyboard focus must clear the fixed quick-nav, not just the viewport. */
  a, button, summary, input, select, textarea {
    scroll-margin-block: 20px calc(84px + env(safe-area-inset-bottom));
  }
  .theme-bar__label, .theme-bar__place { display: none; }
  .theme-bar__inner { justify-content: flex-end; }
  .app-bar__call { display: none; }
  .section { padding-block: clamp(48px, 11vw, 64px); }
  .service-grid { grid-template-columns: 1fr; }
  .card { padding: 22px; }
  .faq-answer { padding-left: 2px; padding-right: 8px; }
  .cta-band { grid-template-columns: 1fr; }
  .sf-index { grid-template-columns: 1fr 1fr; gap: 26px 20px; }
  .sf-base { flex-direction: column; align-items: flex-start; }
  .sf-legal { flex-wrap: wrap; gap: 12px 18px; }

  /* Mobile quick navigation */
  .bottom-nav {
    position: fixed;
    left: 0; right: 0; bottom: 0;
    z-index: 55;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    background: var(--canvas);
    border-top: 1px solid var(--line-cool);
    padding-bottom: env(safe-area-inset-bottom);
    box-shadow: 0 -8px 24px rgba(16, 29, 43, .07);
    transition: transform .22s var(--ease-standard), visibility 0s;
  }
  .bottom-nav a {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    min-height: 62px;
    padding: 8px 4px;
    color: var(--muted);
    font-size: 10.5px;
    font-weight: 550;
    letter-spacing: .04em;
    text-decoration: none;
  }
  .bottom-nav a.is-active { color: var(--ink); }
  .bottom-nav a.is-active svg { color: var(--coral); }
  .bottom-nav__quote { color: var(--ink) !important; }
  .bottom-nav__quote-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px; height: 26px;
    border-radius: var(--radius-pill);
    background: var(--navy);
    color: var(--cream);
  }

  /* If the quick-nav would sit over a quote form's privacy note (for example
     after inline validation errors make the card taller), it slides out of
     the way so the link stays tappable, then returns once the note clears the
     bottom edge. Nothing else moves: the dock is fixed. */
  .bottom-nav.is-yielding {
    transform: translateY(calc(100% + 16px));
    visibility: hidden;
    pointer-events: none;
    transition: transform .22s var(--ease-standard), visibility 0s linear .22s;
  }
}

@media (min-width: 768px) and (max-width: 1023px) {
  .bottom-nav { display: none; }
  body { padding-bottom: 0; }
}
