/* Homepage type scale: 16px reading text, 14px supporting text, 13px compact labels at default zoom. */
:root {
  --home-label: .875rem;
  --home-compact: 0.875rem;
  --home-secondary: .875rem;
  --home-body: 1rem;
}

#home .hero-product-copy h1 { font-size: max(14px, clamp(2.5rem, 6.25vw, 5.625rem)); }
#home .hero-product-copy .hero-tagline { font-size: max(14px, clamp(1.1875rem, 2vw, 1.4375rem)); line-height: 1.5; }
#home .hero-product-copy .hero-event-description { font-size: max(14px, clamp(1rem, 1.6vw, 1.125rem)); line-height: 1.7; }
#home .hero-product-copy .button,
#home .hero-product-copy .hero-meta { font-size: max(14px, var(--home-body)); }

#home .hero-product-copy .eyebrow,
#why .section-heading .eyebrow,
#tools .tools-copy .eyebrow,
#program .section-heading .eyebrow,
#agenda .agenda-intro .eyebrow,
#speakers .section-heading .eyebrow,
#call-for-speakers .opportunity-layout .eyebrow,
#community .community-heading .eyebrow,
#partners .opportunity-layout .eyebrow,
#orlando .venue-copy .eyebrow {
  font-size: max(14px, var(--home-label));
  line-height: 1.5;
  letter-spacing: .1em;
}

#home .product-universe-label,
#home .product-orbit-core > span { font-size: max(14px, var(--home-compact)); line-height: 1.4; }
#home .product-orbit-name,
#home .product-orbit-core strong { font-size: max(14px, var(--home-secondary)); }
#home .product-orbit-core > span { max-inline-size: 12ch; }
#home .product-orbit-core .product-orbit-cube { width: 3.25rem; height: 3.25rem; }
#home .product-universe-caption > span:first-child { font-size: max(14px, var(--home-secondary)); line-height: 1.55; }
#home .product-universe-caption strong { font-size: 1.0625rem; }

#why .diagram-hint,
#why .journey-topics { font-size: max(14px, var(--home-secondary)); }
#why .journey-topics { line-height: 1.55; }

#tools .diagram-caption,
#tools .layer-number,
#tools .toolkit-options small { font-size: max(14px, var(--home-compact)); }
#tools .layer-label,
#tools .toolkit-note { font-size: max(14px, var(--home-secondary)); }
#tools .toolkit-options a { font-size: max(14px, var(--home-body)); }
#tools .toolkit-options a > span { min-inline-size: 0; overflow-wrap: anywhere; }
#tools .cfml-option { font-size: 1.1875rem; }

#program .section-heading .pill { font-size: max(14px, var(--home-secondary)); }
#program .format-grid :is(.format-index,.eyebrow,.format-pending) { font-size: max(14px, var(--home-compact)); line-height: 1.5; }
#program .format-grid h3 { font-size: max(14px, clamp(1.625rem, 2.55vw, 2rem)); }
#program .format-grid :is(.format-description,summary,.format-details > p) { font-size: max(14px, var(--home-body)); }

#agenda .agenda-intro-copy .text-link { font-size: max(14px, var(--home-body)); }
#agenda-board .agenda-toolbar { flex-wrap: wrap; }
#agenda-board .agenda-toolbar p { font-size: max(14px, clamp(1.625rem, 2.75vw, 2rem)); }
#agenda-board :is(.agenda-board-label,.agenda-preview-label,.agenda-level,.agenda-track-headings,.agenda-day-heading > span,.agenda-filters small,.agenda-speaker small,.agenda-break > small) { font-size: max(14px, var(--home-compact)); }
#agenda-board .agenda-preview-label { max-inline-size: none; }
#agenda-board :is(.agenda-disclaimer,.agenda-legend > span:first-child,.agenda-day-heading h3 span,.agenda-time small,.agenda-speaker,.agenda-break > span,.agenda-footnote) { font-size: max(14px, var(--home-secondary)); }
#agenda-board :is(.agenda-filters button,.agenda-time,.agenda-session-description) { font-size: max(14px, var(--home-body)); }
#agenda-board .agenda-day-heading h3 { font-size: 1.375rem; }
#agenda-board .agenda-session-title { font-size: 1.125rem; line-height: 1.4; }
#agenda-board .agenda-day-heading { flex-wrap: wrap; gap: .4rem 1rem; }
#agenda-board .agenda-filters button { min-inline-size: 0; overflow-wrap: anywhere; }
#agenda-board .agenda-speaker > span:last-child { min-inline-size: 0; }
#agenda-board .agenda-break > small { margin-left: 0; }

