/* ==========================================================================
   Family Support — site stylesheet
   --------------------------------------------------------------------------
   1.  Fonts (self-hosted — no Google Fonts requests)
   2.  Tokens
   3.  Base & accessibility
   4.  Layout helpers
   5.  Buttons
   6.  Header & navigation
   7.  Hero
   8.  Home sections
   9.  FAQ
   10. Booking & contact form
   11. Footer
   12. Legal & 404 pages
   13. Motion preferences & print
   ========================================================================== */

/* 1. Fonts ---------------------------------------------------------------- */
@font-face {
  font-family: "Fraunces";
  src: url("../fonts/fraunces-variable.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("../fonts/inter-variable.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "IBM Plex Mono";
  src: url("../fonts/ibm-plex-mono-500.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

/* 2. Tokens --------------------------------------------------------------- */
:root {
  --paper: #F7F4EE;
  --paper-2: #F1ECE1;
  --white: #FFFDF9;
  --ink: #1E2A38;
  --ink-soft: #4B5866;
  --sage: #4B6A5E;
  --sage-deep: #35493F;
  --sage-mist: #E4EAE6;
  --gold: #C99A44;
  --gold-deep: #B08333;
  --gold-light: #EDE4C9;
  --line: #DAD4C4;
  --line-strong: #8F8A7C;   /* form borders — meets 3:1 against white */
  --danger: #A63D2F;
  --danger-mist: #F8E9E5;

  --font-serif: "Fraunces", Georgia, "Times New Roman", serif;
  --font-sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, "Cascadia Mono", Consolas, monospace;

  --radius-lg: 14px;
  --radius-md: 12px;
  --radius-sm: 8px;
  --radius-pill: 999px;

  --shadow: 0 1px 2px rgba(30, 42, 56, 0.04), 0 8px 24px -12px rgba(30, 42, 56, 0.12);
  --shadow-sage: 0 1px 2px rgba(30, 42, 56, 0.04), 0 14px 30px -14px rgba(75, 106, 94, 0.35);

  --header-h: 68px;
  --gutter: 28px;
  --ease: cubic-bezier(0.4, 0.1, 0.2, 1);
}

@media (max-width: 480px) {
  :root { --gutter: 20px; }
}

/* 3. Base & accessibility ------------------------------------------------- */
*,
*::before,
*::after { box-sizing: border-box; }

[hidden] { display: none !important; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body.nav-locked { overflow: hidden; }

h1, h2, h3 {
  margin: 0;
  font-family: var(--font-serif);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: var(--ink);
  text-wrap: balance;
}

p { margin: 0; text-wrap: pretty; }
a { color: inherit; }
img, svg { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; color: inherit; }

:focus-visible {
  outline: 2.5px solid var(--sage-deep);
  outline-offset: 3px;
  border-radius: 4px;
}

.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: 16px;
  top: -100px;
  z-index: 100;
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  background: var(--ink);
  color: var(--white);
  font-weight: 600;
  text-decoration: none;
}
.skip-link:focus { top: 12px; }

/* 4. Layout helpers ------------------------------------------------------- */
.wrap {
  max-width: 1080px;
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.wrap--narrow { max-width: 760px; }

.section { padding-block: 56px; }

.rule {
  width: min(1024px, calc(100% - 2 * var(--gutter)));
  height: 1px;
  margin: 0 auto;
  border: 0;
  background: var(--line);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 22px;
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  background: var(--sage-mist);
  color: var(--sage-deep);
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.01em;
}
.eyebrow__dot {
  align-self: flex-start;
  margin-top: 0.55em;
  width: 6px;
  height: 6px;
  flex: none;
  border-radius: 50%;
  background: var(--gold-deep);
}

.section-head { max-width: 640px; margin-bottom: 8px; }
.section-head .eyebrow { margin-bottom: 16px; }
.section-head__title { font-size: clamp(1.6rem, 3vw, 2.1rem); }
.section-head__intro { margin-top: 14px; color: var(--ink-soft); font-size: 1.05rem; }

.list-reset { list-style: none; margin: 0; padding: 0; }

/* 5. Buttons -------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 0;
  border-radius: var(--radius-pill);
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: background-color 0.15s, transform 0.15s, box-shadow 0.15s;
}
.btn .arrow { transition: transform 0.2s var(--ease); }
.btn:hover .arrow { transform: translateX(3px); }

.btn--primary {
  padding: 16px 26px;
  background: var(--gold);
  color: #2B2210;
  font-size: 1rem;
  font-weight: 700;
  box-shadow: var(--shadow);
}
.btn--primary:hover { background: var(--gold-deep); transform: translateY(-2px); }
.btn--primary:active { transform: translateY(0); }

.btn--nav {
  padding: 10px 18px;
  background: var(--sage);
  color: var(--white);
  font-size: 0.92rem;
}
.btn--nav:hover { background: var(--sage-deep); }

.btn--block { width: 100%; }

.btn:disabled {
  cursor: progress;
  opacity: 0.8;
  transform: none;
}

.btn__spinner {
  display: none;
  width: 16px;
  height: 16px;
  border: 2px solid currentColor;
  border-right-color: transparent;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}
.btn.is-loading .btn__spinner { display: inline-block; }
.btn.is-loading .arrow { display: none; }

@keyframes spin { to { transform: rotate(360deg); } }

.reassure { font-size: 0.92rem; color: var(--ink-soft); }

/* 6. Header & navigation -------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(247, 244, 238, 0.92);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow 0.2s;
}
.site-header.is-scrolled { box-shadow: 0 8px 22px -18px rgba(30, 42, 56, 0.4); }

.navbar {
  display: flex;
  align-items: center;
  gap: 24px;
  max-width: 1080px;
  min-height: var(--header-h);
  margin-inline: auto;
  padding: 12px var(--gutter);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-right: auto;
  color: var(--ink);
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 600;
  text-decoration: none;
}
.brand__mark { width: 30px; height: 30px; flex: none; }

.site-nav { display: flex; align-items: center; }
.site-nav__list { display: flex; gap: 28px; }

.site-nav__link {
  position: relative;
  display: inline-block;
  padding: 6px 0;
  color: var(--ink-soft);
  font-size: 0.94rem;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.15s;
}
.site-nav__link:hover { color: var(--sage-deep); }
.site-nav__link[aria-current] { color: var(--ink); }
.site-nav__link[aria-current]::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  border-radius: 2px;
  background: var(--gold);
}

.site-nav__cta { display: none; }

.menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  background: var(--white);
  cursor: pointer;
}
.menu-toggle__bars { position: relative; width: 18px; height: 12px; }
.menu-toggle__bars span {
  position: absolute;
  left: 0;
  right: 0;
  height: 2px;
  border-radius: 2px;
  background: var(--ink);
  transition: transform 0.2s var(--ease), top 0.2s var(--ease), opacity 0.15s;
}
.menu-toggle__bars span:nth-child(1) { top: 0; }
.menu-toggle__bars span:nth-child(2) { top: 5px; }
.menu-toggle__bars span:nth-child(3) { top: 10px; }
.nav-open .menu-toggle__bars span:nth-child(1) { top: 5px; transform: rotate(45deg); }
.nav-open .menu-toggle__bars span:nth-child(2) { opacity: 0; }
.nav-open .menu-toggle__bars span:nth-child(3) { top: 5px; transform: rotate(-45deg); }

@media (max-width: 960px) {
  /* With JavaScript: collapsible dropdown menu */
  .js .menu-toggle { display: inline-flex; }

  .js .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    max-height: calc(100dvh - var(--header-h));
    padding: 4px var(--gutter) 24px;
    overflow-y: auto;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 22px 32px -24px rgba(30, 42, 56, 0.45);
    visibility: hidden;
    opacity: 0;
    transform: translateY(-8px);
    transition: opacity 0.2s var(--ease), transform 0.2s var(--ease), visibility 0s linear 0.2s;
  }
  .js .nav-open .site-nav {
    visibility: visible;
    opacity: 1;
    transform: none;
    transition: opacity 0.2s var(--ease), transform 0.2s var(--ease), visibility 0s;
  }
  .js .site-nav__list { flex-direction: column; gap: 0; }
  .js .site-nav__link {
    display: block;
    padding: 14px 4px;
    border-bottom: 1px solid var(--line);
    font-size: 1.05rem;
  }
  .js .site-nav__link[aria-current]::after {
    left: auto;
    right: 6px;
    top: 50%;
    bottom: auto;
    width: 8px;
    height: 8px;
    transform: translateY(-50%) rotate(45deg);
  }
  .js .site-nav__cta { display: flex; margin-top: 20px; }

  /* Without JavaScript: links stay reachable as a scrollable row */
  html:not(.js) .navbar { flex-wrap: wrap; row-gap: 4px; }
  html:not(.js) .site-nav { order: 3; width: 100%; overflow-x: auto; }
  html:not(.js) .site-nav__list { gap: 20px; }
  html:not(.js) .site-nav__link { white-space: nowrap; }
}

@media (max-width: 480px) {
  .navbar { gap: 12px; }
  .js .header-cta { display: none; }
}

/* 7. Hero ----------------------------------------------------------------- */
.hero { padding-block: 76px 40px; }

.hero__title {
  max-width: 15ch;
  font-size: clamp(2.1rem, 4.6vw, 3.4rem);
  line-height: 1.12;
}

.hero__lede {
  max-width: 52ch;
  margin-top: 22px;
  color: var(--ink-soft);
  font-size: 1.18rem;
  line-height: 1.65;
}

.hero__points {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 52ch;
  margin-top: 26px;
}
.hero__points li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: var(--ink-soft);
  font-size: 1.05rem;
  line-height: 1.5;
}
.hero__points li::before {
  content: "";
  flex: none;
  width: 8px;
  height: 8px;
  margin-top: 8px;
  border-radius: 2px;
  background: var(--gold);
  transform: rotate(45deg);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
  margin-top: 34px;
}

/* The one orchestrated moment: the horizon line draws in on load */
.hero__horizon {
  margin-top: 56px;
  animation: horizon-draw 1.6s var(--ease) 0.3s both;
}
.horizon {
  width: 100%;
  height: 34px;
  overflow: visible;
}
.horizon path {
  fill: none;
  stroke: var(--sage);
  stroke-width: 2;
  stroke-linecap: round;
  vector-effect: non-scaling-stroke;
}
@keyframes horizon-draw {
  from { clip-path: inset(0 100% 0 0); }
  to   { clip-path: inset(0 0 0 0); }
}

@media (max-width: 600px) {
  .hero { padding-block: 52px 32px; }
  .hero .eyebrow { border-radius: var(--radius-md); font-size: 0.74rem; line-height: 1.5; }
  .hero__lede { font-size: 1.08rem; }
  .hero__actions .btn--primary { width: 100%; }
  .hero__horizon { margin-top: 44px; }
}

/* 8. Home sections -------------------------------------------------------- */

/* Lead statement */
.lead-statement {
  max-width: 62ch;
  font-family: var(--font-serif);
  font-size: 1.28rem;
  font-weight: 400;
  line-height: 1.7;
}

/* About */
.about-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 44px;
  align-items: start;
}
.about-text .section-head__title { margin-top: 0; }
.about-lead {
  margin-top: 16px;
  font-family: var(--font-serif);
  font-size: 1.2rem;
  line-height: 1.6;
}
.about-close {
  margin-top: 16px;
  color: var(--ink-soft);
  font-size: 0.94rem;
  line-height: 1.7;
}

