* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-snap-type: y proximity;
  scroll-behavior: smooth;
  height: 100%;
}

:root {
  --primary-color: #151415;
  --secondary-color: #fff;
  --accent-color: #333;
  --text-color: #e5e5e5;
  --text-color-dark: #1a1a1a;
  --light-gray: #1f1f1f;
  --border-color: #333;
  --background-color: #151415;
  --font-primary:
    -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue",
    Arial, sans-serif;
}

/* Osmo-inspired display font for nav */
@font-face {
  font-family: "PP Neue Corp Tight";
  src: url("https://cdn.prod.website-files.com/673af51dea86ab95d124c3ee/673b0f5784f7060c0ac05534_PPNeueCorp-TightUltrabold.otf")
    format("opentype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* Header and Navigation Styles */
.header {
  background: var(--secondary-color);
  border-bottom: 1px solid var(--border-color);
  position: sticky;
  top: 0;
  z-index: 100;
}

.nav {
  padding: 20px 0;
}

.nav-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
}

.logo a {
  display: inline-block;
  text-decoration: none;
}

.logo-img {
  height: 50px;
  width: auto;
  display: block;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 30px;
  align-items: center;
}

.nav-menu a {
  color: var(--text-color);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: opacity 0.3s;
}

.nav-menu a:hover {
  opacity: 0.6;
}

.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 5px;
}

.mobile-menu-toggle span {
  width: 25px;
  height: 2px;
  background: var(--text-color);
  transition: all 0.3s;
}

body {
  font-family: var(--font-primary);
  color: var(--text-color);
  line-height: 1.7;
  overflow-x: hidden;
  overflow-y: scroll;
  background: #fdbb2b;
  font-size: 16px;
  position: relative;
  scroll-snap-type: y proximity;
  min-height: 100%;
  margin: 0;
}

/* Custom Scrollbar - Cross-browser compatible solution */
/* Hide default scrollbars */
html {
  scrollbar-width: none;
  /* Firefox */
  -ms-overflow-style: none;
  /* IE and Edge */
}

html::-webkit-scrollbar {
  display: none;
  /* Chrome, Safari, Opera */
}

body {
  scrollbar-width: none;
  /* Firefox */
  -ms-overflow-style: none;
  /* IE and Edge */
}

body::-webkit-scrollbar {
  display: none;
  /* Chrome, Safari, Opera */
}

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

/* Custom scrollbar indicator - Text-based design */
.custom-scrollbar {
  position: fixed;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  width: auto;
  height: auto;
  z-index: 150;
  pointer-events: auto;
  opacity: 0;
  transition: opacity 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  /* Ensure text stays fixed - no movement on scroll */
  will-change: opacity;
  cursor: pointer;
  user-select: none;
}

.custom-scrollbar:hover {
  opacity: 1 !important;
}

.custom-scrollbar.dragging {
  cursor: grabbing;
  opacity: 1 !important;
}

.custom-scrollbar.visible {
  opacity: 1;
}

.custom-scrollbar-track {
  display: none;
  /* Not needed for text version */
}

.custom-scrollbar-thumb {
  position: relative;
  width: auto;
  height: 100vh;
  background: transparent;
  border-radius: 0;
  min-height: auto;
  opacity: 1;
  overflow: visible;
  transform-origin: center center;
  will-change: transform, opacity;
  filter: none;
  display: block;
  cursor: pointer;
  user-select: none;
}

/* Text container with repeated "STEFAN DE ALWIS" as single vertical line */
.custom-scrollbar-text-container {
  display: block;
  height: 100vh;
  width: auto;
  writing-mode: vertical-rl;
  text-orientation: mixed;
  font-family: "Teko", sans-serif;
  font-weight: 700;
  font-size: 16px;
  letter-spacing: 3px;
  line-height: 1.8;
  padding: 0;
  margin: 0;
  white-space: normal;
  overflow: visible;
  text-align: center;
}

/* Each character flows vertically (inline in vertical writing mode) */
.custom-scrollbar-text-container span {
  display: inline;
  text-align: center;
}

/* Default character style - hidden/transparent */
.scrollbar-char-default {
  color: transparent;
  transition: color 0.2s ease;
}

/* Colored character style - orange */
.scrollbar-char-colored {
  color: #fdbb2b;
  transition: color 0.2s ease;
}

/* Separator style */
.scrollbar-char-separator {
  color: rgba(255, 255, 255, 0.3);
  font-size: 0.8em;
  margin: 0 0.3em;
  transition:
    color 0.3s ease,
    opacity 0.3s ease,
    transform 0.3s ease;
}

/* Active separator when section is snapped */
.scrollbar-char-separator.scrollbar-separator-active {
  color: lab(79.95% 12.24 74.85);
  opacity: 1;
  transform: scale(1.2);
  text-shadow: 0 0 8px rgba(253, 187, 43, 0.6);
}

/* Scroll progress indicator - thin line (hidden, using text coloring instead) */
.custom-scrollbar-progress {
  position: absolute;
  right: -15px;
  top: 0;
  width: 2px;
  height: 100vh;
  background: transparent;
  z-index: -1;
  opacity: 0;
  pointer-events: none;
}

.custom-scrollbar-progress-fill {
  position: absolute;
  right: 0;
  top: 0;
  width: 2px;
  background: transparent;
  opacity: 0;
  transition: height 0.1s ease;
  pointer-events: none;
}

/* Text-based scrollbar styling - text stays fixed, no movement */
.custom-scrollbar.scrolling-down .custom-scrollbar-text-container {
  /* No transform - text stays fixed */
}

.custom-scrollbar.scrolling-up .custom-scrollbar-text-container {
  /* No transform - text stays fixed */
}

/* Hover effect only when not actively scrolling */
.custom-scrollbar:not(.scrolling-down):not(.scrolling-up)
  .custom-scrollbar-thumb:hover {
  background: #e6a826;
}

body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("assets/bg pattern.jpg");
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center center;
  opacity: 0.15;
  z-index: -1;
  pointer-events: none;
}

.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 40px;
  overflow: visible;
}

/* Material Design Navigation */
.main-nav {
  background: #fdbb2b;
  width: 100%;
  height: 100%;
  position: fixed;
  left: 0;
  top: 0;
  z-index: 40;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-end;
  padding: 120px 20px 60px;
  box-sizing: border-box;
  overflow: visible;
  /* Hidden by default */
  visibility: hidden;
  opacity: 0;
  transition:
    visibility 0.5s,
    opacity 0.5s cubic-bezier(0.77, 0, 0.175, 1);
  /* Prevent repainting on scroll - GPU acceleration */
  transform: translateZ(0);
  will-change: opacity, visibility;
  backface-visibility: hidden;
  isolation: isolate;
}

/* Show nav when menu is open */
body.navOpen .main-nav {
  visibility: visible;
  opacity: 1;
  /* Ensure menu stays stable during scroll */
  transform: translateZ(0);
  will-change: auto;
}

.main-nav ul {
  list-style: none;
  width: 320px;
  padding: 0;
  margin: 0;
  position: relative;
  overflow: visible;
  /* Prevent repainting on scroll */
  transform: translateZ(0);
  backface-visibility: hidden;
}

.main-nav ul:hover li a {
  color: rgba(0, 0, 0, 0.5);
}

.main-nav ul li {
  display: block;
  position: relative;
  overflow: visible;
  margin: 0;
  padding: 0.1em 0;
  /* Prevent flickering during scroll */
  backface-visibility: hidden;
}

/* Black overlay background - Osmo style (edge-to-edge) - disabled for menu-link items */
.main-nav ul li::before {
  content: "";
  z-index: 5;
  background-color: #000;
  transform-origin: 50% 100%;
  transform-style: preserve-3d;
  transition: transform 0.55s cubic-bezier(0.65, 0.05, 0, 1);
  position: absolute;
  top: -0.5em;
  right: 0;
  bottom: -0.5em;
  left: calc(-100vw + 60px + 320px);
  width: 100vw;
  transform: scale3d(1, 0, 1);
  pointer-events: none;
}

/* Disable old ::before effect for items with menu-link */
.main-nav ul li:has(.menu-link)::before {
  display: none;
}

.main-nav ul li a {
  transition: all 0.25s ease;
  display: block;
  padding: 0.5em 0;
  padding-right: 0;
  color: #000;
  font-family: "PP Neue Corp Tight", "Teko", sans-serif;
  font-weight: 700;
  font-size: clamp(26px, 3vw, 34px);
  line-height: 1.05;
  text-transform: uppercase;
  letter-spacing: 1px;
  text-decoration: none;
  text-align: right;
  position: relative;
  z-index: 6;
  transition:
    transform 0.55s cubic-bezier(0.65, 0.05, 0, 1),
    color 0.55s cubic-bezier(0.65, 0.05, 0, 1),
    opacity 0.35s ease;
  pointer-events: auto;
  width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

/* Old hover effect - disabled for menu-link elements */
.main-nav ul li a:not(.menu-link)::after {
  content: attr(data-text);
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  padding: 0.5em 0;
  text-align: right;
  color: #fdbb2b;
  text-shadow: 0 0 6px rgba(0, 0, 0, 0.4);
  transform: translateY(120%);
  opacity: 0;
  transition:
    transform 0.55s cubic-bezier(0.65, 0.05, 0, 1),
    opacity 0.35s ease;
  z-index: 7;
  pointer-events: none;
}

.main-nav ul li:hover a:not(.menu-link) {
  color: #fdbb2b !important;
  transform: translateY(-120%);
  opacity: 0;
  transition-delay: 0.1s;
}

.main-nav ul li:hover:not(:has(.menu-link))::before {
  transform: scale(1, 1);
}

.main-nav ul li:hover a:not(.menu-link)::after {
  transform: translateY(0);
  opacity: 1;
}

/* Nav Footer with social links */
.nav-footer {
  text-align: right;
  width: 320px;
}

.nav-footer-title {
  font-family: "Teko", sans-serif;
  font-size: 14px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: rgba(0, 0, 0, 0.5);
  margin-bottom: 15px;
}

.nav-social-links {
  display: flex;
  justify-content: flex-end;
  gap: 15px;
}

.nav-social-links a {
  color: #000;
  font-size: 20px;
  transition: opacity 0.3s;
  position: relative;
  text-decoration: none;
}

.nav-social-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: #000;
  transform-origin: right center;
  transform: scale(0, 1);
  transition: transform 0.4s cubic-bezier(0.65, 0.05, 0, 1);
}

.nav-social-links a:hover::after {
  transform-origin: left center;
  transform: scale(1, 1);
}

/* Open Nav Button */
.openNav {
  transition: all 0.5s cubic-bezier(0.77, 0, 0.175, 1);
  width: 50px;
  height: 50px;
  background-color: transparent;
  position: fixed;
  top: 40px;
  right: 50px;
  z-index: 100;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.openNav .icon {
  transition: all 0.2s ease;
  position: relative;
  width: 30px;
  height: 2px;
  background-color: #fff;
  transition:
    all 0.2s ease,
    background-color 0.8s ease;
}

/* About page specific: black in hero, white on scroll */
body.page-about .openNav .icon,
body.page-about .openNav .icon::before,
body.page-about .openNav .icon::after {
  background-color: #000;
}

body.page-about.scrolled-past-hero .openNav .icon,
body.page-about.scrolled-past-hero .openNav .icon::before,
body.page-about.scrolled-past-hero .openNav .icon::after {
  background-color: #fff;
}

.openNav .icon::before,
.openNav .icon::after {
  transition:
    all 0.5s ease,
    transform 0.4s cubic-bezier(0.65, 0.05, 0, 1),
    background-color 0.8s ease;
  background-color: #fff;
  position: absolute;
  content: "";
  width: 30px;
  height: 2px;
  left: 0;
}

.openNav .icon::before {
  top: -8px;
}

.openNav .icon::after {
  top: 8px;
}

/* Open state for nav button - stays in same position */
.openNav.open {
  transform: none;
}

.openNav.open .icon {
  background-color: transparent;
}

.openNav.open .icon::before,
.openNav.open .icon::after {
  top: 0;
}

.openNav.open .icon::before {
  transform: rotate(-45deg);
}

.openNav.open .icon::after {
  transform: rotate(45deg);
}

/* 3D Navigation Effect */
.wrapper {
  position: relative;
  z-index: 60;
  background: var(--background-color);
  transition: all 0.5s cubic-bezier(0.77, 0, 0.175, 1);
  transform-origin: center center;
  /* GPU acceleration and compositing to prevent body background showing through */
  transform: translateZ(0);
  will-change: transform;
  backface-visibility: hidden;
  isolation: isolate;
}

/* Nav open state - allow scrolling but hide scrollbar */
body.navOpen {
  overflow: auto;
}

/* Hide custom scrollbar when navigation menu is open */
body.navOpen .custom-scrollbar {
  display: none !important;
  opacity: 0 !important;
  visibility: hidden !important;
}

body.navOpen .wrapper {
  transform: translateX(0px) translateY(520px) scale(0.78);
  transform-origin: top left;
  box-shadow: 0 0 50px rgba(0, 0, 0, 0.5);
  border-radius: 20px;
  overflow: hidden;
  pointer-events: none;
}

/* Footer styling when nav is open */
body.navOpen footer,
body.navOpen .footer,
body.navOpen #footer-placeholder {
  background: #fdbb2b !important;
  pointer-events: none;
}

