@font-face{font-family:"Barlow";font-weight:500;font-style:normal;font-display:swap;src:url(barlow-500.2a937f1aa6.woff2) format("woff2")}
@font-face{font-family:"Barlow";font-weight:600;font-style:normal;font-display:swap;src:url(barlow-600.4002ed2568.woff2) format("woff2")}
@font-face{font-family:"Barlow Condensed";font-weight:700;font-style:normal;font-display:swap;src:url(barlow-condensed-700.42e73f830d.woff2) format("woff2")}
@font-face{font-family:"Barlow Condensed";font-weight:700;font-style:italic;font-display:swap;src:url(barlow-condensed-700i.49475550d3.woff2) format("woff2")}
@font-face{font-family:"Barlow Condensed";font-weight:800;font-style:italic;font-display:swap;src:url(barlow-condensed-800i.8dfb215fee.woff2) format("woff2")}
:root{--spring:linear(0 0%,0.0859 3.61%,0.2526 7.23%,0.4499 10.84%,0.6423 14.46%,0.8079 18.07%,0.9363 21.69%,1.0253 25.3%,1.0784 28.92%,1.1024 32.53%,1.105 36.14%,1.0937 39.76%,1.0751 43.37%,1.054 46.99%,1.0341 50.6%,1.0173 54.22%,1.0046 57.83%,0.9959 61.45%,0.991 65.06%,0.989 68.67%,0.989 72.29%,0.9904 75.9%,0.9925 79.52%,0.9947 83.13%,0.9968 86.75%,0.9985 90.36%,0.9997 93.98%,1.0006 97.59%,1)}
/* Sea Level Bird Rage. Tokens are the game's: title palette (ink #174b5c, cream #fff8df, orange #ffb95b, teal, coral),
   title-engine look bird-rage (Barlow Condensed 800 italic capitals, cream on deep sea, a hard ink outline over art),
   Tidal UI enamel (cream panel, 2 px ink line, hard ink drop, 10 px corners). Crew colours from the bird-rage look. */
:root {
  --ink-0: #06161f; --ink-1: #0a2530; --ink-2: #0e2f3a; --ink-3: #174b5c; --ink-4: #1f6276;
  --cream: #fff8df; --cream-dim: #e4dcc4; --orange: #ffb95b; --coral: #f47e67; --teal: #48c6b7; --foam: #6fdcd6;
  --penguins: #7db4e0; --puffins: #ffb95b; --emperors: #b48cff; --rockhoppers: #839ffc;
  --radius: 10px; --line: 2px; --drop: 0 4px 0 var(--ink-0);
  --gutter: 16px; --max: 1200px;
  --display: "Barlow Condensed", "Arial Narrow", "Roboto Condensed", system-ui, sans-serif;
  --body: "Barlow", system-ui, -apple-system, "Segoe UI", sans-serif;
  color-scheme: dark;
}
@media (min-width: 700px) { :root { --gutter: 32px; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 72px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0; min-height: 100vh; overflow-x: hidden;
  background: var(--ink-2) linear-gradient(180deg, var(--ink-2) 0%, var(--ink-1) 55%, var(--ink-0) 100%) no-repeat;
  color: var(--cream); font: 500 1.0625rem/1.6 var(--body); font-kerning: normal; font-variant-ligatures: common-ligatures;
}
img, video, svg { display: block; max-width: 100%; height: auto; }
a { color: var(--foam); text-underline-offset: .18em; text-decoration-thickness: .08em; }
a:hover { color: var(--cream); }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; border-radius: 4px; }
p { margin: 0 0 1em; text-wrap: pretty; }
h1, h2, h3 { margin: 0; font-weight: 800; line-height: .95; text-wrap: balance; }
ul.plain, .features, .crews, .shots { list-style: none; margin: 0; padding: 0; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; left: var(--gutter); top: -60px; z-index: 20; padding: .6em 1em; background: var(--cream); color: var(--ink-3); border-radius: var(--radius); font-weight: 600; }
.skip:focus { top: 8px; }
.icon { width: 1.15em; height: 1.15em; flex: none; }

