/* ── Google Fonts loaded via <link> in each HTML page ─────────────── */

:root {
  --ink:        #17212b;
  --muted:      #5c6873;
  --line:       #dfe5ea;
  --soft:       #f4f7f8;
  --teal:       #007a88;
  --teal-dark:  #005e6a;
  --teal-light: #e4f4f6;
  --green:      #9aaa00;
  --gold:       #d6a23a;
  --gold-light: #fdf3e0;
  --white:      #ffffff;

  --shadow-sm:    0 4px 14px rgba(23, 33, 43, 0.07);
  --shadow:       0 18px 40px rgba(23, 33, 43, 0.12);
  --shadow-hover: 0 24px 52px rgba(23, 33, 43, 0.18);
  --radius:       10px;
  --transition:   0.22s ease;
}

/* ── Base ──────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'Inter', Arial, Helvetica, sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a   { color: inherit; text-decoration: none; }

h1, h2, h3, h4 {
  font-family: 'Outfit', Arial, Helvetica, sans-serif;
  margin: 0;
  line-height: 1.12;
  letter-spacing: -0.02em;
}

h1 { font-size: clamp(36px, 5vw, 58px); }
h2 { font-size: clamp(26px, 3.5vw, 38px); }
h3 { font-size: 22px; }
p  { margin: 0; }

.container {
  width: min(1140px, calc(100% - 40px));
  margin: 0 auto;
}

/* ── Header / Nav ──────────────────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.9);
  border-bottom: 1px solid rgba(223, 229, 234, 0.78);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: 0 10px 28px rgba(23, 33, 43, 0.045);
}

.nav {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  font-weight: 700;
  flex-shrink: 0;
  z-index: 101;
}

.brand img { width: 138px; height: auto; }

.brand span {
  position: relative;
  max-width: 205px;
  padding-left: 14px;
  font-size: 13px;
  line-height: 1.35;
  color: var(--muted);
  font-family: 'Inter', sans-serif;
}

.brand span::before {
  content: "";
  position: absolute;
  left: 0;
  top: 3px;
  bottom: 3px;
  width: 1px;
  background: var(--line);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 700;
  font-family: 'Inter', sans-serif;
  white-space: nowrap;
}

.nav-links a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 9px 13px;
  border-radius: 999px;
  color: var(--ink);
  transition: color var(--transition), background var(--transition);
}

.nav-links a:hover,
.nav-links a.active {
  background: rgba(0, 122, 136, 0.08);
  color: var(--teal);
}

.nav-item { position: relative; }

.nav-trigger { gap: 7px; }

.nav-trigger::after {
  content: "";
  width: 7px;
  height: 7px;
  margin-top: -3px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
}

.dropdown {
  position: absolute;
  left: 0;
  top: calc(100% + 12px);
  min-width: 288px;
  padding: 10px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 10px;
  box-shadow: 0 22px 52px rgba(23, 33, 43, 0.15);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity var(--transition), transform var(--transition), visibility var(--transition);
}

.nav-item:hover .dropdown,
.nav-item:focus-within .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown a {
  display: block;
  width: 100%;
  min-height: auto;
  padding: 12px 14px;
  border-radius: 8px;
  line-height: 1.25;
}

.dropdown a span {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 500;
  white-space: normal;
}

.dropdown a:hover { background: var(--soft); }

.nav-links > .btn { padding-inline: 18px; }

/* ── Hamburger ─────────────────────────────────────────────────────── */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  background: none;
  border: 1.5px solid var(--line);
  border-radius: 999px;
  cursor: pointer;
  padding: 8px;
  flex-shrink: 0;
  z-index: 101;
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}

.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── Buttons ───────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 11px 22px;
  border-radius: 7px;
  border: 1.5px solid transparent;
  font-weight: 700;
  font-size: 14px;
  line-height: 1.2;
  font-family: 'Inter', sans-serif;
  cursor: pointer;
  transition: background var(--transition), color var(--transition),
              border-color var(--transition), box-shadow var(--transition);
}

.btn-primary {
  background: linear-gradient(135deg, var(--teal), var(--teal-dark));
  color: var(--white);
  border-color: transparent;
  box-shadow: 0 10px 24px rgba(0, 122, 136, 0.22);
}

.btn-primary:hover {
  background: var(--teal-dark);
  box-shadow: 0 4px 18px rgba(0, 122, 136, 0.3);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.36);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.22);
  border-color: rgba(255, 255, 255, 0.6);
}

.btn-outline {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}

.btn-outline:hover {
  border-color: var(--teal);
  color: var(--teal);
}

.btn-white {
  background: var(--white);
  color: var(--teal);
  border-color: var(--white);
  font-weight: 700;
}

.btn-white:hover {
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
}

/* ── Eyebrow / Kicker ──────────────────────────────────────────────── */
.eyebrow,
.section-kicker {
  margin: 0 0 16px;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gold);
  font-family: 'Inter', sans-serif;
}

/* ── Hero ──────────────────────────────────────────────────────────── */
.hero {
  position: relative;
  overflow: hidden;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  color: var(--white);
  background: var(--ink);
}

/* Video — blurred, scaled to hide blur edges, slowed via JS */
.hero-video {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: blur(3px) saturate(0.65) brightness(0.75);
  transform: scale(1.07);
  transform-origin: center;
}

