/* Marooned Interactive. Tokens and components follow the Claude Design handoff (design frame 1000px). */

@font-face {
  font-family: "Nunito";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("/fonts/nunito-latin.woff2") format("woff2");
}
@font-face {
  font-family: "Pacifico";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/fonts/pacifico-latin.woff2") format("woff2");
}

:root {
  --bg: #fff7ee;
  --fg: #1d3a4f;
  --text: #2c4a60;
  --muted: #5a7388;
  --acc: #ff8a4c;
  --acc-dark: #f47a3a;
  --peach: #ffb86b;
  --sea: #2e6f9e;
  --card: #ffe3c2;
  --line: #f0d7bd;
  --error: #c8352e;
  --r: 18px;
  --pad: 40px;
  --max: 1080px;
  --focus: 0 0 0 3px rgba(46, 111, 158, .35);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font: 400 16px/1.6 "Nunito", system-ui, -apple-system, "Segoe UI", sans-serif;
}
img { display: block; max-width: 100%; }
a { color: var(--sea); text-decoration: none; }
a:hover { color: var(--acc); }
a:focus-visible, button:focus-visible, summary:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: none;
  box-shadow: var(--focus);
  border-radius: 6px;
}
p { color: var(--text); text-wrap: pretty; }
h1, h2, h3 { font-weight: 800; letter-spacing: -.02em; margin: 0; text-wrap: pretty; color: var(--fg); }
h1 { font-size: 56px; line-height: 1.04; }
h2 { font-size: 32px; line-height: 1.15; }
strong, b { font-weight: 800; }

