/* =========================================================================
   Deep Sea Marine — design system v3
   Colour rule 60 / 30 / 10
     60  neutral  : white + stone surfaces, hairlines
     30  secondary: deep navy — heroes (overlay), bands, footer, text
     10  accent   : orange — call-to-action buttons ONLY (.btn)
   Interaction: only CTAs (.btn) respond to hover.
   Motion: 120 / 220 / 400 ms, standard easing or ease-out; honours reduced motion.
   No gradients: image overlays are single solid tints.
   ========================================================================= */

:root {
  /* Neutral (60) */
  --white:        #FFFFFF;
  --stone:        #F5F4F0;
  --stone-2:      #ECEAE4;
  --line:         #E4E1DA;
  --line-strong:  #CFCBC2;

  /* Secondary (30) */
  --ink:          #0F2A3D;
  --ink-2:        #163650;
  --ink-deep:     #0A1F2E;
  --ink-line:     rgba(255, 255, 255, 0.14);
  --ink-tint:     rgba(15, 42, 61, 0.06);
  --text:         #0F2A3D;
  --text-muted:   #55626C;
  --on-dark:      #FFFFFF;
  --on-dark-muted: #B9C5CE;
  --overlay:      rgba(10, 31, 46, 0.58);

  /* Accent (10) — CTA only */
  --cta:          #BF4A00;
  --cta-hover:    #A13E00;
  --cta-text:     #FFFFFF;

  /* Functional states */
  --error:        #B42318;
  --error-bg:     #FDF1F0;
  --success:      #12663A;
  --success-bg:   #E8F3EC;

  --focus:        var(--ink);

  /* Type */
  --font-sans:    "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-display: "IBM Plex Sans Condensed", "IBM Plex Sans", system-ui, sans-serif;
  --font-mono:    "IBM Plex Mono", ui-monospace, Menlo, monospace;
  --fs-xs:        0.75rem;     /* 12 */
  --fs-sm:        0.875rem;    /* 14 */
  --fs-base:      1rem;        /* 16 */
  --fs-md:        1.0625rem;   /* 17 */
  --fs-lg:        1.25rem;     /* 20 */
  --fs-h2:        clamp(1.625rem, 1.3rem + 1.1vw, 2.125rem);
  --fs-h1:        clamp(2rem, 1.45rem + 2vw, 2.875rem);
  --fs-hero:      clamp(2.25rem, 1.5rem + 2.8vw, 3.5rem);

  /* Space */
  --s-1:          4px;
  --s-2:          8px;
  --s-3:          12px;
  --s-4:          16px;
  --s-5:          24px;
  --s-6:          32px;
  --s-7:          48px;
  --s-8:          64px;
  --s-9:          96px;
  --section:      clamp(64px, 3rem + 4vw, 112px);
  --gutter:       clamp(16px, 4vw, 40px);
  --max:          1200px;
  --header-h:     76px;

  /* Shape */
  --r-sm:         6px;
  --r:            12px;
  --r-lg:         16px;
  --shadow:       0 1px 2px rgba(10, 31, 46, 0.06), 0 12px 32px rgba(10, 31, 46, 0.10);
  --shadow-sm:    0 1px 2px rgba(10, 31, 46, 0.06), 0 4px 12px rgba(10, 31, 46, 0.06);

  /* Motion */
  --ease:         cubic-bezier(0.4, 0, 0.2, 1);
  --ease-out:     cubic-bezier(0.16, 1, 0.3, 1);
  --t-fast:       120ms;
  --t-base:       220ms;
  --t-slow:       400ms;
}

/* ------------------------------------------------------------------ base */
*, *::before, *::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) + 16px);
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: var(--fs-base);
  line-height: 1.6;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body.is-locked {
  overflow: hidden;
}

img, svg {
  display: block;
  max-width: 100%;
}

img {
  height: auto;
}

figure {
  margin: 0;
}

h1, h2, h3, p, ul, ol, dl, dd {
  margin: 0;
}

ul, ol {
  padding: 0;
  list-style: none;
}

address {
  font-style: normal;
}

button, input, select, textarea {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
  background: none;
  border: 0;
  padding: 0;
}

a {
  color: inherit;
}

strong {
  font-weight: 600;
}

[hidden] {
  display: none !important;
}

h1, h2 {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.1;
  text-wrap: balance;
}

h1 {
  font-size: var(--fs-h1);
}

h2 {
  font-size: var(--fs-h2);
}

h3 {
  font-size: var(--fs-md);
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: -0.005em;
}

p {
  text-wrap: pretty;
}

.muted {
  color: var(--text-muted);
}

.mono {
  font-family: var(--font-mono);
}

.num {
  font-variant-numeric: tabular-nums;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--s-2);
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.eyebrow--light {
  color: var(--on-dark-muted);
}

.sr-only {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* ------------------------------------------------------------------ focus */
:focus {
  outline: none;
}

:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 3px;
  border-radius: var(--r-sm);
}

main:focus-visible, [tabindex="-1"]:focus-visible {
  outline: none;
}

.hero, .page-hero, .band, .cta-banner, .site-footer, .site-header:not(.is-solid) {
  --focus: var(--on-dark);
}

.skip-link {
  position: absolute;
  left: var(--s-4);
  top: -100px;
  z-index: 100;
  background: var(--ink);
  color: var(--on-dark);
  padding: var(--s-3) var(--s-4);
  border-radius: var(--r-sm);
  text-decoration: none;
  font-weight: 600;
}

.skip-link:focus {
  top: var(--s-4);
}

/* ------------------------------------------------------------------ layout */
.container {
  width: 100%;
  max-width: calc(var(--max) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.narrow {
  max-width: calc(760px + var(--gutter) * 2);
}

.section {
  padding-block: var(--section);
}

.section--tight {
  padding-block: var(--s-8);
}

.section--flush-top {
  padding-top: 0;
}

.section--muted {
  background: var(--stone);
}

.actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--s-4) var(--s-6);
}

.section-head {
  display: grid;
  gap: var(--s-3);
  margin-bottom: var(--s-7);
  max-width: 640px;
}

.section-head--center {
  margin-inline: auto;
  text-align: center;
  justify-items: center;
}

.section-head__text {
  color: var(--text-muted);
}

.band .section-head__text {
  color: var(--on-dark-muted);
}

/* ------------------------------------------------------------------ icons */
.icon {
  flex: none;
}

.icon-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--ink-tint);
  color: var(--ink);
}

.icon-badge--dark {
  background: rgba(255, 255, 255, 0.08);
  color: var(--on-dark);
}

.icon-dot {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  color: var(--on-dark);
}

/* SVG line-draw: icons inside a revealed block draw themselves in */
.js [data-reveal] .draw [pathLength] {
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  transition: stroke-dashoffset 900ms var(--ease-out) 150ms;
}

.js [data-reveal].is-visible .draw [pathLength] {
  stroke-dashoffset: 0;
}

/* ------------------------------------------------------------------ buttons (CTA = only accent) */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--s-3);
  min-height: 48px;
  padding: 0 var(--s-5) 0 26px;
  background: var(--cta);
  color: var(--cta-text);
  border: 0;
  border-radius: 999px;
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
  box-shadow: 0 1px 2px rgba(10, 31, 46, 0.12);
  transition: background-color var(--t-fast) var(--ease), transform var(--t-fast) var(--ease);
  max-width: fit-content;
}

