/* ========================================
   AWK Prievidza — Score-Cut Anthracite Slab
   Material: Anthracite coal with brass-filled score lines
   ======================================== */

/* --- 1. Design Tokens --- */
:root {
  --bg-void: #050508;
  --bg-slab: #0a0a12;
  --bg-raised: #111120;
  --bg-card: #16162a;
  --bg-card-hover: #1c1c34;

  --text-primary: #e8e4dc;
  --text-dim: #6e6e82;
  --text-faint: #3e3e52;

  --brass: #c49a2a;
  --brass-bright: #e4c050;
  --brass-deep: #9a7a1e;
  --brass-glow: rgba(196, 154, 42, 0.08);
  --brass-line: rgba(196, 154, 42, 0.18);

  --medal-gold: #d4af37;
  --medal-silver: #9a9aaa;
  --medal-bronze: #b87333;

  --font-display: 'Oswald', sans-serif;
  --font-body: 'Lexend', sans-serif;

  --space-xs: clamp(0.5rem, 1vw, 0.75rem);
  --space-sm: clamp(0.75rem, 2vw, 1.25rem);
  --space-md: clamp(1.25rem, 3vw, 2rem);
  --space-lg: clamp(2rem, 5vw, 4rem);
  --space-xl: clamp(3rem, 8vw, 7rem);
  --space-2xl: clamp(4rem, 10vw, 9rem);

  --container: min(100% - 2rem, 1200px);
  --container-narrow: min(100% - 2rem, 880px);

  --radius: 4px;
  --radius-md: 8px;

  --transition-fast: 0.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --transition-smooth: 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-heavy: 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

/* --- 2. Reset & Foundation --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text-primary);
  background-color: var(--bg-void);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

/* Brass selection highlight */
::selection {
  background: rgba(196, 154, 42, 0.3);
  color: var(--text-primary);
}

::-moz-selection {
  background: rgba(196, 154, 42, 0.3);
  color: var(--text-primary);
}

/* Custom scrollbar */
::-webkit-scrollbar {
  width: 6px;
}
::-webkit-scrollbar-track {
  background: var(--bg-void);
}
::-webkit-scrollbar-thumb {
  background: var(--brass-deep);
  border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--brass);
}

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

a {
  color: var(--brass);
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover {
  color: var(--brass-bright);
}

ul {
  list-style: none;
}

/* --- 3. Layout --- */
.container {
  width: var(--container);
  margin-inline: auto;
}

/* Score line — the golden seam between sections */
.score-line {
  display: block;
  width: var(--container);
  margin-inline: auto;
  height: 1px;
  background: linear-gradient(90deg,
    transparent 0%,
    var(--brass-line) 15%,
    var(--brass) 50%,
    var(--brass-line) 85%,
    transparent 100%
  );
  border: none;
}

/* Noise texture overlay */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  opacity: 0.025;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 256px 256px;
}

/* Section common */
.section {
  position: relative;
  padding: var(--space-2xl) 0;
}

.section--dark {
  background-color: var(--bg-void);
}

.section--slab {
  background-color: var(--bg-slab);
}

/* Section label — small brass tag above title */
.section-label {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--brass);
  margin-bottom: var(--space-xs);
  display: block;
}

.section-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.05;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: var(--text-primary);
  margin-bottom: var(--space-sm);
}

.section-subtitle {
  color: var(--text-dim);
  font-size: clamp(0.95rem, 1.5vw, 1.1rem);
  max-width: 560px;
  line-height: 1.6;
}

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity var(--transition-heavy), transform var(--transition-heavy);
}

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

/* Stagger delays for children */
.reveal-stagger > .reveal:nth-child(1) { transition-delay: 0s; }
.reveal-stagger > .reveal:nth-child(2) { transition-delay: 0.08s; }
.reveal-stagger > .reveal:nth-child(3) { transition-delay: 0.16s; }
.reveal-stagger > .reveal:nth-child(4) { transition-delay: 0.24s; }
.reveal-stagger > .reveal:nth-child(5) { transition-delay: 0.32s; }
.reveal-stagger > .reveal:nth-child(6) { transition-delay: 0.4s; }

