:root {
  --sg-bg: #000;
  --sg-text: #e8e8e8;
  --sg-muted: #9a9a9a;
  --sg-muted2: #7a7a7a;
  --sg-border: rgba(255, 255, 255, 0.25);
  --sg-border-strong: rgba(255, 255, 255, 0.4);
}

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

html,
body {
  height: 100%;
  overflow-x: hidden;
}

body {
  font-family: 'Cormorant Garamond', serif;
  background: var(--sg-bg);
  color: var(--sg-text);
  -webkit-font-smoothing: antialiased;
}

/* Heading font */
h1,
.sg-heading-font {
  font-family: 'Playfair Display', 'Palatino Linotype', Palatino, serif;
}

/* ==================== GRID LINES (fixed overlay) ==================== */
.sg-grid {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 2;
  /* Sits above header images (z:1) but below content */
  overflow: hidden;
}

.sg-grid-line {
  position: absolute;
  top: 0;
  width: 1px;
  height: 100%;
  background: linear-gradient(to bottom,
      transparent 0%,
      rgba(255, 255, 255, 0.12) 20%,
      rgba(255, 255, 255, 0.12) 80%,
      transparent 100%);
  opacity: 0.9;
}

.sg-grid-line:nth-child(1) {
  left: 20%;
}

.sg-grid-line:nth-child(2) {
  left: 40%;
}

.sg-grid-line:nth-child(3) {
  left: 60%;
}

.sg-grid-line:nth-child(4) {
  left: 80%;
}

.sg-glow-trail {
  position: absolute;
  top: -120px;
  left: 50%;
  transform: translateX(-50%);
  width: 42px;
  height: 120px;
  background: radial-gradient(ellipse at center,
      rgba(255, 255, 255, 0.15) 0%,
      rgba(255, 255, 255, 0.08) 30%,
      transparent 70%);
  filter: blur(8px);
  opacity: 0;
}

@keyframes sgGlowTrail {
  0% {
    top: -120px;
    opacity: 0;
  }

  10% {
    opacity: 1;
  }

  90% {
    opacity: 1;
  }

  100% {
    top: calc(100% + 120px);
    opacity: 0;
  }
}

/* ==================== ANNOUNCEMENT BANNER ==================== */
.sg-announcement {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 28px;
  background: #FFD700;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 12px;
  z-index: 300;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.sg-announcement.hidden {
  transform: translateY(-100%);
  opacity: 0;
  pointer-events: none;
}

.sg-announcement-text {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: #1a1a1a;
  text-align: center;
  line-height: 1;
  text-transform: uppercase;
  font-family: Arial, Helvetica, sans-serif;
}

.sg-announcement-close {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  width: 20px;
  height: 20px;
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  color: #1a1a1a;
  transition: transform 0.2s ease;
}

.sg-announcement-close:hover {
  transform: translateY(-50%) scale(1.1);
}

.sg-announcement-close:active {
  transform: translateY(-50%) scale(0.95);
}

.sg-announcement-close svg {
  width: 14px;
  height: 14px;
}

/* Adjust nav position when banner is visible */
body:not(.banner-closed) .sg-nav {
  top: calc(24px + 28px);
}

@media (max-width: 768px) {
  .sg-announcement-text {
    font-size: 12px;
    padding: 0 32px;
  }
}

@media (max-width: 400px) {
  .sg-announcement-text {
    font-size: 11px;
    letter-spacing: 0.02em;
  }
}

/* ==================== FIXED HEADER NAV ==================== */
.sg-nav {
  position: fixed;
  top: 24px;
  left: 50%;
  transform: translateX(-50%);
  width: auto;
  max-width: 90%;
  padding: 12px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 32px;
  z-index: 100;
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 60px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
  transition: width 0.6s cubic-bezier(0.4, 0.0, 0.2, 1),
    background 0.3s ease;
  isolation: isolate;
  /* Contain blend modes */
}

.sg-nav.menu-open {
  width: 80%;
}

.sg-logo {
  width: 56px;
  height: 56px;
  opacity: 0.95;
  flex-shrink: 0;
  z-index: 102;
  background: transparent;
  /* Ensure no background */
  position: relative;
}

.sg-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-fit: contain;
  mix-blend-mode: screen;
  /* Screen is better for transparency if we crush the blacks */
  filter: grayscale(100%) contrast(300%) brightness(1.1);
  /* Aggressive contrast to force background to pure black */
  transition: opacity 0.3s ease;
  position: relative;
  z-index: 1;
}

/* Desktop nav links */
.sg-nav-links {
  display: none;
  gap: 28px;
  align-items: center;
}

.sg-nav-links a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 17px;
  font-weight: 400;
  letter-spacing: 0.05em;
  transition: color 0.3s ease;
  position: relative;
  text-transform: uppercase;
}

.sg-nav-links a:hover {
  color: rgba(255, 255, 255, 1);
}

.sg-nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: rgba(255, 255, 255, 0.6);
  transition: width 0.3s ease;
}

.sg-nav-links a:hover::after {
  width: 100%;
}

/* Desktop tickets container */
.sg-nav-tickets-desktop {
  display: none;
}

/* Tickets CTA in nav */
.sg-nav-cta {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 15px;
  font-weight: 400;
  letter-spacing: 0.05em;
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 30px;
  cursor: pointer;
  overflow: hidden;
  transition: all 0.3s ease;
  z-index: 102;
  text-transform: uppercase;
  flex-shrink: 0;
}

.sg-nav-cta.scrolled {
  background: #FFD700;
  border-color: #FFD700;
  color: #000;
}

.sg-nav-cta .ticket-icon {
  width: 18px;
  height: 18px;
  transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.sg-nav-cta .ticket-icon path {
  stroke: rgba(255, 255, 255, 0.9);
  transition: stroke 0.3s ease, transform 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

/* Ticket rip animation on hover */
.sg-nav-cta:hover .ticket-icon {
  transform: scale(1.15) rotate(5deg);
}

.sg-nav-cta:hover .ticket-icon path:first-child {
  transform: translateX(-1px);
}

.sg-nav-cta:hover .ticket-icon path:last-child {
  transform: translateX(1px);
}

.sg-nav-cta.scrolled .ticket-icon path {
  stroke: #000;
}

/* Burger menu */
.sg-nav-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  z-index: 102;
}

.sg-burger {
  width: 32px;
  height: 24px;
  position: relative;
  cursor: pointer;
  z-index: 102;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex-shrink: 0;
}

.sg-burger span {
  display: block;
  width: 100%;
  height: 2px;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 2px;
  transition: all 0.3s cubic-bezier(0.4, 0.0, 0.2, 1);
  transform-origin: center;
}

.sg-burger.active span:nth-child(1) {
  transform: translateY(11px) rotate(45deg);
}

.sg-burger.active span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.sg-burger.active span:nth-child(3) {
  transform: translateY(-11px) rotate(-45deg);
}

/* Mobile menu - Full screen takeover */
.sg-mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  height: 100dvh;
  background: rgba(5, 5, 5, 0.98);
  z-index: 99;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.5s cubic-bezier(0.4, 0.0, 0.2, 1),
              visibility 0.5s cubic-bezier(0.4, 0.0, 0.2, 1);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

/* Subtle grain texture overlay */
.sg-mobile-menu::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  opacity: 0.03;
  pointer-events: none;
  z-index: 0;
}

/* Atmospheric glow */
.sg-mobile-menu::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 120%;
  height: 120%;
  background: radial-gradient(ellipse at center, rgba(255, 215, 0, 0.03) 0%, transparent 60%);
  pointer-events: none;
  z-index: 0;
}

.sg-mobile-menu.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.sg-mobile-menu nav {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.sg-mobile-menu a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  font-family: 'Playfair Display', serif;
  font-size: clamp(32px, 10vw, 56px);
  font-weight: 400;
  letter-spacing: 0.04em;
  transition: all 0.4s cubic-bezier(0.4, 0.0, 0.2, 1);
  opacity: 0;
  transform: translateY(30px);
  text-transform: none;
  position: relative;
  padding: 8px 0;
}

/* Underline effect on hover */
.sg-mobile-menu a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%) scaleX(0);
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, #FFD700, transparent);
  transition: transform 0.4s cubic-bezier(0.4, 0.0, 0.2, 1);
}

.sg-mobile-menu a:hover::after,
.sg-mobile-menu a.active::after {
  transform: translateX(-50%) scaleX(1);
}

