:root {
  --night: #090711;
  --plum: #170d27;
  --purple: #5b2a86;
  --violet: #9a63d8;
  --gold: #d7a928;
  --soft-gold: #f0d58a;
  --cream: #fdf8ff;
  --paper: #12091f;
  --rose: #c8829d;
  --sage: #9aab8e;
  --ink: #fdf8ff;
  --muted: rgba(239, 226, 255, 0.74);
  --line: rgba(215, 169, 40, 0.26);
  --max: 1180px;
  --r: 8px;
  --s1: 0.5rem;
  --s2: 0.75rem;
  --s3: 1rem;
  --s4: 1.5rem;
  --s5: 2rem;
  --s6: 3rem;
  --s7: 4.5rem;
  --s8: 6.5rem;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--cream);
  background:
    radial-gradient(circle at 16% 8%, rgba(91, 42, 134, 0.36), transparent 34rem),
    radial-gradient(circle at 86% 18%, rgba(215, 169, 40, 0.12), transparent 30rem),
    var(--night);
  font-family: Inter, Aptos, "Segoe UI", system-ui, sans-serif;
  font-size: 1.06rem;
  line-height: 1.62;
}

.flower-field {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.site-header,
main,
.site-footer {
  position: relative;
  z-index: 1;
}

.flower {
  position: absolute;
  width: var(--flower-size, 180px);
  aspect-ratio: 1;
  opacity: var(--flower-opacity, 0.46);
  transform: rotate(var(--flower-rotate, 0deg));
  filter:
    drop-shadow(0 0 18px rgba(215, 169, 40, 0.22))
    drop-shadow(0 0 36px rgba(154, 99, 216, 0.34));
}

.flower::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='-120 -120 240 240' xmlns='http://www.w3.org/2000/svg'%3E%3Cdefs%3E%3CradialGradient id='p' cx='35%25' cy='20%25' r='80%25'%3E%3Cstop offset='0%25' stop-color='%23ff8bd8'/%3E%3Cstop offset='45%25' stop-color='%239b30d0'/%3E%3Cstop offset='100%25' stop-color='%23361067'/%3E%3C/radialGradient%3E%3CradialGradient id='g' cx='35%25' cy='28%25' r='70%25'%3E%3Cstop offset='0%25' stop-color='%23fff0a6'/%3E%3Cstop offset='55%25' stop-color='%23d7a928'/%3E%3Cstop offset='100%25' stop-color='%23825b0c'/%3E%3C/radialGradient%3E%3Cfilter id='glow'%3E%3CfeGaussianBlur stdDeviation='3' result='b'/%3E%3CfeMerge%3E%3CfeMergeNode in='b'/%3E%3CfeMergeNode in='SourceGraphic'/%3E%3C/feMerge%3E%3C/filter%3E%3C/defs%3E%3Cg filter='url(%23glow)'%3E%3Cellipse cx='0' cy='-58' rx='22' ry='62' fill='url(%23p)' opacity='.92'/%3E%3Cellipse cx='0' cy='-58' rx='22' ry='62' fill='url(%23p)' opacity='.86' transform='rotate(45)'/%3E%3Cellipse cx='0' cy='-58' rx='22' ry='62' fill='url(%23p)' opacity='.92' transform='rotate(90)'/%3E%3Cellipse cx='0' cy='-58' rx='22' ry='62' fill='url(%23p)' opacity='.86' transform='rotate(135)'/%3E%3Cellipse cx='0' cy='-50' rx='16' ry='54' fill='%23d65ab8' opacity='.72' transform='rotate(22.5)'/%3E%3Cellipse cx='0' cy='-50' rx='16' ry='54' fill='%23d65ab8' opacity='.72' transform='rotate(67.5)'/%3E%3Cellipse cx='0' cy='-50' rx='16' ry='54' fill='%236f22b5' opacity='.8' transform='rotate(112.5)'/%3E%3Cellipse cx='0' cy='-50' rx='16' ry='54' fill='%236f22b5' opacity='.8' transform='rotate(157.5)'/%3E%3Ccircle cx='0' cy='0' r='22' fill='url(%23g)'/%3E%3Ccircle cx='-6' cy='-7' r='6' fill='%23fff6c8' opacity='.85'/%3E%3C/g%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
}

.flower::after {
  content: "";
  position: absolute;
  inset: 18%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(215, 169, 40, 0.2), transparent 62%);
  animation: flowerPulse 4.5s ease-in-out infinite;
}

