/* ETE Skin — Corrective Skincare Clinic
   Palette taken from the logo: espresso brown on warm paper cream. */

:root {
  --cream: #f7f2eb;
  --paper: #efe7dc;
  --sand: #e4d7c6;
  --taupe: #c2ab93;
  --bronze: #8e6b50;
  --brown: #4b2e20;
  --espresso: #2c1c13;
  --ink: #2b1f18;
  --muted: #6d5c50;
  --line: rgba(75, 46, 32, 0.14);
  --white: #fffdfa;

  --serif: "Cormorant Garamond", "Times New Roman", serif;
  --sans: "Montserrat", "Helvetica Neue", Arial, sans-serif;

  --radius: 18px;
  --radius-lg: 28px;
  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --section: clamp(72px, 10vw, 128px);
  --shadow: 0 18px 50px -24px rgba(44, 28, 19, 0.35);
}

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

html { scroll-padding-top: 96px; }
/* Smooth scrolling is switched on after load so links to a section of another page land instantly */
html.smooth-scroll { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.7;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
[hidden] { display: none !important; }
a { color: inherit; }
button { font: inherit; color: inherit; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }

.skip-link {
  position: absolute; left: -9999px; top: 8px; z-index: 100;
  background: var(--brown); color: var(--cream); padding: 10px 16px; border-radius: 8px;
}
.skip-link:focus { left: 8px; }

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

/* ---------- Type ---------- */

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 500;
  color: var(--espresso);
  line-height: 1.08;
  margin: 0 0 0.5em;
  letter-spacing: -0.01em;
}
h1 { font-size: clamp(2.8rem, 6.4vw, 5.4rem); }
h2 { font-size: clamp(2.2rem, 4.4vw, 3.6rem); }
h3 { font-size: clamp(1.5rem, 2.2vw, 1.9rem); }
h1 em, h2 em { font-style: italic; color: var(--bronze); }

p { margin: 0 0 1em; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 0.72rem; font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--bronze); margin-bottom: 18px;
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; }
/* A small heading inside a main heading (the home page's) sits on its own line, in the small heading's style */
h1 .eyebrow { display: flex; font-family: var(--sans); line-height: 1.7; }

.lede { font-size: clamp(1rem, 1.3vw, 1.12rem); color: var(--muted); max-width: 60ch; }

.section { padding: var(--section) 0; }
.section--paper { background: var(--paper); }
.section--dark { background: var(--espresso); color: #e9ddd0; }
.section--dark h2, .section--dark h3 { color: var(--cream); }
.section--dark .eyebrow { color: var(--taupe); }
.section--dark .lede { color: #cbbcad; }

.section-head { max-width: 720px; margin-bottom: clamp(36px, 5vw, 60px); }
.section-head--center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head--center .eyebrow::before { display: none; }
.section-head--center .lede { margin-left: auto; margin-right: auto; }
.section-head--center .btn-row { justify-content: center; }
/* Gift vouchers page: the clinic address under "Prefer something to wrap?" */
.voucher-address { font-family: var(--serif); font-size: 1.35rem; color: var(--brown); margin: 6px 0 26px; }

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

.btn {
  display: inline-flex; align-items: center; gap: 14px;
  padding: 8px 8px 8px 26px; min-height: 52px;
  border-radius: 999px; border: 1px solid transparent;
  font-size: 0.74rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase;
  text-decoration: none; cursor: pointer; transition: background .25s, color .25s, border-color .25s, transform .25s;
}
.btn .arrow {
  display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%;
  background: rgba(255, 255, 255, 0.16); transition: transform .25s;
}
.btn .arrow svg { width: 14px; height: 14px; }
.btn:hover .arrow { transform: rotate(45deg); }

.btn--primary { background: var(--brown); color: var(--cream); }
.btn--primary:hover { background: var(--espresso); }
.btn--ghost { border-color: var(--line); color: var(--brown); background: transparent; }
.btn--ghost .arrow { background: var(--paper); }
.btn--ghost:hover { border-color: var(--brown); }
.btn--light { background: var(--cream); color: var(--brown); }
.btn--light .arrow { background: var(--paper); }
.btn--light:hover { background: var(--white); }
.btn--outline-light { border-color: rgba(247, 242, 235, 0.35); color: var(--cream); }
.btn--outline-light:hover { border-color: var(--cream); }
.btn--sm { min-height: 44px; padding: 6px 6px 6px 20px; font-size: 0.68rem; }
.btn--sm .arrow { width: 32px; height: 32px; }
.nav .btn { white-space: nowrap; }

.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 0.72rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--bronze); text-decoration: none;
}
.link-arrow span {
  display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%;
  background: var(--paper); transition: transform .25s;
}
.link-arrow svg { width: 12px; height: 12px; }
.link-arrow:hover span { transform: rotate(45deg); }

/* ---------- Top bar + header ---------- */

