/* ==========================================================================
   Socomet Sales, proposition V4 (V3.2 declined on a white page)
   Single light theme. Native CSS + GSAP ScrollTrigger (optional).

   RADIUS SYSTEM (single, documented, applied everywhere):
     --r-card : 20px   cards, bento cells, images, panels, accordion items, menu, logo grid
     --r-hero : 24px   hero frame only
     --r-pill : 999px  buttons, nav bar, icon buttons, icon chips
   Media inside a card is flush and inherits the card radius via overflow:hidden.

   Z-INDEX SCALE: 1-2 layers inside a component, 50 nav + menu, 60 skip link.

   CONTRAST (WCAG 2.x, measured):
     --text   #0F1A14 on #FFFFFF 17.8 | on #F4F6F2 16.4 | on #EBEFE8 15.3 | on #DCE8CF 14.0
     --text-2 #4F5B53 on #FFFFFF  7.1 | on #F4F6F2  6.5 | on #EBEFE8  6.1 | on #DCE8CF  5.6
     --accent-text #466A2E on #FFFFFF 6.3 | on #F4F6F2 5.7 | on #EBEFE8 5.4 | on chip tint 5.6
     #FFFFFF on --accent #5E853E  4.29 (white labels on green: client choice)
     #FFFFFF on --accent-hover #4E7033  5.7
     nav links #0F1A14 on the light glass over the darkest hero pixels  9.6 minimum
     footer text #FFFFFF / rgba(255,255,255,.78) on #0F1A14  17.8 / 11.0
     selection #0F1A14 on #C9DBB4  12.1
   Text placed on photographs is always white, over a dark scrim.
   ========================================================================== */

