/* Drilona Sculpt & Glow Studio — "Gilt Noir" */
:root {
  /* "Blush Atelier": colours taken from the Drilona logo (blush paper, soft gold script) */
  --noir: #fbf4ef;          /* page ground: the logo's blush paper */
  --noir-2: #f6ece5;
  --noir-3: #efe2d9;
  --gilt: #a8875a;          /* the logo gold: script, rules, large italics only */
  --gold: #7a5d38;          /* deep gold: small accent text, prices (5.6:1) */
  --gold-hi: #5c4528;
  --btn: #2b221a;
  --cream: #f3e5db;
  --ivory: #fbf4ef;
  --bronze: #7a5d38;
  --ink: #2b221a;
  --on-noir: #2b221a;
  --on-noir-muted: #6b5a48;
  --on-cream-muted: #6b5a48;
  --rule-noir: rgba(168, 135, 90, .32);
  --rule-cream: rgba(122, 93, 56, .26);
  --glass: rgba(251, 244, 239, .9);
  --display: "Bodoni Moda", "Didot", "Bodoni 72", serif;
  --body: "Jost", "Avenir Next", "Avenir", sans-serif;
  --gutter: clamp(16px, 4.2vw, 64px);
  --max: 1320px;
  --ease: cubic-bezier(.16, 1, .3, 1);
  color-scheme: light;
}
/* espresso bands (founder, footer): same tokens, re-scoped */
.dark {
  --noir: #2b221a; --noir-2: #342a21; --noir-3: #3d3127;
  --gilt: #e0c8a0; --gold: #e0c8a0; --gold-hi: #f0dcb8; --btn: #e0c8a0;
  --on-noir: #f6ece5; --on-noir-muted: #b9a894; --rule-noir: rgba(224, 200, 160, .24);
  --glass: rgba(43, 34, 26, .9);
  background: var(--noir); color: var(--on-noir); color-scheme: dark;
}
.dark ::selection { background: var(--ink); color: var(--noir); }
h1 em, h2 em { color: var(--gilt) !important; }
.dark h1 em, .dark h2 em { color: var(--gilt) !important; }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0; background: var(--noir); color: var(--on-noir);
  font: 300 1.0625rem/1.7 var(--body); letter-spacing: .005em;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .22em; }
::selection { background: var(--gold); color: var(--noir); }
:focus-visible { outline: 1.5px solid var(--gold); outline-offset: 3px; }
html { scrollbar-color: var(--bronze) var(--noir); }
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--noir); }
::-webkit-scrollbar-thumb { background: var(--bronze); border: 2px solid var(--noir); border-radius: 10px; }
input, select, textarea, button { font: inherit; color: inherit; }
.tnum { font-variant-numeric: lining-nums tabular-nums; }
.vh { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--gold); color: var(--noir); padding: 10px 16px; text-decoration: none; }
.skip:focus { top: 12px; }

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

/* ---------- type ---------- */
h1, h2, h3, .display { font-family: var(--display); font-weight: 400; line-height: 1.02; letter-spacing: -.02em; margin: 0; text-wrap: balance; font-optical-sizing: auto; }
h1 { font-size: clamp(2.9rem, 7.4vw, 6rem); }
h2 { font-size: clamp(2.2rem, 4.6vw, 4rem); }
h3 { font-size: clamp(1.45rem, 2.2vw, 1.9rem); line-height: 1.12; letter-spacing: -.01em; }
h1 em, h2 em, h3 em { font-style: italic; color: var(--gold); }
.on-cream h1 em, .on-cream h2 em, .on-cream h3 em, .on-ivory h1 em, .on-ivory h2 em, .on-ivory h3 em { color: var(--bronze); }
p { margin: 0 0 1.1em; max-width: 66ch; }
.lede { font-size: clamp(1.1rem, 1.5vw, 1.3rem); line-height: 1.6; color: var(--on-noir-muted); }
.on-cream .lede, .on-ivory .lede { color: var(--on-cream-muted); }
.small { font-size: .875rem; }
.caps { font-family: var(--body); font-weight: 400; font-size: .75rem; letter-spacing: .24em; text-transform: uppercase; }

/* ---------- logo ---------- */
.mark { display: inline-block; line-height: 0; }
.mark img { width: 196px; height: auto; }

