/* ==========================================================================
   Gozo Bookkeeping — site stylesheet
   Direction: "the well-kept ledger". Deep navy and ivory from the GB monogram,
   a gold hairline taken from its ring, ruled lines and numbered entries.
   Fonts: Lora (headings) + Gentium Book Plus (body), self-hosted (see Fonts below).
   ========================================================================== */

/* ---------- Fonts ---------- */

/* Self-hosted web fonts (latin + latin-ext subsets, originally from Google Fonts; SIL Open Font License). */
@font-face {
  font-family: 'Gentium Book Plus';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url(../fonts/gentium-book-plus-italic-400-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Gentium Book Plus';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url(../fonts/gentium-book-plus-italic-400-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Gentium Book Plus';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../fonts/gentium-book-plus-normal-400-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Gentium Book Plus';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../fonts/gentium-book-plus-normal-400-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Gentium Book Plus';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(../fonts/gentium-book-plus-normal-700-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Gentium Book Plus';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(../fonts/gentium-book-plus-normal-700-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Lora';
  font-style: italic;
  font-weight: 400 700;
  font-display: swap;
  src: url(../fonts/lora-italic-400-700-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Lora';
  font-style: italic;
  font-weight: 400 700;
  font-display: swap;
  src: url(../fonts/lora-italic-400-700-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Lora';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url(../fonts/lora-normal-400-700-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Lora';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url(../fonts/lora-normal-400-700-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ---------- Tokens ---------- */

:root {
  --navy: #060F3F;
  --navy-deep: #050C32;
  --slate: #383F65;
  --ink: #212121;
  --rule: #E7E7E7;
  --paper: #FBF8F2;
  --paper-2: #F3EDE0;
  --cream: #F3E9D6;
  --gold: #C9A84C;
  --gold-ink: #7A5F22;          /* gold for text on light surfaces (5.6:1) */
  --navy-tint: rgba(6, 15, 63, 0.06);

  --text: rgba(0, 0, 0, 0.80);
  --text-muted: rgba(0, 0, 0, 0.66);
  --text-on-dark: rgba(255, 255, 255, 0.87);
  --text-on-dark-muted: #B9BDD3;

  --font-head: "Lora", Georgia, "Times New Roman", serif;
  --font-body: "Gentium Book Plus", Georgia, "Times New Roman", serif;

  --wrap: 74rem;
  --gutter: clamp(1rem, 4vw, 2.5rem);
  --section: clamp(3.5rem, 8vw, 6.5rem);
  --radius: 4px;
  --header-h: 4.5rem;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- Base ---------- */

*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  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;
  font-family: var(--font-body);
  font-size: 1.125rem;
  line-height: 1.65;
  color: var(--text);
  background: #fff;
  /* No sideways scrolling on phones, whatever a child does */
  overflow-x: clip;
}

img, svg, picture { display: block; max-width: 100%; }
img { height: auto; }

h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 600;
  line-height: 1.18;
  color: var(--ink);
  margin: 0 0 0.6em;
  text-wrap: balance;
}

h1 { font-size: clamp(2.4rem, 1.6rem + 3.6vw, 4.4rem); letter-spacing: -0.01em; }
h2 { font-size: clamp(1.85rem, 1.4rem + 1.8vw, 2.75rem); letter-spacing: -0.005em; }
h3 { font-size: clamp(1.3rem, 1.15rem + 0.6vw, 1.55rem); }

p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

ul, ol { margin: 0; padding: 0; }

a {
  color: var(--navy);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.22em;
}
a:hover { text-decoration-color: var(--gold); }

strong { font-weight: 700; color: var(--ink); }

em.accent, .accent-italic { font-style: italic; font-weight: 500; }

::selection { background: var(--navy); color: #fff; }

:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
  border-radius: 2px;
}

/* Long strings (emails, numbers) must wrap instead of pushing the page wider */
.wrap-anywhere { overflow-wrap: anywhere; }

.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;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -10rem;
  z-index: 2000;
  padding: 0.7rem 1.2rem;
  background: var(--gold);
  color: var(--navy);
  font-family: var(--font-head);
  font-weight: 600;
  text-decoration: none;
  border-radius: 0 0 var(--radius) var(--radius);
}
.skip-link:focus { top: 0; }

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

.wrap {
  width: 100%;
  max-width: calc(var(--wrap) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { padding-block: var(--section); }
.section--paper { background: var(--paper); }
.section--tight { padding-block: clamp(2.5rem, 5vw, 4rem); }

.measure { max-width: 40rem; }

.eyebrow {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin: 0 0 1rem;
  font-family: var(--font-head);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-ink);
}
.eyebrow::before {
  content: "";
  width: 2rem;
  height: 1px;
  background: currentColor;
  flex: none;
}
.on-dark .eyebrow, .eyebrow--light { color: var(--gold); }

.lead {
  font-size: clamp(1.2rem, 1.1rem + 0.45vw, 1.4rem);
  line-height: 1.55;
}

.section-head {
  display: grid;
  gap: 1rem 3rem;
  margin-bottom: clamp(2rem, 5vw, 3.5rem);
}
@media (min-width: 900px) {
  .section-head--split { grid-template-columns: 1fr 1fr; align-items: end; }
}
.section-head h2 { margin: 0; }

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  min-height: 3.25rem;
  padding: 0.75rem 1.5rem;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-family: var(--font-head);
  font-size: 1.05rem;
  font-weight: 600;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s var(--ease);
}
.btn svg { width: 1.2em; height: 1.2em; flex: none; }
.btn:active { transform: translateY(1px); }

.btn--gold { background: var(--gold); color: var(--navy); border-color: var(--gold); }
.btn--gold:hover { background: #D8BC6A; border-color: #D8BC6A; color: var(--navy-deep); }

.btn--ghost-light { color: #fff; border-color: rgba(255, 255, 255, 0.55); background: transparent; }
.btn--ghost-light:hover { border-color: var(--gold); color: #fff; background: rgba(255, 255, 255, 0.06); }

.btn--navy { background: var(--navy); color: #fff; border-color: var(--navy); }
.btn--navy:hover { background: var(--slate); border-color: var(--slate); color: #fff; }

.btn--ghost { color: var(--navy); border-color: rgba(6, 15, 63, 0.35); background: transparent; }
.btn--ghost:hover { border-color: var(--navy); background: var(--navy-tint); color: var(--navy); }

.btn--sm { min-height: 2.75rem; padding: 0.5rem 1rem; font-size: 0.95rem; }

/* Action groups: on phones every button is centred and the same width */
.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}
@media (max-width: 639.98px) {
  .actions { flex-direction: column; align-items: center; }
  .actions .btn { width: 100%; max-width: 22rem; }
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-family: var(--font-head);
  font-weight: 600;
  color: var(--navy);
  text-decoration: none;
  min-height: 2.75rem;
}
.text-link svg { width: 1.1em; height: 1.1em; transition: transform 0.25s var(--ease); }
.text-link:hover { text-decoration: underline; text-decoration-color: var(--gold); }
.text-link:hover svg { transform: translateX(3px); }

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--navy);
  color: var(--text-on-dark);
  border-bottom: 1px solid rgba(201, 168, 76, 0.28);
}

.header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  color: #fff;
  text-decoration: none;
  min-width: 0;
}
.brand img { width: 44px; height: 44px; border-radius: 50%; flex: none; }
.brand-name {
  font-family: var(--font-head);
  font-size: 1.3rem;
  font-weight: 600;
  line-height: 1.1;
  white-space: nowrap;
}
.brand-tag {
  display: block;
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 400;
  letter-spacing: 0.04em;
  color: var(--text-on-dark-muted);
}
.brand:hover .brand-name { color: var(--cream); }

.nav-toggle {
  display: none;
  align-items: center;
  gap: 0.6rem;
  min-height: 2.75rem;
  padding: 0.4rem 0.8rem;
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: var(--radius);
  font: 600 0.95rem/1 var(--font-head);
  cursor: pointer;
}
.nav-toggle-bars { position: relative; width: 18px; height: 12px; }
.nav-toggle-bars::before,
.nav-toggle-bars::after,
.nav-toggle-bars span {
  content: "";
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  background: currentColor;
  transition: transform 0.25s var(--ease), opacity 0.2s ease;
}
.nav-toggle-bars::before { top: 0; }
.nav-toggle-bars span { top: 5px; }
.nav-toggle-bars::after { top: 10px; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::before { transform: translateY(5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars span { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::after { transform: translateY(-5px) rotate(-45deg); }

.site-nav ul {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 0.25rem;
}
.site-nav a {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  padding: 0.4rem 0.9rem;
  color: var(--text-on-dark);
  font-family: var(--font-head);
  font-size: 1.02rem;
  text-decoration: none;
}
.site-nav a:not(.btn)::after {
  content: "";
  position: absolute;
  left: 0.9rem;
  right: 0.9rem;
  bottom: 0.45rem;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease);
}
.site-nav a:not(.btn):hover { color: #fff; }
.site-nav a:not(.btn):hover::after,
.site-nav a[aria-current="page"]::after { transform: scaleX(1); }
.site-nav a[aria-current="page"] { color: #fff; }
.site-nav .nav-cta { margin-left: 0.75rem; }
.site-nav .nav-cta .btn { color: var(--navy); }

@media (max-width: 859.98px) {
  .brand-tag { display: none; }
  .js .nav-toggle { display: inline-flex; }

  .site-nav {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-block: 0.5rem 1rem;
  }
  .js .site-nav:not(.is-open) { display: none; }
  .site-nav ul { flex-direction: column; align-items: stretch; gap: 0; }
  .site-nav a:not(.btn) {
    display: flex;
    min-height: 3rem;
    padding-inline: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 1.15rem;
  }
  .site-nav a:not(.btn)::after { left: 0; right: auto; width: 2rem; bottom: 0.55rem; }
  .site-nav .nav-cta { margin: 1rem 0 0; }
  .site-nav .nav-cta .btn { width: 100%; }
}

@media (max-width: 859.98px) {
  .header-inner { display: block; }
}
@media (min-width: 860px) {
  .header-inner { display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
  .header-bar { flex: 0 1 auto; }
}

@media (max-width: 379.98px) {
  .brand-name { font-size: 1.12rem; }
  .brand img { width: 38px; height: 38px; }
  .nav-toggle-label { display: none; }
}

/* ---------- Home hero ---------- */

.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: var(--navy);
  color: var(--text-on-dark);
  padding-block: clamp(3.5rem, 9vw, 7rem) clamp(4rem, 9vw, 7.5rem);
}
/* Faint ledger ruling behind the hero */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(90% 120% at 100% 0%, rgba(56, 63, 101, 0.75) 0%, rgba(6, 15, 63, 0) 60%),
    repeating-linear-gradient(to bottom, transparent 0, transparent 43px, rgba(255, 255, 255, 0.045) 43px, rgba(255, 255, 255, 0.045) 44px);
}

.hero-grid {
  display: grid;
  gap: clamp(3rem, 6vw, 5rem);
  align-items: center;
}
@media (min-width: 960px) {
  .hero-grid { grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); }
}

.hero h1 { color: #fff; margin-bottom: 0.35em; }
.hero h1 .accent-italic { display: block; color: var(--cream); font-weight: 400; }

.hero .lead { color: var(--text-on-dark); max-width: 34rem; margin-bottom: 2.25rem; }

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1.5rem;
  margin: 2rem 0 0;
  padding: 1.25rem 0 0;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  list-style: none;
  font-size: 1rem;
  color: var(--text-on-dark-muted);
}
.hero-meta li { display: inline-flex; align-items: center; gap: 0.5rem; }
.hero-meta svg { width: 1rem; height: 1rem; color: var(--gold); flex: none; }

@media (max-width: 639.98px) {
  .hero-copy { text-align: center; }
  .hero-copy .eyebrow { justify-content: center; }
  .hero-copy .eyebrow::after { content: ""; width: 2rem; height: 1px; background: currentColor; }
  .hero .lead { margin-inline: auto; }
  .hero-meta { justify-content: center; }
}

/* The ledger sheet */
.ledger {
  position: relative;
  background: var(--paper);
  color: var(--text);
  border-radius: var(--radius);
  padding: clamp(1.5rem, 3vw, 2.25rem);
  padding-left: clamp(2.5rem, 5vw, 3.5rem);
  box-shadow: 0 1.5rem 3rem -1.5rem rgba(0, 0, 0, 0.55);
  max-width: 30rem;
  width: 100%;
  justify-self: center;
}
/* double margin rule, as on ledger paper */
.ledger::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: clamp(1.4rem, 3vw, 2.1rem);
  width: 4px;
  border-inline: 1px solid rgba(201, 168, 76, 0.7);
}
.ledger-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 0.9rem;
  border-bottom: 2px solid var(--navy);
}
.ledger-title {
  margin: 0;
  font-family: var(--font-head);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--ink);
}
.ledger-sub {
  font-family: var(--font-head);
  font-style: italic;
  font-size: 0.95rem;
  color: var(--gold-ink);
}
.ledger-list { list-style: none; }
.ledger-list li {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 1rem;
  min-height: 3.05rem;
  padding-block: 0.35rem;
  border-bottom: 1px solid #DDD6C6;
  font-size: 1.05rem;
}
.ledger-list li:last-child { border-bottom: 2px solid var(--navy); }
.ledger-tick {
  display: grid;
  place-items: center;
  width: 1.6rem;
  height: 1.6rem;
  border-radius: 50%;
  background: var(--navy);
  color: var(--gold);
}
.ledger-tick svg { width: 0.9rem; height: 0.9rem; }
.ledger-foot {
  margin: 1rem 0 0;
  font-size: 0.95rem;
  color: var(--text-muted);
}

@media (prefers-reduced-motion: no-preference) {
  .ledger-list li { animation: entry-in 0.6s var(--ease) both; }
  .ledger-list li:nth-child(1) { animation-delay: 0.15s; }
  .ledger-list li:nth-child(2) { animation-delay: 0.25s; }
  .ledger-list li:nth-child(3) { animation-delay: 0.35s; }
  .ledger-list li:nth-child(4) { animation-delay: 0.45s; }
  .ledger-list li:nth-child(5) { animation-delay: 0.55s; }
  .ledger-tick { animation: tick-in 0.45s var(--ease) both; animation-delay: inherit; }
}
@keyframes entry-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
@keyframes tick-in { from { transform: scale(0.4); } to { transform: none; } }

/* ---------- Facts strip ---------- */

.facts {
  background: var(--paper);
  border-bottom: 1px solid var(--rule);
}
.facts-list {
  list-style: none;
  display: grid;
  gap: 0;
}
@media (min-width: 760px) {
  .facts-list { grid-template-columns: repeat(3, 1fr); }
}
.facts-list li {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.4rem 0;
  font-size: 1.05rem;
  line-height: 1.4;
}
.facts-list li + li { border-top: 1px solid var(--rule); }
@media (min-width: 760px) {
  .facts-list li { padding: 1.9rem 1.75rem; }
  .facts-list li:first-child { padding-left: 0; }
  .facts-list li + li { border-top: 0; border-left: 1px solid #DDD6C6; }
}
.facts-num {
  font-family: var(--font-head);
  font-size: 2.2rem;
  font-weight: 600;
  line-height: 1;
  color: var(--navy);
  font-variant-numeric: lining-nums;
  flex: none;
}
.facts-icon {
  display: grid;
  place-items: center;
  width: 2.6rem;
  height: 2.6rem;
  border: 1px solid var(--gold);
  border-radius: 50%;
  color: var(--navy);
  flex: none;
}
.facts-icon svg { width: 1.15rem; height: 1.15rem; }

/* ---------- Intro / who I help ---------- */

.intro-grid {
  display: grid;
  gap: 2rem clamp(2rem, 6vw, 5rem);
}
@media (min-width: 900px) {
  .intro-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
}
.intro-grid h2 { max-width: 16ch; }

.who {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--rule);
}
.who-title {
  margin: 0 0 0.85rem;
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 600;
  color: var(--ink);
}
.who-list {
  list-style: none;
  columns: 2;
  column-gap: 2rem;
}
.who-list li {
  position: relative;
  padding: 0.3rem 0 0.3rem 1.4rem;
  break-inside: avoid;
}
.who-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1.05em;
  width: 0.7rem;
  height: 1px;
  background: var(--gold-ink);
}
@media (max-width: 379.98px) { .who-list { columns: 1; } }

/* ---------- Service entries (home) ---------- */

.entries {
  list-style: none;
  display: grid;
  gap: clamp(2.5rem, 4vw, 2rem);
}
@media (min-width: 760px) {
  .entries { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1.25rem, 3vw, 2.5rem); }
}

.entry {
  position: relative;
  display: flex;
  flex-direction: column;
  padding-top: 1.25rem;
  border-top: 2px solid var(--navy);
}
.entry-num {
  font-family: var(--font-head);
  font-style: italic;
  font-size: 1rem;
  color: var(--gold-ink);
  margin: 0 0 0.9rem;
}
.entry-media {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  aspect-ratio: 4 / 3;
  margin-bottom: 1.25rem;
  background: var(--paper-2);
}
.entry-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.82);
  transition: transform 0.6s var(--ease), filter 0.4s ease;
}
.entry-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(6, 15, 63, 0.28), rgba(6, 15, 63, 0) 55%);
  pointer-events: none;
}
.entry:hover .entry-media img { transform: scale(1.04); filter: saturate(1); }
.entry h3 { margin-bottom: 0.5rem; }
.entry p { color: var(--text); }
.entry .text-link { margin-top: auto; padding-top: 0.75rem; }
/* whole entry clickable via the link */
.entry .text-link::before { content: ""; position: absolute; inset: 0; }
.entry:focus-within { outline: 3px solid var(--gold); outline-offset: 6px; border-radius: 2px; }
.entry .text-link:focus-visible { outline: none; }

