/* Jungle Will Pound You: dark forest, warm cartoon accents */
@font-face { font-family: "Lilita One"; src: url("../fonts/lilita-one.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Nunito"; src: url("../fonts/nunito.woff2") format("woff2"); font-weight: 200 1000; font-display: swap; }

:root {
  --bg: #0e1c14;
  --bg-2: #122419;
  --panel: #172d1f;
  --panel-2: #1e3a27;
  --line: #2d4b35;
  --text: #f4edd9;
  --muted: #b5c4aa;
  --leaf: #7cc35a;
  --leaf-2: #5aa03e;
  --gold: #ffc94a;
  --gold-2: #f2a93b;
  --red: #e8553d;
  --bark: #8a5a3b;
  --bark-2: #6d4429;
  --ink: #0b170f;
  --radius: 18px;
  --display: "Lilita One", "Arial Rounded MT Bold", "Trebuchet MS", system-ui, sans-serif;
  --body: "Nunito", ui-rounded, system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: ui-monospace, "Cascadia Mono", Consolas, Menlo, monospace;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.65 var(--body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--gold); text-underline-offset: 3px; }
a:hover { color: #ffe08a; }
button { font: inherit; color: inherit; }
code, kbd { font-family: var(--mono); }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--gold); color: var(--ink); }

.wrap { width: min(1160px, 100% - 32px); margin-inline: auto; }
.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--gold); color: var(--ink); padding: 8px 14px; border-radius: 10px; font-weight: 800; }
.skip:focus { top: 12px; }
.muted { color: var(--muted); }
.small { font-size: 14px; }

