/* Inachord Counselling & Wellness
   Concept: tension and resolution. One bold moment (the hero strings);
   everything else stays quiet. Colours are taken from the logo. */

:root {
  /* Colour — five brand colours plus two tints */
  --ink: #0f2a3d;          /* body text */
  --navy: #034b7d;         /* logo wordmark */
  --navy-deep: #06304f;    /* footer, pressed states */
  --tide: #7db5c9;         /* logo hands + staff (decorative only on light) */
  --tide-soft: #a9d0de;    /* text on navy */
  --mist: #e6eff2;         /* alternate section */
  --porcelain: #f6f8f7;    /* page */
  --white: #ffffff;
  --muted: #4b6070;        /* secondary text, 6.4:1 on porcelain */
  --line: rgba(3, 75, 125, 0.16);

  /* Type */
  --font-display: "Marcellus", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --font-body: "Jost", "Avenir Next", "Segoe UI", system-ui, sans-serif;
  --step--1: 0.9375rem;
  --step-0: 1.125rem;
  --step-1: 1.375rem;
  --step-2: clamp(1.6rem, 1.3rem + 1.1vw, 2rem);
  --step-3: clamp(2.1rem, 1.5rem + 2.4vw, 3.1rem);
  --step-4: clamp(2.75rem, 1.4rem + 5.6vw, 6rem);

  /* Space */
  --gutter: clamp(1.25rem, 4vw, 3rem);
  --section: clamp(4.5rem, 9vw, 8.5rem);
  --measure: 64ch;
  --wide: 1180px;

  /* Motion */
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --dur-fast: 160ms;
  --dur: 280ms;
  --dur-slow: 900ms;

  --radius: 6px;
  --header-h: 76px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 1rem); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  background: var(--porcelain);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: var(--step-0);
  line-height: 1.65;
  font-weight: 400;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
[hidden] { display: none !important; }
img { height: auto; }
h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 400;
  color: var(--navy);
  line-height: 1.12;
  letter-spacing: -0.005em;
  margin: 0 0 0.6em;
  text-wrap: balance;
}
h1 { font-size: var(--step-4); line-height: 1.02; }
h2 { font-size: var(--step-3); }
h3 { font-size: var(--step-1); line-height: 1.25; }
p { margin: 0 0 1.1em; max-width: var(--measure); text-wrap: pretty; }
a { color: var(--navy); text-decoration-thickness: 1px; text-underline-offset: 0.22em; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--navy); outline-offset: 3px; border-radius: 2px; }
.on-navy :focus-visible { outline-color: var(--tide-soft); }
strong { font-weight: 500; }

.skip-link {
  position: absolute; left: 1rem; top: -4rem; z-index: 100;
  background: var(--navy); color: var(--white); padding: 0.75rem 1.1rem; border-radius: var(--radius);
}
.skip-link:focus { top: 1rem; }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}

