@font-face {
  font-family: Raleway;
  src: url('../fonts/raleway-variable.ttf') format('truetype');
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

* { box-sizing: border-box; }
html { scroll-padding-top: 112px; }
body {
  margin: 0;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  background: var(--bg-page);
  color: var(--text-primary);
  font-family: Raleway, Arial, sans-serif;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.65;
}
body > main { flex: 1 0 auto; }
.site-header, .site-footer { flex-shrink: 0; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--action-hover); }
a:focus-visible, summary:focus-visible { outline: 3px solid var(--focus-ring); outline-offset: 4px; }
::selection { background: var(--action-soft); color: var(--text-primary); }
.container { width: min(1120px, calc(100% - 96px)); margin-inline: auto; }
.skip-link { position: fixed; top: -100px; left: 20px; padding: 10px 16px; background: var(--bg-inverse); color: var(--text-inverse); z-index: 100; }
.skip-link:focus { top: 12px; outline-color: var(--text-inverse); }
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--bg-header);
  color: var(--text-primary);
  border-bottom: 1px solid var(--border-header);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; min-height: 84px; }
.site-header .brand { color: var(--brand-blue); }
.site-header .brand b { color: var(--brand-green); }
.site-header a:hover, .site-header summary:hover { color: var(--action-hover); }
.site-header a:focus-visible, .site-header summary:focus-visible { outline-color: var(--action); }
.site-header .nav-link[aria-current="page"], .site-header summary.current { color: var(--action); text-decoration: underline; text-underline-offset: 6px; }
.site-header .nav-dropdown a { color: var(--text-primary); }
.site-header .nav-dropdown a:hover, .site-header .nav-dropdown a[aria-current="page"] { color: var(--action); background: var(--action-soft); }
.site-header .nav-dropdown a:focus-visible { outline-color: var(--action); }