@media (prefers-reduced-motion: reduce) {
  .hero-video { display: none; }
}

/* Dark gradient overlay */
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(
      160deg,
      rgba(10, 24, 38, 0.90) 0%,
      rgba(10, 24, 38, 0.65) 45%,
      rgba(0, 94, 106, 0.30) 100%
    );
}

/* All content above the overlay */
.hero-body {
  position: relative;
  z-index: 2;
  flex: 1;
  display: flex;
  flex-direction: column;
}

/* flex:1 wrapper that fills remaining hero height, centres content */
.hero-main {
  flex: 1;
  display: flex;
  align-items: center;
  padding: 0;
}

/* 2-column grid: headline left, credentials right */
.hero-content {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 48px;
  align-items: center;
  padding: 96px 0 56px;
  width: 100%;
}

.hero .eyebrow,
.hero .section-kicker { color: var(--gold); }

.hero h1 { font-size: clamp(36px, 5.2vw, 62px); }

.lead {
  margin-top: 22px;
  max-width: 620px;
  font-size: 18px;
  color: rgba(255, 255, 255, 0.84);
  line-height: 1.72;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 36px;
}

/* Outline button for dark/video backgrounds */
.btn-hero-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 11px 22px;
  border-radius: 7px;
  border: 1.5px solid rgba(255, 255, 255, 0.52);
  font-weight: 700;
  font-size: 14px;
  font-family: 'Inter', sans-serif;
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(6px);
  transition: background var(--transition), border-color var(--transition);
}

.btn-hero-outline:hover {
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(255, 255, 255, 0.8);
}

/* Outline button for dark section backgrounds (charitable panel etc.) */
.btn-outline-light {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 11px 22px;
  border-radius: 7px;
  border: 1.5px solid rgba(255, 255, 255, 0.4);
  font-weight: 700;
  font-size: 14px;
  font-family: 'Inter', sans-serif;
  color: var(--white);
  background: transparent;
  transition: background var(--transition), border-color var(--transition);
}

.btn-outline-light:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.75);
}

.hero-headline { display: flex; flex-direction: column; }

/* Credential card — right side of hero */
.hero-credential {
  display: flex;
  flex-direction: column;
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 14px;
  overflow: hidden;
  align-self: center;
}

.hero-cred-item {
  padding: 20px 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.hero-cred-item:last-child { border-bottom: none; }

.hero-cred-label {
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gold);
  margin-bottom: 8px;
  font-family: 'Inter', sans-serif;
}

.hero-cred-value {
  font-family: 'Outfit', sans-serif;
  font-size: 30px;
  font-weight: 800;
  color: var(--white);
  line-height: 1;
}

.hero-cred-sub {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.56);
  margin-top: 5px;
}

.hero-cred-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 10px;
}

.hero-cred-badges span {
  padding: 4px 10px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.88);
}

/* ── Hero Stats bar ─────────────────────────────────────────────────── */
.hero-stats {
  background: rgba(0, 122, 136, 0.72);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.hero-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.hero-stat {
  padding: 28px 20px;
  border-right: 1px solid rgba(255, 255, 255, 0.14);
  text-align: center;
}

.hero-stat:last-child { border-right: none; }

.hero-stat-num {
  display: block;
  font-family: 'Outfit', sans-serif;
  font-size: 46px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--white);
}

.hero-stat-label {
  display: block;
  margin-top: 8px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.5;
  max-width: 160px;
  margin-left: auto;
  margin-right: auto;
}

/* ── Hero Panels bar ────────────────────────────────────────────────── */
.hero-panels {
  background: rgba(15, 28, 42, 0.82);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.hero-panels-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.hero-panel {
  padding: 28px 24px;
  border-right: 1px solid rgba(255, 255, 255, 0.07);
  transition: background var(--transition);
}

.hero-panel:last-child { border-right: none; }
.hero-panel:hover { background: rgba(255, 255, 255, 0.04); }

.hero-panel h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 8px;
  line-height: 1.3;
}

.hero-panel p {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.6;
}

/* Hero proof badges */
.hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 32px;
}

.hero-proof span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(6px);
}

.hero-proof span::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #dfe875;
  flex-shrink: 0;
}

/* ── Intro Band ─────────────────────────────────────────────────────── */
.intro-band {
  background: var(--ink);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.intro-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.intro-panel {
  padding: 36px 28px;
  border-right: 1px solid rgba(255, 255, 255, 0.07);
  transition: background var(--transition);
}

.intro-panel:last-child { border-right: none; }
.intro-panel:hover { background: rgba(255, 255, 255, 0.04); }

.intro-panel h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 8px;
}

.intro-panel p {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.62);
  line-height: 1.6;
}

/* ── Stats Strip ───────────────────────────────────────────────────── */
.stats-strip {
  background: var(--teal);
  color: var(--white);
  padding: 72px 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.stat-item {
  padding: 20px 24px;
  text-align: center;
  border-right: 1px solid rgba(255, 255, 255, 0.14);
}

.stat-item:last-child { border-right: none; }

.stat-number {
  display: block;
  font-family: 'Outfit', sans-serif;
  font-size: 54px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--white);
}

