:root {
  color-scheme: dark;
  --bg: #070707;
  --bg-soft: #10100f;
  --surface: rgba(18, 17, 14, .82);
  --surface-solid: #141310;
  --surface-strong: #1f1c16;
  --text: #f6f1e5;
  --muted: #c8c0ad;
  --muted-strong: #9f988a;
  --line: rgba(255, 255, 255, .14);
  --line-strong: rgba(199, 174, 99, .44);
  --gold: #c7ae63;
  --gold-soft: #f0d68a;
  --green: #7db28d;
  --red: #d36b5d;
  --steel: #a7b0b8;
  --shadow: 0 18px 60px rgba(0, 0, 0, .48);
  --radius-card: 8px;
  --radius-panel: 12px;
  --header-height: 82px;
  --ease: cubic-bezier(.2, .8, .2, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background:
    linear-gradient(180deg, rgba(7, 7, 7, .95), rgba(16, 16, 15, .98)),
    repeating-linear-gradient(90deg, rgba(255,255,255,.025) 0 1px, transparent 1px 120px),
    var(--bg);
  overflow-x: hidden;
}

body.menu-open {
  overflow: hidden;
}

body::selection {
  color: #080806;
  background: var(--gold-soft);
}

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

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

button,
input {
  font: inherit;
}

:focus-visible {
  outline: 3px solid var(--gold-soft);
  outline-offset: 3px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.container,
.section-inner,
.header-inner,
.footer-inner,
.footer-bottom {
  width: min(1160px, calc(100% - 32px));
  margin-inline: auto;
}

.site-main {
  min-height: 60vh;
}

.section {
  padding: 88px 0;
}

.section--tight {
  padding: 64px 0;
}

.section--surface {
  background:
    linear-gradient(180deg, rgba(255,255,255,.035), rgba(255,255,255,.015)),
    rgba(255,255,255,.015);
  border-block: 1px solid rgba(255,255,255,.06);
}

.section-heading {
  max-width: 820px;
  margin: 0 auto 34px;
  text-align: center;
}

.section-heading.align-left {
  margin-inline: 0;
  text-align: left;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 10px;
  color: var(--gold-soft);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 30px;
  height: 2px;
  background: var(--gold);
}

h1,
h2,
h3,
h4,
p {
  margin-top: 0;
}

h1,
h2,
h3,
h4 {
  line-height: 1.08;
  letter-spacing: 0;
}

h1 {
  margin-bottom: 18px;
  font-size: 3.2rem;
}

h2 {
  margin-bottom: 14px;
  font-size: 2.35rem;
}

h3 {
  font-size: 1.25rem;
}

p {
  color: var(--muted);
}

.lead {
  font-size: 1.08rem;
  color: #e7dfcf;
}

.text-link {
  color: var(--gold-soft);
  font-weight: 700;
}

.text-link:hover {
  color: #fff2bb;
}

.site-loader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  place-items: center;
  background:
    linear-gradient(180deg, rgba(0,0,0,.95), rgba(13,12,10,.98)),
    var(--bg);
  transition: opacity .45s ease, visibility .45s ease;
}

.site-loader.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.loader-inner {
  width: min(520px, calc(100% - 48px));
  text-align: center;
}

.loader-logo {
  width: 96px;
  height: 96px;
  margin: 0 auto 12px;
  object-fit: contain;
  filter: drop-shadow(0 0 26px rgba(199, 174, 99, .35));
  animation: loaderPulse 1.4s ease-in-out infinite;
}

.loader-title {
  margin-bottom: 16px;
  color: var(--gold-soft);
  font-weight: 800;
}

.loader-subtitle {
  max-width: 34rem;
  margin: -6px auto 20px;
}

.site-loader:not(.needs-language) .language-select-panel,
.site-loader.needs-language .loader-progress-panel {
  display: none;
}

.language-choice-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.language-choice {
  display: grid;
  gap: 6px;
  justify-items: center;
  padding: 18px 14px;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: var(--radius-card);
  background: linear-gradient(180deg, rgba(255,255,255,.075), rgba(255,255,255,.025));
  box-shadow: 0 14px 36px rgba(0,0,0,.28);
  transition: transform .2s ease, border-color .2s ease, background .2s ease;
}

.language-choice:hover {
  transform: translateY(-3px);
  border-color: var(--line-strong);
  background: rgba(199,174,99,.1);
}

.language-flag {
  font-size: 2.1rem;
  line-height: 1;
}

.language-choice strong {
  color: #f7f0df;
}

.language-choice small {
  color: var(--muted);
  font-weight: 800;
}

.loader-bar {
  height: 6px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255,255,255,.1);
}

