@font-face {
  font-family: "DM Serif Text";
  src: url("/landing_assets/voyage/DMSerifText-Regular.ttf") format("truetype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

:root {
  color-scheme: dark;
  --night: #082632;
  --deep: #103945;
  --paper: #fff6e6;
  --foam: #f4f6ef;
  --gold: #ffd381;
  --ink: #123842;
  --muted: #47636a;
  --rule: #ccd9d5;
  font-family: system-ui, "Segoe UI", sans-serif;
  font-size: 100%;
  line-height: 1.55;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--night); color: var(--paper); }
a { color: inherit; }
img { max-width: 100%; display: block; }
button, summary { font: inherit; }
a, button, summary { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid #eea437; outline-offset: 4px; }
h1, h2, h3, p, figure { margin: 0; }
h1, h2 { font-family: "DM Serif Text", Georgia, serif; font-weight: 400; }
h1 { font-size: clamp(3.5rem, 6.6vw, 6.1rem); letter-spacing: -.045em; line-height: .98; }
h2 { font-size: clamp(2.55rem, 4.7vw, 4.5rem); letter-spacing: -.041em; line-height: 1.03; }
section[id], div[id] { scroll-margin-top: 20px; }
.wrap { width: min(1160px, calc(100% - 72px)); margin-inline: auto; }
.skip { position: absolute; z-index: 5; top: -100px; background: white; color: #102b37; padding: 12px; }
.skip:focus { left: 12px; top: 12px; }
.mast { position: relative; background: linear-gradient(105deg, #092a35ed, #16424ce8); border-bottom: 1px solid #94c8bc44; }
.mast-inner, nav, .brand, .language, .badges, .footer-inner { display: flex; align-items: center; }
.mast-inner { min-height: 78px; gap: 24px; }
.brand { gap: 10px; color: var(--paper); text-decoration: none; font-weight: 850; font-size: 1.45rem; letter-spacing: -.055em; white-space: nowrap; }
.brand img { width: 45px; height: 45px; object-fit: contain; }
nav { margin-left: auto; gap: clamp(16px, 3vw, 36px); }
nav a, .language a, .footer-inner a { text-decoration: none; }
nav a { font-weight: 630; font-size: .96rem; padding-block: 10px; color: #e3f0e9; }
nav a:hover, .footer-inner a:hover { text-decoration: underline; text-underline-offset: .28em; }
.language { margin-left: 8px; gap: 1px; border: 1px solid #47616a; border-radius: 24px; padding: 2px; }
.language a { font-weight: 700; padding: 5px 10px; font-size: .83rem; border-radius: 20px; }
.language [aria-current=page] { color: var(--night); background: var(--paper); }
.hero { --cove: #093440; --hero-height: clamp(475px, 43vw, 660px); position: relative; isolation: isolate; overflow: hidden; background: var(--cove); }
.hero-scene { position: absolute; inset: 0 max(0px, calc((100% - 1920px) / 2)) 0 auto; width: min(86%, calc(var(--hero-height) * 1.95)); }
.hero-scene::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(90deg, var(--cove) 0%, #093440ed 12%, #093440ae 23%, #09344036 38%, transparent 50%), linear-gradient(0deg, #042f3a44, transparent 23%); }
.hero-art, .hero-scene video, .boss-scene img, .boss-scene video { display: block; width: 100%; height: 100%; object-fit: cover; }
.hero-art, .hero-scene video { object-position: 62% 0%; }
[data-scene] video { position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .32s ease; }
[data-scene] video.has-frame { opacity: 1; }
.hero-inner { position: relative; width: min(41%, 530px); margin-left: max(36px, calc((100% - 1160px) / 2)); margin-right: 0; min-height: var(--hero-height); padding-block: clamp(56px, 6vw, 92px); display: flex; flex-direction: column; justify-content: center; align-items: flex-start; }
.hero h1 { max-width: 8.6em; text-wrap: balance; text-shadow: 0 3px 16px #12354155; }
.hero p { margin: 20px 0 25px; color: #fff8e8; max-width: 30rem; font-size: clamp(1rem,1.38vw,1.17rem); text-wrap: pretty; }
.badges { gap: 10px; flex-wrap: wrap; }
.badges a { display: inline-flex; align-items: center; min-height: 44px; border-radius: 9px; transition: transform .15s; }
.badges img { height: 46px; width: auto; }
.badges a:hover { transform: translateY(-2px); }
.motion-toggle { position: absolute; z-index: 2; right: clamp(12px,1.8vw,24px); bottom: clamp(12px,1.8vw,24px); width: 44px; height: 44px; display: grid; place-items: center; border: 1px solid #c7e3d4a8; border-radius: 50%; color: #fff9e9; background: #082c39cd; cursor: pointer; backdrop-filter: blur(8px); }
.motion-toggle[hidden] { display: none; }
.motion-toggle:hover { background: #123e48; }
.motion-toggle span { width: 11px; height: 14px; border-inline: 3px solid currentColor; }
.motion-toggle[data-paused] span { width: 0; height: 0; margin-left: 3px; border: solid transparent; border-width: 7px 0 7px 11px; border-left-color: currentColor; }
.journey { color-scheme: light; color: var(--ink); background: var(--foam); padding-block: clamp(56px,7vw,94px); }
.spread { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: clamp(36px,6vw,96px); }
.section-text { max-width: 35em; margin: 15px 0 24px; color: var(--muted); font-size: 1.05rem; }
.encounters { border-bottom: 1px solid var(--rule); }
.encounter { border-top: 1px solid var(--rule); }
.encounter summary, .faq summary { display: flex; align-items: center; cursor: pointer; list-style: none; gap: 12px; min-height: 56px; }
summary::-webkit-details-marker { display: none; }
.encounter summary::after, .faq summary::after { content: "+"; margin-left: auto; color: #4f7375; font-size: 1.25rem; }
details[open] > summary::after { content: "−"; }
.encounter summary { padding-inline: 12px; border-inline-start: 3px solid transparent; }
.encounter summary:hover { background: #e6eee7; }
.encounter[open] { background: linear-gradient(90deg,#e1ece3,transparent); }
.encounter[open] summary { border-inline-start-color: #198275; }
.number { color: #496869; font-size: .8rem; font-weight: 700; letter-spacing: .02em; min-width: 4.6em; }
.encounter strong { font-size: 1.04rem; }
.encounter[open] strong { color: #086a63; }
.encounter p { color: var(--muted); padding: 0 23px 17px 15px; }
.plate { position: relative; aspect-ratio: 4 / 3; overflow: hidden; isolation: isolate; background: #0b3d46; border: 1px solid #648478; border-radius: 4px 32px 4px 32px; box-shadow: 0 18px 40px #16484529; }
.boss-scene { display: none; position: absolute; inset: 0; }
.plate::after { content: ""; position: absolute; inset: 35% 0 0; pointer-events: none; background: linear-gradient(0deg,#051e2bf0, #09263546 43%,transparent 72%); }
.plate figcaption { z-index: 1; color: var(--paper); position: absolute; left: clamp(16px,2vw,27px); right: 74px; bottom: clamp(20px,2.3vw,30px); font-family: "DM Serif Text", Georgia,serif; font-size: clamp(1.35rem,2.7vw,2rem); line-height: 1.12; }
.plate figcaption span { display: none; }
.plate .kraken { display: block; }
.journey:has(details:not(:first-child)[open]) .plate .kraken { display:none; }
.journey:has(#loch[open]) .plate .loch, .journey:has(#cliffs[open]) .plate .cliffs,
.journey:has(#galleon[open]) .plate .galleon { display: block; }
.screens { padding-block: clamp(56px,7vw,92px); background: #103a47; }
.screens .section-text { color: #d1e3dd; }
.screens .spread { grid-template-columns: 1fr 1fr; }
.screen-options { display: grid; gap: 8px; }
.screen-option { display: flex; gap: 14px; align-items: center; color: #dcece8; text-decoration: none; padding: 12px 15px; border: 1px solid #44717a; border-radius: 12px; }
.screen-option b { display: block; color: var(--paper); font-size: 1rem; }
.screen-option small { font-size: .9rem; }
.screen-option img { width: 35px; height: 37px; object-fit: contain; }
.screen-option[aria-current=true] { border-color: #e9c377; background: #234d53; }
.screen-option:hover { background: #24545d; }
.screen-frame { justify-self: center; width: min(100%, 280px); }
.screen-frame a { display: block; background: #052531; padding: 5px; border: 1px solid #6e8e93; border-radius: 23px; box-shadow: 0 16px 28px #041d2566; overflow: hidden; }
.screen-frame img { width: 100%; height: auto; border-radius: 17px; }
.screen-frame figcaption { color: #d0e3e3; font-size: .87rem; text-align:center; margin-top: 9px; }
.faq { color-scheme: light; background: #fffaf0; color: var(--ink); padding-block: clamp(46px,6vw,78px); }
.faq .spread { grid-template-columns: .75fr 1.25fr; align-items: start; }
.faq details { border-block-start: 1px solid var(--rule); }
.faq details:last-child { border-bottom: 1px solid var(--rule); }
.faq summary { font-weight: 680; }
.faq details p { padding-bottom: 18px; color: var(--muted); }
.download { background: #092b38; padding-block: 40px; }
.download .wrap { display:flex; justify-content: space-between; align-items: center; flex-wrap:wrap; gap: 20px; }
.download h2 { font-size: clamp(2rem,3.5vw,3.1rem); }
.footer-inner { padding-block: 22px; gap: 10px 22px; flex-wrap: wrap; font-size: .88rem; color: #d0ddd8; }
.footer-inner .publisher { margin-right: auto; font-weight: 650; }
dialog { max-width: min(95vw,590px); max-height: 94vh; background: #0a303f; color: var(--paper); padding: 10px; border: 1px solid #83a7a8; border-radius: 14px; }
dialog::backdrop { background: #00131be3; }
dialog img { width:auto; height:auto; max-height: 74vh; margin:auto; }
.viewer-controls { display:flex; align-items:center; justify-content:space-between; gap:8px; margin-top:8px; }
.viewer-controls button { border:1px solid #66868a; border-radius:7px; padding:8px; min-height:44px; background:#144651; color:white; cursor:pointer; }
.viewer-title { text-align:center; margin:0 0 6px; }
@media (max-width: 780px) {
  .wrap { width: min(100% - 40px, 650px); }
  .mast-inner { min-height: 63px; gap: 10px; }
  nav { gap: 15px; } nav a { font-size: .86rem; }
  .brand { font-size: 1.18rem; } .brand img { width: 36px; height: 36px; }
  .spread, .screens .spread, .faq .spread { gap: 28px; }
}
@media (max-width: 900px) {
  .hero-scene { position: relative; width: 100%; aspect-ratio: 16 / 9; }
  .hero-scene::after { background: linear-gradient(0deg, var(--cove), transparent 15%); }
  .hero-scene .motion-toggle { bottom: max(16px,5%); }
  .hero-inner { width: min(100% - 40px, 720px); margin-inline: auto; min-height: auto; padding: 12px 0 clamp(34px,5vw,48px); }
  .hero h1 { max-width: 14em; font-size: clamp(2.85rem,7.8vw,4.5rem); }
  .hero p { max-width: 36em; margin: 14px 0 20px; }
}
@media (max-width: 620px) {
  .wrap { width: calc(100% - 36px); }
  .mast-inner { display:grid; grid-template-columns: 1fr auto; gap: 0; padding-top: 8px; }
  .language { grid-row:1; grid-column:2; }
  nav { grid-row:2; grid-column:1 / -1; justify-content:space-between; width:100%; }
  nav a { padding:8px 5px; }
  .hero-inner { padding-top: 10px; }
  .hero h1 { font-size: clamp(2.85rem,10.8vw,4.25rem); max-width: 9em; }
  .hero p { font-size: 1rem; margin: 14px 0 19px; }
  .badges { gap: 8px; } .badges img { height: clamp(36px,10.4vw,46px); }
  .spread, .screens .spread, .faq .spread { grid-template-columns: 1fr; }
  .journey, .screens, .faq { padding-block: 42px; }
  .section-text { margin: 12px 0 19px; }
  .screen-frame { width: min(72%, 260px); }
  .footer-inner .publisher { width: 100%; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition:none !important; } }
