/* ==========================================================================
   A Royal 70th Celebration · The Hawthornes
   Velvet and ivory, finished in gold.
   ========================================================================== */

:root {
  --velvet-950: #10051c;
  --velvet-900: #1a0a2c;
  --velvet-800: #261040;
  --velvet-700: #371a5a;
  --velvet-600: #4f2a80;

  --gold-50: #fff8e1;
  --gold-100: #fbefc8;
  --gold-200: #f1d98f;
  --gold-300: #e3bf5c;
  --gold-400: #cfa23c;
  --gold-500: #b3862a;
  --gold-600: #8a6418;
  --gold-700: #6b4c12;

  --ivory: #fbf6ec;
  --ivory-2: #f4ecdc;
  --ivory-3: #e9dbbd;
  --ink: #2a1840;
  --ink-soft: #5b4a6e;
  --on-velvet: #f4ead6;
  --on-velvet-soft: #cdbfdb;

  --foil: linear-gradient(115deg, #8a6418 0%, #cf9f36 16%, #f8e8aa 32%, #e2ba52 46%, #a97b1f 62%, #eed487 80%, #b3862a 100%);
  --satin: linear-gradient(180deg, #f7e6a6 0%, #dcb24d 28%, #b9892b 52%, #e8c86e 74%, #c39434 100%);

  --font-serif: "Cormorant Garamond", "Cormorant", Georgia, "Times New Roman", serif;
  --font-caps: "Cinzel", "Trajan Pro", "Times New Roman", serif;
  --font-script: "Pinyon Script", "Snell Roundhand", cursive;

  --container: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --section-y: clamp(4.5rem, 10vw, 8.5rem);
  --ease: cubic-bezier(.16, 1, .3, 1);
  --ease-soft: cubic-bezier(.45, 0, .2, 1);
}

/* ---------------------------------------------------------------- base --- */

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 6rem;
}

body {
  margin: 0;
  font-family: var(--font-serif);
  font-size: clamp(1.125rem, 1.05rem + .3vw, 1.25rem);
  font-weight: 500;
  line-height: 1.6;
  color: var(--ink);
  background: var(--velvet-950);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button { font: inherit; color: inherit; }
h1, h2, h3, p, figure, blockquote, dl, dd { margin: 0; }

h1, h2, h3 {
  font-family: var(--font-serif);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -.01em;
}

h2 { font-size: clamp(2.5rem, 1.6rem + 3.6vw, 4.5rem); }
h2 em, h1 em { font-style: italic; font-weight: 500; }

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

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.skip-link {
  position: fixed; top: 1rem; left: 1rem; z-index: 200;
  padding: .75rem 1.25rem; background: var(--gold-200); color: var(--velvet-900);
  font-family: var(--font-caps); font-size: .8rem; letter-spacing: .12em; text-decoration: none;
  transform: translateY(-200%); transition: transform .2s;
}
.skip-link:focus { transform: none; }

.svg-defs { position: absolute; width: 0; height: 0; overflow: hidden; }

.container {
  width: min(100% - 2 * var(--gutter), var(--container));
  margin-inline: auto;
}
.container.narrow { width: min(100% - 2 * var(--gutter), 860px); }
.center { text-align: center; }

.caps {
  font-family: var(--font-caps);
  font-size: .78rem;
  font-weight: 500;
  letter-spacing: .26em;
  text-transform: uppercase;
}

.script {
  font-family: var(--font-script);
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1.1;
}

.foil {
  background: var(--foil);
  background-size: 220% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: foil-shine 9s var(--ease-soft) infinite;
}
@keyframes foil-shine {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

.lede {
  font-size: clamp(1.2rem, 1.1rem + .45vw, 1.45rem);
  line-height: 1.55;
  color: var(--ink-soft);
  max-width: 40em;
}
.center .lede, .lede.center { margin-inline: auto; }

/* ------------------------------------------------------------ surfaces --- */

.velvet {
  position: relative;
  isolation: isolate;
  color: var(--on-velvet);
  background:
    radial-gradient(90% 60% at 50% 0%, rgba(92, 44, 150, .45) 0%, transparent 65%),
    radial-gradient(60% 50% at 100% 100%, rgba(70, 26, 110, .5) 0%, transparent 70%),
    radial-gradient(50% 40% at 0% 70%, rgba(60, 20, 96, .45) 0%, transparent 70%),
    linear-gradient(180deg, var(--velvet-900) 0%, var(--velvet-950) 100%);
}
.velvet::before {
  content: "";
  position: absolute; inset: 0; z-index: -1;
  pointer-events: none;
  opacity: .32;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .55 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.velvet .lede { color: var(--on-velvet-soft); }

.ivory {
  position: relative;
  isolation: isolate;
  color: var(--ink);
  background:
    radial-gradient(70% 50% at 50% 0%, rgba(255, 255, 255, .9) 0%, transparent 70%),
    var(--ivory);
}
.ivory::before {
  content: "";
  position: absolute; inset: 0; z-index: -1;
  pointer-events: none;
  opacity: .5;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='72' height='72' viewBox='0 0 72 72'%3E%3Cg fill='none' stroke='%23c9a24a' stroke-opacity='.16' stroke-width='.8'%3E%3Cpath d='M36 6 L46 36 L36 66 L26 36 Z'/%3E%3Cpath d='M6 36 L36 26 L66 36 L36 46 Z'/%3E%3C/g%3E%3Ccircle cx='36' cy='36' r='1.6' fill='%23c9a24a' fill-opacity='.22'/%3E%3C/svg%3E");
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 50%, transparent 30%, #000 100%);
  mask-image: radial-gradient(ellipse 80% 70% at 50% 50%, transparent 30%, #000 100%);
}
.ivory h2 em { color: var(--gold-600); }

.gold-dust {
  position: absolute; inset: 0; z-index: -1;
  width: 100%; height: 100%;
  pointer-events: none;
}

section { padding-block: var(--section-y); }

/* ------------------------------------------------------- section heads --- */

.section-head { margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.section-head .lede { margin-top: 1.25rem; }

.chapter, .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .9rem;
  margin-bottom: 1.1rem;
  font-family: var(--font-caps);
  font-size: .74rem;
  font-weight: 600;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--gold-600);
}
.velvet .chapter, .velvet .eyebrow { color: var(--gold-300); }
.chapter::before, .chapter::after {
  content: "";
  width: 2.2rem; height: 1px;
  background: currentColor;
  opacity: .6;
}

.divider {
  display: block;
  width: min(320px, 70%);
  height: auto;
  margin: 1.4rem auto 0;
  overflow: visible;
}
.divider .rule-l, .divider .rule-r { stroke: var(--gold-400); }

/* -------------------------------------------------------------- buttons --- */

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

.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .6rem;
  min-height: 3.25rem;
  padding: .95rem 1.75rem;
  border: 0;
  border-radius: 2px;
  font-family: var(--font-caps);
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  overflow: hidden;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), background-color .35s, color .35s;
}
.btn.small { min-height: 2.8rem; padding: .7rem 1.2rem; font-size: .7rem; }

.btn-gold {
  color: #2a1045;
  background: var(--foil);
  background-size: 180% 100%;
  box-shadow: 0 10px 30px -10px rgba(207, 162, 60, .65), inset 0 1px 0 rgba(255, 255, 255, .6);
}
.btn-gold::before {
  content: "";
  position: absolute; inset: 3px;
  border: 1px solid rgba(70, 40, 5, .35);
  pointer-events: none;
}
.btn-gold::after {
  content: "";
  position: absolute; top: 0; bottom: 0; left: -60%;
  width: 40%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .75), transparent);
  transform: skewX(-20deg);
  transition: left .9s var(--ease);
}
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 16px 40px -12px rgba(227, 191, 92, .8), inset 0 1px 0 rgba(255, 255, 255, .6); }
.btn-gold:hover::after { left: 130%; }

.btn-ghost {
  color: var(--gold-200);
  background: rgba(255, 240, 200, .04);
  box-shadow: inset 0 0 0 1px rgba(227, 191, 92, .55);
}
.btn-ghost:hover { background: rgba(255, 240, 200, .1); box-shadow: inset 0 0 0 1px var(--gold-200); transform: translateY(-2px); }
.ivory .btn-ghost { color: var(--gold-700); background: rgba(255, 255, 255, .5); box-shadow: inset 0 0 0 1px rgba(138, 100, 24, .45); }
.ivory .btn-ghost:hover { background: #fff; box-shadow: inset 0 0 0 1px var(--gold-600); }

.text-link {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  margin-top: 1.75rem;
  font-family: var(--font-caps);
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--gold-600);
  border-bottom: 1px solid rgba(138, 100, 24, .4);
  padding-bottom: .35rem;
  transition: gap .3s var(--ease), border-color .3s;
}
.text-link::after { content: "→"; font-family: var(--font-serif); font-size: 1.1rem; letter-spacing: 0; }
.text-link:hover { gap: 1rem; border-color: var(--gold-600); }
.link-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 0 2.5rem; }
.velvet .text-link { color: var(--gold-200); border-color: rgba(241, 217, 143, .4); }

