:root {
  --bg: #0A0A0D;
  --surface: #17171C;
  --accent: #B8FF38;
  --accent2: #8CD12E;
  --text: #C7C7CC;
  --muted: #85858C;
  --lane-a: #A6A6AD;
  --danger: #FF5961;
  --radius: 16px;
  --pad: 22px;
  --dock-h: 64px;
  --font: "Avenir Next", "Segoe UI", system-ui, sans-serif;
  --mono: "SF Mono", "Menlo", "Consolas", monospace;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-bottom: calc(var(--dock-h) + 16px);
}

body {
  margin: 0;
  font-family: var(--font);
  background:
    radial-gradient(ellipse 80% 50% at 10% -10%, rgba(184, 255, 56, 0.08), transparent 55%),
    radial-gradient(ellipse 60% 40% at 100% 20%, rgba(140, 209, 46, 0.05), transparent 50%),
    var(--bg);
  color: var(--text);
  line-height: 1.55;
  min-height: 100vh;
}

img { max-width: 100%; display: block; height: auto; }
a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent2); }

.page {
  width: min(1120px, 100%);
  margin: 0 auto;
  padding: 32px var(--pad) calc(var(--dock-h) + 48px);
}

/* —— Hero: window_frame —— */
.hero--window {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 36px;
  align-items: center;
  padding: 28px 0 48px;
}

.eyebrow {
  margin: 0 0 10px;
  font-family: var(--mono);
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent2);
}

.hero h1 {
  margin: 0;
  font-size: clamp(2.6rem, 6vw, 4.2rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--accent);
  line-height: 1.05;
}

.hero__line2 {
  margin: 10px 0 0;
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--text);
}

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

.hero__jump {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  margin-top: 28px;
  font-family: var(--mono);
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.window-frame {
  margin: 0;
  background: var(--surface);
  border: 1px solid rgba(184, 255, 56, 0.22);
  border-radius: 18px;
  overflow: hidden;
  box-shadow:
    0 0 0 1px rgba(0, 0, 0, 0.4),
    0 28px 60px rgba(0, 0, 0, 0.55),
    0 0 40px rgba(184, 255, 56, 0.08);
  transform: rotate(1.2deg);
}

.window-frame__chrome {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 10px 14px;
  background: #101014;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  font-family: var(--mono);
  font-size: 0.7rem;
  color: var(--muted);
}

.window-frame__chrome span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #3a3a40;
}
.window-frame__chrome span:nth-child(1) { background: #FF5961; }
.window-frame__chrome span:nth-child(2) { background: #E8C547; }
.window-frame__chrome span:nth-child(3) { background: #8CD12E; }
.window-frame__chrome em {
  margin-left: auto;
  font-style: normal;
}

.window-frame img {
  width: 100%;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  object-position: top center;
  max-height: 560px;
}

/* —— Sections —— */
.band {
  padding: 40px 0 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.band--left { text-align: left; }
.band--center { text-align: center; }
.band--center .lede,
.band--center .dropcap-prose { margin-left: auto; margin-right: auto; }
.band--right { text-align: right; }
.band--right .lede { margin-left: auto; }
.band--right .film-strip { justify-content: flex-end; }

.section-kicker {
  margin: 0 0 8px;
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent2);
}

.band h2 {
  margin: 0 0 12px;
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  color: var(--text);
  letter-spacing: -0.02em;
}

.lede {
  margin: 0 0 28px;
  max-width: 52ch;
  color: var(--muted);
}

/* —— stripe_list —— */
.stripe-list {
  list-style: none;
  margin: 0;
  padding: 0;
  border: 1px solid rgba(184, 255, 56, 0.18);
  border-radius: var(--radius);
  overflow: hidden;
  background: rgba(23, 23, 28, 0.85);
  text-align: left;
}

.stripe-list li {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 16px;
  padding: 18px 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  align-items: start;
}

.stripe-list li:nth-child(odd) {
  background: rgba(184, 255, 56, 0.03);
}

.stripe-list li:last-child { border-bottom: 0; }

.stripe-list__code {
  font-family: var(--mono);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--accent);
  padding-top: 4px;
}

.stripe-list h3 {
  margin: 0 0 6px;
  font-size: 1.05rem;
  color: var(--text);
}

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

/* —— About gallery —— */
.about__lede { max-width: 58ch; }

.about__art {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 8px;
}

.about__art img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 14px;
  border: 1px solid rgba(184, 255, 56, 0.15);
  background: var(--surface);
}

.about__art img:nth-child(2) { transform: translateY(18px); }

/* —— film_strip —— */
.film-strip {
  display: flex;
  gap: 18px;
  overflow-x: auto;
  padding: 12px 4px 20px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}

.film-strip figure {
  flex: 0 0 min(220px, 68vw);
  margin: 0;
  scroll-snap-align: start;
  background: #050506;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  overflow: hidden;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.45);
  position: relative;
}

.film-strip figure::before,
.film-strip figure::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 10px;
  background:
    repeating-linear-gradient(
      90deg,
      #0A0A0D 0 10px,
      transparent 10px 18px
    );
  z-index: 1;
  opacity: 0.85;
}
.film-strip figure::before { top: 0; }
.film-strip figure::after { bottom: 0; }

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

.film-strip figcaption {
  padding: 10px 12px 14px;
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  text-align: center;
  background: var(--surface);
}

/* —— Legal dropcap —— */
.dropcap-prose {
  max-width: 62ch;
  text-align: left;
}

.dropcap-prose p {
  margin: 0 0 1.1em;
  color: var(--muted);
  font-size: 1.02rem;
}

.dropcap {
  float: left;
  font-size: 3.4rem;
  line-height: 0.85;
  padding: 6px 12px 0 0;
  font-weight: 700;
  color: var(--accent);
}

.support-mail {
  margin-top: 1.5em !important;
  font-family: var(--mono);
  font-size: 1.05rem !important;
}

.support-mail a {
  color: var(--accent);
  border-bottom: 1px solid rgba(184, 255, 56, 0.35);
  padding-bottom: 2px;
}

.site-foot {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  font-family: var(--mono);
  font-size: 0.75rem;
  color: var(--muted);
  letter-spacing: 0.06em;
}

/* —— bottom_dock —— */
.bottom-dock {
  position: fixed;
  left: 50%;
  bottom: 14px;
  transform: translateX(-50%);
  z-index: 50;
  display: flex;
  gap: 4px;
  padding: 8px;
  background: rgba(23, 23, 28, 0.92);
  border: 1px solid rgba(184, 255, 56, 0.28);
  border-radius: 999px;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5);
}

.bottom-dock a {
  min-width: 58px;
  padding: 10px 12px;
  border-radius: 999px;
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-align: center;
  color: var(--muted);
}

.bottom-dock a:hover,
.bottom-dock a.is-active {
  background: rgba(184, 255, 56, 0.14);
  color: var(--accent);
}

@media (max-width: 860px) {
  .hero--window {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .window-frame {
    max-width: 320px;
    margin: 0 auto;
    transform: none;
  }

  .window-frame img { max-height: 480px; }

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

  .about__art img:nth-child(2) { transform: none; }

  .band--right { text-align: left; }
  .band--right .lede { margin-left: 0; }
  .band--right .film-strip { justify-content: flex-start; }

  .stripe-list li {
    grid-template-columns: 72px 1fr;
  }

  .bottom-dock {
    width: calc(100% - 24px);
    max-width: 520px;
    justify-content: space-between;
  }

  .bottom-dock a {
    min-width: 0;
    flex: 1;
    padding: 10px 4px;
    font-size: 0.62rem;
  }
}
