/* AVM Oil Trade — site styles */

:root {
  --ink: #0c1b24;
  --navy: #0f2b3a;
  --navy-2: #163b4f;
  --navy-3: #1e4a61;
  --green: #0a8a3c;
  --green-dark: #077030;
  --green-light: #8fdcaa;
  --green-tint: #e7f3ea;
  --red: #e8301a;
  --paper: #f5f4ef;
  --white: #ffffff;
  --line: #e2e0d8;
  --muted: #56656d;
  --muted-light: #a9bcc6;

  --font-head: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Inter", "Helvetica Neue", Arial, sans-serif;

  --ease: cubic-bezier(.16, 1, .3, 1);
  --radius: 16px;
  --radius-sm: 8px;
  --shadow: 0 1px 2px rgba(12, 27, 36, .06), 0 12px 32px rgba(12, 27, 36, .10);
  --container: 1180px;
  --gutter: 24px;
  --header-h: 76px;
}

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

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 8px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}

[hidden] { display: none !important; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--green-dark); }
h1, h2, h3 { font-family: var(--font-head); line-height: 1.12; margin: 0; letter-spacing: -0.015em; }
h2 { font-size: clamp(1.85rem, 1.3rem + 2vw, 2.9rem); font-weight: 800; }
h3 { font-size: 1.15rem; font-weight: 700; }
p { margin: 0 0 1em; }
::selection { background: var(--green); color: var(--white); }

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

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 16px; top: -48px; z-index: 100; background: var(--ink); color: var(--white); padding: 10px 14px; border-radius: var(--radius-sm); }
.skip-link:focus { top: 12px; }
:focus-visible { outline: 3px solid var(--green); outline-offset: 2px; }

/* Scroll progress */
.scroll-progress { position: fixed; inset: 0 0 auto 0; height: 3px; z-index: 70; pointer-events: none; }
.scroll-progress span {
  display: block; height: 100%; transform-origin: left; transform: scaleX(0);
  background: linear-gradient(90deg, var(--green), #34c46a 60%, var(--red));
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font: 600 0.98rem/1 var(--font-body);
  padding: 16px 26px; border-radius: 999px; border: 1.5px solid transparent;
  text-decoration: none; cursor: pointer; position: relative; overflow: hidden; isolation: isolate;
  transition: background .25s, color .25s, border-color .25s, translate .35s var(--ease), box-shadow .25s;
}
.btn-sm { padding: 11px 18px; font-size: 0.92rem; }
.btn-primary { background: var(--green); color: var(--white); box-shadow: 0 8px 24px rgba(10, 138, 60, .28); }
.btn-primary::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .28) 50%, transparent 70%);
  translate: -120% 0; transition: translate .7s var(--ease);
}
.btn-primary:hover { background: var(--green-dark); }
.btn-primary:hover::before { translate: 120% 0; }
.btn-ghost { color: var(--white); border-color: rgba(255, 255, 255, .35); }
.btn-ghost:hover { border-color: var(--white); background: rgba(255, 255, 255, .08); }
.btn-whatsapp { background: var(--white); color: var(--ink); border-color: var(--line); }
.btn-whatsapp:hover { border-color: var(--ink); }
.btn-arrow { display: inline-block; transition: transform .35s var(--ease); }
.btn:hover .btn-arrow { transform: translateX(4px); }

.eyebrow {
  font: italic 700 0.8rem/1.2 var(--font-head);
  text-transform: uppercase; letter-spacing: 0.14em;
  color: var(--green); margin-bottom: 16px;
  display: flex; align-items: center; gap: 10px;
}
.eyebrow::before { content: ""; width: 22px; height: 2px; background: var(--red); flex: none; }
.eyebrow-light { color: var(--green-light); }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .86);
  backdrop-filter: saturate(1.6) blur(14px);
  -webkit-backdrop-filter: saturate(1.6) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, box-shadow .3s, transform .45s var(--ease);
}
.site-header.is-scrolled { border-color: var(--line); box-shadow: 0 4px 24px rgba(12, 27, 36, .07); }
.site-header.is-hidden { transform: translateY(-100%); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); gap: 24px; }
.brand img { width: 230px; }

