/* Layout concept: Evermore's own forest-green brand on a light stone page; one wide column with
   alternating bands. Design notes are deliberately "off-brand" amber sticky notes so they never
   read as part of the site. */
:root {
  --forest: #3b4736;   /* header, footer, primary buttons */
  --sage: #56634f;     /* Evermore brand green */
  --stone: #e4e6dd;    /* soft band background */
  --paper: #fafaf6;    /* page */
  --ink: #1f241c;
  --muted: #5b6455;
  --line: #d2d6c9;
  --on-dark: #f3f4ee;
  --note-bg: #fff3c2;
  --note-line: #d29b12;
  --note-ink: #4d3a00;

  --display: "Italiana", "Didot", "Bodoni 72", Georgia, serif;
  --body: "Figtree", "Segoe UI", system-ui, -apple-system, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, Menlo, Consolas, monospace;

  --step-0: 1rem;
  --step-1: 1.25rem;
  --step-2: 1.75rem;
  --step-3: 2.5rem;
  --step-4: clamp(2.6rem, 6vw, 4.4rem);
  --radius: 6px;
  color-scheme: light;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 var(--step-0)/1.6 var(--body);
}
img { max-width: 100%; display: block; }
a { color: inherit; }
a:focus-visible, button:focus-visible, input:focus-visible, summary:focus-visible {
  outline: 2px solid var(--note-line);
  outline-offset: 3px;
}
h1, h2, h3 { font-family: var(--display); font-weight: 400; line-height: 1.1; text-wrap: balance; margin: 0; }
h1 { font-size: var(--step-4); }
h2 { font-size: var(--step-3); }
h3 { font-size: var(--step-2); }
p { margin: 0; max-width: 65ch; }
.eyebrow {
  font: 600 0.78rem/1.2 var(--body);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}
