/* Eliorah Medical Aesthetics: "The Case File"
   A clinic's photo-documentation board: matte prints on a white mat, case captions,
   large Juana display, espresso and taupe fields with cream as the reading ground. */

/* Juana is a licensed font: place the web files in /fonts (see fonts/README.txt) */
@font-face { font-family: "Juana"; src: url(fonts/Juana-Regular.woff2) format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Juana"; src: url(fonts/Juana-Medium.woff2) format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Juana"; src: url(fonts/Juana-SemiBold.woff2) format("woff2"); font-weight: 600 700; font-display: swap; }

:root {
  /* Fields */
  --espresso: #2c231f;
  --espresso-2: #3b2f2a;
  --taupe: #c7b5a3;
  --taupe-soft: #ded2c5;
  --paper: #f4eee7;
  --paper-2: #ebe2d7;
  --mat: #fffcf8;
  /* Ink */
  --ink: #2a211d;
  --ink-soft: #5e5049;        /* secondary text on paper and taupe */
  --brown: #7a5c4d;
  --cream-ink: #f4eee7;       /* text on espresso */
  --cream-soft: #cdbfb2;      /* secondary text on espresso */
  /* Action */
  --caramel: #c9a882;
  --caramel-hover: #d8bb98;
  --line: rgba(42, 33, 29, 0.16);
  --line-dark: rgba(244, 238, 231, 0.18);

  --display: "Juana", "Playfair Display", Georgia, serif;
  --sans: "Poppins", "Helvetica Neue", Arial, sans-serif;

  --header-h: 80px;
  --gutter: clamp(16px, 4vw, 56px);
  --max: 1280px;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; scrollbar-color: var(--brown) var(--paper-2); }