.site-nav { display: flex; align-items: center; gap: 30px; }
.site-nav a:not(.btn) {
  color: var(--ink); text-decoration: none; font-weight: 500; font-size: 0.96rem;
  position: relative; padding: 6px 0;
}
.site-nav a:not(.btn)::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px;
  background: var(--green); transform: scaleX(0); transform-origin: right; transition: transform .35s var(--ease);
}
.site-nav a:not(.btn):hover::after, .site-nav a.is-current::after { transform: scaleX(1); transform-origin: left; }

.nav-toggle { display: none; width: 44px; height: 44px; border: 0; background: none; cursor: pointer; position: relative; }
.nav-toggle-bar, .nav-toggle-bar::before, .nav-toggle-bar::after {
  position: absolute; left: 11px; width: 22px; height: 2px; background: var(--ink); transition: transform .3s var(--ease), background .2s; content: "";
}
.nav-toggle-bar { top: 21px; }
.nav-toggle-bar::before { left: 0; top: -7px; }
.nav-toggle-bar::after { left: 0; top: 7px; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar::before { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar::after { transform: translateY(-7px) rotate(-45deg); }

/* Hero */
.hero {
  position: relative; overflow: hidden; color: var(--white);
  background: linear-gradient(160deg, var(--navy) 0%, var(--ink) 100%);
  padding: 110px 0 180px;
  min-height: min(92vh, 900px);
  display: flex; align-items: center;
}
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, .04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .04) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse at 50% 30%, #000 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 30%, #000 20%, transparent 75%);
}
.hero-canvas { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; opacity: .75; }
.hero-orb { position: absolute; border-radius: 50%; filter: blur(80px); pointer-events: none; }
.hero-orb-green { width: 620px; height: 620px; right: -160px; top: -200px; background: rgba(10, 138, 60, .38); }
.hero-orb-red { width: 420px; height: 420px; left: -160px; bottom: -120px; background: rgba(232, 48, 26, .16); }

