:root {
  --bg: #040404;
  --bg-soft: #0d0d0d;
  --panel: rgba(255, 255, 255, 0.05);
  --panel-strong: rgba(255, 255, 255, 0.1);
  --line: rgba(255, 255, 255, 0.2);
  --line-soft: rgba(255, 255, 255, 0.1);
  --text: #f1f1f1;
  --muted: #9e9e9e;
  --muted-2: #777;
  --featured-bg: #e8e8e8;
  --featured-text: #0e0e0e;
  --radius-lg: 20px;
  --radius-md: 14px;
  --max-width: min(1280px, calc(100vw - 48px));
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  min-height: 100vh;
  font-family: Manrope, "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 85% -10%, rgba(255, 255, 255, 0.08), transparent 34%),
    radial-gradient(circle at -10% 70%, rgba(255, 255, 255, 0.05), transparent 30%),
    linear-gradient(165deg, #050505, #0a0a0a 45%, #030303);
  overflow-x: hidden;
}

.grain {
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.07) 0.5px, transparent 0),
    radial-gradient(circle at 80% 0%, rgba(255, 255, 255, 0.04) 0.5px, transparent 0);
  background-size: 3px 3px, 4px 4px;
  opacity: 0.13;
  z-index: -1;
}

.top-rail,
.page,
.footer {
  width: var(--max-width);
  margin-inline: auto;
}

.top-rail {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  border-bottom: 1px solid var(--line-soft);
}

.rail-link,
.rail-brand {
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  font-size: 0.67rem;
  color: var(--text);
}

.rail-link {
  color: var(--muted);
}

.rail-link:hover,
.rail-brand:hover {
  color: #fff;
}

.page {
  padding: 24px 0 40px;
  display: grid;
  gap: 74px;
}

.hero {
  display: grid;
  gap: 20px;
}

.micro {
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.7rem;
  color: var(--muted);
}

.hero h1 {
  margin: 0;
  font-family: "Space Grotesk", "Avenir Next", sans-serif;
  font-size: clamp(2.4rem, 9.2vw, 7.2rem);
  line-height: 0.9;
  letter-spacing: -0.03em;
}

.hero-lede {
  margin: -2px 0 4px;
  max-width: 75ch;
  color: #c8c8c8;
  line-height: 1.65;
}

.hero-lede-break {
  display: none;
}

.hero-media {
  position: relative;
  border: 1px solid var(--line-soft);
  border-radius: 8px;
  overflow: hidden;
}

.hero-media img {
  width: 100%;
  height: clamp(300px, 52vw, 620px);
  display: block;
  object-fit: cover;
}

.hero-stamp {
  position: absolute;
  left: 18px;
  bottom: 18px;
  background: rgba(0, 0, 0, 0.6);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 12px;
  font-size: 0.75rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

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

.meta-card {
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-md);
  padding: 18px;
  background: linear-gradient(150deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.015));
  backdrop-filter: blur(9px);
  -webkit-backdrop-filter: blur(9px);
}

.linkedin-story {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03));
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.meta-title {
  margin: 0;
  color: #d8d8d8;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.72rem;
}

.meta-card p {
  margin: 10px 0 0;
  color: var(--muted);
  line-height: 1.65;
  font-size: 0.98rem;
}

.section-eyebrow {
  margin: 0;
  color: var(--muted-2);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.68rem;
}

.manifesto {
  max-width: 980px;
}

.manifesto-copy {
  margin: 10px 0 0;
  font-size: clamp(1.6rem, 5.1vw, 3.9rem);
  line-height: 1.08;
  color: #d6d6d6;
  letter-spacing: -0.02em;
}

.manifesto-link {
  margin-top: 16px;
  display: inline-block;
  color: #fff;
  text-decoration: none;
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(1rem, 2.3vw, 1.8rem);
}

.manifesto-link:hover {
  opacity: 0.8;
}

.schedule {
  padding-top: 4px;
}

.schedule-top {
  display: grid;
  grid-template-columns: 210px 1fr;
  gap: 20px;
  align-items: start;
}

.schedule-top h2 {
  margin: 0;
  font-family: "Space Grotesk", sans-serif;
  font-weight: 500;
  letter-spacing: -0.02em;
  font-size: clamp(1.6rem, 4.3vw, 3.6rem);
  color: #cecece;
  max-width: 20ch;
}

.schedule-row {
  margin-top: 22px;
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
  padding: 20px 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.schedule-row p {
  margin: 0;
  display: grid;
  gap: 7px;
}

.schedule-row strong {
  font-size: 1.06rem;
}

.schedule-row span {
  color: var(--muted);
  line-height: 1.55;
}

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

.ticket-card {
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg);
  padding: 22px 20px;
  background: linear-gradient(155deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.01));
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: grid;
  gap: 16px;
  min-height: 345px;
  transition: border-color 160ms ease, transform 160ms ease;
}

