:root {
  --bg: #0d1f2e;
  --accent: #7b68ee;
  --accent2: #3ddba5;
  --text: #f2f6fa;
  --muted: #94a8bc;
  --card: rgba(18, 36, 52, 0.92);
  --rail-w: 4.5rem;
  --font-sans: "DM Sans", system-ui, sans-serif;
  --font-serif: "Instrument Serif", Georgia, serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  background: radial-gradient(ellipse 120% 80% at 20% 0%, rgba(123, 104, 238, 0.18), transparent 55%),
    radial-gradient(ellipse 90% 60% at 90% 20%, rgba(61, 219, 165, 0.12), transparent 50%),
    var(--bg);
  color: var(--text);
  line-height: 1.55;
  min-height: 100vh;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--accent2);
}

.rail {
  position: fixed;
  left: 0;
  top: 0;
  bottom: 0;
  width: var(--rail-w);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  padding: 1rem 0.5rem;
  background: rgba(8, 16, 24, 0.88);
  border-right: 1px solid rgba(148, 168, 188, 0.2);
  z-index: 20;
}

.rail__brand {
  text-decoration: none;
  margin-bottom: 0.75rem;
}

.rail__mark {
  display: grid;
  place-items: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  color: var(--bg);
  font-weight: 700;
  font-size: 0.75rem;
  letter-spacing: 0.04em;
}

.rail__tab {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.15rem;
  padding: 0.45rem 0.25rem;
  width: 100%;
  text-decoration: none;
  color: var(--muted);
  font-size: 0.62rem;
  border-radius: 10px;
  transition: background 0.2s, color 0.2s;
}

.rail__tab:hover,
.rail__tab.is-active {
  color: var(--text);
  background: rgba(123, 104, 238, 0.22);
}

.rail__icon {
  font-size: 1rem;
  line-height: 1;
}

.canvas {
  margin-left: var(--rail-w);
  padding: 2rem clamp(1.25rem, 4vw, 3rem) 3rem;
  max-width: 72rem;
}

.band {
  margin-bottom: 4.5rem;
  scroll-margin-top: 1.5rem;
}

.band__intro {
  max-width: 36rem;
  margin-bottom: 1.75rem;
}

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

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

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.72rem;
  color: var(--accent2);
  margin: 0 0 0.5rem;
}

.hero__title {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.15;
  margin: 0;
}

.hero__name {
  color: var(--accent2);
}

.hero__inset {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: 1.5rem;
  padding: 1.5rem;
  background: var(--card);
  border: 1px solid rgba(123, 104, 238, 0.35);
  border-radius: 22px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
  background-image: url("assets/gallery-2.jpg");
  background-size: cover;
  background-position: center;
  position: relative;
  overflow: hidden;
}

.hero__inset::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(125deg, rgba(13, 31, 46, 0.94) 40%, rgba(13, 31, 46, 0.72) 100%);
}

.hero__inset > * {
  position: relative;
  z-index: 1;
}

.hero__tagline {
  font-size: 1.05rem;
  color: var(--muted);
  margin: 0 0 1.25rem;
}

.hero__cta {
  display: inline-block;
  padding: 0.65rem 1.25rem;
  border-radius: 999px;
  background: var(--accent);
  color: var(--text);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
}

.hero__figure {
  margin: 0;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(61, 219, 165, 0.35);
}

h2 {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(1.65rem, 3vw, 2.25rem);
  margin: 0 0 0.5rem;
}

.lede {
  color: var(--muted);
  margin: 0;
}

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

.icon-grid li {
  padding: 1.1rem 1.15rem;
  background: rgba(18, 36, 52, 0.75);
  border-radius: 16px;
  border: 1px solid rgba(148, 168, 188, 0.15);
}

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

.icon-grid h3 {
  margin: 0 0 0.35rem;
  font-size: 1rem;
}

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

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

.gallery-row img {
  border-radius: 14px;
  aspect-ratio: 1;
  object-fit: cover;
  border: 1px solid rgba(148, 168, 188, 0.2);
}

.annotated {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(12rem, 1fr));
  gap: 1.25rem;
  align-items: start;
}

.annotated__shot {
  position: relative;
  margin: 0;
}

.annotated__shot img {
  border-radius: 20px;
  border: 2px solid rgba(123, 104, 238, 0.45);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4);
}

.pin {
  position: absolute;
  left: var(--pin-x);
  top: var(--pin-y);
  transform: translate(-50%, -50%);
  padding: 0.35rem 0.65rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 600;
  white-space: nowrap;
  pointer-events: none;
}

.pin--mint {
  background: rgba(61, 219, 165, 0.92);
  color: var(--bg);
}

.pin--violet {
  background: rgba(123, 104, 238, 0.92);
  color: var(--text);
}

.legal-tabs {
  background: var(--card);
  border-radius: 20px;
  border: 1px solid rgba(148, 168, 188, 0.2);
  overflow: hidden;
}

.legal-tabs__bar {
  display: flex;
  border-bottom: 1px solid rgba(148, 168, 188, 0.2);
}

.legal-tabs__bar button {
  flex: 1;
  padding: 0.85rem 1rem;
  border: 0;
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}

.legal-tabs__bar button[aria-selected="true"] {
  color: var(--text);
  background: rgba(123, 104, 238, 0.2);
  box-shadow: inset 0 -2px 0 var(--accent2);
}

.legal-panel {
  padding: 1.5rem 1.75rem 2rem;
  display: none;
}

.legal-panel.is-visible {
  display: block;
}

.legal-panel h3 {
  margin-top: 0;
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: 1.5rem;
}

.legal-panel p {
  max-width: 42rem;
}

.site-foot {
  padding-top: 2rem;
  border-top: 1px solid rgba(148, 168, 188, 0.15);
  color: var(--muted);
  font-size: 0.85rem;
}

@media (max-width: 860px) {
  .rail__label {
    display: none;
  }

  .hero__inset {
    grid-template-columns: 1fr;
  }

  .gallery-row {
    grid-template-columns: 1fr;
  }

  .band__intro--right {
    text-align: left;
    margin-left: 0;
  }
}

@media (max-width: 520px) {
  :root {
    --rail-w: 3.25rem;
  }

  .canvas {
    padding-left: 1rem;
    padding-right: 1rem;
  }
}
