:root {
  --ink: #15221f;
  --cream: #f5f0e6;
  --paper: #fffdf8;
  --rust: #cf4a2c;
  --rust-dark: #a83520;
  --ocean: #277c86;
  --sun: #f1b83b;
  --line: rgba(21, 34, 31, 0.2);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
.shell { width: min(1180px, calc(100% - 48px)); margin-inline: auto; }
.section { padding-block: 112px; }

.site-header {
  min-height: 82px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  border-bottom: 1px solid var(--line);
}
.brand { display: inline-flex; align-items: center; gap: 11px; width: fit-content; font-weight: 800; letter-spacing: -0.03em; }
.brand-mark { width: 38px; height: 38px; display: grid; place-items: center; background: var(--rust); color: white; border-radius: 50%; font-size: 12px; letter-spacing: .08em; }
.site-header nav { display: flex; gap: 34px; font-size: 14px; font-weight: 700; }
.site-header nav a, .footer-links a { transition: color .2s ease; }
.site-header nav a:hover, .footer-links a:hover { color: var(--rust); }
.header-cta { justify-self: end; border-bottom: 2px solid var(--rust); padding: 8px 0; font-size: 14px; font-weight: 800; }

.hero { min-height: 720px; display: grid; grid-template-columns: 1.08fr .92fr; gap: 70px; align-items: center; padding-block: 72px 92px; overflow: hidden; }
.eyebrow { margin: 0 0 24px; text-transform: uppercase; letter-spacing: .16em; font-size: 12px; font-weight: 900; }
.hero h1 { margin: 0; font-family: Georgia, "Times New Roman", serif; font-size: clamp(76px, 10vw, 142px); line-height: .76; letter-spacing: -.075em; font-weight: 700; }
.hero h1 em { color: var(--rust); font-weight: inherit; }
.hero-lede { max-width: 620px; margin: 44px 0 0; font-size: 18px; line-height: 1.7; }
.hero-actions { display: flex; align-items: center; gap: 28px; margin-top: 34px; flex-wrap: wrap; }
.button { display: inline-flex; align-items: center; gap: 12px; padding: 16px 20px; font-weight: 850; border: 2px solid var(--ink); transition: transform .2s ease, box-shadow .2s ease; }
.button:hover { transform: translate(-3px, -3px); box-shadow: 5px 5px 0 var(--ink); }
.button-primary { background: var(--rust); color: white; }
.text-link { font-weight: 850; border-bottom: 1px solid var(--ink); padding-block: 8px; }

.hero-photo { position: relative; margin: 0; border: 2px solid var(--ink); background: var(--ocean); overflow: hidden; box-shadow: 14px 14px 0 var(--ink); }
.hero-photo img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; }
.hero-photo figcaption { position: absolute; right: 18px; bottom: 18px; display: flex; flex-direction: column; gap: 4px; min-width: 190px; padding: 14px 18px; border: 2px solid var(--ink); background: var(--sun); box-shadow: 5px 5px 0 var(--ink); transform: rotate(-2deg); }
.hero-photo figcaption span { font-size: 10px; font-weight: 900; letter-spacing: .16em; text-transform: uppercase; }
.hero-photo figcaption strong { font-family: Georgia, serif; font-size: 22px; letter-spacing: -.03em; }

.stats-band { background: var(--ink); color: white; }
.stats { min-height: 136px; display: grid; grid-template-columns: repeat(4, 1fr); }
.stats > div { display: flex; flex-direction: column; justify-content: center; padding: 24px 30px; border-left: 1px solid rgba(255,255,255,.18); }
.stats > div:last-child { border-right: 1px solid rgba(255,255,255,.18); }
.stats strong { font-family: Georgia, serif; color: var(--sun); font-size: 33px; letter-spacing: -.04em; }
.stats span { margin-top: 5px; font-size: 12px; text-transform: uppercase; letter-spacing: .12em; }

