/* Boost Global Marine, 2026-11-17 redesign. Hand-written; pages come from style/build_bgm.py.
   Structure after orismaritime.com (owner's pick of the design-awarded maritime sites, Awwwards Nominee
   2026): full-screen ship hero, a mono ticker, numbered sections with one emphasised word per headline,
   a one-at-a-time photo carousel with chips, a light closing band, a dark footer.
   Colours are BGM's own (owner: "same colors"): grounds from Ink #0E2433, BGM Sea #3A9CC6 for the
   emphasised word and the action pill on dark (Ink on Sea 5.1:1), BGM Deep #00577C for actions on light.
   Type is IBM Plex (the brand family): Light for display, Mono for labels.
   Bump ASSET_VERSION in the build when this file changes. */

@font-face { font-family: "Plex"; src: url("fonts/ibm-plex-sans-latin-300-normal.woff2") format("woff2"); font-weight: 300; font-style: normal; font-display: swap; }
@font-face { font-family: "Plex"; src: url("fonts/ibm-plex-sans-latin-300-italic.woff2") format("woff2"); font-weight: 300; font-style: italic; font-display: swap; }
@font-face { font-family: "Plex"; src: url("fonts/ibm-plex-sans-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Plex"; src: url("fonts/ibm-plex-sans-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Plex"; src: url("fonts/ibm-plex-sans-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Plex Cond"; src: url("fonts/ibm-plex-sans-condensed-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Barlow"; src: url("fonts/barlow-latin-300-normal.woff2") format("woff2"); font-weight: 300; font-style: normal; font-display: swap; }
@font-face { font-family: "Barlow"; src: url("fonts/barlow-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Plex Mono"; src: url("fonts/ibm-plex-mono-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Plex Mono"; src: url("fonts/ibm-plex-mono-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-display: swap; }

:root {
  color-scheme: only light;
  --night: #07131C;      /* deepest ground */
  --ink: #0E2433;        /* brand ink: the main dark ground */
  --panel: #0B1C29;      /* cards on dark */
  --panel-2: #112B3D;
  --line: rgba(183, 194, 206, .16);
  --t1: #F4F6F8;         /* headings on dark */
  --t2: #B7C2CE;         /* body on dark, 9.6:1 on ink */
  --t3: #8E9DAE;         /* labels on dark, 5.8:1 on ink */
  --sea: #3A9CC6;        /* BGM Sea: the emphasised word, the pill on dark, 5.1:1 on ink */
  --sea-2: #5BB2D6;      /* hover on dark */
  --deep: #00577C;       /* BGM Deep: actions on light, 7.2:1 on mist */
  --deep-2: #003F5A;
  --mist: #F2F5F7;       /* the light band */
  --slate: #56677A;      /* muted text on light, 5.3:1 on mist */
  --wrap: 1440px;
  --gut: clamp(1.25rem, 3vw, 2.5rem);
  --ease: cubic-bezier(.22, 1, .36, 1);
  --display: "Plex", "Segoe UI", Arial, sans-serif;
  --mono: "Plex Mono", ui-monospace, Consolas, monospace;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--ink); color: var(--t2); font: 400 1rem/1.62 var(--display); }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
button { font: inherit; }
:focus-visible { outline: 2px solid var(--sea); outline-offset: 3px; border-radius: 4px; }
.skip { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip:focus { position: fixed; z-index: 100; top: 1rem; left: 1rem; width: auto; height: auto; clip-path: none; background: var(--t1); color: var(--ink); padding: .6rem 1rem; border-radius: 6px; }
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gut); }
em.hl { font-style: normal; color: var(--sea); }
.light em.hl { color: var(--deep); }

/* ---------- labels, buttons ---------- */
.mono { font: 500 .72rem/1.5 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--t3); }
.num-label { display: flex; gap: .9rem; align-items: baseline; }
.num-label b { font-weight: 500; color: var(--t1); }
.pill {
  display: inline-flex; align-items: center; gap: .7rem; min-height: 3rem; padding: .7rem 1.5rem;
  border-radius: 999px; font: 500 .78rem/1 var(--display); letter-spacing: .1em; text-transform: uppercase;
  text-decoration: none; border: 1px solid transparent; cursor: pointer;
  transition: background .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease), transform .2s var(--ease);
}
.pill svg { width: 1.25rem; height: .75rem; transition: transform .25s var(--ease); }
.pill:hover svg { transform: translateX(4px); }
.pill-sea { background: var(--sea); color: var(--ink); }
.pill-sea:hover { background: var(--sea-2); }
.pill-line { border-color: rgba(244, 246, 248, .55); color: var(--t1); background: rgba(7, 19, 28, .18); }
.pill-line:hover { border-color: var(--t1); background: rgba(244, 246, 248, .08); }
.pill-line .dot { width: .45rem; height: .45rem; border-radius: 50%; background: var(--sea); }
.pill-deep { background: var(--deep); color: #fff; }
.pill-deep:hover { background: var(--deep-2); }
.link { font: 500 .74rem/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--t1); text-decoration: none; display: inline-flex; gap: .6rem; align-items: center; }
.link:hover { color: var(--sea-2); }
.link svg { width: 1.25rem; height: .75rem; flex: none; transition: transform .25s var(--ease); }
.link:hover svg { transform: translateX(4px); }
h1, h2, .h2 { text-wrap: balance; }

/* ---------- header ---------- */
.nav-bar { position: fixed; z-index: 50; inset: 0 0 auto 0; transition: background .35s var(--ease), box-shadow .35s var(--ease); }
.nav-bar.solid, body.no-hero .nav-bar { background: rgba(7, 19, 28, .92); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 1px 0 var(--line); }
.nav-in { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; padding-block: 1.1rem; }
.brand { display: flex; align-items: center; gap: .85rem; text-decoration: none; color: var(--t1); }
.brand-mark { width: 3.1rem; height: 3.1rem; border-radius: 12px; background: #fff; display: grid; place-items: center; flex: none; }
.brand-mark img { width: 2.3rem; height: auto; }
.brand-txt { display: grid; line-height: 1.1; }
.brand-name { font: 600 1.02rem/1.1 "Plex Cond", var(--display); letter-spacing: .04em; text-transform: uppercase; }
.brand-sub { font: 400 .72rem/1.4 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--t3); }
.nav { display: flex; align-items: center; gap: 2rem; }
.nav a:not(.pill) { font-size: .92rem; color: var(--t2); text-decoration: none; padding-block: .3rem; border-bottom: 1px solid transparent; }
.nav a:not(.pill):hover { color: var(--t1); }
.nav a[aria-current="page"] { color: var(--t1); border-bottom-color: var(--t1); }
.menu-btn { display: none; background: none; border: 1px solid rgba(244, 246, 248, .45); color: var(--t1); border-radius: 999px; padding: .55rem 1.1rem; font: 500 .74rem/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; cursor: pointer; }

/* ---------- hero ---------- */
.hero { position: relative; min-height: 100svh; display: grid; align-items: end; color: var(--t1); isolation: isolate; overflow: hidden; }
.hero-img { position: absolute; inset: 0; z-index: -2; }
.hero-img img { width: 100%; height: 100%; object-fit: cover; object-position: 55% 50%; animation: drift 24s var(--ease) both; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(7, 19, 28, .55) 0%, rgba(7, 19, 28, 0) 22%),
              linear-gradient(90deg, rgba(7, 19, 28, .62) 0%, rgba(7, 19, 28, .22) 42%, rgba(7, 19, 28, 0) 64%),
              linear-gradient(0deg, rgba(7, 19, 28, .9) 0%, rgba(7, 19, 28, .3) 30%, rgba(7, 19, 28, 0) 52%); }
.hero-in { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 2rem; padding-block: 0 clamp(2.5rem, 7vh, 4.5rem); }
.hero .kicker { color: var(--t1); max-width: 44ch; margin-bottom: 1.4rem; }
.hero h1 { font: 300 clamp(3rem, 6.4vw, 6rem)/.96 var(--display); letter-spacing: -.035em; color: var(--t1); }
.hero h1 span { display: block; }
.hero .lede { margin-top: 1.6rem; max-width: 44ch; color: var(--t1); font-size: 1.02rem; opacity: .92; }
.rise { animation: rise 1.1s var(--ease) both; }
.rise.d2 { animation-delay: .12s; } .rise.d3 { animation-delay: .24s; } .rise.d4 { animation-delay: .36s; }
@keyframes rise { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
@keyframes drift { from { transform: scale(1.08); } to { transform: scale(1); } }

/* ---------- ticker ---------- */
.ticker { background: var(--night); border-block: 1px solid var(--line); overflow: hidden; }
.ticker-track { display: flex; width: max-content; animation: tick 70s linear infinite; }
.ticker:hover .ticker-track { animation-play-state: paused; }
.ticker ul { display: flex; align-items: center; flex: none; }
.ticker li { display: flex; align-items: center; gap: 1.1rem; padding: 1.15rem 1.1rem; white-space: nowrap; font: 500 .74rem/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--t2); }
.ticker li b { color: var(--t1); font-weight: 500; }
.ticker li::after { content: ""; width: .32rem; height: .32rem; border-radius: 50%; background: var(--sea); }
@keyframes tick { to { transform: translateX(-50%); } }

/* ---------- sections ---------- */
.sec { padding-block: clamp(4.5rem, 10vw, 8.5rem); }
.sec-night { background: var(--night); }
.sec-ink { background: var(--ink); }
.sec-head { display: grid; grid-template-columns: minmax(10rem, 1fr) 3fr auto; gap: 2rem; align-items: end; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.sec-head h2, .h2 { font: 300 clamp(2.1rem, 3.9vw, 3.6rem)/1.06 var(--display); letter-spacing: -.025em; color: var(--t1); }
.sec-head .link { justify-self: end; }
h3 { font: 400 1.32rem/1.25 var(--display); color: var(--t1); letter-spacing: -.01em; }
.lede { font-size: 1.08rem; line-height: 1.6; }

/* 02 about */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 6vw, 6rem); align-items: start; }
.about-grid .big { font: 300 clamp(1.25rem, 1.9vw, 1.55rem)/1.45 var(--display); color: var(--t1); }
.about-grid .small { margin-top: 1.4rem; color: var(--t2); }
.about-foot { margin-top: 2.5rem; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap; padding-top: 1.5rem; border-top: 1px solid var(--line); }

/* 03 services carousel */
.car { position: relative; }
.car-stage { position: relative; aspect-ratio: 16 / 7.4; min-height: 30rem; border-radius: 18px; overflow: hidden; background: var(--panel); }
.slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity .7s var(--ease), visibility 0s .7s; }
.slide.on { opacity: 1; visibility: visible; transition: opacity .7s var(--ease); }
.slide img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.04); transition: transform 4s var(--ease); }
.slide.on img { transform: scale(1); }
.slide::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(7, 19, 28, .9) 0%, rgba(7, 19, 28, .55) 42%, rgba(7, 19, 28, .05) 75%), linear-gradient(0deg, rgba(7, 19, 28, .7) 0%, rgba(7, 19, 28, 0) 45%); }
.slide-txt { position: absolute; z-index: 1; left: clamp(1.25rem, 3.5vw, 3rem); bottom: clamp(1.5rem, 3.5vw, 3rem); right: clamp(1.25rem, 3.5vw, 3rem); max-width: 40rem; }
.slide-txt .mono { color: var(--t2); display: flex; align-items: center; gap: .8rem; }
.slide-txt .mono::before { content: ""; width: 2rem; height: 1px; background: var(--sea); }
.slide-txt h3 { font: 300 clamp(2rem, 4.2vw, 3.7rem)/1.02 var(--display); letter-spacing: -.03em; margin-top: .9rem; }
.slide-txt p { margin-top: .9rem; color: var(--t1); max-width: 36ch; }
.chips { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.4rem; }
.chips li { border: 1px solid rgba(244, 246, 248, .22); background: rgba(7, 19, 28, .45); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); border-radius: 8px; padding: .55rem .8rem; font: 500 .72rem/1.2 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--t1); }
.slide-go { margin-top: 1.6rem; }
.car-count { position: absolute; z-index: 2; top: 1.25rem; right: 1.25rem; padding: .45rem .7rem; border-radius: 6px; background: rgba(7, 19, 28, .6); color: var(--t1); }
.car-ctl { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-top: 1.25rem; }
.car-btn { width: 3rem; height: 3rem; border-radius: 50%; border: 1px solid var(--line); background: transparent; color: var(--t1); cursor: pointer; display: grid; place-items: center; transition: border-color .2s, background .2s; }
.car-btn:hover { border-color: var(--t1); background: rgba(244, 246, 248, .06); }
.car-btn svg { width: 1rem; height: 1rem; }
.car-dots { display: flex; gap: .45rem; }
/* Each dot is a fixed 2rem target (an 8px dot was too small to press); the active bar grows with
   transform, not width, so nothing reflows. A resting dot is a true circle (::before); the bar (::after)
   scales in over it. */
