:root {
  --bg: #060606;
  --surface: rgba(17, 17, 17, 0.88);
  --surface-strong: rgba(24, 24, 24, 0.98);
  --text: #f2ece1;
  --muted: #c3b39b;
  --line: rgba(219, 181, 99, 0.18);
  --brand: #d9ae58;
  --brand-dark: #a86f1d;
  --accent: #c8161d;
  --accent-dark: #7f0a0f;
  --silver: #d7d7d7;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.45);
  --radius: 28px;
  --container: 1160px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(216, 174, 88, 0.14), transparent 24%),
    radial-gradient(circle at 85% 18%, rgba(200, 22, 29, 0.18), transparent 18%),
    linear-gradient(180deg, #090909 0%, #050505 48%, #0c0908 100%);
}

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

a {
  color: inherit;
  text-decoration: none;
}

code {
  font-family: "Courier New", monospace;
  font-size: 0.95em;
  background: rgba(255, 255, 255, 0.08);
  padding: 0.15rem 0.35rem;
  border-radius: 6px;
}

.site-shell {
  min-height: 100vh;
}

.container {
  width: min(var(--container), calc(100% - 2rem));
  margin: 0 auto;
}

.narrow {
  width: min(920px, 100%);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(18px);
  background: rgba(8, 8, 8, 0.76);
  border-bottom: 1px solid var(--line);
}

.topbar {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  min-height: 84px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-right: auto;
}

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

.brand strong,
.hero h1,
.page-hero h1,
.section h2,
.person-card h2,
.person-card h3,
.event-body h2,
.feature-card h2 {
  font-family: "Arial Black", Arial, sans-serif;
  letter-spacing: -0.03em;
  color: #fff7ea;
}

.brand-kicker,
.eyebrow,
.person-role,
.timeline-date {
  display: inline-block;
  font-family: Arial, sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.72rem;
  color: var(--brand);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.site-nav a {
  font-family: Arial, sans-serif;
  font-size: 0.95rem;
  padding: 0.75rem 0.9rem;
  border-radius: 999px;
  color: #e7d8bf;
}

.site-nav .site-nav-admin {
  border: 1px solid var(--line);
}

.inline-editor-bar {
  position: sticky;
  top: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0.55rem 1rem;
  background: rgba(245, 235, 213, 0.96);
  color: #1b1612;
  border-bottom: 1px solid rgba(59, 45, 16, 0.18);
  backdrop-filter: blur(12px);
}

.inline-editor-bar strong {
  font-family: Arial, sans-serif;
}

.inline-editor-actions {
  margin-left: auto;
  display: flex;
  gap: 0.5rem;
}

.inline-editable {
  outline: 1px dashed rgba(217, 174, 88, 0.28);
  outline-offset: 4px;
  transition: outline-color 120ms ease, background-color 120ms ease;
}

.inline-editable:hover,
.inline-editable:focus {
  outline-color: rgba(217, 174, 88, 0.88);
  background: rgba(255, 255, 255, 0.03);
}

.inline-editable.is-inline-dirty {
  outline-color: rgba(200, 22, 29, 0.95);
  background: rgba(200, 22, 29, 0.05);
}

.site-nav a.is-active,
.site-nav a:hover,
.button-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
}

.menu-toggle {
  display: none;
  border: 0;
  background: transparent;
  padding: 0.25rem;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: #fff;
  margin: 5px 0;
}

.hero,
.section {
  padding: 3rem 0;
}

.page-hero {
  padding: 2.25rem 0 1.75rem;
}

.hero-grid,
.split-grid,
.footer-grid {
  display: grid;
  gap: 1.5rem;
}

.hero-grid {
  grid-template-columns: minmax(0, 1.05fr) minmax(340px, 0.95fr);
  align-items: center;
  min-height: calc(68vh - 84px);
  padding: 1.5rem 0 1rem;
  gap: 2.5rem;
}

.hero h1,
.page-hero h1 {
  font-size: clamp(3rem, 5.2vw, 4.9rem);
  line-height: 0.95;
  margin: 0.45rem 0 1rem;
  max-width: 10ch;
}

.page-hero h1 {
  font-size: clamp(2.1rem, 3.2vw, 3.1rem);
  line-height: 1;
  margin-bottom: 0.55rem;
  max-width: 18ch;
}

