/* ==========================================================================
   OCEMA — site stylesheet (design v3, "bold corporate maritime")
   Full-bleed port photography, deep navy, bright ocean-blue accents,
   Manrope throughout. Plain CSS, no build step.
   Font: SIL OFL 1.1 (assets/fonts/LICENSE.txt). Photos: CC0 (assets/img/photos/CREDITS.txt).
   ========================================================================== */

@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("../fonts/manrope-variable.woff2") format("woff2");
}

:root {
  --navy-950: #061428;
  --navy-900: #0a2342;
  --navy-800: #12325c;
  --blue-600: #0b5ed7;
  --blue-700: #094db3;
  --blue-50: #eef5ff;
  --blue-100: #dcebff;
  --sky-400: #4cc3ff;
  --sky-200: #bfe9ff;
  --ink: #0f1b2d;
  --ink-2: #3c4a5e;
  --muted: #5c6b80;
  --line: #dde4ee;
  --soft: #f4f7fb;
  --white: #ffffff;

  --font: "Manrope", "Segoe UI", system-ui, -apple-system, sans-serif;
  --container: 76rem;
  --gutter: clamp(1.25rem, 4vw, 2.5rem);
  --measure: 70ch;
  --radius: 14px;
  --radius-sm: 8px;
  --header-h: 76px;
  --shadow-sm: 0 1px 2px rgba(15, 27, 45, .06), 0 1px 3px rgba(15, 27, 45, .08);
  --shadow-md: 0 10px 30px -12px rgba(10, 35, 66, .28);
  --shadow-lg: 0 24px 60px -20px rgba(6, 20, 40, .45);
  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 1rem); }
body {
  margin: 0; min-height: 100vh; display: flex; flex-direction: column;
  font-family: var(--font); font-size: 1.0625rem; line-height: 1.7; color: var(--ink); background: var(--white);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
body > main { flex: 1 0 auto; }
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3 { font-family: var(--font); font-weight: 800; line-height: 1.15; letter-spacing: -0.022em; color: var(--navy-900); margin: 0 0 .75rem; text-wrap: balance; }
h1 { font-size: clamp(2.1rem, 1.4rem + 2.6vw, 3.4rem); }
h2 { font-size: clamp(1.5rem, 1.2rem + 1vw, 2.1rem); }
h3 { font-size: 1.2rem; letter-spacing: -0.012em; }
p { margin: 0 0 1rem; max-width: var(--measure); }
strong { font-weight: 700; }
address { font-style: normal; }
a { color: var(--blue-600); text-decoration: none; text-decoration-thickness: 1px; text-underline-offset: .2em;
    transition: color .15s var(--ease), text-decoration-color .15s var(--ease); }
a:hover { color: var(--blue-700); text-decoration-thickness: 2px;text-decoration:none !important; }
/* Links inside running text are underlined: link blue is too close to body ink to rely on colour alone. */
main :is(p, address, figcaption, .act-text, .full) a:not(.btn) { text-decoration-line: none; }
:focus-visible { outline: 3px solid var(--blue-600); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--sky-200); color: var(--navy-950); }
a, button, summary { touch-action: manipulation; -webkit-tap-highlight-color: rgba(11, 94, 215, .15); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.skip-link { position: absolute; left: 1rem; top: -4rem; z-index: 200; background: var(--navy-900); color: var(--white); padding: .7rem 1rem; border-radius: var(--radius-sm); font-weight: 700; transition: top .15s var(--ease); }
.skip-link:focus { top: 1rem; color: var(--white); }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 100; height: var(--header-h); background: rgba(255, 255, 255, 1);
  border-bottom: 1px solid var(--line); transition: background-color .25s var(--ease), border-color .25s var(--ease), box-shadow .25s var(--ease); }
.site-header.is-scrolled { box-shadow: 0 6px 24px -12px rgba(10, 35, 66, .25); }
.header-inner { height: 100%; display: flex; align-items: center; gap: 1.5rem; }
.brand { display: flex; align-items: center; flex: none; }
.brand img { height: 67px; width: auto; }
.brand .logo-light { display: none; }

.primary-nav { margin-left: auto; }
.primary-nav > ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: .10rem; }
.nav-link, .nav-trigger {
  display: inline-flex; align-items: center; gap: .35rem; padding: .6rem .85rem; border: 0; border-radius: 999px; background: none; cursor: pointer;
  font: 700 .9375rem/1 var(--font); color: var(--navy-900); text-decoration: none; transition: background-color .15s var(--ease), color .15s var(--ease);
}
.nav-link:hover, .nav-trigger:hover, .nav-trigger[aria-expanded="true"] { background: var(--blue-50); color: var(--blue-700); }
.nav-link[aria-current="page"], .nav-item.is-current > .nav-trigger { color: var(--blue-600); }
/* Member Center: outlined pill with a lock so it reads as the members' entry point. */
.nav-link--member { margin-left: .35rem;
  background: rgba(255, 255, 255, .14);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .28);
  padding: 13px 10px; }
.nav-link--member svg { width: 1rem; height: 1rem; flex: none; }
.chev { width: .7rem; height: .7rem; transition: transform .2s var(--ease); }
.nav-trigger[aria-expanded="true"] .chev { transform: rotate(180deg); }
.nav-item { position: relative; }
.dropdown {
  position: absolute; top: calc(100% + .6rem); left: 50%; min-width: 20rem; padding: .5rem; margin: 0; list-style: none;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-lg);
  opacity: 0; visibility: hidden; transform: translate(-50%, -6px);
  transition: opacity .18s var(--ease), transform .18s var(--ease), visibility 0s linear .18s;
}
.nav-trigger[aria-expanded="true"] + .dropdown { opacity: 1; visibility: visible; transform: translate(-50%, 0); transition-delay: 0s; }
.dropdown a { display: block; padding: .6rem .8rem; border-radius: var(--radius-sm); color: var(--ink); text-decoration: none; font-weight: 600; font-size: .9375rem; line-height: 1.35; }
.dropdown a:hover, .dropdown a:focus-visible { background: var(--blue-50); color: var(--blue-700); }
.dropdown a[aria-current="page"] { background: var(--blue-50); color: var(--blue-700); }
.dropdown .tag { margin-left: .35rem; font-size: .75rem; font-weight: 700; color: var(--muted); }

.header-actions { display: flex; align-items: center; gap: .5rem; }
.icon-btn { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 999px; border: 1px solid var(--line); background: var(--white); color: var(--navy-900); cursor: pointer;
  transition: background-color .15s var(--ease), border-color .15s var(--ease); }
.icon-btn:hover { background: var(--blue-50); border-color: var(--blue-100); }
.icon-btn svg { width: 20px; height: 20px; }
html:not(.js) .search-toggle { display: none; }
.nav-toggle { display: none; }

/* Mega menus (News): a full-width panel under the header, grouped in columns */
.header-inner { position: relative; }
.nav-item--mega { position: static; }
.dropdown.mega { top: calc(100% - .35rem); width: min(62rem, calc(100% - 2 * var(--gutter))); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .5rem 1.25rem; padding: 1.1rem; }
/* About Us: columns only as wide as their longest item, and the panel only as wide as the columns */
.dropdown.mega--compact { width: max-content; max-width: calc(100% - 2 * var(--gutter)); min-width: 0; grid-template-columns: repeat(3, max-content); gap: .5rem 2rem; }
.dropdown.mega--two { width: min(42rem, calc(100% - 2 * var(--gutter))); grid-template-columns: repeat(2, minmax(0, 1fr)); }
.mega-col ul, .dropdown--rich { list-style: none; margin: 0; padding: 0; }
.mega-head { margin: 0 0 .35rem; padding: .35rem .8rem; font-size: .75rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.dropdown .mega-head a { display: inline; padding: 0; color: inherit; font-weight: inherit; font-size: inherit; }
.dropdown .mega-head a:hover, .dropdown .mega-head a[aria-current="page"] { background: none; color: var(--blue-700); }
.dropdown .m-title { display: flex; align-items: center; gap: .35rem; font-weight: 700; color: var(--navy-900); }
.dropdown a:hover .m-title, .dropdown a[aria-current="page"] .m-title { color: var(--blue-700); }
.dropdown .ext-ic { width: .85rem; height: .85rem; flex: none; }
.dropdown--rich { min-width: 19rem; }
@media (min-width: 961px) {
  html:not(.js) .nav-item:is(:hover, :focus-within) > .dropdown { opacity: 1; visibility: visible; transform: translate(-50%, 0); transition-delay: 0s; }
}
.dropdown .mega-feature { display: flex; flex-direction: column; justify-content: flex-end; gap: .5rem; min-height: 100%; padding: 1.25rem; border-radius: var(--radius); color: var(--white);
  background: var(--navy-900) url("../img/photos/terminal-night-960.jpg") center / cover no-repeat; position: relative; isolation: isolate; overflow: hidden; }
.dropdown .mega-feature::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(6, 20, 40, .35), rgba(6, 20, 40, .92)); }
.dropdown .mega-feature:hover, .dropdown .mega-feature:focus-visible { background: var(--navy-900) url("../img/photos/terminal-night-960.jpg") center / cover no-repeat; color: var(--white); }
.mega-feature-kicker { font-size: .75rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--sky-200); }
.mega-feature-title { font-weight: 800; line-height: 1.35; }
.mega-feature-more { display: inline-flex; align-items: center; gap: .35rem; font-size: .875rem; font-weight: 700; }
.mega-feature-more svg { width: 16px; height: 16px; transition: transform .2s var(--ease); }
.mega-feature:hover .mega-feature-more svg { transform: translateX(3px); }
@media (min-width: 961px) {
  .nav-link, .nav-trigger { white-space: nowrap; }
}
@media (min-width: 961px) and (max-width: 1100px) {
  .header-inner { gap: .75rem; }
  .brand img { height: 34px; }
  .nav-link, .nav-trigger { padding-inline: .5rem; font-size: .875rem; }
  .primary-nav > ul { gap: 0; }
  /* Not enough room for the label here: lock icon only (label stays for screen readers and as a tooltip). */
  .nav-link--member { padding: .55rem; }
  .nav-link--member .nav-link-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
}
@media (min-width: 961px) and (max-width: 1040px) {
  .site-header > .container { padding-inline: 1rem; }
  .brand img { height: 30px; }
  .nav-link, .nav-trigger { padding-inline: .4rem; font-size: .8125rem; gap: .25rem; }
  .header-actions .icon-btn { width: 40px; height: 40px; }
}

/* Home: header floats over the hero until the page scrolls */
.home .site-header { margin-bottom: calc(var(--header-h) * -1); }
html.js .home .site-header:not(.is-scrolled):not(.search-open):not(.menu-open) { background: transparent; border-bottom-color: rgba(255, 255, 255, .14); }
html.js .home .site-header:not(.is-scrolled):not(.search-open):not(.menu-open) .logo-dark { display: none; }
html.js .home .site-header:not(.is-scrolled):not(.search-open):not(.menu-open) .logo-light { display: block; }
html.js .home .site-header:not(.is-scrolled):not(.search-open):not(.menu-open) :is(.nav-link, .nav-trigger) { color: var(--white); }
html.js .home .site-header:not(.is-scrolled):not(.search-open):not(.menu-open) :is(.nav-link, .nav-trigger):hover,
html.js .home .site-header:not(.is-scrolled):not(.search-open):not(.menu-open) .nav-trigger[aria-expanded="true"] { background: rgba(255, 255, 255, .14); color: var(--white); }
html.js .home .site-header:not(.is-scrolled):not(.search-open):not(.menu-open) .icon-btn { background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .28); color: var(--white); }

/* Search panel (drops below the header) */
.search-panel { position: absolute; left: 0; right: 0; top: 100%; background: var(--white); border-bottom: 1px solid var(--line); box-shadow: var(--shadow-md); padding-block: 1.25rem 1.5rem; }
.search-panel[hidden] { display: none; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .55rem; min-height: 48px; padding: .8rem 1.4rem; border-radius: 999px; border: 2px solid transparent;
  font: 700 1rem/1 var(--font); text-decoration: none; cursor: pointer; transition: background-color .18s var(--ease), color .18s var(--ease), border-color .18s var(--ease), transform .18s var(--ease), box-shadow .18s var(--ease); }
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: none; }
.btn svg { width: 18px; height: 18px; transition: transform .18s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn-primary { background: var(--blue-600); color: var(--white); box-shadow: 0 8px 20px -8px rgba(11, 94, 215, .7); }
.btn-primary:hover { background: var(--blue-700); color: var(--white); }
.btn-light { background: var(--white); color: var(--navy-900); }
.btn-light:hover { background: var(--blue-50); color: var(--navy-900); }
.btn-outline-light { border-color: rgba(255, 255, 255, .6); color: var(--white); }
.btn-outline-light:hover { border-color: var(--white); background: rgba(255, 255, 255, .1); color: var(--white); }
.btn-outline { border-color: var(--line); color: var(--navy-900); background: var(--white); }
.btn-outline:hover { border-color: var(--blue-600); color: var(--blue-700); }
.btn-solid { background: var(--navy-900); color: var(--white); }
.btn-solid:hover { background: var(--blue-600); color: var(--white); }
.btn-quiet { background: var(--white); color: var(--navy-900); border-color: var(--line); }
.btn-quiet:hover { border-color: var(--navy-900); color: var(--navy-900); }
.btn-text { background: none; border: 0; padding: .5rem 0; font: 700 .9375rem/1 var(--font); color: var(--blue-600); cursor: pointer; text-decoration: underline; text-underline-offset: .2em; }
.btn-text:hover { color: var(--blue-700); }

/* ---------- Home hero ---------- */
.hero { position: relative; isolation: isolate; min-height: min(92vh, 50rem); display: flex; align-items: flex-end; color: var(--white);
  background: var(--navy-950); }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(6, 20, 40, .55) 0%, rgba(6, 20, 40, .2) 35%, rgba(6, 20, 40, .82) 78%, rgba(6, 20, 40, .96) 100%),
              linear-gradient(90deg, rgba(6, 20, 40, .7) 0%, rgba(6, 20, 40, 0) 65%); }
.hero-inner { padding-top: calc(var(--header-h) + 4rem); padding-bottom: clamp(5rem, 4rem + 4vw, 7.5rem); }
.hero .org { display: inline-flex; align-items: center; gap: .6rem; margin: 0 0 1.25rem; padding: .45rem .9rem; border-radius: 999px;
  background: rgba(6, 20, 40, .72); border: 1px solid rgba(255, 255, 255, .22); font-size: .875rem; font-weight: 700; color: var(--sky-200); backdrop-filter: blur(6px); }
.hero .org::before { content: ""; width: .5rem; height: .5rem; border-radius: 50%; background: var(--sky-400); box-shadow: 0 0 0 4px rgba(76, 195, 255, .25); }
.hero h1 { color: var(--white); font-size: clamp(2.5rem, 1.3rem + 4.4vw, 4.75rem); line-height: 1.04; letter-spacing: -0.035em; margin-bottom: 1.25rem; }
.hero .lede { font-size: clamp(1.0625rem, 1rem + .35vw, 1.25rem); color: var(--white); max-width: 44rem; }
.hero .welcome { font-weight: 800; color: var(--white); }
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2rem; }

/* Key figures */
.figures { position: relative; z-index: 2; margin-top: -3.5rem; }
.figures ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); background: var(--white);
  border-radius: calc(var(--radius) + 6px); box-shadow: var(--shadow-lg); overflow: hidden; position: relative; }
.figures ul::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: linear-gradient(90deg, var(--blue-600), var(--sky-400)); }
.figures li { display: grid; grid-template-columns: 3.25rem minmax(0, 1fr); gap: 1.1rem; align-items: start; padding: 2rem 2rem 1.9rem; border-right: 1px solid var(--line); }
.figures li:last-child { border-right: 0; }
.fig-icon { display: grid; place-items: center; width: 3.25rem; height: 3.25rem; border-radius: 14px; background: var(--blue-50); color: var(--blue-600); }
.fig-icon svg { width: 26px; height: 26px; }
.fig-body { display: flex; flex-direction: column; min-width: 0; }
.figures .num { font-size: clamp(2.1rem, 1.7rem + 1.4vw, 2.9rem); font-weight: 800; line-height: 1; letter-spacing: -0.02em; color: var(--navy-900); font-variant-numeric: normal; }
.fig-title { margin-top: .45rem; font-size: 1rem; font-weight: 800; color: var(--blue-600); }
.figures .what { margin-top: .35rem; font-size: .875rem; line-height: 1.55; color: var(--muted); font-weight: 500; }
/* Home fast facts: five cards in one row, icon above the figure */
.figures.figures--five ul { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.figures.figures--five li { grid-template-columns: minmax(0, 1fr); align-content: start; gap: .9rem; padding: 1.75rem 1.5rem 1.6rem; }
.figures.figures--five .num { font-size: clamp(1.9rem, 1.5rem + 1vw, 2.4rem); white-space: nowrap; }
.figures.figures--five .what { font-size: .8125rem; }
@media (max-width: 1180px) {
  .figures.figures--five ul { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .figures.figures--five li { padding: 1.5rem 1.4rem; border-bottom: 1px solid var(--line); }
  .figures.figures--five li:nth-child(3n) { border-right: 0; }
  .figures.figures--five li:nth-child(n+4) { border-bottom: 0; }
}
@media (max-width: 640px) {
  .figures.figures--five ul { grid-template-columns: minmax(0, 1fr); }
  .figures.figures--five li { grid-template-columns: 2.75rem minmax(0, 1fr); border-right: 0; border-bottom: 1px solid var(--line); }
  .figures.figures--five li:last-child { border-bottom: 0; }
}

/* Home sections */
.section { padding-block: clamp(2.5rem, 2.5rem + 3vw, 3.0rem); }
.section-soft { background: var(--soft); }
.section-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 1rem 2rem; margin-bottom: 2.25rem; }
.section-head h2 { margin: 0; }
.section-head p { margin: 0; color: var(--ink-2); max-width: 36rem; }

.topic-cards { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; }
.topic-card { position: relative; display: flex; flex-direction: column; overflow: hidden; background: var(--white); border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 4px); transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease); }
.topic-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.topic-media { position: relative; height: 9.5rem; background: var(--navy-900) center / cover no-repeat; transition: transform .6s var(--ease); }
.topic-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(6, 20, 40, .05), rgba(6, 20, 40, .45)); }
.topic-card:hover .topic-media { transform: scale(1.06); }
.media--cranes { background-image: url("../img/photos/terminal-cranes-960.jpg"); background-position: center 40%; }
.media--sea { background-image: url("../img/photos/ship-at-sea-960.jpg"); background-position: center 60%; }
.media--yard { background-image: url("../img/photos/container-yard-960.jpg"); }
.media--night { background-image: url("../img/photos/terminal-night-960.jpg"); background-position: center 60%; }
.topic-body { position: relative; z-index: 1; display: flex; flex-direction: column; flex: 1; padding: 0 1.5rem 1.25rem; background: var(--white); }
.topic-card .icon { width: 3.25rem; height: 3.25rem; margin: -1.625rem 0 1rem; display: grid; place-items: center; border-radius: 14px; background: var(--blue-600); color: var(--white);
  box-shadow: 0 0 0 5px var(--white), 0 8px 18px -6px rgba(11, 94, 215, .6); transition: background-color .25s var(--ease), transform .25s var(--ease); }
.topic-card:hover .icon { background: var(--navy-900); transform: rotate(-6deg); }
.topic-card .icon svg { width: 24px; height: 24px; }
.topic-card h3 { font-size: 1.15rem; margin-bottom: .45rem; }
.topic-card h3 a { color: var(--navy-900); text-decoration: none; }
.topic-card h3 a::after { content: ""; position: absolute; inset: 0; z-index: 2; border-radius: inherit; }
.topic-card h3 a:focus-visible { outline: none; }
.topic-card:has(h3 a:focus-visible) { outline: 3px solid var(--blue-600); outline-offset: 3px; }
.topic-card p { font-size: .9375rem; color: var(--ink-2); line-height: 1.6; margin-bottom: 1.1rem; }
.topic-foot { margin-top: auto; display: flex; align-items: center; justify-content: flex-start; gap: .75rem; padding-top: 1rem; border-top: 1px solid var(--line); }
.topic-media .count { position: absolute; z-index: 1; left: 1rem; top: 1rem; padding: .35rem .75rem; border-radius: 999px; font-size: .75rem; font-weight: 800; color: var(--white);
  background: rgba(6, 20, 40, .55); border: 1px solid rgba(255, 255, 255, .25); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.topic-card .more { display: inline-flex; align-items: center; gap: .35rem; font-weight: 800; font-size: .875rem; color: var(--blue-600); white-space: nowrap; }
.topic-card .more svg { width: 16px; height: 16px; transition: transform .2s var(--ease); }
.topic-card:hover .more svg { transform: translateX(4px); }
.section-head--stack { display: block; max-width: 44rem; }
.section-head--stack h2 { margin-bottom: .6rem; }
.section-head--stack p { font-size: 1.0625rem; }

/* Finder + key documents */
.key-docs { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(2rem, 4vw, 4rem); align-items: start; }
.finder-card { padding: 2rem; background: var(--navy-900); color: var(--white); border-radius: var(--radius); box-shadow: var(--shadow-md); background-image: radial-gradient(circle at 100% 0%, rgba(76, 195, 255, .22), transparent 55%); }
.finder-card h2 { color: var(--white); font-size: 1.6rem; }
.finder-card p { color: rgba(255, 255, 255, .8); }
.finder-card .finder-hint { font-size: .875rem; color: rgba(255, 255, 255, .7); margin: .75rem 0 0; }

.key-docs .callout { margin-top: 0; }

/* Members */
.members { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(10rem, 1fr)); gap: 1rem; }
.members a { display: grid; place-items: center; height: 100%; padding: .75rem; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), border-color .2s var(--ease); }
.members a:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--blue-100); }
.members img { width: 120px; mix-blend-mode: multiply; }
.members-note { color: var(--muted); font-size: .9375rem; }
.members-note.is-top { margin: 0 0 1.25rem; }

