@font-face {
  font-family: "Privateers Sans";
  src: url("assets/noto-latin.woff") format("woff");
  font-weight: 100 900;
  font-display: swap;
}

:root {
  color-scheme: dark;
  --ink: #060f16;
  --navy: #071c2a;
  --ivory: #eee6d5;
  --muted: #b1b8ba;
  --gold: #e6c484;
  --brass: #9f7d47;
  --line: #735e3a;
  --teal: #a4c4c8;
  --header-height: 89px;
  font-family: "Privateers Sans", Arial, sans-serif;
  color: var(--ivory);
  background: var(--ink);
  font-synthesis: none;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 20px);
}

* { box-sizing: border-box; }
body { margin: 0; font-size: 15px; line-height: 1.7; }
body:has(dialog[open]) { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
a, button { -webkit-tap-highlight-color: #b58b4e44; }
a:focus-visible, button:focus-visible { outline: 2px solid var(--gold); outline-offset: 5px; }
img { max-width: 100%; display: block; height: auto; }
p, h1, h2, h3 { margin: 0; }
h2, h3 { font-family: Georgia, "Times New Roman", serif; font-weight: 400; line-height: 1.2; }
h2 { font-size: clamp(30px, 3.2vw, 43px); color: #f0dfb8; }
h3 { font-size: 24px; }
.wrap { width: min(1280px, calc(100% - 112px)); margin-inline: auto; }
.section { padding-block: 82px; }
.eyebrow { text-transform: uppercase; letter-spacing: .15em; font-size: 11px; font-weight: 600; color: var(--teal); line-height: 1.5; margin-bottom: 19px; }
.skip-link { position: fixed; left: 20px; top: -100px; z-index: 20; padding: 14px 24px; background: var(--navy); border: 1px solid var(--gold); }
.skip-link:focus { top: 16px; }
.site-header { position: sticky; top: 0; width: 100%; z-index: 10; border-bottom: 1px solid var(--line); background: var(--ink); }
.header-inner { min-height: 88px; display: flex; align-items: center; gap: 38px; }
.brand { display: flex; gap: 12px; align-items: center; margin-right: auto; font-family: Georgia, "Times New Roman", serif; font-size: 20px; color: var(--gold); white-space: nowrap; }
.brand img { width: 45px; height: 45px; }
nav { display: flex; align-items: center; gap: 30px; }
nav a { font-size: 13px; padding-block: 12px; transition: color .15s; }
nav a:hover, .text-link:hover { color: var(--gold); }
.header-steam { margin-left: 12px; flex-shrink: 0; }
.header-steam.game-button { font-size: 13px; min-height: 48px; padding-inline: 15px; }
.hero { position: relative; min-height: 720px; height: min(860px, calc(100svh - var(--header-height))); border-bottom: 1px solid var(--line); isolation: isolate; }
.hero-picture, .hero-shade { position: absolute; inset: 0; z-index: -1; }
.hero-picture img { width: 100%; height: 100%; object-fit: cover; object-position: center 58%; }
.hero-shade { background: linear-gradient(90deg, #040b12ed 0%, #040b12a6 30%, #040b1230 52%, transparent 72%), linear-gradient(0deg, var(--ink) 0%, #060f1600 24%); }
.hero-inner { position: relative; height: 100%; min-height: inherit; display: flex; align-items: center; }
.hero-copy { width: min(490px, 41%); padding-bottom: 45px; }
.hero-copy .eyebrow { color: #c0c5be; margin-bottom: 28px; }
h1 img { width: 100%; }
.hero-description { max-width: 405px; font-size: 17px; line-height: 1.8; margin-top: 30px; text-shadow: 0 2px 10px #000; }
.game-button {
  --button-normal: url("assets/button_secondary.webp");
  --button-hover: url("assets/button_secondary_hover.webp");
  --button-pressed: url("assets/button_secondary_pressed.webp");
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 52px;
  max-width: 100%;
  border: 10px solid transparent;
  border-image: var(--button-normal) 10 fill / 10px / 0 stretch;
  border-radius: 0;
  background: transparent;
  padding: 3px 18px;
  color: var(--ivory);
  font-family: "Privateers Sans", Arial, sans-serif;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.5;
  text-align: center;
}
@media (hover: hover) and (pointer: fine) {
  .game-button:hover { border-image-source: var(--button-hover); color: #fff; }
}
.game-button:active { border-image-source: var(--button-pressed); color: var(--ivory); }
.game-button:focus-visible { outline: 1px solid var(--gold); outline-offset: -3px; }
.game-button--primary {
  --button-normal: url("assets/button_primary.webp");
  --button-hover: url("assets/button_primary_hover.webp");
  --button-pressed: url("assets/button_primary_pressed.webp");
}
.game-button--primary, .game-button--primary:hover, .game-button--primary:active { color: #25170e; }
.hero-copy .game-button { display: flex; margin-top: 28px; width: 345px; min-height: 56px; font-size: 18px; }
.hero-explore { display: inline-flex; align-items: center; gap: 20px; margin-top: 23px; font-size: 13px; padding: 7px 0; min-height: 44px; }
.hero-explore span { color: var(--gold); }
.hero-foot { position: absolute; bottom: 33px; width: 100%; display: flex; justify-content: space-between; color: #bcc4c5; text-transform: uppercase; letter-spacing: .11em; font-size: 10px; }
.hero-foot span { margin-inline: 10px; color: var(--gold); }
.section-heading { display: flex; justify-content: space-between; align-items: flex-end; gap: 30px; margin-bottom: 36px; }
.section-heading > p { color: var(--muted); line-height: 1.8; font-size: 13px; }
.panel { border: 16px solid transparent; border-image: url("assets/panel_frame.webp") 24 fill / 16px / 0 stretch; background: var(--navy); }
.features { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 23px; }
.feature { min-width: 0; }
.feature > img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.feature-copy { padding: 22px 11px 17px; }
.feature-number { font-size: 11px; color: var(--gold); letter-spacing: .1em; display: block; margin-bottom: 12px; }
.feature h3 { font-size: clamp(20px, 1.8vw, 25px); color: #f0dfb8; margin-bottom: 14px; }
.feature p { color: #c3cbce; font-size: 14px; line-height: 1.9; }
.crew-note { margin-top: 33px; padding-left: 19px; border-left: 2px solid var(--brass); color: var(--gold); font-family: Georgia, "Times New Roman", serif; font-size: 19px; }
.crew-note span { color: var(--muted); font: 13px "Privateers Sans", Arial, sans-serif; margin-left: 20px; display: inline-block; line-height: 1.7; }
.gallery-section { border-top: 1px solid #735e3a80; }
.gallery-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 25px; }
.gallery-item { min-width: 0; border: 1px solid var(--line); background: #081a26; transition: border-color .15s; }
.gallery-item img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.gallery-item:hover { border-color: var(--gold); }
.gallery-caption { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 16px 20px; }
.gallery-caption > span:first-child { font-family: Georgia, "Times New Roman", serif; font-size: 18px; }
.image-action { color: var(--gold); font-size: 11px; white-space: nowrap; }
.capture-note { color: var(--muted); font-size: 12px; margin-top: 19px; }
.watch-section { padding-block: 22px 72px; }
.watch-inner { border-block: 1px solid var(--line); padding-block: 43px; display: flex; gap: 40px; align-items: center; justify-content: space-between; }
.watch-inner h2 { font-size: clamp(28px, 3vw, 36px); margin-bottom: 20px; }
.watch-inner p:not(.eyebrow) { color: var(--muted); font-size: 14px; }
.watch-inner .game-button { flex-shrink: 0; min-width: 250px; }
.press-section { padding-top: 0; }
.press-panel { display: grid; grid-template-columns: 1fr 365px; gap: 60px; padding: 48px; }
.press-copy h2 { max-width: 460px; }
.press-copy > p:not(.eyebrow):not(.contact-label) { color: #c3cbce; margin-top: 23px; font-size: 14px; }
.contact-label { color: var(--gold); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; margin-top: 34px; margin-bottom: 8px; }
.contact-link { font-family: Georgia, "Times New Roman", serif; font-size: 22px; text-decoration: underline; text-decoration-color: var(--brass); text-underline-offset: 5px; overflow-wrap: anywhere; }
.contact-link:hover { color: var(--gold); }
.press-download { padding-left: 38px; border-left: 1px solid #735e3a99; }
.wood-heading { border: 12px solid transparent; border-image: url("assets/titlebar_wood.webp") 18 fill / 12px / 0 stretch; padding: 4px 8px; font-size: 21px; margin-bottom: 22px; }
.press-download > p { font-size: 13px; color: #c3cbce; line-height: 1.9; }
.press-download p span { margin-inline: 5px; }
.press-download .game-button { display: flex; font-size: 14px; margin-top: 24px; }
.press-download .download-detail { font-size: 10px; color: #bec6c9; margin-top: 10px; text-align: center; }
.press-download .usage-note { font-size: 11px; margin-top: 23px; color: var(--muted); }
.closing { text-align: center; padding-block: 12px 88px; }
.closing .eyebrow { margin-bottom: 12px; }
.closing h2 { font-size: 48px; }
.closing .game-button { display: flex; width: 300px; margin: 28px auto 0; }
.site-footer { border-top: 1px solid #735e3a80; padding-block: 27px; display: flex; align-items: center; gap: 30px; color: var(--muted); font-size: 12px; }
.site-footer > p:first-child { margin-right: auto; }
.site-footer p span { color: var(--brass); margin-inline: 10px; }
.site-footer nav { gap: 22px; }
.site-footer nav a { font-size: 12px; }
.footer-status { font-size: 11px; }
.lightbox { width: min(1320px, calc(100% - 32px)); max-height: calc(100dvh - 32px); color: var(--ivory); padding: 12px; overflow: auto; }
.lightbox::backdrop { background: #02070df0; }
.lightbox-toolbar { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.lightbox-toolbar p { color: var(--gold); font-size: 12px; }
.lightbox .game-button { font-size: 14px; min-height: 50px; padding-inline: 14px; }
.close-lightbox span { font-size: 22px; line-height: 1; }
.lightbox-image { width: 100%; height: auto; max-height: calc(100dvh - 240px); object-fit: contain; background: #030a0f; }
.lightbox-bottom { display: flex; align-items: center; justify-content: space-between; gap: 22px; margin-top: 18px; }
.lightbox-bottom p { font-size: 13px; color: #c3cbce; text-align: center; }
.lightbox-bottom button { flex-shrink: 0; }

@media (min-width: 1900px) {
  .hero { height: min(970px, calc(100svh - var(--header-height))); }
  .hero-copy { width: 490px; }
}

@media (max-width: 1100px) {
  .wrap { width: calc(100% - 64px); }
  .header-inner { gap: 24px; }
  nav { gap: 23px; }
  .header-steam { display: none; }
  .hero { min-height: 800px; height: 800px; }
  .hero-picture img { object-position: 70% center; }
  .hero-copy { width: 44%; }
  .hero-description { font-size: 16px; }
  .features { gap: 16px; }
  .feature-copy { padding: 17px 3px 10px; }
  .feature p { font-size: 13px; }
  .press-panel { gap: 30px; padding: 28px; grid-template-columns: 1fr 310px; }
  .press-download { padding-left: 26px; }
  .footer-status { display: none; }
}

@media (max-width: 850px) {
  .section { padding-block: 62px; }
  .hero { min-height: 0; height: auto; display: flex; flex-direction: column; }
  .hero-inner { display: contents; }
  .hero-copy { order: 0; width: calc(100% - 64px); margin-inline: auto; padding: 32px 0 0; }
  .hero-copy .eyebrow { font-size: 10px; text-align: center; margin-bottom: 18px; }
  h1 { max-width: 400px; margin-inline: auto; }
  .hero-description { font-size: 17px; line-height: 1.8; margin: 20px auto 0; max-width: 405px; text-align: center; }
  .hero-copy .game-button { margin: 20px auto 0; width: 100%; max-width: 330px; min-height: 54px; font-size: 17px; }
  .hero-explore { display: flex; width: max-content; margin: 8px auto 0; font-size: 12px; }
  .hero-picture { position: relative; inset: auto; order: 1; width: min(100%, 520px); margin-inline: auto; z-index: auto; mask-image: linear-gradient(transparent, #000 15%, #000 85%, transparent), linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-composite: intersect; }
  .hero-picture img { width: 100%; height: auto; object-fit: contain; }
  .hero-shade { display: none; }
  .hero-foot { position: static; order: 2; flex-direction: column; gap: 5px; align-items: center; font-size: 9px; letter-spacing: .1em; padding: 0 20px 24px; }
  .features { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
  .feature:last-child { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1fr; align-items: center; }
  .feature:last-child .feature-copy { padding: 12px 22px; }
  .section-heading { align-items: flex-start; }
  .section-heading > p { max-width: 175px; }
  .crew-note span { display: block; margin: 10px 0 0; }
  .gallery-caption { padding: 14px; gap: 8px; }
  .gallery-caption > span:first-child { font-size: 16px; }
  .image-action { font-size: 10px; }
  .watch-inner { align-items: flex-start; flex-direction: column; gap: 28px; }
  .watch-section { padding-top: 0; }
  .press-section { padding-top: 0; }
  .press-panel { grid-template-columns: 1fr; padding: 28px; gap: 36px; }
  .press-copy h2 { max-width: none; }
  .press-download { padding: 30px 0 0; border-left: 0; border-top: 1px solid var(--line); display: grid; grid-template-columns: 1fr 1fr; gap: 12px 30px; align-items: start; }
  .wood-heading { grid-column: 1 / -1; margin-bottom: 8px; }
  .press-download .game-button { margin-top: 0; }
  .press-download .download-detail { grid-column: 2; margin-top: -6px; }
  .press-download .usage-note { grid-column: 1 / -1; margin-top: 6px; }
}

@media (max-width: 680px) {
  :root { --header-height: 97px; }
  .wrap { width: calc(100% - 40px); }
  .header-inner { min-height: 96px; gap: 0; flex-wrap: wrap; justify-content: center; padding-block: 8px; }
  .brand { margin: 0; font-size: 18px; gap: 8px; }
  .brand img { width: 32px; height: 32px; }
  .site-header nav { flex-basis: 100%; justify-content: center; gap: 27px; }
  .site-header nav a { font-size: 11px; padding: 6px 0; min-height: 44px; display: flex; align-items: center; }
  .hero-copy { width: calc(100% - 40px); padding-top: 27px; }
  h1 { max-width: 310px; }
  .hero-description { font-size: 15px; max-width: 355px; }
  .hero-foot { font-size: 8px; }
  .hero-foot span { margin-inline: 6px; }
  .section { padding-block: 49px; }
  .section-heading { flex-direction: column; gap: 16px; margin-bottom: 27px; }
  .section-heading .eyebrow { margin-bottom: 14px; }
  .section-heading > p { max-width: none; font-size: 12px; }
  .section-heading > p br { display: none; }
  .features { grid-template-columns: 1fr; gap: 24px; }
  .feature:last-child { grid-column: auto; display: block; }
  .feature-copy, .feature:last-child .feature-copy { padding: 20px 8px 14px; }
  .feature h3 { font-size: 25px; }
  .feature p { font-size: 14px; }
  .crew-note { font-size: 20px; line-height: 1.5; }
  .gallery-grid { grid-template-columns: 1fr; gap: 22px; }
  .gallery-caption { padding: 16px 14px; }
  .gallery-caption > span:first-child { font-size: 18px; }
  .image-action { font-size: 11px; }
  .capture-note { font-size: 11px; }
  .watch-section { padding-top: 0; }
  .watch-inner { padding-block: 32px; }
  .watch-inner .game-button { width: 100%; min-width: 0; }
  .press-section { padding-top: 0; }
  .press-panel { padding: 20px 12px; border-width: 14px; border-image-width: 14px; }
  .press-copy h2 { font-size: 31px; }
  .press-copy > p:not(.eyebrow):not(.contact-label) { font-size: 13px; }
  .contact-link { font-size: 20px; }
  .press-download { display: block; }
  .press-download .game-button { margin-top: 22px; }
  .press-download .download-detail { margin-top: 10px; }
  .press-download .usage-note { margin-top: 22px; }
  .wood-heading { font-size: 22px; margin-bottom: 20px; }
  .closing { padding-block: 10px 55px; }
  .closing h2 { font-size: 42px; }
  .site-footer { flex-direction: column; gap: 12px; padding-block: 23px; }
  .site-footer > p:first-child { margin: 0; }
  .site-footer nav { gap: 28px; }
  .lightbox { width: calc(100% - 20px); padding: 2px; border-width: 12px; border-image-width: 12px; }
  .lightbox-bottom { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
  .lightbox-bottom p { grid-column: 1 / -1; grid-row: 1; font-size: 12px; }
  .lightbox-image { max-height: calc(100dvh - 300px); }
}

@media (prefers-reduced-motion: reduce) {
  :root { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
