:root {
  --ink: #15110d;
  --paper: #f7f0e4;
  --paper-strong: #fffaf0;
  --charcoal: #23231f;
  --line: rgba(21, 17, 13, 0.16);
  --muted: #675f55;
  --copper: #d95f31;
  --teal: #007c78;
  --lime: #bccf3d;
  --gold: #e3a724;
  --sky: #66b8d0;
  --radius: 8px;
  --shadow: 0 24px 60px rgba(21, 17, 13, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(90deg, rgba(21, 17, 13, 0.045) 1px, transparent 1px),
    linear-gradient(rgba(21, 17, 13, 0.035) 1px, transparent 1px),
    var(--paper);
  background-size: 72px 72px;
  font-family: "IBM Plex Sans", sans-serif;
  font-size: 16px;
  line-height: 1.55;
  overflow-x: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 16px clamp(18px, 4vw, 54px);
  color: var(--paper-strong);
  transition: background 180ms ease, color 180ms ease, box-shadow 180ms ease;
}

.site-header.is-scrolled,
.site-header:has(.site-nav.is-open) {
  color: var(--ink);
  background: rgba(247, 240, 228, 0.95);
  box-shadow: 0 12px 40px rgba(21, 17, 13, 0.12);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 220px;
}

.brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 2px solid currentColor;
  border-radius: var(--radius);
  font-family: "Bricolage Grotesque", sans-serif;
  font-weight: 800;
  letter-spacing: 0;
}

.brand strong,
.brand small {
  display: block;
}

.brand small {
  font-size: 0.76rem;
  opacity: 0.78;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(10px, 1.6vw, 22px);
  font-size: 0.86rem;
  font-weight: 700;
  text-transform: uppercase;
}

.site-nav a {
  position: relative;
  padding: 10px 0;
}

.site-nav a::after {
  position: absolute;
  right: 0;
  bottom: 5px;
  left: 0;
  height: 2px;
  content: "";
  background: var(--copper);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 180ms ease;
}

.site-nav a:hover::after,
.site-nav a[aria-current="page"]::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav-toggle {
  display: none;
  align-items: center;
  gap: 8px;
  border: 1px solid currentColor;
  border-radius: var(--radius);
  color: inherit;
  background: transparent;
  padding: 9px 12px;
  font: inherit;
  font-weight: 700;
}

.hero {
  position: relative;
  display: grid;
  min-height: 92vh;
  overflow: hidden;
  color: var(--paper-strong);
}

.hero-media,
.hero-overlay,
.route-lines {
  position: absolute;
  inset: 0;
}

.hero-media {
  background-image: url("https://images.unsplash.com/photo-1540575467063-178a50c2df87?auto=format&fit=crop&w=1800&q=84");
  background-position: center;
  background-size: cover;
  transform: scale(1.03);
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(15, 13, 10, 0.91) 0%, rgba(15, 13, 10, 0.74) 45%, rgba(15, 13, 10, 0.28) 100%),
    linear-gradient(0deg, rgba(15, 13, 10, 0.78) 0%, rgba(15, 13, 10, 0) 42%);
}

.route-lines {
  opacity: 0.5;
  background:
    linear-gradient(120deg, transparent 0 34%, rgba(227, 167, 36, 0.75) 34.1% 34.35%, transparent 34.45% 100%),
    linear-gradient(155deg, transparent 0 58%, rgba(102, 184, 208, 0.58) 58.1% 58.35%, transparent 58.45% 100%),
    radial-gradient(circle at 72% 30%, rgba(188, 207, 61, 0.85) 0 4px, transparent 5px),
    radial-gradient(circle at 46% 68%, rgba(217, 95, 49, 0.85) 0 5px, transparent 6px);
}

.hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  align-content: center;
  width: min(1160px, calc(100% - 36px));
  min-height: 92vh;
  margin: 0 auto;
  padding: 120px 0 92px;
}

