:root { --navy: #0a1628; --navy2: #0d1e38; --navy3: #122345; --royal: #1a3a6e; --ocean: #1e5fa8; --wave: #2e8fd9; --gold: #c9a84c; --gold-light: #e8c97a; --cream: #f5f0e8; --sand: #e8dece; --text: #f0ece2; --text2: #b8c8d8; --text3: #6a8aaa; --bg: #06101e; --bg2: #0a1628; --surface: #0e1e32; --border: rgba(30,95,168,0.2); --border2: rgba(30,95,168,0.35); --max: 720px; }
  *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
  html { scroll-behavior: smooth; }
  body { background: var(--bg); color: var(--text); font-family: 'Jost', sans-serif; font-size: 15px; line-height: 1.7; -webkit-font-smoothing: antialiased; }
  .accent-bar { height: 3px; 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%} }
  @keyframes pip { 0%,100%{opacity:1;transform:scale(1)} 50%{opacity:0.4;transform:scale(0.6)} }
  nav { position: sticky; top: 0; z-index: 100; 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: var(--text2); text-decoration: none; letter-spacing: 0.1em; text-transform: uppercase; transition: color 0.2s; }
  .nav-links a:hover, .nav-links a.active { color: var(--gold-light); }
  .nav-pip { width: 7px; height: 7px; border-radius: 50%; background: var(--wave); animation: pip 2.4s ease-in-out infinite; }
  .dark-toggle { width: 32px; height: 18px; border-radius: 100px; background: var(--border2); border: 0.5px solid var(--border2); cursor: pointer; position: relative; transition: background 0.3s; flex-shrink: 0; }
  .dark-toggle::after { content: ''; position: absolute; top: 2px; left: 2px; width: 12px; height: 12px; border-radius: 50%; background: var(--wave); transition: transform 0.25s; }
  body.light .dark-toggle::after { transform: translateX(14px); background: var(--gold); }
  .mob-controls { display: none; align-items: center; gap: 12px; }
  .hamburger-btn { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 4px; }
  .hamburger-btn span { display: block; width: 22px; height: 1.5px; background: var(--text2); border-radius: 2px; transition: all 0.3s; }
  .hamburger-btn.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
  .hamburger-btn.open span:nth-child(2) { opacity: 0; }
  .hamburger-btn.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }
  @media(max-width:900px) { .nav-links { display: none !important; } .mob-controls { display: flex !important; } .hamburger-btn { display: flex; } }
  .mob-menu { position: fixed; top: 0; right: 0; bottom: 0; width: 280px; background: rgba(6,16,30,0.98); backdrop-filter: blur(24px); z-index: 300; transform: translateX(100%); transition: transform 0.35s cubic-bezier(0.77,0,0.18,1); display: flex; flex-direction: column; padding: 80px 32px 40px; gap: 8px; border-left: 0.5px solid var(--border); }
  .mob-menu.open { transform: translateX(0); }
  .mob-menu a { font-size: 22px; font-family: 'Playfair Display', serif; font-weight: 300; color: var(--text); text-decoration: none; padding: 12px 0; border-bottom: 0.5px solid var(--border); transition: color 0.2s; }
  .mob-menu a:hover { color: var(--gold-light); }
  .mob-menu a:last-of-type { border-bottom: none; }
  .mob-overlay { display: none; position: fixed; inset: 0; background: rgba(0,0,0,0.5); z-index: 299; }
  .mob-overlay.open { display: block; }

/* FOOTER */footer { border-top: 0.5px solid var(--border); padding: 28px 32px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; max-width: var(--max); margin: 0 auto; }
  .footer-logo { font-family: 'Playfair Display', serif; font-size: 15px; font-weight: 300; color: var(--text2); letter-spacing: 0.06em; text-decoration: none; }
  .footer-logo span { color: var(--gold); font-style: italic; }
  .footer-center { text-align: center; font-size: 14px; color: var(--text3); }
  .footer-right { text-align: right; display: flex; align-items: center; gap: 6px; justify-content: flex-end; font-size: 14px; color: var(--text3); }
  .footer-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--wave); }


/* LIGHT MODE - shared */
body.light {
  --bg: #f0ece4;
  --bg2: #e8e2d8;
  --surface: #f7f4ee;
  --navy2: #e0d8cc;
  --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 { background: rgba(240,236,228,0.96) !important; }
body.light nav.scrolled { background: rgba(240,236,228,0.94) !important; }
body.light .nav-logo,
body.light .nav-name { color: #1a2a3a !important; }
body.light .nav-gt { color: #9a6c18 !important; }
body.light .nav-tagline { color: rgba(154,108,24,0.7) !important; }
body.light .nav-links a { color: #3a5060 !important; }
body.light .mob-menu { background: rgba(240,236,228,0.98) !important; }

@media(max-width:600px) {
  footer { padding: 20px; grid-template-columns: 1fr 1fr; gap: 12px; }
  .footer-center { display: none; }
}
