:root {
  --ink: #102c32;
  --ocean: #0a3944;
  --deep-ocean: #06252e;
  --sea: #407b7d;
  --foam: #dce5dd;
  --paper: #f3eddf;
  --paper-dark: #e5d9c3;
  --coral: #c9664e;
  --gold: #b28a4a;
  --serif: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Georgia, serif;
  --sans: Inter, Avenir, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  background: var(--deep-ocean);
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
}

a { color: inherit; }

.site-header {
  position: absolute;
  z-index: 10;
  top: 0;
  left: 0;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 28px clamp(24px, 6vw, 92px);
  color: var(--paper);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--serif);
  font-size: 25px;
  font-weight: 600;
  letter-spacing: .08em;
  text-decoration: none;
  text-transform: uppercase;
}

.brand-mark {
  display: grid;
  width: 35px;
  height: 35px;
  place-items: center;
  border: 1px solid rgba(243, 237, 223, .65);
  border-radius: 50%;
  font-size: 21px;
  line-height: 1;
}

nav { display: flex; gap: clamp(18px, 3vw, 42px); }

nav a {
  position: relative;
  font-size: 12px;
  letter-spacing: .12em;
  text-decoration: none;
  text-transform: uppercase;
}

nav a::after {
  position: absolute;
  right: 0;
  bottom: -7px;
  left: 0;
  height: 1px;
  background: currentColor;
  content: "";
  transform: scaleX(0);
  transition: transform .25s ease;
}

nav a:hover::after { transform: scaleX(1); }

.hero {
  position: relative;
  display: grid;
  min-height: 100svh;
  grid-template-columns: minmax(0, .88fr) minmax(440px, 1.12fr);
  overflow: hidden;
  background: var(--ocean);
  color: var(--paper);
}

.hero::before {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: radial-gradient(circle at 25% 45%, rgba(64, 123, 125, .42), transparent 38%), linear-gradient(130deg, var(--deep-ocean), var(--ocean) 62%);
  content: "";
}

.hero-copy {
  position: relative;
  z-index: 2;
  align-self: center;
  padding: 140px 6vw 110px;
}

.eyebrow {
  margin: 0 0 22px;
  color: var(--coral);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .24em;
  text-transform: uppercase;
}

h1, h2, h3, p { margin-top: 0; }

h1 {
  max-width: 680px;
  margin-bottom: 28px;
  font-family: var(--serif);
  font-size: clamp(64px, 7.2vw, 116px);
  font-weight: 500;
  letter-spacing: -.045em;
  line-height: .83;
}

.hero-intro {
  max-width: 560px;
  margin-bottom: 42px;
  color: rgba(243, 237, 223, .8);
  font-family: var(--serif);
  font-size: clamp(20px, 1.7vw, 27px);
  line-height: 1.42;
}

.primary-link, .text-link {
  display: inline-flex;
  align-items: center;
  gap: 22px;
  padding-bottom: 7px;
  border-bottom: 1px solid currentColor;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .13em;
  text-decoration: none;
  text-transform: uppercase;
}

.primary-link span, .text-link span { transition: transform .2s ease; }
.primary-link:hover span, .text-link:hover span { transform: translateX(5px); }

.chart {
  position: relative;
  z-index: 1;
  min-height: 720px;
  overflow: hidden;
  opacity: .92;
}

.chart::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, var(--ocean), transparent 22%);
  content: "";
  pointer-events: none;
}

.chart-grid {
  position: absolute;
  inset: -10%;
  background-image: linear-gradient(rgba(220, 229, 221, .08) 1px, transparent 1px), linear-gradient(90deg, rgba(220, 229, 221, .08) 1px, transparent 1px);
  background-size: 65px 65px;
  transform: rotate(-7deg) scale(1.1);
}

.route-map { position: absolute; inset: 5% -3% 0 2%; width: 100%; height: 90%; }
.coast { fill: rgba(220, 229, 221, .16); stroke: rgba(220, 229, 221, .38); stroke-width: 2; }
.route-shadow { fill: none; stroke: rgba(6, 37, 46, .45); stroke-width: 5; }
.route { fill: none; stroke: var(--coral); stroke-dasharray: 4 13; stroke-linecap: round; stroke-width: 3; }
.route-point { fill: var(--coral); stroke: var(--paper); stroke-width: 3; }
.ship { fill: none; stroke: var(--paper); stroke-linecap: round; stroke-linejoin: round; stroke-width: 3; }

.compass {
  position: absolute;
  right: 9%;
  bottom: 10%;
  display: grid;
  width: 132px;
  height: 132px;
  place-items: center;
  border: 1px solid rgba(243, 237, 223, .3);
  border-radius: 50%;
}

.compass::before, .compass::after { position: absolute; background: rgba(243, 237, 223, .25); content: ""; }
.compass::before { width: 1px; height: 155px; }
.compass::after { width: 155px; height: 1px; }
.north { position: absolute; top: -27px; font-family: var(--serif); }
.compass-rose { color: var(--coral); font-size: 52px; transform: rotate(18deg); }
.coordinates { position: absolute; top: 15%; right: 8%; color: rgba(243, 237, 223, .55); font-size: 10px; letter-spacing: .2em; }
.scroll-note { position: absolute; z-index: 3; bottom: 32px; left: 6vw; margin: 0; color: rgba(243, 237, 223, .5); font-size: 9px; letter-spacing: .25em; text-transform: uppercase; writing-mode: vertical-rl; }

.manifesto {
  display: grid;
  padding: clamp(100px, 13vw, 190px) 6vw;
  grid-template-columns: .18fr 1.3fr .7fr;
  gap: 5vw;
  background: var(--paper);
}

