:root {
  --ink: #10202a;
  --muted: #5b6b73;
  --paper: #fffdf7;
  --soft: #f2f7f5;
  --bay: #0d4e68;
  --deep: #06202d;
  --eucalypt: #477c64;
  --sand: #e8c36f;
  --coral: #df6b4f;
  --sky: #d9eef2;
  --line: rgba(16, 32, 42, .16);
  --white: #ffffff;
  --shadow: 0 20px 48px rgba(6, 32, 45, .16);
  --radius: 8px;
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  font-family: "Atkinson Hyperlegible", Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  color: inherit;
}

img {
  display: block;
  max-width: 100%;
}

.skip-link {
  position: absolute;
  top: -100px;
  left: 1rem;
  z-index: 30;
  background: var(--deep);
  color: var(--white);
  padding: .75rem 1rem;
  border-radius: var(--radius);
}

.skip-link:focus {
  top: 1rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 253, 247, .92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

.nav {
  min-height: 76px;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: .85rem;
  text-decoration: none;
  min-width: 230px;
}

.brand-mark {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--bay), var(--eucalypt));
  color: var(--white);
  font-family: "Nunito Sans", Arial, sans-serif;
  font-weight: 900;
  font-size: .8rem;
  box-shadow: 0 10px 28px rgba(13, 78, 104, .22);
}

.brand-text {
  display: grid;
  gap: .02rem;
}

.brand-text strong,
h1,
h2,
h3,
.nav-links a,
.button,
.section-label {
  font-family: "Nunito Sans", Arial, sans-serif;
}

.brand-text strong {
  color: var(--deep);
  text-transform: uppercase;
  font-size: .98rem;
}

.brand-text span {
  color: var(--muted);
  font-size: .78rem;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: .2rem;
  flex-wrap: wrap;
}

.nav-links a {
  text-decoration: none;
  text-transform: uppercase;
  font-size: .7rem;
  font-weight: 900;
  padding: .62rem .64rem;
  border-radius: var(--radius);
  border: 1px solid transparent;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  border-color: var(--line);
  background: var(--soft);
  color: var(--bay);
}

.nav-toggle {
  display: none;
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--ink);
  border-radius: var(--radius);
  padding: .65rem .85rem;
  font-weight: 900;
}

.hero {
  position: relative;
  min-height: min(780px, calc(100vh - 76px));
  display: flex;
  align-items: center;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  z-index: 1;
  width: min(940px, 64vw);
  background: linear-gradient(90deg, rgba(6, 32, 45, .9) 0%, rgba(6, 32, 45, .78) 48%, rgba(6, 32, 45, .42) 76%, rgba(6, 32, 45, 0) 100%);
  pointer-events: none;
}

.hero-media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-shade {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(90deg, rgba(6, 32, 45, .34) 0%, rgba(6, 32, 45, .18) 50%, rgba(6, 32, 45, .08) 100%);
}

.hero-copy {
  position: relative;
  z-index: 2;
  width: min(720px, calc(100% - 2rem));
  margin-left: clamp(1.25rem, 4vw, 4.75rem);
  padding: 5rem 0 7rem;
  color: var(--white);
}

.hero-copy h1 {
  margin: 0 0 1.4rem;
  max-width: 780px;
  font-size: clamp(3.1rem, 7vw, 7.8rem);
  line-height: .9;
  text-transform: uppercase;
  font-weight: 900;
}

.hero-copy h1 span {
  display: block;
}

.hero-lede,
.lede {
  font-size: clamp(1.04rem, 1.7vw, 1.28rem);
  color: inherit;
  max-width: 680px;
  margin: 0;
}

.hero-lede {
  color: rgba(255, 255, 255, .93);
  margin-bottom: 2rem;
}

.hero-actions,
.builder-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
}

.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius);
  border: 1px solid currentColor;
  padding: .78rem 1rem;
  text-decoration: none;
  font-weight: 900;
  text-transform: uppercase;
  font-size: .78rem;
  cursor: pointer;
}

