/* Exhibitor (schools and groups) and partner (companies) pages. Builds on site.css and pages.css. */
.support-page main section[id] { scroll-margin-top: 24px; }
.support-page .section-head { max-width: 860px; margin-bottom: 40px; }
.support-page .section-head .section-tag { display: block; margin: 0 0 16px; color: var(--orange-dark); font-size: var(--text-meta); font-weight: 900; letter-spacing: .1em; }
.support-page .section-head h2 { margin: 0 0 18px; }
.support-page .section-head > p:not(.section-tag) { margin: 0; color: var(--muted); }
.support-page .sand { background: var(--sand); }

/* Hero */
.support-page .page-hero .lead { margin: 0 0 22px; color: var(--muted); font-size: var(--text-body); }
.sp-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 24px; padding: 0; list-style: none; }
.sp-chips li { padding: 8px 14px; border: 1px solid var(--line); background: white; color: var(--muted); font-size: var(--text-meta); line-height: 1.5; }
.sp-chips strong { display: block; color: var(--ink); font-size: var(--text-small); }
.sp-chips .is-key { border-color: var(--orange-dark); background: var(--orange-dark); color: #fde6dc; }
.sp-chips .is-key strong { color: white; }

/* Cards */
.sp-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin: 0; padding: 0; list-style: none; }
.sp-cards.four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.sp-cards.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.sp-card { display: flex; flex-direction: column; padding: 26px; background: white; border-top: 3px solid var(--ink); }
.sp-card .num { margin-bottom: 12px; color: var(--orange-dark); font-size: 1.75rem; font-weight: 850; line-height: 1; }
.sp-card .kicker { margin: 0 0 8px; color: var(--teal-deep); font-size: var(--text-meta); font-weight: 850; letter-spacing: .05em; }
.support-page .sp-card h3 { margin: 0 0 10px; font-size: 1.3125rem; line-height: 1.55; }
.sp-card p { margin: 0; color: var(--muted); font-size: var(--text-small) !important; line-height: 1.85 !important; }
.sp-card p + p { margin-top: 8px; }
.sp-card ul { margin: 8px 0 0; padding-left: 1.2em; color: var(--muted); font-size: var(--text-small); }

/* Figures */
.sp-figures { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; margin: 0; }
.sp-figures > div { padding: 22px 0; border-top: 2px solid var(--ink); }
.sp-figures dt { color: var(--muted); font-size: var(--text-small); }
.sp-figures dd { margin: 6px 0 0; font-size: var(--text-small); }
.sp-figures strong { margin-right: 4px; font-size: 2.5rem; line-height: 1.2; font-variant-numeric: tabular-nums; }
.sp-note { margin: 18px 0 0; color: var(--muted); font-size: var(--text-meta) !important; }

/* Split: text + audience breakdown */
.sp-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: start; }
.sp-bars { margin: 0; padding: 0; list-style: none; }
.sp-bars li { display: grid; grid-template-columns: 9em minmax(0, 1fr) 4.5em; align-items: center; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: var(--text-small); }
.sp-bars .bar { height: 10px; background: var(--line); }
.sp-bars .bar span { display: block; height: 100%; background: var(--teal); }
.sp-bars b { text-align: right; font-variant-numeric: tabular-nums; }
.sp-target { margin: 22px 0 0; padding: 18px 20px; background: var(--ink-deep); color: white; font-weight: 800; }
.sp-target strong { color: var(--yellow); font-size: 1.5rem; }

