/* DigiKerr Studios — shared styles.
   Two looks: .studio (the home page, DigiKerr blue) and .game (Ores & Odds, the game's own UI colours). */

@font-face {
  font-family: "TroubleSide";
  src: url("/assets/fonts/troubleside.ttf") format("truetype");
  font-display: swap;
}

:root {
  --bg: #0b0f1a;
  --panel: #131a2b;
  --raised: #1b2438;
  --line: #2a3550;
  --ink: #eef2fb;
  --muted: #a4afc6;
  --accent: #2ec5f5;
  --accent-2: #1f73f0;
  --on-accent: #04111f;
  --heading-font: "Fredoka", "Nunito", system-ui, sans-serif;
  --body-font: "Nunito", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --radius: 14px;
  --gutter: 16px;
  --max: 1120px;

  /* Colours from the game (UIKit.cs) — used on both pages wherever Ores & Odds appears */
  --ore-paper: #16120f;
  --ore-panel: #251e18;
  --ore-raised: #322920;
  --ore-ink: #f2e8d6;
  --ore-muted: #c9b89c;
  --ore-gold: #e8a840;
  --ore-edge: #b88f47;
  --ore-coin: #ffd159;
  --ore-wick: #ffcc6b;
  --ore-jesper: #c794ff;
  --ore-portal: #7333b3;
  --discord: #5865f2;
}

.game {
  --bg: var(--ore-paper);
  --panel: var(--ore-panel);
  --raised: var(--ore-raised);
  --line: #4a3b2b;
  --ink: var(--ore-ink);
  --muted: var(--ore-muted);
  --accent: var(--ore-gold);
  --accent-2: var(--ore-coin);
  --on-accent: #1d1206;
  --heading-font: "TroubleSide", "Fredoka", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--body-font);
  font-size: 1.0625rem;
  line-height: 1.6;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); }
a:hover { color: var(--accent-2); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

h1, h2, h3 {
  font-family: var(--heading-font);
  line-height: 1.15;
  margin: 0 0 0.5em;
  font-weight: 600;
  text-wrap: balance;
}
.game h1, .game h2, .game h3 { font-weight: 400; letter-spacing: 0.02em; }
h2 { font-size: clamp(1.9rem, 4.5vw, 2.8rem); }
h3 { font-size: 1.35rem; }
p { margin: 0 0 1em; }

.wrap { width: min(var(--max), 100% - 2 * var(--gutter)); margin-inline: auto; }
.section { padding: clamp(56px, 9vw, 104px) 0; }
.eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.6rem;
}
.lead { font-size: clamp(1.1rem, 2.2vw, 1.3rem); color: var(--muted); max-width: 40rem; }
.center { text-align: center; }
.center .lead { margin-inline: auto; }

