/* =============================================
   MARVELL AGENCIES — Shared Stylesheet
   ============================================= */

/* 1. CSS Custom Properties */
:root {
  /* Brand palette — from Marvell Agencies logo (logo.jpg) */
  --color-navy:     #15487f;   /* deep navy — ship outline / "MARVELL" */
  --color-bg:       #061626;   /* deep navy-blue background */
  --color-surface:  #0b2238;
  --color-surface2: #103154;
  --color-accent:   #2ba8dc;   /* bright sky blue — wave / "AGENCIES" */
  --color-accent2:  #56c6ef;   /* lighter sky blue (hover/highlight) */
  --color-text:     #f0f4f8;
  --color-subtext:  #8fa3bc;
  --color-border:   #1a3254;

  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body:    'Inter', Arial, sans-serif;

  --container:    1200px;
  --header-h:     78px;
  --radius:       10px;
  --radius-lg:    16px;
  --transition:   0.3s ease;
}

/* 2. Reset & Base */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background-color: var(--color-bg);
  color: var(--color-text);
  line-height: 1.7;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

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

/* 3. Typography */
h1, h2, h3, h4 {
  font-family: var(--font-heading);
  line-height: 1.2;
}

h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); }
h3 { font-size: clamp(1.05rem, 2vw, 1.25rem); }

p {
  color: var(--color-subtext);
  font-size: 0.975rem;
  margin-bottom: 1rem;
  line-height: 1.8;
}

p:last-child { margin-bottom: 0; }

/* 4. Layout */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 28px;
}

.section { padding: 96px 0; }
.section--alt { background-color: var(--color-surface); }

.section-label {
  font-size: 0.7rem;
  letter-spacing: 5px;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 14px;
  font-weight: 600;
}

.section-title {
  color: var(--color-text);
  margin-bottom: 20px;
}

.section-title::after {
  content: '';
  display: block;
  width: 40px;
  height: 2px;
  background: linear-gradient(90deg, var(--color-accent), transparent);
  margin-top: 16px;
  border-radius: 2px;
}

.section-title.centered { text-align: center; }
.section-title.centered::after { margin: 16px auto 0; background: linear-gradient(90deg, transparent, var(--color-accent), transparent); width: 80px; }

.section-intro {
  max-width: 580px;
  margin: 0 auto 56px;
  text-align: center;
  font-size: 1rem;
}

/* 5. Header */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--header-h);
  background: rgba(6, 15, 30, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(43, 168, 220, 0.15);
  z-index: 1000;
  display: flex;
  align-items: center;
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--color-accent);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  white-space: nowrap;
  flex-shrink: 0;
}

.logo span { display: none; }

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

.nav-links a {
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.3px;
  color: var(--color-subtext);
  padding: 6px 9px;
  border-radius: 6px;
  transition: color var(--transition), background var(--transition);
  white-space: nowrap;
}

.nav-links a:hover {
  color: var(--color-text);
  background: var(--color-surface2);
}

.nav-links a.active { color: var(--color-accent); }

/* 6. Hamburger */
.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 6px;
  background: none;
  border: none;
}

.burger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--color-text);
  border-radius: 2px;
  transition: var(--transition);
}

.burger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.burger.active span:nth-child(2) { opacity: 0; }
.burger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* 7. Hero (CSS Gradient) */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(20, 50, 100, 0.6) 0%, transparent 70%),
    radial-gradient(ellipse 60% 40% at 80% 80%, rgba(43, 168, 220, 0.06) 0%, transparent 60%),
    linear-gradient(160deg, #060f1e 0%, #0b1d35 50%, #060f1e 100%);
}

/* Subtle grid overlay */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(43,168,220,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(43,168,220,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 30%, transparent 100%);
}

/* Decorative glow orb */
.hero::after {
  content: '';
  position: absolute;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(43,168,220,0.07) 0%, transparent 70%);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

/* Photographic hero background + overlay */
.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: url("images/bridge-binoculars.jpg") center center / cover no-repeat;
}
.hero-media::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(160deg, rgba(6, 15, 30, 0.86) 0%, rgba(11, 29, 53, 0.66) 45%, rgba(6, 15, 30, 0.9) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 780px;
  padding: calc(var(--header-h) + 40px) 24px 60px;
}

.hero-label {
  display: inline-block;
  font-size: 0.7rem;
  letter-spacing: 5px;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 24px;
  padding: 8px 20px;
  border: 1px solid rgba(43, 168, 220, 0.3);
  border-radius: 100px;
  background: rgba(43, 168, 220, 0.06);
}

.hero-title {
  color: var(--color-text);
  margin-bottom: 24px;
  font-size: clamp(2.4rem, 6vw, 4.2rem);
  line-height: 1.1;
}

.hero-title em {
  font-size: clamp(2.4rem, 4.2vw, 4.2rem);
  font-style: normal;
  color: var(--color-accent);
}

.hero-subtitle {
  font-size: 1.05rem;
  color: var(--color-subtext);
  margin-bottom: 44px;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.8;
}

/* Page Hero (inner pages) */
.page-hero {
  position: relative;
  padding: calc(var(--header-h) + 72px) 0 72px;
  text-align: center;
  background: linear-gradient(160deg, var(--color-surface) 0%, var(--color-bg) 100%);
  border-bottom: 1px solid var(--color-border);
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(43,168,220,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(43,168,220,0.03) 1px, transparent 1px);
  background-size: 50px 50px;
}

.page-hero::after {
  content: '';
  position: absolute;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(43,168,220,0.06) 0%, transparent 70%);
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
}

