/* Amber Screen — studio theme. Brand: fern/CRT logo (Drive 1nNGK…), Oxanium type, palette sampled from the logo.
   No external requests, no trackers. */
@font-face {
  font-family: "Oxanium";
  src: url("assets/fonts/Oxanium-latin-wght.woff2") format("woff2");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}

:root {
  /* Palette sampled from logo_amber_screen_fern_icon_square.png / fern_lockup_v2.png */
  --bg: #131413;          /* logo tile / bezel charcoal */
  --bg-alt: #1a1b19;
  --panel: #1f201d;
  --line: #34322c;
  --text: #f1e6d2;        /* warm cream */
  --muted: #a89f8e;
  --amber: #f5a12a;       /* screen glow (centre) */
  --amber-hi: #ffc15e;
  --amber-dim: #c77412;   /* screen glow (edge) */
  --amber-deep: #8a4a08;  /* fern silhouette */
  --cream: #edca8e;       /* wordmark colour */
  --radius: 10px;
  --display: "Oxanium", "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
  --body: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 4.5rem; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 1.0625rem/1.65 var(--body);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--amber); text-underline-offset: 3px; }
a:hover { color: var(--amber-hi); }
a:focus-visible, button:focus-visible { outline: 2px solid var(--amber); outline-offset: 3px; }
.wrap { width: min(1080px, 100% - 2.5rem); margin-inline: auto; }
.narrow { max-width: 760px; }

