:root {
  --green:        #2E8B57;
  --green-dark:   #1F5E43;
  --green-light:  #e8f5ee;
  --green-mid:    #52A96B;

  --forest:       #1F5E43;
  --emerald:      #2E8B57;
  --nature:       #52A96B;
  --nature-light: #d4eddb;

  --ocean:        #154C79;
  --slate:        #365F91;

  --warm-white:   #FAFAF8;
  --mist:         #F2F5F3;
  --white:        #FFFFFF;
  --charcoal:     #273036;
  --charcoal-mid: #3D474C;
  --charcoal-soft:#5E6B71;

  --grey-bg:      #F2F5F3;
  --grey-border:  #DDE3DE;
  --grey-mid:     #9EA9A0;

  --burgundy:     #9F3A38;
  --amber:        #D88A1F;
  --azure:        #2B7DBD;

  --ndfd-50:  #e8f5ee;
  --ndfd-100: #cde8d8;
  --ndfd-200: #a3d4ba;
  --ndfd-300: #78bf9c;
  --ndfd-400: #52A96B;
  --ndfd-500: #2E8B57;
  --ndfd-600: #257348;
  --ndfd-700: #1F5E43;
  --ndfd-800: #174a34;
  --ndfd-900: #103826;

  --font-body:    'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-display: 'Sora', Georgia, 'Times New Roman', serif;

  --radius-sm:  6px;
  --radius-md:  12px;
  --radius-lg:  20px;
  --radius-xl:  28px;

  --shadow-sm:  0 1px 4px rgba(0,0,0,.06);
  --shadow-md:  0 4px 20px rgba(0,0,0,.09);
  --shadow-lg:  0 12px 48px rgba(0,0,0,.11);
  --shadow-xl:  0 24px 80px rgba(0,0,0,.13);

  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --transition:    .22s ease;
  --transition-md: .35s var(--ease-out-expo);

  --max-w: 1180px;
  --nav-h: 68px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font-body);
  color: var(--charcoal);
  background: var(--white);
  line-height: 1.65;
  min-height: 100vh;
}

img { max-width: 100%; display: block; }
a   { color: var(--green); text-decoration: none; }
a:hover { color: var(--green-dark); text-decoration: underline; }
ul, ol { list-style: none; }

#page-loader {
  position: fixed;
  inset: 0;
  background: var(--white);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  z-index: 9999;
  transition: opacity .4s ease, visibility .4s ease;
}
#page-loader.hidden { opacity: 0; visibility: hidden; }

.loader { scale: 2.5; height: 50px; width: 40px; }
.box    { position: relative; opacity: 0; left: 10px; }
.side-left  { position: absolute; background-color: var(--green-dark); width: 19px; height: 5px; transform: skew(0deg,-25deg); top: 14px; left: 10px; }
.side-right { position: absolute; background-color: var(--green);      width: 19px; height: 5px; transform: skew(0deg, 25deg); top: 14px; left: -9px; }
.side-top   { position: absolute; background-color: var(--green-mid);  width: 20px; height: 20px; rotate: 45deg; transform: skew(-20deg,-20deg); }

.box-1 { animation: from-left  4s infinite; }
.box-2 { animation: from-right 4s infinite; animation-delay: 1s; }
.box-3 { animation: from-left  4s infinite; animation-delay: 2s; }
.box-4 { animation: from-right 4s infinite; animation-delay: 3s; }

@keyframes from-left {
  0%   { z-index:20; opacity:0; translate:-20px -6px; }
  20%  { z-index:10; opacity:1; translate:0 0; }
  40%  { z-index:9;  translate:0 4px; }
  60%  { z-index:8;  translate:0 8px; }
  80%  { z-index:7;  opacity:1; translate:0 12px; }
  100% { z-index:5;  opacity:0; translate:0 30px; }
}
@keyframes from-right {
  0%   { z-index:20; opacity:0; translate:20px -6px; }
  20%  { z-index:10; opacity:1; translate:0 0; }
  40%  { z-index:9;  translate:0 4px; }
  60%  { z-index:8;  translate:0 8px; }
  80%  { z-index:7;  opacity:1; translate:0 12px; }
  100% { z-index:5;  opacity:0; translate:0 30px; }
}

.loader-label {
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .12em;
  color: var(--charcoal-soft);
  text-transform: uppercase;
}

.container {
  width: 100%;
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: 1.25rem;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  height: 100%;
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: 1.25rem;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: .75rem;
  text-decoration: none;
}
.nav-logo:hover,
.nav-logo:hover .nav-logo-full,
.nav-logo:hover .nav-logo-abbr {
  text-decoration: none;
}
.nav-logo img { height: 42px; width: auto; }
.nav-logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}
.nav-logo-abbr {
  font-size: 1rem;
  font-weight: 800;
  color: var(--forest);
  letter-spacing: .06em;
}
.nav-logo-full {
  font-size: .65rem;
  line-height: 1.35;
  color: var(--charcoal-soft);
  letter-spacing: .03em;
  max-width: 12rem;
  white-space: normal;
}

.nav-links {
  display: none;
  gap: 0;
}
.nav-links a {
  padding: .5rem .85rem;
  font-size: .88rem;
  font-weight: 600;
  color: var(--charcoal-mid);
  border-radius: var(--radius-sm);
  transition: color var(--transition), background var(--transition);
}
.nav-links a:hover,
.nav-links a.active { color: var(--green); background: var(--green-light); text-decoration: none; }

.nav-item { position: relative; }
.nav-dropdown {
  position: absolute;
  top: calc(100% + .5rem);
  left: 0;
  background: var(--white);
  border: 1px solid var(--grey-border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  min-width: 200px;
  padding: .5rem 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-4px);
  transition: opacity var(--transition), transform var(--transition), visibility var(--transition);
  z-index: 50;
}
.nav-item:hover .nav-dropdown,
.nav-item:focus-within .nav-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.nav-dropdown a {
  display: block;
  padding: .6rem 1.1rem;
  font-size: .84rem;
  border-radius: 0;
}

.nav-burger {
  background: none;
  border: none;
  cursor: pointer;
  padding: .4rem;
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.nav-burger span {
  display: block;
  height: 2px;
  width: 24px;
  background: var(--charcoal);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}
.nav-burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  display: none;
  position: absolute;
  top: var(--nav-h);
  left: 0;
  right: 0;
  background: var(--white);
  border-bottom: 1px solid var(--grey-border);
  padding: 1rem 1.25rem 1.5rem;
  box-shadow: var(--shadow-md);
  z-index: 99;
}
.mobile-menu.open { display: block; }
.mobile-menu a {
  display: block;
  padding: .7rem .5rem;
  font-weight: 600;
  font-size: .95rem;
  color: var(--charcoal-mid);
  border-bottom: 1px solid var(--grey-border);
}
.mobile-menu a:last-child { border-bottom: none; }
.mobile-menu a:hover { color: var(--green); text-decoration: none; }
.mobile-menu .m-cta {
  display: block;
  margin-top: 1rem;
  padding: .75rem 1rem;
  background: var(--green);
  color: var(--white) !important;
  text-align: center;
  border-radius: var(--radius-md);
  font-weight: 700;
}
.mobile-menu .m-cta:hover { background: var(--green-dark) !important; }

