:root {
  --bg: #141311;
  --ink: #ece7dd;
  --muted: #8a8275;
  --accent: #e8502f;
  --serif: 'Cormorant Garamond', Georgia, serif;
  --mono: 'IBM Plex Mono', monospace;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; background: var(--bg); color: var(--ink); -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--accent); }
img { display: block; }
button { font: inherit; }

.page {
  min-height: 100vh;
  min-height: 100dvh;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  font-family: var(--serif);
}

/* Header */
.header {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 40px 36px 0;
  text-align: center;
}
.wordmark {
  font-size: 30px;
  font-weight: 300;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  line-height: 1;
  padding-left: 0.32em;
}
.label {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--muted);
}

/* Carousel */
.stage {
  position: relative;
  min-height: 0;
  padding: 36px 36px 28px;
  display: flex;
  align-items: stretch;
}
.slides { position: relative; flex: 1; min-height: 0; }
.slide {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 1.1s ease;
  pointer-events: none;
}
.slide.is-active { opacity: 1; }
.slide img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  box-shadow: 0 50px 80px -40px rgba(0, 0, 0, 0.8);
}
.arrow {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 36px;
  padding: 0;
  background: transparent;
  border: 0;
  color: var(--muted);
  cursor: pointer;
  font-family: var(--mono);
  font-size: 18px;
}
.arrow:hover { color: var(--ink); }
.arrow--prev { left: 0; }
.arrow--next { right: 0; }

/* Footer */
.footer {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: end;
  gap: 24px;
  padding: 0 36px 32px;
}
.counter, .copyright {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--muted);
}
.copyright { text-align: right; }
.cta-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
.cta {
  display: inline-flex;
  align-items: baseline;
  gap: 14px;
  font-size: 30px;
  font-style: italic;
  font-weight: 300;
  line-height: 1.1;
  border-bottom: 1px solid var(--ink);
  padding-bottom: 6px;
  text-align: center;
}
.cta:hover { border-bottom-color: var(--accent); }
.cta__arrow { font-family: var(--mono); font-size: 16px; font-style: normal; }

/* Mobile */
@media (max-width: 640px) {
  .header { padding: 28px 20px 0; }
  .wordmark { font-size: 22px; }
  .stage { padding: 24px 20px 20px; }
  .arrow { width: 24px; }
  .footer {
    grid-template-columns: 1fr 1fr;
    padding: 0 20px 24px;
    gap: 16px;
  }
  .cta-block { grid-column: 1 / -1; grid-row: 1; justify-self: center; }
  .cta { font-size: 24px; }
  .counter { grid-row: 2; }
  .copyright { grid-row: 2; }
}
