:root {
  --paper: #f5f3ec;
  --paper-soft: #faf8f3;
  --mist: #e3ebe5;
  --clay-tint: #f3e1d4;
  --ink: #1e2b27;
  --muted: #4a584d;
  --sage: #5c7d6c;
  --sage-deep: #3f5b4d;
  --clay: #c3714f;
  --clay-deep: #a35837;
  --line: rgba(30, 43, 39, 0.18);
  --display: "Newsreader", Georgia, serif;
  --body: "Hanken Grotesk", Arial, sans-serif;
  --mono: "IBM Plex Mono", "Courier New", monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 17px; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
body {
  margin: 0;
  overflow-x: hidden;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: 1.05rem;
  line-height: 1.6;
}
img { display: block; max-width: 100%; }
button, input, select { font: inherit; color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--clay); outline-offset: 3px; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: fixed; z-index: 100; left: 1rem; top: -5rem;
  padding: .8rem 1.1rem; background: var(--ink); color: #fff; text-decoration: none;
}
.skip-link:focus { top: 1rem; }

h1, h2, h3 { font-family: var(--display); font-weight: 600; margin: 0; letter-spacing: -0.01em; }

/* Demo bar */
.demo-bar {
  min-height: 2.4rem;
  padding: .55rem 1rem;
  display: flex; align-items: center; justify-content: center; text-align: center;
  background: var(--sage-deep); color: #e7efe9; font-size: .88rem;
}
.demo-bar a { color: #ffd9c4; font-weight: 600; text-decoration: none; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 40;
  height: 4.8rem; padding: 0 1rem;
  display: flex; align-items: center; justify-content: space-between;
  background: rgba(245, 243, 236, 0.94);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--line);
}
.brand { display: flex; align-items: center; gap: .65rem; text-decoration: none; color: var(--ink); }
.brand-mark {
  width: 2.5rem; height: 2.5rem; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--sage); color: #fff; font: 700 1.2rem var(--display);
}
.brand-text strong { display: block; font: 600 1.08rem/1.1 var(--display); }
.brand-text small { display: block; margin-top: .15rem; color: var(--muted); font-size: .8rem; }
.desktop-nav, .header-actions { display: none; }
.desktop-nav a { text-decoration: none; color: var(--ink); font-size: .98rem; font-weight: 500; }

/* Buttons: soft rounded rectangle with an offset layered block behind it, not a pill */
.button {
  position: relative;
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 3.1rem; padding: .8rem 1.4rem;
  border: 1px solid transparent; border-radius: .8rem;
  font-size: .98rem; font-weight: 600; text-decoration: none; cursor: pointer;
}
.button-solid {
  background: var(--clay); color: #fff7f1;
  box-shadow: 5px 5px 0 0 var(--clay-deep);
  transition: transform .15s, box-shadow .15s;
}
.button-solid:hover { transform: translate(-2px, -2px); box-shadow: 7px 7px 0 0 var(--clay-deep); }
.button-solid:active { transform: translate(1px, 1px); box-shadow: 3px 3px 0 0 var(--clay-deep); }
.button-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.button-text {
  background: none; border: 0; padding: 0; color: var(--sage-deep);
  font-size: .98rem; font-weight: 600; text-decoration: underline; text-underline-offset: .25rem; cursor: pointer;
}

.menu-toggle {
  width: 2.9rem; height: 2.9rem; display: grid; place-content: center; gap: 5px;
  border: 0; border-radius: 50%; background: var(--mist);
}
.menu-toggle span { width: 1.3rem; height: 2px; background: var(--ink); transition: transform .2s, opacity .2s; }
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-nav {
  position: fixed; inset: 4.8rem 0 auto 0; z-index: 39;
  padding: .5rem 1rem 1.25rem; background: var(--paper-soft);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 14px 30px rgba(30, 43, 39, .14);
  display: flex; flex-direction: column;
}
.mobile-nav[hidden] { display: none; }
.mobile-nav a {
  padding: .9rem 0; border-bottom: 1px solid var(--line);
  text-decoration: none; color: var(--ink); font-size: 1.2rem; font-family: var(--display); font-weight: 500;
}
.mobile-nav-cta {
  margin-top: 1rem; border: 0 !important;
  background: var(--clay); color: #fff7f1 !important; text-align: center;
  border-radius: .8rem; padding: .9rem 1rem !important; font-family: var(--body) !important; font-weight: 600 !important;
}

