/* ============================================================
   MAIN STREET EVENT AI SUMMIT — shared stylesheet
   Used by: index.html, registration.html, calendar.html, sponsor.html
   Last updated: 2026-09-01

   Structure:
     1.  Design tokens
     2.  Base / reset
     3.  Layout
     4.  Header & navigation
     5.  Buttons
     6.  Section furniture
     7.  Cards
     8.  Factbar
     9.  Hero (index) / Reg hero (registration)
     10. Agenda, arc, slots
     11. Speakers
     12. Playbook
     13. Tickets
     14. Sponsors  <-- logo centering fix lives here
     15. Community & signup
     16. FAQ
     17. Bottom bar & footer
     18. Calendar page
     19. Responsive
     20. Sponsor page
     21. Print
     22. Scroll reveal & animated counters
   ============================================================ */


/* ============================================================
   1. DESIGN TOKENS
   ============================================================ */
:root {
  --brick:  #C05A2B;
  --cream:  #F7F6F2;
  --paper:  #FFFFFF;
  --navy:   #16294C;
  --gold:   #D9A32E;
  --blue:   #1A5CD6;
  --orange: #D9772E;
  --muted:  #5C6470;
  --line:   #E1E4E9;

  --font-body: "Aptos", "Work Sans", Arial, sans-serif;
  --font-head: Georgia, "Times New Roman", serif;
}


/* ============================================================
   2. BASE / RESET
   ============================================================ */
* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  background: var(--cream);
  color: var(--navy);
  line-height: 1.5;
}

h1, h2, h3 {
  font-family: var(--font-head);
  line-height: 1.08;
  margin: 0;
  color: var(--navy);
}

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

img { max-width: 100%; }

/* Visible focus ring for keyboard users. */
a:focus-visible,
button:focus-visible,
input:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 2px;
  border-radius: 3px;
}

/* Skip link */
.skip {
  position: absolute;
  left: -9999px;
  background: var(--navy);
  color: #fff;
  padding: 10px 16px;
  z-index: 100;
  font-weight: 700;
  border-radius: 0 0 6px 0;
}
.skip:focus { left: 0; top: 0; }

/* Screen-reader-only text that does NOT disturb layout.
   Use this inside tables and other layout-sensitive containers —
   .skip uses position:absolute and will break table column sizing. */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}


/* ============================================================
   3. LAYOUT
   ============================================================ */
.container {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
}

section {
  padding: 70px 0;
  border-top: 1px solid var(--line);
}


/* ============================================================
   4. HEADER & NAVIGATION
   ============================================================ */
header {
  background: rgba(250, 250, 248, .93);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(8px);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 12px 0;
}

.brand { display: flex; align-items: center; gap: 12px; }
.brand img { width: 120px; height: auto; display: block; border-radius: 6px; }

.brand-word {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 18px;
  letter-spacing: .02em;
}
.brand-word span { color: var(--brick); }

.links {
  display: flex;
  gap: 22px;
  align-items: center;
  font-size: 12px;
  letter-spacing: .11em;
  text-transform: uppercase;
  font-weight: 700;
}
.links a:hover { color: var(--blue); }
.links a.active {
  color: var(--brick);
  border-bottom: 2px solid var(--brick);
  padding-bottom: 2px;
}


/* ============================================================
   5. BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 24px;
  border-radius: 6px;
  font-size: 14px;
  letter-spacing: .08em;
  text-transform: uppercase;
  font-weight: 800;
  border: 1.5px solid var(--navy);
  cursor: pointer;
  font-family: inherit;
  text-align: center;
}
.btn.primary {
  background: var(--brick);
  color: #fff;
  border-color: var(--brick);
  box-shadow: 0 10px 24px rgba(181, 70, 46, .18);
}
.btn.primary:hover { background: #9c3a25; }

.btn.secondary { background: transparent; color: var(--navy); }
.btn.secondary:hover { background: rgba(30, 42, 58, .06); }

.btn.navy {
  background: var(--navy);
  color: #fff;
  border-color: var(--navy);
  box-shadow: 0 10px 24px rgba(22, 41, 76, .18);
}
.btn.navy:hover { background: #0e1c36; }

.btn.disabled {
  background: #E9ECF1;
  color: var(--muted);
  border-color: #D6DBE3;
  box-shadow: none;
  cursor: default;
}

.btn.wide { width: 100%; }


/* ============================================================
   6. SECTION FURNITURE
   ============================================================ */
