:root {
  --color-navy: #0b2545;
  --color-navy-2: #123a66;
  --color-ice: #dff3ff;
  --color-ice-2: #eef8fc;
  --color-sky: #4fb3df;
  --color-accent: #007ea7;
  --color-accent-dark: #005f80;
  --color-text: #172033;
  --color-muted: #5e6c7d;
  --color-border: #d9e7ef;
  --color-surface: #ffffff;
  --color-page: #f6fafc;
  --shadow-soft: 0 16px 42px rgba(11, 37, 69, 0.12);
  --container: 1120px;
  --radius: 8px;
  --font-sans: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --ease-athletic: cubic-bezier(0.2, 0.8, 0.2, 1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--color-text);
  background: var(--color-page);
  font-family: var(--font-sans);
  font-size: 18px;
  line-height: 1.6;
}

body.is-locked {
  overflow: hidden;
}

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

a {
  color: var(--color-navy-2);
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--color-accent-dark);
}

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

h1,
h2,
h3 {
  color: var(--color-navy);
  line-height: 1.15;
  margin: 0 0 0.65rem;
}

h1 {
  font-size: clamp(2.25rem, 6vw, 4.8rem);
  max-width: 780px;
}

h2 {
  font-size: clamp(1.75rem, 4vw, 2.6rem);
}

h3 {
  font-size: 1.25rem;
}

p {
  margin: 0 0 1rem;
}

address {
  font-style: normal;
}

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

.skip-link {
  position: fixed;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 1000;
  transform: translateY(-160%);
  padding: 0.75rem 1rem;
  color: var(--color-surface);
  background: var(--color-navy);
  border-radius: var(--radius);
}

.skip-link:focus {
  transform: translateY(0);
}

.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;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid var(--color-border);
  backdrop-filter: blur(14px);
  animation: header-drop 520ms var(--ease-athletic) both;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 82px;
  gap: 1.5rem;
}

.brand,
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--color-navy);
  text-decoration: none;
}

.brand-mark {
  display: inline-grid;
  place-items: center;
  width: 5.5rem;
  height: 3.5rem;
  color: var(--color-surface);
  font-weight: 800;
  letter-spacing: 0;
  transition: transform 220ms var(--ease-athletic);
}

.brand-mark img {
  display: block;
  width: auto;
  max-width: 100%;
  height: 3.5rem;
  object-fit: contain;
  border-radius: 14px;
  clip-path: inset(0 round 14px);
}

.brand:hover .brand-mark {
  transform: translateY(-2px) rotate(-2deg) scale(1.02);
}

.brand-copy {
  display: flex;
  align-items: center;
  min-height: 3.5rem;
}

.brand-copy strong,
.footer-brand {
  font-weight: 800;
}

.brand-copy strong {
  line-height: 1.15;
}

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

.site-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0.55rem 0.8rem;
  color: var(--color-text);
  border-radius: var(--radius);
  font-size: 0.96rem;
  font-weight: 700;
  text-decoration: none;
  transition: background-color 180ms ease, color 180ms ease, transform 180ms var(--ease-athletic);
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--color-navy);
  background: var(--color-ice);
}

.site-nav a:hover {
  transform: translateY(-1px);
}

.nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  padding: 0;
  color: var(--color-navy);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
}

.nav-toggle-lines,
.nav-toggle-lines::before,
.nav-toggle-lines::after {
  display: block;
  width: 20px;
  height: 2px;
  margin-inline: auto;
  background: currentColor;
  border-radius: 99px;
  content: "";
}

.nav-toggle-lines::before {
  transform: translateY(-7px);
}

.nav-toggle-lines::after {
  transform: translateY(5px);
}

.hero {
  min-height: calc(100svh - 82px);
  display: grid;
  align-items: center;
  color: var(--color-surface);
  background-color: var(--color-navy);
}

.hero-home {
  position: relative;
  isolation: isolate;
  overflow: hidden;
}

.hero-home::before,
.hero-home::after {
  position: absolute;
  inset: 0;
  content: "";
}

.hero-home::before {
  z-index: 0;
  background-image: url("../img/hero-bg.png");
  background-position: center right;
  background-repeat: no-repeat;
  background-size: cover;
  transform: translate3d(1px, 0, 0) scale(1.025);
  transform-origin: center right;
  animation: hero-drift 18s ease-out both;
  will-change: transform;
}

