/* Incident report page (/sv-magic-bus/) only. Loaded after site.css, everything scoped to
   body.report so no other page changes. Palette and fonts are the brand set from site.css;
   --signal is the one added accent, used only for hazard and distress moments. */

body.report {
  --signal: #c2532e;
  --signal-soft: #fbeee8;
  --ink-2: #16262f;
  --ink-3: #213540;
  --hdr: 62px;
  --gap: clamp(1.25rem, 3vw, 2.25rem);
  --radius: 10px;
  --shadow: 0 1px 2px rgba(15, 28, 36, .06), 0 8px 24px -12px rgba(15, 28, 36, .18);
  font-size: 18px;
  line-height: 1.7;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

@media (max-width: 640px) {
  body.report { font-size: 16.5px; line-height: 1.65; }
}

.report .wrap { max-width: 1180px; padding-left: clamp(1rem, 4vw, 2rem); padding-right: clamp(1rem, 4vw, 2rem); }
.report .site-header .wrap { max-width: 1400px; }

html:has(body.report) { scroll-behavior: smooth; scroll-padding-top: calc(var(--hdr, 62px) + 64px); }
.report [id] { scroll-margin-top: calc(var(--hdr) + 64px); }
@media (prefers-reduced-motion: reduce) {
  html:has(body.report) { scroll-behavior: auto; }
}

.report a:focus-visible,
.report button:focus-visible { outline: 3px solid var(--sea-light); outline-offset: 3px; border-radius: 3px; }

/* ---------- header progress ---------- */

.report .site-header { position: sticky; }
.report .read-progress { position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: transparent; pointer-events: none; }
.report .read-progress span { display: block; height: 100%; background: linear-gradient(90deg, var(--sea), #5fb3bf); transform: scaleX(0); transform-origin: 0 50%; }

/* ---------- hero ---------- */

.report .report-hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(120% 90% at 85% 10%, rgba(14, 107, 122, .38), transparent 60%),
    linear-gradient(180deg, var(--ink) 0%, #0b161d 100%);
  color: #fff;
  padding: clamp(3rem, 8vw, 6.5rem) 0 clamp(3rem, 7vw, 5.5rem);
}
.report .hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}
.report .report-hero .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .7rem;
  color: var(--sea-light);
  font-size: .76rem;
  letter-spacing: .26em;
  margin: 0 0 1.4rem;
}
.report .report-hero .eyebrow::before { content: ""; width: 2.25rem; height: 1px; background: currentColor; opacity: .7; }
.report .report-hero h1 {
  font-size: clamp(2.4rem, 6.4vw, 5rem);
  line-height: .95;
  white-space: nowrap;
  letter-spacing: .04em;
  margin: 0 0 1.1rem;
  max-width: none;
}
.report .hero-sub {
  font-size: clamp(1.15rem, 2.4vw, 1.5rem);
  color: rgba(255, 255, 255, .78);
  margin: 0 0 2.5rem;
  font-family: var(--font-display);
  letter-spacing: .01em;
}
.report .report-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid rgba(255, 255, 255, .18);
  max-width: 34rem;
}
.report .report-facts li {
  padding: 1.1rem 1rem 0 0;
  font-family: var(--font-display);
  font-size: clamp(.9rem, 1.6vw, 1.05rem);
  letter-spacing: .02em;
  text-transform: none;
  color: #fff;
  line-height: 1.3;
}
.report .report-facts li + li { padding-left: 1rem; border-left: 1px solid rgba(255, 255, 255, .18); }
.report .report-facts li:last-child { color: #8fd3dc; }
.report .hero-media { margin: 0; position: relative; }
.report .hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: var(--radius);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .12);
  pointer-events: none;
}
.report .hero-media img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: 50% 60%;
  border-radius: var(--radius);
  box-shadow: 0 30px 60px -25px rgba(0, 0, 0, .7);
}

@media (max-width: 820px) {
  .report .hero-grid { grid-template-columns: 1fr; }
  .report .hero-media { order: -1; }
  .report .hero-media img { aspect-ratio: 16 / 10; object-position: 50% 62%; }
  .report .hero-sub { margin-bottom: 1.75rem; }
}

/* ---------- section bar ---------- */

