/* GSO UNA: type is Archivo (wide, heavy) for signage-style headlines and Source Serif 4 for reading. Colors come from the logo navy plus
   six neighborhood colors borrowed from the HOLC map palette the association's history page shows. */
@font-face { font-family: "Archivo"; src: url("/fonts/archivo-latin-wdth-normal.woff2") format("woff2"); font-weight: 100 900; font-stretch: 62% 125%; font-display: swap; }
@font-face { font-family: "Source Serif 4"; src: url("/fonts/source-serif-4-latin-wght-normal.woff2") format("woff2"); font-weight: 200 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Source Serif 4"; src: url("/fonts/source-serif-4-latin-wght-italic.woff2") format("woff2"); font-weight: 200 900; font-style: italic; font-display: swap; }

:root {
  --ink: #171f40;
  --ink-2: #232c55;
  --paper: #fbfbf9;
  --tint: #eeeef4;
  --text: #1c2030;
  --muted: #4a5068;
  --violet: #4f44b8;
  --amber: #f2b544;
  --brick: #9e3b22;
  --green: #2e6b4a;
  --blue: #2d5f93;
  --ochre: #7f5400;
  --plum: #6b3fa0;
  --teal: #0f6770;
  --accent: var(--violet);
  --gutter: clamp(16px, 4vw, 40px);
  --max: 72rem;
  --display: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --body: "Source Serif 4", Georgia, "Times New Roman", serif;
}
.t-brick { --accent: var(--brick); }
.t-green { --accent: var(--green); }
.t-blue { --accent: var(--blue); }
.t-ochre { --accent: var(--ochre); }
.t-plum { --accent: var(--plum); }
.t-teal { --accent: var(--teal); }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 5rem; }
body { margin: 0; background: var(--paper); color: var(--text); font: 400 1.125rem/1.7 var(--body); overflow-wrap: break-word; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--violet); text-underline-offset: 0.2em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--amber); outline-offset: 3px; box-shadow: 0 0 0 6px var(--ink); border-radius: 2px; }
h1, h2, h3, h4 { font-family: var(--display); font-stretch: 112%; font-weight: 800; line-height: 1.08; letter-spacing: -0.015em; margin: 0 0 0.6em; text-wrap: balance; }
h1 { font-size: clamp(2.1rem, 6.4vw, 4.4rem); }
h2 { font-size: clamp(1.7rem, 4.2vw, 2.6rem); }
h3 { font-size: clamp(1.2rem, 2.6vw, 1.55rem); font-stretch: 100%; font-weight: 750; letter-spacing: -0.005em; }
p { margin: 0 0 1.1em; }
ul { margin: 0; padding: 0; }

.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.skip { position: absolute; left: 16px; top: -100px; background: var(--amber); color: var(--ink); padding: 10px 16px; font: 700 1rem var(--display); z-index: 100; }
.skip:focus { top: 8px; }