@font-face { font-family: "Cabinet Grotesk"; src: url("../assets/fonts/cabinet-grotesk-500.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Cabinet Grotesk"; src: url("../assets/fonts/cabinet-grotesk-700.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Cabinet Grotesk"; src: url("../assets/fonts/cabinet-grotesk-800.woff2") format("woff2"); font-weight: 800; font-style: normal; font-display: swap; }
@font-face { font-family: "Satoshi"; src: url("../assets/fonts/satoshi-400.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Satoshi"; src: url("../assets/fonts/satoshi-500.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Satoshi"; src: url("../assets/fonts/satoshi-700.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }

:root {
  --bg: #FFFFFF;
  --surface-1: #F4F6F2;
  --surface-2: #EBEFE8;
  --wash: #DCE8CF;          /* light tint of the brand green, one bento cell */
  --text: #0F1A14;
  --text-2: #4F5B53;
  --line: rgba(15, 26, 20, .12);
  --accent: #5E853E;
  --accent-hover: #4E7033;
  --accent-ink: #FFFFFF;
  --accent-text: #466A2E;
  --on-image: #FFFFFF;
  --paper: #FAFAFA;         /* quote card: same white as the group photo */
  --footer-bg: #0F1A14;

  --shadow-sm: 0 1px 2px rgba(15, 26, 20, .05), 0 8px 24px rgba(15, 26, 20, .08);
  --shadow-md: 0 2px 6px rgba(15, 26, 20, .05), 0 18px 48px rgba(15, 26, 20, .10);
  --shadow-lg: 0 4px 12px rgba(15, 26, 20, .05), 0 30px 80px rgba(15, 26, 20, .12);

  --r-card: 20px;
  --r-hero: 24px;
  --r-pill: 999px;

  --font-display: "Cabinet Grotesk", "Satoshi", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "Satoshi", system-ui, -apple-system, "Segoe UI", sans-serif;

  --container: 1320px;
  --gutter: clamp(20px, 4vw, 48px);
  --section-y: clamp(80px, 8.5vw, 128px);
  --nav-h: 64px;
  --nav-top: 16px;
  --ease-out: cubic-bezier(.16, 1, .3, 1);

  color-scheme: light;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  background: var(--bg);
  scroll-padding-top: calc(var(--nav-top) + var(--nav-h) + 16px);
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: clamp(1.0625rem, 1rem + .2vw, 1.125rem);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
p { margin: 0; }
h1, h2, h3, h4 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -.02em;
  line-height: 1.05;
  text-wrap: balance;
}
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--accent-text); outline-offset: 3px; }
.hero :focus-visible, .cell--media :focus-visible, .desk-card :focus-visible, .footer :focus-visible { outline-color: var(--on-image); }
::selection { background: #C9DBB4; color: var(--text); }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: fixed; left: 16px; top: 16px; z-index: 60;
  padding: 12px 20px; border-radius: var(--r-pill);
  background: var(--accent); color: var(--accent-ink); font-weight: 700; text-decoration: none;
  transform: translateY(-160%);
}
.skip-link:focus-visible { transform: none; }

.container {
  width: 100%;
  max-width: calc(var(--container) + 2 * var(--gutter));
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.section { padding-block: var(--section-y); }
.section-head { max-width: 780px; margin-bottom: clamp(40px, 5vw, 72px); }
.section-head h2, .areas__intro h2, .compliance__intro h2, .contact-card__body h2 {
  font-size: clamp(2.125rem, 1.15rem + 3vw, 3.75rem);
  line-height: 1.02;
}
.section-head--wide { max-width: 1000px; }
.section-head--wide h2 { font-size: clamp(1.875rem, 1rem + 2.6vw, 3.25rem); line-height: 1.06; }
.lead {
  margin-top: 20px;
  max-width: 58ch;
  font-size: clamp(1.125rem, 1rem + .35vw, 1.3125rem);
  line-height: 1.55;
  color: var(--text-2);
}
.eyebrow {
  margin-bottom: 18px;
  font-size: .8125rem; font-weight: 700; line-height: 1.2;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--accent-text);
}

/* Icon chip (pill system) */
.chip {
  flex: none;
  display: inline-grid; place-items: center;
  width: 48px; height: 48px;
  border-radius: var(--r-pill);
  background: rgba(94, 133, 62, .10);
  border: 1px solid rgba(94, 133, 62, .24);
  color: var(--accent-text);
  font-size: 24px;
}

/* ---------- Buttons & links ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  height: 48px; padding: 0 1.4em;
  border-radius: var(--r-pill);
  font-family: var(--font-body); font-weight: 700; font-size: .9375rem; line-height: 1;
  letter-spacing: .005em;
  text-decoration: none; white-space: nowrap;
  border: 0; cursor: pointer;
  transition: transform .5s var(--ease-out);
}
.btn--primary { background: var(--accent); color: var(--accent-ink); }
.btn--primary:hover { background: var(--accent-hover); }
.btn:active { transform: scale(.97); }
.btn .ph { font-size: 1.15em; transition: transform .5s var(--ease-out); }
.btn:hover .ph { transform: translateX(3px); }
.btn--lg { height: 56px; padding: 0 1.7em; font-size: 1rem; }

.text-link {
  display: inline-flex; align-items: center; gap: .5em;
  margin-top: 22px;
  font-weight: 700; color: var(--accent-text); text-decoration: none;
  background-image: linear-gradient(var(--accent), var(--accent));
  background-size: 100% 2px; background-position: 0 100%; background-repeat: no-repeat;
  padding-bottom: 4px;
}
.text-link .ph { transition: transform .5s var(--ease-out); }
.text-link:hover .ph { transform: translateX(3px); }

/* ---------- Navigation (floating light frosted pill) ---------- */
.nav {
  position: fixed; inset: var(--nav-top) 0 auto 0; z-index: 50;
  padding-inline: clamp(12px, 3vw, 32px);
  pointer-events: none;
}
.nav__bar {
  pointer-events: auto;
  max-width: 1180px; height: var(--nav-h); margin-inline: auto;
  display: flex; align-items: center; gap: 8px;
  padding: 0 8px 0 26px;
  border-radius: var(--r-pill);
  background: rgba(255, 255, 255, .97);            /* opaque fallback */
  border: 1px solid rgba(15, 26, 20, .10);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .7), 0 10px 32px rgba(15, 26, 20, .10);
  color: var(--text);
}
@supports ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) {
  .nav__bar {
    background: rgba(255, 255, 255, .74);
    -webkit-backdrop-filter: blur(18px) saturate(180%);
    backdrop-filter: blur(18px) saturate(180%);
  }
}
@media (prefers-reduced-transparency: reduce) {
  .nav__bar { background: rgba(255, 255, 255, .98); -webkit-backdrop-filter: none; backdrop-filter: none; }
}
.nav__logo { display: block; flex: none; }
.nav__logo img { height: 26px; width: auto; }
.nav__links { display: flex; gap: 2px; margin-left: auto; }
.nav__links a {
  padding: 10px 15px; border-radius: var(--r-pill);
  font-size: .9375rem; font-weight: 500; text-decoration: none; white-space: nowrap;
  color: var(--text);
}
.nav__links a:hover, .nav__links a[aria-current="location"] { background: rgba(15, 26, 20, .06); }
.nav__cta { margin-left: 10px; height: 46px; }
.nav__toggle {
  display: none; place-items: center; flex: none;
  width: 46px; height: 46px; margin-left: 8px;
  border-radius: var(--r-pill);
  background: rgba(15, 26, 20, .04); border: 1px solid var(--line);
  color: var(--text);
  font-size: 22px; cursor: pointer;
}

.menu {
  pointer-events: auto;
  max-width: 1180px; margin: 8px auto 0;
  padding: 10px 10px 14px;
  border-radius: var(--r-card);
  background: #FFFFFF;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-lg);
  color: var(--text);
  opacity: 0; transform: translateY(-8px);
  transition: opacity .3s ease, transform .45s var(--ease-out);
}
.menu.is-open { opacity: 1; transform: none; }
.menu nav { display: grid; }
.menu nav a {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 14px;
  font-family: var(--font-display); font-weight: 700; font-size: 1.5rem; letter-spacing: -.01em;
  text-decoration: none;
}
.menu nav a + a { border-top: 1px solid var(--line); }
.menu nav a .ph { font-size: 20px; color: var(--accent-text); }
.menu__cta { width: 100%; margin-top: 8px; }

@media (max-width: 1079px) {
  .nav__links { display: none; }
  .nav__cta { margin-left: auto; }
  .nav__toggle { display: inline-grid; }
}
@media (max-width: 559px) {
  :root { --nav-h: 58px; --nav-top: 12px; }
  .nav__bar { padding-left: 20px; }
  .nav__logo img { height: 22px; }
  .nav__cta { display: none; }
  .nav__toggle { margin-left: auto; }
}
@media (min-width: 1080px) {
  .menu { display: none; }
}

/* ---------- Hero (photo card, white text on scrim) ---------- */
.hero { padding: 12px 12px 0; }
.hero__frame {
  position: relative; isolation: isolate; overflow: hidden;
  height: calc(100vh - 24px);
  height: calc(100svh - 24px);
  min-height: 560px; max-height: 1100px;
  border-radius: var(--r-hero);
  background: #134033;
  color: var(--on-image);
}
.hero__media { position: absolute; inset: 0; }
.hero__media img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: 22% 50%;
  transform-origin: 25% 100%;
  transform: scale(1.2);
}
.hero__scrim {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    linear-gradient(to top, rgba(5, 13, 9, .86) 0%, rgba(5, 13, 9, .6) 26%, rgba(5, 13, 9, .18) 48%, rgba(5, 13, 9, 0) 62%),
    linear-gradient(to bottom, rgba(5, 13, 9, .22) 0%, rgba(5, 13, 9, 0) 18%);
}
.hero__content {
  position: absolute; z-index: 2; left: 0; right: 0; bottom: 0;
  padding: 24px 22px 26px;
  display: grid; gap: 20px; align-items: end;
}
.hero__title {
  font-size: clamp(2.625rem, 1rem + 4.2vw, 5.25rem);
  font-weight: 700; line-height: .98; letter-spacing: -.03em;
  color: var(--on-image);
}
.hero__title .line { display: block; }
.hero__sub {
  max-width: 36ch;
  font-size: clamp(1rem, .95rem + .3vw, 1.25rem); line-height: 1.5;
  color: var(--on-image);
  margin-bottom: 24px;
}

@media (min-width: 768px) {
  .hero { padding: 16px 16px 0; }
  .hero__frame { height: calc(100vh - 32px); height: calc(100svh - 32px); }
  .hero__media { inset: -6% 0; will-change: transform; }
  .hero__media img { object-position: 30% 50%; transform: none; }
  .hero__content { padding: clamp(32px, 4vw, 60px); }
  .hero__title { white-space: nowrap; }
}
@media (min-width: 1024px) {
  .hero__content { grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); column-gap: 48px; }
  .hero__aside { justify-self: end; max-width: 400px; padding-bottom: 6px; }
}