.hero-home::after {
  z-index: 0;
  background-image:
    radial-gradient(ellipse at 27% 43%, rgba(7, 28, 54, 0.48) 0%, rgba(7, 28, 54, 0.34) 34%, rgba(7, 28, 54, 0.1) 56%, rgba(7, 28, 54, 0) 76%),
    linear-gradient(90deg, rgba(7, 28, 54, 0.58) 0%, rgba(7, 28, 54, 0.44) 27%, rgba(7, 28, 54, 0.18) 50%, rgba(7, 28, 54, 0.04) 70%, rgba(7, 28, 54, 0) 100%),
    linear-gradient(0deg, rgba(7, 28, 54, 0.08), rgba(7, 28, 54, 0) 38%);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 690px;
  padding-block: 4rem 6rem;
  transform: translate3d(-0.8rem, -2.2rem, 0);
}

.hero-content .eyebrow,
.hero-content h1,
.hero-content .hero-subtitle,
.hero-content p:not(.eyebrow),
.hero-content .button-row {
  animation: hero-rise 620ms var(--ease-athletic) both;
  text-shadow: 0 2px 18px rgba(5, 18, 34, 0.34);
  will-change: opacity, transform;
}

.hero-content h1,
.hero-content .hero-subtitle {
  text-shadow: 0 3px 22px rgba(5, 18, 34, 0.46);
}

.hero-content .button-row {
  text-shadow: none;
}

.hero-content h1 {
  animation-delay: 80ms;
}

.hero-content .hero-subtitle {
  animation-delay: 130ms;
}

.hero-content p:not(.eyebrow) {
  animation-delay: 100ms;
}

.hero-content .button-row {
  animation-delay: 120ms;
}

.hero h1,
.hero h2,
.hero .eyebrow {
  color: var(--color-surface);
}

.hero p {
  max-width: 680px;
  color: rgba(255, 255, 255, 0.88);
}

.hero-subtitle {
  font-size: clamp(1.35rem, 3vw, 2rem);
  font-weight: 700;
}

.page-hero {
  color: var(--color-surface);
  background:
    linear-gradient(135deg, rgba(11, 37, 69, 0.98), rgba(18, 58, 102, 0.92)),
    radial-gradient(circle at 85% 15%, rgba(79, 179, 223, 0.42), transparent 30%);
}

.page-hero-inner {
  padding-block: clamp(4rem, 9vw, 7rem);
}

.page-hero-shop {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 360px);
  align-items: start;
  gap: clamp(2rem, 6vw, 4rem);
}

.shop-callout {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(92px, 34%);
  align-items: center;
  gap: 0.75rem;
  overflow: hidden;
  padding: 1.25rem;
  color: var(--color-navy);
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(255, 255, 255, 0.46);
  border-radius: var(--radius);
  box-shadow: 0 20px 46px rgba(2, 12, 28, 0.18);
  backdrop-filter: blur(12px);
}

.shop-callout-content {
  position: relative;
  z-index: 1;
}

.shop-callout-image {
  position: relative;
  z-index: 0;
  justify-self: end;
  align-self: center;
  width: clamp(6.25rem, 12vw, 8.75rem);
  height: auto;
  margin: 0 -0.55rem 0 0;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  outline: 0;
  pointer-events: none;
  user-select: none;
  filter: drop-shadow(0 14px 22px rgba(11, 37, 69, 0.22));
}

.shop-callout-image:hover,
.shop-callout-image:focus {
  background: transparent;
  border: 0;
  box-shadow: none;
  outline: 0;
}

.shop-callout .eyebrow {
  color: var(--color-accent-dark);
}

.shop-callout h2 {
  margin-bottom: 0.45rem;
  color: var(--color-navy);
  font-size: 1.35rem;
}

.shop-callout p {
  color: var(--color-muted);
}

.shop-callout .button {
  margin-top: 0.55rem;
}

.page-hero h1,
.page-hero .eyebrow {
  color: var(--color-surface);
}

.page-hero p {
  max-width: 780px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 1.2rem;
}

.page-hero .shop-callout h2 {
  color: var(--color-navy);
}

.page-hero .shop-callout .eyebrow {
  color: var(--color-accent-dark);
}

.page-hero .shop-callout p {
  max-width: none;
  color: var(--color-muted);
  font-size: 1rem;
}

.eyebrow {
  margin-bottom: 0.6rem;
  color: var(--color-sky);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 1.6rem;
}

