/* ==========================================================================
   Protax Consultant — "Navy Ledger"
   Mobile-first stylesheet. No framework. Fonts: Fraunces (display), Inter (text).
   ========================================================================== */

:root {
  /* Palette */
  --navy-950: #0A1E36;
  --navy: #0F2A4A;
  --navy-700: #1B3A63;
  --navy-600: #2A4D7A;
  --gold: #B8892B;          /* decorative rules only on light backgrounds */
  --gold-ink: #7E5B10;      /* gold text on paper (AA) */
  --gold-light: #E2C275;    /* gold text / buttons on navy (AA) */
  --paper: #F7F4EE;
  --paper-2: #EFE9DD;
  --card: #FFFDF8;
  --ink: #14202E;
  --ink-soft: #46505C;
  --rule: #DCD5C6;
  --rule-strong: #BDB4A2;
  --rule-blue: #CDD6E2;
  --on-navy: #FFFFFF;
  --on-navy-soft: #C9D2DE;
  --error: #A3341F;
  --focus: var(--navy);

  /* Type */
  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-hindi: "Noto Sans Devanagari", "Mangal", "Kohinoor Devanagari", system-ui, sans-serif;

  /* Layout */
  --container: 1200px;
  --gutter: 16px;
  --header-h: 64px;
  --bar-h: 64px;
  --jump-h: 52px;
  --radius: 6px;
  --radius-lg: 10px;
  --shadow-card: 0 1px 0 rgba(20, 32, 46, .04), 0 18px 40px -24px rgba(15, 42, 74, .45);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
html:has(.jump-nav) { scroll-padding-top: calc(var(--header-h) + var(--jump-h) + 16px); }
@media (max-width: 999px) { html { scroll-padding-bottom: calc(var(--bar-h) + 16px + env(safe-area-inset-bottom, 0px)); } }
body {
  margin: 0;
  background: var(--navy-950);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  font-feature-settings: "cv11", "ss01";
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  padding-bottom: calc(var(--bar-h) + 1px + env(safe-area-inset-bottom, 0px));
}
main { display: block; background: var(--paper); }
img, svg { display: block; max-width: 100%; }
svg { flex-shrink: 0; }
a { color: var(--navy-700); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--navy); text-decoration-thickness: 2px; }
p, ul, ol, dl, table, figure { margin: 0 0 1rem; }
p, li, dd { text-wrap: pretty; }
ul, ol { padding-left: 1.25rem; }
h1, h2, h3, h4 { text-wrap: balance; margin: 0 0 .75rem; font-family: var(--font-display); font-optical-sizing: auto; font-weight: 500; line-height: 1.15; letter-spacing: -.012em; color: inherit; }
h1 { font-size: clamp(2.125rem, 1.55rem + 2.9vw, 4rem); line-height: 1.06; letter-spacing: -.022em; }
h2 { font-size: clamp(1.75rem, 1.4rem + 1.5vw, 2.6rem); }
h3 { font-size: 1.25rem; font-weight: 600; letter-spacing: -.005em; }
h1 em, h2 em { font-style: italic; font-weight: 400; }
strong { font-weight: 600; }
address { font-style: normal; }
[lang="hi"] { font-family: var(--font-hindi); }
::selection { background: var(--gold-light); color: var(--navy-950); }

:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 2px; }
.site-header, .hero, .page-hero, .cta-band, .site-footer, .action-bar, .map { --focus: var(--gold-light); }
.clipboard { --focus: var(--navy); }

.nb { white-space: nowrap; }

.skip-link {
  position: absolute; left: 12px; top: -100px; z-index: 200;
  background: var(--gold-light); color: var(--navy-950); font-weight: 600;
  padding: 12px 18px; border-radius: var(--radius); text-decoration: none;
}
.skip-link:focus { top: 12px; }

.container { width: min(var(--container), 100% - 2 * var(--gutter)); margin-inline: auto; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  min-height: 48px; padding: .7rem 1.25rem;
  border: 1px solid transparent; border-radius: var(--radius);
  font: 600 1rem/1.2 var(--font-body); letter-spacing: .005em;
  text-decoration: none; cursor: pointer;
  transition: background-color .18s ease, border-color .18s ease, color .18s ease, transform .18s ease;
}
.btn svg { width: 20px; height: 20px; }
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn--gold { background: var(--gold-light); color: var(--navy-950); }
.btn--gold:hover { background: #EBD08F; color: var(--navy-950); }
.btn--line { border-color: rgba(255, 255, 255, .45); color: var(--on-navy); background: transparent; }
.btn--line:hover { border-color: var(--gold-light); color: var(--on-navy); background: rgba(255, 255, 255, .06); }
.btn--navy { background: var(--navy); color: var(--on-navy); }
.btn--navy:hover { background: var(--navy-700); color: var(--on-navy); }
.btn--ghost { border-color: var(--navy); color: var(--navy); background: transparent; }
.btn--ghost:hover { background: var(--navy); color: var(--on-navy); }
.btn--sm { min-height: 44px; padding: .55rem .95rem; font-size: .9375rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: .75rem; }

.text-link {
  display: inline-flex; align-items: center; gap: .4rem; min-height: 44px;
  font-weight: 600; color: var(--navy-700); text-decoration: none;
}
.text-link svg { width: 18px; height: 18px; transition: transform .18s ease; }
.text-link:hover { color: var(--navy); text-decoration: underline; }
.text-link:hover svg { transform: translateX(3px); }

/* ---------- Brand mark ---------- */
.mark { color: var(--on-navy); }
.mark .pie { fill: var(--gold-light); }
.mark .check { stroke-dasharray: 13; stroke-dashoffset: 0; }

@media (prefers-reduced-motion: no-preference) {
  .mark--animate .check { animation: draw-check .5s cubic-bezier(.6, .1, .3, 1) both; }
  .mark--animate .c1 { animation-delay: .25s; }
  .mark--animate .c2 { animation-delay: .5s; }
  .mark--animate .c3 { animation-delay: .75s; }
  .mark--animate .pie { animation: pie-in .6s ease-out .95s both; transform-origin: 45px 46px; }
}
@keyframes draw-check { from { stroke-dashoffset: 13; } to { stroke-dashoffset: 0; } }
@keyframes pie-in { from { opacity: 0; transform: scale(.82) rotate(-30deg); } to { opacity: 1; transform: none; } }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: var(--navy);
  color: var(--on-navy);
  border-bottom: 1px solid rgba(226, 194, 117, .16);
  transition: box-shadow .2s ease;
}
.site-header.is-scrolled { box-shadow: 0 10px 30px -18px rgba(0, 0, 0, .7); }
.header__inner { display: flex; align-items: center; gap: .75rem; min-height: var(--header-h); }