.btn__icon {
  transition: transform var(--t-base) var(--ease-out);
}

.btn:hover {
  background: var(--cta-hover);
}

.btn:hover .btn__icon {
  transform: translateX(3px);
}

.btn:active {
  transform: translateY(1px);
}

.btn:focus-visible {
  outline-offset: 3px;
  border-radius: 999px;
}

.btn--sm {
  min-height: 40px;
  padding: 0 20px;
  font-size: var(--fs-sm);
}

.btn--block {
  width: 100%;
}

.btn[aria-busy="true"] {
  pointer-events: none;
}

.btn[aria-busy="true"] .btn__icon {
  display: none;
}

.btn__spinner {
  display: none;
  width: 16px;
  height: 16px;
  border: 2px solid rgba(255,255,255,0.4);
  border-top-color: #fff;
  border-radius: 50%;
}

.btn[aria-busy="true"] .btn__spinner {
  display: inline-block;
  animation: spin 700ms linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* Link CTAs (Learn more, Read more, About AOD, phone, email, maps...)
   Same CTA colour as the buttons. Intentional hover: a solid 2px line draws in
   from the left over a faint resting line, the colour deepens and the arrow
   moves forward 4px. Keyboard focus gets the same treatment. */
.text-link, .tile__more, .text-btn, .contact-card__body a, .person a, p a:not(.btn) {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: var(--s-2);
  color: var(--cta);
  font-weight: 600;
  text-decoration: none;
  padding-bottom: 2px;
  transition: color var(--t-fast) var(--ease);
}

p a:not(.btn) {
  display: inline;
}

.tile__more, .contact-card__body a, .person a, .card__body .text-link {
  justify-self: start;
  width: fit-content;
}

.text-link {
  font-size: 0.9375rem;
}

.text-btn {
  font-size: 0.9375rem;
}

.text-link::before, .tile__more::before, .text-btn::before, .contact-card__body a::before, .person a::before, p a:not(.btn)::before,
.text-link::after, .tile__more::after, .text-btn::after, .contact-card__body a::after, .person a::after, p a:not(.btn)::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 1px;
  background: currentColor;
  pointer-events: none;
}

.text-link::before, .tile__more::before, .text-btn::before, .contact-card__body a::before, .person a::before, p a:not(.btn)::before {
  opacity: 0.3;
}

.text-link::after, .tile__more::after, .text-btn::after, .contact-card__body a::after, .person a::after, p a:not(.btn)::after {
  height: 2px;
  bottom: -1.5px;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 320ms var(--ease-out);
}

.text-link .icon, .tile__more .icon {
  transition: transform 320ms var(--ease-out);
}

.text-link:hover, .text-link:focus-visible, .tile__link:hover .tile__more, .tile__link:focus-visible .tile__more,
.text-btn:hover, .text-btn:focus-visible, .contact-card__body a:hover, .contact-card__body a:focus-visible,
.person a:hover, .person a:focus-visible, p a:not(.btn):hover, p a:not(.btn):focus-visible {
  color: var(--cta-hover);
}

.text-link:hover::after, .text-link:focus-visible::after, .tile__link:hover .tile__more::after, .tile__link:focus-visible .tile__more::after,
.text-btn:hover::after, .text-btn:focus-visible::after, .contact-card__body a:hover::after, .contact-card__body a:focus-visible::after,
.person a:hover::after, .person a:focus-visible::after, p a:not(.btn):hover::after, p a:not(.btn):focus-visible::after {
  transform: scaleX(1);
}

.text-link:hover .icon, .text-link:focus-visible .icon, .tile__link:hover .tile__more .icon, .tile__link:focus-visible .tile__more .icon {
  transform: translateX(4px);
}

.text-link:active, .text-btn:active {
  transform: translateY(1px);
}

/* On dark photos/bands the orange can't carry text, so links there stay white with the same motion */
.text-link--light, .text-link--light:hover, .text-link--light:focus-visible {
  color: var(--on-dark);
}

/* ------------------------------------------------------------------ header (transparent over hero → solid on scroll) */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  color: var(--on-dark);
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background-color var(--t-base) var(--ease), color var(--t-base) var(--ease), border-color var(--t-base) var(--ease);
}

.site-header.is-solid {
  background: var(--white);
  color: var(--text);
  border-bottom-color: var(--line);
}

.site-header__bar {
  display: flex;
  align-items: center;
  gap: var(--s-6);
  height: var(--header-h);
}

.brand {
  position: relative;
  display: block;
  flex: none;
  width: 128px;
  height: 30px;
}

.brand img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: left center;
  transition: opacity var(--t-base) var(--ease);
}

.brand__dark {
  opacity: 0;
}

.is-solid .brand__dark {
  opacity: 1;
}

.is-solid .brand__light {
  opacity: 0;
}

.primary-nav {
  margin-left: auto;
}

.primary-nav ul {
  display: flex;
  gap: var(--s-1);
}

.primary-nav a {
  position: relative;
  display: block;
  padding: var(--s-2) var(--s-3);
  font-size: var(--fs-sm);
  font-weight: 500;
  text-decoration: none;
}

.primary-nav a[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: var(--s-3);
  right: var(--s-3);
  bottom: 0;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
}

.site-header__phone {
  display: none;
  align-items: center;
  gap: var(--s-2);
  font-size: var(--fs-sm);
  font-weight: 500;
  text-decoration: none;
  padding-left: var(--s-5);
  border-left: 1px solid currentColor;
  border-left-color: rgba(255,255,255,0.3);
}

.is-solid .site-header__phone {
  border-left-color: var(--line);
}

.menu-toggle {
  display: none;
  margin-left: auto;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}

.menu-toggle__close {
  display: none;
}

.is-menu-open .menu-toggle__open {
  display: none;
}

.is-menu-open .menu-toggle__close {
  display: block;
}

.mobile-menu {
  display: none;
  position: fixed;
  inset: var(--header-h) 0 0 0;
  background: var(--white);
  color: var(--text);
  overflow-y: auto;
  border-top: 1px solid var(--line);
}

.mobile-menu nav {
  padding-block: var(--s-4) var(--s-7);
  display: grid;
  gap: var(--s-6);
}

.mobile-menu li {
  border-bottom: 1px solid var(--line);
}

.mobile-menu ul a {
  display: block;
  padding: 14px 0;
  font-size: 1rem;
  font-weight: 500;
  text-decoration: none;
}

.mobile-menu ul a[aria-current="page"] {
  text-decoration: underline;
  text-underline-offset: 6px;
  text-decoration-thickness: 2px;
}

.mobile-menu__foot {
  display: grid;
  gap: var(--s-4);
}

.mobile-menu__line {
  display: flex;
  align-items: center;
  gap: var(--s-3);
  font-size: var(--fs-sm);
  font-weight: 500;
  text-decoration: none;
  color: var(--text-muted);
}

.is-menu-open .mobile-menu {
  display: block;
  animation: menu-in var(--t-base) var(--ease-out);
}

@keyframes menu-in {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@media (min-width: 1140px) {
  .site-header__phone {
    display: inline-flex;
  }
}

@media (max-width: 959.98px) {
  .primary-nav, .site-header__cta {
    display: none;
  }
  .menu-toggle {
    display: inline-flex;
  }
}

/* ------------------------------------------------------------------ hero (home) + page hero */
.hero, .page-hero {
  position: relative;
  isolation: isolate;
  color: var(--on-dark);
  background: var(--ink-deep);
  overflow: hidden;
}

.hero__bg, .page-hero__bg {
  position: absolute;
  inset: 0;
  z-index: -1;
}

.hero__bg img, .page-hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__bg::after, .page-hero__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--overlay);
}