/* --- 4. Navigation --- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: transparent;
  transition: background-color 0.4s, box-shadow 0.4s;
}

.site-header.scrolled,
.page .site-header {
  background-color: rgba(5, 5, 8, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 var(--brass-line);
}

.nav-container {
  width: var(--container);
  margin-inline: auto;
  padding: var(--space-sm) 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.1rem, 2vw, 1.3rem);
  color: var(--text-primary);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  transition: color var(--transition-fast);
  position: relative;
}

.nav-logo::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 100%;
  height: 1px;
  background: var(--brass);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition-smooth);
}

.nav-logo:hover {
  color: var(--brass);
}

.nav-logo:hover::after {
  transform: scaleX(1);
}

.nav-logo-img {
  height: 60px;
  width: auto;
  filter: brightness(0) invert(1);
  transition: filter var(--transition-fast);
}

.nav-logo:hover .nav-logo-img {
  filter: brightness(0) invert(1) sepia(1) saturate(3) hue-rotate(10deg) brightness(0.85);
}

.nav-links {
  display: flex;
  gap: clamp(1rem, 2.5vw, 2rem);
  align-items: center;
}

.nav-links a {
  font-family: var(--font-display);
  color: var(--text-secondary);
  font-size: 0.8rem;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: color var(--transition-fast);
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 50%;
  width: 3px;
  height: 3px;
  background: var(--brass);
  border-radius: 50%;
  opacity: 0;
  transform: translateX(-50%);
  transition: opacity var(--transition-fast);
}

.nav-links a:hover {
  color: var(--text-primary);
}

.nav-links a:hover::after {
  opacity: 1;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  min-width: 44px;
  min-height: 44px;
  align-items: center;
  justify-content: center;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--text-primary);
  transition: transform 0.3s, opacity 0.3s;
  transform-origin: center;
}

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

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

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

/* --- 5. Hero --- */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  overflow: hidden;
  background: var(--bg-void);
}

.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg,
      rgba(5, 5, 8, 0.55) 0%,
      rgba(5, 5, 8, 0.7) 40%,
      rgba(5, 5, 8, 0.92) 80%,
      var(--bg-void) 100%
    );
}

/* Diagonal brass score across hero */
.hero-score {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg,
    transparent 0%,
    var(--brass-line) 20%,
    var(--brass) 50%,
    var(--brass-line) 80%,
    transparent 100%
  );
  z-index: 3;
}

.hero-content {
  position: relative;
  z-index: 2;
  width: var(--container);
  margin-inline: auto;
  padding-bottom: var(--space-2xl);
}

.hero-eyebrow {
  font-family: var(--font-display);
  font-size: clamp(0.7rem, 1vw, 0.8rem);
  font-weight: 400;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--brass);
  margin-bottom: var(--space-sm);
  display: flex;
  align-items: center;
  gap: 1rem;
  opacity: 0;
  transform: translateY(20px);
  animation: heroFadeUp 0.8s 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.hero-eyebrow::before {
  content: '';
  display: block;
  width: 40px;
  height: 1px;
  background: var(--brass);
}

.hero-headline {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.8rem, 8vw, 6.5rem);
  line-height: 1.2;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  color: var(--text-primary);
  margin-bottom: var(--space-md);
  max-width: 900px;
  opacity: 0;
  transform: translateY(30px);
  animation: heroFadeUp 0.9s 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.hero-headline em {
  font-style: normal;
  color: var(--brass);
}

