/* ============================================================
   SAPE — site.css
   Lightweight, custom stylesheet. No framework dependency.
   ============================================================ */

:root {
  --green: #1f7a4d;
  --green-dark: #0f4a2c;
  --green-light: #e8f5ee;
  --maroon: #9c2b3c;
  --maroon-dark: #6e1c29;
  --maroon-light: #fbe9ec;
  --gold: #c9932f;
  --gold-light: #fdf3df;
  --ink: #201512;
  --ink-soft: #5f5450;
  --paper: #ffffff;
  --paper-soft: #fbf6f0;
  --cream: #f8f1e4;
  --border: #ece3d6;
  --radius: 14px;
  --shadow: 0 4px 20px rgba(60, 30, 20, 0.07);
  --shadow-lg: 0 24px 64px rgba(60, 30, 20, 0.18);
  --max: 1320px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  font-size: 16px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}

body {
  margin: 0;
  font-family: "Inter", "Segoe UI", Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  letter-spacing: -0.01em;
}

/* ---------- Reveal-on-scroll ----------
   Content is visible by default so it never depends on JS running.
   The "js-reveal" class is added by site.js only once it has verified
   IntersectionObserver support, opting elements into the animated state. */
.js-reveal .reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}
.js-reveal .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1.is-visible { transition-delay: 0.1s; }
.reveal-delay-2.is-visible { transition-delay: 0.2s; }
.reveal-delay-3.is-visible { transition-delay: 0.3s; }

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes floatSlow {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-14px); }
}
@keyframes kenburns {
  0% { transform: scale(1.08) translate(0,0); }
  100% { transform: scale(1.16) translate(-1%, -1%); }
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.container {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 32px;
}
@media (min-width: 1600px) {
  .container { max-width: 1480px; padding: 0 40px; }
}
@media (max-width: 700px) {
  .container { padding: 0 20px; }
}

h1, h2, h3, h4 {
  font-family: "Fraunces", "Georgia", serif;
  font-optical-sizing: auto;
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0 0 16px;
  color: var(--ink);
}

h1 { font-size: clamp(2.6rem, 7vw, 4.6rem); font-weight: 600; }
h2 { font-size: clamp(2rem, 4.6vw, 3.1rem); }
h3 { font-size: 1.3rem; font-family: "Inter", "Segoe UI", Arial, sans-serif; font-weight: 700; letter-spacing: -0.01em; }
p { margin: 0 0 16px; color: var(--ink-soft); }

.eyebrow {
  display: inline-block;
  font-family: "Inter", "Segoe UI", Arial, sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--maroon);
  background: var(--maroon-light);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 14px;
}

.section {
  padding: 100px 0;
}
@media (max-width: 700px) {
  .section { padding: 52px 0; }
  .section-head { margin-bottom: 32px; }
}
.section-soft {
  background: var(--paper-soft);
  background-image: radial-gradient(circle, rgba(156,43,60,0.05) 1.5px, transparent 1.5px);
  background-size: 24px 24px;
}
.section-dark {
  background: var(--ink);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.section-dark::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,0.06) 1.5px, transparent 1.5px);
  background-size: 28px 28px;
}
.section-dark .container { position: relative; z-index: 1; }
.section-dark h2, .section-dark h3, .section-dark p { color: #fff; }
.section-dark p { color: rgba(255,255,255,0.78); }

/* Decorative divider motif — used between major sections for a considered, non-template feel */
.motif-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin: 0 0 32px;
}
.motif-divider::before, .motif-divider::after {
  content: "";
  width: 40px;
  height: 1px;
  background: var(--gold);
}
.motif-divider span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
  transform: rotate(45deg);
}

.section-maroon {
  background: linear-gradient(165deg, var(--maroon-dark), var(--maroon) 60%);
  position: relative;
}
.section-maroon::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,0.08) 1.5px, transparent 1.5px);
  background-size: 28px 28px;
  opacity: 0.5;
}
.section-maroon .container { position: relative; z-index: 1; }
.section-maroon h2 { color: #fff; }
.section-maroon p { color: rgba(255,255,255,0.85); }
.eyebrow-light { background: rgba(255,255,255,0.16); color: #fff; }
.section-maroon .card { background: #fff; }
.section-maroon .card h3 { color: var(--ink); }
.section-maroon .card p { color: var(--ink-soft); }
.section-maroon .card a { color: var(--green); }

.photo-frame {
  position: relative;
  padding: 14px;
}
.photo-frame::before {
  content: "";
  position: absolute;
  inset: 0;
  border: 2px solid var(--gold);
  border-radius: var(--radius);
  transform: translate(14px, 14px);
  z-index: 0;
}
.photo-frame img { position: relative; z-index: 1; border-radius: var(--radius); box-shadow: var(--shadow-lg); }

.showcase-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 18px;
  height: 520px;
}
.showcase-main { grid-row: 1 / 3; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lg); }
.showcase-side { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.showcase-main img, .showcase-side img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.showcase-main:hover img, .showcase-side:hover img { transform: scale(1.05); }
.showcase-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: var(--maroon);
  color: #fff;
  font-weight: 700;
  border-radius: var(--radius);
  transition: background 0.3s ease;
}
.showcase-cta:hover { background: var(--maroon-dark); }
.gallery-grid {
  columns: 4;
  column-gap: 16px;
}
.gallery-tile {
  display: block;
  break-inside: avoid;
  margin-bottom: 16px;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  position: relative;
}
.gallery-tile img {
  width: 100%;
  display: block;
  transition: transform 0.5s var(--ease);
}
.gallery-tile:hover img { transform: scale(1.06); }
.gallery-tile::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(20,10,8,0.35) 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
}
.gallery-tile:hover::after { opacity: 1; }
@media (max-width: 900px) { .gallery-grid { columns: 3; } }
@media (max-width: 640px) { .gallery-grid { columns: 2; column-gap: 10px; } .gallery-tile { margin-bottom: 10px; } }

@media (max-width: 700px) {
  .showcase-grid { grid-template-columns: 1fr; grid-template-rows: auto; height: auto; }
  .showcase-main { grid-row: auto; aspect-ratio: 4/3; }
  .showcase-side { aspect-ratio: 4/3; }
  .showcase-cta { padding: 24px; }
}

/* ---------- Process / storytelling steps ---------- */
.process-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  position: relative;
}
.process-row::before {
  content: "";
  position: absolute;
  top: 28px;
  left: 12%;
  right: 12%;
  height: 2px;
  background: repeating-linear-gradient(90deg, var(--gold) 0 8px, transparent 8px 16px);
}
.process-step { position: relative; text-align: center; }
.process-num {
  width: 56px;
  height: 56px;
  margin: 0 auto 20px;
  border-radius: 50%;
  background: var(--maroon);
  color: #fff;
  font-family: "Fraunces", serif;
  font-weight: 700;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 1;
  box-shadow: 0 8px 24px rgba(156,43,60,0.3);
}
.process-step h3 { margin-bottom: 8px; }
@media (max-width: 800px) {
  .process-row { grid-template-columns: 1fr; gap: 36px; }
  .process-row::before { display: none; }
}

/* ---------- CSR partner strip ---------- */
.partner-strip {
  background: var(--ink);
  position: relative;
  overflow: hidden;
}
.partner-strip::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(201,147,47,0.12) 1.5px, transparent 1.5px);
  background-size: 26px 26px;
}
.partner-strip .container { position: relative; z-index: 1; }
.partner-strip h2 { color: #fff; }
.partner-strip p { color: rgba(255,255,255,0.75); }
.partner-wordmarks {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 28px;
  padding: 36px 0;
  border-top: 1px solid rgba(255,255,255,0.12);
  border-bottom: 1px solid rgba(255,255,255,0.12);
}
.partner-wordmarks span:not(.partner-divider) {
  font-family: "Fraunces", serif;
  font-weight: 600;
  font-size: 1.15rem;
  color: rgba(255,255,255,0.9);
  letter-spacing: 0.01em;
}
.partner-divider {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--gold);
}
@media (max-width: 700px) {
  .partner-wordmarks { gap: 16px; padding: 28px 0; }
  .partner-wordmarks span:not(.partner-divider) { font-size: 1rem; text-align: center; }
  .partner-divider { display: none; }
}