.page-hero .container { position: relative; z-index: 1; }

.page-hero-label {
  font-size: 0.7rem;
  letter-spacing: 5px;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 14px;
  font-weight: 600;
}

.page-hero-title {
  color: var(--color-text);
}

.page-hero-title::after {
  content: '';
  display: block;
  width: 50px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--color-accent), transparent);
  margin: 18px auto 0;
  border-radius: 2px;
}

/* 8. Buttons */
.btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: 8px;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  cursor: pointer;
  transition: all var(--transition);
  border: 1.5px solid transparent;
}

.btn-primary {
  background: linear-gradient(135deg, var(--color-accent), #1d7fb0);
  color: #ffffff;
  border-color: var(--color-accent);
  box-shadow: 0 4px 20px rgba(43, 168, 220, 0.25);
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--color-accent2), var(--color-accent));
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(43, 168, 220, 0.35);
}

.btn-outline {
  background: transparent;
  color: var(--color-text);
  border-color: rgba(255,255,255,0.2);
}

.btn-outline:hover {
  border-color: var(--color-accent);
  color: var(--color-accent);
  transform: translateY(-2px);
  background: rgba(43, 168, 220, 0.05);
}

.btn-group {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
}

/* 9. Cards */
.card-grid { display: grid; gap: 20px; }
.card-grid--2 { grid-template-columns: repeat(2, 1fr); }
.card-grid--3 { grid-template-columns: repeat(3, 1fr); }
.card-grid--4 { grid-template-columns: repeat(4, 1fr); }
.card-grid--5 { grid-template-columns: repeat(5, 1fr); }

.card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  transition: border-color var(--transition), transform var(--transition), box-shadow var(--transition);
  position: relative;
  overflow: hidden;
}

.card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--color-accent), transparent);
  opacity: 0;
  transition: opacity var(--transition);
}

.card:hover {
  border-color: rgba(43, 168, 220, 0.3);
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.card:hover::before { opacity: 1; }

.card-icon {
  font-size: 2.2rem;
  margin-bottom: 20px;
  display: block;
}

.card-title {
  color: var(--color-text);
  margin-bottom: 12px;
  font-size: 1.1rem;
}

.card p { font-size: 0.9rem; }

/* 10. Badges */
.badge-group {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.badge {
  display: inline-block;
  padding: 9px 22px;
  background: rgba(43, 168, 220, 0.08);
  border: 1px solid rgba(43, 168, 220, 0.35);
  color: var(--color-accent);
  border-radius: 100px;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  transition: background var(--transition);
}

.badge:hover { background: rgba(43, 168, 220, 0.15); }

/* 11. Two-column */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}

.two-col img {
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  width: 100%;
  object-fit: cover;
  box-shadow: 0 20px 60px rgba(0,0,0,0.4);
}

/* 12. Stats */
.stats-row {
  display: flex;
  gap: 40px;
  margin-top: 36px;
  flex-wrap: wrap;
}

.stat-item { text-align: center; }

.stat-number {
  font-family: var(--font-heading);
  font-size: 2.6rem;
  color: var(--color-accent);
  line-height: 1;
}

.stat-label {
  font-size: 0.7rem;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--color-subtext);
  margin-top: 6px;
}

/* 13. Contact blocks */
.contact-block {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 40px;
}

.contact-block h3 {
  color: var(--color-accent);
  margin-bottom: 24px;
  font-size: 0.8rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  font-family: var(--font-body);
  font-weight: 700;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--color-border);
}

.contact-row {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 16px;
  font-size: 0.9rem;
  color: var(--color-subtext);
}

.contact-row .icon { font-size: 1rem; margin-top: 2px; flex-shrink: 0; }
.contact-row a { color: var(--color-subtext); transition: color var(--transition); }
.contact-row a:hover { color: var(--color-accent); }

.phone-highlight {
  background: var(--color-surface2);
  border: 1px solid var(--color-border);
  border-radius: 6px;
  padding: 5px 12px;
  font-weight: 600;
  color: var(--color-text);
  font-size: 0.85rem;
  display: inline-block;
  margin: 3px 0;
  font-family: monospace;
  letter-spacing: 0.5px;
}

/* 14. Divider */
.divider {
  width: 40px;
  height: 2px;
  background: linear-gradient(90deg, var(--color-accent), transparent);
  border-radius: 2px;
  margin: 16px 0;
}

/* 15. Client list */
.client-list { display: flex; flex-direction: column; gap: 14px; margin-top: 8px; }

.client-item {
  display: flex;
  align-items: center;
  gap: 20px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 22px 28px;
  transition: border-color var(--transition), transform var(--transition);
}

.client-item:hover {
  border-color: rgba(43, 168, 220, 0.3);
  transform: translateX(4px);
}

.client-num {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  color: var(--color-accent);
  opacity: 0.4;
  min-width: 40px;
}

.client-name {
  font-weight: 600;
  color: var(--color-text);
  font-size: 0.95rem;
}

/* 16. Footer */
.site-footer {
  background: var(--color-surface);
  border-top: 1px solid var(--color-border);
  padding: 64px 0 28px;
  margin-top: auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 56px;
  margin-bottom: 56px;
}

.footer-brand .logo {
  font-size: 1rem;
  margin-bottom: 16px;
  display: block;
}

.footer-brand p { font-size: 0.85rem; max-width: 280px; line-height: 1.7; }

.footer-col h4 {
  font-family: var(--font-body);
  font-size: 0.7rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 18px;
  font-weight: 700;
}

.footer-col ul li { margin-bottom: 10px; color: var(--color-subtext); font-size: 0.875rem; }

