:root {
  --bg: #0a0b0d;
  --bg-soft: #101217;
  --panel: rgba(255,255,255,0.035);
  --panel-strong: rgba(255,255,255,0.06);
  --line: rgba(255,255,255,0.10);
  --text: #f2f0ea;
  --muted: #9fa3aa;
  --bronze: #b98a52;
  --bronze-soft: #7d6040;
  --gold: #d8b164;
  --blue: #8fb7d9;
  --stone: #c8c8c4;
  --amber: #d39a55;
  --max: 1180px;
  --radius: 22px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at 20% 0%, rgba(185,138,82,.08), transparent 30%),
    radial-gradient(circle at 85% 10%, rgba(143,183,217,.05), transparent 26%),
    var(--bg);
  color: var(--text);
  line-height: 1.6;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image: linear-gradient(rgba(255,255,255,.012) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.012) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,.35), transparent 75%);
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display:block; }
button, input { font: inherit; }

.shell { width: min(calc(100% - 40px), var(--max)); margin: 0 auto; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(18px);
  background: rgba(10,11,13,.72);
  border-bottom: 1px solid rgba(255,255,255,.07);
}
.nav {
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  letter-spacing: -.02em;
}
.brand-mark {
  width: 34px;
  height: 34px;
  border: 1px solid rgba(216,177,100,.38);
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: linear-gradient(145deg, rgba(185,138,82,.16), rgba(255,255,255,.02));
  color: var(--gold);
  font-family: Georgia, serif;
  font-size: 19px;
}
.nav-links { display:flex; align-items:center; gap: 8px; }
.nav-links a {
  color: var(--muted);
  padding: 10px 13px;
  border-radius: 10px;
  font-size: 14px;
  transition: .2s ease;
}
.nav-links a:hover, .nav-links a.active { color: var(--text); background: rgba(255,255,255,.055); }
.menu-button { display:none; background:none; border:1px solid var(--line); color:var(--text); border-radius:10px; padding:8px 10px; }

