/* Firepath Games: site styles. No framework; plain CSS with custom properties. */
:root {
  --bg: #0b0a0d;
  --bg-2: #121016;
  --surface: #17141c;
  --surface-2: #201b27;
  --line: rgba(255, 255, 255, .09);
  --line-2: rgba(255, 255, 255, .16);
  --text: #f3eee8;
  --muted: #a69fa9;
  --dim: #6f6874;
  --ember: #ff5a1f;
  --ember-2: #ff8a3d;
  --gold: #ffc061;
  --glow: rgba(255, 90, 31, .35);
  --ok: #4ade80;
  --info: #60a5fa;
  --radius: 14px;
  --radius-sm: 9px;
  --wrap: 1200px;
  --display: "Chakra Petch", system-ui, sans-serif;
  --body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --header-h: 76px;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 16px/1.65 var(--body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, video, iframe { max-width: 100%; display: block; }
a { color: var(--ember-2); text-decoration: none; }
a:hover { color: var(--gold); }
h1, h2, h3, h4 { font-family: var(--display); line-height: 1.12; margin: 0 0 .5em; letter-spacing: .01em; font-weight: 700; }
h1 { font-size: clamp(2.3rem, 5.5vw, 4.2rem); }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.5rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; }
:focus-visible { outline: 2px solid var(--ember-2); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--ember); color: #fff; }

.sr-only, .hp { position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; border: 0 !important; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--ember); color: #fff; padding: 10px 16px; border-radius: 8px; }
.skip:focus { top: 12px; }
.wrap { width: min(var(--wrap), 100% - 32px); margin-inline: auto; }
.wrap-narrow { --wrap: 760px; }
.muted { color: var(--muted); }
.icon { width: 1.15em; height: 1.15em; flex: none; }
.icon-sm { width: 1em; height: 1em; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  padding: .8em 1.35em; border-radius: 10px; border: 1px solid transparent;
  font: 600 .95rem/1.1 var(--body); color: var(--text); cursor: pointer;
  transition: transform .15s ease, background .2s, border-color .2s, box-shadow .2s, color .2s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); color: var(--text); }
