/* Atelier Nove: Skin Atlas. Tokens, then layout, then components. */
@view-transition { navigation: auto; }

:root {
  --bg: #F4F1F6;
  --surface: #FFFFFF;
  --surface-2: #ECE7F0;
  --text: #1C1620;
  --text-2: #5A5062;
  --line: rgba(28, 22, 32, .16);
  --line-strong: rgba(28, 22, 32, .42);
  --accent-text: #6B4FD8;
  --sheen-a: #C9B8FF;
  --sheen-b: #9FE3D8;
  --sheen-line-a: #6B4FD8;
  --sheen-line-b: #1E8F82;
  --on-sheen: #1C1620;
  --sheen: linear-gradient(115deg, var(--sheen-a), var(--sheen-b));
  --sheen-opacity: .7;
  --hover-fill: rgba(107, 79, 216, .10);
  --focus: #6B4FD8;
  --header-bg: rgba(244, 241, 246, .86);
  --err: #B3261E;
  --ok: #17694F;
  --shadow: 0 1px 0 rgba(28, 22, 32, .04), 0 28px 60px -34px rgba(28, 22, 32, .35);
  --grain-opacity: .05;
  color-scheme: light;

  --display: "Kalnia", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --sans: "Albert Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --ease: cubic-bezier(.2, .7, .1, 1);
  --ease-io: cubic-bezier(.6, 0, .2, 1);

  --step--1: .8125rem;
  --step-0: 1.0625rem;
  --step-1: clamp(1.2rem, 1.1rem + .4vw, 1.4rem);
  --step-2: clamp(1.55rem, 1.3rem + 1vw, 2.05rem);
  --step-3: clamp(2rem, 1.4rem + 2vw, 3.1rem);
  --step-4: clamp(2.6rem, 1.6rem + 3.4vw, 4.9rem);

  --gutter: clamp(1rem, .4rem + 2.6vw, 2.5rem);
  --max: 1360px;
  --section: clamp(4.5rem, 2.4rem + 7vw, 9rem);
  --header-h: 76px;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #1C1620;
    --surface: #2A2130;
    --surface-2: #352B3C;
    --text: #EEE9F2;
    --text-2: #B7AEBF;
    --line: rgba(238, 233, 242, .14);
    --line-strong: rgba(238, 233, 242, .4);
    --accent-text: #C9B8FF;
    --sheen-line-a: #C9B8FF;
    --sheen-line-b: #9FE3D8;
    --sheen-opacity: .64;
    --hover-fill: rgba(201, 184, 255, .12);
    --focus: #C9B8FF;
    --header-bg: rgba(28, 22, 32, .8);
    --err: #FF9A92;
    --ok: #8FE0BF;
    --shadow: 0 1px 0 rgba(255, 255, 255, .04), 0 30px 60px -30px rgba(0, 0, 0, .7);
    --grain-opacity: .07;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #1C1620;
  --surface: #2A2130;
  --surface-2: #352B3C;
  --text: #EEE9F2;
  --text-2: #B7AEBF;
  --line: rgba(238, 233, 242, .14);
  --line-strong: rgba(238, 233, 242, .4);
  --accent-text: #C9B8FF;
  --sheen-line-a: #C9B8FF;
  --sheen-line-b: #9FE3D8;
  --sheen-opacity: .64;
  --hover-fill: rgba(201, 184, 255, .12);
  --focus: #C9B8FF;
  --header-bg: rgba(28, 22, 32, .8);
  --err: #FF9A92;
  --ok: #8FE0BF;
  --shadow: 0 1px 0 rgba(255, 255, 255, .04), 0 30px 60px -30px rgba(0, 0, 0, .7);
  --grain-opacity: .07;
  color-scheme: dark;
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 20px); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font-family: var(--sans); font-size: var(--step-0); line-height: 1.65; font-weight: 400;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: clip; min-height: 100dvh; display: flex; flex-direction: column;
}
body::before { /* fine grain, static */
  content: ""; position: fixed; inset: 0; z-index: 0; pointer-events: none; opacity: var(--grain-opacity);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .5 0 0 0 0 .5 0 0 0 0 .5 0 0 0 1 0'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E");
}
body > * { position: relative; z-index: 1; }
main { flex: 1 0 auto; display: block; }
img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .22em; }
a:hover { text-decoration-thickness: 2px; }
button { font: inherit; color: inherit; }
h1, h2, h3, h4 { font-family: var(--display); font-weight: 300; color: var(--text); margin: 0; line-height: 1.08; letter-spacing: -.005em; text-wrap: balance; }
h1 { font-size: var(--step-4); }
h2 { font-size: var(--step-3); }
h3 { font-size: var(--step-1); font-weight: 400; line-height: 1.2; }
h4 { font-size: 1.15rem; font-weight: 400; }
p { margin: 0 0 1em; text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; border-radius: 3px; }
::selection { background: var(--sheen-a); color: #1C1620; }

.skip { position: absolute; left: 1rem; top: -4rem; z-index: 100; background: var(--text); color: var(--bg); padding: .8rem 1.1rem; border-radius: 999px; font-weight: 600; text-decoration: none; transition: top .2s; }
.skip:focus { top: .75rem; }

.wrap { width: min(100% - 2 * var(--gutter), var(--max)); margin-inline: auto; }
.section { padding-block: var(--section); }
.label { font-family: var(--sans); font-size: .75rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--text-2); margin: 0 0 1rem; display: block; }
.label .num { color: var(--text); }
.lede { font-size: clamp(1.1rem, 1rem + .4vw, 1.3rem); line-height: 1.6; color: var(--text-2); max-width: 38ch; }
.muted { color: var(--text-2); }
.rule { border: 0; border-top: 1px solid var(--line); margin: 0; }