body.navOpen .footer .container,
body.navOpen .footer-content,
body.navOpen .footer-section,
body.navOpen .footer-bottom,
body.navOpen .footer-social-icons {
  background: transparent !important;
}

body.navOpen .footer h3,
body.navOpen .footer a,
body.navOpen .footer p,
body.navOpen .footer li {
  color: #000 !important;
}

body.navOpen .footer .social-icon {
  background: #000 !important;
  color: #fdbb2b !important;
}

body.navOpen .footer .social-icon .icon {
  color: #fdbb2b !important;
}

/* Subtle Glitch Animation - very minimal and infrequent */

/* Glitch Paths Animation */
@keyframes glitchPaths {
  0% {
    clip-path: polygon(
      0% 43%,
      83% 43%,
      83% 22%,
      23% 22%,
      23% 24%,
      91% 24%,
      91% 26%,
      18% 26%,
      18% 83%,
      29% 83%,
      29% 17%,
      41% 17%,
      41% 39%,
      18% 39%,
      18% 82%,
      54% 82%,
      54% 88%,
      19% 88%,
      19% 4%,
      39% 4%,
      39% 14%,
      76% 14%,
      76% 52%,
      23% 52%,
      23% 35%,
      19% 35%,
      19% 8%,
      36% 8%,
      36% 31%,
      73% 31%,
      73% 16%,
      1% 16%,
      1% 56%,
      50% 56%,
      50% 8%
    );
  }
  5% {
    clip-path: polygon(
      0% 29%,
      44% 29%,
      44% 83%,
      94% 83%,
      94% 56%,
      11% 56%,
      11% 64%,
      94% 64%,
      94% 70%,
      88% 70%,
      88% 32%,
      18% 32%,
      18% 96%,
      10% 96%,
      10% 62%,
      9% 62%,
      9% 84%,
      68% 84%,
      68% 50%,
      52% 50%,
      52% 55%,
      35% 55%,
      35% 87%,
      25% 87%,
      25% 39%,
      15% 39%,
      15% 88%,
      52% 88%
    );
  }
  30% {
    clip-path: polygon(
      0% 53%,
      93% 53%,
      93% 62%,
      68% 62%,
      68% 37%,
      97% 37%,
      97% 89%,
      13% 89%,
      13% 45%,
      51% 45%,
      51% 88%,
      17% 88%,
      17% 54%,
      81% 54%,
      81% 75%,
      79% 75%,
      79% 76%,
      38% 76%,
      38% 28%,
      61% 28%,
      61% 12%,
      55% 12%,
      55% 62%,
      68% 62%,
      68% 51%,
      0% 51%,
      0% 92%,
      63% 92%,
      63% 4%,
      65% 4%
    );
  }
  45% {
    clip-path: polygon(
      0% 33%,
      2% 33%,
      2% 69%,
      58% 69%,
      58% 94%,
      55% 94%,
      55% 25%,
      33% 25%,
      33% 85%,
      16% 85%,
      16% 19%,
      5% 19%,
      5% 20%,
      79% 20%,
      79% 96%,
      93% 96%,
      93% 50%,
      5% 50%,
      5% 74%,
      55% 74%,
      55% 57%,
      96% 57%,
      96% 59%,
      87% 59%,
      87% 65%,
      82% 65%,
      82% 39%,
      63% 39%,
      63% 92%,
      4% 92%,
      4% 36%,
      24% 36%,
      24% 70%,
      1% 70%,
      1% 43%,
      15% 43%,
      15% 28%,
      23% 28%,
      23% 71%,
      90% 71%,
      90% 86%,
      97% 86%,
      97% 1%,
      60% 1%,
      60% 67%,
      71% 67%,
      71% 91%,
      17% 91%,
      17% 14%,
      39% 14%,
      39% 30%,
      58% 30%,
      58% 11%,
      52% 11%,
      52% 83%,
      68% 83%
    );
  }
  76% {
    clip-path: polygon(
      0% 26%,
      15% 26%,
      15% 73%,
      72% 73%,
      72% 70%,
      77% 70%,
      77% 75%,
      8% 75%,
      8% 42%,
      4% 42%,
      4% 61%,
      17% 61%,
      17% 12%,
      26% 12%,
      26% 63%,
      73% 63%,
      73% 43%,
      90% 43%,
      90% 67%,
      50% 67%,
      50% 41%,
      42% 41%,
      42% 46%,
      50% 46%,
      50% 84%,
      96% 84%,
      96% 78%,
      49% 78%,
      49% 25%,
      63% 25%,
      63% 14%
    );
  }
  90% {
    clip-path: polygon(
      0% 41%,
      13% 41%,
      13% 6%,
      87% 6%,
      87% 93%,
      10% 93%,
      10% 13%,
      89% 13%,
      89% 6%,
      3% 6%,
      3% 8%,
      16% 8%,
      16% 79%,
      0% 79%,
      0% 99%,
      92% 99%,
      92% 90%,
      5% 90%,
      5% 60%,
      0% 60%,
      0% 48%,
      89% 48%,
      89% 13%,
      80% 13%,
      80% 43%,
      95% 43%,
      95% 19%,
      80% 19%,
      80% 85%,
      38% 85%,
      38% 62%
    );
  }
  1%,
  7%,
  33%,
  47%,
  78%,
  93% {
    clip-path: none;
  }
}

/* Glitch Movement Animation - moderate intensity movements */
@keyframes glitchMovement {
  0% {
    transform: translate(-4px, 1px);
  }
  15% {
    transform: translate(5px, 3px);
  }
  60% {
    transform: translate(-5px, 2px);
  }
  75% {
    transform: translate(6px, -3px);
  }
  100% {
    transform: translate(3px, 3px);
  }
}

/* Glitch Opacity Animation - moderate intensity */
@keyframes glitchOpacity {
  0% {
    opacity: 0.5;
  }
  5% {
    opacity: 0.85;
  }
  30% {
    opacity: 0.65;
  }
  45% {
    opacity: 0.75;
  }
  76% {
    opacity: 0.65;
  }
  90% {
    opacity: 0.9;
  }
  1%,
  7%,
  33%,
  47%,
  78%,
  93% {
    opacity: 0.3;
  }
}

/* Glitch Font Animation - only affects font-weight and blur, not color */
@keyframes glitchFont {
  0% {
    font-weight: 100;
    filter: blur(3px);
  }
  20% {
    font-weight: 500;
    filter: blur(0);
  }
  50% {
    font-weight: 300;
    filter: blur(2px);
  }
  60% {
    font-weight: 700;
    filter: blur(0);
  }
  90% {
    font-weight: 500;
    filter: blur(6px);
  }
}

/* Enhanced Glitch Opacity for Transitions - moderate intensity during title switches */
@keyframes glitchOpacityTransition {
  0% {
    opacity: 0.4;
  }
  45% {
    opacity: 0.6;
  }
  48% {
    opacity: 0.9;
  }
  50% {
    opacity: 0.5;
  }
  52% {
    opacity: 0.95;
  }
  55% {
    opacity: 0.7;
  }
  95% {
    opacity: 0.6;
  }
  100% {
    opacity: 0.8;
  }
}

.about-content {
  padding: 100px 0;
  background: var(--background-color);
  overflow-x: hidden;
  overflow-y: visible;
}

/* About page: soft black crossfade between hero and body (no white). */
body.page-about .wrapper {
  background: linear-gradient(
    to bottom,
    #0d0d0d 0%,
    #080808 12%,
    #000000 25%,
    #000000 100%
  );
}
body.page-about .about-content {
  background: transparent;
}

/* About hero: fade bottom to transparent so page gradient shows through */
body.page-about #about-hero {
  -webkit-mask-image: linear-gradient(
    to bottom,
    black 0%,
    black 55%,
    transparent 100%
  );
  mask-image: linear-gradient(to bottom, black 0%, black 55%, transparent 100%);
  -webkit-mask-size: 100% 100%;
  mask-size: 100% 100%;
  -webkit-mask-position: center;
  mask-position: center;
}

/* Two-column intro layout like Steven Bartlett */
.about-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: end;
  gap: 60px;
  margin-bottom: 0;
  padding-bottom: 0;
  padding-top: 100px; /* Start a little lower */
  position: relative;
  z-index: 10;
}

.about-intro-left {
  width: 100%;
  position: relative;
  z-index: 10;
}

.about-intro-left h1 {
  font-size: clamp(48px, 8vw, 90px);
  font-weight: 700;
  font-family: "Teko", sans-serif;
  line-height: 1;
  letter-spacing: 2px;
  color: #fdbb2a;
  text-transform: uppercase;
  margin-bottom: -140px; /* Deepened overlap */
  position: relative;
  z-index: 10;
}

.about-intro-right {
  padding-top: 0;
  width: 100%;
  align-self: end;
  padding-bottom: 20px;
}

.about-intro-right p {
  font-size: clamp(18px, 2.2vw, 24px);
  line-height: 1.6;
  color: var(--text-color);
  font-weight: 500;
  text-align: left;
  max-width: 500px;
}

/* About Video Section */
.about-video-section {
  padding: 0;
  background: transparent;
  position: relative;
  z-index: 1;
}

.about-video-wrapper {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
}

.video-placeholder {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border-radius: 4px;
  overflow: hidden;
}

.video-placeholder .about-section-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video-placeholder-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  font-size: 24px;
  font-weight: 300;
}

/* About Section 2 – text left, heading right */
.about-section-2 {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 60px;
  margin: 40px 0 100px;
  align-items: start;
  position: relative;
  z-index: 10; /* Higher than video section */
}

.about-section-2-left {
  order: 2;
  transition: none !important; /* Prevents conflict with GSAP parallax */
  will-change: transform; /* Boosts rendering performance */
}

.about-section-2-right {
  order: 1;
}

.about-section-2-left h2 {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 300;
  line-height: 1.4;
  letter-spacing: -1px;
  color: var(--secondary-color);
}

.about-section-2-left h2 span {
  font-weight: 400;
}

.about-section-2-right p {
  font-size: clamp(16px, 2vw, 18px);
  line-height: 1.8;
  color: var(--text-color);
  margin-bottom: 20px;
  font-weight: 300;
}

/* About Intro Section – neomorphic "Down" (inset) with layered 3D depth */
/* Steven Bartlett-Inspired About Section */
.about-intro-section.tile-down {
  position: relative;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  margin-top: 80px;
  margin-bottom: 80px;
  padding: 0;
  background: #000;
  overflow: hidden;
}

.about-bartlett-container {
  display: grid;
  grid-template-columns: 45% 55%;
  align-items: center;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0;
  position: relative;
  z-index: 2;
}

.about-bartlett-image {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  overflow: hidden;
  height: 100%;
  -webkit-mask-image: linear-gradient(
    to bottom,
    black 0%,
    black 60%,
    transparent 100%
  );
  mask-image: linear-gradient(to bottom, black 0%, black 60%, transparent 100%);
}

.about-bartlett-image img {
  width: 100%;
  height: auto;
  object-fit: contain;
  object-position: center bottom;
  display: block;
}

.about-bartlett-content {
  padding: 80px 80px 80px 60px;
  color: #fff;
}

.about-bartlett-content p {
  font-size: clamp(16px, 1.8vw, 20px);
  line-height: 1.8;
  margin-bottom: 2rem;
  color: #fff;
  font-weight: 400;
  letter-spacing: -0.01em;
}

.about-bartlett-content p:last-child {
  margin-bottom: 0;
}

.about-bartlett-content .highlight {
  color: #fdbb2a;
  font-weight: 600;
}