.brand { display: inline-flex; align-items: center; gap: .6rem; min-height: 44px; color: var(--on-navy); text-decoration: none; margin-right: auto; }
.brand:hover { color: var(--on-navy); }
.brand .mark { width: 38px; height: 38px; }
.brand__text { display: flex; flex-direction: column; line-height: 1; }
.brand__name { font-family: var(--font-display); font-weight: 600; font-size: 1.4rem; letter-spacing: -.01em; }
.brand__sub { margin-top: 4px; font-size: .625rem; font-weight: 600; letter-spacing: .34em; text-transform: uppercase; color: var(--gold-light); }

.header__actions { display: flex; align-items: center; gap: .5rem; }
.header__call-long { display: none; }
.menu-toggle {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: var(--radius);
  color: var(--on-navy); border: 1px solid rgba(255, 255, 255, .28); background: transparent;
}
.menu-toggle:hover { color: var(--gold-light); border-color: var(--gold-light); }
.menu-toggle svg { width: 22px; height: 22px; }
.menu-toggle .icon-close { display: none; }
.nav-open .menu-toggle .icon-open { display: none; }
.nav-open .menu-toggle .icon-close { display: block; }

.nav { display: none; }
.nav__list { list-style: none; margin: 0; padding: 0; }
.nav a { color: var(--on-navy-soft); text-decoration: none; font-weight: 500; }
.nav a:hover { color: var(--on-navy); }
.nav a[aria-current] { color: var(--on-navy); }

/* Mobile drawer (JS adds .js and toggles .nav-open on <html>) */
.nav-open .nav {
  display: block;
  position: fixed; left: 0; right: 0; top: var(--header-h); bottom: 0;
  background: var(--navy-950);
  overflow-y: auto; padding: 1rem var(--gutter) 2rem;
  border-top: 1px solid rgba(226, 194, 117, .2);
}
.nav-open .nav__list li { border-bottom: 1px solid rgba(255, 255, 255, .08); }
.nav-open .nav__list a { display: flex; align-items: center; min-height: 56px; font-family: var(--font-display); font-size: 1.375rem; color: var(--on-navy); }
.nav-open .nav__list a[aria-current] { color: var(--gold-light); }
.nav__nap { display: none; }
.nav-open .nav__nap { display: block; margin: 1.75rem 0 0; padding-top: 1.25rem; border-top: 1px solid rgba(226, 194, 117, .28); font-size: .9375rem; color: var(--on-navy-soft); max-width: 30rem; }
.nav-open .nav__nap strong { display: block; margin-bottom: .25rem; font-family: var(--font-display); font-size: 1.125rem; font-weight: 600; color: var(--on-navy); }
html.nav-open { overflow: hidden; }
.nav-open .action-bar { display: none; }
@media (max-width: 999px) {
  .header__call { display: none; }
  .nav-open .header__call { display: inline-flex; }
}

@media (min-width: 420px) {
  .header__actions { gap: .625rem; }
}

@media (min-width: 1000px) {
  .menu-toggle { display: none; }
  .nav, .nav-open .nav { display: block; position: static; padding: 0; background: none; border: 0; overflow: visible; }
  .nav__nap, .nav-open .nav__nap { display: none; }
  .nav__list { display: flex; gap: .25rem; }
  .nav__list li, .nav-open .nav__list li { border: 0; }
  .nav__list a, .nav-open .nav__list a {
    display: inline-flex; align-items: center; min-height: 44px; padding: 0 .7rem;
    font-family: var(--font-body); font-size: .9375rem; color: var(--on-navy-soft); position: relative;
  }
  .nav__list a[aria-current], .nav-open .nav__list a[aria-current] { color: var(--on-navy); }
  .nav__list a[aria-current]::after { content: ""; position: absolute; left: .7rem; right: .7rem; bottom: 6px; height: 2px; background: var(--gold-light); }
  html.nav-open { overflow: visible; }
  .header__inner { gap: 1.5rem; }
}
@media (min-width: 1180px) {
  .header__call-short { display: none; }
  .header__call-long { display: inline; }
}