.skip {
  position: absolute; left: -9999px; top: 8px;
  background: var(--accent); color: var(--on-accent); padding: 8px 14px; border-radius: 8px; z-index: 100;
}
.skip:focus { left: 8px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid color-mix(in srgb, var(--line) 70%, transparent);
}
.site-header .wrap { display: flex; align-items: center; gap: 20px; min-height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand img { height: 34px; width: auto; }
.brand-word {
  font-family: var(--body-font); font-weight: 800; font-size: .72rem; letter-spacing: .3em; text-transform: uppercase;
  color: var(--ink); line-height: 1; padding: 5px 0 5px 10px; border-left: 1px solid color-mix(in srgb, var(--ink) 30%, transparent);
}
.nav { display: flex; align-items: center; gap: 22px; margin-left: auto; }
.nav a { color: var(--ink); text-decoration: none; font-weight: 700; font-size: 0.95rem; white-space: nowrap; }
.nav a:hover { color: var(--accent); }
[id] { scroll-margin-top: 84px; }
/* Phones: logo and Discord on top, the page links in their own row underneath. */
@media (max-width: 640px) {
  .site-header .wrap { flex-wrap: wrap; gap: 0 12px; min-height: 0; padding-top: 10px; }
  .site-header .btn-discord { margin-left: auto; }
  .nav { order: 3; width: 100%; margin-left: 0; flex-wrap: wrap; gap: 4px 18px; padding: 8px 0 10px; }
  .nav a { font-size: 0.92rem; }
  .brand img { height: 28px; }
  [id] { scroll-margin-top: 112px; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 10px 22px;
  border-radius: 999px;
  font-family: var(--body-font); font-weight: 800; font-size: 1rem;
  text-decoration: none; line-height: 1.2;
  border: 2px solid transparent;
  transition: transform .15s ease, filter .15s ease, background-color .15s ease;
}
.btn:hover { transform: translateY(-2px); filter: brightness(1.08); }
.btn-primary { background: linear-gradient(135deg, var(--accent), var(--accent-2)); color: var(--on-accent); }
.btn-primary:hover { color: var(--on-accent); }
.btn-discord { background: var(--discord); color: #fff; }
.btn-discord:hover { color: #fff; }
.btn-ghost { border-color: color-mix(in srgb, var(--ink) 35%, transparent); color: var(--ink); background: rgba(0,0,0,.25); }
.btn-ghost:hover { color: var(--ink); border-color: var(--ink); }
.btn-small { min-height: 38px; padding: 6px 16px; font-size: 0.9rem; }

/* A button for a link that does not exist yet. Swap for a real <a class="btn"> on the day. */
.btn-soon {
  border: 2px dashed color-mix(in srgb, var(--ink) 30%, transparent);
  color: var(--muted); background: rgba(0,0,0,.3); cursor: default;
}
.btn-soon:hover { transform: none; filter: none; }
.btn-soon small {
  font-size: 0.7rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase;
  background: color-mix(in srgb, var(--ink) 14%, transparent); color: var(--ink);
  padding: 2px 8px; border-radius: 999px;
}
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.center .btn-row { justify-content: center; }

/* ---------- Game hero ---------- */
.hero {
  position: relative; isolation: isolate;
  min-height: min(92vh, 860px);
  display: grid; align-items: center;
  padding: 72px 0 96px;
}
.hero-art {
  position: absolute; inset: 0; z-index: -2;
  background: url("/assets/img/backdrop-quarry-night.jpg") center 60% / cover no-repeat;
  background-image: image-set(url("/assets/img/backdrop-quarry-night.webp") type("image/webp"), url("/assets/img/backdrop-quarry-night.jpg") type("image/jpeg"));
}
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(14,10,8,.92) 0%, rgba(14,10,8,.7) 42%, rgba(14,10,8,.15) 75%),
    linear-gradient(0deg, var(--bg) 0%, transparent 28%);
}
.hero .presents { color: var(--ink); text-shadow: 0 1px 8px rgba(0,0,0,.8); margin-bottom: 4px; }
.hero-logo { width: min(460px, 78vw); margin: 0 0 18px -8px; filter: drop-shadow(0 10px 30px rgba(0,0,0,.55)); }
.hero h1 { font-size: clamp(1.7rem, 4.2vw, 2.7rem); color: var(--ore-wick); margin-bottom: .35em; text-shadow: 0 2px 12px rgba(0,0,0,.6); }
.hero .lead { color: var(--ink); text-shadow: 0 1px 8px rgba(0,0,0,.8); margin-bottom: 1.6rem; }
.hero .status { margin-top: 18px; font-size: .95rem; color: var(--muted); }
.hero .status strong { color: var(--ink); }
@media (max-width: 760px) {
  .hero { min-height: 0; padding: 48px 0 56px; }
  .hero::after { background: linear-gradient(0deg, var(--bg) 4%, rgba(14,10,8,.78) 45%, rgba(14,10,8,.55) 100%); }
  .hero-art { background-position: 70% center; }
}

.float { animation: float 6s ease-in-out infinite; }
@keyframes float { 50% { transform: translateY(-10px) rotate(3deg); } }
.hero-gem { position: absolute; right: 8%; top: 18%; width: 90px; opacity: .95; filter: drop-shadow(0 0 24px rgba(160, 90, 255, .6)); }
@media (max-width: 760px) { .hero-gem { display: none; } }

/* ---------- Story ---------- */
.story-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin-top: 36px; }
@media (max-width: 760px) { .story-grid { grid-template-columns: 1fr; } }
.character {
  position: relative; overflow: hidden;
  display: grid; grid-template-columns: 170px 1fr; gap: 18px; align-items: end;
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px 24px 0 8px;
}
.character picture { align-self: end; }
.character img { width: 170px; }
.character .text { padding-bottom: 24px; }
.character h3 { font-size: 1.7rem; margin-bottom: .1em; }
.character .role { font-weight: 800; font-size: .85rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: .7em; }
.character.wick h3 { color: var(--ore-wick); }
.character.jesper h3 { color: var(--ore-jesper); }
.character.wick { border-top: 3px solid var(--ore-wick); }
.character.jesper { border-top: 3px solid var(--ore-jesper); }
@media (max-width: 460px) {
  .character { grid-template-columns: 1fr; padding: 20px 20px 0; }
  .character img { width: 150px; order: 2; margin-inline: auto; }
  .character .text { padding-bottom: 0; }
}

.quote {
  margin: 44px auto 0; max-width: 46rem; text-align: center;
  font-family: var(--heading-font); font-size: clamp(1.4rem, 3.4vw, 2rem); line-height: 1.3; color: var(--ink);
}
.quote cite { display: block; margin-top: 10px; font-family: var(--body-font); font-style: normal; font-size: 1rem; color: var(--ore-wick); font-weight: 800; }

/* ---------- Gameplay loop ---------- */
.loop { padding-bottom: clamp(40px, 5vw, 56px); background: linear-gradient(180deg, var(--bg), var(--panel) 30%, var(--panel) 70%, var(--bg)); }
.steps { list-style: none; padding: 0; margin: 40px 0 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; counter-reset: step; }
@media (max-width: 1000px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .steps { grid-template-columns: 1fr; } }
.step {
  counter-increment: step;
  background: var(--raised); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 20px; position: relative;
}
.step::before {
  content: counter(step);
  position: absolute; top: 14px; right: 16px;
  font-family: var(--heading-font); font-size: 1.6rem; color: color-mix(in srgb, var(--accent) 45%, transparent);
}
.step img { height: 96px; width: auto; margin: 0 0 14px; filter: drop-shadow(0 6px 12px rgba(0,0,0,.45)); }
.step h3 { color: var(--accent); }
.step p { color: var(--muted); font-size: .98rem; margin: 0; }
.step p em { color: var(--ink); font-style: normal; }

.hollow {
  position: relative; isolation: isolate; overflow: hidden;
  margin-top: 44px; border-radius: var(--radius); border: 1px solid var(--line);
  min-height: 300px; display: grid; align-items: end; padding: 28px;
}
.hollow > img.bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.hollow::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(14,10,8,.9), rgba(14,10,8,.1) 65%); }
.hollow .folk { display: flex; gap: 6px; margin-bottom: 8px; }
.hollow .folk img { width: 72px; }
.hollow .folk img:nth-child(2) { animation-delay: -3s; }
.hollow p { margin: 0; font-size: 1.15rem; font-weight: 700; max-width: 34rem; }