.header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(247, 242, 235, 0.92);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent; transition: border-color .3s, box-shadow .3s;
}
.header.is-scrolled { border-color: var(--line); box-shadow: 0 8px 30px -20px rgba(44, 28, 19, 0.4); }
.header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 84px; }
.header__logo img { width: 190px; height: auto; }
.nav { display: flex; align-items: center; gap: clamp(18px, 2.4vw, 34px); }
.nav__list { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: clamp(16px, 2.2vw, 30px); }
.nav__list > li { position: relative; display: flex; align-items: center; gap: 2px; }
.nav__list > li > a {
  font-size: 0.74rem; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase;
  text-decoration: none; color: var(--brown); position: relative; padding: 6px 0; white-space: nowrap;
}
.nav__list > li > a::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 1px; width: 0; background: var(--bronze); transition: width .25s;
}
.nav__list > li > a:hover::after, .nav__list > li > a[aria-current="page"]::after { width: 100%; }
.nav__secondary { display: none !important; }

.sub-toggle {
  display: grid; place-items: center; width: 22px; height: 22px; padding: 0; border: 0; background: none;
  color: var(--brown); cursor: pointer; border-radius: 50%;
}
.sub-toggle svg { width: 12px; height: 12px; transition: transform .25s; }
.nav__sub {
  list-style: none; margin: 0; position: absolute; top: calc(100% + 16px); left: -18px; z-index: 60;
  min-width: 280px; padding: 10px; background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius); box-shadow: var(--shadow);
  opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .2s, transform .2s, visibility .2s;
}
.nav__sub::before { content: ""; position: absolute; left: 0; right: 0; top: -18px; height: 18px; }
.has-sub:hover .nav__sub, .has-sub:focus-within .nav__sub, .has-sub.is-open .nav__sub { opacity: 1; visibility: visible; transform: none; }
.has-sub:hover .sub-toggle svg, .has-sub.is-open .sub-toggle svg { transform: rotate(180deg); }
.nav__sub a {
  display: block; padding: 10px 14px; border-radius: 10px; font-size: 0.9rem; color: var(--brown); text-decoration: none; white-space: nowrap;
}
.nav__sub a:hover, .nav__sub a:focus-visible, .nav__sub a[aria-current="page"] { background: var(--paper); }

.menu-toggle {
  display: none; width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line);
  background: transparent; cursor: pointer; place-items: center;
}
.menu-toggle span, .menu-toggle span::before, .menu-toggle span::after {
  display: block; width: 18px; height: 1.5px; background: var(--brown); position: relative; transition: transform .3s, background .3s;
}
.menu-toggle span::before, .menu-toggle span::after { content: ""; position: absolute; left: 0; }
.menu-toggle span::before { top: -6px; }
.menu-toggle span::after { top: 6px; }
.menu-open .menu-toggle span { background: transparent; }
.menu-open .menu-toggle span::before { transform: translateY(6px) rotate(45deg); }
.menu-open .menu-toggle span::after { transform: translateY(-6px) rotate(-45deg); }

/* ---------- Photo slots ----------
   Each .media has a data-src. If the photo exists, the build puts it in as an <img> (main.js does it on pages
   that haven't been built); until then a branded placeholder shows with a label saying what goes there. */

.media {
  position: relative; overflow: hidden; border-radius: var(--radius);
  background:
    radial-gradient(120% 90% at 20% 10%, rgba(255, 253, 250, 0.7), transparent 60%),
    linear-gradient(160deg, var(--sand), #d8c6b1);
  background-size: cover; background-position: center;
}
.media::after {
  content: ""; position: absolute; inset: 0;
  background: url("../img/logo-wordmark.png") center / 46% auto no-repeat; opacity: 0.12;
}
.media__label {
  position: absolute; left: 14px; bottom: 14px; right: 14px;
  font-size: 0.66rem; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 600; color: var(--brown); opacity: 0.6;
  overflow-wrap: anywhere;
}
.media.has-img::after, .media.has-img .media__label { display: none; }
.media__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border-radius: inherit; }
/* A treatment video fades in over its photo once it plays; its own rounding keeps Safari from drawing square corners */
.media__video {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  border-radius: inherit; opacity: 0; transition: opacity .5s;
}
.media__video.is-playing { opacity: 1; }

/* ---------- Hero ---------- */

