/* Rhodie's Circle — warm, personal, enduring. */

:root {
  --cream: #faf5ee;
  --cream-deep: #f3ebdf;
  --ink: #2b2530;
  --ink-soft: #5d5563;
  --plum: #7c2a82;
  --plum-deep: #5c1e61;
  --gold: #00aeef;
  --gold-soft: #e0cbe7;
  --white: #fffdfa;
  --rose: #f0e8f3;
  --error: #a33131;
  --ok: #2e6b4f;
  --font-display: "Fraunces", "Iowan Old Style", Georgia, serif;
  --font-body: "Public Sans", -apple-system, "Segoe UI", sans-serif;
  --radius: 14px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.65;
  font-size: 1.0625rem;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.15;
  color: var(--ink);
  text-wrap: balance;
}
h1 { font-size: clamp(2.2rem, 5.5vw, 3.6rem); }
h2 { font-size: clamp(1.7rem, 3.6vw, 2.4rem); margin-bottom: 1rem; }
h3 { font-size: 1.3rem; margin: 1.5rem 0 .5rem; }
p + p, ul + p, p + ul { margin-top: 1rem; }

a { color: var(--plum); }
a:hover { color: var(--plum-deep); }

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

.visually-hidden {
  position: absolute; width: 1px; height: 1px;
  clip-path: inset(50%); overflow: hidden; white-space: nowrap;
}

.skip-link {
  position: absolute; left: 1rem; top: -3rem; z-index: 100;
  background: var(--plum); color: var(--white);
  padding: .5rem 1rem; border-radius: 0 0 8px 8px;
  transition: top .15s ease;
}
.skip-link:focus { top: 0; color: var(--white); }

.container { max-width: 72rem; margin: 0 auto; padding: 0 1.25rem; }
.container--narrow { max-width: 46rem; }
.container--form { max-width: 38rem; }
.center { text-align: center; }

/* ---------- Header ---------- */

.site-header {
  background: color-mix(in srgb, var(--cream) 88%, transparent);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--cream-deep);
  position: sticky; top: 0; z-index: 50;
}
.site-header__inner {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: .8rem; padding-bottom: .8rem; gap: 1rem;
}
.wordmark {
  display: inline-flex; align-items: center; gap: .55rem;
  font-family: var(--font-display); font-size: 1.25rem;
  color: var(--ink); text-decoration: none;
}
.wordmark__ring {
  width: 1.15rem; height: 1.15rem; border-radius: 50%;
  border: 3px solid var(--plum);
  box-shadow: 0 0 0 3px var(--gold-soft);
}
.naamat-logo { display: inline-flex; align-items: center; }
.naamat-logo img { height: 6.6rem; width: auto; display: block; }
.site-nav { display: flex; align-items: center; gap: 1.4rem; }
.site-nav a { text-decoration: none; font-weight: 500; font-size: .95rem; }

/* ---------- Buttons ---------- */

