/* ===================================================================
   DOUBLE B TRAVEL — Shared Stylesheet
   Palette: Electric Orange + Vibrant Blue on Deep Navy
   =================================================================== */

:root {
  --navy-950: #050f26;
  --navy-900: #081b3d;
  --navy-800: #0d2755;
  --navy-700: #123572;
  --blue-500: #0072ff;
  --blue-400: #3d94ff;
  --blue-300: #7fb8ff;
  --orange-500: #ff6a00;
  --orange-400: #ff8a1f;
  --orange-300: #ffb347;
  --ice-100: #eef4ff;
  --white: #ffffff;
  --text-dim: #b9c7e6;

  --font-display: "Poppins", "Segoe UI", sans-serif;
  --font-body: "Inter", "Segoe UI", sans-serif;

  --container: 1200px;
  --nav-h: 84px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  background: var(--navy-950);
  color: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }

.wrap {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 28px;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  margin: 0;
  line-height: 1.08;
}

/* focus visibility for accessibility */
a:focus-visible, button:focus-visible {
  outline: 3px solid var(--orange-300);
  outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
}

/* ===================== HEADER / BANNER ===================== */
.site-header {
  position: relative;
  z-index: 5;
  background: var(--navy-950);
}

.banner-photo {
  width: 100%;
  line-height: 0;
  background: #000;
}
.banner-photo img {
  width: 100%;
  height: auto;
  display: block;
}

/* ===================== NAV ===================== */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  width: 100%;
  background: rgba(5, 15, 38, 0.92);
  border-bottom: 1px solid rgba(255, 138, 31, 0.2);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  transition: box-shadow 0.3s ease;
}
.site-nav.is-stuck { box-shadow: 0 10px 30px rgba(0,0,0,0.35); }

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding-top: 14px;
  padding-bottom: 14px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.02rem;
  letter-spacing: 0.02em;
  white-space: nowrap;
  opacity: 0;
  transform: translateY(-6px);
  transition: opacity 0.3s ease, transform 0.3s ease;
  pointer-events: none;
}
.site-nav.is-stuck .nav-logo { opacity: 1; transform: translateY(0); pointer-events: auto; }
.nav-logo img { height: 40px; width: auto; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-links > li { position: relative; }

.nav-links > li > a,
.nav-links > li > button.nav-link-btn {
  display: flex;
  align-items: center;
  gap: 5px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.92rem;
  letter-spacing: 0.02em;
  color: var(--white);
  padding: 12px 16px;
  border-radius: 100px;
  background: none;
  border: none;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}

.nav-links > li > a:hover,
.nav-links > li > button.nav-link-btn:hover,
.nav-links > li.open > button.nav-link-btn {
  background: rgba(255, 106, 0, 0.16);
  color: var(--orange-300);
}

.caret {
  width: 9px; height: 9px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  margin-top: -3px;
  transition: transform 0.2s ease;
}
.nav-links > li.open .caret { transform: rotate(-135deg); margin-top: 3px; }

.dropdown {
  position: absolute;
  top: calc(100% + 14px);
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  min-width: 240px;
  background: var(--navy-900);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 18px;
  padding: 10px;
  box-shadow: 0 20px 45px rgba(0,0,0,0.45);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s;
  z-index: 50;
}
.nav-links > li.open .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.dropdown a {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 10px 14px;
  border-radius: 12px;
  font-family: var(--font-body);
}
.dropdown a:hover { background: rgba(0, 114, 255, 0.18); }
.dropdown a strong { font-size: 0.92rem; font-weight: 700; color: var(--white); }
.dropdown a span { font-size: 0.78rem; color: var(--text-dim); }
.dropdown a .soon {
  display: inline-block;
  margin-top: 2px;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--orange-300);
}

.nav-cta {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--navy-950);
  background: linear-gradient(90deg, var(--orange-400), var(--orange-500));
  padding: 12px 22px;
  border-radius: 100px;
  white-space: nowrap;
  box-shadow: 0 8px 20px rgba(255, 106, 0, 0.35);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.nav-cta:hover { transform: translateY(-2px); box-shadow: 0 12px 26px rgba(255, 106, 0, 0.48); }

