/* Orenda Spa — shared styles for every page.
   The palette follows the spa's own flyers (sage green, cream, gold) on a pale yellow base.
   Colors and fonts are defined once below; change them here to restyle the whole site. */

:root {
  --butter: #fff8e1;       /* pale yellow page background */
  --butter-deep: #fbefc4;  /* slightly stronger yellow for bands */
  --paper: #ffffff;
  --sage: #5c8660;         /* buttons and links (the logo leaf) */
  --sage-deep: #4a7250;
  --sage-soft: #e6efdf;    /* pale green band */
  --gold: #d9a521;         /* small highlights only */
  --text: #3f4f43;         /* body text: soft green-grey, never black */
  --muted: #748073;
  --hair: #e6dfc6;         /* thin divider lines */
  --error: #b4532f;

  --display: "Playfair Display", "Didot", Georgia, serif;
  --body: Jost, "Avenir Next", Avenir, "Segoe UI", system-ui, sans-serif;

  --wrap: 1200px;
  --gutter: clamp(20px, 4.5vw, 48px);
  --radius: 4px;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--butter);
  color: var(--text);
  font-family: var(--body);
  font-size: 1.0625rem;
  line-height: 1.65;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; height: auto; }

a { color: var(--sage-deep); text-underline-offset: 0.22em; text-decoration-thickness: 1px; }
a:hover { color: var(--text); }
a[href^="tel:"] { white-space: nowrap; }

:focus-visible { outline: 2px solid var(--sage); outline-offset: 3px; }

h1, h2, h3, h4, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }

h1, h2, h3 {
  font-family: var(--display);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -0.01em;
  color: var(--text);
  text-wrap: balance;
}
h1 { font-size: clamp(2.7rem, 5.6vw, 4.9rem); }
h2 { font-size: clamp(2rem, 3.6vw, 3rem); }
h3 { font-size: clamp(1.4rem, 1.9vw, 1.65rem); line-height: 1.2; }
h4 { font: 500 0.82rem/1.4 var(--body); letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }

p { text-wrap: pretty; }
.lede { font-size: clamp(1.1rem, 1.35vw, 1.25rem); color: var(--muted); max-width: 36em; }
.small { font-size: 0.93rem; color: var(--muted); }
.swash { display: inline; }

.wrap { width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; }

