﻿@font-face {
  font-family: "Athlete Sans";
  src: local("Segoe UI"), local("Arial");
  font-display: swap;
}

:root {
  --bs-body-font-family: "Athlete Sans", "Segoe UI", Arial, sans-serif;
  --bg: #ffffff;
  --bg-alt: #f3f8f8;
  --surface: rgba(244, 246, 247, 0.96);
  --surface-strong: #f1f4f5;
  --surface-muted: #e6ecee;
  --section-tint: #f7fbfb;
  --section-tint-strong: #eef6f6;
  --text: #0f5f63;
  --text-soft: #527b7d;
  --line: rgba(15, 95, 99, 0.12);
  --primary: #0f5f63;
  --accent: #2d8e93;
  --footer: #0f5f63;
  --shadow: 0 24px 80px rgba(15, 95, 99, 0.08);
  --radius: 1.5rem;
  --section-space: clamp(4.5rem, 9vw, 8rem);
  --hero-space: clamp(6rem, 12vw, 10rem);
  --motion: 240ms ease;
  --bs-primary: var(--primary);
  --bs-primary-rgb: 201, 91, 45;
  --bs-body-color: var(--text);
  --bs-body-bg: var(--bg);
  --bs-border-color: var(--line);
}

:root[data-bs-theme="dark"] {
  --bg: #083c40;
  --bg-alt: #0c4a4f;
  --surface: rgba(12, 74, 79, 0.82);
  --surface-strong: #0f5257;
  --surface-muted: #146167;
  --section-tint: #0d4449;
  --section-tint-strong: #115258;
  --text: #ffffff;
  --text-soft: #cde1e2;
  --line: rgba(255, 255, 255, 0.14);
  --primary: #ffffff;
  --accent: #9ed9dc;
  --footer: #062d30;
  --shadow: 0 32px 90px rgba(0, 0, 0, 0.24);
  --bs-primary: var(--primary);
  --bs-primary-rgb: 255, 255, 255;
  --bs-body-color: var(--text);
  --bs-body-bg: var(--bg);
  --bs-border-color: var(--line);
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: clip;
  color: var(--text);
  background:
    linear-gradient(180deg, var(--bg) 0%, var(--bg-alt) 100%);
  letter-spacing: -0.01em;
}

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

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

.skip-link {
  position: absolute;
  left: -9999px;
}

.skip-link:focus {
  top: 1rem;
  left: 1rem;
  z-index: 4000;
  padding: 0.8rem 1rem;
  border-radius: 999px;
  background: var(--surface-strong);
  box-shadow: var(--shadow);
}

.site-header {
  backdrop-filter: blur(16px);
  transition: transform var(--motion), opacity var(--motion);
}

.site-header.is-hidden {
  transform: translateY(calc(-100% - 0.5rem));
  opacity: 0;
  pointer-events: none;
}

