:root {
  --navy: #082b4d;
  --navy-deep: #03192e;
  --navy-soft: #123b60;
  --blue: #2f73ad;
  --blue-bright: #65b5df;
  --ice: #eaf3f8;
  --mist: #f4f7f9;
  --white: #ffffff;
  --ink: #10283d;
  --muted: #607386;
  --line: #d7e2e9;
  --max-width: 1220px;
  --header-height: 78px;
  --shadow: 0 22px 60px rgba(3, 25, 46, 0.12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  font-family: "Manrope", "Segoe UI", Arial, sans-serif;
  line-height: 1.65;
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
body.menu-open { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
h1, h2, h3, p { overflow-wrap: anywhere; }
h1, h2, h3 { text-wrap: balance; }

.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 100;
  padding: 10px 16px;
  color: var(--white);
  background: var(--navy-deep);
  transform: translateY(-150%);
}
.skip-link:focus { transform: translateY(0); }
:focus-visible { outline: 3px solid var(--blue-bright); outline-offset: 3px; }

.operations-bar {
  min-height: 36px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 28px;
  padding: 6px clamp(20px, 4vw, 64px);
  color: rgba(255,255,255,.76);
  background: var(--navy-deep);
  font-size: .71rem;
  font-weight: 700;
  letter-spacing: .07em;
  text-transform: uppercase;
}
.operations-bar span + span { position: relative; }
.operations-bar span + span::before {
  content: "";
  position: absolute;
  top: 50%;
  left: -15px;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--blue-bright);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  min-height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding: 10px clamp(20px, 4vw, 64px);
  background: rgba(255,255,255,.96);
  border-bottom: 1px solid rgba(8,43,77,.1);
  backdrop-filter: blur(18px);
  transition: box-shadow .25s ease, min-height .25s ease;
}
.site-header.is-scrolled { box-shadow: 0 10px 35px rgba(3,25,46,.08); }
.brand { display: flex; align-items: center; gap: 12px; min-width: 0; }
.brand img { width: 52px; height: 52px; object-fit: contain; }
.brand strong, .brand small { display: block; }
.brand strong { color: var(--navy); font-size: .93rem; line-height: 1.2; letter-spacing: -.02em; }
.brand small { margin-top: 3px; color: var(--muted); font-size: .68rem; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; }
.site-nav { display: flex; align-items: center; gap: clamp(18px, 2.2vw, 34px); color: var(--navy); font-size: .88rem; font-weight: 700; }
.site-nav > a:not(.nav-button) { position: relative; min-height: 46px; display: inline-flex; align-items: center; }
.site-nav > a:not(.nav-button)::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 6px;
  left: 0;
  height: 2px;
  background: var(--blue);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .2s ease;
}
.site-nav > a:hover::after, .site-nav > a[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }
.nav-button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 0 20px;
  color: var(--white);
  background: var(--navy);
  border-radius: 4px;
  transition: background .2s ease, transform .2s ease;
}
.nav-button:hover { background: var(--blue); transform: translateY(-2px); }
.menu-toggle { display: none; width: 46px; height: 46px; padding: 10px; border: 1px solid var(--line); border-radius: 4px; background: var(--white); cursor: pointer; }
.menu-toggle span { display: block; height: 2px; margin: 5px 0; background: var(--navy); transition: transform .2s ease, opacity .2s ease; }
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.eyebrow {
  margin: 0 0 16px;
  color: var(--blue);
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.eyebrow.light { color: var(--blue-bright); }
h1 { margin: 0; font-size: clamp(3rem, 6vw, 5.8rem); line-height: .98; letter-spacing: -.055em; }
h2 { margin: 0; color: var(--navy); font-size: clamp(2.25rem, 4.4vw, 4.25rem); line-height: 1.04; letter-spacing: -.05em; }
h3 { margin: 0; color: var(--navy); font-size: 1.25rem; line-height: 1.25; letter-spacing: -.025em; }

.hero {
  position: relative;
  min-height: min(790px, calc(100svh - var(--header-height)));
  display: grid;
  align-items: center;
  overflow: hidden;
  color: var(--white);
  background: var(--navy-deep);
}
.hero-media, .hero-overlay { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-media { object-fit: cover; object-position: center; animation: hero-zoom 18s ease-out both; }
.hero-overlay {
  background:
    linear-gradient(90deg, rgba(3,25,46,.94) 0%, rgba(3,25,46,.82) 40%, rgba(3,25,46,.25) 72%, rgba(3,25,46,.35) 100%),
    linear-gradient(0deg, rgba(3,25,46,.82) 0%, transparent 42%);
}
.hero-content { position: relative; z-index: 2; width: min(750px, calc(100% - 40px)); margin-left: max(20px, calc((100vw - var(--max-width)) / 2)); padding: 92px 0 180px; }
.hero h1 { max-width: 750px; }
.hero-content > p:not(.eyebrow) { max-width: 620px; margin: 26px 0 0; color: rgba(255,255,255,.82); font-size: clamp(1.02rem, 1.5vw, 1.18rem); }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 28px; margin-top: 36px; }
.hero-proof {
  position: absolute;
  z-index: 2;
  right: max(20px, calc((100vw - var(--max-width)) / 2));
  bottom: 0;
  left: max(20px, calc((100vw - var(--max-width)) / 2));
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid rgba(255,255,255,.25);
  background: rgba(3,25,46,.34);
  backdrop-filter: blur(12px);
}
.hero-proof div { display: flex; align-items: baseline; gap: 12px; padding: 24px 30px; border-right: 1px solid rgba(255,255,255,.18); }
.hero-proof div:last-child { border-right: 0; }
.hero-proof strong { font-size: 1.45rem; letter-spacing: -.04em; }
.hero-proof span { color: rgba(255,255,255,.68); font-size: .78rem; font-weight: 700; }

.button {
  min-height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  padding: 0 24px;
  border: 1px solid transparent;
  border-radius: 4px;
  font-size: .87rem;
  font-weight: 800;
  cursor: pointer;
  transition: transform .2s ease, background .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.button:hover { transform: translateY(-3px); }
.button.primary { color: var(--white); background: var(--blue); box-shadow: 0 10px 25px rgba(3,25,46,.18); }
.button.primary:hover { background: #3b84be; box-shadow: 0 14px 32px rgba(3,25,46,.24); }
.button.outline { color: var(--navy); border-color: var(--navy); background: transparent; }
.button.outline:hover { color: var(--white); background: var(--navy); }
.text-link { display: inline-flex; align-items: center; gap: 18px; color: var(--navy); font-size: .88rem; font-weight: 800; }
.text-link span { transition: transform .2s ease; }
.text-link:hover span { transform: translateX(5px); }
.light-link { color: var(--white); }

.section { width: min(var(--max-width), calc(100% - 40px)); margin: 0 auto; padding: clamp(84px, 10vw, 142px) 0; }
.intro { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(320px, .7fr); gap: clamp(50px, 8vw, 120px); align-items: end; }
.intro-copy { padding-bottom: 4px; }
.intro-copy p { margin: 0 0 30px; color: var(--muted); font-size: 1.08rem; }
.section-heading { max-width: 830px; margin-bottom: 48px; }
.section-heading.wide { width: min(var(--max-width), calc(100% - 40px)); max-width: none; display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(280px, .6fr); gap: 70px; align-items: end; margin: 0 auto 50px; }
.section-heading.wide > p { margin: 0 0 8px; color: var(--muted); }

.services-section { padding: clamp(84px, 9vw, 130px) 0; background: var(--mist); }
.services-section > .button { margin: 36px max(20px, calc((100vw - var(--max-width)) / 2)) 0; }
.service-grid { width: min(var(--max-width), calc(100% - 40px)); display: grid; grid-template-columns: repeat(12, 1fr); gap: 14px; margin: 0 auto; }
.service-card {
  grid-column: span 3;
  min-height: 310px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: clamp(24px, 3vw, 34px);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--white);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.service-card-featured { grid-column: span 6; min-height: 365px; }
.service-card:hover { position: relative; z-index: 2; transform: translateY(-7px); border-color: transparent; box-shadow: var(--shadow); }
.service-top { display: flex; align-items: flex-start; justify-content: space-between; }
.service-top svg { width: 48px; height: 48px; fill: none; stroke: var(--blue); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.service-number { color: var(--blue); font-size: .73rem; font-weight: 800; letter-spacing: .12em; }
.service-card h3 { margin-bottom: 11px; font-size: clamp(1.25rem, 2vw, 1.65rem); }
.service-card p { max-width: 470px; margin: 0; color: var(--muted); font-size: .94rem; }
.dark-card { color: var(--white); border-color: var(--navy); background: var(--navy); }
.dark-card h3 { color: var(--white); }
.dark-card p { color: rgba(255,255,255,.7); }
.dark-card .service-number { color: var(--blue-bright); }
.dark-card .service-top svg { stroke: var(--blue-bright); }

.story-band { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); min-height: 700px; background: var(--navy-deep); }
.story-image { position: relative; min-height: 600px; overflow: hidden; }
.story-image::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(3,25,46,.45), transparent 45%); }
.story-image img { width: 100%; height: 100%; object-fit: cover; }
.story-image > span { position: absolute; z-index: 1; bottom: 28px; left: 30px; color: var(--white); font-size: .74rem; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.story-copy { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; padding: clamp(60px, 8vw, 120px); color: var(--white); }
.story-copy h2 { color: var(--white); }
.story-copy > p:not(.eyebrow) { max-width: 560px; margin: 28px 0 0; color: rgba(255,255,255,.69); }
.story-stat { display: flex; align-items: baseline; gap: 18px; margin: 52px 0 40px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.18); }
.story-stat strong { font-size: clamp(2.8rem, 5vw, 5rem); line-height: 1; letter-spacing: -.06em; }
.story-stat span { color: rgba(255,255,255,.62); font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .09em; }

.standards-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; }
.standards-grid article { padding: 26px 0 10px; border-top: 2px solid var(--navy); }
.standards-grid span { display: block; margin-bottom: 54px; color: var(--blue); font-size: .73rem; font-weight: 800; }
.standards-grid p { margin: 12px 0 0; color: var(--muted); font-size: .91rem; }

