:root {
  --bg: #050505;
  --bg-soft: #0c0c0e;
  --panel: rgba(8, 8, 10, 0.88);
  --panel-strong: rgba(12, 12, 16, 0.96);
  --line: rgba(255, 255, 255, 0.12);
  --line-strong: rgba(255, 255, 255, 0.24);
  --text: #f4efe6;
  --muted: #b7a995;
  --muted-soft: #8d8070;
  --red: #d20f17;
  --red-soft: #8c1012;
  --gold: #d9bc77;
  --shadow: 0 24px 54px rgba(0, 0, 0, 0.48);
  --nav-width: 18.5rem;
  --radius: 1.25rem;
  --radius-sm: 0.8rem;
  --gutter: clamp(1rem, 1vw + 0.8rem, 1.6rem);
  --header-font: "Barlow Condensed", Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  --body-font: "Inter", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}


* {
  --sb-track-color: #101010;
  --sb-thumb-color: #980000;
  --sb-size: 8px;
}

*::-webkit-scrollbar {
  width: var(--sb-size)
}

*::-webkit-scrollbar-track {
  background: var(--sb-track-color);
  border-radius: 3px;
}

*::-webkit-scrollbar-thumb {
  background: var(--sb-thumb-color);
  border-radius: 3px;
  border: 1px solid #848484;
}

@supports not selector(::-webkit-scrollbar) {
  * {
    scrollbar-color: var(--sb-thumb-color)
                     var(--sb-track-color);
  }
}

html {
  scroll-behavior: smooth;
  height: 100%;
}

body {
  height: 100%;
  margin: 0;
  color: var(--text);
  font-family: var(--body-font);
  background:
    radial-gradient(circle at top left, rgba(210, 15, 23, 0.1), transparent 24%),
    radial-gradient(circle at bottom right, rgba(217, 188, 119, 0.06), transparent 20%),
    linear-gradient(180deg, #111 0%, #060606 20%, #050505 100%);
  min-height: 100vh;
  overflow-x: hidden;
  overflow-y: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(transparent 0, rgba(255, 255, 255, 0.02) 50%, transparent 100%),
    repeating-linear-gradient(0deg, rgba(255,255,255,0.018), rgba(255,255,255,0.018) 1px, transparent 1px, transparent 3px),
    radial-gradient(circle at 20% 20%, rgba(255,255,255,0.03), transparent 20%),
    radial-gradient(circle at 80% 75%, rgba(255,255,255,0.025), transparent 18%);
  opacity: 0.5;
  mix-blend-mode: screen;
}

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

a {
  color: inherit;
}

button,
input,
textarea,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

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

.site-shell {
  display: grid;
  grid-template-columns: minmax(260px, var(--nav-width)) minmax(0, 1fr);
  height: 100vh;
  overflow: hidden;
}

.site-nav-column {
  position: relative;
  height: 100vh;
  overflow: hidden;
  background:
    radial-gradient(circle at 18% 12%, rgba(255,255,255,0.08), transparent 18%),
    radial-gradient(circle at 80% 22%, rgba(210,15,23,0.16), transparent 24%),
    linear-gradient(180deg, rgba(255,255,255,0.03), rgba(255,255,255,0) 16%),
    linear-gradient(180deg, #131315 0%, #080809 56%, #040404 100%);
  border-right: 1px solid var(--line);
  box-shadow: inset -1px 0 0 rgba(255,255,255,0.05);
}

.site-nav-column::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, transparent 0 8%, rgba(255,255,255,0.06) 8% 8.4%, transparent 8.4% 26%, rgba(210,15,23,0.08) 26% 27%, transparent 27% 73%, rgba(255,255,255,0.04) 73% 73.5%, transparent 73.5% 100%),
    linear-gradient(180deg, transparent 0 17%, rgba(210,15,23,0.12) 17% 17.6%, transparent 17.6% 66%, rgba(255,255,255,0.045) 66% 66.5%, transparent 66.5% 100%);
  opacity: 0.38;
  pointer-events: none;
}