.site-nav {
  padding: 0.5rem 0;
  background: color-mix(in srgb, #dcefee 88%, transparent);
  border-bottom: 1px solid var(--line);
}

:root[data-bs-theme="dark"] .site-nav {
  background: color-mix(in srgb, var(--bg) 82%, transparent);
}

.site-nav .container {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-areas:
    "brand utility"
    "collapse collapse";
  grid-template-rows: 2.32rem auto;
  align-items: center;
  row-gap: 0.35rem;
  column-gap: 0.75rem;
}

.navbar-brand,
.footer-copy {
  font-weight: 700;
  letter-spacing: 0.02em;
}

.navbar-brand {
  grid-area: brand;
  display: flex;
  align-items: center;
  align-self: stretch;
  min-width: 0;
  font-size: 1.35rem;
  line-height: 0.88;
  white-space: normal;
  overflow: hidden;
  color: #0f5f63;
}

:root[data-bs-theme="dark"] .navbar-brand {
  color: #ffffff;
}

.navbar-nav {
  gap: 0.25rem;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.55rem 0.9rem !important;
  border-radius: 999px;
  color: var(--text-soft);
  font-weight: 600;
  transition: color var(--motion), background-color var(--motion), transform var(--motion);
}

.nav-link-icon {
  display: none;
  width: 1.15rem;
  height: 1.15rem;
  flex: 0 0 auto;
  line-height: 1;
  align-items: center;
  justify-content: center;
  transform: translateY(-0.02em);
}

.nav-link-icon svg {
  width: 100%;
  height: 100%;
  fill: currentColor;
}

.nav-theme-item {
  display: none;
}

.nav-theme-toggle {
  width: 100%;
  border: 0;
  background: transparent;
  text-align: left;
}

.nav-link:hover,
.nav-link:focus-visible {
  color: var(--text);
  background: color-mix(in srgb, var(--surface-strong) 70%, transparent);
}

.navbar-toggler {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.28rem;
  min-width: 4rem;
  padding: 0.38rem 1rem;
  border-radius: 999px;
  border: 1px solid #ffffff;
  background: #ffffff;
  color: #083c40;
  transition: border-color var(--motion), background-color var(--motion), color var(--motion), box-shadow var(--motion);
}

.navbar-toggler:hover,
.navbar-toggler:focus-visible {
  border-color: color-mix(in srgb, #ffffff 84%, var(--accent));
  background: color-mix(in srgb, #ffffff 84%, var(--accent));
  color: #083c40;
}

.navbar-toggler:focus {
  box-shadow: 0 0 0 0.2rem rgba(15, 95, 99, 0.28);
}

:root[data-bs-theme="dark"] .navbar-toggler {
  border-color: #083c40;
  background: #083c40;
  color: #ffffff;
}

:root[data-bs-theme="dark"] .navbar-toggler:hover,
:root[data-bs-theme="dark"] .navbar-toggler:focus-visible {
  border-color: color-mix(in srgb, #083c40 84%, var(--accent));
  background: color-mix(in srgb, #083c40 84%, var(--accent));
  color: #ffffff;
}

:root[data-bs-theme="dark"] .navbar-toggler:focus {
  box-shadow: 0 0 0 0.2rem rgba(158, 217, 220, 0.24);
}

.navbar-toggler-icon {
  background-image: none;
  position: relative;
  width: 1.2rem;
  height: 2px;
  background: currentColor;
  display: inline-block;
}

.navbar-toggler-icon::before,
.navbar-toggler-icon::after {
  content: "";
  position: absolute;
  left: 0;
  width: 1.2rem;
  height: 2px;
  background: currentColor;
}

.navbar-toggler-icon::before {
  top: -0.35rem;
}

.navbar-toggler-icon::after {
  top: 0.35rem;
}

.nav-actions,
.nav-utility,
.hero-actions,
.footer-links,
.consent-actions,
.consent-banner-inner,
.consent-dialog-header,
.contact-socials {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.nav-actions {
  flex-wrap: nowrap;
}

.nav-utility {
  grid-area: utility;
  margin-left: auto;
  gap: 1.25rem;
}

.navbar-collapse {
  grid-area: collapse;
  margin-top: 1rem;
}

.lang-switch {
  display: inline-flex;
  flex-shrink: 0;
  gap: 0.25rem;
  min-height: 2.28rem;
  padding: 0.14rem;
  border-radius: 999px;
  border: 1px solid #ffffff;
  background: #ffffff;
  color: #083c40;
  transition: border-color var(--motion), background-color var(--motion), color var(--motion), box-shadow var(--motion);
}

.lang-switch:hover,
.lang-switch:focus-within {
  border-color: color-mix(in srgb, #ffffff 84%, var(--accent));
  background: color-mix(in srgb, #ffffff 84%, var(--accent));
  color: #083c40;
}

:root[data-bs-theme="dark"] .lang-switch {
  border-color: #083c40;
  background: #083c40;
  color: #ffffff;
}

:root[data-bs-theme="dark"] .lang-switch:hover,
:root[data-bs-theme="dark"] .lang-switch:focus-within {
  border-color: color-mix(in srgb, #083c40 84%, var(--accent));
  background: color-mix(in srgb, #083c40 84%, var(--accent));
  color: #ffffff;
}

.lang-link {
  display: inline-flex;
  align-items: center;
  min-height: 100%;
  padding: 0.34rem 0.78rem;
  border-radius: 999px;
  color: inherit;
  font-size: 0.9rem;
  font-weight: 600;
  transition: background-color var(--motion), color var(--motion);
}

.lang-link.active {
  background: #083c40;
  color: #ffffff;
}

:root[data-bs-theme="dark"] .lang-link.active {
  background: #ffffff;
  color: #083c40;
}

.theme-toggle {
  flex-shrink: 0;
  min-height: 2.28rem;
  padding-block: 0.38rem;
  white-space: nowrap;
  border-radius: 999px;
  border-color: #ffffff;
  background: #ffffff;
  color: #083c40;
  transition: border-color var(--motion), background-color var(--motion), color var(--motion), box-shadow var(--motion);
}

.theme-toggle:hover,
.theme-toggle:focus-visible {
  border-color: color-mix(in srgb, #ffffff 84%, var(--accent));
  background: color-mix(in srgb, #ffffff 84%, var(--accent));
  color: #083c40;
}

:root[data-bs-theme="dark"] .theme-toggle {
  border-color: #083c40;
  background: #083c40;
  color: #ffffff;
}

:root[data-bs-theme="dark"] .theme-toggle:hover,
:root[data-bs-theme="dark"] .theme-toggle:focus-visible {
  border-color: color-mix(in srgb, #083c40 84%, var(--accent));
  background: color-mix(in srgb, #083c40 84%, var(--accent));
  color: #ffffff;
}

.btn {
  border-radius: 999px;
  padding-inline: 1.15rem;
  font-weight: 600;
}

.btn-primary {
  border-color: #ffffff;
  background: #ffffff;
  color: #083c40;
}

.btn-primary:hover,
.btn-primary:focus-visible {
  border-color: color-mix(in srgb, #ffffff 84%, var(--accent));
  background: color-mix(in srgb, #ffffff 84%, var(--accent));
  color: #083c40;
}

:root[data-bs-theme="dark"] .btn-primary {
  border-color: #083c40;
  background: #083c40;
  color: #ffffff;
}

:root[data-bs-theme="dark"] .btn-primary:hover,
:root[data-bs-theme="dark"] .btn-primary:focus-visible {
  border-color: color-mix(in srgb, #083c40 84%, var(--accent));
  background: color-mix(in srgb, #083c40 84%, var(--accent));
  color: #ffffff;
}

.btn-outline-light {
  border-color: rgba(255, 255, 255, 0.7);
  color: #fff;
}

.btn-outline-light:hover,
.btn-outline-light:focus-visible {
  background: #fff;
  color: #101010;
}

.btn-outline-primary,
.btn-outline-secondary {
  border-color: var(--line);
  color: var(--text);
}

.section-pad {
  padding: var(--section-space) 0;
}

.section-alt {
  background: var(--section-tint);
}

#events,
#gallery,
#contact {
  background: var(--section-tint-strong);
}

.section-heading {
  max-width: 54rem;
  margin-bottom: clamp(2rem, 5vw, 3.5rem);
}

.social-media-section .section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 0.9rem;
}

.social-media-section .section-heading h2 {
  margin-bottom: 0;
}

.social-media-section .contact-consent-button {
  margin-inline-start: auto;
}

.eyebrow {
  margin-bottom: 0.9rem;
  color: var(--primary);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

h1,
h2,
h3,
h4 {
  margin-top: 0;
  color: var(--text);
  line-height: 0.98;
}

h1 {
  font-size: clamp(3.4rem, 9vw, 7rem);
  max-width: 11ch;
}

h2 {
  font-size: clamp(2.3rem, 5vw, 4rem);
  max-width: 14ch;
}

#events .section-heading h2 {
  max-width: none;
  white-space: nowrap;
}

#sponsors .section-heading {
  max-width: none;
}

h3 {
  font-size: 1.15rem;
  margin-bottom: 0.9rem;
}

p {
  color: var(--text-soft);
  line-height: 1.68;
}

.hero-section {
  position: relative;
  min-height: min(100svh, 62rem);
  padding: var(--hero-space) 0 4rem;
  color: #fff;
  overflow: clip;
}

.hero-media-layer,
.hero-image-fallback,
.hero-video {
  position: absolute;
  inset: 0;
}

.hero-image-fallback {
  display: block;
  overflow: hidden;
}

.hero-image-fallback img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.04);
  animation: heroDrift 18s ease-in-out infinite alternate;
}

.hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.18;
}

.hero-layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-rows: 1fr auto;
  align-items: stretch;
  min-height: min(72svh, 46rem);
}

.hero-copy {
  display: grid;
  align-content: center;
  max-width: 100%;
  text-align: center;
}

.hero-copy p {
  color: rgba(255, 255, 255, 0.84);
}

.hero-copy h1 {
  color: #ffffff;
  max-width: none;
  margin-inline: auto;
  font-size: clamp(2.8rem, 8vw, 8.4rem);
  font-weight: 700;
  white-space: nowrap;
  transform: translate(-10%, 10%);
}

.hero-typewriter {
  display: inline-block;
  min-width: 1ch;
  white-space: nowrap;
  text-decoration-line: underline;
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.14em;
}

:root[data-bs-theme="light"] .hero-typewriter {
  text-decoration-color: #dcefee;
}

:root[data-bs-theme="dark"] .hero-typewriter {
  text-decoration-color: #083c40;
}

.hero-typewriter::after {
  content: "";
  display: inline-block;
  width: 0.08em;
  height: 0.9em;
  margin-left: 0.12em;
  background: currentColor;
  vertical-align: -0.08em;
  animation: heroCaretBlink 0.9s steps(1) infinite;
}

@keyframes heroCaretBlink {
  0%,
  48% {
    opacity: 1;
  }

  50%,
  100% {
    opacity: 0;
  }
}

.hero-intro {
  max-width: 42rem;
  font-size: clamp(1.05rem, 2vw, 1.3rem);
}

.hero-detail {
  max-width: 34rem;
}

.hero-actions {
  display: flex;
  align-self: stretch;
  width: 100%;
  justify-content: flex-start;
  flex-wrap: wrap;
  margin-top: auto;
  padding-top: 1.75rem;
}

.info-panel,
.achievement-card,
.sponsor-card,
.event-item,
.gallery-card,
.embed-card,
.gallery-modal-content,
.contact-form,
.media-panel,
.legal-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.hero-stat-label {
  margin: 0;
}

.section-copy,
.achievement-date,
.event-date,
.small-note,
.form-status {
  color: var(--text-soft);
}

.section-copy-stack {
  display: grid;
  gap: 1.15rem;
}

.media-panel,
.info-panel,
.achievement-card,
.sponsor-card,
.event-item,
.embed-card,
.contact-form,
.legal-card {
  padding: 1.5rem;
}

.embed-consent-button {
  --embed-consent-blue: #1d63d8;
  --embed-consent-blue-dark: #1652b8;
  border-color: var(--embed-consent-blue);
  background: #ffffff;
  color: var(--embed-consent-blue);
}

.embed-consent-button:hover,
.embed-consent-button:focus-visible {
  border-color: var(--embed-consent-blue-dark);
  background: #f5f9ff;
  color: var(--embed-consent-blue-dark);
}

.embed-consent-button:focus-visible {
  box-shadow: 0 0 0 0.2rem rgba(29, 99, 216, 0.18);
}

:root[data-bs-theme="dark"] .embed-consent-button {
  border-color: var(--embed-consent-blue);
  background: var(--embed-consent-blue);
  color: #ffffff;
}

:root[data-bs-theme="dark"] .embed-consent-button:hover,
:root[data-bs-theme="dark"] .embed-consent-button:focus-visible {
  border-color: var(--embed-consent-blue-dark);
  background: var(--embed-consent-blue-dark);
  color: #ffffff;
}

.achievement-card {
  display: grid;
  grid-template-rows: auto auto 1fr auto;
  gap: 0.35rem;
  height: 100%;
}

.achievement-card h3 {
  line-height: 1.22;
}

.achievement-link {
  justify-self: start;
  margin-top: auto;
}

.contact-form .btn-primary {
  border-color: color-mix(in srgb, var(--section-tint-strong) 78%, var(--accent));
  background: color-mix(in srgb, var(--section-tint-strong) 78%, var(--accent));
  color: var(--text);
}

.contact-form .btn-primary:hover,
.contact-form .btn-primary:focus-visible {
  border-color: color-mix(in srgb, var(--section-tint-strong) 62%, var(--accent));
  background: color-mix(in srgb, var(--section-tint-strong) 62%, var(--accent));
  color: var(--text);
}

.contact-consent-button.consent-button-pending {
  border-color: #1d63d8;
  background: #ffffff;
  color: #1d63d8;
}

.contact-consent-button.consent-button-pending:hover,
.contact-consent-button.consent-button-pending:focus-visible {
  border-color: #1652b8;
  background: #f5f9ff;
  color: #1652b8;
}

:root[data-bs-theme="dark"] .contact-consent-button.consent-button-pending {
  border-color: #1d63d8;
  background: #1d63d8;
  color: #ffffff;
}

:root[data-bs-theme="dark"] .contact-consent-button.consent-button-pending:hover,
:root[data-bs-theme="dark"] .contact-consent-button.consent-button-pending:focus-visible {
  border-color: #1652b8;
  background: #1652b8;
  color: #ffffff;
}

.contact-consent-button.consent-button-complete {
  border-color: var(--section-tint-strong);
  background: var(--section-tint-strong);
  color: var(--text);
}

.contact-consent-button.consent-button-complete:hover,
.contact-consent-button.consent-button-complete:focus-visible {
  border-color: color-mix(in srgb, var(--section-tint-strong) 82%, var(--accent));
  background: color-mix(in srgb, var(--section-tint-strong) 82%, var(--accent));
  color: var(--text);
}

.media-panel {
  overflow: hidden;
  padding: 0;
}

.media-panel picture {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
}

.feature-image {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: cover;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  list-style: none;
  padding: 0;
  margin: 0 0 1rem;
}

.tag-list li {
  padding: 0.45rem 0.8rem;
  border-radius: 999px;
  background: var(--surface-muted);
  color: var(--text);
  font-size: 0.92rem;
}

.event-list,
.embed-stack,
.contact-side {
  display: grid;
  gap: 1rem;
}

.social-media-block + .social-media-block {
  margin-top: 2rem;
}

.social-media-block h3 {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin-bottom: 0.5rem;
  font-size: 1.75rem;
}

.social-heading-icon {
  display: inline-grid;
  place-items: center;
  color: var(--primary);
  line-height: 1;
}

.social-heading-icon svg {
  width: 1.5rem;
  height: 1.5rem;
  fill: currentColor;
}

.social-media-youtube .embed-stack {
  gap: 0.5rem;
  width: 100%;
}

.social-media-youtube .ratio {
  width: 100%;
}

.social-media-instagram {
  margin-top: 2.5rem;
}

.event-item {
  display: grid;
  align-items: center;
  grid-template-columns: clamp(7.5rem, 12vw, 9.5rem) minmax(0, 1fr) auto;
  gap: 1rem;
}

.event-item > div {
  min-width: 0;
}

.sponsor-card {
  display: grid;
  gap: 1rem;
  color: var(--text);
  height: 100%;
  align-content: start;
  transition: transform var(--motion), border-color var(--motion);
}

.sponsor-card span,
.sponsor-card p {
  text-align: center;
}

.sponsor-card > span {
  font-weight: 700;
}

.sponsor-card picture,
.sponsor-card > img {
  display: block;
  margin: 0;
}

.sponsor-card > span,
.sponsor-card > p {
  margin: 0;
}

.sponsor-card:hover,
.sponsor-card:focus-visible,
.gallery-card:hover,
.gallery-card:focus-visible,
.contact-social-card:hover,
.contact-social-card:focus-visible {
  transform: translateY(-4px);
  border-color: color-mix(in srgb, var(--primary) 42%, var(--line));
}

.sponsor-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 1rem;
  background: var(--surface-muted);
}

.gallery-carousel {
  padding-bottom: 3rem;
}

.instagram-carousel {
  padding-bottom: 3rem;
}

.gallery-slide-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}

.instagram-slide-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}

.instagram-card-shell {
  min-width: 0;
}

.gallery-card {
  width: 100%;
  padding: 0;
  overflow: hidden;
  cursor: pointer;
  background: var(--surface-strong);
  transition: transform var(--motion), border-color var(--motion), box-shadow var(--motion);
}

.gallery-slide-card {
  position: relative;
  display: block;
  border: 1px solid var(--line);
}

.gallery-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.gallery-slide-copy {
  position: absolute;
  inset: auto 0 0 0;
  display: grid;
  gap: 0.25rem;
  padding: 1rem 1.1rem;
  text-align: left;
  background: linear-gradient(180deg, rgba(8, 60, 64, 0.02), rgba(8, 60, 64, 0.72));
}

.gallery-source .gallery-slide-copy,
.gallery-carousel .gallery-slide-copy {
  display: none;
}

.gallery-slide-copy strong,
.gallery-slide-copy span {
  color: #fff;
}

.gallery-slide-copy strong {
  font-size: 1rem;
}

.gallery-slide-copy span {
  font-size: 0.88rem;
  line-height: 1.45;
}

.gallery-indicators {
  margin-bottom: 0;
}

.instagram-indicators {
  margin-bottom: 0;
}

.gallery-indicators [data-bs-target] {
  width: 0.72rem;
  height: 0.72rem;
  border: 0;
  border-radius: 50%;
  background-color: color-mix(in srgb, var(--primary) 35%, transparent);
}

.instagram-indicators [data-bs-target] {
  width: 0.72rem;
  height: 0.72rem;
  border: 0;
  border-radius: 50%;
  background-color: color-mix(in srgb, var(--primary) 35%, transparent);
}

.gallery-indicators .active {
  background-color: var(--primary);
}

.instagram-indicators .active {
  background-color: var(--primary);
}

.gallery-carousel .carousel-control-prev,
.gallery-carousel .carousel-control-next {
  width: 4rem;
}

.instagram-carousel .carousel-control-prev,
.instagram-carousel .carousel-control-next {
  width: 4rem;
}

.gallery-carousel .carousel-control-prev-icon,
.gallery-carousel .carousel-control-next-icon {
  width: 3rem;
  height: 3rem;
  border-radius: 999px;
  background-color: rgba(8, 60, 64, 0.48);
  background-size: 52%;
}

.instagram-carousel .carousel-control-prev-icon,
.instagram-carousel .carousel-control-next-icon {
  width: 3rem;
  height: 3rem;
  border-radius: 999px;
  background-color: rgba(8, 60, 64, 0.48);
  background-size: 52%;
}

.ratio iframe,
.instagram-media {
  width: 100%;
}

.instagram-media {
  display: block;
  min-height: 19rem;
  margin: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--surface);
}

.instagram-fallback-card {
  display: grid;
  align-content: center;
  justify-items: start;
  gap: 0.9rem;
  min-height: 19rem;
  padding: 1.5rem;
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--surface-muted) 84%, transparent), var(--surface));
}

.instagram-fallback-eyebrow {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-soft);
}

.instagram-fallback-card p {
  margin: 0;
  color: var(--text);
  line-height: 1.5;
}

.instagram-blocked-hint {
  font-size: 0.9rem;
  color: var(--text-soft);
}

.youtube-preview {
  position: absolute;
  inset: 0;
  overflow: hidden;
  border-radius: 1.2rem;
  background: var(--surface-muted);
}

.youtube-preview-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.youtube-preview::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(8, 60, 64, 0.08), rgba(8, 60, 64, 0.46));
}

.youtube-preview-play,
.youtube-preview-link {
  position: absolute;
  z-index: 1;
}

.youtube-preview-play {
  top: 50%;
  left: 50%;
  display: grid;
  place-items: center;
  width: 5rem;
  height: 5rem;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  transform: translate(-50%, -50%);
  transition: transform var(--motion), background-color var(--motion);
}

.youtube-preview-play:hover,
.youtube-preview-play:focus-visible {
  background: #fff;
  transform: translate(-50%, -50%) scale(1.04);
}

.youtube-preview-play span {
  display: block;
  width: 0;
  height: 0;
  margin-left: 0.22rem;
  border-top: 0.82rem solid transparent;
  border-bottom: 0.82rem solid transparent;
  border-left: 1.35rem solid var(--primary);
}

.youtube-preview-link {
  right: 1rem;
  bottom: 1rem;
  padding: 0.5rem 0.85rem;
  border-radius: 999px;
  color: #fff;
  background: rgba(8, 60, 64, 0.72);
  font-size: 0.88rem;
  font-weight: 600;
}

.contact-form .form-control {
  border-radius: 1rem;
  border-color: var(--line);
  background: var(--surface-strong);
  color: var(--text);
}

.contact-form .form-control:focus {
  border-color: rgba(var(--bs-primary-rgb), 0.55);
  box-shadow: 0 0 0 0.2rem rgba(var(--bs-primary-rgb), 0.16);
}

.contact-socials {
  display: grid;
  gap: 0.9rem;
}

.contact-social-card {
  display: grid;
  grid-template-columns: 3.25rem minmax(0, 1fr);
  align-items: center;
  gap: 0.9rem;
  padding: 1rem 1.1rem;
  border: 1px solid var(--line);
  border-radius: 1.1rem;
  background: var(--surface-strong);
  transition: transform var(--motion), border-color var(--motion);
}

.contact-social-text {
  display: grid;
  gap: 0.22rem;
}

.contact-social-label {
  color: var(--text);
  font-weight: 700;
}

.contact-social-icon {
  display: inline-grid;
  place-items: center;
  width: 3.25rem;
  height: 3.25rem;
  border-radius: 999px;
  background: var(--surface-muted);
  color: var(--primary);
  line-height: 1;
}

.contact-social-icon svg {
  width: 1.9rem;
  height: 1.9rem;
  fill: currentColor;
}

.contact-social-handle {
  color: var(--text-soft);
  font-size: 0.92rem;
}

.contact-consent-button {
  margin-top: 0.5rem;
}

.honeypot {
  position: absolute;
  left: -9999px;
}

.site-footer {
  padding: 0.7rem 0;
  color: rgba(255, 255, 255, 0.82);
  background: var(--footer);
}

.back-to-top {
  position: fixed;
  right: 1.25rem;
  bottom: 2.75rem;
  z-index: 1035;
  display: inline-grid;
  place-items: center;
  width: 3.2rem;
  height: 3.2rem;
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 999px;
  background: rgba(244, 244, 244, 0.72);
  backdrop-filter: blur(8px);
  color: #2f2f2f;
  box-shadow: var(--shadow);
  opacity: 0;
  pointer-events: none;
  transform: translateY(0.6rem);
  transition: opacity var(--motion), transform var(--motion), background-color var(--motion), border-color var(--motion), color var(--motion);
}

.back-to-top.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.back-to-top:hover,
.back-to-top:focus-visible {
  border-color: rgba(255, 255, 255, 0.98);
  background: rgba(248, 248, 248, 0.9);
  color: #1f1f1f;
}

:root[data-bs-theme="dark"] .back-to-top {
  border-color: rgba(36, 36, 36, 0.92);
  background: rgba(28, 28, 28, 0.76);
  backdrop-filter: blur(8px);
  color: #ffffff;
}

:root[data-bs-theme="dark"] .back-to-top:hover,
:root[data-bs-theme="dark"] .back-to-top:focus-visible {
  border-color: rgba(52, 52, 52, 0.96);
  background: rgba(38, 38, 38, 0.9);
  color: #ffffff;
}

.back-to-top span {
  font-size: 1.55rem;
  font-weight: 800;
  line-height: 0.9;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.16);
}