/* ---------- Margin note (the disclaimer) ---------- */

.note {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  align-items: start;
  margin: clamp(2.5rem, 5vw, 3.5rem) 0 0;
  padding: 1.25rem 1.5rem;
  background: var(--paper);
  border-left: 3px solid var(--gold);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-size: 1.02rem;
}
.section--paper .note { background: #fff; }
.note-mark {
  font-family: var(--font-head);
  font-style: italic;
  font-weight: 600;
  color: var(--gold-ink);
  white-space: nowrap;
}

/* ---------- Two ways (home) ---------- */

.ways {
  display: grid;
  gap: 0;
  border-top: 2px solid var(--navy);
  border-bottom: 2px solid var(--navy);
}
@media (min-width: 760px) {
  .ways { grid-template-columns: 1fr 1fr; }
  .way + .way { border-left: 1px solid #DDD6C6; }
}
.way { padding: clamp(1.75rem, 4vw, 2.75rem) clamp(0rem, 3vw, 2.5rem); }
.way + .way { border-top: 1px solid #DDD6C6; }
@media (min-width: 760px) {
  .way + .way { border-top: 0; }
  .way:first-child { padding-left: 0; }
}
.way-label {
  margin: 0 0 0.5rem;
  font-family: var(--font-head);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-ink);
}

/* ---------- Page hero (inner pages) ---------- */

.page-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: var(--navy);
  color: var(--text-on-dark);
  padding-block: clamp(3rem, 7vw, 5.5rem);
}
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(70% 140% at 100% 0%, rgba(56, 63, 101, 0.7) 0%, rgba(6, 15, 63, 0) 65%),
    repeating-linear-gradient(to bottom, transparent 0, transparent 43px, rgba(255, 255, 255, 0.04) 43px, rgba(255, 255, 255, 0.04) 44px);
}
.page-hero::after {
  content: "";
  position: absolute;
  right: clamp(-9rem, -6vw, -3rem);
  top: 50%;
  z-index: -1;
  width: clamp(14rem, 30vw, 24rem);
  aspect-ratio: 1;
  transform: translateY(-50%);
  background: url("../images/logo-128.png") center / contain no-repeat;
  opacity: 0.07;
  border-radius: 50%;
}
.page-hero h1 { color: #fff; font-size: clamp(2.2rem, 1.6rem + 2.6vw, 3.6rem); max-width: 20ch; }
.page-hero .lead { color: var(--text-on-dark); max-width: 42rem; }

.crumbs ol {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 0.5rem;
  margin-bottom: 1.5rem;
  font-size: 0.95rem;
  color: var(--text-on-dark-muted);
}
.crumbs li + li::before { content: "/"; margin-right: 0.5rem; color: var(--gold); }
.crumbs a { color: var(--text-on-dark); text-decoration: none; display: inline-block; padding-block: 0.35rem; }
.crumbs a:hover { color: #fff; text-decoration: underline; text-decoration-color: var(--gold); }
.crumbs [aria-current="page"] { color: var(--text-on-dark-muted); display: inline-block; padding-block: 0.35rem; }

/* ---------- Services page ---------- */

.toc {
  max-width: 44rem;
  margin-top: 2rem;
  list-style: none;
  counter-reset: toc;
}
.toc li { counter-increment: toc; }
.toc a {
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
  min-height: 3.25rem;
  padding-block: 0.8rem;
  border-bottom: 1px solid var(--rule);
  color: var(--ink);
  font-family: var(--font-head);
  font-size: 1.15rem;
  font-weight: 600;
  text-decoration: none;
}
.toc a::before {
  content: "0" counter(toc);
  font-style: italic;
  font-weight: 400;
  font-size: 0.95rem;
  color: var(--gold-ink);
  flex: none;
}
.toc a::after {
  content: "";
  flex: 1;
  min-width: 1.5rem;
  border-bottom: 1px dotted rgba(0, 0, 0, 0.3);
  transform: translateY(-0.3em);
  order: 1;
}
.toc .toc-go {
  order: 2;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 0.95rem;
  color: var(--text-muted);
}
.toc a:hover { color: var(--navy); }
.toc a:hover .toc-go { color: var(--navy); text-decoration: underline; text-decoration-color: var(--gold); }

.service {
  padding-block: var(--section);
  border-top: 1px solid var(--rule);
}
.service:nth-of-type(even) { background: var(--paper); }

.service-grid {
  display: grid;
  gap: 2.5rem clamp(2rem, 6vw, 5rem);
}
@media (min-width: 960px) {
  .service-grid { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); align-items: start; }
  .service-aside { position: sticky; top: calc(var(--header-h) + 2rem); }
}

.service-num {
  display: block;
  font-family: var(--font-head);
  font-style: italic;
  font-size: clamp(3.5rem, 8vw, 5.5rem);
  line-height: 0.9;
  color: #9A7A2C;               /* darker gold: 3:1+ on white and paper */
  margin-bottom: 1rem;
  font-variant-numeric: lining-nums;
}
.service-aside h2 { max-width: 14ch; }
.service-media {
  margin-top: 2rem;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 3 / 2;
  background: var(--paper-2);
}
.service-media img { width: 100%; height: 100%; object-fit: cover; filter: saturate(0.85); }

.checklist-title {
  margin: 0 0 0.5rem;
  font-family: var(--font-head);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-ink);
}
.checklist {
  list-style: none;
  border-top: 2px solid var(--navy);
}
.checklist li {
  display: grid;
  grid-template-columns: 1.6rem 1fr;
  gap: 0.9rem;
  align-items: start;
  padding: 0.8rem 0;
  border-bottom: 1px solid var(--rule);
  line-height: 1.45;
}
.service:nth-of-type(even) .checklist li { border-bottom-color: #E4DDCD; }
.checklist li::before {
  content: "";
  width: 1.35rem;
  height: 1.35rem;
  margin-top: 0.08em;
  border-radius: 50%;
  background: var(--navy) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23C9A84C' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 8.5l2.6 2.6L12 5.5'/%3E%3C/svg%3E") center / 0.8rem no-repeat;
}

/* ---------- About page ---------- */

.story-grid {
  display: grid;
  gap: 3rem clamp(2rem, 6vw, 5rem);
}
@media (min-width: 960px) {
  .story-grid { grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr); align-items: start; }
}
.story p { font-size: 1.2rem; }
.story p:first-of-type::first-letter {
  float: left;
  margin: 0.08em 0.12em 0 0;
  font-family: var(--font-head);
  font-size: 3.6em;
  line-height: 0.85;
  font-weight: 600;
  color: var(--navy);
}