.hero {
  min-height: clamp(560px, 92vh, 820px);
  display: flex;
  align-items: center;
}

.hero__content {
  display: grid;
  gap: var(--s-5);
  padding-block: calc(var(--header-h) + var(--s-8)) 168px;
}

.hero h1 {
  font-size: var(--fs-hero);
  max-width: 15ch;
}

.hero__lede {
  font-size: var(--fs-md);
  color: rgba(255,255,255,0.86);
  max-width: 52ch;
}

.hero .actions {
  margin-top: var(--s-2);
}

.live-dot {
  position: relative;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #fff;
}

.live-dot::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1px solid #fff;
  animation: ping 2.4s var(--ease-out) infinite;
}

@keyframes ping {
  from {
    transform: scale(1);
    opacity: 0.9;
  }
  to {
    transform: scale(3);
    opacity: 0;
  }
}

.page-hero {
  min-height: clamp(380px, 54vh, 500px);
  display: flex;
  align-items: flex-end;
}

.page-hero__content {
  display: grid;
  gap: var(--s-4);
  padding-block: calc(var(--header-h) + var(--s-7)) 112px;
}

.page-hero h1 {
  max-width: 22ch;
}

.page-hero__lede {
  font-size: var(--fs-md);
  color: rgba(255,255,255,0.86);
  max-width: 58ch;
}

/* animated wave divider */
.wave {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 64px;
  overflow: hidden;
  pointer-events: none;
  color: var(--white);
}

.wave--muted {
  color: var(--stone);
}

.wave svg {
  width: 200%;
  max-width: none;
  height: 100%;
  animation: drift 22s linear infinite;
}

.wave__back {
  fill: currentColor;
  opacity: 0.4;
}

.wave__front {
  fill: currentColor;
}

@keyframes drift {
  to {
    transform: translateX(-50%);
  }
}

/* ------------------------------------------------------------------ reasons panel (overlaps hero) */
.reasons-wrap {
  position: relative;
  z-index: 2;
  margin-top: -112px;
}

.reasons {
  display: grid;
  gap: var(--s-6);
  padding: clamp(var(--s-5), 4vw, var(--s-7));
  background: var(--white);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow);
}

.reasons__head {
  display: grid;
  gap: var(--s-3);
  align-content: start;
}

.reasons__list {
  display: grid;
  gap: var(--s-5) var(--s-6);
}

.reason {
  display: flex;
  gap: var(--s-4);
  align-items: flex-start;
}

.reason h3 {
  margin-bottom: var(--s-1);
}

.reason p {
  font-size: var(--fs-sm);
  color: var(--text-muted);
}

@media (min-width: 720px) {
  .reasons__list {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 1024px) {
  .reasons {
    grid-template-columns: 4fr 8fr;
    gap: var(--s-8);
  }
}

/* ------------------------------------------------------------------ tiles */
.tiles {
  display: grid;
  gap: var(--s-5);
}

@media (min-width: 640px) {
  .tiles {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 960px) {
  .tiles {
    grid-template-columns: repeat(3, 1fr);
  }
  .tiles--2 {
    grid-template-columns: repeat(2, 1fr);
    max-width: 880px;
    margin-inline: auto;
  }
  .tiles--4 {
    grid-template-columns: repeat(4, 1fr);
  }
}

.tile {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r);
}

.section--muted .tile {
  border-color: transparent;
  box-shadow: var(--shadow-sm);
}

.tile__link, .tile--static {
  display: grid;
  align-content: start;
  gap: var(--s-3);
  height: 100%;
  padding: var(--s-6) var(--s-5);
  text-decoration: none;
  color: var(--text);
  border-radius: var(--r);
}

.tile__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  margin-bottom: var(--s-2);
  border-radius: var(--r);
  background: var(--ink-tint);
  color: var(--ink);
}

.tile__code {
  font-size: var(--fs-xs);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.tile p {
  font-size: var(--fs-sm);
  color: var(--text-muted);
}

.tile__more {
  display: inline-flex;
  align-items: center;
  gap: var(--s-2);
  margin-top: var(--s-2);
  font-size: var(--fs-sm);
  font-weight: 600;
}

.tiles > :nth-child(2) {
  transition-delay: 60ms;
}

.tiles > :nth-child(3) {
  transition-delay: 120ms;
}

.tiles > :nth-child(4) {
  transition-delay: 180ms;
}

.tiles > :nth-child(5) {
  transition-delay: 240ms;
}

.tiles > :nth-child(6) {
  transition-delay: 300ms;
}

/* ------------------------------------------------------------------ dark band */
.band {
  background: var(--ink);
  color: var(--on-dark);
  padding-block: var(--section);
}

.band p {
  color: var(--on-dark-muted);
}

.band__grid {
  display: grid;
  gap: var(--s-7);
  align-items: center;
}

.band__body {
  display: grid;
  gap: var(--s-5);
  align-content: start;
  max-width: 520px;
}

@media (min-width: 960px) {
  .band__grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--s-9);
  }
  .band__grid--text {
    grid-template-columns: 5fr 7fr;
    align-items: start;
  }
  .band__grid--text > :first-child {
    display: grid;
    gap: var(--s-4);
  }
}

.band__grid--text > :first-child {
  display: grid;
  gap: var(--s-4);
}

/* image collage: main + inset */
.collage {
  position: relative;
  max-width: 520px;
  padding-bottom: 72px;
  padding-right: 64px;
}

.collage__main {
  border-radius: var(--r);
  overflow: hidden;
}

.collage__main img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.collage__inset {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 48%;
  border-radius: var(--r);
  overflow: hidden;
  border: 6px solid var(--ink);
}

.collage--light .collage__inset {
  border-color: var(--white);
}

.collage__inset img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

/* counters */
.counters {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s-4);
  padding-block: var(--s-5);
  border-block: 1px solid var(--ink-line);
}

.counters li {
  display: grid;
  gap: var(--s-1);
}

.counters strong {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem);
  font-weight: 600;
  line-height: 1.1;
  color: var(--on-dark);
}

.counters span {
  font-size: var(--fs-xs);
  color: var(--on-dark-muted);
  line-height: 1.4;
}

/* feature grid in band */
.feature-grid {
  display: grid;
  gap: var(--s-6);
}

.feature-grid li {
  display: grid;
  gap: var(--s-3);
  align-content: start;
  padding-top: var(--s-5);
  border-top: 1px solid var(--ink-line);
}

.feature-grid p {
  font-size: var(--fs-sm);
}