@media (min-width: 768px) {
  .nav-links  { display: flex; }
  .nav-cta    { display: inline-flex; align-items: center; }
  .nav-burger { display: none; }
}

@media (min-width: 900px) {
  .hero-inner { grid-template-columns: 1fr 1fr; }
  .hero::before { width: 420px; height: 420px; }
}

.btn-submit {
  width: 100%;
  padding: .85rem 1rem;
  background: var(--green);
  color: var(--white);
  font-size: .95rem;
  font-weight: 700;
  border: none;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: background var(--transition);
  margin-top: .5rem;
}
.btn-submit:hover { background: var(--green-dark); }

.cards-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 1fr;
}
@media (min-width: 560px) { .cards-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 900px) { .cards-grid { grid-template-columns: repeat(3, 1fr); } }

.featured-loan-row {
  position: relative;
  width: 100%;
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 1.5rem;
  padding: 2.25rem;
  margin-bottom: 2.5rem;
  background: radial-gradient(
      ellipse at 20% 30%,
      rgba(31, 94, 67, 0.85) 0%,
      rgba(31, 94, 67, 0) 60%
    ),
    radial-gradient(
      ellipse at 80% 50%,
      rgba(252, 209, 22, 0.4) 0%,
      rgba(252, 209, 22, 0) 70%
    ),
    radial-gradient(
      ellipse at 50% 80%,
      rgba(0, 168, 107, 0.5) 0%,
      rgba(0, 168, 107, 0) 65%
    ),
    linear-gradient(135deg, #071f15 0%, #0a2e1d 100%);
  background-blend-mode: overlay, screen, hard-light;
  animation: aurora-drift 25s infinite alternate ease-in-out;
}
.featured-loan-row::before {
  content: "";
  position: absolute;
  width: 200%;
  height: 200%;
  top: -50%;
  left: -50%;
  background: repeating-linear-gradient(
      45deg,
      rgba(255, 255, 255, 0.02) 0px,
      rgba(255, 255, 255, 0.02) 1px,
      transparent 1px,
      transparent 40px
    ),
    repeating-linear-gradient(
      -45deg,
      rgba(255, 255, 255, 0.03) 0px,
      rgba(255, 255, 255, 0.03) 1px,
      transparent 1px,
      transparent 60px
    );
  animation: grid-shift 20s linear infinite;
  pointer-events: none;
}
.featured-loan-row::after {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background: radial-gradient(
    circle at center,
    transparent 70%,
    rgba(7, 31, 21, 0.8) 100%
  );
  animation: aurora-pulse 8s infinite alternate;
  pointer-events: none;
}
@keyframes aurora-drift {
  0% {
    background-position: 0% 0%, 0% 0%, 0% 0%;
    filter: hue-rotate(0deg) brightness(1);
  }
  50% {
    background-position: -10% -5%, 5% 10%, 0% 15%;
    filter: hue-rotate(15deg) brightness(1.1);
  }
  100% {
    background-position: 5% 10%, -10% -5%, 15% 0%;
    filter: hue-rotate(30deg) brightness(1);
  }
}
@keyframes grid-shift {
  0% { transform: translate(0, 0); }
  100% { transform: translate(-50%, -50%); }
}
@keyframes aurora-pulse {
  0% { opacity: 0.8; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.03); }
  100% { opacity: 0.8; transform: scale(1); }
}

.featured-loan-row > .featured-tile:only-child {
  grid-column: span 12;
}
.featured-loan-row > .featured-tile:first-child:nth-last-child(2) {
  grid-column: span 8;
}
.featured-loan-row > .featured-tile:first-child:nth-last-child(2) ~ .featured-tile {
  grid-column: span 4;
}
.featured-loan-row > .featured-tile:first-child:nth-last-child(3),
.featured-loan-row > .featured-tile:first-child:nth-last-child(3) ~ .featured-tile {
  grid-column: span 4;
}
@media (max-width: 900px) {
  .featured-loan-row { grid-template-columns: 1fr; }
  .featured-loan-row > .featured-tile { grid-column: span 1 !important; }
}

.card.featured-tile {
  position: relative;
  z-index: 1;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: var(--charcoal);
}
.card.featured-tile .card-title { color: var(--forest); }
.card.featured-tile p { color: var(--charcoal); }
.card.featured-tile .card-link { color: var(--forest); }
.card.featured-tile:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
  border-color: rgba(255, 255, 255, 0.6);
}
.featured-tile-body {
  padding: 1.75rem 1.75rem 2rem;
}
.featured-tile-badge {
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--forest);
  background: var(--nature-light);
  padding: .3rem .65rem;
  border-radius: 999px;
  margin-bottom: .6rem;
  align-self: flex-start;
}
.featured-tile .card-title { font-size: 1.15rem; margin-top: .1rem; }

.social-links {
  display: flex;
  gap: .75rem;
  margin-top: 1.5rem;
}
.social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--green-light);
  color: var(--forest);
  transition: background var(--transition), color var(--transition), transform var(--transition);
  text-decoration: none;
}
.social-link svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}
.social-link:hover {
  background: var(--forest);
  color: #fff;
  transform: translateY(-2px);
  text-decoration: none;
}

.enquiry-form {
  background: var(--white);
  border: 1px solid var(--grey-border);
  border-radius: var(--radius-xl);
  padding: 2.5rem 2rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: .85rem;
  width: 100%;
  max-width: 560px;
}

.form-row { display: grid; gap: .85rem; }
@media (min-width: 560px) { .form-row { grid-template-columns: 1fr 1fr; } }

.flex-column > label {
  display: block;
  font-size: .82rem;
  font-weight: 600;
  color: var(--charcoal-mid);
  margin-bottom: .35rem;
}

.inputForm {
  border: 1.5px solid var(--grey-border);
  border-radius: var(--radius-md);
  height: 50px;
  display: flex;
  align-items: center;
  padding-left: .85rem;
  gap: .5rem;
  background: var(--white);
  transition: border-color var(--transition), box-shadow var(--transition);
}
.inputForm svg { flex-shrink: 0; fill: var(--grey-mid); color: var(--grey-mid); }
.inputForm:focus-within {
  outline: none;
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(43,122,43,.12);
}

