/* ===========================================================
   TOWN HALL — page-specific styles
   Builds on /assets/css/system.css
   =========================================================== */

/* -------- HERO -------- */
.th-hero {
  position: relative;
  margin: 64px var(--shell-margin) 0;
  padding: clamp(56px, 7vw, 120px) clamp(28px, 5vw, 96px) clamp(40px, 5vw, 72px);
  background: var(--bg);
  border-radius: var(--radius-card);
  overflow: hidden;
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: clamp(28px, 5vw, 80px);
  align-items: end;
  min-height: 70vh;
}
.th-hero__eyebrow {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin: 0 0 24px;
}
.th-hero__eyebrow .dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--accent-red);
  animation: pulse 2.2s ease-in-out infinite;
}
.th-hero__eyebrow .sep { color: var(--muted-2); }
@keyframes pulse {
  0%,100% { transform: scale(1); opacity: 1; }
  50%     { transform: scale(1.5); opacity: 0.4; }
}
.th-hero__title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(48px, 8.5vw, 132px);
  line-height: 0.96;
  letter-spacing: -0.025em;
  margin: 0 0 28px;
  color: var(--ink);
}
.th-hero__title em { font-style: italic; font-weight: 500; }
.th-hero__lede {
  font-size: clamp(17px, 1.5vw, 21px);
  line-height: 1.5;
  color: var(--ink-soft);
  margin: 0;
  max-width: 52ch;
}
.th-hero__lede strong { font-weight: 700; color: var(--ink); }

/* hero side: seat counter + ticket card */
.th-hero__side { display: flex; flex-direction: column; gap: 18px; }
.seat-meter {
  background: #fff;
  border: 1px solid var(--hairline);
  border-radius: 18px;
  padding: 22px 24px;
}
.seat-meter__lbl {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 14px;
}
.seat-meter__row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin: 0 0 12px;
}
.seat-meter__claimed {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.seat-meter__total {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}
.seat-meter__bar {
  height: 4px;
  background: var(--hairline);
  border-radius: 999px;
  overflow: hidden;
}
.seat-meter__fill {
  height: 100%;
  background: var(--ink);
  border-radius: 999px;
  transition: width .8s ease;
}
.th-hero__strip {
  position: relative;
  margin: clamp(28px, 4vw, 48px) calc(-1 * clamp(28px, 5vw, 96px)) calc(-1 * clamp(40px, 5vw, 72px));
  border-top: 1px solid var(--hairline);
  padding: 14px 0;
  overflow: hidden;
  background: rgba(10,10,11,0.02);
  grid-column: 1 / -1;
}
.th-hero__strip .strip__track {
  display: inline-flex; align-items: center;
  gap: 28px; white-space: nowrap;
  font-size: 11px;
  letter-spacing: 0.28em;
  font-weight: 600;
  color: var(--ink);
  font-family: var(--font-mono);
  animation: marquee 38s linear infinite;
}
.th-hero__strip .dot-sep { color: var(--muted-2); font-size: 6px; }
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@media (max-width: 1000px) {
  .th-hero { grid-template-columns: 1fr; min-height: auto; }
  .th-hero__strip { margin-top: 32px; }
}
@media (max-width: 600px) {
  .th-hero { padding-left: 22px; padding-right: 22px; }
  .th-hero__strip { margin-left: -22px; margin-right: -22px; }
}

/* -------- IDEA SECTION -------- */
.th-idea {
  margin: var(--shell-margin);
  padding: clamp(72px, 9vw, 140px) clamp(28px, 5vw, 96px);
  background: var(--page);
  border-radius: var(--radius-card);
  border: 1px solid var(--hairline);
}
.th-idea__lede {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(28px, 4vw, 52px);
  line-height: 1.15;
  letter-spacing: -0.018em;
  margin: 28px 0 56px;
  color: var(--ink);
  max-width: 26ch;
}
.th-idea__lede em { font-style: italic; }
.th-idea__body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(28px, 5vw, 72px);
  max-width: 1100px;
}
.th-idea__body p {
  margin: 0;
  font-size: clamp(15px, 1.2vw, 17px);
  line-height: 1.65;
  color: var(--muted);
}
@media (max-width: 800px) {
  .th-idea__body { grid-template-columns: 1fr; }
}