.button.primary {
  color: #12211f;
  border-color: #d2a94f;
  background: linear-gradient(135deg, var(--sand), #f4d78c);
}

.button.secondary {
  color: inherit;
  border-color: rgba(255, 255, 255, .56);
  background: rgba(255, 255, 255, .1);
}

main .button.secondary,
.builder-actions .button.secondary {
  border-color: var(--line);
  background: var(--white);
}

.hero .button.secondary {
  color: var(--white);
  border-color: rgba(255, 255, 255, .64);
  background: rgba(255, 255, 255, .12);
}

.notice-band {
  display: flex;
  gap: 1rem;
  align-items: center;
  padding: 1.05rem max(1.25rem, calc((100vw - 1180px) / 2));
  background: var(--deep);
  color: var(--white);
}

.notice-band strong {
  color: var(--sand);
  white-space: nowrap;
}

.notice-band span {
  min-width: 0;
  max-width: 100%;
  overflow-wrap: anywhere;
}

.section,
.page-hero {
  max-width: 1180px;
  margin: 0 auto;
  padding: 5.2rem 1.25rem;
}

.page-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, .9fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}

.media-hero {
  max-width: 1380px;
  grid-template-columns: minmax(320px, .82fr) minmax(560px, 1.18fr);
}

.compact-hero {
  grid-template-columns: 1fr;
  padding-bottom: 3rem;
}

.visual-hero {
  position: relative;
  max-width: none;
  min-height: min(760px, calc(100vh - 76px));
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  overflow: hidden;
  background: var(--deep);
  border-bottom: 1px solid var(--line);
}

.visual-hero::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  z-index: 1;
  width: min(1040px, 64vw);
  background: linear-gradient(90deg, rgba(6, 32, 45, .97) 0%, rgba(6, 32, 45, .91) 48%, rgba(6, 32, 45, .62) 76%, rgba(6, 32, 45, 0) 100%);
  pointer-events: none;
}

.visual-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(6, 32, 45, .08) 0%, rgba(6, 32, 45, .22) 58%, rgba(6, 32, 45, .42) 100%),
    linear-gradient(90deg, rgba(6, 32, 45, .44) 0%, rgba(6, 32, 45, .22) 48%, rgba(6, 32, 45, .08) 100%);
  pointer-events: none;
}

.visual-hero > div {
  grid-area: 1 / 1;
  z-index: 2;
  align-self: center;
  width: min(560px, 48vw, calc(100% - 2.5rem));
  margin-left: clamp(1.25rem, 4vw, 4.75rem);
  padding: clamp(4.5rem, 8vw, 7rem) 0;
  color: var(--white);
}

.visual-hero .section-label {
  color: var(--sand);
}

.visual-hero h1 {
  color: var(--white);
  max-width: 11ch;
  font-size: clamp(2.3rem, 4.25vw, 4.55rem);
  text-shadow: 0 2px 24px rgba(0, 0, 0, .38);
}

.visual-hero .lede {
  max-width: 520px;
  color: rgba(255, 255, 255, .92);
  text-shadow: 0 2px 18px rgba(0, 0, 0, .36);
}

.visual-hero .image-card {
  grid-area: 1 / 1;
  width: 100%;
  height: 100%;
  margin: 0;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  background: var(--deep);
}

.visual-hero .image-card img {
  width: 100%;
  height: 100%;
  min-height: min(760px, calc(100vh - 76px));
  aspect-ratio: auto;
  object-fit: cover;
}

body[data-page="l1"] .visual-hero .image-card img,
body[data-page="network"] .visual-hero .image-card img,
body[data-page="sources"] .visual-hero .image-card img,
body[data-page="architecture"] .visual-hero .image-card img {
  object-position: center center;
}