.eyebrow {
  color: var(--blue);
  letter-spacing: .16em;
  font-size: 14px;
  text-transform: uppercase;
  font-weight: 800;
}

.section-title { text-align: center; margin-bottom: 34px; }
.section-title .eyebrow { margin-bottom: 10px; display: block; }
.section-title h2 { font-size: clamp(30px, 3.4vw, 42px); }
.section-title p.sub {
  max-width: 760px;
  margin: 14px auto 0;
  font-size: 17px;
  color: var(--muted);
}

.prose { max-width: 800px; margin: 0 auto; font-size: 17px; }
.prose p { margin: 0 0 16px; }

.fine {
  font-size: 13px;
  color: var(--muted);
  text-align: center;
  margin-top: 18px;
}

.agenda-note {
  text-align: center;
  color: var(--muted);
  font-size: 14px;
  margin-top: 16px;
}


/* ============================================================
   7. CARDS
   ============================================================ */
.three { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }

.card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 26px;
  box-shadow: 0 12px 28px rgba(30, 42, 58, .05);
}
.card h3 { font-size: 24px; margin: 0 0 12px; }
.card .label {
  color: var(--brick);
  text-transform: uppercase;
  letter-spacing: .12em;
  font-weight: 800;
  font-size: 12px;
  margin-bottom: 10px;
}

.track-icon {
  width: 84px;
  height: 58px;
  border: 2px solid var(--navy);
  border-top: 12px solid var(--brick);
  border-radius: 6px;
  margin-bottom: 18px;
  background: linear-gradient(90deg, rgba(212, 162, 60, .3), rgba(255, 255, 255, .5));
}

/* Numbered items (index "What you'll do", registration "Included") */
.do-grid,
.included-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.do-grid { max-width: 960px; margin: 0 auto; }

.do-item {
  background: var(--paper);
  border: 1px solid var(--line);
  border-left: 4px solid var(--blue);
  border-radius: 0 12px 12px 0;
  padding: 20px 22px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.do-num {
  flex: none;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--gold);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.do-item p { margin: 0; font-size: 15.5px; }

.checklist { list-style: none; padding: 0; margin: 20px 0 0; }
.checklist li { padding-left: 34px; position: relative; margin-bottom: 12px; font-size: 16px; }
.checklist li:before {
  content: "\2713";
  position: absolute;
  left: 0;
  top: -1px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--navy);
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
}


/* ============================================================
   8. FACTBAR
   ============================================================ */
.factbar { background: var(--navy); color: #fff; padding: 22px 0; }
.factbar .container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  text-align: center;
}
.factbar b { display: block; font-family: var(--font-head); font-size: 22px; color: var(--gold); }
.factbar span { font-size: 13px; color: #D9E4F8; letter-spacing: .04em; }


/* ============================================================
   9. HERO
   ============================================================ */
.hero {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 32px;
  align-items: center;
  padding: 48px 0 40px;
  border-top: none;
}
.hero h1 { font-size: clamp(52px, 5.6vw, 92px); letter-spacing: -.03em; margin: 20px 0 18px; }
.hero p.lede { font-size: 20px; max-width: 600px; margin: 0 0 26px; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 20px; }

.earlybird-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--paper);
  border: 1.5px dashed var(--gold);
  border-radius: 999px;
  padding: 10px 18px;
  font-weight: 800;
  font-size: 14px;
  color: var(--navy);
  flex-wrap: wrap;
}
.earlybird-pill b { color: var(--brick); }

.sponsor-note { display: flex; gap: 12px; align-items: center; font-weight: 700; margin-top: 16px; }
.spark {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--gold) 0 26%, transparent 28%);
  position: relative;
  flex: none;
}
.spark:before, .spark:after {
  content: "";
  position: absolute;
  inset: 13px -5px auto -5px;
  height: 1px;
  background: var(--gold);
}
.spark:after { transform: rotate(90deg); }

.presented { margin-top: 14px; font-size: 14px; color: var(--muted); max-width: 600px; }
.presented b { color: var(--navy); }

.hero-art {
  border-radius: 0 0 0 36px;
  overflow: hidden;
  box-shadow: 0 28px 60px rgba(30, 42, 58, .16);
  background: #fdfbf7;
  border: 1px solid var(--line);
}
.hero-art img { width: 100%; display: block; }