.brand { display: inline-flex; align-items: center; gap: 12px; flex-shrink: 0; color: var(--action); line-height: 1; white-space: nowrap; }
.brand-mark { display: block; width: 64px; height: 48px; }
.brand-wordmark { display: block; }
.brand-name { display: block; font-size: 26px; font-weight: 750; letter-spacing: -1px; }
.brand b { color: var(--brand-green); font-weight: 600; }
.brand small { display: block; margin-top: 7px; font-size: 10px; font-weight: 600; letter-spacing: 1.5px; line-height: 1.3; text-transform: uppercase; }
.brand-image { display: block; width: 175px; height: 60px; object-fit: contain; }
.header-inner nav { display: flex; gap: 32px; align-items: center; font-size: 14px; font-weight: 600; }
.nav-group { position: relative; }
.nav-group summary { display: flex; align-items: center; gap: 9px; list-style: none; cursor: pointer; padding: 14px 0; }
.nav-group summary::-webkit-details-marker { display: none; }
.chevron { width: 5px; height: 5px; border-right: 1px solid; border-bottom: 1px solid; transform: rotate(45deg); margin-top: -3px; }
.nav-group[open] .chevron { transform: rotate(225deg); margin-top: 3px; }
.nav-dropdown { position: absolute; top: 100%; left: -16px; z-index: 10; width: 230px; padding: 9px; background: var(--bg-surface); border: 1px solid var(--border-subtle); box-shadow: 0 6px 18px rgb(41 56 61 / 9%); max-height: calc(100dvh - 110px); overflow-y: auto; }
.nav-dropdown a { display: block; padding: 9px 10px; }
.nav-dropdown a:hover { background: var(--action-soft); }
[aria-current="page"], summary.current { color: var(--action); }
.hero { display: grid; grid-template-columns: 1.2fr 1fr; align-items: center; gap: 64px; padding-block: 64px 44px; }
h1 { font-size: clamp(40px, 4.4vw, 62px); font-weight: 600; letter-spacing: -2px; line-height: 1.1; margin: 0; }
.event-dates { color: var(--text-primary); font-size: 17px; font-weight: 600; line-height: 1.5; font-variant-numeric: lining-nums tabular-nums; margin: 28px 0 18px; }
.text-link { display: inline-flex; gap: 23px; align-items: center; color: var(--action); font-size: 14px; }
.text-link:hover { color: var(--action-hover); }
.text-link span { font-size: 20px; }
.hero-goats { display: block; width: 90%; height: auto; justify-self: end; }
.home-explore { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 48px; padding-block: 0 56px; }
.explore-group { --group-accent: var(--brand-blue); border-top: 2px solid var(--group-accent); padding-top: 20px; }
.explore-group:nth-child(2) { --group-accent: var(--brand-green); }
.explore-group:nth-child(3) { --group-accent: var(--text-primary); }
.explore-group h2 { font-size: 19px; font-weight: 600; letter-spacing: -.2px; line-height: 1.3; margin: 0 0 14px; }
.explore-group ul { list-style: none; padding: 0; margin: 0; }
.explore-group a { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; min-height: 44px; padding-block: 10px; border-bottom: 1px solid var(--border-subtle); font-size: 14px; }
.explore-group a span { flex-shrink: 0; color: var(--group-accent); }
.explore-group a.featured { color: var(--action); font-weight: 700; }
.explore-group a:hover { color: var(--action-hover); text-decoration: underline; text-underline-offset: 4px; }
.home-note { margin-bottom: 36px; }
.site-footer { display: flex; align-items: center; justify-content: space-between; gap: 25px; padding-block: 33px; border-top: 1px solid var(--border-subtle); font-size: 12px; color: var(--text-secondary); }
.site-footer > span { color: var(--action); }
.site-footer .footer-city { color: var(--text-secondary); }
.page-heading { padding-block: 48px 28px; border-bottom: 1px solid var(--border-subtle); }
.eyebrow { font-size: 11px; letter-spacing: 1.4px; font-weight: 650; color: var(--brand-green); }
.page-heading .eyebrow { margin: 0 0 16px; }
.page-heading h1 { font-size: clamp(36px, 4.2vw, 54px); letter-spacing: -1.5px; text-wrap: balance; }
.page-description { font-size: 18px; color: var(--text-secondary); margin: 18px 0 0; }
.reading-column { max-width: 780px; }
.page-content { padding-block: 32px 64px; }
.prose { line-height: 1.75; overflow-wrap: break-word; }
.prose p { margin: 0 0 18px; }
.prose h2 { font-size: 25px; line-height: 1.3; font-weight: 650; letter-spacing: -.5px; margin: 36px 0 14px; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 20px; line-height: 1.4; font-weight: 650; margin: 28px 0 12px; }
.prose strong { font-weight: 700; }
.prose ul, .prose ol { padding-left: 24px; margin: 0 0 24px; }
.prose li::marker { color: var(--brand-green); }
.prose a { color: var(--action); text-decoration: underline; text-underline-offset: 4px; }
.prose a:hover { color: var(--action-hover); }
.organizers { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; margin-top: 28px; }
.organizer { display: flex; flex-direction: column; gap: 18px; font-weight: 600; line-height: 1.5; }
.organizer-logo { display: flex; align-items: center; justify-content: center; height: 160px; padding: 24px; }
.organizer-logo img { display: block; max-width: 100%; height: auto; }
.organizer-logo-put, .organizer-logo-fri { background: #fff; }
.organizer-fri-mark { display: block; width: 172px; max-width: 100%; aspect-ratio: 345 / 173; background: var(--brand-blue); -webkit-mask: var(--organizer-logo) center / contain no-repeat; mask: var(--organizer-logo) center / contain no-repeat; }
@media (max-width: 600px) {
  .organizers { grid-template-columns: 1fr; gap: 36px; }
}
.prose li { margin-bottom: 8px; }
.prose > :last-child { margin-bottom: 0; }
.prose table { width: 100%; border-collapse: collapse; margin-bottom: 24px; text-align: left; }
.prose th, .prose td { padding: 14px 16px; border-bottom: 1px solid var(--border-subtle); }
.prose th { font-weight: 600; }
.prose th:first-child, .prose td:first-child { padding-left: 0; }
.prose th:last-child, .prose td:last-child { padding-right: 0; }
.prose img { max-width: 100%; height: auto; }
.notice { border-left: 2px solid var(--action); padding-left: 18px; margin-bottom: 30px; color: var(--text-secondary); font-size: 14px; }
.notice p { margin: 0; }
.error-page { padding-block: 100px; }
.error-page .text-link { margin-top: 30px; }
@media (max-width: 1000px) {
  .container { width: calc(100% - 64px); }
  .hero { gap: 40px; padding-block: 52px 40px; }
  .home-explore { gap: 28px; }
  .header-inner nav { gap: 24px; }
}
@media (max-width: 700px) {
  html { scroll-padding-top: 160px; }
  .container { width: calc(100% - 40px); }
  .header-inner { flex-wrap: wrap; gap: 14px; padding-block: 20px 8px; min-height: 0; }
  .brand-name { font-size: 24px; }
  .brand-mark { width: 54px; height: 40px; }
  .header-inner nav { position: relative; width: 100%; justify-content: space-between; gap: 10px; font-size: 12px; }
  .nav-group { position: static; }
  .nav-dropdown { left: 0; right: 0; width: 100%; max-height: calc(100dvh - 160px); }
  .nav-dropdown a { min-height: 44px; }
  .hero { grid-template-columns: 1fr; gap: 32px; padding-block: 36px; }
  .home-explore { grid-template-columns: 1fr; gap: 32px; padding-bottom: 40px; }
  h1 { font-size: clamp(30px, 8vw, 48px); letter-spacing: -1.2px; }
  .event-dates { font-size: 16px; margin-top: 24px; }
  .hero-goats { width: min(90%, 306px); margin: 0 auto; justify-self: center; }
  .site-footer { font-size: 11px; padding-block: 26px; }
  .page-heading { padding-block: 32px 24px; }
  .page-heading h1 { font-size: clamp(32px, 8vw, 42px); letter-spacing: -1px; }
  .page-description { font-size: 16px; }
  .page-content { padding-block: 24px 44px; }
  .prose h2 { font-size: 23px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
