:root {
  --ink: #0a1f22;
  --ink-soft: #18383b;
  --ocean: #0a3d43;
  --ocean-deep: #06191d;
  --ocean-light: #1b6970;
  --gold: #d4a955;
  --gold-light: #f1d391;
  --paper: #eee2c6;
  --paper-light: #f8f0df;
  --cream: #fff9ea;
  --muted: #a8bab8;
  --line-dark: rgba(9, 32, 35, 0.16);
  --line-light: rgba(255, 249, 234, 0.18);
  --shadow: 0 30px 80px rgba(2, 15, 17, 0.28);
  --serif: Georgia, "Times New Roman", serif;
  --sans: "Trebuchet MS", "Segoe UI", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper-light);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}

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

a {
  color: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 12px;
  left: 12px;
  padding: 10px 16px;
  color: var(--ink);
  background: var(--cream);
  border-radius: 4px;
  transform: translateY(-160%);
  transition: transform 180ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.container {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
}

.section {
  position: relative;
  padding: 116px 0;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 22px;
  color: var(--gold-light);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.21em;
  line-height: 1.3;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 34px;
  height: 1px;
  content: "";
  background: currentColor;
}

.eyebrow--dark {
  color: #8b632b;
}

.site-header {
  position: absolute;
  z-index: 20;
  top: 0;
  right: 0;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 92px;
  padding: 0 max(28px, calc((100vw - 1180px) / 2));
  color: var(--cream);
  border-bottom: 1px solid var(--line-light);
}

.site-header--solid {
  position: relative;
  color: var(--cream);
  background: var(--ocean-deep);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  color: inherit;
  text-decoration: none;
}

.brand__mark {
  position: relative;
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border: 1px solid rgba(241, 211, 145, 0.72);
  border-radius: 50%;
}

.brand__mark::before,
.brand__mark::after {
  position: absolute;
  content: "";
  background: rgba(241, 211, 145, 0.72);
}

.brand__mark::before {
  width: 50px;
  height: 1px;
}

.brand__mark::after {
  width: 1px;
  height: 50px;
}

.brand__needle {
  width: 7px;
  height: 29px;
  background: linear-gradient(to bottom, var(--gold-light) 0 48%, #8f4a2d 48%);
  clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%);
  transform: rotate(24deg);
}

.brand__text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand__text strong {
  font-family: var(--serif);
  font-size: 1.22rem;
  font-weight: 500;
  letter-spacing: 0.03em;
}

.brand__text small {
  margin-top: 5px;
  color: var(--muted);
  font-size: 0.59rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 30px;
}

.site-nav a {
  position: relative;
  color: rgba(255, 249, 234, 0.8);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-decoration: none;
  text-transform: uppercase;
  transition: color 180ms ease;
}

.site-nav a:not(.site-nav__privacy)::after {
  position: absolute;
  right: 0;
  bottom: -8px;
  left: 0;
  height: 1px;
  content: "";
  background: var(--gold-light);
  transform: scaleX(0);
  transition: transform 180ms ease;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--cream);
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after {
  transform: scaleX(1);
}

.site-nav__privacy {
  padding: 11px 16px;
  border: 1px solid rgba(241, 211, 145, 0.5);
  border-radius: 2px;
}

.hero {
  position: relative;
  display: grid;
  min-height: min(940px, 100svh);
  overflow: hidden;
  color: var(--cream);
  background: var(--ocean-deep);
  place-items: center;
}

.hero__image,
.hero__shade,
.hero__grain {
  position: absolute;
  inset: 0;
}

.hero__image {
  background-image: url("assets/world-map.png");
  background-position: center;
  background-size: cover;
  filter: saturate(0.82) contrast(1.04);
  transform: scale(1.035);
  animation: map-breathe 18s ease-in-out infinite alternate;
}

.hero__shade {
  background:
    linear-gradient(90deg, rgba(2, 15, 18, 0.94) 0%, rgba(3, 18, 21, 0.72) 43%, rgba(3, 18, 21, 0.2) 74%),
    linear-gradient(0deg, rgba(3, 19, 22, 0.75) 0%, transparent 35%, rgba(3, 19, 22, 0.35) 100%);
}

.hero__grain {
  opacity: 0.2;
  background-image:
    radial-gradient(rgba(255, 255, 255, 0.18) 0.45px, transparent 0.45px),
    radial-gradient(rgba(0, 0, 0, 0.22) 0.6px, transparent 0.6px);
  background-position: 0 0, 7px 11px;
  background-size: 9px 9px, 13px 13px;
  mix-blend-mode: overlay;
  pointer-events: none;
}

.hero__content {
  position: relative;
  z-index: 2;
  padding-top: 118px;
}

.hero__copy {
  width: min(720px, 68%);
  animation: rise-in 900ms 100ms both;
}

.hero h1 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(3rem, 5.5vw, 5.2rem);
  font-weight: 400;
  letter-spacing: -0.06em;
  line-height: 0.85;
  text-wrap: balance;
}

