:root {
  --bg: #0a0a0f;
  --bg-panel: #151520;
  --accent: #00f5ff;
  --accent2: #ff00aa;
  --text: #e8f0f0;
  --muted: #7a8a8a;
  --line: rgba(0, 245, 255, 0.22);
  --dock-h: 4.25rem;
  --font-mono: "SF Mono", "Menlo", "Consolas", monospace;
  --font-body: "Helvetica Neue", Arial, sans-serif;
}

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

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

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

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9998;
  background: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 2px,
    rgba(0, 0, 0, 0.12) 2px,
    rgba(0, 0, 0, 0.12) 4px
  );
  opacity: 0.35;
}

.noise {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9997;
  opacity: 0.04;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

main {
  padding-bottom: calc(var(--dock-h) + 2rem);
}

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

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

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

/* Hero — full bleed overlay */

.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  background: var(--bg);
}

.hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.55;
  filter: saturate(1.1) contrast(1.05);
}

.hero__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(10, 10, 15, 0.2) 0%,
    rgba(10, 10, 15, 0.75) 55%,
    var(--bg) 100%
  );
}

.hero__content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 72rem;
  margin: 0 auto;
  padding: 3rem 1.5rem 4rem;
}

.hero__kicker {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
}

.hero__title {
  font-family: var(--font-mono);
  font-size: clamp(2.4rem, 8vw, 4.5rem);
  font-weight: 700;
  line-height: 1.05;
  margin: 0 0 0.35rem;
  text-shadow: 2px 0 var(--accent2), -2px 0 var(--accent);
}

.hero__subtitle {
  font-family: var(--font-mono);
  font-size: clamp(1rem, 2.5vw, 1.35rem);
  color: var(--muted);
  margin: 0 0 1.25rem;
}

.hero__tagline {
  max-width: 36rem;
  font-size: 1.05rem;
  color: rgba(232, 240, 240, 0.82);
  margin: 0 0 2rem;
}

.hero__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.9rem 1.4rem;
  border: 1px solid var(--accent);
  color: var(--text);
  background: rgba(0, 245, 255, 0.08);
  transition: background 0.2s, box-shadow 0.2s;
}

.hero__cta:hover {
  background: rgba(255, 0, 170, 0.12);
  box-shadow: 0 0 24px rgba(0, 245, 255, 0.25);
  color: var(--text);
}

/* Sections */

.section {
  max-width: 72rem;
  margin: 0 auto;
  padding: 4rem 1.5rem;
}

.section-head {
  margin-bottom: 2.5rem;
  text-align: left;
}

.section-head--right {
  text-align: right;
}

.section-head__label {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--accent2);
  margin-bottom: 0.5rem;
}

.section-head__title {
  font-family: var(--font-mono);
  font-size: clamp(1.5rem, 4vw, 2rem);
  margin: 0;
}

/* Vertical timeline features */

.timeline {
  position: relative;
  padding-left: 2rem;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 0.45rem;
  top: 0.5rem;
  bottom: 0.5rem;
  width: 2px;
  background: linear-gradient(180deg, var(--accent), var(--accent2));
  opacity: 0.45;
}

.timeline__item {
  position: relative;
  padding: 0 0 2.5rem 1.75rem;
}

.timeline__item:last-child {
  padding-bottom: 0;
}

.timeline__node {
  position: absolute;
  left: -1.55rem;
  top: 0.35rem;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--bg);
  border: 2px solid var(--accent);
  box-shadow: 0 0 12px rgba(0, 245, 255, 0.45);
}

.timeline__item:nth-child(even) .timeline__node {
  border-color: var(--accent2);
  box-shadow: 0 0 12px rgba(255, 0, 170, 0.35);
}

.timeline__title {
  font-family: var(--font-mono);
  font-size: 1.05rem;
  margin: 0 0 0.5rem;
  color: var(--text);
}

.timeline__body {
  margin: 0;
  color: rgba(232, 240, 240, 0.78);
  max-width: 38rem;
}

/* Film strip */

.film-band {
  background: var(--bg-panel);
  border-block: 1px solid var(--line);
  padding: 3.5rem 0;
  overflow: hidden;
}

.film-strip {
  display: flex;
  gap: 1.25rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 0 1.5rem 1rem;
  -webkit-overflow-scrolling: touch;
}

.film-strip::-webkit-scrollbar {
  height: 6px;
}

.film-strip::-webkit-scrollbar-thumb {
  background: var(--accent);
  border-radius: 3px;
}

.film-frame {
  flex: 0 0 min(280px, 72vw);
  scroll-snap-align: start;
  border: 1px solid var(--line);
  background: var(--bg);
  padding: 0.65rem;
  transform: rotate(-0.6deg);
}

.film-frame:nth-child(even) {
  transform: rotate(0.8deg);
}

.film-frame img {
  width: 100%;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  filter: contrast(1.05);
}

.film-frame__cap {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 0.65rem;
  text-align: center;
}

/* About prose */

.about-prose {
  max-width: 40rem;
  font-size: 1.02rem;
  color: rgba(232, 240, 240, 0.8);
}

.about-prose p {
  margin: 0 0 1rem;
}

/* Legal — side panels */

.legal-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .legal-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.legal-panel {
  background: var(--bg-panel);
  border: 1px solid var(--line);
  padding: 1.75rem;
}

.legal-panel h2 {
  font-family: var(--font-mono);
  font-size: 1rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin: 0 0 1rem;
  color: var(--accent);
}

.legal-panel h3 {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent2);
  margin: 1.25rem 0 0.5rem;
}

.legal-panel p,
.legal-panel li {
  font-size: 0.92rem;
  color: rgba(232, 240, 240, 0.75);
}

.legal-panel ul {
  margin: 0;
  padding-left: 1.1rem;
}

.legal-panel a {
  word-break: break-all;
}

.support-mail {
  display: inline-block;
  margin-top: 0.75rem;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  padding: 0.65rem 1rem;
  border: 1px solid var(--accent2);
  color: var(--text);
}

.support-mail:hover {
  background: rgba(255, 0, 170, 0.1);
  color: var(--text);
}

.site-foot {
  text-align: center;
  padding: 2rem 1.5rem 1rem;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

/* Bottom dock nav */

.dock {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 10000;
  height: var(--dock-h);
  display: flex;
  align-items: stretch;
  justify-content: center;
  gap: 0;
  background: rgba(10, 10, 15, 0.92);
  backdrop-filter: blur(12px);
  border-top: 1px solid var(--line);
}

.dock a {
  flex: 1;
  max-width: 7rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.25rem;
  font-family: var(--font-mono);
  font-size: 0.58rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  transition: color 0.15s;
}

.dock a:hover,
.dock a.is-active {
  color: var(--accent);
}

.dock a svg {
  width: 1.15rem;
  height: 1.15rem;
  fill: currentColor;
  opacity: 0.85;
}

@media (min-width: 900px) {
  .hero__content {
    padding-left: 2.5rem;
    padding-right: 2.5rem;
  }

  .section {
    padding-left: 2.5rem;
    padding-right: 2.5rem;
  }
}
