@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Source+Serif+4:ital,wght@0,300;0,400;0,600;1,300;1,400&family=JetBrains+Mono:wght@400;600&display=swap');

:root {
  --navy:       #08111f;
  --navy-mid:   #0d1e35;
  --navy-light: #162d4a;
  --navy-border:#1e3a5f;
  --gold:       #c8922a;
  --gold-light: #e0aa44;
  --gold-pale:  #f5e6c8;
  --cyan:       #4db8d4;
  --green:      #3dbf7a;
  --amber:      #e07b30;
  --white:      #f2efe8;
  --gray:       #7a8fa3;
  --gray-light: #b0bfcc;
  --rule:       rgba(200,146,42,0.25);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Source Serif 4', Georgia, serif;
  background: var(--navy);
  color: var(--white);
  min-height: 100vh;
  line-height: 1.6;
}

/* ── NAVIGATION ── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 9000;
  background: rgba(8,17,31,0.97);
  border-bottom: 1px solid var(--rule);
  backdrop-filter: blur(8px);
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 58px;
}

.nav-logo {
  display: flex;
  align-items: baseline;
  gap: 10px;
  text-decoration: none;
}

.nav-logo-mark {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 22px;
  letter-spacing: 3px;
  color: var(--gold);
  line-height: 1;
}

.nav-logo-sub {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  color: var(--gray);
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  gap: 32px;
  list-style: none;
}

.nav-links a {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gray-light);
  text-decoration: none;
  transition: color 0.2s;
  padding-bottom: 2px;
  border-bottom: 1px solid transparent;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--gold-light);
  border-bottom-color: var(--gold);
}

/* ── PAGE WRAPPER ── */
.page {
  padding-top: 58px;
}

/* ── HERO ── */
.hero {
  position: relative;
  padding: 80px 32px 64px;
  max-width: 1200px;
  margin: 0 auto;
  border-bottom: 1px solid var(--rule);
  overflow: hidden;
}

.hero::before {
  content: 'JONES ACT';
  position: absolute;
  top: 20px; right: -20px;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 160px;
  color: rgba(200,146,42,0.04);
  letter-spacing: 8px;
  white-space: nowrap;
  pointer-events: none;
  line-height: 1;
}

.hero-eyebrow {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.hero-eyebrow::before {
  content: '';
  display: block;
  width: 32px;
  height: 1px;
  background: var(--gold);
}

.hero h1 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(52px, 7vw, 88px);
  letter-spacing: 4px;
  line-height: 0.95;
  color: var(--white);
  margin-bottom: 28px;
}

.hero h1 em {
  color: var(--gold);
  font-style: normal;
}

.hero-lead {
  font-size: 19px;
  font-weight: 300;
  color: var(--gray-light);
  max-width: 680px;
  line-height: 1.7;
  margin-bottom: 40px;
}

.hero-lead strong { color: var(--white); font-weight: 600; }

.hero-stats {
  display: flex;
  gap: 0;
  border: 1px solid var(--rule);
  width: fit-content;
}

.hero-stat {
  padding: 20px 36px;
  border-right: 1px solid var(--rule);
  text-align: center;
}

.hero-stat:last-child { border-right: none; }

.hero-stat-num {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 52px;
  letter-spacing: 2px;
  line-height: 1;
  display: block;
}

.hero-stat-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gray);
  margin-top: 4px;
  display: block;
}

.num-green { color: var(--green); }
.num-cyan  { color: var(--cyan); }
.num-amber { color: var(--amber); }
.num-gold  { color: var(--gold); }
.num-white { color: var(--white); }

/* ── SECTION ── */
.section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 64px 32px;
  border-bottom: 1px solid var(--rule);
}

.section-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.section-label::before {
  content: '';
  display: block;
  width: 24px;
  height: 1px;
  background: var(--gold);
}

.section h2 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 38px;
  letter-spacing: 3px;
  color: var(--white);
  margin-bottom: 24px;
}

.section p {
  font-size: 16px;
  color: var(--gray-light);
  max-width: 760px;
  line-height: 1.8;
  margin-bottom: 16px;
}

.section p strong { color: var(--white); font-weight: 600; }
.section p em { color: var(--gold-pale); font-style: italic; }

/* ── MAP EMBED ── */
.map-container {
  width: 100%;
  height: 580px;
  border: 1px solid var(--navy-border);
  border-radius: 2px;
  overflow: hidden;
  margin-top: 32px;
  position: relative;
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: none;
}

.map-caption {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  color: var(--gray);
  letter-spacing: 1px;
  margin-top: 10px;
  text-align: right;
}

/* ── TABLE ── */
.fleet-table-wrap {
  overflow-x: auto;
  margin-top: 32px;
  border: 1px solid var(--navy-border);
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}

thead tr {
  background: var(--navy-mid);
  border-bottom: 2px solid var(--gold);
}

thead th {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold);
  padding: 12px 14px;
  text-align: left;
  white-space: nowrap;
}

tbody tr {
  border-bottom: 1px solid rgba(255,255,255,0.04);
  transition: background 0.1s;
}

tbody tr:hover { background: rgba(255,255,255,0.03); }
tbody tr:nth-child(even) { background: rgba(13,30,53,0.5); }
tbody tr:nth-child(even):hover { background: rgba(255,255,255,0.04); }

