/* Sharkco: Ocean at War. Deep water, brass fittings and Cinzel titles, as in the game's UI and key art. */
@font-face { font-family: "Cinzel"; src: url("fonts/Cinzel-Bold.ttf?v=1") format("truetype"); font-weight: 700; font-display: swap; }

:root {
  --abyss: #041321;
  --deep: #06243a;
  --sea: #0b3d5c;
  --teal: #3cc4cf;
  --foam: #d5eef2;
  --mist: #93b6c2;
  --brass: #d6aa58;
  --gold: #f2d58c;
  --coral: #ef6a4c;
  --line: rgba(214, 170, 88, 0.28);
  --title: "Cinzel", "Trajan Pro", Georgia, serif;
  --body: Roboto, system-ui, -apple-system, "Segoe UI", "Helvetica Neue", sans-serif;
  --gutter: clamp(16px, 4vw, 40px);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--foam);
  font: 17px/1.6 var(--body);
  background: linear-gradient(180deg, var(--deep) 0, var(--abyss) 900px) var(--abyss);
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: var(--gold); text-underline-offset: 3px; }
a:hover { color: #fff; }
:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; }
.wrap { max-width: 1140px; margin: 0 auto; padding: 0 var(--gutter); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--gold); color: var(--abyss); padding: 8px 14px; z-index: 20; }
.skip:focus { left: 8px; }
h1, h2, h3 { font-family: var(--title); font-weight: 700; color: var(--gold); margin: 0; line-height: 1.1; letter-spacing: 0.01em; }

/* Header: a brass-trimmed panel, like the in-game HUD frames */
.helm { position: sticky; top: 0; z-index: 10; background: rgba(4, 19, 33, 0.9); backdrop-filter: blur(8px); border-bottom: 2px solid var(--line); }
.helm .wrap { display: flex; align-items: center; gap: 16px; height: 64px; }
.helm .name { font: 700 20px/1 var(--title); color: var(--gold); text-decoration: none; letter-spacing: 0.04em; }
.helm .studio { font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--mist); text-decoration: none; }
.helm nav { margin-left: auto; display: flex; gap: 20px; }
.helm nav a { color: var(--foam); text-decoration: none; font-size: 13px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; }
.helm nav a:hover, .helm nav a[aria-current="page"] { color: var(--gold); }

