/* ==========================================================================
   The Happy Life Foundation
   Palette drawn from the foundation's own logo: rose, plum, warm ivory.
   ========================================================================== */

:root {
  --ivory:      #FBF8F5;
  --sand:       #F2E9E3;
  --sand-deep:  #E8DBD2;
  --paper:      #FFFFFF;

  --ink:        #241B1E;
  --ink-2:      #5A4A4E;
  --ink-3:      #8B7A7E;

  --rose:       #C0416B;
  --rose-dark:  #9C2E52;
  --rose-tint:  #FBEDF2;
  --plum:       #3B1626;
  --plum-2:     #55253A;
  --gold:       #B5822F;
  --sage:       #7E9070;

  --line:       #E2D6CE;
  --line-2:     #CDBBB0;

  --ok:         #2C6E4B;
  --err:        #B02A37;

  --serif: "Fraunces", "Iowan Old Style", Georgia, serif;
  --sans:  "Karla", "Helvetica Neue", Arial, sans-serif;

  --wrap: 1180px;
  --gut: 20px;
  --r: 3px;

  --shadow: 0 1px 2px rgba(59,22,38,.05), 0 12px 32px -18px rgba(59,22,38,.18);
}

@media (min-width: 768px)  { :root { --gut: 40px; } }
@media (min-width: 1200px) { :root { --gut: 56px; } }

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--ivory);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.68;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img, picture, svg, video { max-width: 100%; }
img { height: auto; display: block; }
svg { fill: currentColor; }

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 600;
  line-height: 1.14;
  letter-spacing: -0.015em;
  margin: 0 0 .6em;
  font-variation-settings: "SOFT" 20, "WONK" 0;
  text-wrap: balance;
}
h1 { font-size: clamp(2.1rem, 6.2vw, 3.7rem); }
h2 { font-size: clamp(1.65rem, 4.4vw, 2.65rem); }
h3 { font-size: clamp(1.22rem, 2.6vw, 1.6rem); }
h4 { font-size: 1.08rem; font-family: var(--sans); font-weight: 700; letter-spacing: 0; }

p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }

a { color: var(--rose-dark); text-decoration: none; }
a:hover { color: var(--rose); }

:focus-visible {
  outline: 2px solid var(--rose);
  outline-offset: 3px;
  border-radius: 2px;
}