.ticket-card.is-active {
  border-color: rgba(255, 255, 255, 0.48);
  transform: translateY(-2px);
}

.ticket-card.featured {
  background: var(--featured-bg);
  color: var(--featured-text);
  border-color: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.ticket-name {
  margin: 0;
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(2rem, 3.1vw, 3rem);
  letter-spacing: -0.03em;
}

.ticket-card ul {
  margin: 0;
  padding-left: 17px;
  display: grid;
  gap: 8px;
  line-height: 1.5;
}

.ticket-price {
  margin: 0;
  color: inherit;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.choose-ticket {
  margin-top: auto;
  border: 1px solid var(--line);
  background: transparent;
  color: inherit;
  font: inherit;
  font-weight: 700;
  border-radius: 12px;
  padding: 11px 12px;
  cursor: pointer;
}

.ticket-card.featured .choose-ticket {
  border-color: rgba(0, 0, 0, 0.2);
  background: rgba(0, 0, 0, 0.03);
}

.choose-ticket:hover {
  opacity: 0.82;
}

.checkout {
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
  padding: 22px 0;
  display: grid;
  gap: 18px;
  grid-template-columns: 190px 1.15fr 1fr;
  align-items: end;
}

.amount-wrap label {
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.72rem;
}

.amount-control {
  margin-top: 10px;
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
}

.amount-control button,
.amount-control input {
  border: 0;
  background: transparent;
  color: #fff;
  font: inherit;
  width: 42px;
  height: 42px;
  text-align: center;
}

.amount-control button {
  cursor: pointer;
  font-size: 1.15rem;
}

.amount-control button:hover {
  background: rgba(255, 255, 255, 0.08);
}

.amount-control input {
  width: 52px;
  border-left: 1px solid var(--line-soft);
  border-right: 1px solid var(--line-soft);
}

.sales-wrap {
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-md);
  padding: 14px;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02));
  backdrop-filter: blur(9px);
  -webkit-backdrop-filter: blur(9px);
}

.sales-summary {
  margin: 0;
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.sales-summary strong {
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.5rem;
}

.sales-summary span {
  color: var(--muted);
}

.progress-track {
  margin-top: 10px;
  width: 100%;
  height: 11px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 999px;
  overflow: hidden;
}

.progress-track span {
  display: block;
  width: 50%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #f2f2f2, #949494);
}

.purchase-feed {
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
}

.purchase-feed li {
  border: 1px solid var(--line-soft);
  border-radius: 11px;
  padding: 8px 10px;
  display: flex;
  justify-content: space-between;
  gap: 8px;
  font-size: 0.84rem;
  color: var(--muted);
}

.purchase-feed strong {
  color: #eee;
}

.buy-form {
  display: grid;
  gap: 10px;
}

.buy-form select,
.buy-form input {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.06);
  color: #f4f4f4;
  font: inherit;
  padding: 12px 13px;
}

.buy-form input::placeholder {
  color: #868686;
}

.price-line {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  color: var(--muted);
}

.price-line strong {
  color: #fff;
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.4rem;
}

.buy-btn {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.98);
  color: #0d0d0d;
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(1.15rem, 2.5vw, 2rem);
  letter-spacing: -0.02em;
  padding: 13px 15px;
  cursor: pointer;
}

.buy-btn:hover {
  background: #fff;
}

.checkout-message {
  margin: 2px 0 0;
  min-height: 1.2em;
  font-size: 0.89rem;
  line-height: 1.4;
  color: #bcbcbc;
}

.footer {
  border-top: 1px solid var(--line-soft);
  padding: 16px 0 26px;
}

.footer p {
  margin: 0;
  color: #858585;
  font-size: 0.83rem;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.reveal {
  animation: reveal 550ms ease both;
}

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

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

@media (max-width: 1150px) {
  .schedule-top {
    grid-template-columns: 1fr;
    gap: 10px;
  }

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

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

  .checkout {
    grid-template-columns: 200px 1fr;
  }

  .buy-form {
    grid-column: 1 / -1;
  }
}

@media (max-width: 760px) {
  :root {
    --max-width: min(1280px, calc(100vw - 24px));
  }

  .top-rail {
    padding: 10px 0;
  }

  .page {
    padding: 16px 0 30px;
    gap: 52px;
  }

  .meta-grid,
  .ticket-grid,
  .schedule-row,
  .checkout {
    grid-template-columns: 1fr;
  }

  .hero-stamp {
    font-size: 0.66rem;
    letter-spacing: 0.04em;
  }

  .manifesto-copy {
    line-height: 1.15;
  }

  .buy-btn {
    font-size: 1.35rem;
  }

  .footer {
    padding-bottom: 20px;
  }
}

@media (min-width: 900px) {
  .hero-lede-break {
    display: inline;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
  }
}
