:root {
  --home-orange: #f57c00;
  --home-ink: #121820;
  --home-label: #8a3b00;
  --home-paper: #fbf8f4;
  --home-card: #ffffff;
  --home-line: #e6e0d6;
  --home-muted: #6f675f;
  --home-cream: #f3eee6;
}

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

html {
  scroll-behavior: smooth;
}

body.home {
  margin: 0;
  min-height: 100%;
  font-family: Inter, "Segoe UI", sans-serif;
  background: var(--home-paper);
  color: var(--home-ink);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

h1,
h2,
h3,
.home-stats dd,
.home-chapters span,
.home-rules span,
.home-photo-badge strong,
.home-ticker {
  font-family: "Instrument Serif", Georgia, serif;
  font-weight: 400;
  letter-spacing: -0.02em;
}

.home-wrap {
  width: min(1120px, calc(100% - 48px));
  margin-inline: auto;
}

.home-bar {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(230, 224, 214, 0.7);
  background: rgba(251, 248, 244, 0.88);
  backdrop-filter: blur(12px);
}

.home-bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 76px;
}

.home-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  text-decoration: none;
}

.home-brand-icon {
  width: 36px;
  height: 36px;
  object-fit: contain;
}

.home-brand-word {
  height: 28px;
  width: auto;
}

.home-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 0.92rem;
  color: var(--home-muted);
}

.home-nav a,
.home-text-link,
.home-foot a {
  text-decoration: none;
}

.home-nav a:hover,
.home-text-link:hover,
.home-foot a:hover {
  color: var(--home-ink);
}

.home-bar-actions {
  display: flex;
  align-items: center;
  gap: 18px;
}

.home-text-link {
  font-size: 0.92rem;
  color: var(--home-muted);
}

.home-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 0 20px;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 500;
}

.home-btn-ink {
  background: var(--home-ink);
  color: var(--home-paper);
}

.home-btn-orange {
  background: var(--home-orange);
  color: var(--home-ink);
  box-shadow: 0 12px 28px rgba(245, 124, 0, 0.28);
}

.home-btn-ghost {
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #fff;
  background: transparent;
}

.home-btn-ink:hover,
.home-btn-orange:hover {
  filter: brightness(1.06);
}

.home-btn-ghost:hover {
  background: rgba(255, 255, 255, 0.1);
}

.home-hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  color: #fff;
}

.home-hero-photo,
.home-cta img,
.home-band img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.home-hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top, rgba(18, 24, 32, 0.92), rgba(18, 24, 32, 0.55) 46%, rgba(18, 24, 32, 0.4)),
    linear-gradient(to top right, rgba(245, 124, 0, 0.28), transparent 55%);
}

.home-hero-glow {
  position: absolute;
  top: -8rem;
  right: -10%;
  width: 32rem;
  height: 32rem;
  border-radius: 50%;
  background: rgba(245, 124, 0, 0.28);
  filter: blur(120px);
  pointer-events: none;
}

.home-hero-copy {
  position: relative;
  padding: 7rem 0;
}

.home-pill,
.home-kicker {
  margin: 0;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.home-pill {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 16px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.9);
}

.home-kicker {
  color: var(--home-label);
}

.home-kicker-on-dark,
.home-kicker-light {
  color: var(--home-orange);
}

.home-kicker-light {
  color: rgba(255, 255, 255, 0.6);
}

.home-hero h1 {
  max-width: 16ch;
  margin: 28px 0 0;
  font-size: clamp(3rem, 8vw, 5.5rem);
  line-height: 1;
  text-wrap: balance;
}

.home-hero h1 em {
  font-style: italic;
  color: var(--home-orange);
}

.home-hero-lead,
.home-lead,
.home-cta p {
  max-width: 40rem;
  margin: 28px 0 0;
  font-size: 1.15rem;
  line-height: 1.65;
}

.home-hero-lead {
  color: rgba(255, 255, 255, 0.8);
}

.home-lead {
  color: var(--home-muted);
}

.home-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 36px;
}

.home-hero-quiet {
  margin: 22px 0 0;
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.6);
}

.home-hero-quiet a {
  color: #fff;
}

.home-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  max-width: 40rem;
  margin: 48px 0 0;
  padding: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.06);
}

.home-stats div {
  padding: 18px 22px;
}

.home-stats dt {
  order: 2;
  margin: 6px 0 0;
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
}

.home-stats dd {
  margin: 0;
  font-size: 1.9rem;
  line-height: 1;
}

.home-stats div {
  display: flex;
  flex-direction: column;
}

.home-ticker {
  overflow: hidden;
  border-block: 1px solid rgba(245, 124, 0, 0.4);
  background: var(--home-orange);
  color: var(--home-ink);
}

.home-ticker-track {
  display: flex;
  width: max-content;
  animation: home-marquee 32s linear infinite;
}

.home-ticker-group {
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 18px 28px 18px 0;
  font-size: 1.6rem;
  white-space: nowrap;
}

.home-ticker svg {
  width: 18px;
  height: 18px;
  flex: none;
}

.home-section {
  padding: 6.5rem 0;
}

.home-section h2,
.home-think h2,
.home-cta h2 {
  max-width: 18ch;
  margin: 16px 0 0;
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  line-height: 1.08;
  text-wrap: balance;
}

.home-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  margin-top: 56px;
}

.home-card {
  padding: 28px;
  border: 1px solid var(--home-line);
  border-radius: 16px;
  background: var(--home-card);
}

.home-icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--home-orange);
  color: var(--home-ink);
}

.home-icon svg {
  width: 20px;
  height: 20px;
}