.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--sage-deep); color: #fff; padding: 10px 16px; }
.skip:focus { left: 8px; color: #fff; }

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 52px; padding: 0 30px;
  border: 1px solid var(--sage); border-radius: var(--radius);
  background: var(--sage); color: #fff;
  font: 500 0.84rem/1 var(--body); letter-spacing: 0.16em; text-transform: uppercase;
  text-decoration: none; cursor: pointer;
  transition: background-color 0.2s, border-color 0.2s, color 0.2s;
}
.btn:hover { background: var(--sage-deep); border-color: var(--sage-deep); color: #fff; }
.btn:disabled { opacity: 0.6; cursor: progress; }
.btn-outline, .btn-sun { background: transparent; color: var(--text); border-color: var(--text); }
.btn-outline:hover, .btn-sun:hover { background: var(--text); border-color: var(--text); color: #fff; }
.btn-small { min-height: 44px; padding: 0 22px; font-size: 0.78rem; }

.btn-row { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.text-link {
  font: 500 0.82rem/1 var(--body); letter-spacing: 0.14em; text-transform: uppercase;
  text-decoration: none; color: var(--text); padding-bottom: 6px; border-bottom: 1px solid var(--text);
}
.text-link:hover { color: var(--sage-deep); border-bottom-color: var(--sage-deep); }

/* ---------- Announcement bar + header ---------- */

.topbar { background: var(--sage-soft); color: var(--text); font-size: 0.9rem; text-align: center; padding: 9px var(--gutter); }
.topbar a { margin-left: 8px; color: var(--text); }

.site-header { position: sticky; top: 0; z-index: 40; background: rgba(255, 255, 255, 0.96); backdrop-filter: blur(8px); border-bottom: 1px solid var(--hair); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 88px; }
.brand { display: block; flex: none; }
.brand img { height: 70px; width: auto; }

.nav { display: flex; align-items: center; gap: clamp(18px, 2.8vw, 40px); }
.nav a:not(.btn) {
  color: var(--text); text-decoration: none;
  font: 500 0.8rem/1 var(--body); letter-spacing: 0.16em; text-transform: uppercase;
  padding: 8px 0; border-bottom: 1px solid transparent; transition: border-color 0.2s;
}
.nav a:not(.btn):hover, .nav a[aria-current="page"] { border-bottom-color: var(--text); }

.nav-toggle { display: none; width: 46px; height: 46px; padding: 0; border: 1px solid var(--hair); border-radius: var(--radius); background: #fff; cursor: pointer; }
.nav-toggle span { display: block; width: 20px; height: 1.5px; margin: 5px auto; background: var(--text); }

@media (max-width: 900px) {
  .nav-toggle { display: block; }
  .nav {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 0;
    background: #fff; border-bottom: 1px solid var(--hair); padding: 6px var(--gutter) 24px;
  }
  .nav.is-open { display: flex; }
  .nav a:not(.btn) { padding: 18px 0; border-bottom: 1px solid var(--hair); font-size: 0.9rem; }
  .nav .btn { margin-top: 20px; }
}

/* ---------- Section rhythm ---------- */

.band { padding-block: clamp(64px, 9vw, 128px); overflow-x: clip; }
.band-cream { background: var(--paper); }
.band-ink { background: var(--butter-deep); }      /* (old name) the soft yellow band used for special offers */
.band-aqua { background: var(--sage-soft); }       /* (old name) the pale green band */

.section-head { display: grid; gap: 14px; margin-bottom: clamp(36px, 5vw, 64px); }
.section-head.split { grid-template-columns: 1fr auto; align-items: end; }
.section-head.center { justify-items: center; text-align: center; }
@media (max-width: 720px) { .section-head.split { grid-template-columns: 1fr; } }

/* ---------- Home hero ---------- */

.hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); background: var(--butter); }
.hero-copy {
  display: grid; gap: 26px; justify-items: start; align-content: center;
  padding: clamp(48px, 7vw, 104px) clamp(24px, 5vw, 80px) clamp(48px, 7vw, 104px) max(var(--gutter), calc((100vw - var(--wrap)) / 2));
}
.hero h1 span { display: block; }
.hero h1 em { font-style: italic; color: var(--sage-deep); }
.hero-photo { min-height: clamp(380px, 46vw, 680px); }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; }
  .hero-photo { order: -1; min-height: 0; aspect-ratio: 5 / 4; }
  .hero-copy { padding: 40px var(--gutter) 56px; }
}

.facts { background: var(--paper); border-block: 1px solid var(--hair); }
.facts .wrap { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.facts p { padding: 22px 24px; text-align: center; font-size: 0.98rem; border-left: 1px solid var(--hair); }
.facts p:first-child { border-left: 0; }
.facts strong { display: block; font: 500 0.76rem/1.6 var(--body); letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); }
.facts a { color: inherit; text-decoration: none; }
@media (max-width: 720px) {
  .facts .wrap { grid-template-columns: 1fr; }
  .facts p { border-left: 0; border-top: 1px solid var(--hair); padding: 16px 0; }
  .facts p:first-child { border-top: 0; }
}

/* ---------- Ticker ---------- */

.ticker { background: var(--butter); color: var(--sage-deep); overflow: hidden; padding: 22px 0; border-bottom: 1px solid var(--hair); }
.ticker-track { display: flex; width: max-content; animation: ticker 70s linear infinite; }
.ticker ul { display: flex; flex: none; }
.ticker li { display: flex; align-items: center; white-space: nowrap; font: italic 400 1.35rem/1 var(--display); }
.ticker li::after { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--gold); margin-inline: 30px; }
@keyframes ticker { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .ticker-track { animation: none; } html { scroll-behavior: auto; } }

/* ---------- Treatment menu ---------- */

/* The four cards share one set of rows (photo + name, description, price list, button),
   so each part lines up across the cards no matter how long the text is. */