/* --------------------------------------------------------------- header --- */

.site-header {
  position: fixed; inset: 0 0 auto; z-index: 50;
  color: var(--on-velvet);
}
/* The frosted bar lives on a pseudo-element: a backdrop-filter on the header
   itself would trap the full-screen mobile menu inside the header's box. */
.site-header::before {
  content: "";
  position: absolute; inset: 0; z-index: -1;
  background: rgba(20, 7, 34, .82);
  -webkit-backdrop-filter: blur(14px) saturate(1.2);
  backdrop-filter: blur(14px) saturate(1.2);
  box-shadow: 0 1px 0 rgba(227, 191, 92, .25), 0 12px 40px -20px rgba(0, 0, 0, .8);
  opacity: 0;
  transition: opacity .5s;
}
.site-header.is-scrolled::before { opacity: 1; }
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  width: min(100% - 2 * var(--gutter), 1320px);
  margin-inline: auto;
  padding-block: 1.1rem;
  transition: padding .4s var(--ease);
}
.is-scrolled .header-inner { padding-block: .7rem; }

.brand {
  display: flex;
  align-items: center;
  gap: .9rem;
  text-decoration: none;
}
.brand-text { display: grid; line-height: 1.1; }
.brand-name {
  font-family: var(--font-caps);
  font-size: .95rem;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--gold-100);
}
.brand-sub {
  font-family: var(--font-caps);
  font-size: .6rem;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--gold-300);
  opacity: .85;
}

.monogram {
  position: relative;
  display: inline-grid;
  place-items: center;
  width: 3rem;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #4a2378, #1d0b33 70%);
  box-shadow: inset 0 0 0 1.5px var(--gold-300), inset 0 0 0 4px #1d0b33, inset 0 0 0 5px rgba(227, 191, 92, .45), 0 6px 20px -6px rgba(0, 0, 0, .7);
}
.monogram .crown {
  position: absolute;
  top: -.55rem; left: 50%;
  width: 1.25rem;
  transform: translateX(-50%);
  filter: drop-shadow(0 2px 3px rgba(0, 0, 0, .5));
}
.mono-h {
  font-family: var(--font-caps);
  font-size: 1.35rem;
  font-weight: 600;
  line-height: 1;
  color: var(--gold-200);
  margin-top: -.1rem;
}
.mono-70 {
  position: absolute;
  bottom: .38rem;
  font-family: var(--font-caps);
  font-size: .42rem;
  font-weight: 700;
  letter-spacing: .12em;
  color: var(--gold-300);
}
.monogram.large { width: 5.5rem; }
.monogram.large .crown { width: 2.1rem; top: -1rem; }
.monogram.large .mono-h { font-size: 2.4rem; }
.monogram.large .mono-70 { font-size: .62rem; bottom: .7rem; }

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2.4vw, 2.2rem);
}
.site-nav a {
  position: relative;
  font-family: var(--font-caps);
  font-size: .72rem;
  font-weight: 500;
  letter-spacing: .2em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--on-velvet);
  padding-block: .5rem;
  transition: color .3s;
}
.site-nav a:not(.nav-cta)::after {
  content: "";
  position: absolute; left: 50%; bottom: 0;
  width: 0; height: 1px;
  background: var(--gold-300);
  transform: translateX(-50%);
  transition: width .4s var(--ease);
}
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--gold-200); }
.site-nav a:hover::after, .site-nav a[aria-current="page"]::after { width: 100%; }
.site-nav .nav-cta {
  padding: .7rem 1.2rem;
  color: var(--gold-100);
  box-shadow: inset 0 0 0 1px rgba(227, 191, 92, .6);
  transition: background-color .3s, color .3s;
}
.site-nav .nav-cta:hover { background: var(--gold-300); color: var(--velvet-900); }

.menu-toggle {
  display: none;
  position: relative;
  z-index: 2;
  width: 3rem; height: 3rem;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 240, 200, .06);
  box-shadow: inset 0 0 0 1px rgba(227, 191, 92, .5);
  cursor: pointer;
}
.menu-lines, .menu-lines::before, .menu-lines::after {
  position: absolute; left: 50%;
  width: 1.2rem; height: 1.5px;
  background: var(--gold-200);
  transform: translateX(-50%);
  transition: transform .4s var(--ease), opacity .3s;
}
.menu-lines { top: 50%; }
.menu-lines::before, .menu-lines::after { content: ""; left: 0; transform: none; }
.menu-lines::before { top: -6px; }
.menu-lines::after { top: 6px; }
.menu-open .menu-lines { background: transparent; }
.menu-open .menu-lines::before { transform: translateY(6px) rotate(45deg); }
.menu-open .menu-lines::after { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 920px) {
  .menu-toggle { display: block; }
  .site-nav {
    position: fixed; inset: 0; z-index: 1;
    flex-direction: column;
    justify-content: center;
    gap: 1.6rem;
    padding: 6rem var(--gutter) 3rem;
    background:
      radial-gradient(80% 50% at 50% 0%, rgba(92, 44, 150, .5), transparent 70%),
      linear-gradient(180deg, var(--velvet-900), var(--velvet-950));
    opacity: 0;
    visibility: hidden;
    transition: opacity .45s var(--ease), visibility 0s .45s;
  }
  .menu-open .site-nav { opacity: 1; visibility: visible; transition: opacity .45s var(--ease); }
  .menu-open { overflow: hidden; }
  .site-nav a {
    font-family: var(--font-serif);
    font-size: clamp(2rem, 8vw, 2.6rem);
    font-weight: 500;
    letter-spacing: 0;
    text-transform: none;
    opacity: 0;
    transform: translateY(14px);
    transition: opacity .5s var(--ease), transform .5s var(--ease), color .3s;
  }
  .menu-open .site-nav a { opacity: 1; transform: none; }
  .menu-open .site-nav a:nth-child(2) { transition-delay: .05s; }
  .menu-open .site-nav a:nth-child(3) { transition-delay: .1s; }
  .menu-open .site-nav a:nth-child(4) { transition-delay: .15s; }
  .menu-open .site-nav a:nth-child(5) { transition-delay: .2s; }
  .site-nav .nav-cta { margin-top: 1rem; font-family: var(--font-caps); font-size: .85rem; letter-spacing: .2em; text-transform: uppercase; }
}
@media (max-width: 420px) {
  .brand-sub { display: none; }
  .brand-name { font-size: .85rem; }
}

/* -------------------------------------------------------- intro doors --- */

.intro {
  position: fixed; inset: 0; z-index: 100;
  display: none;
  perspective: 1800px;
}
.intro-pending .intro { display: block; }
.intro-pending { overflow: hidden; }

