:root {
  --navy: #0f2942;
  --navy-deep: #081824;
  --gold: #c9a227;
  --gold-light: #e8d48a;
  --cream: #f7f4ed;
  --white: #fff;
  --text: #2c3e50;
  --muted: #5a6b7d;
  --radius: 12px;
  --shadow: 0 18px 40px rgba(15, 41, 66, 0.12);
  --max: 1120px;
  --scroll-offset: 2rem;
}

*, *::before, *::after { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--scroll-offset);
}
section[id],
footer[id] {
  scroll-margin-top: var(--scroll-offset);
}
body {
  margin: 0;
  font-family: "Source Sans 3", system-ui, sans-serif;
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--cream);
}

h1, h2, h3, h4, .brand {
  font-family: Fraunces, Georgia, serif;
  font-weight: 700;
  line-height: 1.2;
  color: var(--navy);
}

a { color: var(--navy); }
a:hover { color: var(--gold); }

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

/* Top bar */
.topbar {
  background: var(--navy-deep);
  color: rgba(255,255,255,0.88);
  font-size: 0.9rem;
  padding: 0.45rem 1.25rem;
}
.topbar-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  justify-content: space-between;
  align-items: center;
}
.topbar a { color: var(--gold-light); text-decoration: none; }
.topbar a:hover { text-decoration: underline; }

/* Header / nav */
header.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(247, 244, 237, 0.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(15, 41, 66, 0.08);
}
.header-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0.85rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.logo-block {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: inherit;
}
.logo-mark {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--navy), #1a4a6e);
  color: var(--gold);
  display: grid;
  place-items: center;
  font-family: Fraunces, serif;
  font-weight: 700;
  font-size: 1.1rem;
}
.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}
.logo-text strong {
  font-family: Fraunces, serif;
  font-size: 1rem;
  color: var(--navy);
  letter-spacing: 0.02em;
}
.logo-text span {
  font-size: 0.75rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

nav.main-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1.25rem;
  align-items: center;
}
nav.main-nav a {
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--navy);
  padding: 0.35rem 0;
  border-bottom: 2px solid transparent;
}
nav.main-nav a:hover,
nav.main-nav a:focus {
  border-bottom-color: var(--gold);
  color: var(--navy);
}

.nav-toggle {
  display: none;
  background: var(--navy);
  color: var(--white);
  border: none;
  padding: 0.55rem 0.9rem;
  border-radius: 8px;
  font-size: 0.9rem;
  cursor: pointer;
  font-family: inherit;
}

@media (max-width: 900px) {
  .nav-toggle { display: block; }
  nav.main-nav {
    display: none;
    width: 100%;
    padding: 1rem 0 0;
  }
  nav.main-nav.open { display: block; }
  nav.main-nav ul { flex-direction: column; align-items: flex-start; }
  .header-inner { flex-wrap: wrap; }
}

/* Hero */
.hero {
  position: relative;
  min-height: min(88vh, 720px);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 4rem 1.5rem;
  color: var(--white);
}
.hero-bg {
  position: absolute;
  inset: 0;
  background: var(--navy-deep) url("../images/hero.jpg") center / cover no-repeat;
}
.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, rgba(8, 24, 36, 0.82) 0%, rgba(15, 41, 66, 0.55) 45%, rgba(8, 24, 36, 0.75) 100%);
}
.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 820px;
}
.hero-kicker {
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.78rem;
  color: var(--gold-light);
  margin-bottom: 0.75rem;
}
.hero h1 {
  color: var(--white);
  font-size: clamp(2rem, 5vw, 3.25rem);
  margin: 0 0 1rem;
  text-shadow: 0 2px 24px rgba(0,0,0,0.25);
}
.hero p.lead {
  font-size: 1.15rem;
  opacity: 0.95;
  margin: 0 0 2rem;
  max-width: 540px;
  margin-left: auto;
  margin-right: auto;
}
.btn {
  display: inline-block;
  padding: 0.85rem 1.75rem;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
  transition: transform 0.15s, box-shadow 0.15s;
}
.btn-primary {
  background: var(--gold);
  color: var(--navy-deep);
  box-shadow: 0 4px 20px rgba(201, 162, 39, 0.45);
}
.btn-primary:hover {
  transform: translateY(-2px);
  color: var(--navy-deep);
  box-shadow: 0 8px 28px rgba(201, 162, 39, 0.5);
}
.btn-ghost {
  border: 2px solid rgba(255,255,255,0.6);
  color: var(--white);
  margin-left: 0.5rem;
}
.btn-ghost:hover {
  background: rgba(255,255,255,0.12);
  color: var(--white);
}
@media (max-width: 520px) {
  .btn-ghost { margin: 0.75rem 0 0; display: block; }
}