.hero-subheadline {
  font-size: clamp(0.95rem, 1.5vw, 1.15rem);
  color: var(--text-dim);
  margin-bottom: var(--space-lg);
  line-height: 1.7;
  max-width: 520px;
  opacity: 0;
  transform: translateY(20px);
  animation: heroFadeUp 0.8s 0.7s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.hero-cta {
  display: flex;
  gap: var(--space-sm);
  flex-wrap: wrap;
  opacity: 0;
  transform: translateY(20px);
  animation: heroFadeUp 0.8s 0.9s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes heroFadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* --- 6. Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 2rem;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 0.8rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all var(--transition-fast);
  min-height: 48px;
}

.btn-primary {
  background: var(--brass);
  color: var(--bg-void);
  border-color: var(--brass);
}

.btn-primary:hover {
  background: var(--brass-bright);
  border-color: var(--brass-bright);
  color: var(--bg-void);
  box-shadow: 0 0 30px var(--brass-glow);
}

.btn-secondary {
  background: transparent;
  color: var(--text-dim);
  border-color: var(--text-faint);
}

.btn-secondary:hover {
  color: var(--text-primary);
  border-color: var(--text-dim);
}

/* --- 7. Achievements --- */
.achievements {
  padding: var(--space-2xl) 0;
  background: var(--bg-slab);
}

.achievements-header {
  margin-bottom: var(--space-lg);
}

/* Bento grid — featured card spans 2 cols on desktop */
.bento {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-sm);
  margin-bottom: var(--space-xl);
}

.bento-card {
  position: relative;
  background: var(--bg-raised);
  border: 1px solid rgba(255, 255, 255, 0.04);
  border-radius: var(--radius-md);
  padding: var(--space-lg) var(--space-md);
  text-align: center;
  overflow: hidden;
  transition: transform var(--transition-smooth), border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.bento-card:hover {
  transform: translateY(-4px);
}

/* Accent bar at top */
.bento-card__accent {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
}

.bento-card--gold .bento-card__accent {
  background: linear-gradient(90deg, transparent, var(--medal-gold), transparent);
}
.bento-card--silver .bento-card__accent {
  background: linear-gradient(90deg, transparent, var(--medal-silver), transparent);
}
.bento-card--bronze .bento-card__accent {
  background: linear-gradient(90deg, transparent, var(--medal-bronze), transparent);
}

/* Tier-specific subtle background tint */
.bento-card--gold {
  background: linear-gradient(160deg, var(--bg-raised) 60%, rgba(212, 175, 55, 0.06) 100%);
}
.bento-card--gold:hover {
  border-color: rgba(212, 175, 55, 0.2);
  box-shadow: 0 12px 40px rgba(212, 175, 55, 0.08);
}

.bento-card--silver {
  background: linear-gradient(160deg, var(--bg-raised) 60%, rgba(154, 154, 170, 0.06) 100%);
}
.bento-card--silver:hover {
  border-color: rgba(154, 154, 170, 0.2);
  box-shadow: 0 12px 40px rgba(154, 154, 170, 0.06);
}

.bento-card--bronze {
  background: linear-gradient(160deg, var(--bg-raised) 60%, rgba(184, 115, 51, 0.06) 100%);
}
.bento-card--bronze:hover {
  border-color: rgba(184, 115, 51, 0.2);
  box-shadow: 0 12px 40px rgba(184, 115, 51, 0.06);
}

/* Featured card — larger, spans 2 cols + 2 rows */
.bento-card--featured {
  grid-column: 1 / 2;
  grid-row: 1 / 3;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: var(--space-xl) var(--space-lg);
}

.bento-card--featured .bento-card__accent {
  height: 4px;
}

.bento-card--featured .bento-card__value {
  font-size: clamp(4rem, 10vw, 7rem);
  margin-bottom: var(--space-sm);
}

.bento-card--featured .bento-card__label {
  font-size: clamp(0.9rem, 1.5vw, 1.1rem);
}

.bento-card--featured .bento-card__desc {
  font-size: 0.9rem;
}

/* Value (the big number) */
.bento-card__value {
  display: block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  line-height: 1;
  margin-bottom: var(--space-xs);
}

.bento-card--gold .bento-card__value {
  color: var(--medal-gold);
  text-shadow: 0 0 30px rgba(212, 175, 55, 0.2);
}

.bento-card--silver .bento-card__value {
  color: var(--medal-silver);
  text-shadow: 0 0 30px rgba(154, 154, 170, 0.15);
}

.bento-card--bronze .bento-card__value {
  color: var(--medal-bronze);
  text-shadow: 0 0 30px rgba(184, 115, 51, 0.2);
}

/* Label */
.bento-card__label {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(0.7rem, 1.2vw, 0.8rem);
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-primary);
  margin-bottom: var(--space-xs);
}