.hero h1 span {
  display: block;
  margin-top: 0.12em;
  color: var(--gold-light);
  font-style: italic;
}

.hero__lead {
  max-width: 620px;
  margin: 38px 0 0;
  color: rgba(255, 249, 234, 0.83);
  font-family: var(--serif);
  font-size: clamp(1.1rem, 1.5vw, 1.35rem);
  line-height: 1.65;
}

.hero__actions {
  display: flex;
  align-items: center;
  gap: 26px;
  margin-top: 38px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 28px;
  border: 1px solid transparent;
  border-radius: 2px;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-decoration: none;
  text-transform: uppercase;
  transition:
    background 180ms ease,
    border-color 180ms ease,
    color 180ms ease,
    transform 180ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
}

.button--primary {
  color: var(--ocean-deep);
  background: var(--gold-light);
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.25);
}

.button--primary:hover,
.button--primary:focus-visible {
  background: var(--cream);
}

.button--light {
  color: var(--cream);
  border-color: rgba(255, 249, 234, 0.52);
}

.button--light:hover,
.button--light:focus-visible {
  color: var(--ink);
  background: var(--cream);
}

.release-note {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: rgba(255, 249, 234, 0.66);
  font-size: 0.76rem;
  letter-spacing: 0.04em;
}

.release-note__dot {
  width: 7px;
  height: 7px;
  background: var(--gold-light);
  border-radius: 50%;
  box-shadow: 0 0 0 5px rgba(241, 211, 145, 0.13);
}

.hero__vessel {
  position: absolute;
  z-index: -1;
  right: 3%;
  bottom: 20%;
  width: 250px;
  filter: drop-shadow(0 24px 28px rgba(1, 12, 14, 0.5));
  transform: rotate(-5deg);
  animation: ship-float 5s ease-in-out infinite;
}

.hero__vessel img {
  width: 100%;
}

.hero__route {
  position: absolute;
  z-index: -1;
  top: 64%;
  right: 78%;
  width: 430px;
  height: 180px;
  border-top: 2px dashed rgba(255, 249, 234, 0.42);
  border-radius: 50%;
  transform: rotate(12deg);
}

.hero__facts {
  position: absolute;
  top: calc(100% + 78px);
  right: 0;
  left: 0;
  display: flex;
  gap: 0;
  margin: 0;
  animation: rise-in 900ms 350ms both;
}

.hero__facts dl {
  min-width: 180px;
  padding: 0 34px;
  margin: 0;
  border-left: 1px solid var(--line-light);
}

.hero__facts dl:first-child {
  padding-left: 0;
  border-left: 0;
}

.hero__facts dt {
  color: var(--cream);
  font-family: var(--serif);
  font-size: 1.17rem;
}

.hero__facts dd {
  margin: 5px 0 0;
  color: rgba(255, 249, 234, 0.52);
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.scroll-cue {
  position: absolute;
  z-index: 3;
  right: max(28px, calc((100vw - 1180px) / 2));
  bottom: 34px;
  display: flex;
  align-items: center;
  gap: 13px;
  color: rgba(255, 249, 234, 0.55);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-decoration: none;
  text-transform: uppercase;
}

.scroll-cue span {
  position: relative;
  width: 1px;
  height: 42px;
  overflow: hidden;
  background: rgba(255, 249, 234, 0.2);
}

.scroll-cue span::after {
  position: absolute;
  top: -100%;
  width: 1px;
  height: 100%;
  content: "";
  background: var(--gold-light);
  animation: scroll-line 2.2s ease-in-out infinite;
}

.manifesto {
  overflow: hidden;
  background:
    linear-gradient(rgba(248, 240, 223, 0.94), rgba(248, 240, 223, 0.94)),
    url("assets/world-map.png") center / cover;
}

.manifesto::before {
  position: absolute;
  top: 22px;
  left: 50%;
  width: min(1180px, calc(100% - 48px));
  height: 1px;
  content: "";
  background: var(--line-dark);
  transform: translateX(-50%);
}

.manifesto__grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 100px;
  align-items: start;
}