.coverage-section { padding: clamp(84px, 10vw, 140px) max(20px, calc((100vw - var(--max-width)) / 2)); color: var(--white); background: var(--navy); }
.coverage-section h2 { color: var(--white); }
.coverage-route { display: flex; align-items: center; margin: 70px 6px 16px; }
.route-start, .route-end { width: 13px; height: 13px; flex: 0 0 auto; border: 3px solid var(--blue-bright); border-radius: 50%; }
.route-start { background: var(--blue-bright); box-shadow: 0 0 0 8px rgba(101,181,223,.15); }
.route-line { width: 100%; height: 1px; background: linear-gradient(90deg, var(--blue-bright), rgba(101,181,223,.25)); }
.coverage-locations { display: flex; justify-content: space-between; color: rgba(255,255,255,.66); font-size: .76rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }

.cta-section { width: min(var(--max-width), calc(100% - 40px)); display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(300px, .6fr); gap: clamp(50px, 9vw, 130px); align-items: end; margin: 0 auto; padding: clamp(84px, 10vw, 140px) 0; }
.cta-section > div:last-child > p { margin: 0 0 28px; color: var(--muted); }

.page-hero {
  position: relative;
  min-height: 520px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: clamp(82px, 11vw, 150px) max(20px, calc((100vw - var(--max-width)) / 2));
  overflow: hidden;
  color: var(--white);
  background: var(--navy-deep);
}
.page-hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(3,25,46,.96), rgba(3,25,46,.65)), url("assets/hero-port-mooring.png") center / cover; }
.page-hero > * { position: relative; z-index: 1; }
.page-hero h1 { max-width: 950px; font-size: clamp(3rem, 5.5vw, 5.3rem); }
.page-hero > p:not(.eyebrow) { max-width: 690px; margin: 26px 0 0; color: rgba(255,255,255,.74); font-size: 1.05rem; }