.skip { position: absolute; left: -999px; top: 0; background: var(--amber); color: #131413; padding: .5rem 1rem; z-index: 100; }
.skip:focus { left: 0; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(19, 20, 19, .9);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.bar { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .55rem 0; }
.brand { display: flex; align-items: center; gap: .8rem; text-decoration: none; }
.brand-mark { width: 44px; height: 44px; border-radius: 9px; }
.brand-wordmark { height: 26px; width: auto; }
nav { display: flex; gap: 1.4rem; }
nav a { color: var(--muted); text-decoration: none; font-family: var(--display); font-weight: 500; font-size: .95rem; letter-spacing: .08em; text-transform: uppercase; }
nav a:hover { color: var(--amber); }

/* Hero */
.hero { border-bottom: 1px solid var(--line); background: radial-gradient(700px 420px at 82% 50%, rgba(245,161,42,.16), transparent 70%), var(--bg); }
.hero-grid { display: grid; grid-template-columns: 1fr; gap: 2rem; align-items: center; padding: clamp(2.2rem, 6vw, 4.5rem) 0; }
.hero-mark img { width: min(340px, 70vw); height: auto; margin-inline: auto; border-radius: 28px; box-shadow: 0 0 80px rgba(245,161,42,.18); }
.eyebrow { margin: 0 0 .5rem; color: var(--amber); font-family: var(--display); font-weight: 500; font-size: .85rem; letter-spacing: .24em; text-transform: uppercase; }
.display { font-family: var(--display); font-weight: 700; text-transform: uppercase; letter-spacing: .06em; line-height: 1.05; margin: 0; color: var(--cream); }
h1.display { font-size: clamp(2.6rem, 8vw, 5rem); }
.h2 { font-family: var(--display); font-weight: 600; text-transform: uppercase; letter-spacing: .06em; line-height: 1.1; margin: 0 0 1rem; color: var(--cream); font-size: clamp(1.8rem, 5vw, 2.6rem); }
.h2::after { content: ""; display: block; width: 3rem; height: 4px; background: var(--amber); margin-top: .6rem; border-radius: 2px; }
.lede { font-size: clamp(1.1rem, 2.6vw, 1.35rem); color: var(--text); max-width: 34ch; margin: 1rem 0 1.6rem; }

.cta { display: flex; flex-wrap: wrap; align-items: center; gap: .8rem 1.2rem; }
.btn { display: inline-block; font-family: var(--display); font-size: 1rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; text-decoration: none; padding: .85rem 1.4rem; border-radius: var(--radius); border: 1px solid var(--amber-dim); background: var(--amber); color: #131413; cursor: pointer; }
a.btn:hover { background: var(--amber-hi); color: #131413; }
.btn-ghost { background: transparent; color: var(--amber); }
a.btn-ghost:hover { background: rgba(245,161,42,.12); color: var(--amber-hi); }
.btn-disabled, .btn:disabled { background: transparent; color: var(--muted); border: 1px dashed #5b564b; cursor: not-allowed; }
.cta-note { color: var(--muted); font-size: .9rem; }

/* Sections */
.section { padding: clamp(3rem, 8vw, 5.5rem) 0; }
.section-alt { background: var(--bg-alt); border-block: 1px solid var(--line); }

/* "Our game" card — the only place Lines of Mercy art appears */
.game-card { display: grid; gap: 0; grid-template-columns: 1fr; background: var(--panel); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; box-shadow: 0 10px 40px rgba(0,0,0,.45); }
.game-shot { margin: 0; background: #000; }
.game-shot img { width: 100%; height: auto; }
.game-shot figcaption { padding: .5rem 1rem; color: var(--muted); font-size: .8rem; background: #0d0d0c; }
.game-text { padding: clamp(1.4rem, 3vw, 2.2rem); }
.game-title { font-family: var(--display); font-weight: 700; font-size: clamp(1.6rem, 4vw, 2.1rem); letter-spacing: .02em; margin: 0 0 .8rem; color: var(--text); }
.game-text p { max-width: 60ch; }
.game-link { margin: 1.2rem 0 0; font-size: .92rem; }

.facts { list-style: none; padding: 0; margin: 1.4rem 0 1.6rem; border-top: 1px solid var(--line); }
.facts li { padding: .55rem 0; border-bottom: 1px solid var(--line); display: flex; gap: 1rem; }
.facts span { flex: 0 0 6.5rem; color: var(--amber); font-family: var(--display); font-weight: 500; font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; padding-top: .2rem; }

.note { margin-top: 1.8rem; padding: 1.2rem 1.4rem; background: var(--panel); border: 1px solid var(--line); border-left: 4px solid var(--amber); border-radius: var(--radius); }
.note h3 { margin: 0 0 .4rem; font-family: var(--display); font-weight: 600; letter-spacing: .08em; text-transform: uppercase; font-size: 1.1rem; color: var(--cream); }
.note p { margin: 0; color: var(--text); }

.links { list-style: none; margin: 0; padding: 0; display: grid; gap: .8rem; }
.links a { display: block; padding: 1rem 1.2rem; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; color: var(--text); transition: border-color .15s, transform .15s; }
.links a:hover { border-color: var(--amber); transform: translateY(-1px); }
.l-title { display: block; font-family: var(--display); font-weight: 600; letter-spacing: .04em; color: var(--amber); }
.l-sub { display: block; color: var(--muted); font-size: .92rem; overflow-wrap: anywhere; }
.tbc { color: #ff9a6a; font-style: normal; font-size: .85rem; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); background: #0d0e0d; padding: 2.5rem 0 3rem; color: var(--muted); font-size: .92rem; }
.foot-brand { display: flex; align-items: center; gap: .8rem; margin-bottom: 1.4rem; }
.foot-mark { width: 48px; height: 48px; border-radius: 10px; }
.foot-wordmark { height: 28px; width: auto; }
.site-footer p { margin: .5rem 0; max-width: 70ch; }
.privacy strong { color: var(--text); }
.small { font-size: .8rem; opacity: .8; }

@media (min-width: 860px) {
  .hero-grid { grid-template-columns: 1.25fr 1fr; }
  .game-card { grid-template-columns: 1.05fr 1fr; }
  .game-shot { display: flex; flex-direction: column; justify-content: center; }
}
@media (max-width: 560px) {
  nav { gap: .9rem; }
  nav a { font-size: .8rem; letter-spacing: .05em; }
  .brand-wordmark { height: 20px; }
  .brand-mark { width: 38px; height: 38px; }
  .facts li { flex-direction: column; gap: 0; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .links a { transition: none; }
}
