:root {
  --blue: #303D91;
  --cyan: #00B5DF;
  --cyan-text: #00769A; /* cyan darkened for small text on light backgrounds */
  --navy: #10243D;
  --white: #FFFFFF;
  --mist: #F0F8FC;
  --ink-soft: #4A5A70;
  --line: #D8E4EC;
  --footer: #243A50;
  --display: "Barlow", "Segoe UI", sans-serif;
  --condensed: "Barlow Condensed", "Arial Narrow", sans-serif;
  --body: "Barlow", "Segoe UI", sans-serif;
  --header-h: 104px;
  --ease: cubic-bezier(.22, .61, .36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--white); color: var(--navy); font: 400 1.0625rem/1.7 var(--body); }
body { overflow-x: clip; }
body.menu-open { overflow: hidden; }
img { display: block; max-width: 100%; height: auto; }
ul, ol { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, p, figure, dl, dd, blockquote { margin: 0; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; }

.wrap { width: min(100% - 3rem, 1240px); margin-inline: auto; }
.section { padding-block: clamp(4.5rem, 8vw, 7rem); }
.skip-link { position: absolute; left: 1rem; top: -4rem; z-index: 200; padding: .6rem 1rem; background: var(--white); }
.skip-link:focus { top: 1rem; }

h2 { font: 600 clamp(1.9rem, 3.2vw, 2.75rem)/1.15 var(--display); color: var(--navy); text-wrap: balance; }
.eyebrow { margin-bottom: .9rem; color: var(--cyan-text); font-size: .8125rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: .8rem 1.9rem; border: 1px solid transparent; border-radius: 2px; font-size: .9375rem; font-weight: 600; letter-spacing: .02em; text-decoration: none; cursor: pointer; transition: background-color .25s, color .25s, border-color .25s; }
.btn-primary { background: var(--cyan); color: var(--navy); }
.btn-primary:hover { background: var(--white); }
.btn-ghost { border-color: rgba(255, 255, 255, .65); color: var(--white); }
.btn-ghost:hover { background: var(--white); border-color: var(--white); color: var(--navy); }
.btn-solid { background: var(--blue); color: var(--white); }
.btn-solid:hover { background: var(--navy); }

/* Header */
.site-header { position: fixed; inset: 0 0 auto; z-index: 100; background: rgba(16, 36, 61, .42); transition: background-color .35s var(--ease), box-shadow .35s var(--ease); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); transition: height .35s var(--ease); }
.brand { flex: none; display: block; }
/* The logo's navy lettering needs a white keyline over dark photography,
   the same treatment as on the company business card. Colours are unchanged. */
.brand img { width: auto; height: 88px; transition: height .35s var(--ease), filter .35s; filter: drop-shadow(1px 0 0 #fff) drop-shadow(-1px 0 0 #fff) drop-shadow(0 1px 0 #fff) drop-shadow(0 -1px 0 #fff); }

.site-header.is-solid { background: var(--white); box-shadow: 0 1px 0 var(--line), 0 10px 30px rgba(16, 36, 61, .07); }
.site-header.is-solid .header-inner { height: 78px; }
.site-header.is-solid .brand img { height: 64px; filter: none; }

.nav-list { display: flex; align-items: center; gap: 2.4rem; }
.nav-list > li { position: relative; }
.nav-list > li > a, .dropdown-toggle { display: inline-flex; align-items: center; gap: .5rem; padding: .6rem 0; border: 0; background: none; color: var(--white); font-size: .9875rem; font-weight: 500; text-decoration: none; cursor: pointer; transition: color .25s; }
.nav-list > li > a { box-shadow: inset 0 -2px 0 transparent; }
.nav-list > li > a[aria-current] { box-shadow: inset 0 -2px 0 var(--cyan); }
.nav-list > li > a:hover, .dropdown-toggle:hover { color: var(--cyan); }
.site-header.is-solid .nav-list > li > a, .site-header.is-solid .dropdown-toggle { color: var(--navy); }
.site-header.is-solid .nav-list > li > a:hover, .site-header.is-solid .dropdown-toggle:hover { color: var(--cyan-text); }
.dropdown-toggle svg { transition: transform .25s; }
.dropdown-toggle[aria-expanded="true"] svg { transform: rotate(180deg); }

.dropdown { position: absolute; top: 100%; right: -14rem; display: grid; grid-template-columns: 1fr 1fr; gap: 0 1.5rem; width: 640px; padding: 1.1rem 1.4rem; background: var(--white); box-shadow: 0 22px 50px rgba(16, 36, 61, .2); border-top: 3px solid var(--cyan); opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity .22s, transform .22s, visibility .22s; }
.dropdown a { display: block; padding: .5rem 0; color: var(--navy); font-size: .9rem; line-height: 1.35; text-decoration: none; }
.dropdown a:hover { color: var(--cyan-text); }
.has-dropdown:hover .dropdown, .has-dropdown.is-open .dropdown { opacity: 1; visibility: visible; transform: none; }

.menu-toggle { display: none; position: relative; z-index: 2; width: 46px; height: 46px; padding: 0; border: 0; background: none; cursor: pointer; }
.menu-toggle span { position: absolute; left: 10px; width: 26px; height: 2px; background: var(--white); transition: transform .3s, opacity .2s, background-color .3s; }
.menu-toggle span:nth-child(1) { top: 15px; }
.menu-toggle span:nth-child(2) { top: 22px; }
.menu-toggle span:nth-child(3) { top: 29px; }
.site-header.is-solid .menu-toggle span { background: var(--navy); }
.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); }