.wrap { width: min(100% - 2 * var(--gutter), var(--wide)); margin-inline: auto; }
.section { padding-block: var(--section); }
.section--mist { background: var(--mist); }
.lead { font-size: clamp(1.2rem, 1.1rem + 0.45vw, 1.4rem); line-height: 1.55; color: var(--ink); }
.muted { color: var(--muted); }
.section-intro { max-width: 46rem; margin-bottom: clamp(2.5rem, 5vw, 4rem); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.6rem;
  min-height: 52px; padding: 0.85rem 1.6rem;
  font: 500 1.0625rem/1.2 var(--font-body);
  letter-spacing: 0.01em;
  text-decoration: none; cursor: pointer;
  border: 1px solid transparent; border-radius: var(--radius);
  touch-action: manipulation;
  transition: background-color var(--dur) var(--ease-out), color var(--dur) var(--ease-out),
              border-color var(--dur) var(--ease-out), transform var(--dur-fast) var(--ease-out);
}
.btn:active { transform: scale(0.98); }
.btn--primary { background: var(--navy); color: var(--white); }
.btn--primary:hover { background: var(--navy-deep); }
.btn--quiet { background: transparent; color: var(--navy); border-color: rgba(3, 75, 125, 0.35); }
.btn--quiet:hover { border-color: var(--navy); background: rgba(3, 75, 125, 0.05); }
.btn--light { background: var(--porcelain); color: var(--navy); }
.btn--light:hover { background: var(--white); }
.btn--ghost-light { color: var(--porcelain); border-color: rgba(246, 248, 247, 0.45); background: transparent; }
.btn--ghost-light:hover { border-color: var(--porcelain); background: rgba(246, 248, 247, 0.08); }
.btn svg { width: 20px; height: 20px; flex: none; }
.actions { display: flex; flex-wrap: wrap; gap: 0.875rem; align-items: center; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 40;
  background: var(--porcelain);
  border-bottom: 1px solid transparent;
  transition: border-color var(--dur) var(--ease-out), box-shadow var(--dur) var(--ease-out);
}
.site-header.is-scrolled { border-bottom-color: var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); gap: 1rem; }
.brand { display: block; flex: none; }
.brand img { width: 128px; height: auto; }
.nav-list { display: flex; align-items: center; gap: clamp(1rem, 2.4vw, 2.25rem); list-style: none; margin: 0; padding: 0; }
.nav-link {
  position: relative; display: inline-block; padding: 0.6rem 0.1rem;
  font-weight: 500; font-size: 1.0625rem; color: var(--ink); text-decoration: none;
}
.nav-link::after { /* the bead: echoes the circles on the logo's staff */
  content: ""; position: absolute; left: 50%; bottom: 0.1rem;
  width: 7px; height: 7px; margin-left: -3.5px; border-radius: 50%;
  border: 1.5px solid var(--navy); background: var(--porcelain);
  opacity: 0; transform: translateY(4px);
  transition: opacity var(--dur) var(--ease-out), transform var(--dur) var(--ease-out);
}
.nav-link:hover { color: var(--navy); }
.nav-link:hover::after, .nav-link[aria-current="page"]::after { opacity: 1; transform: none; }
.nav-link[aria-current="page"] { color: var(--navy); }
.nav-list .btn { min-height: 46px; padding: 0.7rem 1.25rem; }
.menu-toggle { display: none; }

@media (max-width: 899px) {
  :root { --header-h: 68px; }
  .brand img { width: 96px; }
  .site-nav { display: none; }
  .menu-toggle {
    display: inline-flex; align-items: center; gap: 0.5rem;
    min-height: 48px; padding: 0 0.9rem; margin-right: -0.5rem;
    background: none; border: 0; color: var(--navy); font: 500 1.0625rem var(--font-body); cursor: pointer;
  }
  .menu-toggle svg { width: 24px; height: 24px; }
}

/* Mobile menu (native <dialog> for focus trapping + Esc) */
.menu {
  width: 100%; max-width: none; height: 100dvh; max-height: none; margin: 0;
  padding: 0; border: 0; background: var(--porcelain); color: var(--ink);
}
.menu::backdrop { background: rgba(6, 48, 79, 0.25); }
.menu[open] { display: flex; flex-direction: column; }
.menu-head { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); padding-inline: var(--gutter); }
.menu-close { display: inline-flex; align-items: center; gap: 0.5rem; min-height: 48px; padding: 0 0.9rem; margin-right: -0.5rem; background: none; border: 0; color: var(--navy); font: 500 1.0625rem var(--font-body); cursor: pointer; }
.menu-close svg { width: 24px; height: 24px; }
.menu-list { list-style: none; margin: 0; padding: 1.5rem var(--gutter); display: grid; gap: 0.25rem; }
.menu-list a {
  display: block; padding: 0.7rem 0; font-family: var(--font-display); font-size: 2.1rem; line-height: 1.2;
  color: var(--navy); text-decoration: none; border-bottom: 1px solid var(--line);
}
.menu-list a[aria-current="page"] { color: var(--ink); }
.menu-foot { margin-top: auto; padding: 1.5rem var(--gutter) calc(1.5rem + env(safe-area-inset-bottom)); display: grid; gap: 0.75rem; }
.menu-foot .btn { width: 100%; }
@media (prefers-reduced-motion: no-preference) {
  .menu[open] .menu-list li { animation: menu-in 520ms var(--ease-out) both; }
  .menu[open] .menu-list li:nth-child(2) { animation-delay: 40ms; }
  .menu[open] .menu-list li:nth-child(3) { animation-delay: 80ms; }
  .menu[open] .menu-list li:nth-child(4) { animation-delay: 120ms; }
}
@keyframes menu-in { from { opacity: 0; transform: translateY(10px); } }

