/* ── BASE — reset, variables, shared components ── */

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

:root{
  --deep:   #050d1a;
  --mid:    #0a2540;
  --light:  #0f3460;
  --accent: #00d4ff;
  --glow:   rgba(0,212,255,0.25);
  --white:  #fff;
  --off:    #f6f9fb;
  --dark:   #0d1b2a;
  --muted:  #4a5c72;
  --green:  #22c55e;
  --yellow: #f59e0b;
  --red:    #ef4444;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--white);
  color: var(--dark);
  overflow-x: hidden;
}

/* ── NAV ── */
#nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 64px;
  transition: background .4s, padding .4s, box-shadow .4s;
}
#nav.solid {
  background: rgba(5,13,26,.93);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  padding: 15px 64px;
  box-shadow: 0 1px 0 rgba(0,212,255,.12);
}
#nav.always-solid {
  background: rgba(5,13,26,.95);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  padding: 18px 64px;
  border-bottom: 1px solid rgba(0,212,255,.1);
}

.logo {
  font-family: 'Playfair Display', serif;
  font-size: 18px;
  font-weight: 900;
  color: #fff;
  text-decoration: none;
  letter-spacing: .03em;
}
.logo em { color: var(--accent); font-style: normal; }

.nav-links {
  display: flex;
  gap: 32px;
  list-style: none;
}
.nav-links a {
  color: rgba(255,255,255,.65);
  text-decoration: none;
  font-size: 13px;
  font-weight: 400;
  letter-spacing: .1em;
  text-transform: uppercase;
  transition: color .2s;
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -5px; left: 0;
  width: 0; height: 1px;
  background: var(--accent);
  transition: width .3s;
}
.nav-links a:hover { color: var(--accent); }
.nav-links a:hover::after { width: 100%; }

.nav-links a.nav-cta {
  color: var(--accent);
  border: 1px solid rgba(0,212,255,.35);
  padding: 6px 14px;
}
.nav-links a.nav-cta:hover { background: rgba(0,212,255,.1); }
.nav-links a.nav-cta::after { display: none; }

.nav-back {
  color: rgba(255,255,255,.5);
  text-decoration: none;
  font-size: 12px;
  font-weight: 400;
  letter-spacing: .12em;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: color .2s;
  border-left: 1px solid rgba(255,255,255,.12);
  padding-left: 24px;
}
.nav-back:hover { color: var(--accent); }

/* ── WAVE ── */
.wave { line-height: 0; display: block; }

/* ── SECTION HEADER ── */
.s-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 52px;
}
.s-eye {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 8px;
}
.s-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(30px, 3.5vw, 46px);
  font-weight: 700;
  color: var(--dark);
  line-height: 1.15;
}
.s-more {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--accent);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: gap .3s;
  white-space: nowrap;
  padding-bottom: 4px;
}
.s-more:hover { gap: 14px; }

/* ── FOOTER ── */
footer {
  background: var(--deep);
  border-top: 1px solid rgba(0,212,255,.1);
}
.ft-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  padding: 62px 64px 0;
  margin-bottom: 48px;
}
.ft-brand p {
  font-size: 14px;
  font-weight: 300;
  color: rgba(255,255,255,.38);
  line-height: 1.75;
  margin-top: 14px;
  max-width: 260px;
}
.ft-affiliate {
  font-size: 11px;
  font-weight: 300;
  color: rgba(255,255,255,.22);
  line-height: 1.6;
  margin-top: 12px;
  max-width: 260px;
  border-top: 1px solid rgba(255,255,255,.07);
  padding-top: 10px;
}
.ft-col-t {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: rgba(255,255,255,.28);
  margin-bottom: 18px;
}
.ft-links { list-style: none; display: flex; flex-direction: column; gap: 9px; }
.ft-links a {
  font-size: 14px;
  color: rgba(255,255,255,.45);
  text-decoration: none;
  transition: color .2s;
}
.ft-links a:hover { color: var(--accent); }
.ft-bot {
  padding: 24px 64px 38px;
  border-top: 1px solid rgba(255,255,255,.05);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.ft-simple {
  padding: 40px 64px 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}
.ft-copy { font-size: 12px; color: rgba(255,255,255,.18); }
.ft-aff  { font-size: 11px; color: rgba(255,255,255,.15); }

/* ── HAMBURGER BUTTON ── */
.nav-burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  z-index: 300;
}
.nav-burger span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: rgba(255,255,255,.75);
  transition: transform .3s, opacity .3s, width .3s;
  transform-origin: center;
}
.nav-burger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-burger.open span:nth-child(2) { opacity: 0; width: 0; }
.nav-burger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ── MOBILE MENU OVERLAY ── */
.nav-mobile {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(5,13,26,.97);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  z-index: 250;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity .35s;
}
.nav-mobile.open {
  opacity: 1;
  pointer-events: all;
}
.nav-mobile-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  width: 100%;
}
.nav-mobile-links a {
  display: block;
  width: 100%;
  text-align: center;
  padding: 22px 32px;
  font-family: 'Playfair Display', serif;
  font-size: 26px;
  font-weight: 700;
  color: rgba(255,255,255,.8);
  text-decoration: none;
  border-bottom: 1px solid rgba(255,255,255,.05);
  transition: color .2s;
}
.nav-mobile-links a:hover { color: var(--accent); }
body.nav-open { overflow: hidden; }

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  /* NAV */
  #nav { padding: 16px 20px; }
  #nav.solid,
  #nav.always-solid { padding: 14px 20px; }
  .nav-links { display: none; }
  .nav-back { display: none; }
  .nav-burger { display: flex; }
  .nav-mobile { display: flex; }

  /* SECTION HEADER */
  .s-head { flex-direction: column; align-items: flex-start; gap: 16px; margin-bottom: 36px; }

  /* FOOTER */
  .ft-grid {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 48px 24px 0;
  }
  .ft-simple {
    padding: 32px 24px 24px;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
  .ft-bot { padding: 20px 24px 32px; flex-direction: column; gap: 10px; align-items: flex-start; }
}

/* ── SCROLL REVEAL ── */
.fu {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .85s cubic-bezier(.25,.46,.45,.94),
              transform .85s cubic-bezier(.25,.46,.45,.94);
}
.fu.in { opacity: 1; transform: translateY(0); }
.d1 { transition-delay: .1s; }
.d2 { transition-delay: .2s; }
.d3 { transition-delay: .3s; }
.d4 { transition-delay: .4s; }
.d5 { transition-delay: .5s; }
