:root {
  --bg: #0e1012;
  --bg-alt: #15181b;
  --panel: #1b1f23;
  --line: #2a2f35;
  --text: #e8e6e1;
  --muted: #9aa0a6;
  --accent: #e0a526;
  --accent-dark: #b7831a;
  --light: #f5f3ee;
  --ink: #16191c;
  --radius: 10px;
  --max: 1180px;
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { background: var(--bg); color: var(--text); line-height: 1.6; -webkit-font-smoothing: antialiased; }
img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
.container { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 8px; top: 8px; background: var(--accent); color: #000; padding: 8px 12px; z-index: 100; }

h1, h2, h3, h4 { line-height: 1.15; letter-spacing: -0.02em; font-weight: 700; }
h1 { font-size: clamp(2.4rem, 6vw, 4.4rem); }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); margin-bottom: 16px; }
h3 { font-size: 1.2rem; margin-bottom: 8px; }
p { color: var(--muted); }
.eyebrow { text-transform: uppercase; letter-spacing: .16em; font-size: .78rem; font-weight: 600; color: var(--accent); margin-bottom: 14px; display: block; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(14,16,18,.88); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand { display: flex; align-items: center; gap: 12px; font-weight: 800; letter-spacing: .02em; }
.brand small { display: block; font-weight: 500; font-size: .66rem; letter-spacing: .22em; color: var(--muted); text-transform: uppercase; }
.brand-mark { width: 36px; height: 36px; }
.nav-links { display: flex; gap: 28px; align-items: center; list-style: none; }
.nav-links a { font-size: .92rem; color: var(--muted); transition: color .2s; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--text); }
.nav-toggle { display: none; background: none; border: 1px solid var(--line); color: var(--text); padding: 8px 12px; border-radius: 6px; cursor: pointer; }

