@import url('assets/fonts/fonts.css');

/* ============================================================
   The International AI Summit 26 — redesign mockup
   Palette carried over from the live site:
   navy #2f3b77 · teal #00898c · teal-bright #01a096 · cyan #56c4ef
   ============================================================ */

:root {
  --navy:        #2f3b77;
  --navy-deep:   #202a5c;
  --navy-ink:    #131c3a;
  --teal:        #00898c;
  --teal-bright: #01a096;
  --cyan:        #56c4ef;

  --paper:       #f7f5f1;
  --paper-warm:  #efece5;
  --white:       #ffffff;
  --ink:         #131c3a;
  --ink-soft:    #4a5473;
  --ink-mute:    #6f7893;
  --rule:        rgba(19, 28, 58, 0.13);
  --rule-soft:   rgba(19, 28, 58, 0.07);

  --display: 'BaiJamjuree', 'Bai Jamjuree', system-ui, sans-serif;
  --text: 'Inter', system-ui, -apple-system, sans-serif;

  --wrap: 1200px;
  --gut: clamp(20px, 4vw, 56px);
  --header-h: 88px;

  --ease: cubic-bezier(.22, .61, .36, 1);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--text);
  font-size: 17px;
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4, .display { font-family: var(--display); font-weight: 600; letter-spacing: -0.02em; line-height: 1.08; margin: 0; }
p { margin: 0 0 1.1em; }
a { color: inherit; }
img { max-width: 100%; display: block; }

.wrap { width: min(var(--wrap), 100%); margin-inline: auto; padding-inline: var(--gut); }
.wrap-narrow { width: min(880px, 100%); margin-inline: auto; padding-inline: var(--gut); }

section { scroll-margin-top: calc(var(--header-h) + 18px); }

/* ---------- eyebrow / section heads ---------- */
.eyebrow {
  font-family: var(--text);
  font-size: 12px; font-weight: 600;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--teal); margin: 0 0 14px;
  display: flex; align-items: center; gap: 12px;
}
.eyebrow::before,
.eyebrow::after { content: ''; flex: 1; height: 1px; background: var(--rule); }
.on-dark .eyebrow { color: var(--cyan); }
.on-dark .eyebrow::before,
.on-dark .eyebrow::after { background: rgba(255,255,255,.22); }

.section-head { max-width: 780px; margin-inline: auto; margin-bottom: clamp(32px, 5vw, 56px);
  text-align: center; }
.section-head .lede { margin-inline: auto; }
.section-head h2 { font-size: clamp(30px, 4.4vw, 50px); }
.section-head .lede { font-size: clamp(17px, 1.7vw, 20px); color: var(--ink-soft); margin-top: 18px; }
.on-dark .section-head .lede { color: rgba(255,255,255,.82); }