.input {
  border: none;
  outline: none;
  width: 100%;
  font-family: var(--font-body);
  font-size: .92rem;
  color: var(--charcoal);
  background: transparent;
}
.input::placeholder { color: var(--grey-mid); }

textarea.inputArea {
  border: 1.5px solid var(--grey-border);
  border-radius: var(--radius-md);
  padding: .75rem .85rem;
  font-family: var(--font-body);
  font-size: .92rem;
  color: var(--charcoal);
  resize: vertical;
  min-height: 110px;
  width: 100%;
  outline: none;
  transition: border-color var(--transition), box-shadow var(--transition);
}
textarea.inputArea:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(43,122,43,.12);
}
textarea.inputArea::placeholder { color: var(--grey-mid); }

.cb-wrapper { display: flex; flex-direction: column; gap: .5rem; }

.cb-container {
  display: flex;
  align-items: center;
  gap: .65rem;
  cursor: pointer;
  user-select: none;
}
.cb-container input[type="checkbox"] { position: absolute; opacity: 0; width: 0; height: 0; }

.cb-box {
  width: 1.25rem;
  height: 1.25rem;
  border: 2px solid var(--grey-border);
  border-radius: var(--radius-sm);
  position: relative;
  flex-shrink: 0;
  background: var(--white);
  transition: border-color var(--transition), background var(--transition);
}
.cb-mark {
  position: absolute;
  top: 50%; left: 50%;
  width: 60%; height: 60%;
  background: var(--white);
  transform: translate(-50%,-50%) scale(0);
  opacity: 0;
  transition: transform .2s cubic-bezier(.18,.89,.32,1.28), opacity .2s;
  border-radius: 2px;
}
.cb-container input:checked + .cb-box {
  background: var(--green);
  border-color: var(--green);
}
.cb-container input:checked + .cb-box .cb-mark {
  opacity: 1;
  transform: translate(-50%,-50%) scale(1);
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 12 10' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 5l3.5 3.5L11 1' stroke='%23fff' stroke-width='2' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  background-color: transparent;
}
.cb-container:hover .cb-box { border-color: var(--green); }
.cb-label {
  font-size: .85rem;
  color: var(--charcoal-soft);
}

.search-group {
  display: flex;
  align-items: center;
  position: relative;
  width: 100%;
  max-width: 360px;
}
.search-icon {
  position: absolute;
  left: .9rem;
  fill: var(--grey-mid);
  width: 1rem;
  height: 1rem;
  pointer-events: none;
}
.search-input {
  width: 100%;
  height: 44px;
  padding: 0 1rem 0 2.6rem;
  border: 1.5px solid var(--grey-border);
  border-radius: var(--radius-md);
  outline: none;
  font-family: var(--font-body);
  font-size: .9rem;
  background: var(--grey-bg);
  color: var(--charcoal);
  transition: border-color var(--transition), box-shadow var(--transition), background var(--transition);
}
.search-input::placeholder { color: var(--grey-mid); }
.search-input:focus, .search-input:hover {
  border-color: var(--green);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(43,122,43,.1);
}

.resources-list { display: flex; flex-direction: column; gap: .75rem; }

.resource-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.25rem;
  background: var(--white);
  border: 1px solid var(--grey-border);
  border-radius: var(--radius-md);
  transition: border-color var(--transition), box-shadow var(--transition);
}
.resource-item:hover { border-color: var(--green); box-shadow: var(--shadow-sm); }
.resource-info { display: flex; align-items: center; gap: .85rem; flex: 1; min-width: 0; }
.resource-icon {
  flex-shrink: 0;
  width: 36px; height: 36px;
  background: var(--green-light);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--green);
  font-size: .95rem;
  font-weight: 700;
}
.resource-title {
  font-size: .9rem;
  font-weight: 600;
  color: var(--charcoal);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.resource-meta {
  font-size: .75rem;
  color: var(--grey-mid);
}
.resource-link {
  flex-shrink: 0;
  padding: .4rem .9rem;
  border: 1.5px solid var(--green);
  border-radius: var(--radius-md);
  font-size: .8rem;
  font-weight: 700;
  color: var(--green);
  transition: background var(--transition), color var(--transition);
}
.resource-link:hover { background: var(--green); color: var(--white); text-decoration: none; }

.notice-bar {
  background: var(--green-light);
  border-left: 4px solid var(--green);
  padding: .8rem 1.25rem;
  border-radius: var(--radius-sm);
  font-size: .88rem;
  color: var(--green-dark);
  display: flex;
  align-items: center;
  gap: .75rem;
}

.about-hero {
  background: var(--grey-bg);
  padding-top: calc(var(--nav-h) + 2.5rem);
  padding-bottom: 3.5rem;
  border-bottom: 1px solid var(--grey-border);
}
.about-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 700;
  color: var(--charcoal);
  margin-bottom: .75rem;
}
.breadcrumb {
  display: flex;
  align-items: center;
  gap: .4rem;
  font-size: .82rem;
  color: var(--grey-mid);
  margin-bottom: 1rem;
}
.breadcrumb a { color: var(--green); }
.breadcrumb span { color: var(--grey-mid); }

.pillar-grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: 1fr;
}
@media (min-width: 640px) { .pillar-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 900px) { .pillar-grid { grid-template-columns: repeat(4, 1fr); } }

.pillar {
  padding: 1.5rem;
  background: var(--white);
  border-radius: var(--radius-md);
  border: 1px solid var(--grey-border);
  text-align: center;
}
.pillar-num {
  font-size: 2rem;
  font-weight: 800;
  color: var(--green);
  font-family: var(--font-display);
  line-height: 1;
  margin-bottom: .5rem;
}
.pillar-title {
  font-weight: 700;
  font-size: .88rem;
  color: var(--charcoal);
  text-transform: uppercase;
  letter-spacing: .06em;
}

.leadership-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 1fr 1fr;
}
@media (min-width: 768px) { .leadership-grid { grid-template-columns: repeat(4, 1fr); } }

.leader-card {
  text-align: center;
  padding: 1.5rem 1rem;
  border: 1px solid var(--grey-border);
  border-radius: var(--radius-lg);
  background: var(--white);
}
.leader-avatar {
  width: 72px; height: 72px;
  border-radius: 50%;
  background: var(--green-light);
  margin: 0 auto .85rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--green);
  font-family: var(--font-display);
}
.leader-name {
  font-weight: 700;
  font-size: .9rem;
  color: var(--charcoal);
}
.leader-role {
  font-size: .78rem;
  color: var(--grey-mid);
  margin-top: .2rem;
}