.footer-col ul li a {
  font-size: 0.875rem;
  color: var(--color-subtext);
  transition: color var(--transition), padding-left var(--transition);
  display: inline-block;
}

.footer-col ul li a:hover {
  color: var(--color-accent);
  padding-left: 4px;
}

.footer-bottom {
  border-top: 1px solid var(--color-border);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-bottom p { font-size: 0.78rem; margin: 0; }

/* 17. Main padding */
main { flex: 1; padding-top: var(--header-h); }

/* 18. Responsive */
@media (max-width: 1200px) {
  .nav-links {
    display: none;
    flex-direction: column;
    position: fixed;
    top: var(--header-h);
    left: 0; right: 0;
    background: rgba(6, 15, 30, 0.98);
    padding: 24px;
    gap: 4px;
    border-bottom: 1px solid var(--color-border);
    z-index: 999;
  }

  .nav-links.open { display: flex; }

  .nav-links a {
    font-size: 1rem;
    padding: 13px 16px;
    display: block;
    border-radius: 8px;
  }

  .burger { display: flex; }
  .card-grid--4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 1000px) {
  .card-grid--5 { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 768px) {
  .section { padding: 64px 0; }
  .two-col { grid-template-columns: 1fr; gap: 36px; }
  .card-grid--2 { grid-template-columns: 1fr; }
  .card-grid--3 { grid-template-columns: 1fr; }
  .card-grid--4 { grid-template-columns: 1fr; }
  .card-grid--5 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; gap: 36px; }
  .stats-row { gap: 28px; }
  .card { padding: 28px 24px; }
}

@media (max-width: 480px) {
  .container { padding: 0 18px; }
  .hero-subtitle { font-size: 0.95rem; }
  .btn { padding: 13px 24px; font-size: 0.8rem; }
  .btn-group { flex-direction: column; align-items: stretch; }
  .btn-group .btn { text-align: center; }
  .contact-block { padding: 24px 20px; }
  .stats-row { justify-content: center; }
  .card-grid--5 { grid-template-columns: 1fr; }
}

/* =============================================
   19. ENHANCEMENTS (home page feel)
   ============================================= */

/* ---- Navbar redesign ---- */

/* Animated underline on links */
.nav-links a {
  position: relative;
  padding: 8px 11px;
}
.nav-links a:hover {
  background: transparent;
  color: var(--color-text);
}
.nav-links a::after {
  content: '';
  position: absolute;
  left: 11px;
  right: 11px;
  bottom: 2px;
  height: 2px;
  background: linear-gradient(90deg, var(--color-accent), var(--color-accent2));
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform var(--transition);
}
.nav-links a:hover::after,
.nav-links a.active::after { transform: scaleX(1); }

/* Primary CTA button inside nav */
.nav-cta-item { margin-left: 10px; }
.nav-links a.nav-cta {
  background: linear-gradient(135deg, var(--color-accent), #1d7fb0);
  color: #ffffff;
  padding: 10px 20px;
  border-radius: 8px;
  font-weight: 600;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 16px rgba(43, 168, 220, 0.28);
  transition: transform var(--transition), box-shadow var(--transition);
}
.nav-links a.nav-cta::after { display: none; }
.nav-links a.nav-cta:hover {
  transform: translateY(-2px);
  color: #ffffff;
  box-shadow: 0 8px 22px rgba(43, 168, 220, 0.45);
}

/* Logo image in navbar */
.site-header .logo-img {
  height: 52px;
  width: auto;
  display: block;
  background: #ffffff;
  padding: 5px 12px;
  border-radius: 10px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.25);
  transition: transform var(--transition), box-shadow var(--transition);
}
.site-header .logo:hover .logo-img {
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(43, 168, 220, 0.3);
}

@media (max-width: 480px) {
  .site-header .logo-img { height: 42px; padding: 4px 9px; }
}

/* Header subtle shadow once scrolled */
.site-header.scrolled {
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.35);
  border-bottom-color: rgba(43, 168, 220, 0.3);
}

/* Hero trust row */
.hero-trust {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px 28px;
  margin-top: 40px;
  font-size: 0.78rem;
  letter-spacing: 1px;
  color: var(--color-subtext);
  text-transform: uppercase;
}
.hero-trust span { white-space: nowrap; }

/* Hero scroll cue */
.hero-scroll {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  width: 24px;
  height: 40px;
  border: 2px solid rgba(43, 168, 220, 0.4);
  border-radius: 14px;
  z-index: 1;
}
.hero-scroll span {
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 8px;
  background: var(--color-accent);
  border-radius: 4px;
  animation: scrollDot 1.6s ease-in-out infinite;
}
@keyframes scrollDot {
  0%   { opacity: 0; transform: translate(-50%, 0); }
  40%  { opacity: 1; }
  100% { opacity: 0; transform: translate(-50%, 14px); }
}

/* Scroll-reveal */
[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
  will-change: opacity, transform;
}
[data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

/* Two-path cards (Seafarers / Shipowners) */
.path-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 8px;
}
.path-card {
  background: linear-gradient(160deg, var(--color-surface2), var(--color-surface));
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 44px 40px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transition: border-color var(--transition), transform var(--transition), box-shadow var(--transition);
}
.path-card:hover {
  border-color: rgba(43, 168, 220, 0.35);
  transform: translateY(-6px);
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.35);
}
.path-icon {
  font-size: 2.4rem;
  margin-bottom: 18px;
}
.path-card h3 {
  color: var(--color-text);
  font-size: 1.4rem;
  margin-bottom: 12px;
}