.sg-mobile-menu.active a {
  opacity: 1;
  transform: translateY(0);
}

/* Staggered animation delays */
.sg-mobile-menu a:nth-child(1) { transition-delay: 0.1s; }
.sg-mobile-menu a:nth-child(2) { transition-delay: 0.18s; }
.sg-mobile-menu a:nth-child(3) { transition-delay: 0.26s; }
.sg-mobile-menu a:nth-child(4) { transition-delay: 0.34s; }
.sg-mobile-menu a:nth-child(5) { transition-delay: 0.42s; }

.sg-mobile-menu a:hover {
  color: #fff;
  text-shadow: 0 0 30px rgba(255, 215, 0, 0.3);
}

.sg-mobile-menu a.active {
  color: #FFD700;
  text-shadow: 0 0 40px rgba(255, 215, 0, 0.4);
}

/* Desktop view */
@media (min-width: 769px) {
  .sg-nav-links {
    display: flex;
  }

  .sg-nav-tickets-desktop {
    display: flex;
  }

  .sg-burger {
    display: none;
  }

  .sg-mobile-menu {
    display: none;
  }

  .sg-mobile-only {
    display: none !important;
  }

  .sg-nav-actions {
    display: none;
  }
}

/* ==================== HERO ==================== */
.sg-hero {
  position: relative;
  min-height: 120vh;
  /* Pushes content down and CTA below fold */
  width: 100%;
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  overflow-x: hidden;
}

/* Video takes top portion, content sits below with overlap */
.sg-video {
  position: absolute;
  inset: 0;
  height: 80vh;
  /* Giving video a bit more space too, optionally? Or keep 70. Let's keep 70 but maybe 80 fits better with 120. User said "more space for video". Let's try 80vh. */
  z-index: 1;
  opacity: 1;
}

.sg-video.animate {
  animation: sgVideoIn 3s ease-out forwards;
}


@keyframes sgVideoIn {
  0% {
    opacity: 0;
    filter: blur(20px);
    transform: scale(0.98);
  }

  100% {
    opacity: 1;
    filter: blur(0);
    transform: scale(1);
  }
}

.sg-video::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 30%;
  background: linear-gradient(to top, #000 0%, transparent 100%);
  pointer-events: none;
  z-index: 2;
}

.sg-video video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.sg-content {
  position: relative;
  z-index: 15;
  padding: 0 32px 60px;
  /* Increased bottom padding */
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 980px;
  min-height: 120vh;
  /* Push below fold */
  justify-content: flex-end;
}

.sg-location {
  display: inline-block;
  font-size: 16pt;
  font-weight: 300;
  color: #ffffff;
  letter-spacing: 0.03em;
  margin-bottom: 16px;
  padding: 10px 24px;
  background: rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 50px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
  position: relative;
  overflow: hidden;
}

.sg-location-text {
  display: inline-block;
  overflow: hidden;
  white-space: nowrap;
  border-right: 2px solid rgba(255, 255, 255, 0.8);
  animation: blink 0.7s step-end infinite;
  max-width: 0;
}

.sg-location-text.typing {
  animation: typewriter 2s steps(44) forwards, blink 0.7s step-end infinite;
}

.sg-location-text.typing-complete {
  border-right: none;
  animation: none;
  max-width: 100%;
}

@keyframes typewriter {
  from {
    max-width: 0;
  }

  to {
    max-width: 100%;
  }
}

@keyframes blink {

  0%,
  50% {
    border-color: rgba(255, 255, 255, 0.8);
  }

  51%,
  100% {
    border-color: transparent;
  }
}

.sg-h1 {
  font-size: 52px;
  font-weight: 400;
  line-height: 1.3;
  letter-spacing: 0.01em;
  margin-bottom: 24px;
  max-width: 900px;
  visibility: hidden;
}

.sg-h1.ready {
  visibility: visible;
}

/* word wrapper to prevent mid-word breaks */
.sg-h1 span.word {
  display: inline;
  white-space: nowrap;
}

/* letter-by-letter reveal */
.sg-h1 span.word > span {
  display: inline-block;
  opacity: 0;
  color: #777;
  transition:
    opacity 0.9s cubic-bezier(0.22, 0.61, 0.36, 1),
    color 0.9s cubic-bezier(0.22, 0.61, 0.36, 1),
    text-shadow 0.9s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.sg-h1 span.word > span.appear {
  opacity: 1;
  color: var(--sg-text);
  text-shadow:
    0 0 16px rgba(255, 255, 255, 0.6),
    0 0 32px rgba(255, 255, 255, 0.4),
    0 0 48px rgba(255, 245, 230, 0.25);
  transition:
    opacity 0.9s cubic-bezier(0.22, 0.61, 0.36, 1),
    color 0.9s cubic-bezier(0.22, 0.61, 0.36, 1),
    text-shadow 0.9s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.sg-sub {
  font-size: 22px;
  font-weight: 300;
  color: #b8b8b8;
  line-height: 1.6;
  letter-spacing: 0.01em;
  max-width: 720px;
  margin-bottom: 38px;
  opacity: 0;
  animation: sgFadeUp 1.2s ease-out forwards;
  animation-delay: 1.8s;
}

@keyframes sgFadeUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

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

/* ==================== TICKETS CTA ==================== */
.sg-cta {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 20px;
  font-weight: 400;
  letter-spacing: 0.05em;
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 30px;
  cursor: pointer;
  overflow: hidden;
  transition: all 0.3s ease;
  z-index: 1;
  text-transform: uppercase;
  user-select: none;
}

.sg-cta .ticket-icon {
  width: 20px;
  height: 20px;
  transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.sg-cta .ticket-icon path {
  stroke: rgba(255, 255, 255, 0.9);
  transition: stroke 0.3s ease;
}

/* Ticket rip animation on hover */
.sg-cta:hover .ticket-icon {
  transform: scale(1.15) rotate(5deg);
}

.sg-cta:hover .ticket-icon path:first-child {
  transform: translateX(-2px);
}

.sg-cta:hover .ticket-icon path:last-child {
  transform: translateX(2px);
}

.sg-cta:hover {
  color: #000;
  border-color: #FFD700;
}

.sg-cta:hover .ticket-icon path {
  stroke: #000;
}

/* Yellow background fill on hover */
.sg-cta::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #FFD700;
  border-radius: 30px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
  z-index: -1;
}

.sg-cta:hover::before {
  transform: scaleX(1);
}

/* ==================== RESPONSIVE ==================== */
@media (max-width: 768px) {
  .sg-nav {
    width: 80%;
    padding: 10px 16px;
    top: 12px;
  }

  .sg-logo {
    width: 48px;
    height: 48px;
  }

  .sg-hero {
    min-height: 100vh;
  }

  .sg-content {
    min-height: 100vh;
    justify-content: flex-end;
    padding-bottom: 60px;
    overflow-x: hidden;
    visibility: hidden;
    animation: sgContentShow 0.01s ease-out 0.5s forwards;
  }

  @keyframes sgContentShow {
    to { visibility: visible; }
  }

  .sg-video {
    height: 90vh;
  }

  .sg-location {
    margin-bottom: 24px;
    margin-left: 10px;
    margin-right: 10px;
    max-width: calc(100% - 20px);
  }

  .sg-h1 {
    font-size: 28px;
    margin-left: 10px;
    margin-right: 10px;
    max-width: calc(100% - 20px);
  }

  .sg-sub {
    font-size: 15pt;
    margin-bottom: 36px;
    margin-left: auto;
    margin-right: auto;
    width: 80%;
    max-width: 300px;
    box-sizing: border-box;
  }

  .sg-sub br {
    display: none;
  }

  .sg-page-intro,
  .sg-block p,
  .sg-muted {
    font-size: 15pt;
  }

  .sg-cta {
    font-size: 18px;
    padding: 12px 24px;
  }
}

@media (max-width: 400px) {
  .sg-video {
    height: 60vh;
  }

  .sg-h1 {
    font-size: 24px;
  }

  .sg-sub {
    font-size: 15pt;
  }

  .sg-cta {
    font-size: 16px;
    padding: 10px 20px;
  }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  .sg-video {
    animation: none;
    opacity: 1;
  }

  .sg-cta::before {
    animation: none;
  }

  .sg-h1 span.word > span.appear {
    transition-duration: 0.2s;
  }

  .sg-nav,
  .sg-mobile-menu,
  .sg-burger span,
  .sg-mobile-menu a {
    transition-duration: 0.1s;
  }

  .sg-location-text {
    animation: none !important;
    border-right: none !important;
    max-width: 100% !important;
  }
}

/* ==================== GALLERY SECTION ==================== */
#gallery-section {
  position: relative;
  width: 100%;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: #000;
}

#gallery-section h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(28px, 5vw, 42px);
  font-weight: 400;
  text-align: center;
  line-height: 1.3;
  letter-spacing: 0.01em;
  margin-bottom: 16px;
}

