:root {
  --bg: #060606;
  --panel: rgba(14, 14, 14, 0.86);
  --panel-strong: rgba(18, 18, 18, 0.96);
  --gold: #ffc928;
  --gold-soft: #ffe289;
  --gold-deep: #ab7900;
  --paper: #f7f1e3;
  --muted: #c0b8a0;
  --line: rgba(255, 201, 40, 0.18);
  --line-strong: rgba(255, 201, 40, 0.36);
  --shadow: 0 30px 90px rgba(0, 0, 0, 0.45);
  --success: #8de7a1;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Archivo", sans-serif;
  color: var(--paper);
  background:
    radial-gradient(circle at top left, rgba(255, 201, 40, 0.23), transparent 22%),
    radial-gradient(circle at 80% 15%, rgba(255, 201, 40, 0.16), transparent 20%),
    radial-gradient(circle at bottom right, rgba(255, 201, 40, 0.18), transparent 24%),
    linear-gradient(140deg, #040404 0%, #0d0d0d 38%, #161108 100%);
  min-height: 100vh;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.22;
  background:
    linear-gradient(110deg, transparent 0 28%, rgba(255, 201, 40, 0.08) 28% 31%, transparent 31% 55%, rgba(255, 201, 40, 0.08) 55% 58%, transparent 58%),
    radial-gradient(circle, rgba(255, 255, 255, 0.06) 1px, transparent 1px);
  background-size: 100% 100%, 12px 12px;
}

a {
  color: inherit;
}

button,
input,
textarea,
select {
  font: inherit;
}

.page-shell {
  width: min(1220px, calc(100% - 32px));
  margin: 0 auto;
  padding: 24px 0 48px;
}

.hero,
.section,
.site-footer {
  border: 1px solid var(--line);
  background: var(--panel);
  backdrop-filter: blur(14px);
  box-shadow: var(--shadow);
}

.hero {
  border-radius: 30px;
  overflow: hidden;
}

.topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 22px 28px;
  border-bottom: 1px solid var(--line);
}

.brand-lockup {
  display: flex;
  align-items: center;
  gap: 18px;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 18px;
  color: #111;
  background: linear-gradient(180deg, var(--gold-soft), var(--gold));
  font-family: "Anton", sans-serif;
  font-size: 1.75rem;
  letter-spacing: 0.06em;
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.nav-links a {
  text-decoration: none;
  color: var(--paper);
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid transparent;
}

.nav-links a:hover {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.03);
}

.eyebrow,
.status-label,
.panel-label,
.spotlight-tag,
.storage-note,
.status-chip {
  display: inline-block;
  margin: 0 0 8px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.72rem;
  color: var(--gold-soft);
}

.topbar h1,
.hero-copy h2,
.section-heading h2,
.spotlight-card h2,
.info-panel h2,
.summary-card h3,
.event-card h3,
.memory-board h2,
.guestbook-feed-panel h2,
.site-footer h2,
.memorial-hero h2,
.tribute-board h2 {
  margin: 0;
  font-family: "Anton", sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.topbar h1 {
  font-size: 1.3rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.18fr 0.82fr;
  gap: 30px;
  padding: 42px 28px 34px;
}

.hero-copy h2,
.memorial-hero h2 {
  font-size: clamp(2.8rem, 5vw, 5.8rem);
  line-height: 0.94;
  max-width: 10ch;
  margin-bottom: 20px;
}

.hero-copy h2 span,
.memorial-hero h2 span {
  color: var(--gold);
  text-shadow: 0 0 24px rgba(255, 201, 40, 0.32);
}

.kicker {
  margin-top: 0;
  margin-bottom: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--gold-soft);
}

.lede,
.section-note,
.spotlight-card p,
.stat-card p,
.event-card p,
.info-panel p,
.summary-card p,
.form-feedback,
.guestbook-entry p,
.memorial-chip p,
.site-footer p,
.tribute-note p,
.honor-card p,
.check-list li {
  color: var(--muted);
}

.lede,
.section-note {
  line-height: 1.7;
}

.hero-actions,
.cta-row,
.form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.hero-actions {
  margin: 28px 0;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 800;
  border: none;
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  color: #111;
  background: linear-gradient(180deg, var(--gold-soft), var(--gold));
  box-shadow: 0 10px 28px rgba(255, 201, 40, 0.24);
}