/* ---------- header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--header-bg); -webkit-backdrop-filter: blur(14px) saturate(1.2); backdrop-filter: blur(14px) saturate(1.2); border-bottom: 1px solid transparent; transition: border-color .3s; view-transition-name: site-header; }
.site-header.is-scrolled { border-bottom-color: var(--line); }
.bar { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: var(--header-h); }
.brand { display: inline-flex; align-items: center; gap: .7rem; text-decoration: none; color: var(--text); min-height: 44px; }
.brand svg { width: 34px; height: 34px; flex: none; }
.brand-name { font-family: var(--display); font-size: 1.45rem; font-weight: 400; letter-spacing: .005em; line-height: 1; color: var(--text); }
.brand-sub { display: none; font-size: .68rem; letter-spacing: .2em; text-transform: uppercase; color: var(--text-2); font-weight: 600; margin-top: .35rem; }
.brand-text { display: flex; flex-direction: column; }
@media (min-width: 900px) { .brand-sub { display: block; } }
.nav ul { list-style: none; display: flex; gap: .25rem; align-items: center; }
.nav a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 1rem; text-decoration: none; font-size: .95rem; font-weight: 500; color: var(--text); position: relative; }
.nav a::after { content: ""; position: absolute; left: 1rem; right: 1rem; bottom: 9px; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform .45s var(--ease); }
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }
.bar-actions { display: flex; align-items: center; gap: .6rem; }
.icon-btn { width: 44px; height: 44px; display: inline-grid; place-items: center; border-radius: 50%; border: 1px solid var(--line); background: transparent; color: var(--text); cursor: pointer; transition: border-color .25s, background .25s; }
.icon-btn:hover { border-color: var(--line-strong); background: var(--hover-fill); }
.icon-btn svg { width: 20px; height: 20px; }
.theme-toggle .i-sun { display: none; }
:root[data-theme="dark"] .theme-toggle .i-sun { display: block; }
:root[data-theme="dark"] .theme-toggle .i-moon { display: none; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .theme-toggle .i-sun { display: block; }
  :root:not([data-theme="light"]) .theme-toggle .i-moon { display: none; }
}
.nav-toggle { display: none; }
@media (max-width: 859px) {
  .nav-toggle { display: inline-grid; }
  .bar-actions .btn { display: none; }
  .js .nav { position: absolute; left: 0; right: 0; top: 100%; background: var(--bg); border-bottom: 1px solid var(--line); padding: .5rem var(--gutter) 1.5rem; display: none; box-shadow: var(--shadow); }
  .js .nav.is-open { display: block; }
  .nav ul { flex-direction: column; align-items: stretch; gap: 0; }
  .nav a { min-height: 56px; padding: 0; font-family: var(--display); font-size: 1.6rem; font-weight: 300; border-bottom: 1px solid var(--line); }
  .nav a::after { display: none; }
  .nav .nav-cta { display: block; margin-top: 1.2rem; }
  html:not(.js) .bar { flex-wrap: wrap; padding-block: .5rem; }
  html:not(.js) .nav { order: 3; width: 100%; }
  html:not(.js) .nav ul { flex-direction: row; flex-wrap: wrap; }
  html:not(.js) .nav a { font-size: 1rem; min-height: 44px; border: 0; padding: 0 .75rem; font-family: var(--sans); }
  html:not(.js) .nav-toggle { display: none; }
}
@media (min-width: 860px) { .nav .nav-cta { display: none; } }

/* ---------- buttons ---------- */
.btn { --h: 52px; position: relative; display: inline-flex; align-items: center; justify-content: center; gap: .6rem; min-height: var(--h); padding: 0 1.6rem; border-radius: 999px; border: 1px solid var(--line-strong); background: transparent; color: var(--text); font-weight: 600; font-size: .95rem; letter-spacing: .01em; text-decoration: none; cursor: pointer; overflow: hidden; isolation: isolate; transition: border-color .25s, background .25s, transform .4s var(--ease); }
.btn:hover { border-color: var(--text); }
.btn svg { width: 16px; height: 16px; transition: transform .4s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn-sm { --h: 44px; padding: 0 1.2rem; font-size: .88rem; }
.btn-primary { border-color: transparent; background: var(--sheen); color: var(--on-sheen); }
.btn-primary::before { content: ""; position: absolute; inset: 0 -60% 0 auto; width: 60%; z-index: -1; background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .6), transparent); transform: translateX(-260%) skewX(-18deg); }
@media (prefers-reduced-motion: no-preference) {
  .btn-primary:hover::before, .btn-primary:focus-visible::before { transform: translateX(-30%) skewX(-18deg); transition: transform .9s var(--ease); }
}
.btn-primary:hover { border-color: transparent; }
.btn[disabled], .btn[aria-disabled="true"] { opacity: .5; cursor: not-allowed; }
.text-link { display: inline-flex; align-items: center; gap: .5rem; font-weight: 600; text-decoration: none; border-bottom: 1px solid var(--line-strong); padding-bottom: 2px; min-height: 28px; }
.text-link:hover { border-bottom-color: var(--text); }
.text-link svg { width: 14px; height: 14px; transition: transform .4s var(--ease); }
.text-link:hover svg { transform: translateX(4px); }

/* ---------- hero: the atlas ---------- */
.hero { padding-block: clamp(1rem, 2.5vw, 2.5rem) clamp(3rem, 5vw, 5rem); position: relative; }
.hero-grid { display: grid; gap: clamp(1.5rem, 2.4vw, 2.5rem) clamp(1.5rem, 3vw, 3rem); grid-template-columns: minmax(0, 1fr); grid-template-areas: "intro" "figure" "list" "panel"; }
@media (min-width: 720px) and (max-width: 1099px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-areas: "intro intro" "figure list" "figure panel"; align-items: start; }
}
@media (min-width: 1100px) {
  .hero-grid { grid-template-columns: minmax(0, .8fr) minmax(0, 1fr) minmax(0, .92fr); grid-template-areas: "intro figure panel" "list figure panel"; grid-template-rows: auto 1fr; align-items: start; }
}
.hero-intro { grid-area: intro; padding-top: clamp(.25rem, 1vw, 1rem); }
.hero h1 { font-size: clamp(3rem, 1.3rem + 3.1vw, 4.7rem); font-weight: 300; line-height: 1.02; letter-spacing: -.012em; margin-bottom: 1.1rem; }
.hero h1 .line { display: block; overflow: hidden; padding: 0 0 .1em; margin-bottom: -.1em; }
.hero h1 .line > span { display: block; }
.hero .lede { margin-bottom: 1.4rem; max-width: 30ch; }
.hero-list { grid-area: list; }
.list-label { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: .6rem; }
.zlist { list-style: none; border-top: 1px solid var(--line); }
.zbtn { position: relative; display: grid; grid-template-columns: 2.4rem auto minmax(0, 1fr) 1.2rem; align-items: center; column-gap: .5rem; width: 100%; min-height: 46px; padding: .3rem .15rem; background: transparent; border: 0; border-bottom: 1px solid var(--line); text-align: left; cursor: pointer; transition: padding .45s var(--ease), background .3s; }
.zbtn .zn { font-size: .72rem; font-weight: 600; letter-spacing: .12em; color: var(--text-2); font-variant-numeric: tabular-nums; }
.zbtn .zt { display: block; font-family: var(--display); font-size: 1.22rem; font-weight: 300; line-height: 1.15; color: var(--text); }
.zbtn .zd { display: block; font-size: .8rem; color: var(--text-2); line-height: 1.3; text-align: right; }
.zbtn .za { width: 14px; height: 14px; color: var(--text-2); opacity: 0; transform: translateX(-6px); transition: opacity .3s, transform .4s var(--ease); }
.zbtn:hover, .zbtn.is-hover { padding-left: .6rem; background: var(--hover-fill); }
.zbtn:hover .za, .zbtn.is-hover .za, .zbtn[aria-pressed="true"] .za { opacity: 1; transform: none; }
.zbtn[aria-pressed="true"] { padding-left: .6rem; }
.zbtn[aria-pressed="true"] .zn { position: relative; z-index: 0; color: var(--on-sheen); }
.zbtn[aria-pressed="true"] .zn::before { content: ""; position: absolute; z-index: -1; left: -.35rem; top: 50%; width: 1.9rem; height: 1.9rem; margin-top: -.95rem; border-radius: 50%; background: var(--sheen); }
.zbtn[aria-pressed="true"] .zt { font-weight: 500; }
html:not(.js) .hero-list { display: none; }
@media (max-width: 719px) {
  .zlist { display: grid; grid-template-columns: 1fr 1fr; column-gap: 1.25rem; }
  .zbtn .za { display: none; }
  .zbtn { grid-template-columns: 2rem minmax(0, 1fr); }
  .zbtn .zd { display: none; }
  .zlist { border-top: 0; }
  .zbtn:nth-child(-n+2) { border-top: 1px solid var(--line); }
}

