:root {
  --bg-deep: #050505;
  --bg-mid: #111111;
  --bg-glow: #1c1c1c;
  --surface: #f3efe6;
  --ink: #16130f;
  --ink-soft: #e8ddd0;
  --accent: #f28a1a;
  --accent-strong: #d86f0b;
  --teal: #2ec4b6;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: "Avenir Next", "Trebuchet MS", "Segoe UI", sans-serif;
  color: var(--ink);
  background-color: #000;
  background-image:
    radial-gradient(circle at 80% -10%, #2a1a0f 0%, transparent 42%),
    radial-gradient(circle at 10% 30%, #171717 0%, transparent 45%),
    linear-gradient(145deg, var(--bg-deep), var(--bg-mid));
  min-height: 100vh;
  border: 0;
}

header {
  position: relative;
  z-index: 20;
  background: #000;
  border-bottom: 1px solid #ffffff22;
}

.nav-wrap {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0.95rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.site-masthead {
  max-width: 1160px;
  margin: 0 auto;
  border-radius: 0 0 14px 14px;
  min-height: 320px;
  background: linear-gradient(120deg, #00000045, #00000018), url('../assets/hero-orange.png') center 30% / cover no-repeat;
  box-shadow: 0 14px 32px #00000045;
}

.logo { color: #f28a1a; text-decoration: none; font-weight: 800; letter-spacing: 1px; font-size: 1.1rem; }

nav { display: flex; flex-wrap: wrap; gap: 0.85rem; }
nav a { color: #d6e8ef; text-decoration: none; font-weight: 700; }
nav a.active, nav a:hover { color: var(--accent); }

.container { max-width: 1160px; margin: 0 auto; padding: 1.1rem 1rem 3rem; }
.page-hero {
  border-radius: 18px;
  overflow: hidden;
  position: relative;
  min-height: 250px;
  background: linear-gradient(180deg, #00000033, #00000088), var(--hero-image) center / cover no-repeat;
  box-shadow: 0 18px 38px #00000050;
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  padding: 1rem;
}
.page-hero-logo {
  width: min(290px, 64vw);
  background: #ffffffeb;
  border-radius: 14px;
  padding: 0.6rem;
  box-shadow: 0 10px 22px #00000050;
}
.page-hero-logo img {
  width: 100%;
  height: auto;
  display: block;
}
.page-logo-wrap {
  margin-top: 1rem;
  display: flex;
  justify-content: center;
}
.page-logo {
  width: min(280px, 72vw);
  background: transparent;
  border-radius: 0;
  padding: 0;
  box-shadow: none;
}
.page-logo img {
  width: 100%;
  height: auto;
  display: block;
  
}

.hero-banner {
  min-height: 220px;
  border-radius: 24px;
  overflow: hidden;
  position: relative;
  background: linear-gradient(145deg, #141414f2, #222222f2);
  display: flex;
  align-items: flex-end;
  box-shadow: 0 24px 46px #00000066;
}

.hero-overlay {
  width: 100%;
  padding: 2.1rem 2rem;
  background: linear-gradient(to top, #050505f2 0%, #0a0a0a99 48%, transparent 100%);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.7rem;
}

.hero-title {
  margin: 0;
  color: #fff;
  font-size: clamp(2rem, 6vw, 4.2rem);
  line-height: 0.95;
  max-width: 14ch;
}

.hero-tag {
  margin-top: 0.9rem;
  margin-bottom: 0;
  color: #ecf6fb;
  font-size: clamp(1rem, 2.2vw, 1.25rem);
  max-width: 55ch;
}

.btn {
  display: inline-block;
  margin-top: 0;
  background: var(--accent);
  color: #16120a;
  font-weight: 800;
  text-decoration: none;
  border-radius: 12px;
  padding: 0.8rem 1.15rem;
}
.btn:hover { background: var(--accent-strong); }

.welcome-strip {
  margin-top: 1rem;
  background: transparent;
  border-left: 5px solid #f28a1a;
  border-radius: 12px;
  padding: 1rem 1.1rem;
  font-weight: 600;
  font-size: 1.33em;
  color: #f28a1a;
}

.section-title { color: #fff; margin-top: 2.2rem; margin-bottom: 0.65rem; }
.lead { color: #e5d7c8; max-width: 75ch; margin-top: 0; }

.grid { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); margin-top: 1rem; }
.events-list {
  grid-template-columns: 1fr;
}
.event-card {
  cursor: pointer;
  border: 1px solid #ffffff20;
  transition: transform 120ms ease, box-shadow 120ms ease, border-color 120ms ease;
}
.event-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 26px #00000035;
  border-color: #e9b247aa;
}
.event-card:focus-visible {
  outline: 3px solid #e9b247;
  outline-offset: 2px;
}
.event-viewer {
  margin-top: 1.1rem;
  border-radius: 14px;
  overflow: hidden;
  background: #0a1c27;
  border: 1px solid #ffffff20;
}
.event-viewer iframe {
  width: 100%;
  height: 980px;
  border: 0;
  background: transparent;
}
.card {
  background: var(--surface);
  border-radius: 16px;
  padding: 1.05rem 1.1rem;
  box-shadow: 0 8px 24px #00000030;
}

.table-wrap {
  overflow-x: auto;
  background: #000;
  border: 1px solid #f28a1a;
  border-radius: 16px;
  box-shadow: 0 8px 24px #00000030;
}
.table { width: 100%; border-collapse: collapse; min-width: 680px; background: #000; }
.table th, .table td {
  text-align: left;
  padding: 0.8rem;
  border-bottom: 1px solid #f28a1a;
  border-right: 1px solid #f28a1a;
}
.table th:last-child, .table td:last-child { border-right: 0; }
.table th { background: #f28a1a; color: #000; }
.table td { color: #f6a449; background: #000; }

.events-surface {
  border-radius: 18px;
  padding: 1rem;
  background: linear-gradient(160deg, #111111, #1e1e1e);
  box-shadow: inset 0 0 0 1px #ffffff1a, 0 10px 30px #00000050;
}

iframe.events-frame {
  width: 100%;
  height: 980px;
  border: 0;
  border-radius: 12px;
  background: transparent;
  filter: hue-rotate(-4deg) saturate(1.05) contrast(1.03);
}

.contact-box {
  background: transparent;
  border-left: 5px solid #f28a1a;
  border-radius: 14px;
  padding: 1.2rem;
  color: #f28a1a;
}
.contact-box a { color: #f6a449; }
.contact-box a:hover { color: #ffc27a; }
.small { font-size: 0.92rem; color: #5d7380; }
.social-section {
  margin-top: 3rem;
  display: grid;
  gap: 1.25rem;
  justify-items: center;
  text-align: center;
}
.social-card {
  width: min(520px, 100%);
  background: #f7efe3;
  border-radius: 14px;
  padding: 1rem;
  box-shadow: 0 8px 24px #00000025;
}
.social-link {
  color: #0e3a52;
  text-decoration: none;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
}
.social-link:hover { color: #145f84; }
.social-icon {
  width: 28px;
  height: 28px;
  display: inline-block;
}
footer { text-align: center; color: #c9dbe3; padding: 1.8rem 1rem 2rem; }
.gallery-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  margin-top: 1rem;
}
.gallery-card {
  margin: 0;
  background: #151515;
  border: 1px solid #ffffff1c;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 8px 24px #00000040;
}
.gallery-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}
.gallery-card figcaption {
  color: #f0d7ba;
  padding: 0.6rem 0.75rem;
  font-weight: 700;
}

@media (max-width: 900px) {
  .hero-banner { min-height: 200px; }
  .hero-overlay { padding: 1.5rem 1.2rem; }
}

@media (max-width: 700px) {
  .container { padding-top: 0.85rem; }
  .page-hero { min-height: 195px; border-radius: 14px; }
  .page-hero-logo { width: min(230px, 72vw); }
  .hero-banner { min-height: 185px; border-radius: 16px; }
  .site-masthead {
    min-height: 200px;
    background-position: center 34%;
    border-radius: 0 0 10px 10px;
  }
  .hero-title { max-width: 10ch; }
  .hero-tag { max-width: 30ch; }
  .welcome-strip { font-size: 0.96rem; }
  iframe.events-frame { height: 840px; }
}