.capability-card {
  margin: 22px 0;
  padding: 22px 24px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
}
.capability-card__title {
  margin-bottom: 14px;
  color: var(--sage-deep);
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.01em;
}
.capability-list li {
  position: relative;
  padding: 10px 0 10px 24px;
  border-top: 1px solid var(--line);
  color: var(--ink-soft);
  font-size: 0.95rem;
  line-height: 1.6;
}
.capability-list li:first-child { padding-top: 0; border-top: 0; }
.capability-list li:last-child { padding-bottom: 0; }
.capability-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 10px;
  color: var(--gold-deep);
  font-weight: 700;
}
.capability-list li:first-child::before { top: 0; }
.capability-list strong { color: var(--ink); font-weight: 600; }

.about-badges {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.badge-card {
  padding: 20px 18px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
}
.badge-card__value {
  display: block;
  margin-bottom: 6px;
  color: var(--sage-deep);
  font-family: var(--font-serif);
  font-size: 1.3rem;
  font-weight: 600;
  line-height: 1.2;
}
.badge-card__label {
  display: block;
  color: var(--ink-soft);
  font-size: 0.88rem;
  line-height: 1.4;
}

@media (max-width: 860px) {
  .about-grid { grid-template-columns: 1fr; gap: 28px; }
}

/* Steps */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 36px;
}
.step {
  padding: 28px 26px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}
