:root {
  --black: #0B0D10;
  --graphite: #101214;
  --ivory: #F1EEE8;
  --steel: #8C9298;
  --blue: #163A5F;
  --brass: #A9854F;
  --muted-ivory: #d7d2ca;
  --surface: rgba(255,255,255,.035);
  --surface-strong: rgba(255,255,255,.065);
  --line: rgba(241,238,232,.12);
  --line-strong: rgba(241,238,232,.24);
  --display: "Syncopate", "Arial Narrow", Arial, sans-serif;
  --narrative: "Newsreader", Georgia, "Times New Roman", serif;
  --system: "Fragment Mono", "SFMono-Regular", Consolas, monospace;
  --max: 1180px;
  --gutter: clamp(1rem, 4vw, 3.5rem);
  --header-h: 72px;
}

* { box-sizing: border-box; }
html { background: var(--black); scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--black);
  color: var(--ivory);
  font-family: var(--narrative);
  line-height: 1.55;
  overflow-x: hidden;
  text-rendering: optimizeLegibility;
}
body.dialog-open { overflow: hidden; }
body::selection { background: var(--brass); color: var(--black); }
a { color: inherit; }
button, input, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { color: inherit; }
img, video { max-width: 100%; }
[hidden] { display: none !important; }

.skip-link {
  position: fixed;
  z-index: 300;
  top: 1rem;
  left: 1rem;
  transform: translateY(-180%);
  background: var(--ivory);
  color: var(--black);
  padding: .75rem 1rem;
  font: 700 .72rem/1 var(--system);
  letter-spacing: .06em;
}
.skip-link:focus { transform: none; }

.film {
  position: relative;
  min-height: 100svh;
  min-height: 100dvh;
  overflow: hidden;
  display: grid;
  grid-template-rows: auto 1fr auto;
  background: var(--black);
  border-bottom: 1px solid var(--line);
}
.film__wash,
.film__grain,
.film__media { position: absolute; inset: 0; pointer-events: none; }
.film__wash {
  background:
    radial-gradient(circle at 72% 42%, rgba(22,58,95,.28), transparent 34%),
    radial-gradient(circle at 25% 76%, rgba(169,133,79,.09), transparent 24%);
}
.film__grain {
  opacity: .11;
  background-image:
    linear-gradient(rgba(255,255,255,.015) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.015) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(circle at center, black, transparent 80%);
}
.film__media { display: grid; place-items: center; opacity: .38; }
.film__horizon {
  width: min(68vw, 900px);
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(241,238,232,.2), transparent);
  box-shadow: 0 -80px 120px rgba(22,58,95,.28);
}
.film__brand {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: .8rem;
  padding: 1.5rem var(--gutter);
  color: var(--steel);
  font: 700 .61rem/1 var(--system);
  letter-spacing: .15em;
}
.film__brand-mark,
.mini-mark {
  position: relative;
  flex: 0 0 32px;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border: 1px solid var(--line-strong);
  overflow: hidden;
  background: #22282a;
}
.film__brand-mark img,
.mini-mark img { position: absolute; inset: 0; display: block; width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: 50% 50%; transform: scale(1.3); }
.film__stage {
  position: relative;
  z-index: 2;
  width: min(var(--max), calc(100% - 2 * var(--gutter)));
  margin: auto;
  display: flex;
  align-items: flex-end;
  min-height: 62vh;
  padding: 2rem 0 clamp(4rem, 10vh, 7rem);
}
.film__copy { max-width: 1050px; }
.kicker,
.eyebrow {
  margin: 0 0 .85rem;
  color: var(--steel);
  font: 700 .64rem/1.35 var(--system);
  letter-spacing: .15em;
  text-transform: uppercase;
}
.film h1 {
  margin: 0;
  max-width: 16ch;
  font: 700 clamp(2.65rem, 6vw, 6.7rem)/.98 var(--display);
  letter-spacing: -.035em;
  text-transform: uppercase;
}
.film h1 em { color: var(--brass); font-style: normal; }
.film__role {
  margin: 1.5rem 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: .35rem .7rem;
  color: var(--muted-ivory);
  font-size: clamp(.95rem, 1.5vw, 1.2rem);
}
.film__role i { color: var(--steel); font-style: normal; }
.film__hint { margin: .65rem 0 0; color: var(--steel); }
.film__controlbar {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: stretch;
  border-top: 1px solid var(--line);
  background: rgba(11,13,16,.88);
  backdrop-filter: blur(18px);
}
.film-control {
  min-height: 58px;
  border: 0;
  border-right: 1px solid var(--line);
  background: transparent;
  padding: 0 1.15rem;
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  cursor: pointer;
  color: var(--steel);
  font: .64rem/1 var(--system);
  letter-spacing: .07em;
  text-transform: uppercase;
}
.film-control:hover,
.film-control:focus-visible { background: var(--surface-strong); color: var(--ivory); outline: 0; }
.film-control--skip { margin-left: auto; border-left: 1px solid var(--line); color: var(--ivory); }
.film__quote {
  position: absolute;
  z-index: 2;
  right: var(--gutter);
  top: 5.25rem;
  color: rgba(241,238,232,.15);
  writing-mode: vertical-rl;
  font: 700 .58rem/1 var(--system);
  letter-spacing: .15em;
}
.film.is-exiting .film__copy { opacity: 0; transform: translateY(-10px); transition: .22s ease; }