/* Registration page hero */
.reg-hero { text-align: center; padding: 52px 0 10px; border-top: none; }
.reg-hero h1 { font-size: clamp(44px, 5.2vw, 76px); letter-spacing: -.03em; margin: 18px 0 16px; }
.reg-hero p.lede { font-size: 19px; max-width: 720px; margin: 0 auto; color: var(--navy); }
.reg-hero .eyebrow { display: block; }


/* ============================================================
   10. AGENDA, ARC, SLOTS
   ============================================================ */
.arc {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 8px;
  max-width: 1000px;
  margin: 0 auto 40px;
}
.arc-step {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 9px 18px;
  font-weight: 800;
  font-size: 13px;
  letter-spacing: .02em;
  color: var(--navy);
  box-shadow: 0 6px 14px rgba(30, 42, 58, .05);
}
.arc-arrow { color: var(--gold); font-weight: 900; font-size: 16px; }

.agenda { max-width: 900px; margin: 0 auto; }

.slot {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 18px;
  padding: 18px 22px;
  border: 1px solid var(--line);
  border-left: 3px solid var(--gold);
  background: var(--paper);
  border-radius: 0 12px 12px 0;
  margin-bottom: 12px;
}
.slot time { font-weight: 800; color: var(--brick); font-size: 14px; letter-spacing: .05em; padding-top: 3px; }
.slot b { font-family: var(--font-head); font-size: 18px; display: block; margin-bottom: 4px; }
.slot .who { font-size: 13.5px; font-weight: 700; color: var(--blue); margin-bottom: 8px; }
.slot .doing { font-size: 15px; margin: 0 0 10px; }
.slot .leave {
  font-size: 14px;
  margin: 0;
  padding: 10px 14px;
  background: rgba(217, 163, 46, .11);
  border-radius: 8px;
}
.slot .leave em {
  font-style: normal;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
  font-size: 11px;
  color: var(--muted);
  display: block;
  margin-bottom: 2px;
}
.slot.signature { border-left-color: var(--brick); background: #FBEFE4; }
.slot.work { border-left-color: var(--blue); background: #EFF4FD; }
.slot.rest { background: #F3F4F6; border-left-color: #C9D0DA; padding: 12px 22px; }
.slot.rest b { font-size: 15px; margin-bottom: 0; display: inline; }

.slot .worktag {
  display: inline-block;
  background: var(--gold);
  color: var(--navy);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .1em;
  text-transform: uppercase;
  border-radius: 4px;
  padding: 2px 8px;
  margin-left: 8px;
  vertical-align: 3px;
}
.invited {
  display: inline-block;
  background: #EDF1F7;
  color: var(--muted);
  font-size: 9.5px;
  font-weight: 900;
  letter-spacing: .1em;
  text-transform: uppercase;
  border-radius: 3px;
  padding: 2px 6px;
  margin-left: 6px;
  vertical-align: 1px;
}


/* ============================================================
   11. SPEAKERS
   ============================================================ */
.speakers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px 20px; align-items: start; }
.speaker { text-align: center; }
.avatar {
  width: 108px;
  height: 108px;
  margin: 0 auto 14px;
  border-radius: 50%;
  background: linear-gradient(135deg, #6FA0E8, #16294C);
  border: 5px solid var(--paper);
  box-shadow: 0 10px 24px rgba(30, 42, 58, .12);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-head);
  font-size: 34px;
  color: #fff8ee;
  font-weight: 700;
}
.avatar.soon {
  background: repeating-linear-gradient(45deg, #E3E9F2, #E3E9F2 8px, #EDF1F7 8px, #EDF1F7 16px);
  color: var(--muted);
  font-size: 26px;
}
.speaker span { font-size: 14px; display: block; margin-top: 4px; color: var(--muted); }
.speaker .role { color: var(--navy); font-weight: 600; }


/* ============================================================
   12. PLAYBOOK
   ============================================================ */
.playbook { display: grid; grid-template-columns: .85fr 1.15fr; gap: 44px; align-items: center; }
.playbook-visual {
  background: var(--navy);
  border-radius: 24px;
  padding: 36px 32px;
  color: #fff8ee;
  box-shadow: 0 24px 48px rgba(30, 42, 58, .22);
  /*transform: rotate(-1.5deg);*/
  border-top: 14px solid var(--gold);
}
.playbook-visual h3 { color: var(--gold); font-size: 26px; margin-bottom: 6px; }
.playbook-visual p { margin: 0 0 16px; color: #D9E4F8; font-size: 14px; }
.playbook-visual ul { margin: 0; padding-left: 20px; font-size: 15px; line-height: 1.9; }


/* ============================================================
   13. TICKETS
   ============================================================ */
.tickets-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(300px, 460px));
  gap: 26px;
  justify-content: center;
  align-items: stretch;
}
.ticket { position: relative; overflow: hidden; display: flex; flex-direction: column; }
.ticket .price { font-family: var(--font-head); font-size: 56px; color: var(--brick); margin: 6px 0 2px; }
.ticket .price small { font-size: 18px; color: var(--muted); font-family: inherit; }
.ticket .window {
  font-weight: 800;
  font-size: 13px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted);
}
.ticket.featured { border: 2px solid var(--gold); box-shadow: 0 18px 40px rgba(212, 162, 60, .22); }
.ticket ul { padding-left: 20px; margin: 16px 0 22px; font-size: 15px; line-height: 1.85; }
.ticket .btn-wrap { margin-top: auto; }
.ticket .after-btn { font-size: 12.5px; color: var(--muted); text-align: center; margin: 10px 0 0; }

.ribbon {
  position: absolute;
  top: 18px;
  right: -42px;
  transform: rotate(38deg);
  background: var(--gold);
  color: var(--navy);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: 6px 48px;
}


/* ============================================================
   14. SPONSORS
   ------------------------------------------------------------
   LOGO CENTERING FIX.

   The old rule was:
       .slot-row { display:grid; grid-template-columns:repeat(3,1fr); }
   Each of the Presenting / Lunch / Breakfast tiers holds exactly ONE
   logo slot, so that single slot landed in column 1 of 3 and sat hard
   left. `justify-content:center` could not fix it, because 1fr columns
   already consume the full width — there is nothing left to center.

   Flexbox is the fix: tracks are sized by content, so one, two, or
   three logos all center, and a partial last row centers too.
   ============================================================ */
.tier-head {
  text-align: center;
  font-family: var(--font-head);
  font-size: 22px;
  font-weight: 700;
  color: var(--navy);
  margin: 0 0 16px;
}

.tierlabel {
  font-size: 12px;
  letter-spacing: .15em;
  text-transform: uppercase;
  font-weight: 800;
  color: var(--brick);
  margin-bottom: 6px;
}

/* Single-logo tiers: Presenting, Lunch, Breakfast */
.slot-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: stretch;
  gap: 20px;
  margin-bottom: 40px;
}
.slot-row .logo-slot { flex: 0 1 460px; max-width: 100%; }

