@font-face {
  font-family: "Manrope";
  src: url("assets/manrope-variable.ttf") format("truetype");
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
}

:root {
  --navy: #082c44;
  --ink: #081d34;
  --yellow: #ffd000;
  --muted: #5c6470;
  --rule: #d7dce1;
  --gutter: clamp(1.5rem, 5vw, 5rem);
  --header-height: 124px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 1.5rem; }
body { margin: 0; color: var(--ink); background: #fff; font-family: "Manrope", Arial, sans-serif; -webkit-font-smoothing: antialiased; }
body, button { font-size: 1rem; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
img, svg { display: block; max-width: 100%; }
h1, h2, h3, p { margin: 0; }
::selection { background: var(--yellow); color: var(--ink); }
:focus-visible { outline: 3px solid #c59000; outline-offset: 6px; }
.container { width: min(100%, 1440px); margin-inline: auto; padding-inline: var(--gutter); }
.skip-link { position: fixed; top: 1rem; left: 1rem; z-index: 10; padding: .8rem 1rem; background: var(--yellow); color: var(--ink); transform: translateY(-200%); }
.skip-link:focus { transform: translateY(0); }

.site-header { position: relative; z-index: 5; background: #fff; }
.header-inner { display: flex; justify-content: space-between; align-items: center; min-height: var(--header-height); gap: 2rem; }
.brand { flex: 0 0 auto; width: 248px; margin-left: -1rem; }
.brand img { width: 100%; height: auto; }
.navigation { display: flex; align-items: center; gap: clamp(1.5rem, 3.5vw, 3.5rem); }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 54px; padding: .9rem 1.8rem; border-radius: 5px; font-weight: 800; line-height: 1.35; text-align: center; transition: transform .2s ease, background-color .2s ease, box-shadow .2s ease; }
.button:hover { transform: translateY(-3px); }
.button:active { transform: translateY(0); }
.button-navy { color: #fff; background: var(--navy); }
.button-navy:hover { background: #134968; }
.button-yellow { color: var(--ink); background: var(--yellow); }
.button-yellow:hover { background: #ffdc3b; box-shadow: 0 7px 24px #0002; }

.hero { position: relative; isolation: isolate; overflow: hidden; color: #fff; background: var(--navy); }
.hero-image, .hero-shade { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-image { z-index: -2; object-fit: cover; object-position: center 56%; }
.hero-shade { z-index: -1; background: linear-gradient(90deg, rgb(3 31 51 / 92%) 0%, rgb(3 31 51 / 73%) 29%, rgb(3 31 51 / 26%) 56%, rgb(3 31 51 / 0%) 83%); }
.hero-inner { display: flex; align-items: center; min-height: clamp(520px, calc(100svh - var(--header-height)), 650px); padding-block: 5rem; }
.hero-content { max-width: 710px; }
.eyebrow { display: flex; align-items: center; gap: 1rem; margin-bottom: 1.5rem; font-size: .8rem; font-weight: 800; letter-spacing: .25em; text-transform: uppercase; }
.eyebrow span { display: block; width: 44px; height: 5px; flex-shrink: 0; border-radius: 1px; background: var(--yellow); }
h1 { font-size: clamp(3rem, 4.95vw, 4.75rem); font-weight: 800; line-height: 1.1; letter-spacing: -.045em; }
.hero-description { max-width: 440px; margin-block: 1.5rem 2.5rem; font-size: clamp(1.125rem, 1.65vw, 1.4rem); font-weight: 500; line-height: 1.5; letter-spacing: -.02em; text-wrap: pretty; }
.hero .button { min-height: 60px; padding-inline: 2rem; font-size: 1.1rem; }
.hero-enter { animation: enter .75s both cubic-bezier(.16, 1, .3, 1); }
.hero-enter:nth-child(2) { animation-delay: .09s; }
.hero-enter:nth-child(3) { animation-delay: .18s; }
.hero-enter:nth-child(4) { animation-delay: .27s; }

.section { padding-block: clamp(4rem, 6vw, 6rem); }
h2 { font-size: clamp(2rem, 3.2vw, 3rem); font-weight: 800; line-height: 1.2; letter-spacing: -.045em; text-wrap: balance; }
.services-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 4.25rem; }
.service { padding: 0 2.25rem; text-align: center; }
.service + .service { border-left: 1px solid var(--rule); }
.service-icon { width: 88px; height: 88px; margin: 0 auto 1.6rem; color: var(--navy); transition: transform .28s ease; }
.service:hover .service-icon { transform: translateY(-5px); }
h3 { font-size: clamp(1.3rem, 2vw, 1.85rem); line-height: 1.25; font-weight: 800; letter-spacing: -.035em; margin-bottom: .8rem; }
.service p { max-width: 280px; margin-inline: auto; font-size: 1.08rem; line-height: 1.55; letter-spacing: -.015em; text-wrap: pretty; }
.coverage { display: flex; justify-content: center; flex-wrap: wrap; gap: .6rem; margin-top: 4rem; color: var(--muted); line-height: 1.6; text-align: center; }

.contact { background-color: var(--navy); background-image: linear-gradient(90deg, rgb(3 31 51 / 92%) 0%, rgb(3 31 51 / 70%) 45%, rgb(3 31 51 / 30%) 100%), url("assets/maritime-contact.webp"); background-size: cover; background-position: center; color: #fff; }
.contact-inner { display: flex; align-items: center; justify-content: space-between; min-height: 280px; gap: 2rem; padding-block: 4rem; }
.contact h2 { font-size: clamp(1.75rem, 2.65vw, 2.5rem); }
.contact-email { display: inline-flex; align-items: center; gap: .65rem; margin-top: .9rem; color: #e0e8ed; font-size: 1rem; text-underline-offset: 5px; }
.contact-email-icon { width: 22px; height: 22px; flex-shrink: 0; color: var(--yellow); }
.contact-email:hover { text-decoration: underline; }
.contact .button { flex-shrink: 0; }
.footer-inner { display: flex; justify-content: space-between; align-items: center; gap: 1.5rem; min-height: 110px; padding-block: 1.8rem; }
.wordmark { font-family: Arial, sans-serif; font-size: 2rem; font-style: italic; font-weight: 900; letter-spacing: -.08em; }
.wordmark span { color: #f4c300; }
.site-footer p { font-size: 1rem; font-weight: 500; }
.site-footer p span { margin-inline: .3rem; }

@keyframes enter { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: translateY(0); } }
.will-reveal { opacity: 0; transform: translateY(22px); transition: opacity .65s ease, transform .65s cubic-bezier(.16, 1, .3, 1); }
.will-reveal.is-visible { opacity: 1; transform: translateY(0); }
.service.will-reveal:nth-child(2) { transition-delay: .09s; }
.service.will-reveal:nth-child(3) { transition-delay: .18s; }

@media (min-width: 1600px) { .hero-image { object-position: center 58%; } }
@media (max-width: 900px) {
  :root { --header-height: 108px; }
  .brand { width: 215px; }
  .navigation { gap: 1.6rem; }
  .navigation .button { padding-inline: 1.25rem; }
  .hero-inner { min-height: 560px; }
  .service { padding-inline: 1.25rem; }
  .contact-inner { gap: 2rem; }
  .contact h2 { max-width: 420px; }
}

@media (max-width: 640px) {
  :root { --header-height: 96px; --gutter: 1.5rem; }
  .header-inner { gap: .5rem; }
  .brand { width: clamp(150px, 42vw, 190px); margin-left: -.65rem; }
  .navigation { flex-shrink: 0; gap: 0; }
  .navigation .button { min-height: 46px; font-size: .9rem; }
  .hero-inner { min-height: clamp(540px, calc(100svh - var(--header-height)), 690px); padding-block: 3.5rem; align-items: flex-start; }
  .hero-image { object-position: 62% center; }
  .hero-shade { background: linear-gradient(90deg, rgb(3 31 51 / 83%), rgb(3 31 51 / 35%)), linear-gradient(180deg, rgb(3 31 51 / 40%), transparent 75%); }
  .hero-content { width: 100%; }
  .eyebrow { font-size: .67rem; letter-spacing: .2em; gap: .75rem; margin-bottom: 1.75rem; }
  .eyebrow span { width: 30px; height: 4px; }
  h1 { font-size: clamp(2.5rem, 9.6vw, 3.75rem); line-height: 1.12; }
  .hero-description { max-width: 310px; margin-block: 1.5rem 2rem; font-size: 1.125rem; }
  .hero .button { min-height: 55px; font-size: 1rem; }
  .section { padding-block: 3.5rem; }
  h2 { font-size: clamp(1.85rem, 7.8vw, 2.5rem); }
  .section-heading { max-width: 400px; }
  .services-grid { grid-template-columns: 1fr; margin-top: 2.5rem; }
  .service { display: grid; grid-template-columns: 62px 1fr; column-gap: 1.2rem; padding: 1.8rem 0; text-align: left; }
  .service + .service { border-left: none; border-top: 1px solid var(--rule); }
  .service-icon { grid-column: 1; grid-row: 1 / 3; width: 60px; height: 60px; margin: .1rem 0 0; }
  h3 { font-size: 1.35rem; margin-bottom: .5rem; }
  .service p { font-size: 1rem; margin-inline: 0; max-width: 320px; }
  .coverage { flex-direction: column; gap: .1rem; margin-top: 2rem; font-size: .9rem; }
  .coverage-dot { display: none; }
  .contact { background-image: linear-gradient(90deg, rgb(3 31 51 / 90%), rgb(3 31 51 / 62%)), url("assets/maritime-contact.webp"); background-position: 70% center; }
  .contact-inner { align-items: flex-start; flex-direction: column; padding-block: 3rem; gap: 1.8rem; }
  .contact h2 { max-width: 350px; font-size: 2rem; }
  .contact .button { min-height: 55px; }
  .footer-inner { flex-direction: column; align-items: flex-start; gap: .9rem; min-height: auto; }
  .wordmark { font-size: 1.8rem; }
  .site-footer p { font-size: .9rem; }
}

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