/* Axoryn Studio — official site. Original design, 2026. */
:root {
  --bg: #070706;
  --bg-elev: #0e0c0a;
  --surface: #141210;
  --surface-2: #1b1814;
  --ink: #f3ead8;
  --ink-soft: #c9c0ad;
  --muted: #8f8777;
  --gold: #c9a86c;
  --gold-hi: #f0e0b0;
  --gold-dim: rgba(201, 168, 108, 0.18);
  --line: rgba(201, 168, 108, 0.22);
  --line-strong: rgba(201, 168, 108, 0.4);
  --danger: #c45c4a;
  --shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
  --radius: 18px;
  --measure: 68ch;
  --sans: "Outfit", "Segoe UI", "Helvetica Neue", sans-serif;
  --serif: "Cormorant Garamond", "Palatino Linotype", Palatino, Georgia, serif;
  --header-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { margin: 0; padding: 0; }
body {
  background: var(--bg);
  color: var(--ink-soft);
  font-family: var(--sans);
  font-weight: 400;
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  min-height: 100vh;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--gold-hi); text-decoration: none; }
a:hover { color: var(--ink); }
a:focus-visible, button:focus-visible, input:focus-visible, label:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

.wrap {
  width: min(1160px, calc(100% - 48px));
  margin-inline: auto;
}

/* ——— Header ——— */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: rgba(7, 7, 6, 0.72);
  backdrop-filter: blur(18px) saturate(1.2);
  -webkit-backdrop-filter: blur(18px) saturate(1.2);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  letter-spacing: 0.22em;
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
}
.brand:hover { color: var(--gold-hi); }
.brand .mark {
  width: 34px;
  height: 34px;
  color: var(--gold-hi);
  flex: none;
}
.nav {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.nav a { color: var(--ink-soft); }
.nav a:hover, .nav a[aria-current="page"] { color: var(--gold-hi); }

/* ——— Hero ——— */
.hero {
  position: relative;
  isolation: isolate;
  min-height: calc(100vh - var(--header-h));
  display: grid;
  place-items: center;
  padding: 72px 0 96px;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: -20% 10% auto;
  height: 70%;
  background:
    radial-gradient(ellipse at 50% 0%, rgba(201, 168, 108, 0.16), transparent 60%),
    radial-gradient(ellipse at 20% 40%, rgba(80, 60, 30, 0.2), transparent 50%),
    radial-gradient(ellipse at 80% 30%, rgba(50, 40, 70, 0.18), transparent 50%);
  pointer-events: none;
  z-index: -1;
}
.hero-inner {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.hero .mark {
  width: 92px;
  height: 92px;
  color: var(--gold-hi);
  filter: drop-shadow(0 12px 30px rgba(201, 168, 108, 0.25));
  margin-bottom: 28px;
}
.eyebrow {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 18px;
}
.hero h1 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(52px, 8.4vw, 112px);
  line-height: 0.9;
  letter-spacing: 0.04em;
  color: var(--ink);
  margin: 0;
}
.hero h1 span {
  display: block;
  font-weight: 400;
  font-size: 0.48em;
  letter-spacing: 0.42em;
  margin-top: 10px;
  color: var(--gold-hi);
  padding-left: 0.42em;
}
.rule {
  width: 72px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  margin: 32px auto;
  border: 0;
}
.hero .tagline {
  margin: 0;
  max-width: 34em;
  font-weight: 300;
  font-size: clamp(16px, 2vw, 20px);
  letter-spacing: 0.04em;
  color: var(--ink-soft);
}
.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
  margin-top: 40px;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  border: 1px solid transparent;
  cursor: pointer;
}
.btn-gold {
  background: linear-gradient(180deg, #e8d5a3, #c9a86c);
  color: #1a150e;
  box-shadow: 0 8px 24px rgba(201, 168, 108, 0.22);
}
.btn-gold:hover { color: #1a150e; filter: brightness(1.06); }
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line-strong);
}
.btn-ghost:hover { border-color: var(--gold); color: var(--gold-hi); }

/* ——— Sections ——— */
section { padding: 96px 0; }
.section-kicker {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 12px;
}
h2 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(36px, 5vw, 58px);
  line-height: 1.05;
  color: var(--ink);
  letter-spacing: 0.01em;
  margin: 0 0 16px;
}
h2 em { font-style: italic; font-weight: 400; color: var(--gold-hi); }
.lede {
  font-size: 18px;
  font-weight: 300;
  color: var(--ink-soft);
  max-width: 46ch;
  margin: 0 0 36px;
}

/* ——— Featured game ——— */
.featured {
  background:
    linear-gradient(180deg, transparent, rgba(20, 16, 12, 0.65) 8%, var(--bg-elev));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.featured-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.15fr);
  gap: 64px;
  align-items: center;
}
.game-title {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(40px, 5vw, 68px);
  line-height: 0.88;
  color: var(--ink);
  letter-spacing: 0.02em;
  margin: 0 0 8px;
}
.game-title span {
  display: block;
  font-weight: 400;
  font-size: 0.46em;
  letter-spacing: 0.46em;
  color: var(--gold);
  margin-top: 8px;
  padding-left: 0.2em;
}
.meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 10px;
  margin: 22px 0 20px;
}
.pill {
  display: inline-flex;
  align-items: center;
  height: 28px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid var(--line);
  color: var(--ink-soft);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 500;
}
.featured p { margin: 0 0 14px; max-width: 48ch; }

.territories {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}
.territories li {
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--muted);
  border-bottom: 1px solid var(--line);
  padding: 2px 0;
}