/* -------- HOST BLOCK (Dr. Floyd "Hosted by" hero) -------- */
.host {
  position: relative;
  margin: var(--shell-margin);
  padding: 0;
  background: var(--ink);
  color: #fff;
  border-radius: var(--radius-card);
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 0;
  min-height: 540px;
}
.host__copy, .host__photo { min-width: 0; }
.host__copy {
  padding: clamp(48px, 6vw, 96px) clamp(32px, 5vw, 80px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.host__eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
  margin: 0 0 28px;
}
.host__name {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(40px, 5.4vw, 76px);
  line-height: 1;
  letter-spacing: -0.022em;
  margin: 0 0 8px;
}
.host__name em { font-style: italic; }
.host__role {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
  margin: 0 0 32px;
}
.host__bio {
  font-size: clamp(15px, 1.2vw, 17px);
  line-height: 1.6;
  color: rgba(255,255,255,0.85);
  margin: 0 0 32px;
  max-width: 48ch;
}
.host__tags {
  list-style: none;
  margin: 0; padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.host__tags li {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 6px 12px;
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 999px;
  color: rgba(255,255,255,0.85);
}
.host__photo {
  position: relative;
  background: #1a1a1c center/cover no-repeat;
  background-image: url("../floyd.jpg");
  min-height: 360px;
}
.host__photo::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(10,10,11,0.5) 0%, transparent 25%);
  pointer-events: none;
}
@media (max-width: 900px) {
  .host { grid-template-columns: 1fr; min-height: auto; }
  .host__photo { order: -1; min-height: 320px; aspect-ratio: 16/10; }
  .host__photo::after { background: linear-gradient(180deg, transparent 60%, rgba(10,10,11,0.3) 100%); }
}