.button-secondary {
  color: var(--paper);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line);
}

.hero-points,
.check-list,
.event-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
}

.hero-points li::before,
.check-list li::before,
.event-card li::before {
  content: "■";
  color: var(--gold);
  margin-right: 10px;
}

.hero-panel {
  display: grid;
  gap: 18px;
}

.mascot-card,
.mini-status,
.spotlight-card,
.stat-card,
.event-card,
.info-panel,
.summary-card,
.fund-card,
.memory-board,
.guestbook-feed-panel,
.guestbook-entry,
.memorial-chip,
.tribute-board,
.honor-card,
.tribute-note {
  border: 1px solid var(--line);
  background: var(--panel-strong);
}

.mascot-card {
  padding: 24px;
  border-radius: 24px;
}

.crest {
  position: relative;
  min-height: 300px;
  border-radius: 22px;
  overflow: hidden;
  display: grid;
  place-items: center;
  margin-bottom: 16px;
  background:
    radial-gradient(circle at 50% 30%, rgba(255, 201, 40, 0.4), transparent 26%),
    linear-gradient(180deg, rgba(255, 201, 40, 0.18), rgba(255, 201, 40, 0) 50%),
    linear-gradient(135deg, #090909, #18110a);
}

.crest::before,
.crest::after {
  content: "";
  position: absolute;
  inset: 0;
}

.crest::before {
  background:
    linear-gradient(120deg, transparent 0 37%, rgba(255, 201, 40, 0.12) 37% 41%, transparent 41% 100%),
    linear-gradient(300deg, transparent 0 57%, rgba(255, 201, 40, 0.12) 57% 60%, transparent 60% 100%);
}

.crest::after {
  inset: 18px;
  border: 1px solid rgba(255, 201, 40, 0.18);
  border-radius: 18px;
}

.crest-sword {
  position: absolute;
  width: 34px;
  height: 75%;
  background: linear-gradient(180deg, #f7f7f7, #a09a90);
  clip-path: polygon(50% 0, 72% 10%, 62% 84%, 50% 100%, 38% 84%, 28% 10%);
}

.crest-ring {
  width: 220px;
  height: 220px;
  border-radius: 50%;
  border: 18px solid var(--gold);
  box-shadow: inset 0 0 0 8px rgba(6, 6, 6, 0.96), 0 0 38px rgba(255, 201, 40, 0.22);
}

.crest-text-top,
.crest-text-bottom {
  position: absolute;
  font-family: "Anton", sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.18em;
}

.crest-text-top {
  top: 64px;
  font-size: 1.6rem;
}

.crest-text-bottom {
  bottom: 54px;
  font-size: 1.45rem;
  color: var(--gold-soft);
}

.mini-status {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  padding: 18px;
  border-radius: 22px;
}

.mini-status strong {
  display: block;
  margin-top: 8px;
}

.ticker {
  overflow: hidden;
  white-space: nowrap;
  margin: 16px 0;
  padding: 16px 0;
}

.ticker-track {
  display: inline-flex;
  gap: 34px;
  min-width: 100%;
  animation: slide 22s linear infinite;
}

.ticker-track span {
  font-family: "Anton", sans-serif;
  font-size: 1.3rem;
  letter-spacing: 0.12em;
  color: rgba(255, 201, 40, 0.9);
}

@keyframes slide {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

.section,
.site-footer {
  margin-top: 18px;
  border-radius: 28px;
  padding: 30px 28px;
}

.pulse-grid,
.support-grid,
.planning-grid,
.split-layout,
.form-layout {
  display: grid;
  gap: 18px;
}

.pulse-grid {
  grid-template-columns: 1.05fr 0.95fr;
}

.quick-stats,
.events-grid,
.sponsor-grid,
.memorial-preview-grid,
.honor-grid {
  display: grid;
  gap: 18px;
}

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

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

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

.form-layout,
.split-layout,
.support-grid,
.planning-grid {
  grid-template-columns: 1.1fr 0.9fr;
}

.spotlight-card,
.stat-card,
.event-card,
.info-panel,
.summary-card,
.fund-card,
.memory-board,
.guestbook-feed-panel,
.tribute-board,
.honor-card {
  padding: 22px;
  border-radius: 24px;
}

.spotlight-card {
  background:
    radial-gradient(circle at top right, rgba(255, 201, 40, 0.16), transparent 36%),
    linear-gradient(160deg, rgba(255, 255, 255, 0.03), transparent 45%),
    var(--panel-strong);
}

.spotlight-card h2,
.section-heading h2,
.info-panel h2 {
  font-size: clamp(1.9rem, 3vw, 3rem);
}

.stat-card strong {
  display: block;
  font-family: "Anton", sans-serif;
  font-size: 2rem;
  letter-spacing: 0.05em;
  margin: 6px 0 8px;
}

.event-card {
  position: relative;
  overflow: hidden;
}

.event-card::after,
.fund-card::after,
.honor-card::after {
  content: "";
  position: absolute;
  inset: auto -24px -24px auto;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 201, 40, 0.18), transparent 66%);
}

.event-meta {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: start;
  margin-bottom: 16px;
}

.status-chip {
  margin: 0;
  padding: 8px 10px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
}

.status-chip.is-open {
  color: var(--success);
  border-color: rgba(141, 231, 161, 0.28);
}

.event-price {
  margin: 16px 0 18px;
  color: var(--paper);
  font-weight: 700;
}

.event-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
}

