/* Saltwater Skin Studio: "Apothecary Label" theme (Linnet Studio)
   Every card is a printed label: paper, a double rule, fine print. Mobile-first (393px), then 760 (tablet)
   and 1080 (desktop). No scripts: the skin-type picker is radios + :has(). */

:root {
  /* ---- Shared token layer (same names in every Linnet theme; re-skin presets override these) ---- */
  --c-bg: #E3E9E7;          /* page background (sea fog) */
  --c-surface: #FBFBF8;     /* label paper: cards, header, forms */
  --c-ink: #10303A;         /* ink, rules, footer (tide) */
  --c-muted: #405862;       /* secondary text, 6:1 on the background */
  --c-line: #93A7A6;        /* dotted and fine rules (decorative) */
  --c-line-strong: #6E8584; /* form borders, 3.8:1 on paper */
  --c-accent: #1B5C62;      /* buttons, links, selected states (sea glass) */
  --c-on-accent: #FFFFFF;
  --c-accent-2: #586230;    /* the pharmacist's stamp: "suits your skin" status only */
  --f-display: "Sofia Sans Condensed", "Arial Narrow", "Helvetica Neue", sans-serif;
  --f-body: "Sofia Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-mono: "Sofia Sans Condensed", "Arial Narrow", sans-serif;  /* label fields (lot numbers, typed lines) */
  --r-sm: 3px;              /* buttons, fields, chips */
  --r-lg: 5px;              /* labels */
  --r-pill: 3px;            /* buttons stay label-square */
  --s-1: 4px; --s-2: 8px; --s-3: 16px; --s-4: 24px; --s-5: 40px; --s-6: 64px;

  /* ---- Theme names, mapped to the shared layer ---- */
  --fog: var(--c-bg);
  --label: var(--c-surface);
  --tide: var(--c-ink);
  --tide-soft: var(--c-muted);
  --rule: var(--c-line);
  --field: var(--c-line-strong);
  --glass: var(--c-accent);
  --kelp: var(--c-accent-2);
  --font-display: var(--f-display);
  --font-text: var(--f-body);
  --font-type: var(--f-mono);
  --r-label: var(--r-lg);
  --r-btn: var(--r-sm);

  /* ---- Theme-only ---- */
  --wash: #D6E1DE;          /* sea-glass section background */
  --glass-deep: #134549;
  --on-dark: #E9F0EE;
  --on-dark-soft: #A9C0BE;
  --double: inset 0 0 0 4px var(--label), inset 0 0 0 5px var(--tide); /* the label's inner rule */
  --wrap: 1200px;
  --pad: max(18px, calc((100% - var(--wrap)) / 2));
  --sec: 44px;
  --ab-h: 56px;
  --ease-out: cubic-bezier(.23, 1, .32, 1);
}