.pullquote {
  margin: 2.5rem 0;
  padding: 0 0 0 1.5rem;
  border-left: 3px solid var(--gold);
  font-family: var(--font-head);
  font-style: italic;
  font-size: clamp(1.35rem, 1.2rem + 0.7vw, 1.75rem);
  line-height: 1.4;
  color: var(--navy);
}
.pullquote p { font-size: inherit !important; }
.pullquote p::first-letter { all: unset; }

.glance {
  background: var(--navy);
  color: var(--text-on-dark);
  border-radius: var(--radius);
  padding: clamp(1.75rem, 4vw, 2.5rem);
}
@media (min-width: 960px) { .glance { position: sticky; top: calc(var(--header-h) + 2rem); } }
.glance h2 { color: #fff; font-size: 1.5rem; margin-bottom: 1.25rem; }
.glance-list { list-style: none; }
.glance-list li {
  padding: 1rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 1.02rem;
}
.glance-list strong {
  display: block;
  color: #fff;
  font-family: var(--font-head);
  font-size: 1.1rem;
  margin-bottom: 0.2rem;
}
.glance-list .big {
  display: block;
  font-family: var(--font-head);
  font-size: 2.6rem;
  line-height: 1;
  color: var(--gold);
  margin-bottom: 0.35rem;
}

/* ---------- Contact page ---------- */

.contact-grid {
  display: grid;
  gap: 3rem clamp(2rem, 6vw, 5rem);
}
@media (min-width: 960px) {
  .contact-grid { grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); align-items: start; }
}

