@font-face {
  font-family: Cormorant;
  src: url("fonts/cormorant.woff2") format("woff2");
  font-weight: 500;
  font-display: swap;
}

@font-face {
  font-family: Cormorant;
  src: url("fonts/cormorant-italic.woff2") format("woff2");
  font-weight: 500;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: Nunito;
  src: url("../../assets/fonts/nunito-latin.woff2") format("woff2");
  font-weight: 400 900;
  font-display: swap;
}

:root {
  color-scheme: dark;
  --ink: #09151e;
  --deep: #070e15;
  --paper: #f8edda;
  --muted: #c5c6c4;
  --gold: #ecc994;
  --line: #dbb87a55;
  --serif: Cormorant, "Times New Roman", serif;
  --sans: Nunito, system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-padding-top: 1.5rem; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--paper);
  font: 400 1rem/1.65 var(--sans);
}
a { color: inherit; }
img { display: block; max-width: 100%; }
button { font: inherit; color: inherit; }
::selection { background: var(--gold); color: var(--deep); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 4px; }
.wrap { width: min(1220px, calc(100% - 2 * clamp(18px, 5.75vw, 92px))); margin-inline: auto; }
.skip { position: fixed; z-index: 10; top: .7rem; left: .7rem; padding: .65rem 1rem; color: var(--deep); background: var(--gold); transform: translateY(-150%); }
.skip:focus { transform: none; }
.eyebrow {
  display: flex;
  align-items: center;
  gap: .65rem;
  margin: 0;
  color: var(--gold);
  font-size: .875rem;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.gold-diamond { width: 6px; height: 6px; background: var(--gold); transform: rotate(45deg); }
h1, h2, h3 { margin: 0; font: 500 1em/.9 var(--serif); letter-spacing: -.055em; }
h1 em, h2 em { color: var(--gold); font-weight: 500; }
h2 { font-size: clamp(3.25rem, 7vw, 6.6rem); }

.masthead {
  position: absolute;
  z-index: 3;
  top: 0;
  inset-inline: 0;
  padding-top: env(safe-area-inset-top);
  background: linear-gradient(180deg, #070f17ba, #070f1700);
}
.masthead-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .9rem;
  min-height: 78px;
  border-bottom: 1px solid var(--line);
}
.brand, .main-nav {
  display: flex;
  align-items: center;
  gap: .65rem;
}
.brand {
  width: fit-content;
  color: var(--paper);
  font-size: .86rem;
  font-weight: 800;
  letter-spacing: .11em;
  line-height: 1.15;
  text-decoration: none;
  text-transform: uppercase;
}
.brand img { flex: 0 0 auto; object-fit: contain; }
.main-nav { gap: clamp(.65rem, 3vw, 2.5rem); }
.main-nav a {
  display: grid;
  place-items: center;
  min-height: 44px;
  color: var(--paper);
  font-size: .94rem;
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
}
.main-nav .nav-release { padding-inline: .8rem; border: 1px solid var(--line); color: var(--gold); background: #0b1722c4; }
.main-nav a:hover, .footer a:hover { color: var(--gold); }
.main-nav .nav-release:hover { border-color: var(--gold); }

.hero {
  position: relative;
  isolation: isolate;
  display: grid;
  min-height: 710px;
  min-height: clamp(710px, 100svh, 1020px);
  overflow: hidden;
}
.hero-visual, .hero-picture, .hero-mist, .sea-spray { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-visual { z-index: -1; background: var(--ink); }
.hero-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, #07121bf0 0%, #09151eb8 25%, #09151e54 53%, transparent 73%),
              linear-gradient(0deg, var(--ink) 0%, #09151e64 25%, transparent 50%);
}
.hero-picture { transform: translate3d(var(--drift-x, 0), var(--drift-y, 0), 0) scale(1.025); }
.hero-picture img { width: 100%; height: 100%; object-fit: cover; object-position: 70% 43%; }
.hero-mist {
  inset: auto -10% -8% -10%;
  width: 120%;
  height: 43%;
  background: radial-gradient(ellipse at 32% 70%, #9fb9c048, transparent 52%),
              radial-gradient(ellipse at 77% 45%, #b4babe2d, transparent 51%);
  opacity: .66;
}
.sea-spray { pointer-events: none; }
.hero-inner {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding-block: 106px 102px;
}
.hero-copy { max-width: 780px; }
.hero h1 {
  margin: .22em 0 .12em -.035em;
  color: var(--paper);
  font-size: clamp(5.1rem, 10.8vw, 10.9rem);
  line-height: .68;
  text-shadow: 0 .04em .38em #050b14a8;
}
.hero h1 em { display: block; margin: .13em 0 0 .18em; font-size: 1.18em; }
.hero-line {
  margin: 1.55rem 0 1.45rem;
  color: #f6e7cd;
  font-size: clamp(1.03rem, 1.55vw, 1.325rem);
  letter-spacing: .015em;
}
.store-links { display: flex; flex-wrap: wrap; gap: .7rem; }
.store {
  display: grid;
  align-content: center;
  min-width: 155px;
  min-height: 62px;
  padding: .6rem 1rem;
  border: 1px solid #d8b983b0;
  background: #0b1824da;
  color: var(--paper);
  line-height: 1.15;
  text-decoration: none;
}
.store span { margin-bottom: .24rem; color: var(--gold); font-size: .865rem; font-weight: 800; }
.store strong { font-size: 1.075rem; font-weight: 900; }
.store-primary { color: #231b12; border-color: #f1d4a1; background: #ecc994; }
.store-primary span { color: #4f371e; }
.store:hover { background: #142936; border-color: var(--gold); }
.store-primary:hover { background: #f9dfb4; }
.adult-note {
  display: flex;
  align-items: center;
  gap: .55rem;
  margin: 1rem 0 0;
  color: #e0d9ce;
  font-size: .875rem;
}
.adult-note span { padding: .08rem .3rem; border: 1px solid #d9b77a88; color: var(--gold); font-weight: 800; line-height: 1.2; }
.hero-bottom {
  position: absolute;
  inset: auto 0 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .5rem;
  width: inherit;
  min-height: 62px;
  margin-inline: auto;
  border-top: 1px solid var(--line);
}
.story-link, .motion-toggle {
  display: flex;
  align-items: center;
  gap: .6rem;
  min-height: 44px;
  color: var(--paper);
  font-size: .875rem;
  font-weight: 800;
}
.story-link { text-decoration: none; }
.story-link span { width: 24px; height: 1px; background: var(--gold); }
.motion-toggle { padding: 0; border: 0; background: transparent; cursor: pointer; }
.story-link:hover, .motion-toggle:hover { color: var(--gold); }
.motion-icon { display: block; width: 8px; height: 11px; border-inline: 2px solid currentColor; }
.motion-toggle[aria-pressed="true"] .motion-icon { width: 9px; height: 0; border: 0; border-left: 8px solid currentColor; border-block: 5px solid transparent; }

.story {
  display: grid;
  grid-template-columns: 1.05fr .9fr;
  align-items: end;
  gap: clamp(2rem, 8vw, 8rem);
  padding-block: clamp(4.8rem, 10vw, 9.2rem);
}
.story h2, .world h2 { margin-top: .3em; }
.story-copy { padding-block: 0 .18rem; color: var(--muted); font-size: clamp(1.04rem, 1.6vw, 1.25rem); }
.story-copy p { max-width: 46ch; margin: 0; }
.story-copy p + p { margin-top: 1em; }
.story-copy p:first-child { color: var(--paper); }
.world { padding-bottom: clamp(4.5rem, 9vw, 8.5rem); }
.world-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: .85rem 2rem;
  margin-bottom: 1.6rem;
}
.art-note { max-width: 17ch; margin: 0 0 .1rem; color: var(--muted); font-size: .875rem; text-align: right; }
.gallery-nav { display: flex; gap: .25rem 2rem; border-block: 1px solid var(--line); }
.gallery-nav a {
  position: relative;
  display: grid;
  align-items: center;
  min-height: 55px;
  padding: .5rem .2rem;
  color: var(--muted);
  font-size: .965rem;
  font-weight: 800;
  text-decoration: none;
}
.gallery-nav a:hover, .gallery-nav a[aria-selected="true"] { color: var(--gold); }
.gallery-nav a[aria-selected="true"]::after { content: ""; position: absolute; inset: auto 0 -1px; height: 2px; background: var(--gold); }
.world-scene {
  position: relative;
  isolation: isolate;
  display: grid;
  align-items: end;
  width: 100%;
  min-height: 385px;
  min-width: 0;
  aspect-ratio: 2.05;
  margin: 0 0 1rem;
  overflow: hidden;
  border: 1px solid var(--line);
  border-top: 0;
  background: #112637;
}
.world-scene::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background: linear-gradient(0deg, #05101af5, #05101a72 38%, #05101a00 71%);
}
.world-scene img { position: absolute; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: center 45%; }
#compass img { object-position: 72% center; }
.world-scene figcaption { padding: clamp(1.15rem, 4.5vw, 4rem); }
.world-scene h3 { font-size: clamp(2.5rem, 5.3vw, 5.4rem); }
.world-scene p { max-width: 46ch; margin: .65rem 0 0; color: #e8e5df; font-size: clamp(1rem, 1.5vw, 1.175rem); }
.gallery-ready .world-scene { margin-bottom: 0; touch-action: pan-y pinch-zoom; }

.release {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border-top: 1px solid var(--line);
  background: var(--deep);
}
.release-art { position: absolute; z-index: -2; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 43%; }
.release::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background: linear-gradient(0deg, var(--ink) 0%, #0710189e 55%, #0710189e 92%, var(--ink) 100%),
              radial-gradient(ellipse at 50% 60%, #09141ccb, transparent 75%);
}
.release-inner { display: grid; justify-items: center; padding-block: clamp(4.2rem, 9vw, 8.5rem); text-align: center; }
.release-mark { filter: drop-shadow(0 2px 19px #d9a24e58); margin-bottom: 1rem; object-fit: contain; }
.release p { margin: 1.1rem 0 1.55rem; font-size: 1.075rem; }
.release .store-links { justify-content: center; text-align: left; }
.footer { display: flex; justify-content: space-between; gap: 1.5rem 3rem; padding-block: 2.35rem 2.65rem; border-top: 1px solid var(--line); }
.footer-brand p { margin: .65rem 0 0; color: var(--muted); font-size: .875rem; }
.footer-links { display: flex; flex-wrap: wrap; gap: 1rem clamp(1.1rem, 4vw, 3.6rem); }
.footer-links div { display: grid; align-content: start; }
.footer-links strong { color: var(--gold); font-size: .875rem; }
.footer-links a { display: flex; align-items: center; min-height: 38px; font-size: .95rem; text-decoration-thickness: 1px; text-underline-offset: .2em; }

@keyframes arrive { from { opacity: 0; transform: translateY(15px); } to { opacity: 1; transform: none; } }
@keyframes mist { from { transform: translate3d(-4%, 1%, 0) scale(.98); } to { transform: translate3d(5%, -5%, 0) scale(1.11); } }
@keyframes scene-reveal { from { opacity: .62; transform: scale(1.035); } to { opacity: 1; transform: none; } }

@media (prefers-reduced-motion: no-preference) {
  html:not(.motion-off) { scroll-behavior: smooth; }
  html:not(.motion-off) .hero-copy { animation: arrive 820ms ease both; }
  .motion-ready:not(.motion-off) .hero-mist { animation: mist 13s ease-in-out infinite alternate; }
  html:not(.motion-off) .gallery-ready .world-scene:not([hidden]) img { animation: scene-reveal 550ms ease-out both; }
  .store, .nav-release, .gallery-nav a { transition: color 160ms ease, background-color 160ms ease, border-color 160ms ease; }
  .hero-visual.is-outside .hero-mist { animation-play-state: paused; }
  .motion-ready:not(.motion-off) .reveal:not(.revealed):not(:focus-within) { opacity: 0; transform: translateY(15px); }
  .motion-ready:not(.motion-off) .reveal { transition: opacity 600ms ease, transform 600ms ease; }
}

@media (max-width: 900px) {
  .story { grid-template-columns: .95fr 1fr; gap: 2.1rem; }
}

@media (max-width: 650px) {
  .masthead-inner { min-height: 68px; }
  .brand { letter-spacing: .07em; }
  .brand img { width: 28px; height: 28px; }
  .main-nav a { font-size: .875rem; }
  .main-nav .nav-story { display: none; }
  .main-nav .nav-release { padding-inline: .55rem; }
  .hero h1 { font-size: clamp(4.2rem, 14.2vw, 5.9rem); }
  .hero h1 em { font-size: 1.16em; }
  .story { grid-template-columns: 1fr; gap: 1.65rem; }
  .world-heading { display: block; }
  .art-note { max-width: none; text-align: left; margin-top: .8rem; }
  .gallery-nav { justify-content: space-between; gap: .4rem; }
  .gallery-nav a { min-height: 51px; font-size: .875rem; line-height: 1.22; }
  .world-scene { min-height: 360px; aspect-ratio: 1.04; }
  .world-scene::after { background: linear-gradient(0deg, #05101af8, #05101a80 37%, #05101a00 70%); }
  #sea img { object-position: 73% center; }
  .footer { flex-direction: column; }
}

@media (max-width: 650px) and (orientation: portrait) {
  .hero { min-height: 730px; min-height: max(730px, 100svh); }
  .hero-inner {
    justify-content: flex-end;
    align-items: center;
    padding-block: clamp(320px, 50svh, 490px) 86px;
    text-align: center;
  }
  .hero-picture { height: max(585px, 78%); transform: none; }
  .hero-picture img { object-position: 50% 30%; }
  .hero-visual::after {
    background: linear-gradient(0deg, var(--ink) 8%, #09151ef8 23%, #09151ebd 40%, #09151e20 65%, transparent 82%);
  }
  .hero h1 { margin-left: 0; line-height: .73; }
  .hero h1 em { margin-left: 0; margin-top: .09em; }
  .hero .eyebrow, .hero .store-links, .hero .adult-note { justify-content: center; }
  .hero-line { margin-block: 1.12rem .95rem; }
  .hero .store { text-align: left; }
}

@media (max-width: 650px) and (max-height: 650px) and (orientation: portrait) {
  .hero { min-height: 650px; }
  .hero-inner { padding-block: 275px 74px; }
}

@media (max-width: 1100px) and (max-height: 540px) and (orientation: landscape) {
  .masthead-inner { min-height: 60px; }
  .hero { min-height: 490px; }
  .hero-inner { padding-block: 76px 70px; }
  .hero h1 { font-size: clamp(3.8rem, 8.75vw, 5.8rem); }
  .hero-line { margin-block: .85rem .85rem; }
  .hero .store { min-height: 54px; }
  .hero-bottom { min-height: 52px; }
}

@media (max-width: 400px) {
  .store { min-width: 132px; padding-inline: .72rem; }
  .motion-toggle, .story-link { font-size: .81rem; }
  .footer-links { gap: 1rem 1.05rem; }
}

@media (max-width: 350px) {
  .main-nav a:not(.nav-release) { display: none; }
  .story-link span { width: 12px; }
}
