@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@500;600;700&family=Inter:wght@400;500;600&display=swap');

:root {
  --color-bg-dark: #0B0530;
  --color-bg-darker: #08021f;
  --color-accent: #2E9BF5;
  --color-accent-2: #7C3AED;
  --gradient-accent: linear-gradient(90deg, #2E9BF5, #7C3AED);
  --color-text-light: #FFFFFF;
  --color-text-light-muted: #B8C4E0;
  --color-bg-light: #FFFFFF;
  --color-bg-light-alt: #F4F6FB;
  --color-text-dark: #10142B;
  --color-text-dark-muted: #4A5170;
  --font-heading: 'Space Grotesk', sans-serif;
  --font-body: 'Inter', sans-serif;
  --container-width: 1200px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--color-text-dark);
  background: var(--color-bg-light);
  line-height: 1.5;
}

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 600;
  line-height: 1.15;
}

h1 { font-size: clamp(2.5rem, 5vw, 4rem); font-weight: 500; letter-spacing: -0.01em; }
h2 { font-size: clamp(1.75rem, 3vw, 2.5rem); }
h3 { font-size: 1.25rem; }

p { color: inherit; }

a { color: inherit; text-decoration: none; }

img { max-width: 100%; display: block; }

.container {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 24px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 32px;
  border-radius: 999px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  transition: transform 0.15s ease, opacity 0.15s ease;
}
.btn:hover { transform: translateY(-2px); }

.btn-gradient {
  background: var(--gradient-accent);
  color: var(--color-text-light);
}

.btn-outline {
  background: transparent;
  color: var(--color-text-light);
  border: 1px solid rgba(255, 255, 255, 0.4);
}

.hero {
  background: radial-gradient(ellipse at top, #140a4a 0%, var(--color-bg-dark) 55%, var(--color-bg-darker) 100%);
  color: var(--color-text-light);
  padding: 160px 0 100px;
}

.hero--video {
  position: relative;
  overflow: hidden;
}
.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(11, 5, 48, 0.75) 0%, rgba(11, 5, 48, 0.55) 50%, var(--color-bg-darker) 100%);
  z-index: 1;
}
.hero-content {
  position: relative;
  z-index: 2;
}

.hero-eyebrow {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 20px;
}

.hero h1 { color: var(--color-text-light); max-width: 780px; }

.lead {
  font-size: 1.15rem;
  color: var(--color-text-light-muted);
  max-width: 620px;
  margin-top: 20px;
}

.hero .btn { margin-top: 36px; }

.section { padding: 90px 0; }
.section--light { background: var(--color-bg-light); }
.section--alt { background: var(--color-bg-light-alt); }
.section--dark { background: var(--color-bg-dark); color: var(--color-text-light); }
.section--dark p { color: var(--color-text-light-muted); }

.section-header { max-width: 640px; margin-bottom: 48px; }
.section-header .hero-eyebrow { color: var(--color-accent); }

.grid { display: grid; gap: 32px; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }

.card {
  background: var(--color-bg-light);
  border: 1px solid #E4E8F5;
  border-radius: 16px;
  padding: 32px;
}
.section--dark .card {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.12);
}

.card-badge {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-accent-2);
  background: rgba(124, 58, 237, 0.1);
  padding: 4px 10px;
  border-radius: 999px;
  margin-bottom: 14px;
}
.product-card {
  display: flex;
  flex-direction: column;
}
.card-subhead {
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--color-text-dark-muted);
  margin-top: 16px;
  margin-bottom: 8px;
}
.card-list {
  margin: 0 0 18px;
  padding-left: 18px;
  font-size: 0.9rem;
  color: var(--color-text-dark-muted);
}
.card-list li { margin-bottom: 4px; }
.card-cta {
  display: inline-block;
  margin-top: auto;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--color-accent-2);
}
.card-cta:hover { text-decoration: underline; }