#speakers .section-heading > div:nth-child(2) > p { font-size: 1.125rem; line-height: 1.65; }
#speakers .section-heading .reference-label,
#speakers :is(.speaker-controls .filter,.speaker-total,.speaker-card-copy > p,.speaker-card-copy > span:not(.profile-arrow)) { font-size: max(14px, var(--home-secondary)); }
#speakers :is(.speaker-controls,.speaker-filters) { flex-wrap: wrap; }
#speakers .speaker-filters .filter { white-space: normal; }
#speakers .speaker-card-copy > :is(p,span:not(.profile-arrow)) { overflow-wrap: anywhere; line-height: 1.5; }

#call-for-speakers .invitation-note h3 { font-size: max(14px, clamp(1.875rem, 2.8vw, 2.125rem)); }
#call-for-speakers .invitation-note p { font-size: max(14px, var(--home-body)); line-height: 1.65; }
#call-for-speakers .invitation-note :is(.index-label,.fine-print,.tag-row > span),
#partners .invitation-note .index-label { font-size: max(14px, var(--home-label)); line-height: 1.5; }

#community .community-heading > div:nth-child(2) > p { font-size: 1.125rem; }
#community .community-heading .text-link { font-size: max(14px, var(--home-body)); }
#community .community-carousel-top,
#community .community-attribution,
#community .community-slide figcaption small { font-size: max(14px, var(--home-compact)); }
#community .community-carousel-top { flex-wrap: wrap; }
#community .community-slide blockquote { font-size: max(14px, clamp(1.6875rem, 2.6vw, 2.25rem)); line-height: 1.4; }
#community .community-slide figcaption strong,
#community .community-context { font-size: max(14px, var(--home-body)); }
#community .community-avatar { flex-shrink: 0; font-size: max(14px, var(--home-compact)); }

#orlando .venue-address h3 { font-size: 1.25rem; }
#orlando .venue-address :is(p,a) { font-size: max(14px, var(--home-body)); }
#orlando .venue-copy .venue-note,
#orlando .city-caption { font-size: max(14px, var(--home-secondary)); }
#register .pass-options span,
#register .registration-panel > small { font-size: max(14px, var(--home-secondary)); }

main .faq h2 { font-size: max(14px, clamp(2rem, 3.2vw, 2.5rem)); }
main .faq :is(summary,details p) { font-size: max(14px, var(--home-body)); line-height: 1.65; }
.footer .presented-by > span,
.footer .footer-bottom { font-size: max(14px, var(--home-secondary)); line-height: 1.55; }
.footer .footer-top > a:last-child { font-size: max(14px, var(--home-body)); overflow-wrap: anywhere; }
.footer .footer-bottom { flex-wrap: wrap; gap: 1rem; }

@media (max-width: 720px) {
  #home .hero-product-copy h1 { font-size: max(14px, clamp(2.5rem, 10.6vw, 4.5rem)); }
  #tools .toolkit-options { grid-template-columns: 1fr; }
}

@media (max-width: 540px) {
  /* Give the orbit labels room at phone widths; keep the animated rings above the product tiles. */
  #home .product-orbit-stage { aspect-ratio: auto; padding-top: 13rem; }
  #home :is(.product-orbit-routes,.product-orbit-aura) { height: 13rem; inset: 0 0 auto; }
  #home .product-orbit-core { top: 6.5rem; width: 8.5rem; height: 8.5rem; }
  #home .product-orbit-satellite { top: 6.5rem; max-width: 12rem; }
  #home .product-orbit-products { position: relative; inset: auto; display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: .5rem; }
  #home .product-orbit-node { position: relative; inset: auto; width: auto; transform: none; min-inline-size: 0; }
  #home .product-orbit-node a { height: 100%; }
  #home .product-orbit-name { overflow-wrap: anywhere; }
  #home .product-universe-caption { width: 100%; margin-top: .75rem; }
}

#speakers .speaker-roster {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

#speakers .speaker-image .speaker-portrait {
  object-fit: cover;
  filter: grayscale(1);
  transition: filter .4s, transform .6s var(--ease);
}

#speakers .speaker-open:is(:hover, :focus-visible) .speaker-portrait,
#speakers .speaker-open:has(.speaker-portrait):active .speaker-portrait {
  filter: grayscale(0);
}

#speakers .speaker-open:hover .profile-arrow {
  transform: translateX(3px);
}

@media (max-width: 720px) {
  #speakers .speaker-roster {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (prefers-reduced-motion: reduce) {
  #speakers .speaker-image .speaker-portrait {
    transition: none;
  }
}