.skip { position: absolute; left: -999px; top: 8px; background: var(--fg); color: #fff; padding: 8px 14px; border-radius: 12px; z-index: 10; }
.skip:focus { left: 12px; color: #fff; }

/* Width container: page backgrounds go full-bleed, content centres at 1080px including padding. */
.wrap { max-width: var(--max); margin: 0 auto; padding-left: var(--pad); padding-right: var(--pad); }

.eyebrow { font-size: 12px; letter-spacing: .3em; text-transform: uppercase; color: var(--sea); font-weight: 800; margin: 0; }
.lead { font-size: 18px; color: var(--muted); max-width: 520px; margin: 14px 0 0; }
.fine { font-size: 13px; color: var(--muted); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 13px 24px; min-height: 44px; border-radius: var(--r);
  background: var(--acc); color: #fff; font: 800 15px/1.2 "Nunito", sans-serif;
  border: 0; cursor: pointer; transition: background-color .15s ease-out, color .15s ease-out;
}
.btn:hover { background: var(--acc-dark); color: #fff; }
.btn.sm { padding: 9px 16px; min-height: 0; font-size: 13px; }
.btn.ghost { background: transparent; border: 1.5px solid var(--fg); color: var(--fg); }
.btn.ghost:hover { background: var(--fg); color: #fff; }
.btn[disabled] { opacity: .6; cursor: progress; }
.cta { display: flex; gap: 12px; flex-wrap: wrap; }

/* Logo lockup */
.logo { display: inline-flex; flex-direction: column; align-items: center; line-height: 1; }
.logo .s { font: 400 26px/1.1 "Pacifico", cursive; color: var(--peach); }
.logo .i { font-size: 9px; letter-spacing: .4em; text-transform: uppercase; font-weight: 800; color: var(--sea); margin-right: -.4em; }
.logo:hover .s { color: var(--peach); }

/* Header */
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 76px; gap: 20px; }
.nav { display: flex; gap: 28px; list-style: none; margin: 0; padding: 0; font-size: 14px; font-weight: 700; }
.nav a { color: var(--fg); }
.nav a:hover { color: var(--acc); }
.nav .on a { color: var(--sea); box-shadow: 0 2px 0 var(--sea); }
.menu { display: none; position: relative; }
.menu summary {
  list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: 8px;
  min-height: 44px; padding: 0 14px; border: 1.5px solid var(--line); border-radius: 12px;
  font-weight: 800; font-size: 14px; background: #fff;
}
.menu summary::-webkit-details-marker { display: none; }
.menu summary .bars, .menu summary .bars::before, .menu summary .bars::after {
  display: block; width: 16px; height: 2px; background: var(--fg); border-radius: 2px; position: relative; content: "";
}
.menu summary .bars::before { position: absolute; top: -5px; }
.menu summary .bars::after { position: absolute; top: 5px; }
.menu ul {
  position: absolute; right: 0; top: calc(100% + 8px); z-index: 5; min-width: 220px;
  list-style: none; margin: 0; padding: 8px; background: #fff; border: 1.5px solid var(--line); border-radius: var(--r);
  box-shadow: 0 18px 30px -18px rgba(29, 58, 79, .45);
}
.menu li a { display: flex; align-items: center; min-height: 44px; padding: 0 12px; border-radius: 12px; color: var(--fg); font-weight: 700; }
.menu li.on a { color: var(--sea); background: var(--bg); }
.menu li.cta-item a { background: var(--acc); color: #fff; justify-content: center; margin-top: 6px; font-weight: 800; }

/* Sections */
.sec { padding-top: 56px; padding-bottom: 56px; }
.band { background: var(--card); }
.phead { padding-top: 40px; padding-bottom: 8px; }
.phead h1 { margin-top: 12px; max-width: 720px; }

/* Home: hero */
.hero { display: grid; grid-template-columns: 1fr 380px; gap: 48px; align-items: center; padding-top: 40px; padding-bottom: 56px; }
.hero h1 { font-size: 60px; margin: 14px 0 18px; }
.hero .lead { margin: 0 0 28px; font-size: 17px; }
.gcard {
  display: block; position: relative; height: 420px; border-radius: var(--r); overflow: hidden;
  background: var(--sea); box-shadow: 0 24px 40px -22px rgba(0, 0, 0, .4);
  transition: transform .15s ease-out;
}
.gcard:hover, .gfeature:hover { transform: translateY(-2px); }
.gcard img { width: 100%; height: 100%; object-fit: cover; }
.gcap {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 22px; color: #fff;
  background: linear-gradient(0deg, rgba(29, 58, 79, .8), rgba(29, 58, 79, 0));
}
.gcap .tag { font-size: 11px; letter-spacing: .2em; text-transform: uppercase; opacity: .85; font-weight: 700; }
.gcap .nm { font-size: 30px; font-weight: 800; margin: 4px 0; line-height: 1.1; }

/* Home: about, crew, services */
.about { padding-bottom: 40px; }
.about h2 { font-size: 44px; margin-top: 12px; max-width: 720px; }
.team { display: flex; gap: 40px; margin-top: 28px; flex-wrap: wrap; }
.team > div { display: grid; justify-items: center; gap: 6px; text-align: center; }
.team img { width: 140px; height: 140px; border-radius: 50%; object-fit: cover; background: var(--sea); }
.team b { margin-top: 8px; }
.team small { color: var(--muted); font-size: 14px; }
.svc h2 { margin-top: 12px; }
.svcgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin: 28px 0; }
.svcgrid > div { padding: 24px; border-radius: var(--r); border: 1.5px solid var(--line); background: #fff; }
.svcgrid b { font-size: 18px; }
.svcgrid p { margin: 8px 0 0; font-size: 15px; }

/* Chips */
.chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chip { font-size: 12px; font-weight: 800; padding: 5px 11px; border-radius: 999px; border: 1.5px solid var(--line); color: var(--muted); }
.chip.on { background: var(--acc); border-color: var(--acc); color: #fff; }
.chips + h1 { margin-top: 16px; }

/* Games list */
.gfeature { display: grid; grid-template-columns: 520px 1fr; gap: 36px; align-items: center; color: inherit; transition: transform .15s ease-out; }
.gfeature:hover { color: inherit; }
.gfeature img { width: 520px; height: 320px; border-radius: 14px; object-fit: cover; background: var(--sea); }
.gfeature h2 { margin: 16px 0 12px; }
.gfeature p { margin: 0 0 16px; }
.link { color: var(--sea); font-weight: 800; }
.gfeature:hover .link { color: var(--acc); }
.quiet { padding-top: 0; }
.quiet p { color: var(--muted); margin: 0; }

/* Game page */
.phead.game { display: grid; grid-template-columns: 1fr 280px; gap: 40px; align-items: end; padding-bottom: 0; }
.phead.game .stores { margin-top: 24px; }
.facts { display: grid; gap: 12px; font-size: 14px; font-weight: 700; padding: 20px; border-radius: var(--r); background: var(--card); margin: 0; }
.facts div { margin: 0; }
.facts dt { font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); font-weight: 800; margin-bottom: 2px; }
.facts dd { margin: 0; }
.stores { display: flex; gap: 12px; flex-wrap: wrap; }
.store {
  display: flex; flex-direction: column; justify-content: center; padding: 10px 18px; border-radius: 12px;
  background: var(--fg); color: #fff; font-weight: 800; font-size: 16px; line-height: 1.1; min-width: 120px; min-height: 44px;
}
.store:hover { color: #fff; background: #284c66; }
.store small { font-size: 10px; font-weight: 600; opacity: .75; letter-spacing: .04em; }
.store.soon { background: transparent; color: var(--fg); border: 1.5px dashed #b9c6d1; }
.shots { display: flex; gap: 22px; margin-top: 24px; }
.shots img { width: 205px; height: 365px; border-radius: 14px; object-fit: cover; background: var(--sea); flex: none; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.split h2 { margin-bottom: 14px; }
.split p { margin: 0 0 12px; }
.pillars { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; margin-top: 28px; }
.pillars div { display: grid; gap: 8px; align-content: start; font-size: 15px; line-height: 1.55; color: var(--text); }
.pillars b { font-size: 18px; color: var(--fg); }
.cta2 { text-align: center; display: grid; justify-items: center; gap: 20px; }
.cta2 p { margin: 0; }

/* Contact */
.ccards { display: grid; gap: 20px; align-content: start; }
.ccards > div { display: grid; gap: 4px; padding: 20px; border-radius: var(--r); background: var(--card); }
.ccards b { font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.ccards a { font-weight: 800; font-size: 16px; overflow-wrap: anywhere; }
.ccards small { font-size: 13px; color: var(--text); }
.form { display: grid; gap: 14px; align-content: start; }
.form label { display: grid; gap: 6px; font-size: 13px; font-weight: 800; }
.form input, .form select, .form textarea {
  font: 600 15px "Nunito", sans-serif; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 12px;
  background: #fff; color: var(--fg); width: 100%; min-height: 44px;
}
.form textarea { resize: vertical; }
.form select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--fg) 50%), linear-gradient(135deg, var(--fg) 50%, transparent 50%); background-position: calc(100% - 20px) 50%, calc(100% - 15px) 50%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 36px; }
.form input:focus, .form select:focus, .form textarea:focus { border-color: var(--sea); }
.form .err { color: var(--error); font-size: 13px; font-weight: 700; }
.form [aria-invalid="true"] { border-color: var(--error); }
.form .btn { justify-self: start; }
.form .fine { margin: 0; }
.form-done { padding: 24px; border-radius: var(--r); background: #fff; border: 1.5px solid var(--line); }
.form-done h2 { font-size: 24px; margin-bottom: 8px; }
.form-done p { margin: 0 0 8px; }

/* Legal pages */
.meta { font-size: 14px; color: var(--muted); margin: 12px 0 0; }
.legal { display: grid; grid-template-columns: 200px 1fr; gap: 56px; padding-top: 40px; align-items: start; }
.toc { position: sticky; top: 24px; font-size: 14px; display: grid; gap: 8px; align-content: start; }
.toc b { font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.toc a { color: var(--fg); font-weight: 600; line-height: 1.35; }
.toc a:hover { color: var(--acc); }
.ltext { min-width: 0; }
.ltext h2 { font-size: 22px; color: var(--sea); margin: 28px 0 8px; scroll-margin-top: 24px; }
.ltext > h2:first-child { margin-top: 0; }
.ltext h3 { font-size: 17px; margin: 18px 0 6px; }
.ltext p, .ltext ul, .ltext ol { font-size: 16px; margin: 0 0 12px; max-width: 640px; color: var(--text); }
.ltext ul, .ltext ol { padding-left: 22px; }
.ltext li { margin-bottom: 6px; }
.ltext li::marker { color: var(--acc); }
.ltext strong { color: var(--fg); }
.summary { background: var(--card); border-radius: var(--r); padding: 20px 24px 8px; margin: 20px 0 28px; max-width: 640px; }
.summary > b { display: block; font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.summary ul { margin: 0 0 12px; }
.warn { background: #fff; border: 1.5px solid var(--acc); border-radius: var(--r); padding: 16px 20px 4px; max-width: 640px; }
.table-wrap { margin: 8px 0 16px; border: 1.5px solid var(--line); border-radius: 14px; overflow: hidden; background: #fff; }
.ltext table { width: 100%; border-collapse: collapse; font-size: 14px; line-height: 1.5; color: var(--text); }
.ltext th { text-align: left; background: var(--card); color: var(--fg); font-weight: 800; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; padding: 12px 14px; }
.ltext td { padding: 12px 14px; border-top: 1.5px solid var(--line); vertical-align: top; }
.ltext td:first-child { color: var(--fg); font-weight: 700; }
.legal .btn { margin: 4px 0 16px; }

/* 404 */
.notfound { padding-top: 72px; padding-bottom: 96px; }
.notfound .cta { margin-top: 28px; }

/* Footer */
.site-footer { background: var(--fg); color: #f4e9dc; }
.foot { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; padding-top: 48px; padding-bottom: 28px; }
.foot a { color: #f4e9dc; display: block; font-size: 14px; margin-bottom: 8px; }
.foot a:hover { color: var(--peach); }
.foot .fcol > b { display: block; font-size: 12px; letter-spacing: .2em; text-transform: uppercase; margin-bottom: 14px; color: var(--peach); font-weight: 700; }
.foot .logo { display: inline-flex; margin-bottom: 16px; }
.foot .logo .i { color: #f4e9dc; }
.foot .brandcol p { color: #c9d3dd; font-size: 14px; max-width: 280px; margin: 0; }
.fbar { grid-column: 1 / -1; border-top: 1px solid #35546a; padding-top: 18px; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: 12px; color: #9fb3c4; }
.fbar span { color: #9fb3c4; }

/* Responsive: not designed; follows the handoff recommendations. */
@media (max-width: 900px) {
  .hero, .split, .phead.game, .legal { grid-template-columns: 1fr; }
  .hero { gap: 36px; }
  .gcard { max-width: 420px; width: 100%; }
  .gfeature { grid-template-columns: 1fr; gap: 24px; }
  .gfeature img { width: 100%; height: auto; aspect-ratio: 520 / 320; }
  .phead.game { gap: 28px; }
  .phead.game .facts { max-width: 420px; }
  .legal { gap: 28px; }
  .toc { position: static; padding: 18px 20px; border: 1.5px solid var(--line); border-radius: var(--r); background: #fff; }
  .shots { overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; margin-left: calc(var(--pad) * -1); margin-right: calc(var(--pad) * -1); padding-left: var(--pad); padding-right: var(--pad); }
  .shots img { scroll-snap-align: start; }
  .foot { grid-template-columns: 1fr 1fr; }
  .foot .brandcol { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  :root { --pad: 20px; }
  h1, .hero h1 { font-size: 40px; }
  h2, .about h2 { font-size: 26px; }
  .sec { padding-top: 40px; padding-bottom: 40px; }
  .quiet { padding-top: 0; }
  .nav, .site-header .head-cta { display: none; }
  .menu { display: block; }
  .gcard { height: 400px; }
  .svcgrid, .pillars { grid-template-columns: 1fr; }
  .team { gap: 24px 28px; justify-content: center; }
  .team img { width: 120px; height: 120px; }
  .shots img { width: 180px; height: 320px; }
  .ltext table, .ltext thead, .ltext tbody, .ltext tr, .ltext td { display: block; }
  .ltext thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .ltext tr { border-top: 1.5px solid var(--line); padding: 10px 0; }
  .ltext tr:first-child { border-top: 0; }
  .ltext td { border: 0; padding: 4px 16px; }
  .ltext td[data-label]::before { content: attr(data-label); display: block; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); font-weight: 800; }
  .ltext td:first-child { font-size: 15px; }
  .ltext td:first-child::before { display: none; }
}
@media (max-width: 460px) {
  .foot { grid-template-columns: 1fr; }
  .cta .btn { flex: 1 1 auto; }
}