/* Hero */
.hero { position: relative; display: flex; align-items: center; min-height: 100vh; min-height: 100svh; overflow: hidden; background: var(--navy); color: var(--white); }
.hero-slides, .hero-slide, .hero-overlay { position: absolute; inset: 0; }
.hero-slide { background-size: cover; background-position: 70% center; opacity: 0; transform: scale(1.06); transition: opacity 1.6s ease, transform 8s linear; }
.hero-slide.is-active { opacity: 1; transform: scale(1); }
.hero-overlay { background: linear-gradient(90deg, rgba(16, 36, 61, .94) 0%, rgba(16, 36, 61, .86) 42%, rgba(16, 36, 61, .3) 68%, rgba(16, 36, 61, .08) 100%); }
.hero-content { position: relative; padding-top: calc(var(--header-h) + 2rem); padding-bottom: 4.5rem; }
.hero h1 { max-width: 12.5em; color: var(--white); font: 600 clamp(2.6rem, 5.4vw, 5rem)/1.02 var(--condensed); letter-spacing: .01em; text-transform: uppercase; text-wrap: balance; }
.hero-content p { max-width: 33rem; margin-top: 1.5rem; color: rgba(255, 255, 255, .9); font-size: clamp(1.05rem, 1.4vw, 1.2rem); }
.hero-actions { display: flex; flex-wrap: wrap; gap: .9rem; margin-top: 2.4rem; }
.hero h1, .hero-content p, .hero-actions { animation: rise .9s var(--ease) both; }
.hero-content p { animation-delay: .15s; }
.hero-actions { animation-delay: .3s; }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } }

.hero-dots { position: absolute; right: max(1.5rem, calc((100% - 1240px) / 2)); bottom: 2rem; display: flex; gap: .3rem; }
.hero-dots button { width: 44px; height: 32px; padding: 0; border: 0; background: none; cursor: pointer; }
.hero-dots button::before { content: ""; display: block; height: 2px; background: rgba(255, 255, 255, .5); transition: background-color .3s; }
.hero-dots button.is-active::before { background: var(--cyan); }

/* Trust bar */
.trust-bar { background: var(--blue); color: var(--white); }
.trust-inner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: .5rem 2.5rem; padding-block: 1.05rem; font-size: .9375rem; font-weight: 600; letter-spacing: .02em; }
.trust-inner ul { display: flex; flex-wrap: wrap; gap: .3rem 1.8rem; }
.trust-inner li + li { position: relative; }
.trust-inner li + li::before { content: ""; position: absolute; left: -.95rem; top: 50%; width: 4px; height: 4px; margin-top: -2px; border-radius: 50%; background: var(--cyan); }

/* Shared section heading: same width, gap and alignment everywhere */
.section-head { max-width: 44rem; margin: 0 auto 3.25rem; text-align: center; }
.section-head p:last-child:not(.eyebrow) { margin-top: 1rem; color: var(--ink-soft); }
.section-action { margin-top: 3rem; text-align: center; }