.car-dots button { position: relative; width: 2rem; height: 1.5rem; border: 0; background: none; padding: 0; cursor: pointer; }
.car-dots button::before, .car-dots button::after { content: ""; position: absolute; left: 0; top: 50%; height: .5rem; margin-top: -.25rem; border-radius: 999px; }
.car-dots button::before { width: .5rem; background: rgba(183, 194, 206, .35); }
.car-dots button::after { width: 100%; background: var(--sea); transform: scaleX(.25); transform-origin: left center; opacity: 0; transition: transform .35s var(--ease), opacity .2s; }
.car-dots button[aria-current="true"]::after { transform: scaleX(1); opacity: 1; }
.car-names { display: flex; gap: .4rem 1.6rem; flex-wrap: wrap; }
.car-names button { background: none; border: 0; padding: .25rem 0; color: var(--t3); cursor: pointer; font: 500 .72rem/1.4 var(--mono); letter-spacing: .12em; text-transform: uppercase; border-bottom: 1px solid transparent; }
.car-names button[aria-current="true"] { color: var(--t1); border-bottom-color: var(--sea); }

/* 04 standards: three disciplines */
.cols3 { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--line); border-radius: 18px; overflow: hidden; }
.col { padding: clamp(1.5rem, 3vw, 2.5rem); background: var(--panel); }
.col + .col { border-left: 1px solid var(--line); }
.col:nth-child(2) { background: var(--panel-2); }
.ico { width: 2.75rem; height: 2.75rem; border-radius: 50%; background: var(--sea); color: var(--ink); display: grid; place-items: center; margin-bottom: 1.6rem; }
.ico svg { width: 1.3rem; height: 1.3rem; }
.col p { margin-top: .8rem; }
.ticks { margin-top: 1.6rem; display: grid; gap: .7rem; }
.ticks li { display: grid; grid-template-columns: .5rem 1fr; gap: .9rem; align-items: baseline; font: 500 .72rem/1.55 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--t1); }
.ticks li::before { content: ""; width: .32rem; height: .32rem; border-radius: 50%; background: var(--sea); transform: translateY(-.1rem); }
.ticks li span { display: block; text-transform: none; letter-spacing: 0; font: 400 .86rem/1.45 var(--display); color: var(--t2); }