.dossier {
  min-height: 100vh;
  background: var(--graphite);
  outline: none;
  scroll-padding-top: calc(var(--header-h) + 1rem);
}
.dossier-header {
  position: sticky;
  top: 0;
  z-index: 80;
  min-height: var(--header-h);
  padding: .75rem var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  border-bottom: 1px solid var(--line);
  background: rgba(16,18,20,.9);
  backdrop-filter: blur(20px);
}
.dossier-header__identity {
  display: inline-flex;
  align-items: center;
  gap: .75rem;
  min-width: 0;
  text-decoration: none;
}
.dossier-header__identity > span:last-child { display: grid; gap: .25rem; min-width: 0; }
.dossier-header__identity strong {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font: 700 .66rem/1 var(--display);
  letter-spacing: .05em;
}
.dossier-header__identity small { color: var(--steel); font: .56rem/1 var(--system); letter-spacing: .09em; }
.header-contact {
  flex: 0 0 auto;
  text-decoration: none;
  color: var(--ivory);
  font: 700 .62rem/1 var(--system);
  letter-spacing: .08em;
}
.header-contact:hover,
.header-contact:focus-visible { color: var(--brass); outline: 0; }

.proof-rail {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-inline: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.proof-item {
  min-width: 0;
  min-height: 112px;
  padding: 1.15rem 1.3rem;
  border: 0;
  border-right: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255,255,255,.018), transparent);
  text-align: left;
  cursor: pointer;
}
.proof-item:last-child { border-right: 0; }
.proof-item:hover,
.proof-item:focus-visible { background: var(--surface-strong); outline: 0; }
.proof-item strong { display: block; color: var(--brass); font: 700 clamp(1.45rem, 2.5vw, 2.35rem)/1 var(--display); }
.proof-item span { display: block; margin-top: .45rem; font-size: .92rem; }
.proof-item small { display: block; margin-top: .15rem; color: var(--steel); font: .56rem/1.4 var(--system); }

.primary-tabs {
  position: sticky;
  top: var(--header-h);
  z-index: 70;
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-inline: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(16,18,20,.96);
  backdrop-filter: blur(18px);
}
.primary-tabs button {
  min-height: 52px;
  border: 0;
  border-right: 1px solid var(--line);
  background: transparent;
  color: var(--steel);
  cursor: pointer;
  font: 700 .61rem/1 var(--system);
  letter-spacing: .08em;
  text-transform: uppercase;
}
.primary-tabs button:last-child { border-right: 0; }
.primary-tabs button:hover,
.primary-tabs button:focus-visible,
.primary-tabs button.is-active { color: var(--ivory); background: rgba(255,255,255,.035); outline: 0; }
.primary-tabs button.is-active { box-shadow: inset 0 -2px 0 var(--brass); }

.dossier-workspace {
  max-width: var(--max);
  margin: 0 auto;
  border-inline: 1px solid var(--line);
}
.tab-panel {
  min-height: min(720px, calc(100dvh - 124px));
  padding: clamp(2.5rem, 6vw, 5.5rem) var(--gutter);
}
.panel-heading { max-width: 900px; margin-bottom: clamp(2rem, 4vw, 3.5rem); }
.panel-heading h2 {
  margin: 0;
  font: 400 clamp(2.2rem, 4.7vw, 4.9rem)/1.02 var(--narrative);
  letter-spacing: -.035em;
}
.panel-heading > p:last-child { max-width: 760px; margin: 1.1rem 0 0; color: var(--muted-ivory); font-size: clamp(1.02rem, 1.6vw, 1.28rem); }
.panel-heading--split {
  max-width: none;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 2rem;
  align-items: end;
}
.panel-heading--split > div:first-child { max-width: 760px; }
.panel-heading--split > div:first-child > p:last-child { max-width: 720px; margin: 1rem 0 0; color: var(--muted-ivory); font-size: clamp(1rem, 1.45vw, 1.18rem); }