/* Contact band */
.cta-band { position: relative; isolation: isolate; overflow: hidden; color: var(--white); background: var(--navy-900) url("../img/photos/ship-at-sea-1920.jpg") center 60% / cover; }
.cta-band::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(10, 35, 66, .96) 0%, rgba(10, 35, 66, .85) 45%, rgba(10, 35, 66, .45) 100%); }
.cta-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.5rem 3rem; padding-block: clamp(3rem, 2rem + 3vw, 4.5rem); }
.cta-band h2 { color: var(--white); margin-bottom: .5rem; }
.cta-band p { color: rgba(255, 255, 255, .85); margin: 0; font-size: 1.125rem; }
.cta-band a:not(.btn) { color: var(--white); }

/* ---------- Inner page hero ---------- */
.page-hero { position: relative; isolation: isolate; color: var(--white); background: var(--navy-900) center / cover no-repeat; }
.page-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(100deg, rgba(6, 20, 40, .94) 0%, rgba(6, 20, 40, .82) 50%, rgba(6, 20, 40, .55) 100%); }
.page-hero .container { padding-block: clamp(2.75rem, 2rem + 3vw, 4.5rem) clamp(2.5rem, 2rem + 2.5vw, 4rem); }
.page-hero h1 { color: var(--white); max-width: 28ch; margin: 0; font-size: clamp(1.9rem, 1.3rem + 2.3vw, 3.1rem); }
/* Shorter banner for pages whose main content should sit within the first screen (Members). */
.page-hero--compact .container { padding-block: clamp(1.75rem, 1.25rem + 1.5vw, 2.75rem) clamp(1.75rem, 1.25rem + 1.5vw, 2.5rem); }
.hero--night { background-image: url("../img/photos/terminal-night-1920.jpg"); background-position: center 60%; }
.hero--sea { background-image: url("../img/photos/ship-at-sea-1920.jpg"); background-position: center 55%; }
.hero--yard { background-image: url("../img/photos/container-yard-1920.jpg"); background-position: center 50%; }
.hero--cranes { background-image: url("../img/photos/terminal-cranes-1920.jpg"); background-position: center 45%; }
.hero--members { background-image: url("../img/photos/members-1920.jpg"); background-position: center 45%; }
.hero--sacp { background-image: url("../img/photos/SACP-1920.jpg"); background-position: center 97%; }

.breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: .4rem; padding: 0; margin: 0 0 1.1rem; font-size: .875rem; font-weight: 600; color: rgba(255, 255, 255, .75); }
.breadcrumb li + li::before { content: "/"; margin-right: .4rem; color: rgba(255, 255, 255, .4); }
.breadcrumb a { color: rgba(255, 255, 255, .9); text-decoration: none; }
.breadcrumb a:hover { color: var(--white); text-decoration: underline; }

/* Article + side panel */
.layout { display: grid; grid-template-columns: minmax(0, 1fr) 18rem; gap: clamp(2rem, 4vw, 4rem); padding-block: clamp(2.5rem, 2rem + 2vw, 4rem) clamp(3.5rem, 3rem + 2vw, 5.5rem); align-items: start; }
.layout > * { min-width: 0; }
.page-body { padding-block: clamp(2.5rem, 2rem + 2vw, 4rem) clamp(3.5rem, 3rem + 2vw, 5.5rem); }
.aside-box { position: sticky; top: calc(var(--header-h) + 1.5rem); padding: 1.4rem 1.4rem .6rem; background: var(--soft); border-radius: var(--radius); font-size: .9375rem; }
.aside-box h2 { font-size: .9375rem; letter-spacing: 0; color: var(--navy-900); margin: 0 0 .6rem; }
.aside-box ul { list-style: none; margin: 0 0 1.25rem; padding: 0; display: grid; gap: .1rem; }
.aside-box li a { display: block; padding: .45rem .7rem; border-radius: var(--radius-sm); color: var(--ink-2); text-decoration: none; font-weight: 600; line-height: 1.4; transition: background-color .15s var(--ease), color .15s var(--ease); }
.aside-box li a:hover { background: var(--white); color: var(--blue-700); }

/* Prose */
.prose > h2 { margin-top: 3rem; }
.prose > h2:first-child { margin-top: 0; }
.lead { font-size: 1.1875rem; line-height: 1.65; color: var(--ink); font-weight: 500; }
.prose ul:not([class]) { padding-left: 1.25rem; margin: 0 0 1.5rem; max-width: var(--measure); }
.prose ul:not([class]) li { margin-bottom: .7rem; padding-left: .25rem; }
.prose ul:not([class]) li::marker { color: var(--blue-600); }
.prose ul:not([class]) ul { margin: .7rem 0 0; }
.meta-note { color: var(--muted); font-size: .9375rem; }
.spaced-top { margin-top: 2rem; }
.section-title { margin-top: 3rem; }

/* Callout */
.callout { position: relative; margin: 2rem 0; padding: 1.3rem 1.5rem 1.3rem 3.6rem; background: var(--blue-50); border: 1px solid var(--blue-100); border-radius: var(--radius); max-width: calc(var(--measure) + 5rem); }
.callout::before { content: "i"; position: absolute; left: 1.2rem; top: 1.25rem; width: 1.6rem; height: 1.6rem; border-radius: 50%; display: grid; place-items: center;
  background: var(--blue-600); color: var(--white); font: 800 .95rem/1 var(--font); }
.callout p { margin: 0; max-width: none; }
.callout .callout-title { font-weight: 800; color: var(--navy-900); margin-bottom: .35rem; }

/* Documents as cards */
.docs { list-style: none; margin: .75rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.doc a { display: grid; grid-template-columns: 3rem minmax(0, 1fr); gap: .25rem 1rem; height: 100%; padding: 1.2rem 1.25rem; border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--white); text-decoration: none; color: var(--ink); transition: transform .2s var(--ease), box-shadow .2s var(--ease), border-color .2s var(--ease); }
.doc a:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--blue-100); }
.doc .ficon { grid-row: span 2; width: 3rem; height: 3rem; border-radius: 12px; display: grid; place-items: center; background: #fdecec; color: #b42318; font-size: .6875rem; font-weight: 800; letter-spacing: .04em; }
.doc.is-link .ficon { background: var(--blue-50); color: var(--blue-600); }
.doc .title { font-weight: 700; line-height: 1.4; color: var(--navy-900); transition: color .15s var(--ease); }
.doc a:hover .title { color: var(--blue-700); }
.doc .meta { font-size: .8125rem; font-weight: 600; color: var(--muted); }

.docs.docs-stack, .docs:has(> li:only-child) { grid-template-columns: minmax(0, 1fr); }
.docs:has(> li:only-child) { max-width: 44rem; }

/* Carrier dispute-process list */
.carriers { list-style: none; margin: .75rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.carrier { display: flex; flex-direction: column; gap: .35rem; padding: 1.2rem 1.25rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); transition: border-color .2s var(--ease), box-shadow .2s var(--ease); }
.carrier:hover { border-color: var(--blue-100); box-shadow: var(--shadow-sm); }
.carrier .name { font-weight: 800; color: var(--navy-900); line-height: 1.35; }
.carrier .desc { color: var(--ink-2); font-size: .9375rem; margin: 0; }
.carrier a { overflow-wrap: anywhere; line-height: 1.5; font-size: .9375rem; }
.ext::after { content: " \2197"; font-size: .85em; }

/* Data tables */
.table-wrap { overflow-x: auto; margin: 1rem 0 1.75rem; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); background: var(--white); }
table.data { width: 100%; border-collapse: collapse; font-size: 1rem; }
table.data th, table.data td { padding: .9rem 1.2rem; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
table.data thead th { background: var(--navy-900); color: var(--white); font-size: .875rem; font-weight: 700; }
table.data tbody th { font-weight: 600; color: var(--navy-900); }
table.data tbody tr:nth-child(even) { background: var(--soft); }
table.data tbody tr:hover { background: var(--blue-50); }
table.data tbody tr:last-child > * { border-bottom: 0; }
table.data .num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; font-weight: 700; }
table.data td.nowrap { white-space: nowrap; }
.pool { display: inline-block; padding: .15rem .6rem; border-radius: 999px; font-size: .8125rem; font-weight: 800; color: var(--ink); border: 1px solid rgba(15, 27, 45, .18); }
.pool-na { color: var(--muted); font-size: .9375rem; }

/* About */
.facts { list-style: none; margin: .75rem 0 0; padding: 0; display: grid; gap: .9rem; max-width: var(--measure); }
.facts li { position: relative; padding: 1.1rem 1.25rem 1.1rem 3.4rem; background: var(--soft); border-radius: var(--radius); font-weight: 600; }
.facts li::before { content: ""; position: absolute; left: 1.25rem; top: 1.35rem; width: 1.2rem; height: 1.2rem; border-radius: 50%; background: var(--blue-600)
  url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 10.5l3 3 7-7' fill='none' stroke='white' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 80% no-repeat; }

/* Committees */
.committees { list-style: none; margin: 0 0 3rem; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; }
.committee { padding: 1.75rem; border-radius: var(--radius); background: var(--navy-900); color: rgba(255, 255, 255, .88); background-image: radial-gradient(circle at 100% 0%, rgba(76, 195, 255, .2), transparent 60%); }
.committee h2 { color: var(--white); font-size: 1.3rem; margin: 0 0 .7rem; }
.committee p { margin: 0; }
.ledger { list-style: none; margin: .75rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .9rem; }
.ledger li { padding: 1.1rem 1.25rem; border: 1px solid var(--line); border-left: 4px solid var(--blue-600); border-radius: var(--radius-sm); font-weight: 700; color: var(--navy-900); }

/* Related links */
.refs { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .9rem; }
.refs li { padding: 1rem 1.2rem; border: 1px solid var(--line); border-radius: var(--radius-sm); line-height: 1.5; transition: border-color .2s var(--ease), box-shadow .2s var(--ease); }
.refs li:hover { border-color: var(--blue-100); box-shadow: var(--shadow-sm); }
.refs .abbr { font-weight: 800; margin-right: .3rem; }
.refs .full { color: var(--ink-2); }

/* Contact */
.contact-card { max-width: 32rem; margin: 0 0 1.75rem; padding: 2rem; border-radius: var(--radius); color: rgba(255, 255, 255, .9); background: var(--navy-900); background-image: radial-gradient(circle at 100% 0%, rgba(76, 195, 255, .22), transparent 60%); box-shadow: var(--shadow-md); }
.contact-card .org { font-weight: 800; font-size: 1.6rem; color: var(--white); margin: 0 0 .75rem; }
.contact-card address { font-size: 1.125rem; line-height: 1.75; }
.contact-card a { color: var(--sky-400); }
.contact-card .email { display: inline-block; margin-top: .5rem; font-weight: 700; }

/* People (outreach contacts) */
.people { list-style: none; margin: 1.5rem 0 2.5rem; padding: 0; display: grid; gap: .75rem; }
.people li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 1rem; align-items: center; padding: 1rem 1.25rem; border: 1px solid var(--line); border-radius: var(--radius-sm); }
.people .who { font-weight: 700; color: var(--navy-900); }
.people a { overflow-wrap: anywhere; font-weight: 600; }

/* CCM card */
.link-card { display: flex; flex-wrap: wrap; gap: 1rem 1.5rem; align-items: center; justify-content: space-between; max-width: 46rem; padding: 1.75rem 2rem; border-radius: var(--radius); background: var(--blue-50); border: 1px solid var(--blue-100); }
.link-card p { margin: 0; font-size: 1.125rem; }

/* FAQ */
.faq-tools { display: flex; justify-content: flex-end; margin-bottom: .75rem; }
.faq { display: grid; gap: .75rem; }
.faq details { border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); transition: border-color .2s var(--ease), box-shadow .2s var(--ease); }
.faq details:hover { border-color: var(--blue-100); }
.faq details[open] { border-color: var(--blue-100); box-shadow: var(--shadow-md); }
.faq summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: 2.25rem minmax(0, 1fr) 2rem; gap: .75rem; align-items: center; padding: 1.1rem 1.25rem; font-weight: 700; line-height: 1.45; color: var(--navy-900); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--blue-700); }
.faq .qa { display: grid; place-items: center; width: 2.25rem; height: 2.25rem; border-radius: 10px; background: var(--blue-50); color: var(--blue-600); font-weight: 800; font-size: .875rem; }
.faq .plus { position: relative; width: 2rem; height: 2rem; border-radius: 50%; background: var(--soft); }
.faq .plus::before, .faq .plus::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; background: var(--navy-900); transform: translate(-50%, -50%); transition: transform .25s var(--ease); }
.faq .plus::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq details[open] .plus::after { transform: translate(-50%, -50%) rotate(0deg); }
.faq .answer { display: grid; grid-template-columns: 2.25rem minmax(0, 1fr); gap: .75rem; padding: 0 3.25rem 1.25rem 1.25rem; }
.faq .answer .qa { background: var(--soft); color: var(--muted); }
.faq .answer p { margin-bottom: .75rem; }
.faq .back { font-size: .875rem; font-weight: 600; }

/* Forms */
.form-card { max-width: 30rem; margin: 0 0 1.75rem; padding: 2rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); box-shadow: var(--shadow-md); }
.form-card h2 { font-size: 1.35rem; margin: 0 0 .4rem; }
.form-card .help { color: var(--ink-2); margin-bottom: 1.25rem; font-size: 1rem; }
.field { display: grid; gap: .4rem; margin-bottom: 1.1rem; }
.field label { font-weight: 700; font-size: .9375rem; color: var(--navy-900); }
.field input, .finder input { font: inherit; font-size: 1rem; min-height: 50px; width: 100%; padding: .7rem 1rem; color: var(--ink); background: var(--white);
  border: 1.5px solid var(--line); border-radius: 12px; transition: border-color .15s var(--ease), box-shadow .15s var(--ease); -webkit-appearance: none; appearance: none; }
.field input:hover, .finder input:hover { border-color: #b8c4d4; }
.field input:focus-visible, .finder input:focus-visible { outline: none; border-color: var(--blue-600); box-shadow: 0 0 0 4px rgba(11, 94, 215, .25); }
.form-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.4rem; }


/* ---------- Finder (site search) ---------- */
.finder { position: relative; }
.finder-label { display: block; font-weight: 800; margin-bottom: .6rem; }
.finder-box { position: relative; }
.finder-box svg { position: absolute; left: 1rem; top: 50%; width: 20px; height: 20px; transform: translateY(-50%); color: var(--muted); pointer-events: none; }
.finder input { padding-left: 2.9rem; }
.finder-results { list-style: none; margin: .5rem 0 0; padding: .4rem; background: var(--white); border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow-lg);
  max-height: min(60vh, 28rem); overflow-y: auto; animation: finder-in .16s var(--ease); position: absolute; left: 0; right: 0; z-index: 20; color: var(--ink); }
.finder-results[hidden] { display: none; }
.finder-results a { display: block; padding: .6rem .75rem; border-radius: var(--radius-sm); text-decoration: none; color: var(--ink); line-height: 1.35; }
.finder-results a:hover, .finder-results a:focus-visible { background: var(--blue-50); outline-offset: -2px; }
.finder-results .r-title { display: block; font-weight: 700; font-size: .9375rem; }
.finder-results mark { background: var(--sky-200); color: inherit; border-radius: 3px; padding: 0 .1em; }
.finder-results .r-meta { display: block; font-size: .8125rem; color: var(--muted); margin-top: .15rem; }
.finder-empty { padding: .75rem; font-size: .9375rem; color: var(--ink-2); }
.finder-status:empty { display: none; }
@keyframes finder-in { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }
html:not(.js) .finder, html:not(.js) .finder-card { display: none; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-950); color: rgba(255, 255, 255, .72); font-size: .9375rem; }
.footer-top { display: grid; grid-template-columns: 1.8fr repeat(5, minmax(0, 1fr)); gap: 2rem 1.75rem; padding-block: clamp(3rem, 2.0rem + 2vw, 3.5rem) 2.5rem; }
.footer-brand img { height: 60px; width: auto; margin-bottom: 1.25rem; }
.footer-logo { display: inline-block; }
.footer-brand .name { color: var(--white); font-weight: 800; margin-bottom: .6rem; }
.site-footer address { line-height: 1.75; }
.site-footer a { color: rgba(255, 255, 255, .85); text-decoration: none; }
.site-footer a:hover { color: var(--white); text-decoration: underline; }
.site-footer h2 { font-size: .9375rem; color: var(--white); letter-spacing: 0; margin: 0 0 1rem; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .6rem; overflow-wrap: anywhere; }
.site-footer .footer-email { white-space: nowrap; overflow-wrap: normal; }
.footer-legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .75rem 2rem; padding-block: 1.0rem; border-top: 1px solid rgba(255, 255, 255, .1); font-size: .8125rem; color: rgba(255, 255, 255, .6); }
.footer-legal p { margin: 0; max-width: 100%; text-align: center;width: 100%; }