/* Header */
.site-head { background: var(--ink); color: #fff; position: sticky; top: 0; z-index: 50; }
.site-head-in { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; flex-wrap: wrap; padding-block: 8px; }
.brand { display: flex; align-items: center; gap: 12px; color: #fff; text-decoration: none; min-width: 0; }
.brand img { width: 48px; height: auto; border-radius: 6px; flex: none; box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.35); }
.brand-name { font: 700 0.95rem/1.15 var(--display); font-stretch: 112%; max-width: 15rem; }
.site-nav ul { list-style: none; display: flex; flex-wrap: wrap; gap: 2px 4px; }
.site-nav a { display: block; color: #fff; text-decoration: none; font: 600 0.9rem var(--display); padding: 10px 10px; border-bottom: 3px solid transparent; }
.site-nav a:hover { border-bottom-color: var(--amber); }
.site-nav a[aria-current="page"] { border-bottom-color: var(--amber); }
.nav-toggle { display: none; font: 700 0.95rem var(--display); background: transparent; color: #fff; border: 2px solid #fff; padding: 8px 14px; border-radius: 4px; cursor: pointer; }
@media (max-width: 1040px) {
  .js .nav-toggle { display: block; }
  .js .site-nav { display: none; flex-basis: 100%; }
  .js .site-nav.open { display: block; }
  .js .site-nav ul { flex-direction: column; padding-bottom: 8px; }
  .js .site-nav a { padding: 12px 0; border-bottom: 1px solid var(--ink-2); font-size: 1rem; }
  .brand-name { max-width: 11rem; font-size: 0.85rem; }
}

/* Buttons */
.btn { display: inline-block; font: 700 1rem var(--display); text-decoration: none; padding: 13px 22px; border: 2px solid transparent; border-radius: 4px; }
.btn-amber { background: var(--amber); color: var(--ink); }
.btn-amber:hover { background: #ffc965; }
.btn-ghost { color: #fff; border-color: #fff; }
.btn-ghost:hover { background: #fff; color: var(--ink); }
.btn-ink { background: var(--ink); color: #fff; }
.btn-ink:hover { background: var(--ink-2); }

/* Home hero: aerial photo, headline sits on a solid ink panel so contrast never depends on the photo */
.hero { display: grid; background: var(--ink); }
.hero-img { grid-area: 1 / 1; width: 100%; height: clamp(300px, 62vh, 640px); object-fit: cover; }
.hero-panel { grid-area: 2 / 1; background: var(--ink); color: #fff; padding: 28px var(--gutter) 36px; }
.hero-panel h1 { margin-bottom: 0.35em; max-width: 14ch; }
.hero-sub { font: 500 clamp(1.1rem, 2.4vw, 1.5rem)/1.3 var(--display); margin-bottom: 1.4em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 0; }
@media (min-width: 860px) {
  .hero-panel { grid-area: 1 / 1; align-self: end; justify-self: start; margin-left: max(var(--gutter), calc((100vw - var(--max)) / 2 + var(--gutter))); max-width: 46rem; padding: 36px 40px; }
  .hero-img { height: clamp(520px, 78vh, 760px); }
}

/* Neighborhood blocks: widths vary like city blocks */
.blocks { list-style: none; display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.blocks li { background: var(--accent); }
.blocks a { display: flex; align-items: flex-end; min-height: 104px; padding: 14px 16px; color: #fff; text-decoration: none; font: 800 clamp(1.1rem, 2.6vw, 1.6rem)/1.05 var(--display); font-stretch: 115%; letter-spacing: -0.01em; }
.blocks a:hover { text-decoration: underline; text-decoration-thickness: 3px; }
.blocks a[aria-current="page"] { outline: 3px solid var(--amber); outline-offset: -6px; }
.hood-nav { padding-block: 8px 0; margin-top: 8px; }
@media (min-width: 760px) {
  .hood-nav .blocks { grid-template-columns: repeat(12, 1fr); }
  .hood-nav .b3 { grid-column: span 3; } .hood-nav .b4 { grid-column: span 4; } .hood-nav .b5 { grid-column: span 5; }
  .hood-nav .blocks a { min-height: 132px; }
}
.more-hoods { padding-block: 48px 56px; }
.more-hoods h2 { font-size: 1.3rem; }
.blocks-mini a { min-height: 72px; font-size: 1.05rem; }
@media (min-width: 760px) { .blocks-mini { grid-template-columns: repeat(6, 1fr); } }

/* Sections */
.section { padding-block: clamp(40px, 7vw, 88px); }
.section.tint { background: var(--tint); }
.section.dark { background: var(--ink); color: #fff; }
.section.dark a { color: var(--amber); }
.section-title { margin-bottom: 0.3em; }
.lede { font: 500 1.25rem/1.4 var(--display); color: var(--muted); margin-bottom: 1.2em; }
.dark .lede { color: #cfd2ee; }
.prose { max-width: 40rem; }
.prose p { line-height: 1.75; }
.prose h3 { margin-top: 1.6em; color: var(--accent); }
.split { display: grid; gap: 32px; align-items: start; }
@media (min-width: 860px) {
  .split { grid-template-columns: 1fr 1fr; gap: 56px; }
  .about-blurb .split { grid-template-columns: 5fr 7fr; }
  .split-rev { grid-template-columns: 5fr 7fr; }
}
.photo { margin: 0; }
.photo img, .portrait img { width: 100%; border-radius: 4px; }
.photo.wide { margin: 32px 0; }
.photo figcaption { font: 500 0.95rem var(--display); color: var(--muted); padding-top: 8px; }
.portrait { margin: 0; max-width: 22rem; }
.portrait img { aspect-ratio: 4 / 5; object-fit: cover; object-position: top; }

.big-list { list-style: none; font: 800 clamp(1.4rem, 3.6vw, 2.2rem)/1.15 var(--display); font-stretch: 112%; letter-spacing: -0.01em; }
.big-list li { padding: 14px 0; border-top: 2px solid var(--ink-2); }
.big-list li:last-child { border-bottom: 2px solid var(--ink-2); }

.pair-grid { display: grid; gap: 24px; }
@media (min-width: 860px) { .pair-grid { grid-template-columns: 1fr 1fr; } }
.panel-card { background: var(--tint); padding: 32px; border-radius: 4px; border-top: 6px solid var(--violet); }
.panel-card h2 { font-size: clamp(1.5rem, 3.4vw, 2rem); }

.cta { background: var(--amber); color: var(--ink); padding-block: clamp(40px, 6vw, 72px); }
.cta-in h2 { margin-bottom: 0.2em; }
.cta-in p { font: 500 1.3rem/1.4 var(--display); }
.cta-in p:last-child { margin-bottom: 0; }
.cta .btn-ink:hover { background: var(--ink-2); }

.assoc-grid { list-style: none; display: grid; gap: 24px; margin-top: 28px; }
@media (min-width: 640px) { .assoc-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 980px) { .assoc-grid { grid-template-columns: repeat(3, 1fr); } }
.assoc { background: #fff; border-top: 8px solid var(--accent); box-shadow: 0 1px 0 rgba(23, 31, 64, 0.12), 0 0 0 1px rgba(23, 31, 64, 0.08); display: flex; flex-direction: column; }
.assoc img, .assoc .initials { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; object-position: 50% 18%; }
.initials { display: grid; place-items: center; background: var(--accent); color: #fff; font: 800 3.4rem var(--display); font-stretch: 125%; }
.assoc-body { padding: 20px 22px 26px; font-size: 1.02rem; line-height: 1.6; }
.assoc-body h3 { margin-bottom: 0.1em; }
.assoc-body h3 a { color: var(--accent); }
.assoc-person { font: 700 1rem var(--display); color: var(--muted); margin-bottom: 0.8em; }

.map { width: 100%; height: clamp(280px, 50vw, 420px); border: 0; border-radius: 4px; background: var(--tint); }
.map-sec { padding-block: 0 clamp(40px, 7vw, 88px); }

.contact-sec { background: var(--tint); }
.contact-list { list-style: none; display: grid; gap: 0; align-self: start; }
.contact-list li { display: grid; padding: 18px 0; border-top: 2px solid var(--ink); font: 700 clamp(1.15rem, 3vw, 1.5rem)/1.3 var(--display); }
.contact-list li:last-child { border-bottom: 2px solid var(--ink); }
.contact-list a { color: var(--ink); text-decoration-color: var(--violet); text-decoration-thickness: 2px; word-break: break-word; }
.ci { font: 600 0.9rem var(--display); color: var(--muted); }

/* Inner pages */
.page-head { background: var(--ink); color: #fff; border-bottom: 10px solid var(--accent, var(--violet)); padding-block: clamp(36px, 7vw, 80px) clamp(28px, 5vw, 56px); }
.page-head h1 { margin: 0; max-width: 18ch; }
.gallery-title { margin-bottom: 20px; }
.gallery { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr)); }
.gallery figure { margin: 0; }
.gallery img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; object-position: top; border-radius: 4px; }
.initiative { margin-top: 24px; }
.plain-list { padding-left: 1.2em; }
.plain-list li { margin-bottom: 0.7em; padding-left: 0.2em; }
.soon { display: inline-block; font: 600 1.1rem var(--display); color: var(--muted); border: 2px dashed var(--muted); padding: 10px 18px; border-radius: 4px; }
.values { list-style: none; display: grid; gap: 0 40px; margin-top: 24px; }
@media (min-width: 720px) { .values { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .values { grid-template-columns: repeat(3, 1fr); } }
.values li { border-top: 3px solid var(--ink); padding: 16px 0 24px; }
.values h3 { margin-bottom: 0.3em; }
.values p { margin: 0; }

.news-list { display: grid; gap: 20px; margin-top: 12px; }
.news-item { border-left: 8px solid var(--accent); background: #fff; padding: 20px 24px; box-shadow: 0 0 0 1px rgba(23, 31, 64, 0.08); }
.news-item h3 { color: var(--accent); }
.news-item p:last-child { margin-bottom: 0; }
.archive-link { margin-top: 40px; }

/* Calendar: a real month grid on wide screens; on phones only days with meetings show, as an agenda */
.cal { margin-bottom: 56px; }
.cal h2 { font-size: clamp(1.4rem, 3.4vw, 2rem); }
.cal-grid { display: grid; grid-template-columns: 1fr; gap: 8px; }
.cal-dow, .cal-pad { display: none; }
.cal-day { display: none; background: #fff; border-left: 6px solid var(--violet); padding: 12px 14px; font-size: 0.95rem; line-height: 1.45; }
.cal-has { display: block; }
.cal-date { font: 800 1.1rem var(--display); margin: 0 0 4px; }
.cal-event { margin: 0; }
@media (min-width: 860px) {
  .cal-grid { grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 0; border-top: 1px solid #b9bccd; border-left: 1px solid #b9bccd; }
  .cal-dow { display: block; background: var(--ink); color: #fff; font: 700 0.9rem var(--display); padding: 8px 10px; border-right: 1px solid var(--ink-2); }
  .cal-day { display: block; min-height: 96px; border: 0; border-right: 1px solid #b9bccd; border-bottom: 1px solid #b9bccd; background: #fff; padding: 6px 8px; font-size: 0.8rem; }
  .cal-pad { display: block; background: var(--tint); }
  .cal-has { background: #eceaff; }
  .cal-date { font-size: 0.95rem; }
  .cal-dow-inline { display: none; }
}

/* Footer */
.site-foot { background: var(--ink); color: #e6e8f7; padding-block: 48px 28px; }
.foot-grid { display: grid; gap: 32px; }
@media (min-width: 760px) { .foot-grid { grid-template-columns: 1fr 1fr; } }
.foot-name { font: 800 1.2rem/1.2 var(--display); font-stretch: 112%; color: #fff; }
.foot-contact, .foot-nav { list-style: none; }
.foot-contact li { margin-bottom: 4px; }
.foot-nav { columns: 2; }
.foot-nav li { margin-bottom: 4px; break-inside: avoid; }
.site-foot a { color: #fff; }
.foot-copy { margin: 32px auto 0; font-size: 0.9rem; color: #c5c9e6; border-top: 1px solid var(--ink-2); padding-top: 20px; }

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
@media print { .site-head, .site-foot, .skip { display: none; } body { background: #fff; } }
