/* =========================================
   GOLDEN MARINE — Design System & Base CSS
   ========================================= */

/* --- 1. CSS Custom Properties (Design Tokens) --- */
:root {
  /* Base Colors */
  --c-navy:   #0A1128;
  --c-gold:   #D4AF37;
  --c-gold-light: #e8cc6a;
  --c-offwhite: #F4F5F6;
  --c-muted:  #9CA3AF;
  --c-border: rgba(212, 175, 55, 0.2);

  /* Maritime Theme Colors */
  --c-ocean-deep:  #003D5B;
  --c-ocean-mid:   #006494;
  --c-ocean-light: #0582CA;
  --c-seafoam:     #00A8CC;

  /* Technical/Industrial Tones */
  --c-steel:       #4A5568;
  --c-rust:        #C1440E;
  --c-brass:       #B8860B;

  /* Status Colors */
  --c-success:     #10B981;
  --c-warning:     #F59E0B;
  --c-danger:      #EF4444;

  /* Typography */
  --ff-heading: 'Cinzel', Georgia, serif;
  --ff-body:    'Inter', system-ui, sans-serif;
  --ff-mono:    'JetBrains Mono', 'Courier New', monospace;

  --fw-light:   300;
  --fw-regular: 400;
  --fw-medium:  500;
  --fw-semibold:600;
  --fw-bold:    700;

  /* Font Sizes */
  --fs-2xs:  0.625rem;
  --fs-xs:   0.75rem;
  --fs-sm:   0.875rem;
  --fs-base: 1rem;
  --fs-lg:   1.25rem;
  --fs-xl:   1.5rem;
  --fs-2xl:  2rem;
  --fs-3xl:  3rem;
  --fs-4xl:  4.5rem;
  --fs-5xl:  5rem;
  --fs-6xl:  6rem;

  /* Spacing */
  --space-1: 0.5rem;
  --space-2: 1rem;
  --space-3: 1.5rem;
  --space-4: 2rem;
  --space-6: 3rem;
  --space-8: 4rem;
  --space-10: 5rem;
  --space-12: 6rem;
  --space-16: 8rem;
  --space-20: 10rem;

  /* Border Radius */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.1);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.15);
  --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.2);
  --shadow-xl: 0 16px 64px rgba(0, 0, 0, 0.25);
  --shadow-gold: 0 8px 32px rgba(212, 175, 55, 0.3);

  /* Blur Values */
  --blur-sm: 8px;
  --blur-md: 16px;
  --blur-lg: 24px;

  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-mid:  0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --transition-slow: 0.8s cubic-bezier(0.16, 1, 0.3, 1);

  /* Animation Durations */
  --duration-fast: 0.2s;
  --duration-normal: 0.4s;
  --duration-slow: 0.8s;

  /* Easing Functions */
  --ease-in-out: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-bounce: cubic-bezier(0.68, -0.55, 0.265, 1.55);

  /* Layout */
  --container-max: 1200px;
  --container-pad: clamp(1.5rem, 5vw, 4rem);
}

/* --- 2. Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: auto; } /* Lenis handles this */
body {
  font-family: var(--ff-body);
  font-size: var(--fs-base);
  font-weight: var(--fw-regular);
  color: var(--c-offwhite);
  background-color: var(--c-navy);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
img { display: block; max-width: 100%; }

/* Focus Styles for Accessibility */
*:focus {
  outline: none;
}
*:focus-visible {
  outline: 2px solid var(--c-gold);
  outline-offset: 4px;
  border-radius: var(--radius-sm);
}

/* --- 3. Layout Utilities --- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--container-pad);
}
.section { padding-block: var(--space-12); }

/* Section fade-in animation initial state */
section:not(.hero):not(.inner-hero) {
  opacity: 0;
}

.section-label {
  display: inline-block;
  font-size: var(--fs-xs);
  font-weight: var(--fw-semibold);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--c-gold);
  margin-bottom: var(--space-2);
}
.section-title {
  font-family: var(--ff-heading);
  font-size: clamp(var(--fs-2xl), 4vw, var(--fs-3xl));
  font-weight: var(--fw-semibold);
  line-height: 1.2;
  color: var(--c-offwhite);
  margin-bottom: var(--space-3);
}

