@font-face { font-family: "Cinzel"; font-weight: 400; font-display: swap; src: url(fonts/Cinzel-Regular.woff2) format("woff2"); }
@font-face { font-family: "Cinzel"; font-weight: 700; font-display: swap; src: url(fonts/Cinzel-Bold.woff2) format("woff2"); }
@font-face { font-family: "Alegreya Sans"; font-weight: 400; font-display: swap; src: url(fonts/AlegreyaSans-Regular.woff2) format("woff2"); }
@font-face { font-family: "Alegreya Sans"; font-weight: 500; font-display: swap; src: url(fonts/AlegreyaSans-Medium.woff2) format("woff2"); }
@font-face { font-family: "Alegreya Sans"; font-weight: 700; font-display: swap; src: url(fonts/AlegreyaSans-Bold.woff2) format("woff2"); }
@font-face { font-family: "Alegreya Sans"; font-style: italic; font-display: swap; src: url(fonts/AlegreyaSans-Italic.woff2) format("woff2"); }

:root {
  --ink: #1a1310;
  --ink-2: #231914;
  --ink-3: #2e211a;
  --parchment: #f1e6d0;
  --parchment-dim: #cdbfa6;
  --muted: #a8977d;
  --gold: #e2b457;
  --gold-deep: #b9832f;
  --gold-soft: rgba(226, 180, 87, 0.28);
  --ok: #7fbf6a;
  --bad: #d9674f;
  --radius: 14px;
  --display: "Cinzel", Georgia, serif;
  --body: "Alegreya Sans", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--parchment);
  font: 400 1.125rem/1.6 var(--body);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--gold); }
a:hover { color: #f3cf83; }
code {
  font: 0.9em ui-monospace, "SFMono-Regular", Menlo, monospace;
  background: rgba(255, 255, 255, 0.07);
  padding: 0.1em 0.4em;
  border-radius: 5px;
  color: var(--parchment);
  word-break: break-word;
}
h1, h2, h3 { font-family: var(--display); font-weight: 700; line-height: 1.2; letter-spacing: 0.01em; }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.4rem); margin: 0.2em 0 0.6em; color: #f7ecd8; }
h3 { font-size: 1.12rem; margin: 0 0 0.5em; color: var(--gold); }
p { margin: 0 0 1em; }
.wrap { width: min(1120px, 100% - 32px); margin-inline: auto; }
.center { text-align: center; }
.small { font-size: 0.95rem; color: var(--muted); }
.eyebrow {
  font-family: var(--display);
  font-size: 0.8rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0;
}
.lede { color: var(--parchment-dim); max-width: 38em; margin: 0 auto 2rem; }

/* ---------- hero ---------- */
.hero {
  position: relative;
  min-height: min(100vh, 920px);
  display: grid;
  grid-template-rows: auto 1fr;
  overflow: hidden;
  isolation: isolate;
}
.hero-art {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(26, 19, 16, 0.25) 0%, rgba(26, 19, 16, 0.05) 35%, rgba(26, 19, 16, 0.55) 72%, var(--ink) 100%),
    url(img/keyart.webp?v=2) center 40% / cover no-repeat;
}
.top {
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
  padding: 18px max(16px, calc((100% - 1120px) / 2));
}
.badge {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--display); font-size: 0.78rem; letter-spacing: 0.16em; text-transform: uppercase;
  background: rgba(26, 19, 16, 0.62); border: 1px solid var(--gold-soft);
  padding: 7px 14px; border-radius: 999px; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
}
.badge .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 10px var(--gold); animation: pulse 2.4s ease-in-out infinite; }
.top-link {
  font-weight: 700; text-decoration: none; color: var(--parchment);
  background: rgba(26, 19, 16, 0.62); border: 1px solid var(--gold-soft);
  padding: 7px 16px; border-radius: 999px; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
}
.top-link:hover { color: var(--gold); border-color: var(--gold); }
.hero-inner {
  align-self: end;
  width: min(900px, 100% - 32px); margin: 0 auto; padding: 40px 0 72px;
  text-align: center;
}
.hero h1 { margin: 0 auto 10px; width: min(560px, 88%); filter: drop-shadow(0 8px 24px rgba(0, 0, 0, 0.55)); }
.hero h1 img { width: 100%; height: auto; }
.tagline {
  font-family: var(--display); font-size: clamp(1.25rem, 2.6vw, 1.75rem); color: #fff4df;
  margin: 0 0 0.4em; text-shadow: 0 2px 14px rgba(0, 0, 0, 0.7);
}
.sub { max-width: 36em; margin: 0 auto 1.6rem; color: #eadcc2; text-shadow: 0 1px 10px rgba(0, 0, 0, 0.8); }
.cta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.btn {
  display: inline-block; text-decoration: none; font-family: var(--display); font-weight: 700;
  letter-spacing: 0.06em; padding: 14px 28px; border-radius: 10px; transition: transform 0.15s, box-shadow 0.15s, background 0.15s;
}
.btn.primary {
  color: #2a1a08; background: linear-gradient(180deg, #f3cf83, var(--gold) 45%, var(--gold-deep));
  box-shadow: 0 6px 22px rgba(226, 180, 87, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.5);
}
.btn.primary:hover { transform: translateY(-2px); color: #2a1a08; box-shadow: 0 10px 30px rgba(226, 180, 87, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.5); }
.btn.ghost { color: var(--parchment); border: 1px solid rgba(241, 230, 208, 0.45); background: rgba(26, 19, 16, 0.45); }
.btn.ghost:hover { color: var(--gold); border-color: var(--gold); }

.realm-status {
  display: inline-flex; align-items: center; gap: 10px; margin: 22px 0 0;
  font-size: 0.98rem; color: var(--parchment-dim);
  background: rgba(26, 19, 16, 0.6); border: 1px solid rgba(241, 230, 208, 0.15);
  padding: 6px 16px; border-radius: 999px;
}
.realm-status .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--muted); }
.realm-status.up .dot { background: var(--ok); box-shadow: 0 0 10px var(--ok); animation: pulse 2.4s ease-in-out infinite; }
.realm-status.down .dot { background: var(--bad); }
@keyframes pulse { 50% { opacity: 0.45; } }