.section-heading h2 {
  margin: 0;
  color: var(--ink);
  font-family: var(--serif);
  font-size: clamp(2.2rem, 3.5vw, 3.4rem);
  font-weight: 400;
  letter-spacing: -0.04em;
  line-height: 1.02;
  text-wrap: balance;
}

.section-heading > p:last-child {
  max-width: 660px;
  margin: 24px auto 0;
  color: #526b6b;
  font-size: 1.05rem;
}

.section-heading--centered {
  max-width: 780px;
  margin: 0 auto 70px;
  text-align: center;
}

.section-heading--centered .eyebrow {
  justify-content: center;
}

.manifesto__copy {
  padding-top: 38px;
  color: #486061;
}

.manifesto__copy .lead {
  margin-top: 0;
  color: var(--ink);
  font-family: var(--serif);
  font-size: 1.35rem;
  line-height: 1.65;
}

.manifesto__copy p:last-child {
  margin-bottom: 0;
}

.features {
  color: var(--cream);
  background:
    radial-gradient(circle at 84% 14%, rgba(40, 107, 111, 0.32), transparent 28%),
    var(--ocean-deep);
}

.features .section-heading h2 {
  color: var(--cream);
}

.features .section-heading > p:last-child {
  color: var(--muted);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border-top: 1px solid var(--line-light);
  border-left: 1px solid var(--line-light);
}

.feature {
  position: relative;
  min-height: 360px;
  padding: 50px;
  overflow: hidden;
  border-right: 1px solid var(--line-light);
  border-bottom: 1px solid var(--line-light);
  transition: background 220ms ease;
}

.feature:hover {
  background: rgba(255, 255, 255, 0.035);
}

.feature__number {
  position: absolute;
  top: 25px;
  right: 27px;
  color: rgba(255, 249, 234, 0.32);
  font-family: var(--serif);
  font-size: 0.8rem;
}

.feature h3 {
  margin: 26px 0 12px;
  font-family: var(--serif);
  font-size: 1.65rem;
  font-weight: 400;
}

.feature p {
  max-width: 440px;
  margin: 0;
  color: var(--muted);
}

.feature__icon {
  position: relative;
  width: 70px;
  height: 70px;
  border: 1px solid rgba(241, 211, 145, 0.45);
  border-radius: 50%;
}

.feature__icon--trade::before,
.feature__icon--trade::after {
  position: absolute;
  left: 50%;
  content: "";
  background: var(--gold-light);
  transform: translateX(-50%);
}

.feature__icon--trade::before {
  top: 16px;
  width: 1px;
  height: 36px;
}

.feature__icon--trade::after {
  top: 26px;
  width: 34px;
  height: 1px;
}

.feature__icon--trade span::before,
.feature__icon--trade span::after {
  position: absolute;
  top: 27px;
  width: 13px;
  height: 13px;
  content: "";
  border-right: 1px solid var(--gold-light);
  border-bottom: 1px solid var(--gold-light);
  transform: rotate(45deg);
}

.feature__icon--trade span::before {
  left: 12px;
}

.feature__icon--trade span::after {
  right: 12px;
}

.feature__icon--compass::before {
  position: absolute;
  inset: 15px;
  content: "";
  border: 1px solid rgba(241, 211, 145, 0.5);
  border-radius: 50%;
}

.feature__icon--compass span {
  position: absolute;
  top: 15px;
  left: 31px;
  width: 7px;
  height: 39px;
  background: linear-gradient(to bottom, var(--gold-light) 0 50%, #975837 50%);
  clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%);
  transform: rotate(30deg);
}

.feature__icon--story::before,
.feature__icon--story::after,
.feature__icon--story span {
  position: absolute;
  left: 19px;
  width: 31px;
  height: 1px;
  content: "";
  background: var(--gold-light);
}

.feature__icon--story::before {
  top: 23px;
}

.feature__icon--story::after {
  top: 34px;
}

.feature__icon--story span {
  top: 45px;
  width: 20px;
}

.feature__icon--history::before {
  position: absolute;
  inset: 15px;
  content: "";
  border: 1px solid rgba(241, 211, 145, 0.5);
  border-radius: 50%;
}