/* Description */
.bento-card__desc {
  color: var(--text-dim);
  font-size: 0.8rem;
  line-height: 1.5;
}

/* ---- Competition Results Table ---- */
.results {
  border: 1px solid rgba(255, 255, 255, 0.04);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.results__heading {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(0.75rem, 0.9vw, 1.1rem);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-dim);
  padding: var(--space-md) var(--space-md) var(--space-sm);
  background: var(--bg-raised);
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.results__list {
  background: var(--bg-raised);
}

.results__row {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  padding: var(--space-sm) var(--space-md);
  border-bottom: 1px solid rgba(255, 255, 255, 0.03);
  transition: background var(--transition-fast);
}

.results__row:last-child {
  border-bottom: none;
}

.results__row:hover {
  background: var(--bg-card);
}

.results__event {
  flex: 1;
  min-width: 0;
}

.results__name {
  display: block;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(0.85rem, 1.1vw, 1.3rem);
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--text-primary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.results__location {
  display: block;
  font-size: clamp(0.75rem, 0.85vw, 1rem);
  color: var(--text-dim);
  margin-top: 0.15rem;
}

.results__medals {
  display: flex;
  gap: 0.4rem;
  flex-shrink: 0;
}

.results__medal {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(0.9rem, 1vw, 1.2rem);
  letter-spacing: 0.03em;
  padding: 0.2rem 0.5rem;
  border-radius: 3px;
  min-width: 28px;
}

.results__medal--gold {
  background: rgba(212, 175, 55, 0.12);
  color: var(--medal-gold);
  border: 1px solid rgba(212, 175, 55, 0.2);
}

.results__medal--silver {
  background: rgba(154, 154, 170, 0.1);
  color: var(--medal-silver);
  border: 1px solid rgba(154, 154, 170, 0.15);
}

.results__medal--bronze {
  background: rgba(184, 115, 51, 0.12);
  color: var(--medal-bronze);
  border: 1px solid rgba(184, 115, 51, 0.2);
}

.results__year {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(0.9rem, 1vw, 1.2rem);
  letter-spacing: 0.05em;
  color: var(--text-faint);
  flex-shrink: 0;
  min-width: 36px;
  text-align: right;
}

/* --- 8. About --- */
.about {
  padding: var(--space-2xl) 0;
  background: var(--bg-void);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 0.85fr;
  gap: var(--space-xl);
  align-items: center;
}

.about-text {
  order: 1;
}

.about-text .section-label {
  margin-bottom: var(--space-xs);
}

.about-text .section-title {
  margin-bottom: var(--space-md);
}

.about-text p {
  color: var(--text-dim);
  line-height: 1.85;
  font-size: clamp(0.9rem, 1.2vw, 1rem);
}

.about-image {
  order: 2;
  position: relative;
}

.about-image img {
  border-radius: var(--radius);
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

/* Brass corner accents on the image */
.about-image::before,
.about-image::after {
  content: '';
  position: absolute;
  width: 40px;
  height: 40px;
  border-color: var(--brass-line);
  border-style: solid;
  pointer-events: none;
  z-index: 1;
}

.about-image::before {
  top: -8px;
  left: -8px;
  border-width: 1px 0 0 1px;
}

.about-image::after {
  bottom: -8px;
  right: -8px;
  border-width: 0 1px 1px 0;
}

/* --- 9. Gallery --- */
.gallery {
  padding: var(--space-2xl) 0;
  background: var(--bg-slab);
}

.gallery-header {
  margin-bottom: var(--space-lg);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr));
  gap: var(--space-sm);
}

.gallery-item {
  position: relative;
  overflow: hidden;
  display: block;
  border-radius: var(--radius);
  aspect-ratio: 4 / 3;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), filter 0.6s;
  filter: brightness(0.7) saturate(0.8);
}