.stat-label {
  display: block;
  margin-top: 12px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.78);
  max-width: 160px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.5;
}

/* ── Credential Strip ──────────────────────────────────────────────── */
.hero-strip { background: #0f1e2e; color: var(--white); }

.strip-grid { display: grid; grid-template-columns: repeat(4, 1fr); }

.strip-item {
  padding: 28px 24px;
  border-right: 1px solid rgba(255, 255, 255, 0.07);
  transition: background var(--transition);
}

.strip-item:last-child { border-right: none; }
.strip-item:hover { background: rgba(255, 255, 255, 0.06); }

.strip-item strong {
  display: block;
  font-family: 'Outfit', sans-serif;
  font-size: 26px;
  font-weight: 800;
  color: #dfe875;
}

.strip-item span {
  display: block;
  margin-top: 6px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 13px;
}

/* ── Sections ──────────────────────────────────────────────────────── */
.section      { padding: 88px 0; }
.section-soft { background: var(--soft); }

.section-head {
  max-width: 760px;
  margin-bottom: 48px;
}

.section-head h2 { margin-bottom: 14px; }

.section-head p {
  margin-top: 12px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.7;
}

/* ── Grids ─────────────────────────────────────────────────────────── */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }

/* ── Cards ─────────────────────────────────────────────────────────── */
.service-card,
.article-card,
.project-card,
.profile-card,
.contact-panel {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.service-card,
.article-card,
.project-card,
.profile-card {
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition), transform var(--transition),
              border-color var(--transition);
}

.service-card:hover,
.article-card:hover,
.project-card:hover,
.profile-card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-5px);
  border-color: rgba(0, 122, 136, 0.22);
}

.service-card { padding: 32px; }

.tag {
  display: inline-flex;
  padding: 4px 10px;
  background: var(--teal-light);
  color: var(--teal);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border-radius: 4px;
  margin-bottom: 16px;
  font-family: 'Inter', sans-serif;
}

.service-card p,
.article-card p,
.project-card p,
.profile-card p,
.contact-panel p,
.copy p,
.list li { color: var(--muted); }

.service-card h3,
.article-card h3,
.project-card h3 { margin: 12px 0 10px; }

.service-card ul,
.list {
  margin: 16px 0 0;
  padding-left: 18px;
  color: var(--muted);
  line-height: 1.85;
}

/* ── Service card number label ─────────────────────────────────────── */
.svc-num {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: 'Outfit', sans-serif;
  font-size: 12px;
  font-weight: 800;
  color: var(--teal);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 18px;
}

.svc-num::after {
  content: '';
  flex: 1;
  height: 1.5px;
  background: var(--teal-light);
}

/* ── Why Decca visual panel (replaces image-band) ──────────────────── */
.why-visual {
  display: flex;
  flex-direction: column;
  gap: 14px;
  justify-content: center;
}

.why-stat {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 22px 26px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition), transform var(--transition);
}

.why-stat:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-3px);
}

.why-stat-num {
  font-family: 'Outfit', sans-serif;
  font-size: 44px;
  font-weight: 800;
  color: var(--teal);
  line-height: 1;
  flex-shrink: 0;
  min-width: 90px;
  letter-spacing: -0.02em;
}

.why-stat-text strong {
  display: block;
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 3px;
}

.why-stat-text span {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.5;
}

/* ── Logos ─────────────────────────────────────────────────────────── */
.logos {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  align-items: center;
}

.logo-tile {
  min-height: 110px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: box-shadow var(--transition), border-color var(--transition),
              transform var(--transition);
}

.logo-tile:hover {
  box-shadow: var(--shadow-sm);
  border-color: rgba(0, 122, 136, 0.25);
  transform: translateY(-2px);
}

.logo-tile img {
  max-height: 64px;
  width: auto;
  filter: grayscale(30%);
  transition: filter var(--transition);
}

.logo-tile:hover img { filter: grayscale(0%); }

/* ── Split ─────────────────────────────────────────────────────────── */
.split {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 56px;
  align-items: center;
}

.image-band {
  min-height: 460px;
  border-radius: var(--radius);
  background: url("../img/slider/1.jpg") center / cover no-repeat;
  box-shadow: var(--shadow);
}

.copy { display: grid; gap: 18px; }

.feature-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-top: 20px;
}

.feature-list div {
  padding: 16px 18px;
  background: var(--soft);
  border-left: 4px solid var(--teal);
  border-radius: 6px;
  font-weight: 700;
  font-size: 14px;
  transition: background var(--transition);
}

.feature-list div:hover { background: var(--teal-light); }

/* ── Article / Blog ────────────────────────────────────────────────── */
.article-card img,
.project-card img,
.profile-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  transition: transform 0.38s ease;
}

.article-card:hover img,
.project-card:hover img { transform: scale(1.04); }

/* ── Article banner (CSS gradient — replaces watermarked photos) ────── */
.article-banner {
  height: 220px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  padding: 20px 22px;
  transition: transform 0.38s ease;
}

.article-card:hover .article-banner { transform: scale(1.03); }

/* Subtle diagonal sheen */
.article-banner::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg,
    rgba(255,255,255,0.08) 0%,
    transparent 55%,
    rgba(0,0,0,0.12) 100%);
  pointer-events: none;
}