/* ---------- Reveal on scroll (only when JS is running; content is visible otherwise) ---------- */
html.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
html.js .reveal.is-in { opacity: 1; transform: none; }
html.js .reveal-stagger > * { opacity: 0; transform: translateY(18px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
html.js .reveal-stagger.is-in > * { opacity: 1; transform: none; }
html.js .reveal-stagger.is-in > *:nth-child(2) { transition-delay: .08s; }
html.js .reveal-stagger.is-in > *:nth-child(3) { transition-delay: .16s; }
html.js .reveal-stagger.is-in > *:nth-child(4) { transition-delay: .24s; }
html.js .reveal-stagger.is-in > *:nth-child(n+5) { transition-delay: .3s; }
.hero-inner > * { animation: hero-in .9s var(--ease) both; }
.hero-inner > *:nth-child(2) { animation-delay: .08s; }
.hero-inner > *:nth-child(3) { animation-delay: .16s; }
.hero-inner > *:nth-child(4) { animation-delay: .24s; }
@keyframes hero-in { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
  .topic-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .topic-card:last-child:nth-child(odd) { grid-column: 1 / -1; }
  .figures li { padding: 1.6rem 1.4rem; grid-template-columns: 2.75rem minmax(0, 1fr); gap: .9rem; }
  .fig-icon { width: 2.75rem; height: 2.75rem; }
  .layout { grid-template-columns: minmax(0, 1fr); gap: 2.5rem; }
  .aside-box { position: static; }
  .aside-box .toc { display: none; }
  .aside-box ul { display: flex; flex-wrap: wrap; gap: .5rem; }
  .aside-box li a { background: var(--white); border: 1px solid var(--line); border-radius: 999px; padding: .45rem .9rem; }
  .key-docs { grid-template-columns: minmax(0, 1fr); }
  .footer-top { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 960px) { .footer-top { grid-template-columns: 1fr 1fr; } }
@media (max-width: 960px) {
  :root { --header-h: 68px; }
  .nav-toggle { display: inline-grid; }
  .nav-toggle .bars, .nav-toggle .bars::before, .nav-toggle .bars::after { display: block; width: 18px; height: 2px; background: currentColor; position: relative; transition: transform .2s var(--ease), background-color .2s; }
  .nav-toggle .bars::before, .nav-toggle .bars::after { content: ""; position: absolute; left: 0; }
  .nav-toggle .bars::before { top: -6px; } .nav-toggle .bars::after { top: 6px; }
  .nav-toggle[aria-expanded="true"] .bars { background: transparent; }
  .nav-toggle[aria-expanded="true"] .bars::before { transform: translateY(6px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] .bars::after { transform: translateY(-6px) rotate(-45deg); }
  .header-actions { margin-left: auto; }
  .primary-nav { position: fixed; inset: var(--header-h) 0 0 0; margin: 0; padding: 1rem var(--gutter) 3rem; overflow-y: auto; overscroll-behavior: contain;
    background: var(--white); opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity .22s var(--ease), transform .22s var(--ease), visibility 0s linear .22s; }
  .primary-nav.is-open { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
  .primary-nav > ul { flex-direction: column; align-items: stretch; gap: 0; }
  .primary-nav > ul > li { border-bottom: 1px solid var(--line); }
  .nav-link, .nav-trigger { width: 100%; justify-content: space-between; padding: 1.1rem .25rem; border-radius: 0; font-size: 1.125rem; min-height: 56px; }
  .nav-link:hover, .nav-trigger:hover, .nav-trigger[aria-expanded="true"] { background: none; }
  .nav-link--member { margin-left: 0; box-shadow: none; justify-content: flex-start; gap: .6rem; }
  .dropdown { position: static; transform: none; min-width: 0; padding: 0 0 .75rem; border: 0; box-shadow: none; display: none; opacity: 1; visibility: visible; }
  .nav-trigger[aria-expanded="true"] + .dropdown { display: block; transform: none; }
  .dropdown a { padding: .8rem .75rem; min-height: 44px; }
  html.js .home .site-header.menu-open { background: var(--white); border-bottom-color: var(--line); }
  html.js .home .site-header.menu-open .logo-dark { display: block; }
  html.js .home .site-header.menu-open .logo-light { display: none; }
  html.js .home .site-header.menu-open :is(.nav-link, .nav-trigger) { color: var(--navy-900); }
  html.js .home .site-header.menu-open .icon-btn { background: var(--white); color: var(--navy-900); border-color: var(--line); }
  html:not(.js) .primary-nav { position: static; opacity: 1; visibility: visible; transform: none; padding: 0; background: none; }
  html:not(.js) .site-header { height: auto; position: static; }
  html:not(.js) .home .site-header { margin-bottom: 0; }
  html:not(.js) .header-inner { flex-wrap: wrap; padding-block: .75rem; }
  html:not(.js) .dropdown { display: block; }
  html:not(.js) .nav-toggle { display: none; }
  .figures ul { grid-template-columns: minmax(0, 1fr); }
  .figures li { border-right: 0; border-bottom: 1px solid var(--line); padding: 1.4rem 1.5rem; }
  .figures li:last-child { border-bottom: 0; }
  .docs, .carriers, .committees, .ledger, .refs { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 640px) {
  body { font-size: 1rem; }
  .brand img { height: 34px; }
  .topic-cards { grid-template-columns: minmax(0, 1fr); }
  .members { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .75rem; }
  .members img { width: 100%; max-width: 120px; }
  .hero { min-height: 0; }
  .hero-actions .btn { width: 100%; }
  .people li { grid-template-columns: minmax(0, 1fr); gap: .2rem; }
  .faq summary { grid-template-columns: 2rem minmax(0, 1fr) 1.75rem; padding: 1rem; }
  .faq .qa { width: 2rem; height: 2rem; }
  .faq .answer { grid-template-columns: minmax(0, 1fr); padding: 0 1rem 1.1rem; }
  .faq .answer > .qa { display: none; }
  .footer-top { grid-template-columns: minmax(0, 1fr); }
  table.data th, table.data td { padding: .75rem .85rem; }
  .form-card, .contact-card, .finder-card { padding: 1.4rem; }
  .cta-inner .btn { width: 100%; }
}

/* Home: search band + resources */
.search-band { position: relative; z-index: 5; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.35fr); gap: 1rem 3rem; align-items: center;
  padding: clamp(1.75rem, 1.25rem + 2vw, 2.75rem); border-radius: calc(var(--radius) + 6px); color: var(--white); background: var(--navy-900);
  background-image: radial-gradient(circle at 100% 0%, rgba(76, 195, 255, .28), transparent 50%), radial-gradient(circle at 0% 100%, rgba(11, 94, 215, .35), transparent 55%);
  box-shadow: var(--shadow-lg); }
.search-band-text { grid-row: span 2; }
.search-band .finder { align-self: end; }
.chips { align-self: start; }
.search-band h2 { color: var(--white); font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); margin-bottom: .5rem; }
.search-band p { color: rgba(255, 255, 255, .78); margin: 0; }
.finder-lg input { min-height: 60px; font-size: 1.0625rem; padding-left: 3.2rem; border: 0; box-shadow: 0 10px 30px -10px rgba(0, 0, 0, .45); }
.finder-lg .finder-box svg { left: 1.15rem; width: 22px; height: 22px; color: var(--blue-600); }
.finder-lg input:focus-visible { box-shadow: 0 0 0 4px rgba(76, 195, 255, .55); }
.chips { grid-column: 2; display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; }
.chips-label { font-size: .875rem; font-weight: 700; color: rgba(255, 255, 255, .7); margin-right: .15rem; }
.chip { display: inline-flex; align-items: center; min-height: 36px; padding: .35rem .9rem; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .25);
  background: rgba(255, 255, 255, .08); color: var(--white); font-size: .875rem; font-weight: 700; text-decoration: none;
  transition: background-color .15s var(--ease), border-color .15s var(--ease), transform .15s var(--ease); }
.chip:hover { background: var(--white); border-color: var(--white); color: var(--navy-900); transform: translateY(-1px); }

.resources-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 1.5rem; margin-top: 1.5rem; align-items: stretch; }
.feature-card { display: flex; flex-direction: column; overflow: hidden; background: var(--white); border: 1px solid var(--line); border-radius: calc(var(--radius) + 6px); box-shadow: var(--shadow-sm); }
.feature-media { position: relative; min-height: 13rem; flex: 1 1 13rem; background: var(--navy-900) url("../img/photos/ship-at-sea-960.jpg") center 55% / cover no-repeat; }
.feature-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(6, 20, 40, 0) 40%, rgba(6, 20, 40, .35)); }
.feature-body { padding: 1.75rem 1.9rem 1.9rem; }
.feature-kicker { display: inline-flex; align-items: center; gap: .5rem; margin: 0 0 .8rem; padding: .3rem .75rem; border-radius: 999px; background: var(--blue-50); color: var(--blue-700); font-size: .8125rem; font-weight: 800; }
.feature-kicker::before { content: ""; width: .45rem; height: .45rem; border-radius: 50%; background: var(--blue-600); }
.feature-body h3 { font-size: clamp(1.15rem, 1rem + .5vw, 1.4rem); line-height: 1.3; margin-bottom: .75rem; }
.feature-body p { color: var(--ink-2); }
.feature-body .btn { margin-top: .5rem; }

.key-docs-list { padding: 1.6rem; background: var(--white); border: 1px solid var(--line); border-radius: calc(var(--radius) + 6px); box-shadow: var(--shadow-sm); }
.list-head { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; margin-bottom: 1rem; }
.list-head h3 { margin: 0; font-size: 1.25rem; }
.list-head a { font-size: .9375rem; font-weight: 700; white-space: nowrap; }
.docs.docs-dl { margin: 0; gap: .6rem; }
.docs-dl .doc a { grid-template-columns: 2.75rem minmax(0, 1fr) auto; align-items: center; padding: .9rem 1rem; background: var(--soft); border-color: transparent; }
.docs-dl .doc a:hover { background: var(--white); border-color: var(--blue-100); }
.docs-dl .ficon { width: 2.75rem; height: 2.75rem; background: var(--white); }
.docs-dl .title { font-size: .9375rem; }
.docs-dl .meta { grid-column: 2; }
.docs-dl .dl { grid-column: 3; grid-row: 1 / span 2; display: grid; place-items: center; width: 2.4rem; height: 2.4rem; border-radius: 50%; background: var(--white); color: var(--blue-600);
  border: 1px solid var(--line); transition: background-color .15s var(--ease), color .15s var(--ease), border-color .15s var(--ease); }
.docs-dl .dl svg { width: 18px; height: 18px; }
.docs-dl .doc a:hover .dl { background: var(--blue-600); border-color: var(--blue-600); color: var(--white); }

@media (max-width: 960px) {
  .search-band { grid-template-columns: minmax(0, 1fr); }
  .chips { grid-column: 1; }
  .search-band-text { grid-row: auto; }
  .resources-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 640px) {
  .docs-dl .doc a { grid-template-columns: 2.5rem minmax(0, 1fr) auto; padding: .8rem; gap: .2rem .8rem; }
  .list-head { flex-wrap: wrap; }
}

/* Related links: filter + grouped cards */
.page-hero .hero-lead { margin: 1rem 0 0; max-width: 46rem; font-size: 1.125rem; color: rgba(255, 255, 255, .85); }
.ref-toolbar { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.5rem; padding: 1.25rem; margin-bottom: 1rem;
  background: var(--soft); border: 1px solid var(--line); border-radius: calc(var(--radius) + 4px); }
.ref-search { flex: 1 1 18rem; }
.ref-search input { font: inherit; font-size: 1rem; min-height: 50px; width: 100%; padding: .7rem 1rem .7rem 2.9rem; color: var(--ink); background: var(--white);
  border: 1.5px solid var(--line); border-radius: 12px; -webkit-appearance: none; appearance: none; transition: border-color .15s var(--ease), box-shadow .15s var(--ease); }
.ref-search input:focus-visible { outline: none; border-color: var(--blue-600); box-shadow: 0 0 0 4px rgba(11, 94, 215, .25); }
.ref-chips { display: flex; flex-wrap: wrap; gap: .5rem; }
.chip-toggle { min-height: 40px; padding: .45rem 1rem; border-radius: 999px; border: 1.5px solid var(--line); background: var(--white); color: var(--navy-900);
  font: 700 .875rem/1 var(--font); cursor: pointer; transition: background-color .15s var(--ease), border-color .15s var(--ease), color .15s var(--ease); }
.chip-toggle:hover { border-color: var(--blue-600); color: var(--blue-700); }
.chip-toggle[aria-pressed="true"] { background: var(--navy-900); border-color: var(--navy-900); color: var(--white); }
html:not(.js) .ref-toolbar, html:not(.js) .ref-status { display: none; }
.ref-status { margin: 0 0 2rem; font-size: .9375rem; font-weight: 600; color: var(--muted); }
.ref-empty { padding: 1.5rem; border: 1px dashed var(--line); border-radius: var(--radius); color: var(--ink-2); }
.ref-empty[hidden], .ref-group[hidden], .ref-card[hidden] { display: none; }

.ref-group + .ref-group { margin-top: 2.75rem; }
.ref-group h2 { display: flex; align-items: center; gap: .6rem; font-size: 1.35rem; margin-bottom: 1.1rem; }
.ref-count { display: inline-grid; place-items: center; min-width: 1.9rem; height: 1.9rem; padding: 0 .5rem; border-radius: 999px; background: var(--blue-50);
  color: var(--blue-700); font-size: .8125rem; font-weight: 800; letter-spacing: 0; }
