:root {
  --night: #141a52;
  --night-deep: #0c1140;
  --night-mid: #232c74;
  --paper: #f5f2e9;
  --paper-dim: #ece6d4;
  --brass: #b98b2a;
  --brass-light: #d8ad50;
  --ink: #1a1c2e;
  --slate: #4b5390;
  --line: #d9d2ba;
  --line-dark: #333d8f;
  --radius: 3px;
  --font-display: "Fraunces", "Iowan Old Style", serif;
  --font-body: "Work Sans", "Segoe UI", sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, monospace;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

a { color: inherit; }

.wrap {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 28px;
}

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 650;
  letter-spacing: -0.01em;
  margin: 0 0 0.4em;
  color: var(--night);
}

/* subtle paper texture */
.skynoise {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.035;
  background-image: radial-gradient(circle, #000 1px, transparent 1px);
  background-size: 3px 3px;
}

/* ---------- header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  padding-bottom: 14px;
  gap: 20px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand-crest {
  width: 42px;
  height: auto;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.brand-name {
  font-family: var(--font-display);
  font-weight: 650;
  color: var(--night);
  font-size: 1.05rem;
}

.brand-place {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brass);
}

.site-nav {
  display: flex;
  gap: 28px;
}

.site-nav a {
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--slate);
  position: relative;
  padding-bottom: 4px;
}

.site-nav a:hover { color: var(--night); }

.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: var(--brass);
  transition: width 0.2s ease;
}

.site-nav a:hover::after { width: 100%; }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 34px;
  height: 34px;
  background: none;
  border: none;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--night);
}

/* ---------- hero ---------- */
.hero {
  position: relative;
  background: radial-gradient(120% 140% at 15% -10%, var(--night-mid) 0%, var(--night) 45%, var(--night-deep) 100%);
  color: var(--paper);
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(1.4px 1.4px at 12% 22%, #fff 55%, transparent 60%),
    radial-gradient(1.4px 1.4px at 28% 62%, #fff 55%, transparent 60%),
    radial-gradient(1px 1px at 42% 18%, #fff 55%, transparent 60%),
    radial-gradient(1.6px 1.6px at 58% 44%, #fff 55%, transparent 60%),
    radial-gradient(1px 1px at 71% 12%, #fff 55%, transparent 60%),
    radial-gradient(1.4px 1.4px at 83% 55%, #fff 55%, transparent 60%),
    radial-gradient(1px 1px at 92% 28%, #fff 55%, transparent 60%),
    radial-gradient(1.2px 1.2px at 6% 78%, #fff 55%, transparent 60%),
    radial-gradient(1px 1px at 36% 85%, #fff 55%, transparent 60%),
    radial-gradient(1.3px 1.3px at 65% 80%, #fff 55%, transparent 60%);
  opacity: 0.55;
}

.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: 0.62fr 1.38fr;
  align-items: center;
  gap: 48px;
  padding-top: 84px;
  padding-bottom: 90px;
}

.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--brass-light);
  margin: 0 0 18px;
}

.hero h1 {
  color: var(--paper);
  font-size: clamp(2.1rem, 4.3vw, 3.4rem);
  line-height: 1.05;
  margin-bottom: 20px;
}

.hero-lede {
  max-width: 46ch;
  color: #d9dcf2;
  font-size: 1.05rem;
}

.hero-actions {
  display: flex;
  gap: 14px;
  margin-top: 32px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  padding: 12px 22px;
  border-radius: var(--radius);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.92rem;
  border: 1.5px solid transparent;
  transition: transform 0.15s ease, background 0.15s ease;
}
.btn:hover { transform: translateY(-1px); }

.btn-brass {
  background: var(--brass);
  color: var(--night-deep);
}
.btn-brass:hover { background: var(--brass-light); }

.btn-outline {
  border-color: rgba(245,242,233,0.4);
  color: var(--paper);
}
.btn-outline:hover { border-color: var(--paper); }

.hero-seal {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  justify-self: center;
}

.hero-seal::before {
  content: "";
  position: absolute;
  inset: -14%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(216,173,80,0.22) 0%, rgba(216,173,80,0) 70%);
}

.hero-seal img {
  position: relative;
  width: min(260px, 60vw);
  padding: 14px;
  border-radius: 50%;
  background: var(--paper);
  filter: drop-shadow(0 18px 30px rgba(0,0,0,0.35));
}

.hero-divider {
  position: absolute;
  left: 0; right: 0; bottom: -1px;
  line-height: 0;
}
.hero-divider svg {
  width: 100%;
  height: 32px;
  display: block;
  fill: var(--paper);
}

/* ---------- sections ---------- */
.section {
  padding: 84px 0;
  position: relative;
  border-bottom: 1px solid var(--line);
}

.section-grid {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 40px;
}

.label-tag {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brass);
  border-left: 2px solid var(--brass);
  padding-left: 10px;
  display: inline-block;
}

.label-tag-light { color: var(--brass-light); border-color: var(--brass-light); }

.section h2 {
  font-size: clamp(1.6rem, 3vw, 2.1rem);
}

.lead-text {
  max-width: 62ch;
  color: #33365a;
  font-size: 1.03rem;
}

.fact-row {
  display: flex;
  gap: 40px;
  list-style: none;
  padding: 0;
  margin: 34px 0 0;
  flex-wrap: wrap;
  border-top: 1px solid var(--line);
  padding-top: 24px;
}
.fact-row li { display: flex; flex-direction: column; gap: 4px; }
.fact-num {
  font-family: var(--font-display);
  font-weight: 650;
  font-size: 1.3rem;
  color: var(--night);
}
.fact-label {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--slate);
}

/* dark events section */
.section-dark {
  background: var(--night-deep);
  color: var(--paper);
  border-bottom: none;
}
.section-heading-row { max-width: 62ch; margin-bottom: 40px; }
.section-dark h2 { color: var(--paper); margin-top: 14px; }
.section-intro { color: #c7cae6; margin: 0; }

.event-list {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid rgba(216,173,80,0.25);
}

.event-item {
  display: grid;
  grid-template-columns: 130px 1fr auto;
  gap: 20px;
  align-items: baseline;
  padding: 22px 0;
  border-bottom: 1px solid rgba(216,173,80,0.25);
}

.event-date {
  font-family: var(--font-mono);
  color: var(--brass-light);
  font-size: 0.88rem;
  white-space: nowrap;
}

.event-main h3 {
  color: var(--paper);
  font-size: 1.12rem;
  margin: 0 0 4px;
}
.event-main p {
  margin: 0;
  color: #c7cae6;
  font-size: 0.92rem;
}
.event-location {
  font-family: var(--font-mono);
  font-size: 0.76rem;
  color: #9aa0cf;
  white-space: nowrap;
  align-self: start;
}

.event-empty { padding: 22px 0; color: #9aa0cf; }

/* contact */
.contact-list {
  margin: 32px 0 0;
  display: grid;
  gap: 20px;
  border-top: 1px solid var(--line);
  padding-top: 24px;
  max-width: 52ch;
}
.contact-list div { display: flex; flex-direction: column; gap: 3px; }
.contact-list dt {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--brass);
}
.contact-list dd { margin: 0; font-size: 1rem; }
.contact-list a { text-decoration: none; border-bottom: 1px solid var(--line-dark); }

/* ---------- footer ---------- */
.site-footer {
  background: var(--night-deep);
  color: #c7cae6;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 48px;
  padding: 56px 28px 40px;
  border-bottom: 1px solid rgba(216,173,80,0.18);
}

.footer-col-brand { display: flex; flex-direction: column; gap: 14px; }
.footer-crest {
  width: 56px;
  padding: 8px;
  border-radius: 50%;
  background: var(--paper);
}
.footer-tagline {
  margin: 0;
  font-size: 0.88rem;
  color: #aeb2dd;
  max-width: 34ch;
}

.footer-col h3 {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--brass-light);
  margin: 0 0 14px;
  font-weight: 500;
}

.footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 0.9rem;
}

.footer-col a {
  color: #c7cae6;
  text-decoration: none;
}
.footer-col a:hover { color: #fff; text-decoration: underline; }

.footer-contact li { color: #aeb2dd; }
.footer-contact a { color: #aeb2dd; }
.footer-contact a:hover { color: #fff; }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 28px 28px;
}
.footer-copyright {
  margin: 0;
  font-size: 0.78rem;
  color: #8b90c2;
}
.footer-admin-link {
  color: rgba(199,202,230,0.3);
  text-decoration: none;
  font-size: 0.9rem;
  padding: 4px 10px;
  display: inline-block;
}
.footer-admin-link:hover { color: rgba(199,202,230,0.7); }

@media (max-width: 760px) {
  .footer-top { grid-template-columns: 1fr; gap: 32px; padding-top: 44px; }
}

/* ---------- responsive ---------- */
@media (max-width: 860px) {
  .hero-inner { grid-template-columns: 1fr; text-align: center; }
  .hero-seal { justify-self: center; margin-bottom: 8px; }
  .hero-seal img { width: 170px; }
  .hero-lede { margin-left: auto; margin-right: auto; }
  .hero-actions { justify-content: center; }
  .section-grid { grid-template-columns: 1fr; }
  .event-item { grid-template-columns: 1fr; gap: 4px; }
  .event-location { justify-self: start; }
}

@media (max-width: 700px) {
  .site-nav { display: none; }
  .nav-toggle { display: flex; }
  .site-header.nav-open .site-nav {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    padding: 16px 28px 24px;
    gap: 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn:hover { transform: none; }
}