.pad { padding-block: clamp(64px, 8vw, 112px); }
.pad-sm { padding-block: clamp(48px, 5vw, 72px); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--text); font-size: 15px; font-weight: 600; letter-spacing: .01em;
  padding: 14px 26px; border-radius: 999px; border: 1px solid transparent;
  text-decoration: none; cursor: pointer; transition: all .22s var(--ease);
  white-space: nowrap;
}
.btn-primary { background: var(--teal-bright); color: #fff; }
.btn-primary:hover { background: #018e85; transform: translateY(-1px); }
.btn-ghost { border-color: rgba(255,255,255,.42); color: #fff; background: transparent; }
.btn-ghost:hover { border-color: #fff; background: rgba(255,255,255,.1); }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--navy-deep); transform: translateY(-1px); }
.btn-outline { border-color: var(--rule); color: var(--ink); background: transparent; }
.btn-outline:hover { border-color: var(--navy); background: #fff; }
.btn svg { width: 16px; height: 16px; flex: none; }

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 60;
  height: var(--header-h);
  display: flex; align-items: center;
  background: rgba(32, 42, 92, 0);
  transition: background .3s var(--ease), box-shadow .3s var(--ease), height .3s var(--ease);
}
.site-header.solid {
  background: rgba(28, 37, 82, .93);
  backdrop-filter: saturate(150%) blur(14px);
  -webkit-backdrop-filter: saturate(150%) blur(14px);
  box-shadow: 0 1px 0 rgba(255,255,255,.1), 0 10px 30px rgba(19,28,58,.16);
  height: 72px;
}
.header-inner { width: min(var(--wrap), 100%); margin-inline: auto; padding-inline: var(--gut);
  display: flex; align-items: center; gap: 20px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; flex: none; }
.brand img { height: 46px; width: auto; transition: height .3s var(--ease); }
.site-header.solid .brand img { height: 38px; }

.nav { display: flex; gap: 2px; margin-left: auto; }
.nav a {
  font-size: 14px; font-weight: 500; color: rgba(255,255,255,.86);
  text-decoration: none; padding: 9px 11px; border-radius: 999px;
  transition: all .18s var(--ease); white-space: nowrap;
}
.nav a:hover { color: #fff; background: rgba(255,255,255,.12); }
.nav a.active { color: #fff; background: rgba(255,255,255,.16); }
.header-cta { display: flex; gap: 8px; flex: none; }
.header-cta .btn { padding: 10px 16px; font-size: 13.5px; white-space: nowrap; }

.burger { display: none; background: none; border: 0; padding: 8px; cursor: pointer; margin-left: auto; }
.burger span { display: block; width: 22px; height: 2px; background: #fff; border-radius: 2px; margin: 4px 0; transition: .25s var(--ease); }

.scroll-progress { position: fixed; top: 0; left: 0; height: 2px; z-index: 61;
  background: linear-gradient(90deg, var(--cyan), var(--teal-bright)); width: 0; transition: width .1s linear; }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative; min-height: min(84vh, 780px);
  display: flex; align-items: center;
  padding-top: calc(var(--header-h) + 36px); padding-bottom: 52px;
  background: var(--navy-deep);
  overflow: hidden; isolation: isolate;
}
.hero-art { position: absolute; inset: 0; z-index: -2;
  background-image: url('assets/brand/hero.webp');
  background-size: cover; background-position: center; }
.hero::after {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(120% 90% at 12% 8%, rgba(32,42,92,.72) 0%, rgba(32,42,92,0) 62%),
    linear-gradient(180deg, rgba(24,32,72,.72) 0%, rgba(0,120,124,.30) 55%, rgba(19,26,60,.80) 100%);
}
.hero-inner { width: min(var(--wrap), 100%); margin-inline: auto; padding-inline: var(--gut);
  display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, .85fr); gap: clamp(32px, 5vw, 72px); align-items: center; }

.hero-kicker { display: inline-flex; align-items: center; gap: 10px;
  font-size: 12px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase;
  color: #fff; background: rgba(255,255,255,.13); border: 1px solid rgba(255,255,255,.24);
  padding: 8px 16px; border-radius: 999px; margin-bottom: 26px; }
.hero-kicker .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--cyan); }

.hero h1 { color: #fff; font-size: clamp(40px, 6.4vw, 82px); font-weight: 600; letter-spacing: -.03em; }
.hero h1 .thin { display: block; font-weight: 400; font-size: .42em; letter-spacing: .12em;
  text-transform: uppercase; opacity: .9; margin-bottom: 10px; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 10px 28px; margin: 28px 0 8px; }
.hero-meta div { color: #fff; }
.hero-meta .lbl { display: block; font-size: 11px; letter-spacing: .16em; text-transform: uppercase;
  color: var(--cyan); font-weight: 600; margin-bottom: 3px; }
.hero-meta .val { font-family: var(--display); font-size: 19px; font-weight: 500; }
.hero-note { color: rgba(255,255,255,.72); font-size: 14px; margin-top: 10px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }

.hero-side { display: flex; flex-direction: column; gap: 18px; }
.countdown { background: rgba(255,255,255,.09); border: 1px solid rgba(255,255,255,.2);
  border-radius: 18px; padding: 24px; backdrop-filter: blur(8px); }
.countdown .lbl { font-size: 11px; letter-spacing: .16em; text-transform: uppercase;
  color: var(--cyan); font-weight: 600; margin-bottom: 14px; }
.cd-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; text-align: center; }
.cd-grid .n { font-family: var(--display); font-size: clamp(22px, 3vw, 30px); font-weight: 600; color: #fff; line-height: 1; }
.cd-grid .u { font-size: 10px; letter-spacing: .1em; text-transform: uppercase; color: rgba(255,255,255,.62); margin-top: 6px; }

.hero-partner { background: rgba(255,255,255,.94); border-radius: 16px; padding: 18px 22px;
  display: flex; align-items: center; gap: 18px; }
.hero-partner .lbl { font-size: 10px; letter-spacing: .14em; text-transform: uppercase;
  color: var(--ink-mute); font-weight: 600; line-height: 1.4; flex: none; max-width: 84px; }
.hero-partner img { height: 30px; width: auto; object-fit: contain; }

/* ============================================================
   PROOF STRIP
   ============================================================ */
/* Now a closing strip inside the 2025 speaker section, not a full-bleed band
   under the hero, so it reads as last year's numbers rather than this year's. */
.proof { margin-top: clamp(40px, 5vw, 64px); padding-top: 12px;
  border-top: 1px solid var(--rule); }
.proof-cap { text-align: center; font-size: 13px; color: var(--ink-mute); margin-top: 18px;
  letter-spacing: .04em; }
.proof-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.proof-grid > div { padding: 30px 26px; border-left: 1px solid var(--rule-soft); text-align: center; }
.proof-grid > div:first-child { border-left: 0; }
.proof .n { font-family: var(--display); font-size: clamp(30px, 3.6vw, 42px); font-weight: 600;
  color: var(--navy); line-height: 1; letter-spacing: -.02em; }
.proof .k { font-size: 13.5px; color: var(--ink-mute); margin-top: 8px; line-height: 1.45; }

/* ============================================================
   OVERVIEW
   ============================================================ */
.overview-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.overview-grid p { font-size: 17.5px; color: var(--ink-soft); }
.overview-grid strong { color: var(--ink); font-weight: 600; }
.pull {
  border-left: 3px solid var(--teal); padding: 4px 0 4px 24px; margin: 0 0 28px;
  font-family: var(--display); font-size: clamp(21px, 2.4vw, 27px); font-weight: 500;
  line-height: 1.32; color: var(--navy); letter-spacing: -.01em;
}
.fact-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--rule); }
.fact-list li { display: flex; gap: 18px; padding: 15px 0; border-bottom: 1px solid var(--rule-soft); font-size: 15.5px; }
.fact-list .k { flex: none; width: 132px; color: var(--ink-mute); font-size: 12.5px;
  letter-spacing: .1em; text-transform: uppercase; font-weight: 600; padding-top: 3px; }
.fact-list .v { color: var(--ink); font-weight: 500; }

/* ============================================================
   THEMES
   ============================================================ */
.themes { background: var(--white); }
.theme-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--rule-soft);
  border: 1px solid var(--rule-soft); }
.theme-card { background: var(--white); padding: 28px 28px 26px; transition: background .25s var(--ease);
  display: grid; grid-template-columns: 56px 1fr; gap: 20px; align-items: center; }
.theme-card:hover { background: var(--paper); }
.theme-card .num { font-family: var(--display); font-size: 11.5px; font-weight: 600; letter-spacing: .14em;
  color: var(--teal); grid-column: 2; margin-bottom: -8px; }
.theme-card img { height: 52px; width: 52px; object-fit: contain; grid-row: 1 / span 2; align-self: center; }
.theme-card h3 { font-size: 18.5px; color: var(--navy); line-height: 1.24; grid-column: 2; }
/* Seven themes into a three-column hairline grid leaves one orphan. Let it run
   the full width rather than sit beside two empty cells showing the rule. */
.theme-card:last-child:nth-child(3n+1) { grid-column: 1 / -1;
  grid-template-columns: 56px auto; justify-content: center; }

/* ============================================================
   SPEAKERS
   ============================================================ */
.speakers { background: var(--paper-warm); }
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 34px; }
.filters button {
  font-family: var(--text); font-size: 13.5px; font-weight: 500; cursor: pointer;
  padding: 9px 17px; border-radius: 999px; border: 1px solid var(--rule);
  background: transparent; color: var(--ink-soft); transition: all .18s var(--ease);
}
.filters button:hover { border-color: var(--navy); color: var(--navy); }
.filters button[aria-pressed="true"] { background: var(--navy); border-color: var(--navy); color: #fff; }
.filters .count { opacity: .6; margin-left: 6px; font-variant-numeric: tabular-nums; }

.speaker-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; }
.sp-card {
  background: var(--white); border: 1px solid var(--rule-soft); border-radius: 14px;
  overflow: hidden; cursor: pointer; text-align: left; padding: 0; font: inherit;
  display: flex; flex-direction: column; transition: transform .24s var(--ease), box-shadow .24s var(--ease), border-color .24s var(--ease);
}
.sp-card:hover { transform: translateY(-3px); border-color: rgba(0,137,140,.4);
  box-shadow: 0 14px 34px rgba(19,28,58,.13); }
