/* cowlington.mercuriolabs.app: the game's own site (store page, support and privacy URLs of the stores).
   Look since 06.12.2026: noir case file. Night blue-black, amber lamp light, cream paper for the dossier,
   pixel labels in Silkscreen (OFL, Google Fonts, self-hosted), text in Inter Tight. */
@font-face { font-family: "Inter Tight"; src: url("fonts/400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Inter Tight"; src: url("fonts/500.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Inter Tight"; src: url("fonts/600.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Silkscreen"; src: url("fonts/silkscreen.woff2") format("woff2"); font-weight: 400; font-display: swap; }

:root {
  --night: #0b0910;
  --night-2: #141019;
  --night-3: #1c1624;
  --ink: #ede6da;
  --soft: #a89d8d;
  --faint: #6f6676;
  --amber: #f2a93b;
  --amber-2: #ffc46b;
  --neon: #ff5d7a;
  --paper: #eadcb9;
  --paper-2: #d9c69a;
  --paper-ink: #2a2118;
  --stamp: #b3302d;
  --line: rgba(237, 230, 218, 0.1);
  --line-2: rgba(237, 230, 218, 0.18);
  --radius: 12px;
  --pixel: "Silkscreen", ui-monospace, "SF Mono", Menlo, monospace;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--night);
  color: var(--ink);
  font: 400 17px/1.6 "Inter Tight", system-ui, -apple-system, sans-serif;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--amber); text-underline-offset: 3px; }
a:hover { color: var(--amber-2); }
img { max-width: 100%; height: auto; display: block; }
.pixel { image-rendering: pixelated; }
.wrap { max-width: 1120px; margin: 0 auto; padding-left: 20px; padding-right: 20px; }
:focus-visible { outline: 2px solid var(--amber); outline-offset: 3px; border-radius: 4px; }

/* ---------- header ---------- */
header.top { position: sticky; top: 0; z-index: 20; background: rgba(11, 9, 16, 0.78); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
header.top .wrap { display: flex; align-items: center; justify-content: space-between; height: 60px; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-weight: 600; letter-spacing: -0.01em; }
.brand:hover { color: var(--ink); }
.brand img { width: 30px; height: 30px; border-radius: 7px; }
nav { display: flex; align-items: center; gap: 22px; }
nav a { color: var(--soft); text-decoration: none; font-size: 15px; }
nav a:hover, nav a[aria-current] { color: var(--ink); }
nav .btn { padding: 7px 14px; font-size: 14px; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 13px 22px; border-radius: 10px; font-weight: 600; font-size: 16px; text-decoration: none; line-height: 1.2; transition: transform .15s ease, background .15s ease, border-color .15s ease; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--amber); color: #1a1206; }
.btn-primary:hover { background: var(--amber-2); color: #1a1206; }
.btn-ghost { border: 1px solid var(--line-2); color: var(--ink); background: rgba(255, 255, 255, 0.03); }
.btn-ghost:hover { border-color: var(--amber); color: var(--ink); }
.btn svg { width: 18px; height: 18px; flex: none; }

/* pills: still used by press/support pages */
.pill { display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: 10px; background: var(--night-3); border: 1px solid var(--line-2); color: var(--ink); font-size: 15px; font-weight: 500; text-decoration: none; }
a.pill:hover { border-color: var(--amber); color: var(--ink); }

.label { font-family: var(--pixel); font-size: 13px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--amber); }

/* ---------- hero ---------- */
.hero { position: relative; padding: 28px 0 0; }
.hero-art { position: relative; max-width: 1240px; margin: 0 auto; padding: 0 20px; }
.hero-art img { width: 100%; border-radius: 16px; box-shadow: 0 40px 120px rgba(0, 0, 0, 0.6), 0 0 0 1px var(--line); }
.hero-copy { position: relative; z-index: 2; margin-top: 48px; display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 48px; align-items: start; }
.hero h1 { font-size: clamp(34px, 4.6vw, 56px); line-height: 1.03; letter-spacing: -0.03em; margin: 12px 0 0; font-weight: 600; text-wrap: balance; }
.hero h1 em { font-style: normal; color: var(--amber); display: block; }
.hero .lead { color: var(--soft); font-size: 18px; margin: 0 0 22px; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; }
.release { margin: 18px 0 0; color: var(--soft); font-size: 14px; display: flex; flex-wrap: wrap; gap: 6px 18px; }
.release b { color: var(--ink); font-weight: 600; }

/* ---------- sections ---------- */
section { padding: 96px 0 0; }
.sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 26px; flex-wrap: wrap; }
h2 { font-size: clamp(28px, 3.6vw, 40px); letter-spacing: -0.02em; line-height: 1.1; margin: 8px 0 0; font-weight: 600; text-wrap: balance; }
h2 em { font-style: normal; color: var(--amber); }
h3 { font-size: 19px; margin: 28px 0 6px; font-weight: 600; }
.sec-head p { color: var(--soft); margin: 0; max-width: 420px; font-size: 16px; }

/* ---------- dossier ---------- */
.dossier { position: relative; margin-top: 64px; }
.dossier .tab { position: absolute; top: -30px; left: 0; height: 32px; padding: 0 18px; display: flex; align-items: center; background: var(--paper-2); color: var(--paper-ink); border-radius: 8px 8px 0 0; font-family: var(--pixel); font-size: 14px; letter-spacing: 0.04em; }
.dossier .sheet { background: var(--paper); color: var(--paper-ink); border-radius: 0 12px 12px 12px; padding: 34px 38px 96px; display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 36px; box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45); background-image: repeating-linear-gradient(0deg, transparent 0 31px, rgba(42, 33, 24, 0.07) 31px 32px); }
.dossier dl { margin: 0; display: grid; grid-template-columns: 150px minmax(0, 1fr); }
.dossier dt, .dossier dd { padding: 12px 0; border-bottom: 1px solid rgba(42, 33, 24, 0.18); margin: 0; }
.dossier dt { font-family: var(--pixel); font-size: 13px; letter-spacing: 0.04em; text-transform: uppercase; color: #6b5a43; padding-top: 15px; }
.dossier dd { font-size: 17px; }
.dossier dd strong { font-weight: 600; }
.dossier .photo { align-self: start; background: #f6f1e4; padding: 10px 10px 34px; transform: rotate(2.2deg); box-shadow: 0 14px 30px rgba(0, 0, 0, 0.3); position: relative; }
.dossier .photo img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.dossier .photo span { position: absolute; left: 0; right: 0; bottom: 9px; text-align: center; font-family: var(--pixel); font-size: 12px; color: #6b5a43; }
.dossier .stamp { position: absolute; left: 38px; bottom: 28px; font-family: var(--pixel); font-size: 26px; color: var(--stamp); border: 3px solid var(--stamp); padding: 4px 14px; transform: rotate(-9deg); opacity: 0.82; letter-spacing: 0.04em; pointer-events: none; }

/* ---------- trailer ---------- */
.video { position: relative; border-radius: 14px; overflow: hidden; border: 1px solid var(--line); background: #000; aspect-ratio: 16 / 9; box-shadow: 0 30px 90px rgba(0, 0, 0, 0.5); }
.video video { width: 100%; height: 100%; display: block; }
.video .play { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; border: 0; background: radial-gradient(circle at center, rgba(0,0,0,0.05), rgba(0,0,0,0.45)); cursor: pointer; padding: 0; }
.video .play span { width: 84px; height: 84px; border-radius: 50%; background: var(--amber); display: grid; place-items: center; box-shadow: 0 10px 40px rgba(242, 169, 59, 0.45); transition: transform .2s ease; }
.video .play:hover span { transform: scale(1.06); }
.video .play svg { width: 30px; height: 30px; margin-left: 5px; fill: #1a1206; }
.video.playing .play { display: none; }

/* ---------- evidence photos ---------- */
.shots { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.shots figure { margin: 0; position: relative; }
.shots img { border-radius: 10px; border: 1px solid var(--line); aspect-ratio: 16 / 9; width: 100%; object-fit: cover; }
.shots figcaption { color: var(--soft); font-size: 14px; margin-top: 10px; display: flex; gap: 10px; align-items: baseline; }
.shots figcaption .label { font-size: 11px; color: var(--faint); flex: none; }
.home .shots figure:first-child { grid-column: span 2; grid-row: span 2; }
.home .shots figure:first-child img { aspect-ratio: auto; height: calc(100% - 34px); }

/* ---------- features ---------- */
.features { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; padding: 0; list-style: none; margin: 0; }
.features li { background: var(--night-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 20px 24px; color: var(--soft); font-size: 15.5px; line-height: 1.55; }
.features li .label { display: block; margin-bottom: 14px; font-size: 12px; color: var(--faint); }
.features b { display: block; color: var(--ink); font-weight: 600; font-size: 17px; margin-bottom: 6px; letter-spacing: -0.01em; }
/* old flat list (kept for any page still using it) */
ul.features:not(.cards) { grid-template-columns: repeat(2, minmax(0, 1fr)); }

/* ---------- platforms ---------- */
.platforms { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.platform { border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; background: var(--night-2); display: flex; flex-direction: column; gap: 6px; text-decoration: none; color: var(--ink); }
.platform .label { color: var(--faint); font-size: 12px; }
.platform strong { font-size: 21px; font-weight: 600; letter-spacing: -0.01em; }
.platform span.sub { color: var(--soft); font-size: 15px; }
.platform .go { margin-top: 14px; font-weight: 600; color: var(--amber); font-size: 15px; }
a.platform { border-color: rgba(242, 169, 59, 0.45); background: linear-gradient(160deg, rgba(242, 169, 59, 0.12), var(--night-2) 60%); }
a.platform:hover { border-color: var(--amber); color: var(--ink); }
a.platform .label { color: var(--amber); }
.platform.soon .go { color: var(--faint); font-weight: 500; }

/* ---------- closing ---------- */
.closing { margin-top: 120px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; }
.closing p { color: var(--soft); margin: 10px 0 0; }
.elsewhere { display: flex; flex-wrap: wrap; gap: 8px 10px; align-content: flex-start; }
.elsewhere a { color: var(--ink); text-decoration: none; font-size: 15px; padding: 7px 13px; border: 1px solid var(--line); border-radius: 8px; }
.elsewhere a:hover { border-color: var(--amber); color: var(--ink); }

/* ---------- generic (press, support, privacy) ---------- */
.card { background: var(--night-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 24px; }
.prose { max-width: 780px; }
main.prose { padding-top: 16px; }
main.prose section { padding-top: 24px; }
main.prose h2 { margin-bottom: 16px; }
main.prose h1 { font-size: clamp(32px, 4vw, 44px); letter-spacing: -0.02em; line-height: 1.1; margin: 0 0 14px; font-weight: 600; }
.prose p, .prose li { color: var(--ink); }
.prose .muted { color: var(--soft); }
main.prose .shots { grid-template-columns: repeat(2, minmax(0, 1fr)); }
table.keys { width: 100%; border-collapse: collapse; font-size: 15px; }
table.keys th, table.keys td { text-align: left; padding: 10px 10px; border-bottom: 1px solid var(--line); vertical-align: top; }
table.keys th { color: var(--soft); font-weight: 500; }
.table-scroll { overflow-x: auto; }

footer { margin-top: 96px; border-top: 1px solid var(--line); padding: 28px 0 44px; color: var(--soft); font-size: 14px; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 10px 22px; justify-content: space-between; }
footer a { color: var(--soft); }
footer a:hover { color: var(--ink); }

/* ---------- responsive ---------- */
@media (max-width: 960px) {
  .hero-copy { grid-template-columns: 1fr; gap: 18px; margin-top: 32px; }
  .features { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .dossier .sheet { grid-template-columns: 1fr; }
  .dossier .photo { max-width: 340px; }
}
@media (max-width: 720px) {
  .wrap, .hero-art { padding-left: 16px; padding-right: 16px; }
  .hero-art img { border-radius: 12px; }
  .hero-copy { margin-top: 24px; }
  nav { gap: 14px; }
  nav a { font-size: 14px; }
  nav .btn { display: none; }
  .brand span { display: none; }
  section { padding-top: 72px; }
  .shots, main.prose .shots, .platforms, .closing, ul.features:not(.cards) { grid-template-columns: 1fr; }
  .home .shots figure:first-child { grid-column: auto; grid-row: auto; }
  .home .shots figure:first-child img { aspect-ratio: 16 / 9; height: auto; }
  .features { grid-template-columns: 1fr; }
  .dossier .sheet { padding: 24px 20px 70px; }
  .dossier dl { grid-template-columns: 1fr; }
  .dossier dt { border-bottom: 0; padding-bottom: 0; }
  .dossier .stamp { left: 20px; bottom: 20px; font-size: 20px; }
  .cta .btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