/* ---------- Hero ---------- */
.hero { position: relative; padding-top: clamp(2.5rem, 7vw, 6rem); padding-bottom: 2.5rem; overflow: hidden; }
.hero h1 { max-width: 12ch; margin-bottom: 0.35em; }
.hero h1 .line { display: block; }
.hero .lead { max-width: 36rem; margin-bottom: 2rem; }
.strings {
  position: relative;
  height: clamp(170px, 24vw, 300px);
  margin-top: clamp(2rem, 4vw, 3.25rem);
  touch-action: pan-y;
}
.strings svg { width: 100%; height: 100%; overflow: visible; }
.strings .string { fill: none; stroke-width: 2.25; stroke-linecap: round; } /* colour set per string in main.js */
.strings .clef { fill: var(--navy); }
.strings .chord-line { stroke: var(--navy); stroke-width: 1.5; opacity: 0; }
.strings .bead { fill: var(--porcelain); stroke: var(--navy); stroke-width: 2; }

/* Hint below the strings (clear of the clef's tail) */
.strings-hint {
  margin: clamp(2rem, 3.5vw, 2.75rem) 0 0; font-size: var(--step--1); font-style: italic; color: var(--muted); line-height: 1.4;
  opacity: 0; transition: opacity 1.2s var(--ease-out);
}
.strings-hint.is-visible { opacity: 1; }
.strings-hint .touch { display: none; }
@media (hover: none) { .strings-hint .mouse { display: none; } .strings-hint .touch { display: inline; } }

/* The one orchestrated entrance */
@media (prefers-reduced-motion: no-preference) {
  .js .hero-enter { animation: rise var(--dur-slow) var(--ease-out) both; }
  .js .hero-enter.d1 { animation-delay: 120ms; }
  .js .hero-enter.d2 { animation-delay: 260ms; }
  .js .hero-enter.d3 { animation-delay: 520ms; }
  .js .hero-enter.d4 { animation-delay: 680ms; }
}
@keyframes rise { from { opacity: 0; transform: translateY(0.45em); } }

/* ---------- Resolve divider: a wave that settles into a line ---------- */
.resolve { position: relative; height: 56px; color: var(--tide); }
.resolve svg { width: 100%; height: 100%; overflow: visible; }
.resolve .wave {
  fill: none; stroke: currentColor; stroke-width: 1.5; vector-effect: non-scaling-stroke;
  transform-box: fill-box; transform-origin: center;
}
.resolve .bead {
  position: absolute; left: 72%; top: 50%; width: 15px; height: 15px; margin: -7.5px 0 0 -7.5px;
  border-radius: 50%; border: 2px solid var(--navy); background: var(--porcelain);
}
.section--mist .resolve .bead { background: var(--mist); }
/* Resolved (flat) is the default, so no-JS and reduced-motion get the calm state */
.resolve .wave { transform: scaleY(0.02); }
@media (prefers-reduced-motion: no-preference) {
  .js .resolve .wave { transition: transform 1.8s var(--ease-in-out); }
  .js .resolve .bead { transition: opacity 0.8s var(--ease-out) 0.9s, transform 1.4s var(--ease-out) 0.6s; }
  .js .resolve:not(.is-resolved) .wave { transform: scaleY(1); }
  .js .resolve:not(.is-resolved) .bead { opacity: 0; transform: translateX(-40px); }
}

