/* =============================================================================
   The Waters (thewatersspa.com) — per-prospect design system.
   Blueprint: personalcare/spa-bathhouse (abathhouse.com structure recreated at
   the prospect's real brand and mood).

   MOOD — the prospect's own siteScheme is genuinely DARK AQUATIC NAVY
   (bands #011a37 / #001838, footer + accents in steel-water blues #568eb0 /
   #226398, coherent=true). So the blueprint's dark register is kept, but
   re-grounded in THEIR deep-water navy rather than Bathhouse's pitch black.
   All warmth arrives through photography (their real fireplace lounge, candle
   light), exactly the blueprint's "light comes from the photos" principle.

   PALETTE (from theme.json / siteScheme, logo colors as accents only):
     ground        #04182B   deep water navy (their #011a37 band, deepened)
     panel         #0A2540   raised card navy
     panel-2       #0D2C4A   form fields / hover
     ink           #EAF2F8   near-white with a cold cast
     muted         #9FB8CB   secondary text (7.5:1 on ground)
     accent        #568EB0   their steel water blue: rules, links, outlines
     accent-hi     #7FB0CE   hover / price text (6.7:1 on panel)
     topbar        #568EB0 bg with navy text (their real footer band color)

   FONTS — chosen for a serene water-themed day spa (no Fraunces, and not the
   house Jakarta default):
     Cormorant Garamond (display): a light, tall garamond whose long extenders
       and open counters read calm and fluid; set large and airy for the
       hero line and section headings — the "quiet luxury" voice of a retreat.
     IBM Plex Mono (labels): the blueprint's clinical-vs-warm tension — mono
       caps for kickers, prices, hours and nav gives the technical calm of the
       Bathhouse register without copying its look.
     IBM Plex Sans (body): Plex Mono's humanist sibling, so label and body
       share one skeleton; light weights stay soft against the dark ground.
   ========================================================================== */

:root {
  --ground: #04182B;
  --panel: #0A2540;
  --panel-2: #0D2C4A;
  --ink: #EAF2F8;
  --muted: #9FB8CB;
  --accent: #568EB0;
  --accent-hi: #7FB0CE;
  --line: rgba(86, 142, 176, 0.35);

  --font-display: "Cormorant Garamond", Georgia, serif;
  --font-body: "IBM Plex Sans", system-ui, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, monospace;

  --step-body: clamp(1rem, 0.97rem + 0.16vw, 1.0625rem);
  --step-lead: clamp(1.0625rem, 1rem + 0.35vw, 1.25rem);
  --step-h3: clamp(1.15rem, 1.05rem + 0.5vw, 1.5rem);
  --step-h2: clamp(1.7rem, 1.2rem + 2vw, 2.6rem);
  --step-h1: clamp(2.1rem, 1.2rem + 3.6vw, 4.2rem);
  --step-band: clamp(1.5rem, 1rem + 2.6vw, 3rem);

  --gutter: clamp(1.25rem, 4vw, 3.5rem);
  --section-y: clamp(3.5rem, 7vw, 6.5rem);
  --wrap: 1240px;
}

html { background: var(--ground); }
body {
  font-family: var(--font-body);
  font-size: var(--step-body);
  font-weight: 300;
  line-height: 1.65;
  color: var(--ink);
  background: var(--ground);
}
strong { font-weight: 500; }

a { color: var(--accent-hi); text-decoration-color: var(--line); text-underline-offset: 3px; }
a:hover { color: var(--ink); }

.skip-link { background: var(--panel); color: var(--ink); padding: 0.6rem 1rem; }

