:root {
  --bg: #0a0a0d;
  --surface: #1c1c21;
  --raised: #29292e;
  --ink: #ffffff;
  --muted: #9e9ea6;
  --accent: #eb1f2e;
  --paper: #f4efe6;
  --ink-dark: #16161a;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Avenir Next", "Segoe UI", sans-serif;
  line-height: 1.5;
}

.margin-rail {
  position: fixed;
  top: 18%;
  right: 14px;
  z-index: 4;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.margin-rail a {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 1px solid var(--accent);
  background: transparent;
  position: relative;
}

.margin-rail a.is-here { background: var(--accent); }

.margin-rail span {
  position: absolute;
  right: 22px;
  top: -6px;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  opacity: 0;
  white-space: nowrap;
}

.margin-rail a:hover span,
.margin-rail a:focus span { opacity: 1; }

main {
  width: min(1080px, calc(100% - 72px));
  margin: 0 auto;
  padding: 48px 0 96px;
}

.hero {
  position: relative;
  min-height: 78vh;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 28px;
  align-items: end;
  overflow: hidden;
  padding: 48px 0 32px;
}

.hero-band {
  position: absolute;
  width: 140%;
  height: 42%;
  left: -20%;
  top: 18%;
  background: linear-gradient(115deg, transparent 0 38%, var(--accent) 38% 46%, transparent 46%);
  transform: rotate(-8deg);
  pointer-events: none;
}

.hero-copy { position: relative; z-index: 1; }

.eyebrow,
.kicker {
  margin: 0 0 8px;
  color: var(--accent);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 12px;
}

h1 {
  margin: 0;
  font-size: clamp(56px, 8vw, 96px);
  line-height: 0.9;
  font-weight: 700;
}

.tagline {
  max-width: 34ch;
  font-size: 20px;
  color: var(--muted);
}

.hero-plate {
  margin: 0;
  position: relative;
  z-index: 1;
}

.hero-plate img,
.tile img {
  width: 100%;
  display: block;
  border-radius: 18px;
  object-fit: cover;
}

.hero-plate img { height: 320px; }

.intro { max-width: 46ch; margin: 72px 0; }

.intro-right { margin-left: auto; text-align: right; }

.intro-left { text-align: left; }

h2 { margin: 0 0 10px; font-size: 36px; line-height: 1.1; }

.bento {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  grid-auto-rows: minmax(160px, auto);
  gap: 14px;
}

.tile {
  background: var(--surface);
  border-radius: 22px;
  padding: 22px;
}

.tile-wide { grid-column: span 2; background: var(--raised); }

.tile-tall { grid-row: span 2; }

.tile h3 { margin: 0 0 8px; font-size: 22px; }

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

.tile-tall img { height: 180px; margin-bottom: 16px; }

.polaroids {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px 18px;
  padding: 12px 0 40px;
}

.shot {
  margin: 0;
  background: var(--paper);
  color: var(--ink-dark);
  padding: 10px 10px 28px;
  box-shadow: 0 16px 30px rgba(0, 0, 0, 0.35);
}

.shot img { width: 100%; height: 280px; object-fit: cover; object-position: top; display: block; }

.shot figcaption {
  margin-top: 10px;
  text-align: center;
  font-family: "Iowan Old Style", Georgia, serif;
  font-size: 15px;
}

.tilt-a { transform: rotate(-4deg); }
.tilt-b { transform: rotate(3deg); margin-top: 28px; }
.tilt-c { transform: rotate(-2deg); }
.tilt-d { transform: rotate(5deg); margin-top: 18px; }
.tilt-e { transform: rotate(-6deg); }
.tilt-f { transform: rotate(2deg); margin-top: 22px; }
.tilt-g { transform: rotate(-3deg); grid-column: 2 / span 2; }

.legal { margin-top: 64px; }

.kicker-right { text-align: right; }

details {
  background: var(--surface);
  border-radius: 16px;
  margin-top: 12px;
  padding: 8px 18px 12px;
}

summary {
  cursor: pointer;
  font-size: 20px;
  padding: 10px 0;
}

.prose p { color: var(--muted); }

a { color: var(--accent); }

@media (max-width: 800px) {
  .hero, .bento, .polaroids { grid-template-columns: 1fr; }
  .tile-wide, .tilt-g { grid-column: auto; }
  .margin-rail { top: auto; bottom: 16px; right: 12px; flex-direction: row; }
  .intro-right { text-align: left; }
  main { width: min(1080px, calc(100% - 32px)); }
}
