/* ==========================================================================
   Pathyashi Health — design system
   Palette grounded in the materials of an Ayurvedic dispensary:
   forest leaf, turmeric, amla pulp, dried bark.
   ========================================================================== */

:root {
  --ink:      #12231a;
  --moss:     #2d5c3d;
  --moss-lo:  #f0f5ee;
  --sage:     #6f8a74;
  --turmeric: #b9781c;
  --amber:    #e8a93f;
  --bark:     #5c4d33;
  --amla:     #f6f8f2;
  --paper:    #ffffff;
  --rule:     #dde5da;
  --rule-lo:  #edf1ea;

  --ok:       #2e6635;
  --ok-bg:    #e3f0df;
  --wait:     #8a5b00;
  --wait-bg:  #fdf0d6;
  --info:     #2b4e7e;
  --info-bg:  #e6edf8;
  --err:      #a32020;
  --err-bg:   #fdecec;

  --serif: "Fraunces", Iowan Old Style, Palatino, Georgia, serif;
  --sans:  "Instrument Sans", "Segoe UI", system-ui, -apple-system, Helvetica, Arial, sans-serif;

  --gut:   clamp(1.25rem, 5vw, 5.5rem);
  --shell: 78rem;
  --r-sm:  8px;
  --r-md:  14px;
  --r-lg:  24px;

  --shadow-card: 0 1px 2px rgba(18,35,26,.05), 0 12px 28px -18px rgba(18,35,26,.35);
  --shadow-pop:  0 18px 50px -20px rgba(18,35,26,.45);
}

*, *::before, *::after { box-sizing: border-box; }

/* The hidden attribute must beat any display rule below, or elements we
   hide from script (the 3D fallback, the photo pane) stay on screen. */
[hidden] { display: none !important; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.65;
  font-synthesis-weight: none;
  -webkit-font-smoothing: antialiased;
}

img, svg, canvas { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
p { margin: 0 0 1em; }
ul { margin: 0 0 1em; }

h1, h2, h3 {
  font-family: var(--serif);
  color: var(--ink);
  font-weight: 600;
  letter-spacing: -.015em;
  margin: 0 0 .5em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.35rem, 5.2vw, 4.1rem); line-height: 1.04; }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.85rem); line-height: 1.1; }
h3 { font-size: 1.2rem; line-height: 1.25; }