.site-nav-column::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(0,0,0,0.08), rgba(0,0,0,0.76)),
    repeating-linear-gradient(
      180deg,
      rgba(255,255,255,0.02) 0 1px,
      transparent 1px 7px
    ),
    linear-gradient(90deg, transparent 0 12%, rgba(210,15,23,0.08) 12% 14%, transparent 14% 56%, rgba(255,255,255,0.035) 56% 58%, transparent 58% 100%);
  mix-blend-mode: screen;
  opacity: 0.55;
  pointer-events: none;
}

.site-nav-sticky {
  position: relative;
  z-index: 2;
  height: 100vh;
  padding: 1.35rem 1.1rem 1.15rem;
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
}

.brand-block {
  padding-bottom: 0.6rem;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}

.brand-link {
  text-decoration: none;
  display: grid;
  justify-items: start;
  gap: 0.85rem;
}

.brand-logo {
  width: min(100%, 13.5rem);
  justify-self: center;
  filter: drop-shadow(0 8px 18px rgba(0,0,0,0.55));
}

.brand-kicker {
  font-family: var(--header-font);
  font-size: 1.1rem;
  line-height: 1;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text);
  text-wrap: balance;
}

.desktop-nav,
.mobile-nav-links {
  display: flex;
  flex-direction: column;
  gap: 0.42rem;
}

.nav-link,
.mobile-nav-link {
  border: 0;
  background: transparent;
  color: var(--text);
  text-align: left;
  font-family: var(--header-font);
  text-transform: uppercase;
  font-size: clamp(1.75rem, 1.7rem + 0.2vw, 2.2rem);
  line-height: 0.92;
  letter-spacing: 0.02em;
  padding: 0.15rem 0.15rem;
  position: relative;
  text-decoration: none;
  transition: color 160ms ease, transform 160ms ease, text-shadow 160ms ease;
}

.nav-link:hover,
.nav-link:focus-visible,
.mobile-nav-link:hover,
.mobile-nav-link:focus-visible,
.nav-link.is-active,
.mobile-nav-link.is-active {
  color: #fff9ee;
  text-shadow: -1px 0 var(--red), 1px 0 rgba(80, 150, 255, 0.45);
  transform: translateX(3px);
}

.nav-link-external::after,
.mobile-nav-link-external::after {
  content: "↗";
  font-size: 0.72em;
  margin-left: 0.35rem;
  vertical-align: top;
}

.social-block {
  margin-top: auto;
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.social-icon-link {
  width: 2.85rem;
  height: 2.85rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255,255,255,0.16);
  border-radius: 50%;
  background: rgba(255,255,255,0.03);
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

.social-icon-link svg {
  width: 1.25rem;
  height: 1.25rem;
  fill: currentColor;
}

.social-icon-link:hover,
.social-icon-link:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(217,188,119,0.55);
  background: rgba(210,15,23,0.14);
}

.nav-footer-copy {
  padding-top: 0.2rem;
}

.nav-footer-tagline {
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.5;
}

.content-column {
  position: relative;
  min-width: 0;
  height: 100vh;
  overflow-y: auto;
  overflow-x: hidden;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.025), rgba(255,255,255,0) 14%),
    linear-gradient(180deg, rgba(0,0,0,0.18), rgba(0,0,0,0.22)),
    #060607;
}

.content-column::before {
  content: "";
  position: fixed;
  inset: 0 0 0 var(--nav-width);
  pointer-events: none;
  background: url('../images/logo-main.png') right 2rem bottom 2rem / min(34vw, 26rem) no-repeat;
  opacity: 0.03;
  filter: grayscale(1) contrast(1.3);
}

.mobile-topbar {
  display: none;
}

.content-panel {
  padding: clamp(1.3rem, 1.3vw + 1rem, 2.4rem) clamp(1rem, 2vw, 3rem) 2.5rem;
}

.panel-header {
  max-width: 70rem;
  margin-bottom: 1.6rem;
}