body {
  margin: 0; font-family: var(--sans); font-size: 16px; line-height: 1.65; font-weight: 400;
  color: var(--ink); background: var(--paper); -webkit-font-smoothing: antialiased; caret-color: var(--brown); accent-color: var(--brown);
}
::selection { background: var(--caramel); color: var(--espresso); }
img, video { display: block; max-width: 100%; }
a { color: inherit; text-underline-offset: 0.22em; text-decoration-thickness: 1px; }
:focus-visible { outline: 2px solid var(--caramel); outline-offset: 3px; }
h1, h2, h3 { font-family: var(--display); font-weight: 500; margin: 0; line-height: 1.04; letter-spacing: -0.015em; text-wrap: balance; }
p { margin: 0 0 1em; text-wrap: pretty; }
.icon { width: 1em; height: 1em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.icon.fill { fill: currentColor; stroke: none; }

.container { width: min(var(--max), 100% - 2 * var(--gutter)); margin-inline: auto; }
.narrow { width: min(760px, 100% - 2 * var(--gutter)); margin-inline: auto; }
.section { padding: clamp(72px, 9vw, 128px) 0; }

/* Section headings: the heading carries its own weight */
.section-title { font-size: clamp(2.1rem, 4vw, 3.5rem); margin-bottom: clamp(28px, 4vw, 48px); max-width: 18ch; }
.section-lede { color: var(--ink-soft); max-width: 56ch; font-size: 1.05rem; margin-top: calc(-1 * clamp(12px, 2vw, 24px)); margin-bottom: clamp(32px, 4vw, 52px); }

/* ---------- Buttons & links ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--sans); font-weight: 600; font-size: 0.82rem; letter-spacing: 0.1em; text-transform: uppercase; text-decoration: none;
  padding: 17px 26px 16px; border: 1px solid transparent; border-radius: 2px; cursor: pointer;
  transition: background-color 0.25s var(--ease-out), color 0.25s var(--ease-out), border-color 0.25s var(--ease-out), transform 0.25s var(--ease-out);
}
.btn:active { transform: translateY(1px); }
.btn-gold { background: var(--caramel); color: var(--espresso); }
.btn-gold:hover { background: var(--caramel-hover); }
.btn-dark { background: var(--espresso); color: var(--cream-ink); }
.btn-dark:hover { background: var(--espresso-2); }
.btn-outline { background: transparent; border-color: currentColor; color: var(--ink); }
.btn-outline:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.btn-full { width: 100%; }
.btn .icon { font-size: 1.05rem; }

.text-link { display: inline-flex; align-items: center; gap: 8px; font-weight: 500; font-size: 0.95rem; text-decoration: underline; text-decoration-color: var(--caramel); text-underline-offset: 6px; }
.text-link .icon { transition: transform 0.3s var(--ease-out); }
.text-link:hover .icon { transform: translateX(4px); }

/* ---------- Prints (matte photo on a white mat) ---------- */
.print { background: var(--mat); padding: 6px; box-shadow: 0 1px 2px rgba(42, 33, 29, 0.08), 0 14px 32px -18px rgba(42, 33, 29, 0.35); }
.photo { position: relative; background-color: var(--paper-2); background-size: cover; background-position: center; }
.photo.has-img { background-image: var(--img); }

/* ---------- Announcement + header ---------- */
.announce { background: var(--espresso); color: var(--cream-soft); text-align: center; font-size: 0.82rem; padding: 9px 16px; }
.announce p { margin: 0; }
.announce a { color: var(--cream-ink); text-decoration-color: var(--caramel); }

.site-header { position: sticky; top: 0; z-index: 40; background: rgba(244, 238, 231, 0.94); backdrop-filter: saturate(1.2) blur(10px); border-bottom: 1px solid var(--line); }
.header-inner { height: var(--header-h); width: min(1440px, 100% - 2 * var(--gutter)); margin-inline: auto; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 20px; }
.header-left { display: flex; align-items: center; gap: 28px; }
.header-right { display: flex; align-items: center; justify-content: flex-end; gap: 28px; }
.icon-btn { background: none; border: 0; padding: 8px; margin-left: -8px; cursor: pointer; color: var(--ink); display: inline-grid; place-items: center; }
.icon-btn .icon { font-size: 26px; }
.nav-link { font-size: 0.84rem; font-weight: 500; letter-spacing: 0.04em; text-decoration: none; color: var(--ink); padding: 6px 0; background: linear-gradient(var(--caramel), var(--caramel)) left bottom / 0 1px no-repeat; transition: background-size 0.35s var(--ease-out); }
.nav-link:hover { background-size: 100% 1px; }
.logo { display: block; }
.logo-img { display: block; height: 52px; width: auto; }
.btn-header { padding: 13px 20px 12px; white-space: nowrap; }

/* Drawer */
.drawer { position: fixed; inset: 0 auto 0 0; width: min(380px, 88vw); background: var(--paper); z-index: 60; padding: 20px 28px 28px; display: flex; flex-direction: column; gap: 20px; transform: translateX(-102%); visibility: hidden; transition: transform 0.45s var(--ease-out), visibility 0s linear 0.45s; box-shadow: 24px 0 60px -30px rgba(42, 33, 29, 0.5); }
.drawer.open { transform: none; visibility: visible; transition: transform 0.45s var(--ease-out); }
.drawer nav { display: flex; flex-direction: column; flex: 1; overflow: auto; }
.drawer nav a { font-family: var(--display); font-size: 1.55rem; text-decoration: none; color: var(--ink); padding: 12px 0; border-bottom: 1px solid var(--line); }
.drawer nav a:hover { color: var(--brown); }
.menu-close { align-self: flex-start; }
.drawer-backdrop { position: fixed; inset: 0; background: rgba(28, 21, 18, 0.5); z-index: 55; }

/* ---------- Hero: the case file ---------- */
.hero { background: var(--espresso-2); color: var(--cream-ink); }
.hero-grid { width: min(1440px, 100% - 2 * var(--gutter)); margin-inline: auto; min-height: min(calc(100svh - var(--header-h) - 38px), 900px); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: center; padding: clamp(28px, 4vw, 56px) 0; }
.case { display: grid; gap: 14px; justify-self: center; width: min(100%, 460px, calc((min(100svh, 1000px) - var(--header-h) - 250px) * 0.675 + 12px)); }
.compare { position: relative; aspect-ratio: 462 / 684; width: 100%; overflow: hidden; touch-action: pan-y; user-select: none; -webkit-user-select: none; --pos: 50%; }
.compare img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.compare .before { clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.compare-line { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 2px; margin-left: -1px; background: var(--mat); pointer-events: none; }
.compare-knob { position: absolute; top: 50%; left: var(--pos); width: 52px; height: 52px; margin: -26px 0 0 -26px; border-radius: 50%; background: var(--mat); color: var(--espresso); display: grid; place-items: center; box-shadow: 0 8px 24px -8px rgba(0, 0, 0, 0.55); pointer-events: none; transition: transform 0.3s var(--ease-out); }
.compare-knob .icon { font-size: 22px; }
.compare:hover .compare-knob, .compare.dragging .compare-knob { transform: scale(1.08); }
.compare input[type="range"] { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; -webkit-appearance: none; appearance: none; }
.compare:has(input:focus-visible) { outline: 2px solid var(--caramel); outline-offset: 4px; }
.tag { position: absolute; top: 12px; font-size: 0.74rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; padding: 6px 10px 5px; background: rgba(44, 35, 31, 0.8); color: var(--cream-ink); pointer-events: none; }
.tag.left { left: 12px; }
.tag.right { right: 12px; }
.case-caption { display: grid; gap: 6px; }
.case-caption strong { font-size: 0.74rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--cream-ink); }
.case-caption span { font-size: 0.86rem; color: var(--cream-soft); }

.hero-copy { max-width: 560px; }
.hero h2 { font-size: clamp(3rem, 6vw, 5.6rem); line-height: 0.96; letter-spacing: -0.025em; margin-bottom: 28px; }
.hero h2 span { color: var(--caramel); }
.hero-sub { font-size: clamp(1.02rem, 1.3vw, 1.15rem); color: var(--cream-soft); max-width: 46ch; margin-bottom: 36px; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 28px; margin-bottom: 40px; }
.hero-actions .text-link { color: var(--cream-ink); }
.hero-facts { list-style: none; margin: 0; padding: 22px 0 0; border-top: 1px solid var(--line-dark); display: grid; gap: 10px; font-size: 0.9rem; color: var(--cream-soft); }
.hero-facts li { display: flex; gap: 12px; align-items: center; }
.hero-facts .icon { font-size: 18px; color: var(--caramel); }
.status-dot { width: 8px; height: 8px; border-radius: 50%; background: #a9c79a; box-shadow: 0 0 0 4px rgba(169, 199, 154, 0.18); flex: none; margin: 0 5px; }
.status-dot.closed { background: var(--cream-soft); box-shadow: none; }

/* ---------- Results board ---------- */
.results { background: var(--paper); }
.board { display: grid; grid-template-columns: repeat(12, 1fr); gap: clamp(36px, 4vw, 56px) clamp(20px, 3vw, 40px); align-items: start; }
.result { display: grid; gap: 14px; margin: 0; }
.result.wide { grid-column: span 7; }
.result.mid { grid-column: span 5; margin-top: clamp(0px, 7vw, 112px); }
.result.hair { grid-column: 2 / span 6; }
.pair { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; background: var(--mat); padding: 6px; box-shadow: 0 1px 2px rgba(42, 33, 29, 0.08), 0 18px 40px -24px rgba(42, 33, 29, 0.4); }
.pair figure { margin: 0; position: relative; aspect-ratio: 4 / 4.4; overflow: hidden; background: var(--paper-2); }
.pair img { width: 100%; height: 100%; object-fit: cover; }
.pair figcaption { position: absolute; left: 10px; bottom: 10px; font-size: 0.72rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; padding: 5px 9px 4px; background: rgba(44, 35, 31, 0.8); color: var(--cream-ink); }
.result h3 { font-size: clamp(1.35rem, 2vw, 1.7rem); }
.result h3 { margin-top: 6px; }
.result p { color: var(--ink-soft); font-size: 0.95rem; margin: 0; max-width: 52ch; }
.result p strong { color: var(--ink); font-weight: 600; }
.board-note { grid-column: 9 / span 4; align-self: center; border-top: 1px solid var(--line); padding-top: 24px; }
.board-note h3 { font-size: clamp(1.6rem, 2.4vw, 2.1rem); margin-bottom: 14px; }
.board-note p { color: var(--ink-soft); }
.consent { grid-column: 1 / -1; font-size: 0.85rem; color: var(--ink-soft); border-top: 1px solid var(--line); padding-top: 18px; margin: 0; }

/* ---------- Concerns ---------- */
.concerns { background: var(--taupe-soft); }
.concern-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: clamp(14px, 1.8vw, 24px); }
.concern { text-decoration: none; color: var(--ink); display: grid; gap: 12px; align-content: start; }
.concern .print { aspect-ratio: 3 / 4; transition: transform 0.45s var(--ease-out), box-shadow 0.45s var(--ease-out); }
.concern .print .photo { width: 100%; height: 100%; }
/* Honey-peach wash over the photo on hover */
.concern .print .photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(160deg, rgba(240, 190, 140, 0.42), rgba(226, 150, 104, 0.34)); opacity: 0; transition: opacity 0.45s var(--ease-out); }
.concern:hover .print .photo::after, .concern:focus-visible .print .photo::after { opacity: 1; }
/* Icon logo rises in over the tint */
.concern .print .photo::before { content: ""; position: absolute; inset: 0; z-index: 1; background: url(images/icon-logo-light.png) center / 38% auto no-repeat; filter: drop-shadow(0 2px 10px rgba(42, 33, 29, 0.35)); opacity: 0; transform: translateY(8px) scale(0.94); transition: opacity 0.45s var(--ease-out), transform 0.45s var(--ease-out); }
.concern:hover .print .photo::before, .concern:focus-visible .print .photo::before { opacity: 1; transform: none; }
.concern-name { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; font-family: var(--display); font-size: clamp(1.05rem, 1.4vw, 1.3rem); line-height: 1.15; }
.concern-name .icon { font-size: 18px; color: var(--brown); transition: transform 0.35s var(--ease-out); }
.concern:hover .print { transform: translateY(-6px); box-shadow: 0 1px 2px rgba(42, 33, 29, 0.08), 0 26px 40px -22px rgba(42, 33, 29, 0.5); }
.concern:hover .concern-name .icon { transform: translateX(4px); }