/* Multi-logo tier: Neighbor */
.slot-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: stretch;
  gap: 14px;
  margin-bottom: 10px;
}
.slot-grid .logo-slot { flex: 1 1 200px; max-width: 270px; }

.logo-slot {
  border: 2px dashed #C9D0DA;
  border-radius: 14px;
  background: var(--paper);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #B4BCC7;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
  text-align: center;
  padding: 10px;
}
.logo-slot.big { min-height: 151px; font-size: 19px; margin-bottom: 0; }
.logo-slot.small { min-height: 90px; font-size: 11px; }

/* Real logos inside a slot: centered, and normalized so wildly
   different aspect ratios don't make one logo tower over another. */
.logo-slot img {
  display: block;
  margin: 0 auto;
  max-width: 100%;
  width: auto;
  height: auto;
  max-height: 110px;
  object-fit: contain;
}
.logo-slot.small img { max-height: 64px; }

/* A slot holding a real logo shouldn't keep the dashed placeholder box. */
.logo-slot.filled { border-style: solid; border-color: var(--line); }

/* Cornerstone band & card */
.cstone-band { background: var(--paper); border-bottom: 1px solid var(--line); padding: 16px 0; }
.cstone-band .container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  flex-wrap: wrap;
}
.cstone-band .lbl {
  font-size: 12px;
  letter-spacing: .16em;
  text-transform: uppercase;
  font-weight: 800;
  color: var(--muted);
}
.cstone-band img { height: 100px; width: auto; display: block; }

