:root {
  --bg: #fffdf4;
  --surface: #ffffff;
  --surface-soft: #f7f8e9;
  --text: #111111;
  --text-soft: #4a4a4a;

  --green-main: #539b5c;
  --green-dark: #157664;
  --lime: #a5b73c;
  --yellow: #ffc801;
  --black: #000000;

  --line: rgba(21, 118, 100, 0.13);
  --shadow-soft: 0 16px 40px rgba(21, 118, 100, 0.09);
  --shadow-card: 0 24px 80px rgba(21, 118, 100, 0.13);
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --radius-sm: 14px;
  --container: 1280px;
  --transition: 240ms ease;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", sans-serif;
  background:
    radial-gradient(circle at 12% 8%, rgba(255, 200, 1, 0.18), transparent 24%),
    radial-gradient(circle at 86% 10%, rgba(83, 155, 92, 0.14), transparent 24%),
    radial-gradient(circle at 50% 48%, rgba(165, 183, 60, 0.08), transparent 28%),
    var(--bg);
  color: var(--text);
}

img {
  max-width: 100%;
  display: block;
}

button,
input,
textarea {
  font: inherit;
}

a {
  color: inherit;
  text-decoration: none;
}

.site-shell {
  overflow: clip;
}

.container {
  width: min(calc(100% - 48px), var(--container));
  margin: 0 auto;
}

.section {
  padding: 72px 0;
}

.section-soft {
  background:
    linear-gradient(180deg, rgba(255,255,255,0.68), rgba(247,248,233,0.82)),
    radial-gradient(circle at 8% 20%, rgba(255,200,1,0.12), transparent 24%),
    radial-gradient(circle at 92% 80%, rgba(21,118,100,0.10), transparent 22%);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: uppercase;
  color: var(--green-dark);
  margin-bottom: 14px;
}

.section-heading {
  margin-bottom: 32px;
}

.section-heading.split {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
}

.section-heading h2 {
  margin: 0;
  font-size: clamp(26px, 3vw, 40px);
  line-height: 1.04;
  letter-spacing: 0;
}