.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.25fr 0.85fr; gap: 64px; align-items: center; }
.hero h1 { font-size: clamp(2.5rem, 1.3rem + 4.2vw, 4.6rem); font-weight: 800; letter-spacing: -0.03em; line-height: 1.04; margin-bottom: 26px; }
.hl { display: block; overflow: hidden; padding-bottom: 0.1em; margin-bottom: -0.1em; }
.hl > * { display: inline-block; }
.hero h1 em {
  font-style: italic; padding-right: 0.08em;
  background: linear-gradient(90deg, var(--green-light), #c9f0d6 40%, var(--green-light) 80%);
  background-size: 200% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.lede { font-size: 1.14rem; color: #c9d7de; max-width: 40em; margin-bottom: 36px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }

.cred-card {
  position: relative;
  background: linear-gradient(160deg, rgba(255, 255, 255, .10), rgba(255, 255, 255, .03));
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 20px;
  padding: 28px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 30px 60px rgba(0, 0, 0, .25);
  transform: perspective(1000px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  transition: transform .5s var(--ease);
}
.cred-card::after {
  content: ""; position: absolute; inset: -1px; border-radius: inherit; pointer-events: none; padding: 1px;
  background: linear-gradient(140deg, rgba(143, 220, 170, .7), transparent 35%, transparent 65%, rgba(232, 48, 26, .5));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
}
.cred-card-head { display: flex; align-items: center; gap: 14px; padding-bottom: 18px; border-bottom: 1px solid rgba(255, 255, 255, .12); }
.cred-card-head img { width: 42px; height: 42px; background: var(--white); border-radius: 11px; padding: 5px; }
.cred-card-title { font: 700 1rem/1.2 var(--font-head); margin: 0 0 3px; letter-spacing: 0.02em; }
.cred-card-sub { font-size: 0.84rem; color: var(--muted-light); margin: 0; }
.cred-list { margin: 6px 0 0; }
.cred-list div { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px dashed rgba(255, 255, 255, .12); }
.cred-list dt { color: var(--muted-light); font-size: 0.88rem; }
.cred-list dd { margin: 0; font-weight: 600; font-size: 0.92rem; text-align: right; }
.cred-status { display: flex; align-items: center; gap: 8px; margin: 16px 0 0; font-size: 0.86rem; color: var(--green-light); font-weight: 500; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: #34c46a; box-shadow: 0 0 0 4px rgba(52, 196, 106, .2); }

.scroll-cue {
  position: absolute; left: 50%; bottom: 112px; z-index: 2; translate: -50% 0;
  width: 26px; height: 42px; border: 2px solid rgba(255, 255, 255, .4); border-radius: 14px;
}
.scroll-cue span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: var(--white); }

.hero-waves { position: absolute; left: 0; right: 0; bottom: -1px; height: 100px; overflow: hidden; }
.wave { position: absolute; bottom: 0; left: 0; width: 200%; height: 100%; }
.wave-back path { fill: rgba(255, 255, 255, .08); }
.wave-front path { fill: var(--white); }

/* Strip */
.strip { position: relative; margin-top: -64px; z-index: 2; }
.strip-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); border: 1px solid var(--line);
}
.strip-item { padding: 26px 28px; display: flex; flex-direction: column; gap: 4px; }
.strip-item + .strip-item { border-left: 1px solid var(--line); }
.strip-num { font: italic 800 1.7rem/1.1 var(--font-head); color: var(--navy); }
.strip-label { font-size: 0.9rem; color: var(--muted); }

/* Marquee */
.marquee { overflow: hidden; padding: 56px 0 8px; user-select: none; }
.marquee-track { display: flex; align-items: center; gap: 36px; width: max-content; }
.marquee span {
  font: italic 800 clamp(1.8rem, 1rem + 3vw, 3.4rem)/1 var(--font-head); letter-spacing: -0.02em; white-space: nowrap;
  color: transparent; -webkit-text-stroke: 1.2px rgba(15, 43, 58, .35);
}
.marquee span:nth-of-type(3n+1) { color: var(--navy); -webkit-text-stroke: 0; }
.marquee i { width: 14px; height: 14px; border-radius: 50% 50% 50% 0; rotate: -45deg; background: var(--green); flex: none; }
.marquee i:nth-of-type(2n) { background: var(--red); }

/* Sections */
.section { position: relative; padding: 120px 0; }
.section-tint { background: var(--paper); }
.section-dark { background: var(--navy); color: var(--white); overflow: hidden; }
.section-head { max-width: 780px; margin-bottom: 60px; }
.section-head h2 { margin-bottom: 20px; }
.section-lede { font-size: 1.08rem; color: var(--muted); }
.section-dark .section-lede { color: #c9d7de; }
.muted-light { color: var(--muted-light); font-size: 0.95rem; }
.sub-head { font-size: 1.4rem; margin: 72px 0 24px; }

/* About */
.about-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 72px; align-items: start; }
.about-head { position: sticky; top: calc(var(--header-h) + 40px); }
.about-body { font-size: 1.08rem; color: #2c3a42; }
.facts { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 36px 0 0; }
.facts div { background: var(--paper); padding: 20px 22px; border-radius: 12px; border: 1px solid var(--line); }
.facts dt { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); margin-bottom: 4px; }
.facts dd { margin: 0; font-weight: 600; font-size: 0.98rem; line-height: 1.4; }

/* Spotlight hover (cursor glow) */
[data-spotlight] { position: relative; isolation: isolate; }
[data-spotlight]::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; z-index: -1; pointer-events: none; opacity: 0;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(10, 138, 60, .14), transparent 45%);
  transition: opacity .35s;
}
[data-spotlight]:hover::before { opacity: 1; }