.split-section { display: grid; grid-template-columns: minmax(0, 1fr) minmax(320px, .75fr); gap: clamp(50px, 8vw, 120px); }
.prose p { margin: 0; color: var(--muted); font-size: 1.05rem; }
.prose p + p { margin-top: 20px; }
.large-year { display: block; margin-top: 40px; color: var(--blue); font-size: clamp(4rem, 9vw, 8.5rem); font-weight: 800; line-height: .8; letter-spacing: -.08em; }
.editorial-band { display: grid; grid-template-columns: .85fr 1.15fr; min-height: 650px; background: var(--ice); }
.editorial-copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(60px, 8vw, 110px); }
.editorial-copy p:not(.eyebrow) { margin: 24px 0 0; color: var(--muted); }
.editorial-image { min-height: 520px; overflow: hidden; }
.editorial-image img { width: 100%; height: 100%; object-fit: cover; }
.principles { background: var(--white); }

.detail-list { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); }
.service-detail { display: grid; grid-template-columns: 90px minmax(240px, .65fr) minmax(280px, 1fr); gap: clamp(24px, 5vw, 70px); padding: clamp(38px, 5vw, 70px); background: var(--white); transition: background .2s ease; }
.service-detail:hover { background: var(--mist); }
.service-detail > span { color: var(--blue); font-size: .76rem; font-weight: 800; letter-spacing: .12em; }
.service-detail h2 { font-size: clamp(1.8rem, 3vw, 3rem); }
.service-detail-copy > p { margin: 0 0 22px; color: var(--muted); }
.service-detail ul { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px 24px; margin: 0; padding: 0; list-style: none; }
.service-detail li { position: relative; padding-left: 18px; color: var(--navy); font-size: .86rem; font-weight: 700; }
.service-detail li::before { content: ""; position: absolute; top: .72em; left: 0; width: 7px; height: 2px; background: var(--blue); }
.process-section { color: var(--white); background: var(--navy-deep); }
.process-inner { width: min(var(--max-width), calc(100% - 40px)); margin: 0 auto; padding: clamp(84px, 10vw, 140px) 0; }
.process-section h2 { color: var(--white); }
.process-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; margin-top: 55px; background: rgba(255,255,255,.15); }
.process-grid article { min-height: 270px; padding: 34px; background: var(--navy-deep); }
.process-grid span { color: var(--blue-bright); font-size: .73rem; font-weight: 800; }
.process-grid h3 { margin-top: 72px; color: var(--white); }
.process-grid p { margin: 12px 0 0; color: rgba(255,255,255,.62); font-size: .91rem; }

