/* Shared by the three TIME TO BIM pages, after their existing theme styles. */
body.time-to-bim .myikki-global-top-nav a.event-brand {
  display: inline-flex !important;
  flex: 0 0 auto !important;
  gap: 12px !important;
  margin-right: auto !important;
  padding: 0 12px 0 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  color: #fff !important;
  text-align: left !important;
}
body.time-to-bim .myikki-global-top-nav .event-brand img {
  display: block !important;
  flex: 0 0 72px !important;
  width: 72px !important;
  height: 48px !important;
  max-width: none !important;
  object-fit: contain !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: #fff !important;
}
body.time-to-bim .event-brand > span { font-size: 14px; line-height: 1.3; }
body.time-to-bim .event-brand small { display: block; margin-top: 3px; font-size: 10px; font-weight: 500; color: #cbd6e4; }
body.time-to-bim .hero h1.event-logo-heading { display: grid; justify-items: start; gap: 14px; line-height: 1; margin-bottom: 24px; }
body.time-to-bim .event-hero-logo { display: block; width: 240px; max-width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: contain; }
body.time-to-bim .event-logo-heading > strong { font-size: 36px; line-height: 1.1; }
body.time-to-bim .event-logo-heading > span { margin-top: 0; }
body.time-to-bim .event-gate-logo { display: block; width: 144px; max-width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: contain; margin-bottom: 20px; }
@media (max-width: 720px) {
  body.time-to-bim .event-brand > span { display: none; }
  body.time-to-bim .myikki-global-top-nav a.event-brand { margin-right: 4px !important; padding: 0 !important; }
  body.time-to-bim .event-hero-logo { width: 210px; }
  body.time-to-bim .event-logo-heading > strong { font-size: 30px; }
}

html {
  scroll-padding-top: calc(var(--myk-nav-height, 72px) + 16px);
}

body.time-to-bim {
  --myk-nav-height: 72px;
  --event-gutter: 40px;
}

.time-to-bim :where(h1, h2, h3, p, li, label, button, a, span, strong, .eyebrow, .event-year, .k, .v, .guest-role) {
  letter-spacing: 0 !important;
}

.time-to-bim p,
.time-to-bim li,
.time-to-bim .notice,
.time-to-bim .stat span,
.time-to-bim .city-guest span,
.time-to-bim .hero-list b,
.time-to-bim .speaker-profile-item strong {
  text-align: start !important;
  text-align-last: auto;
  word-spacing: normal !important;
  -webkit-hyphens: none;
  hyphens: none;
  overflow-wrap: break-word;
  word-break: normal;
  text-wrap: pretty;
}

.time-to-bim :where(h1, h2, h3, .tier-head strong, .level-name strong) {
  text-align: left;
  overflow-wrap: break-word;
  text-wrap: balance;
}

.time-to-bim :is(.agenda-title, .tier-quota, .level-quota, .attendee-role, .event-baseline, .powered-signature) {
  text-align: left;
  hyphens: none;
}

.time-to-bim .myikki-global-top-nav {
  position: fixed !important;
  inset: 0 0 auto !important;
  width: 100% !important;
  height: 72px !important;
  min-height: 72px !important;
  padding: 10px 16px !important;
  overflow-x: auto !important;
  overflow-y: hidden !important;
  scroll-padding-inline: 16px;
}

.time-to-bim .myikki-global-top-nav a {
  min-height: 44px !important;
  flex-shrink: 0 !important;
}
.time-to-bim .myikki-global-top-nav a.active:not(.event-brand),
.time-to-bim .myikki-global-top-nav a[aria-current]:not(.event-brand) {
  color: #fff !important;
  background: linear-gradient(135deg, var(--violet), var(--blue)) !important;
}
.time-to-bim .form-note {
  top: calc(var(--myk-nav-height) + 16px);
}

.time-to-bim main { padding-top: 72px; }
.time-to-bim section { padding: 88px var(--event-gutter); }
.time-to-bim .hero h1 { font-size: 80px; line-height: 1.02; }
.time-to-bim h2 { font-size: 56px; line-height: 1.08; }
.time-to-bim .lead { font-size: 20px; }
.time-to-bim .event-baseline { font-size: 30px; }
.time-to-bim .panel-date { font-size: 76px; }
.time-to-bim .big-question p { font-size: 40px; }
.time-to-bim .reveal-logo { font-size: 76px; }
.time-to-bim .speaker-body h2 { font-size: 56px; }
.time-to-bim .speaker-role { font-size: 28px; }
.time-to-bim .speaker-profile-item span { font-size: 34px; }
.time-to-bim .request-dialog h2,
.time-to-bim .dialog h2 { font-size: 32px; }
.time-to-bim .request-dialog {
  color: #171427;
  background: linear-gradient(180deg, #fffaf1, #ffffff);
}
.time-to-bim .request-dialog h2 {
  color: #171427;
}
.time-to-bim .request-dialog p {
  color: rgba(23, 20, 39, .78);
}
.time-to-bim .request-dialog .modal-secondary {
  color: #171427;
  background: #fff;
  border-color: rgba(31, 42, 68, .16);
}
.time-to-bim .video-frame iframe {
  position: absolute;
  inset: 0;
  z-index: 2;
  width: 100%;
  height: 100%;
  border: 0;
}
.time-to-bim .video-frame:not(.video-pending)::before,
.time-to-bim .video-frame:not(.video-pending) .video-caption {
  display: none;
}
.time-to-bim .partner-logos {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 28px;
}
.time-to-bim .partner-logos a,
.time-to-bim .partner-logos span {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 148px;
  min-height: 78px;
  padding: 12px 18px;
  border-radius: 12px;
  background: #fff;
}
.time-to-bim .partner-logos img {
  max-width: 148px;
  max-height: 48px;
  object-fit: contain;
}

.time-to-bim :where(.container, .hero-inner, .form-grid, .field, .code-row, .speaker-body, .support-action),
.time-to-bim :where(.levels, .summary, .cards, .why-cards, .guest-grid, .attendees-grid, .form-grid, .split, .city-panel, .hero-inner) > * {
  min-width: 0;
}

.time-to-bim :where(.btn, .btn-primary, .btn-secondary, .form-submit, .modal-close, .modal-secondary, .speaker-secondary) {
  min-height: 48px;
  max-width: 100%;
  padding: 12px 20px;
  line-height: 1.4;
  white-space: normal;
  text-align: center;
  text-align-last: auto;
  hyphens: none;
  overflow-wrap: break-word;
}

.time-to-bim :where(a, button, input, select, textarea, [tabindex="0"]):focus-visible {
  outline: 3px solid #72e4ff;
  outline-offset: 4px;
}

.time-to-bim .form-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.time-to-bim :where(input, select, textarea) { min-width: 0; font-size: 16px; }
.time-to-bim label { font-size: 12px !important; line-height: 1.5 !important; }
.time-to-bim .check { font-size: 14px !important; line-height: 1.6 !important; }
.time-to-bim .field.is-invalid input,
.time-to-bim .field.is-invalid select,
.time-to-bim .field.is-invalid textarea,
.time-to-bim .check.is-invalid {
  border-color: #ff5c7a;
}
.time-to-bim .field.is-invalid input,
.time-to-bim .field.is-invalid select,
.time-to-bim .field.is-invalid textarea {
  box-shadow: 0 0 0 3px rgba(255, 92, 122, .18);
}
.time-to-bim .form-status,
.time-to-bim .status[data-state="error"] {
  color: #ff8aa0;
}
.time-to-bim .form-card .status[data-state="error"] {
  color: #a32436;
}
.time-to-bim .check input {
  width: 18px !important;
  min-width: 18px;
  min-height: 18px;
  height: 18px;
  flex: 0 0 18px;
}

.time-to-bim .tech-rail { flex-wrap: wrap; }
.time-to-bim .agenda-toggle { min-width: 44px; min-height: 44px; }
.time-to-bim .agenda-title { line-height: 1.45; }

.time-to-bim :where(.gate, .modal, .request-modal, .speaker-modal) {
  padding: 16px;
  overflow-y: auto;
  overscroll-behavior: contain;
}

.time-to-bim :where(.gate-card, .dialog, .request-dialog, .speaker-dialog) {
  max-height: calc(100dvh - 32px);
  overflow-y: auto;
  min-width: 0;
}

.time-to-bim .speaker-dialog { padding-top: 72px; }
.time-to-bim .speaker-close { top: 12px; right: 12px; z-index: 3; }
.time-to-bim .code-row input { min-width: 0; width: 100%; }
.time-to-bim .code-row .btn { flex: 0 0 auto; }

.time-to-bim .capacity-wrap,
.time-to-bim .matrix-wrap {
  width: 100%;
  max-width: 100%;
  overscroll-behavior-inline: contain;
  scrollbar-width: thin;
  scrollbar-color: #72e4ff #10172d;
}

.time-to-bim td {
  hyphens: auto;
  overflow-wrap: break-word;
}

.sponsor-page .hero {
  padding: 64px var(--event-gutter);
  min-height: min(760px, calc(100svh - 120px));
}
.sponsor-page .hero-inner { padding: 0; }
.sponsor-page .hero h1 { font-size: 72px; }
.sponsor-page .hero-card-top strong { font-size: 48px; line-height: 1.05; }
.sponsor-page :where(.levels, .summary) { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.sponsor-page .level-name { align-items: flex-start; flex-direction: column; }
.sponsor-page .level-name strong { font-size: 24px; line-height: 1.25; }
.sponsor-page .tier-head strong { min-height: 60px; }
.sponsor-page .level-price { line-height: 1.4; }
.sponsor-page .price { font-size: 20px; }
.sponsor-page .summary-card .btn { margin-top: auto; }
.sponsor-page .cta-panel h2 { font-size: 38px; }
.sponsor-page .gate-card h1 { font-size: 34px; }

/* Override the parent site's broad mobile rules only within this event. */
@media (max-width: 1100px) {
  body.time-to-bim { --event-gutter: 28px; }
  .time-to-bim .myikki-global-top-nav > strong { display: none !important; }
  .time-to-bim section { padding: 64px var(--event-gutter) !important; }
  .time-to-bim h1 { font-size: 64px !important; line-height: 1.06 !important; }
  .time-to-bim h2 { font-size: 44px !important; line-height: 1.12 !important; }
  .time-to-bim h3 { font-size: 22px !important; line-height: 1.3 !important; }
  .time-to-bim :where(p, li) { font-size: 16px !important; line-height: 1.7 !important; }
  .time-to-bim .lead { font-size: 18px !important; }
  .time-to-bim .event-baseline { font-size: 28px !important; line-height: 1.2 !important; }
  .time-to-bim .big-question p { font-size: 34px !important; line-height: 1.2 !important; }
  .time-to-bim .eyebrow { font-size: 11px !important; line-height: 1.5 !important; }
  .time-to-bim .eyebrow::before { flex: 0 0 24px; }
  .time-to-bim :where(.hero-inner, .split, .why-grid, .profile-shell, .video-shell, .craft-grid, .press-shell, .city-panel, .form-shell, .reveal-panel, .principles, .cta-panel) {
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 28px !important;
  }
  .time-to-bim :where(.cards, .stats, .process, .info-grid, .why-cards, .guest-grid, .attendees-grid, .craft-cards, .press-kit, .partners-grid, .levels, .summary, .principle-grid) {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .time-to-bim .form-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
  .time-to-bim .form-note { position: static; }
  .time-to-bim :where(.card, .form-card) { padding: 24px !important; }
  .time-to-bim .footer-inner { padding: 0 !important; }
  .time-to-bim .footer-inner p { font-size: 14px !important; }
  .time-to-bim .speaker-dialog { grid-template-columns: 260px minmax(0, 1fr); gap: 24px; min-height: 0; padding: 72px 24px 24px; }
  .time-to-bim .speaker-body h2 { font-size: 40px !important; }
  .time-to-bim .speaker-role { font-size: 22px; line-height: 1.4; }
  .time-to-bim .speaker-profile-item span { font-size: 30px; }
  .time-to-bim .speaker-profile-item strong { font-size: 16px; line-height: 1.65; }
  .time-to-bim .speaker-cover { min-height: 0; align-self: start; aspect-ratio: 3 / 4; }
  .time-to-bim .speaker-avatar { min-height: 0; padding: 20px; }
  .time-to-bim .speaker-chip { font-size: 16px; padding: 12px; line-height: 1.4; }
  .time-to-bim :where(.dialog, .request-dialog) h2 { font-size: 30px !important; }
  .sponsor-page .gate-card h1 { font-size: 32px !important; }
  .sponsor-page .tier-head strong { min-height: 0; }
  .sponsor-page .support-offer { grid-template-columns: minmax(0, 1fr) minmax(220px, 280px); }
  .sponsor-page .cta-panel h2 { font-size: 32px !important; }
  .sponsor-page .cta-panel .btn { justify-self: start; }
}

@media (max-width: 720px) {
  body.time-to-bim { --event-gutter: 18px; }
  .time-to-bim section { padding: 48px var(--event-gutter) !important; }
  .time-to-bim h1 { font-size: 46px !important; }
  .time-to-bim h2 { font-size: 36px !important; }
  .time-to-bim h3 { font-size: 21px !important; }
  .time-to-bim .hero-inner { padding: 40px var(--event-gutter); }
  .time-to-bim .event-baseline { font-size: 24px !important; }
  .time-to-bim .big-question p { font-size: 28px !important; }
  .time-to-bim .panel-date { font-size: 60px; }
  .time-to-bim .reveal-logo { font-size: 54px; }
  .time-to-bim :where(.cards, .process, .info-grid, .why-cards, .guest-grid, .attendees-grid, .craft-cards, .press-kit, .partners-grid, .levels, .summary, .principle-grid, .city-guests, .exclusive-banner, .support-offer) {
    grid-template-columns: minmax(0, 1fr);
  }
  .time-to-bim .form-grid { grid-template-columns: minmax(0, 1fr) !important; }
  .time-to-bim :where(.card, .form-card, .form-note, .level-card, .summary-card, .gate-card, .dialog, .request-dialog) { padding: 20px !important; }
  .time-to-bim :where(.level-card, .summary-card, .question-card) { min-height: 0; }
  .time-to-bim .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .time-to-bim .stat { padding: 22px 18px; }
  .time-to-bim .stat:nth-child(even) { border-right: 0; }
  .time-to-bim .city-tabs { grid-template-columns: repeat(3, minmax(0, 1fr)); padding: 4px; gap: 4px; border-radius: 8px; }
  .time-to-bim .city-tab { border-radius: 6px; min-width: 0; font-size: 13px; }
  .time-to-bim .profile-switch { display: flex; overflow-x: auto; border-radius: 8px; scroll-snap-type: x proximity; }
  .time-to-bim .profile-switch::before { display: none; }
  .time-to-bim .profile-option { flex: 0 0 142px; scroll-snap-align: start; min-height: 48px; border-radius: 6px; }
  .time-to-bim .profile-option.active { color: #fff; background: #3f42bb; }
  .time-to-bim .photo-stack { grid-template-columns: minmax(0, 1fr); grid-template-rows: none; grid-auto-rows: 240px; }
  .time-to-bim .place-photo { min-height: 0; }
  .time-to-bim .place-photo.large { grid-row: auto; min-height: 0; }
  .time-to-bim .agenda-summary { grid-template-columns: 58px minmax(0, 1fr) 44px; gap: 10px; }
  .time-to-bim .agenda-toggle { width: 44px; justify-content: center; padding: 0; }
  .time-to-bim .agenda-toggle span:first-child { display: none; }
  .time-to-bim .agenda-title { font-size: 15px !important; }
  .time-to-bim .agenda-details { margin-left: 0; }
  .time-to-bim .speaker-dialog { grid-template-columns: minmax(0, 1fr); padding: 68px 20px 24px; }
  .time-to-bim .speaker-cover { width: 100%; max-width: 360px; margin-inline: auto; aspect-ratio: 4 / 5; }
  .time-to-bim .speaker-body { padding: 0; }
  .time-to-bim .speaker-body h2 { font-size: 32px !important; }
  .time-to-bim .speaker-role { font-size: 20px; }
  .time-to-bim :where(.hero-actions, .actions, .form-actions, .modal-actions, .speaker-actions) { width: 100%; }
  .time-to-bim :where(.btn, .btn-primary, .btn-secondary, .form-submit, .modal-close, .modal-secondary, .speaker-secondary) { width: 100%; }
  .time-to-bim .request-meta div { flex-direction: column; gap: 4px; }
  .sponsor-page .hero { padding: 44px var(--event-gutter); min-height: auto; }
  .sponsor-page .hero-inner { padding: 0; }
  .sponsor-page .hero-card-top strong { font-size: 36px; }
  .sponsor-page .code-row { display: grid; grid-template-columns: minmax(0, 1fr); }
  .sponsor-page .code-row input { min-height: 48px; }
  .sponsor-page .gate-card h1 { font-size: 28px !important; }
  .sponsor-page .meta span { padding: 8px 12px; line-height: 1.45; }
  .sponsor-page .support-offer { grid-template-columns: minmax(0, 1fr); }
  .sponsor-page .support-action { justify-items: stretch; }
  .sponsor-page .cta-panel { padding: 22px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .time-to-bim *, .time-to-bim *::before { transition: none !important; }
}

/* Keep prose readable in compact cards and profile panels. */
body.time-to-bim :is(p, li, blockquote, .notice, .speaker-profile-item strong, .city-guest span, .hero-list b) {
  text-align: start !important;
  text-align-last: auto !important;
  word-spacing: normal !important;
  letter-spacing: 0 !important;
  hyphens: none;
}
body.time-to-bim #concept :is(h3, .question-lead) { color: #91dfff; }
body.time-to-bim .why-card :is(span, small) { color: #c8d3df; }
body.time-to-bim .video-meta { gap: 8px; align-content: start; align-self: start; }
body.time-to-bim .video-meta .line { padding-block: 8px; margin: 0; gap: 12px; }
body.time-to-bim .video-meta .line p { margin: 0; line-height: 1.55; }
body.time-to-bim .hero-memory { max-width: 760px; color: #c7efff; font-size: 21px; line-height: 1.5; margin: 16px 0 22px; }
body.time-to-bim .hero-memory strong { display: block; color: #fff; }

body.time-to-bim #validation .step {
  display: grid;
  align-content: start;
  gap: 12px;
  min-width: 0;
  min-height: 0;
  padding: 20px;
}
body.time-to-bim #validation .step-heading {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
}
body.time-to-bim #validation .step-num { margin: 0; }
body.time-to-bim #validation .step h3 {
  margin: 0;
  font-size: 18px !important;
  line-height: 1.35 !important;
}
body.time-to-bim #validation .step p { margin: 0; }
body.time-to-bim #validation p strong { color: #fff; }

body.time-to-bim #programme .agenda { gap: 0; border-top: 1px solid #354054; }
body.time-to-bim #programme .agenda-row { padding-block: 18px; border-bottom-color: #354054; }
body.time-to-bim #programme .agenda-time { font-size: 16px; }
body.time-to-bim #programme .agenda-details { max-width: 880px; }
body.time-to-bim .guest-content > p { margin-bottom: 18px; }
body.time-to-bim .guest-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid #3a465a;
}
body.time-to-bim .guest-city { color: #91dfff; font-size: 13px; font-weight: 700; line-height: 1.5; }
body.time-to-bim .guest-meta .guest-more { margin: 0; padding: 0; }
body.time-to-bim .city-panel.active { align-items: start; }
body.time-to-bim .city-speakers,
body.time-to-bim .event-partners { grid-column: 1 / -1; min-width: 0; border-top: 1px solid #354054; padding-top: 24px; }
body.time-to-bim .event-partners { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 12px; }
body.time-to-bim .event-partner { display: grid; gap: 8px; padding: 16px; border: 1px solid #354054; border-radius: 8px; background: #0c1423; }
body.time-to-bim .event-partner strong { color: #fff; }
body.time-to-bim .event-partner img { max-width: 120px; height: 48px; object-fit: contain; }
body.time-to-bim .city-speakers-heading { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 20px; margin-bottom: 18px; }
body.time-to-bim .city-speakers-heading h3 { margin: 0; color: #fff; font-size: 22px; }
body.time-to-bim .city-speakers-heading > span { color: #c7d3df; font-size: 13px; }
body.time-to-bim .mystery-speakers {
  display: grid;
  grid-template-columns: repeat(8, minmax(0, 1fr));
  gap: 12px;
  list-style: none;
  margin: 0;
  padding: 0;
}
body.time-to-bim .mystery-speaker {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 0;
  padding: 14px 8px;
  border: 1px solid #354054;
  border-radius: 8px;
  background: #0c1423;
}
body.time-to-bim .mystery-avatar { position: relative; display: grid; place-items: center; width: 68px; height: 76px; margin-bottom: 12px; }
body.time-to-bim .mystery-avatar img { display: block; width: 48px; height: 48px; object-fit: contain; }
body.time-to-bim .mystery-avatar > span { position: absolute; right: 0; bottom: 0; color: #ffcf72; font: 11px/1.4 "DM Mono", monospace; }
body.time-to-bim .mystery-speaker > strong { color: #fff; font-size: 13px; line-height: 1.5; text-align: center; }
body.time-to-bim .mystery-speaker > span { margin-top: 4px; color: #91dfff; font-size: 11px; line-height: 1.5; text-align: center; }
@media (max-width: 1100px) {
  body.time-to-bim .mystery-speakers { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (max-width: 720px) {
  body.time-to-bim #programme .agenda-time { font-size: 14px; }
  body.time-to-bim .mystery-speakers { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

body.time-to-bim .request-dialog {
  background: #fff !important;
  color: #171427 !important;
}
body.time-to-bim .request-dialog h2 {
  color: #171427 !important;
  font-size: clamp(26px, 4vw, 34px) !important;
  line-height: 1.2 !important;
}
body.time-to-bim .request-dialog p,
body.time-to-bim .request-success p,
body.time-to-bim .request-dialog #request-message {
  color: #273044 !important;
}
body.time-to-bim .request-dialog .modal-secondary {
  color: #171427 !important;
  background: #fff !important;
  border: 1px solid rgba(23, 20, 39, .16) !important;
}
body.time-to-bim .request-dialog a.modal-close,
body.time-to-bim .request-dialog button.modal-close {
  color: #201308 !important;
}
