/* ===================== DESIGN TOKENS =====================
   Brand palette:
   Midnight Marine #12272B — primary dark (~45%)
   Oyster          #F3EFE7 — light background (~30%)
   Warm Stone      #D2C8BA — cards & secondary surfaces (~12%)
   Heritage Gold   #B89562 — accent (from the logo)
*/
:root {
  --marine-950: #0b181b;
  --marine-900: #12272b; /* Midnight Marine */
  --marine-800: #1a3439;
  --marine-700: #23444a;
  --marine-600: #2e555c;

  --oyster: #f3efe7;      /* light background */
  --oyster-soft: #ece6d9; /* alternate sections */
  --stone: #d2c8ba;       /* cards & secondary surfaces */
  --stone-soft: #e0d8cb;

  --gold: #b89562;
  --gold-soft: #d8c39a;

  --line: #c9bfae;
  --ink: #1c282a;
  --muted: #57625e;
  --white: #ffffff;

  --radius: 14px;
  --radius-sm: 10px;
  --shadow-sm: 0 2px 10px rgba(18, 39, 43, 0.07);
  --shadow: 0 14px 40px rgba(18, 39, 43, 0.14);
  --shadow-lg: 0 30px 70px rgba(18, 39, 43, 0.2);
  --maxw: 1140px;
  --font-head: "Cormorant Garamond", Georgia, serif;
  --font-body: "Inter", system-ui, -apple-system, sans-serif;
}

/* ===================== BASE ===================== */
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--oyster);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
::selection { background: rgba(184, 149, 98, 0.35); }

/* ===================== ICONS (Lucide sprite) ===================== */
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.icon {
  width: 24px; height: 24px; display: inline-block; vertical-align: middle;
  fill: none; stroke: currentColor; stroke-width: 2;
  stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0;
}
.icon-sm { width: 18px; height: 18px; }
.icon-lg { width: 28px; height: 28px; }

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

h1, h2, h3 { font-family: var(--font-head); font-weight: 600; line-height: 1.12; color: var(--marine-900); letter-spacing: 0.2px; }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: 1.35rem; }

.section { padding: 96px 0; }
.section-alt { background: var(--oyster-soft); }
.section-head { text-align: center; max-width: 680px; margin: 0 auto 56px; }
.section-sub { color: var(--muted); font-size: 1.05rem; margin-top: 14px; }
.section-eyebrow, .eyebrow {
  text-transform: uppercase; letter-spacing: 3px; font-size: 0.78rem;
  font-weight: 600; color: var(--gold); margin-bottom: 14px;
}
.section-eyebrow.light { color: var(--gold-soft); }

/* ===================== BUTTONS ===================== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--font-body); font-weight: 600; font-size: 0.95rem;
  padding: 13px 26px; border-radius: 999px; border: 1.5px solid transparent;
  cursor: pointer; transition: all 0.25s ease; text-align: center;
}
.btn-lg { padding: 16px 34px; font-size: 1rem; }
.btn-block { width: 100%; }
.btn-primary {
  background: var(--marine-900); color: var(--oyster);
  border-color: var(--marine-900); box-shadow: var(--shadow-sm);
}
.btn-primary:hover { background: var(--marine-700); border-color: var(--marine-700); transform: translateY(-2px); box-shadow: var(--shadow); }
.btn-ghost { background: transparent; color: var(--oyster); border-color: rgba(243, 239, 231, 0.5); }
.btn-ghost:hover { background: rgba(243, 239, 231, 0.12); border-color: var(--oyster); }

/* Gold primary on dark surfaces (hero, apply) */
.hero .btn-primary, .apply-section .btn-primary {
  background: var(--gold); border-color: var(--gold); color: var(--marine-950);
}
.hero .btn-primary:hover, .apply-section .btn-primary:hover {
  background: var(--gold-soft); border-color: var(--gold-soft); color: var(--marine-950);
}

/* ===================== HEADER ===================== */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(243, 239, 231, 0.9); backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(201, 191, 174, 0.6);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; height: 76px; }
.brand { display: inline-flex; align-items: center; }
.brand-logo { width: 225px; height: auto; object-fit: contain; }
.main-nav { display: flex; gap: 30px; }
.main-nav a {
  font-size: 0.92rem; font-weight: 500; color: var(--marine-900);
  position: relative; padding: 6px 0;
}
.main-nav a::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 2px; width: 0;
  background: var(--gold); transition: width 0.25s ease;
}
.main-nav a:hover::after { width: 100%; }
.header-cta { padding: 10px 22px; }
.header-ctas { display: flex; align-items: center; gap: 10px; }
.btn-outline {
  background: transparent; color: var(--marine-900);
  border-color: rgba(28, 40, 42, 0.28);
}
.btn-outline:hover { background: var(--stone); border-color: var(--marine-800); color: var(--marine-900); }
.mobile-nav .btn-outline { border-color: rgba(28, 40, 42, 0.28); }

