:root {
  --bg: #050505;
  --bg-soft: #111111;
  --panel: rgba(18, 18, 18, 0.92);
  --panel-strong: #202020;
  --line: rgba(255, 255, 255, 0.08);
  --text: #f4f1e8;
  --muted: rgba(244, 241, 232, 0.68);
  --acid: #d8ff42;
  --acid-deep: #9ec723;
  --peach: #ff914d;
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --shadow: 0 28px 80px rgba(0, 0, 0, 0.45);
  --max-width: 1280px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  font-family: "Space Grotesk", sans-serif;
  background:
    radial-gradient(circle at top left, rgba(216, 255, 66, 0.1), transparent 28%),
    radial-gradient(circle at 85% 20%, rgba(255, 145, 77, 0.14), transparent 18%),
    linear-gradient(180deg, #070707 0%, #030303 100%);
  color: var(--text);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 52px 52px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.6), transparent);
  pointer-events: none;
}

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

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

button,
input,
textarea {
  font: inherit;
}

.page-shell {
  width: min(calc(100% - 40px), var(--max-width));
  margin: 0 auto;
  padding-bottom: 64px;
}

.site-header {
  position: sticky;
  top: 16px;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 18px;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(10, 10, 10, 0.75);
  backdrop-filter: blur(20px);
}

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

.brand-mark {
  width: 14px;
  height: 14px;
  border-radius: 3px;
  background:
    linear-gradient(135deg, var(--peach) 0 50%, var(--acid) 50% 100%);
  flex: none;
}

.brand-text {
  font-size: 0.93rem;
  letter-spacing: 0.03em;
  white-space: nowrap;
}

.site-nav {
  display: flex;
  gap: 22px;
  color: var(--muted);
  font-size: 0.94rem;
}

.site-nav a {
  transition: color 0.2s ease;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--text);
}

.header-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  transition:
    transform 0.2s ease,
    background-color 0.2s ease,
    border-color 0.2s ease,
    color 0.2s ease;
}

.header-cta,
.button-primary {
  background: var(--acid);
  color: #101010;
}

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

.button-secondary {
  background: transparent;
  border-color: var(--line);
  color: var(--text);
}

main {
  padding-top: 42px;
}

section {
  margin-top: 34px;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr);
  gap: 28px;
  align-items: stretch;
}

.hero-copy,
.hero-stage,
.about-card,
.program-panel,
.speaker-card,
.partner-brand,
.partner-copy,
.register,
.timeline-item,
.stat-card {
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.hero-copy,
.hero-stage,
.program-panel,
.partner-brand,
.partner-copy,
.register {
  border-radius: var(--radius-xl);
  background: linear-gradient(180deg, rgba(23, 23, 23, 0.96), rgba(11, 11, 11, 0.96));
}

.hero-copy {
  position: relative;
  overflow: hidden;
  padding: 42px;
}

.hero-copy::after {
  content: "";
  position: absolute;
  right: -40px;
  top: 36px;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(216, 255, 66, 0.22), transparent 72%);
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--acid);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.74rem;
}

h1,
h2,
h3,
.meta-value,
.portrait-note strong,
.stack-card strong,
.timeline-item h3,
.panel-head strong {
  font-family: "Cormorant Garamond", serif;
  font-weight: 600;
}

h1 {
  margin: 0;
  font-size: clamp(3.6rem, 7vw, 7.2rem);
  line-height: 0.92;
  text-wrap: balance;
}

h1 span {
  color: var(--acid);
}

.hero-lead,
.about-card p,
.timeline-item p,
.speaker-copy p,
.partner-brand p,
.register-copy p,
.panel-list li,
.partner-points li {
  color: var(--muted);
  line-height: 1.6;
}

.hero-lead {
  max-width: 44rem;
  margin: 22px 0 0;
  font-size: 1.06rem;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.meta-pill {
  display: inline-flex;
  flex-direction: column;
  gap: 4px;
  min-width: 180px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.03);
}

.meta-label,
.note-label,
.stack-card span,
.panel-tag,
.speaker-copy span,
.card-index,
.panel-list span,
.timeline-time {
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.meta-label,
.note-label,
.stack-card span,
.speaker-copy span,
.panel-list span {
  color: rgba(244, 241, 232, 0.5);
}

.meta-value {
  font-size: 1.3rem;
}

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

.stat-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 34px;
}

.stat-card {
  padding: 18px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.03);
}

.stat-card strong {
  display: block;
  font-size: 2.25rem;
  color: var(--acid);
}

.stat-card span {
  color: var(--muted);
}

.hero-stage {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 220px;
  gap: 18px;
  padding: 22px;
}

.portrait-card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  border-radius: 28px;
  background:
    linear-gradient(180deg, rgba(250, 248, 241, 0.08), rgba(250, 248, 241, 0)),
    linear-gradient(180deg, #101010 0%, #1a1a1a 100%);
}

.portrait-frame {
  padding: 22px 22px 0;
}

.portrait-frame img {
  height: 540px;
  object-fit: cover;
  border-radius: 24px;
}

.portrait-note {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 22px;
}

.portrait-note strong {
  font-size: 1.9rem;
  line-height: 0.95;
}