/* ---------- top bar (their real gift-card line) --------------------------- */
.topbar {
  background: var(--accent);
  color: #04182B;
  text-align: center;
  padding: 0.45rem var(--gutter);
}
.topbar p {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* ---------- nav ----------------------------------------------------------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(4, 24, 43, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0.65rem var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.nav-brand img { width: auto; height: 52px; }
.nav-panel { display: flex; align-items: center; gap: 1.6rem; }
.nav-panel a {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--muted);
}
.nav-panel a:hover { color: var(--ink); }
.nav-panel .nav-phone {
  color: var(--ink);
  border: 1px solid var(--accent);
  padding: 0.5rem 0.9rem;
  white-space: nowrap;
}
.nav-panel .nav-phone:hover { background: var(--panel-2); }

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--line);
  padding: 0.55rem 0.6rem;
  cursor: pointer;
}
.nav-toggle-bar {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--ink);
  margin: 4px 0;
}

@media (max-width: 60em) {
  .nav-toggle { display: block; }
  [data-tk-nav][data-tk-nav-open="false"] .nav-panel { display: none; }
  .nav-panel {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--ground);
    border-bottom: 1px solid var(--line);
    padding: 0.5rem var(--gutter) 1.25rem;
  }
  .nav-panel a { padding: 0.8rem 0; border-bottom: 1px solid rgba(86, 142, 176, 0.15); }
  .nav-panel .nav-phone { margin-top: 0.9rem; text-align: center; border-bottom: none; }
}

/* ---------- shared section furniture -------------------------------------- */
section { padding: var(--section-y) var(--gutter); }
.section-label {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--muted);
  text-align: center;
  margin: 0 0 2.6rem;
}
.section-label::after {
  content: "";
  display: block;
  width: 44px;
  height: 1px;
  background: var(--accent);
  margin: 0.9rem auto 0;
}

h1, h2, h3 { font-family: var(--font-display); font-weight: 500; line-height: 1.12; margin: 0; }

.btn {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 0.85rem 1.5rem;
  border: 1px solid var(--accent);
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}
.btn-solid { background: var(--accent); color: #04182B; font-weight: 500; }
.btn-solid:hover { background: var(--accent-hi); color: #04182B; }
.btn-ghost { background: transparent; color: var(--ink); }
.btn-ghost:hover { background: var(--panel-2); color: var(--ink); }
.btn-link {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  align-self: center;
}

/* ---------- hero ----------------------------------------------------------- */
.hero { position: relative; padding: 0; min-height: min(92vh, 860px); display: flex; }
.hero-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(4, 24, 43, 0.55) 0%, rgba(4, 24, 43, 0.35) 45%, rgba(4, 24, 43, 0.88) 100%),
    linear-gradient(100deg, rgba(4, 24, 43, 0.82) 0%, rgba(4, 24, 43, 0.25) 60%);
}
.hero-inner {
  position: relative;
  z-index: 1;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: clamp(3rem, 8vh, 6rem) var(--gutter);
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
  width: 100%;
}
.kicker {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--accent-hi);
  margin: 0 0 1.1rem;
}
.hero h1 { font-size: var(--step-h1); color: #FFFFFF; max-width: 14ch; }
.hero-lead { font-size: var(--step-lead); color: var(--ink); max-width: 44ch; margin: 1.3rem 0 2rem; }
.hero-actions { display: flex; gap: 0.9rem; flex-wrap: wrap; }

/* ---------- lead card (hero + footer forms) -------------------------------- */
.lead-card {
  background: rgba(10, 37, 64, 0.94);
  border: 1px solid var(--line);
  padding: clamp(1.4rem, 3vw, 2.2rem);
}
.form-heading { font-size: var(--step-h3); font-family: var(--font-display); }
.form-lead { color: var(--muted); font-size: 0.95rem; margin: 0.4rem 0 1.2rem; }
.field { margin-bottom: 0.9rem; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0.9rem; }
.label {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.35rem;
}
.input {
  width: 100%;
  background: var(--ground);
  border: 1px solid var(--line);
  color: var(--ink);
  padding: 0.7rem 0.8rem;
  font-size: 0.95rem;
}
.input:focus-visible { outline: 2px solid var(--accent-hi); outline-offset: 1px; }
.select { appearance: none; }
.textarea { min-height: 4.5rem; }
.submit { width: 100%; margin-top: 0.4rem; }
.form-actions { display: flex; flex-direction: column; gap: 0.8rem; }
.form-note { font-size: 0.8rem; color: var(--muted); line-height: 1.55; margin: 1rem 0 0; }
.form-note a { color: var(--accent-hi); }

@media (max-width: 60em) {
  .hero { min-height: 0; }
  .hero-inner { grid-template-columns: 1fr; padding-top: 3.2rem; padding-bottom: 3.2rem; }
  .field-row { grid-template-columns: 1fr; }
}

/* ---------- visit / location card ------------------------------------------ */
.visit-card {
  max-width: var(--wrap);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  background: var(--panel);
  border: 1px solid var(--line);
  overflow: hidden;
}
.visit-photo img { width: 100%; height: 100%; object-fit: cover; min-height: 300px; }
.visit-body { padding: clamp(1.6rem, 4vw, 3rem); display: flex; flex-direction: column; justify-content: center; }
.visit-body h2 { font-size: var(--step-h2); }
.visit-address { color: var(--muted); margin: 1.1rem 0 1.8rem; line-height: 1.7; }
.visit-actions { display: flex; gap: 1.2rem; flex-wrap: wrap; }

@media (max-width: 60em) {
  .visit-card { grid-template-columns: 1fr; }
  .visit-photo img { min-height: 220px; }
}

/* ---------- offerings ------------------------------------------------------ */
.offer-grid {
  max-width: var(--wrap);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(1rem, 2vw, 1.8rem);
}
.offer { display: block; text-decoration: none; color: var(--ink); }
.offer img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; filter: saturate(0.92); transition: filter 0.25s; }
.offer:hover img { filter: saturate(1.05); }
.offer-name {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.95rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin: 1.1rem 0 0.3rem;
  color: var(--ink);
}
.offer-price {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  color: var(--accent-hi);
  border: 1px solid var(--line);
  padding: 0.25rem 0.6rem;
  margin-bottom: 0.5rem;
}
.offer-sub { display: block; font-size: 0.88rem; color: var(--muted); }
.offer-note {
  max-width: 62ch;
  margin: 2.4rem auto 0;
  text-align: center;
  color: var(--muted);
  font-size: 0.9rem;
}