/* Section dividers — flowing shape between color bands, Avada-style.
   The 1px negative margin + 1px path overscan below are deliberate: at
   fractional pixel heights (clamp() against vw), the scaled SVG path can
   leave a hairline sliver of the wrapper's own background showing at the
   seam. Pulling the wrapper 1px into the next (identically-coloured)
   section papers over that sliver instead of letting it show as a stray
   line. */
.divider {
  display: block; width: 100%;
  height: clamp(2.4rem, 9vw, 6.8rem);
  line-height: 0;
  margin-bottom: -1px;
}
.divider svg { display: block; width: 100%; height: calc(100% + 1px); }

/* Hero */
.hero { padding: 2.4rem 1.1rem 0; display: grid; gap: 2.2rem; background: var(--paper); }
.eyebrow {
  margin: 0 0 .9rem; color: var(--clay-deep); font-family: var(--mono);
  font-size: .85rem; letter-spacing: .08em; text-transform: uppercase;
}
.hero h1 {
  font-size: clamp(2.4rem, 9vw, 3.6rem); line-height: 1.08; max-width: 14ch;
}
.hero-lede { max-width: 38rem; margin: 1.2rem 0 1.7rem; color: var(--muted); font-size: 1.14rem; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1.3rem; }
.hero-disclosure { margin: 1.3rem 0 0; color: var(--muted); font-size: .92rem; max-width: 34rem; }
.hero-stats {
  margin: 2.1rem 0 0; padding-top: 1.5rem; border-top: 1px solid var(--line);
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem;
}
.hero-stats dt { margin: 0 0 .4rem; color: var(--muted); font-size: .86rem; line-height: 1.3; }
.hero-stats dd { margin: 0; font: 600 1.7rem var(--mono); color: var(--sage-deep); }
.hero-stats dd span { font-size: .95rem; font-weight: 500; color: var(--muted); }

/* Hero visual: image layered over an offset color shape behind it */
.hero-visual { position: relative; padding: 0 0 1.6rem; }
.hero-shape {
  position: absolute; inset: .9rem -.9rem -.9rem .9rem;
  background: var(--clay-tint); border-radius: 1.6rem; z-index: 0;
}
.hero-media {
  position: relative; z-index: 1; margin: 0; border-radius: 1.5rem; overflow: hidden;
  background: var(--mist);
}
.hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero-media figcaption {
  position: absolute; left: .9rem; bottom: .9rem;
  padding: .5rem .85rem; border-radius: .6rem;
  background: rgba(30, 43, 39, .72); color: #f3f7f4; font-size: .82rem; font-family: var(--mono);
}

/* Treatment directory (tabs) */
.directory { padding: 0 1.1rem 3rem; background: var(--mist); }
.directory-intro { max-width: 36rem; margin: 0 auto 2.4rem; }
.directory-intro h2 { font-size: clamp(1.9rem, 6vw, 2.5rem); }
.directory-intro p:last-child { margin: 1.1rem 0 0; color: var(--muted); font-size: 1.05rem; }

.directory-tabs {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: .6rem; margin-bottom: 1.5rem;
}
.directory-tabs button {
  display: flex; align-items: center; gap: .5rem;
  padding: .95rem .95rem; border-radius: .8rem; border: 1px solid var(--line);
  background: var(--paper-soft); text-align: left; font-size: .98rem; font-weight: 600; cursor: pointer;
}
.directory-tabs button[aria-selected="true"] {
  background: var(--sage-deep); border-color: var(--sage-deep); color: #eef4f0;
}
.tab-index { font-family: var(--mono); font-size: .82rem; color: var(--clay-deep); }
.directory-tabs button[aria-selected="true"] .tab-index { color: #ffd9c4; }

.directory-panel h3 { font-size: 1.5rem; margin-bottom: 1.2rem; }
.directory-panel ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.3rem; }
.directory-panel li { display: flex; flex-direction: column; gap: .35rem; }
.directory-panel li strong { font-size: 1.08rem; }
.directory-panel li span { color: var(--muted); font-size: .98rem; }

/* First-visit process — editorial list with ghost numerals, no circles/connecting line */
.process { padding: 0 1.1rem 3.2rem; background: var(--clay-tint); }
.process-intro { max-width: 36rem; margin: 0 auto 2.2rem; }
.process-intro h2 { font-size: clamp(1.9rem, 6vw, 2.5rem); }
.process-intro p:last-child { margin: 1.1rem 0 0; color: var(--muted); font-size: 1.05rem; }