.lead {
  font-size: 1rem;
  line-height: 1.55;
  color: #e0d0ba;
  max-width: 56ch;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 2rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 1.25rem;
  border-radius: 999px;
  font-family: Arial, sans-serif;
  font-weight: 700;
}

.button-small {
  min-height: 36px;
  padding: 0 0.9rem;
  font-size: 0.86rem;
}

.button-secondary {
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(32, 32, 32, 0.92), rgba(17, 17, 17, 0.96));
  color: #f7efe2;
}

.hero-panel,
.card,
.feature-card,
.person-card,
.content-card,
.event-card {
  background:
    linear-gradient(180deg, rgba(24, 24, 24, 0.98), rgba(12, 12, 12, 0.94)),
    var(--surface);
  border: 1px solid rgba(217, 174, 88, 0.18);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.hero-panel {
  padding: 1rem;
  display: grid;
  gap: 1rem;
  align-self: center;
  position: relative;
  z-index: 1;
  width: min(100%, 360px);
}

.hero-mark {
  width: 100%;
  max-width: 180px;
  margin: 0 auto;
  object-fit: contain;
}

.hero-copy {
  position: relative;
  display: block;
}

.hero-copy-card {
  position: relative;
  z-index: 1;
  max-width: 500px;
  padding: 0.5rem 0;
}

.hero-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.7rem;
  margin-top: 1.1rem;
}

.hero-facts article {
  padding: 0.8rem 0.9rem 0.75rem;
  border-radius: 18px;
  border: 1px solid rgba(217, 174, 88, 0.16);
  background: linear-gradient(180deg, rgba(26, 26, 26, 0.9), rgba(14, 14, 14, 0.94));
}

.hero-facts strong {
  display: block;
  font-family: "Arial Black", Arial, sans-serif;
  font-size: 1.45rem;
  line-height: 1;
  color: #f4d494;
}

.hero-facts span {
  display: block;
  margin-top: 0.35rem;
  color: #dfcfb5;
  font-size: 0.92rem;
}

.hero-visual {
  display: flex;
  justify-content: flex-end;
  position: relative;
}

.hero-media {
  position: relative;
  width: min(100%, 420px);
  min-height: 420px;
  overflow: hidden;
  border-radius: 32px;
  border: 1px solid rgba(217, 174, 88, 0.22);
  background: #090909;
  box-shadow: var(--shadow);
}

.hero-media::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(5, 5, 5, 0.12) 0%, rgba(5, 5, 5, 0.46) 68%, rgba(5, 5, 5, 0.92) 100%),
    linear-gradient(135deg, rgba(200, 22, 29, 0.12), transparent 45%);
  z-index: 1;
}

.hero-image {
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: cover;
  object-position: center;
}

.hero-image-contain {
  object-fit: contain;
  padding: 1.5rem;
  background:
    radial-gradient(circle at 50% 35%, rgba(200, 22, 29, 0.18), transparent 32%),
    linear-gradient(180deg, rgba(15, 15, 15, 1), rgba(8, 8, 8, 1));
}

.section-next-event {
  padding-top: 0;
}

.next-event-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1rem;
  align-items: end;
  padding: 1.1rem 1.2rem;
  border-radius: 24px;
  border: 1px solid rgba(217, 174, 88, 0.18);
  background:
    linear-gradient(135deg, rgba(200, 22, 29, 0.12), rgba(217, 174, 88, 0.06)),
    linear-gradient(180deg, rgba(18, 18, 18, 0.98), rgba(10, 10, 10, 0.98));
  box-shadow: var(--shadow);
}

.next-event-card h2 {
  margin: 0.1rem 0 0.45rem;
}

.next-event-card p {
  margin: 0.25rem 0;
}

.next-event-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  color: #e7d6bb;
}

.next-event-actions {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
}

.timeline-item {
  padding: 1rem;
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(14, 14, 14, 0.92), rgba(10, 10, 10, 0.98));
  border: 1px solid rgba(217, 174, 88, 0.18);
}

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

.card-grid,
.people-grid,
.team-preview {
  display: grid;
  gap: 0.9rem;
}

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

.card,
.feature-card,
.person-card,
.content-card {
  padding: 1.1rem;
}

.person-card h2,
.person-card h3 {
  margin: 0.15rem 0 0.45rem;
  font-size: 1.7rem;
}

.person-card p {
  margin: 0.35rem 0;
}

.feature-image {
  width: 100%;
  height: 210px;
  object-fit: cover;
  border-radius: 20px;
  margin: 0.75rem 0 1rem;
  border: 1px solid rgba(217, 174, 88, 0.24);
}

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

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