/* Buttons */
.btn { display: inline-block; padding: 13px 26px; border-radius: 6px; font-weight: 600; font-size: .95rem; border: 1px solid transparent; cursor: pointer; transition: all .2s; font-family: inherit; }
.btn-primary { background: var(--accent); color: #111; }
.btn-primary:hover { background: #f0b83a; transform: translateY(-1px); }
.btn-ghost { border-color: var(--line); color: var(--text); }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }

/* Hero */
.hero { position: relative; overflow: hidden; padding: 120px 0 110px; background:
  radial-gradient(900px 400px at 80% 10%, rgba(224,165,38,.16), transparent 60%),
  linear-gradient(180deg, #121519, var(--bg)); }
.hero::after { content: ""; position: absolute; inset: auto 0 0 0; height: 220px; opacity: .5;
  background: url("../img/ridge.svg") bottom/cover no-repeat; pointer-events: none; }
.hero .container { position: relative; z-index: 1; }
.hero h1 span { color: var(--accent); }
.hero p.lead { max-width: 620px; font-size: 1.15rem; margin: 22px 0 34px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.page-hero { padding: 90px 0 60px; background: linear-gradient(180deg, #121519, var(--bg)); border-bottom: 1px solid var(--line); }
.page-hero p { max-width: 640px; font-size: 1.1rem; margin-top: 16px; }

/* Stats */
.stats { background: var(--bg-alt); border-block: 1px solid var(--line); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: 38px 24px; border-right: 1px solid var(--line); }
.stat:last-child { border-right: 0; }
.stat strong { display: block; font-size: 2.4rem; letter-spacing: -.03em; color: var(--accent); }
.stat span { color: var(--muted); font-size: .9rem; }

/* Sections */
section.block { padding: 96px 0; }
section.alt { background: var(--bg-alt); border-block: 1px solid var(--line); }
.section-head { max-width: 680px; margin-bottom: 52px; }
.grid { display: grid; gap: 24px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; transition: border-color .2s, transform .2s; }
.card:hover { border-color: var(--accent-dark); transform: translateY(-3px); }
.icon { width: 44px; height: 44px; border-radius: 10px; background: rgba(224,165,38,.12); color: var(--accent); display: grid; place-items: center; margin-bottom: 18px; }
.tag { display: inline-block; font-size: .72rem; padding: 3px 10px; border-radius: 99px; border: 1px solid var(--line); color: var(--muted); margin-right: 6px; margin-top: 12px; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.visual { aspect-ratio: 4/3; border-radius: var(--radius); border: 1px solid var(--line); overflow: hidden; background: var(--panel); }
.visual svg { width: 100%; height: 100%; }
.checks { list-style: none; margin-top: 22px; display: grid; gap: 10px; }
.checks li { padding-left: 28px; position: relative; color: var(--muted); }
.checks li::before { content: ""; position: absolute; left: 0; top: 8px; width: 12px; height: 7px; border-left: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: rotate(-45deg); }

/* Table */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); }
table { width: 100%; border-collapse: collapse; font-size: .94rem; }
th, td { text-align: left; padding: 15px 20px; border-bottom: 1px solid var(--line); }
th { background: var(--panel); color: var(--muted); font-weight: 600; font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; }
tr:last-child td { border-bottom: 0; }
td.num { font-variant-numeric: tabular-nums; }
.pos { color: #5fc58a; }

/* Timeline */
.timeline { border-left: 2px solid var(--line); margin-left: 8px; display: grid; gap: 34px; }
.timeline div { padding-left: 28px; position: relative; }
.timeline div::before { content: ""; position: absolute; left: -7px; top: 6px; width: 12px; height: 12px; border-radius: 50%; background: var(--accent); }
.timeline strong { color: var(--accent); }

/* News */
.news-item { display: flex; justify-content: space-between; gap: 24px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.news-item time { color: var(--muted); font-size: .85rem; white-space: nowrap; }
.news-item h3 { margin: 0; font-weight: 600; }

/* CTA */
.cta { background: linear-gradient(120deg, var(--accent-dark), var(--accent)); color: #111; padding: 72px 0; }
.cta h2 { margin-bottom: 8px; }
.cta p { color: rgba(0,0,0,.7); }
.cta .container { display: flex; justify-content: space-between; align-items: center; gap: 32px; flex-wrap: wrap; }
.cta .btn { background: #111; color: #fff; }

/* Forms */
form { display: grid; gap: 18px; }
label { font-size: .85rem; color: var(--muted); display: grid; gap: 6px; }
input, select, textarea { background: var(--bg); border: 1px solid var(--line); color: var(--text); padding: 12px 14px; border-radius: 6px; font: inherit; }
input:focus, select:focus, textarea:focus { outline: 2px solid var(--accent); outline-offset: 1px; }
textarea { min-height: 140px; resize: vertical; }
.form-note { font-size: .85rem; min-height: 1.2em; color: #5fc58a; }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }

/* Jobs */
.job { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.job h3 { margin: 0; }
.job p { font-size: .9rem; }

/* Footer */
.site-footer { background: #0a0b0d; border-top: 1px solid var(--line); padding: 64px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; }
.footer-grid h4 { font-size: .8rem; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); margin-bottom: 16px; }
.footer-grid ul { list-style: none; display: grid; gap: 10px; }
.footer-grid a { color: var(--muted); font-size: .92rem; }
.footer-grid a:hover { color: var(--accent); }
.legal { margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line); font-size: .8rem; color: var(--muted); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s, transform .7s; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } }

@media (max-width: 900px) {
  .grid-3, .grid-2, .split, .footer-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(2) { border-right: 0; }
  .split { gap: 36px; }
  .nav-toggle { display: block; }
  .nav-links { display: none; position: absolute; top: 72px; left: 0; right: 0; background: var(--bg); flex-direction: column; padding: 24px; gap: 18px; border-bottom: 1px solid var(--line); align-items: flex-start; }
  .nav-links.open { display: flex; }
  .row { grid-template-columns: 1fr; }
  .job, .news-item { flex-direction: column; align-items: flex-start; }
}
