/* Seastar Studios site: night sky, white type, the logo's grey depth on everything you can press */
/* Fonts are served from this site, not from Google: loading Google Fonts from Google sends visitor IPs to Google, which German courts treat as a GDPR breach */
@font-face { font-family: 'Fredoka'; font-style: normal; font-weight: 300 700; font-display: swap; src: url(assets/fonts/fredoka-latin.woff2) format('woff2'); }
@font-face { font-family: 'IBM Plex Mono'; font-style: normal; font-weight: 500; font-display: swap; src: url(assets/fonts/plex-mono-500-latin.woff2) format('woff2'); }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 100 900; font-display: swap; src: url(assets/fonts/inter-latin.woff2) format('woff2'); }

:root {
  --bg: #07090f;
  --bg-2: #0c1019;
  --card: rgba(18, 23, 34, 0.72);
  --card-solid: #121722;
  --line: rgba(255, 255, 255, 0.09);
  --line-hi: rgba(255, 255, 255, 0.2);
  --text: #f4f6fa;
  --muted: #9aa3b2;
  --faint: #626b7a;
  --depth: #6e6e6e;
  --glow: #1a2440;
  --glow-hi: #2b3d72;
  --radius: 20px;
  --max: 1180px;
  --head: 'Fredoka', 'Trebuchet MS', system-ui, sans-serif;
  --body: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --mono: 'IBM Plex Mono', ui-monospace, Consolas, monospace;
  --ease: cubic-bezier(.16, 1, .3, 1);
  color-scheme: dark;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; overflow-x: clip; }
body { background: var(--bg); color: var(--text); font: 16px/1.6 var(--body); -webkit-font-smoothing: antialiased; overflow-x: clip; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
.wrap { width: min(var(--max), 100% - 40px); margin-inline: auto; }
h2 { font: 700 clamp(32px, 5vw, 52px)/1.05 var(--head); letter-spacing: .01em; margin-bottom: 14px; text-wrap: balance; }
.eyebrow { color: var(--muted); font: 600 13px var(--body); letter-spacing: .18em; text-transform: uppercase; margin-bottom: 12px; display: flex; align-items: center; gap: 10px; }
.eyebrow::before { content: ''; width: 22px; height: 2px; background: var(--text); border-radius: 2px; }
.lead { color: var(--muted); max-width: 620px; font-size: 18px; }
section { padding: 110px 0; position: relative; }
.section-head { margin-bottom: 48px; }
:focus-visible { outline: 2px solid #fff; outline-offset: 3px; border-radius: 8px; }

/* soft light that follows the mouse */
.cursor-glow { position: fixed; z-index: 0; left: 0; top: 0; width: 520px; height: 520px; margin: -260px 0 0 -260px; border-radius: 50%; pointer-events: none;
  background: radial-gradient(circle, rgba(70, 100, 200, .13), transparent 65%); transform: translate(var(--mx, -999px), var(--my, -999px)); transition: opacity .3s; }
@media (hover: none) { .cursor-glow { display: none; } }
main, footer, .nav { position: relative; z-index: 1; }

/* ---------- header ---------- */
.nav { position: fixed; inset: 0 0 auto; z-index: 50; transition: background .3s, border-color .3s, backdrop-filter .3s; border-bottom: 1px solid transparent; padding-top: env(safe-area-inset-top, 0px); }
.nav.solid { background: rgba(7, 9, 15, .78); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-color: var(--line); }
.nav .wrap { display: flex; align-items: center; gap: 28px; height: 72px; }
.brand { display: flex; align-items: center; gap: 10px; font: 600 20px var(--head); letter-spacing: .02em; white-space: nowrap; }
.brand img { width: 36px; height: 36px; transition: transform .5s cubic-bezier(.3,1.6,.5,1); }
.brand:hover img { transform: rotate(72deg) scale(1.1); }
.nav-links { display: flex; gap: 28px; margin-left: auto; color: var(--muted); font-weight: 500; font-size: 15px; }
.nav-links a { position: relative; padding: 6px 0; }
.nav-links a::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--text); transform: scaleX(0); transition: transform .25s; transform-origin: left; }
.nav-links a:hover { color: var(--text); }
.nav-links a:hover::after { transform: scaleX(1); }

