/* Brand: change these to restyle the whole theme */
:root {
  --deep: #2f4f4f;
  --deep-dark: #223a3a;
  --sage: #7d9a8a;
  --sage-light: #dfe8e1;
  --sand: #efe7dc;
  --paper: #faf8f4;
  --stone: #b9a99a;
  --white: #ffffff;
  --text: #283636;
  --muted: #687672;
  --line: #e2ddd3;
  --radius: 28px;
  --font-display: "Cormorant Garamond", Georgia, serif;
  --font-body: "Jost", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--text); font-family: var(--font-body); font-size: 18px; line-height: 1.65; }
a { color: inherit; }
img, svg { display: block; max-width: 100%; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 500; line-height: 1.08; margin: 0 0 16px; color: var(--deep); }
h1 { font-size: clamp(46px, 6.4vw, 84px); }
h2 { font-size: clamp(36px, 4.6vw, 56px); }
h3 { font-size: 26px; font-weight: 600; }
p { margin: 0 0 16px; }
.container { width: min(1120px, calc(100% - 40px)); margin: 0 auto; }
.skip-link { position: absolute; left: -999px; }
.skip-link:focus { left: 16px; top: 16px; z-index: 100; background: var(--deep); color: var(--white); padding: 10px 14px; }
.eyebrow { font: 500 13px var(--font-body); letter-spacing: 0.24em; text-transform: uppercase; color: var(--sage); margin-bottom: 14px; }
.lead { font-size: 20px; color: var(--muted); max-width: 600px; }
section { padding: 96px 0; }

/* Buttons */
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; border: 0; border-radius: 999px; background: var(--deep); color: var(--white); font: 500 16px var(--font-body); letter-spacing: 0.04em; padding: 14px 30px; text-decoration: none; cursor: pointer; transition: background 0.2s; }
.button:hover { background: var(--deep-dark); }
.button-small { min-height: 44px; padding: 10px 22px; font-size: 15px; }
.button-ghost { background: transparent; color: var(--deep); box-shadow: inset 0 0 0 1.5px var(--deep); }
.button-ghost:hover { background: var(--deep); color: var(--white); }
.button-light { background: var(--white); color: var(--deep); }
.button-light:hover { background: var(--sand); }
.text-link { display: inline-flex; align-items: center; min-height: 44px; font-weight: 500; color: var(--deep); text-decoration: none; border-bottom: 1px solid var(--sage); }
.text-link::after { content: "→"; margin-left: 8px; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 20; background: rgba(250, 248, 244, 0.95); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 80px; }
.brand { display: flex; align-items: center; gap: 12px; font: 600 28px var(--font-display); text-decoration: none; min-height: 44px; color: var(--deep); }
.brand span { display: flex; flex-direction: column; line-height: 1; }
.brand small { font: 500 12px var(--font-body); letter-spacing: 0.26em; text-transform: uppercase; color: var(--muted); margin-top: 6px; }
.primary-nav { display: flex; align-items: center; gap: 30px; font-size: 16px; }
.primary-nav a { text-decoration: none; }
.primary-nav a[aria-current="page"]:not(.button) { color: var(--sage); }
.primary-nav a:not(.button):hover { color: var(--sage); }
.menu-toggle { display: none; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 50%; background: var(--white); cursor: pointer; flex-direction: column; justify-content: center; align-items: center; gap: 6px; }
.menu-toggle span { width: 18px; height: 1.5px; background: var(--deep); }

/* Home */
.hero { position: relative; padding: 110px 0 170px; background: linear-gradient(180deg, var(--sage-light), var(--sand)); text-align: center; overflow: hidden; }
.hero-inner { max-width: 820px; }
.hero h1 em { display: block; font-style: italic; color: var(--sage); }
.hero .lead { margin: 0 auto; }
.hero-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-top: 32px; }
.hero-waves { position: absolute; left: 0; bottom: 0; width: 100%; height: 120px; }
.pillars { padding-top: 40px; }
.pillar-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
.pillar-grid .num { font: 500 18px var(--font-display); color: var(--sage); display: block; margin-bottom: 10px; }
.pillar-grid p { color: var(--muted); }
.feature { background: var(--white); }
.feature-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.feature p { color: var(--muted); }
.quote blockquote { margin: 0 auto; max-width: 820px; text-align: center; }
.quote p { font: italic 500 clamp(28px, 3.6vw, 42px)/1.25 var(--font-display); color: var(--deep); }
.quote cite { font-style: normal; color: var(--muted); letter-spacing: 0.08em; }
.gift { background: var(--deep); color: var(--white); }
.gift h2 { color: var(--white); }
.gift .eyebrow { color: var(--sage-light); }
.gift p { color: rgba(255, 255, 255, 0.82); }
.gift-inner { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 40px; align-items: center; }