.anchor-nav {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--grey-border);
  margin-bottom: 2.5rem;
  position: sticky;
  top: var(--nav-h);
  background: var(--white);
  z-index: 400;
}
.anchor-nav a {
  padding: .45rem .9rem;
  border-radius: var(--radius-md);
  font-size: .84rem;
  font-weight: 600;
  color: var(--charcoal-soft);
  border: 1.5px solid var(--grey-border);
  transition: color var(--transition), border-color var(--transition), background var(--transition);
}
.anchor-nav a:hover { color: var(--green); border-color: var(--green); background: var(--green-light); text-decoration: none; }
.anchor-nav a.active { color: var(--green); border-color: var(--green); background: var(--green-light); }
.footer-grid {
  display: grid;
  gap: 2.5rem;
  grid-template-columns: 1fr;
  margin-bottom: 3rem;
}
@media (min-width: 640px)  { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr; } }

.footer-brand .nav-logo-abbr { color: var(--green-mid); }
.footer-brand .nav-logo-full { color: #888; }
.footer-tagline { margin-top: .85rem; font-size: .85rem; line-height: 1.65; color: #888; max-width: 30ch; }

.footer-col h4 {
  font-size: .78rem;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--white);
  font-weight: 700;
  margin-bottom: 1rem;
}
.footer-col ul { display: flex; flex-direction: column; gap: .55rem; }
.footer-col a { color: #a0a0a8; transition: color var(--transition); }
.footer-col a:hover { color: var(--green-mid); text-decoration: none; }

.footer-bottom {
  padding-top: 1.5rem;
  border-top: 1px solid #333;
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  justify-content: space-between;
  align-items: center;
  font-size: .78rem;
  color: #666;
}
.footer-bottom a { color: #888; }
.footer-bottom a:hover { color: var(--green-mid); text-decoration: none; }

@media (max-width: 480px) {
  .hero-stat-row { gap: 1.2rem; }
  .enquiry-form  { padding: 1.5rem 1.25rem; }
  .section { padding-block: 2.8rem; }
}

:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 3px;
}
#f-name.input:focus-visible,
#f-last.input:focus-visible,
#f-email.input:focus-visible,
#f-service.input:focus-visible,
#f-phone.input:focus-visible {
    outline: none;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

.ndfd-repo-card {
  max-width: 760px;
  margin-inline: auto;
  border: 1px solid var(--grey-border);
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.repo-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: .75rem;
  padding: .9rem 1.15rem;
  background: linear-gradient(180deg, var(--ndfd-50) 0%, #f4faf4 100%);
  border-bottom: 1px solid var(--grey-border);
}
.repo-header-left {
  display: flex;
  align-items: center;
  gap: .6rem;
  min-width: 0;
}
.repo-header-icon {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  color: var(--ndfd-500);
}
.repo-header-title {
  font-size: .9rem;
  font-weight: 700;
  color: var(--charcoal);
  white-space: nowrap;
}
.repo-header-badge {
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
  background: var(--ndfd-100);
  color: var(--ndfd-700);
  padding: .18rem .5rem;
  border-radius: 99px;
  white-space: nowrap;
}

.repo-scroll-wrap {
  height: 450px;
  overflow-y: auto;
  background: var(--white);
  scrollbar-width: thin;
  scrollbar-color: var(--grey-border) transparent;
}
.repo-scroll-wrap::-webkit-scrollbar { width: 6px; }
.repo-scroll-wrap::-webkit-scrollbar-track { background: transparent; }
.repo-scroll-wrap::-webkit-scrollbar-thumb {
  background: var(--grey-border);
  border-radius: 3px;
}
.repo-scroll-wrap::-webkit-scrollbar-thumb:hover { background: var(--ndfd-300); }

.ndfd-tree-container {
  padding: .85rem 1rem;
  font-family: var(--font-body);
  font-size: .875rem;
  color: var(--charcoal);
}

.ndfd-tree-container ul,
.ndfd-tree-container ol {
  list-style: none;
  padding: 0;
  margin: 0;
}

.ndfd-tree-container ul ul {
  margin-left: 0;
  padding-left: 1.5rem;
  border-left: 2px solid var(--ndfd-100);
}

.ndfd-tree-item {
  position: relative;
  margin-top: 2px;
}

.ndfd-tree-container ul ul .ndfd-tree-item::before {
  content: "";
  position: absolute;
  left: -1.5rem;
  top: 17px;
  width: 1.1rem;
  height: 2px;
  background-color: var(--ndfd-100);
}

.ndfd-tree-label,
.ndfd-file-item {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 34px;
  padding: 0 8px;
  border-radius: var(--radius-sm);
  color: var(--charcoal-mid);
  text-decoration: none;
  font-size: .855rem;
  line-height: 1;
  transition: background var(--transition), color var(--transition);
}

.ndfd-tree-label {
  cursor: default;
  font-weight: 700;
  color: var(--charcoal);
}

.ndfd-file-row {
  display: flex;
  align-items: center;
}
.ndfd-file-row .ndfd-file-item { flex: 1; min-width: 0; cursor: pointer; }

.ndfd-file-item:hover {
  background: var(--ndfd-50);
  color: var(--charcoal);
  text-decoration: none;
}

.ndfd-icon {
  width: 16px !important;
  height: 16px !important;
  min-width: 16px;
  flex-shrink: 0;
  color: var(--grey-mid);
  display: block;
}

.ndfd-folder-icon { color: var(--ndfd-500); }

.ndfd-node-name {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ndfd-child-count {
  flex-shrink: 0;
  font-size: .68rem;
  font-weight: 600;
  color: var(--ndfd-700);
  background: var(--ndfd-100);
  border-radius: 99px;
  padding: .1rem .45rem;
}

.ndfd-icon--pdf { color: #dc2626; }
.ndfd-icon--doc { color: #2563eb; }
.ndfd-icon--xls { color: #16a34a; }
.ndfd-icon--ppt { color: #d97706; }
.ndfd-icon--zip { color: #7c3aed; }
.ndfd-icon--img { color: #db2777; }

.ndfd-children-wrapper {
  display: block;
}

.ndfd-dl-btn {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  margin-left: 4px;
  border-radius: var(--radius-sm);
  color: var(--grey-mid);
  opacity: 0;
  transition: opacity var(--transition), background var(--transition), color var(--transition);
  text-decoration: none;
}
.ndfd-file-row:hover .ndfd-dl-btn,
.ndfd-dl-btn:focus-visible {
  opacity: 1;
}
.ndfd-dl-btn:hover {
  background: var(--ndfd-500);
  color: var(--white) !important;
  text-decoration: none;
}
.ndfd-dl-btn:focus-visible {
  outline: 2px solid var(--ndfd-500);
  outline-offset: 2px;
}

.repo-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: .5rem;
  margin-top: 2rem;
  padding: .65rem 1.15rem;
  border-top: 1px solid var(--grey-border);
  background: var(--grey-bg);
}
.repo-footer-note {
  font-size: .8rem;
  color: var(--charcoal-soft);
}
.repo-footer-ts {
  font-size: .74rem;
  color: var(--grey-mid);
}

.ndfd-tree-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: 2.5rem 1rem;
  color: var(--grey-mid);
  text-align: center;
}
.ndfd-tree-empty svg { width: 32px; height: 32px; color: var(--grey-mid); }
.ndfd-tree-empty p { font-size: .85rem; }

@media (max-width: 640px) {
  .repo-header { flex-direction: column; align-items: flex-start; }
}



.ndfd-media-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin-bottom: 2rem;
  border-bottom: 2px solid var(--grey-border);
  padding-bottom: .75rem;
}

.ndfd-media-tab {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  padding: .5rem 1.1rem;
  font-size: .875rem;
  font-weight: 700;
  color: var(--charcoal-soft);
  background: transparent;
  border: 1.5px solid var(--grey-border);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: background var(--transition), color var(--transition),
              border-color var(--transition), box-shadow var(--transition);
  line-height: 1;
}
.ndfd-media-tab svg {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
  opacity: .6;
  transition: opacity var(--transition);
}
.ndfd-media-tab:hover {
  color: var(--green);
  border-color: var(--green);
  background: var(--green-light);
}
.ndfd-media-tab.active {
  color: var(--white);
  background: var(--green);
  border-color: var(--green);
  box-shadow: 0 2px 8px rgba(43,122,43,.25);
}
.ndfd-media-tab.active svg { opacity: 1; }

.ndfd-media-panel {
  display: none;
  animation: ndfd-panel-in .22s ease forwards;
}
.ndfd-media-panel.active { display: block; }

@keyframes ndfd-panel-in {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: translateY(0);   }
}


.ndfd-photo-grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: repeat(2, 1fr);
}
@media (min-width: 640px)  { .ndfd-photo-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1024px) { .ndfd-photo-grid { grid-template-columns: repeat(3, 1fr); } }

.ndfd-photo-card {
  display: flex;
  flex-direction: column;
  gap: .55rem;
  cursor: pointer;
  border-radius: var(--radius-md);
  transition: transform var(--transition), box-shadow var(--transition);
}
.ndfd-photo-card:hover  { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.ndfd-photo-card:focus  { outline: 2px solid var(--green); outline-offset: 3px; }
.ndfd-photo-card:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; }

.ndfd-photo-thumb {
  position: relative;
  width: 100%;
  aspect-ratio: 3 / 2;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--grey-bg);
}
.ndfd-photo-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .4s ease;
}
.ndfd-photo-card:hover .ndfd-photo-thumb img { transform: scale(1.05); }

.ndfd-photo-placeholder {
  background: linear-gradient(135deg, var(--ndfd-50) 0%, var(--ndfd-100) 100%);
}
.ndfd-photo-placeholder::after {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' fill='none' stroke='%232B7A2B' stroke-width='1.2' xmlns='http://www.w3.org/2000/svg'%3E%3Crect x='3' y='3' width='18' height='18' rx='2'/%3E%3Ccircle cx='8.5' cy='8.5' r='1.5'/%3E%3Cpolyline points='21 15 16 10 5 21'/%3E%3C/svg%3E")
    center / 3rem no-repeat;
  opacity: .35;
}

.ndfd-photo-overlay {
  position: absolute;
  inset: 0;
  background: rgba(43, 122, 43, .55);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity var(--transition);
  color: var(--white);
}
.ndfd-photo-card:hover .ndfd-photo-overlay,
.ndfd-photo-card:focus .ndfd-photo-overlay { opacity: 1; }
.ndfd-photo-overlay svg { width: 2rem; height: 2rem; filter: drop-shadow(0 2px 4px rgba(0,0,0,.3)); }

.ndfd-photo-caption {
  font-size: .8rem;
  font-weight: 600;
  color: var(--charcoal-soft);
  text-align: center;
  line-height: 1.35;
  padding: 0 .25rem;
}


.ndfd-video-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 1fr;
}
@media (min-width: 640px)  { .ndfd-video-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px)  { .ndfd-video-grid { grid-template-columns: repeat(3, 1fr); } }

.ndfd-video-card {
  background: var(--white);
  border: 1px solid var(--grey-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition), transform var(--transition), border-color var(--transition);
  display: flex;
  flex-direction: column;
}
.ndfd-video-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.ndfd-video-thumb {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background:
    linear-gradient(rgba(0,0,0,.25), rgba(0,0,0,.45)),
    var(--thumb-bg, linear-gradient(135deg, var(--ndfd-100) 0%, var(--ndfd-200) 100%))
    center / cover no-repeat;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: filter var(--transition);
}
.ndfd-video-thumb:hover { filter: brightness(1.08); }
.ndfd-video-thumb:focus { outline: 2px solid var(--green); outline-offset: -2px; }

.ndfd-video-play-btn {
  width: 3.25rem;
  height: 3.25rem;
  border-radius: 50%;
  background: var(--green);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(0,0,0,.35);
  transition: background var(--transition), transform var(--transition);
}
.ndfd-video-thumb:hover .ndfd-video-play-btn {
  background: var(--green-dark);
  transform: scale(1.1);
}
.ndfd-video-play-btn svg { margin-left: 3px; }

.ndfd-video-badge {
  position: absolute;
  top: .65rem;
  left: .65rem;
  font-size: .65rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  background: var(--green);
  color: var(--white);
  padding: .18rem .55rem;
  border-radius: 99px;
}
.ndfd-video-badge--blue  { background: #1d4ed8; }
.ndfd-video-badge--amber { background: #b45309; }

.ndfd-video-iframe {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  border: none;
}

.ndfd-video-info {
  padding: 1.1rem 1.25rem 1.35rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: .45rem;
}

.ndfd-video-title {
  font-family: var(--font-display);
  font-size: .95rem;
  font-weight: 700;
  color: var(--charcoal);
  line-height: 1.35;
}

.ndfd-video-desc {
  font-size: .84rem;
  color: var(--charcoal-soft);
  line-height: 1.55;
  flex: 1;
}

.ndfd-video-meta {
  font-size: .72rem;
  font-weight: 700;
  color: var(--grey-mid);
  text-transform: uppercase;
  letter-spacing: .06em;
}


.ndfd-story-grid {
  display: grid;
  gap: 1.75rem;
  grid-template-columns: 1fr;
}
@media (min-width: 700px)  { .ndfd-story-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .ndfd-story-grid { grid-template-columns: repeat(3, 1fr); } }

.ndfd-story-card {
  background: var(--white);
  border: 1px solid var(--grey-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: box-shadow var(--transition), transform var(--transition), border-color var(--transition);
}
.ndfd-story-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.ndfd-story-img-wrap {
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--grey-bg);
  position: relative;
}
.ndfd-story-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .4s ease;
}
.ndfd-story-card:hover .ndfd-story-img-wrap img { transform: scale(1.04); }

.ndfd-story-placeholder {
  background: linear-gradient(135deg, var(--ndfd-50) 0%, var(--ndfd-100) 100%);
  min-height: 180px;
}
.ndfd-story-placeholder::after {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' fill='none' stroke='%232B7A2B' stroke-width='1.2' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M17 21v-2a4 4 0 0 0-4-4H5a4 4 0 0 0-4 4v2'/%3E%3Ccircle cx='9' cy='7' r='4'/%3E%3Cpath d='M23 21v-2a4 4 0 0 0-3-3.87'/%3E%3Cpath d='M16 3.13a4 4 0 0 1 0 7.75'/%3E%3C/svg%3E")
    center / 3rem no-repeat;
  opacity: .3;
}

.ndfd-story-body {
  padding: 1.25rem 1.35rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: .55rem;
  flex: 1;
}

.ndfd-story-tag {
  display: inline-block;
  font-size: .67rem;
  font-weight: 800;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: var(--green);
  background: var(--green-light);
  padding: .18rem .55rem;
  border-radius: 99px;
  align-self: flex-start;
}

.ndfd-story-title {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--charcoal);
  line-height: 1.3;
}

.ndfd-story-excerpt {
  font-size: .875rem;
  color: var(--charcoal-soft);
  line-height: 1.6;
  flex: 1;
}

.ndfd-story-meta {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-size: .75rem;
  font-weight: 700;
  color: var(--grey-mid);
  padding-top: .5rem;
  border-top: 1px solid var(--grey-border);
}
.ndfd-story-meta span:first-child { color: var(--charcoal-soft); }
.ndfd-story-meta span:not(:first-child)::before {
  content: '·';
  margin-right: .5rem;
}


.ndfd-lightbox {
  position: fixed;
  inset: 0;
  z-index: 9000;
  background: rgba(0, 0, 0, .92);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity .25s ease, visibility .25s ease;
  pointer-events: none;
}
.ndfd-lightbox.open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.ndfd-lightbox-close {
  position: absolute;
  top: 1.1rem;
  right: 1.1rem;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background: rgba(255,255,255,.12);
  border: 1.5px solid rgba(255,255,255,.2);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background var(--transition);
  z-index: 10;
}
.ndfd-lightbox-close:hover { background: rgba(255,255,255,.25); }
.ndfd-lightbox-close:focus-visible { outline: 2px solid var(--green); outline-offset: 2px; }

.ndfd-lightbox-inner {
  display: flex;
  align-items: center;
  gap: 1rem;
  width: 100%;
  max-width: min(92vw, 900px);
  padding: 1rem;
}

.ndfd-lightbox-arrow {
  flex-shrink: 0;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background: rgba(255,255,255,.12);
  border: 1.5px solid rgba(255,255,255,.2);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background var(--transition);
}
.ndfd-lightbox-arrow:hover { background: var(--green); border-color: var(--green); }
.ndfd-lightbox-arrow:focus-visible { outline: 2px solid var(--green); outline-offset: 2px; }

.ndfd-lightbox-figure {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .75rem;
}

.ndfd-lightbox-figure img {
  max-width: 100%;
  max-height: 75vh;
  object-fit: contain;
  border-radius: var(--radius-md);
  display: block;
  box-shadow: 0 8px 48px rgba(0,0,0,.6);
  transition: opacity .18s ease;
}

.ndfd-lightbox-cap {
  font-size: .82rem;
  color: rgba(255,255,255,.7);
  text-align: center;
  max-width: 56ch;
  line-height: 1.5;
}

@media (max-width: 480px) {
  .ndfd-photo-grid   { grid-template-columns: 1fr; }
  .ndfd-video-grid   { grid-template-columns: 1fr; }
  .ndfd-story-grid   { grid-template-columns: 1fr; }
  .ndfd-lightbox-arrow { display: none; }
  .ndfd-lightbox-inner { padding: .5rem; }
  .ndfd-media-tab    { font-size: .78rem; padding: .45rem .85rem; }
}

@media (min-width: 481px) and (max-width: 767px) {
  .ndfd-photo-grid { grid-template-columns: repeat(2, 1fr); }
}


@keyframes fadeUpIn {
  from {
    opacity: 0;
    transform: translateY(20px);
    filter: blur(4px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
  }
}

.animate-fade-up {
  animation: fadeUpIn 0.7s var(--ease-out-expo) both;
  animation-delay: var(--delay, 0s);
}

@media (prefers-reduced-motion: reduce) {
  .animate-fade-up { animation: none; opacity: 1; filter: none; transform: none; }
}

.ndfd-glass-surface {
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.45);
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.08);
  border-radius: var(--radius-lg);
}

.ndfd-glass-surface--dark {
  background: rgba(31, 94, 67, 0.85);
  border-color: rgba(255, 255, 255, 0.15);
  color: #fff;
}

.hero {
  position: relative;
  min-height: 100svh;
  background: var(--warm-white);
  overflow: hidden;
  display: flex;
  align-items: center;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='800' height='600'%3E%3Cpath d='M0 300 Q200 250 400 300 T800 300' fill='none' stroke='%231F5E43' stroke-width='1' opacity='0.04'/%3E%3Cpath d='M0 350 Q200 300 400 350 T800 350' fill='none' stroke='%231F5E43' stroke-width='1' opacity='0.04'/%3E%3Cpath d='M0 400 Q200 350 400 400 T800 400' fill='none' stroke='%231F5E43' stroke-width='1' opacity='0.03'/%3E%3Cpath d='M0 250 Q200 200 400 250 T800 250' fill='none' stroke='%231F5E43' stroke-width='1' opacity='0.04'/%3E%3Cpath d='M0 200 Q200 150 400 200 T800 200' fill='none' stroke='%231F5E43' stroke-width='1' opacity='0.03'/%3E%3Cpath d='M0 450 Q200 400 400 450 T800 450' fill='none' stroke='%231F5E43' stroke-width='1' opacity='0.03'/%3E%3C/svg%3E");
  background-size: 100% auto;
  background-repeat: repeat-y;
  pointer-events: none;
  z-index: 0;
}

.hero-canvas-wrap {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  overflow: hidden;
}

#hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  opacity: .6;
}

.hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  padding-top: calc(var(--nav-h) + 0.5rem);
  padding-bottom: 5rem;
}

@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; gap: 2.5rem; padding-top: calc(var(--nav-h) + 0.5rem); }
}

.hero-eyebrow {
  font-family: var(--font-body);
  font-size: clamp(.72rem, 1.2vw, .82rem);
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--emerald);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: .5rem;
  --delay: 0.2s;
}
.hero-eyebrow::before {
  content: '';
  display: inline-block;
  width: 28px;
  height: 2px;
  background: var(--emerald);
  border-radius: 2px;
  flex-shrink: 0;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  font-weight: 700;
  line-height: 1.32;
  color: var(--charcoal);
  margin-bottom: 1.5rem;
  letter-spacing: -.02em;
  --delay: 0.35s;
}
.hero h1 span {
  color: var(--emerald);
  position: relative;
}

.hero h1 span::after {
  content: '';
  position: absolute;
  bottom: -.02em;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--emerald), var(--nature));
  border-radius: 2px;
  transform-origin: left;
  animation: lineGrow .8s var(--ease-out-expo) .9s both;
}
@keyframes lineGrow { from { transform: scaleX(0); } to { transform: scaleX(1); } }

.hero-lead {
  font-size: clamp(.95rem, 1.6vw, 1.05rem);
  color: var(--charcoal-soft);
  line-height: 1.75;
  max-width: 52ch;
  margin-bottom: 2rem;
  --delay: 0.5s;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .85rem;
  margin-bottom: 2.5rem;
  --delay: 0.62s;
}