.button {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0.72rem 1.05rem;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-weight: 800;
  text-decoration: none;
  transition: transform 180ms var(--ease-athletic), background-color 160ms ease, border-color 160ms ease, box-shadow 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 34px rgba(11, 37, 69, 0.18);
}

.button::after {
  position: absolute;
  top: -45%;
  bottom: -45%;
  left: 50%;
  width: 52%;
  background: linear-gradient(110deg, transparent, rgba(255, 255, 255, 0.42), transparent);
  transform: translate3d(-230%, 0, 0) skewX(-18deg);
  transition: transform 560ms var(--ease-athletic);
  content: "";
  pointer-events: none;
  will-change: transform;
}

.button:hover::after {
  transform: translate3d(160%, 0, 0) skewX(-18deg);
}

.button-accent {
  color: var(--color-surface);
  background: var(--color-accent);
}

.button-accent:hover {
  color: var(--color-surface);
  background: var(--color-accent-dark);
}

.button-light {
  color: var(--color-navy);
  background: var(--color-surface);
}

.button-light:hover {
  color: var(--color-navy);
  background: var(--color-ice);
}

.button-secondary {
  color: var(--color-navy);
  background: var(--color-ice);
  border-color: var(--color-border);
}

.button-secondary:hover {
  color: var(--color-navy);
  background: #ccefff;
}

.text-link,
.card-link {
  font-weight: 800;
}

.section {
  padding-block: clamp(3.5rem, 7vw, 6rem);
  background: var(--color-surface);
}

.section-muted {
  background: var(--color-ice-2);
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: 2rem;
}

.section-heading > p {
  max-width: 720px;
}