@media (max-width: 60em) { .offer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 34em) { .offer-grid { grid-template-columns: 1fr; } }

/* ---------- manifesto bands ------------------------------------------------ */
.band { position: relative; padding: 0; min-height: clamp(340px, 55vh, 560px); display: flex; align-items: center; }
.band-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.band-scrim { position: absolute; inset: 0; background: rgba(3, 16, 29, 0.58); }
.band-line {
  position: relative;
  z-index: 1;
  font-family: var(--font-mono);
  font-size: var(--step-band);
  line-height: 1.35;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #FFFFFF;
  text-align: center;
  max-width: 26ch;
  margin: 0 auto;
  padding: 3rem var(--gutter);
}
.band-type { background: var(--panel); min-height: 0; }
.band-type .band-line { color: var(--accent-hi); padding: clamp(3rem, 8vw, 5rem) var(--gutter); }

/* ---------- plan your visit ------------------------------------------------ */
.plan-grid {
  max-width: var(--wrap);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1rem, 2vw, 1.8rem);
}
.plan-card { background: var(--panel); border: 1px solid var(--line); }
.plan-card img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
/* rmt.jpg: keep the therapist's hands (lower half of frame) in the crop. */
.plan-card .img-rmt { object-position: center 65%; }
.plan-card h3 {
  font-family: var(--font-mono);
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 1.3rem 1.4rem 0;
}
.plan-card p { padding: 0.7rem 1.4rem 1.5rem; margin: 0; color: var(--muted); font-size: 0.93rem; }

@media (max-width: 60em) { .plan-grid { grid-template-columns: 1fr; } }

/* ---------- hours ---------------------------------------------------------- */
.hours { text-align: center; }
.hours-today {
  font-family: var(--font-display);
  font-size: var(--step-h2);
  margin: 0 0 2rem;
  color: #FFFFFF;
}
.hours-week {
  list-style: none;
  margin: 0 auto;
  padding: 0;
  max-width: 480px;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  letter-spacing: 0.06em;
}
.hours-week li {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  padding: 0.75rem 0.4rem;
  border-bottom: 1px solid rgba(86, 142, 176, 0.18);
  color: var(--muted);
}
.hours-week li.is-today { color: var(--ink); border-bottom-color: var(--accent); }