/* Check list */
.check-list {
  margin: 18px 0 26px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.check-list li {
  position: relative;
  padding-left: 28px;
  font-size: 0.9rem;
  color: var(--color-subtext);
}
.check-list li::before {
  content: '\2713';
  position: absolute;
  left: 0;
  top: 0;
  color: var(--color-accent);
  font-weight: 700;
}

/* Inline card link */
.card-link {
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: var(--color-accent);
  transition: gap var(--transition), color var(--transition);
}
.card-link:hover { color: var(--color-accent2); }

/* CTA band with gradient */
.cta-band {
  padding: 96px 0;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse 70% 80% at 50% 0%, rgba(43,168,220,0.10) 0%, transparent 60%),
    linear-gradient(160deg, var(--color-surface) 0%, var(--color-bg) 100%);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

@media (max-width: 768px) {
  .path-grid { grid-template-columns: 1fr; }
  .path-card { padding: 32px 26px; }
  .cta-band { padding: 64px 0; }
}

/* =============================================
   20. MARITIME COMPONENTS
   ============================================= */

/* ---- Hero animated waves ---- */
.hero-waves {
  position: absolute;
  left: 0; right: 0; bottom: -1px;
  width: 100%;
  line-height: 0;
  z-index: 1;
  pointer-events: none;
}
.hero-waves svg {
  width: 112%;
  margin-left: -6%;
  height: 130px;
  display: block;
}
.hero-waves .wave { transform-origin: center; }
.wave-1 { fill: rgba(43, 168, 220, 0.10); animation: waveSway 12s ease-in-out infinite; }
.wave-2 { fill: rgba(43, 168, 220, 0.18); animation: waveSway 9s ease-in-out infinite reverse; }
.wave-3 { fill: rgba(21, 72, 127, 0.55);  animation: waveSway 15s ease-in-out infinite; }
@keyframes waveSway {
  0%, 100% { transform: translateX(-18px); }
  50%      { transform: translateX(18px); }
}

/* ---- Ranks marquee ---- */
.ranks-band {
  background: var(--color-surface);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  padding: 30px 0;
  text-align: center;
}
.ranks-eyebrow {
  font-size: 0.7rem;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--color-accent);
  font-weight: 600;
  margin-bottom: 22px;
}
.marquee {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee 36s linear infinite;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-item {
  display: inline-flex;
  align-items: center;
  padding: 0 6px;
  font-family: var(--font-heading);
  font-size: 1.15rem;
  color: var(--color-text);
  white-space: nowrap;
}
.marquee-item::after {
  content: '\2693';            /* anchor */
  color: var(--color-accent);
  font-size: 0.85rem;
  margin: 0 34px;
  opacity: 0.8;
}
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ---- Voyage timeline ---- */
.voyage {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  position: relative;
  margin-top: 44px;
}
.voyage::before {
  content: '';
  position: absolute;
  top: 36px;
  left: 13%;
  right: 13%;
  height: 2px;
  background: repeating-linear-gradient(90deg, var(--color-accent) 0 9px, transparent 9px 18px);
  opacity: 0.35;
  z-index: 0;
}
.voyage-step { text-align: center; position: relative; z-index: 1; }
.voyage-node {
  width: 74px;
  height: 74px;
  margin: 0 auto 22px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  background: linear-gradient(135deg, var(--color-accent), #1d7fb0);
  border: 5px solid var(--color-bg);
  box-shadow: 0 0 0 1px var(--color-border), 0 10px 24px rgba(43, 168, 220, 0.30);
  transition: transform var(--transition), box-shadow var(--transition);
}
.voyage-step:hover .voyage-node {
  transform: translateY(-4px);
  box-shadow: 0 0 0 1px var(--color-accent), 0 14px 30px rgba(43, 168, 220, 0.45);
}
.voyage-icon { font-size: 1.7rem; line-height: 1; }
.voyage-num {
  position: absolute;
  top: -6px; right: -6px;
  width: 26px; height: 26px;
  border-radius: 50%;
  background: var(--color-bg);
  border: 1px solid var(--color-accent);
  color: var(--color-accent);
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}
.voyage-step h3 { color: var(--color-text); font-size: 1.05rem; margin-bottom: 8px; }
.voyage-step p { font-size: 0.88rem; }

@media (max-width: 880px) {
  .voyage { grid-template-columns: 1fr 1fr; gap: 36px 24px; }
  .voyage::before { display: none; }
}
@media (max-width: 480px) {
  .voyage { grid-template-columns: 1fr; }
  .marquee-item { font-size: 1rem; }
}

/* ---- Crew support services grid ---- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 44px;
}
.service-item {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-left: 3px solid var(--color-accent);
  border-radius: var(--radius);
  padding: 26px 24px;
  transition: transform var(--transition), box-shadow var(--transition), border-left-color var(--transition);
}
.service-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.28);
  border-left-color: var(--color-accent2);
}
.service-icon {
  font-size: 1.7rem;
  line-height: 1;
  display: block;
  margin-bottom: 14px;
}
.service-item h3 {
  color: var(--color-text);
  font-size: 1.02rem;
  margin-bottom: 8px;
}
.service-item p { font-size: 0.86rem; }

@media (max-width: 880px) {
  .services-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .services-grid { grid-template-columns: 1fr; }
}

/* ---- Meet Our Seafarers (crew cards) ---- */
.crew-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 44px;
  max-width: 880px;
  margin-left: auto;
  margin-right: auto;
}
.crew-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 28px 26px;
  transition: transform var(--transition), box-shadow var(--transition);
}
.crew-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.28);
}
.crew-head { display: flex; align-items: center; gap: 16px; }
.crew-avatar {
  flex: 0 0 auto;
  width: 58px; height: 58px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(135deg, var(--color-accent), #1d7fb0);
  box-shadow: 0 6px 16px rgba(43, 168, 220, 0.35);
}
.crew-name { color: var(--color-text); font-size: 1.05rem; margin: 0; }
.crew-rank { color: var(--color-accent); font-size: 0.85rem; font-weight: 600; }
.crew-card details { margin-top: 16px; }
.crew-card summary {
  cursor: pointer;
  color: var(--color-accent);
  font-size: 0.82rem;
  font-weight: 600;
  list-style: none;
}
.crew-card summary::-webkit-details-marker { display: none; }
.crew-card summary::after { content: ' \25BE'; }
.crew-card details[open] summary::after { content: ' \25B4'; }
.crew-card details p { font-size: 0.88rem; margin-top: 12px; }
.crew-photo {
  flex: 0 0 auto;
  width: 62px; height: 62px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--color-accent);
  box-shadow: 0 6px 16px rgba(43, 168, 220, 0.35);
}