.panel-eyebrow,
.modal-eyebrow,
.article-meta,
.filter-label,
.event-badge,
.member-card-label,
.video-meta,
.gallery-caption {
  font-family: var(--header-font);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.panel-eyebrow {
  margin: 0 0 0.55rem;
  color: var(--gold);
  font-size: 0.95rem;
}

.panel-title {
  margin: 0;
  font-family: var(--header-font);
  text-transform: uppercase;
  font-size: clamp(3.2rem, 5vw, 4.85rem);
  line-height: 0.88;
  letter-spacing: 0.03em;
  text-shadow: -2px 0 rgba(210, 15, 23, 0.7), 2px 0 rgba(105, 154, 255, 0.35);
}

.panel-deck {
  margin: 0.9rem 0 0;
  max-width: 46rem;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.7;
}

.panel-body {
  max-width: 88rem;
}

.toolbar-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.7rem;
  margin-bottom: 1.2rem;
}

.filter-label {
  color: var(--muted);
  font-size: 0.95rem;
}

.filter-chip,
.article-category-button,
.video-category-button,
.share-button,
.event-link-button,
.back-button,
.gallery-nav-button,
.empty-action,
.member-social {
  border: 1px solid rgba(255,255,255,0.14);
  background: rgba(255,255,255,0.03);
  color: var(--text);
  border-radius: 999px;
  padding: 0.65rem 1rem;
  text-decoration: none;
  font-family: var(--header-font);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

.filter-chip:hover,
.filter-chip:focus-visible,
.article-category-button:hover,
.video-category-button:hover,
.share-button:hover,
.share-button:focus-visible,
.event-link-button:hover,
.back-button:hover,
.gallery-nav-button:hover,
.empty-action:hover,
.member-social:hover {
  transform: translateY(-1px);
  border-color: rgba(217,188,119,0.45);
  background: rgba(210,15,23,0.12);
}

.filter-chip.is-active,
.article-category-button.is-active,
.video-category-button.is-active {
  background: linear-gradient(180deg, rgba(210,15,23,0.24), rgba(210,15,23,0.1));
  border-color: rgba(210,15,23,0.6);
  color: #fff7ea;
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 380px));
  gap: 1rem;
  justify-content: start;
}

.article-card,
.video-card,
.event-card,
.member-gallery,
.member-card,
.article-view,
.empty-state {
  position: relative;
  background: linear-gradient(180deg, rgba(255,255,255,0.025), rgba(255,255,255,0)), var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.article-card::before,
.video-card::before,
.event-card::before,
.member-gallery::before,
.member-card::before,
.article-view::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(255,255,255,0.035), transparent 18%, transparent 82%, rgba(255,255,255,0.03));
  pointer-events: none;
}

.article-card-link,
.article-card-title-link {
  color: inherit;
  text-decoration: none;
}

.article-card-image {
  aspect-ratio: 16 / 9;
  width: 100%;
  object-fit: cover;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.article-card-body,
.video-card-body,
.event-row-summary,
.member-gallery-body,
.empty-state {
  padding: 1rem;
}

.article-card-meta,
.video-card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  color: var(--muted);
  margin-bottom: 0.8rem;
  font-size: 0.9rem;
}

.article-card-category,
.video-card-category,
.event-badge,
.member-role-chip {
  color: var(--gold);
}

.article-card-title,
.video-card-title,
.event-name,
.member-name {
  margin: 0;
  font-family: var(--header-font);
  font-size: clamp(1.65rem, 2vw, 2.15rem);
  line-height: 0.95;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.article-card-title {
  margin-bottom: 0.8rem;
}

.article-card-excerpt,
.video-card-description,
.member-description,
.article-body,
.event-description,
.policy-copy,
.preferences-intro,
.cookie-banner-text,
.gallery-large-copy,
.detail-meta-grid dd,
.member-quote,
.member-card-copy {
  line-height: 1.75;
  color: var(--muted);
}

.article-card-title-link:hover,
.article-card-title-link:focus-visible,
.article-card-link:hover .article-card-title,
.article-card-link:focus-visible .article-card-title {
  color: #fff9ef;
}

.article-view {
  padding: clamp(1rem, 1vw + 0.7rem, 1.5rem);
}

.article-view-image {
  width: 100%;
  border-radius: calc(var(--radius) - 0.3rem);
  object-fit: cover;
  max-height: 32rem;
  border: 1px solid rgba(255,255,255,0.08);
  margin-bottom: 1.1rem;
}

.article-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.2rem;
}

