/* ============================================================================
   Accelerating AI - Conference page
   Loaded only on the Conference template. Uses the Signal tokens from
   signal.css; everything here is page-specific layout, matching the approved
   "Conference Page" design.
   ========================================================================== */

.cf { display: block; }

/* Section rhythm ---------------------------------------------------------- */
.cf-sec { padding: clamp(64px, 9vw, 120px) 0; }
.cf-sec--tight { padding: clamp(48px, 6vw, 80px) 0; }
.cf-sec--band { background: var(--ink-900); border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle); }

.cf-shead { display: flex; flex-direction: column; gap: 16px; max-width: 760px;
  padding-bottom: 26px; margin-bottom: clamp(32px, 5vw, 48px); border-bottom: 1px solid var(--border-subtle); }
.cf-shead h2 { font-size: clamp(30px, 4.4vw, 50px); line-height: 1.04; letter-spacing: -.025em; }
.cf-shead p { color: var(--text-secondary); font-size: clamp(16px, 1.6vw, 18px); line-height: 1.55; }

.cf-split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 64px); align-items: center; }
.cf-split--faq { align-items: start; }
.cf-g3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.cf-k { display: block; font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--text-muted); }
.cf-v { display: block; font-size: 15.5px; font-weight: var(--weight-medium); margin-top: 5px; }
.cf-empty { color: var(--text-secondary); }

/* Sub-nav ------------------------------------------------------------------ */
.cf-subnav { position: sticky; top: 0; z-index: 40; background: rgba(25,25,25,.86);
  backdrop-filter: blur(14px); border-bottom: 1px solid var(--border-subtle); }
.cf-subnav__in { display: flex; align-items: center; gap: 28px; height: 60px; overflow-x: auto;
  scrollbar-width: none; }
.cf-subnav__in::-webkit-scrollbar { display: none; }
.cf-subnav a { color: var(--text-secondary); font-size: 15px; font-weight: var(--weight-medium); white-space: nowrap; }
.cf-subnav a:hover { color: var(--text-primary); }
.cf-subnav__cta { margin-left: auto; color: var(--text-on-invert) !important; }

/* Hero --------------------------------------------------------------------- */
.cf-hero { position: relative; overflow: hidden; }
.cf-hero__glow { position: absolute; right: -8%; top: -22%; width: 900px; height: 900px; pointer-events: none;
  background: radial-gradient(closest-side, rgba(0,130,255,.22), rgba(0,130,255,0) 70%); }
.cf-hero__grid { position: relative; display: grid; grid-template-columns: 1.15fr 1fr;
  gap: clamp(40px, 6vw, 72px); align-items: center; padding-top: clamp(56px, 8vw, 96px);
  padding-bottom: clamp(56px, 8vw, 96px); }
.cf-badge { display: inline-flex; align-items: center; gap: 12px; border-radius: 100px;
  box-shadow: inset 0 0 0 1px var(--accent); padding: 10px 20px; white-space: nowrap; }
.cf-badge__k { font-size: 12px; font-weight: var(--weight-medium); letter-spacing: .16em;
  text-transform: uppercase; color: var(--text-secondary); }
.cf-badge img { height: 22px; width: auto; }
.cf-hero__h { font-size: clamp(40px, 6.4vw, 76px); line-height: .99; letter-spacing: -.035em; margin-top: 26px; }
.cf-accent { color: var(--accent); }
.cf-hero__lede { color: var(--text-secondary); font-size: clamp(17px, 1.9vw, 20px); line-height: 1.55;
  max-width: 540px; margin-top: 24px; }
.cf-hero__cta { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 34px; }
.cf-hero__facts { display: flex; gap: 30px; flex-wrap: wrap; margin-top: 40px; padding-top: 26px;
  border-top: 1px solid var(--border-subtle); }