/* Bunkering */
.fuel-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.fuel-card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 34px 32px;
  overflow: hidden; transition: translate .4s var(--ease), box-shadow .4s, border-color .4s;
}
.fuel-card::after {
  content: ""; position: absolute; left: 0; top: 0; height: 4px; width: 100%; background: var(--green);
  transform: scaleX(.18); transform-origin: left; transition: transform .6s var(--ease);
}
.fuel-card:nth-child(2)::after { background: var(--red); }
.fuel-card:nth-child(3)::after { background: var(--navy-3); }
.fuel-card:hover { translate: 0 -6px; box-shadow: var(--shadow); }
.fuel-card:hover::after { transform: scaleX(1); }
.fuel-code { font: italic 800 2.5rem/1 var(--font-head); color: var(--navy); margin-bottom: 22px; letter-spacing: -0.02em; }
.fuel-card h3 { margin-bottom: 8px; }
.fuel-card p:last-child { color: var(--muted); margin: 0; }

.cap-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.cap {
  display: grid; grid-template-columns: 48px 1fr; gap: 18px; align-items: start;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px;
  transition: translate .4s var(--ease), border-color .4s;
}
.cap:hover { translate: 0 -3px; border-color: #c4d6c8; }
.cap strong { font-family: var(--font-head); font-size: 1.05rem; display: block; margin-bottom: 4px; }
.cap p { margin: 0; color: var(--muted); font-size: 0.96rem; }
.cap-icon, .trade-icon {
  display: inline-grid; place-items: center; width: 48px; height: 48px; border-radius: 12px; background: var(--green-tint);
  transition: background .4s, transform .5s var(--ease);
}
.cap-icon svg, .trade-icon svg { width: 24px; height: 24px; fill: none; stroke: var(--green); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; transition: stroke .4s; }
.cap:hover .cap-icon, .trade-card:hover .trade-icon { background: var(--green); transform: rotate(-8deg) scale(1.06); }
.cap:hover .cap-icon svg, .trade-card:hover .trade-icon svg { stroke: var(--white); }

/* Process */
.process { position: relative; background: var(--ink); color: var(--white); }
.process::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(800px 400px at 80% 0%, rgba(10, 138, 60, .18), transparent 60%);
}
.process-sticky { position: relative; padding: 110px 0; }
.process-head { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 48px; }
.process-counter { font: italic 700 1rem/1 var(--font-head); color: var(--muted-light); margin: 0; letter-spacing: 0.05em; display: none; }
.process-current { color: var(--white); font-size: 1.6rem; }
.process-viewport { overflow: hidden; }
.process-track {
  list-style: none; margin: 0 auto; padding: 0 var(--gutter); max-width: var(--container);
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px;
}
.process-panel {
  border: 1px solid rgba(255, 255, 255, .12); border-radius: 20px; padding: 34px; overflow: hidden;
  background: linear-gradient(160deg, rgba(255, 255, 255, .06), rgba(255, 255, 255, .02));
  display: flex; flex-direction: column; gap: 14px; min-height: 260px;
  transition: border-color .5s, background .5s, opacity .5s;
}
.process-panel h3 { font-size: 1.6rem; margin-top: auto; }
.process-panel p { color: #c9d7de; margin: 0; }
.process-n {
  position: absolute; right: 26px; top: 14px;
  font: italic 800 5.5rem/1 var(--font-head); color: transparent; -webkit-text-stroke: 1.2px rgba(255, 255, 255, .16);
  transition: -webkit-text-stroke-color .5s;
}
.process-icon { display: inline-grid; place-items: center; width: 54px; height: 54px; border-radius: 14px; background: rgba(143, 220, 170, .12); transition: background .5s; }
.process-icon svg { width: 26px; height: 26px; fill: none; stroke: var(--green-light); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; transition: stroke .5s; }
.process-panel.is-active { border-color: rgba(143, 220, 170, .5); background: linear-gradient(160deg, rgba(10, 138, 60, .22), rgba(255, 255, 255, .03)); }
.process-panel.is-active .process-icon { background: var(--green); }
.process-panel.is-active .process-icon svg { stroke: var(--white); }
.process-panel.is-active .process-n { -webkit-text-stroke-color: rgba(143, 220, 170, .55); }

.route { display: none; position: relative; height: 2px; margin-top: 64px; background: rgba(255, 255, 255, .14); border-radius: 2px; }
.route-fill { position: absolute; inset: 0 auto 0 0; width: 100%; transform-origin: left; transform: scaleX(0); background: linear-gradient(90deg, var(--green), #34c46a 70%, var(--red)); border-radius: 2px; }
.route-marker {
  position: absolute; top: 50%; left: 0; width: 40px; height: 40px; translate: -50% -50%;
  display: grid; place-items: center; border-radius: 50%;
  background: var(--white); box-shadow: 0 0 0 6px rgba(143, 220, 170, .18), 0 6px 18px rgba(0, 0, 0, .35);
}
.route-marker img { width: 26px; height: 26px; }

/* Pinned horizontal mode (set by JS on wide screens) */
.process.is-pinned { height: var(--pin-h, 320vh); }
.process.is-pinned .process-sticky {
  position: sticky; top: 0; height: 100vh; padding: 0; overflow: hidden;
  display: flex; flex-direction: column; justify-content: center;
}
.process.is-pinned .process-counter { display: block; }
.process.is-pinned .process-track {
  display: flex; gap: 24px; width: max-content; max-width: none; margin: 0;
  padding: 0 max(var(--gutter), calc((100vw - var(--container)) / 2 + var(--gutter)));
  will-change: transform;
}
.process.is-pinned .process-panel { width: min(460px, 36vw); min-height: 340px; }
.process.is-pinned .process-panel:not(.is-active) { opacity: .55; }
.process.is-pinned .route { display: block; }

/* Trading */
.trade-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.trade-card {
  border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; overflow: hidden; background: var(--white);
  transition: translate .4s var(--ease), border-color .4s, box-shadow .4s;
}
.trade-card:hover { translate: 0 -6px; border-color: #c9d3c9; box-shadow: var(--shadow); }
.trade-icon { margin-bottom: 24px; }
.trade-card h3 { margin-bottom: 8px; }
.trade-card p { margin: 0; color: var(--muted); font-size: 0.96rem; }

/* Compliance */
.bg-mark {
  position: absolute; right: -140px; top: 50%; width: 560px; margin-top: -280px; pointer-events: none;
  opacity: .06; filter: grayscale(1) brightness(2.6);
}
.compliance-grid { position: relative; display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 72px; align-items: start; }
.compliance-grid h2 { margin-bottom: 20px; }
.reg-table { border: 1px solid rgba(255, 255, 255, .14); border-radius: var(--radius); overflow: hidden; background: rgba(255, 255, 255, .03); backdrop-filter: blur(4px); }
.reg-table [role="row"] { display: grid; grid-template-columns: 190px 1fr; gap: 16px; padding: 17px 22px; transition: background .3s; }
.reg-table [role="row"]:hover { background: rgba(255, 255, 255, .04); }
.reg-table [role="row"] + [role="row"] { border-top: 1px solid rgba(255, 255, 255, .1); }
.reg-table [role="rowheader"] { color: var(--muted-light); font-size: 0.9rem; }
.reg-table [role="cell"] { font-weight: 600; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 72px; align-items: start; }
.contact-info h2 { margin-bottom: 20px; }
.contact-list { list-style: none; padding: 0; margin: 32px 0 0; display: grid; gap: 22px; }
.contact-list li { display: grid; gap: 2px; }
.contact-label { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--muted); }
.contact-list a:not(.text-link) { color: var(--ink); font-weight: 600; font-size: 1.08rem; text-decoration: none; transition: color .2s; }
.contact-list a:not(.text-link):hover { color: var(--green); }
.contact-list address { font-style: normal; font-weight: 500; }
.text-link { font-size: 0.92rem; font-weight: 600; }

.quote-form { background: var(--paper); border: 1px solid var(--line); border-radius: 20px; padding: 36px; display: grid; gap: 18px; }
.quote-form fieldset { border: 0; padding: 0; margin: 0; }
.quote-form legend { font-size: 0.86rem; font-weight: 600; margin-bottom: 8px; padding: 0; }
.segmented { display: inline-flex; background: var(--white); border: 1px solid var(--line); border-radius: 999px; padding: 4px; }
.segmented input { position: absolute; opacity: 0; pointer-events: none; }
.segmented span { display: block; padding: 9px 18px; border-radius: 999px; font-weight: 600; font-size: 0.92rem; cursor: pointer; color: var(--muted); transition: background .3s, color .3s; }
.segmented input:checked + span { background: var(--navy); color: var(--white); }
.segmented input:focus-visible + span { outline: 3px solid var(--green); outline-offset: 2px; }

.bunker-fields, .trade-fields { display: grid; gap: 18px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: grid; gap: 6px; }
.field > span { font-size: 0.86rem; font-weight: 600; }
.field input, .field select, .field textarea {
  font: inherit; font-size: 0.98rem; color: var(--ink);
  background: var(--white); border: 1px solid #d4d2c9; border-radius: 10px;
  padding: 12px 14px; width: 100%; transition: border-color .2s, box-shadow .2s;
}
.field textarea { resize: vertical; min-height: 110px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--green); box-shadow: 0 0 0 4px rgba(10, 138, 60, .14); }
.field input[aria-invalid="true"] { border-color: var(--red); }
.form-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.form-error { color: var(--red); font-weight: 500; font-size: 0.92rem; margin: 0; }
.form-note { font-size: 0.85rem; color: var(--muted); margin: 0; }

/* CTA band */
.cta-band {
  position: relative; overflow: hidden; color: var(--white); padding: 110px 0;
  background: linear-gradient(120deg, var(--navy) 0%, #0b5a33 50%, var(--navy) 100%);
  background-size: 220% 100%;
}
.cta-band::before {
  content: ""; position: absolute; width: 900px; height: 900px; left: 50%; top: 50%; margin: -450px 0 0 -450px; pointer-events: none;
  background: conic-gradient(from 0deg, transparent, rgba(143, 220, 170, .14), transparent 40%, rgba(232, 48, 26, .1), transparent 70%);
  border-radius: 50%;
}
.cta-inner { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 36px; }
.cta-band h2 { font-size: clamp(2.2rem, 1.2rem + 4vw, 4.4rem); letter-spacing: -0.03em; max-width: 14em; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }

/* Footer */
.site-footer { background: var(--ink); color: var(--muted-light); padding: 72px 0 0; font-size: 0.92rem; overflow: hidden; }
.footer-grid { display: grid; grid-template-columns: 1.2fr 1fr 1.2fr; gap: 48px; align-items: start; }
.footer-brand img { width: 220px; margin-bottom: 18px; }
.footer-brand p { margin: 0; max-width: 26em; }
.footer-nav { display: grid; gap: 10px; }
.footer-nav a { color: var(--white); text-decoration: none; transition: color .2s, translate .3s var(--ease); width: fit-content; }
.footer-nav a:hover { color: var(--green-light); translate: 4px 0; }
.footer-legal p { margin: 0 0 8px; }
.footer-word {
  margin: 56px 0 0; text-align: center; white-space: nowrap; line-height: .78;
  font: italic 800 clamp(2.6rem, 12vw, 12rem)/.78 var(--font-head); letter-spacing: -0.04em;
  color: transparent; -webkit-text-stroke: 1px rgba(255, 255, 255, .12);
  translate: 0 12%;
}

/* 404 */
.page-404 { min-height: 100vh; display: grid; place-items: center; padding: 48px 0; }
.page-404-inner { position: relative; text-align: center; }
.page-404-inner img { width: 220px; margin: 0 auto 48px; }
.page-404-inner .lede { margin: 0 auto 32px; }

/* ---------- Motion (only when JS runs and the user allows motion) ---------- */
[data-d="0"] { --d: 0; } [data-d="1"] { --d: 1; } [data-d="2"] { --d: 2; } [data-d="3"] { --d: 3; }
[data-d="4"] { --d: 4; } [data-d="5"] { --d: 5; } [data-d="6"] { --d: 6; }

@media (prefers-reduced-motion: no-preference) {
  /* Ambient motion */
  .hero-orb-green { animation: drift 16s ease-in-out infinite alternate; }
  .hero-orb-red { animation: drift 20s ease-in-out infinite alternate-reverse; }
  .wave-back { animation: wave 22s linear infinite; }
  .wave-front { animation: wave 14s linear infinite reverse; }
  .hero h1 em { animation: shimmer 6s ease-in-out 1.6s infinite; }
  .dot { animation: pulse 2s ease-out infinite; }
  .scroll-cue span { animation: cue 1.8s var(--ease) infinite; }
  .marquee-track { animation: marquee 38s linear infinite; }
  .marquee:hover .marquee-track { animation-play-state: paused; }
  .cta-band { animation: bg-pan 14s ease-in-out infinite alternate; }
  .cta-band::before { animation: spin 24s linear infinite; }
  .bg-mark { animation: bob 9s ease-in-out infinite alternate; }

  @keyframes drift { to { translate: -60px 40px; scale: 1.12; } }
  @keyframes wave { to { transform: translateX(-50%); } }
  @keyframes shimmer { 0%, 100% { background-position: 0 0; } 50% { background-position: 100% 0; } }
  @keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(52, 196, 106, .55); } 100% { box-shadow: 0 0 0 10px rgba(52, 196, 106, 0); } }
  @keyframes cue { 0% { opacity: 0; translate: 0 0; } 30% { opacity: 1; } 100% { opacity: 0; translate: 0 14px; } }
  @keyframes marquee { to { transform: translateX(-50%); } }
  @keyframes bg-pan { to { background-position: 100% 0; } }
  @keyframes spin { to { rotate: 360deg; } }
  @keyframes bob { to { rotate: 12deg; } }
  @keyframes rise { from { transform: translateY(110%); } }
  @keyframes rise-soft { from { opacity: 0; translate: 0 28px; } }
  @keyframes enter-right { from { opacity: 0; translate: 60px 0; scale: .96; } }
  @keyframes fade-in { from { opacity: 0; translate: 12px 0; } }
}

@media (prefers-reduced-motion: no-preference) and (scripting: enabled) {
  /* Hero entrance */
  .hl > .hero-in { animation: rise 1.1s var(--ease) both; animation-delay: calc(var(--d) * 110ms + 150ms); }
  .hero-copy > .hero-in { animation: rise-soft 1s var(--ease) both; animation-delay: calc(var(--d) * 110ms + 150ms); }
  .hero-in-right { animation: enter-right 1.2s var(--ease) .55s both; }
  .cred-list div { animation: fade-in .8s var(--ease) both; animation-delay: calc(var(--d) * 90ms + 900ms); }

  /* Scroll reveal */
  [data-reveal], [data-stagger] > * {
    opacity: 0; translate: 0 36px;
    transition: opacity 1s var(--ease) var(--delay, 0ms), translate 1s var(--ease) var(--delay, 0ms),
                box-shadow .4s, border-color .4s, background .4s;
  }
  [data-reveal="right"] { translate: 48px 0; }
  [data-stagger] > * { --delay: calc(var(--i, 0) * 100ms); }
  [data-reveal].is-in, [data-stagger].is-in > * { opacity: 1; translate: none; }
  /* Hover lifts take over once revealed */
  [data-stagger].is-in > .fuel-card:hover, [data-stagger].is-in > .trade-card:hover { translate: 0 -6px; transition-delay: 0ms; }
  [data-stagger].is-in > .cap:hover { translate: 0 -3px; transition-delay: 0ms; }

  /* Word-by-word headings */
  [data-split] .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: 0.12em; margin-bottom: -0.12em; }
  [data-split] .w > span { display: inline-block; transform: translateY(110%); transition: transform 1s var(--ease); transition-delay: calc(var(--i, 0) * 55ms); }
  [data-split].is-in .w > span { transform: none; }

  .footer-word { opacity: 0; translate: 0 40%; transition: opacity 1.4s var(--ease), translate 1.4s var(--ease); }
  .footer-word.is-in { opacity: 1; translate: 0 12%; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .hero-grid, .about-grid, .compliance-grid, .contact-grid { grid-template-columns: 1fr; gap: 48px; }
  .about-head { position: static; }
  .cred-card { max-width: 520px; }
  .trade-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-legal { grid-column: 1 / -1; }
  .scroll-cue { display: none; }
}

@media (max-width: 860px) {
  :root { --header-h: 66px; }
  .brand img { width: 180px; }
  .nav-toggle { display: block; }
  .site-nav {
    position: absolute; left: 0; right: 0; top: var(--header-h);
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--white); border-bottom: 1px solid var(--line); box-shadow: 0 12px 24px rgba(12, 27, 36, .08);
    padding: 8px 24px 20px; display: none;
  }
  .site-nav.is-open { display: flex; animation: rise-soft .45s var(--ease) both; }
  .site-nav a:not(.btn) { padding: 14px 0; border-bottom: 1px solid var(--line); }
  .site-nav a:not(.btn)::after { display: none; }
  .site-nav .btn { margin-top: 16px; }

  .hero { padding: 64px 0 150px; min-height: 0; }
  .hero-orb-green { width: 380px; height: 380px; }
  .strip-grid { grid-template-columns: 1fr 1fr; }
  .strip-item:nth-child(3) { border-left: 0; }
  .strip-item:nth-child(n+3) { border-top: 1px solid var(--line); }
  .section { padding: 88px 0; }
  .fuel-grid, .cap-grid, .process-track { grid-template-columns: 1fr; }
  .sub-head { margin-top: 56px; }
  .process-sticky { padding: 88px 0; }
  .marquee { padding-top: 40px; }
  .cta-band { padding: 88px 0; }
}

