:root {
  --plum: #241033;
  --plum2: #3a184f;
  --plum3: #5a2a72;
  --gold: #d4a73a;
  --gold-s: #e8c56a;
  --gold-d: #8a6510;
  --rose: #f8f0f4;
  --paper: #f6efe6;
  --ink: #1f1526;
  --mute: #6d6075;
  --line: #eadfe8;
  --white: #ffffff;
  --shadow: 0 18px 50px rgba(36, 16, 51, .12);
  --radius: 18px;
  --ease: cubic-bezier(.22, 1, .36, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font: 17px/1.65 'Figtree', system-ui, sans-serif;
  color: var(--ink);
  background:
    radial-gradient(1200px 600px at 10% -10%, rgba(212,167,58,.08), transparent 50%),
    radial-gradient(900px 500px at 100% 0%, rgba(90,42,114,.06), transparent 45%),
    #fcfafb;
}
img, video { max-width: 100%; height: auto; }
h1, h2, h3 {
  font-family: 'DM Serif Display', Georgia, serif;
  font-weight: 400;
  line-height: 1.12;
  margin: 0 0 .45em;
  letter-spacing: -.02em;
}
h2 {
  font-size: clamp(2.1rem, 4.8vw, 3.15rem);
  color: var(--plum);
}
a { color: var(--gold-d); }
:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
}

.wrap {
  max-width: 1080px;
  margin: 0 auto;
  padding: clamp(3.5rem, 7vw, 5.5rem) 1.35rem;
}
.eyebrow {
  margin: 0 0 .85rem;
  color: var(--gold-d);
  font: 600 .72rem/1.2 'Figtree', sans-serif;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.sec-head { grid-column: 1; }
.lead {
  color: var(--mute);
  max-width: 52ch;
  margin: 0 0 2rem;
  font-size: 1.08rem;
  line-height: 1.7;
}
.empty { color: var(--mute); font-size: 1.02rem; }
.hint { margin: -.35rem 0 1rem; font-size: .88rem; color: var(--mute); }
.small { font-size: .88rem; color: var(--mute); }

/* Motion */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .8s var(--ease), transform .8s var(--ease);
}
.reveal.in {
  opacity: 1;
  transform: none;
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .memory-card .face { transition: none; }
  .hero-text, .portrait { animation: none !important; }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .4rem;
  background: linear-gradient(180deg, var(--gold-s), var(--gold));
  color: var(--plum);
  border: 0;
  padding: .9rem 1.55rem;
  border-radius: 999px;
  font: 600 .98rem 'Figtree', sans-serif;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(138, 101, 16, .18);
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), filter .2s;
}
.btn:hover {
  filter: brightness(1.05);
  transform: translateY(-1px);
  box-shadow: 0 14px 28px rgba(138, 101, 16, .24);
}
.btn-ghost {
  background: transparent;
  color: #fff;
  border: 1.5px solid rgba(255,255,255,.42);
  box-shadow: none;
}
.btn-ghost:hover {
  background: rgba(255,255,255,.1);
  border-color: #fff;
  filter: none;
}
.btn-outline {
  background: transparent;
  color: var(--plum);
  border: 1.5px solid rgba(36,16,51,.2);
  box-shadow: none;
}
.btn-outline:hover {
  border-color: var(--plum);
  background: rgba(36,16,51,.04);
  filter: none;
}
.hero-ctas,
.page-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .8rem;
  align-items: center;
}

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(ellipse 80% 60% at 85% 15%, rgba(212,167,58,.22), transparent 55%),
    radial-gradient(ellipse 70% 80% at 0% 100%, rgba(90,42,114,.55), transparent 50%),
    linear-gradient(155deg, #1a0b26 0%, var(--plum) 42%, var(--plum2) 100%);
  min-height: min(92vh, 820px);
  display: grid;
  align-items: center;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255,255,255,.07) 1px, transparent 1px);
  background-size: 3px 3px;
  opacity: .25;
  pointer-events: none;
}
.hero::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -1px;
  height: 90px;
  background: linear-gradient(180deg, transparent, #fcfafb);
  pointer-events: none;
}
.big40 {
  position: absolute;
  right: -3vw;
  bottom: -8vw;
  font: 400 clamp(14rem, 42vw, 36rem)/.8 'DM Serif Display', serif;
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(212,167,58,.28);
  user-select: none;
  pointer-events: none;
  opacity: .85;
}
.hero-in {
  position: relative;
  z-index: 1;
  max-width: 1080px;
  margin: 0 auto;
  padding: 5.5rem 1.35rem 6.5rem;
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
.date {
  color: var(--gold-s);
  font-weight: 600;
  margin: 0 0 1.1rem;
  letter-spacing: .04em;
  font-size: .95rem;
}
.hero h1 {
  font-size: clamp(2.7rem, 7.2vw, 5.2rem);
  margin-bottom: .35em;
  max-width: 11ch;
  text-wrap: balance;
}
.tag {
  font-size: clamp(1.1rem, 2vw, 1.3rem);
  max-width: 32ch;
  color: #f0e4f4;
  margin: 0 0 2.1rem;
  line-height: 1.55;
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.4rem;
}
.portrait {
  width: 100%;
  max-width: 360px;
  aspect-ratio: 4/5;
  object-fit: cover;
  border-radius: 220px 220px 22px 22px;
  border: 2px solid rgba(212,167,58,.85);
  justify-self: center;
  background: var(--plum2);
  box-shadow:
    0 0 0 12px rgba(212,167,58,.12),
    0 30px 60px rgba(0,0,0,.35);
  animation: floaty 7s ease-in-out infinite;
}
.portrait.ph {
  display: grid;
  place-items: center;
  font: 4rem 'DM Serif Display', serif;
  color: var(--gold);
}
.hero-text { animation: rise .9s var(--ease) both; }
@keyframes rise {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: none; }
}
@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