.footer-line {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.5rem;
}

.footer-copy {
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
}

.footer-links a {
  color: rgba(255, 255, 255, 0.82);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  row-gap: 0.2rem;
  column-gap: 0.9rem;
  margin-left: auto;
  text-align: right;
}

.footer-links a:hover,
.footer-links a:focus-visible {
  color: #fff;
}

.consent-banner {
  position: fixed;
  inset: auto 0 0 0;
  z-index: 1200;
  padding: 1rem 0;
  color: #fff;
  background: rgba(5, 6, 8, 0.92);
  backdrop-filter: blur(16px);
}

.consent-banner .btn-outline-secondary,
.consent-banner .btn-outline-primary {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.35);
}

.consent-modal {
  position: fixed;
  inset: 0;
  z-index: 1300;
  display: grid;
  place-items: center;
  padding: 1rem;
  overflow-y: auto;
  background: rgba(0, 0, 0, 0.45);
}

.consent-dialog {
  width: min(32rem, 100%);
  max-height: calc(100svh - 2rem);
  overflow-y: auto;
  padding: 1.5rem;
  border-radius: var(--radius);
  background: var(--surface-strong);
}

.consent-dialog-header {
  justify-content: space-between;
  align-items: flex-start;
}

.consent-dialog-header h2 {
  font-size: clamp(1.2rem, 2.6vw, 1.8rem);
  max-width: none;
  margin-bottom: 0;
}

