:root {
  --ink: #0b2e2e; /* deep green-blue */
  --navy: #0c2440; /* deep navy */
  --gold: #b08d57; /* accent gold */
  --parchment: #f5f0e8; /* parchment */
  --paper: #fffdf8;
  --text: #1c1c1c;
  --muted: #6a6a6a;
  --card: #ffffff;
  --maxw: 72ch;
  --radius: 10px;
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: var(--parchment);
  color: var(--text);
  font-family: "Source Sans 3", system-ui, -apple-system, Segoe UI, Roboto,
    Arial, sans-serif;
  line-height: 1.7;
}
img {
  max-width: 100%;
  display: block;
}

/* Accessibility */
.skip-link {
  position: absolute;
  left: -9999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.skip-link:focus {
  left: 1rem;
  top: 1rem;
  width: auto;
  height: auto;
  background: #fff;
  padding: 0.5rem 0.75rem;
  border: 2px solid var(--ink);
}
:focus {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

/* Header & Nav */
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: linear-gradient(
    180deg,
    rgba(12, 36, 64, 0.96),
    rgba(12, 36, 64, 0.92)
  );
  color: #fff;
  border-bottom: 4px double var(--gold);
}
.brand {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.25rem;
}
.logo {
  width: 56px;
  height: 56px;
  object-fit: cover;
  border-radius: 50%;
  border: 2px solid var(--gold);
  background: #eee;
}
.brand-text .site-title {
  font-family: "Lora", serif;
  font-weight: 700;
  letter-spacing: 0.5px;
  margin: 0.1rem 0 0 0;
}
.site-subtitle {
  margin: 0.15rem 0 0 0;
  color: #e6e6e6;
}
.site-nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1rem;
  list-style: none;
  margin: 0;
  padding: 0.5rem 1.25rem 1rem;
}
.site-nav a {
  color: #eaeaea;
  text-decoration: none;
  padding: 0.35rem 0.6rem;
  border-radius: 6px;
}
.site-nav a:hover {
  background: rgba(255, 255, 255, 0.08);
}

/* Hero (Innovation 1: double frame + dropcap) */
.hero {
  position: relative;
  isolation: isolate;
  background: var(--navy);
  color: #fff;
}
.hero-media {
  position: absolute;
  inset: 0;
  background: url("background.jpg") center/cover no-repeat;
  opacity: 0.25;
  filter: grayscale(40%) contrast(110%);
}
.hero-content {
  position: relative;
  max-width: 1100px;
  margin: 0 auto;
  padding: 5rem 1.25rem 3.5rem;
}
.hero-title {
  font-family: "Lora", serif;
  font-size: clamp(1.6rem, 2.5vw + 1rem, 2.6rem);
  line-height: 1.25;
  border: 2px solid var(--gold);
  padding: 1.2rem 1rem;
  border-radius: 10px;
  box-shadow: inset 0 0 0 6px rgba(176, 141, 87, 0.25);
}
.dropcap {
  float: left;
  font-size: 3.2rem;
  line-height: 1;
  color: var(--gold);
  margin-right: 0.4rem;
}
.hero-lead {
  max-width: var(--maxw);
  margin: 1rem auto 1.25rem;
  color: #f0f0f0;
}
.hero-cta {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 0.9rem;
  border-radius: 8px;
  border: 2px solid transparent;
  cursor: pointer;
  text-decoration: none;
  font-weight: 600;
}
.btn-primary {
  background: var(--gold);
  color: #1b1b1b;
}
.btn-outline {
  border-color: var(--gold);
  color: #fff;
}
.btn-outline:hover {
  background: rgba(176, 141, 87, 0.2);
}

/* Section base */
.section-title {
  font-family: "Lora", serif;
  color: var(--navy);
  font-size: 1.5rem;
  margin: 2.25rem auto 1rem;
  max-width: 1100px;
  padding: 0 1.25rem;
}