tbody td {
  padding: 9px 14px;
  color: var(--gray-light);
  vertical-align: middle;
}

tbody td:first-child {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: var(--gray);
  width: 32px;
}

.vessel-name-cell {
  font-weight: 600;
  color: var(--white);
  white-space: nowrap;
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  letter-spacing: 0.5px;
}

.imo-cell {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: var(--gray);
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 2px;
  white-space: nowrap;
}

.status-underway { background: rgba(61,191,122,0.12); color: var(--green); border: 1px solid rgba(61,191,122,0.25); }
.status-port     { background: rgba(77,184,212,0.12); color: var(--cyan);  border: 1px solid rgba(77,184,212,0.25); }
.status-drydock  { background: rgba(224,123,48,0.12); color: var(--amber); border: 1px solid rgba(224,123,48,0.25); }

.dest-cell { color: var(--gold-pale); font-size: 12px; }
.evidence-cell { font-size: 12px; max-width: 320px; }

/* ── METHODOLOGY CARDS ── */
.method-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1px;
  background: var(--rule);
  border: 1px solid var(--rule);
  margin-top: 32px;
}

.method-card {
  background: var(--navy-mid);
  padding: 28px 28px 32px;
}

.method-num {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 48px;
  color: rgba(200,146,42,0.2);
  line-height: 1;
  margin-bottom: 8px;
}

.method-card h3 {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 12px;
}

.method-card p {
  font-size: 14px;
  color: var(--gray-light);
  line-height: 1.7;
  max-width: none;
  margin: 0;
}

/* ── FOOTER ── */
footer {
  border-top: 1px solid var(--rule);
  padding: 40px 32px;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 32px;
  flex-wrap: wrap;
}

.footer-brand {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 18px;
  letter-spacing: 3px;
  color: var(--gold);
  margin-bottom: 6px;
}

.footer-note {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  color: var(--gray);
  letter-spacing: 1px;
  line-height: 1.8;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 6px;
  align-items: flex-end;
}

.footer-links a {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--gray);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-links a:hover { color: var(--gold-light); }

/* ── CALLOUT BOX ── */
.callout {
  border-left: 3px solid var(--gold);
  background: rgba(200,146,42,0.06);
  padding: 20px 24px;
  margin: 24px 0;
  max-width: 760px;
}

.callout p {
  margin: 0;
  font-size: 15px;
  color: var(--gold-pale);
  font-style: italic;
}

/* ── SOURCE TAG ── */
.source-row {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 24px;
}

.source-tag {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--gray);
  border: 1px solid var(--navy-border);
  padding: 4px 10px;
  border-radius: 2px;
}

.source-tag span { color: var(--gray-light); }

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  .hero h1 { font-size: 48px; }
  .hero-stats { flex-direction: column; }
  .hero-stat { border-right: none; border-bottom: 1px solid var(--rule); }
  .nav-links { gap: 16px; }
  footer { flex-direction: column; }
  .footer-links { align-items: flex-start; }
}

/* ── MOBILE OPTIMIZATIONS ── */
@media (max-width: 600px) {

  /* Nav */
  .nav-inner { padding: 0 16px; }
  .nav-logo-mark { font-size: 17px; }
  .nav-links { gap: 12px; }
  .nav-links a { font-size: 10px; letter-spacing: 1px; }

  /* Hero */
  .hero { padding: 40px 16px 36px; }
  .hero::before { display: none; }
  .hero-eyebrow { font-size: 9px; margin-bottom: 12px; }
  .hero h1 { font-size: 38px; letter-spacing: 2px; margin-bottom: 16px; }
  .hero-lead { font-size: 15px; margin-bottom: 24px; }

  /* Stats — 2x2 grid on mobile */
  .hero-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    width: 100%;
  }
  .hero-stat {
    border-right: 1px solid var(--rule);
    border-bottom: 1px solid var(--rule);
    padding: 14px 12px;
  }
  .hero-stat:nth-child(even) { border-right: none; }
  .hero-stat .num { font-size: 38px; }

  /* Section */
  .section { padding: 36px 16px; }
  .section h2 { font-size: 28px; }
  .section p { font-size: 15px; }

  /* Map container — taller on mobile for usability */
  .map-container { height: 420px; margin-top: 20px; }

  /* Fleet table — horizontal scroll */
  .fleet-table-wrap { font-size: 11px; }
  table { min-width: 700px; }
  thead th { font-size: 9px; padding: 8px 8px; }
  tbody td { padding: 7px 8px; font-size: 11px; }
  .vessel-name-cell { font-size: 11px; }
  .status-pill { font-size: 9px; padding: 2px 5px; }

  /* Filter bar wraps cleanly */
  .filter-bar { gap: 4px; padding: 8px; }
  .filter-btn { font-size: 10px; padding: 4px 8px; }

  /* Method grid single column */
  .method-grid { grid-template-columns: 1fr; }

  /* Callout */
  .callout { padding: 14px 16px; }
  .callout p { font-size: 13px; }

  /* Footer */
  footer { padding: 28px 16px; }
  .footer-brand { font-size: 15px; }
  .footer-note { font-size: 9px; }
}