.nav-toggle {
  display: none;
  width: 44px; height: 44px;
  border-radius: 100px;
  border: 1px solid rgba(255,255,255,0.18);
  background: rgba(255,255,255,0.06);
  color: var(--white);
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.nav-toggle .bars { position: relative; width: 18px; height: 12px; }
.nav-toggle .bars span {
  position: absolute; left: 0; width: 100%; height: 2px; background: var(--white); border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease, top 0.25s ease;
}
.nav-toggle .bars span:nth-child(1) { top: 0; }
.nav-toggle .bars span:nth-child(2) { top: 5px; }
.nav-toggle .bars span:nth-child(3) { top: 10px; }
.nav-open .nav-toggle .bars span:nth-child(1) { top: 5px; transform: rotate(45deg); }
.nav-open .nav-toggle .bars span:nth-child(2) { opacity: 0; }
.nav-open .nav-toggle .bars span:nth-child(3) { top: 5px; transform: rotate(-45deg); }

/* ===================== HERO ===================== */
.hero {
  position: relative;
  background:
    radial-gradient(ellipse 900px 500px at 15% 0%, rgba(0, 114, 255, 0.16), transparent 60%),
    radial-gradient(ellipse 700px 500px at 100% 30%, rgba(255, 106, 0, 0.12), transparent 60%),
    var(--navy-950);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.hero-content {
  position: relative;
  z-index: 5;
  width: 100%;
  padding-bottom: 100px;
  padding-top: 96px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--orange-300);
  margin-bottom: 22px;
}
.eyebrow::before {
  content: "";
  width: 30px; height: 2px;
  background: var(--orange-400);
}

.hero h1 {
  font-size: clamp(2.4rem, 5.4vw, 4.6rem);
  font-weight: 800;
  letter-spacing: -0.01em;
  max-width: 13ch;
  text-shadow: 0 6px 40px rgba(0,0,0,0.35);
}
.hero h1 .flip { color: var(--orange-400); }

.hero-sub {
  margin-top: 22px;
  max-width: 46ch;
  font-size: 1.08rem;
  line-height: 1.6;
  color: var(--ice-100);
}

.hero-actions {
  margin-top: 36px;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  padding: 16px 28px;
  border-radius: 100px;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.btn-primary {
  background: linear-gradient(90deg, var(--orange-400), var(--orange-500));
  color: var(--navy-950);
  box-shadow: 0 10px 26px rgba(255, 106, 0, 0.38);
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 16px 32px rgba(255, 106, 0, 0.5); }
.btn-outline {
  background: rgba(255,255,255,0.06);
  border: 1.5px solid var(--blue-400);
  color: var(--white);
}
.btn-outline:hover { background: rgba(61, 148, 255, 0.18); transform: translateY(-3px); }

/* ---- racing stripe strip ---- */
.racetrack {
  position: relative;
  height: 34px;
  margin-top: 46px;
  overflow: hidden;
  border-top: 1px solid rgba(255,255,255,0.14);
  border-bottom: 1px solid rgba(255,255,255,0.14);
  background: rgba(3, 9, 24, 0.55);
}
.racetrack .lane {
  position: absolute;
  top: 0; left: 0;
  width: 200%;
  height: 100%;
  background-repeat: repeat-x;
  background-size: 90px 100%;
  opacity: 0.95;
}
.racetrack .lane.orange {
  background-image: repeating-linear-gradient(112deg, var(--orange-400) 0 26px, transparent 26px 45px);
  animation: race-right 5.5s linear infinite;
  top: 0; height: 50%;
}
.racetrack .lane.blue {
  background-image: repeating-linear-gradient(112deg, var(--blue-400) 0 26px, transparent 26px 45px);
  animation: race-left 5.5s linear infinite;
  top: 50%; height: 50%;
}
@keyframes race-right { from { transform: translateX(-50%); } to { transform: translateX(0%); } }
@keyframes race-left  { from { transform: translateX(0%); } to { transform: translateX(-50%); } }

/* ===================== SECTIONS ===================== */
section { position: relative; }

.section-pad { padding: 110px 0; }

.eyebrow-sm {
  font-family: var(--font-display);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--blue-300);
  margin-bottom: 16px;
  display: block;
}

.section-head {
  max-width: 640px;
  margin-bottom: 56px;
}
.section-head h2 {
  font-size: clamp(1.9rem, 3.4vw, 2.7rem);
  font-weight: 800;
}
.section-head p {
  margin-top: 16px;
  color: var(--text-dim);
  font-size: 1.05rem;
  line-height: 1.7;
}

/* welcome / intro */
.welcome {
  background: var(--navy-950);
}
.welcome-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 70px;
  align-items: center;
}
.welcome-copy p {
  color: var(--text-dim);
  font-size: 1.06rem;
  line-height: 1.8;
  margin: 0 0 18px;
}
.welcome-copy p strong { color: var(--white); }
.signature-line {
  margin-top: 26px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--orange-300);
}
.signature-line span { display: block; font-size: 0.8rem; font-weight: 500; color: var(--text-dim); margin-top: 4px; }