/* Large decorative number watermark */
.article-banner::before {
  content: attr(data-num);
  position: absolute;
  top: -10px;
  right: 16px;
  font-family: 'Outfit', sans-serif;
  font-size: 110px;
  font-weight: 800;
  color: rgba(255,255,255,0.08);
  line-height: 1;
  pointer-events: none;
  user-select: none;
}

.article-banner-label {
  position: relative;
  z-index: 2;
  font-family: 'Outfit', sans-serif;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.55);
}

/* Six colour schemes — one per article category */
.article-banner-exam {
  background: linear-gradient(140deg, #005e6a 0%, #007a88 55%, #00a8bc 100%);
}

.article-banner-tuition {
  background: linear-gradient(140deg, #17212b 0%, #1e3a5c 55%, #2d5f96 100%);
}

.article-banner-medical {
  background: linear-gradient(140deg, #1a4a30 0%, #1e6648 55%, #28956a 100%);
}

.article-banner-access {
  background: linear-gradient(140deg, #4a2e08 0%, #8a5a14 55%, #d6a23a 100%);
}

.article-banner-support {
  background: linear-gradient(140deg, #2e1a4a 0%, #5a3080 55%, #8a56b8 100%);
}

.article-banner-community {
  background: linear-gradient(140deg, #17212b 0%, #0d5563 55%, #007a88 100%);
}

.article-body,
.project-body,
.profile-body,
.contact-panel { padding: 24px; }

.article-meta {
  margin-bottom: 10px;
  color: var(--teal);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-family: 'Inter', sans-serif;
}

.article-card h3 { font-size: 19px; margin: 8px 0 10px; }

.read-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 14px;
  color: var(--teal);
  font-size: 14px;
  font-weight: 700;
  transition: gap var(--transition);
}

.read-more:hover { gap: 10px; }

/* ── Project Highlight ─────────────────────────────────────────────── */
.project-highlight {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: center;
  padding: 44px;
  background: var(--ink);
  color: var(--white);
  border-radius: var(--radius);
}

.project-highlight p        { color: rgba(255, 255, 255, 0.75); }
.project-highlight .eyebrow,
.project-highlight .section-kicker { color: var(--gold); }

.project-highlight img {
  border-radius: 8px;
  min-height: 320px;
  object-fit: cover;
  width: 100%;
}

/* ── Testimonials ──────────────────────────────────────────────────── */
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.testimonial-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: box-shadow var(--transition), transform var(--transition);
}

.testimonial-card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-4px);
}

.stars {
  display: flex;
  gap: 2px;
  color: var(--gold);
  font-size: 17px;
}

.testimonial-quote {
  font-size: 44px;
  line-height: 1;
  color: var(--teal);
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  margin-bottom: -8px;
}

.testimonial-body {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.72;
  flex: 1;
}

.testimonial-author {
  border-top: 1px solid var(--line);
  padding-top: 16px;
}

.testimonial-author strong {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 2px;
}

.testimonial-author span { font-size: 13px; color: var(--muted); }

/* ── Impact Numbers ────────────────────────────────────────────────── */
.impact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }

.impact-card {
  text-align: center;
  padding: 36px 24px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition), transform var(--transition);
}

.impact-card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-4px);
}

.impact-number {
  display: block;
  font-family: 'Outfit', sans-serif;
  font-size: 52px;
  font-weight: 800;
  color: var(--teal);
  line-height: 1;
  letter-spacing: -0.03em;
}

.impact-label {
  display: block;
  margin-top: 10px;
  color: var(--muted);
  font-size: 14px;
}

/* ── Timeline ──────────────────────────────────────────────────────── */
.timeline { position: relative; padding-left: 36px; }

.timeline::before {
  content: '';
  position: absolute;
  left: 6px;
  top: 10px;
  bottom: 10px;
  width: 2px;
  background: var(--teal-light);
}

.timeline-item { position: relative; padding: 0 0 40px 28px; }
.timeline-item:last-child { padding-bottom: 0; }

.timeline-item::before {
  content: '';
  position: absolute;
  left: -36px;
  top: 8px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--teal);
  border: 3px solid var(--white);
  box-shadow: 0 0 0 2px var(--teal);
}

.timeline-year {
  font-family: 'Inter', sans-serif;
  font-weight: 800;
  font-size: 12px;
  color: var(--teal);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 10px;
  display: block;
}

.timeline-item h3 { margin: 0 0 8px; font-size: 20px; }
.timeline-item p  { color: var(--muted); }

/* ── CTA ───────────────────────────────────────────────────────────── */
.cta {
  padding: 72px 0;
  background: linear-gradient(135deg, var(--teal), var(--teal-dark));
  color: var(--white);
}

.cta .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.cta h2 { color: var(--white); }
.cta p  { margin-top: 10px; color: rgba(255, 255, 255, 0.8); }

/* ── Contact ───────────────────────────────────────────────────────── */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }

.contact-panel {
  padding: 30px;
  display: grid;
  gap: 14px;
  align-content: start;
}

.contact-panel h3           { margin-bottom: 4px; }
.contact-panel p a          { color: var(--teal); font-weight: 600; transition: color var(--transition); }
.contact-panel p a:hover    { color: var(--teal-dark); }