.process-rail { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.6rem; }
.process-rail li { position: relative; padding-left: 4.6rem; }
.process-index {
  position: absolute; left: -.3rem; top: 50%; transform: translateY(-50%);
  font: 700 3.6rem var(--display); color: var(--ink); opacity: .12; line-height: 1;
  pointer-events: none;
}
.process-rail h3 { font-size: 1.28rem; margin-bottom: .4rem; }
.process-rail p { margin: 0; color: var(--muted); font-size: 1rem; max-width: 32rem; }

/* Hours + accessibility info board */
.info-board {
  padding: 2.6rem 1.1rem; background: var(--sage-deep); color: #eef4f0;
  display: grid; gap: 2.5rem;
}
.info-board .eyebrow { color: #ffd9c4; }
.hours-table { width: 100%; border-collapse: collapse; margin-top: .5rem; }
.hours-table th, .hours-table td {
  padding: .75rem 0; border-bottom: 1px solid rgba(238, 244, 240, .2);
  text-align: left; font-size: 1.04rem; font-weight: 400;
}
.hours-table th { font-family: var(--display); font-weight: 600; }
.hours-table td { text-align: right; font-family: var(--mono); font-size: .96rem; }
.info-note { margin: 1.1rem 0 0; color: #cfdcd4; font-size: .94rem; }

.access-list { list-style: none; margin: .5rem 0 1.4rem; padding: 0; display: grid; gap: .9rem; }
.access-list li { display: flex; gap: .6rem; font-size: 1.02rem; }
.access-list li span { color: #ffd9c4; }
address { font-style: normal; font-size: 1rem; color: #dfe9e3; line-height: 1.7; }
address a { color: #fff; text-decoration: underline; text-underline-offset: .2rem; }

/* Tools feature */
.tools-feature {
  padding: 0 1.1rem 3.2rem; background: var(--paper-soft);
  display: grid; gap: 2rem; align-items: center;
}
.tools-media { position: relative; }
.tools-media-main { width: 100%; border-radius: 1.2rem; aspect-ratio: 1400 / 1218; object-fit: cover; }
.tools-media-inset {
  display: none;
}
.tools-copy h2 { font-size: clamp(1.8rem, 6vw, 2.3rem); margin-bottom: 1.1rem; }
.tools-copy p:last-child { color: var(--muted); font-size: 1.05rem; max-width: 32rem; }

/* Appointment preview form — bold color band with a floating card that overlaps the divider above it */
.appointment { padding: 0 1.1rem 3.5rem; background: var(--sage); color: #f3f7f4; }
.appointment-intro { max-width: 36rem; margin: 0 auto 1.6rem; }
.appointment-intro .eyebrow { color: #fff2e8; }
.appointment-intro h2 { font-size: clamp(1.9rem, 6vw, 2.5rem); color: #fff; }
.appointment-intro p:last-child { margin: 1.1rem 0 0; color: #e4ede8; font-size: 1.05rem; }

.appointment-form {
  position: relative; z-index: 2;
  max-width: 36rem; margin: 0 auto; margin-top: -1.4rem;
  background: var(--paper-soft); border: 1px solid var(--line); border-radius: 1.2rem;
  box-shadow: 0 18px 40px rgba(30, 43, 39, .22);
  padding: 1.7rem 1.4rem;
  display: grid; gap: 1.2rem;
  color: var(--ink);
}
.appointment-form[hidden] { display: none; }
.field { display: flex; flex-direction: column; gap: .45rem; }
.field label { font-size: .94rem; font-weight: 600; }
.field input, .field select {
  min-height: 3.1rem; padding: 0 .9rem; border-radius: .6rem;
  border: 1px solid var(--line); background: var(--paper); font-size: 1.04rem;
}
.form-disclosure {
  margin: 0; padding: .95rem 1.05rem; border-radius: .7rem;
  background: var(--mist); color: var(--sage-deep); font-size: .92rem;
}
.form-submit { width: 100%; justify-content: center; }

.appointment-success {
  position: relative; z-index: 2;
  max-width: 36rem; margin: -1.4rem auto 0;
  background: var(--sage-deep); color: #eef4f0; border-radius: 1.2rem;
  box-shadow: 0 18px 40px rgba(30, 43, 39, .22);
  padding: 1.7rem 1.4rem;
}
.appointment-success h3 { font-size: 1.3rem; margin-bottom: .65rem; }
.appointment-success p { margin: 0 0 1.1rem; color: #dfe9e3; font-size: 1.02rem; }
.appointment-success .button-text { color: #ffd9c4; }

/* FAQ — editorial list with ghost index numbers, no card grid or plus-icon boxes */
.faq { padding: 0 1.1rem 4.5rem; background: var(--paper); }
.faq h2 { font-size: clamp(1.9rem, 6vw, 2.3rem); max-width: 30rem; margin-bottom: 1.6rem; }
.faq-grid { counter-reset: faq; display: grid; gap: 1.3rem; }
.faq-grid details { counter-increment: faq; }
.faq-grid summary {
  cursor: pointer; list-style: none;
  display: grid; grid-template-columns: 2.4rem 1fr auto; align-items: baseline; gap: .8rem;
}
.faq-grid summary::before {
  content: counter(faq, decimal-leading-zero);
  font-family: var(--mono); font-size: .88rem; color: var(--clay-deep);
}
.faq-grid summary .faq-q { font-weight: 600; font-size: 1.14rem; font-family: var(--display); }
.faq-grid summary::-webkit-details-marker { display: none; }
.faq-grid summary .faq-arrow {
  font-family: var(--mono); color: var(--clay-deep); transition: transform .2s;
}
.faq-grid details[open] summary .faq-arrow { transform: rotate(90deg); }
.faq-grid p { margin: .9rem 0 0 3.2rem; color: var(--muted); font-size: 1.02rem; max-width: 34rem; }

/* Footer */
.site-footer { padding: 2.8rem 1.1rem; background: var(--ink); color: #e7efe9; }
.footer-top { display: grid; gap: 1.6rem; padding-bottom: 1.6rem; border-bottom: 1px solid rgba(231, 239, 233, .18); }
.footer-top strong { font-family: var(--display); font-size: 1.3rem; }
.footer-top p { margin: .45rem 0 0; color: #b7c6bc; font-size: .98rem; }
.footer-top nav { display: flex; flex-wrap: wrap; gap: 1.1rem; }
.footer-top nav a { color: #e7efe9; text-decoration: none; font-size: .98rem; }
.footer-bottom { padding-top: 1.4rem; display: flex; flex-direction: column; gap: .8rem; }
.footer-bottom p { margin: 0; color: #9fb0a5; font-size: .9rem; }
.footer-bottom a { color: #ffd9c4; font-size: .96rem; font-weight: 600; text-decoration: none; }

/* Tablet / desktop */
@media (min-width: 46em) {
  .desktop-nav { display: flex; gap: 1.6rem; }
  .header-actions { display: flex; gap: .7rem; }
  .menu-toggle { display: none; }
  .mobile-nav { display: none; }

  .hero { grid-template-columns: 1.05fr 1fr; align-items: center; padding: 3.5rem 2.5rem 0; }
  .hero-stats { grid-template-columns: repeat(3, auto); justify-content: start; gap: 2.4rem; }

  .directory, .process, .appointment, .faq, .tools-feature { padding-left: 2.5rem; padding-right: 2.5rem; }
  .directory-body { display: grid; grid-template-columns: 15rem 1fr; gap: 2.5rem; align-items: start; }
  .directory-tabs { grid-template-columns: 1fr; position: sticky; top: 6rem; }
  .directory-panel { max-width: 34rem; }

  .process-rail { max-width: 48rem; }
  .process-rail li { padding-left: 6.2rem; }
  .process-index { font-size: 4.6rem; }

  .info-board { grid-template-columns: 1fr 1fr; padding: 4rem 2.5rem; gap: 4rem; }

  .tools-feature { grid-template-columns: 1fr 1fr; padding-bottom: 4.5rem; }
  .tools-media { display: grid; grid-template-columns: 1.3fr 1fr; gap: .9rem; align-items: end; }
  .tools-media-main { aspect-ratio: 3 / 4; }
  .tools-media-inset {
    display: block; border-radius: 1rem; aspect-ratio: 3 / 2; object-fit: cover;
  }

  .appointment-form, .appointment-success { margin-top: -2.6rem; }

  .faq-grid summary .faq-q { font-size: 1.22rem; }

  .footer-top { grid-template-columns: 1fr auto; align-items: start; }
  .footer-bottom { flex-direction: row; justify-content: space-between; align-items: center; }
}

@media (min-width: 64em) {
  .hero h1 { font-size: 3.8rem; }
  /* Sections stay full-bleed (their background is the color band) — centre the
     CONTENT with wide auto-balancing padding instead of constraining the
     section itself, or the bands would leave white gutters at the viewport
     edges and break the divider seams. */
  .site-header, .demo-bar, .directory, .process, .appointment, .faq, .tools-feature, .info-board, .hero,
  .footer-top, .footer-bottom {
    padding-left: max(2.5rem, calc((100% - 78rem) / 2));
    padding-right: max(2.5rem, calc((100% - 78rem) / 2));
  }
}
