/* Freeman Gulf Logistics — freemangulf.com
   Palette: navy #0A2540 · blue #14568F · azure #0E8ECF · cool neutrals
   Type: Archivo (display/labels) + Source Sans 3 (body) */

:root {
  --ground: #ffffff;
  --paper: #f3f6fa;
  --panel: #ffffff;
  --ink: #101b26;
  --ink-soft: #34455a;
  --muted: #5c6c7c;
  --navy: #0a2540;
  --navy-2: #0e3157;
  --blue: #14568f;
  --blue-hover: #0f4576;
  --on-blue: #ffffff;
  --crest-bg: #0a2540;
  --crest-fg: #ffffff;
  --azure: #0e8ecf;
  --line: #d9e1ea;
  --line-strong: #b9c7d6;
  --on-navy: #eaf1f8;
  --on-navy-muted: #9db4cb;
  --shadow: 0 1px 2px rgba(10, 37, 64, .06), 0 12px 32px rgba(10, 37, 64, .07);
  --maxw: 1180px;
  --radius: 3px;
  --ff-display: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --ff-body: "Source Sans 3", "Segoe UI", Helvetica, Arial, sans-serif;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --ground: #0b131d;
    --paper: #101c29;
    --panel: #101c29;
    --ink: #e8eef5;
    --ink-soft: #c3d1de;
    --muted: #93a5b6;
    --navy: #071a2e;
    --navy-2: #0b263f;
    --blue: #58a3e4;
    --blue-hover: #7cb8ec;
    --on-blue: #04101d;
    --crest-bg: #17436b;
    --crest-fg: #ffffff;
    --azure: #37b0ee;
    --line: #1e2e40;
    --line-strong: #2c4159;
    --on-navy: #e6eef7;
    --on-navy-muted: #9bb2c9;
    --shadow: 0 1px 2px rgba(0,0,0,.4), 0 14px 34px rgba(0,0,0,.35);
  }
}

:root[data-theme="dark"] {
  --ground: #0b131d;
  --paper: #101c29;
  --panel: #101c29;
  --ink: #e8eef5;
  --ink-soft: #c3d1de;
  --muted: #93a5b6;
  --navy: #071a2e;
  --navy-2: #0b263f;
  --blue: #58a3e4;
  --blue-hover: #7cb8ec;
  --on-blue: #04101d;
  --crest-bg: #17436b;
  --crest-fg: #ffffff;
  --azure: #37b0ee;
  --line: #1e2e40;
  --line-strong: #2c4159;
  --on-navy: #e6eef7;
  --on-navy-muted: #9bb2c9;
  --shadow: 0 1px 2px rgba(0,0,0,.4), 0 14px 34px rgba(0,0,0,.35);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--ground);
  color: var(--ink);
  font-family: var(--ff-body);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: var(--ff-display);
  color: var(--ink);
  line-height: 1.12;
  letter-spacing: -0.02em;
  text-wrap: balance;
  margin: 0;
  font-weight: 700;
}

h1 { font-size: clamp(2.3rem, 5.2vw, 3.7rem); }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.35rem); }
h3 { font-size: 1.18rem; letter-spacing: -0.01em; }
p { margin: 0; }
a { color: var(--blue); text-decoration: none; }
a:hover { color: var(--blue-hover); }
img, svg { max-width: 100%; }

:focus-visible {
  outline: 2px solid var(--azure);
  outline-offset: 3px;
}

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

.skip {
  position: absolute; left: -9999px; top: 0;
  background: var(--navy); color: #fff; padding: 10px 16px; z-index: 100;
}
.skip:focus { left: 12px; top: 12px; }

/* ---------- header ---------- */

