:root {
  --bg: #dfe0e9;
  --surface: #f4f5f7;
  --text: #16202a;
  --muted: #6378a7;
  --accent: #b06b2e;
  --accent2: #386659;
  --hairline: rgba(22, 32, 42, 0.12);
  --dock-h: 3.25rem;
  font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.55;
}

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

body {
  margin: 0;
  padding-bottom: calc(var(--dock-h) + 1.5rem);
}

.skip {
  position: absolute;
  left: -9999px;
}

.skip:focus {
  left: 1rem;
  top: 1rem;
  z-index: 100;
  background: var(--surface);
  padding: 0.5rem 1rem;
}

.page {
  max-width: 44rem;
  margin: 0 auto;
  padding: 2rem 1.25rem 3rem;
}

.hero.editorial-type {
  padding: 2.5rem 0 2rem;
}

.hero-kicker {
  font: 600 0.7rem/1.2 ui-monospace, monospace;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 1rem;
}

.hero h1 {
  margin: 0;
  font-size: clamp(2.75rem, 12vw, 4.5rem);
  font-weight: 650;
  font-stretch: condensed;
  line-height: 0.95;
  letter-spacing: -0.02em;
}

.hero-line1 {
  display: block;
  color: var(--text);
}

.hero-line2 {
  display: block;
  color: var(--muted);
  font-weight: 600;
}

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

.hero-rule {
  margin-top: 2rem;
  height: 2px;
  width: 4.5rem;
  background: linear-gradient(90deg, var(--accent), transparent);
  opacity: 0.85;
}

.band {
  margin-top: 3.5rem;
}

.intro h2 {
  margin: 0 0 0.5rem;
  font-size: 1.5rem;
  font-weight: 650;
}

.intro-lead {
  margin: 0;
  color: var(--muted);
  max-width: 38ch;
}

.intro-left {
  text-align: left;
  margin-bottom: 1.5rem;
}

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

.prose-block h3 {
  margin: 2rem 0 0.35rem;
  font-size: 1.05rem;
  color: var(--accent2);
}

.prose-block h3:first-child {
  margin-top: 0;
}

.prose-block p {
  margin: 0 0 1rem;
  max-width: 42rem;
}

.carousel-peek .carousel {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 0.5rem;
  align-items: center;
}

.carousel-track {
  display: flex;
  gap: 0.75rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding: 0.5rem;
  padding: 0.25rem 0.5rem 0.75rem;
  -webkit-overflow-scrolling: touch;
}

.carousel-slide {
  flex: 0 0 min(78vw, 18rem);
  scroll-snap-align: start;
  margin: 0;
  border-radius: 6px;
  overflow: hidden;
  background: var(--surface);
  box-shadow: 0 8px 24px var(--hairline);
}

.carousel-slide img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  object-fit: cover;
}

.carousel-slide:last-child img {
  aspect-ratio: 16 / 9;
}

.carousel-btn {
  border: 1px solid var(--hairline);
  background: var(--surface);
  color: var(--text);
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 999px;
  font-size: 1.25rem;
  cursor: pointer;
}

.hero-visual {
  margin-top: 2.5rem;
}

.hero-wide {
  width: 100%;
  height: auto;
  border-radius: 8px;
  display: block;
  box-shadow: 0 12px 40px var(--hairline);
}

.legal-sheet {
  margin-top: 4rem;
  background: var(--surface);
  border-radius: 12px 12px 0 0;
  box-shadow: 0 -4px 32px var(--hairline);
  padding: 2rem 1.25rem 2.5rem;
}

.sheet-inner {
  max-width: 40rem;
  margin: 0 auto;
}

.legal-sheet h2 {
  margin: 0 0 1rem;
  font-size: 1.35rem;
}

.legal-sheet p {
  margin: 0 0 0.85rem;
  color: var(--text);
}

.legal-sheet article + article {
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--hairline);
}

.support-mail a {
  color: var(--accent);
  font-weight: 600;
}

.bottom-dock {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  height: var(--dock-h);
  display: flex;
  justify-content: space-around;
  align-items: center;
  background: rgba(244, 245, 247, 0.92);
  backdrop-filter: blur(10px);
  border-top: 1px solid var(--hairline);
  z-index: 50;
}

.bottom-dock a {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--muted);
  text-decoration: none;
  padding: 0.35rem 0.5rem;
}

.bottom-dock a:focus,
.bottom-dock a:hover {
  color: var(--accent);
}

@media (min-width: 720px) {
  .page {
    padding-left: 2rem;
    padding-right: 2rem;
  }

  .carousel-slide {
    flex-basis: 16rem;
  }
}