/* About */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(3rem, 6vw, 5.5rem); align-items: center; }
.about-media { position: relative; padding-bottom: 3.5rem; }
.about-media video { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 4px; background: var(--navy); box-shadow: 0 24px 50px rgba(16, 36, 61, .16); }
.facts { position: absolute; right: 1.5rem; bottom: 0; left: 1.5rem; display: grid; grid-template-columns: repeat(3, 1fr); padding: 1.4rem .5rem; border-radius: 4px; background: var(--navy); box-shadow: 0 16px 34px rgba(16, 36, 61, .25); }
.facts > div { padding-inline: 1rem; text-align: center; }
.facts > div + div { border-left: 1px solid rgba(255, 255, 255, .16); }
.facts dt { color: var(--cyan); font: 600 2.9rem/1 var(--display); }
.facts dd { margin-top: .35rem; color: rgba(255, 255, 255, .85); font-size: .8125rem; line-height: 1.35; }
.about-body h2 { margin-bottom: 1.25rem; }
.lede { font-size: 1.15rem; line-height: 1.6; }
.about-body > p:not(.eyebrow):not(.lede) { margin-top: 1rem; color: var(--ink-soft); }
.benefits { display: grid; grid-template-columns: 1fr 1fr; gap: .7rem 1.5rem; margin-top: 1.6rem; font-weight: 600; font-size: .9875rem; }
.benefits li { display: flex; align-items: center; gap: .65rem; }
.benefits li::before { content: ""; flex: none; width: 9px; height: 9px; background: var(--cyan); transform: rotate(45deg); }
.about-body .btn { margin-top: 2rem; }
.about-more p { margin-top: 1rem; color: var(--ink-soft); }

/* Mission & vision */
.purpose { position: relative; padding-block: clamp(4.5rem, 8vw, 7rem); background: linear-gradient(rgba(16, 36, 61, .84), rgba(16, 36, 61, .84)), url('../images/hero/hero-sunset.jpg') center / cover no-repeat; color: rgba(255, 255, 255, .88); }
.purpose-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.purpose article { padding: clamp(2rem, 4vw, 3rem); border: 1px solid rgba(255, 255, 255, .18); border-top: 3px solid var(--cyan); border-radius: 4px; background: rgba(16, 36, 61, .55); }
.purpose .eyebrow { color: var(--cyan); }
.purpose h2 { margin-bottom: 1rem; color: var(--white); font-size: clamp(1.6rem, 2.4vw, 2.1rem); }

/* Services */
.services { background: var(--mist); }
.service-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.service-cards li { position: relative; overflow: hidden; aspect-ratio: 4 / 3; border-radius: 4px; background: var(--navy); box-shadow: 0 12px 28px rgba(16, 36, 61, .1); }
.service-cards img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.service-cards li:hover img { transform: scale(1.06); }
.service-cards div { position: absolute; inset: auto 0 0; display: flex; flex-direction: column; gap: .2rem; padding: 3.5rem 1.5rem 1.35rem; background: linear-gradient(transparent, rgba(16, 36, 61, .94)); }
.service-cards h3 { color: var(--white); font: 600 1.3rem/1.2 var(--display); }

/* Approach */
.approach { background: var(--navy); color: rgba(255, 255, 255, .82); }
.approach h2 { color: var(--white); }
.approach .eyebrow { color: var(--cyan); }
.approach .section-head p:last-child:not(.eyebrow) { color: rgba(255, 255, 255, .78); }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.steps li { overflow: hidden; border: 1px solid rgba(255, 255, 255, .16); border-radius: 4px; background: rgba(255, 255, 255, .03); }
.steps img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.steps div { padding: 1.4rem 1.4rem 1.6rem; }
.steps h3 { color: var(--white); font-size: 1.1rem; font-weight: 700; line-height: 1.3; }
.steps p { margin-top: .5rem; font-size: .9875rem; line-height: 1.6; }