.section-note {
  color: var(--text-soft);
  font-size: 15px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(18px);
  background: rgba(249, 248, 243, 0.82);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.header-inner {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand-logo {
  width: 170px;
  object-fit: contain;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.desktop-nav a {
  font-size: 14px;
  font-weight: 400;
  color: rgba(17, 17, 17, 0.78);
  position: relative;
}

.desktop-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 100%;
  height: 2px;
  transform: scaleX(0);
  transform-origin: center;
  background: var(--green-main);
  transition: transform var(--transition);
}

.desktop-nav a:hover::after {
  transform: scaleX(1);
}

.desktop-nav a.active {
  color: var(--green-dark);
}

.desktop-nav a.active::after {
  transform: scaleX(1);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 14px;
  font-weight: 400;
  transition:
    transform var(--transition),
    box-shadow var(--transition),
    border-color var(--transition),
    background var(--transition);
  cursor: pointer;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: linear-gradient(135deg, var(--green-main), var(--green-dark) 62%, #0c5f52);
  color: white;
  box-shadow: 0 14px 32px rgba(21, 118, 100, 0.28);
}

.btn-secondary {
  background: rgba(255, 200, 1, 0.18);
  color: var(--text);
  border-color: rgba(255, 200, 1, 0.32);
}

.btn-outline {
  background: transparent;
  border-color: rgba(0, 0, 0, 0.14);
}

.menu-btn {
  width: 48px;
  height: 48px;
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 999px;
  background: rgba(255,255,255,0.88);
  display: none;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}

.menu-btn span {
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: var(--text);
}

.mobile-nav {
  display: none;
  padding: 0 24px 20px;
  flex-direction: column;
  gap: 12px;
  border-top: 1px solid rgba(0,0,0,0.04);
}

.mobile-nav a {
  padding: 12px 0;
  font-weight: 400;
  color: rgba(17,17,17,0.85);
}

.mobile-link-accent {
  color: var(--green-dark) !important;
}

/* HERO */
.hero {
  padding-top: 48px;
}

.hero-copy {
  text-align: center;
  max-width: 1180px;
  margin: 0 auto 34px;
}

.hero-copy h1 {
  margin: 0 0 16px;
  font-size: clamp(36px, 4vw, 58px);
  line-height: 1.05;
  letter-spacing: 0;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

.hero-lead,
.hero-sublead,
.hero-meta {
  margin: 0 auto 12px;
  max-width: 72ch;
  color: var(--text-soft);
  font-size: 17px;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
  justify-content: center;
}

.hero-stats {
  margin-top: 28px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

.stat-chip {
  background: rgba(255,255,255,0.72);
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: 18px;
  padding: 14px 16px;
  min-width: 170px;
  box-shadow: var(--shadow-soft);
}

.stat-chip strong {
  display: block;
  font-size: 22px;
  line-height: 1;
  margin-bottom: 6px;
  color: var(--green-dark);
}

.stat-chip span {
  font-size: 13px;
  color: var(--text-soft);
}

/* ORBIT */
.orbit-section {
  margin-top: 20px;
  position: relative;
}

.orbit-section::before {
  content: "";
  position: absolute;
  inset: 40px 0 0;
  background:
    radial-gradient(circle at center, rgba(83,155,92,0.05), transparent 38%),
    radial-gradient(circle at 50% 35%, rgba(165,183,60,0.08), transparent 32%);
  pointer-events: none;
}

.orbit-topline {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0;
  font-weight: 400;
  color: rgba(17,17,17,0.55);
  width: min(100%, 760px);
  margin: 0 auto 10px;
  position: relative;
  z-index: 2;
}

.orbit-clean {
  position: relative;
  width: 100%;
  max-width: 760px;
  height: 560px;
  margin: 0 auto;
}

.orbit-line {
  position: absolute;
  left: 50%;
  top: 50%;
  border-radius: 999px;
  border: 1px dashed rgba(83, 155, 92, 0.16);
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.orbit-line-1 {
  width: 70%;
  height: 70%;
}

.orbit-line-2 {
  width: 92%;
  height: 92%;
}

.orbit-center {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 220px;
  height: 220px;
  transform: translate(-50%, -50%);
  border-radius: 999px;
  background: rgba(255,255,255,0.82);
  display: grid;
  place-items: center;
  box-shadow: 0 20px 60px rgba(0,0,0,0.08);
  border: 1px solid rgba(0,0,0,0.05);
  backdrop-filter: blur(6px);
}

.orbit-center img {
  width: 140px;
}

.orbit-node {
  position: absolute;
  border: none;
  background: none;
  padding: 0;
  z-index: 3;
  cursor: pointer;
  transform: translate(-50%, -50%);
  text-align: center;
}

.orbit-node .node-icon {
  width: 68px;
  height: 68px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  box-shadow: 0 14px 34px rgba(19, 32, 24, 0.12);
  border: 1px solid rgba(255,255,255,0.65);
  transition:
    transform var(--transition),
    box-shadow var(--transition),
    background var(--transition);
  margin: 0 auto;
}

.orbit-node .node-label {
  display: inline-flex;
  margin-top: 10px;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255,255,255,0.92);
  border: 1px solid rgba(0,0,0,0.06);
  box-shadow: var(--shadow-soft);
  font-size: 13px;
  font-weight: 400;
  color: rgba(17,17,17,0.76);
  white-space: nowrap;
}

.orbit-node:hover .node-icon,
.orbit-node.active .node-icon {
  transform: translateY(-3px) scale(1.04);
  box-shadow: 0 18px 38px rgba(17, 30, 22, 0.18);
}

.node-icon svg,
.value-icon svg,
.service-icon svg {
  width: 24px;
  height: 24px;
  stroke: currentColor;
  stroke-width: 1.8;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.orbit-node[data-service="counselling"] .node-icon,
.service-tile[data-service="counselling"] .service-icon { background: linear-gradient(135deg, #539b5c, #157664); color: white; }
.orbit-node[data-service="youth"] .node-icon,
.service-tile[data-service="youth"] .service-icon { background: linear-gradient(135deg, #ffc801, #a5b73c); color: #14221e; }
.orbit-node[data-service="schools"] .node-icon,
.service-tile[data-service="schools"] .service-icon { background: linear-gradient(135deg, #157664, #539b5c); color: white; }
.orbit-node[data-service="asylum"] .node-icon,
.service-tile[data-service="asylum"] .service-icon { background: linear-gradient(135deg, #a5b73c, #539b5c); color: #10211c; }
.orbit-node[data-service="training"] .node-icon,
.service-tile[data-service="training"] .service-icon { background: linear-gradient(135deg, #ffc801, #539b5c); color: #10211c; }
.orbit-node[data-service="recovery"] .node-icon,
.service-tile[data-service="recovery"] .service-icon { background: linear-gradient(135deg, #157664, #000000); color: white; }
.orbit-node[data-service="dvsv"] .node-icon,
.service-tile[data-service="dvsv"] .service-icon { background: linear-gradient(135deg, #ffc801, #157664); color: #10211c; }
.orbit-node[data-service="mutual-aid"] .node-icon,
.service-tile[data-service="mutual-aid"] .service-icon { background: linear-gradient(135deg, #d7b92f, #a5b73c); color: #14221e; }
.orbit-node[data-service="mentoring"] .node-icon,
.service-tile[data-service="mentoring"] .service-icon { background: linear-gradient(135deg, #157664, #539b5c); color: #ffffff; }

/* VALUES */
.values-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
}

.value-card {
  background: rgba(255,255,255,0.84);
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: 24px;
  padding: 22px;
  box-shadow: var(--shadow-soft);
  min-height: 200px;
}

.value-icon {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  background: linear-gradient(135deg, rgba(83,155,92,0.12), rgba(21,118,100,0.1));
  color: var(--green-dark);
}

.value-card h3 {
  margin: 0;
  font-size: 16px;
  line-height: 1.55;
  letter-spacing: 0;
}

/* STORY */
.story-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 28px;
  align-items: start;
}

.story-visual {
  position: sticky;
  top: 96px;
}

.story-visual-card {
  min-height: 400px;
  border-radius: 32px;
  padding: 34px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.95), rgba(243,242,235,0.84)),
    radial-gradient(circle at top right, rgba(255,200,1,0.12), transparent 24%);
  border: 1px solid rgba(0,0,0,0.05);
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  justify-content: end;
  position: relative;
  overflow: hidden;
}

.story-visual-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, transparent 40%, rgba(21,118,100,0.05)),
    radial-gradient(circle at 20% 25%, rgba(165,183,60,0.16), transparent 22%);
  pointer-events: none;
}

.story-step-badge {
  display: inline-flex;
  width: 56px;
  height: 56px;
  border-radius: 999px;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--yellow), var(--lime));
  font-weight: 400;
  font-size: 16px;
  margin-bottom: 18px;
  position: relative;
  z-index: 1;
}

.story-visual-card h3,
.story-visual-card p {
  position: relative;
  z-index: 1;
}

.story-visual-card h3 {
  margin: 0 0 10px;
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.02;
  letter-spacing: 0;
  max-width: 12ch;
}

.story-visual-card p {
  margin: 0;
  font-size: 17px;
  line-height: 1.6;
  color: var(--text-soft);
  max-width: 42ch;
}

.story-progress {
  position: relative;
  z-index: 1;
  margin-top: 24px;
  width: 100%;
  height: 8px;
  border-radius: 999px;
  background: rgba(0,0,0,0.08);
  overflow: hidden;
}

.story-progress span {
  display: block;
  height: 100%;
  width: 20%;
  background: linear-gradient(90deg, var(--green-main), var(--yellow));
  border-radius: 999px;
  transition: width 280ms ease;
}

.story-steps {
  display: grid;
  gap: 18px;
}

.story-step {
  background: rgba(255,255,255,0.72);
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: 24px;
  padding: 24px;
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 18px;
  transition:
    transform var(--transition),
    border-color var(--transition),
    box-shadow var(--transition),
    opacity var(--transition);
  opacity: 0.72;
}

.story-step.active {
  transform: translateY(-2px);
  border-color: rgba(83,155,92,0.36);
  box-shadow: var(--shadow-soft);
  opacity: 1;
}

.story-number {
  width: 52px;
  height: 52px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: rgba(165,183,60,0.16);
  color: var(--green-dark);
  font-size: 14px;
  font-weight: 400;
}

.story-step h3 {
  margin: 0 0 6px;
  font-size: 22px;
  line-height: 1.05;
  letter-spacing: 0;
}

.story-step p {
  margin: 0;
  color: var(--text-soft);
  line-height: 1.6;
}

/* SERVICES */
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.service-tile {
  position: relative;
  text-align: left;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.96), rgba(255,255,255,0.84));
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: 24px;
  padding: 22px;
  min-height: 210px;
  box-shadow: var(--shadow-soft);
  cursor: pointer;
  transition:
    transform var(--transition),
    box-shadow var(--transition),
    border-color var(--transition);
}

.service-tile:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 48px rgba(18, 35, 23, 0.12);
}

.service-tile h3 {
  margin: 18px 0 0;
  font-size: 20px;
  line-height: 1.15;
  letter-spacing: 0;
}

.service-icon {
  width: 58px;
  height: 58px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  background: #539b5c;
  color: #ffffff;
}

/* PROJECTS */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.project-card {
  background: rgba(255,255,255,0.82);
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: 24px;
  padding: 24px;
  box-shadow: var(--shadow-soft);
}

.project-card h3 {
  margin: 0 0 10px;
  font-size: 24px;
  letter-spacing: 0;
}

.project-card p {
  margin: 0 0 16px;
  line-height: 1.6;
  color: var(--text-soft);
}

.project-card ul {
  margin: 0;
  padding-left: 18px;
  color: rgba(17,17,17,0.84);
  line-height: 1.7;
  font-size: 14px;
}

/* IMPACT */
.impact-panel {
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  gap: 28px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.92), rgba(243,242,235,0.84)),
    radial-gradient(circle at right center, rgba(255,200,1,0.12), transparent 28%);
  border: 1px solid rgba(0,0,0,0.05);
  border-radius: 32px;
  padding: 34px;
  box-shadow: var(--shadow-card);
}

.impact-copy h2 {
  margin: 0 0 16px;
  font-size: clamp(30px, 4vw, 40px);
  line-height: 1.02;
  letter-spacing: 0;
}

.impact-copy p {
  margin: 0;
  color: var(--text-soft);
  line-height: 1.7;
  font-size: 17px;
}

.impact-metrics {
  display: grid;
  gap: 14px;
  align-content: start;
}

.metric {
  background: rgba(255,255,255,0.88);
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: 22px;
  padding: 22px;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
}

.metric span {
  font-size: clamp(30px, 4vw, 48px);
  line-height: 0.95;
  font-weight: 400;
  letter-spacing: 0;
  color: var(--green-dark);
}

.metric small {
  color: var(--text-soft);
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0;
}

/* CONTACT */
.contact-cta-section {
  padding-bottom: 44px;
}

.contact-card {
  background:
    linear-gradient(180deg, rgba(255,255,255,0.92), rgba(255,255,255,0.84)),
    radial-gradient(circle at left top, rgba(165,183,60,0.12), transparent 24%);
  border: 1px solid rgba(0,0,0,0.05);
  border-radius: 32px;
  padding: 28px 32px;
  box-shadow: var(--shadow-card);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
}

.contact-copy h2 {
  margin: 0 0 14px;
  font-size: clamp(28px, 4vw, 40px);
  line-height: 1.02;
  letter-spacing: 0;
}

.contact-copy p {
  margin: 6px 0;
  color: var(--text-soft);
  font-size: 17px;
}

.contact-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* LOOPING RIBBON */
.logo-ribbon-section {
  padding: 0;
}

.logo-ribbon {
  overflow: hidden;
  border-top: 1px solid rgba(0,0,0,0.05);
  border-bottom: 1px solid rgba(0,0,0,0.05);
  background: rgba(255,255,255,0.52);
}

.logo-track {
  display: flex;
  gap: 40px;
  width: max-content;
  white-space: nowrap;
  padding: 18px 0;
  animation: scrollLoop 20s linear infinite;
}

.logo-track span {
  font-size: 14px;
  font-weight: 400;
  color: rgba(17,17,17,0.58);
  text-transform: uppercase;
  letter-spacing: 0;
}

@keyframes scrollLoop {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* FOOTER */
.site-footer {
  background:
    linear-gradient(180deg, rgba(255,255,255,0.80), rgba(247,248,233,0.96)),
    radial-gradient(circle at 12% 20%, rgba(255,200,1,0.14), transparent 28%),
    radial-gradient(circle at 90% 10%, rgba(21,118,100,0.12), transparent 24%);
  padding: 48px 0;
  border-top: 1px solid rgba(0,0,0,0.05);
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(280px, 1.2fr) minmax(240px, 0.85fr) minmax(190px, 0.65fr);
  gap: 34px;
  align-items: start;
}

.footer-brand-block,
.footer-column {
  min-width: 0;
}

.footer-brand-block h3 {
  margin: 0 0 12px;
  font-size: 30px;
  line-height: 1.1;
  letter-spacing: 0;
}

.footer-tagline {
  margin: 0 0 14px;
  font-weight: 400;
  font-size: 15px;
  line-height: 1.5;
}

.footer-description {
  margin: 0;
  font-size: 15px;
  line-height: 1.65;
  color: #555;
  max-width: 46ch;
}

.footer-badges {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 20px;
}

.footer-badges span {
  background: white;
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 12px;
  border: 1px solid rgba(0,0,0,0.06);
  font-weight: 400;
}

.footer-column h4 {
  font-size: 14px;
  margin: 6px 0 16px;
  text-transform: uppercase;
  letter-spacing: 0;
  color: #777;
}

.footer-column p,
.footer-column a {
  display: block;
  font-size: 15px;
  color: #444;
  margin: 0 0 10px;
  line-height: 1.55;
}

.footer-column a {
  font-weight: 400;
  width: fit-content;
}

.footer-column a:hover {
  color: var(--green-dark);
}

/* DETAIL PANEL */
.detail-panel {
  position: fixed;
  top: 16px;
  right: 16px;
  width: min(430px, calc(100vw - 24px));
  height: calc(100vh - 32px);
  background: linear-gradient(180deg, rgba(255,255,255,0.98), rgba(249,248,243,0.96));
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: 28px;
  box-shadow: 0 26px 100px rgba(16, 24, 20, 0.18);
  z-index: 120;
  transform: translateX(calc(100% + 24px));
  transition: transform 320ms cubic-bezier(.2,.8,.2,1);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.detail-panel.open {
  transform: translateX(0);
}

.detail-panel-header {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 24px 24px 18px;
  border-bottom: 1px solid rgba(0,0,0,0.05);
}

.panel-kicker {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0;
  font-weight: 400;
  color: var(--green-dark);
  margin-bottom: 10px;
}

.detail-panel-header h3 {
  margin: 0;
  font-size: 34px;
  line-height: 0.95;
  letter-spacing: 0;
}

.close-panel {
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 1px solid rgba(0,0,0,0.08);
  background: white;
  cursor: pointer;
  flex: 0 0 auto;
}

.detail-panel-body {
  padding: 24px;
  overflow: auto;
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.detail-image {
  min-height: 190px;
  border-radius: 22px;
  background:
    linear-gradient(135deg, rgba(83,155,92,0.18), rgba(21,118,100,0.14)),
    url("./assets/services/counselling.png") center/cover no-repeat;
  border: 1px solid rgba(0,0,0,0.06);
}

/* INNER PAGES */
.page-hero {
  padding-top: 54px;
}

.page-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.78fr);
  gap: 38px;
  align-items: center;
}

.page-hero h1,
.urgent-hero h1 {
  margin: 0 0 18px;
  font-size: clamp(42px, 6vw, 76px);
  line-height: 0.96;
  letter-spacing: 0;
}

.page-hero p,
.urgent-hero p {
  margin: 0;
  max-width: 62ch;
  color: var(--text-soft);
  font-size: 18px;
  line-height: 1.7;
}

.page-hero-image {
  min-height: 430px;
  border-radius: 32px;
  border: 1px solid rgba(0,0,0,0.06);
  box-shadow: var(--shadow-card);
  background-position: center;
  background-size: cover;
  overflow: hidden;
}

.image-counselling { background-image: linear-gradient(180deg, rgba(249,248,243,0.1), rgba(21,118,100,0.12)), url("./assets/services/counselling.png"); }
.image-asad-fazil { background-image: linear-gradient(180deg, rgba(249,248,243,0.04), rgba(21,118,100,0.10)), url("./assets/asad-fazil.png"), url("./assets/services/recovery.png"); }
.image-training { background-image: linear-gradient(180deg, rgba(249,248,243,0.1), rgba(21,118,100,0.12)), url("./assets/services/training.png"); }
.image-youth { background-image: linear-gradient(180deg, rgba(249,248,243,0.1), rgba(21,118,100,0.12)), url("./assets/services/youth.png"); }
.image-mentoring { background-image: linear-gradient(180deg, rgba(249,248,243,0.1), rgba(21,118,100,0.12)), url("./assets/services/mentoring.JPG"); }
.image-mutual-aid { background-image: linear-gradient(180deg, rgba(249,248,243,0.1), rgba(21,118,100,0.12)), url("./assets/services/mutual-aid.png"); }
.image-recovery { background-image: linear-gradient(180deg, rgba(249,248,243,0.1), rgba(21,118,100,0.12)), url("./assets/services/recovery.png"); }
.image-schools { background-image: linear-gradient(180deg, rgba(249,248,243,0.1), rgba(21,118,100,0.12)), url("./assets/services/schools.png"); }
.image-asylum { background-image: linear-gradient(180deg, rgba(249,248,243,0.1), rgba(21,118,100,0.12)), url("./assets/services/asylum.webp"); }

.about-layout,
.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 380px;
  gap: 30px;
  align-items: start;
}

.timeline {
  position: relative;
  display: grid;
  gap: 18px;
  padding-left: 0;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 35px;
  top: 26px;
  bottom: 26px;
  width: 2px;
  background: linear-gradient(180deg, var(--green-main), var(--yellow));
  opacity: 0.35;
}

.timeline-item {
  position: relative;
  display: grid;
  grid-template-columns: 70px minmax(0, 1fr);
  column-gap: 24px;
  row-gap: 10px;
  padding: clamp(22px, 3vw, 34px);
  border-radius: 28px;
  background:
    linear-gradient(135deg, rgba(255,255,255,0.98), rgba(255,255,255,0.82)),
    radial-gradient(circle at 100% 100%, rgba(83,155,92,0.12), transparent 24%),
    radial-gradient(circle at 0% 0%, rgba(255,200,1,0.14), transparent 24%);
  border: 1px solid rgba(0,0,0,0.06);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
  min-height: 210px;
  align-content: center;
}

.timeline-item:nth-child(even) {
  transform: none;
}

.timeline-item::after {
  content: "";
  position: absolute;
  right: -42px;
  bottom: -48px;
  width: 150px;
  height: 150px;
  border-radius: 999px;
  background: rgba(83,155,92,0.1);
  pointer-events: none;
}

.timeline-item span,
.help-card span,
.event-row > span {
  width: 52px;
  height: 52px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: rgba(165,183,60,0.16);
  color: var(--green-dark);
  font-weight: 400;
  font-size: 14px;
}

.timeline-item h3,
.person-card h3,
.help-card h2,
.involve-card h2 {
  margin: 0 0 8px;
  font-size: 24px;
  line-height: 1.1;
  letter-spacing: 0;
}

.timeline-item h3,
.timeline-item p {
  grid-column: 2;
  min-width: 0;
}

.timeline-item h3 {
  font-size: clamp(28px, 3vw, 42px);
}

.timeline-item p {
  max-width: 64ch;
  font-size: clamp(17px, 1.4vw, 20px);
}

.timeline-item p,
.profile-panel p,
.person-card p,
.help-card p,
.involve-card p,
.event-row p,
.training-panel p,
.donation-panel p,
.safety-panel p {
  margin: 0;
  color: var(--text-soft);
  line-height: 1.7;
}

.profile-panel,
.contact-info-panel {
  position: sticky;
  top: 96px;
  padding: 24px;
  border-radius: 28px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.96), rgba(247,248,233,0.84)),
    radial-gradient(circle at 100% 0%, rgba(255,200,1,0.15), transparent 28%);
  border: 1px solid rgba(0,0,0,0.06);
  box-shadow: var(--shadow-card);
}

.profile-photo {
  min-height: 320px;
  border-radius: 22px;
  background-position: center;
  background-size: cover;
  margin-bottom: 22px;
}

.profile-panel h3,
.contact-info-panel h3 {
  margin: 0 0 8px;
  font-size: 28px;
  letter-spacing: 0;
}

.role {
  font-weight: 400;
  color: var(--green-dark) !important;
  margin-bottom: 16px !important;
}

.people-grid,
.help-grid,
.involvement-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.help-grid,
.involvement-grid {
  grid-template-columns: repeat(3, 1fr);
}

.involvement-grid {
  grid-template-columns: repeat(2, 1fr);
}

.person-card,
.help-card,
.involve-card {
  padding: 24px;
  border-radius: 24px;
  background: rgba(255,255,255,0.82);
  border: 1px solid rgba(0,0,0,0.06);
  box-shadow: var(--shadow-soft);
}

.involve-card {
  min-height: 330px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.involve-card .btn {
  margin-top: auto;
}

.person-avatar {
  width: 58px;
  height: 58px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  background: linear-gradient(135deg, var(--green-main), var(--yellow));
  color: #10211c;
  font-weight: 400;
}

.partner-strip {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  padding: 28px;
  border-radius: 28px;
  background: rgba(255,255,255,0.78);
  border: 1px solid rgba(0,0,0,0.06);
  box-shadow: var(--shadow-soft);
}

.partner-strip span,
.check-list span {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 16px;
  border-radius: 999px;
  background: rgba(255,255,255,0.9);
  border: 1px solid rgba(0,0,0,0.06);
  font-weight: 400;
  color: rgba(17,17,17,0.72);
}

.image-tile {
  overflow: hidden;
  padding-top: 148px;
}

.image-tile .tile-photo {
  position: absolute;
  inset: 0 0 auto;
  height: 130px;
  background-size: cover;
  background-position: center;
}

.image-tile .service-icon,
.image-tile h3,
.image-tile p {
  position: relative;
  z-index: 1;
}

.image-tile p {
  margin: 10px 0 0;
  color: var(--text-soft);
  line-height: 1.5;
}

.training-panel,
.safety-panel,
.donation-panel {
  display: grid;
  grid-template-columns: 1fr 0.8fr;
  gap: 28px;
  align-items: center;
  padding: 34px;
  border-radius: 32px;
  background: rgba(255,255,255,0.82);
  border: 1px solid rgba(0,0,0,0.06);
  box-shadow: var(--shadow-card);
}

.training-panel h2,
.safety-panel h2,
.donation-panel h2 {
  margin: 0 0 14px;
  font-size: clamp(30px, 4vw, 44px);
  line-height: 1.02;
  letter-spacing: 0;
}

.check-list {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.event-list {
  display: grid;
  gap: 14px;
}

.event-row {
  display: grid;
  grid-template-columns: 90px 1fr auto;
  gap: 18px;
  align-items: center;
  padding: 22px;
  border-radius: 24px;
  background: rgba(255,255,255,0.82);
  border: 1px solid rgba(0,0,0,0.06);
  box-shadow: var(--shadow-soft);
}

.event-row > span {
  width: auto;
  padding: 0 14px;
}

.event-row h3 {
  margin: 0 0 6px;
  font-size: 22px;
  letter-spacing: 0;
}

.urgent-hero {
  text-align: center;
  padding-top: 80px;
}

.narrow {
  max-width: 900px;
}

.urgent-hero .hero-actions {
  justify-content: center;
}

.contact-form {
  display: grid;
  gap: 14px;
}

.hidden-field {
  display: none;
}

.contact-form label {
  display: grid;
  gap: 8px;
  font-weight: 400;
  color: rgba(17,17,17,0.75);
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 18px;
  background: rgba(255,255,255,0.9);
  padding: 15px 16px;
  color: var(--text);
  outline: none;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: rgba(83,155,92,0.5);
  box-shadow: 0 0 0 4px rgba(83,155,92,0.12);
}

.contact-info-panel p {
  margin: 0 0 18px;
  color: var(--text-soft);
  line-height: 1.7;
}

.map-frame {
  width: 100%;
  min-height: 170px;
  border-radius: 22px;
  border: 1px solid rgba(0,0,0,0.06);
  background: rgba(83,155,92,0.08);
}

.donation-options {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  flex-wrap: wrap;
}

.back-to-top {
  position: fixed;
  right: 22px;
  bottom: 22px;
  width: 52px;
  height: 52px;
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 999px;
  background: linear-gradient(135deg, var(--green-main), var(--green-dark));
  color: white;
  box-shadow: 0 18px 38px rgba(21,118,100,0.24);
  z-index: 90;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
  transition:
    opacity var(--transition),
    transform var(--transition),
    box-shadow var(--transition);
}

.back-to-top:hover {
  box-shadow: 0 20px 44px rgba(21,118,100,0.32);
}

.back-to-top.show {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.back-to-top svg {
  width: 22px;
  height: 22px;
  stroke: currentColor;
  stroke-width: 2.2;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.scroll-reveal {
  opacity: 0;
  transform: translateY(26px);
  transition:
    opacity 720ms ease,
    transform 720ms cubic-bezier(.2,.8,.2,1);
}

.scroll-reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

.scroll-reveal:nth-child(2) {
  transition-delay: 90ms;
}

.scroll-reveal:nth-child(3) {
  transition-delay: 160ms;
}

.scroll-reveal:nth-child(4) {
  transition-delay: 220ms;
}

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: rgba(255,255,255,0.08);
  z-index: 200;
  pointer-events: none;
}

.scroll-progress span {
  display: block;
  width: 0;
  height: 100%;
  background: linear-gradient(90deg, var(--yellow), var(--green-main), var(--green-dark));
  box-shadow: 0 0 18px rgba(255,200,1,0.45);
}

.site-toast {
  position: fixed;
  left: 50%;
  bottom: 28px;
  z-index: 220;
  transform: translate(-50%, 18px);
  min-width: min(320px, calc(100vw - 32px));
  padding: 16px 22px;
  border-radius: 999px;
  background:
    linear-gradient(135deg, rgba(83,155,92,0.98), rgba(21,118,100,0.98));
  color: white;
  box-shadow: 0 20px 44px rgba(21,118,100,0.26);
  font-weight: 400;
  text-align: center;
  opacity: 0;
  pointer-events: none;
  transition:
    opacity 240ms ease,
    transform 240ms ease;
}

.site-toast.show {
  opacity: 1;
  transform: translate(-50%, 0);
}

.contact-form button[disabled] {
  cursor: wait;
  opacity: 0.72;
}

.detail-panel-body p {
  margin: 0;
  line-height: 1.7;
  color: var(--text-soft);
}

.panel-block h4 {
  margin: 0 0 12px;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0;
  color: rgba(17,17,17,0.58);
}

.panel-block ul {
  margin: 0;
  padding-left: 18px;
  color: rgba(17,17,17,0.84);
  line-height: 1.8;
}

.panel-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: auto;
}

.panel-overlay {
  position: fixed;
  inset: 0;
  background: rgba(16, 22, 18, 0.16);
  backdrop-filter: blur(3px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 320ms ease;
  z-index: 110;
}

.panel-overlay.show {
  opacity: 1;
  pointer-events: auto;
}

/* RESPONSIVE */
@media (max-width: 1180px) {
  .story-layout,
  .impact-panel,
  .page-hero-grid,
  .about-layout,
  .contact-layout,
  .training-panel,
  .safety-panel,
  .donation-panel {
    grid-template-columns: 1fr;
  }

  .values-grid,
  .people-grid,
  .help-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .projects-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .story-visual {
    position: static;
  }

  .profile-panel,
  .contact-info-panel {
    position: static;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 900px) {
  .desktop-nav,
  .header-actions .btn {
    display: none;
  }

  .menu-btn {
    display: inline-flex;
  }

  .mobile-nav.open {
    display: flex;
  }

  .brand-logo {
    width: 150px;
  }

  .orbit-clean {
    height: 470px;
  }

  .orbit-center {
    width: 175px;
    height: 175px;
  }

  .orbit-center img {
    width: 110px;
  }

  .orbit-node .node-icon {
    width: 56px;
    height: 56px;
  }

  .orbit-node .node-label {
    font-size: 12px;
    padding: 8px 12px;
  }

  .contact-card {
    flex-direction: column;
    align-items: flex-start;
  }

  .event-row {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .donation-options {
    justify-content: flex-start;
  }

  .detail-panel {
    top: auto;
    right: 12px;
    left: 12px;
    bottom: 12px;
    width: auto;
    height: min(74vh, 720px);
    border-radius: 28px;
    transform: translateY(calc(100% + 24px));
  }

  .detail-panel.open {
    transform: translateY(0);
  }
}

@media (max-width: 640px) {
  .container {
    width: min(calc(100% - 28px), var(--container));
  }

  .section {
    padding: 54px 0;
  }

  .hero-copy h1 {
    font-size: 38px;
    white-space: normal;
  }

  .section-heading h2,
  .impact-copy h2,
  .contact-copy h2 {
    font-size: 32px;
  }

  .values-grid,
  .projects-grid,
  .services-grid,
  .footer-grid,
  .people-grid,
  .help-grid,
  .involvement-grid {
    grid-template-columns: 1fr;
  }

  .page-hero h1,
  .urgent-hero h1 {
    font-size: 42px;
  }

  .page-hero-image {
    min-height: 300px;
    border-radius: 24px;
  }

  .timeline-item {
    grid-template-columns: 58px minmax(0, 1fr);
    padding: 20px;
  }

  .timeline {
    padding-left: 0;
  }

  .timeline::before {
    left: 29px;
  }

  .story-step {
    grid-template-columns: 52px 1fr;
    padding: 18px;
  }

  .orbit-clean {
    height: 420px;
  }

  .orbit-center {
    width: 150px;
    height: 150px;
  }

  .orbit-center img {
    width: 96px;
  }

  .orbit-node .node-label {
    font-size: 11px;
    max-width: 94px;
    white-space: normal;
    text-align: center;
    justify-content: center;
    line-height: 1.2;
  }

  .stat-chip {
    min-width: 100%;
  }
}

/* MOCKUP-LED VISUAL DIRECTION */
@media (min-width: 901px) {
  body {
    padding: 44px 0;
  }

  .site-shell {
    width: min(calc(100% - 88px), 1180px);
    margin: 0 auto;
    background:
      linear-gradient(180deg, rgba(255,255,255,0.92), rgba(252,250,243,0.96)),
      radial-gradient(circle at 20% 0%, rgba(255,200,1,0.08), transparent 26%),
      radial-gradient(circle at 88% 18%, rgba(83,155,92,0.08), transparent 24%);
    border: 1px solid rgba(20, 30, 24, 0.08);
    border-radius: 8px;
    box-shadow:
      0 22px 65px rgba(18, 22, 16, 0.10),
      0 2px 10px rgba(18, 22, 16, 0.04);
  }

  .site-header {
    top: 0;
  }
}

body {
  background:
    radial-gradient(circle at 18% 6%, rgba(255,200,1,0.10), transparent 22%),
    radial-gradient(circle at 78% 10%, rgba(83,155,92,0.10), transparent 24%),
    linear-gradient(180deg, #f6f2ec 0%, #fbf7f0 48%, #f3efe7 100%);
}

.site-header {
  background: rgba(255, 253, 247, 0.92);
  border-bottom: 1px solid rgba(20, 30, 24, 0.08);
  backdrop-filter: blur(20px);
}

.header-inner {
  min-height: 58px;
}

.brand-logo {
  width: 142px;
}

.desktop-nav {
  gap: 25px;
}

.desktop-nav a {
  font-size: 11px;
  font-weight: 400;
  color: rgba(17, 22, 18, 0.62);
}

.header-actions .btn {
  min-height: 34px;
  padding: 0 16px;
  font-size: 11px;
}

.btn {
  min-height: 42px;
  padding: 0 18px;
  font-size: 13px;
  box-shadow: none;
}

.btn-primary {
  background: #355f46;
  box-shadow: 0 12px 24px rgba(21, 72, 54, 0.18);
}

.btn-secondary {
  background: #ded6c3;
  border-color: rgba(70, 62, 42, 0.10);
}

.btn-outline {
  background: rgba(255,255,255,0.62);
  border-color: rgba(24, 30, 24, 0.10);
}

.section {
  padding: 54px 0;
}

.section-soft {
  background:
    linear-gradient(180deg, rgba(244,241,232,0.72), rgba(255,255,255,0.72)),
    radial-gradient(circle at 88% 18%, rgba(165,183,60,0.10), transparent 24%);
  border-top: 1px solid rgba(20, 30, 24, 0.05);
  border-bottom: 1px solid rgba(20, 30, 24, 0.05);
}

.eyebrow {
  margin-bottom: 10px;
  color: #789264;
  font-size: 10px;
  letter-spacing: 0;
}

.section-heading h2,
.hero-copy h1,
.page-hero h1,
.urgent-hero h1,
.impact-copy h2,
.contact-copy h2,
.training-panel h2,
.safety-panel h2,
.donation-panel h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  letter-spacing: 0;
  color: #1f211d;
}

.section-heading {
  margin-bottom: 24px;
}

.section-heading h2 {
  font-size: clamp(28px, 3.3vw, 46px);
}

.hero {
  padding-top: 42px;
}

.hero-copy {
  max-width: 780px;
  margin-bottom: 16px;
}

.hero-copy h1 {
  font-size: clamp(38px, 4.8vw, 64px);
}

.hero-lead,
.hero-sublead,
.hero-meta,
.page-hero p,
.urgent-hero p {
  color: rgba(39, 44, 38, 0.66);
}

.hero-meta {
  font-size: 12px;
}

.hero-stats {
  display: none;
}

.orbit-section {
  margin: 10px auto 0;
  max-width: 940px;
  padding: 20px 20px 10px;
  border-radius: 8px;
  background:
    radial-gradient(ellipse at center, rgba(83,155,92,0.13), transparent 55%),
    linear-gradient(180deg, rgba(255,255,255,0.18), rgba(247,244,235,0.36));
}

.orbit-clean {
  height: 500px;
}

.orbit-line {
  border-color: rgba(68, 101, 78, 0.18);
}

.orbit-line-1 {
  width: 64%;
  height: 54%;
}

.orbit-line-2 {
  width: 88%;
  height: 76%;
}

.orbit-center {
  width: 240px;
  height: 150px;
  border-radius: 999px;
  background: rgba(255,255,255,0.88);
}

.orbit-center img {
  width: 150px;
}

.orbit-node .node-icon {
  width: 58px;
  height: 58px;
}

.orbit-node .node-label {
  margin-top: 8px;
  padding: 8px 13px;
  font-size: 11px;
  color: rgba(32, 37, 31, 0.70);
}

.values-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.value-card,
.person-card,
.help-card,
.involve-card,
.project-card,
.service-tile,
.story-step,
.contact-card,
.impact-panel,
.training-panel,
.safety-panel,
.donation-panel,
.profile-panel,
.contact-info-panel {
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.88), rgba(250,247,239,0.86));
  border: 1px solid rgba(25, 36, 27, 0.08);
  box-shadow: 0 14px 36px rgba(32, 34, 25, 0.065);
}

.value-card {
  min-height: 154px;
  padding: 18px;
}

.value-card h3 {
  font-size: 13px;
  line-height: 1.45;
}

.value-icon,
.service-icon,
.person-avatar {
  border-radius: 999px;
}

.story-layout {
  grid-template-columns: minmax(280px, 0.8fr) minmax(0, 1.2fr);
}

.story-visual-card {
  border-radius: 8px;
  min-height: 420px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.86), rgba(241,238,229,0.9)),
    radial-gradient(circle at 18% 18%, rgba(255,200,1,0.13), transparent 24%);
}

.story-visual-card h3 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
}

.story-step {
  grid-template-columns: 56px 1fr;
  padding: 18px;
  opacity: 0.9;
}

.story-step h3 {
  font-size: 19px;
}

.story-step.active {
  border-color: rgba(83,155,92,0.32);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.96), rgba(249,247,239,0.94)),
    radial-gradient(circle at 100% 100%, rgba(255,200,1,0.12), transparent 24%);
}

.services-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.service-tile {
  min-height: 190px;
  padding: 0;
  overflow: hidden;
}

.service-tile::before {
  content: "";
  display: block;
  height: 78px;
  background:
    radial-gradient(circle at 68% 18%, rgba(255,255,255,0.18), transparent 20%),
    linear-gradient(135deg, rgba(83,155,92,0.72), rgba(21,118,100,0.86));
}

.service-tile[data-service="youth"]::before,
.service-tile[data-service="training"]::before,
.service-tile[data-service="mutual-aid"]::before {
  background:
    radial-gradient(circle at 68% 18%, rgba(255,255,255,0.22), transparent 20%),
    linear-gradient(135deg, rgba(255,200,1,0.52), rgba(165,183,60,0.78));
}

.service-tile[data-service="recovery"]::before,
.service-tile[data-service="dvsv"]::before {
  background: linear-gradient(135deg, rgba(21,118,100,0.88), rgba(0,0,0,0.72));
}

.service-tile .service-icon {
  position: relative;
  margin: -35px 0 0 22px;
  box-shadow: 0 12px 26px rgba(23, 34, 26, 0.16);
}

.service-tile h3 {
  margin: 18px 22px 0;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  font-size: 22px;
}

.image-tile {
  padding-top: 0;
}

.image-tile .tile-photo {
  position: relative;
  height: 88px;
  filter: saturate(0.78) contrast(0.92);
}

.image-tile::before {
  display: none;
}

.image-tile .service-icon {
  margin-top: -31px;
}

.image-tile p {
  margin: 10px 22px 22px;
  font-size: 13px;
}

.projects-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.project-card {
  min-height: 180px;
  position: relative;
  overflow: hidden;
}

.project-card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 5px;
  background: linear-gradient(180deg, var(--yellow), var(--green-main));
}

.project-card h3 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 26px;
  font-weight: 400;
}

.page-hero {
  padding-top: 0;
}

.page-hero-grid {
  width: 100%;
  min-height: 350px;
  grid-template-columns: 1fr 0.92fr;
  gap: 0;
  border-bottom: 1px solid rgba(20, 30, 24, 0.07);
}

.page-hero-grid > div:first-child {
  padding: clamp(32px, 5vw, 64px);
}

.page-hero h1 {
  font-size: clamp(44px, 5.6vw, 68px);
  max-width: 11ch;
}

.page-hero-image {
  min-height: 350px;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  filter: saturate(0.72) contrast(0.92);
}

.about-layout {
  grid-template-columns: minmax(0, 1fr) 330px;
}

.timeline {
  gap: 0;
}

.timeline::before {
  left: 27px;
  top: 18px;
  bottom: 18px;
  opacity: 0.22;
}

.timeline-item {
  grid-template-columns: 54px minmax(0, 1fr);
  min-height: 0;
  padding: 0 0 30px;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  overflow: visible;
}

.timeline-item:last-child {
  padding-bottom: 0;
}

.timeline-item::after {
  display: none;
}

.timeline-item span {
  position: relative;
  z-index: 1;
  width: 38px;
  height: 38px;
  background: #d7dcb9;
  color: #315f4a;
  font-size: 12px;
}

.timeline-item h3 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(24px, 2.5vw, 34px);
  font-weight: 400;
}

.timeline-item p {
  max-width: 58ch;
  font-size: 15px;
  line-height: 1.7;
}

.profile-photo {
  min-height: 210px;
  border-radius: 8px;
  filter: saturate(0.78) contrast(0.95);
}

.partner-strip {
  border-radius: 999px;
  justify-content: center;
}

.detail-panel {
  border-radius: 8px;
  top: 36px;
  right: max(20px, calc((100vw - 1180px) / 2 + 24px));
  background:
    linear-gradient(180deg, rgba(255,255,255,0.98), rgba(250,247,239,0.98));
}

.detail-image {
  border-radius: 8px;
  filter: saturate(0.78) contrast(0.92);
}

.contact-form input,
.contact-form select,
.contact-form textarea,
.map-frame {
  border-radius: 8px;
}

.footer-grid {
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.9fr) minmax(0, 0.7fr);
}

.scroll-progress {
  height: 2px;
}

.back-to-top {
  background: #4f875c;
}

@media (max-width: 1180px) {
  .services-grid,
  .projects-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .page-hero-grid {
    grid-template-columns: 1fr;
  }

  .page-hero-image {
    min-height: 280px;
  }
}

@media (max-width: 900px) {
  body {
    padding: 0;
  }

  .site-shell {
    width: 100%;
    border-radius: 0;
  }

  .header-inner {
    min-height: 64px;
  }

  .brand-logo {
    width: 138px;
  }

  .hero {
    padding-top: 30px;
  }

  .orbit-clean {
    height: 430px;
  }

  .values-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .section {
    padding: 42px 0;
  }

  .hero-copy {
    text-align: left;
  }

  .hero-actions {
    justify-content: flex-start;
  }

  .hero-copy h1,
  .page-hero h1,
  .urgent-hero h1 {
    font-size: 38px;
  }

  .orbit-section {
    padding: 10px 0;
  }

  .orbit-topline {
    display: none;
  }

  .orbit-clean {
    height: 360px;
  }

  .orbit-center {
    width: 148px;
    height: 112px;
  }

  .orbit-node .node-icon {
    width: 46px;
    height: 46px;
  }

  .services-grid,
  .projects-grid,
  .values-grid {
    grid-template-columns: 1fr;
  }

  .service-tile {
    min-height: 170px;
  }

  .page-hero-grid > div:first-child {
    padding: 30px 20px;
  }

  .timeline-item {
    grid-template-columns: 46px minmax(0, 1fr);
  }

  .timeline::before {
    left: 19px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }
}

/* FULL-BLEED REFINEMENT PASS */
@media (min-width: 901px) {
  body {
    padding: 0;
  }

  .site-shell {
    width: 100%;
    margin: 0;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    background:
      radial-gradient(circle at 10% 4%, rgba(255,200,1,0.16), transparent 22%),
      radial-gradient(circle at 90% 12%, rgba(83,155,92,0.14), transparent 24%),
      linear-gradient(180deg, rgba(255,253,247,0.98), rgba(247,244,235,0.94));
  }
}

.container {
  width: min(calc(100% - 72px), 1440px);
}

.site-header {
  background: rgba(255, 252, 244, 0.9);
}

.header-inner {
  min-height: 76px;
}

.desktop-nav a {
  font-size: 14px;
}

.header-actions .btn {
  min-height: 44px;
  font-size: 14px;
}

.btn {
  min-height: 50px;
  padding: 0 22px;
  font-size: 15px;
}

.btn-primary {
  background: linear-gradient(135deg, #539b5c, #157664);
  box-shadow: 0 16px 34px rgba(21, 118, 100, 0.25);
}

.btn-secondary {
  background: linear-gradient(135deg, rgba(255,200,1,0.38), rgba(222,214,195,0.95));
}

.section {
  padding: 82px 0;
}

.hero {
  min-height: calc(100vh - 76px);
  display: grid;
  align-items: center;
  padding-top: 54px;
}

.hero-copy {
  max-width: 1060px;
}

.hero-copy h1 {
  font-size: clamp(58px, 7.2vw, 118px);
  line-height: 0.9;
}

.hero-lead,
.hero-sublead {
  max-width: 82ch;
  font-size: clamp(20px, 1.65vw, 28px);
  line-height: 1.55;
}

.hero-meta {
  font-size: 16px;
}

.section-heading h2 {
  font-size: clamp(38px, 4.2vw, 66px);
}

.eyebrow {
  font-size: 13px;
  color: #6f8f4f;
}

.orbit-section {
  max-width: 1100px;
}

.services-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
}

.service-tile {
  min-height: 260px;
  background: rgba(255,255,255,0.9);
}

.service-tile::before {
  height: 118px;
  background-size: cover;
  background-position: center;
  filter: saturate(0.95) contrast(0.96);
}

.service-tile[data-service="counselling"]::before { background-image: linear-gradient(180deg, rgba(83,155,92,0.08), rgba(21,118,100,0.18)), url("./assets/services/counselling.png"); }
.service-tile[data-service="schools"]::before { background-image: linear-gradient(180deg, rgba(83,155,92,0.08), rgba(21,118,100,0.18)), url("./assets/services/schools.png"); }
.service-tile[data-service="recovery"]::before { background-image: linear-gradient(180deg, rgba(21,118,100,0.08), rgba(0,0,0,0.2)), url("./assets/services/recovery.png"); }
.service-tile[data-service="training"]::before { background-image: linear-gradient(180deg, rgba(255,200,1,0.08), rgba(165,183,60,0.18)), url("./assets/services/training.png"); }
.service-tile[data-service="mutual-aid"]::before { background-image: linear-gradient(180deg, rgba(255,200,1,0.08), rgba(165,183,60,0.18)), url("./assets/services/mutual-aid.png"); }
.service-tile[data-service="youth"]::before { background-image: linear-gradient(180deg, rgba(255,200,1,0.08), rgba(165,183,60,0.18)), url("./assets/services/youth.png"); }
.service-tile[data-service="asylum"]::before { background-image: linear-gradient(180deg, rgba(83,155,92,0.08), rgba(21,118,100,0.18)), url("./assets/services/asylum.webp"); }

.service-tile h3 {
  font-size: 26px;
}

.service-tile p,
.project-card p,
.value-card h3,
.story-step p,
.timeline-item p,
.person-card p,
.help-card p,
.involve-card p,
.event-row p {
  font-size: 17px;
}

.value-card {
  min-height: 190px;
}

.value-card h3 {
  font-size: 17px;
}

.page-hero-grid {
  min-height: 520px;
}

.page-hero h1 {
  font-size: clamp(60px, 6.4vw, 96px);
}

.page-hero p {
  font-size: 22px;
}

.page-hero-image {
  min-height: 520px;
}

.detail-panel {
  right: 18px;
  width: min(460px, calc(100vw - 36px));
  transform: translateX(calc(100% + 48px));
}

.detail-panel.open {
  transform: translateX(0);
}

.detail-panel-header h3 {
  font-size: 42px;
}

.detail-panel-body p,
.panel-block ul {
  font-size: 16px;
}

@media (max-width: 1180px) {
  .services-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .container {
    width: min(calc(100% - 36px), 1440px);
  }

  .hero {
    min-height: auto;
  }

  .hero-copy h1 {
    font-size: 54px;
  }

  .hero-lead,
  .hero-sublead {
    font-size: 20px;
  }

  .page-hero-grid,
  .page-hero-image {
    min-height: 360px;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(calc(100% - 28px), 1440px);
  }

  .hero-copy h1,
  .page-hero h1,
  .urgent-hero h1 {
    font-size: 42px;
    line-height: 1;
  }

  .hero-lead,
  .hero-sublead,
  .page-hero p,
  .urgent-hero p {
    font-size: 18px;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .service-tile {
    min-height: 230px;
  }
}

/* FINAL PANEL STATE - keep hidden across viewport changes */
.detail-panel {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateX(calc(100vw + 80px)) !important;
}

.detail-panel.open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(0) !important;
}

.panel-overlay {
  visibility: hidden;
}

.panel-overlay.show {
  visibility: visible;
}

@media (max-width: 900px) {
  .detail-panel {
    transform: translateY(calc(100vh + 80px)) !important;
  }

  .detail-panel.open {
    transform: translateY(0) !important;
  }
}

/* FINAL CONTENT POLISH */
.urgent-hero {
  display: grid;
  align-items: center;
  min-height: calc(100vh - 76px);
  text-align: center;
  overflow: hidden;
}

.urgent-hero .narrow {
  width: min(calc(100% - 72px), 1180px);
  max-width: 1180px;
}

.urgent-hero h1 {
  max-width: 12ch;
  margin-left: auto;
  margin-right: auto;
  font-size: clamp(58px, 8vw, 132px);
  line-height: 0.9;
  text-wrap: balance;
}

.urgent-hero p {
  max-width: 860px;
  margin-left: auto;
  margin-right: auto;
  font-size: clamp(20px, 2vw, 30px);
  text-wrap: pretty;
}

.urgent-hero .hero-actions {
  justify-content: center;
}

.image-tile {
  display: grid;
  grid-template-rows: 190px auto 1fr auto;
  min-height: 360px;
  padding: 0;
}

.image-tile .tile-photo {
  position: relative;
  height: 190px;
  width: 100%;
  background-size: cover;
  background-position: center;
  filter: saturate(0.96) contrast(0.96);
}

.image-tile .service-icon {
  margin: -35px 0 0 26px;
  z-index: 2;
}

.image-tile h3 {
  margin: 22px 26px 0;
  min-height: 2.1em;
}

.image-tile p {
  margin: 12px 26px 26px;
  align-self: end;
}

.image-tile .image-counselling,
.service-tile[data-service="counselling"]::before {
  background-position: center 44%;
}


.image-tile .image-schools,
.service-tile[data-service="schools"]::before {
  background-position: center 48%;
}

.image-tile .image-recovery,
.service-tile[data-service="recovery"]::before {
  background-position: center 54%;
}

.image-tile .image-training,
.service-tile[data-service="training"]::before {
  background-position: center 50%;
}

.image-tile .image-mutual-aid,
.service-tile[data-service="mutual-aid"]::before {
  background-position: center 46%;
}

.image-tile .image-youth,
.service-tile[data-service="youth"]::before {
  background-position: center 36%;
}

.image-tile .image-asylum,
.service-tile[data-service="asylum"]::before {
  background-position: center 56%;
}

.profile-photo.image-asad-fazil {
  min-height: 360px;
  background-position: center top;
  background-size: cover;
}

@media (max-width: 1180px) {
  .urgent-hero h1 {
    font-size: clamp(52px, 9vw, 96px);
  }

  .image-tile {
    min-height: 330px;
  }
}

@media (max-width: 900px) {
  .urgent-hero {
    min-height: auto;
    padding-top: 70px;
    padding-bottom: 70px;
  }

  .urgent-hero .narrow {
    width: min(calc(100% - 36px), 900px);
  }

  .urgent-hero h1 {
    max-width: 11ch;
    font-size: clamp(48px, 11vw, 78px);
  }

  .urgent-hero p {
    font-size: 20px;
  }

  .profile-photo.image-asad-fazil {
    min-height: 420px;
  }
}

@media (max-width: 640px) {
  .urgent-hero .narrow {
    width: min(calc(100% - 28px), 640px);
  }

  .urgent-hero h1 {
    max-width: 10ch;
    font-size: clamp(42px, 13vw, 58px);
  }

  .urgent-hero p {
    font-size: 18px;
  }

  .image-tile {
    grid-template-rows: 170px auto 1fr auto;
    min-height: 310px;
  }

  .image-tile .tile-photo {
    height: 170px;
  }

  .profile-photo.image-asad-fazil {
    min-height: 360px;
  }
}

/* FINAL SERVICE IMAGE CROP FIX */
.service-tile.image-tile {
  display: flex;
  flex-direction: column;
  min-height: 380px;
  padding: 0;
  overflow: hidden;
}

.service-tile.image-tile::before {
  content: none !important;
  display: none !important;
}

.service-tile.image-tile .tile-photo {
  flex: 0 0 190px;
  width: 100%;
  height: 190px;
  background-size: cover;
  background-repeat: no-repeat;
  filter: saturate(0.98) contrast(0.96);
}

.service-tile.image-tile .service-icon {
  flex: 0 0 auto;
  margin: -36px 0 0 26px;
}

.service-tile.image-tile h3 {
  margin: 22px 26px 0;
}

.service-tile.image-tile p {
  margin: 12px 26px 26px;
}

.service-tile.image-tile .image-counselling { background-position: center 46%; }
.service-tile.image-tile .image-schools { background-position: center 50%; }
.service-tile.image-tile .image-recovery { background-position: center 55%; }
.service-tile.image-tile .image-training { background-position: center 44%; }
.service-tile.image-tile .image-mutual-aid { background-position: center 50%; background-size: cover; }
.service-tile.image-tile .image-youth { background-position: center 42%; }
.service-tile.image-tile .image-mentoring { background-position: center 42%; }
.service-tile.image-tile .image-asylum { background-position: center 58%; }
.service-tile.image-tile .image-dvsv { background-position: center 45%; }

.profile-photo.image-asad-fazil {
  background-position: center 8%;
}

@media (max-width: 900px) {
  .service-tile.image-tile {
    min-height: 340px;
  }

  .service-tile.image-tile .tile-photo {
    flex-basis: 170px;
    height: 170px;
  }
}

@media (max-width: 640px) {
  .service-tile.image-tile {
    min-height: 320px;
  }
}

/* STICKY SERVICES STACK */
.sticky-services-section {
  position: relative;
  padding: clamp(72px, 9vw, 150px) 0;
  background:
    radial-gradient(circle at 12% 8%, rgba(255, 200, 1, 0.16), transparent 24%),
    radial-gradient(circle at 88% 20%, rgba(83, 155, 92, 0.16), transparent 26%),
    linear-gradient(180deg, rgba(255,253,247,0.98), rgba(245,242,232,0.92));
  overflow: visible;
}

.sticky-services-intro {
  max-width: 920px;
  margin: 0 auto clamp(42px, 7vw, 92px);
  text-align: center;
}

.sticky-services-intro h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  font-size: clamp(44px, 6vw, 90px);
  line-height: 0.94;
  letter-spacing: 0;
  color: #1f211d;
  text-wrap: balance;
}

.sticky-services-intro p {
  max-width: 62ch;
  margin: 22px auto 0;
  color: rgba(39, 44, 38, 0.68);
  font-size: clamp(18px, 1.45vw, 24px);
  line-height: 1.6;
}

.sticky-services-stack {
  display: grid;
  gap: clamp(28px, 5vw, 64px);
}

.sticky-service-card.service-tile {
  position: sticky;
  top: var(--card-top, 104px);
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
  align-items: stretch;
  gap: clamp(22px, 4vw, 54px);
  min-height: min(620px, calc(100vh - 150px));
  width: 100%;
  padding: clamp(26px, 5vw, 64px);
  border: 1px solid rgba(25, 36, 27, 0.08);
  border-radius: 28px;
  background:
    linear-gradient(135deg, var(--sticky-card-bg, #f4e7b8), rgba(255,255,255,0.90)),
    radial-gradient(circle at 8% 12%, rgba(255,255,255,0.45), transparent 18%);
  box-shadow: 0 30px 80px rgba(28, 35, 25, 0.12);
  text-align: left;
  cursor: pointer;
  overflow: hidden;
  transition: transform 260ms ease, box-shadow 260ms ease;
}

.sticky-service-card.service-tile::before {
  display: none !important;
  content: none !important;
}

.sticky-service-card:nth-child(1) { --sticky-card-bg: #f5dc73; }
.sticky-service-card:nth-child(2) { --sticky-card-bg: #d7dca6; }
.sticky-service-card:nth-child(3) { --sticky-card-bg: #b6c87a; }
.sticky-service-card:nth-child(4) { --sticky-card-bg: #7da568; }
.sticky-service-card:nth-child(5) { --sticky-card-bg: #f7c94c; }
.sticky-service-card:nth-child(6) { --sticky-card-bg: #e4d3ae; }
.sticky-service-card:nth-child(7) { --sticky-card-bg: #9eb965; }
.sticky-service-card:nth-child(8) { --sticky-card-bg: #6a9874; }

.sticky-service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 38px 92px rgba(28, 35, 25, 0.16);
}

.sticky-service-card:focus-visible {
  outline: 4px solid rgba(21, 118, 100, 0.28);
  outline-offset: 4px;
}

.sticky-card-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
}

.sticky-card-kicker {
  display: inline-flex;
  width: fit-content;
  margin-bottom: 20px;
  padding: 10px 15px;
  border-radius: 999px;
  background: rgba(255,255,255,0.58);
  color: #315f4a;
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: uppercase;
}

.sticky-card-title {
  display: block;
  max-width: 12ch;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(42px, 5vw, 82px);
  font-weight: 400;
  line-height: 0.92;
  letter-spacing: 0;
  color: #161915;
}

.sticky-card-text {
  display: block;
  max-width: 42ch;
  margin-top: 24px;
  color: rgba(20, 25, 20, 0.72);
  font-size: clamp(18px, 1.5vw, 24px);
  line-height: 1.58;
}

.sticky-card-media {
  min-height: 360px;
  border-radius: 20px;
  overflow: hidden;
  align-self: stretch;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.32), 0 24px 48px rgba(24, 30, 24, 0.14);
}

.sticky-card-media img {
  width: 100%;
  height: 100%;
  min-height: 100%;
  object-fit: cover;
  display: block;
  filter: saturate(0.94) contrast(0.97);
}

.sticky-service-card[data-service="counselling"] .sticky-card-media img { object-position: center 45%; }
.sticky-service-card[data-service="schools"] .sticky-card-media img { object-position: center 50%; }
.sticky-service-card[data-service="recovery"] .sticky-card-media img { object-position: center 56%; }
.sticky-service-card[data-service="training"] .sticky-card-media img { object-position: center 44%; }
.sticky-service-card[data-service="mutual-aid"] .sticky-card-media img { object-position: center 50%; }
.sticky-service-card[data-service="youth"] .sticky-card-media img { object-position: center 42%; }
.sticky-service-card[data-service="asylum"] .sticky-card-media img { object-position: center 58%; }

@media (max-width: 980px) {
  .sticky-service-card.service-tile {
    position: relative;
    top: auto !important;
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .sticky-card-title {
    max-width: 13ch;
  }

  .sticky-card-media {
    min-height: 320px;
    order: -1;
  }
}

@media (max-width: 640px) {
  .sticky-services-section {
    padding: 56px 0;
  }

  .sticky-services-intro {
    text-align: left;
  }

  .sticky-services-intro h2 {
    font-size: 42px;
  }

  .sticky-service-card.service-tile {
    padding: 20px;
    border-radius: 18px;
  }

  .sticky-card-media {
    min-height: 230px;
    border-radius: 14px;
  }

  .sticky-card-title {
    font-size: 38px;
  }

  .sticky-card-text {
    font-size: 17px;
  }
}

/* CLIENT UPDATE PASS */
.brand-logo {
  width: clamp(190px, 15vw, 250px);
}

.hero-copy .eyebrow {
  font-weight: 400;
}

.section-heading .eyebrow,
.sticky-services-intro .eyebrow {
  display: block;
  margin-bottom: 14px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(42px, 5.8vw, 92px);
  font-weight: 400;
  line-height: 0.95;
  letter-spacing: 0;
  text-transform: none;
  color: #1f211d;
}

.section-heading h2,
.sticky-services-intro h2 {
  max-width: 760px;
  margin: 0;
  font-family: "Inter", sans-serif;
  font-size: clamp(19px, 1.65vw, 28px);
  font-weight: 400;
  line-height: 1.35;
  letter-spacing: 0;
  color: rgba(39, 44, 38, 0.66);
}

.section-heading.split {
  align-items: start;
}

.section-heading.split .section-note {
  max-width: 34ch;
  font-size: clamp(15px, 1.05vw, 17px);
}

.values-grid-compact {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.story-step-badge,
.story-number {
  display: none;
}

.story-step {
  grid-template-columns: 1fr;
}

.project-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: -8px 0 28px;
}

.project-tab {
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 999px;
  padding: 11px 16px;
  background: rgba(255,255,255,0.72);
  color: #315f4a;
  font-weight: 400;
  cursor: default;
}

.project-tab.active {
  background: #315f4a;
  color: #fff;
  box-shadow: 0 14px 32px rgba(49, 95, 74, 0.22);
}

.funder-banner {
  padding: 22px 0;
  background: #315f4a;
  color: #fff;
}

.funder-banner-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.funder-banner-inner span {
  margin-right: 8px;
  color: rgba(255,255,255,0.72);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: uppercase;
}

.funder-banner-inner strong {
  padding: 9px 13px;
  border-radius: 999px;
  background: rgba(255,255,255,0.12);
  font-size: 14px;
}

.training-request-card,
.training-panel-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(240px, 340px);
  gap: clamp(24px, 5vw, 64px);
  align-items: center;
}

.training-request-card {
  padding: clamp(28px, 5vw, 64px);
  border-radius: 30px;
  background:
    radial-gradient(circle at 0% 0%, rgba(255, 200, 1, 0.22), transparent 28%),
    linear-gradient(135deg, rgba(255,255,255,0.96), rgba(247,248,233,0.84));
  border: 1px solid rgba(0,0,0,0.06);
  box-shadow: var(--shadow-card);
}

.training-request-card h2,
.training-panel-grid h2 {
  margin: 0 0 16px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(34px, 4vw, 62px);
  font-weight: 400;
  line-height: 0.98;
  letter-spacing: 0;
}

.training-request-card p,
.training-panel-grid p {
  color: var(--text-soft);
  font-size: clamp(16px, 1.25vw, 20px);
  line-height: 1.6;
}

.qr-card {
  display: grid;
  gap: 14px;
  justify-items: center;
  padding: 20px;
  border-radius: 24px;
  background: #fff;
  border: 1px solid rgba(0,0,0,0.06);
  box-shadow: 0 20px 48px rgba(18, 35, 23, 0.10);
  text-align: center;
  color: #315f4a;
  font-weight: 400;
}

.qr-card img {
  width: min(100%, 240px);
  border-radius: 18px;
}

.footer-description,
.footer-badges {
  display: none !important;
}

.footer-socials {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 14px;
  margin: 14px 0 0;
  color: #555;
  font-weight: 400;
}

.footer-socials a {
  color: #315f4a;
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
  padding-top: 18px;
  border-top: 1px solid rgba(0,0,0,0.08);
  color: #444;
  font-size: 14px;
  font-weight: 400;
}

.newsletter-popup {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 90;
  width: min(380px, calc(100vw - 32px));
  padding: 24px;
  border-radius: 26px;
  background:
    radial-gradient(circle at 100% 0%, rgba(255, 200, 1, 0.22), transparent 32%),
    rgba(255,255,255,0.98);
  border: 1px solid rgba(0,0,0,0.08);
  box-shadow: 0 30px 90px rgba(15, 22, 16, 0.18);
  transform: translateY(24px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 260ms ease, transform 260ms ease;
}

.newsletter-popup.show {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.newsletter-popup h3 {
  margin: 8px 0 8px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 32px;
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0;
}

.newsletter-popup p {
  margin: 0 0 18px;
  color: var(--text-soft);
  line-height: 1.55;
}

.newsletter-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 999px;
  background: rgba(0,0,0,0.06);
  cursor: pointer;
  font-weight: 400;
}

.newsletter-form {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
}

.newsletter-form input,
.translate-widget select {
  border: 1px solid rgba(0,0,0,0.12);
  border-radius: 999px;
  min-height: 48px;
  padding: 0 16px;
  font: inherit;
  background: #fff;
}

.translate-widget {
  position: fixed;
  left: 18px;
  bottom: 18px;
  z-index: 75;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  border-radius: 999px;
  background: rgba(255,255,255,0.94);
  border: 1px solid rgba(0,0,0,0.08);
  box-shadow: 0 16px 42px rgba(20, 27, 20, 0.12);
}

.translate-widget label {
  font-size: 12px;
  font-weight: 400;
  color: #315f4a;
  text-transform: uppercase;
  letter-spacing: 0;
}

#google_translate_element,
.goog-te-banner-frame,
.goog-logo-link,
.goog-te-gadget span {
  display: none !important;
}

body {
  top: 0 !important;
}

@media (max-width: 900px) {
  .values-grid-compact,
  .training-request-card,
  .training-panel-grid {
    grid-template-columns: 1fr;
  }

  .section-heading .eyebrow,
  .sticky-services-intro .eyebrow {
    font-size: clamp(38px, 10vw, 64px);
  }
}

@media (max-width: 640px) {
  .brand-logo {
    width: 150px;
  }

  .section-heading .eyebrow,
  .sticky-services-intro .eyebrow {
    font-size: 38px;
  }

  .section-heading h2,
  .sticky-services-intro h2 {
    font-size: 18px;
  }

  .newsletter-form {
    grid-template-columns: 1fr;
  }

  .translate-widget {
    left: 10px;
    bottom: 10px;
    max-width: calc(100vw - 92px);
  }
}

/* Requested polish updates */
.header-inner {
  min-height: 58px;
  gap: 18px;
}

.brand-logo {
  width: 132px;
  max-height: 44px;
}

.desktop-nav {
  gap: 20px;
}

.desktop-nav a {
  font-size: 13px;
}

.header-actions {
  gap: 8px;
}

.header-actions .btn {
  min-height: 40px;
  padding: 0 14px;
}

.menu-btn {
  width: 42px;
  height: 42px;
}

.sticky-services-intro {
  max-width: 980px;
  margin-left: 0;
  margin-right: auto;
  text-align: left;
}

.sticky-services-intro .eyebrow,
.section-heading .eyebrow {
  font-family: "Inter", sans-serif;
  font-size: 12px !important;
  letter-spacing: 0;
  line-height: 1.1;
}

.sticky-services-intro h2 {
  max-width: 12ch;
  font-size: clamp(42px, 5vw, 74px) !important;
  letter-spacing: 0;
}

.sticky-services-intro p {
  max-width: 58ch;
  margin-left: 0;
  margin-right: 0;
  font-size: clamp(17px, 1.35vw, 21px);
}

.project-card:nth-child(3n + 1) {
  border-top: 5px solid var(--yellow);
}

.project-card:nth-child(3n + 2) {
  border-top: 5px solid var(--green-main);
}

.project-card:nth-child(3n + 3) {
  border-top: 5px solid var(--lime);
}

.project-status {
  display: inline-flex;
  width: fit-content;
  margin-bottom: 12px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(255, 200, 1, 0.2);
  color: #315f4a;
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: uppercase;
}

.project-tab {
  cursor: pointer;
}

.project-tab:focus-visible {
  outline: 3px solid rgba(21, 118, 100, 0.26);
  outline-offset: 3px;
}

.translate-widget {
  left: 14px;
  bottom: 14px;
  gap: 6px;
  padding: 5px 6px 5px 10px;
  box-shadow: 0 10px 26px rgba(20, 27, 20, 0.12);
}

.translate-widget label {
  font-size: 10px;
}

.translate-widget select {
  min-height: 34px;
  max-width: 110px;
  padding: 0 8px;
  font-size: 12px;
}

.translate-close {
  width: 26px;
  height: 26px;
  border: 0;
  border-radius: 999px;
  background: rgba(0,0,0,0.06);
  color: #333;
  cursor: pointer;
  font-size: 13px;
  font-weight: 400;
  line-height: 1;
}

.footer-socials a {
  border-bottom: 2px solid rgba(255, 200, 1, 0.42);
}

@media (max-width: 900px) {
  .brand-logo {
    width: 124px;
  }

  .sticky-services-intro h2 {
    max-width: none;
  }
}

@media (max-width: 640px) {
  .header-inner {
    min-height: 56px;
  }

  .brand-logo {
    width: 116px;
  }

  .sticky-services-intro h2 {
    font-size: 38px !important;
  }

  .translate-widget {
    max-width: calc(100vw - 24px);
  }
}
.translate-widget label {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
/* Final client polish: contrast, responsive behavior, and interaction */
h1,
h2,
h3,
.hero-copy h1,
.page-hero h1,
.urgent-hero h1,
.section-heading h2,
.sticky-services-intro h2,
.impact-copy h2,
.contact-copy h2,
.training-panel h2,
.safety-panel h2,
.donation-panel h2,
.project-card h3,
.service-tile h3,
.value-card h3,
.person-card h3,
.timeline-item h3,
.help-card h2,
.involve-card h2,
.event-row h3 {
  color: #111111 !important;
}

.hero-lead,
.hero-sublead,
.page-hero p,
.urgent-hero p,
.sticky-services-intro p,
.section-note,
.project-card p,
.service-tile p,
.value-card p,
.person-card p,
.timeline-item p,
.help-card p,
.involve-card p,
.event-row p,
.contact-copy p,
.impact-copy p,
.newsletter-popup p {
  color: #30342f !important;
}

.eyebrow,
.section-heading .eyebrow,
.sticky-services-intro .eyebrow,
.contact-copy .eyebrow,
.impact-copy .eyebrow {
  color: var(--green-dark) !important;
}

.btn,
.project-tab,
.menu-btn,
.close-panel,
.newsletter-close,
.translate-close,
.service-tile,
.sticky-service-card {
  will-change: transform, box-shadow;
}

.btn {
  position: relative;
  overflow: hidden;
}

.btn::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 0%, rgba(255,255,255,0.35) 48%, transparent 70%);
  transform: translateX(-120%);
  transition: transform 420ms ease;
  pointer-events: none;
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-3px) scale(1.02);
}

.btn:hover::after,
.btn:focus-visible::after {
  transform: translateX(120%);
}

.btn-primary:hover,
.btn-primary:focus-visible {
  box-shadow: 0 18px 42px rgba(21, 118, 100, 0.34);
}

.btn-secondary:hover,
.btn-secondary:focus-visible {
  background: rgba(255, 200, 1, 0.3);
  border-color: rgba(255, 200, 1, 0.58);
  box-shadow: 0 14px 30px rgba(255, 200, 1, 0.18);
}

.btn-outline:hover,
.btn-outline:focus-visible {
  background: #111111;
  border-color: #111111;
  color: #ffffff;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.16);
}

.project-tab:hover,
.project-tab:focus-visible {
  transform: translateY(-2px);
  background: rgba(255, 200, 1, 0.22);
  box-shadow: 0 10px 24px rgba(49, 95, 74, 0.12);
}

.project-tab.active:hover,
.project-tab.active:focus-visible {
  background: #315f4a;
  color: #ffffff;
}

.project-card,
.value-card,
.person-card,
.help-card,
.involve-card,
.event-row,
.service-tile {
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.project-card:hover,
.value-card:hover,
.person-card:hover,
.help-card:hover,
.involve-card:hover,
.service-tile:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 60px rgba(21, 118, 100, 0.14);
}

.event-row:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 44px rgba(21, 118, 100, 0.11);
}

@media (max-width: 1100px) {
  .container {
    width: min(calc(100% - 36px), var(--container));
  }

  .desktop-nav {
    gap: 14px;
  }

  .desktop-nav a {
    font-size: 12px;
  }

  .header-actions .btn-secondary {
    display: none;
  }

  .projects-grid,
  .values-grid,
  .people-grid,
  .help-grid,
  .involvement-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  .impact-panel,
  .contact-card,
  .footer-grid {
    grid-template-columns: 1fr !important;
  }
}

@media (max-width: 760px) {
  .container {
    width: min(calc(100% - 28px), var(--container));
  }

  .section {
    padding: 52px 0;
  }

  .desktop-nav {
    display: none;
  }

  .menu-btn {
    display: flex;
  }

  .header-actions .btn-primary {
    min-height: 38px;
    padding: 0 12px;
    font-size: 13px;
  }

  .mobile-nav.open {
    display: flex;
  }

  .hero .container,
  .page-hero-grid,
  .story-layout,
  .contact-layout,
  .training-request-card,
  .training-panel-grid {
    grid-template-columns: 1fr !important;
  }

  .hero-copy h1,
  .page-hero h1,
  .urgent-hero h1 {
    font-size: clamp(38px, 12vw, 58px) !important;
    line-height: 0.98;
  }

  .section-heading h2,
  .sticky-services-intro h2,
  .impact-copy h2,
  .contact-copy h2 {
    font-size: clamp(28px, 9vw, 40px) !important;
    line-height: 1.02;
  }

  .hero-actions,
  .contact-actions,
  .project-tabs {
    width: 100%;
  }

  .hero-actions .btn,
  .contact-actions .btn,
  .project-tab {
    flex: 1 1 auto;
  }

  .projects-grid,
  .values-grid,
  .people-grid,
  .help-grid,
  .involvement-grid {
    grid-template-columns: 1fr !important;
  }

  .sticky-service-card.service-tile {
    grid-template-columns: 1fr !important;
    min-height: auto;
  }

  .sticky-card-title {
    max-width: none;
  }

  .contact-card,
  .impact-panel,
  .training-request-card,
  .donation-panel,
  .safety-panel {
    border-radius: 20px;
    padding: 22px;
  }
}

@media (max-width: 420px) {
  .brand-logo {
    width: 106px;
    max-height: 38px;
  }

  .header-actions .btn-primary {
    min-height: 36px;
    padding: 0 10px;
  }

  .hero-stats,
  .impact-metrics {
    grid-template-columns: 1fr !important;
  }

  .newsletter-popup {
    right: 12px;
    bottom: 12px;
    width: calc(100vw - 24px);
    padding: 20px;
  }
}
/* Header logo, language selector, and newsletter page panels */
.header-inner {
  min-height: 76px !important;
}

.brand-logo {
  width: 176px !important;
  max-height: 62px !important;
}

.header-translate.translate-widget {
  position: static;
  z-index: auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 7px;
  border-radius: 999px;
  background: rgba(255,255,255,0.58);
  border: 1px solid rgba(21, 118, 100, 0.14);
  box-shadow: none;
}

.header-translate label {
  position: static;
  width: auto;
  height: auto;
  overflow: visible;
  clip: auto;
  white-space: nowrap;
  font-size: 11px;
  font-weight: 400;
  color: rgba(21, 118, 100, 0.82) !important;
  letter-spacing: 0;
  text-transform: uppercase;
}

.header-translate select {
  min-height: 30px;
  max-width: 62px;
  padding: 0 7px;
  border-radius: 999px;
  border: 1px solid rgba(21, 118, 100, 0.16);
  background: rgba(255,255,255,0.78);
  color: #315f4a;
  font-size: 12px;
  font-weight: 400;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.newsletter-section {
  padding-top: 0;
}

.newsletter-band {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.8fr);
  align-items: center;
  gap: 24px;
  padding: 28px;
  border-radius: 24px;
  border: 1px solid rgba(21, 118, 100, 0.12);
  background:
    radial-gradient(circle at 8% 20%, rgba(255, 200, 1, 0.2), transparent 26%),
    linear-gradient(135deg, rgba(255,255,255,0.94), rgba(247,248,233,0.92));
  box-shadow: 0 18px 52px rgba(21, 118, 100, 0.11);
}

.newsletter-band h2 {
  margin: 0 0 10px;
  color: #111111 !important;
  font-size: clamp(26px, 3vw, 38px);
  line-height: 1.03;
  letter-spacing: 0;
}

.newsletter-band p {
  margin: 0;
  color: #30342f !important;
  line-height: 1.6;
}

.newsletter-inline-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
}

.newsletter-inline-form input {
  width: 100%;
  min-height: 48px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1px solid rgba(0,0,0,0.12);
  background: #ffffff;
  color: #111111;
}

.newsletter-inline-form input:focus {
  outline: 3px solid rgba(21, 118, 100, 0.18);
  border-color: rgba(21, 118, 100, 0.42);
}

@media (max-width: 1100px) {
  .brand-logo {
    width: 158px !important;
    max-height: 56px !important;
  }

  .header-translate label {
    display: none;
  }
}

@media (max-width: 760px) {
  .header-inner {
    min-height: 68px !important;
  }

  .brand-logo {
    width: 142px !important;
    max-height: 50px !important;
  }

  .header-translate.translate-widget {
    padding: 3px 5px;
  }

  .header-translate select {
    min-height: 28px;
    max-width: 56px;
    font-size: 11px;
  }

  .newsletter-band {
    grid-template-columns: 1fr;
    padding: 22px;
  }

  .newsletter-inline-form {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 420px) {
  .brand-logo {
    width: 126px !important;
    max-height: 44px !important;
  }

  .header-actions {
    gap: 6px;
  }
}

/* Final requested client tweaks */
.funder-banner-inner {
  justify-content: center !important;
  text-align: center;
}

.partners-section .section-heading .eyebrow {
  font-size: 14px !important;
}

.partners-section .section-heading h2 {
  max-width: 820px;
  font-size: clamp(34px, 4vw, 56px) !important;
}

.footer-socials {
  gap: 12px !important;
}

.footer-socials .social-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  width: auto;
  padding: 8px 10px;
  border: 1px solid rgba(21, 118, 100, 0.14);
  border-radius: 999px;
  background: rgba(255,255,255,0.64);
  color: #315f4a;
  border-bottom: 1px solid rgba(21, 118, 100, 0.14);
}

.footer-socials .social-link svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.footer-socials .social-link:hover {
  transform: translateY(-2px);
  background: rgba(255, 200, 1, 0.18);
}

.calendar-panel {
  display: grid;
  grid-template-columns: minmax(280px, 0.8fr) minmax(0, 1.2fr);
  gap: 22px;
  align-items: start;
}

.calendar-card {
  padding: 22px;
  border-radius: 24px;
  border: 1px solid rgba(21, 118, 100, 0.12);
  background:
    radial-gradient(circle at 12% 0%, rgba(255, 200, 1, 0.22), transparent 28%),
    rgba(255,255,255,0.88);
  box-shadow: var(--shadow-soft);
}

.calendar-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}

.calendar-card-header span {
  color: var(--green-dark);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: uppercase;
}

.calendar-card-header strong {
  font-size: 26px;
  letter-spacing: 0;
}

.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 7px;
}

.calendar-grid span,
.calendar-grid button {
  min-width: 0;
  aspect-ratio: 1;
  border-radius: 10px;
  display: grid;
  place-items: center;
}

.calendar-grid span {
  aspect-ratio: auto;
  color: rgba(17,17,17,0.55);
  font-size: 11px;
  font-weight: 400;
  text-transform: uppercase;
}

.calendar-grid button {
  border: 1px solid rgba(0,0,0,0.06);
  background: rgba(255,255,255,0.82);
  color: #111;
  font-weight: 400;
}

.calendar-grid button.has-event {
  background: #315f4a;
  color: #fff;
  box-shadow: 0 10px 20px rgba(49,95,74,0.2);
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease, background-color 180ms ease;
}

.calendar-grid button.has-event:hover,
.calendar-grid button.has-event:focus-visible,
.calendar-grid button.has-event.is-linked {
  background: #157664;
  transform: translateY(-2px) scale(1.06);
  box-shadow: 0 14px 28px rgba(21,118,100,0.3);
}

.calendar-events .event-row {
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease, background-color 180ms ease;
}

.calendar-events .event-row.is-linked {
  transform: translateX(8px);
  border-color: rgba(21,118,100,0.42);
  background: #ffffff;
  box-shadow: 0 20px 48px rgba(21,118,100,0.16);
}

.calendar-events .event-row.is-linked h3 {
  font-weight: 800;
  color: #157664;
}

.calendar-events {
  align-content: start;
}

@media (max-width: 900px) {
  .calendar-panel {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 520px) {
  .footer-socials .social-link span {
    display: none;
  }

  .footer-socials .social-link {
    width: 40px;
    height: 40px;
    justify-content: center;
    padding: 0;
  }

  .calendar-card {
    padding: 16px;
  }

  .calendar-grid {
    gap: 5px;
  }
}

/* Client update set: reports, partnerships, carousels */
.header-inner {
  min-height: 104px !important;
}

.brand-logo {
  width: 274px !important;
  max-height: 96px !important;
}

.sticky-card-kicker {
  display: none !important;
}

.sticky-services-intro h2 {
  max-width: 15ch;
  font-size: clamp(54px, 6.5vw, 96px) !important;
}

.sticky-services-intro p,
.sticky-card-text {
  font-size: clamp(20px, 1.65vw, 27px) !important;
}

#projects .section-heading .eyebrow {
  font-size: 14px !important;
}

#projects .section-heading h2 {
  font-size: clamp(38px, 5vw, 64px) !important;
}

.project-card h3 {
  font-size: clamp(26px, 2.6vw, 34px) !important;
}

.project-card p {
  font-size: 17px;
}

.project-link {
  display: inline-flex;
  width: fit-content;
  margin-top: 4px;
  color: var(--green-dark);
  font-weight: 400;
  border-bottom: 2px solid rgba(255, 200, 1, 0.56);
}

.person-avatar {
  display: none !important;
}

.logo-carousel-section {
  padding: 54px 0;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.76), rgba(247,248,233,0.84)),
    radial-gradient(circle at 8% 20%, rgba(255,200,1,0.12), transparent 24%);
  overflow: hidden;
}

.compact-center {
  max-width: 780px;
  margin: 0 auto 26px;
  text-align: center;
}

.compact-center h2 {
  font-size: clamp(30px, 3.2vw, 48px) !important;
}

.partner-logo-carousel {
  overflow: hidden;
  border-top: 1px solid rgba(0,0,0,0.05);
  border-bottom: 1px solid rgba(0,0,0,0.05);
  background: rgba(255,255,255,0.68);
}

.partner-logo-track {
  display: flex;
  align-items: center;
  gap: clamp(28px, 5vw, 72px);
  width: max-content;
  padding: 22px 0;
  animation: partnerLogoScroll 34s linear infinite;
}

.partner-logo-track img {
  width: clamp(96px, 12vw, 168px);
  height: 68px;
  object-fit: contain;
  padding: 10px 16px;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(21, 118, 100, 0.08);
}

.about-photo-carousel {
  overflow: hidden;
  padding: 18px 0;
  background: rgba(255,255,255,0.54);
}

.photo-carousel-track {
  display: flex;
  gap: 16px;
  width: max-content;
  animation: photoCarouselScroll 48s linear infinite;
}

.photo-carousel-track img {
  width: clamp(240px, 28vw, 420px);
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 18px;
  box-shadow: 0 18px 42px rgba(16, 24, 20, 0.14);
}

.nrn-logo-panel,
.nrn-copy-panel,
.nrn-support-panel,
.partnership-placeholder,
.under-construction-card {
  border: 1px solid rgba(21, 118, 100, 0.12);
  border-radius: 24px;
  background: rgba(255,255,255,0.88);
  box-shadow: var(--shadow-soft);
}

.nrn-story-section {
  background:
    linear-gradient(180deg, rgba(255,255,255,0.96), rgba(247,248,233,0.84));
}

.nrn-story {
  display: grid;
  grid-template-columns: minmax(260px, 0.8fr) minmax(0, 1.25fr);
  gap: 24px;
  align-items: stretch;
}

.changing-futures-section {
  background: linear-gradient(180deg, rgba(247, 248, 233, 0.82), rgba(255, 255, 255, 0.98));
}

.changing-futures-story {
  display: grid;
  grid-template-columns: minmax(240px, 0.72fr) minmax(0, 1.5fr);
  gap: 24px;
  align-items: stretch;
}

.changing-futures-logo-panel,
.changing-futures-copy-panel {
  border: 1px solid rgba(21, 118, 100, 0.14);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow-soft);
}