.content-intro {
  max-width: 760px;
  margin-bottom: 2rem;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.event-card,
.news-card,
.feature-card,
.contact-card,
.map-card {
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  background: var(--color-surface);
  transition: transform 220ms var(--ease-athletic), box-shadow 220ms ease, border-color 180ms ease;
}

.event-card {
  display: grid;
  grid-template-columns: 120px 1fr;
  min-height: 100%;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}

.event-card:hover,
.news-card:hover,
.feature-card:hover,
.download-card:hover,
.contact-card:hover,
.map-card:hover {
  transform: translateY(-4px);
  border-color: rgba(79, 179, 223, 0.56);
  box-shadow: 0 20px 48px rgba(11, 37, 69, 0.14);
}

.event-card.is-upcoming {
  border-color: rgba(79, 179, 223, 0.42);
}

.event-card.is-past {
  opacity: 0.72;
  border-color: rgba(123, 135, 150, 0.24);
  box-shadow: none;
}

.event-card.is-past:hover {
  opacity: 0.86;
}

.event-card.is-filtered-out,
.empty-state.is-filtered-out {
  display: none;
}

.event-date {
  display: grid;
  align-content: center;
  justify-items: center;
  padding: 1rem;
  color: var(--color-surface);
  text-align: center;
  background: var(--color-navy);
}

.event-date span {
  font-size: 0.85rem;
  font-weight: 800;
  text-transform: uppercase;
}

.event-date strong {
  font-size: 1.05rem;
}

.card-content {
  padding: 1.15rem;
}

.event-meta {
  margin-top: -0.15rem;
  color: var(--color-muted);
  font-size: 0.92rem;
  font-weight: 700;
}

.badge {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  margin-bottom: 0.7rem;
  padding: 0.22rem 0.58rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.badge-planned {
  color: #0f3a2d;
  background: #dff8ed;
}

.badge-notice {
  color: #0b4261;
  background: #dcf2ff;
}

.badge-canceled {
  color: #7a1d16;
  background: #ffe3df;
}

.badge-past {
  color: #424a55;
  background: #edf1f5;
}

.event-status {
  letter-spacing: 0.04em;
}

.event-status.upcoming {
  color: #0b4261;
  background: #dcf2ff;
}

.event-status.past {
  color: #526171;
  background: #edf1f5;
}

.event-card.is-past .event-date {
  background: #526171;
}

.event-card.is-upcoming .event-date {
  background: var(--color-navy);
}

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

.event-registration-button {
  min-width: 150px;
  box-shadow: 0 12px 28px rgba(11, 37, 69, 0.14);
}

.news-card,
.feature-card {
  padding: 1.35rem;
  box-shadow: 0 10px 28px rgba(11, 37, 69, 0.08);
}

.news-card p:last-child,
.feature-card p:last-child {
  margin-bottom: 0;
}

.meta,
.news-meta-row {
  color: var(--color-muted);
  font-size: 0.92rem;
  font-weight: 700;
}

.news-card-wide {
  display: grid;
  gap: 0.5rem;
}

.news-card-wide + .news-card-wide {
  margin-top: 1rem;
}

.news-card-christmas {
  position: relative;
  overflow: hidden;
  padding: 1.65rem;
  border-color: rgba(178, 43, 55, 0.3);
  background:
    linear-gradient(135deg, rgba(255, 250, 241, 0.96), rgba(246, 252, 255, 0.98)),
    var(--color-surface);
  box-shadow: 0 16px 38px rgba(11, 37, 69, 0.11);
}

.news-card-christmas::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  border-radius: inherit;
  background:
    radial-gradient(circle, #ffd166 0 4px, transparent 5px) 16px 8px / 42px 18px repeat-x,
    radial-gradient(circle, #b82e3a 0 4px, transparent 5px) 36px calc(100% - 8px) / 42px 18px repeat-x,
    radial-gradient(circle, #2f8f68 0 4px, transparent 5px) 8px 24px / 18px 42px repeat-y,
    radial-gradient(circle, #4fb3df 0 4px, transparent 5px) calc(100% - 8px) 4px / 18px 42px repeat-y,
    linear-gradient(90deg, rgba(11, 37, 69, 0.18), rgba(11, 37, 69, 0.06), rgba(11, 37, 69, 0.18)) 0 14px / 100% 1px no-repeat,
    linear-gradient(90deg, rgba(11, 37, 69, 0.16), rgba(11, 37, 69, 0.05), rgba(11, 37, 69, 0.16)) 0 calc(100% - 14px) / 100% 1px no-repeat,
    linear-gradient(180deg, rgba(11, 37, 69, 0.16), rgba(11, 37, 69, 0.05), rgba(11, 37, 69, 0.16)) 14px 0 / 1px 100% no-repeat,
    linear-gradient(180deg, rgba(11, 37, 69, 0.16), rgba(11, 37, 69, 0.05), rgba(11, 37, 69, 0.16)) calc(100% - 14px) 0 / 1px 100% no-repeat;
}

.news-card-christmas > * {
  position: relative;
  z-index: 1;
}

.news-card-christmas .button {
  justify-self: start;
}

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

.feature-grid,
.download-grid,
.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.feature-icon {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 1rem;
  color: var(--color-navy);
  background: var(--color-ice);
  border-radius: var(--radius);
  font-weight: 900;
}

.cta-band {
  padding-block: 3rem;
  color: var(--color-surface);
  background: var(--color-navy);
}

.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.cta-band h2,
.cta-band .eyebrow {
  color: var(--color-surface);
}

.cta-band p {
  max-width: 720px;
  color: rgba(255, 255, 255, 0.85);
}

.split-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.8fr);
  align-items: center;
  gap: clamp(2rem, 6vw, 4rem);
}

.section-image {
  width: 100%;
  border-radius: var(--radius);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-soft);
}

.step-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  padding: 0;
  margin: 0;
  list-style: none;
}

.step-list li {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
}

.step-list span {
  display: inline-grid;
  place-items: center;
  flex: 0 0 44px;
  height: 44px;
  color: var(--color-surface);
  background: var(--color-navy);
  border-radius: var(--radius);
  font-weight: 900;
}

.step-list h3 {
  margin-bottom: 0.25rem;
}

.step-list p {
  margin-bottom: 0;
}

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

.download-card {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  grid-template-rows: minmax(54px, 1fr) auto;
  column-gap: 1rem;
  row-gap: 1rem;
  align-items: stretch;
  height: 100%;
  min-height: 154px;
  padding: 1.45rem;
  color: var(--color-text);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  text-decoration: none;
  box-shadow: 0 10px 28px rgba(11, 37, 69, 0.08);
  transition: transform 220ms var(--ease-athletic), box-shadow 200ms ease, border-color 200ms ease;
}

.download-card:hover {
  color: var(--color-text);
  border-color: var(--color-sky);
}

.download-card > div {
  display: contents;
}

.download-card h3 {
  grid-column: 2;
  grid-row: 1;
  align-self: center;
  padding-right: 0.75rem;
  margin-bottom: 0;
  line-height: 1.2;
}

.download-icon {
  display: inline-grid;
  grid-column: 1;
  grid-row: 1;
  align-self: center;
  justify-self: start;
  place-items: center;
  width: 54px;
  height: 54px;
  color: var(--color-surface);
  background: var(--color-accent);
  border-radius: var(--radius);
  font-size: 0.88rem;
  font-weight: 900;
}

.download-action {
  display: inline-flex;
  grid-column: 2;
  grid-row: 2;
  align-self: end;
  justify-self: start;
  align-items: center;
  justify-content: center;
  width: fit-content;
  min-height: 38px;
  padding: 0.45rem 0.75rem;
  color: var(--color-surface);
  background: var(--color-navy);
  border-radius: var(--radius);
  font-size: 0.9rem;
  font-weight: 800;
  transition: background-color 160ms ease, transform 180ms var(--ease-athletic);
}

.download-card:hover .download-action {
  background: var(--color-accent);
  transform: translateY(-1px);
}

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: 2rem;
}