.btn { display: inline-flex; align-items: center; gap: 10px; padding: 14px 28px; border-radius: 10px; font: 700 16px/1 var(--title); letter-spacing: 0.04em; text-decoration: none; border: 2px solid var(--brass); }
.btn-brass { background: linear-gradient(180deg, var(--gold), var(--brass)); color: var(--abyss); box-shadow: 0 4px 0 #7d5a22; }
.btn-brass:hover { color: var(--abyss); filter: brightness(1.08); }
.btn-line { background: rgba(4, 19, 33, 0.55); color: var(--gold); }
.btn[aria-disabled="true"] { pointer-events: none; opacity: 0.85; }

/* Hero: the key art with the title set over the water */
.hero { position: relative; }
.hero > img { width: 100%; max-height: 680px; aspect-ratio: 16 / 9; object-fit: cover; object-position: center 35%; -webkit-mask-image: linear-gradient(180deg, #000 72%, transparent); mask-image: linear-gradient(180deg, #000 72%, transparent); }
.hero .wrap { position: relative; margin-top: clamp(-120px, -8vw, -24px); padding-bottom: clamp(36px, 6vw, 72px); }
.hero .kicker { font-size: 13px; font-weight: 700; letter-spacing: 0.24em; text-transform: uppercase; color: var(--teal); margin: 0 0 10px; }
.hero h1 { font-size: clamp(44px, 8vw, 96px); text-shadow: 0 4px 24px rgba(0, 0, 0, 0.6); }
.hero h1 small { display: block; font-size: 0.42em; color: var(--foam); letter-spacing: 0.18em; margin-top: 6px; }
.hero p { max-width: 50ch; font-size: clamp(17px, 1.9vw, 20px); margin: 18px 0 26px; color: var(--foam); }
.hero .actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero .note { font-size: 14px; color: var(--mist); margin: 16px 0 0; }

.story { padding: clamp(48px, 7vw, 88px) 0; }
.story .wrap { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.story h2, .features > .wrap > h2, .help h2 { font-size: clamp(30px, 4.4vw, 46px); margin-bottom: 16px; }
.story p { max-width: 56ch; }
.story .cast { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.story .cast figure { margin: 0; background: radial-gradient(circle at 50% 35%, rgba(60, 196, 207, 0.22), transparent 70%); border: 1px solid var(--line); border-radius: 14px; padding: 12px; text-align: center; }
.story .cast img { max-height: 240px; width: auto; margin: 0 auto; }
.story .cast figcaption { font: 700 15px/1.3 var(--title); color: var(--gold); margin-top: 8px; }
.story .cast figcaption span { display: block; font: 13px/1.3 var(--body); color: var(--mist); }

.features { padding: clamp(48px, 7vw, 88px) 0; border-top: 2px solid var(--line); }
.panel { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 4vw, 56px); align-items: center; padding: 28px 0; }
.panel + .panel { border-top: 1px solid rgba(147, 182, 194, 0.16); }
.panel:nth-of-type(even) .pic { order: 2; }
.panel .pic { border-radius: 16px; overflow: hidden; border: 2px solid var(--line); background: radial-gradient(circle, rgba(60, 196, 207, 0.18), transparent 70%); }
.panel .pic.cut { border: 0; background: none; }
.panel .pic.cut img { max-width: 420px; margin: 0 auto; filter: drop-shadow(0 20px 30px rgba(0, 0, 0, 0.5)); }
.panel h3 { font-size: clamp(24px, 3vw, 32px); margin-bottom: 12px; }
.panel .tag { font-size: 12px; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: var(--teal); margin: 0 0 8px; }
.panel p { margin: 0 0 12px; max-width: 50ch; }
.panel ul { margin: 12px 0 0; padding-left: 20px; }
.panel li::marker { color: var(--brass); }

.help { padding: clamp(48px, 7vw, 88px) 0; border-top: 2px solid var(--line); background: linear-gradient(180deg, transparent, rgba(60, 196, 207, 0.06)); }
.help .wrap { max-width: 800px; }
.help ul { padding-left: 20px; }
.help li { margin: 8px 0; }

footer { border-top: 2px solid var(--line); padding: 26px 0 44px; font-size: 14px; color: var(--mist); }
footer .wrap { display: flex; flex-wrap: wrap; gap: 10px 26px; justify-content: space-between; }
footer nav { display: flex; flex-wrap: wrap; gap: 8px 20px; }
footer a { color: var(--mist); }

/* Policy pages */
.doc { padding: clamp(36px, 6vw, 72px) 0 80px; }
.doc .wrap { max-width: 800px; }
.doc .eyebrow { font-size: 13px; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: var(--teal); margin: 0 0 10px; }
.doc h1 { font-size: clamp(38px, 6.6vw, 64px); margin-bottom: 10px; }
.doc .updated { font-size: 14px; color: var(--mist); margin: 0 0 32px; }
.doc h2 { font-size: 26px; margin: 44px 0 12px; }
.doc p, .doc li { max-width: 68ch; }
.doc ul { padding-left: 20px; }
.doc li { margin: 6px 0; }
.doc li::marker { color: var(--brass); }
.summary { background: rgba(11, 61, 92, 0.55); border: 2px solid var(--line); border-radius: 14px; padding: 16px 24px; }
.summary ul { margin: 0; }
.table-scroll { overflow-x: auto; margin: 16px 0; }
.doc table { border-collapse: collapse; width: 100%; min-width: 560px; font-size: 15px; }
.doc th, .doc td { text-align: left; vertical-align: top; padding: 12px 14px; border-bottom: 1px solid rgba(147, 182, 194, 0.2); }
.doc th { font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--brass); }
.doc td:first-child { color: #fff; font-weight: 700; white-space: nowrap; }
.steps { counter-reset: step; list-style: none; padding: 0 !important; }
.steps li { counter-increment: step; position: relative; padding: 12px 0 12px 50px; border-top: 1px solid rgba(147, 182, 194, 0.2); }
.steps li::before { content: counter(step); position: absolute; left: 0; top: 10px; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(180deg, var(--gold), var(--brass)); color: var(--abyss); font: 700 16px/1 var(--title); }

@media (max-width: 820px) {
  .story .wrap, .panel { grid-template-columns: 1fr; }
  .panel:nth-of-type(even) .pic { order: 0; }
  .hero > img { aspect-ratio: 4 / 3; }
  .helm .studio { display: none; }
  .helm nav { gap: 14px; }
}
@media (max-width: 420px) { .helm nav a { font-size: 12px; letter-spacing: 0.08em; } .helm .name { font-size: 17px; } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