.btn-primary {
  background: linear-gradient(135deg, var(--ember), var(--ember-2));
  box-shadow: 0 8px 28px -10px var(--glow), inset 0 1px 0 rgba(255,255,255,.25);
  color: #fff;
}
.btn-primary:hover { box-shadow: 0 12px 34px -8px rgba(255, 90, 31, .55), inset 0 1px 0 rgba(255,255,255,.25); color: #fff; }
.btn-ghost { background: rgba(255,255,255,.06); border-color: var(--line-2); backdrop-filter: blur(6px); }
.btn-ghost:hover { background: rgba(255,255,255,.11); border-color: rgba(255,255,255,.28); }
.btn-link { padding-inline: .2em; color: var(--ember-2); }
.btn-link:hover { color: var(--gold); }
.btn-link .icon { transition: transform .2s; }
.btn-link:hover .icon { transform: translateX(3px); }
.btn-sm { padding: .55em .95em; font-size: .87rem; }
.btn-lg { padding: 1em 1.6em; font-size: 1rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.btn-stack { display: grid; gap: 10px; }
.btn-stack .btn { width: 100%; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 50; height: var(--header-h);
  transition: background .3s, border-color .3s, backdrop-filter .3s;
  border-bottom: 1px solid transparent;
}
.site-header.is-scrolled, .page-news .site-header, .page-contact .site-header {
  background: rgba(11, 10, 13, .82); backdrop-filter: blur(14px); border-color: var(--line);
}
.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand img { height: 44px; width: auto; }
.main-nav { display: flex; align-items: center; gap: 28px; }
.main-nav ul { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
.main-nav ul a {
  display: block; padding: 8px 14px; border-radius: 8px; color: var(--muted);
  font: 600 .92rem var(--body); letter-spacing: .02em; transition: color .2s, background .2s;
}
.main-nav ul a:hover { color: var(--text); background: rgba(255,255,255,.05); }
.main-nav ul a[aria-current="page"] { color: var(--text); }
.main-nav ul a[aria-current="page"]::after { content: ""; display: block; height: 2px; margin-top: 4px; border-radius: 2px; background: linear-gradient(90deg, var(--ember), var(--gold)); }
.nav-cta { display: flex; gap: 10px; }
.nav-toggle { display: none; background: none; border: 0; color: var(--text); padding: 8px; cursor: pointer; }
.nav-toggle .icon { width: 28px; height: 28px; }
.nav-toggle .icon-close { display: none; }

@media (max-width: 920px) {
  .nav-toggle { display: block; position: relative; z-index: 2; }
  .main-nav {
    position: fixed; inset: 0; z-index: 1; flex-direction: column; justify-content: center; gap: 32px;
    background: rgba(11, 10, 13, .97); backdrop-filter: blur(16px);
    opacity: 0; visibility: hidden; transition: opacity .25s, visibility .25s;
  }
  .main-nav ul { flex-direction: column; align-items: center; gap: 6px; }
  .main-nav ul a { font: 700 1.6rem var(--display); color: var(--text); }
  .nav-open .main-nav { opacity: 1; visibility: visible; }
  .nav-open .nav-toggle .icon-open { display: none; }
  .nav-open .nav-toggle .icon-close { display: block; }
  .nav-open { overflow: hidden; }
}

/* ---------- Hero ---------- */
.hero, .game-hero {
  position: relative; min-height: min(92vh, 860px); display: flex; align-items: flex-end;
  padding: calc(var(--header-h) + 80px) 0 110px; overflow: hidden; isolation: isolate;
}
.game-hero { min-height: min(78vh, 720px); padding-bottom: 80px; }
.hero-bg { position: absolute; inset: 0; z-index: -2; background:
  radial-gradient(1200px 600px at 75% 110%, rgba(255, 90, 31, .32), transparent 60%),
  radial-gradient(800px 500px at 10% 0%, rgba(120, 60, 200, .18), transparent 60%),
  linear-gradient(180deg, #0f0c14 0%, var(--bg) 100%); }
.hero-bg img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .55; filter: saturate(1.1); animation: slowzoom 30s ease-in-out infinite alternate; }
.hero-bg::after { content: ""; position: absolute; inset: 0; background:
  linear-gradient(90deg, rgba(11,10,13,.92) 0%, rgba(11,10,13,.6) 45%, rgba(11,10,13,.15) 100%); }
.embers { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1; pointer-events: none; }
.hero-fade { position: absolute; inset: auto 0 0; height: 180px; z-index: -1; background: linear-gradient(transparent, var(--bg)); }
.hero-inner, .game-hero-inner { position: relative; z-index: 2; max-width: 760px; margin-left: max(16px, (100% - var(--wrap)) / 2); }
.hero-title { font-size: clamp(2.6rem, 7vw, 5.4rem); margin-bottom: .25em; text-wrap: balance; text-shadow: 0 4px 40px rgba(0,0,0,.5); }
.hero-text { font-size: clamp(1.05rem, 1.6vw, 1.3rem); color: #ddd5cf; max-width: 600px; margin-bottom: 1.8em; }
.eyebrow { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; font: 600 .85rem var(--body); text-transform: uppercase; letter-spacing: .14em; color: var(--gold); margin-bottom: 1.2em; }
@keyframes slowzoom { from { transform: scale(1); } to { transform: scale(1.08); } }
@media (prefers-reduced-motion: reduce) { .hero-bg img { animation: none; } .embers { display: none; } html { scroll-behavior: auto; } }

/* Trailer playing behind the hero (featured game / game pages) */
.hero-video { position: absolute; top: 50%; left: 50%; width: 100%; height: 100%; min-width: 177.78vh; min-height: 56.25vw; transform: translate(-50%, -50%); border: 0; pointer-events: none; opacity: .6; }
@media (max-width: 700px), (prefers-reduced-motion: reduce) { .hero-video { display: none; } }

/* Studio hero: floating game art on the right */
.hero-collage { position: absolute; z-index: 1; right: max(16px, (100% - var(--wrap)) / 2); top: 50%; width: min(46vw, 600px); aspect-ratio: 1 / .85; transform: translateY(-42%); pointer-events: none; }
.hero-collage img { position: absolute; width: 58%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 16px; border: 1px solid var(--line-2); box-shadow: 0 30px 60px -20px rgba(0,0,0,.8), 0 0 0 1px rgba(0,0,0,.4); animation: float 9s ease-in-out infinite; }
.hero-collage img:nth-child(1) { left: 0; top: 8%; transform: rotate(-6deg); }
.hero-collage img:nth-child(2) { right: 0; top: 0; transform: rotate(5deg); animation-delay: -3s; z-index: 2; }
.hero-collage img:nth-child(3) { left: 22%; bottom: 0; transform: rotate(-1deg); animation-delay: -6s; z-index: 3; box-shadow: 0 30px 70px -10px rgba(255,90,31,.35), 0 30px 60px -20px rgba(0,0,0,.8); }
@keyframes float { 50% { translate: 0 -12px; } }
@media (max-width: 1000px) { .hero-collage { display: none; } }
@media (prefers-reduced-motion: reduce) { .hero-collage img { animation: none; } }

/* ---------- Sections ---------- */
.section { padding: 90px 0; }
.section-tight { padding: 40px 0 90px; }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; margin-bottom: 36px; }
.section-head h2 { margin: 0; }
.kicker { font: 600 .8rem var(--body); text-transform: uppercase; letter-spacing: .18em; color: var(--ember-2); margin-bottom: .7em; display: flex; align-items: center; gap: 10px; }
.kicker::before { content: ""; width: 22px; height: 2px; background: linear-gradient(90deg, var(--ember), var(--gold)); border-radius: 2px; }
.lead { font-size: 1.15rem; color: #cfc7c1; max-width: 680px; }
.page-hero { padding: calc(var(--header-h) + 80px) 0 40px; background:
  radial-gradient(900px 380px at 80% -10%, rgba(255, 90, 31, .18), transparent 60%),
  radial-gradient(700px 300px at 0% 0%, rgba(120, 60, 200, .12), transparent 60%); }
.page-hero-sm { padding-bottom: 10px; }
.page-hero-sm h1 { font-size: clamp(2rem, 4vw, 3rem); }
.split { display: grid; grid-template-columns: 1.2fr .8fr; gap: 64px; align-items: center; }
.split-top { align-items: start; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; gap: 40px; } .section { padding: 64px 0; } }

/* ---------- Badges & meta ---------- */
.badge { display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px; border-radius: 999px; font: 700 .7rem var(--body); text-transform: uppercase; letter-spacing: .1em; background: rgba(0,0,0,.55); border: 1px solid var(--line-2); color: var(--text); backdrop-filter: blur(6px); }
.badge::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.badge-released { color: var(--ok); }
.badge-early-access, .badge-beta { color: var(--info); }
.badge-in-development, .badge-coming-soon { color: var(--gold); }
.badge-in-development::before, .badge-coming-soon::before { animation: pulse 1.6s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: .3; } }
.platforms { display: flex; gap: 10px; list-style: none; padding: 0; margin: 0; color: var(--muted); font-size: .82rem; flex-wrap: wrap; }
.platforms li { display: inline-flex; align-items: center; gap: 5px; }
.meta { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; color: var(--muted); font-size: .85rem; margin-bottom: .8em; }
.tag { color: var(--ember-2); font-weight: 700; text-transform: uppercase; letter-spacing: .12em; font-size: .72rem; }

/* ---------- Game cards ---------- */
.game-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.game-grid > .game-card-lg { grid-column: span 2; grid-row: span 2; }
.game-grid > .game-card-wide { grid-column: span 2; }
.game-card-wide .game-card-media { aspect-ratio: 21 / 9; }
@media (max-width: 960px) { .game-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 960px) { .game-grid > .game-card-lg, .game-grid > .game-card-wide { grid-column: 1 / -1; grid-row: auto; } .game-card-lg .game-card-media { aspect-ratio: 16 / 9; flex: none; min-height: 0; } }
@media (max-width: 600px) { .game-grid { grid-template-columns: 1fr; } .game-card-wide .game-card-media { aspect-ratio: 16 / 9; } }
.game-card { position: relative; border-radius: var(--radius); overflow: hidden; background: var(--surface); border: 1px solid var(--line); transition: transform .25s ease, border-color .25s, box-shadow .25s; }
.game-card:hover { transform: translateY(-4px); border-color: rgba(255, 138, 61, .45); box-shadow: 0 20px 50px -20px rgba(255, 90, 31, .4); }
.game-card-link { display: flex; flex-direction: column; height: 100%; color: inherit; }
.game-card-link:hover { color: inherit; }
.game-card-media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--surface-2); }
.game-card-lg .game-card-media { aspect-ratio: auto; flex: 1; min-height: 260px; }
.game-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.game-card:hover .game-card-media img { transform: scale(1.05); }
.game-card-media .badge { position: absolute; top: 14px; left: 14px; }
.game-card-body { padding: 18px 20px 20px; }
.game-card-body h3 { margin-bottom: .3em; }
.game-card-lg .game-card-body h3, .game-card-wide .game-card-body h3 { font-size: 1.6rem; }
.game-card-body p { color: var(--muted); font-size: .93rem; margin-bottom: 14px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.game-card-meta { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; }
.genres { font-size: .8rem; color: var(--dim); }
.placeholder-art { width: 100%; height: 100%; min-height: 160px; display: grid; place-items: center; text-align: center; padding: 20px;
  background: radial-gradient(circle at 30% 120%, rgba(255,90,31,.45), transparent 60%), linear-gradient(135deg, #241c2b, #120f16); }
.placeholder-art span { font: 700 1.5rem var(--display); color: rgba(255,255,255,.85); }

.filters { display: inline-flex; gap: 4px; padding: 5px; border-radius: 12px; background: var(--surface); border: 1px solid var(--line); margin-bottom: 32px; }
.filters a { padding: 8px 18px; border-radius: 8px; color: var(--muted); font-weight: 600; font-size: .92rem; }
.filters a[aria-selected="true"] { background: var(--surface-2); color: var(--text); box-shadow: inset 0 0 0 1px var(--line-2); }
.game-card.is-hidden { display: none; }

/* ---------- PC band & stats ---------- */
.pc-band { position: relative; background:
  radial-gradient(700px 400px at 100% 50%, rgba(255, 90, 31, .14), transparent 70%),
  linear-gradient(180deg, var(--bg), var(--bg-2) 50%, var(--bg)); border-block: 1px solid var(--line); }
.checks { list-style: none; padding: 0; margin: 0 0 28px; display: grid; gap: 10px; }
.checks li { position: relative; padding-left: 30px; color: #ddd5cf; }
.checks li::before { content: ""; position: absolute; left: 0; top: .3em; width: 18px; height: 18px; border-radius: 50%; background: rgba(255, 90, 31, .18); box-shadow: inset 0 0 0 1px rgba(255, 138, 61, .5); }
.checks li::after { content: ""; position: absolute; left: 6px; top: calc(.3em + 5px); width: 6px; height: 4px; border-left: 2px solid var(--ember-2); border-bottom: 2px solid var(--ember-2); transform: rotate(-45deg); }
.stat-panel { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.stat { padding: 26px 24px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.stat:first-child { grid-column: span 2; background: linear-gradient(135deg, rgba(255,90,31,.16), rgba(255,192,97,.05)), var(--surface); }
.stat strong { display: block; font: 700 2.6rem/1 var(--display); background: linear-gradient(135deg, #fff, var(--gold)); -webkit-background-clip: text; background-clip: text; color: transparent; margin-bottom: 8px; }
.stat .stat-sm { font-size: 1.4rem; }
.stat span { color: var(--muted); font-size: .9rem; }

/* ---------- Posts ---------- */
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 960px) { .post-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .post-grid { grid-template-columns: 1fr; } }
.post-card a { display: flex; flex-direction: column; height: 100%; color: inherit; border-radius: var(--radius); overflow: hidden; background: var(--surface); border: 1px solid var(--line); transition: border-color .25s, transform .25s; }
.post-card a:hover { border-color: rgba(255,138,61,.4); transform: translateY(-3px); }
.post-card-media { aspect-ratio: 16 / 9; overflow: hidden; background: var(--surface-2); }
.post-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.post-card a:hover img { transform: scale(1.05); }
.post-card-body { padding: 20px; }
.post-card-body h3 { font-size: 1.15rem; }
.post-card-body p:last-child { color: var(--muted); font-size: .92rem; margin: 0; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.post-feature { margin-bottom: 32px; }
.post-feature a { display: grid; grid-template-columns: 1.3fr 1fr; color: inherit; border-radius: var(--radius); overflow: hidden; background: var(--surface); border: 1px solid var(--line); transition: border-color .25s; }
.post-feature a:hover { border-color: rgba(255,138,61,.4); }
.post-feature-media { min-height: 300px; background: var(--surface-2); }
.post-feature-media img { width: 100%; height: 100%; object-fit: cover; }
.post-feature-body { padding: clamp(24px, 4vw, 48px); align-self: center; }
.post-feature-body > p:not(.meta) { color: var(--muted); }
@media (max-width: 760px) { .post-feature a { grid-template-columns: 1fr; } .post-feature-media { min-height: 200px; } }
.pager { display: flex; gap: 8px; justify-content: center; margin-top: 40px; }
.pager a { min-width: 42px; padding: 8px 12px; text-align: center; border-radius: 8px; background: var(--surface); border: 1px solid var(--line); color: var(--muted); }
.pager a[aria-current] { color: #fff; border-color: var(--ember); }

/* ---------- Article / prose ---------- */
.article { padding-bottom: 40px; }
.article-head { padding-top: calc(var(--header-h) + 64px); }
.article-head h1 { font-size: clamp(2rem, 4.5vw, 3.2rem); text-wrap: balance; }
.back { display: inline-block; margin-bottom: 20px; color: var(--muted); font-size: .9rem; }
.article-image { width: 100%; border-radius: var(--radius); margin: 16px 0 40px; border: 1px solid var(--line); }
.prose { font-size: 1.06rem; color: #ddd5cf; }
.prose h2 { font-size: 1.7rem; margin-top: 1.6em; }
.prose h3 { font-size: 1.3rem; margin-top: 1.5em; color: var(--text); }
.prose h2:first-child, .prose h3:first-child { margin-top: 0; }
.prose ul, .prose ol { padding-left: 1.3em; margin: 0 0 1.2em; }
.prose li { margin-bottom: .45em; }
.prose li::marker { color: var(--ember-2); }
.prose strong { color: var(--text); }
.prose a { text-decoration: underline; text-decoration-color: rgba(255,138,61,.4); text-underline-offset: 3px; }
.prose img { border-radius: var(--radius-sm); margin: 1.5em 0; }
.prose blockquote { margin: 1.5em 0; padding: 4px 0 4px 20px; border-left: 3px solid var(--ember); color: var(--text); font-style: italic; }
.prose code { background: var(--surface-2); padding: 2px 6px; border-radius: 5px; font-size: .9em; }
.video { position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden; margin: 0 0 2em; background: #000; border: 1px solid var(--line); }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* ---------- Game page ---------- */
.game-layout { display: grid; grid-template-columns: 1fr 340px; gap: 56px; align-items: start; }
@media (max-width: 900px) { .game-layout { grid-template-columns: 1fr; } }
.game-facts { position: sticky; top: calc(var(--header-h) + 20px); padding: 22px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.facts-cover { width: 100%; border-radius: var(--radius-sm); margin-bottom: 18px; aspect-ratio: 16 / 10; object-fit: cover; }
.game-facts dl, .facts { margin: 0 0 20px; display: grid; gap: 0; }
.game-facts dl > div, .facts > div { display: flex; justify-content: space-between; gap: 16px; padding: 11px 0; border-bottom: 1px solid var(--line); font-size: .92rem; }
.game-facts dt, .facts dt { color: var(--muted); }
.game-facts dd, .facts dd { margin: 0; text-align: right; }
.game-facts .platforms { justify-content: flex-end; color: var(--text); }
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; }
.gallery a { border-radius: var(--radius-sm); overflow: hidden; border: 1px solid var(--line); }
.gallery img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; margin: 0; border-radius: 0; transition: transform .4s; }
.gallery a:hover img { transform: scale(1.04); }
.lightbox { position: fixed; inset: 0; z-index: 90; display: grid; place-items: center; background: rgba(0,0,0,.92); padding: 24px; cursor: zoom-out; }
.lightbox img { max-height: 90vh; border-radius: var(--radius-sm); }
.draft-bar { position: relative; z-index: 60; margin-top: var(--header-h); padding: 10px 16px; text-align: center; background: #3a2a00; color: var(--gold); font-weight: 600; font-size: .9rem; }
.draft-bar + .game-hero, .draft-bar + .article .article-head { padding-top: 80px; }

/* ---------- Community CTA ---------- */
.community { display: flex; justify-content: space-between; align-items: center; gap: 32px; flex-wrap: wrap; padding: clamp(32px, 5vw, 56px); border-radius: 22px; position: relative; overflow: hidden;
  background: radial-gradient(600px 300px at 0% 100%, rgba(88,101,242,.3), transparent 60%), radial-gradient(500px 300px at 100% 0%, rgba(255,90,31,.25), transparent 60%), var(--surface);
  border: 1px solid var(--line-2); }
.community > div:first-child { max-width: 560px; }
.community p:not(.kicker) { color: #cfc7c1; margin: 0; }

/* ---------- Team / about / press ---------- */
.team-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 20px; }
.team-card { padding: 28px 24px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); text-align: center; }
.team-card img, .avatar { width: 96px; height: 96px; border-radius: 50%; margin: 0 auto 16px; object-fit: cover; }
.avatar { display: grid; place-items: center; font: 700 2.2rem var(--display); background: linear-gradient(135deg, var(--ember), #7c3aed); }
.team-card h3 { font-size: 1.1rem; margin-bottom: .2em; }
.team-card p { color: var(--muted); margin: 0; font-size: .9rem; }
.logo-tile { display: grid; place-items: center; padding: 48px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); margin-bottom: 16px; }
.facts { margin-bottom: 40px; }

/* ---------- Forms ---------- */
.card { padding: clamp(22px, 4vw, 36px); border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.form { display: grid; gap: 18px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 600px) { .form-row { grid-template-columns: 1fr; } }
.form label { display: grid; gap: 7px; font-size: .88rem; font-weight: 600; color: #cfc7c1; }
input[type=text], input[type=email], input[type=password], input[type=url], input[type=date], input[type=number], select, textarea {
  width: 100%; padding: 12px 14px; border-radius: var(--radius-sm); border: 1px solid var(--line-2); background: var(--bg-2);
  color: var(--text); font: 400 1rem var(--body); transition: border-color .2s, box-shadow .2s;
}
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--ember-2); box-shadow: 0 0 0 3px rgba(255,90,31,.2); }
textarea { resize: vertical; min-height: 120px; }
.form .btn { justify-self: start; }
.notice { padding: 12px 16px; border-radius: var(--radius-sm); margin-bottom: 18px; font-size: .93rem; }
.notice-success { background: rgba(74,222,128,.1); border: 1px solid rgba(74,222,128,.35); color: #bbf7d0; }
.notice-error { background: rgba(248,113,113,.1); border: 1px solid rgba(248,113,113,.35); color: #fecaca; }
.contact-side { display: grid; gap: 14px; }
.contact-item { display: flex; gap: 16px; padding: 20px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.contact-item > .icon { width: 26px; height: 26px; color: var(--ember-2); margin-top: 2px; }
.contact-item h3 { font-size: 1.05rem; margin-bottom: .25em; }
.contact-item p { color: var(--muted); margin: 0 0 .3em; font-size: .92rem; }
.error-page { min-height: 70vh; display: flex; align-items: center; }

/* ---------- Footer ---------- */
.site-footer { margin-top: 40px; border-top: 1px solid var(--line); background: linear-gradient(180deg, var(--bg), #08070a); padding-top: 64px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr .8fr .8fr 1.3fr; gap: 40px; padding-bottom: 48px; }
@media (max-width: 960px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-brand img { height: 50px; width: auto; margin-bottom: 16px; }
.footer-brand p, .footer-news p { color: var(--muted); font-size: .92rem; }
.footer-title { font: 700 .8rem var(--body); text-transform: uppercase; letter-spacing: .16em; color: var(--text); margin-bottom: 16px; }
.footer-links { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer-links a { color: var(--muted); font-size: .93rem; }
.footer-links a:hover { color: var(--text); }
.socials { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.socials a { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 10px; background: var(--surface); border: 1px solid var(--line); color: var(--muted); transition: color .2s, border-color .2s, background .2s; }
.socials a:hover { color: #fff; border-color: var(--ember); background: rgba(255,90,31,.12); }
.inline-form { display: flex; gap: 8px; }
.inline-form input { flex: 1; min-width: 0; }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; padding: 22px 0 28px; border-top: 1px solid var(--line); color: var(--dim); font-size: .85rem; }
.footer-bottom p { margin: 0; }
.footer-bottom ul { display: flex; gap: 20px; list-style: none; margin: 0; padding: 0; }
.footer-bottom a { color: var(--dim); }
.footer-bottom a:hover { color: var(--text); }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }
