/* I-WIN theme, layered on top of Bootstrap 5 (loaded from the CDN). */

:root {
  --forest-50: #f1f7f2;
  --forest-100: #dcebdf;
  --forest-200: #b9d7c0;
  --forest-700: #235233;
  --forest-800: #1d422b;
  --forest-900: #14301f;
  --forest-950: #0b1c12;

  --clay-50: #fdf5ef;
  --clay-100: #fbe7d6;
  --clay-200: #f6cdac;
  --clay-300: #efa974;
  --clay-400: #e7813f;
  --clay-500: #df6421;
  --clay-600: #c94d17;
  --clay-700: #a73b16;

  --sand: #faf6ef;
  --ink: #1b1f1c;

  --font-display: "Fraunces", ui-serif, Georgia, serif;
  --shadow-soft: 0 10px 40px -12px rgb(20 48 31 / 0.25);
  --shadow-lift: 0 24px 60px -20px rgb(20 48 31 / 0.35);
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);

  --bs-body-font-family: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --bs-body-color: var(--ink);
  --bs-body-bg: var(--sand);
  --bs-link-color-rgb: 20, 48, 31;
  --bs-link-hover-color-rgb: 201, 77, 23;
  --bs-border-color: rgb(20 48 31 / 0.1);
}

html { scroll-behavior: smooth; }
body { -webkit-font-smoothing: antialiased; }
a { text-decoration: none; }
::selection { background: var(--clay-200); color: var(--forest-950); }
:focus-visible { outline: 2px solid var(--clay-500); outline-offset: 2px; }
[id] { scroll-margin-top: 6rem; }

h1, h2, h3, h4, h5, .font-display {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.02em;
}
.font-body { font-family: var(--bs-body-font-family); letter-spacing: 0; }

.skip-link {
  position: fixed; top: 1rem; left: 1rem; z-index: 2000;
  padding: 0.5rem 1rem; border-radius: 50rem;
  background: #fff; color: var(--forest-900); font-weight: 600;
}

/* ---------------------------------------------------------------- colours */
.bg-sand { background: var(--sand); }
.bg-forest { background: var(--forest-900) !important; }
.bg-forest-deep { background: var(--forest-950); }
.bg-clay { background: var(--clay-500) !important; }
.text-forest { color: var(--forest-900); }
.text-forest-deep { color: var(--forest-950); }
.text-forest-mid { color: var(--forest-700); }
.text-forest-faded { color: rgb(20 48 31 / 0.7); }
.text-clay { color: var(--clay-600); }
.text-clay-light { color: var(--clay-300); }
.text-clay-400 { color: var(--clay-400); }
.text-clay-500 { color: var(--clay-500); }
.text-soft { color: rgb(27 31 28 / 0.72); }
.text-white-75 { color: rgb(255 255 255 / 0.75); }
.link-clay { transition: color 0.2s; }
.link-clay:hover { color: var(--clay-600) !important; }
.tracking { letter-spacing: 0.1em; }

/* Dotted texture used on dark areas */
.has-dots { position: relative; isolation: isolate; }
.has-dots::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: radial-gradient(rgb(255 255 255 / 0.09) 1px, transparent 1px);
  background-size: 22px 22px;
}

/* ---------------------------------------------------------------- layout */
.section { padding: 5rem 0; }
.section-sm { padding: 4rem 0; }
@media (min-width: 992px) {
  .section { padding: 7rem 0; }
  .section-sm { padding: 5rem 0; }
}

.heading { max-width: 48rem; }
.h-section { font-size: clamp(1.875rem, 1.3rem + 2.2vw, 2.75rem); line-height: 1.15; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 0.5rem; margin: 0;
  font-size: 0.75rem; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--clay-600);
}
.eyebrow::before { content: ""; width: 2rem; height: 1px; background: currentColor; }
.eyebrow-light { color: var(--clay-300); }

.footer-title {
  font-family: var(--bs-body-font-family);
  font-size: 0.75rem; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase;
}