.contact-form { display: grid; gap: 16px; }

.contact-form label {
  display: grid;
  gap: 7px;
  color: var(--ink);
  font-weight: 600;
  font-size: 14px;
}

.contact-form input,
.contact-form textarea,
.contact-form select {
  width: 100%;
  border: 1.5px solid var(--line);
  border-radius: 7px;
  padding: 12px 14px;
  font: inherit;
  font-size: 15px;
  color: var(--ink);
  background: var(--white);
  transition: border-color var(--transition), box-shadow var(--transition);
  appearance: none;
  -webkit-appearance: none;
}

.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
  outline: none;
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(0, 122, 136, 0.12);
}

.contact-form textarea { min-height: 150px; resize: vertical; }

.map-frame { width: 100%; height: 380px; border: 0; border-radius: var(--radius); }

/* ── Footer ────────────────────────────────────────────────────────── */
.site-footer {
  background: #0d1720;
  color: var(--white);
  padding: 60px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 1fr;
  gap: 40px;
  padding-bottom: 44px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.site-footer h3 {
  font-size: 15px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 18px;
  font-family: 'Outfit', sans-serif;
}

.site-footer p,
.site-footer a {
  color: rgba(255, 255, 255, 0.6);
  font-size: 14px;
  line-height: 1.8;
  transition: color var(--transition);
}

.site-footer a:hover { color: var(--white); }

.footer-links { display: grid; gap: 8px; }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 0;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.35);
}

/* ── Page Hero ─────────────────────────────────────────────────────── */
.page-hero {
  padding: 96px 0;
  background: var(--ink);
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.page-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 72% 50%,
    rgba(0, 122, 136, 0.2) 0%, transparent 60%);
  pointer-events: none;
}

.page-hero .eyebrow,
.page-hero .section-kicker { color: var(--gold); }

.page-hero p {
  max-width: 760px;
  margin-top: 18px;
  color: rgba(255, 255, 255, 0.75);
  font-size: 19px;
  line-height: 1.72;
}

/* ── Profile Card ──────────────────────────────────────────────────── */
.profile-card img { height: 260px; object-position: top; }
.profile-body h3  { margin-bottom: 12px; font-size: 19px; }
.profile-body p   { color: var(--muted); }

/* ── Leadership Cards ──────────────────────────────────────────────── */
.leader-role {
  display: inline-block;
  margin-bottom: 12px;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--teal);
  font-family: 'Inter', sans-serif;
}

.leader-focus {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 16px;
}

.leader-focus span {
  padding: 4px 11px;
  background: var(--teal-light);
  color: var(--teal-dark);
  font-size: 12px;
  font-weight: 700;
  border-radius: 999px;
  font-family: 'Inter', sans-serif;
}

/* Leadership metrics bar */
.leader-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 32px;
  background: var(--ink);
  border-radius: var(--radius);
  overflow: hidden;
}

.leader-metrics > div {
  padding: 28px 24px;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
  text-align: center;
}

.leader-metrics > div:last-child { border-right: none; }

.leader-metrics strong {
  display: block;
  font-family: 'Outfit', sans-serif;
  font-size: 38px;
  font-weight: 800;
  color: var(--gold);
  line-height: 1;
  letter-spacing: -0.02em;
}

.leader-metrics span {
  display: block;
  margin-top: 8px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.5;
}

/* ── Responsive ────────────────────────────────────────────────────── */
@media (max-width: 960px) {

  /* Show hamburger, keep brand on same row */
  .nav-toggle { display: flex; }

  .nav {
    flex-wrap: wrap;
    min-height: 68px;
    align-items: center;
    padding: 4px 0;
    gap: 0;
  }

  .brand { padding: 8px 0; }

  /* Hidden until .open is added by JS */
  .nav-links {
    display: none;
    order: 3;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    padding: 10px 0 14px;
    border-top: 1px solid var(--line);
    margin-top: 6px;
  }

  .nav-links.open { display: flex; }

  .nav-links > a {
    border-radius: 8px;
    padding: 12px 14px;
    min-height: 48px;
    width: 100%;
  }

  .nav-links > .btn {
    margin-top: 6px;
    width: 100%;
    justify-content: center;
    border-radius: 8px;
  }

  .nav-item { width: 100%; }

  .nav-trigger {
    width: 100%;
    justify-content: space-between;
  }

  /* Dropdown: visible inline within the open mobile nav */
  .dropdown {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    min-width: 0;
    width: 100%;
    box-shadow: none;
    border: 1px solid var(--line);
    border-radius: 8px;
    margin: 2px 0 6px;
    padding: 6px;
  }

  /* ── Hero: collapse to single column, hide credential card ── */
  .hero-main { align-items: flex-start; }
  .hero-content { grid-template-columns: 1fr; gap: 0; padding: 80px 0 40px; }
  .hero-credential { display: none; }

  /* ── Hero bars: 2 columns at tablet ── */
  .hero-stats-grid,
  .hero-panels-grid { grid-template-columns: repeat(2, 1fr); }

  .hero-stat { border-right: none; border-bottom: 1px solid rgba(255, 255, 255, 0.14); }
  .hero-stat:nth-child(odd) { border-right: 1px solid rgba(255, 255, 255, 0.14); }
  .hero-stat:last-child { border-bottom: none; }

  .hero-panel { border-right: none; border-bottom: 1px solid rgba(255, 255, 255, 0.07); }
  .hero-panel:nth-child(odd) { border-right: 1px solid rgba(255, 255, 255, 0.07); }
  .hero-panel:last-child { border-bottom: none; }

  /* ── Content grids ── */
  .intro-grid,
  .strip-grid,
  .grid-3,
  .grid-2,
  .split,
  .project-highlight,
  .contact-grid,
  .footer-grid,
  .testimonial-grid,
  .impact-grid,
  .stats-grid,
  .leader-metrics { grid-template-columns: 1fr; }

  .leader-metrics > div { border-right: none; border-bottom: 1px solid rgba(255, 255, 255, 0.08); }
  .leader-metrics > div:last-child { border-bottom: none; }

  .logos { grid-template-columns: repeat(3, 1fr); }

  .cta .container { flex-direction: column; align-items: flex-start; }

  .project-highlight { padding: 28px; }

  .intro-panel { border-right: none; border-bottom: 1px solid rgba(255, 255, 255, 0.07); }
  .intro-panel:last-child { border-bottom: none; }

  .timeline { padding-left: 28px; }
  .timeline-item::before { left: -28px; }

  .stat-item { border-right: none; border-bottom: 1px solid rgba(255, 255, 255, 0.14); }
  .stat-item:last-child { border-bottom: none; }
}