/* ---------- Signature programs ---------- */
.programs { background: var(--paper); overflow: hidden; }
.row-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: clamp(28px, 4vw, 48px); }
.row-head .section-title { margin: 0; }
.carousel-arrows { display: flex; gap: 10px; flex: none; }
.arrow { width: 52px; height: 52px; border-radius: 50%; border: 1px solid var(--ink); background: transparent; color: var(--ink); cursor: pointer; display: grid; place-items: center; transition: background-color 0.25s var(--ease-out), color 0.25s var(--ease-out); }
.arrow .icon { font-size: 20px; }
.arrow:hover { background: var(--ink); color: var(--paper); }
.carousel { display: grid; grid-auto-flow: column; grid-auto-columns: min(400px, 82vw); gap: clamp(20px, 2.4vw, 32px); overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 4px max(var(--gutter), calc((100vw - var(--max)) / 2)) 24px; scroll-padding-inline: max(var(--gutter), calc((100vw - var(--max)) / 2)); }
.carousel::-webkit-scrollbar { display: none; }
.file { scroll-snap-align: start; display: flex; flex-direction: column; gap: 18px; }
.file .print { aspect-ratio: 5 / 4; }
.file .print .photo { width: 100%; height: 100%; }
.file h3 { font-size: clamp(1.6rem, 2.2vw, 2rem); }
.record { margin: 0; border-top: 1px solid var(--line); flex: 1; }
.record > div { display: grid; grid-template-columns: 92px 1fr; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 0.92rem; }
.record dt { font-size: 0.7rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-soft); padding-top: 3px; }
.record dd { margin: 0; }
.record .price { font-family: var(--display); font-size: 1.45rem; line-height: 1.15; }
.record .price small { display: block; font-family: var(--sans); font-size: 0.8rem; color: var(--ink-soft); }

