:root {
  --ink: #0c1117;
  --muted: #68717d;
  --line: #e6e9ed;
  --paper: #f7f8f8;
  --white: #ffffff;
  --navy: #071b2d;
  --blue: #0f5f8c;
  --aqua: #74d4d6;
  --shadow: 0 24px 70px rgba(7, 27, 45, 0.12);
  --ticker-height: 72px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  padding-bottom: calc(var(--ticker-height) + 24px);
}

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

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 72px;
  padding: 14px clamp(18px, 5vw, 64px);
  background: rgba(255, 255, 255, 0.86);
  border-bottom: 1px solid rgba(230, 233, 237, 0.72);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 700;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 6px;
}

.main-nav a {
  border-radius: 999px;
  padding: 9px 13px;
  color: #2a333d;
  font-size: 0.92rem;
  text-decoration: none;
}

.main-nav a:hover,
.main-nav a[aria-current="page"] {
  background: #eef4f5;
}

.main-nav .nav-cta {
  color: var(--white);
  background: var(--ink);
}

.hero {
  position: relative;
  min-height: calc(100svh - 72px);
  display: grid;
  align-items: end;
  overflow: hidden;
  background: var(--navy);
}

.hero-media {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(7, 18, 30, 0.66), rgba(7, 18, 30, 0.16) 56%, rgba(7, 18, 30, 0.28)),
    linear-gradient(180deg, rgba(7, 18, 30, 0.08), rgba(7, 18, 30, 0.58)),
    url("https://cdn.pixabay.com/photo/2022/03/09/16/18/wylde-swan-7058170_1280.jpg") center / cover;
  transform: scale(1.02);
}

.hero-content {
  position: relative;
  width: min(960px, calc(100% - 36px));
  margin: 0 auto;
  padding: 104px 0 74px;
  color: var(--white);
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--blue);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: var(--aqua);
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  max-width: 860px;
  margin: 0;
  font-size: clamp(2.15rem, 4.8vw, 4.25rem);
  line-height: 1.02;
  letter-spacing: 0;
}

h2 {
  margin: 0;
  font-size: clamp(1.7rem, 3.25vw, 3.55rem);
  line-height: 1.04;
  letter-spacing: 0;
}

h3 {
  margin: 0;
  font-size: 1.2rem;
  line-height: 1.15;
}

p {
  color: var(--muted);
  font-size: 1.04rem;
  line-height: 1.7;
}

.hero-copy {
  margin: 0;
  color: rgba(255, 255, 255, 0.84);
  font-size: clamp(1.08rem, 2vw, 1.34rem);
}

.hero-intro {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 680px) minmax(150px, 230px);
  gap: clamp(42px, 8vw, 92px);
  align-items: center;
  max-width: 980px;
  margin-top: 16px;
}

.hero-portrait {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border: 10px solid rgba(255, 255, 255, 0.92);
  border-radius: 18px 8px 22px 10px;
  box-shadow:
    0 38px 90px rgba(0, 0, 0, 0.46),
    0 12px 28px rgba(7, 18, 30, 0.36);
  transform: rotate(4deg);
  transform-origin: center;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0 20px;
  font-weight: 750;
  text-decoration: none;
  transition: transform 180ms ease, background 180ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button.primary {
  color: var(--white);
  background: var(--ink);
}

.hero .button.primary {
  color: var(--ink);
  background: var(--white);
}

.button.secondary {
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.42);
}

.section {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
  padding: clamp(52px, 8vw, 96px) 0;
}

.two-column {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(280px, 1fr);
  gap: clamp(32px, 8vw, 96px);
  align-items: start;
}

.lead-stack p:first-child {
  margin-top: 0;
}

.route-strip {
  display: grid;
  grid-template-columns: auto 1fr auto 1fr auto;
  align-items: center;
  gap: 16px;
  padding-top: 36px;
  padding-bottom: 36px;
}

.route-point {
  min-width: 120px;
}

.route-point span,
.post-card span,
.sponsor-logo-card span {
  display: block;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 750;
  text-transform: uppercase;
}

.route-point strong {
  display: block;
  margin-top: 6px;
  font-size: clamp(1.05rem, 2vw, 1.35rem);
}

.route-line {
  height: 1px;
  background: linear-gradient(90deg, rgba(15, 95, 140, 0.15), rgba(15, 95, 140, 0.95));
}

.sponsor-panel {
  width: min(1240px, calc(100% - 36px));
}