.welcome-card {
  position: relative;
  border-radius: 28px;
  padding: 3px;
  background: linear-gradient(135deg, var(--orange-400), var(--blue-500));
}
.welcome-card-inner {
  border-radius: 26px;
  background: var(--navy-900);
  padding: 40px;
}
.stat-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}
.stat-grid .stat h3 {
  font-size: 2.1rem;
  font-weight: 800;
  background: linear-gradient(90deg, var(--orange-300), var(--blue-300));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.stat-grid .stat p {
  margin: 6px 0 0;
  font-size: 0.86rem;
  color: var(--text-dim);
  line-height: 1.4;
}

/* services */
.services { background: var(--navy-900); }
.card-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.service-card {
  background: var(--navy-800);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 22px;
  padding: 32px 26px;
  transition: transform 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}
.service-card:hover {
  transform: translateY(-6px);
  border-color: var(--orange-400);
  background: linear-gradient(160deg, var(--navy-800), var(--navy-700));
}
.service-icon {
  width: 52px; height: 52px;
  border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--orange-500), var(--blue-500));
  margin-bottom: 22px;
}
.service-icon svg { width: 26px; height: 26px; stroke: var(--white); fill: none; stroke-width: 2; }
.service-card h3 { font-size: 1.12rem; font-weight: 700; margin-bottom: 10px; }
.service-card p { color: var(--text-dim); font-size: 0.92rem; line-height: 1.6; margin: 0; }

/* why us strip */
.why { background: var(--navy-950); }
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
.why-item {
  padding: 30px 8px;
  border-top: 3px solid var(--orange-400);
}
.why-item:nth-child(2) { border-top-color: var(--blue-400); }
.why-item:nth-child(3) { border-top-color: var(--orange-400); }
.why-item h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 10px; }
.why-item p { color: var(--text-dim); font-size: 0.94rem; line-height: 1.65; margin: 0; }

/* cta band */
.cta-band {
  background: linear-gradient(120deg, var(--navy-900), var(--navy-800));
  border-top: 1px solid rgba(255,138,31,0.18);
  border-bottom: 1px solid rgba(0,114,255,0.18);
  padding: 90px 0;
  text-align: center;
}
.cta-band h2 {
  font-size: clamp(1.8rem, 3.6vw, 2.6rem);
  font-weight: 800;
  max-width: 18ch;
  margin: 0 auto;
}
.cta-band .hero-sub { margin-left: auto; margin-right: auto; text-align: center; }
.cta-band .hero-actions { justify-content: center; margin-top: 34px; }

/* ===================== FOOTER ===================== */
.site-footer {
  position: relative;
  background: var(--navy-950);
  border-top: 1px solid rgba(255,255,255,0.08);
  overflow: hidden;
  padding-top: 90px;
}

.footer-watermark {
  position: absolute;
  right: -6%;
  top: 50%;
  transform: translateY(-50%);
  width: 620px;
  max-width: 60vw;
  opacity: 0.05;
  filter: saturate(0.6);
  pointer-events: none;
  animation: float-logo 9s ease-in-out infinite;
}
@keyframes float-logo {
  0%, 100% { transform: translateY(-50%) translateX(0) rotate(0deg); }
  50% { transform: translateY(-54%) translateX(-14px) rotate(-2deg); }
}

.footer-top {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.3fr 0.9fr 0.9fr 1fr;
  gap: 50px;
  padding-bottom: 60px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-brand img { height: 54px; width: auto; margin-bottom: 18px; }
.footer-brand p { color: var(--text-dim); font-size: 0.92rem; line-height: 1.7; max-width: 32ch; margin: 0; }

.footer-social {
  display: flex;
  gap: 12px;
  margin-top: 22px;
}
.footer-social a {
  width: 42px; height: 42px;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  background: var(--navy-800);
  border: 1px solid rgba(255,255,255,0.1);
  transition: transform 0.2s ease, background 0.2s ease;
}
.footer-social a:hover { background: linear-gradient(135deg, var(--orange-500), var(--blue-500)); transform: translateY(-3px); }
.footer-social svg { width: 19px; height: 19px; fill: var(--white); }

.footer-col h4 {
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--orange-300);
  margin-bottom: 20px;
}
.footer-col ul li { margin-bottom: 13px; }
.footer-col ul li a {
  color: var(--text-dim);
  font-size: 0.94rem;
  transition: color 0.2s ease, padding-left 0.2s ease;
}
.footer-col ul li a:hover { color: var(--white); padding-left: 4px; }

.footer-col .contact-line {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--text-dim);
  font-size: 0.92rem;
  margin-bottom: 16px;
  line-height: 1.5;
}
.footer-col .contact-line svg { width: 17px; height: 17px; flex-shrink: 0; margin-top: 2px; stroke: var(--orange-300); fill: none; stroke-width: 2; }
.footer-col .contact-line a:hover { color: var(--white); }