/* ---------- Credibility stat trio (CSR / govt band) ---------- */
.credibility-trio {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin: 0 0 40px;
}
.credibility-trio-item {
  text-align: center;
  padding: 28px 16px;
  border-radius: var(--radius);
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
}
.credibility-trio-num {
  font-family: "Fraunces", serif;
  font-weight: 700;
  font-size: clamp(2rem, 4vw, 2.6rem);
  color: var(--gold);
  line-height: 1;
  margin-bottom: 8px;
}
.credibility-trio-lbl {
  font-size: 0.88rem;
  font-weight: 600;
  color: rgba(255,255,255,0.85);
}
@media (max-width: 700px) {
  .credibility-trio { grid-template-columns: 1fr; gap: 14px; margin-bottom: 28px; }
  .credibility-trio-item { padding: 22px 16px; }
}

/* ---------- Partner editorial rows (partners.html) ---------- */
.partner-row {
  padding: 56px 0;
  border-bottom: 1px solid var(--border);
}
.partner-row-soft { background: var(--paper-soft); }
.partner-row-inner {
  display: grid;
  grid-template-columns: 140px 1fr;
  align-items: center;
  gap: 40px;
}
.partner-row-num {
  font-family: "Fraunces", serif;
  font-weight: 700;
  font-size: 3.4rem;
  color: var(--gold);
  opacity: 0.55;
  line-height: 1;
}
.partner-row-body h3 { margin-bottom: 10px; }
.partner-row-body p { margin-bottom: 0; max-width: 640px; }
@media (max-width: 700px) {
  .partner-row { padding: 40px 0; }
  .partner-row-inner { grid-template-columns: 1fr; gap: 12px; }
  .partner-row-num { font-size: 2.4rem; }
}

/* ---------- Government record ledger (partners.html) ---------- */
.gov-band {
  background: var(--cream);
  background-image:
    linear-gradient(var(--border) 1px, transparent 1px),
    linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 100% 44px, 44px 100%;
  background-position: 0 0;
  position: relative;
}
.gov-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, var(--cream) 0%, rgba(248,241,228,0.4) 15%, rgba(248,241,228,0.4) 85%, var(--cream) 100%);
}
.gov-band .container { position: relative; z-index: 1; }

.gov-seal {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: "Fraunces", serif;
  font-weight: 600;
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--maroon-dark);
  border: 1.5px solid var(--maroon-dark);
  border-radius: 999px;
  padding: 8px 18px 8px 8px;
  background: rgba(255,255,255,0.6);
}
.gov-seal .gov-seal-dot {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--maroon-dark);
  color: var(--gold-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
}