/* ---------- Scar program: three slips read as one ruler ---------- */
.scar { background: var(--taupe); }
.scar .section-lede { color: var(--ink); }
.ruler { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid rgba(42, 33, 29, 0.35); border-bottom: 1px solid rgba(42, 33, 29, 0.35); }
.slip { padding: clamp(24px, 3vw, 40px); display: flex; flex-direction: column; gap: 16px; border-left: 1px solid rgba(42, 33, 29, 0.35); }
.slip:first-child { border-left: 0; }
.slip.featured { background: var(--espresso); color: var(--cream-ink); border-left-color: transparent; }
.slip.featured + .slip { border-left-color: transparent; }
.slip-level { font-size: 0.74rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--espresso-2); margin: -8px 0 0; }
.slip.featured .slip-level { color: var(--caramel); }
.slip h3 { font-size: clamp(1.7rem, 2.6vw, 2.3rem); }
.slip-price { font-family: var(--display); font-size: clamp(2.2rem, 3.6vw, 3.1rem); line-height: 1; }
.slip-desc { margin: 0; }
.slip.featured .slip-desc { color: var(--cream-soft); }
.checks { list-style: none; margin: 0; padding: 0; flex: 1; }
.checks li { display: flex; gap: 10px; align-items: flex-start; padding: 8px 0; border-top: 1px solid rgba(42, 33, 29, 0.2); font-size: 0.92rem; }
.slip.featured .checks li { border-top-color: var(--line-dark); }
.checks .icon { font-size: 16px; margin-top: 4px; color: var(--espresso-2); }
.slip.featured .checks .icon { color: var(--caramel); }
.slip .btn-outline { border-color: var(--ink); }
.scar-foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; margin-top: 28px; font-size: 0.92rem; }