.channels { list-style: none; border-top: 2px solid var(--navy); }
.channel {
  display: grid;
  gap: 0.35rem 1.5rem;
  padding: 1.75rem 0;
  border-bottom: 1px solid var(--rule);
  min-width: 0;
}
@media (min-width: 640px) {
  .channel { grid-template-columns: minmax(0, 1fr) auto; align-items: center; }
}
.channel-label {
  margin: 0;
  font-family: var(--font-head);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-ink);
}
.channel-value {
  margin: 0;
  font-family: var(--font-head);
  font-size: clamp(1.3rem, 1.05rem + 1.3vw, 2rem);
  font-weight: 600;
  line-height: 1.25;
  color: var(--ink);
  min-width: 0;
  overflow-wrap: anywhere;
}
.channel-value a { color: inherit; text-decoration: none; }
.channel-value a:hover { text-decoration: underline; text-decoration-color: var(--gold); }
.channel-actions { display: flex; flex-wrap: wrap; gap: 0.6rem; }
@media (min-width: 640px) {
  .channel-body { grid-column: 1; }
  .channel-actions { grid-column: 2; grid-row: 1 / span 2; justify-content: flex-end; }
}
@media (max-width: 639.98px) {
  .channel-actions { margin-top: 0.85rem; }
  .channel-actions .btn { flex: 1 1 10rem; }
}