/* ---- Certificate display ---- */
.certificate-frame {
  margin: 40px auto 0;
  max-width: 540px;
  text-align: center;
}
.certificate-frame img {
  width: 100%;
  height: auto;
  background: #fff;
  border-radius: 8px;
  border: 1px solid var(--color-border);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
  transition: transform var(--transition);
}
.certificate-frame img:hover { transform: translateY(-4px); }
.certificate-frame figcaption {
  margin-top: 16px;
  font-size: 0.8rem;
  color: var(--color-subtext);
}

/* ---- Footer social links ---- */
.social-links { display: flex; gap: 12px; margin-top: 20px; }
.social-links a {
  width: 38px; height: 38px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 50%;
  background: var(--color-surface2);
  color: var(--color-subtext);
  border: 1px solid var(--color-border);
  transition: color var(--transition), background var(--transition), transform var(--transition), border-color var(--transition);
}
.social-links a:hover {
  background: var(--color-accent);
  color: #fff;
  border-color: var(--color-accent);
  transform: translateY(-2px);
}

/* ---- Current Openings (job listing) ---- */
.openings-filter {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin: 28px 0 8px;
  flex-wrap: wrap;
}
.filter-btn {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  color: var(--color-subtext);
  padding: 9px 22px;
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition);
}
.filter-btn:hover { color: var(--color-text); border-color: rgba(43, 168, 220, 0.4); }
.filter-btn.active {
  background: var(--color-accent);
  border-color: var(--color-accent);
  color: #fff;
}
.openings {
  display: grid;
  gap: 14px;
  margin-top: 22px;
  max-width: 860px;
  margin-left: auto;
  margin-right: auto;
}
.opening-row {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 16px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-left: 3px solid var(--color-accent);
  border-radius: var(--radius);
  padding: 20px 24px;
  transition: transform var(--transition), box-shadow var(--transition);
}
.opening-row:hover { transform: translateY(-3px); box-shadow: 0 12px 26px rgba(0, 0, 0, 0.26); }
.opening-info h3 { color: var(--color-text); font-size: 1.05rem; margin: 0 0 6px; }
.opening-meta { display: flex; flex-wrap: wrap; gap: 8px; }
.opening-tag {
  font-size: 0.74rem;
  letter-spacing: 0.5px;
  color: var(--color-subtext);
  background: var(--color-surface2);
  border-radius: 6px;
  padding: 4px 10px;
}
.opening-tag.salary { color: var(--color-accent2); font-weight: 600; }

@media (max-width: 700px) {
  .crew-grid { grid-template-columns: 1fr; }
  .opening-row { grid-template-columns: 1fr; }
  .opening-row .btn { width: 100%; text-align: center; }
}

/* Respect reduced-motion for continuous animations */
@media (prefers-reduced-motion: reduce) {
  .hero-waves .wave,
  .marquee-track { animation: none; }
}

/* =============================================
   24. KEN BURNS HERO + COMPASS-ROSE WATERMARK
   ============================================= */
@keyframes kenBurns {
  0%   { transform: scale(1)    translateZ(0); }
  100% { transform: scale(1.08) translateZ(0); }
}

.hero-media {
  animation: kenBurns 24s ease-in-out alternate infinite;
}

@media (prefers-reduced-motion: reduce) {
  .hero-media { animation: none; }
}

/* Compass-rose — large, faint, slowly rotating watermark inside .hero */
.hero-compass {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.hero-compass svg {
  width: min(72vw, 680px);
  height: min(72vw, 680px);
  opacity: 0.055;
  animation: compassSpin 80s linear infinite;
  will-change: transform;
}

@keyframes compassSpin {
  to { transform: rotate(360deg); }
}

@media (prefers-reduced-motion: reduce) {
  .hero-compass svg { animation: none; }
}

/* Coordinate badge — bottom-right of hero */
.hero-coord {
  position: absolute;
  bottom: 100px;
  right: 28px;
  font-family: var(--font-condensed);
  font-size: 0.68rem;
  letter-spacing: 2px;
  color: rgba(255, 255, 255, 0.45);
  text-transform: uppercase;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 8px;
}

.hero-coord::before {
  content: '';
  display: inline-block;
  width: 16px;
  height: 1px;
  background: rgba(43, 168, 220, 0.6);
  flex-shrink: 0;
}

@media (max-width: 560px) {
  .hero-coord { right: 16px; bottom: 80px; }
}

/* =============================================
   25. GLOBAL REACH ROUTE MAP
   ============================================= */
.reach-map-section {
  background: var(--color-bg);
  padding: 96px 0 80px;
  position: relative;
  overflow: hidden;
}

.reach-map-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(43, 168, 220, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(43, 168, 220, 0.03) 1px, transparent 1px);
  background-size: 52px 52px;
  pointer-events: none;
}