.consent-form {
  display: grid;
  gap: 1rem;
  margin-top: 1rem;
}

.consent-dialog-header .btn-close {
  flex: 0 0 auto;
  margin-top: 0.1rem;
}

.consent-option {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: start;
  gap: 0.85rem;
  padding: 0.9rem 1rem;
  border: 1px solid var(--line);
  border-radius: 1rem;
  background: var(--surface);
}

.consent-option input {
  margin-top: 0.2rem;
}

.consent-option span {
  display: grid;
  gap: 0.25rem;
}

.consent-option strong {
  color: var(--text);
}

.consent-option small {
  color: var(--text-soft);
  line-height: 1.4;
}

.consent-option-static {
  background: color-mix(in srgb, var(--surface) 88%, var(--surface-muted));
}

.consent-option-static input[disabled] {
  opacity: 1;
}

.gallery-modal-content {
  border-radius: var(--radius);
  overflow: hidden;
}

.gallery-modal-content .modal-body {
  position: relative;
  padding: 0;
}

.gallery-modal-content .btn-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 2;
}

.modal-body img {
  margin-bottom: 0;
}

.legal-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.legal-layout {
  flex: 1 0 auto;
  padding: calc(var(--section-space) * 0.5) 0;
  padding-inline: calc(var(--bs-gutter-x) * 0.5);
}