.eyebrow,
.section-kicker,
.event-label {
  margin: 0 0 14px;
  color: var(--copper);
  font-size: 0.84rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

h1,
h2,
h3 {
  margin: 0;
  font-family: "Bricolage Grotesque", sans-serif;
  line-height: 0.96;
  letter-spacing: 0;
}

h1 {
  max-width: 920px;
  font-size: clamp(3.25rem, 9vw, 8rem);
  text-wrap: balance;
  overflow-wrap: break-word;
}

h2 {
  font-size: clamp(2.25rem, 5vw, 5rem);
}

h3 {
  font-size: clamp(1.35rem, 2vw, 1.8rem);
}

.hero-subtext {
  max-width: 720px;
  margin: 26px 0 0;
  color: rgba(255, 250, 240, 0.88);
  font-size: clamp(1.1rem, 2vw, 1.35rem);
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  border: 2px solid transparent;
  border-radius: var(--radius);
  padding: 13px 18px;
  font-weight: 800;
  line-height: 1.1;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.button svg,
.nav-toggle svg,
.meta-row svg,
.track-card svg {
  width: 19px;
  height: 19px;
  flex: 0 0 auto;
}

.button:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(21, 17, 13, 0.18);
}

.button-primary {
  color: var(--ink);
  background: var(--lime);
  border-color: var(--lime);
}

.button-ghost {
  color: var(--paper-strong);
  border-color: rgba(255, 250, 240, 0.58);
  background: rgba(255, 250, 240, 0.08);
}

.button-dark {
  color: var(--paper-strong);
  background: var(--charcoal);
  border-color: var(--charcoal);
}

.button-outline {
  color: var(--ink);
  border-color: currentColor;
  background: transparent;
}

.section,
.numbers-band,
.site-footer {
  width: min(1160px, calc(100% - 36px));
  margin: 0 auto;
}

.section {
  padding: clamp(72px, 9vw, 120px) 0;
}

.section-heading {
  display: grid;
  gap: 8px;
  max-width: 760px;
  margin-bottom: 32px;
}

.feature-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(320px, 0.78fr);
  gap: clamp(28px, 5vw, 68px);
  align-items: center;
}

.feature-copy > p:not(.event-label) {
  max-width: 680px;
  color: var(--muted);
  font-size: 1.08rem;
}

.meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 20px 0;
}

.meta-row span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 9px 11px;
  color: var(--charcoal);
  background: rgba(255, 250, 240, 0.58);
  font-weight: 700;
}

.pill-list {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  padding: 0;
  margin: 26px 0 28px;
  list-style: none;
}

.pill-list li {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 8px 10px;
  background: rgba(255, 250, 240, 0.7);
  font-weight: 700;
}

.feature-visual {
  position: relative;
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.feature-visual img {
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.feature-visual figcaption {
  position: absolute;
  right: 16px;
  bottom: 16px;
  left: 16px;
  border-radius: var(--radius);
  padding: 12px;
  color: var(--paper-strong);
  background: rgba(21, 17, 13, 0.72);
  font-weight: 700;
  backdrop-filter: blur(12px);
}

.event-secondary {
  padding-top: 0;
}

.split-band,
.cta-section {
  display: grid;
  grid-template-columns: 1fr 0.72fr;
  gap: clamp(24px, 5vw, 64px);
  align-items: center;
  border-top: 2px solid var(--ink);
  border-bottom: 2px solid var(--ink);
  padding: clamp(28px, 5vw, 54px) 0;
}

.split-band p:not(.event-label),
.cta-section p {
  color: var(--muted);
  font-size: 1.05rem;
}

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

.track-card {
  min-height: 230px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  background: var(--paper-strong);
  box-shadow: 0 10px 24px rgba(21, 17, 13, 0.07);
  transition: transform 180ms ease, border-color 180ms ease;
}

.track-card:hover {
  border-color: var(--copper);
  transform: translateY(-4px);
}

.track-card svg {
  width: 31px;
  height: 31px;
  margin-bottom: 24px;
  color: var(--teal);
}

.track-card p {
  color: var(--muted);
}

.numbers-band {
  padding: clamp(50px, 8vw, 84px) 0;
  border-top: 2px solid var(--ink);
  border-bottom: 2px solid var(--ink);
}

.number-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--ink);
  border-radius: var(--radius);
  background: var(--ink);
}