#gallery-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

#gallery-background::before,
#gallery-background::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0;
  filter: blur(0px);
  will-change: opacity, filter;
  transition: opacity 800ms cubic-bezier(0.4, 0.0, 0.2, 1),
    filter 800ms cubic-bezier(0.4, 0.0, 0.2, 1);
  z-index: 2;
}

#gallery-background::before {
  background-image: var(--before-image);
}

#gallery-background::after {
  background-image: var(--after-image);
}

#gallery-background.layer-before::before {
  opacity: 1;
  filter: blur(0px);
}

#gallery-background.layer-after::after {
  opacity: 1;
  filter: blur(0px);
}

#gallery-background.transitioning.layer-before::after {
  opacity: 1;
  filter: blur(8px);
  animation: galleryBlurResolve 800ms cubic-bezier(0.4, 0.0, 0.2, 1) forwards;
}

#gallery-background.transitioning.layer-after::before {
  opacity: 1;
  filter: blur(8px);
  animation: galleryBlurResolve 800ms cubic-bezier(0.4, 0.0, 0.2, 1) forwards;
}

@keyframes galleryBlurResolve {
  0% {
    filter: blur(8px);
    opacity: 1;
  }

  100% {
    filter: blur(0px);
    opacity: 1;
  }
}

#gallery-content {
  position: relative;
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  padding: 40px;
  text-align: center;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.5) 50%, transparent 100%);
  min-height: 40vh;
  width: 100%;
  position: absolute;
  bottom: 0;
  justify-content: flex-end;
  padding-bottom: 80px;
}

#gallery-heading {
  margin: 0 0 16px 0;
}

#gallery-subtext {
  font-size: clamp(16px, 3vw, 19px);
  font-weight: 300;
  color: rgba(255, 255, 255, 0.68);
  letter-spacing: 0.01em;
  font-family: 'Cormorant Garamond', serif;
  margin: 0 0 24px 0;
}

#gallery-cta {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 14px 28px;
  font-size: 20px;
  font-family: 'Bebas Neue', sans-serif;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #fff;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 30px;
  cursor: pointer;
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.4, 0.0, 0.2, 1);
}

#gallery-cta .dice-icon {
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

#gallery-cta .dice-icon svg {
  width: 100%;
  height: 100%;
  color: currentColor;
}

#gallery-cta:hover .dice-icon {
  transform: rotate(360deg) scale(1.15);
}

#gallery-cta.rolling .dice-icon {
  animation: galleryDiceRoll 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

@keyframes galleryDiceRoll {

  0%,
  100% {
    transform: rotate(0deg) scale(1);
  }

  25% {
    transform: rotate(90deg) scale(1.2);
  }

  50% {
    transform: rotate(180deg) scale(1);
  }

  75% {
    transform: rotate(270deg) scale(1.2);
  }
}

#gallery-cta::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: #FFD700;
  transition: left 0.3s cubic-bezier(0.4, 0.0, 0.2, 1);
  z-index: -1;
}

#gallery-cta:hover {
  color: #000;
  border-color: #FFD700;
}

#gallery-cta:hover::before {
  left: 0;
}

#gallery-cta:active {
  transform: translateY(0);
}

/* Secondary CTA */
#secondary-cta {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 14px 28px;
  font-size: 20px;
  font-family: 'Bebas Neue', sans-serif;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #fff;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 30px;
  cursor: pointer;
  text-decoration: none;
  overflow: hidden;
  opacity: 0;
  transform: translateY(20px);
  pointer-events: none;
  transition: all 0.4s cubic-bezier(0.4, 0.0, 0.2, 1);
  margin-top: 16px;
  position: relative;
}

#secondary-cta.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

#secondary-cta .ticket-icon {
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

#secondary-cta .ticket-icon svg {
  width: 100%;
  height: 100%;
}

#secondary-cta:hover .ticket-icon {
  transform: scale(1.15) rotate(5deg);
}

#secondary-cta::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: #FFD700;
  transition: left 0.3s cubic-bezier(0.4, 0.0, 0.2, 1);
  z-index: -1;
}

#secondary-cta:hover {
  color: #000;
  border-color: #FFD700;
}

#secondary-cta:hover::before {
  left: 0;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {

  #gallery-background::before,
  #gallery-background::after {
    animation: none !important;
    transition: opacity 0.3s ease !important;
    filter: none !important;
  }

  #gallery-background.transitioning.layer-before::after,
  #gallery-background.transitioning.layer-after::before {
    animation: none !important;
    filter: none !important;
  }
}

/* Mobile */
@media (max-width: 768px) {
  #gallery-content {
    padding-bottom: 60px;
  }

  #gallery-cta,
  #secondary-cta {
    padding: 12px 22px;
    font-size: 18px;
  }

  #gallery-cta .dice-icon,
  #secondary-cta .ticket-icon {
    width: 18px;
    height: 18px;
  }
}


/* ==================== VIDEO SECTION ==================== */
#video-section {
  position: relative;
  width: 100%;
  background: #000;
  padding: 0;
  overflow: hidden;
}

.video-container {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; /* 16:9 aspect ratio */
  height: 0;
  overflow: hidden;
}

.video-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

/* ==================== SIGNALS FROM THE WOODS - START ==================== */

/* Main Container */
#signalsFromWoods {
  position: relative;
  width: 100%;
  min-height: 80vh;
  max-height: 100vh;
  background: #0a0f0a;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 120px 20px;
  /* Increased from 30px */
  overflow: hidden;
}

/* TV Static Background */
.sftw-tv-static {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0.08;
  z-index: 1000;
  pointer-events: none;
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="200" height="200"><filter id="noise"><feTurbulence type="fractalNoise" baseFrequency="0.9" numOctaves="4" stitchTiles="stitch"/></filter><rect width="100%" height="100%" filter="url(%23noise)" opacity="0.4"/></svg>');
  animation: sftw-static-shift 0.2s infinite;
}

@keyframes sftw-static-shift {
  0% {
    transform: translate(0, 0);
  }

  10% {
    transform: translate(-2%, -2%);
  }

  20% {
    transform: translate(-2%, 2%);
  }

  30% {
    transform: translate(2%, -2%);
  }

  40% {
    transform: translate(2%, 2%);
  }

  50% {
    transform: translate(-2%, 0);
  }

  60% {
    transform: translate(2%, 0);
  }

  70% {
    transform: translate(0, -2%);
  }

  80% {
    transform: translate(0, 2%);
  }

  90% {
    transform: translate(-2%, -2%);
  }

  100% {
    transform: translate(2%, 2%);
  }
}

/* Scanlines */
.sftw-scanlines {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: repeating-linear-gradient(0deg,
      transparent 0px,
      transparent 2px,
      rgba(58, 90, 64, 0.02) 2px,
      rgba(58, 90, 64, 0.02) 4px);
  pointer-events: none;
  z-index: 2;
  opacity: 0.5;
}

/* Edge vignette */
.sftw-vignette {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(ellipse at center,
      transparent 0%,
      transparent 30%,
      rgba(0, 0, 0, 0.4) 70%,
      rgba(0, 0, 0, 0.85) 100%);
  pointer-events: none;
  z-index: 3;
}

/* Header */
.sftw-header {
  position: relative;
  z-index: 4;
  text-align: center;
  margin-bottom: 20px;
  max-width: 800px;
}

.sftw-header h1 {
  font-family: 'Share Tech Mono', monospace;
  font-size: clamp(22px, 4vw, 32px);
  font-weight: 400;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #588157;
  margin-bottom: 8px;
  opacity: 0.9;
  text-shadow: 0 0 20px rgba(88, 129, 87, 0.3);
}

.sftw-header p {
  font-family: 'Courier Prime', monospace;
  font-size: clamp(12px, 2vw, 14px);
  color: #a3b899;
  opacity: 0.7;
  line-height: 1.5;
  max-width: 600px;
  margin: 0 auto;
}