.sp-photo { position: relative; aspect-ratio: 1; background: var(--paper-warm); overflow: hidden; }
.sp-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 22%; }
/* the source headshots carry a baked-in "AI" watermark bottom-right;
   the plate fades it out rather than leaving it across the subject */
.sp-photo::after {
  content: ''; position: absolute; inset: auto 0 0 0; height: 32%;
  background: linear-gradient(180deg, rgba(255,255,255,0) 0%, rgba(255,255,255,.92) 34%, #fff 62%);
}
.speaker-wall { position: relative; }
.speaker-wall.is-collapsed { padding-bottom: 8px; }
/* The fade sits over the peek row so it reads as "there is more", not as a
   half-loaded grid. It must not swallow clicks on the cards above it. */
.speaker-wall.is-collapsed::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 260px;
  background: linear-gradient(to bottom, rgba(239,236,229,0) 0%, rgba(239,236,229,.72) 42%, var(--paper-warm) 88%);
  pointer-events: none;
}
.sp-more { margin-top: 26px; display: flex; justify-content: center; }
.speaker-wall.is-collapsed .sp-more {
  position: absolute; left: 0; right: 0; bottom: 4px; margin-top: 0; z-index: 2;
}
.sp-body { padding: 4px 16px 18px; flex: 1; display: flex; flex-direction: column; }
.sp-name { font-family: var(--display); font-size: 16px; font-weight: 600; color: var(--navy);
  line-height: 1.18; letter-spacing: -.01em; margin-bottom: 6px; }