.footer-bottom {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
  padding: 26px 0 34px;
  font-size: 0.82rem;
  color: var(--text-dim);
}
.footer-bottom .legal-links { display: flex; gap: 22px; }
.footer-bottom .legal-links a:hover { color: var(--orange-300); }

/* ===================== PAGE BANNER (interior pages) ===================== */
.page-banner {
  position: relative;
  width: 100%;
  overflow: hidden;
  background: var(--navy-950);
  line-height: 0;
}
.page-banner img {
  width: 100%;
  height: auto;
  display: block;
}
.page-banner::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(5,12,30,0.22) 0%, rgba(4,10,26,0.4) 55%, rgba(3,9,24,0.94) 100%);
}
.page-banner-content {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding-bottom: 34px;
}
.page-banner-content .eyebrow { margin-bottom: 10px; }
.page-banner-content h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
}

/* ===================== STORY SECTION ===================== */
.story { background: var(--navy-950); }
.story-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 60px;
  align-items: start;
}
.story-copy p {
  color: var(--text-dim);
  font-size: 1.05rem;
  line-height: 1.85;
  margin: 0 0 20px;
}
.story-copy p strong { color: var(--white); }
.story-pull {
  border-radius: 24px;
  padding: 2px;
  background: linear-gradient(150deg, var(--orange-400), var(--blue-500));
  position: sticky;
  top: 110px;
}
.story-pull-inner {
  background: var(--navy-900);
  border-radius: 22px;
  padding: 36px 32px;
}
.story-pull-inner .quote-mark {
  font-family: var(--font-display);
  font-size: 3.2rem;
  font-weight: 800;
  line-height: 1;
  color: var(--orange-400);
  margin-bottom: 6px;
}
.story-pull-inner p {
  font-family: var(--font-display);
  font-size: 1.28rem;
  font-weight: 700;
  line-height: 1.45;
  color: var(--white);
  margin: 0 0 18px;
}
.story-pull-inner span {
  display: block;
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--text-dim);
}

/* ===================== CREW ===================== */
.crew { background: var(--navy-900); }
.crew-layout {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 56px;
  align-items: center;
}
.crew-photo-wrap {
  border-radius: 26px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.1);
  background: linear-gradient(160deg, var(--navy-800), var(--navy-950));
}
.crew-photo-wrap img { width: 100%; height: auto; display: block; }

.crew-cards { display: flex; flex-direction: column; gap: 18px; }
.crew-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 18px;
  align-items: flex-start;
  background: var(--navy-800);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 18px;
  padding: 22px 24px;
}
.crew-card .initial {
  width: 46px; height: 46px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.05rem;
  color: var(--navy-950);
  background: linear-gradient(135deg, var(--orange-400), var(--orange-500));
  flex-shrink: 0;
}
.crew-card:nth-child(3) .initial { background: linear-gradient(135deg, var(--blue-400), var(--blue-500)); }
.crew-card h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: 2px; }
.crew-card .role {
  display: block;
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--orange-300);
  margin-bottom: 8px;
}
.crew-card:nth-child(3) .role { color: var(--blue-300); }
.crew-card p { color: var(--text-dim); font-size: 0.92rem; line-height: 1.6; margin: 0; }

/* ===================== INFO STRIP (why / naming) ===================== */
.info-strip { background: var(--navy-950); }
.info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 26px;
}
.info-card {
  background: var(--navy-900);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 22px;
  padding: 34px;
}
.info-card .tag {
  display: inline-block;
  font-size: 1.3rem;
  margin-bottom: 14px;
}
.info-card h3 { font-size: 1.2rem; font-weight: 700; margin-bottom: 12px; }
.info-card p { color: var(--text-dim); font-size: 0.96rem; line-height: 1.7; margin: 0 0 10px; }
.info-card p:last-child { margin-bottom: 0; }
.info-card strong { color: var(--white); }

/* ===================== GALLERY ===================== */
.gallery { background: var(--navy-900); }
.gallery-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 40px;
}
.gallery-head .section-head { margin-bottom: 0; }
.gallery-count {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-dim);
  padding: 10px 18px;
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 100px;
  white-space: nowrap;
}
.gallery-count strong { color: var(--orange-300); }

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 220px;
  gap: 14px;
}
.gallery-grid figure {
  position: relative;
  margin: 0;
  border-radius: 16px;
  overflow: hidden;
  cursor: pointer;
  background: var(--navy-800);
}
.gallery-grid figure.tall { grid-row: span 2; }
.gallery-grid figure.wide { grid-column: span 2; }
.gallery-grid img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}
.gallery-grid figure:hover img { transform: scale(1.07); }
.gallery-grid figcaption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 14px 16px 12px;
  background: linear-gradient(0deg, rgba(3,9,24,0.92), transparent);
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--white);
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.25s ease, transform 0.25s ease;
}
.gallery-grid figure:hover figcaption { opacity: 1; transform: translateY(0); }