/* ---------- buttons ---------- */
.btn { --b: var(--btn); display: inline-flex; align-items: center; justify-content: center; gap: .6em; min-height: 50px; padding: 0 1.6em; border: 1px solid var(--b); background: var(--b); color: var(--noir); text-decoration: none; font: 400 .78rem/1 var(--body); letter-spacing: .2em; text-transform: uppercase; cursor: pointer; transition: background .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease), transform .35s var(--ease); white-space: nowrap; }
.btn:hover { background: var(--gold); border-color: var(--gold); color: var(--noir); }
.dark .btn:hover { background: var(--gold-hi); border-color: var(--gold-hi); }
.btn:active { transform: translateY(1px); }
.btn svg { width: 15px; height: 15px; transition: transform .35s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn.ghost { background: transparent; color: var(--on-noir); border-color: var(--rule-noir); }
.btn.ghost:hover { border-color: var(--gold); color: var(--gold); }
.on-cream .btn.ghost { color: var(--ink); border-color: var(--rule-cream); }
.on-cream .btn.ghost:hover { border-color: var(--ink); color: var(--ink); }
.on-cream .btn { --b: var(--ink); color: var(--ivory); }
.on-cream .btn:hover { background: var(--bronze); border-color: var(--bronze); }
.btn[disabled] { opacity: .45; cursor: not-allowed; }
.link { display: inline-flex; align-items: center; gap: .5em; color: var(--gold); text-decoration: none; font: 400 .78rem/1 var(--body); letter-spacing: .2em; text-transform: uppercase; padding: .4em 0; border-bottom: 1px solid var(--rule-noir); transition: border-color .3s; }
.link:hover { border-color: var(--gold); }
.link svg { width: 14px; height: 14px; transition: transform .3s var(--ease); }
.link:hover svg { transform: translateX(3px); }
.on-cream .link { color: var(--ink); border-color: var(--rule-cream); }
.on-cream .link:hover { border-color: var(--ink); }

/* ---------- header ---------- */
.hdr { position: fixed; inset: 0 0 auto; z-index: 50; transition: background .4s var(--ease), border-color .4s; border-bottom: 1px solid transparent; }
.hdr.solid { background: var(--glass); -webkit-backdrop-filter: blur(14px) saturate(1.2); backdrop-filter: blur(14px) saturate(1.2); border-color: var(--rule-noir); }
.hdr .wrap { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; height: 84px; }
.hdr nav { display: flex; gap: 2.2rem; }
.hdr nav a { text-decoration: none; font: 400 .74rem/1 var(--body); letter-spacing: .22em; text-transform: uppercase; color: var(--on-noir); opacity: .82; padding: .6em 0; position: relative; }
.hdr nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .45s var(--ease); }
.hdr nav a:hover, .hdr nav a[aria-current] { opacity: 1; }
.hdr nav a:hover::after, .hdr nav a[aria-current]::after { transform: scaleX(1); }
.hdr .mark { justify-self: center; }
.hdr .act { justify-self: end; display: flex; align-items: center; gap: 1.2rem; }
.hdr .tel { text-decoration: none; font-size: .9rem; color: var(--on-noir-muted); display: inline-flex; align-items: center; gap: .5em; }
.hdr .tel:hover { color: var(--gold); }
.hdr .tel svg { width: 15px; height: 15px; }
.hdr .btn { min-height: 44px; padding: 0 1.3em; }
.menu-btn { display: none; background: none; border: 0; width: 44px; height: 44px; padding: 0; cursor: pointer; }
.menu-btn i { display: block; width: 24px; height: 1px; background: var(--on-noir); margin: 6px auto; transition: transform .4s var(--ease); }
.menu-open .menu-btn i:first-child { transform: translateY(3.5px) rotate(45deg); }
.menu-open .menu-btn i:last-child { transform: translateY(-3.5px) rotate(-45deg); }
.sheet { position: fixed; inset: 0; z-index: 49; background: var(--noir); display: flex; flex-direction: column; justify-content: center; padding: 100px var(--gutter) 40px; opacity: 0; visibility: hidden; transition: opacity .45s var(--ease), visibility .45s; }
.menu-open .sheet { opacity: 1; visibility: visible; }
.sheet a.big { font: 400 clamp(2.4rem, 10vw, 3.6rem)/1.15 var(--display); text-decoration: none; display: block; padding: .1em 0; }
.sheet a.big:hover { color: var(--gold); font-style: italic; }
.sheet .foot { margin-top: 2.5rem; display: grid; gap: .5rem; color: var(--on-noir-muted); }
.sheet .foot a { text-decoration: none; }
@media (max-width: 960px) {
  .hdr .wrap { grid-template-columns: auto 1fr auto; height: 70px; gap: 12px; }
  .hdr nav, .hdr .tel { display: none; }
  .hdr .mark { justify-self: start; grid-column: 1; grid-row: 1; }
  .hdr .act { grid-column: 3; gap: .5rem; }
  .menu-btn { display: block; }
  .mark img { width: 142px; }
}
@media (max-width: 380px) { .hdr .btn { padding: 0 1em; letter-spacing: .14em; } }

/* ---------- sections ---------- */
section { position: relative; }
.pad { padding: clamp(80px, 11vw, 168px) 0; }
.pad-s { padding: clamp(56px, 7vw, 104px) 0; }
.on-cream { background: var(--cream); color: var(--ink); color-scheme: light; }
.on-ivory { background: var(--ivory); color: var(--ink); color-scheme: light; }
.on-cream ::selection, .on-ivory ::selection { background: var(--ink); color: var(--ivory); }
.rule { height: 1px; background: var(--rule-noir); border: 0; margin: 0; }
.on-cream .rule { background: var(--rule-cream); }
.sec-head { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 2rem 4rem; align-items: end; margin-bottom: clamp(48px, 6vw, 88px); }
.sec-head p { margin: 0; }
@media (max-width: 860px) { .sec-head { grid-template-columns: 1fr; } }

/* ---------- home hero ---------- */
.hero { min-height: 100svh; padding: 132px 0 64px; display: flex; align-items: center; overflow: clip; }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(32px, 5vw, 88px); align-items: center; }
.hero h1 { font-size: clamp(3.1rem, 7.6vw, 6rem); line-height: .96; letter-spacing: -.03em; }
.hero h1 .ln { display: block; overflow: hidden; padding-bottom: .06em; }
.hero h1 .ln > span { display: inline-block; }
.hero .lede { margin: 1.8rem 0 2.2rem; max-width: 44ch; }
.hero-figure { position: relative; margin: 0; aspect-ratio: 4 / 5; }
.hero-figure .frame { position: absolute; inset: -18px 18px 18px -18px; border: 1px solid var(--rule-noir); pointer-events: none; }
.hero-figure .ph { position: absolute; inset: 0; overflow: hidden; }
.hero-figure img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 35%; }
.hero-figure figcaption { position: absolute; left: -18px; bottom: -44px; font-size: .8rem; color: var(--on-noir-muted); letter-spacing: .04em; }
@media (max-width: 900px) {
  .hero { min-height: 0; padding-top: 104px; }
  .hero .wrap { grid-template-columns: 1fr; }
  .hero-figure { order: -1; aspect-ratio: 5 / 4; margin: 0 0 8px 18px; }
  .hero-figure img { object-position: 50% 30%; }
  .hero-figure figcaption { display: none; }
}

/* authored moment: the hero arrives */
@media (prefers-reduced-motion: no-preference) {
  .js .hero h1 .ln > span { transform: translateY(105%); filter: blur(6px); transition: transform 1.3s var(--ease), filter 1.3s var(--ease); }
  .js .hero h1 .ln:nth-child(2) > span { transition-delay: .12s; }
  .js .hero h1 .ln:nth-child(3) > span { transition-delay: .24s; }
  .js .hero .ph { clip-path: inset(100% 0 0 0); transition: clip-path 1.6s var(--ease) .15s; }
  .js .hero .ph img { transform: scale(1.12); transition: transform 2.4s var(--ease) .15s; }
  .js .hero .frame { opacity: 0; transform: translate(12px, -12px); transition: opacity 1.2s var(--ease) .9s, transform 1.2s var(--ease) .9s; }
  .js .hero .fade { opacity: 0; transform: translateY(14px); transition: opacity 1s var(--ease) .55s, transform 1s var(--ease) .55s; }
  .js.ready .hero h1 .ln > span { transform: none; filter: none; }
  .js.ready .hero .ph { clip-path: inset(0 0 0 0); }
  .js.ready .hero .ph img { transform: none; }
  .js.ready .hero .frame { opacity: 1; transform: none; }
  .js.ready .hero .fade { opacity: 1; transform: none; }
}