/* Signal Display */
.sftw-display {
  position: relative;
  z-index: 4;
  max-width: 800px;
  width: 100%;
  padding: 20px;
  text-align: left;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 0;
}

.sftw-meta {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-bottom: 16px;
  font-family: 'Share Tech Mono', monospace;
  font-size: 10px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #2d4a35;
  opacity: 0.7;
}

.sftw-callsign {
  color: #588157;
  font-weight: 600;
}

.sftw-separator {
  opacity: 0.4;
}

.sftw-date {
  opacity: 0.6;
}

/* Signal Text */
.sftw-text {
  font-family: 'Courier Prime', monospace;
  font-size: clamp(15px, 2.5vw, 20px);
  line-height: 1.7;
  color: #a3b899;
  white-space: pre-wrap;
  word-wrap: break-word;
  position: relative;
  min-height: 200px;
  /* layout stability */
  display: flex;
  align-items: center;
  /* Center short messages vertically? Or top? User said "doesn't respond to content". Fixed height implies this. */
}

.sftw-text.sftw-idle-glitch {
  animation: sftw-idle-glitch 3s infinite;
}

@keyframes sftw-idle-glitch {

  0%,
  90%,
  100% {
    opacity: 1;
    transform: translateX(0);
  }

  92% {
    opacity: 0.8;
    transform: translateX(-2px);
  }

  94% {
    opacity: 0.9;
    transform: translateX(2px);
  }

  96% {
    opacity: 0.85;
    transform: translateX(-1px);
  }
}

.sftw-text .sftw-glitch-char {
  display: inline-block;
  opacity: 1;
}

.sftw-text .sftw-glitch-char.sftw-glitching {
  animation: sftw-char-glitch 0.1s ease-in-out;
}

@keyframes sftw-char-glitch {

  0%,
  100% {
    opacity: 1;
    transform: translateX(0);
  }

  25% {
    opacity: 0.3;
    transform: translateX(-2px);
  }

  50% {
    opacity: 0.6;
    transform: translateX(2px);
  }

  75% {
    opacity: 0.4;
    transform: translateX(-1px);
  }
}

/* Composer Form */
.sftw-composer {
  display: none;
  flex-direction: column;
  gap: 14px;
}

.sftw-composer.sftw-active {
  display: flex;
}

.sftw-label {
  font-family: 'Share Tech Mono', monospace;
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #588157;
  opacity: 0.7;
}

.sftw-input-callsign,
.sftw-input-message {
  width: 100%;
  padding: 10px 12px;
  margin-bottom: 10px;
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(58, 90, 64, 0.2);
  color: #a3b899;
  font-family: 'Courier Prime', monospace;
  font-size: 13px;
  outline: none;
  transition: border-color 0.2s ease;
}

.sftw-input-callsign {
  text-transform: uppercase;
}

.sftw-input-callsign:focus,
.sftw-input-message:focus {
  border-color: rgba(58, 90, 64, 0.4);
}

.sftw-input-callsign::placeholder,
.sftw-input-message::placeholder {
  color: #2d4a35;
  opacity: 0.4;
}

.sftw-input-message {
  resize: vertical;
  min-height: 80px;
}

.sftw-actions {
  display: flex;
  gap: 10px;
}

.sftw-btn {
  flex: 1;
  padding: 10px;
  background: rgba(58, 90, 64, 0.15);
  border: 1px solid rgba(58, 90, 64, 0.3);
  color: #588157;
  font-family: 'Share Tech Mono', monospace;
  font-size: 11px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.2s ease;
}

.sftw-btn:hover:not(:disabled) {
  background: rgba(58, 90, 64, 0.25);
  border-color: rgba(58, 90, 64, 0.5);
}

.sftw-btn:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

.sftw-btn.sftw-delete {
  background: rgba(90, 58, 58, 0.15);
  border-color: rgba(129, 88, 88, 0.3);
  color: #b89993;
}

.sftw-btn.sftw-delete:hover {
  background: rgba(90, 58, 58, 0.25);
  border-color: rgba(129, 88, 88, 0.5);
}

.sftw-note {
  text-align: center;
  font-family: 'Share Tech Mono', monospace;
  font-size: 9px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #2d4a35;
  opacity: 0.5;
}

/* Navigation */
.sftw-nav {
  position: relative;
  z-index: 4;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  margin: 15px 0;
  font-family: 'Share Tech Mono', monospace;
}

.sftw-nav-btn {
  padding: 8px 16px;
  background: rgba(58, 90, 64, 0.15);
  border: 1px solid rgba(58, 90, 64, 0.4);
  color: #588157;
  font-family: 'Share Tech Mono', monospace;
  font-size: 10px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.2s ease;
  opacity: 0.8;
  box-shadow: 0 0 10px rgba(88, 129, 87, 0.1);
}

.sftw-nav-btn:hover:not(:disabled) {
  background: rgba(58, 90, 64, 0.25);
  border-color: rgba(88, 129, 87, 0.6);
  opacity: 1;
  box-shadow: 0 0 15px rgba(88, 129, 87, 0.2);
}

.sftw-nav-btn:disabled {
  opacity: 0.2;
  cursor: not-allowed;
}

.sftw-nav-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.sftw-counter {
  font-size: 11px;
  letter-spacing: 1px;
  color: #588157;
  opacity: 0.7;
  padding: 6px 14px;
  background: rgba(58, 90, 64, 0.1);
  border: 1px solid rgba(58, 90, 64, 0.2);
}

.sftw-cycle-indicator {
  position: relative;
  width: 60px;
  height: 3px;
  background: rgba(58, 90, 64, 0.2);
  border-radius: 2px;
  overflow: hidden;
}

.sftw-cycle-bar {
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 0%;
  background: #588157;
  box-shadow: 0 0 8px #588157;
  transition: width 0.1s linear;
}

/* CTA Button */
.sftw-cta-wrap {
  position: relative;
  z-index: 4;
  margin-top: 15px;
}

.sftw-cta-btn {
  padding: 12px 32px;
  background: rgba(58, 90, 64, 0.2);
  border: 2px solid rgba(88, 129, 87, 0.5);
  color: #588157;
  font-family: 'Share Tech Mono', monospace;
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow:
    0 0 20px rgba(88, 129, 87, 0.15),
    inset 0 0 20px rgba(88, 129, 87, 0.05);
  position: relative;
  overflow: hidden;
}

.sftw-cta-btn::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: rgba(88, 129, 87, 0.2);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width 0.5s ease, height 0.5s ease;
}

.sftw-cta-btn:hover {
  background: rgba(58, 90, 64, 0.3);
  border-color: rgba(88, 129, 87, 0.8);
  box-shadow:
    0 0 30px rgba(88, 129, 87, 0.3),
    inset 0 0 30px rgba(88, 129, 87, 0.1);
  transform: translateY(-2px);
}

.sftw-cta-btn:hover::before {
  width: 300px;
  height: 300px;
}

.sftw-cta-btn span {
  position: relative;
  z-index: 1;
}

.sftw-cta-btn.sftw-hidden {
  display: none;
}

/* Responsive */
@media (max-width: 768px) {
  #signalsFromWoods {
    padding: 20px 15px 15px 15px;
  }

  .sftw-display {
    padding: 15px 10px;
  }

  .sftw-text {
    font-size: 15px;
    min-height: 150px;
    /* Reduced min-height for mobile */
  }

  .sftw-nav {
    gap: 12px;
    flex-wrap: wrap;
  }

  .sftw-nav-btn {
    padding: 7px 12px;
    font-size: 9px;
  }

  .sftw-cta-btn {
    padding: 10px 24px;
    font-size: 11px;
  }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {

  .sftw-tv-static,
  .sftw-scanlines,
  .sftw-idle-glitch {
    animation: none !important;
  }
}

/* ==================== FOOTER ==================== */

.sg-footer {
  position: relative;
  z-index: 10;
  /* Above grid */
  width: 100%;
  padding: 80px 20px 40px;
  border-top: 1px solid var(--sg-border);
  background: var(--sg-bg);
  margin-top: 0;
  /* Removed gap */
  overflow: hidden;
}

/* ==================== ATMOSPHERIC BACKGROUND ==================== */

