@font-face {
  font-family: 'Avaterra';
  src: url('./assets/font/AvaterraPersonalUseOnly-2v1oX.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

:root {
  --sand: #f2e3c3;
  --paper: #fff8e8;
  --ink: #251f19;
  --muted: #726451;
  --line: #d8bd8d;
  --red: #983e34;
  --green: #2d6a55;
  --gold: #b47b27;
  --night: #171714;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--sand);
  font-family: 'Avaterra', Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
}

a {
  color: inherit;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 14px 28px;
  background: color-mix(in srgb, var(--night) 82%, transparent);
  color: #fff4dc;
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(255, 244, 220, .18);
}

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

.brand-mark {
  flex: 0 0 auto;
  width: 62px;
  height: 78px;
  display: grid;
  place-items: center;
  overflow: visible;
}

.brand-mark img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.brand > span:last-child {
  min-width: 0;
}

.brand strong,
.brand small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.brand small {
  color: #d9caa9;
  font-size: 12px;
}

.header-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 6px;
}

.header-nav a {
  padding: 8px 10px;
  border-radius: 8px;
  color: #fff4dc;
  text-decoration: none;
  font-size: 14px;
}

.header-nav .nav-disabled {
  padding: 8px 10px;
  border-radius: 8px;
  color: rgba(255, 244, 220, .56);
  font-size: 14px;
  cursor: not-allowed;
}

.header-nav a:hover {
  background: rgba(255, 244, 220, .12);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  place-items: center;
  align-content: center;
  gap: 5px;
  border: 1px solid rgba(255, 244, 220, .28);
  border-radius: 8px;
  background: rgba(255, 244, 220, .08);
  color: #fff4dc;
  cursor: pointer;
}

.menu-toggle span {
  width: 20px;
  height: 2px;
  display: block;
  border-radius: 999px;
  background: currentColor;
  transition:
    transform .22s ease,
    opacity .22s ease;
}

.menu-toggle:hover,
.menu-toggle:focus-visible {
  background: rgba(255, 244, 220, .14);
  outline: 0;
}

.menu-toggle:focus-visible {
  box-shadow: 0 0 0 3px rgba(227, 183, 94, .35);
}

.hero {
  position: relative;
  min-height: 92vh;
  display: grid;
  align-items: end;
  overflow: hidden;
  background: var(--night);
}

.hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(18, 16, 12, .88), rgba(18, 16, 12, .42), rgba(18, 16, 12, .18)),
    linear-gradient(0deg, rgba(18, 16, 12, .92), transparent 46%);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 820px;
  padding: 150px 32px 74px;
  color: #fff4dc;
}

.eyebrow {
  margin: 0 0 10px;
  color: #e3b75e;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 18px;
  font-size: clamp(56px, 9vw, 120px);
  line-height: .92;
  letter-spacing: 0;
}

.lead {
  max-width: 690px;
  color: #f0dfbf;
  font-size: clamp(18px, 2.2vw, 24px);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 16px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 800;
  border: 1px solid transparent;
}

.button.primary {
  background: var(--red);
  color: #fff4dc;
}

.button.secondary {
  border-color: rgba(255, 244, 220, .38);
  color: #fff4dc;
  background: rgba(255, 244, 220, .08);
}

.section-band {
  padding: 86px 32px;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 28px;
}

.section-heading h2,
.event-copy h2,
.feature-copy h2 {
  margin-bottom: 14px;
  font-size: clamp(32px, 4vw, 58px);
  line-height: 1;
  letter-spacing: 0;
}

.event {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 12% 18%, rgba(180, 123, 39, .24), transparent 26%),
    linear-gradient(135deg, #2b251d 0%, #3a2c22 54%, #241f19 100%);
  color: #fff4dc;
}

.event::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(
      -14deg,
      rgba(255, 244, 220, .03) 0 76px,
      rgba(255, 244, 220, .08) 76px 138px,
      transparent 138px 232px
    );
  pointer-events: none;
}

.event-panel {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 32px;
  max-width: 1180px;
  margin: 0 auto;
}

.event-copy {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 14px;
  max-width: 940px;
  margin-bottom: 0;
}

.event-copy .eyebrow,
.event-copy h2,
.event-copy > p,
.event-copy .event-stand-note,
.event-copy .event-details,
.event-copy .button {
  grid-column: 1;
}

.event-copy .button {
  justify-self: start;
}

.event-copy p {
  max-width: 720px;
  color: #d9caa9;
}

.event-stand-note {
  display: grid;
  gap: 6px;
  max-width: 720px;
  margin-top: 18px;
  padding: 16px;
  border: 1px solid rgba(227, 183, 94, .34);
  border-radius: 8px;
  background: rgba(255, 244, 220, .08);
  box-shadow: 0 18px 45px rgba(0, 0, 0, .16);
}

.event-stand-note strong {
  color: #fff4dc;
  font-size: 24px;
  line-height: 1.05;
}

.event-stand-note span {
  color: #d9caa9;
}

.event-details {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  max-width: 940px;
  margin: 8px 0 0;
}

.event-details span {
  min-width: 0;
  padding: 14px;
  border: 1px solid rgba(255, 244, 220, .18);
  border-radius: 8px;
  background: rgba(255, 244, 220, .08);
  color: #f0dfbf;
}

.event-details strong {
  display: block;
  margin-bottom: 4px;
  color: #e3b75e;
  font-size: 13px;
  text-transform: uppercase;
}

.event-carousel {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr) 46px;
  gap: 12px;
  align-items: center;
  width: 100%;
}

.carousel-button {
  width: 46px;
  height: 46px;
  border: 1px solid rgba(255, 244, 220, .28);
  border-radius: 8px;
  background: rgba(255, 244, 220, .1);
  color: #fff4dc;
  font-size: 34px;
  line-height: 1;
  cursor: pointer;
}

.carousel-button:hover,
.carousel-button:focus-visible {
  background: rgba(255, 244, 220, .18);
  outline: 0;
}

.carousel-button:disabled {
  cursor: default;
  opacity: .38;
}

.event-cards {
  display: grid;
  grid-auto-columns: clamp(260px, 31%, 340px);
  grid-auto-flow: column;
  gap: 14px;
  align-items: stretch;
  overflow-x: auto;
  padding: 4px 4px 22px;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
  scrollbar-color: rgba(227, 183, 94, .82) rgba(255, 244, 220, .16);
}

.event-cards:focus-visible {
  outline: 3px solid rgba(227, 183, 94, .5);
  outline-offset: 4px;
}

.event-card {
  --tilt: 0deg;
  display: grid;
  grid-template-rows: auto 1fr;
  gap: 10px;
  min-width: 0;
  padding: 10px;
  border-radius: 8px;
  background: #fff8e8;
  box-shadow: 0 24px 55px rgba(0, 0, 0, .24);
  scroll-snap-align: start;
}

.event-card img {
  display: block;
  width: 100%;
  aspect-ratio: 1.42;
  border-radius: 6px;
  background: #efe0bd;
  object-fit: cover;
}