/* ---------- live booker ---------- */
.booker { border: 1px solid var(--rule-noir); background: #fffaf6; padding: 22px; max-width: 560px; }
.booker-row { display: grid; grid-template-columns: 1fr auto; gap: 12px; }
.sel { position: relative; }
.sel select { appearance: none; -webkit-appearance: none; width: 100%; min-height: 50px; background: var(--noir); border: 1px solid var(--rule-noir); padding: 0 44px 0 16px; color: var(--on-noir); cursor: pointer; border-radius: 0; }
.sel select:hover { border-color: var(--gold); }
.sel::after { content: ""; position: absolute; right: 18px; top: 50%; width: 8px; height: 8px; border-right: 1px solid var(--gold); border-bottom: 1px solid var(--gold); transform: translateY(-70%) rotate(45deg); pointer-events: none; }
.sel select option { background: var(--noir-2); }
.slots { margin-top: 16px; min-height: 66px; }
.slots-label { font-size: .85rem; color: var(--on-noir-muted); margin: 0 0 10px; display: flex; justify-content: space-between; gap: 1rem; }
.slots-label strong { color: var(--on-noir); font-weight: 400; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { display: inline-flex; align-items: center; min-height: 40px; padding: 0 14px; border: 1px solid var(--rule-noir); text-decoration: none; font-size: .92rem; font-variant-numeric: tabular-nums; transition: border-color .25s, background .25s, color .25s; }
.chip:hover { border-color: var(--gold); background: var(--gold); color: var(--noir); }
.chips .sk { width: 66px; height: 40px; border: 1px solid var(--rule-noir); background: linear-gradient(90deg, transparent, rgba(168,135,90,.16), transparent) 0 0 / 200% 100%; animation: sk 1.4s linear infinite; }
@keyframes sk { to { background-position: -200% 0; } }
.booker-foot { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--rule-noir); display: flex; flex-wrap: wrap; gap: 8px 20px; align-items: center; justify-content: space-between; font-size: .85rem; color: var(--on-noir-muted); }
.booker-foot a { color: var(--on-noir); }
.booker-foot a:hover { color: var(--gold); }
@media (max-width: 520px) { .booker { padding: 16px; } .booker-row { grid-template-columns: 1fr; } .booker-row .btn { width: 100%; } }

/* ---------- rituals (home) ---------- */
.ritual { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 5vw, 96px); padding: clamp(48px, 6vw, 88px) 0; border-top: 1px solid var(--rule-noir); align-items: start; }
.ritual:last-child { border-bottom: 1px solid var(--rule-noir); }
.ritual-fig { margin: 0; aspect-ratio: 4 / 5; overflow: hidden; position: sticky; top: 110px; }
.ritual-fig img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
.ritual:hover .ritual-fig img { transform: scale(1.04); }
.ritual h3 { font-size: clamp(2.2rem, 4.2vw, 3.6rem); line-height: 1; letter-spacing: -.025em; margin-bottom: 1.4rem; }
.ritual .lede { margin-bottom: 1rem; color: var(--on-noir); }
.ritual p.body { color: var(--on-noir-muted); }
@media (max-width: 860px) {
  .ritual { grid-template-columns: 1fr; }
  .ritual-fig { position: relative; top: 0; aspect-ratio: 16 / 10; }
}

/* menu rows: name ....... from £x  → */
.menu { list-style: none; margin: 2rem 0 0; padding: 0; border-top: 1px solid var(--rule-noir); }
.menu li { border-bottom: 1px solid var(--rule-noir); }
.menu a.row { display: grid; grid-template-columns: auto 1fr auto 22px; align-items: baseline; gap: 14px; padding: 18px 0; text-decoration: none; transition: padding .45s var(--ease), color .3s; }
.menu a.row .nm { font: 400 clamp(1.25rem, 1.8vw, 1.55rem)/1.2 var(--display); }
.menu a.row .dots { border-bottom: 1px dotted var(--rule-noir); transform: translateY(-4px); min-width: 20px; }
.menu a.row .pr { font-size: .95rem; color: var(--on-noir-muted); white-space: nowrap; }
.menu a.row .pr b { color: var(--gold); font-weight: 400; font-size: 1.05rem; }
.menu a.row svg { width: 16px; height: 16px; color: var(--gold); align-self: center; transition: transform .4s var(--ease); }
.menu a.row:hover { padding-left: 10px; }
.menu a.row:hover .nm { color: var(--gold); font-style: italic; }
.menu a.row:hover svg { transform: translateX(4px); }
@media (max-width: 520px) { .menu a.row { grid-template-columns: 1fr auto 18px; } .menu a.row .dots { display: none; } }

/* ---------- founder ---------- */
.founder .wrap { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 112px); align-items: center; }
.founder figure { margin: 0; position: relative; }
.founder figure img { aspect-ratio: 4 / 5; object-fit: cover; width: 100%; }
.founder blockquote { margin: 0 0 2rem; font: 400 clamp(2rem, 3.9vw, 3.4rem)/1.12 var(--display); letter-spacing: -.02em; text-wrap: balance; }
.founder blockquote em { color: var(--bronze); }
.founder .who { font-size: .95rem; color: var(--on-cream-muted); margin-bottom: 2rem; }
@media (max-width: 860px) { .founder .wrap { grid-template-columns: 1fr; } .founder figure { max-width: 440px; } }