@media (max-width: 560px) {
  .container { width: calc(100% - 28px); }

  .brand img  { width: 110px; }
  .brand span { display: none; }

  .hero { min-height: 100svh; }
  .hero-content { padding: 60px 0 32px; }

  .hero-stats-grid,
  .hero-panels-grid { grid-template-columns: 1fr; }

  .hero-stat,
  .hero-stat:nth-child(odd) { border-right: none; border-bottom: 1px solid rgba(255, 255, 255, 0.14); }
  .hero-stat:last-child { border-bottom: none; }

  .hero-panel,
  .hero-panel:nth-child(odd) { border-right: none; border-bottom: 1px solid rgba(255, 255, 255, 0.07); }
  .hero-panel:last-child { border-bottom: none; }

  .hero-stat-num { font-size: 38px; }
  .hero h1 { font-size: 32px; }
  .lead { font-size: 16px; }

  .lead,
  .section-head p,
  .page-hero p { font-size: 16px; }

  .section   { padding: 64px 0; }
  .page-hero { padding: 72px 0; }

  .feature-list,
  .logos { grid-template-columns: 1fr; }

  .stat-number,
  .impact-number { font-size: 46px; }

  .footer-bottom { flex-direction: column; align-items: flex-start; }
}

/* ═══════════════════════════════════════════════════════════════════
   BLOG ARTICLE PAGES
   ═══════════════════════════════════════════════════════════════════ */

/* ── Article hero image banner ─────────────────────────────────────── */
.article-hero {
  position: relative;
  height: 480px;
  overflow: hidden;
}

.article-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 6s ease;
}

.article-hero:hover img { transform: scale(1.04); }

.article-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(23, 33, 43, 0.2) 0%,
    rgba(23, 33, 43, 0.72) 100%
  );
  display: flex;
  align-items: flex-end;
}

.article-hero-caption {
  padding: 48px 0;
  color: var(--white);
  max-width: 860px;
}

.article-hero-caption .eyebrow { color: var(--gold); margin-bottom: 14px; }
.article-hero-caption h1 {
  font-size: clamp(28px, 4vw, 48px);
  line-height: 1.15;
  margin-bottom: 16px;
  color: var(--white);
}

/* ── Article meta bar ──────────────────────────────────────────────── */
.article-meta-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
  margin-bottom: 40px;
  font-size: 14px;
  color: var(--muted);
}

.article-meta-bar .tag { background: var(--teal-light); color: var(--teal-dark); }

/* ── Article two-column layout ─────────────────────────────────────── */
.article-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 64px;
  align-items: start;
  padding: 64px 0 80px;
}

/* ── Article prose ─────────────────────────────────────────────────── */
.article-prose h2 {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(19px, 2.4vw, 24px);
  font-weight: 700;
  color: var(--ink);
  margin: 44px 0 14px;
  padding-top: 4px;
}

.article-prose h3 {
  font-family: 'Outfit', sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: var(--ink);
  margin: 28px 0 10px;
}

.article-prose p {
  font-size: 16.5px;
  line-height: 1.82;
  color: #2e3c47;
  margin-bottom: 20px;
}

.article-prose ul,
.article-prose ol {
  margin: 0 0 22px 0;
  padding-left: 26px;
}

.article-prose li {
  font-size: 16px;
  line-height: 1.78;
  color: #2e3c47;
  margin-bottom: 8px;
}

.article-prose strong { color: var(--ink); font-weight: 600; }
.article-prose a { color: var(--teal); text-decoration: underline; }

/* Numbered step headings */
.article-step {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin: 44px 0 14px;
}

.article-step-num {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  background: var(--teal);
  color: var(--white);
  border-radius: 50%;
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  font-size: 15px;
  flex-shrink: 0;
  margin-top: 2px;
}