/* --- 4. Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-1);
  padding: 0.85rem 2rem;
  min-height: 44px;
  min-width: 44px;
  font-family: var(--ff-body);
  font-size: var(--fs-sm);
  font-weight: var(--fw-semibold);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all var(--transition-mid);
  border: 2px solid transparent;
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}
.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, transparent 0%, rgba(255, 255, 255, 0.1) 50%, transparent 100%);
  transform: translateX(-100%);
  transition: transform 0.6s ease;
}
.btn:hover::before {
  transform: translateX(100%);
}
.btn--primary {
  background: var(--c-gold);
  color: var(--c-navy);
  border-color: var(--c-gold);
}
.btn--primary:hover {
  background: var(--c-gold-light);
  border-color: var(--c-gold-light);
  transform: translateY(-3px);
  box-shadow: var(--shadow-gold);
}
.btn--primary:active {
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(212, 175, 55, 0.2);
}
.btn--primary:focus-visible {
  box-shadow: 0 0 0 4px rgba(212, 175, 55, 0.3);
}
.btn--ghost {
  background: transparent;
  color: var(--c-offwhite);
  border-color: rgba(244, 245, 246, 0.3);
}
.btn--ghost:hover {
  border-color: var(--c-gold);
  color: var(--c-gold);
  transform: translateY(-3px);
  background: rgba(212, 175, 55, 0.05);
  box-shadow: var(--shadow-md);
}
.btn--ghost:active {
  transform: translateY(-1px);
}
.btn--ghost:focus-visible {
  box-shadow: 0 0 0 4px rgba(212, 175, 55, 0.2);
}
.btn--outline {
  background: transparent;
  color: var(--c-gold);
  border-color: var(--c-border);
}
.btn--outline:hover {
  background: var(--c-gold);
  color: var(--c-navy);
  border-color: var(--c-gold);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.btn--outline:active {
  transform: translateY(0);
}
.btn--outline:focus-visible {
  box-shadow: 0 0 0 4px rgba(212, 175, 55, 0.2);
}

/* --- 5. Navigation --- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 999;
  padding-block: var(--space-4);
  transition: all var(--transition-mid);
  background: transparent;
}

.site-header__border {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(
    to right,
    transparent 0%,
    rgba(212, 175, 55, 0.3) 20%,
    rgba(212, 175, 55, 0.5) 50%,
    rgba(212, 175, 55, 0.3) 80%,
    transparent 100%
  );
  opacity: 1;
  transition: opacity var(--transition-mid);
}

.site-header.scrolled {
  background: rgba(6, 12, 30, 0.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  padding-block: var(--space-2);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.4);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-6);
}

.nav__logo {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-family: var(--ff-heading);
  font-size: var(--fs-xl);
  font-weight: var(--fw-semibold);
  letter-spacing: 0.03em;
  transition: all var(--transition-fast);
  position: relative;
}

.nav__logo::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(to right, var(--c-gold), var(--c-gold-light));
  transition: width var(--transition-mid);
}

.nav__logo:hover::after {
  width: 100%;
}

.nav__logo:hover {
  transform: translateY(-2px);
}

.nav__logo em {
  color: var(--c-gold);
  font-style: normal;
}

.nav__logo-text {
  font-family: var(--ff-heading);
}

.nav__logo-mark {
  color: var(--c-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  filter: drop-shadow(0 0 12px rgba(212, 175, 55, 0.4));
  transition: all var(--transition-fast);
}

.nav__logo-mark img {
  width: 28px;
  height: 28px;
  filter: brightness(0) saturate(100%) invert(73%) sepia(47%) saturate(548%) hue-rotate(8deg) brightness(95%) contrast(87%);
}

.nav__logo:hover .nav__logo-mark {
  filter: drop-shadow(0 0 20px rgba(212, 175, 55, 0.6));
  transform: rotate(15deg) scale(1.1);
}

.nav__links {
  display: flex;
  align-items: center;
  gap: var(--space-4);
}

.nav__link {
  font-family: var(--ff-heading);
  font-size: var(--fs-sm);
  font-weight: var(--fw-medium);
  letter-spacing: 0.08em;
  text-transform: none;
  color: var(--c-offwhite);
  position: relative;
  padding-bottom: 4px;
  transition: color var(--transition-fast);
}

.nav__link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(to right, var(--c-gold), var(--c-gold-light));
  transition: width var(--transition-mid);
}

.nav__link:hover,
.nav__link.active {
  color: var(--c-gold);
}

.nav__link:hover::after,
.nav__link.active::after {
  width: 100%;
}

.nav__menu-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: var(--space-1);
  position: relative;
  z-index: 1000;
}

.nav__menu-btn span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--c-offwhite);
  transition: all var(--transition-fast);
  border-radius: 2px;
}

/* --- 6. Hero Section --- */
.hero {
  position: relative;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  background: radial-gradient(ellipse at 60% 50%, #0d1e4a 0%, var(--c-navy) 70%);
  overflow: hidden;
  padding-top: 100px; /* Space for header */
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23D4AF37' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  opacity: 0.5;
}
.hero__bg-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(10,17,40,0.6) 40%, rgba(10,17,40,0.1) 70%, transparent 100%);
}