/* 05 steps: the numbers are steps, never statistics */
.steps4 { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); }
.step { padding: 1.4rem clamp(1rem, 2vw, 1.75rem) 0 0; }
.step + .step { border-left: 1px solid var(--line); padding-left: clamp(1rem, 2vw, 1.75rem); }
.step .mono { display: block; }
.step .n { font: 300 clamp(3rem, 5.6vw, 5rem)/1 var(--display); letter-spacing: -.04em; color: var(--t1); margin: 1rem 0 1.4rem; }
.step h3 { font-size: 1.12rem; }
.step p { margin-top: .6rem; font-size: .95rem; }

/* 06 base */
.base { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.base h2 { font: 300 clamp(2rem, 3.6vw, 3.3rem)/1.08 var(--display); letter-spacing: -.02em; text-transform: uppercase; color: var(--t1); margin-top: 1rem; }
.base .lede { margin-top: 1.4rem; }
.readouts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.6rem 2rem; margin-top: 2.2rem; }
.readouts b { display: block; font: 300 clamp(1.6rem, 2.4vw, 2.2rem)/1.1 var(--display); color: var(--t1); letter-spacing: -.02em; }
.readouts .mono { display: block; margin-top: .45rem; }
.reach { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 2rem; }
.reach li { border: 1px solid var(--line); border-radius: 999px; padding: .45rem .9rem; font: 500 .72rem/1.2 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--t1); }
.map { position: relative; border-radius: 18px; overflow: hidden; }
.map img { width: 100%; filter: saturate(.75) brightness(.8) contrast(1.05); }
.map::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(7, 19, 28, .55), rgba(7, 19, 28, 0) 45%); }
.pin { position: absolute; z-index: 1; left: var(--x); top: var(--y); transform: translate(-50%, -50%); }
.pin i { display: block; width: .9rem; height: .9rem; border-radius: 50%; background: var(--sea); box-shadow: 0 0 0 4px rgba(58, 156, 198, .35); }
.pin i::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--sea); animation: ping 2.4s var(--ease) infinite; }
.pin span { position: absolute; left: 1.4rem; top: 50%; transform: translateY(-50%); white-space: nowrap; background: rgba(7, 19, 28, .82); color: var(--t1); padding: .35rem .6rem; border-radius: 6px; }
.map .cap { position: absolute; z-index: 1; left: 1rem; bottom: .9rem; color: var(--t2); }
@keyframes ping { from { transform: scale(1); opacity: .9; } to { transform: scale(3.2); opacity: 0; } }