.event-card.logo-card img {
  padding: 18px;
  object-fit: contain;
}

.event-card.lucky-card img {
  object-position: center;
}

.event-card-body {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  min-height: 132px;
}

.event-date {
  display: grid;
  place-items: center;
  align-self: stretch;
  border-right: 1px solid #d8bd8d;
  color: #983e34;
}

.event-date small {
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .08em;
}

.event-date strong {
  margin-top: -10px;
  color: var(--ink);
  font-size: 28px;
  line-height: 1;
  text-align: center;
}

.event-card-body p,
.event-card-body h3 {
  margin: 0;
}

.event-card-body p {
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.event-card-body h3 {
  color: var(--ink);
  font-size: clamp(18px, 1.7vw, 22px);
  line-height: 1;
}

.event-card-subtitle {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 13px;
}

.event-card-description {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.35;
}

.event-card-schedule {
  display: grid;
  gap: 3px;
  margin-top: 10px;
  padding: 9px 10px;
  border: 1px solid #d8bd8d;
  border-radius: 8px;
  background: #f7ecd2;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.3;
}

.event-card-schedule strong {
  color: var(--red);
  font-size: 12px;
  text-transform: uppercase;
}

.event-card-button {
  width: 100%;
  min-height: 40px;
  margin-top: 10px;
  border: 1px solid #d8bd8d;
  border-radius: 8px;
  background: #e8d7b2;
  color: #726451;
  font: inherit;
  font-weight: 900;
  cursor: not-allowed;
  opacity: .78;
}

.intro-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.intro-grid article,
.feature-list div,
.agenda-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: color-mix(in srgb, var(--paper) 92%, transparent);
  box-shadow: 0 18px 50px rgba(63, 42, 21, .12);
}

.intro-grid article {
  padding: 24px;
}

.intro-grid h3,
.agenda-panel h3 {
  margin-bottom: 8px;
  font-size: 20px;
}

.intro-grid p,
.systems .section-heading > p:not(.eyebrow),
.system-card p,
.allies .section-heading > p:not(.eyebrow),
.artists .section-heading > p:not(.eyebrow),
.artist-card p,
.feature-copy p,
.feature-list p,
.agenda-panel p,
.agenda-panel li {
  color: var(--muted);
}

.systems {
  background: #f8ecd0;
}

.systems-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.system-card {
  display: grid;
  align-content: start;
  gap: 16px;
  min-height: 310px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: color-mix(in srgb, var(--paper) 94%, transparent);
  box-shadow: 0 18px 50px rgba(63, 42, 21, .12);
}

.system-logo {
  display: grid;
  place-items: center;
  min-height: 138px;
}

.system-logo img {
  display: block;
  max-width: min(100%, 360px);
  max-height: 126px;
  object-fit: contain;
}

.system-card h3 {
  margin-bottom: 0;
  font-size: 24px;
}

.feature {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(320px, 1.1fr);
  gap: 28px;
  background: #27251d;
  color: #fff4dc;
}

.feature-copy {
  align-self: center;
}

.feature-copy p,
.feature-list p {
  color: #d9caa9;
}

.feature-list {
  display: grid;
  gap: 12px;
}

.feature-list div {
  padding: 22px;
  background: rgba(255, 244, 220, .08);
  border-color: rgba(255, 244, 220, .16);
}

.feature-list span {
  display: block;
  margin-bottom: 12px;
  color: #e3b75e;
  font-weight: 900;
}

.feature-list strong {
  display: block;
  margin-bottom: 6px;
  font-size: 22px;
}

.allies {
  background:
    linear-gradient(180deg, rgba(255, 248, 232, .78), rgba(242, 227, 195, .94)),
    var(--sand);
}

.allies-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 14px;
}

.ally-card {
  display: grid;
  align-content: space-between;
  gap: 18px;
  min-height: 242px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: color-mix(in srgb, var(--paper) 92%, transparent);
  box-shadow: 0 18px 50px rgba(63, 42, 21, .12);
}

.ally-card img {
  width: 100%;
  height: 150px;
  display: block;
  border-radius: 8px;
  object-fit: contain;
  background: #fffaf0;
}

.ally-card h3 {
  margin: 0;
  color: var(--ink);
  font-size: 18px;
  line-height: 1.15;
}

.artists {
  background: #fff8e8;
}

.artists-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.artist-card {
  display: grid;
  grid-template-columns: 116px minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  min-height: 156px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: color-mix(in srgb, var(--paper) 94%, transparent);
  box-shadow: 0 18px 50px rgba(63, 42, 21, .12);
}

.artist-card img {
  width: 116px;
  height: 116px;
  display: block;
  border-radius: 8px;
  object-fit: cover;
  box-shadow: inset 0 0 0 1px rgba(37, 31, 25, .1);
}

.artist-card h3 {
  margin-bottom: 6px;
  color: var(--ink);
  font-size: 22px;
}

.agenda {
  background: var(--paper);
}

.agenda-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 22px;
  padding: 28px;
}

.agenda-panel ul {
  margin: 0;
  padding-left: 20px;
}

.callout {
  display: grid;
  align-content: center;
  gap: 16px;
  padding: 22px;
  border-radius: 8px;
  background: #efe0bd;
}

.callout .button {
  justify-self: start;
}

@media (max-width: 860px) {
  .site-header {
    position: fixed;
    align-items: center;
    flex-direction: row;
    flex-wrap: wrap;
    padding: 12px 18px;
  }

  .brand {
    flex: 1 1 auto;
  }

  .menu-toggle {
    display: inline-grid;
  }

  .site-header.nav-open .menu-toggle span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .site-header.nav-open .menu-toggle span:nth-child(2) {
    opacity: 0;
  }

  .site-header.nav-open .menu-toggle span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .header-nav {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr;
    gap: 4px;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px);
    transition:
      max-height .28s ease,
      opacity .2s ease,
      transform .2s ease,
      padding-top .2s ease;
  }

  .site-header.nav-open .header-nav {
    max-height: calc(100vh - 104px);
    opacity: 1;
    overflow: auto;
    pointer-events: auto;
    transform: translateY(0);
    padding-top: 10px;
  }

  .header-nav a {
    width: 100%;
    padding: 10px 12px;
    background: rgba(255, 244, 220, .06);
  }

  .hero-content {
    padding: 210px 18px 52px;
  }

  .section-band {
    padding: 64px 18px;
  }

  .intro-grid,
  .event-panel,
  .event-copy,
  .event-details,
  .systems-grid,
  .allies-grid,
  .artists-grid,
  .feature,
  .agenda-panel {
    grid-template-columns: 1fr;
  }

  .event-panel {
    padding: 0;
  }

  .event-copy .eyebrow,
  .event-copy h2,
  .event-copy > p,
  .event-copy .event-stand-note,
  .event-copy .event-details,
  .event-copy .button {
    grid-column: 1;
  }

  .event-carousel {
    grid-template-columns: 38px minmax(0, 1fr) 38px;
    gap: 8px;
  }

  .carousel-button {
    width: 38px;
    height: 42px;
    font-size: 28px;
  }

  .event-cards {
    grid-auto-columns: minmax(220px, 100%);
    grid-auto-flow: column;
    grid-template-columns: none;
    gap: 12px;
    overflow-x: auto;
    padding: 2px 4px 18px;
    scroll-snap-type: x mandatory;
    scrollbar-width: thin;
  }

  .event-card,
  .event-card:nth-child(1),
  .event-card:nth-child(2),
  .event-card:nth-child(3),
  .event-card:nth-child(4) {
    margin: 0;
    transform: none;
    scroll-snap-align: start;
  }

  .artist-card {
    grid-template-columns: 92px minmax(0, 1fr);
  }

  .artist-card img {
    width: 92px;
    height: 92px;
  }
}