.cstone-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-top: 10px solid var(--gold);
  border-radius: 16px;
  padding: 36px 30px 30px;
  text-align: center;
  box-shadow: 0 14px 30px rgba(30, 42, 58, .07);
  max-width: 760px;
  margin: 0 auto 40px;
}
.cstone-card img { width: min(430px, 82%); height: auto; margin: 6px 0 16px; display: block; margin-inline: auto; }

/* Legacy partner grid, retained in case it is still used.
   NOTE: the old `.tiers { display:grid }` rule was removed here. It
   collided with `table.tiers` on the sponsor page and turned the tier
   comparison table into a 4-column grid, scrambling the header row.
   Nothing on the site used it. Do not reintroduce a bare `.tiers` rule. */
.partners { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; align-items: center; margin-top: 28px; }
.partner {
  background: var(--paper);
  border: 1px solid var(--line);
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  color: var(--muted);
  border-radius: 10px;
  text-align: center;
  padding: 8px;
}


/* ============================================================
   15. COMMUNITY & SIGNUP
   ============================================================ */
.community { display: grid; grid-template-columns: 1.1fr .9fr; gap: 44px; align-items: center; }
.signup {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 30px;
  box-shadow: 0 12px 28px rgba(30, 42, 58, .06);
}
.signup input {
  width: 100%;
  min-height: 48px;
  border: 1.5px solid var(--line);
  border-radius: 6px;
  padding: 0 14px;
  font-size: 15px;
  margin: 12px 0;
  background: #fff;
  font-family: inherit;
}

.included { max-width: 960px; margin: 0 auto; }

.note-band {
  max-width: 900px;
  margin: 34px auto 0;
  background: var(--paper);
  border: 1px solid var(--line);
  border-left: 4px solid var(--gold);
  border-radius: 0 12px 12px 0;
  padding: 22px 26px;
}
.note-band h3 { font-size: 19px; margin-bottom: 8px; }
.note-band p { margin: 0 0 10px; font-size: 15.5px; }
.note-band p:last-child { margin-bottom: 0; }
.note-band a { color: var(--brick); font-weight: 700; }


/* ============================================================
   16. FAQ
   ============================================================ */
.faq-wrap { max-width: 820px; margin: 0 auto; }
details {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 18px 22px;
  margin-bottom: 12px;
}
details summary { font-family: var(--font-head); font-weight: 700; font-size: 17px; cursor: pointer; }
details p { margin: 12px 0 0; font-size: 15px; }
details a { color: var(--brick); font-weight: 700; }


/* ============================================================
   17. BOTTOM BAR & FOOTER
   ============================================================ */