/* ---------- buttons: pressable, with the logo's depth ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 13px 22px; border-radius: 999px; font: 600 16px var(--head); letter-spacing: .02em; white-space: nowrap; transition: transform .15s, box-shadow .15s, background .2s, border-color .2s; }
.btn svg { width: 20px; height: 20px; flex: none; }
.btn-solid { background: #fff; color: #0b0d12; box-shadow: 0 5px 0 var(--depth); position: relative; overflow: hidden; }
.btn-solid::after { content: ''; position: absolute; inset: 0; background: linear-gradient(105deg, transparent 35%, rgba(255,255,255,.9) 50%, transparent 65%); transform: translateX(-120%); }
.btn-solid:hover { transform: translateY(-2px); box-shadow: 0 7px 0 var(--depth); }
.btn-solid:hover::after { transform: translateX(120%); transition: transform .6s; }
.btn-solid:active { transform: translateY(4px); box-shadow: 0 1px 0 var(--depth); }
.btn-ghost { border: 1.5px solid var(--line-hi); color: var(--text); backdrop-filter: blur(6px); }
.btn-ghost:hover { background: rgba(255,255,255,.07); border-color: rgba(255,255,255,.45); }
.btn-sm { padding: 9px 16px; font-size: 14px; }
.btn-lg { padding: 16px 30px; font-size: 18px; }

/* ---------- hero ---------- */
.hero { min-height: clamp(680px, 94svh, 1000px); display: grid; place-items: center; padding: 120px 0 210px; overflow: hidden; text-align: center;
  background: radial-gradient(1100px 620px at 50% 0%, var(--glow-hi) 0%, rgba(26,36,64,.7) 35%, transparent 75%); }