.back-button {
  background: rgba(255,255,255,0.04);
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  color: var(--gold);
  font-size: 0.94rem;
}

.article-heading {
  margin: 0 0 0.9rem;
  font-family: var(--header-font);
  font-size: clamp(2.7rem, 4vw, 4rem);
  line-height: 0.92;
  text-transform: uppercase;
}

.article-body h2,
.article-body h3,
.policy-copy h3,
.policy-copy h4,
.event-description h3 {
  font-family: var(--header-font);
  text-transform: uppercase;
  line-height: 0.95;
  letter-spacing: 0.02em;
  color: var(--text);
}

.article-body p,
.policy-copy p,
.event-description p,
.member-card-copy p,
.gallery-large-copy p {
  margin: 0 0 1rem;
}

.article-body ul,
.policy-copy ul,
.event-description ul {
  margin: 0 0 1rem 1.2rem;
  color: var(--muted);
}

.share-row {
  margin-top: 1.6rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255,255,255,0.08);
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  align-items: center;
}

.share-label {
  color: var(--gold);
  font-family: var(--header-font);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.events-stack {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.event-card {
  overflow: hidden;
}

.event-summary-button {
  width: 100%;
  border: 0;
  background: transparent;
  color: inherit;
  text-align: left;
  padding: 0;
}

.event-row {
  display: grid;
  grid-template-columns: 200px minmax(0, 1fr) auto;
  gap: 1rem;
  align-items: center;
}

.event-thumb {
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: calc(var(--radius) - 0.35rem);
  object-fit: cover;
  border: 1px solid rgba(255,255,255,0.12);
}

.event-row-summary {
  display: grid;
  gap: 0.5rem;
}

.event-row-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  color: var(--muted);
}

.event-toggle-indicator {
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.16);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--header-font);
  font-size: 1.6rem;
  color: var(--gold);
  margin-right: 1rem;
  flex-shrink: 0;
}

.event-details {
  display: none;
  padding: 0 1rem 1rem;
}

.event-card.is-open .event-details {
  display: block;
}

.event-card.is-open .event-toggle-indicator {
  background: rgba(210,15,23,0.12);
  border-color: rgba(210,15,23,0.5);
}

.event-detail-shell {
  display: grid;
  grid-template-columns: minmax(260px, 300px) minmax(0, 1fr);
  gap: 1rem;
  padding-top: 0.2rem;
  border-top: 1px solid rgba(255,255,255,0.08);
}

.event-detail-poster {
  border-radius: calc(var(--radius) - 0.3rem);
  border: 1px solid rgba(255,255,255,0.14);
  overflow: hidden;
  background: #0e0e11;
}

.event-detail-poster img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.event-detail-body {
  display: grid;
  gap: 1rem;
}

.event-badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.event-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.35rem 0.65rem;
  border-radius: 999px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  font-size: 0.92rem;
}

.detail-meta-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
  margin: 0;
}

.detail-meta-grid div {
  padding: 0.9rem;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-sm);
  background: rgba(255,255,255,0.02);
}

.detail-meta-grid dt {
  margin-bottom: 0.25rem;
  color: var(--gold);
  font-family: var(--header-font);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.detail-meta-grid dd {
  margin: 0;
}

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

.event-link-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 10rem;
}

.video-shell {
  display: grid;
  gap: 1rem;
}

.video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 400px));
  gap: 1rem;
  justify-content: start;
}

.video-embed-wrap,
.video-placeholder {
  position: relative;
  aspect-ratio: 16 / 9;
  width: 100%;
  background: #09090b;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.video-embed-wrap iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.video-placeholder {
  display: grid;
  place-items: center;
  padding: 1.2rem;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0)),
    linear-gradient(135deg, rgba(210,15,23,0.16), rgba(255,255,255,0.02));
}

.video-placeholder-inner {
  text-align: center;
  max-width: 20rem;
}

.video-placeholder-title {
  margin: 0 0 0.6rem;
  font-family: var(--header-font);
  font-size: 1.7rem;
  text-transform: uppercase;
  line-height: 0.96;
}

.video-placeholder p {
  margin: 0 0 1rem;
  color: var(--muted);
}