/* ---------- Intro (photo + words) ---------- */
.intro { display: grid; gap: clamp(2.5rem, 6vw, 5.5rem); align-items: center; }
@media (min-width: 900px) { .intro { grid-template-columns: 5fr 7fr; } }
.portrait { position: relative; margin: 0; max-width: 460px; }
.portrait img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius); background: var(--mist); }
.portrait::before { /* a single staff line with a bead, from the logo */
  content: ""; position: absolute; top: -1.5rem; bottom: -1.5rem; left: -1.25rem;
  width: 1.5px; background: var(--tide);
}
.portrait::after {
  content: ""; position: absolute; left: calc(-1.25rem - 7px); top: 32%;
  width: 16px; height: 16px; border-radius: 50%; border: 2px solid var(--navy); background: var(--porcelain);
}
.portrait figcaption { margin-top: 1rem; font-size: var(--step--1); color: var(--muted); }
.pull {
  margin: 0 0 1.5rem; padding: 0; font-family: var(--font-display);
  font-size: var(--step-2); line-height: 1.3; color: var(--navy); max-width: 30ch;
}
.signoff { display: flex; align-items: center; gap: 1rem; margin-top: 2rem; }
.signoff p { margin: 0; line-height: 1.35; }
.signoff .name { font-family: var(--font-display); font-size: var(--step-1); color: var(--navy); }

/* ---------- Principles ---------- */
.principles { display: grid; gap: clamp(2rem, 4vw, 3.5rem) clamp(2rem, 5vw, 5rem); }
@media (min-width: 760px) { .principles { grid-template-columns: 1fr 1fr; } }
.principle { border-top: 1.5px solid var(--tide); padding-top: 1.5rem; }
.principle h3 { margin-bottom: 0.5rem; }
.principle p { margin: 0; }

/* ---------- Areas of focus ---------- */
.areas { display: grid; gap: 0; border-top: 1px solid var(--line); }
@media (min-width: 900px) {
  .areas { grid-template-columns: repeat(3, 1fr); gap: 3rem 3.5rem; border-top: 0; }
}
.area { border-bottom: 1px solid var(--line); }
@media (min-width: 900px) { .area { border-bottom: 0; border-top: 1.5px solid var(--tide); padding-top: 1.25rem; } }
.area summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  min-height: 60px; padding: 0.75rem 0;
}
.area summary::-webkit-details-marker { display: none; }
.area summary h3 { margin: 0; }
.area summary .chev { width: 22px; height: 22px; flex: none; color: var(--navy); transition: transform var(--dur) var(--ease-out); }
.area[open] summary .chev { transform: rotate(180deg); }
.area ul { list-style: none; margin: 0; padding: 0 0 1.25rem; }
.area li { padding: 0.2rem 0; color: var(--ink); }
@media (min-width: 900px) {
  .area summary { cursor: default; pointer-events: none; min-height: 0; padding: 0 0 0.75rem; }
  .area summary .chev { display: none; }
  .area ul { padding-bottom: 0; }
}
.note { margin-top: clamp(2.5rem, 5vw, 3.5rem); padding: 1.5rem 0 0; border-top: 1px solid var(--line); max-width: 52rem; }

/* ---------- Fees ---------- */
.fees { list-style: none; margin: 0; padding: 0; border-top: 1.5px solid var(--navy); }
.fee {
  display: grid; gap: 0.25rem 1.5rem; align-items: baseline;
  padding: 1.4rem 0; border-bottom: 1px solid var(--line);
  grid-template-columns: 1fr auto;
}
.fee-name { font-family: var(--font-display); font-size: var(--step-1); color: var(--navy); line-height: 1.25; }
.fee-detail { grid-column: 1; color: var(--muted); font-size: 1rem; }
.fee-price { grid-row: 1 / span 2; grid-column: 2; text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums lining-nums; }
.fee-price .amount { font-family: var(--font-display); font-size: var(--step-2); color: var(--ink); }
.fee-price .gst { display: block; font-size: 0.9375rem; color: var(--muted); }
.fee-desc { grid-column: 1 / -1; margin: 0.4rem 0 0; color: var(--ink); }
@media (min-width: 760px) {
  .fee { grid-template-columns: minmax(0, 1fr) 11rem 9rem; }
  .fee-detail { grid-column: 2; grid-row: 1; }
  .fee-price { grid-column: 3; grid-row: 1; }
  .fee-desc { grid-column: 1 / 2; }
}
.fees-foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 1.5rem; margin-top: 2rem; }
.fees-foot p { margin: 0; color: var(--muted); font-size: 1rem; }