::selection { background: var(--rose); color: #fff; }

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 999;
  background: var(--plum); color: #fff; padding: 12px 18px;
}
.skip-link:focus { left: 8px; top: 8px; color: #fff; }

/* -------------------------------------------------------------- primitives */
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gut); }
.narrow { max-width: 720px; }
.section { padding-block: clamp(56px, 9vw, 108px); }
.section--tight { padding-block: clamp(40px, 6vw, 68px); }
.section--sand { background: var(--sand); }
.section--plum { background: var(--plum); color: #F3E4E9; }
.section--plum h1, .section--plum h2, .section--plum h3 { color: #fff; }
.section--plum a { color: #F0C0D0; }
.hr { height: 1px; background: var(--line); border: 0; margin: 0; }

.eyebrow {
  font-family: var(--sans);
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--rose-dark);
  margin: 0 0 1.1rem;
  display: flex; align-items: center; gap: .7rem;
}
.eyebrow::before {
  content: ""; width: 26px; height: 2px; background: var(--rose); flex: none;
}
.section--plum .eyebrow { color: #E7A9BF; }
.section--plum .eyebrow::before { background: #E7A9BF; }

.lead { font-size: clamp(1.06rem, 2.2vw, 1.28rem); line-height: 1.6; color: var(--ink-2); }
.section--plum .lead { color: #E4D2D9; }
.muted { color: var(--ink-3); }
.small { font-size: .875rem; line-height: 1.55; }

/* ------------------------------------------------------------------ buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  font-family: var(--sans); font-size: 1rem; font-weight: 700;
  padding: 15px 28px;
  border: 1.5px solid transparent;
  border-radius: var(--r);
  cursor: pointer;
  text-align: center;
  min-height: 50px;
  letter-spacing: .005em;
  transition: background-color .18s ease, color .18s ease, border-color .18s ease, transform .12s ease;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--rose); color: #fff; border-color: var(--rose); }
.btn-primary:hover { background: var(--rose-dark); border-color: var(--rose-dark); color: #fff; }
.btn-dark { background: var(--plum); color: #fff; border-color: var(--plum); }
.btn-dark:hover { background: var(--plum-2); color: #fff; }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line-2); }
.btn-ghost:hover { background: var(--ink); color: var(--ivory); border-color: var(--ink); }
.btn-light { background: #fff; color: var(--plum); border-color: #fff; }
.btn-light:hover { background: var(--rose-tint); color: var(--plum); }
.btn-sm { padding: 10px 18px; font-size: .9rem; min-height: 42px; }
.btn-block { width: 100%; }
.btn[disabled], .btn[aria-busy="true"] { opacity: .6; pointer-events: none; }

.textlink {
  font-weight: 700; color: var(--rose-dark);
  border-bottom: 1.5px solid rgba(192,65,107,.35);
  padding-bottom: 2px;
  transition: border-color .18s ease;
}
.textlink:hover { border-color: var(--rose); }

.cta-row { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.cta-note { font-size: .84rem; color: var(--ink-3); }

/* ------------------------------------------------------------------- header */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(251,248,245,.96);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; gap: 16px; min-height: 68px; }
.brand { display: flex; align-items: center; gap: 11px; color: var(--ink); flex: none; }
.brand img { border-radius: 50%; width: 40px; height: 40px; object-fit: cover; }
.brand-text { display: flex; flex-direction: column; line-height: 1.02; }
.brand-text strong { font-family: var(--serif); font-size: 1.06rem; font-weight: 600; letter-spacing: -.01em; }
.brand-text em {
  font-style: normal; font-size: .62rem; letter-spacing: .24em;
  text-transform: uppercase; color: var(--rose-dark); font-weight: 700; margin-top: 2px;
}

.nav-toggle {
  margin-left: auto; width: 44px; height: 44px; flex: none;
  display: grid; place-content: center; gap: 5px;
  background: none; border: 1px solid var(--line); border-radius: var(--r); cursor: pointer;
}
.nav-toggle span { display: block; width: 20px; height: 1.5px; background: var(--ink); transition: transform .2s ease, opacity .2s ease; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

.site-nav {
  position: fixed; inset: 68px 0 auto; z-index: 59;
  background: var(--ivory);
  border-bottom: 1px solid var(--line);
  padding: 8px var(--gut) 26px;
  max-height: calc(100vh - 68px);
  overflow-y: auto;
  transform: translateY(-6px);
  opacity: 0; visibility: hidden;
  transition: opacity .2s ease, transform .2s ease, visibility .2s;
}
.site-nav.is-open { opacity: 1; visibility: visible; transform: none; }
.nav-list { list-style: none; margin: 0; padding: 0; }
.nav-list > li { border-bottom: 1px solid var(--line); position: relative; }
.nav-list > li > a {
  display: block; padding: 15px 0; color: var(--ink);
  font-weight: 600; font-size: 1.05rem;
}
.nav-list > li > a.is-current { color: var(--rose-dark); }
.sub-toggle {
  position: absolute; right: 0; top: 8px; width: 44px; height: 44px;
  background: none; border: 0; cursor: pointer;
}
.sub-toggle::after {
  content: ""; display: block; width: 8px; height: 8px; margin: 0 auto;
  border-right: 1.5px solid var(--ink-2); border-bottom: 1.5px solid var(--ink-2);
  transform: rotate(45deg); transition: transform .2s ease;
}
.sub-toggle[aria-expanded="true"]::after { transform: rotate(225deg); }
.sub-list { list-style: none; margin: 0; padding: 0 0 12px; display: none; }
.sub-list.is-open { display: block; }
.sub-list a { display: block; padding: 9px 0 9px 14px; border-left: 2px solid var(--line-2); color: var(--ink-2); }
.sub-list a:hover { border-color: var(--rose); color: var(--rose-dark); }
.sub-list a span { display: block; font-weight: 600; color: var(--ink); font-size: .97rem; }
.sub-list a small { display: block; font-size: .78rem; color: var(--ink-3); }
.sub-all a { border-left-color: transparent; font-weight: 700; color: var(--rose-dark); }
.nav-cta { margin-top: 20px; width: 100%; }

.nav-scrim {
  position: fixed; inset: 0; z-index: 58; background: rgba(36,27,30,.4);
}
body.nav-open { overflow: hidden; }

@media (min-width: 1000px) {
  .nav-toggle, .sub-toggle { display: none; }
  .nav-scrim { display: none !important; }
  .site-nav {
    position: static; inset: auto; margin-left: auto;
    display: flex; align-items: center; gap: 28px;
    background: none; border: 0; padding: 0; max-height: none; overflow: visible;
    opacity: 1; visibility: visible; transform: none;
  }
  .nav-list { display: flex; align-items: center; gap: 26px; }
  .nav-list > li { border: 0; }
  .nav-list > li > a { padding: 22px 0; font-size: .96rem; font-weight: 600; position: relative; }
  .nav-list > li > a::after {
    content: ""; position: absolute; left: 0; right: 0; bottom: 16px; height: 1.5px;
    background: var(--rose); transform: scaleX(0); transform-origin: left;
    transition: transform .2s ease;
  }
  .nav-list > li > a:hover::after, .nav-list > li > a.is-current::after { transform: scaleX(1); }
  .has-sub:hover .sub-list, .has-sub:focus-within .sub-list {
    display: block;
    position: absolute; top: 100%; left: -18px; width: 316px;
    background: var(--paper); border: 1px solid var(--line);
    box-shadow: var(--shadow); padding: 10px; border-radius: var(--r);
  }
  .has-sub .sub-list a { padding: 10px 12px; border-left: 0; border-radius: 2px; }
  .has-sub .sub-list a:hover { background: var(--rose-tint); }
  .nav-cta { margin: 0; width: auto; }
}

/* --------------------------------------------------------------------- hero */
.hero { position: relative; background: var(--ivory); border-bottom: 1px solid var(--line); }
.hero-grid {
  display: grid; gap: 34px;
  padding-block: clamp(34px, 5vw, 76px);
  align-items: center;
}
@media (min-width: 900px) {
  .hero-grid { grid-template-columns: 1.05fr .95fr; gap: clamp(40px, 5vw, 72px); }
}
.hero h1 { margin-bottom: .5em; }
.hero-kicker {
  display: inline-flex; align-items: center; gap: .5rem;
  background: var(--rose-tint); color: var(--rose-dark);
  border: 1px solid rgba(192,65,107,.22);
  font-size: .78rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  padding: 7px 13px; border-radius: 100px; margin-bottom: 20px;
}
.hero-lead { font-size: clamp(1.05rem, 2.3vw, 1.24rem); color: var(--ink-2); max-width: 40ch; }
.hero-cta { margin-top: 30px; }
.hero-media { position: relative; }
.hero-media img { width: 100%; border-radius: var(--r); }
.hero-media--stack {
  display: grid; grid-template-columns: 1.3fr 1fr; grid-template-rows: 1fr 1fr;
  gap: 12px; aspect-ratio: 5 / 6; max-height: 620px;
}
.hero-media--stack > *:first-child { grid-row: span 2; }
.hero-media--stack picture { display: block; height: 100%; min-height: 0; overflow: hidden; border-radius: var(--r); background: var(--sand); }
.hero-media--stack img { width: 100%; height: 100%; object-fit: cover; }
.hero-trust {
  display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 26px;
  padding-top: 22px; border-top: 1px solid var(--line);
  font-size: .87rem; color: var(--ink-2);
}
.hero-trust span { display: inline-flex; align-items: center; gap: 7px; }
.hero-trust span::before {
  content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--rose); flex: none;
}

/* page hero (interior pages) */
.page-hero { background: var(--sand); border-bottom: 1px solid var(--sand-deep); padding-block: clamp(38px, 5vw, 66px); }
.page-hero h1 { max-width: 22ch; }
.page-hero .lead { max-width: 58ch; }
.crumbs { font-size: .8rem; color: var(--ink-3); margin-bottom: 18px; letter-spacing: .02em; }
.crumbs a { color: var(--ink-2); }
.crumbs span { padding-inline: 7px; }

/* ------------------------------------------------------------- intro / prose */
.split { display: grid; gap: 34px; align-items: start; }
.split > * { min-width: 0; }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; gap: clamp(38px, 5vw, 76px); } }
@media (min-width: 900px) { .split--wide-left { grid-template-columns: 1.15fr .85fr; } }
@media (min-width: 900px) { .split--wide-right { grid-template-columns: .85fr 1.15fr; } }
.split--sticky > :first-child { position: sticky; top: 96px; }

.prose h3 { margin-top: 1.6em; }
.prose > *:first-child { margin-top: 0; }
.prose blockquote {
  margin: 1.8em 0; padding: 0 0 0 22px; border-left: 2px solid var(--rose);
  font-family: var(--serif); font-size: 1.2rem; line-height: 1.45; color: var(--plum);
}
.signature { font-family: var(--serif); font-size: 1.3rem; color: var(--rose-dark); margin-top: 1.2em; }

.figure { margin: 0; }
.figure img { border-radius: var(--r); width: 100%; }
.figure figcaption { font-size: .82rem; color: var(--ink-3); margin-top: 10px; }
.figure--offset { position: relative; }
.figure--offset::before {
  content: ""; position: absolute; inset: 16px -16px -16px 16px;
  border: 1px solid var(--line-2); border-radius: var(--r); z-index: -1;
}

/* ------------------------------------------------------------- ripple list */
.ripples { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.ripples li {
  padding: 15px 0 15px 30px; border-bottom: 1px solid var(--line);
  position: relative; color: var(--ink-2);
}
.ripples li:first-child { border-top: 1px solid var(--line); }
.ripples li::before {
  content: ""; position: absolute; left: 4px; top: 25px;
  width: 9px; height: 9px; border: 1.5px solid var(--rose); border-radius: 50%;
}
@media (min-width: 700px) { .ripples { grid-template-columns: 1fr 1fr; column-gap: 40px; } }

/* ---------------------------------------------------------- programme rows */
.program-row {
  display: grid; gap: 26px; padding-block: clamp(38px, 5vw, 62px);
  border-top: 1px solid var(--line); align-items: center;
}
.program-row:last-of-type { border-bottom: 0; padding-bottom: 0; }
.program-media picture { display: block; overflow: hidden; border-radius: var(--r); background: var(--sand-deep); aspect-ratio: 4 / 3; }
.program-media img { width: 100%; height: 100%; object-fit: cover; }
@media (min-width: 860px) {
  .program-row { grid-template-columns: 1fr 1fr; gap: clamp(38px, 5vw, 70px); }
  .program-row--flip .program-media { order: -1; }
}
.program-media img { border-radius: var(--r); width: 100%; }
.program-index {
  font-family: var(--serif); font-size: .95rem; color: var(--rose-dark);
  letter-spacing: .1em; margin-bottom: 10px; display: block; font-weight: 600;
}
.program-row h3 { font-size: clamp(1.4rem, 3.4vw, 2rem); margin-bottom: .35em; }
.program-sub { font-family: var(--serif); font-style: italic; color: var(--ink-3); margin-top: -.3em; margin-bottom: 1em; font-size: 1.05rem; }
.facts { list-style: none; margin: 0 0 24px; padding: 0; display: grid; gap: 0; }
.facts li {
  display: flex; gap: 14px; padding: 9px 0; border-bottom: 1px dotted var(--line-2);
  font-size: .93rem;
}
.facts li:last-child { border-bottom: 0; }
.facts dt, .facts b {
  flex: none; min-width: 108px; color: var(--ink-3);
  font-weight: 600; text-transform: uppercase; letter-spacing: .08em; font-size: .72rem;
  padding-top: 3px;
}
.facts span { color: var(--ink); font-weight: 500; min-width: 0; overflow-wrap: anywhere; }
@media (max-width: 480px) {
  .facts li { flex-wrap: wrap; gap: 2px 12px; }
  .facts dt, .facts b { min-width: 0; }
}
code { overflow-wrap: anywhere; font-size: .92em; }
.price-line { display: flex; align-items: baseline; gap: 10px; margin-bottom: 20px; flex-wrap: wrap; }
.price-line b { font-family: var(--serif); font-size: 1.85rem; font-weight: 600; color: var(--plum); }
.price-line s { color: var(--ink-3); font-size: 1rem; }
.price-line em { font-style: normal; font-size: .84rem; color: var(--ink-3); }

/* ------------------------------------------------------------------- cards */
.cards { display: grid; gap: 18px; }
.card, .summary, .quote { min-width: 0; overflow-wrap: break-word; }
@media (min-width: 700px) { .cards--2 { grid-template-columns: 1fr 1fr; } }
@media (min-width: 900px) { .cards--3 { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 700px) { .cards--4 { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .cards--4 { grid-template-columns: repeat(4, 1fr); } }

.card {
  background: var(--paper); border: 1px solid var(--line);
  border-radius: var(--r); padding: 26px;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.card h3, .card h4 { margin-bottom: .5em; }
.card p:last-child { margin-bottom: 0; }
a.card:hover { border-color: var(--rose); box-shadow: var(--shadow); }
.card--flat { background: transparent; border: 0; border-top: 2px solid var(--ink); padding: 22px 0 0; }
.card-num {
  font-family: var(--serif); font-size: 1.9rem; color: var(--sand-deep);
  line-height: 1; display: block; margin-bottom: 14px; font-weight: 600;
}
.section--plum .card { background: rgba(255,255,255,.05); border-color: rgba(255,255,255,.14); color: #E9D9DF; }
.section--plum .card-num { color: rgba(255,255,255,.22); }

.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; counter-reset: s; }
.steps li {
  display: grid; grid-template-columns: auto 1fr; gap: 18px;
  padding: 20px 0; border-top: 1px solid var(--line);
}
.steps li:last-child { border-bottom: 1px solid var(--line); }
.steps .step-tag {
  font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  color: var(--rose-dark); min-width: 92px; padding-top: 4px;
}
.steps strong { display: block; font-size: 1.06rem; margin-bottom: 3px; font-family: var(--serif); font-weight: 600; letter-spacing: -.01em; }
.steps p { color: var(--ink-2); margin: 0; font-size: .95rem; }

.checklist { list-style: none; margin: 0; padding: 0; }
.checklist li { position: relative; padding: 0 0 14px 30px; color: var(--ink-2); }
.checklist li::before {
  content: ""; position: absolute; left: 2px; top: 8px; width: 12px; height: 7px;
  border-left: 2px solid var(--rose); border-bottom: 2px solid var(--rose);
  transform: rotate(-45deg);
}
.section--plum .checklist li { color: #E4D2D9; }
.section--plum .checklist li::before { border-color: #E7A9BF; }

/* -------------------------------------------------------------- quote cards */
.quotes { columns: 1; column-gap: 22px; }
@media (min-width: 700px) { .quotes { columns: 2; } }
@media (min-width: 1050px) { .quotes { columns: 3; } }
.quote {
  break-inside: avoid; margin: 0 0 22px; background: var(--paper);
  border: 1px solid var(--line); border-top: 2px solid var(--rose);
  padding: 24px; border-radius: var(--r);
}
.quote p { font-size: .97rem; color: var(--ink-2); margin: 0; }
.quote::before {
  content: "“"; font-family: var(--serif); font-size: 2.6rem; line-height: .7;
  color: var(--rose); display: block; margin-bottom: 8px;
}
.quote-src { display: block; margin-top: 14px; font-size: .78rem; color: var(--ink-3); letter-spacing: .04em; text-transform: uppercase; font-weight: 600; }

/* ----------------------------------------------------------------- gallery */
.gal { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
@media (min-width: 700px)  { .gal { grid-template-columns: repeat(3, 1fr); gap: 14px; } }
@media (min-width: 1050px) { .gal { grid-template-columns: repeat(4, 1fr); gap: 16px; } }
.gal button {
  padding: 0; border: 0; background: var(--sand); cursor: zoom-in; display: block;
  border-radius: var(--r); overflow: hidden; aspect-ratio: 4 / 5; width: 100%;
}
.gal img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease, filter .3s ease; }
.gal button:hover img { transform: scale(1.04); }
.gal button:nth-child(7n+1) { aspect-ratio: 4 / 3; }

/* Natural-ratio variant: used where the artwork carries text that must not be cropped. */
.gal--natural { display: block; columns: 2; column-gap: 10px; }
@media (min-width: 700px)  { .gal--natural { columns: 3; column-gap: 14px; } }
@media (min-width: 1050px) { .gal--natural { columns: 3; column-gap: 16px; } }
.gal--natural button, .gal--natural button:nth-child(7n+1) { aspect-ratio: auto; margin-bottom: 14px; break-inside: avoid; }
.gal--natural img { height: auto; object-fit: contain; }

.lightbox {
  position: fixed; inset: 0; z-index: 200; background: rgba(28,15,20,.94);
  display: grid; place-items: center; padding: 20px;
}
.lightbox[hidden] { display: none; }
.lightbox img { max-height: 88vh; max-width: 100%; width: auto; border-radius: var(--r); }
.lightbox-close, .lightbox-prev, .lightbox-next {
  position: absolute; background: rgba(255,255,255,.12); border: 0; color: #fff;
  width: 46px; height: 46px; border-radius: 50%; cursor: pointer; font-size: 1.2rem;
  display: grid; place-items: center;
}
.lightbox-close { top: 16px; right: 16px; }
.lightbox-prev { left: 12px; top: 50%; transform: translateY(-50%); }
.lightbox-next { right: 12px; top: 50%; transform: translateY(-50%); }
.lightbox-close:hover, .lightbox-prev:hover, .lightbox-next:hover { background: rgba(255,255,255,.26); }
.lightbox-count { position: absolute; bottom: 16px; left: 0; right: 0; text-align: center; color: rgba(255,255,255,.7); font-size: .82rem; }

/* --------------------------------------------------------------------- FAQ */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  cursor: pointer; padding: 20px 44px 20px 0; position: relative;
  font-weight: 600; font-size: 1.03rem; list-style: none; color: var(--ink);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 8px; top: 27px;
  width: 11px; height: 11px; border-right: 1.5px solid var(--rose); border-bottom: 1.5px solid var(--rose);
  transform: rotate(45deg); transition: transform .2s ease;
}
.faq details[open] summary::after { transform: rotate(225deg); }
.faq .faq-a { padding: 0 30px 22px 0; color: var(--ink-2); }
.faq summary:hover { color: var(--rose-dark); }

/* ------------------------------------------------------------------- forms */
.form-grid { display: grid; gap: 18px; }
@media (min-width: 620px) { .form-grid--2 { grid-template-columns: 1fr 1fr; } }
.field { display: block; }
.field > label, .field-label {
  display: block; font-size: .78rem; font-weight: 700; letter-spacing: .08em;
  text-transform: uppercase; color: var(--ink-2); margin-bottom: 7px;
}
.field input, .field textarea, .field select {
  width: 100%; font-family: var(--sans); font-size: 1rem; color: var(--ink);
  background: var(--paper); border: 1px solid var(--line-2); border-radius: var(--r);
  padding: 13px 14px; min-height: 50px;
  transition: border-color .18s ease, box-shadow .18s ease;
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none; border-color: var(--rose); box-shadow: 0 0 0 3px rgba(192,65,107,.14);
}
.field input[aria-invalid="true"], .field textarea[aria-invalid="true"] { border-color: var(--err); }
.field-err { display: block; color: var(--err); font-size: .82rem; margin-top: 6px; min-height: 1px; }
.field-hint { display: block; color: var(--ink-3); font-size: .8rem; margin-top: 6px; }
.field--full { grid-column: 1 / -1; }
.check { display: flex; gap: 11px; align-items: flex-start; font-size: .9rem; color: var(--ink-2); }
.check input { width: 19px; height: 19px; min-height: 0; flex: none; margin-top: 3px; accent-color: var(--rose); }

.alert { padding: 15px 17px; border-radius: var(--r); font-size: .94rem; border: 1px solid; margin-bottom: 20px; }
.alert-ok { background: #EFF7F1; border-color: #BCDCC7; color: #1F5237; }
.alert-err { background: #FDF0F1; border-color: #F0C4C8; color: #8C2029; }
.alert-info { background: var(--rose-tint); border-color: #F0CBD8; color: var(--plum); }
.alert h3 { margin-bottom: .3em; font-size: 1.1rem; }
[hidden] { display: none !important; }

/* ---------------------------------------------------------------- checkout */
.checkout-grid { display: grid; gap: 30px; align-items: start; }
@media (min-width: 900px) { .checkout-grid { grid-template-columns: 1.15fr .85fr; gap: 52px; } }
.summary {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); padding: 26px;
}
@media (min-width: 900px) { .summary { position: sticky; top: 96px; } }
.summary h2 { font-size: 1.15rem; font-family: var(--sans); font-weight: 700; letter-spacing: 0; margin-bottom: 18px; }
.summary-item { display: flex; justify-content: space-between; gap: 14px; padding: 11px 0; border-bottom: 1px dotted var(--line-2); font-size: .95rem; }
.summary-item span:first-child { color: var(--ink-3); }
.summary-total { display: flex; justify-content: space-between; align-items: baseline; padding-top: 18px; margin-top: 6px; border-top: 2px solid var(--ink); }
.summary-total strong { font-family: var(--serif); font-size: 1.7rem; font-weight: 600; }
.secure-note { display: flex; gap: 9px; align-items: flex-start; font-size: .8rem; color: var(--ink-3); margin-top: 18px; line-height: 1.5; }
.secure-note svg { flex: none; margin-top: 2px; color: var(--sage); }
.steps-bar { display: flex; gap: 8px; align-items: center; font-size: .76rem; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); font-weight: 700; margin-bottom: 26px; flex-wrap: wrap; }
.steps-bar b { color: var(--rose-dark); }
.steps-bar span { color: var(--line-2); }

.receipt { list-style: none; margin: 0; padding: 0; }
.receipt li { display: flex; justify-content: space-between; gap: 18px; padding: 13px 0; border-bottom: 1px solid var(--line); font-size: .95rem; }
.receipt li span:first-child { color: var(--ink-3); }
.receipt li span:last-child { text-align: right; font-weight: 600; word-break: break-all; }

/* -------------------------------------------------------------- sticky CTA */
.sticky-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 55;
  background: rgba(251,248,245,.98); border-top: 1px solid var(--line);
  padding: 10px var(--gut) calc(10px + env(safe-area-inset-bottom));
  display: flex; align-items: center; gap: 14px;
  transform: translateY(110%); transition: transform .26s ease;
}
.sticky-cta.is-visible { transform: none; }
.sticky-cta .sc-price { flex: 1; min-width: 0; }
.sticky-cta .sc-price b { display: block; font-family: var(--serif); font-size: 1.15rem; line-height: 1.1; }
.sticky-cta .sc-price small { display: block; font-size: .74rem; color: var(--ink-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
@media (min-width: 1000px) { .sticky-cta { display: none; } }

/* ------------------------------------------------------------------ footer */
.site-footer { background: var(--plum); color: #D9C4CC; margin-top: 0; }
.site-footer a { color: #EFDCE3; }
.site-footer a:hover { color: #fff; }
.footer-grid { display: grid; gap: 34px; padding-block: clamp(46px, 6vw, 74px); }
@media (min-width: 700px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; } }
.footer-brand img { border-radius: 50%; margin-bottom: 16px; }
.footer-motto { font-family: var(--serif); font-size: 1.2rem; color: #fff; line-height: 1.3; }
.footer-note { font-size: .88rem; color: #B79AA5; }
.footer-h {
  font-family: var(--sans); font-size: .74rem; font-weight: 700; letter-spacing: .16em;
  text-transform: uppercase; color: #E7A9BF; margin-bottom: 16px;
}
.footer-col ul { list-style: none; margin: 0; padding: 0; }
.footer-col li { margin-bottom: 10px; font-size: .95rem; }
.footer-contact address { font-style: normal; font-size: .95rem; margin-bottom: 14px; line-height: 1.6; }
.footer-social { display: flex; flex-direction: column; gap: 10px; margin-top: 20px; }
.footer-social a { display: inline-flex; align-items: center; gap: 10px; font-size: .9rem; }
.footer-base {
  display: flex; flex-wrap: wrap; gap: 10px 24px; justify-content: space-between;
  padding-block: 22px; border-top: 1px solid rgba(255,255,255,.12);
  font-size: .83rem; color: #A88996;
}
.footer-base p { margin: 0; }
.footer-legal { display: flex; gap: 10px; flex-wrap: wrap; }

/* ------------------------------------------------------------------ reveal */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .gal img { transition: none; }
}

/* ------------------------------------------------------------------- admin */
.admin-body { background: var(--sand); }
.admin-shell { max-width: 1240px; margin-inline: auto; padding: 24px var(--gut) 60px; }
.admin-bar { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; justify-content: space-between; padding: 16px 0; border-bottom: 1px solid var(--line-2); margin-bottom: 26px; }
.admin-bar h1 { font-size: 1.4rem; margin: 0; }
.tabs { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 22px; }
.tabs a { padding: 9px 16px; border: 1px solid var(--line-2); border-radius: var(--r); font-size: .9rem; font-weight: 600; color: var(--ink-2); background: var(--paper); }
.tabs a.is-current { background: var(--plum); border-color: var(--plum); color: #fff; }
.table-scroll {
  overflow-x: auto; background: var(--paper); border: 1px solid var(--line);
  border-radius: var(--r); position: relative;
  background-image: linear-gradient(to left, rgba(59,22,38,.09), rgba(59,22,38,0) 34px);
  background-repeat: no-repeat; background-position: right center; background-size: 34px 100%;
  background-attachment: local, scroll;
  scrollbar-color: var(--line-2) var(--sand);
}
.table-scroll::-webkit-scrollbar { height: 10px; }
.table-scroll::-webkit-scrollbar-thumb { background: var(--line-2); border-radius: 10px; }
.table-scroll::-webkit-scrollbar-track { background: var(--sand); }
.scroll-hint { font-size: .78rem; color: var(--ink-3); margin: 8px 0 0; }
@media (min-width: 1100px) { .scroll-hint { display: none; } }
.dbg-log { scrollbar-color: rgba(255,255,255,.3) transparent; }
table.data { width: 100%; border-collapse: collapse; font-size: .88rem; min-width: 720px; }
table.data th, table.data td { padding: 11px 14px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
table.data th { background: var(--sand); font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2); white-space: nowrap; }
table.data tr:last-child td { border-bottom: 0; }
.tag { display: inline-block; padding: 3px 9px; border-radius: 100px; font-size: .72rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.tag-paid { background: #E4F2E9; color: #1F5237; }
.tag-created { background: var(--sand-deep); color: var(--ink-2); }
.tag-failed, .tag-verification_failed { background: #FBE4E6; color: #8C2029; }
.tag-cancelled { background: #F1EAE6; color: var(--ink-3); }
.stat-row { display: grid; gap: 14px; grid-template-columns: repeat(2, 1fr); margin-bottom: 26px; }
@media (min-width: 800px) { .stat-row { grid-template-columns: repeat(4, 1fr); } }
.stat { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); padding: 18px; }
.stat b { display: block; font-family: var(--serif); font-size: 1.7rem; font-weight: 600; line-height: 1.1; }
.stat span { font-size: .76rem; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); font-weight: 600; }
.login-card { max-width: 400px; margin: 8vh auto; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); padding: 32px; }

/* ------------------------------------------------------------ debug panel */
.dbg { font-family: ui-monospace, "SFMono-Regular", Menlo, monospace; font-size: .8rem; }
.dbg-log { background: var(--plum); color: #F2DDE4; padding: 18px; border-radius: var(--r); overflow-x: auto; max-height: 420px; overflow-y: auto; }
.dbg-row { display: flex; gap: 12px; padding: 6px 0; border-bottom: 1px solid rgba(255,255,255,.1); }
.dbg-row b { color: #FFC9DA; flex: none; min-width: 140px; }
.check-list { list-style: none; margin: 0; padding: 0; }
.check-list li { display: flex; gap: 12px; align-items: baseline; padding: 10px 0; border-bottom: 1px solid var(--line); }
.pill { flex: none; font-size: .7rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding: 3px 9px; border-radius: 100px; }
.pill-yes { background: #E4F2E9; color: #1F5237; }
.pill-no { background: #F1EAE6; color: var(--ink-3); }