/* Top bar / Nav */
.topbar {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  gap: .75rem;
  padding: .65rem 1rem;
  background: rgba(252,250,251,.92);
  backdrop-filter: blur(14px) saturate(1.2);
  border-bottom: 1px solid rgba(36,16,51,.06);
}
.topbar-brand {
  font: 1.05rem 'DM Serif Display', Georgia, serif;
  color: var(--plum);
  text-decoration: none;
  white-space: nowrap;
  margin-right: .25rem;
}
.nav-toggle {
  display: none;
  margin-left: auto;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(36,16,51,.12);
  border-radius: 12px;
  background: #fff;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  padding: 0;
}
.nav-toggle-bars,
.nav-toggle-bars::before,
.nav-toggle-bars::after {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--plum);
  border-radius: 2px;
  transition: transform .25s var(--ease), opacity .2s;
  position: relative;
}
.nav-toggle-bars::before,
.nav-toggle-bars::after {
  content: "";
  position: absolute;
  left: 0;
}
.nav-toggle-bars::before { top: -6px; }
.nav-toggle-bars::after { top: 6px; }
.topbar.is-open .nav-toggle-bars { background: transparent; }
.topbar.is-open .nav-toggle-bars::before { top: 0; transform: rotate(45deg); }
.topbar.is-open .nav-toggle-bars::after { top: 0; transform: rotate(-45deg); }
.nav {
  display: flex;
  gap: .4rem;
  flex: 1;
  flex-wrap: nowrap;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  mask-image: linear-gradient(90deg, #000 94%, transparent);
}
.nav::-webkit-scrollbar { display: none; }
.nav a {
  text-decoration: none;
  color: var(--plum);
  font-weight: 600;
  font-size: .84rem;
  white-space: nowrap;
  padding: .45rem .85rem;
  border-radius: 999px;
  background: transparent;
  transition: background .2s, color .2s;
}
.nav a:hover {
  background: rgba(36,16,51,.06);
  color: var(--plum);
}

/* Meet her */
.bio {
  display: grid;
  grid-template-columns: .85fr 1.35fr;
  gap: 1.25rem 3.5rem;
  align-items: start;
}
.bio .sec-head { grid-column: 1; }
.bio-text {
  grid-column: 2;
  grid-row: 1 / 3;
  max-width: 62ch;
}
.bio-text p {
  margin: 0 0 1.25em;
  font-size: 1.12rem;
  color: #32243a;
}
.verse {
  grid-column: 1;
  margin: 1.2rem 0 0;
  padding: 1.4rem 0 0 1.2rem;
  border-left: 3px solid var(--gold);
  font: 1.35rem/1.4 'DM Serif Display', serif;
  color: var(--plum);
}
.verse cite {
  display: block;
  margin-top: .7rem;
  font: 500 .92rem 'Figtree', sans-serif;
  color: var(--mute);
  font-style: normal;
  letter-spacing: .02em;
}

/* Memoir band */
.memoir-band {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 90% 20%, rgba(212,167,58,.16), transparent 45%),
    linear-gradient(180deg, #fff 0%, var(--paper) 48%, #efe4d5 100%);
  border-block: 1px solid rgba(36,16,51,.06);
}
.memoir-band-in {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 3rem;
  align-items: center;
}
.memoir-band-copy .lead { margin-bottom: 1.6rem; }
.book-cover-link {
  justify-self: center;
  text-decoration: none;
  color: inherit;
  transition: transform .35s var(--ease);
}
.book-cover-link:hover { transform: translateY(-6px) rotate(-1deg); }
.book-stack {
  position: relative;
  width: min(270px, 68vw);
  margin: 0 auto;
}
.book-stack.mini { width: min(230px, 64vw); }
.book-spine {
  position: absolute;
  left: -14px;
  top: 12px;
  bottom: 20px;
  width: 16px;
  border-radius: 3px 0 0 3px;
  background: linear-gradient(90deg, #140816, #4a2463 55%, #2a0f3a);
}
.book-cover {
  position: relative;
  z-index: 2;
  margin: 0;
  aspect-ratio: 2/3;
  border-radius: 3px 12px 12px 3px;
  overflow: hidden;
  background: var(--plum);
  box-shadow: var(--shadow), 0 0 0 1px rgba(255,255,255,.08);
}
.book-cover img,
.book-cover-ph {
  width: 100%;
  height: 68%;
  object-fit: cover;
  display: block;
}
.book-cover-ph {
  display: grid;
  place-items: center;
  font: 3.5rem 'DM Serif Display', serif;
  color: var(--gold);
  background: var(--plum2);
}
.book-cover figcaption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 1rem 1.05rem 1.15rem;
  background: linear-gradient(180deg, transparent, rgba(20,6,30,.94) 30%);
  color: #fff;
}
.book-kicker {
  display: block;
  font-size: .66rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: .35rem;
  font-weight: 600;
}
.book-cover strong {
  display: block;
  font: 1.3rem/1.15 'DM Serif Display', Georgia, serif;
  margin-bottom: .2rem;
}
.book-cover em {
  font: italic 1rem/1.2 'Cormorant Garamond', Georgia, serif;
  opacity: .9;
}
.book-shadow {
  position: absolute;
  left: 8%; right: -6%; bottom: -12px;
  height: 24px;
  background: radial-gradient(ellipse at center, rgba(36,16,51,.28), transparent 70%);
  z-index: 1;
}

/* Bands / gallery */
.band {
  background:
    linear-gradient(180deg, rgba(248,240,244,.95), rgba(248,240,244,.98));
}
.grid {
  columns: 3 240px;
  column-gap: 1.1rem;
}
.grid figure {
  margin: 0 0 1.1rem;
  break-inside: avoid;
}
.grid img {
  width: 100%;
  display: block;
  border-radius: 14px;
  cursor: zoom-in;
  transition: transform .35s var(--ease), box-shadow .35s;
  box-shadow: 0 8px 24px rgba(36,16,51,.08);
}
.grid a.lb:hover img {
  transform: scale(1.015);
  box-shadow: 0 14px 34px rgba(36,16,51,.16);
}
.grid figcaption {
  font-size: .9rem;
  color: var(--mute);
  padding: .45rem .15rem 0;
}
.guest-grid { columns: 2 180px; }

#lightbox {
  position: fixed;
  inset: 0;
  background: rgba(16, 6, 24, .93);
  display: grid;
  place-items: center;
  z-index: 40;
  padding: 1rem;
  backdrop-filter: blur(4px);
}
#lightbox[hidden] { display: none; }
#lightbox img {
  max-width: 100%;
  max-height: 92vh;
  border-radius: 10px;
}
#lightbox button {
  position: absolute;
  top: 1rem;
  right: 1.2rem;
  background: none;
  border: 0;
  color: #fff;
  font-size: 2.5rem;
  cursor: pointer;
}