.intro-door {
  position: absolute; top: 0; bottom: 0;
  width: 50.5%;
  background:
    radial-gradient(120% 70% at 100% 50%, rgba(98, 48, 160, .55), transparent 70%),
    linear-gradient(180deg, #23103b, #12061f);
  transition: transform 1.5s cubic-bezier(.7, 0, .2, 1);
}
.intro-door::before {
  content: "";
  position: absolute; inset: 1.5rem;
  border: 1px solid rgba(227, 191, 92, .35);
  box-shadow: inset 0 0 0 6px transparent, inset 0 0 0 7px rgba(227, 191, 92, .18);
}
.intro-door.left { left: 0; transform-origin: left center; }
.intro-door.right { right: 0; transform-origin: right center; }
.intro-door.left::before { right: 0; border-right: 0; }
.intro-door.right::before { left: 0; border-left: 0; }
.intro-door.right { background: radial-gradient(120% 70% at 0% 50%, rgba(98, 48, 160, .55), transparent 70%), linear-gradient(180deg, #23103b, #12061f); }

.intro-ribbon-v {
  position: absolute; top: 0; bottom: 0;
  width: 2.2rem;
  background: linear-gradient(90deg, #a87a22, #f4dd94 35%, #d1a443 60%, #8f6519);
  box-shadow: 0 0 30px rgba(0, 0, 0, .5);
}
.intro-door.left .intro-ribbon-v { right: 0; width: 1.1rem; background: linear-gradient(90deg, #a87a22, #f4dd94 70%, #e2bb5c); }
.intro-door.right .intro-ribbon-v { left: 0; width: 1.1rem; background: linear-gradient(90deg, #e2bb5c, #d1a443 30%, #8f6519); }

.intro-ribbon-h {
  position: absolute; top: 50%;
  width: 50%; height: 2.2rem;
  margin-top: -1.1rem;
  background: var(--satin);
  box-shadow: 0 6px 24px rgba(0, 0, 0, .45);
  transition: transform 1.1s cubic-bezier(.7, 0, .2, 1), opacity .6s .5s;
}
.intro-ribbon-h.left { left: 0; }
.intro-ribbon-h.right { right: 0; }

.intro-center {
  position: absolute; inset: 0;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 1.6rem;
  transition: opacity .6s;
}
.intro-seal {
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
  border-radius: 50%;
  animation: seal-breathe 2.4s ease-in-out infinite;
}
.seal {
  position: relative;
  display: grid;
  place-items: center;
  width: clamp(8.5rem, 22vw, 11rem);
  aspect-ratio: 1;
  border-radius: 50%;
  background:
    radial-gradient(circle at 35% 30%, #fff1c2 0%, #e6c062 22%, #b8892b 55%, #7c5512 100%);
  box-shadow:
    0 0 0 6px rgba(124, 85, 18, .35),
    0 20px 50px -10px rgba(0, 0, 0, .7),
    0 0 80px rgba(227, 191, 92, .45),
    inset 0 -6px 14px rgba(90, 55, 5, .5),
    inset 0 4px 10px rgba(255, 255, 255, .5);
  transition: transform .7s var(--ease), opacity .5s;
}
.seal::before {
  content: "";
  position: absolute; inset: 12%;
  border-radius: 50%;
  border: 1.5px dashed rgba(90, 55, 5, .55);
}
.seal .crown {
  position: absolute; top: 20%;
  width: 28%;
}
.seal .crown path, .seal .crown rect, .seal .crown circle { fill: #5a3a06; }
.seal-h {
  font-family: var(--font-caps);
  font-size: clamp(3rem, 8vw, 4rem);
  font-weight: 700;
  line-height: 1;
  color: #4d3204;
  text-shadow: 0 1px 0 rgba(255, 240, 190, .6);
  margin-top: .8rem;
}
.seal-70 {
  position: absolute; bottom: 19%;
  font-family: var(--font-caps);
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .3em;
  color: #4d3204;
}
.intro-hint { color: var(--gold-200); animation: hint-fade 2.4s ease-in-out infinite; }

@keyframes seal-breathe { 50% { transform: scale(1.04); } }
@keyframes hint-fade { 50% { opacity: .45; } }

.intro.is-opening .intro-seal { animation: none; }
.intro.is-opening .seal { transform: scale(1.35); opacity: 0; }
.intro.is-opening .intro-hint { opacity: 0; transition: opacity .3s; }
.intro.is-opening .intro-ribbon-h.left { transform: translateX(-102%); }
.intro.is-opening .intro-ribbon-h.right { transform: translateX(102%); }
.intro.is-opening .intro-door.left { transform: rotateY(78deg); transition-delay: .35s; }
.intro.is-opening .intro-door.right { transform: rotateY(-78deg); transition-delay: .35s; }
.intro.is-opening .intro-door { opacity: 0; transition: transform 1.5s cubic-bezier(.7, 0, .2, 1) .35s, opacity .8s 1.1s; }

/* ----------------------------------------------------------------- hero --- */

.hero {
  min-height: 100svh;
  padding: clamp(7rem, 12vw, 9rem) 0 clamp(3rem, 6vw, 5rem);
  overflow: hidden;
}
.hero::after {
  content: "";
  position: absolute; inset: auto 0 0; height: 30%; z-index: -1;
  background: linear-gradient(180deg, transparent, rgba(16, 5, 28, .7));
  pointer-events: none;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  align-items: center;
  gap: clamp(2.5rem, 6vw, 6rem);
}
.hero-copy { text-align: center; }
.hero-copy .eyebrow { margin-bottom: 1.6rem; }
.hero-copy .actions { justify-content: center; }

.hero-title { display: grid; justify-items: center; }
.t-royal {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-family: var(--font-caps);
  font-size: clamp(1rem, .8rem + .9vw, 1.45rem);
  font-weight: 500;
  letter-spacing: .5em;
  text-transform: uppercase;
  color: var(--gold-100);
  padding-left: .5em;
}
.t-seventy {
  position: relative;
  display: grid;
  place-items: center;
  margin: .5rem 0 0;
  padding-block: .4em .36em;
  font-size: clamp(6rem, 3rem + 8vw, 10rem);
}
.t-seventy .numeral {
  position: relative;
  padding-left: .2em;
  font-family: var(--font-serif);
  font-weight: 600;
  line-height: .8;
  letter-spacing: -.02em;
  filter: drop-shadow(0 6px 18px rgba(0, 0, 0, .45));
}
.t-seventy sup {
  position: relative;
  top: -1.5em;
  margin-left: .04em;
  font-size: .22em;
  font-style: italic;
  font-weight: 600;
  line-height: 0;
  vertical-align: baseline;
  color: var(--gold-200);
  -webkit-text-fill-color: var(--gold-200);
}
.laurel {
  position: absolute;
  top: 50%; left: 50%;
  width: 1.62em;
  transform: translate(-50%, -48%);
  overflow: visible;
  pointer-events: none;
}
.t-celebration {
  font-size: clamp(3.4rem, 2rem + 4.6vw, 5.8rem);
  color: var(--gold-100);
  margin-top: -.05em;
  text-shadow: 0 4px 24px rgba(227, 191, 92, .35);
}
.t-theme {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-top: 1.2rem;
  color: var(--gold-300);
}
.t-theme::before, .t-theme::after {
  content: "";
  width: clamp(2rem, 6vw, 4rem); height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-300));
}
.t-theme::after { transform: scaleX(-1); }

.hero-names {
  display: grid;
  justify-items: center;
  margin-top: 2rem;
  font-size: clamp(1.45rem, 1.2rem + .9vw, 1.9rem);
  line-height: 1.2;
  color: var(--gold-50);
}
.hero-names .honorific {
  font-family: var(--font-caps);
  font-size: .62rem;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--gold-300);
  margin-bottom: .3rem;
}
.hero-names .amp {
  font-family: var(--font-script);
  font-size: 2.2em;
  line-height: .9;
  color: var(--gold-300);
  margin: .1rem 0 .1rem;
}

/* Portrait in a cathedral arch */
.hero-portrait {
  position: relative;
  justify-self: center;
  width: min(100%, 430px);
  margin-top: 1.5rem;
}
.glory {
  position: absolute;
  top: 38%; left: 50%;
  width: 190%;
  aspect-ratio: 1;
  z-index: -1;
  transform: translate(-50%, -50%);
  background: repeating-conic-gradient(from 0deg, rgba(248, 226, 150, .16) 0deg 2.5deg, transparent 2.5deg 11deg);
  -webkit-mask-image: radial-gradient(closest-side, #000 20%, transparent 100%);
  mask-image: radial-gradient(closest-side, #000 20%, transparent 100%);
  animation: glory-turn 140s linear infinite;
}
.glory::after {
  content: "";
  position: absolute; inset: 25%;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(244, 210, 120, .35), transparent);
}
@keyframes glory-turn { to { transform: translate(-50%, -50%) rotate(360deg); } }

.hero-portrait > .crown {
  position: absolute;
  top: -2.6rem; left: 50%;
  z-index: 3;
  width: 4.4rem;
  transform: translateX(-50%);
  filter: drop-shadow(0 6px 12px rgba(0, 0, 0, .5)) drop-shadow(0 0 18px rgba(244, 210, 120, .45));
}
.arch-frame {
  position: relative;
  display: block;
  padding: 12px;
  border-radius: 1000px 1000px 6px 6px;
  background: var(--foil);
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .9), 0 0 60px -10px rgba(227, 191, 92, .4);
}
.arch-frame::before {
  content: "";
  position: absolute; inset: 6px;
  border-radius: 1000px 1000px 3px 3px;
  box-shadow: inset 0 0 0 1px rgba(80, 50, 5, .5);
  pointer-events: none;
}
.arch {
  display: block;
  overflow: hidden;
  border-radius: 1000px 1000px 2px 2px;
  aspect-ratio: 3 / 4.3;
  background: var(--velvet-800);
  box-shadow: inset 0 0 0 3px rgba(26, 10, 44, .9);
}
.arch img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: 50% 30%;
}
.frame-corner {
  position: absolute;
  width: 4.5rem;
  bottom: -.4rem;
  overflow: visible;
}
.frame-corner.bl { left: -.4rem; transform: scaleY(-1); }
.frame-corner.br { right: -.4rem; transform: scale(-1, -1); }

.portrait-floral {
  position: absolute;
  bottom: -2.2rem;
  width: 46%;
  z-index: 2;
  overflow: visible;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, .55));
}
.portrait-floral.left { left: -22%; }
.portrait-floral.right { right: -22%; transform: scaleX(-1); }

.ribbon-tag {
  position: absolute;
  left: 50%; bottom: -1.4rem;
  z-index: 3;
  transform: translateX(-50%);
  white-space: nowrap;
}
.ribbon-tag span {
  position: relative;
  display: block;
  padding: .65rem 1.6rem;
  font-family: var(--font-caps);
  font-size: .66rem;
  font-weight: 700;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: #2a1045;
  background: var(--satin);
  box-shadow: 0 10px 24px -8px rgba(0, 0, 0, .7);
}
.ribbon-tag::before, .ribbon-tag::after {
  content: "";
  position: absolute; top: .45rem; z-index: -1;
  width: 1.6rem; height: 100%;
  background: linear-gradient(180deg, #c3953a, #8a6418);
}
.ribbon-tag::before { left: -1.1rem; clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%, 40% 50%); }
.ribbon-tag::after { right: -1.1rem; clip-path: polygon(0 0, 100% 0, 60% 50%, 100% 100%, 0 100%); }

/* Hero entrance */
.js .hero [data-anim] { opacity: 0; }
.hero-play .hero [data-anim] {
  animation: rise 1.2s var(--ease) both;
  animation-delay: calc(var(--a) * .14s + .1s);
}
.hero-play .hero .hero-portrait[data-anim] { animation: portrait-in 1.6s var(--ease) both .25s; }
@keyframes rise { from { opacity: 0; transform: translateY(26px); filter: blur(4px); } to { opacity: 1; transform: none; filter: none; } }
@keyframes portrait-in { from { opacity: 0; transform: translateY(40px) scale(.96); } to { opacity: 1; transform: none; } }

/* Laurel: seventy leaves grow in, one for every year */
.laurel .leaf {
  transform-box: fill-box;
  transform-origin: 0% 50%;
}
.laurel .stems path { stroke-dasharray: 1; stroke-dashoffset: 0; }
.js .hero .laurel .leaf { opacity: 0; transform: scale(0); }
.js .hero .laurel .stems path { stroke-dashoffset: 1; }
.js .hero .laurel .bow { opacity: 0; }
.hero-play .hero .laurel .stems path { stroke-dashoffset: 0; transition: stroke-dashoffset 1.8s var(--ease-soft) .5s; }
.hero-play .hero .laurel .leaf {
  opacity: 1; transform: none;
  transition: opacity .5s ease, transform .7s var(--ease);
  transition-delay: calc(.6s + var(--i) * 45ms);
}
.hero-play .hero .laurel .bow { opacity: 1; transition: opacity .8s .4s; }

/* Florals and corners draw themselves in gold */
.floral, .corner { overflow: visible; }
.floral [pathLength], .corner [pathLength] { stroke-dasharray: 1; stroke-dashoffset: 0; }
.floral .petal { fill: rgba(241, 217, 143, .1); }
.floral .pistil, .floral .stamen { fill: url(#gold-foil); stroke: none; }
.js .hero .floral [pathLength], .js .hero .corner [pathLength],
.js .reveal .floral [pathLength] { stroke-dashoffset: 1; }
.hero-play .hero .floral [pathLength], .hero-play .hero .corner [pathLength],
.reveal.is-visible .floral [pathLength] {
  stroke-dashoffset: 0;
  transition: stroke-dashoffset 2.6s var(--ease-soft) 1s;
}
.js .hero .floral .pistil, .js .hero .floral .stamen { opacity: 0; }
.hero-play .hero .floral .pistil, .hero-play .hero .floral .stamen { opacity: 1; transition: opacity 1s 2.6s; }

/* ------------------------------------------------------------- ribbon --- */

.ribbon-band {
  position: relative;
  margin-top: clamp(4rem, 8vw, 6rem);
  text-align: center;
}
.ribbon {
  position: relative;
  width: min(100% - 5rem, 1040px);
  margin-inline: auto;
}
.ribbon-body {
  position: relative;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: .4rem 1.1rem;
  padding: 1.15rem 2rem;
  font-family: var(--font-caps);
  font-size: clamp(.68rem, .6rem + .35vw, .9rem);
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: #2a1045;
  background: var(--satin);
  box-shadow: 0 18px 40px -16px rgba(0, 0, 0, .85), inset 0 1px 0 rgba(255, 255, 255, .7);
}
.ribbon-body::before {
  content: "";
  position: absolute; inset: 6px 0;
  border-block: 1px dashed rgba(90, 55, 5, .45);
  pointer-events: none;
}
.ribbon-body strong { font-weight: 700; letter-spacing: .16em; }
.ribbon-gem {
  width: .45rem; height: .45rem;
  background: #4a2a78;
  transform: rotate(45deg);
  box-shadow: 0 0 0 2px rgba(255, 240, 200, .5);
}
.ribbon-tail {
  position: absolute;
  top: 1rem; z-index: 1;
  width: 4.5rem; height: 100%;
  background: linear-gradient(180deg, #d6aa4a 0%, #a77a22 55%, #7b5612 100%);
  box-shadow: 0 14px 30px -14px rgba(0, 0, 0, .9);
}
.ribbon-tail::after {
  content: "";
  position: absolute; bottom: 0;
  width: 1.25rem; height: 1rem;
  background: #4f3608;
}
.ribbon-tail.left { left: -3.25rem; clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%, 1.25rem 50%); }
.ribbon-tail.left::after { right: 0; clip-path: polygon(0 0, 100% 0, 100% 100%); }
.ribbon-tail.right { right: -3.25rem; clip-path: polygon(0 0, 100% 0, calc(100% - 1.25rem) 50%, 100% 100%, 0 100%); }
.ribbon-tail.right::after { left: 0; clip-path: polygon(0 0, 100% 0, 0 100%); }

.js .ribbon-band .ribbon-body { clip-path: inset(0 50% 0 50%); }
.js .ribbon-band .ribbon-tail { opacity: 0; }
.js .ribbon-band .ribbon-tail.left { transform: translateX(3rem); }
.js .ribbon-band .ribbon-tail.right { transform: translateX(-3rem); }
.ribbon-band.is-visible .ribbon-body { clip-path: inset(0 0 0 0); transition: clip-path 1.4s var(--ease) .1s; }
.ribbon-band.is-visible .ribbon-tail { opacity: 1; transform: none; transition: transform .9s var(--ease) 1.1s, opacity .4s 1.1s; }

.ribbon-section { padding-block: clamp(3.5rem, 7vw, 5rem); }
.ribbon-section .ribbon-band { margin-top: 0; }
.countdown { margin-top: clamp(2.5rem, 5vw, 3.5rem); }
.countdown-label { color: var(--gold-300); margin-bottom: 1.1rem; }
.countdown-units {
  display: inline-flex;
  gap: clamp(.6rem, 2.5vw, 1.4rem);
}
.countdown-units > div {
  display: grid;
  justify-items: center;
  min-width: clamp(4.2rem, 13vw, 6rem);
  padding: .9rem .6rem .7rem;
  border: 1px solid rgba(227, 191, 92, .3);
  background: linear-gradient(180deg, rgba(255, 240, 200, .07), rgba(255, 240, 200, .01));
  position: relative;
}
.countdown-units > div::before {
  content: "";
  position: absolute; inset: 3px;
  border: 1px solid rgba(227, 191, 92, .12);
  pointer-events: none;
}
.countdown-units span {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 1.4rem + 2.4vw, 3.1rem);
  font-weight: 600;
  line-height: 1;
  color: var(--gold-100);
  font-variant-numeric: tabular-nums lining-nums;
}
.countdown-units small {
  margin-top: .45rem;
  font-family: var(--font-caps);
  font-size: .58rem;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--on-velvet-soft);
}
.countdown.is-today .countdown-units { display: none; }

/* --------------------------------------------------------- two lives --- */

.story { padding-bottom: calc(var(--section-y) * .8); }
.two-lives {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  grid-template-areas: "leroy head herma";
  align-items: end;
  gap: clamp(1.5rem, 4vw, 3rem);
}
.two-lives-head { grid-area: head; align-self: center; margin: 0; }
.two-lives-head h2 { font-size: clamp(2.5rem, 1.4rem + 3vw, 4rem); }
.honoree { text-align: center; }
.honoree.leroy { grid-area: leroy; }
.honoree.herma { grid-area: herma; }
.arch-sm {
  display: block;
  width: min(100%, 290px);
  margin-inline: auto;
  padding: 8px;
  border-radius: 1000px 1000px 4px 4px;
  background: var(--foil);
  box-shadow: 0 30px 60px -30px rgba(42, 24, 64, .65);
}
.arch-sm img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: 50% 18%;
  border-radius: 1000px 1000px 2px 2px;
  box-shadow: inset 0 0 0 2px #fff;
}
.honoree figcaption { display: grid; justify-items: center; margin-top: 1.4rem; }
.honorific {
  font-family: var(--font-caps);
  font-size: .64rem;
  font-weight: 600;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--gold-600);
}
.honoree strong {
  font-size: clamp(1.6rem, 1.2rem + 1.2vw, 2.2rem);
  font-weight: 600;
  line-height: 1.15;
  margin-top: .35rem;
}
.honoree em { color: var(--ink-soft); font-size: 1.05rem; }

.threads {
  display: block;
  width: 100%;
  height: auto;
  margin-top: .5rem;
  overflow: visible;
  --t: 1; --r: 1; --o: 1;
}
.threads.compact { display: none; }
.threads .thread {
  stroke: url(#gold-line);
  stroke-width: 2;
  stroke-dasharray: 1;
  stroke-dashoffset: calc(1 - var(--t));
}
.threads .thread.glow { stroke-width: 7; opacity: .22; filter: blur(3px); }
.threads .thread.one { stroke: var(--gold-500); stroke-dashoffset: calc(1 - var(--o)); }
.threads .ring {
  stroke: var(--gold-500);
  stroke-width: 2.4;
  fill: none;
  stroke-dasharray: 1;
  stroke-dashoffset: calc(1 - var(--r));
}
.threads .spark {
  transform-box: fill-box;
  transform-origin: center;
  opacity: var(--o);
  transform: scale(var(--o));
}
.one-celebration { margin-top: 1rem; }
.one-title {
  font-size: clamp(3.4rem, 2rem + 4.6vw, 5.6rem);
  color: var(--gold-600);
  margin-bottom: 1rem;
}
.joined .one-title { animation: glow-in 1.6s var(--ease) both; }
@keyframes glow-in { from { opacity: .2; letter-spacing: .04em; } to { opacity: 1; letter-spacing: 0; } }

@media (max-width: 760px) {
  .two-lives {
    grid-template-columns: 34% 1fr 34%;
    grid-template-areas: "head head head" "leroy . herma";
    gap: 1.5rem 0;
  }
  .two-lives-head { margin-bottom: 1rem; }
  .honoree figcaption { margin-top: .9rem; }
  .honoree .honorific { font-size: .5rem; letter-spacing: .14em; }
  .honoree strong { font-size: 1.15rem; }
  .honoree em { font-size: .85rem; line-height: 1.3; margin-top: .2rem; }
  .threads { margin-top: .75rem; }
  .threads.wide { display: none; }
  .threads.compact { display: block; }
}

/* ------------------------------------------------------ seventy lights --- */

.seventy { overflow: hidden; }
.lights {
  display: grid;
  gap: clamp(.7rem, 1.8vw, 1.1rem);
  justify-content: center;
  margin: clamp(2.5rem, 5vw, 3.5rem) auto 0;
}
.decade {
  display: grid;
  grid-template-columns: 2.2rem repeat(10, clamp(16px, 4.2vw, 30px));
  align-items: center;
  gap: clamp(.35rem, 1.6vw, 1.1rem);
}
.decade-label {
  font-family: var(--font-caps);
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .1em;
  color: var(--gold-300);
  opacity: .55;
  text-align: right;
  padding-right: .4rem;
}
.light {
  position: relative;
  display: block;
  height: clamp(22px, 5.2vw, 38px);
}
.light::before {
  content: "";
  position: absolute;
  left: 50%; bottom: 10%;
  width: 62%;
  aspect-ratio: 1;
  border-radius: 0 50% 50% 50%;
  background: radial-gradient(circle at 62% 62%, #fffbe8 0 16%, #ffe08a 34%, #f0a93a 68%, #c4661a 100%);
  transform: translateX(-50%) scaleY(1.3) rotate(45deg) scale(.55);
  opacity: .14;
  filter: saturate(.3);
  transition: opacity .5s, transform .6s var(--ease), filter .5s;
}
.light::after {
  content: "";
  position: absolute;
  left: 50%; bottom: 0;
  width: 180%;
  aspect-ratio: 1;
  border-radius: 50%;
  transform: translate(-50%, 30%);
  background: radial-gradient(closest-side, rgba(255, 210, 110, .55), transparent);
  opacity: 0;
  transition: opacity .7s;
  pointer-events: none;
}
.light.lit::before {
  opacity: 1;
  filter: none;
  transform: translateX(-50%) scaleY(1.3) rotate(45deg) scale(1);
  animation: flicker 2.8s ease-in-out infinite;
  animation-delay: calc(var(--n) * -97ms);
}
.light.lit::after { opacity: .9; }
@keyframes flicker {
  0%, 100% { transform: translateX(-50%) scaleY(1.3) rotate(45deg) scale(1); }
  30% { transform: translateX(-52%) scaleY(1.38) rotate(43deg) scale(.96); }
  60% { transform: translateX(-48%) scaleY(1.24) rotate(47deg) scale(1.03); }
}
.complete .decade { animation: decade-glow 1.6s var(--ease) both; animation-delay: calc(var(--row) * 90ms); }
@keyframes decade-glow { 40% { filter: brightness(1.6) drop-shadow(0 0 10px rgba(255, 220, 140, .7)); } }

.lights-count {
  display: grid;
  justify-items: center;
  margin-top: clamp(2rem, 4vw, 3rem);
}
.lights-count .foil {
  font-size: clamp(4.5rem, 3rem + 5vw, 7rem);
  font-weight: 600;
  line-height: 1;
  font-variant-numeric: tabular-nums lining-nums;
}
.lights-count .caps { color: var(--gold-200); margin-top: .4rem; }

.verse {
  margin: clamp(3rem, 6vw, 4.5rem) auto 0;
  max-width: 34em;
}
.verse p {
  font-size: clamp(1.5rem, 1.2rem + 1.1vw, 2.1rem);
  font-style: italic;
  line-height: 1.35;
  color: var(--gold-50);
}
.ivory .verse p { color: var(--ink); }
.verse cite {
  display: block;
  margin-top: 1rem;
  font-family: var(--font-caps);
  font-size: .72rem;
  font-style: normal;
  font-weight: 600;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--gold-300);
}
.ivory .verse cite { color: var(--gold-600); }
.laurel-note {
  margin-top: 2.5rem;
  font-size: 1rem;
  font-style: italic;
  color: var(--on-velvet-soft);
  opacity: .8;
}

/* ------------------------------------------------------------- gallery --- */

.album {
  columns: 3 300px;
  column-gap: clamp(1rem, 2.5vw, 1.75rem);
}
.keepsake {
  position: relative;
  display: block;
  break-inside: avoid;
  margin: 0 0 clamp(1rem, 2.5vw, 1.75rem);
  padding: 10px 10px 0;
  background: #fffdf8;
  text-decoration: none;
  box-shadow: 0 0 0 1px var(--ivory-3), 0 22px 44px -26px rgba(42, 24, 64, .55);
  transition: transform .6s var(--ease), box-shadow .6s var(--ease);
}
.keepsake::before {
  content: "";
  position: absolute; inset: 4px;
  border: 1px solid rgba(201, 162, 74, .45);
  pointer-events: none;
  z-index: 1;
}
.keepsake img {
  width: 100%;
  transition: filter .6s;
}
.keepsake-caption {
  display: block;
  padding: .85rem .5rem 1rem;
  text-align: center;
  font-size: 1.05rem;
  font-style: italic;
  color: var(--ink-soft);
}
.keepsake:hover {
  transform: translateY(-6px);
  box-shadow: 0 0 0 1px var(--gold-300), 0 34px 60px -28px rgba(42, 24, 64, .7);
}
.keepsake:hover img { filter: saturate(1.08) contrast(1.03); }

/* ------------------------------------------------------------- evening --- */

.evening-grid {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  align-items: center;
  gap: clamp(3rem, 7vw, 6rem);
}
.evening-copy h2 { margin-bottom: 1rem; }
.details {
  display: grid;
  margin-top: 2.25rem;
  border-top: 1px solid rgba(227, 191, 92, .28);
}
.details > div {
  display: grid;
  grid-template-columns: 7rem 1fr;
  gap: 1rem;
  padding: 1.15rem 0;
  border-bottom: 1px solid rgba(227, 191, 92, .28);
}
.details dt {
  padding-top: .35rem;
  font-family: var(--font-caps);
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--gold-300);
}
.details dd {
  font-size: clamp(1.3rem, 1.15rem + .5vw, 1.6rem);
  line-height: 1.3;
  color: var(--gold-50);
}
.details dd span { display: block; font-size: 1rem; color: var(--on-velvet-soft); margin-top: .2rem; }
.ivory .details { border-color: rgba(138, 100, 24, .25); }
.ivory .details > div { border-color: rgba(138, 100, 24, .25); }
.ivory .details dt { color: var(--gold-600); }
.ivory .details dd { color: var(--ink); }
.ivory .details dd span { color: var(--ink-soft); }

.invite-note {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 2rem;
  color: var(--gold-300);
}
.invite-note::before {
  content: "";
  width: .5rem; height: .5rem;
  background: var(--gold-300);
  transform: rotate(45deg);
}

.flyer-card { justify-self: center; width: min(100%, 440px); }
.flyer-frame {
  position: relative;
  display: block;
  padding: 10px;
  background: var(--foil);
  box-shadow: 0 50px 80px -40px rgba(0, 0, 0, .95), 0 0 70px -20px rgba(227, 191, 92, .45);
  transform: rotate(-1.5deg);
  transition: transform .8s var(--ease);
}
.flyer-frame::after {
  content: "";
  position: absolute; inset: 5px;
  border: 1px solid rgba(80, 50, 5, .45);
  pointer-events: none;
}
.flyer-frame:hover { transform: rotate(0) translateY(-6px); }
.flyer-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .75rem;
  margin-top: 2rem;
}

/* ---------------------------------------------------------- tribute cta --- */

.tribute-cta { overflow: hidden; }
.tribute-cta h2 { margin-bottom: .5rem; }
.tribute-cta .lede { margin-top: 1.4rem; }
.cta-floral {
  position: absolute;
  bottom: -1rem;
  width: clamp(160px, 24vw, 320px);
  opacity: .9;
  pointer-events: none;
}
.cta-floral.left { left: -1rem; }
.cta-floral.right { right: -1rem; transform: scaleX(-1); }
.cta-floral .petal { fill: rgba(207, 162, 60, .08); }
.js .tribute-cta .cta-floral [pathLength] { stroke-dashoffset: 1; }
.tribute-cta.is-visible .cta-floral [pathLength] { stroke-dashoffset: 0; transition: stroke-dashoffset 3s var(--ease-soft) .3s; }
@media (max-width: 760px) {
  .cta-floral { width: 130px; opacity: .55; }
}

/* ----------------------------------------------------------- page hero --- */

.page-hero {
  padding: clamp(9rem, 16vw, 12rem) 0 clamp(5rem, 9vw, 7rem);
  overflow: hidden;
  text-align: center;
}
.page-hero-inner { display: grid; justify-items: center; }
.page-hero .crown {
  width: 3.6rem;
  margin-bottom: 1.4rem;
  filter: drop-shadow(0 0 16px rgba(244, 210, 120, .45));
}
.page-hero h1 {
  display: grid;
  justify-items: center;
  font-size: clamp(2.8rem, 1.8rem + 4vw, 5rem);
  color: var(--gold-50);
}
.page-hero h1 .script {
  font-size: 1.15em;
  line-height: 1.15;
  color: var(--gold-200);
  text-shadow: 0 4px 24px rgba(227, 191, 92, .35);
}
.page-hero .lede { margin-top: 1.6rem; }
.hero-floral {
  position: absolute;
  bottom: -1.5rem;
  width: clamp(150px, 22vw, 300px);
  opacity: .75;
  pointer-events: none;
}
.hero-floral.left { left: -1rem; }
.hero-floral.right { right: -1rem; transform: scaleX(-1); }
.page-hero > .container > * { animation: rise 1.1s var(--ease) both; }
.page-hero > .container > :nth-child(2) { animation-delay: .1s; }
.page-hero > .container > :nth-child(3) { animation-delay: .2s; }
.page-hero > .container > :nth-child(4) { animation-delay: .32s; }
.page-hero > .container > :nth-child(5) { animation-delay: .44s; }
.js .page-hero .floral [pathLength] { animation: draw 3s var(--ease-soft) .6s both; }
@keyframes draw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
@media (max-width: 760px) {
  .hero-floral { width: 120px; opacity: .45; }
}

/* ------------------------------------------------------- inner layouts --- */

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: clamp(2.5rem, 7vw, 6rem);
}
.split.reverse > :first-child { order: 2; }