@media (max-width: 560px) {
  :root { --gutter: 16px; }
  .eyebrow { letter-spacing: 0.08em; font-size: 0.72rem; }
  .facts, .form-row, .trade-grid { grid-template-columns: 1fr; }
  .reg-table [role="row"] { grid-template-columns: 1fr; gap: 2px; padding: 14px 18px; }
  .quote-form { padding: 22px 18px; }
  .form-actions .btn, .hero-actions .btn, .cta-actions .btn { flex: 1 1 100%; }
  .cred-card { padding: 22px; }
  .cred-list div { flex-direction: column; gap: 2px; }
  .cred-list dd { text-align: left; }
  .footer-grid { grid-template-columns: 1fr; }
  .strip-item { padding: 18px; }
  .strip-num { font-size: 1.3rem; }
  .process-panel { padding: 26px; min-height: 0; }
  .process-n { font-size: 4rem; }
  .bg-mark { width: 360px; margin-top: -180px; right: -120px; }
}

/* Form states */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.quote-form { position: relative; }
.quote-form.is-sending .form-actions .btn { opacity: .6; pointer-events: none; }
.quote-form.is-sending [data-send="api"] .btn-arrow { animation: spin 1s linear infinite; }
.quote-form.is-sent > :not(.form-success) { visibility: hidden; }
.form-success {
  position: absolute; inset: 0; border-radius: inherit; background: var(--paper);
  display: flex; flex-direction: column; align-items: center; justify-content: flex-start; text-align: center; gap: 10px; padding: 72px 28px 36px;
}
.form-success h3 { font-size: 1.5rem; }
.form-success p { color: var(--muted); max-width: 26em; }
.form-success-icon { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: var(--green); margin-bottom: 8px; }
.form-success-icon svg { width: 30px; height: 30px; fill: none; stroke: var(--white); stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 24; stroke-dashoffset: 0; }
@media (prefers-reduced-motion: no-preference) {
  .form-success:not([hidden]) { animation: rise-soft .6s var(--ease) both; }
  .form-success:not([hidden]) .form-success-icon svg { animation: draw .6s var(--ease) .25s both; }
  @keyframes draw { from { stroke-dashoffset: 24; } }
}
