:root {
  --text-scale: 1;
}
.header-actions {
  display: flex;
  align-items: center;
  gap: 18px;
}
.home-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 36px;
  padding: 6px 10px;
  border: 1px solid #7fb9b52c;
  border-radius: 7px;
  white-space: nowrap;
}
.home-link:hover {
  color: var(--aqua);
  background: #12303a;
}
.font-controls {
  display: flex;
  align-items: center;
  border: 1px solid #7fb9b52c;
  border-radius: 7px;
  overflow: hidden;
}
.font-controls button {
  background: #12303a;
  min-width: 32px;
  padding: 7px 6px;
  font-size: 0.78rem;
}
.font-controls button:disabled {
  opacity: 0.4;
  cursor: default;
}
.font-controls #fontReset {
  background: #0a202b;
  font-size: 0.65rem;
  color: #9bbebd;
  min-width: 44px;
}
.globe-controls output {
  font-size: 0.65rem;
  color: #9cbab8;
  min-width: 28px;
  text-align: center;
}
.place-row {
  display: flex;
  gap: 10px;
  overflow: auto;
  padding: 10px 0 2px;
  scrollbar-width: thin;
}
.places-section {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}
.place-card {
  display: flex;
  flex-direction: column;
  min-width: 145px;
  width: 145px;
  flex-shrink: 0;
  padding: 0;
  text-align: left;
  border: 1px solid #79b7a91c;
  border-radius: 8px;
  overflow: hidden;
  background: #102a34;
}
.place-card img {
  width: 100%;
  height: 78px;
  object-fit: cover;
}
.place-card > span {
  padding: 9px;
  display: block;
}
.place-card small {
  font-size: 0.48rem;
  letter-spacing: 0.5px;
  display: block;
  color: #83aaa9;
  line-height: 1.6;
  margin-bottom: 5px;
}
.place-card strong {
  font-size: 0.74rem;
  font-weight: 500;
  line-height: 1.4;
  display: block;
}
.place-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(155px, 1fr));
  gap: 12px;
}
.place-grid .place-card {
  width: 100%;
  min-width: 0;
}
.place-grid .place-card img {
  height: 120px;
}
.place-water-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin: 16px 0;
}
.place-water-tags button {
  background: #193b42;
  border: 1px solid #7fb9b52b;
  border-radius: 5px;
  padding: 7px 11px;
  color: #b8ded4;
  font-size: 0.8rem;
}
.primary-place {
  background: #9bd8c3;
  color: #092b31;
  border-radius: 7px;
  padding: 12px 18px;
}
.country-places {
  border-top: 1px solid var(--line);
  margin-top: 24px;
  padding-top: 4px;
}
.globe-full {
  overflow: hidden;
}
.globe-section.is-expanded {
  position: fixed;
  inset: 0;
  z-index: 40;
  background: radial-gradient(ellipse at center, #103b47, #071720 80%);
  height: 100dvh;
}
.is-expanded .globe-stage {
  flex: 1;
  height: auto !important;
  min-height: 0;
  width: 100%;
  margin-top: 0;
}
.is-expanded .coast-strip {
  display: none;
}
.is-expanded .globe-heading {
  padding-top: 20px;
}
.is-expanded .legend {
  margin: 12px 0 18px;
}
.is-expanded .globe-controls {
  margin-top: 0;
}
.voyage-intro {
  width: 100vw;
  max-width: 100vw;
  height: 100dvh;
  max-height: 100dvh;
  border: 0;
  border-radius: 0;
  margin: 0;
  padding: 0;
  overflow: hidden;
  background: #061b27;
  color: #fff;
}
.voyage-intro::backdrop {
  background: #061b27;
}
.intro-slides,
.intro-slide,
.intro-shade {
  position: absolute;
  inset: 0;
}
.intro-slide {
  opacity: 0;
  transition: opacity 1.7s ease-in-out;
  pointer-events: none;
}
.intro-slide.active {
  opacity: 1;
  pointer-events: auto;
}
.intro-slide > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.04);
  transition: transform 9s linear;
  filter: saturate(1.05);
}
.intro-slide.active > img {
  transform: scale(1.12);
}
.intro-shade {
  pointer-events: none;
  background:
    linear-gradient(90deg, #031823b3, transparent 80%),
    linear-gradient(0deg, #031620ed, transparent 45%, #03162055);
}
.intro-photo-credit {
  position: absolute;
  bottom: 14px;
  left: 32px;
  right: 32px;
  color: #c4d1d1;
  font-size: 0.58rem;
  z-index: 3;
  text-shadow: 0 1px 3px #000;
}
.intro-photo-credit a {
  color: inherit;
  text-decoration: underline;
}
.intro-top {
  position: absolute;
  top: 28px;
  left: 40px;
  right: 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 6;
}
.intro-brand {
  font:
    2rem Georgia,
    serif;
  text-shadow: 0 2px 10px #0004;
}
.intro-top > div {
  display: flex;
  gap: 12px;
}
.intro-top button {
  border: 1px solid #f0faf750;
  border-radius: 25px;
  background: #071c2b65;
  backdrop-filter: blur(12px);
  padding: 11px 20px;
  font-size: 0.85rem;
  color: #ecf4e9;
}
.intro-top #skipIntro {
  background: #e0eede;
  color: #12333a;
  border-color: #e0eede;
}
.intro-copy {
  position: absolute;
  top: 25%;
  left: 8%;
  width: 52%;
  z-index: 4;
  text-shadow: 0 3px 30px #0004;
}
.intro-copy .eyebrow {
  font-size: 0.7rem;
  letter-spacing: 3px;
  color: #c4eadb;
}
.intro-copy h2 {
  font:
    400 clamp(2.7rem, 5.3vw, 6.2rem) / 1.05 Georgia,
    serif;
  letter-spacing: -2px;
  margin: 24px 0;
}
.intro-copy p {
  font-size: 1rem;
  max-width: 420px;
  line-height: 1.8;
  color: #e0ece6;
}
.intro-ship {
  position: absolute;
  right: 5%;
  top: 25%;
  width: 29%;
  max-width: 440px;
  background: #071d2ac9;
  border: 1px solid #c4e0d83b;
  border-radius: 12px;
  overflow: hidden;
  backdrop-filter: blur(14px);
  z-index: 5;
  box-shadow: 0 24px 70px #0005;
  animation: ship-enter 0.8s ease-out;
}
.ship-heading {
  padding: 13px 17px;
  letter-spacing: 1.7px;
  font-size: 0.56rem;
  color: #a0c5bf;
  display: flex;
  justify-content: space-between;
}
.intro-ship > img {
  width: 100%;
  height: clamp(150px, 20vw, 260px);
  object-fit: cover;
  display: block;
}
.intro-ship h3 {
  font:
    400 1.45rem Georgia,
    serif;
  margin: 16px 18px 9px;
  color: #edf5e8;
}
.intro-ship p {
  font-size: 0.72rem;
  line-height: 1.6;
  color: #b2cbc9;
  margin: 0 18px 13px;
}
.ship-credit {
  font-size: 0.5rem;
  line-height: 1.7;
  margin: 0 18px 16px;
  color: #8faeb1;
  max-height: 36px;
  overflow: auto;
}
.ship-credit a {
  color: #b5d4c8;
}
.intro-bottom {
  position: absolute;
  left: 8%;
  right: 5%;
  bottom: 74px;
  display: flex;
  align-items: center;
  gap: 24px;
  z-index: 6;
}
.intro-dots {
  display: flex;
  gap: 7px;
}
.intro-dots button {
  width: 30px;
  height: 5px;
  background: #e0eee055;
  border: 0;
  border-radius: 5px;
  padding: 0;
  transition:
    width 0.5s,
    background 0.5s;
}
.intro-dots button.active {
  width: 58px;
  background: #bde4cd;
}
.intro-bottom > p {
  font-size: 0.65rem;
  color: #b7c7bf;
  margin: 0;
}
.intro-enter {
  margin-left: auto;
  background: none;
  color: #e1eddf;
  border-bottom: 1px solid #a1b9b7;
  padding: 10px 0;
  font-size: 0.85rem;
}
.intro-showing {
  overflow: hidden;
}
@keyframes ship-enter {
  from {
    opacity: 0;
    transform: translateY(15px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@media (max-width: 1150px) {
  .top-note {
    display: none;
  }
  .header-actions {
    gap: 12px;
  }
  .coast-strip {
    margin-top: 0;
  }
  .intro-copy {
    left: 6%;
    width: 50%;
  }
  .intro-ship {
    width: 34%;
    right: 5%;
  }
  .intro-bottom {
    left: 6%;
  }
  .intro-bottom > p {
    display: none;
  }
}
@media (max-width: 700px) {
  .topbar {
    height: auto;
    min-height: 82px;
    flex-wrap: wrap;
    padding-block: 12px;
    gap: 8px;
  }
  .header-actions {
    gap: 8px;
    flex-wrap: wrap;
    justify-content: space-between;
    width: 100%;
  }
  .header-actions .quiet {
    font-size: 0.65rem;
  }
  .font-controls button {
    padding: 5px 6px;
    min-width: 29px;
  }
  .font-controls #fontReset {
    min-width: 38px;
  }
  .globe-controls {
    gap: 5px;
  }
  .globe-controls button {
    width: 31px;
  }
  .globe-controls .details-button {
    font-size: 0.65rem;
    padding-inline: 9px;
  }
  .globe-help {
    line-height: 1.8;
  }
  .globe-stage {
    height: 420px;
  }
  .intro-top {
    top: 18px;
    left: 18px;
    right: 18px;
    gap: 8px;
    align-items: flex-start;
  }
  .intro-brand {
    font-size: 1.6rem;
  }
  .intro-top > div {
    gap: 6px;
    flex-direction: column;
    align-items: stretch;
  }
  .intro-top button {
    padding: 8px 12px;
    font-size: 0.68rem;
  }
  .intro-copy {
    top: 19%;
    left: 6%;
    right: 6%;
    width: auto;
  }
  .intro-copy h2 {
    font-size: 2.65rem;
    letter-spacing: -1px;
    margin: 15px 0;
  }
  .intro-copy .eyebrow {
    font-size: 0.52rem;
    letter-spacing: 2px;
  }
  .intro-copy p {
    font-size: 0.8rem;
    line-height: 1.6;
    max-width: 260px;
  }
  .intro-ship {
    top: auto;
    bottom: 142px;
    right: 6%;
    left: 6%;
    width: auto;
    max-width: none;
    display: grid;
    grid-template-columns: 41% 1fr;
    border-radius: 9px;
    min-height: 145px;
  }
  .ship-heading {
    grid-column: 1/-1;
    padding: 9px 12px;
    font-size: 0.46rem;
  }
  .intro-ship > img {
    width: 100%;
    height: 135px;
    grid-row: 2/5;
    object-fit: cover;
  }
  .intro-ship h3 {
    font-size: 1.05rem;
    margin: 10px 11px 5px;
  }
  .intro-ship p {
    font-size: 0.63rem;
    line-height: 1.5;
    margin: 0 11px 7px;
  }
  .ship-credit {
    font-size: 0.4rem;
    max-height: 25px;
    margin: 0 11px 9px;
  }
  .intro-bottom {
    left: 6%;
    right: 6%;
    bottom: 67px;
    flex-wrap: wrap;
    gap: 15px;
  }
  .intro-dots button {
    width: 21px;
    height: 5px;
  }
  .intro-dots button.active {
    width: 36px;
    background: #bde4cd;
  }
  .intro-enter {
    font-size: 0.72rem;
  }
  .intro-photo-credit {
    left: 6%;
    right: 6%;
    bottom: 14px;
    font-size: 0.43rem;
    max-height: 33px;
    overflow: auto;
  }
  .place-card {
    width: 145px;
    min-width: 145px;
  }
  .place-card img {
    height: 85px;
  }
  .intro-slide > img {
    object-position: center;
  }
  .intro-shade {
    background:
      linear-gradient(0deg, #031620ee, transparent 75%),
      linear-gradient(90deg, #03182399, transparent);
  }
}
@media (max-height: 620px) {
  .intro-copy {
    top: 18%;
  }
  .intro-copy h2 {
    font-size: 2.4rem;
    margin: 12px 0;
  }
  .intro-ship {
    top: 20%;
    bottom: auto;
    width: 32%;
    left: auto;
    display: block;
  }
  .intro-ship > img {
    height: 100px;
  }
  .intro-ship p,
  .ship-credit {
    display: none;
  }
  .intro-bottom {
    bottom: 48px;
  }
  .intro-top {
    top: 12px;
  }
  .intro-copy {
    width: 52%;
  }
  .intro-ship h3 {
    font-size: 1rem;
  }
}
@media (prefers-reduced-motion: reduce) {
  .intro-slide {
    transition: none;
  }
  .intro-slide > img {
    transform: none !important;
    transition: none;
  }
  .intro-ship {
    animation: none;
  }
}