/* ---- type ---- */
.display {
  font: italic 800 clamp(2.4rem, 6.4vw, 4.75rem)/.9 var(--display); text-transform: uppercase; letter-spacing: .005em;
  color: var(--cream); margin-bottom: .32em;
}
h3.display { font-size: clamp(1.9rem, 3.8vw, 2.75rem); margin-bottom: .3em; }
.tagline {
  margin: 0; font: italic 700 clamp(1.45rem, 3.6vw, 2.35rem)/1 var(--display); letter-spacing: .06em; text-transform: uppercase; color: var(--orange);
}
.over {
  text-shadow: .05em 0 0 var(--ink-0), -.05em 0 0 var(--ink-0), 0 .05em 0 var(--ink-0), 0 -.05em 0 var(--ink-0),
    .036em .036em 0 var(--ink-0), -.036em .036em 0 var(--ink-0), .036em -.036em 0 var(--ink-0), -.036em -.036em 0 var(--ink-0),
    0 .1em .35em rgb(6 22 31 / .55);
}
.c-penguins { color: var(--penguins); } .c-puffins { color: var(--puffins); } .c-emperors { color: var(--emperors); } .c-rockhoppers { color: var(--rockhoppers); }

/* ---- buttons: Tidal enamel ---- */
.btn, .badge {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em; min-height: 48px; padding: .5em 1.15em;
  font: 700 1.15rem/1 var(--display); letter-spacing: .05em; text-transform: uppercase; text-decoration: none; border-radius: var(--radius);
}
.btn { color: var(--ink-3); background: var(--cream); border: var(--line) solid var(--ink-3); box-shadow: var(--drop); transition: transform .12s, box-shadow .12s, background-color .12s; }
.btn:hover { color: var(--ink-3); background: #fffdf2; transform: translateY(-1px); box-shadow: 0 5px 0 var(--ink-0); }
.btn:active { transform: translateY(3px); box-shadow: 0 1px 0 var(--ink-0); }
.btn-primary { background: var(--orange); }
.btn-primary:hover { background: #ffc677; }
.badge { color: var(--cream); background: none; border: 0; padding-inline: .4em; letter-spacing: .08em; }
.badge .icon { color: var(--orange); }
@media (prefers-reduced-motion: reduce) { .btn { transition: none; } .btn:hover, .btn:active { transform: none; } }

/* ---- bar ---- */
.bar {
  position: sticky; top: 0; z-index: 10; display: flex; align-items: center; gap: 20px; height: 64px; padding: 0 var(--gutter);
  background: rgb(10 37 48 / .82); border-bottom: 1px solid rgb(255 248 223 / .08);
  -webkit-backdrop-filter: blur(10px) saturate(1.2); backdrop-filter: blur(10px) saturate(1.2);
}
.bar-home { display: flex; align-items: center; min-height: 48px; }
.bar-home img { width: auto; height: 40px; }
.bar-nav { display: none; gap: 4px; margin-left: auto; }
.bar-nav a {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 12px; border-radius: 8px;
  font: 700 1.02rem/1 var(--display); letter-spacing: .07em; text-transform: uppercase; color: var(--cream-dim); text-decoration: none;
}
.bar-nav a:hover { color: var(--cream); background: rgb(255 248 223 / .07); }
.bar-cta { margin-left: auto; min-height: 42px; padding: .4em .9em; font-size: 1rem; }
.bar-nav + .bar-cta { margin-left: 8px; }
@media (min-width: 900px) { .bar-nav { display: flex; } }
@media (max-width: 899px) { .bar-nav + .bar-cta { margin-left: auto; } }
@media (max-width: 380px) { .bar-cta span { display: none; } .bar-cta { padding: .4em .7em; } }
@media (max-width: 899px) { .badge.bar-cta { display: none; } }

/* ---- hero: the Steam library hero, the Icecap logo set on its sky as the Steam client does; words below the birds ---- */
.hero {
  position: relative; display: grid; grid-template-rows: auto 1fr auto; justify-items: center; isolation: isolate; overflow: hidden;
  min-height: clamp(600px, 86svh, 900px); padding: clamp(14px, 3.2svh, 36px) var(--gutter) clamp(26px, 5svh, 52px); text-align: center;
}
.hero-art, .hero-art img { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-art { z-index: -2; }
.hero-art img { object-fit: cover; object-position: 50% 58%; }
.hero::after { content: ""; position: absolute; inset: auto 0 0; height: 30%; z-index: -1; background: linear-gradient(180deg, rgb(14 47 58 / 0), rgb(14 47 58 / .6) 55%, var(--ink-2) 98%); }
.hero-logo { grid-row: 1; }
.hero-logo img { width: min(84vw, 640px); filter: drop-shadow(0 10px 18px rgb(6 22 31 / .45)); }
.hero-foot { grid-row: 3; display: grid; justify-items: center; gap: 12px; max-width: 900px; }
.lede-versus { margin: 0 auto clamp(22px, 4vw, 40px); text-align: center; font-size: clamp(2.2rem, 6vw, 3.6rem); }
.cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 14px; margin-top: 6px; }
/* portrait screens (phones, tablets upright) take the tall art */
@media (orientation: portrait) { .hero-art img { object-position: 50% 50%; } .hero::after { height: 36%; } }
@media (max-width: 700px) { .hero { min-height: max(600px, 100svh - 64px); } }

/* ---- sections ---- */
main > section { padding: clamp(56px, 9vw, 112px) var(--gutter) 0; }
main > .hero + section { padding-top: clamp(80px, 10vw, 128px); } /* room between the hero's Coming-to line and the first section */
.intro { max-width: 780px; margin: 0 auto clamp(28px, 5vw, 52px); text-align: center; }
.intro p { color: var(--cream-dim); font-size: clamp(1.06rem, 2vw, 1.22rem); }

.trailer { padding-top: clamp(8px, 2vw, 24px) !important; }
.trailer figure { margin: 0 auto; max-width: var(--max); }
.trailer video, .loop video { width: 100%; aspect-ratio: 16 / 9; background: var(--ink-0); }
.trailer video { border-radius: var(--radius); border: var(--line) solid rgb(255 248 223 / .14); box-shadow: 0 18px 50px rgb(0 0 0 / .38); }
figcaption { margin-top: 12px; text-align: center; font-size: .95rem; color: var(--cream-dim); }

.features { max-width: var(--max); margin: 0 auto; display: grid; gap: clamp(40px, 7vw, 88px); }
.feature { display: grid; gap: 18px 44px; align-items: center; }
@media (min-width: 860px) {
  .feature { grid-template-columns: 7fr 5fr; }
  .feature.flip { grid-template-columns: 5fr 7fr; }
  .feature.flip .loop { order: 2; }
}
.feature-text p { color: var(--cream-dim); font-size: 1.1rem; max-width: 42ch; }
.loop { position: relative; border-radius: var(--radius); overflow: hidden; border: var(--line) solid rgb(255 248 223 / .14); box-shadow: 0 14px 40px rgb(0 0 0 / .32); }
.loop video, .loop img { aspect-ratio: 16 / 9; object-fit: cover; }
.loop img { display: block; width: 100%; height: auto; background: var(--ink-0); }
.loop-toggle {
  position: absolute; right: 10px; bottom: 10px; display: grid; place-items: center; width: 44px; height: 44px; padding: 0; cursor: pointer;
  color: var(--cream); background: rgb(6 22 31 / .62); border: 1px solid rgb(255 248 223 / .3); border-radius: 50%;
}
.loop-toggle:hover { background: rgb(6 22 31 / .82); }
.loop-toggle .i-play, .loop.paused .loop-toggle .i-pause { display: none; }
.loop.paused .loop-toggle .i-play { display: block; }

.crews { max-width: var(--max); margin: 0 auto; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
@media (min-width: 960px) { .crews { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; } }
.crew { background: var(--ink-1); border-radius: var(--radius); border: 1px solid rgb(255 248 223 / .1); border-top: 5px solid currentColor; overflow: hidden; padding: 0 0 18px; }
.crew img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; background: var(--ink-3); }
.crew-name { margin: 14px 16px 6px; font: italic 800 clamp(1.7rem, 3vw, 2.2rem)/.95 var(--display); text-transform: uppercase; }
.crew p { margin: 0 16px; color: var(--cream-dim); font-size: .98rem; line-height: 1.45; }
.crew-penguins { color: var(--penguins); } .crew-puffins { color: var(--puffins); } .crew-emperors { color: var(--emperors); } .crew-rockhoppers { color: var(--rockhoppers); }

.seal-note { max-width: 780px; margin: 0 auto clamp(44px, 7vw, 80px); display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 18px 28px; text-align: center; }
.seal-face { flex: none; width: clamp(150px, 30vw, 220px); aspect-ratio: 1; border-radius: 50%; overflow: hidden; border: 4px solid var(--ink-3); box-shadow: 0 0 0 4px rgb(0 0 0 / .25), 0 18px 40px rgb(0 0 0 / .45); background: var(--ink-0); }
.seal-face img { width: 100%; height: 100%; object-fit: cover; }
.seal-line { flex: 1 1 260px; max-width: 26ch; margin: 0; font: italic 800 clamp(1.5rem, 3.6vw, 2.2rem)/1.05 var(--display); text-transform: uppercase; color: var(--cream); text-align: left; }
@media (max-width: 560px) { .seal-line { text-align: center; } }

.weapons { max-width: var(--max); margin: 0 auto; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
@media (min-width: 700px) { .weapons { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1040px) { .weapons { gap: 18px; } }
.weapon { background: var(--ink-1); border-radius: var(--radius); border: 1px solid rgb(255 248 223 / .1); border-top: 5px solid var(--orange); overflow: hidden; padding: 0 0 16px; }
.weapon img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; background: var(--ink-3); }
.weapon-name { margin: 12px 14px 6px; font: italic 800 clamp(1.3rem, 2.4vw, 1.7rem)/.95 var(--display); text-transform: uppercase; color: var(--cream); }
.weapon p { margin: 0 14px; color: var(--cream-dim); font-size: .95rem; line-height: 1.45; }

.shots { max-width: var(--max); margin: 0 auto; display: grid; gap: 10px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.shots li:first-child { grid-column: span 2; }
@media (min-width: 600px) { .shots { gap: 14px; } }
@media (min-width: 1100px) { .shots { grid-template-columns: repeat(3, minmax(0, 1fr)); } .shots li:first-child { grid-column: span 3; } .shots li:first-child img { max-height: 62vh; object-fit: cover; } }
.shot { display: block; border-radius: var(--radius); overflow: hidden; border: 1px solid rgb(255 248 223 / .12); background: var(--ink-0); }
.shot img { width: 100%; height: 100%; aspect-ratio: 16 / 9; object-fit: cover; transition: transform .25s ease-out; }
.shot:hover img { transform: scale(1.025); }
@media (prefers-reduced-motion: reduce) { .shot img { transition: none; } .shot:hover img { transform: none; } }

.details { max-width: var(--max); margin: 0 auto; display: grid; gap: 14px; }
@media (min-width: 700px) { .details { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .details { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.detail { padding: 18px 20px; background: var(--ink-1); border: 1px solid rgb(255 248 223 / .1); border-radius: var(--radius); }
.detail dt { display: flex; align-items: center; gap: 10px; font: italic 700 1.35rem/1.05 var(--display); text-transform: uppercase; letter-spacing: .03em; }
.detail dt .icon { width: 26px; height: 26px; color: var(--orange); }
.detail dd { margin: 8px 0 0; color: var(--cream-dim); font-size: 1rem; line-height: 1.5; }

.closer { max-width: var(--max); margin: 0 auto; display: grid; gap: 22px 40px; align-items: center; justify-items: center; text-align: center; padding-bottom: clamp(56px, 8vw, 96px) !important; }
@media (min-width: 860px) { .closer { grid-template-columns: minmax(0, 616px) minmax(0, 1fr); justify-items: start; text-align: left; } }
.capsule { width: 100%; border-radius: 6px; overflow: hidden; background: #1b2838; padding: 0; box-shadow: 0 0 0 1px rgb(255 248 223 / .1), 0 18px 44px rgb(0 0 0 / .4); }
.capsule img { width: 100%; }
.closer-text { display: grid; gap: 20px; justify-items: inherit; }
.closer-line { margin: 0; font-size: clamp(2.2rem, 5.6vw, 4rem); }

/* ---- footer ---- */
.foot { margin-top: clamp(40px, 6vw, 72px); padding: 36px var(--gutter) 44px; border-top: 1px solid rgb(255 248 223 / .1); text-align: center; color: var(--cream-dim); font-size: .95rem; }
.versus { font: italic 800 clamp(1.9rem, 5vw, 3rem)/1 var(--display); text-transform: uppercase; }
.versus .vs { font-weight: 700; text-transform: lowercase; color: var(--cream); font-size: .55em; padding: 0 .2em; }
.foot-versus { margin: 0 0 18px; }
.foot-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 22px; margin-bottom: 14px; }
.foot-links a { display: inline-flex; align-items: center; min-height: 44px; font: 700 1.05rem/1 var(--display); letter-spacing: .07em; text-transform: uppercase; color: var(--cream); text-decoration: none; }
.foot-links a:hover { color: var(--orange); }
.foot p { margin: 0 0 6px; }
.foot-legal { font-size: .85rem; opacity: .8; }

/* ---- plain pages (press, 404) ---- */
.press, .lost, .privacy { max-width: 820px; margin: 0 auto; padding: clamp(40px, 7vw, 80px) var(--gutter) 0; }
.press h2, .privacy h2 { margin: 2.2em 0 .6em; font: italic 800 clamp(1.7rem, 4vw, 2.4rem)/1 var(--display); text-transform: uppercase; }
.press h3 { margin: 1.6em 0 .5em; font: italic 700 1.4rem/1 var(--display); text-transform: uppercase; letter-spacing: .03em; }
.lede { font-size: clamp(1.1rem, 2.2vw, 1.3rem); color: var(--cream-dim); }
.facts { margin: 28px 0 0; padding: 6px 22px; background: var(--cream); color: var(--ink-3); border: var(--line) solid var(--ink-3); border-radius: var(--radius); box-shadow: var(--drop); }
.facts div { display: grid; grid-template-columns: minmax(7.5em, 1fr) 3fr; gap: 12px; padding: 12px 0; border-bottom: 1px solid rgb(23 75 92 / .18); }
.facts div:last-child { border-bottom: 0; }
.facts dt { font: 700 1.05rem/1.4 var(--display); letter-spacing: .06em; text-transform: uppercase; }
.facts dd { margin: 0; font-weight: 600; }
ul.plain li { margin: 0 0 .7em; padding-left: 1.1em; position: relative; color: var(--cream-dim); }
ul.plain li::before { content: ""; position: absolute; left: 0; top: .62em; width: .45em; height: .45em; border-radius: 50%; background: var(--orange); }
ul.plain strong { color: var(--cream); }
.downloads .meta { color: var(--cream-dim); font-size: .9rem; opacity: .85; }
.press-shots { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
@media (min-width: 700px) { .press-shots { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.press-shots a { display: grid; gap: 6px; color: var(--cream-dim); text-decoration: none; font-size: .85rem; }
.press-shots img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 6px; border: 1px solid rgb(255 248 223 / .12); }
.press-shots a:hover img { border-color: var(--orange); }
.lost { text-align: center; min-height: 52vh; }

/* ---- screenshot viewer (site.js) ---- */
.viewer { width: 100vw; max-width: none; height: 100vh; max-height: none; margin: 0; padding: 0; border: 0; background: rgb(6 22 31 / .94); color: var(--cream); }
.viewer::backdrop { background: rgb(6 22 31 / .7); }
.viewer[open] { display: grid; grid-template: 1fr / 1fr; place-items: center; }
.viewer img { max-width: min(96vw, 1920px); max-height: 86vh; width: auto; height: auto; border-radius: 6px; }
.viewer button {
  position: absolute; display: grid; place-items: center; width: 52px; height: 52px; padding: 0; cursor: pointer;
  color: var(--cream); background: rgb(14 47 58 / .9); border: 1px solid rgb(255 248 223 / .3); border-radius: 50%;
}
.viewer button .icon { width: 26px; height: 26px; }
.viewer .v-close { top: 14px; right: 14px; }
.viewer .v-prev { left: 14px; top: 50%; translate: 0 -50%; }
.viewer .v-next { right: 14px; top: 50%; translate: 0 -50%; }
.viewer .v-count { position: absolute; bottom: 16px; left: 0; right: 0; text-align: center; font: 700 1rem/1 var(--display); letter-spacing: .08em; }

@media print { .pop, .hero-logo img, .hero .tagline, .hero .cta { animation: none !important; } .bar, .loop-toggle { display: none; } }

/* ---- motion: the title spring (scripts/spring.mjs); none under reduced motion ---- */
@keyframes drop-in { from { transform: translateY(-36%) scale(.94); opacity: 0; } 35% { opacity: 1; } to { transform: none; opacity: 1; } }
@keyframes pop-in { from { transform: scale(.62); opacity: 0; } 30% { opacity: 1; } to { transform: none; opacity: 1; } }
@keyframes pop-soft { from { transform: scale(.84); opacity: 0; } 35% { opacity: 1; } to { transform: none; opacity: 1; } }
@keyframes fade-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: no-preference) {
  .hero-logo img { animation: drop-in 1s cubic-bezier(.34, 1.56, .64, 1) both; }
  .hero .tagline { animation: pop-in .75s cubic-bezier(.34, 1.56, .64, 1) .38s both; }
  .hero .cta { animation: fade-in .55s ease-out .7s both; }
  @supports (animation-timing-function: linear(0, 1)) {
    .hero-logo img, .hero .tagline { animation-timing-function: var(--spring); }
  }
  @supports (animation-timeline: view()) {
    .pop { transform-origin: 50% 70%; animation: pop-soft linear both; animation-timeline: view(); animation-range: entry 5% entry 75%; }
    .feature-text .pop { transform-origin: 0 70%; }
  }
}