/* ---------- Ledger backgrounds ---------- */
.ledger-bg {
  background-color: var(--navy);
  background-image:
    repeating-linear-gradient(to bottom, transparent 0, transparent 39px, rgba(226, 194, 117, .07) 39px, rgba(226, 194, 117, .07) 40px);
}
.margin-rule { position: relative; }
.margin-rule::before {
  content: ""; position: absolute; top: 0; bottom: 0; left: max(6px, calc((100% - var(--container)) / 2 - 28px));
  width: 5px; border-left: 1px solid rgba(226, 194, 117, .35); border-right: 1px solid rgba(226, 194, 117, .35);
  pointer-events: none;
}
@media (max-width: 1279px) { .margin-rule::before { display: none; } }

/* ---------- Hero (home) ---------- */
.hero { color: var(--on-navy); padding: 2.75rem 0 3.5rem; overflow: hidden; }
.hero__grid { display: grid; gap: 2.75rem; align-items: center; }
.eyebrow {
  display: flex; flex-wrap: wrap; align-items: center; gap: .35rem .6rem;
  margin: 0 0 1.1rem; font-size: .75rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-light);
}
.eyebrow__sep { width: 18px; height: 1px; background: currentColor; opacity: .7; }
@media (max-width: 599px) { .eyebrow__sep { display: none; } .eyebrow { flex-direction: column; align-items: flex-start; } }
.hero h1 { color: var(--on-navy); margin-bottom: 1.1rem; }
.hero h1 em, .page-hero h1 em { color: var(--gold-light); }
.hero__lede { font-size: 1.0625rem; color: var(--on-navy-soft); max-width: 36rem; margin-bottom: 1.5rem; }
.hero__cta { margin-bottom: 1.5rem; }
.hero__cta .btn { flex: 1 1 auto; }
.hero__address { display: flex; gap: .55rem; align-items: flex-start; font-size: .9375rem; color: var(--on-navy-soft); margin: 0; max-width: 34rem; }
.hero__address svg { width: 18px; height: 18px; margin-top: 3px; color: var(--gold-light); }

@media (min-width: 600px) {
  .hero__cta .btn { flex: 0 0 auto; }
}
@media (min-width: 960px) {
  .hero { padding: 5rem 0 5.5rem; }
  .hero__grid { grid-template-columns: minmax(0, 1.2fr) minmax(0, .95fr); gap: 4.5rem; }
  .hero__lede { font-size: 1.1875rem; }
  .hero h1 { font-size: clamp(3rem, 1.6rem + 2.6vw, 3.75rem); }
  /* between 960 and ~1180px, shrink just enough that "Income tax & GST help" stays on one line */
  .hero h1 { font-size: min(clamp(3rem, 1.6rem + 2.6vw, 3.75rem), calc(5.4vw - 6px)); }
  .hero h1 .keep { white-space: nowrap; }
}

/* ---------- Clipboard checklist (hero signature) ---------- */
.clipboard {
  position: relative; margin-top: 18px;
  background: var(--paper); color: var(--ink);
  border-radius: var(--radius-lg);
  padding: 2.4rem 1.1rem 1.1rem 1.1rem;
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .65), 0 0 0 1px rgba(255, 255, 255, .06);
}
.clipboard__clip {
  position: absolute; top: -18px; left: 50%; transform: translateX(-50%);
  width: 112px; height: 34px; border-radius: 8px 8px 6px 6px;
  background: linear-gradient(180deg, var(--navy-600), var(--navy-700));
  box-shadow: 0 6px 12px -6px rgba(0, 0, 0, .5), inset 0 1px 0 rgba(255, 255, 255, .15);
}
.clipboard__clip::before {
  content: ""; position: absolute; top: -10px; left: 50%; transform: translateX(-50%);
  width: 24px; height: 24px; border-radius: 50%;
  border: 5px solid var(--navy-600); background: var(--navy);
}
.clipboard__kicker { margin: 0 0 .25rem; font-size: .6875rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-ink); }
.clipboard__title { font-size: 1.375rem; font-weight: 600; margin-bottom: .75rem; color: var(--navy); }
.clipboard__list { list-style: none; margin: 0 0 .75rem; padding: 0; border-top: 2px solid var(--navy); position: relative; }
.clipboard__list::before {
  /* account-book margin: double red-gold rule */
  content: ""; position: absolute; top: 0; bottom: 0; left: 40px; width: 3px;
  border-left: 1px solid rgba(184, 137, 43, .55); border-right: 1px solid rgba(184, 137, 43, .55);
  pointer-events: none;
}
.clipboard__list li { border-bottom: 1px solid var(--rule-blue); }
.clipboard__list a {
  display: grid; grid-template-columns: 30px 1fr auto; align-items: center; gap: 0 .9rem;
  min-height: 54px; padding: .5rem .25rem .5rem 0;
  color: var(--ink); text-decoration: none; font-weight: 500; font-size: .96875rem; line-height: 1.35;
}
.clipboard__list a:hover { background: rgba(15, 42, 74, .04); color: var(--navy); }
.clipboard__list a:hover .clipboard__item { text-decoration: underline; text-underline-offset: 3px; }
.tick { width: 26px; height: 26px; color: var(--gold-ink); }
.tick rect { stroke: var(--rule-strong); }
.tick path { stroke-dasharray: 20; stroke-dashoffset: 0; }
@media (prefers-reduced-motion: no-preference) {
  .tick path { animation: draw-tick .45s cubic-bezier(.6, .1, .3, 1) both; animation-delay: calc(.6s + var(--i, 0) * .2s); }
}
@keyframes draw-tick { from { stroke-dashoffset: 20; } to { stroke-dashoffset: 0; } }
.clipboard__tag { font-size: .6875rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-soft); padding-left: .5rem; }
.clipboard__foot { margin: 0; font-size: .8125rem; color: var(--ink-soft); }