.menu-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); column-gap: clamp(24px, 2.6vw, 36px); row-gap: 0; }
.menu-card { display: grid; grid-row: span 4; grid-template-rows: subgrid; row-gap: 16px; }
.menu-card > p { align-self: start; }
.menu-card > .price-list { align-self: start; }
.menu-card > .btn-row { align-self: end; padding-top: 10px; }
@media (max-width: 1080px) {
  .menu-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .menu-card { padding-bottom: 56px; }
}
@media (max-width: 560px) { .menu-grid { grid-template-columns: 1fr; } .menu-top img { aspect-ratio: 4 / 3; } }

.menu-top { display: grid; gap: 22px; }
.menu-top img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius); }
.menu-card > p { color: var(--muted); font-size: 1rem; }
@media (max-width: 560px) { .menu-top img { aspect-ratio: 4 / 3; } }

.price-list { display: grid; border-top: 1px solid var(--hair); }
.price-list li { display: grid; gap: 2px; padding: 13px 0; border-bottom: 1px solid var(--hair); }
.price-row { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; }
.price-row .name { font-weight: 500; }
.price-row .dots { display: none; }
.price-row .price { font: 400 1.2rem/1 var(--display); white-space: nowrap; }
.price-list .note { font-size: 0.9rem; color: var(--muted); line-height: 1.45; }
.menu-card .btn { background: transparent; color: var(--text); border-color: var(--text); width: 100%; }
.menu-card .btn:hover { background: var(--text); color: #fff; }

/* ---------- Real work photos ---------- */

.work-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: clamp(12px, 1.6vw, 22px); }
.work-grid figure { display: grid; gap: 12px; align-content: start; }
.work-grid img { width: 100%; height: clamp(240px, 28vw, 380px); object-fit: cover; border-radius: var(--radius); }
.work-grid figcaption { font-size: 0.95rem; color: var(--muted); line-height: 1.4; }
@media (max-width: 820px) {
  .work-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 24px; }
  .work-grid figure:first-child { grid-column: 1 / -1; }
  .work-grid img { height: clamp(180px, 46vw, 300px); }
}

/* ---------- Smile gallery ---------- */

.smile-wall { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: clamp(10px, 1.4vw, 20px); align-items: start; }
.smile-wall img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: var(--radius); }
.smile-wall img:nth-child(even) { margin-top: clamp(20px, 4vw, 56px); }
@media (max-width: 820px) {
  .smile-wall { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .smile-wall img:nth-child(5) { display: none; }
}

/* ---------- Split feature (image beside text) ---------- */

.split { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(32px, 7vw, 104px); align-items: center; }
.split.flip > :first-child { order: 2; }
.split-copy { display: grid; gap: 20px; justify-items: start; }
@media (max-width: 820px) { .split { grid-template-columns: 1fr; } .split.flip > :first-child { order: 0; } }

.frame { border-radius: var(--radius); overflow: hidden; }
.frame img { width: 100%; height: 100%; object-fit: cover; }
.frame-tall { aspect-ratio: 4 / 5; }
.frame-wide { aspect-ratio: 3 / 2; }

.fact-row { display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 0.95rem; color: var(--muted); }
.fact-row li + li::before { content: ""; display: inline-block; width: 4px; height: 4px; border-radius: 50%; background: var(--gold); margin-right: 18px; vertical-align: middle; }

.price-tag { font: 400 clamp(2.2rem, 3.6vw, 3rem) / 1 var(--display); }

/* ---------- Special offers (flyers) ---------- */

.flyer { display: block; border-radius: var(--radius); overflow: hidden; background: #ece9df; box-shadow: 0 14px 34px -18px rgba(63, 79, 67, 0.45); transition: transform 0.25s; }
.flyer img { width: 100%; }
a.flyer:hover { transform: translateY(-6px); }

.flyer-row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(14px, 2.2vw, 30px); }
@media (max-width: 820px) { .flyer-row { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.door {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 48px;
  margin-top: clamp(40px, 5vw, 72px); padding: clamp(26px, 3.4vw, 44px);
  border-radius: var(--radius); background: var(--paper);
}
.door > div:first-child { flex: 1 1 420px; display: grid; gap: 8px; }

.special-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(56px, 7vw, 96px) clamp(32px, 6vw, 88px); }
.special { display: grid; gap: 28px; align-content: start; scroll-margin-top: 120px; }
.special-copy { display: grid; gap: 12px; justify-items: start; }
.special-copy h2 { font-size: clamp(1.8rem, 2.6vw, 2.3rem); }
.price-line { display: flex; align-items: baseline; gap: 14px; }
.price-line s { font-size: 1.15rem; color: var(--muted); }
@media (max-width: 720px) { .special-grid { grid-template-columns: 1fr; } }

/* ---------- Photo trio (yoga) ---------- */

.trio { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(10px, 1.4vw, 18px); align-items: start; }
.trio img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: var(--radius); }
.trio img:nth-child(2) { margin-top: 12%; }

/* ---------- Visit ---------- */

.visit-list { display: grid; gap: 20px; }
.visit-list dt { font: 500 0.76rem/1.6 var(--body); letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); }
.visit-list dd { font-size: 1.15rem; }
.visit-list a { color: inherit; }