/* ---------- type ---------- */
.kicker {
  display: inline-block;
  margin: 0 0 10px;
  padding: 4px 12px;
  border-radius: 999px;
  background: rgba(124, 195, 90, .14);
  color: var(--leaf);
  font-weight: 900;
  font-size: 13px;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.h2, .h3, .title, .feature h3, .sign h3, .steps h3 { font-family: var(--display); font-weight: 400; letter-spacing: .01em; }
.h2 {
  margin: 0 0 28px;
  font-size: clamp(32px, 5vw, 52px);
  line-height: 1.04;
  text-shadow: 0 4px 0 var(--ink);
}
.h3 { margin: 0 0 14px; font-size: 24px; line-height: 1.15; display: flex; align-items: center; gap: 10px; }
.lead-p { font-size: 19px; color: #e3dcc6; margin: 0 0 16px; max-width: 36em; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 13px 24px;
  border: 3px solid var(--ink);
  border-radius: 16px;
  background: var(--gold);
  color: var(--ink);
  font: 400 20px/1 var(--display);
  letter-spacing: .02em;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 6px 0 var(--ink);
  transition: transform .12s ease, box-shadow .12s ease, background .15s;
}
.btn:hover { color: var(--ink); background: #ffd56e; transform: translateY(-2px); box-shadow: 0 8px 0 var(--ink); }
.btn:active { transform: translateY(4px); box-shadow: 0 2px 0 var(--ink); }
.btn[disabled], .btn.is-disabled { opacity: .6; cursor: not-allowed; transform: none; }
.btn-big { padding: 18px 30px; font-size: clamp(22px, 3.2vw, 28px); border-radius: 20px; box-shadow: 0 8px 0 var(--ink), 0 18px 40px -10px rgba(255, 201, 74, .55); }
.btn-big:hover { box-shadow: 0 10px 0 var(--ink), 0 22px 50px -10px rgba(255, 201, 74, .7); }
.btn-big:active { box-shadow: 0 3px 0 var(--ink); }

/* ---------- top bar ---------- */
.topbar {
  position: fixed; inset: 0 0 auto; z-index: 40;
  transition: background .25s, box-shadow .25s;
}
.topbar.is-solid { background: rgba(14, 28, 20, .92); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); box-shadow: 0 1px 0 var(--line); }
.topbar-in { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; margin: 0; color: var(--text); text-decoration: none; font: 400 21px/1 var(--display); text-shadow: 0 2px 0 var(--ink); }
.brand:hover { color: var(--text); }
.brand svg { flex: none; filter: drop-shadow(0 2px 0 rgba(0,0,0,.4)); }
.nav { display: flex; align-items: center; gap: 2px; }
.nav a { color: var(--text); text-decoration: none; font-weight: 800; font-size: 15px; padding: 8px 12px; border-radius: 10px; text-shadow: 0 1px 2px rgba(0,0,0,.6); }
.nav a:hover { background: rgba(255, 255, 255, .08); color: var(--text); }
.nav .nav-cta { background: var(--gold); color: var(--ink); text-shadow: none; border: 2px solid var(--ink); box-shadow: 0 3px 0 var(--ink); margin-left: 6px; }
.nav .nav-cta:hover { background: #ffd56e; color: var(--ink); }

/* ---------- hero ---------- */
.hero {
  position: relative;
  min-height: min(92vh, 900px);
  display: flex; align-items: flex-end;
  padding: 120px 0 130px;
  isolation: isolate;
  overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; z-index: -2; }
.hero-shade {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(14, 28, 20, .75) 0%, rgba(14, 28, 20, 0) 22%),
    linear-gradient(90deg, rgba(10, 22, 15, .92) 0%, rgba(10, 22, 15, .6) 45%, rgba(10, 22, 15, .05) 75%),
    linear-gradient(0deg, var(--bg) 0%, rgba(14, 28, 20, 0) 45%);
}
.hero-kicker { margin: 0 0 8px; font-weight: 900; font-size: 15px; letter-spacing: .14em; text-transform: uppercase; color: var(--leaf); text-shadow: 0 2px 6px rgba(0,0,0,.6); }
.title { margin: 0; line-height: .9; font-size: clamp(54px, 10vw, 118px); }
.title span { display: block; }
.title .t1 { color: var(--text); text-shadow: 0 6px 0 var(--ink), 0 10px 30px rgba(0,0,0,.5); }
.title .t2 {
  color: var(--gold);
  -webkit-text-stroke: 3px var(--ink);
  paint-order: stroke fill;
  text-shadow: 0 7px 0 var(--ink), 0 10px 30px rgba(0,0,0,.5);
  transform: rotate(-2.5deg);
  transform-origin: left center;
  margin-top: .06em;
}
.tagline {
  display: inline-block;
  margin: 22px 0 30px;
  padding: 6px 16px 8px;
  background: var(--red);
  color: #fff;
  border: 3px solid var(--ink);
  border-radius: 12px;
  box-shadow: 0 4px 0 var(--ink);
  font: 400 clamp(20px, 2.6vw, 26px)/1.2 var(--display);
  transform: rotate(1.5deg);
}
.dl { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
.mirror { display: inline-flex; align-items: center; gap: 7px; color: var(--text); font-weight: 800; font-size: 15px; text-shadow: 0 1px 3px rgba(0,0,0,.8); }
.mirror:hover { color: var(--gold); }
.dl-facts { margin: 0; display: flex; flex-wrap: wrap; gap: 4px 8px; color: var(--muted); font-weight: 700; font-size: 14px; text-shadow: 0 1px 3px rgba(0,0,0,.8); }
.dl-facts .dot { opacity: .6; }
.hero-rating { display: inline-flex; align-items: center; gap: 8px; margin-top: 22px; color: var(--text); text-decoration: none; font-weight: 800; font-size: 15px; background: rgba(11, 23, 15, .65); padding: 6px 14px; border-radius: 999px; }
.hero-grass {
  position: absolute; left: 0; right: 0; bottom: -1px; height: 46px; z-index: 0;
  background: var(--bg);
  -webkit-mask: radial-gradient(28px 26px at 28px 0, transparent 98%, #000) 0 0 / 56px 100% repeat-x;
          mask: radial-gradient(28px 26px at 28px 0, transparent 98%, #000) 0 0 / 56px 100% repeat-x;
}

/* ---------- sections ---------- */
.section { padding: 84px 0; position: relative; }
.media { padding-top: 40px; }

.stars { display: inline-flex; gap: 2px; vertical-align: -3px; }
.stars span { color: rgba(244, 237, 217, .22); display: inline-flex; }
.stars span.on { color: var(--gold); }

/* trailer */
.trailer { margin-bottom: 22px; border-radius: var(--radius); overflow: hidden; border: 3px solid var(--ink); box-shadow: 0 8px 0 var(--ink); aspect-ratio: 16 / 9; background: #000; position: relative; }
.trailer iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.trailer-btn { position: absolute; inset: 0; width: 100%; padding: 0; border: 0; background: #000; cursor: pointer; }
.trailer-btn img { width: 100%; height: 100%; object-fit: cover; filter: brightness(.6); }
.trailer-play { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 92px; height: 92px; display: grid; place-items: center; border-radius: 50%; background: var(--red); color: #fff; border: 4px solid var(--ink); box-shadow: 0 6px 0 var(--ink); transition: transform .15s; }
.trailer-play svg { margin-left: 5px; }
.trailer-btn:hover .trailer-play { transform: translate(-50%, -50%) scale(1.08); }
.trailer-note { position: absolute; left: 0; right: 0; bottom: 14px; text-align: center; font-weight: 800; font-size: 14px; color: rgba(255,255,255,.85); }

/* gallery */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.shot {
  position: relative; display: block; padding: 0; margin: 0;
  border: 3px solid var(--ink); border-radius: 14px; overflow: hidden;
  background: var(--panel); cursor: zoom-in;
  aspect-ratio: 16 / 9;
  box-shadow: 0 5px 0 var(--ink);
  transition: transform .15s, box-shadow .15s;
}
.shot img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.shot:hover { transform: translateY(-3px) rotate(-.4deg); box-shadow: 0 8px 0 var(--ink); }
.shot:hover img { transform: scale(1.04); }
.shot-wide { grid-column: span 2; grid-row: span 2; }

/* lightbox */
.lightbox { width: 100vw; height: 100vh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: transparent; color: var(--text); }
.lightbox::backdrop { background: rgba(5, 12, 8, .92); }
.lightbox[open] { display: grid; place-items: center; }
.lightbox figure { margin: 0; padding: 60px 70px 50px; max-width: 100%; max-height: 100%; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.lightbox img { max-width: min(1600px, 100%); max-height: calc(100vh - 150px); width: auto; border-radius: 12px; border: 3px solid var(--ink); }
.lightbox figcaption { max-width: 60em; text-align: center; color: var(--muted); font-size: 15px; }
.lb-btn { position: absolute; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; border: 3px solid var(--ink); background: var(--gold); color: var(--ink); cursor: pointer; box-shadow: 0 4px 0 var(--ink); }
.lb-btn:hover { background: #ffd56e; }
.lb-prev { left: 12px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 12px; top: 50%; transform: translateY(-50%); }
.lb-close { right: 14px; top: 14px; }
.lb-count { position: absolute; left: 18px; top: 18px; margin: 0; font-weight: 800; color: var(--muted); }

/* story */
.story-in { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
.story-pic { margin: 0; transform: rotate(2deg); }
.story-pic img { border-radius: 16px; border: 4px solid var(--ink); box-shadow: 0 10px 0 var(--ink), 0 30px 60px -20px rgba(0,0,0,.6); }
.story-pic figcaption { margin-top: 18px; text-align: center; font: 400 18px/1.2 var(--display); color: var(--gold); transform: rotate(-2deg); }

/* features */
.features { background: linear-gradient(180deg, var(--bg) 0, var(--bg-2) 20%, var(--bg-2) 80%, var(--bg) 100%); }
.feature-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feature {
  padding: 26px 24px;
  background: var(--panel);
  border: 3px solid var(--ink);
  border-radius: 22px 22px 22px 8px;
  box-shadow: 0 6px 0 var(--ink);
}
.feature:nth-child(odd) { transform: rotate(-.6deg); }
.feature:nth-child(even) { transform: rotate(.6deg); }
.feature-ico { display: inline-grid; place-items: center; width: 58px; height: 58px; margin-bottom: 14px; border-radius: 18px 18px 18px 6px; background: var(--leaf); color: var(--ink); border: 3px solid var(--ink); }
.feature:nth-child(3n+2) .feature-ico { background: var(--gold); }
.feature:nth-child(3n) .feature-ico { background: var(--red); color: #fff; }
.feature h3 { margin: 0 0 6px; font-size: 23px; }
.feature p { margin: 0; color: var(--muted); }

/* chapters: wooden signposts along a trail */
.trail { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 34px 26px; position: relative; counter-reset: ch; }
.trail::before {
  content: ""; position: absolute; left: 4%; right: 4%; top: 50%; height: 0;
  border-top: 5px dashed rgba(181, 196, 170, .25);
  z-index: 0;
}
.sign {
  position: relative; z-index: 1;
  padding: 22px 22px 20px;
  background:
    repeating-linear-gradient(0deg, transparent 0 22px, rgba(0,0,0,.12) 22px 24px),
    linear-gradient(180deg, var(--bark), var(--bark-2));
  border: 3px solid var(--ink);
  border-radius: 14px;
  box-shadow: 0 6px 0 var(--ink);
  color: #fff6e3;
}
.sign:nth-child(odd) { transform: rotate(-1.2deg); }
.sign:nth-child(even) { transform: rotate(1deg); }
.sign::before, .sign::after { content: ""; position: absolute; top: 10px; width: 9px; height: 9px; border-radius: 50%; background: #3b2516; box-shadow: inset 0 1px 0 rgba(255,255,255,.25); }
.sign::before { left: 10px; }
.sign::after { right: 10px; }
.sign-num { display: inline-block; margin-bottom: 6px; padding: 2px 10px; border-radius: 8px; background: var(--gold); color: var(--ink); font-weight: 900; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; }
.sign h3 { margin: 0 0 4px; font-size: 25px; text-shadow: 0 3px 0 rgba(0,0,0,.35); }
.sign p { margin: 0; color: #f0dcc0; }
.sign:last-child { background: repeating-linear-gradient(0deg, transparent 0 22px, rgba(0,0,0,.08) 22px 24px), linear-gradient(180deg, #e9f1f5, #b9cbd6); color: var(--ink); }
.sign:last-child p { color: #2a3b31; }
.sign:last-child h3 { text-shadow: none; }

/* co-op */
.coop-in { display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: start; }
.ticks { list-style: none; padding: 0; margin: 0 0 26px; display: grid; gap: 8px; }
.ticks li { position: relative; padding-left: 34px; font-weight: 800; }
.ticks li::before { content: ""; position: absolute; left: 0; top: 3px; width: 22px; height: 22px; border-radius: 7px; background: var(--leaf); border: 2px solid var(--ink); }
.ticks li::after { content: ""; position: absolute; left: 7px; top: 7px; width: 6px; height: 11px; border: solid var(--ink); border-width: 0 3px 3px 0; transform: rotate(45deg); }
.crew-label { margin: 0 0 10px; font-weight: 900; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.crew { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.crew li { display: flex; align-items: center; gap: 10px; padding: 8px 16px 8px 8px; background: var(--panel); border: 2px solid var(--line); border-radius: 999px; }
.crew li > span:last-child { display: flex; flex-direction: column; line-height: 1.2; }
.crew .muted { font-size: 13px; }
.avatar { display: inline-grid; place-items: center; flex: none; width: 38px; height: 38px; border-radius: 50%; background: var(--gold); color: var(--ink); border: 2px solid var(--ink); font: 400 19px/1 var(--display); }
.crew li:nth-child(2) .avatar { background: var(--leaf); }
.crew li:nth-child(3) .avatar { background: var(--red); color: #fff; }
.keys-card { padding: 28px; background: var(--panel); border: 3px solid var(--ink); border-radius: var(--radius); box-shadow: 0 6px 0 var(--ink); }
.keys { margin: 0 0 26px; display: grid; gap: 10px; }
.keys:last-child { margin-bottom: 0; }
.keys div { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding-bottom: 10px; border-bottom: 1px dashed var(--line); }
.keys div:last-child { border-bottom: 0; padding-bottom: 0; }
.keys dt { display: flex; gap: 5px; flex-wrap: wrap; }
.keys dd { margin: 0; color: var(--muted); font-weight: 700; text-align: right; }
kbd {
  display: inline-block; min-width: 34px; padding: 5px 9px;
  font-size: 14px; font-weight: 700; text-align: center;
  color: var(--ink); background: #f4edd9;
  border: 2px solid var(--ink); border-bottom-width: 4px; border-radius: 8px;
}

/* install */
.install { background: linear-gradient(180deg, var(--bg) 0, var(--bg-2) 25%, var(--bg-2) 75%, var(--bg) 100%); }
.install-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 36px; align-items: start; }
.steps { list-style: none; margin: 0; padding: 0; counter-reset: step; display: grid; gap: 18px; }
.steps li { position: relative; padding: 20px 22px 20px 82px; background: var(--panel); border: 3px solid var(--ink); border-radius: var(--radius); box-shadow: 0 5px 0 var(--ink); counter-increment: step; }
.steps li::before { content: counter(step); position: absolute; left: 18px; top: 18px; width: 46px; height: 46px; display: grid; place-items: center; border-radius: 14px; background: var(--leaf); color: var(--ink); border: 3px solid var(--ink); font: 400 26px/1 var(--display); }
.steps li:nth-child(3)::before { background: var(--gold); }
.steps h3 { margin: 0 0 4px; font-size: 22px; }
.steps p { margin: 0; color: #dcd5bf; }
.steps code { background: rgba(0,0,0,.3); padding: 1px 6px; border-radius: 6px; font-size: .9em; word-break: break-all; }
.side-stack { display: grid; gap: 18px; }
.verify, .reqs { padding: 24px; background: var(--panel); border: 2px solid var(--line); border-radius: var(--radius); }
.verify p { margin: 0 0 10px; color: #dcd5bf; font-size: 16px; }
.verify .h3 svg { color: var(--leaf); }
.code-row { display: flex; align-items: stretch; gap: 8px; margin-bottom: 14px; }
.code-row code { flex: 1; min-width: 0; padding: 10px 12px; background: var(--ink); color: #c9f0b0; border-radius: 10px; font-size: 14px; overflow-wrap: anywhere; }
.code-row code.hash { letter-spacing: .02em; }
.copy { flex: none; display: inline-flex; align-items: center; gap: 6px; padding: 0 14px; border-radius: 10px; border: 2px solid var(--ink); background: var(--gold); color: var(--ink); font-weight: 900; font-size: 14px; cursor: pointer; box-shadow: 0 3px 0 var(--ink); }
.copy:active { transform: translateY(2px); box-shadow: 0 1px 0 var(--ink); }
.copy.is-done { background: var(--leaf); }
.reqs dl { margin: 0; display: grid; gap: 8px; }
.reqs div { display: grid; grid-template-columns: 110px 1fr; gap: 12px; }
.reqs dt { color: var(--muted); font-weight: 700; }
.reqs dd { margin: 0; font-weight: 800; }
.dl-again { margin-top: 48px; display: flex; justify-content: center; }
.dl-again .dl { align-items: center; text-align: center; }
.dl-again .dl-facts { justify-content: center; }

/* reviews */
.reviews-grid { display: grid; grid-template-columns: 400px 1fr; gap: 36px; align-items: start; }
.reviews-side { display: grid; gap: 26px; }
.score-card { padding: 24px; background: var(--panel); border: 3px solid var(--ink); border-radius: var(--radius); box-shadow: 0 6px 0 var(--ink); }
.score-card .muted { margin: 6px 0 0; }
.score { margin: 0 0 4px; display: flex; align-items: baseline; gap: 8px; }
.score-num { font: 400 64px/1 var(--display); color: var(--gold); text-shadow: 0 4px 0 var(--ink); }
.score-of { font: 400 24px/1 var(--display); color: var(--muted); }
.bars { list-style: none; margin: 16px 0 0; padding: 0; display: grid; gap: 6px; }
.bars li { display: grid; grid-template-columns: 12px 14px 1fr 28px; align-items: center; gap: 8px; font-weight: 800; font-size: 14px; }
.bars li svg { color: var(--gold); }
.bar { height: 10px; border-radius: 99px; background: rgba(255,255,255,.08); overflow: hidden; }
.bar-fill { display: block; height: 100%; border-radius: 99px; background: var(--gold); }
.bar-n { color: var(--muted); text-align: right; }
.w-0{width:0}.w-5{width:5%}.w-10{width:10%}.w-15{width:15%}.w-20{width:20%}.w-25{width:25%}.w-30{width:30%}.w-35{width:35%}.w-40{width:40%}.w-45{width:45%}.w-50{width:50%}.w-55{width:55%}.w-60{width:60%}.w-65{width:65%}.w-70{width:70%}.w-75{width:75%}.w-80{width:80%}.w-85{width:85%}.w-90{width:90%}.w-95{width:95%}.w-100{width:100%}

.reviews-list { display: grid; gap: 16px; }
.review { padding: 20px 22px; background: var(--panel); border: 2px solid var(--line); border-radius: var(--radius); }
.review.is-featured { border: 3px solid var(--gold); box-shadow: 0 5px 0 var(--ink); }
.review header { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.review header > div { flex: 1; min-width: 0; }
.review-name { margin: 0; font-weight: 900; font-size: 17px; overflow-wrap: anywhere; }
.review-meta { margin: 0; display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: 14px; flex-wrap: wrap; }
.review-body { margin: 0; color: #e3dcc6; overflow-wrap: anywhere; }
.pin { padding: 3px 10px; border-radius: 999px; background: var(--gold); color: var(--ink); font-weight: 900; font-size: 12px; letter-spacing: .06em; text-transform: uppercase; }
.no-reviews { padding: 48px 24px; text-align: center; border: 3px dashed var(--line); border-radius: var(--radius); color: var(--muted); font: 400 22px/1.3 var(--display); }
.no-reviews p { margin: 0; }
.pager { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 6px; font-weight: 800; }
.pager a { text-decoration: none; padding: 8px 14px; border-radius: 10px; border: 2px solid var(--line); }
.pager a:hover { border-color: var(--gold); }

/* form */
.form-card { padding: 24px; background: var(--panel); border: 3px solid var(--ink); border-radius: var(--radius); box-shadow: 0 6px 0 var(--ink); }
.field { margin: 0 0 18px; padding: 0; border: 0; min-width: 0; }
.field label, .field legend { display: block; margin-bottom: 6px; padding: 0; font-weight: 900; font-size: 15px; }
.hint { display: block; font-weight: 600; font-size: 13px; color: var(--muted); }
.req { font-weight: 700; font-size: 12px; color: var(--gold); margin-left: 6px; text-transform: uppercase; letter-spacing: .06em; }
.field input[type=text], .field input[type=email], .field input[type=password], .field textarea {
  width: 100%; padding: 12px 14px;
  background: var(--ink); color: var(--text);
  border: 2px solid var(--line); border-radius: 12px;
  font: inherit; font-size: 16px;
}
.field textarea { resize: vertical; min-height: 120px; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(255, 201, 74, .25); }
.has-err input, .has-err textarea { border-color: var(--red); }
.field-err, .form-err { margin: 6px 0 0; color: #ff9b86; font-weight: 800; font-size: 14px; }
.form-err { margin: 0 0 16px; padding: 10px 14px; background: rgba(232, 85, 61, .15); border: 2px solid var(--red); border-radius: 12px; color: #ffc2b5; }
.counter { margin: 4px 0 0; font-size: 13px; color: var(--muted); text-align: right; min-height: 1.2em; }
.counter.is-over { color: #ff9b86; font-weight: 800; }
.fine { margin: 12px 0 0; font-size: 13px; color: var(--muted); }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

.rating-input { display: inline-flex; flex-direction: row-reverse; gap: 2px; }
.rating-input input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.rating-input label { margin: 0; cursor: pointer; color: rgba(244, 237, 217, .2); transition: transform .1s, color .1s; }
.rating-input label svg { filter: drop-shadow(0 2px 0 var(--ink)); }
.rating-input input:checked ~ label,
.rating-input label:hover, .rating-input label:hover ~ label { color: var(--gold); }
.rating-input label:hover { transform: scale(1.12) rotate(-6deg); }
.rating-input input:focus-visible + label { outline: 3px solid var(--gold); outline-offset: 2px; border-radius: 8px; }

.thanks { text-align: center; }
.thanks-big { margin: 0; font: 400 40px/1 var(--display); color: var(--leaf); text-shadow: 0 3px 0 var(--ink); }
.thanks p:last-child { margin: 8px 0 0; font-weight: 700; }

/* support */
.coffee {
  display: grid; grid-template-columns: auto 1fr auto; gap: 28px; align-items: center;
  padding: 34px 36px;
  background: linear-gradient(135deg, #ffcf5c, #f2a93b);
  color: var(--ink);
  border: 4px solid var(--ink);
  border-radius: 28px;
  box-shadow: 0 10px 0 var(--ink);
  transform: rotate(-.6deg);
}
.coffee .h2 { margin: 0 0 6px; font-size: clamp(26px, 3.6vw, 38px); color: var(--ink); text-shadow: none; }
.coffee p { margin: 0; font-weight: 700; color: #3a2a12; }
.coffee-ico { display: grid; place-items: center; width: 84px; height: 84px; border-radius: 26px; background: #fff3d6; border: 3px solid var(--ink); }
.btn-coffee { background: var(--ink); color: var(--gold); border-color: var(--ink); box-shadow: 0 6px 0 #3a2a12; white-space: nowrap; }
.btn-coffee:hover { background: #1b2e21; color: #ffe08a; box-shadow: 0 8px 0 #3a2a12; }

/* footer */
.foot { padding: 64px 0 28px; background: #09140d; border-top: 3px solid var(--ink); }
.foot-in { display: grid; grid-template-columns: 1.2fr 1.4fr 1fr; gap: 36px; }
.foot-brand .muted { margin: 10px 0 0; }
.foot-h { margin: 0 0 12px; font-size: 14px; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.foot-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: 15px; }
.foot-base { margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--line); font-size: 14px; }
.foot-base p { margin: 0; }

/* 404 */
.lost { min-height: 100vh; display: grid; place-content: center; justify-items: center; gap: 12px; text-align: center; padding: 24px; }
.lost .title { font-size: 120px; color: var(--gold); -webkit-text-stroke: 3px var(--ink); paint-order: stroke fill; text-shadow: 0 7px 0 var(--ink); }
.lost p { font-size: 19px; margin: 0 0 12px; }

/* ---------- admin ---------- */
.admin { background: var(--bg-2); }
.admin-login { min-height: 100vh; display: grid; place-items: center; padding: 24px 16px; }
.admin-login .form-card { width: min(380px, 100%); }
.admin-login .brand { margin-bottom: 20px; }
.admin-login .btn { width: 100%; }
.admin-wrap { padding: 24px 0 60px; }
.admin-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 24px; }
.mini { padding: 7px 14px; border-radius: 10px; border: 2px solid var(--line); background: var(--panel-2); color: var(--text); font-weight: 800; font-size: 14px; cursor: pointer; }
.mini:hover { border-color: var(--gold); }
.mini.ok { background: var(--leaf); color: var(--ink); border-color: var(--ink); }
.mini.danger { color: #ffb4a5; }
.mini.danger:hover { border-color: var(--red); }
.flash { padding: 10px 16px; border-radius: 12px; background: rgba(124, 195, 90, .15); border: 2px solid var(--leaf); font-weight: 800; }
.stat-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-bottom: 18px; }
.stat { padding: 16px 18px; background: var(--panel); border: 2px solid var(--line); border-radius: 14px; display: flex; flex-direction: column; }
.stat strong { font: 400 34px/1 var(--display); }
.stat span { color: var(--muted); font-size: 14px; font-weight: 700; }
.stat-hot { border-color: var(--gold); }
.stat-hot strong { color: var(--gold); }
.days { margin-bottom: 22px; }
.days summary { cursor: pointer; font-weight: 800; color: var(--muted); }
.days table { margin-top: 10px; border-collapse: collapse; }
.days td, .days th { padding: 4px 18px 4px 0; text-align: left; font-size: 14px; }
.tabs { display: flex; gap: 6px; margin-bottom: 16px; flex-wrap: wrap; }
.tabs a { padding: 9px 16px; border-radius: 12px; text-decoration: none; color: var(--text); font-weight: 800; background: var(--panel); border: 2px solid var(--line); }
.tabs a.is-on { background: var(--gold); color: var(--ink); border-color: var(--ink); }
.tabs .count { opacity: .7; margin-left: 4px; }
.admin-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.admin-review { padding: 18px 20px; background: var(--panel); border: 2px solid var(--line); border-radius: 14px; }
.admin-review.is-featured { border-color: var(--gold); }
.ar-head { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin-bottom: 8px; }
.ar-stars { color: var(--gold); letter-spacing: 2px; }
.ar-body { margin: 0 0 10px; overflow-wrap: anywhere; }
.ar-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.ar-actions form { margin: 0; }
.empty { padding: 30px 0; }

/* ---------- responsive ---------- */
@media (max-width: 980px) {
  .nav a:not(.nav-cta) { display: none; }
  .story-in, .coop-in, .install-grid, .reviews-grid { grid-template-columns: 1fr; }
  .feature-grid, .trail { grid-template-columns: repeat(2, 1fr); }
  .trail::before { display: none; }
  .foot-in { grid-template-columns: 1fr 1fr; }
  .foot-brand { grid-column: 1 / -1; }
  .story-pic { transform: rotate(1deg); }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .section { padding: 64px 0; }
  .brand span { font-size: 17px; }
  .topbar-in { height: 60px; }
  .hero { min-height: 0; padding: 100px 0 110px; }
  .hero-shade { background: linear-gradient(180deg, rgba(14,28,20,.6) 0%, rgba(14,28,20,.45) 40%, rgba(14,28,20,.92) 75%, var(--bg) 100%); }
  .title .t2 { -webkit-text-stroke-width: 2px; }
  .btn-big { width: 100%; }
  .dl { align-items: stretch; }
  .gallery { grid-template-columns: 1fr 1fr; gap: 10px; }
  .feature-grid, .trail { grid-template-columns: 1fr; }
  .trail { padding-left: 22px; gap: 18px; }
  .trail::before { display: block; left: 6px; right: auto; top: 10px; bottom: 10px; height: auto; border-top: 0; border-left: 5px dashed rgba(181, 196, 170, .25); }
  .steps li { padding: 18px 18px 18px 74px; }
  .steps li::before { left: 14px; top: 16px; width: 42px; height: 42px; font-size: 22px; }
  .coffee { grid-template-columns: 1fr; text-align: center; justify-items: center; padding: 28px 22px; gap: 18px; }
  .foot-in { grid-template-columns: 1fr; }
  .stat-row { grid-template-columns: 1fr 1fr; }
  .lightbox figure { padding: 70px 8px 90px; }
  .lb-prev, .lb-next { top: auto; bottom: 18px; transform: none; }
  .lb-prev { left: calc(50% - 64px); }
  .lb-next { right: calc(50% - 64px); }
  .reqs div { grid-template-columns: 90px 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}
