:root {
  --ink: #0f1713;
  --night: #050706;
  --forest: #12221a;
  --leaf: #4f7c56;
  --fern: #9fbe7d;
  --bone: #f5efe4;
  --paper: #fffaf0;
  --berry: #b14f78;
  --gold: #d2ad67;
  --lilac: #b9a8e8;
  --aqua: #6eb9b0;
  --line: rgba(245, 239, 228, 0.18);
  --shadow: 0 24px 70px rgba(4, 10, 7, 0.28);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  color: var(--bone);
  background:
    radial-gradient(circle at 18% 0%, rgba(177, 79, 120, 0.16), transparent 34%),
    radial-gradient(circle at 90% 12%, rgba(110, 185, 176, 0.16), transparent 30%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.035) 0 1px, transparent 1px),
    linear-gradient(180deg, #050706 0%, #102018 42%, #070a08 100%);
  background-size: auto, auto, 42px 42px, auto;
  overflow-x: hidden;
}

a {
  color: inherit;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.8rem clamp(1rem, 4vw, 3rem);
  background: rgba(5, 7, 6, 0.78);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(245, 239, 228, 0.12);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  text-decoration: none;
  min-width: max-content;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  color: #09100c;
  font-weight: 900;
  background: linear-gradient(135deg, var(--fern), var(--gold), var(--berry));
}

.brand strong,
.brand small {
  display: block;
}

.brand small {
  color: rgba(245, 239, 228, 0.68);
  font-size: 0.78rem;
}

.nav-tabs {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
  scrollbar-width: none;
}

.nav-tabs a,
.page-tabs a {
  text-decoration: none;
  color: rgba(245, 239, 228, 0.86);
  border: 1px solid rgba(245, 239, 228, 0.14);
  border-radius: 999px;
  padding: 0.65rem 0.9rem;
  white-space: nowrap;
  transition: 180ms ease;
}

.nav-tabs a:hover,
.page-tabs a:hover,
.resource-grid a:hover,
.signup-card:hover {
  transform: translateY(-2px);
  border-color: rgba(210, 173, 103, 0.7);
}

.hero {
  position: relative;
  min-height: 88vh;
  display: grid;
  align-items: end;
  padding: clamp(8rem, 12vw, 11rem) clamp(1rem, 5vw, 5rem) clamp(3rem, 8vw, 6rem);
  overflow: hidden;
}

.site-atmosphere {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  overflow: hidden;
}

.star-field {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle, rgba(210, 173, 103, 0.9) 0 1px, transparent 1.8px) 10% 18% / 180px 160px,
    radial-gradient(circle, rgba(255, 250, 240, 0.75) 0 1px, transparent 1.8px) 70% 26% / 220px 190px,
    radial-gradient(circle, rgba(159, 190, 125, 0.6) 0 1px, transparent 1.8px) 38% 72% / 260px 230px;
  opacity: 0.38;
  animation: twinkle 5s ease-in-out infinite;
}

.vine-progress {
  position: fixed;
  top: 0;
  left: 18px;
  width: 3px;
  height: 100vh;
  background:
    linear-gradient(var(--gold), var(--fern)) 0 0 / 100% var(--scroll-progress, 0%) no-repeat,
    rgba(245, 239, 228, 0.08);
  border-radius: 999px;
}

.vine-progress::before,
.vine-progress::after {
  content: "";
  position: absolute;
  left: -6px;
  width: 14px;
  height: 22px;
  border-radius: 100% 0 100% 0;
  background: rgba(159, 190, 125, 0.72);
  transform: rotate(-28deg);
  box-shadow: 0 calc(var(--scroll-progress, 0%) * 0.82) 0 rgba(159, 190, 125, 0.8);
}

.vine-progress::after {
  left: -3px;
  transform: rotate(36deg);
  background: rgba(210, 173, 103, 0.7);
}

.floating-book {
  position: absolute;
  width: 72px;
  height: 96px;
  border: 1px solid rgba(245, 239, 228, 0.18);
  border-radius: 4px 8px 8px 4px;
  background:
    linear-gradient(90deg, rgba(255, 250, 240, 0.2) 0 15%, transparent 15%),
    linear-gradient(135deg, rgba(177, 79, 120, 0.5), rgba(18, 34, 26, 0.82), rgba(210, 173, 103, 0.5));
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.34);
  opacity: 0.45;
  animation: drift 11s ease-in-out infinite;
}

.book-one {
  top: 16%;
  right: 8%;
}

.book-two {
  bottom: 20%;
  left: 7%;
  animation-delay: -4s;
}

.raven-flight {
  position: absolute;
  top: 12%;
  left: -12vw;
  width: 46px;
  height: 18px;
  border-radius: 50%;
  background: rgba(3, 5, 4, 0.84);
  filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.28));
  animation: ravenFly 24s linear infinite;
}