/* Inner pages */
.page-hero { padding: 80px 0 56px; background: var(--sand); }
.treatment-groups { display: grid; gap: 56px; }
.treatment-group h2 { border-bottom: 1px solid var(--line); padding-bottom: 12px; }
.treatment-group ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 48px; }
.treatment-group li { display: flex; justify-content: space-between; gap: 18px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.treatment-group h3 { font-size: 24px; margin-bottom: 4px; }
.treatment-group p { margin: 0; color: var(--muted); font-size: 16px; }
.treatment-group li span { flex: none; font-weight: 500; color: var(--deep); white-space: nowrap; }

/* Spa day builder */
.builder-section { padding-top: 56px; }
.builder { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 0.8fr); gap: 36px; align-items: start; }
fieldset { border: 0; padding: 0; margin: 0 0 32px; }
legend { font: 600 26px var(--font-display); color: var(--deep); margin-bottom: 14px; }
.options { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.option { position: relative; display: flex; }
.option input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.option span { flex: 1; display: flex; flex-direction: column; gap: 2px; min-height: 64px; padding: 14px 18px; border: 1.5px solid var(--line); border-radius: 18px; background: var(--white); }
.option strong { font-weight: 500; }
.option small { color: var(--muted); font-size: 15px; }
.option:has(input:checked) span { border-color: var(--deep); background: var(--sage-light); }
.option:has(input:focus-visible) span { outline: 2px solid var(--deep); outline-offset: 2px; }
.guests { display: flex; flex-wrap: wrap; gap: 12px; }
.option-inline span { min-height: 48px; justify-content: center; }
.summary { position: sticky; top: 104px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.summary-list { list-style: none; margin: 0 0 18px; padding: 0; }
.summary-list li { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-bottom: 1px solid var(--line); font-size: 16px; }
.totals { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 0 0 14px; }
.totals div { background: var(--sand); border-radius: 16px; padding: 12px 16px; }
.totals dt { font-size: 13px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); }
.totals dd { margin: 0; font: 600 30px var(--font-display); color: var(--deep); }
.summary-note { font-size: 15px; color: var(--muted); }
.summary .button { width: 100%; }

/* Booking */
.book-grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.7fr); gap: 48px; align-items: start; }
.book-form label { display: block; font-weight: 500; margin-bottom: 16px; }
.book-form input, .book-form select, .book-form textarea { display: block; width: 100%; margin-top: 6px; min-height: 50px; padding: 12px 16px; border: 1.5px solid var(--line); border-radius: 14px; font: 16px var(--font-body); background: var(--white); color: var(--text); }
.book-form textarea { resize: vertical; }
.book-form input:focus, .book-form select:focus, .book-form textarea:focus { outline: none; border-color: var(--deep); }
.field-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.form-result { margin: 16px 0 0; color: var(--deep); font-weight: 500; }
.book-aside { background: var(--sand); border-radius: var(--radius); padding: 28px; }
.book-aside ul { padding-left: 20px; color: var(--muted); }

/* Footer */
.site-footer { background: var(--deep-dark); color: rgba(255, 255, 255, 0.8); padding: 64px 0 28px; }
.site-footer .brand { color: var(--white); }
.site-footer .brand small { color: rgba(255, 255, 255, 0.6); }
.site-footer h3 { color: var(--white); font-size: 22px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(3, minmax(0, 1fr)); gap: 32px; }
.footer-grid a:not(.brand) { display: inline-block; min-height: 32px; }
.footer-bottom { display: flex; justify-content: space-between; gap: 12px; margin-top: 40px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, 0.14); font-size: 15px; }
.footer-bottom a { color: var(--sage-light); }

@media (max-width: 1000px) {
  .feature-grid, .gift-inner, .builder, .book-grid { grid-template-columns: minmax(0, 1fr); }
  .feature-art svg { max-width: 360px; margin: 0 auto; }
  .summary { position: static; }
  .treatment-group ul { grid-template-columns: minmax(0, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 860px) {
  .menu-toggle { display: inline-flex; }
  .primary-nav { display: none; position: absolute; top: 80px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 4px; padding: 16px 20px 24px; background: var(--paper); border-bottom: 1px solid var(--line); }
  .primary-nav.open { display: flex; }
  .primary-nav a:not(.button) { padding: 12px 0; }
}

@media (max-width: 600px) {
  body { font-size: 17px; }
  section { padding: 64px 0; }
  .hero { padding: 72px 0 130px; }
  .pillar-grid, .options, .field-row { grid-template-columns: minmax(0, 1fr); }
  .treatment-group li { flex-direction: column; gap: 6px; }
  .footer-grid { grid-template-columns: minmax(0, 1fr); }
  .footer-bottom { flex-direction: column; }
}