/* ---------------------------------------------------------------- buttons */
.btn-pill {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  padding: 0.75rem 1.5rem; border-radius: 50rem;
  font-size: 0.875rem; font-weight: 600;
  transition: all 0.2s;
}
.btn-clay {
  --bs-btn-color: #fff; --bs-btn-bg: var(--clay-500); --bs-btn-border-color: var(--clay-500);
  --bs-btn-hover-color: #fff; --bs-btn-hover-bg: var(--clay-600); --bs-btn-hover-border-color: var(--clay-600);
  --bs-btn-active-color: #fff; --bs-btn-active-bg: var(--clay-700); --bs-btn-active-border-color: var(--clay-700);
  box-shadow: var(--shadow-soft);
}
.btn-forest {
  --bs-btn-color: #fff; --bs-btn-bg: var(--forest-900); --bs-btn-border-color: var(--forest-900);
  --bs-btn-hover-color: #fff; --bs-btn-hover-bg: var(--forest-800); --bs-btn-hover-border-color: var(--forest-800);
  --bs-btn-active-color: #fff; --bs-btn-active-bg: var(--forest-950); --bs-btn-active-border-color: var(--forest-950);
}
.btn-clay:hover, .btn-forest:hover { transform: translateY(-2px); }
.btn-ghost-light {
  --bs-btn-color: #fff; --bs-btn-border-color: rgb(255 255 255 / 0.4);
  --bs-btn-hover-color: #fff; --bs-btn-hover-bg: rgb(255 255 255 / 0.1); --bs-btn-hover-border-color: #fff;
  --bs-btn-active-color: #fff; --bs-btn-active-bg: rgb(255 255 255 / 0.2); --bs-btn-active-border-color: #fff;
}
.btn-ghost-dark {
  --bs-btn-color: var(--forest-900); --bs-btn-border-color: rgb(20 48 31 / 0.25);
  --bs-btn-hover-color: #fff; --bs-btn-hover-bg: var(--forest-900); --bs-btn-hover-border-color: var(--forest-900);
  --bs-btn-active-color: #fff; --bs-btn-active-bg: var(--forest-950); --bs-btn-active-border-color: var(--forest-950);
}
.btn-reset { background: none; border: 0; padding: 0; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 0.5rem; align-self: flex-start;
  font-size: 0.875rem; font-weight: 600; color: var(--forest-900);
  transition: gap 0.2s, color 0.2s;
}
.link-arrow:hover { gap: 0.75rem; color: var(--clay-600); }
.link-arrow-light { color: var(--clay-300); }
.link-arrow-light:hover { color: #fff; }

.round-btn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 2.75rem; height: 2.75rem; border-radius: 50%;
  border: 1px solid rgb(255 255 255 / 0.3); background: rgb(255 255 255 / 0.1); color: #fff;
  backdrop-filter: blur(6px); transition: all 0.2s;
}
.round-btn:hover { background: #fff; color: var(--forest-900); }
.round-btn-lg { width: 3rem; height: 3rem; font-size: 1.1rem; }

.chip {
  padding: 0.6rem 1.25rem; border-radius: 50rem;
  border: 1px solid rgb(20 48 31 / 0.15); background: #fff; color: var(--forest-900);
  font-size: 0.875rem; font-weight: 600; transition: all 0.2s;
}
.chip:hover { background: var(--forest-50); }
.chip.active { background: var(--forest-900); border-color: var(--forest-900); color: #fff; box-shadow: var(--shadow-soft); }
.chip-sm {
  padding: 0.35rem 1rem; font-size: 0.75rem;
  background: var(--clay-50); border-color: var(--clay-200); color: var(--clay-700);
}
.chip-sm:hover { background: var(--clay-100); }
.chip-sm.active { background: var(--clay-500); border-color: var(--clay-500); color: #fff; box-shadow: none; }

.tag { padding: 0.5rem 1rem; border-radius: 50rem; font-size: 0.875rem; font-weight: 500; }
.tag-clay { background: var(--clay-50); color: var(--clay-700); border: 1px solid var(--clay-200); }
.tag-forest { background: var(--forest-50); color: var(--forest-800); border: 1px solid var(--forest-200); }

/* ---------------------------------------------------------------- navbar */
.site-nav { padding: 1rem 0; transition: all 0.3s; }
.site-nav .navbar-brand { color: #fff; transition: color 0.3s; }
.brand-logo { display: block; width: 11rem; }
@media (min-width: 576px) { .brand-logo { width: 14rem; } }
.brand-logo-name { font-family: var(--font-display); font-weight: 700; font-size: 48px; }
.brand-logo-sub { font-family: var(--bs-body-font-family); font-weight: 600; font-size: 11.5px; text-transform: uppercase; }

.site-nav .navbar-toggler { border: 0; color: #fff; font-size: 1.75rem; padding: 0.25rem 0.5rem; box-shadow: none; }
.site-nav .nav-link {
  padding: 0.5rem 1rem !important; border-radius: 50rem;
  font-size: 0.875rem; font-weight: 500; color: rgb(255 255 255 / 0.85);
}
.site-nav .nav-link:hover { color: #fff; }
.site-nav .nav-link.active { color: #fff; background: rgb(255 255 255 / 0.15); }

.site-nav.is-solid {
  padding: 0.5rem 0;
  background: rgb(255 255 255 / 0.94);
  backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 rgb(0 0 0 / 0.06);
}
.site-nav.is-solid .navbar-brand,
.site-nav.is-solid .navbar-toggler { color: var(--forest-900); }
.site-nav.is-solid .nav-link { color: rgb(20 48 31 / 0.75); }
.site-nav.is-solid .nav-link:hover { color: var(--forest-900); }
.site-nav.is-solid .nav-link.active { color: var(--forest-900); background: var(--forest-50); }

@media (max-width: 991.98px) {
  .site-nav .navbar-collapse { max-height: calc(100vh - 4.5rem); overflow-y: auto; padding: 1rem 0 1.5rem; }
  .site-nav .nav-link { font-family: var(--font-display); font-size: 1.4rem; border-radius: 0; padding: 0.75rem 0 !important; border-bottom: 1px solid rgb(20 48 31 / 0.1); }
  .site-nav.is-solid .nav-link.active { background: none; color: var(--clay-600); }
}

/* ---------------------------------------------------------------- home hero carousel */
.hero { background: var(--forest-950); color: #fff; }
.hero .carousel-item { position: relative; isolation: isolate; min-height: 100vh; min-height: 100svh; }
.hero-bg { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.hero .carousel-item.active .hero-bg { animation: kenburns 10s ease-out forwards; }
.hero-shade {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(to top, rgb(11 28 18 / 0.85), transparent 50%, rgb(11 28 18 / 0.5)),
    linear-gradient(to right, rgb(11 28 18 / 0.9), rgb(11 28 18 / 0.55), rgb(11 28 18 / 0.1));
}
.hero-content { display: flex; align-items: center; min-height: 100vh; min-height: 100svh; padding-top: 8rem; padding-bottom: 10rem; }
.hero-text { max-width: 48rem; }
.hero-pill {
  display: inline-flex; align-items: center; gap: 0.5rem; margin: 0;
  padding: 0.4rem 1rem; border-radius: 50rem;
  border: 1px solid rgb(255 255 255 / 0.25); background: rgb(255 255 255 / 0.1); backdrop-filter: blur(6px);
  font-size: 0.75rem; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase;
}
.hero-pill .dot { width: 0.5rem; height: 0.5rem; border-radius: 50%; background: var(--clay-400); }
.hero-title { font-size: clamp(2.25rem, 1.2rem + 4.8vw, 4.5rem); line-height: 1.06; margin: 1.75rem 0 0; }
.hero-title .accent { font-style: italic; color: var(--clay-300); }
.hero-lead { max-width: 36rem; margin: 1.75rem 0 0; font-size: 1.125rem; line-height: 1.7; color: rgb(255 255 255 / 0.8); }
.hero .carousel-item.active .slide-up { animation: slide-up 0.9s var(--ease) both; }

.hero-controls { position: absolute; left: 0; right: 0; bottom: 2rem; z-index: 3; }
.hero-count { font-family: var(--font-display); font-size: 1.5rem; font-variant-numeric: tabular-nums; }
.hero .carousel-indicators { position: static; margin: 0; justify-content: flex-start; }
.hero .carousel-indicators [data-bs-target] { width: 2.5rem; border-radius: 3px; background-color: #fff; opacity: 0.3; }
.hero .carousel-indicators .active { background-color: var(--clay-400); opacity: 1; }
@media (min-width: 576px) { .hero .carousel-indicators [data-bs-target] { width: 3.5rem; } }

@keyframes kenburns { from { transform: scale(1.02); } to { transform: scale(1.12); } }
@keyframes slide-up { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }

/* ---------------------------------------------------------------- page hero */
.page-hero { background: var(--forest-950); color: #fff; padding: 9rem 0 5rem; overflow: hidden; }
@media (min-width: 576px) { .page-hero { padding: 11rem 0 6rem; } }
.page-hero-bg { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; opacity: 0.45; }
.page-hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(to top, var(--forest-950), rgb(11 28 18 / 0.7), rgb(11 28 18 / 0.5));
}
.page-hero h1 { max-width: 56rem; font-size: clamp(2.25rem, 1.4rem + 3.6vw, 3.75rem); line-height: 1.08; }
.page-hero .lead { max-width: 42rem; color: rgb(255 255 255 / 0.8); font-size: 1.125rem; line-height: 1.7; }
.breadcrumb-light {
  --bs-breadcrumb-divider: "›";
  --bs-breadcrumb-divider-color: rgb(255 255 255 / 0.5);
  --bs-breadcrumb-item-active-color: #fff;
  font-size: 0.875rem;
}
.breadcrumb-light a { color: rgb(255 255 255 / 0.7); }
.breadcrumb-light a:hover { color: #fff; }
.hero-chip {
  display: inline-flex; align-items: center; gap: 0.25rem;
  padding: 0.5rem 1rem; border-radius: 50rem; border: 1px solid rgb(255 255 255 / 0.25);
  font-size: 0.875rem; color: rgb(255 255 255 / 0.9); transition: all 0.2s;
}
.hero-chip:hover { background: #fff; color: var(--forest-900); }

/* ---------------------------------------------------------------- cards */
.surface { background: #fff; border-radius: 1.5rem; box-shadow: var(--shadow-soft); border: 1px solid rgb(20 48 31 / 0.05); }
.lift { transition: transform 0.5s, box-shadow 0.5s; }
.lift:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); }
.glass-card { padding: 1.5rem; border-radius: 1.5rem; border: 1px solid rgb(255 255 255 / 0.1); background: rgb(255 255 255 / 0.05); }
.stat-tile { padding: 1.25rem; border-radius: 1.25rem; background: var(--sand); border: 1px solid rgb(20 48 31 / 0.05); }
.outline-card { padding: 2rem; border-radius: 1.5rem; border: 1px solid rgb(20 48 31 / 0.1); }
.dark-panel { height: 100%; padding: 2.5rem; border-radius: 1.5rem; background: var(--forest-950); color: #fff; box-shadow: var(--shadow-lift); }
.form-card { padding: 1.75rem; border-radius: 2rem; background: #fff; box-shadow: var(--shadow-lift); }
@media (min-width: 576px) { .form-card { padding: 2.5rem; } }

.stat-lg, .stat-md, .stat-sm { font-family: var(--font-display); font-weight: 600; line-height: 1; letter-spacing: -0.02em; }
.stat-lg { font-size: clamp(2.75rem, 2rem + 2.5vw, 3.75rem); }
.stat-md { font-size: 2.25rem; }
.stat-sm { font-size: 1.875rem; }

.icon-box {
  display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0;
  width: 3rem; height: 3rem; border-radius: 1rem;
  background: var(--forest-900); color: var(--clay-300); font-size: 1.35rem;
}
.icon-box-clay { background: var(--clay-500); color: #fff; }
.icon-box-soft { width: 2.75rem; height: 2.75rem; border-radius: 0.75rem; background: var(--forest-100); color: var(--forest-800); font-size: 1.15rem; }

.img-rounded { display: block; width: 100%; object-fit: cover; border-radius: 1.5rem; }
.img-rounded-lg { border-radius: 2rem; }
.img-cover { display: block; width: 100%; height: 100%; object-fit: cover; }
.shadow-soft { box-shadow: var(--shadow-soft); }
.shadow-lift { box-shadow: var(--shadow-lift); }
.zoom { overflow: hidden; }
.zoom img { transition: transform 0.7s; }
.zoom:hover img { transform: scale(1.05); }

/* Project card */
.project-card { display: flex; flex-direction: column; height: 100%; overflow: hidden; }
.project-card-media { position: relative; display: block; }
.project-card-media img { display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.project-card-media .badge { position: absolute; top: 1rem; padding: 0.4rem 0.75rem; font-size: 0.7rem; font-weight: 600; letter-spacing: 0.04em; }
.badge-light { left: 1rem; background: rgb(255 255 255 / 0.95); color: var(--forest-800); text-transform: uppercase; }
.badge-status { right: 1rem; color: #fff; }
.project-card-body { display: flex; flex-direction: column; flex: 1; padding: 1.5rem; }
@media (min-width: 576px) { .project-card-body { padding: 2rem; } }
@media (min-width: 992px) {
  .project-card.featured { flex-direction: row; }
  .project-card.featured .project-card-media { width: 50%; flex-shrink: 0; }
  .project-card.featured .project-card-media img { height: 100%; aspect-ratio: auto; }
  .project-card.featured .project-card-body { padding: 2.5rem; }
}

/* Home */
.about-collage { position: relative; }
.about-main { display: block; width: 100%; aspect-ratio: 4 / 4.2; object-fit: cover; border-radius: 2rem; box-shadow: var(--shadow-lift); }
.about-inset {
  position: absolute; right: -1rem; bottom: -2rem; width: 40%; aspect-ratio: 4 / 3; object-fit: cover;
  border: 8px solid #fff; border-radius: 1rem; box-shadow: var(--shadow-lift);
}
.about-badge { position: absolute; top: 2rem; left: -0.75rem; padding: 1rem 1.25rem; border-radius: 1rem; background: var(--clay-500); color: #fff; box-shadow: var(--shadow-lift); }
.about-badge .small { letter-spacing: 0.08em; color: rgb(255 255 255 / 0.85); }
@media (min-width: 992px) { .about-inset { right: -2.5rem; } .about-badge { left: -1.5rem; } }

.focus-card { position: relative; isolation: isolate; display: flex; flex-direction: column; justify-content: flex-end; min-height: 22rem; height: 100%; border-radius: 1.5rem; color: #fff; }
.focus-card:hover { color: #fff; }
.focus-card > img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.focus-card::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, var(--forest-950), rgb(11 28 18 / 0.6), rgb(11 28 18 / 0.1)); }
.focus-card-body { padding: 2rem; max-width: 30rem; }

.story-card { overflow: hidden; border-radius: 1.5rem; background: var(--forest-900); color: #fff; }
.story-card img { display: block; width: 100%; object-fit: cover; opacity: 0.9; }

.strip-photo { position: relative; display: block; border-radius: 0.75rem; }
.strip-photo img { display: block; width: 100%; aspect-ratio: 3 / 4; object-fit: cover; }
.strip-photo:hover img { transform: scale(1.1); }

.cta-band { overflow: hidden; padding: 3.5rem 2rem; border-radius: 2rem; background: var(--forest-900); color: #fff; }
@media (min-width: 576px) { .cta-band { padding: 5rem 3.5rem; } }
.cta-band-bg { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; opacity: 0.3; }
.cta-band::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to right, var(--forest-950), rgb(20 48 31 / 0.9), rgb(20 48 31 / 0.4)); }
.cta-title { font-size: clamp(1.875rem, 1.2rem + 2.6vw, 3rem); line-height: 1.15; }

/* About */
.quote-tile { display: flex; flex-direction: column; justify-content: space-between; height: 100%; aspect-ratio: 1; padding: 1.5rem; border-radius: 1.5rem; background: var(--clay-500); color: #fff; }
.region-card { overflow: hidden; border-radius: 1.5rem; background: var(--sand); border: 1px solid rgb(20 48 31 / 0.05); }
.region-card img { display: block; width: 100%; object-fit: cover; }
.place-chip { display: inline-flex; align-items: center; gap: 0.35rem; padding: 0.35rem 0.75rem; border-radius: 50rem; background: #fff; font-size: 0.875rem; font-weight: 500; color: var(--forest-900); box-shadow: 0 1px 2px rgb(0 0 0 / 0.06); }

/* Programmes */
.float-icon {
  position: absolute; left: 1.5rem; bottom: -1.25rem;
  display: inline-flex; align-items: center; justify-content: center;
  width: 4rem; height: 4rem; border-radius: 1rem;
  background: var(--clay-500); color: #fff; font-size: 1.75rem; box-shadow: var(--shadow-lift);
}
.check-list li { display: flex; align-items: flex-start; gap: 0.75rem; margin-bottom: 0.75rem; color: rgb(27 31 28 / 0.8); }
.check-list .check {
  display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0;
  width: 1.25rem; height: 1.25rem; margin-top: 0.2rem; border-radius: 50%;
  background: var(--forest-900); color: #fff; font-size: 0.7rem;
}
.soft-pill {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.75rem 1.25rem; border-radius: 50rem;
  background: var(--forest-50); color: var(--forest-900); font-size: 0.875rem; font-weight: 600; transition: all 0.2s;
}
.soft-pill:hover { background: var(--forest-900); color: #fff; }

/* Project detail */
.toc { position: sticky; top: 7rem; }
.toc .nav { border-left: 1px solid rgb(20 48 31 / 0.15); }
.toc .nav-link {
  margin-left: -1px; padding: 0.4rem 0.5rem 0.4rem 1rem;
  border-left: 2px solid transparent; font-size: 0.875rem; line-height: 1.35; color: rgb(27 31 28 / 0.6);
}
.toc .nav-link:hover { color: var(--forest-900); }
.toc .nav-link.active { border-left-color: var(--clay-500); color: var(--forest-950); font-weight: 600; }
.chapter { margin-bottom: 5rem; }
.chapter-body { font-size: 1.0625rem; line-height: 1.7; color: rgb(27 31 28 / 0.75); }
.highlight-card { padding: 1.5rem; border-radius: 1.5rem; background: var(--clay-500); color: #fff; box-shadow: var(--shadow-soft); }
.photo-caption { margin: 1rem 0 0; padding-left: 1rem; border-left: 2px solid var(--clay-400); font-size: 0.875rem; font-style: italic; color: rgb(27 31 28 / 0.65); }
.story-panel { overflow: hidden; border-radius: 2rem; background: var(--forest-900); color: #fff; box-shadow: var(--shadow-lift); }
.story-pull { margin: 1.5rem 0 0; padding-left: 1.25rem; border-left: 4px solid var(--clay-400); font-family: var(--font-display); font-size: 1.4rem; line-height: 1.35; color: var(--clay-100); }
.next-project {
  display: flex; flex-direction: column; gap: 1.5rem; align-items: flex-start; justify-content: space-between;
  padding: 2rem 2.5rem; border-radius: 1.5rem; background: var(--sand); color: var(--forest-950); transition: background 0.3s;
}
.next-project:hover { background: var(--forest-900); color: #fff; }
.next-project:hover .footer-title { color: var(--clay-300) !important; }
.next-project-arrow {
  display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0;
  width: 3.5rem; height: 3.5rem; border-radius: 50%; background: var(--forest-900); color: #fff; font-size: 1.4rem; transition: background 0.3s;
}
.next-project:hover .next-project-arrow { background: var(--clay-500); }
@media (min-width: 576px) { .next-project { flex-direction: row; align-items: center; } }

/* Photo tiles, gallery and lightbox */
.photo-tile {
  position: relative; display: block; width: 100%; height: 100%; padding: 0; overflow: hidden;
  border: 0; border-radius: 1rem; background: var(--forest-100); text-align: left;
}
.photo-tile img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s; }
.photo-tile:hover img { transform: scale(1.05); }
.photo-tile-icon {
  position: absolute; right: 0.75rem; bottom: 0.75rem;
  display: inline-flex; align-items: center; justify-content: center;
  width: 2.25rem; height: 2.25rem; border-radius: 50%;
  background: rgb(255 255 255 / 0.9); color: var(--forest-900); opacity: 0; transition: opacity 0.3s;
}
.photo-tile-icon.top { top: 0.75rem; bottom: auto; }
.photo-tile-caption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 3rem 1rem 1rem;
  background: linear-gradient(to top, rgb(11 28 18 / 0.9), transparent);
  font-size: 0.75rem; line-height: 1.4; color: #fff;
  opacity: 0; transform: translateY(0.5rem); transition: all 0.3s;
}
.photo-tile:hover .photo-tile-icon, .photo-tile:focus-visible .photo-tile-icon,
.photo-tile:hover .photo-tile-caption, .photo-tile:focus-visible .photo-tile-caption { opacity: 1; transform: none; }

.masonry { column-count: 1; column-gap: 1rem; }
.masonry-item { break-inside: avoid; margin-bottom: 1rem; }
@media (min-width: 576px) { .masonry { column-count: 2; } }
@media (min-width: 992px) { .masonry { column-count: 3; } }

.lightbox .modal-content { background: rgb(11 28 18 / 0.96); color: #fff; border: 0; border-radius: 0; }
.lightbox-stage { position: relative; display: flex; flex: 1; min-height: 0; align-items: center; justify-content: center; padding: 0 1rem; }
.lightbox-img { max-width: 100%; max-height: calc(100vh - 11rem); object-fit: contain; border-radius: 0.5rem; box-shadow: 0 25px 50px -12px rgb(0 0 0 / 0.5); }
.lightbox-prev, .lightbox-next { position: absolute; top: 50%; transform: translateY(-50%); width: 3rem; height: 3rem; }
.lightbox-prev { left: 0.5rem; }
.lightbox-next { right: 0.5rem; }
@media (min-width: 576px) {
  .lightbox-stage { padding: 0 5rem; }
  .lightbox-prev { left: 1.5rem; }
  .lightbox-next { right: 1.5rem; }
}
.lightbox-caption { max-width: 48rem; margin: 0 auto; padding: 1.25rem 1.5rem; text-align: center; line-height: 1.6; color: rgb(255 255 255 / 0.85); }

/* Impact */
.gender-bar { height: 1rem; border-radius: 50rem; background: var(--forest-100); }

/* Get involved */
.help-card { display: flex; flex-direction: column; padding: 1.75rem; border-radius: 1.5rem; background: var(--sand); border: 1px solid rgb(20 48 31 / 0.05); transition: all 0.3s; }
.help-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-soft); }
.form-label { font-size: 0.875rem; font-weight: 600; color: var(--forest-950); }
.form-control, .form-select { padding: 0.75rem 1rem; border-radius: 0.75rem; border-color: rgb(20 48 31 / 0.15); }
.form-control:focus, .form-select:focus { border-color: var(--clay-500); box-shadow: 0 0 0 0.25rem rgb(223 100 33 / 0.15); }
.sent-icon { display: inline-flex; align-items: center; justify-content: center; width: 4rem; height: 4rem; border-radius: 50%; background: var(--forest-100); color: var(--forest-700); font-size: 2rem; }

/* Footer */
.site-footer { overflow: hidden; background: var(--forest-950); color: #fff; }
.site-footer .footer-title { margin-bottom: 1.25rem; color: rgb(255 255 255 / 0.5); }
.footer-links li { margin-bottom: 0.75rem; font-size: 0.875rem; color: rgb(255 255 255 / 0.8); }
.footer-links a { color: rgb(255 255 255 / 0.8); transition: color 0.2s; }
.footer-links a:hover { color: var(--clay-300); }
.funder-chip { padding: 0.5rem 1rem; border-radius: 50rem; border: 1px solid rgb(255 255 255 / 0.15); font-size: 0.875rem; color: rgb(255 255 255 / 0.8); }

/* 404 */
.not-found { display: flex; align-items: center; min-height: 80vh; padding: 8rem 0 4rem; }

/* ---------------------------------------------------------------- scroll reveal */
.js .reveal {
  opacity: 0; transform: translateY(28px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
  transition-delay: var(--reveal-delay, 0ms);
}
.js .reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .hero .carousel-item.active .hero-bg,
  .hero .carousel-item.active .slide-up { animation: none; }
}