.feature__icon--history::after {
  position: absolute;
  top: 22px;
  left: 34px;
  width: 1px;
  height: 13px;
  content: "";
  background: var(--gold-light);
}

.feature__icon--history span {
  position: absolute;
  top: 34px;
  left: 34px;
  width: 11px;
  height: 1px;
  background: var(--gold-light);
  transform: rotate(28deg);
  transform-origin: left center;
}

.feature--wide {
  display: block;
}

.feature--wide .feature__icon {
  z-index: 1;
}

.feature--wide .feature__content {
  position: relative;
  z-index: 1;
  width: 100%;
}

.feature--wide h3 {
  margin-top: 26px;
}

.feature--wide p {
  max-width: none;
}

.feature__date {
  position: absolute;
  z-index: 0;
  top: 50%;
  right: 50px;
  color: rgba(241, 211, 145, 0.14);
  font-family: var(--serif);
  font-size: clamp(5rem, 10vw, 9rem);
  font-weight: 400;
  letter-spacing: -0.08em;
  line-height: 1;
  pointer-events: none;
  transform: translateY(-50%);
}

.world {
  background: var(--paper-light);
}

.section-heading--split {
  display: grid;
  grid-template-columns: 1fr 0.55fr;
  gap: 70px;
  align-items: end;
  margin-bottom: 64px;
}

.section-heading--split > p {
  margin: 0 0 8px;
  color: #526b6b;
}

.world-gallery {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr;
  grid-template-rows: repeat(2, 330px);
  gap: 18px;
}

.world-gallery figure {
  position: relative;
  margin: 0;
  overflow: hidden;
  background: var(--ocean);
  box-shadow: var(--shadow);
}

.world-gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 700ms cubic-bezier(0.2, 0.7, 0.2, 1);
}

.world-gallery figure:hover img {
  transform: scale(1.035);
}

.world-gallery figure::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(0deg, rgba(2, 15, 18, 0.82), transparent 58%);
  pointer-events: none;
}

.world-gallery__map {
  grid-row: 1 / 3;
}

.world-gallery__map img {
  object-position: center;
}

.world-gallery figcaption {
  position: absolute;
  z-index: 2;
  right: 28px;
  bottom: 26px;
  left: 28px;
  display: flex;
  flex-direction: column;
  color: var(--cream);
}

.world-gallery figcaption span {
  margin-bottom: 5px;
  color: var(--gold-light);
  font-size: 0.67rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.world-gallery figcaption strong {
  font-family: var(--serif);
  font-size: 1.35rem;
  font-weight: 400;
  line-height: 1.3;
}

.fleet {
  overflow: hidden;
  color: var(--cream);
  background: #0a272b;
}

.fleet::before {
  position: absolute;
  inset: 0;
  content: "";
  opacity: 0.08;
  background: url("assets/world-map.png") center / cover;
  filter: grayscale(1);
}

.fleet__glow {
  position: absolute;
  top: 50%;
  right: 10%;
  width: 620px;
  height: 620px;
  background: radial-gradient(circle, rgba(51, 121, 123, 0.38), transparent 68%);
  border-radius: 50%;
  transform: translateY(-50%);
}

.fleet__grid {
  position: relative;
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 70px;
  align-items: center;
}

.fleet__copy h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(2.2rem, 3.5vw, 3.4rem);
  font-weight: 400;
  letter-spacing: -0.04em;
  line-height: 1;
}

.fleet__copy > p:not(.eyebrow) {
  margin: 28px 0 0;
  color: var(--muted);
}

.fleet__list {
  padding: 0;
  margin: 30px 0 0;
  list-style: none;
}

.fleet__list li {
  position: relative;
  padding: 13px 0 13px 28px;
  color: rgba(255, 249, 234, 0.82);
  border-top: 1px solid var(--line-light);
}

.fleet__list li::before {
  position: absolute;
  top: 22px;
  left: 3px;
  width: 8px;
  height: 8px;
  content: "";
  border-top: 1px solid var(--gold-light);
  border-right: 1px solid var(--gold-light);
  transform: rotate(45deg);
}

.fleet__ships {
  position: relative;
  min-height: 520px;
}