/* Hero entrance (hierarchy: image settles, then title, then action) */
@media (prefers-reduced-motion: no-preference) {
  .js .hero__frame { animation: frameIn 1.1s var(--ease-out) both; }
  .js [data-rise] { animation: rise .9s var(--ease-out) both; animation-delay: calc(.2s + var(--d, 0) * .09s); }
  @keyframes frameIn { from { clip-path: inset(3% 2% 0 2% round var(--r-hero)); } to { clip-path: inset(0 0 0 0 round var(--r-hero)); } }
  @keyframes rise { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
}

/* ---------- Scroll reveal (storytelling) ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js [data-reveal] {
    opacity: 0; transform: translateY(28px);
    transition: opacity .55s ease, transform .8s var(--ease-out);
    transition-delay: calc(var(--d, 0) * 70ms);
  }
  .js [data-reveal].is-in { opacity: 1; transform: none; }
}

/* ---------- Clients ---------- */
.clients { padding-top: clamp(16px, 2.4vw, 32px); }
.clients-card {
  padding: clamp(24px, 4vw, 56px);
  border-radius: var(--r-card);
  background: var(--surface-1);
}
.clients-card h2 {
  max-width: 30ch;
  margin-bottom: clamp(24px, 3vw, 40px);
  font-size: clamp(1.375rem, .9rem + 1.6vw, 2.375rem); line-height: 1.12;
}
.logo-grid {
  --logo-k: .6;
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px;
  overflow: hidden;
  border-radius: var(--r-card);
  border: 1px solid var(--line);
  background: var(--line);
  box-shadow: var(--shadow-sm);
}
.logo-grid li {
  display: grid; place-items: center;
  height: clamp(84px, 9vw, 128px);
  padding: 10px;
  background: #FFFFFF;
}
.logo-grid img {
  width: calc(var(--w) * var(--logo-k) * 1px);
  max-width: 86%; max-height: 70%; height: auto;
  object-fit: contain;
  mix-blend-mode: multiply;
  filter: grayscale(1);
  opacity: .9;
  transition: opacity .4s ease, transform .6s var(--ease-out);
}
.logo-grid li:hover img { filter: none; opacity: 1; transform: scale(1.04); }
.logo-grid li.logo-grid__others { background: var(--accent); }
.logo-grid__others span {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(1.0625rem, .8rem + .9vw, 1.625rem); letter-spacing: -.01em;
  color: var(--accent-ink);
}
@media (min-width: 640px) { .logo-grid { --logo-k: .8; } }
@media (min-width: 1024px) { .logo-grid { --logo-k: 1; grid-template-columns: repeat(6, minmax(0, 1fr)); } }

/* ---------- About: timeline + what we do ---------- */
.timeline {
  position: relative;
  list-style: none; margin: 0 0 clamp(64px, 8vw, 120px); padding: 0;
  display: grid; gap: 36px;
}
.timeline__item { position: relative; padding-left: 24px; border-left: 1px solid var(--line); }
.timeline__year {
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(2.5rem, 1.6rem + 2.4vw, 4rem); line-height: 1; letter-spacing: -.04em;
}
.timeline__item h3 { margin-top: 14px; font-size: 1.25rem; letter-spacing: -.01em; }
.timeline__item p:last-child { margin-top: 8px; max-width: 36ch; color: var(--text-2); }
@media (min-width: 900px) {
  .timeline { grid-template-columns: repeat(4, minmax(0, 1fr)); column-gap: 32px; padding-top: 32px; }
  .timeline::before, .timeline::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: var(--line); }
  .timeline::after { height: 2px; background: var(--accent); transform-origin: 0 50%; }
  .timeline__item { padding-left: 0; border-left: 0; }
}
@media (min-width: 900px) and (prefers-reduced-motion: no-preference) {
  .js .timeline::after { transform: scaleX(0); transition: transform 1.6s var(--ease-out) .25s; }
  .js .timeline.is-in::after { transform: scaleX(1); }
}