/* ---------- Kickstarter ---------- */
.split { display: grid; grid-template-columns: 1.25fr 1fr; gap: clamp(28px, 5vw, 60px); align-items: center; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }
.shot { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); box-shadow: 0 24px 60px rgba(0,0,0,.5); margin: 0; }
.shot figcaption { font-size: .85rem; color: var(--muted); padding: 10px 14px; background: var(--panel); }
.perks { list-style: none; padding: 0; margin: 0 0 26px; display: grid; gap: 12px; }
.perks li { display: grid; grid-template-columns: 28px 1fr; gap: 10px; align-items: start; }
.perks li::before { content: ""; width: 22px; height: 22px; margin-top: 3px; background: url("/assets/img/core-void.png") center / contain no-repeat; }

/* ---------- Facts ---------- */
.facts {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1px;
  background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  margin: 0;
}
.facts div { background: var(--panel); padding: 18px 20px; }
.facts dt { font-size: .78rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.facts dd { margin: 4px 0 0; font-weight: 700; }
.note { margin-top: 18px; font-size: .92rem; color: var(--muted); max-width: 52rem; }

/* ---------- Community band ---------- */
.band {
  text-align: center;
  background:
    radial-gradient(ellipse at 50% 120%, color-mix(in srgb, var(--accent) 22%, transparent), transparent 60%),
    var(--panel);
  border-block: 1px solid var(--line);
}

/* ---------- Studio home ---------- */
.studio-hero { padding: clamp(64px, 11vw, 130px) 0 clamp(40px, 6vw, 70px); position: relative; overflow: hidden; }
.studio-hero::before {
  content: ""; position: absolute; inset: -40% -10% auto auto; width: 70vw; height: 70vw; z-index: -1;
  background: radial-gradient(circle, rgba(46,197,245,.18), transparent 60%);
}
.studio-hero h1 { font-size: clamp(2.4rem, 6.5vw, 4.4rem); max-width: 19ch; }
.studio-hero h1 span {
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

.feature {
  position: relative; isolation: isolate; overflow: hidden;
  display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: center;
  min-height: 460px; padding: clamp(24px, 5vw, 56px);
  border-radius: 22px; border: 1px solid #3a2e22;
  color: var(--ore-ink);
  text-decoration: none;
}
.feature > picture { position: absolute; inset: 0; z-index: -2; }
.feature .bg {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2;
  transition: transform .6s ease;
}
.feature:hover .bg { transform: scale(1.03); }
.feature::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(14,10,8,.94) 0%, rgba(14,10,8,.72) 50%, rgba(14,10,8,.1) 100%); }
.feature .logo { width: min(340px, 70vw); margin-bottom: 14px; filter: drop-shadow(0 8px 24px rgba(0,0,0,.6)); }
.feature .tag {
  display: inline-block; font-size: .78rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase;
  color: var(--ore-paper); background: var(--ore-gold); padding: 4px 12px; border-radius: 999px; margin-bottom: 14px;
}
.feature h3 { font-family: "TroubleSide", var(--heading-font); font-weight: 400; font-size: clamp(1.4rem, 3vw, 1.9rem); color: var(--ore-wick); }
.feature p { color: var(--ore-muted); max-width: 30rem; }
.feature .chars { display: flex; justify-content: flex-end; align-items: flex-end; align-self: end; margin-bottom: calc(-1 * clamp(24px, 5vw, 56px)); }
.feature .chars img { width: min(230px, 22vw); }
.feature .chars img + img { margin-left: -30px; }
.feature .btn-primary { background: linear-gradient(135deg, var(--ore-gold), var(--ore-coin)); color: #1d1206; }
@media (max-width: 860px) {
  .feature { grid-template-columns: minmax(0, 1fr); min-height: 0; }
  .feature::after { background: linear-gradient(0deg, rgba(14,10,8,.95) 30%, rgba(14,10,8,.55)); }
  .feature .chars { justify-content: center; }
  .feature .chars img { width: 42%; }
}

.about { display: grid; grid-template-columns: 1fr 1.4fr; gap: clamp(24px, 6vw, 80px); align-items: start; }
@media (max-width: 760px) { .about { grid-template-columns: 1fr; } }
.values { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.values li { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; }
.values strong { display: block; font-family: var(--heading-font); font-size: 1.2rem; color: var(--accent); }

.hiring { display: grid; grid-template-columns: auto 1fr auto; gap: 20px 28px; align-items: center; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(20px, 4vw, 32px); }
.hiring img { width: 84px; }
.hiring h2 { font-size: clamp(1.5rem, 3.4vw, 2rem); margin-bottom: .2em; }
.hiring p { margin: 0; color: var(--muted); }
@media (max-width: 700px) { .hiring { grid-template-columns: 1fr; } .hiring img { width: 64px; } }

/* ---------- Where things stand (Steam, Kickstarter) ---------- */
.progress { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); gap: 14px; }
.progress li { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; display: grid; gap: 6px; align-content: start; }
.progress strong { font-family: var(--heading-font); font-weight: 400; font-size: 1.35rem; color: var(--ink); display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.studio .progress strong { font-weight: 600; }
.progress strong::after { content: "Next"; font-family: var(--body-font); font-size: .7rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; padding: 2px 9px; border-radius: 999px; color: var(--muted); border: 1px solid var(--line); }
.progress li.doing { border-color: color-mix(in srgb, var(--accent) 55%, var(--line)); }
.progress li.doing strong::after { content: "In progress"; color: var(--on-accent); background: var(--accent); border-color: var(--accent); }
.progress span { color: var(--muted); font-size: .98rem; }
.hero .progress, .feature .progress { margin: 22px 0 28px; max-width: 640px; }

/* ---------- Store ---------- */
.store-title { font-size: clamp(2.2rem, 6vw, 3.6rem); color: var(--ore-wick); }
.store-sub { margin: clamp(40px, 7vw, 72px) 0 18px; font-size: clamp(1.6rem, 3.6vw, 2.2rem); }
.product { display: grid; grid-template-columns: 1.1fr 1fr; background: var(--panel); border: 1px solid var(--line); border-radius: 22px; overflow: hidden; margin-top: 18px; }
@media (max-width: 860px) { .product { grid-template-columns: 1fr; } }
.product-art { position: relative; isolation: isolate; min-height: 300px; display: grid; place-items: center; padding: 28px; }
.product-art .bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.product-art::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(14,10,8,.55), rgba(14,10,8,.15)); }
.product-art .logo { width: min(340px, 70vw); filter: drop-shadow(0 10px 30px rgba(0,0,0,.6)); }
.product-info { padding: clamp(22px, 4vw, 40px); }
.product-info h2 { color: var(--ore-wick); margin-bottom: .3em; }
.product-info p { color: var(--muted); }
.tag {
  display: inline-block; font-size: .78rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase;
  color: var(--ore-paper); background: var(--ore-gold); padding: 4px 12px; border-radius: 999px; margin-bottom: 14px;
}
.product-facts { list-style: none; padding: 0; margin: 0 0 22px; display: grid; gap: 6px; }
.product-facts strong { display: inline-block; min-width: 7.5rem; font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.fine { font-size: .9rem; color: var(--muted); margin: 14px 0 0; }
.store-band { margin-top: clamp(40px, 7vw, 72px); border: 1px solid var(--line); border-radius: 22px; padding: clamp(28px, 5vw, 48px) var(--gutter); }

/* ---------- Work with us ---------- */
.roles { list-style: none; padding: 0; margin: 24px 0 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
@media (max-width: 1000px) { .roles { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .roles { grid-template-columns: 1fr; } }
.roles li { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.roles img { height: 72px; width: auto; margin-bottom: 12px; filter: drop-shadow(0 6px 12px rgba(0,0,0,.45)); }
.roles h3 { color: var(--accent); margin-bottom: .3em; }
.roles p { color: var(--muted); font-size: .98rem; margin: 0; }
.how { margin-top: 28px; background: var(--raised); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 24px; }
.how h3 { margin-bottom: .4em; }
.how ol { margin: 0; padding-left: 1.3em; color: var(--muted); display: grid; gap: 6px; }

.apply-band { text-align: left; }
.apply-intro { text-align: center; margin-bottom: 28px; }
.apply-intro .lead { margin-inline: auto; }
.apply-form, .notice { max-width: 760px; margin-inline: auto; }
.apply-form { display: grid; gap: 18px; background: var(--bg); border: 1px solid var(--line); border-radius: 22px; padding: clamp(20px, 4vw, 36px); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 640px) { .field-row { grid-template-columns: 1fr; } }
.field { display: grid; gap: 6px; margin: 0; padding: 0; border: 0; min-width: 0; }
.field > span, .field legend { font-weight: 800; font-size: .95rem; padding: 0; }
.field small { font-weight: 400; color: var(--muted); margin-left: 4px; }
.field input, .field textarea {
  width: 100%; font: inherit; color: var(--ink); background: var(--panel);
  border: 1px solid var(--line); border-radius: 10px; padding: 11px 13px; min-height: 46px;
}
.field textarea { resize: vertical; }
.field input:focus-visible, .field textarea:focus-visible { outline: 3px solid var(--accent); outline-offset: 1px; border-color: var(--accent); }
.checks { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; }
.checks label { display: inline-flex; align-items: center; gap: 8px; background: var(--panel); border: 1px solid var(--line); border-radius: 999px; padding: 9px 16px; cursor: pointer; font-weight: 700; }
.checks label:has(input:checked) { border-color: var(--accent); background: color-mix(in srgb, var(--accent) 16%, var(--panel)); }
.checks input { width: 18px; height: 18px; accent-color: var(--accent); margin: 0; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.apply-form .btn { justify-self: start; border: 0; cursor: pointer; }
.apply-form .btn:disabled { opacity: .6; cursor: progress; transform: none; }
.notice { background: color-mix(in srgb, #ff6b6b 14%, var(--panel)); border: 1px solid #ff6b6b; border-radius: var(--radius); padding: 14px 18px; margin-bottom: 18px; font-weight: 700; }
.notice.success { background: color-mix(in srgb, var(--accent) 14%, var(--panel)); border-color: var(--accent); text-align: center; padding: 28px; font-weight: 400; }
.notice.success h3 { color: var(--accent); }
.notice.success p { margin: 0; color: var(--muted); }
.nav a[aria-current="page"] { color: var(--accent); }

/* ---------- Footer ---------- */
.site-footer { padding: 40px 0 48px; border-top: 1px solid var(--line); color: var(--muted); font-size: .92rem; }
.site-footer .wrap { display: flex; flex-wrap: wrap; gap: 14px 28px; align-items: center; justify-content: space-between; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.site-footer a { color: var(--muted); text-decoration: none; font-weight: 700; }
.site-footer a:hover { color: var(--accent); }
.site-footer img { height: 26px; width: auto; }

/* ---------- 404 ---------- */
.lost { min-height: 80vh; display: grid; place-items: center; text-align: center; padding: 40px var(--gutter); }
.lost img { width: 160px; margin: 0 auto 20px; }