.feature-portrait {
  position: relative;
  width: min(100%, 420px);
  justify-self: center;
}
.feature-portrait .arch-frame { box-shadow: 0 40px 70px -35px rgba(42, 24, 64, .75); }
.feature-portrait .arch { aspect-ratio: 4 / 5; }
.feature-portrait .arch img { object-position: 50% 15%; }
.feature-portrait .crown {
  position: absolute;
  top: -2.2rem; left: 50%;
  width: 3.6rem;
  transform: translateX(-50%);
  z-index: 2;
}
.feature-copy h2 { margin: .3rem 0 .4rem; }
.feature-copy .tagline { font-size: 1.25rem; font-style: italic; color: var(--gold-600); }
.feature-copy p + p { margin-top: 1.1rem; }
.feature-copy .lede { margin-top: 1.4rem; }

.card-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(1rem, 2.4vw, 1.6rem);
}
.info-card {
  position: relative;
  padding: 2.4rem 1.5rem 2rem;
  text-align: center;
  background: #fffdf8;
  box-shadow: 0 0 0 1px var(--ivory-3), 0 24px 50px -32px rgba(42, 24, 64, .6);
}
.info-card::before {
  content: "";
  position: absolute; inset: 6px;
  border: 1px solid rgba(201, 162, 74, .5);
  pointer-events: none;
}
.info-card .corner {
  position: absolute;
  width: 2.6rem;
}
.info-card .corner.tl { top: 2px; left: 2px; }
.info-card .corner.br { bottom: 2px; right: 2px; transform: rotate(180deg); }
.info-card .icon {
  display: grid;
  place-items: center;
  width: 3.2rem; height: 3.2rem;
  margin: 0 auto 1.2rem;
  border-radius: 50%;
  color: var(--gold-600);
  box-shadow: inset 0 0 0 1px rgba(138, 100, 24, .45);
}
.info-card .icon svg { width: 1.4rem; height: 1.4rem; }
.info-card h3 {
  font-family: var(--font-caps);
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--gold-600);
  margin-bottom: .7rem;
}
.info-card p { font-size: 1.35rem; line-height: 1.3; }
.info-card p span { display: block; font-size: 1rem; color: var(--ink-soft); margin-top: .3rem; }