.gallery-item:hover img {
  transform: scale(1.06);
  filter: brightness(0.9) saturate(1);
}

.gallery-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: var(--space-md) var(--space-sm);
  background: linear-gradient(transparent, rgba(5, 5, 8, 0.9));
  transform: translateY(100%);
  transition: transform var(--transition-smooth);
}

.gallery-item:hover .gallery-caption {
  transform: translateY(0);
}

.gallery-caption-text {
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-primary);
}

/* --- GLightbox Dark Theme Overrides --- */
.goverlay {
  background: #050508 !important;
  opacity: 0.92 !important;
}

.glightbox-clean .gslide-description {
  background: var(--bg-slab) !important;
}

.glightbox-clean .gdesc-inner {
  padding: 1rem 1.25rem;
}

.glightbox-clean .gslide-title {
  font-family: var(--font-display);
  color: var(--brass) !important;
  font-weight: 500;
  margin-bottom: 0.25rem;
}

.glightbox-clean .gslide-desc {
  color: var(--text-secondary) !important;
  font-family: var(--font-body);
}

.glightbox-clean .gclose,
.glightbox-clean .gnext,
.glightbox-clean .gprev {
  filter: brightness(0) saturate(100%) invert(68%) sepia(30%) saturate(700%) hue-rotate(10deg) brightness(95%);
}

.glightbox-clean .gclose:hover,
.glightbox-clean .gnext:hover,
.glightbox-clean .gprev:hover {
  filter: brightness(0) saturate(100%) invert(78%) sepia(40%) saturate(800%) hue-rotate(10deg) brightness(100%);
}

.gloader {
  border-color: var(--brass) !important;
  border-bottom-color: transparent !important;
}

/* --- 10. Logistics --- */
.logistics {
  padding: var(--space-2xl) 0;
  background: var(--bg-void);
}

.logistics-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
  align-items: start;
}

.logistics-info .section-title {
  margin-bottom: var(--space-md);
}

.logistics-address {
  font-style: normal;
}

.logistics-address a {
  font-size: clamp(0.95rem, 1.3vw, 1.05rem);
  color: var(--text-dim);
  transition: color var(--transition-fast);
  line-height: 1.6;
}

.logistics-address a:hover {
  color: var(--brass);
}

.schedule h3 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 0.8rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: var(--space-md);
}

.schedule-list li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--space-sm) 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.schedule-list li:last-child {
  border-bottom: none;
}

.schedule-day {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--text-primary);
}

.schedule-time {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 0.95rem;
  letter-spacing: 0.05em;
  color: var(--brass);
}

.logistics-map {
  position: relative;
}

.logistics-map iframe {
  border-radius: var(--radius);
  filter: grayscale(20%) invert(92%) contrast(0.9) brightness(0.7);
  transition: filter 0.4s;
}

.logistics-map iframe:hover {
  filter: grayscale(0%) invert(92%) contrast(0.95) brightness(0.8);
}

/* Brass border frame around map */
.logistics-map::before {
  content: '';
  position: absolute;
  inset: -1px;
  border: 1px solid var(--brass-line);
  border-radius: var(--radius);
  pointer-events: none;
  z-index: 1;
}

