/* ============================================
   PUT ART EVERYWHERE — Design Tokens
   Palette grounded in Cincinnati's own materials:
   steel-bridge blue, OTR brick, spray-cap yellow.
   ============================================ */

:root {
  --bg: #FAFAF7;
  --bg-warm: #F3EFE8;
  --ink: #181A1B;
  --ink-soft: #4A4D4F;
  --steel: #2C5F7C;
  --steel-deep: #1D4256;
  --brick: #8B3A2B;
  --spray: #F2C230;
  --line: #DDD8D0;
  --white: #FFFFFF;

  --display: 'Space Grotesk', sans-serif;
  --body: 'Source Serif 4', Georgia, serif;
  --mono: 'Space Mono', monospace;

  --max: 1180px;
}

* { box-sizing: border-box; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--body);
  font-size: 18px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a { color: inherit; }

h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: 700;
  line-height: 1.05;
  margin: 0 0 0.5em;
  letter-spacing: -0.01em;
}

p { margin: 0 0 1.2em; }

.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 32px;
}

/* ---------- Eyebrow / signature bullet ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--steel-deep);
  margin-bottom: 18px;
}
.eyebrow::before {
  content: "";
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--spray);
  flex-shrink: 0;
}

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}
.logo {
  font-family: var(--display);
  font-weight: 700;
  font-size: 19px;
  letter-spacing: -0.01em;
  text-decoration: none;
  color: var(--ink);
  display: flex;
  align-items: center;
  gap: 10px;
}
.logo-mark {
  width: 14px; height: 14px;
  border-radius: 2px;
  background: var(--spray);
  transform: rotate(45deg);
  flex-shrink: 0;
}
nav.primary { display: flex; gap: 36px; }
nav.primary a {
  text-decoration: none;
  font-family: var(--display);
  font-weight: 500;
  font-size: 15px;
  color: var(--ink-soft);
  position: relative;
  padding: 4px 0;
}
nav.primary a:hover,
nav.primary a[aria-current="page"] { color: var(--ink); }
nav.primary a[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -4px;
  height: 2px;
  background: var(--spray);
}
.nav-toggle { display: none; }

.btn {
  display: inline-block;
  font-family: var(--display);
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  padding: 12px 24px;
  border-radius: 3px;
  border: 1.5px solid var(--ink);
  color: var(--ink);
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.btn:hover { background: var(--ink); color: var(--bg); }
.btn.solid {
  background: var(--steel);
  border-color: var(--steel);
  color: var(--white);
}
.btn.solid:hover { background: var(--steel-deep); border-color: var(--steel-deep); }
.btn.accent {
  background: var(--spray);
  border-color: var(--spray);
  color: var(--ink);
}
.btn.accent:hover { background: #E0AF1F; border-color: #E0AF1F; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 120px 0 100px;
  background:
    radial-gradient(circle at 85% 15%, rgba(44,95,124,0.07), transparent 55%),
    var(--bg);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}
.hero .wrap { position: relative; z-index: 2; }
.hero h1 {
  font-size: clamp(42px, 6vw, 76px);
  max-width: 15ch;
}
.hero .lede {
  font-family: var(--body);
  font-size: 21px;
  color: var(--ink-soft);
  max-width: 46ch;
  margin: 24px 0 36px;
}
.hero .cta-row { display: flex; gap: 16px; flex-wrap: wrap; }

/* corner-turn signature icon */
.corner-icon {
  position: absolute;
  right: 4%;
  top: 20%;
  width: 220px;
  opacity: 0.9;
}
.corner-icon path {
  fill: none;
  stroke: var(--steel);
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-dasharray: 340;
  stroke-dashoffset: 340;
  animation: draw 1.8s ease forwards 0.3s;
}
.corner-icon circle { fill: var(--spray); }
@keyframes draw { to { stroke-dashoffset: 0; } }
@media (max-width: 860px) { .corner-icon { display: none; } }

/* ---------- Sections ---------- */
section { padding: 88px 0; }
section.tight { padding: 56px 0; }
.section-head { max-width: 62ch; margin-bottom: 48px; }
.section-head h2 { font-size: clamp(30px, 4vw, 44px); }
.section-head .lede { font-size: 19px; color: var(--ink-soft); }

.bg-warm { background: var(--bg-warm); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.bg-ink { background: var(--ink); color: var(--bg); }
.bg-ink .eyebrow { color: var(--spray); }
.bg-ink h2, .bg-ink h3 { color: var(--white); }

/* ---------- Pillars / grid ---------- */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 48px; }
@media (max-width: 860px) {
  .grid-3 { grid-template-columns: 1fr; }
  .grid-2 { grid-template-columns: 1fr; }
}