@media (max-width: 1024px) {
  .about-bartlett-container {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .about-bartlett-image {
    max-height: 500px;
  }

  .about-bartlett-content {
    padding: 60px 40px 100px;
  }
}

@media (max-width: 768px) {
  .about-bartlett-image {
    max-height: 400px;
  }

  .about-bartlett-content {
    padding: 40px 24px 80px;
  }

  .about-bartlett-content p {
    font-size: clamp(14px, 4vw, 18px);
    margin-bottom: 1.5rem;
  }
}

@media (max-width: 768px) {
  .about-intro {
    grid-template-columns: 1fr;
    gap: 30px;
    text-align: center;
  }

  .about-intro-left h1 {
    font-size: clamp(40px, 10vw, 60px);
    margin-bottom: 0;
  }

  .about-intro-right {
    padding-top: 0;
    padding-bottom: 40px;
  }

  .about-intro-right p {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
    max-width: 100%;
  }

  .about-section-2-left,
  .about-section-2-right {
    order: unset;
  }

  .about-section-2 {
    grid-template-columns: 1fr;
    gap: 40px;
    margin: 60px 0;
  }
}

/* About Cards Section */
.about-cards-section {
  padding: 100px 0;
  background: transparent;
  position: relative;
  z-index: 10;
}

.about-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  width: 100%;
}

.about-card {
  background: transparent;
  border: 1px solid #fdbb2a;
  padding: 40px;
  border-radius: 4px; /* Slight rounding for modern feel, but keeping it minimal */
  height: 100%;
  display: flex;
  flex-direction: column;
}

.about-card h3 {
  font-family: "Teko", sans-serif;
  font-size: 32px;
  font-weight: 500;
  color: #fff;
  margin-bottom: 25px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.about-card p {
  font-size: 16px;
  line-height: 1.7;
  color: #ccc; /* Slightly muted text for hierarchy */
  font-weight: 300;
  margin-bottom: 20px;
}

.about-card p:last-child {
  margin-bottom: 0;
}

@media (max-width: 1024px) {
  .about-grid {
    grid-template-columns: 1fr; /* Stack on smaller screens */
    gap: 40px;
  }
  
  .about-card {
    padding: 30px;
  }
}

/* About page – Newsletter: large hero-style block, editorial/bold typography, yellow CTA */
.newsletter-section {
  padding: 0 24px 0;
  margin-bottom: -1px;
  position: relative;
  z-index: 10;
}

.newsletter-wrapper {
  max-width: 1600px;
  margin: 0 auto;
}

.newsletter-inner {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  min-height: min(85vh, 720px);
  background:
    radial-gradient(ellipse 80% 50% at 20% 50%, rgba(253, 187, 43, 0.06) 0%, transparent 50%),
    linear-gradient(145deg, #0d0d0d 0%, #131313 35%, #0a0e12 100%);
  border-radius: 32px 32px 0 0;
  overflow: hidden;
  box-shadow: 0 -4px 48px rgba(0, 0, 0, 0.4);
}

.newsletter-left {
  padding: clamp(48px, 8vw, 80px) clamp(48px, 6vw, 88px) clamp(48px, 8vw, 80px) clamp(56px, 8vw, 96px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: left;
}

.newsletter-headline {
  margin: 0 0 20px;
  font-family: "Playfair Display", Georgia, serif;
  font-weight: 700;
  color: #fff;
  line-height: 1.08;
  letter-spacing: -0.03em;
}

.newsletter-headline-top {
  display: block;
  font-size: clamp(20px, 2.2vw, 28px);
  font-weight: 600;
  margin-bottom: 12px;
  color: rgba(255, 255, 255, 0.92);
  letter-spacing: 0.01em;
}

.newsletter-headline-main {
  display: block;
  font-size: clamp(44px, 7vw, 88px);
  font-weight: 700;
  letter-spacing: -0.04em;
  color: #fff;
  line-height: 0.98;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.3);
}

.newsletter-subtext {
  font-family: var(--font-primary);
  font-size: clamp(16px, 1.6vw, 19px);
  color: rgba(255, 255, 255, 0.72);
  margin: 0 0 36px;
  line-height: 1.55;
  max-width: 520px;
}

.newsletter-form {
  margin: 0;
}

.newsletter-fields {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: stretch;
}

.newsletter-input {
  flex: 1 1 auto;
  min-width: 140px;
  max-width: 240px;
  height: 58px;
  padding: 0 20px;
  font-size: 17px;
  font-family: var(--font-primary);
  color: #1a1a1a;
  background: #fff;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 16px;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.newsletter-input::placeholder {
  color: #666;
}

.newsletter-input:focus {
  outline: none;
  border-color: #fdbb2b;
  box-shadow: 0 0 0 3px rgba(253, 187, 43, 0.25);
}

.newsletter-submit {
  height: 58px;
  padding: 0 36px;
  font-family: var(--font-primary);
  font-size: 17px;
  font-weight: 700;
  color: #0d0d0d;
  background: #fdbb2b;
  border: none;
  border-radius: 16px;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
}

.newsletter-submit:hover {
  background: #f5d056;
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(253, 187, 43, 0.35);
}

/* Right column: image + editorial accent (yellow/gold) */
.newsletter-right {
  position: relative;
  min-height: 380px;
}

.newsletter-accent {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 78%;
  height: 72%;
  background: linear-gradient(160deg, rgba(253, 187, 43, 0.35) 0%, rgba(253, 187, 43, 0.08) 50%, transparent 70%);
  transform: skewY(-6deg) translateY(12%);
  z-index: 1;
  pointer-events: none;
}

.newsletter-image-wrap {
  position: absolute;
  inset: 0;
  z-index: 2;
}

.newsletter-image-wrap::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, 0.15) 40%, rgba(0, 0, 0, 0.4) 100%);
  pointer-events: none;
}

.newsletter-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

/* Promo card – commented out in HTML; styles kept for when uncommented */
.newsletter-promo {
  position: absolute;
  bottom: 24px;
  right: 24px;
  z-index: 3;
  width: 88%;
  max-width: 280px;
  background: #fdf8e6;
  border-radius: 12px;
  padding: 16px 18px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
}

.newsletter-promo-badge {
  font-size: 12px;
  color: #1a1a1a;
  margin: 0 0 10px;
  font-family: var(--font-primary);
}

.newsletter-promo-content {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.newsletter-promo-cover {
  flex-shrink: 0;
  width: 56px;
  height: 80px;
  background: linear-gradient(145deg, #2d5a2d 0%, #1e3d1e 100%);
  border-radius: 4px;
}

.newsletter-promo-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.newsletter-promo-title {
  font-size: 16px;
  color: #1a1a1a;
  font-family: var(--font-primary);
}

.newsletter-promo-subtitle {
  font-size: 12px;
  color: #444;
  line-height: 1.35;
  margin-bottom: 8px;
}

.newsletter-promo-btn {
  display: inline-block;
  padding: 8px 14px;
  font-size: 13px;
  font-weight: 600;
  color: #fff;
  background: #4CAF50;
  border-radius: 8px;
  text-decoration: none;
  align-self: flex-start;
  transition: background 0.2s;
}

.newsletter-promo-btn:hover {
  background: #43a047;
}

@media (max-width: 900px) {
  .newsletter-inner {
    grid-template-columns: 1fr;
    min-height: min(75vh, 640px);
  }

  .newsletter-left {
    padding: 48px 40px 40px;
  }

  .newsletter-right {
    min-height: 320px;
  }

  .newsletter-promo {
    right: 16px;
    bottom: 16px;
    max-width: 260px;
  }
}

@media (max-width: 640px) {
  .newsletter-section {
    padding: 0 16px 0;
  }

  .newsletter-inner {
    min-height: min(70vh, 560px);
    border-radius: 24px 24px 0 0;
  }

  .newsletter-left {
    padding: 40px 28px 36px;
  }

  .newsletter-headline-main {
    font-size: clamp(36px, 10vw, 52px);
  }

  .newsletter-fields {
    flex-direction: column;
    align-items: stretch;
  }

  .newsletter-input {
    max-width: none;
  }

  .newsletter-right {
    min-height: 260px;
  }

  .newsletter-promo {
    width: 82%;
    padding: 12px 14px;
  }

  .newsletter-promo-cover {
    width: 48px;
    height: 68px;
  }
}

/* About page – Contact Stefan CTA */
.about-cta-section {
  padding: 80px 0 100px;
  background: transparent;
  text-align: center;
  position: relative;
  z-index: 10;
}

.about-cta-section .container {
  max-width: 600px;
  margin: 0 auto;
}

.about-cta-text {
  font-size: clamp(18px, 2.5vw, 22px);
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 28px;
  line-height: 1.5;
}

.about-cta-button {
  display: inline-block;
  padding: 18px 48px;
  background: #fdbb2b;
  color: #000;
  font-family: "Teko", sans-serif;
  font-size: 20px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  text-decoration: none;
  border-radius: 4px;
  border: 2px solid transparent;
  transition: all 0.3s ease;
}

.about-cta-button:hover {
  background: #fff;
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(253, 187, 43, 0.35);
}

.about-cta-button--secondary {
  background: transparent;
  color: #fdbb2b;
  border-color: #fdbb2b;
}

.about-cta-button--secondary:hover {
  background: #fdbb2b;
  color: #000;
  border-color: #fdbb2b;
  box-shadow: 0 12px 32px rgba(253, 187, 43, 0.25);
}

/* About Stefan block – minimalist typography-led design */
.about-stefan-block {
  max-width: 1000px; /* Slimmer for better readability */
  margin: 120px auto;
  padding: 0; /* Removed padding since background is gone */
  background: transparent; /* Removed card background */
  border: none; /* Removed border */
}

.about-stefan-block__title {
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 700;
  font-family: "Teko", sans-serif;
  text-transform: uppercase;
  color: #fdbb2b; /* Kept gold for the title */
  margin-bottom: 40px;
  letter-spacing: 2px;
  position: relative;
  display: inline-block;
}

.about-stefan-block__title::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 60px;
  height: 2px;
  background: #fdbb2b;
}

.about-stefan-block__text {
  font-size: clamp(18px, 2.5vw, 22px); /* Slightly larger for impact */
  line-height: 1.6;
  color: var(--text-color);
  margin-bottom: 35px;
  font-weight: 300;
  letter-spacing: 0.01em;
}

.about-stefan-block__text:last-child {
  margin-bottom: 0;
}

.about-stefan-block__accent {
  color: #fdbb2b;
  font-weight: 500;
}

@keyframes bounce {
  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateY(0);
  }

  40% {
    transform: translateY(-10px);
  }

  60% {
    transform: translateY(-5px);
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }

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

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-40px);
  }

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

@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-40px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(40px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.9);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes slideInUp {
  from {
    opacity: 0;
    transform: translateY(60px);
  }

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

@keyframes shimmer {
  0% {
    background-position: -1000px 0;
  }

  100% {
    background-position: 1000px 0;
  }
}

/* Animation Classes */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(40px);
  transition:
    opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1),
    transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.animate-on-scroll.animated {
  opacity: 1;
  transform: translateY(0);
}

.animate-fade-up {
  transform: translateY(40px);
}

.animate-fade-down {
  transform: translateY(-40px);
}

.animate-fade-left {
  transform: translateX(-40px);
}

.animate-fade-right {
  transform: translateX(40px);
}

.animate-scale {
  transform: scale(0.9);
}

.animate-visible {
  opacity: 1;
  transform: translate(0) scale(1);
}

/* Stagger animation delays */
.animate-on-scroll.stagger-1 {
  transition-delay: 0.1s;
}
.animate-on-scroll.stagger-2 {
  transition-delay: 0.2s;
}
.animate-on-scroll.stagger-3 {
  transition-delay: 0.3s;
}
.animate-on-scroll.stagger-4 {
  transition-delay: 0.4s;
}
.animate-on-scroll.stagger-5 {
  transition-delay: 0.5s;
}
.animate-on-scroll.stagger-6 {
  transition-delay: 0.6s;
}

/* Animated "in" state overrides directional transforms so scroll-in/out works */
.animate-on-scroll.animate-fade-right.animated,
.animate-on-scroll.animate-fade-left.animated,
.animate-on-scroll.animate-fade-up.animated,
.animate-on-scroll.animate-fade-down.animated,
.animate-on-scroll.animate-scale.animated {
  opacity: 1;
  transform: translate(0);
}