.legal-layout > h1,
.legal-layout > h2,
.legal-layout > p,
.legal-layout > .legal-card {
  max-width: 54rem;
}

.legal-layout > h1,
.legal-layout > h2 {
  margin-bottom: 1.5rem;
}

.legal-layout > h1 {
  font-size: clamp(2rem, 4.8vw, 3.6rem);
}

.legal-layout > h2 {
  font-size: clamp(1.4rem, 3vw, 2.2rem);
}

.legal-layout > .legal-card,
.legal-layout > p {
  margin-bottom: 1.25rem;
}

.legal-imprint > h2 {
  margin-top: 3rem;
}

.legal-imprint strong {
  font-weight: 800;
}

@keyframes heroDrift {
  from {
    transform: scale(1.04) translate3d(0, 0, 0);
  }

  to {
    transform: scale(1.08) translate3d(-1.2%, 0.8%, 0);
  }
}

@media (max-width: 991.98px) {
  .hero-layout {
    align-items: stretch;
  }

}

@media (min-width: 1200px) {
  .site-nav .container {
    grid-template-columns: auto minmax(0, 1fr) auto;
    grid-template-areas: "brand collapse utility";
    grid-template-rows: auto;
  }

  .navbar-brand {
    max-width: 11rem;
  }

  .navbar-collapse {
    margin-top: 0;
    padding-top: 0;
    border-top: 0;
  }
}

