/* ============================================================
   MyPlasticSurgeryClub — the house style (Oct 2026)
   PALETTE RESET (founder order, Oct 16): white walls, black ink,
   ONE deep antique gold. Simple, editorial, calm — the airport
   lounge register. Berry/cream/plum are retired from the skin.
   Self-hosted fonts only — no third-party embeds, ever.
   ============================================================ */
@font-face{
  font-family:"Great Vibes"; src:url("/assets/fonts/great-vibes-400.woff2") format("woff2");
  font-weight:400; font-style:normal; font-display:swap;
}
@font-face{
  font-family:"Playfair Display"; src:url("/assets/fonts/playfair-display-500.woff2") format("woff2");
  font-weight:500; font-style:normal; font-display:swap;
}
@font-face{
  font-family:"Playfair Display"; src:url("/assets/fonts/playfair-display-700.woff2") format("woff2");
  font-weight:700; font-style:normal; font-display:swap;
}
@font-face{
  font-family:"Playfair Display"; src:url("/assets/fonts/playfair-display-500-italic.woff2") format("woff2");
  font-weight:500; font-style:italic; font-display:swap;
}
@font-face{
  font-family:"Lato"; src:url("/assets/fonts/lato-400.woff2") format("woff2");
  font-weight:400; font-style:normal; font-display:swap;
}
@font-face{
  font-family:"Lato"; src:url("/assets/fonts/lato-700.woff2") format("woff2");
  font-weight:700; font-style:normal; font-display:swap;
}

:root{
  --paper:#FFFFFF;            /* the house walls: white */
  --tint:#F7F4EC;             /* the one warm-neutral tint (hairline family) */
  --ink:#101010;              /* text & headings: black */
  --ink-soft:#333333;
  --muted:#6E6A61;
  --gold:#A67C2E;             /* the ONE gold: deep antique, reads on white */
  --gold-line:rgba(166,124,46,.5);
  --line:#E9E4D8;
  --line-soft:#F0EBE0;
  --ok:#2E7D4F;
  --demo:#B3541E;
  --radius:16px;
  --shadow:none;
  --serif:"Playfair Display", "Didot", "Bodoni MT", Georgia, serif;
  --sans:"Lato", "Avenir Next", "Segoe UI", system-ui, -apple-system, sans-serif;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0; font-family:var(--sans); color:var(--ink); line-height:1.6;
  background:var(--paper);
}
::selection{background:var(--tint); color:var(--ink)}
a{color:var(--ink); text-underline-offset:3px}
a:hover{color:var(--ink)}
:focus-visible{outline:2px solid var(--gold); outline-offset:2px; border-radius:4px}
img{max-width:100%}
h1,h2,h3{font-family:var(--serif); font-weight:700; color:var(--ink)}
h1{letter-spacing:-.01em}
.wrap{max-width:1120px; margin:0 auto; padding:0 22px}