.gov-ledger {
  margin-top: 40px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.gov-ledger-head {
  display: grid;
  grid-template-columns: 100px 1fr 200px 140px;
  gap: 20px;
  padding: 18px 32px;
  background: var(--ink);
  color: rgba(255,255,255,0.6);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.gov-entry {
  display: grid;
  grid-template-columns: 100px 1fr 200px 140px;
  gap: 20px;
  align-items: start;
  padding: 24px 32px;
  border-top: 1px solid var(--border);
  transition: background 0.25s ease;
}
.gov-entry:hover { background: var(--paper-soft); }
.gov-entry-year {
  font-family: "Fraunces", serif;
  font-weight: 700;
  font-size: 1.6rem;
  color: var(--gold);
  line-height: 1.1;
}
.gov-entry-body h4 {
  font-family: "Inter", sans-serif;
  font-weight: 700;
  font-size: 1rem;
  margin: 0 0 6px;
  color: var(--ink);
}
.gov-entry-body p { margin: 0; font-size: 0.92rem; }
.gov-entry-locations {
  font-size: 0.85rem;
  color: var(--ink-soft);
  line-height: 1.5;
}
.gov-entry-target {
  text-align: right;
}
.gov-entry-target .num {
  font-family: "Fraunces", serif;
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--maroon);
  line-height: 1;
}
.gov-entry-target .lbl {
  display: block;
  font-size: 0.72rem;
  color: var(--ink-soft);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-top: 4px;
}
.gov-ledger-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 22px 32px;
  background: var(--gold-light);
  border-top: 2px solid var(--gold);
  flex-wrap: wrap;
  gap: 12px;
}
.gov-ledger-foot .gov-total-num {
  font-family: "Fraunces", serif;
  font-weight: 800;
  font-size: 2rem;
  color: var(--maroon-dark);
}
.gov-ledger-head-3col,
.gov-entry-3col.gov-entry { grid-template-columns: 1fr 220px 140px; }
@media (max-width: 800px) {
  .gov-ledger-head { display: none; }
  .gov-entry,
  .gov-entry-3col.gov-entry {
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 20px;
  }
  .gov-entry-target { text-align: left; }
  .gov-entry-target .num { font-size: 1.3rem; }
  .gov-ledger-foot { padding: 20px; text-align: center; justify-content: center; }
}

.gov-cert-strip {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  margin-top: 28px;
  padding: 24px 28px;
  background: #fff;
  border: 1px solid var(--border);
  border-left: 4px solid var(--maroon);
  border-radius: 10px;
  box-shadow: var(--shadow);
}
.gov-cert-strip i { font-size: 1.3rem; color: var(--maroon); margin-top: 3px; }
.gov-cert-strip p { margin: 0; font-size: 0.95rem; }
.gov-cert-strip strong { color: var(--ink); }