.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 6px; }
.nav-toggle span { width: 24px; height: 2px; background: var(--marine-900); border-radius: 2px; transition: 0.25s; }
.mobile-nav { display: none; flex-direction: column; padding: 16px 24px 24px; gap: 4px; background: var(--oyster); border-bottom: 1px solid var(--line); }
.mobile-nav a { padding: 12px 4px; font-weight: 500; border-bottom: 1px solid var(--stone-soft); }
.mobile-nav a.btn { border: none; margin-top: 10px; justify-content: center; }

/* ===================== HERO ===================== */
.hero {
  position: relative; color: var(--oyster); overflow: hidden;
  background:
    radial-gradient(1200px 500px at 70% -10%, rgba(184, 149, 98, 0.16), transparent 60%),
    linear-gradient(160deg, var(--marine-950) 0%, var(--marine-900) 55%, var(--marine-700) 100%);
}
/* LNG-carrier blueprint underlay, tinted into the marine palette:
   grayscale + high contrast keeps only the drawing's light linework,
   screen blending fuses it natively with the dark background. */
.hero::before {
  content: ""; position: absolute; inset: 0;
  background: url("../assets/blueprint-lng.jpg") center 30% / cover no-repeat;
  filter: grayscale(1) brightness(0.78) contrast(1.55);
  mix-blend-mode: screen;
  opacity: 0.2;
  -webkit-mask-image: radial-gradient(115% 95% at 50% 42%, #000 35%, transparent 80%);
          mask-image: radial-gradient(115% 95% at 50% 42%, #000 35%, transparent 80%);
  pointer-events: none;
}
.hero-inner {
  position: relative; z-index: 2; display: grid;
  grid-template-columns: 1.05fr 0.95fr; align-items: center; gap: 40px;
  padding: 104px 24px 140px;
}
.hero-content { max-width: 640px; }
.hero h1 { color: var(--oyster); font-size: clamp(2.6rem, 5vw, 4.2rem); font-weight: 600; margin: 12px 0 22px; }
.hero-lead { font-size: 1.15rem; color: rgba(243, 239, 231, 0.76); max-width: 560px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin: 34px 0 34px; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 14px 22px; color: var(--gold-soft); font-size: 0.92rem; font-weight: 500; }
.hero-trust span { display: inline-flex; align-items: center; gap: 7px; }
.hero-trust .icon { color: var(--gold); }

/* Globe */
.hero-visual { position: relative; display: flex; justify-content: center; align-items: center; }
.hero-visual::after {
  content: ""; position: absolute; width: 78%; aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle, rgba(184, 149, 98, 0.16), transparent 62%);
  filter: blur(20px); z-index: 0;
}
.hero-globe {
  position: relative; z-index: 1; width: 100%; max-width: 520px; aspect-ratio: 1 / 1;
  height: auto; margin: 0 auto;
  opacity: 0; transition: opacity 0.9s ease;
}
.hero-globe.is-ready { opacity: 1; }
.globe-base, .globe-routes { position: absolute; inset: 0; width: 100%; height: 100%; }
.globe-base { touch-action: pan-y; contain: layout paint size; }
.globe-routes { pointer-events: none; z-index: 2; }
/* Animated hero wave: two seamless layers drifting in opposite directions.
   Each SVG is 200% wide and its pattern repeats every viewport width, so a
   translateX(-50%) loop tiles perfectly. */
.hero-wave { position: absolute; bottom: -1px; left: 0; width: 100%; height: 90px; z-index: 1; overflow: hidden; pointer-events: none; }
.hero-wave .wave { position: absolute; bottom: 0; left: 0; width: 200%; height: 100%; will-change: transform; }
.wave-front path { fill: var(--oyster); }
.wave-back { bottom: 10px; opacity: 0.3; }
.wave-back path { fill: var(--oyster); }
.wave-front { animation: wave-drift 18s linear infinite; }
.wave-back { animation: wave-drift 28s linear infinite reverse; }
@keyframes wave-drift {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .hero-wave .wave { animation: none; }
  .wave-back { display: none; }
}

/* ===================== STATS ===================== */
.stats { background: var(--oyster); margin-top: -1px; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; padding: 44px 24px 60px; }
.stat { text-align: center; padding: 12px; }
.stat-num { display: block; font-family: var(--font-head); font-size: 2.7rem; font-weight: 700; color: var(--marine-900); }
.stat-label { color: var(--muted); font-size: 0.92rem; }

/* ===================== ABOUT ===================== */
.about-grid { display: grid; grid-template-columns: 1.2fr 0.9fr; gap: 56px; align-items: center; }
.about-text p { color: var(--muted); margin-top: 16px; }
.about-text h2 { margin-top: 6px; }
.checklist { list-style: none; margin-top: 24px; display: grid; gap: 14px; }
.checklist li { display: flex; align-items: center; gap: 12px; color: var(--ink); font-weight: 500; }
.checklist .icon {
  width: 15px; height: 15px; color: var(--marine-950); background: var(--gold);
  border-radius: 50%; padding: 5px; box-sizing: content-box; stroke-width: 3;
}
.about-card { background: var(--marine-900); color: var(--oyster); border-radius: var(--radius); padding: 36px; box-shadow: var(--shadow); }
.about-card h3 { color: var(--oyster); margin-bottom: 22px; }
.value { display: flex; gap: 16px; align-items: flex-start; padding: 16px 0; border-top: 1px solid rgba(243, 239, 231, 0.12); }
.value:first-of-type { border-top: none; }
.value-icon {
  flex-shrink: 0; width: 44px; height: 44px; border-radius: 11px;
  display: grid; place-items: center; color: var(--gold);
  background: rgba(184, 149, 98, 0.12); border: 1px solid rgba(184, 149, 98, 0.3);
}
.value strong { display: block; font-size: 1.05rem; }
.value p { color: rgba(243, 239, 231, 0.66); font-size: 0.9rem; margin-top: 2px; }

/* ===================== CARDS (services) ===================== */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card {
  background: var(--stone); border: 1px solid rgba(28, 40, 42, 0.06); border-radius: var(--radius);
  padding: 32px 28px; transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.card-icon {
  width: 56px; height: 56px; border-radius: 14px; display: grid; place-items: center;
  color: var(--marine-800); background: var(--oyster); margin-bottom: 18px;
  transition: background 0.25s ease, color 0.25s ease;
}
.card:hover .card-icon { background: var(--marine-900); color: var(--gold-soft); }
.card h3 { margin-bottom: 10px; }
.card p { color: #4c4a41; font-size: 0.96rem; }

/* ===================== WHY ===================== */
.why-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 30px 48px; }
.why-item { position: relative; padding-left: 66px; }
.why-num {
  position: absolute; left: 0; top: -4px; font-family: var(--font-head);
  font-size: 2.2rem; font-weight: 700; color: var(--gold);
}
.why-item h3 { margin-bottom: 8px; }
.why-item p { color: var(--muted); }

/* ===================== PROCESS ===================== */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; counter-reset: step; }
.step { text-align: center; padding: 10px; }
.step-badge {
  width: 56px; height: 56px; margin: 0 auto 16px; border-radius: 50%;
  background: var(--marine-900); color: var(--gold-soft); display: grid; place-items: center;
  font-family: var(--font-head); font-size: 1.5rem; font-weight: 700; box-shadow: var(--shadow-sm);
}
.step h3 { margin-bottom: 8px; font-size: 1.2rem; }
.step p { color: var(--muted); font-size: 0.95rem; }

/* ===================== APPLY / FORM ===================== */
.apply-section {
  position: relative; overflow: hidden;
  background: linear-gradient(160deg, var(--marine-950), var(--marine-800));
  color: var(--oyster);
}
.apply-section::before {
  content: ""; position: absolute; inset: 0;
  background: url("../assets/blueprint-lng.jpg") center 40% / cover no-repeat;
  filter: grayscale(1) brightness(0.78) contrast(1.55);
  mix-blend-mode: screen;
  opacity: 0.1;
  pointer-events: none;
}
.apply-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 56px; align-items: start; }
.apply-intro h2 { color: var(--oyster); margin: 6px 0 16px; }
.apply-intro p { color: rgba(243, 239, 231, 0.72); }
.apply-points { list-style: none; margin: 24px 0; display: grid; gap: 12px; }
.apply-points li { display: flex; align-items: center; gap: 11px; color: var(--gold-soft); font-size: 0.95rem; }
.apply-points .icon { color: var(--gold); }
.apply-contactline { color: rgba(243, 239, 231, 0.72); font-size: 0.95rem; margin-top: 20px; }
.apply-contactline a { color: var(--oyster); text-decoration: underline; text-underline-offset: 3px; }