.changing-futures-logo-panel {
  display: grid;
  place-items: center;
  min-height: 320px;
  padding: clamp(28px, 4vw, 48px);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(21, 118, 100, 0.08));
}

.changing-futures-logo-panel img {
  display: block;
  width: min(100%, 300px);
  height: auto;
}

.changing-futures-copy-panel {
  padding: clamp(28px, 4vw, 46px);
}

.changing-futures-copy-panel h2 {
  margin: 0 0 18px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(28px, 3vw, 44px);
  line-height: 1.12;
  letter-spacing: 0;
}

.changing-futures-copy-panel p {
  color: #30342f;
  font-size: clamp(16px, 1.1vw, 19px);
  line-height: 1.62;
}

.changing-futures-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.changing-futures-highlights span {
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(21, 118, 100, 0.1);
  color: var(--green-dark);
  font-size: 13px;
}

.partnership-placeholder-single {
  grid-template-columns: minmax(0, 1fr);
}

@media (max-width: 780px) {
  .changing-futures-story {
    grid-template-columns: 1fr;
  }

  .changing-futures-logo-panel {
    min-height: 220px;
  }
}

.nrn-logo-panel {
  display: grid;
  gap: 22px;
  align-content: center;
  justify-items: center;
  padding: clamp(28px, 4vw, 46px);
  background:
    radial-gradient(circle at 15% 12%, rgba(255,200,1,0.22), transparent 28%),
    rgba(255,255,255,0.9);
}

