:root {
  --bg: #0b2118;
  --bg-2: #07140e;
  --panel: #193d2d;
  --accent: #16a36d;
  --lime: #c5f477;
  --text: #e5f5e9;
  --muted: #85ad91;
  --amber: #d4a017;
  --ocean: #103d37;
  --font: "Avenir Next", "Segoe UI", sans-serif;
  --mono: "SF Mono", Menlo, Consolas, monospace;
  --rail: 220px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.55;
  background-image:
    radial-gradient(ellipse at 20% 10%, rgba(22, 163, 109, 0.18), transparent 45%),
    linear-gradient(180deg, rgba(197, 244, 119, 0.03), transparent 30%);
}

a { color: var(--lime); text-decoration: none; }
a:hover { text-decoration: underline; }

.layout {
  display: grid;
  grid-template-columns: var(--rail) 1fr;
  min-height: 100vh;
}

.rail {
  position: sticky;
  top: 0;
  height: 100vh;
  padding: 28px 18px;
  background: linear-gradient(180deg, var(--panel), var(--bg-2));
  border-right: 1px solid rgba(133, 173, 145, 0.25);
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.rail__brand {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--lime);
}

.rail__nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.rail__nav a {
  color: var(--muted);
  font-size: 14px;
  padding: 8px 10px;
  border-radius: 10px;
  border: 1px solid transparent;
}

.rail__nav a:hover,
.rail__nav a.is-active {
  color: var(--text);
  background: rgba(22, 163, 109, 0.18);
  border-color: rgba(197, 244, 119, 0.25);
  text-decoration: none;
}

.rail__foot {
  margin-top: auto;
  font-size: 12px;
  color: var(--muted);
}

.main { min-width: 0; }

.hero {
  padding: clamp(48px, 8vw, 96px) clamp(24px, 5vw, 72px) 48px;
  max-width: 920px;
}

.hero__kicker {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 18px;
}

.hero h1 {
  margin: 0 0 18px;
  font-size: clamp(42px, 8vw, 76px);
  line-height: 0.95;
  letter-spacing: -0.03em;
  font-weight: 700;
}

.hero__tagline {
  margin: 0;
  max-width: 38ch;
  font-size: clamp(17px, 2.4vw, 22px);
  color: var(--muted);
}

.hero__art {
  margin-top: 36px;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(133, 173, 145, 0.28);
  max-width: 720px;
}

.hero__art img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.band {
  padding: 28px clamp(24px, 5vw, 72px) 64px;
}

.intro-band {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 12px;
}

.intro-band h2 {
  margin: 0 0 10px;
  font-size: clamp(26px, 4vw, 36px);
}

.intro-band p {
  margin: 0;
  color: var(--muted);
}

.steps {
  display: grid;
  gap: 18px;
  max-width: 820px;
  margin: 28px auto 0;
}

.step {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 16px;
  padding: 18px 20px;
  background: rgba(25, 61, 45, 0.72);
  border: 1px solid rgba(133, 173, 145, 0.22);
  border-radius: 16px;
}

.step__num {
  font-family: var(--mono);
  font-size: 28px;
  color: var(--lime);
  line-height: 1;
}

.step h3 {
  margin: 0 0 6px;
  font-size: 18px;
}

.step p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
}

.polaroids {
  position: relative;
  min-height: 520px;
  max-width: 980px;
  margin: 36px auto 0;
}

.polaroid {
  position: absolute;
  width: min(240px, 42vw);
  padding: 12px 12px 28px;
  background: #e8f2ea;
  color: #0b2118;
  border-radius: 6px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
  transform-origin: center;
}

.polaroid img {
  display: block;
  width: 100%;
  aspect-ratio: 9 / 19.5;
  object-fit: cover;
  border-radius: 4px;
  background: #103d37;
}

.polaroid figcaption {
  margin-top: 10px;
  font-family: var(--mono);
  font-size: 11px;
  text-align: center;
}

.polaroid:nth-child(1) { left: 4%; top: 10px; transform: rotate(-8deg); z-index: 3; }
.polaroid:nth-child(2) { left: 34%; top: 60px; transform: rotate(4deg); z-index: 4; }
.polaroid:nth-child(3) { right: 8%; top: 18px; transform: rotate(9deg); z-index: 2; }
.polaroid:nth-child(4) { left: 18%; top: 250px; transform: rotate(2deg); z-index: 5; }
.polaroid:nth-child(5) { right: 16%; top: 280px; transform: rotate(-5deg); z-index: 3; }
.polaroid:nth-child(6) { left: 42%; top: 300px; transform: rotate(7deg); z-index: 4; }

.gallery-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  max-width: 900px;
  margin: 40px auto 0;
}

.gallery-row img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 14px;
  border: 1px solid rgba(133, 173, 145, 0.25);
}

.legal {
  max-width: 860px;
  margin: 0 auto;
  display: grid;
  gap: 12px;
}

.legal details {
  background: rgba(7, 20, 14, 0.7);
  border: 1px solid rgba(133, 173, 145, 0.25);
  border-radius: 14px;
  padding: 14px 18px;
}

.legal summary {
  cursor: pointer;
  font-weight: 600;
  color: var(--lime);
  list-style: none;
}

.legal summary::-webkit-details-marker { display: none; }
.legal summary::after {
  content: "+";
  float: right;
  color: var(--muted);
}
.legal details[open] summary::after { content: "–"; }

.legal .summary-text {
  color: var(--muted);
  font-size: 14px;
  margin: 8px 0 0;
}

.legal .detail-body {
  margin-top: 14px;
  color: var(--text);
  font-size: 14px;
}

.legal .detail-body p { margin: 0 0 12px; }
.legal .detail-body h4 {
  margin: 18px 0 8px;
  font-size: 15px;
  color: var(--accent);
}

.site-foot {
  padding: 28px clamp(24px, 5vw, 72px) 48px;
  color: var(--muted);
  font-size: 13px;
  border-top: 1px solid rgba(133, 173, 145, 0.18);
}

@media (max-width: 900px) {
  .layout { grid-template-columns: 1fr; }
  .rail {
    position: sticky;
    top: 0;
    height: auto;
    z-index: 20;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 14px;
    border-right: none;
    border-bottom: 1px solid rgba(133, 173, 145, 0.25);
  }
  .rail__nav {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: flex-end;
  }
  .rail__nav a { padding: 6px 8px; font-size: 12px; }
  .rail__foot { display: none; }
  .polaroids { min-height: 780px; }
  .polaroid { width: min(180px, 46vw); }
  .polaroid:nth-child(4),
  .polaroid:nth-child(5),
  .polaroid:nth-child(6) { top: auto; bottom: 20px; }
  .gallery-row { grid-template-columns: 1fr; }
}