.article-step h2 {
  margin: 0;
  font-size: clamp(17px, 2.2vw, 22px);
  font-weight: 700;
  color: var(--ink);
  line-height: 1.25;
}

/* Pull quote — glassmorphism */
.article-pull-quote {
  background: rgba(0, 122, 136, 0.07);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-left: 4px solid var(--teal);
  border-radius: 0 12px 12px 0;
  padding: 22px 28px;
  margin: 32px 0;
  font-family: 'Outfit', sans-serif;
  font-size: 17px;
  font-weight: 500;
  font-style: italic;
  color: var(--ink);
  line-height: 1.65;
}

/* Info / checklist box */
.article-info-box {
  background: rgba(0, 122, 136, 0.05);
  border: 1px solid rgba(0, 122, 136, 0.18);
  border-radius: 12px;
  padding: 24px 28px;
  margin: 28px 0;
}

.article-info-box h4 {
  font-family: 'Outfit', sans-serif;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: var(--teal);
  margin-bottom: 12px;
}

.article-info-box ul {
  margin: 0;
  padding-left: 20px;
}

.article-info-box li {
  font-size: 15px;
  line-height: 1.7;
  color: var(--text, #2e3c47);
  margin-bottom: 6px;
}

/* Glass stats row */
.article-glass-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin: 36px 0;
}

.article-glass-stat {
  background: rgba(0, 122, 136, 0.06);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(0, 122, 136, 0.15);
  border-radius: 12px;
  padding: 22px 16px;
  text-align: center;
  animation: fadeInUp 0.6s ease both;
}

.article-glass-stat-num {
  display: block;
  font-family: 'Outfit', sans-serif;
  font-size: 34px;
  font-weight: 800;
  color: var(--teal);
  line-height: 1;
  margin-bottom: 8px;
}

.article-glass-stat-label {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.4;
}

/* Stats / evidence table */
.article-stats-table {
  width: 100%;
  border-collapse: collapse;
  margin: 28px 0;
  font-size: 15px;
  border-radius: 10px;
  overflow: hidden;
}

.article-stats-table th {
  background: var(--ink);
  color: var(--white);
  padding: 13px 18px;
  text-align: left;
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 13px;
}

.article-stats-table td {
  padding: 12px 18px;
  border-bottom: 1px solid var(--line);
  color: #2e3c47;
  line-height: 1.6;
}

.article-stats-table tr:last-child td { border-bottom: none; }
.article-stats-table tr:nth-child(even) td { background: var(--soft); }

/* ── Sidebar ────────────────────────────────────────────────────────── */
.article-sidebar {
  position: sticky;
  top: 96px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.article-toc {
  background: var(--soft);
  border-radius: var(--radius);
  padding: 24px;
}

.article-toc h4 {
  font-family: 'Outfit', sans-serif;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: var(--muted);
  margin-bottom: 16px;
}

.article-toc ol {
  margin: 0;
  padding-left: 20px;
}

.article-toc li { margin-bottom: 10px; }

.article-toc a {
  font-size: 14px;
  color: var(--text, #2e3c47);
  text-decoration: none;
  line-height: 1.5;
  transition: color var(--transition);
}

.article-toc a:hover { color: var(--teal); }

.article-sidebar-cta {
  background: var(--ink);
  border-radius: var(--radius);
  padding: 28px 24px;
  color: var(--white);
}

.article-sidebar-cta h4 {
  font-family: 'Outfit', sans-serif;
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 12px;
  line-height: 1.3;
  color: var(--white);
}

.article-sidebar-cta p {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.65);
  margin-bottom: 20px;
  line-height: 1.65;
}

/* ── Back / breadcrumb ─────────────────────────────────────────────── */
.article-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--teal);
  padding: 16px 0 0;
}

.article-back:hover { text-decoration: underline; }

/* ── Related articles strip ────────────────────────────────────────── */
.related-section { background: var(--soft); padding: 72px 0; }

.related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 36px;
}

/* ── Fade-up animation ─────────────────────────────────────────────── */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(26px); }
  to   { opacity: 1; transform: translateY(0); }
}

.fade-up { opacity: 0; animation: fadeInUp 0.65s ease forwards; }
.fade-up-1 { animation-delay: 0.1s; }
.fade-up-2 { animation-delay: 0.2s; }
.fade-up-3 { animation-delay: 0.3s; }

/* ═══════════════════════════════════════════════════════════════════
   CHARITY PROJECT GALLERY & LIGHTBOX
   ═══════════════════════════════════════════════════════════════════ */

/* Project jump nav */
.project-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 32px 0;
}

.project-nav-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  background: var(--soft);
  border: 1.5px solid var(--line);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  color: var(--ink);
  transition: all var(--transition);
  font-family: 'Inter', sans-serif;
}

.project-nav-link:hover {
  background: var(--teal-light);
  border-color: var(--teal);
  color: var(--teal-dark);
}

.project-nav-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  background: var(--teal);
  color: var(--white);
  border-radius: 50%;
  font-size: 11px;
  font-weight: 800;
  font-family: 'Outfit', sans-serif;
}

/* Project section header */
.project-section-header {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 28px;
}

.project-section-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 14px;
  flex-shrink: 0;
  font-family: 'Outfit', sans-serif;
  font-size: 22px;
  font-weight: 800;
  color: var(--white);
}

