/* grandon.io – one stylesheet: the platinum GND mark on charcoal, gold only for two touches
   (the status pill and the rule under the studio name). */

:root {
  --bg: #0d0c0c;
  --bg-deep: #0b0a0c;
  --panel: #131316;
  --panel-edge: #1d1e24;
  --text: #e7ebf6;
  --muted: #a3a9b8;
  --accent: #e7ebf6;
  --accent-bright: #ffffff;
  --accent-deep: #8b93a8;
  --accent-mid: #c4cbdb;
  --line: rgba(231, 235, 246, 0.26);
  --line-soft: rgba(231, 235, 246, 0.12);
  --glow: rgba(199, 209, 230, 0.10);
  --btn-text: #0d0c0c;
}

.status,
.hero-name::after { --accent: #f5c76e; --accent-deep: #b8853f; }

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; height: auto; }

a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-bright); text-decoration: underline; text-underline-offset: 0.2em; }

:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; border-radius: 2px; }

.skip {
  position: absolute; left: 1rem; top: -4rem;
  padding: 0.5rem 1rem; background: var(--accent); color: var(--btn-text);
  border-radius: 4px; z-index: 10;
}
.skip:focus { top: 1rem; }

/* ---- header ---------------------------------------------------------- */

.top {
  display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
  max-width: 1120px; margin: 0 auto; padding: 1.25rem clamp(1rem, 4vw, 2.5rem);
}
.top-brand { display: inline-flex; }
.top-brand .mark { width: auto; height: 28px; }
.top-nav { display: flex; gap: clamp(1rem, 3vw, 2rem); }
.top-nav a {
  color: var(--text); font-size: 0.8rem; letter-spacing: 0.22em; text-transform: uppercase;
  padding: 0.25rem 0; border-bottom: 1px solid transparent;
}
.top-nav a:hover { color: var(--accent); text-decoration: none; border-bottom-color: var(--accent); }

/* ---- hero ------------------------------------------------------------ */

.hero {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: calc(100svh - 84px);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center;
  padding: clamp(3rem, 8vh, 6rem) clamp(1rem, 4vw, 2.5rem) clamp(4rem, 10vh, 7rem);
}
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(ellipse 70% 55% at 50% 42%, var(--glow), transparent 70%),
    radial-gradient(ellipse 100% 60% at 50% 100%, var(--bg-deep), transparent 60%);
}
.hero-logo { margin: 0 0 2.25rem; width: min(78vw, 620px); }
.hero-logo .mark { width: 100%; }
.hero-name {
  margin: 0; position: relative;
  font-size: clamp(1.75rem, 5vw, 3rem); font-weight: 300; letter-spacing: 0.42em; text-indent: 0.42em;
  text-transform: uppercase; line-height: 1.2; color: var(--text);
}
.hero-name::after {
  content: ""; display: block; width: 3.25rem; height: 1px; margin: 1.25rem auto 0;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
}
.hero-line {
  margin: 1.5rem 0 0; max-width: 34rem;
  font-size: clamp(1.05rem, 1.5vw, 1.25rem); color: var(--muted); font-weight: 300; letter-spacing: 0.02em;
}
.hero-cta { margin: 2.75rem 0 0; }