.report .toc {
  position: sticky;
  top: var(--hdr);
  z-index: 30;
  background: rgba(244, 241, 234, .94);
  -webkit-backdrop-filter: saturate(1.4) blur(10px);
  backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--rule);
  padding: 0;
}
.report .toc .wrap { display: flex; align-items: center; gap: 1.5rem; }
.report .toc .eyebrow {
  flex: none;
  margin: 0;
  font-family: var(--font-sans);
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .2em;
  color: var(--ink-soft);
}
.report .toc ul {
  display: flex;
  flex-wrap: nowrap;
  flex: 1 1 auto;
  min-width: 0;
  gap: .1rem;
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  padding: .55rem 0;
  margin: 0;
  mask-image: linear-gradient(90deg, #000 92%, transparent);
  -webkit-mask-image: linear-gradient(90deg, #000 92%, transparent);
}
.report .toc ul::-webkit-scrollbar { display: none; }
.report .toc a {
  display: block;
  white-space: nowrap;
  padding: .45rem .75rem;
  border-radius: 999px;
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .1em;
  color: var(--ink-soft);
  transition: background-color .2s, color .2s;
}
.report .toc a:hover { background: rgba(14, 107, 122, .1); color: var(--sea-deep); }
.report .toc a[aria-current] { background: var(--sea-deep); color: #fff; }
@media (max-width: 1100px) {
  .report .toc .eyebrow { display: none; }
}
@media (min-width: 1101px) {
  .report .toc ul { mask-image: none; -webkit-mask-image: none; }
}

/* ---------- sections ---------- */

.report .section { padding: clamp(4rem, 9vw, 7rem) 0; }
.report .section + .section { border-top: 0; }
.report .section.dark { background: var(--ink); color: rgba(255, 255, 255, .86); }
.report .section.dark h2,
.report .section.dark h3 { color: #fff; }

.report .sec-head {
  display: flex;
  align-items: baseline;
  gap: 1rem;
  margin: 0 0 clamp(2rem, 4.5vw, 3.25rem);
  padding-bottom: 1.1rem;
  border-bottom: 1px solid var(--rule);
}
.report .dark .sec-head { border-bottom-color: rgba(255, 255, 255, .14); }
.report .sec-num {
  font-family: var(--font-display);
  font-size: .9rem;
  font-weight: 700;
  letter-spacing: .12em;
  color: var(--sea);
  font-variant-numeric: tabular-nums;
}
.report .dark .sec-num { color: #6cc1cc; }
.report .section h2,
.report .sec-head h2 {
  font-size: clamp(1.75rem, 4vw, 2.7rem);
  line-height: 1.1;
  letter-spacing: -.005em;
  margin: 0;
}
.report .section h3 { line-height: 1.25; }
.report .section p { margin: 0 0 1.15rem; }

.report .prose { max-width: 66ch; }
.report .prose > :last-child { margin-bottom: 0; }
.report .lead { font-size: clamp(1.15rem, 2vw, 1.32rem); line-height: 1.6; color: var(--ink); }

/* ---------- overview ---------- */

.report .overview-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}
.report .record-card {
  background: var(--sand);
  border-radius: var(--radius);
  padding: 1.5rem 1.6rem;
  font-size: .95rem;
  line-height: 1.6;
  color: var(--ink-soft);
  position: relative;
}
.report .record-card::before {
  content: "Debrief record";
  display: block;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--sea-deep);
  margin-bottom: .8rem;
}
.report .record-card p:last-child { margin-bottom: 0; }

.report .hull-figure { margin: clamp(2.75rem, 6vw, 4.5rem) 0; }
.report .hull-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 2fr) minmax(0, 1fr);
  gap: .75rem;
  grid-template-rows: minmax(0, 1fr);
  height: clamp(300px, 42vw, 500px);
}
.report .hull-grid a { min-height: 0; overflow: hidden; border-radius: 6px; }
.report .hull-grid a,
.report .hull-grid img { height: 100%; width: 100%; }
.report .hull-grid img { object-fit: cover; border-radius: 6px; }
.report .hull-grid a:first-child img { object-position: 50% 78%; }
.report .hull-figure figcaption {
  margin-top: .85rem;
  padding-top: 0;
  font-size: .82rem;
  letter-spacing: .06em;
  color: var(--ink-soft);
}
.report .hull-figure figcaption::before { content: ""; display: inline-block; width: 1.5rem; height: 1px; background: var(--sea); vertical-align: middle; margin-right: .6rem; }
@media (max-width: 640px) {
  .report .hull-grid { grid-template-columns: 1fr 1fr; grid-template-rows: 200px 240px; height: auto; gap: .5rem; }
  .report .hull-grid a:nth-child(2) { grid-column: 1 / -1; grid-row: 1; }
}

.report .overview-grid.lower { align-items: start; }

.report .hazard {
  background: var(--ink);
  color: rgba(255, 255, 255, .86);
  border-radius: var(--radius);
  padding: 1.6rem 1.6rem 1.4rem;
  border-top: 4px solid var(--signal);
  box-shadow: var(--shadow);
  font-size: .95rem;
  line-height: 1.6;
}
.report .hazard h3 {
  margin: 0 0 1rem;
  color: #fff;
  font-size: .78rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  display: flex;
  gap: .6rem;
  align-items: flex-start;
}
.report .hazard h3::before {
  content: "!";
  flex: none;
  display: inline-grid;
  place-items: center;
  width: 1.35rem;
  height: 1.35rem;
  margin-top: -.15rem;
  border-radius: 50%;
  background: var(--signal);
  color: #fff;
  font-size: .8rem;
  letter-spacing: 0;
}
.report .hazard p { margin: 0 0 .9rem; }
.report .hazard-when { font-size: .85rem; color: rgba(255, 255, 255, .7); }
.report .hazard-when strong { font-weight: 600; }
.report .hazard-quote { font-style: italic; color: #fff; }
.report .hazard-pos {
  font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  font-size: .8rem;
  background: rgba(255, 255, 255, .07);
  border-radius: 6px;
  padding: .55rem .75rem;
}
.report .hazard-note { margin-bottom: 0 !important; color: #f4b9a4; }

@media (max-width: 900px) {
  .report .overview-grid { grid-template-columns: 1fr; }
}

/* ---------- timeline ---------- */

.report .timeline {
  position: relative;
  max-width: 820px;
  margin: 0 auto;
  padding: 0 0 0 2.4rem;
  border-left: 0;
}
.report .timeline::before {
  content: "";
  position: absolute;
  left: 9px;
  top: .6rem;
  bottom: .6rem;
  width: 2px;
  background: linear-gradient(180deg, var(--sea-light), #b9d9de 55%, rgba(194, 83, 46, .45) 75%, rgba(194, 83, 46, .7));
}
.report .timeline .entry {
  position: relative;
  background: #fff;
  border-radius: var(--radius);
  padding: 1.35rem 1.5rem 1.2rem;
  margin: 0 0 1.1rem;
  box-shadow: var(--shadow);
}
.report .timeline .entry::before {
  content: "";
  position: absolute;
  left: calc(-2.4rem + 3px);
  top: 1.6rem;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--sand);
  border: 3px solid var(--sea);
}
.report .timeline .entry.warn::before { border-color: #d98a3d; }
.report .timeline .entry.critical { box-shadow: inset 4px 0 0 var(--signal), var(--shadow); }
.report .timeline .entry.critical::before { background: var(--signal); border-color: var(--signal); box-shadow: 0 0 0 5px rgba(194, 83, 46, .18); }

.report .timeline .entry h3 {
  font-size: 1.2rem;
  margin: 0 0 .5rem;
  padding-right: 9rem;
}
.report .timeline .stamp {
  position: absolute;
  top: 1.45rem;
  right: 1.5rem;
  margin: 0;
  max-width: 8.5rem;
  text-align: right;
  font-size: .7rem;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--sea-deep);
  font-variant-numeric: tabular-nums;
}
.report .timeline .critical .stamp { color: var(--signal); }
.report .timeline .event {
  font-weight: 700;
  font-size: 1rem;
  color: var(--ink);
  margin: 0 0 .35rem;
}
.report .timeline .entry > p:last-child,
.report .timeline .entry > ul:last-child { margin-bottom: 0; }
.report .timeline ul { padding-left: 0; list-style: none; margin: 0 0 1rem; }
.report .timeline ul li { position: relative; padding-left: 1.4rem; margin-bottom: .4rem; }
.report .timeline ul li::before { content: ""; position: absolute; left: .2rem; top: .7em; width: 6px; height: 6px; border-radius: 50%; background: var(--sea); }
.report .timeline h4 {
  font-family: var(--font-display);
  font-size: 1rem;
  margin: 1.4rem 0 .4rem;
  padding-top: 1.1rem;
  border-top: 1px dashed var(--rule);
}
.report .assessment {
  background: var(--sea-light);
  border-radius: 8px;
  padding: .9rem 1.1rem;
  margin-top: 1rem;
}
.report .assessment h4 { margin: 0 0 .25rem; padding: 0; border: 0; font-size: .74rem; letter-spacing: .16em; text-transform: uppercase; color: var(--sea-deep); }
.report .assessment p { margin: 0; font-size: .97rem; }

.report .timeline .steps { list-style: none; margin: .25rem 0 0; padding: 0; }
.report .timeline .steps li { padding: .9rem 0 0; margin: .9rem 0 0; border-top: 1px dashed var(--rule); }
.report .timeline .steps li:first-child { border-top: 0; margin-top: 0; padding-top: .1rem; }
.report .timeline .steps p:last-child { margin-bottom: 0; }
.report .t {
  display: inline-block;
  font-variant-numeric: tabular-nums;
  font-size: .78rem;
  letter-spacing: .06em;
  font-weight: 700;
  color: #fff;
  background: var(--signal);
  border-radius: 4px;
  padding: .12rem .45rem;
  margin-right: .5rem;
  vertical-align: .1em;
}

/* the Critical Night heading becomes a full-width marker on the line */
.report .timeline .entry.divider {
  background: var(--ink);
  color: #fff;
  padding: 1.15rem 1.5rem;
  margin: 2.25rem 0 1.4rem;
  box-shadow: none;
}
.report .timeline .entry.divider::before { background: var(--ink); border-color: var(--signal); width: 18px; height: 18px; left: calc(-2.4rem + 1px); top: 50%; transform: translateY(-50%); }
.report .timeline .entry.divider h3 {
  margin: 0;
  padding: 0;
  color: #fff;
  font-size: .95rem;
  letter-spacing: .2em;
  text-transform: uppercase;
}

@media (max-width: 640px) {
  .report .timeline { padding-left: 1.75rem; }
  .report .timeline::before { left: 5px; }
  .report .timeline .entry { padding: 1.15rem 1.15rem 1rem; }
  .report .timeline .entry::before { left: calc(-1.75rem - 1px); top: 1.4rem; }
  .report .timeline .entry.divider::before { left: calc(-1.75rem - 3px); }
  .report .timeline .entry h3 { padding-right: 0; margin-top: .35rem; }
  .report .timeline .stamp { position: static; max-width: none; text-align: left; order: -1; }
  .report .timeline .entry { display: flex; flex-direction: column; }
  .report .timeline .entry > * { width: 100%; }
}

/* ---------- rescue ---------- */

.report .rescue-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: start;
}
.report .rescue-log { list-style: none; margin: 0; padding: 0; position: relative; }
.report .rescue-log li {
  display: grid;
  grid-template-columns: 5.25rem minmax(0, 1fr);
  gap: 1.25rem;
  position: relative;
  padding: 0 0 1.9rem;
}
.report .rescue-log li::before {
  content: "";
  position: absolute;
  left: 6.12rem;
  top: .55rem;
  bottom: -.55rem;
  width: 1px;
  background: rgba(255, 255, 255, .16);
}
.report .rescue-log li:last-child::before { display: none; }
.report .rescue-log li > div { position: relative; padding-left: 1.25rem; }
.report .rescue-log li > div::before {
  content: "";
  position: absolute;
  left: -.38rem;
  top: .48rem;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--ink);
  border: 2px solid #6cc1cc;
}
.report .rescue-log li.milestone > div::before { background: #6cc1cc; box-shadow: 0 0 0 5px rgba(108, 193, 204, .2); }
.report .rescue-log .t {
  background: none;
  color: #8fd3dc;
  font-family: var(--font-display);
  font-size: 1.15rem;
  letter-spacing: .02em;
  padding: 0;
  margin: 0;
  text-align: right;
  line-height: 1.4;
}
.report .rescue-log h3 { margin: 0 0 .25rem; font-size: 1.1rem; }
.report .rescue-log p { margin: 0; color: rgba(255, 255, 255, .74); font-size: .97rem; }
.report .rescue-media {
  position: sticky;
  top: calc(var(--hdr) + 80px);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .75rem;
}
.report .rescue-media a:first-child { grid-column: 1 / -1; }
.report .rescue-media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 6px; }
.report .rescue-media a:first-child img { aspect-ratio: 16 / 9; }

@media (max-width: 900px) {
  .report .rescue-grid { grid-template-columns: 1fr; }
  .report .rescue-media { position: static; }
}
@media (max-width: 480px) {
  .report .rescue-log li { grid-template-columns: 4.1rem minmax(0, 1fr); gap: .9rem; }
  .report .rescue-log li::before { left: 4.87rem; }
  .report .rescue-log .t { font-size: 1rem; }
  .report .rescue-log li > div { padding-left: 1rem; }
}

/* ---------- lessons ---------- */

.report .pull {
  max-width: 52rem;
  margin: 0 0 clamp(2.5rem, 5vw, 3.5rem);
  padding: 0 0 0 1.75rem;
  border-left: 3px solid var(--sea);
  font-style: normal;
  color: var(--ink);
}
.report .pull p {
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 2.2vw, 1.45rem);
  line-height: 1.55;
  margin: 0;
}
.report .lessons {
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: lesson;
  columns: 2;
  column-gap: 1.1rem;
}
.report .lessons > li { margin: 0 0 1.1rem; counter-increment: lesson; break-inside: avoid; }
.report .lesson {
  position: relative;
  display: grid;
  grid-template-columns: 3.4rem minmax(0, 1fr);
  margin: 0;
  background: #fff;
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  padding: 1.5rem 1.6rem 1.4rem 1.3rem;
  transition: border-color .2s, box-shadow .2s, transform .2s;
}
.report .lesson > * { grid-column: 2; }
@media (max-width: 860px) {
  .report .lessons { columns: 1; }
}
@media (max-width: 480px) {
  .report .lesson { grid-template-columns: 1fr; padding: 1.25rem; }
  .report .lesson > * { grid-column: 1; }
  .report .lesson::before { margin-bottom: .6rem; }
}
.report .lesson:hover { border-color: #b9d9de; box-shadow: var(--shadow); transform: translateY(-2px); }
.report .lesson::before {
  content: counter(lesson, decimal-leading-zero);
  grid-column: 1;
  grid-row: 1 / span 2;
  display: block;
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 700;
  line-height: 1;
  color: var(--sea-light);
  -webkit-text-stroke: 1px var(--sea);
  font-variant-numeric: tabular-nums;
}
.report .lesson h3 { font-size: 1.12rem; line-height: 1.3; margin: 0 0 .55rem; }
.report .lesson p { font-size: .96rem; line-height: 1.65; color: var(--ink-soft); }
.report .lesson p strong { color: var(--ink); }
@media (prefers-reduced-motion: reduce) { .report .lesson { transition: none; } .report .lesson:hover { transform: none; } }

/* ---------- crew ---------- */

.report .bios {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.1rem;
}
.report .bio {
  display: grid;
  grid-template-columns: 84px minmax(0, 1fr);
  grid-template-areas: "img head" "text text";
  column-gap: 1.1rem;
  row-gap: 1rem;
  align-items: center;
  align-content: start;
  background: #fff;
  border: 0;
  border-radius: var(--radius);
  padding: 1.5rem;
  margin: 0;
  box-shadow: var(--shadow);
}
.report .bio img {
  grid-area: img;
  width: 84px;
  height: 84px;
  object-fit: cover;
  border-radius: 50%;
  box-shadow: 0 0 0 3px #fff, 0 0 0 4px var(--rule);
}
.report .bio img.pos-top { object-position: 50% 15%; }
.report .bio img.pos-evan { object-position: 68% 40%; }
.report .bio-head { grid-area: head; }
.report .bio h3 { margin: 0 0 .15rem; font-size: 1.2rem; }
.report .bio .stamp {
  margin: 0;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--sea);
}
.report .bio-text { grid-area: text; margin: 0 !important; font-size: .95rem; line-height: 1.65; color: var(--ink-soft); }
.report .bio.featured {
  grid-column: 1 / -1;
  grid-template-columns: 132px minmax(0, 1fr);
  grid-template-areas: "img head" "img text";
  align-items: start;
  row-gap: .6rem;
  background: var(--ink);
  color: #fff;
  padding: clamp(1.5rem, 3vw, 2.25rem);
}
.report .bio.featured img { width: 132px; height: 132px; box-shadow: 0 0 0 3px var(--ink), 0 0 0 4px rgba(255, 255, 255, .25); }
.report .bio.featured h3 { color: #fff; font-size: 1.45rem; }
.report .bio.featured .stamp { color: #8fd3dc; }
.report .bio.featured .bio-text { color: rgba(255, 255, 255, .8); font-size: 1rem; max-width: 84ch; }
@media (max-width: 900px) {
  .report .bios { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .report .bio.featured { grid-template-columns: 84px minmax(0, 1fr); grid-template-areas: "img head" "text text"; align-items: center; row-gap: 1rem; }
  .report .bio.featured img { width: 84px; height: 84px; }
  .report .bio { padding: 1.25rem; }
}

/* ---------- media ---------- */

.report .media-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
  gap: 1.25rem;
  margin-bottom: clamp(2.5rem, 5vw, 3.5rem);
}
.report .media-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  overflow: hidden;
  transition: box-shadow .2s, transform .2s;
}
.report .media-card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.report .media-card .thumb { position: relative; aspect-ratio: 16 / 9; background: var(--ink); overflow: hidden; }
.report .media-card .thumb img { width: 100%; height: 100%; object-fit: cover; opacity: .9; transition: transform .4s, opacity .2s; }
.report .media-card:hover .thumb img { transform: scale(1.04); opacity: 1; }
.report .media-card .play {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 58px;
  height: 58px;
  margin: -29px 0 0 -29px;
  border-radius: 50%;
  background: rgba(15, 28, 36, .72);
  box-shadow: 0 0 0 2px rgba(255, 255, 255, .85);
}
.report .media-card .play::after {
  content: "";
  position: absolute;
  left: 23px;
  top: 18px;
  border-style: solid;
  border-width: 11px 0 11px 17px;
  border-color: transparent transparent transparent #fff;
}
.report .media-body { padding: 1.25rem 1.35rem 1.35rem; display: flex; flex-direction: column; flex: 1; }
.report .media-body h3 { margin: 0 0 .4rem; font-size: 1.1rem; }
.report .media-body p { font-size: .95rem; color: var(--ink-soft); margin: 0 0 1rem; }
.report .media-link {
  margin-top: auto;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--sea);
}
/* the whole card is the click target */
.report .media-link::after { content: ""; position: absolute; inset: 0; }
.report .media-card:hover .media-link { color: var(--sea-deep); }
@media (prefers-reduced-motion: reduce) {
  .report .media-card, .report .media-card .thumb img { transition: none; }
  .report .media-card:hover, .report .media-card:hover .thumb img { transform: none; }
}