@media (min-width: 640px) {
  .feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .feature-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* ------------------------------------------------------------------ coverage map */
.coverage {
  display: grid;
  gap: var(--s-7);
  align-items: center;
}

.coverage .section-head {
  margin-bottom: var(--s-6);
}

@media (min-width: 960px) {
  .coverage {
    grid-template-columns: 7fr 5fr;
    gap: var(--s-9);
  }
}

.coverage__map {
  background: var(--ink);
  border-radius: var(--r-lg);
  padding: var(--s-4);
  max-width: 380px;
  width: 100%;
  justify-self: center;
}

.route-list {
  display: grid;
  gap: var(--s-4);
}

.route-list li {
  display: flex;
  gap: var(--s-4);
  padding: var(--s-4) var(--s-5);
  border: 1px solid var(--line);
  border-radius: var(--r);
}

.route-list__num {
  flex: none;
  width: 32px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
  font-size: var(--fs-xs);
}

.route-list p {
  font-size: var(--fs-sm);
  color: var(--text-muted);
}

.map {
  width: 100%;
  height: auto;
  font-family: var(--font-mono);
}

.map__grid path {
  stroke: rgba(255,255,255,0.05);
  stroke-width: 1;
}

.map__land {
  fill: var(--ink-2);
}

.map__coast {
  fill: none;
  stroke: rgba(255,255,255,0.45);
  stroke-width: 1.2;
  stroke-linejoin: round;
}

.map__basins ellipse {
  fill: rgba(255,255,255,0.05);
  stroke: rgba(255,255,255,0.28);
  stroke-width: 1;
  stroke-dasharray: 3 4;
}

.map__basin-labels text {
  fill: rgba(255,255,255,0.7);
  font-size: 9px;
  text-anchor: middle;
  letter-spacing: 0.04em;
}

.map__routes path {
  fill: none;
  stroke: #fff;
  stroke-width: 1.4;
  stroke-linecap: round;
  stroke-dasharray: 0.03 0.03;
  opacity: 0.85;
  animation: march 1.6s linear infinite;
}

@keyframes march {
  to {
    stroke-dashoffset: -0.06;
  }
}

.map__ships circle {
  fill: #fff;
}

.map__dot {
  fill: #fff;
}

.map__pulse {
  fill: none;
  stroke: #fff;
  stroke-width: 1.2;
  transform-box: fill-box;
  transform-origin: center;
  animation: sonar 2.6s var(--ease-out) infinite;
}

.map__pulse--2 {
  animation-delay: 1.3s;
}

@keyframes sonar {
  from {
    transform: scale(1);
    opacity: 0.8;
  }
  to {
    transform: scale(4.5);
    opacity: 0;
  }
}

.map__label {
  fill: #fff;
  font-size: 11px;
  font-weight: 500;
}

.map__label--small {
  font-size: 9.5px;
  fill: rgba(255,255,255,0.8);
}

.map__office rect {
  fill: none;
  stroke: #fff;
  stroke-width: 1.4;
}

.map__port {
  fill: rgba(255,255,255,0.8);
}

.map__country {
  fill: rgba(255,255,255,0.22);
  font-size: 15px;
  letter-spacing: 0.3em;
  text-anchor: middle;
}

.map__ocean {
  fill: rgba(255,255,255,0.22);
  font-size: 10px;
  letter-spacing: 0.25em;
}

.js .coverage__map:not(.is-visible) .map__routes, .js .coverage__map:not(.is-visible) .map__ships {
  opacity: 0;
}

.map__routes, .map__ships {
  transition: opacity 600ms var(--ease) 300ms;
}

/* ------------------------------------------------------------------ project cards */
.cards {
  display: grid;
  gap: var(--s-5);
}

@media (min-width: 720px) {
  .cards {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .cards {
    grid-template-columns: repeat(3, 1fr);
  }
}

.card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border-radius: var(--r);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.card__media {
  position: relative;
}

.card__media img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.chip {
  position: absolute;
  left: var(--s-4);
  top: var(--s-4);
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--white);
  color: var(--ink);
  font-size: var(--fs-xs);
  font-weight: 600;
  box-shadow: var(--shadow-sm);
}

.card__body {
  display: grid;
  gap: var(--s-3);
  padding: var(--s-5);
  flex: 1;
  align-content: start;
}

.card__body p {
  font-size: var(--fs-sm);
  color: var(--text-muted);
}

.card__body .text-link {
  justify-self: start;
  margin-top: var(--s-2);
}

.cards > :nth-child(2) {
  transition-delay: 80ms;
}

.cards > :nth-child(3) {
  transition-delay: 160ms;
}

/* ------------------------------------------------------------------ partners */
.partners {
  border-top: 1px solid var(--line);
}

.partners__label {
  text-align: center;
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: var(--s-6);
}

.logos {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--s-6) var(--s-5);
  align-items: center;
}

.logos li {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 64px;
}

.logos img {
  max-height: 56px;
  max-width: 150px;
  width: auto;
  object-fit: contain;
  filter: grayscale(1);
  opacity: 0.75;
}

@media (min-width: 640px) {
  .logos {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 960px) {
  .logos {
    grid-template-columns: repeat(5, 1fr);
  }
}

/* ------------------------------------------------------------------ CTA banner */
.cta-banner {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border-radius: var(--r-lg);
  color: var(--on-dark);
  background: var(--ink);
}

.cta-banner__bg {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.cta-banner__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cta-banner__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(15, 42, 61, 0.84);
}

.cta-banner__content {
  display: grid;
  gap: var(--s-4);
  justify-items: start;
  max-width: 560px;
  padding: clamp(var(--s-6), 5vw, var(--s-8));
}

.cta-banner__content p:not(.eyebrow) {
  color: var(--on-dark-muted);
}

.cta-banner__content .btn {
  margin-top: var(--s-2);
}

.cta-banner__sonar {
  position: absolute;
  z-index: -1;
  right: -60px;
  top: 50%;
  width: 420px;
  height: 420px;
  transform: translateY(-50%);
}

.cta-banner__sonar circle {
  fill: none;
  stroke: rgba(255,255,255,0.22);
  stroke-width: 0.6;
  transform-origin: 100px 100px;
  animation: sonar-wide 6s var(--ease-out) infinite;
}

.cta-banner__sonar circle:nth-child(2) {
  animation-delay: 2s;
}

.cta-banner__sonar circle:nth-child(3) {
  animation-delay: 4s;
}

@keyframes sonar-wide {
  from {
    transform: scale(0.3);
    opacity: 0;
  }
  15% {
    opacity: 1;
  }
  to {
    transform: scale(3.2);
    opacity: 0;
  }
}

@media (max-width: 719.98px) {
  .cta-banner__sonar {
    display: none;
  }
}

/* ------------------------------------------------------------------ split with media */
.split-media {
  display: grid;
  gap: var(--s-7);
  align-items: center;
}

.split-media__img {
  border-radius: var(--r);
  overflow: hidden;
  max-width: 460px;
  width: 100%;
}

.split-media__img img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.split-media__img--tall {
  max-width: 400px;
}

.split-media__img--tall img {
  aspect-ratio: 4 / 5;
}

.split-media__body {
  display: grid;
  gap: var(--s-4);
  justify-items: start;
  max-width: 560px;
}

.split-media__body > p:not(.eyebrow) {
  color: var(--text-muted);
}

@media (min-width: 960px) {
  .split-media {
    grid-template-columns: 5fr 6fr;
    gap: var(--s-9);
  }
}

.list-title {
  margin-bottom: var(--s-4);
}

/* numbered cards */
.num-cards {
  display: grid;
  gap: var(--s-3);
}

.num-cards li {
  display: flex;
  align-items: center;
  gap: var(--s-4);
  padding: var(--s-4) var(--s-5);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r);
  font-weight: 500;
}

.num-cards__n {
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: var(--r-sm);
  background: var(--ink);
  color: #fff;
  font-size: var(--fs-sm);
}