.loader-bar span {
  display: block;
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--gold), var(--gold-soft));
  transition: width .18s ease;
}

.loader-progress {
  margin: 10px 0 0;
  color: var(--muted);
  font-weight: 700;
}

@keyframes loaderPulse {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-4px) scale(1.03); }
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 1000;
  height: var(--header-height);
  display: flex;
  align-items: center;
  transition: height .25s var(--ease), background .25s var(--ease), box-shadow .25s var(--ease), border-color .25s var(--ease);
  border-bottom: 1px solid transparent;
}

.site-header.is-scrolled,
.site-header:focus-within {
  height: 68px;
  background: rgba(8, 8, 7, .78);
  border-color: rgba(255,255,255,.09);
  box-shadow: 0 10px 36px rgba(0,0,0,.34);
  backdrop-filter: blur(16px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.brand-link {
  display: inline-flex;
  align-items: center;
  min-width: 0;
}

.brand-link img {
  width: 226px;
  height: auto;
  transition: width .25s var(--ease), filter .25s var(--ease);
  filter: drop-shadow(0 8px 20px rgba(0,0,0,.42));
}

.site-header.is-scrolled .brand-link img {
  width: 188px;
}

.primary-nav {
  display: flex;
  align-items: center;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.nav-list a,
.dropdown-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 12px;
  border: 0;
  border-radius: 999px;
  color: #eee8db;
  background: transparent;
  font-size: .92rem;
  font-weight: 750;
  cursor: pointer;
  transition: color .2s ease, background .2s ease, transform .2s ease;
}

.nav-list a:hover,
.nav-list a[aria-current="page"],
.dropdown-toggle:hover {
  color: var(--gold-soft);
  background: rgba(255,255,255,.07);
}

.nav-apply {
  color: #100e08 !important;
  background: linear-gradient(135deg, var(--gold), var(--gold-soft)) !important;
  box-shadow: 0 10px 26px rgba(199, 174, 99, .22);
}

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

.language-switch {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding-left: 4px;
}

.language-switch a {
  width: 38px;
  min-height: 38px;
  padding: 0;
  border: 1px solid rgba(255,255,255,.1);
  font-size: 1.1rem;
}

.language-switch a.is-active {
  border-color: rgba(199,174,99,.5);
  background: rgba(199,174,99,.14);
}

.nav-dropdown {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.dropdown-toggle {
  width: 32px;
  padding: 0;
}

.dropdown-toggle::after {
  content: "";
  width: 8px;
  height: 8px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
}

.dropdown-panel {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  min-width: 190px;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  background: rgba(14, 13, 11, .94);
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity .2s ease, transform .2s ease, visibility .2s ease;
}

.nav-dropdown:hover .dropdown-panel,
.nav-dropdown:focus-within .dropdown-panel,
.nav-dropdown.is-open .dropdown-panel {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-panel a {
  justify-content: flex-start;
  width: 100%;
  border-radius: 6px;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--text);
  background: rgba(255,255,255,.07);
  cursor: pointer;
}

.menu-toggle span:not(.sr-only) {
  width: 19px;
  height: 2px;
  border-radius: 4px;
  background: currentColor;
  transition: transform .2s ease, opacity .2s ease;
}

.menu-toggle[aria-expanded="true"] span:nth-child(2) {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:nth-child(3) {
  opacity: 0;
}

.menu-toggle[aria-expanded="true"] span:nth-child(4) {
  transform: translateY(-7px) rotate(-45deg);
}

.button,
.icon-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 46px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 800;
  line-height: 1;
  cursor: pointer;
  transition: transform .2s ease, border-color .2s ease, background .2s ease, color .2s ease, box-shadow .2s ease;
}

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

.button--primary {
  color: #11100c;
  background: linear-gradient(135deg, var(--gold), var(--gold-soft));
  box-shadow: 0 18px 38px rgba(199, 174, 99, .22);
}

.button--ghost {
  color: var(--text);
  border-color: rgba(255,255,255,.18);
  background: rgba(255,255,255,.06);
  backdrop-filter: blur(12px);
}

.button--ghost:hover {
  border-color: var(--line-strong);
  color: var(--gold-soft);
}

.hero {
  min-height: 92svh;
  display: flex;
  align-items: center;
  padding: 132px 0 70px;
  background-image:
    linear-gradient(90deg, rgba(0,0,0,.9), rgba(0,0,0,.58) 46%, rgba(0,0,0,.35)),
    var(--hero-bg);
  background-size: cover;
  background-position: center;
  border-bottom: 1px solid rgba(255,255,255,.08);
}

.hero-content {
  max-width: 820px;
}

.hero-logo-mark {
  width: 104px;
  height: 104px;
  object-fit: contain;
  margin-bottom: 20px;
  filter: drop-shadow(0 0 30px rgba(199,174,99,.28));
}

.hero h1 {
  max-width: 780px;
  font-size: 4.7rem;
}

.hero .lead {
  max-width: 680px;
  margin-bottom: 26px;
}

.hero-actions,
.join-actions,
.page-actions,
.event-actions,
.filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 34px;
}

.hero-pill,
.meta-pill {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 12px;
  border: 1px solid rgba(255,255,255,.13);
  border-radius: 999px;
  color: #eee7d6;
  background: rgba(12,12,10,.5);
  backdrop-filter: blur(10px);
  font-size: .86rem;
  font-weight: 750;
}

.page-hero {
  padding: 136px 0 64px;
  background:
    linear-gradient(90deg, rgba(0,0,0,.84), rgba(0,0,0,.52)),
    var(--page-bg, url("/assets/images/convoy-desert.webp"));
  background-size: cover;
  background-position: center;
  border-bottom: 1px solid rgba(255,255,255,.08);
}

.page-hero-content {
  max-width: 780px;
}

.page-hero h1 {
  font-size: 3.8rem;
}

.stat-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.stat-card,
.feature-card,
.event-card,
.team-card,
.legal-content,
.event-detail-panel,
.gallery-card,
.empty-state {
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  background: linear-gradient(180deg, rgba(255,255,255,.075), rgba(255,255,255,.025));
  box-shadow: 0 14px 38px rgba(0,0,0,.28);
  backdrop-filter: blur(14px);
}

.stat-card {
  padding: 22px;
  min-height: 132px;
}

.stat-card strong {
  display: block;
  color: var(--gold-soft);
  font-size: 2.15rem;
  line-height: 1;
}

.stat-card span {
  color: var(--muted);
  font-weight: 700;
}

.about-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, .95fr);
  gap: 28px;
  align-items: start;
}

