:root {
  --bg: #121212;
  --surface: #1e1e1e;
  --raised: #2a2a2a;
  --accent: #7c3aed;
  --teal: #14b8a6;
  --amber: #f59e0b;
  --text: #fafafa;
  --muted: #71717a;
  --panel: 15rem;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  line-height: 1.45;
}

.bench {
  display: grid;
  grid-template-columns: var(--panel) minmax(0, 1fr);
  min-height: 100vh;
}

.split-panel {
  position: sticky;
  top: 0;
  align-self: start;
  height: 100vh;
  padding: 2rem 1.25rem;
  border-right: 1px solid #2a2a2a;
  background: #0e0e0e;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.split-panel__mark {
  margin: 0;
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--accent);
}
.split-panel__aside {
  margin: 0;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--teal);
}
.split-panel__nav {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  margin-top: 1rem;
}
.split-panel__nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.92rem;
}
.split-panel__nav a:hover,
.split-panel__nav a.is-active {
  color: var(--text);
}

.bench-col { min-width: 0; padding: 0 8vw 6rem; }

.editorial {
  padding: 4.5rem 0 3rem;
}
.editorial__kicker {
  margin: 0;
  text-align: right;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--teal);
}
.editorial__display {
  margin: 0.4rem 0 0;
  font-size: clamp(4.2rem, 14vw, 10rem);
  line-height: 0.82;
  letter-spacing: -0.06em;
  font-weight: 800;
}
.editorial__sub {
  margin: 0.35rem 0 0;
  font-size: clamp(1.4rem, 4vw, 2.4rem);
  font-weight: 500;
  color: var(--amber);
}
.editorial__tag {
  max-width: 36rem;
  margin: 1.6rem 0 0 auto;
  text-align: right;
  font-size: 1.15rem;
  color: #d4d4d8;
}
.editorial__plate {
  margin: 2.4rem 0 0;
  border-radius: 14px;
  overflow: hidden;
  background: var(--surface);
}
.editorial__plate img {
  display: block;
  width: 100%;
  height: auto;
}

.intro--right {
  text-align: right;
  margin: 0 0 2rem auto;
  max-width: 28rem;
}
.intro--right h2 {
  margin: 0 0 0.4rem;
  font-size: 1.7rem;
}
.intro--right p {
  margin: 0;
  color: var(--muted);
}

.step-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
}
.step-list li {
  display: grid;
  grid-template-columns: 4.5rem minmax(0, 1fr);
  gap: 1rem;
  padding: 1.1rem 0;
  border-top: 1px solid #2a2a2a;
}
.step-list__n {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 1.4rem;
  color: var(--accent);
}
.step-list h3 { margin: 0 0 0.35rem; }
.step-list p { margin: 0; color: #d4d4d8; }

.vignettes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.7rem;
  margin-top: 2rem;
}
.vignettes img {
  width: 100%;
  height: 8.5rem;
  object-fit: cover;
  border-radius: 10px;
}

#screens { padding: 3rem 0 4rem; }
.polaroids {
  position: relative;
  min-height: 34rem;
  margin-top: 1rem;
}
.polaroid {
  position: absolute;
  width: min(42%, 220px);
  padding: 0.55rem 0.55rem 1.6rem;
  background: #f4f4f5;
  color: #18181b;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45);
}
.polaroid img {
  display: block;
  width: 100%;
  height: auto;
}
.polaroid figcaption {
  margin-top: 0.45rem;
  font-size: 0.72rem;
  font-family: ui-monospace, Menlo, monospace;
}
.polaroid--a { left: 4%; top: 0; transform: rotate(-8deg); }
.polaroid--b { left: 32%; top: 2.4rem; transform: rotate(5deg); z-index: 2; }
.polaroid--c { left: 58%; top: 0.4rem; transform: rotate(-3deg); }
.polaroid--d { left: 18%; top: 16rem; transform: rotate(7deg); z-index: 1; }
.polaroid--e { left: 48%; top: 17rem; transform: rotate(-6deg); }

.legal-sheet {
  position: relative;
  margin: 2rem 0 0;
  padding: 2.4rem 1.6rem 2.2rem;
  background: var(--surface);
  border-radius: 18px 18px 0 0;
  box-shadow: 0 -24px 60px rgba(0, 0, 0, 0.35);
}
.legal-sheet__tab {
  position: absolute;
  top: -0.85rem;
  right: 1.4rem;
  background: var(--accent);
  color: #fff;
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 0.28rem 0.7rem;
  border-radius: 6px 6px 0 0;
}
.legal-sheet h2 {
  margin: 0 0 0.55rem;
  font-size: 1.15rem;
  color: var(--teal);
}
.legal-sheet p {
  margin: 0 0 1rem;
  color: #d4d4d8;
  max-width: 40rem;
}
.mail {
  color: var(--amber);
  text-decoration: none;
  font-family: ui-monospace, Menlo, monospace;
}

.dock {
  display: none;
}

@media (max-width: 860px) {
  .bench { grid-template-columns: 1fr; }
  .split-panel { display: none; }
  .bench-col { padding: 0 1.25rem 5.5rem; }
  .editorial__tag,
  .intro--right { text-align: left; margin-left: 0; margin-right: 0; }
  .polaroids { min-height: 48rem; }
  .polaroid { width: 44%; }
  .polaroid--d { top: 22rem; }
  .polaroid--e { top: 24rem; }
  .dock {
    display: flex;
    position: fixed;
    left: 0.8rem;
    right: 0.8rem;
    bottom: 0.8rem;
    z-index: 20;
    justify-content: space-around;
    background: #1e1e1e;
    border: 1px solid #2a2a2a;
    border-radius: 999px;
    padding: 0.65rem 0.4rem;
  }
  .dock a {
    color: var(--muted);
    text-decoration: none;
    font-size: 0.78rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