/* the plate (face) */
.hero-figure { grid-area: figure; margin: 0; position: relative; min-width: 0; }
.plate { position: relative; border: 1px solid var(--line); border-radius: 6px; background: radial-gradient(120% 90% at 55% 38%, var(--surface), transparent 78%); padding: clamp(.5rem, 1.5vw, 1rem) clamp(.4rem, 1.2vw, .8rem) 0; overflow: hidden; }
.plate::before, .plate::after { content: ""; position: absolute; width: 14px; height: 14px; border: 1px solid var(--line-strong); pointer-events: none; }
.plate::before { left: 10px; top: 10px; border-right: 0; border-bottom: 0; }
.plate::after { right: 10px; top: 10px; border-left: 0; border-bottom: 0; }
.plate-cap { display: flex; justify-content: space-between; gap: 1rem; padding: .7rem .6rem .9rem; margin: 0; border-top: 1px solid var(--line); position: relative; z-index: 2; }
.plate-cap .label { margin: 0; font-size: .68rem; }
.atlas { width: 100%; height: auto; aspect-ratio: 500 / 734; overflow: visible; color: var(--text); -webkit-mask-image: linear-gradient(#000 0 84%, transparent 99%); mask-image: linear-gradient(#000 0 84%, transparent 99%); }
.atlas .lines path { stroke: currentColor; stroke-width: 2; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.atlas .lines { pointer-events: none; }
.atlas .lines .soft { stroke-width: 1.6; opacity: .7; }
.atlas .zone { cursor: pointer; }
.atlas .zone .zs { fill: var(--hover-fill); fill-opacity: 0; stroke: none; transition: fill-opacity .35s; }
.atlas .zone:hover .zs, .atlas .zone.is-hover .zs { fill-opacity: 1; }
.atlas .zone.is-selected .zs { fill: url(#sheen); fill-opacity: var(--sheen-opacity); stroke: url(#sheenLine); stroke-width: 1.4; vector-effect: non-scaling-stroke; }
.atlas .mark { cursor: pointer; }
.atlas .mark circle.m { fill: var(--bg); stroke: var(--line-strong); stroke-width: 1; transition: fill .3s, stroke .3s; vector-effect: non-scaling-stroke; }
.atlas .mark text { font-family: var(--sans); font-size: 11px; font-weight: 600; letter-spacing: .04em; fill: var(--text); text-anchor: middle; dominant-baseline: central; font-variant-numeric: tabular-nums; }
.atlas .mark line { stroke: var(--line-strong); stroke-width: 1; vector-effect: non-scaling-stroke; }
.atlas .mark .anchor { fill: var(--text); }
.atlas .mark:hover circle.m, .atlas .mark.is-hover circle.m { stroke: var(--text); }
.atlas .mark.is-selected circle.m { fill: url(#sheen); stroke: transparent; }
.atlas .mark.is-selected text { fill: var(--on-sheen); }
html:not(.js) .atlas .zone, html:not(.js) .atlas .mark { pointer-events: none; }
@media (max-width: 480px) { .atlas .mark text { display: none; } }

/* the panel */
.hero-panel { grid-area: panel; min-width: 0; scroll-margin-top: 90px; }
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: 6px; padding: clamp(1.25rem, 2vw, 2rem); box-shadow: var(--shadow); }
.js .panel[hidden] { display: none; }
html:not(.js) .panel + .panel { margin-top: 1.25rem; }
.panel-head .label { margin-bottom: .6rem; }
.panel h2 { font-size: clamp(1.9rem, 1.4rem + 1.4vw, 2.6rem); margin-bottom: .6rem; }
.panel-intro { color: var(--text-2); margin-bottom: 1.2rem; font-size: 1rem; }
.callout { border-left: 2px solid var(--text); padding: .2rem 0 .2rem 1rem; margin: 0 0 1.2rem; font-family: var(--display); font-size: 1.12rem; line-height: 1.45; font-weight: 300; color: var(--text); }
.rx-list { list-style: none; border-top: 1px solid var(--line); margin-bottom: 1.3rem; }
.rx { padding: 1rem 0; border-bottom: 1px solid var(--line); }
.rx-top { display: flex; justify-content: space-between; gap: 1rem; align-items: baseline; }
.rx h3 { font-size: 1.2rem; font-weight: 400; }
.rx h3 a { text-decoration: none; background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size .5s var(--ease); }
.rx h3 a:hover { background-size: 100% 1px; }
.rx-price { font-family: var(--display); font-size: 1.25rem; white-space: nowrap; margin: 0; color: var(--text); }
.rx-price small { font-family: var(--sans); font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; color: var(--text-2); margin-right: .25rem; font-weight: 600; }
.rx-desc { margin: .35rem 0 .7rem; color: var(--text-2); font-size: .95rem; line-height: 1.55; }
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(130px, 100%), 1fr)); gap: .6rem 1.2rem; margin: 0; }
.facts div { min-width: 0; }
.facts dt { font-size: .66rem; letter-spacing: .16em; text-transform: uppercase; color: var(--text-2); font-weight: 600; }
.facts dd { margin: .1rem 0 0; font-size: .9rem; line-height: 1.4; color: var(--text); }
.panel-foot { display: flex; flex-wrap: wrap; gap: .8rem 1.2rem; align-items: center; }
.panel-foot small { color: var(--text-2); font-size: .82rem; line-height: 1.4; max-width: 24ch; }
.panel-fine { margin: 1.1rem 0 0; font-size: .78rem; color: var(--text-2); line-height: 1.5; }
@media (prefers-reduced-motion: no-preference) {
  .panel.is-active { animation: panelIn .6s var(--ease) both; }
  @keyframes panelIn { from { opacity: 0; transform: translate3d(0, 14px, 0); } to { opacity: 1; transform: none; } }
}

/* hero load choreography (CSS only, so it never depends on the CDN) */
@media (prefers-reduced-motion: no-preference) {
  .js .hero h1 .line > span { transform: translate3d(0, 108%, 0); animation: lineUp 1.05s var(--ease) forwards; animation-delay: calc(.15s + var(--i, 0) * .11s); }
  @keyframes lineUp { to { transform: none; } }
  .js .hero .lede, .js .hero .hero-list, .js .hero .hero-panel, .js .hero .plate-cap { opacity: 0; animation: fadeUp 1s var(--ease) forwards; animation-delay: var(--d, .6s); }
  .js .hero .hero-list { --d: .95s; } .js .hero .hero-panel { --d: 1.15s; } .js .hero .plate-cap { --d: 1.5s; }
  @keyframes fadeUp { from { opacity: 0; transform: translate3d(0, 16px, 0); } to { opacity: 1; transform: none; } }
  .js .atlas .draw { stroke-dasharray: 1; stroke-dashoffset: 1; opacity: 0; animation: draw var(--t, 2.4s) var(--ease-io) forwards; animation-delay: var(--d, .3s); }
  @keyframes draw { 0% { opacity: 0; } 2% { opacity: 1; } 100% { stroke-dashoffset: 0; opacity: 1; } }
  .js .atlas .mark { opacity: 0; animation: markIn .6s var(--ease) forwards; animation-delay: calc(1.6s + var(--i, 0) * .09s); }
  @keyframes markIn { from { opacity: 0; } to { opacity: 1; } }
  .atlas .px-hair { transform: translate(calc(var(--mx, 0) * -8px), calc(var(--my, 0) * -5px)); transition: transform 1.1s var(--ease); }
}
.atlas .draw { stroke-dasharray: 1; stroke-dashoffset: 0; }
@media (prefers-reduced-motion: reduce) { .atlas .draw { stroke-dasharray: none; } }

/* credentials ribbon */
.ribbon { border-block: 1px solid var(--line); }
.ribbon ul { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem 0; padding: 1.1rem 0; }
.ribbon li { font-size: .72rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--text-2); padding: 0 1.4rem; position: relative; white-space: nowrap; }
.ribbon li + li::before { content: ""; position: absolute; left: -2px; top: 50%; width: 4px; height: 4px; margin-top: -2px; border-radius: 50%; background: var(--line-strong); }
@media (max-width: 719px) { .ribbon ul { justify-content: flex-start; gap: .35rem 0; padding: .9rem 0; } .ribbon li { padding: 0 1rem 0 0; white-space: normal; font-size: .66rem; letter-spacing: .12em; } .ribbon li + li::before { display: none; } .plate-art { aspect-ratio: 1 / 1; } }

/* statement */
.statement { padding-block: var(--section) calc(var(--section) * .6); }
.statement blockquote { margin: 0; }
.statement .big { font-family: var(--display); font-weight: 300; font-size: clamp(2.2rem, 1.2rem + 4.4vw, 5.2rem); line-height: 1.04; letter-spacing: -.012em; max-width: 17ch; color: var(--text); margin: 0 0 clamp(2.5rem, 5vw, 5rem); }
.promises { display: grid; gap: 0; grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr)); border-top: 1px solid var(--line); }
.promise { padding: 1.6rem clamp(0rem, 2vw, 2rem) 0 0; }
.promise + .promise { border-left: 0; }
@media (min-width: 900px) { .promise + .promise { border-left: 1px solid var(--line); padding-left: clamp(1rem, 2.4vw, 2.4rem); } }
.promise h3 { margin-bottom: .6rem; font-size: 1.5rem; font-weight: 300; }
.promise p { color: var(--text-2); margin: 0; max-width: 36ch; }

