/* Shared styles for every page. Page-specific pieces live in each page's <style>. */

@font-face {
  font-family: "Public Sans";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("/fonts/public-sans-v21-latin.woff2") format("woff2");
}

:root {
  --bg: #FFFFFF;
  --text: #1A1A1A;
  --muted: #666666;
  --accent: #1F4E8C;
  --accent-dark: #173B6B;          /* hover state of the accent */
  --line: rgba(26, 26, 26, 0.14);  /* tints of the text color */
  --tint: rgba(26, 26, 26, 0.045);
  --amber-bg: #FCEFD3;             /* "Needs review" only */
  --amber-text: #7A4A00;

  --font: "Public Sans", -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --gutter: clamp(1rem, 4vw, 2.5rem);
  --measure: 42rem;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
@media (min-width: 48rem) {
  body { font-size: 1.125rem; }
}
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
img { display: block; max-width: 100%; height: auto; }
[hidden] { display: none !important; }

a { color: var(--accent); text-decoration-thickness: 1px; text-underline-offset: 0.2em; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--text); outline-offset: 3px; border-radius: 2px; }

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

.wrap { max-width: 76rem; margin-inline: auto; padding-inline: var(--gutter); }
.measure { max-width: var(--measure); }

/* ---------- Type ---------- */
.site-name { padding-top: clamp(1.25rem, 3vw, 2rem); font-weight: 700; line-height: 1.4; }
h1 {
  font-size: clamp(2.25rem, 1.55rem + 2.8vw, 3.5rem);
  font-weight: 700; line-height: 1.1; letter-spacing: -0.022em;
  text-wrap: balance;
}
h2 {
  font-size: clamp(1.5rem, 1.25rem + 1vw, 2rem);
  font-weight: 700; line-height: 1.2; letter-spacing: -0.015em;
  text-wrap: balance;
}
h3 { font-size: 1.125rem; font-weight: 700; line-height: 1.35; }
.lead {
  font-size: clamp(1.125rem, 1.05rem + 0.35vw, 1.3125rem); line-height: 1.55;
  color: var(--muted);
  text-wrap: pretty;
}
.muted { color: var(--muted); }
p { text-wrap: pretty; }

/* ---------- Booking button: the only button style ---------- */
.button {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 3.125rem; padding: 0.8rem 1.5rem;
  background: var(--accent); color: #FFFFFF;
  border-radius: 6px;
  font-size: 1.0625rem; font-weight: 600; line-height: 1.2;
  text-decoration: none; text-align: center;
  transition: background-color 120ms ease;
}
.button:hover { background: var(--accent-dark); }
@media (max-width: 30rem) {
  .button { display: flex; width: 100%; }
}
.cta { margin-top: 2rem; }
.cta-note { margin-top: 0.75rem; color: var(--muted); font-size: 0.9375rem; }

/* ---------- Sections ---------- */
.hero { padding-block: 0 clamp(3rem, 7vw, 5rem); }
.hero h1 { margin-top: clamp(2.5rem, 7vw, 4.5rem); max-width: 22ch; }
.hero .lead { margin-top: 1.25rem; max-width: 40rem; }

.section { padding-block: clamp(3rem, 7vw, 5rem); border-top: 1px solid var(--line); }
.section > h2 + * { margin-top: 1.25rem; }
.section > * + p, .section > p + * { margin-top: 1rem; }

/* Plain bulleted list */
.list { padding-left: 1.25rem; max-width: var(--measure); }
.list li { padding-left: 0.25rem; }
.list li + li { margin-top: 0.5rem; }
.list li::marker { color: var(--muted); }

/* Numbered steps: a real sequence */
.steps { list-style: none; padding: 0; counter-reset: step; max-width: var(--measure); }
.steps > li {
  counter-increment: step;
  display: grid; grid-template-columns: 2.25rem minmax(0, 1fr);
}
.steps > li::before { content: counter(step) "."; font-weight: 700; }
.steps > li + li { margin-top: 1.25rem; }

/* ---------- About ---------- */
.about { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1.5rem; align-items: start; }
@media (min-width: 40rem) {
  .about { grid-template-columns: 10rem minmax(0, 1fr); gap: 2.5rem; }
}
.portrait {
  width: 8rem; aspect-ratio: 4 / 5;
  background: var(--tint); border-radius: 4px; overflow: hidden;
  display: grid; place-items: center;
}
@media (min-width: 40rem) {
  .portrait { width: 10rem; }
}
.portrait img { width: 100%; height: 100%; object-fit: cover; }
.portrait-initials { font-size: 2.25rem; font-weight: 600; color: var(--muted); letter-spacing: 0.02em; }
.about-text { max-width: var(--measure); }
.about-text p + p { margin-top: 1rem; }

/* ---------- FAQ (native <details>) ---------- */
.faq { max-width: var(--measure); border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  position: relative; display: block; cursor: pointer; list-style: none;
  padding: 1rem 2.5rem 1rem 0;
  font-weight: 600; line-height: 1.4;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 0.25rem; top: 0.9rem;
  font-size: 1.375rem; font-weight: 400; line-height: 1; color: var(--muted);
}
.faq details[open] summary::after { content: "\2212"; }
.faq details p { padding-bottom: 1.25rem; }

/* ---------- Video ---------- */
.video { margin-top: 1.5rem; max-width: 52rem; aspect-ratio: 16 / 9; background: var(--tint); border-radius: 4px; overflow: hidden; }
.video iframe, .video video { display: block; width: 100%; height: 100%; border: 0; }

/* ---------- Footer ---------- */
.site-footer {
  border-top: 1px solid var(--line);
  padding-block: 2rem 3rem;
  display: flex; flex-wrap: wrap; gap: 0.5rem 2rem;
  color: var(--muted); font-size: 0.9375rem;
}
.site-footer a { overflow-wrap: anywhere; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