.hours { width: 100%; border-collapse: collapse; font-size: 1rem; }
.hours th, .hours td { padding: 12px 0; border-top: 1px solid var(--hair); text-align: left; font-weight: 400; }
.hours th { color: var(--muted); width: 44%; }
.hours tr.is-today th, .hours tr.is-today td { color: var(--sage-deep); font-weight: 500; }
.hours tr.is-today th::after { content: " (today)"; font-weight: 400; }

.map { border-radius: var(--radius); overflow: hidden; aspect-ratio: 16 / 9; background: var(--sage-soft); }
.map iframe { width: 100%; height: 100%; border: 0; display: block; }
@media (max-width: 620px) { .map { aspect-ratio: 4 / 5; } }

.gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(10px, 1.4vw, 18px); }
.gallery img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); }
@media (max-width: 620px) { .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ---------- Inner page header ---------- */

.page-head { background: var(--butter-deep); }
.page-head .wrap {
  display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr);
  gap: clamp(24px, 5vw, 72px); align-items: center;
  padding-block: clamp(44px, 6vw, 80px);
}
.page-head-copy { display: grid; gap: 18px; }
.page-head h1 { font-size: clamp(2.5rem, 5vw, 4.2rem); }
.page-head-photo { width: min(100%, 340px); justify-self: end; }
.page-head-photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); }
.tagline { font: italic 400 clamp(1.3rem, 2.2vw, 1.8rem) / 1.3 var(--display); color: var(--sage-deep); }
@media (max-width: 720px) {
  .page-head .wrap { grid-template-columns: 1fr; }
  .page-head-photo { display: none; }
}

/* ---------- About ---------- */

.founder { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(32px, 7vw, 104px); align-items: center; }
.founder-photo { width: min(100%, 420px); justify-self: center; }
.founder-photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 20%; border-radius: var(--radius); }
.founder-copy { display: grid; gap: 18px; }
.founder-name { font: 400 1.5rem/1.2 var(--display); }
@media (max-width: 820px) { .founder { grid-template-columns: 1fr; } }

.reasons { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 4vw, 56px); }
.reasons li { display: grid; gap: 10px; align-content: start; padding-top: 22px; border-top: 1px solid var(--text); }
@media (max-width: 820px) { .reasons { grid-template-columns: 1fr; } }

.promise { display: grid; gap: 26px; justify-items: center; text-align: center; }
.promise .lede { max-width: 40em; }
.promise .btn-row { justify-content: center; }
.promise blockquote { margin: 0; font: italic 400 clamp(1.5rem, 2.8vw, 2.3rem) / 1.3 var(--display); max-width: 26em; text-wrap: balance; }

/* ---------- Forms ---------- */

.form-layout { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr); gap: clamp(32px, 6vw, 88px); align-items: start; }
@media (max-width: 900px) { .form-layout { grid-template-columns: 1fr; } }

.form { display: grid; gap: 22px; }
.form-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
@media (max-width: 560px) { .form-pair { grid-template-columns: 1fr; } }

