:root {
  --bg: #fff3e4;
  --card: #fffbf6;
  --ink: #2a1b16;
  --muted: #6b5348;
  --coral: #f26b5b;
  --lagoon: #1aa6a6;
  --line: #e7d3c4;
  --side: 220px;
}

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

.shell {
  display: grid;
  grid-template-columns: var(--side) 1fr;
  min-height: 100vh;
}

.side-nav {
  position: sticky;
  top: 0;
  align-self: start;
  min-height: 100vh;
  padding: 1.5rem 1rem;
  background: var(--card);
  border-right: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.side-brand {
  font-weight: 700;
  font-size: 1.05rem;
  margin: 0;
  color: var(--coral);
}

.side-nav nav {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.side-nav a {
  color: var(--ink);
  text-decoration: none;
  padding: 0.35rem 0.5rem;
  border-radius: 8px;
  font-size: 0.95rem;
}

.side-nav a:hover,
.side-nav a:focus-visible {
  background: var(--bg);
  outline: none;
}

.side-mail {
  margin-top: auto;
  font-size: 0.85rem;
  color: var(--lagoon);
  word-break: break-word;
}

.content {
  padding: 2rem clamp(1.25rem, 4vw, 3rem) 3rem;
  max-width: 920px;
}

.hero.collage {
  display: grid;
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.hero h1 {
  font-size: clamp(2rem, 4vw, 2.75rem);
  margin: 0 0 0.5rem;
  letter-spacing: -0.02em;
}

.tagline {
  font-size: 1.15rem;
  color: var(--muted);
  max-width: 36ch;
  margin: 0;
}

.collage-stack {
  position: relative;
  min-height: 280px;
}

.collage-stack img {
  border-radius: 18px;
  object-fit: cover;
  box-shadow: 0 18px 40px rgba(42, 27, 22, 0.12);
  max-width: 72%;
}

.collage-stack img:first-child { width: 72%; }
.collage-stack .overlap {
  position: absolute;
  right: 4%;
  top: 18%;
  width: 48%;
  transform: rotate(2deg);
}
.collage-stack .overlap.late {
  right: 22%;
  top: 42%;
  width: 44%;
  transform: rotate(-3deg);
}

.band {
  margin-bottom: 3rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--line);
}

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

.steps {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0 0;
  counter-reset: step;
}

.steps li {
  counter-increment: step;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  padding: 1rem 0;
  border-top: 1px dashed var(--line);
}

.steps li::before {
  content: counter(step);
  font-weight: 800;
  font-size: 1.5rem;
  color: var(--coral);
  line-height: 1;
}

.steps strong { display: block; margin-bottom: 0.25rem; }
.steps span { color: var(--muted); }

.carousel {
  position: relative;
  margin-top: 1.5rem;
}

.car-track {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 0.5rem 2.5rem;
  scrollbar-width: thin;
}

.car-track figure {
  flex: 0 0 78%;
  scroll-snap-align: center;
  margin: 0;
}

.car-track img {
  width: 100%;
  border-radius: 16px;
  display: block;
}

.car-track figcaption {
  font-size: 0.9rem;
  color: var(--muted);
  margin-top: 0.5rem;
}

.car-btn {
  position: absolute;
  top: 40%;
  transform: translateY(-50%);
  border: none;
  background: var(--card);
  color: var(--ink);
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 999px;
  box-shadow: 0 4px 14px rgba(0,0,0,0.08);
  cursor: pointer;
  z-index: 2;
}

.car-btn.prev { left: 0; }
.car-btn.next { right: 0; }

.about p { max-width: 62ch; color: var(--muted); }

.legal details {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 0.75rem 1rem;
  margin-top: 1rem;
}

.legal summary {
  cursor: pointer;
  font-weight: 700;
}

.legal-body h3 {
  font-size: 1rem;
  margin-top: 1.25rem;
}

.legal-body a { color: var(--lagoon); }

.foot {
  font-size: 0.85rem;
  color: var(--muted);
  padding-top: 1rem;
}

@media (max-width: 820px) {
  .shell { grid-template-columns: 1fr; }
  .side-nav {
    position: relative;
    min-height: auto;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
  }
  .side-nav nav { flex-direction: row; flex-wrap: wrap; }
  .side-mail { margin-top: 0; width: 100%; }
  .collage-stack .overlap,
  .collage-stack .overlap.late { position: relative; right: auto; top: auto; width: 100%; transform: none; margin-top: 0.75rem; }
}