.about-copy {
  max-width: 720px;
}

.about-copy p {
  margin-bottom: 16px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.feature-card {
  position: relative;
  padding: 22px;
  overflow: hidden;
  transition: transform .24s var(--ease), border-color .24s var(--ease), box-shadow .24s var(--ease);
}

.feature-card:hover,
.event-card:hover,
.team-card:hover,
.gallery-card:hover {
  transform: translateY(-5px);
  border-color: var(--line-strong);
  box-shadow: 0 20px 54px rgba(0,0,0,.38);
}

.feature-index {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  margin-bottom: 16px;
  border-radius: 999px;
  color: #11100c;
  background: var(--gold);
  font-weight: 900;
}

.cards-grid,
.events-grid,
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.event-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
  transition: transform .24s var(--ease), border-color .24s var(--ease), box-shadow .24s var(--ease);
}

.event-card.hidden {
  display: none;
}

.event-card img {
  width: 100%;
  aspect-ratio: 16 / 8;
  object-fit: cover;
  background: #0b0b0b;
}

.event-card-body {
  display: flex;
  min-height: 232px;
  flex: 1;
  flex-direction: column;
  padding: 18px;
}

.event-card h3 {
  display: -webkit-box;
  min-height: 2.7em;
  margin-bottom: 10px;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.event-card .button {
  margin-top: auto;
  align-self: flex-start;
}

.event-meta-list {
  display: grid;
  gap: 8px;
  margin: 0 0 16px;
  color: var(--muted);
  font-size: .92rem;
}

.event-meta-list span {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.calendar-toolbar {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  margin-bottom: 22px;
}

.calendar-title {
  text-align: center;
}

.calendar-title .eyebrow {
  margin-bottom: 6px;
}

.calendar-title h2 {
  margin-bottom: 0;
}

.calendar-shell {
  border: 1px solid var(--line);
  border-radius: var(--radius-panel);
  background: linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.018));
  box-shadow: var(--shadow);
  overflow: hidden;
  backdrop-filter: blur(14px);
}