.profile-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.profile-pillar { min-height: 310px; padding: clamp(1.5rem, 3vw, 2.5rem); background: var(--graphite); }
.profile-pillar--operator { background: linear-gradient(135deg, rgba(22,58,95,.17), transparent 62%), var(--graphite); }
.profile-pillar--builder { background: linear-gradient(135deg, rgba(169,133,79,.08), transparent 62%), var(--graphite); }
.pillar-index { color: var(--steel); font: .57rem/1 var(--system); letter-spacing: .11em; }
.profile-pillar h3 { margin: .8rem 0 1.4rem; font: 400 clamp(1.8rem, 3vw, 2.8rem)/1 var(--narrative); }
.profile-pillar ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.profile-pillar li { padding: .65rem 0; border-top: 1px solid var(--line); color: var(--muted-ivory); }
.profile-actions {
  margin-top: 1px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--line);
}
.action-link {
  min-height: 56px;
  padding: 0 1.1rem;
  border: 0;
  border-right: 1px solid var(--line);
  background: transparent;
  color: var(--ivory);
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-decoration: none;
  cursor: pointer;
  font: 700 .62rem/1 var(--system);
  letter-spacing: .06em;
  text-transform: uppercase;
}
.action-link:last-child { border-right: 0; }
.action-link:hover,
.action-link:focus-visible { background: var(--surface-strong); outline: 0; }

.maritime-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.slim-block { min-width: 0; padding: 1.5rem; background: var(--graphite); }
.block-head { display: grid; grid-template-columns: auto 1fr; gap: .85rem; align-items: start; padding-bottom: 1.15rem; border-bottom: 1px solid var(--line); }
.block-head > span { color: var(--brass); font: 700 .62rem/1 var(--system); }
.block-head small { color: var(--steel); font: .55rem/1 var(--system); letter-spacing: .08em; }
.block-head h3 { margin: .35rem 0 0; font: 400 1.35rem/1.15 var(--narrative); }
.career-compact { margin-top: 1rem; }
.career-flow { list-style: none; margin: 0; padding: 0 0 .95rem; display: flex; flex-wrap: wrap; gap: .45rem .7rem; border-bottom: 1px solid var(--line); }
.career-flow li { display: inline-flex; align-items: center; gap: .7rem; color: var(--muted-ivory); font: 700 .52rem/1.35 var(--system); letter-spacing: .035em; }
.career-flow li:not(:last-child)::after { content: "→"; color: var(--brass); }
.career-details { display: grid; }
.career-step { padding: .68rem 0; display: grid; grid-template-columns: 1fr; gap: .2rem; border-bottom: 1px solid var(--line); }
.career-step:last-child { border-bottom: 0; }
.career-step > span { color: var(--brass); font: .5rem/1 var(--system); text-transform: uppercase; }
.career-step strong { font-size: .86rem; line-height: 1.25; }
.career-step small { color: var(--steel); font: .5rem/1.25 var(--system); text-transform: uppercase; }
.domain-cloud { margin-top: 1rem; }
.domain-cloud p { margin: 0; color: var(--muted-ivory); font-size: clamp(.92rem, 1.2vw, 1.05rem); line-height: 1.75; }
.evidence-actions { margin-top: 1rem; display: grid; }
.evidence-actions button {
  min-height: 70px;
  padding: .8rem 0;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: transparent;
  display: grid;
  grid-template-columns: 1fr auto;
  text-align: left;
  cursor: pointer;
}
.evidence-actions button:last-child { border-bottom: 0; }
.evidence-actions button strong { align-self: end; font-size: .95rem; }
.evidence-actions button small { grid-column: 1; color: var(--steel); font-size: .72rem; }
.evidence-actions button span { grid-column: 2; grid-row: 1 / span 2; align-self: center; color: var(--brass); }
.evidence-actions button:hover,
.evidence-actions button:focus-visible { padding-left: .55rem; background: var(--surface); outline: 0; }