/* Gallery (CSS-only) */
.gallery { position: relative; }
.gallery input { position: absolute; opacity: 0; pointer-events: none; }
.stage {
  position: relative;
  aspect-ratio: 16 / 10;
  background: #050504;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.stage figure {
  position: absolute;
  inset: 0;
  margin: 0;
  opacity: 0;
  transition: opacity 0.45s ease;
}
.stage img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
}
.stage figcaption {
  position: absolute;
  left: 16px;
  bottom: 14px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(7, 7, 6, 0.72);
  backdrop-filter: blur(10px);
  color: var(--ink);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
#shot-menu:checked ~ .stage .f-menu,
#shot-eighties:checked ~ .stage .f-eighties,
#shot-medieval:checked ~ .stage .f-medieval,
#shot-map:checked ~ .stage .f-map,
#shot-neon:checked ~ .stage .f-neon { opacity: 1; z-index: 1; }

.thumbs {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
  margin-top: 12px;
}
.thumbs label {
  display: block;
  cursor: pointer;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--line);
  opacity: 0.55;
  transition: opacity 0.2s, border-color 0.2s, transform 0.2s;
}
.thumbs label:hover { opacity: 0.9; }
.thumbs img { aspect-ratio: 16 / 10; object-fit: cover; width: 100%; }
#shot-menu:checked ~ .thumbs label[for="shot-menu"],
#shot-eighties:checked ~ .thumbs label[for="shot-eighties"],
#shot-medieval:checked ~ .thumbs label[for="shot-medieval"],
#shot-map:checked ~ .thumbs label[for="shot-map"],
#shot-neon:checked ~ .thumbs label[for="shot-neon"] {
  opacity: 1;
  border-color: var(--gold);
  transform: translateY(-2px);
}

/* ——— About ——— */
.about-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 72px;
  align-items: start;
}
.about-copy p { margin: 0 0 16px; max-width: var(--measure); }
.about-points {
  display: grid;
  gap: 22px;
  margin: 8px 0 0;
  padding: 0;
  list-style: none;
}
.about-points li {
  padding-top: 22px;
  border-top: 1px solid var(--line);
}
.about-points h3 {
  margin: 0 0 6px;
  font-family: var(--serif);
  font-size: 26px;
  font-weight: 500;
  color: var(--ink);
}
.about-points p { margin: 0; color: var(--muted); }

/* ——— Legal / inner pages ——— */
.page-hero {
  padding: 72px 0 40px;
  border-bottom: 1px solid var(--line);
}
.page-hero h1 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(40px, 6vw, 72px);
  color: var(--ink);
  letter-spacing: 0.01em;
  margin: 0 0 12px;
  line-height: 1;
}
.page-hero .meta { color: var(--muted); font-size: 14px; margin: 0; }
.prose {
  padding: 56px 0 96px;
}
.prose .measure { max-width: 760px; }
.prose h2 {
  font-size: 32px;
  margin: 48px 0 12px;
}
.prose h3 {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 550;
  color: var(--ink);
  margin: 28px 0 8px;
}
.prose p, .prose li { color: var(--ink-soft); }
.prose ul, .prose ol { padding-left: 1.2em; }
.prose li { margin: 0 0 8px; }
.prose .note {
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: 14px;
  padding: 18px 20px;
  color: var(--ink-soft);
  font-size: 15px;
}
.en-summary {
  margin-top: 64px;
  padding-top: 48px;
  border-top: 1px solid var(--line);
}
.en-summary h2 { color: var(--gold-hi); }

/* Support cards */
.support-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  margin: 36px 0;
}
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px 26px;
}
.card h3 {
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 500;
  color: var(--ink);
  margin: 0 0 8px;
}
.card p { margin: 0; color: var(--muted); }
.contact-box {
  margin-top: 12px;
  padding: 28px 32px;
  border-radius: 20px;
  border: 1px solid var(--line-strong);
  background:
    linear-gradient(180deg, rgba(201, 168, 108, 0.08), transparent 60%),
    var(--surface);
}
.contact-box a.mail {
  display: inline-block;
  margin-top: 8px;
  font-size: 22px;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--gold-hi);
}

/* ——— Footer ——— */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 48px 0 36px;
  background: #050504;
}
.foot-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
  align-items: start;
}
.foot-brand {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}
.foot-brand .mark { width: 40px; height: 40px; color: var(--gold-hi); flex: none; }
.foot-brand p {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 14px;
  max-width: 32ch;
}
.foot-brand strong {
  display: block;
  color: var(--ink);
  letter-spacing: 0.22em;
  font-size: 12px;
  font-weight: 500;
}
.foot-col h3 {
  margin: 0 0 14px;
  font-size: 11px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 500;
}
.foot-col ul { list-style: none; margin: 0; padding: 0; }
.foot-col li { margin: 0 0 8px; }
.foot-col a { color: var(--ink-soft); font-size: 14px; }
.foot-col a:hover { color: var(--gold-hi); }
.legal-bar {
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  color: var(--muted);
  font-size: 13px;
}

@media (max-width: 900px) {
  .featured-grid, .about-grid, .foot-grid, .support-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .thumbs { grid-template-columns: repeat(3, 1fr); }
  .thumbs label:nth-child(n+4) { /* keep all visible */ }
  section { padding: 72px 0; }
  .hero { padding: 56px 0 72px; min-height: auto; }
  .nav { gap: 16px; font-size: 11px; }
}
@media (max-width: 640px) {
  .wrap { width: min(1160px, calc(100% - 32px)); }
  .nav .hide-sm { display: none; }
  .hero h1 { letter-spacing: 0.02em; }
  .thumbs { grid-template-columns: repeat(5, 1fr); gap: 6px; }
  .legal-bar { flex-direction: column; }
}
