:root {
  --navy: #3e2c24;
  --navy-deep: #2a1f1a;
  --gold: #b85c38;
  --gold-soft: #e2b28a;
  --cream: #f3ebe1;
  --paper: #fffcf7;
  --ink: #2a221c;
  --muted: #6b5e54;
  --line: rgba(184, 92, 56, 0.28);
  --danger: #8b2e2e;
  --ok: #3d6b4f;
  --shadow: 0 18px 40px rgba(42, 31, 26, 0.14);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Source Sans 3", "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--cream);
  line-height: 1.6;
}

a { color: #8a4a32; }
a:hover { color: var(--navy); }

.banner {
  background: #6b3a32;
  color: #f6ece6;
  text-align: center;
  font-size: 0.92rem;
  letter-spacing: 0.02em;
  padding: 0.55rem 1rem;
  position: sticky;
  top: 0;
  z-index: 50;
}
.banner strong { color: #f0d0b4; }

.hero-sky {
  background:
    linear-gradient(180deg, #5c4033 0%, #3e2c24 48%, #2a1f1a 100%);
  color: var(--cream);
  position: relative;
  overflow: hidden;
}
.hero-sky::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.hero-sky.hero-photo {
  background-image:
    linear-gradient(180deg, rgba(8,12,28,.35) 0%, rgba(8,12,28,.18) 38%, rgba(8,12,28,.55) 100%),
    url("../img/hero-stage.jpg");
  background-size: cover;
  background-position: center 18%;
  background-repeat: no-repeat;
  min-height: min(92vh, 58rem);
}
.hero-sky.hero-photo::after { display: none; }

.card-art {
  display: block;
  width: calc(100% + 2.6rem);
  height: 170px;
  object-fit: cover;
  margin: -1.25rem -1.3rem 1rem;
  border-radius: 16px 16px 0 0;
}
.art-caption {
  font-size: 0.8rem;
  color: var(--muted);
  margin-top: 1.6rem;
}

.wrap {
  width: min(1080px, calc(100% - 2rem));
  margin: 0 auto;
}

header.site {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.1rem 0 0.4rem;
  position: relative;
  z-index: 2;
}
.brand {
  text-decoration: none;
  color: var(--cream);
}
.brand-kicker {
  display: block;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-soft);
}
.brand-title {
  font-family: Fraunces, Georgia, serif;
  font-weight: 600;
  font-size: 1.35rem;
  letter-spacing: 0.01em;
}

nav.primary {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1rem;
}
nav.primary a {
  color: #e8e4d8;
  text-decoration: none;
  font-size: 0.95rem;
}
nav.primary a:hover,
nav.primary a[aria-current="page"] {
  color: var(--gold-soft);
}

.hero {
  padding: 2.2rem 0 3.4rem;
  position: relative;
  z-index: 2;
}
.hero h1 {
  font-family: Fraunces, Georgia, serif;
  font-weight: 500;
  font-size: clamp(2rem, 5vw, 3.4rem);
  line-height: 1.15;
  margin: 0 0 0.8rem;
}
.hero p.lede {
  max-width: 40rem;
  font-size: 1.15rem;
  color: #efe6d0;
}
.actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.5rem; }

.btn {
  display: inline-block;
  text-decoration: none;
  border: 0;
  cursor: pointer;
  font: inherit;
  padding: 0.7rem 1.15rem;
  border-radius: 999px;
}
.btn-gold {
  background: var(--gold);
  color: var(--navy-deep);
  font-weight: 600;
}
.btn-gold:hover { background: var(--gold-soft); color: var(--navy-deep); }
.btn-ghost {
  background: transparent;
  color: var(--cream);
  border: 1px solid rgba(232, 212, 139, 0.5);
}
.btn-ghost:hover { border-color: var(--gold-soft); color: var(--gold-soft); }
.btn-navy {
  background: var(--navy);
  color: var(--cream);
  font-weight: 600;
}

main { padding: 2.4rem 0 3.5rem; }
h2 {
  font-family: Fraunces, Georgia, serif;
  font-weight: 550;
  font-size: 1.8rem;
  margin: 0 0 0.6rem;
}
.section-kicker {
  color: var(--gold);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 0.75rem;
  font-weight: 700;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.2rem;
}
.card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 1.25rem 1.3rem;
  box-shadow: var(--shadow);
}
.card h3 {
  font-family: Fraunces, Georgia, serif;
  margin: 0 0 0.4rem;
}
.muted { color: var(--muted); }