@media (max-width: 1199.98px) {
  .nav-utility {
    gap: 0.5rem;
  }

  .navbar-collapse {
    position: absolute;
    top: calc(100% + 0.5rem);
    right: 0;
    z-index: 30;
    width: min(100%, 15.5rem);
    margin-top: 0;
    padding: 0.85rem 1rem;
    border: 1px solid var(--line);
    border-radius: 1rem;
    background: color-mix(in srgb, var(--surface-strong) 78%, transparent);
    backdrop-filter: blur(12px);
    box-shadow: var(--shadow);
  }

  .navbar-collapse .navbar-nav {
    width: 100%;
    margin-right: 0;
  }

  .navbar-collapse .nav-link {
    padding-left: 0;
    padding-right: 0;
    color: var(--text);
  }

  .navbar-collapse .nav-link-icon {
    display: inline-flex;
  }

  :root[data-bs-theme="light"] .navbar-collapse .nav-link {
    color: #083c40;
  }

  :root[data-bs-theme="dark"] .navbar-collapse .nav-link {
    color: #ffffff;
  }
}

@media (max-width: 480px) {
  .navbar-brand {
    font-size: 0.98rem;
    font-weight: 550;
    line-height: 0.9;
    letter-spacing: 0.01em;
  }

  .nav-actions .theme-toggle {
    display: none;
  }

  .navbar-collapse .nav-theme-item {
    display: list-item;
  }
}