@keyframes flowerPulse {
  0%, 100% { opacity: 0.55; transform: scale(0.96); }
  50% { opacity: 1; transform: scale(1.04); }
}

.flower.f1 {
  top: -52px;
  right: -38px;
}

.flower.f2 {
  top: 36%;
  left: -70px;
  --flower-size: 210px;
  --flower-rotate: 22deg;
  --flower-opacity: 0.34;
}

.flower.f3 {
  bottom: -58px;
  right: 8%;
  --flower-size: 190px;
  --flower-rotate: -15deg;
  --flower-opacity: 0.38;
}

.flower.f4 {
  top: 12%;
  left: 38%;
  --flower-size: 96px;
  --flower-rotate: 38deg;
  --flower-opacity: 0.22;
}

.light-page .flower {
  opacity: var(--flower-opacity, 0.4);
  filter:
    drop-shadow(0 0 18px rgba(215, 169, 40, 0.18))
    drop-shadow(0 0 32px rgba(154, 99, 216, 0.26));
}

body.light-page {
  color: var(--cream);
  background:
    radial-gradient(circle at 12% 10%, rgba(91, 42, 134, 0.4), transparent 32rem),
    radial-gradient(circle at 84% 18%, rgba(215, 169, 40, 0.12), transparent 28rem),
    linear-gradient(180deg, #0b0612 0%, #170d27 48%, #090711 100%);
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

.skip-link {
  position: absolute;
  top: -4rem;
  left: var(--s3);
  z-index: 20;
  padding: var(--s2) var(--s3);
  border-radius: 6px;
  background: var(--gold);
  color: var(--night);
}

.skip-link:focus {
  top: var(--s3);
}

.site-header {
  position: fixed;
  inset: var(--s3) var(--s3) auto;
  z-index: 10;
  width: min(calc(100% - 2rem), var(--max));
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s3);
  padding: 0.75rem 0.9rem;
  border: 1px solid rgba(215, 169, 40, 0.24);
  border-radius: var(--r);
  background: rgba(9, 7, 17, 0.74);
  backdrop-filter: blur(18px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.24);
}

.light-page .site-header {
  background: rgba(9, 7, 17, 0.82);
  border-color: rgba(215, 169, 40, 0.24);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: var(--s2);
  text-decoration: none;
  min-width: 0;
}

.brand img {
  width: 88px;
  height: 88px;
  object-fit: contain;
}

.brand strong {
  display: block;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.18rem;
  font-weight: 500;
  line-height: 1;
  color: var(--cream);
}

.light-page .brand strong {
  color: var(--cream);
}

.brand small {
  display: block;
  color: var(--muted);
  font-size: 0.84rem;
}

.light-page .brand small {
  color: var(--muted);
}

.nav-toggle {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.nav-button {
  display: none;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.1rem;
}

.nav-links a {
  padding: 0.48rem 0.62rem;
  border-radius: 6px;
  color: rgba(239, 226, 255, 0.78);
  font-size: 1.02rem;
  text-decoration: none;
}

.light-page .nav-links a {
  color: rgba(239, 226, 255, 0.78);
}

.nav-links a:hover,
.nav-links a:focus-visible,
.nav-links a[aria-current="page"] {
  background: rgba(215, 169, 40, 0.14);
  color: var(--soft-gold);
  outline: none;
}

.light-page .nav-links a:hover,
.light-page .nav-links a:focus-visible,
.light-page .nav-links a[aria-current="page"] {
  color: var(--soft-gold);
}

.hero {
  min-height: 92vh;
  position: relative;
  display: grid;
  align-items: center;
  padding: 8rem max(var(--s4), calc((100vw - var(--max)) / 2)) var(--s7);
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: auto 5% 8% auto;
  width: min(38vw, 420px);
  aspect-ratio: 1;
  border: 1px solid rgba(215, 169, 40, 0.18);
  border-radius: 50%;
  pointer-events: none;
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(320px, 0.8fr);
  gap: var(--s7);
  align-items: center;
}

.eyebrow {
  margin: 0 0 var(--s3);
  color: var(--soft-gold);
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.light-page .eyebrow {
  color: var(--soft-gold);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 500;
  line-height: 1.04;
}

h1 {
  max-width: 800px;
  margin-bottom: var(--s4);
  font-size: clamp(3rem, 7vw, 5.5rem);
}

h2 {
  margin-bottom: var(--s4);
  font-size: clamp(2rem, 4vw, 3.4rem);
}

h3 {
  margin-bottom: var(--s2);
  font-size: 1.85rem;
}

.lead {
  max-width: 700px;
  color: var(--muted);
  font-size: 1.28rem;
}

.light-page .lead,
.light-page .body-copy p,
.light-page .card p,
.light-page .page-intro p {
  color: var(--muted);
}

.hero-actions,
.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s3);
  margin-top: var(--s5);
}

.button {
  display: inline-flex;
  min-height: 3rem;
  align-items: center;
  justify-content: center;
  padding: 0.82rem 1.1rem;
  border: 1px solid transparent;
  border-radius: 6px;
  font-size: 1rem;
  font-weight: 800;
  text-decoration: none;
}

.button.primary {
  background: var(--gold);
  color: var(--night);
}

.button.secondary {
  border-color: rgba(239, 226, 255, 0.36);
  color: var(--cream);
}

.light-page .button.secondary {
  border-color: rgba(239, 226, 255, 0.36);
  color: var(--cream);
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
  outline: 2px solid rgba(215, 169, 40, 0.4);
  outline-offset: 3px;
}

.hero-photo {
  position: relative;
}

.hero-photo img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: var(--r);
  border: 1px solid var(--line);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.32);
}