.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 1px;
  background: rgba(255,255,255,.08);
}

.calendar-head {
  min-height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-soft);
  background: rgba(12, 12, 10, .82);
  font-size: .82rem;
  font-weight: 900;
  text-transform: uppercase;
}

.calendar-day {
  min-width: 0;
  min-height: 170px;
  padding: 12px;
  background: rgba(13, 13, 11, .78);
}

.calendar-day.is-placeholder {
  background: rgba(255,255,255,.025);
}

.calendar-day.is-today {
  background:
    linear-gradient(180deg, rgba(199,174,99,.12), rgba(13,13,11,.82)),
    rgba(13,13,11,.78);
  box-shadow: inset 0 0 0 2px rgba(199,174,99,.42);
}

.calendar-date {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-bottom: 10px;
}

.calendar-date span {
  color: #fff6d8;
  font-size: 1.1rem;
  font-weight: 900;
}

.calendar-date small {
  color: var(--muted-strong);
  font-size: .76rem;
  font-weight: 800;
}

.calendar-empty {
  color: var(--muted-strong);
  font-size: .82rem;
  font-weight: 700;
}

.calendar-events {
  display: grid;
  gap: 8px;
}

.calendar-event {
  display: grid;
  gap: 2px;
  padding: 9px;
  border: 1px solid rgba(199,174,99,.28);
  border-radius: 7px;
  background: rgba(199,174,99,.09);
  transition: transform .2s ease, border-color .2s ease, background .2s ease;
}

.calendar-event:hover {
  transform: translateY(-2px);
  border-color: rgba(199,174,99,.62);
  background: rgba(199,174,99,.15);
}

.calendar-event span {
  color: var(--gold-soft);
  font-size: .76rem;
  font-weight: 900;
}

.calendar-event strong {
  display: -webkit-box;
  color: #f2ecdf;
  font-size: .84rem;
  line-height: 1.25;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.calendar-event small {
  display: -webkit-box;
  color: var(--muted);
  font-size: .74rem;
  line-height: 1.25;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.calendar-more {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 28px;
  padding: 0 9px;
  border-radius: 999px;
  color: var(--gold-soft);
  background: rgba(255,255,255,.06);
  font-size: .76rem;
  font-weight: 850;
}

.empty-state {
  padding: 28px;
  text-align: center;
}

.partner-logo-grid {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 18px 28px;
  margin-top: 10px;
}

.partner-logo-link {
  width: 150px;
  min-height: 118px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px;
  border-radius: 0;
  background: transparent;
  transition: transform .24s var(--ease), filter .24s var(--ease), opacity .24s var(--ease);
}

.partner-logo-link img {
  width: 92px;
  height: 92px;
  object-fit: contain;
  filter: drop-shadow(0 8px 20px rgba(0,0,0,.38));
}

.partner-logo-link:hover {
  opacity: 1;
  filter: drop-shadow(0 0 18px rgba(199,174,99,.24));
}

.cta-band {
  padding: 48px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-panel);
  background:
    linear-gradient(135deg, rgba(199,174,99,.18), rgba(125,178,141,.08)),
    rgba(255,255,255,.04);
  box-shadow: var(--shadow);
}

.cta-band h2 {
  max-width: 760px;
}

.cta-band p {
  max-width: 720px;
}

.team-tools,
.events-tools,
.gallery-tools {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 28px;
}

.filter-button {
  min-height: 40px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--text);
  background: rgba(255,255,255,.04);
  font-weight: 800;
  cursor: pointer;
}

.filter-button:hover,
.filter-button.is-active,
.filter-button[aria-pressed="true"] {
  color: #11100c;
  border-color: transparent;
  background: var(--gold);
}