/* Reviews */
.review-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.review { display: flex; flex-direction: column; justify-content: space-between; gap: 1.5rem; padding: 2rem; border-radius: 4px; background: var(--mist); }
.review::before { content: "\201C"; height: 2.2rem; color: var(--cyan); font: 600 4.5rem/1 var(--display); }
.review blockquote { flex: 1; font: 500 1.125rem/1.5 var(--display); }
.review figcaption { padding-top: 1rem; border-top: 1px solid var(--line); }
.review figcaption strong, .review figcaption span { display: block; }
.review figcaption span { color: var(--ink-soft); font-size: .9rem; }
.clients { margin-top: 3rem; text-align: center; }
.clients p { margin-bottom: 1.5rem; color: var(--cyan-text); font-size: .8125rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.clients ul { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.clients li { display: grid; place-items: center; height: 120px; padding: 1rem 1.5rem; border: 1px solid var(--line); border-radius: 4px; background: var(--white); }
.clients img { max-width: 100%; max-height: 84px; width: auto; height: auto; object-fit: contain; }

/* Contact */
.contact { background: var(--mist); }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2.5rem, 5vw, 4.5rem); align-items: stretch; }
.contact-intro > p:not(.eyebrow) { margin-top: 1rem; color: var(--ink-soft); }
.locations { display: grid; gap: .9rem; margin-top: 1.8rem; }
.locations li { display: grid; grid-template-columns: 1fr auto; gap: .2rem 1rem; padding: 1.1rem 1.3rem; border-left: 3px solid var(--cyan); border-radius: 4px; background: var(--white); }
.locations a { color: var(--blue); text-decoration: none; }
.locations a:hover { text-decoration: underline; }
.locations strong { font-size: 1.05rem; }
.locations .coord { color: var(--cyan-text); font-size: .8125rem; font-weight: 600; font-variant-numeric: tabular-nums; letter-spacing: .03em; white-space: nowrap; }
.locations span:last-child { grid-column: 1 / -1; color: var(--ink-soft); font-size: .9375rem; line-height: 1.55; overflow-wrap: anywhere; }
.contact-form { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; align-content: start; padding: clamp(1.5rem, 3vw, 2.5rem); border-radius: 4px; background: var(--navy); box-shadow: 0 24px 50px rgba(16, 36, 61, .18); }
.field { display: flex; flex-direction: column; gap: .35rem; min-width: 0; }
.field-full { grid-column: 1 / -1; }
.field label { color: rgba(255, 255, 255, .85); font-size: .875rem; font-weight: 500; }
.field input, .field select, .field textarea { width: 100%; min-height: 48px; padding: .65rem .8rem; border: 1px solid rgba(255, 255, 255, .28); border-radius: 2px; background: rgba(255, 255, 255, .06); color: var(--white); transition: border-color .2s; }
.field select option { color: var(--navy); }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--cyan); outline: none; }
.field textarea { resize: vertical; min-height: 150px; }
.contact-form .btn { grid-column: 1 / -1; width: 100%; }

/* Service icons */
.icon-band { padding-block: clamp(3.5rem, 6vw, 5rem); }
.icon-grid { display: grid; grid-template-columns: 2fr repeat(5, 1fr); gap: 1.5rem; }
.icon-grid li { display: flex; flex-direction: column; align-items: center; gap: .9rem; text-align: center; }
.icon-grid img { width: auto; height: 84px; object-fit: contain; }
.icon-grid span { color: var(--navy); font-size: .9375rem; font-weight: 600; line-height: 1.3; }