.number-grid div {
  min-height: 170px;
  padding: 22px;
  background: var(--paper-strong);
}

.number-grid strong {
  display: block;
  color: var(--teal);
  font-family: "Bricolage Grotesque", sans-serif;
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  line-height: 0.95;
}

.number-grid span {
  display: block;
  margin-top: 12px;
  font-weight: 800;
}

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

.agenda-list {
  border-top: 8px solid var(--copper);
  border-radius: var(--radius);
  padding: 24px;
  background: var(--paper-strong);
  box-shadow: var(--shadow);
}

.agenda-list.accent {
  border-color: var(--teal);
}

.agenda-list article {
  display: grid;
  grid-template-columns: 112px 1fr;
  gap: 18px;
  border-top: 1px solid var(--line);
  padding: 18px 0;
}

.agenda-list time {
  color: var(--copper);
  font-weight: 900;
}

.agenda-list p {
  margin: 0;
  color: var(--muted);
  font-weight: 700;
}

.media-strip {
  display: grid;
  grid-template-columns: 1fr 0.85fr 1.1fr;
  gap: 14px;
  padding-top: 0;
}

.media-strip img {
  min-height: 320px;
  border-radius: var(--radius);
  object-fit: cover;
  box-shadow: var(--shadow);
}

.media-strip img:nth-child(2) {
  margin-top: 58px;
}

.cta-section {
  margin-bottom: 72px;
}

.cta-actions {
  justify-content: flex-end;
  margin: 0;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  border-top: 1px solid var(--line);
  padding: 34px 0 46px;
  color: var(--muted);
}

.site-footer strong {
  color: var(--ink);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  font-weight: 800;
}

.subpage-hero {
  min-height: 54vh;
  padding: 140px 0 62px;
  color: var(--paper-strong);
  background:
    linear-gradient(90deg, rgba(21, 17, 13, 0.92), rgba(21, 17, 13, 0.62)),
    var(--subpage-image, url("https://images.unsplash.com/photo-1531482615713-2afd69097998?auto=format&fit=crop&w=1800&q=82"));
  background-position: center;
  background-size: cover;
}

.subpage-hero > div,
.content-grid,
.form-grid {
  width: min(1160px, calc(100% - 36px));
  margin: 0 auto;
}

.subpage-hero h1 {
  max-width: 880px;
  font-size: clamp(3rem, 8vw, 7rem);
}

.subpage-hero p {
  max-width: 720px;
  color: rgba(255, 250, 240, 0.86);
  font-size: 1.16rem;
}

.content-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  padding: 72px 0;
}

.info-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  background: var(--paper-strong);
}

.info-card p,
.info-card li {
  color: var(--muted);
}

.info-card ul {
  padding-left: 19px;
}

.wide {
  grid-column: span 2;
}

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

.ticket-card {
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  padding: 26px;
  background: var(--paper-strong);
}

.ticket-card.featured {
  background: var(--ink);
  color: var(--paper-strong);
}

.ticket-card .price {
  display: block;
  margin: 18px 0;
  font-family: "Bricolage Grotesque", sans-serif;
  font-size: 3rem;
  font-weight: 800;
}

.form-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(24px, 5vw, 64px);
  padding: 72px 0;
}

.registration-section {
  display: grid;
  grid-template-columns: 0.78fr 1.22fr;
  gap: clamp(28px, 5vw, 68px);
  align-items: start;
  width: min(1160px, calc(100% - 36px));
  margin: 0 auto;
  padding: clamp(72px, 9vw, 110px) 0;
}

.register-copy {
  position: sticky;
  top: 112px;
}

.register-copy p {
  color: var(--muted);
  font-size: 1.06rem;
}