/* Sections */
section {
  padding: 4rem 1.25rem;
}
.section-inner {
  max-width: var(--max);
  margin: 0 auto;
}
.section-title {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  margin: 0 0 0.5rem;
  text-align: center;
}
.section-desc {
  text-align: center;
  color: var(--muted);
  max-width: 560px;
  margin: 0 auto 2.5rem;
}

.bg-white { background: var(--white); }
.bg-cream { background: var(--cream); }

/* About grid */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 2.5rem;
  align-items: start;
}
@media (max-width: 860px) {
  .about-grid { grid-template-columns: 1fr; }
}
.about-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow);
}
.about-card h2 { margin-top: 0; font-size: 1.5rem; }
.about-visual {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  position: relative;
}
.about-visual img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.about-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1.25rem 1.5rem;
  background: linear-gradient(transparent, rgba(8,24,36,0.9));
  color: var(--white);
}
.about-caption em { color: var(--gold-light); font-style: normal; font-weight: 600; }
.about-caption h3 { color: var(--white); margin: 0.25rem 0 0; font-size: 1.35rem; }

/* News */
.news-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.75rem;
}
@media (max-width: 700px) {
  .news-grid { grid-template-columns: 1fr; }
}
.news-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
}
.news-card .thumb {
  aspect-ratio: 16/10;
  overflow: hidden;
}
.news-card .thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
}
.news-card:hover .thumb img { transform: scale(1.04); }
.news-body { padding: 1.35rem 1.5rem 1.5rem; flex: 1; display: flex; flex-direction: column; }
.tag {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gold);
  font-weight: 700;
}
.news-body h3 { margin: 0.4rem 0; font-size: 1.2rem; }
.news-body h3 a { text-decoration: none; color: var(--navy); }
.news-body h3 a:hover { color: var(--gold); }
.meta { font-size: 0.88rem; color: var(--muted); margin-top: auto; }

/* Gallery */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
@media (max-width: 768px) {
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 420px) {
  .gallery-grid { grid-template-columns: 1fr; }
}
.gallery-item {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 1;
  box-shadow: 0 8px 24px rgba(15,41,66,0.1);
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s;
}
.gallery-item:hover img { transform: scale(1.06); }
.gallery-item figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 0.75rem 1rem;
  background: linear-gradient(transparent, rgba(8,24,36,0.88));
  color: var(--white);
  font-size: 0.88rem;
  font-weight: 600;
}

/* Mission */
.mission {
  position: relative;
  padding: 4.5rem 1.25rem;
  color: var(--white);
  text-align: center;
}
.mission-bg {
  position: absolute;
  inset: 0;
  background: var(--navy) url("../images/mission-bg.jpg") center / cover no-repeat;
}
.mission-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(8, 24, 36, 0.78);
}
.mission .section-inner { position: relative; z-index: 1; max-width: 720px; }
.mission h2 { color: var(--white); }
.mission p { font-size: 1.1rem; opacity: 0.95; margin: 0; }

/* Contact / footer */
footer.site-footer {
  background: var(--navy-deep);
  color: rgba(255,255,255,0.85);
  padding: 3rem 1.25rem 2rem;
}
.footer-grid {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
@media (max-width: 768px) {
  .footer-grid { grid-template-columns: 1fr; text-align: center; }
}
footer h4 {
  color: var(--gold-light);
  font-family: Fraunces, serif;
  margin: 0 0 1rem;
  font-size: 1.1rem;
}
footer a { color: var(--gold-light); }
footer p { margin: 0; font-size: 0.95rem; line-height: 1.7; }
.socials {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1rem;
}
.footer-grid .socials { justify-content: center; }
@media (min-width: 769px) {
  .footer-col:first-child .socials { justify-content: flex-start; }
}
.socials a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: rgba(255,255,255,0.08);
  color: var(--white);
  text-decoration: none;
  font-weight: 700;
  font-size: 0.8rem;
  transition: background 0.2s;
}
.socials a:hover { background: var(--gold); color: var(--navy-deep); }
.footer-bottom {
  max-width: var(--max);
  margin: 2.5rem auto 0;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.12);
  text-align: center;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.55);
}
.footer-bottom a { color: rgba(255,255,255,0.65); }
.footer-credit {
  display: inline-block;
  margin-top: 0.5rem;
}