/* Intro Section */
.intro-section {
  padding: 120px 0 80px;
  background: var(--background-color);
  position: relative;
  overflow: visible;
  scroll-snap-align: none;
  scroll-snap-stop: normal;
  min-height: 100vh;
  display: flex;
  align-items: center;
}

.intro-content {
  animation: fadeInLeft 1s ease-out both;
}

.intro-image-wrapper {
  animation: fadeInRight 1s ease-out 0.2s both;
}

.intro-image {
  transition: transform 0.5s ease;
}

.intro-image:hover {
  transform: scale(1.05) translateY(-10px);
}

.intro-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  position: relative;
  z-index: 2;
}

.intro-content {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.intro-title-large {
  font-size: clamp(24px, 3.5vw, 48px);
  font-weight: 700;
  font-family: "Teko", sans-serif;
  line-height: 1.3;
  color: var(--secondary-color);
  letter-spacing: 1px;
  text-transform: uppercase;
  margin: 0;
  position: relative;
}

.intro-title-large::after {
  content: "|";
  display: inline-block;
  color: #fdbb2b;
  animation: blink 1s infinite;
  margin-left: 2px;
}

@keyframes blink {
  0%,
  50% {
    opacity: 1;
  }

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

.intro-title-large .highlight-yellow {
  color: #fdbb2b;
  font-weight: 700;
}

.intro-about-link {
  color: #fdbb2b;
  text-decoration: none;
  font-size: clamp(18px, 2vw, 24px);
  font-weight: 700;
  font-family: "Teko", sans-serif;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: opacity 0.3s;
  display: inline-block;
  align-self: flex-start;
}

.intro-about-link:hover {
  opacity: 0.7;
}

.intro-image-wrapper {
  position: relative;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.intro-image {
  width: 100%;
  max-width: 700px;
  min-width: 400px;
  height: auto;
  object-fit: contain;
  object-position: center;
  filter: grayscale(100%);
  transform: scale(1.1);
}

.intro-decorative-bottom {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 6px;
  background: transparent;
  overflow: visible;
  --scroll-progress: 0%;
  --stage: 1;
  --vertical-progress: 0%;
  z-index: 10;
  pointer-events: none;
}

.container {
  position: relative;
}

/* In stage 2, expand to full height to allow vertical line movement */
.intro-decorative-bottom[data-stage="2"] {
  height: 100%;
  min-height: 100vh;
  /* Stage 1 bars persist at 100% via background */
  background: linear-gradient(
    to right,
    #fdbb2b 0%,
    #fdbb2b 50%,
    #fdbb2b 50%,
    #fdbb2b 100%
  );
  background-size: 100% 6px;
  background-position: top;
  background-repeat: no-repeat;
}

/* In stage 3, same as stage 2 but with bottom bars */
.intro-decorative-bottom[data-stage="3"] {
  height: 100%;
  min-height: 100vh;
  /* Stage 1 bars at top + left bottom bar */
  background:
        /* Top bars (stage 1) */
    linear-gradient(
      to right,
      #fdbb2b 0%,
      #fdbb2b 50%,
      #fdbb2b 50%,
      #fdbb2b 100%
    ),
    /* Left bottom bar splitting outward from center */
    /* Gradient is 50% wide (covers 0% to 50% of container) */
    /* 100% of gradient = 50% of container (center point) */
    /* To match right bar: when scroll-progress=100%, bar should be 50% of container wide */
    /* So yellow should extend from 100% of gradient to calc(100% - var(--scroll-progress)) of gradient */
    linear-gradient(
        to right,
        transparent 0%,
        transparent calc(100% - var(--scroll-progress)),
        #fdbb2b calc(100% - var(--scroll-progress)),
        #fdbb2b 100%
      );
  background-size:
    100% 6px,
    /* Top bars */ 50% 6px;
  /* Left bottom bar - covers left half */
  background-position:
    top,
    /* Top bars */ bottom left;
  /* Left bottom bar - positioned at left, extends to center */
  background-repeat: no-repeat;
}

/* Left bar coming from the left (Stage 1 & 3) */
.intro-decorative-bottom::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 6px;
  background: #fdbb2b;
  transition:
    width 0.1s ease-out,
    left 0.1s ease-out,
    top 0.1s ease-out,
    height 0.1s ease-out;
  z-index: 1;
  will-change: width, left, top, height;
}

/* Right bar coming from the right (Stage 1 & 3) / Vertical line (Stage 2) */
.intro-decorative-bottom::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 0;
  height: 6px;
  background: #fdbb2b;
  transition:
    width 0.1s ease-out,
    right 0.1s ease-out,
    top 0.1s ease-out,
    height 0.1s ease-out,
    left 0.1s ease-out;
  z-index: 1;
  will-change: width, right, left, top, height;
}

/* Stage 1: Bars meet horizontally at the top (0-33% progress) */
.intro-decorative-bottom[data-stage="1"]::before {
  width: calc(var(--scroll-progress) / 2);
  left: 0;
  top: 0;
  height: 6px;
  opacity: 1;
  /* Ensure it doesn't overlap - use max-width to cap at 50% */
  max-width: 50%;
  box-sizing: border-box;
  /* Only transition width, not height */
  transition:
    width 0.1s ease-out,
    left 0.1s ease-out,
    top 0.1s ease-out;
}

.intro-decorative-bottom[data-stage="1"]::after {
  width: calc(var(--scroll-progress) / 2);
  right: 0;
  top: 0;
  height: 6px;
  left: auto;
  opacity: 1;
  /* Ensure it doesn't overlap - use max-width to cap at 50% */
  max-width: 50%;
  box-sizing: border-box;
  /* Only transition width, not height */
  transition:
    width 0.1s ease-out,
    right 0.1s ease-out,
    top 0.1s ease-out,
    left 0.1s ease-out;
}

/* Stage 2: Vertical line moves down through the section (33-66% progress) */
.intro-decorative-bottom[data-stage="2"]::before {
  width: 6px;
  left: calc(50% - 3px);
  right: auto;
  top: 0;
  height: var(--vertical-progress);
  min-height: 6px;
  opacity: 1;
  z-index: 2;
  /* Above stage 1 bars */
  background: #fdbb2b;
  /* Remove transition on width and left to prevent glitches - position immediately, only animate height */
  transition:
    height 0.1s ease-out,
    top 0.1s ease-out;
  will-change: height, top;
}

.intro-decorative-bottom[data-stage="2"]::after {
  display: none;
  /* Not used in stage 2 */
  /* Ensure it's immediately hidden without transition */
  transition: none;
}

/* Stage 3: Use ::before for vertical line and left bottom bar, ::after for right bottom bar */
.intro-decorative-bottom[data-stage="3"]::before {
  /* Vertical line at full height */
  width: 6px;
  left: calc(50% - 3px);
  right: auto;
  top: 0;
  height: 100%;
  opacity: 1;
  z-index: 2;
  background: #fdbb2b;
  /* Remove transition to prevent overshooting - snap immediately to 100% */
  transition: none;
}

.intro-decorative-bottom[data-stage="3"]::after {
  /* Right bar splitting outward from center */
  width: calc(var(--scroll-progress) / 2);
  right: calc(50% - var(--scroll-progress) / 2);
  top: auto;
  bottom: 0;
  height: 6px;
  left: auto;
  opacity: 1;
  z-index: 3;
  /* Above stage 2 vertical line */
  background: #fdbb2b;
}

@media (max-width: 1024px) {
  .intro-wrapper {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .intro-image-wrapper {
    order: -1;
    max-height: 600px;
  }

  .intro-image {
    max-width: 100%;
    min-width: unset;
    transform: scale(1);
  }
}

@media (max-width: 768px) {
  .intro-section {
    padding: 80px 0 60px;
  }

  .intro-title-large {
    font-size: clamp(20px, 5vw, 32px);
    line-height: 1.4;
  }

  .intro-about-link {
    font-size: clamp(16px, 4vw, 20px);
  }
}

/* Episodes Section */
.episodes-section {
  padding: 120px 0;
  background: transparent;
  position: relative;
  z-index: 1;
  overflow: visible;
}

.episodes-section-title {
  font-family: "Teko", sans-serif;
  font-size: clamp(48px, 8vw, 120px);
  font-weight: 300;
  letter-spacing: -2px;
  color: var(--secondary-color);
  text-align: center;
  margin: 0 0 80px 0;
  padding: 0;
}

.episodes-list {
  display: flex;
  flex-direction: column;
  gap: 80px;
}

.section-title {
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 300;
  margin-bottom: 60px;
  letter-spacing: -2px;
  color: var(--secondary-color);
  opacity: 0;
  transform: translateY(30px);
  transition:
    opacity 0.8s ease-out,
    transform 0.8s ease-out;
}

.section-title.animate-visible {
  opacity: 1;
  transform: translateY(0);
}

.episode-row {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 60px;
  align-items: center;
  width: 100%;
  padding: 0;
  margin: 0;
  box-sizing: border-box;
  position: relative;
  overflow: visible;
  isolation: isolate;
}

.episode-decorative-line {
  position: absolute;
  top: 0;
  left: -50px;
  right: -50px;
  bottom: 0;
  height: 100%;
  width: calc(100% + 100px);
  z-index: -1;
  pointer-events: none;
  --episode-progress: 0%;
  overflow: visible;
}

.episode-decorative-line::before,
.episode-decorative-line::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  height: 100%;
  background: #fdbb2b;
  transition:
    width 0.3s ease-out,
    left 0.3s ease-out,
    right 0.3s ease-out;
  z-index: -1;
  opacity: 1;
}

.episode-decorative-line::before {
  /* Phase 1 (0-15%): Thin line enters from outside */
  /* Position: starts at -50px, reaches 0 at 15% progress */
  left: clamp(-50px, calc(-50px + (var(--episode-progress) * 50px / 15)), 0px);
  /* Width: Always visible at 6px minimum, expands after 15% */
  /* When progress < 15: width = 6px (clamp ensures minimum) */
  /* When progress >= 15: width expands from 6px to 50% */
  width: clamp(
    6px,
    calc(6px + ((var(--episode-progress) - 15) * 694px / 85)),
    1000px
  );
  max-width: 50%;
}

.episode-decorative-line::after {
  /* Phase 1 (0-15%): Thin line enters from outside */
  /* Position: starts at -50px, reaches 0 at 15% progress */
  right: clamp(-50px, calc(-50px + (var(--episode-progress) * 50px / 15)), 0px);
  /* Width: Always visible at 6px minimum, expands after 15% */
  /* When progress < 15: width = 6px (clamp ensures minimum) */
  /* When progress >= 15: width expands from 6px to 50% */
  width: clamp(
    6px,
    calc(6px + ((var(--episode-progress) - 15) * 694px / 85)),
    1000px
  );
  max-width: 50%;
}

/* Animation classes removed - using Motion.dev scroll pinning instead */

.episode-image {
  transition:
    transform 0.5s ease,
    box-shadow 0.5s ease;
}

.episode-image:hover {
  transform: scale(1.05);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.episode-img {
  transition: transform 0.5s ease;
}

.episode-image:hover .episode-img {
  transform: scale(1.1);
}

.episode-image {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
  /* 16:9 aspect ratio for YouTube thumbnails */
  overflow: hidden;
  border-radius: 4px;
  align-self: center;
  flex-shrink: 0;
  max-width: 100%;
  z-index: 1;
}

.episode-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  border-radius: 4px;
}

.episode-img-placeholder {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border-radius: 4px;
}

.episode-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: visible;
  padding-right: 10px;
  flex: 1;
  min-width: 0;
  max-height: 85vh;
  z-index: 1;
  position: relative;
}

.episode-title {
  font-size: clamp(22px, 3vw, 32px);
  font-weight: 400;
  margin-bottom: 25px;
  line-height: 1.3;
  letter-spacing: -0.5px;
  color: var(--secondary-color);
}

.episode-text {
  margin-bottom: 30px;
  flex: 1 1 auto;
  overflow-y: auto;
  min-height: 0;
}

.episode-text p {
  font-size: clamp(15px, 1.8vw, 17px);
  color: var(--text-color);
  margin-bottom: 15px;
  line-height: 1.8;
  font-weight: 300;
}

.episode-actions {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 20px;
  flex-shrink: 0;
}

.btn-episode {
  padding: 12px 30px;
  background: #fdbb2b;
  color: var(--primary-color);
  text-decoration: none;
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 1px;
  text-transform: uppercase;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  display: inline-block;
}

