/* Kintsugi Nation
   Layout: one long sticky "print bed" scene that scrubs with scroll, then quiet
   editorial sections on warm lacquer black. Gold is reserved for the mend. */
:root {
  /* palette taken from the Kintsugi Nation crest: night-plum lacquer, heart purple, antique gold */
  --lacquer: #0c0911;      /* page ground, plum-black */
  --ash: #161020;          /* raised surfaces */
  --clay: #2a2138;         /* hairlines */
  --plum: #23103a;         /* the heart */
  --plum-hi: #4a2a78;      /* lit edge of the heart */
  --bone: #efe8dc;         /* primary text */
  --stone: #a59bb2;        /* secondary text, plum-tinted grey */
  --gold: #c9a862;         /* the seam */
  --gold-hi: #ecd497;
  --display: "Bodoni Moda", "Didot", "Bodoni 72", Georgia, serif;
  --body: "Manrope", "Helvetica Neue", Arial, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, Menlo, monospace;
  --gutter: clamp(16px, 4vw, 56px);
  --max: 1240px;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--lacquer);
  color: var(--bone);
  font: 400 16px/1.65 var(--body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
a:focus-visible, button:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
h1, h2, h3 { font-family: var(--display); font-weight: 400; line-height: 1.05; margin: 0; text-wrap: balance; }
p { margin: 0; }

.wrap { max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.eyebrow {
  font: 500 11px/1 var(--mono);
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--gold);
}
.muted { color: var(--stone); }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  padding-top: env(safe-area-inset-top, 0px);
  transition: background .4s, border-color .4s;
  border-bottom: 1px solid transparent;
}
.site-header.scrolled { background: rgba(12, 9, 17, .82); backdrop-filter: blur(14px); border-color: var(--clay); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 72px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand-mark { width: 34px; height: auto; filter: drop-shadow(0 0 8px rgba(201,168,98,.25)); }
.brand-name { white-space: nowrap; font: 400 20px/1 var(--display); letter-spacing: .04em; }
.brand-name em { font-style: italic; color: var(--gold); }
.nav { display: flex; gap: clamp(16px, 3vw, 36px); align-items: center; }
.nav a { text-decoration: none; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--stone); transition: color .2s; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--bone); }
.nav .cart { white-space: nowrap; color: var(--bone); border: 1px solid var(--clay); padding: 9px 16px; border-radius: 999px; }
.nav .cart:hover { border-color: var(--gold); }
@media (max-width: 640px) { .nav a:not(.cart) { display: none; } }