/* ---------- Story band with the consultation video ---------- */
.story { background: var(--espresso); color: var(--cream-ink); overflow: hidden; }
.story-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 0.95fr); min-height: min(88svh, 860px); }
.story-media { position: relative; background: #1d1714; }
.story-media { overflow: hidden; }
/* The reel has burned-in subtitles just below its middle: scale from the top so they stay out of frame */
.story-media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 0%; transform: scale(1.32); transform-origin: 50% 8%; }
.story-copy { padding: clamp(56px, 8vw, 120px) clamp(24px, 6vw, 96px); display: flex; flex-direction: column; justify-content: center; }
.story h1 { font-size: clamp(2.5rem, 4.6vw, 4.2rem); line-height: 1.02; letter-spacing: -0.02em; margin-bottom: 32px; }
.story h1 span { color: var(--caramel); }
.story p { color: var(--cream-soft); max-width: 48ch; }
.story .btn { align-self: flex-start; margin-top: 18px; }

/* ---------- Treatment menu: billed by size ---------- */
.menu { background: var(--paper); }
.tabs { display: flex; flex-wrap: wrap; gap: 6px 28px; border-bottom: 1px solid var(--line); margin-bottom: clamp(28px, 3vw, 40px); }
.tab { font: 500 0.95rem var(--sans); background: none; border: 0; padding: 14px 0 13px; color: var(--ink-soft); cursor: pointer; border-bottom: 2px solid transparent; margin-bottom: -1px; white-space: nowrap; transition: color 0.2s var(--ease-out), border-color 0.2s var(--ease-out); }
.tab:hover { color: var(--ink); }
.tab.active { color: var(--ink); border-bottom-color: var(--brown); }
.panel { display: none; }
.panel.active { display: block; animation: rise 0.5s var(--ease-out); }
@keyframes rise { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.menu-list { list-style: none; margin: 0; padding: 0; columns: 2 380px; column-gap: clamp(32px, 5vw, 80px); }
.menu-list li { break-inside: avoid; padding: 16px 0; border-bottom: 1px solid var(--line); display: grid; gap: 2px; position: relative; }
/* Each treatment turns into a Book now button on hover */
.menu-book { position: absolute; inset: 4px 0; display: flex; align-items: center; justify-content: center; gap: 10px; background: var(--caramel); color: var(--espresso); border-radius: 2px; text-decoration: none; font-size: 0.82rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; opacity: 0; transition: opacity 0.25s var(--ease-out); }
.menu-book .icon { font-size: 18px; transition: transform 0.35s var(--ease-out); }
.menu-list li:hover .menu-book, .menu-book:focus-visible { opacity: 1; }
.menu-book:hover { background: var(--caramel-hover); }
.menu-book:hover .icon { transform: translateX(4px); }
.menu-list h3 { font-size: 1.3rem; line-height: 1.2; }
.menu-list p { margin: 0; font-size: 0.9rem; color: var(--ink-soft); }
.note { font-size: 0.88rem; color: var(--ink-soft); margin-top: 28px; }

/* ---------- What to expect ---------- */
.expect { background: var(--paper-2); }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); margin-bottom: clamp(32px, 4vw, 52px); }
.step { background: none; border: 0; border-top: 2px solid transparent; margin-top: -1px; padding: 18px 12px 0 0; text-align: left; cursor: pointer; font: 500 1rem var(--sans); color: var(--ink-soft); display: flex; gap: 14px; align-items: baseline; transition: color 0.2s var(--ease-out), border-color 0.2s var(--ease-out); }
.step span { font-family: var(--display); font-size: 1.6rem; color: var(--ink-soft); }
.step:hover { color: var(--ink); }
.step.active { color: var(--ink); border-top-color: var(--brown); }
.step.active span { color: var(--brown); }
.step-panel { display: none; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.step-panel.active { display: grid; animation: rise 0.5s var(--ease-out); }
.step-panel .print { aspect-ratio: 4 / 3; }
.step-panel .print .photo { width: 100%; height: 100%; }
.step-panel h3 { font-size: clamp(1.9rem, 3vw, 2.6rem); margin-bottom: 18px; }
.step-panel p { color: var(--ink-soft); font-size: 1.05rem; max-width: 46ch; }

/* ---------- Membership ---------- */
.membership-bg { background: linear-gradient(rgba(36, 27, 23, 0.62), rgba(36, 27, 23, 0.76)), url(images/membership-bg.jpg) center / cover, var(--espresso); color: var(--cream-ink); }
.membership-inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 420px); gap: clamp(32px, 6vw, 96px); align-items: center; }
.membership-inner .section-title { margin-bottom: 18px; }
.membership-inner > div:first-child > p { color: var(--cream-soft); max-width: 44ch; }
.member-card { background: var(--mat); color: var(--ink); padding: clamp(28px, 3vw, 40px); box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.6); display: grid; gap: 14px; }
.member-card h3 { font-size: 1.9rem; }
.member-card p { color: var(--ink-soft); margin: 0 0 8px; }

