/* ==========================================================================
   FOREVER FIRSTS — STYLESHEET
   Edit the colours and fonts in :root below; everything else follows.
   Sections: 1 Tokens · 2 Base · 3 Layout · 4 Buttons · 5 Header/Nav · 6 Hero
   7 Home sections · 8 Inner pages · 9 Commerce (tiers, tables, cart)
   10 Forms/Wizard · 11 Moon · 12 Magnets · 13 Footer · 14 Utilities
   ========================================================================== */

/* 1 ── TOKENS ───────────────────────────────────────────────────────────── */
:root {
  --chalk:   #F7F3EF;   /* warm plaster white: page background */
  --plaster: #EDE5DE;   /* second surface */
  --bone:    #E1D6CF;
  --ink:     #2A1523;   /* aubergine black: text + dark sections */
  --ink-2:   #3B2433;
  --text:    #33252E;
  --muted:   #6A5C62;
  --line:    #E3D9D2;
  /* MULBERRY is the working brand colour: booking button, links, focus, form states (8.6:1 with white text).
     Keep the old logo magenta (--accent) for small ornaments only: viewfinder corners, stars, dots. */
  --mulberry:      #8E1B54;
  --mulberry-deep: #6F1242;
  --rose:      var(--mulberry);        /* name kept so every existing rule follows */
  --rose-deep: var(--mulberry-deep);
  --rose-wash: #F4E1DC;                /* blush */
  --accent:    #D1006F;                /* logo magenta, ornaments only */
  --brass:     #B08D57;                /* optional hairline for premium / Heirloom details */
  --white:   #FFFFFF;

  /* SAPPHIRE (no longer used in the site chrome since v17; kept for night-sky details only).
     The blue family, sampled from the glass-sphere reference. Deep navy rim to cyan glow.
     Use --blue / --blue-deep like --rose / --rose-deep. The 950-50 steps are for gradients and washes. */
  --sapphire-950: #000428;   /* rim, deepest shade */
  --sapphire-900: #000539;
  --sapphire-800: #03124A;   /* lower body */
  --sapphire-700: #073A7F;
  --sapphire-600: #0A519E;   /* cobalt body, the main blue */
  --sapphire-500: #1B7FC6;   /* top of a button */
  --sapphire-400: #29A5DC;   /* gloss */
  --sapphire-300: #62C7F2;   /* rim light */
  --sapphire-200: #86D1F4;
  --sapphire-100: #BCE4F9;
  --sapphire-50:  #DCF1FC;   /* wash */
  --blue:       var(--sapphire-600);
  --blue-deep:  var(--sapphire-800);
  --blue-wash:  var(--sapphire-50);
  --blue-glow:  rgba(41,165,220,.45);

  /* Partner brand greens, used on WhatsApp and M-Pesa buttons. Approximate: swap in the hex values from each brand's kit if you have them. */
  --whatsapp:       #25D366;
  --whatsapp-deep:  #0B7A3B;
  --mpesa:          #43B02A;
  --mpesa-deep:     #267A19;

  --font-display: "Fraunces", "Iowan Old Style", Georgia, serif;
  --font-body: "Albert Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --wrap: 1240px;
  --gutter: clamp(20px, 4vw, 48px);
  --section: clamp(72px, 10vw, 136px);
  --ease: cubic-bezier(.2,.7,.2,1);
}