.hours {
  background: var(--paper);
  border-radius: var(--radius);
  padding: clamp(1.5rem, 4vw, 2.25rem);
}
.hours h2 { font-size: 1.5rem; }
.hours table { width: 100%; border-collapse: collapse; font-size: 1.05rem; }
.hours th, .hours td { padding: 0.7rem 0; border-bottom: 1px solid #E4DDCD; text-align: left; font-weight: 400; }
.hours td { text-align: right; font-variant-numeric: lining-nums tabular-nums; }
.hours th { color: var(--ink); }
.hours tr.is-closed td { color: var(--text-muted); font-style: italic; }
.hours caption { text-align: left; margin-bottom: 0.5rem; color: var(--text-muted); font-size: 0.95rem; caption-side: bottom; padding-top: 0.9rem; }
.based {
  display: flex;
  gap: 0.9rem;
  align-items: flex-start;
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid #E4DDCD;
}
.based svg { width: 1.3rem; height: 1.3rem; color: var(--gold-ink); flex: none; margin-top: 0.2rem; }

/* ---------- Legal pages ---------- */

.legal-grid {
  display: grid;
  gap: 2.5rem clamp(2rem, 6vw, 5rem);
}
@media (min-width: 960px) {
  .legal-grid { grid-template-columns: 15rem minmax(0, 1fr); align-items: start; }
  .legal-toc { position: sticky; top: calc(var(--header-h) + 2rem); }
}
.legal-toc p {
  margin: 0 0 0.5rem;
  font-family: var(--font-head);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-ink);
}
.legal-toc ol { list-style: none; border-top: 2px solid var(--navy); }
.legal-toc a {
  display: block;
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--rule);
  color: var(--text);
  text-decoration: none;
  font-size: 1rem;
  line-height: 1.35;
}
.legal-toc a:hover { color: var(--navy); text-decoration: underline; text-decoration-color: var(--gold); }