.refs-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.ref-card { position: relative; display: grid; grid-template-columns: 3.25rem minmax(0, 1fr) 2rem; gap: 1rem; align-items: start; padding: 1.2rem 1.2rem 1.15rem;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), border-color .2s var(--ease); }
.ref-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--blue-100); }
.ref-card:has(.abbr:focus-visible) { outline: 3px solid var(--blue-600); outline-offset: 3px; }
.ref-mono { display: grid; place-items: center; width: 3.25rem; height: 3.25rem; border-radius: 12px; font-size: .75rem; font-weight: 800; letter-spacing: .02em; color: var(--white); }
.mono--gov { background: linear-gradient(135deg, var(--navy-900), var(--navy-800)); }
.mono--industry { background: linear-gradient(135deg, var(--blue-600), #3b82f6); }
.mono--intl { background: linear-gradient(135deg, #0e7490, #22a6c7); }
.ref-body { min-width: 0; line-height: 1.45; color: var(--ink-2); font-size: .9375rem; }
.ref-body .abbr { display: block; margin-bottom: .2rem; font-size: 1.0625rem; font-weight: 800; color: var(--navy-900); text-decoration: none; }
.ref-body .abbr.ext::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.ref-body .abbr:focus-visible { outline: none; }
.ref-card:hover .abbr { color: var(--blue-700); }
.ref-body .full a { position: relative; z-index: 1; }
.ref-domain { display: block; margin-top: .45rem; font-size: .8125rem; font-weight: 600; color: var(--muted); overflow-wrap: anywhere; }
.ref-go { display: grid; place-items: center; width: 2rem; height: 2rem; border-radius: 50%; background: var(--soft); color: var(--muted);
  transition: background-color .2s var(--ease), color .2s var(--ease), transform .2s var(--ease); }
.ref-go svg { width: 16px; height: 16px; }
.ref-card:hover .ref-go { background: var(--blue-600); color: var(--white); transform: rotate(0deg) scale(1.05); }
.ref-mono.mono--sm { font-size: .625rem; letter-spacing: 0; }

@media (max-width: 1180px) { .refs-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) {
  .refs-grid { grid-template-columns: minmax(0, 1fr); }
  .ref-toolbar { padding: 1rem; }
  .ref-chips { overflow-x: auto; flex-wrap: nowrap; padding-bottom: .25rem; width: 100%; }
  .chip-toggle { flex: none; }
}

/* Site map */
.jump-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; margin: calc(-1 * clamp(4rem, 3rem + 3vw, 6rem)) 0 3rem; position: relative; z-index: 2; }
.jump-card { display: flex; align-items: center; gap: 1rem; padding: 1.25rem 1.4rem; background: var(--white); border-radius: calc(var(--radius) + 4px); box-shadow: var(--shadow-lg);
  text-decoration: none; color: var(--ink); border: 1px solid transparent; transition: transform .2s var(--ease), border-color .2s var(--ease); }
.jump-card:hover { transform: translateY(-3px); border-color: var(--blue-100); color: var(--ink); }
.jump-icon { display: grid; place-items: center; width: 3rem; height: 3rem; border-radius: 12px; background: var(--blue-50); color: var(--blue-600); flex: none; }
.jump-icon svg { width: 24px; height: 24px; }
.jump-icon [class*="fa-"] { font-size: 20px; }
.jump-num { display: block; font-size: 1.75rem; font-weight: 800; line-height: 1; color: var(--navy-900); letter-spacing: -0.02em; }
.jump-label { display: block; margin-top: .3rem; font-size: .9375rem; font-weight: 700; color: var(--muted); }

.map-section + .map-section { margin-top: 4rem; }
.map-section h2 { margin-bottom: 1.5rem; }
.map-section-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: .5rem 1.5rem; margin-bottom: 1.5rem; }
.map-section-head h2 { margin: 0; }
.map-section-head a { font-weight: 700; }

/* Tree */
.tree { --line: #c9d6e6; }
.tree-root { display: flex; justify-content: center; position: relative; padding-bottom: 2.5rem; }
.tree-root::after { content: ""; position: absolute; left: 50%; bottom: 0; width: 2px; height: 2.5rem; background: var(--line); transform: translateX(-50%); }
.root-node { display: inline-flex; align-items: center; gap: .75rem; padding: .7rem 1.4rem .7rem .7rem; border-radius: 999px; background: var(--navy-900); color: var(--white);
  font-weight: 800; font-size: 1.0625rem; text-decoration: none; box-shadow: var(--shadow-md); transition: background-color .2s var(--ease), transform .2s var(--ease); }
.root-node:hover { background: var(--blue-600); color: var(--white); transform: translateY(-2px); }
.root-node .branch-icon { background: rgba(255, 255, 255, .14); color: var(--white); }
.tree-branches { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; padding-top: 2rem; }
.tree-branches::before { content: ""; position: absolute; top: 0; left: 16.667%; right: 16.667%; height: 2px; background: var(--line); }
.branch { position: relative; background: var(--white); border: 1px solid var(--line); border-radius: calc(var(--radius) + 4px); padding: 1.1rem 1.1rem .6rem; }
.branch::before { content: ""; position: absolute; left: 50%; top: calc(-2rem - 1px); width: 2px; height: 2rem; background: var(--line); transform: translateX(-50%); }
.branch::after { content: ""; position: absolute; left: 50%; top: -6px; width: 10px; height: 10px; border-radius: 50%; background: var(--blue-600); box-shadow: 0 0 0 3px var(--white); transform: translateX(-50%); }
.branch-head { display: flex; align-items: center; gap: .7rem; padding-bottom: .85rem; margin-bottom: .35rem; border-bottom: 1px solid var(--line); }
.branch-icon { display: grid; place-items: center; width: 2.4rem; height: 2.4rem; border-radius: 10px; background: var(--blue-50); color: var(--blue-600); flex: none; }
.branch-icon svg { width: 20px; height: 20px; }
.branch-head h3 { margin: 0; font-size: 1.0625rem; flex: 1; }
.branch-count { display: inline-grid; place-items: center; min-width: 1.7rem; height: 1.7rem; padding: 0 .45rem; border-radius: 999px; background: var(--soft); color: var(--muted); font-size: .75rem; font-weight: 800; }
.branch ul { list-style: none; margin: 0; padding: 0; }
.branch li a { display: grid; grid-template-columns: minmax(0, 1fr) 1rem; column-gap: .5rem; align-items: center; padding: .6rem .5rem; margin: 0 -.5rem; border-radius: var(--radius-sm);
  color: var(--navy-900); text-decoration: none; font-weight: 700; font-size: .9375rem; line-height: 1.35; transition: background-color .15s var(--ease), color .15s var(--ease); }
.branch li a:hover { background: var(--blue-50); color: var(--blue-700); }
.branch li a[aria-current="page"] { background: var(--blue-50); color: var(--blue-700); }
.branch .pg-name { grid-column: 1; }
.branch .pg-meta { grid-column: 1; grid-row: 2; margin-top: .15rem; font-size: .8125rem; font-weight: 600; color: var(--muted); }
.branch .go { grid-column: 2; grid-row: 1 / span 2; width: 1rem; height: 1rem; color: var(--muted); transition: transform .2s var(--ease), color .2s var(--ease); }
.branch li a:hover .go { color: var(--blue-600); transform: translateX(3px); }
.branch--guidance .branch-icon { background: #e7f6fb; color: #0e7490; }
.branch--chassis .branch-icon { background: #eef1ff; color: #3949ab; }
.branch--resources .branch-icon { background: #edf7ef; color: #2e7d32; }

/* Member website cards */
.site-cards { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .9rem; }
.site-card { display: grid; grid-template-columns: 2.75rem minmax(0, 1fr) 1.1rem; gap: .9rem; align-items: center; height: 100%; padding: 1rem 1.1rem; border: 1px solid var(--line);
  border-radius: var(--radius); background: var(--white); color: var(--ink); text-decoration: none; transition: transform .2s var(--ease), box-shadow .2s var(--ease), border-color .2s var(--ease); }
.site-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); border-color: var(--blue-100); color: var(--ink); }
.site-mono { display: grid; place-items: center; width: 2.75rem; height: 2.75rem; border-radius: 12px; background: linear-gradient(135deg, var(--navy-900), var(--blue-600)); color: var(--white); font-weight: 800; }
.site-text { min-width: 0; }
.site-name { display: block; font-weight: 800; color: var(--navy-900); line-height: 1.35; }
.site-card:hover .site-name { color: var(--blue-700); }
.site-domain { display: block; margin-top: .15rem; font-size: .8125rem; font-weight: 600; color: var(--muted); overflow-wrap: anywhere; }
.site-card .go { width: 1.1rem; height: 1.1rem; color: var(--muted); }
.site-card:hover .go { color: var(--blue-600); }

/* Related links, compact */
.related-compact { list-style: none; margin: 0; padding: 1.25rem 1.5rem; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 2rem;
  background: var(--soft); border-radius: calc(var(--radius) + 4px); }
.related-compact li { padding: .7rem 0; border-bottom: 1px solid var(--line); font-size: .9375rem; line-height: 1.45; color: var(--ink-2); }
.related-compact li > a:first-child { font-weight: 800; }

@media (max-width: 1180px) {
  .tree-branches { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tree-branches::before { left: 25%; right: 25%; }
  .branch:nth-child(n+3)::before, .branch:nth-child(n+3)::after { display: none; }
  .site-cards, .related-compact { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 720px) {
  .jump-cards { grid-template-columns: minmax(0, 1fr); gap: .6rem; }
  .jump-card { padding: .9rem 1.1rem; }
  .tree-root { justify-content: flex-start; padding-left: 0; }
  .tree-root::after { left: 1.75rem; }
  .tree-branches { grid-template-columns: minmax(0, 1fr); padding: 0 0 0 3rem; gap: 1rem; }
  .tree-branches::before { left: 1.75rem; right: auto; top: 0; bottom: 2rem; width: 2px; height: auto; transform: translateX(-50%); }
  .branch::before, .branch:nth-child(n+3)::before { display: block; left: -1.25rem; top: 1.9rem; width: 1.25rem; height: 2px; transform: none; }
  .branch::after, .branch:nth-child(n+3)::after { display: block; left: -1.25rem; top: calc(1.9rem - 4px); transform: translateX(-50%); }
  .site-cards, .related-compact { grid-template-columns: minmax(0, 1fr); }
  .related-compact { padding: .75rem 1.1rem; }
}

/* Members page */
.members-intro { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 1.5rem 3rem; align-items: center; margin-bottom: 3.5rem;
  padding: 3rem 2rem; background: var(--soft); border-radius: calc(var(--radius) + 6px); }
/* Members page: tighter spacing so both rows of member logos fit on a typical laptop screen. */
.members-page { padding-top: clamp(1.5rem, 1.25rem + 1vw, 2.25rem); }
.members-page .members-intro { padding: 1.25rem 2rem; margin-bottom: 1.5rem; }
.members-page .member-logo { height: 7.5rem; }
.members-intro-text { margin: 0; font-size: 1.125rem; line-height: 1.6; color: var(--navy-900); font-weight: 600; }
.mini-figs { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .75rem; }
.mini-figs li { display: flex; align-items: center; gap: .75rem; padding: 1.3rem 1rem; background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.mini-icon { display: grid; place-items: center; width: 2.5rem; height: 2.5rem; border-radius: 10px; background: var(--blue-50); color: var(--blue-600); flex: none; }
.mini-icon svg { width: 20px; height: 20px; }
.mini-num { display: block; font-size: 1.35rem; font-weight: 800; line-height: 1.05; color: var(--navy-900); letter-spacing: -0.02em; }
.mini-label { display: block; margin-top: .15rem; font-size: .8125rem; line-height: 1.35; font-weight: 600; color: var(--muted); }

.members-section + .members-section { margin-top: 4rem; }
.members-section > h2 { margin-bottom: 1.5rem; }
.members-hint { display: inline-flex; align-items: center; gap: .4rem; margin: 0; padding: .35rem .8rem; border-radius: 999px; background: var(--blue-50);
  color: var(--blue-700); font-size: .875rem; font-weight: 700; }
.members-hint svg { width: 16px; height: 16px; }

.member-grid { --cols: 5; --gap: 1.25rem; list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: var(--gap); }
.member-grid > li { flex: 0 0 calc((100% - (var(--cols) - 1) * var(--gap)) / var(--cols)); }
.member-card { display: flex; flex-direction: column; height: 100%; overflow: hidden; background: var(--white); border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 4px); color: var(--ink); text-decoration: none;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s var(--ease); }
.member-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-color: transparent; color: var(--ink); }
.member-logo { display: grid; place-items: center; height: 9rem; background: linear-gradient(180deg, #f7f9fc, #eef3f9); }
.member-logo { --box: 10rem; }
.member-logo img { width: calc(var(--lw, .6) * var(--box)); height: auto; max-width: 92%; transition: transform .3s var(--ease); }
.member-card:hover .member-logo img { transform: scale(1.06); }
.member-info { display: flex; flex-direction: column; flex: 1; padding: 1.1rem 1.25rem 1.2rem; }
.member-name { font-weight: 800; font-size: 1.0625rem; color: var(--navy-900); line-height: 1.3; }
.member-domain { font-size: .875rem; font-weight: 700; color: var(--navy-900); overflow-wrap: anywhere; }
.member-visit { margin-top: auto; padding-top: .6rem; display: inline-flex; align-items: center; gap: .35rem; font-size: .875rem; font-weight: 800; color: var(--blue-600); }
.member-visit svg { width: 16px; height: 16px; transition: transform .2s var(--ease); }
.member-card:hover .member-visit svg { transform: translate(2px, -2px); }

.related-cards { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
/* Two cards share the full row instead of leaving an empty third column. */
@media (min-width: 1181px) {
  .related-cards:has(> li:nth-child(2):last-child) { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.related-card { display: grid; grid-template-columns: 3rem minmax(0, 1fr) 1.1rem; gap: 1rem; align-items: center; height: 100%; padding: 1.25rem 1.3rem;
  border-radius: calc(var(--radius) + 4px); background: var(--navy-900); color: var(--white); text-decoration: none;
  background-image: radial-gradient(circle at 100% 0%, rgba(76, 195, 255, .22), transparent 60%); transition: transform .2s var(--ease), box-shadow .2s var(--ease); }
.related-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); color: var(--white); }
.related-icon { display: grid; place-items: center; width: 3rem; height: 3rem; border-radius: 12px; background: rgba(255, 255, 255, .12); color: var(--sky-400); }
.related-icon svg { width: 24px; height: 24px; }
.related-title { display: block; font-weight: 800; line-height: 1.3; }
.related-desc { display: block; margin-top: .25rem; font-size: .875rem; line-height: 1.45; color: rgba(255, 255, 255, .75); }
.related-card .go { width: 1.1rem; height: 1.1rem; color: var(--sky-400); transition: transform .2s var(--ease); }
.related-card:hover .go { transform: translateX(3px); }

@media (max-width: 960px) {
  .member-grid { --cols: 2; }
}
@media (max-width: 1180px) {
  .members-intro { grid-template-columns: minmax(0, 1fr); }
  .related-cards { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 720px) {
  .member-grid { --cols: 2; --gap: .75rem; }
  .member-logo { height: 6.5rem; }
  .member-logo { --box: 7.5rem; }
  .member-info { padding: .85rem .9rem 1rem; }
  .mini-figs { grid-template-columns: minmax(0, 1fr); }
  .members-intro, .members-page .members-intro { padding: 1.25rem; }
  .members-page .member-logo { height: 6.5rem; }
}

/* CCM page */
.ccm-feature { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 1.5rem 2rem; align-items: center; padding: 1.75rem 2rem;
  margin-top: calc(-1 * clamp(4rem, 3rem + 3vw, 6rem)); position: relative; z-index: 2; background: var(--white); border-radius: calc(var(--radius) + 6px); box-shadow: var(--shadow-lg); }
.ccm-page .page-hero .container { padding-bottom: clamp(5.5rem, 4.5rem + 3vw, 7.5rem); }
.ccm-brand { position: relative; display: grid; place-items: center; width: 5.5rem; height: 5.5rem; border-radius: 18px;
  background: linear-gradient(135deg, var(--navy-900), var(--blue-600)); color: var(--white); }
.ccm-mark { font-size: 1.35rem; font-weight: 800; letter-spacing: .02em; }
.ccm-truck { position: absolute; right: -.6rem; bottom: -.6rem; display: grid; place-items: center; width: 2.3rem; height: 2.3rem; border-radius: 50%;
  background: var(--sky-400); color: var(--navy-900); box-shadow: 0 0 0 4px var(--white); }
.ccm-truck svg { width: 18px; height: 18px; }
.ccm-lead { margin: 0; font-size: 1.17rem; color: var(--navy-900); }
.ccm-domain { margin: .3rem 0 0; font-size: .9375rem; font-weight: 700; color: var(--muted); }
.ccm-cta { white-space: nowrap; }

.ccm-section { margin-top: 3.5rem; }
.ccm-section h2 { margin-bottom: 1.25rem; }
/* Committees: Senior Steering Committee group photo (replaceable, see committees.php) */
.ssc-photo figure { margin: 0; }
.ssc-photo img { display: block; width: 100%; height: auto; border-radius: calc(var(--radius) + 8px); box-shadow: var(--shadow-md); background: var(--soft); }
.ssc-photo figcaption { margin-top: .85rem; font-size: .9375rem; font-weight: 600; color: var(--muted); }
.ccm-quotes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; align-items: start; }
.nowrap { white-space: nowrap; }
.quote-card { position: relative; margin: 0; padding: 1.75rem 1.75rem 1.4rem; background: var(--soft); border-radius: calc(var(--radius) + 4px); border-left: 4px solid var(--blue-600); display: flex; flex-direction: column; }
.quote-icon { display: grid; place-items: center; width: 2.6rem; height: 2.6rem; border-radius: 12px; background: var(--white); color: var(--blue-600); margin-bottom: 1rem; box-shadow: var(--shadow-sm); }
.quote-icon svg { width: 22px; height: 22px; }
.quote-card blockquote { margin: 0; }
.quote-card blockquote p { margin: 0; font-size: 1.0625rem; line-height: 1.65; color: var(--ink); }
.quote-q { margin: 0 0 .6rem; font-weight: 800; color: var(--navy-900); }
.quote-card figcaption { padding-top: 1rem; font-size: .875rem; font-weight: 600; color: var(--muted); }

.archive-pill { display: inline-flex; align-items: center; padding: .3rem .8rem; border-radius: 999px; background: #fff4e5; color: #8a4b00; font-size: .8125rem; font-weight: 800; }
.ccm-note { margin: -.5rem 0 1.25rem; color: var(--ink-2); }
.pool-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.pool-card { position: relative; display: flex; flex-direction: column; gap: .55rem; padding: 1.25rem 1.3rem; background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius); overflow: hidden; transition: transform .2s var(--ease), box-shadow .2s var(--ease); }
.pool-card::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 6px; background: var(--pool); }
.pool-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.pool-code { align-self: flex-start; padding: .25rem .7rem; border-radius: 999px; background: var(--pool); color: var(--ink); font-size: .875rem; font-weight: 800; border: 1px solid rgba(15, 27, 45, .15); }
.pool-where { display: flex; gap: .5rem; align-items: flex-start; font-weight: 700; color: var(--navy-900); line-height: 1.45; }
.pool-where svg { width: 18px; height: 18px; flex: none; margin-top: .15rem; color: var(--blue-600); }
.pool-date { font-size: .8125rem; font-weight: 600; color: var(--muted); }

.ccm-two { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); gap: 2.5rem; align-items: start; }
.contact-mini-note { margin: -.5rem 0 1rem; color: var(--ink-2); font-size: .9375rem; }
.contact-mini-card { display: flex; align-items: center; gap: 1rem; padding: 1.25rem 1.3rem; border-radius: calc(var(--radius) + 4px); background: var(--navy-900); color: var(--white);
  background-image: radial-gradient(circle at 100% 0%, rgba(76, 195, 255, .22), transparent 60%); }
.contact-mini-name { display: block; font-weight: 800; margin-bottom: .2rem; }
.contact-mini-card a { color: var(--sky-400); font-weight: 700; overflow-wrap: anywhere; }
.related-cards--stack { grid-template-columns: minmax(0, 1fr); gap: .75rem; }
.related-card--light { grid-template-columns: minmax(0, 1fr) 1.1rem; background: var(--white); background-image: none; color: var(--ink); border: 1px solid var(--line); padding: 1rem 1.2rem; }
.related-card--light:hover { color: var(--ink); border-color: var(--blue-100); box-shadow: var(--shadow-md); }
.related-card--light .related-title { color: var(--navy-900); }
.related-card--light .related-desc { color: var(--muted); }
.related-card--light .go { color: var(--blue-600); }

@media (max-width: 1180px) {
  .pool-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ccm-two { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 720px) {
  .ccm-feature { grid-template-columns: auto minmax(0, 1fr); padding: 1.35rem; }
  .ccm-brand { width: 4.25rem; height: 4.25rem; }
  .ccm-mark { font-size: 1.05rem; }
  .ccm-cta { grid-column: 1 / -1; width: 100%; }
  .ccm-lead { font-size: 1.0625rem; }
  .ccm-quotes, .pool-grid { grid-template-columns: minmax(0, 1fr); }
}

/* Committees: structure diagram */
.org-chart { display: flex; flex-direction: column; align-items: center; }
.org-node { position: relative; display: grid; grid-template-columns: 3.5rem minmax(0, 1fr); gap: 1.25rem; width: min(100%, 50rem); padding: 1.75rem 2rem;
  border-radius: calc(var(--radius) + 6px); background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow-md); }
.org-node--top { background: var(--navy-900); border-color: var(--navy-900); color: rgba(255, 255, 255, .88);
  background-image: radial-gradient(circle at 100% 0%, rgba(76, 195, 255, .25), transparent 55%); box-shadow: var(--shadow-lg); }
.org-node--top h2 { color: var(--white); }
/* Committees reporting directly to the SSC: a tray joined to the bottom of the SSC card, so they read as part of that tier. */
.org-node--top:has(+ .org-direct) { border-bottom-left-radius: 0; border-bottom-right-radius: 0; }
.org-direct { width: min(100%, 50rem); padding: 1.5rem 2rem 1.75rem; border: 1px solid var(--blue-100); border-top: 3px solid var(--sky-400);
  border-radius: 0 0 calc(var(--radius) + 6px) calc(var(--radius) + 6px); background: var(--blue-50); box-shadow: var(--shadow-md); }
.org-direct-head { margin-bottom: 1.1rem; }
.org-direct-head h2 { margin: 0; font-size: 1.15rem; }
.org-direct-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .85rem; }
.org-direct-grid .wc-card { flex-direction: row; align-items: center; padding: 1rem 1.1rem; }
.org-direct-grid .wc-icon { flex: none; }
.org-node--top .org-icon { background: rgba(255, 255, 255, .12); color: var(--sky-400); }
.org-node--top .org-tier { color: var(--sky-400); }
.org-node h2 { font-size: 1.45rem; margin: 0 0 .5rem; }
.org-node p:last-child { margin: 0; }
.org-icon { display: grid; place-items: center; width: 3.5rem; height: 3.5rem; border-radius: 14px; background: var(--blue-50); color: var(--blue-600); }
.org-icon svg { width: 28px; height: 28px; }
.org-tier { margin: 0 0 .3rem; font-size: .8125rem; font-weight: 800; color: var(--blue-600); }
.org-line { position: relative; width: 2px; height: 3rem; background: linear-gradient(var(--blue-600), var(--sky-400));z-index: 1; margin: 0 auto; }
.org-line::after { content: ""; position: absolute; left: 50%; bottom: -5px; width: 10px; height: 10px; border-right: 2px solid var(--sky-400); border-bottom: 2px solid var(--sky-400);
  transform: translateX(-50%) rotate(45deg); }
.org-line--label { height: 4.5rem; }
.org-line--label span { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); white-space: nowrap; padding: .3rem .8rem; border-radius: 999px;
  background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow-sm); font-size: .8125rem; font-weight: 700; color: var(--ink-2); }
.org-working { width: 100%; padding: 1.75rem; border-radius: calc(var(--radius) + 8px); background: var(--soft); border: 1px dashed #b9c8da; }
.org-working-head { text-align: center; margin-bottom: 1.5rem; }
.org-working-head .org-tier { margin-inline: auto; }
.org-working-head h2 { margin: 0; font-size: 1.45rem; }
.wc-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; }
.wc-card { display: flex; flex-direction: column; gap: .75rem; padding: 1.35rem 1.3rem; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), border-color .2s var(--ease); }
.wc-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--blue-100); }
.wc-icon { display: grid; place-items: center; width: 2.9rem; height: 2.9rem; border-radius: 12px; background: var(--blue-600); color: var(--white); }
.wc-icon svg { width: 22px; height: 22px; }
.wc-card h3 { margin: 0; font-size: 1.05rem; line-height: 1.35; }
.wc-link { display: inline-flex; align-items: flex-start; gap: .35rem; font-size: .8125rem; font-weight: 700; line-height: 1.45; text-decoration: none; }
.wc-link .go { width: 14px; height: 14px; flex: none; margin-top: .15rem; transition: transform .2s var(--ease); }
.wc-link:hover { text-decoration: underline; }
.wc-link:hover .go { transform: translateX(3px); }

@media (max-width: 1180px) { .wc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) {
  .org-node { grid-template-columns: minmax(0, 1fr); padding: 1.4rem; gap: .9rem; }
  .org-icon { width: 3rem; height: 3rem; }
  .org-line--label span { white-space: normal; width: max-content; max-width: 16rem; text-align: center; }
  .org-working { padding: 1.1rem; }
  .org-direct { padding: 1.25rem 1.1rem 1.4rem; }
  .org-direct-grid { grid-template-columns: minmax(0, 1fr); }
  .wc-grid { grid-template-columns: minmax(0, 1fr); }
}

/* Home: members band with logo marquee */
.members-band { position: relative; overflow: hidden; padding-block: clamp(3.5rem, 2.5rem + 3vw, 5.5rem); color: rgba(255, 255, 255, .8); background: var(--navy-950);
  background-image: radial-gradient(circle at 0% 0%, rgba(11, 94, 215, .35), transparent 45%), radial-gradient(circle at 100% 100%, rgba(76, 195, 255, .18), transparent 45%); }
.members-band-inner { display: grid; grid-template-columns: minmax(0, 18rem) minmax(0, 1fr); gap: 2.5rem 3.5rem; align-items: center; }
.members-band h2 { color: var(--white); margin-bottom: .75rem; }
.band-count { margin: 0 0 .35rem; font-weight: 700; font-size: 1.0625rem; color: rgba(255, 255, 255, .85); }
.band-count span { font-size: 2.6rem; font-weight: 800; color: var(--sky-400); letter-spacing: -0.03em; margin-right: .35rem; vertical-align: -.1em; }
.members-band .members-note { color: rgba(255, 255, 255, .6); margin: 0 0 1.5rem; }
.marquees { display: grid; gap: 1rem; min-width: 0;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee { display: flex; gap: 1rem; overflow: hidden; }
.marquee-track { list-style: none; margin: 0; padding: 0; display: flex; gap: 1rem; flex: none; animation: marquee-l 38s linear infinite; }
.marquee--right .marquee-track { animation-name: marquee-r; animation-duration: 32s; }
.marquee:hover .marquee-track, .marquee:focus-within .marquee-track { animation-play-state: paused; }
@keyframes marquee-l { from { transform: translateX(0); } to { transform: translateX(calc(-100% - 1rem)); } }
@keyframes marquee-r { from { transform: translateX(calc(-100% - 1rem)); } to { transform: translateX(0); } }
.logo-tile { display: grid; place-items: center; width: 11rem; height: 6.5rem; padding: .5rem; border-radius: var(--radius); background: var(--white);
  box-shadow: 0 8px 24px -12px rgba(0, 0, 0, .6); transition: transform .2s var(--ease), box-shadow .2s var(--ease); }
.logo-tile:hover { transform: translateY(-4px); box-shadow: 0 0 0 3px var(--sky-400), 0 14px 30px -12px rgba(0, 0, 0, .7); }
.logo-tile { --box: 8.5rem; }
.logo-tile img { width: calc(var(--lw, .6) * var(--box)); height: auto; max-width: 92%; }

@media (max-width: 960px) { .members-band-inner { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 640px) { .logo-tile { width: 8.5rem; height: 5rem; } .logo-tile { --box: 6.5rem; } .marquee, .marquee-track, .marquees { gap: .75rem; } }
@media (prefers-reduced-motion: reduce) {
  .marquees { -webkit-mask-image: none; mask-image: none; }
  .marquees { display: flex; flex-wrap: wrap; justify-content: center; gap: 1rem; }
  .marquee, .marquee-track:not([aria-hidden="true"]) { display: contents; }
  .marquee-track { animation: none; }
  .marquee-track[aria-hidden="true"] { display: none; }
}
@media print { .marquee-track[aria-hidden="true"] { display: none; } .marquees { display: flex; flex-wrap: wrap; gap: 1rem; } .marquee, .marquee-track { display: contents; } }

/* About page */
.about-intro { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: clamp(2rem, 4vw, 4rem); align-items: start; }
/* Arriving via the "Introduction" link: fill the screen below the header so Mission and Vision start below the fold. */
.about-intro:target { min-height: calc(100vh - var(--header-h) - 1rem); min-height: calc(100svh - var(--header-h) - 1rem); }
.about-text .lead { font-size: 1.25rem; line-height: 1.6; color: var(--navy-900); font-weight: 600; }
.scope-box { margin-top: 1.5rem; padding: 1.4rem 1.5rem; background: var(--soft); border-radius: calc(var(--radius) + 4px); }
.scope-box > p { margin: 0 0 1rem; color: var(--ink-2); }
.scope-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .6rem; }
.scope-list li { display: flex; align-items: center; gap: .65rem; padding: .7rem .8rem; background: var(--white); border-radius: var(--radius-sm); font-weight: 700; font-size: .9375rem; color: var(--navy-900); box-shadow: var(--shadow-sm); }
.scope-icon { display: grid; place-items: center; width: 2.1rem; height: 2.1rem; border-radius: 9px; background: var(--blue-50); color: var(--blue-600); flex: none; }
.scope-icon svg { width: 18px; height: 18px; }
.about-photo { position: relative; margin: 0; }
.about-photo-img { aspect-ratio: 4 / 5; border-radius: calc(var(--radius) + 8px); background: var(--navy-900) url("../img/photos/terminal-cranes-960.jpg") 60% center / cover no-repeat; box-shadow: var(--shadow-lg); }
.about-badge { position: absolute; left: -1.5rem; bottom: 2rem; right: 2rem; display: flex; align-items: center; gap: .85rem; padding: 1rem 1.2rem; background: var(--white);
  border-radius: var(--radius); box-shadow: var(--shadow-lg); font-weight: 700; font-size: .9375rem; line-height: 1.4; color: var(--navy-900); }
.about-badge-icon { display: grid; place-items: center; width: 2.6rem; height: 2.6rem; border-radius: 10px; background: var(--blue-600); color: var(--white); flex: none; }
.about-badge-icon svg { width: 20px; height: 20px; }

.about-ops { margin-top: 4.5rem; padding: clamp(1.75rem, 1.25rem + 2vw, 2.75rem); border-radius: calc(var(--radius) + 8px); background: var(--navy-900); color: rgba(255, 255, 255, .85);
  background-image: radial-gradient(circle at 100% 0%, rgba(76, 195, 255, .22), transparent 50%); }
.ops-text { max-width: 60rem; margin: 0 0 2rem; font-size: 1.0625rem; line-height: 1.7; }
.flow { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; counter-reset: none; }
.flow li { position: relative; display: flex; flex-direction: column; align-items: center; gap: .75rem; padding: 1.25rem .75rem; text-align: center;
  background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .14); border-radius: var(--radius); }
