/* HOMEPAGE NAV OVERRIDE */
nav {
    position: fixed; top: 0; left: 0; right: 0; z-index: 200;
    background: rgba(6,16,30,0.6); backdrop-filter: blur(12px);
	border-bottom: 0.5px solid rgba(30,95,168,0.2);
    transition: background 0.4s, backdrop-filter 0.4s, border-color 0.4s;
  }
  nav.scrolled {
    background: rgba(6,16,30,0.94);
    backdrop-filter: blur(18px);
    border-bottom: 0.5px solid var(--border);
  }
  .nav-inner {
    max-width: 1200px; margin: 0 auto;
    display: flex; justify-content: space-between; align-items: center;
    padding: 18px 28px;
  }
  .nav-logo {
    font-family: 'Playfair Display', serif; font-size: 19px; font-weight: 400;
    letter-spacing: 0.06em; color: rgba(245,240,232,0.95); text-decoration: none;
    transition: color 0.3s; display: flex; flex-direction: column; align-items: flex-start; line-height: 1.15;
  }
  .nav-name { display: block; font-size: 19px; line-height: 1; color: rgba(245,240,232,0.95); }
  nav.scrolled .nav-name { color: var(--cream, #f5f0e8); }
  .nav-gt { font-style: italic; color: rgba(201,168,76,0.9); transition: color 0.3s; }
  nav.scrolled .nav-gt { color: var(--gold, #c9a84c); }
  .nav-tagline { display: block; font-style: normal; font-size: 9px; letter-spacing: 0.22em; text-transform: uppercase; color: rgba(201,168,76,0.55); font-family: 'Jost', sans-serif; font-weight: 400; line-height: 1; margin-top: 4px; }
  nav.scrolled .nav-tagline { color: rgba(201,168,76,0.7); }
  body.light .nav-tagline { color: rgba(154,108,24,0.7) !important; }
  body.light .nav-gt { color: #9a6c18 !important; }
  .nav-links { display: flex; gap: 24px; align-items: center; }
  .nav-links a {
    font-size: 12px; color: rgba(240,236,226,0.75); text-decoration: none;
    letter-spacing: 0.1em; text-transform: uppercase; transition: color 0.2s;
  }
  nav.scrolled .nav-links a { color: var(--text2); }
  .nav-links a:hover { color: var(--gold-light); }
  .nav-pip { width: 7px; height: 7px; border-radius: 50%; background: var(--wave); animation: pip 2.4s ease-in-out infinite; }
  @keyframes pip { 0%,100%{opacity:1;transform:scale(1)} 50%{opacity:0.4;transform:scale(0.6)} }

/* HERO */ 
  .hero {
    position: relative; width: 100%; height: 100vh; min-height: 640px;
    overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end;
  }
  .hero-photo {
    overflow: hidden;
	position: absolute; inset: 0;
    background-image: url('hero.jpg');
    background-size: cover; background-position: 80% center;
    animation: kenburns 20s ease-in-out infinite alternate;
    transform-origin: 70% 50%;
  }
  .hero-photo::before {
    content: '';
    position: absolute; inset: 0;
    background:
      radial-gradient(ellipse 60% 50% at 70% 40%, rgba(30,95,168,0.35) 0%, transparent 70%),
      radial-gradient(ellipse 40% 60% at 20% 60%, rgba(10,22,40,0.8) 0%, transparent 65%);
    animation: aurora 12s ease-in-out infinite alternate;
  }
  @keyframes aurora { 0%{opacity:0.7;transform:scale(1)} 100%{opacity:1;transform:scale(1.04) translateX(2%)} }
  .hero-ship {
    position: absolute; bottom: 0; right: -2%; width: 65%; max-width: 700px;
    height: 75%; pointer-events: none;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 700 500"><defs><linearGradient id="hull" x1="0" y1="0" x2="0" y2="1"><stop offset="0" stop-color="%231a3a6e"/><stop offset="1" stop-color="%230a1628"/></linearGradient><linearGradient id="stripe" x1="0" y1="0" x2="0" y2="1"><stop offset="0" stop-color="%23c9a84c"/><stop offset="1" stop-color="%23a0782a"/></linearGradient></defs><ellipse cx="350" cy="430" rx="340" ry="70" fill="%230d1e38" opacity="0.6"/><rect x="60" y="240" width="580" height="180" rx="12" fill="url(%23hull)"/><rect x="60" y="255" width="580" height="10" rx="3" fill="url(%23stripe)"/><rect x="80" y="180" width="460" height="70" rx="8" fill="%230d1e38"/><rect x="80" y="192" width="460" height="8" rx="2" fill="%231e5fa8" opacity="0.5"/><rect x="120" y="120" width="340" height="65" rx="6" fill="%230a1628"/><rect x="160" y="70" width="240" height="55" rx="6" fill="%23091828"/><rect x="200" y="30" width="160" height="45" rx="4" fill="%230a1628"/><rect x="240" y="8" width="20" height="28" fill="%231a3a6e"/><rect x="260" y="8" width="20" height="28" fill="%231a3a6e"/><rect x="280" y="4" width="6" height="18" fill="%23c9a84c"/><rect x="296" y="4" width="6" height="18" fill="%23c9a84c"/></svg>') no-repeat bottom right / contain;
    opacity: 0.18;
  }
  /* Animated stars */
  .hero-stars {
    position: absolute; inset: 0; pointer-events: none;
    background-image:
      radial-gradient(1px 1px at 15% 20%, rgba(255,255,255,0.6) 0%, transparent 100%),
      radial-gradient(1px 1px at 42% 8%, rgba(255,255,255,0.5) 0%, transparent 100%),
      radial-gradient(1.5px 1.5px at 68% 15%, rgba(255,255,255,0.7) 0%, transparent 100%),
      radial-gradient(1px 1px at 80% 5%, rgba(255,255,255,0.4) 0%, transparent 100%),
      radial-gradient(1px 1px at 25% 35%, rgba(255,255,255,0.3) 0%, transparent 100%),
      radial-gradient(1.5px 1.5px at 55% 28%, rgba(255,255,255,0.5) 0%, transparent 100%),
      radial-gradient(1px 1px at 90% 22%, rgba(255,255,255,0.4) 0%, transparent 100%),
      radial-gradient(1px 1px at 10% 50%, rgba(255,255,255,0.3) 0%, transparent 100%);
  }
  /* Wave bottom */
  .hero-wave {
    position: absolute; bottom: 0; left: 0; right: 0; height: 380px;
    background: linear-gradient(to bottom, transparent 0%, rgba(6,16,30,0.2) 30%, rgba(6,16,30,0.7) 65%, var(--bg) 100%);
    pointer-events: none; z-index: 3;
  }
  .hero-content {
    position: relative; z-index: 5; width: 100%;
    max-width: 1200px; margin: 0 auto; padding: 0 28px 72px;
  }
  .hero-content-inner { max-width: 520px; }
  .hero-eyebrow {
    font-size: 15px; letter-spacing: 0.3em; text-transform: uppercase;
    color: rgba(201,168,76,0.85); margin-bottom: 16px; font-weight: 500;
  }
  .hero-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(46px, 8vw, 82px); font-weight: 300; line-height: 1.05;
    color: var(--cream); margin-bottom: 20px;
    text-shadow: 0 2px 60px rgba(0,0,0,0.4);
  }
  .hero-title em { font-style: italic; color: var(--gold); }
  .hero-sub {
    font-size: 17px; color: rgba(245,240,232,0.6); max-width: 360px;
    line-height: 1.9; margin-bottom: 36px; font-weight: 300;
  }
  .hero-pills { display: flex; gap: 10px; flex-wrap: wrap; }
  .pill {
    padding: 9px 22px; border-radius: 100px; font-size: 11px;
    letter-spacing: 0.14em; text-transform: uppercase;
    border: 0.5px solid rgba(201,168,76,0.35);
    background: rgba(255,255,255,0.05);
    color: rgba(245,240,232,0.8); cursor: pointer;
    transition: all 0.25s; text-decoration: none; backdrop-filter: blur(8px);
  }
  .pill:hover, .pill.active {
    background: rgba(26,58,110,0.4); border-color: rgba(201,168,76,0.65); color: var(--gold-light);
  }

  /* ACCENT BAR */
  .accent-bar {
    height: 2px;
    background: linear-gradient(90deg, var(--royal), var(--ocean), var(--wave), var(--gold), var(--wave), var(--royal));
    background-size: 300% 100%; animation: bar-slide 8s linear infinite;
  }
  @keyframes bar-slide { 0%{background-position:0%} 100%{background-position:300%} }

  /* SECTIONS */
  .section { padding: 56px 32px; max-width: var(--max); margin: 0 auto; }
  .section + .section { border-top: 0.5px solid var(--border); }
  .sec-label { font-size: 15px; letter-spacing: 0.26em; text-transform: uppercase; color: var(--gold); margin-bottom: 28px; font-weight: 500; }

  /* ABOUT */
  .about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: start; }
  .about-text { font-size: 17px; color: var(--text2); line-height: 1.9; font-weight: 300; }
  .about-text strong { font-weight: 500; color: var(--text); }
  .about-stat-block { display: flex; flex-direction: column; gap: 16px; }
  .about-stat { background: var(--surface); border: 0.5px solid var(--border); border-radius: 10px; padding: 18px 20px; border-left: 2px solid var(--ocean); }
  .stat-num { font-family: 'Playfair Display', serif; font-size: 34px; font-weight: 300; color: var(--cream); line-height: 1; margin-bottom: 4px; }
  .stat-label { font-size: 15px; color: var(--text3); letter-spacing: 0.08em; }

  /* FEATURED SHIPS */
  .ships-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
  .ship-card {
    background: var(--surface); border: 0.5px solid var(--border); border-radius: 12px;
    padding: 22px 20px; text-decoration: none; transition: border-color 0.2s, background 0.2s, transform 0.15s;
    position: relative; overflow: hidden;
  }
  .ship-card::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 2px; background: var(--ocean); border-radius: 2px 0 0 2px; opacity: 0; transition: opacity 0.2s; }
  .ship-card:hover { border-color: var(--ocean); background: var(--navy2); transform: translateY(-2px); }
  .ship-card:hover::before { opacity: 1; }
  .ship-class { font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--wave); margin-bottom: 8px; font-weight: 500; }
  .ship-name { font-family: 'Playfair Display', serif; font-size: 20px; font-weight: 400; color: var(--cream); margin-bottom: 6px; line-height: 1.2; }
  .ship-name em { font-style: italic; }
  .ship-meta { font-size: 12px; color: var(--text3); }
  .ship-score { font-family: 'Playfair Display', serif; font-size: 26px; font-weight: 300; color: var(--gold); margin-top: 14px; }

  /* SHOWS PREVIEW */
  .shows-list { display: flex; flex-direction: column; gap: 10px; }
  .show-row {
    background: var(--surface); border: 0.5px solid var(--border); border-radius: 10px;
    padding: 16px 20px; text-decoration: none; display: flex; justify-content: space-between;
    align-items: center; gap: 16px; transition: border-color 0.2s, transform 0.15s;
  }
  .show-row:hover { border-color: var(--gold); transform: translateX(3px); }
  .show-title { font-size: 17px; font-weight: 500; color: var(--text); }
  .show-ship { font-size: 15px; color: var(--text3); margin-top: 2px; }
  .show-rating { font-family: 'Playfair Display', serif; font-size: 22px; color: var(--gold); font-weight: 300; flex-shrink: 0; }

/* LIGHT MODE */
  body.light {
    --bg: #f0ece4; --bg2: #e8e2d8; --surface: #f7f4ee;
    --navy: #1a3a6e; --navy2: #e0d8cc; --navy3: #d4ccc0;
    --text: #1a2a3a; --text2: #3a5060; --text3: #7a90a0;
    --border: rgba(30,95,168,0.15); --border2: rgba(30,95,168,0.25);
    --gold: #9a6c18; --gold-light: #b8820a; --wave: #1a6aaa;
    --cream: #1a2a3a;
  }
  body.light nav.scrolled { background: rgba(240,236,228,0.94) !important; }
  body.light nav { background: rgba(240,236,228,0.75) !important; }
  body.light .nav-logo { color: #1a2a3a !important; }
  body.light .nav-name { color: #1a2a3a !important; }
  body.light .nav-gt { color: #9a6c18 !important; }
  body.light .nav-links a { color: #3a5060 !important; }
  body.light .mob-menu { background: rgba(240,236,228,0.98) !important; }
  body.light .hero-photo { background-image: url('hero2.jpg') !important; }
  body.light .hero-wave { background: linear-gradient(to bottom, transparent 0%, rgba(240,236,228,0.1) 70%, #f0ece4 100%) !important; }
  body.light .hero-photo::before {
    background:
      linear-gradient(to right, rgba(240,236,228,0.25) 0%, rgba(240,236,228,0.08) 40%, transparent 65%),
      linear-gradient(to top, rgba(240,236,228,0.15) 0%, transparent 40%) !important;
  }
  body.light .pill { background: rgba(245,240,232,0.55) !important; border-color: rgba(245,240,232,0.7) !important; color: #1a2a3a !important; backdrop-filter: blur(8px); }
  body.light .pill:hover, body.light .pill.active { background: rgba(245,240,232,0.8) !important; border-color: #9a6c18 !important; color: #9a6c18 !important; box-shadow: 0 0 0 1px rgba(154,108,24,0.3); }
  body.light .hero-title { color: #ffffff !important; }
  body.light .hero-title em { color: #c9a84c !important; }
  body.light .hero-eyebrow { color: rgba(201,168,76,0.9) !important; }
  body.light .hero-sub { color: rgba(255,255,255,0.8) !important; }

  @media(max-width:600px) {
    .hero-photo { background-image: url('hero-mobile.jpg') !important; background-position: center center !important; }
    body.light .hero-photo { background-image: url('hero2-mobile.jpg') !important; background-position: center center !important; }
    body.light .hero-photo::before {
      background:
        linear-gradient(to right, rgba(240,236,228,0.2) 0%, rgba(240,236,228,0.05) 40%, transparent 60%),
        linear-gradient(to top, rgba(240,236,228,0.1) 0%, transparent 35%) !important;
    }
    .about-grid, .ships-grid { grid-template-columns: 1fr; }
    .section { padding: 40px 20px; }
    footer { padding: 20px; grid-template-columns: 1fr 1fr; gap: 12px; }
    .footer-center { display: none; }
  }