.field { display: grid; gap: 8px; }
.field > span, fieldset legend { font: 500 0.78rem/1.6 var(--body); letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.field em, fieldset legend em { font-style: normal; text-transform: none; letter-spacing: 0; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 54px; padding: 13px 16px;
  font: inherit; color: var(--text);
  background: #fff; border: 1px solid #d8d0b4; border-radius: var(--radius);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.field textarea { min-height: 160px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--sage); box-shadow: 0 0 0 3px var(--sage-soft); }
.field ::placeholder { color: #a9ae9f; }

fieldset { border: 0; padding: 0; margin: 0; display: grid; gap: 10px; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chips label { cursor: pointer; }
.chips input { position: absolute; opacity: 0; pointer-events: none; }
.chips span {
  display: inline-flex; align-items: center; min-height: 46px; padding: 0 24px;
  border: 1px solid #d8d0b4; border-radius: var(--radius); background: #fff;
  transition: background-color 0.2s, color 0.2s, border-color 0.2s;
}
.chips span:hover { border-color: var(--sage); }
.chips input:checked + span { background: var(--sage); border-color: var(--sage); color: #fff; }
.chips input:focus-visible + span { outline: 2px solid var(--sage); outline-offset: 3px; }

.form-message { min-height: 1.6em; font-weight: 500; }
.form-message.is-ok { color: var(--sage-deep); }
.form-message.is-error { color: var(--error); }

.side-card { display: grid; gap: 22px; padding: clamp(24px, 3vw, 40px); border-radius: var(--radius); background: var(--paper); }
.side-card h2 { font-size: clamp(1.6rem, 2.2vw, 1.9rem); }
.side-note { padding: 16px 20px; border-radius: var(--radius); background: var(--sage-soft); font-size: 0.98rem; }

/* ---------- Footer ---------- */

.site-footer { background: var(--sage-soft); color: var(--text); padding-block: clamp(52px, 6vw, 88px) 32px; font-size: 0.98rem; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: clamp(28px, 5vw, 64px); }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr; } }
.wordmark { font: italic 400 2.2rem/1 var(--display); color: var(--sage-deep); }
.site-footer h2 { font: 500 0.76rem/1.6 var(--body); letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; }
.site-footer a, .link-button { color: var(--text); text-decoration: none; }
.site-footer a:hover, .link-button:hover { text-decoration: underline; }
.link-button { background: none; border: 0; padding: 0; font: inherit; cursor: pointer; text-align: left; }
.footer-list { display: grid; gap: 10px; justify-items: start; }
.social { display: flex; gap: 10px; margin-top: 20px; }
.social a { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(63, 79, 67, 0.35); }
.social a:hover { background: #fff; text-decoration: none; }
.social svg { width: 20px; height: 20px; }
.footer-base { margin-top: clamp(36px, 5vw, 56px); padding-top: 22px; border-top: 1px solid rgba(63, 79, 67, 0.2); font-size: 0.9rem; color: var(--muted); }

/* ---------- Policy dialogs ---------- */

dialog.policy { width: min(680px, calc(100vw - 32px)); max-height: min(82vh, 760px); padding: 0; border: 0; border-radius: var(--radius); color: var(--text); box-shadow: 0 30px 80px -30px rgba(63, 79, 67, 0.5); }
dialog.policy::backdrop { background: rgba(63, 79, 67, 0.35); }
.policy-inner { display: grid; grid-template-rows: auto 1fr auto; max-height: inherit; }
.policy-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 26px 30px 14px; }
.policy-head h2 { font-size: 1.9rem; }
.policy-close { width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--hair); background: #fff; font-size: 1.4rem; line-height: 1; color: var(--text); cursor: pointer; }
.policy-body { overflow-y: auto; padding: 6px 30px 22px; display: grid; gap: 20px; font-size: 0.98rem; color: var(--muted); }
.policy-body h3 { font: 500 1rem/1.3 var(--body); letter-spacing: 0; color: var(--text); margin-bottom: 6px; }
.policy-body ul { list-style: disc; padding-left: 1.2em; display: grid; gap: 6px; }
.policy-body strong { color: var(--text); font-weight: 500; }
.policy-foot { padding: 16px 30px 26px; border-top: 1px solid var(--hair); }