.photo-note {
  position: absolute;
  right: -1rem;
  bottom: 1.25rem;
  max-width: 210px;
  padding: var(--s3);
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: rgba(9, 7, 17, 0.82);
  color: var(--cream);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.25rem;
  line-height: 1.2;
}

.band {
  padding: var(--s8) max(var(--s4), calc((100vw - var(--max)) / 2));
}

.band.paper {
  background:
    radial-gradient(circle at 10% 0%, rgba(154, 99, 216, 0.14), transparent 26rem),
    linear-gradient(180deg, #130a22 0%, #0b0612 100%);
  color: var(--cream);
}

.band.plum {
  background:
    linear-gradient(140deg, rgba(91, 42, 134, 0.34), rgba(9, 7, 17, 0)),
    var(--plum);
}

.section-heading {
  max-width: 760px;
  margin-bottom: var(--s6);
}

.recognition {
  max-width: 860px;
}

.recognition p {
  margin-bottom: var(--s4);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(1.7rem, 3.4vw, 3.35rem);
  line-height: 1.12;
}

.small-copy {
  color: var(--muted);
  font-size: 1.08rem;
}

.list-grid,
.path-grid,
.card-grid,
.method-grid {
  display: grid;
  gap: var(--s4);
}

.list-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.path-grid,
.card-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.method-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.card,
.path-card,
.method-card {
  border: 1px solid rgba(215, 169, 40, 0.22);
  border-radius: var(--r);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.075), rgba(154, 99, 216, 0.08)),
    rgba(9, 7, 17, 0.42);
  padding: var(--s5);
  font-size: 1.08rem;
}

.plum .card,
.plum .path-card,
.plum .method-card {
  border-color: rgba(215, 169, 40, 0.22);
  background:
    linear-gradient(145deg, rgba(154, 99, 216, 0.12), rgba(215, 169, 40, 0.05)),
    rgba(9, 7, 17, 0.46);
}

.card span,
.method-card span {
  display: block;
  margin-bottom: var(--s3);
  color: var(--gold);
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.plum .card p,
.plum .path-card p,
.plum .method-card p {
  color: var(--muted);
}

.partner-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--s4);
}

.partner-card {
  display: flex;
  flex-direction: column;
  gap: var(--s3);
}

.partner-card span {
  margin-bottom: 0;
}

.partner-card p {
  margin: 0;
  color: var(--muted);
}

.partner-title-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--s3);
}

.partner-title-row h3 {
  margin: 0;
}

.partner-title-row .button,
.partner-card > .button {
  min-height: 2.7rem;
  width: fit-content;
  font-size: 0.95rem;
}

.article-viewer {
  border: 1px solid rgba(215, 169, 40, 0.24);
  border-radius: var(--r);
  background: rgba(9, 7, 17, 0.48);
  overflow: hidden;
}

.pdf-frame {
  display: block;
  width: 100%;
  min-height: min(78vh, 900px);
  border: 0;
}

.article-preview-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--s5);
}

.article-page {
  margin: 0;
  border: 1px solid rgba(215, 169, 40, 0.22);
  border-radius: var(--r);
  background: rgba(9, 7, 17, 0.42);
  overflow: hidden;
}

.article-page img {
  display: block;
  width: 100%;
  height: auto;
}

.article-page figcaption {
  padding: var(--s3) var(--s4);
  color: var(--muted);
  font-size: 1rem;
}

.article-continue {
  max-width: 720px;
  margin: var(--s6) auto 0;
  text-align: center;
}