.section-head {
  max-width: 680px;
  margin: 0 auto 44px;
  text-align: center;
}
.section-head p { font-size: 1.05rem; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  border-radius: 999px;
  background: var(--green);
  color: #fff;
  font-weight: 600;
  font-size: 0.95rem;
  border: 2px solid var(--green);
  cursor: pointer;
  transition: all 0.3s var(--ease);
}
.btn:hover { background: var(--green-dark); border-color: var(--green-dark); transform: translateY(-2px); box-shadow: 0 10px 24px rgba(20,90,55,0.25); }
.btn-outline {
  background: transparent;
  color: var(--green);
}
.btn-outline:hover { background: var(--green); color: #fff; }
.btn-light {
  background: #fff;
  color: var(--green);
  border-color: #fff;
}
.btn-light:hover { background: transparent; color: #fff; }

/* ---------- Top bar ---------- */
.topbar {
  background: var(--ink);
  color: rgba(255,255,255,0.85);
  font-size: 0.85rem;
}
.topbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 8px;
  padding-bottom: 8px;
  flex-wrap: wrap;
  gap: 8px;
}
.topbar a { color: rgba(255,255,255,0.85); }
.topbar a:hover { color: #fff; }
.topbar-links { display: flex; gap: 20px; flex-wrap: wrap; }
.topbar-links span { display: inline-flex; align-items: center; gap: 6px; }
@media (max-width: 560px) {
  .topbar-links.topbar-location { display: none; }
  .topbar .container { justify-content: center; }
  .topbar-links { gap: 14px; font-size: 0.78rem; }
}

/* ---------- Header / nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(10px);
  box-shadow: 0 1px 0 var(--border);
  transition: box-shadow 0.3s ease;
}
.nav-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0;
}
.logo { display: flex; align-items: center; gap: 12px; }
.logo img { height: 52px; width: 52px; }
.logo .logo-name { font-weight: 800; font-size: 1.05rem; color: var(--green-dark); line-height: 1.2; }
.logo .logo-tag { font-size: 0.72rem; color: var(--ink-soft); font-weight: 500; }
@media (max-width: 500px) { .logo .logo-name-wrap { display: none; } }
.logo-text {
  font-weight: 800;
  font-size: 1.15rem;
  color: var(--green-dark);
  letter-spacing: 0.01em;
}
.main-nav ul {
  list-style: none;
  display: flex;
  gap: 8px;
  margin: 0;
  padding: 0;
  align-items: center;
}
.main-nav a {
  display: inline-block;
  padding: 10px 16px;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--ink);
  border-radius: 8px;
  transition: all 0.15s ease;
}
.main-nav a:hover { color: var(--green); background: var(--green-light); }
.main-nav li.active > a { color: var(--green); }
.main-nav li.has-sub { position: relative; }
.main-nav .sub-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: #fff;
  min-width: 220px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 8px;
  list-style: none;
  margin: 6px 0 0;
}
.main-nav li.has-sub:hover .sub-menu,
.main-nav li.has-sub:focus-within .sub-menu { display: block; }
.main-nav .sub-menu a { display: block; padding: 10px 12px; }
.main-nav .sub-menu li { width: 100%; }
.nav-cta { margin-left: 8px; }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.6rem;
  cursor: pointer;
  color: var(--ink);
}

@media (max-width: 900px) {
  .nav-toggle { display: block; }
  .main-nav {
    display: none;
    width: 100%;
    order: 3;
  }
  .main-nav.open { display: block; }
  .main-nav ul { flex-direction: column; align-items: stretch; gap: 0; padding: 10px 0; }
  .main-nav .sub-menu { display: block; position: static; box-shadow: none; margin: 0 0 0 12px; }
  .main-nav li.has-sub:hover .sub-menu { display: block; }
  .nav-row { flex-wrap: wrap; }
  .nav-cta { display: none; }
}

/* ---------- Hero ---------- */
.hero-split {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 640px) 1fr;
  min-height: 82vh;
  background: linear-gradient(165deg, var(--maroon-dark), var(--maroon) 65%);
  overflow: hidden;
}
.hero-split::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,0.09) 1.5px, transparent 1.5px);
  background-size: 28px 28px;
  pointer-events: none;
}
.hero-split-copy {
  display: flex;
  align-items: center;
  padding: 90px 5vw 90px 24px;
  position: relative;
  z-index: 2;
}
.hero-split-copy-inner { max-width: 560px; }
.hero-split .eyebrow {
  background: rgba(255,255,255,0.14);
  color: #fff;
  backdrop-filter: blur(6px);
  opacity: 0;
  animation: fadeUp 0.8s var(--ease) 0.1s forwards;
}
.hero-split h1 {
  color: #fff;
  font-size: clamp(2.3rem, 4.6vw, 3.4rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  opacity: 0;
  animation: fadeUp 0.9s var(--ease) 0.28s forwards;
}
.hero-split p.lead {
  color: rgba(255,255,255,0.88);
  font-size: 1.15rem;
  opacity: 0;
  animation: fadeUp 0.9s var(--ease) 0.46s forwards;
}
.hero-split .hero-actions {
  display: flex;
  gap: 14px;
  margin-top: 32px;
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeUp 0.9s var(--ease) 0.64s forwards;
}
.hero-split .btn-outline { color: #fff; border-color: rgba(255,255,255,0.55); }
.hero-split .btn-outline:hover { background: #fff; color: var(--maroon-dark); }
.hero-split-photo {
  position: relative;
  overflow: hidden;
}
.hero-split-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: kenburns 20s ease-in-out infinite alternate;
}
.hero-split-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(110,28,41,0.55) 0%, transparent 16%);
}
.hero-split-badge {
  position: absolute;
  left: 32px;
  bottom: 32px;
  z-index: 2;
  background: #fff;
  border-radius: var(--radius);
  padding: 18px 26px;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  animation: fadeUp 0.8s var(--ease) 0.9s forwards;
}
.hero-split-badge-num {
  display: block;
  font-family: "Fraunces", serif;
  font-weight: 700;
  font-size: 1.9rem;
  color: var(--maroon);
  line-height: 1;
}
.hero-split-badge-lbl {
  display: block;
  font-size: 0.8rem;
  color: var(--ink-soft);
  font-weight: 600;
  margin-top: 4px;
}
@media (max-width: 980px) {
  .hero-split { grid-template-columns: 1fr; min-height: auto; }
  .hero-split-copy { padding: 64px 24px 40px; }
  .hero-split-photo { height: 320px; }
  .hero-split-badge { left: 20px; bottom: 20px; padding: 14px 20px; }
  .hero-split-badge-num { font-size: 1.4rem; }
}