.wwd { display: grid; gap: clamp(28px, 4vw, 64px); }
.wwd__media { margin: 0; overflow: hidden; border-radius: var(--r-card); aspect-ratio: 4 / 3; background: var(--surface-1); }
.wwd__media img { width: 100%; height: 100%; object-fit: cover; object-position: 55% 50%; }
.wwd__title { font-size: clamp(1.875rem, 1.2rem + 1.8vw, 2.875rem); }
.wwd__lead { margin-top: 18px; font-size: clamp(1.1875rem, 1rem + .5vw, 1.375rem); line-height: 1.45; }
.wwd__items { margin-top: 28px; display: grid; }
.wwd__item { display: flex; gap: 18px; padding-block: 22px; border-top: 1px solid var(--line); }
.wwd__item h4 { font-size: 1.1875rem; line-height: 1.3; letter-spacing: -.01em; }
.wwd__item p { margin-top: 6px; color: var(--text-2); }
@media (min-width: 1024px) {
  .wwd { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); align-items: stretch; }
  .wwd__media { aspect-ratio: auto; min-height: 560px; }
  .wwd__items { padding-bottom: 0; }
  .wwd__item:last-child { padding-bottom: 0; }
}

/* ---------- At a glance bento (6 cells) ---------- */
.glance { padding-top: calc(var(--section-y) * .5); }
.bento { display: grid; gap: clamp(12px, 1.4vw, 20px); grid-template-columns: minmax(0, 1fr); }
.cell {
  position: relative; isolation: isolate; overflow: hidden;
  container-type: inline-size;
  display: flex; flex-direction: column; justify-content: space-between; gap: 28px;
  min-height: 280px;
  padding: clamp(24px, 3vw, 40px);
  border-radius: var(--r-card);
  background: var(--surface-1);
  color: var(--text);
}
.cell__figure {
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(3.5rem, 2.4rem + 4vw, 7rem);
  font-size: clamp(3rem, 26cqi, 8rem);
  line-height: .86; letter-spacing: -.045em;
}
.cell__text h3 { font-size: clamp(1.375rem, 1.05rem + .9vw, 1.875rem); }
.cell__text p { margin-top: 10px; max-width: 40ch; color: var(--text-2); }
.cell__img { position: absolute; inset: 0; z-index: -2; }
.cell__img img { width: 100%; height: 100%; object-fit: cover; }

/* green block, white labels (client choice) */
.cell--desk { background: var(--accent); }
.cell--desk .cell__figure { font-size: clamp(3rem, 2rem + 4vw, 7rem); font-size: clamp(3rem, 17cqi, 8.5rem); }
.cell--desk .cell__figure, .cell--desk h3, .cell--desk p { color: var(--accent-ink); }