.btn-episode::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.3),
    transparent
  );
  transition: left 0.5s ease;
}

.btn-episode:hover::before {
  left: 100%;
}

.btn-episode:hover {
  background: #e6a826;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(253, 187, 43, 0.4);
}

.episode-platforms {
  display: flex;
  gap: 15px;
  align-items: center;
}

.platform-icon {
  font-size: 12px;
  color: #999;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: color 0.3s;
}

.platform-icon:hover {
  color: #fdbb2b;
}

/* Subscribe Section */
.subscribe-section {
  padding: 120px 0;
  background: var(--background-color);
  text-align: center;
  scroll-snap-align: start;
  scroll-snap-stop: normal;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.subscribe-parallax {
  position: absolute;
  inset: -14% 0;
  z-index: -1; /* behind #subscribe-text */
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  pointer-events: none;
  transform: translateZ(0);
}

.subscribe-parallax__panel {
  position: relative;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  filter: saturate(1.12) contrast(1.05) brightness(0.78);
  transform: translate3d(0, 0, 0) scale(1.06);
  will-change: transform;
}

.subscribe-parallax__panel::after {
  content: "";
  position: absolute;
  inset: 0;
  /* subtle film/vignette + readability */
  background:
    radial-gradient(
      900px 420px at 20% 18%,
      rgba(253, 187, 43, 0.18),
      transparent 60%
    ),
    radial-gradient(
      900px 480px at 80% 70%,
      rgba(0, 0, 0, 0.35),
      transparent 62%
    ),
    linear-gradient(
      180deg,
      rgba(0, 0, 0, 0.65) 0%,
      rgba(0, 0, 0, 0.35) 45%,
      rgba(0, 0, 0, 0.75) 100%
    ),
    linear-gradient(
      90deg,
      rgba(0, 0, 0, 0.65) 0%,
      transparent 22%,
      transparent 78%,
      rgba(0, 0, 0, 0.65) 100%
    );
  opacity: 1;
  mix-blend-mode: multiply;
}

.subscribe-parallax::after {
  content: "";
  position: absolute;
  inset: 0;
  /* section-wide overlay to unify the 3 images */
  background:
    radial-gradient(
      1200px 700px at 50% 30%,
      rgba(253, 187, 43, 0.08),
      transparent 70%
    ),
    linear-gradient(135deg, rgba(21, 20, 21, 0.65), rgba(21, 20, 21, 0.35));
  pointer-events: none;
}

.subscribe-parallax__panel--1 {
  background-image: url("../assets/subscribe/1.jpg");
  background-position: 50% 25%;
}

.subscribe-parallax__panel--2 {
  background-image: url("../assets/subscribe/2.jpg");
  background-position: 50% 35%;
}

.subscribe-parallax__panel--3 {
  background-image: url("../assets/subscribe/3.jpg");
  background-position: 50% 30%;
}

#subscribe-text {
  font-size: 16vw;
  font-family: "Teko", sans-serif;
  color: #fff;
  text-align: center;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(-30deg) skew(25deg);
  z-index: 0;
  user-select: none;
  pointer-events: none;
  opacity: 0.1;
}

#subscribe-text::before {
  --offset: 32px;
  content: attr(data-text);
  position: absolute;
  left: calc(var(--offset) * -1);
  top: var(--offset);
  color: rgba(0, 0, 0, 0.3);
  filter: blur(5px);
  text-shadow: none;
  z-index: -1;
}

.subscribe-section .container {
  position: relative;
  z-index: 1;
}

.subscribe-section .section-title {
  margin-bottom: 60px;
  line-height: 1.2;
}

.platforms {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 15px;
  max-width: 800px;
  margin: 0 auto;
}

.platform-link {
  padding: 12px 24px;
  background: transparent;
  color: var(--secondary-color);
  text-decoration: none;
  border-radius: 0;
  font-weight: 400;
  transition: all 0.3s;
  border: 1px solid var(--secondary-color);
  font-size: 15px;
  letter-spacing: 0.5px;
}

.platform-link:hover {
  background: var(--secondary-color);
  color: var(--primary-color);
}

/* News Preview Section */
.news-preview-section {
  padding: 120px 0;
  background: var(--light-gray);
  scroll-snap-align: start;
  scroll-snap-stop: normal;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.news-preview-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
}

.news-preview-card {
  padding: 0;
  background: transparent;
  opacity: 0;
  transform: translateY(30px);
  transition:
    opacity 0.6s ease-out,
    transform 0.6s ease-out;
}

.news-preview-card.animate-visible {
  opacity: 1;
  transform: translateY(0);
}

.news-preview-card:nth-child(1) {
  transition-delay: 0.1s;
}

.news-preview-card:nth-child(2) {
  transition-delay: 0.2s;
}

.news-preview-card:nth-child(3) {
  transition-delay: 0.3s;
}

.news-preview-card:hover {
  transform: translateY(-5px);
  transition: transform 0.3s ease;
}

.news-preview-image {
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 12px;
  background: #0f0f0f;
  margin-bottom: 18px;
}

.news-preview-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.news-preview-card:hover .news-preview-image img {
  transform: scale(1.04);
}

.news-preview-meta {
  font-size: 12px;
  color: #999;
  margin-bottom: 15px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.news-preview-title {
  font-size: clamp(20px, 3vw, 24px);
  font-weight: 300;
  margin-bottom: 20px;
  line-height: 1.4;
  letter-spacing: -0.5px;
  color: var(--secondary-color);
}

.news-preview-link {
  display: inline-block;
  color: #fdbb2b;
  text-decoration: none;
  font-weight: 400;
  font-size: 15px;
  transition: opacity 0.3s;
  letter-spacing: 0.5px;
}

.news-preview-link:hover {
  opacity: 0.6;
}

/* Carousel Section */
.carousel-section {
  padding: 60px 0;
  background: var(--background-color);
  overflow: hidden;
  position: relative;
}

.carousel-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(253, 187, 43, 0.05) 25%,
    rgba(253, 187, 43, 0.08) 50%,
    rgba(253, 187, 43, 0.05) 75%,
    transparent 100%
  );
  background-size: 200% 100%;
  animation: wave-flow 12s ease-in-out infinite;
  z-index: 0;
  opacity: 0.6;
}

.carousel-container {
  width: 100%;
  overflow: hidden;
  position: relative;
  z-index: 1;
}

@keyframes wave-flow {
  0%,
  100% {
    background-position: -200% 0;
  }

  50% {
    background-position: 200% 0;
  }
}

.carousel-track {
  display: flex;
  white-space: nowrap;
  animation: scroll-left 20s linear infinite;
  will-change: transform;
}

.carousel-text {
  font-size: clamp(48px, 8vw, 120px);
  font-weight: 700;
  font-family: "Teko", sans-serif;
  color: #fdbb2b;
  text-transform: uppercase;
  letter-spacing: 2px;
  padding: 0 60px;
  display: inline-block;
  flex-shrink: 0;
}

/* Allow carousel items to be links without default underline/color change */
.carousel-track a.carousel-text {
  text-decoration: none;
  color: inherit;
  cursor: pointer;
  transition: opacity 0.2s ease;
}

.carousel-track a.carousel-text:hover {
  opacity: 0.85;
}

@keyframes scroll-left {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

/* Wrapper for tight mode effect */
.wrapper {
  transform-origin: center bottom 0px;
  transition: all 0.5s ease 0s;
  box-shadow: 0px 22px 54px rgba(0, 0, 0, 0.5);
  background: var(--background-color);
  min-height: 100vh;
  /* GPU acceleration and compositing to prevent body background showing through */
  transform: translateZ(0);
  will-change: transform;
  backface-visibility: hidden;
  isolation: isolate;
}

body.tight .wrapper {
  transform: translateY(-60px) scale(0.9);
  cursor: pointer;
}

/* If both nav + tight are active, nav transform must win (so menu is not hidden) */
body.navOpen.tight .wrapper {
  transform: translateX(0px) translateY(520px) scale(0.78);
  transform-origin: top left;
  box-shadow: 0 0 50px rgba(0, 0, 0, 0.5);
  border-radius: 20px;
  overflow: hidden;
  pointer-events: none;
}

/* Footer visibility - hidden until bottom is reached */
#footer-placeholder {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition:
    max-height 0.6s ease,
    opacity 0.6s ease;
  margin-top: 0;
  position: relative;
  width: 100%;
}

/* Start revealing footer when near bottom (500px threshold) */
body.footer-visible #footer-placeholder {
  max-height: 2000px;
  /* Large enough to accommodate footer */
  opacity: 1;
}

/* Ensure footer is fully visible in tight mode */
body.tight #footer-placeholder {
  max-height: 2000px;
  opacity: 1;
}

/* Ensure footer appears right below wrapper when visible */
body.tight #footer-placeholder .footer {
  margin-top: 0;
}

/* Arrow button for scroll to bottom */
.arrow {
  position: fixed;
  bottom: 50px;
  left: 50%;
  cursor: pointer;
  margin-left: -20px;
  width: 60px;
  height: 60px;
  z-index: 99;
  background-color: #fdbb2b;
  border-radius: 50%;
  opacity: 0;
  transition: opacity 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(253, 187, 43, 0.4);
}

.arrow.visible {
  opacity: 1;
}

.arrow.animated.bounce {
  animation: bounce-arrow 2s infinite;
}

.arrow::before {
  content: "";
  width: 0;
  height: 0;
  border-left: 8px solid transparent;
  border-right: 8px solid transparent;
  border-top: 12px solid var(--primary-color);
  margin-top: 4px;
}

.arrow:hover {
  background-color: #e6a826;
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(253, 187, 43, 0.6);
}

@keyframes bounce-arrow {
  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateY(0);
  }

  40% {
    transform: translateY(-30px);
  }

  60% {
    transform: translateY(-15px);
  }
}

/* Footer */
.footer {
  background: #fdbb2b;
  color: #000;
  padding: 60px 0 30px;
}

.footer-social-icons {
  display: flex;
  justify-content: center;
  align-items: center;
  list-style: none;
  padding: 0;
  margin: 0 0 60px 0;
  gap: 0;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.2);
}

.footer-social-icons li {
  list-style: none;
}

.footer-social-icons .social-icon {
  width: 80px;
  height: 80px;
  background-color: #000;
  text-align: center;
  line-height: 80px;
  font-size: 35px;
  margin: 0 10px;
  display: block;
  border-radius: 50%;
  position: relative;
  overflow: hidden;
  border: 3px solid #000;
  z-index: 1;
  text-decoration: none;
}

.footer-social-icons .social-icon .icon {
  position: relative;
  color: #fdbb2b;
  transition: 0.5s;
  z-index: 3;
}

.footer-social-icons .social-icon:hover .icon {
  color: #fff;
  transform: rotateY(360deg);
}

.footer-social-icons .social-icon:before {
  content: "";
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  height: 100%;
  background: #f00;
  transition: 0.5s;
  z-index: 2;
}

.footer-social-icons .social-icon:hover:before {
  top: 0;
}

.footer-social-icons li:nth-child(1) .social-icon:before {
  background: #3b5999;
}

.footer-social-icons li:nth-child(2) .social-icon:before {
  background: #55acee;
}

.footer-social-icons li:nth-child(3) .social-icon:before {
  background: #0077b5;
}

.footer-social-icons li:nth-child(4) .social-icon:before {
  background: #e4405f;
}

.footer-social-icons li:nth-child(5) .social-icon:before {
  background: #ff0000;
}

