.migrated-page {
  --paper: #f4f0e7;
  --quiet: #525158;
  --rule: #d8d0c2;
}
.page-heading, .production-copy, .production-archive {
  max-width: 88rem;
  margin-inline: auto;
  padding-inline: var(--edge);
}
.page-heading { padding-block: clamp(30px, 4.6vw, 76px); }
.page-heading h1 {
  max-width: 22ch;
  margin-top: 12px;
  font-size: clamp(44px, 6.1vw, 92px);
  overflow-wrap: anywhere;
  text-wrap: balance;
}
.page-crumbs {
  display: inline-flex;
  gap: 9px;
  align-items: center;
  min-height: 44px;
  font-size: 15px;
}
.page-crumbs:hover { text-decoration: underline; text-underline-offset: .2em; }
.content-band { background: var(--paper, #f4f0e7); }
.production-copy {
  --copy-width: 74ch;
  max-width: 82rem;
  padding-block: clamp(32px, 6vw, 88px);
  font-size: clamp(16px, 1.22vw, 19px);
  line-height: 1.62;
  overflow-wrap: anywhere;
}
.production-copy > :first-child { margin-top: 0; }
.production-copy h2, .production-copy h3, .production-copy h4 {
  margin-block: 1.35em .35em;
  max-width: 26ch;
  text-wrap: balance;
}
.production-copy h2 { font-size: clamp(34px, 4.2vw, 66px); }
.production-copy h3 { font-size: clamp(28px, 3vw, 44px); }
.production-copy h4 { font-size: 1.15em; }
.production-copy p, .production-copy ul, .production-copy ol { max-width: var(--copy-width); margin-block: .8em; }
.production-copy p:empty { display: none; }
.production-copy a:not(.action):not(.vessel) { text-decoration: underline; text-underline-offset: .19em; }
.production-copy a:hover { color: #075a48; }
.production-copy figure { margin-block: 1.3em; }
.production-copy img { max-width: 100%; height: auto; }
.production-copy iframe {
  display: block;
  width: min(100%, 800px);
  height: auto;
  aspect-ratio: 16 / 9;
  margin-block: 22px;
  border: 0;
}
.production-copy .toc {
  width: fit-content;
  max-width: 100%;
  padding: 18px 22px;
  margin-block: 0 28px;
  border: 1px solid var(--rule, #d8d0c2);
}
.production-copy .toc > b { display: block; margin-bottom: 8px; }
.production-copy .toc a { display: inline-block; padding-block: 4px; }
.production-copy blockquote {
  max-width: var(--copy-width);
  margin: 1.4em 0;
  padding: .6em 0 .6em 1.05em;
  border-left: 2px solid var(--ink);
}
.production-copy hr { border: 0; border-top: 1px solid var(--rule, #d8d0c2); margin-block: 1.7em; }
.production-copy .table-scroll { max-width: 100%; overflow-x: auto; margin-block: 1.15em; }
.production-copy table { width: 100%; border-collapse: collapse; }
.production-copy td, .production-copy th {
  padding: 12px 14px;
  border-bottom: 1px solid var(--rule, #d8d0c2);
  vertical-align: top;
  text-align: left;
}
.production-copy th { font-weight: 600; }
.production-copy .button_a { margin-block: 16px; }
.production-copy [id] { scroll-margin-top: 20px; }
.production-copy .rating-summary { color: var(--quiet, #525158); font-size: 15px; }

.production-archive { padding-block: 0 clamp(42px, 5.8vw, 84px); }
.production-archive .production-copy { width: 100%; padding: 0; margin-block: 0 36px; }
.archive-nav, .archive-pages {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  align-items: center;
  margin-block: 0 26px;
}
.archive-nav a, .archive-pages a { min-height: 44px; align-content: center; text-underline-offset: .2em; }
.archive-nav a:hover, .archive-pages a:hover, .archive-pages [aria-current] { text-decoration: underline; }
.production-archive .archive-card { display: grid; align-content: start; gap: 8px; }
.production-archive .archive-card img { width: 100%; aspect-ratio: 1.85; object-fit: cover; background: var(--paper); }
.production-archive .archive-card h2 { font-size: clamp(25px, 2.6vw, 42px); margin-top: 4px; }
.production-archive .archive-card p { color: var(--quiet); }
.archive-pages:last-child { margin-block: 28px 0; }

.migrated-page .product-heading h1 { overflow-wrap: anywhere; }
.migrated-page .production-boat .production-copy { padding-inline: 0; padding-block: 0; max-width: 100%; }
.migrated-page .production-boat .boat-summary { margin-bottom: 16px; }
.migrated-page .production-boat .boat-summary a { text-decoration: underline; }
.migrated-page .production-boat .passport dd { overflow-wrap: anywhere; }
.migrated-page .production-boat .rate-unavailable { color: var(--quiet); }
.migrated-page .production-boat .primary { max-width: 100%; }
.migrated-page .production-boat .primary .action-icon { flex: none; }
.migrated-page .production-boat :is(.boat-gallery, .passport) { min-width: 0; }

@media (max-width: 710px) {
  .page-heading { padding-top: 22px; }
  .page-heading h1 { font-size: clamp(36px, 10.4vw, 54px); }
  .production-copy td, .production-copy th { padding: 8px; }
  .production-copy .toc { padding: 13px 16px; }
  .archive-nav, .archive-pages { gap: 4px 16px; }
  .production-archive .fleet-grid { gap: 28px; }
}

.story {
  max-width: 88rem;
  margin-inline: auto;
  padding: 0 var(--edge) clamp(44px, 6vw, 92px);
}
.story .production-copy {
  max-width: none;
  margin: 0;
  padding: 0;
}
.story-opening {
  padding-bottom: clamp(24px, 4vw, 56px);
}
.story-opening--photo:has(.story-lead) {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(0, .82fr);
  align-items: center;
  gap: clamp(26px, 5vw, 78px);
}
.story-photo {
  min-width: 0;
  background: var(--paper);
}
.story-photo img {
  width: 100%;
  height: auto;
  aspect-ratio: 1.58;
  object-fit: cover;
}
.story-opening--photo:not(:has(.story-lead)) .story-photo {
  max-width: 62rem;
}
.story-lead p {
  margin-block: 0;
  font-family: var(--serif);
  font-size: clamp(23px, 2.2vw, 35px);
  line-height: 1.3;
  letter-spacing: -.025em;
  max-width: 36ch;
}
.story-lead p strong, .story-lead p b { font-weight: 600; }
.story-index .toc {
  width: auto;
  max-width: 62rem;
  background: var(--paper);
  border: 0;
  padding: clamp(16px, 2vw, 32px);
  margin-block: 0 clamp(28px, 4vw, 52px);
}
.story-index .toc a { padding: 7px 0; }
.story-chapter {
  display: grid;
  grid-template-columns: minmax(0, .75fr) minmax(0, 1.25fr);
  align-items: start;
  gap: clamp(24px, 5vw, 80px);
  padding-block: clamp(24px, 4.3vw, 64px);
  border-top: 1px solid var(--rule);
}
.chapter-title { min-width: 0; }
.chapter-title h2 {
  font-size: clamp(31px, 3.6vw, 61px);
  max-width: 15ch;
  line-height: 1.04;
  overflow-wrap: anywhere;
  text-wrap: pretty;
}
.chapter-copy { min-width: 0; }
.chapter-copy > :first-child:not(a), .page-prose > :first-child:not(a) { margin-top: 0; }
.chapter-copy .table-scroll:first-child { margin-top: 0; }
.chapter-copy blockquote {
  background: var(--paper);
  padding: .9em 1.1em;
}
.story .page-prose { margin-bottom: clamp(22px, 4vw, 48px); }
.story .page-prose + .page-prose { margin-top: -12px; }
.story--guide .story-opening--photo {
  background: var(--paper);
  margin-bottom: clamp(22px, 4.2vw, 56px);
  padding-bottom: 0;
}
.story--guide .story-opening--photo:has(.story-lead) .story-lead {
  padding: clamp(14px, 2vw, 34px) clamp(18px, 4vw, 56px) clamp(14px, 2vw, 34px) 0;
}
.story-action { margin-top: clamp(12px, 2vw, 30px); }
.story--reviews .review-quote { background: var(--paper); }
.story--faq .faq-spread, .story--contact .contact-spread {
  display: grid;
  grid-template-columns: minmax(0, .76fr) minmax(0, 1.24fr);
  align-items: start;
  gap: clamp(25px, 5.5vw, 82px);
}
.faq-notes .action { margin-top: 12px; }
.faq-spread .question-list .answer {
  padding: 0 18px 16px 0;
  line-height: 1.5;
}
.faq-spread .question-list .answer :is(p, ul) { margin-block: 0 10px; }
.faq-spread .question-list .answer em { font-style: normal; }
.story--contact .contact-spread {
  grid-template-columns: minmax(0, 1fr) minmax(0, .65fr);
  padding-bottom: clamp(26px, 4vw, 60px);
}
.contact-intro ul { padding-inline-start: 1.2em; }
.contact-actions {
  display: grid;
  justify-items: start;
  align-content: start;
  gap: 8px;
  background: var(--paper);
  padding: clamp(20px, 3vw, 42px);
}
.contact-actions a:not(.action) {
  display: inline-flex;
  align-items: center;
  overflow-wrap: anywhere;
  min-height: 44px;
  text-decoration: underline;
  text-underline-offset: .2em;
}
.production-boat .boat-chapters { margin-block: clamp(35px, 6vw, 85px); }
.production-boat .boat-chapters .story-chapter { grid-template-columns: minmax(0, .7fr) minmax(0, 1.3fr); }
.production-boat .boat-chapters .page-prose { margin-bottom: clamp(20px, 3vw, 38px); }
.production-boat .chapter-title h2 { max-width: 17ch; }
.production-boat .related-boats { margin-top: clamp(28px, 4vw, 58px); }
.production-boat .charter-copy { color: var(--quiet); }
.production-boat .charter-copy li { margin-block: 6px; }
.production-boat .charter-copy ul:not(.route-list) { padding-inline-start: 20px; }
.production-boat .route-detail, .production-boat .route-detail li { color: #eee; }
.production-boat .route-detail a:hover { color: var(--cta-yellow); }
.production-boat .route-detail > :first-child { margin-top: 0; }

@media (max-width: 760px) {
  .story-opening--photo:has(.story-lead), .story-chapter,
  .story--faq .faq-spread, .story--contact .contact-spread,
  .production-boat .boat-chapters .story-chapter {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
  }
  .story--guide .story-opening--photo:has(.story-lead) .story-lead { padding: 0 18px 19px; }
  .story-chapter { padding-block: 22px; }
  .chapter-title h2 { max-width: none; }
  .story-index .toc { margin-bottom: 30px; }
  .faq-spread .question-list { margin-top: 8px; }
}

.story-photo--native { width: min(100%, var(--photo-native)); }
.story-photo--native img { aspect-ratio: auto; }
.story-lead--long p {
  font-family: var(--sans);
  font-size: clamp(17px, 1.5vw, 23px);
  line-height: 1.55;
  letter-spacing: normal;
  max-width: 58ch;
}
.faq-spread .question-list { grid-column: 2; grid-row: 1 / 3; }
.faq-spread .faq-intro, .faq-spread .faq-notes { grid-column: 1; }
.faq-spread .faq-notes { align-self: start; }
.faq-notes > hr:first-child { display: none; }
.contact-actions address { font-style: normal; border-top: 1px solid var(--rule); }
.contact-actions address p { margin-block: 14px 0; }
.contact-spread .contact-actions { grid-column: 2; grid-row: 1; }
.contact-spread .contact-intro { grid-column: 1; grid-row: 1; }

.production-copy .table-scroll:has(.responsive-table) { container-type: inline-size; }
.production-copy .responsive-table td:is([data-label="Price"], [data-label="Tariff"]) { min-width: 12ch; }
@container (max-width: 34rem) {
  .production-copy .responsive-table,
  .production-copy .responsive-table :is(tbody, thead, tfoot, tr, td) { display: block; }
  .production-copy .responsive-table :is(colgroup, .responsive-labels) {
    position: absolute;
    clip-path: inset(50%);
    width: 1px;
    height: 1px;
    overflow: hidden;
    white-space: nowrap;
  }
  .production-copy .responsive-table tr:not(.responsive-labels) {
    display: grid;
    gap: 10px;
    padding: 14px 0;
    border-top: 1px solid var(--rule);
  }
  .production-copy .responsive-table td { padding: 0; border: 0; }
  .production-copy .responsive-table td:empty { display: none; }
  .production-copy .responsive-table td:is([data-label="Yacht"], [data-label="Boat"]) {
    font-family: var(--serif);
    font-size: 1.4em;
    line-height: 1.08;
  }
  .production-copy .responsive-table td:is([data-label="Price"], [data-label="Tariff"]) {
    display: grid;
    gap: 4px;
    background: var(--paper);
    padding: 12px 15px;
  }
  .production-copy .responsive-table td:is([data-label="Price"], [data-label="Tariff"])::before {
    content: attr(data-label);
    font-weight: 600;
  }
  .production-copy .responsive-table td > :is(p, ul, ol) { margin-block: 0; }
}
@media (max-width: 760px) {
  .faq-spread :is(.question-list, .faq-intro, .faq-notes) { grid-column: auto; grid-row: auto; }
  .contact-spread :is(.contact-actions, .contact-intro) { grid-column: auto; grid-row: auto; }
}