.team-card {
  position: relative;
  display: flex;
  min-width: 0;
  min-height: 360px;
  flex-direction: column;
  align-items: flex-start;
  padding: 22px;
  overflow: hidden;
  transition: transform .24s var(--ease), border-color .24s var(--ease), box-shadow .24s var(--ease);
}

.team-avatar {
  width: 94px;
  height: 94px;
  border: 2px solid rgba(199,174,99,.7);
  border-radius: 999px;
  object-fit: cover;
  background: #0b0b0b;
}

.team-card h2,
.team-card h3 {
  margin: 16px 0 6px;
  font-size: 1.26rem;
}

.role-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  max-width: 100%;
  min-height: 30px;
  padding: 6px 11px;
  border: 1px solid rgba(199,174,99,.36);
  border-radius: 999px;
  color: var(--gold-soft);
  background: rgba(199,174,99,.09);
  font-size: .8rem;
  font-weight: 800;
  line-height: 1.2;
  overflow-wrap: anywhere;
  text-align: center;
  white-space: normal;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: flex-start;
  min-height: 30px;
  margin-bottom: 12px;
  padding: 6px 11px;
  border: 1px solid rgba(199,174,99,.36);
  border-radius: 999px;
  color: #121009;
  background: linear-gradient(135deg, var(--gold), var(--gold-soft));
  font-size: .78rem;
  font-weight: 850;
  line-height: 1.2;
}

.team-card p {
  margin: 14px 0 18px;
}

.social-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: auto;
  opacity: .72;
  transform: translateY(6px);
  transition: opacity .2s ease, transform .2s ease;
}

.team-card:hover .social-row {
  opacity: 1;
  transform: translateY(0);
}

.social-row a,
.small-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 0 10px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 999px;
  color: #eee7d6;
  background: rgba(255,255,255,.05);
  font-size: .8rem;
  font-weight: 850;
}

.social-row a:hover,
.small-link:hover {
  color: #11100c;
  border-color: transparent;
  background: var(--gold);
}

.event-detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 22px;
  align-items: start;
}

.event-detail-panel {
  padding: 22px;
}

.event-detail-panel.is-sticky {
  position: sticky;
  top: 92px;
}

.event-hero-img {
  width: 100%;
  max-height: 520px;
  object-fit: cover;
  border-radius: var(--radius-card);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.detail-list {
  display: grid;
  gap: 12px;
  margin: 0;
}

.detail-row {
  display: grid;
  grid-template-columns: 116px minmax(0, 1fr);
  gap: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}

.detail-row dt {
  color: var(--muted-strong);
  font-weight: 800;
}

.detail-row dd {
  margin: 0;
  color: #f2ecdf;
}

.attendance-grid {
  display: grid;
  gap: 10px;
}

.attendance-grid span {
  display: flex;
  min-height: 58px;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 12px 14px;
  border: 1px solid rgba(199,174,99,.25);
  border-radius: 7px;
  color: var(--muted);
  background: rgba(199,174,99,.08);
  font-size: .86rem;
  font-weight: 800;
  text-align: right;
}

.attendance-grid strong {
  flex: 0 0 auto;
  color: var(--gold-soft);
  font-size: 1.55rem;
  line-height: 1;
}

.content-prose {
  color: var(--muted);
}

.content-prose h2,
.content-prose h3,
.content-prose h4 {
  margin-top: 28px;
  color: var(--gold-soft);
}

.content-prose a {
  color: var(--gold-soft);
  font-weight: 800;
}

.content-prose blockquote {
  margin: 12px 0;
  padding: 12px 16px;
  border-left: 3px solid var(--gold);
  color: #efe7d6;
  background: rgba(255,255,255,.045);
}

.content-prose ul {
  padding-left: 20px;
}

.content-prose hr {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 24px 0;
}

.content-image img,
.event-map {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
}

.gallery-grid {
  column-count: 3;
  column-gap: 18px;
}

.gallery-card {
  display: inline-block;
  width: 100%;
  margin: 0 0 18px;
  padding: 0;
  overflow: hidden;
  text-align: left;
  cursor: zoom-in;
  transition: transform .24s var(--ease), border-color .24s var(--ease), box-shadow .24s var(--ease);
}

.gallery-card[hidden] {
  display: none;
}

.gallery-card img {
  width: 100%;
  height: auto;
}

.gallery-caption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 12px 14px;
}