.ship {
  position: absolute;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.ship img {
  width: 100%;
  filter: drop-shadow(0 24px 22px rgba(0, 0, 0, 0.42));
}

.ship span {
  margin-top: 12px;
  color: var(--gold-light);
  font-family: var(--serif);
  font-size: 1rem;
  letter-spacing: 0.08em;
}

.ship--galleon {
  z-index: 3;
  top: 105px;
  left: 34%;
  width: 280px;
}

.ship--carrack {
  z-index: 2;
  top: 5px;
  left: 0;
  width: 220px;
  opacity: 0.72;
}

.ship--frigate {
  z-index: 1;
  right: 0;
  bottom: 10px;
  width: 235px;
  opacity: 0.76;
}

.closing {
  display: grid;
  min-height: 620px;
  overflow: hidden;
  color: var(--cream);
  background: var(--ocean-deep);
  place-items: center;
}

.closing__map {
  position: absolute;
  inset: 0;
  opacity: 0.46;
  background: url("assets/world-map.png") center 58% / cover;
  filter: saturate(0.75);
}

.closing::after {
  position: absolute;
  inset: 0;
  content: "";
  background:
    radial-gradient(circle at center, rgba(5, 31, 35, 0.34), rgba(2, 14, 16, 0.92)),
    linear-gradient(0deg, var(--ocean-deep), transparent 30%);
}

.closing__content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  text-align: center;
}

.closing__content .eyebrow {
  justify-content: center;
}

.closing__content h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(2.4rem, 4vw, 4rem);
  font-weight: 400;
  letter-spacing: -0.045em;
  line-height: 0.98;
  text-wrap: balance;
}

.closing__content p:not(.eyebrow) {
  max-width: 620px;
  margin: 26px auto 34px;
  color: var(--muted);
  font-family: var(--serif);
  font-size: 1.18rem;
}

.site-footer {
  padding: 42px 0;
  color: var(--muted);
  background: #041215;
  border-top: 1px solid var(--line-light);
}

.site-footer__inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 30px;
  align-items: center;
}

.brand--footer {
  color: var(--cream);
}

.site-footer p {
  margin: 0;
  font-family: var(--serif);
  font-size: 0.95rem;
  text-align: center;
}

.site-footer__links {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 7px;
  font-size: 0.72rem;
}

.site-footer__links a {
  color: var(--cream);
  text-underline-offset: 4px;
}

.privacy-page {
  min-height: 100vh;
  background: #eee5d3;
}

.privacy-main {
  min-height: calc(100vh - 200px);
}

.privacy-hero {
  position: relative;
  display: flex;
  min-height: 380px;
  overflow: hidden;
  align-items: center;
  color: var(--cream);
  background: var(--ocean-deep);
}

.privacy-hero__map,
.privacy-hero__shade {
  position: absolute;
  inset: 0;
}

.privacy-hero__map {
  opacity: 0.48;
  background: url("assets/world-map.png") center 42% / cover;
}

.privacy-hero__shade {
  background: linear-gradient(90deg, rgba(3, 18, 21, 0.95), rgba(3, 18, 21, 0.34));
}

.privacy-hero__content {
  position: relative;
  z-index: 2;
}

.privacy-hero h1 {
  max-width: 900px;
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(2rem, 3vw, 3rem);
  font-weight: 400;
  letter-spacing: -0.045em;
  line-height: 1;
}

.privacy-hero__content > p:last-child {
  margin: 20px 0 0;
  color: var(--gold-light);
  font-family: var(--serif);
  font-size: 1.15rem;
}

.privacy-content {
  padding-top: 82px;
}

.privacy-document {
  position: relative;
  max-width: 850px;
  min-height: 430px;
  padding: 72px 82px;
  margin: 0 auto;
  overflow: hidden;
  background:
    linear-gradient(rgba(255, 249, 234, 0.96), rgba(255, 249, 234, 0.96)),
    url("assets/world-map.png") center / cover;
  border: 1px solid rgba(113, 79, 35, 0.22);
  box-shadow: 0 26px 70px rgba(42, 33, 20, 0.14);
}

.privacy-document::before,
.privacy-document::after {
  position: absolute;
  inset: 14px;
  content: "";
  border: 1px solid rgba(113, 79, 35, 0.12);
  pointer-events: none;
}

.privacy-document::after {
  inset: 20px;
}

.privacy-document h2 {
  max-width: 580px;
  margin: 0 0 26px;
  font-family: var(--serif);
  font-size: clamp(1.45rem, 2.5vw, 2.1rem);
  font-weight: 400;
  letter-spacing: -0.035em;
  line-height: 1.05;
}

.privacy-document p:not(.eyebrow) {
  max-width: 610px;
  color: #486061;
}