.pillar { border-top: 3px solid var(--steel); padding-top: 20px; }
.pillar:nth-child(2) { border-top-color: var(--brick); }
.pillar:nth-child(3) { border-top-color: var(--spray); }
.pillar h3 { font-size: 21px; margin-bottom: 10px; }
.pillar p { color: var(--ink-soft); font-size: 16.5px; margin: 0; }

/* ---------- Stat strip ---------- */
.stat-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 48px;
  padding: 40px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.stat { flex: 1; min-width: 160px; }
.stat .num {
  font-family: var(--display);
  font-weight: 700;
  font-size: 40px;
  color: var(--steel);
}
.stat .label {
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

/* ---------- Board grid ---------- */
.board-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 44px 36px;
}
@media (max-width: 900px) { .board-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .board-grid { grid-template-columns: 1fr; } }

.card { display: flex; flex-direction: column; }
.card .photo {
  width: 100%;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: 3px;
  background: var(--bg-warm);
  margin-bottom: 18px;
  position: relative;
}
.card .photo img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: grayscale(100%);
  transition: filter 0.35s ease, transform 0.35s ease;
}
.card:hover .photo img { filter: grayscale(0%); transform: scale(1.03); }
.card .role {
  font-family: var(--mono);
  font-size: 12.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--steel);
  margin-bottom: 4px;
}
.card h3 { font-size: 20px; margin-bottom: 8px; }
.card p { font-size: 15.5px; color: var(--ink-soft); margin: 0; }

/* ---------- Quote / mission block ---------- */
.mission-block {
  max-width: 74ch;
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1.35;
  color: var(--ink);
}
.mission-block .mark { color: var(--spray); }
.bg-ink .mission-block { color: var(--white); }

/* ---------- Contact / Donate forms & panels ---------- */
.panel {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 40px;
}
.field { margin-bottom: 22px; }
.field label {
  display: block;
  font-family: var(--mono);
  font-size: 12.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 8px;
}
.field input, .field textarea {
  width: 100%;
  font-family: var(--body);
  font-size: 16px;
  padding: 12px 14px;
  border: 1.5px solid var(--line);
  border-radius: 3px;
  background: var(--bg);
  color: var(--ink);
}
.field input:focus, .field textarea:focus {
  outline: none;
  border-color: var(--steel);
}
.field textarea { resize: vertical; min-height: 130px; }

.tier-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin: 32px 0; }
@media (max-width: 760px) { .tier-grid { grid-template-columns: 1fr; } }
.tier {
  border: 1.5px solid var(--line);
  border-radius: 4px;
  padding: 28px 22px;
  background: var(--white);
  text-align: center;
}
.tier .amt {
  font-family: var(--display);
  font-weight: 700;
  font-size: 30px;
  color: var(--steel);
  margin-bottom: 6px;
}
.tier .desc { font-size: 15px; color: var(--ink-soft); margin-bottom: 18px; }

/* ---------- Photo sections ---------- */
.photo-banner {
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 3px;
  position: relative;
}
.photo-banner img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.photo-caption {
  font-family: var(--mono);
  font-size: 12.5px;
  letter-spacing: 0.04em;
  color: var(--ink-soft);
  margin-top: 12px;
}
.photo-banner.contained {
  max-width: 560px;
  aspect-ratio: 1 / 1;
}
.photo-duo {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
@media (max-width: 760px) { .photo-duo { grid-template-columns: 1fr; } }
.photo-duo .frame {
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: 3px;
}
.photo-duo .frame img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.photo-duo .frame.wide { aspect-ratio: 5/4; }

/* ---------- Footer ---------- */
footer.site-footer {
  border-top: 1px solid var(--line);
  padding: 56px 0 40px;
  background: var(--bg-warm);
}
footer .wrap {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 32px;
}
footer .col h4 {
  font-size: 13px;
  font-family: var(--mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 14px;
}
footer .col a {
  display: block;
  text-decoration: none;
  color: var(--ink);
  font-size: 15px;
  margin-bottom: 8px;
}
footer .col a:hover { color: var(--steel); }
footer .fine {
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 12.5px;
  color: var(--ink-soft);
}

/* ---------- Mobile nav ---------- */
@media (max-width: 760px) {
  nav.primary {
    position: fixed;
    top: 76px;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 100;
    background: var(--bg);
    flex-direction: column;
    padding: 32px;
    gap: 24px;
    transform: translateX(100%);
    transition: transform 0.25s ease;
  }
  nav.primary a {
    font-size: 22px;
    padding: 8px 0;
  }
  nav.primary.open { transform: translateX(0); }
  .nav-toggle {
    display: block;
    background: none;
    border: none;
    font-family: var(--display);
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    color: var(--ink);
  }
  .site-header .btn.solid { display: none; }
}