.product-filters,
.secondary-tabs { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: .35rem; }
.product-filters button,
.secondary-tabs button {
  min-height: 38px;
  padding: .55rem .7rem;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--steel);
  cursor: pointer;
  font: 700 .54rem/1 var(--system);
  letter-spacing: .06em;
}
.product-filters button:hover,
.product-filters button:focus-visible,
.product-filters button.is-active,
.secondary-tabs button:hover,
.secondary-tabs button:focus-visible,
.secondary-tabs button.is-active { color: var(--ivory); border-color: var(--line-strong); background: var(--surface-strong); outline: 0; }
.project-grid--slim { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.project-card--slim { min-height: 228px; padding: 1.35rem; background: var(--graphite); display: grid; grid-template-columns: 64px minmax(0, 1fr); grid-template-rows: 1fr auto; gap: 1rem 1.1rem; }
.project-card__visual { width: 64px; height: 64px; display: grid; place-items: center; overflow: hidden; border: 1px solid var(--line-strong); border-radius: 10px; background: linear-gradient(145deg, rgba(22,58,95,.34), rgba(169,133,79,.08)); color: var(--brass); font: 700 .7rem/1 var(--display); }
.project-card__visual img { width: 100%; height: 100%; object-fit: cover; }
.project-card__visual--contain { background: #f4f6fa; }
.project-card__visual--contain img { object-fit: contain; }
.project-card__visual--crop { background: #0b0d10; }
.product-visual-crop { display: block; width: 100%; height: 100%; background-image: var(--product-visual); background-repeat: no-repeat; background-size: var(--product-visual-size, cover); background-position: var(--product-visual-position, center); }
.project-card__content { min-width: 0; }
.project-card__meta { display: flex; justify-content: space-between; gap: 1rem; color: var(--steel); font: .55rem/1 var(--system); letter-spacing: .06em; text-transform: uppercase; }
.project-card__meta b { color: var(--brass); font-weight: 700; }
.project-card--slim h3 { margin: 1.1rem 0 .5rem; font: 400 clamp(1.55rem, 2.6vw, 2.2rem)/1.1 var(--narrative); }
.project-card__content > p { margin: 0; color: var(--muted-ivory); }
.project-card__content > small { display: block; margin-top: 1rem; color: var(--steel); font: .56rem/1.4 var(--system); }
.project-card--slim button { grid-column: 1 / -1; margin-top: auto; padding: 1rem 0 0; border: 0; border-top: 1px solid var(--line); background: transparent; display: flex; justify-content: space-between; color: var(--ivory); cursor: pointer; font: 700 .58rem/1 var(--system); letter-spacing: .07em; }
.project-card--slim button:hover,
.project-card--slim button:focus-visible { color: var(--brass); outline: 0; }
.empty-state { grid-column: 1 / -1; padding: 2rem; margin: 0; background: var(--graphite); color: var(--steel); }

.network-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.network-card { min-height: 190px; padding: 1.2rem; background: var(--graphite); display: grid; grid-template-columns: 80px minmax(0, 1fr); grid-template-rows: 1fr auto; gap: .8rem 1.1rem; }
.network-avatar { grid-row: 1 / span 2; width: 80px; height: 80px; display: grid; place-items: center; overflow: hidden; border: 1px solid var(--line-strong); border-radius: 14px; background: linear-gradient(145deg, rgba(22,58,95,.2), transparent); color: var(--brass); font: 700 .78rem/1 var(--display); }
.network-avatar img { width: 100%; height: 100%; object-fit: cover; }
.network-card__body { min-width: 0; }
.network-card__meta { display: flex; justify-content: space-between; gap: 1rem; color: var(--brass); font: 700 .48rem/1.3 var(--system); letter-spacing: .05em; }
.network-card__meta a { flex: 0 0 auto; color: var(--ivory); text-decoration: none; text-transform: none; }
.network-card small { display: block; color: var(--steel); font: .5rem/1.3 var(--system); letter-spacing: .05em; }
.network-card h3 { margin: .25rem 0 .2rem; font: 400 1.35rem/1.1 var(--narrative); }
.network-card p { margin: 0; color: var(--muted-ivory); font-size: .82rem; }
.network-card .network-role { color: var(--ivory); }
.network-company { margin-top: .2rem; }
.network-secondary { margin-top: .3rem; }
.network-card .network-summary { margin-top: .7rem; color: var(--steel); line-height: 1.45; }
.network-card button { grid-column: 2; padding: .7rem 0 0; border: 0; border-top: 1px solid var(--line); background: transparent; display: flex; justify-content: space-between; color: var(--ivory); cursor: pointer; text-align: left; font: 700 .56rem/1 var(--system); letter-spacing: .06em; text-transform: uppercase; }
.network-card button:hover,
.network-card button:focus-visible { color: var(--brass); outline: 0; }
.badge-group { display: flex; flex-wrap: wrap; gap: .35rem; }
.badge-group--contributions { margin-top: .75rem; }
.badge-group--capabilities { margin-top: .55rem; }
.badge { display: inline-flex; align-items: center; min-height: 24px; padding: .3rem .45rem; font: 700 .46rem/1.2 var(--system); letter-spacing: .035em; }
.badge--contribution { border: 1px solid rgba(169,133,79,.58); background: rgba(169,133,79,.11); color: var(--ivory); }
.badge--capability { border-bottom: 1px solid var(--line-strong); color: var(--steel); }

.evidence-dialog {
  width: min(1080px, calc(100vw - 2rem));
  max-height: min(88dvh, 900px);
  padding: 0;
  border: 1px solid var(--line-strong);
  background: var(--graphite);
  color: var(--ivory);
  box-shadow: 0 28px 100px rgba(0,0,0,.62);
}
.evidence-dialog::backdrop { background: rgba(0,0,0,.72); backdrop-filter: blur(8px); }
.dialog-shell { max-height: min(88dvh, 900px); overflow: auto; overscroll-behavior: contain; }
.dialog-head {
  position: sticky;
  top: 0;
  z-index: 5;
  padding: 1rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  border-bottom: 1px solid var(--line);
  background: rgba(16,18,20,.96);
  backdrop-filter: blur(16px);
}
.dialog-head small { color: var(--steel); font: .54rem/1 var(--system); letter-spacing: .08em; }
.dialog-head h2 { margin: .25rem 0 0; font: 400 clamp(1.5rem, 3vw, 2.6rem)/1 var(--narrative); }
.dialog-head button { width: 44px; height: 44px; border: 1px solid var(--line); background: transparent; color: var(--ivory); cursor: pointer; font-size: 1.6rem; }
.dialog-head button:hover,
.dialog-head button:focus-visible { background: var(--surface-strong); outline: 0; }
.detail-grid { padding: 1.25rem; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; background: var(--line); }
.project-detail__media { grid-column: 1 / -1; margin: 0; padding: 0; overflow: hidden; background: #0b0d10; }
.project-detail__media img { display: block; width: 100%; max-height: min(52vh, 560px); object-fit: contain; object-position: center; }
.project-detail__media--crop { min-height: 300px; padding: 1.5rem; display: flex; align-items: center; justify-content: center; background: radial-gradient(circle at center, rgba(255,255,255,.1), transparent 52%), #0b0d10; }
.project-detail__media--crop .product-visual-crop { width: min(280px, 68vw); height: auto; aspect-ratio: 1; border: 1px solid var(--line-strong); border-radius: 22px; box-shadow: 0 22px 60px rgba(0,0,0,.35); }
.project-detail__gallery { grid-column: 1 / -1; padding: 1px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; background: var(--line); }
.project-detail__gallery figure { margin: 0; min-width: 0; background: var(--graphite); }
.project-detail__gallery img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: contain; background: #e9eef6; }
.project-detail__gallery figcaption { padding: .7rem .8rem; color: var(--steel); font: 700 .52rem/1.35 var(--system); letter-spacing: .07em; text-transform: uppercase; }
.detail-grid article { min-height: 150px; padding: 1.2rem; background: var(--graphite); }
.detail-grid span,
.reference-detail small { color: var(--brass); font: 700 .54rem/1 var(--system); letter-spacing: .08em; text-transform: uppercase; }
.detail-grid p { margin: .65rem 0 0; color: var(--muted-ivory); }
.reference-detail { padding: 1.25rem; display: grid; gap: 1px; background: var(--line); }
.reference-detail > * { padding: 1.2rem; margin: 0; background: var(--graphite); }
.reference-person { display: flex; align-items: center; gap: 1.25rem; }
.network-avatar--dialog { grid-row: auto; flex: 0 0 auto; width: 140px; height: 140px; border-radius: 18px; font-size: 1rem; }
.reference-identity { display: grid; gap: .25rem; }
.reference-identity h3 { margin: 0 0 .35rem; font: 400 clamp(1.65rem, 3vw, 2.5rem)/1.05 var(--narrative); }
.reference-identity strong { font: 400 1.3rem/1.2 var(--narrative); }
.reference-identity span { color: var(--steel); font-size: .85rem; }
.reference-identity small { color: var(--steel); font: .53rem/1.4 var(--system); }
.reference-detail section p { margin: .6rem 0 0; color: var(--muted-ivory); }
.reference-detail blockquote { color: var(--ivory); border-left: 2px solid var(--brass); }
.reference-detail blockquote p { margin: .7rem 0 0; font: 400 clamp(1.35rem, 2.6vw, 2.2rem)/1.3 var(--narrative); }
.reference-provenance { display: flex; justify-content: space-between; gap: 1rem; align-items: center; color: var(--steel); font: .57rem/1.4 var(--system); }
.reference-provenance a { color: var(--brass); text-decoration: none; }

.case-list { padding: 1.25rem; display: grid; gap: 1rem; }
.case-card { border: 1px solid var(--line); background: var(--graphite); }
.case-card__head { padding: 1.1rem; display: grid; grid-template-columns: auto 1fr; gap: 1rem; border-bottom: 1px solid var(--line); }
.case-card__head > span { color: var(--brass); font: 700 .6rem/1 var(--system); }
.case-card__head small { color: var(--steel); font: .53rem/1 var(--system); letter-spacing: .07em; }
.case-card__head h3 { margin: .25rem 0 0; font: 400 1.5rem/1.15 var(--narrative); }
.case-card__fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; background: var(--line); }
.case-card__fields > div { padding: 1rem; background: var(--graphite); }
.case-card__fields span { color: var(--brass); font: 700 .52rem/1 var(--system); letter-spacing: .07em; text-transform: uppercase; }
.case-card__fields p { margin: .55rem 0 0; color: var(--muted-ivory); font-size: .9rem; }
.case-card__fields > div:last-child { grid-column: 1 / -1; }
.credential-grid { padding: 1.25rem; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; background: var(--line); }
.credential-card { min-height: 150px; padding: 1.2rem; background: var(--graphite); }
.credential-card.is-primary { background: linear-gradient(135deg, rgba(169,133,79,.1), transparent 70%), var(--graphite); }
.credential-card small { color: var(--brass); font: 700 .52rem/1 var(--system); letter-spacing: .07em; }
.credential-card h3 { margin: .65rem 0 .35rem; font: 400 1.35rem/1.15 var(--narrative); }
.credential-card p { margin: 0; color: var(--steel); font-size: .84rem; }

.carousel-controls { padding: .75rem 1.25rem; display: flex; justify-content: flex-end; align-items: center; gap: .75rem; border-bottom: 1px solid var(--line); }
.carousel-controls button { width: 40px; height: 40px; border: 1px solid var(--line); background: transparent; color: var(--ivory); cursor: pointer; }
.carousel-controls span { min-width: 70px; text-align: center; color: var(--steel); font: .58rem/1 var(--system); }
.vessel-track { display: flex; gap: 1rem; padding: 1.25rem; overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-inline: contain; scrollbar-width: thin; }
.vessel-card { flex: 0 0 min(780px, calc(100vw - 5rem)); scroll-snap-align: start; scroll-snap-stop: always; display: grid; grid-template-columns: 38% 62%; border: 1px solid var(--line); background: var(--graphite); }
.vessel-card__visual { min-height: 390px; padding: 1rem; background: linear-gradient(145deg, rgba(22,58,95,.3), rgba(11,13,16,.95)); background-size: cover; background-position: center; display: flex; flex-direction: column; justify-content: space-between; }
.vessel-card__number { color: rgba(241,238,232,.45); font: 700 .68rem/1 var(--system); }
.vessel-card__visual > div { display: grid; gap: .3rem; }
.vessel-card__visual small { color: var(--steel); font: .54rem/1 var(--system); letter-spacing: .06em; }
.vessel-card__visual strong { font: 700 .65rem/1 var(--system); }
.vessel-card__visual a,
.vessel-card__visual span:not(.vessel-card__number) { color: var(--steel); font: .5rem/1.4 var(--system); text-decoration: none; }
.vessel-card__body { min-width: 0; padding: 1.2rem; }
.vessel-card__top { display: flex; justify-content: space-between; gap: 1rem; }
.vessel-card__top h3 { margin: 0; font: 400 clamp(1.5rem, 2.6vw, 2.2rem)/1.1 var(--narrative); }
.vessel-card__top p { margin: .3rem 0 0; color: var(--steel); font-size: .8rem; }
.vessel-card__top > span { align-self: start; color: var(--brass); font: .5rem/1 var(--system); }
.vessel-card__service { margin-top: 1.2rem; padding: .8rem 0; border-block: 1px solid var(--line); display: grid; gap: .25rem; }
.vessel-card__service small { color: var(--steel); font: .5rem/1 var(--system); }
.vessel-card__service strong { font-size: 1rem; }
.vessel-card__service span { color: var(--steel); font-size: .78rem; }
.vessel-card__body dl { margin: 1rem 0 0; display: grid; grid-template-columns: 1fr 1fr; }
.vessel-spec { padding: .65rem 0; border-bottom: 1px solid var(--line); }
.vessel-spec:nth-child(odd) { padding-right: 1rem; }
.vessel-spec dt { color: var(--steel); font: .5rem/1 var(--system); text-transform: uppercase; }
.vessel-spec dd { margin: .35rem 0 0; font-size: .82rem; }
.vessel-note { color: var(--steel); font-size: .72rem; }
.vessel-index { padding: 0 1.25rem 1.25rem; display: flex; gap: .35rem; overflow-x: auto; }
.vessel-index button { flex: 0 0 auto; min-height: 42px; padding: .55rem .7rem; border: 1px solid var(--line); background: transparent; color: var(--steel); cursor: pointer; }
.vessel-index button span { margin-right: .4rem; color: var(--brass); font: .5rem/1 var(--system); }
.vessel-index button b { font: 700 .52rem/1 var(--system); }
.vessel-index button.is-current { color: var(--ivory); border-color: var(--line-strong); }


.transcript {
  max-width: var(--max);
  margin: 0 auto;
  border-inline: 1px solid var(--line);
  border-top: 1px solid var(--line);
}
.transcript summary { min-height: 54px; padding: 0 var(--gutter); display: grid; grid-template-columns: 1fr auto auto; gap: 1rem; align-items: center; cursor: pointer; list-style: none; }
.transcript summary::-webkit-details-marker { display: none; }
.transcript summary span { font: 700 .58rem/1 var(--system); letter-spacing: .08em; }
.transcript summary small { color: var(--steel); font: .55rem/1 var(--system); }
.transcript summary b { color: var(--brass); }
.transcript-body { padding: 1.25rem var(--gutter) 2rem; border-top: 1px solid var(--line); max-width: 850px; color: var(--muted-ivory); }
.closing { max-width: var(--max); margin: 0 auto; padding: 2rem var(--gutter) 2.5rem; border: 1px solid var(--line); display: flex; justify-content: space-between; align-items: flex-end; gap: 2rem; }
.closing p { margin: 0; font: 700 clamp(1.3rem, 2.5vw, 2.2rem)/1.08 var(--display); }
.closing span { color: var(--steel); font: .54rem/1.4 var(--system); text-align: right; }

@media (max-width: 1000px) {
  .maritime-grid { grid-template-columns: 1fr; }
  .slim-block { min-height: auto; }
  .career-compact { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 1rem; }
  .panel-heading--split { grid-template-columns: 1fr; align-items: start; }
  .product-filters, .secondary-tabs { justify-content: flex-start; }
}

@media (max-width: 860px) {
  :root { --header-h: 68px; }
  .proof-rail { grid-template-columns: repeat(2, 1fr); }
  .proof-item:nth-child(2) { border-right: 0; }
  .proof-item:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .primary-tabs { overflow-x: auto; display: flex; scroll-snap-type: x proximity; }
  .primary-tabs button { flex: 0 0 auto; min-width: 170px; scroll-snap-align: start; }
  .profile-grid, .project-grid--slim, .network-grid { grid-template-columns: 1fr; }
  .profile-actions { grid-template-columns: repeat(2, 1fr); }
  .profile-actions .action-link:nth-child(2n) { border-right: 0; }
  .profile-actions .action-link:nth-child(-n + 2) { border-bottom: 1px solid var(--line); }
  .career-compact { grid-template-columns: 1fr; }
  .vessel-card { grid-template-columns: 1fr; flex-basis: min(680px, calc(100vw - 4rem)); }
  .vessel-card__visual { min-height: 260px; }
}

@media (max-width: 720px) {
  .film__brand { padding-block: 1rem; }
  .film__stage { align-items: center; min-height: 66vh; padding-bottom: 2rem; }
  .film h1 { font-size: clamp(2.25rem, 11vw, 4rem); max-width: 13ch; }
  .film__quote { display: none; }
  .film__controlbar { display: grid; grid-template-columns: 1fr; }
  .film-control { justify-content: center; padding: 0 .4rem; }
  .film-control--skip { grid-column: 1 / -1; margin-left: 0; border-top: 1px solid var(--line); border-left: 0; justify-content: space-between; padding-inline: var(--gutter); }
  .dossier-header__identity small { display: none; }
  .header-contact { font-size: .56rem; }
  .tab-panel { padding-top: 2.5rem; min-height: 0; }
  .panel-heading h2 { font-size: clamp(2rem, 10vw, 3.4rem); }
  .profile-pillar ul { grid-template-columns: 1fr; }
  .domain-cloud { grid-template-columns: 1fr; }
  .domain-cloud span { border-right: 0; }
  .case-card__fields, .credential-grid, .detail-grid, .project-detail__gallery { grid-template-columns: 1fr; }
  .project-card--slim { grid-template-columns: 56px minmax(0, 1fr); }
  .project-card__visual { width: 56px; height: 56px; }
  .reference-person { align-items: flex-start; }
  .network-avatar--dialog { width: 120px; height: 120px; }
  .case-card__fields > div:last-child { grid-column: auto; }
  .closing { flex-direction: column; align-items: flex-start; }
  .closing span { text-align: left; }
}

@media (max-width: 480px) {
  .proof-item { min-height: 98px; padding: .95rem; }
  .proof-item strong { font-size: 1.35rem; }
  .proof-item small { display: none; }
  .primary-tabs button { min-width: 145px; }
  .profile-actions { grid-template-columns: 1fr; }
  .profile-actions .action-link { border-right: 0; border-bottom: 1px solid var(--line); }
  .action-link:last-child { border-bottom: 0; }
  .network-card { grid-template-columns: 64px minmax(0, 1fr); }
  .network-avatar { width: 64px; height: 64px; }
  .network-avatar--dialog { width: 120px; height: 120px; }
  .reference-person { flex-direction: column; }
  .project-card--slim { grid-template-columns: 52px minmax(0, 1fr); padding: 1.05rem; gap: .85rem; }
  .project-card__visual { width: 52px; height: 52px; }
  .evidence-dialog { width: calc(100vw - .75rem); max-height: 94dvh; }
  .dialog-shell { max-height: 94dvh; }
  .vessel-card { flex-basis: calc(100vw - 2.6rem); }
  .vessel-card__body dl { grid-template-columns: 1fr; }
  .vessel-spec:nth-child(odd) { padding-right: 0; }
}

@media (max-width: 360px) {
  :root { --gutter: .8rem; }
  .dossier-header__identity strong { font-size: .57rem; }
  .header-contact { font-size: .51rem; }
  .primary-tabs button { min-width: 132px; font-size: .54rem; }
  .film-control { font-size: .56rem; }
  .panel-heading h2 { font-size: 2rem; }
}

@media (orientation: landscape) and (max-height: 520px) {
  .film { min-height: 100dvh; }
  .film__brand { padding-block: .7rem; }
  .film__stage { min-height: 52vh; padding: .5rem 0 1rem; }
  .film h1 { font-size: clamp(2rem, 5.8vw, 3.4rem); max-width: 17ch; }
  .film__hint { display: none; }
  .film-control { min-height: 48px; }
}

@media (pointer: coarse) {
  .primary-tabs button,
  .film-control,
  .action-link,
  .evidence-actions button,
  .network-card button { min-height: 48px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
}

@media (prefers-reduced-transparency: reduce) {
  .dossier-header, .primary-tabs, .film__controlbar, .dialog-head { backdrop-filter: none; background: var(--graphite); }
}

@media (forced-colors: active) {
  * { forced-color-adjust: auto; }
  .primary-tabs button.is-active { outline: 2px solid Highlight; box-shadow: none; }
  .network-avatar, .mini-mark, .film__brand-mark { border-color: CanvasText; }
}