/* ---------- Scroll film ---------- */
.film-stage { background: radial-gradient(ellipse at 50% 60%, #1c1030 0%, var(--lacquer) 65%); }
.film { position: relative; height: 520vh; }
.film-stage { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
.film canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.film-vignette { position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(ellipse at 50% 55%, transparent 40%, rgba(12,9,17,.88) 100%); }
.film-copy { position: absolute; inset: 0; pointer-events: none; }
.beat {
  position: absolute; left: var(--gutter); right: var(--gutter); bottom: 12vh;
  max-width: 560px; opacity: 0; transform: translateY(24px);
  transition: opacity .5s ease, transform .6s cubic-bezier(.2,.7,.2,1);
}
.beat.on { opacity: 1; transform: none; }
.beat.right { left: auto; text-align: right; }
.beat h1 { font-size: clamp(44px, 8vw, 112px); letter-spacing: -.01em; }
.beat h2 { font-size: clamp(34px, 5.5vw, 72px); }
.beat h1 em, .beat h2 em { font-style: italic; color: var(--gold-hi); }
.beat p { margin-top: 18px; color: var(--stone); font-size: 17px; max-width: 44ch; }
.beat.right p { margin-left: auto; }
.beat .eyebrow { display: block; margin-bottom: 18px; }
.hud {
  position: absolute; top: calc(96px + env(safe-area-inset-top, 0px)); right: var(--gutter);
  font: 400 11px/1.9 var(--mono); color: var(--stone); text-align: right; letter-spacing: .08em;
  font-variant-numeric: tabular-nums;
}
.hud b { color: var(--bone); font-weight: 500; }
.scroll-cue {
  position: absolute; left: 50%; bottom: 28px; translate: -50% 0;
  font: 500 10px/1 var(--mono); letter-spacing: .3em; text-transform: uppercase; color: var(--stone);
  display: flex; flex-direction: column; align-items: center; gap: 10px; transition: opacity .4s;
}
.scroll-cue::after { content: ""; width: 1px; height: 36px; background: linear-gradient(var(--gold), transparent); animation: drip 2s ease-in-out infinite; }
@keyframes drip { 0% { transform: scaleY(0); transform-origin: top; } 50% { transform: scaleY(1); transform-origin: top; } 51% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }
.progress-seam { position: absolute; left: 0; bottom: 0; height: 2px; width: 100%; background: var(--gold); transform-origin: left; transform: scaleX(0); box-shadow: 0 0 12px var(--gold); }

/* ---------- Sections ---------- */
section.block { padding-block: clamp(80px, 12vw, 160px); }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; margin-bottom: 48px; }
.section-head h2 { font-size: clamp(36px, 5vw, 64px); margin-top: 14px; }
.section-head h2 em { font-style: italic; color: var(--gold); }
.link-arrow { text-decoration: none; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; border-bottom: 1px solid var(--gold); padding-bottom: 4px; }

.manifesto { border-top: 1px solid var(--clay); border-bottom: 1px solid var(--clay); }
.manifesto .wrap { display: grid; grid-template-columns: 1fr 1.4fr; gap: clamp(32px, 6vw, 96px); }
.manifesto blockquote { margin: 0; font: italic 400 clamp(28px, 3.6vw, 46px)/1.2 var(--display); }
.manifesto blockquote em { color: var(--gold); }
.manifesto .cols { display: grid; gap: 22px; color: var(--stone); max-width: 60ch; }
.specs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--clay); margin-top: 28px; border: 1px solid var(--clay); }
.specs div { background: var(--lacquer); padding: 18px; }
.specs b { display: block; font: 400 28px/1 var(--display); color: var(--bone); font-variant-numeric: tabular-nums; }
.specs span { font: 400 10px/1.4 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--stone); }
@media (max-width: 820px) { .manifesto .wrap { grid-template-columns: 1fr; } }

/* ---------- Products ---------- */
.products { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: clamp(16px, 2.4vw, 32px); }
.product { display: flex; flex-direction: column; gap: 16px; }
.product-media { position: relative; aspect-ratio: 4 / 5; max-width: 100%; background: radial-gradient(ellipse at 50% 35%, #2b1d40, var(--ash) 70%); overflow: hidden; }
.product-media canvas { width: 100%; height: 100%; transition: transform .8s cubic-bezier(.2,.7,.2,1); }
.product:hover .product-media canvas { transform: scale(1.04); }
.tag { position: absolute; top: 14px; left: 14px; font: 500 10px/1 var(--mono); letter-spacing: .16em; text-transform: uppercase; padding: 7px 10px; border: 1px solid var(--clay); background: rgba(12,9,17,.6); color: var(--stone); }
.product-row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.product h3 { font-size: 26px; }
.price { font: 400 15px/1 var(--mono); color: var(--bone); font-variant-numeric: tabular-nums; }
.product .meta { font-size: 13px; color: var(--stone); }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font: 600 12px/1 var(--body); letter-spacing: .14em; text-transform: uppercase; text-decoration: none;
  padding: 15px 22px; border: 1px solid var(--gold); color: var(--lacquer); background: var(--gold);
  cursor: pointer; transition: background .25s, color .25s;
}
.btn:hover { background: var(--gold-hi); }
.btn.ghost { background: transparent; color: var(--bone); border-color: var(--clay); }
.btn.ghost:hover { border-color: var(--gold); }

/* ---------- Blog ---------- */
.posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2.4vw, 32px); }
.post-card { display: flex; flex-direction: column; gap: 14px; text-decoration: none; padding-top: 22px; border-top: 1px solid var(--clay); transition: border-color .3s; min-width: 0; }
.post-card:hover { border-color: var(--gold); }
.post-card h3 { font-size: 28px; }
.post-card p { color: var(--stone); font-size: 15px; }
.post-meta { display: flex; gap: 14px; font: 400 11px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--stone); }
.post-meta .cat { color: var(--gold); }
@media (max-width: 900px) { .posts { grid-template-columns: 1fr; } }