.nrn-logo-panel img {
  max-width: 260px;
  width: 100%;
}

.nrn-stat-card {
  width: 100%;
  padding: 18px;
  border-radius: 16px;
  background: var(--green-dark);
  color: #fff;
}

.nrn-stat-card strong,
.nrn-stat-card span {
  display: block;
}

.nrn-stat-card span {
  margin-top: 6px;
  color: rgba(255,255,255,0.8);
}

.nrn-copy-panel,
.nrn-support-panel {
  padding: clamp(24px, 4vw, 42px);
}

.nrn-copy-panel h2,
.nrn-support-panel h2,
.partnership-placeholder h2,
.under-construction-card h1 {
  margin: 0 0 18px;
  font-size: clamp(34px, 4vw, 58px) !important;
  line-height: 1;
  letter-spacing: 0;
}

.nrn-copy-panel p,
.nrn-support-panel p,
.partnership-placeholder p,
.under-construction-card p {
  color: #30342f !important;
  font-size: 17px;
  line-height: 1.72;
}

.nrn-highlight-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.nrn-highlight-row span {
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(21, 118, 100, 0.1);
  color: var(--green-dark);
  font-weight: 400;
  font-size: 13px;
}

.support-grid,
.partnership-placeholder-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.support-grid article,
.support-grid details,
.partnership-placeholder {
  padding: 22px;
  border-radius: 18px;
  background: rgba(255,255,255,0.82);
  border: 1px solid rgba(0,0,0,0.05);
}