/* method: the line that draws as you scroll */
.method-grid { display: grid; gap: 3rem clamp(2rem, 6vw, 7rem); grid-template-columns: minmax(0, 1fr); }
@media (min-width: 960px) { .method-grid { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); } .method-head { position: sticky; top: calc(var(--header-h) + 2rem); align-self: start; } }
.method-head h2 { margin-bottom: 1.2rem; }
.method-steps { list-style: none; position: relative; padding-left: clamp(2.8rem, 6vw, 4.2rem); counter-reset: s; }
.method-line { position: absolute; left: 0; top: 0; width: 24px; height: 100%; overflow: visible; }
.method-line path { fill: none; stroke-width: 1.5; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.method-line .track { stroke: var(--line-strong); opacity: .55; }
.method-line .trace { stroke: var(--text); stroke-dasharray: 1; stroke-dashoffset: 0; }
.mstep { position: relative; padding: 0 0 clamp(2.8rem, 5vw, 4.5rem); }
.mstep:last-child { padding-bottom: 0; }
.mstep::before { content: ""; position: absolute; left: calc(-1 * clamp(2.8rem, 6vw, 4.2rem) + 11px); top: .55rem; width: 10px; height: 10px; margin-left: -1px; border-radius: 50%; background: var(--bg); border: 1px solid var(--line-strong); transition: background .5s, border-color .5s, transform .6s var(--ease); }
.mstep.is-lit::before { background: var(--text); border-color: var(--text); transform: scale(1.3); }
.mstep h3 { font-size: clamp(1.7rem, 1.3rem + 1.4vw, 2.4rem); font-weight: 300; margin: .2rem 0 .7rem; }
.mstep p { color: var(--text-2); max-width: 46ch; margin-bottom: .9rem; }
.mstep .facts { max-width: 46ch; }
.js-ready .mstep { }

/* short menu */
.menu-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 1.5rem; margin-bottom: clamp(2rem, 4vw, 3.5rem); }
.menu-head h2 { max-width: 14ch; }
.menu { list-style: none; border-top: 1px solid var(--line-strong); }
.menu-row { display: grid; grid-template-columns: 3rem minmax(0, 1.1fr) minmax(0, 1.4fr) 8.5rem; gap: .4rem clamp(1rem, 3vw, 3rem); align-items: baseline; padding: clamp(1.1rem, 2vw, 1.7rem) 0; border-bottom: 1px solid var(--line); text-decoration: none; position: relative; transition: padding .55s var(--ease), background .3s; }
.menu-row:hover { padding-left: 1rem; background: var(--hover-fill); }
.menu-row .n { font-size: .72rem; letter-spacing: .14em; font-weight: 600; color: var(--text-2); font-variant-numeric: tabular-nums; }
.menu-row .t { font-family: var(--display); font-size: clamp(1.4rem, 1.1rem + 1.2vw, 2.1rem); font-weight: 300; color: var(--text); line-height: 1.1; }
.menu-row .d { color: var(--text-2); font-size: .95rem; margin: 0; }
.menu-row .p { font-family: var(--display); font-size: clamp(1.2rem, 1rem + .8vw, 1.6rem); color: var(--text); white-space: nowrap; text-align: right; }
.menu-row .p small { font-family: var(--sans); font-size: .68rem; letter-spacing: .14em; font-weight: 600; text-transform: uppercase; color: var(--text-2); margin-right: .3rem; }
@media (max-width: 759px) {
  .menu-row { grid-template-columns: 2.2rem minmax(0, 1fr) auto; }
  .menu-row .d { grid-column: 2 / -1; grid-row: 2; }
}