.project-section-icon.teal   { background: var(--teal); }
.project-section-icon.navy   { background: #1e3a5c; }
.project-section-icon.amber  { background: #b07a10; }
.project-section-icon.green  { background: #2a7a40; }
.project-section-icon.gold   { background: var(--gold); }

.project-section-meta { flex: 1; }
.project-section-meta .eyebrow { margin-bottom: 6px; }
.project-section-meta h2 { margin-bottom: 0; }

/* Project description text */
.project-desc p {
  font-size: 16px;
  line-height: 1.82;
  color: #2e3c47;
  margin-bottom: 18px;
}

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

/* Gallery */
.project-gallery { margin-top: 32px; }

.gallery-img {
  overflow: hidden;
  border-radius: var(--radius);
  cursor: zoom-in;
  background: var(--soft);
}

.gallery-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.45s ease;
}

.gallery-img:hover img { transform: scale(1.07); }

/* 1 photo — featured full-width */
.gallery-single .gallery-img { height: 460px; }

/* 3 photos */
.gallery-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.gallery-grid-3 .gallery-img { height: 240px; }

/* 4 photos — 2×2 */
.gallery-grid-4 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.gallery-grid-4 .gallery-img { height: 260px; }

/* 5 photos — mosaic */
.gallery-mosaic-5 {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  grid-template-rows: 280px 200px;
  gap: 10px;
}

.gallery-mosaic-5 .gallery-img:nth-child(1) {
  grid-column: 1;
  grid-row: span 2;
}

.gallery-mosaic-5 .gallery-img { height: auto; min-height: 100%; }

/* House subsections */
.house-group {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-top: 36px;
}

.house-unit { }

.house-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Outfit', sans-serif;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--teal);
  margin-bottom: 12px;
}

.house-label::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--teal);
  border-radius: 50%;
}

/* House 1: 5-photo stack — 2+3 */
.house-gallery-5 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
}

.house-gallery-5 .gallery-img { height: 120px; }

.house-gallery-5 .gallery-img:first-child {
  grid-column: span 2;
  height: 160px;
}

/* House 2 & 3: 4-photo 2×2 */
.house-gallery-4 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
}

.house-gallery-4 .gallery-img { height: 130px; }

/* Lightbox */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.94);
  z-index: 9999;
  align-items: center;
  justify-content: center;
}

.lightbox.active { display: flex; }

.lightbox-inner {
  position: relative;
  max-width: min(92vw, 1100px);
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.lightbox-inner img {
  max-width: 100%;
  max-height: 82vh;
  object-fit: contain;
  border-radius: 8px;
  display: block;
}

.lightbox-close {
  position: absolute;
  top: -44px;
  right: 0;
  background: none;
  border: none;
  color: rgba(255,255,255,0.7);
  font-size: 30px;
  cursor: pointer;
  line-height: 1;
  padding: 4px 8px;
  border-radius: 4px;
  transition: color 0.2s;
}

.lightbox-close:hover { color: var(--white); }

.lightbox-counter {
  margin-top: 14px;
  font-size: 13px;
  color: rgba(255,255,255,0.45);
  font-family: 'Inter', sans-serif;
}

.lightbox-btn {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.15);
  color: var(--white);
  font-size: 22px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}

.lightbox-btn:hover { background: rgba(255,255,255,0.22); }
.lightbox-prev-btn { left: 24px; }
.lightbox-next-btn { right: 24px; }

/* ── Blog article page responsive ─────────────────────────────────── */
@media (max-width: 960px) {
  .house-group { grid-template-columns: 1fr; gap: 32px; }
  .gallery-mosaic-5 { grid-template-columns: 1fr 1fr; grid-template-rows: 220px 180px; }
  .gallery-mosaic-5 .gallery-img:nth-child(1) { grid-column: span 2; grid-row: 1; }

  .article-hero { height: 340px; }
  .article-hero-caption { padding: 36px 0; }

  .article-layout {
    grid-template-columns: 1fr;
    gap: 48px;
    padding: 48px 0 64px;
  }

  .article-sidebar { position: static; }

  .article-glass-stats { grid-template-columns: 1fr; gap: 12px; }

  .related-grid { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .article-hero { height: 240px; }
  .article-hero-caption { padding: 24px 0; }
  .article-hero-caption h1 { font-size: 24px; }

  .article-prose p,
  .article-prose li { font-size: 15.5px; }

  .article-stats-table th,
  .article-stats-table td { padding: 10px 12px; font-size: 13px; }

  .gallery-grid-3,
  .gallery-grid-4 { grid-template-columns: 1fr; }
  .gallery-grid-3 .gallery-img,
  .gallery-grid-4 .gallery-img { height: 200px; }
  .gallery-single .gallery-img { height: 240px; }
  .gallery-mosaic-5 { grid-template-columns: 1fr; grid-template-rows: auto; }
  .gallery-mosaic-5 .gallery-img:nth-child(1) { grid-column: 1; grid-row: 1; }
  .gallery-mosaic-5 .gallery-img { height: 200px; }
  .lightbox-btn { width: 38px; height: 38px; font-size: 18px; }
  .lightbox-prev-btn { left: 10px; }
  .lightbox-next-btn { right: 10px; }
}