/* photo cells: dark scrim, white text */
.cell--media { justify-content: flex-end; gap: 18px; min-height: 380px; color: var(--on-image); }
.cell--media::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(to top, rgba(6, 13, 9, .94) 0%, rgba(6, 13, 9, .78) 34%, rgba(6, 13, 9, .3) 60%, rgba(6, 13, 9, 0) 82%);
}
.cell--media .cell__text p { color: var(--on-image); }
.cell--longterm .cell__img img { object-position: 50% 30%; }
.cell--offshore .cell__img img { object-position: 50% 35%; }
.cell--offshore::after {
  background:
    linear-gradient(90deg, rgba(6, 13, 9, .94) 0%, rgba(6, 13, 9, .84) 42%, rgba(6, 13, 9, .34) 72%, rgba(6, 13, 9, .08) 100%),
    linear-gradient(to top, rgba(6, 13, 9, .9) 0%, rgba(6, 13, 9, .4) 45%, rgba(6, 13, 9, 0) 75%);
}

/* light text cells */
.cell--est { background: var(--surface-2); }
.cell--brokers { background: #FFFFFF; border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.cell--brokers .cell__figure { font-size: clamp(4.5rem, 3rem + 4vw, 8rem); font-size: clamp(4.5rem, 46cqi, 9.5rem); }
/* 500+: pale wash of the brand green (replaces the dark chart texture of V3) */
.cell--charters { background: linear-gradient(160deg, #EEF3E8 0%, var(--wash) 100%); }

@media (min-width: 640px) and (max-width: 1023px) {
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cell--desk { grid-column: 1 / -1; }
  .cell--longterm { grid-row: span 2; }
}
@media (min-width: 1024px) {
  .bento {
    grid-template-columns: repeat(12, minmax(0, 1fr));
    grid-template-rows: minmax(320px, auto) minmax(300px, auto) minmax(340px, auto);
  }
  .cell--desk     { grid-column: 1 / span 7;  grid-row: 1; }
  .cell--longterm { grid-column: 8 / span 5;  grid-row: 1 / span 2; }
  .cell--est      { grid-column: 1 / span 4;  grid-row: 2; }
  .cell--brokers  { grid-column: 5 / span 3;  grid-row: 2; }
  .cell--charters { grid-column: 1 / span 5;  grid-row: 3; }
  .cell--offshore { grid-column: 6 / span 7;  grid-row: 3; }
}

/* ---------- Services: sticky stack (5 white cards) ---------- */
.stack { display: grid; gap: 20px; }
.stack-card__inner {
  position: relative; overflow: hidden;
  display: grid;
  border-radius: var(--r-card);
  background: #FFFFFF;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-md);
  transform-origin: 50% 0%;
}
.stack-card__media { aspect-ratio: 4 / 3; overflow: hidden; }
.stack-card__media img { width: 100%; height: 100%; object-fit: cover; }
.stack-card__media--dusk img { object-position: 76% 50%; }
.stack-card__media--rov img { object-position: 15% 12%; }
.stack-card__body {
  display: flex; flex-direction: column; gap: 28px;
  padding: clamp(24px, 3.6vw, 52px);
}
.stack-card__head { display: flex; align-items: center; gap: 16px; }
.stack-card h3 { font-size: clamp(1.75rem, 1.1rem + 1.6vw, 2.5rem); }
.stack-card__text p { color: var(--text-2); }
.stack-card__text p + p { margin-top: 14px; }
.stack-card__text .stack-card__intro {
  color: var(--text);
  font-size: clamp(1.125rem, 1rem + .4vw, 1.3125rem); line-height: 1.45;
}
.stack-card__text .stack-card__intro + p { margin-top: 18px; }
/* the receding card fades toward the page white */
.stack-card__dim { position: absolute; inset: 0; background: var(--bg); opacity: 0; pointer-events: none; }

.gloss {
  margin: 22px 0 0; padding-top: 20px; border-top: 1px solid var(--line);
  display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px 28px;
}
.gloss div { display: flex; align-items: baseline; gap: 12px; }
.gloss dt { flex: none; min-width: 3.3em; font-size: .875rem; font-weight: 700; letter-spacing: .02em; color: var(--accent-text); }
.gloss dd { margin: 0; font-size: .9375rem; line-height: 1.4; color: var(--text-2); }
@media (min-width: 560px) { .gloss { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.sub-blocks { margin-top: 22px; padding-top: 20px; border-top: 1px solid var(--line); display: grid; gap: 18px 28px; }
.sub-blocks h4 { margin-bottom: 6px; font-family: var(--font-body); font-size: 1rem; font-weight: 700; letter-spacing: 0; color: var(--accent-text); }
.sub-blocks p { font-size: 1rem; line-height: 1.55; }
@media (min-width: 1200px) { .sub-blocks { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

@media (min-width: 900px) {
  .stack-card__inner { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); }
  .stack-card__media { aspect-ratio: auto; min-height: 480px; }
}
/* Sticky stacking only where a full card fits the viewport and motion is welcome */
@media (min-width: 1280px) and (min-height: 800px) and (prefers-reduced-motion: no-preference) {
  .stack { gap: 0; }
  .stack-card {
    position: sticky;
    top: calc(var(--nav-top) + var(--nav-h) + 20px + var(--i) * 14px);
    margin-bottom: 22vh;
  }
  .stack-card:last-child { margin-bottom: 0; }
  .stack-card__inner { min-height: clamp(580px, calc(100vh - 230px), 680px); min-height: clamp(580px, calc(100svh - 230px), 680px); }
  .stack-card__media { min-height: 0; }
}

/* ---------- Vessel coverage ---------- */
.coverage { padding-top: calc(var(--section-y) * .7); }
.coverage__media {
  margin: 0; overflow: hidden;
  border-radius: var(--r-card);
  aspect-ratio: 4 / 3;
  background: var(--surface-1);
}
.coverage__media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; transform-origin: 50% 40%; }
.coverage__panel {
  position: relative;
  margin: -40px 12px 0;
  padding: clamp(24px, 3.5vw, 48px);
  display: grid; gap: 36px 32px; grid-template-columns: minmax(0, 1fr);
  border-radius: var(--r-card);
  background: #FFFFFF;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-lg);
}
.vessel-group h3 {
  display: flex; align-items: flex-end; gap: 12px;
  padding-bottom: 16px; margin-bottom: 18px;
  border-bottom: 1px solid var(--line);
  font-size: 1.1875rem; line-height: 1.25; letter-spacing: -.01em;
}
.vessel-group h3 .ph { flex: none; font-size: 24px; color: var(--accent-text); }
.vessel-group ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.vessel-group li { font-size: 1rem; line-height: 1.4; color: var(--text-2); }
@media (min-width: 640px) {
  .coverage__panel { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 768px) {
  .coverage__media { aspect-ratio: 21 / 9; }
}
@media (min-width: 1100px) {
  .coverage__panel { grid-template-columns: repeat(4, minmax(0, 1fr)); margin: -150px 0 0 5%; }
  .vessel-group h3 { min-height: calc(2.5em + 16px); }
}

/* ---------- Areas of operation ---------- */
.areas__grid { display: grid; gap: 40px; }
/* top and right edges fade into the white page */
.areas__map {
  margin: 0; width: 100%; max-width: 520px; justify-self: center;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 16%), linear-gradient(to left, transparent 0, #000 16%);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(to bottom, transparent 0, #000 16%), linear-gradient(to left, transparent 0, #000 16%);
  mask-composite: intersect;
}
.areas__map img { width: 100%; height: auto; }
.regions { display: grid; grid-template-columns: minmax(0, 1fr); column-gap: 32px; }
.region {
  display: grid; grid-template-columns: 4.25rem minmax(0, 1fr); column-gap: 16px; align-content: start;
  padding-block: 22px;
  border-top: 1px solid var(--line);
}
.region__count {
  grid-row: span 2;
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(2.5rem, 1.9rem + 1.4vw, 3.25rem); line-height: .9; letter-spacing: -.04em;
  color: var(--accent-text);
}
.region h3 { font-size: 1.25rem; letter-spacing: -.01em; }
.region p:last-child { margin-top: 6px; color: var(--text-2); font-size: 1rem; line-height: 1.5; }
@media (min-width: 640px) {
  .regions { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1024px) and (max-width: 1279px) {
  .regions { grid-template-columns: minmax(0, 1fr); }
}
@media (min-width: 1024px) {
  .areas__grid { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); grid-template-rows: auto 1fr; column-gap: 72px; row-gap: 48px; }
  .areas__intro { grid-column: 1; grid-row: 1; }
  .regions { grid-column: 1; grid-row: 2; align-self: start; }
  .areas__map { grid-column: 2; grid-row: 1 / span 2; align-self: center; max-width: 540px; }
}

/* ---------- Quote (card in the group photo's own white) ---------- */
.quote { padding-top: 0; }
.quote-card {
  margin: 0; overflow: hidden;
  border-radius: var(--r-card);
  background: var(--paper);
  border: 1px solid rgba(15, 26, 20, .07);
}
.quote-card__top { padding: clamp(28px, 5vw, 72px) clamp(24px, 5vw, 72px) 0; }
.quote-card__text { margin: 0; }
.quote-card__text p {
  font-family: var(--font-display); font-weight: 500;
  font-size: clamp(1.25rem, .8rem + 2vw, 2.625rem); line-height: 1.2; letter-spacing: -.02em;
  text-wrap: pretty;
}
.quote-card__meta {
  margin-top: clamp(28px, 3vw, 40px);
  display: flex; align-items: flex-end; justify-content: space-between; gap: 24px;
}
.quote-card__who { display: grid; gap: 2px; padding-left: 16px; border-left: 3px solid var(--accent); }
.quote-card__who strong { font-family: var(--font-display); font-weight: 700; font-size: 1.1875rem; }
.quote-card__who span { color: var(--text-2); font-size: .9375rem; }
.quote-card__seal { width: clamp(92px, 11vw, 148px); height: auto; }
.quote-card__photo { margin-top: 12px; aspect-ratio: 3 / 2; overflow: hidden; }
.quote-card__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 10%; }
@media (min-width: 768px) {
  .quote-card__photo { aspect-ratio: 21 / 10; margin-top: 0; }
}

/* ---------- Compliance (light section, accordion as cards) ---------- */
.compliance__grid { display: grid; gap: 40px; }
@media (min-width: 1024px) {
  .compliance__grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); column-gap: 72px; align-items: start; }
}
.credentials { list-style: none; margin: 28px 0 0; padding: 0; display: grid; gap: 14px; }
.credentials li { display: flex; align-items: center; gap: 14px; font-size: 1.0625rem; font-weight: 700; }
.compliance__media {
  margin: 36px 0 0; overflow: hidden;
  border-radius: var(--r-card);
  aspect-ratio: 16 / 11;
  background: var(--surface-1);
}
.compliance__media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 55%; }
@media (min-width: 640px) and (max-width: 1023px) {
  .compliance__media { aspect-ratio: 21 / 9; }
}

.accordion { display: grid; gap: 12px; }
.acc-item {
  padding: 0 clamp(18px, 2.6vw, 30px);
  border-radius: var(--r-card);
  background: var(--surface-1);
  border: 1px solid transparent;
}
.acc-item:has(.acc-item__btn[aria-expanded="true"]) {
  background: #FFFFFF;
  border-color: var(--line);
  box-shadow: var(--shadow-md);
}
.acc-item__h { font-size: inherit; }
.acc-item__btn {
  width: 100%;
  display: flex; align-items: center; gap: 18px;
  padding: 20px 0;
  background: none; border: 0; text-align: left; cursor: pointer;
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(1.25rem, 1rem + .8vw, 1.625rem); line-height: 1.2; letter-spacing: -.01em;
  color: var(--text);
  border-radius: var(--r-card);
}
.acc-item__label { flex: 1; }
.acc-item__sign { font-size: 22px; color: var(--text-2); transition: transform .5s var(--ease-out); }
.acc-item__btn[aria-expanded="true"] .acc-item__sign { transform: rotate(45deg); color: var(--accent-text); }
.acc-item__panel { padding: 0 0 26px 66px; }
.acc-item__panel p { max-width: 58ch; color: var(--text-2); }
@media (max-width: 559px) {
  .acc-item__panel { padding-left: 0; }
}
@media (prefers-reduced-motion: no-preference) {
  .acc-item__panel:not([hidden]) { animation: accIn .5s var(--ease-out); }
  @keyframes accIn { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
}

/* tagline closes the right column, under the accordion */
.compliance__tagline {
  margin: clamp(48px, 5.5vw, 76px) 0 0 0;
  max-width: 22ch;
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(1.875rem, 1rem + 2.4vw, 3.25rem); line-height: 1.06; letter-spacing: -.025em;
  text-wrap: balance;
  color: var(--text);
}

/* ---------- Team (3 x 2) ---------- */
.team-grid { display: grid; gap: 28px; grid-template-columns: minmax(0, 1fr); }
.person { margin: 0; min-width: 0; display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 18px; align-items: start; }
.person__photo { overflow: hidden; border-radius: var(--r-card); aspect-ratio: 1 / 1; background: var(--surface-2); }
.person__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 22%; transition: transform .9s var(--ease-out); }
.person:hover .person__photo img { transform: scale(1.05); }
.person__info { display: grid; gap: 2px; align-content: start; }
.person__name { font-family: var(--font-display); font-weight: 700; font-size: 1.1875rem; line-height: 1.25; letter-spacing: -.01em; }
.person__role { font-weight: 500; }
.person__spec { margin-top: 8px; font-size: .9375rem; font-weight: 700; color: var(--accent-text); }
.person__since { font-size: .9375rem; line-height: 1.45; color: var(--text-2); }
.person__tel {
  justify-self: start;
  display: inline-flex; align-items: center; gap: 8px;
  margin-top: 10px; padding-bottom: 3px;
  font-weight: 700; font-size: .9375rem; text-decoration: none;
  background-image: linear-gradient(var(--accent), var(--accent));
  background-size: 100% 2px; background-position: 0 100%; background-repeat: no-repeat;
}
.person__tel .ph { color: var(--accent-text); font-size: 17px; }
.person__tel:hover { color: var(--accent-text); }

/* green block, white labels (client choice) */
.desk-card {
  display: flex; flex-direction: column; justify-content: flex-end; gap: 10px;
  min-height: 260px;
  padding: clamp(24px, 3vw, 36px);
  border-radius: var(--r-card);
  background: var(--accent);
  color: var(--accent-ink);
}
.desk-card h3 { font-size: clamp(1.75rem, 1.2rem + 1.6vw, 2.5rem); line-height: 1.04; }
.desk-card__cities { font-size: 1.0625rem; font-weight: 500; }
.desk-card__links { list-style: none; margin: 14px 0 0; padding: 18px 0 0; border-top: 1px solid rgba(255, 255, 255, .32); display: grid; gap: 10px; }
.desk-card__links a { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; text-decoration: none; overflow-wrap: anywhere; }
.desk-card__links a:hover { text-decoration: underline; text-underline-offset: 4px; }
.desk-card__links .ph { flex: none; font-size: 19px; }

@media (min-width: 640px) {
  .team-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px 20px; }
  .person { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .person__photo { aspect-ratio: 1 / 1.05; }
}
@media (min-width: 1024px) {
  .team-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 48px 24px; }
}

/* ---------- Contact ---------- */
.contact { padding-top: 0; }
.contact-card {
  display: grid; overflow: hidden;
  border-radius: var(--r-card);
  background: var(--surface-1);
}
.contact-card__body {
  display: flex; flex-direction: column; justify-content: center; gap: 34px;
  padding: clamp(28px, 5vw, 64px);
}
.contact-list { margin: 0; display: grid; gap: 24px; grid-template-columns: minmax(0, 1fr); }
.contact-list dt { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; font-size: .9375rem; color: var(--text-2); }
.contact-list dt .ph { font-size: 19px; color: var(--accent-text); }
.contact-list dd {
  margin: 0;
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(1.1875rem, 1rem + .6vw, 1.5rem); line-height: 1.3; letter-spacing: -.01em;
  overflow-wrap: anywhere;
}
.contact-list dd a {
  text-decoration: none;
  background-image: linear-gradient(var(--accent), var(--accent));
  background-size: 100% 2px; background-position: 0 100%; background-repeat: no-repeat;
  padding-bottom: 3px;
}
.contact-list dd a:hover { color: var(--accent-text); }
.contact-map { margin: 0; padding: 0 clamp(12px, 2vw, 24px) clamp(16px, 2vw, 24px); display: flex; flex-direction: column; justify-content: center; }
.contact-map__frame {
  overflow: hidden; border-radius: var(--r-card); aspect-ratio: 515 / 335;
  background: #FBFBFA;
  box-shadow: var(--shadow-sm);
}
.contact-map__frame img { width: 100%; height: 100%; object-fit: cover; object-position: 46% 50%; transform: scale(1.012); }
.contact-map figcaption { margin-top: 8px; text-align: right; font-size: .8125rem; color: var(--text-2); }
@media (min-width: 1024px) {
  .contact-card { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
  .contact-map { padding: 24px 24px 18px 0; }
  .contact-map__frame { flex: 1; aspect-ratio: auto; min-height: 520px; }
  .contact-map__frame img { transform: scale(1.03); }
}

/* ---------- Footer (V1 composition: the only dark band, a photo band) ---------- */
.footer {
  position: relative; isolation: isolate; overflow: hidden;
  padding-top: clamp(300px, 31vw, 470px);
  background: var(--footer-bg);
  color: var(--on-image);
}
.footer__media {
  position: absolute; inset: 0 0 auto 0; z-index: -1;
  height: clamp(360px, 42vw, 660px);
  overflow: hidden;
}
.footer__media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 58%; }
/* fades in from the page white at the top, settles into #0F1A14 under the text */
.footer__media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg,
    #FFFFFF 0%,
    rgba(255, 255, 255, .6) 12%,
    rgba(255, 255, 255, 0) 30%,
    rgba(15, 26, 20, 0) 40%,
    rgba(15, 26, 20, .5) 60%,
    rgba(15, 26, 20, .9) 78%,
    var(--footer-bg) 92%);
}
.footer__inner { padding-bottom: 36px; }
.footer__top {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 28px 48px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, .18);
}
.footer__logo { display: inline-block; }
.footer__logo img { display: block; height: 30px; width: auto; }
.footer__nav { display: flex; flex-wrap: wrap; gap: 12px 32px; }
.footer__nav a, .footer__legal a {
  font-size: 13px; font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase; text-decoration: none;
  color: var(--on-image);
}
.footer__nav a:hover, .footer__legal a:hover { text-decoration: underline; text-underline-offset: 5px; }
.footer__bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between;
  gap: 16px 32px;
  padding-top: 28px;
  font-size: 14px; color: rgba(255, 255, 255, .78);
}
.footer__legal { display: flex; flex-wrap: wrap; gap: 12px 28px; }
.footer__legal a { color: rgba(255, 255, 255, .78); }

/* ---------- Reduced motion: everything static ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .person:hover .person__photo img, .logo-grid li:hover img { transform: none; }
}