.flow li:not(:last-child)::after { content: ""; position: absolute; right: -1rem; top: 50%; width: 1rem; height: 2px; background: var(--sky-400); }
.flow li:not(:last-child)::before { content: ""; position: absolute; right: -1.05rem; top: calc(50% - 4px); width: 8px; height: 8px; border-top: 2px solid var(--sky-400); border-right: 2px solid var(--sky-400); transform: rotate(45deg); z-index: 1; }
.flow-icon { display: grid; place-items: center; width: 3.25rem; height: 3.25rem; border-radius: 50%; background: var(--sky-400); color: var(--navy-950); }
.flow-icon svg { width: 24px; height: 24px; }
.flow-label { font-weight: 800; color: var(--white); line-height: 1.35; }

.about-facts { margin-top: 4.5rem; }
.about-facts h2 { margin-bottom: 1.5rem; }
.fact-cards { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; }
.fact-card { position: relative; display: flex; flex-direction: column; gap: .6rem; padding: 1.75rem 1.6rem; background: var(--white); border: 1px solid var(--line); border-radius: calc(var(--radius) + 4px); overflow: hidden; }
.fact-card::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: linear-gradient(90deg, var(--blue-600), var(--sky-400)); }
.fact-icon { display: grid; place-items: center; width: 3rem; height: 3rem; border-radius: 12px; background: var(--blue-50); color: var(--blue-600); }
.fact-icon svg { width: 24px; height: 24px; }
.fact-big { font-size: 2.1rem; font-weight: 800; line-height: 1.05; color: var(--navy-900); letter-spacing: -0.02em; }
.fact-text { color: var(--ink-2); line-height: 1.6; }

.about-legal { margin-top: 2rem; display: flex; align-items: center; gap: 1.25rem; padding: 1.4rem 1.6rem; border-radius: calc(var(--radius) + 4px); background: var(--blue-50); border: 1px solid var(--blue-100); }
.about-legal p { margin: 0; font-weight: 600; color: var(--navy-900); max-width: none; }
.legal-icon { display: grid; place-items: center; width: 3rem; height: 3rem; border-radius: 12px; background: var(--blue-600); color: var(--white); flex: none; }
.legal-icon svg { width: 24px; height: 24px; }

.about-chassis { margin-top: 4.5rem; }
.chassis-card { position: relative; overflow: hidden; border-radius: calc(var(--radius) + 8px); color: rgba(255, 255, 255, .88);
  background: var(--navy-900) url("../img/photos/container-yard-1920.jpg") center 55% / cover no-repeat; }
.chassis-card::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(6, 20, 40, .95) 0%, rgba(6, 20, 40, .82) 50%, rgba(6, 20, 40, .35) 100%); }
.chassis-body { position: relative; padding: clamp(2rem, 1.5rem + 2vw, 3.25rem); }
.chassis-body .legal-icon { background: var(--sky-400); color: var(--navy-950); margin-bottom: 1.1rem; }
.chassis-body h2 { color: var(--white); margin-bottom: .75rem; }
.chassis-body p { font-size: 1.125rem; margin-bottom: 1.5rem; }

.about-explore { margin-top: 4.5rem; }
.about-explore h2 { margin-bottom: 1.5rem; }
.explore-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; }
.explore-card { display: flex; flex-direction: column; gap: .5rem; height: 100%; padding: 1.4rem; border: 1px solid var(--line); border-radius: calc(var(--radius) + 4px);
  background: var(--white); color: var(--ink); text-decoration: none; transition: transform .2s var(--ease), box-shadow .2s var(--ease), border-color .2s var(--ease); }
.explore-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: transparent; color: var(--ink); }
.explore-icon { display: grid; place-items: center; width: 2.8rem; height: 2.8rem; border-radius: 12px; background: var(--blue-50); color: var(--blue-600); margin-bottom: .35rem;
  transition: background-color .2s var(--ease), color .2s var(--ease); }
.explore-card:hover .explore-icon { background: var(--blue-600); color: var(--white); }
.explore-icon svg { width: 22px; height: 22px; }
.explore-title { font-weight: 800; font-size: 1.1rem; color: var(--navy-900); }
.explore-desc { font-size: .9375rem; color: var(--ink-2); line-height: 1.55; }
.explore-more { margin-top: auto; padding-top: .6rem; display: inline-flex; align-items: center; gap: .35rem; font-weight: 800; font-size: .875rem; color: var(--blue-600); }
.explore-more .go { width: 16px; height: 16px; transition: transform .2s var(--ease); }
.explore-card:hover .explore-more .go { transform: translateX(4px); }

@media (max-width: 1180px) {
  .explore-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 960px) {
  .about-intro { grid-template-columns: minmax(0, 1fr); }
  .about-photo-img { aspect-ratio: 16 / 9; }
  .about-badge { left: 1rem; right: 1rem; bottom: 1rem; }
  .flow { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .flow li:nth-child(2)::after, .flow li:nth-child(2)::before { display: none; }
  .fact-cards { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 640px) {
  .scope-list, .explore-grid { grid-template-columns: minmax(0, 1fr); }
  .flow { grid-template-columns: minmax(0, 1fr); gap: 1.25rem; }
  .flow li { flex-direction: row; text-align: left; padding: .9rem 1rem; }
  .flow li:not(:last-child)::after { right: auto; left: 2.6rem; top: auto; bottom: -1.25rem; width: 2px; height: 1.25rem; }
  .flow li:not(:last-child)::before { right: auto; left: calc(2.6rem - 3px); top: auto; bottom: -1.3rem; transform: rotate(135deg); }
  .flow li:nth-child(2)::after, .flow li:nth-child(2)::before { display: block; }
  .flow-icon { width: 2.75rem; height: 2.75rem; flex: none; }
  .about-legal { flex-direction: column; align-items: flex-start; }
  .about-badge { position: static; margin-top: -1.5rem; margin-inline: .75rem; }
}

/* Detention & Demurrage page */
.dd-page .page-hero .container, .map-page .page-hero .container { padding-bottom: clamp(5.5rem, 4.5rem + 3vw, 7.5rem); }
.jump-card .jump-num { font-size: 1.35rem; }
.dd-intro { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 2rem 3rem; align-items: center; }
.dd-intro .lead { margin: 0; font-size: 1.1875rem; }
.principles { padding: 1.4rem 1.5rem; background: var(--navy-900); color: rgba(255, 255, 255, .8); border-radius: calc(var(--radius) + 4px);
  background-image: radial-gradient(circle at 100% 0%, rgba(76, 195, 255, .22), transparent 55%); }
.principles-title { margin: 0 0 1rem; font-size: .9375rem; font-weight: 600; }
.principles ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .6rem; }
.principles li { display: flex; flex-direction: column; align-items: center; gap: .5rem; padding: .9rem .5rem; border-radius: var(--radius); background: rgba(255, 255, 255, .07);
  border: 1px solid rgba(255, 255, 255, .14); font-weight: 800; color: var(--white); }
.pr-icon { display: grid; place-items: center; width: 2.6rem; height: 2.6rem; border-radius: 50%; background: var(--sky-400); color: var(--navy-950); }
.pr-icon svg { width: 20px; height: 20px; }
.dd-docs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem; margin-top: 2.5rem; }
.dd-docs h2 { font-size: 1.25rem; margin-bottom: 1rem; min-height: 2.6em; }
.dd-docs .docs-dl .doc a { padding: 1.2rem 1.25rem; background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.dd-docs .docs-dl .doc a:hover { box-shadow: var(--shadow-md); }
.dd-docs .docs-dl .ficon { background: #fdecec; }

.dd-carriers { margin-top: 4rem; }
.dd-carriers h2 { margin-bottom: 1.25rem; max-width: 40ch; }
.dd-carriers .ref-toolbar { justify-content: space-between; }
.dd-carriers .ref-status { margin: 0; }
.carrier-grid { list-style: none; margin: 1.25rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.carrier-grid .carrier { display: grid; grid-template-columns: 3rem minmax(0, 1fr) auto; grid-template-rows: auto 1fr; column-gap: 1rem; row-gap: .35rem; padding: 1.25rem 1.3rem;
  border: 1px solid var(--line); border-radius: calc(var(--radius) + 2px); background: var(--white); transition: transform .2s var(--ease), box-shadow .2s var(--ease), border-color .2s var(--ease); }
.carrier-grid .carrier:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); border-color: var(--blue-100); }
.carrier-grid .carrier[hidden] { display: none; }
.c-mono { grid-row: 1 / span 2; display: grid; place-items: center; width: 3rem; height: 3rem; border-radius: 12px; font-size: .8125rem; font-weight: 800; color: var(--white);
  background: linear-gradient(135deg, var(--navy-900), var(--blue-600)); }
.carrier-grid .name { align-self: center; font-size: 1.0625rem; }
.c-kind { grid-column: 3; grid-row: 1; align-self: center; padding: .2rem .6rem; border-radius: 999px; font-size: .75rem; font-weight: 800; white-space: nowrap; }
.c-kind--pdf { background: #fdecec; color: #b42318; }
.c-kind--web { background: var(--blue-50); color: var(--blue-700); }
.carrier-grid .carrier > div { grid-column: 2 / -1; min-width: 0; }
.carrier-grid .carrier a { display: inline-block; font-size: .875rem; line-height: 1.5; word-break: break-word; }

@media (max-width: 960px) {
  .dd-intro, .dd-docs { grid-template-columns: minmax(0, 1fr); }
  .dd-docs h2 { min-height: 0; }
  .carrier-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 640px) {
  .carrier-grid .carrier { grid-template-columns: 2.6rem minmax(0, 1fr); }
  .c-mono { width: 2.6rem; height: 2.6rem; grid-row: auto; }
  .c-kind { grid-column: 2; grid-row: 2; justify-self: start; }
  .carrier-grid .carrier > div { grid-row: 3; }
  .carrier-grid .carrier > div { grid-column: 1 / -1; }
}

/* VGM page */
.vgm-page .page-hero .container { padding-bottom: clamp(5.5rem, 4.5rem + 3vw, 7.5rem); }
.vgm-intro .lead { max-width: 62rem; font-size: 1.1875rem; }
.vgm-covers { margin-top: 2rem; padding: clamp(1.75rem, 1.25rem + 2vw, 2.5rem); border-radius: calc(var(--radius) + 8px); background: var(--navy-900); color: rgba(255, 255, 255, .85);
  background-image: radial-gradient(circle at 100% 0%, rgba(76, 195, 255, .22), transparent 50%); }
.covers-text { max-width: 62rem; margin: 0 0 1.75rem; line-height: 1.7; }
.vgm-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; }
.vgm-steps li { position: relative; display: flex; flex-direction: column; gap: .75rem; padding: 1.25rem 1.1rem; border-radius: var(--radius); background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .14); }
.step-no { position: absolute; right: 1rem; top: .9rem; font-size: 1.6rem; font-weight: 800; line-height: 1; color: rgba(255, 255, 255, .18); }
.step-icon { display: grid; place-items: center; width: 2.9rem; height: 2.9rem; border-radius: 50%; background: var(--sky-400); color: var(--navy-950); }
.step-icon svg { width: 22px; height: 22px; }
.step-label { font-weight: 700; color: var(--white); line-height: 1.4; font-size: .9375rem; }

.vgm-featured { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); margin-top: 3rem; overflow: hidden; border-radius: calc(var(--radius) + 8px); border: 1px solid var(--line); background: var(--white); box-shadow: var(--shadow-md); }
.vgm-featured-media { min-height: 20rem; background: var(--navy-900) url("../img/photos/terminal-night-960.jpg") center / cover no-repeat; }
.vgm-featured-body { padding: clamp(1.5rem, 1.25rem + 1.5vw, 2.25rem); }
.vgm-featured-body h2 { font-size: 1.4rem; margin-bottom: 1.1rem; }

.vgm-library { margin-top: 4rem; }
.lib-title { margin: 0; }
.lib-sub { display: flex; align-items: center; gap: .6rem; margin: 0 0 1.1rem; font-size: 1.35rem; font-weight: 800; color: var(--navy-900); letter-spacing: -0.02em; }
.vgm-docs { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .8rem; }
.vgm-docs .doc a { background: var(--white); border: 1px solid var(--line); }
.vgm-docs .doc a:hover { border-color: var(--blue-100); box-shadow: var(--shadow-md); }
.vgm-docs .doc[hidden] { display: none; }
.vgm-docs .ficon { background: #fdecec; }
.vgm-docs .doc.is-link .ficon { background: var(--blue-50); }

@media (max-width: 1180px) { .vgm-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 960px) {
  .vgm-featured { grid-template-columns: minmax(0, 1fr); }
  .vgm-featured-media { min-height: 12rem; }
  .vgm-docs { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 640px) { .vgm-steps { grid-template-columns: minmax(0, 1fr); } }

/* Cargo weight page */
.cwg-page .page-hero .container { padding-bottom: clamp(5.5rem, 4.5rem + 3vw, 7.5rem); }
.cwg-table-card { padding: clamp(1.25rem, 1rem + 1.5vw, 2rem); border: 1px solid var(--line); border-radius: calc(var(--radius) + 8px); background: var(--white); box-shadow: var(--shadow-md); }
.cwg-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 1rem; }
.cwg-head h2 { margin: 0; font-size: 1.5rem; }
.cwg-print svg { width: 18px; height: 18px; }
html:not(.js) .cwg-print, html:not(.js) .cwg-chips { display: none; }
.cwg-chips { margin-bottom: 1rem; }
.cwg-table { font-size: 1rem; }
.cwg-table thead th { padding-block: 1rem; }
.cwg-table tbody th { width: 55%; }
.cwg-table tr[hidden] { display: none; }
.row-label { display: block; font-weight: 700; color: var(--navy-900); }
.row-tags { display: flex; flex-wrap: wrap; gap: .35rem; margin-top: .45rem; }
.row-tags span { padding: .1rem .5rem; border-radius: 999px; font-size: .75rem; font-weight: 800; }
.t-size { background: var(--navy-900); color: var(--white); }
.t-kind--dry { background: #fff4e5; color: #8a4b00; }
.t-kind--reefer { background: #e3f6fc; color: #075985; }
.t-hc { background: var(--blue-50); color: var(--blue-700); }
.cwg-table .num { vertical-align: middle; }
.w-val { display: block; font-size: 1.125rem; font-weight: 800; color: var(--navy-900); }
.w-bar { display: block; width: 8rem; max-width: 100%; height: 6px; margin: .45rem 0 0 auto; border-radius: 999px; background: var(--line); overflow: hidden; }
.w-bar > span { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--blue-600), var(--sky-400)); }
.cwg-legend { display: flex; align-items: center; gap: .6rem; margin: .25rem 0 0; font-size: .8125rem; color: var(--muted); }
.cwg-legend .w-bar { width: 3rem; margin: 0; }

.cwg-note, .cwg-disclaimer { display: flex; gap: 1.1rem; align-items: flex-start; margin-top: 1.5rem; padding: 1.4rem 1.6rem; border-radius: calc(var(--radius) + 4px); }
.cwg-note { background: var(--blue-50); border: 1px solid var(--blue-100); }
.cwg-note p { margin: 0; max-width: none; color: var(--navy-900); }
.note-icon { display: grid; place-items: center; width: 2.75rem; height: 2.75rem; border-radius: 12px; background: var(--blue-600); color: var(--white); flex: none; }
.note-icon svg { width: 22px; height: 22px; }
.inc-chips { list-style: none; display: flex; flex-wrap: wrap; gap: .4rem; margin: .9rem 0 0; padding: 0; }
.inc-chips li { padding: .25rem .7rem; border-radius: 999px; background: var(--white); border: 1px solid var(--blue-100); font-size: .8125rem; font-weight: 700; color: var(--blue-700); }
.cwg-disclaimer { background: #fffaf0; border: 1px solid #f5d9a8; }
.cwg-disclaimer .note-icon { background: #d97706; }
.cwg-disclaimer h2 { font-size: 1.15rem; margin: .3rem 0 .6rem; color: #7a3e00; }
.cwg-disclaimer p { margin: 0; max-width: none; line-height: 1.7; color: var(--ink); }

@media (max-width: 640px) {
  .cwg-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .cwg-table, .cwg-table tbody { display: block; }
  .cwg-table tbody tr { display: grid; grid-template-columns: 1fr 1fr; gap: .6rem 1rem; padding: 1rem; border-bottom: 1px solid var(--line); }
  .cwg-table tbody tr[hidden] { display: none; }
  .cwg-table tbody th { grid-column: 1 / -1; width: auto; padding: 0; border: 0; }
  .cwg-table tbody td { display: block; padding: .6rem .75rem; border: 0; border-radius: var(--radius-sm); background: var(--soft); text-align: left; }
  .cwg-table tbody tr:nth-child(even) { background: var(--white); }
  .cwg-table tbody tr:nth-child(odd) td { background: var(--white); border: 1px solid var(--line); }
  .cwg-table td::before { content: attr(data-label); display: block; font-size: .75rem; font-weight: 700; color: var(--muted); margin-bottom: .15rem; }
  .cwg-table td.num { font-size: 1.125rem; font-weight: 800; color: var(--navy-900); }
  .w-bar { width: 100%; margin-left: 0; }
  .cwg-table-card { padding: 1rem; }
  .cwg-table-card .table-wrap { overflow: visible; }
  .cwg-note, .cwg-disclaimer { flex-direction: column; padding: 1.2rem; }
}
@media print {
  .cwg-page .jump-cards, .cwg-chips, .cwg-print, .cwg-legend, .w-bar, .inc-chips { display: none !important; }
  .cwg-table tr[hidden] { display: table-row !important; }
  .cwg-table-card { box-shadow: none; border: 0; padding: 0; }
}

/* Chassis provisioning page */
.cpi-compare { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 2rem 3.5rem; align-items: center; }
.cpi-compare .lead { margin: 0; font-size: 1.1875rem; }
.cmp-cards { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); gap: .75rem; align-items: stretch; }
.cmp-card { display: flex; flex-direction: column; gap: .5rem; padding: 1.4rem 1.25rem; border-radius: calc(var(--radius) + 4px); background: var(--soft); border: 1px solid var(--line); }
.cmp-card--us { background: var(--navy-900); border-color: var(--navy-900); color: var(--white);
  background-image: radial-gradient(circle at 100% 0%, rgba(76, 195, 255, .25), transparent 60%); }
.cmp-icon { display: grid; place-items: center; width: 2.75rem; height: 2.75rem; border-radius: 12px; background: var(--white); color: var(--blue-600); box-shadow: var(--shadow-sm); }
.cmp-card--us .cmp-icon { background: var(--sky-400); color: var(--navy-950); }
.cmp-icon svg { width: 22px; height: 22px; }
.cmp-where { margin: .35rem 0 0; font-size: .8125rem; font-weight: 800; color: var(--blue-600); }
.cmp-card--us .cmp-where { color: var(--sky-400); }
.cmp-who { margin: 0; font-size: 1.125rem; font-weight: 800; line-height: 1.3; color: var(--navy-900); }
.cmp-card--us .cmp-who { color: var(--white); }
.cmp-vs { align-self: center; display: grid; place-items: center; width: 2.5rem; height: 2.5rem; border-radius: 50%; background: var(--white); border: 1px solid var(--line);
  font-size: .8125rem; font-weight: 800; color: var(--muted); box-shadow: var(--shadow-sm); }

.cpi-change { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; margin-top: 3rem; }
.change-card { display: flex; flex-direction: column; gap: 1rem; padding: 1.6rem 1.75rem; border-radius: calc(var(--radius) + 4px); border: 1px solid var(--line); background: var(--white); }
.change-card p { margin: 0; line-height: 1.7; }
.act-icon { display: grid; place-items: center; width: 3rem; height: 3rem; border-radius: 12px; background: var(--blue-50); color: var(--blue-600); flex: none; }
.act-icon svg { width: 24px; height: 24px; }

.cpi-actions { margin-top: 4rem; }
.actions-intro { margin: -.25rem 0 1.5rem; color: var(--ink-2); font-size: 1.0625rem; }
.act-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; }
.act-card { display: flex; flex-direction: column; gap: 1rem; padding: 1.6rem 1.75rem; border-radius: calc(var(--radius) + 4px); background: var(--white); border: 1px solid var(--line);
  box-shadow: var(--shadow-sm); transition: transform .2s var(--ease), box-shadow .2s var(--ease), border-color .2s var(--ease); }
.act-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--blue-100); }
.act-top { display: flex; align-items: center; justify-content: space-between; }
.act-card .act-icon { background: var(--blue-600); color: var(--white); }
.act-no { font-size: 2rem; font-weight: 800; line-height: 1; color: var(--blue-100); letter-spacing: -0.03em; }
.act-text { line-height: 1.65; color: var(--ink); }
.act-sub { margin: .75rem 0 0; padding: .75rem 1rem .75rem 2rem; background: var(--soft); border-radius: var(--radius-sm); color: var(--ink-2); font-size: .9375rem; }
.act-cta { margin-top: auto; display: inline-flex; align-items: center; gap: .4rem; font-weight: 800; font-size: .9375rem; text-decoration: none; }
.act-cta .go { width: 16px; height: 16px; transition: transform .2s var(--ease); }
.act-cta:hover .go { transform: translateX(4px); }