.empty-state {
  padding: 1.4rem;
  display: grid;
  gap: 0.85rem;
}

.empty-title {
  margin: 0;
  font-family: var(--header-font);
  font-size: 2rem;
  text-transform: uppercase;
  line-height: 0.96;
}

.empty-action {
  width: fit-content;
}

.member-gallery {
  margin-bottom: 1rem;
}

.member-gallery-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 220px;
  gap: 1rem;
  align-items: start;
}

.gallery-main {
  display: grid;
  gap: 0.9rem;
  min-width: 0;
}

.gallery-large {
  display: block;
}

.gallery-large-image {
  width: 100%;
  max-height: min(62vh, 36rem);
  aspect-ratio: 16 / 9;
  object-fit: contain;
  object-position: center;
  border-radius: calc(var(--radius) - 0.35rem);
  border: 1px solid rgba(255,255,255,0.1);
  background:
    radial-gradient(circle at center, rgba(255,255,255,0.04), rgba(255,255,255,0) 62%),
    rgba(0,0,0,0.46);
}

.gallery-large-copy {
  padding: 1rem;
  border-radius: calc(var(--radius) - 0.35rem);
  border: 1px solid rgba(255,255,255,0.1);
  background: rgba(255,255,255,0.03);
  display: grid;
  gap: 0.25rem;
}

.gallery-thumbs {
  display: grid;
  align-content: start;
  gap: 0.75rem;
  max-height: min(62vh, 36rem);
  overflow: auto;
  padding-right: 0.2rem;
}

.gallery-thumb-button {
  border: 1px solid rgba(255,255,255,0.1);
  padding: 0;
  background: rgba(255,255,255,0.03);
  border-radius: var(--radius-sm);
  overflow: hidden;
  transition: transform 160ms ease, border-color 160ms ease;
}

.gallery-thumb-button img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.gallery-thumb-button:hover,
.gallery-thumb-button:focus-visible,
.gallery-thumb-button.is-active {
  transform: translateX(-2px);
  border-color: rgba(217,188,119,0.55);
}

.member-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(255px, 360px));
  gap: 1rem;
  justify-content: start;
}

.member-card-wrap {
  perspective: 1600px;
  min-height: 34rem;
}

.member-card {
  position: relative;
  width: 100%;
  min-height: 34rem;
  height: 100%;
  cursor: pointer;
}

.member-card-flip {
  position: relative;
  width: 100%;
  min-height: 34rem;
  height: 100%;
  transform-style: preserve-3d;
  -webkit-transform-style: preserve-3d;
  transition: transform 520ms cubic-bezier(0.22, 0.7, 0.18, 1);
}

.member-card.is-flipped .member-card-flip {
  transform: rotateY(180deg);
}

.member-card-face {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  padding: 1rem;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  transform-style: preserve-3d;
  -webkit-transform-style: preserve-3d;
}

.member-card-front {
  z-index: 2;
  transform: rotateY(0deg);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.03), rgba(255,255,255,0)),
    var(--panel);
}

.member-card-back {
  transform: rotateY(180deg);
  background:
    linear-gradient(180deg, rgba(210,15,23,0.1), rgba(255,255,255,0) 18%),
    var(--panel-strong);
}

.member-card-topline {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 0.75rem;
}

.member-card-label {
  margin: 0;
  color: var(--gold);
  font-size: 0.9rem;
}

.member-card-corner-role {
  color: var(--gold);
  font-family: var(--header-font);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  text-align: right;
  line-height: 1.05;
}

.member-name {
  margin: 0;
  font-family: var(--header-font);
  text-transform: uppercase;
  line-height: 0.95;
  font-size: clamp(2rem, 3vw, 2.8rem);
  word-break: break-word;
}

.member-photo-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 3 / 4;
  border-radius: calc(var(--radius) - 0.35rem);
  border: 1px solid rgba(255,255,255,0.1);
  overflow: hidden;
  background:
    radial-gradient(circle at center, rgba(255,255,255,0.04), rgba(255,255,255,0) 62%),
    rgba(0,0,0,0.5);
}

.member-photo {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center center;
  display: block;
  padding: 0.5rem;
}