/* Hero Grid Layout */
.hero__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-8);
  align-items: center;
  position: relative;
  z-index: 2;
  width: 100%;
  padding-block: var(--space-12);
}

/* Hero Content (Left Side) */
.hero__content {
  position: relative;
  z-index: 2;
  max-width: 580px;
}
.hero__eyebrow {
  font-size: var(--fs-xs);
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--c-gold);
  margin-bottom: var(--space-3);
  opacity: 0; /* GSAP will animate */
}
.hero__title {
  font-family: var(--ff-heading);
  font-size: clamp(var(--fs-3xl), 5.5vw, var(--fs-4xl));
  font-weight: var(--fw-bold);
  line-height: 1.1;
  margin-bottom: var(--space-3);
}
.hero__title-line {
  display: block;
  overflow: hidden;
  opacity: 0; /* GSAP will animate */
}
.hero__title-line--gold { color: var(--c-gold); }
.hero__subtitle {
  font-size: var(--fs-lg);
  font-weight: var(--fw-light);
  color: rgba(244,245,246,0.75);
  max-width: 480px;
  margin-bottom: var(--space-6);
  opacity: 0; /* GSAP will animate */
}
.hero__cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  opacity: 0; /* GSAP will animate */
}

/* Hero Visual (Right Side) */
.hero__visual {
  position: relative;
  z-index: 2;
  width: 100%;
  aspect-ratio: 4/3;
  max-width: 560px;
  margin-left: auto;
  /* Default visibility for desktop */
  display: block;
  opacity: 1;
  visibility: visible;
}

.hero__visual-frame {
  position: absolute;
  inset: -12px;
  border: 1px solid rgba(212, 175, 55, 0.15);
  border-radius: var(--radius-lg);
  pointer-events: none;
  z-index: 1;
}
.hero__visual-frame::before {
  content: '';
  position: absolute;
  top: -6px; left: -6px;
  width: 24px; height: 24px;
  border-top: 2px solid var(--c-gold);
  border-left: 2px solid var(--c-gold);
  border-radius: 4px 0 0 0;
}
.hero__visual-frame::after {
  content: '';
  position: absolute;
  bottom: -6px; right: -6px;
  width: 24px; height: 24px;
  border-bottom: 2px solid var(--c-gold);
  border-right: 2px solid var(--c-gold);
  border-radius: 0 0 4px 0;
}

/* Hero Slider */
.hero__slider {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.4), 0 8px 24px rgba(212, 175, 55, 0.1);
}
.hero__slider-track {
  position: relative;
  width: 100%;
  height: 100%;
}
.hero__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.9s ease, visibility 0.9s ease;
}
.hero__slide.is-active {
  opacity: 1;
  visibility: visible;
}
.hero__slide-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero__slide-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10, 17, 40, 0.8) 0%, rgba(10, 17, 40, 0.3) 50%, transparent 100%);
}
.hero__slide-content {
  position: absolute;
  bottom: var(--space-6);
  left: var(--space-6);
  right: var(--space-6);
  z-index: 2;
}
.hero__slide-title {
  display: block;
  font-family: var(--ff-heading);
  font-size: var(--fs-2xl);
  color: var(--c-gold);
  letter-spacing: 0.05em;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.8);
}