.contact-layout { display: grid; grid-template-columns: minmax(0, .7fr) minmax(420px, 1fr); gap: clamp(50px, 8vw, 110px); }
.contact-copy h2 { margin-bottom: 24px; }
.contact-copy > p { color: var(--muted); }
.contact-list { display: grid; gap: 0; margin: 38px 0 0; }
.contact-list div { padding: 20px 0; border-top: 1px solid var(--line); }
.contact-list dt { color: var(--blue); font-size: .72rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.contact-list dd { margin: 4px 0 0; color: var(--navy); font-weight: 700; }
.contact-form { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; padding: clamp(26px, 4vw, 46px); border: 1px solid var(--line); border-radius: 4px; background: var(--mist); box-shadow: var(--shadow); }
.contact-form label { display: grid; gap: 8px; color: var(--navy); font-size: .76rem; font-weight: 800; letter-spacing: .04em; }
.contact-form input, .contact-form textarea, .contact-form select { width: 100%; border: 1px solid #c9d6df; border-radius: 3px; padding: 13px 14px; color: var(--ink); background: var(--white); transition: border-color .2s ease, box-shadow .2s ease; }
.contact-form input:focus, .contact-form textarea:focus, .contact-form select:focus { outline: 0; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(47,115,173,.13); }
.contact-form textarea { min-height: 150px; resize: vertical; }
.full { grid-column: 1 / -1; }
.form-status { grid-column: 1 / -1; min-height: 24px; margin: 0; color: var(--blue); font-size: .86rem; font-weight: 700; }
.form-note { grid-column: 1 / -1; margin: -4px 0 0; color: var(--muted); font-size: .73rem; }

.site-footer { display: grid; grid-template-columns: 1fr auto 1fr; gap: 40px; align-items: center; padding: 32px clamp(20px, 4vw, 64px); color: var(--muted); background: var(--mist); border-top: 1px solid var(--line); font-size: .78rem; }
.footer-brand { display: flex; align-items: center; gap: 12px; }
.footer-brand img { width: 42px; height: 42px; }
.footer-brand strong, .footer-brand span { display: block; }
.footer-brand strong { color: var(--navy); }
.footer-brand span { font-size: .69rem; }
.site-footer nav { display: flex; gap: 26px; color: var(--navy); font-weight: 700; }
.site-footer nav a:hover { color: var(--blue); }
.site-footer > p { justify-self: end; margin: 0; }

.reveal-ready [data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.2,1); }
.reveal-ready [data-reveal].is-visible { opacity: 1; transform: translateY(0); }
@keyframes hero-zoom { from { transform: scale(1.04); } to { transform: scale(1); } }

@media (max-width: 980px) {
  .menu-toggle { display: block; }
  .site-nav { position: absolute; inset: 100% 0 auto 0; display: grid; gap: 0; padding: 14px 20px 24px; background: var(--white); border-bottom: 1px solid var(--line); box-shadow: 0 24px 48px rgba(8,43,77,.16); transform: translateY(-130%); transition: transform .22s ease; }
  .site-nav.is-open { transform: translateY(0); }
  .site-nav > a:not(.nav-button) { border-bottom: 1px solid var(--line); }
  .site-nav > a:not(.nav-button)::after { display: none; }
  .nav-button { justify-content: center; margin-top: 14px; }
  .service-card { grid-column: span 6; }
  .service-card-featured { min-height: 330px; }
  .standards-grid { grid-template-columns: repeat(2, 1fr); }
  .story-band, .editorial-band { grid-template-columns: 1fr; }
  .story-image, .editorial-image { min-height: 580px; }
  .site-footer { grid-template-columns: 1fr auto; }
  .site-footer > p { grid-column: 1 / -1; justify-self: start; }
}

@media (max-width: 760px) {
  .operations-bar { justify-content: center; }
  .operations-bar span:not(:first-child) { display: none; }
  .hero { min-height: 760px; align-items: end; }
  .hero-overlay { background: linear-gradient(0deg, rgba(3,25,46,.98) 0%, rgba(3,25,46,.85) 50%, rgba(3,25,46,.32) 100%); }
  .hero-content { width: calc(100% - 40px); margin: 0 auto; padding: 100px 0 190px; }
  .hero-proof { right: 20px; left: 20px; }
  .hero-proof div { display: block; padding: 17px 12px; }
  .hero-proof strong, .hero-proof span { display: block; }
  .hero-proof span { margin-top: 3px; font-size: .67rem; line-height: 1.35; }
  .intro, .section-heading.wide, .split-section, .cta-section, .contact-layout { grid-template-columns: 1fr; }
  .service-detail { grid-template-columns: 50px 1fr; }
  .service-detail-copy { grid-column: 2; }
  .process-grid { grid-template-columns: 1fr; }
  .process-grid article { min-height: 220px; }
  .process-grid h3 { margin-top: 44px; }
}

@media (max-width: 580px) {
  :root { --header-height: 70px; }
  .site-header { padding-inline: 16px; }
  .brand img { width: 46px; height: 46px; }
  .brand strong { max-width: 195px; font-size: .82rem; }
  .brand small { display: none; }
  h1 { font-size: clamp(2.75rem, 14vw, 4rem); }
  h2 { font-size: clamp(2rem, 10vw, 3rem); }
  .hero { min-height: 720px; }
  .hero-content { width: calc(100% - 32px); padding-bottom: 205px; }
  .hero-actions { align-items: flex-start; flex-direction: column; gap: 22px; }
  .hero-proof { right: 0; left: 0; }
  .section, .section-heading.wide, .service-grid, .process-inner, .cta-section { width: calc(100% - 32px); }
  .service-card, .service-card-featured { grid-column: 1 / -1; min-height: 285px; }
  .story-image, .editorial-image { min-height: 450px; }
  .story-copy, .editorial-copy { padding: 60px 22px; }
  .standards-grid { grid-template-columns: 1fr; }
  .standards-grid span { margin-bottom: 28px; }
  .coverage-locations { font-size: .62rem; }
  .service-detail { grid-template-columns: 1fr; padding: 32px 22px; }
  .service-detail-copy { grid-column: 1; }
  .service-detail ul { grid-template-columns: 1fr; }
  .contact-form { grid-template-columns: 1fr; }
  .site-footer { grid-template-columns: 1fr; }
  .site-footer nav { grid-row: auto; }
  .site-footer > p { grid-column: auto; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal-ready [data-reveal] { opacity: 1; transform: none; }
}