.btn {
  display: inline-block; text-decoration: none; cursor: pointer;
  font-family: var(--font-body); font-weight: 600; font-size: 1rem;
  border-radius: 999px; border: 2px solid transparent;
  padding: .7rem 1.6rem; line-height: 1.3;
  transition: background .15s ease, color .15s ease, transform .1s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn--primary { background: var(--plum); color: var(--white); }
.btn--primary:hover { background: var(--plum-deep); color: var(--white); }
.btn--secondary { background: var(--gold); color: var(--white); }
.btn--secondary:hover { background: #0089bd; color: var(--white); }
.btn--ghost { border-color: var(--plum); color: var(--plum); background: transparent; }
.btn--ghost:hover { background: var(--rose); }
.btn--danger { background: var(--error); color: var(--white); }
.btn--large { padding: .9rem 2.1rem; font-size: 1.05rem; }
.btn--small { padding: .35rem .95rem; font-size: .85rem; }

.cta-row { display: flex; flex-wrap: wrap; gap: .9rem; margin-top: 2rem; }
.cta-row--center { justify-content: center; }

.eyebrow {
  text-transform: uppercase; letter-spacing: .14em; font-size: .8rem;
  font-weight: 700; color: var(--gold); margin-bottom: .8rem;
}

.flash { padding: .8rem 1.2rem; border-radius: var(--radius); margin: 1rem 0; }
.flash--notice { background: #e6f0ea; color: var(--ok); }
.flash--alert { background: #f6e4e4; color: var(--error); }

/* ---------- Hero ---------- */

.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(circle at 85% 15%, var(--rose) 0%, transparent 45%),
    radial-gradient(circle at 8% 90%, var(--gold-soft) 0%, transparent 35%),
    var(--cream);
  padding: 5.5rem 0 5rem;
}
.hero::before, .hero::after {
  content: ""; position: absolute; border-radius: 50%;
  border: 2px solid color-mix(in srgb, var(--plum) 18%, transparent);
  pointer-events: none;
}
.hero::before { width: 26rem; height: 26rem; right: -8rem; top: -10rem; }
.hero::after { width: 14rem; height: 14rem; left: -5rem; bottom: -6rem; }
.hero__inner { max-width: 46rem; }
.hero__copy, .hero__lede { margin-top: 1.2rem; font-size: 1.15rem; color: var(--ink-soft); }
.hero__lede { font-family: var(--font-display); font-size: 1.45rem; color: var(--ink); }
.hero--circle { text-align: center; }
.hero--circle .hero__inner { margin: 0 auto; }
.hero--circle .cta-row { justify-content: center; }

/* ---------- Sections ---------- */

.section { padding: 4.5rem 0; }
.section--quiet { background: var(--cream-deep); }
.section--video { background: var(--white); }
.section--facts { background: var(--plum); }
.section--facts h2, .section--facts p, .section--facts li { color: var(--white); }
.section--facts .stat-value { color: var(--gold-soft); }
.section--facts .stat-label { color: var(--rose); }
.section--matching { background: var(--white); }
.section--donate { background: var(--cream-deep); text-align: center; }
.section--circle-intro { text-align: center; }
.section--closing { background: var(--plum-deep); text-align: center; padding: 6rem 0; }

.content-list { margin: 1rem 0 0 1.2rem; }
.content-list li { margin-bottom: .35rem; }

/* ---------- Video ---------- */

.video-frame {
  position: relative; margin-top: 2rem;
  aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden;
  background: var(--ink);
}
.video-frame iframe { width: 100%; height: 100%; border: 0; }
.video-frame__poster {
  position: absolute; inset: 0; width: 100%; border: 0; cursor: pointer;
  background:
    radial-gradient(circle at 50% 50%, color-mix(in srgb, var(--plum) 60%, black) 0%, var(--ink) 100%);
  background-size: cover; background-position: center;
  display: grid; place-items: center;
}
.video-frame__poster:hover .video-frame__play { transform: scale(1.06); }
.video-frame__play { transition: transform .15s ease; }
.video-frame__play {
  width: 5rem; height: 5rem; border-radius: 50%;
  background: var(--white); position: relative;
  box-shadow: 0 0 0 10px color-mix(in srgb, var(--white) 25%, transparent);
}
.video-frame__play::after {
  content: ""; position: absolute; left: 55%; top: 50%;
  transform: translate(-50%, -50%);
  border-left: 1.4rem solid var(--plum);
  border-top: .9rem solid transparent; border-bottom: .9rem solid transparent;
}
.video-frame--placeholder { display: grid; place-items: center; color: var(--cream); }

/* ---------- Timeline ---------- */

.timeline {
  list-style: none; margin-top: 3rem;
  display: grid; gap: 1.2rem;
  grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr));
}
.timeline__item {
  background: var(--white); border-radius: var(--radius);
  padding: 1.4rem; border-top: 4px solid var(--gold);
  display: flex; flex-direction: column; gap: .4rem;
}
.timeline__label { font-family: var(--font-display); font-size: 1.25rem; color: var(--plum); }
.timeline__text { color: var(--ink-soft); font-size: .95rem; }

/* ---------- Centre / photos ---------- */

.split { display: grid; gap: 2.5rem; grid-template-columns: 1fr 1fr; margin-top: 1.5rem; align-items: start; }
.photo-grid { display: grid; gap: .9rem; grid-template-columns: 1fr 1fr; }
.photo-grid img { width: 100%; border-radius: var(--radius); display: block; max-width: 100%; }
.photo-placeholder {
  aspect-ratio: 4 / 3; border-radius: var(--radius);
  background: linear-gradient(135deg, var(--rose), var(--gold-soft));
  display: grid; place-items: center;
  color: var(--ink-soft); font-size: .85rem; font-weight: 600;
}

/* ---------- Stats ---------- */

.stat-row {
  display: grid; gap: 1.2rem; margin: 2rem 0;
  grid-template-columns: repeat(auto-fit, minmax(11rem, 1fr));
}
.stat { text-align: center; }
.stat-value {
  display: block; font-family: var(--font-display);
  font-size: clamp(2.2rem, 5vw, 3.2rem); color: var(--plum);
}
.stat-label { display: block; font-size: .92rem; color: var(--ink-soft); margin-top: .3rem; }

/* ---------- Matching & progress ---------- */

.matching-math {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center;
  gap: 1.4rem; margin: 2.5rem 0; text-align: center;
}
.matching-math__amount { display: block; font-family: var(--font-display); font-size: 2rem; color: var(--plum); }
.matching-math__part--total .matching-math__amount { font-size: 2.6rem; color: var(--gold); }
.matching-math__label { font-size: .85rem; color: var(--ink-soft); }
.matching-math__op { font-size: 1.8rem; color: var(--gold); font-family: var(--font-display); }

.progress { margin: 2.5rem 0 1rem; }
.progress__bar {
  height: 1.8rem; background: var(--cream-deep); border-radius: 999px; overflow: hidden;
}
.progress__fill {
  height: 100%; border-radius: 999px;
  background: linear-gradient(90deg, var(--gold), var(--plum));
  min-width: .9rem;
}
.progress__stats {
  display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(10rem, 1fr));
  margin-top: 1.4rem; text-align: center;
}
.progress__amount { display: block; font-family: var(--font-display); font-size: 1.5rem; color: var(--plum); }
.progress__label { font-size: .85rem; color: var(--ink-soft); }
.progress__goal { text-align: center; margin-top: 1.2rem; color: var(--ink-soft); }

/* ---------- Donation ---------- */

.donate-qr { margin: 2rem auto 0; max-width: 9rem; }
.donate-qr svg { width: 100%; height: auto; background: var(--white); padding: .6rem; border-radius: 10px; }
.donate-qr__caption { font-size: .85rem; color: var(--ink-soft); margin-top: .5rem; }

.org-credit {
  margin-top: 2.5rem; padding-top: 2rem;
  border-top: 1px solid var(--gold-soft);
  font-size: .95rem; color: var(--ink-soft);
}
.org-credit__logo {
  margin-top: 1.2rem; font-family: var(--font-display);
  letter-spacing: .2em; font-size: 1.05rem; color: var(--plum);
}

