@import url("https://fonts.googleapis.com/css2?family=Assistant:wght@400;600;700;800&family=Caveat:wght@500;700&family=Cormorant+Garamond:wght@500;600;700&display=swap");

:root {
  --ink: #11100f;
  --paper: #f7f1e8;
  --paper-soft: #fffaf2;
  --muted: #746d63;
  --line: rgba(17, 16, 15, 0.16);
  --red: #e11919;
  --blue: #bfe8ff;
  --blue-gray: #78909c;
  --deep: #171311;
  --deep-soft: #25201c;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Assistant, "Trebuchet MS", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.55;
}

body.nav-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
  padding: 0 clamp(1rem, 4vw, 3.5rem);
  background: rgba(17, 16, 15, 0.9);
  color: #fffaf2;
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: baseline;
  gap: 0.12rem;
  font-family: Verdana, Geneva, sans-serif;
  font-weight: 850;
  white-space: nowrap;
}

.brand .ted, .brand .x { color: var(--red); }
.brand .ted { font-size: 1.25rem; }
.brand .x { font-size: 0.9rem; vertical-align: super; }
.brand span:last-child { font-size: 1rem; }

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.menu-toggle {
  display: inline-grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  background: transparent;
  color: #fffaf2;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 3px auto;
  background: currentColor;
}

.nav {
  position: fixed;
  top: 76px;
  right: clamp(1rem, 4vw, 3.5rem);
  display: none;
  width: min(360px, calc(100vw - 2rem));
  padding: 0.7rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(17, 16, 15, 0.98);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.28);
}

.nav.open { display: grid; }

.nav a {
  display: flex;
  justify-content: space-between;
  padding: 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 250, 242, 0.78);
  font-size: 0.84rem;
  font-weight: 850;
  text-transform: uppercase;
}

.nav a:last-child { border-bottom: 0; }
.nav a:hover, .nav a:focus-visible, .nav a[aria-current="page"] { color: #fff; }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0.78rem 1.12rem;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: var(--paper-soft);
  font-size: 0.79rem;
  font-family: Verdana, Geneva, sans-serif;
  font-weight: 850;
  letter-spacing: 0;
  text-transform: uppercase;
  cursor: pointer;
  transition: transform 180ms ease, background 180ms ease, color 180ms ease, border-color 180ms ease;
}

.button:hover, .button:focus-visible { transform: translateY(-1px); }
.button.red { border-color: var(--red); background: var(--red); color: #fff; }
.button.light { border-color: rgba(255, 255, 255, 0.72); background: rgba(255, 255, 255, 0.08); color: #fff; }
.button.ghost { background: transparent; color: var(--ink); }
.dark .button.ghost { border-color: rgba(255, 255, 255, 0.52); color: #fffaf2; }

.hero {
  position: relative;
  min-height: min(760px, calc(100vh - 76px));
  display: grid;
  align-items: end;
  overflow: hidden;
  background: var(--deep);
  color: #fffaf2;
}

.hero.short { min-height: 500px; }

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

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(17, 16, 15, 0.94), rgba(17, 16, 15, 0.36) 58%, rgba(17, 16, 15, 0.68)),
    linear-gradient(0deg, rgba(17, 16, 15, 0.86), rgba(17, 16, 15, 0.05) 54%);
}

.hero-content {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(250px, 0.48fr);
  gap: clamp(2rem, 6vw, 5.5rem);
  align-items: end;
  width: min(1140px, calc(100% - 2rem));
  margin: 0 auto;
  padding: clamp(4.5rem, 10vw, 8rem) 0 clamp(3rem, 7vw, 5rem);
}

.eyebrow {
  display: inline-flex;
  gap: 0.65rem;
  align-items: center;
  margin: 0 0 1rem;
  color: var(--red);
  font-size: 0.78rem;
  font-family: Verdana, Geneva, sans-serif;
  font-weight: 900;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 32px;
  height: 2px;
  background: currentColor;
}

h1, h2, h3 {
  margin: 0;
  font-family: "Cormorant Garamond", Cormorant, Georgia, "Times New Roman", serif;
  font-weight: 500;
  letter-spacing: 0;
  line-height: 1;
}

h1 {
  max-width: 820px;
  font-size: clamp(3.7rem, 9.2vw, 8.5rem);
}

h2 {
  max-width: 720px;
  font-size: clamp(2.15rem, 4.8vw, 4.65rem);
}

h3 { font-size: clamp(1.35rem, 2.4vw, 2.35rem); }

.hero-question {
  max-width: 550px;
  margin: 1.1rem 0 0;
  font-family: "Cormorant Garamond", Cormorant, Georgia, "Times New Roman", serif;
  font-size: clamp(1.45rem, 2.45vw, 2.55rem);
  line-height: 1.1;
}

.hero-side {
  border-top: 1px solid rgba(255, 255, 255, 0.42);
  padding-top: 1.25rem;
}

.hero-side p { color: rgba(255, 250, 242, 0.84); }

.hero-meta {
  margin: 0 0 1.1rem;
  font-size: 0.9rem;
  font-weight: 850;
  text-transform: uppercase;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.55rem;
}

.section { padding: clamp(4rem, 8vw, 7.5rem) clamp(1rem, 4vw, 3.5rem); }
.section.dark { background: var(--deep); color: var(--paper-soft); }
.wrap { width: min(1140px, 100%); margin: 0 auto; }

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1fr);
  gap: clamp(1.75rem, 5vw, 5rem);
  align-items: start;
}