.sp-role { font-size: 12.5px; color: var(--ink-mute); line-height: 1.4;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; margin-bottom: 8px; }
.sp-org { font-size: 12.5px; font-weight: 600; color: var(--teal); line-height: 1.35; margin-top: auto; }
.sp-empty { padding: 40px 0; color: var(--ink-mute); }

/* speaker drawer */
.drawer-scrim { position: fixed; inset: 0; background: rgba(19,28,58,.55); backdrop-filter: blur(3px);
  opacity: 0; pointer-events: none; transition: opacity .3s var(--ease); z-index: 90; }
.drawer-scrim.open { opacity: 1; pointer-events: auto; }
.drawer {
  position: fixed; top: 0; right: 0; bottom: 0; width: min(540px, 100%); z-index: 91;
  background: var(--white); transform: translateX(100%); transition: transform .38s var(--ease);
  display: flex; flex-direction: column; box-shadow: -20px 0 60px rgba(19,28,58,.24);
}
.drawer.open { transform: none; }
.drawer-head { padding: 26px 30px; border-bottom: 1px solid var(--rule-soft); display: flex; gap: 18px; align-items: flex-start; }
.drawer-head img { width: 78px; height: 78px; border-radius: 12px; object-fit: cover; object-position: center 20%; flex: none; }
.drawer-head h3 { font-size: 23px; color: var(--navy); margin-bottom: 6px; }
.drawer-head .r { font-size: 13.5px; color: var(--ink-mute); line-height: 1.45; }
.drawer-head .o { font-size: 13.5px; color: var(--teal); font-weight: 600; margin-top: 4px; }
.drawer-close { position: absolute; top: 18px; right: 20px; width: 34px; height: 34px; border-radius: 50%;
  border: 1px solid var(--rule); background: #fff; cursor: pointer; font-size: 18px; color: var(--ink-soft); line-height: 1; }
.drawer-close:hover { background: var(--paper); }
.drawer-body { padding: 26px 30px 44px; overflow-y: auto; }
.drawer-body p { font-size: 15px; color: var(--ink-soft); }
.drawer-tag { display: inline-block; font-size: 11px; letter-spacing: .12em; text-transform: uppercase;
  font-weight: 600; color: var(--teal); background: rgba(0,137,140,.09); padding: 5px 11px; border-radius: 999px; margin-bottom: 16px; }

/* ============================================================
   AGENDA
   ============================================================ */
.agenda { background: var(--white); }
.agenda-list { border-top: 1px solid var(--rule); }
.ag-item { border-bottom: 1px solid var(--rule-soft); }
.ag-head { display: grid; grid-template-columns: 130px 1fr 34px; gap: 20px; align-items: baseline;
  width: 100%; padding: 22px 0; background: none; border: 0; font: inherit; text-align: left; cursor: default; }
.ag-item.expandable .ag-head { cursor: pointer; }
.ag-item.expandable .ag-head:hover .ag-title { color: var(--teal); }
.ag-time { font-family: var(--display); font-size: 14px; font-weight: 600; color: var(--teal);
  letter-spacing: .02em; font-variant-numeric: tabular-nums; }
.ag-title { font-family: var(--display); font-size: clamp(16.5px, 1.7vw, 19px); font-weight: 500;
  color: var(--navy); line-height: 1.35; transition: color .2s var(--ease); }
.ag-item.break .ag-title { font-family: var(--text); font-size: 15px; font-weight: 500; color: var(--ink-mute); }
.ag-chev { width: 22px; height: 22px; justify-self: end; align-self: center; color: var(--ink-mute);
  transition: transform .3s var(--ease); }
.ag-item.open .ag-chev { transform: rotate(180deg); color: var(--teal); }
.ag-panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .35s var(--ease); }
.ag-item.open .ag-panel { grid-template-rows: 1fr; }
.ag-panel > div { overflow: hidden; }
.ag-inner { padding: 0 34px 26px 150px; }
.ag-inner p { font-size: 15.5px; color: var(--ink-soft); }
.ag-inner .qh { font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; font-weight: 600;
  color: var(--teal); margin: 22px 0 12px; }