/* ---------- Circle ---------- */

.circle-preview {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 1rem; margin-top: 2rem;
}
.circle-field {
  list-style: none;
  display: flex; flex-wrap: wrap; justify-content: center;
  gap: 1.4rem;
}
.circle-tile {
  width: 15rem; aspect-ratio: 1; overflow: hidden;
  border-radius: 50%;
  background: var(--white);
  border: 1px solid var(--cream-deep);
  box-shadow: 0 10px 30px rgb(85 35 58 / 8%);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; padding: 2.4rem; gap: .45rem;
}
.circle-tile--featured {
  border: 2px solid var(--gold);
  background: linear-gradient(160deg, var(--white), var(--rose));
}
.circle-tile--small {
  width: 10rem; padding: 1.4rem;
}
.circle-tile__message {
  display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical;
  overflow: hidden;
}
.circle-tile--invite { border: 2px dashed var(--plum); background: transparent; padding: 0; }
.circle-tile--invite a {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: .4rem; width: 100%; height: 100%; border-radius: 50%;
  text-decoration: none; padding: 2.4rem;
}
.circle-tile__dedication {
  font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; color: var(--gold);
  font-weight: 700;
}
.circle-tile__name { font-family: var(--font-display); font-size: 1.15rem; color: var(--ink); }
.circle-tile__message { font-size: .88rem; color: var(--ink-soft); font-style: italic; }
.circle-tile__location { font-size: .78rem; color: var(--ink-soft); }
.circle-empty { text-align: center; padding: 3rem 0; }
.circle-empty .btn { margin-top: 1.2rem; }

.thanks-ring {
  width: 5.5rem; height: 5.5rem; margin: 0 auto 1.6rem;
  border-radius: 50%; border: 5px solid var(--plum);
  box-shadow: 0 0 0 8px var(--gold-soft);
}

/* ---------- Closing ---------- */

.closing__line1 { font-family: var(--font-display); font-size: clamp(2rem, 5vw, 3rem); color: var(--white); }
.closing__line2 { font-family: var(--font-display); font-size: clamp(1.4rem, 3.5vw, 2rem); color: var(--gold-soft); margin-top: .6rem; }
.closing__line3 { font-size: 1.15rem; color: var(--rose); margin-top: .8rem; }

/* ---------- Forms ---------- */

.section--form { padding: 4rem 0; }
.circle-form, .admin-form { margin-top: 2rem; display: grid; gap: 1.3rem; }
.field { display: grid; gap: .35rem; }
.field-row { display: grid; gap: 1.3rem; grid-template-columns: repeat(auto-fit, minmax(12rem, 1fr)); }
.field label { font-weight: 600; font-size: .95rem; }
.field input[type="text"], .field input[type="email"], .field input[type="password"],
.field input[type="url"], .field input[type="number"], .field textarea, .field select {
  font: inherit; padding: .65rem .85rem;
  border: 1.5px solid #d8cbdd; border-radius: 10px;
  background: var(--white); color: var(--ink); width: 100%;
}
.field textarea { resize: vertical; }
.field--checkbox { grid-template-columns: auto 1fr; align-items: start; gap: .6rem; }
.field--checkbox label { font-weight: 400; }
.field--checkbox input { margin-top: .3rem; width: 1.05rem; height: 1.05rem; accent-color: var(--plum); }
.hint { font-size: .85rem; color: var(--ink-soft); }
.form-errors {
  background: #f6e4e4; color: var(--error);
  border-radius: var(--radius); padding: 1rem 1.3rem;
}
.form-errors ul { margin-left: 1.1rem; }
.honeypot { position: absolute; left: -9999px; top: auto; }

/* ---------- DonorPerfect POC ---------- */