.reach-map-header {
  text-align: center;
  margin-bottom: 52px;
  position: relative;
  z-index: 1;
}

.reach-map-wrap {
  position: relative;
  z-index: 1;
  max-width: 860px;
  margin: 0 auto;
}

/* The SVG map panel */
.reach-map-svg {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--radius-lg);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  box-shadow: 0 24px 60px rgba(0,0,0,0.42);
  /* steel hairline top */
  border-top: 2px solid rgba(43, 168, 220, 0.28);
}

/* Rivet corners */
.reach-map-rivets {
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.reach-map-rivets::before,
.reach-map-rivets::after {
  content: '';
  position: absolute;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-surface2);
  border: 1px solid rgba(43, 168, 220, 0.35);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.08);
}

.reach-map-rivets::before { top: 14px; left: 14px; }
.reach-map-rivets::after  { top: 14px; right: 14px; }

/* Animated dashed shipping routes */
@keyframes flowRoute {
  to { stroke-dashoffset: -120; }
}

.route-path {
  stroke-dasharray: 8 6;
  animation: flowRoute 4s linear infinite;
}

.route-path-slow {
  stroke-dasharray: 8 6;
  animation: flowRoute 6s linear infinite;
}

@media (prefers-reduced-motion: reduce) {
  .route-path,
  .route-path-slow { animation: none; }
}

/* Pulsing port nodes */
@keyframes portPulse {
  0%, 100% { r: 6; opacity: 0.9; }
  50%       { r: 9; opacity: 0.55; }
}

.port-pulse {
  animation: portPulse 2.4s ease-in-out infinite;
  transform-box: fill-box;
  transform-origin: center;
}

@media (prefers-reduced-motion: reduce) {
  .port-pulse { animation: none; }
}

/* Port label text */
.port-label {
  font-family: var(--font-condensed);
  font-size: 11px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  fill: rgba(240, 244, 248, 0.85);
}

.port-label-sub {
  font-size: 9px;
  letter-spacing: 1px;
  fill: rgba(43, 168, 220, 0.75);
}

/* Stats strip below the map */
.reach-map-stats {
  display: flex;
  justify-content: center;
  gap: 48px;
  margin-top: 40px;
  flex-wrap: wrap;
}

.reach-stat {
  text-align: center;
}

.reach-stat-num {
  font-family: var(--font-condensed);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--color-accent);
  display: block;
  line-height: 1;
}

.reach-stat-lbl {
  font-family: var(--font-condensed);
  font-size: 0.68rem;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--color-subtext);
  display: block;
  margin-top: 6px;
}

@media (max-width: 768px) {
  .reach-map-stats { gap: 28px; }
  .reach-stat-num  { font-size: 1.5rem; }
}

/* =============================================
   26. ROPE / CHAIN DIVIDERS
   ============================================= */
.divider-rope {
  display: block;
  width: 100%;
  height: 20px;
  overflow: hidden;
  line-height: 0;
  opacity: 0.28;
  pointer-events: none;
}

.divider-rope svg {
  width: 100%;
  height: 20px;
  display: block;
}

/* =============================================
   27. STEEL-RIVET FOOTER
   ============================================= */
.site-footer {
  border-top: 1px solid rgba(43, 168, 220, 0.18);
  background:
    linear-gradient(180deg, rgba(10, 26, 46, 0.0) 0%, rgba(4, 12, 22, 0.55) 100%),
    var(--color-bg);
  position: relative;
}

/* Tiny rivet dots in the top corners of the footer */
.site-footer::before,
.site-footer::after {
  content: '';
  position: absolute;
  top: 16px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--color-surface2);
  border: 1px solid rgba(43, 168, 220, 0.3);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.07);
}

.site-footer::before { left: 20px; }
.site-footer::after  { right: 20px; }

/* Steel hairline on cta-band */
.cta-band {
  border-top: 1px solid rgba(43, 168, 220, 0.15);
  position: relative;
}

.cta-band::before,
.cta-band::after {
  content: '';
  position: absolute;
  top: 14px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(43, 168, 220, 0.18);
  border: 1px solid rgba(43, 168, 220, 0.3);
}

.cta-band::before { left: 20px; }
.cta-band::after  { right: 20px; }

/* =============================================
   28. DEPTH & COLOR POLISH
   ============================================= */