.member-quote-box {
  position: absolute;
  left: 0.8rem;
  right: 0.8rem;
  bottom: 1rem;
  padding: 0.8rem 0.9rem;
  border-radius: 0.85rem;
  background: rgba(5,5,7,0.78);
  border: 1px solid rgba(255,255,255,0.1);
  backdrop-filter: blur(6px);
}

.member-quote {
  margin: 0;
  font-style: italic;
  text-align: center;
  color: var(--text);
}

.member-role-plate {
  align-self: center;
  margin-top: -0.15rem;
  padding: 0.5rem 1rem;
  border-radius: 999px;
  border: 1px solid rgba(217,188,119,0.3);
  background: rgba(255,255,255,0.04);
  color: var(--gold);
  font-family: var(--header-font);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  line-height: 1;
}

.member-front-foot,
.member-back-foot {
  margin-top: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.6rem;
  color: var(--muted);
  font-size: 0.92rem;
}

.member-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.7rem;
  margin: 0;
}

.member-stat {
  padding: 0.8rem;
  border-radius: var(--radius-sm);
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
}

.member-stat dt {
  margin-bottom: 0.18rem;
  color: var(--gold);
  font-family: var(--header-font);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.member-stat dd {
  margin: 0;
  color: var(--text);
}

.member-card-copy {
  flex: 1 1 auto;
  overflow: auto;
}

.member-social-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.site-footer {
  padding: 1rem clamp(1rem, 2vw, 3rem) 1.8rem;
}

.site-footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
}

.footer-brand {
  margin: 0 0 0.2rem;
  font-family: var(--header-font);
  text-transform: uppercase;
  font-size: 1.5rem;
  line-height: 0.95;
}

.footer-copy {
  margin: 0;
  color: var(--muted);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.footer-link {
  border: 0;
  background: transparent;
  color: var(--muted);
  text-decoration: underline;
  text-underline-offset: 0.18rem;
  padding: 0;
}

.footer-link:hover,
.footer-link:focus-visible {
  color: var(--text);
}

.footer-copy-block {
  display: grid;
  gap: 0.8rem;
}

.footer-site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem 0.9rem;
  align-items: center;
}

.footer-nav-link {
  text-decoration: none;
  font-family: var(--header-font);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: 1rem;
  color: var(--text);
  opacity: 0.9;
}

.footer-nav-link:hover,
.footer-nav-link:focus-visible {
  color: #fff;
  opacity: 1;
}

.footer-meta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem;
}

.footer-madeby-label {
  color: var(--muted-soft);
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.footer-kcw-link {
  color: var(--gold);
  text-decoration: none;
  font-family: var(--header-font);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 0.95rem;
}

.footer-kcw-link:hover,
.footer-kcw-link:focus-visible {
  color: #fff4d8;
}

.footer-links-legal {
  align-items: flex-start;
  justify-content: flex-end;
  gap: 0.45rem 0.8rem;
}

.footer-link-small {
  font-size: 0.82rem;
  color: var(--muted-soft);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: none;
}

.modal.is-open {
  display: block;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.72);
  backdrop-filter: blur(4px);
}

.modal-panel {
  position: relative;
  z-index: 1;
  width: min(92vw, 48rem);
  max-height: 88vh;
  overflow: auto;
  margin: 4vh auto;
  padding: 1.2rem;
  border-radius: var(--radius);
  border: 1px solid var(--line-strong);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.035), rgba(255,255,255,0) 14%),
    var(--panel-strong);
  box-shadow: var(--shadow);
}

.modal-panel-preferences {
  width: min(92vw, 44rem);
}

.modal-close {
  position: sticky;
  top: 0;
  margin-left: auto;
  display: flex;
  width: 2.6rem;
  height: 2.6rem;
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,0.35);
  color: var(--text);
  font-size: 1.6rem;
}

.modal h2 {
  margin: 0.2rem 0 0.8rem;
  font-family: var(--header-font);
  text-transform: uppercase;
  line-height: 0.9;
  font-size: clamp(2.25rem, 4vw, 3.2rem);
}

.preference-list {
  display: grid;
  gap: 0.9rem;
  margin: 1.2rem 0 1.4rem;
}