.logistics-ig-link {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  margin-top: var(--space-xs);
  margin-bottom: var(--space-lg);
  padding-bottom: var(--space-md);
  border-bottom: 1px solid var(--brass-line);
  color: var(--brass);
  font-weight: 500;
  font-size: 0.95rem;
  transition: color var(--transition-fast);
}

.logistics-ig-link:hover {
  color: var(--brass-bright);
}

.logistics-ig-link svg {
  flex-shrink: 0;
  opacity: 0.7;
  transition: opacity var(--transition-fast);
}

.logistics-ig-link:hover svg {
  opacity: 1;
}

/* --- 11. Contact & Footer --- */
.contact {
  padding: var(--space-2xl) 0;
  padding-bottom: var(--space-lg);
  background: var(--bg-slab);
}

.contact-inner {
  text-align: center;
}

.contact-inner .section-label,
.contact-inner .section-title {
  text-align: center;
}

.contact-grid {
  display: flex;
  justify-content: center;
  gap: var(--space-xl);
  align-items: flex-start;
  flex-wrap: wrap;
  margin-top: var(--space-lg);
}

.contact-card {
  text-align: center;
}

.contact-card h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text-primary);
  margin-bottom: 0.2rem;
}

.contact-role {
  color: var(--text-dim);
  font-size: 0.9rem;
  margin-bottom: var(--space-md);
}

.contact-links {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  align-items: center;
}

.contact-link {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--text-dim);
  font-size: 0.95rem;
  transition: color var(--transition-fast);
}

.contact-link:hover {
  color: var(--text-primary);
}

.contact-link svg {
  flex-shrink: 0;
  opacity: 0.5;
  transition: opacity var(--transition-fast);
}

.contact-link:hover svg {
  opacity: 1;
}

.contact-fb {
  color: var(--brass);
  font-weight: 500;
}

.contact-fb:hover {
  color: var(--brass-bright);
}

.contact-brand {
  display: flex;
  justify-content: center;
}

.contact-brand img {
  border-radius: var(--radius);
  opacity: 0.7;
  transition: opacity var(--transition-fast);
}

.contact-brand:hover img {
  opacity: 1;
}

/* Footer badges */
.footer-badges {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: var(--space-lg);
  margin-top: var(--space-md);
}

.footer-badge {
  height: 80px;
  width: auto;
  opacity: 0.6;
  filter: grayscale(20%);
  transition: opacity var(--transition-fast), filter var(--transition-fast);
}

.footer-badge:hover {
  opacity: 1;
  filter: grayscale(0%);
}

/* Footer bar */
.footer-bar {
  margin-top: var(--space-xl);
  padding-top: var(--space-md);
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  text-align: center;
}

.footer-bar p {
  color: var(--text-faint);
  font-size: 0.8rem;
  letter-spacing: 0.03em;
}

.footer-legal {
  color: var(--text-dim) !important;
  margin-bottom: 0.5rem;
}

/* --- 12. Blog Pages --- */
article {
  max-width: var(--container-narrow);
  margin: 7rem auto 3rem;
  padding: 0;
}

article h1 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  text-transform: uppercase;
  letter-spacing: 0.01em;
  line-height: 1.05;
  margin-bottom: var(--space-xs);
}

article time {
  display: block;
  color: var(--text-dim);
  margin-bottom: var(--space-lg);
  font-size: 0.85rem;
}

article p {
  color: var(--text-dim);
  line-height: 1.85;
  margin-bottom: var(--space-md);
}

article h2 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.4rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  margin-top: var(--space-lg);
  margin-bottom: var(--space-sm);
}

article h3 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.1rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-top: var(--space-md);
  margin-bottom: var(--space-xs);
}

/* Blog list page */
.blog-list {
  max-width: var(--container-narrow);
  margin: 7rem auto 3rem;
}

.blog-list h1 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  text-transform: uppercase;
  letter-spacing: 0.01em;
  margin-bottom: var(--space-sm);
}