.visual-hero .image-card figcaption {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.page-hero h1,
.section-heading h2,
.wide-copy h2 {
  margin: .3rem 0 1rem;
  font-size: clamp(2.25rem, 5vw, 5.2rem);
  line-height: .95;
  font-weight: 900;
  color: var(--deep);
}

.page-hero .lede {
  color: #33454c;
}

.page-hero.visual-hero h1 {
  color: var(--white);
}

.page-hero.visual-hero .lede {
  color: rgba(255, 255, 255, .92);
}

.section-heading {
  max-width: 820px;
  margin-bottom: 2rem;
}

.section-heading p,
.wide-copy p {
  color: var(--muted);
  font-size: 1.05rem;
}

.section-label {
  display: inline-block;
  color: var(--coral);
  text-transform: uppercase;
  font-weight: 900;
  font-size: .78rem;
}

.door-grid,
.feature-grid,
.info-grid,
.question-grid,
.source-grid,
.boundary-grid {
  display: grid;
  gap: 1rem;
}

.door-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.feature-grid.three,
.question-grid,
.source-grid,
.boundary-grid,
.info-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.door-card,
.feature-card,
.info-grid article,
.question-grid article,
.source-grid article,
.boundary-grid article,
.metric-grid article,
.scene-list article {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 10px 32px rgba(6, 32, 45, .08);
}

.door-card,
.info-grid article,
.question-grid article,
.source-grid article,
.boundary-grid article {
  padding: 1.25rem;
  text-decoration: none;
}

.door-card span {
  color: var(--coral);
  font-weight: 900;
}

.door-card h3,
.feature-card h3,
.info-grid h3,
.question-grid h3,
.source-grid h3,
.boundary-grid h3 {
  margin: .35rem 0 .45rem;
  font-size: 1.18rem;
  line-height: 1.15;
  color: var(--deep);
}

.door-card p,
.feature-card p,
.info-grid p,
.question-grid p,
.source-grid p,
.boundary-grid p,
.scene-list p {
  color: var(--muted);
  margin: 0;
}

.door-card:hover,
.source-grid article:hover,
.feature-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.feature-card {
  overflow: hidden;
}

.feature-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.feature-card h3,
.feature-card p,
.feature-card a {
  margin-left: 1.1rem;
  margin-right: 1.1rem;
}

.feature-card h3 {
  margin-top: 1rem;
}

.feature-card a,
.source-grid a,
.info-grid a {
  display: inline-block;
  margin-top: .8rem;
  color: var(--bay);
  font-weight: 900;
}

.feature-card a {
  margin-bottom: 1.1rem;
}

.accent-band {
  max-width: none;
  background: linear-gradient(135deg, #e9f4f1, #fff7df);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.accent-band > * {
  max-width: 1180px;
  margin-left: auto;
  margin-right: auto;
}

.wide-copy {
  max-width: 850px;
  margin-bottom: 2rem;
}

.method-grid,
.metric-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.method-grid article,
.metric-grid article {
  padding: 1.2rem;
}

.method-grid strong,
.metric-grid strong {
  display: block;
  color: var(--deep);
  font-family: "Nunito Sans", Arial, sans-serif;
  font-size: 1.05rem;
  line-height: 1.15;
  margin-bottom: .5rem;
}

.method-grid span,
.metric-grid span {
  color: var(--muted);
}

.image-card {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--white);
  box-shadow: var(--shadow);
}

.image-card img {
  width: 100%;
  aspect-ratio: 16 / 11;
  object-fit: cover;
}

.full-image-card img {
  aspect-ratio: auto;
  height: auto;
  object-fit: contain;
}

.image-card figcaption {
  padding: .85rem 1rem;
  color: var(--muted);
  font-size: .92rem;
}

.scale-stack,
.timeline,
.scene-list,
.source-list {
  display: grid;
  gap: 1rem;
}

.scale-row,
.timeline article,
.source-list article {
  display: grid;
  gap: 1.25rem;
  border-top: 1px solid var(--line);
  padding-top: 1.5rem;
}

.scale-row,
.timeline article {
  grid-template-columns: 90px minmax(0, 1fr);
}

.source-list article {
  grid-template-columns: minmax(300px, .42fr) minmax(0, 1fr);
  align-items: start;
}

.source-list strong {
  display: block;
  min-width: 0;
  overflow-wrap: anywhere;
}

.source-list span {
  min-width: 0;
}

.scale-row span,
.timeline span {
  width: 62px;
  height: 62px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--bay);
  color: var(--white);
  font-family: "Nunito Sans", Arial, sans-serif;
  font-weight: 900;
}

.scale-row h2,
.timeline h3 {
  margin: 0 0 .4rem;
  color: var(--deep);
}

.scale-row p,
.timeline p {
  margin: 0;
  color: var(--muted);
}

.scene-list {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.scene-list article {
  padding: 1.2rem;
}

.scene-list span {
  display: block;
  color: var(--coral);
  font-weight: 900;
  margin-bottom: .35rem;
}

.ferry-hero > div {
  width: min(680px, 54vw, calc(100% - 2.5rem));
}

.ferry-hero h1 {
  max-width: 13ch;
  font-size: clamp(2.2rem, 4vw, 4.35rem);
}

.prompt-example,
.song-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 10px 32px rgba(6, 32, 45, .08);
  padding: 1.25rem;
}