.map-frame {
  position: relative;
  padding: 10px;
  background: var(--foil);
  box-shadow: 0 40px 70px -40px rgba(0, 0, 0, .9);
}
.map-frame iframe {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  border: 0;
  filter: sepia(.15) saturate(.9);
}

.faq { display: grid; gap: .9rem; }
.faq details {
  background: #fffdf8;
  box-shadow: 0 0 0 1px var(--ivory-3), 0 14px 30px -26px rgba(42, 24, 64, .6);
  transition: box-shadow .3s;
}
.faq details[open] { box-shadow: 0 0 0 1px var(--gold-300), 0 20px 40px -28px rgba(42, 24, 64, .7); }
.faq summary {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.3rem 1.6rem;
  font-size: 1.35rem;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "";
  flex: none;
  width: .6rem; height: .6rem;
  border-right: 1.5px solid var(--gold-600);
  border-bottom: 1.5px solid var(--gold-600);
  transform: rotate(45deg) translateY(-3px);
  transition: transform .4s var(--ease);
}
.faq details[open] summary::after { transform: rotate(-135deg) translateY(-3px); }
.faq details > div { padding: 0 1.6rem 1.4rem; color: var(--ink-soft); }
.faq a { color: var(--gold-700); }

.photo-strip {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(240px, 1fr);
  gap: 1.25rem;
  overflow-x: auto;
  padding: .5rem var(--gutter) 2rem;
  margin-inline: calc(var(--gutter) * -1);
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
  scrollbar-color: var(--gold-400) transparent;
}
.photo-strip .keepsake { margin: 0; scroll-snap-align: center; }
.photo-strip .keepsake img { aspect-ratio: 4 / 5; object-fit: cover; }

