:root {
  --bg: #141414;
  --bg2: #1b1b1b;
  --panel: #202020;
  --line: #303030;
  --text: #e8e8e8;
  --muted: #a0a0a0;
  --accent: #F28C28;
  --accent-ink: #1a1a1a;
  --radius: 10px;
  --wrap: 1120px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.6 system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--accent); }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 16px; }
section { padding: 72px 0; }
h1, h2, h3 { line-height: 1.2; margin: 0; font-weight: 650; }
h2 { font-size: clamp(1.6rem, 3vw, 2.1rem); margin-bottom: 8px; }
h3 { font-size: 1.05rem; margin-bottom: 6px; }
.sub { color: var(--muted); margin: 0 0 36px; max-width: 60ch; }

/* header */
header.top {
  position: sticky; top: 0; z-index: 20;
  background: rgba(20,20,20,.88);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
header.top .wrap { display: flex; align-items: center; gap: 20px; height: 60px; }
.brand { font-weight: 700; font-size: 1.25rem; letter-spacing: .02em; color: var(--text); text-decoration: none; margin-right: auto; }
.brand b { color: var(--accent); }
nav.main { display: flex; gap: 22px; }
nav.main a { color: var(--muted); text-decoration: none; font-size: .95rem; }
nav.main a:hover { color: var(--text); }
.langs { display: flex; gap: 2px; border: 1px solid var(--line); border-radius: 6px; padding: 2px; }
.langs a { color: var(--muted); text-decoration: none; font-size: .8rem; font-weight: 700; padding: 4px 8px; border-radius: 4px; }
.langs a:hover { color: var(--text); }
.langs a[aria-current] { background: var(--accent); color: var(--accent-ink); }

/* buttons */
.btn {
  display: inline-block; text-decoration: none; cursor: pointer;
  font: inherit; font-weight: 600;
  padding: 12px 22px; border-radius: 8px; border: 1px solid transparent;
}
.btn.primary { background: var(--accent); color: var(--accent-ink); }
.btn.primary:hover { background: #ff9a3a; }
.btn.ghost { border-color: #555; color: var(--text); background: transparent; }
.btn.ghost:hover { border-color: var(--text); }
.btn.dark { background: #161616; color: #fff; }
.btn.dark:hover { background: #000; }
.btn.small { padding: 8px 16px; font-size: .9rem; }
a:focus-visible, button:focus-visible, select:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

/* hero */
.hero {
  padding: 0;
  min-height: 560px;
  display: flex; align-items: center;
  background:
    linear-gradient(90deg, rgba(14,14,14,.94) 0%, rgba(14,14,14,.78) 42%, rgba(14,14,14,.08) 100%),
    url("../img/cover.jpg") center / cover no-repeat,
    linear-gradient(135deg, #1d1d1d, #0f0f0f);
  border-bottom: 1px solid var(--line);
}
.hero .wrap { padding-top: 72px; padding-bottom: 72px; }
.hero .copy { max-width: 560px; }
.eyebrow { color: var(--accent); font-weight: 600; letter-spacing: .06em; text-transform: uppercase; font-size: .8rem; margin: 0 0 14px; }
.hero h1 { font-size: clamp(3rem, 8vw, 5rem); letter-spacing: .01em; margin-bottom: 16px; }
.hero p.lead { font-size: 1.2rem; color: #d6d6d6; margin: 0 0 28px; }
a.badge { text-decoration: none; }
a.badge:hover { background: var(--accent); color: var(--accent-ink); }
.badge {
  display: inline-block; margin: 0 8px 24px 0;
  border: 1px solid var(--accent); color: var(--accent);
  border-radius: 999px; padding: 4px 14px; font-weight: 600; font-size: .9rem;
}
.actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* text sections */
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.two p { margin: 0 0 16px; color: #cfcfcf; }
.free-box { background: var(--panel); border: 1px solid var(--line); border-left: 3px solid var(--accent); border-radius: var(--radius); padding: 24px; }
.free-box p { margin: 8px 0 0; color: #cfcfcf; }
.alt { background: var(--bg2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

/* cards */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 16px; }
.card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.card p { margin: 0; color: var(--muted); font-size: .95rem; }
.card .tag {
  display: inline-block; margin-bottom: 10px;
  font-size: .72rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase;
  padding: 2px 9px; border-radius: 999px;
}
.tag.next { background: var(--accent); color: var(--accent-ink); }
.tag.later { border: 1px solid #555; color: var(--muted); }

/* gallery */
.shots { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 20px; }
figure.shot { margin: 0; }
figure.shot button {
  display: block; width: 100%; padding: 0; margin: 0;
  aspect-ratio: 16 / 10; position: relative; overflow: hidden;
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius);
  cursor: zoom-in; color: inherit;
}
figure.shot img { width: 100%; height: 100%; object-fit: cover; display: block; }
figure.shot .ph { display: none; position: absolute; inset: 0; align-items: center; justify-content: center; color: var(--muted); font-size: .9rem; border: 1px dashed #444; border-radius: var(--radius); }
figure.shot.missing button { cursor: default; }
figure.shot.missing img { display: none; }
figure.shot.missing .ph { display: flex; }
figcaption { color: var(--muted); font-size: .9rem; margin-top: 8px; }
.lb { position: fixed; inset: 0; z-index: 50; background: rgba(0,0,0,.92); display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 24px; }
.lb[hidden] { display: none; }
.lb img { max-width: 100%; max-height: calc(100vh - 110px); border-radius: 6px; }
.lb p { color: #ccc; margin: 12px 0 0; }
.lb-close { position: absolute; top: 12px; right: 16px; background: none; border: 0; color: #fff; font-size: 2.2rem; line-height: 1; cursor: pointer; }

/* download */
.dl { display: flex; flex-wrap: wrap; gap: 24px; align-items: center; justify-content: space-between; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.dl p { margin: 6px 0 0; color: var(--muted); max-width: 56ch; }

/* donation band */
.band { background: var(--accent); color: var(--accent-ink); padding: 56px 0; }
.band .wrap { display: flex; flex-wrap: wrap; gap: 28px; align-items: center; justify-content: space-between; }
.band h2 { color: #111; }
.band p { margin: 8px 0 0; max-width: 60ch; }
.band .fine { font-size: .9rem; opacity: .8; }
.band .cta { text-align: center; }

/* credits */
.links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.chip { border: 1px solid var(--line); background: var(--panel); border-radius: 999px; padding: 6px 16px; text-decoration: none; color: var(--text); font-weight: 600; font-size: .95rem; }
.chip:hover { border-color: var(--accent); color: var(--accent); }
.mac { border: 1px dashed #4a4a4a; border-radius: var(--radius); padding: 28px; display: flex; flex-wrap: wrap; gap: 20px; align-items: center; justify-content: space-between; }
.mac p { margin: 6px 0 0; color: #cfcfcf; max-width: 62ch; }

footer { border-top: 1px solid var(--line); padding: 32px 0 48px; color: var(--muted); font-size: .88rem; }
footer p { margin: 0 0 6px; }

@media (max-width: 900px) {
  nav.main { display: none; }
  .two { grid-template-columns: 1fr; gap: 28px; }
  .hero { background:
    linear-gradient(180deg, rgba(14,14,14,.82) 0%, rgba(14,14,14,.82) 100%),
    url("../img/cover.jpg") center / cover no-repeat,
    linear-gradient(135deg, #1d1d1d, #0f0f0f); }
}
@media (max-width: 520px) {
  section { padding: 52px 0; }
  header.top .wrap { gap: 10px; }
  header.top .btn { display: none; }
  .actions .btn, .band .btn { width: 100%; text-align: center; }
  .band .cta { width: 100%; }
}