.num-cards--dark li {
  background: rgba(255,255,255,0.05);
  border-color: var(--ink-line);
  color: var(--on-dark);
  font-weight: 400;
}

.num-cards--dark li strong {
  color: var(--on-dark);
}

.num-cards--dark .num-cards__n {
  background: var(--white);
  color: var(--ink);
}

.num-cards > :nth-child(2) {
  transition-delay: 70ms;
}

.num-cards > :nth-child(3) {
  transition-delay: 140ms;
}

.num-cards > :nth-child(4) {
  transition-delay: 210ms;
}

/* checklist */
.checklist {
  display: grid;
  gap: var(--s-2);
}

.checklist li {
  display: flex;
  gap: var(--s-3);
  align-items: flex-start;
  font-size: 0.9375rem;
}

.checklist .icon {
  margin-top: 3px;
  color: var(--ink);
}

/* standards pills */
.standards {
  display: grid;
  gap: var(--s-5);
}

.standards__title {
  font-size: var(--fs-lg);
}

.pills {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-2);
}

.pills li {
  display: inline-flex;
  align-items: center;
  gap: var(--s-2);
  padding: var(--s-2) var(--s-4);
  border-radius: 999px;
  background: var(--white);
  border: 1px solid var(--line);
  font-size: var(--fs-sm);
  font-weight: 500;
}

.pills .icon {
  color: var(--ink);
}

@media (min-width: 960px) {
  .standards {
    grid-template-columns: 4fr 8fr;
    align-items: center;
    gap: var(--s-8);
  }
}

/* icon list */
.icon-list {
  display: grid;
  gap: var(--s-4);
  margin-top: var(--s-2);
}

.icon-list li {
  display: flex;
  gap: var(--s-4);
  align-items: flex-start;
}

.icon-list .icon {
  margin-top: 2px;
  color: var(--ink);
}

.icon-list p {
  font-size: var(--fs-sm);
  color: var(--text-muted);
}

/* ------------------------------------------------------------------ timeline (approach) */
.timeline {
  position: relative;
}

.timeline__line {
  position: absolute;
  left: 20px;
  top: 19px;
  width: calc(75% + 24px);
  height: 2px;
  overflow: visible;
}

.timeline__line path {
  fill: none;
  stroke: rgba(255,255,255,0.5);
  stroke-width: 2;
  vector-effect: non-scaling-stroke;
  stroke-dasharray: 1;
  stroke-dashoffset: 0;
}

.js .timeline:not(.is-visible) .timeline__line path {
  stroke-dashoffset: 1;
}

.js .timeline__line path {
  transition: stroke-dashoffset 1400ms var(--ease-out);
}

.timeline__steps {
  display: grid;
  gap: var(--s-6);
  position: relative;
}

.timeline__step {
  display: grid;
  gap: var(--s-3);
  align-content: start;
}

.timeline__step p {
  font-size: var(--fs-sm);
}

.timeline__dot {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--ink);
  border: 1.5px solid rgba(255,255,255,0.5);
  color: var(--on-dark);
  font-size: var(--fs-xs);
  margin-bottom: var(--s-2);
  transition: background-color var(--t-base) var(--ease), color var(--t-base) var(--ease);
}

.timeline.is-visible .timeline__dot, .no-js .timeline__dot {
  background: var(--white);
  color: var(--ink);
  border-color: var(--white);
}

.timeline__step:nth-child(2) .timeline__dot {
  transition-delay: 350ms;
}

.timeline__step:nth-child(3) .timeline__dot {
  transition-delay: 700ms;
}

.timeline__step:nth-child(4) .timeline__dot {
  transition-delay: 1050ms;
}

@media (min-width: 960px) {
  .timeline__steps {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (max-width: 959.98px) {
  .timeline__line {
    display: none;
  }
}

/* ------------------------------------------------------------------ projects page */
.projects {
  display: grid;
  gap: var(--s-8);
}

.project {
  display: grid;
  gap: var(--s-6);
  align-items: center;
}

.project__media {
  position: relative;
  border-radius: var(--r);
  overflow: hidden;
  max-width: 460px;
  width: 100%;
}

.project__media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.project__body {
  display: grid;
  gap: var(--s-4);
  justify-items: start;
  max-width: 540px;
}

.project__body > p {
  color: var(--text-muted);
}

.project__n {
  font-size: var(--fs-sm);
  color: var(--text-muted);
}

.project__stat {
  display: flex;
  align-items: baseline;
  gap: var(--s-3);
  padding: var(--s-3) var(--s-4);
  border-radius: var(--r-sm);
  background: var(--stone);
}

.project__stat strong {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
}

.project__stat span {
  font-size: var(--fs-sm);
  color: var(--text-muted);
}

@media (min-width: 960px) {
  .project {
    grid-template-columns: 5fr 6fr;
    gap: var(--s-9);
  }
  .project:nth-child(even) .project__media {
    order: 2;
    justify-self: end;
  }
}

/* ------------------------------------------------------------------ about */
.purpose {
  display: grid;
  gap: var(--s-5);
}

.purpose__card {
  display: grid;
  gap: var(--s-4);
  align-content: start;
  padding: var(--s-6);
  border-radius: var(--r-lg);
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--ink-line);
}

.band .purpose__text {
  font-size: var(--fs-lg);
  line-height: 1.5;
  color: var(--on-dark);
}

@media (min-width: 960px) {
  .purpose {
    grid-template-columns: 1fr 1fr;
  }
}

/* people */
.people {
  display: grid;
  gap: var(--s-5);
}

.person {
  display: flex;
  gap: var(--s-4);
  align-items: flex-start;
  padding: var(--s-5);
  background: var(--white);
  border-radius: var(--r);
  box-shadow: var(--shadow-sm);
}

.person > div {
  display: grid;
  gap: 2px;
}

.person p {
  font-size: var(--fs-sm);
  color: var(--text-muted);
  margin-bottom: var(--s-2);
}

.person a {
  font-size: var(--fs-sm);
  width: fit-content;
}

.person__avatar {
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
  font-size: var(--fs-sm);
}

@media (min-width: 720px) {
  .people {
    grid-template-columns: 1fr 1fr;
  }
}

/* ------------------------------------------------------------------ contact */
.section--overlap {
  position: relative;
  z-index: 2;
  margin-top: -56px;
  padding-top: 0;
  padding-bottom: var(--s-8);
}

.contact-cards {
  display: grid;
  gap: var(--s-4);
}

@media (min-width: 640px) {
  .contact-cards {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .contact-cards {
    grid-template-columns: repeat(4, 1fr);
  }
}

.contact-card {
  position: relative;
  display: flex;
  gap: var(--s-4);
  align-items: flex-start;
  padding: var(--s-5);
  background: var(--white);
  border-radius: var(--r);
  box-shadow: var(--shadow);
}

.contact-card__body {
  display: grid;
  gap: 2px;
  min-width: 0;
  font-size: var(--fs-sm);
}

.contact-card h2 {
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: var(--s-1);
}

.contact-card__body > a:first-of-type {
  font-weight: 600;
  font-size: 0.9375rem;
  overflow-wrap: anywhere;
}

.contact-card__body > .small-link {
  font-size: var(--fs-sm);
  font-weight: 500;
  margin-top: var(--s-1);
}

.copy-btn {
  position: absolute;
  top: var(--s-3);
  right: var(--s-3);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  color: var(--text-muted);
  border: 1px solid var(--line);
  background: var(--white);
}

.copy-btn.is-copied {
  color: var(--success);
  border-color: var(--success);
}

.contact-layout {
  display: grid;
  gap: var(--s-7);
  align-items: start;
}

.contact-layout__intro {
  grid-row: 1;
}

.contact__form {
  grid-row: 2;
}

.contact-map {
  grid-row: 3;
}

@media (min-width: 1024px) {
  .contact-layout {
    grid-template-columns: 4fr 7fr;
    column-gap: var(--s-9);
    row-gap: var(--s-6);
    grid-template-rows: auto 1fr;
  }
  .contact-layout__intro {
    grid-column: 1;
    grid-row: 1;
  }
  .contact-map {
    grid-column: 1;
    grid-row: 2;
    align-self: start;
  }
  .contact__form {
    grid-column: 2;
    grid-row: 1 / span 2;
  }
}

.contact-map {
  border-radius: var(--r);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--stone);
}

.contact-map iframe {
  display: block;
  width: 100%;
  height: 280px;
  border: 0;
}

.contact-map figcaption {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--s-2) var(--s-3);
  padding: var(--s-3) var(--s-4);
  font-size: var(--fs-sm);
  background: var(--white);
  border-top: 1px solid var(--line);
}

