:root {
  --ink: #160e12;
  --copper: #d08a45;
  --warm: #f0e4d4;
  --dim: #b5a394;
  --panel: #24161c;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { overflow-x: hidden; }
body {
  margin: 0;
  overflow-x: hidden;
  background: var(--ink);
  color: var(--warm);
  font-family: Manrope, sans-serif;
  line-height: 1.65;
  overflow-wrap: break-word;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--copper); }
h1, h2, h3 { font-family: Unbounded, sans-serif; font-weight: 600; letter-spacing: -0.03em; line-height: 1.12; color: var(--warm); }
.sparks {
  position: fixed;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 0;
}
.sparks i {
  position: absolute;
  bottom: -10%;
  width: 3px;
  height: 18px;
  background: var(--copper);
  opacity: 0.7;
  animation: rise 9s linear infinite;
}
.sparks i:nth-child(1) { left: 18%; animation-duration: 11s; }
.sparks i:nth-child(2) { left: 46%; animation-duration: 8s; animation-delay: -3s; }
.sparks i:nth-child(3) { left: 72%; animation-duration: 13s; animation-delay: -5s; }
.shell {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 210px minmax(0, 1fr);
  min-height: 100vh;
}
.rail {
  padding: 22px 16px;
  border-right: 1px solid rgba(208, 138, 69, 0.28);
  background: rgba(22, 14, 18, 0.92);
}
.brand {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--warm);
  text-decoration: none;
  font-family: Unbounded, sans-serif;
  margin-bottom: 22px;
}
.brand img { width: 34px; height: 34px; }
.rail nav { display: flex; flex-direction: column; gap: 12px; }
.rail nav a { text-decoration: none; }
.column { min-width: 0; padding: 28px 28px 0; }
.column h1 { font-size: clamp(1.8rem, 4vw, 3.3rem); margin: 0 0 0.45em; }
.frame {
  position: relative;
  overflow: hidden;
  border-radius: 6px;
  margin: 8px 0 18px;
  height: clamp(220px, 38vw, 420px);
}
.frame img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.frame::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--copper);
  animation: scan 3.6s linear infinite;
}
.lead { font-size: 1.08rem; max-width: 42rem; }
.copper {
  display: inline-flex;
  margin: 8px 0 18px;
  padding: 11px 14px;
  background: var(--copper);
  color: #2a140c;
  text-decoration: none;
  font-weight: 700;
  border: 0;
  cursor: pointer;
  font-family: inherit;
  border-radius: 2px;
  max-width: 100%;
  white-space: normal;
  text-align: center;
}
.legend, .roles { display: grid; gap: 10px; margin: 10px 0 22px; }
.roles { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.legend article, .roles article, .block {
  background: var(--panel);
  border-left: 3px solid var(--copper);
  padding: 14px 16px;
  min-width: 0;
}
.two {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 18px;
  align-items: center;
  margin-bottom: 22px;
}
.two img {
  width: 100%;
  height: clamp(180px, 28vw, 300px);
  object-fit: cover;
  object-position: center;
}
.list { list-style: none; padding: 0; margin: 0 0 36px; }
.list a {
  display: block;
  padding: 12px 0;
  border-bottom: 1px solid rgba(240, 228, 212, 0.14);
  text-decoration: none;
}
.foot {
  border-top: 1px solid rgba(208, 138, 69, 0.28);
  padding: 26px 0 20px;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) minmax(0, 1fr);
  gap: 16px;
}
.foot ul { list-style: none; padding: 0; margin: 0; }
.fine { color: var(--dim); grid-column: 1 / -1; }
.suti {
  position: fixed;
  z-index: 6;
  left: 12px;
  right: 12px;
  bottom: 12px;
  background: #2c1a20;
  border: 1px solid var(--copper);
  padding: 12px 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  justify-content: space-between;
}
.suti p { margin: 0; max-width: 40rem; }
.suti .plain {
  background: transparent;
  color: var(--warm);
  border: 1px solid rgba(240, 228, 212, 0.3);
  padding: 10px 12px;
  font: inherit;
  cursor: pointer;
}
@keyframes rise {
  from { transform: translateY(0); opacity: 0; }
  15% { opacity: 0.8; }
  to { transform: translateY(-110vh); opacity: 0; }
}
@keyframes scan {
  from { transform: translateY(0); }
  to { transform: translateY(420px); }
}
@media (max-width: 860px) {
  .shell { grid-template-columns: 1fr; }
  .rail {
    position: sticky;
    top: 0;
    z-index: 4;
    display: flex;
    flex-wrap: wrap;
    gap: 8px 14px;
    align-items: center;
    border-right: 0;
    border-bottom: 1px solid rgba(208, 138, 69, 0.28);
  }
  .brand { margin: 0; }
  .rail nav { flex-direction: row; flex-wrap: wrap; gap: 8px 14px; }
  .column { padding: 20px 16px 0; }
  .roles, .two, .foot { grid-template-columns: 1fr; }
  .frame { height: 220px; }
  .two img { height: 200px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; }
}