.mini-steps {
  display: grid;
  gap: 10px;
  margin-top: 28px;
}

.mini-steps span {
  border-left: 5px solid var(--copper);
  padding: 12px 14px;
  border-radius: 0 var(--radius) var(--radius) 0;
  background: var(--paper-strong);
  font-weight: 900;
}

form {
  display: grid;
  gap: 14px;
}

.register-form {
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  padding: clamp(22px, 4vw, 38px);
  background: var(--paper-strong);
  box-shadow: var(--shadow);
}

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

label {
  display: grid;
  gap: 7px;
  font-weight: 800;
}

input,
textarea,
select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 13px 14px;
  color: var(--ink);
  background: var(--paper-strong);
  font: inherit;
}

textarea {
  min-height: 138px;
  resize: vertical;
}

.form-status {
  min-height: 24px;
  margin: 0;
  color: var(--teal);
  font-weight: 800;
}

.ticket-page {
  min-height: 100vh;
  padding-top: 104px;
}

.thank-you-panel {
  width: min(1160px, calc(100% - 36px));
  margin: 0 auto;
  padding: 56px 0 34px;
}

.thank-you-panel h1 {
  max-width: 840px;
  color: var(--ink);
  font-size: clamp(3rem, 7vw, 6.5rem);
}

.thank-you-panel p:not(.eyebrow) {
  max-width: 620px;
  color: var(--muted);
  font-size: 1.1rem;
}

.entry-pass-wrap {
  width: min(980px, calc(100% - 36px));
  margin: 0 auto;
  padding: 22px 0 80px;
}

.entry-pass {
  position: relative;
  overflow: hidden;
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  color: var(--paper-strong);
  background:
    linear-gradient(135deg, rgba(188, 207, 61, 0.18), transparent 34%),
    linear-gradient(90deg, #15110d 0%, #23231f 58%, #007c78 100%);
  box-shadow: 0 32px 90px rgba(21, 17, 13, 0.24);
}

.entry-pass::before {
  position: absolute;
  inset: 0;
  content: "";
  opacity: 0.22;
  background:
    linear-gradient(120deg, transparent 0 42%, var(--gold) 42.1% 42.45%, transparent 42.55% 100%),
    linear-gradient(158deg, transparent 0 64%, var(--sky) 64.1% 64.45%, transparent 64.55% 100%);
  pointer-events: none;
}

.pass-topline,
.pass-main,
.pass-details,
.pass-bottom {
  position: relative;
  z-index: 1;
}

.pass-topline,
.pass-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 24px;
  font-weight: 900;
  text-transform: uppercase;
}

.pass-topline {
  border-bottom: 1px solid rgba(255, 250, 240, 0.18);
}

.pass-topline strong {
  border: 1px solid rgba(255, 250, 240, 0.34);
  border-radius: var(--radius);
  padding: 8px 10px;
  background: rgba(255, 250, 240, 0.08);
}

.pass-main {
  display: grid;
  grid-template-columns: 1fr 230px;
  gap: 28px;
  align-items: center;
  padding: clamp(28px, 5vw, 54px) clamp(24px, 5vw, 54px);
}

.pass-identity h2 {
  max-width: 620px;
  font-size: clamp(2.6rem, 7vw, 6.3rem);
  overflow-wrap: break-word;
}

.company-line {
  margin: 18px 0 0;
  color: rgba(255, 250, 240, 0.84);
  font-size: 1.2rem;
  font-weight: 700;
}

.qr-panel {
  display: grid;
  justify-items: center;
  gap: 10px;
  border-radius: var(--radius);
  padding: 16px;
  color: var(--ink);
  background: var(--paper-strong);
}

.styled-qr {
  display: grid;
  width: 206px;
  height: 206px;
  place-items: center;
  border: 1px solid rgba(21, 17, 13, 0.12);
  border-radius: 14px;
  background: var(--paper-strong);
  box-shadow: inset 0 0 0 8px rgba(188, 207, 61, 0.1);
}

