/* =============================================
   VANGUARD DESIGN SYSTEM v3 - $10k Tier
   Ethereal Glass + Asymmetrical Bento
   ============================================= */

/* ===== MOTION TOKENS (contextual easing) ===== */
:root {
  --ease-smooth: cubic-bezier(0.32, 0.72, 0, 1);
  --ease-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --ease-snap: cubic-bezier(0.4, 0, 0.2, 1);
}

/* ===== VIEW TRANSITIONS (page-to-page) ===== */
@view-transition {
  navigation: auto;
}

.nav-wrapper {
  view-transition-name: nav;
}

@media (prefers-reduced-motion: no-preference) {
  ::view-transition-old(root),
  ::view-transition-new(root) {
    animation-duration: 0.45s;
    animation-timing-function: var(--ease-smooth);
  }
}

/* ===== DOUBLE-BEZEL (DOPPELRAND) ===== */

.bezel-outer {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 2rem;
  padding: 0.5rem;
}

.bezel-outer-dark {
  background: rgba(0, 0, 0, 0.03);
  border: 1px solid rgba(0, 0, 0, 0.04);
  border-radius: 2rem;
  padding: 0.5rem;
}

.bezel-inner {
  background: #1C1814;
  border-radius: calc(2rem - 0.5rem);
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

.bezel-inner-light {
  background: #FFFFFF;
  border-radius: calc(2rem - 0.5rem);
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.6);
  overflow: hidden;
}

/* ===== BUTTON-IN-BUTTON CTA ===== */