/* Slider Navigation */
.hero__slider-nav {
  position: absolute;
  bottom: var(--space-4);
  right: var(--space-4);
  display: flex;
  gap: 8px;
  z-index: 10;
}
.hero__slider-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: rgba(244, 245, 246, 0.3);
  border: 1px solid rgba(244, 245, 246, 0.4);
  cursor: pointer;
  padding: 0;
  transition: all 0.3s ease;
}
.hero__slider-dot:hover {
  background: rgba(244, 245, 246, 0.5);
  border-color: rgba(244, 245, 246, 0.6);
}
.hero__slider-dot.is-active {
  background: var(--c-gold);
  border-color: var(--c-gold);
  box-shadow: 0 0 12px rgba(212, 175, 55, 0.5);
  transform: scale(1.2);
}

/* Scroll Indicator */
.hero__scroll-indicator {
  position: absolute;
  bottom: var(--space-4);
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-1);
  font-size: var(--fs-xs);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--c-muted);
  opacity: 0; /* GSAP will animate */
}
.hero__scroll-line {
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, var(--c-gold), transparent);
  animation: scrollPulse 1.8s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%, 100% { transform: scaleY(1); opacity: 1; }
  50% { transform: scaleY(0.5); opacity: 0.4; }
}

/* --- 7. Intro Section --- */
.intro {
  background: linear-gradient(to bottom, var(--c-navy) 0%, #0d1e4a 100%);
  position: relative;
}

.intro__center {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}

.intro__description {
  color: var(--c-muted);
  font-size: var(--fs-lg);
  line-height: 1.8;
  margin-bottom: var(--space-6);
}

/* --- 8. Footer --- */
.site-footer {
  position: relative;
  z-index: 1;
  padding-block: var(--space-12) var(--space-6);
  background: linear-gradient(135deg, #060c1e 0%, #0a1128 50%, #060c1e 100%);
  overflow: hidden;
}

/* Wave decoration at top */
.footer__wave {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(
    to right,
    transparent 0%,
    rgba(212, 175, 55, 0.2) 10%,
    rgba(212, 175, 55, 0.6) 30%,
    rgba(212, 175, 55, 0.8) 50%,
    rgba(212, 175, 55, 0.6) 70%,
    rgba(212, 175, 55, 0.2) 90%,
    transparent 100%
  );
}

.footer__wave::before {
  content: '';
  position: absolute;
  top: -1px;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(
    to right,
    transparent 0%,
    rgba(212, 175, 55, 0.1) 20%,
    rgba(212, 175, 55, 0.3) 50%,
    rgba(212, 175, 55, 0.1) 80%,
    transparent 100%
  );
}

.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: var(--space-8);
  margin-bottom: var(--space-8);
  padding-bottom: var(--space-8);
  border-bottom: 1px solid rgba(212, 175, 55, 0.1);
}

.footer__brand {
  max-width: 360px;
}

.footer__logo {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-family: var(--ff-heading);
  font-size: var(--fs-xl);
  font-weight: var(--fw-semibold);
  letter-spacing: 0.05em;
  margin-bottom: var(--space-3);
}

.footer__logo .nav__logo-mark {
  color: var(--c-gold);
  filter: drop-shadow(0 0 12px rgba(212, 175, 55, 0.3));
}

.footer__logo .nav__logo-mark img {
  width: 32px;
  height: 32px;
  filter: brightness(0) saturate(100%) invert(73%) sepia(47%) saturate(548%) hue-rotate(8deg) brightness(95%) contrast(87%);
}

.footer__logo em {
  color: var(--c-gold);
  font-style: normal;
}

.footer__tagline {
  color: var(--c-gold);
  font-style: italic;
  font-size: var(--fs-sm);
  margin-bottom: var(--space-2);
  letter-spacing: 0.03em;
}

.footer__description {
  color: var(--c-muted);
  font-size: var(--fs-sm);
  line-height: 1.7;
}

.site-footer h4 {
  font-family: var(--ff-heading);
  font-size: var(--fs-base);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--c-gold);
  margin-bottom: var(--space-3);
  position: relative;
  padding-bottom: var(--space-1);
}

.site-footer h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 32px;
  height: 2px;
  background: linear-gradient(to right, var(--c-gold), transparent);
}