/* -------- THE TABLE (speaker grid) -------- */
.table-section { /* uses .section */ }
.spkrs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(20px, 2.4vw, 32px);
}
.spkr {
  background: #fff;
  border: 1px solid var(--hairline);
  border-radius: 20px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  transition: transform .3s ease, box-shadow .3s ease;
}
.spkr:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 36px -16px rgba(10,10,11,0.18);
}
.spkr__head {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 0 0 22px;
}
.spkr__avatar {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: var(--bg) center/cover no-repeat;
  flex-shrink: 0;
  border: 1px solid var(--hairline);
}
.spkr__name {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 22px;
  line-height: 1.1;
  letter-spacing: -0.01em;
  margin: 0 0 4px;
  color: var(--ink);
}
.spkr__role {
  font-size: 12px;
  line-height: 1.4;
  color: var(--muted);
  margin: 0;
}
.spkr__eyebrow {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin: 0 0 14px;
}
.spkr__bio {
  font-size: 14px;
  line-height: 1.55;
  color: var(--muted);
  margin: 0 0 22px;
  flex: 1;
}
.spkr__tags {
  list-style: none;
  margin: 0; padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.spkr__tags li {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 5px 10px;
  background: var(--bg);
  border-radius: 999px;
  color: var(--ink-soft);
}
@media (max-width: 1000px) { .spkrs { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px)  { .spkrs { grid-template-columns: 1fr; } }

/* -------- WHAT HAPPENS / 4-up format grid -------- */
.format {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
}
.format__item {
  padding: 36px 28px;
  border-right: 1px solid var(--hairline);
}
.format__item:last-child { border-right: 0; }
.format__num {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  color: var(--muted);
  margin: 0 0 24px;
}
.format__title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 22px;
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin: 0 0 14px;
}
.format__body {
  font-size: 14px;
  line-height: 1.55;
  color: var(--muted);
  margin: 0;
}
@media (max-width: 900px) {
  .format { grid-template-columns: 1fr 1fr; }
  .format__item:nth-child(2n) { border-right: 0; }
  .format__item:nth-child(-n+2) { border-bottom: 1px solid var(--hairline); }
}
@media (max-width: 540px) {
  .format { grid-template-columns: 1fr; }
  .format__item { border-right: 0; border-bottom: 1px solid var(--hairline); }
  .format__item:last-child { border-bottom: 0; }
}

/* -------- WHY HUMAN SIGNAL (credibility) -------- */
.why {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: clamp(40px, 5vw, 80px);
  align-items: center;
}
.why__credits {
  list-style: none;
  margin: 0 0 32px; padding: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.why__credits li {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: clamp(15px, 1.2vw, 17px);
  color: var(--ink);
}
.why__credits li::before {
  content: "";
  width: 6px; height: 6px;
  background: var(--ink);
  border-radius: 50%;
  flex-shrink: 0;
}
.why__quote {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(22px, 2.4vw, 32px);
  line-height: 1.3;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin: 0 0 16px;
  border-left: 2px solid var(--ink);
  padding-left: 22px;
}
.why__attr {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0;
  padding-left: 24px;
}
.why__badges {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 28px;
}
.why__badges img {
  height: 56px;
  opacity: 0.85;
  filter: grayscale(0.4);
}
@media (max-width: 800px) { .why { grid-template-columns: 1fr; } }

/* -------- TICKETS -------- */
.tickets {
  text-align: center;
}
.tickets__price {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(72px, 11vw, 168px);
  line-height: 1;
  letter-spacing: -0.03em;
  margin: 24px 0 16px;
  color: #fff;
}
.tickets__rate {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
  margin: 0 0 8px;
}
.tickets__avail {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
  margin: 0 0 48px;
}
.tickets__card {
  max-width: 540px;
  margin: 0 auto;
  background: #fff;
  color: var(--ink);
  border-radius: 20px;
  padding: 36px 32px;
  text-align: left;
}
.tickets__tier {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 6px;
}
.tickets__tier-price {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin: 0 0 22px;
  gap: 12px;
}
.tickets__tier-price h3 {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 500;
  margin: 0;
  letter-spacing: -0.01em;
}
.tickets__tier-price span {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 500;
  letter-spacing: -0.01em;
}
.tickets__list {
  list-style: none;
  margin: 0 0 28px; padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.tickets__list li {
  display: flex;
  gap: 12px;
  font-size: 14px;
  color: var(--muted);
  line-height: 1.5;
}
.tickets__list li::before {
  content: "✓";
  color: var(--ink);
  font-weight: 700;
  flex-shrink: 0;
}
.tickets__finep {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  margin: 32px 0 0;
  text-align: center;
}

/* -------- STICKY CTA BAR -------- */
.sticky-cta {
  position: fixed;
  bottom: 14px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 90;
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 10px 14px 10px 22px;
  background: var(--ink);
  color: #fff;
  border-radius: 999px;
  box-shadow: 0 12px 36px -8px rgba(0,0,0,0.45);
  opacity: 0;
  transform: translate(-50%, 20px);
  transition: opacity .4s ease, transform .4s ease;
}
.sticky-cta.is-visible {
  opacity: 1;
  transform: translate(-50%, 0);
}
.sticky-cta__txt {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.75);
  white-space: nowrap;
}
.sticky-cta .btn { padding: 10px 18px; font-size: 12px; }
@media (max-width: 540px) {
  .sticky-cta {
    left: 12px; right: 12px; bottom: 12px;
    transform: translateY(20px);
    border-radius: 14px;
    padding: 12px 14px;
    justify-content: space-between;
  }
  .sticky-cta.is-visible { transform: translateY(0); }
  .sticky-cta__txt { font-size: 10px; letter-spacing: 0.16em; }
}