.cf-hero__media { position: relative; }
.cf-datechip { position: absolute; left: -18px; bottom: 28px; z-index: 3; background: var(--accent);
  color: #fff; padding: 14px 20px; border-radius: var(--radius-sm); }
.cf-datechip b { display: block; font-size: 24px; font-weight: var(--weight-bold); line-height: 1; }
.cf-datechip span { display: block; font-size: 12px; opacity: .9; letter-spacing: .04em; white-space: nowrap; }
@media (max-width: 560px) { .cf-datechip { left: 8px; } }

/* Media frames ------------------------------------------------------------- */
.cf-frame { position: relative; background: var(--surface-card); box-shadow: inset 0 0 0 1px var(--ink-stroke);
  border-radius: var(--radius-sm); overflow: hidden; aspect-ratio: 4/5; }
.cf-frame--43 { aspect-ratio: 4/3; }
.cf-frame--sq { aspect-ratio: 1/1; }
.cf-frame img { width: 100%; height: 100%; object-fit: cover; display: block;
  filter: grayscale(10%) brightness(.92) saturate(.95); }
.cf-frame__fade { position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(0deg, var(--ink-850) 0%, rgba(25,25,25,0) 38%); }
.cf-frame__cap { position: absolute; left: 18px; bottom: 16px; font-size: 14px;
  font-weight: var(--weight-medium); color: #fff; }

/* Stats -------------------------------------------------------------------- */
.cf-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.cf-stat__v { font-size: clamp(38px, 5.6vw, 60px); font-weight: var(--weight-bold);
  letter-spacing: -.03em; line-height: 1; }
.cf-stat__v span { color: var(--accent); }
.cf-stat__l { color: var(--text-secondary); font-size: 14.5px; margin-top: 10px; }

/* Why attend --------------------------------------------------------------- */
.cf-reasons { display: flex; flex-direction: column; gap: 26px; }
.cf-reason { display: flex; gap: 20px; align-items: flex-start; }
.cf-reason__n { width: 44px; height: 44px; border-radius: 50%; background: var(--accent-subtle);
  color: var(--accent); display: flex; align-items: center; justify-content: center; flex: 0 0 44px;
  font-size: 15px; font-weight: var(--weight-bold); }
.cf-reason h3 { font-size: 20px; letter-spacing: -.01em; }
.cf-reason p { color: var(--text-secondary); font-size: 15.5px; line-height: 1.55; margin-top: 8px; }

/* Cards (what's on) -------------------------------------------------------- */
.cf-card { position: relative; background: var(--surface-card); border-radius: var(--radius-md);
  box-shadow: var(--stroke-card); padding: clamp(22px, 3vw, 32px); display: flex; flex-direction: column;
  gap: 12px; align-items: flex-start; transition: box-shadow var(--dur-fast) var(--ease-out); }
.cf-card:hover { box-shadow: inset 0 0 0 1px var(--accent), 0 0 40px rgba(0,130,255,.18); }
.cf-card__n { font-size: 12px; letter-spacing: .14em; color: var(--text-muted); }
.cf-card__ico { display: inline-flex; align-items: center; justify-content: center; width: 46px; height: 46px;
  border-radius: 50%; background: var(--accent-subtle); color: var(--accent); }
.cf-card h3 { font-size: 19px; letter-spacing: -.01em; }
.cf-card p { color: var(--text-secondary); font-size: 15px; line-height: 1.55; }
.cf-card--ghost { border: 1px dashed var(--ink-stroke); box-shadow: none; background: transparent; }
.cf-card--ghost:hover { box-shadow: none; }

/* Agenda ------------------------------------------------------------------- */
.cf-beats { display: flex; flex-direction: column; gap: 26px; }
.cf-beat { display: flex; gap: 18px; align-items: flex-start; }
.cf-beat__dot { width: 12px; height: 12px; border-radius: 50%; background: var(--accent);
  flex: 0 0 12px; margin-top: 7px; box-shadow: 0 0 0 5px rgba(0,130,255,.16); }
.cf-beat h3 { font-size: 18px; letter-spacing: -.01em; }
.cf-beat p { color: var(--text-secondary); font-size: 15px; line-height: 1.55; margin-top: 6px; }
.cf-agendacard { position: relative; background: var(--surface-card); border-radius: var(--radius-md);
  box-shadow: var(--stroke-card); padding: clamp(26px, 4vw, 40px); }
.cf-agendacard__mark { display: inline-flex; color: var(--accent); margin-bottom: 14px; }
.cf-agendacard h3 { font-size: clamp(20px, 2.4vw, 26px); letter-spacing: -.015em; }
.cf-agendacard p { color: var(--text-secondary); font-size: 15.5px; line-height: 1.6; margin-top: 12px; }
.cf-agendacard__cta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 24px; }

.cf-agenda { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.cf-agenda__row { display: grid; grid-template-columns: 74px 12px 1fr auto; gap: 18px; align-items: center;
  padding: 18px 0; border-bottom: 1px solid var(--border-subtle); }
.cf-agenda__time { font-size: 15px; font-weight: var(--weight-medium); color: var(--accent); font-variant-numeric: tabular-nums; }
.cf-agenda__dot { width: 9px; height: 9px; border-radius: 50%; background: var(--ink-stroke); }
.cf-agenda__t { display: block; font-size: 16.5px; font-weight: var(--weight-medium); }
.cf-agenda__d { display: block; color: var(--text-secondary); font-size: 14.5px; margin-top: 4px; }
.cf-agenda__tag { font-size: 12px; letter-spacing: .04em; color: var(--text-muted); padding: 5px 12px;
  border-radius: 100px; box-shadow: inset 0 0 0 1px var(--border-default); white-space: nowrap; }
@media (max-width: 640px) {
  .cf-agenda__row { grid-template-columns: 64px 1fr; gap: 12px; }
  .cf-agenda__dot, .cf-agenda__tag { display: none; }
}

/* People (speakers) --------------------------------------------------------- */
.cf-person { display: flex; flex-direction: column; gap: 16px; align-items: flex-start; text-align: left;
  background: var(--surface-card); border: 0; border-radius: var(--radius-md); box-shadow: var(--stroke-card);
  padding: clamp(20px, 3vw, 28px); cursor: pointer; font: inherit; color: inherit; width: 100%;
  transition: box-shadow var(--dur-fast) var(--ease-out); }
.cf-person:hover { box-shadow: inset 0 0 0 1px var(--accent), 0 0 40px rgba(0,130,255,.16); }
.cf-person__img { display: block; width: 86px; height: 86px; border-radius: 50%; overflow: hidden;
  background: var(--surface-raised); flex: 0 0 auto; }
.cf-person__img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cf-person__n { display: block; font-size: 19px; font-weight: var(--weight-bold); letter-spacing: -.01em; }
.cf-person__r { display: block; color: var(--text-secondary); font-size: 14.5px; margin-top: 4px; }
.cf-person__o { display: block; color: var(--accent); font-size: 14px; margin-top: 2px; }

/* Partner logo tiles -------------------------------------------------------- */
.cf-logos { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.cf-logos--lead { margin-bottom: 16px; }
.cf-logo { display: flex; align-items: center; justify-content: center; min-height: 104px; padding: 20px;
  background: var(--surface-card); border: 0; border-radius: var(--radius-md); box-shadow: var(--stroke-card);
  cursor: pointer; transition: box-shadow var(--dur-fast) var(--ease-out); }
.cf-logo--lead { min-height: 132px; }
.cf-logo:hover { box-shadow: inset 0 0 0 1px var(--accent), 0 0 36px rgba(0,130,255,.14); }
.cf-logo img { max-width: 100%; max-height: 56px; width: auto; height: auto; object-fit: contain; }
.cf-logo--lead img { max-height: 72px; }
.cf-logo__txt { color: var(--text-secondary); font-size: 15px; font-weight: var(--weight-medium); text-align: center; }

/* Venue --------------------------------------------------------------------- */
.cf-facts { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; padding-bottom: 26px;
  margin-bottom: 26px; border-bottom: 1px solid var(--border-subtle); }
.cf-travel { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 16px; }
.cf-travel li { display: flex; gap: 14px; align-items: flex-start; color: var(--text-secondary);
  font-size: 15.5px; line-height: 1.55; }
.cf-travel svg { color: var(--accent); flex: 0 0 auto; margin-top: 2px; }

/* Gallery ------------------------------------------------------------------- */
.cf-gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }

/* Exhibit ------------------------------------------------------------------- */
.cf-exhibit { position: relative; overflow: hidden; }
.cf-exhibit__glow { position: absolute; left: 50%; top: -60%; transform: translateX(-50%);
  width: 1100px; height: 700px; pointer-events: none;
  background: radial-gradient(closest-side, rgba(0,130,255,.18), rgba(0,130,255,0) 70%); }
.cf-exhibit__in { position: relative; display: grid; grid-template-columns: 1.2fr auto; gap: 40px;
  align-items: center; background: var(--surface-card); border-radius: var(--radius-lg);
  box-shadow: var(--stroke-card); padding: clamp(28px, 4vw, 52px); }
.cf-exhibit h2 { font-size: clamp(26px, 3.6vw, 40px); line-height: 1.08; letter-spacing: -.025em; }
.cf-exhibit p { color: var(--text-secondary); font-size: 17px; line-height: 1.55; margin-top: 14px; max-width: 56ch; }
.cf-exhibit__cta { display: flex; gap: 14px; flex-wrap: wrap; }
@media (max-width: 900px) { .cf-exhibit__in { grid-template-columns: 1fr; } }

/* FAQ ----------------------------------------------------------------------- */
.cf-faq__h { font-size: clamp(28px, 4vw, 44px); letter-spacing: -.025em; margin-top: 14px; }
.cf-faqs { display: flex; flex-direction: column; }
.cf-faq { border-bottom: 1px solid var(--border-subtle); padding: 20px 0; }
.cf-faq summary { cursor: pointer; list-style: none; display: flex; align-items: center;
  justify-content: space-between; gap: 16px; }
.cf-faq summary::-webkit-details-marker { display: none; }
.cf-faq summary::after { content: "+"; color: var(--accent); font-size: 22px; line-height: 1; flex: 0 0 auto; }
.cf-faq[open] summary::after { content: "\2013"; }
.cf-faq h3 { font-size: 17.5px; letter-spacing: -.01em; }
.cf-faq p { color: var(--text-secondary); font-size: 15.5px; line-height: 1.6; margin-top: 12px; max-width: 68ch; }

/* Register + subscribe ------------------------------------------------------ */
.cf-register h2 { font-size: clamp(28px, 4.2vw, 46px); line-height: 1.06; letter-spacing: -.025em; }
.cf-register p { color: var(--text-secondary); font-size: 17.5px; line-height: 1.55; margin-top: 16px; max-width: 46ch; }
.cf-register__cta { margin-top: 28px; }
.cf-subscribe { background: var(--surface-card); border-radius: var(--radius-md);
  box-shadow: var(--stroke-card); padding: clamp(24px, 3.4vw, 36px); }
.cf-subscribe h3 { font-size: clamp(19px, 2.2vw, 23px); letter-spacing: -.015em; margin-top: 10px; }
.cf-subform { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 20px; }
.cf-subform .aai-input { flex: 1 1 200px; min-width: 0; height: 48px; }
.cf-subform .aai-btn { height: 48px; flex: 0 0 auto; }
@media (max-width: 480px) { .cf-subform .aai-btn { flex: 1 1 100%; } }
.cf-fine { color: var(--text-muted); font-size: 12.5px; line-height: 1.5; margin-top: 12px; }
.cf-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Modals -------------------------------------------------------------------- */
.cf-modal { position: fixed; inset: 0; z-index: 200; display: flex; align-items: center;
  justify-content: center; padding: 20px; }
.cf-modal[hidden] { display: none; }
.cf-modal__back { position: absolute; inset: 0; background: rgba(0,0,0,.72); backdrop-filter: blur(4px); }
.cf-modal__panel { position: relative; z-index: 1; width: 100%; max-width: 620px; max-height: 86vh;
  overflow-y: auto; background: var(--surface-card); border-radius: var(--radius-lg);
  box-shadow: inset 0 0 0 1px var(--ink-stroke), 0 30px 80px rgba(0,0,0,.5);
  padding: clamp(26px, 4vw, 40px); }
.cf-modal__x { position: absolute; top: 14px; right: 14px; width: 38px; height: 38px; border: 0;
  border-radius: 50%; background: var(--surface-raised); color: var(--text-secondary); cursor: pointer;
  display: flex; align-items: center; justify-content: center; }
.cf-modal__x:hover { background: var(--accent); color: #fff; }
.cf-modal__head { display: flex; gap: 18px; align-items: center; }
.cf-modal__img { display: block; width: 84px; height: 84px; border-radius: 50%; overflow: hidden; flex: 0 0 auto; }
.cf-modal__img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cf-modal__panel h3 { font-size: clamp(21px, 2.6vw, 26px); letter-spacing: -.015em; }
.cf-modal__role { color: var(--text-secondary); font-size: 15px; margin-top: 6px; }
.cf-modal__strap { color: var(--text-primary); font-size: 16px; font-weight: var(--weight-medium); margin-top: 10px; }
.cf-modal__logo { display: flex; align-items: center; justify-content: flex-start; height: 64px; margin-bottom: 18px; }
.cf-modal__logo img { max-height: 64px; max-width: 220px; width: auto; object-fit: contain; }
.cf-modal__body { margin-top: 16px; }
.cf-modal__body p { color: var(--text-secondary); font-size: 15.5px; line-height: 1.65; margin-bottom: 12px; }
.cf-modal__session { margin-top: 18px; padding: 16px 18px; background: var(--surface-section);
  border-radius: var(--radius-sm); box-shadow: inset 0 0 0 1px var(--border-subtle); }
.cf-modal__session strong { display: block; font-size: 16px; margin-top: 6px; }
.cf-modal__session p { color: var(--text-secondary); font-size: 14.5px; line-height: 1.6; margin-top: 8px; }
.cf-modal__link { display: inline-flex; align-items: center; gap: 8px; margin-top: 20px;
  color: var(--accent); font-size: 15px; font-weight: var(--weight-medium); }
.cf-modal__link:hover { text-decoration: underline; text-underline-offset: 3px; }
body.cf-modal-open { overflow: hidden; }

/* Responsive --------------------------------------------------------------- */
@media (max-width: 1180px) { .cf-stats, .cf-logos, .cf-gallery { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 1000px) {
  .cf-hero__grid, .cf-split { grid-template-columns: 1fr; gap: 44px; }
  .cf-g3 { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .cf-stats, .cf-logos, .cf-gallery, .cf-g3, .cf-facts { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 520px) {
  .cf-stats, .cf-logos, .cf-gallery, .cf-g3, .cf-facts { grid-template-columns: 1fr; }
}
