/* =========================================================
   KOCH MARITIME — corporate light theme
   ========================================================= */
/* Playfair's ampersand is a decorative swash; render "&" in a plain serif instead */
@font-face { font-family: "AmpFix"; src: local("Georgia"), local("Times New Roman"), local("Noto Serif"); unicode-range: U+0026; }

:root {
  --bg: #FFFFFF;
  --bg-alt: #F7F6FA;
  --ink: #1C1533;
  --ink-2: #555068;
  --ink-3: #8E8A9C;
  --line: #E6E3EE;

  --accent: #4A2A93;
  --accent-dark: #31136D;
  --accent-soft: #F0EDF8;
  --accent-line: #DCD5EE;
  --lavender: #BDB3D9;

  --radius: 4px;
  --shadow: 0 1px 2px rgba(16,42,56,.04), 0 8px 24px -12px rgba(16,42,56,.12);

  --font-display: "AmpFix", "Playfair Display", Georgia, serif;
  --font-body: "Inter", system-ui, sans-serif;
  --ease: cubic-bezier(.2,.7,.2,1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: clip; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { margin: 0; font-weight: 600; line-height: 1.2; }
h1, h2 { font-family: var(--font-display); }
p { margin: 0; }
svg { flex-shrink: 0; }

.container { width: min(1200px, 100% - 48px); margin-inline: auto; }
.section { padding: clamp(80px, 10vw, 120px) 0; }

/* ---------- type helpers ---------- */
.eyebrow {
  display: inline-block;
  font-size: 12px; font-weight: 600; letter-spacing: .22em; text-transform: uppercase;
  color: var(--accent);
}
.h2 { font-size: clamp(30px, 3.6vw, 44px); margin: 14px 0 20px; color: var(--ink); }
.h3 { font-size: clamp(24px, 2.4vw, 30px); font-family: var(--font-display); margin: 14px 0 22px; }
.lead, .section-head p, .about__copy > p, .management__intro > p { color: var(--ink-2); font-size: 17px; }

.section-head { max-width: 680px; margin-bottom: 56px; }
.section-head--center { margin-inline: auto; text-align: center; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 30px; border-radius: var(--radius); border: 1px solid transparent; cursor: pointer;
  font: 600 14px/1 var(--font-body); letter-spacing: .04em;
  transition: background .25s, color .25s, border-color .25s;
}
.btn--primary { background: var(--accent); color: #fff; }
.btn--primary:hover { background: var(--accent-dark); }
.btn--outline { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn--outline:hover { background: var(--ink); color: #fff; }
.btn--block { width: 100%; }

.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 15px; color: var(--accent); border-bottom: 1px solid currentColor; padding-bottom: 3px; }
.link-arrow svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; transition: transform .25s var(--ease); }
.link-arrow:hover svg { transform: translateX(4px); }

/* ---------- logo ---------- */
.logo { display: inline-flex; align-items: center; }
.logo img { height: 44px; width: auto; }
.footer .logo img { height: 44px; }

/* ---------- nav ---------- */
.nav {
  position: fixed; inset: 0 0 auto; z-index: 50;
  background: rgba(255,255,255,.96);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, box-shadow .3s;
}
.nav.is-scrolled { border-color: var(--line); box-shadow: 0 4px 20px -12px rgba(16,42,56,.18); }
.nav__inner { display: flex; align-items: center; gap: 40px; height: 78px; }
.nav__links { display: flex; gap: 34px; margin-left: auto; }
.nav__links a {
  font-weight: 500; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-2);
  padding: 6px 0; border-bottom: 1px solid transparent; transition: color .2s, border-color .2s;
}
.nav__links a:hover { color: var(--ink); border-color: var(--accent); }
.nav__cta { padding: 12px 22px; font-size: 13px; }
.nav__burger { display: none; margin-left: auto; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; cursor: pointer; position: relative; }
.nav__burger span { position: absolute; left: 12px; right: 12px; height: 1.5px; background: var(--ink); transition: transform .3s var(--ease), top .3s; }
.nav__burger span:first-child { top: 17px; }
.nav__burger span:last-child { top: 25px; }
.nav__burger[aria-expanded="true"] span:first-child { top: 21px; transform: rotate(45deg); }
.nav__burger[aria-expanded="true"] span:last-child { top: 21px; transform: rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: 0; z-index: 40; background: #fff;
  display: flex; flex-direction: column; justify-content: center; padding: 90px 24px 40px;
  opacity: 0; pointer-events: none; transition: opacity .3s var(--ease);
}
.mobile-menu.is-open { opacity: 1; pointer-events: auto; }
.mobile-menu a { font-family: var(--font-display); font-size: 30px; padding: 14px 0; border-bottom: 1px solid var(--line); }

/* ---------- hero ---------- */
.hero { position: relative; padding-top: 78px; background: linear-gradient(180deg, #F6F5FA 0%, #fff 100%); overflow: hidden; }
.hero__grid { position: relative; display: grid; grid-template-columns: minmax(0, 520px); align-items: center; min-height: max(600px, calc(100vh - 200px)); }
.hero__copy { position: relative; z-index: 2; padding: 40px 0; }
.hero__copy::before {
  content: ""; position: absolute; inset: -40px -80px -40px -40vw; z-index: -1; pointer-events: none;
  background: radial-gradient(ellipse at 30% 50%, #F6F5FA 50%, rgba(246,245,250,0) 74%);
}
.hero__title { font-size: clamp(42px, 5.4vw, 72px); font-weight: 600; letter-spacing: -.01em; line-height: 1.08; margin: 18px 0 24px; }
.hero__title em { font-style: italic; color: var(--accent); }
.hero__lead { font-size: 17.5px; color: var(--ink-2); max-width: 480px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }

.hero__strip {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px;
  position: relative; z-index: 2; margin-bottom: 24px;
}
.strip-item {
  position: relative; display: flex; align-items: center; gap: 14px;
  padding: 20px 18px; background: #fff; border: 1px solid var(--line); border-radius: 8px;
  box-shadow: 0 1px 2px rgba(16,42,56,.04), 0 10px 30px -18px rgba(16,42,56,.25);
  overflow: hidden; transition: transform .3s var(--ease), box-shadow .3s, border-color .3s;
}
.strip-item::before {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px;
  background: var(--accent); transform: scaleY(0); transform-origin: bottom; transition: transform .35s var(--ease);
}
.strip-item:hover { transform: translateY(-3px); border-color: var(--accent-line); box-shadow: 0 18px 36px -20px rgba(49,19,109,.3); }
.strip-item:hover::before { transform: scaleY(1); }
.strip-item__icon {
  width: 44px; height: 44px; border-radius: 10px; background: var(--accent-soft);
  display: grid; place-items: center; flex-shrink: 0; transition: background .3s;
}
.strip-item__icon svg { width: 24px; height: 24px; fill: none; stroke: var(--accent); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; transition: stroke .3s; }
.strip-item:hover .strip-item__icon { background: var(--accent); }
.strip-item:hover .strip-item__icon svg { stroke: #fff; }
.strip-item__text { display: flex; flex-direction: column; min-width: 0; line-height: 1.35; }
.strip-item__text b { font-size: 14.5px; font-weight: 600; color: var(--ink); white-space: nowrap; }
.strip-item__text small { font-size: 12.5px; color: var(--ink-3); margin-top: 3px; white-space: nowrap; }
.strip-item__arrow {
  position: absolute; top: 12px; right: 12px; width: 15px; height: 15px; fill: none; stroke: var(--ink-3); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
  opacity: 0; transform: translateX(-6px); transition: opacity .3s, transform .3s var(--ease), stroke .3s;
}
.strip-item:hover .strip-item__arrow { opacity: 1; transform: none; stroke: var(--accent); }

/* map */
.hero__map { position: absolute; z-index: 1; top: 50%; right: calc((100vw - min(1200px, 100vw - 48px)) / -2 - 40px); width: min(1340px, 90vw); transform: translateY(-50%); }
.map { width: 100%; height: auto; overflow: visible; opacity: 0; transition: opacity 1.2s var(--ease); }
.map.is-ready { opacity: 1; }
.map .graticule { fill: none; stroke: rgba(74,42,147,.045); stroke-width: .6; }
.map .land { fill: url(#landGrad); stroke: rgba(74,42,147,.16); stroke-width: .5; filter: drop-shadow(0 10px 18px rgba(49,19,109,.07)); }
.map .borders { fill: none; stroke: rgba(255,255,255,.75); stroke-width: .6; }
.map .lane { fill: none; stroke: var(--accent); stroke-opacity: .24; stroke-width: 1; }
.map .lane-flow { fill: none; stroke: var(--accent); stroke-opacity: .75; stroke-width: 2.2; stroke-linecap: round; stroke-dasharray: .1 14; animation: flow 7s linear infinite; }
@keyframes flow { to { stroke-dashoffset: -280; } }
.map .wake { fill: none; stroke: #7C5CC9; stroke-width: 2.4; stroke-linecap: round; stroke-opacity: .55; }
.map .ship-glow { fill: #8B6DDA; fill-opacity: .55; }
.map .ship-dot { fill: #fff; stroke: var(--accent-dark); stroke-width: 1.6; }
.map .choke-dot { fill: #fff; stroke: #7C5CC9; stroke-width: 1.6; }
.map .choke--canal .choke-dot { fill: #7C5CC9; stroke: #fff; }
.map .choke-ring { fill: none; stroke: #7C5CC9; stroke-width: 1; transform-box: fill-box; transform-origin: center; animation: ring 3.2s ease-out infinite; }
.map .port-dot { fill: var(--accent-dark); stroke: #fff; stroke-width: 2; }
.map .hub-ring { fill: rgba(74,42,147,.08); stroke: rgba(74,42,147,.35); stroke-width: 1; }
.map .hub-ring--outer { fill: none; stroke: rgba(74,42,147,.25); stroke-dasharray: 2 4; transform-box: fill-box; transform-origin: center; animation: spin 24s linear infinite; }
.map .port-label { font: 600 12.5px var(--font-body); letter-spacing: .16em; text-transform: uppercase; fill: var(--ink-2); paint-order: stroke; stroke: #F6F5FA; stroke-width: 4px; stroke-linejoin: round; }
.map .port--hub .port-label { fill: var(--accent-dark); font-weight: 700; font-size: 14px; }
@keyframes ring { from { transform: scale(.6); opacity: .8; } to { transform: scale(3); opacity: 0; } }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- about ---------- */
.about__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 90px); align-items: center; }
.about__media { aspect-ratio: 4 / 4.4; overflow: hidden; border-radius: var(--radius); box-shadow: var(--shadow); }
.about__media img { width: 100%; height: 100%; object-fit: cover; }
.about__points { list-style: none; padding: 0; margin: 34px 0 0; display: grid; gap: 22px; border-top: 1px solid var(--line); padding-top: 30px; }
.about__points li { display: flex; gap: 18px; }
.about__points svg { width: 28px; height: 28px; fill: none; stroke: var(--accent); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; margin-top: 2px; }
.about__points b { font-size: 16px; }
.about__points p { color: var(--ink-2); font-size: 15px; }

/* ---------- cards ---------- */
.cards { display: grid; gap: 24px; }
.cards--3 { grid-template-columns: repeat(3, 1fr); }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 40px 32px; text-align: center;
  transition: box-shadow .3s, border-color .3s, transform .3s var(--ease);
}
.card:hover { box-shadow: var(--shadow); border-color: transparent; transform: translateY(-3px); }
.card__icon { width: 52px; height: 52px; margin: 0 auto 22px; fill: none; stroke: var(--accent); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.card__icon--sm { width: 38px; height: 38px; stroke-width: 1.4; }
.card h3 { font-family: var(--font-display); font-size: 21px; margin-bottom: 12px; }
.card p { color: var(--ink-2); font-size: 15px; }
.services { background: var(--bg-alt); }

/* ---------- split ---------- */
.split { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(40px, 6vw, 90px); align-items: center; margin-top: 100px; }
.split--flush { margin-top: 0; grid-template-columns: 1fr 1.05fr; }
.split__img { border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 3; box-shadow: var(--shadow); }
.split__img img { width: 100%; height: 100%; object-fit: cover; }
.check-list { list-style: none; padding: 0; margin: 0 0 32px; display: grid; gap: 14px; }
.check-list li { position: relative; padding-left: 32px; color: var(--ink-2); }
.check-list li::before {
  content: ""; position: absolute; left: 0; top: 4px; width: 18px; height: 18px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234A2A93' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7'/%3E%3C/svg%3E") center/contain no-repeat;
}
.tags { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.tags span { font-size: 13px; font-weight: 500; color: var(--accent-dark); background: var(--accent-soft); border: 1px solid var(--accent-line); padding: 7px 14px; border-radius: 99px; }

/* ---------- management ---------- */
.management { background: var(--bg-alt); border-block: 1px solid var(--line); }
.management__grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(40px, 6vw, 90px); align-items: start; }
.management__intro { position: sticky; top: 120px; }
.management__img { margin-top: 34px; border-radius: var(--radius); overflow: hidden; aspect-ratio: 16 / 10; }
.management__img img { width: 100%; height: 100%; object-fit: cover; }
.mgmt-list { list-style: none; margin: 0; padding: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.mgmt-list li { display: flex; gap: 24px; padding: 22px 28px; transition: background .25s; }
.mgmt-list li + li { border-top: 1px solid var(--line); }
.mgmt-list li:hover { background: #FBFAFD; }
.mgmt-list li { align-items: center; }
.mgmt-list__icon { width: 44px; height: 44px; border-radius: 10px; background: var(--accent-soft); display: grid; place-items: center; flex-shrink: 0; transition: background .25s; }
.mgmt-list__icon svg { width: 22px; height: 22px; fill: none; stroke: var(--accent); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; transition: stroke .25s; }
.mgmt-list li:hover .mgmt-list__icon { background: var(--accent); }
.mgmt-list li:hover .mgmt-list__icon svg { stroke: #fff; }
.mgmt-list b { font-size: 16.5px; display: block; }
.mgmt-list p { color: var(--ink-2); font-size: 15px; margin-top: 2px; }

/* ---------- contact ---------- */
.contact__grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(40px, 6vw, 90px); align-items: start; }

.contact__form { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(24px, 3.5vw, 40px); display: grid; gap: 18px; box-shadow: var(--shadow); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: grid; gap: 8px; min-width: 0; }
.field > span { font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-2); }
.field input, .field textarea, .field select {
  width: 100%; font: 400 15.5px var(--font-body); color: var(--ink);
  border: 1px solid var(--line); background: #fff; border-radius: var(--radius); padding: 13px 14px;
  transition: border-color .2s, box-shadow .2s; resize: vertical;
}
.field select { appearance: none; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234E5F6A' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") right 14px center/16px no-repeat; padding-right: 40px; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(74,42,147,.12); }

/* ---------- footer ---------- */
.footer { background: #1E1338; color: rgba(255,255,255,.65); padding: 72px 0 28px; font-size: 15px; }
.footer__grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; }
.footer__brand p { margin-top: 18px; max-width: 300px; }
.footer h4 { color: #fff; font-size: 13px; letter-spacing: .16em; text-transform: uppercase; margin-bottom: 18px; }
.footer__grid > div:not(.footer__brand) { display: flex; flex-direction: column; gap: 10px; }
.footer a { transition: color .2s; }
.footer a:hover { color: var(--lavender); }
.footer__bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; border-top: 1px solid rgba(255,255,255,.12); margin-top: 56px; padding-top: 22px; font-size: 13.5px; }

/* ---------- reveal ---------- */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .nav__links, .nav__cta { display: none; }
  .nav__burger { display: block; }
  .hero__grid { grid-template-columns: 1fr; min-height: 0; }
  .hero__copy::before { display: none; }
  .hero__map { position: relative; top: auto; right: auto; width: 100%; transform: none; margin-bottom: 30px; }
  .hero__strip { grid-template-columns: repeat(2, 1fr); }
  .cards--3 { grid-template-columns: repeat(2, 1fr); }
  .about__grid, .management__grid, .split, .split--flush, .contact__grid { grid-template-columns: 1fr; }
  .split--flush .split__img { order: -1; }
  .management__intro { position: static; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .container { width: calc(100% - 32px); }
  .nav__inner { height: 68px; }
  .hero { padding-top: 68px; }
  .map .port-label { display: none; }
  .hero__strip, .cards--3, .field-row { grid-template-columns: 1fr; }
  .hero__strip { gap: 10px; }
  .strip-item { padding: 16px 18px; }
  .card { padding: 32px 24px; }
  .mgmt-list li { padding: 20px; gap: 16px; }
  .footer__grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}