/* ---- the masthead: a house entrance ---- */
header.site{
  position:sticky; top:0; z-index:10;
  background:rgba(255,255,255,.96); backdrop-filter:blur(10px);
  border-bottom:1px solid var(--line);
  box-shadow:0 1px 0 rgba(166,124,46,.35);
}
.nav{display:flex; align-items:center; gap:16px 22px; padding:16px 0 13px; flex-wrap:wrap}
.logo{
  font-family:var(--serif); font-weight:700; font-size:1.55rem; line-height:1;
  color:var(--ink); text-decoration:none; letter-spacing:.01em; white-space:nowrap;
}
.logo .l2{color:var(--ink)}
.logo .wt{font-family:var(--sans); font-size:.6rem; vertical-align:super; color:var(--demo); font-weight:700; letter-spacing:.06em}
.nav .links{display:flex; align-items:center; gap:4px 18px; flex-wrap:wrap}
.nav a.nl{
  color:var(--ink-soft); text-decoration:none; font-weight:700;
  font-size:.74rem; letter-spacing:.13em; text-transform:uppercase; padding:4px 0;
  border-bottom:1px solid transparent;
}
.nav a.nl:hover{color:var(--ink); border-bottom-color:var(--gold)}
.nav .sp{flex:1}
.scopepick{font-size:.8rem; font-weight:700; color:var(--muted); display:flex; gap:6px; align-items:center}
.scopepick a{
  color:var(--muted); text-decoration:none; padding:5px 11px;
  border:1px solid var(--line); border-radius:999px; background:var(--paper);
  letter-spacing:.08em; text-transform:uppercase; font-size:.72rem;
}
.scopepick a:hover{border-color:var(--gold); color:var(--ink)}
.scopepick a.active{color:#fff; background:var(--ink); border-color:var(--ink)}

/* ---- buttons: presence, not widgets ---- */
.btn{
  display:inline-block; background:linear-gradient(160deg, var(--ink) 0%, var(--ink) 130%);
  color:#FFFFFF; padding:13px 26px; border-radius:999px; text-decoration:none;
  font-weight:700; font-size:.92rem; letter-spacing:.03em; border:1px solid transparent;
  cursor:pointer; box-shadow:0 10px 22px -12px rgba(16,16,16,.55);
  transition:transform .22s ease, box-shadow .22s ease, background-color .22s ease, border-color .22s ease;
}
.btn:hover{
  color:#FFFFFF; transform:translateY(-1px);
  box-shadow:0 0 0 1px var(--gold), 0 14px 26px -12px rgba(16,16,16,.5);
}
.btn.ghost{background:transparent; color:var(--ink); border:1px solid var(--ink); box-shadow:none}
.btn.ghost:hover{background:var(--tint); color:var(--ink); box-shadow:0 0 0 1px var(--gold)}
.btn.small{padding:8px 16px; font-size:.84rem}

/* card action rows never collide: a paragraph holding pill CTAs lays them
   out with flex + gap, so two or three buttons wrap with air between them
   at every width instead of stacking into each other (founder screenshot
   defect — the home "Shopping internationally?" door card). */
p:has(> a.btn){display:flex; flex-wrap:wrap; gap:8px; align-items:center}
p > a.btn{flex:none}

/* ---- the threshold: hero as an entrance ---- */
.hero{padding:58px 0 10px}
.hero-home{display:grid; grid-template-columns:1.02fr .98fr; gap:52px; align-items:center; padding:64px 0 26px}
.hero h1{font-size:2.9rem; line-height:1.08; margin:0 0 16px; font-weight:700}
.hero h1 em{font-style:italic; font-weight:500; color:var(--ink)}
.hero p.lede, p.lede{font-size:1.13rem; color:var(--ink-soft); line-height:1.65; max-width:44rem; margin:0 0 18px}
.hero-media{margin:0; position:relative}
.hero-media img{
  display:block; width:100%; height:auto; border-radius:20px;
  box-shadow:var(--shadow);
}
.hero-media::after{
  content:""; position:absolute; inset:0; transform:translate(14px,14px);
  border:1px solid var(--gold); border-radius:20px; z-index:-1;
}
.figure-band{margin:26px 0 6px; position:relative}
.figure-band img{display:block; width:100%; height:auto; border-radius:20px; box-shadow:var(--shadow)}
.figure-band::after{
  content:""; position:absolute; inset:0; transform:translate(-12px,12px);
  border:1px solid var(--gold-line); border-radius:20px; z-index:-1;
}

/* ---- arrival rituals: search, the doors ---- */
.searchbar{display:flex; gap:10px; flex-wrap:wrap; margin:20px 0 8px}
.searchbar select, .searchbar input,
.filters select, .filters input[type=number]{
  padding:13px 15px; border:1px solid var(--line); border-radius:12px;
  font-size:1rem; font-family:var(--sans); background:var(--paper); color:var(--ink);
}
.searchbar select:focus, .filters select:focus, .filters input:focus{
  border-color:var(--gold); outline:none; box-shadow:0 0 0 3px rgba(166,124,46,.18);
}
.doors{display:grid; grid-template-columns:1fr 1fr; gap:14px; margin:20px 0 6px}
.door{
  display:block; width:100%; text-align:left; background:var(--paper);
  border:1px solid var(--gold-line); border-radius:18px; padding:24px 26px;
  cursor:pointer; font:inherit; color:var(--ink); box-shadow:var(--shadow);
  transition:border-color .22s ease, transform .22s ease;
}
.door strong{display:block; font-family:var(--serif); font-weight:700; font-size:1.45rem; margin-bottom:4px}
.door span{color:var(--muted); font-size:.94rem; line-height:1.55; display:block}
.door:hover{border-color:var(--gold); transform:translateY(-2px)}
.door.active{border-color:var(--ink); background:var(--tint); box-shadow:inset 0 3px 0 var(--gold), var(--shadow)}
.doorlink{font-size:.92rem; font-weight:700}

/* the house doors (home): numbered rooms of arrival */
.house-doors{counter-reset:door}
.house-doors .card::before{
  counter-increment:door; content:"0" counter(door);
  display:block; font-family:var(--serif); font-weight:500; font-style:italic;
  color:var(--gold); font-size:1.05rem; letter-spacing:.28em; margin-bottom:10px;
}

/* ---- rooms: section rhythm ---- */
h2.sec{
  margin:58px 0 8px; font-size:1.85rem; font-weight:700; line-height:1.2;
}
h2.sec::before{
  content:""; display:block; width:56px; height:2px; margin-bottom:16px;
  background:linear-gradient(90deg, var(--gold), rgba(166,124,46,0));
}
p.sub{color:var(--muted); margin:0 0 18px; font-size:1.02rem; max-width:46rem}
.count{font-family:var(--serif); font-style:italic; font-weight:500; color:var(--gold)}
.small{font-size:.86rem; color:var(--muted); line-height:1.6}
.meta{color:var(--muted); font-size:.9rem}
.crumbs{
  font-size:.74rem; letter-spacing:.13em; text-transform:uppercase; font-weight:700;
  color:var(--muted); margin:26px 0 8px;
}
.crumbs a{color:var(--muted); text-decoration:none}
.crumbs a:hover{color:var(--ink)}
.descriptor{color:var(--muted); font-size:1rem; margin:2px 0 0}

/* ---- the price salon: a printed rate card ---- */
table.board{
  width:100%; border-collapse:collapse; background:var(--paper);
  border:1px solid var(--line); border-top:3px double var(--gold);
  border-radius:6px; overflow:hidden; font-size:.95rem; box-shadow:var(--shadow);
}
table.board th, table.board td{
  padding:15px 18px; border-bottom:1px solid var(--line-soft);
  text-align:left; vertical-align:top;
}
table.board thead th{
  background:#FFFFFF; color:var(--gold);
  font-size:.72rem; font-weight:700; letter-spacing:.14em; text-transform:uppercase;
  border-bottom:1px solid var(--gold-line); padding:13px 18px;
}
table.board tbody tr:last-child td{border-bottom:none}
table.board tbody tr{transition:background-color .18s ease}
table.board tbody tr:hover{background:#FFFFFF}
table.board td:first-child strong{font-family:var(--serif); font-weight:700; font-size:1.06rem}
table.board td:first-child strong a{color:var(--ink); text-decoration:none}
table.board td:first-child strong a:hover{color:var(--ink)}
table.board td.price{
  font-family:var(--serif); font-weight:700; font-size:1.08rem;
  color:var(--ink); white-space:nowrap;
}
td.nodata, .nodata{color:var(--muted); font-style:italic; font-weight:400; font-family:var(--sans); font-size:.92rem}
.basis{display:block; font-family:var(--sans); font-weight:400; font-size:.78rem; color:var(--muted); margin-top:3px; line-height:1.5}
td.dim{opacity:.38}

/* ---- boutique listings ---- */
.grid{display:grid; grid-template-columns:repeat(auto-fill,minmax(300px,1fr)); gap:18px}
.card{
  background:var(--paper); border:1px solid var(--line); border-radius:18px;
  padding:26px; position:relative; box-shadow:var(--shadow);
  transition:transform .22s ease, border-color .22s ease;
}
.card:hover{transform:translateY(-2px); border-color:var(--gold-line)}
.card h3{margin:0 0 6px; font-size:1.28rem; line-height:1.25}
.card h3 a{color:var(--ink); text-decoration:none}
.card h3 a:hover{color:var(--ink)}
.card .meta{color:var(--muted); font-size:.9rem}
.badges{display:flex; gap:6px; flex-wrap:wrap; margin:10px 0}
.badge{
  font-size:.68rem; font-weight:700; letter-spacing:.09em; text-transform:uppercase;
  padding:4px 10px; border-radius:999px; background:var(--tint); color:var(--ink);
}
.badge.gold{background:#F7F4EC; color:var(--gold)}
.badge.grey{background:#F7F4EC; color:#55524C}
.badge.demo{background:var(--demo); color:#fff}
.deal{margin-top:10px; font-size:.92rem; color:var(--ok); font-weight:700}
.stars{color:var(--gold); font-weight:700; letter-spacing:.12em}
.offerrow{display:flex; gap:12px; flex-wrap:wrap; align-items:baseline; padding:12px 2px; border-bottom:1px solid var(--line-soft)}
.offerprice{font-family:var(--serif); font-weight:700; font-size:1.3rem; color:var(--ink); white-space:nowrap}
.stategrid{display:grid; grid-template-columns:repeat(auto-fill,minmax(220px,1fr)); gap:14px; margin:12px 0 6px}
.stategrid a, .stategrid > div{
  display:block; background:var(--paper); border:1px solid var(--line); border-radius:16px;
  padding:20px 22px; text-decoration:none; color:var(--ink);
  font-family:var(--serif); font-weight:700; font-size:1.12rem; box-shadow:var(--shadow);
}
.stategrid a:hover{border-color:var(--gold-line)}
.stategrid a span, .stategrid > div span{display:block; font-family:var(--sans); font-weight:400; color:var(--muted); font-size:.88rem; margin-top:4px; line-height:1.55}

/* ---- notices, kept honest and calm ---- */
.notice{
  border:1px solid var(--gold-line); background:#FFFFFF; border-radius:16px;
  padding:18px 22px; margin:20px 0; font-size:.97rem; line-height:1.65;
}
.notice.red{border-color:#D9A08F; background:#FFFFFF}
.redflag{background:#FFFFFF; border:1px solid #D9A08F; border-radius:16px; padding:18px 22px; margin:20px 0}
.trustline{
  border:1px solid var(--gold-line); border-left:4px solid var(--gold);
  background:var(--paper); border-radius:12px; padding:14px 18px; color:var(--ink);
}

/* ---- the concierge desk: filters & forms ---- */
.filters{
  display:flex; gap:12px; flex-wrap:wrap; align-items:end;
  background:var(--paper); border:1px solid var(--line); border-radius:18px;
  padding:20px 22px; margin:18px 0; box-shadow:var(--shadow);
}
.filters label{
  font-size:.7rem; font-weight:700; letter-spacing:.12em; text-transform:uppercase;
  color:var(--gold); display:block; margin-bottom:5px;
}
.filters .chk{
  display:flex; align-items:center; gap:7px; font-size:.92rem; font-weight:700;
  padding-bottom:12px; letter-spacing:0; text-transform:none; color:var(--ink);
}
form.shell label, .review-form label{font-weight:700; font-size:.9rem; display:block; margin:16px 0 5px}
form.shell input, form.shell select, form.shell textarea,
.review-form input, .review-form select, .review-form textarea{
  width:100%; padding:13px 15px; border:1px solid var(--line); border-radius:12px;
  font-size:1rem; font-family:var(--sans); background:var(--paper); color:var(--ink);
}
form.shell input:focus, form.shell select:focus, form.shell textarea:focus,
.review-form input:focus, .review-form select:focus, .review-form textarea:focus{
  border-color:var(--gold); outline:none; box-shadow:0 0 0 3px rgba(166,124,46,.18);
}
.review-form .chk{display:flex; gap:8px; align-items:flex-start; font-weight:400}
.review-form .chk input{width:auto; margin-top:4px}
.honeypot{position:absolute; left:-9999px; top:-9999px; height:0; width:0; overflow:hidden}
.review{border:1px solid var(--line); border-radius:16px; background:var(--paper); padding:18px 22px; margin:12px 0; box-shadow:var(--shadow)}
.review .who{color:var(--muted); font-size:.86rem}
.inc{font-weight:700}
.inc.yes{color:var(--ok)}
.inc.extra{color:var(--demo)}
.inc.na{color:var(--muted); font-style:italic; font-weight:400}

/* ---- FAQ: quiet accordions ---- */
details.faq{
  background:var(--paper); border:1px solid var(--line); border-radius:14px;
  padding:16px 22px; margin:10px 0; box-shadow:var(--shadow);
}
details.faq summary{
  font-family:var(--serif); font-weight:700; font-size:1.1rem; cursor:pointer;
  list-style:none; display:flex; justify-content:space-between; gap:14px; align-items:baseline;
}
details.faq summary::-webkit-details-marker{display:none}
details.faq summary::after{content:"+"; color:var(--gold); font-family:var(--serif); font-size:1.3rem; line-height:1}
details.faq[open ] summary::after{content:"–"}
details.faq p{color:var(--ink-soft); line-height:1.7}

/* ---- the invitation panel (CTAs) ---- */
.cta{
  background:linear-gradient(150deg, var(--ink) 0%, var(--ink) 90%);
  color:#333333; border-radius:22px; padding:30px 32px; margin:26px 0;
  box-shadow:0 24px 44px -22px rgba(16,16,16,.55);
}
.cta p{color:#333333}
.cta strong{color:#fff}
.cta a{color:#A67C2E}
.cta .btn{background:var(--gold); color:#FFFFFF; box-shadow:none}
.cta .btn:hover{background:#A67C2E; color:#FFFFFF; box-shadow:0 0 0 1px #A67C2E}

/* ---- long-form rooms (guides) ---- */
article.guide{max-width:46rem}
article.guide h1{font-size:2.3rem; line-height:1.15}
article.guide h2{font-family:var(--serif); margin:34px 0 8px; font-size:1.45rem}
article.guide p, article.guide li{max-width:44rem; line-height:1.75; color:var(--ink-soft)}
article.guide > p:first-of-type::first-letter{
  font-family:var(--serif); font-weight:700; color:var(--ink);
  font-size:3.1em; float:left; line-height:.85; padding:4px 10px 0 0;
}
article.guide ul{padding-left:20px}
.kv{font-size:.92rem; color:var(--muted)}
a[data-community-link]{font-weight:700}

/* ---- the house footer ---- */
footer.site{
  border-top:1px solid var(--line); margin-top:76px; padding:46px 0 52px;
  color:var(--muted); font-size:.92rem; position:relative;
}
footer.site::before{
  content:""; position:absolute; top:-4px; left:0; right:0;
  border-top:1px solid var(--gold-line);
}
footer.site .foot-mark{
  width:56px; height:56px; margin:0 0 18px; border:1px solid var(--gold);
  border-radius:50%; display:flex; align-items:center; justify-content:center;
  font-family:var(--serif); font-weight:700; font-size:1.15rem; color:var(--ink);
  background:var(--paper);
}
footer.site p{max-width:52rem; line-height:1.7}
footer.site p strong:first-child{font-family:var(--serif); font-size:1.15rem; color:var(--ink)}
.pagefoot-note{font-size:.86rem}

/* ---- pass 2: the lounge register ----
   North star (founder correction, Oct 16): the AIRPORT LOUNGE — the members'
   rest section inside the terminal (Admirals Club / Centurion register),
   NOT the terminal itself. Stepping through the door = sudden quiet: low
   visual noise, plush restraint, warm indirect light, unhurried spacing,
   concierge calm. The noisy aggregator internet stays OUTSIDE the door.
   Encoded as: eyebrows that name each room, a calm threshold reveal,
   generous section air, and a "next rooms" weave so the house never
   dead-ends — dwell comes from beauty and discovery, never from traps. */
.eyebrow{
  display:flex; align-items:center; gap:12px; margin:36px 0 10px;
  font-size:.72rem; font-weight:700; letter-spacing:.24em; text-transform:uppercase;
  color:var(--gold);
}
.eyebrow::before{content:""; width:38px; height:1px; background:var(--gold); flex:none}
.hero-copy .eyebrow{margin-top:0}
main > .eyebrow:first-child{margin-top:30px}
.cta .eyebrow{color:#A67C2E; margin:0 0 10px}
.cta .eyebrow::before{background:#A67C2E}
.cta h2{font-family:var(--serif); font-weight:700; font-size:1.7rem; line-height:1.2; color:#FFFFFF; margin:0 0 8px}
@keyframes threshold-in{from{opacity:0; transform:translateY(9px)} to{opacity:1; transform:none}}
.eyebrow, main h1{animation:threshold-in .8s ease both}

/* rooms lead to rooms: the threshold at the foot of every page */
.next-rooms{margin:68px 0 4px; border-top:3px double var(--gold); padding-top:8px}
.next-rooms .eyebrow{margin-top:20px}
.next-grid{display:grid; grid-template-columns:repeat(auto-fit,minmax(230px,1fr)); gap:14px}
.next-grid a{
  display:flex; align-items:baseline; justify-content:space-between; gap:12px;
  background:var(--paper); border:1px solid var(--line); border-radius:16px;
  padding:21px 23px; text-decoration:none; box-shadow:var(--shadow);
  transition:transform .22s ease, border-color .22s ease;
}
.next-grid a:hover{transform:translateY(-2px); border-color:var(--gold)}
.next-grid a span:first-child{font-family:var(--serif); font-weight:700; font-size:1.14rem; color:var(--ink)}
.next-grid a:hover span:first-child{color:var(--ink)}
.next-grid .go{color:var(--gold); font-family:var(--serif); font-size:1.15rem}

/* the members' entrance + the MY language system (founder, Oct 16):
   strangers browse a beautiful house; members get THEIR house — My Journey,
   My Shortlist, My Recovery Plan, My Concierge. This pass styles the door
   and the language only (accounts are the webapp layer); nothing here fakes
   personalization for an anonymous visitor. */
.members-door{
  margin:56px 0 6px; background:var(--paper); border:1px solid var(--gold-line);
  border-top:3px double var(--gold); border-radius:20px; padding:34px 36px;
  box-shadow:var(--shadow);
}
.members-door .eyebrow{margin-top:0}
.members-door h2{font-size:1.9rem; line-height:1.22; margin:0 0 10px; max-width:38rem}
.members-door h2 em, .members-door p.sub em{font-style:italic; color:var(--ink)}
.my-grid{display:grid; grid-template-columns:repeat(auto-fit,minmax(215px,1fr)); gap:12px; margin:18px 0 14px}
.my-grid a{
  display:block; border:1px solid var(--line); border-radius:14px; padding:17px 19px;
  text-decoration:none; background:var(--paper);
  transition:transform .22s ease, border-color .22s ease;
}
.my-grid a:hover{transform:translateY(-2px); border-color:var(--gold)}
.my-grid a span{font-family:var(--serif); font-weight:700; font-size:1.12rem; color:var(--ink); display:block}
.my-grid a:hover span{color:var(--ink)}
.my-grid a small{color:var(--muted); font-size:.88rem; line-height:1.5; display:block; margin-top:3px}

/* ---- the process rooms (founder's structure rule: tiles divided by the
   entire process). The homepage and the explore entrance group their tiles
   into the five rooms of the journey — Prepare, The Surgery, The Trip,
   Recover, Belong — each a labeled section with the same entrance ritual
   as every page door: gold eyebrow naming the room, serif threshold,
   unhurried air. Sections carry a scroll margin so anchor arrivals land
   below the sticky masthead. */
.room{margin-top:64px; scroll-margin-top:96px}
.room > .eyebrow{margin-top:0}
.room > h2{
  font-family:var(--serif); font-weight:700; font-size:2rem; line-height:1.18;
  margin:0 0 8px; max-width:40rem;
}
.room > h2::before{
  content:""; display:block; width:56px; height:2px; margin-bottom:16px;
  background:linear-gradient(90deg, var(--gold), rgba(166,124,46,0));
}
.rooms-strip{
  display:flex; flex-wrap:wrap; gap:8px 10px; align-items:center;
  margin:34px 0 4px; padding:14px 0 0; border-top:1px solid var(--line);
}
.rooms-strip .rs-label{
  font-size:.72rem; font-weight:700; letter-spacing:.24em; text-transform:uppercase;
  color:var(--gold); margin-right:6px;
}
.rooms-strip a{
  font-family:var(--serif); font-weight:500; font-size:1rem; color:var(--ink);
  text-decoration:none; border:1px solid var(--line); border-radius:999px;
  padding:7px 16px; background:var(--paper); transition:border-color .25s ease, color .25s ease;
}
.rooms-strip a:hover{border-color:var(--gold); color:var(--ink)}
.rooms-strip a.here{border-color:var(--gold); color:var(--ink); background:var(--tint)}

/* ---- the responsive house ---- */
@media (max-width:900px){
  .hero-home{grid-template-columns:1fr; gap:30px; padding:44px 0 16px}
  .hero-media::after{transform:translate(9px,9px)}
}
@media (max-width:640px){
  .wrap{padding:0 17px}
  .hero{padding:38px 0 6px}
  .hero h1{font-size:2.05rem}
  h1{font-size:1.85rem}
  h2.sec{font-size:1.5rem; margin-top:44px}
  .logo{font-size:1.22rem}
  .nav{gap:10px 14px; padding:13px 0 11px}
  .nav a.nl{font-size:.68rem; letter-spacing:.1em}
  .btn{padding:12px 22px}
  .card{padding:21px}
  .cta{padding:24px 22px}
  .members-door{padding:25px 22px}
  .members-door h2{font-size:1.55rem}
  .doors{grid-template-columns:1fr}
  table.board{font-size:.85rem; display:block; overflow-x:auto; -webkit-overflow-scrolling:touch}
  table.board thead, table.board tbody{display:table; width:100%; min-width:600px}
  table.board th, table.board td{padding:11px 12px}
  article.guide h1{font-size:1.8rem}
}
@media (prefers-reduced-motion: reduce){
  *{transition:none !important; animation:none !important; scroll-behavior:auto !important}
}

/* ============================================================
   PALETTE RESET — founder order, Oct 16 ("white and gold...
   black, keep it simple"). White #FFFFFF walls, black #101010
   ink, ONE gold #A67C2E. Editorial type: Playfair at 500,
   tracking opened. Structural fixes ride here: nav air that
   lands BETWEEN the links, flat black buttons, the centered
   editorial home hero, the finder panel, and the journey
   tiles under the hero. Earlier rules stay as the base; this
   section is the founder's final word where they conflict.
   ============================================================ */

/* display type set like editorial luxury: 500, opened tracking */
h1,h2,h3{font-weight:500}
h1{letter-spacing:.002em}
.hero h1{font-size:3.35rem; line-height:1.1; font-weight:500}
.hero h1 em{color:var(--gold)}
h2.sec, .room > h2{font-weight:500}
.door strong, details.faq summary, .next-grid a span:first-child,
.my-grid a span, table.board td:first-child strong, table.board td.price,
.offerprice, .stategrid a, footer.site .foot-mark{font-weight:500}
article.guide > p:first-of-type::first-letter{font-weight:500; color:var(--gold)}

/* the eyebrow spec: Lato, small, uppercase, wide tracking, the one gold */
.eyebrow{
  font-family:var(--sans); font-size:.72rem; font-weight:700;
  letter-spacing:.18em; text-transform:uppercase; color:var(--gold);
}

/* masthead: white, a thin gold rule under the header, Playfair brand */
header.site{background:rgba(255,255,255,.96); border-bottom:1px solid var(--line);
  box-shadow:0 1px 0 rgba(166,124,46,.55)}
.logo{font-weight:500; letter-spacing:.015em}
/* nav air: the gap rule alone did not land between the links in the
   founder's render, so each link now carries its own side margins —
   spacing is structural, not dependent on the flex gap. */
.nav .links{gap:2px 4px}
.nav a.nl{margin:0 11px; padding:5px 0}
.nav a.nl:first-child{margin-left:0}
header.site .btn.small{border-radius:999px}

/* buttons: flat black fill + white text; ghost = white + black hairline */
.btn{
  background:#101010; color:#FFFFFF; border:1px solid #101010;
  box-shadow:none; border-radius:999px;
}
.btn:hover{background:var(--gold); border-color:var(--gold); color:#FFFFFF; box-shadow:none; transform:none}
.btn.ghost{background:#FFFFFF; color:#101010; border:1px solid #101010; box-shadow:none}
.btn.ghost:hover{background:#FFFFFF; color:var(--gold); border-color:var(--gold); box-shadow:none}

/* cards & panels: white, hairline border, no heavy shadow, calmer radius */
.card, .door, .filters, details.faq, .review, .members-door,
.next-grid a, .stategrid a, .stategrid > div{box-shadow:none; border-radius:6px}
.card:hover, .door:hover, .next-grid a:hover, .my-grid a:hover{transform:none}
.door{border-color:var(--line)}
.door.active{border-color:var(--gold); box-shadow:inset 0 2px 0 var(--gold)}
table.board{box-shadow:none; border-radius:4px}
table.board thead th{background:#FFFFFF}
table.board tbody tr:hover{background:var(--tint)}
.notice{background:#FFFFFF}
.redflag{background:#FFFFFF}

/* the invitation panel, in the new palette: white, gold hairline, black type */
.cta{background:#FFFFFF; border:1px solid var(--gold); color:var(--ink); box-shadow:none; border-radius:6px}
.cta p{color:var(--ink-soft)}
.cta strong{color:var(--ink)}
.cta a{color:var(--gold)}
.cta h2{color:var(--ink)}
.cta .eyebrow{color:var(--gold)}
.cta .eyebrow::before{background:var(--gold)}
.cta .btn{background:#101010; color:#FFFFFF; border-color:#101010; box-shadow:none}
.cta .btn:hover{background:var(--gold); border-color:var(--gold); color:#FFFFFF; box-shadow:none}

/* members' door: white, the gold double rule stays */
.members-door{border-color:var(--line); border-top:3px double var(--gold); box-shadow:none; border-radius:6px}
.members-door h2 em, .members-door p.sub em{color:var(--gold)}
.my-grid a{background:#FFFFFF}

/* ---- the home hero: centered, editorial, the image framed ---- */
.hero-home{display:block; text-align:center; padding:74px 0 10px}
.hero-copy{max-width:840px; margin:0 auto}
.hero-copy .eyebrow{justify-content:center}
.hero-copy p.lede{margin-left:auto; margin-right:auto}
.hero-figure{
  margin:40px auto 6px; max-width:1076px; background:#FFFFFF;
  border:1px solid var(--gold); padding:7px;
}
.hero-figure img{
  display:block; width:100%; height:auto; aspect-ratio:21/10;
  object-fit:cover; object-position:center;
}
/* legacy two-column hero media + figure bands, reframed to match:
   gold hairline, no offset frame, no shadow */
.hero-media img, .figure-band img{border:1px solid var(--gold); border-radius:0; box-shadow:none}
.hero-media::after, .figure-band::after{display:none}

/* the finder: the same form, presented in a white hairline panel */
.finder-panel{
  max-width:840px; margin:34px auto 0; background:#FFFFFF;
  border:1px solid var(--line); padding:28px 30px 22px; text-align:center;
}
.finder-panel .searchbar{justify-content:center; margin:0 0 10px}
.finder-panel .small{margin:0}

/* ---- the journey tiles: the five rooms, directly under the hero ---- */
.journey-tiles{
  display:grid; grid-template-columns:repeat(5,1fr); gap:14px;
  margin:44px 0 4px;
}
.jtile{
  display:flex; flex-direction:column; gap:7px; text-decoration:none;
  background:#FFFFFF; border:1px solid var(--line); padding:24px 20px 20px;
  transition:border-color .22s ease;
}
.jtile:hover{border-color:var(--gold)}
.jtile .jt-title{font-family:var(--serif); font-weight:500; font-size:1.22rem; color:var(--ink); line-height:1.2}
.jtile .jt-whisper{font-size:.9rem; line-height:1.55; color:var(--muted)}
.jtile .jt-enter{
  margin-top:auto; padding-top:10px; font-size:.7rem; font-weight:700;
  letter-spacing:.18em; text-transform:uppercase; color:var(--gold);
}
@media (max-width:900px){
  .journey-tiles{grid-template-columns:repeat(2,1fr)}
  .hero-home{padding:52px 0 6px}
  .hero h1{font-size:2.5rem}
}
@media (max-width:640px){
  .journey-tiles{grid-template-columns:1fr}
  .nav a.nl{margin:0 7px}
  .finder-panel{padding:22px 18px 16px}
}

/* ============================================================
   DEMO BUILD — founder-approved homepage (Oct 16, 10:28 CT:
   "the site looks incredible"). The masthead carries her locked
   navigation with dropdown doors; the home hero is her actual
   photograph placed WHOLE at native aspect (never cropped,
   never covered — on small screens the panel steps BELOW the
   photo); the rooms are photo cards; the board is procedure
   tiles; the estimate calculator works live from the board.
   ============================================================ */

/* the brand's "Club" in the one gold (approved demo masthead) */
.logo .l2{color:var(--gold)}

/* the members' corner of the masthead: Log in + Sign up */
.acct{display:flex; gap:16px; align-items:center; flex:none}
.acct .login{
  color:var(--ink); text-decoration:none; font-weight:700;
  font-size:.72rem; letter-spacing:.18em; text-transform:uppercase;
  border-bottom:1px solid var(--gold); padding-bottom:2px;
}
.acct .login:hover{color:var(--gold)}

/* the locked navigation: dropdown doors on a full second row */
.nav .links{width:100%; margin-top:4px; gap:2px 6px}
.dd{position:relative}
.nav a.nl.dd-top{margin:0 10px; display:inline-block}
.dd:first-child a.nl.dd-top{margin-left:0}
.dd-menu{
  position:absolute; top:calc(100% + 9px); left:0; z-index:60;
  background:#FFFFFF; border:1px solid var(--line); border-top:2px solid var(--gold);
  min-width:216px; display:none; flex-direction:column; padding:8px 0;
  box-shadow:0 18px 40px rgba(16,16,16,.13);
}
.dd:hover .dd-menu, .dd:focus-within .dd-menu{display:flex}
.dd-menu a{
  padding:9px 18px; color:var(--ink-soft); text-decoration:none;
  font-size:.72rem; font-weight:700; letter-spacing:.13em; text-transform:uppercase;
  white-space:nowrap;
}
.dd-menu a:hover{color:var(--gold)}
.nav .links>.dd:nth-child(5){margin-left:auto}
.nav .links>.dd:nth-child(5) .dd-menu{left:auto; right:0}
.dd.myp .dd-top{
  color:var(--gold); border:1px solid var(--gold); border-radius:999px;
  padding:8px 16px; margin-right:0;
}
.dd.myp .dd-menu{left:auto; right:0}

/* the script accent line (self-hosted Playfair italic — the house script) */
.script-line{
  font-family:var(--serif); font-style:italic; font-weight:500;
  font-size:1.85rem; line-height:1.15; color:var(--gold);
}

/* ---- the home hero: her photograph, whole ---- */
.hero-stage{position:relative; line-height:0}
.hero-stage > img{display:block; width:100%; height:auto}
.hero-panel{
  position:absolute; left:4%; bottom:6%; width:min(430px,86%);
  background:#FFFFFF; box-shadow:0 24px 60px rgba(16,16,16,.22);
  border-radius:10px; padding:26px 28px; line-height:1.45; text-align:left;
}
.hero-panel h1{font-size:2.1rem; line-height:1.12; margin:5px 0 8px}
.hero-panel p{font-size:.95rem; color:var(--ink-soft); margin:0}
.hero-finder{display:flex; gap:8px; margin-top:16px; flex-wrap:wrap}
.hero-finder select{
  flex:1; min-width:118px; padding:11px 12px; border:1px solid var(--line);
  border-radius:6px; font-family:var(--sans); font-size:.92rem;
  background:#FFFFFF; color:var(--ink);
}
.hero-finder select:focus{border-color:var(--gold); outline:none; box-shadow:0 0 0 3px rgba(166,124,46,.18)}
.hero-finder .btn{flex:none}
@media (max-width:760px){
  /* the photo stays whole and uncovered: the panel steps below it */
  .hero-panel{position:static; width:auto; margin:16px 17px 0; box-shadow:none; border:1px solid var(--line)}
  .hero-panel h1{font-size:1.7rem}
}

/* ---- the rooms: photo cards, exactly as the approved demo ---- */
.rooms-head{padding:44px 0 0}
.rooms-head h2{font-size:1.9rem; margin:2px 0 0}
.room-tiles{display:grid; grid-template-columns:repeat(5,1fr); gap:16px; padding:20px 0 6px}
.rtile{
  position:relative; aspect-ratio:3/4.1; border-radius:12px; overflow:hidden;
  box-shadow:0 16px 38px rgba(16,16,16,.16); display:block; text-decoration:none;
  outline:1px solid rgba(166,124,46,.35); outline-offset:-7px;
}
.rtile img{position:absolute; inset:0; width:100%; height:100%; object-fit:cover; transition:transform .6s ease}
.rtile:hover img{transform:scale(1.05)}
.rtile .scrim{position:absolute; inset:0; background:linear-gradient(to top, rgba(10,10,10,.78) 0%, rgba(10,10,10,.25) 45%, rgba(10,10,10,0) 70%)}
.rtile .cap{position:absolute; left:16px; right:16px; bottom:14px; color:#FFFFFF; line-height:1.4}
.rtile .num{font-size:.62rem; font-weight:700; letter-spacing:.3em; color:#E9CF9A; text-transform:uppercase}
.rtile h3{font-family:var(--serif); font-weight:500; font-size:1.3rem; margin:3px 0 4px; color:#FFFFFF}
.rtile .cap p{font-size:.78rem; font-weight:400; color:#F1EDE2; margin:0}
.rtile .arr{
  position:absolute; top:12px; right:12px; width:30px; height:30px;
  border:1px solid var(--gold); border-radius:50%; color:#E9CF9A;
  display:flex; align-items:center; justify-content:center; font-size:.95rem;
  background:rgba(10,10,10,.25);
}
@media (max-width:760px){.room-tiles{grid-template-columns:repeat(2,1fr)}}

/* ---- the board as small tiles (founder: tiles, not a table) ---- */
.board-sec{padding-top:34px}
.board-sec h2.sec{margin-top:0}
.asof{
  font-size:.75rem; font-weight:700; color:var(--gold);
  letter-spacing:.14em; text-transform:uppercase; margin:-2px 0 6px;
}
.board-intro{font-size:.95rem; color:var(--ink-soft); max-width:680px; margin:0 0 14px; line-height:1.6}
.board-grid{display:grid; grid-template-columns:repeat(4,1fr); gap:13px}
/* the board tiles are STONE with deep-gold titles and near-black
   prices (founder, Oct 16: the earlier black-and-gold tiles were
   "way too dark — and tiles too big"; her stone correction the same
   day — "i dont like the yellow color" — retired the champagne set
   below, and the RESTORATION PASS at the end of this file applies
   the stone values). Small tiles, 4 across.
   The sponsored card and the calculator stay white. */
.ptile{
  border:1px solid #E4D9B8; border-top:2px solid var(--gold); border-radius:10px;
  padding:14px 15px 8px; background:#F7F0DC; box-shadow:0 8px 20px rgba(16,16,16,.07);
  display:flex; flex-direction:column;
}
.ptile h3{font-family:var(--serif); font-weight:600; font-size:17px; color:#7A5A1E; margin:0 0 6px}
.prow{
  display:flex; justify-content:space-between; align-items:baseline; gap:8px;
  padding:6px 2px; border-bottom:1px solid #E7DCC0;
}
.prow:last-of-type{border-bottom:none}
.prow .c{font-size:10.5px; letter-spacing:.14em; text-transform:uppercase; color:var(--gold); white-space:nowrap}
.prow .p{font-family:var(--serif); font-weight:600; font-size:15px; color:#101010; text-align:right}
.prow .p.na{color:#C4B489; font-weight:400}
.prow .psub{display:block; font-family:var(--sans); font-weight:400; font-size:10.5px; color:var(--gold); letter-spacing:.04em}
.prow.us{background:#FFFDF4; border-radius:5px; padding-left:7px; padding-right:7px; margin:0 -7px}
.prow.us .c{color:#8A6524}
.ptile-more{margin:auto 0 0; padding-top:10px}
.ptile-more a{
  font-size:.7rem; font-weight:700; letter-spacing:.16em; text-transform:uppercase;
  color:#8A6524; text-decoration:none;
}
.ptile-more a:hover{color:#7A5A1E}
.board-note{font-size:.86rem; color:#3D3D3D; margin-top:14px; line-height:1.65; max-width:760px}
@media (max-width:1000px){.board-grid{grid-template-columns:repeat(3,1fr)}}
@media (max-width:760px){.board-grid{grid-template-columns:repeat(2,1fr)}}
@media (max-width:560px){.board-grid{grid-template-columns:1fr}}

/* ---- the sponsored slot: ONE, picture-led, always labeled ----
   Sponsorship buys placement only — never a price, a range, or a
   ranking. First-party markup only; no ad code of any kind. While
   no sponsor exists, the slot carries an example, labeled as one. */
.sponsored-sec{padding:26px 0 4px}
.sponsored-card{
  border:1px solid var(--line); border-top:2px solid var(--gold); border-radius:12px;
  background:#FFFFFF; box-shadow:0 10px 26px rgba(16,16,16,.06);
  display:flex; gap:22px; flex-wrap:wrap; padding:20px 24px; align-items:center;
}
.sponsored-img{flex:0 0 210px; height:158px; border-radius:10px; overflow:hidden}
.sponsored-img img{width:100%; height:100%; object-fit:cover; display:block}
.sponsored-body{flex:1; min-width:250px}
.sponsored-pill{
  display:inline-block; background:#FBF7EC; border:1px solid #E4D9B8; border-radius:999px;
  padding:3px 12px; font-size:.66rem; font-weight:700; letter-spacing:.22em;
  text-transform:uppercase; color:#8A6524;
}
.sponsored-tag{
  font-size:.7rem; color:#999087; margin-left:8px;
  letter-spacing:.08em; text-transform:uppercase;
}
.sponsored-title{font-family:var(--serif); font-weight:600; font-size:1.44rem; margin-top:8px; color:var(--ink)}
.sponsored-line{font-size:.92rem; color:var(--ink-soft); margin:2px 0 0; max-width:520px; line-height:1.55}
.sponsored-law{font-size:.8rem; color:#77736A; margin:5px 0 0}
.sponsored-cta{margin:12px 0 0}
@media (max-width:560px){.sponsored-img{flex-basis:100%; height:190px}}

/* ---- the estimate calculator ---- */
.calc{padding:44px 0 8px}
.calc h2{font-size:1.9rem; margin:2px 0 6px}
.calc .fine{font-size:.9rem; color:#55524C; max-width:640px; margin:0}
.calc-box{
  margin-top:16px; border:1px solid var(--line); border-top:2px solid var(--gold);
  border-radius:12px; padding:22px 24px; background:#FFFFFF;
  box-shadow:0 12px 30px rgba(16,16,16,.07);
}
.calc-row{display:flex; gap:10px; flex-wrap:wrap}
.calc-row select{
  flex:1; min-width:170px; padding:12px; border:1px solid #D9D2BE; border-radius:7px;
  font-family:var(--sans); font-size:.95rem; background:#FFFFFF; color:var(--ink);
}
.calc-row select:focus{border-color:var(--gold); outline:none; box-shadow:0 0 0 3px rgba(166,124,46,.18)}
.calc-out{margin-top:18px; border-top:1px solid #F0EBDD; padding-top:16px}
.calc-range{font-family:var(--serif); font-weight:600; font-size:2.1rem; color:var(--ink); line-height:1.15}
.calc-range a{color:inherit; text-decoration:none; border-bottom:2px solid var(--gold)}
.calc-range a:hover{color:var(--gold)}
.calc-range.calc-empty{font-size:1.4rem}
.calc-basis{font-size:.82rem; color:#8A6524; letter-spacing:.06em; margin-top:3px}
.calc-note{font-size:.9rem; color:#44423C; margin:8px 0 0; max-width:660px; line-height:1.6}
.calc-more{margin:10px 0 0}
.calc-more a{
  font-size:.72rem; font-weight:700; letter-spacing:.15em; text-transform:uppercase;
  color:var(--gold); text-decoration:none;
}
.calc-more a:hover{color:var(--ink)}
.calc-anchors{margin-top:14px; font-size:.9rem; color:var(--ink-soft)}
.calc-anchors b{color:var(--ink)}
.calc-anchors ul{margin:6px 0 0; padding:0; list-style:none}
.calc-anchors li{margin:4px 0}
.calc-anchors a{color:var(--ink); font-weight:700}
.calc-anchors a:hover{color:var(--gold)}
.calc-posted{color:#8A6524}
.calc-cta{margin-top:16px}

/* ============================================================
   FIX PASS 2026-10-30 (UX audit items 1, 14, 24): the board as
   champagne tiles everywhere (the /men treatment, generalised),
   small-text gold darkened to AA, and the stategrid inline-link fix.
   ============================================================ */
:root{--gold-text:#7A5A1E}
.eyebrow, table.board thead th, .filters label, .rooms-strip .rs-label{color:var(--gold-text)}
table.board td.price{white-space:normal}
.mb-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:14px}
.mb-grid.solo{grid-template-columns:1fr}
@media (max-width:820px){.mb-grid{grid-template-columns:1fr}}
.mb-tile h3 a{color:#7A5A1E;text-decoration:none}
.mb-tile h3 a:hover{text-decoration:underline}
.mb-tile>.basis{margin:0 0 8px}
.mb-row{padding:7px 2px;border-bottom:1px solid #E7DCC0}
.mb-row:last-child{border-bottom:none}
.mb-row.dim{opacity:.38}
.mb-line{display:flex;justify-content:space-between;align-items:baseline;gap:10px}
.mb-c{font-size:10.5px;font-weight:700;letter-spacing:.14em;text-transform:uppercase;color:#7A5A1E;white-space:nowrap}
.mb-p{font-family:var(--serif);font-weight:600;font-size:15.5px;color:#101010;text-align:right}
.surgeon-list{border:1px solid var(--line);border-top:3px double var(--gold);border-radius:4px;padding:6px 18px}
.surgeon-row{padding:10px 2px;border-bottom:1px solid var(--line-soft)}
.surgeon-row:last-child{border-bottom:none}
.surgeon-row p{margin:2px 0}
.surgeon-name strong{font-family:var(--serif);font-size:1.05rem}
.posted-list{border:1px solid var(--line);border-top:3px double var(--gold);border-radius:4px;padding:6px 18px}
.posted-row{display:flex;gap:14px;align-items:baseline;padding:10px 2px;border-bottom:1px solid var(--line-soft)}
.posted-row:last-child{border-bottom:none}
.cmp-price{font-family:var(--serif);font-weight:600;font-size:1.05rem;color:var(--ink);margin:4px 0 8px}
.cmp-list{margin:6px 0;padding-left:18px}
.cmp-list li{margin:5px 0;line-height:1.55}
.offer-cta{margin-left:auto;white-space:nowrap}
.offer-cta a{font-weight:700}
button.doorlink{background:none;border:none;padding:0;cursor:pointer;color:var(--ink);text-decoration:underline;text-underline-offset:3px;font:inherit}
.stategrid > div a{display:inline;background:none;border:none;padding:0;border-radius:0;box-shadow:none;font-family:inherit;font-size:inherit;text-decoration:underline}
@media (max-width:640px){
  table.board{display:table;overflow-x:visible}
  table.board thead{display:table-header-group}
  table.board tbody{display:table-row-group}
  table.board thead, table.board tbody{min-width:0}
}

/* ============================================================
   FIX PASS 2026-10-30 WAVE 2 (UX audit items 19, 20 + the
   explore/compare phone overflow): the required-field marker,
   a condensed phone masthead (CSS only — header markup is
   untouched), and filter selects capped to their column (a
   procedure select's longest option label was forcing the
   .filters row ~33px past a 390px viewport on /explore and
   /compare).
   ============================================================ */
.req{color:var(--gold-text,#7A5A1E);font-weight:700}
.filters>div{min-width:0}
.filters select,.filters input[type=number]{max-width:100%}
@media (max-width:640px){
  header.site .nav{gap:6px 10px;padding:9px 0 8px}
  header.site .logo{font-size:1.02rem}
  header.site .nav .links{margin-top:2px;gap:0 2px}
  header.site .nav a.nl{font-size:.6rem;letter-spacing:.07em;margin:0 5px;padding:3px 0}
  header.site .sp{display:none}
  header.site .scopepick{font-size:.7rem;gap:4px}
  header.site .scopepick a{padding:3px 8px;font-size:.64rem}
  header.site .btn.small{padding:8px 14px;font-size:.8rem}
}

/* ============================================================
   DROPDOWN BEHAVIOR FIX — 2026-11-01 (Bibie, live: "the drop
   downs does not drop down... so i cant click or test them").
   Two defects: (1) the menu hangs 9px below its label with no
   hover bridge, so the pointer crosses dead air and the menu
   closes before it can be reached (the demo cured this Oct 16
   with an invisible ::before bridge — ported here); (2) the
   .open state the tap/click toggle script drives (appended at
   the foot of every page) had no CSS rule. Header markup and
   menu contents are untouched.
   ============================================================ */
.dd-menu::before{
  content:""; position:absolute; top:-12px; left:0; right:0; height:12px;
}
.dd.open .dd-menu{display:flex}

/* ============================================================
   RESTORATION PASS — 2026-11 (demo-faithful tokens)
   Wave 1 of the 2026-11-02 restoration (Bibie's drift review,
   items D1, D3, D12, D13, D14, D15, D30 + the slim-footer rule).
   The approved demo (club-demo /club-home) is the design record;
   the values below are its measured tokens. This section is
   appended LAST so it wins the cascade over the historical rules
   above without rewriting them; the base rules stay as the
   record of how the build drifted. One deliberate non-change:
   body line-height is NOT reset here — the demo sets line-height
   per section, so the section-level ports in later waves carry
   their own line-heights (D15 note).
   ============================================================ */

/* D1 — the page frame: main content runs to the demo's full-width
   measure (1400px frame, 40px gutters). Header/footer wraps keep
   their 1120px measure — .wrap is NOT widened globally. Pages mark
   the content column up as <main class="wrap">, so the compound
   selector carries the rule; the descendant form is kept alongside
   it for any page that nests a .wrap inside <main>. */
main.wrap, main .wrap{max-width:1400px;padding:0 40px}

/* D3 — stone, her final colour ruling (Oct 16: "i dont like the
   yellow color"): the champagne set (#F7F0DC/#E4D9B8/#7A5A1E/
   #C4B489/#E7DCC0/#FFFDF4) is replaced by the demo's stone set. */
.ptile{background:#F1EFE9;border-color:#DDD8CE}
.ptile h3{color:#8A6524}
.mb-tile h3 a{color:#8A6524}
.prow{padding:4px 2px;border-bottom-color:#E0DCD2}
.prow .p{font-size:16.5px}
.prow .p.na{color:#B9B2A0}
.prow.us{background:#FFFFFF}
.mb-row{border-bottom-color:#E0DCD2}
.mb-c{color:#A67C2E}
.mb-p{font-size:16.5px}
.sponsored-pill{background:#F1EFE9;border-color:#DDD8CE}

/* D13 — the card component: stone hairline, 2px gold top, 12px
   radius, 20/22px padding (the demo's card language; .notice joins
   it so the build speaks ONE block language, .redflag's radius
   aligns). */
.card{border:1px solid #DDD8CE;border-top:2px solid #A67C2E;border-radius:12px;padding:20px 22px}
.notice{border:1px solid #DDD8CE;border-top:2px solid #A67C2E;border-radius:12px}
.redflag{border-radius:12px}

/* D14 — button voice: the demo's small uppercase pill (12px/400,
   .12em tracking, 10/22px, no border). .btn.ghost keeps its own
   1px border — its two-class rule outranks this one-class rule. */
.btn{font-family:var(--sans);font-size:12px;font-weight:400;text-transform:uppercase;letter-spacing:.12em;padding:10px 22px;border:none}
header.site .btn.small{padding:10px 22px;font-size:12px}
/* D14 phone guard: the wider tracking inflates a flex-row button's
   min-content past a phone viewport when its label is long (the
   clinic pages' "Official Instagram @…" link buttons) — a flex
   item may shrink below min-content so its label wraps instead
   of pushing the page sideways. Desktop voice is untouched. */
p:has(> a.btn) > a.btn{min-width:0}
.btn{max-width:100%}

/* D15 — type scale and rhythm: inner-page H1 at the demo's
   36px/600/1.45 (.hero h1, .hero-panel h1 and article.guide h1
   still win by specificity — untouched), section H2s at
   29px/600, board/calculator section padding and heading sizes,
   room-tile number/caption weights. */
main h1{font-size:36px;font-weight:600;line-height:1.45}
h2.sec{font-size:29px;font-weight:600}
.board-sec{padding:26px 0 44px}
.calc{padding:14px 0 42px}
.calc h2{font-size:27px;font-weight:600}
.rooms-head h2{font-size:27px}
.rtile .num{font-weight:400}
.rtile .cap p{font-size:13.5px;font-weight:300}

/* D12 — the script accent is a real script again: self-hosted
   Great Vibes (see the @font-face at the top of this file),
   32px/400, upright — the demo's kicker face. The gold colour
   still comes from the base .script-line rule. */
.script-line{font-family:"Great Vibes",cursive;font-style:normal;font-weight:400;font-size:32px}
.script{font-family:"Great Vibes",cursive;font-style:normal;font-weight:400;font-size:32px}

/* The slim footer (Bibie's ruling, Nov 2 — every page ends with
   the demo's one-line footer, styled here): a hairline rule, one
   flex row, 12px grey. footer.site rules above style the retired
   trust footer and no longer match anything once pages swap. */
footer{border-top:1px solid #E9E4D8;padding:18px 40px;font-size:12px;color:#555555;display:flex;justify-content:space-between;flex-wrap:wrap;gap:8px}
@media (max-width:760px){
  footer{padding-left:18px;padding-right:18px}
}

/* D30 — masthead height: the build header rendered 126px at 1440
   against the demo's 111px. The differing measures, found against
   the header.site CSS the demo page embeds: the nav row gap
   (build 16px vs demo 10px) and the links row's top margin (build
   4px vs demo 0), closed out with a 3px/2px nav padding trim —
   spacing measures only, header markup untouched. Desktop only:
   the approved phone masthead condensation (<=640px rules above)
   is not disturbed. */
@media (min-width:641px){
  header.site .nav{gap:10px 14px;padding:13px 0 11px}
  header.site .nav .links{margin-top:0}
}

@media (max-width:640px){
  /* D1 phone gutter: main content keeps the 17px phone gutter. */
  main.wrap, main .wrap{padding:0 17px}
  /* D14 phone guard: re-assert the approved condensed phone
     masthead button over the desktop button rule above — padding
     and size, plus the pre-restoration tracking and case, so the
     phone masthead keeps its exact approved measure (the desktop
     tracking/case would widen the button ~40px and wrap the
     masthead row). */
  header.site .btn.small{padding:8px 14px;font-size:.8rem;letter-spacing:.03em;text-transform:none}
}

/* ============================================================
   W3-HOUSE · D26 (restoration Wave 3, 2026-11-02) — ONE form
   language, from the approved demo's feedback form
   (baseline-demo/clinic.html .fb-form): labels 10.5px uppercase
   gold #8A6524 with .16em tracking; controls 14.5px Lato,
   10/12px padding, 1px #D9D2BE border, 7px radius (build was
   12px / var(--line) / 16px). Submit buttons compute to Lato
   (var(--sans)) — a <button> does not inherit the page font.
   The checkbox/attestation label (.chk) keeps sentence case:
   the demo's own small-print pattern. Append-only: no existing
   rule above is edited. */
form.shell label, .review-form label{
  font-size:10.5px; letter-spacing:.16em; text-transform:uppercase; color:#8A6524;
}
form.shell input, form.shell select, form.shell textarea,
.review-form input, .review-form select, .review-form textarea{
  border:1px solid #D9D2BE; border-radius:7px; font-size:14.5px; padding:10px 12px;
}
form.shell button[type="submit"], form.shell input[type="submit"],
.review-form button[type="submit"], .review-form input[type="submit"]{
  font-family:var(--sans);
}
.review-form label.chk{
  font-size:.92rem; letter-spacing:0; text-transform:none; color:var(--ink);
}

/* ——— W3-BOARDROWS · D21 (2026-11-02): board-row presentation ———
   Board rows carry prices only — no per-row basis/source lines. The two
   surviving small-print spans keep the old .basis typography under their
   own names: .proc-desc (the procedure description under a tile title)
   and .altprice (the extra published-figure note, "also listed ~" /
   "average package ~"). .p.na is the demo's pale no-data dash. */
.proc-desc{display:block;font-family:var(--sans);font-weight:400;font-size:.78rem;color:var(--muted);margin-top:3px;line-height:1.5}
.mb-tile>.proc-desc{margin:0 0 8px}
.altprice{display:block;font-family:var(--sans);font-weight:400;font-size:.78rem;color:var(--muted);margin-top:3px;line-height:1.5}
.p.na{color:#B9B2A0;font-weight:400}

/* Club logo lockup — 2026-11-07 (THE KEY, Bibie's pick): mark beside the wordmark.
   Sizes are fitted to the masthead's existing rows at every breakpoint so the
   header heights do not move: 31px beside the desktop wordmark (the account
   row is 39.2px), stepping down at 640/420 where the phone row is full. */
.logo{display:inline-flex;align-items:center;gap:10px}
.logo-mark{width:31px;height:31px;flex:none;display:block}
@media (max-width:640px){.logo{gap:7px}.logo-mark{width:26px;height:26px}}
@media (max-width:420px){header.site .logo{font-size:.86rem;gap:6px}header.site .nav{column-gap:8px}.logo-mark{width:22px;height:22px}}
@media (max-width:420px){.nav .links>.dd.myp{margin-left:auto}}
@media (max-width:348px){.nav .links>.dd.myp{margin-left:0}}

/* ============================================================
   COMBINED ACCOUNT UNIT — 2026-11-20 (Bibie: "can be combined",
   with her reference: LOG IN in tracked black caps over a thin
   gold underline, immediately beside a black pill, SIGN UP —
   JOIN FREE, in white tracked caps). The masthead's two doors
   become one unit. Scoped to the account unit only — every
   other .btn and link on the site is untouched. The signed-in
   flip (assets/member.js) reuses these same anchors: .login
   becomes "My Account" under the same gold underline and the
   pill hides, so a member's unit is the underlined account
   entry alone. The phone measure is compact on purpose:
   tracked caps are wide, and the unit must hold its row beside
   the wordmark at 390px without pushing the masthead sideways
   (the ≤640px .btn.small guard above relaxes its case and
   tracking for this unit only, via the stronger selector).
   ============================================================ */
header.site .acct{gap:30px}
header.site .acct .login{
  font-size:.84rem; letter-spacing:.26em;
  border-bottom:2px solid var(--gold); padding-bottom:5px;
}
header.site .acct .btn.small{
  padding:15px 34px; font-size:.84rem; font-weight:600;
  letter-spacing:.15em; text-transform:uppercase;
}
@media (max-width:640px){
  header.site .acct{gap:14px}
  header.site .acct .login{font-size:.62rem; letter-spacing:.15em; padding-bottom:4px}
  header.site .acct .btn.small{
    padding:9px 13px; font-size:.62rem; letter-spacing:.04em;
    text-transform:uppercase;
  }
}