.filter-button {
  min-height: 44px;
  padding: 0.6rem 1rem;
  color: var(--color-navy);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  font-weight: 800;
  cursor: pointer;
}

.filter-button:hover,
.filter-button.is-active {
  color: var(--color-surface);
  background: var(--color-navy);
  border-color: var(--color-navy);
}

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

.event-card-large {
  grid-template-columns: 150px 1fr;
  box-shadow: none;
}

.event-details {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
  margin: 1rem 0;
}

.event-details div {
  padding: 0.8rem;
  background: var(--color-ice-2);
  border-radius: var(--radius);
}

.event-details dt {
  color: var(--color-muted);
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
}

.event-details dd {
  margin: 0;
  font-weight: 700;
}

.empty-state {
  padding: 1rem;
  color: var(--color-muted);
  background: var(--color-ice-2);
  border-radius: var(--radius);
}

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

.gallery-card {
  position: relative;
  padding: 0;
  overflow: hidden;
  color: var(--color-surface);
  background: var(--color-navy);
  border: 0;
  border-radius: var(--radius);
  cursor: pointer;
  text-align: left;
  box-shadow: 0 14px 34px rgba(11, 37, 69, 0.1);
}

.gallery-card img {
  width: 100%;
  aspect-ratio: 13 / 9;
  object-fit: cover;
  transition: opacity 190ms ease, transform 500ms var(--ease-athletic), filter 300ms ease;
}

.gallery-card:hover img,
.gallery-card:focus-visible img {
  filter: saturate(1.08) contrast(1.04);
  transform: scale(1.045);
}

.gallery-card-slider {
  cursor: default;
}

.gallery-slide {
  display: block;
  width: 100%;
  padding: 0;
  overflow: hidden;
  background: transparent;
  border: 0;
  cursor: zoom-in;
}

.gallery-slide:focus-visible {
  outline: 3px solid var(--color-accent);
  outline-offset: -3px;
}

.gallery-card-slider.is-switching img {
  opacity: 0.35;
  transform: scale(1.025);
}

.gallery-arrow,
.lightbox-nav {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  color: var(--color-surface);
  background: rgba(7, 28, 54, 0.76);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  cursor: pointer;
  font-family: Arial, Helvetica, sans-serif;
  font-weight: 700;
  font-size: 0;
  line-height: 1;
  text-align: center;
  backdrop-filter: blur(10px);
  transition: transform 180ms var(--ease-athletic), background-color 180ms ease, box-shadow 180ms ease;
}

.gallery-arrow::before,
.lightbox-nav::before {
  content: "";
  display: block;
  width: 0.58rem;
  height: 0.58rem;
  border-top: 3px solid currentColor;
  border-right: 3px solid currentColor;
  border-radius: 2px;
}

.gallery-arrow-prev::before,
.lightbox-nav-prev::before {
  transform: translateX(2px) rotate(-135deg);
}

.gallery-arrow-next::before,
.lightbox-nav-next::before {
  transform: translateX(-2px) rotate(45deg);
}

.gallery-arrow {
  position: absolute;
  top: 50%;
  z-index: 2;
  width: 42px;
  height: 42px;
  transform: translateY(-50%);
}

.gallery-arrow:hover,
.gallery-arrow:focus-visible,
.lightbox-nav:hover,
.lightbox-nav:focus-visible {
  background: rgba(79, 179, 223, 0.92);
  box-shadow: 0 14px 30px rgba(7, 28, 54, 0.22);
}