/* one starfield behind the whole page, so the sky carries on all the way down */
.sky { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; }
.hero-inner { position: relative; display: grid; justify-items: center; gap: 26px; }
.hero-logo { position: relative; width: min(760px, 92vw); animation: bob 6s ease-in-out infinite; filter: drop-shadow(0 24px 50px rgba(0,0,0,.55)); }
.hero-logo img { display: block; width: 100%; }
/* the starfish layer sits exactly on top; origin = the starfish's centre in the 628x222 logo */
.hero-logo .logo-star { position: absolute; inset: 0; transform-origin: 62.42% 78.42%; transition: transform .7s cubic-bezier(.34, 1.2, .64, 1); }
/* a gentle fifth of a turn (one arm) while hovered, easing back on leave; .turned does the same for taps */
.hero-logo:hover .logo-star, .hero-logo .logo-star.turned { transform: rotate(72deg); }
@keyframes bob { 50% { transform: translateY(-12px) rotate(-.6deg); } }
.hero-line { color: #c3cad6; font-size: clamp(18px, 2.4vw, 23px); max-width: 640px; }
.actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.ticker { display: inline-flex; align-items: center; gap: 12px; margin-top: 14px; padding: 10px 18px; border-radius: 999px; background: rgba(255,255,255,.05); border: 1px solid var(--line); color: var(--muted); font-size: 15px; backdrop-filter: blur(6px); }
.ticker b { color: var(--text); font: 600 17px var(--head); font-variant-numeric: tabular-nums; letter-spacing: .02em; }
.live-dot { width: 9px; height: 9px; border-radius: 50%; background: #5ee08c; box-shadow: 0 0 0 0 rgba(94,224,140,.6); animation: ping 2s infinite; }
@keyframes ping { 70% { box-shadow: 0 0 0 10px rgba(94,224,140,0); } 100% { box-shadow: 0 0 0 0 rgba(94,224,140,0); } }
.hero-sea { position: absolute; left: 0; right: 0; bottom: -2px; width: 100%; height: 110px; }
.hero-sea path { fill: var(--bg); }
.hero-sea path:first-child { fill: rgba(255,255,255,.035); animation: drift 9s ease-in-out infinite alternate; }
@keyframes drift { to { transform: translateX(-60px); } }

/* ---------- marquee of game art ---------- */
.marquee { overflow: hidden; padding: 22px 0; transform: rotate(-2deg); margin: -10px -20px 0; border-block: 1px solid var(--line); background: var(--bg-2); }
.marquee-track { display: flex; gap: 18px; width: max-content; animation: scroll 46s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track a { flex: none; border-radius: 14px; transition: transform .25s cubic-bezier(.2,.8,.3,1.4); }
.marquee-track a:hover { transform: translateY(-6px) scale(1.04); }
.marquee-track img { width: 240px; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 14px; border: 1px solid var(--line); transition: border-color .25s, box-shadow .25s; }
.marquee-track a:hover img { border-color: rgba(255,255,255,.6); box-shadow: 0 10px 28px rgba(0,0,0,.5); }
@keyframes scroll { to { transform: translateX(-50%); } }

/* ---------- stats ---------- */
.stats-band { padding: 90px 0 30px; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.stat { padding: 30px 22px; border-radius: var(--radius); background: var(--card); border: 1px solid var(--line); text-align: center; }
.stat b { display: block; font: 700 clamp(34px, 4.6vw, 54px)/1 var(--head); font-variant-numeric: tabular-nums; text-shadow: 0 5px 0 rgba(110,110,110,.55); margin-bottom: 10px; }
.stat span { color: var(--muted); font-size: 15px; }

/* ---------- featured game ---------- */
.featured { display: grid; grid-template-columns: 1.35fr 1fr; overflow: hidden; background: var(--card-solid); border: 1px solid var(--line); border-radius: 28px; transform-style: preserve-3d; transition: transform .2s ease-out, border-color .3s; }
.featured:hover { border-color: var(--line-hi); }
.featured .shot { position: relative; min-height: 360px; background: #000 center/cover no-repeat; }
.featured .shot::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, transparent 55%, var(--card-solid)); }
.featured .info { padding: 44px 44px 44px 26px; display: flex; flex-direction: column; justify-content: center; gap: 18px; min-width: 0; }
.featured h3 { font: 700 40px/1.05 var(--head); }
.featured p { color: var(--muted); }
.badge { align-self: flex-start; font: 600 12px var(--body); letter-spacing: .12em; text-transform: uppercase; padding: 7px 13px; border-radius: 999px; background: #fff; color: #0b0d12; box-shadow: 0 3px 0 var(--depth); }
.mini-stats { display: flex; gap: 28px; flex-wrap: wrap; }
.mini-stats b { display: block; font: 700 28px var(--head); }
.mini-stats span { color: var(--faint); font-size: 13px; }

/* ---------- game cards ---------- */
.games { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 22px; }
.game { position: relative; background: var(--card-solid); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: transform .25s cubic-bezier(.2,.8,.3,1.2), border-color .25s, box-shadow .25s; }
.game:hover { transform: translateY(-6px); border-color: var(--line-hi); box-shadow: 0 18px 40px rgba(0,0,0,.45), 0 0 0 1px rgba(255,255,255,.04); }
.game .thumb { position: relative; aspect-ratio: 16 / 9; overflow: hidden; }
.game .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.game:hover .thumb img { transform: scale(1.07); }
.game .thumb::after { content: ''; position: absolute; inset: 0; background: linear-gradient(105deg, transparent 30%, rgba(255,255,255,.22) 48%, transparent 62%); transform: translateX(-120%); }
.game:hover .thumb::after { transform: translateX(120%); transition: transform .8s; }
.game .play { position: absolute; right: 12px; bottom: 12px; width: 44px; height: 44px; border-radius: 50%; background: #fff; color: #0b0d12; display: grid; place-items: center; box-shadow: 0 4px 0 var(--depth); opacity: 0; transform: translateY(8px); transition: .25s; }
.game:hover .play { opacity: 1; transform: none; }
.game .play svg { width: 18px; height: 18px; margin-left: 2px; }
.game .body { display: flex; gap: 14px; padding: 16px; align-items: center; }
.game .icon { width: 54px; height: 54px; border-radius: 13px; flex: none; object-fit: cover; }
.game h4 { font: 600 18px/1.2 var(--head); }
.game small { color: var(--muted); font-size: 13px; font-variant-numeric: tabular-nums; }
.game .rank { position: absolute; left: 12px; top: 12px; padding: 4px 10px; border-radius: 999px; background: rgba(7,9,15,.75); backdrop-filter: blur(6px); font: 600 13px var(--head); color: var(--text); }

/* ---------- steps ---------- */
.steps { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; position: relative; }
.steps::before { content: ''; position: absolute; left: 8%; right: 8%; top: 46px; height: 2px; background: repeating-linear-gradient(90deg, var(--line-hi) 0 10px, transparent 10px 20px); }
.step { position: relative; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; display: grid; gap: 10px; backdrop-filter: blur(8px); }
.step-n { width: 40px; height: 40px; border-radius: 50%; background: #fff; color: #0b0d12; display: grid; place-items: center; font: 700 18px var(--head); box-shadow: 0 4px 0 var(--depth); }
.step h3 { font: 700 24px var(--head); }
.step p { color: var(--muted); }
.step-hot { background: linear-gradient(160deg, rgba(43,61,114,.75), rgba(18,23,34,.75)); border-color: rgba(160,180,240,.3); }

/* ---------- team ---------- */
.team { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 18px; }
.member { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 20px 26px; text-align: center; transition: transform .25s cubic-bezier(.2,.8,.3,1.4), border-color .25s; }
.member:hover { transform: translateY(-6px) rotate(-1deg); border-color: var(--line-hi); }
.avatar { width: 84px; height: 84px; margin: 0 auto 16px; border-radius: 50%; display: grid; place-items: center; font: 700 36px var(--head); color: #0b0d12; background: #fff; box-shadow: 0 6px 0 var(--depth); }
.avatar img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; border: 3px solid #fff; }
.member h4 { font: 600 20px var(--head); }
.member span { color: var(--muted); font-size: 14px; }
.member.alumni { opacity: .5; }
.member.alumni .avatar { background: #c9ccd2; }

/* ---------- community ---------- */
.cta { position: relative; overflow: hidden; text-align: center; border-radius: 32px; padding: 80px 28px; border: 1px solid var(--line); background: radial-gradient(900px 340px at 50% 0%, var(--glow-hi), var(--bg-2) 70%); }
.cta > * { position: relative; }
.cta-star { position: absolute !important; width: 520px; right: -140px; bottom: -180px; opacity: .06; animation: spin 60s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.cta-icon { width: 104px; margin: 0 auto 22px; animation: bob 5s ease-in-out infinite; }
.cta .lead { margin: 0 auto; }
.cta .actions { margin-top: 32px; }

/* ---------- atmosphere further down the page ---------- */
.glow-left::before, .glow-right::before { content: ''; position: absolute; z-index: -1; top: 0; width: 900px; height: 700px; pointer-events: none;
  background: radial-gradient(closest-side, rgba(43,61,114,.35), transparent); }
.glow-left::before { left: -360px; }
.glow-right::before { right: -360px; }
.deco-star { position: absolute; z-index: -1; width: 460px; opacity: .05; pointer-events: none; animation: spin 90s linear infinite; }
.deco-right { right: -150px; top: 60px; }
.deco-left { left: -170px; top: 40px; animation-direction: reverse; }

/* the page ends on a moonlit beach: sea, foam washing up, wet then dry sand, starfish lying about */
.beach { --sand: #4b4232; --wet: #362f24; position: relative; z-index: 1; height: 300px; margin-top: 30px; overflow: hidden; }
.beach-art { position: absolute; inset: 0; width: 100%; height: 100%; }
.sea-back { animation: drift 12s ease-in-out infinite alternate; }
.sea-front { animation: drift 9s ease-in-out infinite alternate-reverse; }
.moon-path { animation: shimmer 4s ease-in-out infinite; }
.mp-2 { animation-delay: -2s; }
@keyframes shimmer { 50% { opacity: .35; } }
.shore { animation: wash 7s ease-in-out infinite; }
@keyframes wash { 0%, 100% { transform: translateY(14px); } 45% { transform: translateY(-4px); } }
.wet-sand { fill: var(--wet); }
.foam { fill: none; stroke: #fff; stroke-width: 5; stroke-linecap: round; vector-effect: non-scaling-stroke; filter: drop-shadow(0 0 6px rgba(255,255,255,.5)); animation: foam 7s ease-in-out infinite; }
@keyframes foam { 0%, 100% { opacity: .15; } 45% { opacity: .75; } }
.dry-sand { fill: var(--sand); }
.sand-star { position: absolute; filter: drop-shadow(0 5px 0 rgba(0,0,0,.35)); opacity: .92; transition: transform .4s cubic-bezier(.3,1.6,.5,1); }
.group-link { cursor: pointer; }
.group-link:hover .sand-star, .group-link:focus-visible .sand-star { transform: rotate(40deg) scale(1.2) !important; opacity: 1; filter: drop-shadow(0 5px 0 rgba(0,0,0,.35)) drop-shadow(0 0 14px rgba(255,255,255,.5)); }
.ss-1 { width: 62px; left: 9%; bottom: 14px; transform: rotate(-18deg); }
.ss-2 { width: 40px; left: 17%; bottom: 34px; transform: rotate(28deg); opacity: .75; }
.ss-3 { width: 54px; right: 11%; bottom: 20px; transform: rotate(12deg); }
.shell { position: absolute; width: 18px; height: 14px; border-radius: 50% 50% 40% 40%; background: repeating-linear-gradient(90deg, #d9cdb4 0 3px, #b9ab8f 3px 5px); box-shadow: 0 3px 0 rgba(0,0,0,.3); }
.sh-1 { left: 31%; bottom: 22px; transform: rotate(-12deg); }
.sh-2 { right: 27%; bottom: 40px; transform: rotate(20deg) scale(.8); }
.sh-3 { left: 63%; bottom: 16px; transform: rotate(6deg) scale(1.1); }

/* ---------- footer: sitting on the dry sand ---------- */
footer { background: #4b4232; padding: 6px 0 calc(44px + env(safe-area-inset-bottom, 0px)); color: #d8cfbd; font-size: 14px; }
footer .foot-logo { filter: drop-shadow(0 4px 10px rgba(0,0,0,.25)); }
footer .wrap { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; align-items: center; }
footer .foot-logo { width: 150px; opacity: .9; }
footer .links { display: flex; gap: 20px; flex-wrap: wrap; }
footer a:hover { color: #fff; }
footer .links a { font-weight: 500; }

/* ---------- reveal on scroll (only below the fold, set by JS) ---------- */
.pre { opacity: 0; transform: translateY(28px); }
.shown { opacity: 1; transform: none; transition: opacity .7s ease, transform .7s cubic-bezier(.2,.8,.3,1); }

/* ---------- single game page ---------- */
.game-hero { position: relative; padding: 0; }
.game-hero .banner { height: clamp(300px, 46vw, 520px); background: #000 center/cover no-repeat; }
.game-hero .banner::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(7,9,15,.2) 25%, var(--bg) 100%); }
.game-head { position: relative; z-index: 2; margin-top: -120px; display: flex; gap: 26px; align-items: flex-end; flex-wrap: wrap; }
.game-head .icon { width: 150px; height: 150px; border-radius: 30px; object-fit: cover; border: 4px solid var(--bg); box-shadow: 0 9px 0 var(--depth); }
.game-head h1 { font: 700 clamp(34px, 5.5vw, 58px)/1.05 var(--head); }
.tags { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 12px; }
.tags span { font-size: 13px; padding: 5px 12px; border-radius: 999px; background: rgba(255,255,255,.08); color: var(--muted); }
.game-body { display: grid; grid-template-columns: 1.5fr 1fr; gap: 40px; margin-top: 44px; }
.game-body p { color: var(--muted); font-size: 18px; }
.panel { background: var(--card-solid); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; display: grid; gap: 16px; }
.panel .row { display: flex; justify-content: space-between; border-bottom: 1px solid var(--line); padding-bottom: 12px; }
.panel .row:last-of-type { border: 0; padding: 0; }
.panel .row span { color: var(--muted); }
.panel .row b { font: 600 18px var(--head); font-variant-numeric: tabular-nums; }

/* ---------- legal pages (Impressum, Datenschutz) ---------- */
.legal { max-width: 760px; padding: 130px 0 40px; display: grid; gap: 14px; }
.legal h1 { font: 700 clamp(36px, 6vw, 56px)/1.05 var(--head); margin-bottom: 6px; }
.legal h2 { font: 600 22px/1.3 var(--head); margin: 22px 0 0; }
.legal h3 { font: 600 17px var(--head); margin-bottom: 6px; }
.legal p { color: #c3cad6; }
.legal a { text-decoration: underline; text-underline-offset: 3px; }
.legal mark { background: rgba(255, 210, 63, .18); color: #ffe08a; border-radius: 4px; padding: 0 4px; }
.legal-note { font-size: 14px; color: var(--muted) !important; }
/* contact page: two ways to reach us, then who to contact for what */
.contact { max-width: 920px; padding: 130px 0 40px; display: grid; gap: 14px; }
.contact h1 { font: 700 clamp(36px, 6vw, 56px)/1.05 var(--head); }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 18px; }
.contact-card { display: grid; gap: 12px; align-content: start; padding: 28px; border-radius: var(--radius); background: var(--card); border: 1px solid var(--line); backdrop-filter: blur(8px); transition: border-color .25s, transform .25s; }
.contact-card:hover { border-color: var(--line-hi); transform: translateY(-4px); }
.contact-card .ic { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; background: #fff; color: #0b0d12; box-shadow: 0 4px 0 var(--depth); }
.contact-card .ic svg { width: 26px; height: 26px; }
.contact-card h2 { font: 600 26px/1.2 var(--head); margin: 6px 0 0; }
.contact-card p { color: #c3cad6; }
.contact-card .addr { font: 500 14px var(--mono); color: var(--text); word-break: break-all; }
.contact-card .btn { justify-self: start; margin-top: 6px; }
.contact-card .btn svg { width: 20px; height: 20px; }
.contact mark { background: rgba(255, 210, 63, .18); color: #ffe08a; border-radius: 4px; padding: 0 4px; }
.routes-title { font: 600 24px var(--head) !important; margin: 34px 0 4px !important; }
.routes { display: grid; border-top: 1px solid var(--line); }
.route { display: flex; justify-content: space-between; align-items: baseline; gap: 18px; padding: 16px 4px; border-bottom: 1px solid var(--line); }
.route b { font: 600 17px/1.35 var(--head); }
.route span { color: var(--muted); text-align: right; flex-shrink: 0; max-width: 45%; }
.route a { color: var(--text); text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 720px) {
  .contact-grid { grid-template-columns: 1fr; }
  .route { flex-direction: column; gap: 4px; }
  .route span { text-align: left; max-width: none; }
}
/* press kit: fact sheet, logo downloads, colors, game images */
.press { max-width: 1000px; padding: 130px 0 40px; display: grid; gap: 14px; }
.press h1 { font: 700 clamp(36px, 6vw, 56px)/1.05 var(--head); }
.press .press-block { padding: 0; margin-top: 40px; display: grid; gap: 12px; }
.press-block h2 { font: 600 26px var(--head); margin: 0; }
.press-block p { color: #c3cad6; max-width: 720px; }
.press-block a { text-decoration: underline; text-underline-offset: 3px; }
.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 18px; }
.fact { padding: 18px 20px; border-radius: var(--radius); background: var(--card); border: 1px solid var(--line); display: grid; gap: 4px; }
.fact span { font: 500 11px var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.fact b { font: 600 20px/1.25 var(--head); }
.logo-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.logo-card { margin: 0; border-radius: var(--radius); border: 1px solid var(--line); overflow: hidden; background: var(--card); }
.logo-card img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: contain; padding: 22px; }
.logo-card.dark img { background: #07090f; }
.logo-card.light img { background: #eceef2; }
.logo-card.tile img { background: radial-gradient(circle at 50% 40%, #1a2440, #07090f); }
.logo-card figcaption { display: grid; gap: 4px; padding: 12px 14px; font-size: 14px; color: var(--muted); }
.logo-card figcaption a { color: var(--text); font-weight: 600; }
.swatches { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; }
.sw { display: grid; gap: 2px; font-size: 14px; }
.sw i { display: block; height: 64px; border-radius: 14px; border: 1px solid var(--line-hi); margin-bottom: 6px; }
.sw span { font: 500 12px var(--mono); color: var(--muted); }
.fonts .f-head { font-family: var(--head); }
.press-games { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.press-game { border-radius: var(--radius); background: var(--card-solid); border: 1px solid var(--line); overflow: hidden; display: grid; }
.pg-thumb { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.pg-body { display: flex; gap: 12px; align-items: center; padding: 14px 14px 6px; }
.pg-icon { width: 48px; height: 48px; border-radius: 12px; }
.pg-body h3 { font: 600 17px/1.2 var(--head); }
.pg-body small { color: var(--muted); }
.pg-links { display: flex; flex-wrap: wrap; gap: 14px; padding: 8px 14px 16px; font-size: 14px; }
.pg-links a { color: var(--text); }
@media (max-width: 900px) {
  .facts, .press-games { grid-template-columns: 1fr 1fr; }
  .logo-grid { grid-template-columns: 1fr 1fr; }
  .swatches { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 560px) {
  .facts, .press-games { grid-template-columns: 1fr; }
}
.legal-box {margin-top: 18px; padding: 20px 22px; border-radius: var(--radius); background: var(--card); border: 1px dashed var(--line-hi); }

/* ---------- responsive ---------- */
@media (max-width: 900px) {
  .featured, .game-body { grid-template-columns: 1fr; }
  .featured .shot { min-height: 0; aspect-ratio: 16 / 9; }
  .featured .shot::after { background: linear-gradient(180deg, transparent 60%, var(--card-solid)); }
  .featured .info { padding: 8px 24px 30px; }
  .games, .steps { grid-template-columns: repeat(2, 1fr); }
  .steps::before { display: none; }
  .stats { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 620px) {
  .nav-links { display: none; }
  .nav .btn { margin-left: auto; }
  .brand { font-size: 18px; }
  .games, .steps { grid-template-columns: 1fr; }
  section { padding: 76px 0; }
  .hero { min-height: 0; padding: 120px 0 130px; }
  .marquee-track img { width: 180px; }
  .game .play { opacity: 1; transform: none; }
  .game-head .icon { width: 108px; height: 108px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .pre { opacity: 1; transform: none; }
}

/* ======================================================================
   Studio layer: numbered sections, side nav, cursor, intro, filters,
   portrait team cards, careers. Ideas taken from the NextFrame template,
   restyled to Seastar's night sky and rounded type.
   ====================================================================== */

/* section headings: number + label in mono, heading left, side note right */
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; flex-wrap: wrap; }
.section-head .lead.side { max-width: 380px; font-size: 16px; }
.eyebrow { font-family: var(--mono); font-weight: 500; font-size: 12px; letter-spacing: .16em; }
.eyebrow .num { color: var(--text); margin-right: 2px; }
.eyebrow .num::after { content: ' —'; color: var(--faint); }
.eyebrow.center { justify-content: center; }
.eyebrow.center::before { display: none; }

/* hero line rises in word by word (words are wrapped by main.js) */
.hero-line { font: 500 clamp(19px, 2.4vw, 25px)/1.4 var(--body); color: #c3cad6; max-width: 660px; }
.hero-line .w { display: inline-block; overflow: hidden; vertical-align: bottom; padding-bottom: .12em; margin-bottom: -.12em; }
.hero-line .w > span { display: inline-block; animation: word-up 1.1s var(--ease) both; }
@keyframes word-up { from { transform: translateY(110%); } }
.scroll-cue { position: absolute; left: 50%; bottom: 120px; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 10px; font: 500 10px var(--mono); letter-spacing: .3em; color: var(--faint); text-transform: uppercase; }
.scroll-cue i { width: 1px; height: 38px; background: #fff; animation: cue 2.8s cubic-bezier(.76,0,.24,1) infinite; }
@keyframes cue { 0% { transform: scaleY(0); transform-origin: top; } 45% { transform: scaleY(1); transform-origin: top; } 55% { transform: scaleY(1); transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }
.mag { display: inline-block; will-change: transform; }

/* big outlined word strip between the numbers and the games */
.word-marq { overflow: hidden; padding: 26px 0 6px; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.word-track { display: flex; align-items: center; width: max-content; animation: scroll 60s linear infinite; }
.word-track span { font: 700 clamp(46px, 7vw, 92px)/1.1 var(--head); white-space: nowrap; padding-right: 44px; color: transparent; -webkit-text-stroke: 1.5px rgba(255,255,255,.28); }
.word-track span.fill { color: rgba(255,255,255,.9); -webkit-text-stroke: 0; text-shadow: 0 6px 0 rgba(110,110,110,.5); }
.word-track img { width: clamp(30px, 4vw, 54px); margin-right: 44px; opacity: .55; }

/* game type filters */
.filters { display: flex; gap: 8px; flex-wrap: wrap; }
.tag { font: 500 12px var(--mono); letter-spacing: .1em; text-transform: lowercase; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line-hi); color: var(--muted); background: rgba(7,9,15,.4); cursor: pointer; transition: color .3s, border-color .3s, background .3s; }
.tag:hover { color: var(--text); }
.tag.on { color: #0b0d12; background: #fff; border-color: #fff; box-shadow: 0 3px 0 var(--depth); }
.tag b { font-weight: 500; opacity: .55; margin-left: 4px; }
.game.hide, .featured.hide { display: none; }

/* team: portrait cards with index number, Roblox name and id */
.team { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.person { position: relative; display: grid; gap: 12px; padding: 14px 14px 18px; border-radius: 22px; background: var(--card); border: 1px solid var(--line); transition: transform .35s var(--ease), border-color .3s; }
.person:hover { transform: translateY(-6px); border-color: var(--line-hi); }
.person .portrait { position: relative; aspect-ratio: 4 / 5; border-radius: 14px; overflow: hidden; background: #0c1019; display: grid; place-items: center; font: 700 64px var(--head); color: #fff; }
.person .portrait img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.person:hover .portrait img { transform: scale(1.06); }
.person .portrait::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(7,9,15,.55)); pointer-events: none; }
.person .pnum { position: absolute; left: 12px; top: 10px; z-index: 1; font: 500 11px var(--mono); letter-spacing: .14em; color: #fff; padding: 4px 8px; border-radius: 999px; background: rgba(7,9,15,.55); backdrop-filter: blur(6px); }
.person h4 { font: 600 22px/1.1 var(--head); padding: 4px 4px 0; }
.person .prole { color: var(--text); font-size: 14px; font-weight: 500; padding: 0 4px; }
.person .pdoes { color: var(--muted); font-size: 13px; padding: 0 4px; margin-top: -8px; }
.person .pfoot { display: flex; justify-content: space-between; align-items: center; padding: 10px 4px 0; border-top: 1px solid var(--line); font: 500 11px var(--mono); letter-spacing: .08em; color: var(--faint); }
.person .pfoot i { font-style: normal; color: var(--text); transition: transform .35s var(--ease); }
.person:hover .pfoot i { transform: translateX(4px); }

/* careers: accordion rows */
.open-count { display: inline-flex; align-items: center; gap: 10px; font: 500 12px var(--mono); letter-spacing: .12em; color: var(--muted); }
.roles { display: grid; border-top: 1px solid var(--line); }
.role { border-bottom: 1px solid var(--line); padding: 0 6px; }
.role-head { all: unset; box-sizing: border-box; width: 100%; padding: 22px 0; cursor: pointer; display: grid; grid-template-columns: 1fr auto 32px; align-items: center; gap: 20px; }
.role-head:focus-visible { outline: 2px solid #fff; outline-offset: 2px; border-radius: 8px; }
.role .role-body { padding: 0 0 24px; }
.role-title { font: 600 clamp(20px, 2.6vw, 30px)/1.15 var(--head); transition: transform .5s var(--ease); }
.role:hover .role-title { transform: translateX(8px); }
.role-meta { font: 500 12px var(--mono); letter-spacing: .1em; color: var(--muted); text-transform: lowercase; }
.role-sign { width: 32px; height: 32px; border-radius: 50%; border: 1px solid var(--line-hi); display: grid; place-items: center; font: 500 18px var(--mono); transition: transform .5s var(--ease), background .3s, color .3s; }
.role.open .role-sign { transform: rotate(45deg); background: #fff; color: #0b0d12; }
.panel-x { display: grid; grid-template-rows: 0fr; opacity: 0; transition: grid-template-rows .8s var(--ease), opacity .6s var(--ease); }
.panel-x > div { overflow: hidden; }
.role.open .panel-x { grid-template-rows: 1fr; opacity: 1; }
.role-body { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; padding-top: 16px; }
.role-body p { color: var(--muted); max-width: 620px; }
.open-app { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-top: 26px; padding: 22px 26px; border-radius: var(--radius); border: 1px dashed var(--line-hi); color: var(--muted); font: 500 16px var(--body); transition: color .3s, border-color .3s, background .3s; }
.open-app:hover { color: var(--text); border-color: rgba(255,255,255,.5); background: rgba(255,255,255,.03); }
.open-app i { font-style: normal; font-size: 22px; transition: transform .4s var(--ease); }
.open-app:hover i { transform: translateX(6px); }

/* page chrome made by main.js: scroll bar, side nav, cursor, intro curtain, grain */
.prog { position: fixed; top: 0; left: 0; z-index: 60; height: 2px; width: 100%; background: #fff; transform-origin: left; transform: scaleX(0); pointer-events: none; }
.nav { transition: background .3s, border-color .3s, transform .55s var(--ease); }
.nav.hide { transform: translateY(-101%); }
.sidenav { position: fixed; right: 22px; top: 50%; transform: translateY(-50%); z-index: 40; display: flex; flex-direction: column; gap: 14px; align-items: flex-end; }
.sidenav a { display: flex; align-items: center; gap: 10px; font: 500 10px var(--mono); letter-spacing: .2em; color: var(--faint); text-transform: lowercase; }
.sidenav a span { opacity: 0; transform: translateX(6px); transition: opacity .5s var(--ease), transform .5s var(--ease); }
.sidenav a i { display: block; width: 18px; height: 2px; border-radius: 2px; background: var(--line-hi); transition: width .6s var(--ease), background .6s var(--ease); }
.sidenav a:hover span, .sidenav a.on span { opacity: 1; transform: none; }
.sidenav a:hover i, .sidenav a.on i { width: 34px; background: #fff; }
.sidenav a.on { color: var(--text); }
@media (max-width: 1320px) { .sidenav { display: none; } }

.cursor { position: fixed; inset: 0 auto auto 0; z-index: 9999; pointer-events: none; opacity: 0; transition: opacity .4s var(--ease); }
.cursor.live { opacity: 1; }
.c-ring { position: fixed; top: 0; left: 0; width: 72px; height: 72px; margin: -36px 0 0 -36px; border: 1.5px solid rgba(255,255,255,.35); border-radius: 50%; transition: background .4s var(--ease), border-color .4s var(--ease); }
.c-ring.hot { border-color: #fff; }
.c-ring.label { background: #fff; border-color: #fff; }
.c-dot { position: fixed; top: 0; left: 0; width: 6px; height: 6px; margin: -3px 0 0 -3px; border-radius: 50%; background: #fff; transition: opacity .3s; }
.c-dot.off { opacity: 0; }
.c-cap { position: fixed; top: 0; left: 0; width: 0; height: 0; display: flex; align-items: center; justify-content: center; font: 600 12px var(--head); letter-spacing: .04em; color: #0b0d12; white-space: nowrap; opacity: 0; transition: opacity .3s; }
.c-cap.on { opacity: 1; }
body.has-cursor, body.has-cursor a, body.has-cursor button { cursor: none; }
body.has-cursor .cursor-glow { display: none; }

.intro { position: fixed; inset: 0; z-index: 10000; background: var(--bg); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 20px; transform-origin: top; transition: transform .9s cubic-bezier(.76,0,.24,1); }
.intro.out { transform: scaleY(0); }
.intro img { width: 92px; animation: spin 2.4s linear infinite; }
.intro-n { font: 500 clamp(48px, 10vw, 110px)/.9 var(--mono); letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.intro-t { font: 500 11px var(--mono); letter-spacing: .28em; color: var(--faint); text-transform: uppercase; }
.intro-bar { position: absolute; left: 0; bottom: 0; height: 2px; width: 100%; background: #fff; transform-origin: left; transform: scaleX(0); }

.grain { position: fixed; inset: -100px; z-index: 55; pointer-events: none; opacity: .045; background-size: 180px 180px; }

@media (max-width: 620px) {
  .team { grid-template-columns: 1fr 1fr; gap: 12px; }
  .person { padding: 10px 10px 14px; gap: 10px; border-radius: 18px; }
  .person h4 { font-size: 18px; }
  .person .prole { font-size: 13px; }
  .person .pdoes { display: none; }
  .scroll-cue { display: none; }
  .role-head { grid-template-columns: 1fr 32px; }
  .role-meta { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-line .w > span { animation: none; }
}