.ag-inner ul { margin: 0; padding: 0; list-style: none; }
.ag-inner li { position: relative; padding-left: 20px; margin-bottom: 9px; font-size: 15px; color: var(--ink-soft); }
.ag-inner li::before { content: ''; position: absolute; left: 0; top: 10px; width: 7px; height: 1px; background: var(--teal); }
.agenda-note { margin-top: 26px; font-size: 14px; color: var(--ink-mute); }

/* ============================================================
   COSTS
   ============================================================ */
.costs { background: var(--paper); }
.price-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.price {
  background: var(--white); border: 1px solid var(--rule-soft); border-radius: 16px;
  padding: 28px 24px 26px; display: flex; flex-direction: column;
}
.price.feature { border-color: var(--teal); box-shadow: 0 10px 30px rgba(0,137,140,.1); }
.price .tier { font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; font-weight: 600;
  color: var(--ink-mute); margin-bottom: 16px; }
.price.feature .tier { color: var(--teal); }
.price .amt { font-family: var(--display); font-size: 42px; font-weight: 600; color: var(--navy);
  line-height: 1; letter-spacing: -.03em; margin-bottom: 4px; }
.price .amt small { font-size: 14px; font-weight: 500; color: var(--ink-mute); letter-spacing: 0; }
.price .who { font-size: 13.5px; color: var(--ink-soft); line-height: 1.55; margin-top: 16px;
  padding-top: 16px; border-top: 1px solid var(--rule-soft); flex: 1; }
.price .who ul { margin: 0; padding: 0; list-style: none; }
.price .who li { padding-left: 16px; position: relative; margin-bottom: 5px; }
.price .who li::before { content: ''; position: absolute; left: 0; top: 9px; width: 6px; height: 6px;
  border-radius: 50%; background: var(--teal); opacity: .5; }
.price .btn { margin-top: 20px; justify-content: center; }

.cost-extras { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 4vw, 56px); margin-top: 44px; align-items: start; }
.disc-table { width: 100%; border-collapse: collapse; font-size: 15px; }
.disc-table th { text-align: left; font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase;
  color: var(--ink-mute); font-weight: 600; padding: 0 0 12px; border-bottom: 1px solid var(--rule); }
.disc-table td { padding: 13px 0; border-bottom: 1px solid var(--rule-soft); }
.disc-table td:last-child { text-align: right; font-family: var(--display); font-weight: 600; color: var(--teal); }
.smallprint { font-size: 13.5px; color: var(--ink-mute); line-height: 1.6; }
.smallprint p { margin-bottom: .8em; }