.sg-footer-atmosphere {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

/* Shadow layer - breathe animation */
.sg-footer-shadow {
  position: absolute;
  inset: 0;
  background: url('tree-shadow.png') center / cover;
  animation: breathe 26s ease-in-out infinite;
}

@keyframes breathe {

  0%,
  100% {
    transform: scale(1.04);
  }

  33% {
    transform: translate(-1.5%, .8%) scale(1.04);
  }

  66% {
    transform: translate(1.2%, -.9%) scale(1.04);
  }
}

/* Portal glow */
.sg-footer-portal {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: .1;
}

.sg-footer-portal::before {
  content: '';
  position: absolute;
  inset: -25%;
  background: radial-gradient(ellipse, rgba(255, 255, 255, .05), transparent 60%);
  filter: blur(70px);
}

/* Signature logo watermark */
.sg-footer-logo {
  position: absolute;
  top: calc(50% + 60px);
  /* ← Changed this line */
  left: 50%;
  transform: translate(-50%, -50%);
  width: 320px;
  opacity: .18;
  mix-blend-mode: screen;
  pointer-events: none;
}

.sg-footer-logo img {
  width: 100%;
}

/* ==================== FOOTER CONTENT ==================== */

.sg-footer-inner {
  max-width: 900px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

/* Countdown Section */
.sg-footer-countdown {
  text-align: center;
  margin-bottom: 64px;
  opacity: 0;
  animation: sg-footer-fade-in 1.2s ease forwards;
}

@keyframes sg-footer-fade-in {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

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

.sg-footer-countdown-label {
  font-family: 'Share Tech Mono', monospace;
  font-size: 12px;
  /* was 10px */
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--sg-muted2);
  margin-bottom: 16px;
  opacity: 0.8;
  /* was 0.6 */
}


.sg-footer-countdown-display {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.sg-countdown-segment {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.sg-countdown-value {
  font-family: 'Courier Prime', monospace;
  font-size: clamp(32px, 4.5vw, 42px);
  /* was 28px-36px, now 32px-42px */
  font-weight: 400;
  color: var(--sg-text);
  letter-spacing: 0.05em;
  line-height: 1;
  transition: opacity 0.3s ease;
}

.sg-countdown-unit {
  font-family: 'Share Tech Mono', monospace;
  font-size: 10px;
  /* was 9px */
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--sg-muted);
  opacity: 0.85;
  /* was 0.7 */
}

.sg-countdown-separator {
  font-size: 20px;
  color: var(--sg-muted2);
  opacity: 0.4;
  align-self: flex-start;
  padding-top: 12px;
}

/* Main Content Grid */
.sg-footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  padding: 32px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.sg-footer-block {
  opacity: 0;
  animation: sg-footer-fade-in 1.2s ease forwards;
  animation-delay: 0.2s;
}

/* Identity Block (left) */
.sg-footer-identity {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.sg-footer-title {
  font-family: 'Playfair Display', 'Palatino Linotype', Palatino, serif;
  font-size: clamp(22px, 3.5vw, 28px);
  font-weight: 400;
  color: var(--sg-text);
  letter-spacing: 0.01em;
  line-height: 1.2;
  margin: 0;
}

.sg-footer-subtitle {
  font-family: 'Cormorant Garamond', serif;
  font-size: 15px;
  font-weight: 300;
  color: var(--sg-muted);
  letter-spacing: 0.02em;
  line-height: 1.4;
  margin: 0;
}

.sg-footer-traits {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 8px;
  font-family: 'Share Tech Mono', monospace;
  font-size: 10px;
  /* was 9px */
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--sg-muted2);
  opacity: 0.8;
  /* was 0.7 */
}

.sg-footer-dot {
  opacity: 0.5;
}

/* Location Block (right aligned) */
.sg-footer-location {
  display: flex;
  flex-direction: column;
  gap: 16px;
  text-align: right;
}

.sg-footer-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  align-items: flex-end;
}

.sg-footer-field-label {
  font-family: 'Share Tech Mono', monospace;
  font-size: 10px;
  /* was 9px */
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--sg-muted2);
  opacity: 0.75;
  /* was 0.6 */
}

.sg-footer-field-value {
  font-family: 'Courier Prime', monospace;
  font-size: 14px;
  /* was 13px */
  letter-spacing: 0.03em;
  color: var(--sg-text);
  line-height: 1.5;
}

/* Signature */
.sg-footer-signature {
  text-align: center;
  padding-top: 40px;
  font-family: 'Cormorant Garamond', serif;
  font-size: 12px;
  font-weight: 300;
  font-style: italic;
  color: var(--sg-muted2);
  letter-spacing: 0.05em;
  opacity: 0;
  animation: sg-footer-fade-in 1.2s ease forwards;
  animation-delay: 0.4s;
}

/* ==================== RESPONSIVE ==================== */

@media (max-width: 768px) {
  .sg-footer-logo {
    width: 220px;
  }
}

@media (max-width: 640px) {
  .sg-footer {
    padding: 60px 16px 32px;
    margin-top: 80px;
  }

  .sg-footer-countdown {
    margin-bottom: 48px;
  }

  .sg-footer-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .sg-footer-location {
    text-align: left;
  }

  .sg-footer-field {
    align-items: flex-start;
  }

  .sg-footer-signature {
    padding-top: 32px;
    font-size: 11px;
  }
}

/* ==================== REDUCED MOTION ==================== */

@media (prefers-reduced-motion: reduce) {

  .sg-footer-countdown,
  .sg-footer-block,
  .sg-footer-signature {
    animation: none;
    opacity: 1;
  }

  .sg-countdown-value {
    transition: none;
  }

  .sg-footer-shadow {
    animation: none;
  }
}

/* ==================== STANDARD PAGE STYLES ==================== */

/* Page container */
.sg-page {
  background: #050505;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  position: relative;
  /* Ensure context for absolute children */
}

/* Ensure Nav is visible on pages */
.sg-page .sg-nav {
  background: rgba(0, 0, 0, 0.8);
  border-color: rgba(255, 255, 255, 0.15);
}

.sg-main {
  padding-top: 140px;
  /* Space for fixed nav */
  padding-bottom: 80px;
  flex: 1 0 auto;
  /* Allow to grow but also shrink if needed, push footer */
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  /* z-index: 10 removed */
  width: 100%;
}

/* Page Hero with Background support */
/* Page Hero with Background support */
.sg-page-hero {
  text-align: center;
  padding: 160px 20px 100px;
  /* Update: Increased top padding for Nav space */
  width: 100%;
  position: relative;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  margin-bottom: 60px;
  /* Remove margin-top if any */
  margin-top: 0;
}

.sg-page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.4) 0%, rgba(5, 5, 5, 1) 100%);
  z-index: 1;
}

.sg-page-hero-inner {
  position: relative;
  z-index: 3;
  /* Above grid (z:2) */
  max-width: 900px;
  margin: 0 auto;
}

/* Smart Grid Layout */
.sg-text-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 60px;
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 3;
  /* Above grid */
}

@media (min-width: 900px) {
  .sg-text-grid {
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 80px;
  }

  /* Alternate flow */
  .sg-text-grid-row:nth-child(even) .sg-text-grid-content {
    order: 2;
  }

  .sg-text-grid-row:nth-child(even) .sg-text-grid-image {
    order: 1;
  }
}

.sg-text-grid-row {
  display: contents;
  /* Allows children to participate in the parent grid if we used that, 
                        but here we might want rows to be wrappers or just direct children.
                        Let's act as if sg-text-grid wraps EVERYTHING. 
                        Actually, let's make .sg-text-grid-row the grid container per row for better control. */
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  margin-bottom: 80px;
  align-items: center;
}

@media (min-width: 900px) {
  .sg-text-grid-row {
    grid-template-columns: 1fr 1fr;
    gap: 60px;
  }

  .sg-text-grid-row.reversed .sg-text-grid-content {
    order: 2;
  }

  .sg-text-grid-row.reversed .sg-text-grid-image {
    order: 1;
  }
}

.sg-text-grid-image {
  position: relative;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
  aspect-ratio: 4/3;
}

.sg-text-grid-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.sg-text-grid-image:hover img {
  transform: scale(1.05);
}

.sg-text-grid-content {
  text-align: left;
}

.sg-text-grid-content p {
  font-size: 18px;
  line-height: 1.7;
  color: #ccc;
  margin-bottom: 24px;
}

.sg-eyebrow {
  font-family: 'Share Tech Mono', monospace;
  font-size: 14px;
  color: #FFD700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: 16px;
  display: block;
}