/* 07 faq */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 2rem; align-items: center; padding: 1.4rem 0; font: 300 clamp(1.15rem, 1.7vw, 1.45rem)/1.35 var(--display); color: var(--t1); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font: 300 1.6rem/1 var(--display); color: var(--sea); transition: transform .3s var(--ease); flex: none; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 0 1.6rem; max-width: 70ch; }
.split2 { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(2rem, 6vw, 6rem); }

/* the light closing band */
.light { background: var(--mist); color: var(--slate); }
.light .h2, .light h2, .light h3 { color: var(--ink); }
.light .mono { color: var(--slate); }
.close-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(2rem, 6vw, 6rem); align-items: end; }
.close-grid .h2 { font-size: clamp(2.4rem, 5vw, 4.6rem); line-height: 1.02; }
.close-grid .h2 i { font-style: italic; color: var(--deep); display: block; }
.close-grid p { color: var(--slate); }
.close-grid .pill { margin-top: 1.6rem; }
.contact-lines { margin-top: 2rem; display: grid; gap: .5rem; }
.contact-lines a { text-decoration: none; color: var(--ink); }
.contact-lines a:hover { color: var(--deep); text-decoration: underline; }

/* the dusk photo band before the footer */
.dusk { position: relative; min-height: clamp(22rem, 52vh, 34rem); display: grid; align-items: end; overflow: hidden; isolation: isolate; color: var(--t1); }
.dusk img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.dusk::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(7, 19, 28, .95) 0%, rgba(7, 19, 28, .2) 60%, rgba(7, 19, 28, .1) 100%); }
.dusk .wrap { padding-block: clamp(2.5rem, 6vw, 4.5rem); }
.dusk p.h2 { max-width: 18ch; }