.privacy-document__mark {
  position: absolute;
  top: 58px;
  right: 64px;
  display: grid;
  width: 86px;
  height: 86px;
  place-items: center;
  border: 1px solid rgba(139, 99, 43, 0.36);
  border-radius: 50%;
}

.privacy-document__mark::before,
.privacy-document__mark::after {
  position: absolute;
  content: "";
  background: rgba(139, 99, 43, 0.36);
}

.privacy-document__mark::before {
  width: 106px;
  height: 1px;
}

.privacy-document__mark::after {
  width: 1px;
  height: 106px;
}

.privacy-document__mark span {
  width: 12px;
  height: 58px;
  background: linear-gradient(to bottom, #b0833d 0 50%, #7e452e 50%);
  clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%);
  transform: rotate(31deg);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 24px;
  color: #7c5729;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-underline-offset: 5px;
  text-transform: uppercase;
}

.music-toggle {
  position: fixed;
  z-index: 100;
  right: max(22px, env(safe-area-inset-right));
  bottom: max(92px, env(safe-area-inset-bottom));
  display: grid;
  width: 58px;
  height: 58px;
  padding: 0;
  color: var(--gold-light);
  background: rgba(6, 25, 29, 0.92);
  border: 1px solid rgba(241, 211, 145, 0.72);
  border-radius: 50%;
  box-shadow: 0 14px 36px rgba(2, 15, 17, 0.38);
  cursor: pointer;
  place-items: center;
  transition:
    color 180ms ease,
    background 180ms ease,
    box-shadow 180ms ease,
    transform 180ms ease;
  backdrop-filter: blur(8px);
}

.music-toggle:hover {
  transform: translateY(-2px);
}

.music-toggle:focus-visible {
  outline: 3px solid var(--cream);
  outline-offset: 4px;
}

.music-toggle[aria-pressed="true"] {
  color: var(--ocean-deep);
  background: var(--gold-light);
  box-shadow:
    0 14px 36px rgba(2, 15, 17, 0.38),
    0 0 0 6px rgba(241, 211, 145, 0.16);
}