.poc-badge {
  display: inline-block; padding: .25rem .8rem; border-radius: 999px;
  background: var(--gold); color: var(--white);
  font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
}
.poc-counter {
  margin-top: 1.6rem; padding: 1.4rem 1.6rem; border-radius: var(--radius);
  background: var(--cream-deep); display: grid; gap: .25rem;
}
.poc-counter__amount { font-size: 2.4rem; font-weight: 700; color: var(--plum); line-height: 1.1; }
.poc-counter__label { font-size: .9rem; color: var(--ink-soft); }
.donation-impact {
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: stretch; gap: .8rem;
}
.donation-impact--band { margin: 2.4rem 0 2.8rem; text-align: center; }
.donation-impact__card {
  display: grid; gap: .3rem; align-content: start; text-align: center;
  padding: 1.3rem 1.1rem; border-radius: var(--radius);
  background: var(--cream-deep); border: 1.5px solid transparent;
  min-width: 0; overflow: hidden;
}
.donation-impact__card--matched { background: var(--rose); border-color: var(--gold); }
.donation-impact__card--entry { cursor: text; }
.donation-impact__card--entry:focus-within { border-color: var(--plum); }
.donation-impact__label { font-size: .85rem; font-weight: 600; color: var(--ink-soft); line-height: 1.25; }
.donation-impact__label--lead { font-size: 1.2rem; color: var(--ink); }
/* Equal-height label block so the two amounts sit on the same line on desktop */
.donation-impact__head { display: grid; gap: .05rem; align-content: center; }
@media (min-width: 40rem) { .donation-impact__head { min-height: 3.2rem; } }
.donation-impact__amount {
  font-family: var(--font-display); font-size: 2.4rem; line-height: 1.1; color: var(--plum);
}
.donation-impact__entry {
  display: flex; justify-content: center; align-items: baseline; gap: .1rem;
  font-family: var(--font-display); font-size: 3.2rem; line-height: 1.1; color: var(--plum);
  max-width: 100%;
}
.donation-impact__input {
  font: inherit; color: inherit; background: transparent;
  border: none; border-radius: 0; caret-color: var(--gold);
  width: 1ch; min-width: 1ch; max-width: 100%; padding: 0; text-align: left;
}
.donation-impact__input:focus { outline: none; }
.donation-impact__input::placeholder { color: #c6b3cf; }
.donation-impact__input:focus::placeholder { color: transparent; }
/* Invite typing: a blinking caret while the amount is still empty. The real
   caret takes over on focus, so the fake one hides then. */
.donation-impact__entry::after {
  content: ""; display: none; width: 3px; height: .8em;
  margin-left: .12rem; align-self: center; border-radius: 2px;
  background: var(--gold);
  animation: caret-blink 1.1s steps(1) infinite;
}
.donation-impact__entry:has(.donation-impact__input:placeholder-shown)::after { display: block; }
.donation-impact__entry:has(.donation-impact__input:focus)::after { display: none; }
@keyframes caret-blink { 50% { opacity: 0; } }
.donation-impact__card--matched .donation-impact__amount { color: var(--gold); font-size: 2.8rem; }
.donation-impact__sub { font-size: .78rem; color: var(--ink-soft); }
.donation-impact__arrow { align-self: center; font-size: 1.9rem; color: var(--gold); }
@media (max-width: 40rem) {
  .donation-impact { grid-template-columns: 1fr; }
  .donation-impact__arrow { transform: rotate(90deg); justify-self: center; }
  /* Keep long amounts inside the card so iOS Safari never rescales the page */
  .donation-impact__entry { font-size: 2.3rem; }
  .donation-impact__card--matched .donation-impact__amount { font-size: 2.3rem; }
}

/* ---------- Hero style POC ---------- */

.hpoc-toolbar {
  /* Sits below the sticky site header (~3.2rem tall) */
  position: sticky; top: 3.2rem; z-index: 40;
  background: var(--plum-deep); color: var(--white);
  padding: .55rem 0; box-shadow: 0 2px 10px rgb(30 15 22 / 25%);
}
.hpoc-toolbar__inner { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem 1.5rem; }
.hpoc-toolbar__title { font-weight: 700; font-size: .9rem; letter-spacing: .04em; text-transform: uppercase; }
.hpoc-toolbar__nav { display: flex; flex-wrap: wrap; gap: 1.1rem; }
.hpoc-toolbar__nav a { color: var(--gold-soft); font-size: .9rem; text-decoration: none; }
.hpoc-toolbar__nav a:hover { color: var(--white); }
.hpoc-label { background: var(--ink); color: var(--rose); padding: 1rem 0; font-size: .95rem; }
.hpoc-label strong { color: var(--white); }

/* Option A: current layout, much lighter bottom-weighted scrim */
.hpoc-a__scrim {
  display: flex; flex-direction: column; justify-content: flex-end;
  min-height: 82vh; padding-top: 6.5rem; padding-bottom: 4.5rem;
  background: linear-gradient(180deg, rgb(30 15 22 / 6%), rgb(30 15 22 / 10%) 45%, rgb(30 15 22 / 66%));
}
.hpoc-a .hero-full__inner { text-shadow: 0 1px 10px rgb(30 15 22 / 65%), 0 1px 30px rgb(30 15 22 / 45%); }

/* Option B: split editorial on cream, untouched arched photo */
.hpoc-b { background: var(--cream); padding: 5.5rem 0 4.5rem; }
.hpoc-b__grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 3.5rem; align-items: center; }
.hpoc-b__headline { font-size: clamp(2.2rem, 4vw, 3.4rem); color: var(--plum-deep); font-weight: 500; }
.hpoc-b__copy { margin: 1.2rem 0 1.8rem; color: var(--ink-soft); font-size: 1.12rem; }
.hpoc-b__figure { position: relative; margin: 0; }
.hpoc-b__photo {
  width: 100%; aspect-ratio: 4 / 4.6; object-fit: cover;
  border-radius: 46% 46% var(--radius) var(--radius) / 32% 32% var(--radius) var(--radius);
}
.hpoc-b__ring {
  position: absolute; inset: -1.1rem -1.1rem auto auto; width: 7rem; height: 7rem;
  border-radius: 50%; border: 4px solid var(--gold); z-index: 1;
}

/* Option C: full-bleed photo with no scrim, message on a solid cream card */
.hero-card {
  background-color: var(--ink); background-size: cover; background-position: center;
}
.hero-card__inner {
  display: flex; align-items: flex-end; justify-content: flex-start;
  min-height: 84vh; padding-top: 6rem; padding-bottom: 3.5rem;
}
.hero-card__card {
  max-width: 34rem; border-radius: var(--radius);
  background: color-mix(in srgb, var(--cream) 80%, transparent);
  backdrop-filter: blur(7px); -webkit-backdrop-filter: blur(7px);
  padding: 2.4rem 2.6rem; box-shadow: 0 18px 50px rgb(30 15 22 / 35%);
}
.hero-card__headline { font-size: clamp(2rem, 3.6vw, 3rem); color: var(--plum-deep); font-weight: 500; }
.hero-card__lede {
  font-family: var(--font-display); font-size: clamp(1.15rem, 2vw, 1.4rem);
  color: var(--gold); margin-top: .6rem; text-wrap: balance;
}
.hero-card__copy { margin: 1rem 0 1.6rem; color: var(--ink-soft); font-size: 1.05rem; }