.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.visible {
  opacity: 1;
  transform: none;
}

/* Article pages */
.article-hero {
  position: relative;
  padding: 15rem 1.25rem 15rem;
  background: var(--navy-deep);
  color: var(--white);
  text-align: center;
}
.article-hero-inner {
  max-width: 780px;
  margin: 0 auto;
}
.article-hero .tag {
  display: inline-block;
  margin-bottom: 1rem;
}
.article-hero h1 {
  color: var(--white);
  font-size: clamp(1.85rem, 4vw, 2.65rem);
  margin: 0 0 1rem;
}
.article-lead {
  font-size: 1.12rem;
  opacity: 0.92;
  margin: 0;
  line-height: 1.7;
}
.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.25rem;
  justify-content: center;
  margin-top: 1.25rem;
  font-size: 0.88rem;
  color: var(--gold-light);
}
.article-body {
  max-width: 920px;
  margin: 0 auto;
  padding: 3rem 1.25rem;
}
.article-body h2 {
  font-size: clamp(1.35rem, 2.5vw, 1.75rem);
  margin: 2.75rem 0 1rem;
}
.article-body h2:first-child { margin-top: 0; }
.article-body h3 {
  font-size: 1.15rem;
  margin: 1.75rem 0 0.75rem;
  color: var(--navy);
}
.article-body p {
  margin: 0 0 1.15rem;
}
.article-body ul,
.article-body ol {
  margin: 0 0 1.25rem;
  padding-left: 1.35rem;
}
.article-body li { margin-bottom: 0.45rem; }
.insight-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin: 2rem 0;
}
@media (max-width: 768px) {
  .insight-grid { grid-template-columns: 1fr; }
}
.insight-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.35rem 1.25rem;
  box-shadow: var(--shadow);
  border-top: 3px solid var(--gold);
}
.insight-card strong {
  display: block;
  font-family: Fraunces, serif;
  color: var(--navy);
  margin-bottom: 0.4rem;
  font-size: 1rem;
}
.insight-card p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--muted);
}
.pull-quote {
  margin: 2rem 0;
  padding: 1.5rem 1.75rem;
  border-left: 4px solid var(--gold);
  background: var(--white);
  border-radius: 0 var(--radius) var(--radius) 0;
  box-shadow: var(--shadow);
  font-family: Fraunces, Georgia, serif;
  font-size: 1.15rem;
  color: var(--navy);
  line-height: 1.5;
}
.article-table-wrap {
  overflow-x: auto;
  margin: 2rem 0;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.article-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
  font-size: 0.95rem;
}
.article-table th,
.article-table td {
  padding: 0.85rem 1rem;
  text-align: left;
  border-bottom: 1px solid rgba(15, 41, 66, 0.08);
  vertical-align: top;
}
.article-table th {
  background: var(--navy);
  color: var(--white);
  font-family: Fraunces, serif;
  font-weight: 700;
  font-size: 0.9rem;
}
.article-table tr:last-child td { border-bottom: none; }
.article-table tbody tr:nth-child(even) { background: rgba(247, 244, 237, 0.6); }
.faq-section {
  background: var(--white);
  padding: 3.5rem 1.25rem;
}
.faq-inner {
  max-width: 760px;
  margin: 0 auto;
}
.faq-inner > h2 {
  text-align: center;
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin: 0 0 2rem;
}
.faq-item {
  margin-bottom: 1.75rem;
  padding-bottom: 1.75rem;
  border-bottom: 1px solid rgba(15, 41, 66, 0.1);
}
.faq-item:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}
.faq-item h3 {
  font-size: 1.1rem;
  margin: 0 0 0.65rem;
}
.faq-item p {
  margin: 0;
  color: var(--muted);
}
.article-nav-link {
  display: inline-block;
  margin-top: 2rem;
  font-weight: 600;
  text-decoration: none;
  color: var(--navy);
}
.article-nav-link:hover { color: var(--gold); }