.step__num {
  display: block;
  margin-bottom: 14px;
  color: var(--gold-deep);
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 500;
}
.step__title { margin-bottom: 10px; font-size: 1.15rem; }
.step__text { color: var(--ink-soft); font-size: 0.98rem; }

@media (max-width: 760px) {
  .steps { grid-template-columns: 1fr; gap: 16px; }
}

/* Services */
.service-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 32px;
}
.service-card {
  display: flex;
  flex-direction: column;
  padding: 24px 22px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
}
.service-card--featured {
  background: var(--sage-mist);
  border-color: var(--sage);
  box-shadow: var(--shadow-sage);
}
.service-card__tag {
  margin-bottom: 10px;
  color: var(--sage-deep);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.01em;
}
.service-card__title { margin-bottom: 12px; font-size: 1.04rem; line-height: 1.3; }
.service-card__list { flex-grow: 1; margin-bottom: 16px; }
.service-card__list li {
  position: relative;
  margin-bottom: 6px;
  padding-left: 14px;
  color: var(--ink-soft);
  font-size: 0.9rem;
  line-height: 1.55;
}
.service-card__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--gold-deep);
}
.service-card__price {
  color: var(--sage-deep);
  font-family: var(--font-mono);
  font-size: 0.88rem;
  font-weight: 500;
}