.wrap {
  max-width: 1160px;
  margin-inline: auto;
  padding-left: max(20px, env(safe-area-inset-left, 0px));
  padding-right: max(20px, env(safe-area-inset-right, 0px));
}
.band { padding-block: 72px; }
.band.stone { background: var(--stone); }
.band.forest { background: var(--forest); color: var(--on-dark); }
.band.forest .eyebrow { color: #c9cfbf; }
.stack { display: grid; gap: 16px; }
.section-head { display: grid; gap: 12px; margin-bottom: 36px; }

/* Demo frame */
.demo-bar {
  background: var(--note-bg);
  color: var(--note-ink);
  font: 600 0.88rem/1.4 var(--mono);
  padding-block: 18px;
  border-bottom: 3px dashed var(--note-line);
}
.demo-bar .wrap { display: flex; gap: 8px 16px; justify-content: space-between; align-items: center; flex-wrap: wrap; }
.demo-bar a { color: var(--note-ink); }
.note-badge {
  display: none; place-items: center; width: 1.5em; height: 1.5em; border-radius: 50%;
  background: var(--note-line); color: #fff; font: 600 0.75rem/1 var(--mono); flex: none;
}
html.notes-on .note-badge { display: inline-grid; }
html.notes-on .note-band { display: block; padding-block: 4px; background: var(--paper); }
.note-band { display: none; }

/* Promo bar */
.promo { background: var(--sage); color: var(--on-dark); font-size: 0.92rem; padding-block: 10px; }
.promo .wrap { display: flex; gap: 8px 16px; align-items: center; justify-content: center; flex-wrap: wrap; text-align: center; }
.promo strong { font-weight: 600; }
.promo a { font-weight: 600; }

/* Header */
.site-header { background: var(--forest); color: var(--on-dark); position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20; }
.site-header .wrap { display: flex; align-items: center; gap: 24px; min-height: 76px; }
.logo img { height: 40px; width: auto; }
.nav { display: flex; gap: 22px; margin-left: auto; align-items: center; }
.nav a { text-decoration: none; font-size: 0.86rem; letter-spacing: 0.1em; text-transform: uppercase; padding-block: 6px; border-bottom: 1px solid transparent; }
.nav a:hover, .nav a[aria-current="page"] { border-bottom-color: currentColor; }
.menu-btn { display: none; margin-left: auto; background: none; border: 1px solid #ffffff55; color: inherit; border-radius: var(--radius); padding: 8px 12px; font: inherit; }
@media (max-width: 980px) {
  .menu-btn { display: block; }
  .nav { display: none; position: absolute; inset: 76px 0 auto 0; background: var(--forest); flex-direction: column; align-items: stretch; gap: 0; padding: 8px max(20px, env(safe-area-inset-right, 0px)) 20px max(20px, env(safe-area-inset-left, 0px)); }
  .nav.open { display: flex; }
  .nav a { padding-block: 12px; border-bottom: 1px solid #ffffff22; }
  .nav .btn { margin-top: 12px; text-align: center; }
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font: 600 0.95rem/1 var(--body);
  padding: 14px 22px; border-radius: 999px; text-decoration: none; cursor: pointer;
  background: var(--forest); color: var(--on-dark); border: 1px solid var(--forest);
}
.btn:hover { background: var(--ink); border-color: var(--ink); }
.btn.light { background: var(--on-dark); color: var(--forest); border-color: var(--on-dark); }
.btn.light:hover { background: #fff; }
.btn.ghost { background: transparent; color: var(--forest); border-color: var(--forest); }
.btn.ghost:hover { background: var(--forest); color: var(--on-dark); }
.band.forest .btn.ghost, .hero .btn.ghost { color: var(--on-dark); border-color: var(--on-dark); }
.nav .btn { text-transform: none; letter-spacing: 0; border-bottom: none; padding: 11px 18px; font-size: 0.9rem; }
.btn-row { display: flex; gap: 12px; flex-wrap: wrap; }

/* Hero */
.hero { position: relative; color: var(--on-dark); background: var(--forest); }
.hero-media { position: absolute; inset: 0; background-size: cover; background-position: center 35%; }
.hero-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(31,36,28,.86) 0%, rgba(31,36,28,.6) 45%, rgba(31,36,28,.15) 100%); }
.hero .wrap { position: relative; padding-block: 96px 88px; display: grid; gap: 22px; }
.hero p.lead { font-size: var(--step-1); max-width: 34ch; color: #e6e9df; }

/* Trust strip */
.trust { border-bottom: 1px solid var(--line); background: var(--paper); }
.trust .wrap { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; }
.trust div { padding: 22px 18px; border-left: 1px solid var(--line); display: grid; gap: 4px; }
.trust div:first-child { border-left: none; padding-left: 0; }
.trust strong { font-size: 1rem; }
.trust span { font-size: 0.88rem; color: var(--muted); }
@media (max-width: 760px) {
  .trust .wrap { grid-template-columns: 1fr 1fr; }
  .trust div { border-left: none; padding-left: 0; border-top: 1px solid var(--line); }
  .trust div:nth-child(-n+2) { border-top: none; }
}

/* Concern tiles */
.concerns { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.concern {
  display: grid; gap: 6px; padding: 22px; text-decoration: none;
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
}
.concern:hover { border-color: var(--sage); }
.concern b { font: 400 1.5rem/1.15 var(--display); }
.concern span { color: var(--muted); font-size: 0.92rem; }
.concern em { font-style: normal; font-size: 0.85rem; font-weight: 600; color: var(--sage); }
@media (max-width: 820px) { .concerns { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .concerns { grid-template-columns: 1fr; } }

/* Membership cards */
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.plan { display: grid; gap: 12px; align-content: start; padding: 26px; border-radius: var(--radius); background: #ffffff10; border: 1px solid #ffffff2e; }
.band:not(.forest) .plan { background: #fff; border-color: var(--line); }
.plan .price { font: 400 2.4rem/1 var(--display); }
.plan .price small { font: 500 0.9rem var(--body); opacity: .8; }
.plan ul { margin: 0; padding-left: 18px; display: grid; gap: 6px; font-size: 0.95rem; }
.plan .btn { margin-top: 8px; justify-self: start; }
@media (max-width: 860px) { .plans { grid-template-columns: 1fr; } }

/* Price lists */
.price-list { display: grid; gap: 0; border-top: 1px solid var(--line); }
.price-row {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 24px; align-items: baseline;
  padding-block: 16px; border-bottom: 1px solid var(--line); text-decoration: none;
}
.price-row b { font-weight: 600; }
.price-row span { color: var(--muted); font-size: 0.92rem; grid-column: 1; }
.price-row .from { grid-row: 1; grid-column: 2; font-variant-numeric: tabular-nums; font-weight: 600; white-space: nowrap; }
.price-row .from small { font-weight: 400; color: var(--muted); }
a.price-row:hover b { text-decoration: underline; }
.cat-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 48px 56px; }
.cat-grid > section { min-width: 0; display: grid; gap: 14px; align-content: start; }
@media (max-width: 860px) { .cat-grid { grid-template-columns: 1fr; } }

/* Popular treatments */
.popular { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.pop { display: grid; gap: 10px; text-decoration: none; }
.pop img { aspect-ratio: 4 / 5; width: 100%; object-fit: cover; border-radius: var(--radius); }
.pop b { font: 400 1.45rem/1.1 var(--display); }
.pop span { font-size: 0.9rem; color: var(--muted); }
@media (max-width: 860px) { .popular { grid-template-columns: 1fr 1fr; } }

/* Team */
.team { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.person { display: grid; gap: 8px; }
.person img { aspect-ratio: 1; width: 100%; object-fit: cover; object-position: center 25%; border-radius: var(--radius); }
.person b { font-weight: 600; }
.person span { font-size: 0.88rem; color: var(--muted); }
@media (max-width: 760px) { .team { grid-template-columns: 1fr 1fr; } }

/* Placeholders */
.placeholder {
  border: 1.5px dashed var(--muted); border-radius: var(--radius);
  padding: 28px; display: grid; gap: 8px; color: var(--muted); background: transparent;
}

/* Visit */
.visit { display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: center; }
.visit img { border-radius: var(--radius); aspect-ratio: 4/3; object-fit: cover; width: 100%; }
.visit dl { display: grid; grid-template-columns: auto 1fr; gap: 10px 20px; margin: 0; }
.visit dt { font-weight: 600; }
.visit dd { margin: 0; }
@media (max-width: 820px) { .visit { grid-template-columns: 1fr; } }

/* Footer */
.site-footer { background: var(--forest); color: var(--on-dark); padding-block: 48px 56px; font-size: 0.92rem; }
.site-footer .wrap { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 32px; }
.site-footer h4 { margin: 0 0 10px; font: 600 0.78rem var(--body); letter-spacing: .14em; text-transform: uppercase; color: #c9cfbf; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
@media (max-width: 760px) { .site-footer .wrap { grid-template-columns: 1fr 1fr; } }

/* Service page */
.crumbs { font-size: 0.85rem; color: var(--muted); padding-block: 18px 0; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
.svc-hero { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 48px; padding-block: 28px 64px; align-items: start; }
.svc-hero > div { min-width: 0; display: grid; gap: 20px; }
.svc-hero img { border-radius: var(--radius); aspect-ratio: 4/3; object-fit: cover; width: 100%; }
@media (max-width: 860px) { .svc-hero { grid-template-columns: 1fr; gap: 28px; } }
.price-card { border: 1px solid var(--line); background: #fff; border-radius: var(--radius); padding: 22px; display: grid; gap: 14px; }
.price-card .big { font: 400 2.6rem/1 var(--display); }
.price-card .big small { font: 500 1rem var(--body); color: var(--muted); }
.price-card .member { font-size: 0.95rem; }
.facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; border-block: 1px solid var(--line); }
.facts div { padding: 18px 16px; border-left: 1px solid var(--line); display: grid; gap: 4px; }
.facts div:first-child { border-left: none; padding-left: 0; }
.facts span { font-size: 0.8rem; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); }
.facts b { font-weight: 600; }
@media (max-width: 760px) {
  .facts { grid-template-columns: 1fr 1fr; }
  .facts div { border-left: none; padding-left: 0; }
}
.two-col { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; }
@media (max-width: 860px) { .two-col { grid-template-columns: 1fr; } }
.checks { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.checks li { padding-left: 26px; position: relative; }
.checks li::before { content: ""; position: absolute; left: 0; top: .55em; width: 12px; height: 6px; border-left: 2px solid var(--sage); border-bottom: 2px solid var(--sage); transform: rotate(-45deg); }

/* Calculator */
.calc { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; display: grid; gap: 20px; }
.calc label { display: grid; gap: 8px; font-weight: 600; }
.calc label output { font-weight: 400; color: var(--muted); }
.calc input[type=range] { width: 100%; accent-color: var(--sage); }
.calc-out { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.calc-out div { background: var(--stone); border-radius: var(--radius); padding: 16px; display: grid; gap: 4px; }
.calc-out span { font-size: 0.82rem; color: var(--muted); }
.calc-out b { font: 400 1.9rem/1 var(--display); font-variant-numeric: tabular-nums; }
.calc-verdict { font-weight: 600; color: var(--forest); }

/* Tables */
.table-scroll { overflow-x: auto; }
table.compare { width: 100%; border-collapse: collapse; font-size: 0.95rem; min-width: 640px; }
table.compare th, table.compare td { text-align: left; padding: 14px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
table.compare thead th { font-size: 0.78rem; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); font-weight: 600; }
table.compare td.num { font-variant-numeric: tabular-nums; white-space: nowrap; font-weight: 600; }
table.compare tbody th { font-weight: 600; }

/* FAQ */
details { border-bottom: 1px solid var(--line); padding-block: 16px; }
details summary { cursor: pointer; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
details summary::after { content: "+"; font-weight: 400; font-size: 1.3rem; line-height: 1; }
details[open] summary::after { content: "–"; }
details p { margin-top: 10px; color: var(--muted); }

/* Mobile sticky book bar */
.sticky-book { display: none; }
@media (max-width: 760px) {
  .sticky-book {
    display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 30;
    gap: 12px; align-items: center; justify-content: space-between;
    background: var(--forest); color: var(--on-dark);
    padding: 12px max(16px, env(safe-area-inset-right, 0px)) calc(12px + env(safe-area-inset-bottom, 0px)) max(16px, env(safe-area-inset-left, 0px));
  }
  body.has-sticky { padding-bottom: 76px; }
}

/* ---------- Design notes (not part of the site) ---------- */
.note {
  display: none;
  font: 400 0.84rem/1.5 var(--mono);
  color: var(--note-ink);
  background: var(--note-bg);
  border: 1px solid var(--note-line);
  border-left-width: 4px;
  border-radius: 4px;
  padding: 12px 14px;
  margin-block: 14px;
  max-width: 62ch;
  text-align: left;
  box-shadow: 0 2px 0 #0000000d;
}
.note b { font-weight: 600; }
.note .n {
  display: inline-grid; place-items: center; width: 1.6em; height: 1.6em; margin-right: 6px;
  border-radius: 50%; background: var(--note-line); color: #fff; font-weight: 600; font-size: 0.8rem;
}
html.notes-on .note { display: block; }
.hero .note, .band.forest .note, .promo .note, .site-header .note { color: var(--note-ink); }

.notes-toggle {
  position: fixed; z-index: 40;
  right: max(16px, env(safe-area-inset-right, 0px));
  bottom: calc(16px + env(safe-area-inset-bottom, 0px));
  font: 600 0.8rem/1 var(--mono);
  background: var(--note-bg); color: var(--note-ink); border: 1px solid var(--note-line);
  border-radius: 999px; padding: 10px 14px; cursor: pointer; box-shadow: 0 4px 14px #0000002a;
}
@media (max-width: 760px) { .notes-toggle { bottom: calc(88px + env(safe-area-inset-bottom, 0px)); } }

.toast {
  position: fixed; z-index: 50; left: 50%; transform: translateX(-50%);
  bottom: calc(24px + env(safe-area-inset-bottom, 0px));
  width: min(520px, calc(100% - 32px));
  background: var(--ink); color: var(--on-dark); border-radius: var(--radius);
  padding: 14px 16px; font-size: 0.92rem; box-shadow: 0 8px 30px #0000004d;
}
.toast b { color: var(--note-bg); font-weight: 600; }