.contact-map figcaption .icon {
  color: var(--ink);
}

.contact-map figcaption span:not(.sr-only) {
  flex: 1;
  min-width: 0;
}

.contact-map figcaption a {
  position: relative;
  color: var(--cta);
  font-weight: 600;
  text-decoration: none;
  padding-bottom: 2px;
  transition: color var(--t-fast) var(--ease);
}

.contact-map figcaption a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1.5px;
  height: 2px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 320ms var(--ease-out);
}

.contact-map figcaption a::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 1px;
  background: currentColor;
  opacity: 0.3;
}

.contact-map figcaption a:hover, .contact-map figcaption a:focus-visible {
  color: var(--cta-hover);
}

.contact-map figcaption a:hover::after, .contact-map figcaption a:focus-visible::after {
  transform: scaleX(1);
}

.contact-layout__intro {
  display: grid;
  gap: var(--s-4);
  max-width: 420px;
}

.contact-layout__intro > p:not(.eyebrow) {
  color: var(--text-muted);
}

.mini-steps {
  display: grid;
  gap: var(--s-3);
  margin-top: var(--s-3);
}

.mini-steps li {
  display: flex;
  align-items: center;
  gap: var(--s-3);
  font-size: var(--fs-sm);
  font-weight: 500;
}

.mini-steps span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  font-size: var(--fs-xs);
}

.contact__form {
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: clamp(var(--s-5), 4vw, var(--s-7));
  background: var(--white);
  box-shadow: var(--shadow-sm);
}

.form {
  display: grid;
  gap: var(--s-5);
}

.form__row {
  display: grid;
  gap: var(--s-5);
}

@media (min-width: 640px) {
  .form__row {
    grid-template-columns: 1fr 1fr;
  }
}

.form__foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-4);
  padding-top: var(--s-5);
  border-top: 1px solid var(--line);
}

.form__foot p {
  font-size: var(--fs-sm);
  max-width: 32ch;
}

.field {
  display: grid;
  gap: 6px;
  align-content: start;
}

.field label {
  font-size: var(--fs-sm);
  font-weight: 600;
}

.field__opt {
  font-weight: 400;
  color: var(--text-muted);
  margin-left: var(--s-1);
}

.field input, .field select, .field textarea {
  width: 100%;
  min-height: 46px;
  padding: 10px 14px;
  background: var(--stone);
  border: 1px solid transparent;
  border-radius: var(--r-sm);
  font-size: var(--fs-base);
  line-height: 1.4;
  transition: border-color var(--t-fast) var(--ease), box-shadow var(--t-fast) var(--ease), background-color var(--t-fast) var(--ease);
  -webkit-appearance: none;
  appearance: none;
}

.field textarea {
  min-height: 132px;
  resize: vertical;
}

.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible {
  outline: none;
  background: var(--white);
  border-color: var(--ink);
  box-shadow: 0 0 0 4px rgba(15, 42, 61, 0.12);
}

.select {
  position: relative;
}

.select select {
  padding-right: var(--s-7);
}

.select::after {
  content: "";
  position: absolute;
  right: 18px;
  top: 50%;
  width: 7px;
  height: 7px;
  pointer-events: none;
  border-right: 1.5px solid var(--text);
  border-bottom: 1.5px solid var(--text);
  transform: translateY(-70%) rotate(45deg);
}

.field__hint {
  font-size: var(--fs-xs);
  color: var(--text-muted);
}

.field__error {
  display: flex;
  gap: 6px;
  align-items: flex-start;
  font-size: var(--fs-sm);
  color: var(--error);
}

.field__error .icon {
  margin-top: 3px;
}

.is-invalid input, .is-invalid select, .is-invalid textarea {
  border-color: var(--error);
  background: var(--white);
}

.is-invalid input:focus-visible, .is-invalid select:focus-visible, .is-invalid textarea:focus-visible {
  border-color: var(--error);
  box-shadow: 0 0 0 4px rgba(180, 35, 24, 0.12);
}

.form-summary {
  padding: var(--s-4) var(--s-5);
  border-radius: var(--r-sm);
  background: var(--error-bg);
  color: var(--error);
  font-size: var(--fs-sm);
  display: grid;
  gap: var(--s-2);
  border-left: 4px solid var(--error);
}

.form-summary ul {
  list-style: disc;
  padding-left: var(--s-5);
}

.form-summary a {
  color: var(--error);
}

