/* North City Chicago NA — copy of the Wix design */
@font-face {
  font-family: "Unbounded";
  src: url("/assets/fonts/unbounded-latin-300-normal.woff2") format("woff2");
  font-weight: 300;
  font-display: swap;
}

:root {
  --navy: #04076a;
  --sky: #e5f0fe;
  --page-max: 820px;
}

* { box-sizing: border-box; }

html, body { margin: 0; padding: 0; }

body {
  background: var(--sky);
  color: var(--navy);
  font-family: "Unbounded", "Helvetica Neue", Arial, sans-serif;
  font-weight: 300;
  letter-spacing: -0.02em;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
}

/* Chicago skyline, faded into the background like the Wix site */
body::before {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: min(1060px, 100%);
  background: url("/assets/img/chicago-skyline.jpg") center bottom / auto 100% no-repeat;
  opacity: 0.11;
  pointer-events: none;
  z-index: 0;
}

/* Big faint NA circle logo (the image is already 5% opacity) */
.na-mark {
  position: absolute;
  left: 50%;
  top: 160px;
  width: 670px;
  max-width: 92vw;
  transform: translateX(-50%);
  pointer-events: none;
  z-index: 0;
}

main {
  position: relative;
  min-height: 1190px;
  z-index: 1;
  max-width: var(--page-max);
  margin: 0 auto;
  padding: 56px 20px 40px;
  display: flex;
  flex-direction: column;
  text-align: center;
}

a { color: var(--navy); text-decoration: none; }
a:hover, a:focus-visible { text-decoration: underline; }
a:focus-visible { outline: 2px solid var(--navy); outline-offset: 4px; border-radius: 2px; }

h1 {
  font-weight: 300;
  font-size: 46px;
  line-height: 1.02;
  letter-spacing: -0.01em;
  margin: 0 0 40px;
}

h2 {
  font-weight: 300;
  font-size: 24px;
  margin: 0 0 22px;
}

/* Stacked list of links, centered */
.stack { display: flex; flex-direction: column; align-items: center; gap: 40px; }
.stack a { font-size: 25px; line-height: 1.2; }
.stack.tight { gap: 26px; }

/* Two columns of links */
.cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 40px;
  row-gap: 30px;
  justify-items: center;
  align-items: start;
}
.cols a { font-size: 25px; line-height: 1.2; }

.small, .small a { font-size: 17px; line-height: 1.75; }
.ul { text-decoration: underline; }

/* Home page */
.home h1 { margin-bottom: 26px; }
.toprow {
  display: flex;
  justify-content: center;
  gap: 38px;
  margin-bottom: 66px;
}
.toprow a { font-size: 21px; line-height: 1.38; }
.home .cols { column-gap: 200px; row-gap: 44px; }
.home .cols a { font-size: 30px; line-height: 1.2; }
.home .center { margin-top: 44px; font-size: 30px; }

/* Footer: Home + Copy link (subpages) */
.foot {
  margin-top: auto;
  padding-top: 120px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
}
.foot .home-link { font-size: 17px; }
.copy {
  background: none;
  border: 0;
  color: #000;
  font: 11px Arial, Helvetica, sans-serif;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  cursor: pointer;
  padding: 4px;
}
.copy svg { width: 28px; height: 28px; }

/* Phone */
@media (max-width: 640px) {
  main { padding: 40px 16px 32px; }
  h1 { font-size: 30px; margin-bottom: 28px; }
  h2 { font-size: 19px; }
  .stack, .stack.tight { gap: 22px; }
  .stack a, .cols a { font-size: 17px; }
  .cols { column-gap: 12px; row-gap: 24px; }
  .na-mark { top: 120px; }
  .toprow { gap: 10px; justify-content: space-between; margin-bottom: 40px; }
  .toprow a { font-size: 12px; }
  .home .cols { column-gap: 12px; row-gap: 30px; }
  .home .cols a, .home .center { font-size: 19px; }
  .small, .small a { font-size: 14px; }
  main { min-height: 100vh; }
  body::before { height: 75%; background-position: 30% bottom; }
  .foot { padding-top: 90px; }
  .stack-phone { grid-template-columns: 1fr; }
}

/* H&I: Subcommittee Minutes with year links */
.stack-title { font-size: 25px; line-height: 1.2; }
.years { display: flex; justify-content: center; gap: 120px; margin-top: 18px; }
.years a { font-size: 19px; }

/* Minutes pages: unlinked months look the same as linked ones */
.months { max-width: 600px; margin: 50px auto 0; width: 100%; }
.months .stack { gap: 30px; }
.months span, .months a { font-size: 22px; line-height: 1.2; }

/* Helpline */
.hotline p { margin: 0 0 40px; font-size: 30px; line-height: 1.3; }
.hotline .note { font-size: 16px; margin-top: 20px; }

@media (max-width: 640px) {
  .stack-phone { display: flex; flex-direction: column; align-items: center; gap: 26px; }
  .stack-title { font-size: 17px; }
  .years { gap: 60px; }
  .years a { font-size: 15px; }
  .months span, .months a { font-size: 14px; }
  .months .stack { gap: 22px; }
  .hotline p { font-size: 22px; margin-bottom: 28px; }
  .hotline .note { font-size: 13px; }
}
