:root {
  --paper: #faf8f4;
  --paper-deep: #f2eee6;
  --ink: #1f2328;
  --ink-soft: #565c66;
  --rule: #e2dcd1;
  --brand: #4d5a8f;
  --brand-dark: #383f66;
  --brick: #9a4a2b;
  --focus: #1f6feb;

  --serif: "Source Serif 4", Georgia, "Times New Roman", serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  --measure: 62ch;
  --wrap: 1080px;
  --gutter: 1rem;
}
@media (min-width: 768px) { :root { --gutter: 2rem; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 1.0625rem/1.65 var(--sans);
}

img, iframe { display: block; max-width: 100%; }

h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.2; margin: 0 0 0.75rem; }
h1 { font-size: clamp(2rem, 1.5rem + 2.2vw, 3rem); letter-spacing: -0.015em; }
h2 { font-size: clamp(1.5rem, 1.3rem + 0.9vw, 1.9rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1rem; max-width: var(--measure); }
p.intro { font-size: 1.2rem; color: var(--ink-soft); }
small, .small { font-size: 0.875rem; color: var(--ink-soft); }

a { color: var(--brand); text-underline-offset: 0.18em; text-decoration-thickness: 1px; }
a:hover { color: var(--brand-dark); text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap;
}
.skip-link { position: absolute; left: 1rem; top: -100px; background: var(--ink); color: #fff; padding: 0.5rem 1rem; z-index: 100; }
.skip-link:focus { top: 1rem; color: #fff; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.block { padding: 3.5rem 0; border-top: 1px solid var(--rule); }
@media (min-width: 768px) { .block { padding: 4.5rem 0; } }
.block--tint { background: var(--paper-deep); }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgb(250 248 244 / 0.86);
  -webkit-backdrop-filter: saturate(160%) blur(12px); backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid var(--rule);
  transition: box-shadow 0.3s ease, border-color 0.3s ease;
}
.site-header.is-scrolled { border-bottom-color: transparent; box-shadow: 0 10px 30px -18px rgb(31 35 40 / 0.35); }
.site-header .wrap { display: flex; align-items: center; gap: 0.6rem; min-height: 68px; }
.wordmark { margin-right: auto; }
.wordmark { color: var(--ink); text-decoration: none; font-family: var(--serif); font-size: 1.2rem; font-weight: 600; line-height: 1.1; }
.wordmark span { display: block; font-family: var(--sans); font-size: 0.75rem; font-weight: 400; color: var(--ink-soft); letter-spacing: 0.01em; }
.wordmark:hover { color: var(--ink); }

.nav-toggle {
  font: 500 0.95rem var(--sans); color: var(--ink);
  background: transparent; border: 1px solid var(--rule); border-radius: 4px;
  min-height: 44px; padding: 0 0.9rem; cursor: pointer;
}
.site-nav { display: none; }
.site-nav.is-open {
  display: block; position: absolute; left: 0; right: 0; top: 100%; z-index: 20;
  background: var(--paper); border-bottom: 1px solid var(--rule); padding: 0.5rem var(--gutter) 1rem;
}
.site-nav ul { list-style: none; margin: 0; padding: 0; }
.site-nav a { display: block; padding: 0.7rem 0; color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--rule); }
.site-nav li:last-child a { border-bottom: 0; }
.site-nav a[aria-current="page"] { font-weight: 600; }
.header-contact {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 1.1rem;
  border-radius: 999px; background: var(--brand); color: #fff;
  font-weight: 600; font-size: 0.95rem; text-decoration: none; white-space: nowrap;
  box-shadow: 0 8px 20px -10px rgb(56 63 102 / 0.75);
  transition: background-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}
.header-contact:hover { background: var(--brand-dark); color: #fff; text-decoration: none; transform: translateY(-1px); box-shadow: 0 12px 24px -10px rgb(56 63 102 / 0.8); }
.header-contact[aria-current="page"] { background: var(--brand-dark); }

@media (min-width: 900px) {
  .nav-toggle { display: none; }
  .site-nav, .site-nav.is-open { display: block; position: static; padding: 0; border: 0; background: none; }
  .site-nav ul { display: flex; gap: 1.6rem; }
  .site-nav a { padding: 0.25rem 0; border: 0; font-size: 0.97rem; }
  .site-nav a:hover { text-decoration: underline; }
  .site-nav a[aria-current="page"] { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 0.4em; font-weight: 500; }
  .site-nav { margin-right: 1.25rem; }
}

/* Buttons */
.button {
  display: inline-block;
  padding: 0.75rem 1.25rem; min-height: 48px;
  border-radius: 4px; border: 1px solid var(--brand);
  background: var(--brand); color: #fff;
  font: 600 1rem/1.4 var(--sans); text-decoration: none; cursor: pointer;
}
.button:hover { background: var(--brand-dark); border-color: var(--brand-dark); color: #fff; text-decoration: none; }
.button--plain { background: transparent; color: var(--brand); }
.button--plain:hover { background: transparent; color: var(--brand-dark); }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem 1.25rem; margin-top: 1.5rem; }

/* Home opener */
.opener { padding: 3rem 0 3.5rem; }
.opener .wrap { display: grid; gap: 2.5rem; align-items: center; }
@media (min-width: 900px) { .opener .wrap { grid-template-columns: 1fr 1.05fr; gap: 3.5rem; } .opener { padding: 4.5rem 0; } }
.opener figure { margin: 0; }
.opener img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; object-position: center 70%; border-radius: 2px; }
@media (min-width: 900px) { .opener img { aspect-ratio: 4 / 3; object-position: center; } }
figcaption { margin-top: 0.5rem; font-size: 0.8rem; color: var(--ink-soft); }
figcaption a { color: inherit; }

/* Page title area */
.page-title { padding: 3rem 0 2.5rem; }
.page-title p { margin-bottom: 0; }

/* "Where to go" list */
.routes { list-style: none; margin: 1.5rem 0 0; padding: 0; border-top: 1px solid var(--ink); }
.routes li { border-bottom: 1px solid var(--rule); }
.routes a {
  display: grid; gap: 0.15rem 2rem;
  padding: 1.15rem 0; color: var(--ink); text-decoration: none;
}
@media (min-width: 720px) { .routes a { grid-template-columns: 18rem 1fr auto; align-items: baseline; } }
.routes strong { font-family: var(--serif); font-size: 1.25rem; font-weight: 600; }
.routes span { color: var(--ink-soft); }
.routes em { font-style: normal; color: var(--brand); font-weight: 600; white-space: nowrap; }
.routes a:hover strong { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.2em; }

/* Two-column prose */
.cols { display: grid; gap: 1.5rem 3.5rem; }
@media (min-width: 900px) { .cols { grid-template-columns: 17rem 1fr; } }
.cols > h2 { margin-top: 0.1rem; }

/* Numbered stages */
.stages { list-style: none; counter-reset: stage; margin: 0; padding: 0; }
.stages > li { counter-increment: stage; display: grid; gap: 0.25rem 1.5rem; padding: 1.5rem 0; border-top: 1px solid var(--rule); }
.stages > li:first-child { border-top: 0; padding-top: 0; }
@media (min-width: 720px) { .stages > li { grid-template-columns: 3rem 1fr; } }
.stages > li::before { content: counter(stage) "."; font-family: var(--serif); font-size: 1.4rem; color: var(--brick); line-height: 1.2; }
.stages h3 { margin-bottom: 0.35rem; }
.stages p { margin: 0; color: var(--ink-soft); }

/* Plain lists */
.plain { margin: 0 0 1rem; padding-left: 1.2rem; max-width: var(--measure); }
.plain li { margin-bottom: 0.35rem; }

/* FAQ */
.faq details { border-bottom: 1px solid var(--rule); max-width: 48rem; }
.faq details:first-of-type { border-top: 1px solid var(--rule); }
.faq summary {
  cursor: pointer; list-style: none;
  padding: 1rem 2rem 1rem 0; position: relative;
  font-weight: 600;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0.25rem; top: 0.9rem; font-size: 1.3rem; font-weight: 400; color: var(--ink-soft); }
.faq details[open] summary::after { content: "\2013"; }
.faq details p { color: var(--ink-soft); padding-bottom: 0.5rem; }

/* Notes */
.note { border-left: 3px solid var(--brick); padding: 0.25rem 0 0.25rem 1rem; margin: 0 0 2rem; max-width: 48rem; }
.note p { margin: 0; }

/* Contact */
.contact-lines { list-style: none; padding: 0; margin: 0 0 1.5rem; }
.contact-lines li { padding: 0.6rem 0; border-bottom: 1px solid var(--rule); }
.contact-lines b { display: inline-block; min-width: 5.5rem; font-weight: 500; color: var(--ink-soft); }

.form { display: grid; gap: 1.25rem; max-width: 34rem; }
.field { display: grid; gap: 0.35rem; }
.field label { font-weight: 600; font-size: 0.97rem; }
.field label span { font-weight: 400; color: var(--ink-soft); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 46px; padding: 0.6rem 0.75rem;
  font: inherit; color: var(--ink); background: #fff;
  border: 1px solid #767f9c; border-radius: 3px;
}
.field textarea { min-height: 150px; resize: vertical; }
.form-status { padding: 0.9rem 1rem; background: #fff; border: 1px solid var(--rule); border-left: 3px solid var(--brand); }
.form-status[hidden], .honeypot { display: none; }

.listings { padding: 0.5rem 0 3.5rem; }
.listings-frame {
  border-radius: 20px; overflow: hidden; background: #fff;
  box-shadow: 0 1px 2px rgb(31 35 40 / 0.04), 0 16px 40px -24px rgb(31 35 40 / 0.25);
}
.listings-frame iframe { display: block; width: 100%; height: 760px; border: 0; scroll-margin-top: 96px; transition: height 0.3s ease; }
.listings-note { margin: 1rem 0 0; }

/* Footer */
.site-footer { border-top: 1px solid var(--ink); padding: 2.5rem 0 2rem; font-size: 0.95rem; color: var(--ink-soft); }
.site-footer .wrap { display: grid; gap: 1.5rem 3rem; }
@media (min-width: 800px) { .site-footer .wrap { grid-template-columns: 1.3fr 1fr 1fr; } }
.site-footer p { margin: 0 0 0.4rem; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 0.35rem; }
.site-footer .fine {
  grid-column: 1 / -1; padding-top: 1.25rem; border-top: 1px solid var(--rule); font-size: 0.85rem;
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.5rem 2rem;
}
.site-footer .fine p { margin: 0; max-width: none; }
.home .site-footer { border-top-color: var(--rule); }

.preview-banner { background: var(--ink); color: #fff; text-align: center; font-size: 0.85rem; padding: 0.4rem 1rem; }

/* ---------- Home page: softer, flowing layout ---------- */
:root { interpolate-size: allow-keywords; }
.button { border-radius: 8px; transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.2s ease; }
.button:hover { transform: translateY(-1px); }

.home {
  background:
    radial-gradient(56rem 34rem at 88% 0%, #e8eaf4 0%, rgb(232 234 244 / 0) 72%) no-repeat,
    radial-gradient(44rem 30rem at 0% 38rem, #f2e8e0 0%, rgb(242 232 224 / 0) 72%) no-repeat,
    var(--paper);
}
.home .site-header { border-bottom-color: transparent; background: rgb(250 248 244 / 0.7); }
.home .site-nav.is-open { background: var(--paper); border-radius: 0 0 16px 16px; box-shadow: 0 18px 30px -20px rgb(31 35 40 / 0.25); }

.narrow { max-width: 46rem; margin: 0 auto; padding: 0 var(--gutter); }

.soft-link { font-weight: 600; text-decoration: none; }
.soft-link span { display: inline-block; transition: transform 0.25s ease; }
.soft-link:hover { text-decoration: none; }
.soft-link:hover span { transform: translateX(4px); }

.home-hero { padding: 2rem 0 3.5rem; }
.home-hero .wrap { display: grid; gap: 2.5rem; align-items: center; }
@media (min-width: 900px) {
  .home-hero { padding: 3.5rem 0 5.5rem; }
  .home-hero .wrap { grid-template-columns: 1fr 1.05fr; gap: 4rem; }
}
.home-hero__call { margin-top: 1.5rem; }
.home-hero__photo { margin: 0; }
.home-hero__photo img {
  width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; object-position: center 70%;
  border-radius: 20px;
  box-shadow: 0 30px 60px -30px rgb(31 35 40 / 0.45);
}
@media (min-width: 900px) { .home-hero__photo img { aspect-ratio: 5 / 4; object-position: center; } }

.home-section { padding: 3.5rem 0; }
@media (min-width: 768px) { .home-section { padding: 4.5rem 0; } }
.home-section h2 { margin-bottom: 1.25rem; }
.home-section--warm {
  background: linear-gradient(to bottom, rgb(243 239 232 / 0) 0%, #f3efe8 18%, #f3efe8 82%, rgb(243 239 232 / 0) 100%);
}

.home-routes {
  list-style: none; margin: 0; padding: 0.4rem;
  background: #fff; border-radius: 20px;
  box-shadow: 0 1px 2px rgb(31 35 40 / 0.04), 0 16px 40px -24px rgb(31 35 40 / 0.25);
}
.home-routes li + li { border-top: 1px solid #efebe4; margin: 0 1rem; }
.home-routes li + li a { margin: 0 -1rem; }
.home-routes a {
  display: flex; align-items: center; gap: 1rem;
  padding: 1.1rem 1.25rem; border-radius: 14px;
  color: var(--ink); text-decoration: none;
  transition: background-color 0.25s ease;
}
.home-routes a:hover { background: #f7f4ef; color: var(--ink); }
.home-routes__text { flex: 1; display: grid; gap: 0.15rem; }
.home-routes strong { font-family: var(--serif); font-size: 1.2rem; font-weight: 600; }
.home-routes__text span { color: var(--ink-soft); }
.home-routes__go { color: var(--brand); font-size: 1.25rem; transition: transform 0.25s ease; }
.home-routes a:hover .home-routes__go { transform: translateX(4px); }

.home-faq { display: grid; gap: 0.6rem; }
.home-faq details {
  background: #fff; border-radius: 14px;
  box-shadow: 0 1px 2px rgb(31 35 40 / 0.04);
  transition: box-shadow 0.25s ease;
}
.home-faq details[open] { box-shadow: 0 12px 30px -20px rgb(31 35 40 / 0.3); }
.home-faq summary {
  cursor: pointer; list-style: none; position: relative;
  padding: 1rem 3rem 1rem 1.25rem; font-weight: 600; border-radius: 14px;
}
.home-faq summary::-webkit-details-marker { display: none; }
.home-faq summary::after {
  content: ""; position: absolute; right: 1.25rem; top: 50%;
  width: 9px; height: 9px; margin-top: -6px;
  border-right: 2px solid var(--ink-soft); border-bottom: 2px solid var(--ink-soft);
  transform: rotate(45deg); transition: transform 0.3s ease;
}
.home-faq details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.home-faq details p { margin: 0; padding: 0 1.25rem 1.1rem; color: var(--ink-soft); }
.home-faq details::details-content {
  block-size: 0; overflow: hidden;
  transition: block-size 0.3s ease, content-visibility 0.3s allow-discrete;
}
.home-faq details[open]::details-content { block-size: auto; }

.home-reach {
  background: linear-gradient(135deg, #eceef7 0%, #f4eee8 100%);
  border-radius: 24px; padding: 2.25rem 1.5rem;
}
@media (min-width: 768px) { .home-reach { padding: 3rem; } }
.home-reach .actions { margin-top: 1.25rem; }

.js .reveal { opacity: 0; transform: translateY(16px); transition: opacity 0.8s ease, transform 0.8s ease; }
.js .reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .button, .header-contact, .site-header, .soft-link span, .home-routes a, .home-routes__go, .home-faq details, .home-faq summary::after { transition: none; }
  .button:hover, .header-contact:hover, .soft-link:hover span, .home-routes a:hover .home-routes__go { transform: none; }
  .home-faq details::details-content { transition: none; }
}

@media (max-width: 479px) {
  .wordmark { font-size: 1.05rem; }
  .wordmark span { display: none; }
  .header-contact { padding: 0 0.95rem; }
  .nav-toggle { padding: 0 0.75rem; }
}