.dashboard-stack {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.stack-card {
  min-height: 160px;
  padding: 18px;
  border-radius: 24px;
}

.stack-card strong {
  display: block;
  margin-top: 10px;
  font-size: 1.7rem;
  line-height: 1;
}

.stack-card ul {
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
  color: var(--muted);
  line-height: 1.7;
}

.stack-card-light {
  background: #f1efea;
  color: #111;
}

.stack-card-light span,
.stack-card-light p {
  color: rgba(17, 17, 17, 0.7);
}

.stack-card-dark {
  background: linear-gradient(180deg, #1a1a1a, #111);
}

.stack-card-acid {
  background: var(--acid);
  color: #141414;
}

.stack-card-acid span {
  color: rgba(20, 20, 20, 0.6);
}

.section-heading {
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-width: 860px;
  margin-bottom: 22px;
}

.section-heading h2 {
  margin: 0;
  font-size: clamp(2.4rem, 4vw, 4.5rem);
  line-height: 0.96;
}

.about-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 18px;
}

.about-card {
  padding: 28px;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.03);
}

.about-card-acid {
  background: var(--acid);
  color: #141414;
}

.about-card-acid .card-index,
.about-card-acid p {
  color: rgba(20, 20, 20, 0.68);
}

.about-card h3 {
  margin: 18px 0 10px;
  font-size: 2rem;
  line-height: 0.98;
}

.program-layout,
.partner-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(280px, 0.7fr);
  gap: 18px;
}

.timeline {
  display: grid;
  gap: 16px;
}

.timeline-item {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  gap: 18px;
  padding: 24px;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.035);
}

.timeline-time {
  color: var(--acid);
}

.timeline-item h3 {
  margin: 0 0 10px;
  font-size: 2rem;
}

.timeline-item p {
  margin: 0;
}

.program-panel {
  padding: 24px;
}

.panel-head {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line);
}

.panel-tag {
  color: var(--peach);
}

.panel-head strong {
  font-size: 2.1rem;
}

.panel-list {
  display: grid;
  gap: 16px;
  padding: 0;
  margin: 22px 0 0;
  list-style: none;
}

.panel-list li {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}

.panel-list strong {
  color: var(--text);
}

.speaker-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr 0.8fr;
  gap: 18px;
}

.speaker-card {
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.03);
}

.speaker-card img {
  width: 100%;
  height: 360px;
  object-fit: cover;
  background: #f4f1e8;
}

.speaker-card-cutout img {
  object-fit: contain;
  padding: 24px;
}

.speaker-copy {
  padding: 24px;
}

.speaker-copy h3 {
  margin: 10px 0;
  font-size: 2rem;
  line-height: 0.98;
}

.partner-layout {
  align-items: stretch;
}

.partner-brand,
.partner-copy {
  padding: 28px;
}

.partner-brand img {
  width: 180px;
}

.partner-brand p {
  max-width: 34rem;
  margin: 28px 0 0;
}

.partner-points {
  display: grid;
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.partner-points li {
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}

.register {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(320px, 1fr);
  gap: 22px;
  padding: 28px;
}

.register h2 {
  margin: 0 0 18px;
  font-size: clamp(2.4rem, 3.8vw, 4rem);
  line-height: 0.97;
}

.register-form {
  display: grid;
  gap: 14px;
}

.register-form label {
  display: grid;
  gap: 8px;
}

.register-form span {
  font-size: 0.9rem;
  color: var(--muted);
}

.register-form input,
.register-form textarea {
  width: 100%;
  padding: 15px 18px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
  transition: border-color 0.2s ease, background-color 0.2s ease;
}

.register-form input:focus,
.register-form textarea:focus {
  outline: none;
  border-color: rgba(216, 255, 66, 0.65);
  background: rgba(255, 255, 255, 0.06);
}

.button-submit {
  width: fit-content;
  margin-top: 4px;
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 0.7s ease,
    transform 0.7s ease;
}

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

@media (max-width: 1120px) {
  .site-header,
  .hero,
  .about-grid,
  .program-layout,
  .speaker-grid,
  .partner-layout,
  .register {
    grid-template-columns: 1fr;
  }

  .site-header {
    flex-wrap: wrap;
  }

  .site-nav {
    order: 3;
    width: 100%;
    justify-content: space-between;
  }

  .hero-stage {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 760px) {
  .page-shell {
    width: min(calc(100% - 24px), var(--max-width));
  }

  .site-header {
    top: 10px;
    gap: 14px;
    padding: 14px;
  }

  .brand-text {
    white-space: normal;
    line-height: 1.2;
  }

  .site-nav {
    flex-wrap: wrap;
    gap: 12px 18px;
    font-size: 0.88rem;
  }

  .hero-copy,
  .hero-stage,
  .register,
  .partner-brand,
  .partner-copy,
  .program-panel,
  .about-card,
  .speaker-copy,
  .timeline-item {
    padding: 20px;
  }

  h1 {
    font-size: clamp(3rem, 15vw, 4.5rem);
  }

  .stat-row,
  .dashboard-stack {
    grid-template-columns: 1fr;
  }

  .portrait-frame {
    padding: 12px 12px 0;
  }

  .portrait-frame img,
  .speaker-card img {
    height: auto;
  }

  .timeline-item {
    grid-template-columns: 1fr;
  }

  .button,
  .header-cta,
  .button-submit {
    width: 100%;
  }
}