.interactive-support-grid details {
  cursor: pointer;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.interactive-support-grid details:hover,
.interactive-support-grid details[open] {
  transform: translateY(-3px);
  border-color: rgba(21,118,100,0.24);
  box-shadow: 0 18px 36px rgba(16,24,20,0.08);
}

.interactive-support-grid summary {
  color: #151711;
  font-size: 21px;
  font-weight: 400;
}

.interactive-support-grid p {
  margin: 14px 0 0;
}

.support-grid h3 {
  margin: 0 0 10px;
  font-size: 22px;
}

.under-construction-section {
  min-height: calc(100vh - 86px);
  display: grid;
  align-items: center;
}

.under-construction-card {
  max-width: 860px;
  padding: clamp(34px, 6vw, 72px);
  background:
    radial-gradient(circle at 90% 12%, rgba(255,200,1,0.18), transparent 24%),
    rgba(255,255,255,0.9);
}

.derby-hero {
  background:
    radial-gradient(circle at 88% 14%, rgba(255,200,1,0.26), transparent 25%),
    linear-gradient(135deg, rgba(247,248,233,0.96), rgba(255,255,255,0.86));
}

.derby-focus-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
  margin: 0 0 28px;
}

.derby-focus-grid span {
  display: grid;
  min-height: 82px;
  place-items: center;
  padding: 16px;
  border-radius: 18px;
  background: linear-gradient(145deg, rgba(21,118,100,0.11), rgba(255,200,1,0.22));
  color: var(--green-dark);
  font-weight: 400;
  text-align: center;
  box-shadow: 0 12px 28px rgba(16,24,20,0.07);
}