.report .press {
  max-width: 860px;
  margin: 0 auto;
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  overflow: hidden;
  background: #fff;
  box-shadow: var(--shadow);
}
.report .press-head {
  background: var(--ink);
  padding: 1rem 1.6rem;
  border-bottom: 3px solid var(--sea);
}
.report .press-head h3 { margin: 0; color: #fff; font-size: .8rem; letter-spacing: .18em; text-transform: uppercase; }
.report .press-body { padding: 1.6rem 1.6rem .6rem; font-family: Georgia, "Times New Roman", serif; font-size: 1.04rem; line-height: 1.7; }

/* ---------- vessel details ---------- */

.report .specs-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 1.1rem;
  align-items: start;
}
.report .specs-side { display: grid; gap: 1.1rem; }
.report .panel {
  background: #fff;
  border-radius: var(--radius);
  padding: 1.5rem 1.6rem;
  box-shadow: var(--shadow);
}
.report .panel h3 {
  margin: 0 0 1rem;
  font-size: .76rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--sea-deep);
}
.report .panel p { font-size: .95rem; color: var(--ink-soft); }
.report table.specs { margin: 0; font-size: .95rem; }
.report table.specs th,
.report table.specs td { padding: .95rem 0; border-bottom: 1px solid var(--rule); line-height: 1.55; }
.report table.specs tr:last-child th,
.report table.specs tr:last-child td { border-bottom: 0; }
.report table.specs th { width: 32%; padding-right: 1.25rem; font-family: var(--font-display); font-weight: 700; color: var(--ink); }
.report table.specs td { color: var(--ink-soft); }
.report .doc-link {
  display: flex;
  align-items: center;
  gap: .9rem;
  padding: .85rem 1rem;
  border: 1px solid var(--rule);
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: .95rem;
  line-height: 1.35;
  transition: border-color .2s, background-color .2s;
}
.report .doc-link:hover { border-color: var(--sea); background: #f3f9fa; }
.report .doc-icon {
  flex: none;
  display: grid;
  place-items: center;
  width: 2.5rem;
  height: 2.9rem;
  border-radius: 4px;
  background: var(--signal);
  color: #fff;
  font-size: .62rem;
  font-weight: 800;
  letter-spacing: .08em;
}
.report .checklist { list-style: none; margin: 0; padding: 0; }
.report .checklist li {
  position: relative;
  padding: .55rem 0 .55rem 2rem;
  margin: 0;
  font-size: .95rem;
  border-bottom: 1px solid #efebe3;
}
.report .checklist li:last-child { border-bottom: 0; }
.report .checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .78rem;
  width: 1.15rem;
  height: 1.15rem;
  border-radius: 50%;
  background: var(--sea-light);
}
.report .checklist li::after {
  content: "";
  position: absolute;
  left: .4rem;
  top: .98rem;
  width: .32rem;
  height: .58rem;
  border: solid var(--sea-deep);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}
