/* Still Waters Wellness Village — palette & type pulled from the Sitemap & Architecture PDF */
:root {
  --cream: #f6f1e7;
  --parchment: #ece5d8;
  --linen: #f3ecdc;
  --sage: #7a8b6f;
  --sage-light: #e6ebdd;
  --forest: #2f3a26;
  --gold: #b8963e;
  --gold-light: #f2e9d0;
  --umber: #3a3021;
  --clay: #8b6d52;
  --ink: #2b2a26;
  --muted: #6b675e;
  --line: #d8ccb4;

  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Jost", system-ui, sans-serif;

  --wrap: 1160px;
  --narrow: 760px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 300;
  font-size: 17px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }

h1, h2, h3 { font-family: var(--serif); font-weight: 400; line-height: 1.15; margin: 0 0 .5em; color: var(--umber); }
h1 { font-size: clamp(2.6rem, 6vw, 4.6rem); }
h2 { font-size: clamp(2rem, 4vw, 2.9rem); }
h3 { font-size: 1.55rem; }
h1 em, h2 em { color: var(--gold); }
p { margin: 0 0 1.1em; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.narrow { max-width: var(--narrow); }
.center { text-align: center; margin-left: auto; margin-right: auto; }

.eyebrow {
  font-family: var(--sans);
  font-size: .78rem;
  font-weight: 500;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: .9rem;
  display: block;
}
.lede { font-size: 1.15rem; color: var(--muted); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(246, 241, 231, .94);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 76px; gap: 24px; }
.brand { text-decoration: none; line-height: 1.1; display: flex; align-items: center; gap: 12px; }
.brand-mark { width: 44px; height: auto; }
.footer-logo { mix-blend-mode: multiply; max-width: 260px; margin-bottom: 12px; }
.brand-name { font-family: var(--serif); font-size: 1.45rem; color: var(--umber); display: block; }
.brand-tag { font-family: var(--serif); font-style: italic; font-size: .85rem; color: var(--muted); }
.nav { display: flex; align-items: center; gap: 22px; }
.nav a { text-decoration: none; font-size: .88rem; letter-spacing: .04em; color: var(--ink); }
.nav a:hover, .nav a[aria-current="page"] { color: var(--gold); }
.nav .btn { color: #fff; }
.nav-toggle { display: none; background: none; border: 0; font: inherit; cursor: pointer; padding: 8px; color: var(--umber); }
.nav-toggle span { display: block; width: 24px; height: 2px; background: currentColor; margin: 5px 0; }

@media (max-width: 1040px) {
  .nav-toggle { display: block; }
  .nav {
    display: none; position: absolute; top: 76px; left: 0; right: 0;
    flex-direction: column; align-items: flex-start; gap: 0;
    background: var(--cream); border-bottom: 1px solid var(--line); padding: 8px 24px 20px;
  }
  .nav.open { display: flex; }
  .nav a { padding: 10px 0; width: 100%; font-size: 1rem; }
  .nav .btn { margin-top: 10px; width: auto; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 13px 26px;
  background: var(--forest);
  color: #fff;
  text-decoration: none;
  font-family: var(--sans);
  font-size: .82rem;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  border: 1px solid var(--forest);
  border-radius: 2px;
  cursor: pointer;
  transition: background .2s, color .2s, border-color .2s;
}
.btn:hover { background: var(--gold); border-color: var(--gold); }
.btn-gold { background: var(--gold); border-color: var(--gold); }
.btn-gold:hover { background: var(--forest); border-color: var(--forest); }
.btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.75); }
.btn-ghost:hover { background: #fff; color: var(--umber); border-color: #fff; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }
.text-link {
  font-size: .82rem; font-weight: 500; letter-spacing: .14em; text-transform: uppercase;
  color: var(--forest); text-decoration: none; border-bottom: 1px solid var(--gold); padding-bottom: 2px;
}
.text-link:hover { color: var(--gold); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 88vh;
  display: flex; align-items: flex-end;
  color: #fff;
  background: var(--umber) center/cover no-repeat;
}
.hero::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(20,16,10,.72) 0%, rgba(20,16,10,.45) 40%, rgba(20,16,10,0) 75%),
    linear-gradient(180deg, rgba(20,16,10,.1) 0%, rgba(20,16,10,.2) 50%, rgba(20,16,10,.7) 100%);
}
.hero .wrap { position: relative; z-index: 1; padding-bottom: 10vh; padding-top: 16vh; }
.hero h1 { color: #fff; max-width: 14ch; }
.hero h1 em { color: #e8cf8a; }
.hero p { font-family: var(--serif); font-style: italic; font-size: clamp(1.2rem, 2.2vw, 1.5rem); max-width: 40ch; color: #f3ecdc; }
.hero-sm { min-height: 62vh; }

/* ---------- Sections ---------- */
section { padding: 96px 0; }
section[id] { scroll-margin-top: 80px; }
.bg-linen { background: var(--linen); }
.bg-parchment { background: var(--parchment); }
.bg-sage { background: var(--sage-light); }
.bg-dark { background: var(--umber); color: #e9e1cf; }
.bg-dark h2, .bg-dark h3 { color: #fff; }
.bg-dark .lede, .bg-dark p { color: #d6ccb6; }
.section-head { margin-bottom: 48px; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split.reverse > :first-child { order: 2; }
.split img { width: 100%; height: 100%; max-height: 560px; object-fit: cover; border-radius: 2px; }
@media (max-width: 860px) {
  section { padding: 68px 0; }
  .split { grid-template-columns: 1fr; gap: 32px; }
  .split.reverse > :first-child { order: 0; }
}

blockquote {
  margin: 40px 0 0;
  padding: 0 0 0 24px;
  border-left: 2px solid var(--gold);
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.55rem;
  line-height: 1.4;
  color: var(--umber);
}
blockquote cite { display: block; margin-top: 10px; font-family: var(--sans); font-style: normal; font-size: .8rem; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); }
.quote-band { text-align: center; }
.quote-band blockquote { border: 0; padding: 0; margin: 0 auto; max-width: 30ch; font-size: clamp(1.7rem, 3vw, 2.3rem); }

/* ---------- Cards ---------- */
.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 960px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

.card {
  background: #fffdf8;
  border: 1px solid var(--line);
  border-top: 3px solid var(--sage);
  padding: 30px 28px;
  display: flex; flex-direction: column;
}
.card h3 { margin-bottom: .35em; }
.card p { font-size: .98rem; color: var(--muted); }
.card .meta { font-family: var(--serif); font-style: italic; color: var(--gold); font-size: 1.1rem; margin-bottom: .6em; }
.card .text-link { margin-top: auto; align-self: flex-start; }
a.card { text-decoration: none; transition: transform .2s, box-shadow .2s; }
a.card:hover { transform: translateY(-3px); box-shadow: 0 12px 30px rgba(58,48,33,.1); }
.card.gold { border-top-color: var(--gold); }
.card.dark { border-top-color: var(--umber); }
.card.clay { border-top-color: var(--clay); }
.bg-dark .card { background: rgba(255,255,255,.04); border-color: rgba(255,255,255,.14); }
.bg-dark .card p { color: #cfc5ae; }

.card-num { font-family: var(--serif); font-size: 2.4rem; color: var(--gold); line-height: 1; margin-bottom: 12px; }

/* Path cards with images */
.path-card { position: relative; min-height: 420px; color: #fff; display: flex; align-items: flex-end; text-decoration: none; overflow: hidden; }
.path-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.path-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20,16,10,.05) 15%, rgba(20,16,10,.6) 50%, rgba(20,16,10,.92) 100%); }
.path-card:hover img { transform: scale(1.04); }
.path-card .inner { position: relative; z-index: 1; padding: 30px; }
.path-card h3 { color: #fff; font-size: 2rem; }
.path-card p { color: #eee4cf; font-size: .98rem; }
.path-card .text-link { color: #fff; }

/* ---------- Lists ---------- */
.list { list-style: none; padding: 0; margin: 0; }
.list li { padding: 12px 0 12px 26px; border-bottom: 1px solid var(--line); position: relative; }
.list li::before { content: ""; position: absolute; left: 4px; top: 22px; width: 7px; height: 7px; background: var(--gold); transform: rotate(45deg); }
.list.cols { columns: 2; column-gap: 48px; }
.list.cols li { break-inside: avoid; }
@media (max-width: 620px) { .list.cols { columns: 1; } }
.list.x li::before { background: var(--clay); transform: none; width: 10px; height: 2px; top: 25px; }

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); }
.stat { padding: 26px 24px 26px 0; border-bottom: 1px solid var(--line); }
.stat dt { font-family: var(--serif); font-style: italic; color: var(--gold); font-size: 1.1rem; }
.stat dd { margin: 4px 0 0; font-size: 1rem; }
@media (max-width: 760px) { .stats { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .stats { grid-template-columns: 1fr; } }

/* ---------- Gallery ---------- */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 240px; gap: 12px; }
.gallery figure { margin: 0; overflow: hidden; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.gallery figure:hover img { transform: scale(1.04); }
.gallery .tall { grid-row: span 2; }
.gallery .wide { grid-column: span 2; }
@media (max-width: 760px) {
  .gallery { grid-template-columns: 1fr 1fr; grid-auto-rows: 180px; }
}

/* ---------- Badges ---------- */
.badge { display: inline-block; font-size: .72rem; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; padding: 4px 12px; border-radius: 20px; margin-bottom: 16px; }
.badge.open { background: var(--sage-light); color: var(--forest); border: 1px solid var(--sage); }
.badge.phase1 { background: var(--gold-light); color: #7a5f1d; border: 1px solid var(--gold); }
.badge.soon { background: var(--parchment); color: var(--clay); border: 1px solid var(--clay); }

/* ---------- Notes / FAQ ---------- */
.note { background: var(--gold-light); border-left: 3px solid var(--gold); padding: 20px 24px; font-size: .95rem; margin-top: 32px; }
.fine { font-size: .82rem; color: var(--muted); line-height: 1.6; }
details { border-bottom: 1px solid var(--line); padding: 20px 0; }
details summary { cursor: pointer; font-family: var(--serif); font-size: 1.45rem; color: var(--umber); list-style: none; display: flex; justify-content: space-between; gap: 16px; }
details summary::-webkit-details-marker { display: none; }
details summary::after { content: "+"; color: var(--gold); font-family: var(--sans); }
details[open] summary::after { content: "–"; }
details p { margin: 12px 0 0; color: var(--muted); }

/* ---------- Forms ---------- */
.form { display: grid; gap: 18px; }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 620px) { .form .row { grid-template-columns: 1fr; } }
.form label { display: block; font-size: .78rem; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.form input, .form textarea, .form select {
  width: 100%; padding: 13px 14px; font: inherit; font-weight: 300; color: var(--ink);
  background: #fffdf8; border: 1px solid var(--line); border-radius: 2px;
}
.form input:focus, .form textarea:focus, .form select:focus { outline: 2px solid var(--gold); outline-offset: 0; border-color: var(--gold); }
.form textarea { min-height: 110px; resize: vertical; }
.checks { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 18px; }
.checks label { text-transform: none; letter-spacing: 0; font-size: .98rem; font-weight: 300; color: var(--ink); display: flex; gap: 10px; align-items: center; margin: 0; }
.checks input { width: auto; }
@media (max-width: 620px) { .checks { grid-template-columns: 1fr; } }
.form-success { display: none; padding: 24px; background: var(--sage-light); border-left: 3px solid var(--sage); font-family: var(--serif); font-size: 1.3rem; color: var(--forest); }
.form.sent { display: none; }
.form.sent + .form-success { display: block; }

.subscribe { text-align: center; }
.subscribe .form { grid-template-columns: 1fr 1.4fr auto; max-width: 760px; margin: 32px auto 0; align-items: end; text-align: left; }
@media (max-width: 720px) { .subscribe .form { grid-template-columns: 1fr; } }

/* ---------- Article ---------- */
.article { font-size: 1.1rem; }
.article h2 { font-size: 2rem; margin-top: 1.6em; }
.article p:first-of-type::first-letter { font-family: var(--serif); font-size: 4.2rem; float: left; line-height: .85; padding: 6px 10px 0 0; color: var(--gold); }
.post-meta { font-family: var(--serif); font-style: italic; color: var(--muted); font-size: 1.15rem; }

.placeholder { border: 1px dashed var(--line); padding: 40px; text-align: center; color: var(--muted); background: rgba(255,255,255,.4); }
.placeholder h3 { margin-bottom: .3em; }

/* ---------- Footer ---------- */
.site-footer { background: var(--parchment); border-top: 3px solid var(--clay); padding: 72px 0 36px; font-size: .92rem; }
.footer-top { display: grid; grid-template-columns: 1.4fr repeat(4, 1fr); gap: 36px; }
.footer-top h4 { font-family: var(--serif); font-weight: 400; font-size: 1.3rem; margin: 0 0 12px; color: var(--umber); }
.footer-top ul { list-style: none; margin: 0; padding: 0; }
.footer-top li { margin: 6px 0; }
.footer-top a { text-decoration: none; color: var(--muted); }
.footer-top a:hover { color: var(--gold); }
.footer-bottom { margin-top: 56px; padding-top: 20px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; color: var(--muted); font-size: .82rem; }
@media (max-width: 900px) { .footer-top { grid-template-columns: 1fr 1fr; } .footer-top > :first-child { grid-column: 1 / -1; } }
.form-error { grid-column: 1 / -1; margin: 0; color: #9b3b2e; font-size: .95rem; }
.form-error:empty { display: none; }
.form button:disabled { opacity: .6; cursor: wait; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