@media (max-width: 980px) { .service-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .service-grid { grid-template-columns: 1fr; gap: 14px; } }

.not-listed {
  margin-top: 28px;
  padding-left: 16px;
  border-left: 3px solid var(--sage);
  color: var(--ink-soft);
  font-size: 1rem;
}

.who-strip {
  margin-top: 44px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}
.who-strip__title {
  margin-bottom: 14px;
  color: var(--ink-soft);
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.01em;
}
.who-chips { display: flex; flex-wrap: wrap; gap: 10px; }
.who-chips li {
  padding: 8px 16px;
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  color: var(--ink-soft);
  font-size: 0.88rem;
  font-weight: 500;
}

/* Where it goes wrong */
.contrast-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 32px;
}
.contrast-card {
  padding: 26px 26px 14px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
}
.contrast-card--fixed { background: var(--sage-mist); border-color: var(--sage); }
.contrast-card__title {
  margin-bottom: 16px;
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0;
}
.contrast-card li {
  position: relative;
  margin-bottom: 12px;
  padding-left: 20px;
  color: var(--ink-soft);
  font-size: 0.95rem;
  line-height: 1.55;
}
.contrast-card li::before { content: "—"; position: absolute; left: 0; }
.contrast-card--fixed li { color: var(--sage-deep); }
.contrast-card--fixed li::before { content: "✓"; font-weight: 700; }

@media (max-width: 760px) {
  .contrast-grid { grid-template-columns: 1fr; gap: 16px; }
}

/* Comparison table */
.compare {
  margin-top: 32px;
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}
.compare__table { width: 100%; border-collapse: collapse; font-size: 0.95rem; }
.compare__table thead th {
  padding: 16px 20px;
  border-bottom: 1px solid var(--line);
  font-family: var(--font-serif);
  font-size: 1rem;
  font-weight: 600;
  text-align: left;
}
.compare__table thead th:first-child {
  color: var(--ink-soft);
  font-family: var(--font-sans);
  font-size: 0.88rem;
}
.compare__table thead th.is-us { color: var(--sage-deep); }
.compare__table tbody th,
.compare__table tbody td {
  padding: 14px 20px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}
.compare__table tbody th { color: var(--ink); font-weight: 600; }
.compare__table tbody td { color: var(--ink-soft); }
.compare__table tbody tr:last-child > * { border-bottom: 0; }
.compare__table tbody td.is-us {
  background: var(--sage-mist);
  color: var(--sage-deep);
  font-weight: 600;
}

@media (max-width: 700px) {
  .compare__table thead {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
  }
  .compare__table,
  .compare__table tbody,
  .compare__table tr,
  .compare__table th,
  .compare__table td { display: block; width: 100%; }
  .compare__table tbody tr { padding: 14px 20px; border-bottom: 1px solid var(--line); }
  .compare__table tbody tr:last-child { border-bottom: 0; }
  .compare__table tbody th,
  .compare__table tbody td { padding: 3px 0; border-bottom: 0; }
  .compare__table tbody th { padding-bottom: 6px; }
  .compare__table tbody td.is-us { background: none; }
  .compare__table tbody td::before {
    content: attr(data-label) ": ";
    color: var(--ink-soft);
    font-weight: 400;
  }
}