.lead {
  max-width: 750px;
  color: var(--muted);
  font-size: clamp(1.08rem, 1.55vw, 1.38rem);
  line-height: 1.5;
}

.dark .lead, .dark p { color: rgba(255, 250, 242, 0.74); }
.intro-copy p, .body-copy p { margin: 0 0 1.1rem; color: #39342f; font-size: 1.04rem; }
.dark .intro-copy p, .dark .body-copy p { color: rgba(255, 250, 242, 0.78); }

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 2.5rem;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.stat {
  min-height: 138px;
  padding: 1.2rem;
  border-right: 1px solid var(--line);
}

.stat:last-child { border-right: 0; }

.stat strong {
  display: block;
  font-family: "Cormorant Garamond", Cormorant, Georgia, "Times New Roman", serif;
  font-size: clamp(1.9rem, 3.1vw, 3.1rem);
  font-weight: 500;
  line-height: 1.08;
}

.stat span {
  display: block;
  margin-top: 0.7rem;
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 850;
  text-transform: uppercase;
}

.participate-grid, .card-grid, .speaker-grid, .media-grid {
  display: grid;
  gap: 1px;
  margin-top: 2.4rem;
  background: var(--line);
  border: 1px solid var(--line);
}

.participate-grid { grid-template-columns: repeat(3, 1fr); }
.card-grid { grid-template-columns: repeat(4, 1fr); }
.speaker-grid { grid-template-columns: repeat(3, 1fr); }
.media-grid { grid-template-columns: 1.2fr 0.8fr 0.8fr; }

.card, .speaker-card, .media-card {
  min-height: 250px;
  padding: 1.35rem;
  background: var(--paper-soft);
}

.participate-grid {
  background: rgba(225, 25, 25, 0.8);
  border-color: rgba(225, 25, 25, 0.8);
}

.participate-grid .card {
  position: relative;
  border-top: 5px solid var(--red);
}

.participate-grid .card::after {
  content: "✦";
  position: absolute;
  top: 1rem;
  right: 1.1rem;
  color: var(--red);
  font-size: 1.45rem;
}

.dark .card, .dark .speaker-card, .dark .media-card { background: var(--deep-soft); }

.card h3, .speaker-card h3, .media-card h3 {
  font-family: Verdana, Geneva, sans-serif;
  font-size: 1.02rem;
  line-height: 1.25;
  font-weight: 900;
  text-transform: uppercase;
}

.card p, .speaker-card p, .media-card p { color: var(--muted); }
.dark .card p, .dark .speaker-card p, .dark .media-card p { color: rgba(255, 250, 242, 0.72); }

.price {
  margin: 1.1rem 0 0.7rem;
  font-family: "Cormorant Garamond", Cormorant, Georgia, "Times New Roman", serif;
  font-size: 2.4rem;
  line-height: 1;
}

.partner-price {
  color: var(--red);
}

.page-title-sm {
  font-size: clamp(3rem, 6.2vw, 6rem);
}

.ticket-panel {
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  gap: 1px;
  margin-top: 2.5rem;
  background: var(--line);
  border: 1px solid var(--line);
}

.ticket-panel > * {
  background: var(--paper-soft);
  padding: 1.5rem;
}

.quantity {
  display: flex;
  align-items: center;
  width: max-content;
  margin-top: 1.2rem;
  border: 1px solid var(--line);
}

.quantity button {
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.quantity output {
  width: 44px;
  text-align: center;
  font-weight: 850;
}

.timeline {
  margin-top: 2.5rem;
  border-left: 1px solid var(--line);
}

.time-row {
  display: grid;
  grid-template-columns: 140px minmax(0, 1fr);
  gap: 1.5rem;
  padding: 1.25rem 0 1.25rem 1.4rem;
  border-bottom: 1px solid var(--line);
}

.time-row time {
  color: var(--red);
  font-weight: 900;
}

.time-row h3 {
  font-family: Verdana, Geneva, sans-serif;
  font-size: 1.02rem;
  font-weight: 900;
  text-transform: uppercase;
}

.benefits {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
  margin-top: 2.2rem;
}

.benefit {
  padding-top: 1rem;
  border-top: 1px solid var(--line);
}

.benefit b { display: block; margin-bottom: 0.35rem; }

.table-wrap {
  overflow-x: auto;
  margin-top: 2.5rem;
  border: 1px solid var(--line);
}

table {
  width: 100%;
  min-width: 720px;
  border-collapse: collapse;
  background: var(--paper-soft);
}

th, td {
  padding: 0.9rem;
  border-bottom: 1px solid var(--line);
  border-right: 1px solid var(--line);
  text-align: center;
  vertical-align: middle;
}

th:first-child, td:first-child { text-align: left; }
th { background: #eee1d1; font-size: 0.82rem; text-transform: uppercase; }
th:not(:first-child) { color: var(--red); }

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-top: 2rem;
}

.field { display: grid; gap: 0.4rem; }
.field.wide { grid-column: 1 / -1; }

label {
  color: #4b443d;
  font-size: 0.8rem;
  font-family: Verdana, Geneva, sans-serif;
  font-weight: 900;
  text-transform: uppercase;
}

input, select, textarea {
  width: 100%;
  min-height: 48px;
  border: 1px solid var(--line);
  border-radius: 0;
  background: var(--paper-soft);
  color: var(--ink);
  padding: 0.8rem;
}

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

.role-list, .plain-list {
  margin-top: 1.5rem;
  padding-left: 1.2rem;
}

.role-list { columns: 2; }
.role-list li, .plain-list li { margin-bottom: 0.45rem; }

.role-columns {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
  margin-top: 2.2rem;
}

.role-group {
  background: var(--deep-soft);
  border: 1px solid rgba(255, 255, 255, 0.16);
  padding: 1.2rem;
}

.role-group h3 {
  font-family: Verdana, Geneva, sans-serif;
  font-size: 1rem;
  font-weight: 900;
  text-transform: uppercase;
}

.role-group summary {
  color: #fffaf2;
}

.role-group details {
  border-color: rgba(255, 255, 255, 0.16);
}

.role-group details p,
.role-group li {
  color: rgba(255, 250, 242, 0.75);
}

.faq-list {
  margin-top: 2.2rem;
  border-top: 1px solid var(--line);
}

details {
  border-bottom: 1px solid var(--line);
  padding: 1.05rem 0;
}

summary {
  cursor: pointer;
  font-family: Verdana, Geneva, sans-serif;
  font-weight: 900;
  list-style: none;
}

summary::-webkit-details-marker { display: none; }

details p {
  max-width: 760px;
  margin-bottom: 0;
  color: var(--muted);
}

.contact-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 2.4rem;
  padding: 1.25rem 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.footer {
  padding: 3rem clamp(1rem, 4vw, 3.5rem);
  background: #0c0b0a;
  color: #fffaf2;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 2rem;
  width: min(1140px, 100%);
  margin: 0 auto;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.8rem 1.25rem;
  font-size: 0.82rem;
  font-weight: 850;
  text-transform: uppercase;
}

.tiny {
  color: rgba(255, 250, 242, 0.55);
  font-size: 0.82rem;
}

@media (max-width: 980px) {
  .hero-content, .split, .ticket-panel, .footer-grid { grid-template-columns: 1fr; }
  .stats, .card-grid, .speaker-grid, .participate-grid, .media-grid, .benefits { grid-template-columns: repeat(2, 1fr); }
  .role-columns { grid-template-columns: 1fr; }
  .footer-links { justify-content: flex-start; }
}

@media (max-width: 640px) {
  .site-header { min-height: 68px; }
  .header-actions .button { display: none; }
  .nav { top: 68px; left: 1rem; right: 1rem; width: auto; }
  .hero { min-height: calc(100vh - 68px); }
  .hero.short { min-height: 420px; }
  h1 { font-size: clamp(3.35rem, 18vw, 5.7rem); }
  .stats, .card-grid, .speaker-grid, .participate-grid, .media-grid, .benefits, .form-grid { grid-template-columns: 1fr; }
  .stat { min-height: 112px; border-right: 0; border-bottom: 1px solid var(--line); }
  .time-row { grid-template-columns: 1fr; gap: 0.55rem; }
  .role-list { columns: 1; }
}