/* footer */
.foot { background: var(--night); padding-block: clamp(3.5rem, 7vw, 5.5rem) 2rem; border-top: 1px solid var(--line); }
.foot-grid { display: grid; grid-template-columns: minmax(0, 5fr) repeat(3, minmax(0, 2fr)); gap: 2rem; }
.foot .tag { font: 300 clamp(1.6rem, 2.6vw, 2.3rem)/1.15 var(--display); color: var(--t1); letter-spacing: -.02em; max-width: 18ch; }
.foot .small { margin-top: 1.2rem; font-size: .9rem; max-width: 40ch; }
.foot h2 { margin-bottom: 1rem; }
.foot li { margin-bottom: .55rem; }
.foot a { color: var(--t2); text-decoration: none; }
.foot a:hover { color: var(--t1); text-decoration: underline; }
.foot .ar { font-family: "Segoe UI", Tahoma, sans-serif; color: var(--t2); }
.foot-base { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; margin-top: clamp(2.5rem, 6vw, 4rem); padding-top: 1.4rem; border-top: 1px solid var(--line); }

/* ---------- inner pages ---------- */
.page-head { position: relative; min-height: clamp(26rem, 64vh, 40rem); display: grid; align-items: end; isolation: isolate; overflow: hidden; color: var(--t1); }
.page-head.plain { min-height: 0; padding-top: 9rem; background: var(--night); }
.page-head > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.page-head::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(7, 19, 28, .7) 0%, rgba(7, 19, 28, 0) 24%), linear-gradient(90deg, rgba(7, 19, 28, .85) 0%, rgba(7, 19, 28, .45) 55%, rgba(7, 19, 28, .2) 100%), linear-gradient(0deg, rgba(7, 19, 28, .85), rgba(7, 19, 28, 0) 55%); }
.page-head.plain::before { display: none; }
.page-head .wrap { padding-block: 0 clamp(2.5rem, 6vw, 4.5rem); }
.page-head h1 { font: 300 clamp(2.6rem, 5.4vw, 5rem)/1 var(--display); letter-spacing: -.03em; margin-top: 1.2rem; max-width: 18ch; }
.page-head .lede { margin-top: 1.3rem; max-width: 52ch; color: var(--t1); }
.jump { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 2rem; }
.jump a { display: inline-block; border: 1px solid rgba(244, 246, 248, .35); border-radius: 999px; padding: .5rem .95rem; font: 500 .72rem/1.2 var(--mono); letter-spacing: .1em; text-transform: uppercase; text-decoration: none; color: var(--t1); background: rgba(7, 19, 28, .3); }
.jump a:hover { border-color: var(--t1); }

.svc-row { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.svc-row figure { border-radius: 18px; overflow: hidden; position: sticky; top: 6.5rem; }
.svc-row figure img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.svc-row h2 { font: 300 clamp(2rem, 3.6vw, 3.2rem)/1.06 var(--display); letter-spacing: -.025em; color: var(--t1); margin-top: 1rem; }
.svc-row .lede { margin-top: 1.2rem; color: var(--t2); }
.groups { display: grid; gap: 2rem; margin-top: 2.2rem; }
.groups h3 { font-size: 1.05rem; margin-bottom: .2rem; }
.items { border-top: 1px solid var(--line); }
.items li { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); gap: 1.5rem; padding: 1rem 0; border-bottom: 1px solid var(--line); }
.items b { font: 500 .74rem/1.5 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--t1); }
.items span { font-size: .95rem; }
.svc-row .pill { margin-top: 2.2rem; }

.prose p + p { margin-top: 1.1rem; }
.prose { max-width: 68ch; }
.values { margin-top: 2rem; border-top: 1px solid var(--line); }
.values li { padding: 1.1rem 0; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 5fr); gap: 1.5rem; }
.values b { color: var(--t1); font-weight: 500; }
.facts { width: 100%; border-collapse: collapse; }
.facts th, .facts td { text-align: left; padding: 1.1rem 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.facts th { width: 30%; font: 500 .72rem/1.6 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--t3); font-weight: 500; }
.facts td { color: var(--t1); }
.light .facts th, .light .facts td, .light .values li, .light .items li { border-color: rgba(14, 36, 51, .14); }
.light .facts td { color: var(--ink); }