.bottom-bar { background: var(--navy); color: #fff; padding: 36px 0; }
.details-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; align-items: center; }
.details-grid h3 { color: #fff; font-size: 18px; margin-bottom: 8px; }
.details-grid p { margin: 0; color: #D9E4F8; }

footer { padding: 28px 0; background: #fff8ee; border-top: 1px solid var(--line); }
.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: center;
  font-size: 13px;
  color: var(--muted);
  flex-wrap: wrap;
}

/* Inline emphasis link used throughout body copy */
.link-brick { color: var(--brick); font-weight: 700; }


/* ============================================================
   18. CALENDAR PAGE
   Uses the site tokens so it reads as the same site.
   ============================================================ */
.cal-mast {
  background: var(--navy);
  color: #fff;
  text-align: center;
  padding: 56px 24px 60px;
}
.cal-mast .eyebrow { color: var(--gold); display: block; margin-bottom: 12px; }
.cal-mast h1 {
  color: #fff;
  font-size: clamp(38px, 5vw, 66px);
  letter-spacing: -.02em;
  margin: 0 0 14px;
}
.cal-mast .meta { margin: 0; font-size: 17px; color: #D9E4F8; }
.cal-mast .meta span { color: var(--gold); padding: 0 8px; }

.cal-intro {
  background: var(--paper);
  border: 1px solid var(--line);
  border-bottom: 3px solid var(--brick);
  border-radius: 14px;
  padding: 26px 30px;
  font-size: 17px;
  margin: 40px auto 0;
  max-width: 900px;
  box-shadow: 0 12px 28px rgba(30, 42, 58, .05);
}
.cal-intro p { margin: 0; }

.cal-callout {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  max-width: 900px;
  margin: 20px auto 0;
  padding: 22px 26px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-left: 4px solid var(--gold);
  border-radius: 0 12px 12px 0;
}
.cal-callout__icon {
  flex: none;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  line-height: 1;
}
.cal-callout__title { margin: 0 0 4px; font-size: 17px; font-family: var(--font-head); font-weight: 700; }
.cal-callout__body { margin: 0; font-size: 15px; color: var(--muted); }
.cal-callout__body a { color: var(--brick); font-weight: 700; word-break: break-word; }

.cal-label {
  max-width: 900px;
  margin: 44px auto 16px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--muted);
}
.cal-label::after {
  content: "";
  display: block;
  height: 2px;
  margin-top: 10px;
  background: var(--line);
}

.cal-list { list-style: none; margin: 0 auto; padding: 0; max-width: 900px; }

.cal-event {
  display: grid;
  grid-template-columns: 128px 1fr;
  gap: 0 24px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-left: 3px solid var(--gold);
  border-radius: 0 12px 12px 0;
  padding: 22px 26px;
  margin-bottom: 12px;
}
.cal-event__day { display: block; font-weight: 800; font-size: 15px; color: var(--brick); letter-spacing: .04em; }
.cal-event__year { display: block; font-size: 13px; font-weight: 700; color: var(--muted); }
.cal-event__title { font-family: var(--font-head); font-size: 21px; margin: 0 0 4px; }
.cal-event__where { margin: 0 0 8px; font-size: 13.5px; font-weight: 700; color: var(--blue); }
.cal-event__desc { margin: 0; font-size: 15.5px; }

.cal-event--feature {
  background: var(--navy);
  border-color: var(--navy);
  border-left-color: var(--gold);
}
.cal-event--feature .cal-event__day { color: var(--gold); }
.cal-event--feature .cal-event__year { color: #9FB3D4; }
.cal-event--feature .cal-event__title { color: #fff; }
.cal-event--feature .cal-event__where { color: var(--gold); }
.cal-event--feature .cal-event__desc { color: #D9E4F8; }

.cal-cta {
  max-width: 900px;
  margin: 40px auto 0;
  padding: 32px 30px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-top: 8px solid var(--gold);
  border-radius: 16px;
  text-align: center;
  box-shadow: 0 14px 30px rgba(30, 42, 58, .07);
}
.cal-cta h2 { font-size: 26px; margin: 0 0 8px; }
.cal-cta p { margin: 0 0 20px; color: var(--muted); font-size: 16px; }

.cal-credit {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  max-width: 900px;
  margin: 40px auto 0;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  font-size: 13.5px;
  color: var(--muted);
}
.cal-credit p { margin: 0; max-width: 62ch; }
.cal-credit img { width: 190px; height: auto; flex: none; }


/* ============================================================
   19. RESPONSIVE
   ============================================================ */
@media (max-width: 940px) {
  .hero, .three, .speakers, .playbook, .community,
  .tickets-grid, .details-grid, .do-grid, .included-grid {
    grid-template-columns: 1fr;
  }
  .partners { grid-template-columns: repeat(3, 1fr); }
  .factbar .container { grid-template-columns: repeat(2, 1fr); }
  .slot { grid-template-columns: 1fr; gap: 6px; }
  .arc-arrow { display: none; }

  /* Mobile navigation.
     The old rule was `.links { display:none }`, which left phone users
     with no site navigation at all beyond the Register button. The links
     now wrap onto their own centered row instead of disappearing. */
  .nav { flex-wrap: wrap; justify-content: center; gap: 12px 16px; }
  .links {
    order: 3;
    width: 100%;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px 16px;
    font-size: 11px;
    letter-spacing: .08em;
  }

  .cal-event { grid-template-columns: 1fr; gap: 6px; }
  .cal-event__date { display: flex; align-items: baseline; gap: 8px; }
  .cal-credit { flex-direction: column; align-items: flex-start; }
  .cal-callout { flex-direction: column; gap: 12px; }
}

@media (max-width: 560px) {
  section { padding: 48px 0; }
  .cal-mast { padding: 40px 18px 44px; }
  .cal-intro, .cal-callout, .cal-event, .cal-cta { padding-left: 18px; padding-right: 18px; }
  .brand img { width: 96px; }
}

/* Respect reduced-motion preferences */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}


/* ============================================================
   20. SPONSOR PAGE
   Components unique to msesponsor.html, built from the site
   tokens so the page reads as part of the same site.
   ============================================================ */

/* Generic lede paragraph (the hero variants are in section 9) */
.lede { font-size: 19px; color: var(--muted); }

/* Tinted section band */
section.tint {
  background: var(--paper);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

/* Centered hero for the sponsor page */
.sponsor-hero {
  text-align: center;
  padding: 56px 0 40px;
  border-top: none;
  background: radial-gradient(1100px 420px at 50% -140px, #EEF3FB 0%, rgba(255, 255, 255, 0) 72%);
}
.sponsor-hero h1 { font-size: clamp(38px, 5.2vw, 68px); letter-spacing: -.03em; margin: 14px 0 18px; }
.sponsor-hero .lede { max-width: 780px; margin: 0 auto 30px; font-size: 19px; }
.sponsor-hero-logo { max-width: 340px; margin: 0 auto 26px; display: block; height: auto; }
.hero-cta { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-bottom: 40px; }

/* Two-up card grid ("Our commitment") */
.card-grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.card-grid-2 .card h3 { color: var(--brick); font-size: 21px; }
.card-grid-2 .card p { margin: 0; font-size: 15.5px; color: var(--muted); }

/* Tier comparison table */
.tier-table-wrap {
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  background: var(--paper);
  box-shadow: 0 12px 28px rgba(30, 42, 58, .05);
}
table.tiers { width: 100%; border-collapse: collapse; font-size: 14px; table-layout: fixed; }
table.tiers thead th:first-child,
table.tiers tbody th { width: 26%; }
table.tiers thead th:not(:first-child),
table.tiers tbody td { width: 14.8%; }
table.tiers th,
table.tiers td {
  padding: 11px 12px;
  text-align: center;
  border-bottom: 1px solid var(--line);
  vertical-align: middle;
}
table.tiers thead th { background: var(--navy); color: #fff; border-bottom: none; padding: 16px 12px; }
table.tiers thead th .tname {
  font-family: var(--font-head);
  font-size: 19px;
  font-weight: 700;
  display: block;
  line-height: 1.2;
  color: #fff;
}
table.tiers thead th .tsub {
  display: block;
  font-size: 11px;
  color: #B9C7DC;
  letter-spacing: .04em;
  margin-top: 3px;
  font-weight: 400;
  text-transform: none;
}
table.tiers tbody th {
  text-align: left;
  font-weight: 700;
  color: var(--navy);
  font-size: 13.5px;
  background: var(--paper);
  line-height: 1.35;
}
table.tiers tbody tr:nth-child(odd) th,
table.tiers tbody tr:nth-child(odd) td { background: var(--cream); }
table.tiers tbody tr:last-child th,
table.tiers tbody tr:last-child td { border-bottom: none; }

table.tiers .price { font-family: var(--font-head); font-size: 21px; font-weight: 700; color: var(--brick); }
table.tiers .val { color: var(--brick); font-size: 13px; line-height: 1.35; }
table.tiers .yes { color: #1F7A3D; font-size: 17px; font-weight: 700; }
table.tiers .no { color: #B6BCC5; }
table.tiers .notforsale { font-size: 13px; font-weight: 700; color: var(--muted); letter-spacing: .04em; }

/* Mobile tier cards — hidden until the table stops fitting */
.tier-cards { display: none; }

@media (max-width: 900px) {
  .tier-table-wrap { display: none; }
  .tier-cards { display: grid; gap: 20px; grid-template-columns: 1fr; }
  .tier-card {
    border: 1px solid var(--line);
    border-radius: 14px;
    overflow: hidden;
    background: var(--paper);
    box-shadow: 0 12px 28px rgba(30, 42, 58, .05);
  }
  .tier-card.feature { border-color: var(--gold); box-shadow: 0 18px 40px rgba(212, 162, 60, .22); }
  .tier-card header { background: var(--navy); color: #fff; padding: 18px 22px; position: static; border: none; backdrop-filter: none; }
  .tier-card header .tname { font-family: var(--font-head); font-size: 24px; font-weight: 700; display: block; }
  .tier-card header .tsub { font-size: 12px; color: #B9C7DC; letter-spacing: .04em; }
  .tier-card .tprice {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 10px;
    padding: 14px 22px;
    border-bottom: 1px solid var(--line);
    background: var(--cream);
  }
  .tier-card .tprice b { font-family: var(--font-head); font-size: 26px; color: var(--brick); }
  .tier-card .tprice span {
    font-size: 12px;
    color: var(--muted);
    font-weight: 700;
    letter-spacing: .03em;
    text-transform: uppercase;
  }
  .tier-card ul { list-style: none; margin: 0; padding: 16px 22px 20px; }
  .tier-card li {
    position: relative;
    padding-left: 24px;
    margin-bottom: 9px;
    font-size: 15px;
    color: var(--muted);
    line-height: 1.45;
  }
  .tier-card li::before {
    content: "\2713";
    position: absolute;
    left: 0;
    top: 0;
    color: #1F7A3D;
    font-weight: 700;
  }
  .tier-card li.hero-benefit { color: var(--navy); font-weight: 700; }

  .card-grid-2 { grid-template-columns: 1fr; }
}

/* Numbered next-steps list */
.steps { counter-reset: step; list-style: none; margin: 0; padding: 0; max-width: 820px; }
.steps li {
  counter-increment: step;
  position: relative;
  padding-left: 56px;
  margin-bottom: 22px;
  font-size: 16.5px;
  color: var(--muted);
}
.steps li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: -2px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--gold);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 17px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.steps b { color: var(--navy); }

/* Closing navy band */
.band { background: var(--navy); color: #fff; text-align: center; padding: 52px 24px; }
.band h2, .band h3 { color: #fff; margin-bottom: 10px; }
.band .script { font-family: var(--font-head); font-style: italic; color: var(--gold); font-size: 20px; margin: 0 0 14px; }
.band .meta { color: #D9E4F8; font-size: 15px; margin: 0; }
.band .meta a { color: #fff; font-weight: 700; }
.band-cta { margin-top: 24px; }


/* ============================================================
   21. PRINT
   ============================================================ */
@media print {
  header, .btn, .signup, .skip, .cal-cta, .hero-cta, .band-cta { display: none !important; }
  body { background: #fff; }
  section { padding: 20px 0; border-top: none; }
  .slot, .cal-event, .card, .tier-card, .steps li { break-inside: avoid; }
  .tier-table-wrap { display: block !important; }
  .tier-cards { display: none !important; }
  .factbar, .bottom-bar, .cal-mast, .cal-event--feature,
  .playbook-visual, .band, table.tiers thead th {
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }
  /* Printed pages are always fully visible, regardless of scroll state. */
  .reveal, .reveal-fade, .reveal-stagger > * {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}


/* ============================================================
   22. SCROLL REVEAL & ANIMATED COUNTERS
   ------------------------------------------------------------
   Progressive enhancement driven by scroll-fx.js (IntersectionObserver).
   Elements start hidden/offset and settle into place as they enter
   the viewport. No-JS visitors always see fully visible, static
   content: see the <noscript> override in each page's <head>. Anyone
   who prefers reduced motion sees content immediately too — both the
   transition-duration collapse below and scroll-fx.js itself skip the
   animation and reveal everything on load.

   .reveal          fade + rise into place (default, most content)
   .reveal-fade     fade only, no vertical motion (logos, bands)
   .reveal-stagger  put on a GRID/ROW CONTAINER; its direct children
                    fade + rise together with a small staggered delay
   .count           inline number target for scroll-fx.js's count-up;
                    pair with data-count-to="200" (final display text)
   ============================================================ */
.reveal,
.reveal-fade,
.reveal-stagger > * {
  opacity: 0;
  transition: opacity .7s cubic-bezier(.2,.7,.3,1), transform .7s cubic-bezier(.2,.7,.3,1);
}
.reveal,
.reveal-stagger > * {
  transform: translateY(26px);
}
.reveal.in-view,
.reveal-fade.in-view,
.reveal-stagger.in-view > * {
  opacity: 1;
  transform: none;
}

.reveal-stagger > *:nth-child(1) { transition-delay: .05s; }
.reveal-stagger > *:nth-child(2) { transition-delay: .12s; }
.reveal-stagger > *:nth-child(3) { transition-delay: .19s; }
.reveal-stagger > *:nth-child(4) { transition-delay: .26s; }
.reveal-stagger > *:nth-child(5) { transition-delay: .33s; }
.reveal-stagger > *:nth-child(6) { transition-delay: .4s; }
.reveal-stagger > *:nth-child(n+7) { transition-delay: .46s; }

.count { display: inline-block; font-variant-numeric: tabular-nums; }

@media (prefers-reduced-motion: reduce) {
  .reveal, .reveal-fade, .reveal-stagger > * { opacity: 1; transform: none; }
}