.gallery-note {
  margin-top: 30px;
  padding: 18px 22px;
  border: 1px dashed rgba(255,255,255,0.18);
  border-radius: 16px;
  color: var(--text-dim);
  font-size: 0.88rem;
  line-height: 1.6;
}
.gallery-note strong { color: var(--orange-300); }

/* lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(3, 8, 22, 0.94);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
}
.lightbox.is-open { display: flex; }
.lightbox figure { margin: 0; max-width: min(1100px, 92vw); max-height: 86vh; text-align: center; }
.lightbox img { max-width: 100%; max-height: 76vh; border-radius: 12px; display: block; margin: 0 auto; }
.lightbox figcaption { color: var(--text-dim); font-family: var(--font-display); font-size: 0.92rem; margin-top: 16px; }
.lightbox-close, .lightbox-prev, .lightbox-next {
  position: fixed;
  width: 48px; height: 48px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.2);
  background: rgba(255,255,255,0.06);
  color: var(--white);
  font-family: var(--font-display);
  font-size: 1.2rem;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
}
.lightbox-close { top: 26px; right: 26px; }
.lightbox-prev { left: 26px; top: 50%; transform: translateY(-50%); }
.lightbox-next { right: 26px; top: 50%; transform: translateY(-50%); }
.lightbox-close:hover, .lightbox-prev:hover, .lightbox-next:hover { background: rgba(255,106,0,0.25); border-color: var(--orange-400); }

@media (max-width: 980px) {
  .story-grid { grid-template-columns: 1fr; }
  .story-pull { position: static; }
  .crew-layout { grid-template-columns: 1fr; }
  .info-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 190px; }
}
@media (max-width: 760px) {
  .gallery-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 150px; }
  .gallery-grid figure.wide { grid-column: span 2; }
  .lightbox-prev, .lightbox-next { width: 40px; height: 40px; }
}
@media (max-width: 980px) {
  .card-grid { grid-template-columns: repeat(2, 1fr); }
  .welcome-grid { grid-template-columns: 1fr; gap: 46px; }
  .why-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; row-gap: 40px; }
}

@media (max-width: 760px) {
  .nav-links, .nav-cta { display: none; }
  .nav-toggle { display: flex; }
  .site-nav { top: 16px; padding: 8px 10px; }
  .nav-open .nav-links {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    position: fixed;
    top: 78px; left: 16px; right: 16px;
    background: var(--navy-900);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 22px;
    padding: 14px;
    gap: 6px;
    box-shadow: 0 20px 45px rgba(0,0,0,0.5);
  }
  .nav-open .nav-cta {
    display: flex;
    position: fixed;
    top: 12px; right: 74px;
  }
  .nav-links > li { width: 100%; }
  .nav-links > li > a, .nav-links > li > button.nav-link-btn { width: 100%; justify-content: space-between; }
  .dropdown { position: static; transform: none; opacity: 1; visibility: visible; display: none; box-shadow: none; border: none; background: rgba(255,255,255,0.03); margin-top: 4px; }
  .nav-links > li.open .dropdown { display: flex; flex-direction: column; transform: none; }

  .hero-content { padding-top: 190px; padding-bottom: 70px; }
  .card-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; }
  .footer-watermark { display: none; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}

/* ===================== RESOURCES / GATE ===================== */
.gate-wrap { background: var(--navy-900); }
.gate-card {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
  border-radius: 26px;
  padding: 2px;
  background: linear-gradient(135deg, var(--orange-400), var(--blue-500));
}
.gate-card-inner {
  background: var(--navy-950);
  border-radius: 24px;
  padding: 46px 40px;
}
.gate-card-inner h2 { font-size: 1.7rem; font-weight: 800; margin-bottom: 12px; }
.gate-card-inner p { color: var(--text-dim); font-size: 0.98rem; line-height: 1.6; max-width: 46ch; margin: 0 auto 26px; }
.gate-form {
  display: flex;
  gap: 12px;
  max-width: 460px;
  margin: 0 auto;
}
.gate-form input {
  flex: 1;
  padding: 15px 20px;
  border-radius: 100px;
  border: 1.5px solid rgba(255,255,255,0.18);
  background: rgba(255,255,255,0.06);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.95rem;
}
.gate-form input::placeholder { color: var(--text-dim); }
.gate-form input:focus { outline: none; border-color: var(--orange-400); }
.gate-note { margin-top: 18px; font-size: 0.82rem; color: var(--text-dim); }
.gate-note a { color: var(--orange-300); }
.gate-error { color: var(--orange-400); font-size: 0.85rem; margin-top: 12px; display: none; }
.gate-unlocked-msg {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: var(--blue-300);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
}

