:root {
  --navy: #14294d;
  --navy-deep: #0e1c36;
  --red: #b3262e;
  --red-hover: #8e1d24;
  --gold: #c4a35a;
  --cream: #f7f1e6;
  --cream-dark: #efe6d4;
  --paper: #fffcf7;
  --ink: #241f1a;
  --muted: #5c564e;
  --line: #e4d8c4;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(20, 41, 77, 0.08);
  --max: 980px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background: var(--cream);
  font: 18px/1.65 "Segoe UI", system-ui, -apple-system, Roboto, Helvetica, Arial, sans-serif;
}

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

a { color: var(--red); }
a:hover { color: var(--red-hover); }

.skip {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--navy);
  color: #fff;
  padding: 0.6rem 1rem;
  z-index: 100;
}
.skip:focus { left: 1rem; top: 1rem; }

.bar {
  height: 8px;
  background: linear-gradient(90deg, var(--navy) 0 34%, var(--cream) 34% 38%, var(--red) 38% 72%, var(--gold) 72% 100%);
}

.site-header {
  background: var(--navy);
  color: #fff;
  text-align: center;
  padding: 2.2rem 1.25rem 1.4rem;
}

.logo {
  width: 168px;
  height: 168px;
  margin: 0 auto 1rem;
  border-radius: 50%;
  border: 4px solid var(--gold);
  box-shadow: 0 0 0 6px rgba(196, 163, 90, 0.18);
  object-fit: cover;
  background: #fff;
}

.site-header h1 {
  margin: 0;
  font-family: Georgia, "DejaVu Serif", "Times New Roman", serif;
  font-weight: 700;
  font-size: clamp(1.7rem, 4.5vw, 2.55rem);
  line-height: 1.15;
  letter-spacing: 0.01em;
  color: #fff;
}

.tagline {
  margin: 0.7rem auto 0;
  max-width: 28rem;
  color: #d9e2f2;
  font-size: 1.05rem;
}

nav {
  background: var(--navy-deep);
  border-top: 1px solid rgba(255,255,255,0.08);
  position: sticky;
  top: 0;
  z-index: 20;
}

nav ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.25rem 0.4rem;
  list-style: none;
  margin: 0 auto;
  padding: 0.55rem 0.8rem;
  max-width: var(--max);
}

nav a {
  display: inline-block;
  color: #fff;
  text-decoration: none;
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 600;
}

nav a:hover,
nav a:focus {
  background: rgba(255,255,255,0.12);
  color: #fff;
}

main {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0.5rem 1.25rem 3rem;
}

section { margin: 2.4rem 0; }

h2 {
  font-family: Georgia, "DejaVu Serif", "Times New Roman", serif;
  color: var(--navy);
  font-size: 1.7rem;
  line-height: 1.2;
  margin: 0 0 1rem;
  padding-left: 0.75rem;
  border-left: 5px solid var(--red);
}

.mission {
  margin-top: 2rem;
}

.mission-quote {
  margin: 0;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem 1.6rem;
  box-shadow: var(--shadow);
  font-family: Georgia, "DejaVu Serif", "Times New Roman", serif;
  font-size: clamp(1.15rem, 2.4vw, 1.35rem);
  font-style: italic;
  color: var(--navy);
  line-height: 1.55;
}

.card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.35rem 1.5rem;
  box-shadow: var(--shadow);
}

.card p:first-child { margin-top: 0; }
.card p:last-child { margin-bottom: 0; }

.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 14px;
  margin: 1.1rem 0 0.8rem;
}

.gallery figure { margin: 0; }

.gallery img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 10px;
  border: 3px solid var(--navy);
  background: var(--cream-dark);
}

.gallery figcaption {
  font-size: 0.88rem;
  color: var(--muted);
  margin-top: 0.4rem;
}

.placeholder {
  margin: 1rem 0 0;
  padding: 0.75rem 0.95rem;
  background: #fff8e8;
  border: 1px dashed #c4a35a;
  border-radius: 10px;
  color: #5a4a22;
  font-size: 0.95rem;
}

.placeholder strong { color: #3d3418; }

.actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 0.4rem;
}

.action {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.25rem 1.35rem;
  box-shadow: var(--shadow);
}

.action h3 {
  margin: 0 0 0.55rem;
  font-family: Georgia, "DejaVu Serif", "Times New Roman", serif;
  color: var(--navy);
  font-size: 1.2rem;
}

.action p:last-child { margin-bottom: 0; }

.btn {
  display: inline-block;
  margin-top: 0.35rem;
  background: var(--red);
  color: #fff !important;
  text-decoration: none;
  font-weight: 700;
  padding: 0.7rem 1.15rem;
  border-radius: 999px;
  box-shadow: 0 4px 0 var(--red-hover);
}

.btn:hover { background: var(--red-hover); }

address { font-style: normal; }
address p { margin: 0.35rem 0; }

.ein {
  background: var(--navy);
  color: #fff;
  border-radius: var(--radius);
  padding: 1.3rem 1.5rem;
}

.ein h2 {
  color: #fff;
  border-left-color: var(--gold);
}

.ein p { margin: 0; }

.site-footer {
  background: var(--navy-deep);
  color: #d7deea;
  text-align: center;
  padding: 1.6rem 1.25rem 2rem;
  font-size: 0.92rem;
}

.site-footer p { margin: 0.35rem 0; }
.site-footer a { color: #f0d48a; }

@media (max-width: 720px) {
  .logo { width: 132px; height: 132px; }
  .gallery { grid-template-columns: 1fr; }
  .gallery img { aspect-ratio: 16 / 11; }
  .actions { grid-template-columns: 1fr; }
  nav a { padding: 0.5rem 0.7rem; }
}

@media (min-width: 721px) and (max-width: 900px) {
  .gallery { grid-template-columns: 1fr 1fr; }
}

.social { margin: 0.85rem 0 0; }
.social a {
  display: inline-block;
  color: #f0d48a;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 0.35rem 0.85rem;
  border: 1px solid rgba(240, 212, 138, 0.45);
  border-radius: 999px;
}
.social a:hover,
.social a:focus {
  color: #fff;
  background: rgba(240, 212, 138, 0.15);
  border-color: #f0d48a;
}
.site-footer .social { margin: 0 0 0.7rem; }