/* Base */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-bottom: calc(var(--ab-h) + 28px); }
body { margin: 0; background: var(--fog); color: var(--tide); font: 400 1.0625rem/1.6 var(--font-text); }
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3 { margin: 0; font-family: var(--font-display); font-weight: 750; line-height: 1; letter-spacing: -0.005em; text-wrap: balance; }
h2 { font-size: clamp(2.2rem, 6.4vw, 3.5rem); }
h3 { font-size: 1.5rem; }
p, ul, ol, dl, dd, figure, blockquote { margin: 0; }
p, li, dd { text-wrap: pretty; }
a { color: inherit; text-underline-offset: 3px; text-decoration-thickness: 1px; }
:focus-visible { outline: 3px solid var(--glass); outline-offset: 3px; }
[id] { scroll-margin-top: 12px; }
main > section { overflow-x: clip; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.vh { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 50; background: var(--tide); color: #fff; padding: 10px 16px; text-decoration: none; }
.skip:focus { top: 12px; }
.note { font-size: 0.8125rem; font-weight: 400; color: var(--tide-soft); }
.wide-only { display: none; }
/* One icon style for the whole library: Tabler outline, 2px stroke, from the sprite at the top of the page */
.i { flex: none; width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
/* Touch polish */
a, button, summary, label, select { touch-action: manipulation; -webkit-tap-highlight-color: transparent; }
summary { list-style: none; cursor: pointer; }
summary::-webkit-details-marker { display: none; }
summary .i { transition: transform 180ms var(--ease-out); }
details[open] > summary .i { transform: rotate(45deg); }

/* Buttons: rectangles with an inner rule, like a printed label */
.btn {
  display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 0 26px;
  border: 0; border-radius: var(--r-pill); background: var(--glass); color: var(--c-on-accent);
  font: 700 1.125rem/1 var(--font-display); letter-spacing: 0.02em; text-decoration: none; cursor: pointer;
  box-shadow: inset 0 0 0 3px var(--glass), inset 0 0 0 4px rgb(255 255 255 / .55);
  transition: transform 120ms var(--ease-out), background-color 150ms ease;
}
.btn:active { transform: scale(.97); }
.btn-quiet { display: inline-flex; align-items: center; min-height: 48px; font-weight: 600; text-decoration-color: var(--glass); }
@media (hover: hover) and (pointer: fine) {
  .btn:hover { background: var(--glass-deep); box-shadow: inset 0 0 0 3px var(--glass-deep), inset 0 0 0 4px rgb(255 255 255 / .55); }
  .nav a:hover { text-decoration: underline; }
  .head-cta:hover { background: var(--glass-deep); }
  .rx-list label:hover { background: var(--fog); }
  .chips label:hover { border-color: var(--glass); }
  summary:hover span { text-decoration: underline; }
}

/* Demo bar: one line */
.demo-bar { overflow: hidden; background: var(--tide); color: var(--on-dark); font-size: 0.8125rem; line-height: 1.4; text-align: center; padding: 7px 14px; white-space: nowrap; text-overflow: ellipsis; }

/* Header: framed wordmark + Book on phones, then a strip of drawer labels */
.site-head {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "brand cta" "nav nav";
  align-items: center; row-gap: 10px; column-gap: 12px;
  padding: 10px var(--pad) 0; background: var(--label); border-bottom: 1px solid var(--tide);
}
.brand { grid-area: brand; justify-self: start; display: grid; text-decoration: none; text-align: center; padding: 6px 12px 5px; border: 1px solid var(--tide); border-radius: 3px; box-shadow: inset 0 0 0 2px var(--label), inset 0 0 0 3px var(--tide); }
.brand-name { font: 800 1.35rem/1 var(--font-display); letter-spacing: 0.02em; }
.brand-sub { font: 600 0.8125rem/1.3 var(--font-display); letter-spacing: 0.06em; color: var(--tide-soft); }
.head-phone { display: none; grid-area: phone; align-items: center; min-height: 44px; font-weight: 700; font-size: 0.9375rem; text-decoration: none; white-space: nowrap; font-variant-numeric: tabular-nums; }
.head-cta {
  grid-area: cta; display: inline-flex; align-items: center; justify-content: center; min-height: 44px; min-width: 88px; padding: 0 18px;
  border-radius: var(--r-btn); background: var(--glass); color: var(--c-on-accent); font: 700 1.0625rem/1 var(--font-display); text-decoration: none;
  box-shadow: inset 0 0 0 3px var(--glass), inset 0 0 0 4px rgb(255 255 255 / .55);
}
.nav { grid-area: nav; }
.nav ul { list-style: none; margin: 0 calc(var(--pad) * -1); padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--rule); }
.nav li + li { border-left: 1px solid var(--rule); }
.nav a { display: flex; align-items: center; justify-content: center; min-width: 44px; min-height: 48px; padding: 0 2px; font: 650 1rem/1.1 var(--font-display); text-align: center; text-decoration: none; }

/* Hero: the front label */
.hero { display: grid; gap: 16px; padding: 22px var(--pad) 32px; }
.hero-label { position: relative; z-index: 1; text-align: center; padding: 18px 18px 14px; background: var(--label); border: 1px solid var(--tide); border-radius: var(--r-label); box-shadow: var(--double); }
.lbl-maker { display: flex; justify-content: space-between; gap: 12px; padding: 0 4px 10px; margin-bottom: 20px; border-bottom: 1px solid var(--tide); font: 600 0.875rem/1.2 var(--font-display); letter-spacing: 0.03em; color: var(--tide-soft); }
.hero h1 { font-size: clamp(2.7rem, 12vw, 5.4rem); line-height: 0.94; }
.lbl-desc { margin: 14px auto 0; max-width: 30em; color: var(--tide-soft); font-size: 1.0625rem; }
.hero-actions { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 4px 22px; margin-top: 20px; }
.lbl-facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 20px; border-block: 1px solid var(--tide); }
.lbl-facts div { padding: 8px 4px 7px; }
.lbl-facts div + div { border-left: 1px solid var(--tide); }
.lbl-facts dt { font: 600 0.875rem/1.2 var(--font-display); color: var(--tide-soft); }
.lbl-facts dd { font: 800 1.2rem/1.2 var(--font-display); font-variant-numeric: tabular-nums; }
.lbl-lot { display: flex; justify-content: space-between; gap: 12px; margin-top: 8px; padding: 0 4px; font: 500 0.875rem/1.4 var(--font-type); letter-spacing: 0.04em; color: var(--tide-soft); text-align: left; }
.hero-photo img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--r-label); }