.styled-qr svg,
.styled-qr canvas {
  display: block;
  width: 190px;
  height: 190px;
}

.scan-note {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 5px 10px;
  color: var(--paper-strong);
  background: var(--teal);
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
}

.qr-panel small {
  max-width: 190px;
  overflow-wrap: anywhere;
  font-weight: 900;
  text-align: center;
}

.pass-details {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid rgba(255, 250, 240, 0.18);
  border-bottom: 1px solid rgba(255, 250, 240, 0.18);
}

.pass-details div {
  min-height: 116px;
  border-right: 1px solid rgba(255, 250, 240, 0.18);
  padding: 18px;
}

.pass-details div:last-child {
  border-right: 0;
}

.pass-details span {
  display: block;
  margin-bottom: 8px;
  color: var(--lime);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.pass-details strong {
  display: block;
  line-height: 1.25;
}

.pass-bottom {
  color: var(--lime);
}

.post-ticket {
  padding-top: 0;
}

@media (max-width: 1050px) {
  .nav-toggle {
    display: inline-flex;
  }

  .site-nav {
    position: absolute;
    top: calc(100% - 8px);
    right: 18px;
    left: 18px;
    display: none;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 12px;
    color: var(--ink);
    background: var(--paper-strong);
    box-shadow: var(--shadow);
  }

  .site-nav.is-open {
    display: grid;
  }

  .track-grid,
  .number-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .feature-grid,
  .split-band,
  .cta-section,
  .form-grid,
  .registration-section,
  .pass-main {
    grid-template-columns: 1fr;
  }

  .register-copy {
    position: static;
  }

  .cta-actions {
    justify-content: flex-start;
  }

  .pass-details {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .site-header {
    padding: 12px 14px;
  }

  .brand {
    min-width: 0;
  }

  .brand small {
    display: none;
  }

  .site-nav {
    grid-template-columns: 1fr;
  }

  .hero,
  .hero-inner {
    min-height: 88vh;
  }

  h1 {
    max-width: min(100%, 320px);
    font-size: clamp(2.14rem, 9vw, 2.75rem);
    line-height: 1.02;
  }

  .hero-subtext {
    max-width: min(100%, 320px);
    font-size: 1rem;
  }

  .hero-actions,
  .cta-actions {
    display: grid;
  }

  .hero-actions {
    max-width: min(100%, 320px);
  }

  .button {
    width: 100%;
  }

  .track-grid,
  .number-grid,
  .agenda-columns,
  .content-grid,
  .ticket-grid,
  .media-strip,
  .form-row,
  .pass-details {
    grid-template-columns: 1fr;
  }

  .wide {
    grid-column: auto;
  }

  .agenda-list article {
    grid-template-columns: 1fr;
    gap: 5px;
  }

  .media-strip img:nth-child(2) {
    margin-top: 0;
  }

  .site-footer {
    display: grid;
  }

  .ticket-page {
    padding-top: 82px;
  }

  .thank-you-panel h1 {
    max-width: min(100%, 320px);
    font-size: clamp(2.25rem, 10vw, 3.2rem);
  }

  .thank-you-panel p:not(.eyebrow) {
    max-width: min(100%, 320px);
  }

  .pass-topline,
  .pass-bottom {
    align-items: flex-start;
    flex-direction: column;
  }

  .pass-identity h2 {
    font-size: clamp(2.35rem, 12vw, 4rem);
  }

  .pass-details div {
    border-right: 0;
    border-bottom: 1px solid rgba(255, 250, 240, 0.18);
  }
}

@media print {
  body {
    background: #ffffff;
  }

  .no-print,
  .site-header,
  .site-footer,
  .post-ticket {
    display: none !important;
  }

  .ticket-page {
    padding: 0;
  }

  .entry-pass-wrap {
    width: 100%;
    padding: 0;
  }

  .entry-pass {
    box-shadow: none;
    break-inside: avoid;
  }
}