.gallery-arrow:hover,
.gallery-arrow:focus-visible {
  transform: translateY(-50%) scale(1.06);
}

.gallery-arrow-prev {
  left: 0.7rem;
}

.gallery-arrow-next {
  right: 0.7rem;
}

.gallery-label,
.gallery-card > span:not(.gallery-count) {
  position: absolute;
  right: 0.75rem;
  bottom: 0.75rem;
  left: 0.75rem;
  padding: 0.45rem 0.6rem;
  background: rgba(11, 37, 69, 0.86);
  border-radius: var(--radius);
  font-weight: 800;
}

.gallery-count {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  z-index: 2;
  padding: 0.25rem 0.5rem;
  color: var(--color-surface);
  background: rgba(11, 37, 69, 0.76);
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 800;
  backdrop-filter: blur(10px);
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  padding: 1rem;
  background: rgba(7, 20, 34, 0.88);
  opacity: 0;
  transition: opacity 220ms ease;
}

.lightbox[hidden] {
  display: none;
}

.lightbox.is-open {
  opacity: 1;
}

.lightbox.is-closing {
  opacity: 0;
}

.lightbox-dialog {
  width: min(100%, 920px);
  overflow: hidden;
  background: var(--color-surface);
  border-radius: var(--radius);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.35);
  opacity: 0;
  transform: translateY(22px) scale(0.975);
  transition: opacity 240ms ease, transform 260ms var(--ease-athletic);
  will-change: transform, opacity;
}

.lightbox.is-open .lightbox-dialog {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.lightbox-dialog img {
  width: 100%;
  max-height: 72vh;
  object-fit: contain;
  background: var(--color-navy);
  transition: opacity 170ms ease, transform 220ms var(--ease-athletic);
}

.lightbox.is-switching .lightbox-dialog img {
  opacity: 0.18;
  transform: scale(0.985);
}

.lightbox-caption {
  padding: 1rem 1.2rem;
}

.lightbox-close {
  position: fixed;
  top: 1rem;
  right: 1rem;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  padding: 0;
  color: var(--color-surface);
  background: var(--color-accent);
  border: 0;
  border-radius: var(--radius);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0;
  font-weight: 700;
  line-height: 1;
  text-align: center;
  cursor: pointer;
}

.lightbox-close::before,
.lightbox-close::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 21px;
  height: 3px;
  background: currentColor;
  border-radius: 999px;
}

.lightbox-close::before {
  transform: translate(-50%, -50%) rotate(45deg);
}

.lightbox-close::after {
  transform: translate(-50%, -50%) rotate(-45deg);
}

.lightbox-nav {
  position: fixed;
  top: 50%;
  z-index: 2;
  width: 54px;
  height: 54px;
  transform: translateY(-50%);
}

.lightbox-nav::before {
  width: 0.72rem;
  height: 0.72rem;
  border-width: 4px;
}

.lightbox-nav:hover,
.lightbox-nav:focus-visible {
  transform: translateY(-50%) scale(1.06);
}

.lightbox-nav-prev {
  left: max(1rem, calc((100vw - 1040px) / 2));
}

.lightbox-nav-next {
  right: max(1rem, calc((100vw - 1040px) / 2));
}

.lightbox-nav[hidden] {
  display: none;
}

.contact-grid {
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.85fr);
  align-items: stretch;
}

.contact-card,
.map-card {
  padding: 1.5rem;
}

.map-embed {
  width: 100%;
  min-height: 320px;
  margin-bottom: 1.25rem;
  overflow: hidden;
  background: var(--color-ice-2);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
}

.map-embed iframe {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 320px;
}

.map-graphic {
  display: grid;
  place-items: center;
  min-height: 250px;
  margin-bottom: 1.25rem;
  color: var(--color-surface);
  background:
    linear-gradient(135deg, rgba(11, 37, 69, 0.9), rgba(79, 179, 223, 0.62)),
    url("../img/placeholder-radtour.svg");
  background-position: center;
  background-size: cover;
  border-radius: var(--radius);
}

.map-graphic span,
.map-graphic strong {
  display: block;
  padding: 0.25rem 0.7rem;
  background: rgba(11, 37, 69, 0.72);
  border-radius: var(--radius);
}

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