.cta-nested {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.cta-icon-wrapper {
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 500ms cubic-bezier(0.32, 0.72, 0, 1);
}

.group:hover .cta-icon-wrapper {
  transform: translateX(0.125rem) translateY(-0.0625rem) scale(1.05);
}

/* ===== BASE ===== */

html {
  scroll-behavior: smooth;
}

body {
  overflow-x: hidden;
}

.pb-safe {
  padding-bottom: env(safe-area-inset-bottom);
}

* {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

::selection {
  background: rgba(201, 169, 110, 0.2);
  color: #1C1814;
}

:focus-visible {
  outline: 2px solid #C9A96E;
  outline-offset: 2px;
  border-radius: 4px;
}

a:focus-visible,
button:focus-visible {
  outline: 2px solid #C9A96E;
  outline-offset: 2px;
  border-radius: 9999px;
}

h1, h2, h3, h4, h5, h6 {
  text-wrap: balance;
  overflow-wrap: anywhere;
}

.font-display,
[class*="text-5xl"],
[class*="text-6xl"],
[class*="text-7xl"],
[class*="text-8xl"] {
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.04em;
}

/* ===== PAGE LOAD ===== */

.page-loader {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: #FDFBF7;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  transition: transform 1100ms var(--ease-expo);
}

.page-loader.loaded {
  transform: translateY(-100%);
  pointer-events: none;
}

.page-loader > span {
  font-family: 'Syne', system-ui, sans-serif;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: -0.04em;
  text-transform: uppercase;
  color: #1C1814;
  opacity: 0;
  animation: loaderPulse 1.2s var(--ease-expo) forwards;
}

.loader-counter {
  position: absolute;
  bottom: 2.5rem;
  right: 2.5rem;
  display: flex;
  align-items: flex-start;
  font-family: 'Syne', system-ui, sans-serif;
  font-weight: 800;
  font-size: clamp(4rem, 13vw, 10rem);
  line-height: 0.82;
  letter-spacing: -0.06em;
  color: #1C1814;
}

.loader-num { display: inline-block; }

.loader-pct {
  font-size: 0.28em;
  margin-top: 0.5em;
  margin-left: 0.1em;
  color: #C9A96E;
  font-weight: 700;
}

.loader-bar {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 3px;
  width: 100%;
  background: #C9A96E;
  transform-origin: left center;
  transform: scaleX(0);
}

@media (max-width: 640px) {
  .loader-counter { bottom: 1.5rem; right: 1.5rem; }
}

@keyframes loaderPulse {
  0% { opacity: 0; transform: scale(0.92); }
  40% { opacity: 1; transform: scale(1); }
  80% { opacity: 1; transform: scale(1); }
  100% { opacity: 0.6; transform: scale(1); }
}

/* ===== SCROLL PROGRESS ===== */

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 2px;
  background: #C9A96E;
  z-index: 100;
  transform-origin: left;
  transform: scaleX(0);
  will-change: transform;
}

/* ===== SKIP TO CONTENT ===== */

.skip-to-content {
  position: absolute;
  top: -100%;
  left: 50%;
  transform: translateX(-50%);
  z-index: 100;
  background: #1C1814;
  color: #fff;
  padding: 0.75rem 1.5rem;
  border-radius: 0 0 0.75rem 0.75rem;
  font-family: 'Space Grotesk', monospace;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  transition: top 200ms cubic-bezier(0.32, 0.72, 0, 1);
}

.skip-to-content:focus {
  top: 0;
}

/* ===== NOISE OVERLAY ===== */

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

/* ===== MEGA MARQUEE (editorial divider) ===== */
.mega-marquee {
  overflow: hidden;
  padding: 1.25rem 0;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 7%, #000 93%, transparent);
  mask-image: linear-gradient(to right, transparent, #000 7%, #000 93%, transparent);
}

.mega-marquee-track {
  display: flex;
  width: max-content;
  animation: marquee 42s linear infinite;
}

.mega-marquee-item {
  font-family: 'Syne', system-ui, sans-serif;
  font-weight: 800;
  font-size: clamp(3rem, 11vw, 10rem);
  line-height: 0.9;
  letter-spacing: -0.04em;
  color: #1C1814;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 1.75rem;
  padding-right: 1.75rem;
}

.mega-marquee-item .mm-dot { color: #C9A96E; font-size: 0.5em; }

.mega-marquee:hover .mega-marquee-track { animation-play-state: paused; }

@media (prefers-reduced-motion: reduce) {
  .mega-marquee-track { animation: none; }
}

/* ===== HORIZONTAL GALLERY (progressive: native scroll → pinned upgrade) ===== */

[data-horizontal] {
  position: relative;
}

[data-horizontal-track] {
  display: flex;
  gap: 1.5rem;
  padding: 0 2rem 1.5rem;
  will-change: transform;
  /* Universal fallback = native swipe-scroll */
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

[data-horizontal-track]::-webkit-scrollbar { display: none; }

.h-card,
.h-card-wide {
  flex: 0 0 auto;
  scroll-snap-align: start;
}

.h-card {
  width: 80vw;
  max-width: 380px;
}

.h-card-wide {
  width: 82vw;
  max-width: 560px;
}

/* Pinned upgrade — applied ONLY by JS when GSAP initialises on desktop */
[data-horizontal].hz-pinned {
  height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: #FDFBF7;
}

[data-horizontal].hz-pinned [data-horizontal-track] {
  overflow: visible;
  scroll-snap: none;
  padding: 0 8vw;
  width: 100%;
  flex-shrink: 0;
}

/* ===== SCROLL REVEAL ===== */

[data-reveal] {
  opacity: 0;
  transform: translateY(4rem);
  filter: blur(6px);
  transition:
    opacity 900ms var(--ease-expo),
    transform 1100ms var(--ease-expo),
    filter 900ms var(--ease-expo);
}

[data-reveal].revealed {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}

[data-reveal-delay="1"] { transition-delay: 80ms; }
[data-reveal-delay="2"] { transition-delay: 160ms; }
[data-reveal-delay="3"] { transition-delay: 240ms; }
[data-reveal-delay="4"] { transition-delay: 320ms; }
[data-reveal-delay="5"] { transition-delay: 400ms; }
[data-reveal-delay="6"] { transition-delay: 480ms; }
[data-reveal-delay="7"] { transition-delay: 560ms; }

/* ===== HERO STAGGERED ENTRANCE ===== */

.hero-stagger > * {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 900ms cubic-bezier(0.32, 0.72, 0, 1),
    transform 900ms cubic-bezier(0.32, 0.72, 0, 1);
}

.hero-stagger.hero-in > * {
  opacity: 1;
  transform: translateY(0);
}

.hero-stagger.hero-in > *:nth-child(1) { transition-delay: 120ms; }
.hero-stagger.hero-in > *:nth-child(2) { transition-delay: 220ms; }
.hero-stagger.hero-in > *:nth-child(3) { transition-delay: 320ms; }
.hero-stagger.hero-in > *:nth-child(4) { transition-delay: 420ms; }

/* ===== KINETIC HEADING MASK REVEAL ===== */

.kw {
  display: inline-block;
  overflow: hidden;
  vertical-align: top;
  line-height: inherit;
  padding-bottom: 0.15em;
  margin-bottom: -0.15em;
}

.kw-i {
  display: inline-block;
  transform: translateY(0);
  will-change: transform;
  transition: transform 1000ms var(--ease-expo);
}

/* Words hide ONLY once JS has primed the heading (progressive enhancement:
   if JS fails or is gated off, words stay visible — never a blank heading) */
[data-kinetic].kinetic-ready .kw-i {
  transform: translateY(115%);
}

[data-kinetic].kinetic-ready.kinetic-in .kw-i {
  transform: translateY(0);
}

/* ===== MESH GRADIENTS ===== */

.mesh-dark {
  background:
    radial-gradient(ellipse at 12% 45%, rgba(201,169,110,0.15) 0%, transparent 55%),
    radial-gradient(ellipse at 88% 15%, rgba(180,140,80,0.08) 0%, transparent 50%),
    radial-gradient(ellipse at 45% 85%, rgba(212,163,74,0.06) 0%, transparent 45%),
    #1C1814;
}

.mesh-cta {
  background:
    radial-gradient(ellipse at 50% 50%, rgba(201,169,110,0.22) 0%, transparent 60%),
    radial-gradient(ellipse at 20% 80%, rgba(180,140,80,0.07) 0%, transparent 40%),
    #1C1814;
}

/* ===== CAROUSEL ===== */

.carousel-track {
  display: flex;
  transition: transform 900ms cubic-bezier(0.32, 0.72, 0, 1);
}

.carousel-slide {
  min-width: 100%;
  flex-shrink: 0;
}

.carousel-slide img {
  will-change: transform;
  transition: transform 1200ms cubic-bezier(0.32, 0.72, 0, 1);
}

/* ===== KEN BURNS CINEMATIC ZOOM ===== */

@keyframes kenBurns {
  0% { transform: scale(1) translate(0, 0); }
  50% { transform: scale(1.08) translate(-1%, -0.5%); }
  100% { transform: scale(1) translate(0, 0); }
}

.carousel-slide img.ken-burns {
  animation: kenBurns 20s ease-in-out infinite;
  transform-origin: center 40%;
}

/* ===== HAMBURGER MORPH ===== */

.hamburger-line {
  display: block;
  width: 18px;
  height: 1.5px;
  background: currentColor;
  transition: all 500ms var(--ease-spring);
  transform-origin: center;
}

.hamburger-active .hamburger-line:nth-child(1) {
  transform: rotate(45deg) translate(2.5px, 2.5px);
}

.hamburger-active .hamburger-line:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.hamburger-active .hamburger-line:nth-child(3) {
  transform: rotate(-45deg) translate(2.5px, -2.5px);
}

/* ===== MOBILE OVERLAY ===== */

.mobile-overlay {
  position: fixed;
  inset: 0;
  z-index: 60;
  background: rgba(5, 5, 5, 0.88);
  backdrop-filter: blur(48px);
  -webkit-backdrop-filter: blur(48px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 500ms cubic-bezier(0.32, 0.72, 0, 1);
}

.mobile-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.mobile-overlay .nav-link {
  opacity: 0;
  transform: translateY(2.5rem);
  transition:
    opacity 600ms cubic-bezier(0.32, 0.72, 0, 1),
    transform 600ms cubic-bezier(0.32, 0.72, 0, 1);
}

.mobile-overlay.active .nav-link {
  opacity: 1;
  transform: translateY(0);
}

/* ===== NAV AUTO-HIDE ===== */

.nav-wrapper {
  transition: transform 500ms cubic-bezier(0.32, 0.72, 0, 1),
              opacity 500ms cubic-bezier(0.32, 0.72, 0, 1);
  will-change: transform;
}

.nav-wrapper.nav-hidden {
  transform: translateY(-120%);
  opacity: 0;
}

/* ===== MAGNETIC BUTTON ===== */

.magnetic-btn {
  transition: transform 500ms var(--ease-spring);
  will-change: transform;
}

.nav-wrapper a,
[data-magnetic] {
  transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, transform, opacity;
  transition-duration: 500ms;
  transition-timing-function: var(--ease-smooth);
  will-change: transform;
}

/* ===== 3D TILT ===== */
[data-tilt] {
  position: relative;
  transform-style: preserve-3d;
}

.tilt-spotlight {
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: inherit;
  z-index: 2;
  opacity: 0;
  transition: opacity 350ms var(--ease-smooth);
}

[data-tilt]:hover .tilt-spotlight {
  opacity: 1;
}

/* ===== CUSTOM CURSOR (blend-mode invert) ===== */

.cursor-ring,
.cursor-dot {
  position: fixed;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 9990;
  border-radius: 50%;
  mix-blend-mode: difference;
  will-change: transform;
}

.cursor-ring {
  width: 36px;
  height: 36px;
  margin: -18px 0 0 -18px;
  border: 1px solid #ffffff;
  background-color: transparent;
  opacity: 0;
  transition:
    width 400ms cubic-bezier(0.32, 0.72, 0, 1),
    height 400ms cubic-bezier(0.32, 0.72, 0, 1),
    margin 400ms cubic-bezier(0.32, 0.72, 0, 1),
    background-color 400ms cubic-bezier(0.32, 0.72, 0, 1),
    opacity 400ms cubic-bezier(0.32, 0.72, 0, 1);
}

.cursor-dot {
  width: 6px;
  height: 6px;
  margin: -3px 0 0 -3px;
  background: #ffffff;
  opacity: 0;
  transition: opacity 300ms cubic-bezier(0.32, 0.72, 0, 1);
}

.cursor-ring.cursor-visible,
.cursor-dot.cursor-visible {
  opacity: 1;
}

.cursor-ring.cursor-hover {
  width: 64px;
  height: 64px;
  margin: -32px 0 0 -32px;
  background-color: rgba(255, 255, 255, 0.12);
}

.cursor-dot.cursor-hover {
  opacity: 0;
}

.cursor-ring.cursor-media {
  width: 88px;
  height: 88px;
  margin: -44px 0 0 -44px;
  background-color: rgba(255, 255, 255, 0.18);
  border-color: rgba(255, 255, 255, 0.5);
}

.cursor-ring.cursor-down {
  width: 28px;
  height: 28px;
  margin: -14px 0 0 -14px;
  background-color: rgba(255, 255, 255, 0.25);
}

/* Hide native cursor only when JS activates the custom cursor */
@media (hover: hover) and (pointer: fine) {
  body.cursor-enabled,
  body.cursor-enabled a,
  body.cursor-enabled button,
  body.cursor-enabled input,
  body.cursor-enabled textarea,
  body.cursor-enabled label,
  body.cursor-enabled select {
    cursor: none;
  }
}

/* Never show custom cursor on touch / coarse-pointer devices */
@media (hover: none), (pointer: coarse) {
  .cursor-ring,
  .cursor-dot {
    display: none !important;
  }
}

/* ===== FILTER ANIMATION ===== */

.filter-item {
  transition:
    opacity 500ms cubic-bezier(0.32, 0.72, 0, 1),
    transform 500ms cubic-bezier(0.32, 0.72, 0, 1);
}

.filter-item.filter-hidden {
  opacity: 0;
  transform: scale(0.96);
  pointer-events: none;
  position: absolute;
  visibility: hidden;
}

.filter-item.filter-visible {
  opacity: 1;
  transform: scale(1);
  position: relative;
  visibility: visible;
}

/* ===== FORM VALIDATION ===== */

.newsletter-success {
  color: #C9A96E;
  font-family: 'Space Grotesk', monospace;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-weight: 700;
  opacity: 0;
  transform: translateY(4px);
  transition: all 400ms cubic-bezier(0.32, 0.72, 0, 1);
}

.newsletter-success.show {
  opacity: 1;
  transform: translateY(0);
}

/* ===== SCROLLBAR ===== */

::-webkit-scrollbar {
  width: 5px;
}

::-webkit-scrollbar-track {
  background: transparent;
}

::-webkit-scrollbar-thumb {
  background: rgba(0, 0, 0, 0.12);
  border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
  background: rgba(201, 169, 110, 0.3);
}

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

.footer-premium {
  position: relative;
  overflow: hidden;
}

.footer-premium .footer-cta-band {
  background:
    radial-gradient(ellipse at 30% 50%, rgba(201,169,110,0.1) 0%, transparent 60%),
    radial-gradient(ellipse at 70% 80%, rgba(212,163,74,0.06) 0%, transparent 50%),
    #1C1814;
  border-bottom: 1px solid rgba(255,255,255,0.04);
}

.footer-premium .footer-grid {
  position: relative;
  z-index: 2;
}

.footer-premium .footer-glow {
  position: absolute;
  top: -200px;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 400px;
  background: radial-gradient(ellipse, rgba(201,169,110,0.08) 0%, transparent 70%);
  pointer-events: none;
}

/* ===== SPLIT-TONE IMAGE ===== */

.img-split-tone {
  filter: grayscale(0.3) contrast(1.1) sepia(0.08);
  transition: filter 1200ms cubic-bezier(0.32, 0.72, 0, 1),
              transform 1200ms cubic-bezier(0.32, 0.72, 0, 1);
}

.img-split-tone:hover {
  filter: grayscale(0) contrast(1) sepia(0);
  transform: scale(1.03);
}

/* ===== ANNOUNCEMENT TICKER ===== */

.announcement-ticker {
   font-family: 'Space Grotesk', monospace;
}

@keyframes marquee {
   0% { transform: translateX(0); }
   100% { transform: translateX(-50%); }
}

.animate-marquee {
   display: inline-flex;
   animation: marquee 20s linear infinite;
   white-space: nowrap;
}

/* Pause animation on hover */
.announcement-ticker:hover .animate-marquee {
   animation-play-state: paused;
}

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

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

  [data-reveal] {
    opacity: 1;
    transform: none;
    filter: none;
    transition: none;
  }

  .hero-stagger > * {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .carousel-track {
    transition: none;
  }

  .page-loader {
    display: none;
  }

  .page-loader span {
    animation: none;
  }

  .hamburger-line {
    transition: none;
  }

  .mobile-overlay,
  .mobile-overlay .nav-link {
    transition: none;
  }

  .nav-wrapper {
    transition: none;
  }

  .magnetic-btn {
    transition: none;
  }

  .scroll-progress {
    transition: none;
  }

  .filter-item {
    transition: none;
  }

  body::after {
    display: none;
  }

  .carousel-slide img.ken-burns {
    animation: none;
  }

  .img-split-tone {
    transition: none;
  }
}

/* =============================================
   PRISM v6 — navy / cyan / yellow luxurious light theme.
   Navy ink, off-white paper, yellow + cyan jewel
   accents, muted-teal hairlines. Keeps every
   JS-coupled motion hook above intact.
   ============================================= */

/* ===== THEME OVERRIDES ===== */

html {
  background: #f9fafa;
}

body {
  background: #f9fafa;
  color: #09245e;
}

::selection {
  background: rgba(237, 223, 21, 0.28);
  color: #09245e;
}

:focus-visible {
  outline-color: #eddf15;
}

/* Page loader — off-white */
.page-loader {
  background: #f9fafa;
}
.page-loader > span {
  color: #09245e;
}
.loader-num {
  color: #09245e;
}
.loader-pct {
  color: #4ad9dd;
}
.loader-bar {
  background: #eddf15;
}

/* Scroll progress — yellow */
.scroll-progress {
  background: #eddf15;
}

/* Stroke marquee — navy outline, yellow dot */
.mega-marquee-item {
  color: #09245e;
  -webkit-text-stroke: 0;
}
.mega-marquee-item .mm-dot {
  color: #eddf15;
  -webkit-text-stroke: 0;
}

/* Footer — navy close with cyan + yellow mesh */
.footer-premium .footer-cta-band {
  background:
    radial-gradient(ellipse at 30% 50%, rgba(74,217,221,0.14) 0%, transparent 60%),
    radial-gradient(ellipse at 70% 80%, rgba(237,223,21,0.10) 0%, transparent 50%),
    #09245e;
}

/* ===== HERO ===== */

.na-hero {
  isolation: isolate;
}

.na-hero-frame {
  position: relative;
  padding: 0.5rem;
  border: 1px solid #6c8e8a;
  border-radius: 1.75rem;
  background: rgba(9, 36, 94, 0.03);
}

.na-hero-stage {
  border-radius: 1.4rem;
}

/* Cyan atmosphere behind/over the hero image */
.na-hero-glow {
  position: absolute;
  z-index: 1;
  top: -8%;
  right: -6%;
  width: 46vw;
  height: 46vw;
  max-width: 720px;
  max-height: 720px;
  background: radial-gradient(ellipse, rgba(74, 217, 221, 0.22) 0%, transparent 62%);
  pointer-events: none;
  animation: naGlow 16s ease-in-out infinite;
}

@keyframes naGlow {
  0%, 100% { transform: translate3d(0, 0, 0) scale(1); opacity: 0.85; }
  50% { transform: translate3d(-4%, 3%, 0) scale(1.08); opacity: 1; }
}

.na-slide-veil {
  background: linear-gradient(to top, #f9fafa 0%, rgba(249,250,250,0.94) 18%, rgba(249,250,250,0.5) 40%, rgba(249,250,250,0.12) 64%, transparent 86%);
}

.na-slide-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 0.625rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(9, 36, 94, 0.72);
  margin-bottom: 0.75rem;
}

.na-meta-bar {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 0.625rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(9, 36, 94, 0.7);
  padding-bottom: 0.75rem;
  border-bottom: 1px solid #6c8e8a;
}

.na-rail {
  position: absolute;
  z-index: 3;
  right: 1.5rem;
  top: 50%;
  transform: translateY(-50%) rotate(180deg);
  writing-mode: vertical-rl;
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 0.625rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(9, 36, 94, 0.5);
}

.na-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 0.6875rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(9, 36, 94, 0.72);
  margin-bottom: 1.25rem;
}

.na-eyebrow-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #eddf15;
  box-shadow: 0 0 12px rgba(237, 223, 21, 0.7);
}

.na-wordmark {
  font-size: clamp(3.5rem, 18vw, 15rem);
  line-height: 0.82;
  font-feature-settings: "ss01";
}

.na-tick {
  padding: 1.5rem 0.25rem;
  border-left: 1px solid #6c8e8a;
  padding-left: 1.25rem;
}

.na-tick:first-child {
  border-left: none;
  padding-left: 0.25rem;
}

.na-tick-num {
  display: block;
  font-family: 'Bricolage Grotesque', system-ui, sans-serif;
  font-weight: 700;
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  letter-spacing: -0.03em;
  color: #09245e;
  line-height: 1;
}

.na-tick-label {
  display: block;
  margin-top: 0.5rem;
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 0.625rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: rgba(9, 36, 94, 0.7);
}

/* ===== SECTION HEAD ===== */

.na-section-head {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 0.6875rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
}

.na-index {
  color: #09245e;
  white-space: nowrap;
}

.na-index-meta {
  color: rgba(9, 36, 94, 0.7);
  white-space: nowrap;
}

.na-rule {
  flex: 1 1 auto;
  height: 1px;
  background: #6c8e8a;
  min-width: 1.5rem;
}

/* ===== HERO CAROUSEL NAV ===== */

.na-hero-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 2.75rem;
  height: 2.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 9999px;
  background: rgba(249, 250, 250, 0.9);
  border: 1px solid #6c8e8a;
  color: #09245e;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  opacity: 0;
  transition: opacity 400ms var(--ease-smooth), background-color 400ms var(--ease-smooth), color 400ms var(--ease-smooth), border-color 400ms var(--ease-smooth);
}

.na-hero-frame:hover .na-hero-arrow,
.na-hero-arrow:focus-visible {
  opacity: 1;
}

.na-hero-arrow:hover {
  background: #09245e;
  color: #f9fafa;
  border-color: #09245e;
}

@media (hover: none) {
  .na-hero-arrow { opacity: 1; }
}

.na-hero-dot {
  width: 7px;
  height: 7px;
  border-radius: 9999px;
  background: rgba(9, 36, 94, 0.55);
  border: none;
  padding: 0;
  transition: background-color 500ms var(--ease-smooth);
}

.na-hero-dot[aria-current="true"] {
  background: #eddf15;
}

/* ===== FIELD NOTES ===== */

.na-feature {
  display: flex;
  flex-direction: column;
  border: 1px solid #6c8e8a;
  border-radius: 1.5rem;
  overflow: hidden;
  background: #ffffff;
  transition: border-color 500ms var(--ease-smooth);
}

@media (min-width: 1024px) {
  .na-feature { flex-direction: row; }
  .na-feature-media { width: 42%; }
  .na-feature-body { width: 58%; }
}

.na-feature:hover {
  border-color: rgba(74, 217, 221, 0.7);
}

.na-feature-media {
  position: relative;
  overflow: hidden;
  min-height: 260px;
}

.na-feature-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.6s var(--ease-expo), filter 600ms var(--ease-smooth);
  transform: scale(1.3);
}

.na-feature:hover .na-feature-media img {
  filter: brightness(1.06) saturate(1.05);
}

.na-feature-body {
  padding: 2rem;
  display: flex;
  flex-direction: column;
}

.na-feature-cta {
  margin-top: auto;
  padding-top: 1.5rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #09245e;
}

.na-card {
  display: flex;
  flex-direction: column;
  border: 1px solid #6c8e8a;
  border-radius: 1.5rem;
  overflow: hidden;
  background: #ffffff;
  transition: border-color 500ms var(--ease-smooth);
}

.na-card:hover {
  border-color: rgba(74, 217, 221, 0.7);
}

.na-card-media {
  overflow: hidden;
}

.na-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.6s var(--ease-expo), filter 600ms var(--ease-smooth);
  transform: scale(1.3);
}