.site-header {
  position: sticky; top: 0; z-index: 60;
  background: color-mix(in srgb, var(--ground) 92%, transparent);
  backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px; min-height: 74px;
}
.brand { display: flex; align-items: center; gap: 12px; color: var(--ink); }
.brand:hover { color: var(--ink); }
.brand .mark { width: 37px; height: 38px; flex: none; }
.crest-field { fill: var(--crest-bg); }
.crest-lion { fill: var(--crest-fg); }
.brand .mark-plain { width: 42px; height: 38px; fill: currentColor; }
.site-footer .crest-field { fill: #123761; }
.site-footer .brand { color: #fff; }
.site-footer .brand:hover { color: #fff; }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-name {
  font-family: var(--ff-display); font-weight: 700; font-size: 1.02rem;
  letter-spacing: .01em; text-transform: uppercase;
}
.brand-sub {
  font-family: var(--ff-display); font-size: .62rem; font-weight: 500;
  letter-spacing: .28em; text-transform: uppercase; color: var(--muted);
  margin-top: 5px;
}

.nav { display: flex; align-items: center; gap: 4px; }
.nav a {
  font-family: var(--ff-display); font-size: .87rem; font-weight: 500;
  color: var(--ink-soft); padding: 9px 13px; border-radius: var(--radius);
  position: relative;
}
.nav a:hover { color: var(--ink); background: var(--paper); }
.nav a[aria-current="page"] { color: var(--ink); }
.nav a[aria-current="page"]::after {
  content: ""; position: absolute; left: 13px; right: 13px; bottom: 2px;
  height: 2px; background: var(--azure);
}
.nav .btn { margin-left: 10px; }
.nav a.btn-primary { color: var(--on-blue); background: var(--blue); }
.nav a.btn-primary:hover { color: var(--on-blue); background: var(--blue-hover); }
.nav a.btn-primary[aria-current="page"]::after { display: none; }

.menu-toggle {
  display: none; background: none; border: 1px solid var(--line);
  border-radius: var(--radius); padding: 9px 12px; color: var(--ink);
  font-family: var(--ff-display); font-size: .85rem; cursor: pointer;
}

/* ---------- buttons ---------- */

.btn {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--ff-display); font-weight: 600; font-size: .92rem;
  padding: 12px 20px; border-radius: var(--radius); border: 1px solid transparent;
  cursor: pointer; transition: background .18s ease, color .18s ease, border-color .18s ease;
}
.btn-primary { background: var(--blue); color: var(--on-blue); }
.btn-primary:hover { background: var(--blue-hover); color: var(--on-blue); }
.btn-ghost { border-color: var(--line-strong); color: var(--ink); background: transparent; }
.btn-ghost:hover { border-color: var(--ink); color: var(--ink); background: var(--paper); }
.btn-light { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.35); color: #fff; }
.btn-light:hover { background: rgba(255,255,255,.18); color: #fff; }
.btn-solid-light { background: #fff; color: var(--navy); }
.btn-solid-light:hover { background: #e8f1fa; color: var(--navy); }
.btn .arw { transition: transform .18s ease; }
.btn:hover .arw { transform: translateX(3px); }

/* ---------- sections ---------- */

.section { padding: 84px 0; border-top: 1px solid var(--line); }
.section.alt { background: var(--paper); }
.section.tight { padding: 60px 0; }

.eyebrow {
  font-family: var(--ff-display); font-size: .7rem; font-weight: 600;
  letter-spacing: .22em; text-transform: uppercase; color: var(--azure);
  display: flex; align-items: center; gap: 10px;
}
.eyebrow::before {
  content: ""; width: 26px; height: 2px; background: var(--azure); flex: none;
}
.section-head { display: flex; flex-direction: column; gap: 16px; max-width: 720px; margin-bottom: 44px; }
.lede { font-size: 1.12rem; color: var(--ink-soft); max-width: 65ch; }
.muted { color: var(--muted); }

/* ---------- hero ---------- */

.hero {
  background: var(--navy);
  color: var(--on-navy);
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(120% 90% at 82% 8%, rgba(14,142,207,.30), transparent 58%),
    linear-gradient(180deg, rgba(255,255,255,.04), transparent 40%);
  pointer-events: none;
}
.hero-crest {
  position: absolute; right: 1%; top: 46%; transform: translateY(-50%);
  width: min(42%, 470px); pointer-events: none; opacity: .085;
}
.hero-crest svg { width: 100%; height: auto; fill: #ffffff; display: block; }
@media (max-width: 900px) { .hero-crest { right: -14%; width: 62%; opacity: .06; } }

.hero-grid-lines {
  position: absolute; inset: 0; opacity: .16; pointer-events: none;
  background-image: linear-gradient(90deg, rgba(255,255,255,.5) 1px, transparent 1px);
  background-size: 96px 100%;
  mask-image: linear-gradient(180deg, transparent, #000 30%, #000 70%, transparent);
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 30%, #000 70%, transparent);
}
.hero-inner { position: relative; padding-block: 108px 88px; display: grid; gap: 34px; }
.hero h1 { color: #fff; max-width: 16ch; }
.hero .hero-lede { font-size: 1.2rem; color: var(--on-navy-muted); max-width: 60ch; }
.hero .eyebrow { color: #79c6f2; }
.hero .eyebrow::before { background: #79c6f2; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }

.page-hero { background: var(--navy); color: var(--on-navy); position: relative; overflow: hidden; }
.page-hero::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(100% 120% at 88% 0%, rgba(14,142,207,.28), transparent 60%);
}
.page-hero-inner { position: relative; padding-block: 76px 66px; display: grid; gap: 18px; }
.page-hero h1 { color: #fff; font-size: clamp(2.05rem, 4.2vw, 3rem); max-width: 18ch; }
.page-hero p { color: var(--on-navy-muted); font-size: 1.1rem; max-width: 62ch; }

/* route strip */
.route {
  border-top: 1px solid rgba(255,255,255,.14);
  padding: 22px 0 26px; position: relative;
}
.route-svg { width: 100%; height: 74px; display: block; }

/* ---------- credential bar ---------- */

.credbar { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); }
.credbar > div {
  padding: 26px 26px 26px 0; border-right: 1px solid var(--line);
}
.credbar > div:last-child { border-right: 0; }
.credbar .k {
  font-family: var(--ff-display); font-weight: 700; font-size: 1.05rem; color: var(--ink);
  display: block; margin-bottom: 5px; font-variant-numeric: tabular-nums;
}
.credbar .v { font-size: .93rem; color: var(--muted); }

/* ---------- cards ---------- */

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

.card {
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px 26px 30px; display: flex; flex-direction: column; gap: 12px;
  position: relative; transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}
.card::before {
  content: ""; position: absolute; left: -1px; right: -1px; top: -1px; height: 2px;
  background: var(--azure); opacity: 0; transition: opacity .2s ease;
}
.card:hover { border-color: var(--line-strong); transform: translateY(-2px); box-shadow: var(--shadow); }
.card:hover::before { opacity: 1; }
.card p { color: var(--muted); font-size: .97rem; }
.card .icon { width: 34px; height: 34px; color: var(--blue); }
.card .card-link {
  margin-top: auto; padding-top: 6px; font-family: var(--ff-display);
  font-size: .85rem; font-weight: 600; display: inline-flex; align-items: center; gap: 7px;
}

.tick-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 11px; }
.tick-list li {
  position: relative; padding-left: 27px; color: var(--ink-soft); font-size: .99rem;
}
.tick-list li::before {
  content: ""; position: absolute; left: 0; top: .55em; width: 13px; height: 2px;
  background: var(--azure);
}

/* numbered process */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid var(--line); }
.step { padding: 30px 30px 34px 0; border-right: 1px solid var(--line); position: relative; }
.step:last-child { border-right: 0; }
.step .num {
  font-family: var(--ff-display); font-size: .78rem; font-weight: 700; letter-spacing: .16em;
  color: var(--azure); display: block; margin-bottom: 12px; font-variant-numeric: tabular-nums;
}
.step h3 { margin-bottom: 8px; }
.step p { color: var(--muted); font-size: .97rem; }

/* service blocks */
.service-block {
  display: grid; grid-template-columns: 340px 1fr; gap: 48px;
  padding: 52px 0; border-top: 1px solid var(--line);
}
.service-block:first-of-type { border-top: 0; padding-top: 8px; }
.service-block .sb-title { display: flex; flex-direction: column; gap: 14px; }
.service-block .sb-title h2 { font-size: 1.72rem; }
.service-block .sb-body { display: grid; gap: 20px; }
.sb-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 34px; }

.kicker {
  font-family: var(--ff-display); font-size: .68rem; font-weight: 600; letter-spacing: .2em;
  text-transform: uppercase; color: var(--muted);
}

/* sector rows */
.sector { display: grid; grid-template-columns: 44px 1fr; gap: 20px; padding: 26px 0; border-top: 1px solid var(--line); }
.sector:first-child { border-top: 0; }
.sector .sector-icon { color: var(--blue); }
.sector h3 { margin-bottom: 7px; }
.sector p { color: var(--muted); font-size: .98rem; max-width: 68ch; }

/* map / coverage */
.coverage { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.coverage > div { background: var(--panel); padding: 22px 24px; }
.coverage .c-name { font-family: var(--ff-display); font-weight: 700; font-size: 1rem; }
.coverage .c-note { color: var(--muted); font-size: .92rem; margin-top: 4px; }

/* profile */
.profile { display: grid; grid-template-columns: 300px 1fr; gap: 48px; align-items: start; }
.profile-card {
  border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; background: var(--panel);
  display: grid; gap: 14px;
}
.avatar {
  width: 100%; aspect-ratio: 1; border-radius: var(--radius);
  background: linear-gradient(150deg, var(--navy), var(--navy-2) 60%, #12507f);
  display: grid; place-items: center; color: #fff;
  font-family: var(--ff-display); font-size: 3.1rem; font-weight: 700; letter-spacing: .04em;
}
.profile-meta { display: grid; gap: 3px; }
.profile-meta .pm-name { font-family: var(--ff-display); font-weight: 700; font-size: 1.12rem; }
.profile-meta .pm-role { color: var(--muted); font-size: .93rem; }
.prose { display: grid; gap: 18px; max-width: 68ch; color: var(--ink-soft); }

/* crest note */
.crest-note { display: grid; grid-template-columns: 120px 1fr; gap: 44px; align-items: start; }
.crest-note img { display: block; }
@media (max-width: 760px) { .crest-note { grid-template-columns: 1fr; gap: 24px; } }

/* CTA band */
.cta-band { background: var(--navy); color: #fff; position: relative; overflow: hidden; }
.cta-band::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(80% 140% at 15% 100%, rgba(14,142,207,.32), transparent 60%);
}
.cta-inner {
  position: relative; padding-block: 66px; display: flex; flex-wrap: wrap;
  align-items: center; justify-content: space-between; gap: 28px;
}
.cta-inner h2 { color: #fff; max-width: 20ch; }
.cta-inner p { color: var(--on-navy-muted); margin-top: 10px; max-width: 52ch; }

/* contact */
.contact-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: start; }
.field { display: grid; gap: 7px; margin-bottom: 18px; }
.field label { font-family: var(--ff-display); font-size: .8rem; font-weight: 600; letter-spacing: .04em; color: var(--ink-soft); }
.field input, .field select, .field textarea {
  font-family: var(--ff-body); font-size: 1rem; color: var(--ink);
  background: var(--ground); border: 1px solid var(--line-strong); border-radius: var(--radius);
  padding: 11px 13px; width: 100%;
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--azure); outline: none; box-shadow: 0 0 0 3px color-mix(in srgb, var(--azure) 22%, transparent); }
.form-note { font-size: .87rem; color: var(--muted); margin-top: 12px; }
.contact-aside { display: grid; gap: 22px; }
.contact-item { border-left: 2px solid var(--azure); padding-left: 16px; }
.contact-item .ci-label { font-family: var(--ff-display); font-size: .68rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.contact-item .ci-value { font-size: 1.02rem; margin-top: 4px; }
.contact-item .ci-small { font-size: .88rem; color: var(--muted); line-height: 1.55; }

/* footer */
.site-footer { background: var(--navy); color: var(--on-navy-muted); }
.footer-top { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 34px; padding: 58px 0 44px; }
.site-footer .brand-name, .site-footer h4 { color: #fff; }
.site-footer .brand-sub { color: var(--on-navy-muted); }
.site-footer h4 { font-family: var(--ff-display); font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; font-weight: 600; margin-bottom: 14px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.site-footer a { color: var(--on-navy-muted); font-size: .95rem; }
.site-footer a:hover { color: #fff; }
.site-footer p { font-size: .95rem; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.12); padding: 20px 0 30px;
  display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between;
  font-size: .85rem;
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}

/* ---------- responsive ---------- */

@media (max-width: 980px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .credbar { grid-template-columns: repeat(2, 1fr); }
  .credbar > div:nth-child(2) { border-right: 0; }
  .credbar > div:nth-child(1), .credbar > div:nth-child(2) { border-bottom: 1px solid var(--line); }
  .service-block { grid-template-columns: 1fr; gap: 24px; }
  .profile { grid-template-columns: 1fr; gap: 30px; }
  .profile-card { max-width: 340px; }
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .coverage { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr; }
  .step { border-right: 0; border-bottom: 1px solid var(--line); padding-right: 0; }
  .step:last-child { border-bottom: 0; }
}

@media (max-width: 760px) {
  body { font-size: 16px; }
  .menu-toggle { display: inline-flex; }
  .nav {
    display: none; position: absolute; top: 74px; left: 0; right: 0;
    background: var(--ground); border-bottom: 1px solid var(--line);
    flex-direction: column; align-items: stretch; padding: 12px 18px 20px; gap: 2px;
  }
  .nav.open { display: flex; }
  .nav a { padding: 12px 6px; font-size: 1rem; }
  .nav a[aria-current="page"]::after { left: 6px; right: auto; width: 22px; bottom: 6px; }
  .nav .btn { margin: 10px 0 0; justify-content: center; }
  .hero-inner { padding-block: 72px 60px; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .sb-cols { grid-template-columns: 1fr; }
  .coverage { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; gap: 28px; }
  .section { padding: 60px 0; }
  .credbar > div { padding-right: 18px; }
  .route { display: none; }
}