.hero { padding: 108px 0 88px; }
.hero-grid { display:grid; grid-template-columns: 1.1fr .9fr; gap: 72px; align-items:center; }
.eyebrow {
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: .2em;
  font-size: 12px;
  font-weight: 700;
}
h1, h2, h3 { line-height: 1.08; margin: 0; }
h1 { font-size: clamp(48px, 8vw, 92px); letter-spacing: -.055em; max-width: 900px; }
h2 { font-size: clamp(34px, 5vw, 58px); letter-spacing: -.04em; }
h3 { font-size: 22px; letter-spacing: -.02em; }
.hero p { color: var(--muted); font-size: 18px; max-width: 690px; margin: 26px 0 0; }
.hero-actions { display:flex; gap:12px; flex-wrap:wrap; margin-top:34px; }
.button {
  display:inline-flex; align-items:center; justify-content:center; gap:9px;
  min-height:48px; padding: 0 18px; border-radius:12px; border:1px solid var(--line);
  background: rgba(255,255,255,.035); color:var(--text); font-weight:650; font-size:14px;
  transition: transform .2s ease, background .2s ease, border-color .2s ease;
}
.button:hover { transform: translateY(-2px); background: rgba(255,255,255,.07); border-color: rgba(255,255,255,.18); }
.button.primary { background: linear-gradient(180deg,#c49a63,#a77743); border-color:#cfab7c; color:#13100c; }
.button.primary:hover { background: linear-gradient(180deg,#d2aa73,#b8834c); }

.hero-monument {
  min-height: 510px;
  position: relative;
  display:grid;
  place-items:center;
}
.monument-stage {
  width: 100%;
  aspect-ratio: 4/5;
  position:relative;
  border-radius: 30px;
  border:1px solid rgba(255,255,255,.08);
  background: linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,.012)), radial-gradient(circle at 50% 24%, rgba(185,138,82,.11), transparent 30%), #0d0f12;
  box-shadow: inset 0 -80px 100px rgba(0,0,0,.45), 0 30px 90px rgba(0,0,0,.35);
  overflow:hidden;
}
.monument-stage::after {
  content:""; position:absolute; left:8%; right:8%; bottom:12%; height:1px; background:linear-gradient(90deg,transparent,rgba(255,255,255,.16),transparent);
}
.statue { position:absolute; bottom:14%; width:27%; display:flex; flex-direction:column; align-items:center; gap:7px; }
.statue.kov { left:7%; }
.statue.taosen { left:36.5%; }
.statue.kovheim { right:7%; }
.statue-body {
  width:72%; height:220px; border-radius:45% 45% 18% 18% / 20% 20% 10% 10%; position:relative; filter: drop-shadow(0 18px 14px rgba(0,0,0,.42));
}
.kov .statue-body { background: linear-gradient(90deg,#4a3728,#8f6844 48%,#392b22); }
.taosen .statue-body { background: linear-gradient(90deg,#858584,#d6d5cf 50%,#767778); }
.kovheim .statue-body { background: linear-gradient(90deg,#1f2226,#4b4f53 50%,#17191c); }
.statue-body::before { content:""; position:absolute; width:48%; aspect-ratio:1; border-radius:50%; left:26%; top:-16%; background:inherit; box-shadow: 0 -15px 30px rgba(0,0,0,.2) inset; }
.statue-body::after { content:""; position:absolute; left:-20%; right:-20%; top:27%; height:18px; border-radius:99px; background:inherit; opacity:.9; }
.pedestal { width:100%; height:38px; border-radius:4px 4px 2px 2px; background:linear-gradient(180deg,#343536,#1b1c1e); border-top:1px solid rgba(255,255,255,.12); display:grid; place-items:center; font-family: Georgia, serif; font-size:10px; letter-spacing:.18em; color:#a8a8a3; }
.glow-book { position:absolute; width:40px; height:27px; left:50%; top:45%; transform:translate(-50%,-50%); border-radius:3px; }
.kov .glow-book { background:#594526; box-shadow:0 0 28px rgba(216,177,100,.38); }
.taosen .glow-book { background:#d0d3d5; box-shadow:0 0 28px rgba(143,183,217,.34); }
.home-light { position:absolute; width:35px; height:28px; background:#453322; right:10%; top:49%; border-radius:3px; box-shadow:0 0 26px rgba(211,154,85,.55); }

.section { padding: 84px 0; }
.section.compact { padding: 56px 0; }
.section-head { display:flex; justify-content:space-between; align-items:end; gap:24px; margin-bottom:34px; }
.section-head p { color:var(--muted); max-width:560px; margin:0; }

.card-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:18px; }
.card {
  border:1px solid var(--line); border-radius:var(--radius); padding:28px; background:linear-gradient(180deg,rgba(255,255,255,.04),rgba(255,255,255,.018));
  min-height:250px; position:relative; overflow:hidden;
}
.card::after { content:""; position:absolute; inset:auto -30% -50% 30%; height:180px; background:radial-gradient(circle, rgba(255,255,255,.045), transparent 65%); }
.card .number { color:#64676d; font-size:12px; letter-spacing:.16em; margin-bottom:50px; }
.card p { color:var(--muted); margin:14px 0 0; }
.card.kov-card { border-color:rgba(185,138,82,.25); }
.card.taosen-card { border-color:rgba(143,183,217,.18); }
.card.kovheim-card { border-color:rgba(211,154,85,.18); }

.split { display:grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items:start; }
.prose p { color:var(--muted); font-size:17px; }
.quote { font-family:Georgia,serif; font-size: clamp(28px,4vw,44px); line-height:1.25; color:#ddd7cd; border-left:1px solid var(--bronze); padding-left:26px; }

.status-strip { display:flex; gap:10px; flex-wrap:wrap; margin: 24px 0 0; }
.pill { font-size:12px; letter-spacing:.08em; text-transform:uppercase; padding:7px 10px; border:1px solid var(--line); color:#b5b8be; border-radius:999px; background:rgba(255,255,255,.025); }
.pill.wip { color:#e4bd83; border-color:rgba(216,177,100,.28); background:rgba(216,177,100,.08); }

.feature-list { display:grid; gap:12px; margin-top:28px; }
.feature { display:grid; grid-template-columns:auto 1fr; gap:14px; align-items:start; padding:16px 0; border-top:1px solid rgba(255,255,255,.07); }
.feature:first-child { border-top:0; }
.feature-icon { width:30px; height:30px; border-radius:8px; border:1px solid rgba(255,255,255,.1); display:grid; place-items:center; color:var(--gold); font-size:13px; }
.feature p { margin:4px 0 0; color:var(--muted); font-size:14px; }

.code-panel { border:1px solid var(--line); border-radius:18px; overflow:hidden; background:#0b0d10; box-shadow:0 24px 70px rgba(0,0,0,.28); }
.code-head { height:46px; display:flex; align-items:center; gap:7px; padding:0 16px; border-bottom:1px solid rgba(255,255,255,.07); color:#8e9299; font-size:12px; }
.dot { width:8px; height:8px; border-radius:50%; background:#3c3f43; }
pre { margin:0; padding:24px; overflow:auto; font: 13px/1.8 "SFMono-Regular",Consolas,"Liberation Mono",monospace; color:#bfc3c9; }
.command { color:#d7ae6f; }
.comment { color:#62676f; }
.output { color:#8799aa; }

.repo-mock { border:1px solid var(--line); border-radius:20px; overflow:hidden; background:rgba(13,15,18,.9); }
.repo-top { padding:18px 20px; border-bottom:1px solid var(--line); display:flex; justify-content:space-between; gap:14px; }
.repo-title { font-weight:700; }
.repo-meta { color:var(--muted); font-size:12px; }
.repo-row { display:grid; grid-template-columns:1.1fr 1.7fr .6fr; gap:12px; padding:13px 20px; border-bottom:1px solid rgba(255,255,255,.055); font-size:13px; }
.repo-row:last-child { border-bottom:0; }
.repo-row span:nth-child(2), .repo-row span:nth-child(3){ color:var(--muted); }

.page-hero { padding: 92px 0 58px; border-bottom:1px solid rgba(255,255,255,.07); }
.page-hero h1 { font-size:clamp(48px,7vw,82px); }
.page-hero p { color:var(--muted); font-size:18px; max-width:760px; margin:22px 0 0; }

.timeline { margin-top:30px; border-left:1px solid rgba(255,255,255,.1); }
.timeline-item { padding:0 0 28px 26px; position:relative; }
.timeline-item::before { content:""; width:9px; height:9px; border-radius:50%; background:#745c42; border:2px solid #b58a58; position:absolute; left:-6px; top:6px; }
.timeline-item small { color:var(--gold); text-transform:uppercase; letter-spacing:.13em; }
.timeline-item p { color:var(--muted); margin:6px 0 0; }

.footer { margin-top:72px; padding:30px 0 42px; border-top:1px solid rgba(255,255,255,.07); color:#767a81; font-size:13px; }
.footer-row { display:flex; justify-content:space-between; gap:24px; flex-wrap:wrap; }

@media (max-width: 900px) {
  .hero-grid, .split { grid-template-columns:1fr; }
  .hero-grid { gap:38px; }
  .hero { padding-top:72px; }
  .hero-monument { min-height:auto; }
  .monument-stage { max-width:600px; margin:0 auto; }
  .card-grid { grid-template-columns:1fr; }
  .section-head { align-items:start; flex-direction:column; }
}
@media (max-width: 680px) {
  .shell { width:min(calc(100% - 28px),var(--max)); }
  .menu-button { display:block; }
  .nav-links { display:none; position:absolute; left:14px; right:14px; top:68px; flex-direction:column; align-items:stretch; background:#111318; border:1px solid var(--line); border-radius:14px; padding:8px; box-shadow:0 18px 50px rgba(0,0,0,.4); }
  .nav-links.open { display:flex; }
  .repo-row { grid-template-columns:1fr; gap:2px; }
  .page-hero, .section { padding:64px 0; }
  .hero { padding:68px 0 60px; }
}