.na-card:hover .na-card-media img {
  filter: brightness(1.06) saturate(1.05);
}

.na-card-body {
  padding: 1.5rem;
}

.na-card-event {
  background: #eddf15;
  color: #09245e;
  border-radius: 1.5rem;
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  min-height: 220px;
}

/* ===== NEXUS TILES ===== */

.na-tile {
  position: relative;
  display: flex;
  flex-direction: column;
  border: 1px solid #6c8e8a;
  border-radius: 1.5rem;
  background: #ffffff;
  padding: 1.75rem;
  overflow: hidden;
  min-height: 280px;
  transition: border-color 500ms var(--ease-smooth);
}

.na-tile:hover {
  border-color: rgba(74, 217, 221, 0.7);
}

.na-tile-feature {
  min-height: 440px;
}

.na-tile-honey {
  background: #eddf15;
  color: #09245e;
  border-color: rgba(9, 36, 94, 0.1);
}

.na-tile-row {
  flex-direction: row;
  align-items: center;
  gap: 1.5rem;
  min-height: 200px;
}

.na-tile-media {
  background: #f9fafa;
  border-color: rgba(9, 36, 94, 0.08);
  justify-content: flex-end;
  padding: 1.75rem;
}

.na-thumb {
  width: 7rem;
  height: 7rem;
  border-radius: 1rem;
  overflow: hidden;
  flex-shrink: 0;
}