/* Footer */
.site-footer { color: rgba(255, 255, 255, .9); font-size: 1rem; }
.footer-band { position: relative; height: clamp(190px, 26vw, 380px); margin-bottom: -1px; background: url('../images/footer-port.jpg') center / cover no-repeat; }
.footer-band svg { position: absolute; inset: auto 0 0; display: block; width: 100%; height: clamp(50px, 8vw, 110px); }
.wave-fill { fill: var(--footer); }
.wave-line { fill: none; stroke: var(--cyan); stroke-width: 2; vector-effect: non-scaling-stroke; }
.footer-main { position: relative; overflow: hidden; padding-top: 2.5rem; background: var(--footer); }
.mark-compass, .mark-ship { position: absolute; color: rgba(255, 255, 255, .07); pointer-events: none; }
.mark-compass { top: -20px; right: -60px; width: 340px; }
.mark-ship { bottom: 130px; left: 30%; width: 440px; }
.footer-grid { position: relative; display: grid; grid-template-columns: 1.3fr .8fr 1.3fr; padding-bottom: 3.5rem; }
.footer-grid > div { padding-inline: 2.4rem; border-left: 1px solid rgba(255, 255, 255, .13); }
.footer-grid > div:first-child { padding-left: 0; border-left: 0; }
.footer-grid > div:last-child { padding-right: 0; }
.footer-logo { display: inline-block; padding: .7rem 1rem; border-radius: 10px; background: var(--white); }
.footer-logo img { width: 118px; }
.footer-brand p { margin-top: 1.1rem; }
.footer-social { display: flex; gap: .7rem; margin-top: 1.3rem; }
.footer-social a { display: grid; place-items: center; width: 46px; height: 46px; border: 1px solid rgba(255, 255, 255, .35); border-radius: 50%; transition: border-color .25s; }
.footer-social a:hover { border-color: var(--cyan); }
.site-footer svg:not([class]):not([viewBox="0 0 1440 110"]) { flex: none; width: 21px; height: 21px; fill: none; stroke: var(--cyan); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.site-footer h3 { margin-bottom: 1rem; color: var(--white); font-size: 1.2rem; font-weight: 600; }
.site-footer ul:not(.footer-social) li { margin-bottom: .7rem; line-height: 1.5; }
.footer-services li, .footer-contact li { display: flex; gap: .7rem; overflow-wrap: anywhere; }
.footer-branches { margin-bottom: 1.2rem; font-size: .95rem; }
.footer-branches a { text-decoration: underline; }
.site-footer a { text-decoration: none; }
.site-footer li a:hover, .footer-branches a:hover { color: var(--cyan); }
.site-footer .btn { min-height: 54px; border-radius: 6px; }
.footer-base { position: relative; border-top: 1px solid rgba(255, 255, 255, .14); font-size: .9375rem; }
.footer-base .wrap:first-child { display: flex; justify-content: space-between; flex-wrap: wrap; gap: .6rem 2rem; padding-block: 1.25rem; }

/* Scroll reveal: only hidden once JS has confirmed it can reveal */
.js .reveal { opacity: 0; transform: translateY(20px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: none; }

/* Tablet & mobile */
@media (max-width: 1000px) {
  :root { --header-h: 86px; }
  .brand img { height: 72px; }
  .site-header.is-solid .header-inner { height: 70px; }
  .site-header.is-solid .brand img { height: 58px; }

  .menu-toggle { display: block; }
  .primary-nav { position: fixed; inset: 0; overflow-y: auto; padding: 6rem 1.5rem 2rem; background: var(--navy); opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s; }
  .primary-nav.is-open { opacity: 1; visibility: visible; }
  .nav-list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav-list > li { border-bottom: 1px solid rgba(255, 255, 255, .14); }
  .nav-list > li > a, .dropdown-toggle, .site-header.is-solid .nav-list > li > a, .site-header.is-solid .dropdown-toggle { width: 100%; justify-content: space-between; padding: .95rem 0; color: var(--white); font-size: 1.15rem; }
  .nav-list > li > a[aria-current] { box-shadow: none; color: var(--cyan); }
  .menu-toggle[aria-expanded="true"] span, .site-header.is-solid .menu-toggle[aria-expanded="true"] span { background: var(--white); }

  .dropdown { position: static; display: none; width: auto; padding: 0 0 .8rem; background: none; border: 0; box-shadow: none; opacity: 1; visibility: visible; transform: none; grid-template-columns: 1fr; }
  .has-dropdown:hover .dropdown { display: none; }
  .has-dropdown.is-open .dropdown, .has-dropdown.is-open:hover .dropdown { display: grid; }
  .dropdown a { color: rgba(255, 255, 255, .8); }

  .about-grid, .contact-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .service-cards { grid-template-columns: repeat(2, 1fr); }
  .review-grid { grid-template-columns: 1fr; }
  .clients ul { grid-template-columns: 1fr 1fr; }
  .icon-grid { grid-template-columns: repeat(3, 1fr); gap: 2.2rem 1.2rem; }
  .icon-grid .wide { grid-column: 1 / -1; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2.5rem 0; }
  .footer-grid > div { padding-inline: 0; border-left: 0; }
  .mark-ship { display: none; }
}

@media (max-width: 680px) {
  .wrap { width: calc(100% - 2rem); }
  html { scroll-padding-top: 76px; }
  .hero-slide { background-position: 72% center; }
  .hero-overlay { background: linear-gradient(180deg, rgba(16, 36, 61, .78) 0%, rgba(16, 36, 61, .8) 60%, rgba(16, 36, 61, .88) 100%); }
  .hero-actions .btn { flex: 1 1 100%; }
  .purpose-grid { grid-template-columns: 1fr; }
  .steps, .benefits { grid-template-columns: 1fr; }
  .about-media { padding-bottom: 0; }
  .facts { position: relative; inset: auto; margin: -1.5rem .75rem 0; }
  .about-body { order: -1; }
  .trust-inner { flex-direction: column; text-align: center; }
  .trust-inner ul { justify-content: center; }
  .trust-inner li + li::before { display: none; }
  .facts > div { padding-inline: .4rem; }
  .facts dd { font-size: .75rem; }
  .service-cards { grid-template-columns: 1fr; }
  .contact-form { grid-template-columns: 1fr; }
  .icon-grid { grid-template-columns: 1fr 1fr; }
  .icon-grid img { height: 72px; }
  .footer-grid { grid-template-columns: 1fr; }
  .mark-compass { right: 0; width: 240px; }
}

/* Scrolling client logos */
.clients { overflow: hidden; }
.clients ul.is-scrolling { display: flex; flex-wrap: nowrap; width: max-content; gap: 0; animation: clients-scroll 32s linear infinite; }
.clients ul.is-scrolling li { flex: 0 0 230px; margin-right: 1.5rem; }
.clients ul.is-scrolling:hover { animation-play-state: paused; }
.clients { -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
@keyframes clients-scroll { to { transform: translateX(-25%); } }

/* Inner page banner */
.page-hero { position: relative; display: flex; align-items: flex-end; min-height: clamp(340px, 52vh, 480px); padding-block: calc(var(--header-h) + 2.5rem) clamp(2.5rem, 5vw, 4rem); background: var(--navy) center / cover no-repeat; color: var(--white); }
.page-hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(16, 36, 61, .9), rgba(16, 36, 61, .55)); }
.page-hero .wrap { position: relative; }
.page-hero h1 { font: 600 clamp(2.5rem, 5vw, 4.25rem)/1.05 var(--condensed); letter-spacing: .01em; text-transform: uppercase; }
.page-hero p { max-width: 38rem; margin-top: .8rem; color: rgba(255, 255, 255, .9); font-size: 1.125rem; }
.breadcrumb { display: flex; gap: .5rem; margin-bottom: .8rem; font-size: .9375rem; font-weight: 500; }
.breadcrumb a { color: var(--cyan); text-decoration: none; }

.alt-bg { background: var(--mist); }
.purpose + .section { padding-top: clamp(4.5rem, 8vw, 7rem); }
.about-photo { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 4px; box-shadow: 0 24px 50px rgba(16, 36, 61, .16); }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.feature { padding: 2rem; border-top: 3px solid var(--cyan); border-radius: 4px; background: var(--white); box-shadow: 0 12px 28px rgba(16, 36, 61, .07); }
.feature h3 { margin-bottom: .6rem; font-size: 1.2rem; font-weight: 700; line-height: 1.3; }
.feature p { color: var(--ink-soft); }
.feature a { color: var(--blue); text-decoration: none; overflow-wrap: anywhere; }
.feature a:hover { text-decoration: underline; }
.alt-bg .feature { box-shadow: none; }
.cta-band { padding-block: clamp(3.5rem, 6vw, 5rem); background: var(--blue); color: var(--white); }
.cta-band .wrap { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1.5rem 3rem; }
.cta-band h2 { color: var(--white); }
.cta-band p { margin-top: .5rem; color: rgba(255, 255, 255, .88); }

.map-frame { display: block; width: 100%; max-width: 100%; height: 300px; margin-top: 1.8rem; border: 0; border-radius: 4px; }
.contact-intro a { color: var(--blue); }
.contact-grid > *, .quote-grid > *, .about-grid > * { min-width: 0; }
.quote-grid { display: grid; grid-template-columns: 1.7fr 1fr; gap: clamp(2rem, 4vw, 3.5rem); align-items: start; }
.quote-side h2 { margin-bottom: 1rem; font-size: clamp(1.6rem, 2.4vw, 2rem); }
.quote-steps { display: grid; gap: 1rem; margin-top: 1.5rem; }
.quote-steps li { padding: 1.1rem 1.3rem; border-left: 3px solid var(--cyan); border-radius: 4px; background: var(--white); color: var(--ink-soft); }
.quote-steps strong { display: block; color: var(--navy); }
.quote-side .phone-line { margin-top: 1.5rem; }
.quote-side a { color: var(--blue); font-weight: 600; text-decoration: none; }

@media (max-width: 1000px) {
  .quote-grid { grid-template-columns: 1fr; }
  .feature-grid { grid-template-columns: 1fr 1fr; }
  .feature-grid > :last-child:nth-child(odd) { grid-column: 1 / -1; }
}
@media (max-width: 680px) {
  .feature-grid { grid-template-columns: 1fr; }
  .feature { padding: 1.5rem; }
  .cta-band .btn { width: 100%; }
  .clients ul.is-scrolling li { flex-basis: 170px; margin-right: 1rem; }
}

/* Services page */
.service-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.service-item { display: flex; flex-direction: column; overflow: hidden; border-radius: 4px; background: var(--white); box-shadow: 0 12px 28px rgba(16, 36, 61, .07); scroll-margin-top: 96px; }
.service-item img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.service-item > div { flex: 1; display: flex; flex-direction: column; align-items: flex-start; gap: .6rem; padding: 1.4rem 1.5rem 1.5rem; }
.service-item h2 { font: 600 1.2rem/1.3 var(--display); }
.service-item p { color: var(--ink-soft); font-size: 1rem; line-height: 1.6; }
.read-more { margin-top: auto; padding: .55rem 0 0; border: 0; background: none; color: var(--blue); font-size: .9375rem; font-weight: 700; cursor: pointer; }
.read-more:hover { color: var(--cyan-text); }

/* Home quick contact */
.quick-contact { padding-block: clamp(4.5rem, 8vw, 7rem); background: linear-gradient(90deg, rgba(16, 36, 61, .94), rgba(16, 36, 61, .78)), url('../images/hero/hero-tanker.jpg') center / cover no-repeat; color: rgba(255, 255, 255, .88); }
.quick-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(2.5rem, 6vw, 5.5rem); align-items: center; }
.quick-grid > * { min-width: 0; }
.quick-intro .eyebrow { color: var(--cyan); }
.quick-intro h2 { margin-bottom: 1rem; color: var(--white); }
.quick-list { margin: 1.8rem 0 2rem; border-top: 1px solid rgba(255, 255, 255, .18); }
.quick-list li { display: grid; grid-template-columns: 6.5rem 1fr; align-items: baseline; gap: 1rem; padding-block: .95rem; border-bottom: 1px solid rgba(255, 255, 255, .18); color: var(--white); font-weight: 600; overflow-wrap: anywhere; }
.quick-list span { color: var(--cyan); font-size: .875rem; font-weight: 700; }
.quick-list a { color: inherit; text-decoration: none; }
.quick-list a:hover { color: var(--cyan); }
.quick-form { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; padding: clamp(1.5rem, 3vw, 2.5rem); border-radius: 4px; background: var(--white); color: var(--navy); box-shadow: 0 28px 60px rgba(0, 0, 0, .3); }
.quick-form h3 { grid-column: 1 / -1; font-size: 1.35rem; font-weight: 700; }
.quick-form .field label { color: var(--navy); font-weight: 600; }
.quick-form .field input, .quick-form .field select, .quick-form .field textarea { border-color: var(--line); background: var(--mist); color: var(--navy); }
.quick-form .field input:focus, .quick-form .field select:focus, .quick-form .field textarea:focus { border-color: var(--blue); }
.quick-form .field textarea { min-height: 120px; }
.quick-form .btn { grid-column: 1 / -1; width: 100%; }