/* ---------- focus + skip ---------- */
:focus-visible {
  outline: 3px solid var(--turmeric);
  outline-offset: 2px;
  border-radius: 3px;
}
.skip {
  position: absolute; left: 8px; top: -60px; z-index: 999;
  background: var(--ink); color: #fff; padding: .7rem 1.1rem;
  border-radius: var(--r-sm); font-weight: 600;
  transition: top .15s;
}
.skip:focus { top: 8px; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ---------- layout ---------- */
.shell { max-width: var(--shell); margin-inline: auto; padding-inline: var(--gut); }
.band  { padding-block: clamp(3.5rem, 7vw, 6.5rem); }
.band--tint { background: var(--amla); }
.band--ink  { background: var(--ink); color: #e6ede6; }
.band--ink h2, .band--ink h3 { color: #fff; }
.lede { font-size: 1.125rem; color: var(--sage); max-width: 56ch; }
.band--ink .lede { color: #b3c4b6; }

/* ---------- announcement + header ---------- */
.announce {
  background: var(--ink); color: #dce7dd;
  font-size: .8125rem; text-align: center; padding: .55rem 1rem;
}
.announce a { color: var(--amber); text-decoration: underline; text-underline-offset: 3px; }

.masthead {
  position: sticky; top: 0; z-index: 60;
  background: rgba(255,255,255,.92);
  backdrop-filter: saturate(150%) blur(10px);
  border-bottom: 1px solid var(--rule);
}
.masthead__in {
  max-width: var(--shell); margin-inline: auto;
  padding: .6rem var(--gut);
  display: flex; align-items: center; gap: 1rem;
}
.brand { display: flex; align-items: center; flex: 0 0 auto; }
.brand img { width: auto; height: 54px; object-fit: contain; }

.nav { display: flex; gap: 1.4rem; margin-left: auto; font-size: .95rem; font-weight: 500; }
.nav a { padding: .35rem 0; border-bottom: 2px solid transparent; }
.nav a:hover { border-bottom-color: var(--turmeric); }
.nav a[aria-current="page"] { border-bottom-color: var(--moss); color: var(--moss); font-weight: 600; }

.tools { display: flex; align-items: center; gap: .5rem; margin-left: 1.25rem; }
.tool {
  display: inline-flex; align-items: center; gap: .45rem;
  border: 1px solid var(--rule); background: #fff;
  border-radius: 999px; padding: .5rem .85rem;
  font-size: .875rem; font-weight: 600; color: var(--ink);
  cursor: pointer;
}
.tool:hover { border-color: var(--moss); color: var(--moss); }
.tool__count {
  min-width: 1.35rem; height: 1.35rem; padding: 0 .35rem;
  display: inline-grid; place-items: center;
  background: var(--moss); color: #fff;
  border-radius: 999px; font-size: .75rem; font-weight: 700;
}
.tool__count[hidden] { display: none; }

.burger {
  display: none; margin-left: .4rem;
  width: 44px; height: 44px; border: 1px solid var(--rule);
  background: #fff; border-radius: var(--r-sm); cursor: pointer;
  align-items: center; justify-content: center;
}
.burger span { display: block; width: 20px; height: 2px; background: var(--ink); position: relative; }
.burger span::before, .burger span::after {
  content: ""; position: absolute; left: 0; width: 20px; height: 2px; background: var(--ink);
  transition: transform .2s;
}
.burger span::before { top: -6px; }
.burger span::after  { top: 6px; }
.burger[aria-expanded="true"] span { background: transparent; }
.burger[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
.burger[aria-expanded="true"] span::after  { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 62rem) {
  .nav {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    background: #fff; border-bottom: 1px solid var(--rule);
    flex-direction: column; gap: 0; padding: .5rem var(--gut) 1.25rem;
    box-shadow: var(--shadow-pop);
  }
  .nav.is-open { display: flex; }
  .nav a { padding: .85rem 0; border-bottom: 1px solid var(--rule-lo); font-size: 1.05rem; }
  .burger { display: inline-flex; }
  .tools { margin-left: auto; }
  .tool--account { display: none; }
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  font-family: var(--sans); font-size: .95rem; font-weight: 600;
  padding: .8rem 1.4rem; border-radius: 999px;
  border: 1.5px solid transparent; cursor: pointer;
  transition: background-color .18s, color .18s, border-color .18s;
  text-align: center;
}
.btn--solid { background: var(--moss); color: #fff; }
.btn--solid:hover { background: var(--ink); }
.btn--line  { background: transparent; color: var(--moss); border-color: var(--rule); }
.btn--line:hover { border-color: var(--moss); background: var(--moss-lo); }
.btn--gold  { background: var(--turmeric); color: #fff; }
.btn--gold:hover { background: #9a6113; }
.btn--sm { padding: .55rem 1rem; font-size: .875rem; }
.btn--full { width: 100%; }
.btn[disabled] { opacity: .5; cursor: not-allowed; }
.btn-row { display: flex; flex-wrap: wrap; gap: .75rem; }

.tlink { font-weight: 600; color: var(--moss); border-bottom: 1.5px solid var(--amber); padding-bottom: 1px; }
.tlink:hover { color: var(--ink); }

/* ---------- hero with 3D ---------- */
.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
  max-width: var(--shell); margin-inline: auto;
  padding: clamp(2.5rem, 6vw, 5.5rem) var(--gut) clamp(3rem, 6vw, 5.5rem);
}
.hero h1 { margin-bottom: .55rem; }
.hero__sub { font-size: 1.15rem; color: var(--sage); max-width: 46ch; }
.hero__note { font-size: .875rem; color: var(--sage); margin-top: 1.5rem; }

.stage {
  position: relative;
  aspect-ratio: 4 / 5;
  min-height: 340px;
  border-radius: var(--r-lg);
  overflow: hidden;
  background:
    radial-gradient(120% 90% at 50% 8%, #fdf5e4 0%, #f2f6ec 45%, #e2ebdd 100%);
  border: 1px solid var(--rule);
}
.stage canvas { width: 100%; height: 100%; display: block; touch-action: pan-y; }
.stage__fallback {
  position: absolute; inset: 0;
  display: grid; place-items: center; padding: 2rem;
}
.stage__fallback img { width: min(70%, 320px); height: auto; }
.stage__hint {
  position: absolute; left: 1rem; bottom: 1rem;
  background: rgba(255,255,255,.85);
  border: 1px solid var(--rule);
  border-radius: 999px; padding: .35rem .8rem;
  font-size: .75rem; font-weight: 600; color: var(--bark);
  pointer-events: none;
}
.stage--compact { aspect-ratio: 1 / 1; min-height: 260px; }

@media (max-width: 62rem) {
  .hero { grid-template-columns: 1fr; }
  .stage { order: -1; aspect-ratio: 5 / 4; min-height: 280px; }
}

/* ---------- pillars ---------- */
.pillars {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
  gap: 1px; background: var(--rule);
  border-block: 1px solid var(--rule);
}
.pillar { background: var(--paper); padding: 2rem clamp(1.25rem, 3vw, 2.25rem); }
.pillar h3 { font-size: 1.05rem; margin-bottom: .35rem; }
.pillar p { font-size: .9375rem; color: var(--sage); margin: 0; }
.pillar__mark { color: var(--turmeric); font-size: 1.5rem; line-height: 1; margin-bottom: .75rem; }

/* ---------- product grid ---------- */
.filters {
  display: flex; flex-wrap: wrap; gap: .75rem; align-items: center;
  margin-bottom: 2rem;
}
.filters input[type="search"] {
  flex: 1 1 16rem; min-width: 0;
  padding: .75rem 1rem; border: 1px solid var(--rule);
  border-radius: 999px; font: inherit; font-size: .95rem; background: #fff;
}
.chip-row { display: flex; flex-wrap: wrap; gap: .5rem; }
.chip {
  border: 1px solid var(--rule); background: #fff; color: var(--bark);
  border-radius: 999px; padding: .45rem .9rem;
  font: inherit; font-size: .8125rem; font-weight: 600; cursor: pointer;
}
.chip[aria-pressed="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }

.grid-products {
  display: grid; gap: 1.5rem;
  grid-template-columns: repeat(auto-fill, minmax(16rem, 1fr));
}
.card {
  display: flex; flex-direction: column;
  border: 1px solid var(--rule); border-radius: var(--r-lg);
  background: #fff; overflow: hidden;
  box-shadow: var(--shadow-card);
}
.card__media { aspect-ratio: 4/3; background: var(--moss-lo); overflow: hidden; }
.card__media img { width: 100%; height: 100%; object-fit: cover; }
.card__body { padding: 1.15rem 1.25rem 1.35rem; display: flex; flex-direction: column; flex: 1; }
.card__cat { font-size: .78rem; font-weight: 600; color: var(--turmeric); letter-spacing: .01em; }
.card h3 { font-size: 1.4rem; margin: .25rem 0 .35rem; }
.card__meta { font-size: .875rem; color: var(--sage); margin: 0 0 1rem; }
.card__foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: .75rem; flex-wrap: wrap; }
.card__price { font-family: var(--serif); font-size: 1.15rem; font-weight: 600; color: var(--moss); }
.card__price small { font-family: var(--sans); font-size: .8rem; color: var(--sage); font-weight: 400; }

.badge {
  display: inline-block; font-size: .7rem; font-weight: 700;
  padding: .25rem .6rem; border-radius: 999px; margin-bottom: .5rem;
  letter-spacing: .01em;
}
.badge--ok   { background: var(--ok-bg);   color: var(--ok); }
.badge--wait { background: var(--wait-bg); color: var(--wait); }
.badge--info { background: var(--info-bg); color: var(--info); }

/* ---------- product detail ---------- */
.detail {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: clamp(2rem, 5vw, 4rem);
  max-width: var(--shell); margin-inline: auto;
  padding: clamp(2rem, 5vw, 4rem) var(--gut);
  align-items: start;
}
.detail__visual { position: sticky; top: 6rem; display: grid; gap: 1rem; }
.detail__photo { border-radius: var(--r-lg); overflow: hidden; background: var(--moss-lo); border: 1px solid var(--rule); }
.viewtabs { display: flex; gap: .5rem; }
.detail h1 { margin-bottom: .25rem; }
.detail__tag { font-size: 1.125rem; color: var(--bark); margin-bottom: 1rem; }
.pricebox {
  border: 1px solid var(--rule); border-radius: var(--r-md);
  padding: 1.15rem 1.25rem; background: var(--amla); margin-block: 1.25rem;
}
.pricebox__now { font-family: var(--serif); font-size: 1.85rem; font-weight: 600; color: var(--moss); line-height: 1.1; }
.pricebox__was { font-size: .95rem; color: var(--sage); margin-left: .5rem; text-decoration: line-through; }
.pricebox__note { font-size: .875rem; color: var(--sage); margin: .35rem 0 0; }

.qtyrow { display: flex; align-items: center; gap: .75rem; margin: 1.1rem 0; flex-wrap: wrap; }
.stepper { display: inline-flex; align-items: center; border: 1px solid var(--rule); border-radius: 999px; overflow: hidden; background: #fff; }
.stepper button {
  width: 40px; height: 42px; border: 0; background: transparent;
  font-size: 1.15rem; cursor: pointer; color: var(--ink); line-height: 1;
}
.stepper button:hover { background: var(--moss-lo); }
.stepper input {
  width: 3.25rem; height: 42px; border: 0; text-align: center;
  font: inherit; font-weight: 600; background: transparent;
  -moz-appearance: textfield;
}
.stepper input::-webkit-outer-spin-button,
.stepper input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

.facts { border-top: 1px solid var(--rule); margin-top: 2rem; }
.facts__row { display: grid; grid-template-columns: 11rem 1fr; gap: 1rem; padding: .85rem 0; border-bottom: 1px solid var(--rule-lo); font-size: .9375rem; }
.facts__row dt { font-weight: 600; color: var(--bark); margin: 0; }
.facts__row dd { margin: 0; color: var(--sage); }

.panel {
  border: 1px solid var(--rule); border-radius: var(--r-md);
  padding: 1.35rem 1.5rem; margin-top: 1.5rem; background: #fff;
}
.panel h3 { margin-bottom: .5rem; }
.panel > p:last-child { margin-bottom: 0; }

.herbs { display: grid; grid-template-columns: repeat(auto-fill, minmax(11rem, 1fr)); gap: .75rem; margin-top: 1rem; }
.herb { border: 1px solid var(--rule-lo); border-radius: var(--r-sm); padding: .75rem .85rem; background: var(--amla); }
.herb b { display: block; font-size: .95rem; }
.herb .dose { display: block; color: var(--turmeric); font-weight: 700; font-size: .875rem; }
.herb i { display: block; font-size: .8rem; color: var(--sage); font-style: italic; }

.focus-list { padding-left: 1.15rem; color: var(--bark); }
.focus-list li { margin-bottom: .35rem; }

.note {
  background: var(--wait-bg); border-left: 4px solid var(--amber);
  border-radius: var(--r-sm); padding: 1rem 1.15rem;
  font-size: .9rem; color: #6b5522; margin-top: 1.5rem;
}
.note p:last-child { margin-bottom: 0; }
.note--plain { background: var(--moss-lo); border-left-color: var(--moss); color: var(--bark); }
.note--err { background: var(--err-bg); border-left-color: var(--err); color: var(--err); }

@media (max-width: 62rem) {
  .detail { grid-template-columns: 1fr; }
  .detail__visual { position: static; }
  .facts__row { grid-template-columns: 1fr; gap: .1rem; }
}

/* ---------- enquiry list (cart) ---------- */
.enq-row {
  display: grid; grid-template-columns: 5rem 1fr auto auto;
  gap: 1rem; align-items: center;
  padding: 1.1rem 0; border-bottom: 1px solid var(--rule-lo);
}
.enq-row img { width: 5rem; height: 5rem; object-fit: cover; border-radius: var(--r-sm); background: var(--moss-lo); }
.enq-row__name { font-family: var(--serif); font-size: 1.15rem; font-weight: 600; }
.enq-row__meta { font-size: .85rem; color: var(--sage); }
.enq-row__line { font-weight: 700; white-space: nowrap; }
.linkbtn { background: none; border: 0; padding: 0; color: var(--err); font: inherit; font-size: .8125rem; cursor: pointer; text-decoration: underline; }
.enq-total {
  display: flex; justify-content: space-between; align-items: baseline;
  padding: 1.25rem 0; border-top: 2px solid var(--ink); margin-top: .5rem;
  font-family: var(--serif); font-size: 1.35rem; font-weight: 600;
}
.enq-layout { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .9fr); gap: clamp(2rem, 4vw, 3.5rem); align-items: start; }
@media (max-width: 62rem) {
  .enq-layout { grid-template-columns: 1fr; }
  .enq-row { grid-template-columns: 4rem 1fr; grid-template-areas: "img name" "img meta" ". qty"; }
  .enq-row img { grid-area: img; width: 4rem; height: 4rem; }
}

/* ---------- forms ---------- */
.form { display: grid; gap: 1rem; }
.field { display: grid; gap: .35rem; }
.field label { font-size: .875rem; font-weight: 600; color: var(--bark); }
.field input, .field textarea, .field select {
  font: inherit; font-size: .95rem;
  padding: .75rem .9rem; border: 1px solid var(--rule);
  border-radius: var(--r-sm); background: #fff; color: var(--ink);
  width: 100%;
}
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--moss); }
.field textarea { min-height: 7rem; resize: vertical; }
.field__err { font-size: .8125rem; color: var(--err); min-height: 1.1em; }
.field--bad input, .field--bad textarea { border-color: var(--err); }
.field__hint { font-size: .8125rem; color: var(--sage); }
.form-grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 40rem) { .form-grid2 { grid-template-columns: 1fr; } }

.box {
  border: 1px solid var(--rule); border-radius: var(--r-lg);
  padding: clamp(1.5rem, 3vw, 2.25rem); background: #fff;
  box-shadow: var(--shadow-card);
}

/* ---------- FAQ ---------- */
.faq { border-top: 1px solid var(--rule); max-width: 50rem; }
.faq details { border-bottom: 1px solid var(--rule); }
.faq summary {
  cursor: pointer; padding: 1.15rem 2.5rem 1.15rem 0; position: relative;
  font-family: var(--serif); font-size: 1.15rem; font-weight: 600;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: .5rem; top: 1rem;
  font-size: 1.5rem; color: var(--turmeric); font-family: var(--sans); font-weight: 400;
}
.faq details[open] summary::after { content: "\2212"; }
.faq details > div { padding-bottom: 1.25rem; color: var(--sage); max-width: 60ch; }

/* ---------- prose (legal pages) ---------- */
.prose { max-width: 44rem; }
.prose h2 { font-size: 1.5rem; margin-top: 2.25rem; }
.prose h3 { margin-top: 1.5rem; }
.prose p, .prose li { color: var(--bark); }
.prose li { margin-bottom: .4rem; }

/* ---------- toast ---------- */
.toast-wrap {
  position: fixed; left: 50%; bottom: calc(1.25rem + env(safe-area-inset-bottom, 0px));
  transform: translateX(-50%); z-index: 200;
  display: grid; gap: .5rem; width: min(24rem, calc(100vw - 2rem));
  pointer-events: none;
}
.toast {
  background: var(--ink); color: #fff;
  padding: .8rem 1.1rem; border-radius: var(--r-md);
  font-size: .9rem; font-weight: 500;
  box-shadow: var(--shadow-pop);
  animation: toast-in .22s ease-out;
}
@keyframes toast-in { from { opacity: 0; transform: translateY(10px); } }

/* ---------- floating whatsapp ---------- */
.wa-float {
  position: fixed; right: 1rem;
  bottom: calc(1rem + env(safe-area-inset-bottom, 0px));
  z-index: 90;
  display: inline-flex; align-items: center; gap: .5rem;
  background: #1f7a43; color: #fff;
  padding: .75rem 1.15rem; border-radius: 999px;
  font-weight: 600; font-size: .9rem;
  box-shadow: var(--shadow-pop);
}
.wa-float:hover { background: #176034; }
@media (max-width: 40rem) { .wa-float span { display: none; } .wa-float { padding: .85rem; } }

/* ---------- footer ---------- */
.foot { background: var(--ink); color: #b9c8bb; margin-top: 0; }
.foot__in {
  max-width: var(--shell); margin-inline: auto;
  padding: clamp(2.5rem, 5vw, 4rem) var(--gut) 2rem;
  display: grid; gap: 2.5rem;
  grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr));
}
.foot img { width: 88px; filter: brightness(0) invert(1); opacity: .95; }
.foot h4 { font-family: var(--sans); font-size: .8125rem; font-weight: 700; color: #fff; margin: 0 0 .9rem; letter-spacing: .03em; }
.foot ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .55rem; font-size: .9rem; }
.foot a:hover { color: var(--amber); }
.foot p { font-size: .9rem; margin: 1rem 0 0; }
.foot__bar {
  border-top: 1px solid rgba(255,255,255,.12);
  max-width: var(--shell); margin-inline: auto;
  padding: 1.15rem var(--gut) calc(1.15rem + env(safe-area-inset-bottom, 0px));
  font-size: .8125rem; display: flex; flex-wrap: wrap; gap: .75rem 1.5rem; justify-content: space-between;
}
@media (max-width: 62rem) { .foot__in { grid-template-columns: 1fr 1fr; } }
@media (max-width: 40rem) { .foot__in { grid-template-columns: 1fr; gap: 1.75rem; } }

/* ---------- misc ---------- */
.empty { text-align: center; padding: 3.5rem 1rem; }
.empty h2 { margin-bottom: .5rem; }
.empty p { color: var(--sage); margin-bottom: 1.5rem; }
.center-narrow { max-width: 38rem; margin-inline: auto; text-align: center; }
.stack > * + * { margin-top: 1rem; }
.two-up { display: grid; grid-template-columns: repeat(auto-fit, minmax(18rem, 1fr)); gap: clamp(1.5rem, 4vw, 3.5rem); align-items: start; }
.crumbs { font-size: .85rem; color: var(--sage); padding: 1rem var(--gut) 0; max-width: var(--shell); margin-inline: auto; }
.crumbs a:hover { color: var(--moss); text-decoration: underline; }

.consent {
  position: fixed; left: 1rem; right: 1rem;
  bottom: calc(1rem + env(safe-area-inset-bottom, 0px));
  z-index: 150; max-width: 34rem;
  background: #fff; border: 1px solid var(--rule); border-radius: var(--r-md);
  padding: 1.1rem 1.25rem; box-shadow: var(--shadow-pop);
  font-size: .875rem; display: grid; gap: .85rem;
}
.consent p { margin: 0; color: var(--bark); }
.consent .btn-row { justify-content: flex-end; }

/* ---------- utilities ----------
   A deliberately small set. They exist so that no page needs an
   inline style attribute, which lets the CSP stay at style-src 'self'. */
.u-mt        { margin-top: 1.5rem; }
.u-mt-lg     { margin-top: 1.75rem; }
.u-mt-xl     { margin-top: 2rem; }
.u-mt-2xl    { margin-top: 2.5rem; }
.u-mb-xl     { margin-bottom: 2rem; }
.u-mb-2xl    { margin-bottom: 2.5rem; }
.u-pb-sm     { padding-bottom: 1rem; }
.u-pb-md     { padding-bottom: 1.5rem; }
.u-pb-lg     { padding-bottom: 4rem; }
.u-pb-xl     { padding-bottom: 5rem; }
.u-pb-page   { padding-block: 2.5rem 4rem; }
.u-center    { margin-inline: auto; }
.u-row-center{ justify-content: center; }
.u-muted     { color: var(--sage); }
.u-small     { font-size: .9rem; }
.u-optional  { font-weight: 400; color: var(--sage); }
.u-offscreen { position: absolute; left: -9999px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.h-sm        { font-size: 1.5rem; }
.h-xs        { font-size: 1.35rem; }
.btn--on-ink { color: #fff; border-color: rgba(255,255,255,.35); }
.btn--on-ink:hover { background: rgba(255,255,255,.12); border-color: #fff; }