/* Slightly deeper ocean gradients on hero */
.hero {
  background: linear-gradient(165deg, #07162b 0%, #0d2540 55%, #091e36 100%);
}

/* Deepen card hover lift */
.card:hover {
  box-shadow: 0 20px 44px rgba(0, 0, 0, 0.40), 0 0 0 1px rgba(43, 168, 220, 0.14);
}

/* Foam hairline between hero and first section */
.hero::after {
  content: none; /* waves already handle this */
}

/* Tighter section-label bottom spacing for condensed font */
.section-label {
  margin-bottom: 10px;
}

/* Mobile navbar (dropdown) overrides — kept last so they win */
@media (max-width: 1200px) {
  .nav-links a { padding: 13px 16px; }
  .nav-links a::after { display: none; }
  .nav-links a:hover { background: var(--color-surface2); }
  .nav-links a.active { background: var(--color-surface2); }
  .nav-cta-item { margin: 8px 0 0; }
  .nav-links a.nav-cta {
    text-align: center;
    padding: 14px 20px;
    box-shadow: none;
  }
}

/* =============================================
   CONDENSED FONT VARIABLE (Oswald)
   ============================================= */
:root {
  --font-condensed: 'Oswald', 'Inter', sans-serif;
}

/* "Signage/manifest" elements — uppercase + condensed for port-notice feel */
.section-label,
.hero-label,
.page-hero-label,
.ranks-eyebrow {
  font-family: var(--font-condensed);
  font-weight: 500;
  letter-spacing: 4px;
  font-size: 0.72rem;
}

.stat-number {
  font-family: var(--font-condensed);
  font-weight: 700;
}

.nav-links a {
  font-family: var(--font-condensed);
  font-weight: 400;
  letter-spacing: 1px;
  text-transform: uppercase;
  font-size: 0.8rem;
}

.nav-cta {
  font-family: var(--font-condensed);
  font-weight: 500;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.btn {
  font-family: var(--font-condensed);
  font-weight: 500;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.badge {
  font-family: var(--font-condensed);
  letter-spacing: 1px;
}

.filter-btn {
  font-family: var(--font-condensed);
  letter-spacing: 1px;
  text-transform: uppercase;
}

.opening-tag {
  font-family: var(--font-condensed);
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.crew-rank {
  font-family: var(--font-condensed);
  font-weight: 500;
  letter-spacing: 0.5px;
}

.marquee-item {
  font-family: var(--font-condensed);
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
}

/* =============================================
   21. NAUTICAL LINE-ICON SYSTEM (data-URI masks, file://-safe)
   ============================================= */
.ico {
  display: inline-block;
  width: 1em;
  height: 1em;
  background-color: currentColor;
  -webkit-mask: var(--ico) center / contain no-repeat;
  mask: var(--ico) center / contain no-repeat;
  vertical-align: middle;
}
/* icon colour comes from the container */
.card-icon, .service-icon, .path-icon { color: var(--color-accent); }
.voyage-icon { color: #ffffff; }
.path-icon { font-size: 2rem; }

.ico-anchor      { --ico: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'><circle cx='12' cy='5' r='3'/><line x1='12' y1='22' x2='12' y2='8'/><path d='M5 12H2a10 10 0 0 0 20 0h-3'/></svg>"); }
.ico-ship        { --ico: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'><path d='M3 15h18l-2.2 5.5a1 1 0 0 1-.93.5H6.13a1 1 0 0 1-.93-.5z'/><path d='M6 15V8h8l4 4'/><line x1='10' y1='8' x2='10' y2='4'/><path d='M10 4l5 2-5 2'/></svg>"); }
.ico-tanker      { --ico: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'><path d='M3 16h18l-1.6 4H4.6z'/><rect x='6' y='10' width='12' height='6'/><rect x='9' y='6' width='3' height='4'/></svg>"); }
.ico-oil         { --ico: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'><ellipse cx='12' cy='6' rx='6' ry='2'/><path d='M6 6v12c0 1.1 2.7 2 6 2s6-.9 6-2V6'/><line x1='6' y1='12' x2='18' y2='12'/></svg>"); }
.ico-flask       { --ico: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'><path d='M9 3h6'/><path d='M10 3v5L5 18a1 1 0 0 0 .9 1.5h12.2A1 1 0 0 0 19 18l-5-10V3'/><line x1='7.5' y1='14' x2='16.5' y2='14'/></svg>"); }
.ico-sailboat    { --ico: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'><path d='M3 18h18l-2 3H5z'/><path d='M11 3 4 16h7z'/><path d='M13 6v10h6z'/></svg>"); }
.ico-gear        { --ico: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'><circle cx='12' cy='12' r='3.2'/><path d='M12 2v3'/><path d='M12 19v3'/><path d='M2 12h3'/><path d='M19 12h3'/><path d='M4.9 4.9l2.1 2.1'/><path d='M17 17l2.1 2.1'/><path d='M19.1 4.9 17 7'/><path d='M7 17l-2.1 2.1'/></svg>"); }
.ico-globe       { --ico: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'><circle cx='12' cy='12' r='10'/><line x1='2' y1='12' x2='22' y2='12'/><path d='M12 2a15.3 15.3 0 0 1 4 10 15.3 15.3 0 0 1-4 10 15.3 15.3 0 0 1-4-10 15.3 15.3 0 0 1 4-10z'/></svg>"); }
.ico-compass     { --ico: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'><circle cx='12' cy='12' r='10'/><polygon points='16.24 7.76 14.12 14.12 7.76 16.24 9.88 9.88 16.24 7.76'/></svg>"); }
.ico-target      { --ico: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'><circle cx='12' cy='12' r='10'/><circle cx='12' cy='12' r='6'/><circle cx='12' cy='12' r='2'/></svg>"); }
.ico-clock       { --ico: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'><line x1='6' y1='3' x2='18' y2='3'/><line x1='6' y1='21' x2='18' y2='21'/><path d='M7 3l5 9 5-9'/><path d='M7 21l5-9 5 9'/></svg>"); }
.ico-handshake   { --ico: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'><circle cx='9' cy='12' r='5'/><circle cx='15' cy='12' r='5'/></svg>"); }
.ico-wage        { --ico: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'><ellipse cx='12' cy='7' rx='7' ry='3'/><path d='M5 7v5c0 1.66 3.13 3 7 3s7-1.34 7-3V7'/><path d='M5 12v5c0 1.66 3.13 3 7 3s7-1.34 7-3v-5'/></svg>"); }
.ico-briefcase   { --ico: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'><rect x='2' y='7' width='20' height='14' rx='2'/><path d='M16 21V5a2 2 0 0 0-2-2h-4a2 2 0 0 0-2 2v16'/></svg>"); }
.ico-freight     { --ico: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'><path d='M12 3l8 4v10l-8 4-8-4V7z'/><path d='M4 7l8 4 8-4'/><line x1='12' y1='11' x2='12' y2='21'/></svg>"); }
.ico-wrench      { --ico: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'><path d='M14.7 6.3a1 1 0 0 0 0 1.4l1.6 1.6a1 1 0 0 0 1.4 0l3.77-3.77a6 6 0 0 1-7.94 7.94l-6.91 6.91a2.12 2.12 0 0 1-3-3l6.91-6.91a6 6 0 0 1 7.94-7.94l-3.76 3.76z'/></svg>"); }
.ico-badge       { --ico: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'><circle cx='12' cy='8' r='6'/><path d='M15.5 13.5 17 22l-5-3-5 3 1.5-8.5'/></svg>"); }
.ico-graduation  { --ico: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'><path d='M2 9l10-4 10 4-10 4z'/><path d='M6 11.5V16c0 1.5 12 1.5 12 0v-4.5'/><line x1='22' y1='9' x2='22' y2='13'/></svg>"); }
.ico-plane       { --ico: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'><path d='M17.8 19.2 16 11l3.5-3.5a2.12 2.12 0 0 0-3-3L13 8 4.8 6.2a1 1 0 0 0-1 .3l-.8.8a1 1 0 0 0 .3 1.6L9 12l-2 3H4l-1 1 3 2 2 3 1-1v-3l3-2 2.7 5.4a1 1 0 0 0 1.6.3l.8-.8a1 1 0 0 0 .3-1z'/></svg>"); }
.ico-ticket      { --ico: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'><path d='M3 9a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2 2 2 0 0 0 0 4 2 2 0 0 1-2 2H5a2 2 0 0 1-2-2 2 2 0 0 0 0-4z'/><line x1='13' y1='7' x2='13' y2='17'/></svg>"); }
.ico-medical     { --ico: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'><rect x='3' y='3' width='18' height='18' rx='2'/><line x1='12' y1='8' x2='12' y2='16'/><line x1='8' y1='12' x2='16' y2='12'/></svg>"); }
.ico-certificate { --ico: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'><path d='M5 4h11l3 3v13H5z'/><line x1='8' y1='9' x2='14' y2='9'/><line x1='8' y1='12' x2='12' y2='12'/><circle cx='15' cy='15' r='2.5'/><path d='M13.5 16.8 13 21l2-1.1 2 1.1-.5-4.2'/></svg>"); }
.ico-shield      { --ico: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'><path d='M12 22s8-4 8-10V5l-8-3-8 3v7c0 6 8 10 8 10z'/><path d='M9 12l2 2 4-4'/></svg>"); }
.ico-vest        { --ico: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'><path d='M8 3 6 6v15h12V6l-2-3'/><path d='M8 3l4 4 4-4'/><line x1='12' y1='7' x2='12' y2='21'/></svg>"); }
.ico-clipboard   { --ico: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'><path d='M16 4h2a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2h2'/><rect x='8' y='2' width='8' height='4' rx='1'/></svg>"); }
.ico-document    { --ico: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'><path d='M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8z'/><polyline points='14 2 14 8 20 8'/><line x1='8' y1='13' x2='16' y2='13'/><line x1='8' y1='17' x2='13' y2='17'/></svg>"); }

/* =============================================
   22. WAVE SECTION DIVIDERS + CHART TEXTURE
   ============================================= */
/* Subtle nautical-chart grid + a wave top-edge on alternate sections */
.section--alt {
  position: relative;
  background-image:
    linear-gradient(rgba(43, 168, 220, 0.028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(43, 168, 220, 0.028) 1px, transparent 1px);
  background-size: 48px 48px;
}
.section--alt::before {
  content: '';
  position: absolute;
  top: -38px; left: 0; right: 0;
  height: 40px;
  background: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 40' preserveAspectRatio='none'><path d='M0,40 L0,18 C240,40 480,2 720,18 C960,34 1200,2 1440,20 L1440,40 Z' fill='%230b2238'/></svg>") center bottom / 100% 100% no-repeat;
  pointer-events: none;
}
/* Faint lat/long chart lines on the inner-page hero too */
.page-hero {
  background-image:
    linear-gradient(rgba(43, 168, 220, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(43, 168, 220, 0.03) 1px, transparent 1px),
    linear-gradient(160deg, var(--color-surface) 0%, var(--color-bg) 100%);
  background-size: 50px 50px, 50px 50px, 100% 100%;
}

/* =============================================
   23. PORTHOLE FRAMING
   ============================================= */
.porthole {
  display: block;
  width: 100%;
  max-width: 400px;
  aspect-ratio: 1 / 1;
  margin: 0 auto;
  border-radius: 50%;
  object-fit: cover;
  border: 7px solid var(--color-surface2);
  box-shadow:
    0 0 0 2px var(--color-accent),
    0 24px 50px rgba(0, 0, 0, 0.45),
    inset 0 0 44px rgba(0, 0, 0, 0.45);
}
/* Crew avatars styled as small portholes */
.crew-photo {
  border: 3px solid var(--color-surface2);
  box-shadow: 0 0 0 2px var(--color-accent), 0 6px 16px rgba(43, 168, 220, 0.30);
}