@media (prefers-reduced-motion: no-preference) {
  .hero > * { animation: rise 0.9s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
  .hero-name { animation-delay: 0.15s; }
  .hero-line { animation-delay: 0.3s; }
  .hero-cta { animation-delay: 0.45s; }
  @keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
}

/* ---- buttons --------------------------------------------------------- */

.btn {
  display: inline-block; padding: 0.8rem 1.6rem; border: 1px solid var(--accent); border-radius: 999px;
  font-size: 0.82rem; letter-spacing: 0.18em; text-transform: uppercase; line-height: 1.2;
  transition: background-color 0.2s, color 0.2s, border-color 0.2s;
}
.btn:hover { text-decoration: none; }
.btn--ghost { color: var(--accent); background: transparent; }
.btn--ghost:hover { color: var(--btn-text); background: var(--accent); }
.btn--primary {
  color: var(--btn-text);
  background: linear-gradient(180deg, var(--accent-bright) 0%, var(--accent) 45%, var(--accent-mid) 100%);
  border-color: var(--accent-deep);
  font-weight: 600;
}
.btn--primary:hover { background: var(--accent-bright); color: var(--btn-text); }

/* ---- sections -------------------------------------------------------- */

.section { max-width: 1120px; margin: 0 auto; padding: clamp(2.5rem, 7vh, 5rem) clamp(1rem, 4vw, 2.5rem); }
.section-title {
  margin: 0 0 2rem; display: flex; align-items: center; gap: 1.25rem;
  font-size: 0.85rem; font-weight: 500; letter-spacing: 0.32em; text-transform: uppercase; color: var(--accent);
}
.section-title::after { content: ""; flex: 1; height: 1px; background: linear-gradient(90deg, var(--line), transparent); }

/* ---- games ----------------------------------------------------------- */

.games { list-style: none; margin: 0; padding: 0; display: grid; gap: 2.5rem; }

.game-card {
  display: grid; overflow: hidden;
  background: var(--panel); border: 1px solid var(--panel-edge); border-radius: 12px;
  box-shadow: 0 30px 80px -40px rgba(0, 0, 0, 0.9), 0 0 0 1px var(--line-soft);
}
.game-art { position: relative; aspect-ratio: 16 / 10; background: #1b2a4a; }
.game-art img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 68%; }
.status {
  position: absolute; left: 1rem; top: 1rem;
  padding: 0.35rem 0.8rem; border-radius: 999px;
  background: rgba(13, 12, 12, 0.82); border: 1px solid var(--accent-deep); color: var(--accent);
  font-size: 0.72rem; letter-spacing: 0.2em; text-transform: uppercase; backdrop-filter: blur(4px);
}
.game-body { padding: clamp(1.5rem, 4vw, 3rem); display: flex; flex-direction: column; justify-content: center; }
.game-title { margin: 0 0 0.75rem; }
.game-logo { width: min(100%, 300px); }
.game-tagline { margin: 0 0 1rem; color: var(--accent); font-size: 0.85rem; letter-spacing: 0.22em; text-transform: uppercase; }
.game-pitch { margin: 0 0 1.5rem; max-width: 36rem; color: var(--text); font-size: 1.05rem; line-height: 1.65; }

.platforms { list-style: none; margin: 0 0 1.75rem; padding: 0; display: flex; flex-wrap: wrap; gap: 0.5rem; }
.platforms li {
  display: inline-flex; align-items: baseline; gap: 0.5rem;
  padding: 0.4rem 0.85rem; border: 1px solid var(--line); border-radius: 999px;
  font-size: 0.85rem; letter-spacing: 0.04em;
}
.platform-name { color: var(--text); font-weight: 600; }
.platform-when { color: var(--muted); font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; }
.game-actions { margin: 0; }

@media (min-width: 860px) {
  .game-card { grid-template-columns: minmax(300px, 5fr) 7fr; }
  .game-art { aspect-ratio: auto; min-height: 560px; }
  .game-art img { object-position: 50% 62%; }
}

/* ---- contact --------------------------------------------------------- */

.contact-line { margin: 0 0 0.5rem; color: var(--muted); }
.contact-mail { margin: 0; font-size: clamp(1.25rem, 3vw, 1.75rem); font-weight: 300; letter-spacing: 0.04em; }

/* ---- footer ---------------------------------------------------------- */

.foot {
  max-width: 1120px; margin: 2rem auto 0; padding: 1.75rem clamp(1rem, 4vw, 2.5rem) 2.5rem;
  border-top: 1px solid var(--line-soft);
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.75rem 2rem;
  color: var(--muted); font-size: 0.85rem; letter-spacing: 0.04em;
}
.foot p { margin: 0; }
.foot a { color: var(--muted); }
.foot a:hover { color: var(--accent); }

/* ---- 404 ------------------------------------------------------------- */

.lost { text-align: center; padding-top: clamp(3rem, 12vh, 7rem); padding-bottom: clamp(3rem, 12vh, 7rem); }
.lost-code { margin: 0 0 0.75rem; font-size: 0.85rem; letter-spacing: 0.32em; color: var(--accent); }
.lost-title { margin: 0 0 1rem; font-size: clamp(1.5rem, 4vw, 2.25rem); font-weight: 300; letter-spacing: 0.1em; text-transform: uppercase; }
.lost p { color: var(--muted); }
.lost .btn { margin-top: 1.5rem; }

/* Legal notice & privacy (imprint.html) */
.legal { max-width: 760px; }
.legal-title { margin: 0 0 0.5rem; font-size: clamp(1.5rem, 4vw, 2.25rem); font-weight: 300; letter-spacing: 0.1em; text-transform: uppercase; }
.legal-lang { color: var(--muted); margin: 0 0 2rem; }
.legal h2 { margin: 2.5rem 0 0.75rem; font-size: 0.85rem; font-weight: 600; letter-spacing: 0.28em; text-transform: uppercase; color: var(--accent); }
.legal section + section { margin-top: 3.5rem; padding-top: 1rem; border-top: 1px solid var(--line-soft); }
.legal p { color: var(--muted); }
.legal strong { color: var(--text); font-weight: 600; }