/* Trust: the fine print and round seals */
.trust { padding: 0 var(--pad) var(--sec); }
.fine-print { list-style: none; padding: 6px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); background: var(--label); border: 1px solid var(--tide); border-radius: var(--r-label); }
.fine-print li { display: grid; align-content: start; gap: 2px; padding: 10px 10px 12px; }
.fine-print li:nth-child(even) { border-left: 1px solid var(--rule); }
.fine-print li:nth-child(n+3) { border-top: 1px solid var(--rule); }
.fine-print strong { font: 750 1.125rem/1.15 var(--font-display); }
.fine-print span { font-size: 0.875rem; line-height: 1.4; color: var(--tide-soft); }
.seals { list-style: none; padding: 0; margin-top: 18px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; justify-items: center; }
.seals li { width: 100%; max-width: 104px; aspect-ratio: 1; border-radius: 50%; padding: 8px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; text-align: center; border: 1px solid var(--tide); box-shadow: inset 0 0 0 4px var(--fog), inset 0 0 0 5px var(--tide); font: 650 0.8125rem/1.05 var(--font-display); }
.seals .i { color: var(--glass); }

/* Section heads */
.section-head { max-width: 46em; margin-bottom: 22px; }
.section-head p { margin-top: 10px; color: var(--tide-soft); }
.section-head p.menu-lot { margin-top: 8px; font: 500 0.9375rem/1.5 var(--font-type); letter-spacing: 0.04em; color: var(--tide); }