@keyframes headerIn {
  from {
    opacity: 0;
    transform: translateY(-14px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(22px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes heroBreath {
  from {
    transform: scale(1);
  }

  to {
    transform: scale(1.055);
  }
}

.site-header {
  animation: headerIn .7s ease both;
}

.hero img {
  animation: heroBreath 18s ease-in-out infinite alternate;
}

.hero-content > * {
  opacity: 0;
  animation: fadeUp .75s ease forwards;
}

.hero-content > :nth-child(2) {
  animation-delay: .12s;
}

.hero-content > :nth-child(3) {
  animation-delay: .24s;
}

.hero-content > :nth-child(4) {
  animation-delay: .36s;
}

.brand-mark img,
.button,
.header-nav a,
.carousel-button,
.event-card,
.event-card img,
.intro-grid article,
.system-card,
.system-logo img,
.feature-list div,
.ally-card,
.ally-card img,
.artist-card,
.artist-card img {
  transition:
    transform .22s ease,
    box-shadow .22s ease,
    border-color .22s ease,
    background .22s ease,
    filter .22s ease;
}

.brand:hover .brand-mark img {
  transform: scale(1.04) rotate(-1deg);
  filter: drop-shadow(0 6px 12px rgba(0, 0, 0, .32));
}

.header-nav a:hover,
.button:hover {
  transform: translateY(-2px);
}

.button:hover {
  box-shadow: 0 12px 28px rgba(92, 42, 27, .22);
}

.intro-grid article:hover,
.system-card:hover,
.feature-list div:hover,
.ally-card:hover,
.artist-card:hover {
  transform: translateY(-5px);
  border-color: color-mix(in srgb, var(--gold) 62%, var(--line));
  box-shadow: 0 24px 60px rgba(63, 42, 21, .18);
}

.event-card:hover {
  transform: rotate(var(--tilt)) translateY(-5px);
  box-shadow: 0 30px 70px rgba(0, 0, 0, .32);
}

.event-card:hover img,
.system-card:hover .system-logo img,
.ally-card:hover img,
.artist-card:hover img {
  transform: scale(1.045);
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity .7s ease,
    transform .7s ease,
    box-shadow .22s ease,
    border-color .22s ease,
    background .22s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal.is-visible:is(.intro-grid article, .system-card, .feature-list div, .ally-card, .artist-card):hover {
  transform: translateY(-5px);
}

/* Tabletop manual concept */
:root {
  --table: #2f2119;
  --table-dark: #1d1511;
  --paper-edge: #c9a56d;
  --ink-soft: #4b382b;
  --seal: #c94f2d;
}

html {
  background: var(--table-dark);
}

body {
  background:
    linear-gradient(90deg, rgba(255, 244, 220, .05) 1px, transparent 1px) 0 0 / 86px 100%,
    repeating-linear-gradient(
      0deg,
      #3a281f 0 16px,
      #2d2019 16px 22px,
      #4a3023 22px 40px,
      #251a15 40px 46px
    );
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(circle at 18% 18%, rgba(255, 244, 220, .13), transparent 18%),
    radial-gradient(circle at 82% 8%, rgba(196, 91, 46, .12), transparent 16%),
    radial-gradient(circle at 72% 92%, rgba(227, 183, 94, .1), transparent 20%);
  pointer-events: none;
}

.site-header {
  top: 16px;
  left: 24px;
  right: 24px;
  max-width: 1180px;
  margin: 0 auto;
  border: 1px solid rgba(255, 244, 220, .24);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(74, 48, 35, .96), rgba(31, 23, 18, .94));
  box-shadow: 0 18px 45px rgba(0, 0, 0, .32);
}

.brand-mark {
  width: 54px;
  height: 66px;
}

.header-nav a {
  border: 1px solid transparent;
}

.header-nav a:hover {
  border-color: rgba(227, 183, 94, .38);
  background: rgba(255, 244, 220, .1);
}

main {
  counter-reset: manual-page;
  padding-bottom: 76px;
}

.hero {
  min-height: 88vh;
  align-items: center;
  overflow: visible;
  padding: 122px 32px 70px;
  background: transparent;
}

.hero img {
  inset: 128px 4vw auto auto;
  width: min(52vw, 700px);
  height: min(62vh, 520px);
  border: 10px solid #f4e4be;
  border-radius: 6px;
  object-fit: cover;
  opacity: .92;
  transform: rotate(2.2deg);
  box-shadow: 0 30px 80px rgba(0, 0, 0, .42);
}

.hero::before {
  content: "";
  position: absolute;
  right: min(4vw, 54px);
  bottom: 42px;
  width: 92px;
  height: 92px;
  border-radius: 18px;
  background:
    radial-gradient(circle at 30% 32%, #fff7dd 0 5px, transparent 6px),
    radial-gradient(circle at 68% 32%, #fff7dd 0 5px, transparent 6px),
    radial-gradient(circle at 50% 68%, #fff7dd 0 5px, transparent 6px),
    linear-gradient(145deg, #a33d30, #66261f);
  transform: rotate(14deg);
  box-shadow: 0 18px 45px rgba(0, 0, 0, .34);
}

.hero::after {
  background:
    linear-gradient(90deg, rgba(29, 21, 17, .76), transparent 64%),
    radial-gradient(circle at 82% 30%, transparent 0 34%, rgba(29, 21, 17, .45) 70%);
}

.hero-content {
  max-width: 620px;
  padding: 38px;
  border: 1px solid var(--paper-edge);
  border-radius: 6px;
  background:
    linear-gradient(180deg, rgba(255, 252, 239, .96), rgba(246, 230, 196, .95));
  color: var(--ink);
  transform: rotate(-1.2deg);
  box-shadow: 0 28px 75px rgba(0, 0, 0, .34);
}

.hero-content::after {
  content: "";
  position: absolute;
  left: 28px;
  right: 28px;
  bottom: 22px;
  height: 4px;
  border-radius: 999px;
  background: var(--seal);
}

.hero-content .eyebrow {
  color: var(--seal);
}

.hero h1 {
  color: #9b3629;
  text-shadow: none;
}

.lead {
  color: var(--ink-soft);
}

.button.primary {
  background: var(--seal);
  color: #fff8e8;
  box-shadow: 0 8px 0 #7b2f25;
}

.button.secondary {
  border-color: rgba(37, 31, 25, .28);
  color: var(--ink);
  background: rgba(255, 248, 232, .74);
}

.section-band {
  position: relative;
  width: min(1180px, calc(100% - 48px));
  margin: 70px auto 0;
  padding: clamp(44px, 6vw, 74px) clamp(24px, 4vw, 54px);
  border: 1px solid var(--paper-edge);
  border-radius: 6px;
  background:
    linear-gradient(90deg, rgba(201, 165, 109, .12) 1px, transparent 1px) 0 0 / 38px 100%,
    linear-gradient(180deg, #fffaf0, #f2dfb7);
  box-shadow:
    0 26px 68px rgba(0, 0, 0, .34),
    inset 0 0 0 1px rgba(255, 255, 255, .45);
}

.section-band::before {
  content: "";
  position: absolute;
  top: 18px;
  left: 24px;
  right: 24px;
  height: 6px;
  border-radius: 999px;
  background:
    repeating-linear-gradient(90deg, var(--seal) 0 12px, transparent 12px 18px);
  opacity: .88;
}

.section-band::after {
  counter-increment: manual-page;
  content: counter(manual-page);
  position: absolute;
  right: 28px;
  bottom: 22px;
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border: 1px solid var(--paper-edge);
  border-radius: 999px;
  color: var(--ink-soft);
  background: #fff7dc;
  font-size: 13px;
  font-weight: 900;
}

.section-heading,
.event-copy,
.feature-copy {
  max-width: 900px;
}

.section-heading h2,
.event-copy h2,
.feature-copy h2 {
  color: #973d2d;
  text-shadow: 0 1px 0 #fff4dc;
}

.section-heading > p:not(.eyebrow),
.event-copy p,
.feature-copy p {
  color: var(--ink-soft);
}

.event,
.systems,
.allies,
.artists,
.agenda,
.feature {
  color: var(--ink);
  background:
    linear-gradient(90deg, rgba(201, 165, 109, .12) 1px, transparent 1px) 0 0 / 38px 100%,
    linear-gradient(180deg, #fffaf0, #f2dfb7);
}

.event::before {
  top: 18px;
  left: 24px;
  right: 24px;
  bottom: auto;
  height: 6px;
  border-radius: 999px;
  background: repeating-linear-gradient(90deg, var(--seal) 0 12px, transparent 12px 18px);
}

.event-panel {
  gap: 28px;
}

.event-details span,
.event-stand-note,
.feature-list div,
.intro-grid article,
.system-card,
.ally-card,
.artist-card,
.agenda-panel,
.callout {
  border-color: var(--paper-edge);
  background:
    linear-gradient(180deg, rgba(255, 252, 239, .94), rgba(245, 225, 184, .96));
  box-shadow: 0 14px 34px rgba(81, 48, 28, .16);
}

.event-details span {
  color: var(--ink-soft);
}

.event-details strong,
.event-stand-note strong,
.feature-list span {
  color: var(--seal);
}

.event-stand-note span,
.feature-copy p,
.feature-list p {
  color: var(--ink-soft);
}

.event-carousel {
  padding-top: 6px;
}

.carousel-button {
  border-color: rgba(151, 61, 45, .32);
  background: #8e3b2d;
  color: #fff8e8;
  box-shadow: 0 8px 0 #5f291f;
}

.carousel-button:hover,
.carousel-button:focus-visible {
  background: #a64634;
}

.event-card {
  border: 1px solid var(--paper-edge);
  background:
    linear-gradient(180deg, #fffdf5, #f4dfb8);
  box-shadow: 0 18px 36px rgba(62, 36, 22, .24);
}

.event-card:nth-child(odd) {
  transform: rotate(-.8deg);
}

.event-card:nth-child(even) {
  transform: rotate(.7deg);
}

.event-card img {
  border: 1px solid rgba(37, 31, 25, .14);
  filter: saturate(.96) contrast(1.02);
}

.event-card-schedule {
  background: #fff4d8;
}

.event-card-button {
  background: #e4d1a5;
}

.intro-grid article,
.feature-list div,
.system-card,
.ally-card,
.artist-card {
  position: relative;
}

.intro-grid article::after,
.feature-list div::after,
.system-card::after {
  content: "";
  position: absolute;
  right: 16px;
  top: 14px;
  width: 22px;
  height: 22px;
  border: 1px solid rgba(151, 61, 45, .28);
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(151, 61, 45, .28) 0 3px, transparent 4px),
    #fff4d8;
}

.systems-grid,
.intro-grid,
.allies-grid,
.artists-grid {
  gap: 18px;
}

.system-logo,
.ally-card img {
  border: 1px solid rgba(201, 165, 109, .72);
  background: #fff8e8;
}

.feature {
  grid-template-columns: minmax(0, .85fr) minmax(320px, 1.15fr);
}

.artists {
  margin-bottom: 70px;
}

.agenda {
  margin-bottom: 0;
}

.reveal.is-visible:is(.intro-grid article, .system-card, .feature-list div, .ally-card, .artist-card):hover,
.event-card:hover {
  transform: translateY(-6px) rotate(0deg);
  box-shadow: 0 28px 64px rgba(47, 27, 17, .28);
}

@media (max-width: 980px) {
  .hero {
    min-height: auto;
    padding-top: 130px;
  }

  .hero img {
    position: relative;
    inset: auto;
    width: 100%;
    height: 300px;
    margin: 20px auto 0;
    transform: rotate(0deg);
  }

  .hero-content {
    max-width: none;
    transform: none;
  }
}

@media (max-width: 860px) {
  .site-header {
    left: 12px;
    right: 12px;
    border-radius: 8px;
  }

  .section-band {
    width: min(100% - 24px, 1180px);
    margin-top: 46px;
  }

  .section-band::after {
    display: none;
  }

  .hero::before {
    display: none;
  }

  .hero img {
    height: 240px;
    border-width: 7px;
  }

  .hero-content {
    padding: 28px;
  }

  .event-card:nth-child(odd),
  .event-card:nth-child(even) {
    transform: none;
  }
}

/* RPCiege-inspired game landing direction */
:root {
  --stage: #15100d;
  --stage-2: #241913;
  --panel: #fff8e8;
  --panel-deep: #efdbac;
  --ember: #cf4b31;
  --ember-dark: #772820;
  --bronze: #d99a3f;
  --rule-line: #cda56d;
}

html {
  background: var(--stage);
}

body {
  background:
    radial-gradient(circle at 16% 4%, rgba(207, 75, 49, .18), transparent 30%),
    radial-gradient(circle at 86% 8%, rgba(217, 154, 63, .14), transparent 26%),
    linear-gradient(180deg, #15100d 0 36%, #ead8ad 36% 100%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(255, 248, 232, .035) 1px, transparent 1px) 0 0 / 64px 64px,
    linear-gradient(0deg, rgba(255, 248, 232, .03) 1px, transparent 1px) 0 0 / 64px 64px,
    radial-gradient(circle at 50% 0, rgba(255, 248, 232, .08), transparent 34%);
  pointer-events: none;
}

.site-header {
  top: 14px;
  left: 24px;
  right: 24px;
  max-width: 1220px;
  margin: 0 auto;
  padding: 12px 20px;
  border: 1px solid rgba(255, 248, 232, .18);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(42, 29, 23, .96), rgba(18, 14, 12, .94));
  box-shadow: 0 18px 44px rgba(0, 0, 0, .34);
}

.brand-mark {
  width: 56px;
  height: 70px;
}

.brand strong {
  color: #fff8e8;
}

.brand small {
  color: #dcc89f;
}

.header-nav a {
  border: 1px solid transparent;
  border-radius: 6px;
}

.header-nav a:hover,
.header-nav a:focus-visible {
  border-color: rgba(217, 154, 63, .38);
  background: rgba(255, 248, 232, .1);
  outline: 0;
}

main {
  counter-reset: none;
  padding-bottom: 0;
  overflow: hidden;
}

.hero {
  min-height: 94vh;
  align-items: center;
  overflow: hidden;
  padding: 150px 32px 96px;
  background: #120e0c;
  isolation: isolate;
}

.hero img {
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: 0;
  object-fit: cover;
  opacity: .5;
  transform: none;
  filter: saturate(.74) contrast(1.14) brightness(.72);
  box-shadow: none;
}

.hero::before {
  content: "";
  position: absolute;
  top: 50%;
  right: clamp(28px, 8vw, 120px);
  z-index: 2;
  width: min(28vw, 310px);
  min-width: 230px;
  height: min(50vh, 430px);
  min-height: 330px;
  border: 1px solid rgba(255, 248, 232, .38);
  border-radius: 8px;
  background:
    linear-gradient(180deg, var(--ember) 0 54px, transparent 54px),
    linear-gradient(180deg, #fff8e8, #e8d2a1);
  transform: translateY(-42%) rotate(3deg);
  box-shadow:
    -18px 18px 0 rgba(255, 248, 232, .13),
    -34px 34px 0 rgba(255, 248, 232, .08),
    0 34px 80px rgba(0, 0, 0, .42);
  pointer-events: none;
}

.hero::after {
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(16, 12, 10, .94) 0 42%, rgba(16, 12, 10, .72) 64%, rgba(16, 12, 10, .38)),
    linear-gradient(0deg, rgba(16, 12, 10, .95), transparent 46%);
}

.hero-content {
  z-index: 3;
  max-width: 710px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #fff8e8;
  transform: none;
  box-shadow: none;
}

.hero-content::after {
  left: 0;
  right: auto;
  bottom: -24px;
  width: 118px;
  height: 6px;
  border-radius: 999px;
  background: var(--ember);
  box-shadow: 132px 0 0 rgba(217, 154, 63, .78);
}

.hero-content .eyebrow {
  color: var(--bronze);
}

.hero h1 {
  color: #fff8e8;
  text-shadow: 0 8px 0 rgba(0, 0, 0, .24);
}

.lead {
  max-width: 650px;
  color: #f0dbb4;
}

.button {
  border-radius: 6px;
}

.button.primary {
  background: var(--ember);
  color: #fff8e8;
  box-shadow: 0 7px 0 var(--ember-dark);
}

.button.secondary {
  border-color: rgba(255, 248, 232, .38);
  color: #fff8e8;
  background: rgba(255, 248, 232, .08);
}

.section-band {
  position: relative;
  width: 100%;
  margin: 0;
  padding: clamp(70px, 8vw, 112px) 32px;
  border: 0;
  border-radius: 0;
  background:
    linear-gradient(90deg, rgba(122, 76, 38, .07) 1px, transparent 1px) 0 0 / 48px 100%,
    linear-gradient(180deg, #fff8e8, #ead8ad);
  box-shadow: none;
}

.section-band::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 8px;
  border-radius: 0;
  background:
    linear-gradient(90deg, transparent 0, var(--ember) 16%, var(--ember) 84%, transparent 100%);
  opacity: 1;
}

.section-band::after {
  display: none;
  counter-increment: none;
}

.section-heading,
.event-copy,
.feature-copy,
.intro-grid,
.systems-grid,
.allies-grid,
.artists-grid,
.agenda-panel {
  max-width: 1180px;
  margin-left: auto;
  margin-right: auto;
}

.section-heading {
  max-width: 820px;
}

.section-heading h2,
.event-copy h2,
.feature-copy h2 {
  color: #8f3328;
  text-shadow: none;
}

.section-heading > p:not(.eyebrow),
.event-copy p,
.feature-copy p {
  color: #5d4938;
}

.eyebrow {
  color: var(--ember);
}

.event {
  padding-top: clamp(76px, 8vw, 108px);
  background:
    radial-gradient(circle at 78% 12%, rgba(207, 75, 49, .2), transparent 26%),
    radial-gradient(circle at 16% 90%, rgba(217, 154, 63, .12), transparent 28%),
    linear-gradient(180deg, #241913, #120e0c);
  color: #fff8e8;
}

.event::before {
  inset: 0 0 auto;
  height: 8px;
  background:
    linear-gradient(90deg, transparent 0, var(--ember) 16%, var(--ember) 84%, transparent 100%);
}

.event-panel {
  gap: 30px;
}

.event-copy {
  max-width: 960px;
  padding-left: 22px;
  border-left: 6px solid var(--ember);
}

.event-copy .eyebrow {
  color: var(--bronze);
}

.event-copy h2 {
  color: #fff8e8;
}

.event-copy p {
  max-width: 760px;
  color: #ecd6b1;
}

.event-details {
  max-width: 100%;
  gap: 12px;
}

.event-details span {
  border: 1px solid rgba(255, 248, 232, .18);
  border-left: 3px solid var(--ember);
  border-radius: 6px;
  background: rgba(255, 248, 232, .07);
  color: #f8e7c9;
  box-shadow: none;
}

.event-details strong {
  color: var(--bronze);
}

.event-carousel {
  grid-template-columns: 44px minmax(0, 1fr) 44px;
  gap: 14px;
  padding-top: 18px;
}

.carousel-button {
  width: 44px;
  height: 48px;
  border-color: rgba(255, 248, 232, .22);
  border-radius: 6px;
  background: var(--ember);
  color: #fff8e8;
  box-shadow: 0 6px 0 var(--ember-dark);
}

.carousel-button:hover,
.carousel-button:focus-visible {
  background: #e05a39;
}

.event-cards {
  grid-auto-columns: clamp(252px, 28vw, 324px);
  gap: 18px;
  padding: 8px 4px 30px;
  scrollbar-color: rgba(217, 154, 63, .86) rgba(255, 248, 232, .14);
}

.event-card {
  position: relative;
  overflow: hidden;
  padding: 10px;
  border: 1px solid rgba(205, 165, 109, .96);
  border-radius: 8px;
  background:
    linear-gradient(180deg, #fffaf0, #ead4a5);
  box-shadow:
    0 22px 45px rgba(0, 0, 0, .34),
    inset 0 0 0 1px rgba(255, 255, 255, .46);
  transform: none;
}

.event-card:nth-child(odd),
.event-card:nth-child(even) {
  transform: none;
}

.event-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 48px;
  background: linear-gradient(90deg, var(--ember), #a83a2b);
}

.event-card > * {
  position: relative;
  z-index: 1;
}

.event-card img {
  border: 1px solid rgba(48, 31, 22, .18);
  border-radius: 6px;
  background: #fff4d6;
  filter: saturate(.96) contrast(1.04);
}

.event-card.logo-card img {
  padding: 18px;
  background: #fff8e8;
}

.event-card-body {
  grid-template-columns: 64px minmax(0, 1fr);
  align-items: start;
  min-height: 188px;
}

.event-date {
  align-self: start;
  min-height: 78px;
  overflow: hidden;
  border: 1px solid rgba(205, 165, 109, .88);
  border-radius: 6px;
  background: #fff1cf;
  color: #2b1f17;
}

.event-date small {
  width: 100%;
  padding: 5px 3px;
  background: #241913;
  color: #f0c76d;
  text-align: center;
}

.event-date strong {
  margin: 0;
  padding: 9px 3px;
  color: #2b1f17;
  font-size: 22px;
}

.event-card-body p {
  display: inline-flex;
  width: fit-content;
  padding: 3px 8px;
  border-radius: 999px;
  background: var(--ember);
  color: #fff8e8;
}

.event-card-body h3 {
  margin-top: 8px;
  color: #2b1f17;
}

.event-card-subtitle,
.event-card-description {
  color: #6a5541;
}

.event-card-schedule {
  border-color: rgba(205, 165, 109, .88);
  border-radius: 6px;
  background: #fff1cf;
}

.event-card-schedule strong {
  color: var(--ember);
}

.event-card-button {
  border-color: rgba(151, 98, 56, .38);
  border-radius: 6px;
  background: #d9c7a2;
  color: #6a5541;
}

.intro {
  background:
    linear-gradient(90deg, rgba(122, 76, 38, .07) 1px, transparent 1px) 0 0 / 48px 100%,
    linear-gradient(180deg, #fff8e8, #f0dfbd);
}

.systems {
  background:
    linear-gradient(90deg, rgba(122, 76, 38, .08) 1px, transparent 1px) 0 0 / 48px 100%,
    #ead8ad;
}

.feature {
  grid-template-columns: minmax(0, 460px) minmax(360px, 620px);
  justify-content: center;
  background:
    radial-gradient(circle at 82% 12%, rgba(207, 75, 49, .16), transparent 24%),
    linear-gradient(180deg, #201712, #120e0c);
  color: #fff8e8;
}

.allies {
  background:
    linear-gradient(90deg, rgba(122, 76, 38, .06) 1px, transparent 1px) 0 0 / 48px 100%,
    linear-gradient(180deg, #f5e7c5, #fff8e8);
}

.artists {
  margin-bottom: 0;
  background:
    linear-gradient(90deg, rgba(122, 76, 38, .06) 1px, transparent 1px) 0 0 / 48px 100%,
    #fff8e8;
}

.agenda {
  margin-bottom: 0;
  background:
    radial-gradient(circle at 18% 12%, rgba(217, 154, 63, .12), transparent 24%),
    linear-gradient(180deg, #201712, #120e0c);
  color: #fff8e8;
}

.agenda .section-heading h2 {
  color: #fff8e8;
}

.agenda .section-heading > p:not(.eyebrow) {
  color: #ecd6b1;
}

.intro-grid article,
.feature-list div,
.system-card,
.ally-card,
.artist-card,
.agenda-panel,
.callout {
  border: 1px solid rgba(205, 165, 109, .86);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 250, 240, .97), rgba(237, 216, 173, .97));
  box-shadow: 0 18px 44px rgba(63, 42, 21, .16);
}

.intro-grid article,
.system-card,
.ally-card,
.artist-card {
  position: relative;
}

.intro-grid article::before,
.system-card::before,
.ally-card::before,
.artist-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 6px;
  border-radius: 8px 8px 0 0;
  background: var(--ember);
}

.intro-grid article::after,
.feature-list div::after,
.system-card::after {
  display: none;
}

.intro-grid h3,
.system-card h3,
.ally-card h3,
.artist-card h3,
.agenda-panel h3 {
  color: #8f3328;
}

.system-logo,
.ally-card img {
  border: 1px solid rgba(205, 165, 109, .7);
  border-radius: 6px;
  background: #fff8e8;
}

.feature-copy h2,
.feature-list strong {
  color: #fff8e8;
}

.feature-copy p,
.feature-list p {
  color: #ecd6b1;
}

.feature-list div {
  background: rgba(255, 248, 232, .08);
  border-color: rgba(255, 248, 232, .16);
  box-shadow: none;
}

.feature-list span {
  color: var(--bronze);
}

.agenda-panel {
  color: var(--ink);
}

.callout {
  background: #fff1cf;
}

.reveal.is-visible:is(.intro-grid article, .system-card, .feature-list div, .ally-card, .artist-card):hover {
  transform: translateY(-6px);
  box-shadow: 0 28px 64px rgba(47, 27, 17, .22);
}

.event-card:hover {
  transform: translateY(-7px);
  box-shadow:
    0 30px 70px rgba(0, 0, 0, .38),
    inset 0 0 0 1px rgba(255, 255, 255, .46);
}

@media (max-width: 980px) {
  .hero {
    min-height: auto;
    padding: 140px 24px 70px;
  }

  .hero::before {
    display: none;
  }

  .hero img {
    position: absolute;
    inset: 0;
    height: 100%;
    margin: 0;
  }

  .hero-content {
    max-width: 760px;
  }
}

@media (max-width: 860px) {
  .site-header {
    left: 12px;
    right: 12px;
    padding: 10px 14px;
  }

  .section-band {
    width: 100%;
    margin: 0;
    padding: 60px 18px;
  }

  .hero {
    padding: 136px 18px 64px;
  }

  .hero h1 {
    font-size: clamp(54px, 18vw, 86px);
  }

  .event-copy {
    padding-left: 16px;
    border-left-width: 4px;
  }

  .event-carousel {
    grid-template-columns: 38px minmax(0, 1fr) 38px;
    gap: 8px;
  }

  .carousel-button {
    width: 38px;
    height: 44px;
    font-size: 28px;
  }

  .event-cards {
    grid-auto-columns: minmax(230px, 100%);
    gap: 12px;
  }

  .event-card:nth-child(odd),
  .event-card:nth-child(even) {
    transform: none;
  }

  .event-card-body {
    grid-template-columns: 58px minmax(0, 1fr);
  }

  .feature {
    grid-template-columns: 1fr;
  }
}

/* Harmony pass: cleaner first-version spacing with the stronger game identity */
body {
  background:
    radial-gradient(circle at 18% 2%, rgba(207, 75, 49, .14), transparent 28%),
    radial-gradient(circle at 86% 6%, rgba(217, 154, 63, .12), transparent 24%),
    linear-gradient(180deg, #15100d 0 34%, #f0dfbd 34% 100%);
}

.site-header {
  padding: 10px 18px;
  background:
    linear-gradient(180deg, rgba(42, 30, 24, .94), rgba(21, 16, 13, .92));
  box-shadow: 0 14px 34px rgba(0, 0, 0, .26);
}

.brand-mark {
  width: 52px;
  height: 66px;
}

.header-nav {
  gap: 4px;
}

.header-nav a {
  padding: 7px 9px;
}

.hero {
  min-height: 90vh;
  padding: 142px 32px 88px;
}

.hero img {
  opacity: .58;
  filter: saturate(.82) contrast(1.1) brightness(.78);
}

.hero::before {
  display: none;
  right: max(32px, calc((100vw - 1180px) / 2));
  width: min(24vw, 280px);
  min-width: 220px;
  height: min(46vh, 390px);
  min-height: 300px;
  transform: translateY(-40%) rotate(2deg);
  box-shadow:
    -14px 14px 0 rgba(255, 248, 232, .1),
    -26px 26px 0 rgba(255, 248, 232, .06),
    0 28px 62px rgba(0, 0, 0, .34);
}

.hero::after {
  background:
    linear-gradient(90deg, rgba(16, 12, 10, .9) 0 40%, rgba(16, 12, 10, .64) 64%, rgba(16, 12, 10, .28)),
    linear-gradient(0deg, rgba(16, 12, 10, .9), transparent 48%);
}

.hero-content {
  max-width: 680px;
  margin-left: max(0px, calc((100vw - 1180px) / 2));
}

.hero h1 {
  margin-bottom: 16px;
  text-shadow: 0 5px 0 rgba(0, 0, 0, .22);
}

.lead {
  color: #f3e0bd;
}

.button.primary {
  box-shadow: 0 5px 0 var(--ember-dark);
}

.button.is-disabled {
  border-color: rgba(151, 98, 56, .3);
  background: #d9c7a2;
  color: #6a5541;
  box-shadow: none;
  cursor: not-allowed;
  opacity: .82;
  pointer-events: none;
}

.button.is-disabled:hover {
  transform: none;
  box-shadow: none;
}

.section-band {
  padding: clamp(64px, 7vw, 96px) 32px;
}

.section-band::before,
.event::before {
  height: 5px;
  background:
    linear-gradient(90deg, transparent 0, rgba(207, 75, 49, .86) 18%, rgba(207, 75, 49, .86) 82%, transparent 100%);
}

.section-heading {
  margin-bottom: 24px;
}

.intro-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) clamp(82px, 11vw, 132px);
  align-items: center;
  gap: clamp(18px, 4vw, 42px);
  max-width: 980px;
}

.section-logo {
  width: 100%;
  height: auto;
  justify-self: end;
  filter: drop-shadow(0 12px 22px rgba(63, 42, 21, .18));
}

.section-heading h2,
.event-copy h2,
.feature-copy h2 {
  font-size: clamp(30px, 3.6vw, 52px);
}

.event {
  background:
    radial-gradient(circle at 76% 14%, rgba(207, 75, 49, .14), transparent 24%),
    radial-gradient(circle at 16% 86%, rgba(217, 154, 63, .1), transparent 26%),
    linear-gradient(180deg, #2b2119, #17120f);
}

.event-copy {
  max-width: 900px;
  padding-left: 18px;
  border-left-width: 4px;
}

.event-details span {
  background: rgba(255, 248, 232, .09);
}

.event-carousel {
  max-width: 1180px;
  margin: 0 auto;
}

.carousel-button {
  box-shadow: 0 4px 0 var(--ember-dark);
}

.event-cards {
  grid-auto-columns: clamp(252px, 27vw, 318px);
  gap: 16px;
}

.event-card {
  border-color: rgba(205, 165, 109, .82);
  background:
    linear-gradient(180deg, #fffaf0, #efdcb4);
  box-shadow:
    0 18px 36px rgba(0, 0, 0, .28),
    inset 0 0 0 1px rgba(255, 255, 255, .42);
}

.event-card::before {
  height: 38px;
  background: linear-gradient(90deg, #c74731, #9f3629);
}

.event-card-body {
  min-height: 176px;
}

.event-card-body h3 {
  font-size: clamp(18px, 1.55vw, 21px);
}

.event-card-description,
.event-card-schedule {
  font-size: 12px;
}

.intro,
.systems,
.allies,
.artists {
  background:
    linear-gradient(90deg, rgba(122, 76, 38, .045) 1px, transparent 1px) 0 0 / 56px 100%,
    linear-gradient(180deg, #fff8e8, #f2e2c1);
}

.systems {
  background:
    linear-gradient(90deg, rgba(122, 76, 38, .05) 1px, transparent 1px) 0 0 / 56px 100%,
    #f0dfbd;
}

.allies,
.artists {
  background:
    linear-gradient(90deg, rgba(122, 76, 38, .04) 1px, transparent 1px) 0 0 / 56px 100%,
    #fff8e8;
}

.feature,
.agenda {
  background:
    radial-gradient(circle at 82% 12%, rgba(207, 75, 49, .12), transparent 24%),
    linear-gradient(180deg, #2b2119, #17120f);
}

.intro-grid article,
.feature-list div,
.system-card,
.ally-card,
.artist-card,
.agenda-panel,
.callout {
  border-color: rgba(205, 165, 109, .72);
  background:
    linear-gradient(180deg, rgba(255, 250, 240, .98), rgba(240, 221, 184, .96));
  box-shadow: 0 14px 32px rgba(63, 42, 21, .12);
}

.intro-grid article::before,
.system-card::before,
.ally-card::before,
.artist-card::before {
  height: 4px;
  background: rgba(207, 75, 49, .88);
}

.feature-list div {
  background: rgba(255, 248, 232, .075);
  border-color: rgba(255, 248, 232, .14);
}

.feature-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.feature-actions .button.secondary {
  border-color: rgba(255, 248, 232, .34);
  color: #fff8e8;
  background: rgba(255, 248, 232, .08);
}

.moments {
  background:
    radial-gradient(circle at 14% 8%, rgba(207, 75, 49, .12), transparent 24%),
    radial-gradient(circle at 82% 16%, rgba(217, 154, 63, .14), transparent 26%),
    linear-gradient(90deg, rgba(122, 76, 38, .045) 1px, transparent 1px) 0 0 / 56px 100%,
    linear-gradient(180deg, #fff8e8, #f2e2c1);
  color: var(--ink);
}

.moments .section-heading {
  text-align: center;
}

.moments .section-heading h2 {
  color: #8f3328;
}

.moments .section-heading > p:not(.eyebrow) {
  color: #5d4938;
}

.moments-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(10px, 1.7vw, 18px);
  align-items: center;
  max-width: 980px;
  margin: 0 auto;
  padding: 10px 0 4px;
}

.moment-card {
  position: relative;
  min-width: 0;
  margin: 0;
  aspect-ratio: 1.08;
  overflow: hidden;
  clip-path: polygon(25% 5%, 75% 5%, 100% 50%, 75% 95%, 25% 95%, 0 50%);
  background:
    linear-gradient(180deg, rgba(255, 250, 240, .98), rgba(240, 221, 184, .96));
  box-shadow: none;
  isolation: isolate;
}

.moment-card:nth-child(even) {
  transform: translateY(42px);
}

.moment-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    linear-gradient(180deg, transparent 30%, rgba(37, 31, 25, .72)),
    linear-gradient(90deg, rgba(207, 75, 49, .18), transparent 44%, rgba(217, 154, 63, .16));
  pointer-events: none;
}

.moment-card::after {
  content: "";
  position: absolute;
  inset: 5px;
  z-index: 3;
  border: 1px solid rgba(255, 248, 232, .48);
  clip-path: inherit;
  pointer-events: none;
}

.moment-photo {
  position: absolute;
  inset: 0;
  overflow: hidden;
  border: 0;
  border-radius: 0;
  background: #242b2e;
}

.moment-photo img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: cover;
}

.moment-photo::before {
  display: none;
}

.moment-photo span {
  display: none;
}

.moment-card figcaption {
  position: absolute;
  left: 18%;
  right: 18%;
  bottom: 18%;
  z-index: 4;
  display: grid;
  gap: 4px;
  padding: 0;
  text-align: center;
}

.moment-card figcaption strong {
  color: #fff8e8;
  font-size: clamp(15px, 1.5vw, 19px);
  line-height: 1.1;
  text-shadow: 0 2px 8px rgba(0, 0, 0, .56);
}

.moment-card figcaption span {
  color: #f0dfbf;
  font-size: 12px;
  line-height: 1.25;
  text-shadow: 0 2px 8px rgba(0, 0, 0, .56);
}

.system-card {
  min-height: 286px;
}

.ally-card {
  min-height: 224px;
}

.ally-card img {
  height: 136px;
}

.artist-card {
  min-height: 146px;
}

.artist-card img {
  border-radius: 6px;
}

.systems-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.system-card-upcoming {
  border-style: dashed;
}

.system-logo-placeholder {
  min-height: 138px;
  border: 1px dashed rgba(207, 75, 49, .42);
  background:
    radial-gradient(circle at 50% 50%, rgba(207, 75, 49, .12), transparent 52%),
    #fff8e8;
}

.system-logo-placeholder span {
  display: grid;
  place-items: center;
  width: 72px;
  height: 72px;
  border: 1px solid rgba(207, 75, 49, .28);
  border-radius: 50%;
  background: #fff1cf;
  color: var(--ember);
  font-size: 46px;
  font-weight: 900;
  line-height: 1;
}

.card-socials {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.social-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

.card-socials a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  min-height: 36px;
  padding: 0;
  border: 1px solid rgba(207, 75, 49, .26);
  border-radius: 50%;
  background: rgba(255, 248, 232, .72);
  color: #8f3328;
  text-decoration: none;
}

.social-icon {
  display: block;
  width: 19px;
  height: 19px;
}

.card-socials a:hover,
.card-socials a:focus-visible {
  border-color: rgba(207, 75, 49, .56);
  background: #fff8e8;
  color: var(--ember);
  outline: 0;
}

.ally-card .card-socials {
  margin-top: auto;
}

.artist-card > div {
  min-width: 0;
}

.site-footer {
  position: relative;
  padding: clamp(54px, 7vw, 78px) 32px;
  background:
    radial-gradient(circle at 16% 0, rgba(217, 154, 63, .14), transparent 26%),
    linear-gradient(180deg, #201712, #120e0c);
  color: #fff8e8;
}

.site-footer::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 5px;
  background:
    linear-gradient(90deg, transparent 0, rgba(207, 75, 49, .86) 18%, rgba(207, 75, 49, .86) 82%, transparent 100%);
}

.footer-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  align-items: end;
  max-width: 1180px;
  margin: 0 auto;
}

.site-footer h2 {
  margin-bottom: 12px;
  color: #fff8e8;
  font-size: clamp(30px, 3.5vw, 48px);
  line-height: 1;
}

.site-footer p:not(.eyebrow) {
  max-width: 690px;
  margin-bottom: 0;
  color: #ecd6b1;
}

.footer-actions {
  display: grid;
  justify-items: end;
  gap: 16px;
}

.footer-socials {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.footer-socials a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(255, 248, 232, .28);
  border-radius: 50%;
  background: rgba(255, 248, 232, .08);
  color: #fff8e8;
  text-decoration: none;
}

.footer-socials a:hover,
.footer-socials a:focus-visible {
  border-color: rgba(217, 154, 63, .62);
  background: rgba(255, 248, 232, .14);
  color: var(--bronze);
  outline: 0;
}

.reveal.is-visible:is(.intro-grid article, .system-card, .feature-list div, .ally-card, .artist-card):hover,
.event-card:hover {
  transform: translateY(-5px);
}

.reveal.is-visible.moment-card:hover {
  transform: translateY(-7px) scale(1.02);
  filter: saturate(1.08);
}

.reveal.is-visible.moment-card:nth-child(even):hover {
  transform: translateY(35px) scale(1.02);
}

@media (max-width: 1040px) {
  .systems-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .moments-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: 560px;
    padding-bottom: 42px;
  }
}

@media (max-width: 980px) {
  .hero-content {
    margin-left: 0;
  }

}

@media (max-width: 860px) {
  .site-header {
    top: 10px;
    left: 10px;
    right: 10px;
  }

  .hero,
  .section-band {
    padding-left: 18px;
    padding-right: 18px;
  }

  .section-band {
    padding-top: 58px;
    padding-bottom: 58px;
  }

  .intro-heading {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .section-logo {
    width: 92px;
    justify-self: start;
  }

  .event-cards {
    grid-auto-columns: minmax(230px, 100%);
  }

  .event-card-body {
    min-height: 168px;
  }

  .systems-grid {
    grid-template-columns: 1fr;
  }

  .moments-grid {
    grid-template-columns: 1fr;
    max-width: 330px;
    padding-bottom: 0;
  }

  .moment-card:nth-child(even) {
    transform: none;
  }

  .reveal.is-visible.moment-card:nth-child(even):hover {
    transform: translateY(-7px) scale(1.02);
  }

  .moment-card figcaption {
    left: 16%;
    right: 16%;
    bottom: 17%;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .footer-actions {
    justify-items: start;
  }

  .footer-socials {
    justify-content: flex-start;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }

  .reveal,
  .hero-content > * {
    opacity: 1;
    transform: none;
  }
}
