@font-face {
  font-family: Bricolage;
  src: url("./fonts/bricolage-grotesque.woff2") format("woff2");
  font-weight: 400 800;
  font-display: swap;
}
@font-face {
  font-family: "DM Sans";
  src: url("./fonts/dm-sans.woff2") format("woff2");
  font-weight: 400 800;
  font-display: swap;
}
:root {
  --paper: #fbf7ee;
  --navy: #143740;
  --muted: #435c60;
  --mint: #d7e9e1;
  --sun: #f9bc68;
  --line: #ded8c9;
  --heading: Bricolage, system-ui, sans-serif;
  color-scheme: light;
  font-family: "DM Sans", system-ui, sans-serif;
  color: var(--navy);
  background: var(--paper);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; line-height: 1.55; }
img { display: block; max-width: 100%; }
a { color: inherit; }
p, figure, dl, dd { margin: 0; }
:focus-visible { outline: 3px solid #a34a24; outline-offset: 4px; }
[hidden] { display: none !important; }
.wrap { width: min(1280px, calc(100% - 88px)); margin-inline: auto; }
.visually-hidden, .skip-link:not(:focus) {
  position: absolute;
  width: 1px;
  height: 1px;
  clip-path: inset(50%);
  overflow: hidden;
  white-space: nowrap;
}
.skip-link:focus { position: absolute; z-index: 5; top: 8px; left: 8px; padding: 10px 18px; background: var(--paper); }
.top { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand { display: inline-flex; gap: 10px; align-items: center; font: 800 1.56rem/1 var(--heading); letter-spacing: -.05em; text-decoration: none; }
.brand img { border-radius: 9px; }
.top nav { display: flex; align-items: center; gap: clamp(14px, 3vw, 40px); font-weight: 700; }
.top nav a { text-decoration: none; padding-block: 10px; }
.top nav a:hover, .text-link:hover { text-decoration: underline; text-underline-offset: .27em; }
.hero { scroll-margin-top: 20px; }
.hero-photo { position: relative; isolation: isolate; overflow: hidden; min-height: clamp(460px, 42vw, 620px); border-radius: 24px; display: flex; align-items: center; background: #173a46; }
.hero-photo picture, .hero-photo picture img, .hero-photo::after { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-photo picture { left: 22%; width: 78%; }
.hero-photo img { object-fit: cover; object-position: center 54%; }
.hero-photo::after { content: ""; z-index: 0; background: linear-gradient(90deg, #102d39ed 1%, #102d39e8 22%, #102d3999 39%, #102d3910 68%, #102d3900 88%); }
.hero-copy { z-index: 1; position: relative; padding: 46px clamp(36px, 5vw, 79px); color: #fffaf0; }
.kicker { font-weight: 800; font-size: .88rem; letter-spacing: .14em; text-transform: uppercase; }
.hero-copy .kicker { color: #ffe0aa; margin-bottom: 13px; }
h1, h2, h3 { margin: 0; font-family: var(--heading); font-weight: 800; letter-spacing: -.055em; }
h1 { font-size: clamp(3.8rem, 7.3vw, 7.5rem); line-height: .96; text-wrap: balance; }
.hero-dates { font-size: clamp(1.05rem, 2vw, 1.4rem); font-weight: 600; margin-block: 22px 24px; }
.button { min-height: 47px; display: inline-flex; align-items: center; justify-content: center; text-align: center; padding: 10px 21px; border-radius: 999px; font-size: .98rem; font-weight: 800; text-decoration: none; }
.button.sunny { color: #25322e; background: var(--sun); }
.button.sunny:hover { background: #ffce8b; }
.ticket { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 12px 0 0; min-height: 92px; border: 1px solid var(--line); border-radius: 17px; overflow: hidden; background: #fffcf4; }
.ticket div { padding: 15px clamp(17px, 3vw, 38px); display: grid; align-content: center; }
.ticket div + div { border-left: 1px dashed #d1c9b9; }
.ticket dt { font-size: .86rem; font-weight: 700; color: var(--muted); }
.ticket dd { font: 800 clamp(1.16rem, 2.45vw, 1.85rem)/1.2 var(--heading); letter-spacing: -.045em; }
.ticket .duration { background: #fee4b9; }
.section { padding-top: clamp(50px, 7vw, 96px); scroll-margin-top: 12px; }
.section-heading { display: grid; grid-template-columns: .82fr 1.18fr; align-items: end; gap: 30px; margin-bottom: 26px; }
h2 { font-size: clamp(2.6rem, 5.25vw, 5rem); line-height: 1; }
.section-heading p { max-width: 55ch; color: var(--muted); font-size: clamp(1.02rem, 1.6vw, 1.24rem); }
.route { display: grid; grid-template-columns: 1.07fr 1fr; gap: 18px; align-items: start; }
.map-box { position: relative; background: #cae3db; border-radius: 20px; overflow: hidden; }
.map-box > img { width: 100%; height: auto; }
.map-pin { position: absolute; left: var(--x); top: var(--y); transform: translate(-50%, -50%); display: grid; place-items: center; border: 2px solid #fff9ec; border-radius: 50%; width: clamp(28px, 3.2vw, 41px); aspect-ratio: 1; box-shadow: 0 2px 6px #14374030; color: white; background: var(--navy); font-size: .91rem; font-weight: 800; text-decoration: none; }
.map-pin:hover, .map-pin[aria-current] { background: #ec9c51; color: #20332f; z-index: 1; }
.map-key { position: absolute; bottom: 13px; right: 16px; padding: 4px 9px; border-radius: 5px; background: #f9f5e8e8; font-size: .77rem; color: var(--navy); }
.route-side { min-width: 0; }
.day-nav { display: grid; grid-template-columns: repeat(8, 1fr); gap: 6px; margin-bottom: 10px; }
.day-nav a { display: grid; place-items: center; min-height: 42px; border: 1px solid var(--line); border-radius: 9px; background: #fffcf4; font-weight: 800; text-decoration: none; }
.day-nav a:hover, .day-nav a[aria-current] { background: var(--navy); border-color: var(--navy); color: white; }
.leg { background: #fffcf4; border: 1px solid var(--line); border-radius: 17px; overflow: hidden; scroll-margin-top: 16px; }
.leg + .leg { margin-top: 12px; }
.leg[hidden] + .leg { margin-top: 0; }
.leg-image, .leg-illustration { width: 100%; height: auto; aspect-ratio: 1.9; object-fit: cover; background: var(--mint); }
.leg-illustration { position: relative; display: grid; place-items: center; overflow: hidden; color: #f9f5e8; background: #246570; }
.leg-illustration span { z-index: 1; font: 800 clamp(3rem, 8vw, 7rem)/1 var(--heading); letter-spacing: -.08em; }
.leg-illustration i { position: absolute; width: 170%; height: 83%; bottom: -55%; border-radius: 50%; border: 2px solid #afdbce; transform: rotate(-7deg); }
.leg-illustration i:nth-last-child(2) { bottom: -41%; }
.leg-illustration i:last-child { bottom: -27%; }
.leg-copy { padding: 17px clamp(17px, 2.5vw, 33px) 25px; }
.leg-meta { color: #885021; font-size: .88rem; font-weight: 800; }
.leg-meta span { margin-inline: 5px; }
h3 { font-size: clamp(1.8rem, 3.6vw, 3.2rem); line-height: 1.06; margin-block: 6px 9px; }
.leg-copy .boarding { margin-top: 6px; color: var(--muted); }
.text-link { display: inline-block; font-weight: 800; margin-top: 13px; text-decoration-thickness: 1px; text-underline-offset: .23em; }
.route-source { margin-top: 13px; color: var(--muted); font-size: .86rem; }
.route-source a, .credits a { text-underline-offset: .2em; }
.gallery-section h2 { margin-bottom: 24px; }
.gallery { display: grid; grid-template-columns: 1.17fr 1fr 1fr; gap: 14px; }
.gallery figure { border-radius: 16px; overflow: hidden; background: #fffcf4; border: 1px solid var(--line); }
.gallery img { width: 100%; height: clamp(170px, 23vw, 330px); object-fit: cover; }
.gallery figcaption { padding: 12px 15px; font-weight: 700; }
.ship { border-radius: 22px; background: var(--mint); display: grid; grid-template-columns: 1.16fr 1fr; overflow: hidden; }
.ship > img { width: 100%; height: 100%; min-height: 355px; object-fit: cover; }
.ship-copy { display: grid; align-content: center; justify-items: start; padding: clamp(25px, 5vw, 66px); }
.ship-copy .kicker { color: #315d60; margin-bottom: 10px; }
.ship-copy p:not(.kicker) { margin-block: 16px 21px; }
.outline { border: 1px solid var(--navy); }
.outline:hover { background: var(--navy); color: white; }
.foot { padding-block: 30px 44px; margin-top: 32px; border-top: 1px solid var(--line); display: flex; align-items: start; justify-content: space-between; gap: 22px; }
.credits { color: var(--muted); font-size: .86rem; max-width: 68ch; }
.credits summary { cursor: pointer; font-weight: 700; }
.credits ul { padding-left: 21px; }
.credits li + li { margin-top: 4px; }
@media (max-width: 790px) {
  .wrap { width: calc(100% - 36px); }
  .hero-photo { min-height: 460px; }
  .hero-photo picture { left: 0; width: 100%; }
  .section-heading, .ship { grid-template-columns: 1fr; gap: 13px; }
  .route { grid-template-columns: 1fr; }
  .map-box { width: min(100%, 560px); margin-inline: auto; }
  .map-pin { width: clamp(26px, 5.9vw, 38px); }
  .ship { gap: 0; }
  .ship > img { height: auto; min-height: 0; aspect-ratio: 1.6; }
}
@media (max-width: 580px) {
  .top { min-height: 64px; }
  .brand { font-size: 1.35rem; gap: 7px; }
  .brand img { width: 28px; height: 28px; }
  .top nav { font-size: .93rem; }
  .hero-photo { align-items: end; border-radius: 18px; min-height: 500px; }
  .hero-photo::after { background: linear-gradient(0deg, #102e3bf5 1%, #102e3bb5 37%, #102e3b15 79%); }
  .hero-photo img { object-position: center; }
  .hero-copy { padding: 24px; }
  h1 { font-size: clamp(2.9rem, 11vw, 4.5rem); }
  .hero-dates { margin-block: 14px 18px; }
  .ticket { grid-template-columns: 1fr 1fr; }
  .ticket div { min-height: 68px; }
  .ticket div:nth-child(n+3) { border-top: 1px dashed #d1c9b9; }
  .ticket div:nth-child(odd) { border-left: 0; }
  .gallery { grid-template-columns: 1fr; gap: 12px; }
  .gallery img { height: auto; aspect-ratio: 1.76; }
  .foot { flex-wrap: wrap; }
}
@media (max-width: 360px) {
  .wrap { width: calc(100% - 24px); }
  .top { gap: 8px; }
  .top nav { gap: 10px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