.interest-button.is-active {
  background: rgba(255, 201, 40, 0.16);
  border-color: var(--line-strong);
}

.info-panel.emphasis-panel {
  background:
    radial-gradient(circle at top right, rgba(255, 201, 40, 0.15), transparent 32%),
    var(--panel-strong);
}

.field-grid,
.checkbox-grid {
  display: grid;
  gap: 16px;
}

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

.rsvp-form,
.guestbook-form,
.tribute-form {
  display: grid;
  gap: 18px;
}

label,
fieldset {
  display: grid;
  gap: 8px;
}

fieldset {
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 18px;
}

legend {
  padding: 0 8px;
  color: var(--gold-soft);
  font-weight: 700;
}

input,
textarea,
select {
  width: 100%;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
  color: var(--paper);
  padding: 14px 16px;
}

input::placeholder,
textarea::placeholder {
  color: #8f886f;
}

textarea {
  resize: vertical;
}

.form-feedback {
  min-height: 24px;
  margin: 0;
}

.form-feedback.is-success {
  color: var(--success);
}

.summary-card {
  height: fit-content;
}

.guestbook-feed {
  display: grid;
  gap: 14px;
  margin-top: 18px;
}

.guestbook-entry,
.tribute-note,
.memorial-chip {
  border-radius: 18px;
  padding: 16px;
}

.guestbook-entry h3,
.tribute-note h3 {
  margin: 0 0 8px;
}

.guestbook-entry small,
.tribute-note small {
  color: var(--gold-soft);
}

.guestbook-header {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: end;
}

.memorial-preview-grid {
  grid-template-columns: repeat(3, 1fr);
  margin-bottom: 16px;
}

.memorial-chip strong,
.honor-card strong {
  display: block;
  font-size: 1.1rem;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: end;
}

.memorial-hero {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 24px;
  align-items: center;
}

.hero-side-card {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--panel-strong);
}

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

@media (max-width: 1080px) {
  .hero-grid,
  .pulse-grid,
  .support-grid,
  .planning-grid,
  .form-layout,
  .split-layout,
  .memorial-hero,
  .quick-stats,
  .events-grid,
  .sponsor-grid,
  .memorial-preview-grid,
  .honor-grid,
  .field-grid,
  .checkbox-grid {
    grid-template-columns: 1fr;
  }

  .topbar,
  .site-footer {
    flex-direction: column;
    align-items: start;
  }

  .mini-status {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .page-shell {
    width: min(100% - 18px, 100%);
    padding-top: 10px;
  }

  .hero,
  .section,
  .site-footer {
    border-radius: 22px;
  }

  .topbar,
  .hero-grid,
  .section,
  .site-footer {
    padding-left: 18px;
    padding-right: 18px;
  }

  .hero-copy h2,
  .memorial-hero h2 {
    font-size: clamp(2.3rem, 13vw, 4rem);
  }

  .crest {
    min-height: 240px;
  }

  .crest-ring {
    width: 170px;
    height: 170px;
    border-width: 14px;
  }
}