.na-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1200ms var(--ease-smooth);
}

.na-tile-row:hover .na-thumb img {
  transform: scale(1.08);
}

/* ===== RELIEF GALLERY CELLS ===== */

.na-gallery {
  border: 1px solid #6c8e8a;
  border-radius: 1.25rem;
  overflow: hidden;
  height: 100%;
  background: #ffffff;
  transition: border-color 500ms var(--ease-smooth);
}

.na-gallery img {
  transition: transform 1200ms var(--ease-smooth);
}

.na-gallery:hover {
  border-color: rgba(74, 217, 221, 0.7);
}

.na-gallery:hover img {
  transform: scale(1.04);
}

.na-gallery-stat {
  border: 1px solid #6c8e8a;
  border-radius: 1.25rem;
  background: #ffffff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 1.5rem;
  aspect-ratio: 1 / 1;
}

.na-gallery-quote {
  background: #f9fafa;
  border: 1px solid #6c8e8a;
  border-radius: 1.5rem;
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100%;
  min-height: 260px;
}

/* ===== CTA MESH ===== */

.na-cta-mesh {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 50% 40%, rgba(74, 217, 221, 0.12) 0%, transparent 55%),
    radial-gradient(ellipse at 15% 85%, rgba(237, 223, 21, 0.08) 0%, transparent 45%);
  pointer-events: none;
}