/* Their story: a gold line with a gem for each chapter */
.timeline {
  position: relative;
  list-style: none;
  margin: 0;
  padding: 0 0 0 clamp(2.5rem, 6vw, 4rem);
}
.timeline::before {
  content: "";
  position: absolute;
  top: .6rem; bottom: .6rem; left: clamp(.6rem, 2vw, 1.2rem);
  width: 2px;
  background: linear-gradient(180deg, transparent, var(--gold-400) 8%, var(--gold-400) 92%, transparent);
}
.timeline li { position: relative; padding-bottom: clamp(2rem, 5vw, 3rem); }
.timeline li:last-child { padding-bottom: 0; }
.timeline li::before {
  content: "";
  position: absolute;
  top: .45rem;
  left: calc(clamp(.6rem, 2vw, 1.2rem) - clamp(2.5rem, 6vw, 4rem) - .45rem + 1px);
  width: .9rem; height: .9rem;
  background: var(--foil);
  transform: rotate(45deg);
  box-shadow: 0 0 0 4px var(--ivory), 0 0 14px rgba(227, 191, 92, .6);
}
.timeline-mark { color: var(--gold-600); font-weight: 700; }
.timeline-photos {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 200px), 240px));
  gap: 1rem;
  margin-top: 1.4rem;
}
.timeline-photos .keepsake { margin: 0; }
.timeline-photos .keepsake img { aspect-ratio: 4 / 5; object-fit: cover; }