/* library */
.library { background: var(--navy-950); position: relative; }
.library.is-locked .guides-grid { filter: blur(7px); opacity: 0.5; pointer-events: none; user-select: none; }
.library.is-locked .filter-tabs { pointer-events: none; opacity: 0.5; }

.filter-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 36px;
}
.filter-tab {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 600;
  padding: 10px 20px;
  border-radius: 100px;
  border: 1px solid rgba(255,255,255,0.16);
  background: transparent;
  color: var(--text-dim);
  cursor: pointer;
  transition: all 0.2s ease;
}
.filter-tab:hover { border-color: var(--orange-400); color: var(--white); }
.filter-tab.active {
  background: linear-gradient(90deg, var(--orange-400), var(--orange-500));
  border-color: transparent;
  color: var(--navy-950);
}

.guides-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.guide-card {
  background: var(--navy-900);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 20px;
  padding: 26px;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, border-color 0.2s ease;
}
.guide-card:hover { transform: translateY(-4px); border-color: var(--blue-400); }
.guide-card .cat-tag {
  align-self: flex-start;
  font-family: var(--font-display);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 100px;
  margin-bottom: 16px;
  background: rgba(0, 114, 255, 0.16);
  color: var(--blue-300);
}
.guide-card[data-cat="cruise"] .cat-tag { background: rgba(255, 106, 0, 0.16); color: var(--orange-300); }
.guide-card h3 { font-size: 1.08rem; font-weight: 700; margin-bottom: 10px; }
.guide-card p { color: var(--text-dim); font-size: 0.88rem; line-height: 1.55; margin: 0 0 20px; flex-grow: 1; }
.guide-download {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.86rem;
  padding: 12px 18px;
  border-radius: 100px;
  border: 1.5px solid var(--orange-400);
  color: var(--orange-300);
  transition: background 0.2s ease, color 0.2s ease;
}
.guide-download:hover { background: var(--orange-400); color: var(--navy-950); }
.guide-download svg { width: 15px; height: 15px; stroke: currentColor; fill: none; stroke-width: 2; }

.library-note {
  margin-top: 34px;
  padding: 18px 22px;
  border: 1px dashed rgba(255,255,255,0.18);
  border-radius: 16px;
  color: var(--text-dim);
  font-size: 0.88rem;
  line-height: 1.6;
}
.library-note strong { color: var(--blue-300); }

@media (max-width: 980px) {
  .guides-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 760px) {
  .guides-grid { grid-template-columns: 1fr; }
  .gate-form { flex-direction: column; }
  .gate-card-inner { padding: 34px 22px; }
}

/* ===================== CONTACT ===================== */
.contact-section { background: var(--navy-950); }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 0.85fr;
  gap: 50px;
  align-items: start;
}
.contact-form-card {
  background: var(--navy-900);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 26px;
  padding: 40px;
}
.contact-form-card h2 { font-size: 1.5rem; font-weight: 800; margin-bottom: 8px; }
.contact-form-card > p { color: var(--text-dim); font-size: 0.94rem; margin: 0 0 28px; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 16px; }
.form-field { display: flex; flex-direction: column; gap: 8px; margin-bottom: 16px; }
.form-field label {
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-dim);
}
.form-field input,
.form-field select,
.form-field textarea {
  padding: 14px 16px;
  border-radius: 12px;
  border: 1.5px solid rgba(255,255,255,0.14);
  background: rgba(255,255,255,0.05);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.95rem;
}
.form-field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--orange-300) 50%), linear-gradient(135deg, var(--orange-300) 50%, transparent 50%); background-position: calc(100% - 20px) center, calc(100% - 15px) center; background-size: 5px 5px, 5px 5px; background-repeat: no-repeat; }
.form-field textarea { resize: vertical; min-height: 130px; font-family: var(--font-body); }
.form-field input:focus, .form-field select:focus, .form-field textarea:focus { outline: none; border-color: var(--orange-400); }
.contact-form-card .btn { width: 100%; justify-content: center; margin-top: 6px; }
.form-sent-msg {
  display: none;
  align-items: center;
  gap: 10px;
  margin-top: 16px;
  color: var(--blue-300);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.9rem;
}
.form-error-msg {
  display: none;
  align-items: center;
  gap: 10px;
  margin-top: 16px;
  color: var(--orange-400);
  font-size: 0.88rem;
  line-height: 1.5;
}
.contact-form-card .btn[disabled] { opacity: 0.6; cursor: not-allowed; }