.prose { max-width: 44rem; }
.prose h2 {
  font-size: clamp(1.4rem, 1.25rem + 0.6vw, 1.75rem);
  margin-top: 2.75rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--rule);
}
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 1.2rem; margin-top: 1.75rem; }
.prose ul { padding-left: 1.25rem; margin: 0 0 1em; }
.prose li { margin-bottom: 0.4rem; }
.prose li::marker { color: var(--gold-ink); }
.prose a { overflow-wrap: anywhere; }
.updated { color: var(--text-on-dark-muted); font-size: 1rem; margin-top: 1rem; }

.table-scroll { overflow-x: auto; margin: 1rem 0 1.5rem; }
.cookie-table { width: 100%; min-width: 34rem; border-collapse: collapse; font-size: 1rem; }
.cookie-table th, .cookie-table td { padding: 0.65rem 0.75rem 0.65rem 0; border-bottom: 1px solid var(--rule); text-align: left; vertical-align: top; }
.cookie-table th { font-family: var(--font-head); font-weight: 600; color: var(--ink); border-bottom: 2px solid var(--navy); }
.cookie-table code { font-size: 0.92em; }

.inline-btn {
  display: inline;
  padding: 0;
  border: 0;
  background: none;
  color: var(--navy);
  font: inherit;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.22em;
  cursor: pointer;
}
.inline-btn:hover { text-decoration-color: var(--gold); }

