/* Layout concept: a quiet harbor. Pale shell ground, deep sea ink, one gold star as the guiding mark.
   Arched photo frames echo a chapel window; everything else stays calm and readable. */
:root {
  --ink: #313d52;
  --ink-soft: #49566b;
  --muted: #646f80;
  --shell: #f3f6f5;
  --paper: #ffffff;
  --glass: #e1ecf0;
  --sea: #1d6c8e;
  --star: #8f6c08;
  --gold: #f6c314;
  --line: rgba(49, 61, 82, 0.14);
  --on-ink: #eef4f3;
  --on-ink-muted: #c3cad6;

  --display: "Cormorant Garamond", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --body: "Hanken Grotesk", "Segoe UI", system-ui, -apple-system, sans-serif;

  --step-0: 1.0625rem;
  --step-1: 1.25rem;
  --step-2: clamp(1.6rem, 1.3rem + 1.2vw, 2.1rem);
  --step-3: clamp(2.1rem, 1.6rem + 2.2vw, 3rem);
  --step-4: clamp(2.6rem, 1.8rem + 3.6vw, 4.4rem);

  --wrap: 1140px;
  --radius: 14px;
  color-scheme: light;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; animation: none !important; } }

body {
  margin: 0;
  background: var(--shell);
  color: var(--ink);
  font-family: var(--body);
  font-size: var(--step-0);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--sea); text-underline-offset: 3px; }
a:hover { color: var(--ink); }
:focus-visible { outline: 3px solid var(--star); outline-offset: 3px; border-radius: 4px; }

h1, h2, h3 { font-family: var(--display); font-weight: 600; line-height: 1.08; margin: 0; text-wrap: balance; letter-spacing: -0.01em; }
h1 { font-size: var(--step-4); }
h2 { font-size: var(--step-3); }
h3 { font-size: var(--step-2); }
h1 em, h2 em { font-style: italic; font-weight: 500; color: var(--sea); }
p { margin: 0; }
.prose { display: grid; gap: 1.1rem; max-width: 65ch; }
.prose p { color: var(--ink-soft); }
.lede { font-size: var(--step-1); color: var(--ink-soft); max-width: 46ch; }

.eyebrow {
  display: inline-flex; align-items: center; gap: .55rem;
  font-size: .78rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--star);
}
.eyebrow svg { width: 14px; height: 14px; fill: var(--gold); flex: none; }

.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: clamp(16px, 4vw, 40px); }
.section { padding-block: clamp(3.5rem, 7vw, 6rem); }
.section-head { display: grid; gap: .9rem; margin-bottom: clamp(2rem, 4vw, 3rem); max-width: 62ch; }

/* Skip link */
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: var(--paper); padding: .5rem 1rem; border-radius: 8px; z-index: 50; }
.skip:focus { left: 16px; }

/* Header */
.site-header {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20;
  background: rgba(243, 246, 245, 0.92);
  backdrop-filter: saturate(1.4) blur(10px);
  -webkit-backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-row { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 72px; }
.brand { display: flex; align-items: center; gap: .7rem; text-decoration: none; color: var(--ink); }
.brand svg { width: 30px; height: 30px; fill: var(--star); flex: none; }
.brand-name { font-family: var(--display); font-size: 1.55rem; font-weight: 600; line-height: 1; display: block; }
.brand-sub { font-size: .66rem; letter-spacing: .22em; text-transform: uppercase; color: var(--muted); display: block; margin-top: 3px; }

.nav { display: none; align-items: center; gap: 1.3rem; }
.nav a { white-space: nowrap; }
.nav a { color: var(--ink); text-decoration: none; font-size: .95rem; font-weight: 500; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--sea); }
.nav a[aria-current="page"] { text-decoration: underline; text-decoration-color: var(--star); text-decoration-thickness: 2px; }