/* Services link with its own dropdown arrow */
.has-dropdown { display: flex; align-items: center; gap: .3rem; }
.dropdown-toggle { padding: .6rem .2rem; }

@media (max-width: 1000px) {
  .service-list { grid-template-columns: 1fr 1fr; }
  .quick-grid { grid-template-columns: 1fr; }
  .has-dropdown { flex-wrap: wrap; justify-content: space-between; }
  .nav-list > li.has-dropdown > a { flex: 1; width: auto; }
  .nav-list > li.has-dropdown > .dropdown-toggle, .site-header.is-solid .nav-list > li.has-dropdown > .dropdown-toggle { flex: 0 0 48px; width: 48px; justify-content: center; }
  .dropdown { flex: 0 0 100%; }
}
@media (max-width: 680px) {
  .service-list, .quick-form { grid-template-columns: 1fr; }
  .quick-list li { grid-template-columns: 5rem 1fr; }
}

/* Service detail pages */
.read-more { text-decoration: none; }
.service-item > a { display: block; }
.detail-grid { display: grid; grid-template-columns: minmax(0, 2.2fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.detail-photo { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 4px; }
.detail-gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: .75rem; }
.detail-gallery img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 4px; }
.detail-gallery img:first-child { grid-column: 1 / -1; aspect-ratio: 16 / 8; }
.detail-body h2 { margin: 2rem 0 1rem; }
.detail-body p { margin-top: 1rem; color: var(--ink-soft); }
.detail-list { display: grid; gap: .5rem; margin-top: 1rem; color: var(--ink-soft); }
.detail-list li { position: relative; padding-left: 1.3rem; }
.detail-list li::before { content: ""; position: absolute; left: 0; top: .6em; width: 8px; height: 8px; background: var(--cyan); transform: rotate(45deg); }
.detail-body .btn { margin-top: 2rem; }
.detail-side { position: sticky; top: 100px; padding: 1.5rem; border-radius: 4px; background: var(--mist); }
.detail-side h2 { margin-bottom: .8rem; font-size: 1.25rem; }
.detail-side a { display: block; padding: .55rem .7rem; border-radius: 3px; color: var(--navy); font-size: .9625rem; font-weight: 500; line-height: 1.35; text-decoration: none; }
.detail-side a:hover { background: var(--white); color: var(--blue); }
.detail-side a[aria-current] { background: var(--blue); color: var(--white); }
@media (max-width: 1000px) {
  .detail-grid { grid-template-columns: minmax(0, 1fr); }
  .detail-side { position: static; }
}