.preference-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255,255,255,0.1);
  background: rgba(255,255,255,0.03);
}

.preference-item h3 {
  margin: 0 0 0.25rem;
  font-family: var(--header-font);
  text-transform: uppercase;
  line-height: 0.95;
  font-size: 1.45rem;
}

.preference-item p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.switch {
  position: relative;
  width: 3.8rem;
  min-width: 3.8rem;
  height: 2.1rem;
}

.switch input {
  position: absolute;
  inset: 0;
  opacity: 0;
}

.slider {
  position: absolute;
  inset: 0;
  border-radius: 999px;
  background: rgba(255,255,255,0.14);
  transition: background 160ms ease;
}

.slider::before {
  content: "";
  position: absolute;
  top: 0.22rem;
  left: 0.22rem;
  width: 1.65rem;
  height: 1.65rem;
  border-radius: 50%;
  background: #f7f1e5;
  transition: transform 160ms ease;
  box-shadow: 0 4px 10px rgba(0,0,0,0.32);
}

.switch input:checked + .slider {
  background: linear-gradient(90deg, rgba(210,15,23,0.9), rgba(217,188,119,0.62));
}

.switch input:checked + .slider::before {
  transform: translateX(1.7rem);
}

.switch input:disabled + .slider {
  background: linear-gradient(90deg, rgba(217,188,119,0.44), rgba(255,255,255,0.2));
}

.modal-actions,
.cookie-banner-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.action-button {
  border: 1px solid rgba(210,15,23,0.55);
  background: linear-gradient(180deg, rgba(210,15,23,0.34), rgba(210,15,23,0.14));
  color: #fff6ec;
  border-radius: 999px;
  padding: 0.8rem 1.15rem;
  font-family: var(--header-font);
  text-transform: uppercase;
  letter-spacing: 0.07em;
}

.action-button-secondary {
  background: rgba(255,255,255,0.03);
  border-color: rgba(255,255,255,0.14);
  color: var(--text);
}

.action-button-ghost {
  background: rgba(255,255,255,0.07);
  border-color: rgba(217,188,119,0.22);
  color: var(--gold);
}

.cookie-banner[hidden] {
  display: none !important;
}

.cookie-banner {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 90;
  width: min(36rem, calc(100vw - 2rem));
  display: grid;
  gap: 1rem;
  padding: 1rem;
  border-radius: var(--radius);
  border: 1px solid var(--line-strong);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.05), rgba(255,255,255,0)),
    var(--panel-strong);
  box-shadow: var(--shadow);
}

.cookie-banner-title {
  margin: 0 0 0.3rem;
  font-family: var(--header-font);
  text-transform: uppercase;
  font-size: 1.75rem;
  line-height: 0.95;
}

.cookie-banner-text,
.cookie-banner-copy p {
  margin: 0;
}

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 95;
  display: none;
}

.mobile-menu.is-open {
  display: block;
}

.mobile-menu-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.64);
  backdrop-filter: blur(4px);
}

.mobile-menu-panel {
  position: relative;
  z-index: 1;
  width: min(24rem, calc(100vw - 0.8rem));
  min-height: 100vh;
  margin-left: auto;
  padding: 1rem;
  display: grid;
  gap: 1rem;
  align-content: start;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0) 14%),
    #040404;
  border-left: 1px solid rgba(255,255,255,0.12);
}

.mobile-menu-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.mobile-menu-logo,
.mobile-brand-logo {
  width: 3.4rem;
  height: 3.4rem;
  object-fit: contain;
}

.mobile-menu-close {
  border: 0;
  background: transparent;
  color: var(--text);
  font-size: 2.4rem;
  line-height: 1;
}

.mobile-menu-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem 1rem;
  padding-top: 0.7rem;
  border-top: 1px solid rgba(255,255,255,0.1);
}

@media (max-width: 1180px) {
  .site-shell {
    grid-template-columns: 16.4rem minmax(0, 1fr);
    height: 100vh;
  }

  .content-column::before {
    inset: 0 0 0 16.4rem;
  }

  .event-row {
    grid-template-columns: 170px minmax(0, 1fr) auto;
  }

  .gallery-large {
    display: block;
  }
}