.gallery-caption strong {
  color: #efe7d6;
}

.gallery-caption span {
  color: var(--muted);
  font-size: .82rem;
  font-weight: 800;
  text-transform: uppercase;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 28px;
  background: rgba(0,0,0,.88);
}

.lightbox.is-open {
  display: flex;
}

.lightbox-content {
  width: min(1100px, 100%);
}

.lightbox img {
  width: 100%;
  max-height: 78vh;
  object-fit: contain;
  border-radius: var(--radius-card);
}

.lightbox-caption {
  margin: 12px 0 0;
  text-align: center;
  color: #efe7d6;
  font-weight: 800;
}

.lightbox-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 999px;
  color: #fff;
  background: rgba(255,255,255,.08);
  cursor: pointer;
}

.lightbox-close::before,
.lightbox-close::after {
  content: "";
  position: absolute;
  top: 21px;
  left: 12px;
  width: 19px;
  height: 2px;
  background: currentColor;
}

.lightbox-close::before {
  transform: rotate(45deg);
}

.lightbox-close::after {
  transform: rotate(-45deg);
}

.legal-content {
  max-width: 900px;
  margin: 0 auto;
  padding: 30px;
}

.legal-content h1 {
  font-size: 2.7rem;
}

.legal-content h2 {
  margin-top: 28px;
  color: var(--gold-soft);
  font-size: 1.35rem;
}

.legal-content a {
  color: var(--gold-soft);
  font-weight: 800;
}

.tool-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.tool-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  padding: 22px;
  background: linear-gradient(180deg, rgba(255,255,255,.075), rgba(255,255,255,.025));
  box-shadow: 0 14px 38px rgba(0,0,0,.28);
  backdrop-filter: blur(14px);
}

.tool-card h3 {
  color: var(--gold-soft);
}

.tool-link-list,
.jobbook-link-row,
.jobbook-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.tool-link-list {
  margin-top: 14px;
}

.tool-link-list a,
.jobbook-link-row a,
.jobbook-line a {
  color: var(--gold-soft);
  font-weight: 800;
}

.teamspeak-viewer {
  min-height: 320px;
  overflow: auto;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius-card);
  padding: 14px;
  background: rgba(0,0,0,.2);
}

.teamspeak-viewer iframe {
  width: 100% !important;
  max-width: 100%;
  border-radius: 6px;
}

.jobbook-vtc-info {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  gap: 18px;
  align-items: start;
  margin-bottom: 18px;
}

.jobbook-vtc-info img {
  width: 92px;
  height: 92px;
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  object-fit: cover;
  background: rgba(0,0,0,.22);
}

.jobbook-vtc-copy {
  min-width: 0;
}

.jobbook-vtc-copy p {
  margin-bottom: 12px;
}

.jobbook-vtc-stats,
.jobbook-stat-grid {
  display: grid;
  gap: 10px;
}

.jobbook-vtc-stats {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 16px;
}

.jobbook-stat-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-bottom: 14px;
}

.jobbook-stat,
.jobbook-tile,
.jobbook-item {
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 7px;
  background: rgba(255,255,255,.045);
}

.jobbook-stat {
  min-width: 0;
  padding: 12px 14px;
}

.jobbook-stat span {
  display: block;
  color: var(--muted-strong);
  font-size: .74rem;
  font-weight: 850;
  text-transform: uppercase;
}

.jobbook-stat strong {
  display: block;
  margin-top: 4px;
  color: var(--gold-soft);
  line-height: 1.16;
}

.jobbook-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
}

.jobbook-page-info {
  margin: 0;
  font-weight: 800;
}