.derby-projects-section {
  background: #fff;
}

.derby-project-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 18px;
}

.derby-project-card {
  position: relative;
  grid-column: span 2;
  min-height: 260px;
  padding: clamp(22px, 3vw, 32px);
  border-radius: 22px;
  border: 1px solid rgba(21, 118, 100, 0.12);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.94), rgba(247,248,233,0.82));
  box-shadow: 0 18px 42px rgba(16, 24, 20, 0.08);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.derby-project-card:hover {
  transform: translateY(-5px);
  border-color: rgba(21, 118, 100, 0.26);
  box-shadow: 0 24px 56px rgba(16, 24, 20, 0.13);
}

.derby-project-card:nth-child(1),
.derby-project-card:nth-child(2) {
  grid-column: span 3;
  min-height: 250px;
}

.derby-project-card:nth-child(1) {
  background:
    radial-gradient(circle at 92% 10%, rgba(255,200,1,0.24), transparent 25%),
    linear-gradient(145deg, rgba(21,118,100,0.12), rgba(255,255,255,0.94));
}

.derby-project-card:nth-child(2) {
  background:
    radial-gradient(circle at 8% 12%, rgba(21,118,100,0.16), transparent 25%),
    linear-gradient(145deg, rgba(255,255,255,0.96), rgba(255,200,1,0.13));
}

