/* A small, progressively enhanced event page. No external fonts or images. */
:root {
  color-scheme: light;
  --paper: #faf9f5;
  --white: #fffefa;
  --ink: #23372e;
  --muted: #5c675f;
  --green: #214c3c;
  --orange: #a94821;
  --line: #d7dcd3;
  --soft: #edf1e8;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --display: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --mono: ui-monospace, "SFMono-Regular", Consolas, "Liberation Mono", monospace;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 6rem; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 1rem/1.65 var(--font); }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
h1, h2, h3 { line-height: 1.2; font-weight: 600; letter-spacing: -.035em; text-wrap: balance; }
h2 { font-size: clamp(1.5rem, 2.5vw, 1.9rem); }
h3 { font-size: 1.06rem; letter-spacing: -.015em; }
img, svg { display: block; max-width: 100%; }
a { color: var(--green); text-underline-offset: .23em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
a, summary { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 5px; border-radius: 2px; }
[id] { scroll-margin-top: 6rem; }
.wrap { width: min(1040px, calc(100% - 4rem)); margin-inline: auto; }
.skip { position: fixed; left: 1rem; top: -6rem; z-index: 100; padding: .7rem 1rem; background: var(--green); color: white; }
.skip:focus { top: 1rem; }
.skip:focus-visible { outline-color: #f1aa76; }
/* Local dark surfaces retain the same spacing and reading order. */
.site-header, .hero, .site-footer {
  color-scheme: dark;
  --paper: #102a20;
  --ink: #f4efdf;
  --muted: #c0cec0;
  --green: #c5d7b7;
  --orange: #f1aa76;
  --line: #3a5345;
  --soft: #183829;
  background: var(--paper);
  color: var(--ink);
}
.site-header { position: sticky; top: 0; z-index: 20; background: var(--paper); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; gap: 2rem; min-height: 80px; }
.brand { display: flex; align-items: center; gap: .85rem; text-decoration: none; font-size: .9rem; font-weight: 600; white-space: nowrap; }
.brand img { width: 40px; height: 40px; padding: 3px; background: #faf9f5; border-radius: 3px; }
.brand-year { font-weight: 400; }
.desktop-nav { display: flex; align-items: center; gap: 1.65rem; margin-left: auto; }
.desktop-nav a, .header-link { display: inline-flex; align-items: center; min-height: 44px; font-size: .84rem; text-decoration: none; }
.desktop-nav a:hover, .header-link:hover { text-decoration: underline; }
.header-link { gap: .7rem; margin-left: .5rem; color: var(--orange); }
.mobile-menu { display: none; }
.hero { padding-top: clamp(3rem, 6vw, 5rem); }
.hero-main { display: grid; grid-template-columns: minmax(0, 1fr) 265px; gap: clamp(3rem, 8vw, 7rem); align-items: center; padding-bottom: 3.5rem; }
.eyebrow { font-family: var(--mono); font-size: .7rem; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.hero .eyebrow { display: flex; align-items: center; gap: .75rem; margin-bottom: 1.25rem; color: var(--green); }
.shamrock-mark { flex: 0 0 auto; width: 40px; height: 40px; color: var(--green); }
.section-divider { display: flex; align-items: center; gap: .75rem; width: 9rem; margin-top: 1.25rem; }
.section-divider::before, .section-divider::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.section-divider .shamrock-mark { width: 22px; height: 22px; }
h1 { color: var(--ink); font-family: var(--display); font-size: clamp(2.5rem, 5.4vw, 4.25rem); font-weight: 500; line-height: 1.06; letter-spacing: -.035em; }
.hero-description { max-width: 38ch; font-size: 1.05rem; line-height: 1.6; margin-top: 1.3rem; color: var(--muted); }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .65rem 1.5rem; margin-top: 1.65rem; }
.button { display: inline-flex; justify-content: center; align-items: center; gap: 1.4rem; min-height: 46px; padding: .65rem 1.1rem; border: 1px solid transparent; border-radius: 5px; font-size: .86rem; font-weight: 500; text-decoration: none; }
.button-primary { background: var(--green); color: #fff; }
.button-primary:hover { background: #173c2d; text-decoration: none; }
.hero .button-primary { background: var(--orange); color: #102a20; }
.hero .button-primary:hover { background: #ffbe8f; }
.text-link { display: inline-flex; align-items: center; gap: .6rem; min-height: 44px; font-size: .86rem; font-weight: 500; }
.event-poster {
  color-scheme: light;
  --paper: #f4efdf;
  --ink: #23372e;
  --muted: #526055;
  --orange: #9a4323;
  --line: #b7bcac;
  padding: 1.25rem;
  background: var(--paper);
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 6px;
}
.poster-heading { display: flex; justify-content: space-between; gap: 1rem; color: var(--muted); font-family: var(--mono); font-size: .7rem; letter-spacing: .06em; text-transform: uppercase; }
.poster-date { margin-top: .3rem; font-size: 1.6rem; letter-spacing: -.03em; }
.poster-date span { font: 500 3.25rem/1 var(--display); margin-right: .55rem; }
.poster-time { margin-top: .1rem; font-size: .88rem; color: var(--muted); }
.poster-bottom { border-top: 1px solid var(--line); margin-top: 1.25rem; padding-top: 1.25rem; }
.poster-city { font-size: 1.1rem; font-weight: 500; }
.poster-city span { display: block; font-size: .8rem; line-height: 1.4; font-weight: 400; margin-top: .15rem; color: var(--muted); }
.poster-venue { font-size: .82rem; margin-top: .65rem; color: var(--ink); line-height: 1.45; }
.poster-room { font-size: .75rem; margin-top: .3rem; color: var(--muted); line-height: 1.45; }
.hero-facts { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .6rem 1.5rem; border-block: 1px solid var(--line); padding-block: 1rem; font-size: .78rem; color: var(--muted); background: var(--paper); }
.hero-facts p { display: flex; align-items: center; gap: .5rem; }
.hero-facts p::before { content: ""; width: 4px; height: 4px; background: var(--green); border-radius: 50%; }
.section { padding-block: 3.75rem; }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 1.5rem; margin-bottom: 1.75rem; }
.challenge-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.challenge-card { padding: 1.4rem; border: 1px solid var(--line); border-radius: 6px; background: var(--white); }
.challenge-top { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 1.1rem; }
.challenge-number { display: grid; place-items: center; width: 30px; height: 30px; border: 1px solid #d6b99e; border-radius: 50%; font-family: var(--mono); font-size: .75rem; color: var(--orange); font-variant-numeric: tabular-nums; }
.status-label { font-size: .7rem; color: var(--muted); }
.challenge-card > p { font-size: .86rem; color: var(--muted); margin-top: .5rem; }
.challenge-card .challenge-bottom { display: flex; justify-content: space-between; gap: 1rem; border-top: 1px solid var(--line); padding-top: 1rem; margin-top: 1.3rem; font-size: .72rem; }
.example-list { padding-left: 1.3rem; font-size: .9rem; margin-top: .8rem; }
.schedule-section { background: var(--soft); border-block: 1px solid var(--line); padding-block: 3.25rem; }
.schedule-layout { display: grid; grid-template-columns: 1fr 1.7fr; gap: 3.5rem; }
.schedule-heading > p:not(.eyebrow) { margin-block: 1rem .4rem; font-size: .87rem; color: var(--muted); }
.timeline { padding: 0; list-style: none; }
.timeline li { display: grid; grid-template-columns: 108px 1fr; gap: 1.1rem; border-bottom: 1px solid var(--line); padding: 1rem 0; }
.timeline li:first-child { padding-top: 0; }
.timeline li:last-child { border-bottom: 0; padding-bottom: 0; }
.timeline time { font-family: var(--mono); font-size: .78rem; padding-top: .08rem; font-variant-numeric: tabular-nums; color: var(--muted); white-space: nowrap; }
.timeline h3 { font-size: .96rem; font-weight: 500; letter-spacing: 0; }
.timeline p { font-size: .81rem; color: var(--muted); margin-top: .25rem; }
.build-slot h3 { color: var(--orange); font-weight: 600; }
.rules-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; }
.rules-column h3 { margin-bottom: 1rem; }
.rule-list { list-style: none; padding: 0; }
.rule-list li { position: relative; padding-left: 1.2rem; }
.rule-list li::before { content: "–"; position: absolute; left: 0; color: var(--orange); }
.entry-list { padding-left: 1.3rem; }
.rule-list li, .entry-list li { margin-bottom: .65rem; font-size: .88rem; color: var(--muted); }
.entry-list li::marker { color: var(--orange); font-size: .8rem; }
.faq-layout { display: grid; grid-template-columns: 1fr 1.7fr; gap: 3.5rem; border-top: 1px solid var(--line); padding-top: 2.5rem; margin-top: 2.5rem; }
.faq-heading { font-size: 1.3rem; margin-top: .5rem; }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list details:first-child { border-top: 1px solid var(--line); }
.faq-list summary { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; list-style: none; cursor: pointer; min-height: 54px; padding-block: .75rem; font-size: .87rem; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-symbol::before { content: "+"; color: var(--green); font-size: 1.2rem; }
details[open] .faq-symbol::before { content: "−"; }
.faq-list details > p { font-size: .86rem; color: var(--muted); padding: 0 2rem 1.1rem 0; }
.community { border-top: 1px solid var(--line); }
.community-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; padding-block: 2.75rem; }
.community-block h2 { font-size: 1.3rem; margin: .5rem 0 .8rem; }
.community-block > p:not(.eyebrow), .small-note { font-size: .85rem; color: var(--muted); }
.small-note { display: block; margin-top: .65rem; font-size: .75rem; }
.project-grid, .sponsor-list { list-style: none; padding: 0; display: grid; gap: 1.5rem; }
.project-card img { height: auto; border-radius: 4px; margin-bottom: .75rem; }
.project-card p { font-size: .86rem; margin-top: .5rem; }
.project-links { display: flex; gap: 1rem; font-size: .86rem; margin-top: .75rem; }
.sponsor-list { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .75rem; margin-top: 1.2rem; }
.sponsor-list li { display: grid; }
.sponsor-logo, .sponsor-placeholder { display: grid; place-items: center; align-content: center; gap: .25rem; padding: 1rem .5rem; min-height: 90px; background: var(--white); border: 1px solid var(--line); border-radius: 6px; text-align: center; }
.sponsor-placeholder { padding-inline: .25rem; border-style: dashed; color: var(--muted); font-size: .75rem; }
.sponsor-placeholder span + span { font-size: .68rem; }
.sponsor-list img { width: 100%; max-width: 180px; height: 55px; object-fit: contain; }
.sponsor-cta { margin-top: .75rem; }
.site-footer { border-top: 1px solid var(--line); background: var(--paper); padding-top: 2rem; }
.footer-main { display: flex; justify-content: space-between; gap: 2rem; align-items: start; }
.footer-title { font-size: .96rem; font-weight: 500; }
.footer-title .shamrock-mark { margin-bottom: .7rem; }
.footer-title span { display: block; color: var(--muted); font-size: .75rem; margin-top: .25rem; font-weight: 400; }
.footer-main nav { display: flex; flex-wrap: wrap; gap: .35rem 1.2rem; max-width: 320px; font-size: .78rem; }
.footer-main nav > span { flex-basis: 100%; color: var(--muted); font-size: .73rem; }
.footer-main nav a, .footer-top, .footer-bottom a { min-height: 32px; display: inline-flex; gap: .45rem; align-items: center; }
.footer-top { font-size: .8rem; }
.footer-bottom { display: flex; justify-content: space-between; gap: 1rem; align-items: center; border-top: 1px solid var(--line); padding-block: 1rem; margin-top: 1.75rem; font-size: .7rem; color: var(--muted); }
@media (max-width: 800px) {
  .desktop-nav { gap: 1rem; }
  .header-link { display: none; }
  .hero-main { gap: 2.5rem; grid-template-columns: minmax(0, 1fr) 230px; }
  .schedule-layout, .faq-layout { gap: 2rem; }
  .rules-grid { gap: 2rem; }
}
@media (max-width: 620px) {
  html { scroll-padding-top: 5rem; }
  .wrap { width: calc(100% - 2.5rem); }
  .header-inner { min-height: 68px; justify-content: space-between; }
  .brand img { width: 36px; height: 36px; }
  .desktop-nav { display: none; }
  .mobile-menu { display: block; }
  .mobile-menu summary { display: flex; align-items: center; gap: .9rem; min-height: 44px; list-style: none; cursor: pointer; font-size: .87rem; }
  .mobile-menu summary::-webkit-details-marker { display: none; }
  .mobile-menu nav { position: absolute; top: 100%; left: 0; right: 0; padding: .65rem 1.25rem; background: var(--paper); border-bottom: 1px solid var(--line); box-shadow: 0 8px 16px #23372e0d; }
  .mobile-menu nav a { display: block; min-height: 44px; padding: .6rem .5rem; font-size: .9rem; }
  .hero { padding-top: 2.5rem; }
  .hero-main { grid-template-columns: 1fr; gap: 2rem; padding-bottom: 2rem; }
  h1 { font-size: clamp(2.25rem, 9.5vw, 3.3rem); }
  .hero-description { font-size: 1rem; }
  .event-poster { padding: 1rem; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: start; gap: 0 1rem; }
  .poster-heading { justify-content: start; gap: .5rem; }
  .poster-date { font-size: 1.05rem; }
  .poster-date span { font-size: 2rem; }
  .poster-time { font-size: .78rem; }
  .poster-bottom { border: 0; border-left: 1px solid var(--line); padding: 0 0 0 1rem; margin: 0; }
  .poster-city span { display: block; margin: 0; font-size: .8rem; }
  .poster-venue { margin-top: .5rem; }
  .hero-facts { display: grid; grid-template-columns: 1fr 1fr; font-size: .71rem; gap: .5rem; }
  .section { padding-block: 2.5rem; }
  .section-heading { display: block; margin-bottom: 1.4rem; }
  .challenge-grid, .rules-grid, .schedule-layout, .faq-layout, .community-grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .challenge-card { padding: 1.2rem; }
  .schedule-section { padding-block: 2.5rem; }
  .timeline li { grid-template-columns: 95px 1fr; gap: .75rem; }
  .timeline li:first-child { border-top: 1px solid var(--line); padding-top: 1rem; }
  .faq-layout { margin-top: 2rem; padding-top: 2rem; }
  .community-grid { padding-block: 2.25rem; gap: 2rem; }
  .community-block + .community-block { border-top: 1px solid var(--line); padding-top: 1.75rem; }
  .sponsor-list { grid-template-columns: 1fr; }
  .footer-main { flex-wrap: wrap; gap: 1.5rem; }
  .footer-main nav { max-width: 230px; }
  .footer-top { margin-top: -.5rem; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
@media (forced-colors: active) {
  .button { border-color: ButtonText; }
  .event-poster { border: 1px solid CanvasText; }
  .shamrock-mark, .section-divider { display: none; }
}
@media print {
  html { scroll-behavior: auto; }
  body { background: white; color: black; font-size: 11pt; }
  .site-header { position: static; }
  .site-header, .hero, .site-footer { color-scheme: light; --paper: #fff; --ink: #000; --muted: #333; --green: #000; --orange: #000; --line: #999; background: #fff; color: #000; }
  .event-poster { --paper: #fff; --ink: #000; --muted: #333; --orange: #000; --line: #999; border: 1px solid #999; }
  .desktop-nav, .mobile-menu, .hero-actions, .header-link, .footer-top, .skip { display: none; }
  .wrap { width: 100%; }
  .hero, .section, .schedule-section { padding-block: 1rem; }
  .hero-main { padding-bottom: 1rem; }
  .schedule-section, .site-footer { background: white; }
  .challenge-card, .timeline li { break-inside: avoid; }
}