.filters { display: flex; gap: 10px; flex-wrap: wrap; }
.filters button { font: 500 12px/1 var(--body); letter-spacing: .1em; text-transform: uppercase; padding: 10px 16px; border-radius: 999px; border: 1px solid var(--clay); background: none; color: var(--stone); cursor: pointer; }
.filters button[aria-pressed="true"] { border-color: var(--gold); color: var(--bone); }

/* ---------- Page heads (shop / blog) ---------- */
.page-head { padding-top: calc(160px + env(safe-area-inset-top, 0px)); padding-bottom: 64px; border-bottom: 1px solid var(--clay); }
.page-head h1 { font-size: clamp(48px, 8vw, 120px); margin-top: 18px; }
.page-head h1 em { font-style: italic; color: var(--gold); }
.page-head p { margin-top: 22px; max-width: 56ch; color: var(--stone); font-size: 18px; }

/* ---------- Article ---------- */
.article { max-width: 68ch; margin-inline: auto; padding-inline: var(--gutter); padding-block: 64px 120px; }
.article p, .article ul { margin: 0 0 1.3em; font-size: 18px; line-height: 1.75; color: #ddd5e3; }
.article h2 { font-size: 34px; margin: 1.8em 0 .6em; }
.article blockquote { margin: 2em 0; padding-left: 24px; border-left: 2px solid var(--gold); font: italic 400 26px/1.35 var(--display); color: var(--bone); }
.article code { font: 400 .88em var(--mono); color: var(--gold-hi); }

/* ---------- CTA + footer ---------- */
.cta { text-align: center; }
.cta h2 { font-size: clamp(40px, 6.5vw, 96px); max-width: 14ch; margin-inline: auto; }
.cta h2 em { font-style: italic; color: var(--gold); }
.cta form { display: flex; gap: 10px; justify-content: center; margin-top: 40px; flex-wrap: wrap; }
.cta input { font: 400 15px var(--body); padding: 15px 18px; min-width: 0; width: min(360px, 100%); background: var(--ash); border: 1px solid var(--clay); color: var(--bone); }
.cta input:focus { outline: none; border-color: var(--gold); }
.form-note { margin-top: 14px; font-size: 13px; color: var(--stone); min-height: 1.4em; }

.site-footer { border-top: 1px solid var(--clay); padding-block: 56px; font-size: 13px; color: var(--stone); }
.site-footer .wrap { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.site-footer nav { display: flex; gap: 24px; flex-wrap: wrap; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: var(--bone); }

.reveal { transition: opacity .9s ease, transform .9s cubic-bezier(.2,.7,.2,1); }
.js .reveal.pending { opacity: .001; transform: translateY(28px); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal, .beat { transition: none; }
  .scroll-cue::after { animation: none; }
}

/* ================= Motion layer ================= */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }

/* Film grain */
.grain {
  position: fixed; inset: -50%; z-index: 90; pointer-events: none;
  opacity: .55; mix-blend-mode: overlay;
  animation: grain 0.9s steps(6) infinite;
}
@keyframes grain {
  0% { transform: translate(0, 0); } 20% { transform: translate(-3%, 2%); } 40% { transform: translate(2%, -4%); }
  60% { transform: translate(-4%, -1%); } 80% { transform: translate(3%, 3%); } 100% { transform: translate(0, 0); }
}

/* Words rise out of a mask */
.w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
.w > span { display: inline-block; transition: transform 1s cubic-bezier(.16,.84,.24,1), filter 1s ease, opacity 1s ease; transition-delay: calc(var(--i, 0) * 60ms); }
.beat:not(.on) .w > span,
.js .reveal.pending .w > span,
.js:not(.arrived) .page-head .w > span { transform: translateY(105%); filter: blur(6px); opacity: 0; }
.js.arrived .page-head .w > span { transition-delay: calc(450ms + var(--i, 0) * 70ms); }
.beat { transition: opacity .6s ease; transform: none; }
.beat .eyebrow, .beat p { transition: opacity .8s ease .25s, transform .9s cubic-bezier(.16,.84,.24,1) .25s; }
.beat:not(.on) .eyebrow, .beat:not(.on) p { opacity: 0; transform: translateY(14px); }

/* Product images open like a film wipe */
.product-media { transition: clip-path 1.2s cubic-bezier(.7,0,.2,1); clip-path: inset(0 0 0 0); }
.js .reveal.pending .product-media { clip-path: inset(100% 0 0 0); }
.js .reveal.pending .product-media canvas { transform: scale(1.18); }
.product-media canvas { transition: transform 1.6s cubic-bezier(.2,.7,.2,1); }

/* Page transition curtain */
.curtain {
  position: fixed; inset: 0; z-index: 100; pointer-events: none;
  background: var(--lacquer);
  display: grid; place-items: center;
  transform: translateY(0);
  transition: transform .9s cubic-bezier(.76,0,.24,1);
}
.curtain svg { position: absolute; left: 0; top: 50%; width: 100%; height: 12vh; translate: 0 -50%; overflow: visible; }
.curtain path { fill: none; stroke: var(--gold); stroke-width: 2; vector-effect: non-scaling-stroke;
  filter: drop-shadow(0 0 6px var(--gold)); stroke-dasharray: 1; stroke-dashoffset: 0; transition: stroke-dashoffset .6s ease; }
.curtain-mark { font: 400 22px/1 var(--display); letter-spacing: .06em; color: var(--bone); opacity: 1; translate: 0 -48px; transition: opacity .4s; }
.curtain-mark em { font-style: italic; color: var(--gold); }
html.arrived .curtain { transform: translateY(-101%); transition-delay: .15s; }
html.arrived .curtain-mark { opacity: 0; }
html.arrived .curtain path { stroke-dashoffset: 0; }
html.leaving .curtain { transform: translateY(0); transition: transform .65s cubic-bezier(.76,0,.24,1); }
html.leaving .curtain path { stroke-dashoffset: 1; animation: seam .55s .3s ease forwards; }
@keyframes seam { to { stroke-dashoffset: 0; } }

/* Fluid canvas blur between beats */
.film canvas { transition: filter .2s linear; }

@media (prefers-reduced-motion: reduce) {
  .grain { animation: none; }
  .w > span, .product-media, .curtain { transition: none !important; }
  .beat:not(.on) .w > span { transform: none; filter: none; }
  .curtain { display: none; }
}

/* ================= Printer teardown ================= */
.teardown { position: relative; height: 640vh; border-top: 1px solid var(--clay); }
.teardown-stage { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden;
  background: radial-gradient(ellipse at 50% 55%, #1d1230 0%, var(--lacquer) 70%); }
.teardown canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.td-copy { position: absolute; left: var(--gutter); top: calc(110px + env(safe-area-inset-top, 0px)); max-width: 420px; pointer-events: none; }
.td-copy h2 { font-size: clamp(32px, 4.4vw, 58px); margin-top: 14px; }
.td-copy h2 em { font-style: italic; color: var(--gold); }
.td-copy p { margin-top: 14px; color: var(--stone); max-width: 36ch; }
.td-hud { position: absolute; right: var(--gutter); bottom: 40px; display: grid; gap: 6px; justify-items: end; text-align: right;
  font: 400 11px/1.4 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--stone); font-variant-numeric: tabular-nums; }
.td-hud b { font: 400 clamp(36px, 5vw, 64px)/1 var(--display); color: var(--bone); letter-spacing: 0; }
.td-group { color: var(--gold); }
.td-labels { position: absolute; inset: 0; pointer-events: none; }
.td-label { position: absolute; left: 0; top: 0; display: flex; align-items: center; gap: 8px; opacity: 0; transition: opacity .35s ease;
  font: 500 10.5px/1 var(--mono); letter-spacing: .08em; color: var(--bone); white-space: nowrap; will-change: transform; }
.td-label i { width: 7px; height: 7px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 3px rgba(201,168,98,.22); flex: none; translate: -3.5px 0; }
.td-label span { padding: 5px 8px; background: rgba(12,9,17,.72); border: 1px solid var(--clay); backdrop-filter: blur(6px); }
.td-label.on { opacity: 1; }
@media (max-width: 700px) { .td-copy { top: calc(90px + env(safe-area-inset-top, 0px)); } .td-hud { bottom: 24px; } }
.film-3d { position: absolute; inset: 0; width: 100%; height: 100%; display: block; transition: filter .2s linear; }
.film-flash { position: absolute; inset: 0; pointer-events: none; opacity: 0; background: radial-gradient(ellipse at 50% 50%, rgba(255,240,215,.9), rgba(236,212,151,.2) 60%, transparent); mix-blend-mode: screen; }

/* ================= Luxury pass: no boxes, light and gold do the framing ================= */
:root {
  --gold-metal: linear-gradient(115deg, #8a6a2e 0%, #c9a862 22%, #f3dda2 40%, #c9a862 58%, #9b7a38 78%, #e2c47f 100%);
  --hair: linear-gradient(90deg, transparent, rgba(201,168,98,.55) 20%, rgba(236,212,151,.8) 50%, rgba(201,168,98,.55) 80%, transparent);
}

/* gold hairline seams replace hard borders */
.manifesto, .teardown, .site-footer, .page-head { border: 0; position: relative; }
.manifesto::before, .manifesto::after, .site-footer::before, .page-head::after, .teardown::before {
  content: ""; position: absolute; left: 8%; right: 8%; height: 1px; background: var(--hair); opacity: .5;
}
.manifesto::before, .site-footer::before, .teardown::before { top: 0; }
.manifesto::after, .page-head::after { bottom: 0; }
.teardown::before { z-index: 2; }

/* buttons: thin, airy outlines; the primary is polished metal */
.btn { border-radius: 999px; padding: 16px 30px; font-weight: 600; letter-spacing: .2em; font-size: 11px; transition: background-position .8s ease, box-shadow .4s, color .3s, border-color .3s; }
.btn:not(.ghost), .btn-gold {
  background: var(--gold-metal); background-size: 220% 100%; background-position: 0% 0;
  color: #1a0f22; border: 0;
  box-shadow: 0 10px 30px -12px rgba(201,168,98,.55), inset 0 1px 0 rgba(255,255,255,.35);
}
.btn:not(.ghost):hover, .btn-gold:hover { background-position: 100% 0; box-shadow: 0 16px 40px -12px rgba(236,212,151,.7), inset 0 1px 0 rgba(255,255,255,.45); }
.btn.ghost { border: 1px solid rgba(201,168,98,.35); background: transparent; color: var(--bone); }
.btn.ghost:hover { border-color: var(--gold); background: rgba(201,168,98,.06); }

/* products: objects stand in a lit arch, not in a box */
.products { gap: clamp(28px, 4vw, 56px); }
.product { gap: 14px; text-align: center; }
.product-media {
  border-radius: 999px 999px 18px 18px;
  background:
    radial-gradient(ellipse 70% 40% at 50% 92%, rgba(201,168,98,.18), transparent 70%),
    radial-gradient(ellipse at 50% 30%, #2a1a40 0%, #170f22 60%, transparent 100%);
  box-shadow: inset 0 0 0 1px rgba(201,168,98,.14), inset 0 -40px 80px -40px rgba(0,0,0,.6);
}
.product-media::after { content: ""; position: absolute; inset: 10px; border-radius: inherit; border: 1px solid rgba(201,168,98,.08); pointer-events: none; }
.product:hover .product-media { box-shadow: inset 0 0 0 1px rgba(201,168,98,.32), inset 0 -40px 80px -40px rgba(0,0,0,.6), 0 30px 60px -30px rgba(201,168,98,.25); }
.product-media, .product-media canvas { transition: box-shadow .6s ease, transform 1.2s cubic-bezier(.2,.7,.2,1), clip-path 1.2s cubic-bezier(.7,0,.2,1); }
.tag { top: auto; bottom: 18px; left: 50%; translate: -50% 0; border: 0; background: none; padding: 0;
  font: italic 400 14px/1 var(--display); letter-spacing: .02em; text-transform: none; color: var(--gold-hi); }
.product-row { justify-content: center; flex-direction: column; align-items: center; gap: 8px; }
.product h3 { font-size: 30px; }
.price { color: var(--gold); letter-spacing: .1em; }
.product .meta { max-width: 30ch; margin-inline: auto; }
.product .btn { align-self: center; margin-top: 6px; }

/* figures sit between hairlines instead of in a grid of boxes */
.specs { background: none; border: 0; gap: 0; }
.specs div { background: none; padding: 6px 22px; border-left: 1px solid rgba(201,168,98,.3); }
.specs div:first-child { border-left: 0; padding-left: 0; }
.specs b { color: var(--gold-hi); font-size: 34px; }

/* journal and filters */
.post-card { border-top: 0; background: linear-gradient(var(--clay), var(--clay)) top / 100% 1px no-repeat; transition: background-size .5s; }
.post-card:hover { background-image: var(--hair); }
.filters { gap: 26px; }
.filters button { border: 0; padding: 8px 0; border-radius: 0; background: linear-gradient(var(--gold), var(--gold)) bottom / 0 1px no-repeat; transition: background-size .4s, color .3s; }
.filters button[aria-pressed="true"], .filters button:hover { background-size: 100% 1px; color: var(--bone); }

/* forms: a single gold underline */
.cta input { background: transparent; border: 0; border-bottom: 1px solid rgba(201,168,98,.4); padding: 14px 4px; }
.cta input:focus { border-bottom-color: var(--gold-hi); }

/* teardown callouts float, no boxes */
.td-label span { background: none; border: 0; backdrop-filter: none; padding: 0; text-shadow: 0 1px 8px rgba(0,0,0,.9), 0 0 2px rgba(0,0,0,.9); }

/* ================= Donations ================= */
.give-bar { display: flex; align-items: center; justify-content: center; gap: 18px; padding: 9px 48px 9px 16px; position: relative;
  background: linear-gradient(90deg, #1d0f2e, #2b1745 50%, #1d0f2e); font-size: 13px; color: var(--bone); }
.give-bar::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--hair); opacity: .6; }
.give-bar p { margin: 0; text-align: center; }
.give-bar-tag { font: 500 10px/1 var(--mono); letter-spacing: .18em; text-transform: uppercase; color: var(--gold); margin-right: 8px; }
.give-bar a { color: var(--gold-hi); text-decoration: none; font-weight: 600; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; white-space: nowrap;
  background: linear-gradient(var(--gold), var(--gold)) bottom / 100% 1px no-repeat; padding-bottom: 2px; }
.give-bar button { position: absolute; right: 12px; top: 50%; translate: 0 -50%; background: none; border: 0; color: var(--stone); font-size: 20px; line-height: 1; cursor: pointer; padding: 4px 8px; }
.give-bar[hidden] { display: none !important; }
@media (max-width: 560px) { .give-bar p { font-size: 12px; } .give-bar-tag { display: none; } }

.nav .btn-donate { border: 0; color: #1a0f22; font-weight: 700; background: var(--gold-metal); background-size: 220% 100%; transition: background-position .8s; box-shadow: 0 8px 24px -10px rgba(201,168,98,.6); }
.nav .btn-donate:hover { background-position: 100% 0; color: #1a0f22; }

.give { position: relative; overflow: hidden; }
.give::before { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(ellipse 60% 70% at 78% 50%, rgba(74,42,120,.35), transparent 70%), radial-gradient(ellipse 40% 50% at 20% 80%, rgba(201,168,98,.08), transparent 70%); }
.give-grid { position: relative; display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.give-copy h2 { font-size: clamp(40px, 5.6vw, 76px); margin: 16px 0 22px; }
.give-copy h2 em { font-style: italic; color: var(--gold); }
.give-copy p { color: var(--stone); max-width: 46ch; font-size: 17px; }
.give-copy p + p { margin-top: 12px; }
.give-crest { width: min(170px, 45%); height: auto; margin-top: 36px; filter: drop-shadow(0 20px 40px rgba(74,42,120,.5)); }
.give-form { display: grid; gap: 26px; padding: clamp(24px, 4vw, 48px); border-radius: 28px;
  background: linear-gradient(160deg, rgba(43,23,69,.55), rgba(22,16,32,.35)); box-shadow: inset 0 0 0 1px rgba(201,168,98,.18), 0 40px 80px -40px rgba(0,0,0,.8); backdrop-filter: blur(8px); }
.give-form fieldset { border: 0; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.give-form legend { width: 100%; margin-bottom: 12px; padding: 0; }
.give-form input[type="radio"] { position: absolute; opacity: 0; width: 1px; height: 1px; }
.freq label span { display: inline-block; padding: 11px 22px; border-radius: 999px; font-size: 13px; letter-spacing: .06em; color: var(--stone); cursor: pointer;
  box-shadow: inset 0 0 0 1px rgba(201,168,98,.25); transition: all .3s; }
.freq input:checked + span { color: #1a0f22; background: var(--gold-metal); box-shadow: none; font-weight: 600; }
.amts { display: grid !important; grid-template-columns: repeat(auto-fit, minmax(110px, 1fr)); }
.amt span { display: grid; gap: 4px; padding: 16px 14px; border-radius: 18px; cursor: pointer; text-align: center;
  box-shadow: inset 0 0 0 1px rgba(201,168,98,.2); transition: box-shadow .3s, background .3s; min-height: 76px; align-content: center; }
.amt b { font: 400 28px/1 var(--display); color: var(--bone); font-variant-numeric: tabular-nums; }
.amt i { font: 500 10px/1 var(--mono); font-style: normal; letter-spacing: .16em; text-transform: uppercase; color: var(--stone); }
.amt input:checked + span { background: rgba(201,168,98,.1); box-shadow: inset 0 0 0 1px var(--gold), 0 0 24px -6px rgba(201,168,98,.5); }
.amt input:checked + span b { color: var(--gold-hi); }
.amt input:focus-visible + span, .freq input:focus-visible + span { outline: 2px solid var(--gold); outline-offset: 3px; }
.amt-other input[type="number"] { width: 100%; min-width: 0; background: transparent; border: 0; border-bottom: 1px solid rgba(201,168,98,.4); color: var(--bone); font: 400 18px var(--display); text-align: center; padding: 2px; }
.amt-other input[type="number"]:focus { outline: none; border-bottom-color: var(--gold-hi); }
.give-impact { font: italic 400 19px/1.4 var(--display); color: var(--bone); min-height: 2.8em; margin: 0; }
.give-form .btn { width: 100%; padding: 20px; font-size: 12px; }
.give-note { font-size: 12px; color: var(--stone); text-align: center; margin: -10px 0 0; min-height: 1.2em; }
@media (max-width: 860px) { .give-grid { grid-template-columns: 1fr; } .give-crest { display: none; } }

.give-ways .ways { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(24px, 4vw, 56px); }
.give-ways p { margin-top: 12px; color: var(--stone); }
.give-ways a { color: var(--gold-hi); }
@media (max-width: 760px) { .give-ways .ways { grid-template-columns: 1fr; } }

.give-pill { position: fixed; z-index: 60; right: 20px; bottom: calc(20px + env(safe-area-inset-bottom, 0px));
  display: inline-flex; align-items: center; gap: 10px; padding: 12px 20px 12px 14px; border-radius: 999px; text-decoration: none;
  font: 700 11px/1 var(--body); letter-spacing: .2em; text-transform: uppercase; color: #1a0f22;
  background: var(--gold-metal); background-size: 220% 100%; box-shadow: 0 16px 40px -14px rgba(201,168,98,.75);
  transform: translateY(140%); opacity: 0; transition: transform .6s cubic-bezier(.2,.8,.2,1), opacity .4s, background-position .8s; }
.give-pill.show { transform: none; opacity: 1; }
.give-pill:hover { background-position: 100% 0; }
.give-pill img { width: 20px; height: auto; }

.foot-legal { display: grid; gap: 6px; }

/* header now carries the donation bar on top */
.site-header .wrap { height: 68px; }
.hud { top: calc(130px + env(safe-area-inset-top, 0px)); }
.td-copy { top: calc(140px + env(safe-area-inset-top, 0px)); }
.page-head { padding-top: calc(190px + env(safe-area-inset-top, 0px)); }

/* ---------- Wix store: product options, gallery thumbs, option line in the cart ---------- */
.pd-opt { display: grid; gap: 8px; margin: 18px 0 0; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--stone); max-width: 320px; }
.pd-opt select { font: inherit; text-transform: none; letter-spacing: 0; font-size: 16px; color: var(--bone); background: transparent; border: 1px solid var(--clay); border-radius: 12px; padding: 12px 14px; }
.pd-opt select option { color: #111; }
.pd-thumbs { display: flex; gap: 10px; margin-top: 14px; flex-wrap: wrap; }
.pd-thumbs button { width: 64px; height: 80px; padding: 0; border: 1px solid var(--clay); border-radius: 8px; overflow: hidden; background: none; cursor: pointer; }
.pd-thumbs img { width: 100%; height: 100%; object-fit: cover; }
.cart-lines small { display: block; color: var(--stone); font-size: 12px; margin-top: 2px; }
.product-media video, .pd-media video, .cart-thumb video { width: 100%; height: 100%; object-fit: cover; display: block; }