/* Pastor Herma's video tribute */
.video-frame {
  position: relative;
  max-width: 980px;
  margin-inline: auto;
  padding: 12px;
  background: var(--foil);
  box-shadow: 0 50px 90px -40px rgba(0, 0, 0, .95), 0 0 80px -20px rgba(227, 191, 92, .45);
}
.video-frame video {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  background: var(--velvet-950);
}
.video-frame .frame-corner { position: absolute; width: 4rem; z-index: 2; pointer-events: none; }
.video-frame .frame-corner.tl { top: -1.1rem; bottom: auto; left: -1.1rem; }
.video-frame .frame-corner.tr { top: -1.1rem; bottom: auto; right: -1.1rem; transform: scaleX(-1); }
.video-frame .frame-corner.bl { bottom: -1.1rem; left: -1.1rem; transform: scaleY(-1); }
.video-frame .frame-corner.br { bottom: -1.1rem; right: -1.1rem; transform: scale(-1, -1); }
.video-frame figcaption {
  position: absolute;
  left: 0; right: 0; bottom: -3rem;
  text-align: center;
  color: var(--gold-300);
}
.how-we-met { padding-bottom: var(--section-y); }
.how-we-met .video-frame { margin-bottom: 4.5rem; }
.video-frame video::cue {
  font-family: var(--font-serif);
  font-size: 1.15em;
  background: rgba(16, 5, 28, .78);
  color: #fff8e1;
}
.met-quote {
  max-width: 46rem;
  margin: 0 auto 3rem;
  text-align: center;
}
.met-quote p {
  font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.3rem);
  font-style: italic;
  line-height: 1.3;
  color: var(--gold-50);
}
.met-quote p::before, .met-quote p::after { color: var(--gold-300); }
.met-quote cite {
  display: block;
  margin-top: 1rem;
  font-family: var(--font-caps);
  font-size: .72rem;
  font-style: normal;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--gold-300);
}
.transcript {
  max-width: 46rem;
  margin: 0 auto;
  border-top: 1px solid rgba(227, 191, 92, .3);
  border-bottom: 1px solid rgba(227, 191, 92, .3);
}
.transcript summary {
  padding: 1.1rem 0;
  font-family: var(--font-caps);
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--gold-200);
  text-align: center;
  cursor: pointer;
  list-style: none;
}
.transcript summary::-webkit-details-marker { display: none; }
.transcript summary::after { content: " +"; }
.transcript[open] summary::after { content: " −"; }
.transcript-body { padding: 0 0 1.75rem; color: var(--on-velvet-soft); }
.transcript-body p + p { margin-top: 1rem; }
.timeline h3 { font-size: clamp(1.6rem, 1.3rem + 1vw, 2.1rem); margin: .3rem 0 .5rem; }
.timeline p { color: var(--ink-soft); }

/* Letter-style tribute form */
.letter {
  position: relative;
  padding: clamp(2rem, 5vw, 3.5rem);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .7), rgba(255, 255, 255, 0) 30%),
    #fffcf4;
  box-shadow: 0 0 0 1px var(--ivory-3), 0 40px 80px -40px rgba(42, 24, 64, .65);
}
.letter::before {
  content: "";
  position: absolute; inset: 8px;
  border: 1px solid rgba(201, 162, 74, .55);
  pointer-events: none;
}
.letter .corner { position: absolute; width: 3.2rem; }
.letter .corner.tl { top: 4px; left: 4px; }
.letter .corner.tr { top: 4px; right: 4px; transform: scaleX(-1); }
.letter .corner.bl { bottom: 4px; left: 4px; transform: scaleY(-1); }
.letter .corner.br { bottom: 4px; right: 4px; transform: scale(-1, -1); }
.letter h2 { font-size: clamp(2rem, 1.5rem + 2vw, 2.8rem); margin-bottom: 1.6rem; text-align: center; }
.field { display: grid; gap: .45rem; margin-bottom: 1.3rem; }
.field label, .field legend {
  font-family: var(--font-caps);
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--gold-700);
}
.field input, .field select, .field textarea {
  width: 100%;
  padding: .85rem 1rem;
  font: inherit;
  font-size: 1.15rem;
  color: var(--ink);
  background: rgba(255, 255, 255, .8);
  border: 0;
  border-bottom: 1px solid rgba(138, 100, 24, .45);
  border-radius: 0;
  transition: border-color .3s, background-color .3s, box-shadow .3s;
}
.field textarea {
  min-height: 11rem;
  resize: vertical;
  line-height: 2rem;
  background-image: repeating-linear-gradient(180deg, transparent 0 calc(2rem - 1px), rgba(201, 162, 74, .25) calc(2rem - 1px) 2rem);
  background-attachment: local;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  background-color: #fff;
  border-color: var(--gold-500);
  box-shadow: 0 2px 0 var(--gold-400);
}
.field .hint { font-size: .95rem; color: var(--ink-soft); text-align: right; }
.check {
  display: flex;
  gap: .8rem;
  align-items: flex-start;
  margin: .4rem 0 1.8rem;
  font-size: 1.05rem;
  color: var(--ink-soft);
}
.check input { width: 1.2rem; height: 1.2rem; margin-top: .3rem; accent-color: var(--gold-600); flex: none; }
.letter .actions { justify-content: center; margin-top: 0; }
.form-status { margin-top: 1.2rem; text-align: center; font-style: italic; color: var(--ink-soft); min-height: 1.6em; }