.raven-flight::before,
.raven-flight::after {
  content: "";
  position: absolute;
  top: 2px;
  width: 38px;
  height: 14px;
  border-top: 4px solid rgba(3, 5, 4, 0.86);
  border-radius: 50%;
}

.raven-flight::before {
  right: 28px;
  transform: rotate(-18deg);
}

.raven-flight::after {
  left: 28px;
  transform: rotate(18deg);
}

.raven-two {
  top: 22%;
  animation-delay: 11s;
  transform: scale(0.75);
}

.botanical {
  position: absolute;
  width: 280px;
  height: 280px;
  border: 1px solid rgba(159, 190, 125, 0.18);
  border-radius: 42% 58% 48% 52%;
  opacity: 0.24;
  filter: blur(0.2px);
  animation: breathe 14s ease-in-out infinite;
}

.botanical-one {
  top: 8%;
  left: -90px;
  background: radial-gradient(circle at 34% 30%, rgba(159, 190, 125, 0.34), transparent 42%);
}

.botanical-two {
  right: -110px;
  bottom: 12%;
  background: radial-gradient(circle at 64% 44%, rgba(110, 185, 176, 0.28), transparent 42%);
  animation-delay: -6s;
}

.hidden-skull {
  position: absolute;
  right: 13%;
  top: 58%;
  display: grid;
  place-items: center;
  width: 70px;
  height: 82px;
  border: 1px solid rgba(210, 173, 103, 0.24);
  border-radius: 48% 48% 42% 42%;
  color: rgba(210, 173, 103, 0.18);
  font-family: Georgia, serif;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.hero-image,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-image {
  background-image: url("assets/storytimepride/hero-books-skulls-greenery.png");
  background-size: cover;
  background-position: center;
  filter: saturate(1.06) contrast(1.05);
}

.hero-overlay {
  background:
    radial-gradient(circle at 72% 18%, rgba(210, 173, 103, 0.22), transparent 24%),
    linear-gradient(90deg, rgba(3, 8, 6, 0.94) 0%, rgba(3, 8, 6, 0.76) 42%, rgba(3, 8, 6, 0.2) 100%),
    linear-gradient(180deg, rgba(3, 8, 6, 0.08) 0%, rgba(3, 8, 6, 0.9) 100%);
}

.hero::before {
  content: "";
  position: absolute;
  top: -120px;
  right: 8vw;
  width: 180px;
  height: 72vh;
  border-left: 2px solid rgba(159, 190, 125, 0.32);
  border-radius: 50%;
  transform: rotate(12deg);
  animation: vineGrow 3.5s ease-out both;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 10vw 12vh auto;
  width: 120px;
  height: 120px;
  background:
    radial-gradient(circle, rgba(210, 173, 103, 0.45) 1px, transparent 2px) 0 0 / 24px 24px;
  opacity: 0.45;
  animation: sparkle 5s ease-in-out infinite;
}

.hero-content {
  position: relative;
  width: min(720px, 100%);
}

.eyebrow,
.section-kicker {
  margin: 0 0 0.85rem;
  color: var(--fern);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.section-kicker::before {
  content: "";
  display: inline-block;
  width: 1.6rem;
  height: 1px;
  margin-right: 0.55rem;
  vertical-align: middle;
  background: currentColor;
}

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

h1 {
  margin-bottom: 1rem;
  font-family: Georgia, serif;
  font-size: clamp(4rem, 9vw, 8.8rem);
  line-height: 0.9;
  letter-spacing: 0;
}

.hero h1 {
  opacity: 0;
  animation: titleFade 1.2s ease 0.2s forwards;
}

h2 {
  font-family: Georgia, serif;
  font-size: clamp(2rem, 4vw, 4.1rem);
  line-height: 1;
  letter-spacing: 0;
}

h3 {
  font-size: 1.12rem;
  margin-bottom: 0.55rem;
}

p {
  color: rgba(245, 239, 228, 0.78);
  line-height: 1.7;
}

.lead {
  max-width: 660px;
  font-size: clamp(1.1rem, 2vw, 1.4rem);
}

.hero-mantra {
  max-width: 760px;
  color: var(--paper);
  font-size: clamp(1.4rem, 3vw, 2.4rem);
  font-weight: 800;
  line-height: 1.25;
}

.hero-tagline {
  max-width: 720px;
  color: var(--paper);
  font-family: Georgia, serif;
  font-size: clamp(1.9rem, 4vw, 4.4rem);
  line-height: 1;
  opacity: 0;
  animation: titleFade 1.2s ease 0.55s forwards;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  border-radius: 999px;
  padding: 0.8rem 1.2rem;
  text-decoration: none;
  font-weight: 800;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 40px rgba(4, 10, 7, 0.3);
}

.primary {
  background: linear-gradient(135deg, var(--gold), var(--fern));
  color: #08100c;
}

.secondary {
  background: rgba(245, 239, 228, 0.08);
  border-color: rgba(245, 239, 228, 0.25);
}

.hero-actions,
.donation-actions,
.author-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

main > section:not(.hero),
.footer {
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto;
}

.announcement-section,
.partners-section,
.leadership-section,
.festival-status,
.sponsors-section,
.wishlist-section,
.donation-wall-section,
.faq-section,
.newsletter-section {
  padding: clamp(3rem, 6vw, 5rem) 0;
}

.intro-section,
.split-section,
.author-section,
.donation-section,
.drag-section,
.questions-section,
.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(1.4rem, 4vw, 4rem);
  padding: clamp(4rem, 8vw, 7rem) 0;
  align-items: start;
}

.motif-grid,
.people-grid,
.leadership-grid,
.sponsor-grid,
.need-grid,
.impact-grid,
.faq-grid,
.signup-grid,
.resource-grid,
.book-shelf {
  display: grid;
  gap: 1rem;
}

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

.motif-grid article,
.profile-card,
.announcement-card,
.partner-feature,
.gold-card,
.status-card,
.sponsor-grid article,
.sponsor-cta,
.wishlist-card,
.need-card,
.faq-grid details,
.newsletter-section,
.donation-box,
.drag-form,
.question-form,
.contact-form,
.encouragement-form,
.note-card,
.book-shelf article {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(245, 239, 228, 0.065);
  box-shadow: var(--shadow);
}

.motif-grid article,
.profile-card,
.announcement-card,
.partner-feature,
.gold-card,
.status-card,
.sponsor-grid article,
.sponsor-cta,
.wishlist-card,
.need-card,
.faq-grid details,
.newsletter-section,
.donation-box,
.book-shelf article {
  padding: 1.25rem;
}

.announcement-card {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(220px, 0.7fr);
  gap: clamp(1.2rem, 4vw, 3rem);
  align-items: center;
  background:
    linear-gradient(135deg, rgba(210, 173, 103, 0.22), rgba(177, 79, 120, 0.08)),
    rgba(245, 239, 228, 0.08);
  backdrop-filter: blur(18px);
}

.announcement-card h2 {
  margin-bottom: 1rem;
}

.announcement-actions {
  display: grid;
  gap: 0.8rem;
}

.partners-section {
  border-top: 1px solid var(--line);
}

.centered {
  max-width: 860px;
  margin-inline: auto;
  text-align: center;
}

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

.featured-profile {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(160deg, rgba(255, 250, 240, 0.1), rgba(255, 250, 240, 0.035)),
    rgba(9, 16, 12, 0.72);
  backdrop-filter: blur(16px);
}

.featured-profile::after {
  content: "";
  position: absolute;
  inset: auto 1rem 1rem auto;
  width: 56px;
  height: 56px;
  border: 1px solid rgba(210, 173, 103, 0.26);
  border-radius: 50% 50% 44% 44%;
  opacity: 0.45;
}

.venue-medallion {
  display: grid;
  place-items: center;
  width: 100%;
  aspect-ratio: 1 / 1;
  margin-bottom: 1rem;
  border-radius: 8px;
  color: #08100c;
  font-family: Georgia, serif;
  font-size: clamp(3rem, 7vw, 5.5rem);
  font-weight: 900;
  background:
    radial-gradient(circle at 20% 20%, rgba(255, 250, 240, 0.42), transparent 22%),
    linear-gradient(135deg, var(--fern), var(--gold), var(--berry));
}

.leadership-note {
  max-width: 760px;
  margin: 1.25rem auto 0;
  color: var(--paper);
  text-align: center;
  font-size: clamp(1.05rem, 2vw, 1.35rem);
}

.festival-status {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.status-card span,
.sponsor-grid span,
.need-card span,
.impact-grid span {
  display: block;
  margin-bottom: 0.5rem;
  color: var(--gold);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.status-card strong {
  display: block;
  color: var(--paper);
  font-size: 1.25rem;
}

.progress-track {
  height: 12px;
  margin: 1rem 0;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(245, 239, 228, 0.12);
}

.progress-fill {
  width: 34%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--berry), var(--gold), var(--fern));
  animation: progressGlow 2.4s ease-in-out infinite;
}

.partner-feature {
  display: grid;
  grid-template-columns: minmax(180px, 0.7fr) minmax(0, 1.3fr);
  gap: clamp(1.2rem, 4vw, 3rem);
  align-items: center;
  margin-top: 1rem;
}

.impact-grid {
  grid-template-columns: repeat(4, 1fr);
  margin-top: 1rem;
}

.impact-grid article {
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(245, 239, 228, 0.045);
}

.partner-feature.reverse {
  grid-template-columns: minmax(220px, 0.8fr) minmax(0, 1.2fr);
}

.partner-feature h3 {
  font-family: Georgia, serif;
  font-size: clamp(1.8rem, 3vw, 3rem);
  line-height: 1;
}

.partner-feature h3 span,
.profile-card h3 span {
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  color: rgba(245, 239, 228, 0.72);
  font-size: 0.9rem;
  font-weight: 800;
}

.partner-logo,
.partner-headshot {
  width: 100%;
  border-radius: 8px;
  border: 1px solid rgba(245, 239, 228, 0.18);
  box-shadow: 0 18px 46px rgba(4, 10, 7, 0.3);
}

.partner-logo {
  padding: 1rem;
  object-fit: contain;
  background: rgba(255, 250, 240, 0.92);
}

.partner-headshot {
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.gold-card {
  margin: 1rem 0 1.25rem;
  color: #08100c;
  background: linear-gradient(135deg, var(--gold), #f3db9a);
}

.gold-card p {
  color: rgba(8, 16, 12, 0.82);
}

.gold-card .primary {
  color: var(--paper);
  background: #08100c;
}

.gold-card .secondary {
  color: #08100c;
  border-color: rgba(8, 16, 12, 0.24);
  background: rgba(8, 16, 12, 0.06);
}

.fiscal-mini {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.fiscal-mini img {
  width: 86px;
  height: 86px;
  object-fit: cover;
  border: 1px solid rgba(8, 16, 12, 0.18);
  border-radius: 8px;
  background: rgba(255, 250, 240, 0.82);
}

blockquote {
  margin: 1rem 0;
  padding: 1rem;
  border-left: 3px solid var(--gold);
  color: var(--paper);
  background: rgba(255, 250, 240, 0.06);
}

.motif-grid span,
.signup-card span {
  color: var(--gold);
  font-weight: 900;
  font-size: 0.78rem;
}

.page-tabs {
  display: flex;
  gap: 0.65rem;
  max-width: 100%;
  overflow-x: auto;
  padding: 1.25rem 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.statement {
  border-left: 4px solid var(--berry);
  padding-left: clamp(1rem, 3vw, 2rem);
}

.statement p {
  color: var(--paper);
  font-size: clamp(1.2rem, 2.2vw, 1.7rem);
}

.section-heading {
  margin-bottom: 1.5rem;
}

.event-description,
.people-section,
.sponsors-section,
.donation-wall-section,
.faq-section,
.signup-section,
.encouragement-section,
.resources-section {
  padding: clamp(4rem, 8vw, 7rem) 0;
}

.event-description {
  border-top: 1px solid var(--line);
}

.description-copy {
  columns: 2 320px;
  column-gap: clamp(1.5rem, 4vw, 4rem);
}

.description-copy p {
  break-inside: avoid;
}

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

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

.sponsor-grid article {
  min-height: 210px;
  background:
    linear-gradient(180deg, rgba(210, 173, 103, 0.13), transparent),
    rgba(245, 239, 228, 0.055);
}

.sponsor-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1rem;
}

.sponsor-cta p {
  max-width: 760px;
  margin-bottom: 0;
}

.profile-symbol {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin-bottom: 1rem;
  border-radius: 50%;
  color: #08100c;
  background: var(--gold);
}

.profile-role {
  margin-bottom: 0.35rem;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.profile-photo {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  object-position: center 28%;
  border-radius: 8px;
  margin-bottom: 1rem;
  border: 1px solid rgba(245, 239, 228, 0.18);
  box-shadow: 0 18px 46px rgba(4, 10, 7, 0.3);
}

.author-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 1.35rem 0;
}

.book-shelf {
  grid-template-columns: repeat(2, 1fr);
}

.book-card {
  display: flex;
  flex-direction: column;
}

.book-cover {
  display: block;
  width: min(100%, 220px);
  aspect-ratio: 2 / 3;
  object-fit: cover;
  align-self: center;
  border-radius: 6px;
  margin-bottom: 1rem;
  border: 1px solid rgba(245, 239, 228, 0.18);
  background:
    linear-gradient(135deg, rgba(245, 239, 228, 0.08), rgba(245, 239, 228, 0.02)),
    #111815;
  box-shadow: 0 22px 54px rgba(4, 10, 7, 0.34);
}

.book-label {
  margin-bottom: 0.35rem;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.book-link {
  display: inline-flex;
  align-items: center;
  margin-top: 0.4rem;
  color: var(--fern);
  font-weight: 900;
  text-decoration: none;
}

.book-link:hover {
  text-decoration: underline;
}

.book-spine {
  display: block;
  width: 100%;
  height: 180px;
  border-radius: 6px;
  margin-bottom: 1rem;
  background:
    linear-gradient(90deg, rgba(255, 250, 240, 0.18) 0 12%, transparent 12%),
    linear-gradient(135deg, #4f7c56, #111815 60%, #b14f78);
}

.book-spine.alt {
  background:
    linear-gradient(90deg, rgba(255, 250, 240, 0.18) 0 12%, transparent 12%),
    linear-gradient(135deg, #b9a8e8, #15151c 58%, #d2ad67);
}

.book-spine.shadow {
  background:
    linear-gradient(90deg, rgba(255, 250, 240, 0.15) 0 12%, transparent 12%),
    linear-gradient(135deg, #15151c, #263b35 52%, #6eb9b0);
}

.book-spine.blood {
  background:
    linear-gradient(90deg, rgba(255, 250, 240, 0.15) 0 12%, transparent 12%),
    linear-gradient(135deg, #5d1423, #111815 58%, #d2ad67);
}

.book-spine.door {
  background:
    linear-gradient(90deg, rgba(255, 250, 240, 0.16) 0 12%, transparent 12%),
    linear-gradient(135deg, #263b50, #0f1713 56%, #b9a8e8);
}

.donation-section {
  border-block: 1px solid var(--line);
}

.wishlist-section {
  padding-top: 0;
}

.wishlist-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.8fr);
  gap: clamp(1rem, 4vw, 3rem);
  align-items: center;
  background:
    linear-gradient(135deg, rgba(210, 173, 103, 0.16), rgba(110, 185, 176, 0.08)),
    rgba(245, 239, 228, 0.06);
}

.wishlist-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.wishlist-list span {
  border: 1px solid rgba(245, 239, 228, 0.18);
  border-radius: 999px;
  padding: 0.55rem 0.75rem;
  color: var(--paper);
  font-weight: 800;
  background: rgba(5, 7, 6, 0.22);
}

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

.need-card {
  min-height: 190px;
  transition: transform 180ms ease, border-color 180ms ease;
}

.need-card:hover,
.need-card[open] {
  transform: translateY(-3px);
  border-color: rgba(210, 173, 103, 0.68);
}

.need-card summary,
.faq-grid summary {
  cursor: pointer;
  list-style: none;
}

.need-card summary::-webkit-details-marker,
.faq-grid summary::-webkit-details-marker {
  display: none;
}

.need-card strong {
  display: block;
  color: var(--paper);
  font-family: Georgia, serif;
  font-size: 1.45rem;
  line-height: 1.05;
}

.need-card a {
  color: var(--fern);
  font-weight: 900;
  text-decoration: none;
}

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

.signup-card {
  min-height: 170px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 1.25rem;
  text-decoration: none;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(145deg, rgba(245, 239, 228, 0.1), rgba(245, 239, 228, 0.035));
  transition: 180ms ease;
}

.signup-card strong {
  color: var(--paper);
  font-size: 1.25rem;
  line-height: 1.2;
}

label {
  display: grid;
  gap: 0.45rem;
  color: rgba(245, 239, 228, 0.82);
  font-weight: 800;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid rgba(245, 239, 228, 0.18);
  border-radius: 8px;
  padding: 0.85rem 0.95rem;
  color: var(--paper);
  background: rgba(4, 10, 7, 0.5);
  font: inherit;
}

textarea {
  resize: vertical;
}

select {
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--gold) 50%),
    linear-gradient(135deg, var(--gold) 50%, transparent 50%);
  background-position: calc(100% - 18px) 52%, calc(100% - 12px) 52%;
  background-repeat: no-repeat;
  background-size: 6px 6px, 6px 6px;
}

.drag-section {
  border-top: 1px solid var(--line);
}

.question-form,
.drag-form,
.contact-form,
.encouragement-form {
  display: grid;
  gap: 1rem;
  padding: 1.25rem;
}

.encouragement-section {
  border-top: 1px solid var(--line);
}

.faq-grid {
  grid-template-columns: repeat(2, 1fr);
}

.faq-grid summary {
  color: var(--paper);
  font-weight: 900;
}

.newsletter-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.8fr);
  gap: clamp(1rem, 4vw, 3rem);
  align-items: center;
  background:
    linear-gradient(135deg, rgba(177, 79, 120, 0.16), rgba(110, 185, 176, 0.1)),
    rgba(245, 239, 228, 0.06);
}

.newsletter-form {
  display: grid;
  gap: 1rem;
}

.raven-guide {
  position: relative;
  width: 170px;
  height: 170px;
  margin-top: 1.5rem;
}

.raven-body {
  position: absolute;
  left: 42px;
  top: 18px;
  width: 86px;
  height: 100px;
  border-radius: 48% 48% 42% 42%;
  background:
    radial-gradient(circle at 36% 28%, rgba(255, 250, 240, 0.95) 0 4px, transparent 5px),
    linear-gradient(135deg, #060807, #151a17);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.34);
}

.raven-body::before,
.raven-body::after {
  content: "";
  position: absolute;
  top: 42px;
  width: 72px;
  height: 34px;
  border-radius: 50%;
  background: #080b09;
}

.raven-body::before {
  right: 55px;
  transform: rotate(-22deg);
}

.raven-body::after {
  left: 55px;
  transform: rotate(22deg);
}

.raven-glasses {
  position: absolute;
  top: 27px;
  left: 23px;
  z-index: 2;
  width: 42px;
  height: 16px;
  border-top: 2px solid var(--gold);
}

.raven-glasses::before,
.raven-glasses::after {
  content: "";
  position: absolute;
  top: -7px;
  width: 16px;
  height: 16px;
  border: 2px solid var(--gold);
  border-radius: 50%;
}

.raven-glasses::before {
  left: 0;
}

.raven-glasses::after {
  right: 0;
}

.raven-key {
  position: absolute;
  bottom: 16px;
  left: 41px;
  width: 12px;
  height: 12px;
  border: 2px solid var(--gold);
  border-radius: 50%;
}

.raven-key::after {
  content: "";
  position: absolute;
  left: 4px;
  top: 10px;
  width: 2px;
  height: 22px;
  background: var(--gold);
}

.raven-book {
  position: absolute;
  left: 26px;
  bottom: 10px;
  width: 120px;
  height: 42px;
  border: 1px solid rgba(210, 173, 103, 0.48);
  border-radius: 8px;
  background:
    linear-gradient(90deg, transparent 48%, rgba(8, 16, 12, 0.18) 50%, transparent 52%),
    linear-gradient(135deg, #fff4dc, #d2ad67);
}

.note-wall {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 1rem;
}

.note-card {
  padding: 1rem;
}

.note-card p {
  margin: 0;
  color: var(--paper);
}

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

.resource-grid a {
  min-height: 84px;
  display: flex;
  align-items: end;
  padding: 1rem;
  text-decoration: none;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(79, 124, 86, 0.22), transparent),
    rgba(245, 239, 228, 0.055);
  transition: 180ms ease;
}

.contact-section a {
  color: var(--fern);
}

.footer {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 1rem;
  padding: clamp(2rem, 5vw, 4rem) 0;
  border-top: 1px solid var(--line);
}

.footer p {
  margin: 0;
}

.footer-brand {
  color: var(--paper);
  font-family: Georgia, serif;
  font-size: clamp(2rem, 5vw, 4rem);
  line-height: 1;
}

.footer-logos {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 0.75rem;
}

.footer-logos img {
  width: 72px;
  height: 72px;
  object-fit: contain;
  padding: 0.35rem;
  border-radius: 8px;
  background: rgba(255, 250, 240, 0.92);
}

.press-card {
  display: grid;
  gap: 1rem;
  justify-items: center;
  text-align: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 1.5rem;
  background: rgba(245, 239, 228, 0.065);
  box-shadow: var(--shadow);
}

.press-card img {
  width: min(180px, 100%);
  max-height: 180px;
  object-fit: contain;
}

.press-card img[src*="art-inclusive"] {
  padding: 0.75rem;
  border-radius: 8px;
  background: rgba(255, 250, 240, 0.92);
}

.footer-logos span {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.55rem 0.75rem;
  color: rgba(245, 239, 228, 0.82);
  font-weight: 800;
}

.footer-logos a {
  color: var(--fern);
  font-weight: 900;
  text-decoration: none;
}

.admin-page {
  min-height: 100vh;
  background:
    radial-gradient(circle at 12% 0%, rgba(210, 173, 103, 0.14), transparent 28%),
    radial-gradient(circle at 90% 8%, rgba(110, 185, 176, 0.12), transparent 30%),
    linear-gradient(180deg, #050706, #101b15 46%, #060807);
}

.admin-lock {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 1rem;
}

.admin-lock-card,
.admin-shell {
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto;
}

.admin-lock-card {
  max-width: 620px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: clamp(1.5rem, 4vw, 3rem);
  background: rgba(245, 239, 228, 0.07);
  box-shadow: var(--shadow);
}

.admin-lock-card form,
.tracker-card form {
  display: grid;
  gap: 0.8rem;
}

.admin-hint {
  margin-top: 1rem;
  font-size: 0.9rem;
}

.admin-shell {
  padding: clamp(1rem, 4vw, 3rem) 0 4rem;
}

.admin-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

.admin-header h1 {
  font-size: clamp(2.4rem, 6vw, 5.4rem);
}

.admin-actions,
.admin-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.file-button {
  position: relative;
}

.admin-quick-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-bottom: 1rem;
}

.admin-quick-links a {
  border: 1px solid rgba(218, 184, 101, 0.42);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(218, 184, 101, 0.16), rgba(245, 239, 228, 0.05)),
    rgba(245, 239, 228, 0.06);
  box-shadow: var(--shadow);
  color: var(--paper);
  padding: 1rem;
  text-decoration: none;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.admin-quick-links a:hover {
  border-color: rgba(218, 184, 101, 0.78);
  background:
    linear-gradient(135deg, rgba(218, 184, 101, 0.24), rgba(127, 172, 112, 0.12)),
    rgba(245, 239, 228, 0.08);
  transform: translateY(-2px);
}

.admin-quick-links span {
  display: block;
  color: var(--gold);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  margin-bottom: 0.35rem;
  text-transform: uppercase;
}

.admin-quick-links strong {
  display: block;
  font-size: clamp(1.1rem, 2vw, 1.45rem);
}

.admin-summary {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-bottom: 1rem;
}

.admin-summary article,
.tracker-card,
.tracker-entry {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(245, 239, 228, 0.06);
  box-shadow: var(--shadow);
}

.admin-summary article {
  padding: 1rem;
}

.admin-summary span {
  display: block;
  color: var(--gold);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.admin-summary strong {
  display: block;
  margin-top: 0.4rem;
  color: var(--paper);
  font-size: clamp(1.4rem, 3vw, 2.2rem);
}

.admin-tabs {
  margin: 1rem 0;
}

.admin-tabs button {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.75rem 1rem;
  color: var(--paper);
  background: rgba(245, 239, 228, 0.06);
  cursor: pointer;
  font: inherit;
  font-weight: 900;
}

.admin-tabs button.active {
  color: #08100c;
  background: linear-gradient(135deg, var(--gold), var(--fern));
}

.tracker-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.tracker-card {
  padding: 1rem;
}

.tracker-card h2 {
  font-size: clamp(1.7rem, 3vw, 2.4rem);
}

.tracker-card input,
.tracker-card select,
.tracker-card textarea,
.admin-lock-card input {
  width: 100%;
  border: 1px solid rgba(245, 239, 228, 0.18);
  border-radius: 8px;
  padding: 0.85rem 0.95rem;
  color: var(--paper);
  background: rgba(4, 10, 7, 0.5);
  font: inherit;
}

.tracker-list {
  display: grid;
  gap: 0.65rem;
  margin-top: 1rem;
}

.tracker-entry {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem;
}

.tracker-entry strong,
.tracker-entry span {
  display: block;
}

.tracker-entry span {
  color: rgba(245, 239, 228, 0.66);
  font-size: 0.9rem;
}

.tracker-entry p {
  margin: 0.35rem 0 0;
}

.tracker-entry button {
  border: 1px solid rgba(245, 239, 228, 0.18);
  border-radius: 999px;
  padding: 0.4rem 0.65rem;
  color: var(--paper);
  background: rgba(177, 79, 120, 0.18);
  cursor: pointer;
}

.brand-system-page main {
  padding-top: 2rem;
}

.brand-hero,
.brand-section {
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto;
  padding: clamp(3rem, 7vw, 6rem) 0;
}

.brand-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.75fr);
  gap: clamp(1.5rem, 5vw, 5rem);
  align-items: center;
  min-height: 78vh;
}

.emblem-card {
  position: relative;
  min-height: 440px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    radial-gradient(circle at 50% 34%, rgba(210, 173, 103, 0.18), transparent 32%),
    rgba(245, 239, 228, 0.06);
  box-shadow: var(--shadow);
}

.emblem-card p {
  position: absolute;
  bottom: 1rem;
  margin: 0;
  color: var(--paper);
  font-weight: 900;
}

.emblem-books {
  position: relative;
  width: 160px;
  height: 150px;
  border: 2px solid var(--gold);
  border-radius: 8px;
  background:
    linear-gradient(90deg, transparent 48%, rgba(210, 173, 103, 0.5) 50%, transparent 52%),
    linear-gradient(135deg, rgba(255, 250, 240, 0.08), rgba(255, 250, 240, 0.02));
}

.emblem-books::before,
.emblem-books::after {
  content: "";
  position: absolute;
  left: -26px;
  width: 210px;
  height: 28px;
  border: 2px solid var(--gold);
  border-radius: 6px;
}

.emblem-books::before {
  top: -42px;
  transform: rotate(-4deg);
}

.emblem-books::after {
  bottom: -42px;
  transform: rotate(4deg);
}

.emblem-leaf {
  position: absolute;
  width: 140px;
  height: 190px;
  border: 2px solid rgba(159, 190, 125, 0.72);
  border-radius: 70% 30% 70% 30%;
}

.leaf-left {
  left: 12%;
  transform: rotate(-28deg);
}

.leaf-right {
  right: 12%;
  transform: rotate(28deg) scaleX(-1);
}

.emblem-skull {
  position: absolute;
  display: grid;
  place-items: center;
  width: 72px;
  height: 82px;
  border: 2px solid rgba(210, 173, 103, 0.58);
  border-radius: 50% 50% 42% 42%;
  color: rgba(210, 173, 103, 0.75);
  font-family: Georgia, serif;
  font-weight: 900;
}

.emblem-stars {
  position: absolute;
  inset: 12%;
  background:
    radial-gradient(circle, var(--gold) 0 2px, transparent 3px) 10% 20% / 90px 90px,
    radial-gradient(circle, var(--berry) 0 2px, transparent 3px) 75% 30% / 110px 110px,
    radial-gradient(circle, var(--aqua) 0 2px, transparent 3px) 35% 78% / 95px 95px;
  opacity: 0.9;
}

.brand-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.brand-grid.two {
  grid-template-columns: repeat(2, 1fr);
}

.brand-grid article,
.palette-grid article,
.raven-brand-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 1.25rem;
  background: rgba(245, 239, 228, 0.06);
  box-shadow: var(--shadow);
}

.palette-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.palette-grid span {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  margin-bottom: 0.85rem;
  border-radius: 8px;
  background: var(--swatch);
  border: 1px solid rgba(245, 239, 228, 0.18);
}

.palette-grid strong,
.palette-grid small {
  display: block;
}

.palette-grid small {
  color: rgba(245, 239, 228, 0.66);
  font-weight: 800;
}

.raven-brand-card {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: clamp(1rem, 4vw, 3rem);
  align-items: center;
}

@keyframes drift {
  0%,
  100% {
    transform: translate3d(0, 0, 0) rotate(-8deg);
  }
  50% {
    transform: translate3d(18px, -26px, 0) rotate(5deg);
  }
}

@keyframes twinkle {
  0%,
  100% {
    opacity: 0.24;
  }
  50% {
    opacity: 0.56;
  }
}

@keyframes ravenFly {
  0% {
    transform: translate3d(-12vw, 0, 0) scale(0.8);
    opacity: 0;
  }
  8%,
  78% {
    opacity: 0.55;
  }
  100% {
    transform: translate3d(120vw, 34px, 0) scale(1);
    opacity: 0;
  }
}

@keyframes titleFade {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes bookReveal {
  to {
    opacity: 0.78;
    transform: translateY(0);
  }
}

@keyframes breathe {
  0%,
  100% {
    transform: scale(1) rotate(0deg);
  }
  50% {
    transform: scale(1.08) rotate(8deg);
  }
}

@keyframes vineGrow {
  from {
    clip-path: inset(0 0 100% 0);
  }
  to {
    clip-path: inset(0);
  }
}

@keyframes sparkle {
  0%,
  100% {
    opacity: 0.25;
  }
  50% {
    opacity: 0.62;
  }
}

@keyframes progressGlow {
  0%,
  100% {
    filter: brightness(1);
  }
  50% {
    filter: brightness(1.25);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

@media (max-width: 980px) {
  .topbar {
    align-items: flex-start;
    flex-direction: column;
  }

  .intro-section,
  .split-section,
  .author-section,
  .donation-section,
  .drag-section,
  .questions-section,
  .contact-section {
    grid-template-columns: 1fr;
  }

  .announcement-card,
  .partner-feature,
  .partner-feature.reverse,
  .wishlist-card,
  .newsletter-section,
  .brand-hero,
  .raven-brand-card {
    grid-template-columns: 1fr;
  }

  .admin-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .motif-grid,
  .people-grid,
  .leadership-grid,
  .festival-status,
  .impact-grid,
  .sponsor-grid,
  .need-grid,
  .brand-grid,
  .brand-grid.two,
  .palette-grid,
  .admin-quick-links,
  .admin-summary,
  .tracker-grid,
  .signup-grid,
  .resource-grid,
  .note-wall {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .hero {
    min-height: 82vh;
  }

  .hero-overlay {
    background:
      linear-gradient(180deg, rgba(3, 8, 6, 0.5) 0%, rgba(3, 8, 6, 0.94) 72%),
      linear-gradient(90deg, rgba(3, 8, 6, 0.82), rgba(3, 8, 6, 0.25));
  }

  .motif-grid,
  .people-grid,
  .leadership-grid,
  .festival-status,
  .impact-grid,
  .sponsor-grid,
  .need-grid,
  .faq-grid,
  .signup-grid,
  .resource-grid,
  .admin-quick-links,
  .note-wall,
  .book-shelf {
    grid-template-columns: 1fr;
  }

  .footer {
    grid-template-columns: 1fr;
  }

  .sponsor-cta {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer-logos {
    justify-content: flex-start;
  }
}