.sponsor-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(180px, 260px);
  gap: clamp(28px, 7vw, 88px);
  align-items: center;
  padding: clamp(28px, 5vw, 58px);
  color: var(--white);
  background: radial-gradient(circle at top right, rgba(116, 212, 214, 0.34), transparent 36%), var(--navy);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.sponsor-card p {
  color: rgba(255, 255, 255, 0.74);
}

.sponsor-card .eyebrow {
  color: var(--aqua);
}

.qr-code {
  width: min(100%, 240px);
  margin-inline: auto;
  border-radius: 8px;
  background: var(--white);
  padding: 12px;
}

.progress-block {
  max-width: 560px;
  margin: 26px 0;
}

.progress-meta {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 10px;
  color: rgba(255, 255, 255, 0.86);
  font-weight: 750;
}

.progress-bar {
  height: 10px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.18);
  border-radius: 999px;
}

.progress-bar span {
  display: block;
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--aqua), #ffffff);
  border-radius: inherit;
  transition: width 700ms ease;
}

.progress-note {
  margin: 10px 0 0;
  font-size: 0.92rem;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 22px;
}

.sponsor-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

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

.sponsor-logo-card {
  min-height: 150px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  text-align: center;
  text-decoration: none;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.sponsor-logo-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 42px rgba(7, 27, 45, 0.08);
}

.sponsor-logo-card img {
  width: min(150px, 86%);
  height: 56px;
  object-fit: contain;
}

.post-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

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

.post-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

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

.post-card div {
  padding: 20px;
}

.post-card p {
  margin-bottom: 0;
  font-size: 0.96rem;
}

.text-link,
.source-links a,
.map-fallback a {
  color: var(--blue);
  font-weight: 750;
  text-decoration: none;
}

.text-link {
  display: inline-flex;
  margin-top: 22px;
}

.page-hero {
  width: min(1080px, calc(100% - 36px));
  margin: 0 auto;
  padding: clamp(68px, 10vw, 118px) 0 clamp(42px, 7vw, 74px);
}

.page-hero.photo-hero {
  position: relative;
  width: 100%;
  min-height: min(68svh, 680px);
  display: grid;
  align-items: end;
  overflow: hidden;
  padding: clamp(84px, 13vw, 148px) clamp(18px, 5vw, 64px) clamp(46px, 7vw, 78px);
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(7, 18, 30, 0.72), rgba(7, 18, 30, 0.28) 58%, rgba(7, 18, 30, 0.44)),
    linear-gradient(180deg, rgba(7, 18, 30, 0.14), rgba(7, 18, 30, 0.76)),
    var(--navy);
}

.page-hero.photo-hero > div {
  position: relative;
  z-index: 1;
  width: min(1080px, 100%);
  margin: 0 auto;
}

.page-hero.travel-hero {
  background:
    linear-gradient(90deg, rgba(7, 18, 30, 0.72), rgba(7, 18, 30, 0.24) 58%, rgba(7, 18, 30, 0.42)),
    linear-gradient(180deg, rgba(7, 18, 30, 0.12), rgba(7, 18, 30, 0.78)),
    url("https://cdn.pixabay.com/photo/2022/03/09/16/18/wylde-swan-7058170_1280.jpg") center / cover;
}

.page-hero.compact h1 {
  color: var(--ink);
  font-size: clamp(1.95rem, 4vw, 3.65rem);
  line-height: 1.04;
}

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

.page-hero p:not(.eyebrow) {
  max-width: 720px;
  font-size: 1.08rem;
}

.page-hero.photo-hero p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.84);
}

.page-hero.photo-hero .eyebrow {
  color: var(--aqua);
}

.source-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 24px;
}

.image-feature {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
  gap: clamp(28px, 6vw, 70px);
  align-items: center;
}

.image-feature img,
.ocean-map-card,
.route-map {
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: 8px;
}

.route-map {
  min-height: 390px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #dbe8ec;
  box-shadow: var(--shadow);
}

.route-map p {
  display: grid;
  height: 100%;
  min-height: 390px;
  place-items: center;
  margin: 0;
  color: var(--muted);
  font-weight: 750;
}

.route-tooltip {
  border: 0;
  border-radius: 999px;
  color: var(--ink);
  box-shadow: 0 8px 24px rgba(7, 27, 45, 0.18);
  font-family: inherit;
  font-weight: 800;
}

.leaflet-container {
  font-family: inherit;
}

.image-feature img {
  object-fit: cover;
}