/* ---------- testimonials ---------- */
.voices { text-align: center; }
.voices .q { min-height: 15rem; display: grid; place-items: center; }
.voices blockquote { margin: 0 auto; max-width: 22ch; font: 400 clamp(1.9rem, 4vw, 3.4rem)/1.14 var(--display); letter-spacing: -.02em; text-wrap: balance; }
.voices .panel { grid-area: 1 / 1; transition: opacity .7s var(--ease), transform .7s var(--ease), filter .7s var(--ease); }
.voices .panel[hidden] { display: block; opacity: 0; transform: translateY(10px); filter: blur(4px); pointer-events: none; visibility: hidden; }
.voices .panel figcaption { margin-top: 1.6rem; font-size: .95rem; color: var(--on-noir-muted); }
.voices .panel figcaption b { color: var(--gold); font-weight: 400; font-style: italic; font-family: var(--display); font-size: 1.15rem; }
.voices .tabs { display: inline-flex; gap: 6px; margin-top: 3rem; border: 1px solid var(--rule-noir); padding: 5px; flex-wrap: wrap; justify-content: center; }
.voices .tabs button { background: none; border: 0; min-height: 44px; padding: 0 18px; cursor: pointer; color: var(--on-noir-muted); font-size: .9rem; transition: background .3s, color .3s; }
.voices .tabs button[aria-selected="true"] { background: var(--gold); color: var(--noir); }
.voices .tabs button:hover:not([aria-selected="true"]) { color: var(--on-noir); }
.voices .src { margin-top: 1.4rem; font-size: .85rem; color: var(--on-noir-muted); }

/* ---------- studio mosaic ---------- */
.mosaic { display: grid; grid-template-columns: repeat(12, 1fr); grid-auto-rows: clamp(80px, 9vw, 130px); gap: clamp(8px, 1.2vw, 16px); }
.mosaic figure { margin: 0; overflow: hidden; position: relative; }
.mosaic img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.mosaic figure:hover img { transform: scale(1.05); }
.mosaic figcaption { position: absolute; left: 0; bottom: 0; padding: 10px 12px; font-size: .78rem; letter-spacing: .06em; color: var(--ivory); background: linear-gradient(0deg, rgba(10,9,7,.7), transparent); width: 100%; opacity: 0; transition: opacity .4s; }
.mosaic figure:hover figcaption { opacity: 1; }
.m1 { grid-column: 1 / 6; grid-row: span 4; }
.m2 { grid-column: 6 / 10; grid-row: span 2; }
.m3 { grid-column: 10 / 13; grid-row: span 3; }
.m4 { grid-column: 6 / 10; grid-row: span 2; }
.m5 { grid-column: 10 / 13; grid-row: span 1; }
@media (max-width: 760px) {
  .mosaic { grid-template-columns: 1fr 1fr; grid-auto-rows: 150px; }
  .m1 { grid-column: 1 / 3; grid-row: span 2; } .m2, .m3, .m4, .m5 { grid-column: auto; grid-row: span 1; }
  .m5 { display: none; }
  .mosaic figcaption { opacity: 1; }
}
/* extra studio photos added from the booking app (rendered by the server under the mosaic) */
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr)); gap: clamp(8px, 1.2vw, 16px); margin-top: clamp(8px, 1.2vw, 16px); }
.gallery figure { margin: 0; overflow: hidden; position: relative; aspect-ratio: 4 / 3; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.gallery figure:hover img { transform: scale(1.05); }
.gallery figcaption { position: absolute; left: 0; bottom: 0; padding: 10px 12px; font-size: .78rem; letter-spacing: .06em; color: var(--ivory); background: linear-gradient(0deg, rgba(10,9,7,.7), transparent); width: 100%; opacity: 0; transition: opacity .4s; }
.gallery figure:hover figcaption { opacity: 1; }
@media (max-width: 760px) { .gallery { grid-template-columns: 1fr 1fr; } .gallery figure { aspect-ratio: 1; } .gallery figcaption { opacity: 1; } }

/* ---------- visit ---------- */
.visit .wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); }
.visit h2 { margin-bottom: 2rem; }
.addr { font: 400 clamp(1.5rem, 2.4vw, 2rem)/1.25 var(--display); margin-bottom: 1.6rem; }
.addr a { text-decoration: none; }
.addr a:hover { color: var(--gold); }
.contact-lines { display: grid; gap: .35rem; margin-bottom: 2rem; }
.contact-lines a { text-decoration: none; color: var(--on-noir-muted); display: inline-flex; gap: .7em; align-items: center; width: fit-content; }
.contact-lines a:hover { color: var(--gold); }
.contact-lines svg { width: 16px; height: 16px; color: var(--gold); flex: none; }
.hours { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; margin-bottom: 2rem; }
.hours th, .hours td { text-align: left; padding: 11px 0; border-bottom: 1px solid var(--rule-noir); font-weight: 300; }
.hours td { text-align: right; color: var(--on-noir-muted); }
.hours tr.today th, .hours tr.today td { color: var(--gold); }
.hours tr.today th::after { content: " · today"; font-size: .8rem; letter-spacing: .04em; }
.map { position: relative; min-height: 420px; border: 1px solid var(--rule-noir); overflow: hidden; background: var(--noir-2); }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: grayscale(1) sepia(.28) contrast(.96); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
@media (max-width: 860px) { .visit .wrap { grid-template-columns: 1fr; } .map { min-height: 320px; } }

/* ---------- footer ---------- */
.ftr { border-top: 1px solid var(--rule-noir); padding: clamp(64px, 8vw, 120px) 0 32px; }
.ftr .top { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 40px; }
.ftr .mark img { width: clamp(220px, 22vw, 300px); }
.ftr h2 { font: 400 .74rem/1 var(--body); letter-spacing: .24em; text-transform: uppercase; color: var(--gold); margin-bottom: 1.2rem; }
.ftr ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .5rem; }
.ftr a { text-decoration: none; color: var(--on-noir-muted); }
.ftr a:hover { color: var(--on-noir); }
.ftr .base { margin-top: 64px; padding-top: 24px; border-top: 1px solid var(--rule-noir); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: .82rem; color: var(--on-noir-muted); }
.ftr .base a { color: var(--on-noir-muted); }
@media (max-width: 900px) { .ftr .top { grid-template-columns: 1fr 1fr; } .ftr .top > :first-child { grid-column: 1 / -1; } }
@media (max-width: 480px) { .ftr .top { grid-template-columns: 1fr; } }

/* ---------- inner page hero ---------- */
.phero { padding: clamp(140px, 17vw, 220px) 0 clamp(56px, 7vw, 96px); }
.phero h1 { max-width: 14ch; }
.phero .lede { margin-top: 1.6rem; max-width: 52ch; }
.crumbs { display: flex; gap: .6em; font-size: .82rem; color: var(--on-noir-muted); margin-bottom: 2rem; list-style: none; padding: 0; flex-wrap: wrap; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--gold); }
.crumbs li + li::before { content: "/"; margin-right: .6em; opacity: .5; }