.jobbook-pager {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.jobbook-list {
  display: grid;
  gap: 10px;
}

.jobbook-item {
  width: 100%;
  padding: 14px 16px;
  color: var(--text);
  text-align: left;
  cursor: pointer;
  transition: border-color .2s var(--ease), background-color .2s var(--ease), transform .2s var(--ease);
}

.jobbook-item:hover {
  border-color: var(--line-strong);
  background: rgba(255,255,255,.07);
  transform: translateY(-2px);
}

.jobbook-item.is-empty {
  cursor: default;
}

.jobbook-item-main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.jobbook-item small {
  display: block;
  margin-top: 4px;
  color: var(--muted);
}

.jobbook-badge,
.jobbook-chip {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 999px;
  padding: 4px 10px;
  color: var(--muted);
  background: rgba(255,255,255,.045);
  font-size: .78rem;
  font-weight: 800;
}

.jobbook-badge.is-completed,
.jobbook-chip.is-ok {
  color: #9fe7b3;
  border-color: rgba(125,178,141,.48);
  background: rgba(125,178,141,.1);
}

.jobbook-badge.is-progress,
.jobbook-chip.is-warning {
  color: var(--gold-soft);
  border-color: rgba(199,174,99,.46);
  background: rgba(199,174,99,.11);
}

.tool-modal {
  position: fixed;
  inset: 0;
  z-index: 2100;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 18px;
  background: rgba(0,0,0,.72);
}

.tool-modal.is-open {
  display: flex;
}

.tool-modal-card {
  width: min(1040px, 100%);
  max-height: min(90vh, 940px);
  overflow: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius-panel);
  padding: 22px;
  background: #11100d;
  box-shadow: var(--shadow);
}

.tool-modal-top {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 16px;
}

.tool-modal-top h2 {
  margin-bottom: 4px;
  font-size: 1.35rem;
}

.tool-modal-sub {
  margin: 0;
}

.jobbook-detail-grid,
.jobbook-bottom-grid {
  display: grid;
  gap: 12px;
}

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

.jobbook-bottom-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 12px;
}

.jobbook-tile {
  min-width: 0;
  padding: 14px;
}

.jobbook-tile h3 {
  margin-bottom: 9px;
  color: var(--muted-strong);
  font-size: .78rem;
  text-transform: uppercase;
}

.jobbook-tile strong,
.jobbook-tile span {
  display: block;
}

.jobbook-tile strong {
  color: #fff8e9;
}

.jobbook-tile span {
  color: var(--muted);
}

.jobbook-tile .jobbook-chip-row {
  margin-top: 10px;
}

.jobbook-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 7px 0;
  border-bottom: 1px dashed rgba(255,255,255,.1);
}

.jobbook-line:last-child {
  border-bottom: 0;
}

.jobbook-line span {
  color: var(--muted);
}

.jobbook-line strong {
  text-align: right;
}

.jobbook-line .is-positive {
  color: #9fe7b3;
}

.jobbook-line .is-negative {
  color: #ff9d92;
}

.jobbook-modal-data {
  position: relative;
}

.jobbook-modal-data.is-pending > * {
  filter: blur(4px);
  pointer-events: none;
  user-select: none;
}

.jobbook-modal-data.is-pending::after {
  content: attr(data-pending-label);
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-card);
  padding: 18px;
  color: #fff;
  background: rgba(0,0,0,.28);
  text-align: center;
  font-weight: 900;
}

.site-footer {
  border-top: 1px solid rgba(255,255,255,.08);
  background: #080807;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 28px;
  padding: 48px 0 34px;
}

.footer-brand {
  display: flex;
  gap: 14px;
  align-items: center;
}

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

.footer-brand strong {
  display: block;
  color: var(--gold-soft);
  font-size: 1.1rem;
}

.footer-brand p {
  margin: 4px 0 0;
}

.footer-column {
  display: grid;
  align-content: start;
  gap: 8px;
}

.footer-column h2 {
  margin-bottom: 4px;
  color: var(--gold-soft);
  font-size: .94rem;
  text-transform: uppercase;
}

.footer-column a {
  color: var(--muted);
}

.footer-column a:hover {
  color: var(--gold-soft);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 0 28px;
  border-top: 1px solid rgba(255,255,255,.08);
}

.footer-bottom p {
  margin: 0;
  font-size: .9rem;
}

