/* ═══════════════════════════════════════════════
   SOLAR — home page
   Follows the approved Duda layout (centred hero, hexagon fee/hotel
   badges, executive summary + directors (moved up per Camille 2026-10-23),
   committees,
   LinkedIn, 2027 updates + contact) with usability fixes.
   ═══════════════════════════════════════════════ */

.section-tight { padding: clamp(40px, 5vw, 72px) 0; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.nowrap { white-space: nowrap; }
.center { text-align: center; }

.h3-teal {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: clamp(22px, 2.4vw, 28px);
  color: var(--teal);
  margin-bottom: 22px;
}

.btn-ghost-orange {
  border: 2px solid var(--orange);
  color: var(--orange);
  background: transparent;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 15px;
  text-transform: uppercase;
  letter-spacing: .04em;
  padding: 14px 30px;
}
.btn-ghost-orange:hover { background: var(--orange); color: var(--white); }
.btn-wide { min-width: min(100%, 300px); font-size: 16px; padding: 15px 30px; text-transform: uppercase; letter-spacing: .03em; }

/* ═══════════ HERO ═══════════ */
.hero { padding: clamp(28px, 4vw, 48px) 0 clamp(24px, 3vw, 40px); overflow: hidden; }
.hero-inner { display: flex; flex-direction: column; align-items: center; text-align: center; }
.hero-sun {
  position: relative;
  display: grid;
  place-items: center;
  width: min(300px, 72vw);
  aspect-ratio: 1484 / 1356;
  margin-bottom: clamp(20px, 3vw, 36px);
}
.sunburst {
  position: absolute;
  inset: -16%;
  border-radius: 50%;
  background: repeating-conic-gradient(from 0deg, rgba(246,147,32,.16) 0deg 6deg, transparent 6deg 15deg);
  animation: sunspin 90s linear infinite;
  -webkit-mask-image: radial-gradient(circle, transparent 34%, #000 35%, #000 66%, transparent 67%);
          mask-image: radial-gradient(circle, transparent 34%, #000 35%, #000 66%, transparent 67%);
}
@keyframes sunspin { to { transform: rotate(360deg); } }
.hero-sun img { position: relative; width: 100%; z-index: 1; }

.hero-title {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.2;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.hero-title .bar { color: var(--orange); }
@media (max-width: 600px) {
  .hero-title .bar { display: none; }
  .hero-title .nowrap { display: block; color: var(--orange); }
}
.hero-hash { margin-top: 14px; font-weight: 700; font-size: 18px; }
.hero-hash a:hover { color: var(--orange); }
.hero-venue { margin: 16px 0 28px; font-weight: 600; font-size: clamp(16px, 1.6vw, 19px); line-height: 1.45; }

/* ═══════════ SPONSOR TICKER ═══════════ */
/* White band under the hero, like MASH-TAG's. Rendered by bin/build.mjs only when
   data/<year>/sponsors.json has "ticker": true. Two copies of the list scroll as one loop. */
.sponsor-band {
  display: flex;
  overflow: hidden;
  background: var(--white);
  border-block: 1px solid var(--line);
  padding: 22px 0;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.sponsor-track {
  list-style: none;
  display: flex;
  align-items: center;
  gap: clamp(40px, 5vw, 72px);
  padding-right: clamp(40px, 5vw, 72px);
  flex-shrink: 0;
  animation: sponsor-scroll 54s linear infinite;
}
.sponsor-track img { height: 40px; width: auto; max-width: 170px; object-fit: contain; }
.sponsor-band:hover .sponsor-track { animation-play-state: paused; }
@keyframes sponsor-scroll { to { transform: translateX(-100%); } }
@media (prefers-reduced-motion: reduce) {
  .sponsor-band { flex-wrap: wrap; justify-content: center; -webkit-mask-image: none; mask-image: none; }
  .sponsor-track { animation: none; flex-wrap: wrap; justify-content: center; padding: 0 var(--gutter); }
  .sponsor-track[aria-hidden="true"] { display: none; }
}
@media (max-width: 600px) { .sponsor-track img { height: 30px; } }

/* ═══════════ HEXAGONS ═══════════ */
.hex-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 420px));
  justify-content: space-around;
  gap: clamp(40px, 6vw, 80px);
}
.hex-col { display: flex; flex-direction: column; align-items: center; gap: 28px; }
.hex {
  width: 100%;
  min-height: 430px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--white);
  padding: 96px 34px;
  /* pointy-top hexagon, matching the original badges */
  clip-path: polygon(50% 0, 100% 22%, 100% 78%, 50% 100%, 0 78%, 0 22%);
}
.hex-navy { background: var(--navy); }
.hex-orange { background: var(--orange); }
.hex-title {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: clamp(21px, 2.2vw, 25px);
  line-height: 1.15;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.fee-table { border-collapse: collapse; width: 100%; max-width: 320px; font-size: 15px; }
.fee-table th, .fee-table td { padding: 6px 4px; border-bottom: 1px solid rgba(255,255,255,.16); }
.fee-table tbody tr:last-child th, .fee-table tbody tr:last-child td { border-bottom: 0; }
.fee-table thead th { font-size: 11.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--orange-lt); font-weight: 700; }
.fee-table tbody th { text-align: left; font-weight: 500; }
.fee-table td { text-align: right; font-weight: 700; font-variant-numeric: tabular-nums; }
.fee-table .free { color: var(--orange-lt); }
.hex-price { font-family: var(--font-body); font-weight: 700; font-size: 52px; line-height: 1; }
.hex-price span { font-size: 17px; font-weight: 600; }
.hex-note { margin-top: 12px; font-size: 16px; line-height: 1.5; }
.hex-venue { margin-top: 14px; font-size: 13px; letter-spacing: .1em; text-transform: uppercase; opacity: .85; }

@media (max-width: 760px) {
  .hex-row { grid-template-columns: minmax(0, 400px); justify-content: center; }
  .hex { min-height: 400px; padding: 88px 28px; }
}

/* ═══════════ EXECUTIVE SUMMARY + DIRECTORS ═══════════ */
.summary-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(40px, 6vw, 88px); align-items: start; }
.summary .h2 { font-size: clamp(30px, 3.6vw, 42px); margin-bottom: 22px; }
.summary p { font-size: 16px; line-height: 1.7; padding: 18px 0; border-bottom: 1px solid var(--line); max-width: 62ch; }
.summary p:last-child { border-bottom: 0; }
.directors .h3-teal { margin-top: 10px; }
.dir-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px 14px; }
.dir { margin: 0; }
.dir img { width: 100%; aspect-ratio: 5 / 6; object-fit: cover; filter: grayscale(1); background: var(--canvas-2); }
.dir figcaption { margin-top: 10px; line-height: 1.3; }
.dir strong { display: block; font-size: 19px; }
.dir span { font-size: 13.5px; color: rgba(29,68,88,.75); }
@media (max-width: 900px) { .summary-grid { grid-template-columns: 1fr; } }