.callout {
  margin-top: 22px;
  padding: 18px 22px;
  background: var(--paper-2);
  border-left: 3px solid var(--gold);
  border-radius: var(--radius-lg);
  color: var(--ink-soft);
  font-size: 0.98rem;
}

/* Pricing */
.price-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 32px;
}
.price-card {
  display: flex;
  flex-direction: column;
  padding: 26px 24px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
}
.price-card--featured { border-color: var(--sage); box-shadow: var(--shadow-sage); }
.price-card__badge {
  align-self: flex-start;
  margin-bottom: 14px;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  background: var(--sage);
  color: var(--white);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 500;
}
.price-card__title { margin-bottom: 6px; font-size: 1.05rem; }
.price-card__amount {
  margin: 10px 0 14px;
  font-family: var(--font-serif);
  font-size: 1.9rem;
  font-weight: 600;
  line-height: 1.2;
}
.price-card__desc { flex-grow: 1; color: var(--ink-soft); font-size: 0.94rem; }

@media (max-width: 760px) {
  .price-grid { grid-template-columns: 1fr; gap: 16px; }
}

.price-footnote { margin-top: 20px; color: var(--ink-soft); font-size: 0.92rem; }
.price-footnote a { color: var(--sage-deep); font-weight: 600; white-space: nowrap; }

/* 9. FAQ ------------------------------------------------------------------ */
.faq-list { display: flex; flex-direction: column; gap: 12px; margin-top: 28px; }

.faq-item {
  padding: 0 22px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
}
.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 0;
  font-size: 1.02rem;
  font-weight: 600;
  line-height: 1.4;
  list-style: none;
  cursor: pointer;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  flex: none;
  color: var(--sage);
  font-family: var(--font-serif);
  font-size: 1.5rem;
  line-height: 1;
  transition: transform 0.2s var(--ease);
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item summary:hover { color: var(--sage-deep); }
.faq-item summary:focus-visible { outline-offset: 2px; }
.faq-item p {
  padding-bottom: 20px;
  color: var(--ink-soft);
  font-size: 0.98rem;
  line-height: 1.65;
}

/* Smooth open/close where the browser supports animating to height:auto */
@supports (interpolate-size: allow-keywords) {
  :root { interpolate-size: allow-keywords; }
  .faq-item::details-content {
    height: 0;
    overflow: hidden;
    transition: height 0.25s var(--ease), content-visibility 0.25s allow-discrete;
  }
  .faq-item[open]::details-content { height: auto; }
}

/* 10. Booking & contact form ---------------------------------------------- */
.book { padding-block: 64px 76px; text-align: center; }
.book__title {
  max-width: 32ch;
  margin: 0 auto 30px;
  font-size: 1.5rem;
  font-weight: 400;
  line-height: 1.5;
}
.book .reassure { margin-top: 14px; }

.contact { margin-top: 52px; }

.or-divider {
  position: relative;
  margin-bottom: 28px;
  color: var(--ink-soft);
  font-size: 0.88rem;
  text-align: center;
}
.or-divider::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  height: 1px;
  background: var(--line);
}
.or-divider span { position: relative; padding: 0 14px; background: var(--paper); }

.contact-intro {
  margin: 0 0 26px;
  color: var(--ink-soft);
  font-size: 1rem;
  text-align: center;
}

.contact-form,
.form-success {
  padding: 28px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  text-align: left;
}

.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
@media (max-width: 600px) {
  .field-row { grid-template-columns: 1fr; }
  .contact-form, .form-success { padding: 22px 18px; }
}

.field { margin-bottom: 18px; }

.field__label {
  display: block;
  margin-bottom: 6px;
  font-size: 0.9rem;
  font-weight: 600;
}

