:root {
  --bg: #2d1b24;
  --bg-deep: #1f1218;
  --card: #3a2430;
  --primary: #ff6b8a;
  --pin: #e8456a;
  --text: #fff0f3;
  --muted: #c9a8b4;
  --glow: rgba(255, 107, 138, 0.35);
  --max: 1120px;
  --font: "DM Sans", system-ui, sans-serif;
  --display: "Fraunces", Georgia, serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background:
    radial-gradient(ellipse 80% 50% at 50% -10%, rgba(255, 107, 138, 0.12), transparent 60%),
    linear-gradient(180deg, var(--bg-deep) 0%, var(--bg) 40%, var(--bg-deep) 100%);
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  color: var(--primary);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

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

.coord-grid {
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.18;
  background-image:
    linear-gradient(rgba(255, 240, 243, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 240, 243, 0.06) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse at center, black 20%, transparent 75%);
}

.masthead {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem clamp(1.25rem, 4vw, 2.5rem);
  background: rgba(45, 27, 36, 0.88);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.masthead__brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.masthead__pin {
  filter: drop-shadow(0 0 12px var(--glow));
}

.masthead__name {
  font-family: var(--display);
  font-size: 1.25rem;
  font-weight: 700;
}

.masthead__links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.25rem;
  font-size: 0.9rem;
}

.masthead__links a {
  color: var(--muted);
}

.masthead__links a:hover {
  color: var(--text);
}

.hero {
  position: relative;
  max-width: var(--max);
  margin: 0 auto;
  padding: 3rem clamp(1.25rem, 4vw, 2.5rem) 2rem;
  display: grid;
  gap: 2rem;
}

.hero__pins {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.pin {
  position: absolute;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--pin);
  box-shadow: 0 0 0 6px var(--glow), 0 0 24px var(--glow);
}

.pin--1 { top: 18%; left: 12%; animation: drift 7s ease-in-out infinite; }
.pin--2 { top: 32%; right: 18%; animation: drift 9s ease-in-out infinite reverse; }
.pin--3 { top: 55%; left: 8%; animation: drift 8s ease-in-out infinite 1s; }
.pin--4 { top: 68%; right: 10%; animation: drift 10s ease-in-out infinite 0.5s; }
.pin--5 { top: 42%; left: 45%; animation: drift 6s ease-in-out infinite 2s; }

@keyframes drift {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(8px, -10px); }
}

.hero__eyebrow {
  margin: 0 0 0.5rem;
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--primary);
}

.hero__title {
  margin: 0 0 1rem;
  font-family: var(--display);
  font-size: clamp(2.4rem, 6vw, 4rem);
  line-height: 1.08;
  font-weight: 700;
}

.hero__title span {
  display: block;
}

.hero__title em {
  display: block;
  font-style: normal;
  font-size: 0.55em;
  color: var(--muted);
  margin-top: 0.35rem;
}

.hero__tagline {
  margin: 0;
  max-width: 36rem;
  font-size: 1.1rem;
  color: var(--muted);
}

.hero__visual {
  margin: 0;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
}

.hero__visual img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.hero__coords {
  padding: 0.75rem 1rem;
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  color: var(--muted);
  background: var(--card);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.ribbon {
  max-width: var(--max);
  margin: 0 auto;
  padding: 2rem clamp(1.25rem, 4vw, 2.5rem) 4rem;
  display: grid;
  gap: 2.5rem;
}

@media (min-width: 860px) {
  .ribbon {
    grid-template-columns: minmax(220px, 280px) 1fr;
    align-items: start;
  }
}

.ribbon__spine {
  position: relative;
  padding-left: 1.5rem;
  border-left: 2px solid rgba(255, 107, 138, 0.35);
}

.ribbon__node {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.85rem;
  padding-bottom: 1.75rem;
}

.ribbon__node strong {
  display: block;
  font-size: 1rem;
  margin-bottom: 0.2rem;
}

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

.ribbon__dot {
  width: 12px;
  height: 12px;
  margin-top: 0.35rem;
  border-radius: 50%;
  background: var(--card);
  border: 2px solid var(--muted);
}

.ribbon__node--active .ribbon__dot {
  background: var(--primary);
  border-color: var(--primary);
  box-shadow: 0 0 16px var(--glow);
}

.ribbon__legend h2,
.frames__intro h2,
.about-band h2,
.legal h2 {
  font-family: var(--display);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  margin: 0 0 1.25rem;
}

.legend-row {
  display: grid;
  grid-template-columns: 2.5rem 1fr;
  gap: 1rem;
  padding: 1.25rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.legend-row__icon {
  display: grid;
  place-items: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background: var(--card);
  color: var(--primary);
  font-size: 1.1rem;
}

.legend-row h3 {
  margin: 0 0 0.35rem;
  font-size: 1.05rem;
}

.legend-row p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.frames {
  padding: 2rem clamp(1.25rem, 4vw, 2.5rem) 4rem;
  background: linear-gradient(180deg, transparent, rgba(58, 36, 48, 0.45), transparent);
}

.frames__intro {
  max-width: var(--max);
  margin: 0 auto 2rem;
}

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

.frames__wall {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 1.25rem;
  align-items: center;
}

.frame {
  margin: 0;
  border-radius: 18px;
  overflow: hidden;
  background: var(--card);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
}

.frame img {
  width: 100%;
  aspect-ratio: 9 / 19.5;
  object-fit: cover;
  object-position: top;
}

.frame figcaption {
  padding: 0.65rem 0.85rem;
  font-size: 0.8rem;
  color: var(--muted);
  text-align: center;
}

.frame--a { grid-column: 1 / 5; transform: rotate(-4deg); }
.frame--b { grid-column: 5 / 9; transform: rotate(3deg) translateY(1.5rem); z-index: 2; }
.frame--c { grid-column: 9 / 13; transform: rotate(-2deg); }
.frame--d { grid-column: 3 / 7; transform: rotate(5deg) translateY(-1rem); }

.frame--d img {
  aspect-ratio: 1;
}

@media (max-width: 900px) {
  .frames__wall {
    grid-template-columns: 1fr 1fr;
  }

  .frame--a,
  .frame--b,
  .frame--c,
  .frame--d {
    grid-column: auto;
    transform: none;
  }
}

.about-band {
  max-width: var(--max);
  margin: 0 auto;
  padding: 2rem clamp(1.25rem, 4vw, 2.5rem) 4rem;
  display: grid;
  gap: 2rem;
  align-items: center;
}

@media (min-width: 760px) {
  .about-band {
    grid-template-columns: 1.1fr 0.9fr;
  }
}

.about-band__text p {
  margin: 0;
  color: var(--muted);
  font-size: 1.05rem;
}

.about-band__img {
  border-radius: 20px;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.legal {
  max-width: 720px;
  margin: 0 auto;
  padding: 2.5rem clamp(1.25rem, 4vw, 2.5rem);
}

.legal h3 {
  margin: 1.5rem 0 0.5rem;
  font-size: 1rem;
}

.legal p {
  margin: 0 0 1rem;
  color: var(--muted);
}

.support-email {
  font-size: 1.1rem;
}

.foot {
  text-align: center;
  padding: 2rem 1rem 3rem;
  color: var(--muted);
  font-size: 0.85rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.foot p {
  margin: 0;
}