.hero-stats {
  position: relative;
  margin-top: -70px;
  z-index: 5;
}
.stat-card-row {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  opacity: 0;
  animation: fadeUp 0.8s var(--ease) 0.85s forwards;
}
.stat-card {
  padding: 32px 20px;
  text-align: center;
  border-right: 1px solid var(--border);
}
.stat-card:last-child { border-right: none; }
.stat-card .num {
  font-family: "Fraunces", serif;
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--green);
  line-height: 1.1;
  letter-spacing: -0.02em;
}
.stat-card:nth-child(2) .num { color: var(--maroon); }
.stat-card:nth-child(3) .num { color: var(--gold); }
.stat-card .label {
  font-size: 0.85rem;
  color: var(--ink-soft);
  font-weight: 600;
  margin-top: 6px;
}
@media (max-width: 700px) {
  .hero { min-height: auto; padding: 64px 0 80px; }
  .hero h1 { font-size: 1.9rem; }
  .hero p.lead { font-size: 1.02rem; }
  .scroll-cue { display: none; }
  .hero-stats { margin-top: 28px; }
  .stat-card-row { grid-template-columns: 1fr; }
  .stat-card { border-right: none; border-bottom: 1px solid var(--border); padding: 22px 20px; }
  .stat-card:last-child { border-bottom: none; }
}

/* ---------- Trust bar (highlights CSR / certified trainers / self-employment) ---------- */
.trust-bar {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 36px;
  margin-bottom: -8px;
}
.trust-chip {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 20px;
  border-radius: 999px;
  background: var(--gold-light);
  border: 1px solid rgba(201,147,47,0.35);
  color: var(--ink);
  font-size: 0.88rem;
  font-weight: 700;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.25s var(--ease);
}
.trust-chip i { color: var(--gold); font-size: 1rem; }
.trust-chip:hover { background: var(--gold); color: #fff; transform: translateY(-2px); box-shadow: var(--shadow); }
.trust-chip:hover i { color: #fff; }
@media (max-width: 700px) {
  .trust-bar { margin-top: 24px; gap: 10px; }
  .trust-chip { padding: 10px 16px; font-size: 0.82rem; width: 100%; justify-content: center; }
}

/* ---------- Breadcrumb (inner pages) ---------- */
.page-hero {
  position: relative;
  overflow: hidden;
  color: #fff;
  padding: 90px 0;
  text-align: center;
}
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--hero-img, linear-gradient(120deg,#1f7a4d,#145c39)) center/cover no-repeat;
  animation: kenburns 20s ease-in-out infinite alternate;
  z-index: 0;
}
.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(165deg, rgba(46,16,20,0.65), rgba(10,8,7,0.85));
  z-index: 1;
}
.page-hero .container { position: relative; z-index: 2; }
@media (max-width: 700px) {
  .page-hero { padding: 64px 0; }
  .page-hero::before { animation: none; }
}
.page-hero h1 {
  color: #fff;
  margin-bottom: 8px;
  opacity: 0;
  animation: fadeUp 0.7s var(--ease) 0.1s forwards;
}
.page-hero .crumbs {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.8);
  opacity: 0;
  animation: fadeUp 0.7s var(--ease) 0.25s forwards;
}
.page-hero .crumbs a { color: #fff; font-weight: 600; }
.page-hero .crumbs a:hover { text-decoration: underline; }

/* ---------- Grid / cards ---------- */
.grid {
  display: grid;
  gap: 28px;
}
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
}

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
@media (max-width: 900px) {
  .two-col { grid-template-columns: 1fr; gap: 32px; }
}
.two-col img { border-radius: var(--radius); box-shadow: var(--shadow); }