/* Error pages */
.error-page { padding: 7rem 0; }
.error-page__code {
  font-family: var(--font-display); font-size: clamp(4.5rem, 12vw, 8rem);
  line-height: 1; color: var(--gold-soft); font-weight: 500;
}
.error-page h1 { margin-top: .4rem; color: var(--plum-deep); }
.error-page__lede { margin-top: 1rem; color: var(--ink-soft); font-size: 1.12rem; }

/* Large thermometer section (home2 variant) */
.thermo { padding: 4rem 0; background: var(--cream-deep); }
/* Elements that use cream-deep elsewhere need contrast on the darker band */
.thermo .progress__bar { background: var(--white); }
.thermo .donation-impact__card--entry { background: var(--white); }
.thermo__raised {
  font-family: var(--font-display); font-size: clamp(3.2rem, 8vw, 5.6rem);
  line-height: 1; color: var(--plum-deep);
}
.thermo__goal { font-size: 1.2rem; color: var(--ink-soft); margin: .6rem 0 2.2rem; }
.thermo__note { font-size: .82rem; color: var(--ink-soft); margin-top: .7rem; }
.thermo__goal strong { color: var(--plum); font-size: 1.45rem; }
.progress--thermo .progress__bar { height: 2.6rem; background: var(--white); }
.progress--thermo .progress__fill { background: linear-gradient(90deg, var(--plum), var(--plum-deep)); }
.thermo-inset { margin: 2.4rem 0 .5rem; }

/* Split hero: thin photo strip, text in its own section below */
.hero-split__media {
  min-height: 38vh; background-size: cover; background-position: center 30%;
  background-color: var(--ink);
}
.hero-split__body { background: var(--gold-soft); padding: 3.5rem 0 4rem; }
.hero-split__headline { font-size: clamp(2.2rem, 4.2vw, 3.6rem); color: var(--plum-deep); font-weight: 500; }
.hero-split__copy { margin: 1.2rem 0 .4rem; color: var(--ink-soft); font-size: 1.12rem; }