.steps-list { counter-reset: s; display: grid; gap: 0; border-top: 1px solid var(--line); }
.steps-list li { counter-increment: s; display: grid; grid-template-columns: 4.5rem minmax(0, 2fr) minmax(0, 4fr); gap: 1.5rem; padding: 1.5rem 0; border-bottom: 1px solid var(--line); align-items: baseline; }
.steps-list li::before { content: counter(s, decimal-leading-zero); font: 300 2rem/1 var(--display); color: var(--sea); }
.steps-list b { color: var(--t1); font-weight: 400; font-size: 1.15rem; }
.callout { margin-top: 2.5rem; padding: 1.5rem 1.75rem; border: 1px solid var(--line); border-radius: 14px; background: var(--panel); }
.callout b { color: var(--t1); font-weight: 500; }

/* contact */
.contact-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.form { display: grid; gap: 1.1rem; max-width: 46rem; align-content: start; }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.field { display: grid; gap: .45rem; }
.field label { font: 500 .7rem/1.4 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--slate); }
.field input, .field select, .field textarea { width: 100%; font: 400 1rem/1.4 var(--display); color: var(--ink); background: #fff; border: 1px solid rgba(14, 36, 51, .22); border-radius: 10px; padding: .85rem 1rem; }
.field textarea { min-height: 9rem; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--deep); outline-offset: 1px; border-color: var(--deep); }
.form-note { font-size: .9rem; color: var(--slate); }
.form-error { color: #9B1C1C; font-size: .95rem; }
.form-error a { color: inherit; }
.form-done { padding: 1.4rem 1.5rem; border-radius: 12px; background: #fff; border: 1px solid rgba(0, 87, 124, .3); color: var(--ink); }
.form-done:focus { outline: 2px solid var(--deep); outline-offset: 2px; }
.hp { position: absolute; left: -100vw; width: 1px; height: 1px; overflow: hidden; }
.direct { padding: 1.75rem; border-radius: 16px; background: var(--ink); color: var(--t2); }
.direct h2 { color: var(--t1); font: 300 1.6rem/1.2 var(--display); }
.direct ul { margin-top: 1.2rem; display: grid; gap: .7rem; }
.direct a { color: var(--t1); text-decoration: none; }
.direct a:hover { color: var(--sea-2); text-decoration: underline; }
.direct small { display: block; margin-top: .3rem; color: var(--t3); }
.credits li { padding: 1.1rem 0; border-bottom: 1px solid rgba(14, 36, 51, .14); }
.credits b { color: var(--ink); font-weight: 500; }
.credits small { display: block; margin-top: .3rem; font-size: .88rem; color: var(--slate); }
.credits a, .light .prose a { color: var(--deep); }

/* ---------- reveals (only when JS runs; everything is visible without it) ---------- */
.js .rv { opacity: 0; transform: translateY(24px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js .rv.in { opacity: 1; transform: none; }

/* ---------- responsive ---------- */
@media (max-width: 64rem) {
  .sec-head { grid-template-columns: 1fr; gap: 1rem; }
  .sec-head .link { justify-self: start; }
  .about-grid, .base, .close-grid, .split2, .svc-row, .contact-grid { grid-template-columns: 1fr; }
  .svc-row figure { position: static; }
  .cols3 { grid-template-columns: 1fr; }
  .col + .col { border-left: 0; border-top: 1px solid var(--line); }
  .steps4 { grid-template-columns: 1fr 1fr; }
  .step:nth-child(3) { border-left: 0; padding-left: 0; }
  .step { padding-bottom: 1.6rem; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .foot-grid > :first-child { grid-column: 1 / -1; }
}
@media (max-width: 52rem) {
  /* backdrop-filter makes the bar a containing block for fixed children: the menu would be bar-sized */
  .nav-bar.solid, body.no-hero .nav-bar { backdrop-filter: none; -webkit-backdrop-filter: none; background: var(--night); }
  .menu-btn { display: inline-flex; }
  .nav { position: fixed; inset: 0; z-index: -1; flex-direction: column; justify-content: center; align-items: flex-start; gap: 1.4rem; padding: 6rem var(--gut) 2rem; background: var(--night); transform: translateY(-100%); visibility: hidden; transition: transform .45s var(--ease), visibility 0s .45s; }
  .nav.open { transform: none; visibility: visible; transition: transform .45s var(--ease); }
  .nav a:not(.pill) { font: 300 2rem/1.1 var(--display); color: var(--t1); }
  .nav .pill { margin-top: 1rem; }
  .brand-sub { display: none; }
  .hero-in { grid-template-columns: 1fr; }
  .car-stage { aspect-ratio: auto; min-height: 34rem; }
  .slide::after { background: linear-gradient(0deg, rgba(7, 19, 28, .95) 0%, rgba(7, 19, 28, .6) 55%, rgba(7, 19, 28, .15) 100%); }
  .row { grid-template-columns: 1fr; }
  .items li, .values li { grid-template-columns: 1fr; gap: .3rem; }
  .steps-list li { grid-template-columns: 3rem 1fr; }
  .steps-list li span { grid-column: 2; }
}
@media (max-width: 34rem) {
  .steps4 { grid-template-columns: 1fr; }
  .step + .step { border-left: 0; padding-left: 0; border-top: 1px solid var(--line); }
  .readouts { grid-template-columns: 1fr 1fr; }
  .foot-grid { grid-template-columns: 1fr; }
  .facts th { width: 38%; }
  .pin span { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .js .rv { opacity: 1; transform: none; }
  .ticker-track { animation: none; flex-wrap: wrap; width: auto; }
  .ticker ul + ul { display: none; }
}

/* =====================================================================================================
   REVISION 2026-11-17 (owner + end-of-task review): one type scale, one ground system, iPad, phone menu,
   contrast over photographs. Later rules here win over the ones above on purpose.
   ===================================================================================================== */
:root {
  --title: "Barlow", "Segoe UI", Arial, sans-serif;  /* owner's pick 2026-11-17: signage and hull-marking lettering */
  --fs-h1: clamp(2.75rem, 5.8vw, 5.5rem);  /* page titles: hero and every page head */
  --fs-h2: clamp(2rem, 3.4vw, 3.1rem);     /* section titles, carousel titles, closing band */
  --fs-h3: clamp(1.25rem, 1.6vw, 1.45rem); /* card titles, questions, footer line */
  --fs-h4: 1.125rem;                       /* small headings in columns */
  --fs-lede: 1.125rem;
  --fs-small: .92rem;
  --fs-label: .78rem;                      /* mono labels: 12.5 px */
  --hl: #7FCDEE;                           /* BGM Sea, lighter: the emphasised phrase on navy (it blended in) */
}
/* titles */
.hero h1, .page-head h1 { font-family: var(--title); font-size: var(--fs-h1); }
.sec-head h2, .h2, .close-grid .h2, .slide-txt h3, .svc-row h2, .base h2, .step .n, .dusk p.h2 {
  font-family: var(--title); font-size: var(--fs-h2); font-weight: 300; }
h3, .faq summary, .about-grid .big, .foot .tag, .direct h2 { font-family: var(--title); font-size: var(--fs-h3); }
.step h3, .groups h3 { font-size: var(--fs-h4); }
.lede, .hero .lede, .page-head .lede { font-size: var(--fs-lede); }
.ticks li span, .step p, .items span, .foot .small, .form-note { font-size: var(--fs-small); }
.mono, .ticker li, .chips li, .reach li, .jump a, .items b, .facts th, .field label, .car-names button, .link,
.brand-sub, .ticks li, .pill, .menu-btn, .car-count { font-size: var(--fs-label); }
em.hl { color: var(--hl); }
.base h2 { text-transform: none; }

/* one ground system: navy everywhere, ONE light band (the closing one), as on the reference */
.field label { color: var(--t3); }
.field input, .field select, .field textarea { background: rgba(244, 246, 248, .05); border-color: var(--line); color: var(--t1); }
.field select { color-scheme: dark; }
.field ::placeholder { color: var(--t3); opacity: 1; }
.field input:focus, .field select:focus, .field textarea:focus { outline-color: var(--sea); border-color: var(--sea); }
.form-note { color: var(--t3); }
.form-error { color: #FFB4B4; }
.form-done { background: var(--panel); border-color: var(--sea); color: var(--t1); }
.form-done:focus { outline-color: var(--sea); }
.direct { background: var(--panel); border: 1px solid var(--line); }
.credits li { border-color: var(--line); }
.credits b { color: var(--t1); }
.credits small { color: var(--t3); }
.credits a, .sec-ink .prose a { color: var(--hl); }

/* contrast over photographs (measured by the review against the brightest 2% behind each line) */
.hero::before {
  background: linear-gradient(180deg, rgba(7, 19, 28, .6) 0%, rgba(7, 19, 28, 0) 22%),
              linear-gradient(90deg, rgba(7, 19, 28, .78) 0%, rgba(7, 19, 28, .3) 44%, rgba(7, 19, 28, 0) 66%),
              linear-gradient(0deg, rgba(7, 19, 28, .9) 0%, rgba(7, 19, 28, .3) 30%, rgba(7, 19, 28, 0) 52%); }
.page-head::before {
  background: linear-gradient(180deg, rgba(7, 19, 28, .7) 0%, rgba(7, 19, 28, 0) 24%),
              linear-gradient(90deg, rgba(7, 19, 28, .92) 0%, rgba(7, 19, 28, .7) 50%, rgba(7, 19, 28, .35) 100%),
              linear-gradient(0deg, rgba(7, 19, 28, .85), rgba(7, 19, 28, 0) 55%); }
.slide-txt .mono { color: var(--t1); }

/* services page: rows alternate sides */
@media (min-width: 52.01rem) { .svc-row.flip figure { order: 2; } }

/* iPad: two columns hold down to 768 px; three columns from 832 px */
@media (min-width: 48rem) and (max-width: 64rem) {
  .about-grid, .split2, .contact-grid, .svc-row, .close-grid { grid-template-columns: 1fr 1fr; }
  .svc-row figure { position: sticky; }
}
@media (min-width: 52.01rem) and (max-width: 64rem) {
  .base { grid-template-columns: 1fr 1fr; }
  .cols3 { grid-template-columns: repeat(3, 1fr); }
  .col + .col { border-top: 0; border-left: 1px solid var(--line); }
}
/* portrait screens: the hero is not a wall of sky; frame the ship's bow */
@media (orientation: portrait) {
  .hero { min-height: min(100svh, 52rem); }
  .hero-img img { object-position: 74% 50%; }
}

/* phones and the phone menu */
.nav-extra { display: none; }
@media (max-width: 52rem) {
  .hero::before { background: linear-gradient(0deg, rgba(7, 19, 28, .94) 0%, rgba(7, 19, 28, .8) 48%, rgba(7, 19, 28, .3) 70%, rgba(7, 19, 28, 0) 86%),
                  linear-gradient(180deg, rgba(7, 19, 28, .6) 0%, rgba(7, 19, 28, 0) 20%); }
  .page-head::before { background: linear-gradient(0deg, rgba(7, 19, 28, .94) 0%, rgba(7, 19, 28, .6) 60%, rgba(7, 19, 28, .55) 100%); }
  .car-names { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
  .car-names::-webkit-scrollbar { display: none; }
  .car-names button { white-space: nowrap; }
  .chips li:nth-child(n+4) { display: none; }
  .car-ctl { flex-wrap: wrap; }

  .nav { justify-content: flex-start; gap: 0; padding: 6.5rem var(--gut) 2rem; counter-reset: m; overflow-y: auto; }
  .nav > a:not(.pill) { counter-increment: m; width: 100%; display: flex; align-items: baseline; gap: 1.1rem;
    padding: 1.05rem 0; border-bottom: 1px solid var(--line); font: 400 1.5rem/1.2 var(--title); letter-spacing: -.01em; color: var(--t1); }
  .nav > a:not(.pill)::before { content: counter(m, decimal-leading-zero); font: 500 var(--fs-label)/1 var(--mono); letter-spacing: .14em; color: var(--t3); }
  .nav > a[aria-current="page"] { border-bottom-color: var(--line); }
  .nav > a[aria-current="page"]::after { content: ""; width: .45rem; height: .45rem; border-radius: 50%; background: var(--sea); margin-left: auto; align-self: center; }
  .nav .pill { margin-top: 2rem; }
  .nav-extra { display: grid; gap: .6rem; margin-top: auto; padding-top: 2rem; }
  .nav-extra a { display: block; width: auto; padding: 0; border: 0; color: var(--t2); text-decoration: none; text-transform: none;
    font: 500 var(--fs-label)/1.5 var(--mono); letter-spacing: .04em; }
  .nav-extra a::before, .nav-extra a::after { content: none; }
}

/* Barlow is narrower than Plex: titles need less negative tracking */
.hero h1, .page-head h1 { letter-spacing: -.015em; }
.sec-head h2, .h2, .close-grid .h2, .slide-txt h3, .svc-row h2, .base h2, .dusk p.h2 { letter-spacing: -.01em; }
.step .n, .readouts b { font-family: var(--title); letter-spacing: -.01em; }
.steps-list li::before { font-family: var(--title); }

/* Services carousel runs by itself (owner, 2026-11-17): 4s a slide, looping. The active dot fills over the
   same time (HOLD in site.js, 4s) as a visible timer; it holds still while the carousel is paused (pointer on it, keyboard focus
   in it, off screen, hidden tab). No pause button: the owner removed it (2026-11-17). */
.car-nav { display: flex; align-items: center; gap: 1rem; }
.car.run .car-dots button[aria-current="true"]::after { animation: car-fill var(--car-ms, 6s) linear both; }
.car.run.paused .car-dots button[aria-current="true"]::after { animation-play-state: paused; }
@keyframes car-fill { from { transform: scaleX(.25); } to { transform: scaleX(1); } }
@media (max-width: 40rem) {
  .car-nav { gap: .5rem; }
  .car-dots { gap: .25rem; }
  .car-dots button { width: 1.5rem; }
}