.site-footer ul {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.site-footer ul a {
  font-size: var(--fs-sm);
  color: var(--c-muted);
  transition: all var(--transition-fast);
  display: inline-block;
  position: relative;
  padding-left: 0;
}

.site-footer ul a::before {
  content: '→';
  position: absolute;
  left: -20px;
  opacity: 0;
  color: var(--c-gold);
  transition: all var(--transition-fast);
}

.site-footer ul a:hover {
  color: var(--c-gold);
  padding-left: 20px;
}

.site-footer ul a:hover::before {
  opacity: 1;
  left: 0;
}

.footer__contact-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-2);
  margin-bottom: var(--space-3);
}

.footer__contact-icon {
  font-size: var(--fs-lg);
  flex-shrink: 0;
  filter: drop-shadow(0 0 8px rgba(212, 175, 55, 0.3));
}

.footer__contact-item p {
  font-size: var(--fs-sm);
  color: var(--c-muted);
  line-height: 1.6;
}

.footer__contact-item a {
  color: var(--c-muted);
  transition: color var(--transition-fast);
}

.footer__contact-item a:hover {
  color: var(--c-gold);
}

.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-3);
  padding-top: var(--space-4);
}

.footer__bottom p {
  font-size: var(--fs-xs);
  color: var(--c-muted);
  letter-spacing: 0.05em;
}

.footer__bottom-links {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--fs-xs);
}

.footer__bottom-links a {
  color: var(--c-muted);
  transition: color var(--transition-fast);
}

.footer__bottom-links a:hover {
  color: var(--c-gold);
}

.footer__bottom-links span {
  color: rgba(212, 175, 55, 0.3);
}

/* --- 9. Barba.js Transition Layer --- */
.barba-overlay {
  position: fixed;
  inset: 0;
  background: var(--c-navy);
  z-index: 999;
  transform: scaleY(0);
  transform-origin: bottom;
  pointer-events: none;
}

/* --- 10. Responsive --- */
/* Desktop - Ensure hero visual is always visible above 1024px */
@media (min-width: 1025px) {
  .hero__visual {
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
  }
}

@media (max-width: 1024px) {
  .hero__grid {
    grid-template-columns: 1fr;
    gap: var(--space-6);
    padding-top: calc(var(--space-12) + 60px);
  }
  .hero__content {
    max-width: 100%;
    text-align: center;
  }
  .hero__subtitle {
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
  }
  .hero__cta-group {
    justify-content: center;
  }
  .hero__visual {
    max-width: 100%;
    margin: 0 auto;
    aspect-ratio: 16/10;
    order: -1;
  }
  .hero__visual-frame {
    display: none;
  }
}

@media (max-width: 768px) {
  .nav__links { display: none; }
  .nav__menu-btn { display: flex; }
  .hero__title { font-size: clamp(var(--fs-2xl), 10vw, var(--fs-3xl)); }
  .hero {
    padding-top: 80px;
  }
  .hero__grid {
    padding-top: var(--space-4);
    padding-bottom: var(--space-8);
  }
  .hero__visual {
    aspect-ratio: 4/3;
  }
  .intro__center {
    max-width: 100%;
  }
  .footer__grid {
    grid-template-columns: 1fr;
    gap: var(--space-6);
    text-align: center;
  }
  .footer__brand,
  .footer__links,
  .footer__services,
  .footer__contact {
    text-align: center;
  }
  .footer__contact-item {
    justify-content: center;
  }
  .footer__bottom {
    flex-direction: column;
    text-align: center;
  }
  .hero__cta-group { flex-direction: column; align-items: center; }
  .hero__scroll-indicator { display: none; }
}

/* --- 11. Mobile Nav Overlay --- */
.nav__mobile-overlay {
  position: fixed;
  inset: 0;
  background: rgba(6, 12, 30, 0.97);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  z-index: 998;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-4);
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
  transition: opacity var(--transition-mid), visibility var(--transition-mid);
}
.nav__mobile-overlay.is-open {
  opacity: 1;
  pointer-events: all;
  visibility: visible;
}
.nav__mobile-link {
  font-family: var(--ff-heading);
  font-size: clamp(2rem, 8vw, 3.5rem);
  font-weight: var(--fw-semibold);
  color: var(--c-offwhite);
  letter-spacing: 0.04em;
  transition: color var(--transition-fast);
}
.nav__mobile-overlay:not(.is-open) .nav__mobile-link {
  opacity: 0;
  transform: translateY(24px);
}
.nav__mobile-link:hover { color: var(--c-gold); }
.nav__mobile-link em   { color: var(--c-gold); font-style: normal; }
.nav__mobile-footer {
  position: absolute;
  bottom: var(--space-6);
  font-size: var(--fs-xs);
  letter-spacing: 0.15em;
  color: var(--c-muted);
  text-transform: uppercase;
}
/* Hamburger → X transition */
.nav__menu-btn { transition: transform var(--transition-fast); }
.nav__menu-btn.is-open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
  background: var(--c-gold);
}
.nav__menu-btn.is-open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav__menu-btn.is-open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
  background: var(--c-gold);
}