/* Option D: clean photo fading into cream, content directly below */
.hero-photo { background: var(--cream); padding-bottom: 4.5rem; }
.hero-photo__media {
  min-height: 62vh; background-size: cover; background-position: center 30%;
  -webkit-mask-image: linear-gradient(180deg, #000 78%, transparent);
  mask-image: linear-gradient(180deg, #000 78%, transparent);
}
.hero-photo__content { text-align: center; max-width: 46rem; margin-top: -2.5rem; position: relative; }
.hero-photo__headline { font-size: clamp(2.2rem, 4.2vw, 3.6rem); color: var(--plum-deep); font-weight: 500; }
.hero-photo__copy { margin: 1.2rem 0 1.8rem; color: var(--ink-soft); font-size: 1.12rem; }
.hero-photo .cta-row { justify-content: center; }

@media (max-width: 900px) {
  .hpoc-b__grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .hero-card__inner { justify-content: center; }
  .hero-card__card { padding: 1.8rem 1.6rem; }
  .hero-photo__content { margin-top: -1.5rem; }
}

/* ---------- Footer ---------- */

.site-footer {
  background-color: var(--ink); background-size: cover; background-position: center;
  color: var(--cream); text-align: center; font-size: .95rem;
}
.site-footer__scrim {
  background: linear-gradient(rgb(30 15 22 / 92%), rgb(30 15 22 / 80%));
  padding: 4.5rem 0 3rem; overflow: hidden;
}
.site-footer__giant {
  font-family: var(--font-display); color: var(--gold-soft);
  font-size: clamp(3rem, 12vw, 11rem); line-height: .8; white-space: nowrap;
  transform: translateY(calc(.14em - 10%)); margin-top: 3rem;
}
.site-footer__credit { color: #e3d8e8; max-width: 34rem; margin: 0 auto; }
.site-footer__logo { margin: 1.4rem 0; letter-spacing: .2em; font-family: var(--font-display); color: var(--gold-soft); }
.site-footer__links { display: flex; flex-wrap: wrap; justify-content: center; gap: 1.4rem; margin: 1.2rem 0; }
.site-footer__links a { color: var(--cream); }
.site-footer__fine { color: #a496ab; font-size: .82rem; margin-top: .4rem; }
.site-footer__credit-link { color: #a496ab; text-decoration: underline; text-underline-offset: 3px; }
.site-footer__credit-link:hover { color: var(--white); }

/* ---------- Admin ---------- */

.admin-body { background: #f4f1f5; font-size: 1rem; }
.admin-shell { display: grid; grid-template-columns: 15rem 1fr; min-height: 100vh; }
.admin-sidebar {
  background: var(--plum-deep); color: var(--cream);
  padding: 1.6rem 1.2rem; display: flex; flex-direction: column; gap: 1.6rem;
}
.admin-sidebar__brand a { color: var(--white); font-family: var(--font-display); font-size: 1.2rem; text-decoration: none; }
.admin-nav { display: flex; flex-direction: column; gap: .2rem; }
.admin-nav a {
  color: var(--rose); text-decoration: none; padding: .5rem .7rem;
  border-radius: 8px; font-size: .95rem;
}
.admin-nav a:hover, .admin-nav a.is-active { background: color-mix(in srgb, var(--white) 12%, transparent); color: var(--white); }
.admin-sidebar__footer { margin-top: auto; font-size: .88rem; display: grid; gap: .5rem; }
.admin-sidebar__footer a { color: var(--gold-soft); }
.admin-sidebar__footer .btn--ghost { border-color: var(--rose); color: var(--rose); }
.admin-main { padding: 2.2rem 2.6rem; max-width: 70rem; }
.admin-main h1 { font-size: 1.8rem; margin-bottom: 1.2rem; }
.admin-main h2 { font-size: 1.25rem; margin: 2rem 0 .8rem; }

.admin-auth { min-height: 100vh; display: grid; place-items: center; padding: 1.5rem; }
.auth-card {
  background: var(--white); border-radius: var(--radius);
  padding: 2.5rem; max-width: 24rem; width: 100%;
  box-shadow: 0 15px 40px rgb(85 35 58 / 12%);
}
.auth-card h1 { font-size: 1.5rem; margin-bottom: .6rem; }

.admin-page-head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.admin-tabs { display: flex; gap: .4rem; margin: 1.4rem 0; flex-wrap: wrap; }
.admin-tab {
  text-decoration: none; padding: .45rem 1rem; border-radius: 999px;
  background: var(--white); color: var(--ink-soft); font-size: .9rem; font-weight: 600;
  border: 1.5px solid transparent;
}
.admin-tab.is-active { border-color: var(--plum); color: var(--plum); }
.admin-tab__count { opacity: .65; }

.admin-table { width: 100%; border-collapse: collapse; background: var(--white); border-radius: var(--radius); overflow: hidden; }
.admin-table th, .admin-table td { text-align: left; padding: .8rem 1rem; border-bottom: 1px solid #eae2ee; vertical-align: top; font-size: .93rem; }
.admin-table th { background: var(--cream-deep); font-size: .8rem; text-transform: uppercase; letter-spacing: .06em; color: var(--ink-soft); }
.admin-table--compact td, .admin-table--compact th { padding: .5rem .8rem; }
.admin-actions { display: flex; flex-wrap: wrap; gap: .35rem; }
.admin-actions form { display: inline; }

.admin-stat-grid { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(11rem, 1fr)); margin-bottom: 1.6rem; }
.admin-stat { background: var(--white); border-radius: var(--radius); padding: 1.2rem; }
.admin-stat--attention { border: 2px solid var(--gold); }
.admin-stat__value { display: block; font-family: var(--font-display); font-size: 1.7rem; color: var(--plum); }
.admin-stat__label { font-size: .85rem; color: var(--ink-soft); }

.admin-note { background: var(--white); border-radius: var(--radius); padding: 1rem 1.3rem; margin: 1rem 0; }
.admin-note--ok { border-left: 4px solid var(--ok); }
.status { font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; }
.status--pending { color: var(--gold); }
.status--approved { color: var(--ok); }
.status--hidden, .status--rejected { color: var(--ink-soft); }
.tag {
  display: inline-block; font-size: .72rem; font-weight: 700;
  background: var(--cream-deep); border-radius: 999px; padding: .1rem .6rem; margin-left: .4rem;
}
.tag--featured { background: var(--gold-soft); color: var(--plum-deep); }
.quiet { color: var(--ink-soft); }
.otp-setup { max-width: 26rem; display: grid; gap: 1rem; margin-top: 1.4rem; }
.otp-setup__qr { background: var(--white); padding: 1rem; border-radius: var(--radius); max-width: 15rem; }
.otp-setup__qr svg { width: 100%; height: auto; }

/* ---------- Responsive ---------- */

@media (max-width: 760px) {
  .split { grid-template-columns: 1fr; }
  .admin-shell { grid-template-columns: 1fr; }
  .admin-sidebar { flex-direction: column; }
  .admin-main { padding: 1.4rem; }
  /* Responsive header: smaller logo, nav wraps to a centered second row */
  .naamat-logo img { height: 4.6rem; }
  .site-header__inner {
    flex-wrap: wrap; justify-content: center;
    row-gap: .3rem; padding-top: .6rem; padding-bottom: .6rem;
  }
  .site-nav { gap: .9rem; }
  .site-nav a { font-size: .9rem; }
  .section { padding: 3rem 0; }
  .circle-tile { width: 12.5rem; padding: 1.6rem; }
  .circle-tile__name { font-size: 1.02rem; }
  .circle-tile__message { font-size: .8rem; -webkit-line-clamp: 3; }
}

/* ================= Editorial redesign ================= */

.display { font-size: clamp(2rem, 4.5vw, 3.2rem); letter-spacing: -.01em; }
.eyebrow--plum { color: var(--plum); }

/* Transparent overlay header on the homepage */
.btn--gold { background: var(--gold); color: var(--plum-deep); }
.btn--gold:hover { background: var(--gold-soft); color: var(--plum-deep); }
.btn--outline-light { border-color: var(--white); color: var(--white); background: transparent; }
.btn--outline-light:hover { background: color-mix(in srgb, var(--white) 16%, transparent); color: var(--white); }

/* ---------- Full-bleed hero ---------- */

.hero-full {
  position: relative; overflow: hidden;
  background-color: var(--ink); background-size: cover; background-position: center;
}
.hero-full__scrim {
  display: flex; flex-direction: column; justify-content: flex-end;
  min-height: 88vh; padding-top: 6.5rem; padding-bottom: 5rem;
  background: linear-gradient(180deg, rgb(30 15 22 / 74%), rgb(30 15 22 / 48%) 45%, rgb(30 15 22 / 76%));
}
.hero-full__inner { text-shadow: 0 1px 14px rgb(30 15 22 / 45%); }
.hero-full__inner { text-align: center; max-width: 46rem; margin: 0 auto; color: var(--white); }
.hero-full__glyph {
  display: block; width: 2.2rem; height: 2.2rem; margin: 0 auto 1.5rem;
  border-radius: 50%; border: 4px solid var(--gold);
  box-shadow: 0 0 0 6px color-mix(in srgb, var(--gold) 35%, transparent);
}
.hero-full__headline { color: var(--white); font-size: clamp(2.2rem, 4.6vw, 3.8rem); font-weight: 500; }
.hero-full__copy { margin-top: 1.2rem; color: #ece2f0; font-size: 1.12rem; }
.hero-full__giant {
  font-family: var(--font-display); text-align: center; color: var(--gold-soft);
  font-size: clamp(3.4rem, 12.5vw, 12rem); line-height: .82; white-space: nowrap;
  margin-top: auto; padding-top: 3.5rem; transform: translateY(.1em);
}

/* ---------- Bands ---------- */

.band { padding: 5.5rem 0; }
.band--cream { background: var(--cream); }
.band--white { background: var(--white); }
.band--rose { background: var(--rose); }
.band--gold { background: #e0cbe7; }
.band--gold .display, .band--gold h2, .band--gold p, .band--gold li { color: var(--ink); }
.band-head { max-width: 42rem; margin-bottom: 2.6rem; }

/* ---------- Annotated story figure ---------- */

.annotated { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.annotated__figure { position: relative; margin: 0; padding: 3.2rem; }
.annotated__photo {
  width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 50%; display: block;
}
.annotated__ring {
  position: absolute; inset: 1.1rem; border-radius: 50%;
  border: 1.5px solid color-mix(in srgb, var(--plum) 40%, transparent);
}
.annotated__label {
  position: absolute; z-index: 2;
  background: var(--white); border-radius: 999px; padding: .38rem .95rem;
  font-size: .8rem; font-weight: 600; color: var(--plum);
  box-shadow: 0 6px 18px rgb(85 35 58 / 14%); white-space: nowrap;
}
.annotated__label--1 { top: 4%; left: 6%; }
.annotated__label--2 { top: 10%; right: 2%; }
.annotated__label--3 { top: 46%; left: -2%; }
.annotated__label--4 { top: 52%; right: -3%; }
.annotated__label--5 { bottom: 8%; left: 8%; }
.annotated__label--6 { bottom: 2%; right: 10%; }

/* ---------- Gold legacy band ---------- */

.gold-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 3.5rem; align-items: start; }
.gold-grid__values { list-style: none; display: grid; gap: .95rem; font-weight: 600; font-size: 1.06rem; align-content: start; padding-top: 2.4rem; }
.value-glyph { color: var(--plum); margin-right: .45rem; }
.stat-cards { display: flex; flex-wrap: wrap; gap: 1.2rem; margin-top: 3rem; }
.stat-card { background: var(--white); border-radius: 12px; padding: 1.4rem 1.8rem; flex: 1 1 15rem; }
.stat-card__value { display: block; font-family: var(--font-display); font-size: 2.4rem; color: var(--plum); }
.stat-card__label { display: block; font-size: .88rem; color: var(--ink-soft) !important; margin-top: .2rem; }

/* ---------- Numbered journey ---------- */

.journey { display: grid; grid-template-columns: 1.05fr .95fr; gap: 4rem; align-items: center; }
.journey__step { margin-top: 2rem; max-width: 34rem; }
.journey__step h3 { margin: 0 0 .35rem; font-size: 1.35rem; }
.journey__num { color: var(--gold); font-size: 1.05rem; margin-right: .2rem; }
.journey__step p { color: var(--ink-soft); font-size: .98rem; }
.journey__photo img { width: 100%; aspect-ratio: 4 / 4.6; object-fit: cover; border-radius: var(--radius); display: block; }

/* ---------- Centre photo cards ---------- */

.centre-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(12rem, 1fr)); gap: 1.4rem; }
.centre-card { margin: 0; }
.centre-card img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius); display: block; }
.centre-card figcaption { margin-top: .6rem; font-weight: 600; font-size: .95rem; }

/* ---------- Collage band ---------- */

.collage { position: relative; overflow: hidden; padding: 7.5rem 0; }
.collage__center { position: relative; z-index: 2; }
.collage__strip { position: absolute; top: 0; bottom: 0; width: 26%; pointer-events: none; }
.collage__strip--left { left: 0; }
.collage__strip--right { right: 0; }
.collage__img {
  position: absolute; object-fit: cover; border-radius: 10px;
  box-shadow: 0 12px 30px rgb(85 35 58 / 18%);
  animation: collage-drift var(--drift-duration, 8s) ease-in-out var(--drift-delay, 0s) infinite;
}
@keyframes collage-drift {
  0%, 100% { translate: 0 0; }
  50% { translate: var(--drift-x, 0px) var(--drift-y, -12px); }
}
.collage__img--a { width: 13rem; height: 12rem; top: 10%; left: 10%; rotate: -4deg;
  --drift-duration: 9s; --drift-y: -14px; --drift-x: 4px; }
.collage__img--b { width: 12rem; height: 13rem; bottom: 9%; left: 24%; rotate: 3deg;
  --drift-duration: 7s; --drift-delay: -3s; --drift-y: -10px; --drift-x: -5px; }
.collage__img--d { width: 12.5rem; height: 12rem; top: 12%; right: 20%; rotate: 5deg;
  --drift-duration: 8s; --drift-delay: -2s; --drift-y: -12px; --drift-x: -4px; }
.collage__img--e { width: 13rem; height: 11.5rem; bottom: 8%; right: 8%; rotate: -3deg;
  --drift-duration: 11s; --drift-delay: -5s; --drift-y: -18px; --drift-x: 5px; }

/* ---------- Tributes over photo ---------- */

.tributes { background-color: var(--plum-deep); background-size: cover; background-position: center; }
.tributes__scrim { background: linear-gradient(rgb(30 15 22 / 68%), rgb(30 15 22 / 68%)); padding: 5.5rem 0; }
.tributes__heading { color: var(--white); margin-bottom: 2.2rem; }
.tributes__marquee { width: 100%; overflow: hidden; padding-bottom: 1.2rem; }
.tributes__track {
  display: flex; width: max-content;
  animation: tributes-scroll 45s linear infinite;
}
.tributes__set { display: flex; gap: 1.4rem; padding-right: 1.4rem; }
.tributes__marquee:hover .tributes__track,
.tributes__marquee:focus-within .tributes__track { animation-play-state: paused; }
@keyframes tributes-scroll {
  to { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  /* The global animation kill-switch stops the marquee; allow manual scrolling
     instead, with the scrollbar hidden. */
  .tributes__marquee { overflow-x: auto; scrollbar-width: none; }
  .tributes__marquee::-webkit-scrollbar { display: none; }
}
.tribute-card {
  background: var(--white); border-radius: 12px; padding: 1.8rem;
  flex: 0 0 21rem; max-width: 85vw; margin: 0;
}
.tribute-card__quote { font-family: var(--font-display); font-size: 1.18rem; line-height: 1.45; }
.tribute-card cite {
  font-style: normal; display: block; margin-top: 1.3rem;
  font-size: .8rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-soft);
}

/* ---------- Statement ---------- */

.statement { padding: 6.5rem 0; }
.statement__line { font-family: var(--font-display); font-size: clamp(2rem, 5vw, 3.4rem); line-height: 1.15; }
.statement__line--gold { color: var(--gold); }
.statement__line--small { font-family: var(--font-body); font-size: 1.15rem; color: var(--ink-soft); margin-top: 1.1rem; }
.statement__link {
  color: var(--plum); font-weight: 600;
  text-decoration: underline; text-underline-offset: 4px;
}
.statement__link:hover { color: var(--plum-deep); }

/* ---------- Responsive (redesign) ---------- */

@media (max-width: 900px) {
  .annotated, .journey, .gold-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .collage__strip { display: none; }
  .hero-full__scrim { min-height: 80vh; padding-top: 7rem; }
  .gold-grid__values { padding-top: 0; }
}

/* ---------- Circle page (immersive) ---------- */

.hero-full--short .hero-full__scrim {
  min-height: 74vh; justify-content: center;
  padding-top: 6.5rem; padding-bottom: 4.5rem;
}
.hero-full__title { color: var(--white); font-size: clamp(2.8rem, 6.5vw, 5.2rem); }
.hero-full__lede {
  font-family: var(--font-display); font-size: clamp(1.2rem, 2.2vw, 1.6rem);
  color: var(--gold-soft); margin-top: 1.1rem; text-wrap: balance;
}

.circle-field--band { margin-top: 3rem; }

.band--gold .matching-math__amount { color: var(--plum); }
.band--gold .matching-math__part--total .matching-math__amount { color: var(--plum-deep); }
.band--gold .matching-math__op { color: var(--plum); }
.band--gold .matching-math__label, .band--gold .progress__label,
.band--gold .progress__goal, .band--gold .stat-card__label { color: #5a4a63; }
.band--gold .progress__bar { background: color-mix(in srgb, var(--white) 55%, transparent); }
.band--gold .progress__fill { background: linear-gradient(90deg, var(--plum), var(--plum-deep)); }
.band--gold .progress__amount { color: var(--plum-deep); }
.band--gold .btn--ghost { border-color: var(--plum-deep); color: var(--plum-deep); }
.band--gold .btn--ghost:hover { background: color-mix(in srgb, var(--white) 35%, transparent); }

/* ---------- Scroll reveal ---------- */

@media (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 0; transform: translateY(18px);
    transition: opacity .7s cubic-bezier(.22, .61, .36, 1), transform .7s cubic-bezier(.22, .61, .36, 1);
    transition-delay: var(--reveal-delay, 0s);
  }
  .reveal--visible { opacity: 1; transform: none; }
}

.site-footer__logo-img {
  display: block; width: min(340px, 80%); height: auto;
  margin: 2rem auto 1.2rem;
}

.container--video { max-width: 64rem; }

.brief-table { width: 100%; border-collapse: collapse; margin: 1rem 0 2rem; background: var(--white); border-radius: var(--radius); overflow: hidden; }
.brief-table th, .brief-table td { text-align: left; padding: .7rem .9rem; border-bottom: 1px solid var(--cream-deep); font-size: .93rem; vertical-align: top; }
.brief-table th { background: var(--cream-deep); font-size: .78rem; text-transform: uppercase; letter-spacing: .06em; color: var(--ink-soft); }

.video-frame video { width: 100%; height: 100%; object-fit: contain; background: var(--ink); }

.hero-full--short .hero-full__scrim {
  background: linear-gradient(180deg, rgb(30 15 22 / 82%), rgb(30 15 22 / 68%));
}