.hp {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* success confirmation with animated check */
.success {
  display: grid;
  gap: var(--s-4);
  justify-items: start;
}

.success h2 {
  font-size: 1.625rem;
}

.success-mark {
  width: 56px;
  height: 56px;
}

.success-mark__ring {
  fill: var(--success-bg);
  stroke: var(--success);
  stroke-width: 2;
  stroke-dasharray: 1;
  stroke-dashoffset: 0;
}

.success-mark__tick {
  fill: none;
  stroke: var(--success);
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 1;
  stroke-dashoffset: 0;
}

.is-entering .success-mark__ring {
  animation: draw 600ms var(--ease-out) both;
}

.is-entering .success-mark__tick {
  animation: draw 400ms var(--ease-out) 450ms both;
}

@keyframes draw {
  from {
    stroke-dashoffset: 1;
  }
  to {
    stroke-dashoffset: 0;
  }
}

.success__meta {
  display: grid;
  width: 100%;
  border-top: 1px solid var(--line);
}

.success__meta > div {
  display: flex;
  justify-content: space-between;
  gap: var(--s-4);
  padding-block: var(--s-3);
  border-bottom: 1px solid var(--line);
  font-size: var(--fs-sm);
}

.success__meta dt {
  color: var(--text-muted);
}

.success__meta dd {
  font-weight: 600;
  text-align: right;
  overflow-wrap: anywhere;
}

.is-entering {
  animation: enter var(--t-slow) var(--ease-out) both;
}

@keyframes enter {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

/* ------------------------------------------------------------------ toast */
.toast {
  position: fixed;
  left: 50%;
  bottom: var(--s-6);
  z-index: 60;
  display: inline-flex;
  align-items: center;
  gap: var(--s-3);
  padding: var(--s-3) var(--s-5);
  border-radius: 999px;
  background: var(--ink);
  color: var(--on-dark);
  font-size: var(--fs-sm);
  font-weight: 500;
  box-shadow: var(--shadow);
  transform: translate(-50%, 12px);
  opacity: 0;
  transition: opacity var(--t-base) var(--ease), transform var(--t-base) var(--ease-out);
}

.toast.is-shown {
  opacity: 1;
  transform: translate(-50%, 0);
}

.toast .icon {
  color: #8FD4AE;
}

/* ------------------------------------------------------------------ footer */
.site-footer {
  background: var(--ink-deep);
  color: var(--on-dark-muted);
  padding-block: var(--s-8) var(--s-6);
  font-size: var(--fs-sm);
}

.site-footer__top {
  display: grid;
  gap: var(--s-7);
  padding-bottom: var(--s-7);
  border-bottom: 1px solid var(--ink-line);
}

.site-footer__brand {
  display: grid;
  gap: var(--s-4);
  max-width: 340px;
  justify-items: start;
}

.site-footer__brand img {
  width: 140px;
  height: auto;
  margin-bottom: var(--s-2);
}

.site-footer__contact {
  display: inline-flex;
  align-items: center;
  gap: var(--s-3);
  color: var(--on-dark);
  text-decoration: none;
  font-weight: 500;
}

.site-footer__cols {
  display: grid;
  gap: var(--s-6);
  grid-template-columns: repeat(2, 1fr);
}

.site-footer h2 {
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--on-dark);
  margin-bottom: var(--s-4);
}

.site-footer__sub {
  margin-top: var(--s-5);
}

.site-footer ul {
  display: grid;
  gap: var(--s-2);
}

.site-footer a {
  color: var(--on-dark-muted);
  text-decoration: none;
}

.site-footer .site-footer__contact {
  color: var(--on-dark);
}

.site-footer address {
  line-height: 1.8;
}

.site-footer__base {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: var(--s-3);
  padding-top: var(--s-5);
  font-size: var(--fs-xs);
}

@media (min-width: 640px) {
  .site-footer__cols {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 960px) {
  .site-footer__top {
    grid-template-columns: 4fr 8fr;
    gap: var(--s-8);
  }
}

/* ------------------------------------------------------------------ reveal (progressive enhancement) */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity var(--t-slow) var(--ease-out), transform var(--t-slow) var(--ease-out);
}

.js [data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 1ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 1ms !important;
    transition-delay: 0ms !important;
  }
  .js [data-reveal] {
    opacity: 1;
    transform: none;
  }
  .wave svg, .map__routes path, .map__pulse, .cta-banner__sonar circle, .live-dot::after {
    animation: none !important;
  }
  .map__ships, .cta-banner__sonar, .map__pulse {
    display: none;
  }
}

@media print {
  .site-header, .site-footer, .cta-banner, .toast, .wave {
    display: none;
  }
}

/* compact tiles on small screens: icon beside text */
@media (max-width: 639.98px) {
  .tile__link, .tile--static {
    grid-template-columns: 52px 1fr;
    column-gap: var(--s-4);
    row-gap: var(--s-1);
    padding: var(--s-5) var(--s-4);
  }
  .tile__icon {
    grid-row: span 4;
    width: 52px;
    height: 52px;
    margin-bottom: 0;
  }
  .tile__icon .icon {
    width: 28px;
    height: 28px;
  }
}

/* ------------------------------------------------------------------ sustainability page: a touch of environmental green
   Green is a small detail here (icons, labels, ticks). Backgrounds, bands and CTAs stay as on every other page. */
.page-sustainability {
  --green: #1D6B44;
  --green-tint: #E9F3EC;
}

.page-sustainability .eyebrow:not(.eyebrow--light) {
  color: var(--green);
}

.page-sustainability .tile__icon {
  background: var(--green-tint);
  color: var(--green);
}

.page-sustainability .icon-list .icon,
.page-sustainability .pills .icon {
  color: var(--green);
}

/* ==========================================================================
   Secondary button (navy outline). Used for "Decline" so accepting and
   declining cookies carry equal weight. Not a CTA, so no hover state.
   ========================================================================== */
.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 24px;
  border: 1.5px solid var(--ink);
  border-radius: 999px;
  background: var(--white);
  color: var(--ink);
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
}

.btn-secondary--sm {
  min-height: 40px;
  padding: 0 18px;
  font-size: var(--fs-sm);
}

.btn-secondary:active {
  transform: translateY(1px);
}

.btn-secondary:focus-visible {
  border-radius: 999px;
}

.icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  color: var(--text-muted);
}

.footer-link-btn {
  color: var(--on-dark-muted);
  font-size: inherit;
}

.site-footer__legal {
  display: inline-flex;
  flex-wrap: wrap;
  gap: var(--s-4);
}


/* ==========================================================================
   Cookie banner
   ========================================================================== */
.cookie-banner {
  position: fixed;
  z-index: 70;
  left: var(--s-4);
  right: var(--s-4);
  bottom: var(--s-4);
  display: grid;
  grid-template-columns: auto 1fr;
  gap: var(--s-3) var(--s-4);
  max-width: 460px;
  padding: var(--s-5);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: 0 2px 4px rgba(10, 31, 46, 0.06), 0 24px 48px rgba(10, 31, 46, 0.18);
  opacity: 0;
  transform: translateY(24px);
  transition: opacity var(--t-slow) var(--ease-out), transform var(--t-slow) var(--ease-out);
}

.no-js .cookie-banner {
  display: none;
}

.cookie-banner.is-shown {
  opacity: 1;
  transform: none;
}

.cookie-banner.is-leaving {
  opacity: 0;
  transform: translateY(16px);
  transition-duration: var(--t-base);
}

.cookie-banner__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--ink-tint);
  color: var(--ink);
}

.cookie-banner__body {
  display: grid;
  gap: var(--s-1);
}

.cookie-banner h2 {
  font-family: var(--font-sans);
  font-size: var(--fs-md);
  font-weight: 600;
  letter-spacing: 0;
}

.cookie-banner p {
  font-size: var(--fs-sm);
  color: var(--text-muted);
}

.cookie-banner__actions {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--s-3) var(--s-3);
  padding-top: var(--s-2);
}

.cookie-banner__actions .text-btn {
  margin-left: auto;
  font-size: var(--fs-sm);
}

@media (min-width: 720px) {
  .cookie-banner {
    left: var(--s-5);
    right: auto;
    bottom: var(--s-5);
  }
}

@media (max-width: 479.98px) {
  .cookie-banner {
    left: 0;
    right: 0;
    bottom: 0;
    max-width: none;
    border-radius: var(--r-lg) var(--r-lg) 0 0;
    padding-bottom: calc(var(--s-5) + env(safe-area-inset-bottom));
  }

  .cookie-banner__actions .btn,
  .cookie-banner__actions .btn-secondary {
    flex: 1 1 0;
    max-width: none;
  }

  .cookie-banner__actions .text-btn {
    margin-left: 0;
    width: 100%;
    text-align: center;
  }
}


/* ==========================================================================
   Cookie preferences dialog
   ========================================================================== */