.music-toggle__icon {
  width: 25px;
  height: 25px;
  fill: currentColor;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.music-toggle__icon--on {
  display: none;
}

.music-toggle[aria-pressed="true"] .music-toggle__icon--off {
  display: none;
}

.music-toggle[aria-pressed="true"] .music-toggle__icon--on {
  display: block;
}

@keyframes map-breathe {
  from {
    transform: scale(1.035);
  }

  to {
    transform: scale(1.075);
  }
}

@keyframes rise-in {
  from {
    opacity: 0;
    transform: translateY(22px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes ship-float {
  0%,
  100% {
    transform: translateY(0) rotate(-5deg);
  }

  50% {
    transform: translateY(-10px) rotate(-3deg);
  }
}

@keyframes scroll-line {
  0% {
    transform: translateY(0);
  }

  100% {
    transform: translateY(200%);
  }
}

@media (max-width: 1050px) {
  .site-nav {
    gap: 20px;
  }

  .site-nav a:not(.site-nav__privacy) {
    display: none;
  }

  .hero__copy {
    width: min(700px, 82%);
  }

  .hero__vessel {
    right: -4%;
    width: 210px;
    opacity: 0.72;
  }

  .manifesto__grid,
  .fleet__grid {
    gap: 55px;
  }

  .ship--galleon {
    left: 27%;
  }
}

@media (max-width: 820px) {
  .section {
    padding: 88px 0;
  }

  .hero {
    min-height: 860px;
  }

  .hero__shade {
    background:
      linear-gradient(90deg, rgba(2, 15, 18, 0.92), rgba(3, 18, 21, 0.5)),
      linear-gradient(0deg, rgba(3, 19, 22, 0.78), transparent 55%);
  }

  .hero__content {
    padding-top: 80px;
  }

  .hero__copy {
    width: 100%;
  }

  .hero h1 {
    font-size: clamp(3rem, 10vw, 4.4rem);
  }

  .hero__vessel {
    right: 0;
    bottom: 16%;
    width: 185px;
    opacity: 0.42;
  }

  .hero__facts {
    top: calc(100% + 64px);
  }

  .hero__facts dl {
    min-width: auto;
    padding: 0 22px;
  }

  .manifesto__grid,
  .section-heading--split,
  .fleet__grid {
    grid-template-columns: 1fr;
  }

  .manifesto__grid {
    gap: 20px;
  }

  .manifesto__copy {
    padding-top: 0;
  }

  .section-heading--split {
    gap: 24px;
  }

  .feature {
    min-height: 330px;
    padding: 38px;
  }

  .world-gallery {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 430px 300px;
  }

  .world-gallery__map {
    grid-column: 1 / 3;
    grid-row: 1;
  }

  .fleet__grid {
    gap: 20px;
  }

  .fleet__ships {
    min-height: 500px;
  }

  .site-footer__inner {
    grid-template-columns: 1fr 1fr;
  }

  .site-footer p {
    display: none;
  }

  .privacy-document {
    padding: 64px 52px;
  }

  .privacy-document__mark {
    opacity: 0.42;
  }
}

@media (max-width: 620px) {
  .container {
    width: min(100% - 32px, 1180px);
  }

  .site-header {
    min-height: 78px;
    padding: 0 18px;
  }

  .brand__mark {
    width: 34px;
    height: 34px;
  }

  .brand__mark::before {
    width: 42px;
  }

  .brand__mark::after {
    height: 42px;
  }

  .brand__needle {
    height: 24px;
  }

  .brand__text strong {
    font-size: 1.05rem;
  }

  .site-nav__privacy {
    padding: 9px 11px;
    font-size: 0.62rem !important;
  }

  .hero {
    min-height: 800px;
  }

  .hero__content {
    padding-top: 70px;
  }

  .hero h1 {
    font-size: clamp(2.7rem, 13vw, 3.8rem);
  }

  .hero__lead {
    margin-top: 28px;
    font-size: 1rem;
  }

  .hero__actions {
    align-items: flex-start;
    flex-direction: column;
    gap: 18px;
    margin-top: 30px;
  }

  .hero__facts {
    top: calc(100% + 52px);
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    row-gap: 22px;
  }

  .hero__facts dl {
    padding: 0 14px;
  }

  .hero__facts dl:nth-child(3) {
    display: none;
  }

  .hero__facts dl:nth-child(2) {
    border-left: 1px solid var(--line-light);
  }

  .hero__vessel,
  .scroll-cue {
    display: none;
  }

  .section {
    padding: 72px 0;
  }

  .section-heading h2,
  .fleet__copy h2 {
    font-size: clamp(2rem, 8vw, 2.8rem);
  }

  .manifesto__copy .lead {
    font-size: 1.17rem;
  }

  .feature-grid {
    grid-template-columns: 1fr;
  }

  .feature {
    min-height: auto;
    padding: 34px 30px 38px;
  }

  .feature--wide {
    display: block;
  }

  .feature__date {
    right: 30px;
    display: block;
    margin-top: 0;
    font-size: 5rem;
  }

  .world-gallery {
    display: flex;
    flex-direction: column;
  }

  .world-gallery figure {
    min-height: 290px;
  }

  .world-gallery__map {
    min-height: 360px !important;
  }

  .fleet__ships {
    min-height: 390px;
    margin-top: 20px;
  }

  .ship--galleon {
    top: 90px;
    left: 24%;
    width: 210px;
  }

  .ship--carrack {
    width: 150px;
  }

  .ship--frigate {
    width: 160px;
  }

  .closing {
    min-height: 560px;
  }

  .closing__content h2 {
    font-size: clamp(2.2rem, 9vw, 3.1rem);
  }

  .site-footer__inner {
    display: flex;
    align-items: flex-start;
    flex-direction: column;
  }

  .site-footer__links {
    align-items: flex-start;
  }

  .privacy-hero {
    min-height: 310px;
  }

  .privacy-hero h1 {
    font-size: clamp(1.9rem, 8vw, 2.6rem);
  }

  .privacy-content {
    padding: 28px 0 70px;
  }

  .privacy-document {
    min-height: 430px;
    padding: 52px 32px;
  }

  .privacy-document__mark {
    top: auto;
    right: 28px;
    bottom: 36px;
    width: 60px;
    height: 60px;
    opacity: 0.22;
  }

  .privacy-document__mark::before {
    width: 74px;
  }

  .privacy-document__mark::after {
    height: 74px;
  }

  .privacy-document__mark span {
    height: 42px;
  }

  .music-toggle {
    right: max(16px, env(safe-area-inset-right));
    bottom: max(16px, env(safe-area-inset-bottom));
    width: 52px;
    height: 52px;
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
