/* ============================================================
   PAGE COMPOSITION — soft, rounded, airy
   main.css owns the system components. This owns page layout.
   Tokens only. Nothing square, no black keylines, no hard shadows.
   ============================================================

   @author Thomas G. and Sophia, SOPHIA XT LLC (sophiaxt.com)
   @sophia-mark sx1 df5ae605af70 9d718497c2dc 03dw7lplcmWXooEWOgrSvYRNk8aI6hcz36LWHm0BumDE4SfmJ9nKPTffg3ZmqnTN4RXr62szMt7b02KFnsxVCw
 */

html { box-sizing: border-box; -webkit-text-size-adjust: 100%; }
*, *::before, *::after { box-sizing: inherit; }

body {
  margin: 0;
  background: var(--c-paper);
  color: var(--c-text);
  font-family: var(--font-ui);
  font-size: var(--t-body);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; }

.sect__in, .hero__in, .phead__in, .cta__in, .ftr__in, .ftr__bot {
  width: 100%;
  max-width: var(--w-content);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.sect--wide > .sect__in { max-width: var(--w-wide); }
.hero__in, .ftr__in, .ftr__bot { max-width: var(--w-wide); }

.sect { padding-block: var(--s-16); position: relative; }
@media (min-width: 768px) { .sect { padding-block: var(--s-24); } }
.sect--flush { padding-block: var(--s-12); }

/* alternating bands are pale washes with rounded tops, not hard blocks */
.sect--alt {
  background: var(--c-wash-grey);
  border-radius: var(--r-xl);
  margin-inline: var(--gutter);
}
@media (min-width: 1280px) { .sect--alt { margin-inline: var(--s-10); } }

.note {
  margin-top: var(--s-8);
  font-size: var(--t-body-s);
  color: var(--c-text-mute);
  max-width: 66ch;
  background: var(--c-wash-warm);
  border-radius: var(--r-md);
  padding: var(--s-4) var(--s-5);
}

/* ---------- section heads ---------- */
.shead { margin-bottom: var(--s-12); max-width: 74ch; }
.shead__p { margin: var(--s-4) 0 0; color: var(--c-text-2); font-size: var(--t-body-l); max-width: 56ch; }

/* ---------- header extras ---------- */
.hdr__tel { display: none; }
@media (min-width: 1100px) { .hdr__tel { display: inline-flex; } }

.mnav__link {
  display: block;
  padding: var(--s-4) var(--s-5);
  font-family: var(--font-display);
  font-weight: 400;
  font-size: var(--t-display-s);
  color: var(--c-ink);
  text-decoration: none;
  border-radius: var(--r-md);
}
.mnav__link:hover, .mnav__link:focus-visible { background: var(--c-wash-cyan); color: var(--c-cyan-ink); }
.mnav__cta { margin-top: var(--s-5); width: 100%; }

/* ---------- hero ---------- */
.hero { padding-block: var(--s-12) var(--s-16); position: relative; overflow: hidden; }
@media (min-width: 768px) { .hero { padding-block: var(--s-20) var(--s-20); } }

.hero::before {
  content: "";
  position: absolute;
  top: -14%; right: -10%;
  width: 62vw; height: 62vw;
  max-width: 820px; max-height: 820px;
  background: radial-gradient(circle at 50% 50%, rgba(0,203,255,.22), rgba(0,203,255,0) 66%);
  border-radius: 56% 44% 48% 52% / 46% 54% 46% 54%;
  pointer-events: none;
  z-index: 0;
}
.hero::after {
  content: "";
  position: absolute;
  bottom: -22%; left: -14%;
  width: 48vw; height: 48vw;
  max-width: 640px; max-height: 640px;
  background: radial-gradient(circle at 50% 50%, rgba(255,0,102,.16), rgba(255,0,102,0) 68%);
  border-radius: 44% 56% 54% 46% / 52% 44% 56% 48%;
  pointer-events: none;
  z-index: 0;
}

.hero__in { display: grid; gap: var(--s-12); align-items: center; position: relative; z-index: 1; }
@media (min-width: 1024px) { .hero__in { grid-template-columns: 1.05fr 0.95fr; gap: var(--s-16); } }

.hero__sub { margin: var(--s-8) 0 0; font-size: var(--t-body-l); color: var(--c-text-2); max-width: 50ch; }
.hero__cta { display: flex; flex-wrap: wrap; gap: var(--s-4); margin-top: var(--s-8); }

/* the product is cut out and floats; no box, no plate */
.hero__art { position: relative; display: grid; place-items: center; padding: var(--s-8); }
.hero__art::before {
  content: "";
  position: absolute;
  inset: 4% 2%;
  background: radial-gradient(circle at 50% 46%, rgba(255,204,0,.40), rgba(255,204,0,0) 68%);
  border-radius: 58% 42% 46% 54% / 44% 52% 48% 56%;
  z-index: 0;
}
.hero__art img {
  position: relative; z-index: 1;
  width: 100%; height: auto; display: block;
  filter: drop-shadow(0 34px 44px rgba(20,18,23,.26));
  animation: bob 7s var(--ease-soft) infinite;
}
@keyframes bob { 0%,100% { transform: translateY(0) } 50% { transform: translateY(-12px) } }

.hero__flag {
  position: absolute; top: 2%; right: 2%; z-index: 2;
  background: var(--c-pink); color: #fff;
  font-size: var(--t-micro); font-weight: 600;
  letter-spacing: 0.08em; text-transform: uppercase;
  padding: 8px 16px;
  border-radius: var(--r-pill);
  box-shadow: var(--sh-pink);
}

/* ---------- duo ---------- */
.duo { display: grid; grid-template-columns: 1fr; gap: var(--s-6); }
@media (min-width: 860px) { .duo { grid-template-columns: 1fr 1fr; } }
.duo__c {
  padding: var(--s-8);
  display: flex; flex-direction: column;
  background: var(--c-paper);
  border-radius: var(--r-xl);
  box-shadow: var(--sh-md);
}
@media (min-width: 768px) { .duo__c { padding: var(--s-10); } }
.duo__c:first-child { background: var(--c-wash-cyan); }
.duo__c:last-child  { background: var(--c-wash-pink); }
.duo__num {
  font-family: var(--font-display); font-weight: 400;
  font-size: var(--t-data-xl); line-height: 1; color: var(--c-ink); opacity: .22;
}
.duo__h { font-family: var(--font-display); font-weight: 400; font-size: var(--t-display-s); line-height: 1.1; margin: var(--s-3) 0 0; }
.duo__p { margin: var(--s-4) 0 0; color: var(--c-text-2); font-size: var(--t-body-s); }

.ticks { list-style: none; margin: var(--s-6) 0 var(--s-8); padding: 0; }
.ticks li {
  position: relative;
  padding: var(--s-3) 0 var(--s-3) var(--s-8);
  font-size: var(--t-body-s);
  color: var(--c-text-2);
}
.ticks li + li { border-top: 1px solid var(--c-line); }
.ticks li::before {
  content: "";
  position: absolute; left: 0; top: 1.05em;
  width: 18px; height: 18px;
  border-radius: var(--r-pill);
  background: var(--c-cyan);
  box-shadow: inset 0 0 0 5px rgba(255,255,255,.9);
}
.duo__c:last-child .ticks li::before { background: var(--c-pink); }
.duo__c .btn { align-self: flex-start; margin-top: auto; }

/* ---------- category cards ---------- */
.cats { display: grid; grid-template-columns: 1fr; gap: var(--s-5); }
@media (min-width: 560px)  { .cats { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .cats { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1320px) { .cats { grid-template-columns: repeat(5, 1fr); } }

.ccard {
  display: flex; flex-direction: column;
  text-decoration: none; color: inherit;
  background: var(--c-paper);
  border-radius: var(--r-lg);
  box-shadow: var(--sh-sm);
  overflow: hidden;
  transition: transform 260ms var(--ease-pop), box-shadow 260ms var(--ease-pop);
}
.ccard:hover, .ccard:focus-visible { transform: translateY(-6px); box-shadow: var(--sh-lg); }
.ccard:nth-child(1) .plate::before { background: radial-gradient(circle at 50% 50%, rgba(0,203,255,.34), transparent 68%); }
.ccard:nth-child(2) .plate::before { background: radial-gradient(circle at 50% 50%, rgba(255,0,102,.26), transparent 68%); }
.ccard:nth-child(3) .plate::before { background: radial-gradient(circle at 50% 50%, rgba(255,204,0,.36), transparent 68%); }
.ccard:nth-child(4) .plate::before { background: radial-gradient(circle at 50% 50%, rgba(255,102,0,.26), transparent 68%); }
.ccard:nth-child(5) .plate::before { background: radial-gradient(circle at 50% 50%, rgba(0,203,255,.26), transparent 68%); }
.ccard__b { padding: var(--s-5) var(--s-6) var(--s-6); display: flex; flex-direction: column; gap: var(--s-2); flex: 1; }
.ccard__h { font-family: var(--font-display); font-weight: 400; font-size: var(--t-title); line-height: 1.15; margin: 0; }
.ccard__p { margin: 0; font-size: var(--t-body-s); color: var(--c-text-2); }
.ccard__n {
  margin-top: auto; padding-top: var(--s-4);
  font-size: var(--t-data-xs); color: var(--c-text-mute);
}

/* ---------- finishes ---------- */
.fins { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr; gap: var(--s-5); }
@media (min-width: 560px)  { .fins { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .fins { grid-template-columns: repeat(3, 1fr); } }
.fin { padding: var(--s-6) var(--s-7, 28px); background: var(--c-paper); border-radius: var(--r-lg); box-shadow: var(--sh-sm); }
.fin__n {
  display: inline-grid; place-items: center;
  width: 38px; height: 38px;
  border-radius: var(--r-pill);
  background: var(--c-wash-cyan); color: var(--c-cyan-ink);
  font-size: var(--t-data-s); font-weight: 600;
}
.fin__h { font-family: var(--font-display); font-weight: 400; font-size: var(--t-title); margin: var(--s-4) 0 0; }
.fin__p { margin: var(--s-2) 0 0; font-size: var(--t-body-s); color: var(--c-text-2); }

/* ---------- process ---------- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr; gap: var(--s-5); }
@media (min-width: 560px)  { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .steps { grid-template-columns: repeat(4, 1fr); } }
.step { padding: var(--s-6); background: var(--c-paper); border-radius: var(--r-lg); box-shadow: var(--sh-sm); }
.step__n {
  display: inline-grid; place-items: center;
  width: 46px; height: 46px;
  border-radius: var(--r-pill);
  background: var(--c-yellow); color: var(--c-on-fill);
  font-family: var(--font-display); font-weight: 400; font-size: var(--t-data-m);
  box-shadow: 0 8px 18px rgba(200,160,0,.32);
}
.step__h { font-family: var(--font-display); font-weight: 400; font-size: var(--t-title); margin: var(--s-5) 0 0; }
.step__p { margin: var(--s-2) 0 0; font-size: var(--t-body-s); color: var(--c-text-2); }

/* ---------- locations ---------- */
.locs { display: grid; grid-template-columns: 1fr; gap: var(--s-5); }
@media (min-width: 760px) { .locs { grid-template-columns: repeat(3, 1fr); } }
.loc { padding: var(--s-7, 28px); display: flex; flex-direction: column; background: var(--c-paper); border-radius: var(--r-xl); box-shadow: var(--sh-md); }
.loc:nth-child(1) { background: var(--c-wash-cyan); }
.loc:nth-child(2) { background: var(--c-wash-pink); }
.loc:nth-child(3) { background: var(--c-wash-warm); }
.loc__city {
  font-family: var(--font-display); font-weight: 400;
  font-size: var(--t-display-s); margin: var(--s-2) 0 0; line-height: 1.1;
  display: flex; align-items: baseline; gap: var(--s-3);
}
.loc__st {
  font-size: var(--t-micro); font-weight: 600; letter-spacing: 0.1em;
  background: rgba(255,255,255,.75); color: var(--c-text-2);
  border-radius: var(--r-pill); padding: 4px 10px;
}
.loc__addr { font-style: normal; margin: var(--s-4) 0 0; color: var(--c-text-2); font-size: var(--t-body-s); }
.loc__tel { display: inline-block; margin-top: var(--s-4); color: var(--c-cyan-ink); font-size: var(--t-data-m); font-weight: 600; text-decoration: none; }
.loc__tel:hover, .loc__tel:focus-visible { text-decoration: underline; }
.loc__d { margin: var(--s-5) 0 0; }
.loc__dr { display: flex; justify-content: space-between; gap: var(--s-4); padding: var(--s-3) 0; }
.loc__dr + .loc__dr { border-top: 1px solid rgba(20,18,23,.08); }
.loc__dr dt { font-size: var(--t-micro); text-transform: uppercase; letter-spacing: 0.08em; color: var(--c-text-mute); }
.loc__dr dd { margin: 0; font-size: var(--t-body-s); text-align: right; }
.loc__dr dd a { color: var(--c-cyan-ink); text-decoration: none; }
.loc__chips { display: flex; flex-wrap: wrap; gap: var(--s-2); margin-top: var(--s-5); }
.loc__cta { margin-top: var(--s-6); align-self: flex-start; }

/* ---------- cta band ---------- */
.cta {
  margin: var(--s-20) var(--gutter) 0;
  background: linear-gradient(135deg, var(--c-wash-cyan), var(--c-wash-pink));
  border-radius: var(--r-xl);
  padding-block: var(--s-20);
  text-align: center;
}
.cta__h { font-family: var(--font-display); font-weight: 400; font-size: var(--t-display-l); margin: 0; line-height: 1.08; color: var(--c-ink); }
.cta__p { margin: var(--s-5) auto var(--s-8); color: var(--c-text-2); max-width: 46ch; font-size: var(--t-body-l); }

/* ---------- page head ---------- */
.phead { padding-block: var(--s-12) var(--s-10); position: relative; }
@media (min-width: 768px) { .phead { padding-block: var(--s-16) var(--s-12); } }
.phead__h { font-family: var(--font-display); font-weight: 400; font-size: var(--t-display-l); line-height: 1.06; margin: var(--s-4) 0 0; color: var(--c-ink); }
.phead__p { margin: var(--s-5) 0 0; font-size: var(--t-body-l); color: var(--c-text-2); max-width: 58ch; }

.crumbs { display: flex; gap: var(--s-2); align-items: center; font-size: var(--t-micro); color: var(--c-text-mute); margin-bottom: var(--s-5); }
.crumbs a { color: var(--c-text-2); text-decoration: none; }
.crumbs a:hover, .crumbs a:focus-visible { color: var(--c-cyan-ink); }

/* ---------- catalog extras ---------- */
.rail__list { display: flex; flex-direction: column; gap: 2px; }
.rail__list--grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2px var(--s-3); }
.rail__range { display: flex; align-items: center; gap: var(--s-2); }
.rail__range .finp { min-width: 0; flex: 1; }
.rail__dash { color: var(--c-text-mute); }
.rail__note { margin: var(--s-6) 0 0; padding-top: var(--s-4); border-top: 1px solid var(--c-line); font-size: var(--t-micro); line-height: 1.5; color: var(--c-text-mute); }
.sel__w { display: inline-flex; }
.lnkbtn { background: none; border: 0; padding: 0; color: var(--c-cyan-ink); font: inherit; cursor: pointer; text-decoration: underline; }
.pricenote { max-width: 72ch; background: var(--c-wash-grey); border-radius: var(--r-xl); padding: var(--s-8); }
.pricenote__h { font-family: var(--font-display); font-weight: 400; font-size: var(--t-display-s); margin: 0 0 var(--s-4); }
.pricenote p { color: var(--c-text-2); font-size: var(--t-body-s); margin: 0 0 var(--s-3); }
.pricenote .u-data { color: var(--c-pink-ink); font-weight: 600; }

/* ---------- configurator ---------- */
.cfgw { display: grid; gap: var(--s-8); align-items: start; }
@media (min-width: 1024px) { .cfgw { grid-template-columns: 1fr 360px; gap: var(--s-10); } }
.cfgw > * { min-width: 0; }
.cfg, .cfg__done, .crmbox { min-width: 0; max-width: 100%; }
.cfg__body { margin-top: var(--s-8); min-height: 240px; }
.cfg__loading { color: var(--c-text-mute); font-size: var(--t-body-s); }
.cfg__sname { font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; font-size: var(--t-label); }
.cfg__h { font-family: var(--font-display); font-weight: 400; font-size: var(--t-display-s); line-height: 1.1; margin: 0; }
.cfg__h:focus-visible { outline: 3px solid var(--focus-ring); outline-offset: 4px; border-radius: var(--r-sm); }
.cfg__help { margin: var(--s-3) 0 var(--s-6); color: var(--c-text-2); font-size: var(--t-body-s); max-width: 56ch; }
.cfg__s[hidden] { display: none; }
.cfg:has(.cfg__done:not([hidden])) .cfg__body { min-height: 0; margin-top: 0; }
.cfg__msg {
  margin-top: var(--s-5); padding: var(--s-4) var(--s-5);
  background: var(--c-wash-warm); color: var(--c-text);
  border-radius: var(--r-md); font-size: var(--t-body-s); font-weight: 500;
}
.cfg__msg[hidden] { display: none; }

.qsum__h { font-family: var(--font-display); font-weight: 400; font-size: var(--t-title); margin: 0 0 var(--s-5); }
.qsum__hr { border: 0; border-top: 1px solid var(--c-line); margin: var(--s-5) 0; }
.qsum__l--money .qsum__r dd { color: var(--c-pink-ink); font-weight: 600; }
.qsum__note { margin: var(--s-5) 0 0; padding-top: var(--s-4); border-top: 1px solid var(--c-line); font-size: var(--t-micro); line-height: 1.6; color: var(--c-text-mute); }

.artw { display: grid; gap: var(--s-5); }
@media (min-width: 768px) { .artw { grid-template-columns: 1fr 1fr; gap: var(--s-6); } }
.artw__c { background: var(--c-wash-cyan); border-radius: var(--r-xl); padding: var(--s-6) var(--s-7, 28px); }
.artw__c:last-child { background: var(--c-wash-pink); }
.artw__h { font-family: var(--font-display); font-weight: 400; font-size: var(--t-title); margin: 0 0 var(--s-3); }
.artw__c p { margin: 0; color: var(--c-text-2); font-size: var(--t-body-s); }

/* quote done panel */
.cfg__done { background: var(--c-paper); border-radius: var(--r-xl); box-shadow: var(--sh-lg); padding: var(--s-8); }
.cfg__done h2 { font-family: var(--font-display); font-weight: 400; font-size: var(--t-display-s); margin: 0 0 var(--s-3); }
.cfg__done h2:focus-visible { outline: 3px solid var(--focus-ring); outline-offset: 4px; border-radius: var(--r-sm); }
.cfg__done h3 { font-family: var(--font-display); font-weight: 400; font-size: var(--t-title); margin: var(--s-8) 0 var(--s-3); }
.cfg__done > p { font-size: var(--t-body-s); color: var(--c-text-2); margin: 0 0 var(--s-6); }
.cfg__done dl { margin: 0; display: grid; grid-template-columns: minmax(130px, 200px) 1fr; }
.cfg__done dt { font-size: var(--t-micro); text-transform: uppercase; letter-spacing: 0.06em; color: var(--c-text-mute); padding: var(--s-3) var(--s-3) var(--s-3) 0; border-bottom: 1px solid var(--c-line); }
.cfg__done dd { margin: 0; font-size: var(--t-body-s); font-weight: 600; padding: var(--s-3) 0; border-bottom: 1px solid var(--c-line); text-align: right; min-width: 0; overflow-wrap: anywhere; }
.cfg__done ul { margin: 0; padding-left: var(--s-5); font-size: var(--t-body-s); color: var(--c-text-2); }
.cfg__done ul a { color: var(--c-cyan-ink); }
.cfg__done > p:last-of-type { margin-top: var(--s-8); display: flex; gap: var(--s-3); flex-wrap: wrap; }
@media (max-width: 560px) {
  .cfg__done dl { grid-template-columns: 1fr; }
  .cfg__done dt { border-bottom: 0; padding-bottom: 0; }
  .cfg__done dd { text-align: left; padding-top: 2px; }
}

/* CRM payload panel */
.crmbox { margin-top: var(--s-8); background: var(--c-wash-grey); border-radius: var(--r-xl); padding: var(--s-6); }
.crmbox h3 { font-family: var(--font-display); font-weight: 400; font-size: var(--t-title); margin: 0 0 var(--s-3); display: flex; align-items: center; gap: var(--s-3); flex-wrap: wrap; }
.crmbox__tag { font-size: var(--t-micro); font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; background: var(--c-yellow); color: var(--c-on-fill); border-radius: var(--r-pill); padding: 5px 12px; }
.crmbox__p { margin: 0 0 var(--s-4); font-size: var(--t-body-s); color: var(--c-text-2); }
.crmbox__p code { font-family: var(--font-data); font-size: .9em; background: var(--c-paper); padding: 2px 8px; border-radius: var(--r-pill); }
.crmbox__err { color: var(--c-pink-ink); font-weight: 600; font-size: var(--t-body-s); margin: 0 0 var(--s-3); }
.crmbox__pre {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: var(--t-data-xs); line-height: 1.6; margin: 0; padding: var(--s-5);
  background: var(--c-ink); color: #E6E3EC; border-radius: var(--r-md);
  max-width: 100%; overflow-x: auto; white-space: pre-wrap; word-break: break-word;
}

/* ---------- footer ---------- */
.ftr { margin-top: var(--s-24); background: var(--c-ink); color: #E6E3EC; border-radius: var(--r-xl) var(--r-xl) 0 0; }
.ftr__in { display: grid; gap: var(--s-10); padding-block: var(--s-16) var(--s-12); }
@media (min-width: 768px) { .ftr__in { grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: var(--s-8); } }
.ftr__logo { width: 190px; height: auto; display: block; }
.ftr__tag { margin: var(--s-5) 0 0; color: #A8A3B4; font-size: var(--t-body-s); max-width: 34ch; }
.ftr__col { display: flex; flex-direction: column; gap: var(--s-2); }
.ftr__h { font-family: var(--font-display); font-weight: 400; font-size: var(--t-title); color: var(--c-yellow); margin: 0 0 var(--s-4); }
.ftr__col a { color: #CFCAD9; text-decoration: none; font-size: var(--t-body-s); padding: 3px 0; border-radius: var(--r-sm); }
.ftr__col a:hover, .ftr__col a:focus-visible { color: var(--c-cyan); }
.ftr__t { margin: 0; font-size: var(--t-body-s); color: #CFCAD9; }
.ftr__t .u-data { color: var(--c-yellow); font-weight: 600; }
.ftr__bot { border-top: 1px solid rgba(255,255,255,.10); padding-block: var(--s-5); display: flex; flex-wrap: wrap; gap: var(--s-3); justify-content: space-between; font-size: var(--t-micro); color: #8B8697; }
.ftr__bot p { margin: 0; }
.ftr__demo { color: #6F6A7B; }

/* ---------- burger ---------- */
.hdr__burger { flex-direction: column; gap: 5px; }
.hdr__burger span { display: block; width: 18px; height: 2px; border-radius: var(--r-pill); background: currentColor; transition: transform 200ms var(--ease-pop), opacity 140ms var(--ease-soft); }
.hdr__burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hdr__burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.hdr__burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (prefers-reduced-motion: reduce) {
  .ccard, .hdr__burger span { transition: none !important; }
  .hero__art img { animation: none; }
}

/* ============================================================
   HEADER — floating capsule (overrides the slab in main.css)
   ============================================================ */
.hdr {
  position: sticky;
  top: var(--s-4);
  z-index: 100;
  background: transparent;
  border-bottom: 0;
  padding-inline: var(--gutter);
  margin-bottom: var(--s-4);
}
.hdr::after { content: none; }          /* kill the hard registration stripe */
.hdr__in {
  display: flex;
  align-items: center;
  gap: var(--s-3);
  height: var(--header-h);
  max-width: var(--w-wide);
  margin-inline: auto;
  padding: 0 var(--s-3) 0 var(--s-5);
  background: rgba(255,255,255,.86);
  -webkit-backdrop-filter: saturate(1.6) blur(14px);
  backdrop-filter: saturate(1.6) blur(14px);
  border: 1px solid var(--c-line);
  border-radius: var(--r-pill);
  box-shadow: var(--sh-md);
}
.hdr__logo { width: 104px; height: auto; display: block; }
.hdr__nav { display: none; gap: 2px; margin-left: var(--s-4); }
@media (min-width: 900px) { .hdr__nav { display: flex; } }
.hdr__link {
  display: inline-flex; align-items: center;
  white-space: nowrap;
  padding: 10px 16px;
  border-radius: var(--r-pill);
  font-size: var(--t-body-s);
  font-weight: 500;
  color: var(--c-text-2);
  text-decoration: none;
  border: 0; background: transparent; box-shadow: none;
  transition: background 180ms var(--ease-soft), color 180ms var(--ease-soft);
}
.hdr__link:hover { background: var(--c-wash-grey); color: var(--c-ink); }
.hdr__link.is-active { background: var(--c-cyan); color: var(--c-on-fill); font-weight: 600; }
.hdr__act { margin-left: auto; display: flex; align-items: center; gap: var(--s-2); }
.hdr__burger { display: inline-flex; }
@media (min-width: 900px) { .hdr__burger { display: none; } }

/* mobile drawer sits under the capsule */
.mnav {
  position: fixed;
  top: calc(var(--header-h) + var(--s-8));
  left: var(--gutter); right: var(--gutter);
  z-index: 95;
  background: var(--c-paper);
  border-radius: var(--r-xl);
  box-shadow: var(--sh-lg);
  padding: var(--s-4);
  border: 1px solid var(--c-line);
}

/* ---------- hero headline sizing ---------- */
.hero__h { font-size: clamp(2.5rem, 1.1rem + 5vw, 5rem); line-height: 1.02; }
@media (min-width: 1024px) { .hero__h { max-width: 11ch; } }

/* ============================================================
   BUTTONS — soft pills (overrides the sticker buttons in main.css)
   ============================================================ */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--s-2);
  min-height: 46px;
  padding: 0 var(--s-6);
  background: var(--c-paper);
  color: var(--c-ink);
  border: 1px solid var(--c-line-2, #DCD8E4);
  border-radius: var(--r-pill);
  box-shadow: var(--sh-sm);
  font-family: var(--font-ui);
  font-size: var(--t-body-s);
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  user-select: none;
  transition: transform 220ms var(--ease-pop), box-shadow 220ms var(--ease-pop), background-color 180ms var(--ease-soft);
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--sh-md); }
.btn:active { transform: translateY(0); box-shadow: var(--sh-sm); }
.btn:focus-visible { outline: 3px solid var(--focus-ring); outline-offset: 3px; }

.btn--lg { min-height: 54px; padding: 0 var(--s-8); font-size: var(--t-body); }

.btn--primary {
  background: var(--c-cyan); color: var(--c-on-fill);
  border-color: transparent; box-shadow: var(--sh-cyan);
}
.btn--primary:hover { box-shadow: 0 18px 40px rgba(0,163,204,.34); }
.btn--secondary {
  background: var(--c-pink); color: #fff;
  border-color: transparent; box-shadow: var(--sh-pink);
}
.btn--secondary:hover { box-shadow: 0 18px 40px rgba(214,0,90,.34); }
.btn--signal {
  background: var(--c-yellow); color: var(--c-on-fill);
  border-color: transparent; box-shadow: 0 12px 28px rgba(200,160,0,.30);
}
.btn--ghost { background: var(--c-paper); color: var(--c-ink); border-color: var(--c-line-2, #DCD8E4); }
.btn--ghost:hover { background: var(--c-wash-grey); }
.btn--primary:focus-visible, .btn--secondary:focus-visible, .btn--signal:focus-visible {
  box-shadow: 0 0 0 6px var(--focus-halo);
}

/* keep the capsule from outgrowing the viewport */
.hdr__act .hdr__tel { display: none; }
@media (min-width: 1180px) { .hdr__act .hdr__tel { display: inline-flex; } }
.hdr__act .btn { min-height: 42px; padding: 0 var(--s-5); font-size: var(--t-body-s); }
@media (max-width: 520px) { .hdr__act .btn--primary { display: none; } }

/* chips and stamps go round too */
.chip, .stamp, .tag { border-radius: var(--r-pill) !important; border: 0 !important; box-shadow: none; }
.chip { background: var(--c-wash-grey); color: var(--c-text-2); padding: 5px 12px; font-size: var(--t-data-xs); }
.stamp { padding: 6px 14px; font-size: var(--t-micro); font-weight: 600; letter-spacing: .06em; }
.stamp--custom { background: var(--c-pink); color: #fff; }
.stamp--stock  { background: var(--c-yellow); color: var(--c-on-fill); }
.stamp--lead   { background: var(--c-orange); color: var(--c-on-fill); }

/* Prism lock: on-accent is ink, not white. White on #FF0066 measures 3.86
   and fails AA; ink measures 4.82 and passes. The lock is the authority. */
.btn--secondary { color: var(--c-on-fill); }
.hero__flag, .tag--pink, .stamp--custom { color: var(--c-on-fill); }

.ftr__credit { margin: var(--s-2) 0 0; width: 100%; font-size: var(--t-micro); color: #6F6A7B; }
.ftr--min { margin-top: var(--s-12); border-radius: var(--r-xl) var(--r-xl) 0 0; }
.ftr--min .ftr__bot { border-top: 0; }