.sg-page-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(40px, 6vw, 64px);
  color: #fff;
  line-height: 1.1;
  margin-bottom: 32px;
  text-shadow: 0 0 30px rgba(255, 255, 255, 0.1);
}

.sg-page-title.ready {
  visibility: visible;
}

/* Animation support for Page Title */
/* word wrapper to prevent mid-word breaks */
.sg-page-title span.word {
  display: inline;
  white-space: nowrap;
}

.sg-page-title span.word > span {
  display: inline-block;
  transition:
    opacity 0.9s cubic-bezier(0.22, 0.61, 0.36, 1),
    color 0.9s cubic-bezier(0.22, 0.61, 0.36, 1),
    text-shadow 0.9s cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* Only hide letters when JS is controlling the animation */
.sg-page-title.ready span.word > span {
  opacity: 0;
  color: #bbb;
}

.sg-page-title.ready span.word > span.appear {
  opacity: 1;
  color: #fff;
  text-shadow:
    0 0 16px rgba(255, 255, 255, 0.6),
    0 0 32px rgba(255, 255, 255, 0.4),
    0 0 48px rgba(255, 245, 230, 0.25);
  transition:
    opacity 0.9s cubic-bezier(0.22, 0.61, 0.36, 1),
    color 0.9s cubic-bezier(0.22, 0.61, 0.36, 1),
    text-shadow 0.9s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.sg-page-intro {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(20px, 3vw, 26px);
  line-height: 1.5;
  color: #d0d0d0;
  max-width: 720px;
  margin: 0 auto;
  font-weight: 300;
  /* Animation Fade Up */
  opacity: 0;
  animation: sgFadeUp 1.2s ease-out forwards;
  animation-delay: 1.5s;
  /* Slightly faster than homepage sub */
}

.sg-page-intro strong {
  color: #fff;
  font-weight: 400;
}

/* Content Blocks */
.sg-content-inner {
  max-width: 760px;
  padding: 0 20px;
  margin: 0 auto;
}

.sg-block {
  margin-bottom: 60px;
}

.sg-h2 {
  font-family: 'Playfair Display', serif;
  font-size: 32px;
  color: #fff;
  margin-bottom: 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding-bottom: 16px;
}

.sg-block p {
  font-family: 'Cormorant Garamond', serif;
  font-size: 20px;
  line-height: 1.7;
  color: #c0c0c0;
  margin-bottom: 24px;
}

.sg-block strong {
  color: #fff;
}

/* Lists */
.sg-list {
  list-style: none;
  padding: 0;
  margin: 0 0 32px 0;
}

.sg-list li {
  position: relative;
  padding-left: 24px;
  margin-bottom: 12px;
  font-family: 'Cormorant Garamond', serif;
  font-size: 20px;
  color: #d0d0d0;
}

.sg-list li::before {
  content: "—";
  position: absolute;
  left: 0;
  color: rgba(255, 255, 255, 0.4);
}

/* Divider */
.sg-divider {
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.2), transparent);
  margin: 60px 0;
}

/* Stages Grid */
.sg-stages {
  padding: 80px 20px;
  background: rgba(255, 255, 255, 0.02);
  width: 100%;
  display: flex;
  justify-content: center;
}

.sg-stages-inner {
  max-width: 1100px;
  width: 100%;
}

.sg-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 32px;
  margin-top: 40px;
}

/* Card Style */
.sg-card {
  display: flex;
  flex-direction: column;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 32px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.sg-card:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-4px);
}

.sg-card-top {
  margin-bottom: 16px;
}

.sg-chip {
  display: inline-block;
  font-family: 'Share Tech Mono', monospace;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #FFD700;
  border: 1px solid rgba(255, 215, 0, 0.3);
  padding: 4px 8px;
  margin-bottom: 12px;
}

.sg-h3 {
  font-family: 'Playfair Display', serif;
  font-size: 28px;
  color: #fff;
  margin: 0;
}

.sg-card-text {
  font-family: 'Cormorant Garamond', serif;
  font-size: 18px;
  line-height: 1.5;
  color: #aaa;
  margin-bottom: 24px;
  flex: 1;
}

.sg-card-cta {
  font-family: 'Share Tech Mono', monospace;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: gap 0.2s ease;
}

.sg-card:hover .sg-card-cta {
  gap: 12px;
  color: #FFD700;
}

/* Buttons */
.sg-explore-cta {
  text-align: center;
  margin-top: 60px;
}

.sg-btn {
  display: inline-block;
  padding: 14px 32px;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 20px;
  letter-spacing: 0.05em;
  color: #000;
  background: #FFD700;
  text-decoration: none;
  border-radius: 6px;
  transition: all 0.3s ease;
  margin: 0 10px;
  text-transform: uppercase;
}

.sg-btn:hover {
  transform: scale(1.05);
  background: #fff;
}

.sg-btn-secondary {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.sg-btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #FFD700;
  border-color: #FFD700;
}

.sg-muted {
  color: #777;
  font-family: 'Cormorant Garamond', serif;
  font-size: 18px;
  margin-bottom: 20px;
  display: block;
}

/* Reduced motion for new elements */
@media (prefers-reduced-motion: reduce) {
  .sg-card:hover {
    transform: none;
  }

  .sg-btn:hover {
    transform: none;
  }

  .sg-card:hover .sg-card-cta {
    gap: 8px;
  }
}

/* ==================== STANDARD PAGE STYLES (Re-applied) ==================== */

/* Page container */
/* Page container */
.sg-page {
  background: #050505;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow-y: auto;
  /* Ensure scrolling */
  height: auto;
}

/* Ensure Nav matches Homepage (Pill Style) on pages */
.sg-page .sg-nav {
  background: rgba(0, 0, 0, 0.4);
  /* Glass Effect */
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-color: rgba(255, 255, 255, 0.15);
  width: auto;
  max-width: 95vw;
  top: 24px;
  z-index: 999;
}

/* Mobile nav width override for sub-pages */
@media (max-width: 768px) {
  .sg-page .sg-nav {
    width: 80%;
    max-width: 80%;
    top: 12px;
  }
}

.sg-main {
  padding-top: 0;
  /* Update: Remove padding so hero image starts at top */
  padding-bottom: 0;
  /* Let footer handle its own spacing or stick to bottom */
  flex: 1 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  z-index: 10;
  width: 100%;
}

/* Page Hero with Background support */
/* Page Hero with Background support */
/* Page Hero with Background support */
/* Page Hero with Background support */
.sg-page-hero {
  text-align: center;
  padding: 0 20px 10vh;
  /* Bottom padding pushes text up slightly above fold */
  width: 100%;
  position: relative;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  margin-bottom: 60px;

  /* Immersive Full Screen */
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  /* Push content to bottom */
  align-items: center;
  overflow: hidden;
  /* Ensure video doesn't spill */
}

/* EXPANDING HERO SCROLL */
.sg-hero-scroll-wrapper {
  position: relative;
  height: 150vh;
  width: 100%;
  flex-shrink: 0;
  /* Determines the duration of the 'pinning' */
  margin-bottom: 0;
}

.sg-hero-sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  width: 100%;
  display: grid;
  place-items: center;
  overflow: hidden;
  z-index: 10;
}

.sg-hero-bg {
  grid-area: 1 / 1;
  position: relative;
  width: 94%;
  /* Starting width */
  height: 94%;
  /* Starting height (optional, or 100% height minus margin?) User said fixed to top with margin. */
  height: calc(100% - 40px);
  /* 20px top/bottom margin effectively */
  border-radius: 24px;
  overflow: hidden;
  will-change: width, height, border-radius;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
  z-index: 1;
  /* Ensure BG is below text */
}

.sg-hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  will-change: transform;
  transform: scale(1);
}

.sg-hero-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.6));
  z-index: 1;
}

.sg-page-hero-inner {
  grid-area: 1 / 1;
  position: relative;
  width: 100%;
  z-index: 3;
  text-align: center;
  pointer-events: none;
  /* Let clicks pass through if needed */
  padding-bottom: 0;
}

/* Cleanup old video styles if unused */
.sg-page-hero {
  display: none;
}

.sg-page-video {
  display: none;
}

.sg-page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.4) 0%, rgba(5, 5, 5, 1) 100%);
  z-index: 1;
}

/* Removed duplicate sg-page-hero-inner */

/* Smart Grid Layout */
.sg-text-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 60px;
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