/* ===== TWITTER WIDGET ===== */

.tw-live-dot {
  width: 7px;
  height: 7px;
  border-radius: 9999px;
  background: #4ad9dd;
  animation: twPulse 2s infinite;
}

@keyframes twPulse {
  0% { box-shadow: 0 0 0 0 rgba(74, 217, 221, 0.55); }
  70% { box-shadow: 0 0 0 8px rgba(74, 217, 221, 0); }
  100% { box-shadow: 0 0 0 0 rgba(74, 217, 221, 0); }
}

/* ===== MEGA MENU ===== */

.mega-trigger {
  background: transparent;
  border: none;
  padding: 0;
  cursor: pointer;
  font: inherit;
  color: inherit;
}

.mega-chev {
  transition: transform 400ms var(--ease-smooth);
}

.nav-wrapper.mega-open .mega-trigger[aria-expanded="true"] .mega-chev {
  transform: rotate(180deg);
}

.mega-panel {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  z-index: 50;
  background: #ffffff;
  border-top: 1px solid rgba(108, 142, 138, 0.4);
  border-bottom: 1px solid #6c8e8a;
  box-shadow: 0 28px 56px -28px rgba(9, 36, 94, 0.22);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  pointer-events: none;
  transition: opacity 400ms var(--ease-smooth), transform 400ms var(--ease-smooth), visibility 400ms;
}