.cpi-position { display: flex; gap: 1.5rem; align-items: flex-start; margin-top: 4rem; padding: clamp(1.75rem, 1.25rem + 2vw, 2.75rem); border-radius: calc(var(--radius) + 8px);
  color: rgba(255, 255, 255, .88); background: var(--navy-900) url("../img/photos/ship-at-sea-1920.jpg") center 60% / cover no-repeat; position: relative; overflow: hidden; isolation: isolate; }
.cpi-position::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(6, 20, 40, .96), rgba(6, 20, 40, .82) 60%, rgba(6, 20, 40, .6)); }
.cpi-position h2 { color: var(--white); margin-bottom: .75rem; }
.cpi-position p { margin: 0; max-width: 62rem; font-size: 1.0625rem; line-height: 1.7; }
.pos-icon { display: grid; place-items: center; width: 3.25rem; height: 3.25rem; border-radius: 14px; background: var(--sky-400); color: var(--navy-950); flex: none; }
.pos-icon svg { width: 26px; height: 26px; }
.ben-chips { list-style: none; display: flex; flex-wrap: wrap; gap: .5rem; margin: 1.25rem 0 0; padding: 0; }
.ben-chips li { padding: .35rem .9rem; border-radius: 999px; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .25); font-size: .875rem; font-weight: 700; color: var(--white); }
.related-cards--four { grid-template-columns: repeat(2, minmax(0, 1fr)); }

@media (max-width: 960px) {
  .cpi-compare, .cpi-change, .act-grid, .related-cards--four { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 640px) {
  .cmp-cards { grid-template-columns: minmax(0, 1fr); }
  .cmp-vs { justify-self: center; }
  .cpi-position { flex-direction: column; }
  .act-card, .change-card { padding: 1.3rem; }
}

/* Summary (download) page */
.sum-page .page-hero .container { padding-bottom: clamp(5.5rem, 4.5rem + 3vw, 7.5rem); }
.dl-hero { position: relative; z-index: 2; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 2.5rem; align-items: center;
  margin-top: calc(-1 * clamp(4rem, 3rem + 3vw, 6rem)); padding: clamp(1.5rem, 1rem + 2vw, 2.5rem); background: var(--white); border-radius: calc(var(--radius) + 8px); box-shadow: var(--shadow-lg); }
.doc-mock { position: relative; display: flex; flex-direction: column; gap: 1rem; width: 11rem; aspect-ratio: 3 / 4; padding: 1.5rem 1.1rem 1.1rem; border-radius: 10px;
  background: var(--white); border: 1px solid var(--line); box-shadow: 0 18px 40px -18px rgba(6, 20, 40, .45), 12px 12px 0 -1px var(--soft), 12px 12px 0 0 var(--line);
  transform: rotate(-3deg); transition: transform .3s var(--ease); }
.dl-hero:hover .doc-mock { transform: rotate(0deg) translateY(-4px); }
.doc-mock-tag { position: absolute; top: -.7rem; right: -.7rem; padding: .35rem .6rem; border-radius: 8px; background: #d92d20; color: var(--white); font-size: .75rem; font-weight: 800; box-shadow: var(--shadow-sm); }
.doc-mock-lines { display: grid; gap: .45rem; }
.doc-mock-lines i { display: block; height: 7px; border-radius: 4px; background: var(--navy-900); opacity: .85; }
.doc-mock-lines i + i { background: var(--line); opacity: 1; }
.doc-mock-lines i.short { width: 60%; }
.doc-mock-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; margin-top: auto; }
.doc-mock-grid i { display: block; height: 14px; border-radius: 3px; background: var(--blue-50); }
.doc-mock-grid i:nth-child(3n+1) { background: var(--blue-100); }
.dl-kicker { display: inline-flex; margin: 0 0 .6rem; padding: .25rem .7rem; border-radius: 999px; background: var(--blue-50); color: var(--blue-700); font-size: .8125rem; font-weight: 800; }
.dl-body h2 { font-size: clamp(1.4rem, 1.1rem + 1vw, 1.9rem); margin-bottom: .35rem; }
.dl-meta { margin: 0 0 1rem; font-size: .875rem; font-weight: 700; color: var(--muted); }
.dl-view { color: var(--ink-2); }
.dl-body .btn svg { width: 20px; height: 20px; }
.dl-body .btn:hover svg { transform: translateY(2px); }
.dl-adobe { margin: 1rem 0 0; font-size: .8125rem; color: var(--muted); }

.sum-about { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 2rem 3rem; align-items: start; margin-top: 3.5rem; }
.sum-about .lead { margin: 0; }
.src-card { padding: 1.5rem; border-radius: calc(var(--radius) + 4px); background: var(--navy-900); color: var(--white);
  background-image: radial-gradient(circle at 100% 0%, rgba(76, 195, 255, .22), transparent 60%); }
.src-title { margin: 0 0 1rem; font-size: .875rem; font-weight: 800; color: var(--sky-400); }
.src-list { list-style: none; margin: 0; padding: 0; display: grid; gap: .5rem; }
.src-list li { display: flex; align-items: center; gap: .75rem; padding: .6rem .75rem; border-radius: var(--radius-sm); background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); font-weight: 700; }
.src-icon { display: grid; place-items: center; width: 2.1rem; height: 2.1rem; border-radius: 9px; background: var(--sky-400); color: var(--navy-950); flex: none; }
.src-icon svg { width: 17px; height: 17px; }