@media (min-width: 900px) {
  .sg-text-grid {
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 80px;
  }

  .sg-text-grid-row:nth-child(even) .sg-text-grid-content {
    order: 2;
  }

  .sg-text-grid-row:nth-child(even) .sg-text-grid-image {
    order: 1;
  }
}

.sg-text-grid-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  margin-bottom: 80px;
  align-items: center;
}

@media (min-width: 900px) {
  .sg-text-grid-row {
    grid-template-columns: 1fr 1fr;
    gap: 60px;
  }

  .sg-text-grid-row.reversed .sg-text-grid-content {
    order: 2;
  }

  .sg-text-grid-row.reversed .sg-text-grid-image {
    order: 1;
  }
}

.sg-text-grid-image {
  position: relative;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
  aspect-ratio: 4/3;
}

.sg-text-grid-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.sg-text-grid-image:hover img {
  transform: scale(1.05);
}

.sg-text-grid-content {
  text-align: left;
}

.sg-text-grid-content p {
  font-size: 18px;
  line-height: 1.7;
  color: #ccc;
  margin-bottom: 24px;
}

/* ==================== CAROUSEL (Antigravity Style) ==================== */
.sg-carousel-section {
  width: 100%;
  padding: 80px 0;
  width: 100%;
  padding: 80px 0;
  overflow: hidden;
  position: relative;
  z-index: 3;
  /* Above grid */
  /* Hide scrollbar from parent if needed, but carousel needs overflow-x */
}

.sg-carousel-header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 60px;
  padding: 0 20px;
}

.sg-carousel {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 0 max(20px, calc(50vw - 600px));
  /* Center content on wide screens */
  padding-bottom: 40px;
  /* Space for scrollbar or shadow */
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  /* Hide scrollbar Firefox */
}

.sg-carousel::-webkit-scrollbar {
  display: none;
  /* Hide scrollbar Chrome/Safari */
}

.sg-carousel-item {
  flex: 0 0 auto;
  width: 85vw;
  /* Mobile width */
  max-width: 420px;
  aspect-ratio: 3/4;
  position: relative;
  border-radius: 40px;
  /* Large rounded corners */
  overflow: hidden;
  scroll-snap-align: center;
  background-color: #111;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
  transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
  cursor: pointer;
  text-decoration: none;
}

.sg-carousel-item:hover {
  transform: translateY(-10px) scale(1.02);
}

.sg-carousel-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 0.8s ease;
}

.sg-carousel-item:hover .sg-carousel-bg {
  transform: scale(1.1);
}

.sg-carousel-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.2) 50%, transparent 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 40px;
  z-index: 2;
}

.sg-carousel-chip {
  display: inline-block;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  padding: 6px 12px;
  border-radius: 20px;
  font-family: 'Share Tech Mono', monospace;
  font-size: 12px;
  color: #FFD700;
  text-transform: uppercase;
  margin-bottom: 16px;
  width: fit-content;
  border: 1px solid rgba(255, 215, 0, 0.3);
}

.sg-carousel-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 32px;
  color: #fff;
  margin-bottom: 12px;
  line-height: 1;
  letter-spacing: 0.02em;
}

.sg-carousel-text {
  font-family: 'Courier Prime', monospace;
  font-size: 14px;
  color: #ccc;
  line-height: 1.5;
  margin-bottom: 0;
  opacity: 0.9;
}


/* ==================== SURVIVAL GUIDE EXTENSIONS ==================== */

/* --- Quick Finder --- */
/* ==================== SURVIVAL GUIDE (FAQ) ==================== */

/* 1. Quick Finder (Sub-nav) */
.sg-quick-finder {
  position: relative;
  /* Removed sticky */
  z-index: 100;
  background: rgba(5, 5, 5, 0.95);
  backdrop-filter: blur(10px);
  padding: 16px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  margin-bottom: 0;
}

@media (max-width: 768px) {
  .sg-quick-finder {
    display: none;
  }
}

.sg-quick-finder-inner {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  white-space: nowrap;
  padding: 0 5vw;
  scrollbar-width: none;
  /* Hide scrollbar Firefox */
  max-width: 1400px;
  margin: 0 auto;
}

.sg-quick-finder-inner::-webkit-scrollbar {
  display: none;
  /* Hide scrollbar Chrome/Safari */
}

.sg-finder-chip {
  display: inline-block;
  padding: 8px 20px;
  border-radius: 99px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  font-family: 'Share Tech Mono', monospace;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: all 0.3s ease;
  background: rgba(255, 255, 255, 0.02);
}

.sg-finder-chip:hover,
.sg-finder-chip.active {
  background: #FFD700;
  color: #000;
  border-color: #FFD700;
  box-shadow: 0 0 15px rgba(255, 215, 0, 0.2);
}

/* 2. Main Content Layout (Grid) */
.sg-survival-container {
  max-width: 900px;
  /* Reduced max-width for tidy single column */
  margin: 0 auto;
  padding: 0 20px 120px;
}

.sg-survival-grid {
  display: block;
  /* No more 2-col grid */
  /* No more 2-col grid */
  gap: 60px;
  position: relative;
  z-index: 3;
  /* Above grid */
}

/* Left Column: Image */
.sg-survival-scenic {
  position: relative;
  width: 100%;
}

.sg-sticky-image-wrapper {
  /* Sticky interaction on Desktop */
  position: sticky;
  top: 180px;
  /* Offset for Nav + Subnav */
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.sg-survival-image {
  width: 100%;
  height: auto;
  aspect-ratio: 4/5;
  object-fit: cover;
  display: block;
  /* Grayscale to Color on scroll could be cool, but keep simple for now */
  filter: saturate(0.8) contrast(1.1);
}

/* ==================== EDITORIAL INTRO (Red Bull V5 - Gradient Border) ==================== */
.sg-editorial-intro {
  position: relative;
  width: 100%;
  max-width: 100%;
  margin: 120px auto 160px;
  padding: 0;
  /* Full width canvas */
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 900px;
  position: relative;
  z-index: 3;
  /* Above grid */
  /* Tall canvas for large images */
  overflow: hidden;
}

@media (max-width: 1024px) {
  .sg-editorial-intro {
    margin-bottom: 60px;
    /* Reduced gap */
  }
}

/* 
   Gold Box Text - Centered with Fading Gradient Border 
   "Fade in 2 corners to black" -> Diagonal Gradient from Black to Gold to Black
*/
.sg-editorial-content {
  max-width: 500px;
  width: 90%;
  /* Responsive safety */
  text-align: center;
  position: relative;
  z-index: 10;
  padding: 60px 40px;

  /* Background & Gradient Border Trick */
  background:
    linear-gradient(rgba(5, 5, 5, 0.95), rgba(5, 5, 5, 0.95)) padding-box,
    /* Inner Bg */
    linear-gradient(135deg, rgba(0, 0, 0, 0) 0%, rgba(255, 215, 0, 0.6) 30%, rgba(255, 215, 0, 0.6) 70%, rgba(0, 0, 0, 0) 100%) border-box;
  /* Border Gradient */

  border: 1px solid transparent;
  /* Transparent physical border to let gradient show */
  border-radius: 30px;

  /* Subtle Glow */
  box-shadow: 0 0 40px rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(10px);
  margin: 0 auto;
  /* Strict Centering */
}

.sg-editorial-text {
  font-family: 'Cormorant Garamond', serif;
  font-size: 26px;
  /* Slightly larger editorial type */
  font-weight: 300;
  line-height: 1.6;
  color: #fff;
  letter-spacing: 0.02em;
  margin: 0;
}

/* 
   Floating Images - "Placed Max Width" 
   These act as wings/frames around the text.
   Pinned to viewport edges.
*/
.sg-editorial-img {
  position: absolute;
  width: 45vw;
  /* Fills almost half screen width */
  max-width: 800px;
  /* Cap for ultra-wide */
  aspect-ratio: 16/9;
  border-radius: 4px;
  /* Sharper */
  overflow: hidden;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.8);
  z-index: 1;
  transition: transform 0.1s linear;
  filter: brightness(0.8) contrast(1.1);
  /* Cinematic */
}

.sg-editorial-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.sg-editorial-img:hover img {
  transform: scale(1.1);
}

/* Ensure Text is on top */
.sg-editorial-content {
  z-index: 10;
  position: relative;
}

/* Specific Positions - Framing the Center */

.sg-img-1 {
  top: 50px;
  left: 0;
  /* Pinned Left */
  transform: translateX(-5vw) rotate(-2deg) translateY(var(--parallax-y, 0px));
  /* Slightly off-screen start */
  z-index: 2;
}