@media (max-width: 900px) {
  .report .specs-grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .report table.specs th,
  .report table.specs td { display: block; width: 100%; padding: 0; border: 0; }
  .report table.specs th { padding-top: 1rem; margin-bottom: .2rem; }
  .report table.specs td { padding-bottom: 1rem; border-bottom: 1px solid var(--rule); }
  .report table.specs tr:last-child td { border-bottom: 0; }
  .report .panel { padding: 1.25rem; }
}

/* ---------- photographic log ---------- */

.report .photo-log { columns: 4 240px; column-gap: .75rem; }
.report .photo-log a {
  display: block;
  break-inside: avoid;
  margin: 0 0 .75rem;
  border-radius: 6px;
  overflow: hidden;
  background: var(--ink-2);
}
.report .photo-log img { width: 100%; transition: transform .5s, opacity .3s; opacity: .92; }
.report .photo-log a:hover img { transform: scale(1.03); opacity: 1; }
/* the two full-height phone screenshots would dominate the log, so trim them */
.report .photo-log a:nth-child(1) img,
.report .photo-log a:nth-child(3) img { aspect-ratio: 3 / 4; object-fit: cover; }
.report .photo-log a:nth-child(1) img { object-position: 50% 80%; }
.report a.lb { cursor: zoom-in; display: block; }
@media (max-width: 520px) {
  .report .photo-log { columns: 2; column-gap: .5rem; }
  .report .photo-log a { margin-bottom: .5rem; }
}
@media (prefers-reduced-motion: reduce) {
  .report .photo-log img { transition: none; }
  .report .photo-log a:hover img { transform: none; }
}