/* ---------- CTA band ---------- */

.cta {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: var(--navy);
  color: var(--text-on-dark);
  padding-block: clamp(3.5rem, 8vw, 6rem);
}
.cta::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(80% 140% at 0% 100%, rgba(56, 63, 101, 0.7) 0%, rgba(6, 15, 63, 0) 60%);
}
.cta-grid {
  display: grid;
  gap: 2.5rem clamp(2rem, 6vw, 5rem);
  align-items: center;
}
@media (min-width: 960px) {
  .cta-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
}
.cta h2 { color: #fff; margin-bottom: 0.5rem; }
.cta-hours { color: var(--text-on-dark-muted); margin-bottom: 2rem; }
.cta-lines {
  list-style: none;
  border-top: 1px solid rgba(201, 168, 76, 0.5);
}
.cta-lines li {
  display: grid;
  gap: 0.15rem;
  padding: 1.1rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  min-width: 0;
}
.cta-lines .label {
  font-family: var(--font-head);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
}
.cta-lines a {
  font-family: var(--font-head);
  font-size: clamp(1.25rem, 1rem + 1.2vw, 1.85rem);
  font-weight: 600;
  line-height: 1.25;
  color: #fff;
  text-decoration: none;
  overflow-wrap: anywhere;
}
.cta-lines a:hover { text-decoration: underline; text-decoration-color: var(--gold); }

@media (max-width: 639.98px) {
  .cta-copy { text-align: center; }
  .cta-copy .eyebrow { justify-content: center; }
  .cta-copy .eyebrow::after { content: ""; width: 2rem; height: 1px; background: currentColor; }
  .cta-lines li { text-align: center; }
}

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

.site-footer {
  background: var(--ink);
  color: var(--text-on-dark);
  font-size: 1rem;
  padding-top: clamp(3rem, 6vw, 4.5rem);
}
.footer-grid {
  display: grid;
  gap: 2.5rem;
  padding-bottom: 2.5rem;
}
@media (min-width: 640px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 960px) { .footer-grid { grid-template-columns: 1.4fr 0.7fr 1fr; gap: 3rem; } }
.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
  font-family: var(--font-head);
  font-size: 1.25rem;
  font-weight: 600;
  color: #fff;
}
.footer-brand img { width: 44px; height: 44px; border-radius: 50%; }
@media (min-width: 640px) and (max-width: 959.98px) { .footer-about { grid-column: 1 / -1; } }
.footer-muted { color: rgba(255, 255, 255, 0.68); }
.footer-heading {
  margin: 0 0 1rem;
  font-family: var(--font-head);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
}
.footer-list { list-style: none; display: grid; gap: 0.2rem; }
.footer-list li { display: flex; align-items: flex-start; gap: 0.6rem; min-width: 0; }
.footer-list svg { width: 1rem; height: 1rem; color: var(--gold); flex: none; margin-top: 0.55rem; }
.footer-list a, .footer-list span { display: inline-block; padding-block: 0.3rem; min-width: 0; overflow-wrap: anywhere; }
.site-footer a { color: var(--text-on-dark); text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; text-decoration-color: var(--gold); }

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 2rem;
  padding-block: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.68);
}
.footer-bottom p { margin: 0; }
.legal-links {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0 1.25rem;
}
.legal-links a,
.legal-links button {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  padding: 0;
  background: none;
  border: 0;
  color: var(--text-on-dark);
  font: inherit;
  cursor: pointer;
  text-decoration: underline;
  text-decoration-color: rgba(255, 255, 255, 0.3);
  text-underline-offset: 0.22em;
}
.legal-links a:hover,
.legal-links button:hover { color: #fff; text-decoration-color: var(--gold); }
.credit a { color: var(--gold); font-weight: 700; }
.credit a:hover { color: #DCC27A; }
@media (max-width: 639.98px) {
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}

/* ---------- Cookie consent ---------- */
/* Ivory card with a navy frame and gold top edge: stands out on the navy hero and on light sections */

.consent {
  position: fixed;
  z-index: 1100;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  max-width: 32rem;
  max-height: calc(100vh - 2rem);
  max-height: calc(100dvh - 2rem);
  overflow-y: auto;
  background: var(--paper);
  color: var(--text);
  border: 1px solid rgba(6, 15, 63, 0.25);
  border-top: 5px solid var(--gold);
  border-radius: var(--radius);
  box-shadow:
    0 0 0 4px rgba(201, 168, 76, 0.35),
    0 1.5rem 3.5rem -0.5rem rgba(0, 0, 0, 0.6);
  padding: 1.5rem;
  font-size: 1rem;
  line-height: 1.55;
}
.consent[hidden] { display: none; }
@media (prefers-reduced-motion: no-preference) {
  .consent { animation: consent-in 0.45s var(--ease) both; }
}
@keyframes consent-in { from { opacity: 0; transform: translateY(1rem); } to { opacity: 1; transform: none; } }

.consent h2 {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin: 0 0 0.5rem;
  color: var(--navy);
  font-size: 1.3rem;
}
.consent h2::before {
  content: "";
  width: 1.6rem;
  height: 1.6rem;
  flex: none;
  border-radius: 50%;
  background: var(--navy) url("../images/logo-96.png") center / cover no-repeat;
}
.consent h2:focus { outline: none; }
.consent p { margin: 0 0 1rem; }
.consent a { color: var(--navy); font-weight: 700; }
.consent a:hover { text-decoration-color: var(--gold); }
.consent-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.6rem;
}
.consent-actions .btn { min-height: 2.9rem; padding-inline: 0.75rem; font-size: 1rem; }
.consent-actions .consent-manage { grid-column: 1 / -1; }
.consent .btn--link {
  min-height: 2.75rem;
  padding: 0.25rem;
  background: none;
  border: 0;
  color: var(--navy);
  font-family: var(--font-body);
  font-weight: 400;
  text-decoration: underline;
  text-underline-offset: 0.22em;
}
.consent .btn--link:hover { text-decoration-color: var(--gold); }
.consent .btn--ghost { border-color: var(--navy); }

.consent-prefs {
  margin: 0 0 1rem;
  padding: 0;
  border: 0;
}
.consent-prefs legend { padding: 0; margin-bottom: 0.5rem; font-family: var(--font-head); font-weight: 600; color: var(--ink); }
.consent-option {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.25rem 1rem;
  align-items: center;
  padding: 0.85rem 0;
  border-top: 1px solid #E4DDCD;
}
.consent-option-desc { grid-column: 1 / -1; margin: 0; font-size: 0.93rem; color: var(--text-muted); }
.consent-option label { font-weight: 700; color: var(--ink); }
.consent-always { font-size: 0.9rem; color: var(--gold-ink); font-style: italic; }

/* switch built on a native checkbox */
.switch {
  appearance: none;
  -webkit-appearance: none;
  position: relative;
  width: 3rem;
  height: 1.75rem;
  margin: 0;
  border-radius: 1rem;
  background: #D9D3C4;
  border: 1px solid #6B6556;
  cursor: pointer;
  transition: background-color 0.2s ease;
}
.switch::after {
  content: "";
  position: absolute;
  top: 0.18rem;
  left: 0.2rem;
  width: 1.3rem;
  height: 1.3rem;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.35);
  transition: transform 0.2s var(--ease);
}
.switch:checked { background: var(--navy); border-color: var(--navy); }
.switch:checked::after { transform: translateX(1.2rem); background: var(--gold); }
.switch:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }

/* ---------- 404 ---------- */

.error-page {
  min-height: calc(100vh - var(--header-h));
  display: grid;
  place-items: center;
  text-align: center;
}
.error-page .actions { justify-content: center; }

/* ---------- Reduced motion ---------- */

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

/* ---------- Print ---------- */

@media print {
  .site-header, .consent, .cta .actions, .skip-link { display: none !important; }
  .hero, .page-hero, .cta, .site-footer { background: #fff !important; color: #000 !important; }
  .hero h1, .page-hero h1, .cta h2 { color: #000 !important; }
}

/* ---------- Utilities ---------- */

.mt-2 { margin-top: 2rem; }
.mt-15 { margin-top: 1.5rem; }
.error-page .eyebrow { justify-content: center; }
.error-page .eyebrow::after { content: ""; width: 2rem; height: 1px; background: currentColor; }
.error-page h1, .error-page .lead { margin-inline: auto; }
.footer-list .footer-tel { padding-block: 0; }
/* grid children may shrink below their content's min width (tables scroll instead) */
.legal-grid > *, .contact-grid > *, .story-grid > *, .service-grid > *, .intro-grid > *, .hero-grid > *, .cta-grid > *, .footer-grid > * { min-width: 0; }
.hero h1 .accent-italic { font-size: 0.62em; line-height: 1.15; margin-top: 0.2em; }
.ledger-head { flex-wrap: wrap; row-gap: 0.15rem; }
.service + .section--tight .note { margin-top: 0; }

/* ---------- Email addresses: always one line, sized to the space available ---------- */
/* Buttons sit under the address (not beside it) so the address gets the full column width */
.channel { grid-template-columns: minmax(0, 1fr); }
.channel-body, .channel-actions { grid-column: 1; grid-row: auto; }
.channel-actions { justify-content: flex-start; margin-top: 0.9rem; }
@media (min-width: 640px) { .channel-actions .btn { flex: 0 0 auto; min-width: 10rem; } }

.channels, .cta-lines { container-type: inline-size; }
.email-fit {
  white-space: nowrap;
  overflow-wrap: normal;
  /* "giovanna@gozobookkeeping.com" is ~15.5em wide in Lora semibold */
  font-size: clamp(1rem, 6cqi, 2rem);
}
.cta-lines .email-fit { font-size: clamp(1rem, 6cqi, 1.85rem); }
.footer-list .email-fit { font-size: inherit; white-space: nowrap; }
@supports not (font-size: 1cqi) {
  .email-fit { white-space: normal; overflow-wrap: anywhere; font-size: 1.25rem; }
}