/* ============================================================
   SPONSORSHIP BAND
   ============================================================ */
.band { position: relative; color: #fff; overflow: hidden; isolation: isolate; background: var(--navy-deep); }
.band-art { position: absolute; inset: 0; z-index: -2; background-image: url('assets/brand/band.webp');
  background-size: cover; background-position: center; }
.band::after { content: ''; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(120deg, rgba(32,42,92,.90) 0%, rgba(0,120,124,.72) 58%, rgba(0,137,140,.80) 100%); }
.band h2 { color: #fff; }
.on-dark { color: #fff; }
.benefit-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: rgba(255,255,255,.2);
  border: 1px solid rgba(255,255,255,.2); border-radius: 4px; overflow: hidden; }
.benefit { background: rgba(20,30,74,.34); padding: 30px 28px; backdrop-filter: blur(2px); }
.benefit h3 { font-size: 18px; margin-bottom: 10px; color: #fff; }
.benefit p { font-size: 14.5px; color: rgba(255,255,255,.78); margin: 0; line-height: 1.55; }
.benefit .ico { width: 26px; height: 26px; color: var(--cyan); margin-bottom: 16px; }
.band-actions { margin-top: 40px; display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

/* ============================================================
   PARTNERS
   ============================================================ */
.partners { background: var(--white); }
.logo-group { margin-bottom: 46px; }
.logo-group h3 { font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-mute);
  font-weight: 600; font-family: var(--text); margin-bottom: 22px; padding-bottom: 12px; border-bottom: 1px solid var(--rule-soft); }
.logo-row { display: flex; flex-wrap: wrap; gap: clamp(28px, 4vw, 56px); align-items: center; }
.logo-row img { height: auto; width: auto; max-height: 48px; max-width: 178px; object-fit: contain;
  transition: transform .25s var(--ease); }
.logo-row img.logo-tall { max-height: 78px; }
.logo-row img:hover { transform: translateY(-2px); }
.logo-group:last-child { margin-bottom: 0; }

/* ============================================================
   CTA + FOOTER
   ============================================================ */
.cta { background: var(--navy-deep); color: #fff; }
.cta-inner { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.cta h2 { font-size: clamp(30px, 4vw, 46px); color: #fff; }
.cta p { color: rgba(255,255,255,.78); font-size: 17px; margin-top: 16px; }
.sub-form { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 8px; }
.sub-form input { flex: 1 1 220px; padding: 14px 18px; border-radius: 999px; border: 1px solid rgba(255,255,255,.28);
  background: rgba(255,255,255,.1); color: #fff; font: inherit; font-size: 15px; }
.sub-form input::placeholder { color: rgba(255,255,255,.55); }
.sub-form input:focus { outline: 2px solid var(--cyan); outline-offset: 1px; }

.contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.contact-card .lbl { font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; font-weight: 600;
  color: var(--cyan); margin-bottom: 14px; }
.contact-card .v { font-family: var(--display); font-size: 19px; font-weight: 500; color: #fff; margin-bottom: 4px; }
.contact-card .s { font-size: 14.5px; color: rgba(255,255,255,.7); }
.contact-card a { color: var(--cyan); text-decoration: none; }
.contact-card a:hover { text-decoration: underline; }

.site-footer { background: #101838; color: rgba(255,255,255,.6); font-size: 13.5px; padding: 34px 0; }
.footer-inner { display: flex; flex-wrap: wrap; gap: 20px; align-items: center; justify-content: space-between; }
.site-footer img { height: 26px; opacity: .85; }

/* mobile sticky register bar */
.mobile-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 70; display: none;
  padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
  background: rgba(28,37,82,.96); backdrop-filter: blur(12px); gap: 10px;
  box-shadow: 0 -8px 26px rgba(19,28,58,.28); }
.mobile-bar .btn { flex: 1; justify-content: center; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1200px) {
  .nav { display: none; }
  .burger { display: block; }
}
@media (max-width: 1080px) {
  .speaker-grid { grid-template-columns: repeat(4, 1fr); }
  .theme-grid { grid-template-columns: repeat(2, 1fr); }
  .theme-card:last-child:nth-child(3n+1) { grid-column: auto; }
  .theme-card:last-child:nth-child(2n+1) { grid-column: 1 / -1;
    grid-template-columns: 56px auto; justify-content: center; }
  .price-grid { grid-template-columns: repeat(2, 1fr); }
  .nav { display: none; }
  .burger { display: block; }
  .header-cta { display: none; }
}
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-side { flex-direction: row; flex-wrap: wrap; }
  .countdown { flex: 1 1 280px; }
  .hero-partner { flex: 1 1 220px; }
  .overview-grid, .cta-inner, .cost-extras { grid-template-columns: 1fr; }
  .benefit-grid { grid-template-columns: repeat(2, 1fr); }
  .proof-grid { grid-template-columns: repeat(2, 1fr); }
  .proof-grid > div { border-left: 0; border-top: 1px solid var(--rule-soft); padding-inline: 0; }
  .proof-grid > div:nth-child(-n+2) { border-top: 0; }
  .contact-grid { grid-template-columns: 1fr; gap: 28px; }
  .ag-head { grid-template-columns: 1fr 28px; gap: 6px 12px; }
  .ag-time { grid-column: 1 / -1; }
  .ag-inner { padding-left: 0; padding-right: 0; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .speaker-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .theme-grid, .benefit-grid, .price-grid { grid-template-columns: 1fr; }
  .theme-card:last-child { grid-column: auto; grid-template-columns: 56px 1fr; justify-content: stretch; }
  .mobile-bar { display: flex; }
  .site-footer { padding-bottom: 90px; }
  .hero { min-height: auto; padding-bottom: 44px; }
  .hero-art { background-image: url('assets/brand/hero-sm.webp'); }
  .drawer { width: 100%; }
}

/* mobile nav sheet */
.mnav { position: fixed; inset: 0; z-index: 80; background: rgba(28,37,82,.985);
  display: flex; flex-direction: column; justify-content: center; gap: 6px; padding: 40px var(--gut);
  opacity: 0; pointer-events: none; transition: opacity .28s var(--ease); }
.mnav.open { opacity: 1; pointer-events: auto; }
.mnav a { font-family: var(--display); font-size: 27px; font-weight: 500; color: #fff;
  text-decoration: none; padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,.12); }
.mnav .btn { margin-top: 26px; align-self: flex-start; }
.mnav-close { position: absolute; top: 22px; right: var(--gut); background: none; border: 0;
  color: #fff; font-size: 30px; cursor: pointer; line-height: 1; }

/* reveal */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

:focus-visible { outline: 2px solid var(--teal-bright); outline-offset: 3px; border-radius: 4px; }

/* mockup ribbon */
.mock-flag { position: fixed; left: 0; bottom: 0; z-index: 95; background: var(--navy-deep); color: #fff;
  font-size: 11px; letter-spacing: .1em; text-transform: uppercase; font-weight: 600;
  padding: 7px 14px; border-top-right-radius: 8px; border: 1px solid rgba(255,255,255,.18); border-left: 0; border-bottom: 0; }
@media (max-width: 640px) { .mock-flag { display: none; } }

/* ============================================================
   EMS WIDGET
   The widget renders into a shadow root and exposes no ::part()
   and no slots — CSS custom properties are the only way in. They
   inherit through the boundary, so setting them on the host maps
   the widget onto this site's palette. Type is not themed: the
   widget inherits font-family from the page, which is what we want.
   ============================================================ */
mep-agenda.ems,
mep-speakers.ems {
  display: block;
  --mep-accent:        var(--navy);
  --mep-accent-fg:     #ffffff;
  --mep-fg:            var(--ink);
  --mep-muted:         var(--ink-mute);
  --mep-border:        var(--rule);
  --mep-card-bg:       var(--white);
  --mep-chip-bg:       var(--white);
  --mep-input-bg:      var(--white);
  --mep-tab-bg:        var(--white);
  --mep-track-bg:      var(--teal);
  --mep-track-fg:      #ffffff;
  --mep-star:          var(--rule);
  --mep-star-on:       var(--teal-bright);
  --mep-radius:        14px;
  --mep-chip-radius:   999px;
  --mep-track-radius:  999px;
  --mep-avatar-radius: 14px;
  --mep-max-width:     100%;   /* .wrap already provides the measure */
  --mep-gutter:        0;
  --mep-speaker-min:   200px;
  --mep-search-min:    260px;
  --mep-scroll-margin: calc(var(--header-h) + 18px);
}