/* plates */
.plates-head { max-width: 46rem; margin-bottom: clamp(2rem, 4vw, 3.5rem); }
.plates-head h2 { margin-bottom: 1rem; }
.plates { display: grid; gap: clamp(1rem, 2.4vw, 2rem); grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr)); }
.plate-card { margin: 0; min-width: 0; }
.plate-art { border: 1px solid var(--line); border-radius: 6px; background: var(--surface); aspect-ratio: 4 / 5; overflow: hidden; position: relative; color: var(--text-2); }
.plate-art svg { width: 100%; height: 100%; }
.plate-card figcaption { padding-top: 1rem; }
.plate-card figcaption h3 { font-size: 1.35rem; margin-bottom: .3rem; font-weight: 300; }
.plate-card figcaption p { color: var(--text-2); font-size: .95rem; margin: 0; max-width: 34ch; }
.plate-card .label { margin-bottom: .5rem; }
.plate-art .pl { stroke: currentColor; fill: none; stroke-width: 1; vector-effect: non-scaling-stroke; }
.plate-art .dot { fill: currentColor; }
@media (prefers-reduced-motion: no-preference) { .plate-art svg { transition: transform 1.4s var(--ease); } .plate-card:hover .plate-art svg { transform: scale(1.04); } }

/* practitioners (teaser + page) */
.people { display: grid; gap: clamp(1.25rem, 2.6vw, 2.2rem); grid-template-columns: repeat(auto-fit, minmax(min(250px, 100%), 1fr)); list-style: none; }
.person { min-width: 0; }
.person .mono { aspect-ratio: 4 / 5; border: 1px solid var(--line); border-radius: 6px; background: var(--surface); position: relative; overflow: hidden; color: var(--text-2); margin-bottom: 1.1rem; }
.person .mono svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.person .mono .ini { position: absolute; left: 0; bottom: 0; font-family: var(--display); font-weight: 300; font-size: 2.6rem; line-height: 1; color: var(--text); background: var(--bg); padding: .55rem 1rem .4rem; border-top: 1px solid var(--line); border-right: 1px solid var(--line); border-radius: 0 6px 0 0; }
.people .mono { aspect-ratio: 1 / 1; }
.pl { stroke: currentColor; fill: none; stroke-width: 1; vector-effect: non-scaling-stroke; }
.mono .pl { opacity: .55; }
.person h3 { font-size: 1.55rem; font-weight: 300; margin-bottom: .25rem; }
.person .role { margin: 0 0 .7rem; color: var(--text-2); font-size: .95rem; }
.pin { display: inline-block; font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 600; border: 1px solid var(--line-strong); border-radius: 999px; padding: .3rem .75rem; color: var(--text); margin: 0 .4rem .4rem 0; }
.person-full { display: grid; gap: clamp(1.5rem, 4vw, 4rem); grid-template-columns: minmax(0, 1fr); padding-block: clamp(2.2rem, 4vw, 3.6rem); border-top: 1px solid var(--line); }
@media (min-width: 860px) { .person-full { grid-template-columns: minmax(0, .8fr) minmax(0, 1.4fr); } }
.person-full .mono { margin-bottom: 0; max-width: 340px; }
.person-full h2 { font-size: clamp(1.9rem, 1.4rem + 1.6vw, 2.8rem); margin-bottom: .4rem; }
.person-full .bio p { max-width: 58ch; color: var(--text-2); }
.person-full .bio p.first { color: var(--text); font-size: 1.15rem; }
.cred { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(180px, 100%), 1fr)); gap: 1rem 1.5rem; margin: 1.5rem 0 0; padding-top: 1.2rem; border-top: 1px solid var(--line); }
.cred dt { font-size: .66rem; letter-spacing: .16em; text-transform: uppercase; font-weight: 600; color: var(--text-2); }
.cred dd { margin: .15rem 0 0; font-size: .95rem; color: var(--text); }
.standards { display: grid; gap: clamp(1rem, 2.4vw, 2rem); grid-template-columns: repeat(auto-fit, minmax(min(250px, 100%), 1fr)); list-style: none; }
.standard { border-top: 1px solid var(--line-strong); padding-top: 1.2rem; }
.standard h3 { margin-bottom: .5rem; font-size: 1.35rem; font-weight: 300; }
.standard p { color: var(--text-2); margin: 0; font-size: .97rem; }

/* faq */
.faq-grid { display: grid; gap: 2.5rem clamp(2rem, 6vw, 7rem); grid-template-columns: minmax(0, 1fr); }
@media (min-width: 960px) { .faq-grid { grid-template-columns: minmax(0, .7fr) minmax(0, 1.3fr); } }
.faq-grid h2 { margin-bottom: 1rem; }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 1.5rem; min-height: 64px; padding: .9rem 0; font-family: var(--display); font-size: clamp(1.15rem, 1rem + .6vw, 1.45rem); font-weight: 300; color: var(--text); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 14px; height: 14px; background: linear-gradient(currentColor, currentColor) center / 100% 1px no-repeat, linear-gradient(currentColor, currentColor) center / 1px 100% no-repeat; transition: transform .5s var(--ease); }
.faq details[open] summary::after { transform: rotate(135deg); }
.faq .ans { padding: 0 0 1.5rem; max-width: 60ch; color: var(--text-2); }
.faq .ans p:last-child { margin-bottom: 0; }