/* Forms */
.wish-layout {
  display: grid;
  grid-template-columns: .92fr 1.08fr;
  gap: 2.2rem;
  align-items: start;
}
.card {
  background: rgba(255,255,255,.92);
  border: 1px solid rgba(36,16,51,.07);
  border-radius: var(--radius);
  padding: 1.55rem 1.45rem;
  box-shadow: 0 10px 30px rgba(36,16,51,.05);
}
.wish-layout .card {
  position: sticky;
  top: 4.6rem;
  background: linear-gradient(180deg, #fff, #fbf5f8);
}
.card h3 {
  font-size: 1.55rem;
  color: var(--plum);
  margin-bottom: .9rem;
}
label {
  display: block;
  font-weight: 600;
  font-size: .93rem;
  margin: 0 0 1rem;
  color: #3a2b42;
}
input,
textarea,
select {
  display: block;
  width: 100%;
  margin-top: .4rem;
  padding: .8rem .95rem;
  border: 1px solid #d7c7d8;
  border-radius: 12px;
  font: inherit;
  color: var(--ink);
  background: #fff;
  line-height: 1.4;
  transition: border-color .2s, box-shadow .2s;
}
input:focus,
textarea:focus,
select:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 4px rgba(212,167,58,.18);
  outline: none;
}
textarea { resize: vertical; min-height: 7rem; }
select {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  min-height: 3rem;
  padding-right: 2.7rem;
  cursor: pointer;
  background-color: #fff;
  background-image:
    linear-gradient(45deg, transparent 50%, var(--plum) 50%),
    linear-gradient(135deg, var(--plum) 50%, transparent 50%);
  background-position:
    calc(100% - 1.2rem) calc(50% - .12rem),
    calc(100% - .78rem) calc(50% - .12rem);
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
}
select option { color: var(--ink); background: #fff; }
.hp { position: absolute; left: -9999px; }
.notice {
  padding: .75rem 1rem;
  border-radius: 12px;
  margin: 0 0 1rem;
}
.ok { background: #e8f5e4; color: #1f5a14; }
.bad { background: #fde8e8; color: #8a1c1c; }
.wall { display: grid; gap: 1.15rem; }
.wish {
  border-left: 3px solid var(--gold);
  padding: .15rem 0 .15rem 1.2rem;
  background: linear-gradient(90deg, rgba(212,167,58,.06), transparent 55%);
  border-radius: 0 12px 12px 0;
}
.wish p { margin: 0 0 .5rem; font-size: 1.05rem; }
.wish footer { font-size: .9rem; color: var(--mute); }
.wish time { display: block; font-size: .84rem; margin-top: .15rem; }
.wish.poem h3 {
  font-size: 1.3rem;
  color: var(--plum);
  margin-bottom: .35rem;
}
.wish.prayer { border-left-color: var(--plum3); }

/* Feature strips */
.barcode-sec { padding-top: 2.5rem; }
.barcode-card {
  display: grid;
  grid-template-columns: 1.25fr auto;
  gap: 2rem;
  align-items: center;
  background: linear-gradient(135deg, #fff 0%, #f7eef4 100%);
  border: 1px solid rgba(36,16,51,.06);
  border-radius: 24px;
  padding: clamp(1.4rem, 3vw, 2.2rem);
  box-shadow: var(--shadow);
}
.barcode-card h2 { margin-bottom: .4rem; }
.barcode-card p { color: var(--mute); max-width: 40ch; }
.barcode-figure { margin: 0; text-align: center; }
.barcode-figure img {
  display: block;
  width: 200px;
  height: 200px;
  background: #fff;
  border: 10px solid #fff;
  box-shadow: 0 12px 36px rgba(36,16,51,.12);
  border-radius: 16px;
}
.barcode-figure figcaption {
  margin-top: .65rem;
  font-size: .88rem;
  color: var(--mute);
}
.stream-sec { text-align: center; }
.stream-sec h2 { margin-bottom: .6rem; }
.stream-sec p {
  max-width: 40ch;
  margin: 0 auto 1.5rem;
  color: var(--mute);
}
.bank-card {
  max-width: 540px;
  background: linear-gradient(135deg, #fff, var(--rose));
  border: 1px solid rgba(36,16,51,.06);
  border-left: 4px solid var(--gold);
  border-radius: 0 18px 18px 0;
  padding: 1.6rem 1.8rem;
  box-shadow: 0 12px 32px rgba(36,16,51,.06);
}
.bank-card p {
  display: grid;
  gap: .15rem;
  margin: 0 0 1rem;
}
.bank-card p:last-child { margin-bottom: 0; }
.bank-card span {
  font-size: .82rem;
  color: var(--mute);
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.bank-card strong {
  font-size: 1.15rem;
  color: var(--plum);
}
.bank-card .acct {
  font-size: 1.55rem;
  letter-spacing: .05em;
  font-family: 'DM Serif Display', Georgia, serif;
  font-weight: 400;
}

/* Video */
.video-wall { display: grid; gap: 1.2rem; }
.video-shout {
  background: #fff;
  border: 1px solid rgba(36,16,51,.07);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 10px 28px rgba(36,16,51,.06);
}
.video-shout video {
  display: block;
  width: 100%;
  max-height: 360px;
  background: #160816;
}
.video-shout footer { padding: 1rem 1.15rem; }
.video-shout footer p { margin: .35rem 0; color: var(--ink); }
.video-shout time {
  display: block;
  font-size: .84rem;
  color: var(--mute);
}
.vthumb {
  width: 100%;
  max-width: 320px;
  max-height: 180px;
  background: #160816;
  border-radius: 10px;
}

/* Games */
.game-panel { max-width: 720px; }
.game-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  margin: 0 0 1.3rem;
  color: var(--mute);
  font-weight: 600;
}
.game-stats .btn {
  margin-left: auto;
  padding: .55rem 1.1rem;
  font-size: .9rem;
}
.memory-board {
  display: grid;
  grid-template-columns: repeat(var(--cols, 4), minmax(0, 1fr));
  gap: .8rem;
}
.memory-card {
  position: relative;
  aspect-ratio: 1;
  border: 0;
  padding: 0;
  border-radius: 14px;
  cursor: pointer;
  background: transparent;
  perspective: 900px;
}
.memory-card .face {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  border-radius: 14px;
  backface-visibility: hidden;
  transition: transform .4s var(--ease);
  overflow: hidden;
}
.memory-card .back {
  background: radial-gradient(circle at 30% 20%, var(--plum3), var(--plum));
  color: var(--gold);
  font: 1.8rem 'DM Serif Display', Georgia, serif;
  border: 2px solid rgba(212,167,58,.5);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.06);
}
.memory-card .front {
  transform: rotateY(180deg);
  background: #fff;
  border: 2px solid var(--line);
}
.memory-card .front img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.memory-card.flipped .back,
.memory-card.matched .back { transform: rotateY(180deg); }
.memory-card.flipped .front,
.memory-card.matched .front { transform: rotateY(0); }
.memory-card.matched { cursor: default; }
.memory-card.matched .front { border-color: var(--gold); }
.game-win {
  margin: 1.3rem 0 0;
  font: 1.35rem 'DM Serif Display', Georgia, serif;
  color: var(--plum);
}

.connect-card {
  max-width: 660px;
  background: linear-gradient(180deg, #fff, #fbf5f8);
}

/* Inner pages */
.page-hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 80% 0%, rgba(212,167,58,.2), transparent 50%),
    linear-gradient(160deg, #1a0b26, var(--plum) 55%, var(--plum2));
  color: #fff;
  padding: 4.5rem 0 3.8rem;
}
.page-hero .tag { color: #f0e4f4; font-family: 'Cormorant Garamond', Georgia, serif; font-size: 1.3rem; max-width: 40ch; }
.page-hero .eyebrow,
.page-hero .date { color: var(--gold-s); }
.page-hero-in h1 { font-size: clamp(2.5rem, 6vw, 4.1rem); }

.memoir-page { background: var(--paper); }
.memoir-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.4rem;
  background: rgba(255,255,255,.78);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(36,16,51,.06);
  position: sticky;
  top: 0;
  z-index: 6;
}
.memoir-brand {
  font: 1.15rem 'DM Serif Display', Georgia, serif;
  color: var(--plum);
  text-decoration: none;
}
.memoir-nav { display: flex; gap: 1.1rem; }
.memoir-nav a {
  text-decoration: none;
  color: var(--mute);
  font-weight: 600;
  font-size: .92rem;
}
.memoir-nav a:hover { color: var(--plum); }
.memoir-stage {
  padding: 3.8rem 0 2rem;
  background:
    radial-gradient(ellipse at 80% 10%, rgba(212,167,58,.18), transparent 45%),
    linear-gradient(160deg, #fff8f1 0%, var(--paper) 55%, #efe4d6 100%);
}
.memoir-stage-in {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 3rem;
  align-items: center;
}
.memoir-copy h1 {
  font-size: clamp(2.8rem, 7vw, 4.5rem);
  color: var(--plum);
  max-width: 11ch;
}
.memoir-lede {
  font: 1.3rem/1.55 'Cormorant Garamond', Georgia, serif;
  color: var(--mute);
  max-width: 34ch;
  margin: 0 0 1.75rem;
}
.photo-trail { padding-top: 1rem; }
.photo-trail h2 {
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  margin-bottom: 1.5rem;
}
.photo-trail-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
}
.photo-trail-grid figure { margin: 0; }
.photo-trail-grid img {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
  display: block;
  border-radius: 8px;
  box-shadow: 0 12px 30px rgba(36,16,51,.12);
}
.photo-trail-grid figcaption {
  margin-top: .55rem;
  font-size: .9rem;
  color: var(--mute);
}
.memoir-read { padding: 1rem 1.25rem 5rem; }
.memoir-paper {
  max-width: 720px;
  margin: 0 auto;
  background: #fffdf9;
  border: 1px solid rgba(36,16,51,.07);
  box-shadow: 0 22px 55px rgba(36,16,51,.08);
  padding: clamp(2rem, 5vw, 3.6rem);
  border-radius: 4px;
}
.memoir-chapter {
  margin: 0 0 1.75rem;
  color: var(--gold-d);
  font: 600 .74rem/1.2 'Figtree', sans-serif;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.memoir-prose p {
  font: 1.22rem/1.85 'Cormorant Garamond', Georgia, serif;
  margin: 0 0 1.35em;
  color: var(--ink);
}
.memoir-prose .dropcap::first-letter {
  float: left;
  font: 3.7rem/.85 'DM Serif Display', Georgia, serif;
  color: var(--plum);
  padding: .1em .12em 0 0;
}
.premium-seal {
  margin-top: 2.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
  color: var(--gold-d);
  font: 600 .95rem 'Figtree', sans-serif;
}

.programme {
  display: grid;
  grid-template-columns: 1.4fr .8fr;
  gap: 3rem;
  align-items: start;
}
.order-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.order-list li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  align-items: baseline;
  padding: 1.15rem 0;
  border-bottom: 1px solid var(--line);
}
.order-list .num {
  font: 1.1rem 'DM Serif Display', Georgia, serif;
  color: var(--gold-d);
}
.order-list .txt {
  font-size: 1.15rem;
  color: var(--plum);
}
.programme-aside {
  position: sticky;
  top: 4.5rem;
  background: linear-gradient(180deg, #fff, var(--rose));
  border: 1px solid rgba(36,16,51,.06);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: 0 12px 30px rgba(36,16,51,.05);
}
.programme-aside h2 { font-size: 1.45rem; }
.link-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: .7rem;
}
.link-list a {
  text-decoration: none;
  font-weight: 600;
  color: var(--plum);
}
.link-list a:hover { color: var(--gold-d); }

/* Footer */
.foot {
  background:
    radial-gradient(ellipse at 50% 0%, rgba(212,167,58,.12), transparent 45%),
    linear-gradient(180deg, #1c0c28, var(--plum));
  color: #ecdff0;
  text-align: center;
  padding: 3.4rem 1.2rem;
}
.foot p {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: 1.35rem;
  margin: 0 0 .8rem;
}
.foot .small { font-family: 'Figtree', sans-serif; }
.foot .small a { color: #d2bfd8; text-decoration: none; }
.foot .small a:hover { color: var(--gold-s); }

/* Admin */
.admin { background: #f6f1f8; }
.adminbar {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.25rem;
  background: var(--plum);
  color: #fff;
}
.adminbar a { color: var(--gold); margin-left: 1rem; }
.admin .wrap {
  padding: 2rem 1.25rem;
  display: grid;
  gap: 1.5rem;
}
.admin .card { position: static; }
.admin h2 { font-size: 1.8rem; }
.admin h3 {
  margin: 2rem 0 1rem;
  font-size: 1.35rem;
  color: var(--plum);
}
.show-toggle {
  display: block;
  margin: 0 0 1rem;
  padding: .7rem .9rem;
  background: #fff;
  border: 1px dashed var(--line);
  border-radius: 8px;
  font-weight: 600;
}
.show-toggle input {
  display: inline;
  width: auto;
  margin: 0 .55rem 0 0;
  vertical-align: middle;
}
.content-form h3 {
  border-top: 1px solid var(--line);
  padding-top: 1.5rem;
}
.login { max-width: 420px; }
.two {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.row {
  display: flex;
  gap: 1rem;
  align-items: end;
  margin-bottom: 1.5rem;
}
.row label { flex: 1; margin: 0; }
.thumb {
  width: 90px;
  height: 110px;
  object-fit: cover;
  border-radius: 8px;
  vertical-align: middle;
  margin-right: 1rem;
}
label.inline { display: inline-block; }
label.inline input { display: inline; width: auto; }
.agrid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
  gap: 1rem;
  margin-bottom: 1.25rem;
}
.aitem {
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: .6rem;
  background: #fff;
}
.aitem img {
  width: 100%;
  height: 150px;
  object-fit: cover;
  border-radius: 6px;
}
.aitem input { margin: .5rem 0; }
.acts {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem;
}
.mini {
  border: 1px solid var(--plum);
  background: #fff;
  color: var(--plum);
  border-radius: 6px;
  padding: .35rem .7rem;
  font: 500 .85rem 'Figtree', sans-serif;
  cursor: pointer;
}
.mini.danger { border-color: #a33; color: #a33; }
.wedit {
  border-top: 1px solid var(--line);
  padding: 1.25rem 0;
}

@media (max-width: 860px) {
  .topbar {
    flex-wrap: wrap;
    padding: .55rem .9rem;
  }
  .nav-toggle { display: inline-flex; }
  .nav {
    display: none;
    flex-basis: 100%;
    flex-direction: column;
    flex-wrap: wrap;
    overflow: visible;
    mask-image: none;
    gap: .2rem;
    padding: .35rem 0 .55rem;
    border-top: 1px solid rgba(36,16,51,.06);
    margin-top: .15rem;
  }
  .topbar.is-open .nav { display: flex; }
  .nav a {
    padding: .75rem .85rem;
    border-radius: 12px;
    font-size: .95rem;
  }
  .hero-in,
  .bio,
  .wish-layout,
  .two,
  .barcode-card,
  .programme,
  .memoir-band-in,
  .memoir-stage-in,
  .photo-trail-grid {
    grid-template-columns: 1fr;
  }
  .bio-text { grid-column: 1; grid-row: auto; }
  .hero {
    min-height: auto;
  }
  .hero-in { padding: 3.6rem 1.25rem 5rem; }
  .portrait {
    order: -1;
    max-width: 230px;
    animation: none;
  }
  .wish-layout .card,
  .programme-aside { position: static; }
  .wrap { padding: 3rem 1.2rem; }
  .barcode-figure img { margin: 0 auto; }
  .memory-board {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: .55rem;
  }
  .game-stats .btn { margin-left: 0; }
  .book-stack {
    order: -1;
    margin-bottom: 1rem;
  }
  .memoir-stage { padding: 2rem 0 1rem; }
  .hero::after { height: 56px; }
}

@media (max-width: 480px) {
  .memory-board {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .hero h1 { font-size: clamp(2.4rem, 11vw, 3.2rem); }
}