.sum-note { display: flex; gap: 1.1rem; align-items: flex-start; margin-top: 2.5rem; padding: 1.4rem 1.6rem; border-radius: calc(var(--radius) + 4px); background: #fffaf0; border: 1px solid #f5d9a8; }
.sum-note .note-icon { background: #d97706; }
.sum-note h2 { font-size: 1.15rem; margin: .3rem 0 .5rem; color: #7a3e00; }
.sum-note p { margin: 0; max-width: none; line-height: 1.7; }

@media (max-width: 960px) { .sum-about { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 640px) {
  .dl-hero { grid-template-columns: minmax(0, 1fr); justify-items: start; gap: 1.75rem; }
  .doc-mock { width: 8rem; }
  .dl-body .btn { width: 100%; }
  .sum-note { flex-direction: column; padding: 1.2rem; }
}

/* Suggested location schedule */
.sls-page .page-hero .container { padding-bottom: clamp(5.5rem, 4.5rem + 3vw, 7.5rem); }
.hero-archive { display: inline-flex; align-items: center; gap: .4rem; margin: 0 0 .9rem; padding: .3rem .8rem; border-radius: 999px; background: #fff4e5; color: #8a4b00; font-size: .8125rem; font-weight: 800; }
.hero-archive svg { width: 16px; height: 16px; }
.sls-section .map-section-head { align-items: center; }
.timeline { list-style: none; margin: 0; padding: 0; position: relative; }
.timeline::before { content: ""; position: absolute; left: 9.5rem; top: .5rem; bottom: .5rem; width: 2px; background: linear-gradient(var(--blue-600), var(--sky-400)); }
.tl-item { position: relative; display: grid; grid-template-columns: 8rem minmax(0, 1fr); gap: 3rem; padding: 0 0 1.5rem; }
.tl-item::before { content: ""; position: absolute; left: calc(9.5rem - 7px); top: .55rem; width: 16px; height: 16px; border-radius: 50%; background: var(--white); border: 4px solid var(--blue-600); }
.tl-item[hidden] { display: none; }
.tl-date { text-align: right; padding-top: .2rem; }
.tl-month { display: block; font-weight: 800; font-size: 1.05rem; color: var(--navy-900); line-height: 1.2; }
.tl-year { display: block; font-weight: 700; color: var(--blue-600); }
.tl-raw { display: block; margin-top: .15rem; font-size: .75rem; font-weight: 600; color: var(--muted); }
.tl-locs { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(15rem, 1fr)); gap: .75rem; }
.tl-loc { display: grid; grid-template-columns: 2.25rem minmax(0, 1fr) auto; gap: .75rem; align-items: center; padding: .85rem 1rem; border-radius: var(--radius); background: var(--white); border: 1px solid var(--line);
  transition: transform .2s var(--ease), box-shadow .2s var(--ease); }
.tl-loc:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.tl-loc[hidden] { display: none; }
.tl-loc--pool { border-color: var(--blue-100); background: linear-gradient(90deg, var(--blue-50), var(--white) 55%); }
.tl-pin { display: grid; place-items: center; width: 2.25rem; height: 2.25rem; border-radius: 10px; background: var(--soft); color: var(--blue-600); }
.tl-loc--pool .tl-pin { background: var(--blue-600); color: var(--white); }
.tl-pin svg { width: 18px; height: 18px; }
.tl-name { font-weight: 700; color: var(--navy-900); line-height: 1.4; }
.sls-table { margin-top: 1.5rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--soft); }
.sls-table > summary { cursor: pointer; padding: 1rem 1.25rem; font-weight: 800; color: var(--blue-700); list-style: none; }
.sls-table > summary::-webkit-details-marker { display: none; }
.sls-table > summary::after { content: " +"; }
.sls-table[open] > summary::after { content: " –"; }
.sls-table .table-wrap { margin: 0 1rem 1rem; }
html:not(.js) .sls-section .ref-chips { display: none; }

@media (max-width: 720px) {
  .timeline::before { left: .45rem; }
  .tl-item { grid-template-columns: minmax(0, 1fr); gap: .75rem; padding-left: 2rem; }
  .tl-item::before { left: -.05rem; top: .25rem; }
  .tl-date { text-align: left; display: flex; gap: .5rem; align-items: baseline; flex-wrap: wrap; }
  .tl-locs { grid-template-columns: minmax(0, 1fr); }
}
@media print {
  .timeline, .sls-section .ref-chips, .sls-table > summary { display: none !important; }
  .sls-table { border: 0; background: none; }
  .sls-table:not([open]) > *:not(summary) { display: block !important; }
}

/* FAQ page */
.faq-page-body { display: grid; grid-template-columns: 19rem minmax(0, 1fr); gap: clamp(2rem, 4vw, 3.5rem); align-items: start; }
.faq-side-inner { position: sticky; top: calc(var(--header-h) + 1.5rem); padding: 1.25rem; border-radius: calc(var(--radius) + 4px); background: var(--soft); }
.faq-side-title { margin: 0 0 .6rem; font-size: .8125rem; font-weight: 800; color: var(--muted); }
.q-index { list-style: none; margin: 0 0 1.25rem; padding: 0; display: grid; gap: .15rem; }
.q-index a { display: grid; grid-template-columns: 1.9rem minmax(0, 1fr); gap: .5rem; padding: .5rem .55rem; border-radius: var(--radius-sm); color: var(--ink-2);
  text-decoration: none; font-size: .875rem; font-weight: 600; line-height: 1.4; transition: background-color .15s var(--ease), color .15s var(--ease); }
.q-index a:hover { background: var(--white); color: var(--blue-700); }
.q-index a.is-active { background: var(--white); color: var(--navy-900); box-shadow: var(--shadow-sm); }
.q-index li[hidden] { display: none; }
.qi-no { font-weight: 800; color: var(--blue-600); }
.faq-side-more { padding-top: 1rem; border-top: 1px solid var(--line); }
.faq-side-more ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .1rem; }
.faq-side-more a { display: block; padding: .35rem .55rem; border-radius: var(--radius-sm); font-size: .875rem; font-weight: 600; text-decoration: none; }
.faq-side-more a:hover { background: var(--white); }

.faq-toolbar { display: grid; gap: .9rem; padding: 1.1rem; margin-bottom: 1.25rem; border-radius: calc(var(--radius) + 4px); background: var(--soft); border: 1px solid var(--line); }
.faq-toolbar .faq-tools { display: flex; justify-content: space-between; align-items: center; margin: 0; }
.faq-toolbar .ref-status { margin: 0; }
html:not(.js) .faq-toolbar { display: none; }
.faq details[hidden] { display: none; }
.faq details { position: relative; }
.faq summary .qa { position: relative; }
.faq details[open] { border-left: 4px solid var(--blue-600); }
.faq details mark { background: var(--sky-200); color: inherit; border-radius: 3px; padding: 0 .1em; }

.faq-cta { display: flex; gap: 1.25rem; align-items: flex-start; margin-top: 2.5rem; padding: 1.75rem 2rem; border-radius: calc(var(--radius) + 6px); color: rgba(255, 255, 255, .85);
  background: var(--navy-900); background-image: radial-gradient(circle at 100% 0%, rgba(76, 195, 255, .25), transparent 55%); }
.faq-cta .note-icon { background: var(--sky-400); color: var(--navy-950); }
.faq-cta h2 { color: var(--white); font-size: 1.35rem; margin: .2rem 0 .5rem; }
.faq-cta p { margin: 0; }
.faq-cta .btn svg { width: 18px; height: 18px; }

@media (max-width: 1024px) {
  .faq-page-body { grid-template-columns: minmax(0, 1fr); }
  .faq-side { order: 2; }
  .faq-side-inner { position: static; }
  .faq-side-inner > .faq-side-title, .q-index { display: none; }
  .faq-side-more { padding-top: 0; border-top: 0; }
}
@media (max-width: 640px) {
  .faq-cta { flex-direction: column; padding: 1.4rem; }
  .faq-toolbar .ref-chips { overflow-x: auto; flex-wrap: nowrap; padding-bottom: .25rem; }
  .faq-toolbar .chip-toggle { flex: none; }
}
@media print { .faq-side, .faq-toolbar, .faq-cta { display: none !important; } .faq details[hidden] { display: block !important; } }

/* Stakeholder outreach events */
.soe-page .page-hero .container { padding-bottom: clamp(5.5rem, 4.5rem + 3vw, 7.5rem); }
.soe-intro { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 2rem 3rem; align-items: start; }
.soe-intro .lead { margin: 0; }
.soe-contacts { padding: 1.5rem; border-radius: calc(var(--radius) + 4px); background: var(--navy-900); color: var(--white);
  background-image: radial-gradient(circle at 100% 0%, rgba(76, 195, 255, .22), transparent 60%); }
.soe-contacts h2 { color: var(--white); font-size: 1.25rem; margin-bottom: 1rem; }
.people-cards { list-style: none; margin: 0; padding: 0; display: grid; gap: .6rem; }
.people-cards .person-card { display: flex; align-items: center; gap: .9rem; padding: .8rem .9rem; border-radius: var(--radius); background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); }
.person-avatar { display: grid; place-items: center; width: 2.75rem; height: 2.75rem; border-radius: 50%; background: var(--sky-400); color: var(--navy-950); font-weight: 800; flex: none; }
.person-text { min-width: 0; }
.person-text .who { display: block; font-weight: 700; line-height: 1.35; }
.person-text a { display: inline-flex; align-items: center; gap: .35rem; margin-top: .2rem; color: var(--sky-400); font-weight: 700; font-size: .9375rem; overflow-wrap: anywhere; }
.person-text a svg { width: 15px; height: 15px; flex: none; }

.soe-events { margin-top: 4rem; }
.ev-month + .ev-month { margin-top: 1.75rem; }
.ev-month[hidden] { display: none; }
.ev-month-title { display: flex; align-items: center; gap: .5rem; margin: 0 0 .85rem; font-size: 1.1rem; }
.ev-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .85rem; }
.ev-card { display: flex; gap: 1rem; align-items: flex-start; padding: 1rem 1.1rem; border-radius: var(--radius); background: var(--white); border: 1px solid var(--line);
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), border-color .2s var(--ease); }
.ev-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); border-color: var(--blue-100); }
.ev-card[hidden] { display: none; }
.ev-date { display: flex; flex-direction: column; align-items: center; justify-content: center; width: 3.5rem; height: 3.75rem; border-radius: 12px; overflow: hidden; flex: none;
  background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.ev-mon { width: 100%; padding: .15rem 0; background: var(--blue-600); color: var(--white); text-align: center; font-size: .6875rem; font-weight: 800; text-transform: uppercase; letter-spacing: .04em; }
.ev-day { flex: 1; display: grid; place-items: center; font-size: 1.35rem; font-weight: 800; color: var(--navy-900); }
.ev-card[data-kind="web"] .ev-mon { background: #0e7490; }
.ev-body { display: flex; flex-direction: column; gap: .25rem; min-width: 0; }
.ev-name { font-weight: 800; color: var(--navy-900); line-height: 1.35; }
.ev-loc { display: inline-flex; align-items: center; gap: .35rem; font-size: .9375rem; color: var(--ink-2); }
.ev-loc svg { width: 16px; height: 16px; color: var(--blue-600); flex: none; }
.ev-full { font-size: .8125rem; color: var(--muted); }

@media (max-width: 1180px) { .ev-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 960px) { .soe-intro { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 640px) { .ev-grid { grid-template-columns: minmax(0, 1fr); } }
@media print { .ev-months, .soe-events .ref-toolbar, .soe-events .ref-status { display: none !important; } }

/* Contact page */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 1.5rem; align-items: stretch; }
.contact-hq { display: grid; grid-template-rows: minmax(18rem, 1fr) auto; overflow: hidden; border-radius: calc(var(--radius) + 8px); background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow-md); }
.hq-map { position: relative; height: 100%; min-height: 18rem; background: var(--soft); overflow: hidden; }
.hq-map iframe { display: block; width: 100%; height: 100%; border: 0; }
.hq-grid { position: absolute; inset: 0; width: 100%; height: 100%; }
.hq-pin { position: absolute; left: 50%; top: 34%; transform: translate(-50%, -50%); display: grid; place-items: center; width: 3.25rem; height: 3.25rem;
  border-radius: 50% 50% 50% 0; rotate: -45deg; background: var(--sky-400); color: var(--navy-950); box-shadow: 0 0 0 10px rgba(76, 195, 255, .18), 0 10px 20px rgba(0, 0, 0, .35); }
.hq-pin svg { width: 22px; height: 22px; rotate: 45deg; }
.hq-city { position: absolute; left: 50%; top: calc(34% + 2.4rem); transform: translateX(-50%); padding: .3rem .8rem; border-radius: 999px; background: rgba(255, 255, 255, .12);
  border: 1px solid rgba(255, 255, 255, .25); color: var(--white); font-size: .8125rem; font-weight: 800; white-space: nowrap; }
.hq-body { padding: 1.75rem 2rem 2rem; }
.hq-body .org { font-size: 1.75rem; margin: 0 0 .6rem; text-align: left; }
.hq-body address { font-size: 1.1875rem; line-height: 1.75; color: var(--ink); }
.hq-body .email { font-weight: 700; }
.hq-body .form-actions { margin-top: 1.5rem; }
.hq-body .btn svg { width: 18px; height: 18px; }
.contact-side { display: grid; gap: 1.5rem; align-content: start; }
.c-card { display: flex; gap: 1.1rem; align-items: flex-start; padding: 1.5rem 1.6rem; border-radius: calc(var(--radius) + 4px); background: var(--soft); border: 1px solid var(--line); }
.c-card h2 { font-size: 1.15rem; margin: .2rem 0 .5rem; }
.c-card p { margin: 0 0 .4rem; }
.c-card p a { font-weight: 700; }
/* Contact form */
.c-form { padding: 1.75rem 1.75rem 1.5rem; border: 1px solid var(--line); border-radius: calc(var(--radius) + 8px); background: var(--white); box-shadow: var(--shadow-md); }
.c-form h2 { font-size: 1.35rem; margin: 0 0 .4rem; }
.page-hero .hero-lead a { color: inherit; text-decoration: underline; text-underline-offset: .2em; }
.c-form .help { color: var(--ink-2); font-size: .9375rem; margin-bottom: 1.25rem; }
.field-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 1rem; }
.field textarea { font: inherit; font-size: 1rem; width: 100%; min-height: 9rem; padding: .7rem 1rem; color: var(--ink); background: var(--white); border: 1.5px solid #8a97a8; border-radius: 12px; resize: vertical; }
.field textarea:focus-visible { outline: none; border-color: var(--blue-600); box-shadow: 0 0 0 4px rgba(11, 94, 215, .25); }
.field .req { color: #b42318; }
.contact-form .field input { border-color: #8a97a8; }
.contact-form .form-actions { margin-top: .25rem; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { margin: 1rem 0 0; padding: .8rem 1rem; border-radius: var(--radius); font-weight: 600; }
.form-status.is-info { background: var(--blue-50); color: var(--blue-700); }
.form-status.is-ok { background: #edf7ef; color: #1e6b2a; }
.form-status.is-error { background: #fdecec; color: #b42318; }
@media (max-width: 640px) { .field-row { grid-template-columns: minmax(0, 1fr); } .c-form { padding: 1.4rem 1.25rem; } .hq-body .org { font-size: 1.4rem; } }
/* Members login */
.login-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: start; max-width: 64rem; }
.login-fields { margin: 0; padding: 0; border: 0; min-width: 0; }
.login-fields:disabled { opacity: .55; }
.login-fields:disabled :is(input, button) { cursor: not-allowed; }
.login-fields:disabled input { background: var(--soft); }

.login-mgtl{margin-top: 15px;margin-left: 5px;}

/* "Coming soon" notice above a page's main content (Member Center). */
.soon-banner { display: flex; align-items: center; gap: 1.1rem; max-width: 64rem; margin-bottom: 1.75rem; padding: 1.25rem 1.5rem; border-radius: calc(var(--radius) + 6px);
  background: var(--navy-900); background-image: radial-gradient(circle at 100% 0%, rgba(76, 195, 255, .28), transparent 60%); color: rgba(255, 255, 255, .88); box-shadow: var(--shadow-md); }
.soon-icon { display: grid; place-items: center; flex: none; width: 3rem; height: 3rem; border-radius: 12px; background: rgba(255, 255, 255, .12); color: var(--sky-400); }
.soon-icon svg { width: 26px; height: 26px; }
.soon-kicker { margin: 0 0 .15rem; font-size: 1.25rem; font-weight: 800; color: var(--white); }
.soon-text { margin: 0; }
.login-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem; align-items: start; max-width: 64rem; }
.login-back { margin: 1.5rem 0 0; font-weight: 700; }
@media (max-width: 960px) { .login-grid, .login-pair { grid-template-columns: minmax(0, 1fr); } }
.c-icon { display: grid; place-items: center; width: 3rem; height: 3rem; border-radius: 12px; background: var(--blue-600); color: var(--white); flex: none; }
.c-icon svg { width: 22px; height: 22px; }
.copy-btn.is-copied span::after { content: " ✓"; }
.explore-grid--three { grid-template-columns: repeat(3, minmax(0, 1fr)); }

@media (max-width: 960px) { .contact-grid, .explore-grid--three { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 640px) {
  .hq-body { padding: 1.4rem; }
  .hq-body .btn { width: 100%; }
  .c-card { padding: 1.2rem; }
}

/* Smaller photos for small screens */
@media (max-width: 960px) {
  .cta-band { background-image: url("../img/photos/ship-at-sea-960.jpg"); }
  .hero--night { background-image: url("../img/photos/terminal-night-960.jpg"); }
  .hero--sea { background-image: url("../img/photos/ship-at-sea-960.jpg"); }
  .hero--yard { background-image: url("../img/photos/container-yard-960.jpg"); }
  .hero--cranes { background-image: url("../img/photos/terminal-cranes-960.jpg"); }
  .hero--members { background-image: url("../img/photos/members-960.jpg"); }  
  .hero--sacp { background-image: url("../img/photos/SACP-960.jpg"); }
}

/* ---------- Motion & print ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-delay: 0s !important; scroll-behavior: auto !important; }
  html.js .reveal, html.js .reveal-stagger > * { opacity: 1; transform: none; }
}
@media print {
  .site-header, .site-footer, .finder, .finder-card, .faq-tools, aside, .skip-link, .cta-band { display: none !important; }
  .hero, .page-hero { color: #000; background: none !important; min-height: 0; }
  .hero::before, .page-hero::before { display: none; }
  .hero h1, .page-hero h1, .breadcrumb * { color: #000 !important; }
  html.js .reveal, html.js .reveal-stagger > * { opacity: 1; transform: none; }
  a[href^="http"]::after { content: " (" attr(href) ")"; font-size: .8em; }
}

/* ---------- News and SACP 3.0 ---------- */
@media (max-width: 960px) {
  .dropdown.mega { display: none; width: auto; grid-template-columns: minmax(0, 1fr); gap: .25rem; padding: 0 0 .75rem; }
  .nav-trigger[aria-expanded="true"] + .dropdown.mega { display: grid; }
  .dropdown.mega--compact { max-width: none; }
  .mega-head { padding: .75rem .75rem .25rem; }
  .dropdown .mega-feature { min-height: 0; margin-top: .5rem; }
  html:not(.js) .dropdown.mega { display: grid; }
}
.jump-cards--four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.jump-num--text { font-size: 1.05rem; line-height: 1.25; letter-spacing: -0.01em; }
@media (max-width: 1180px) { .jump-cards--four { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.mv-icon { display: grid; place-items: center; width: 3rem; height: 3rem; border-radius: 12px; background: var(--blue-50); color: var(--blue-600); flex: none; }
.mv-icon svg { width: 24px; height: 24px; }

/* News */
.news-group { scroll-margin-top: calc(var(--header-h) + 1rem); }
.news-ic { display: inline-grid; place-items: center; width: 2.25rem; height: 2.25rem; border-radius: 10px; background: var(--blue-50); color: var(--blue-600); }
.news-ic svg { width: 20px; height: 20px; }
.news-ic [class*="fa-"] { font-size: 17px; }
.news-links { margin: .5rem 0 0; padding-left: 1.25rem; display: grid; gap: .6rem; }
.news-links li { padding-left: .25rem; line-height: 1.5; }
.news-links li::marker { color: var(--blue-600); }
.news-links li[hidden] { display: none; }
.news-links a { font-weight: 600; color: var(--blue-700); text-decoration: none; text-underline-offset: 3px; text-decoration-thickness: 1px; overflow-wrap: anywhere; }
.news-links a:hover { color: var(--navy-900); text-decoration-thickness: 2px; }
.news-link-note { display: block; font-size: .875rem; color: var(--muted); }/* Dated lists: calendar badge before each title instead of a bullet. */
.news-links--dated { padding-left: 0; list-style: none; gap: .75rem; }
.news-links--dated li { display: grid; grid-template-columns: 3.5rem minmax(0, 1fr); gap: 1rem; align-items: center; padding-left: 0; }
.news-date { display: grid; text-align: center; line-height: 1.1; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; background: var(--white); }
.nd-m { padding: .2rem 0; background: #06307e; color: var(--white); font-size: .6875rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.nd-d { padding-top: .3rem; font-size: 1.25rem; font-weight: 800; color: var(--navy-900); }
.nd-y { padding-bottom: .3rem; font-size: .6875rem; color: var(--muted); }
.news-sub + .news-sub { margin-top: 1.5rem; }
.news-sub-title { margin: 0; font-size: 1rem; font-weight: 800; color: var(--navy-900); }
.news-sub:not(:has(li:not([hidden]))) { display: none; }
.media-contact { display: flex; gap: 1rem; align-items: center; margin-bottom: 1rem; padding: 1.1rem 1.25rem; border-radius: var(--radius); background: var(--soft); border: 1px solid var(--line); }
.media-contact p { margin: 0; }
.media-contact-title { font-weight: 800; color: var(--navy-900); }
.bp-pages { margin-bottom: 1rem; }
.news-none { margin: 0; padding: 1.1rem 1.25rem; border: 1px dashed var(--line); border-radius: var(--radius); color: var(--muted); font-weight: 600; }
.mt-30 { margin-top: 30px; }

/* SACP 3.0 */
.sacp-intro-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 2rem; align-items: start; }
.sacp-text p { max-width: var(--measure); }
.sacp-facts { list-style: none; margin: 0; padding: 0; display: grid; gap: .75rem; }
.sacp-facts li { display: flex; gap: 1rem; align-items: center; padding: 1rem 1.2rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); }
.sacp-fact-label { display: block; font-size: .75rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.sacp-fact-value { display: block; font-weight: 700; color: var(--navy-900); }
@media (max-width: 960px) { .sacp-intro-grid { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 640px) { .jump-cards--four { grid-template-columns: minmax(0, 1fr); } }

/* ---------- About Us: mission and vision, Leadership ---------- */
.mv-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; margin-top: 4rem; scroll-margin-top: calc(var(--header-h) + 1rem); }
.mv-card { padding: clamp(1.5rem, 1.25rem + 1.2vw, 2.25rem); border: 1px solid var(--line); border-radius: calc(var(--radius) + 6px); background: var(--soft); }
.mv-card h2 { font-size: 1.5rem; margin-bottom: .75rem; }
.mv-card p:last-child { margin: 0; font-size: 1.0625rem; line-height: 1.65; color: var(--ink-2); }
.mv-card--dark { background: var(--navy-900); border-color: var(--navy-900); background-image: radial-gradient(circle at 100% 0%, rgba(76, 195, 255, .22), transparent 60%); }
.mv-card--dark h2 { color: var(--white); }
.mv-card--dark p:last-child { color: rgba(255, 255, 255, .85); }
.mv-kicker { margin: 1rem 0 .35rem; font-size: .75rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--blue-600); }
.mv-card--dark .mv-kicker { color: var(--sky-400); }
.mv-card--dark .mv-icon { background: rgba(255, 255, 255, .1); color: var(--sky-400); }

/* Leadership: people cards (photo, name, role, bio, LinkedIn) */
.people-section { scroll-margin-top: calc(var(--header-h) + 1rem); }
.people-section + .people-section { margin-top: 4.5rem; }
.people-section .section-head { margin-bottom: 1.75rem; }
.people-section .org-tier { margin: 0 0 .35rem; }
.person-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; }
.person-grid--bio { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.person-grid .person-card { display: flex; flex-direction: column; overflow: hidden; background: var(--white); border: 1px solid var(--line); border-radius: calc(var(--radius) + 4px);
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), border-color .2s var(--ease); }
.person-grid .person-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--blue-100); }
.person-photo { aspect-ratio: 1 / 1; background: var(--soft); display: grid; place-items: center; overflow: hidden; }
.person-photo img { width: 100%; height: 100%; object-fit: cover; }
.person-photo--logo { aspect-ratio: 16 / 9; padding: 1.5rem 2rem; background: var(--soft); }
.person-photo--logo img { width: auto; height: auto; max-width: 70%; max-height: 3.25rem; object-fit: contain; }
.person-photo--blank { aspect-ratio: 16 / 9; color: #b7c3d3; }
.person-photo--blank svg { width: 3.5rem; height: 3.5rem; }
.person-body { display: flex; flex-direction: column; gap: .2rem; flex: 1; padding: 1.1rem 1.2rem 1.25rem; }
.person-body p { margin: 0; }
.person-org { font-size: .75rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--blue-600); }
.person-name { margin: 0; font-size: 1.0625rem; line-height: 1.3; }
.person-role { font-size: .875rem; font-weight: 600; color: var(--muted); }
.person-pos { margin-top: .35rem !important; font-size: .875rem; line-height: 1.5; color: var(--ink-2); }
.person-bio { margin-top: .5rem !important; font-size: .9375rem; line-height: 1.55; color: var(--ink-2); }
.person-pending { margin-top: .6rem !important; font-size: .8125rem; font-weight: 600; color: var(--muted); font-style: italic; }
.person-li { display: inline-flex; align-items: center; gap: .45rem; align-self: flex-start; margin-top: auto; padding: .45rem .8rem; border-radius: 999px; border: 1px solid var(--line);
  font-size: .8125rem; font-weight: 700; color: #0a66c2; text-decoration: none; transition: background-color .15s var(--ease), color .15s var(--ease), border-color .15s var(--ease); }
.person-body .person-li { margin-top: .9rem; }
.person-li svg { width: 16px; height: 16px; }
.person-li:hover { background: #0a66c2; border-color: #0a66c2; color: var(--white); }

@media (max-width: 1180px) { .person-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 960px) {
  .mv-grid { grid-template-columns: minmax(0, 1fr); }
  .person-grid, .person-grid--bio { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) { .person-grid, .person-grid--bio { grid-template-columns: minmax(0, 1fr); } }

/* Leadership: sticky section tabs + search, initials avatars, actions, profile dialog */
.people-page { padding-top: 0; }
.people-bar { position: sticky; top: calc(var(--header-h) + .75rem); z-index: 20; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .75rem 1.25rem;
  margin: -2rem 0 2.5rem; padding: .75rem; background: rgba(255, 255, 255, .96); border: 1px solid var(--line); border-radius: calc(var(--radius) + 4px); box-shadow: var(--shadow-md);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
/* Solid white band behind the sticky bar (from the header down to just below the bar) so cards scrolling underneath
   don't peek through the gaps, e.g. the bottom of the Leadership cards when jumping to Staff. */
.people-bar::before { content: ""; position: absolute; z-index: -1; top: calc(-.75rem - 1px); bottom: -1rem; left: -0.5rem; right: -0.5rem; background: var(--white); pointer-events: none;border-radius: calc(var(--radius) + 4px); }
.people-tabs { display: flex; gap: .25rem; overflow-x: auto; scrollbar-width: none; }
.people-tabs::-webkit-scrollbar { display: none; }
.people-tab { flex: none; padding: .65rem 1rem; border-radius: 999px; font-weight: 700; font-size: .9375rem; color: var(--navy-900); text-decoration: none; white-space: nowrap;
  transition: background-color .15s var(--ease), color .15s var(--ease); }
.people-tab:hover { background: var(--blue-50); color: var(--blue-700); }
.people-tab.is-active { background: var(--navy-900); color: var(--white); }
.people-tab.is-empty { opacity: .45; }
.people-tools { display: flex; flex: 1 1 26rem; gap: .5rem; justify-content: flex-end; }
.people-search { flex: 1 1 14rem; max-width: 22rem; }
.people-search input { min-height: 44px; }
.people-select { min-height: 44px; padding: .55rem 2.25rem .55rem .9rem; font: 600 .9375rem var(--font); color: var(--navy-900); border: 1.5px solid var(--line); border-radius: 12px; cursor: pointer;
  background: var(--white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2 4l4 4 4-4' fill='none' stroke='%230a2342' stroke-width='1.8'/%3E%3C/svg%3E") right .8rem center / .7rem no-repeat;
  -webkit-appearance: none; appearance: none; }
.people-select:focus-visible { outline: none; border-color: var(--blue-600); box-shadow: 0 0 0 4px rgba(11, 94, 215, .25); }
html:not(.js) .people-tools { display: none; }
.people-status { display: flex; align-items: center; gap: 1rem; margin: -1.25rem 0 1.5rem; font-weight: 600; color: var(--muted); }
.people-status[hidden], .people-section[hidden], .person-card[hidden] { display: none; }
.people-page .ref-empty { margin-bottom: 2rem; }
/* Added to html's scroll-padding-top (header + 1rem), so this only clears the sticky bar: sections land just under it. */
.people-section { scroll-margin-top: 6rem; }
/* The last section (Staff) needs enough height below it for a section link to scroll it right up under the bar. */
.people-section:last-of-type { min-height: calc(100vh - var(--header-h) - 7rem); }

.person-photo--initials { background: linear-gradient(135deg, var(--navy-900), var(--blue-600)); }
.person-photo--initials span { font-size: clamp(2rem, 1.5rem + 1.5vw, 2.75rem); font-weight: 800; letter-spacing: .02em; color: var(--white); }
.person-photo--initials { aspect-ratio: 16 / 9; }
/* Once any card in a grid has a real photo, initials tiles match its square shape. */
.person-grid:has(.person-photo img) .person-photo--initials { aspect-ratio: 1 / 1; }
.person-actions { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: auto; padding-top: .9rem; }
.person-body .person-actions .person-li { margin-top: 0; }
.person-mail { color: var(--navy-900); }
.person-mail:hover { background: var(--navy-900); border-color: var(--navy-900); }
.person-more { padding: .45rem .8rem; border-radius: 999px; border: 1px solid var(--blue-100); background: var(--blue-50); color: var(--blue-700); font: 700 .8125rem/1.2 var(--font); cursor: pointer; }
.person-more:hover { background: var(--blue-600); border-color: var(--blue-600); color: var(--white); }
.person-bio p { margin: .5rem 0 0; font-size: .9375rem; line-height: 1.55; color: var(--ink-2); }
html.js .person-card:has(.person-more:not([hidden])) .person-bio { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
html.js .person-card:has(.person-more:not([hidden])) .person-bio p + p { display: none; }
.person-card.is-target { border-color: var(--blue-600); box-shadow: 0 0 0 4px rgba(11, 94, 215, .25), var(--shadow-md); }

.person-dialog { width: min(46rem, calc(100% - 2rem)); max-height: calc(100dvh - 2rem); padding: 0; border: 0; border-radius: calc(var(--radius) + 6px); box-shadow: var(--shadow-lg); color: var(--ink); overflow: auto; }
.person-dialog::backdrop { background: rgba(6, 20, 40, .6); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); }
.person-dialog[open] { animation: pd-in .22s var(--ease); }
@keyframes pd-in { from { opacity: 0; transform: translateY(12px) scale(.98); } }
.pd-content { display: grid; grid-template-columns: minmax(0, 15rem) minmax(0, 1fr); }
.pd-content .person-photo { aspect-ratio: auto; min-height: 100%; }
.pd-content .person-photo--logo, .pd-content .person-photo--blank { aspect-ratio: 1 / 1; min-height: 0; }
.pd-content .person-body { padding: 2rem 2rem 1.75rem; }
.pd-content .person-name { font-size: 1.5rem; margin: .1rem 0 .1rem; padding-right: 2.5rem; }
.pd-content .person-bio p { font-size: 1rem; line-height: 1.65; }
.pd-close { position: absolute; top: .75rem; right: .75rem; z-index: 1; }
.pd-close svg { width: 18px; height: 18px; }

@media (max-width: 960px) {
  .people-bar { top: calc(var(--header-h) + .5rem); }
  .people-bar::before { top: calc(-.5rem - 1px); }
  /* The bar wraps to two rows here, so sections land further down. */
  .people-section { scroll-margin-top: 9.25rem; }
  .people-section:last-of-type { min-height: calc(100vh - var(--header-h) - 10.25rem); }
  .people-tools { flex-basis: 100%; justify-content: stretch; }
  .people-search { max-width: none; }
}
@media (max-width: 640px) {
  .people-bar { position: static; margin-top: -1.5rem; padding: .6rem; }
  .people-bar::before { display: none; }
  .people-section { scroll-margin-top: 0; }
  .people-section:last-of-type { min-height: 0; }
  .people-tab { padding: .55rem .8rem; font-size: .875rem; }
  .people-tools { flex-direction: column; }
  .people-search { flex: none; width: 100%; }
  .person-photo--initials { aspect-ratio: 16 / 9; }
  .people-select { width: 100%; }
  .pd-content { grid-template-columns: minmax(0, 1fr); }
  .pd-content .person-photo { aspect-ratio: 16 / 9; min-height: 0; }
  .pd-content .person-body { padding: 1.4rem; }
}

/* ==========================================================================
   Home hero slider: a video slide and four photo slides, each with its own
   composition. Without JS only the first slide shows (poster image, no video).
   ========================================================================== */
.hero-slider { display: block; min-height: 0; overflow: hidden; --cine: cubic-bezier(.65, 0, .25, 1); --mx: 0; --my: 0; --sy: 0px; }
.hero-slider::before { content: none; }
.hero-slider :focus-visible { outline-color: var(--sky-400); }
.hs-slides { display: grid; }
.hs-slide { grid-area: 1 / 1; position: relative; isolation: isolate; display: flex; min-height: min(94svh, 54rem);
  opacity: 0; visibility: hidden; transition: opacity 1.1s var(--cine), visibility 0s linear 1.1s; }
.hs-slide.is-active { opacity: 1; visibility: visible; z-index: 2; transition-delay: 0s; }
.hs-slide.is-leaving { opacity: 1; visibility: visible; z-index: 1; transition: none; }
.hs-slide.is-active.is-wipe { animation: hs-wipe 1.25s var(--cine) both; }
html:not(.js) .hs-slide:not(:first-child) { display: none; }

/* Media: picture/video with a slow camera move, plus a light pointer and scroll depth shift */
.hs-media { position: absolute; inset: 0; z-index: -1; overflow: hidden; background: var(--navy-950); }
.hs-media > :is(picture, video) { position: absolute; inset: -3%; width: 106%; height: 106%;
  transform: translate3d(calc(var(--mx) * -14px), calc(var(--my) * -10px + var(--sy)), 0); transition: transform .9s cubic-bezier(.2, .7, .2, 1); }
.hs-media img, .hs-video { width: 100%; height: 100%; object-fit: cover; }
.hs-media img { transform-origin: var(--focus, 50% 50%); }
.hs-slide:is(.is-active, .is-leaving) .hs-media img { animation: var(--kb, hs-settle) var(--kb-dur, 11s) linear both; }
.hs-video { opacity: 0; transition: opacity 1.2s ease, transform .9s cubic-bezier(.2, .7, .2, 1); }
.hs-video.is-ready { opacity: 1; }
.hs-media::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: var(--shade); }

/* Content */
.hs-content { position: relative; display: flex; flex-direction: column; justify-content: flex-end; align-items: flex-start;
  padding-top: calc(var(--header-h) + 3.5rem); padding-bottom: calc(3.5rem + 7.5rem); }
.hs-kicker { display: flex; align-items: center; margin: 0 0 1.1rem; padding: .4rem .85rem .4rem .6rem; border-radius: 999px;
  background: rgba(6, 20, 40, .72); border: 1px solid rgba(255, 255, 255, .18); backdrop-filter: blur(6px);
  font-size: .8125rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--sky-200); }
.hs-num { display: inline-flex; align-items: center; gap: .75rem; margin-right: .75rem; color: var(--sky-400); font-variant-numeric: tabular-nums; }
.hs-num::after { content: ""; width: 2.25rem; height: 2px; background: currentColor; opacity: .7; }
.hero-slider :is(h1, .hs-title) { text-shadow: 0 2px 28px rgba(6, 20, 40, .35); }
.hs-title { color: var(--white); font-size: clamp(2rem, 1.15rem + 2.9vw, 3.6rem); line-height: 1.07; letter-spacing: -0.03em; max-width: 21ch; margin-bottom: 1.1rem; }
.hs-text { font-size: clamp(1.0625rem, 1rem + .35vw, 1.25rem); color: var(--white); max-width: 40rem; }
.hero-slider .hero-actions { margin-top: 1.75rem; }
.hs-credit { position: absolute; right: var(--gutter); top: calc(var(--header-h) + .9rem); margin: 0; font-size: .6875rem; line-height: 1.4; color: rgba(255, 255, 255, .7); }
.hs-credit a { color: inherit; text-decoration: underline; text-decoration-color: rgba(255, 255, 255, .35); }
.hs-credit a:hover { color: var(--white); }

/* Entrance: the text rises in after the image, one element at a time; outgoing text fades first */
.hs-slide.is-active .hs-content > *, .hs-slide.is-active .hs-card > * { animation: hs-rise .95s cubic-bezier(.2, .7, .2, 1) both; animation-delay: calc(var(--d0, .4s) + var(--i, 0) * .09s); }
.hs-content > :nth-child(2), .hs-card > :nth-child(2) { --i: 1; }
.hs-content > :nth-child(3), .hs-card > :nth-child(3) { --i: 2; }
.hs-content > :nth-child(4), .hs-card > :nth-child(4) { --i: 3; }
.hs-slide.is-active :is(.hs-content, .hs-card) > .hs-title { animation-name: hs-title; animation-duration: 1.1s; }
.hs-slide.is-leaving .hs-content { opacity: 0; transform: translateY(-12px); transition: opacity .45s ease, transform .45s ease; }
.hs-slide--video { --d0: 0s; }

/* 1. Video: the welcome text, bottom left */
.hs-slide--video { --shade: linear-gradient(180deg, rgba(6, 20, 40, .62) 0%, rgba(6, 20, 40, 0) 26%, rgba(6, 20, 40, 0) 44%, rgba(6, 20, 40, .8) 84%, rgba(6, 20, 40, .94) 100%),
  linear-gradient(90deg, rgba(6, 20, 40, .72) 0%, rgba(6, 20, 40, .3) 45%, rgba(6, 20, 40, 0) 70%); }
/* 2. Split: text centred on the left behind an accent rule; the cranes stay clear on the right */
.hs-slide--split { --kb: hs-zoom-out; --focus: 72% 45%;
  --shade: linear-gradient(180deg, rgba(6, 20, 40, .55) 0%, rgba(6, 20, 40, 0) 22%, rgba(6, 20, 40, 0) 70%, rgba(6, 20, 40, .55) 100%), linear-gradient(90deg, rgba(6, 20, 40, .92) 0%, rgba(6, 20, 40, .8) 38%, rgba(6, 20, 40, .12) 70%, rgba(6, 20, 40, .12) 100%); }
.hs-slide--split .hs-content { justify-content: center; padding-bottom: calc(3.5rem + 8.5rem); }
.hs-slide--split :is(.hs-title, .hs-text, .hero-actions) { margin: 0; padding-left: 1.5rem; border-left: 3px solid var(--sky-400); }
.hs-slide--split .hs-title { padding-bottom: 1.1rem; }
.hs-slide--split .hs-text { border-left-color: rgba(255, 255, 255, .22); padding-bottom: .25rem; }
.hs-slide--split .hero-actions { border-left: 0; margin-top: 1.75rem; }
/* 3. Horizon: the ship sits left on open water, the text on the right over the sky */
.hs-slide--horizon { --kb: hs-pan; --focus: 34% 55%;
  --shade: linear-gradient(180deg, rgba(6, 20, 40, .6) 0%, rgba(6, 20, 40, .1) 28%, rgba(6, 20, 40, .4) 100%), linear-gradient(270deg, rgba(6, 20, 40, .88) 0%, rgba(6, 20, 40, .7) 38%, rgba(6, 20, 40, 0) 72%); }
.hs-slide--horizon .hs-content { justify-content: center; align-items: flex-end; padding-bottom: calc(3.5rem + 8.5rem); }
.hs-slide--horizon .hs-content > * { width: min(36rem, 100%); }
.hs-slide--horizon .hs-title { font-size: clamp(1.9rem, 1.15rem + 2.4vw, 3.15rem); }
.hs-slide.is-active.hs-slide--horizon .hs-content > :not(.hs-title) { animation-name: hs-from-right; }
/* 4. Panel: the busy yard stays visible; the text sits on a solid card */
.hs-slide--panel { --kb: hs-tilt; --focus: 45% 60%; --shade: linear-gradient(180deg, rgba(6, 20, 40, .6) 0%, rgba(6, 20, 40, .05) 26%, rgba(6, 20, 40, .1) 60%, rgba(6, 20, 40, .5) 100%); }
.hs-slide--panel .hs-content { align-items: flex-start; }
.hs-card { max-width: 42rem; padding: clamp(1.5rem, 1rem + 1.5vw, 2.25rem); border-radius: calc(var(--radius) + 6px); border-top: 3px solid var(--sky-400);
  background: rgba(6, 20, 40, .84); box-shadow: var(--shadow-lg); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.hs-card .hs-text { margin-bottom: 0; }
.hs-slide.is-active.hs-slide--panel .hs-content > .hs-card { animation: hs-card 1s cubic-bezier(.2, .7, .2, 1) .25s both; }
/* 5. Centre: the night terminal, cinematic and centred */
.hs-slide--center { --kb: hs-zoom-in; --focus: 40% 55%;
  --shade: linear-gradient(180deg, rgba(6, 20, 40, .55) 0%, rgba(6, 20, 40, .15) 30%, rgba(6, 20, 40, .35) 70%, rgba(6, 20, 40, .85) 100%), radial-gradient(ellipse 58% 50% at 50% 50%, rgba(6, 20, 40, .78), rgba(6, 20, 40, .25) 70%, rgba(6, 20, 40, 0)); }
.hs-slide--center .hs-content { justify-content: center; align-items: center; text-align: center; padding-bottom: calc(3.5rem + 8.5rem); }
.hs-slide--center .hs-kicker, .hs-slide--center .hero-actions { justify-content: center; }
.hs-slide--center .hs-title { font-size: clamp(2.5rem, 1.3rem + 4.4vw, 5rem); max-width: 16ch; }
.hs-slide--center .hs-text { margin-inline: auto; }
.hs-slide.is-active.hs-slide--center .hs-title { animation-name: hs-focus; animation-duration: 1.4s; }

/* Controls: pause/play, slide tabs with progress, previous/next */
.hs-controls { position: absolute; z-index: 5; left: 0; right: 0; bottom: calc(3.5rem + 1.5rem); }
.hs-controls[hidden] { display: none; }
.hs-controls-inner { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 1.25rem; }
.hs-tabs { display: flex; gap: 1rem; }
.hs-tab { flex: 1 1 0; min-width: 0; display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: .15rem .55rem; padding: .55rem 0 .35rem; border: 0; background: none; cursor: pointer;
  font: 700 .8125rem/1.2 var(--font); color: rgba(255, 255, 255, .66); text-align: left; transition: color .2s ease; }
.hs-tab:hover, .hs-tab[aria-current="true"] { color: var(--white); }
.hs-tab-num { font-size: .75rem; color: var(--sky-200); font-variant-numeric: tabular-nums; }
.hs-tab-label { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hs-bar { grid-column: 1 / -1; position: relative; display: block; height: 3px; margin-top: .45rem; border-radius: 3px; background: rgba(255, 255, 255, .24); overflow: hidden; transition: background-color .2s ease; }
.hs-fill { position: absolute; inset: 0; background: linear-gradient(90deg, var(--sky-400), var(--white)); transform: scaleX(0); transform-origin: left; }
.hs-tab[aria-current="true"] .hs-fill { animation: hs-progress var(--dur, 8s) linear both; }
.hero-slider.is-paused .hs-tab[aria-current="true"] .hs-fill { animation-play-state: paused; }
.hero-slider.is-static .hs-tab[aria-current="true"] .hs-fill { animation: none; transform: scaleX(1); }
.hs-tab:hover .hs-bar { background: rgba(255, 255, 255, .42); }
.hs-arrows { display: flex; align-items: center; gap: .5rem; }
.hs-count { min-width: 4.25rem; margin-right: .25rem; font-size: .8125rem; font-weight: 700; color: rgba(255, 255, 255, .72); font-variant-numeric: tabular-nums; text-align: right; }
.hs-count b { color: var(--white); font-weight: 800; }
.hs-btn { display: inline-grid; place-items: center; width: 46px; height: 46px; padding: 0; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .38); cursor: pointer;
  background: rgba(6, 20, 40, .38); color: var(--white); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  transition: background-color .2s ease, color .2s ease, border-color .2s ease, transform .2s ease; }
.hs-btn:hover { background: var(--white); border-color: var(--white); color: var(--navy-900); }
.hs-btn:active { transform: scale(.94); }
.hs-btn svg { width: 18px; height: 18px; }
.hs-toggle .i-play, .hero-slider.is-stopped .hs-toggle .i-pause { display: none; }
.hero-slider.is-stopped .hs-toggle .i-play { display: block; }

@keyframes hs-wipe { from { clip-path: inset(0 0 0 100%); } to { clip-path: inset(0 0 0 0); } }
@keyframes hs-settle { from { transform: scale(1.06); } to { transform: scale(1); } }
@keyframes hs-zoom-out { from { transform: scale(1.14); } to { transform: scale(1.02); } }
@keyframes hs-zoom-in { from { transform: scale(1.02); } to { transform: scale(1.14); } }
@keyframes hs-pan { from { transform: scale(1.12) translateX(2.5%); } to { transform: scale(1.12) translateX(-2.5%); } }
@keyframes hs-tilt { from { transform: scale(1.14) translateY(2.5%); } to { transform: scale(1.06) translateY(-1.5%); } }
@keyframes hs-rise { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
@keyframes hs-from-right { from { opacity: 0; transform: translateX(34px); } to { opacity: 1; transform: none; } }
@keyframes hs-title { from { opacity: 0; transform: translateY(.45em); clip-path: inset(0 0 100% 0); } to { opacity: 1; transform: none; clip-path: inset(-.3em -.3em -.4em -.3em); } }
@keyframes hs-focus { from { opacity: 0; letter-spacing: .02em; filter: blur(8px); } to { opacity: 1; letter-spacing: -0.03em; filter: none; } }
@keyframes hs-card { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: none; } }
@keyframes hs-progress { from { transform: scaleX(0); } to { transform: scaleX(1); } }

/* Tablet */
@media (max-width: 1100px) {
  .hs-tab-label { display: none; }
  .hs-tab { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 960px) {
  .hs-slide { min-height: min(88svh, 48rem); }
  .hs-slide--split .hs-content, .hs-slide--horizon .hs-content, .hs-slide--center .hs-content { justify-content: flex-end; padding-bottom: calc(3.5rem + 7.5rem); }
  .hs-slide--horizon .hs-content { align-items: flex-start; }
  .hs-slide--split { --shade: linear-gradient(180deg, rgba(6, 20, 40, .6) 0%, rgba(6, 20, 40, .1) 30%, rgba(6, 20, 40, .72) 62%, rgba(6, 20, 40, .92) 100%); }
  .hs-slide--horizon { --shade: linear-gradient(180deg, rgba(6, 20, 40, .62) 0%, rgba(6, 20, 40, .15) 30%, rgba(6, 20, 40, .6) 62%, rgba(6, 20, 40, .9) 100%); }
}

/* Phone: a dedicated layout. The portrait image sits on top and grows to fill whatever height
   the text leaves (all slides share the tallest slide's height), the text sits below it on navy. */
@media (max-width: 640px) {
  .hs-slide { flex-direction: column; min-height: 0; background: var(--navy-950); }
  .hs-media { position: relative; inset: auto; flex: 1 0 auto; min-height: min(112vw, 60svh); }
  .hs-media > :is(picture, video) { inset: 0; width: 100%; height: 100%; transform: none; }
  .hs-media::after { background: linear-gradient(180deg, rgba(6, 20, 40, .6) 0%, rgba(6, 20, 40, 0) 22%, rgba(6, 20, 40, 0) 52%, rgba(6, 20, 40, .75) 82%, var(--navy-950) 100%); }
  .hs-content, .hs-slide--split .hs-content, .hs-slide--horizon .hs-content, .hs-slide--center .hs-content, .hs-slide--panel .hs-content {
    flex: none; justify-content: flex-start; align-items: flex-start; text-align: left; margin-top: -5.5rem; padding-top: 0; padding-bottom: calc(3.5rem + 5.5rem); }
  .hs-slide--center .hs-kicker, .hs-slide--center .hero-actions { justify-content: flex-start; }
  .hs-slide--center .hs-text { margin-inline: 0; }
  .hs-card { padding: 0; border: 0; border-radius: 0; background: none; box-shadow: none; backdrop-filter: none; -webkit-backdrop-filter: none; }
  .hs-slide--split :is(.hs-title, .hs-text) { padding-left: 1rem; }
  .hs-slide--split .hero-actions { padding-left: 0; }
  .hero-slider .org { font-size: .75rem; padding: .35rem .75rem; margin-bottom: 1rem; }
  .hero-slider h1 { font-size: clamp(1.95rem, 1.4rem + 3vw, 2.5rem); }
  .hs-title, .hs-slide--horizon .hs-title, .hs-slide--center .hs-title { font-size: clamp(1.65rem, 1.2rem + 2.4vw, 2.1rem); max-width: none; }
  .hs-text, .hero-slider .lede { font-size: 1rem; }
  .hero-slider .hero-actions { margin-top: 1.4rem; }
  .hero-slider .hero-actions .btn { width: 100%; padding-inline: 1rem; font-size: .9375rem; }
  .hs-credit { position: static; margin-top: 1rem; font-size: .625rem; color: rgba(255, 255, 255, .6); }
  .hs-controls { bottom: calc(3.5rem + 1rem); }
  .hs-controls-inner { gap: .75rem; }
  .hs-tabs { gap: .35rem; }
  .hs-tab { padding: 1rem 0; }
  .hs-tab-num, .hs-count { display: none; }
  .hs-bar { margin-top: 0; }
  .hs-btn { width: 44px; height: 44px; }
}

@media (prefers-reduced-motion: reduce) {
  .hs-media > :is(picture, video) { transform: none; }
  .hs-media img { animation: none !important; }
}
@media print {
  .hs-controls, .hs-media, .hs-credit { display: none !important; }
  .hs-slide:not(:first-child) { display: none !important; }
  .hs-slide { opacity: 1 !important; visibility: visible !important; min-height: 0; }
  .hs-content { padding: 1rem 0; }
  .hs-title, .hs-kicker, .hs-text { color: #000 !important; }
}

/* ==========================================================================
   Responsive audit fixes (reports/responsive-audit, RA-xxx)
   ========================================================================== */
/* RA-009: the embedded map shows a focus ring like every other control */
.hq-map:focus-within, .hq-map.is-focused { outline: 3px solid var(--blue-600); outline-offset: -3px; }
/* RA-011: grid items may shrink below their content so the page never scrolls sideways */
.contact-grid > *, .contact-side > * { min-width: 0; }
/* RA-005: the video credit stays at least 12px */
.hs-credit { font-size: .75rem; }
/* RA-004: sideways-scrolling chip and tab rows fade at the edge that has more to show (classes set by main.js) */
.scroll-cue.has-more-end { -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 2.5rem), transparent); mask-image: linear-gradient(90deg, #000 calc(100% - 2.5rem), transparent); }
.scroll-cue.has-more-start { -webkit-mask-image: linear-gradient(90deg, transparent, #000 2.5rem); mask-image: linear-gradient(90deg, transparent, #000 2.5rem); }
.scroll-cue.has-more-start.has-more-end { -webkit-mask-image: linear-gradient(90deg, transparent, #000 2.5rem, #000 calc(100% - 2.5rem), transparent); mask-image: linear-gradient(90deg, transparent, #000 2.5rem, #000 calc(100% - 2.5rem), transparent); }

/* RA-010: card grids keep two columns on tablets instead of one wide column */
@media (min-width: 641px) and (max-width: 960px) {
  .fact-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fact-cards--five .fact-card:last-child { grid-column: 1 / -1; }
}
/* Five fact cards: three on the first row, two sharing the second. */
@media (min-width: 961px) {
  .fact-cards--five { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .fact-cards--five .fact-card { grid-column: span 2; }
  .fact-cards--five .fact-card:nth-child(n+4) { grid-column: span 3; }
}

@media (max-width: 960px) {
  /* RA-003: larger tap areas for footer, breadcrumb and logo links on touch-sized screens */
  .site-footer ul { gap: 0; }
  .site-footer ul a { display: inline-block; padding: .7rem .4rem; margin-inline: -.4rem; }
  .breadcrumb a { display: inline-block; padding: .7rem .35rem; margin: -.7rem -.35rem; }
  .brand { min-height: 44px; }
  .chip-toggle, .people-tab, .person-li { min-height: 44px; }
}

@media (max-width: 640px) {
  /* RA-002: document cards give the title the full width; the file badge sits above it */
  .docs-dl .doc a { grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "icon dl" "title dl" "meta dl"; gap: .3rem .5rem; padding: .75rem; }
  .docs-dl .ficon { grid-area: icon; width: auto; height: auto; justify-self: start; padding: .15rem .5rem; border-radius: 6px; font-size: .6875rem; }
  .docs-dl .title { grid-area: title; }
  .docs-dl .meta { grid-area: meta; }
  .docs-dl .dl { grid-area: dl; align-self: center; width: 2rem; height: 2rem; }
  .key-docs-list, .vgm-featured-body { padding: .75rem; }
  .dd-docs .docs-dl .doc a { padding: .9rem; }
  /* RA-001: long formal page titles use a smaller size on phones */
  .page-hero h1.is-long { font-size: clamp(1.35rem, 1rem + 2.4vw, 1.75rem); letter-spacing: -0.01em; }
  /* RA-007: the CCM / SACP "visit site" box stacks: badge, text, then a full-width button */
  .ccm-feature { grid-template-columns: minmax(0, 1fr); }
  .ccm-feature .ccm-cta { width: 100%; }
  /* RA-006: buttons with long labels go full width so the label fits */
  .btn { line-height: 1.25; text-align: center; padding-inline: 1rem; }  .chassis-body { padding: 1.5rem 1.25rem; }
  .chassis-body .btn, .feature-body .btn, .hq-body .form-actions .btn, .contact-form .btn { width: 100%; }
  /* RA-003: taller hit area for the hero slider tabs */
  .hs-tab { position: relative; }
  .hs-tab::before { content: ""; position: absolute; inset: -.5rem -.15rem; }
}

/* RA-012: member cards use one column on the smallest phones (320-360px) */
@media (max-width: 360px) {
  .member-grid { --cols: 1; }
}
