/* Shared type scale. Headline sizes remain in base.css. */
:root {
  --text: 17px;
  --small: 14px;
  --label: 13px;
  --muted: #bed0e0;
  --line: #ffffff2e;
  --surface: #ffffff04;
}
body { font-size: var(--text); color: var(--paper); background-color: var(--navy); }
.header nav, .header-cta, .hero-meta strong, .button, .text-link,
.back-top, .footer > p { font-size: 15px; }
.eyebrow, .section-label, .hero-meta span, .art-top, .art-bottom,
.art-label, .compass-n, .compass-e, .compass-s, .compass-w,
.topic-list article > span:first-child, .directions article > span,
.organizer > span, .contact-tag, .partner-types span, .legal {
  font-size: var(--label);
  letter-spacing: .045em;
}
.hero-description, .about-grid p, .section-heading p, .topic-list p,
.audience-grid > div > p, .audience-items p, .community-heading p,
.directions p, .organizer p, .partner-grid p:not(.lead),
.join-grid > div > p { font-size: var(--text); line-height: 1.75; }
.about-grid .lead, .lead { font-size: 23px; line-height: 1.5; }
.facts p, .program-note, .contact p, .contact small,
.footer-logo span { font-size: var(--small); line-height: 1.65; }
.contact a { font-size: 18px; overflow-wrap: anywhere; }
.facts strong { font-variant-numeric: tabular-nums; }
.facts strong span { font-size: 17px; }
.section-label { align-items: start; line-height: 1.5; }
.section-label > span:last-child { text-align: right; }
.section-heading p { max-width: 360px; }
.header nav { gap: 24px; font-size: 14px; }
.header-cta { gap: 16px; }
.hero-meta { gap: 40px; }
.hero-copy, .join-grid > div, .directions article { min-width: 0; }
.button, .header-cta, .menu-toggle, .motion-toggle { touch-action: manipulation; }
.partner-types span { background: #fff9; }
.directions p { max-width: none; }
.directions h3 { gap: 10px; }
.contact { max-width: 380px; background: var(--navy); }
.footer-logo span { font-size: 13px; letter-spacing: 0; line-height: 1.5; }
.legal { align-items: start; gap: 24px; }

/* Navigation charts: contour lines, coordinates and a plotted route. */
body { background-image: none; }
.header {
  height: 74px; display: grid; grid-template-columns: 1fr auto 1fr;
  gap: 24px; border-bottom: 1px solid #ffffff26;
}
.header > .brand { justify-self: start; }
.header > nav { justify-self: center; }
.header > .header-cta { justify-self: end; }
.brand {
  position: relative; display: inline-flex; align-items: center; justify-content: center;
  padding: 0; min-height: 44px; flex-shrink: 0;
}
.brand img { width: auto; height: 28px; display: block; }
.header .brand img { width: auto; height: 28px; }
.brand::before, .brand::after { content: none; }
.footer-brand { min-height: 36px; }
.footer-brand img { width: auto; height: 24px; }
.header-cta { min-height: 40px; padding: 8px 14px; font-size: 14px; line-height: 1.25; border-color: #dae74c80; color: var(--lime); }
.header-cta span { font-size: 18px; line-height: 1; }
.header-cta:hover { background: #dae74c0d; }
.hero .eyebrow, .hero-subtitle { color: var(--lime); }
.hero .dot { background: var(--lime); }
.title-dot, h2 em { color: var(--lime); }
.hero .button, .partners .button { background: var(--lime); color: var(--navy); }
.hero-description { color: #d1dfeb; }
.hero-meta strong { color: var(--paper); }
.about-grid .lead, .lead { color: var(--paper); }
.text-link { color: var(--lime); border-bottom-color: #dae74c80; }
.audience-items article > span { color: var(--navy); }
.community-heading p { color: #d1dfeb; }
.partner-types span { background: #ffffff08; border-color: #ffffff40; }
.footer { color: var(--paper); }
.footer-logo { color: var(--lime); }
.footer-logo span { color: #bed0e0; }
.ticker { background: var(--lime); color: var(--navy); border-block: 1px solid var(--lime); }
.mobile-nav { background: var(--navy); }
.menu-toggle span { background: var(--paper) !important; }
a:focus-visible, button:focus-visible { outline-color: var(--lime); }
.hero-art .motion-toggle:focus-visible { outline-color: var(--paper); }
.hero { position: relative; isolation: isolate; }
.hero::before {
  content: ''; position: absolute; z-index: -1; pointer-events: none;
  inset: 5% 28% 4% -12%; opacity: .25;
  background: url('../assets/route-lines.svg') center / cover no-repeat;
  mask-image: linear-gradient(90deg, #000, transparent 95%);
}
.hero-art {
  min-height: 590px;
  background-color: var(--surface);
  border: 1px solid #ffffff26;
  background-image:
    linear-gradient(#ffffff06 1px, transparent 1px),
    linear-gradient(90deg, #ffffff06 1px, transparent 1px);
  background-size: 28px 28px, 28px 28px;
  box-shadow: 0 22px 65px -38px #00182eaa;
}
.compass { color: var(--navy); }
.compass::before {
  content: ''; position: absolute; inset: 26px; border-radius: 50%;
  background: var(--lime); box-shadow: 0 0 0 8px #dae74c0b, 0 0 0 22px #dae74c05;
}
.art-top { gap: 12px; }
.art-bottom { gap: 12px; align-items: end; line-height: 1.65; }
.art-bottom > span:first-child { max-width: 290px; }
.art-index { display: none; }
.art-label { color: var(--navy); padding: 8px 15px; box-shadow: 0 5px 18px #002f6212; }
.label-one { left: 3px; top: 124px; }
.label-two { right: 5px; bottom: 104px; }
.label-three { right: 3px; top: 74px; }
.orbit-one::before {
  content: ''; position: absolute; inset: -18px;
  border: 1px dashed #002f6240; border-radius: 50%;
  animation: orbit-turn 60s linear infinite;
}
.orbit-two::after {
  content: ''; position: absolute; width: 8px; height: 8px;
  left: calc(50% - 4px); top: -4px;
  border-radius: 50%; background: var(--navy);
}
.compass svg { transform: rotate(var(--bearing, 0deg)); transform-origin: 50% 50%; transform-box: border-box; transition: none; }
.about { background: none; }
.topics {
  position: relative; isolation: isolate;
  background: transparent;
  border-top: 1px solid #ffffff12;
}
.topics::before, .join::before {
  content: ''; position: absolute; z-index: -1; pointer-events: none;
  inset: 0; background: url('../assets/route-lines.svg') right center / auto 115% no-repeat;
  opacity: .15;
}
.topic-list { position: relative; }
.topic-list article { position: relative; }
.topic-list article::before {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, #dae74c0c, transparent 75%);
  transform: scaleX(0); transform-origin: left;
  transition: transform .35s ease;
}
.topic-list article:hover::before { transform: scaleX(1); }
.topic-arrow { transition: transform .3s ease; }
.topic-list article:hover .topic-arrow { transform: translate(4px, -4px); }
.audience {
  background: none;
}
.community {
  position: relative; isolation: isolate;
  background: transparent;
  border-block: 1px solid #ffffff12;
}
.community-heading h2 span, .directions article > span, .directions h3 span,
.organizer > span { color: var(--lime); }
.directions article { border-top-color: #dae74c55; }
.directions article + article { border-left-color: #ffffff20; }
.organizer { border-top-color: #ffffff30; }
.community::before {
  content: ''; position: absolute; z-index: -1; pointer-events: none;
  inset: 0;
  background: url('../assets/route-lines.svg') right center / auto 115% no-repeat;
  opacity: .1;
}
.directions article { background: #ffffff02; }
.partners {
  background: none;
}
.join {
  position: relative; isolation: isolate;
  background: transparent;
  border-top: 1px solid #ffffff12;
}
.join::before { background-position: left center; transform: scaleX(-1); opacity: .2; }
.contact { border-color: #ffffff4a; box-shadow: 0 24px 55px -30px #001a35aa; }
.contact-monogram span { transition: transform .3s ease; }
.contact:hover .contact-monogram span { transform: translate(4px, -4px); }
.button { transition: transform .2s ease, box-shadow .2s ease; }
.button:hover { box-shadow: 0 12px 22px -12px #002f6270; }
.button span, .header-cta span { transition: transform .2s ease; }
.button:hover span, .header-cta:hover span { transform: translate(3px, -3px); }

/* One entrance sequence, a moving route, and a compass that responds to the pointer. */
@keyframes intro-enter { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: translateY(0); } }
@keyframes orbit-turn { to { transform: rotate(360deg); } }
@keyframes ticker-travel { to { transform: translateX(-50%); } }
@keyframes topic-enter { from { opacity: 0; transform: translateX(-18px); } to { opacity: 1; transform: translateX(0); } }
.hero-copy > * { animation: intro-enter .7s cubic-bezier(.2,.7,.25,1) both; }
.hero-copy > :nth-child(2) { animation-delay: .09s; }
.hero-copy > :nth-child(3) { animation-delay: .17s; }
.hero-copy > :nth-child(4) { animation-delay: .25s; }
.hero-copy > :nth-child(5) { animation-delay: .33s; }
.hero-copy > :nth-child(6) { animation-delay: .4s; }
.ticker > .ticker-track { display: flex; gap: 0; transform: none; animation: ticker-travel 38s linear infinite; }
.ticker-group { display: flex; align-items: center; gap: 60px; padding-right: 60px; }
.topic-list.entered article { animation: topic-enter .65s ease both; }
.topic-list.entered article:nth-child(2) { animation-delay: .1s; }
.topic-list.entered article:nth-child(3) { animation-delay: .2s; }
.topic-list.entered article:nth-child(4) { animation-delay: .3s; }
.motion-toggle {
  display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0;
  width: 42px; height: 42px; border: 1px solid #dae74c80; border-radius: 50%;
  background: #002f6280; color: var(--lime); cursor: pointer;
}
.motion-toggle svg { width: 18px; height: 18px; fill: currentColor; }
.motion-toggle:hover { background: #ffffff0c; }
.motion-toggle .play-icon { display: none; }
[data-motion='paused'] .motion-toggle .pause-icon { display: none; }
[data-motion='paused'] .motion-toggle .play-icon { display: block; }
[data-motion='paused'] .ticker-track,
[data-motion='paused'] .orbit-one::before { animation-play-state: paused !important; }

/* The PDF alternates a navy presentation field with white explanatory pages. */
.light-section {
  --muted: #526775;
  --line: #002f6226;
  position: relative; isolation: isolate;
  color: var(--navy); background: #fff;
}
.light-section::before {
  content: ''; position: absolute; z-index: -1; pointer-events: none;
  width: min(440px, 80%); aspect-ratio: 1; right: 0; bottom: 0;
  background: radial-gradient(circle at 80% 80%, #dae74c16 0 42%, transparent 42.3% 54%, #dae74c0b 54.3% 64%, transparent 64.3%);
}
.light-section .section-label { color: var(--navy); }
.light-section .lead, .light-section .about-grid .lead { color: var(--navy); }
.light-section h2 em {
  color: var(--navy);
  background: linear-gradient(transparent 76%, var(--lime) 76% 95%, transparent 95%);
}
.light-section .text-link { color: var(--navy); border-bottom-color: var(--navy); }
.light-section .partner-types span { background: #fff; border-color: #002f6230; }
.light-section a:focus-visible { outline-color: var(--navy); }
.light-section .facts p { color: var(--muted); }
.light-section .audience-items article { border-top-color: var(--line); }

@media (max-width: 1100px) {
  .header nav { gap: 18px; font-size: 14px; }
  .hero-art { min-height: 610px; }
  .art-bottom > span:first-child { max-width: 240px; }
  .directions { grid-template-columns: repeat(2, 1fr); }
  .directions article { padding: 24px 24px 30px 0; }
  .directions article + article { border-left: 0; padding-left: 0; }
  .directions article:nth-child(even) { border-left: 1px solid #ffffff20; padding-left: 24px; }
}
@media (max-width: 960px) {
  .header { height: 64px; display: flex; gap: 18px; }
  .header .brand img { height: 26px; }
  .header nav { display: none; }
  .header-cta { margin-left: auto; min-height: 44px; }
  .menu-toggle { display: flex; flex-direction: column; justify-content: center; gap: 6px; background: none; border: 0; padding: 10px; width: 42px; height: 42px; flex-shrink: 0; }
  .menu-toggle span { height: 1px; background: var(--navy); width: 20px; }
  .mobile-nav { padding: 14px 32px 28px; display: flex; flex-direction: column; gap: 18px; border-bottom: 1px solid var(--line); font-size: 17px; }
  .hero { grid-template-columns: 1fr 1fr; }
  .hero-art { padding: 22px; }
  .compass { width: 360px; height: 360px; }
  .art-top { font-size: 12px; }
  .art-bottom { flex-wrap: wrap; }
  .art-label { font-size: 12px; padding: 6px 10px; }
  .label-one { left: 22px; top: 105px; }
  .label-three { right: 20px; top: 62px; }
  .label-two { right: 20px; bottom: 80px; }
  .topic-list article { grid-template-columns: 30px 1.1fr 1fr 25px; gap: 18px; }
  .join-grid { gap: 32px; grid-template-columns: 1.2fr 1fr; }
}
@media (max-width: 760px) {
  :root { --text: 16px; }
  .hero { grid-template-columns: 1fr; }
  .eyebrow { font-size: 13px; letter-spacing: .02em; }
  .hero-meta { gap: 32px; }
  .hero-art { min-height: 480px; }
  .hero-art .art-bottom { font-size: 13px; flex-wrap: nowrap; }
  .art-top, .art-label { font-size: 13px; }
  .compass { width: 370px; height: 370px; top: 48%; }
  .compass-n, .compass-e, .compass-s, .compass-w { font-size: 13px; }
  .about-grid .lead, .lead { font-size: 21px; }
  .section-label { font-size: 13px; letter-spacing: .025em; }
  .section-label > span { max-width: 100%; }
  .facts { grid-template-columns: 1fr; }
  .facts > div { padding-bottom: 22px; border-bottom: 1px solid var(--line); }
  .facts > div:last-child { grid-column: auto; padding-bottom: 0; border-bottom: 0; }
  .topic-list article { grid-template-columns: 25px 1fr 25px; gap: 14px; }
  .topic-list p { grid-column: 2; grid-row: 2; }
  .directions article { padding-right: 18px; }
  .directions article:nth-child(even) { padding-left: 18px; }
  .directions h3 { font-size: 23px; }
  .organizer { gap: 16px; }
  .join-grid { grid-template-columns: 1fr; }
  .contact { max-width: none; }
  .button { font-size: 15px; gap: 22px; }
  .header-cta { font-size: 14px; }
  .footer-logo span { max-width: 220px; }
  .legal { font-size: 13px; gap: 8px; }
  .ticker-group { gap: 32px; padding-right: 32px; }
}
@media (max-width: 420px) {
  .header { gap: 8px; }
  .brand { padding: 0; }
  .header .brand img { width: auto; height: 26px; }
  .header-cta { padding: 9px 12px; gap: 8px; font-size: 14px; }
  .menu-toggle { width: 32px; padding: 6px; }
  .directions { grid-template-columns: 1fr; }
  .directions article:nth-child(even) { padding-left: 0; border-left: 0; }
  .directions h3 { font-size: 25px; }
  .directions p { max-width: 34ch; }
  .hero-art { min-height: 450px; padding: 18px; }
  .art-top { font-size: 12px; gap: 8px; letter-spacing: .02em; }
  .hero-art .art-bottom { font-size: 12px; letter-spacing: .01em; gap: 6px; }
  .compass { width: 330px; height: 330px; }
  .art-label { font-size: 13px; padding: 6px 9px; }
  .label-one { left: 25px; top: 96px; }
  .label-three { right: 24px; top: 63px; }
  .label-two { right: 23px; bottom: 65px; }
  .motion-toggle { width: 36px; height: 36px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
@media (max-width: 360px) {
  .header { gap: 6px; }
  .header .brand img { width: auto; height: 26px; }
  .header-cta { padding: 9px 10px; gap: 6px; font-size: 13px; }
  .menu-toggle { width: 28px; padding: 4px; }
}

/* Give the opening screen more room while keeping the copy within reach. */
@media (min-width: 961px) {
  .hero {
    padding-block: 44px 64px;
    align-items: center;
  }
  .hero-copy { padding-top: 0; }
  .hero-art { min-height: 620px; }
}
@media (max-width: 960px) {
  .hero { padding-top: 32px; padding-bottom: 48px; }
}