.contact-info-card {
  background: var(--navy-900);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 26px;
  padding: 36px;
  margin-bottom: 22px;
}
.contact-info-card h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: 20px; }
.contact-info-row {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 18px;
}
.contact-info-row:last-child { margin-bottom: 0; }
.contact-info-row .icon {
  width: 40px; height: 40px;
  border-radius: 12px;
  flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--orange-500), var(--blue-500));
}
.contact-info-row .icon svg { width: 18px; height: 18px; stroke: var(--white); fill: none; stroke-width: 2; }
.contact-info-row div { padding-top: 4px; }
.contact-info-row strong { display: block; font-size: 0.95rem; margin-bottom: 2px; }
.contact-info-row span, .contact-info-row a { color: var(--text-dim); font-size: 0.92rem; }
.contact-info-row a:hover { color: var(--orange-300); }

.contact-social-row { display: flex; gap: 12px; margin-top: 20px; }

/* ===================== LEGAL ===================== */
.legal-page { background: var(--navy-950); }
.legal-page .wrap { max-width: 860px; }
.legal-updated {
  color: var(--text-dim);
  font-size: 0.85rem;
  margin-bottom: 40px;
}
.legal-page h2 {
  font-size: 1.3rem;
  font-weight: 800;
  margin: 44px 0 14px;
  padding-top: 10px;
  color: var(--white);
}
.legal-page h2:first-of-type { margin-top: 0; }
.legal-page p, .legal-page li {
  color: var(--text-dim);
  font-size: 0.96rem;
  line-height: 1.8;
  margin: 0 0 14px;
}
.legal-page ul { padding-left: 22px; margin: 0 0 14px; }
.legal-page strong { color: var(--white); }
.legal-page a { color: var(--orange-300); }
.legal-toc {
  background: var(--navy-900);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 20px;
  padding: 26px 30px;
  margin-bottom: 10px;
}
.legal-toc strong { display: block; margin-bottom: 12px; font-family: var(--font-display); font-size: 0.85rem; letter-spacing: 0.05em; text-transform: uppercase; color: var(--blue-300); }
.legal-toc ul { columns: 2; padding-left: 18px; margin: 0; }
.legal-toc li { margin-bottom: 8px; font-size: 0.9rem; }
.legal-toc a { color: var(--text-dim); }
.legal-toc a:hover { color: var(--orange-300); }
.legal-disclaimer-box {
  background: rgba(255, 106, 0, 0.08);
  border: 1px solid rgba(255, 106, 0, 0.28);
  border-radius: 16px;
  padding: 20px 24px;
  margin-bottom: 40px;
}
.legal-disclaimer-box p { margin: 0; color: var(--text-dim); font-size: 0.9rem; }
.legal-disclaimer-box strong { color: var(--orange-300); }

@media (max-width: 760px) {
  .contact-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .contact-form-card { padding: 26px; }
  .legal-toc ul { columns: 1; }
}

/* ===================== 404 PAGE ===================== */
.page-404 .site-nav { position: fixed; top: 0; left: 0; right: 0; }
.notfound {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background:
    radial-gradient(ellipse 900px 500px at 20% 8%, rgba(0,114,255,0.14), transparent 60%),
    radial-gradient(ellipse 700px 500px at 85% 15%, rgba(255,106,0,0.10), transparent 60%),
    linear-gradient(180deg, var(--navy-950) 0%, var(--navy-950) 55%, var(--navy-900) 78%, var(--navy-800) 100%);
}

.nf-stars {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}
.nf-star {
  position: absolute;
  width: 3px; height: 3px;
  border-radius: 50%;
  background: var(--white);
  opacity: 0.5;
  animation: nf-twinkle 3.2s ease-in-out infinite;
}
@keyframes nf-twinkle { 0%, 100% { opacity: 0.15; } 50% { opacity: 0.85; } }

.nf-content {
  position: relative;
  z-index: 5;
  text-align: center;
  padding: 180px 24px 40px;
}
.nf-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--orange-300);
  margin-bottom: 18px;
}
.nf-eyebrow::before, .nf-eyebrow::after { content: ""; width: 26px; height: 2px; background: var(--orange-400); }