/* Motion */
.scroll-progress { position: fixed; inset: 0 0 auto; z-index: 150; height: 3px; background: var(--cyan); transform: scaleX(0); transform-origin: left; }
.nav-list > li > a[href="#about"], .nav-list > li > a[href="#contact"], .nav-list > li > a[href="#home"] { position: relative; }
.btn { transition: background-color .25s, color .25s, border-color .25s, transform .25s var(--ease), box-shadow .25s; }
.btn:hover { transform: translateY(-2px); box-shadow: 0 10px 22px rgba(16, 36, 61, .22); }
.js .reveal { transition: opacity .8s var(--ease), transform .8s var(--ease), box-shadow .3s, border-color .3s; }
.js .about-media.reveal { transform: translateX(-36px); }
.js .about-body.reveal { transform: translateX(36px); }
.js .contact-intro.reveal { transform: translateX(-36px); }
.js .contact-form.reveal { transform: translateX(36px); }
.js .reveal.is-visible, .js .about-media.reveal.is-visible, .js .about-body.reveal.is-visible, .js .contact-intro.reveal.is-visible, .js .contact-form.reveal.is-visible { transform: none; }
.service-cards li:nth-child(3n+2), .review-grid > :nth-child(2), .clients li:nth-child(2) { transition-delay: .1s; }
.service-cards li:nth-child(3n), .review-grid > :nth-child(3), .purpose article:nth-child(2) { transition-delay: .2s; }
.steps li:nth-child(2), .icon-grid li:nth-child(2) { transition-delay: .1s; }
.steps li:nth-child(3), .icon-grid li:nth-child(3) { transition-delay: .2s; }
.steps li:nth-child(4), .icon-grid li:nth-child(4) { transition-delay: .3s; }
.icon-grid li:nth-child(5) { transition-delay: .4s; }
.icon-grid li:nth-child(6) { transition-delay: .5s; }
.js .service-cards li.reveal img, .js .steps li.reveal img { transform: scale(1.14); transition: transform 1.3s var(--ease); }
.js .service-cards li.reveal.is-visible img, .js .steps li.reveal.is-visible img { transform: scale(1); }
.js .service-cards li.reveal.is-visible:hover img, .js .steps li.reveal.is-visible:hover img { transform: scale(1.07); transition-duration: .7s; }
.js .reveal.is-visible:hover { transition-delay: 0s; }
.js .service-cards li.is-visible:hover, .js .review.is-visible:hover, .js .steps li.is-visible:hover { transform: translateY(-6px); box-shadow: 0 20px 38px rgba(16, 36, 61, .24); }
.js .steps li.is-visible:hover { border-color: var(--cyan); }
.clients li { transition: transform .3s var(--ease), box-shadow .3s; }
.clients li:hover { transform: translateY(-4px); box-shadow: 0 12px 24px rgba(16, 36, 61, .1); }
.icon-grid img { transition: transform .35s var(--ease); }
.icon-grid li:hover img { transform: translateY(-6px); }
.footer-social a { transition: border-color .25s, transform .25s; }
.footer-social a:hover { transform: translateY(-3px); }
@media (min-width: 1001px) and (hover: hover) { .purpose { background-attachment: fixed; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
  .clients { -webkit-mask-image: none; mask-image: none; }
  .hero-slide, .js .reveal, .js .reveal img { transform: none !important; opacity: 1; }
  .js .hero-slide { opacity: 0; }
  .js .hero-slide.is-active { opacity: 1; }
}