.post-card {
  background: var(--color-bg-light);
  border: 1px solid #E4E8F5;
  border-radius: 16px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.post-card__date {
  font-size: 0.85rem;
  color: var(--color-accent-2);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.stat__value {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 600;
  background: var(--gradient-accent);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.stat__label {
  margin-top: 8px;
  color: var(--color-text-dark-muted);
  font-size: 0.95rem;
}
.section--dark .stat__label { color: var(--color-text-light-muted); }

.cta-banner {
  background: var(--color-bg-dark);
  color: var(--color-text-light);
  padding: 80px 0;
  text-align: center;
}
.cta-banner h2 { max-width: 600px; margin: 0 auto 28px; }

@media (max-width: 860px) {
  .grid--2, .grid--3 { grid-template-columns: 1fr; }
  .hero { padding: 130px 0 70px; }
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background: rgba(11, 5, 48, 0.85);
  backdrop-filter: blur(8px);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 20px;
  padding-bottom: 20px;
}
.logo img { height: 36px; }
.site-nav {
  display: flex;
  align-items: center;
  gap: 32px;
}
.site-nav a {
  color: var(--color-text-light);
  font-size: 0.95rem;
  font-weight: 500;
}
.site-nav a.nav-cta {
  padding: 10px 22px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.4);
}
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--color-text-light);
}
body { padding-top: 84px; }

@media (max-width: 860px) {
  .nav-toggle { display: flex; }
  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--color-bg-darker);
    flex-direction: column;
    align-items: flex-start;
    padding: 24px;
    gap: 20px;
    display: none;
  }
  .site-nav.is-open { display: flex; }
}

.site-footer {
  background: var(--color-bg-darker);
  color: var(--color-text-light-muted);
  padding: 64px 0 32px;
}
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 48px;
  justify-content: space-between;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.footer-brand img { height: 32px; margin-bottom: 12px; }
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-nav a { color: var(--color-text-light-muted); font-size: 0.95rem; }
.footer-nav a:hover { color: var(--color-text-light); }
.footer-contact p { font-size: 0.95rem; }
.footer-bottom {
  padding-top: 24px;
  font-size: 0.85rem;
  text-align: center;
  color: rgba(184, 196, 224, 0.6);
}