.legal-content h2 {
  margin-top: 2rem;
  font-size: 1.45rem;
}

.site-footer {
  color: rgba(255, 255, 255, 0.84);
  background: #071c36;
}

.site-footer a {
  color: var(--color-surface);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.35fr 1fr 0.75fr;
  gap: 2rem;
  padding-block: 3rem;
}

.site-footer h2 {
  color: var(--color-surface);
  font-size: 1rem;
}

.footer-brand {
  margin-bottom: 0.75rem;
  color: var(--color-surface);
}

.footer-brand img {
  display: block;
  width: min(18rem, 100%);
  height: auto;
  object-fit: contain;
  border-radius: 18px;
  clip-path: inset(0 round 18px);
  filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.24));
}

.footer-nav {
  display: grid;
  align-content: start;
  gap: 0.45rem;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  padding-block: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  font-size: 0.92rem;
}

.reveal-ready {
  opacity: 0;
  transform: translate3d(0, 16px, 0);
  transition: opacity 560ms ease, transform 640ms var(--ease-athletic);
  will-change: opacity, transform;
}

.reveal-ready.is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

.reveal-ready.reveal-done {
  will-change: auto;
}

@keyframes header-drop {
  from {
    opacity: 0;
    transform: translateY(-18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes hero-drift {
  from {
    transform: translate3d(18px, 0, 0) scale(1.035);
  }
  to {
    transform: translate3d(0, 0, 0) scale(1.025);
  }
}

@keyframes hero-rise {
  from {
    opacity: 0;
    transform: translate3d(0, 18px, 0);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

@keyframes lightbox-enter {
  from {
    opacity: 0;
    transform: translateY(24px) scale(0.97);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@media (max-width: 980px) {
  body {
    font-size: 17px;
  }

  .header-inner {
    min-height: 74px;
  }

  .nav-toggle {
    display: inline-grid;
    place-items: center;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 1px);
    right: 1rem;
    left: 1rem;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0.35rem;
    padding: 0.65rem;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    box-shadow: var(--shadow-soft);
  }

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

  .site-nav a {
    justify-content: center;
    min-height: 48px;
  }

  .hero {
    min-height: auto;
  }

  .hero-content {
    padding-block: 5rem;
    transform: none;
  }

  .card-grid,
  .feature-grid,
  .step-list,
  .download-grid,
  .gallery-grid,
  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .split-layout,
  .page-hero-shop,
  .contact-grid {
    grid-template-columns: 1fr;
  }

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

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

@media (max-width: 680px) {
  .container {
    width: min(100% - 1.25rem, var(--container));
  }

  .brand-mark {
    width: 4.55rem;
    height: 2.8rem;
  }

  .brand-mark img {
    height: 2.8rem;
  }

  .section-heading,
  .cta-inner {
    display: grid;
    align-items: start;
  }

  .button-row,
  .button {
    width: 100%;
  }

  .button {
    text-align: center;
  }

  .card-grid,
  .feature-grid,
  .step-list,
  .download-grid,
  .gallery-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .event-card,
  .event-card-large {
    grid-template-columns: 1fr;
  }

  .event-actions {
    justify-content: stretch;
  }

  .event-registration-button {
    width: 100%;
  }

  .event-date {
    min-height: 96px;
  }

  .gallery-arrow {
    width: 38px;
    height: 38px;
  }

  .lightbox {
    padding: 0.75rem;
  }

  .lightbox-nav {
    top: auto;
    bottom: 1rem;
    width: 46px;
    height: 46px;
    font-size: 0;
    transform: none;
  }

  .lightbox-nav:hover,
  .lightbox-nav:focus-visible {
    transform: scale(1.04);
  }

  .lightbox-nav-prev {
    left: 1rem;
  }

  .lightbox-nav-next {
    right: 1rem;
  }

  .shop-callout {
    grid-template-columns: minmax(0, 1fr) 5.4rem;
  }

  .shop-callout-image {
    width: 5.9rem;
    margin-right: -0.75rem;
  }

  .download-card {
    min-height: 0;
  }

  .footer-bottom {
    display: block;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }

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

  .hero-home::before,
  .hero-content .eyebrow,
  .hero-content h1,
  .hero-content .hero-subtitle,
  .hero-content p:not(.eyebrow),
  .hero-content .button-row {
    transform: none;
    will-change: auto;
  }

  .button::after {
    display: none;
  }
}