@media (max-width: 767.98px) {
  .hero-section {
    min-height: 42rem;
    padding-top: 7rem;
  }

  .event-item {
    grid-template-columns: minmax(5.75rem, 6.5rem) minmax(0, 1fr);
    align-items: start;
  }

  .event-item > div,
  .event-item > a {
    grid-column: 2;
  }

  .event-item > a {
    justify-self: start;
  }

  .hero-copy h1 {
      max-width: none;
      font-size: clamp(2.1rem, 9vw, 4.2rem);
      transform: translate(0, 8%);
    }

  .gallery-slide-copy {
    padding: 0.9rem 1rem;
  }

  .gallery-carousel .carousel-control-prev,
  .gallery-carousel .carousel-control-next {
    width: 3rem;
  }

  .instagram-carousel .carousel-control-prev,
  .instagram-carousel .carousel-control-next {
    width: 3rem;
  }

  .event-item,
  .consent-banner-inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer-links {
    width: auto;
    justify-content: flex-end;
  }
}

@media (max-width: 420px) {
  .footer-name {
    display: none;
  }
}

@media (min-width: 768px) {
  .gallery-slide-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

@media (min-width: 992px) {
  .navbar-collapse {
    flex-basis: auto;
    flex-grow: 0;
  }

  .nav-actions {
    margin-left: 0;
    padding-right: 0;
  }

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

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

  .social-media-youtube .embed-stack {
    max-width: min(52rem, 56vw);
    margin-inline: auto;
  }
}

@media (min-width: 1400px) {
  .instagram-slide-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}