@media (min-width: 600px) {
  .clipboard { padding: 2.75rem 1.75rem 1.5rem; }
}

/* ---------- Page hero (inner pages) ---------- */
.page-hero { color: var(--on-navy); padding: 1.25rem 0 3rem; }
.page-hero h1 { font-size: clamp(2rem, 1.5rem + 2.4vw, 3.4rem); max-width: 22ch; color: var(--on-navy); }
.page-hero__lede { font-size: 1.0625rem; color: var(--on-navy-soft); max-width: 42rem; margin-bottom: 1.5rem; }
@media (min-width: 960px) {
  .page-hero { padding: 1.75rem 0 4.25rem; }
  .page-hero__lede { font-size: 1.1875rem; }
}

/* Breadcrumb */
.breadcrumb { margin-bottom: 1.75rem; }
.breadcrumb ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; align-items: center; font-size: .875rem; }
.breadcrumb li { display: inline-flex; align-items: center; color: var(--on-navy-soft); }
.breadcrumb li + li::before { content: "/"; margin: 0 .55rem; color: rgba(226, 194, 117, .7); }
.breadcrumb a { display: inline-flex; align-items: center; min-height: 44px; min-width: 44px; color: var(--on-navy-soft); text-decoration: none; }
.breadcrumb a:hover { color: var(--on-navy); text-decoration: underline; }
.breadcrumb [aria-current="page"] { color: var(--on-navy); }

/* ---------- Sections ---------- */
.section { padding: 3.75rem 0; }
.section--alt { background: var(--paper-2); }
@media (min-width: 960px) { .section { padding: 6rem 0; } }

.section-head { max-width: 46rem; margin-bottom: 2.25rem; }
.section-head p:not(.label) { color: var(--ink-soft); font-size: 1.0625rem; }
.section-head h2 { margin-bottom: .9rem; }
.section-head--split { max-width: none; }
@media (min-width: 960px) {
  .section-head { margin-bottom: 3rem; }
  .section-head--split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 3rem; align-items: end; }
  .section-head--split > p { margin-bottom: .9rem; }
}

.label {
  display: flex; align-items: center; gap: .75rem;
  margin: 0 0 1rem; font-size: .75rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-ink);
}
.label::after { content: ""; flex: 1; height: 1px; background: var(--rule-strong); max-width: 240px; }
.label__no { font-family: var(--font-display); font-style: italic; font-weight: 400; font-size: 1.125rem; letter-spacing: 0; text-transform: none; color: var(--navy); }

/* ---------- Service cards ---------- */
.card-grid { display: grid; gap: 1rem; list-style: none; margin: 0; padding: 0; }
@media (min-width: 640px) { .card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; } }
@media (min-width: 1000px) { .card-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

.svc-card {
  position: relative; display: flex; flex-direction: column; height: 100%;
  background: var(--card); border: 1px solid var(--rule); border-radius: var(--radius);
  padding: 1.5rem 1.4rem 1.25rem;
  transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}
.svc-card::before { content: ""; position: absolute; left: 1.4rem; right: 1.4rem; top: 0; height: 3px; background: var(--navy); transform-origin: left; transform: scaleX(.18); transition: transform .3s ease; }
.svc-card:hover { border-color: var(--rule-strong); box-shadow: var(--shadow-card); transform: translateY(-2px); }
.svc-card:hover::before { transform: scaleX(1); background: var(--gold); }
.svc-card__icon { width: 44px; height: 44px; color: var(--navy); margin-bottom: 1rem; }
.svc-card h3 { margin-bottom: .5rem; font-size: 1.3125rem; }
.svc-card h3 a { color: var(--navy); text-decoration: none; }
.svc-card h3 a::after { content: ""; position: absolute; inset: 0; border-radius: var(--radius); }
.svc-card h3 a:hover { text-decoration: underline; }
.svc-card h3 a:focus-visible { outline: none; }
.svc-card h3 a:focus-visible::after { outline: 3px solid var(--navy); outline-offset: 3px; }
.svc-card p { color: var(--ink-soft); font-size: .96875rem; margin-bottom: 1rem; }
.svc-card__points { list-style: none; padding: 0; margin: 0 0 1.25rem; display: flex; flex-wrap: wrap; gap: .4rem; }
.svc-card__points li { font-size: .78125rem; font-weight: 500; color: var(--ink); border: 1px solid var(--rule); border-radius: 999px; padding: .2rem .65rem; background: var(--paper); }
.svc-card__more { margin-top: auto; display: inline-flex; align-items: center; gap: .4rem; font-size: .875rem; font-weight: 600; color: var(--gold-ink); }
.svc-card__more svg { width: 16px; height: 16px; transition: transform .2s ease; }
.svc-card:hover .svc-card__more svg { transform: translateX(4px); }

/* ---------- Ledger rows (facts) ---------- */
.ledger { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--navy); }
.ledger__row { display: grid; gap: .35rem 2rem; padding: 1.5rem 0; border-bottom: 1px solid var(--rule); }
.ledger__entry { font-family: var(--font-display); font-weight: 500; font-size: 2rem; line-height: 1; color: var(--navy); letter-spacing: -.02em; display: flex; align-items: center; gap: .6rem; }
.ledger__entry svg { width: 34px; height: 34px; color: var(--gold-ink); }
.ledger__body h3 { margin-bottom: .35rem; font-size: 1.1875rem; }
.ledger__body p { margin: 0; color: var(--ink-soft); }
.ledger__body .btn-row { margin-top: .5rem; gap: 0 1.25rem; }
@media (min-width: 760px) {
  .ledger__row { grid-template-columns: 220px minmax(0, 1fr); padding: 1.75rem 0; align-items: baseline; }
  .ledger__entry { font-size: 2.5rem; }
}