/* ═══════════ COMMITTEES ═══════════ */
.committee { list-style: none; display: grid; border-top: 1px solid var(--line); }
.committee.cols-4 { grid-template-columns: repeat(4, 1fr); }
.committee.cols-3 { grid-template-columns: repeat(3, 1fr); }
.committee li {
  padding: 20px 18px;
  border-bottom: 1px solid var(--line);
  border-right: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 92px;
}
.committee.cols-4 li:nth-child(4n), .committee.cols-3 li:nth-child(3n) { border-right: 0; }
.committee strong { font-size: 17px; line-height: 1.3; }
.committee span { font-size: 14px; color: rgba(29,68,88,.75); margin-top: 4px; line-height: 1.4; }
@media (max-width: 900px) {
  .committee.cols-4, .committee.cols-3 { grid-template-columns: repeat(2, 1fr); }
  .committee li { border-right: 1px solid var(--line) !important; }
  .committee li:nth-child(2n) { border-right: 0 !important; }
}
@media (max-width: 520px) {
  .committee.cols-4, .committee.cols-3 { grid-template-columns: 1fr; }
  .committee li { border-right: 0 !important; min-height: 0; padding: 14px 4px; }
}

/* ═══════════ LINKEDIN ═══════════ */
.connect { text-align: center; }
.connect-head { max-width: 640px; margin: 0 auto 32px; }
.connect-lede { color: rgba(29,68,88,.8); margin-bottom: 22px; }
.connect-lede a { color: var(--orange); font-weight: 700; }
.connect-feed { min-height: 40px; }

/* Course director slot not yet filled (Karla, 2026-11-01): same footprint as a photo */
.dir-tba {
  aspect-ratio: 5 / 6;
  display: grid;
  place-items: center;
  background: var(--canvas-2);
  border: 1.5px dashed rgba(29,68,88,.3);
}
.dir-tba img { width: 58%; height: auto; aspect-ratio: auto; filter: none; opacity: .55; background: none; }
.dir--tba figcaption span { color: var(--orange); font-weight: 600; }