/* Signature: the skin-type picker writes a prescription label */
.skin { background: var(--wash); padding: var(--sec) var(--pad); }
.rx-wrap { display: grid; gap: 18px; }
.rx-list { margin: 0; padding: 0; border: 0; min-width: 0; display: grid; background: var(--label); border: 1px solid var(--tide); border-radius: var(--r-label); }
.rx-list legend { float: left; width: 100%; padding: 10px 14px 8px; border-bottom: 2px solid var(--tide); font: 700 1rem/1.2 var(--font-display); letter-spacing: 0.03em; }
.rx-list label { clear: both; display: grid; grid-template-columns: 22px 1fr; grid-template-areas: "dot name" "dot feel"; column-gap: 12px; align-items: center; min-height: 52px; padding: 8px 14px; border-bottom: 1px dotted var(--rule); cursor: pointer; transition: background-color 150ms ease; }
.rx-list label:last-of-type { border-bottom: 0; }
.rx-list label::before { content: ""; grid-area: dot; width: 20px; height: 20px; border-radius: 50%; border: 2px solid var(--field); background: var(--label); }
.rx-list b { grid-area: name; font: 750 1.15rem/1.15 var(--font-display); }
.rx-list span { grid-area: feel; font-size: 0.9375rem; line-height: 1.35; color: var(--tide-soft); }
.rx-list input:checked + label { background: #EDF3F1; }
/* Each hidden radio sits in its own label's row (the floated legend is row 1), so a click never scrolls the page. */
.rx-list { position: relative; }
.rx-list input:nth-of-type(1) { grid-row: 2; } .rx-list input:nth-of-type(2) { grid-row: 3; } .rx-list input:nth-of-type(3) { grid-row: 4; }
.rx-list input:nth-of-type(4) { grid-row: 5; } .rx-list input:nth-of-type(5) { grid-row: 6; }
.rx-list input:checked + label::before { border-color: var(--glass); background: radial-gradient(circle, var(--glass) 0 5px, var(--label) 5.5px); }
.rx-list input:focus-visible + label { outline: 3px solid var(--glass); outline-offset: -3px; }

.rx { position: relative; display: grid; align-content: start; gap: 6px; padding: 14px 16px 16px; background: var(--label); border: 1px solid var(--tide); border-radius: var(--r-label); box-shadow: var(--double), 0 18px 28px -18px rgb(16 48 58 / .5); }
.rx-head { display: flex; justify-content: space-between; align-items: center; padding-bottom: 6px; border-bottom: 2px solid var(--tide); font: 600 0.875rem/1.2 var(--font-display); letter-spacing: 0.03em; }
.rx-mark { font: italic 800 1.5rem/1 var(--font-display); color: var(--glass); }
.rx-r div { display: grid; grid-template-columns: 96px 1fr; gap: 10px; padding: 7px 0; border-bottom: 1px dotted var(--rule); }
.rx-r dt { font: 600 0.875rem/1.4 var(--font-display); color: var(--tide-soft); letter-spacing: 0.02em; }
.rx-r dd { font: 500 1rem/1.4 var(--font-type); }
.rx-r .rx-type { font-weight: 800; font-size: 1.2rem; }
.rx-r + .rx-r { margin-top: 10px; }
.rx-sign { margin-top: 8px; font-size: 0.9375rem; color: var(--tide-soft); }
/* One label at a time once :has() works; combination is the default. Shift-free: the five labels share one grid
   cell, so the card is as tall as the longest and nothing below moves when you pick. */
@supports selector(:has(*)) {
  .rx-stack { display: grid; }
  .rx-r { grid-area: 1 / 1; visibility: hidden; opacity: 0; transition: opacity 180ms ease; }
  .rx-r + .rx-r { margin-top: 0; }
  .skin:not(:has(.rx-list input:checked)) .r-combo,
  .skin:has(#skin-dry:checked) .r-dry, .skin:has(#skin-oily:checked) .r-oily, .skin:has(#skin-combo:checked) .r-combo,
  .skin:has(#skin-sensitive:checked) .r-sensitive, .skin:has(#skin-mature:checked) .r-mature { visibility: visible; opacity: 1; }
}

/* The stamp: on the written label, and on every treatment label that suits it */
.rx::after,
main:has(#skin-dry:checked) .t[data-suits~="dry"]::after,
main:has(#skin-oily:checked) .t[data-suits~="oily"]::after,
main:has(#skin-combo:checked) .t[data-suits~="combo"]::after,
main:has(#skin-sensitive:checked) .t[data-suits~="sensitive"]::after,
main:has(#skin-mature:checked) .t[data-suits~="mature"]::after {
  position: absolute; right: 12px; z-index: 2; rotate: -7deg;
  padding: 5px 12px; border: 2px solid var(--kelp); border-radius: 999px; background: rgb(251 251 248 / .94);
  color: var(--kelp); font: 800 0.9375rem/1 var(--font-display); letter-spacing: 0.04em;
}
.rx::after { content: "Prescribed for you"; top: -14px; }
main:has(#skin-dry:checked) .t[data-suits~="dry"]::after { content: "Suits dry skin"; }
main:has(#skin-oily:checked) .t[data-suits~="oily"]::after { content: "Suits oily skin"; }
main:has(#skin-combo:checked) .t[data-suits~="combo"]::after { content: "Suits combination skin"; }
main:has(#skin-sensitive:checked) .t[data-suits~="sensitive"]::after { content: "Suits sensitive skin"; }
main:has(#skin-mature:checked) .t[data-suits~="mature"]::after { content: "Suits mature skin"; }
main:has(#skin-dry:checked) .t[data-suits~="dry"],
main:has(#skin-oily:checked) .t[data-suits~="oily"],
main:has(#skin-combo:checked) .t[data-suits~="combo"],
main:has(#skin-sensitive:checked) .t[data-suits~="sensitive"],
main:has(#skin-mature:checked) .t[data-suits~="mature"] { order: -1; box-shadow: var(--double), 0 0 0 3px var(--kelp); }
.t::after { top: -13px; }

/* Treatments: a shelf of product labels (a rail on phones; the ones that suit your skin come first) */
.treatments { padding: var(--sec) var(--pad); }
.shelf { list-style: none; display: grid; grid-auto-flow: column; grid-auto-columns: min(84%, 340px); gap: 14px; margin: 0 calc(var(--pad) * -1); padding: 18px var(--pad) 12px; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scroll-padding-inline: var(--pad); scrollbar-width: thin; scrollbar-color: var(--rule) transparent; }
.shelf:focus-visible, .specimens:focus-visible, .review-list:focus-visible { outline-offset: -3px; }
.t { position: relative; scroll-snap-align: start; display: flex; flex-direction: column; background: var(--label); border: 1px solid var(--tide); border-radius: var(--r-label); box-shadow: var(--double); padding: 18px 18px 14px; }
.t-top { display: flex; justify-content: space-between; gap: 10px; padding-bottom: 8px; border-bottom: 1px solid var(--tide); font: 600 0.875rem/1.2 var(--font-display); letter-spacing: 0.03em; color: var(--tide-soft); }
.t-no { font-family: var(--font-type); font-weight: 800; color: var(--tide); letter-spacing: 0.06em; }
.t h3 { font-size: 1.85rem; line-height: 1; text-align: center; margin-top: 16px; }
.t-for { text-align: center; font-style: italic; color: var(--tide-soft); margin-top: 6px; line-height: 1.4; font-size: 1rem; }
.t-net { display: flex; justify-content: space-between; align-items: center; margin-top: 14px; padding: 7px 2px; border-block: 1px solid var(--tide); font: 600 1rem/1.2 var(--font-display); }
.t-net b { font-weight: 800; }
.t-price { font: 800 1.6rem/1 var(--font-display); font-variant-numeric: tabular-nums; }
.t-inci { margin: 12px 0 12px; font-size: 0.9375rem; line-height: 1.5; }
.t-inci b, .t-caution b { font-weight: 700; }
.t-caution { margin: -2px 0 12px; padding: 8px 10px; border: 1px solid var(--kelp); border-radius: 3px; font-size: 0.9375rem; line-height: 1.45; }
.t-foot { margin-top: auto; padding-top: 12px; display: flex; justify-content: space-between; align-items: center; gap: 10px; border-top: 1px dotted var(--rule); font-size: 0.875rem; color: var(--tide-soft); }
.lot { font: 500 0.875rem/1.2 var(--font-type); letter-spacing: 0.04em; }
.pao { display: inline-flex; align-items: center; gap: 6px; text-align: right; line-height: 1.25; }
.pao svg { width: 30px; height: 26px; color: var(--tide); flex: none; }

.back-row { display: grid; gap: 16px; margin-top: 18px; align-items: start; }
.back-label { max-width: 760px; padding: 16px 18px 8px; background: var(--label); border: 1px solid var(--tide); border-radius: var(--r-label); box-shadow: var(--double); }
.back-label h3, .back-label summary { font: 750 1.4rem/1 var(--font-display); padding-bottom: 8px; border-bottom: 2px solid var(--tide); }
.back-label table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.back-label th, .back-label td { padding: 9px 0; border-bottom: 1px dotted var(--rule); text-align: left; font-weight: 400; vertical-align: top; }
.back-label thead th { font: 600 0.875rem/1.2 var(--font-display); color: var(--tide-soft); padding: 9px 0 5px; }
.back-label tr > :nth-child(2) { text-align: right; white-space: nowrap; padding-left: 12px; color: var(--tide-soft); }
.back-label tr > :nth-child(3) { text-align: right; white-space: nowrap; padding-left: 14px; font-weight: 700; }
.back-label tbody tr:last-child > * { border-bottom: 0; }
.directions { padding-bottom: 6px; }
.directions summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 44px; padding-bottom: 6px; border-bottom: 0; }
.directions[open] summary { border-bottom: 2px solid var(--tide); }
.directions dl div { display: grid; grid-template-columns: 100px 1fr; gap: 12px; padding: 9px 0; border-bottom: 1px dotted var(--rule); }
.directions dl div:last-child { border-bottom: 0; }
.directions dt { font: 700 1rem/1.4 var(--font-display); }
.directions dd { font-size: 0.9375rem; line-height: 1.5; }

/* First visit */
.first { padding: var(--sec) var(--pad); background: var(--label); }
.first-grid { display: grid; gap: 28px; }
.steps { list-style: none; padding: 0; counter-reset: step; }
.steps li { counter-increment: step; display: grid; grid-template-columns: 40px 1fr; column-gap: 10px; padding: 12px 0; border-top: 1px solid var(--tide); }
.steps li:last-child { border-bottom: 1px solid var(--tide); }
.steps li::before { content: counter(step); grid-row: span 2; font: 800 2rem/1 var(--font-display); color: var(--glass); }
.steps h3 { font-size: 1.35rem; }
.steps p { color: var(--tide-soft); margin-top: 2px; }
/* Phones: the numeral sits on the heading's line and the text runs the full, centered column */
@media (max-width: 759.98px) {
  .steps li { grid-template-columns: 30px minmax(0, 1fr); column-gap: 8px; align-items: baseline; }
  .steps li::before { grid-row: auto; font-size: 1.75rem; }
  .steps p { grid-column: 1 / -1; margin-top: 4px; }
}
.script { justify-self: center; width: 100%; max-width: 440px; }
.script-card { padding: 16px 18px 14px; background: var(--label); border: 1px solid var(--tide); border-radius: var(--r-label); box-shadow: var(--double), 0 22px 34px -22px rgb(16 48 58 / .6); rotate: -1.2deg; }
.script-head { display: flex; justify-content: space-between; align-items: center; padding-bottom: 8px; border-bottom: 2px solid var(--tide); font: 650 0.9375rem/1.2 var(--font-display); letter-spacing: 0.03em; }
.script dl div { display: grid; grid-template-columns: 96px 1fr; gap: 10px; padding: 8px 0; border-bottom: 1px dotted var(--rule); }
.script dt { font: 600 0.875rem/1.35 var(--font-display); color: var(--tide-soft); }
.script dd { font: 500 0.9375rem/1.4 var(--font-type); }
.script-sign { margin-top: 10px; font: italic 400 1rem/1.4 var(--font-text); }
.script figcaption { margin-top: 12px; font-size: 0.875rem; color: var(--tide-soft); text-align: center; }

/* Studio: photos with small specimen labels (a rail on phones) */
.studio { padding: var(--sec) var(--pad); }
.specimens { list-style: none; display: grid; grid-auto-flow: column; grid-auto-columns: min(62%, 260px); gap: 12px; margin: 0 calc(var(--pad) * -1); padding: 0 var(--pad) 12px; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scroll-padding-inline: var(--pad); scrollbar-width: thin; scrollbar-color: var(--rule) transparent; }
.specimens > li { scroll-snap-align: start; }
.specimens img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--r-label); }
.specimens figcaption { position: relative; margin: 10px 0 0; padding: 8px 10px 9px; background: var(--label); border: 1px solid var(--tide); border-radius: 3px; font-size: 0.875rem; line-height: 1.4; color: var(--tide-soft); }
.specimens figcaption b { display: block; font: 750 1rem/1.2 var(--font-display); color: var(--tide); }

/* Reviews (a rail on phones) */
.reviews { padding: var(--sec) var(--pad); background: var(--label); }
.review-list { list-style: none; display: grid; grid-auto-flow: column; grid-auto-columns: min(84%, 340px); gap: 12px; margin: 0 calc(var(--pad) * -1); padding: 0 var(--pad) 10px; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scroll-padding-inline: var(--pad); scrollbar-width: thin; scrollbar-color: var(--rule) transparent; }
.review-list li { scroll-snap-align: start; display: flex; flex-direction: column; padding: 20px 20px 16px; border-top: 3px double var(--tide); background: var(--fog); }
.review-list blockquote p { font-style: italic; font-size: 1.125rem; line-height: 1.45; }
.who { margin-top: auto; padding-top: 14px; font: 750 1.0625rem/1.3 var(--font-display); }
.who .note { display: block; font-family: var(--font-text); }

/* About */
.about { display: grid; gap: 22px; padding: var(--sec) var(--pad); }
.about-photo img { width: 100%; aspect-ratio: 2 / 1; object-fit: cover; border-radius: var(--r-label); }
.about-copy p { margin-top: 14px; max-width: 36em; }
.about-facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 20px; border-block: 1px solid var(--tide); }
.about-facts div { padding: 9px 8px 9px 0; }
.about-facts div + div { border-left: 1px solid var(--tide); padding-left: 12px; }
.about-facts dt { font: 600 0.875rem/1.25 var(--font-display); color: var(--tide-soft); }
.about-facts dd { font: 800 1.3rem/1.15 var(--font-display); }

/* Book + visit */
.visit { padding: var(--sec) var(--pad); background: var(--wash); }
.visit-grid { display: grid; gap: 18px; align-items: start; }
.pad { padding: 16px 16px 18px; background: var(--label); border: 1px solid var(--tide); border-radius: var(--r-label); box-shadow: var(--double); }
.pad-head { display: flex; justify-content: space-between; gap: 10px; align-items: baseline; padding: 0 2px 8px; margin-bottom: 4px; border-bottom: 2px solid var(--tide); font: 750 1.2rem/1.2 var(--font-display); }
.pad-no { font: 500 0.9375rem/1 var(--font-type); color: var(--tide-soft); letter-spacing: 0.04em; }
.field { display: grid; gap: 6px; margin-top: 12px; }
.field label, .chips legend { font-weight: 600; font-size: 0.9375rem; }
.opt { font-weight: 400; color: var(--tide-soft); font-size: 0.875rem; }
.field input, .field select { width: 100%; min-height: 50px; padding: 10px 12px; font: 400 1.0625rem/1.4 var(--font-text); color: var(--tide); background: #fff; border: 1.5px solid var(--field); border-radius: var(--r-btn); }
.field select { appearance: none; padding-right: 36px; background-image: linear-gradient(45deg, transparent 50%, var(--tide) 50%), linear-gradient(135deg, var(--tide) 50%, transparent 50%); background-position: calc(100% - 18px) 52%, calc(100% - 12px) 52%; background-size: 6px 6px; background-repeat: no-repeat; }
.field input:user-invalid { border-color: #9B2C2C; }
.chips { border: 0; margin: 12px 0 0; padding: 0; min-width: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.chips legend { float: left; width: 100%; margin-bottom: 6px; padding: 0; }
.chips label { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; min-width: 56px; padding: 0 12px; background: #fff; border: 1.5px solid var(--field); border-radius: var(--r-btn); cursor: pointer; font: 700 1.0625rem/1 var(--font-display); transition: background-color 150ms ease; }
.chips input:checked + label { background: var(--glass); border-color: var(--glass); color: #fff; }
.chips input:focus-visible + label { outline: 3px solid var(--glass); outline-offset: 2px; }
.pad .btn { margin-top: 18px; }
.fine { margin-top: 8px; font-size: 0.875rem; color: var(--tide-soft); }
.sent { display: none; margin-top: 12px; padding: 10px 12px; border: 1px solid var(--kelp); border-radius: 3px; background: #F1F4EA; }
.sent:target { display: block; }
.visit-card { padding: 18px 18px; background: var(--label); border: 1px solid var(--tide); border-radius: var(--r-label); }
.visit-card h3 { font-size: 1.5rem; padding-bottom: 8px; border-bottom: 2px solid var(--tide); }
.visit-card address { font-style: normal; font-size: 1.125rem; line-height: 1.45; margin-top: 12px; }
.visit-card address a { text-decoration-color: var(--rule); }
.visit-card > p { margin-top: 10px; color: var(--tide-soft); }
.hours { width: 100%; border-collapse: collapse; margin-top: 12px; font-variant-numeric: tabular-nums; }
.hours th, .hours td { padding: 9px 0; border-bottom: 1px dotted var(--rule); text-align: left; font-weight: 400; }
.hours td { text-align: right; font-weight: 700; padding-left: 12px; white-space: nowrap; }
.contact-lines { margin-top: 10px; }
.contact-lines a { display: flex; align-items: center; gap: 10px; min-height: 44px; font-weight: 700; overflow-wrap: anywhere; }
.contact-lines .i { color: var(--glass); }

/* Footer */
.site-foot { background: var(--tide); color: var(--on-dark); padding: 36px var(--pad) calc(var(--ab-h) + 36px + env(safe-area-inset-bottom)); }
.site-foot :focus-visible { outline-color: var(--on-dark); }
.foot-label { display: inline-grid; gap: 4px; padding: 12px 16px; border: 1px solid var(--on-dark-soft); border-radius: 4px; box-shadow: inset 0 0 0 4px var(--tide), inset 0 0 0 5px var(--on-dark-soft); }
.foot-name { font: 800 1.6rem/1.05 var(--font-display); color: #fff; }
.foot-label p:last-child { color: var(--on-dark-soft); font-size: 0.9375rem; }
.foot-cols { display: grid; gap: 16px; margin-top: 24px; }
.foot-cols h2 { font: 650 0.9375rem/1.3 var(--font-display); letter-spacing: 0.03em; color: var(--on-dark-soft); margin-bottom: 2px; }
.foot-cols a { display: flex; align-items: center; min-height: 44px; width: fit-content; overflow-wrap: anywhere; }
.foot-hours { font-variant-numeric: tabular-nums; }
.foot-legal { margin-top: 22px; padding-top: 14px; border-top: 1px solid rgb(255 255 255 / .18); font-size: 0.875rem; color: var(--on-dark-soft); }

/* C1 Action Bar (phones): Call, Text, Book, as three small labels */
.action-bar { position: fixed; inset: auto 0 0 0; z-index: 40; display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; padding: 6px 8px calc(6px + env(safe-area-inset-bottom)); background: var(--label); border-top: 1px solid var(--tide); }
.action-bar a { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: var(--ab-h); border: 1px solid var(--tide); border-radius: var(--r-btn); box-shadow: inset 0 0 0 3px var(--label), inset 0 0 0 4px var(--rule); color: var(--tide); font: 700 1.125rem/1 var(--font-display); text-decoration: none; transition: transform 120ms var(--ease-out), background-color 150ms ease; }
.action-bar .ab-call { background: var(--glass); border-color: var(--glass); color: var(--c-on-accent); box-shadow: inset 0 0 0 3px var(--glass), inset 0 0 0 4px rgb(255 255 255 / .55); }
.action-bar a:active { transform: scale(.97); }

/* ---------- Tablet: 760 ---------- */
@media (min-width: 760px) {
  :root { --sec: 72px; --ab-h: 0px; }
  html { scroll-padding-bottom: 0; }
  .action-bar { display: none; }
  .site-head { grid-template-columns: auto 1fr auto; grid-template-areas: "brand phone cta" "nav nav nav"; }
  .head-phone { display: inline-flex; justify-self: end; }
  .hero-photo img { aspect-ratio: 16 / 9; }
  .fine-print { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .fine-print li:nth-child(n) { border-top: 0; border-left: 1px solid var(--rule); }
  .fine-print li:first-child { border-left: 0; }
  .seals { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }
  .seals li { width: 112px; max-width: none; font-size: 0.875rem; }
  .rx-wrap { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 28px; align-items: start; }
  .rx { margin-top: 10px; }
  .shelf { grid-auto-flow: row; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 1fr; gap: 24px 20px; margin: 0; padding: 14px 0 0; overflow: visible; }
  .specimens, .review-list { grid-auto-flow: row; margin: 0; padding: 0; overflow: visible; }
  .specimens { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
  .review-list { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
  .directions > summary { pointer-events: none; }
  .directions > summary .i { display: none; }
  .directions summary { border-bottom: 2px solid var(--tide); }
  .about-photo img { aspect-ratio: 4 / 3; }
  .site-foot { padding-bottom: 28px; }
  .foot-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 760px) {
  .directions::details-content { content-visibility: visible; }
}

/* ---------- Desktop: 1080 ---------- */
@media (min-width: 1080px) {
  :root { --sec: 96px; }
  .site-head { grid-template-columns: auto 1fr auto auto; grid-template-areas: "brand nav phone cta"; column-gap: 28px; padding: 12px var(--pad); }
  .nav ul { display: flex; justify-content: center; gap: 6px; margin: 0; border: 0; }
  .nav li + li { border-left: 0; }
  .nav a { min-height: 44px; padding: 0 12px; font-size: 1.0625rem; }
  .head-cta { min-height: 48px; padding: 0 22px; }
  .wide-only { display: inline; }

  .hero { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); align-items: center; gap: 0; padding: 56px var(--pad); }
  .hero-label { margin-right: -72px; padding: 30px 40px 22px; }
  .lbl-desc { font-size: 1.125rem; }
  .hero-photo img { aspect-ratio: auto; height: 600px; }

  .rx-wrap { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 48px; }
  .rx { padding: 20px 24px 22px; }
  .shelf { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px 24px; }
  .t h3 { font-size: 2.05rem; }
  .back-row { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
  .first-grid { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 56px; align-items: center; }
  .about { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 56px; align-items: center; }
  .about-photo img { aspect-ratio: 4 / 5; }
  .visit-grid { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 32px; }
  .pad { padding: 24px 28px 28px; }
}

/* Motion: only in answer to a choice. The stamp lands when you pick a skin type. */
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
  .skin:has(.rx-list input:checked) .rx::after { animation: stamp 350ms cubic-bezier(.3, 1.6, .5, 1) both; }
}
@keyframes stamp { from { scale: 1.25; opacity: .4; } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