.timeline {
  display: grid;
  gap: 0.8rem;
}

.facebook-feed-wrap {
  overflow: hidden;
  border-radius: 20px;
}

.facebook-feed-card iframe {
  width: 100%;
  max-width: 100%;
  border-radius: 20px;
  background: #fff;
}

.inline-event-toolbar {
  display: flex;
  justify-content: flex-end;
}

.event-editor-card {
  display: grid;
  gap: 0.8rem;
  padding: 1rem;
  border-radius: 22px;
  border: 1px solid rgba(217, 174, 88, 0.18);
  background: linear-gradient(180deg, rgba(18, 18, 18, 0.98), rgba(10, 10, 10, 0.98));
  box-shadow: var(--shadow);
}

.event-editor-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
}

.event-editor-head .event-edit-field {
  flex: 1 1 auto;
  margin-bottom: 0;
}

.event-date-input {
  width: min(220px, 100%);
  padding: 0.65rem 0.75rem;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  background: rgba(255, 250, 242, 0.98);
  color: #17110c;
  font: 700 0.95rem Arial, sans-serif;
  text-align: center;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.55);
}

.event-date-input.inline-editable:hover,
.event-date-input.inline-editable:focus {
  background: rgba(255, 250, 242, 0.98);
  color: #17110c;
}

.event-editor-actions {
  display: flex;
  justify-content: flex-end;
  margin-top: 0.6rem;
}

.event-edit-field {
  display: grid;
  gap: 0.25rem;
  margin-bottom: 0.5rem;
}

.event-edit-label {
  font: 700 0.72rem Arial, sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #d9ae58;
}

.event-edit-field .inline-editable:empty::before {
  content: attr(data-placeholder);
  color: #9e9079;
}

.public-form label {
  display: grid;
  gap: 0.3rem;
}

.required-mark {
  color: #d84c52;
}

.public-form input,
.public-form textarea {
  width: 100%;
  padding: 0.7rem 0.8rem;
  border-radius: 12px;
  border: 1px solid rgba(217, 174, 88, 0.2);
  background: rgba(255, 250, 242, 0.98);
  color: #16110d;
  font: inherit;
}

.public-form input:focus,
.public-form textarea:focus {
  outline: none;
  border-color: #b88423;
  box-shadow: 0 0 0 3px rgba(217, 174, 88, 0.16);
}

.public-form textarea {
  min-height: 140px;
  resize: vertical;
}

.form-grid {
  display: grid;
  gap: 0.8rem;
}

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

.form-status {
  margin: 0.8rem 0;
  padding: 0.75rem 0.9rem;
  border-radius: 14px;
  font-family: Arial, sans-serif;
}

.form-status-success {
  background: rgba(76, 128, 76, 0.18);
  border: 1px solid rgba(76, 128, 76, 0.32);
}

.form-status-error {
  background: rgba(155, 37, 37, 0.18);
  border: 1px solid rgba(155, 37, 37, 0.32);
}

.form-note {
  margin: 0;
  color: #ddd0bb;
  line-height: 1.55;
}

.hp-field {
  position: absolute;
  left: -9999px;
}

.timeline-item h3 {
  margin: 0.35rem 0;
}

.stack {
  display: grid;
  gap: 1rem;
}

.events-stack {
  align-content: start;
}

.events-stack .event-card {
  max-height: 260px;
}

.events-stack .event-editor-card {
  max-height: none;
}

.events-stack .event-body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
}

.event-body,
.feature-card,
.facebook-feed-card,
.split-grid > * {
  min-width: 0;
}

.event-body h2,
.event-body p,
.event-date span {
  overflow-wrap: anywhere;
  word-break: break-word;
}

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

.person-card-large .person-links {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  margin-top: 0.7rem;
}

.event-card {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 0.9rem;
  padding: 0.9rem;
  align-items: stretch;
  min-height: 0;
}

.event-date {
  display: grid;
  align-content: center;
  gap: 0.55rem;
  text-align: center;
  padding: 1rem;
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(200, 22, 29, 0.96), rgba(118, 8, 12, 0.94));
  color: #fff7ea;
  min-height: 110px;
}

.event-date strong {
  font-family: "Arial Black", Arial, sans-serif;
  font-size: 2.5rem;
  line-height: 1;
}