/* Tables */
.sp-table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; border-top: 2px solid var(--ink); }
.sp-table { width: 100%; min-width: 720px; border-collapse: collapse; font-size: var(--text-small); background: white; }
.sp-table th, .sp-table td { padding: 14px 16px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; line-height: 1.7; }
.sp-table thead th { background: var(--paper); font-size: var(--text-small); }
.sp-table tbody th { width: 13em; color: var(--ink); font-weight: 800; }
.sp-table td { color: var(--muted); }
.sp-table .plan-head { display: block; font-size: 1.0625rem; }
.sp-table .plan-slot { display: block; margin-top: 2px; color: var(--muted); font-size: var(--text-meta); font-weight: 600; }
.sp-table .no { color: #9aa7b3; }
.sp-scroll-hint { display: none; margin: 8px 0 0; color: var(--muted); font-size: var(--text-meta); }

/* Tags */
.sp-tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 24px 0 0; padding: 0; list-style: none; }
.sp-tags li { padding: 6px 12px; border-radius: 999px; background: #edf2ef; color: #286356; font-size: var(--text-meta); font-weight: 800; }

/* Previous exhibits */
.sp-gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin: 0; padding: 0; list-style: none; }
.sp-gallery li { display: flex; flex-direction: column; background: white; }
.sp-gallery img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; }
.sp-gallery .body { display: flex; flex: 1; flex-direction: column; padding: 20px 22px 22px; }
.sp-gallery .kicker { margin: 0 0 6px; color: var(--teal-deep); font-size: var(--text-meta); font-weight: 850; }
.support-page .sp-gallery h3 { margin: 0 0 8px; font-size: 1.1875rem; line-height: 1.55; }
.sp-gallery p { margin: 0; color: var(--muted); font-size: var(--text-small) !important; line-height: 1.8 !important; }
.sp-gallery .who { margin-top: auto; padding-top: 14px; color: var(--ink); font-size: var(--text-meta) !important; font-weight: 800; }
.sp-more { margin: 28px 0 0; font-size: var(--text-small); }

/* Timeline and steps */
.sp-schedule { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.sp-schedule section { padding: 24px 26px; background: white; border-top: 3px solid var(--ink); }
.support-page .sp-schedule h3 { margin: 0 0 12px; font-size: 1.25rem; }
.sp-schedule dl { display: grid; grid-template-columns: 7.5em minmax(0, 1fr); gap: 6px 14px; margin: 0; font-size: var(--text-small); }
.sp-schedule dt { font-weight: 800; font-variant-numeric: tabular-nums; }
.sp-schedule dd { margin: 0; color: var(--muted); }
.sp-steps { counter-reset: step; display: grid; gap: 0; margin: 0; padding: 0; list-style: none; border-top: 2px solid var(--ink); }
.sp-steps li { counter-increment: step; display: grid; grid-template-columns: 56px minmax(0, 1fr) minmax(0, 1fr); gap: 8px 24px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.sp-steps li::before { content: counter(step, decimal-leading-zero); color: var(--orange-dark); font-size: 1.5rem; font-weight: 850; line-height: 1.2; }
.sp-steps strong { display: block; font-size: var(--text-body); }
.sp-steps span { color: var(--muted); font-size: var(--text-small); }
.sp-deadline { display: inline-block; margin: 24px 0 0; padding: 10px 16px; background: var(--yellow); color: var(--ink-deep); font-weight: 850; }

/* Contact band */
.sp-contact { background: var(--teal-deep); color: white; }
.sp-contact .section-head .section-tag { color: #c9ece8; }
.sp-contact .section-head > p:not(.section-tag) { color: #d1e8e7; }
.sp-contact-box { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; }
.sp-mail { font-size: 1.375rem; font-weight: 850; color: white; text-underline-offset: 6px; overflow-wrap: anywhere; }
.sp-contact .sp-crosslink { margin: 28px 0 0; color: #d1e8e7; font-size: var(--text-small); }
.sp-contact .sp-crosslink a { color: white; font-weight: 800; }

@media (max-width: 980px) {
  .sp-cards, .sp-cards.four { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sp-figures { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sp-split { grid-template-columns: 1fr; gap: 28px; }
  .sp-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 680px) {
  .sp-cards, .sp-cards.four, .sp-cards.two, .sp-gallery, .sp-schedule { grid-template-columns: 1fr; }
  .sp-card { padding: 22px; }
  .sp-figures strong { font-size: 2rem; }
  .sp-bars li { grid-template-columns: 7.5em minmax(0, 1fr) 4em; }
  .sp-steps li { grid-template-columns: 44px minmax(0, 1fr); }
  .sp-steps li > span { grid-column: 2; }
  .sp-scroll-hint { display: block; }
  .sp-mail { font-size: 1.125rem; }
  .sp-contact-box .button { width: 100%; }
}