.tag-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: var(--space-lg);
}

.tag-chip {
  background: transparent;
  border: 1px solid var(--brass-line);
  color: var(--text-dim);
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.35rem 0.85rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.tag-chip:hover {
  color: var(--brass);
  border-color: var(--brass);
}

.tag-chip.active {
  background: var(--brass);
  color: var(--bg-void);
  border-color: var(--brass);
}

.post-list {
  list-style: none;
  padding: 0;
  padding-bottom: 3rem;
}

.post-list li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: var(--space-sm) 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.post-meta {
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.post-meta a {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.05rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.post-list time {
  color: var(--text-dim);
  font-size: 0.8rem;
  flex-shrink: 0;
  margin-left: var(--space-md);
}

.post-tags {
  display: inline-flex;
  gap: 0.35rem;
}

.post-tag {
  font-family: var(--font-body);
  font-size: 0.65rem;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--brass);
  border: 1px solid var(--brass-line);
  padding: 0.15rem 0.5rem;
  text-decoration: none;
  transition: all 0.2s ease;
}

a.post-tag:hover {
  background: var(--brass);
  color: var(--bg-void);
}

.article-tags {
  display: flex;
  gap: 0.4rem;
  margin-bottom: var(--space-lg);
}

/* Blog page footer (non-homepage) */
body > footer {
  max-width: var(--container-narrow);
  margin-inline: auto;
  padding: var(--space-lg) 0;
  border-top: 1px solid var(--brass-line);
  text-align: center;
}

body > footer p {
  color: var(--text-faint);
  font-size: 0.8rem;
}

/* --- 13. Responsive --- */
@media (max-width: 768px) {
  .nav-toggle {
    display: flex;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    background-color: rgba(5, 5, 8, 0.97);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    padding: var(--space-sm) 1rem var(--space-md);
    gap: 0;
    border-bottom: 1px solid var(--brass-line);
  }

  .nav-links.active {
    display: flex;
  }

  .nav-links li {
    padding: 0.6rem 0;
  }

  .nav-links a {
    font-size: 0.85rem;
  }

  .nav-links a::after {
    display: none;
  }

  .hero {
    align-items: flex-end;
  }

  .hero-content {
    padding-bottom: var(--space-xl);
  }

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

  .bento-card--featured {
    grid-column: 1 / -1;
    grid-row: auto;
    padding: var(--space-lg) var(--space-md);
  }

  .bento-card--featured .bento-card__value {
    font-size: clamp(3rem, 8vw, 5rem);
  }

  /* Results table: stack on tablet */
  .results__row {
    flex-wrap: wrap;
    gap: var(--space-xs);
  }

  .results__name {
    white-space: normal;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }

  .about-image {
    order: -1;
  }

  .about-image img {
    aspect-ratio: 16 / 10;
  }

  .logistics-grid {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }

  .contact-grid {
    flex-direction: column;
    align-items: center;
  }

}

@media (max-width: 480px) {
  .bento {
    grid-template-columns: 1fr;
  }

  .bento-card--featured {
    grid-column: 1;
  }

  /* Results: compact mobile layout */
  .results__row {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.3rem;
    padding: var(--space-sm) var(--space-sm);
  }

  .results__medals {
    order: 2;
  }

  .results__year {
    text-align: left;
  }

  .hero-cta {
    flex-direction: column;
  }

  .btn {
    width: 100%;
    justify-content: center;
  }

  .gallery-grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-xs);
  }

  /* Show captions always on mobile (no hover) */
  .gallery-caption {
    transform: translateY(0);
  }

  .gallery-item img {
    filter: brightness(0.8) saturate(0.9);
  }
}

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

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

  .hero-eyebrow,
  .hero-headline,
  .hero-subheadline,
  .hero-cta {
    opacity: 1;
    transform: none;
    animation: none;
  }

  .gallery-item img {
    transition: none;
  }
}