/* Values grid (Innovation 2: lift-on-hover classic cards) */
.values {
  background: var(--paper);
}
.grid {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  gap: 1rem;
  padding: 0 1.25rem 2rem;
}
.pillars {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}
.card {
  background: var(--card);
  border: 1px solid #e4dfd6;
  border-radius: var(--radius);
  padding: 1rem;
  box-shadow: var(--shadow);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.12);
}
.card h4 {
  margin: 0.2rem 0 0.4rem;
  font-family: "Lora", serif;
  color: var(--ink);
}
.card p {
  color: var(--muted);
}

/* About two columns */
.two-col {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.25rem 2rem;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 1.25rem;
}
.col-media img {
  clip-path: inset(0% 0% 5% 5%);
}
.framed {
  border: 1px solid #e4dfd6;
  border-radius: var(--radius);
  padding: 0.5rem;
  background: linear-gradient(#fff, #faf7f2);
}
.framed img {
  border-radius: 6px;
}
.framed figcaption {
  font-size: 0.9rem;
  color: var(--muted);
  margin-top: 0.35rem;
}

/* Programs grid */
.programs-grid {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

/* History timeline (Innovation 3: pure CSS timeline) */
.history {
  background: var(--paper);
}
.timeline {
  max-width: 900px;
  margin: 0 auto 1.5rem;
  list-style: none;
  padding: 0 1.25rem;
  position: relative;
}
.timeline:before {
  content: "";
  position: absolute;
  left: calc(1.25rem + 8px);
  top: 0.3rem;
  bottom: 0.3rem;
  width: 2px;
  background: #d9ccb6;
}
.timeline li {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 0.75rem;
  position: relative;
  padding: 0.5rem 0;
}
.timeline li:before {
  content: "";
  position: absolute;
  left: calc(1.25rem + 4px);
  top: 1rem;
  width: 10px;
  height: 10px;
  background: var(--gold);
  border-radius: 50%;
  box-shadow: 0 0 0 3px #f3eadf;
}
.timestamp {
  font-weight: 700;
  color: var(--navy);
  font-family: "Lora", serif;
}
.event {
  color: var(--text);
}

/* Gallery (≤3 images; Innovation 4: beveled caption strip) */
.gallery {
  max-width: 1100px;
  margin: 0 auto 2rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
  padding: 0 1.25rem;
}
.gallery img {
  clip-path: inset(0% 0% 5% 5%);
}
.gallery figure {
  position: relative;
}
.gallery figcaption {
  position: absolute;
  left: 0;
  bottom: 0;
  right: 0;
  background: linear-gradient(
    135deg,
    rgba(12, 36, 64, 0.92),
    rgba(12, 36, 64, 0.7)
  );
  color: #fff;
  padding: 0.35rem 0.6rem;
  border-top: 2px solid var(--gold);
}

/* Forms */
.form {
  max-width: 680px;
  margin: 0 auto 2rem;
  padding: 0 1.25rem;
}
.form-row {
  display: flex;
  flex-direction: column;
  margin: 0.6rem 0;
}
label {
  font-weight: 600;
  color: var(--ink);
}
input,
select,
textarea {
  background: #fff;
  border: 1px solid #d8d1c4;
  border-radius: 8px;
  padding: 0.6rem 0.7rem;
  font: inherit;
}
input:focus,
select:focus,
textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(176, 141, 87, 0.25);
}
.form-actions {
  margin-top: 0.75rem;
}

/* Contact card */
.contact-card {
  max-width: 680px;
  margin: 0 auto 2.5rem;
  padding: 1rem;
  border: 1px solid #e4dfd6;
  border-radius: 12px;
  background: linear-gradient(#fff, #faf7f2);
  box-shadow: var(--shadow);
}
.contact-row {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.25rem 0;
  color: var(--ink);
}

/* Footer */
.site-footer {
  background: var(--navy);
  color: #eaeaea;
  border-top: 4px double var(--gold);
  padding: 1.25rem;
  text-align: center;
}

/* Responsive */
@media (max-width: 920px) {
  .two-col {
    grid-template-columns: 1fr;
  }
  .timeline {
    padding-left: 2rem;
  }
  .timeline:before {
    left: 2rem;
  }
  .timeline li {
    grid-template-columns: 1fr;
  }
}