.home-card h3,
.home-helps h3,
.home-chapters h3 {
  margin: 22px 0 0;
  font-size: 1.45rem;
  line-height: 1.2;
}

.home-card p,
.home-helps p {
  margin: 12px 0 0;
  color: var(--home-muted);
}

.home-band {
  position: relative;
  height: 46vh;
  min-height: 320px;
  margin-top: 72px;
  overflow: hidden;
}

.home-band p {
  position: absolute;
  left: max(24px, calc((100% - 1120px) / 2));
  bottom: 36px;
  max-width: 16rem;
  margin: 0;
  font-family: "Instrument Serif", Georgia, serif;
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  line-height: 1.15;
  color: #fff;
}

.home-think {
  position: relative;
  overflow: hidden;
  padding: 6.5rem 0;
  background: var(--home-ink);
  color: var(--home-paper);
}

.home-think::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.14;
  background-image:
    linear-gradient(rgba(251, 248, 244, 0.18) 1px, transparent 1px),
    linear-gradient(90deg, rgba(251, 248, 244, 0.18) 1px, transparent 1px);
  background-size: 56px 56px;
}

.home-think .home-wrap {
  position: relative;
}

.home-think h2 {
  max-width: 18ch;
}

.home-rules {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin: 56px 0 0;
  padding: 0;
  overflow: hidden;
  list-style: none;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.1);
}

.home-rules li {
  padding: 28px;
  background: var(--home-ink);
  font-family: "Instrument Serif", Georgia, serif;
  font-size: 1.45rem;
  line-height: 1.25;
}

.home-rules span {
  display: block;
  margin-bottom: 14px;
  font-size: 1.8rem;
  color: var(--home-orange);
}

.home-section-cream {
  background: rgba(243, 238, 230, 0.55);
  border-top: 1px solid var(--home-line);
}

.home-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.home-photo-card {
  position: relative;
}

.home-photo-card img {
  width: 100%;
  min-height: 420px;
  object-fit: cover;
  border-radius: 24px;
}

.home-photo-badge {
  position: absolute;
  right: -12px;
  bottom: -18px;
  margin: 0;
  padding: 16px 20px;
  border: 1px solid var(--home-line);
  border-radius: 16px;
  background: var(--home-card);
  box-shadow: 0 16px 32px rgba(18, 24, 32, 0.08);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--home-muted);
}

.home-photo-badge strong {
  display: block;
  margin-bottom: 4px;
  font-size: 2rem;
  letter-spacing: 0;
  text-transform: none;
  color: var(--home-orange);
}

.home-helps {
  margin: 36px 0 0;
  padding: 0;
  list-style: none;
}

.home-helps li + li {
  margin-top: 28px;
}

.home-helps h3 {
  margin-top: 0;
}

.home-points {
  font-size: 0.9rem;
}

.home-chapter-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 32px;
}

.home-chapter-note,
.home-chapter-aside {
  max-width: 22rem;
  margin: 0;
  color: var(--home-muted);
}

.home-chapters {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin: 48px 0 0;
  padding: 0;
  overflow: hidden;
  list-style: none;
  border: 1px solid var(--home-line);
  border-radius: 16px;
  background: var(--home-line);
}

.home-chapters li {
  min-height: 100%;
  padding: 28px;
  background: var(--home-card);
}

.home-chapters span {
  display: inline-block;
  font-size: 1.9rem;
  color: var(--home-orange);
}

.home-chapters h3 {
  margin-top: 14px;
}

.home-chapters p {
  margin: 8px 0 0;
  font-size: 0.92rem;
  color: var(--home-muted);
}

.home-chapter-aside {
  max-width: 46rem;
  margin-top: 28px;
}

.home-cta {
  position: relative;
  overflow: hidden;
  padding: 8rem 24px;
  text-align: center;
  color: #fff;
}

.home-cta::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    rgba(18, 24, 32, 0.75),
    linear-gradient(to top right, rgba(245, 124, 0, 0.28), transparent 60%);
}

.home-cta-copy {
  position: relative;
  z-index: 1;
  max-width: 40rem;
  margin: 0 auto;
}

.home-cta h2 {
  max-width: none;
}

.home-cta p {
  margin-left: auto;
  margin-right: auto;
  color: rgba(255, 255, 255, 0.8);
}

.home-cta .home-btn {
  margin-top: 36px;
}

.home-foot {
  padding: 64px 0 28px;
  background: var(--home-ink);
  color: var(--home-paper);
}

.home-foot-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 0.8fr 1.1fr;
  gap: 40px;
}

.home-foot-brand p,
.home-foot ul {
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
  color: rgba(251, 248, 244, 0.6);
  font-size: 0.92rem;
  line-height: 1.6;
}

.home-foot li + li {
  margin-top: 8px;
}

.home-foot-label {
  margin: 0;
  font-weight: 600;
}

.home-foot-base {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-top: 48px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(251, 248, 244, 0.45);
  font-size: 0.8rem;
}

@keyframes home-marquee {
  to {
    transform: translateX(-50%);
  }
}

@media (max-width: 980px) {
  .home-nav {
    display: none;
  }

  .home-stats,
  .home-cards,
  .home-rules,
  .home-split,
  .home-chapters,
  .home-foot-grid {
    grid-template-columns: 1fr;
  }

  .home-stats {
    grid-template-columns: 1fr 1fr;
  }

  .home-chapter-head,
  .home-foot-base,
  .home-bar-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .home-photo-badge {
    right: 12px;
  }

  .home-brand-word {
    height: 24px;
  }
}

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

  .home-ticker-track {
    animation: none;
  }
}