.card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
  position: relative;
  overflow: hidden;
}
.card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--maroon), var(--gold));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease);
}
.card:hover::before { transform: scaleX(1); }
.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}
.card h3 { margin-bottom: 10px; }
.card img { border-radius: var(--radius); margin-bottom: 18px; aspect-ratio: 4/3; object-fit: cover; width: 100%; transition: transform 0.5s var(--ease); }
.card:hover img { transform: scale(1.04); }

.icon-badge {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: var(--green-light);
  color: var(--green);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 16px;
}

/* ---------- Program tabs (Our Expertize) ---------- */
.program-nav {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 44px;
}
.program-nav button {
  padding: 12px 22px;
  border-radius: 999px;
  border: 2px solid var(--border);
  background: #fff;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  color: var(--ink-soft);
  transition: all 0.15s ease;
}
.program-nav button.active,
.program-nav button:hover {
  border-color: var(--green);
  color: var(--green);
  background: var(--green-light);
}
.program-panel { display: none; }
.program-panel.active { display: block; }
.program-panel ul.checklist {
  list-style: none;
  padding: 0;
  margin: 0;
}
.program-panel ul.checklist li {
  padding-left: 28px;
  position: relative;
  margin-bottom: 14px;
  color: var(--ink-soft);
}
.program-panel ul.checklist li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--green);
  font-weight: 800;
}

/* ---------- Gallery ---------- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
@media (max-width: 700px) {
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
}
.gallery-grid a {
  display: block;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  aspect-ratio: 4/3;
}
.gallery-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}
.gallery-grid a:hover img { transform: scale(1.05); }

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 44px;
}
@media (max-width: 900px) {
  .contact-grid { grid-template-columns: 1fr; }
}
.contact-info-card {
  background: var(--green-light);
  border-radius: var(--radius);
  padding: 32px;
}
.contact-info-card ul { list-style: none; padding: 0; margin: 0; }
.contact-info-card li {
  display: flex;
  gap: 14px;
  margin-bottom: 22px;
  align-items: flex-start;
}
.contact-info-card .ic {
  width: 40px; height: 40px;
  background: #fff;
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  color: var(--green);
  flex-shrink: 0;
}
form.contact-form { display: grid; gap: 16px; }
form.contact-form .row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 600px) { form.contact-form .row2 { grid-template-columns: 1fr; } }
form.contact-form input,
form.contact-form select,
form.contact-form textarea {
  width: 100%;
  padding: 13px 16px;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-family: inherit;
  font-size: 0.95rem;
  color: var(--ink);
  background: #fff;
}
form.contact-form input:focus,
form.contact-form select:focus,
form.contact-form textarea:focus {
  outline: none;
  border-color: var(--green);
}
form.contact-form textarea { min-height: 130px; resize: vertical; }
.form-note {
  font-size: 0.85rem;
  color: var(--ink-soft);
  margin-top: 6px;
}

/* ---------- Map ---------- */
.map-wrap {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  line-height: 0;
}
.map-wrap iframe { width: 100%; height: 340px; border: 0; display: block; }

/* ---------- Footer ---------- */
footer.site-footer {
  background: var(--ink);
  color: rgba(255,255,255,0.75);
  padding: 60px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
}
@media (max-width: 800px) {
  .footer-grid { grid-template-columns: 1fr; }
}
.footer-grid h4 {
  color: #fff;
  font-size: 1rem;
  margin-bottom: 18px;
}
.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-grid li { margin-bottom: 12px; }
.footer-grid a:hover { color: #fff; }
.footer-contact li { display: flex; gap: 10px; align-items: flex-start; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.12);
  padding: 20px 0;
  text-align: center;
  font-size: 0.85rem;
}

/* ---------- Utilities ---------- */
.text-center { text-align: center; }
.mt-40 { margin-top: 40px; }
.mb-0 { margin-bottom: 0; }

/* Fallback hero image variables set inline per page via style="--hero-img:url(...)" */