/* ---------- treatments menu page ---------- */
.catnav { position: sticky; top: 84px; z-index: 20; background: var(--glass); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border-block: 1px solid var(--rule-noir); }
.catnav .wrap { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; padding-block: 10px; }
.catnav .wrap::-webkit-scrollbar { display: none; }
.catnav a { flex: none; text-decoration: none; min-height: 40px; display: inline-flex; align-items: center; padding: 0 16px; font-size: .9rem; color: var(--on-noir-muted); border: 1px solid transparent; transition: color .3s, border-color .3s; }
.catnav a:hover { color: var(--on-noir); }
.catnav a.on { color: var(--gold); border-color: var(--rule-noir); }
@media (max-width: 960px) { .catnav { top: 70px; } }
.cat { padding: clamp(64px, 8vw, 120px) 0 0; scroll-margin-top: 150px; }
.cat > .wrap > header { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 2rem 4rem; align-items: end; margin-bottom: 2.4rem; }
.cat > .wrap > header p { margin: 0; color: var(--on-noir-muted); }
@media (max-width: 860px) { .cat > .wrap > header { grid-template-columns: 1fr; } }
.svc { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 1.2rem 4rem; padding: 34px 0; border-top: 1px solid var(--rule-noir); }
.svc:last-child { border-bottom: 1px solid var(--rule-noir); }
.svc h3 { margin-bottom: .6rem; }
.svc h3 a { text-decoration: none; }
.svc h3 a:hover { color: var(--gold); font-style: italic; }
.svc .desc { color: var(--on-noir-muted); font-size: .98rem; margin-bottom: 1rem; }
.svc .acts { display: flex; flex-wrap: wrap; gap: 10px 20px; align-items: center; }
.svc .acts .btn { min-height: 44px; }
.prices { list-style: none; margin: 0; padding: 0; }
.prices li { display: grid; grid-template-columns: auto 1fr auto auto; gap: 12px; align-items: baseline; padding: 10px 0; }
.prices li + li { border-top: 1px solid rgba(168,135,90,.16); }
.prices .n { font-size: 1rem; }
.prices .d { border-bottom: 1px dotted var(--rule-noir); transform: translateY(-4px); }
.prices .t { font-size: .85rem; color: var(--on-noir-muted); white-space: nowrap; }
.prices .p { color: var(--gold); font-variant-numeric: lining-nums tabular-nums; min-width: 4.5ch; text-align: right; }
@media (max-width: 860px) { .svc { grid-template-columns: 1fr; } }
@media (max-width: 420px) { .prices li { grid-template-columns: 1fr auto; } .prices .d { display: none; } .prices .t { grid-column: 1; grid-row: 2; } .prices .p { grid-row: 1 / 3; grid-column: 2; align-self: center; } }

/* ---------- treatment landing ---------- */
.thero { padding: 120px 0 0; }
.thero .wrap { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(32px, 5vw, 88px); align-items: end; }
.thero h1 { font-size: clamp(2.7rem, 6.2vw, 5.4rem); }
.thero .lede { margin-top: 1.4rem; }
.thero figure { margin: 0; aspect-ratio: 4 / 5; overflow: hidden; }
.thero figure img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 860px) { .thero .wrap { grid-template-columns: 1fr; } .thero figure { aspect-ratio: 16 / 10; order: -1; } }
.tbody .wrap { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(32px, 6vw, 112px); align-items: start; }
.tbody article p { font-size: 1.08rem; }
.tbody article h2 { font-size: clamp(1.8rem, 3vw, 2.6rem); margin: 3rem 0 1.4rem; }
.benefits { list-style: none; padding: 0; margin: 0 0 2.4rem; border-top: 1px solid var(--rule-noir); }
.benefits li { padding: 14px 0 14px 34px; border-bottom: 1px solid var(--rule-noir); position: relative; }
.benefits li::before { content: ""; position: absolute; left: 4px; top: 1.45em; width: 14px; height: 1px; background: var(--gold); }
.aside { position: sticky; top: 112px; border: 1px solid var(--rule-noir); background: var(--noir-2); padding: 28px; }
.aside h2 { font-size: 1.7rem; margin-bottom: 1rem; }
.aside .prices { margin-bottom: 1.5rem; }
.aside .btn { width: 100%; }
.aside .alt { margin-top: 14px; font-size: .85rem; color: var(--on-noir-muted); text-align: center; }
.aside .alt a { color: var(--on-noir); }
.aside .slots { margin: 0 0 1.4rem; }
@media (max-width: 860px) { .tbody .wrap { grid-template-columns: 1fr; } .aside { position: relative; top: 0; } }
.related { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); border-top: 1px solid var(--rule-noir); }
.related a { padding: 28px 24px 28px 0; text-decoration: none; border-bottom: 1px solid var(--rule-noir); display: flex; justify-content: space-between; align-items: center; gap: 12px; font: 400 1.4rem/1.2 var(--display); }
.related a:hover { color: var(--gold); font-style: italic; }
.related a svg { width: 16px; height: 16px; color: var(--gold); flex: none; }

/* mobile sticky book bar */
.mbar { display: none; }
@media (max-width: 860px) {
  .mbar { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: var(--glass); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border-top: 1px solid var(--rule-noir); transform: translateY(110%); transition: transform .5s var(--ease); }
  .mbar.show { transform: none; }
  .mbar .btn { min-height: 48px; padding: 0 .8em; }
  body { padding-bottom: 0; }
}

/* ---------- about ---------- */
.apart-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--rule-cream); }
.apart-list li { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 1rem 4rem; padding: clamp(28px, 3.5vw, 48px) 0; border-bottom: 1px solid var(--rule-cream); align-items: baseline; }
.apart-list h3 { font-size: clamp(1.8rem, 3.4vw, 3rem); letter-spacing: -.02em; }
.apart-list p { margin: 0; color: var(--on-cream-muted); }
@media (max-width: 760px) { .apart-list li { grid-template-columns: 1fr; } }
.member { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 6vw, 112px); align-items: center; padding: clamp(48px, 6vw, 88px) 0; border-top: 1px solid var(--rule-noir); }
.member:nth-child(even) figure { order: 2; }
.member figure { margin: 0; aspect-ratio: 4 / 5; overflow: hidden; }
.member figure img { width: 100%; height: 100%; object-fit: cover; }
.member h3 { font: italic 400 clamp(2.6rem, 5vw, 4.2rem)/1 var(--display); color: var(--gilt); margin-bottom: .4rem; }
.member .role { color: var(--on-noir-muted); margin-bottom: 1.6rem; }
@media (max-width: 760px) { .member { grid-template-columns: 1fr; } .member:nth-child(even) figure { order: 0; } .member figure { aspect-ratio: 5 / 4; } }

