:root {
  --bg: #1e0f38;
  --bg-deep: #2d1451;
  --accent: #ff6b2d;
  --accent-soft: #ff8c59;
  --text: #d1d6e0;
  --muted: #9ea3b2;
  --card: rgba(255, 255, 255, 0.08);
  --stroke: rgba(255, 255, 255, 0.12);
  --rail-w: 5.5rem;
  --max: 52rem;
  font-family: "SF Pro Text", system-ui, -apple-system, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  line-height: 1.55;
  min-height: 100vh;
}

a {
  color: var(--accent-soft);
}

.rail {
  position: fixed;
  left: 0;
  top: 0;
  bottom: 0;
  width: var(--rail-w);
  background: linear-gradient(180deg, var(--bg-deep), var(--bg));
  border-right: 1px solid var(--stroke);
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 1rem 0.5rem;
  z-index: 20;
}

.rail-brand {
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  text-decoration: none;
  margin-bottom: 1.5rem;
}

.rail-tabs {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  width: 100%;
}

.rail-tab {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.15rem;
  padding: 0.55rem 0.25rem;
  border-radius: 10px;
  text-decoration: none;
  color: var(--muted);
  font-size: 0.65rem;
  font-weight: 600;
  transition: background 0.2s, color 0.2s;
}

.rail-tab .rail-icon {
  font-size: 0.85rem;
  color: var(--accent);
}

.rail-tab.is-active,
.rail-tab:hover {
  background: var(--card);
  color: var(--text);
}

.canvas {
  margin-left: var(--rail-w);
  padding: 0 1.25rem 3rem;
  max-width: calc(var(--max) + var(--rail-w));
}

.hero-inset {
  position: relative;
  padding: 2.5rem 0 2rem;
}

.hero-texture {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 20% 0%, rgba(255, 107, 45, 0.18), transparent 55%),
    radial-gradient(ellipse 70% 50% at 90% 30%, rgba(73, 22, 132, 0.55), transparent 60%),
    linear-gradient(160deg, var(--bg-deep), var(--bg));
  border-radius: 0 0 24px 24px;
  z-index: 0;
}

.hero-inset-card {
  position: relative;
  z-index: 1;
  max-width: var(--max);
  margin: 0 auto;
  padding: 2rem 1.75rem;
  background: var(--card);
  border: 1px solid var(--stroke);
  border-radius: 20px;
  backdrop-filter: blur(8px);
}

.hero-kicker {
  margin: 0 0 0.35rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent-soft);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.hero-inset-card h1 {
  margin: 0 0 0.75rem;
  font-size: clamp(2rem, 5vw, 2.75rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text);
}

.hero-lead {
  margin: 0 0 1.5rem;
  font-size: 1.05rem;
  color: var(--muted);
  max-width: 38em;
}

.hero-art img {
  width: 100%;
  height: auto;
  border-radius: 14px;
  display: block;
  border: 1px solid var(--stroke);
}

.band {
  max-width: var(--max);
  margin: 0 auto;
  padding: 3rem 0 1rem;
}

.intro h2 {
  margin: 0 0 0.5rem;
  font-size: 1.65rem;
  color: var(--text);
}

.intro p {
  margin: 0 0 1.75rem;
  color: var(--muted);
  max-width: 32em;
}

.intro-left {
  text-align: left;
}

.intro-center {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.intro-center p {
  margin-left: auto;
  margin-right: auto;
}

.intro-right {
  text-align: right;
  margin-left: auto;
}

.intro-right p {
  margin-left: auto;
}

.icon-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.icon-grid li {
  padding: 1.1rem 1rem;
  background: var(--card);
  border: 1px solid var(--stroke);
  border-radius: 14px;
}

.feat-icon {
  display: inline-block;
  font-size: 1.1rem;
  color: var(--accent);
  margin-bottom: 0.35rem;
}

.icon-grid h3 {
  margin: 0 0 0.35rem;
  font-size: 1rem;
  color: var(--text);
}

.icon-grid p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--muted);
}

.annotated-shots {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.annotated-shot {
  margin: 0;
  position: relative;
}

.annotated-shot img {
  width: 100%;
  height: auto;
  border-radius: 16px;
  border: 1px solid var(--stroke);
  display: block;
}

.callout {
  position: absolute;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.35rem 0.55rem;
  background: rgba(30, 15, 56, 0.92);
  border: 1px solid var(--accent);
  color: var(--accent-soft);
  border-radius: 8px;
  max-width: 9rem;
  line-height: 1.25;
}

.callout-tr {
  top: 0.5rem;
  right: 0.5rem;
}

.callout-bl {
  bottom: 0.5rem;
  left: 0.5rem;
}

.callout-br {
  bottom: 0.5rem;
  right: 0.5rem;
}

.gallery-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
}

.gallery-strip img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  object-fit: cover;
  aspect-ratio: 1;
  border: 1px solid var(--stroke);
}

.legal-expand {
  margin-bottom: 1rem;
}

.legal-expand details {
  background: var(--card);
  border: 1px solid var(--stroke);
  border-radius: 14px;
  overflow: hidden;
}

.legal-expand summary {
  cursor: pointer;
  padding: 1rem 1.15rem;
  font-weight: 700;
  color: var(--text);
  list-style: none;
}

.legal-expand summary::-webkit-details-marker {
  display: none;
}

.legal-expand summary::after {
  content: "+";
  float: right;
  color: var(--accent);
}

.legal-expand details[open] summary::after {
  content: "−";
}

.legal-body {
  padding: 0 1.15rem 1.15rem;
  border-top: 1px solid var(--stroke);
}

.legal-body p {
  margin: 0.75rem 0 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.site-foot {
  max-width: var(--max);
  margin: 2rem auto 0;
  padding-top: 1.5rem;
  border-top: 1px solid var(--stroke);
  text-align: center;
  font-size: 0.8rem;
  color: var(--muted);
}

@media (max-width: 820px) {
  .rail {
    position: fixed;
    left: 0;
    right: 0;
    top: auto;
    bottom: 0;
    width: 100%;
    height: auto;
    flex-direction: row;
    justify-content: space-around;
    border-right: none;
    border-top: 1px solid var(--stroke);
    padding: 0.35rem 0.5rem;
  }

  .rail-brand {
    display: none;
  }

  .rail-tabs {
    flex-direction: row;
    justify-content: space-around;
  }

  .rail-tab span:last-child {
    font-size: 0.6rem;
  }

  .canvas {
    margin-left: 0;
    margin-bottom: 4.5rem;
    padding: 0 1rem 2rem;
  }

  .icon-grid,
  .annotated-shots,
  .gallery-strip {
    grid-template-columns: 1fr;
  }

  .intro-right {
    text-align: left;
  }
}
