/* ==========================================================================
   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; }
: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, .97);
  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: 40px; 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: .15rem; }
.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); }
.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; }

/* 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) { background: transparent; border-bottom-color: rgba(255, 255, 255, .14); }
html.js .home .site-header:not(.is-scrolled):not(.search-open) .logo-dark { display: none; }
html.js .home .site-header:not(.is-scrolled):not(.search-open) .logo-light { display: block; }
html.js .home .site-header:not(.is-scrolled):not(.search-open) :is(.nav-link, .nav-trigger) { color: var(--white); }
html.js .home .site-header:not(.is-scrolled):not(.search-open) :is(.nav-link, .nav-trigger):hover,
html.js .home .site-header:not(.is-scrolled):not(.search-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) .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) url("../img/photos/terminal-night-1920.jpg") center 55% / cover no-repeat; }
.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(255, 255, 255, .1); 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: rgba(255, 255, 255, .88); 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 sections */
.section { padding-block: clamp(3.5rem, 2.5rem + 3vw, 6rem); }
.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(4, 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); }
.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%; }
.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.4fr repeat(3, 1fr); gap: 2.5rem; padding-block: clamp(3rem, 2.5rem + 2vw, 4.5rem) 2.5rem; }
.footer-brand img { height: 40px; width: auto; margin-bottom: 1.25rem; }
.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; }
.footer-legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .75rem 2rem; padding-block: 1.5rem; 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: 70ch; }

/* ---------- 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)); }
  .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: 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; }
  .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-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(4, minmax(0, 1fr)); gap: 1.25rem; padding-top: 2rem; }
.tree-branches::before { content: ""; position: absolute; top: 0; left: 12.5%; right: 12.5%; 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: 1.75rem 2rem; background: var(--soft); border-radius: calc(var(--radius) + 6px); }
.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: .9rem 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: 4; --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: 10rem; background: linear-gradient(180deg, #f7f9fc, #eef3f9); border-bottom: 1px solid var(--line); }
.member-logo img { width: 150px; mix-blend-mode: multiply; 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; }
.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: 1180px) {
  .member-grid { --cols: 3; }
  .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 img { width: 110px; }
  .member-info { padding: .85rem .9rem 1rem; }
  .mini-figs { grid-template-columns: minmax(0, 1fr); }
  .members-intro { padding: 1.25rem; }
}

/* 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.25rem; 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; }
.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 { 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); }
.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)); }
.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%; margin-top: .5rem; 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; }
  .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 img { width: 120px; mix-blend-mode: multiply; }

@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 img { width: 96px; } .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; }
.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; max-width: 36rem; 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; }
}

/* Smaller photos for small screens */
@media (max-width: 960px) {
  .hero { background-image: url("../img/photos/terminal-night-960.jpg"); }
  .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"); }
}

/* ---------- 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; }
}