/* ---------- Doctor ---------- */
.doctor-section { background: var(--espresso-2); color: var(--cream-ink); }
.doctor { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1fr); gap: clamp(32px, 7vw, 112px); align-items: center; }
.doctor .print { aspect-ratio: 4 / 5; transform: rotate(-1.2deg); }
.doctor .print .photo { width: 100%; height: 100%; }
.doctor h2 { font-size: clamp(2.4rem, 4.6vw, 4rem); margin-bottom: 12px; }
.role { font-size: 0.8rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--caramel); margin-bottom: 26px; }
.doctor p:not(.role) { color: var(--cream-soft); font-size: 1.05rem; max-width: 50ch; }
.doctor .btn { margin-top: 12px; }

/* ---------- Reviews ---------- */
.quotes { background: var(--paper); }
.quotes-grid { display: grid; grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.3fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.quotes-grid .section-title { margin-bottom: 20px; }
.rating { display: grid; gap: 10px; }
.stars { display: inline-flex; gap: 4px; color: var(--brown); }
.stars .icon { font-size: 24px; }
.rating p { color: var(--ink-soft); margin: 0; }
.quote-slider { display: grid; }
.quote { grid-area: 1 / 1; margin: 0; opacity: 0; visibility: hidden; transition: opacity 0.3s ease-in, visibility 0s linear 0.3s; display: flex; flex-direction: column; gap: 22px; }
.quote.active { opacity: 1; visibility: visible; transition: opacity 0.5s var(--ease-out) 0.3s, visibility 0s linear 0.3s; }
.quote p { font-family: var(--display); font-size: clamp(1.35rem, 2.2vw, 1.9rem); line-height: 1.32; letter-spacing: -0.01em; margin: 0; }
.quote cite { font-style: normal; font-size: 0.8rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-soft); }
.quote-controls { grid-row: 2; display: flex; align-items: center; gap: 18px; margin-top: 32px; }
.quote-dots { display: flex; gap: 8px; }
.quote-dots button { width: 28px; height: 20px; border: 0; padding: 0; background: linear-gradient(var(--line), var(--line)) center / 100% 3px no-repeat; cursor: pointer; }
.quote-dots button.active { background-image: linear-gradient(var(--brown), var(--brown)); }

/* ---------- Instagram band ---------- */
.ig-band { background: var(--taupe-soft); padding: clamp(56px, 6vw, 88px) 0; }
.ig-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px 48px; }
.ig-inner h2 { font-size: clamp(1.9rem, 3.2vw, 2.8rem); margin-bottom: 8px; }
.ig-inner p { color: var(--ink-soft); margin: 0; }
.ig-actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Clinic ---------- */
.clinic-section { background: var(--paper); }
.clinic { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 64px); align-items: stretch; }
.clinic .print { min-height: 420px; }
.clinic .print .photo { width: 100%; height: 100%; background-position: center 70%; }
.clinic-info h3 { font-size: clamp(1.7rem, 2.6vw, 2.3rem); margin-bottom: 26px; }
.clinic-info dl { margin: 0 0 30px; border-top: 1px solid var(--line); }
.clinic-info dl div { display: grid; grid-template-columns: 110px 1fr; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.clinic-info dt { font-size: 0.72rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-soft); padding-top: 3px; }
.clinic-info dd { margin: 0; }
.clinic-info dd a { text-decoration-color: var(--caramel); }
.clinic-actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Booking ---------- */
.book { background: var(--espresso); color: var(--cream-ink); }
.book-grid { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.book-grid .section-title { margin-bottom: 20px; }
.book-grid p { color: var(--cream-soft); }
.book-checks { list-style: none; padding: 0; margin: 28px 0; border-top: 1px solid var(--line-dark); }
.book-checks li { display: flex; gap: 12px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--line-dark); }
.book-checks .icon { color: var(--caramel); font-size: 18px; }
.book-alt a, .book-privacy a { color: var(--cream-ink); text-decoration-color: var(--caramel); }
.book-privacy { font-size: 0.85rem; }
.booking-widget { background: var(--mat); color: var(--ink); }
.booking-widget iframe { width: 100%; height: 760px; border: 0; display: block; }
.widget-fallback { display: flex; justify-content: center; align-items: center; gap: 8px; padding: 14px; font-size: 0.88rem; color: var(--brown); border-top: 1px solid var(--line); text-decoration: none; }
.widget-fallback:hover { text-decoration: underline; }