.hero-stat-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1.75rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--grey-border);
  --delay: 0.72s;
}
.hero-stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.5vw, 1.8rem);
  font-weight: 700;
  color: var(--forest);
  line-height: 1;
  margin-bottom: .2rem;
}
.hero-stat span {
  font-size: .78rem;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--charcoal-soft);
  font-weight: 600;
}

.hero-collage {
  position: relative;
  height: 520px;
}
@media (max-width: 900px) {
  .hero-collage { height: 260px; }
}
.hero-collage-img {
  position: absolute;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}
.hero-collage-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .6s ease;
}
.hero-collage-img:hover img { transform: scale(1.04); }

.hero-collage-main {
  inset: 0 0 80px 0;
}
.hero-collage-inset {
  width: 48%;
  height: 45%;
  bottom: 0;
  right: 0;
  border: 3px solid var(--warm-white);
}
.hero-collage-accent {
  width: 30%;
  height: 30%;
  bottom: 20px;
  left: -20px;
  border: 3px solid var(--warm-white);
  box-shadow: var(--shadow-lg);
}

.hero-wave {
  display: block;
  width: 100%;
  height: 80px;
  background: var(--warm-white);
  clip-path: ellipse(55% 100% at 50% 0%);
  margin-top: -2px;
}

.ndfd-impact-strip {
  background: var(--forest);
  padding: 4rem 0;
  position: relative;
  overflow: hidden;
}
.ndfd-impact-parallax-logo {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 640px;
  max-width: none;
  opacity: .07;
  pointer-events: none;
  user-select: none;
  z-index: 0;
  will-change: transform;
  transform: translate3d(-50%, calc(-50% + var(--parallax-y, 0px)), 0);
}
@media (max-width: 768px) { .ndfd-impact-parallax-logo { width: 360px; } }
.ndfd-impact-strip::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 20% 50%, rgba(82,169,107,.18) 0%, transparent 70%);
  pointer-events: none;
}
.ndfd-impact-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  position: relative;
  z-index: 1;
}
@media (max-width: 768px) { .ndfd-impact-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 460px) { .ndfd-impact-grid { grid-template-columns: 1fr 1fr; gap: 1.25rem; } }