.derby-project-card:nth-child(4) {
  background:
    linear-gradient(180deg, rgba(247,248,233,0.92), rgba(255,255,255,0.95));
}

.project-number {
  display: inline-flex;
  margin-bottom: 22px;
  color: var(--green);
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: uppercase;
}

.derby-project-card h3 {
  margin: 0 0 14px;
  color: #151711;
  font-size: clamp(26px, 2.4vw, 38px);
  line-height: 1.05;
}

.derby-project-card p {
  margin: 0;
  color: #333831;
  font-size: 17px;
  line-height: 1.7;
}

.derby-projects-section .section-heading .eyebrow {
  font-size: clamp(16px, 1.5vw, 22px) !important;
}

.derby-projects-section .section-heading h2 {
  font-size: clamp(48px, 6vw, 86px) !important;
}

.page-hero p,
.hero-lead,
.hero-sublead {
  font-size: clamp(16px, 1.2vw, 19px) !important;
  line-height: 1.7 !important;
}

/* Clean type system: one source of truth */
body,
button,
input,
select,
textarea,
a,
p,
span,
li,
label,
strong,
b {
  font-weight: 400 !important;
  letter-spacing: 0 !important;
}

h1,
h2,
h3,
h4,
h5,
h6,
.eyebrow,
.section-heading .eyebrow,
.page-hero .eyebrow,
.sticky-services-intro .eyebrow,
.sticky-card-title,
.project-card h3,
.derby-project-card h3,
.interactive-support-grid summary,
.btn {
  font-weight: 700 !important;
  letter-spacing: 0 !important;
}

.header-inner {
  min-height: 138px !important;
}

.brand-logo {
  width: 420px !important;
  max-height: 134px !important;
}

.hero-copy h1 {
  font-family: Georgia, "Times New Roman", serif !important;
  color: var(--green-dark) !important;
  font-size: clamp(68px, 7.4vw, 132px) !important;
  font-weight: 400 !important;
  line-height: 0.95 !important;
  text-transform: none !important;
  margin-bottom: 12px !important;
}

.hero-subtitle {
  font-family: Georgia, "Times New Roman", serif !important;
  color: #151711 !important;
  font-size: clamp(34px, 3.8vw, 58px) !important;
  line-height: 1.04 !important;
  max-width: 900px !important;
  margin: 0 auto 28px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  font-weight: 400 !important;
  letter-spacing: 0 !important;
}

.hero-lead,
.hero-sublead {
  font-size: clamp(16px, 1.1vw, 19px) !important;
  line-height: 1.58 !important;
}

.eyebrow,
.page-hero .eyebrow,
.section-heading .eyebrow,
.sticky-services-intro .eyebrow,
.nrn-copy-panel .eyebrow,
.nrn-support-panel .section-heading .eyebrow,
.derby-projects-section .section-heading .eyebrow {
  font-family: "Inter", sans-serif !important;
  color: var(--green-dark) !important;
  font-size: clamp(20px, 2vw, 32px) !important;
  line-height: 1.15 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.04em !important;
}

.page-hero h1,
.section-heading h2,
.sticky-services-intro h2,
.nrn-copy-panel h2,
.nrn-support-panel .section-heading h2,
.derby-projects-section .section-heading h2,
.partnership-placeholder h2,
.impact-copy h2,
.compact-center h2 {
  font-family: Georgia, "Times New Roman", serif !important;
  color: #151711 !important;
  font-size: clamp(28px, 3vw, 44px) !important;
  line-height: 1.12 !important;
  letter-spacing: 0 !important;
}

.page-hero p,
.section-heading p,
.sticky-services-intro p,
.nrn-copy-panel p,
.nrn-support-panel p,
.section-note,
.impact-copy p {
  color: #30342f !important;
  font-size: clamp(16px, 1.1vw, 19px) !important;
  line-height: 1.62 !important;
}

.sticky-services-intro {
  min-height: auto !important;
  padding: clamp(46px, 7vw, 78px) 0 clamp(28px, 4vw, 46px) !important;
}

.sticky-services-intro h2 {
  max-width: 760px !important;
}

.sticky-card-title {
  font-size: clamp(34px, 3.2vw, 52px) !important;
}

.sticky-card-text {
  font-size: clamp(18px, 1.35vw, 23px) !important;
  line-height: 1.5 !important;
}

#projects .section-heading h2,
.logo-carousel-section .section-heading h2,
.newsletter-section .section-heading h2,
.contact-layout .section-heading h2,
.derby-projects-section .section-heading h2 {
  font-size: clamp(26px, 2.8vw, 38px) !important;
}

.derby-hero {
  background:
    radial-gradient(circle at 82% 18%, rgba(255,200,1,0.34), transparent 24%),
    radial-gradient(circle at 12% 82%, rgba(21,118,100,0.18), transparent 28%),
    linear-gradient(135deg, rgba(247,248,233,0.98), rgba(255,255,255,0.9)) !important;
}


.derby-focus-grid span:nth-child(1),
.derby-focus-grid span:nth-child(4) {
  background: linear-gradient(145deg, rgba(21,118,100,0.18), rgba(255,255,255,0.92)) !important;
}

.derby-focus-grid span:nth-child(2),
.derby-focus-grid span:nth-child(5) {
  background: linear-gradient(145deg, rgba(255,200,1,0.28), rgba(255,255,255,0.92)) !important;
}

.derby-focus-grid span:nth-child(3) {
  background: linear-gradient(145deg, rgba(141,179,86,0.24), rgba(255,255,255,0.92)) !important;
}

.derby-projects-section {
  background:
    linear-gradient(180deg, rgba(255,255,255,0.98), rgba(247,248,233,0.74)) !important;
}

.derby-project-card:nth-child(3) {
  background:
    radial-gradient(circle at 88% 12%, rgba(255,200,1,0.2), transparent 25%),
    linear-gradient(180deg, rgba(255,255,255,0.96), rgba(21,118,100,0.08)) !important;
}

.derby-project-card:nth-child(5) {
  background:
    radial-gradient(circle at 10% 12%, rgba(141,179,86,0.2), transparent 25%),
    linear-gradient(180deg, rgba(255,255,255,0.96), rgba(255,200,1,0.12)) !important;
}

.logo-carousel-section .section-heading .eyebrow,
.compact-center .eyebrow,
.nrn-support-panel .section-heading .eyebrow {
  font-size: clamp(24px, 2.4vw, 36px) !important;
}

.partnerships-hero .page-hero-grid {
  grid-template-columns: minmax(0, 1.65fr) minmax(280px, 0.7fr) !important;
}

.partnerships-hero h1 {
  white-space: nowrap !important;
  font-size: clamp(28px, 3vw, 42px) !important;
}

.nrn-support-panel .section-heading h2 {
  font-family: "Inter", sans-serif !important;
  font-size: clamp(22px, 2vw, 30px) !important;
}

.interactive-support-grid {
  gap: 12px !important;
}