/* ---------- FAQ ---------- */
.faq { background: var(--paper); }
.faq-grid { display: grid; grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.3fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.accordion { border-top: 1px solid var(--line); }
.accordion details { border-bottom: 1px solid var(--line); }
.accordion summary { cursor: pointer; list-style: none; font-family: var(--display); font-size: clamp(1.2rem, 1.8vw, 1.45rem); padding: 22px 0; display: flex; justify-content: space-between; align-items: center; gap: 20px; }
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary .icon { font-size: 20px; color: var(--brown); transition: transform 0.35s var(--ease-out); }
.accordion details[open] summary .icon { transform: rotate(45deg); }
.accordion details p { color: var(--ink-soft); margin: -6px 0 22px; max-width: 62ch; }

/* ---------- Footer ---------- */
.site-footer { background: var(--espresso); color: var(--cream-soft); padding: clamp(56px, 7vw, 96px) 0 28px; font-size: 0.92rem; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 32px; }
.site-footer h4 { font-size: 0.72rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--caramel); margin: 0 0 16px; }
.site-footer .footer-grid a { display: block; text-decoration: none; margin-bottom: 8px; color: var(--cream-soft); }
.site-footer .footer-grid a:hover { color: var(--cream-ink); }
.site-footer .footer-grid p { margin: 0 0 8px; }
.logo-light { margin-bottom: 18px; }
.logo-light .logo-img { height: 68px; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; border-top: 1px solid var(--line-dark); margin-top: clamp(40px, 5vw, 64px); padding-top: 22px; font-size: 0.8rem; }
.footer-bottom p { margin: 0; }
.footer-bottom a { color: var(--cream-ink); text-decoration-color: var(--caramel); }

/* ---------- Floating CTA ---------- */
.float-cta { position: fixed; left: 20px; bottom: 20px; z-index: 30; display: flex; align-items: center; gap: 14px; background: var(--espresso); color: var(--cream-ink); text-decoration: none; padding: 12px 14px 12px 18px; box-shadow: 0 18px 40px -16px rgba(0, 0, 0, 0.55); font-size: 0.85rem; line-height: 1.3; transition: opacity 0.4s var(--ease-out), transform 0.4s var(--ease-out); }
.float-cta strong { display: block; font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--caramel); }
.float-cta .icon { font-size: 18px; color: var(--caramel); }
.float-cta.hide { opacity: 0; transform: translateY(16px); pointer-events: none; }

/* ---------- Privacy policy page ---------- */
.legal-header { height: var(--header-h); width: min(1440px, 100% - 2 * var(--gutter)); margin-inline: auto; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px; }
.legal-back { display: inline-flex; align-items: center; gap: 8px; font-size: 0.86rem; font-weight: 500; text-decoration: none; color: var(--ink); }
.legal-back .icon { font-size: 18px; }
.legal-header .btn-header { justify-self: end; }
.legal h1 { font-size: clamp(2.6rem, 5vw, 4rem); margin-bottom: 10px; }
.legal-updated { color: var(--ink-soft); font-size: 0.9rem; margin-bottom: 36px; }
.legal h2 { font-size: 1.55rem; margin: 2.4rem 0 0.8rem; }
.legal ul { padding-left: 1.2rem; margin: 0 0 1rem; }
.legal li { margin-bottom: 0.45rem; }
.legal a:not(.btn) { color: var(--brown); }
.legal-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 3rem; padding-top: 2rem; border-top: 1px solid var(--line); }
.legal-footer { padding-top: 28px; }
.legal-footer .footer-bottom { margin-top: 0; border-top: 0; padding-top: 0; }