.field__control {
  display: block;
  width: 100%;
  min-height: 46px;
  padding: 10px 12px;
  background: var(--paper);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  font-size: 1rem;           /* 16px stops iOS zooming into the field */
  line-height: 1.4;
  transition: border-color 0.15s, background-color 0.15s;
}
.field__control:hover { border-color: var(--ink-soft); }
.field__control:focus {
  outline: 2px solid var(--sage);
  outline-offset: 1px;
  border-color: var(--sage);
  background: var(--white);
}
.field__control::placeholder { color: #7A7F86; }

select.field__control {
  padding-right: 40px;
  -webkit-appearance: none;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%234B5866' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  cursor: pointer;
}

textarea.field__control { min-height: 120px; resize: vertical; }

.field__control[aria-invalid="true"] {
  border-color: var(--danger);
  background-color: #FFF9F7;
}
.field__control[aria-invalid="true"]:focus { outline-color: var(--danger); }

.field__error {
  margin-top: 6px;
  color: var(--danger);
  font-size: 0.88rem;
  font-weight: 500;
  line-height: 1.4;
}

.consent {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  align-items: start;
  color: var(--ink-soft);
  font-size: 0.9rem;
  line-height: 1.45;
  cursor: pointer;
}
.consent input {
  width: 20px;
  height: 20px;
  margin: 0;
  accent-color: var(--sage);
  cursor: pointer;
}
.consent a { color: var(--sage-deep); font-weight: 600; }
.consent + .field__error { margin-left: 32px; }

.field--consent { margin: 4px 0 22px; }

/* Spam trap — hidden from people, visible to bots */
.hp {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-status:not(:empty) {
  margin-top: 16px;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  font-size: 0.92rem;
  line-height: 1.5;
}
.form-status.is-error {
  background: var(--danger-mist);
  border-left: 3px solid var(--danger);
  color: var(--danger);
}
.form-status a { color: inherit; font-weight: 600; }

.form-note {
  margin-top: 14px;
  color: var(--ink-soft);
  font-size: 0.84rem;
  text-align: center;
}

.form-success {
  background: var(--sage-mist);
  border-color: var(--sage);
  text-align: center;
}
.form-success__icon {
  width: 44px;
  height: 44px;
  margin: 0 auto 14px;
  color: var(--sage-deep);
}
.form-success__title { margin-bottom: 8px; font-size: 1.4rem; }
.form-success__title:focus { outline: none; }
.form-success p { max-width: 44ch; margin-inline: auto; color: var(--sage-deep); }

/* 11. Footer -------------------------------------------------------------- */
.site-footer {
  padding-block: 40px 32px;
  background: var(--sage-deep);
  color: #C7D6CE;
  font-size: 0.88rem;
}
.site-footer .wrap { display: flex; flex-direction: column; gap: 14px; }
.site-footer p { max-width: 80ch; line-height: 1.7; }
.site-footer a { color: var(--gold-light); }
.site-footer :focus-visible { outline-color: var(--gold-light); }

.footer-links { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 6px; }
.footer-links a { font-weight: 600; text-decoration: none; }
.footer-links a:hover { text-decoration: underline; }

/* 12. Legal & 404 pages --------------------------------------------------- */
.legal { padding-block: 64px 88px; }
.legal__title { font-size: clamp(2rem, 4vw, 2.8rem); }
.legal__meta { margin-top: 12px; color: var(--ink-soft); font-size: 0.95rem; }

.prose { margin-top: 36px; color: var(--ink-soft); font-size: 1.02rem; }
.prose h2 { margin: 44px 0 12px; font-size: 1.4rem; }
.prose h2:first-child { margin-top: 0; }
.prose p,
.prose ul,
.prose ol { margin: 0 0 16px; line-height: 1.75; }
.prose ul,
.prose ol { padding-left: 1.3em; }
.prose li { margin-bottom: 6px; }
.prose a { color: var(--sage-deep); font-weight: 600; }
.prose strong { color: var(--ink); }

.placeholder {
  padding: 14px 18px;
  background: var(--paper-2);
  border: 1.5px dashed var(--gold-deep);
  border-radius: var(--radius-sm);
  color: var(--ink);
  font-size: 0.95rem;
}

.notfound { padding-block: 120px; text-align: center; }
.notfound__code {
  color: var(--gold-deep);
  font-family: var(--font-mono);
  font-size: 0.9rem;
}
.notfound__title { margin-top: 10px; font-size: clamp(2rem, 4vw, 2.6rem); }
.notfound__text { max-width: 44ch; margin: 14px auto 32px; color: var(--ink-soft); }

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

@media print {
  .site-header,
  .skip-link,
  .hero__horizon,
  .contact,
  .book .btn { display: none !important; }
  body { background: #fff; }
  .site-footer { background: none; color: #000; }
  .site-footer a { color: #000; }
  .faq-item p { display: block; }
}