.interactive-support-grid details {
  overflow: hidden;
  padding: 0 !important;
  border: 1px solid rgba(21,118,100,0.14) !important;
  border-left: 0 !important;
  border-radius: 14px !important;
  background:
    linear-gradient(90deg, rgba(21,118,100,0.08), rgba(255,255,255,0.98) 34%),
    #fff !important;
  box-shadow: 0 10px 26px rgba(16,24,20,0.05);
  transition: border-color 0.22s ease, box-shadow 0.22s ease, transform 0.22s ease, background 0.22s ease;
}

.interactive-support-grid details::after {
  content: "";
  top: 20px !important;
  right: 16px !important;
  width: 13px !important;
  height: 13px !important;
  border-right: 2px solid var(--green-dark);
  border-bottom: 2px solid var(--green-dark);
  background: transparent !important;
  border-radius: 0 !important;
  transform: rotate(45deg);
  transition: transform 0.25s ease;
}

.interactive-support-grid details[open]::after {
  transform: rotate(225deg);
  top: 26px !important;
}

.interactive-support-grid summary {
  padding: 18px 58px 18px 20px !important;
  font-size: clamp(17px, 1.25vw, 20px) !important;
  list-style: none !important;
  cursor: pointer;
  background: linear-gradient(90deg, rgba(21,118,100,0.08), rgba(255,255,255,0.98));
}

.interactive-support-grid summary::-webkit-details-marker {
  display: none;
}

.interactive-support-grid .accordion-content {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transform: translateY(-6px);
  transition: max-height 0.36s ease, opacity 0.26s ease, transform 0.3s ease;
}

.interactive-support-grid details[open] .accordion-content,
.interactive-support-grid details.is-opening .accordion-content {
  max-height: 260px;
  opacity: 1;
  transform: translateY(0);
}

.interactive-support-grid details.is-closing .accordion-content {
  max-height: 0 !important;
  opacity: 0;
  transform: translateY(-6px);
}

.interactive-support-grid .accordion-content p {
  margin: 0 !important;
  padding: 0 20px 20px !important;
  font-size: 16px !important;
}

.interactive-support-grid details {
  position: relative !important;
}

.interactive-support-grid details::after {
  content: none !important;
  display: none !important;
}

.interactive-support-grid summary {
  position: relative !important;
  display: flex !important;
  align-items: center;
  min-height: 72px;
  padding-right: 74px !important;
  outline: none !important;
}

.interactive-support-grid summary::after {
  content: "\25BE";
  position: absolute;
  top: 50%;
  right: 22px;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(21,118,100,0.12);
  color: var(--green-dark);
  font-family: Arial, sans-serif;
  font-size: 19px;
  line-height: 1;
  transform: translateY(-50%);
  transition: background 0.22s ease, color 0.22s ease, transform 0.28s ease;
}

.interactive-support-grid details[open] summary::after {
  content: "\2013";
  background: var(--green-dark);
  color: #fff;
  font-size: 24px;
  transform: translateY(-50%) rotate(180deg);
}

.interactive-support-grid summary:focus,
.interactive-support-grid summary:focus-visible {
  outline: none !important;
}

.interactive-support-grid details:focus-within {
  border-color: rgba(21,118,100,0.36) !important;
  box-shadow: 0 18px 36px rgba(16,24,20,0.08), 0 0 0 3px rgba(21,118,100,0.08) !important;
}

@media (max-width: 1100px) {
  .brand-logo {
    width: 330px !important;
    max-height: 112px !important;
  }

  .partnerships-hero h1 {
    white-space: normal !important;
  }
}

@media (max-width: 760px) {
  .header-inner {
    min-height: 102px !important;
  }

  .brand-logo {
    width: 230px !important;
    max-height: 88px !important;
  }

  .hero-copy h1 {
    font-size: clamp(46px, 13vw, 72px) !important;
  }

  .hero-subtitle {
    font-size: clamp(28px, 8vw, 42px) !important;
  }

  .page-hero .eyebrow,
  .section-heading .eyebrow,
  .sticky-services-intro .eyebrow {
    font-size: clamp(18px, 5.6vw, 28px) !important;
  }

  .page-hero h1,
  .section-heading h2,
  .sticky-services-intro h2 {
    font-size: clamp(26px, 7.4vw, 36px) !important;
  }}


/* Label-first hierarchy and simple Derby placeholder */
.eyebrow,
.page-hero .eyebrow,
.section-heading .eyebrow,
.sticky-services-intro .eyebrow,
.nrn-copy-panel .eyebrow,
.nrn-support-panel .section-heading .eyebrow,
.derby-projects-section .section-heading .eyebrow {
  font-size: clamp(30px, 3.4vw, 50px) !important;
  line-height: 1 !important;
}

.page-hero h1,
.section-heading h2,
.sticky-services-intro h2,
.nrn-copy-panel h2,
.nrn-support-panel .section-heading h2,
.derby-projects-section .section-heading h2,
.partnership-placeholder h2,
.impact-copy h2,
.compact-center h2 {
  font-size: clamp(24px, 2.45vw, 36px) !important;
  line-height: 1.18 !important;
}

.hero-copy h1 {
  font-size: clamp(68px, 7.4vw, 132px) !important;
  font-weight: 400 !important;
}

.hero-subtitle {
  font-size: clamp(34px, 3.8vw, 58px) !important;
}

.image-coming-soon-card {
  display: grid;
  min-height: 380px;
  place-items: center;
  align-self: stretch;
  border: 1px dashed rgba(21,118,100,0.32);
  border-radius: 28px;
  background:
    linear-gradient(135deg, rgba(255,255,255,0.9), rgba(247,248,233,0.86)),
    radial-gradient(circle at 18% 20%, rgba(255,200,1,0.18), transparent 28%);
  box-shadow: 0 18px 44px rgba(16,24,20,0.08);
}

.image-coming-soon-card span {
  color: var(--green-dark);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(30px, 3vw, 46px);
  text-align: center;
}

.partner-logo-track {
  animation: partnerLogoScroll 34s linear infinite !important;
}

.photo-carousel-track {
  animation: photoCarouselScroll 48s linear infinite !important;
}

.derby-main-image-card {
  overflow: hidden;
  width: 100%;
  height: clamp(320px, 34vw, 420px);
  min-height: 0;
  align-self: center;
  border: 1px solid rgba(21,118,100,0.18);
  border-radius: 28px;
  background: rgba(255,255,255,0.86);
  box-shadow: 0 18px 44px rgba(16,24,20,0.1);
}

.derby-main-image-card img {
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: cover;
  display: block;
}

.page-hero-photo {
  width: 100%;
  height: clamp(320px, 34vw, 420px);
  min-height: 0 !important;
  align-self: center;
  object-fit: cover;
  display: block;
}

.office-addresses {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  margin: 0 0 16px;
}

.office-addresses address {
  margin: 0;
  color: inherit;
  font: inherit;
  line-height: 1.65;
}


.derby-photo-banner {
  overflow: hidden;
  padding: 22px 0;
  background: rgba(255,255,255,0.72);
}

.derby-photo-track {
  display: flex;
  gap: 16px;
  width: max-content;
  animation: derbyPhotoScroll 54s linear infinite;
}

.derby-photo-track img {
  width: clamp(230px, 24vw, 360px);
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 18px;
  box-shadow: 0 16px 34px rgba(16,24,20,0.14);
}

@keyframes partnerLogoScroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@keyframes photoCarouselScroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@keyframes derbyPhotoScroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@media (max-width: 760px) {
  .image-coming-soon-card {
    min-height: 240px;
  }

  .eyebrow,
  .page-hero .eyebrow,
  .section-heading .eyebrow,
  .sticky-services-intro .eyebrow {
    font-size: clamp(26px, 8vw, 40px) !important;
  }

  .page-hero h1,
  .section-heading h2,
  .sticky-services-intro h2 {
    font-size: clamp(22px, 6.8vw, 32px) !important;
  }
}

/* Rapid review polish - August client notes */
:root {
  --ink: #242722;
  --text: #30342f;
  --text-soft: #555b52;
}

body,
h1,
h2,
h3,
h4,
p,
a,
button {
  color: var(--ink);
}

.eyebrow,
.section-heading .eyebrow,
.page-hero .eyebrow,
.sticky-services-intro .eyebrow {
  letter-spacing: 0.035em !important;
}

.desktop-nav a,
.mobile-nav a,
.btn,
.project-tab {
  text-align: center;
  justify-content: center;
}

.btn {
  white-space: normal;
  line-height: 1.2;
}

.newsletter-popup {
  padding-top: 38px !important;
}

.newsletter-close {
  top: 10px !important;
  right: 10px !important;
}

.hero {
  min-height: auto !important;
  padding-top: clamp(28px, 4vw, 52px) !important;
}

.sticky-services-section {
  padding-top: clamp(28px, 4vw, 48px) !important;
}

.detail-panel-header h3,
.detail-panel h3 {
  line-height: 1.22 !important;
}

.training-band h2 {
  font-size: clamp(28px, 3vw, 42px) !important;
  line-height: 1.18 !important;
}

.interactive-support-grid .accordion-content p {
  padding-top: 8px !important;
  line-height: 1.7 !important;
}

.interactive-support-grid {
  align-items: start !important;
}

.interactive-support-grid details:not([open]) {
  align-self: start !important;
}

.emergency-banner {
  background: #fff3d8;
  border-bottom: 1px solid rgba(151,108,18,0.18);
  color: #3a3222;
  padding: 12px 0;
  font-size: 15px;
}

.urgent-hero {
  padding-top: clamp(28px, 4vw, 48px) !important;
}

.urgent-hero h1 {
  font-size: clamp(32px, 5vw, 54px) !important;
}

.help-card h2 {
  display: flex;
  align-items: center;
  gap: 10px;
}

.help-card h2 span {
  width: auto !important;
  height: auto !important;
  margin: 0 !important;
  background: transparent !important;
  color: var(--green-dark) !important;
}

.cookie-consent {
  position: fixed;
  left: 18px;
  bottom: 18px;
  z-index: 90;
  width: min(420px, calc(100vw - 36px));
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px;
  border: 1px solid rgba(21,118,100,0.18);
  border-radius: 14px;
  background: rgba(255,255,255,0.96);
  box-shadow: 0 18px 42px rgba(16,24,20,0.14);
}

.cookie-consent p {
  margin: 0;
  font-size: 14px;
  line-height: 1.45;
}

.cookie-consent .btn {
  flex: 0 0 auto;
  padding: 10px 16px;
}

body:has(#services) .qr-card {
  display: none;
}

/* Final client review fixes */
.header-inner {
  min-height: 138px !important;
}

.brand {
  flex: 0 0 auto;
}

.brand-logo {
  width: clamp(300px, 24vw, 470px) !important;
  max-height: 134px !important;
  object-fit: contain;
  object-position: left center;
}

.newsletter-popup {
  padding: 54px 34px 34px !important;
}

.newsletter-popup .eyebrow {
  box-sizing: border-box;
  padding-right: 56px;
  font-size: 30px !important;
  line-height: 1 !important;
  max-width: 100%;
  overflow-wrap: anywhere;
}

.newsletter-close {
  top: 16px !important;
  right: 18px !important;
  z-index: 3;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(21, 118, 100, 0.09);
}

.newsletter-close:hover {
  background: rgba(21, 118, 100, 0.16);
}

.cookie-consent.hide {
  opacity: 0;
  transform: translateY(12px);
}

.cookie-consent {
  transition: opacity 0.22s ease, transform 0.22s ease;
}

.project-number {
  display: none !important;
}

.referral-link-panel {
  padding: clamp(24px, 4vw, 42px);
  border: 1px solid rgba(21, 118, 100, 0.16);
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(255,255,255,0.94), rgba(230,239,233,0.56));
  box-shadow: 0 18px 50px rgba(16, 24, 20, 0.08);
}

.referral-link-panel p {
  margin: 0 0 18px;
  max-width: 620px;
}

.contact-primary-column {
  display: grid;
  gap: 28px;
  align-content: start;
}

.contact-newsletter {
  grid-template-columns: 1fr;
  width: 100%;
}

.contact-newsletter .btn {
  justify-self: start;
}

@media (max-width: 1100px) {
  .header-inner {
    min-height: 116px !important;
  }

  .brand-logo {
    width: clamp(240px, 28vw, 340px) !important;
    max-height: 112px !important;
  }
}

@media (max-width: 760px) {
  .header-inner {
    min-height: 96px !important;
  }

  .brand-logo {
    width: clamp(190px, 50vw, 250px) !important;
    max-height: 92px !important;
  }

  .newsletter-popup {
    left: 12px !important;
    right: 12px !important;
    width: auto !important;
    padding: 50px 24px 28px !important;
  }

  .newsletter-popup .eyebrow {
    padding-right: 48px;
    font-size: 26px !important;
  }

  .cookie-consent {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* Accessibility and launch polish */
.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 999;
  transform: translateY(-140%);
  padding: 10px 14px;
  border-radius: 999px;
  background: var(--green-dark);
  color: #fff;
  font-weight: 700;
  box-shadow: 0 12px 30px rgba(16, 24, 20, 0.18);
  transition: transform 0.18s ease;
}

.skip-link:focus {
  transform: translateY(0);
}

a:focus-visible,
button:focus-visible,
select:focus-visible,
summary:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 3px solid rgba(255, 200, 1, 0.95);
  outline-offset: 4px;
}

.menu-btn[aria-expanded="true"] span:first-child {
  transform: translateY(4px) rotate(45deg);
}

.menu-btn[aria-expanded="true"] span:last-child {
  transform: translateY(-4px) rotate(-45deg);
}

.photo-carousel-track img,
.derby-photo-track img,
.partner-logo-track img {
  flex: 0 0 auto;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.001ms !important;
  }

  .photo-carousel-track,
  .derby-photo-track,
  .partner-logo-track {
    animation: none !important;
    overflow-x: auto;
  }
}

@media (max-width: 980px) {
  .desktop-nav {
    display: none !important;
  }

  .menu-btn {
    display: inline-flex !important;
  }

  .header-actions {
    gap: 8px;
  }
}

@media (max-width: 560px) {
  .header-actions .btn-secondary {
    display: none;
  }

  .hero-actions,
  .panel-actions,
  .donation-options {
    align-items: stretch;
  }

  .hero-actions .btn,
  .panel-actions .btn,
  .donation-options .btn {
    width: 100%;
  }

  .contact-layout,
  .page-hero-grid,
  .footer-grid {
    grid-template-columns: 1fr !important;
  }
}