.footer-social-icons li:nth-child(6) .social-icon:before {
  background: #000000;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}

.footer-section h3 {
  font-size: 14px;
  margin-bottom: 25px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #000;
}

.footer-section ul {
  list-style: none;
}

.footer-section ul li {
  margin-bottom: 10px;
}

.footer-section a {
  color: #000;
  text-decoration: none;
  font-size: 13px;
  transition: opacity 0.3s;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  opacity: 0.7;
}

.footer-section a:hover {
  opacity: 1;
}

.social-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-bottom {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid rgba(0, 0, 0, 0.2);
  color: #000;
  font-size: 14px;
  opacity: 0.7;
}

/* Page Content Styles */
.page-content {
  padding: 120px 20px 80px;
  min-height: 80vh;
  overflow: visible;
}

.page-content--news {
  /* Account for fixed `.hero-header` + menu button */
  padding-top: 170px;
}

.page-title {
  font-size: clamp(40px, 6vw, 64px);
  font-weight: 300;
  margin-bottom: 30px;
  letter-spacing: -2px;
  color: var(--secondary-color);
}

.page-subtitle {
  font-size: clamp(20px, 3vw, 28px);
  color: var(--text-color);
  margin-bottom: 40px;
  font-weight: 400;
}

/* News page header + layout */
.news-page-header {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 30px;
  align-items: end;
  padding-bottom: 30px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.news-page-header__text .page-title {
  margin-bottom: 18px;
}

.news-page-header__text .page-subtitle {
  margin-bottom: 0;
  max-width: 48ch;
}

.news-page-header__controls {
  display: grid;
  gap: 14px;
  justify-items: end;
}

.news-search {
  width: min(520px, 100%);
}

.news-search__input {
  width: 100%;
  padding: 14px 16px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(31, 31, 31, 0.9);
  color: var(--secondary-color);
  outline: none;
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}

.news-search__input::placeholder {
  color: rgba(229, 229, 229, 0.6);
}

.news-search__input:focus {
  border-color: rgba(253, 187, 43, 0.65);
  box-shadow: 0 0 0 4px rgba(253, 187, 43, 0.12);
}

.news-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}

.news-filter {
  appearance: none;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: transparent;
  color: rgba(229, 229, 229, 0.85);
  padding: 10px 12px;
  border-radius: 999px;
  font-size: 12px;
  letter-spacing: 1px;
  text-transform: uppercase;
  cursor: pointer;
  transition:
    background 0.2s ease,
    border-color 0.2s ease,
    color 0.2s ease,
    transform 0.15s ease;
}

.news-filter:hover {
  transform: translateY(-1px);
  border-color: rgba(253, 187, 43, 0.35);
  color: var(--secondary-color);
}

.news-filter[aria-pressed="true"] {
  background: rgba(253, 187, 43, 0.14);
  border-color: rgba(253, 187, 43, 0.55);
  color: var(--secondary-color);
}

.news-layout {
  padding-top: 40px;
  display: grid;
  gap: 40px;
}

.news-latest-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
}

.news-latest-title {
  font-size: clamp(22px, 3vw, 32px);
  font-weight: 700;
  font-family: "Teko", sans-serif;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--secondary-color);
  margin: 0;
}

.news-results {
  font-size: 12px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: rgba(229, 229, 229, 0.65);
}

.news-empty {
  padding: 18px 0 0;
  color: rgba(229, 229, 229, 0.7);
  font-size: 14px;
  letter-spacing: 0.3px;
}

.news-featured:empty {
  display: none;
}

.news-featured-card {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 28px;
  padding: 26px;
  border-radius: 16px;
  background: linear-gradient(
    135deg,
    rgba(31, 31, 31, 0.95),
    rgba(21, 20, 21, 0.95)
  );
  border: 1px solid rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

.news-featured-media {
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: #0f0f0f;
}

.news-featured-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transform: scale(1.01);
  transition: transform 0.5s ease;
}

.news-featured-card:hover .news-featured-media img {
  transform: scale(1.05);
}

.news-featured-body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 14px;
}

.news-kicker {
  font-size: 12px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: rgba(229, 229, 229, 0.7);
}

.news-featured-title {
  font-size: clamp(26px, 3.4vw, 40px);
  font-weight: 700;
  font-family: "Teko", sans-serif;
  letter-spacing: 1px;
  text-transform: uppercase;
  line-height: 1.05;
  color: var(--secondary-color);
  margin: 0;
}

.news-featured-excerpt {
  color: rgba(229, 229, 229, 0.8);
  font-size: 16px;
  line-height: 1.7;
  display: -webkit-box;
  -webkit-line-clamp: 5;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-featured-link {
  align-self: flex-start;
  display: inline-flex;
  gap: 8px;
  align-items: center;
  color: #fdbb2b;
  text-decoration: none;
  font-weight: 600;
  letter-spacing: 0.5px;
}

.news-featured-link:hover {
  opacity: 0.85;
}

.content-section {
  max-width: 800px;
  margin: 0 auto 60px;
}

.content-section p {
  font-size: 18px;
  line-height: 1.8;
  margin-bottom: 20px;
  color: var(--text-color);
}

.content-section h2 {
  font-size: 32px;
  font-weight: 400;
  margin: 40px 0 20px;
  letter-spacing: -1px;
  color: var(--secondary-color);
}

.content-section h3 {
  font-size: 24px;
  font-weight: 500;
  margin: 30px 0 15px;
  color: var(--secondary-color);
}

/* About Content Section with Video Background */
.about-content-section {
  position: relative;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  margin-top: 80px;
  margin-bottom: 80px;
  padding: 80px 0;
  overflow: hidden;
  min-height: 600px;
  max-width: none;
}

.about-bg-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  min-width: 100%;
}

.about-content-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  z-index: 2;
}

.about-content-text {
  position: relative;
  z-index: 3;
  max-width: 560px;
  margin-left: auto;
  margin-right: 80px;
  padding: 48px 40px;
  text-align: left;
  background: rgba(21, 20, 21, 0.75);
  border-radius: 12px;
  backdrop-filter: blur(8px);
}

.about-content-text h2 {
  font-size: 32px;
  font-weight: 400;
  margin: 40px 0 20px;
  letter-spacing: -1px;
  color: var(--secondary-color);
}

.about-content-text h2:first-child {
  margin-top: 0;
}

.about-content-text p {
  font-size: 18px;
  line-height: 1.8;
  margin-bottom: 20px;
  color: var(--secondary-color);
}

@media (max-width: 768px) {
  .about-content-text {
    margin-left: 20px;
    margin-right: 20px;
    max-width: none;
    padding: 32px 24px;
  }
}

/* Shop Grid */
.shop-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.product-card {
  background: var(--light-gray);
  border-radius: 8px;
  overflow: hidden;
  transition:
    transform 0.3s,
    box-shadow 0.3s;
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.product-image {
  width: 100%;
  height: 300px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 48px;
}

.product-info {
  padding: 20px;
}

.product-title {
  font-size: 20px;
  font-weight: 500;
  margin-bottom: 10px;
  color: var(--secondary-color);
}

.product-price {
  font-size: 18px;
  font-weight: 600;
  color: #fdbb2b;
  margin-bottom: 15px;
}

.product-description {
  font-size: 14px;
  color: var(--text-color);
  margin-bottom: 15px;
}

.add-to-cart {
  width: 100%;
  padding: 12px;
  background: #fdbb2b;
  color: var(--primary-color);
  border: none;
  border-radius: 5px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.3s;
}

.add-to-cart:hover {
  background: #e6a826;
}

/* News Grid */
.news-grid {
  display: grid;
  gap: 40px;
  margin-top: 40px;
}

.news-grid--cards {
  margin-top: 0;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 26px;
}

.news-card {
  padding: 0;
  background: rgba(31, 31, 31, 0.92);
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  overflow: hidden;
  transition:
    transform 0.2s ease,
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}

.news-card:hover {
  transform: translateY(-3px);
  border-color: rgba(253, 187, 43, 0.3);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.35);
}

.news-image {
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #0f0f0f;
}

.news-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.news-card:hover .news-image img {
  transform: scale(1.06);
}

.news-card-body {
  padding: 22px 22px 20px;
}