.ndfd-impact-col {
  text-align: center;
  padding: 1.5rem 1rem;
  background: rgba(255,255,255,.05);
  border-radius: var(--radius-md);
  border: 1px solid rgba(255,255,255,.1);
  transition: background var(--transition), transform var(--transition);
}
.ndfd-impact-col:hover {
  background: rgba(255,255,255,.1);
  transform: translateY(-3px);
}
.ndfd-impact-val {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 700;
  color: #fff;
  line-height: 1;
  margin-bottom: .4rem;
  letter-spacing: -.02em;
}
.ndfd-impact-val .impact-accent { color: var(--nature); }
.ndfd-impact-lbl {
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(255,255,255,.6);
}
.ndfd-impact-icon {
  margin: 0 auto .75rem;
  width: 2.5rem; height: 2.5rem;
  background: rgba(82,169,107,.25);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--nature);
}

.card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--grey-border);
  box-shadow: var(--shadow-sm);
  padding: 0;
  display: flex;
  flex-direction: column;
  transition: transform var(--transition-md), box-shadow var(--transition-md), border-color var(--transition);
  cursor: pointer;
}
.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
}
.card:focus-visible {
  outline: 3px solid var(--emerald);
  outline-offset: 2px;
}

.card-cover {
  position: relative;
  height: 140px;
  background: linear-gradient(135deg, var(--forest) 0%, var(--emerald) 100%);
  overflow: hidden;
  flex-shrink: 0;
}
.card-cover-img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: .94;
  transition: transform .5s ease, opacity .3s;
}
.card:hover .card-cover-img { transform: scale(1.08); opacity: 1; }

.card-cover-mask {
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cpath d='M60 10 Q80 40 60 70 Q40 40 60 10Z' fill='none' stroke='rgba(255,255,255,0.07)' stroke-width='1'/%3E%3Cpath d='M60 10 L60 70' stroke='rgba(255,255,255,0.07)' stroke-width='0.8'/%3E%3Cpath d='M60 30 Q75 30 85 40' fill='none' stroke='rgba(255,255,255,0.06)' stroke-width='0.8'/%3E%3Cpath d='M60 30 Q45 30 35 40' fill='none' stroke='rgba(255,255,255,0.06)' stroke-width='0.8'/%3E%3Cpath d='M60 50 Q73 48 80 55' fill='none' stroke='rgba(255,255,255,0.05)' stroke-width='0.8'/%3E%3Cpath d='M60 50 Q47 48 40 55' fill='none' stroke='rgba(255,255,255,0.05)' stroke-width='0.8'/%3E%3C/svg%3E");
  background-size: 80px;
  pointer-events: none;
}

.card-cover-icon {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 3rem; height: 3rem;
  background: rgba(255,255,255,.15);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,.9);
  transition: background var(--transition), transform var(--transition-md);
}
.card:hover .card-cover-icon {
  background: rgba(255,255,255,.25);
  transform: translate(-50%, -50%) scale(1.1);
}

.card-body {
  padding: 1.35rem 1.5rem 1.5rem;
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: .6rem;
}
.card-icon { display: none; }
.card > .card-icon,
.card > .card-title,
.card > p {
  padding-inline: 1.5rem;
}
.card > .card-icon { padding-top: 1.35rem; }
.card > .card-icon + .card-title { padding-top: 1.35rem; }
.card > p:last-child { padding-bottom: 1.5rem; }

.card-title {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--charcoal);
  line-height: 1.3;
}
.card p {
  font-size: .875rem;
  color: var(--charcoal-soft);
  line-height: 1.6;
  flex: 1;
}