/* cta + visit */
.cta { border-top: 1px solid var(--line-strong); }
.cta-grid { display: grid; gap: 3rem clamp(2rem, 6vw, 6rem); grid-template-columns: minmax(0, 1fr); }
@media (min-width: 960px) { .cta-grid { grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); } }
.cta h2 { font-size: clamp(2.4rem, 1.4rem + 4vw, 5rem); max-width: 14ch; margin-bottom: 1.5rem; }
.visit h3 { font-size: 1rem; font-family: var(--sans); font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--text-2); margin-bottom: .8rem; }
.hours { display: grid; grid-template-columns: auto 1fr; gap: .35rem 1.5rem; margin: 0 0 2rem; }
.hours dt { color: var(--text); font-weight: 500; }
.hours dd { margin: 0; color: var(--text-2); }
address { font-style: normal; color: var(--text); margin-bottom: 1.5rem; }

/* ---------- inner page heads ---------- */
.page-head { padding-block: clamp(3rem, 7vw, 7rem) clamp(2rem, 4vw, 4rem); }
.page-head h1 { max-width: 15ch; margin-bottom: 1.4rem; }
.page-head .lede { max-width: 52ch; }
.crumbs { margin-bottom: 2rem; }

/* treatments page */
.filters { display: flex; flex-wrap: wrap; gap: .5rem; margin: 0 0 2.2rem; padding: 0; list-style: none; }
.chip { min-height: 44px; padding: 0 1.2rem; border-radius: 999px; border: 1px solid var(--line-strong); background: transparent; color: var(--text); font-weight: 500; font-size: .92rem; cursor: pointer; transition: background .25s, border-color .25s; }
.chip:hover { border-color: var(--text); }
.chip[aria-pressed="true"] { background: var(--text); color: var(--bg); border-color: var(--text); }
html:not(.js) .filters { display: none; }
.lines-callout { display: grid; gap: 1.5rem 3rem; grid-template-columns: minmax(0, 1fr); border: 1px solid var(--line-strong); border-radius: 6px; padding: clamp(1.5rem, 3vw, 3rem); background: var(--surface); margin-bottom: clamp(3rem, 6vw, 5rem); scroll-margin-top: 100px; }
@media (min-width: 900px) { .lines-callout { grid-template-columns: minmax(0, 1.3fr) minmax(0, .7fr); align-items: center; } }
.lines-callout h2 { font-size: clamp(1.8rem, 1.3rem + 1.6vw, 2.7rem); margin-bottom: 1rem; }
.lines-callout .callout { font-size: clamp(1.15rem, 1rem + .6vw, 1.5rem); margin: 0; }
.lines-callout .side { padding-top: 0; }
.group { margin-bottom: clamp(3rem, 6vw, 5rem); }
.group[hidden] { display: none; }
.group > h2 { font-size: clamp(1.7rem, 1.3rem + 1.4vw, 2.5rem); margin-bottom: 1.4rem; padding-bottom: 1rem; border-bottom: 1px solid var(--line-strong); display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; }
.group > h2 small { font-family: var(--sans); font-size: .72rem; letter-spacing: .18em; text-transform: uppercase; font-weight: 600; color: var(--text-2); }
.item { display: grid; gap: 1.2rem clamp(1.5rem, 4vw, 4rem); grid-template-columns: minmax(0, 1fr); padding: clamp(1.6rem, 3vw, 2.6rem) 0; border-bottom: 1px solid var(--line); scroll-margin-top: 100px; transition: background .4s; }
@media (min-width: 900px) { .item { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr) 11rem; align-items: start; } }
.item:target { background: var(--hover-fill); box-shadow: -1rem 0 0 var(--hover-fill), 1rem 0 0 var(--hover-fill); }
.item h3 { font-size: clamp(1.5rem, 1.2rem + 1vw, 2.1rem); font-weight: 300; margin-bottom: .6rem; }
.item .desc { color: var(--text-2); max-width: 46ch; margin-bottom: .8rem; }
.item .good { font-size: .92rem; color: var(--text-2); margin: 0; max-width: 46ch; }
.item .good strong { color: var(--text); font-weight: 600; }
.item .facts { grid-template-columns: repeat(auto-fit, minmax(min(150px, 100%), 1fr)); }
.item .buy { display: flex; flex-direction: row; flex-wrap: wrap; gap: .8rem 1.2rem; align-items: center; justify-content: space-between; }
@media (min-width: 900px) { .item .buy { flex-direction: column; align-items: flex-end; text-align: right; } }
.price { font-family: var(--display); font-size: clamp(1.9rem, 1.4rem + 1.4vw, 2.6rem); line-height: 1; margin: 0; color: var(--text); font-weight: 300; }
.price small { display: block; font-family: var(--sans); font-size: .68rem; letter-spacing: .16em; font-weight: 600; text-transform: uppercase; color: var(--text-2); margin-bottom: .4rem; }
.price-note { font-size: .82rem; color: var(--text-2); margin: .4rem 0 0; }
.mini-table { width: 100%; border-collapse: collapse; margin-top: .6rem; max-width: 46ch; font-size: .95rem; }
.mini-table th, .mini-table td { text-align: left; padding: .45rem 0; border-top: 1px solid var(--line); font-weight: 400; }
.mini-table td { text-align: right; font-family: var(--display); font-size: 1.1rem; color: var(--text); }
.mini-table th { color: var(--text-2); }
.knows { display: grid; gap: 1.5rem clamp(1.5rem, 4vw, 3rem); grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr)); list-style: none; }
.knows li { border-top: 1px solid var(--line-strong); padding-top: 1rem; }
.knows h3 { font-size: 1.25rem; font-weight: 300; margin-bottom: .4rem; }
.knows p { color: var(--text-2); margin: 0; font-size: .97rem; }