.apply-form {
  background: var(--oyster); color: var(--ink); border-radius: var(--radius);
  padding: 36px; box-shadow: var(--shadow-lg);
}
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { margin-bottom: 18px; display: flex; flex-direction: column; }
.field label { font-size: 0.88rem; font-weight: 600; margin-bottom: 7px; color: var(--marine-900); }
.req { color: #a8542e; }
.field input, .field textarea {
  font-family: var(--font-body); font-size: 0.98rem; color: var(--ink);
  padding: 12px 14px; border: 1.5px solid var(--stone); border-radius: var(--radius-sm);
  background: var(--white); transition: border-color 0.2s, background 0.2s;
}
.field input:focus, .field textarea:focus {
  outline: none; border-color: var(--marine-700); background: var(--white);
  box-shadow: 0 0 0 3px rgba(184, 149, 98, 0.22);
}
.field textarea { resize: vertical; }

.file-input { position: absolute; width: 1px; height: 1px; opacity: 0; overflow: hidden; }
.file-drop {
  display: flex; flex-direction: column; align-items: center; text-align: center;
  gap: 4px; padding: 26px 18px; border: 2px dashed var(--stone);
  border-radius: var(--radius-sm); background: var(--stone-soft);
  cursor: pointer; transition: border-color 0.2s, background 0.2s;
}
.file-drop:hover, .file-drop.dragover { border-color: var(--marine-700); background: var(--white); }
.file-drop.has-file { border-style: solid; border-color: var(--marine-700); background: var(--white); }
.file-drop-icon { color: var(--muted); display: inline-flex; }
.file-drop.has-file .file-drop-icon { color: var(--marine-700); }
.file-drop-text { font-weight: 600; color: var(--marine-900); font-size: 0.95rem; }
.file-drop-hint { font-size: 0.82rem; color: var(--muted); }

.consent { display: flex; gap: 10px; align-items: flex-start; font-size: 0.88rem; color: var(--muted); margin: 6px 0 22px; }
.consent input { margin-top: 3px; width: 16px; height: 16px; flex-shrink: 0; accent-color: var(--marine-800); }

.form-status { margin-top: 16px; font-size: 0.95rem; font-weight: 500; text-align: center; min-height: 1.2em; }
.form-status.success { color: #2c6e49; }
.form-status.error { color: #a8542e; }
.form-status.loading { color: var(--muted); }
.btn.is-loading { opacity: 0.7; pointer-events: none; }

/* ===================== CONTACT ===================== */
.contact-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.contact-item {
  background: var(--stone); border: 1px solid rgba(28, 40, 42, 0.06); border-radius: var(--radius);
  padding: 28px 24px; text-align: center; transition: box-shadow 0.25s, transform 0.25s;
}
.contact-item:hover { box-shadow: var(--shadow); transform: translateY(-4px); }
.contact-icon {
  width: 52px; height: 52px; margin: 0 auto 14px; border-radius: 50%;
  display: grid; place-items: center; color: var(--marine-800);
  background: var(--oyster);
}
.contact-item h3 { font-size: 1.1rem; margin-bottom: 6px; }
.contact-item p { color: #4c4a41; font-size: 0.95rem; }
.contact-item a { color: inherit; font-weight: inherit; font-size: inherit; font-family: inherit; text-decoration: none; }
.contact-item a:hover { text-decoration: underline; }

/* ===================== FOOTER ===================== */
.site-footer { background: var(--marine-950); color: rgba(243, 239, 231, 0.66); padding-top: 56px; }
.footer-inner { display: flex; justify-content: space-between; align-items: flex-start; gap: 40px; flex-wrap: wrap; padding-bottom: 40px; }
.footer-logo { width: 250px; height: auto; margin-bottom: 14px; }
.footer-brand p { max-width: 320px; font-size: 0.92rem; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 8px 26px; }
.footer-nav a { font-size: 0.92rem; }
.footer-nav a:hover { color: var(--gold-soft); }
.footer-bottom { border-top: 1px solid rgba(243, 239, 231, 0.1); padding: 20px 0; font-size: 0.85rem; }

/* ===================== FLOATING CTA (mobile) ===================== */
.floating-cta {
  display: none; position: fixed; right: 18px; bottom: 18px; z-index: 40;
  background: var(--gold); color: var(--marine-950); font-weight: 700;
  padding: 14px 22px; border-radius: 999px; box-shadow: var(--shadow);
}

/* ===================== REVEAL ANIMATION ===================== */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.6s ease, transform 0.6s ease; will-change: opacity, transform; }
.reveal.visible { will-change: auto; }
.reveal.visible { opacity: 1; transform: none; }

/* ===================== RESPONSIVE ===================== */
@media (max-width: 960px) {
  .hero-inner { grid-template-columns: 1fr; gap: 20px; padding: 84px 24px 128px; text-align: center; }
  .hero-content { max-width: 640px; margin: 0 auto; }
  .hero h1 br { display: none; }
  .hero-lead { margin-left: auto; margin-right: auto; }
  .hero-actions, .hero-trust { justify-content: center; }
  .hero-globe { max-width: 360px; }
  .about-grid { grid-template-columns: 1fr; gap: 36px; }
  .apply-grid { grid-template-columns: 1fr; gap: 36px; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 30px; }
  .steps { grid-template-columns: repeat(2, 1fr); gap: 32px; }
}
@media (max-width: 720px) {
  .main-nav, .header-cta, .header-ctas { display: none; }
  .nav-toggle { display: flex; }
  .mobile-nav.open { display: flex; }
  .section { padding: 68px 0; }
  .header-inner { height: 68px; }
  .brand-logo { width: 180px; }
  .footer-logo { width: 210px; }
  .hero-inner { padding: 64px 24px 116px; }
  /* Wider wave layers → longer wavelength; slower drift keeps the same feel. */
  .hero-wave .wave { width: 400%; }
  .wave-front { animation-duration: 32s; }
  .wave-back { animation-duration: 48s; }
  .hero::before { -webkit-mask-image: radial-gradient(140% 100% at 50% 35%, #000 40%, transparent 85%); mask-image: radial-gradient(140% 100% at 50% 35%, #000 40%, transparent 85%); }
  .hero-globe { max-width: 300px; }
  .why-grid { grid-template-columns: 1fr; }
  .cards { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; gap: 0; }
  .apply-form { padding: 24px; }
  .floating-cta { display: inline-flex; }
}
@media (max-width: 420px) {
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr; }
}


/* ===================== 48H HIGHLIGHT / FOOTER LEGAL ===================== */
.hero-highlight {
  display: inline-flex; align-items: center; gap: 10px; margin: 22px 0 4px;
  padding: 10px 20px; border: 1px solid var(--gold); border-radius: 999px;
  background: rgba(0, 0, 0, 0.22); color: var(--gold-soft);
  font-size: 1rem; letter-spacing: 0.01em;
}
.hero-highlight strong { color: #fff; font-weight: 700; }
.hero-highlight .icon { color: var(--gold); }
.footer-legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; }
.footer-legal a { color: inherit; font-weight: inherit; text-decoration: none; }
.footer-legal a:hover { color: var(--gold-soft); }
@media (max-width: 720px) {
  .hero-highlight { font-size: 0.92rem; padding: 9px 16px; }
  .footer-legal { justify-content: center; text-align: center; }
}


/* ===================== APPLY FORM TABS ===================== */
.apply-forms { position: relative; }
.form-tabs { display: flex; gap: 8px; margin-bottom: 16px; flex-wrap: wrap; }
.form-tab {
  flex: 1 1 auto; font-family: var(--font-body); font-size: 0.93rem; font-weight: 600;
  padding: 12px 18px; border-radius: var(--radius-sm); cursor: pointer;
  border: 1.5px solid rgba(243, 239, 231, 0.28); background: rgba(243, 239, 231, 0.06);
  color: rgba(243, 239, 231, 0.78); transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.form-tab:hover { border-color: var(--gold-soft); color: var(--oyster); }
.form-tab.is-active { background: var(--oyster); border-color: var(--oyster); color: var(--marine-900); }
.form-group-title {
  font-family: var(--font-body); font-size: 0.82rem; font-weight: 700; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--muted); margin: 4px 0 14px;
  padding-top: 18px; border-top: 1px solid var(--stone);
}
@media (max-width: 520px) { .form-tab { flex: 1 1 100%; } }


/* Apply intro panes swap with the form tabs */
.intro-pane[hidden] { display: none; }