.event-date span {
  font-family: Arial, sans-serif;
  letter-spacing: 0.02em;
  font-size: 0.92rem;
  line-height: 1.35;
  text-transform: none;
}

.site-footer {
  padding: 3rem 0 4rem;
}

.footer-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: start;
  padding: 1.5rem;
  background: linear-gradient(180deg, rgba(15, 15, 15, 0.98), rgba(6, 6, 6, 1));
  color: #efe4d4;
  border-radius: calc(var(--radius) + 6px);
  border: 1px solid rgba(217, 174, 88, 0.18);
}

.footer-title {
  margin: 0 0 0.9rem;
  font-family: Arial, sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--brand);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-social {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}

.footer-social-main {
  display: grid;
  gap: 0.55rem;
}

.footer-badge {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  align-self: flex-start;
  min-width: 132px;
  min-height: 112px;
  padding: 0.7rem 0.8rem;
  border-radius: 18px;
  border: 1px solid rgba(217, 174, 88, 0.18);
  background: linear-gradient(180deg, rgba(26, 26, 26, 0.96), rgba(11, 11, 11, 1));
}

.footer-badge img {
  width: 100%;
  max-width: 112px;
  height: auto;
  min-height: 0;
  object-fit: contain;
}

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

.partners-grid {
  display: grid;
  gap: 1rem;
}

.partner-card {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  min-height: 120px;
  padding: 1.1rem 1.4rem;
  border-radius: calc(var(--radius) + 2px);
  border: 1px solid rgba(217, 174, 88, 0.16);
  background: linear-gradient(180deg, rgba(18, 18, 18, 0.96), rgba(9, 9, 9, 1));
}

.partner-card:hover {
  border-color: rgba(217, 174, 88, 0.34);
  transform: translateY(-1px);
}

.partner-logo-link {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
}

.partner-card img {
  width: auto;
  max-width: min(100%, 280px);
  max-height: 76px;
  object-fit: contain;
}

.hero::before,
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(120deg, transparent 0%, rgba(217, 174, 88, 0.04) 35%, transparent 70%),
    radial-gradient(circle at 82% 26%, rgba(200, 22, 29, 0.14), transparent 24%);
  pointer-events: none;
}

.hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 110px;
  background: linear-gradient(180deg, rgba(9, 9, 9, 0) 0%, rgba(6, 6, 6, 0.88) 72%, rgba(6, 6, 6, 1) 100%);
  pointer-events: none;
}

.hero,
.page-hero {
  position: relative;
}

.hero-grid,
.narrow,
.section .container {
  position: relative;
  z-index: 1;
}

@media (max-width: 900px) {
  .hero-grid,
  .split-grid,
  .footer-grid,
  .people-grid,
  .card-grid,
  .team-preview,
  .event-card,
  .event-editor-head,
  .form-grid-2,
  .next-event-card {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    min-height: auto;
  }

  .hero-copy {
    min-height: auto;
  }

  .hero-copy-card {
    padding: 0.5rem 0 0.75rem;
  }

  .hero-facts {
    grid-template-columns: 1fr;
  }

  .hero-media,
  .hero-image {
    min-height: 380px;
  }

  .site-nav {
    position: absolute;
    top: 84px;
    left: 1rem;
    right: 1rem;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 1rem;
    background: linear-gradient(180deg, rgba(20, 20, 20, 0.98), rgba(8, 8, 8, 0.98));
    border: 1px solid rgba(217, 174, 88, 0.22);
    border-radius: 24px;
    box-shadow: var(--shadow);
  }

  .site-nav a {
    color: #f1e2ca;
    background: rgba(255, 255, 255, 0.02);
  }

  .site-nav a:hover {
    color: #fff7ea;
    background: rgba(217, 174, 88, 0.12);
  }

  .site-nav a.is-active,
  .site-nav .site-nav-admin {
    color: #fff7ea;
    background: linear-gradient(135deg, var(--accent), var(--accent-dark));
    border-color: transparent;
  }

  .site-nav.is-open {
    display: flex;
  }

  .menu-toggle {
    display: block;
  }

  .menu-toggle span {
    background: #f4e7cf;
  }

  .footer-social {
    flex-direction: column;
    align-items: flex-start;
  }

  .event-editor-head {
    display: grid;
    align-items: start;
  }

  .event-date-input {
    width: 100%;
  }

  .events-stack .event-card {
    max-height: none;
  }

  .event-card {
    align-items: start;
  }

  .event-date {
    min-height: 0;
  }
}