.notice {
  border-left: 4px solid var(--gold);
  background: #f7eee4;
  padding: 1rem 1.1rem;
  border-radius: 0 12px 12px 0;
  margin: 1.2rem 0;
}
.notice.strict {
  border-left-color: var(--danger);
  background: #fbeeee;
}

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 1rem 0 1.4rem;
}
.chip {
  border: 1px solid var(--line);
  background: var(--paper);
  border-radius: 999px;
  padding: 0.35rem 0.8rem;
  cursor: pointer;
  font: inherit;
}
.chip[aria-pressed="true"],
.chip:hover {
  background: var(--navy);
  color: var(--cream);
  border-color: var(--navy);
}

.memory {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 1.2rem 1.3rem 1rem;
  margin-bottom: 1rem;
}
.memory header {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}
.who {
  font-family: Fraunces, Georgia, serif;
  font-size: 1.15rem;
}
.meta { font-size: 0.9rem; color: var(--muted); }
.tags { margin-top: 0.7rem; }
.tag {
  display: inline-block;
  font-size: 0.75rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  background: #f0ddd0;
  color: #6a3d2c;
  border-radius: 999px;
  padding: 0.15rem 0.55rem;
  margin-right: 0.3rem;
}

form.share label {
  display: block;
  font-weight: 650;
  margin: 0.9rem 0 0.3rem;
}
input[type="text"],
input[type="email"],
input[type="number"],
select,
textarea {
  width: 100%;
  font: inherit;
  padding: 0.65rem 0.75rem;
  border: 1px solid #d9c4b4;
  border-radius: 10px;
  background: #fff;
}
textarea { min-height: 160px; resize: vertical; }
.help { font-size: 0.88rem; color: var(--muted); margin: 0.2rem 0 0; }
.check {
  display: flex;
  gap: 0.6rem;
  align-items: flex-start;
  margin-top: 0.9rem;
  font-weight: 400;
}
fieldset {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0.8rem 1rem 1rem;
  margin: 1rem 0;
}
legend { font-weight: 700; padding: 0 0.35rem; }

.timeline { position: relative; margin: 1.5rem 0 0; padding-left: 1.4rem; }
.timeline::before {
  content: "";
  position: absolute;
  left: 6px;
  top: 0.3rem;
  bottom: 0.3rem;
  width: 2px;
  background: var(--line);
}
.t-item { position: relative; margin: 0 0 1.4rem; padding-left: 1.1rem; }
.t-item::before {
  content: "";
  position: absolute;
  left: -1.28rem;
  top: 0.45rem;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 4px #eadfd4;
}
.year {
  font-family: Fraunces, Georgia, serif;
  color: var(--navy);
  font-size: 1.2rem;
  margin: 0;
}

.jump { margin: 1rem 0 2rem; }
.people {
  width: 100%;
  border-collapse: collapse;
  margin: 0.8rem 0 1.6rem;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
}
.people th, .people td {
  text-align: left;
  padding: 0.55rem 0.85rem;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
.people th {
  background: #f4e8dc;
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--navy);
}
.people tr:last-child td { border-bottom: 0; }
section { margin-top: 2.2rem; }

footer.site {
  background: var(--navy-deep);
  color: #d9d2c2;
  padding: 2rem 0 2.4rem;
  font-size: 0.92rem;
}
footer.site a { color: var(--gold-soft); }
footer.site h2, footer.site .brand-title { color: var(--cream); }
.foot-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 1.5rem;
}
@media (max-width: 800px) {
  header.site { flex-direction: column; align-items: flex-start; }
  .foot-grid { grid-template-columns: 1fr; }
}

.empty {
  text-align: center;
  padding: 2rem 1rem;
  color: var(--muted);
}
.sample-note {
  font-size: 0.8rem;
  color: #7a5b12;
  background: #fff3cc;
  display: inline-block;
  padding: 0.1rem 0.45rem;
  border-radius: 6px;
  margin-bottom: 0.4rem;
}