/* 2 ── BASE ─────────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 90px; }
body {
  margin: 0; background: var(--chalk); color: var(--text);
  font: 400 1.0625rem/1.65 var(--font-body);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img, svg, video { max-width: 100%; display: block; }
img { height: auto; }
a { color: inherit; text-decoration-color: color-mix(in srgb, currentColor 35%, transparent); text-underline-offset: .22em; }
a:hover { text-decoration-color: var(--rose); }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 340; line-height: 1.08; letter-spacing: -.012em; margin: 0 0 .5em; color: var(--ink); font-variation-settings: "SOFT" 60, "WONK" 0; }
h1 { font-size: clamp(2.7rem, 7.2vw, 6.1rem); letter-spacing: -.028em; line-height: 1.02; }
h2 { font-size: clamp(2rem, 4.6vw, 3.55rem); letter-spacing: -.02em; }
h3 { font-size: clamp(1.4rem, 2.2vw, 1.85rem); line-height: 1.18; }
h4 { font-size: 1.15rem; font-weight: 450; }
p { margin: 0 0 1.1em; max-width: 62ch; }
ul, ol { padding-left: 1.2em; }
small, .small { font-size: .875rem; }
:focus-visible { outline: 2px solid var(--rose); outline-offset: 3px; }
::selection { background: var(--rose); color: #fff; }
.skip-link { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 10px 16px; z-index: 999; }
.skip-link:focus { left: 8px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* 3 ── LAYOUT ───────────────────────────────────────────────────────────── */
.container { width: 100%; max-width: calc(var(--wrap) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section); }
.section--tight { padding-block: clamp(48px, 6vw, 80px); }
.section--plaster { background: var(--plaster); }
.section--dark { background: var(--ink); color: #E9E1E6; }
.section--dark h1, .section--dark h2, .section--dark h3, .section--dark h4 { color: #fff; }
.section--dark p { color: #CFC4CB; }
.center { text-align: center; }
.center p { margin-inline: auto; }
.lead { font-size: clamp(1.15rem, 1.6vw, 1.4rem); line-height: 1.55; color: var(--muted); max-width: 52ch; }
.section--dark .lead { color: #CFC4CB; }
.kicker { font: 600 .8rem/1.2 var(--font-body); letter-spacing: .06em; color: var(--rose); margin: 0 0 1.1rem; }
.section--dark .kicker { color: #F0A3C3; }
.section--dark .link-arrow, .hero .link-arrow { border-bottom-color: var(--accent); }
.grid { display: grid; gap: clamp(20px, 3vw, 40px); }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.split--flip > :first-child { order: 2; }
.stack > * + * { margin-top: 1rem; }
.head { max-width: 760px; margin-bottom: clamp(36px, 5vw, 64px); }
.head.center { margin-inline: auto; }

/* The Forever Firsts frame — the logo's viewfinder corners, reused around images */
.frame { position: relative; isolation: isolate; }
.frame::before, .frame::after { content: ""; position: absolute; width: clamp(34px, 5vw, 58px); height: clamp(34px, 5vw, 58px); border: 0 solid var(--accent); z-index: 2; pointer-events: none; transition: transform .5s var(--ease); }
.frame::before { top: -12px; right: -12px; border-top-width: 4px; border-right-width: 4px; }
.frame::after { bottom: -12px; left: -12px; border-bottom-width: 4px; border-left-width: 4px; }
.frame:hover::before { transform: translate(5px, -5px); }
.frame:hover::after { transform: translate(-5px, 5px); }
.frame img { width: 100%; height: 100%; object-fit: cover; }
.ph { background: var(--plaster); overflow: hidden; }

/* 4 ── BUTTONS ──────────────────────────────────────────────────────────────
   Flat and square, like the logo. On hover the viewfinder corners appear around the button.
   A variant only sets the six --btn-* colours. */
.btn {
  --btn-bg: var(--ink); --btn-fg: #fff; --btn-bd: var(--ink);
  --btn-bg-h: var(--mulberry); --btn-fg-h: #fff; --btn-bd-h: var(--mulberry);
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: .6em; padding: 16px 30px; min-height: 52px;
  border: 1.5px solid var(--btn-bd); background: var(--btn-bg); color: var(--btn-fg);
  font: 600 .95rem/1 var(--font-body); letter-spacing: .02em; text-decoration: none; cursor: pointer; border-radius: 0;
  transition: background .25s, color .25s, border-color .25s, transform .25s var(--ease);
}
.btn:hover, .btn:focus-visible { background: var(--btn-bg-h); color: var(--btn-fg-h); border-color: var(--btn-bd-h); }
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(1px); }
.btn::before, .btn::after { content: ""; position: absolute; width: 0; height: 0; border: 0 solid var(--accent); opacity: 0; pointer-events: none; transition: opacity .25s, width .3s var(--ease), height .3s var(--ease); }
.btn::before { top: -6px; right: -6px; border-top-width: 2px; border-right-width: 2px; }
.btn::after { bottom: -6px; left: -6px; border-bottom-width: 2px; border-left-width: 2px; }
@media (hover: hover) { .btn:hover:not([disabled])::before, .btn:hover:not([disabled])::after { opacity: 1; width: 15px; height: 15px; } }
.btn--rose { --btn-bg: var(--mulberry); --btn-bd: var(--mulberry); --btn-bg-h: var(--mulberry-deep); --btn-bd-h: var(--mulberry-deep); }
.btn--ghost { --btn-bg: transparent; --btn-fg: var(--ink); --btn-bd: var(--ink); --btn-bg-h: var(--ink); --btn-fg-h: #fff; --btn-bd-h: var(--ink); }
.btn--light { --btn-bg: #fff; --btn-fg: var(--ink); --btn-bd: #fff; --btn-bg-h: var(--chalk); --btn-fg-h: var(--ink); --btn-bd-h: var(--chalk); }
.btn--ghost-light { --btn-bg: transparent; --btn-fg: #fff; --btn-bd: rgba(255,255,255,.7); --btn-bg-h: #fff; --btn-fg-h: var(--ink); --btn-bd-h: #fff; }
/* brand greens: WhatsApp and M-Pesa buttons are green always (.btn--wa, .btn--mpesa); other WhatsApp links and the pay buttons turn green on hover or focus */
.btn--wa, .btn[href*="wa.me"]:hover, .btn[href*="wa.me"]:focus-visible, .btn[data-send="wa"]:hover, .btn[data-send="wa"]:focus-visible, #wa-send:hover, #wa-send:focus-visible, #done-wa:hover, #done-wa:focus-visible {
  --btn-bg: var(--whatsapp-deep); --btn-bd: var(--whatsapp-deep); --btn-bg-h: #09652F; --btn-bd-h: #09652F; --btn-fg: #fff; --btn-fg-h: #fff;
  background: var(--btn-bg); border-color: var(--btn-bd); color: #fff;
}
.btn--mpesa, #pay-btn:not([disabled]):hover, #pay-btn:not([disabled]):focus-visible, #pay-deposit:not([disabled]):hover, #pay-deposit:not([disabled]):focus-visible {
  --btn-bg: var(--mpesa-deep); --btn-bd: var(--mpesa-deep); --btn-bg-h: #1D6212; --btn-bd-h: #1D6212; --btn-fg: #fff; --btn-fg-h: #fff;
  background: var(--btn-bg); border-color: var(--btn-bd); color: #fff;
}
.btn--sm { padding: 12px 20px; min-height: 44px; font-size: .88rem; }
.btn--block { width: 100%; }
.btn[disabled] { opacity: .45; cursor: not-allowed; transform: none; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 2rem; }
.link-arrow { display: inline-flex; align-items: center; gap: .5em; font-weight: 600; color: var(--ink); text-decoration: none; border-bottom: 1.5px solid var(--rose); padding-bottom: 3px; }
.link-arrow::after { content: "→"; transition: transform .25s var(--ease); }
.link-arrow:hover::after { transform: translateX(5px); }
.section--dark .link-arrow { color: #fff; }

/* 5 ── HEADER / NAV ─────────────────────────────────────────────────────────
   Layout: logo | main nav (centred) | gift, basket, Book. "What we create" opens a wide menu with three headed
   columns and a photo tile; "About" opens a small menu. Mobile uses the full-screen menu further down. */
.topbar { background: var(--ink); color: #D9CED5; font-size: .84rem; }
.topbar .container { display: flex; justify-content: center; gap: 16px; padding-block: 9px; align-items: center; }
.topbar a { text-decoration: none; }
.topbar a:hover { color: #fff; text-decoration: underline; }
.site-header { position: sticky; top: 0; z-index: 60; background: color-mix(in srgb, var(--chalk) 94%, transparent); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.site-header .container { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 28px; min-height: 84px; max-width: calc(1360px + var(--gutter) * 2); }
.site-header nav { justify-self: center; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; flex: 0 0 auto; }
.brand img { height: 58px; width: auto; }
.brand span { font: 380 1.5rem/1 var(--font-display); letter-spacing: -.01em; color: var(--ink); white-space: nowrap; }
.nav { display: flex; align-items: center; gap: clamp(14px, 1.9vw, 30px); list-style: none; margin: 0; padding: 0; white-space: nowrap; }
.nav > li { position: relative; }
.nav > li.has-sub:not(.has-sub--sm) { position: static; }            /* the wide menu is positioned against the header */
.nav > li > a, .nav > li > button.nav-link { position: relative; font: 500 .95rem/1 var(--font-body); letter-spacing: .01em; color: var(--text); text-decoration: none; padding: 31px 0; background: none; border: 0; cursor: pointer; display: inline-flex; align-items: center; gap: 7px; }
/* underline grows from the left on hover, stays on for the current page */
.nav > li > a::after, .nav > li > button.nav-link::before { content: ""; position: absolute; left: 0; right: 0; bottom: 22px; height: 1.5px; background: var(--mulberry); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
.nav > li > button.nav-link::before { right: 15px; }
.nav > li > a:hover::after, .nav > li > a[aria-current="page"]::after,
.nav > li > button.nav-link:hover::before, .has-sub.open > button.nav-link::before, .has-sub:hover > button.nav-link::before, .has-sub.is-current > button.nav-link::before { transform: scaleX(1); }
.nav > li > a:hover, .nav > li > button.nav-link:hover, .has-sub.open > button.nav-link, .nav > li > a[aria-current="page"], .has-sub.is-current > button.nav-link { color: var(--mulberry); }
.has-sub > button::after { content: ""; width: 6px; height: 6px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg) translateY(-2px); transition: transform .25s var(--ease); }
.has-sub.open > button::after, .has-sub:hover > button::after { transform: rotate(225deg) translate(-1px, -1px); }

/* wide menu */
.mega { position: absolute; left: 0; right: 0; top: 100%; background: var(--chalk); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); box-shadow: 0 34px 50px -30px rgba(42,21,35,.30); opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .25s var(--ease), transform .25s var(--ease), visibility 0s linear .25s; }
.has-sub:hover > .mega, .has-sub:focus-within > .mega, .has-sub.open > .mega { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.mega__in { max-width: calc(1360px + var(--gutter) * 2); margin: auto; padding: 34px var(--gutter) 40px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)) minmax(0, 300px); gap: clamp(28px, 3.4vw, 52px); white-space: normal; }
.mega h5 { font: 600 .72rem/1 var(--font-body); letter-spacing: .14em; text-transform: uppercase; color: var(--mulberry); margin: 0 0 12px; padding-bottom: 13px; border-bottom: 1px solid var(--line); }
.mega ul, .sub { list-style: none; margin: 0; padding: 0; }
.mega li a, .sub li a { display: block; padding: 9px 0; text-decoration: none; font: 500 .98rem/1.3 var(--font-body); color: var(--ink); transition: transform .25s var(--ease), color .2s; }
.mega li a small, .sub li a small { display: block; font-weight: 400; color: var(--muted); margin-top: 3px; font-size: .84rem; line-height: 1.35; }
.mega li a:hover, .sub li a:hover { color: var(--mulberry); transform: translateX(3px); }
.mega li a[aria-current="page"], .sub li a[aria-current="page"] { color: var(--mulberry); }
.mega__feature { position: relative; isolation: isolate; align-self: stretch; display: flex; align-items: flex-end; min-height: 250px; overflow: hidden; background: var(--plaster); color: #fff; text-decoration: none; }
.mega__feature img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .8s var(--ease); }
.mega__feature::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(transparent 35%, rgba(42,21,35,.84)); }
.mega__feature::after { content: ""; position: absolute; top: 10px; right: 10px; width: 24px; height: 24px; border-top: 2px solid var(--accent); border-right: 2px solid var(--accent); }
.mega__feature:hover img { transform: scale(1.04); }
.mega__feature span { padding: 18px 20px; }
.mega__feature b { display: block; font: 380 1.35rem/1.15 var(--font-display); margin-bottom: 5px; }
.mega__feature i { font-style: normal; font-size: .86rem; opacity: .92; }
/* small menu (About) */
.sub { position: absolute; top: 100%; left: -18px; min-width: 240px; background: var(--chalk); border: 1px solid var(--line); box-shadow: 0 24px 50px -24px rgba(42,21,35,.35); padding: 10px 18px; opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .25s var(--ease), transform .25s var(--ease), visibility 0s linear .25s; white-space: normal; }
.has-sub:hover > .sub, .has-sub:focus-within > .sub, .has-sub.open > .sub { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }

.header-actions { display: flex; align-items: center; gap: 6px; }
.gift-link { display: inline-flex; align-items: center; gap: 8px; font: 500 .92rem/1 var(--font-body); text-decoration: none; padding: 12px; color: var(--text); white-space: nowrap; }
.gift-link svg { flex: none; width: 18px; height: 18px; color: var(--mulberry); transition: transform .3s var(--ease); }
.gift-link:hover { color: var(--mulberry); }
.gift-link:hover svg { transform: scale(1.15); }
.header-actions .btn { margin-left: 10px; white-space: nowrap; }
.icon-btn { position: relative; width: 46px; height: 46px; display: inline-grid; place-items: center; background: none; border: 0; cursor: pointer; color: var(--ink); }
.icon-btn:hover { color: var(--mulberry); }
.icon-btn svg { width: 24px; height: 24px; }
.cart-count { position: absolute; top: 3px; right: 1px; min-width: 19px; height: 19px; padding: 0 5px; background: var(--mulberry); color: #fff; border-radius: 99px; font: 700 .7rem/19px var(--font-body); text-align: center; }
.cart-count[data-n="0"] { display: none; }
.burger { display: none; }
.btn[disabled]:hover { background: var(--btn-bg); color: var(--btn-fg); border-color: var(--btn-bd); }

/* full-screen menu (phones and tablets) */
.mobile-nav { position: fixed; inset: 0; z-index: 80; background: var(--chalk); transform: translateX(100%); transition: transform .45s var(--ease); overflow-y: auto; padding: 22px var(--gutter) 120px; visibility: hidden; }
.mobile-nav.open { transform: none; visibility: visible; }
.mobile-nav__top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; }
.mobile-nav ul { list-style: none; margin: 0; padding: 0; }
.mobile-nav li > a, .mobile-nav li > details > summary { display: block; padding: 17px 0; border-bottom: 1px solid var(--line); font: 360 1.7rem/1.1 var(--font-display); text-decoration: none; color: var(--ink); cursor: pointer; list-style: none; }
.mobile-nav li > details > summary { display: flex; justify-content: space-between; align-items: center; }
.mobile-nav li > details > summary::after { content: "+"; font: 300 1.8rem/1 var(--font-body); color: var(--mulberry); }
.mobile-nav li > details[open] > summary::after { content: "\2212"; }
.mobile-nav summary::-webkit-details-marker { display: none; }
.mobile-nav li > a[aria-current="page"] { color: var(--mulberry); }
.mobile-nav details ul a { display: block; font: 450 1.05rem/1.3 var(--font-body); padding: 13px 0 13px 16px; color: var(--text); text-decoration: none; border-bottom: 1px solid var(--line); }
.mobile-nav details ul a[aria-current="page"] { color: var(--mulberry); font-weight: 600; }
.mobile-nav details ul .group-label { font: 600 .72rem/1 var(--font-body); letter-spacing: .14em; text-transform: uppercase; color: var(--mulberry); padding: 18px 0 6px 16px; }
.mobile-nav .mobile-gift { display: flex; align-items: center; gap: 12px; }
.mobile-nav .mobile-gift svg { width: 24px; height: 24px; color: var(--mulberry); flex: none; }
.mobile-nav .btn { margin-top: 26px; }
.mobile-cta { display: none; }

/* 6 ── HERO ─────────────────────────────────────────────────────────────── */
.hero { position: relative; background: #050304; color: #fff; overflow: hidden; min-height: min(86vh, 860px); display: grid; align-items: end; }
.hero__media { position: absolute; inset: 0 0 0 auto; width: 66%; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 22%; animation: slowzoom 18s var(--ease) forwards; }
.hero__media::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, #050304 0%, rgba(5,3,4,.7) 22%, rgba(5,3,4,0) 58%), linear-gradient(0deg, rgba(5,3,4,.85) 0%, rgba(5,3,4,0) 38%); z-index: 1; }
@keyframes slowzoom { from { transform: scale(1.07); } to { transform: scale(1); } }
.hero .container { position: relative; z-index: 2; padding-block: clamp(56px, 9vw, 120px) clamp(40px, 6vw, 72px); }
.hero h1 { color: #fff; max-width: 9.5ch; font-weight: 300; }
.hero__sub { font-size: clamp(1.1rem, 1.5vw, 1.35rem); color: #E6DCE2; max-width: 34ch; margin-top: 1.4rem; }
.hero__caption { margin: 3rem 0 0; font-size: .85rem; color: #B9ADB5; letter-spacing: .02em; }
.hero__caption b { color: #fff; font-weight: 600; margin-right: .5em; }
.hero__corner { position: absolute; z-index: 2; right: clamp(20px, 5vw, 70px); top: clamp(24px, 4vw, 54px); width: clamp(60px, 8vw, 110px); height: clamp(60px, 8vw, 110px); border-top: 4px solid var(--accent); border-right: 4px solid var(--accent); }

/* 7 ── HOME SECTIONS ────────────────────────────────────────────────────── */
.statement { text-align: center; }
.statement h2 { font-size: clamp(2.1rem, 5.4vw, 4.4rem); max-width: 17ch; margin-inline: auto; }
.statement .moments { list-style: none; padding: 0; margin: 2.2rem auto; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 28px; font: 340 italic clamp(1.15rem, 2vw, 1.5rem)/1.3 var(--font-display); color: var(--muted); }
.statement .moments li + li::before { content: ""; display: inline-block; width: 5px; height: 5px; background: var(--accent); margin-right: 28px; vertical-align: middle; transform: rotate(45deg) translateY(-1px); }
.create-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: clamp(14px, 2vw, 28px); }
.create-card { position: relative; display: block; overflow: hidden; color: #fff; text-decoration: none; min-height: 420px; background: var(--ink); grid-column: span 3; }
.create-card:nth-child(1) { grid-column: span 5; min-height: 560px; }
.create-card:nth-child(2) { grid-column: span 4; min-height: 560px; margin-top: 56px; }
.create-card:nth-child(3) { grid-column: span 3; min-height: 560px; }
.create-card:nth-child(4) { grid-column: 3 / span 8; min-height: 360px; }
.create-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.create-card:hover img { transform: scale(1.05); }
.create-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(20,10,18,.88) 0%, rgba(20,10,18,0) 55%); }
.create-card__body { position: absolute; z-index: 2; left: 0; right: 0; bottom: 0; padding: clamp(20px, 2.4vw, 32px); }
.create-card h3 { color: #fff; font-size: clamp(1.7rem, 2.6vw, 2.3rem); margin-bottom: .25em; }
.create-card p { color: #E9DFE5; margin-bottom: 1em; font-size: 1rem; }
.create-card .link-arrow { color: #fff; font-size: .95rem; }
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin-top: 2.2rem; border-top: 1px solid var(--line); }
.pillar { padding: 22px 22px 10px 0; }
.pillar + .pillar { padding-left: 22px; border-left: 1px solid var(--line); }
.pillar h4 { margin-bottom: .3em; }
.pillar p { font-size: .98rem; color: var(--muted); margin: 0; }
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; counter-reset: step; position: relative; }
.steps li { counter-increment: step; padding: 0 28px 0 0; position: relative; }
.steps li::before { content: counter(step, decimal-leading-zero); display: block; font: 300 clamp(3.4rem, 6vw, 5.4rem)/1 var(--font-display); color: var(--bone); margin-bottom: .1em; transition: color .3s; }
.steps li:hover::before { color: var(--rose); }
.steps h3 { margin-bottom: .3em; }
.steps p { color: var(--muted); font-size: 1rem; }
.section--dark .steps li::before { color: #4A3745; }
.section--dark .steps p { color: #BDB0B8; }
.editorial { display: grid; grid-template-columns: repeat(12, 1fr); gap: clamp(14px, 2vw, 28px); align-items: end; }
.editorial figure { margin: 0; }
.editorial figcaption, .masonry figcaption { font-size: .88rem; color: var(--muted); margin-top: 10px; }
.editorial .e1 { grid-column: 1 / span 4; }
.editorial .e2 { grid-column: 5 / span 3; margin-bottom: 70px; }
.editorial .e3 { grid-column: 8 / span 5; }
.editorial .e4 { grid-column: 3 / span 4; }
.editorial .e5 { grid-column: 7 / span 6; }
.editorial img { width: 100%; object-fit: cover; }
.quote-large { font: 320 clamp(1.7rem, 3.6vw, 3rem)/1.18 var(--font-display); color: var(--ink); max-width: 24ch; margin: 0 0 1.4rem; letter-spacing: -.015em; }
.section--dark .quote-large { color: #fff; }
.quote-by { font-size: .95rem; color: var(--muted); }
.quote-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid var(--line); margin-top: 3.5rem; }
.quote-cards figure { margin: 0; padding: 24px 28px 8px 0; }
.quote-cards figure + figure { padding-left: 28px; border-left: 1px solid var(--line); }
.quote-cards blockquote { margin: 0 0 .8rem; font-size: 1.05rem; color: var(--text); }
.quote-cards figcaption { font-size: .88rem; color: var(--muted); }
.stars { color: var(--accent); letter-spacing: 3px; font-size: 1rem; margin-bottom: .6rem; }
.sample-tag { display: inline-block; margin-left: 8px; font: 600 .68rem/1 var(--font-body); color: var(--muted); border: 1px dashed var(--bone); padding: 3px 6px; vertical-align: middle; }
.feature-band { display: grid; grid-template-columns: 1fr 1fr; background: var(--ink); color: #fff; align-items: stretch; }
.feature-band__media { min-height: 420px; position: relative; }
.feature-band__media > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.feature-band__body { padding: clamp(36px, 6vw, 96px); display: flex; flex-direction: column; justify-content: center; }
.feature-band h2 { color: #fff; }
.feature-band p { color: #D3C8CF; }
.final-cta { position: relative; background: #050304; color: #fff; text-align: center; overflow: hidden; }
.final-cta__bg { position: absolute; inset: 0; }
.final-cta__bg img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; opacity: .5; }
.final-cta__bg::after { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse at center, rgba(5,3,4,.35), rgba(5,3,4,.92)); }
.final-cta .container { position: relative; z-index: 2; padding-block: clamp(90px, 14vw, 190px); }
.final-cta h2 { color: #fff; font-size: clamp(2.3rem, 6vw, 5rem); max-width: 16ch; margin-inline: auto; font-weight: 300; }
.final-cta p { margin-inline: auto; color: #D9CED5; font-size: 1.2rem; }
.final-cta .btn-row { justify-content: center; }

/* 8 ── INNER PAGES ──────────────────────────────────────────────────────── */
.page-hero { background: var(--plaster); overflow: hidden; }
.page-hero .container { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(30px, 6vw, 90px); align-items: center; padding-block: clamp(48px, 7vw, 100px); }
.page-hero h1 { font-size: clamp(2.5rem, 6vw, 5rem); }
.page-hero__media { aspect-ratio: 4 / 5; max-height: 560px; justify-self: end; width: min(100%, 440px); }
.crumbs { font-size: .88rem; color: var(--muted); margin-bottom: 1.4rem; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--rose); }
.feature-list { list-style: none; padding: 0; margin: 1.4rem 0; }
.feature-list li { padding: 13px 0 13px 34px; border-bottom: 1px solid var(--line); position: relative; }
.feature-list li::before { content: ""; position: absolute; left: 4px; top: 20px; width: 11px; height: 6px; border-left: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: rotate(-45deg); }
.info-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid var(--line); }
.info-grid > div { padding: 26px 26px 10px 0; }
.info-grid > div + div { padding-left: 26px; border-left: 1px solid var(--line); }
.info-grid p { color: var(--muted); font-size: .98rem; }
.timeline { list-style: none; margin: 0; padding: 0; border-left: 2px solid var(--line); }
.timeline li { position: relative; padding: 0 0 34px 34px; }
.timeline li::before { content: ""; position: absolute; left: -7px; top: 8px; width: 12px; height: 12px; background: var(--accent); }
.timeline h4 { margin-bottom: .2em; }
.timeline p { color: var(--muted); margin: 0; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin: 0; padding: 0; list-style: none; }
.tags { display: flex; flex-wrap: wrap; gap: 6px 0; margin: 0; padding: 0; list-style: none; font-size: 1rem; }
.tags li { color: var(--ink); }
.tags li + li::before { content: "\00B7"; margin: 0 .6em; color: var(--muted); }
.chip { border: 1px solid var(--bone); padding: 9px 16px; font-size: .94rem; background: var(--chalk); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 22px 44px 22px 0; font: 400 clamp(1.2rem, 1.8vw, 1.5rem)/1.25 var(--font-display); color: var(--ink); position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 18px; font: 300 1.9rem/1 var(--font-body); color: var(--rose); transition: transform .3s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details > div { padding: 0 0 24px; color: var(--muted); max-width: 66ch; }
.faq h3 { margin: 2.8rem 0 .3rem; font-size: 1.1rem; color: var(--rose); font-family: var(--font-body); font-weight: 600; letter-spacing: 0; }
.masonry { columns: 3; column-gap: clamp(14px, 2vw, 28px); }
.masonry figure { margin: 0 0 clamp(14px, 2vw, 28px); break-inside: avoid; cursor: zoom-in; }
.masonry img { width: 100%; transition: opacity .3s; }
.masonry figure:hover img { opacity: .88; }
.masonry figure[hidden] { display: none; }
.filter { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 2.4rem; }
.filter button { font: 500 .95rem/1 var(--font-body); padding: 12px 20px; border: 1px solid var(--bone); background: transparent; cursor: pointer; color: var(--text); }
.filter button[aria-pressed="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.lightbox { position: fixed; inset: 0; z-index: 120; background: rgba(10,5,9,.94); display: none; place-items: center; padding: 24px; }
.lightbox.open { display: grid; }
.lightbox img { max-height: 86vh; width: auto; max-width: 100%; }
.lightbox button { position: absolute; top: 14px; right: 14px; background: none; border: 0; color: #fff; font-size: 2.6rem; cursor: pointer; width: 54px; height: 54px; }
.lightbox p { color: #D9CED5; text-align: center; margin: 12px auto 0; }
.contact-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid var(--line); margin-bottom: 3rem; }
.contact-cards > div { padding: 26px 26px 14px 0; }
.contact-cards > div + div { padding-left: 26px; border-left: 1px solid var(--line); }
.contact-cards h4 { margin-bottom: .3em; }
.contact-cards p { margin-bottom: .4em; color: var(--muted); }
.social-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.social-list a { display: flex; align-items: center; gap: 12px; padding: 9px 0; text-decoration: none; }
.social-list a:hover b { color: var(--rose); }
.social-list svg { width: 22px; height: 22px; flex: 0 0 22px; }
.social-list span { color: var(--muted); font-size: .92rem; }
.map { border: 0; width: 100%; height: 380px; filter: grayscale(.6) contrast(1.05); }
.post-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(30px, 4vw, 56px); }
.post { border-top: 1px solid var(--line); padding-top: 24px; }
.post img { aspect-ratio: 3 / 2; object-fit: cover; width: 100%; margin-bottom: 18px; }
.post time { font-size: .86rem; color: var(--muted); }
.post details summary { cursor: pointer; font-weight: 600; color: var(--ink); list-style: none; border-bottom: 1.5px solid var(--rose); display: inline-block; padding-bottom: 3px; }
.post details summary::-webkit-details-marker { display: none; }
.post details[open] summary { margin-bottom: 1rem; }

/* 9 ── COMMERCE ─────────────────────────────────────────────────────────── */
.tiers { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--line); background: var(--chalk); }
.tier { padding: clamp(28px, 3vw, 44px); display: flex; flex-direction: column; position: relative; }
.tier + .tier { border-left: 1px solid var(--line); }
.tier--featured { background: var(--ink); color: #D9CED5; }
.tier--featured h3, .tier--featured .price { color: #fff; }
.tier--featured .feature-list li { border-color: #3D2C38; }
.tier__flag { position: absolute; top: 0; right: 0; background: var(--rose); color: #fff; font: 600 .78rem/1 var(--font-body); padding: 9px 14px; }
.tier .tagline { color: var(--muted); min-height: 3.2em; }
.tier--featured .tagline { color: #BDB0B8; }
.price { font: 330 clamp(2rem, 3vw, 2.6rem)/1.1 var(--font-display); color: var(--ink); margin: .6rem 0 1.2rem; }
.price small { display: block; font: 500 .85rem/1.4 var(--font-body); color: var(--muted); margin-bottom: 2px; }
.tier--featured .price small { color: #BDB0B8; }
.tier .feature-list { margin-top: 0; flex: 1; }
.tier .feature-list li { font-size: .98rem; padding-block: 11px; }
.tier .feature-list li::before { top: 17px; }
/* The Commission: a full-width dark band (it sits outside the 3-up tier grid) */
.commission-band { margin-top: clamp(28px, 4vw, 48px); display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(28px, 5vw, 80px); align-items: start; background: var(--ink); color: #D9CED5; border: 1px solid var(--ink); }
.commission-band h3, .commission-band .price { color: #fff; }
.commission-band h4 { color: #fff; margin: 0 0 .2em; }
.commission-band .tagline { color: #BDB0B8; min-height: 0; }
.commission-band .price small { color: #BDB0B8; }
.commission-band__note { color: #BDB0B8; max-width: 44ch; margin: 0 0 1.4rem; }
.commission-band h3 { margin-bottom: .25em; }
.commission-band .price { margin: .4rem 0 1rem; }
.commission-band .feature-list { margin: .6rem 0 0; }
.commission-band .btn--rose { --btn-bg: #fff; --btn-fg: var(--ink); --btn-bd: #fff; --btn-bg-h: var(--chalk); --btn-fg-h: var(--ink); --btn-bd-h: var(--chalk); }  /* white on the dark band: mulberry on aubergine is too dim */
.commission-band__more { margin: 1.2rem 0 0; }
.commission-band .link-arrow { color: #fff; }
.commission-band .feature-list li { border-color: #3D2C38; }
@media (max-width: 900px) { .commission-band { grid-template-columns: 1fr; } }
.tabs { display: inline-flex; border: 1px solid var(--ink); margin-bottom: 2rem; flex-wrap: wrap; }
.tabs button { font: 600 .95rem/1 var(--font-body); padding: 15px 26px; border: 0; background: transparent; cursor: pointer; color: var(--ink); }
.tabs button[aria-selected="true"] { background: var(--ink); color: #fff; }
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.compare { width: 100%; border-collapse: collapse; min-width: 640px; font-size: 1rem; }
.compare th, .compare td { padding: 17px 16px; text-align: center; border-bottom: 1px solid var(--line); }
.compare th:first-child, .compare td:first-child { text-align: left; font-weight: 500; }
.compare thead th { font: 400 1.4rem/1.2 var(--font-display); color: var(--ink); vertical-align: bottom; padding-bottom: 20px; }
.compare thead th small { display: block; font: 500 .9rem/1.5 var(--font-body); color: var(--muted); }
.compare .yes { color: var(--rose); font-weight: 700; }
.compare .no { color: var(--bone); }
.compare .feat { background: var(--rose-wash); }
.price-list { list-style: none; padding: 0; margin: 0; }
.price-list li { display: flex; justify-content: space-between; gap: 14px; padding: 12px 0; border-bottom: 1px dotted var(--bone); }
.price-list li span:last-child { font-weight: 600; white-space: nowrap; }
.cat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2.4vw, 32px); }
.cat { display: block; text-decoration: none; }
.cat__img { aspect-ratio: 4 / 5; overflow: hidden; position: relative; margin-bottom: 16px; }
.cat__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.cat:hover .cat__img img { transform: scale(1.05); }
.cat h3 { margin-bottom: .15em; }
.cat p { color: var(--muted); margin-bottom: .5em; }
.product-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border: 1px solid var(--line); }
.product { padding: 24px; display: flex; flex-direction: column; gap: 6px; }
.product + .product { border-left: 1px solid var(--line); }
.product-row--5 { grid-template-columns: repeat(5, 1fr); }
.product .price { font-size: 1.7rem; margin: .2rem 0 .8rem; }
.product .btn { margin-top: auto; }
.cart-overlay { position: fixed; inset: 0; background: rgba(20,10,18,.5); z-index: 90; opacity: 0; visibility: hidden; transition: opacity .3s; }
.cart-overlay.open { opacity: 1; visibility: visible; }
.cart-drawer { position: fixed; top: 0; right: 0; bottom: 0; width: min(440px, 100%); background: var(--chalk); z-index: 100; transform: translateX(100%); transition: transform .45s var(--ease); display: flex; flex-direction: column; visibility: hidden; }
.cart-drawer.open { transform: none; visibility: visible; }
.cart-drawer header { display: flex; justify-content: space-between; align-items: center; padding: 22px 26px; border-bottom: 1px solid var(--line); }
.cart-drawer header h2 { font-size: 1.8rem; margin: 0; }
.cart-items { flex: 1; overflow-y: auto; padding: 8px 26px; }
.cart-empty { padding: 40px 0; color: var(--muted); }
.cart-item { display: grid; grid-template-columns: 1fr auto; gap: 4px 14px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.cart-item h4 { margin: 0; font: 600 1rem/1.3 var(--font-body); }
.cart-item .note { grid-column: 1; color: var(--muted); font-size: .88rem; }
.cart-item .amt { font-weight: 600; text-align: right; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--bone); margin-top: 8px; width: max-content; }
.qty button { width: 36px; height: 36px; background: none; border: 0; cursor: pointer; font-size: 1.15rem; }
.qty span { min-width: 30px; text-align: center; font-weight: 600; }
.cart-remove { background: none; border: 0; color: var(--muted); font-size: .85rem; cursor: pointer; text-decoration: underline; grid-column: 2; justify-self: end; }
.cart-foot { padding: 22px 26px 26px; border-top: 1px solid var(--line); background: var(--plaster); }
.cart-foot .row { display: flex; justify-content: space-between; font-weight: 600; font-size: 1.1rem; margin-bottom: 14px; }
.cart-foot .btn + .btn { margin-top: 10px; }
.cart-foot .small { color: var(--muted); margin: 12px 0 0; }
.toast { position: fixed; left: 50%; bottom: 28px; transform: translate(-50%, 30px); background: var(--ink); color: #fff; padding: 14px 22px; z-index: 130; opacity: 0; pointer-events: none; transition: all .35s var(--ease); max-width: calc(100% - 32px); }
.toast.show { opacity: 1; transform: translate(-50%, 0); }
.mpesa-badge { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: #fff; background: #1F9D55; padding: 6px 12px; font-size: .85rem; letter-spacing: .02em; }
.demo-note { background: var(--rose-wash); border-left: 4px solid var(--rose); padding: 14px 18px; font-size: .94rem; margin: 18px 0; color: var(--ink); }
.demo-note[hidden] { display: none; }

/* 10 ── FORMS / WIZARD ──────────────────────────────────────────────────── */
.field { margin-bottom: 20px; }
.field label, .field .label { display: block; font-weight: 600; font-size: .94rem; margin-bottom: 7px; color: var(--ink); }
.field .hint { font-size: .86rem; color: var(--muted); margin: 6px 0 0; }
input:not([type]), input[type=text], input[type=tel], input[type=email], input[type=date], input[type=number], select, textarea { width: 100%; padding: 15px 16px; font: 400 1rem/1.3 var(--font-body); background: #fff; border: 1.5px solid var(--bone); border-radius: 0; color: var(--text); min-height: 52px; }
textarea { min-height: 120px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--rose); box-shadow: 0 0 0 3px var(--rose-wash); }
.field.invalid input, .field.invalid select { border-color: #B00020; }
.field .err { display: none; color: #B00020; font-size: .86rem; margin-top: 6px; }
.field.invalid .err { display: block; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 22px; }
.choice-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 16px; }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; inset: 0; cursor: pointer; z-index: 2; width: 100%; height: 100%; }
.choice__body { display: block; height: 100%; padding: 22px; border: 1.5px solid var(--bone); background: #fff; transition: all .25s; }
.choice__body strong { display: block; font: 400 1.35rem/1.2 var(--font-display); color: var(--ink); margin-bottom: 4px; }
.choice__body span { color: var(--muted); font-size: .94rem; display: block; }
.choice__body em { font-style: normal; font-weight: 700; color: var(--rose); display: block; margin-top: 10px; }
.choice input:checked + .choice__body { border-color: var(--rose); box-shadow: inset 0 0 0 1.5px var(--rose); background: var(--rose-wash); }
.choice input:focus-visible + .choice__body { outline: 2px solid var(--rose); outline-offset: 3px; }
.choice input:disabled + .choice__body { opacity: .5; }
.check-list { display: grid; gap: 8px; }
.check-list label { display: flex; align-items: center; gap: 12px; padding: 13px 16px; background: #fff; border: 1.5px solid var(--bone); cursor: pointer; font-weight: 450; margin: 0; }
.check-list label span:last-child { margin-left: auto; font-weight: 600; white-space: nowrap; }
.check-list input { width: 20px; height: 20px; accent-color: var(--rose); flex: 0 0 auto; }
.check-list label:has(input:checked) { border-color: var(--rose); background: var(--rose-wash); }
.wizard { max-width: 920px; margin-inline: auto; }
.progress { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; margin-bottom: 2.4rem; list-style: none; padding: 0; counter-reset: p; }
.progress li { counter-increment: p; font-size: .86rem; color: var(--muted); border-top: 3px solid var(--bone); padding-top: 10px; transition: all .3s; }
.progress li::before { content: counter(p) ". "; }
.progress li.done { border-color: var(--ink); color: var(--ink); }
.progress li.current { border-color: var(--rose); color: var(--rose); font-weight: 600; }
.wizard-step { display: none; }
.wizard-step.active { display: block; animation: stepin .45s var(--ease); }
@keyframes stepin { from { opacity: 0; transform: translateX(18px); } to { opacity: 1; transform: none; } }
.wizard-nav { display: flex; justify-content: space-between; gap: 14px; margin-top: 2.2rem; flex-wrap: wrap; }
.summary { background: #fff; border: 1px solid var(--line); padding: clamp(22px, 3vw, 36px); }
.summary dl { margin: 0; display: grid; grid-template-columns: 170px 1fr; gap: 10px 20px; }
.summary dt { color: var(--muted); }
.summary dd { margin: 0; font-weight: 500; }
.summary hr { border: 0; border-top: 1px solid var(--line); margin: 20px 0; }
.summary .totals { display: grid; grid-template-columns: 1fr auto; gap: 8px 20px; }
.summary .totals .big { font: 400 1.6rem/1.2 var(--font-display); color: var(--ink); }
.checkout { display: grid; grid-template-columns: 1.2fr .8fr; gap: clamp(30px, 5vw, 72px); align-items: start; }
.order-box { background: #fff; border: 1px solid var(--line); padding: 26px; position: sticky; top: 100px; }
.order-box .line { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.order-box .line.total { font: 400 1.5rem/1.2 var(--font-display); border: 0; padding-top: 18px; color: var(--ink); }
.pay-panel { border: 1.5px solid #1F9D55; padding: 22px; background: #fff; margin: 22px 0; }
.status { padding: 14px 18px; margin-top: 16px; font-weight: 500; }
.status.wait { background: #FFF6DB; }
.status.ok { background: #DDF3E5; }
.status.bad { background: #FBE2E6; }
.order-done { text-align: center; padding: 40px 0; }

/* 11 ── MOON ────────────────────────────────────────────────────────────── */
.moon-stage { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 6vw, 90px); align-items: center; }
.moon-card { background: radial-gradient(ellipse at 50% 30%, #2A1F3C 0%, #130C1D 70%); color: #fff; padding: clamp(28px, 4vw, 56px); text-align: center; position: relative; }
.moon-card .moon-art { width: min(300px, 70%); margin: 0 auto 18px; filter: drop-shadow(0 0 40px rgba(244,239,230,.25)); }
.moon-card .moon-art svg { width: 100%; height: auto; }
.moon-card h3 { color: #fff; font-size: clamp(1.7rem, 3vw, 2.3rem); margin-bottom: .2em; }
.moon-card p { margin: 0 auto .3em; color: #CFC4DA; }
.moon-meta { display: flex; justify-content: center; gap: 28px; margin-top: 18px; flex-wrap: wrap; }
.moon-meta b { display: block; font: 300 1.9rem/1 var(--font-display); color: #fff; }
.moon-meta span { font-size: .85rem; color: #A99DB9; }
.phase-strip { display: grid; grid-template-columns: repeat(8, 1fr); gap: 8px; margin-top: 2.4rem; }
.phase-strip div { text-align: center; font-size: .78rem; color: var(--muted); }
.phase-strip svg { width: 100%; max-width: 70px; height: auto; margin: 0 auto 6px; }
.phase-strip .on svg { outline: 2px solid var(--rose); outline-offset: 3px; border-radius: 50%; }
.phase-strip .on { color: var(--ink); font-weight: 600; }
.poster-wrap { display: grid; justify-items: center; }
.poster { width: min(360px, 100%); aspect-ratio: 3 / 4; padding: 7%; display: flex; flex-direction: column; align-items: center; justify-content: space-between; text-align: center; box-shadow: 0 40px 70px -30px rgba(27,18,25,.55), 0 0 0 10px #1a1a1a, 0 0 0 11px #3a3a3a; transition: background .4s, color .4s; }
.poster[data-style="midnight"] { background: #130C1D; color: #F4EFE6; }
.poster[data-style="ivory"] { background: #F6F1E8; color: #1B1219; }
.poster[data-style="blush"] { background: #F3D9E3; color: #3A0E26; }
.poster .p-top { font: 400 .72rem/1.4 var(--font-body); letter-spacing: .24em; text-transform: uppercase; opacity: .8; }
.poster .p-moon { width: 62%; }
.poster .p-moon svg { width: 100%; height: auto; }
.poster .p-name { font: 300 clamp(1.6rem, 4vw, 2.1rem)/1.1 var(--font-display); }
.poster .p-date { font: 400 .95rem/1.4 var(--font-body); letter-spacing: .06em; }
.poster .p-phase { font: 400 .74rem/1.4 var(--font-body); letter-spacing: .2em; text-transform: uppercase; opacity: .75; }
.swatches { display: flex; gap: 10px; }
.swatches label { cursor: pointer; margin: 0; }
.swatches input { position: absolute; opacity: 0; }
.swatches span { display: block; width: 44px; height: 44px; border: 2px solid var(--bone); border-radius: 50%; }
.swatches input:checked + span { outline: 2px solid var(--rose); outline-offset: 3px; }
.swatches input:focus-visible + span { outline: 2px solid var(--rose); outline-offset: 3px; }

/* 12 ── MAGNETS ─────────────────────────────────────────────────────────── */
.mag-stage { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(28px, 5vw, 72px); align-items: start; }
.fridge { background: linear-gradient(135deg, #e9ecee 0%, #cfd4d8 45%, #e6e9eb 100%); padding: clamp(22px, 4vw, 44px); box-shadow: inset 0 0 0 1px #b8bec3, inset 0 0 60px rgba(0,0,0,.08), 0 30px 60px -34px rgba(27,18,25,.5); min-height: 420px; position: relative; }
.fridge::before { content: ""; position: absolute; left: 14px; top: 14%; bottom: 14%; width: 10px; background: linear-gradient(90deg, #aab0b5, #e1e5e8, #aab0b5); border-radius: 6px; }
.magnets { display: grid; grid-template-columns: repeat(var(--cols, 2), 1fr); gap: clamp(12px, 2.2vw, 26px); justify-items: center; align-items: center; padding-left: 18px; }
.magnet { position: relative; width: var(--mw, 100%); max-width: 130px; aspect-ratio: 53 / 80; background: #fff; padding: 5%; cursor: pointer; border: 0; box-shadow: 0 14px 18px -10px rgba(0,0,0,.45), 0 2px 3px rgba(0,0,0,.25); transition: transform .35s var(--ease); }
.magnet:nth-child(3n+1) { transform: rotate(-2.4deg); }
.magnet:nth-child(3n+2) { transform: rotate(1.8deg); }
.magnet:nth-child(3n) { transform: rotate(-.8deg); }
.magnet:hover { transform: rotate(0) scale(1.05); z-index: 2; }
.magnet img { width: 100%; height: 100%; object-fit: cover; }
.magnet[data-shape="round"], .magnet[data-shape="round"] img { border-radius: 50%; }
.magnet[data-shape="heart"] { background: transparent; box-shadow: none; padding: 0; filter: drop-shadow(0 12px 10px rgba(0,0,0,.35)); }
.magnet[data-shape="heart"] img { -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 29'%3E%3Cpath d='M23.6 0c-3.4 0-6.3 2.7-7.6 5.6C14.7 2.7 11.8 0 8.4 0 3.8 0 0 3.8 0 8.4c0 9.4 9.5 11.9 16 21.2 6.1-9.3 16-12.1 16-21.2C32 3.8 28.2 0 23.6 0z'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 29'%3E%3Cpath d='M23.6 0c-3.4 0-6.3 2.7-7.6 5.6C14.7 2.7 11.8 0 8.4 0 3.8 0 0 3.8 0 8.4c0 9.4 9.5 11.9 16 21.2 6.1-9.3 16-12.1 16-21.2C32 3.8 28.2 0 23.6 0z'/%3E%3C/svg%3E") center / contain no-repeat; }
.magnet .swap { position: absolute; right: 6px; bottom: 6px; background: rgba(27,18,25,.82); color: #fff; font-size: .7rem; padding: 4px 7px; }
.thumbs { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 10px; }
.thumbs button { width: 58px; height: 58px; padding: 0; border: 2px solid transparent; background: none; cursor: pointer; }
.thumbs button img { width: 100%; height: 100%; object-fit: cover; }
.thumbs button[aria-pressed="true"] { border-color: var(--rose); }
.drop { border: 2px dashed var(--bone); padding: 22px; text-align: center; background: #fff; cursor: pointer; }
.drop:hover { border-color: var(--rose); }
.live-price { font: 330 2.4rem/1 var(--font-display); color: var(--ink); margin: 1rem 0; }
.live-price small { font: 500 .9rem/1.4 var(--font-body); color: var(--muted); display: block; }

/* 13 ── FOOTER ──────────────────────────────────────────────────────────── */
.site-footer { background: var(--plaster); border-top: 1px solid var(--line); padding-top: clamp(56px, 7vw, 96px); }
.footer-grid { display: grid; grid-template-columns: 1.3fr repeat(4, 1fr); gap: clamp(28px, 4vw, 60px); padding-bottom: 56px; }
.footer-brand img { height: 84px; width: auto; margin-bottom: 14px; }
.footer-brand p { color: var(--muted); max-width: 30ch; }
.footer-brand .footer-tagline { font-family: var(--font-display); font-size: 1.25rem; color: var(--ink); margin: 0 0 .5em; }
.footer-brand .footer-video { margin-top: .9em; font-size: .9rem; font-style: italic; }
.site-footer h4 { font: 600 .92rem/1 var(--font-body); color: var(--ink); margin-bottom: 16px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 8px; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: var(--rose); text-decoration: underline; }
.footer-bottom { border-top: 1px solid var(--line); padding-block: 22px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: .9rem; color: var(--muted); }
.footer-bottom nav { display: flex; gap: 22px; flex-wrap: wrap; }
.pay-line { display: flex; align-items: center; gap: 10px; margin-top: 16px; color: var(--muted); font-size: .9rem; }
.wa-float { position: fixed; right: 18px; bottom: 22px; z-index: 55; width: 58px; height: 58px; border-radius: 50%; background: #25D366; color: #fff; display: grid; place-items: center; box-shadow: 0 10px 24px -8px rgba(0,0,0,.45); }
.wa-float svg { width: 30px; height: 30px; }

/* 14 ── UTILITIES / MOTION ──────────────────────────────────────────────── */
.mt-0 { margin-top: 0 !important; } .mt-2 { margin-top: 2rem !important; } .mt-4 { margin-top: 4rem !important; }
.mb-0 { margin-bottom: 0 !important; }
.muted { color: var(--muted); }
.hide { display: none !important; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* RESPONSIVE ──────────────────────────────────────────────────────────────*/
@media (max-width: 1360px) { .gift-link span { display: none; } .gift-link { padding: 12px 10px; } }
@media (max-width: 1200px) {
  .nav, .header-actions .gift-link, .header-actions .btn { display: none; }
  .burger { display: inline-grid; }
  .site-header .container { display: flex; justify-content: space-between; min-height: 68px; }
}
@media (max-width: 1120px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .tiers { grid-template-columns: 1fr; }
  .tier + .tier { border-left: 0; border-top: 1px solid var(--line); }
  .product-row { grid-template-columns: repeat(2, 1fr); }
  .product-row--5 { grid-template-columns: repeat(2, 1fr); }
  .product:nth-child(3), .product:nth-child(5) { border-left: 0; }
  .product:nth-child(n+3) { border-top: 1px solid var(--line); }
  .product:nth-child(n+3) { border-top: 1px solid var(--line); }
}
@media (max-width: 900px) {
  .split, .page-hero .container, .moon-stage, .mag-stage, .checkout, .feature-band, .grid-2 { grid-template-columns: 1fr; }
  .split--flip > :first-child { order: 0; }
  .page-hero__media { justify-self: start; aspect-ratio: 4 / 4.2; max-height: 420px; width: 100%; max-width: 420px; }
  .grid-3, .cat-grid, .info-grid, .contact-cards, .quote-cards, .pillars { grid-template-columns: 1fr; }
  .info-grid > div + div, .contact-cards > div + div, .quote-cards figure + figure, .pillar + .pillar { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); }
  .steps { grid-template-columns: 1fr 1fr; row-gap: 36px; }
  .create-card, .create-card:nth-child(n) { grid-column: 1 / -1; min-height: 400px; margin-top: 0; }
  .editorial { grid-template-columns: 1fr 1fr; }
  .editorial figure { grid-column: auto !important; margin-bottom: 0 !important; }
  .masonry { columns: 2; }
  .post-grid { grid-template-columns: 1fr; }
  .order-box { position: static; }
  .grid-4 { grid-template-columns: 1fr 1fr; }
  .hero { min-height: 0; display: block; }
  .hero__media { position: relative; width: 100%; height: 66vh; min-height: 380px; inset: auto; }
  .hero__media::before { background: linear-gradient(0deg, #050304 0%, rgba(5,3,4,0) 45%); }
  .hero .container { padding-block: 8px 44px; }
  .hero h1 { max-width: 11ch; }
  .hero__caption { margin-top: 1.8rem; }
  .feature-band__media { min-height: 320px; }
}
@media (max-width: 720px) {
  body { padding-bottom: 76px; font-size: 1rem; }
  .topbar { display: none; }   /* the gift link now lives in the menu */
  .brand img { height: 42px; }
  .brand span { font-size: 1.2rem; }
  .mobile-cta { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 70; background: var(--chalk); border-top: 1px solid var(--line); padding: 10px 14px calc(10px + env(safe-area-inset-bottom)); gap: 10px; }
  .mobile-cta .btn { flex: 1; }
  .mobile-cta .btn--wa { flex: 0 0 52px; padding: 0; }
  .mobile-cta svg { width: 26px; height: 26px; }
  .wa-float { display: none; }
  .form-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .masonry { columns: 2; column-gap: 10px; }
  .progress { grid-template-columns: repeat(5, 1fr); }
  .progress li { font-size: 0; }
  .progress li::before { font-size: .86rem; }
  .progress li.current { font-size: 0; }
  .summary dl { grid-template-columns: 1fr; gap: 2px; }
  .summary dt { margin-top: 10px; font-size: .86rem; }
  .product-row, .product-row--5 { grid-template-columns: 1fr; }
  .product + .product { border-left: 0; border-top: 1px solid var(--line); }
  .footer-grid { grid-template-columns: 1fr; }
  .phase-strip { grid-template-columns: repeat(4, 1fr); row-gap: 18px; }
  .compare { min-width: 560px; }
  .footer-bottom { flex-direction: column; }
  .toast { bottom: 90px; }
}

/* ===== Studio system additions ===== */
.row-inline { display: flex; gap: 10px; align-items: stretch; flex-wrap: wrap; } .row-inline input { flex: 1 1 200px; }
.agree { display: grid; gap: 10px; margin: 1.2rem 0; padding: 16px; background: var(--rose-wash, #fbf3f1); border: 1px solid var(--bone); }
.agree .check { display: flex; gap: 12px; align-items: flex-start; font-weight: 450; margin: 0; cursor: pointer; font-size: .95rem; }
.agree .check input { width: 20px; height: 20px; accent-color: var(--rose); flex: 0 0 auto; margin-top: 2px; }
.notice { padding: 16px 20px; border-left: 3px solid var(--rose); background: var(--rose-wash, #fbf3f1); margin: 1.2rem 0; }
.notice--warn { border-color: #b8924a; background: #fbf6ea; }
.legal h2 { margin-top: 2.2rem; font-size: 1.35rem; } .legal ul { padding-left: 1.2rem; } .legal li { margin: .35rem 0; }
.legal .draft-note { font-size: .88rem; color: var(--muted); border: 1px dashed var(--bone); padding: 10px 14px; margin-bottom: 1.6rem; }
.wl-form { display: grid; gap: 10px; max-width: 520px; } .wl-form .wl-msg { margin: 0; font-size: .95rem; }
.wl-consent label { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; font-size: .9rem; line-height: 1.45; color: var(--muted); margin: 0; cursor: pointer; }
.wl-consent input { width: 20px; height: 20px; min-height: 0; padding: 0; flex: 0 0 auto; margin-top: 1px; accent-color: var(--rose); }
.wl-consent a { color: inherit; text-decoration: underline; }
.hp { position: absolute; left: -5000px; width: 0; height: 0; opacity: 0; }
.live-reviews { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; margin-top: 2rem; }
.live-reviews figure { margin: 0; padding: 22px; background: #fff; border: 1px solid var(--line); }
.stars-row { color: var(--accent); letter-spacing: 3px; }
.star-input { display: flex; gap: 6px; font-size: 2rem; } .star-input button { background: none; border: 0; cursor: pointer; color: #cdbfb6; font-size: inherit; padding: 0 2px; } .star-input button.on { color: var(--accent); }
.pay-steps { display: grid; gap: 6px; margin: 0 0 1rem; padding: 0; list-style: none; counter-reset: s; } .pay-steps li::before { counter-increment: s; content: counter(s) ". "; font-weight: 600; }
.badge-soft { display: inline-block; padding: 3px 9px; border: 1px solid var(--bone); font-size: .78rem; letter-spacing: .04em; }
[hidden] { display: none !important; }

.magnet[data-o="landscape"] { aspect-ratio: 80 / 53; max-width: 190px; }
.magnet[data-o="portrait"] { aspect-ratio: 53 / 80; max-width: 126px; }
.magnet .turn { position: absolute; right: 4px; top: 4px; width: 26px; height: 26px; border-radius: 50%; border: 0; background: rgba(27,18,25,.78); color: #fff; font-size: 15px; line-height: 1; cursor: pointer; padding: 0; opacity: .9; }
.magnet .turn:hover, .magnet .turn:focus-visible { background: var(--rose, #d1006f); }

/* Magnet builder v3: free-form, true 53 x 80 mm proportions (portrait and landscape are the same magnet turned) */
.magnets { display: block !important; position: relative; padding: 0 !important; min-height: 380px; touch-action: none; }
.magnet { position: absolute !important; max-width: none !important; aspect-ratio: auto !important; transform: rotate(var(--tilt, 0deg)); cursor: grab; user-select: none; -webkit-user-select: none; touch-action: none; transition: box-shadow .2s; }
.magnet:nth-child(n) { transform: rotate(var(--tilt, 0deg)); }
.magnet:hover { transform: rotate(var(--tilt, 0deg)) scale(1.03); z-index: 2; }
.magnet.dragging { cursor: grabbing; z-index: 5; transform: rotate(0deg) scale(1.06); box-shadow: 0 26px 30px -14px rgba(0,0,0,.55), 0 3px 5px rgba(0,0,0,.3); transition: none; }
.magnet[data-o="landscape"], .magnet[data-o="portrait"] { max-width: none !important; aspect-ratio: auto !important; }
.magnet img { pointer-events: none; }
.magnet { padding: 5px !important; }

/* floating WhatsApp button: flat brand-green circle */
.wa-float { background: var(--whatsapp); box-shadow: 0 10px 24px -8px rgba(11,122,59,.55); transition: transform .2s var(--ease), box-shadow .2s var(--ease); }
.wa-float:hover { transform: translateY(-3px); box-shadow: 0 14px 28px -8px rgba(11,122,59,.6); }
.mobile-cta .btn--wa { padding: 0; }
.btn[disabled]::before, .btn[disabled]::after { display: none; }
@media (prefers-reduced-motion: reduce) { .btn, .btn:hover, .btn:active { transition: none; transform: none; } }

/* ==========================================================================
   PHOTOBOOKS (v21): the flip-through book and the arrange tools.
   Uses the same tokens as the rest of the site. Page photos live in "spread" coordinates:
   x runs across BOTH pages (0 to 1), y runs down the page, so a photo can cross the fold.
   ========================================================================== */
.pb-stage { display: grid; grid-template-columns: 1.3fr .7fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
.pb-left { min-width: 0; }
@media (min-width: 1000px) and (min-height: 780px) { .pb-left { position: sticky; top: 104px; } }
.pb-wrap { --pbs: .88; width: calc(var(--pbs) * 100%); margin-inline: auto; transition: width .6s var(--ease); }
.pb-book { position: relative; aspect-ratio: 2 / 1; user-select: none; -webkit-user-select: none; touch-action: pan-y; cursor: pointer; outline-offset: 6px; --pbc: #8E1B54; }
.pb-book::before { content: ""; position: absolute; left: 4%; right: 4%; bottom: -4%; height: 9%; background: radial-gradient(ellipse at center, rgba(27,18,25,.42), rgba(27,18,25,0) 70%); filter: blur(7px); pointer-events: none; }
.pb-shift { position: absolute; inset: 0; perspective: 2600px; transition: transform .9s var(--ease); }
.pb-leaf { position: absolute; left: 50%; top: 0; width: 50%; height: 100%; transform-origin: 0 50%; transform-style: preserve-3d; transition: transform .95s cubic-bezier(.52, .04, .22, 1); }
.pb-leaf.is-flipped { transform: rotateY(-180deg); }
.pb-face { position: absolute; inset: 0; overflow: hidden; background: #FBF8F4; backface-visibility: hidden; -webkit-backface-visibility: hidden; box-shadow: 0 0 0 1px rgba(42,21,35,.07); }
.pb-back { transform: rotateY(180deg); }
.pb-front::after, .pb-back::after { content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 5; }
.pb-front::after { background: linear-gradient(to right, rgba(27,18,25,.26), rgba(27,18,25,.06) 6%, rgba(27,18,25,0) 14%); }
.pb-back::after { background: linear-gradient(to left, rgba(27,18,25,.26), rgba(27,18,25,.06) 6%, rgba(27,18,25,0) 14%); }
.pb-items { position: absolute; top: 0; width: 200%; height: 100%; }
.pb-ph { position: absolute; overflow: hidden; background: var(--plaster); }
.pb-ph img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pb-face.is-live .pb-items { visibility: hidden; }
.pb-pn { position: absolute; bottom: 2.6%; font: 500 .6rem/1 var(--font-body); color: #9a8d93; letter-spacing: .04em; }
.pb-front .pb-pn { right: 4%; } .pb-back .pb-pn { left: 4%; }
.pb-end { position: absolute; inset: 0; background: color-mix(in srgb, var(--pbc) 16%, #FBF8F4); }
.pb-backcover { position: absolute; inset: 0; background: var(--pbc); color: var(--pbi, #fff); display: grid; place-items: end center; padding-bottom: 9%; font: 330 clamp(.7rem, 1.6vw, 1rem)/1 var(--font-display); letter-spacing: .02em; opacity: 1; }
.pb-backcover span { opacity: .8; }

/* covers: softcover, hardcover, linen */
.pb-cover { position: absolute; inset: 0; background: var(--cv); color: var(--ci); display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 8% 9% 9%; gap: 4%; container-type: inline-size; overflow: hidden; }
.pb-cover-ph { width: 60%; aspect-ratio: 1 / 1.08; background: var(--plaster); flex: 0 0 auto; }
.pb-cover-ph img { width: 100%; height: 100%; object-fit: cover; }
.pb-cover-t { font: 360 clamp(1rem, 11cqw, 2.4rem)/1.08 var(--font-display); letter-spacing: -.015em; max-width: 100%; overflow-wrap: anywhere; font-variation-settings: "SOFT" 60; }
.pb-cover--nophoto .pb-cover-t { font-size: clamp(1.3rem, 15cqw, 3rem); }
.pb-cover-s { font: 500 clamp(.6rem, 3.6cqw, .95rem)/1.3 var(--font-body); letter-spacing: .04em; opacity: .82; }
.pb-cover-t.is-foil { background: linear-gradient(115deg, #A47F3E 0%, #F2DE9F 34%, #B58A42 52%, #F7E8B8 78%, #A47F3E 100%); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent; }
.pb-cover--light .pb-cover-t.is-foil { background-image: linear-gradient(115deg, #7A5A22 0%, #B88F45 36%, #8A6528 54%, #C9A55C 80%, #7A5A22 100%); }
.pb-cover::before { content: ""; position: absolute; top: 0; bottom: 0; left: 0; width: 7%; background: linear-gradient(to right, rgba(0,0,0,.30), rgba(0,0,0,0)); pointer-events: none; }
.pb-cover--keepsake { background-image: linear-gradient(125deg, rgba(255,255,255,.10), rgba(255,255,255,0) 42%); }
.pb-cover--keepsake::after { content: ""; position: absolute; top: 0; bottom: 0; left: 4.5%; width: 1px; background: rgba(255,255,255,.22); box-shadow: 1px 0 0 rgba(0,0,0,.18); }
.pb-cover--signature::after { content: ""; position: absolute; top: 0; bottom: 0; left: 5%; width: 2.2%; background: linear-gradient(to right, rgba(0,0,0,.20), rgba(255,255,255,.07) 55%, rgba(0,0,0,.12)); }
.pb-cover--heirloom { background-image: repeating-linear-gradient(0deg, rgba(255,255,255,.05) 0 1px, rgba(255,255,255,0) 1px 3px), repeating-linear-gradient(90deg, rgba(0,0,0,.06) 0 1px, rgba(0,0,0,0) 1px 3px); }
.pb-cover--heirloom::after { content: ""; position: absolute; inset: 4.5% 4.5% 4.5% 9%; border: 1px solid #B08D57; pointer-events: none; }
.pb-cover--light.pb-cover--heirloom::after { border-color: #8A6A32; }

/* the arrange layer: a flat sheet laid over the open spread */
.pb-edit { position: absolute; inset: 0; z-index: 400; touch-action: pan-y; cursor: default; }
.pb-edit[hidden] { display: none !important; }
.pb-item { position: absolute; cursor: grab; touch-action: none; background: var(--plaster); outline: 1px solid rgba(42,21,35,.0); }
.pb-item img { width: 100%; height: 100%; object-fit: cover; display: block; pointer-events: none; -webkit-user-drag: none; }
.pb-item:hover { outline: 1.5px dashed var(--rose); outline-offset: -1px; }
.pb-item.is-sel { outline: 2px solid var(--rose); outline-offset: 0; z-index: 3; }
.pb-item.is-moving { cursor: grabbing; box-shadow: 0 18px 30px -14px rgba(0,0,0,.55); }
.pb-item:focus-visible { outline: 2px solid var(--rose); outline-offset: 2px; }
.pb-h { position: absolute; width: 14px; height: 14px; background: #fff; border: 2px solid var(--rose); display: none; z-index: 4; touch-action: none; }
.pb-item.is-sel .pb-h { display: block; }
.pb-h[data-h="nw"] { left: -8px; top: -8px; cursor: nwse-resize; } .pb-h[data-h="ne"] { right: -8px; top: -8px; cursor: nesw-resize; }
.pb-h[data-h="sw"] { left: -8px; bottom: -8px; cursor: nesw-resize; } .pb-h[data-h="se"] { right: -8px; bottom: -8px; cursor: nwse-resize; }
@media (pointer: coarse) { .pb-h { width: 24px; height: 24px; } .pb-h[data-h="nw"] { left: -13px; top: -13px; } .pb-h[data-h="ne"] { right: -13px; top: -13px; } .pb-h[data-h="sw"] { left: -13px; bottom: -13px; } .pb-h[data-h="se"] { right: -13px; bottom: -13px; } }
.pb-fold { position: absolute; left: 50%; top: 0; bottom: 0; width: 0; border-left: 1px dashed rgba(42,21,35,.38); pointer-events: none; z-index: 6; }
.pb-void { position: absolute; top: 0; bottom: 0; background: repeating-linear-gradient(45deg, rgba(42,21,35,.10) 0 6px, rgba(42,21,35,.03) 6px 12px); pointer-events: none; z-index: 1; }
.pb-guide { position: absolute; background: var(--accent); pointer-events: none; z-index: 7; }
.pb-guide--v { top: 0; bottom: 0; width: 1px; } .pb-guide--h { left: 0; right: 0; height: 1px; }
.pb-empty { position: absolute; inset: 0; display: grid; place-items: center; margin: 0; max-width: none; color: var(--muted); font-size: .9rem; pointer-events: none; text-align: center; padding: 0 12%; }

/* controls under the book */
.pb-bar { display: flex; align-items: center; gap: 10px 14px; flex-wrap: wrap; margin-top: 28px; }
.pb-bar .pb-range { flex: 1 1 140px; min-width: 120px; accent-color: var(--rose); }
.pb-nav { width: 46px; height: 46px; border: 1.5px solid var(--ink); background: transparent; color: var(--ink); font-size: 1.25rem; line-height: 1; cursor: pointer; transition: background .2s, color .2s; }
.pb-nav:hover:not(:disabled) { background: var(--ink); color: #fff; }
.pb-nav:disabled { opacity: .35; cursor: default; }
.pb-status { font-weight: 600; color: var(--ink); min-width: 9.5em; text-align: center; font-size: .95rem; }
.pb-caption { margin: 14px 0 0; color: var(--muted); font-size: .9rem; max-width: none; }
.btn[aria-pressed="true"] { --btn-bg: var(--mulberry); --btn-fg: #fff; --btn-bd: var(--mulberry); }
.pb-tools { margin-top: 20px; padding: 18px 0 0; border-top: 1px solid var(--line); display: grid; gap: 16px; }
.pb-tools[hidden], .pb-after[hidden] { display: none !important; }
.pb-group { display: grid; gap: 8px; }
.pb-group > .label { font-weight: 600; font-size: .9rem; color: var(--ink); }
.pb-layouts { display: flex; flex-wrap: wrap; gap: 8px; }
.pb-layouts button { width: 74px; padding: 8px 8px 6px; border: 1.5px solid var(--bone); background: #fff; color: var(--ink); cursor: pointer; transition: border-color .2s; }
.pb-layouts button:hover, .pb-layouts button:focus-visible { border-color: var(--rose); }
.pb-layouts svg { width: 100%; height: auto; display: block; }
.pb-layouts rect.pg { fill: #EDE5DE; } .pb-layouts rect.ph { fill: var(--ink); } .pb-layouts line { stroke: #C9BDB6; stroke-width: .5; }
.pb-acts { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.pb-chip { padding: 9px 13px; border: 1.5px solid var(--bone); background: #fff; color: var(--ink); font: 600 .86rem/1.1 var(--font-body); cursor: pointer; transition: border-color .2s, background .2s; }
.pb-chip:hover:not(:disabled), .pb-chip:focus-visible { border-color: var(--rose); }
.pb-chip:disabled { opacity: .42; cursor: default; }
.pb-chip--danger:hover:not(:disabled) { border-color: #B00020; color: #B00020; }
.pb-lock { display: inline-flex; align-items: center; gap: 8px; font-size: .88rem; color: var(--muted); margin-left: 4px; cursor: pointer; }
.pb-lock input { width: 18px; height: 18px; accent-color: var(--rose); }

/* the controls beside the book */
.pb-swatches { display: flex; flex-wrap: wrap; gap: 10px; }
.pb-swatch { position: relative; }
.pb-swatch input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; z-index: 2; }
.pb-swatch span { display: block; width: 44px; height: 44px; background: var(--c); box-shadow: inset 0 0 0 1px rgba(0,0,0,.2); }
.pb-swatch input:checked + span { outline: 2px solid var(--rose); outline-offset: 3px; }
.pb-swatch input:focus-visible + span { outline: 2px solid var(--rose); outline-offset: 3px; }
.pb-step { display: inline-flex; align-items: center; border: 1.5px solid var(--bone); background: #fff; }
.pb-step button { width: 46px; height: 46px; border: 0; background: none; font-size: 1.3rem; color: var(--ink); cursor: pointer; }
.pb-step button:hover:not(:disabled) { background: var(--rose-wash); }
.pb-step button:disabled { opacity: .35; cursor: default; }
.pb-step output { min-width: 52px; text-align: center; font-weight: 600; color: var(--ink); }
.pb-spec { display: block; font-size: .86rem; color: var(--muted); margin-top: 4px; }
.pb-warn { color: #8A4B00; font-size: .88rem; margin: 10px 0 0; max-width: none; }
.pb-after { margin-top: 18px; padding: 20px; background: #fff; border: 1px solid var(--line); border-left: 3px solid var(--mpesa); }
.pb-after h4 { margin-bottom: .3em; }
.pb-after p { max-width: none; margin-bottom: .8em; }
.pb-after .btn-row { margin-top: .4rem; }
@media (max-width: 960px) {
  .pb-stage { grid-template-columns: 1fr; }
  .pb-wrap { --pbs: 1 !important; }
  .pb-status { order: 5; flex-basis: 100%; text-align: left; }
}
@media (max-width: 560px) { .pb-layouts button { width: 62px; } .pb-chip { padding: 10px 11px; } }

/* a feature band whose picture sits on the right (home page) */
.feature-band--flip .feature-band__media { order: 2; }
@media (max-width: 960px) { .feature-band--flip .feature-band__media { order: 0; } }
/* a wide category card (collections page) */
.cat--wide { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(18px, 3vw, 44px); align-items: center; padding-top: clamp(8px, 2vw, 24px); border-top: 1px solid var(--line); }
.cat--wide .cat__img { aspect-ratio: 16 / 9; }
.cat--wide .cat__img img { height: 100%; }
@media (max-width: 960px) { .cat--wide { grid-template-columns: 1fr; } }
.pb-hint { margin: 16px 0 0; padding: 12px 16px; background: var(--rose-wash); border-left: 3px solid var(--rose); color: var(--ink); font-size: .94rem; max-width: none; }
.pb-hint[hidden] { display: none !important; }
#stories .info-grid .link-arrow { margin-top: .4rem; }
.tier--featured .bundle-save { color: #F0A3C3; }
.cat--wide .cat__img { aspect-ratio: 2.4 / 1; }
@media (max-width: 960px) { .cat--wide .cat__img { aspect-ratio: 16 / 9; } }

/* ===== v25: paths, promise, founding families, landing pages, guide ===== */
.path-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border: 1px solid var(--line); background: var(--chalk); }
.path-card { display: flex; flex-direction: column; gap: 8px; padding: clamp(24px, 3vw, 40px); color: inherit; text-decoration: none; transition: background .25s var(--ease); }
.path-card + .path-card { border-left: 1px solid var(--line); }
.path-card:hover, .path-card:focus-visible { background: var(--plaster); }
.path-card h3 { margin: 0; }
.path-card p { margin: 0; color: var(--muted); }
.path-card .link-arrow { margin-top: auto; padding-top: 14px; align-self: flex-start; }
@media (max-width: 760px) { .path-cards { grid-template-columns: 1fr; } .path-card + .path-card { border-left: 0; border-top: 1px solid var(--line); } }
.hero h1.hero__h1--long { max-width: 16ch; }
.promise { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 3vw, 44px); margin-top: 2.2rem; }
.promise > div { border-top: 1px solid var(--brass); padding-top: 18px; }
.promise h3 { font-size: 1.2rem; margin: 0 0 .35em; }
.promise p { margin: 0; color: var(--muted); font-size: 1rem; }
.section--dark .promise p { color: #CFC4CB; }
@media (max-width: 760px) { .promise { grid-template-columns: 1fr; } }
.val { display: block; font-size: .82rem; color: var(--muted); margin-top: 2px; }
.tier--featured .val { color: #BDB0B8; }
.bundle-total { margin-top: .9rem; font-size: .92rem; color: var(--muted); }
.tier--featured .bundle-total { color: #BDB0B8; }
[data-founding]:not([hidden]) { border: 1px solid var(--brass); background: var(--chalk); padding: clamp(24px, 4vw, 44px); max-width: 880px; margin-inline: auto; }
[data-founding] h2 { margin-top: .1em; }
.founding__count { margin: 1rem 0 0; color: var(--muted); }
.addon-panel { max-width: 720px; margin: 2.4rem auto 0; padding: clamp(22px, 3vw, 36px); border: 1px solid var(--line); background: var(--chalk); text-align: left; }
.addon-panel h3 { margin-top: 0; }
.addon-panel ul { list-style: none; padding: 0; margin: 1rem 0 0; display: grid; gap: 10px; }
.addon-panel li a { display: flex; justify-content: space-between; gap: 16px; padding: 14px 16px; border: 1px solid var(--line); color: inherit; text-decoration: none; background: #fff; }
.addon-panel li a:hover { border-color: var(--ink); }
.addon-panel li small { color: var(--muted); }
/* landing pages: no menu, one path */
.lp-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px var(--gutter); border-bottom: 1px solid var(--line); background: var(--chalk); }
.lp-head .brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font: 400 1.15rem/1 var(--font-display); }
.lp-head .brand img { width: 40px; height: auto; }
.lp-head a.lp-chat { font-size: .92rem; color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.lp-hero { padding-block: clamp(40px, 7vw, 96px); background: var(--chalk); }
.lp-hero h1 { max-width: 16ch; font-weight: 300; }
.lp-hero .lead { margin-top: 1rem; }
.lp-hero .lp-facts { list-style: none; padding: 0; margin: 1.6rem 0 0; display: grid; gap: 8px; color: var(--muted); font-size: .98rem; }
.lp-hero .lp-facts li::before { content: ""; display: inline-block; width: 5px; height: 5px; background: var(--accent); margin-right: 12px; transform: rotate(45deg) translateY(-2px); }
.lp-hero .lp-sub { margin-top: 1rem; font-size: .92rem; color: var(--muted); }
.lp-quote { font: 300 italic clamp(1.4rem, 2.6vw, 2.1rem)/1.3 var(--font-display); max-width: 30ch; color: var(--ink); }
.lp-window { display: grid; gap: 14px; max-width: 560px; margin-top: 1.4rem; }
.lp-window__out { min-height: 3.2em; margin: 0; color: var(--ink); }
.lp-foot { padding: 28px var(--gutter) 90px; border-top: 1px solid var(--line); font-size: .88rem; color: var(--muted); text-align: center; }
.lp-foot a { color: inherit; margin: 0 8px; }
/* casting guide (printable) */
.guide h2 { font-size: clamp(1.5rem, 2.4vw, 2rem); margin-top: 2.2rem; }
.guide ul { padding-left: 1.2em; } .guide li { margin: .4em 0; }
.guide .guide__box { border: 1px solid var(--line); background: var(--chalk); padding: 18px 22px; margin-top: 1.4rem; }
@media print { .topbar, .site-header, .mobile-nav, .site-footer, .wa-float, .btn-row, .no-print { display: none !important; } body { background: #fff; } }

/* founder portrait: corner frames grow and the photo eases in on hover */
.founder { position: relative; isolation: isolate; margin: 28px 0 0; max-width: 360px; }
.founder__img { overflow: hidden; aspect-ratio: 4 / 5; background: var(--plaster); }
.founder__img img { width: 100%; height: 100%; object-fit: cover; transform: scale(1); transition: transform 1.2s var(--ease); }
.founder::before, .founder::after { content: ""; position: absolute; width: clamp(34px, 5vw, 58px); height: clamp(34px, 5vw, 58px); border: 0 solid var(--accent); z-index: 2; pointer-events: none; transition: width .6s var(--ease), height .6s var(--ease); }
.founder::before { top: -12px; right: -12px; border-top-width: 4px; border-right-width: 4px; }
.founder::after { bottom: -12px; left: -12px; border-bottom-width: 4px; border-left-width: 4px; }
.founder:hover .founder__img img, .founder:focus-within .founder__img img { transform: scale(1.06); }
.founder:hover::before, .founder:hover::after, .founder:focus-within::before, .founder:focus-within::after { width: clamp(60px, 9vw, 104px); height: clamp(60px, 9vw, 104px); }
.founder figcaption { margin-top: 14px; font-size: .9rem; line-height: 1.4; color: var(--muted, #6b5b61); }
.founder figcaption strong { display: block; color: var(--ink); }
@media (prefers-reduced-motion: reduce) { .founder__img img, .founder::before, .founder::after { transition: none; } }

/* four-card chooser on the homepage */
.path-cards--4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1000px) and (min-width: 761px) { .path-cards--4 { grid-template-columns: 1fr 1fr; } .path-cards--4 .path-card:nth-child(3) { border-left: 0; } .path-cards--4 .path-card:nth-child(n+3) { border-top: 1px solid var(--line); } }

/* Photo banner for inner pages (same look as the homepage hero, shorter). */
.hero--page { min-height: clamp(380px, 54vh, 540px); }
.hero--page .container { padding-block: clamp(48px, 6vw, 84px); }
.hero--page h1 { max-width: 16ch; font-size: clamp(2.3rem, 5.2vw, 4.2rem); }
.hero--page .lead { color: #E6DCE2; max-width: 40ch; margin-top: 1.2rem; }
.hero--page .crumbs { color: #B9ADB5; margin-bottom: 1.2rem; }
.hero--page .crumbs a:hover { color: #fff; }
.hero--page .btn-row { margin-top: 1.6rem; }
.hero--page .hero__media img { animation: none; }
.banner-facts .lp-facts { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; color: var(--muted); font-size: .98rem; max-width: 60ch; }
.banner-facts .lp-facts li::before { content: ""; display: inline-block; width: 5px; height: 5px; background: var(--accent); margin-right: 12px; transform: rotate(45deg) translateY(-2px); }
@media (max-width: 900px) {
  .hero--page { min-height: 0; }
  .hero--page .hero__media { height: 38vh; min-height: 240px; }
  .hero--page .container { padding-block: 8px 36px; }
}

/* Mobile fixes: the four-card chooser must stack (it was staying at four columns and pushing the page wider than the screen) */
@media (max-width: 760px) {
  .path-cards--4 { grid-template-columns: 1fr; }
  .path-cards--4 .path-card + .path-card, .path-cards--4 .path-card:nth-child(3) { border-left: 0; border-top: 1px solid var(--line); }
}

/* Comparison tables on phones: labels stay put, a clear "swipe" hint, and an edge fade that disappears at the end */
.table-shell { position: relative; }
.swipe-hint { display: none; margin: 0 0 8px; font-size: .86rem; color: var(--rose); font-weight: 600; letter-spacing: .01em; }
@media (max-width: 760px) {
  .swipe-hint.is-on { display: flex; align-items: center; gap: 8px; }
  .swipe-hint.is-on::after { content: "\2192"; animation: nudge 1.4s var(--ease) infinite; }
  .compare { min-width: 500px; }
  .compare th, .compare td { padding: 14px 10px; }
  .compare th:first-child, .compare td:first-child { position: sticky; left: 0; z-index: 1; background: var(--chalk); min-width: 112px; max-width: 128px; box-shadow: 1px 0 0 var(--line); font-size: .93rem; }
  .compare .feat:first-child { background: var(--chalk); }
  .table-scroll-fade { position: absolute; top: 0; right: 0; bottom: 0; width: 34px; pointer-events: none; background: linear-gradient(90deg, rgba(247,243,239,0), rgba(247,243,239,.95)); transition: opacity .2s; }
  .table-scroll-fade.is-end { opacity: 0; }
}
@keyframes nudge { 0%,100% { transform: translateX(0); } 50% { transform: translateX(5px); } }
@media (prefers-reduced-motion: reduce) { .swipe-hint.is-on::after { animation: none; } }

/* Our story: the portrait follows the reader, and the text gets room to breathe */
.story__text { max-width: 60ch; }
.story__text p { font-size: 1.06rem; line-height: 1.85; margin: 0 0 1.6rem; }
.story__text p:first-child { font-size: 1.28rem; line-height: 1.6; color: var(--ink); }
.story__text .story__turn { display: block; margin-top: 1.4rem; padding-left: 1.2rem; border-left: 3px solid var(--accent); font: 400 clamp(1.25rem, 2.2vw, 1.55rem)/1.5 var(--font-display); color: var(--ink); }
.story__text .lead { margin-top: 2.2rem; }
@media (min-width: 901px) { .story > div:first-child { position: sticky; top: 112px; } }

/* ---- Homepage v29: fewer, tighter sections ---- */
.section--auto:has(> .container > [hidden]:only-child) { display: none; }
.promise--after { margin-top: 3rem; padding-top: 2.4rem; border-top: 1px solid #3D2C38; position: relative; }
.promise--after > .kicker { grid-column: 1 / -1; margin: 0 0 -.6rem; }
.promise--after + .btn-row { margin-top: 2.2rem; align-items: center; gap: 24px; }
.price-strip { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--line); background: var(--chalk); }
.price-strip__item { position: relative; display: flex; flex-direction: column; gap: 6px; padding: clamp(22px, 2.6vw, 34px); color: inherit; text-decoration: none; transition: background .25s var(--ease); }
.price-strip__item + .price-strip__item { border-left: 1px solid var(--line); }
.price-strip__item h3 { margin: 0; }
.price-strip__item p { margin: 0; color: var(--muted); }
.price-strip__item .price { font: 400 1.7rem/1.2 var(--font-display); color: var(--ink); margin-top: 8px; }
.price-strip__item .price small { font: 500 .85rem var(--font-body); color: var(--muted); }
.price-strip__item .link-arrow { margin-top: 10px; align-self: flex-start; }
.price-strip__item:hover { background: var(--plaster); }
.price-strip__item--featured { background: var(--ink); color: #D9CED5; }
.price-strip__item--featured:hover { background: #3a2030; }
.price-strip__item--featured h3, .price-strip__item--featured .price, .price-strip__item--featured .link-arrow { color: #fff; }
.price-strip__item--featured p, .price-strip__item--featured .price small { color: #BDB0B8; }
.founder-note { display: grid; grid-template-columns: 210px 1fr; gap: clamp(24px, 5vw, 64px); align-items: center; max-width: 960px; margin-inline: auto; }
.founder-note .frame { aspect-ratio: 4 / 5; }
.founder-note h2 { margin-bottom: .4em; }
.final-cta--form .container { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(32px, 6vw, 80px); align-items: center; text-align: left; padding-block: clamp(56px, 8vw, 110px); }
.final-cta--form h2 { margin-inline: 0; font-size: clamp(2rem, 4.4vw, 3.6rem); }
.final-cta--form p { margin-inline: 0; }
.final-cta--form .btn-row { justify-content: flex-start; }
.final-cta__card { background: var(--chalk); color: var(--text); padding: clamp(22px, 3vw, 34px); }
.final-cta__card h3 { margin: 0 0 .4em; color: var(--ink); }
.final-cta__card p { color: var(--muted); font-size: 1rem; }
.final-cta--form .container:has(#reviews-empty[hidden]) { grid-template-columns: 1fr; text-align: center; }
.final-cta--form .container:has(#reviews-empty[hidden]) h2 { margin-inline: auto; }
.final-cta--form .container:has(#reviews-empty[hidden]) .btn-row { justify-content: center; }
@media (max-width: 900px) {
  .price-strip { grid-template-columns: 1fr; }
  .price-strip__item + .price-strip__item { border-left: 0; border-top: 1px solid var(--line); }
  .founder-note { grid-template-columns: 1fr; }
  .founder-note .frame { max-width: 170px; }
  .final-cta--form .container { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .container:has(.promise--after) .steps { grid-template-columns: 1fr 1fr; row-gap: 22px; }
  .container:has(.promise--after) .steps li { padding-right: 12px; }
  .container:has(.promise--after) .steps li::before { font-size: 2.4rem; }
  .container:has(.promise--after) .steps p { font-size: .94rem; }
  .promise--after { margin-top: 2rem; padding-top: 1.8rem; gap: 18px; }
}

/* ---- Homepage price line (inside How it works) ---- */
.price-line { margin-top: 2.6rem; padding-top: 2rem; border-top: 1px solid #3D2C38; }
.price-line .kicker { margin: 0 0 1rem; }
.price-line ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid #3D2C38; }
.price-line li + li { border-left: 1px solid #3D2C38; }
.price-line li a { display: flex; flex-direction: column; gap: 6px; padding: 18px 22px; color: #D9CED5; text-decoration: none; transition: background .25s var(--ease); }
.price-line li a:hover { background: rgba(255,255,255,.05); }
.price-line li span { font: 400 1.15rem/1.3 var(--font-display); color: #fff; }
.price-line li b { font: 400 1.6rem/1.2 var(--font-display); color: #fff; }
.price-line li.is-pick { background: rgba(209,0,111,.14); }
.price-line li em { font: 600 .72rem/1 var(--font-body); font-style: normal; letter-spacing: .06em; text-transform: uppercase; color: #F0A3C3; margin-left: .5em; white-space: nowrap; }
.price-line > .small { margin: 1rem 0 0; color: #BDB0B8; max-width: 70ch; }
.price-line + .btn-row { margin-top: 2rem; align-items: center; gap: 24px; flex-wrap: wrap; }
@media (max-width: 760px) {
  .price-line ul { grid-template-columns: 1fr; }
  .price-line li + li { border-left: 0; border-top: 1px solid #3D2C38; }
  .price-line li a { flex-direction: row; justify-content: space-between; align-items: baseline; padding: 14px 16px; }
  .price-line li b { font-size: 1.3rem; }
}

/* ---- Footer: link groups collapse on phones (script adds .is-acc; without it everything stays open) ---- */
@media (max-width: 760px) {
  .footer-grid.is-acc { gap: 0; padding-bottom: 32px; }
  .footer-grid.is-acc .footer-brand { padding-bottom: 24px; }
  .footer-grid.is-acc > div:not(.footer-brand) { border-top: 1px solid var(--line); }
  .footer-grid.is-acc h4 { margin: 0; padding: 16px 0; display: flex; justify-content: space-between; align-items: center; cursor: pointer; }
  .footer-grid.is-acc h4::after { content: ""; width: 8px; height: 8px; border-right: 1.6px solid currentColor; border-bottom: 1.6px solid currentColor; transform: rotate(45deg) translateY(-2px); transition: transform .2s var(--ease); }
  .footer-grid.is-acc h4[aria-expanded="true"]::after { transform: rotate(-135deg) translateY(-2px); }
  .footer-grid.is-acc > div:not(.footer-brand) > ul { display: none; padding-bottom: 12px; }
  .footer-grid.is-acc h4[aria-expanded="true"] + ul { display: block; }
}

/* Footer M-Pesa line: one clickable button (badge and text joined) */
.site-footer a.pay-line { position: relative; display: inline-flex; align-items: stretch; gap: 0; margin-top: 16px; border: 1px solid #1F9D55; background: transparent; color: var(--ink, #2A1523); font-size: .9rem; text-decoration: none; transition: background .2s, transform .25s var(--ease, ease); }
.site-footer a.pay-line .mpesa-badge { padding: 8px 12px; white-space: nowrap; align-items: center; }
.site-footer a.pay-line .pay-line__txt { display: inline-flex; align-items: center; padding: 8px 14px; line-height: 1.35; }
.site-footer a.pay-line:hover, .site-footer a.pay-line:focus-visible { background: rgba(31,157,85,.14); text-decoration: none; color: var(--ink, #2A1523); }
.site-footer a.pay-line:hover { transform: translateY(-1px); }
/* viewfinder corners appear on hover, same as .btn */
.site-footer a.pay-line::before, .site-footer a.pay-line::after { content: ""; position: absolute; width: 0; height: 0; border: 0 solid var(--accent, #D1006F); opacity: 0; pointer-events: none; transition: opacity .25s, width .3s var(--ease, ease), height .3s var(--ease, ease); }
.site-footer a.pay-line::before { top: -6px; right: -6px; border-top-width: 2px; border-right-width: 2px; }
.site-footer a.pay-line::after { bottom: -6px; left: -6px; border-bottom-width: 2px; border-left-width: 2px; }
@media (hover: hover) { .site-footer a.pay-line:hover::before, .site-footer a.pay-line:hover::after { opacity: 1; width: 15px; height: 15px; } }

/* Announcement bar: the M-Pesa phrase is a real link */
.topbar__msg a { color: #fff; text-decoration: underline; text-decoration-color: #1F9D55; text-decoration-thickness: 2px; text-underline-offset: 4px; }
.topbar__msg a:hover, .topbar__msg a:focus-visible { text-decoration-color: #fff; }

/* ---- Tighter vertical rhythm: less dead space between sections ---- */
.section { padding-block: clamp(52px, 6.5vw, 92px); }
.section--tight { padding-block: clamp(44px, 5.5vw, 72px); }
/* two plain sections in a row share one gap instead of stacking two paddings */
.section:not(.section--plaster):not(.section--dark) + .section:not(.section--plaster):not(.section--dark) { padding-top: clamp(0px, 1.5vw, 20px); }

/* Checkout: gift voucher details and the download buttons on the "paid" screen */
.gift-unit { border: 1px solid var(--line); background: var(--white); padding: 18px 20px 6px; margin: 0 0 16px; min-width: 0; }
.gift-unit legend { font: 600 .9rem/1.3 var(--font-body); color: var(--rose); padding: 0 8px; margin-left: -8px; }
.voucher-done { margin: 2rem auto 1.5rem; max-width: 560px; padding: 24px; background: var(--white); border: 1px solid var(--line); text-align: center; }
.voucher-done .btn { margin: 6px 4px; }
.voucher-banner { margin: 0 0 24px; padding: 14px 18px; background: var(--rose-wash); border-left: 3px solid var(--accent); color: var(--ink); font-weight: 500; }

/* v31 homepage hero */
.hero__sub--stack{max-width:50ch;font-size:clamp(1.05rem,1.4vw,1.3rem);line-height:1.55;margin-top:1.4rem}
.hero__caption--deposit{margin-top:1.1rem}
.hero__caption--deposit + .hero__caption{margin-top:1.6rem}

.hero h1.hero__h1--long.hero__h1--split{max-width:none;font-size:clamp(2.6rem,6vw,5.6rem)}
.hero__h1--split span{display:block}
.hero__h1--split .s1{max-width:16ch}
.hero__h1--split .s2{margin-top:.04em}
@media (max-width:520px){.hero h1.hero__h1--long.hero__h1--split{font-size:2.15rem}}

/* memory line opening the paths section: two even lines, no stranded word */
.head--memory{max-width:1000px}
.head--memory h2{text-wrap:balance;font-size:clamp(2rem,4.2vw,3.6rem)}
.head--memory .lead{max-width:60ch}

/* ===== Journal (list + stories) ===== */
.jchips { display: flex; flex-wrap: wrap; gap: 8px 10px; margin-bottom: clamp(26px, 4vw, 44px); }
.jchips a { padding: 8px 16px; border: 1px solid var(--line); border-radius: 999px; font-size: .92rem; text-decoration: none; color: var(--text); background: var(--white); }
.jchips a:hover { border-color: var(--rose); color: var(--rose); }
.jchips a.on { background: var(--ink); border-color: var(--ink); color: #fff; }
.jgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(28px, 3.4vw, 48px) clamp(22px, 3vw, 40px); }
.jgrid--two { grid-template-columns: repeat(2, 1fr); }
.jcard { display: flex; flex-direction: column; }
.jcard__img { display: block; overflow: hidden; margin-bottom: 16px; background: var(--plaster); }
.jcard__img img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; transition: transform .6s var(--ease, ease); }
.jcard:hover .jcard__img img { transform: scale(1.03); }
.jcard__meta { font-size: .84rem; color: var(--muted); letter-spacing: .01em; margin-bottom: 8px; }
.jcard__meta span { color: var(--rose); font-weight: 600; }
.jcard h3 { font-size: clamp(1.3rem, 1.8vw, 1.6rem); margin-bottom: .45em; }
.jcard h3 a { text-decoration: none; color: var(--ink); }
.jcard h3 a:hover { color: var(--rose); }
.jcard p { color: var(--muted); margin: 0 0 1rem; font-size: .98rem; }
.jcard__more { margin-top: auto; font-weight: 600; font-size: .94rem; color: var(--ink); text-decoration: none; border-bottom: 1.5px solid var(--rose); align-self: flex-start; padding-bottom: 2px; }
.jpager { display: flex; gap: 8px; justify-content: center; margin-top: clamp(30px, 5vw, 56px); }
.jpager a { min-width: 40px; text-align: center; padding: 9px 12px; border: 1px solid var(--line); text-decoration: none; color: var(--text); }
.jpager a.on { background: var(--ink); color: #fff; border-color: var(--ink); }

.hero.hero--story h1 { max-width: 22ch; font-size: clamp(2rem, 4.4vw, 3.5rem); }
.hero--story .lead { max-width: 52ch; }
.story-meta { color: #e9dde3; font-size: .92rem; letter-spacing: .02em; margin: 0 0 1rem; }
.container--story { max-width: calc(var(--wrap) + var(--gutter) * 2); }  /* same width as the banner, so the text lines up with the headline */
.story-body { font-size: clamp(1.05rem, 1.4vw, 1.32rem); line-height: 1.8; color: var(--text); }
.story-body::after { content: ""; display: block; clear: both; }
.story-body p, .story-body li { max-width: none; }
.story-body p { margin: 0 0 1.35em; }
.story-body h2 { font-size: clamp(1.6rem, 2.6vw, 2.15rem); margin: 2em 0 .55em; }
.story-body h3 { font-size: clamp(1.3rem, 2vw, 1.6rem); margin: 1.8em 0 .5em; }
.story-body a { color: var(--rose); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.story-body ul, .story-body ol { margin: 0 0 1.5em; padding-left: 1.3em; }
.story-body li { margin-bottom: .6em; }
.story-body blockquote { margin: 2em 0; padding: .2em 0 .2em 1.4em; border-left: 3px solid var(--accent); font: 340 italic clamp(1.25rem, 2vw, 1.55rem)/1.45 var(--font-display); color: var(--ink); }
.story-body blockquote p { margin: 0; }
.story-body hr { border: 0; border-top: 1px solid var(--line); margin: 2.4em 0; }
.sfig { margin: 2.4em 0; }
.sfig img { width: 100%; height: auto; display: block; }
.sfig figcaption { font-size: .95rem; color: var(--muted); margin-top: 12px; line-height: 1.5; font-style: italic; }
/* Photos are sized against the article column (1240px), not a fixed small box. --ar is the photo's own
   width / height, set per photo, so tall photos are held to a sensible height instead of towering. */
.sfig--wide { margin-inline: 0; width: 100%; }
.sfig--wide img { max-height: 720px; object-fit: cover; }
.sfig--wide.sfig--portrait img { max-height: 760px; object-position: 50% 35%; }
.sfig--medium { width: min(100%, calc(min(92vh, 1000px) * var(--ar, 1.5))); max-width: 1240px; margin-inline: auto; }
.sfig--small { width: min(100%, calc(min(82vh, 820px) * var(--ar, 1.5))); max-width: 1000px; margin-inline: auto; }
/* every photo sits in one uniform 16:9 frame across the text width; other shapes sit on a blurred copy of themselves */
.sfig--stage { width: 100%; max-width: none; }
.sfig__stage { position: relative; overflow: hidden; display: flex; align-items: center; justify-content: center; aspect-ratio: 16 / 9; background: var(--plaster); isolation: isolate; }
.sfig__stage::before { content: ""; position: absolute; inset: -40px; z-index: -1; background: var(--bg) center / cover no-repeat; filter: blur(26px) saturate(1.1); transform: scale(1.1); opacity: .9; }
.sfig__stage::after { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(42, 21, 35, .12); }
.sfig__stage img { max-height: none; box-shadow: 0 10px 40px rgba(0, 0, 0, .18); }
.sfig--fill .sfig__stage img { width: 100%; height: 100%; object-fit: cover; box-shadow: none; }
.sfig--tall .sfig__stage img { height: 100%; width: auto; max-width: 100%; aspect-ratio: var(--ar, .75); object-fit: cover; }
.sfig--flat .sfig__stage img { width: 100%; height: auto; max-height: 100%; object-fit: cover; }
/* two photos back to back: side by side, each as wide as its shape needs so they share one height */
.sfig-row { display: flex; gap: clamp(12px, 2vw, 24px); align-items: flex-start; margin: 2.4em auto; max-width: calc(min(78vh, 780px) * var(--sum, 2.4) + 24px); }
.sfig-row .sfig { margin: 0; flex: var(--ar, 1) 1 0; min-width: 0; width: auto; max-width: none; }
.sfig-row .sfig img { width: 100%; height: auto; }
.sfig--left { float: left; width: 56%; margin: .4em 2em 1em 0; }
.sfig--right { float: right; width: 56%; margin: .4em 0 1em 2em; }
.story-cta { margin: 3rem 0 1.5rem; padding: clamp(24px, 4vw, 40px); background: var(--rose-wash); text-align: center; }
.story-cta p { max-width: none; font: 340 italic clamp(1.25rem, 2.2vw, 1.7rem)/1.3 var(--font-display); color: var(--ink); margin: 0 0 1.2rem; }
.story-share { text-align: center; color: var(--muted); font-size: .94rem; }
.section--tint { background: var(--plaster); }
.story-more { font-size: clamp(1.6rem, 3vw, 2.4rem); margin-bottom: 1.2em; }
.previewbar { position: sticky; top: 0; z-index: 60; background: #1f1117; color: #fff; text-align: center; padding: 10px 14px; font-size: .92rem; }
.previewbar a { color: #fff; text-decoration: underline; }
@media (max-width: 980px) { .jgrid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) {
  .jgrid, .jgrid--two { grid-template-columns: 1fr; }
  .sfig--left, .sfig--right { float: none; width: 100%; margin: 2em 0; }
  .sfig--wide, .sfig--medium, .sfig--small { width: min(100%, calc(min(82vh, 820px) * var(--ar, 1.5))); max-width: 1000px; margin-inline: auto; }
  .sfig--portrait img { max-height: 78vh; object-fit: cover; }
  /* on narrow screens a 16:9 frame would make portraits tiny, so photos simply run full width at their own shape */
  .sfig__stage { aspect-ratio: auto; display: block; background: none; }
  .sfig__stage::before, .sfig__stage::after { display: none; }
  .sfig--stage .sfig__stage img, .sfig--fill .sfig__stage img, .sfig--tall .sfig__stage img, .sfig--flat .sfig__stage img { width: 100%; height: auto; max-height: 78vh; aspect-ratio: auto; object-fit: cover; box-shadow: none; }
  .sfig-row { flex-direction: column; max-width: none; margin: 2em 0; }
  .sfig-row .sfig { flex: none; width: 100%; }
}

.story-covercap { font-size: .9rem; color: var(--muted); line-height: 1.5; font-style: italic; margin: 0 0 clamp(18px, 3vw, 28px); }

/* filter chips, tabs and quantity steppers: a hover state, so they feel clickable like the buttons */
.tabs button, .filter button, .qty button { transition: background .2s, color .2s, border-color .2s; }
.tabs button:not([aria-selected="true"]):hover, .tabs button:not([aria-selected="true"]):focus-visible { background: var(--plaster); }
.filter button:not([aria-pressed="true"]):hover, .filter button:not([aria-pressed="true"]):focus-visible { border-color: var(--ink); background: var(--plaster); }
.qty button:hover:not(:disabled), .qty button:focus-visible { background: var(--plaster); }
.material-switch button { transition: background .2s, color .2s; }
.material-switch button:not([aria-selected="true"]):hover { background: var(--plaster); }

/* ===== Cast styles (belly only / belly and breasts / belly with hands / full torso) ===== */
.cast-styles { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); background: var(--chalk); }
.cast-style { padding: clamp(22px, 2.4vw, 34px); display: flex; flex-direction: column; gap: 10px; }
.cast-style + .cast-style { border-left: 1px solid var(--line); }
.cast-style__no { font: .78rem/1 var(--font-body); letter-spacing: .18em; color: var(--accent); }
.cast-style h3 { font-size: clamp(1.25rem, 1.6vw, 1.5rem); margin: 0; }
.cast-style p { margin: 0; color: var(--muted); font-size: .98rem; }
.cast-style__best { margin-top: auto !important; padding-top: 12px; border-top: 1px solid var(--line); color: var(--text) !important; font-size: .92rem !important; }
.cast-style__best b { font-weight: 600; }
.cast-style__link { font-size: .92rem; font-weight: 600; color: var(--mulberry); text-decoration: underline; text-underline-offset: 3px; }
.cast-styles-note { margin-top: 1.4rem; }
@media (max-width: 960px) {
  .cast-styles { grid-template-columns: 1fr 1fr; }
  .cast-style:nth-child(3) { border-left: 0; }
  .cast-style:nth-child(n+3) { border-top: 1px solid var(--line); }
}
@media (max-width: 560px) {
  .cast-styles { grid-template-columns: 1fr; }
  .cast-style + .cast-style { border-left: 0; border-top: 1px solid var(--line); }
}
/* booking form: cast style picker */
.style-grid { grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; }
.style-grid .choice__body { padding: 16px 18px; }
.style-grid .choice__body strong { font-size: 1.15rem; }
.style-grid .choice__body span { font-size: .92rem; }
/* guide page */
.guide .cast-styles-list { list-style: none; padding: 0; margin: 0; }
.guide .cast-styles-list li { margin: .5em 0; }

/* ===== Cast photos placed inside page sections ===== */
.cast-photo { margin: 0; width: 100%; --br: clamp(34px, 5vw, 58px); }
.cast-photo__frame { transition: transform .6s var(--ease); }
.cast-photo__frame::before, .cast-photo__frame::after { width: var(--br); height: var(--br); transition: transform .6s var(--ease), width .6s var(--ease), height .6s var(--ease); }
.cast-photo__img { overflow: hidden; background: var(--plaster);
  box-shadow: 0 1px 2px rgba(42,21,35,.08), 0 14px 28px -12px rgba(42,21,35,.26), 0 34px 60px -30px rgba(42,21,35,.30);
  transition: box-shadow .6s var(--ease); }
.cast-photo__img img { display: block; width: 100%; height: auto; transition: transform 1.2s var(--ease); }
.cast-photo figcaption { margin-top: 1.6rem; font-size: .88rem; color: var(--muted); display: flex; align-items: center; gap: 12px; }
.cast-photo figcaption::before { content: ""; flex: 0 0 24px; height: 1px; background: var(--accent); }
@media (hover: hover) {
  .cast-photo__frame:hover { transform: translateY(-4px); }
  .cast-photo__frame:hover::before { width: calc(var(--br) + 20px); height: calc(var(--br) + 20px); transform: translate(5px, -5px); }
  .cast-photo__frame:hover::after { width: calc(var(--br) + 20px); height: calc(var(--br) + 20px); transform: translate(-5px, 5px); }
  .cast-photo__frame:hover .cast-photo__img { box-shadow: 0 2px 4px rgba(42,21,35,.10), 0 22px 40px -14px rgba(42,21,35,.32), 0 46px 80px -34px rgba(42,21,35,.36); }
  .cast-photo__frame:hover img { transform: scale(1.06); }
}
@media (prefers-reduced-motion: reduce) { .cast-photo__frame, .cast-photo__frame::before, .cast-photo__frame::after, .cast-photo__img, .cast-photo__img img { transition: none !important; transform: none !important; } }
.cast-photo--col { margin-top: clamp(26px, 3vw, 40px); padding: 0 12px 0 0; }
.cast-intro { margin-bottom: clamp(30px, 3.4vw, 50px); }
.cast-intro .head { margin-bottom: 0; }
.cast-intro .cast-photo { padding: 12px 12px 0 0; }
.cast-intro.split--flip .cast-photo { padding: 12px 0 0 12px; }

/* ===== Rich frame: soft shadow, zoom on hover, pink corner brackets that grow =====
   Used by the collection cards and the framed photos on pregnancy, newborn, experience, our story. */
.frame--rich { --br: clamp(30px, 4vw, 48px); overflow: visible; box-shadow: 0 1px 2px rgba(42,21,35,.08), 0 14px 28px -12px rgba(42,21,35,.24), 0 30px 54px -28px rgba(42,21,35,.28); transition: box-shadow .6s var(--ease), transform .6s var(--ease); }
.frame--rich .frame__clip { position: relative; display: block; height: 100%; overflow: hidden; background: var(--plaster); }
.frame--rich .frame__clip img { width: 100%; height: 100%; object-fit: cover; display: block; transform: scale(1); transition: transform 1.2s var(--ease); }
.frame--rich::before, .frame--rich::after { width: var(--br); height: var(--br); transition: transform .6s var(--ease), width .6s var(--ease), height .6s var(--ease); }
.cat__img.frame--rich { overflow: visible; }
@media (hover: hover) {
  .frame--rich:hover, .cat:hover .frame--rich { transform: translateY(-4px); box-shadow: 0 2px 4px rgba(42,21,35,.10), 0 22px 40px -14px rgba(42,21,35,.30), 0 44px 76px -32px rgba(42,21,35,.34); }
  .frame--rich:hover .frame__clip img, .cat:hover .frame--rich .frame__clip img { transform: scale(1.06); }
  .frame--rich:hover::before, .frame--rich:hover::after, .cat:hover .frame--rich::before, .cat:hover .frame--rich::after { width: calc(var(--br) + 18px); height: calc(var(--br) + 18px); }
  .frame--rich:hover::before, .cat:hover .frame--rich::before { transform: translate(5px, -5px); }
  .frame--rich:hover::after, .cat:hover .frame--rich::after { transform: translate(-5px, 5px); }
}
@media (prefers-reduced-motion: reduce) { .frame--rich, .frame--rich::before, .frame--rich::after, .frame--rich .frame__clip img { transition: none !important; transform: none !important; } }
/* collection cards: brackets only appear on hover so the grid stays calm */
.cat__img.frame--rich { --br: 0px; }
.cat__img.frame--rich::before, .cat__img.frame--rich::after { opacity: 0; transition: transform .6s var(--ease), width .6s var(--ease), height .6s var(--ease), opacity .4s var(--ease); }
@media (hover: hover) {
  .cat:hover .cat__img.frame--rich::before, .cat:hover .cat__img.frame--rich::after { opacity: 1; width: 40px; height: 40px; }
}

/* gallery: soft shadow, lift and slow zoom on hover (the photo opens in the lightbox on click) */
.masonry figure > .ph { overflow: hidden; box-shadow: 0 1px 2px rgba(42,21,35,.08), 0 12px 24px -12px rgba(42,21,35,.22), 0 26px 46px -26px rgba(42,21,35,.26); transition: box-shadow .6s var(--ease), transform .6s var(--ease); }
.masonry figure > .ph img { transform: scale(1); transition: transform 1.2s var(--ease), opacity .3s; }
@media (hover: hover) {
  .masonry figure:hover > .ph { transform: translateY(-4px); box-shadow: 0 2px 4px rgba(42,21,35,.10), 0 20px 36px -14px rgba(42,21,35,.30), 0 40px 70px -30px rgba(42,21,35,.34); }
  .masonry figure:hover > .ph img { transform: scale(1.07); opacity: 1; }
}
@media (prefers-reduced-motion: reduce) { .masonry figure > .ph, .masonry figure > .ph img { transition: none !important; transform: none !important; } }