.news-date {
  font-size: 14px;
  color: #999;
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.news-title {
  font-size: 26px;
  font-weight: 700;
  font-family: "Teko", sans-serif;
  letter-spacing: 1px;
  text-transform: uppercase;
  line-height: 1.15;
  margin-bottom: 15px;
  color: var(--secondary-color);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-excerpt {
  font-size: 16px;
  color: var(--text-color);
  line-height: 1.7;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-link {
  display: inline-block;
  margin-top: 15px;
  color: #fdbb2b;
  text-decoration: none;
  font-weight: 500;
}

.news-link:hover {
  opacity: 0.85;
}

/* Contact Form */
.contact-form {
  max-width: 600px;
  margin: 0 auto;
}

.form-group {
  margin-bottom: 25px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
  font-size: 14px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px;
  border: 2px solid var(--border-color);
  border-radius: 5px;
  font-size: 16px;
  font-family: var(--font-primary);
  transition: border-color 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-color);
}

.form-group textarea {
  min-height: 150px;
  resize: vertical;
}

.submit-btn {
  padding: 15px 40px;
  background: #fdbb2b;
  color: var(--primary-color);
  border: none;
  border-radius: 5px;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.3s;
}

.submit-btn:hover {
  background: #e6a826;
}

/* Responsive Design */
@media (max-width: 768px) {
  /* Mobile Navigation */
  .openNav {
    top: 20px;
    right: 20px;
    width: 45px;
    height: 45px;
  }

  .openNav .icon {
    width: 24px;
  }

  .openNav .icon::before,
  .openNav .icon::after {
    width: 24px;
  }

  .openNav .icon::before {
    top: -6px;
  }

  .openNav .icon::after {
    top: 6px;
  }

  .main-nav {
    padding: 100px 20px 40px;
  }

  .main-nav ul {
    width: 100%;
  }

  .main-nav ul li a {
    font-size: clamp(20px, 5vw, 26px);
    padding: 8px 0;
  }

  .nav-footer {
    width: 100%;
  }

  body.navOpen .wrapper {
    transform: translateX(-200px) translateY(40px) scale(0.88);
  }

  body.navOpen.tight .wrapper {
    transform: translateX(-200px) translateY(40px) scale(0.88);
  }

  .openNav.open {
    transform: translateX(-200px) translateY(40px);
  }

  .episode-row {
    grid-template-columns: 1fr;
    gap: 30px;
    padding: 0;
  }

  .episode-image {
    padding-top: 75%;
  }

  .episode-actions {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .footer-social-icons {
    gap: 0;
    margin-bottom: 40px;
    padding-bottom: 30px;
    flex-wrap: wrap;
  }

  .footer-social-icons .social-icon {
    width: 60px;
    height: 60px;
    font-size: 28px;
    line-height: 60px;
    margin: 0 8px;
  }

  .episodes-section {
    padding: 80px 0;
  }

  .episodes-list {
    gap: 60px;
  }

  .page-content--news {
    padding-top: 130px;
  }

  .news-page-header {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .news-page-header__controls {
    justify-items: stretch;
  }

  .news-filters {
    justify-content: flex-start;
  }

  .news-latest-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .news-featured-card {
    grid-template-columns: 1fr;
    padding: 18px;
  }
}

/* Award Card Styles with Hover Effect */
.award-card {
  position: relative;
  height: 650px;
  width: 100%;
  max-width: 500px;
  margin: 0 auto;
  background: #000;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.award-card__video {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  border: none;
  z-index: 1;
  object-fit: cover;
}

.award-card__content {
  position: absolute;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.95);
  top: calc(100% - 100px);
  left: 0;
  opacity: 1;
  transition: all 0.75s ease-in-out;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  z-index: 2;
  padding: 30px;
}

.award-card__content::after {
  position: absolute;
  top: 15px;
  left: 15px;
  width: 40px;
  height: 40px;
  border-color: #fdbb2b;
  border-style: solid;
  border-width: 2px 0 0 2px;
  content: "";
  opacity: 0;
  transition: opacity 0.5s ease-in-out 0.2s;
}

.award-card::after {
  position: absolute;
  bottom: 15px;
  right: 15px;
  width: 40px;
  height: 40px;
  border-color: #fdbb2b;
  border-style: solid;
  border-width: 0 2px 2px 0;
  content: "";
  z-index: 3;
  opacity: 0;
  transition: opacity 0.5s ease-in-out 0.2s;
}

.award-card:hover::after {
  opacity: 1;
}

.award-card:hover .award-card__content::after {
  opacity: 1;
}

.award-card__content-inner {
  position: relative;
  display: block;
  height: 100px;
  display: flex;
  flex-flow: column nowrap;
  text-align: center;
  justify-content: center;
  transition: all 0.75s ease-in-out;
  max-width: 900px;
  width: 100%;
}

.award-card__title {
  font-weight: 700;
  text-transform: uppercase;
  color: #fdbb2b;
  letter-spacing: 2px;
  font-size: clamp(20px, 3vw, 32px);
  font-family: "Teko", sans-serif;
  margin: 0;
}

.award-card__award-name {
  font-size: clamp(18px, 2.5vw, 24px);
  font-weight: 600;
  color: #fff;
  margin: 15px 0;
  line-height: 1.4;
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity 0.5s ease-in-out 0.3s,
    transform 0.5s ease-in-out 0.3s;
}

.award-card__description {
  color: #e5e5e5;
  font-size: clamp(14px, 1.8vw, 16px);
  line-height: 1.7;
  font-weight: 300;
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity 0.5s ease-in-out 0.4s,
    transform 0.5s ease-in-out 0.4s;
}

.award-card__footer {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 20px;
  margin-top: 20px;
  border-top: 1px solid rgba(253, 187, 43, 0.3);
  font-size: clamp(13px, 1.6vw, 15px);
  justify-content: center;
  flex-wrap: wrap;
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity 0.5s ease-in-out 0.5s,
    transform 0.5s ease-in-out 0.5s;
}

.award-card:hover {
  cursor: pointer;
}

.award-card:hover .award-card__content {
  top: 0;
  background: rgba(0, 0, 0, 0.97);
  transition: all 1s ease-in-out;
}

.award-card:hover .award-card__content-inner {
  height: 100%;
  align-items: center;
  justify-content: center;
  transition: all 1s ease-in-out;
}

.award-card:hover .award-card__award-name,
.award-card:hover .award-card__description,
.award-card:hover .award-card__footer {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .award-card {
    height: 550px;
    max-width: 100%;
  }

  .award-card__content {
    top: calc(100% - 80px);
    padding: 20px;
  }

  .award-card__content-inner {
    height: 80px;
  }

  .award-card__footer {
    flex-direction: column;
    gap: 8px;
    align-items: center;
  }
}

/* Sticky Stacked Cards Styles for Impact Section */
.scroll-cards {
  counter-reset: card;
  position: relative;
  display: block;
  padding-bottom: 120vh;
}

.scroll-cards > .scroll-cards__item + .scroll-cards__item {
  margin-top: 40vh;
}

.scroll-cards .section-title {
  position: sticky;
  top: 2rem;
  z-index: 1;
}

.scroll-cards__intro {
  position: relative;
  z-index: 1;
}

.scroll-cards__item {
  --offset: 0.75em;
  color: #e5e5e5;
  position: sticky;
  top: max(16vh, 10em);
  min-height: 16em;
  background: #1e1e1e;
  /* Material Dark Surface */
  border: 1px solid rgba(255, 255, 255, 0.08);
  /* Subtle border for dark mode */
  border-radius: 16px;
  box-shadow:
    0 4px 6px -1px rgba(0, 0, 0, 0.5),
    0 2px 4px -1px rgba(0, 0, 0, 0.3);
  /* Elevation 2 */
  width: calc(100% - 5 * var(--offset));
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  /* Material Standard Easing */
  display: flex;
  align-items: stretch;
  gap: 0;
  padding: 0;
  overflow: hidden;
}

.scroll-cards__item:hover {
  transform: translateY(-4px);
  /* Lift effect */
  box-shadow:
    0 20px 25px -5px rgba(0, 0, 0, 0.6),
    0 10px 10px -5px rgba(0, 0, 0, 0.4);
  /* Elevation 10 */
  border-color: rgba(253, 187, 43, 0.4);
  /* Subtle golden highlight on hover */
}

/* Number Badge - Top Right of Content Area */
.scroll-cards__item-number {
  position: absolute;
  top: 24px;
  right: 24px;
  width: 48px;
  height: 48px;
  background: rgba(253, 187, 43, 0.1);
  color: #fdbb2b;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-weight: 700;
  font-size: 1.25em;
  font-family: "Teko", sans-serif;
  border: 1px solid rgba(253, 187, 43, 0.3);
  z-index: 10;
}

/* Image Wrapper - Left Side */
.scroll-cards__item-image-wrapper {
  flex-shrink: 0;
  width: 280px;
  background: #121212;
  /* Slightly darker background for image area */
  display: flex;
  align-items: center;
  justify-content: center;
  border-right: 1px solid rgba(255, 255, 255, 0.05);
}

.scroll-cards__item-image-placeholder {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  overflow: hidden;
  border: 4px solid rgba(253, 187, 43, 0.2);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  background: #000;
}

.scroll-cards__item-image-placeholder img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.scroll-cards__item:hover .scroll-cards__item-image-placeholder img {
  transform: scale(1.05);
}

/* Content Area - Right Side */
.scroll-cards__item-content {
  flex: 1;
  padding: 3em 3.5em;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  background: linear-gradient(to right, #1e1e1e, #252525);
}

.scroll-cards__item-title {
  font-size: clamp(28px, 4vw, 36px);
  font-weight: 700;
  font-family: "Teko", sans-serif;
  text-transform: uppercase;
  color: #ffffff;
  margin: 0 0 0.5em 0;
  letter-spacing: 1px;
}

.scroll-cards__item-description {
  font-size: clamp(16px, 2vw, 18px);
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.7);
  font-weight: 400;
  margin: 0;
  max-width: 90%;
}

/* Stacking offset for each card */
.scroll-cards__item:nth-of-type(1) {
  transform: translate(
    calc((1 - 1) * var(--offset)),
    calc((1 - 1) * var(--offset))
  );
}

.scroll-cards__item:nth-of-type(2) {
  transform: translate(
    calc((2 - 1) * var(--offset)),
    calc((2 - 1) * var(--offset))
  );
}

.scroll-cards__item:nth-of-type(3) {
  transform: translate(
    calc((3 - 1) * var(--offset)),
    calc((3 - 1) * var(--offset))
  );
}

.scroll-cards__item:nth-of-type(4) {
  transform: translate(
    calc((4 - 1) * var(--offset)),
    calc((4 - 1) * var(--offset))
  );
}

.scroll-cards__item:nth-of-type(5) {
  transform: translate(
    calc((5 - 1) * var(--offset)),
    calc((5 - 1) * var(--offset))
  );
}

/* Medium screens */
@media screen and (min-width: 37em) {
  .scroll-cards__item {
    --offset: 1em;
  }

  /* Remove old :before pseudo element */
  .scroll-cards__item:before {
    display: none;
  }
}

/* Large screens */
@media screen and (min-width: 62em) {
  .scroll-cards__item {
    --offset: 1.5em;
    max-width: 60em;
    /* Slightly wider for better proportion */
    margin-left: auto;
    margin-right: auto;
  }
}

/* Mobile adjustments */
@media screen and (max-width: 36.99em) {
  .scroll-cards {
    padding-bottom: 80vh;
  }

  .scroll-cards__item {
    --offset: 0.5em;
    min-height: auto;
    flex-direction: column;
  }

  .scroll-cards__item-image-wrapper {
    width: 100%;
    padding: 2em;
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    background: #181818;
  }

  .scroll-cards__item-image-placeholder {
    width: 140px;
    height: 140px;
  }

  .scroll-cards__item-content {
    padding: 2em 1.5em;
  }

  .scroll-cards__item-number {
    top: 16px;
    right: 16px;
    width: 40px;
    height: 40px;
    font-size: 1.1em;
  }

  .scroll-cards > .scroll-cards__item + .scroll-cards__item {
    margin-top: 30vh;
  }
}

/* Osmo-style menu hover effect */
.main-nav .menu-link {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 0.1em 0;
  text-decoration: none;
  overflow: hidden;
}

.main-nav .menu-link-heading {
  position: relative;
  z-index: 1;
  color: #000;
  font-family: "PP Neue Corp Tight", "Teko", sans-serif;
  font-weight: 700;
  font-size: 1.8em;
  line-height: 0.75;
  text-transform: uppercase;
  letter-spacing: 1px;
  text-align: right;
  margin: 0;
  transition:
    transform 0.55s cubic-bezier(0.65, 0.05, 0, 1),
    color 0.55s cubic-bezier(0.65, 0.05, 0, 1);
  /* Text shadow creates the "replacement" text effect - matches background color */
  text-shadow: 0 1em 0 #fdbb2b;
}

.main-nav .menu-link:hover .menu-link-heading {
  transform: translateY(-1em);
  color: #fdbb2b;
  transition-delay: 0.1s;
}

/* Black background bar that scales up on hover */
.main-nav .menu-link-bg {
  position: absolute;
  inset: 0;
  background-color: #000;
  transform-origin: 50% 100%;
  transform-style: preserve-3d;
  transition: transform 0.55s cubic-bezier(0.65, 0.05, 0, 1);
  z-index: 0;
  transform: scale3d(1, 0, 1);
}

.main-nav .menu-link:hover .menu-link-bg {
  transform: scale3d(1, 1, 1);
}

/* Override old styles for menu-link elements */
.main-nav .menu-link::before,
.main-nav .menu-link::after {
  display: none;
}

@media (hover: hover) {
  .main-nav .menu-link:hover .menu-link-heading {
    transform: translateY(-1em);
    color: #fdbb2b;
  }

  .main-nav .menu-link:hover .menu-link-bg {
    transform: scale3d(1, 1, 1);
  }
}

/* Timeline Styles */
img {
  vertical-align: middle;
  max-width: 100%;
  display: inline-block;
}

.inline-block {
  max-width: 100%;
  display: inline-block;
}

.page-wrapper {
  z-index: 0;
  position: relative;
}

.section-timeline-heading {
  background-color: #0a0a0a;
  scroll-snap-align: none;
  scroll-snap-stop: normal;
}

.padding-vertical-xlarge {
  padding-top: 120px;
  padding-bottom: 120px;
}

.timeline-main_heading-wrapper {
  color: #fff;
  text-align: center;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}

.timeline-main_heading-wrapper h2 {
  font-size: clamp(36px, 6vw, 50px);
  font-family: "Teko", sans-serif;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: #fdbb2b;
}

.timeline_component {
  flex-direction: column;
  justify-content: center;
  align-items: center;
  max-width: 1120px;
  margin-left: auto;
  margin-right: auto;
  display: flex;
  position: relative;
}

.timeline_item {
  z-index: 2;
  width: 100vw;
  min-width: 100vw;
  max-width: 100vw;
  height: 100vh;
  flex: 0 0 100vw;
  position: relative;
  grid-column-gap: 0px;
  grid-row-gap: 0px;
  grid-template-rows: 1fr auto;
  grid-template-columns: 1fr minmax(0, 1fr);
  grid-auto-columns: 1fr;
  padding-top: 80px;
  padding-bottom: 80px;
  display: grid;
  align-items: end;
  box-sizing: border-box;
  overflow: hidden;
}

/* Timeline Background Image – carousel with fade between slides */
.timeline_bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
  pointer-events: none;
  overflow: hidden;
}

.timeline_item.is-active .timeline_bg {
  opacity: 1;
}

.timeline_bg-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

/* 2026 Pride of Nation Award – position image higher so subject is not too low */
.timeline_bg-award2026 .timeline_bg-image {
  object-position: center 25%;
}

/* Digital 365 Logo - smaller with red background */
.timeline_bg-logo {
  background-color: #ee3123;
}

.timeline_bg-image-logo {
  object-fit: contain;
  object-position: center;
  width: 60%;
  height: 60%;
  margin: auto;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

/* Hush Hush Events - smaller with white background */
.timeline_bg-hushhush {
  background-color: #fff;
}

.timeline_bg-image-hushhush {
  object-fit: contain;
  object-position: center;
  width: 60%;
  height: 60%;
  margin: auto;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

/* 1995 Stefan - smaller with cloud background */
.timeline_bg-1995 {
  background-image: url("/assets/images/Gemini_Generated_Image_ddar4hddar4hddar.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.timeline_bg-image-1995 {
  object-fit: contain;
  object-position: center;
  width: 80%;
  height: 80%;
  margin: auto;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

/* 2023 Wedding - two images side by side */
.timeline_bg-wedding {
  background-color: #FDFDFD;
  display: flex;
  align-items: center;
  justify-content: center;
}

.timeline_bg-wedding-container {
  display: flex;
  flex-direction: row;
  gap: 20px;
  width: 80%;
  height: 80%;
  align-items: center;
  justify-content: center;
}

.timeline_bg-wedding-image {
  width: 50%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  flex: 1;
}

/* 2002 Millfield - two images side by side */
.timeline_bg-millfield {
  background-color: #FFF;
  display: flex;
  align-items: center;
  justify-content: center;
}

.timeline_bg-millfield-container {
  display: flex;
  flex-direction: row;
  gap: 20px;
  width: 80%;
  height: 80%;
  align-items: center;
  justify-content: center;
}

.timeline_bg-millfield-image {
  width: 50%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  flex: 1;
}

/* 2015 Bean Bag Bliss - two images side by side with branding overlay; full landscape */
.timeline_bg-beanbagbliss {
  background-color: #f5f0eb;
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
}

.timeline_bg-beanbagbliss-container {
  display: flex;
  flex-direction: row;
  gap: 0;
  width: 100%;
  height: 100%;
  align-items: stretch;
  justify-content: center;
}

.timeline_bg-beanbagbliss-image {
  width: 50%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  flex: 1;
}

.timeline_bg-beanbagbliss-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 2.5vh;
  pointer-events: none;
}

.timeline_bg-beanbagbliss-overlay-image {
  max-width: 32%;
  max-height: 28%;
  width: auto;
  height: auto;
  object-fit: contain;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.25);
}

/* Bean Bag Bliss slide: fill viewport for maximum landscape presence */
.timeline_item[data-index="7"] .timeline_bg-beanbagbliss,
.timeline_item[data-index="7"] .timeline_bg-beanbagbliss-container {
  min-height: 100vh;
}
.timeline_item[data-index="7"] .timeline_bg-beanbagbliss-image {
  min-height: 100vh;
}

/* Active item: show background (fade transition), keep visibility for carousel */
.timeline_item.is-active .timeline_bg {
  opacity: 1;
  visibility: visible;
}

.timeline_item[data-index="0"] .timeline_bg {
  visibility: visible;
}

.timeline_item[data-index="0"].is-active .timeline_bg {
  opacity: 1;
  visibility: visible;
}

/* Dark overlay for better text readability */
.timeline_bg-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to right,
    rgba(10, 10, 10, 0.85) 0%,
    rgba(10, 10, 10, 0.75) 30%,
    rgba(10, 10, 10, 0.65) 60%,
    rgba(10, 10, 10, 0.7) 100%
  );
  z-index: 1;
  opacity: 0;
  transition: opacity 0.8s ease-in-out;
}

.timeline_item.is-active .timeline_bg-overlay {
  opacity: 1;
}

/* Ensure content is above background */
.timeline_left,
.timeline_centre,
.timeline_right {
  position: relative;
  z-index: 2;
  max-width: 100%;
  overflow: hidden;
  word-wrap: break-word;
  overflow-wrap: break-word;
  padding-left: 40px;
  padding-right: 40px;
  box-sizing: border-box;
  grid-row: 2;
  padding-bottom: 80px;
  display: flex;
  align-items: flex-end;
}

.timeline_left {
  text-align: left;
  justify-content: flex-start;
  align-items: flex-end;
  display: flex;
  grid-row: 2;
  padding-bottom: 80px;
}

.timeline_centre {
  justify-content: center;
  display: flex;
}

.timeline_date-text {
  color: #fdbb2b;
  letter-spacing: -0.03em;
  font-size: 48px;
  font-weight: 500;
  line-height: 1.2;
  position: relative;
  text-shadow:
    2px 2px 4px rgba(0, 0, 0, 0.8),
    0 0 10px rgba(0, 0, 0, 0.5);
}

.timeline_text {
  color: #fdbb2b;
  font-size: 17px;
  font-weight: 500;
  line-height: 1.35;
  text-shadow:
    2px 2px 4px rgba(0, 0, 0, 0.8),
    0 0 8px rgba(0, 0, 0, 0.5);
  word-wrap: break-word;
  overflow-wrap: break-word;
  hyphens: none;
  max-width: 100%;
}

.timeline_text-heading {
  font-size: 1.05em;
  font-weight: 600;
  display: block;
  margin-bottom: 0.25em;
}

.timeline_circle {
  display: none;
}

/* Timeline: animate year + text upward when slide is active (same for all slides including last few) */
.section-timeline .timeline_item .timeline_left,
.section-timeline .timeline_item .timeline_right,
.section-timeline .timeline_item .timeline_date-text,
.section-timeline .timeline_item .timeline_text {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 0.5s cubic-bezier(0.4, 0, 0.2, 1),
    transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.section-timeline .timeline_item.is-active .timeline_left,
.section-timeline .timeline_item.is-active .timeline_right,
.section-timeline .timeline_item.is-active .timeline_date-text,
.section-timeline .timeline_item.is-active .timeline_text {
  opacity: 1;
  transform: translateY(0);
}

/* Prevent sticky jitter while the horizontal timeline is pinned */
/* When pinned, switch from sticky to flex alignment for vertical centering */
.section-timeline.is-horizontal-pinned .timeline_date-text,
.section-timeline.is-horizontal-pinned .timeline_circle {
  position: relative;
  top: auto;
}

.section-timeline.is-horizontal-pinned .timeline_left {
  display: flex;
  align-items: flex-end;
  justify-content: flex-start; /* Year left-aligned on all slides */
}

.section-timeline.is-horizontal-pinned .timeline_centre {
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.section-timeline.is-horizontal-pinned .timeline_right {
  display: flex;
  align-items: flex-end;
}

/* Last slide (2026 Pride of Nation Award): shift text left to prevent overflow, bring closer to center */
.timeline_item[data-index="12"] .timeline_right {
  padding-right: 72px;
  padding-left: -300px;
}

.timeline-progress-bar {
  position: fixed;
  left: 0;
  right: 0;
  height: 5px;
  background: #fdbb2b;
  bottom: 50px;
  transform: scaleX(0);
  transform-origin: left;
  z-index: 100;
}

.section-timeline {
  z-index: 1;
  background-color: #0a0a0a;
  position: relative;
  width: 100vw;
  max-width: 100vw;
  height: 100vh; /* CRITICAL: Must have height for pin to work */
  overflow: hidden; /* Hide overflow during horizontal scroll */
  margin-left: 0;
  margin-right: 0;
  padding-left: 0;
  padding-right: 0;
  scroll-snap-align: none;
  scroll-snap-stop: normal;
}

/* Menu open state - let GSAP handle pinning */
body.navOpen .section-timeline {
  z-index: 1;
}

/* When timeline is pinned, keep nav and hamburger above the pinned layer so the menu can open */
body.timeline-pinned .openNav {
  z-index: 10001;
  pointer-events: auto;
}
body.timeline-pinned .hero-header,
body.timeline-pinned .main-nav {
  z-index: 10000;
  pointer-events: auto;
}

/* About page: disable scroll-snap entirely – GSAP ScrollTrigger manages all
   scroll behaviour here, and CSS snap fights with the pin/unpin transitions,
   causing visible jumps and black-gap artefacts at the timeline boundaries. */
html:has(body.page-about) {
  scroll-snap-type: none !important;
}

body.page-about {
  scroll-snap-type: none !important;
}

/* Prevent snap at end of timeline: no section on about page should snap */
body.page-about section {
  scroll-snap-align: none !important;
  scroll-snap-stop: normal !important;
}

/* Legacy class-based fallback (kept for any non-about pages with timelines) */
html:has(body.timeline-pinned) {
  scroll-snap-type: none !important;
}

/* Override wrapper transforms when timeline is pinned */
body.timeline-pinned .wrapper {
  transform: none !important;
  transition: none !important;
  will-change: auto !important;
}

.timeline-horizontal-section {
  width: 100%;
  height: 100vh;
  overflow: hidden;
  position: relative;
}

/* Fade overlay on the right to prevent text overlap with scrollbar */
.timeline-horizontal-section::after {
  content: "";
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: 150px;
  background: linear-gradient(
    to left,
    #0a0a0a 0%,
    #0a0a0a 30%,
    rgba(10, 10, 10, 0.8) 50%,
    rgba(10, 10, 10, 0.4) 70%,
    transparent 100%
  );
  pointer-events: none;
  z-index: 50;
}

.timeline-track {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  width: fit-content;
  height: 100vh;
  will-change: transform;
}

.timeline-track > .timeline_item {
  display: grid !important;
  flex-shrink: 0 !important;
  flex-grow: 0 !important;
  flex-basis: 100vw !important;
  width: 100vw !important;
  min-width: 100vw !important;
  max-width: 100vw !important;
  height: 100vh !important;
}

/* For duplicate years, keep the year visible in the same position */
.timeline-item-duplicate-year .timeline-left-duplicate-year {
  position: relative;
}

.timeline-item-duplicate-year .timeline_date-text {
  position: sticky;
  left: 0;
  z-index: 10;
  background-color: #0a0a0a;
  padding-right: 20px;
  margin-right: -20px;
}

.margin-bottom-xlarge {
  margin-bottom: 56px;
}

.margin-bottom-medium {
  margin-bottom: 32px;
}

.timeline_link {
  opacity: 0.6;
  color: #fff;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  border-radius: 8px;
  align-items: center;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.3;
  text-decoration: none;
  transition: opacity 0.3s;
  display: flex;
}

.timeline_link:hover {
  opacity: 1;
}

.text-colour-lightgrey {
  color: #ffffffa6;
}

.timeline_image-wrapper {
  margin-top: 24px;
}

.timeline_image-wrapper img {
  width: 100%;
  max-width: 480px;
  height: auto;
  border-radius: 8px;
  opacity: 0.9;
}

.paragraph-large {
  letter-spacing: -0.02em;
  font-size: 20px;
}

@media screen and (max-width: 767px) {
  .timeline-main_heading-wrapper h2 {
    font-size: 40px;
  }

  .paragraph-large {
    font-size: 18px;
  }

  .padding-vertical-xlarge {
    padding-top: 80px;
    padding-bottom: 80px;
  }

  .timeline_item {
    grid-template-columns: 64px 1fr;
    grid-template-rows: 1fr auto;
    width: 100vw;
    min-width: 100vw;
    max-width: 100vw;
    flex: 0 0 100vw;
    align-items: end;
  }

  .timeline_left {
    text-align: left;
    grid-area: 2 / 1 / 3 / 2;
    padding-bottom: 40px;
    align-items: flex-end;
  }

  .timeline_centre {
    display: none;
  }

  .timeline_right {
    grid-area: 2 / 2 / 3 / 3;
    padding-bottom: 40px;
    align-items: flex-end;
  }

  .timeline_date-text {
    margin-bottom: 24px;
    font-size: 36px;
  }

  .timeline_text {
    font-size: 20px;
  }

  .margin-bottom-xlarge {
    margin-bottom: 48px;
  }
}

/* Page Loading Indicator */
.page-loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #151415;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  transition: opacity 0.3s ease-out;
  pointer-events: none;
}

.page-loader.hidden {
  opacity: 0;
  pointer-events: none;
}

.loader-content {
  text-align: center;
}

.loader-spinner {
  width: 50px;
  height: 50px;
  border: 3px solid rgba(253, 187, 43, 0.2);
  border-top-color: #fdbb2b;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  margin: 0 auto 20px;
}

.loader-text {
  color: #fdbb2b;
  font-family: "Teko", sans-serif;
  font-size: 18px;
  letter-spacing: 2px;
  text-transform: uppercase;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* ============================
   Coming Soon screen (CMS)
   ============================ */

html.coming-soon-active {
  scroll-snap-type: none;
}

html.coming-soon-active .custom-scrollbar {
  display: none !important;
}

html.coming-soon-active .page-loader {
  display: none !important;
}

.coming-soon-screen {
  min-height: calc(100vh - 140px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(40px, 6vw, 80px) 24px;
  background:
    radial-gradient(
      800px 400px at 20% 20%,
      rgba(253, 187, 43, 0.22),
      transparent 60%
    ),
    radial-gradient(
      700px 380px at 80% 30%,
      rgba(0, 0, 0, 0.22),
      transparent 60%
    ),
    linear-gradient(135deg, rgba(21, 20, 21, 0.92), rgba(21, 20, 21, 0.98));
}

.coming-soon-card {
  width: min(900px, 100%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 18px;
  padding: clamp(24px, 4vw, 44px);
  background: rgba(21, 20, 21, 0.72);
  backdrop-filter: blur(10px);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
}

.coming-soon-kicker {
  font-size: 12px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 12px;
}

.coming-soon-title {
  font-family: "Teko", sans-serif;
  font-size: clamp(44px, 7vw, 84px);
  line-height: 0.95;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 14px;
}

.coming-soon-message {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.82);
  max-width: 62ch;
  margin-bottom: 22px;
}

.coming-soon-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.coming-soon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 46px;
  padding: 0 18px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  font-size: 12px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #151415;
  background: #fdbb2b;
  transition:
    transform 0.15s ease,
    filter 0.15s ease;
}

.coming-soon-btn:hover {
  transform: translateY(-1px);
  filter: brightness(1.02);
}

.coming-soon-hint {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.65);
}