.footer-bottom a {
  color: var(--gold-soft);
  font-weight: 800;
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .5s ease, transform .5s var(--ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (min-width: 980px) {
  h1 {
    font-size: 4.4rem;
  }
}

@media (max-width: 1080px) {
  .stat-grid,
  .cards-grid,
  .events-grid,
  .team-grid,
  .jobbook-vtc-stats,
  .jobbook-stat-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .about-layout,
  .event-detail-layout,
  .tool-grid,
  .jobbook-detail-grid,
  .jobbook-bottom-grid {
    grid-template-columns: 1fr;
  }

  .event-detail-panel.is-sticky {
    position: static;
  }

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

@media (max-width: 860px) {
  :root {
    --header-height: 72px;
  }

  h1,
  .hero h1,
  .page-hero h1 {
    font-size: 2.85rem;
  }

  h2 {
    font-size: 2rem;
  }

  .brand-link img,
  .site-header.is-scrolled .brand-link img {
    width: 174px;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .primary-nav {
    position: fixed;
    inset: var(--header-height) 0 auto;
    display: block;
    max-height: calc(100svh - var(--header-height));
    overflow-y: auto;
    padding: 14px 16px 24px;
    background: rgba(8,8,7,.96);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
    transform: translateY(-110%);
    opacity: 0;
    visibility: hidden;
    transition: transform .26s var(--ease), opacity .26s ease, visibility .26s ease;
    backdrop-filter: blur(18px);
  }

  .primary-nav.is-open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .nav-list {
    display: grid;
    align-items: stretch;
    gap: 6px;
    width: min(540px, 100%);
    margin-inline: auto;
  }

  .nav-list a,
  .dropdown-toggle {
    justify-content: flex-start;
    min-height: 48px;
    border-radius: 6px;
  }

  .nav-dropdown {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 44px;
  }

  .dropdown-panel {
    position: static;
    grid-column: 1 / -1;
    display: none;
    min-width: 0;
    margin: 4px 0 0 12px;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
  }

  .nav-dropdown.is-open .dropdown-panel {
    display: block;
  }

  .hero,
  .page-hero {
    min-height: auto;
    padding-top: 116px;
  }

  .hero-logo-mark {
    width: 84px;
    height: 84px;
  }

  .section {
    padding: 68px 0;
  }

  .stat-grid,
  .feature-grid,
  .cards-grid,
  .events-grid,
  .team-grid {
    grid-template-columns: 1fr;
  }

  .gallery-grid {
    column-count: 2;
  }

  .calendar-toolbar {
    grid-template-columns: 1fr;
  }

  .calendar-toolbar .button {
    width: 100%;
  }

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

  .calendar-head {
    display: none;
  }

  .calendar-day {
    min-height: 148px;
  }

  .cta-band {
    padding: 28px;
  }
}

@media (max-width: 560px) {
  .container,
  .section-inner,
  .header-inner,
  .footer-inner,
  .footer-bottom {
    width: min(100% - 24px, 1160px);
  }

  h1,
  .hero h1,
  .page-hero h1 {
    font-size: 2.35rem;
  }

  .lead {
    font-size: 1rem;
  }

  .hero-actions,
  .join-actions,
  .page-actions,
  .event-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .stat-card,
  .feature-card,
  .event-card-body,
  .team-card,
  .event-detail-panel,
  .legal-content,
  .tool-card,
  .tool-modal-card {
    padding: 18px;
  }

  .detail-row {
    grid-template-columns: 1fr;
    gap: 2px;
  }

  .language-choice-grid {
    grid-template-columns: 1fr;
  }

  .attendance-grid span {
    align-items: flex-start;
    flex-direction: column;
    text-align: left;
  }

  .jobbook-vtc-info,
  .jobbook-vtc-stats,
  .jobbook-stat-grid,
  .jobbook-toolbar,
  .jobbook-item-main {
    grid-template-columns: 1fr;
  }

  .jobbook-vtc-info {
    display: grid;
  }

  .jobbook-toolbar,
  .tool-modal-top {
    align-items: stretch;
    flex-direction: column;
  }

  .jobbook-pager,
  .jobbook-pager .button {
    width: 100%;
  }

  .jobbook-item-main {
    display: grid;
  }

  .jobbook-line {
    align-items: flex-start;
    flex-direction: column;
    gap: 2px;
  }

  .jobbook-line strong {
    text-align: left;
  }

  .gallery-grid {
    column-count: 1;
  }

  .calendar-grid {
    grid-template-columns: 1fr;
  }

  .calendar-day {
    min-height: auto;
  }

  .footer-inner,
  .footer-bottom {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    display: grid;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