/* ---------- Meaning band (navy) ---------- */
.on-navy { background: var(--navy); color: var(--porcelain); }
.on-navy h2, .on-navy h3 { color: var(--porcelain); }
.on-navy a { color: var(--porcelain); }
.on-navy .muted { color: var(--tide-soft); }
.meaning { display: grid; gap: clamp(2.5rem, 6vw, 5rem); align-items: center; }
@media (min-width: 900px) { .meaning { grid-template-columns: 7fr 5fr; } }
.meaning blockquote {
  margin: 0 0 1.75rem; font-family: var(--font-display); font-size: var(--step-3);
  line-height: 1.15; color: var(--porcelain); max-width: 18ch;
}
.meaning p { color: var(--porcelain); }
.meaning .mark { width: min(100%, 340px); margin-inline: auto; opacity: 0.95; }

/* ---------- CTA band ---------- */
.cta { text-align: left; }
.cta-inner { display: grid; gap: 2rem; align-items: end; }
@media (min-width: 900px) { .cta-inner { grid-template-columns: 1fr auto; } }
.cta h2 { margin-bottom: 0.3em; }
.cta p { margin: 0; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { padding-top: clamp(2.5rem, 6vw, 5rem); padding-bottom: clamp(2rem, 4vw, 3rem); }
.page-hero h1 { font-size: clamp(2.5rem, 1.5rem + 4.2vw, 4.75rem); max-width: 16ch; }
.page-hero .lead { max-width: 40rem; }

/* ---------- Long-form (About) ---------- */
.profile { display: grid; gap: 3rem; }
@media (min-width: 1000px) { .profile { grid-template-columns: 15rem minmax(0, 1fr); gap: 5rem; } }
.toc { font-size: 1rem; }
.toc ol { list-style: none; margin: 0; padding: 0; border-left: 1.5px solid var(--tide); }
.toc a { display: block; padding: 0.45rem 0 0.45rem 1.1rem; margin-left: -1.5px; border-left: 1.5px solid transparent; color: var(--muted); text-decoration: none; }
.toc a:hover { color: var(--navy); }
.toc a.is-current { color: var(--navy); border-left-color: var(--navy); }
.toc-title { font-weight: 500; margin: 0 0 0.75rem; color: var(--ink); }
@media (min-width: 1000px) { .toc nav { position: sticky; top: calc(var(--header-h) + 2rem); } }
@media (max-width: 999px) { .toc { display: none; } }
.prose h2 { font-size: var(--step-2); margin-top: 3.25rem; }
.prose h2:first-child { margin-top: 0; }
.prose blockquote {
  margin: 2rem 0; padding: 0 0 0 1.5rem; border-left: 1.5px solid var(--tide);
  font-family: var(--font-display); font-size: var(--step-1); line-height: 1.4; color: var(--navy); max-width: 40ch;
}
.about-top { display: grid; gap: 2.5rem; align-items: end; }
@media (min-width: 900px) { .about-top { grid-template-columns: 7fr 4fr; } }
.about-top .portrait { max-width: 380px; }

.quals { display: grid; gap: 2.5rem 3rem; }
@media (min-width: 760px) { .quals { grid-template-columns: repeat(3, 1fr); } }
.quals h3 { font-size: var(--step-1); }
.quals ul { list-style: none; margin: 0; padding: 0; }
.quals li { padding: 0.55rem 0; border-bottom: 1px solid var(--line); }
.quals li span { display: block; color: var(--muted); font-size: 0.9375rem; }
.badge-row { display: flex; flex-wrap: wrap; align-items: center; gap: 1.5rem 2rem; margin-top: 3rem; }
.badge-row img { width: 112px; background: var(--white); border-radius: var(--radius); padding: 8px; }
.badge-row p { margin: 0; max-width: 38rem; }

/* ---------- FAQ ---------- */
.faq { border-top: 1px solid var(--line); max-width: 52rem; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 1.5rem;
  min-height: 64px; padding: 1rem 0; font-family: var(--font-display); font-size: var(--step-1); color: var(--navy); line-height: 1.3;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .chev { width: 22px; height: 22px; flex: none; transition: transform var(--dur) var(--ease-out); }
.faq details[open] summary .chev { transform: rotate(180deg); }
.faq .answer { padding-bottom: 1.25rem; }
.faq .answer p:last-child { margin-bottom: 0; }

.two-col { display: grid; gap: 3rem; }
@media (min-width: 900px) { .two-col { grid-template-columns: 1fr 1fr; gap: 5rem; } }

/* ---------- Booking ---------- */
.booking { display: grid; gap: 3rem; align-items: start; }
@media (min-width: 1000px) { .booking { grid-template-columns: minmax(0, 1fr) 21rem; gap: 4rem; } }
.widget {
  position: relative; background: var(--white); border-radius: var(--radius);
  border: 1px solid var(--line); overflow: hidden; min-height: 1100px;
}
.widget iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.widget-loading {
  position: absolute; inset: 0; display: grid; place-content: center; gap: 1rem; text-align: center; padding: 2rem; color: var(--muted);
}
.widget-fallback { margin-top: 1rem; font-size: 1rem; color: var(--muted); }
.contact-list { list-style: none; margin: 0 0 2rem; padding: 0; }
.contact-list li { display: flex; gap: 0.9rem; padding: 0.9rem 0; border-bottom: 1px solid var(--line); }
.contact-list li:first-child { border-top: 1px solid var(--line); }
.contact-list svg { width: 22px; height: 22px; flex: none; color: var(--navy); margin-top: 0.2rem; }
.contact-list a { overflow-wrap: anywhere; }
.contact-list p { margin: 0; }
.aside-title { font-family: var(--font-display); font-size: var(--step-1); color: var(--navy); margin-bottom: 1rem; }
@media (min-width: 1000px) { .booking aside { position: sticky; top: calc(var(--header-h) + 1.5rem); } }
.help {
  background: var(--mist); border-radius: var(--radius); padding: 1.5rem; font-size: 1rem;
}
.help h2 { font-size: var(--step-1); margin-bottom: 0.5rem; }
.help ul { list-style: none; margin: 0.75rem 0 0; padding: 0; }
.help li { padding: 0.3rem 0; }
.help a { font-weight: 500; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-deep); color: var(--porcelain); padding-block: clamp(3.5rem, 7vw, 5.5rem) 2rem; font-size: 1rem; }
.site-footer a { color: var(--porcelain); }
.footer-grid { display: grid; gap: 2.5rem; }
@media (min-width: 760px) { .footer-grid { grid-template-columns: 1.3fr 1fr 1fr 1fr; } }
.footer-logo { width: 170px; margin-bottom: 1.25rem; }
.footer-title { font-weight: 500; margin: 0 0 0.6rem; color: var(--tide-soft); }
.site-footer p { margin: 0 0 0.4rem; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { padding: 0.15rem 0; }
.footer-badge { width: 84px; background: var(--white); border-radius: var(--radius); padding: 6px; margin-top: 0.75rem; }
.footer-help { margin-top: 3rem; padding: 1.25rem 0; border-top: 1px solid rgba(169, 208, 222, 0.25); border-bottom: 1px solid rgba(169, 208, 222, 0.25); }
.footer-help p { margin: 0; max-width: none; }
.footer-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem 2rem; padding-top: 1.75rem; color: var(--tide-soft); font-size: 0.9375rem; }
.footer-base p { margin: 0; max-width: 60ch; }

/* ---------- Mobile booking bar ---------- */
.book-bar { display: none; }
@media (max-width: 899px) {
  .book-bar {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 30;
    display: flex; gap: 0.75rem; padding: 0.75rem var(--gutter) calc(0.75rem + env(safe-area-inset-bottom));
    background: var(--porcelain); border-top: 1px solid var(--line);
    transform: translateY(110%); transition: transform 420ms var(--ease-out);
  }
  .book-bar.is-visible { transform: none; }
  .book-bar .btn--primary { flex: 1; }
  .book-bar .btn--quiet { width: 52px; padding: 0; }
  body.has-book-bar { padding-bottom: calc(78px + env(safe-area-inset-bottom)); }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}

/* ---------- Small utilities ---------- */
.meaning-title { font-size: var(--step-1); color: var(--tide-soft); }
.on-navy .meaning-title { color: var(--tide-soft); }
.more { margin-top: 1.75rem; }
.abn { margin-top: 0.75rem !important; }
.section--flush-top { padding-top: 0; }

@media (max-width: 599px) {
  .hero .actions .btn { flex: 1 1 100%; }
  .portrait { margin-left: 1.25rem; }

}

/* ---------- Policies ---------- */
.doc-group + .doc-group { margin-top: clamp(3rem, 6vw, 4.5rem); }
.doc-group h2 { font-size: var(--step-2); margin-bottom: 0.4em; }
.doc-group > p { color: var(--muted); }
.docs { list-style: none; margin: 1.5rem 0 0; padding: 0; border-top: 1.5px solid var(--navy); }
.doc {
  display: grid; gap: 1rem 2rem; align-items: center;
  padding: 1.4rem 0; border-bottom: 1px solid var(--line);
}
@media (min-width: 760px) { .doc { grid-template-columns: minmax(0, 1fr) auto; } }
.doc h3 { margin: 0 0 0.3rem; }
.doc p { margin: 0; }
.doc .doc-meta { margin-top: 0.35rem; font-size: 0.9375rem; color: var(--muted); font-variant-numeric: tabular-nums; }
.doc .btn { justify-self: start; }
.doc .btn svg, .download-all svg { width: 20px; height: 20px; }
.policies-aside { display: flex; flex-wrap: wrap; gap: 1rem 2rem; align-items: center; justify-content: space-between; margin-top: clamp(3rem, 6vw, 4.5rem); padding-top: 2rem; border-top: 1px solid var(--line); }
.policies-aside p { margin: 0; }

/* ---------- Hero: the hands mark fills the space beside the headline on wider screens ---------- */
.hero-mark { display: none; }
@media (min-width: 900px) {
  .hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(200px, 30%); gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
  .hero-grid h1 { max-width: none; font-size: clamp(2.75rem, 1rem + 4.2vw, 5.25rem); }
  .hero-mark { display: block; justify-self: end; width: 100%; max-width: 360px; }
  .hero-mark img { width: 100%; height: auto; }
}

/* ---------- Hero: the business name leads, echoing the logo lockup ---------- */
.hero h1.hero-brand { max-width: none; margin-bottom: 0.2em; line-height: 1; }
.hero-name {
  display: block; font-family: var(--font-display); color: var(--navy);
  font-size: clamp(3.25rem, 1.4rem + 7vw, 7.5rem); line-height: 0.95; letter-spacing: -0.01em;
}
.hero-kind {
  display: block; margin-top: 0.55em; font-family: var(--font-body); font-weight: 500; color: var(--navy);
  font-size: clamp(0.95rem, 0.8rem + 0.55vw, 1.3rem); letter-spacing: 0.2em; text-transform: uppercase; line-height: 1.3;
}
.hero-tagline {
  margin: clamp(1.1rem, 2.4vw, 1.75rem) 0 clamp(1.1rem, 2.4vw, 1.6rem);
  font-family: var(--font-display); font-size: var(--step-2); line-height: 1.2; color: #2f6f8c;
}
@media (min-width: 900px) {
  .hero-grid h1.hero-brand { font-size: inherit; }
  .hero-grid .hero-name { font-size: clamp(4.25rem, 1.2rem + 5.6vw, 7rem); }
}