.hero { position: relative; padding: clamp(40px, 6vw, 84px) 0 clamp(64px, 8vw, 110px); overflow: hidden; }
.hero .wrap { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero h1 { margin-bottom: 0.35em; }
.hero .lede { margin-bottom: 34px; }
.hero__visual { position: relative; }
.hero__visual .media { aspect-ratio: 4 / 5; border-radius: 999px 999px var(--radius-lg) var(--radius-lg); box-shadow: var(--shadow); }
.hero__badge {
  position: absolute; left: -28px; bottom: 44px; background: var(--white); border-radius: var(--radius);
  padding: 18px 22px; box-shadow: var(--shadow); max-width: 230px;
}
.hero__badge strong { display: block; font-family: var(--serif); font-size: 1.6rem; font-weight: 500; color: var(--brown); line-height: 1.1; }
.hero__badge span { font-size: 0.78rem; color: var(--muted); line-height: 1.5; display: block; margin-top: 4px; }
.hero__ring {
  position: absolute; right: -120px; top: -140px; width: 520px; height: 520px; border-radius: 50%;
  border: 1px solid var(--line); pointer-events: none;
}

/* ---------- Stats strip ---------- */

.stats { background: var(--espresso); color: #d9c9b8; }
.stats .wrap { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: 34px 26px; border-left: 1px solid rgba(247, 242, 235, 0.1); }
.stat:first-child { border-left: 0; padding-left: 0; }
.stat strong { display: block; font-family: var(--serif); font-weight: 500; font-size: 2.1rem; color: var(--taupe); line-height: 1.1; }
.stat span { font-size: 0.82rem; line-height: 1.5; display: block; margin-top: 4px; }

/* ---------- Concern finder ---------- */

.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 28px; }
.chip {
  border: 1px solid var(--line); background: var(--white); border-radius: 999px;
  padding: 11px 20px; font-size: 0.82rem; font-weight: 500; cursor: pointer; color: var(--brown);
  transition: background .2s, color .2s, border-color .2s;
}
.chip:hover { border-color: var(--brown); }
.chip[aria-selected="true"] { background: var(--brown); border-color: var(--brown); color: var(--cream); }

.finder {
  display: grid; grid-template-columns: 1.5fr 1fr; gap: 32px; align-items: center;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: clamp(26px, 4vw, 48px); box-shadow: var(--shadow);
}
.finder h3 { font-size: clamp(1.9rem, 3vw, 2.5rem); margin-bottom: 0.3em; }
.finder p { color: var(--muted); }
.finder__meta { display: grid; grid-template-columns: repeat(3, auto); gap: 18px 36px; margin-top: 22px; justify-content: start; }
.finder__meta dt { font-size: 0.64rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--bronze); font-weight: 600; }
.finder__meta dd { margin: 4px 0 0; font-weight: 600; color: var(--brown); font-size: 0.92rem; }
.finder__actions { display: flex; flex-direction: column; gap: 12px; align-items: stretch; }
.finder__actions .btn { justify-content: space-between; }
.finder [data-panel] { animation: fade .4s ease; }
@keyframes fade { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

/* ---------- Treatment cards ---------- */

.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card {
  display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius-lg); overflow: hidden; text-decoration: none; transition: transform .3s, box-shadow .3s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card .media { aspect-ratio: 4 / 3; border-radius: 0; }
.card__body { padding: 24px 26px 26px; display: flex; flex-direction: column; flex: 1; }
.card__top { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.card h3 { font-size: 1.65rem; margin-bottom: 0.3em; }
.card__price { font-size: 0.74rem; font-weight: 600; color: var(--bronze); white-space: nowrap; letter-spacing: 0.06em; }
.card p { font-size: 0.9rem; color: var(--muted); flex: 1; }

/* ---------- Perfect Peel feature ---------- */

.feature { display: grid; grid-template-columns: 0.95fr 1.05fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.feature .media { aspect-ratio: 4 / 5; border-radius: var(--radius-lg); }
.section--dark .media { background: radial-gradient(120% 90% at 20% 10%, rgba(194, 171, 147, 0.25), transparent 60%), linear-gradient(160deg, #5a3a29, #3a2418); background-size: cover; background-position: center; }
.section--dark .media::after { background-image: url("../img/logo-wordmark-cream.png"); opacity: 0.14; }
.ticks { list-style: none; padding: 0; margin: 26px 0 34px; display: grid; gap: 12px; }
.ticks li { position: relative; padding-left: 30px; }
.ticks li::before {
  content: ""; position: absolute; left: 0; top: 0.7em; width: 16px; height: 1px; background: var(--taupe);
}
.pathways { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 34px; }
.pathways--3 { grid-template-columns: repeat(3, 1fr); }
.pathway { border: 1px solid rgba(247, 242, 235, 0.16); border-radius: var(--radius); padding: 20px 22px; }
.pathway strong { display: block; font-family: var(--serif); font-size: 2rem; font-weight: 500; color: var(--cream); line-height: 1; }
.pathway h4 { font-family: var(--sans); font-size: 0.7rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--taupe); margin: 0 0 10px; font-weight: 600; }
.pathway p { font-size: 0.84rem; margin: 10px 0 0; color: #cbbcad; }

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

.about { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 90px); align-items: center; }
.about .media { aspect-ratio: 4 / 5; border-radius: var(--radius-lg) var(--radius-lg) var(--radius-lg) 160px; }
.about blockquote {
  margin: 0 0 24px; font-family: var(--serif); font-size: clamp(1.5rem, 2.4vw, 2rem); line-height: 1.3; color: var(--brown); font-style: italic;
}
.signature { margin-top: 28px; display: flex; align-items: center; gap: 16px; }
.signature img { width: 120px; }
.signature span { font-size: 0.78rem; color: var(--muted); border-left: 1px solid var(--line); padding-left: 16px; }

/* ---------- Results ---------- */

.results { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.result { margin: 0; background: var(--white); border-radius: var(--radius-lg); padding: 12px; border: 1px solid var(--line); }
.result__pair { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.result__pair .media { aspect-ratio: 3 / 4; border-radius: 12px; }
.result__pair .media::after { background-size: 70% auto; }
.result__tag {
  position: absolute; top: 10px; left: 10px; z-index: 1; background: rgba(255, 253, 250, 0.9); color: var(--brown);
  font-size: 0.6rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; padding: 5px 10px; border-radius: 999px;
}
.result figcaption { padding: 14px 8px 6px; font-size: 0.86rem; color: var(--muted); }
.result figcaption strong { color: var(--brown); font-weight: 600; display: block; }
.note { font-size: 0.8rem; color: var(--muted); margin-top: 26px; }

/* ---------- Steps ---------- */

.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; counter-reset: step; }
.step { border-top: 1px solid var(--brown); padding-top: 26px; }
.step__num { font-family: var(--serif); font-size: 3rem; color: var(--taupe); line-height: 1; display: block; margin-bottom: 14px; }
.step h3 { font-size: 1.5rem; }
.step p { font-size: 0.9rem; color: var(--muted); }

/* ---------- Community band ---------- */

.band-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.band-card {
  border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 30px; background: var(--cream);
  display: flex; flex-direction: column; gap: 6px;
}
.band-card p { color: var(--muted); font-size: 0.9rem; flex: 1; }
.band-card .icon { width: 44px; height: 44px; border-radius: 50%; background: var(--paper); display: grid; place-items: center; margin-bottom: 12px; color: var(--brown); }
.band-card .icon svg { width: 20px; height: 20px; }

/* ---------- FAQ ---------- */

.faq-layout { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(32px, 6vw, 90px); align-items: start; }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-child { border-top: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; padding: 22px 44px 22px 0; position: relative;
  font-family: var(--serif); font-size: 1.4rem; color: var(--espresso); font-weight: 500; line-height: 1.3;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%);
  font-family: var(--sans); font-weight: 300; font-size: 1.6rem; color: var(--bronze); transition: transform .25s;
}
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { color: var(--muted); padding-right: 40px; font-size: 0.95rem; }

/* ---------- Contact ---------- */

.contact { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.contact-list { list-style: none; padding: 0; margin: 30px 0; display: grid; gap: 14px; }
.contact-list li { display: flex; gap: 16px; align-items: center; }
.contact-list .icon { width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(247, 242, 235, 0.2); display: grid; place-items: center; flex: none; }
.contact-list svg { width: 18px; height: 18px; }
.contact-list a { color: var(--cream); text-decoration: none; }
.contact-list a:hover { text-decoration: underline; }
.contact-list small { display: block; font-size: 0.66rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--taupe); }

.contact .contact__map { margin-top: 0; align-self: stretch; }
.contact .contact__map iframe { height: 100%; min-height: 380px; }

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

.footer { background: #20140d; color: #bfae9d; padding: 72px 0 28px; font-size: 0.9rem; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
.footer__brand img { width: 260px; margin-bottom: 22px; }
.footer h4 { font-family: var(--sans); font-size: 0.68rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--taupe); font-weight: 600; margin-bottom: 16px; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.footer a { color: #e9ddd0; text-decoration: none; }
.footer a:hover { text-decoration: underline; }
.footer__base {
  margin-top: 56px; padding-top: 22px; border-top: 1px solid rgba(247, 242, 235, 0.1);
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 0.78rem;
}
.socials { display: flex; gap: 10px; margin-top: 18px; }
.socials a { width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(247, 242, 235, 0.18); display: grid; place-items: center; }
.socials a:hover { background: rgba(247, 242, 235, 0.08); text-decoration: none; }
.socials svg { width: 17px; height: 17px; }

/* ---------- Treatments page ---------- */

.page-hero { padding: clamp(48px, 7vw, 96px) 0 clamp(36px, 5vw, 60px); }
.page-hero .lede { margin-bottom: 0; }

.subnav { position: sticky; top: 84px; z-index: 40; background: rgba(247, 242, 235, 0.95); border-bottom: 1px solid var(--line); backdrop-filter: blur(8px); }
.subnav .wrap { display: flex; gap: 8px; overflow-x: auto; padding-top: 12px; padding-bottom: 12px; scrollbar-width: none; }
.subnav .wrap::-webkit-scrollbar { display: none; }
.subnav a {
  flex: none; padding: 9px 16px; border-radius: 999px; border: 1px solid var(--line); background: var(--white);
  font-size: 0.78rem; font-weight: 500; text-decoration: none; color: var(--brown);
}
.subnav a:hover, .subnav a.is-active { background: var(--brown); color: var(--cream); border-color: var(--brown); }

.menu-section { padding: clamp(56px, 7vw, 88px) 0; border-bottom: 1px solid var(--line); scroll-margin-top: 64px; }
.menu-section:nth-of-type(even) { background: var(--paper); }
.menu-section__head { display: grid; grid-template-columns: 1fr 1.4fr; gap: clamp(24px, 5vw, 72px); }
.menu-section__intro .notice {
  display: inline-block; margin-top: 8px; font-size: 0.72rem; font-weight: 600; letter-spacing: 0.08em;
  color: var(--brown); background: var(--sand); border-radius: 999px; padding: 7px 14px;
}
.menu-list { display: grid; gap: 0; }
.menu-item { padding: 24px 0; border-bottom: 1px solid var(--line); }
.menu-item:first-child { padding-top: 0; }
.menu-item:last-child { border-bottom: 0; }
.menu-item__top { display: flex; justify-content: space-between; align-items: baseline; gap: 18px; }
.menu-item h3 { font-size: 1.6rem; margin: 0 0 8px; }
.menu-item__price { font-family: var(--serif); font-size: 1.6rem; color: var(--brown); white-space: nowrap; }
.menu-item p { color: var(--muted); font-size: 0.93rem; margin-bottom: 0.6em; }
.menu-item .tags { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 10px; }
.menu-item .tag { font-size: 0.66rem; letter-spacing: 0.12em; text-transform: uppercase; font-weight: 600; color: var(--bronze); border: 1px solid var(--line); padding: 4px 10px; border-radius: 999px; }
.price-table { width: 100%; border-collapse: collapse; margin-top: 12px; font-size: 0.92rem; }
.price-table td { padding: 10px 0; border-bottom: 1px dashed var(--line); }
.price-table td:last-child { text-align: right; font-weight: 600; color: var(--brown); white-space: nowrap; }
.price-table .save { font-weight: 500; color: var(--bronze); font-size: 0.78rem; margin-left: 6px; }

.policy-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.policy { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 28px; }
.policy h3 { font-size: 1.5rem; }
.policy ul { margin: 0; padding-left: 18px; color: var(--muted); font-size: 0.9rem; display: grid; gap: 8px; }

.cta-band { background: var(--brown); color: var(--cream); border-radius: var(--radius-lg); padding: clamp(32px, 5vw, 60px); display: flex; justify-content: space-between; align-items: center; gap: 28px; flex-wrap: wrap; }
.cta-band h2 { color: var(--cream); margin: 0 0 8px; font-size: clamp(2rem, 3.6vw, 3rem); }
.cta-band p { margin: 0; color: #e0d2c3; }

/* ---------- Reveal on scroll ---------- */

.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .assistant .assistant__panel { transition: none; }
  * { animation: none !important; }
}

/* ---------- Responsive ---------- */

@media (max-width: 1080px) {
  .nav { gap: 18px; }
  .nav__list { gap: 16px; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}


/* Mobile navigation */
/* The menu needs about 1,040px on one line, so below 1080px it folds into the menu button */
@media (max-width: 1080px) {
  .menu-toggle { display: grid; }
  .nav {
    position: absolute; top: 100%; left: 0; right: 0; background: var(--cream); flex-direction: column; align-items: stretch;
    gap: 0; padding: 8px var(--gutter) 28px; border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
    max-height: calc(100vh - 72px); overflow-y: auto;
    transform: translateY(-12px); opacity: 0; visibility: hidden; transition: opacity .25s, transform .25s, visibility .25s;
  }
  .menu-open .nav { transform: none; opacity: 1; visibility: visible; }
  .nav__list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav__list > li { flex-wrap: wrap; justify-content: space-between; border-bottom: 1px solid var(--line); }
  .nav__list > li > a { flex: 1; padding: 16px 0; font-size: 0.8rem; }
  .nav__list > li > a::after { display: none; }
  .sub-toggle { width: 44px; height: 44px; border: 1px solid var(--line); }
  .nav__sub {
    position: static; flex-basis: 100%; min-width: 0; display: none; padding: 0 0 14px; margin-top: -4px;
    opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; background: transparent;
  }
  .nav__sub::before { display: none; }
  .has-sub.is-open .nav__sub { display: block; }
  .has-sub:hover .sub-toggle svg { transform: none; }
  .has-sub.is-open .sub-toggle svg { transform: rotate(180deg); }
  .nav__sub a { padding: 11px 14px; font-size: 0.92rem; white-space: normal; }
  .nav__secondary { display: flex !important; border-bottom: 0 !important; }
  .nav__list > li.nav__secondary > a { padding: 12px 0 0; font-size: 0.7rem; color: var(--muted); }
  .nav__list > li:not(.nav__secondary) + li.nav__secondary { margin-top: 10px; }
  .nav .btn { margin-top: 22px; justify-content: space-between; }
}

@media (max-width: 880px) {
  .hero .wrap, .feature, .about, .faq-layout, .contact, .finder, .menu-section__head { grid-template-columns: 1fr; }
  .hero__visual { max-width: 440px; }
  .hero__ring { display: none; }
  .hero__badge { left: 12px; }
  .stats .wrap { grid-template-columns: 1fr 1fr; }
  .stat { padding: 24px 16px; border-left: 0; border-top: 1px solid rgba(247, 242, 235, 0.1); }
  .stat:nth-child(odd) { padding-left: 0; }
  .stat:nth-child(-n+2) { border-top: 0; }
  .results { grid-template-columns: 1fr; max-width: 520px; }
  .band-grid { grid-template-columns: 1fr; }
  .policy-grid { grid-template-columns: 1fr; }
  .feature .media { max-height: 520px; }
  .subnav { top: 84px; }
}

@media (max-width: 600px) {
  .header .wrap { min-height: 72px; }
  .header__logo img { width: 150px; }
  .subnav { top: 72px; }
  .cards, .steps { grid-template-columns: 1fr; }
  .finder__meta { grid-template-columns: 1fr 1fr; }
  .stat strong { font-size: 1.6rem; }
  .pathways, .pathways--3 { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
  .btn-row .btn { width: 100%; justify-content: space-between; }
  .faq summary { font-size: 1.25rem; }
  .menu-item__top { flex-direction: column; gap: 0; }
  .menu-item__price { font-size: 1.35rem; margin-bottom: 6px; }
}

.menu-item h3 small { font-family: var(--sans); font-size: 0.68rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--bronze); font-weight: 600; margin-left: 6px; white-space: nowrap; }

/* ---------- Inner pages ---------- */


.hero--page h1 { font-size: clamp(2.6rem, 5.4vw, 4.6rem); }
.hero--page h1 em { display: block; font-size: 0.62em; margin-top: 0.2em; }

.ticks li::before { background: var(--bronze); }
.section--dark .ticks li::before { background: var(--taupe); }

.info-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: clamp(32px, 6vw, 84px); align-items: start; }
.prose p { color: var(--muted); }
.prose p:first-of-type { color: var(--ink); font-size: 1.05rem; }
.info-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(24px, 3vw, 34px); }
.info-card h3 { font-size: 1.6rem; }
.info-card .ticks { margin: 18px 0 0; color: var(--muted); font-size: 0.95rem; }
.section--paper .info-card { background: var(--cream); }

.options { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 22px; }
.option {
  display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: clamp(24px, 3vw, 32px);
}
.option__label { font-size: 0.66rem; letter-spacing: 0.18em; text-transform: uppercase; font-weight: 600; color: var(--bronze); }
.option h3 { font-size: 1.7rem; margin: 8px 0 4px; }
.option__price { font-family: var(--serif); font-size: 2.4rem; color: var(--brown); line-height: 1; margin: 6px 0 16px; }
.option p { color: var(--muted); font-size: 0.92rem; }
.option .ticks { margin: 4px 0 18px; font-size: 0.9rem; color: var(--muted); gap: 8px; }
.option .tags { margin-top: auto; display: flex; flex-wrap: wrap; gap: 8px; }
.option .tag, .tag-pill {
  font-size: 0.64rem; letter-spacing: 0.12em; text-transform: uppercase; font-weight: 600; color: var(--bronze);
  border: 1px solid var(--line); padding: 5px 10px; border-radius: 999px;
}
.option--featured { background: var(--espresso); border-color: var(--espresso); color: #e0d2c3; }
.option--featured h3 { color: var(--cream); }
.option--featured .option__price { color: var(--taupe); }
.option--featured p, .option--featured .ticks { color: #cbbcad; }
.option--featured .option__label { color: var(--taupe); }

.tag-list { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.tag-list li { background: var(--white); border: 1px solid var(--line); border-radius: 999px; padding: 9px 18px; font-size: 0.88rem; color: var(--brown); }

.callout { background: var(--sand); color: var(--brown); border-radius: var(--radius); padding: 18px 22px; font-size: 0.9rem; margin-top: 26px; }
.callout strong { font-weight: 600; }

.section-foot { margin-top: 36px; }

@media (max-width: 880px) {
  .info-grid { grid-template-columns: 1fr; }
}
.steps--3 { grid-template-columns: repeat(3, 1fr); }
.cards--2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 880px) {
  .steps--3 { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .cards--2 { grid-template-columns: 1fr; }
}
.price-links { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; margin-top: 22px; }
.band-grid--4 { grid-template-columns: repeat(4, 1fr); }
.band-grid--4 .band-card { background: var(--white); }
@media (max-width: 1080px) {
  .band-grid--4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .band-grid--4 { grid-template-columns: 1fr; }
}
.section--dark .info-card h3 { color: var(--espresso); }

/* ---------- Home (menu-style layout) ---------- */

.home-hero {
  position: relative; display: grid; place-items: center; text-align: center; overflow: hidden;
  min-height: min(84vh, 760px); color: var(--cream); background: var(--espresso);
}
.home-hero > .media { position: absolute; inset: 0; border-radius: 0; }
.home-hero__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.home-hero .media__label { color: var(--cream); }
.home-hero__shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(44, 28, 19, 0.35), rgba(44, 28, 19, 0.6)); }
.home-hero__inner { position: relative; z-index: 1; padding-top: clamp(80px, 12vw, 140px); padding-bottom: clamp(80px, 12vw, 140px); }
.home-hero .eyebrow { color: var(--taupe); justify-content: center; }
.home-hero .eyebrow::before { display: none; }
.home-hero h1 {
  color: var(--cream); text-transform: uppercase; letter-spacing: 0.02em; font-weight: 500;
  font-size: clamp(2.4rem, 5.6vw, 5rem); line-height: 1.04; max-width: 20ch; margin: 0 auto 0.4em; text-wrap: balance;
}
.home-hero p:not(.eyebrow) { max-width: 52ch; margin: 0 auto 34px; color: #e9ddd0; font-size: clamp(1rem, 1.3vw, 1.12rem); }

/* Darker placeholder for photo slots on dark backgrounds */
.media--dark { background: radial-gradient(120% 90% at 30% 20%, rgba(194, 171, 147, 0.22), transparent 60%), linear-gradient(160deg, #5a3a29, #2c1c13); background-size: cover; background-position: center; }
.media--dark::after { background-image: url("../img/logo-wordmark-cream.png"); background-size: 34% auto; opacity: 0.08; }

.facts-band { background: var(--brown); color: var(--cream); }
.facts-band ul {
  list-style: none; margin: 0; padding: 30px 0; display: flex; flex-wrap: wrap; justify-content: center; align-items: center;
  gap: 12px clamp(22px, 3.4vw, 48px);
}
.facts-band li { position: relative; font-family: var(--serif); font-size: clamp(1rem, 1.4vw, 1.25rem); letter-spacing: 0.05em; text-transform: uppercase; }
.facts-band li + li::before {
  content: ""; position: absolute; top: 50%; left: calc(clamp(22px, 3.4vw, 48px) / -2 - 3px);
  width: 6px; height: 6px; background: var(--taupe); transform: translateY(-50%) rotate(45deg);
}

.menu-title { font-size: clamp(2.4rem, 4.6vw, 3.8rem); margin-bottom: clamp(28px, 4vw, 44px); }
.menu-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 18px; }
.tile {
  grid-column: span 3; display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 14px; text-decoration: none; color: var(--brown); transition: transform .3s, box-shadow .3s;
}
.tile--third { grid-column: span 4; }
.tile--wide { grid-column: span 8; }
a.tile:hover, .tile--wide:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.tile .media { height: clamp(200px, 21vw, 280px); border-radius: 10px; }
.tile__media-link { display: block; }
.tile__label {
  display: block; padding: 16px 4px 4px; font-size: 0.72rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--brown);
}
.tile__label--multi { list-style: none; margin: 0; display: flex; flex-wrap: wrap; gap: 6px 0; }
.tile__label--multi li { display: flex; align-items: center; }
.tile__label--multi li + li::before { content: "\2022"; margin: 0 10px; color: var(--taupe); }
.tile__label--multi a { color: var(--bronze); text-decoration: none; }
.tile__label--multi li:first-child a { color: var(--brown); }
.tile__label--multi a:hover { text-decoration: underline; text-underline-offset: 4px; }

.reviews-track { display: flex; gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 10px; }
.review {
  flex: 0 0 min(340px, 85%); scroll-snap-align: start; margin: 0; background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 28px; display: flex; flex-direction: column; justify-content: space-between; gap: 18px;
}
.review blockquote { margin: 0; font-family: var(--serif); font-size: 1.25rem; line-height: 1.4; color: var(--espresso); }
.review figcaption { font-size: 0.72rem; letter-spacing: 0.08em; color: var(--muted); }

.ig-band { text-align: center; padding: clamp(56px, 7vw, 84px) 0; }
.ig-band .eyebrow { display: flex; justify-content: center; }
.ig-band .eyebrow::before { display: none; }
.ig-band a {
  font-family: var(--serif); font-size: clamp(2rem, 4.2vw, 3.2rem); color: var(--brown);
  text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 10px;
}
.ig-band a:hover { color: var(--bronze); }
.ig-band p:last-child { margin: 14px 0 0; color: var(--muted); }

.close-band { background: var(--brown); text-align: center; padding: clamp(80px, 10vw, 130px) 0; }
.close-band h2 { color: var(--cream); font-size: clamp(2.4rem, 5vw, 4.2rem); margin-bottom: 0.6em; }

@media (max-width: 880px) {
  .tile, .tile--third { grid-column: span 6; }
  .tile--wide { grid-column: span 12; }
}
@media (max-width: 1040px) {
  .facts-band li + li::before { display: none; }
}
@media (max-width: 600px) {
  .menu-grid { gap: 12px; }
  .tile { grid-column: span 6; padding: 10px; }
  .tile--third, .tile--wide { grid-column: span 12; }
  .tile:not(.tile--third):not(.tile--wide) .media { height: 170px; }
  .tile__label { padding-top: 12px; font-size: 0.66rem; letter-spacing: 0.12em; }
  .facts-band ul { gap: 10px 18px; padding: 24px 0; }
  .facts-band li { font-size: 1rem; }
}

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

.footer__address { font-style: normal; line-height: 1.7; margin: 0 0 4px; }
.footer__address a { display: inline-block; margin-top: 6px; color: var(--taupe); text-decoration: underline; text-underline-offset: 4px; }

/* ---------- Map (Contact page) ---------- */

.map-embed { margin-top: 30px; border-radius: var(--radius); overflow: hidden; border: 1px solid rgba(247, 242, 235, 0.16); background: #3a2418; }
.map-embed iframe { display: block; width: 100%; height: 260px; border: 0; filter: grayscale(0.25) sepia(0.12); }

/* ---------- Skincare brand strip (home): moving logo banner ---------- */

.brand-strip { background: var(--cream); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: clamp(36px, 5vw, 56px) 0; text-align: center; overflow: hidden; }
.brand-strip .eyebrow { display: flex; justify-content: center; margin-bottom: clamp(22px, 3vw, 32px); }
.brand-strip .eyebrow::before { display: none; }
.brand-marquee {
  --logo-scale: 1;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}
.brand-marquee__track { display: flex; width: max-content; animation: brand-marquee 42s linear infinite; }
.brand-marquee:hover .brand-marquee__track { animation-play-state: paused; }
/* Each copy is at least as wide as the screen, so the loop never shows a gap */
.brand-marquee__list { list-style: none; margin: 0; padding: 0; display: flex; flex-shrink: 0; align-items: center; justify-content: space-around; min-width: 100vw; }
.brand-marquee__list li { flex-shrink: 0; padding: 0 clamp(26px, 4vw, 56px); }
/* Logos are drawn in ETE's brown through a mask, so any transparent PNG/SVG upload matches */
.brand-logo {
  display: block; height: calc(var(--h, 26px) * var(--logo-scale)); background: var(--brown); opacity: 0.8;
  -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat; -webkit-mask-position: center; mask-position: center;
  -webkit-mask-size: contain; mask-size: contain;
}
@keyframes brand-marquee { to { transform: translateX(-50%); } }

@media (max-width: 720px) {
  .brand-marquee { --logo-scale: 0.8; }
  .brand-marquee__track { animation-duration: 30s; }
}
@media (prefers-reduced-motion: reduce) {
  .brand-marquee { -webkit-mask-image: none; mask-image: none; }
  .brand-marquee__track { width: auto; justify-content: center; }
  .brand-marquee__list { min-width: 0; flex-wrap: wrap; justify-content: center; row-gap: 26px; }
  .brand-marquee__list[aria-hidden], .brand-marquee__list li[aria-hidden] { display: none; }
}

/* ---------- AI assistant (floating chat) ---------- */

/* The wrapper lets clicks through; only the button and the open panel catch them */
.assistant { position: fixed; right: 20px; bottom: 20px; z-index: 70; display: flex; flex-direction: column; align-items: flex-end; pointer-events: none; }
.assistant__toggle {
  display: inline-flex; align-items: center; gap: 10px; height: 56px; padding: 0 22px 0 18px; border: 0; border-radius: 999px; cursor: pointer;
  background: var(--brown); color: var(--cream); box-shadow: 0 0 0 1px rgba(247, 242, 235, 0.35), 0 14px 34px -12px rgba(44, 28, 19, 0.6);
  font-size: 0.74rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; transition: background .2s, transform .2s;
  pointer-events: auto;
}
.assistant__toggle:hover { background: var(--espresso); transform: translateY(-2px); }
.assistant__toggle svg { width: 24px; height: 24px; }
.assistant.is-open .assistant__toggle { background: var(--espresso); }
.assistant__panel {
  position: absolute; right: 0; bottom: calc(100% + 12px);
  width: min(380px, calc(100vw - 32px)); height: min(600px, calc(100vh - 120px)); display: flex; flex-direction: column;
  background: var(--white); border-radius: var(--radius-lg); overflow: hidden; box-shadow: 0 30px 70px -20px rgba(44, 28, 19, 0.55);
  border: 1px solid var(--line); transition: opacity .2s, transform .2s;
}
/* Closed: still rendered but invisible (and inert), so the chat can load and draw in the background.
   Browsers pause drawing in hidden (display: none) frames, which made the chat slow to appear. */
.assistant:not(.is-open) .assistant__panel { opacity: 0; transform: translateY(10px); pointer-events: none; }
.assistant.is-open .assistant__panel { pointer-events: auto; }
.assistant__head { display: flex; align-items: center; gap: 8px; padding: 14px 14px 14px 20px; background: var(--brown); color: var(--cream); }
.assistant__head div { flex: 1; display: grid; }
.assistant__head strong { font-family: var(--serif); font-weight: 500; font-size: 1.3rem; line-height: 1.2; }
.assistant__head span { font-size: 0.74rem; color: #e0d2c3; }
.assistant__icon { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; border: 0; background: rgba(247, 242, 235, 0.12); color: var(--cream); cursor: pointer; }
.assistant__icon:hover { background: rgba(247, 242, 235, 0.22); }
.assistant__icon svg { width: 14px; height: 14px; }
.assistant__frame { flex: 1; width: 100%; border: 0; background: var(--white); }

@media (max-width: 600px) {
  .assistant { right: 14px; bottom: 14px; left: 14px; align-items: flex-end; }
  .assistant__panel { width: 100%; height: min(640px, calc(100vh - 100px)); }
  .assistant__toggle span { display: none; }
  .assistant__toggle { width: 56px; padding: 0; justify-content: center; }
}