/* ---------- bands ---------- */
.band { padding: clamp(56px, 8vw, 110px) 0; }
.two { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.two p { color: var(--parchment-dim); }
.shot { margin: 0; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--gold-soft); box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5); }
.tilt { transform: rotate(1.2deg); }

.features {
  padding: clamp(56px, 8vw, 100px) 0;
  background:
    radial-gradient(ellipse at 50% 0%, rgba(226, 180, 87, 0.08), transparent 60%),
    var(--ink-2);
  border-block: 1px solid rgba(226, 180, 87, 0.12);
}
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 2rem; }
.grid article {
  background: linear-gradient(180deg, var(--ink-3), rgba(46, 33, 26, 0.55));
  border: 1px solid rgba(226, 180, 87, 0.16);
  border-radius: var(--radius); padding: 24px 24px 12px;
}
.grid article p { color: var(--parchment-dim); font-size: 1.04rem; }

.gallery {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 12px;
  width: min(1320px, 100% - 32px); margin: clamp(48px, 7vw, 90px) auto 0;
}
.gallery figure { margin: 0; position: relative; border-radius: var(--radius); overflow: hidden; border: 1px solid rgba(226, 180, 87, 0.16); }
.gallery img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 16 / 10; transition: transform 0.6s ease; }
.gallery figure:hover img { transform: scale(1.04); }
.gallery figcaption {
  position: absolute; left: 12px; bottom: 10px; font-family: var(--display); font-size: 0.85rem;
  background: rgba(26, 19, 16, 0.7); padding: 4px 12px; border-radius: 999px;
}

/* ---------- download ---------- */
.dl-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 340px)); gap: 18px; justify-content: center; margin-bottom: 14px; }
.dl {
  display: grid; gap: 4px; text-decoration: none; color: var(--parchment);
  padding: 26px 28px; border-radius: var(--radius);
  background: linear-gradient(180deg, #33251c, #241a14);
  border: 1px solid var(--gold-soft);
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.35);
  transition: transform 0.15s, border-color 0.15s;
}
.dl:hover { transform: translateY(-3px); border-color: var(--gold); color: var(--parchment); }
.dl .os { font-family: var(--display); font-weight: 700; font-size: 1.6rem; color: #f7ecd8; }
.dl .meta { color: var(--muted); font-size: 0.98rem; }
.dl .go {
  justify-self: start; margin-top: 12px; font-family: var(--display); font-weight: 700; font-size: 0.95rem;
  color: #2a1a08; background: linear-gradient(180deg, #f3cf83, var(--gold) 45%, var(--gold-deep));
  padding: 9px 20px; border-radius: 8px;
}
.steps { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 18px; margin-top: 3rem; }
.steps > div, .notes > div {
  background: var(--ink-2); border: 1px solid rgba(226, 180, 87, 0.12); border-radius: var(--radius); padding: 22px 24px 8px;
}
.steps p, .notes li { color: var(--parchment-dim); font-size: 1.02rem; }
.notes { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 18px; }
.notes ul { margin: 0 0 1em; padding-left: 1.1em; }
.notes li { margin-bottom: 0.3em; }

footer { padding: 56px 0 44px; border-top: 1px solid rgba(226, 180, 87, 0.12); text-align: center; color: var(--muted); }
footer img { width: 170px; height: auto; margin: 0 auto 14px; opacity: 0.9; }
footer p { margin: 0 0 0.4em; }

@media (max-width: 900px) {
  .two, .steps, .notes { grid-template-columns: 1fr; }
  .grid { grid-template-columns: 1fr 1fr; }
  .gallery { grid-template-columns: 1fr 1fr; }
  .gallery figure:first-child { grid-column: 1 / -1; }
  .tilt { transform: none; }
}
@media (max-width: 600px) {
  body { font-size: 1.06rem; }
  .grid, .dl-grid { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr; }
  .top-link { display: none; }
  .hero { min-height: 88vh; }
  .hero-inner { padding-bottom: 48px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