.mega-panel.open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

@media (max-width: 1023px) {
  .mega-panel { display: none; }
}

.mega-head {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 0.625rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: rgba(9, 36, 94, 0.55);
  margin-bottom: 1.25rem;
}

.mega-link {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  padding: 0.4rem 0 0.4rem 0.25rem;
  position: relative;
}

.mega-link::before {
  content: "";
  position: absolute;
  left: -0.75rem;
  top: 1.1rem;
  width: 8px;
  height: 1.5px;
  background: #eddf15;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 300ms var(--ease-smooth);
}

.mega-link-title {
  font-family: 'Schibsted Grotesk', system-ui, sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  color: #09245e;
  transition: transform 300ms var(--ease-smooth);
}

.mega-link-desc {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 0.625rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(9, 36, 94, 0.65);
}

.mega-link:hover::before { transform: scaleX(1); }
.mega-link:hover .mega-link-title { transform: translateX(4px); }

.mega-feature {
  display: flex;
  flex-direction: column;
  border: 1px solid #6c8e8a;
  border-radius: 1rem;
  overflow: hidden;
  background: #fff;
  transition: border-color 400ms var(--ease-smooth);
}

.mega-feature:hover { border-color: rgba(74, 217, 221, 0.7); }

.mega-feature-media {
  aspect-ratio: 16 / 10;
  overflow: hidden;
}