/* ---------- team ----------------------------------------------------------- */
.team-intro { max-width: 66ch; margin: -1rem auto 2.6rem; text-align: center; color: var(--muted); }
.team-grid {
  max-width: 900px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(1rem, 2vw, 1.8rem);
}
.team-card { background: var(--panel); border: 1px solid var(--line); padding: clamp(1.4rem, 3vw, 2.2rem); }
.team-card h3 { font-size: var(--step-h3); }
.team-role {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent-hi);
  margin: 0.4rem 0 0.9rem;
}
.team-card p:last-child { margin: 0; color: var(--muted); font-size: 0.95rem; }
.team-more { text-align: center; margin: 2.2rem 0 0; font-family: var(--font-mono); font-size: 0.85rem; letter-spacing: 0.08em; text-transform: uppercase; }

@media (max-width: 48em) { .team-grid { grid-template-columns: 1fr; } }

/* ---------- testimonials --------------------------------------------------- */
.quote-grid {
  max-width: var(--wrap);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1rem, 2vw, 1.8rem);
}
.quotes blockquote {
  background: var(--panel);
  border-top: 2px solid var(--accent);
  padding: clamp(1.4rem, 3vw, 2rem);
}
.quotes blockquote p { margin: 0 0 1.1rem; font-family: var(--font-display); font-size: 1.2rem; line-height: 1.45; color: var(--ink); }
.quotes cite {
  font-style: normal;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}
@media (max-width: 60em) { .quote-grid { grid-template-columns: 1fr; } }

/* ---------- awards --------------------------------------------------------- */
.awards { padding-top: 0; }
.awards-line {
  max-width: 56ch;
  margin: 0 auto;
  text-align: center;
  color: var(--muted);
  font-size: 0.92rem;
  border-top: 1px solid rgba(86, 142, 176, 0.18);
  padding-top: 2.4rem;
}

/* ---------- footer --------------------------------------------------------- */
.footer { background: #03121F; border-top: 1px solid var(--line); padding: var(--section-y) var(--gutter) 2rem; }
.footer-form { max-width: 640px; margin: 0 auto 3.5rem; }
.footer-cols {
  max-width: var(--wrap);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  border-top: 1px solid rgba(86, 142, 176, 0.18);
  padding-top: 2.6rem;
}
.footer-head {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--accent-hi);
  margin: 0 0 1rem;
}
.footer-col { color: var(--muted); font-size: 0.92rem; }
.footer-col p { margin: 0 0 1rem; }
.footer-col ul { list-style: none; margin: 0; padding: 0; }
.footer-col li { margin-bottom: 0.55rem; }
.footer-col a { color: var(--muted); text-decoration-color: rgba(86, 142, 176, 0.3); }
.footer-col a:hover { color: var(--ink); }
.footer-fine { font-size: 0.8rem; line-height: 1.6; }
.footer-bottom {
  max-width: var(--wrap);
  margin: 3rem auto 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  text-align: center;
}
.footer-logo { height: 44px; width: auto; opacity: 0.85; }
.footer-disclosure { font-size: 0.78rem; color: var(--muted); margin: 0; }

@media (max-width: 48em) { .footer-cols { grid-template-columns: 1fr; } }

/* ---------- preview badge -------------------------------------------------- */
.preview-badge {
  position: fixed;
  bottom: 12px;
  right: 12px;
  z-index: 90;
  display: flex;
  gap: 1px;
  font-size: 0.72rem;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.45);
}
.preview-badge a { text-decoration: none; padding: 0.5rem 0.75rem; }
.preview-badge-info { background: #0A2540; color: #C6D8E4; }
.preview-badge-cta { background: #568EB0; color: #04182B; font-weight: 500; }
