.planning-index {
  border-top: 1px solid var(--line);
  padding-block: clamp(2.75rem, 5.5vw, 5rem);
}
.planning-index-grid, .planning-intro {
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
  gap: clamp(1.5rem, 6vw, 6rem);
  align-items: start;
}
.planning-index h2, .planning-page h1, .planning-section h2, .cabin-questions h3 {
  margin: 0;
  font: 400 clamp(2.65rem, 4vw, 4.15rem)/1.06 var(--serif);
  letter-spacing: -.025em;
}
.planning-index-grid > div > p, .planning-list p, .planning-section p,
.planning-sources p, .cabin-questions p, .fare-checks dd {
  color: var(--muted);
  line-height: 1.65;
  max-width: 65ch;
}
.planning-index-grid > div > p { margin: .85rem 0; }
.planning-list { list-style: none; margin: 0; padding: 0; }
.planning-list li { padding: .8rem 0 1.05rem; border-top: 1px solid var(--line); }
.planning-list li:last-child { border-bottom: 1px solid var(--line); }
.planning-list a { display: inline-flex; align-items: center; min-height: 44px; font-size: 1.13rem; color: var(--pine); font-weight: 650; text-underline-offset: .2em; }
.planning-list p { margin: .05rem 0 0; }
.planning-page { padding-block: clamp(2rem, 4.5vw, 4.75rem); max-width: 69rem; }
.planning-intro { align-items: center; grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr); margin: 0 0 2rem; }
.planning-page h1 { font-size: clamp(3.15rem, 5.65vw, 5.3rem); text-wrap: balance; }
.planning-intro p { margin: 1rem 0 0; max-width: 60ch; font-size: clamp(1.06rem, 1.4vw, 1.21rem); line-height: 1.6; }
.port-photos { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .7rem; }
.port-photos figure { margin: 0; }
.port-photos img { display: block; width: 100%; height: auto; aspect-ratio: 1 / 1.2; object-fit: cover; }
.port-photos figcaption { margin: .4rem 0 0; color: var(--muted); font-size: .875rem; }
.planning-map { margin: 0; max-width: 28rem; }
.planning-index .planning-map { margin-top: 1.45rem; max-width: 23rem; }
.planning-map img { display: block; width: 100%; height: auto; }
.planning-map figcaption { display: flex; flex-wrap: wrap; gap: .25rem 1.1rem; padding-top: .55rem; color: var(--muted); font-size: .875rem; }
.planning-map small { flex-basis: 100%; font-size: inherit; }
.map-key { display: inline-flex; align-items: center; gap: .4rem; }
.map-key::before { content: ""; width: 1.35rem; border-top: 3px solid var(--pine); }
.quantum-key::before { border-top: 3px dashed #924724; }
.first-trip-intro .planning-links { margin-top: 1.3rem; }
.route-week { border-top: 1px solid var(--line); padding-block: clamp(1.65rem, 3vw, 2.75rem); }
.route-week h2 { margin: 0; font: 400 clamp(2.15rem, 4vw, 3.7rem)/1.08 var(--serif); }
.route-week > p { max-width: 64ch; color: var(--muted); }
.week-table { width: 100%; table-layout: fixed; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.week-table th, .week-table td { padding: .8rem clamp(.4rem, 1.65vw, 1.45rem); text-align: left; overflow-wrap: anywhere; }
.week-table thead { background: var(--pine); color: white; }
.week-table thead th { vertical-align: bottom; font-weight: 650; }
.week-table thead th:first-child { width: 10%; }
.week-table td, .week-table tbody th { border-bottom: 1px solid var(--line); vertical-align: top; }
.week-table tbody th { color: var(--muted); }
.week-table span { display: block; margin-top: .22rem; font-size: .94rem; font-weight: 400; }
.week-table .different-port { background: #e6eee6; }
.week-table .different-port strong { font-weight: 650; }
.week-table + .planning-links { margin-top: .65rem; }
.pier-info { margin: 0; padding: 1.25rem 1.5rem; border-left: .2rem solid var(--pine); background: #edf1ea; }
.pier-info dt { color: var(--muted); font-size: .94rem; }
.pier-info dd { margin: .2rem 0 0; font-weight: 600; }
.pier-info dd + dt { margin-top: .9rem; }
.planning-section { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); column-gap: clamp(1.5rem,5vw,4.5rem); border-top: 1px solid var(--line); padding-block: clamp(1.6rem,3vw,2.6rem); }
.planning-section h2 { grid-column: 1; grid-row: 1 / span 5; font-size: clamp(2rem,3.1vw,3.1rem); }
.planning-section > :not(h2) { grid-column: 2; }
.planning-section > p { margin: 0; }
.planning-section p + p, .planning-section .planning-links { margin-top: .8rem; }
.planning-links { display: flex; align-items: center; flex-wrap: wrap; gap: .5rem 1.25rem; }
.planning-links a:not(.button) { display: inline-flex; align-items: center; min-height: 44px; color: var(--pine); font-weight: 600; }
.planning-sources { margin-block: 1rem; border-top: 1px solid var(--line); padding-top: .6rem; color: var(--muted); }
.planning-sources summary { padding-block: .7rem; color: var(--pine); font-weight: 600; }
.planning-sources ul { margin: .4rem 0; padding-inline-start: 1.2rem; }
.planning-sources li { padding-block: .3rem; }
.planning-sources p { margin: .4rem 0; }
.cabin-questions h3 { font-size: clamp(1.7rem,2.6vw,2.35rem); }
.cabin-questions h3:not(:first-child) { margin-top: 1.6rem; }
.cabin-questions p { margin: .55rem 0; }
.fare-checks { margin: 1.2rem 0; max-width: 68ch; }
.fare-checks dt { margin: 1rem 0 .2rem; font-weight: 650; }
.fare-checks dd { margin: 0; }
@media (max-width: 46em) {
  .week-table thead th:first-child { width: 16%; }
  .planning-index-grid, .planning-intro, .planning-section { grid-template-columns: minmax(0, 1fr); }
  .planning-section h2, .planning-section > :not(h2) { grid-column: auto; grid-row: auto; }
  .planning-section h2 { margin-bottom: .8rem; }
  .port-photos img { aspect-ratio: 1.55; }
}