.card-link {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  font-size: .82rem;
  font-weight: 700;
  color: var(--emerald);
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  text-decoration: none;
  transition: color var(--transition), gap var(--transition);
  align-self: flex-start;
  margin-top: .25rem;
}
.card-link::after {
  content: '→';
  display: inline-block;
  transition: transform var(--transition-md);
}
.card:hover .card-link { color: var(--forest); gap: .55rem; }
.card:hover .card-link::after { transform: translateX(4px); }

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  padding: .8rem 1.7rem;
  background: var(--emerald);
  color: #fff;
  font-size: .9rem;
  font-weight: 700;
  border-radius: var(--radius-md);
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
  letter-spacing: .01em;
}
.btn-primary:hover {
  background: var(--forest);
  color: #fff;
  text-decoration: none;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(31,94,67,.35);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  padding: .8rem 1.7rem;
  background: transparent;
  color: var(--charcoal);
  font-size: .9rem;
  font-weight: 700;
  border-radius: var(--radius-md);
  text-decoration: none;
  border: 1.5px solid var(--grey-border);
  cursor: pointer;
  transition: border-color var(--transition), color var(--transition), transform var(--transition);
}
.btn-outline:hover {
  background: var(--forest);
  border-color: var(--forest);
  color: #fff;
  text-decoration: none;
  transform: translateY(-2px);
}

.section-label {
  display: inline-block;
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--emerald);
  background: var(--nature-light);
  padding: .22rem .65rem;
  border-radius: 99px;
  margin-bottom: .9rem;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 700;
  color: var(--charcoal);
  line-height: 1.2;
  letter-spacing: -.02em;
  margin-bottom: .75rem;
}
.section-lead {
  font-size: clamp(.9rem, 1.4vw, 1rem);
  color: var(--charcoal-soft);
  max-width: 62ch;
  line-height: 1.75;
  margin-bottom: 2.5rem;
}

.site-nav {
  --nav-h: 68px;
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-h);
  background: var(--white);
  border-bottom: 1px solid var(--grey-border);
  z-index: 500;
}
.nav-cta {
  background: var(--forest);
  color: #fff;
  padding: .55rem 1.25rem;
  font-size: .88rem;
  font-weight: 700;
  border-radius: var(--radius-sm);
  text-decoration: none;
  transition: transform var(--transition), box-shadow var(--transition);
}
.nav-cta:hover {
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(31,94,67,.35);
}

.site-footer {
  background: var(--charcoal);
  padding-top: 3.5rem;
}

.section { padding: 5rem 0; }
.section--grey { background: var(--mist); }

@media (max-width: 640px) {
  .section { padding: 3rem 0; }
  .hero-stat-row { gap: 1.25rem; }
  .hero-actions { flex-direction: column; }
  .ndfd-impact-grid { gap: 1rem; }
}

.team-hero { padding-top: calc(var(--nav-h) + 2rem); padding-bottom: 1rem; }

.exec-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-top: 2rem;
}
@media (min-width: 700px) {
  .exec-grid { grid-template-columns: 1fr 1fr; }
}
.exec-card {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  background: var(--white);
  border: 1px solid var(--grey-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  padding: 1.75rem;
  transition: transform .25s ease, box-shadow .25s ease;
}
.exec-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
}
.exec-photo {
  position: relative;
  width: 96px;
  height: 96px;
  flex-shrink: 0;
  border-radius: 50%;
  overflow: hidden;
  background: var(--nature-light);
}
.exec-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.exec-photo-fallback {
  position: absolute;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 2.1rem;
  font-weight: 700;
  color: var(--forest);
}
.exec-name {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--charcoal);
}
.exec-title {
  font-size: .92rem;
  color: var(--forest);
  font-weight: 600;
  margin-top: .2rem;
}

.dept-group { margin-top: 2.5rem; }
.dept-group:first-of-type { margin-top: 2rem; }
.dept-title {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--charcoal);
  border-bottom: 2px solid var(--forest);
  padding-bottom: .5rem;
  margin-bottom: 1.25rem;
  display: inline-block;
}

.staff-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.1rem;
}
@media (min-width: 620px) { .staff-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 960px) { .staff-grid { grid-template-columns: repeat(4, 1fr); } }

.staff-card {
  background: var(--white);
  border: 1px solid var(--grey-border);
  border-radius: var(--radius-md);
  padding: 1.25rem 1rem;
  text-align: center;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.staff-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}
.staff-card.is-vacant {
  border-style: dashed;
  background: var(--warm-white);
}
.staff-card.is-vacant .staff-title { color: var(--charcoal-soft); font-style: italic; }

.staff-photo {
  position: relative;
  width: 68px;
  height: 68px;
  margin: 0 auto .8rem;
  border-radius: 50%;
  overflow: hidden;
  background: var(--nature-light);
}
.staff-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.staff-photo-fallback {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--forest);
}
.staff-card.is-vacant .staff-photo-fallback { color: var(--charcoal-soft); }

.staff-name {
  font-size: .88rem;
  font-weight: 700;
  color: var(--charcoal);
}
.staff-title {
  font-size: .78rem;
  color: var(--charcoal-soft);
  margin-top: .15rem;
  line-height: 1.3;
}

.board-grid { margin-top: 2rem; }
.board-card { border-top: 3px solid var(--gold, #FCD116); }

.legacy-board-accordion {
  margin-top: 2.5rem;
  border: 1px solid var(--grey-border);
  border-radius: var(--radius-md);
  background: var(--white);
  overflow: hidden;
}
.legacy-board-accordion summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.25rem;
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--charcoal);
  user-select: none;
}
.legacy-board-accordion summary::-webkit-details-marker { display: none; }
.accordion-chevron { transition: transform .2s ease; flex-shrink: 0; }
.legacy-board-accordion[open] .accordion-chevron { transform: rotate(180deg); }
.legacy-board-accordion[open] summary {
  border-bottom: 1px solid var(--grey-border);
}
.legacy-board-list { padding: .5rem 1.25rem 1rem; }
.legacy-board-row {
  display: grid;
  grid-template-columns: 1.4fr 1.4fr 1fr;
  gap: .75rem;
  padding: .6rem 0;
  border-bottom: 1px solid var(--grey-border);
  font-size: .88rem;
}
.legacy-board-row:last-child { border-bottom: none; }
.legacy-name { font-weight: 700; color: var(--charcoal); }
.legacy-title { color: var(--charcoal-soft); }
.legacy-years { color: var(--charcoal-soft); text-align: right; font-variant-numeric: tabular-nums; }

@media (max-width: 560px) {
  .legacy-board-row { grid-template-columns: 1fr; gap: .15rem; }
  .legacy-years { text-align: left; }
}