/* ---------- booking ---------- */
.book-grid { display: grid; gap: 2.5rem clamp(2rem, 5vw, 5rem); grid-template-columns: minmax(0, 1fr); align-items: start; }
@media (min-width: 980px) { .book-grid { grid-template-columns: minmax(0, 1.5fr) minmax(0, .8fr); } }
.steps { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .6rem; margin-bottom: 2.4rem; counter-reset: st; }
.steps li { border-top: 2px solid var(--line); padding-top: .8rem; font-size: .72rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--text-2); transition: border-color .4s; display: flex; flex-direction: column; gap: .15rem; }
.steps li b { font-family: var(--display); font-size: 1.1rem; font-weight: 400; letter-spacing: 0; text-transform: none; color: var(--text-2); }
.steps li[aria-current="step"] { border-top-color: transparent; border-image: linear-gradient(90deg, var(--sheen-line-a), var(--sheen-line-b)) 1; color: var(--text); }
.steps li[aria-current="step"] b { color: var(--text); }
.steps li.is-done { border-top-color: var(--text); color: var(--text); }
.steps li.is-done b { color: var(--text); }
.step { border: 0; padding: 0; margin: 0; min-width: 0; }
.js .step[hidden] { display: none; }
html:not(.js) .step { margin-bottom: 3.5rem; }
.step h2 { font-size: clamp(1.8rem, 1.3rem + 1.6vw, 2.7rem); margin-bottom: .7rem; }
.step h2:focus { outline: none; }
.step > .lede { margin-bottom: 1.8rem; }
.concerns { display: grid; gap: .8rem; grid-template-columns: repeat(auto-fit, minmax(min(250px, 100%), 1fr)); margin: 0 0 1rem; padding: 0; border: 0; min-width: 0; }
.concern { position: relative; min-width: 0; }
.concern input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; z-index: 2; }
.concern label { display: block; height: 100%; padding: 1.2rem 1.3rem 1.3rem 3.3rem; border: 1px solid var(--line-strong); border-radius: 6px; background: var(--surface); cursor: pointer; transition: border-color .25s, background .25s; position: relative; }
.concern label::before { content: ""; position: absolute; left: 1.2rem; top: 1.4rem; width: 1.2rem; height: 1.2rem; border-radius: 50%; border: 1px solid var(--line-strong); background: var(--bg); transition: background .3s, border-color .3s; }
.concern label b { display: block; font-family: var(--display); font-size: 1.3rem; font-weight: 400; color: var(--text); margin-bottom: .25rem; line-height: 1.2; }
.concern label span { display: block; color: var(--text-2); font-size: .92rem; line-height: 1.5; }
.concern input:hover + label { border-color: var(--text); }
.concern input:checked + label { border-color: var(--text); background: var(--surface); box-shadow: inset 0 0 0 1px var(--text); }
.concern input:checked + label::before { background: var(--sheen); border-color: transparent; }
.concern input:focus-visible + label { outline: 2px solid var(--focus); outline-offset: 3px; }
.who { margin: 1.8rem 0 0; }
.field { margin-bottom: 1.3rem; min-width: 0; }
.field > label, .field > legend, fieldset.field > legend { display: block; font-size: .9rem; font-weight: 600; margin-bottom: .45rem; color: var(--text); padding: 0; }
.field .hint { display: block; font-weight: 400; color: var(--text-2); font-size: .85rem; margin-top: .1rem; }
fieldset.field { border: 0; padding: 0; margin: 0 0 1.3rem; min-width: 0; }
input[type="text"], input[type="email"], input[type="tel"], input[type="number"], select, textarea { width: 100%; min-height: 52px; padding: .75rem 1rem; border: 1px solid var(--line-strong); border-radius: 6px; background: var(--surface); color: var(--text); font: inherit; transition: border-color .25s; }
textarea { min-height: 110px; resize: vertical; }
input:hover, select:hover, textarea:hover { border-color: var(--text); }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: var(--err); box-shadow: 0 0 0 1px var(--err); }
.err { display: none; color: var(--err); font-size: .88rem; margin-top: .4rem; font-weight: 500; }
.field.has-error .err, .has-error > .err, .err.show { display: block; }
html:not(.js) [data-next], html:not(.js) [data-back], html:not(.js) .steps, html:not(.js) .step .btn[type="submit"] { display: none; }
.dob { display: grid; grid-template-columns: 5rem 5rem 7rem; gap: .6rem; }
.dob label { font-size: .75rem; font-weight: 500; color: var(--text-2); display: block; margin-bottom: .25rem; }
.row2 { display: grid; gap: 0 1.2rem; grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); }
.checks { display: grid; gap: .2rem; }
.check { display: flex; gap: .8rem; align-items: flex-start; min-height: 44px; padding: .45rem 0; cursor: pointer; line-height: 1.45; }
.check input { flex: none; width: 1.3rem; height: 1.3rem; margin: .12rem 0 0; accent-color: var(--text); cursor: pointer; }
.check span { color: var(--text); font-size: .97rem; }
.box { border: 1px solid var(--line); border-radius: 6px; padding: 1.2rem 1.3rem; background: var(--surface); margin-bottom: 1.5rem; }
.box p { margin: 0; font-size: .93rem; color: var(--text-2); }
.box strong { color: var(--text); }
.btnrow { display: flex; flex-wrap: wrap; align-items: center; gap: .8rem 1.4rem; margin-top: 2rem; }
.btn-back { background: transparent; border: 0; padding: 0; min-height: 44px; font-weight: 600; cursor: pointer; text-decoration: underline; text-underline-offset: .22em; text-decoration-thickness: 1px; color: var(--text); }
.err-sum { display: none; border: 1px solid var(--err); border-radius: 6px; padding: 1rem 1.2rem; margin-bottom: 1.5rem; color: var(--text); }
.err-sum.is-on { display: block; }
.err-sum p { margin: 0 0 .4rem; font-weight: 600; }
.err-sum ul { margin: 0; padding-left: 1.2rem; }
.err-sum a { color: var(--err); }
.days { display: grid; grid-template-columns: repeat(auto-fill, minmax(5.4rem, 1fr)); gap: .5rem; margin: 0 0 1.8rem; padding: 0; border: 0; min-width: 0; }
.slot { position: relative; min-width: 0; }
.slot input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; margin: 0; cursor: pointer; z-index: 2; }
.slot label { display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 58px; padding: .4rem .3rem; border: 1px solid var(--line-strong); border-radius: 6px; background: var(--surface); text-align: center; line-height: 1.2; cursor: pointer; transition: background .25s, border-color .25s, color .25s; }
.slot label small { font-size: .66rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 600; color: var(--text-2); }
.slot label b { font-family: var(--display); font-weight: 400; font-size: 1.15rem; color: var(--text); }
.slot input:hover + label { border-color: var(--text); }
.slot input:checked + label { background: var(--text); border-color: var(--text); }
.slot input:checked + label b, .slot input:checked + label small { color: var(--bg); }
.slot input:focus-visible + label { outline: 2px solid var(--focus); outline-offset: 3px; }
.slot input:disabled { cursor: not-allowed; }
.slot input:disabled + label { opacity: .4; cursor: not-allowed; text-decoration: line-through; background: transparent; }
.times { grid-template-columns: repeat(auto-fill, minmax(6.2rem, 1fr)); }
.times .slot label { min-height: 48px; }
.times .slot label b { font-family: var(--sans); font-size: .95rem; font-weight: 600; }
.nojs-only { display: none; }
html:not(.js) .nojs-only { display: block; }
html:not(.js) .js-only { display: none; }
.summary { position: sticky; top: calc(var(--header-h) + 1.5rem); border: 1px solid var(--line-strong); border-radius: 6px; padding: 1.6rem; background: var(--surface); box-shadow: var(--shadow); }
.summary h2 { font-size: 1.5rem; margin-bottom: 1rem; }
.summary dl { margin: 0 0 1.2rem; }
.summary dl > div { padding: .7rem 0; border-top: 1px solid var(--line); }
.summary dt { font-size: .66rem; letter-spacing: .16em; text-transform: uppercase; font-weight: 600; color: var(--text-2); }
.summary dd { margin: .15rem 0 0; color: var(--text); font-size: .98rem; }
.summary dd.empty { color: var(--text-2); }
.summary .fine { font-size: .82rem; color: var(--text-2); margin: 0; line-height: 1.5; }
.success { border: 1px solid var(--line-strong); border-radius: 6px; padding: clamp(1.5rem, 3vw, 3rem); background: var(--surface); }
.success[hidden] { display: none; }
.success h2 { font-size: clamp(2rem, 1.4rem + 2vw, 3.2rem); margin-bottom: 1rem; }
.success h2:focus { outline: none; }
.success .ref { display: inline-block; font-family: var(--display); font-size: 1.4rem; letter-spacing: .06em; padding: .4rem 1rem; border: 1px solid var(--line-strong); border-radius: 999px; margin: .4rem 0 1.4rem; }
.success ol { padding-left: 1.2rem; color: var(--text-2); max-width: 52ch; }
.success li { margin-bottom: .5rem; }
.demo-note { font-size: .85rem; color: var(--text-2); border: 1px dashed var(--line-strong); border-radius: 6px; padding: .8rem 1rem; margin-top: 1.5rem; }