@media (max-width: 980px) {
  :root {
    --nav-width: 0px;
  }
  
  html,
  body {
    height: auto;
    min-height: 100%;
    overflow-x: hidden;
    overflow-y: auto;
  }
  
  .site-shell {
    grid-template-columns: 1fr;
    height: auto;
    overflow: visible;
  }

  .site-nav-column {
    display: none;
  }

  .content-column {
    height: auto;
    overflow: visible;
  }

  .content-column::before {
    inset: 0;
    background-position: center bottom 4rem;
    background-size: min(72vw, 25rem);
  }

	.mobile-topbar {
	  position: fixed;
	  top: 0;
	  left: 0;
	  right: 0;
	  z-index: 70;
	  display: flex;
	  align-items: center;
	  justify-content: space-between;
	  gap: 1rem;
	  padding: 0.7rem 1rem;
	  backdrop-filter: blur(10px);
	  background: rgba(5,5,6,0.75);
	  border-bottom: 1px solid rgba(255,255,255,0.08);
	}

	.content-column {
	  padding-top: 4.8rem;
	}

	.mobile-menu {
	  z-index: 95;
	}

	.cookie-banner {
	  z-index: 90;
	}

  .mobile-brand {
    display: inline-flex;
    align-items: center;
  }

  .mobile-menu-toggle {
    width: 3rem;
    height: 3rem;
    border: 1px solid rgba(255,255,255,0.14);
    border-radius: 50%;
    background: rgba(255,255,255,0.02);
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.24rem;
  }

  .mobile-menu-toggle span:not(.sr-only) {
    width: 1.2rem;
    height: 2px;
    background: var(--text);
    border-radius: 999px;
  }

  .content-panel {
    padding: 1rem 1rem 2rem;
  }

  .panel-title {
    font-size: clamp(2.55rem, 8vw, 4rem);
  }

  .event-row {
    grid-template-columns: 1fr;
  }

  .event-toggle-indicator {
    margin: 0 1rem 1rem auto;
  }

  .event-detail-shell,
  .member-gallery-body {
    grid-template-columns: 1fr;
  }

  .detail-meta-grid {
    grid-template-columns: 1fr;
  }

  .cookie-banner {
    left: 1rem;
    right: 1rem;
    width: auto;
  }
}

@media (max-width: 640px) {
  .article-toolbar {
    align-items: flex-start;
  }

  .article-heading {
    font-size: clamp(2.2rem, 10vw, 3rem);
  }

  .cards-grid,
  .video-grid,
  .member-grid {
    grid-template-columns: 1fr;
  }

  .event-row-summary,
  .event-actions,
  .toolbar-row,
  .share-row,
  .footer-links,
  .site-footer-inner {
    align-items: stretch;
  }

  .event-link-button,
  .share-button,
  .filter-chip,
  .article-category-button,
  .video-category-button,
  .back-button,
  .action-button {
    width: 100%;
    justify-content: center;
  }

  .preference-item {
    grid-template-columns: 1fr;
    display: grid;
  }

  .switch {
    justify-self: start;
  }

  .member-card-wrap,
  .member-card,
  .member-card-flip {
    min-height: 35.5rem;
  }

  .member-name {
    font-size: clamp(1.7rem, 8vw, 2.15rem);
  }

  .member-card-corner-role {
    font-size: 0.78rem;
    max-width: 7rem;
  }

  .member-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.65rem;
  }

  .member-stat:nth-child(3),
  .member-stat:nth-child(4) {
    grid-column: 1 / -1;
  }

  .member-stat {
    padding: 0.72rem;
  }

  .member-card-copy {
    flex: 1 1 auto;
    min-height: 9.5rem;
    max-height: 9.5rem;
    overflow-y: auto;
    overflow-x: hidden;
    padding-right: 0.35rem;
  }
}
.gallery-caption-html a {
  color: var(--gold);
  text-decoration: underline;
  text-underline-offset: 0.18rem;
}

.gallery-caption-html a:hover,
.gallery-caption-html a:focus-visible {
  color: var(--text);
}
.gallery-caption-html p:last-child {
  margin-bottom: 0;
}