.contact-form {
  max-width: 560px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.form-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.form-field label {
  font-size: 0.9rem;
  font-weight: 600;
}
.form-field input,
.form-field textarea {
  font-family: var(--font-body);
  font-size: 1rem;
  padding: 12px 14px;
  border-radius: 8px;
  border: 1px solid #D3D9EC;
}
.form-field textarea { min-height: 140px; resize: vertical; }
.form-status { font-size: 0.95rem; min-height: 1.2em; }
.form-status--success { color: #1B8A5A; }
.form-status--error { color: #C0392B; }

/* ---- Ports map ("Where we deliver") ---- */
.ports-map { max-width: 960px; margin: 8px auto 0; }
.pm-svg {
  width: 100%; height: auto; display: block; border-radius: 14px;
  border: 1px solid rgba(124, 58, 237, 0.35);
  box-shadow: inset 0 0 70px rgba(46, 155, 245, 0.14);
}
.pm-world {
  fill: rgba(83, 167, 255, 0.20);
  stroke: rgba(120, 195, 255, 0.65);
  stroke-width: 0.6; stroke-linejoin: round;
}
.pm-graticule line { stroke: rgba(150, 180, 235, 0.16); stroke-width: 0.5; }
.pm-stars circle { fill: #eaf1ff; }
.pm-arcs path {
  fill: none; stroke-width: 1.4; opacity: 0.75;
  stroke-dasharray: 3 4; animation: pm-dash 6s linear infinite;
}
@keyframes pm-dash { to { stroke-dashoffset: -70; } }
.pm-core { fill: #eaf4ff; }
.pm-glow { fill: var(--color-accent); opacity: 0.5; filter: blur(1.5px); }
.pm-pulse {
  fill: none; stroke: #8fd0ff; stroke-width: 1.6;
  transform-box: fill-box; transform-origin: center;
  animation: pm-pulse 3s ease-out infinite; animation-delay: var(--d);
}
@keyframes pm-pulse {
  0%   { transform: scale(0.5); opacity: 0.9; }
  70%  { opacity: 0; }
  100% { transform: scale(3.6); opacity: 0; }
}
.pm-label text {
  fill: #dbe6ff; font-size: 12px; font-family: inherit;
  paint-order: stroke; stroke: #0c0636; stroke-width: 3px;
}
.pm-label .pm-leader { stroke: rgba(180, 205, 255, 0.5); stroke-width: 0.6; }
.ports-map:not(.ports-map--full) .pm-label { display: none; }

.ports-legend {
  list-style: none; display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 14px 40px; max-width: 820px; margin: 36px auto 0;
}
.ports-legend li { border-left: 2px solid var(--color-accent-2); padding-left: 14px; }
.ports-legend b {
  display: block; color: var(--color-accent); font-size: 0.78rem;
  letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 2px;
}
.ports-legend span { color: var(--color-text-light-muted); }

@media (max-width: 860px) {
  .ports-legend { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .pm-pulse { animation: none; opacity: 0.35; }
  .pm-arcs path { animation: none; }
}

/* ---- Full-bleed media band (tanker / refinery / tank farm) ---- */
.media-band {
  position: relative;
  margin: 0;
  overflow: hidden;
  background: var(--color-bg-darker);
  border-top: 1px solid rgba(46, 155, 245, 0.35);
  border-bottom: 1px solid rgba(46, 155, 245, 0.35);
}
.media-band img {
  width: 100%;
  height: clamp(240px, 42vw, 460px);
  object-fit: cover;
  filter: contrast(1.06) saturate(0.92) brightness(0.94);
}
.media-band::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(8, 2, 31, 0.80) 0%, rgba(8, 2, 31, 0.30) 40%, rgba(8, 2, 31, 0) 65%),
    linear-gradient(0deg, rgba(8, 2, 31, 0.55) 0%, rgba(8, 2, 31, 0) 45%);
}
.media-band figcaption {
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 100%;
  max-width: var(--container-width);
  padding: 20px 24px;
  z-index: 1;
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-text-light);
}
.media-band figcaption::before {
  content: "";
  display: inline-block;
  width: 28px;
  height: 2px;
  margin-right: 12px;
  vertical-align: middle;
  background: var(--gradient-accent);
}
@media (max-width: 860px) {
  .media-band img { height: clamp(190px, 52vw, 300px); }
  .media-band figcaption { font-size: 0.72rem; letter-spacing: 0.12em; }
}

/* ---- "Who we are" section body ---- */
.who-prose { max-width: 640px; }
.who-prose > p {
  margin-bottom: 20px;
  color: var(--color-text-dark-muted);
}
.who-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.who-list li {
  position: relative;
  padding-left: 26px;
  margin-bottom: 14px;
  line-height: 1.65;
  color: var(--color-text-dark);
}
.who-list li:last-child { margin-bottom: 0; }
.who-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.6em;
  width: 8px;
  height: 8px;
  border-radius: 2px;
  background: var(--gradient-accent);
}

/* compact stat strip — replaces 3 oversized gradient words on desktop */
.who-prose + .grid--3 {
  gap: 0;
  max-width: 760px;
  margin-top: 40px;
  border-top: 1px solid #E4E8F5;
  border-bottom: 1px solid #E4E8F5;
}
.who-prose + .grid--3 .stat {
  padding: 20px 28px;
  border-left: 1px solid #E4E8F5;
}
.who-prose + .grid--3 .stat:first-child {
  padding-left: 0;
  border-left: 0;
}
.who-prose + .grid--3 .stat__value {
  font-size: 1.1rem;
  letter-spacing: 0.02em;
}
.who-prose + .grid--3 .stat__label {
  margin-top: 6px;
  font-size: 0.88rem;
  line-height: 1.5;
}
@media (max-width: 860px) {
  .who-prose + .grid--3 {
    margin-top: 28px;
    border-bottom: 0;
  }
  .who-prose + .grid--3 .stat {
    padding: 16px 0;
    border-left: 0;
    border-bottom: 1px solid #E4E8F5;
  }
}