/* ---------- Ledger table (tax calendar, structures) ---------- */
.table-wrap { background: var(--card); border: 1px solid var(--rule); border-radius: var(--radius); padding: .25rem 1.1rem; }
.ledger-table { width: 100%; border-collapse: collapse; margin: 0; font-size: .96875rem; }
.ledger-table caption { text-align: left; padding: 1rem 0 .75rem; font-family: var(--font-display); font-size: 1.125rem; font-weight: 600; color: var(--navy); }
.ledger-table th, .ledger-table td { text-align: left; vertical-align: top; padding: .9rem .9rem .9rem 0; }
.ledger-table thead th { font-size: .6875rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-ink); border-bottom: 3px double var(--gold); padding-top: .25rem; }
.ledger-table tbody tr { border-bottom: 1px solid var(--rule-blue); }
.ledger-table tbody tr:last-child { border-bottom: 0; }
.ledger-table tbody th { font-weight: 600; color: var(--navy); }
.ledger-table td { color: var(--ink-soft); }
.ledger-table td strong { color: var(--ink); }
.ledger-table td a, .def-list__link { display: inline-flex; align-items: center; min-height: 44px; }
@media (max-width: 719px) {
  .ledger-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .ledger-table, .ledger-table caption, .ledger-table tbody, .ledger-table tr, .ledger-table th, .ledger-table td { display: block; width: 100%; }
  .ledger-table tbody tr { padding: .9rem 0; }
  .ledger-table th, .ledger-table td { padding: .15rem 0; }
  .ledger-table tbody th { font-size: 1rem; margin-bottom: .2rem; }
  .ledger-table td[data-label]::before { content: attr(data-label) ": "; font-weight: 600; color: var(--gold-ink); font-size: .8125rem; letter-spacing: .02em; }
  .ledger-table td[data-label="Start with"]::before { display: block; }
}
@media (min-width: 720px) { .table-wrap { padding: .5rem 1.75rem 1rem; } }

/* ---------- Notes ---------- */
.note {
  display: flex; gap: .75rem; align-items: flex-start;
  margin: 1.25rem 0 0; padding: .9rem 1.1rem;
  background: var(--card); border: 1px solid var(--rule); border-left: 3px solid var(--gold);
  border-radius: 0 var(--radius) var(--radius) 0; font-size: .9375rem; color: var(--ink);
}
.note svg { width: 20px; height: 20px; color: var(--gold-ink); margin-top: 2px; }
.note p { margin: 0; }

/* ---------- Areas ---------- */
.areas-grid { display: grid; gap: 2rem; }
@media (min-width: 900px) { .areas-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 4rem; align-items: start; } }
.chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .6rem; }
.chips li {
  display: inline-flex; align-items: center; gap: .45rem;
  padding: .55rem 1rem; border: 1px solid var(--rule-strong); border-radius: 999px;
  background: var(--card); font-weight: 500; font-size: .96875rem; color: var(--navy);
}
.chips svg { width: 16px; height: 16px; color: var(--gold-ink); }
.chips li.is-home { background: var(--navy); color: var(--on-navy); border-color: var(--navy); }
.chips li.is-home svg { color: var(--gold-light); }

/* ---------- FAQ ---------- */
.faq { border-top: 2px solid var(--navy); max-width: 52rem; }
@media (min-width: 960px) {
  .faq-split { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.4fr); gap: 4rem; align-items: start; }
  .faq-split .section-head { margin-bottom: 0; position: sticky; top: calc(var(--header-h) + 32px); }
  .jump-nav ~ .section .faq-split .section-head { top: calc(var(--header-h) + var(--jump-h) + 32px); }
  .faq-split .faq { max-width: none; }
}
.faq details { border-bottom: 1px solid var(--rule); }
.faq summary {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  min-height: 60px; padding: 1rem 0; cursor: pointer; list-style: none;
  font-family: var(--font-display); font-weight: 500; font-size: 1.15rem; line-height: 1.3; color: var(--navy);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::marker { content: ""; }
.faq summary:hover { color: var(--navy-700); }
.faq__icon { position: relative; width: 28px; height: 28px; border: 1px solid var(--rule-strong); border-radius: 50%; flex: 0 0 28px; }
.faq__icon::before, .faq__icon::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 1.5px; background: var(--navy); transform: translate(-50%, -50%); transition: transform .2s ease; }
.faq__icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq details[open] .faq__icon::after { transform: translate(-50%, -50%) rotate(0deg); }
.faq details[open] .faq__icon { border-color: var(--gold); }
.faq__a { padding: 0 2.75rem 1.25rem 0; color: var(--ink-soft); }
.faq__a p { margin: 0; }

/* ---------- Location / map ---------- */
.location-grid { display: grid; gap: 1.5rem; }
@media (min-width: 960px) { .location-grid { grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 2.5rem; align-items: stretch; } }