/* prose (accessibility) */
.prose { max-width: 70ch; }
.prose h2 { font-size: clamp(1.6rem, 1.3rem + 1vw, 2.2rem); margin: 3rem 0 1rem; }
.prose h3 { margin: 2rem 0 .6rem; }
.prose p, .prose li { color: var(--text-2); }
.prose ul { padding-left: 1.2rem; margin-bottom: 1.2rem; }
.prose li { margin-bottom: .5rem; }
.prose strong { color: var(--text); }

/* ---------- footer ---------- */
.site-footer { border-top: 1px solid var(--line-strong); margin-top: 0; padding-top: clamp(3rem, 6vw, 5rem); }
.foot-grid { display: grid; gap: 2.5rem; grid-template-columns: repeat(auto-fit, minmax(min(210px, 100%), 1fr)); padding-bottom: 3rem; }
.foot-grid > :first-child { grid-column: span 1; }
@media (min-width: 1000px) { .foot-grid { grid-template-columns: 1.4fr 1fr 1fr 1.2fr; } }
.site-footer h2 { font-family: var(--sans); font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; font-weight: 600; color: var(--text-2); margin-bottom: 1rem; }
.site-footer ul { list-style: none; }
.site-footer li { margin-bottom: .1rem; }
.site-footer a { text-decoration: none; display: inline-block; padding: .35rem 0; min-height: 32px; }
.site-footer a.brand { display: inline-flex; padding: 0; }
.site-footer a:hover { text-decoration: underline; }
.foot-brand p { color: var(--text-2); max-width: 30ch; margin-top: 1rem; font-size: .97rem; }
.badges { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.2rem; }
.badge { display: inline-flex; align-items: center; gap: .45rem; font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; font-weight: 600; border: 1px solid var(--line-strong); border-radius: 999px; padding: .35rem .8rem; color: var(--text); }
.badge svg { width: 12px; height: 12px; }
.legal { border-top: 1px solid var(--line); padding: 1.6rem 0 5rem; font-size: .8rem; line-height: 1.6; color: var(--text-2); }
.legal p { margin: 0 0 .6rem; max-width: 100ch; }
.legal .row { display: flex; flex-wrap: wrap; gap: .3rem 1.6rem; margin-top: 1rem; }
.legal a { padding: .4rem 0; display: inline-block; min-height: 32px; }

.demo-pill { position: fixed; left: 12px; bottom: 12px; z-index: 40; font-size: .68rem; letter-spacing: .08em; font-weight: 600; background: var(--text); color: var(--bg); padding: .4rem .8rem; border-radius: 999px; text-decoration: none; opacity: .92; line-height: 1.2; }
.demo-pill:hover { opacity: 1; }
.to-top { position: fixed; right: 14px; bottom: 14px; z-index: 40; width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line-strong); background: var(--bg); color: var(--text); display: grid; place-items: center; cursor: pointer; opacity: 0; transform: translate3d(0, 12px, 0); pointer-events: none; transition: opacity .35s, transform .45s var(--ease); box-shadow: var(--shadow); }
.to-top.is-on { opacity: 1; transform: none; pointer-events: auto; }
.to-top svg { width: 18px; height: 18px; }

/* reveal on scroll */
@media (prefers-reduced-motion: no-preference) {
  .js [data-reveal] { opacity: 0; transform: translate3d(0, 24px, 0); transition: opacity 1s var(--ease), transform 1s var(--ease); transition-delay: var(--d, 0s); }
  .js [data-reveal].is-in, .reveal-fallback [data-reveal] { opacity: 1; transform: none; }
}

@media print {
  .to-top, .demo-pill, .site-header .bar-actions, .nav-toggle, body::before { display: none !important; }
  .site-header { position: static; }
  body { background: #fff; color: #000; }
}

/* demo pill tucks away while reading */
.demo-pill{transition:opacity .3s ease,transform .3s ease,visibility .3s}
.demo-pill.is-away{opacity:0;visibility:hidden;transform:translateY(8px);pointer-events:none}
.site-footer { padding-bottom: 4.5rem; }