.wax-seal {
  position: absolute;
  left: 50%; bottom: -2.4rem;
  z-index: 3;
  width: 5rem;
  aspect-ratio: 1;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: radial-gradient(circle at 35% 30%, #8a4bd0, #4f2a80 50%, #2a1045 100%);
  box-shadow: 0 10px 20px -6px rgba(0, 0, 0, .6), inset 0 -4px 8px rgba(0, 0, 0, .4), inset 0 3px 6px rgba(255, 255, 255, .25);
  font-family: var(--font-caps);
  font-size: 1.7rem;
  font-weight: 700;
  color: var(--gold-200);
  transform: translateX(-50%) scale(0);
  opacity: 0;
}
.wax-seal::before {
  content: "";
  position: absolute; inset: 10%;
  border-radius: 50%;
  border: 1px dashed rgba(241, 217, 143, .5);
}
.letter.is-sealed .wax-seal { animation: stamp .9s var(--ease) forwards; }
@keyframes stamp {
  0% { opacity: 0; transform: translateX(-50%) scale(2.2) rotate(-20deg); }
  60% { opacity: 1; transform: translateX(-50%) scale(.92) rotate(4deg); }
  100% { opacity: 1; transform: translateX(-50%) scale(1) rotate(0); }
}

.notice-card {
  position: relative;
  max-width: 760px;
  margin-inline: auto;
  padding: clamp(2.5rem, 6vw, 4rem) clamp(1.5rem, 5vw, 4rem);
  text-align: center;
  background: #fffcf4;
  box-shadow: 0 0 0 1px var(--ivory-3), 0 40px 80px -40px rgba(42, 24, 64, .65);
}
.notice-card::before {
  content: "";
  position: absolute; inset: 8px;
  border: 1px solid rgba(201, 162, 74, .55);
  pointer-events: none;
}
.notice-card .corner { position: absolute; width: 3.2rem; }
.notice-card .corner.tl { top: 4px; left: 4px; }
.notice-card .corner.tr { top: 4px; right: 4px; transform: scaleX(-1); }
.notice-card .corner.bl { bottom: 4px; left: 4px; transform: scaleY(-1); }
.notice-card .corner.br { bottom: 4px; right: 4px; transform: scale(-1, -1); }
.notice-card h2 { font-size: clamp(2.2rem, 1.6rem + 2.4vw, 3.4rem); margin-bottom: 1rem; }
.notice-card .lede { margin-top: 1rem; }
.notice-card .details { text-align: left; margin-top: 2rem; }

/* -------------------------------------------------------------- footer --- */

.site-footer {
  padding: clamp(5rem, 10vw, 7rem) 0 2.5rem;
  overflow: hidden;
  text-align: center;
  box-shadow: inset 0 1px 0 rgba(227, 191, 92, .35);
}
.footer-floral {
  position: absolute;
  top: 2rem;
  width: clamp(140px, 18vw, 240px);
  opacity: .35;
  pointer-events: none;
}
.footer-floral.left { left: 1rem; transform: scaleY(-1); }
.footer-floral.right { right: 1rem; transform: scale(-1, -1); }
.footer-inner { display: grid; justify-items: center; }
.footer-seal { display: inline-block; margin-bottom: 1.5rem; text-decoration: none; }
.footer-title { font-size: clamp(2.6rem, 2rem + 2.4vw, 3.8rem); color: var(--gold-100); }
.script .num {
  font-family: var(--font-serif);
  font-size: .78em;
  font-style: italic;
  font-weight: 500;
  padding-inline: .08em;
}
.footer-theme { color: var(--gold-300); margin-top: .6rem; font-size: .66rem; }
.footer-cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
  width: 100%;
  max-width: 900px;
  margin-top: 3rem;
}
.footer-heading {
  font-family: var(--font-caps);
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--gold-300);
  margin-bottom: 1rem;
}
.footer-cols p, .footer-cols li { color: var(--on-velvet-soft); font-size: 1.1rem; line-height: 1.7; }
.footer-cols ul { list-style: none; padding: 0; margin: 0; }
.footer-cols a { text-decoration: none; transition: color .3s; }
.footer-cols a:hover { color: var(--gold-200); }
.footer-note { font-style: italic; margin-top: .4rem; }
.footer-base {
  width: 100%;
  margin-top: 3.5rem;
  padding-top: 1.75rem;
  border-top: 1px solid rgba(227, 191, 92, .2);
  font-family: var(--font-caps);
  font-size: .62rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--on-velvet-soft);
  opacity: .75;
}

/* ------------------------------------------------------------ lightbox --- */

.lightbox {
  width: 100%; height: 100%;
  max-width: none; max-height: none;
  margin: 0;
  padding: clamp(1rem, 4vw, 3rem);
  border: 0;
  background: transparent;
  color: var(--on-velvet);
}
.lightbox[open] { display: grid; place-items: center; animation: fade-in .4s var(--ease); }
.lightbox::backdrop { background: rgba(12, 4, 22, .92); backdrop-filter: blur(6px); }
.lightbox-figure { display: grid; justify-items: center; gap: 1rem; max-width: min(1100px, 100%); }
.lightbox img {
  max-width: 100%;
  max-height: calc(100svh - 9rem);
  width: auto;
  padding: 8px;
  background: var(--foil);
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .9);
}
.lightbox figcaption { display: flex; gap: 1.25rem; align-items: baseline; font-style: italic; font-size: 1.2rem; }
.lightbox-count { font-family: var(--font-caps); font-style: normal; font-size: .68rem; letter-spacing: .24em; color: var(--gold-300); }
.lightbox-btn, .lightbox-close {
  position: fixed;
  display: grid;
  place-items: center;
  width: 3.2rem; height: 3.2rem;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 240, 200, .08);
  box-shadow: inset 0 0 0 1px rgba(227, 191, 92, .5);
  color: var(--gold-100);
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
  transition: background-color .3s;
}
.lightbox-btn:hover, .lightbox-close:hover { background: rgba(255, 240, 200, .18); }
.lightbox-prev { left: clamp(.5rem, 2vw, 1.5rem); top: 50%; transform: translateY(-50%); }
.lightbox-next { right: clamp(.5rem, 2vw, 1.5rem); top: 50%; transform: translateY(-50%); }
.lightbox-close { top: 1rem; right: 1rem; font-size: 1.8rem; }
.lightbox.single .lightbox-btn, .lightbox.single .lightbox-count { display: none; }
@keyframes fade-in { from { opacity: 0; } }

/* -------------------------------------------------------- toast, burst --- */

.toast {
  position: fixed;
  left: 50%; bottom: 1.5rem;
  z-index: 120;
  padding: .9rem 1.4rem;
  background: var(--velvet-800);
  color: var(--gold-100);
  box-shadow: inset 0 0 0 1px rgba(227, 191, 92, .5), 0 20px 40px -20px rgba(0, 0, 0, .8);
  font-size: 1.05rem;
  transform: translate(-50%, calc(100% + 3rem));
  visibility: hidden;
  transition: transform .5s var(--ease), visibility 0s .5s;
}
.toast.visible { transform: translate(-50%, 0); visibility: visible; transition: transform .5s var(--ease); }

.burst {
  position: fixed;
  z-index: 150;
  width: 0; height: 0;
  pointer-events: none;
}
.burst i {
  position: absolute;
  left: -3px; top: -3px;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: radial-gradient(circle, #fff8dc, #e8c060 60%, transparent 70%);
  animation: burst 1.1s cubic-bezier(.2, .7, .3, 1) var(--d) both;
}
.burst i.star {
  width: 12px; height: 12px;
  left: -6px; top: -6px;
  border-radius: 0;
  background: #fff1c0;
  clip-path: polygon(50% 0, 60% 40%, 100% 50%, 60% 60%, 50% 100%, 40% 60%, 0 50%, 40% 40%);
}
@keyframes burst {
  from { opacity: 1; transform: translate(0, 0) scale(var(--s)); }
  to { opacity: 0; transform: translate(var(--x), calc(var(--y) + 30px)) scale(0); }
}

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

.js .reveal { opacity: 0; transform: translateY(32px); }
.js .reveal.is-visible {
  opacity: 1;
  transform: none;
  transition: opacity 1.1s var(--ease), transform 1.1s var(--ease);
}
.album .keepsake.reveal.is-visible { transition-delay: calc(var(--k, 0) * 70ms); }
.album .keepsake.reveal.is-visible:hover { transition-delay: 0s; transform: translateY(-6px); }

/* ---------------------------------------------------------- responsive --- */

@media (max-width: 1020px) {
  .card-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 4.5rem; }
  .hero-portrait { width: min(78%, 380px); margin-top: 2rem; }
  .evening-grid, .split { grid-template-columns: 1fr; }
  .split.reverse > :first-child { order: 0; }
  .feature-copy { text-align: center; }
  .feature-copy .lede { margin-inline: auto; }
}

@media (max-width: 760px) {
  .footer-cols { grid-template-columns: 1fr; gap: 2rem; }
  .ribbon { width: calc(100% - 3.5rem); }
  .ribbon-body { padding: 1rem 1.1rem; letter-spacing: .14em; gap: .3rem .8rem; }
  .ribbon-tail { width: 3rem; }
  .ribbon-tail.left { left: -2rem; }
  .ribbon-tail.right { right: -2rem; }
  .details > div { grid-template-columns: 1fr; gap: .3rem; }
  .details dt { padding-top: 0; }
  .portrait-floral { width: 42%; bottom: -1.6rem; }
  .portrait-floral.left { left: -16%; }
  .portrait-floral.right { right: -16%; }
  .decade-label { display: none; }
  .decade { grid-template-columns: repeat(10, clamp(16px, 6.2vw, 30px)); }
}

@media (max-width: 560px) {
  .card-grid { grid-template-columns: 1fr; }
  .actions { flex-direction: column; align-items: stretch; }
  .actions .btn { width: 100%; }
  .hero-copy .actions { align-items: center; }
  .hero-copy .actions .btn { width: min(100%, 320px); }
  .ribbon-gem { display: none; }
  .ribbon-body > span:first-child::after { content: ","; }
  .countdown-units > div { min-width: 0; flex: 1; padding-inline: .3rem; }
  .countdown-units { display: flex; width: 100%; }
}

/* ------------------------------------------------------ reduced motion --- */

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    animation-delay: 0s !important;
    transition-duration: .001ms !important;
    transition-delay: 0s !important;
    scroll-behavior: auto !important;
  }
  .js .reveal, .js .hero [data-anim] { opacity: 1; transform: none; }
  .glory { animation: none; }
}