.sg-img-2 {
  bottom: 0;
  left: 0;
  /* Pinned Left Bottom */
  width: 40vw;
  transform: translateX(-2vw) rotate(3deg) translateY(var(--parallax-y, 0px));
  z-index: 3;
}

.sg-img-3 {
  top: 0;
  right: 0;
  /* Pinned Right Top */
  width: 50vw;
  /* Hero size */
  transform: translateX(5vw) rotate(3deg) translateY(var(--parallax-y, 0px));
  z-index: 1;
}

.sg-img-4 {
  top: 50%;
  left: -10vw;
  /* Bleed left */
  width: 30vw;
  filter: blur(2px) brightness(0.5);
  /* Depth of field background element */
  z-index: 0;
}

.sg-img-5 {
  bottom: 100px;
  right: 0;
  /* Pinned Right Bottom */
  width: 35vw;
  transform: translateX(2vw) rotate(-3deg) translateY(var(--parallax-y, 0px));
  z-index: 2;
}


/* Responsive: Reduce aggression on smaller screens */
@media (max-width: 1400px) {
  .sg-editorial-img {
    opacity: 0.6;
    /* Fade out to let text pop if they overlap */
  }

  .sg-editorial-content {
    background: rgba(5, 5, 5, 0.95);
    /* Ensure readability */
    border: 1px solid rgba(255, 215, 0, 0.3);
    /* Fallback subtle border for simplicity if needed, or keep gradient */
  }
}

@media (max-width: 1024px) {
  .sg-editorial-intro {
    min-height: auto;
    padding: 80px 20px;
    flex-direction: column;
  }

  .sg-editorial-content {
    max-width: 100%;
    margin-bottom: 60px;
  }

  /* On tablet/mobile, we can't have huge side images. */
  .sg-editorial-img {
    position: relative;
    width: 100%;
    max-width: 100%;
    transform: none !important;
    left: auto;
    top: auto;
    right: auto;
    bottom: auto;
    margin-bottom: 20px;
    opacity: 1;
  }

  /* Hide the decorative blurry ones or extras */
  .sg-img-1,
  .sg-img-4 {
    display: none;
  }

  /* Show a few key images in a grid below or block */
  .sg-img-2,
  .sg-img-3,
  .sg-img-5 {
    display: block;
    width: 100%;
    height: 250px;
    margin: 10px 0;
  }

  /* Right Column: Main Content (Condensed) */
  .sg-survival-content {
    display: flex;
    flex-direction: column;
    gap: 40px;
    width: 100%;
  }

  .sg-faq-group {
    scroll-margin-top: 200px;
  }
}

.sg-faq-question {
  padding: 16px 0;
}

.sg-faq-question {
  padding: 16px 0;
  /* Reduced padding from 24px */
}

.sg-faq-answer p {
  padding-bottom: 16px;
  /* Condensed */
}

.sg-section-header {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 48px;
  color: #fff;
  margin-bottom: 20px;
  /* Styling to match hero style slightly */
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

/* FAQ Groups & Anchors */
.sg-faq-group {
  /* CRITICAL: Scroll Margin for Sticky Navs */
  /* Main Nav (90px) + Sub Nav (60px) + Buffer (30px) = ~180px */
  scroll-margin-top: 180px;
  margin-bottom: 60px;
  /* Visual Hierarchy Separation */
}

.sg-faq-group-title {
  font-family: 'Share Tech Mono', monospace;
  font-size: 24px;
  color: #FFD700;
  margin-bottom: 16px;
  /* Tighter to content */
  border-bottom: 1px solid rgba(255, 215, 0, 0.3);
  padding-bottom: 8px;
  display: inline-block;
}

.sg-faq-group-intro {
  font-family: 'Cormorant Garamond', serif;
  font-size: 20px;
  color: rgba(255, 255, 255, 0.8);
  font-style: italic;
  margin-bottom: 32px;
}

/* Accordion Items - Minimalist Clean */
.sg-faq-item {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  margin-bottom: 12px;
  padding: 0 20px;
}

.sg-faq-item:last-child {
  margin-bottom: 0;
}

.sg-faq-question {
  width: 100%;
  background: none;
  border: none;
  padding: 24px 0;
  text-align: left;
  font-family: "Helvetica Neue", "Arial", sans-serif;
  /* Clean Sans Serif as requested */
  font-weight: 700;
  font-size: 20px;
  letter-spacing: 0.01em;
  color: #fff;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: color 0.3s ease;
}

.sg-faq-question:hover {
  color: #FFD700;
}

.sg-faq-icon {
  width: 24px;
  height: 24px;
  position: relative;
  flex-shrink: 0;
  margin-left: 20px;
}

.sg-faq-icon::before,
.sg-faq-icon::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: currentColor;
  transition: transform 0.3s ease;
}

.sg-faq-icon::before {
  width: 100%;
  height: 2px;
}

.sg-faq-icon::after {
  width: 2px;
  height: 100%;
}

/* Open State */
.sg-faq-item.open .sg-faq-icon::after {
  transform: translate(-50%, -50%) rotate(90deg);
  /* Turn (+) into (-) ? No, actually (+) to (-) normally means rotating to flat, but let's just rotate to X or similar. */
  /* Wait, usually vertical bar rotates 90deg to lie flat with horizontal -> minus sign */
  transform: translate(-50%, -50%) rotate(90deg);
}

.sg-faq-item.open .sg-faq-question {
  color: #FFD700;
}

.sg-faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  opacity: 0.8;
  font-family: "Helvetica Neue", "Arial", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.9);
}

.sg-faq-item.open .sg-faq-answer {
  max-height: 1000px;
  /* Arbitrary large number, or handle via JS for better animation */
}

.sg-faq-answer p {
  padding-bottom: 24px;
  font-size: 16px;
  line-height: 1.6;
}

.sg-faq-answer ul {
  padding-left: 20px;
  padding-bottom: 24px;
}

.sg-faq-answer li {
  margin-bottom: 8px;
}

.sg-quick-finder-inner::-webkit-scrollbar {
  display: none;
}

/* Remove duplicate .sg-quick-finder-inner definition block around line ~3185 if exists, but for now we just patched top.
   It seems we have duplicate blocks in file. Ideally clean up, but focused on fix. 
*/

.sg-finder-chip {
  flex: 0 0 auto;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 8px 16px;
  border-radius: 20px;
  font-family: 'Share Tech Mono', monospace;
  font-size: 13px;
  color: #ccc;
  text-decoration: none;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.sg-finder-chip:hover,
.sg-finder-chip.active {
  background: #FFD700;
  color: #000;
  border-color: #FFD700;
}

/* Legacy styles removed for Magazine Layout V4 */

/* Legacy styles removed for Magazine Layout V4 */

/* ==================== EXPLORE & DETAILS LAYOUT ==================== */
/* Shared alternating layout (Image/Text) for Explore, Tickets, and App pages */

.sg-application-section {
  width: 100%;
  padding: 0;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 40px;
  margin-bottom: 60px;
  /* Spacing between sections */
}

/* On mobile, text is centered */
.sg-app-text {
  padding: 60px 24px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  z-index: 2;
  text-align: center;
}

/* Image container */
.sg-parallax-image {
  width: 100%;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  /* No padding by default */
}

/* The "Card" Image - Fixed Aspect Ratio Landscape */
.sg-explore-card-img {
  width: 100%;
  max-width: 550px;
  height: 360px;
  object-fit: cover;
  border-radius: 4px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
  display: block;
  margin: 0 auto;
}

/* Desktop Grid Layout (900px+) */
@media (min-width: 900px) {
  .sg-application-section {
    display: grid;
    grid-template-columns: 50% 50%;
    gap: 0;
    padding: 80px 0;
    align-items: center;
    margin-bottom: 0;
  }

  /* Text First = Text Left, Image Right */
  .sg-section-text-first {
    /* Default grid order is fine: Text (1) Image (2) if DOM order matches */
  }

  .sg-section-image-first .sg-parallax-image {
    order: 1;
  }

  .sg-section-image-first .sg-app-text {
    order: 2;
  }

  /* Alternating Padding Logic */
  .sg-section-text-first .sg-app-text {
    text-align: left;
    padding: 0 40px 0 100px;
  }

  .sg-section-image-first .sg-app-text {
    text-align: left;
    padding: 0 100px 0 40px;
  }
}