.nf-404 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(5rem, 16vw, 10rem);
  line-height: 0.9;
  letter-spacing: -0.02em;
  background: linear-gradient(90deg, var(--orange-300), var(--orange-500) 35%, var(--blue-400) 70%, var(--blue-300));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin: 0;
}
.nf-content h2 {
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 800;
  margin: 14px 0 12px;
}
.nf-content p {
  color: var(--text-dim);
  font-size: 1.02rem;
  max-width: 46ch;
  margin: 0 auto 34px;
  line-height: 1.6;
}
.nf-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
}

/* sky scene: plane */
.nf-plane-track {
  position: absolute;
  top: 12%;
  left: 0;
  width: 100%;
  height: 60px;
  z-index: 1;
  pointer-events: none;
}
.nf-plane {
  position: absolute;
  top: 0;
  left: -14%;
  width: 90px;
  animation: nf-fly 13s linear infinite;
  filter: drop-shadow(0 6px 14px rgba(255,106,0,0.35));
}
@keyframes nf-fly {
  from { left: -14%; transform: translateY(0); }
  25%  { transform: translateY(-14px); }
  50%  { transform: translateY(4px); }
  75%  { transform: translateY(-8px); }
  to   { left: 108%; transform: translateY(0); }
}
.nf-plane-trail {
  position: absolute;
  top: 22px;
  right: 100%;
  width: 220px;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--orange-400) 60%, var(--orange-300));
  border-radius: 4px;
  opacity: 0.75;
}

/* ocean scene: ship */
.nf-ocean {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 34%;
  z-index: 1;
  overflow: hidden;
  pointer-events: none;
}
.nf-ocean svg.nf-waves { position: absolute; bottom: 0; left: 0; width: 100%; height: 100%; }
.nf-wave-path-1 { fill: var(--navy-800); opacity: 0.85; animation: nf-wave-drift 18s linear infinite; }
.nf-wave-path-2 { fill: var(--navy-700); opacity: 0.55; animation: nf-wave-drift 11s linear infinite reverse; }
@keyframes nf-wave-drift {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

.nf-ship-track {
  position: absolute;
  left: 0;
  bottom: 14%;
  width: 100%;
  height: 70px;
  z-index: 2;
}
.nf-ship {
  position: absolute;
  bottom: 0;
  left: -20%;
  width: 130px;
  animation: nf-sail 22s linear infinite;
  filter: drop-shadow(0 8px 16px rgba(0,0,0,0.35));
}
@keyframes nf-sail {
  from { left: -20%; }
  to   { left: 110%; }
}

@media (max-width: 760px) {
  .nf-content { padding: 150px 20px 40px; }
  .nf-plane { width: 62px; }
  .nf-ship { width: 92px; }
}

/* ===================== CERTIFICATES ===================== */
.cert-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
.cert-card {
  background: var(--navy-900);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 22px;
  overflow: hidden;
  transition: transform 0.25s ease, border-color 0.25s ease;
}
.cert-card:hover { transform: translateY(-6px); border-color: var(--orange-400); }
.cert-thumb {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--navy-800);
  cursor: pointer;
}
.cert-thumb img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
  transition: transform 0.4s ease;
}
.cert-thumb:hover img { transform: scale(1.05); }
.cert-thumb .view-badge {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(3,9,24,0.45);
  opacity: 0;
  transition: opacity 0.25s ease;
}
.cert-thumb:hover .view-badge { opacity: 1; }
.view-badge span {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--white);
  padding: 10px 20px;
  border-radius: 100px;
  background: rgba(255,255,255,0.14);
  border: 1px solid rgba(255,255,255,0.3);
  backdrop-filter: blur(6px);
}
.cert-body { padding: 22px 24px 26px; }
.cert-issuer {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 100px;
  margin-bottom: 12px;
  background: rgba(255, 106, 0, 0.16);
  color: var(--orange-300);
}
.cert-card[data-issuer="norwegian"] .cert-issuer,
.cert-card[data-issuer="royal"] .cert-issuer { background: rgba(0, 114, 255, 0.16); color: var(--blue-300); }
.cert-body h3 { font-size: 1.02rem; font-weight: 700; margin-bottom: 6px; }
.cert-body p { color: var(--text-dim); font-size: 0.86rem; margin: 0 0 16px; }
.cert-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.cert-actions a {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.8rem;
  padding: 9px 16px;
  border-radius: 100px;
  border: 1.5px solid rgba(255,255,255,0.18);
  color: var(--text-dim);
  transition: all 0.2s ease;
}
.cert-actions a:hover { border-color: var(--orange-400); color: var(--white); }
.cert-actions a.primary { border-color: var(--orange-400); color: var(--orange-300); }
.cert-actions a.primary:hover { background: var(--orange-400); color: var(--navy-950); }

@media (max-width: 980px) { .cert-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 760px) { .cert-grid { grid-template-columns: 1fr; } }