.section-number { color: var(--coral); font-family: var(--serif); font-size: 20px; }

h2 {
  margin-bottom: 0;
  font-family: var(--serif);
  font-size: clamp(45px, 5.4vw, 78px);
  font-weight: 500;
  letter-spacing: -.035em;
  line-height: .98;
}

.manifesto-copy { align-self: end; margin-bottom: 4px; color: #496064; font-family: var(--serif); font-size: 21px; line-height: 1.5; }

.logbook { padding: clamp(90px, 11vw, 160px) 6vw; background: #e8dfce; }

.section-heading {
  display: grid;
  margin-bottom: 70px;
  grid-template-columns: 1fr 360px;
  gap: 6vw;
  align-items: end;
}

.section-heading > p { margin-bottom: 5px; color: #566a6d; }
.story-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 22px; }

.story-card {
  position: relative;
  min-width: 0;
  border-top: 1px solid rgba(16, 44, 50, .25);
}

.card-index { margin: 14px 0; color: var(--coral); font-family: var(--serif); font-size: 15px; }

.card-art {
  position: relative;
  display: flex;
  min-height: 260px;
  align-items: end;
  padding: 18px;
  overflow: hidden;
  background-color: var(--sea);
  color: rgba(243, 237, 223, .75);
  font-size: 9px;
  letter-spacing: .22em;
  text-transform: uppercase;
}

.featured .card-art { min-height: 370px; }

.card-art::before, .card-art::after { position: absolute; content: ""; }
.card-art::before { inset: 0; background: repeating-radial-gradient(ellipse at 30% 120%, transparent 0 28px, rgba(243, 237, 223, .15) 29px 30px); }
.card-art::after { width: 150px; height: 150px; top: 50%; left: 50%; border: 1px solid rgba(243, 237, 223, .35); border-radius: 50%; transform: translate(-50%, -50%); box-shadow: 0 0 0 22px rgba(243, 237, 223, .05), 0 0 0 55px rgba(243, 237, 223, .04); }
.card-art-spice { background-color: #9c7254; }
.card-art-pacific { background-color: #315d68; }
.card-art span { position: relative; z-index: 1; }
.card-copy { padding: 25px 8px 15px 0; }
.card-kicker { margin-bottom: 9px; color: var(--coral); font-size: 9px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; }
.card-copy h3 { margin-bottom: 13px; font-family: var(--serif); font-size: 32px; font-weight: 600; line-height: 1; }
.card-copy > p:last-child { color: #586b6d; font-size: 13px; }

.about {
  display: grid;
  padding: clamp(100px, 13vw, 180px) 8vw;
  grid-template-columns: 180px 1fr 230px;
  gap: 6vw;
  align-items: center;
  background: var(--deep-ocean);
  color: var(--paper);
}

.seal {
  display: grid;
  width: 160px;
  height: 160px;
  place-content: center;
  border: 1px solid rgba(243, 237, 223, .32);
  border-radius: 50%;
  outline: 1px solid rgba(243, 237, 223, .17);
  outline-offset: -9px;
  text-align: center;
}

.seal span { font-family: var(--serif); font-size: 66px; line-height: .8; }
.seal small { margin-top: 12px; color: var(--coral); font-size: 8px; letter-spacing: .3em; }
.about-copy h2 { max-width: 800px; margin-bottom: 30px; }
.about-copy > p:last-child { max-width: 650px; color: rgba(243, 237, 223, .65); }
.about .text-link { justify-self: end; }

footer {
  display: flex;
  justify-content: space-between;
  padding: 25px 6vw;
  border-top: 1px solid rgba(243, 237, 223, .1);
  background: var(--deep-ocean);
  color: rgba(243, 237, 223, .45);
  font-size: 9px;
  letter-spacing: .16em;
  text-transform: uppercase;
}

footer p { margin: 0; }

@media (max-width: 900px) {
  nav { display: none; }
  .hero { grid-template-columns: 1fr; }
  .hero-copy { min-height: 86svh; padding-top: 170px; }
  .chart { position: absolute; inset: 0; min-height: 100%; opacity: .38; }
  .hero-intro { max-width: 500px; }
  .manifesto { grid-template-columns: 40px 1fr; }
  .manifesto-copy { grid-column: 2; max-width: 600px; }
  .story-grid { grid-template-columns: 1fr 1fr; }
  .story-card.featured { grid-column: 1 / -1; }
  .featured .card-art { min-height: 300px; }
  .about { grid-template-columns: 140px 1fr; }
  .seal { width: 130px; height: 130px; }
  .about .text-link { grid-column: 2; justify-self: start; }
}

@media (max-width: 620px) {
  .site-header { padding: 22px 24px; }
  .hero-copy { padding: 145px 24px 90px; }
  h1 { font-size: clamp(58px, 19vw, 86px); }
  .hero-intro { font-size: 20px; }
  .scroll-note { display: none; }
  .manifesto { padding-right: 24px; padding-left: 24px; grid-template-columns: 1fr; }
  .manifesto .section-number { display: none; }
  .manifesto-copy { grid-column: 1; }
  .logbook { padding-right: 24px; padding-left: 24px; }
  .section-heading { grid-template-columns: 1fr; }
  .story-grid { grid-template-columns: 1fr; }
  .story-card.featured { grid-column: auto; }
  .card-art, .featured .card-art { min-height: 270px; }
  .about { padding-right: 24px; padding-left: 24px; grid-template-columns: 1fr; }
  .seal { width: 110px; height: 110px; }
  .about .text-link { grid-column: 1; }
  footer { flex-direction: column; gap: 8px; padding-right: 24px; padding-left: 24px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}