.map {
  position: relative; overflow: hidden;
  border-radius: var(--radius-lg); background: var(--navy-700);
  width: 100%; min-width: 0; aspect-ratio: 4 / 3.2; min-height: 260px;
  border: 1px solid var(--rule);
}
@media (min-width: 960px) { .map { aspect-ratio: auto; min-height: 420px; } }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map__art { position: absolute; inset: 0; width: 100%; height: 100%; }
.map__facade {
  position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: flex-end;
  padding: 1.25rem; text-align: center; color: var(--on-navy); text-decoration: none;
  background: linear-gradient(180deg, rgba(10, 30, 54, 0) 35%, rgba(10, 30, 54, .82) 100%);
}
.map__facade:hover { color: var(--on-navy); }
.map__btn {
  display: inline-flex; align-items: center; gap: .5rem; min-height: 48px; padding: .7rem 1.2rem;
  background: var(--gold-light); color: var(--navy-950); border-radius: var(--radius); font-weight: 600;
  transition: transform .18s ease, background-color .18s ease;
}
.map__btn svg { width: 20px; height: 20px; }
.map__facade:hover .map__btn { background: #EBD08F; transform: translateY(-1px); }
.map__hint { margin: .65rem 0 0; font-size: .8125rem; color: var(--on-navy-soft); max-width: 28rem; }

.info-card {
  background: var(--card); border: 1px solid var(--rule); border-radius: var(--radius-lg);
  padding: 1.5rem 1.4rem;
}
.info-card h3 { color: var(--navy); }
.info-card__row { display: flex; gap: .75rem; padding: .85rem 0; border-top: 1px solid var(--rule-blue); }
.info-card__row:first-of-type { border-top: 0; padding-top: 0; }
.info-card__row svg { width: 20px; height: 20px; color: var(--gold-ink); margin-top: 3px; }
.info-card__row p, .info-card__row > div { margin: 0; }
.info-card__k { display: block; font-size: .6875rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-ink); }
.info-card__phone { font-family: var(--font-display); font-size: 1.375rem; font-weight: 600; color: var(--navy); text-decoration: none; display: inline-flex; min-height: 44px; align-items: center; }
.info-card__phone:hover { text-decoration: underline; color: var(--navy); }
.info-card .btn-row { margin-top: 1rem; }
.info-card .btn-row .btn { flex: 1 1 auto; }
.info-card .text-links { display: flex; flex-wrap: wrap; gap: 0 1.25rem; margin-top: .5rem; }

/* ---------- CTA band ---------- */
.cta-band { color: var(--on-navy); padding: 3.5rem 0; }
.cta-band__inner { display: grid; gap: 1.5rem; }
.cta-band h2 { color: var(--on-navy); margin-bottom: .5rem; max-width: 24ch; }
.cta-band p { color: var(--on-navy-soft); margin: 0; max-width: 40rem; }
@media (max-width: 599px) { .cta-band .btn, .info-card .btn-row .btn, .page-hero .btn-row .btn { flex: 1 1 100%; } }
@media (min-width: 960px) {
  .cta-band { padding: 4.5rem 0; }
  .cta-band__inner { grid-template-columns: minmax(0, 1.3fr) auto; align-items: end; gap: 3rem; }
}

/* ---------- Services page: jump-nav + one section per service ---------- */
.jump-nav {
  position: sticky; top: var(--header-h); z-index: 50;
  background: var(--card); border-bottom: 1px solid var(--rule);
  box-shadow: 0 10px 24px -20px rgba(15, 42, 74, .6);
}
.jump-nav__list {
  position: relative; list-style: none; margin: 0; padding: 0;
  display: flex; gap: .25rem; overflow-x: auto; overscroll-behavior-x: contain;
  scrollbar-width: none; -webkit-overflow-scrolling: touch;
}
.jump-nav__list::-webkit-scrollbar { display: none; }
.jump-nav__list li { flex: 0 0 auto; }
.jump-nav a {
  display: inline-flex; align-items: center; min-height: var(--jump-h); padding: 0 .8rem;
  white-space: nowrap; font-size: .9375rem; font-weight: 500; color: var(--ink-soft); text-decoration: none;
  border-bottom: 2px solid transparent; position: relative;
}
.jump-nav li:first-child a { padding-left: 0; }
.jump-nav a:hover { color: var(--navy); }
.jump-nav a[aria-current="true"] { color: var(--navy); font-weight: 600; border-bottom-color: var(--gold); }
@media (min-width: 1000px) { .jump-nav__list { gap: .5rem; } .jump-nav a { padding: 0 1rem; } }