.cookie-dialog {
  width: min(560px, calc(100% - 32px));
  max-height: calc(100dvh - 32px);
  padding: 0;
  border: 0;
  border-radius: var(--r-lg);
  background: var(--white);
  color: var(--text);
  box-shadow: 0 24px 64px rgba(10, 31, 46, 0.28);
}

.cookie-dialog::backdrop {
  background: rgba(10, 31, 46, 0.55);
}

.cookie-dialog[open] {
  animation: dialog-in var(--t-slow) var(--ease-out);
}

@keyframes dialog-in {
  from { opacity: 0; transform: translateY(16px) scale(0.98); }
  to   { opacity: 1; transform: none; }
}

.cookie-dialog__inner {
  display: grid;
  gap: var(--s-5);
  padding: var(--s-6);
}

.cookie-dialog__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-4);
}

.cookie-dialog__head h2 {
  font-size: 1.5rem;
}

.cookie-dialog__intro {
  font-size: var(--fs-sm);
  color: var(--text-muted);
}

.cookie-cats {
  display: grid;
  border-top: 1px solid var(--line);
}

.cookie-cat {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--s-5);
  padding-block: var(--s-4);
  border-bottom: 1px solid var(--line);
}

.cookie-cat__text {
  display: grid;
  gap: var(--s-1);
}

.cookie-cat h3 {
  font-size: var(--fs-base);
}

.cookie-cat p {
  font-size: var(--fs-sm);
  color: var(--text-muted);
}

.cookie-dialog__foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-4);
}

.cookie-dialog__policy {
  font-size: var(--fs-sm);
}

.cookie-dialog__buttons {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-3);
}

@media (max-width: 479.98px) {
  .cookie-dialog__inner {
    padding: var(--s-5);
  }

  .cookie-dialog__buttons {
    width: 100%;
  }

  .cookie-dialog__buttons > * {
    flex: 1 1 0;
    max-width: none;
  }
}


/* Switch (checkbox styled as a toggle) */
.switch {
  position: relative;
  display: inline-flex;
  flex: none;
  align-items: center;
  gap: var(--s-2);
  margin-top: 2px;
}

.switch input {
  position: absolute;
  inset: 0;
  width: 44px;
  height: 24px;
  margin: 0;
  opacity: 0;
  cursor: pointer;
  z-index: 1;
}

.switch__track {
  position: relative;
  width: 44px;
  height: 24px;
  border-radius: 999px;
  background: var(--line-strong);
  transition: background-color var(--t-base) var(--ease);
}

.switch__track::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--white);
  box-shadow: 0 1px 3px rgba(10, 31, 46, 0.3);
  transition: transform var(--t-base) var(--ease-out);
}

.switch input:checked + .switch__track {
  background: var(--ink);
}

.switch input:checked + .switch__track::after {
  transform: translateX(20px);
}

.switch input:focus-visible + .switch__track {
  outline: 2px solid var(--ink);
  outline-offset: 3px;
}

.switch--locked input {
  cursor: not-allowed;
}

.switch--locked .switch__track {
  opacity: 0.55;
}

.switch__label {
  font-size: var(--fs-xs);
  color: var(--text-muted);
  white-space: nowrap;
}


/* ==========================================================================
   Contact map: placeholder until maps are allowed
   ========================================================================== */
.contact-map__frame {
  height: 280px;
  background: var(--stone);
}

.contact-map__frame iframe {
  height: 100%;
}

.map-placeholder {
  display: grid;
  place-items: center;
  align-content: center;
  gap: var(--s-3);
  height: 100%;
  padding: var(--s-5);
  text-align: center;
  font-size: var(--fs-sm);
  color: var(--text-muted);
}

.map-placeholder strong {
  color: var(--text);
}


/* ==========================================================================
   Cookie policy page
   ========================================================================== */
.prose-page {
  display: grid;
  gap: var(--s-5);
}

.prose-page h2 {
  margin-top: var(--s-5);
  font-size: 1.5rem;
}

.prose-page > p {
  color: var(--text-muted);
}

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--r);
}

.cookie-table {
  width: 100%;
  min-width: 620px;
  border-collapse: collapse;
  font-size: var(--fs-sm);
}

.cookie-table th,
.cookie-table td {
  padding: var(--s-3) var(--s-4);
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--line);
}

.cookie-table th {
  background: var(--stone);
  font-weight: 600;
}

.cookie-table tr:last-child td {
  border-bottom: 0;
}

.cookie-table code {
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
}


/* ==========================================================================
   Mobile carousels — lists marked data-carousel swipe sideways under 720px,
   cutting scroll depth. Wider screens keep the normal grid.
   ========================================================================== */
.carousel-nav {
  display: none;
}

@media (max-width: 719.98px) {
  [data-carousel] {
    display: flex !important;
    gap: var(--s-4);
    margin-inline: calc(var(--gutter) * -1);
    padding: var(--s-1) var(--gutter) var(--s-4);
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: var(--gutter);
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

  [data-carousel]::-webkit-scrollbar {
    display: none;
  }

  [data-carousel] > li {
    flex: 0 0 84%;
    scroll-snap-align: start;
  }

  /* Inside the white "why" panel the list has no page gutter to bleed into */
  .reasons [data-carousel] {
    margin-inline: calc(clamp(var(--s-5), 4vw, var(--s-7)) * -1);
    padding-inline: clamp(var(--s-5), 4vw, var(--s-7));
    scroll-padding-inline: clamp(var(--s-5), 4vw, var(--s-7));
  }

  .reasons [data-carousel] > li {
    padding: var(--s-4);
    border: 1px solid var(--line);
    border-radius: var(--r);
  }

  /* Cards go back to stacked (icon on top) inside a carousel */
  [data-carousel] .tile__link,
  [data-carousel] .tile--static {
    grid-template-columns: 1fr;
    row-gap: var(--s-3);
    padding: var(--s-5);
  }

  [data-carousel] .tile__icon {
    grid-row: auto;
    width: 52px;
    height: 52px;
  }

  [data-carousel] .feature-grid li,
  .feature-grid[data-carousel] > li {
    padding: var(--s-5);
    border: 1px solid var(--ink-line);
    border-radius: var(--r);
  }

  .carousel-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--s-3);
    margin-top: var(--s-2);
  }

  .carousel-nav__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border: 1px solid var(--line-strong);
    border-radius: 50%;
    background: var(--white);
    color: var(--ink);
    transition: opacity var(--t-base) var(--ease);
  }

  .carousel-nav__btn:disabled {
    opacity: 0.35;
    cursor: default;
  }

  .carousel-nav__dots {
    display: flex;
    align-items: center;
    gap: 2px;
  }

  /* 24px tap target around a small visible dot */
  .carousel-nav__dot {
    position: relative;
    width: 24px;
    height: 24px;
  }

  .carousel-nav__dot::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: var(--line-strong);
    transform: translate(-50%, -50%);
    transition: width var(--t-base) var(--ease-out), background-color var(--t-base) var(--ease);
  }

  .carousel-nav__dot.is-active::after {
    width: 20px;
    background: var(--ink);
  }

  .band .carousel-nav__btn {
    background: transparent;
    border-color: rgba(255, 255, 255, 0.35);
    color: var(--on-dark);
  }

  .band .carousel-nav__dot::after {
    background: rgba(255, 255, 255, 0.35);
  }

  .band .carousel-nav__dot.is-active::after {
    background: var(--on-dark);
  }
}