/* ---------- forms ---------- */
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form .full { grid-column: 1 / -1; }
.field label { display: block; font-size: .82rem; letter-spacing: .06em; color: var(--on-noir-muted); margin-bottom: 8px; }
.field input, .field textarea, .field select { width: 100%; min-height: 52px; background: var(--noir); border: 1px solid var(--rule-noir); padding: 12px 16px; color: var(--on-noir); border-radius: 0; caret-color: var(--gold); transition: border-color .25s; }
.field select { appearance: none; -webkit-appearance: none; }
.field textarea { min-height: 150px; resize: vertical; }
.field input:hover, .field textarea:hover, .field select:hover { border-color: var(--gilt); }
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--gold); outline: none; }
.field input::placeholder, .field textarea::placeholder { color: #9a8a78; }
.field .err { color: #a3402c; font-size: .82rem; margin-top: 6px; display: none; }
.field.bad input, .field.bad textarea { border-color: #a3402c; }
.field.bad .err { display: block; }
.form-status { grid-column: 1 / -1; min-height: 1.5em; margin: 0; }
.form-status.ok { color: var(--gold); }
.form-status.no { color: #a3402c; }
@media (max-width: 640px) { .form { grid-template-columns: 1fr; } }

/* legal */
.legal h2 { font-size: clamp(1.4rem, 2.2vw, 1.8rem); margin: 2.6rem 0 1rem; }
.legal ul { padding-left: 1.2em; margin: 0 0 1.1em; color: var(--on-noir-muted); }
.legal li { margin: .3em 0; }
.legal li::marker { color: var(--gold); }
.legal a { color: var(--gold); }

/* reveal (secondary, subtle) */
@media (prefers-reduced-motion: no-preference) {
  .js .rv { opacity: 0; transform: translateY(18px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
  .js .rv.in { opacity: 1; transform: none; }
}

/* CTA band */
.cta-band { text-align: center; }
.cta-band h2 { font-size: clamp(2.6rem, 6vw, 5rem); margin: 0 auto 2rem; max-width: 16ch; }
.cta-band .btn-row { justify-content: center; }

/* test-site banner */
.preview-note { position: fixed; left: 12px; bottom: 12px; z-index: 60; background: var(--noir-3); color: var(--on-noir-muted); border: 1px solid var(--rule-noir); font-size: .72rem; padding: 6px 10px; letter-spacing: .04em; }
.preview-note a { color: var(--gold); }
@media (max-width: 860px) { .preview-note { display: none; } }

/* =====================================================================================
   Homepage options
   ===================================================================================== */
.on-ivory .btn, .on-cream .btn { --b: var(--ink); color: var(--ivory); }
.on-ivory .btn:hover { background: var(--bronze); border-color: var(--bronze); }
.on-ivory .link { color: var(--ink); border-color: var(--rule-cream); }
.on-ivory .link:hover { border-color: var(--ink); }

/* ---------- homepage (Atelier) ---------- */
.atelier { background: var(--ivory); }
.atelier .hdr nav a, .atelier .hdr .mark span { color: var(--ink); }
.atelier .hdr nav a::after { background: var(--bronze); }
.atelier .hdr .mark { color: var(--bronze); }
.atelier .hdr .tel { color: var(--on-cream-muted); }
.atelier .hdr .tel:hover { color: var(--ink); }
.atelier .hdr .btn { --b: var(--ink); color: var(--ivory); }
.atelier .hdr .btn:hover { background: var(--bronze); border-color: var(--bronze); }
.atelier .menu-btn i { background: var(--ink); }
.atelier .sheet { background: var(--ivory); color: var(--ink); }
.atelier .sheet a.big:hover { color: var(--bronze); }
.atelier .sheet .foot { color: var(--on-cream-muted); }
.atelier ::selection { background: var(--ink); color: var(--ivory); }

.a-hero { min-height: 100svh; padding: 128px 0 72px; display: flex; align-items: center; overflow: clip; }
.a-hero .wrap { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: clamp(32px, 6vw, 112px); align-items: end; }
.a-hero h1 { font-size: clamp(3.2rem, 8.4vw, 7.4rem); line-height: .94; letter-spacing: -.035em; }
.a-hero h1 .ln { display: block; overflow: hidden; padding-bottom: .07em; }
.a-hero h1 .ln > span { display: inline-block; }
.a-hero .lede { margin: 2rem 0 2.4rem; max-width: 46ch; }
.on-ivory .booker, .on-cream .booker { background: #fffaf6; border-color: var(--rule-cream); color: var(--ink); }
.on-ivory .booker .sel select { background: var(--ivory); border-color: var(--rule-cream); color: var(--ink); }
.on-ivory .booker .sel select:hover { border-color: var(--ink); }
.on-ivory .booker .sel::after { border-color: var(--bronze); }
.on-ivory .booker .sel select option { background: var(--ivory); }
.on-ivory .slots-label { color: var(--on-cream-muted); }
.on-ivory .slots-label strong { color: var(--ink); }
.on-ivory .chip { border-color: var(--rule-cream); }
.on-ivory .chip:hover { background: var(--ink); border-color: var(--ink); color: var(--ivory); }
.on-ivory .chips .sk { border-color: var(--rule-cream); background: linear-gradient(90deg, transparent, rgba(168,135,90,.16), transparent) 0 0 / 200% 100%; }
.on-ivory .booker-foot { border-color: var(--rule-cream); color: var(--on-cream-muted); }
.on-ivory .booker-foot a { color: var(--ink); }
.arch { margin: 0; position: relative; aspect-ratio: 3 / 4.3; }
.arch::before { content: ""; position: absolute; inset: -14px; border: 1px solid var(--rule-cream); border-radius: 999px 999px 0 0; pointer-events: none; }
.arch .ph { position: absolute; inset: 0; overflow: hidden; border-radius: 999px 999px 0 0; background: var(--cream); }
.arch img { width: 100%; height: 100%; object-fit: cover; object-position: 30% 40%; }
.arch figcaption { position: absolute; right: 0; bottom: -40px; font-size: .8rem; letter-spacing: .04em; color: var(--on-cream-muted); }
@media (max-width: 900px) {
  .a-hero { min-height: 0; padding-top: 100px; }
  .a-hero .wrap { grid-template-columns: 1fr; }
  .arch { order: -1; width: min(78%, 360px); justify-self: center; margin-top: 24px; }
  .arch figcaption { display: none; }
}
@media (prefers-reduced-motion: no-preference) {
  .js .a-hero h1 .ln > span { transform: translateY(105%); transition: transform 1.3s var(--ease); }
  .js .a-hero h1 .ln:nth-child(2) > span { transition-delay: .12s; }
  .js .a-hero .ph { clip-path: inset(100% 0 0 0 round 999px 999px 0 0); transition: clip-path 1.7s var(--ease) .1s; }
  .js .a-hero .ph img { transform: scale(1.1); transition: transform 2.6s var(--ease) .1s; }
  .js .a-hero .arch::before { opacity: 0; transform: scale(.97); transition: opacity 1.2s var(--ease) 1s, transform 1.4s var(--ease) 1s; }
  .js .a-hero .fade { opacity: 0; transform: translateY(14px); transition: opacity 1s var(--ease) .5s, transform 1s var(--ease) .5s; }
  .js.ready .a-hero h1 .ln > span, .js.ready .a-hero .fade, .js.ready .a-hero .ph img, .js.ready .a-hero .arch::before { transform: none; opacity: 1; }
  .js.ready .a-hero .ph { clip-path: inset(0 0 0 0 round 999px 999px 0 0); }
}

/* concern finder */
.finder { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(24px, 4vw, 72px); align-items: start; }
.concerns { display: flex; flex-direction: column; border-top: 1px solid var(--rule-cream); position: sticky; top: 110px; }
.concerns button { text-align: left; background: none; border: 0; border-bottom: 1px solid var(--rule-cream); padding: 16px 0; cursor: pointer; font: 400 clamp(1.15rem, 1.6vw, 1.4rem)/1.2 var(--display); color: var(--on-cream-muted); display: flex; justify-content: space-between; align-items: center; transition: color .3s, padding .45s var(--ease); }
.concerns button::after { content: ""; width: 7px; height: 7px; border-top: 1px solid currentColor; border-right: 1px solid currentColor; transform: rotate(45deg); opacity: 0; transition: opacity .3s, transform .45s var(--ease); }
.concerns button:hover { color: var(--ink); }
.concerns button[aria-pressed="true"] { color: var(--ink); font-style: italic; padding-left: 12px; }
.concerns button[aria-pressed="true"]::after { opacity: 1; }
.matches { list-style: none; margin: 0; padding: 0; }
.matches[hidden] { display: none; }
.match { display: grid; grid-template-columns: 148px minmax(0, 1fr) auto; gap: 24px; align-items: center; padding: 20px; background: #fffaf6; border: 1px solid var(--rule-cream); }
.match + .match { margin-top: 12px; }
.match figure { margin: 0; aspect-ratio: 1; overflow: hidden; }
.match img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.match:hover img { transform: scale(1.06); }
.match h3 { font-size: clamp(1.5rem, 2.3vw, 2rem); margin-bottom: .5rem; }
.match h3 a { text-decoration: none; }
.match h3 a:hover { font-style: italic; color: var(--bronze); }
.match p { margin: 0; color: var(--on-cream-muted); font-size: .98rem; }
.match .buy { text-align: right; display: grid; gap: 10px; justify-items: end; }
.match .from { font-size: .9rem; color: var(--on-cream-muted); white-space: nowrap; }
.match .from b { font: 400 1.6rem/1 var(--display); color: var(--ink); }
.match .btn { min-height: 44px; }
@media (prefers-reduced-motion: no-preference) {
  .matches:not([hidden]) .match { animation: rise .6s var(--ease) both; }
  .matches .match:nth-child(2) { animation-delay: .07s; }
  .matches .match:nth-child(3) { animation-delay: .14s; }
}
@keyframes rise { from { opacity: 0; transform: translateY(12px); } }
.finder-foot { margin: 2.4rem 0 0; color: var(--on-cream-muted); }
.finder-foot a { color: var(--ink); }
@media (max-width: 860px) {
  .finder { grid-template-columns: 1fr; }
  .concerns { position: static; flex-direction: row; flex-wrap: wrap; gap: 8px; border: 0; }
  .concerns button { border: 1px solid var(--rule-cream); padding: 10px 14px; font-size: 1.05rem; min-height: 44px; }
  .concerns button::after { display: none; }
  .concerns button[aria-pressed="true"] { padding-left: 14px; background: var(--ink); color: var(--ivory); border-color: var(--ink); }
  .match { grid-template-columns: 84px minmax(0, 1fr); padding: 14px; gap: 14px; }
  .match .buy { grid-column: 1 / -1; grid-template-columns: 1fr auto; align-items: center; text-align: left; justify-items: start; padding-top: 12px; border-top: 1px solid var(--rule-cream); }
  .match .buy .btn { justify-self: end; }
}

/* editorial rituals */
.edit-grid { display: grid; grid-template-columns: 7fr 5fr; grid-template-rows: auto auto; gap: clamp(20px, 3vw, 44px); }
.edit-card { text-decoration: none; display: block; }
.edit-card figure { margin: 0 0 1.4rem; overflow: hidden; }
.edit-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
.edit-card:hover img { transform: scale(1.04); }
.edit-card h3 { font-size: clamp(1.9rem, 3vw, 2.8rem); margin-bottom: .6rem; }
.edit-card:hover h3 { font-style: italic; }
.edit-card p { color: var(--on-cream-muted); margin-bottom: 1rem; }
.r-a { grid-row: 1 / 3; }
.r-a figure { aspect-ratio: 4 / 4.6; }
.r-b figure, .r-c figure { aspect-ratio: 16 / 9; }
.essentials { margin-top: clamp(48px, 6vw, 88px); padding-top: 32px; border-top: 1px solid var(--rule-cream); display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 5fr) auto; gap: 1rem 3rem; align-items: baseline; }
.essentials h3 { font-size: clamp(1.7rem, 2.6vw, 2.3rem); }
.essentials p { margin: 0; color: var(--on-cream-muted); }
@media (max-width: 860px) {
  .edit-grid { grid-template-columns: 1fr; }
  .r-a { grid-row: auto; }
  .r-a figure { aspect-ratio: 4 / 3; }
  .essentials { grid-template-columns: 1fr; }
}

/* founder on noir */
.a-founder .wrap { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(32px, 6vw, 112px); align-items: center; }
.a-founder blockquote { margin: 0 0 1.6rem; font: 400 clamp(2.1rem, 4.2vw, 3.8rem)/1.1 var(--display); letter-spacing: -.02em; text-wrap: balance; }
.a-founder blockquote em { color: var(--gold); }
.a-founder .who { display: flex; align-items: baseline; gap: 1rem; color: var(--on-noir-muted); font-size: .95rem; margin-bottom: 1.6rem; }
.a-founder .sig { width: 168px; height: auto; }
.a-founder figure { margin: 0; }
.a-founder figure img { aspect-ratio: 3 / 4; object-fit: cover; width: 100%; border-radius: 999px 999px 0 0; }
@media (max-width: 860px) { .a-founder .wrap { grid-template-columns: 1fr; } .a-founder figure { max-width: 380px; } }

/* voices on ivory */
.a-voices .voices .panel figcaption { color: var(--on-cream-muted); }
.a-voices .voices .panel figcaption b { color: var(--bronze); }
.a-voices .voices .tabs { border-color: var(--rule-cream); }
.a-voices .voices .tabs button { color: var(--on-cream-muted); }
.a-voices .voices .tabs button[aria-selected="true"] { background: var(--ink); color: var(--ivory); }
.a-voices .voices .tabs button:hover:not([aria-selected="true"]) { color: var(--ink); }


/* =====================================================================================
   Motion & responsiveness
   ===================================================================================== */
html { -webkit-tap-highlight-color: transparent; }
a, button, select, summary { touch-action: manipulation; }

/* instant press feedback */
.btn, .chip, .link, .concerns button, .voices .tabs button, .hdr nav a, .menu-btn, .edit-card, .match .btn { transition-property: background, color, border-color, transform, padding, opacity, box-shadow; }
.btn:active, .chip:active, .concerns button:active, .voices .tabs button:active, .menu-btn:active { transform: scale(.96); transition-duration: .08s; }
.link:active, .edit-card:active { transform: scale(.985); transition-duration: .08s; }
.btn:hover { box-shadow: 0 14px 30px -16px rgba(43, 34, 26, .45); }
.chip { transition: background .2s, color .2s, border-color .2s, transform .3s cubic-bezier(.34, 1.56, .64, 1); }
.chip:hover { transform: translateY(-2px); }

@media (prefers-reduced-motion: no-preference) {
  /* page-to-page: every page rises in; leaving, it sinks back and softens (site.js adds .leaving) */
  main, .ftr { animation: pageIn .55s var(--ease) backwards; }
  @keyframes pageIn { from { opacity: 0; transform: perspective(1600px) translate3d(0, 14px, 50px); } }
  html.leaving main, html.leaving .ftr, html.leaving .mbar { opacity: 0; transform: perspective(1600px) translateZ(-80px) rotateX(3deg); filter: blur(3px); transition: opacity .26s ease-in, transform .3s ease-in, filter .26s ease-in; }
  html.leaving .hdr { opacity: .4; transition: opacity .26s ease-in; }

  /* reveals rise in depth */
  .js .rv { opacity: 0; transform: perspective(1200px) translate3d(0, 34px, -50px) rotateX(9deg); transform-origin: 50% 100%; transition: opacity 1s var(--ease), transform 1.2s var(--ease); }
  .js .rv.in { opacity: 1; transform: none; }

  /* chips and finder results cascade */
  .chips .chip { animation: chipIn .6s var(--ease) backwards; animation-delay: calc(var(--i, 0) * 60ms); }
  @keyframes chipIn { from { opacity: 0; transform: perspective(600px) translate3d(0, 12px, -30px) rotateX(30deg); } }
  .matches:not([hidden]) .match { animation: match3d .7s var(--ease) backwards; }
  @keyframes match3d { from { opacity: 0; transform: perspective(1400px) translate3d(30px, 0, -60px) rotateY(-7deg); } }

  /* mobile menu opens like a curtain, links fall into place */
  .sheet { transform: translateY(-14px); transition: opacity .45s var(--ease), visibility .45s, transform .6s var(--ease); }
  .menu-open .sheet { transform: none; }
  .sheet a.big, .sheet .foot { opacity: 0; transform: perspective(800px) translate3d(0, 22px, -40px) rotateX(-24deg); transition: opacity .5s var(--ease), transform .7s var(--ease); }
  .menu-open .sheet a.big, .menu-open .sheet .foot { opacity: 1; transform: none; }
  .menu-open .sheet > :nth-child(2) { transition-delay: .05s; } .menu-open .sheet > :nth-child(3) { transition-delay: .1s; }
  .menu-open .sheet > :nth-child(4) { transition-delay: .15s; } .menu-open .sheet > :nth-child(5) { transition-delay: .2s; }
  .menu-open .sheet > :nth-child(6) { transition-delay: .25s; }

  /* 3D tilt targets (driven by site.js) */
  .tilt { transform-style: preserve-3d; will-change: transform; transition: transform .7s var(--ease); }
  .tilt.tilting { transition: transform .12s linear; }
  .arch.tilt .ph { transform: translateZ(0); }
}

/* photos drift with scroll (scroll-driven, no JS, off the main thread) */
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .edit-card figure img, .mosaic img, .thero figure img, .a-founder figure img, .match figure img { scale: 1.12; animation: drift linear both; animation-timeline: view(); }
    @keyframes drift { from { translate: 0 -5%; } to { translate: 0 5%; } }
  }
}
/* drifting photos are always clipped by their frame */
.a-founder figure { overflow: hidden; border-radius: 999px 999px 0 0; aspect-ratio: 3 / 4; }
.a-founder figure img { width: 100%; height: 100%; border-radius: 0; aspect-ratio: auto; }
.thero figure, .edit-card figure, .mosaic figure, .match figure { overflow: hidden; }