.mega-feature-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s var(--ease-smooth);
}

.mega-feature:hover .mega-feature-media img { transform: scale(1.05); }

.mega-feature-body {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.mega-feature-tag {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 0.625rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: rgba(9, 36, 94, 0.65);
}

.mega-feature-title {
  font-family: 'Bricolage Grotesque', system-ui, sans-serif;
  font-weight: 700;
  font-size: 1.05rem;
  line-height: 1.18;
  color: #09245e;
}

.mega-feature-cta {
  margin-top: 0.4rem;
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: #09245e;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.mega-feature-cta svg { transition: transform 300ms var(--ease-smooth); }
.mega-feature:hover .mega-feature-cta svg { transform: translateX(3px); }

/* ===== MOTION+ : reveals, scrub parallax, micro-interactions ===== */

/* Variable-font optical size — display headings breathe at scale */
.font-display {
  font-variation-settings: "opsz" 40;
}
[data-kinetic] {
  font-variation-settings: "opsz" 80;
  transition: font-variation-settings 700ms var(--ease-smooth);
}

/* Directional clip-path image reveal.
   Observed via vanguard.js (.img-reveal → .revealed). */
.img-reveal {
  clip-path: inset(0% 0% 100% 0%);
  transition: clip-path 1.2s var(--ease-expo);
}
.img-reveal.img-r-left { clip-path: inset(0% 100% 0% 0%); }
.img-reveal.img-r-right { clip-path: inset(0% 0% 0% 100%); }
.img-reveal.revealed {
  clip-path: inset(0% 0% 0% 0%);
}
.img-reveal.revealed > img,
.img-reveal.revealed > picture > img {
  transform: scale(1);
}

/* Scroll-scrubbed outline word (signature parallax) */
.scrub-word {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}
.scrub-word span {
  font-family: 'Bricolage Grotesque', system-ui, sans-serif;
  font-weight: 800;
  font-size: clamp(8rem, 30vw, 24rem);
  line-height: 0.8;
  letter-spacing: -0.05em;
  color: transparent;
  -webkit-text-stroke: 1px rgba(9, 36, 94, 0.07);
  white-space: nowrap;
  will-change: transform;
}

/* Link underline grow */
.link-ul {
  position: relative;
}
.link-ul::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 100%;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right center;
  transition: transform 0.5s var(--ease-smooth);
}
.link-ul:hover::after,
.link-ul:focus-visible::after {
  transform: scaleX(1);
  transform-origin: left center;
}

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

@media (prefers-reduced-motion: reduce) {
  .na-hero-glow,
  .tw-live-dot { animation: none; }
  .na-feature-media img,
  .na-card-media img,
  .na-thumb img,
  .na-gallery img,
  .mega-feature-media img,
  .mega-feature-cta svg {
    transition: none;
  }
  .img-reveal {
    clip-path: inset(0% 0% 0% 0%);
    transition: none;
  }
  .img-reveal > img,
  .img-reveal > picture > img {
    transform: none;
  }
  .scrub-word span {
    -webkit-text-stroke: 0;
    color: rgba(9, 36, 94, 0.05);
  }
}