.mnav { position: relative; }
.mnav summary {
  list-style: none; cursor: pointer; font-weight: 600; font-size: .95rem;
  padding: .55rem 1rem; border: 1px solid var(--line); border-radius: 999px; background: var(--paper); color: var(--ink);
}
.mnav summary::-webkit-details-marker { display: none; }
.mnav[open] summary { background: var(--ink); color: var(--paper); }
.mnav nav {
  position: absolute; right: 0; top: calc(100% + 10px); width: min(300px, calc(100vw - 32px));
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: 0 18px 40px rgba(20, 48, 74, 0.14); padding: .6rem; display: grid;
}
.mnav nav a { padding: .7rem .8rem; border-radius: 8px; color: var(--ink); text-decoration: none; font-weight: 500; }
.mnav nav a:hover { background: var(--shell); }
.mnav nav .btn { margin-top: .4rem; justify-content: center; }

@media (min-width: 1120px) {
  .nav { display: flex; }
  .mnav { display: none; }
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .85rem 1.4rem; border-radius: 999px; font-weight: 600; font-size: .98rem;
  text-decoration: none; border: 1.5px solid var(--ink); background: var(--ink); color: var(--paper);
  transition: background .2s ease, color .2s ease, transform .2s ease;
  cursor: pointer; font-family: var(--body);
}
.btn:hover { background: var(--sea); border-color: var(--sea); color: var(--paper); }
.btn-ghost { background: transparent; color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.btn-light { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.btn-light:hover { background: var(--star); border-color: var(--star); color: var(--paper); }
.nav .btn { padding: .6rem 1.15rem; color: var(--paper); }
.nav .btn:hover { color: var(--paper); }
.btn-row { display: flex; flex-wrap: wrap; gap: .75rem; }

/* Hero */
.hero { padding-block: clamp(2.5rem, 6vw, 5rem) clamp(3rem, 6vw, 5rem); }
.hero-grid { display: grid; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.hero-copy { display: grid; gap: 1.4rem; min-width: 0; }
.creds { font-size: .9rem; color: var(--muted); border-top: 1px solid var(--line); padding-top: 1.1rem; max-width: 52ch; }
@media (min-width: 880px) { .hero-grid { grid-template-columns: 1.15fr .85fr; } }

/* Arched photo frame with a fallback that stands on its own */
.arch {
  position: relative; overflow: hidden; width: 100%; max-width: 100%;
  aspect-ratio: 4 / 5; border-radius: 999px 999px 18px 18px;
  background:
    radial-gradient(120% 70% at 50% 0%, #ffffff 0%, var(--glass) 55%, #b9d6d2 100%);
  border: 1px solid var(--line);
}
.arch.small { aspect-ratio: 1 / 1; border-radius: 999px; }
.arch .fallback { position: absolute; inset: 0; display: grid; place-items: center; }
.arch .fallback svg { width: 34%; fill: var(--gold); }
.arch .fallback .waves { position: absolute; bottom: 0; left: 0; width: 100%; height: 26%; }
.arch img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero .arch { max-width: 440px; justify-self: center; }

/* Services */
.cards { display: grid; gap: 1.1rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.card {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.6rem 1.5rem 1.4rem; display: flex; flex-direction: column; gap: .8rem;
  text-decoration: none; color: var(--ink); transition: border-color .2s ease, transform .2s ease;
}
a.card:hover { border-color: var(--sea); transform: translateY(-2px); color: var(--ink); }
.card h3 { font-size: 1.7rem; }
.card p { color: var(--ink-soft); font-size: 1rem; }
.card .more { margin-top: auto; padding-top: .4rem; font-weight: 600; font-size: .92rem; color: var(--sea); }
.card.alt { background: var(--glass); border-color: transparent; }

/* Mission band */
.band { background: var(--ink); color: var(--on-ink); }
.band h2, .band h3 { color: var(--on-ink); }
.band p { color: var(--on-ink-muted); }
.mission { display: grid; gap: 1.6rem; justify-items: start; max-width: 860px; }
.mission blockquote { margin: 0; font-family: var(--display); font-size: var(--step-3); line-height: 1.18; font-weight: 500; color: var(--on-ink); text-wrap: balance; }
.mission .eyebrow { color: var(--gold); }

/* Steps (a real sequence) */
.steps { display: grid; gap: 1.1rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); counter-reset: step; }
.step { border-top: 2px solid var(--ink); padding-top: 1.2rem; display: grid; gap: .6rem; align-content: start; }
.step::before { counter-increment: step; content: "Step " counter(step); font-size: .78rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--star); }
.step h3 { font-size: 1.6rem; }
.step p { color: var(--ink-soft); font-size: 1rem; }

/* Two-column split */
.split { display: grid; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.split > * { min-width: 0; }
@media (min-width: 880px) {
  .split { grid-template-columns: 1.2fr .8fr; }
  .split.media-left { grid-template-columns: .8fr 1.2fr; }
}

.panel { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.7rem; display: grid; gap: 1rem; }
.panel h3 { font-size: 1.6rem; }

.ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: .65rem; }
.ticks li { display: grid; grid-template-columns: 18px 1fr; gap: .7rem; align-items: start; color: var(--ink); }
.ticks li svg { width: 14px; height: 14px; fill: var(--gold); margin-top: .42em; }

/* Comfort section */
.comfort { background: var(--glass); }
.comfort-grid { display: grid; gap: 1.1rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); }
.comfort-item { display: grid; gap: .4rem; align-content: start; }
.comfort-item h3 { font-family: var(--body); font-size: 1.05rem; font-weight: 600; letter-spacing: 0; }
.comfort-item p { color: var(--ink-soft); font-size: .98rem; }

/* Testimonial */
.quote { display: grid; gap: 1.3rem; max-width: 820px; margin-inline: auto; text-align: center; justify-items: center; }
.quote svg { width: 26px; height: 26px; fill: var(--gold); }
.quote blockquote { margin: 0; font-family: var(--display); font-style: italic; font-size: clamp(1.45rem, 1.1rem + 1.3vw, 2rem); line-height: 1.35; color: var(--ink); }
.quote cite { font-style: normal; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; font-size: .8rem; color: var(--muted); }

/* Facts strip */
.facts { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); }
.fact { background: var(--paper); padding: 1.3rem 1.4rem; display: grid; gap: .25rem; align-content: start; }
.fact strong { font-family: var(--display); font-size: 1.45rem; font-weight: 600; }
.fact span { color: var(--ink-soft); font-size: .95rem; }

/* Page hero for inner pages */
.page-hero { padding-block: clamp(2.5rem, 6vw, 4.5rem) clamp(2rem, 4vw, 3rem); border-bottom: 1px solid var(--line); }
.page-hero .inner { display: grid; gap: 1.2rem; max-width: 760px; }

/* FAQ */
.faq { display: grid; gap: .7rem; max-width: 820px; }
.faq details { background: var(--paper); border: 1px solid var(--line); border-radius: 12px; padding: 0 1.3rem; }
.faq summary { cursor: pointer; list-style: none; padding: 1.1rem 0; font-weight: 600; display: flex; justify-content: space-between; gap: 1rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.4rem; line-height: 1; color: var(--star); flex: none; }
.faq details[open] summary::after { content: "–"; }
.faq details p { padding-bottom: 1.2rem; color: var(--ink-soft); max-width: 70ch; }

/* Credentials */
.cred-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.cred-list li { display: grid; gap: .1rem; padding-block: .85rem; border-bottom: 1px solid var(--line); }
.cred-list li:last-child { border-bottom: 0; }
.cred-list strong { font-weight: 600; }
.cred-list span { color: var(--muted); font-size: .93rem; }

/* Name note */
.name-note { display: grid; gap: .7rem; padding: 1.6rem; border-radius: var(--radius); background: var(--ink); color: var(--on-ink); }
.name-note h3 { color: var(--on-ink); font-size: 1.7rem; }
.name-note p { color: var(--on-ink-muted); }
.name-note .eyebrow { color: var(--gold); }
.name-star { width: 64px; height: auto; background: var(--paper); border-radius: 50%; padding: 6px; }

/* Contact */
.contact-grid { display: grid; gap: clamp(2rem, 5vw, 3.5rem); align-items: start; }
.contact-grid > * { min-width: 0; }
@media (min-width: 900px) { .contact-grid { grid-template-columns: 1.1fr .9fr; } }
form.contact { display: grid; gap: 1rem; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(1.3rem, 3vw, 2rem); }
.field { display: grid; gap: .35rem; }
.field-row { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); }
label { font-weight: 600; font-size: .92rem; }
input, select, textarea {
  font: inherit; font-size: 1rem; color: var(--ink); background: var(--shell);
  border: 1px solid var(--line); border-radius: 10px; padding: .75rem .85rem; width: 100%;
}
input:focus, select:focus, textarea:focus { outline: 2px solid var(--sea); outline-offset: 1px; background: var(--paper); }
textarea { min-height: 130px; resize: vertical; }
.hint { font-size: .86rem; color: var(--muted); }
.form-status { font-size: .95rem; color: var(--ink); background: var(--glass); border-radius: 10px; padding: .8rem 1rem; }
.contact-lines { display: grid; gap: 1.1rem; }
.contact-line { display: grid; gap: .15rem; }
.contact-line .label { font-size: .75rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.contact-line a, .contact-line .val { font-family: var(--display); font-size: 1.6rem; font-weight: 600; color: var(--ink); text-decoration: none; overflow-wrap: anywhere; }
.contact-line a:hover { color: var(--sea); }
.person { display: flex; align-items: center; gap: 1rem; }
.person .arch.small { width: 84px; flex: none; }
.person strong { display: block; font-family: var(--display); font-size: 1.4rem; }
.person span { color: var(--muted); font-size: .92rem; }

/* CTA band */
.cta { background: var(--sea); color: var(--paper); }
.cta h2 { text-wrap: balance; }
.cta .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.5rem; }
.cta h2 { color: var(--paper); font-size: var(--step-3); max-width: 20ch; }
.cta p { color: #e3f0f5; margin-top: .6rem; }

/* Footer */
.site-footer { background: var(--paper); border-top: 1px solid var(--line); color: var(--ink-soft); padding-block: 3.5rem 2.5rem; font-size: .95rem; }
.footer-grid { display: grid; gap: 2rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); }
.site-footer h4 { margin: 0 0 .8rem; font-size: .75rem; letter-spacing: .16em; text-transform: uppercase; color: var(--star); font-weight: 600; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .45rem; }
.site-footer a { color: var(--ink); text-decoration: none; }
.site-footer a:hover { color: var(--sea); }
.legal { margin-top: 2.5rem; padding-top: 1.4rem; border-top: 1px solid var(--line); font-size: .84rem; color: var(--muted); display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; justify-content: space-between; }

/* Gentle load-in for the hero only, from a visible resting state */
@keyframes rise { from { transform: translateY(10px); } to { transform: none; } }
.hero-copy > * { animation: rise .7s ease both; }
.hero-copy > *:nth-child(2) { animation-delay: .06s; }
.hero-copy > *:nth-child(3) { animation-delay: .12s; }
.hero-copy > *:nth-child(4) { animation-delay: .18s; }

/* Real logo */
.brand .logo { height: 52px; width: auto; }
@media (max-width: 420px) { .brand .logo { height: 44px; } }
.logo-stacked { width: 150px; height: auto; }
.header-row { min-height: 78px; }

/* Treatment room photo */
.room { border-radius: 18px; overflow: hidden; aspect-ratio: 4 / 3; max-width: 100%; background: var(--glass); }
.room img { width: 100%; height: 100%; object-fit: cover; }
.comfort .comfort-grid { grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); align-content: center; }