/* ---------- colophon and responses ---------- */

.report .colophon { text-align: center; padding: clamp(3.5rem, 7vw, 5rem) 0; }
.report .colophon h2 {
  font-size: .82rem;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--ink);
  margin: 0 0 .8rem;
}
.report .colophon h2::before {
  content: "";
  display: block;
  width: 3rem;
  height: 2px;
  margin: 0 auto 1.4rem;
  background: var(--sea);
}
.report .colophon p { margin: 0 0 .35rem; color: var(--ink-soft); font-size: .95rem; }
.report .colophon .route { font-size: .74rem; letter-spacing: .18em; text-transform: uppercase; color: var(--sea-deep); margin-top: .6rem; }

.report .responses { padding-top: clamp(3.5rem, 7vw, 5rem); }
.report .responses h2 { font-size: clamp(1.35rem, 3vw, 1.75rem); margin: 0 0 1.5rem; }
.report .response-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
  gap: 1.1rem;
  align-items: start;
}
.report .response-grid blockquote {
  margin: 0;
  background: #fff;
  border: 0;
  border-radius: var(--radius);
  padding: 1.5rem 1.6rem 1.3rem;
  font-style: normal;
  color: var(--ink);
  box-shadow: var(--shadow);
  position: relative;
}
.report .response-grid blockquote::before {
  content: "\201C";
  position: absolute;
  top: .4rem;
  right: 1.1rem;
  font-family: Georgia, serif;
  font-size: 3.5rem;
  line-height: 1;
  color: var(--sea-light);
}
.report .response-grid blockquote p { margin: 0 0 1rem; font-size: .98rem; line-height: 1.65; padding-right: 1.5rem; }
.report .response-grid cite { font-size: .8rem; letter-spacing: .04em; color: var(--ink-soft); padding-top: 0; }
@media (max-width: 760px) {
  .report .response-grid { grid-template-columns: 1fr; }
}