.prompt-example {
  margin-bottom: 1rem;
}

.prompt-example h3 {
  margin: 0 0 .6rem;
  color: var(--deep);
}

.prompt-example p {
  margin: 0;
  color: var(--ink);
  font-size: 1.05rem;
}

.song-card {
  max-width: 1180px;
  margin-left: auto;
  margin-right: auto;
}

.song-card p {
  margin: 0 0 .75rem;
  color: var(--deep);
  font-family: "Nunito Sans", Arial, sans-serif;
  font-size: clamp(1.65rem, 3.5vw, 3rem);
  font-weight: 900;
  line-height: 1;
}

.song-card span {
  display: block;
  color: var(--muted);
  font-size: 1.05rem;
}

.compact-grid {
  margin-top: 1rem;
}

.builder-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, .85fr);
  gap: 1.5rem;
  align-items: start;
}

.builder-form,
.output-panel {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 12px 34px rgba(6, 32, 45, .1);
}

.builder-form {
  padding: 1rem;
}

.dynamic-fields {
  display: grid;
  gap: 1rem;
}

fieldset > .dynamic-fields {
  gap: .85rem;
}

.builder-note {
  display: grid;
  gap: .3rem;
  margin-bottom: 1rem;
  padding: 1rem;
  border: 1px solid rgba(13, 78, 104, .18);
  border-left: 5px solid var(--bay);
  border-radius: var(--radius);
  background: #f7fbfa;
}

.builder-note strong {
  color: var(--deep);
  font-family: "Nunito Sans", Arial, sans-serif;
  font-size: 1.05rem;
}

.builder-note span,
.field-guidance,
.field-help,
.output-hint {
  color: var(--muted);
}

fieldset {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  margin: 0 0 1rem;
  padding: 1rem;
}

.prompt-step {
  margin-bottom: 0;
}

legend {
  padding: 0 .35rem;
  font-family: "Nunito Sans", Arial, sans-serif;
  font-weight: 900;
  color: var(--deep);
}

label {
  display: grid;
  gap: .35rem;
  margin-bottom: .9rem;
  font-weight: 700;
  color: var(--deep);
}

label:last-child {
  margin-bottom: 0;
}

.field-guidance {
  margin: 0 0 1rem;
  font-size: .94rem;
}

.field-help {
  font-weight: 400;
  font-size: .88rem;
  line-height: 1.4;
}

input,
select,
textarea {
  width: 100%;
  font: inherit;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: .75rem;
  color: var(--ink);
  background: #fffefa;
}

textarea {
  min-height: 112px;
  resize: vertical;
}

.output-panel {
  position: sticky;
  top: 96px;
  padding: 1rem;
}

.output-panel h2 {
  margin: 0 0 .8rem;
  font-size: 1.2rem;
}

.output-hint {
  margin: -.35rem 0 .85rem;
  font-size: .92rem;
}

.output-panel textarea {
  min-height: 360px;
  max-height: 62vh;
  font-family: Consolas, "Liberation Mono", monospace;
  font-size: .9rem;
  line-height: 1.5;
}

.status-line {
  min-height: 1.4rem;
  color: var(--bay);
  font-weight: 700;
}

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

table {
  width: 100%;
  border-collapse: collapse;
}

th,
td {
  text-align: left;
  vertical-align: top;
  padding: 1rem;
  border-bottom: 1px solid var(--line);
}

th {
  color: var(--deep);
  font-family: "Nunito Sans", Arial, sans-serif;
}

td {
  color: var(--muted);
}

.sequence-wrap {
  max-width: 1180px;
  margin: 0 auto 4rem;
  padding: 0 1.25rem;
}

.sequence-nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.sequence-nav a {
  display: grid;
  gap: .2rem;
  text-decoration: none;
  background: var(--deep);
  color: var(--white);
  border-radius: var(--radius);
  padding: 1rem;
}

.sequence-nav a:last-child {
  background: var(--bay);
}

.sequence-nav span {
  color: rgba(255, 255, 255, .72);
  text-transform: uppercase;
  font-size: .75rem;
  font-weight: 900;
}

.sequence-nav strong {
  font-family: "Nunito Sans", Arial, sans-serif;
  font-size: 1.1rem;
}

.site-footer {
  background: var(--deep);
  color: var(--white);
}