.section-heading h2 { max-width: 780px; margin: 0; font-family: Georgia, serif; font-size: clamp(50px, 7vw, 88px); line-height: .95; letter-spacing: -.06em; }
.meet .section-heading { margin-bottom: 48px; }
.event-card { display: grid; grid-template-columns: 190px 1fr 270px; border: 2px solid var(--ink); background: var(--paper); box-shadow: 10px 10px 0 var(--ink); }
.event-date { display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 300px; background: var(--rust); color: white; border-right: 2px solid var(--ink); }
.event-date span { font-weight: 900; letter-spacing: .18em; }
.event-date strong { font-family: Georgia, serif; font-size: 94px; line-height: .92; letter-spacing: -.08em; }
.event-details { padding: 48px; }
.event-kicker { margin: 0 0 14px; font-size: 12px; font-weight: 900; letter-spacing: .13em; text-transform: uppercase; color: var(--rust-dark); }
.event-details h3 { margin: 0 0 20px; font-family: Georgia, serif; font-size: 40px; letter-spacing: -.04em; }
.event-details > p:not(.event-kicker) { margin: 0; line-height: 1.65; }
.event-links { display: flex; flex-wrap: wrap; gap: 24px; margin-top: 28px; font-size: 14px; font-weight: 850; }
.event-links a { border-bottom: 1px solid var(--ink); }
.event-note { display: flex; align-items: flex-start; gap: 12px; padding: 36px; border-left: 1px solid var(--line); background: #ede7d9; font-size: 13px; line-height: 1.55; }
.event-note p { margin: 0; }
.status-dot { width: 9px; height: 9px; flex: 0 0 auto; margin-top: 5px; border-radius: 50%; background: var(--rust); box-shadow: 0 0 0 4px rgba(207,74,44,.18); }

.about { background: var(--paper); border-block: 1px solid var(--line); }
.about-grid { display: grid; grid-template-columns: .95fr 1.05fr; gap: 100px; }
.about-heading > p:last-child { max-width: 540px; margin: 34px 0 0; font-size: 17px; line-height: 1.7; }
.agenda-list { margin: 0; padding: 0; list-style: none; }
.agenda-list li { display: grid; grid-template-columns: 58px 1fr; gap: 24px; padding: 26px 0; border-top: 1px solid var(--line); }
.agenda-list li:last-child { border-bottom: 1px solid var(--line); }
.agenda-list > li > span { color: var(--rust); font-family: Georgia, serif; font-size: 24px; font-weight: 800; }
.agenda-list h3 { margin: 0 0 6px; font-size: 22px; }
.agenda-list p { margin: 0; color: rgba(21,34,31,.72); line-height: 1.55; }

.community .section-heading { margin-bottom: 52px; }
.community-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.community-card { min-height: 310px; display: flex; flex-direction: column; justify-content: space-between; padding: 30px; border: 2px solid var(--ink); transition: transform .2s ease, box-shadow .2s ease; }
.community-card:hover { transform: translate(-4px, -4px); box-shadow: 8px 8px 0 var(--ink); }
.community-card h3 { margin: 0 0 10px; font-family: Georgia, serif; font-size: 42px; letter-spacing: -.04em; }
.community-card p { max-width: 260px; margin: 0; line-height: 1.55; }
.card-index { font-size: 12px; font-weight: 900; letter-spacing: .16em; }
.card-arrow { align-self: flex-end; font-size: 26px; }
.meetup-card { background: var(--rust); color: white; }
.discord-card { background: var(--sun); }
.github-card { background: var(--ocean); color: white; }

.welcome-band { overflow: hidden; background: var(--rust); color: white; border-block: 2px solid var(--ink); }
.welcome-inner { min-height: 92px; display: flex; align-items: center; justify-content: space-between; gap: 20px; white-space: nowrap; }
.welcome-inner p { font-family: Georgia, serif; font-size: clamp(22px, 3vw, 37px); font-weight: 700; letter-spacing: -.03em; }
.welcome-inner span { color: var(--sun); }

.site-footer { min-height: 300px; display: grid; grid-template-columns: 1.4fr .7fr .9fr; gap: 50px; align-items: center; }
.footer-brand { margin-bottom: 18px; }
.site-footer > div:first-child p { max-width: 360px; margin: 0; color: rgba(21,34,31,.67); }
.footer-links { display: flex; flex-direction: column; gap: 12px; font-weight: 800; }
.footer-meta { margin: 0; text-align: right; font-size: 12px; text-transform: uppercase; letter-spacing: .13em; }

@media (max-width: 900px) {
  .site-header { grid-template-columns: 1fr auto; }
  .site-header nav { display: none; }
  .hero { grid-template-columns: 1fr; }
  .hero-photo { max-width: 760px; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stats > div:nth-child(2) { border-right: 1px solid rgba(255,255,255,.18); }
  .event-card { grid-template-columns: 150px 1fr; }
  .event-note { grid-column: 1 / -1; border-left: 0; border-top: 1px solid var(--line); }
  .about-grid { grid-template-columns: 1fr; gap: 62px; }
  .community-grid { grid-template-columns: 1fr; }
  .community-card { min-height: 220px; }
}

@media (max-width: 620px) {
  .shell { width: min(100% - 28px, 1180px); }
  .section { padding-block: 78px; }
  .site-header { min-height: 70px; }
  .brand > span:last-child { font-size: 14px; }
  .brand-mark { width: 34px; height: 34px; }
  .hero { min-height: auto; padding-block: 58px 72px; gap: 48px; }
  .hero h1 { font-size: clamp(68px, 26vw, 102px); }
  .hero-lede { margin-top: 34px; font-size: 16px; }
  .hero-photo { box-shadow: 8px 8px 0 var(--ink); }
  .hero-photo figcaption { right: 10px; bottom: 10px; min-width: 0; padding: 10px 12px; }
  .hero-photo figcaption strong { font-size: 17px; }
  .stats > div { padding: 22px 16px; }
  .stats strong { font-size: 26px; }
  .event-card { grid-template-columns: 1fr; box-shadow: 6px 6px 0 var(--ink); }
  .event-date { min-height: 170px; border-right: 0; border-bottom: 2px solid var(--ink); }
  .event-date strong { font-size: 76px; }
  .event-details { padding: 30px 24px; }
  .event-details h3 { font-size: 34px; }
  .event-note { padding: 24px; }
  .welcome-inner { justify-content: center; }
  .welcome-inner p:nth-of-type(3), .welcome-inner span:nth-of-type(2) { display: none; }
  .site-footer { grid-template-columns: 1fr; padding-block: 60px; gap: 32px; }
  .footer-meta { text-align: left; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}