/* --- 12. Custom Cursor --- */
body { cursor: none; }
a, button, [role="button"], .service-card, .stat-card { cursor: none; }
.cursor-dot,
.cursor-ring {
  position: fixed;
  border-radius: 50%;
  pointer-events: none;
  z-index: 10000;
  will-change: transform;
  top: 0; left: 0;
}
.cursor-dot {
  width: 7px; height: 7px;
  background: var(--c-gold);
  margin-top: -3.5px;
  margin-left: -3.5px;
}
.cursor-ring {
  width: 38px; height: 38px;
  border: 1.5px solid rgba(212, 175, 55, 0.5);
  margin-top: -19px;
  margin-left: -19px;
  transition: width 0.25s ease, height 0.25s ease,
              border-color 0.25s ease, background 0.25s ease;
}
.cursor-ring.is-hovering {
  width: 58px; height: 58px;
  border-color: var(--c-gold);
  background: rgba(212, 175, 55, 0.07);
}
.cursor-ring.is-clicking {
  width: 28px; height: 28px;
  background: rgba(212, 175, 55, 0.15);
}
/* Hide custom cursor on touch devices */
@media (pointer: coarse) {
  body, a, button { cursor: auto; }
  .cursor-dot, .cursor-ring { display: none; }
}

/* --- 13. Hero Ambient Glows --- */
.hero__glow {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(80px);
  animation: glowFloat 8s ease-in-out infinite;
}
.hero__glow--1 {
  width: 480px; height: 480px;
  top: -100px; right: 5%;
  background: radial-gradient(circle, rgba(212,175,55,0.12) 0%, transparent 70%);
  animation-delay: 0s;
  animation-duration: 9s;
}
.hero__glow--2 {
  width: 320px; height: 320px;
  bottom: 10%; right: 15%;
  background: radial-gradient(circle, rgba(13,30,74,0.8) 0%, rgba(212,175,55,0.06) 70%);
  animation-delay: -3s;
  animation-duration: 11s;
}
.hero__glow--3 {
  width: 200px; height: 200px;
  top: 30%; left: 3%;
  background: radial-gradient(circle, rgba(212,175,55,0.07) 0%, transparent 70%);
  animation-delay: -6s;
  animation-duration: 7s;
}
@keyframes glowFloat {
  0%, 100% { transform: translateY(0) scale(1); }
  33%       { transform: translateY(-24px) scale(1.06); }
  66%       { transform: translateY(16px) scale(0.96); }
}

/* --- 14. Preloader --- */
.preloader {
  position: fixed;
  inset: 0;
  z-index: 9998;
  background: var(--c-navy);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}
.preloader__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-3);
}
.preloader__anchor {
  display: flex;
  align-items: center;
  justify-content: center;
  filter: drop-shadow(0 0 24px rgba(212, 175, 55, 0.4));
}
.preloader__anchor img {
  width: 64px;
  height: 64px;
  filter: brightness(0) saturate(100%) invert(73%) sepia(47%) saturate(548%) hue-rotate(8deg) brightness(95%) contrast(87%);
}
.preloader__brand {
  font-family: var(--ff-heading);
  font-size: var(--fs-xl);
  font-weight: var(--fw-semibold);
  letter-spacing: 0.08em;
  color: var(--c-offwhite);
}
.preloader__brand em {
  color: var(--c-gold);
  font-style: normal;
}
.preloader__bar {
  width: 160px;
  height: 1px;
  background: rgba(212, 175, 55, 0.15);
  overflow: hidden;
  border-radius: 1px;
}
.preloader__bar-fill {
  height: 100%;
  background: linear-gradient(to right, var(--c-gold), var(--c-gold-light));
  transform-origin: left center;
  transform: scaleX(0);
}
