/* Connecticut Center for History & Civic Learning - v7 */
:root {
  --navy: #0a2d59;
  --navy-deep: #071c3a;
  --gold: #b88729;
  --gold-soft: #dfc27d;
  --cream: #fbf7ee;
  --parchment: #f6efde;
  --paper: #fffdf8;
  --line: rgba(184, 135, 41, 0.25);
  --text: #223548;
  --muted: #4b5e72;
  --shadow: 0 18px 44px rgba(8, 26, 48, 0.10);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Inter", system-ui, sans-serif;
  color: var(--text);
  background: linear-gradient(180deg, #fffdf8, #f8f2e5);
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, strong { font-family: "Cormorant Garamond", Georgia, serif; }
p { margin: 0 0 1rem; line-height: 1.8; }
.skip-link, .visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.skip-link:focus {
  position: fixed;
  top: 12px;
  left: 12px;
  width: auto;
  height: auto;
  padding: 10px 14px;
  background: var(--navy);
  color: white;
  clip: auto;
  z-index: 999;
}
.top-nav {
  background: var(--navy-deep);
  border-bottom: 2px solid rgba(184, 135, 41, 0.95);
  color: white;
}
.nav-shell {
  min-height: 64px;
  width: min(1200px, calc(100% - 36px));
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(2.5rem, 8vw, 7rem);
}
.nav-shell a {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.24rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}
.nav-shell a:hover {
  color: #e2c370;
}
.hero-image-section {
  max-width: 1480px;
  margin: 0 auto;
  box-shadow: var(--shadow);
  overflow: hidden;
}
.hero-image-section img {
  width: 100%;
  height: auto;
}
.section-pad, .content-section {
  padding: 54px 18px;
}
.content-shell, .intro-grid {
  max-width: 1240px;
  margin: 0 auto;
}
.narrow-shell { max-width: 980px; }
.parchment-bg { background: linear-gradient(180deg, #fffaf1, #f5ecdb); }
.muted-band { background: linear-gradient(180deg, #f8f3e8, #efe7d5); }
.eyebrow {
  font-size: 0.86rem;
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  text-align: center;
  color: var(--gold);
  margin-bottom: 10px;
}
.light-eyebrow { color: #f4d79a; }
.content-section h2, .intro-grid h2, .contact-section h2 {
  margin: 0 auto 24px;
  max-width: 980px;
  text-align: center;
  color: var(--navy);
  font-size: clamp(2.35rem, 4vw, 4rem);
  line-height: 1.02;
}
.two-col-copy {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 38px;
}
.two-col-copy p {
  color: var(--muted);
  font-size: 1.04rem;
}
.intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1.06fr 1.18fr;
  gap: 22px;
}
.panel {
  background: rgba(255,255,255,0.92);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 28px 24px;
  box-shadow: 0 10px 24px rgba(8, 26, 48, 0.05);
  min-height: 100%;
}
.short-panel p, .services-panel li small, .team-mini-item span { color: var(--muted); }
.panel h2 {
  font-size: 1.8rem;
  margin-bottom: 16px;
}
.text-link {
  display: inline-block;
  margin-top: 10px;
  color: var(--navy);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 0.92rem;
}
.text-link::after {
  content: " ›";
  color: var(--gold);
}
.team-mini-list {
  display: grid;
  gap: 14px;
}
.team-mini-item {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 12px;
  align-items: center;
}
.team-mini-item img {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(184, 135, 41, 0.25);
}
.team-mini-item strong {
  display: block;
  font-size: 1.2rem;
  color: var(--navy);
}
.team-mini-item span {
  display: block;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.02rem;
  font-style: italic;
}
.service-mini-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 12px;
}
.service-mini-list li {
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 10px;
  align-items: start;
}
.service-mini-list span {
  font-size: 1.35rem;
  color: var(--gold);
}
.service-mini-list strong {
  display: block;
  font-size: 1.16rem;
  color: var(--navy);
}
.service-mini-list small {
  display: block;
  font-size: 0.95rem;
  line-height: 1.5;
}
.bio-grid {
  display: grid;
  gap: 22px;
  margin-top: 38px;
}
.bio-card {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 24px;
  align-items: start;
  background: rgba(255,255,255,0.92);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 24px;
  box-shadow: 0 10px 24px rgba(8, 26, 48, 0.06);
}
.bio-card img {
  width: 120px;
  height: 120px;
  border-radius: 10px;
  object-fit: cover;
}
.bio-card h3 {
  margin: 0;
  color: var(--navy);
  font-size: 2rem;
}
.role {
  margin: 4px 0 14px;
  color: var(--gold);
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.85rem;
}
.bio-card p:last-child { margin-bottom: 0; }
.program-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 36px;
}
.program-card {
  background: rgba(255,255,255,0.94);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 30px 26px;
  text-align: center;
  box-shadow: 0 10px 24px rgba(8, 26, 48, 0.05);
}
.program-icon {
  width: 74px;
  height: 74px;
  margin: 0 auto 18px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #fff4d4;
  border: 1px solid rgba(184, 135, 41, 0.28);
  font-size: 2rem;
}
.program-card h3 {
  margin: 0 0 14px;
  color: var(--navy);
  font-size: 2rem;
  min-height: 118px;
}
.program-card p {
  color: var(--muted);
  margin-bottom: 0;
}
.contact-section {
  padding: 60px 18px;
  background: linear-gradient(180deg, #0a2950, #071c37);
  color: white;
}
.contact-shell {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 26px;
}
.contact-section h2 {
  text-align: left;
  margin: 0 0 12px;
  color: white;
}
.contact-section p {
  color: rgba(255,255,255,0.84);
  margin-bottom: 0;
}
.contact-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 240px;
  padding: 15px 22px;
  border-radius: 6px;
  background: linear-gradient(180deg, #d3a447, #b88629);
  color: var(--navy-deep);
  font-weight: 800;
  box-shadow: 0 8px 18px rgba(0,0,0,0.18);
}
.site-footer {
  padding: 34px 18px;
  background: #07172f;
  color: white;
}
.footer-shell {
  max-width: 1240px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 28px;
  align-items: center;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 16px;
}
.footer-brand img {
  width: 74px;
  height: 74px;
  object-fit: contain;
}
.footer-brand strong {
  display: block;
  font-size: 1.4rem;
  line-height: 1.1;
}
.footer-brand span {
  display: block;
  margin-top: 4px;
  color: #e4c06c;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.1rem;
  font-style: italic;
}
.parent-center {
  text-align: center;
}
.parent-center p {
  margin-bottom: 10px;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.25rem;
}
.parent-center img {
  width: 220px;
  max-width: 100%;
  padding: 10px 12px;
  background: white;
  border-radius: 10px;
  margin: 0 auto;
}
@media (max-width: 1100px) {
  .nav-shell { gap: 2rem; }
  .intro-grid, .program-grid, .two-col-copy, .footer-shell { grid-template-columns: 1fr; }
  .panel h2, .program-card h3 { min-height: auto; }
  .contact-shell { flex-direction: column; align-items: flex-start; }
  .contact-section h2 { text-align: left; }
}
@media (max-width: 760px) {
  .nav-shell {
    min-height: auto;
    padding: 14px 0;
    justify-content: flex-start;
    overflow-x: auto;
    gap: 1.5rem;
  }
  .nav-shell a { font-size: 1rem; white-space: nowrap; }
  .section-pad, .content-section, .contact-section { padding: 42px 14px; }
  .bio-card { grid-template-columns: 1fr; }
  .bio-card img {
    width: 120px;
    height: 120px;
  }
  .content-section h2, .intro-grid h2, .contact-section h2 { font-size: clamp(2rem, 7vw, 3rem); }
}