.svc-section__icon { width: 44px; height: 44px; color: var(--navy); margin-bottom: 1rem; }
.svc-grid { display: grid; gap: 2rem; }
@media (min-width: 1000px) {
  .svc-section { padding: 5rem 0; }
  .svc-grid { grid-template-columns: minmax(0, 1fr) 360px; gap: 2rem 4rem; align-items: start; }
  .svc-grid > .prose { grid-column: 1; grid-row: 1; }
  .svc-cta { grid-column: 1; grid-row: 2; }
  .docs-card { grid-column: 2; grid-row: 1 / span 2; position: sticky; top: calc(var(--header-h) + var(--jump-h) + 24px); }
}
.svc-cta .btn { flex: 1 1 auto; }
@media (min-width: 600px) { .svc-cta .btn { flex: 0 0 auto; } }
.docs-card h3 { font-size: 1.3125rem; margin-bottom: 1rem; }
.docs-card__kicker { margin: 0 0 .25rem; font-size: .6875rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-ink); }
.docs-card__sub { margin: 1.25rem 0 .5rem; font-size: .8125rem; font-weight: 600; letter-spacing: .04em; color: var(--navy); }
.docs-card h3 + .docs-card__sub { margin-top: 0; }
.docs-card .doc-list { margin-bottom: 0; font-size: .9375rem; }
.docs-card .doc-list li { padding: .65rem 0; }
.docs-card .doc-list li:last-child { border-bottom: 0; }
.start-notes { margin-top: 1.75rem; }
.start-notes .info-card { height: 100%; }
.start-notes h3 { font-size: 1.125rem; color: var(--navy); }
@media (min-width: 640px) and (max-width: 959px) { .start-notes { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 960px) { .start-notes { grid-template-columns: 1fr; } }
@media (min-width: 1180px) { .start-notes { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.prose { max-width: 44rem; font-size: 1.0625rem; }
.prose > section + section { margin-top: 3.25rem; }
.prose h2 { font-size: clamp(1.6rem, 1.35rem + 1vw, 2.15rem); margin-bottom: 1rem; }
.prose h3 { margin-top: 2rem; color: var(--navy); }
.prose > h3:first-child { margin-top: 0; }
.prose .table-wrap { margin-bottom: 1rem; }
.prose .note { margin-bottom: 0; }
.prose p, .prose li { color: #2B3542; }
.prose li { margin-bottom: .45rem; }
.prose ul { padding-left: 1.1rem; }
.prose ul li::marker { color: var(--gold); }

.doc-list { list-style: none; padding: 0 !important; margin: 0 0 1rem; border-top: 2px solid var(--navy); }
.doc-list li {
  display: grid; grid-template-columns: 26px 1fr; gap: .85rem; align-items: start;
  padding: .8rem 0; margin: 0 !important; border-bottom: 1px solid var(--rule-blue);
}
.doc-list svg { width: 22px; height: 22px; margin-top: 2px; color: var(--gold-ink); }
.doc-list svg rect { stroke: var(--rule-strong); }
.doc-list strong { color: var(--ink); }
.doc-list span { color: #2B3542; }

.steps { list-style: none; padding: 0 !important; margin: 0 0 1rem; counter-reset: step; }
.steps li { counter-increment: step; position: relative; padding: 0 0 1.25rem 3.25rem; margin: 0 !important; }
.steps li::before {
  content: counter(step, decimal-leading-zero);
  position: absolute; left: 0; top: -.15rem;
  font-family: var(--font-display); font-style: italic; font-size: 1.5rem; color: var(--gold-ink); line-height: 1.2;
}
.steps li::after { content: ""; position: absolute; left: .85rem; top: 2.1rem; bottom: .35rem; width: 1px; background: var(--rule-strong); }
.steps li:last-child::after { display: none; }
.steps strong { display: block; color: var(--ink); font-size: 1.0625rem; margin-bottom: .1rem; }

.def-list { margin: 0 0 1rem; border-top: 2px solid var(--navy); }
.def-list > div { padding: .9rem 0; border-bottom: 1px solid var(--rule-blue); }
.def-list dt { font-weight: 600; color: var(--navy); }
.def-list dd { margin: .15rem 0 0; color: #2B3542; }
@media (min-width: 640px) {
  .def-list > div { display: grid; grid-template-columns: 160px minmax(0, 1fr); gap: 1.25rem; }
  .def-list dd { margin: 0; }
}

/* Related services */
.related { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; }
@media (min-width: 720px) { .related { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 640px) and (max-width: 719px) { .related--6 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.related a {
  display: flex; flex-direction: column; gap: .35rem; height: 100%; min-height: 44px;
  padding: 1.25rem; background: var(--card); border: 1px solid var(--rule); border-radius: var(--radius);
  color: var(--ink); text-decoration: none; transition: border-color .2s ease, transform .2s ease;
}
.related a:hover { border-color: var(--navy); transform: translateY(-2px); }
.related strong { font-family: var(--font-display); font-size: 1.15rem; font-weight: 600; color: var(--navy); }
.related span { font-size: .9375rem; color: var(--ink-soft); }

/* ---------- Situations table / generic two col ---------- */
.two-col { display: grid; gap: 2rem; }
@media (min-width: 960px) { .two-col { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 4rem; } }

/* ---------- Opening-times block (contact page only) ---------- */
.timetable-card { margin-top: 1.25rem; border-top: 3px solid var(--navy); }
.timetable-card h3 { display: flex; align-items: center; gap: .6rem; font-size: 1.3125rem; margin-bottom: .75rem; }
.timetable-card h3 svg { width: 22px; height: 22px; color: var(--gold-ink); }
.timetable { margin: 0 0 .75rem; }
.timetable__row {
  display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: .15rem 1rem;
  padding: .75rem 0; border-top: 1px solid var(--rule-blue); border-bottom: 1px solid var(--rule-blue);
}
.timetable dt { font-weight: 600; color: var(--ink); white-space: nowrap; }
.timetable dd { margin: 0; font-family: var(--font-display); font-size: 1.1875rem; font-weight: 600; color: var(--navy); white-space: nowrap; font-variant-numeric: tabular-nums; }

/* ---------- Form ---------- */
.form-card { background: var(--card); border: 1px solid var(--rule); border-radius: var(--radius-lg); padding: 1.5rem 1.4rem; }
@media (min-width: 640px) { .form-card { padding: 2rem; } }
.form-card h2 { font-size: 1.6rem; color: var(--navy); }
.field { margin-bottom: 1.1rem; }
.field label { display: block; font-weight: 600; font-size: .9375rem; margin-bottom: .35rem; color: var(--ink); }
.field .opt { font-weight: 400; color: var(--ink-soft); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 48px; padding: .7rem .85rem;
  font: 400 1rem/1.4 var(--font-body); color: var(--ink);
  background: #FFFFFF; border: 1px solid #7F7766; border-radius: var(--radius);
  transition: border-color .15s ease, box-shadow .15s ease;
}
.field textarea { min-height: 120px; resize: vertical; }
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%230F2A4A' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right .9rem center; padding-right: 2.5rem; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 3px rgba(15, 42, 74, .25); }
.field [aria-invalid="true"] { border-color: var(--error); box-shadow: 0 0 0 3px rgba(163, 52, 31, .15); }
.field [aria-invalid="true"]:focus { border-color: var(--error); box-shadow: 0 0 0 3px rgba(163, 52, 31, .25); }
.field__hint { display: block; font-size: .8125rem; color: var(--ink-soft); margin-top: .3rem; }
.field__error { display: block; font-size: .875rem; font-weight: 500; color: var(--error); margin-top: .35rem; }
.field__error:empty { display: none; }
.form-note { font-size: .8125rem; color: var(--ink-soft); margin: .9rem 0 0; }
.form-status { margin: 1rem 0 0; font-size: .9375rem; }
.form-status:empty { display: none; }
.form-status { padding: .75rem 1rem; border-radius: var(--radius); background: #EAF4EE; color: #1D5A3E; border: 1px solid #BFDCCB; }
.form-status a { color: #1D5A3E; font-weight: 600; }

.contact-grid { display: grid; gap: 1.5rem; }
@media (min-width: 960px) {
  .contact-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 2.5rem; align-items: start; }
  .contact-grid > .form-card { position: sticky; top: calc(var(--header-h) + 24px); }
}

.amenities { list-style: none; margin: 0; padding: 0; display: grid; gap: .75rem; }
@media (min-width: 640px) { .amenities { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.amenities li { display: flex; gap: .75rem; align-items: center; padding: 1rem 1.1rem; background: var(--card); border: 1px solid var(--rule); border-radius: var(--radius); font-weight: 500; }
.amenities svg { width: 26px; height: 26px; color: var(--navy); }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-950); color: var(--on-navy-soft); padding: 3.5rem 0 1.5rem; font-size: .9375rem; }
.site-footer a { color: var(--on-navy); text-decoration: none; }
.site-footer a:hover { color: var(--gold-light); text-decoration: underline; }
.footer__grid { display: grid; gap: 2.25rem; padding-bottom: 2.25rem; border-bottom: 1px solid rgba(226, 194, 117, .18); }
@media (min-width: 720px) { .footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 720px) and (max-width: 1039px) { .footer__brand { grid-column: 1 / -1; } }
@media (min-width: 1040px) { .footer__grid { grid-template-columns: 1.3fr 1.2fr .7fr; gap: 3rem; } }
.footer__brand .brand { margin: 0; }
.footer__h { margin: 0 0 .75rem; font-family: var(--font-body); font-size: .75rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-light); }
.footer__list { list-style: none; margin: 0; padding: 0; }
.footer__list a { display: inline-flex; align-items: center; min-height: 44px; min-width: 44px; }
@media (max-width: 719px) {
  .footer__grid { gap: 1.5rem; }
  .footer__list { display: flex; flex-wrap: wrap; gap: 0 1.25rem; }
}
.footer__nap { margin-bottom: 1rem; color: var(--on-navy-soft); }
.footer__nap strong { color: var(--on-navy); display: block; margin-bottom: .25rem; }
.footer__phone { display: inline-flex; align-items: center; gap: .5rem; min-height: 44px; font-weight: 600; font-size: 1.0625rem; }
.footer__phone svg { width: 18px; height: 18px; color: var(--gold-light); }
.footer__legal { padding-top: 1.5rem; display: grid; gap: .75rem; font-size: .84375rem; }
.footer__legal p { margin: 0; max-width: 62rem; }
.footer__hi { color: var(--on-navy); }
.footer__copy { color: #A9B6C6; }

/* ---------- Mobile action bar ---------- */
.action-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 70;
  display: grid; grid-template-columns: repeat(3, 1fr);
  background: var(--navy-950); border-top: 1px solid rgba(226, 194, 117, .3);
  padding-bottom: env(safe-area-inset-bottom, 0px);
  box-shadow: 0 -10px 30px -12px rgba(0, 0, 0, .45);
}
.action-bar a {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px;
  min-height: var(--bar-h); color: var(--on-navy); text-decoration: none; font-size: .8125rem; font-weight: 600; letter-spacing: .02em;
}
.action-bar a + a { border-left: 1px solid rgba(255, 255, 255, .08); }
.action-bar a:first-child { background: var(--gold-light); color: var(--navy-950); }
.action-bar svg { width: 22px; height: 22px; }
.action-bar a:hover { background: var(--navy-700); }
.action-bar a:first-child:hover { background: #EBD08F; }

@media (min-width: 1000px) {
  body { padding-bottom: 0; }
  .action-bar { display: none; }
}

/* ---------- 404 ---------- */
.notfound { padding: 4rem 0 5rem; }
.notfound__code { font-family: var(--font-display); font-style: italic; font-size: clamp(4rem, 3rem + 6vw, 8rem); line-height: 1; color: var(--gold-light); margin: 0 0 1rem; }

/* ---------- Utilities ---------- */
.mb-0 { margin-bottom: 0 !important; }
.muted { color: var(--ink-soft); }
.small { font-size: .875rem; }

/* ---------- Motion preferences ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
}

/* ---------- Print ---------- */
@media print {
  .site-header, .action-bar, .map, .cta-band, .menu-toggle { display: none !important; }
  body { padding: 0; background: #fff; }
  .hero, .page-hero { background: #fff !important; color: #000; }
  .hero *, .page-hero *, .site-footer, .site-footer * { color: #000 !important; background: none !important; box-shadow: none !important; }
  .btn-row, .clipboard, .jump-nav { display: none !important; }
}