/* ---------- Membership page ---------- */
.member-hero { background: var(--espresso); color: var(--cream-ink); }
.member-hero-grid { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.member-hero .print { aspect-ratio: 4 / 5; transform: rotate(-1.2deg); }
.member-hero .print .photo { width: 100%; height: 100%; }
.member-hero h1 { font-size: clamp(2.6rem, 5vw, 4.4rem); line-height: 1; margin-bottom: 18px; }
.member-lede { color: var(--cream-soft); max-width: 44ch; margin: 0 0 28px; }
.member-price { display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; margin: 0 0 28px; }
.member-price strong { font-family: var(--display); font-weight: 500; font-size: clamp(2.6rem, 4.4vw, 3.6rem); line-height: 1; }
.member-price span { font-size: 0.74rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--caramel); }
.bundles { list-style: none; margin: 0 0 32px; padding: 0; border-top: 1px solid var(--line-dark); }
.bundles li { display: grid; grid-template-columns: 92px 1fr; gap: 16px; align-items: baseline; padding: 14px 0; border-bottom: 1px solid var(--line-dark); }
.bundles .term { font-size: 0.72rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--cream-soft); }
.bundles .value { font-family: var(--display); font-size: 1.35rem; }
.member-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.member-hero .btn-outline { color: var(--cream-ink); }
.member-hero .btn-outline:hover { background: var(--cream-ink); color: var(--espresso); }
.tiers-section { background: var(--paper); }
.tiers-section .section-lede { margin-bottom: clamp(32px, 4vw, 56px); }
.tiers { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 4vw, 56px); }
.tier h3 { font-size: clamp(1.7rem, 2.6vw, 2.3rem); padding-bottom: 14px; border-bottom: 1px solid var(--ink); margin-bottom: 4px; }
.tier ul { list-style: none; margin: 0; padding: 0; }
.tier li { padding: 11px 0; border-bottom: 1px solid var(--line); }
.join-section { background: var(--taupe); }
.join-steps { list-style: none; margin: 0 0 36px; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 4vw, 56px); counter-reset: step; }
.join-steps li { counter-increment: step; border-top: 1px solid rgba(42, 33, 29, 0.35); padding-top: 18px; }
.join-steps li::before { content: "0" counter(step); display: block; font-family: var(--display); font-size: 2.2rem; line-height: 1; margin-bottom: 12px; }
.join-steps h3 { font-size: 1.35rem; margin-bottom: 6px; }
.join-steps p { margin: 0; }

/* ---------- Motion preferences ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: 0.01ms !important; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .header-left .nav-link, .header-right .nav-link { display: none; }
  .concern-grid { grid-template-columns: repeat(3, 1fr); }
  .result.wide, .result.mid, .result.hair { grid-column: 1 / -1; margin-top: 0; }
  .board-note { grid-column: 1 / -1; }
}
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; min-height: 0; gap: 36px; padding: 32px 0 48px; }
  .case { width: min(100%, 460px); }
  .hero-copy { display: contents; }
  .hero-copy > h2, .hero-copy > .hero-sub, .hero-copy > .hero-actions { order: -1; }
  .hero-copy > h2 { margin-bottom: 0; }
  .hero-grid { gap: 20px; }
  .case { margin-top: 16px !important; }
  .hero-sub { margin-bottom: 24px; }
  .hero-actions { margin-bottom: 0; }
  .hero-facts { order: 1; }
  .story-grid, .doctor, .quotes-grid, .faq-grid, .book-grid, .clinic, .membership-inner, .step-panel.active { grid-template-columns: 1fr; }
  .story-media { min-height: min(46svh, 420px); }
  .story-media video { transform: scale(1.65); transform-origin: 50% 6%; }
  .ruler { grid-template-columns: 1fr; }
  .slip { border-left: 0; border-top: 1px solid rgba(42, 33, 29, 0.35); }
  .slip:first-child { border-top: 0; }
  .slip.featured + .slip { border-top-color: transparent; }
  .doctor .print { max-width: 420px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  /* Explicit width: a grid item with an aspect ratio isn't stretched in Safari */
  .clinic .print { min-height: 0; aspect-ratio: 4 / 5; width: 100%; max-width: 520px; }
  .member-hero-grid, .tiers, .join-steps { grid-template-columns: 1fr; }
  .member-hero .print { max-width: 460px; }
}
@media (max-width: 600px) {
  :root { --header-h: 66px; }
  body { font-size: 15.5px; }
  .logo-img { height: 40px; }
  .btn-header { padding: 11px 14px 10px; font-size: 0.74rem; }
  .hero h2 { font-size: clamp(2.6rem, 12vw, 3.4rem); }
  .story h1 { font-size: clamp(2.4rem, 11vw, 3.2rem); margin-bottom: 22px; }
  .story-copy { padding-top: 36px; padding-bottom: 56px; }
  .concern-grid { grid-template-columns: repeat(2, 1fr); }
  .carousel-arrows { display: none; }
  .tabs { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-inline: calc(-1 * var(--gutter)); padding-inline: var(--gutter); }
  .tabs::-webkit-scrollbar { display: none; }
  .menu-list { columns: 1; }
  .steps .step { font-size: 0.86rem; gap: 8px; }
  .footer-grid { grid-template-columns: 1fr; }
  .float-cta { display: none; }
  .legal-back span { display: none; }
}