/* ---------- back to top ---------- */

.report .to-top {
  position: fixed;
  right: clamp(1rem, 3vw, 1.75rem);
  bottom: clamp(1rem, 3vw, 1.75rem);
  z-index: 35;
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
  text-decoration: none;
  font-size: 1.1rem;
  box-shadow: 0 8px 20px -6px rgba(0, 0, 0, .45);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity .25s, transform .25s, visibility .25s, background-color .2s;
}
.report .to-top.show { opacity: 1; visibility: visible; transform: none; }
.report .to-top:hover { background: var(--sea-deep); color: #fff; }

/* ---------- photo viewer ---------- */

.report .lightbox {
  width: 100vw;
  height: 100vh;
  max-width: 100vw;
  max-height: 100vh;
  margin: 0;
  padding: 0;
  border: 0;
  background: rgba(8, 15, 20, .94);
  color: #fff;
}
.report .lightbox[open] { display: grid; place-items: center; }
.report .lightbox::backdrop { background: rgba(8, 15, 20, .6); }
.report .lightbox img {
  max-width: min(92vw, 1400px);
  max-height: 84vh;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 4px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, .5);
}
.report .lightbox button {
  position: absolute;
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .2);
  color: #fff;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: background-color .2s;
}
.report .lightbox button:hover { background: rgba(255, 255, 255, .2); }
.report .lb-close { top: 1rem; right: 1rem; }
.report .lb-prev { left: 1rem; top: 50%; transform: translateY(-50%); }
.report .lb-next { right: 1rem; top: 50%; transform: translateY(-50%); }
.report .lightbox.single .lb-prev,
.report .lightbox.single .lb-next,
.report .lightbox.single .lb-count { display: none; }
.report .lb-count {
  position: absolute;
  bottom: 1rem;
  left: 0;
  right: 0;
  text-align: center;
  margin: 0;
  font-size: .78rem;
  letter-spacing: .16em;
  color: rgba(255, 255, 255, .7);
  font-variant-numeric: tabular-nums;
}
@media (max-width: 640px) {
  .report .lb-prev, .report .lb-next { top: auto; bottom: .75rem; transform: none; }
  .report .lightbox img { max-height: 76vh; }
}

/* ---------- print ---------- */

@media print {
  body.report { font-size: 11pt; color: #000; }
  .report .site-header, .report .toc, .report .site-footer, .report .to-top, .report .lightbox,
  .report .photo-log, .report #gallery, .report .media-card .thumb, .report .rescue-media { display: none !important; }
  .report .report-hero, .report .section.dark, .report .hazard, .report .bio.featured, .report .press-head, .report .timeline .entry.divider {
    background: #fff !important; color: #000 !important; box-shadow: none !important;
  }
  .report .report-hero *, .report .section.dark *, .report .hazard *, .report .bio.featured *, .report .press-head *, .report .entry.divider * { color: #000 !important; }
  .report .hero-media { display: none; }
  .report .hero-grid, .report .overview-grid, .report .rescue-grid, .report .specs-grid, .report .response-grid, .report .bios { display: block; }
  .report .section { padding: 1.25rem 0; }
  .report .entry, .report .lesson, .report .bio, .report .panel, .report .media-card { box-shadow: none !important; border: 1px solid #ccc; break-inside: avoid; margin-bottom: .6rem; }
  .report .lessons { display: block; }
  .report .lessons > li { display: block; margin-bottom: .5rem; }
  .report .hull-grid { height: 220px; }
}