.article-continue p {
  color: var(--muted);
  font-size: 1.08rem;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: var(--s7);
  align-items: center;
}

.split.reverse {
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
}

.feature-img {
  width: 100%;
  aspect-ratio: 5 / 4;
  object-fit: cover;
  border-radius: var(--r);
  border: 1px solid var(--line);
}

.plum .feature-img {
  border-color: var(--line);
}

.book-panel {
  min-height: 430px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: var(--s5);
  border: 1px solid var(--line);
  border-radius: var(--r);
  background:
    linear-gradient(145deg, rgba(215, 169, 40, 0.12), rgba(91, 42, 134, 0.24)),
    #08060d;
  color: var(--cream);
}

.book-panel strong {
  max-width: 360px;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(3rem, 6vw, 5.2rem);
  font-weight: 500;
  line-height: 0.94;
}

.book-panel small {
  color: var(--muted);
}

.invitation {
  max-width: 780px;
  margin: 0 auto;
  text-align: center;
}

.invitation p {
  color: var(--muted);
}

.page-hero {
  padding: 10rem max(var(--s4), calc((100vw - var(--max)) / 2)) var(--s7);
}

.page-intro {
  max-width: 840px;
}

.contact-form {
  display: grid;
  gap: var(--s3);
}

.contact-form label {
  display: grid;
  gap: var(--s1);
  font-size: 1.04rem;
  font-weight: 700;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  min-height: 3rem;
  padding: 0.8rem 0.9rem;
  border: 1px solid rgba(215, 169, 40, 0.26);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--cream);
  font: inherit;
  font-size: 1.05rem;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: rgba(239, 226, 255, 0.56);
}

.contact-form textarea {
  min-height: 9rem;
}

.compact-form {
  margin-top: var(--s4);
}

.compact-form input {
  min-height: 2.8rem;
}

.donation-panel {
  margin-top: var(--s5);
  padding: var(--s5);
  border: 1px solid rgba(215, 169, 40, 0.24);
  border-radius: var(--r);
  background:
    linear-gradient(145deg, rgba(215, 169, 40, 0.09), rgba(154, 99, 216, 0.1)),
    rgba(9, 7, 17, 0.38);
}

.donation-panel p {
  color: var(--muted);
  font-size: 1.08rem;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: var(--s4);
  padding: var(--s5) max(var(--s4), calc((100vw - var(--max)) / 2));
  border-top: 1px solid rgba(215, 169, 40, 0.22);
  color: var(--muted);
}

.light-page .site-footer {
  color: var(--muted);
  border-top-color: rgba(215, 169, 40, 0.22);
}

.site-footer p {
  margin: 0;
  font-size: 1rem;
}

.button.is-disabled {
  cursor: default;
  opacity: 0.72;
  pointer-events: none;
  transform: none;
}

@media (max-width: 900px) {
  .site-header {
    inset: var(--s2) var(--s2) auto;
    width: calc(100% - 1rem);
  }

  .brand img {
    width: 70px;
    height: 70px;
  }

  .brand small {
    display: none;
  }

  .nav-button {
    width: 2.75rem;
    height: 2.75rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 0.35rem;
    border: 1px solid var(--line);
    border-radius: 6px;
  }

  .nav-button span {
    width: 1.15rem;
    height: 2px;
    background: var(--gold);
  }

  .nav-links {
    position: absolute;
    top: calc(100% + 0.45rem);
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: var(--s2);
    border: 1px solid var(--line);
    border-radius: var(--r);
    background: rgba(9, 7, 17, 0.96);
  }

  .light-page .nav-links {
    background: rgba(9, 7, 17, 0.96);
  }

  .nav-toggle:checked ~ .nav-links {
    display: flex;
  }

  .nav-links a {
    padding: 0.82rem 0.9rem;
  }

  .hero,
  .page-hero {
    padding-top: 8rem;
  }

  .hero-grid,
  .split,
  .split.reverse,
  .path-grid,
  .card-grid,
  .method-grid,
  .partner-grid,
  .article-preview-grid,
  .list-grid {
    grid-template-columns: 1fr;
  }

  h1 {
    font-size: clamp(3.2rem, 15vw, 5.3rem);
  }

  .photo-note {
    position: static;
    max-width: none;
    margin-top: var(--s3);
  }

  .band {
    padding-top: var(--s7);
    padding-bottom: var(--s7);
  }

  .site-footer {
    display: block;
  }

  .site-footer p + p {
    margin-top: var(--s2);
  }
}