.footer-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 2rem 1.25rem;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1rem;
  align-items: center;
}

.footer-inner p {
  margin: 0;
  color: rgba(255, 255, 255, .76);
}

.footer-links {
  display: flex;
  gap: .85rem;
  flex-wrap: wrap;
}

.footer-links a {
  color: var(--white);
  text-decoration: none;
  font-weight: 900;
}

.to-top {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 25;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .7);
  background: var(--coral);
  color: var(--white);
  font-family: "Nunito Sans", Arial, sans-serif;
  font-weight: 900;
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s ease, transform .2s ease;
  cursor: pointer;
}

.to-top.visible {
  opacity: 1;
  pointer-events: auto;
}

.to-top:hover {
  transform: translateY(-2px);
}

@media (max-width: 940px) {
  .nav {
    align-items: flex-start;
    padding-top: .8rem;
    padding-bottom: .8rem;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .nav-links {
    display: none;
    position: absolute;
    left: 1rem;
    right: 1rem;
    top: 70px;
    padding: .8rem;
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
  }

  .nav-links.open {
    display: grid;
  }

  .nav-links a {
    width: 100%;
  }

  .page-hero,
  .builder-section {
    grid-template-columns: 1fr;
  }

  .visual-hero {
    padding: 0;
  }

  .output-panel {
    position: static;
  }

  .door-grid,
  .feature-grid.three,
  .question-grid,
  .source-grid,
  .boundary-grid,
  .info-grid,
  .method-grid,
  .metric-grid,
  .scene-list {
    grid-template-columns: 1fr;
  }

  .notice-band,
  .footer-inner {
    grid-template-columns: 1fr;
    display: grid;
  }
}

@media (max-width: 640px) {
  .nav {
    gap: .5rem;
    padding-left: .75rem;
    padding-right: .75rem;
  }

  .brand {
    min-width: 0;
    gap: .6rem;
  }

  .brand-text strong {
    max-width: 180px;
    font-size: .86rem;
    line-height: 1.05;
    white-space: normal;
  }

  .brand-text span {
    display: none;
  }

  .nav-toggle {
    padding: .55rem .65rem;
    font-size: .76rem;
  }

  .hero {
    min-height: 720px;
  }

  .hero-shade {
    background: linear-gradient(180deg, rgba(6, 32, 45, .9) 0%, rgba(6, 32, 45, .74) 58%, rgba(6, 32, 45, .4) 100%);
  }

  .hero::before,
  .visual-hero::before {
    width: 100%;
    background: linear-gradient(180deg, rgba(6, 32, 45, .18) 0%, rgba(6, 32, 45, .42) 38%, rgba(6, 32, 45, .78) 100%);
  }

  .hero-copy {
    padding-top: 4rem;
    width: calc(100% - 2rem);
  }

  .hero-copy h1 {
    max-width: 100%;
    font-size: clamp(2.4rem, 12.5vw, 3.35rem);
    line-height: .95;
  }

  .hero-lede {
    max-width: 32ch;
    font-size: .98rem;
    line-height: 1.45;
  }

  .hero-actions .button {
    width: 100%;
  }

  .section,
  .page-hero {
    padding-top: 3.5rem;
    padding-bottom: 3.5rem;
  }

  .visual-hero {
    min-height: 640px;
    padding: 0;
  }

  .visual-hero::after {
    background: linear-gradient(180deg, rgba(6, 32, 45, .16) 0%, rgba(6, 32, 45, .72) 52%, rgba(6, 32, 45, .92) 100%);
  }

  .visual-hero > div {
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 17rem 1rem 4rem;
  }

  .ferry-hero > div {
    width: 100%;
  }

  .ferry-hero h1 {
    max-width: 100%;
  }

  .visual-hero .lede {
    max-width: min(34ch, 100%);
    font-size: .98rem;
    line-height: 1.45;
    overflow-wrap: normal;
    word-break: normal;
  }

  .visual-hero .image-card img {
    min-height: 640px;
  }

  .notice-band {
    max-width: 100vw;
    overflow: hidden;
    align-items: start;
  }

  .notice-band span {
    width: 100%;
    display: block;
    overflow-wrap: break-word;
  }

  .scale-row,
  .timeline article,
  .source-list article {
    grid-template-columns: 1fr;
  }

  .sequence-nav {
    grid-template-columns: 1fr;
  }
}