.ocean-map-card {
  position: relative;
  overflow: hidden;
  min-height: 360px;
  background:
    radial-gradient(circle at 72% 18%, rgba(116, 212, 214, 0.28), transparent 26%),
    radial-gradient(circle at 20% 78%, rgba(15, 95, 140, 0.28), transparent 28%),
    linear-gradient(135deg, #071b2d, #0d3952 52%, #0f5f8c);
  box-shadow: var(--shadow);
}

.ocean-map-card::before,
.ocean-map-card::after {
  content: "";
  position: absolute;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 50%;
  transform: rotate(-16deg);
}

.ocean-map-card::before {
  inset: 10% 16% 18% 8%;
}

.ocean-map-card::after {
  inset: 24% 7% 8% 26%;
}

.ocean-map-card svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.map-grid {
  fill: none;
  stroke: rgba(255, 255, 255, 0.09);
  stroke-width: 1;
}

.map-route-shadow,
.map-route {
  fill: none;
  stroke-linecap: round;
}

.map-route-shadow {
  stroke: rgba(0, 0, 0, 0.28);
  stroke-width: 9;
}

.map-route {
  stroke: #ffffff;
  stroke-dasharray: 10 12;
  stroke-width: 4;
}

.map-dot {
  position: absolute;
  z-index: 2;
  width: 14px;
  height: 14px;
  border: 3px solid #ffffff;
  border-radius: 50%;
  background: var(--aqua);
  box-shadow: 0 0 0 8px rgba(116, 212, 214, 0.18), 0 8px 22px rgba(0, 0, 0, 0.28);
}

.sint-maarten {
  left: 17%;
  top: 75%;
}

.azores {
  left: 73%;
  top: 26%;
}

.bermuda {
  left: 38%;
  top: 40%;
}

.netherlands {
  left: 84%;
  top: 18%;
}

.map-label {
  position: absolute;
  z-index: 2;
  color: var(--white);
  font-size: 0.86rem;
  font-weight: 800;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.45);
}

.label-sint {
  left: 8%;
  top: 82%;
}

.label-azores {
  left: 68%;
  top: 33%;
}

.label-bermuda {
  left: 31%;
  top: 47%;
}

.label-nl {
  left: 77%;
  top: 10%;
}

.map-frame {
  overflow: hidden;
  height: min(68vh, 640px);
  min-height: 420px;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.map-frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.map-fallback {
  margin-bottom: 0;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.gallery-grid img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 8px;
}

.sponsor-ticker {
  position: fixed;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 30;
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  height: var(--ticker-height);
  gap: 18px;
  padding: 10px clamp(16px, 4vw, 48px);
  background: rgba(255, 255, 255, 0.94);
  border-top: 1px solid var(--line);
  box-shadow: 0 -14px 34px rgba(7, 27, 45, 0.08);
  backdrop-filter: blur(18px);
}

.ticker-label {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 800;
  white-space: nowrap;
  text-transform: uppercase;
}

.ticker-window {
  overflow: hidden;
}

.ticker-track {
  display: flex;
  width: max-content;
  gap: 28px;
  align-items: center;
  animation: ticker 34s linear infinite;
}

.sponsor-ticker:hover .ticker-track,
.sponsor-ticker:focus-within .ticker-track {
  animation-play-state: paused;
}

.ticker-logo {
  display: inline-flex;
  min-width: 180px;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.ticker-logo img {
  width: 92px;
  height: 34px;
  object-fit: contain;
}

.ticker-logo span {
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 650;
}

@keyframes ticker {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .ticker-track,
  .progress-bar span,
  .button,
  .sponsor-logo-card {
    animation: none;
    transition: none;
  }

  .ticker-window {
    overflow-x: auto;
  }
}

@media (max-width: 860px) {
  .site-header {
    position: relative;
    align-items: flex-start;
    flex-direction: column;
  }

  .main-nav {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .two-column,
  .sponsor-card,
  .image-feature,
  .hero-intro,
  .post-grid,
  .post-grid.full {
    grid-template-columns: 1fr;
  }

  .hero-portrait {
    width: min(220px, 64vw);
  }

  .route-strip {
    grid-template-columns: 1fr;
  }

  .route-line {
    width: 1px;
    height: 38px;
    margin-left: 12px;
  }

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

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

  .sponsor-ticker {
    grid-template-columns: 1fr;
    height: 86px;
    gap: 6px;
  }

  body {
    padding-bottom: 110px;
  }
}

@media (max-width: 540px) {
  h1 {
    font-size: 2.35rem;
  }

  .hero-content {
    padding-bottom: 56px;
  }

  .button {
    width: 100%;
  }

  .sponsor-grid,
  .sponsor-grid.large {
    grid-template-columns: 1fr;
  }

  .progress-meta {
    flex-direction: column;
  }

  .ticker-logo {
    min-width: 150px;
  }
}
