:root {
  --teal: #0b6b61;
  --teal-dark: #07554e;
  --teal-deep: #06483f;
  --coral: #ef8e70;
  --gold: #d39c2f;
  --cream: #fff9ef;
  --mint: #eaf5ef;
  --sky: #eaf4fb;
  --peach: #fff0e9;
  --sand: #fff5dc;
  --ink: #15342f;
  --body: #40544f;
  --line: #dce7e3;
  --white: #ffffff;
  --shadow: 0 14px 35px rgba(18, 68, 59, 0.10);
  --serif: "Playfair Display", Georgia, serif;
  --sans: "DM Sans", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--body);
  background:
    radial-gradient(circle at 10% 18%, rgba(223, 241, 231, 0.36), transparent 26rem),
    #fff;
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  overflow-x: hidden;
}

img,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea,
select {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

.skip-link {
  position: fixed;
  left: 1rem;
  top: -5rem;
  z-index: 9999;
  padding: .8rem 1.1rem;
  border-radius: .45rem;
  color: #fff;
  background: var(--teal-dark);
}

.skip-link:focus {
  top: 1rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, .96);
  border-bottom: 1px solid rgba(15, 107, 97, .12);
  box-shadow: 0 6px 20px rgba(34, 76, 67, .06);
  backdrop-filter: blur(14px);
}

.nav-shell {
  width: min(1480px, calc(100% - 48px));
  min-height: 92px;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: .85rem;
  flex: 0 0 auto;
}

.brand img {
  width: 76px;
  height: 70px;
  object-fit: contain;
  border-radius: 50%;
}

.brand-copy {
  display: grid;
  line-height: 1.05;
}

.brand-copy strong {
  color: var(--teal-dark);
  font-size: 1.65rem;
  letter-spacing: .06em;
}

.brand-copy small {
  margin-top: .18rem;
  color: #2f4d47;
  font-size: .66rem;
  font-weight: 700;
  letter-spacing: .035em;
  text-transform: uppercase;
}

.brand-copy em {
  margin-top: .32rem;
  color: var(--teal-dark);
  font-style: normal;
  font-size: .88rem;
  font-weight: 800;
  letter-spacing: .05em;
  text-transform: uppercase;
}

.primary-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(.65rem, 1.4vw, 1.65rem);
  color: #1f3531;
  font-size: .94rem;
  font-weight: 600;
}

.primary-nav > a:not(.donate-button) {
  position: relative;
  padding: 2rem 0 1.85rem;
}

.primary-nav > a:not(.donate-button)::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: 1.2rem;
  height: 2px;
  border-radius: 2px;
  background: var(--teal);
  transition: right .25s ease;
}

.primary-nav > a:hover::after,
.primary-nav > a.active::after {
  right: 0;
}

.donate-button {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  padding: .78rem 1.2rem;
  border-radius: .3rem;
  color: white;
  background: linear-gradient(135deg, var(--teal), var(--teal-dark));
  box-shadow: 0 10px 25px rgba(11, 107, 97, .2);
  text-transform: uppercase;
  letter-spacing: .04em;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: .6rem;
  background: white;
}

.menu-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  margin: 5px 0;
  background: var(--teal-dark);
}

.hero {
  position: relative;
  min-height: 610px;
  overflow: hidden;
  isolation: isolate;
  background: var(--cream);
}

.hero-media,
.hero-media img,
.hero-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-media img {
  object-fit: cover;
  object-position: 65% center;
  transition: opacity .45s ease, transform 1.2s ease;
}

.hero-media.is-changing img {
  opacity: .15;
  transform: scale(1.03);
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(255, 249, 237, .99) 0%, rgba(255, 249, 237, .96) 30%, rgba(255, 249, 237, .70) 48%, rgba(255, 249, 237, .12) 73%, rgba(4, 37, 31, .18) 100%),
    linear-gradient(180deg, rgba(9, 72, 64, .02), rgba(9, 72, 64, .2));
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(1480px, calc(100% - 48px));
  min-height: 610px;
  margin: auto;
  padding: 70px 0 86px 6.5%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero-kicker {
  margin: 0 0 .9rem;
  color: var(--teal);
  font-size: .74rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 720px;
  margin: 0;
  color: var(--teal-dark);
  font-family: var(--serif);
  font-size: clamp(3rem, 5.2vw, 5.45rem);
  line-height: .98;
  letter-spacing: -.03em;
  text-shadow: 0 2px 0 rgba(255,255,255,.28);
}

.hero h1 span {
  color: var(--coral);
}

.hero-content > p:not(.hero-kicker) {
  max-width: 615px;
  margin: 1.45rem 0 0;
  color: #324b46;
  font-size: 1.05rem;
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 2rem;
  flex-wrap: wrap;
}

.button {
  min-height: 48px;
  padding: .8rem 1.5rem;
  border: 1px solid transparent;
  border-radius: .38rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .65rem;
  font-weight: 800;
  letter-spacing: .02em;
  text-transform: uppercase;
  transition: transform .22s ease, box-shadow .22s ease, background .22s ease;
  cursor: pointer;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  color: white;
  background: linear-gradient(135deg, var(--teal), var(--teal-dark));
  box-shadow: 0 12px 28px rgba(11, 107, 97, .22);
}

.button-outline {
  color: var(--teal-dark);
  border-color: var(--teal);
  background: rgba(255, 255, 255, .64);
  backdrop-filter: blur(5px);
}

.slide-arrow {
  position: absolute;
  z-index: 3;
  top: 50%;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(11, 107, 97, .24);
  border-radius: 50%;
  color: var(--teal-dark);
  background: rgba(255,255,255,.9);
  box-shadow: 0 8px 22px rgba(26, 65, 58, .14);
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
  transform: translateY(-50%);
}

.slide-arrow.prev { left: 1.3rem; }
.slide-arrow.next { right: 1.3rem; }

.hero-pagination {
  position: absolute;
  z-index: 3;
  left: 50%;
  bottom: 18px;
  min-width: 245px;
  padding: .65rem 1rem;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .85rem;
  color: var(--teal-dark);
  background: rgba(255,255,255,.92);
  box-shadow: 0 10px 26px rgba(26, 65, 58, .12);
  transform: translateX(-50%);
}

.slide-dots {
  display: flex;
  gap: .6rem;
}

.slide-dot {
  width: 10px;
  height: 10px;
  padding: 0;
  border: 1px solid #8caea7;
  border-radius: 50%;
  background: white;
  cursor: pointer;
}

.slide-dot.active {
  border-color: var(--teal);
  background: var(--teal);
  transform: scale(1.15);
}

.hero-pagination span {
  min-width: 42px;
  font-size: .82rem;
  font-weight: 800;
}

.section-pad {
  width: min(1480px, calc(100% - 48px));
  margin: auto;
  padding: 36px 0;
}

.intro {
  padding-top: 16px;
}

.intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.intro-card {
  min-height: 250px;
  padding: 2rem 2.2rem;
  border: 1px solid rgba(14, 110, 98, .1);
  border-radius: .75rem;
  display: grid;
  grid-template-columns: 82px 1fr;
  gap: 1.35rem;
  background: linear-gradient(120deg, #f6fbf9, #fff);
  box-shadow: 0 8px 24px rgba(29, 68, 60, .06);
}

.vision-card {
  background: linear-gradient(120deg, #fff8f1, #fff3ec);
}

.round-icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: linear-gradient(145deg, #65afa3, var(--teal-dark));
  box-shadow: inset 0 0 0 7px rgba(255,255,255,.45);
}

.round-icon svg {
  width: 36px;
  fill: white;
}

.intro-card h2,
.section-heading h2,
.location-card h2,
.contact-copy h2 {
  margin: 0;
  color: #143a34;
  font-family: var(--serif);
  font-size: clamp(1.65rem, 2.3vw, 2.55rem);
  line-height: 1.15;
}

.intro-card p {
  margin: .9rem 0 0;
}

.programs {
  padding-top: 10px;
  padding-bottom: 34px;
}

.section-heading {
  margin-bottom: 1.4rem;
  text-align: center;
}

.section-heading .eyebrow {
  margin: 0 0 .15rem;
}

.section-heading h2 {
  display: inline-block;
}

.eyebrow {
  margin: 0;
  color: var(--teal);
  font-size: .8rem;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.heading-mark {
  display: block;
  color: var(--teal);
  font-family: var(--serif);
  font-size: 1.5rem;
  line-height: 1;
}

.programme-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.15rem;
}

.programme-card {
  min-height: 270px;
  padding: 1.35rem 1.1rem 1.45rem;
  border: 1px solid var(--line);
  border-bottom-width: 4px;
  border-radius: .65rem;
  text-align: center;
  background: white;
  box-shadow: 0 8px 22px rgba(23, 67, 58, .05);
  transition: transform .22s ease, box-shadow .22s ease;
}

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

.programme-card.green { border-bottom-color: #55a889; }
.programme-card.blue { border-bottom-color: #5b9fd5; }
.programme-card.coral { border-bottom-color: var(--coral); }
.programme-card.gold { border-bottom-color: #dca53a; }

.programme-icon {
  width: 88px;
  height: 88px;
  margin: 0 auto 1rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #e5f3eb;
}

.programme-card.blue .programme-icon { background: #e4f0fa; }
.programme-card.coral .programme-icon { background: #fde5dc; }
.programme-card.gold .programme-icon { background: #fff0cc; }

.programme-icon svg {
  width: 50px;
  fill: var(--teal);
}

.programme-card.blue svg { fill: #307aaf; }
.programme-card.coral svg { fill: #db7356; }
.programme-card.coral svg .cut { fill: white; }
.programme-card.gold svg { fill: #b77911; }

.programme-card h3 {
  min-height: 2.8rem;
  margin: 0;
  color: #173d36;
  font-family: var(--serif);
  font-size: 1.2rem;
  line-height: 1.15;
}

.programme-card p {
  margin: .75rem 0 0;
  font-size: .92rem;
  line-height: 1.55;
}

.reach-section {
  padding-top: 12px;
  padding-bottom: 36px;
}

.reach-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.3fr);
  gap: 1rem;
}

.location-card {
  min-height: 340px;
  padding: 1.45rem;
  border: 1px solid rgba(14, 110, 98, .1);
  border-radius: .7rem;
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: 1.2rem;
  overflow: hidden;
  background: linear-gradient(130deg, #eef8f3, #fffaf0);
}

.location-copy {
  position: relative;
  z-index: 2;
}

.location-card p {
  margin: .6rem 0 0;
  font-size: .94rem;
}

.location-card ul {
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: .65rem;
  color: #245249;
  font-weight: 700;
}

.pin {
  margin-right: .45rem;
  font-size: 1.2rem;
}

.green-pin { color: #2b9b67; }
.blue-pin { color: #438dbe; }
.coral-pin { color: #ee856b; }

.map-wrap {
  position: relative;
  min-height: 285px;
  display: grid;
  place-items: center;
}

.map-wrap::before {
  content: "";
  position: absolute;
  width: 78%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: rgba(255,255,255,.52);
  filter: blur(2px);
}

.map-wrap img {
  position: relative;
  width: 88%;
  height: 285px;
  object-fit: contain;
  opacity: .38;
  filter: sepia(.15) saturate(.8) hue-rotate(75deg);
}

.map-marker {
  position: absolute;
  display: flex;
  align-items: center;
  gap: .4rem;
  color: #173d36;
  font-size: .72rem;
  font-weight: 800;
  white-space: nowrap;
}

.map-marker b {
  width: 16px;
  height: 16px;
  border: 4px solid white;
  border-radius: 50% 50% 50% 0;
  box-shadow: 0 3px 8px rgba(20, 60, 52, .22);
  transform: rotate(-45deg);
}

.map-marker em {
  padding: .16rem .35rem;
  border-radius: .3rem;
  font-style: normal;
  background: rgba(255,255,255,.8);
}

.map-marker.nashik { left: 31%; top: 23%; }
.map-marker.nashik b { background: #2e9b69; }

.map-marker.sambhaji { left: 54%; top: 42%; }
.map-marker.sambhaji b { background: #438dbe; }

.map-marker.pune { left: 35%; top: 62%; }
.map-marker.pune b { background: #ee856b; }

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

.stat-card {
  min-height: 340px;
  padding: 1.2rem .85rem;
  border-radius: .6rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.stat-card.mint { background: #eef8f3; }
.stat-card.sky { background: #eef7fd; }
.stat-card.peach { background: #fff2eb; }
.stat-card.sand { background: #fff7e3; }

.stat-icon {
  width: 78px;
  height: 78px;
  margin-bottom: .75rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--teal);
  background: rgba(255,255,255,.7);
  box-shadow: inset 0 0 0 8px rgba(62, 151, 126, .08);
  font-size: 2rem;
}

.stat-card strong {
  color: var(--teal-dark);
  font-family: var(--serif);
  font-size: 2.5rem;
  line-height: 1;
}

.stat-card h3 {
  margin: .65rem 0 0;
  color: #193e37;
  font-size: .96rem;
}

.stat-card p {
  margin: .55rem 0 0;
  font-size: .78rem;
  line-height: 1.45;
}

.gallery-section {
  padding-top: 8px;
  padding-bottom: 30px;
}

.gallery-track {
  display: grid;
  grid-template-columns: repeat(10, minmax(115px, 1fr));
  gap: .55rem;
  overflow-x: auto;
  padding: .35rem .1rem .8rem;
  scrollbar-width: thin;
  scrollbar-color: #b6d2cb transparent;
}

.gallery-item {
  position: relative;
  min-width: 115px;
  aspect-ratio: .85;
  padding: 0;
  border: 0;
  border-radius: .55rem;
  overflow: hidden;
  background: #eee;
  box-shadow: 0 8px 18px rgba(23, 67, 58, .12);
  cursor: pointer;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
}

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

.gallery-item span {
  position: absolute;
  left: .45rem;
  bottom: .45rem;
  width: 24px;
  height: 24px;
  border: 2px solid white;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: white;
  background: var(--teal);
  font-size: .72rem;
  font-weight: 800;
}

.gallery-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  color: var(--teal-dark);
  font-size: .78rem;
  font-weight: 800;
}

.gallery-pagination i {
  width: 9px;
  height: 9px;
  border: 1px solid #8daaa4;
  border-radius: 50%;
}

.gallery-pagination i.active {
  background: var(--teal);
  border-color: var(--teal);
}

.contact-section {
  padding-top: 12px;
  padding-bottom: 18px;
}

.contact-grid {
  padding: 2rem 2.2rem;
  border-radius: .8rem;
  display: grid;
  grid-template-columns: .75fr 1.45fr;
  gap: 2.8rem;
  background: linear-gradient(120deg, #f5faf8, #fff);
  box-shadow: 0 8px 28px rgba(23, 67, 58, .07);
}

.contact-copy > p {
  max-width: 430px;
  margin: .65rem 0 0;
}

.contact-lines {
  margin-top: 1.25rem;
  display: grid;
  gap: .45rem;
  color: var(--teal-dark);
  font-weight: 700;
}

.contact-lines a,
.contact-lines p {
  margin: 0;
  display: flex;
  gap: .65rem;
  align-items: center;
}

.privacy-note {
  margin-top: 1.25rem;
  padding: .8rem 1rem;
  border-radius: .55rem;
  display: flex;
  gap: .75rem;
  background: #e8f3ed;
  font-size: .78rem;
}

.privacy-note p {
  margin: 0;
}

.contact-form {
  display: grid;
  gap: .8rem;
}

.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .8rem;
}

.contact-form label {
  display: grid;
  gap: .35rem;
}

.contact-form label span {
  color: #34534d;
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.contact-form input,
.contact-form textarea,
.contact-form select {
  width: 100%;
  border: 1px solid #cfded9;
  border-radius: .35rem;
  padding: .82rem .9rem;
  color: #1d3b35;
  background: rgba(255,255,255,.82);
  outline: none;
  transition: border .2s ease, box-shadow .2s ease;
}

.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(11, 107, 97, .1);
}

.contact-form textarea {
  resize: vertical;
}

.submit-button {
  width: max-content;
  min-width: 175px;
  border: 0;
}

.form-status {
  min-height: 1.25rem;
  margin: 0;
  color: var(--teal-dark);
  font-size: .82rem;
  font-weight: 700;
}

.site-footer {
  margin-top: 8px;
  color: rgba(255,255,255,.92);
  background:
    radial-gradient(circle at 85% 20%, rgba(255,255,255,.08), transparent 18rem),
    linear-gradient(130deg, #0b7669, #07584f 60%, #06483f);
}

.footer-grid {
  width: min(1480px, calc(100% - 48px));
  margin: auto;
  padding: 2.1rem 0 1.7rem;
  display: grid;
  grid-template-columns: 1.25fr .7fr 1fr .9fr;
  gap: 2.2rem;
}

.footer-grid > div:not(:first-child) {
  padding-left: 2rem;
  border-left: 1px solid rgba(255,255,255,.25);
}

.footer-logo-line {
  display: flex;
  align-items: center;
  gap: .85rem;
}

.footer-logo-line img {
  width: 86px;
  height: 78px;
  object-fit: contain;
  border-radius: 50%;
}

.footer-logo-line div {
  display: grid;
  line-height: 1.05;
}

.footer-logo-line strong {
  font-size: 2rem;
  letter-spacing: .07em;
}

.footer-logo-line span {
  margin-top: .25rem;
  font-size: .65rem;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.footer-logo-line em {
  margin-top: .35rem;
  font-style: normal;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.footer-brand p {
  max-width: 380px;
  margin: .8rem 0;
  line-height: 1.5;
}

.footer-brand small {
  color: rgba(255,255,255,.72);
}

.footer-column {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: .35rem;
}

.footer-column h3 {
  margin: 0 0 .5rem;
  color: white;
  font-size: 1rem;
}

.footer-column a,
.footer-column span {
  font-size: .86rem;
}

.footer-column a:hover {
  text-decoration: underline;
}

.follow-title {
  margin-top: 1rem !important;
}

.socials {
  display: flex;
  gap: .55rem;
}

.socials a {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--teal-dark);
  background: white;
  font-weight: 800;
}

.footer-quote {
  margin-top: 2.2rem;
  color: #fbe4c8;
  font-family: var(--serif);
  font-size: 1.1rem;
  font-style: italic;
  text-align: right;
}

.map-credit {
  padding: .7rem 1rem;
  color: rgba(255,255,255,.58);
  border-top: 1px solid rgba(255,255,255,.12);
  font-size: .65rem;
  text-align: center;
}

.lightbox[hidden] {
  display: none;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 2000;
  padding: 2rem;
  display: grid;
  place-items: center;
  background: rgba(2, 23, 20, .88);
}

.lightbox img {
  max-width: min(1000px, 92vw);
  max-height: 78vh;
  border-radius: .7rem;
  box-shadow: 0 24px 75px rgba(0,0,0,.35);
}

.lightbox p {
  margin: .8rem 0 0;
  color: white;
  font-weight: 700;
}

.lightbox button {
  position: absolute;
  top: 1.2rem;
  right: 1.4rem;
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 50%;
  color: var(--teal-dark);
  background: white;
  font-size: 2rem;
  cursor: pointer;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .65s ease, transform .65s ease;
}

.reveal.visible {
  opacity: 1;
  transform: none;
}



.topbar {
  color: #f7fffc;
  background: linear-gradient(90deg, var(--teal-dark), var(--teal), #0b7e72);
}

.topbar-inner {
  width: min(1480px, calc(100% - 48px));
  min-height: 42px;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-size: .82rem;
}

.topbar-inner p {
  margin: 0;
}

.topbar-inner a {
  padding: .4rem .8rem;
  border-radius: 999px;
  color: var(--teal-dark);
  background: rgba(255,255,255,.92);
  font-weight: 800;
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  z-index: 1;
  border-radius: 50%;
  pointer-events: none;
}

.hero::before {
  width: 360px;
  height: 360px;
  top: -110px;
  left: -100px;
  background: radial-gradient(circle, rgba(11,107,97,.15), rgba(11,107,97,0));
}

.hero::after {
  width: 280px;
  height: 280px;
  right: 120px;
  bottom: 30px;
  background: radial-gradient(circle, rgba(239,142,112,.14), rgba(239,142,112,0));
}

.hero-trustbar {
  display: flex;
  gap: .7rem;
  flex-wrap: wrap;
  margin-top: 1.3rem;
}

.hero-trustbar span {
  padding: .55rem .9rem;
  border: 1px solid rgba(11,107,97,.16);
  border-radius: 999px;
  color: #23433d;
  background: rgba(255,255,255,.72);
  backdrop-filter: blur(7px);
  font-size: .8rem;
  font-weight: 700;
  box-shadow: 0 10px 25px rgba(25,65,57,.08);
}

.hero-highlights {
  width: min(650px, 100%);
  margin-top: 1.45rem;
  padding: 1rem 1.1rem;
  border: 1px solid rgba(11,107,97,.12);
  border-radius: 1rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: .8rem;
  background: rgba(255,255,255,.76);
  backdrop-filter: blur(8px);
  box-shadow: 0 18px 38px rgba(20,64,57,.08);
}

.hero-highlights article {
  padding: .25rem .35rem;
}

.hero-highlights strong {
  display: block;
  color: var(--teal-dark);
  font-family: var(--serif);
  font-size: clamp(1.75rem, 2.3vw, 2.4rem);
  line-height: 1;
}

.hero-highlights span {
  display: block;
  margin-top: .35rem;
  color: #48605a;
  font-size: .84rem;
  line-height: 1.35;
}

.hero-floating-card {
  position: absolute;
  z-index: 2;
  right: clamp(28px, 6vw, 90px);
  bottom: 115px;
  width: min(360px, calc(100% - 48px));
  padding: 1.35rem 1.35rem 1.2rem;
  border: 1px solid rgba(255,255,255,.35);
  border-radius: 1.1rem;
  color: white;
  background: linear-gradient(145deg, rgba(7,85,78,.88), rgba(11,107,97,.82));
  box-shadow: 0 24px 60px rgba(5,48,43,.26);
  backdrop-filter: blur(8px);
}

.mini-eyebrow {
  margin: 0 0 .45rem;
  color: #c9f4e8;
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .11em;
  text-transform: uppercase;
}

.hero-floating-card h3,
.impact-card h2,
.cta-banner h2 {
  margin: 0;
  font-family: var(--serif);
  line-height: 1.15;
}

.hero-floating-card h3 {
  font-size: 1.55rem;
}

.hero-floating-card h3 span {
  color: #ffd8cc;
}

.hero-floating-card ul {
  margin: .9rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: .55rem;
}

.hero-floating-card li {
  position: relative;
  padding-left: 1.2rem;
  color: rgba(255,255,255,.94);
  font-size: .92rem;
}

.hero-floating-card li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #fcd6c9;
  font-weight: 800;
}

.impact-strip {
  padding-top: 4px;
  padding-bottom: 10px;
}

.impact-grid {
  display: grid;
  grid-template-columns: 1.2fr repeat(3, 1fr);
  gap: 1rem;
}

.impact-card,
.impact-mini {
  border: 1px solid rgba(14,110,98,.1);
  border-radius: 1rem;
  background: white;
  box-shadow: 0 15px 32px rgba(22,64,58,.06);
}

.impact-card {
  padding: 1.6rem 1.65rem;
  background: linear-gradient(135deg, #f1faf6, #fff6ef);
}

.impact-card h2 {
  color: #143a34;
  font-size: clamp(1.6rem, 2.3vw, 2.25rem);
}

.impact-card p:last-child {
  margin-bottom: 0;
}

.impact-mini {
  padding: 1.35rem 1.15rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.impact-mini strong {
  color: var(--teal-dark);
  font-family: var(--serif);
  font-size: 1.25rem;
}

.impact-mini p {
  margin: .55rem 0 0;
  font-size: .9rem;
  line-height: 1.55;
}

.programme-card,
.intro-card,
.location-card,
.stat-card,
.contact-grid,
.gallery-item {
  transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease;
}

.intro-card:hover,
.location-card:hover,
.stat-card:hover,
.gallery-item:hover,
.contact-grid:hover {
  transform: translateY(-5px);
  box-shadow: 0 18px 40px rgba(20,64,57,.1);
}

.stat-card strong {
  letter-spacing: -.03em;
}

.gallery-section {
  position: relative;
}

.gallery-section::before {
  content: "";
  position: absolute;
  inset: 50px 0 auto;
  height: 210px;
  background: linear-gradient(180deg, rgba(243,249,246,.9), rgba(243,249,246,0));
  z-index: -1;
}

.contact-grid {
  position: relative;
  overflow: hidden;
}

.contact-grid::after {
  content: "";
  position: absolute;
  right: -90px;
  top: -90px;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(11,107,97,.12), rgba(11,107,97,0));
}

.cta-banner-wrap {
  width: min(1480px, calc(100% - 48px));
  margin: 12px auto -18px;
  position: relative;
  z-index: 2;
}

.cta-banner {
  padding: 2rem 2.2rem;
  border-radius: 1.2rem;
  display: grid;
  grid-template-columns: 1.4fr .8fr;
  gap: 1.4rem;
  align-items: center;
  color: white;
  background: linear-gradient(135deg, #0b7b6f, #07584f 65%, #0b6b61);
  box-shadow: 0 26px 60px rgba(5,48,43,.22);
}

.cta-banner p:not(.mini-eyebrow) {
  margin: .75rem 0 0;
  color: rgba(255,255,255,.88);
}

.cta-actions {
  display: flex;
  gap: .85rem;
  justify-content: flex-end;
  flex-wrap: wrap;
}

.light-outline {
  color: white;
  border-color: rgba(255,255,255,.58);
  background: rgba(255,255,255,.08);
}

.floating-whatsapp {
  position: fixed;
  right: 20px;
  bottom: 22px;
  z-index: 1001;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: white;
  background: linear-gradient(135deg, #1bb86a, #0c8d53);
  box-shadow: 0 16px 36px rgba(13,105,62,.35);
  font-size: 1.6rem;
  font-weight: 800;
}

@media (max-width: 1180px) {
  .impact-grid {
    grid-template-columns: 1fr 1fr;
  }

  .hero-floating-card {
    width: 320px;
    right: 24px;
  }

  .nav-shell {
    width: min(100% - 32px, 1100px);
  }

  .primary-nav {
    gap: .85rem;
    font-size: .82rem;
  }

  .brand-copy small {
    display: none;
  }

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

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

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

  .stat-card {
    min-height: 260px;
  }
}

@media (max-width: 900px) {
  .topbar-inner {
    width: min(100% - 32px, 1100px);
    padding: .45rem 0;
    align-items: flex-start;
    flex-direction: column;
  }

  .hero-highlights,
  .impact-grid,
  .cta-banner {
    grid-template-columns: 1fr;
  }

  .hero-floating-card {
    position: static;
    width: min(100% - 48px, 1480px);
    margin: 0 auto 74px;
  }

  .cta-actions {
    justify-content: flex-start;
  }

  .nav-shell {
    min-height: 78px;
  }

  .brand img {
    width: 62px;
    height: 58px;
  }

  .brand-copy strong {
    font-size: 1.35rem;
  }

  .menu-toggle {
    display: block;
  }

  .primary-nav {
    position: absolute;
    left: 16px;
    right: 16px;
    top: calc(100% + 8px);
    padding: .85rem;
    border: 1px solid var(--line);
    border-radius: .75rem;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: .15rem;
    background: white;
    box-shadow: var(--shadow);
  }

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

  .primary-nav > a:not(.donate-button) {
    padding: .7rem .8rem;
    border-radius: .4rem;
  }

  .primary-nav > a:not(.donate-button)::after {
    display: none;
  }

  .primary-nav > a:hover,
  .primary-nav > a.active {
    color: var(--teal-dark);
    background: #edf7f3;
  }

  .donate-button {
    justify-content: center;
    margin-top: .35rem;
  }

  .hero,
  .hero-content {
    min-height: 590px;
  }

  .hero-content {
    padding-left: 4%;
  }

  .hero-shade {
    background:
      linear-gradient(90deg, rgba(255, 249, 237, .98) 0%, rgba(255, 249, 237, .88) 60%, rgba(255, 249, 237, .35) 100%),
      linear-gradient(180deg, rgba(255,255,255,0), rgba(4, 37, 31, .16));
  }

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

  .programme-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

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

  .footer-grid > div:not(:first-child) {
    padding-left: 0;
    border-left: 0;
  }
}

@media (max-width: 640px) {
  .topbar-inner,
  .cta-banner-wrap {
    width: min(100% - 28px, 100%);
  }

  body {
    font-size: 15px;
  }

  .nav-shell,
  .section-pad,
  .footer-grid,
  .hero-content {
    width: min(100% - 28px, 100%);
  }

  .brand-copy small {
    display: block;
    font-size: .53rem;
  }

  .brand-copy em {
    font-size: .75rem;
  }

  .hero {
    min-height: 660px;
  }

  .hero-content {
    min-height: 660px;
    padding: 70px 0 100px;
    justify-content: flex-end;
  }

  .hero-media img {
    object-position: 62% 20%;
  }

  .hero-shade {
    background:
      linear-gradient(0deg, rgba(255, 249, 237, 1) 0%, rgba(255, 249, 237, .98) 45%, rgba(255, 249, 237, .42) 78%, rgba(4,37,31,.06) 100%);
  }

  .hero h1 {
    font-size: clamp(2.65rem, 12vw, 4.1rem);
  }

  .hero-trustbar span {
    font-size: .74rem;
  }

  .hero-highlights {
    padding: .95rem;
  }

  .hero-floating-card {
    width: min(100% - 28px, 100%);
    margin-bottom: 62px;
    padding: 1.15rem;
  }

  .hero-content > p:not(.hero-kicker) {
    font-size: .94rem;
  }

  .slide-arrow {
    top: 31%;
    width: 38px;
    height: 38px;
  }

  .slide-arrow.prev { left: .55rem; }
  .slide-arrow.next { right: .55rem; }

  .hero-pagination {
    min-width: 220px;
    bottom: 14px;
  }

  .slide-dots {
    gap: .45rem;
  }

  .slide-dot {
    width: 8px;
    height: 8px;
  }

  .section-pad {
    padding: 26px 0;
  }

  .intro-card {
    grid-template-columns: 1fr;
    padding: 1.35rem;
  }

  .round-icon {
    width: 62px;
    height: 62px;
  }

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

  .programme-card {
    min-height: 230px;
  }

  .location-card {
    grid-template-columns: 1fr;
  }

  .map-wrap {
    min-height: 250px;
  }

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

  .stat-card {
    min-height: 220px;
  }

  .contact-grid {
    padding: 1.35rem;
  }

  .impact-card,
  .impact-mini,
  .cta-banner {
    padding: 1.25rem;
  }

  .field-row {
    grid-template-columns: 1fr;
  }

  .cta-banner h2 {
    font-size: 1.7rem;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    padding: 1.7rem 0;
  }

  .footer-quote {
    text-align: left;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    scroll-behavior: auto !important;
    transition: none !important;
    animation: none !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

/* =========================================================
   Premium glass hero upgrade
   ========================================================= */
.hero {
  min-height: clamp(650px, 76vh, 820px);
  background: #0a4f48;
}

.hero-media {
  overflow: hidden;
}

.hero-media::before,
.hero-media::after {
  content: "";
  position: absolute;
  z-index: 1;
  pointer-events: none;
}

.hero-media::before {
  inset: 0;
  background:
    radial-gradient(circle at 82% 18%, rgba(255, 255, 255, .20), transparent 22rem),
    radial-gradient(circle at 72% 76%, rgba(239, 142, 112, .16), transparent 28rem),
    linear-gradient(115deg, rgba(4, 48, 43, .18), rgba(4, 48, 43, .02) 55%, rgba(4, 48, 43, .32));
}

.hero-media::after {
  inset: 22px;
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 26px;
  box-shadow: inset 0 0 70px rgba(255, 255, 255, .06);
}

.hero-media img {
  object-position: center;
  filter: saturate(1.06) contrast(1.04) brightness(.92);
  transform: scale(1.015);
  transition: opacity .52s ease, transform 1.4s cubic-bezier(.2,.7,.2,1), filter .52s ease;
}

.hero-media.is-changing img {
  opacity: .18;
  transform: scale(1.075);
  filter: saturate(.85) contrast(1.02) brightness(.72) blur(2px);
}

.hero-shade {
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(3, 43, 39, .58) 0%, rgba(3, 43, 39, .35) 42%, rgba(3, 43, 39, .08) 70%, rgba(3, 43, 39, .32) 100%),
    linear-gradient(180deg, rgba(5, 53, 48, .04), rgba(5, 53, 48, .28));
}

.hero-content {
  min-height: clamp(650px, 76vh, 820px);
  padding: 78px 0 108px;
  justify-content: center;
}

.hero-glass-card {
  position: relative;
  width: min(690px, 54vw);
  padding: clamp(2rem, 4vw, 3.35rem);

  border: 1px solid rgba(255, 255, 255, 0.30);
  border-radius: 30px;
  overflow: hidden;

  /* More transparent glass background */

  box-shadow:
    0 32px 80px rgba(0, 36, 31, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.40);

  /* Lower blur makes the image more visible */
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(4px);
	-webkit-backdrop-filter: blur(4px);

  isolation: isolate;
}

.hero-glass-card::before {
  content: "";
  position: absolute;
  width: 250px;
  height: 250px;
  right: -110px;
  top: -125px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,.8), rgba(255,255,255,0) 68%);
  z-index: -1;
}

.hero-glass-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(110deg, rgba(255,255,255,.32), transparent 38%, rgba(255,255,255,.10));
  pointer-events: none;
}

.hero-glass-accent {
  position: absolute;
  left: 0;
  top: 2.5rem;
  bottom: 2.5rem;
  width: 5px;
  border-radius: 0 999px 999px 0;
  background: linear-gradient(180deg, var(--teal), var(--coral), var(--gold));
  box-shadow: 0 0 22px rgba(11, 107, 97, .28);
}

.hero-glass-card.is-updating > *:not(.hero-glass-accent) {
  animation: heroTextOut .22s ease both;
}

.hero-glass-card.is-ready > *:not(.hero-glass-accent) {
  animation: heroTextIn .52s cubic-bezier(.22,.8,.26,1) both;
}

@keyframes heroTextOut {
  to { opacity: 0; transform: translateY(8px); }
}

@keyframes heroTextIn {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  width: fit-content;
  margin-bottom: 1.15rem;
  padding: .42rem .78rem;
  border: 1px solid rgba(11, 107, 97, .17);
  border-radius: 999px;
  color: var(--teal-dark);
  background: rgba(255,255,255,.62);
  box-shadow: 0 8px 24px rgba(11,107,97,.08);
}

.hero-kicker::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--coral);
  box-shadow: 0 0 0 5px rgba(239, 142, 112, .14);
}

.hero h1 {
  max-width: 620px;
  color: #F5E6E6;
  font-size: clamp(3rem, 5vw, 5.55rem);
  line-height: .98;
  text-shadow: 0 2px 0 rgba(255,255,255,.55);
}

.hero h1 span {
  color: #c49432;
  background: linear-gradient(90deg, #c49432, #c49432);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-content > p:not(.hero-kicker),
.hero-glass-card > p:not(.hero-kicker) {
  max-width: 580px;
  color: #294841;
  font-size: 1.04rem;
  font-weight: 500;
}

.hero-actions {
  margin-top: 1.7rem;
}

.hero-actions .button {
  border-radius: 999px;
  min-height: 52px;
  padding-inline: 1.55rem;
}

.hero-actions .button-outline {
  border-color: rgba(11,107,97,.38);
  background: rgba(255,255,255,.58);
  box-shadow: 0 10px 28px rgba(15, 71, 62, .08);
}

.hero-impact-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: .65rem;
  margin-top: 1.55rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(11, 107, 97, .15);
}

.hero-impact-row span {
  display: flex;
  flex-direction: column;
  gap: .1rem;
  color: #DFF0F0;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .02em;
}

.hero-impact-row strong {
  color: #F5E4C9;
  font-family: var(--serif);
  font-size: 1.45rem;
  line-height: 1;
}

.slide-arrow {
  width: 54px;
  height: 54px;
  border-color: rgba(255,255,255,.62);
  color: white;
  background: rgba(255,255,255,.16);
  box-shadow: 0 18px 35px rgba(0,35,31,.24);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transition: transform .2s ease, background .2s ease, border-color .2s ease;
}

.slide-arrow:hover {
  background: rgba(255,255,255,.28);
  border-color: rgba(255,255,255,.9);
  transform: translateY(-50%) scale(1.06);
}

.hero-pagination {
  width: auto;
  max-width: min(760px, calc(100% - 120px));
  min-width: 0;
  padding: .58rem .72rem;
  border: 1px solid rgba(255,255,255,.58);
  background: rgba(255,255,255,.27);
  box-shadow: 0 18px 45px rgba(0,35,31,.22);
  backdrop-filter: blur(18px) saturate(150%);
  -webkit-backdrop-filter: blur(18px) saturate(150%);
}

.slide-dots {
  gap: .45rem;
  max-width: 640px;
  overflow-x: auto;
  padding: .12rem;
  scrollbar-width: none;
}

.slide-dots::-webkit-scrollbar { display: none; }

.slide-dot {
  position: relative;
  flex: 0 0 42px;
  width: 42px;
  height: 42px;
  border: 2px solid rgba(255,255,255,.66);
  border-radius: 12px;
  overflow: hidden;
  background-image: linear-gradient(rgba(4,55,49,.16), rgba(4,55,49,.16)), var(--thumb);
  background-position: center;
  background-size: cover;
  box-shadow: 0 6px 15px rgba(0,37,32,.16);
  opacity: .72;
  transform: none;
  transition: transform .2s ease, opacity .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.slide-dot:hover {
  opacity: 1;
  transform: translateY(-2px);
}

.slide-dot.active {
  border-color: white;
  background-image: var(--thumb);
  opacity: 1;
  transform: scale(1.12);
  box-shadow: 0 0 0 3px rgba(11,107,97,.56), 0 10px 20px rgba(0,37,32,.22);
}

.hero-pagination > span {
  min-width: 54px;
  padding: .38rem .52rem;
  border-radius: 999px;
  color: white;
  background: rgba(4,65,58,.62);
  text-align: center;
}

/* Slightly more premium cards throughout the page */
.intro-card,
.programme-card,
.location-card,
.contact-grid {
  border-color: rgba(11,107,97,.12);
  box-shadow: 0 18px 45px rgba(16,68,59,.08);
}

.programme-card {
  border-radius: 20px;
}

.programme-icon,
.round-icon,
.stat-icon {
  transition: transform .28s ease, box-shadow .28s ease;
}

.programme-card:hover .programme-icon,
.intro-card:hover .round-icon,
.stat-card:hover .stat-icon {
  transform: translateY(-4px) rotate(-2deg);
  box-shadow: 0 16px 35px rgba(11,107,97,.14);
}

.gallery-item {
  border-radius: 16px;
}

@media (max-width: 900px) {
  .hero-glass-card {
    width: min(680px, 88vw);
  }

  .hero-shade {
    background:
      linear-gradient(90deg, rgba(3,43,39,.48), rgba(3,43,39,.12)),
      linear-gradient(180deg, rgba(3,43,39,.04), rgba(3,43,39,.32));
  }
}

@media (max-width: 640px) {
  .hero,
  .hero-content {
    min-height: 760px;
  }

  .hero-content {
    padding: 98px 0 118px;
    justify-content: flex-end;
  }

  .hero-media img {
    object-position: 64% center;
  }

  .hero-shade {
    background:
      linear-gradient(0deg, rgba(4,48,43,.62) 0%, rgba(4,48,43,.08) 60%, rgba(4,48,43,.22) 100%);
  }

  .hero-glass-card {
    width: 100%;
    padding: 1.55rem 1.35rem;
    border-radius: 24px;
    background: linear-gradient(135deg, rgba(255,255,255,.89), rgba(255,250,242,.72));
    backdrop-filter: blur(18px) saturate(145%);
    -webkit-backdrop-filter: blur(18px) saturate(145%);
  }

  .hero h1 {
    font-size: clamp(2.55rem, 11vw, 4rem);
  }

  .hero-impact-row {
    gap: .35rem;
  }

  .hero-impact-row strong {
    font-size: 1.2rem;
  }

  .hero-impact-row span {
    font-size: .62rem;
  }

  .slide-arrow {
    top: 30%;
    width: 42px;
    height: 42px;
  }

  .hero-pagination {
    max-width: calc(100% - 28px);
    width: calc(100% - 28px);
    justify-content: space-between;
  }

  .slide-dots {
    gap: .48rem;
  }

  .slide-dot {
    flex-basis: 9px;
    width: 9px;
    height: 9px;
    border-width: 1px;
    border-radius: 50%;
    background-image: none;
    background: rgba(255,255,255,.48);
    box-shadow: none;
  }

  .slide-dot.active {
    background-image: none;
    background: white;
    box-shadow: 0 0 0 4px rgba(11,107,97,.45);
  }
}


/* ================================================================
   KUDOS COMPUTER VISION LAB PAGE
   ================================================================ */
.lab-page {
  --lab-ink: #0d2f2a;
  --lab-teal: #087568;
  --lab-cyan: #45c8bd;
  --lab-coral: #f08b70;
  --lab-gold: #e1ad42;
  background:
    radial-gradient(circle at 8% 9%, rgba(74, 196, 180, .12), transparent 25rem),
    radial-gradient(circle at 92% 28%, rgba(240, 139, 112, .10), transparent 24rem),
    #fbfdfc;
}

.lab-page .site-header {
  background: rgba(255, 255, 255, .9);
}

.lab-page .primary-nav {
  font-size: .88rem;
}

.lab-back-button {
  white-space: nowrap;
}

.lab-hero {
  position: relative;
  min-height: 760px;
  overflow: hidden;
  display: grid;
  align-items: center;
  color: white;
  background:
    linear-gradient(125deg, rgba(4, 52, 47, .99), rgba(6, 91, 82, .98) 50%, rgba(8, 116, 103, .93)),
    #07554e;
  isolation: isolate;
}

.lab-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -3;
  opacity: .17;
  background-image:
    linear-gradient(rgba(255,255,255,.12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.12) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(90deg, #000, transparent 75%);
}

.lab-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background: linear-gradient(90deg, rgba(4, 47, 42, .18), transparent 48%, rgba(2, 31, 28, .16));
}

.lab-hero-orb {
  position: absolute;
  z-index: -1;
  border-radius: 50%;
  filter: blur(6px);
  pointer-events: none;
}

.lab-orb-one {
  width: 440px;
  height: 440px;
  right: -100px;
  top: -150px;
  background: radial-gradient(circle, rgba(83, 222, 207, .3), transparent 66%);
}

.lab-orb-two {
  width: 340px;
  height: 340px;
  left: 35%;
  bottom: -230px;
  background: radial-gradient(circle, rgba(240, 139, 112, .24), transparent 68%);
}

.lab-hero-grid {
  width: min(1420px, calc(100% - 64px));
  margin: auto;
  padding: 76px 0;
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(520px, 1.08fr);
  align-items: center;
  gap: clamp(3rem, 6vw, 7rem);
}

.lab-kicker {
  margin: 0 0 1.15rem;
  display: flex;
  align-items: center;
  gap: .7rem;
  color: #bdf8ef;
  font-size: .76rem;
  font-weight: 800;
  letter-spacing: .15em;
}

.lab-kicker > span {
  width: 28px;
  height: 2px;
  background: var(--lab-coral);
}

.lab-hero-copy h1 {
  max-width: 720px;
  margin: 0;
  color: #fff;
  font-family: var(--serif);
  font-size: clamp(3.35rem, 5.7vw, 6.1rem);
  line-height: .97;
  letter-spacing: -.04em;
}

.lab-hero-copy h1 span {
  display: block;
  color: #8ee5d8;
}

.lab-lead {
  max-width: 680px;
  margin: 1.65rem 0 0;
  color: #f7fffd;
  font-size: clamp(1.15rem, 1.6vw, 1.45rem);
  font-weight: 600;
  line-height: 1.55;
}

.lab-description {
  max-width: 650px;
  margin: .85rem 0 0;
  color: rgba(240, 255, 252, .76);
  line-height: 1.75;
}

.lab-hero-actions {
  margin-top: 2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.lab-hero-actions .button-primary {
  background: linear-gradient(135deg, var(--lab-coral), #d66d55);
  box-shadow: 0 15px 35px rgba(20, 25, 23, .25);
}

.lab-outline {
  color: white;
  border-color: rgba(255,255,255,.58);
  background: rgba(255,255,255,.08);
  backdrop-filter: blur(10px);
}

.lab-hero-metrics {
  margin-top: 2.3rem;
  padding-top: 1.35rem;
  border-top: 1px solid rgba(255,255,255,.16);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.lab-hero-metrics div {
  display: grid;
}

.lab-hero-metrics strong {
  color: #fff;
  font-family: var(--serif);
  font-size: 1.28rem;
}

.lab-hero-metrics span {
  color: rgba(235, 255, 251, .64);
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
}

.vision-demo {
  position: relative;
  padding: 14px;
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 28px;
  background: linear-gradient(135deg, rgba(255,255,255,.18), rgba(255,255,255,.06));
  box-shadow: 0 35px 85px rgba(1, 24, 21, .42), inset 0 1px 0 rgba(255,255,255,.3);
  backdrop-filter: blur(18px) saturate(135%);
  -webkit-backdrop-filter: blur(18px) saturate(135%);
  transform: perspective(1200px) rotateY(-3deg) rotateX(1deg);
}

.vision-demo-topbar,
.vision-demo-footer {
  padding: .6rem .65rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  color: rgba(239, 255, 251, .68);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: .65rem;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.vision-live {
  color: #c7fff5;
  font-weight: 800;
}

.vision-live i,
.status-green {
  width: 7px;
  height: 7px;
  margin-right: .4rem;
  display: inline-block;
  border-radius: 50%;
  background: #76ffb3;
  box-shadow: 0 0 0 4px rgba(118,255,179,.12), 0 0 12px #76ffb3;
  animation: livePulse 1.7s infinite;
}

.vision-frame {
  position: relative;
  min-height: 450px;
  border-radius: 18px;
  overflow: hidden;
  background: #0a2824;
}

.vision-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(1,35,31,.05), rgba(1,35,31,.28));
  pointer-events: none;
}

.vision-frame img {
  width: 100%;
  height: 450px;
  object-fit: cover;
  object-position: center;
  filter: saturate(.8) contrast(1.08) brightness(.82) hue-rotate(4deg);
  transform: scale(1.03);
}

.vision-grid-lines {
  position: absolute;
  inset: 0;
  z-index: 2;
  opacity: .26;
  background-image:
    linear-gradient(rgba(114,255,231,.25) 1px, transparent 1px),
    linear-gradient(90deg, rgba(114,255,231,.25) 1px, transparent 1px);
  background-size: 52px 52px;
}

.vision-scan-line {
  position: absolute;
  z-index: 5;
  left: 0;
  right: 0;
  top: 0;
  height: 2px;
  background: #75ffe9;
  box-shadow: 0 0 18px 4px rgba(117,255,233,.65);
  animation: visionScan 4s ease-in-out infinite;
}

.detection-box {
  position: absolute;
  z-index: 4;
  border: 2px solid #74ffdc;
  box-shadow: 0 0 14px rgba(116,255,220,.25), inset 0 0 14px rgba(116,255,220,.08);
}

.detection-box b,
.detection-box em {
  position: absolute;
  top: -24px;
  padding: .18rem .35rem;
  color: #032d27;
  background: #74ffdc;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: .63rem;
  font-style: normal;
  line-height: 1.2;
}

.detection-box b { left: -2px; }
.detection-box em { right: -2px; }
.detect-student { left: 19%; top: 26%; width: 24%; height: 51%; }
.detect-screen { right: 13%; top: 25%; width: 28%; height: 25%; border-color: #ffbd78; }
.detect-screen b, .detect-screen em { background: #ffbd78; }
.detect-learning { right: 19%; bottom: 10%; width: 43%; height: 24%; border-color: #ff9e89; }
.detect-learning b, .detect-learning em { background: #ff9e89; }

.vision-corners::before,
.vision-corners::after {
  content: "";
  position: absolute;
  z-index: 6;
  width: 42px;
  height: 42px;
  border-color: rgba(255,255,255,.76);
  border-style: solid;
}

.vision-corners::before {
  left: 18px;
  top: 18px;
  border-width: 2px 0 0 2px;
}

.vision-corners::after {
  right: 18px;
  bottom: 18px;
  border-width: 0 2px 2px 0;
}

.vision-demo-footer {
  justify-content: flex-start;
}

.vision-demo-footer span:first-child {
  margin-right: auto;
}

@keyframes visionScan {
  0%, 100% { top: 3%; opacity: .4; }
  50% { top: 96%; opacity: 1; }
}

@keyframes livePulse {
  0%, 100% { opacity: .55; }
  50% { opacity: 1; }
}

.lab-section {
  width: min(1360px, calc(100% - 64px));
  margin: auto;
  padding: 92px 0;
}

.lab-section-heading {
  max-width: 780px;
  margin: 0 auto 3rem;
  text-align: center;
}

.lab-section-heading h2,
.lab-experience-copy h2,
.lab-cta-card h2 {
  margin: .2rem 0 0;
  color: var(--lab-ink);
  font-family: var(--serif);
  font-size: clamp(2.25rem, 4vw, 4.25rem);
  line-height: 1.08;
  letter-spacing: -.025em;
}

.lab-section-heading > p:last-child {
  margin: 1rem auto 0;
  color: #526963;
  font-size: 1.05rem;
  line-height: 1.75;
}

.lab-about-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.2rem;
}

.lab-feature-panel {
  min-height: 235px;
  padding: 2rem;
  border: 1px solid rgba(8,117,104,.12);
  border-radius: 24px;
  display: grid;
  grid-template-columns: 84px 1fr;
  gap: 1.35rem;
  align-items: flex-start;
  background: linear-gradient(145deg, rgba(238,249,246,.92), #fff);
  box-shadow: 0 18px 45px rgba(24, 80, 70, .07);
}

.lab-feature-panel.wide {
  grid-column: 1 / -1;
  min-height: auto;
  background: linear-gradient(135deg, #fffaf0, #fff, #eef9f6);
}

.lab-feature-icon {
  width: 76px;
  height: 76px;
  border-radius: 22px;
  display: grid;
  place-items: center;
  color: var(--lab-teal);
  background: linear-gradient(145deg, #cdeee7, #eefbf8);
  box-shadow: inset 0 0 0 1px rgba(8,117,104,.08);
}

.lab-feature-icon svg {
  width: 42px;
  fill: currentColor;
}

.lab-feature-icon.coral-icon {
  color: #db775e;
  background: linear-gradient(145deg, #ffe0d6, #fff7f4);
}

.lab-feature-icon.gold-icon {
  color: #b77d15;
  background: linear-gradient(145deg, #ffebbc, #fffaf0);
}

.lab-feature-panel h3 {
  margin: 0;
  color: var(--lab-ink);
  font-family: var(--serif);
  font-size: 1.55rem;
}

.lab-feature-panel p {
  margin: .75rem 0 0;
  line-height: 1.75;
}

.training-section {
  width: 100%;
  max-width: none;
  padding: 98px max(32px, calc((100% - 1360px) / 2));
  color: white;
  background:
    radial-gradient(circle at 12% 85%, rgba(240,139,112,.23), transparent 22rem),
    radial-gradient(circle at 92% 12%, rgba(82,219,202,.22), transparent 24rem),
    linear-gradient(135deg, #063f39, #075e55);
}

.lab-section-heading.light h2 { color: white; }
.lab-section-heading.light > p:last-child { color: rgba(235,255,251,.72); }
.lab-section-heading.light .eyebrow { color: #85e9da; }

.training-journey {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.training-journey::before {
  content: "";
  position: absolute;
  left: 12.5%;
  right: 12.5%;
  top: 57px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(125,238,220,.45), transparent);
}

.journey-step {
  position: relative;
  min-height: 330px;
  padding: 1.7rem 1.5rem;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 22px;
  background: linear-gradient(145deg, rgba(255,255,255,.12), rgba(255,255,255,.045));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.14);
  backdrop-filter: blur(12px);
}

.journey-number {
  position: absolute;
  right: 1.2rem;
  top: .9rem;
  color: rgba(255,255,255,.12);
  font-family: var(--serif);
  font-size: 3.2rem;
  font-weight: 800;
}

.journey-icon {
  position: relative;
  z-index: 1;
  width: 74px;
  height: 74px;
  margin-bottom: 1.25rem;
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #d8fff9;
  background: #08776b;
  box-shadow: 0 0 0 8px rgba(90,221,202,.08);
  font-size: 1.8rem;
}

.journey-step h3 {
  margin: 0;
  color: white;
  font-family: var(--serif);
  font-size: 1.45rem;
}

.journey-step p {
  margin: .8rem 0 0;
  color: rgba(233,255,251,.7);
  line-height: 1.7;
}

.curriculum-section {
  padding-bottom: 78px;
}

.curriculum-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
}

.curriculum-card {
  position: relative;
  min-height: 390px;
  padding: 1.75rem;
  border: 1px solid rgba(12,103,92,.12);
  border-radius: 22px;
  overflow: hidden;
  background: white;
  box-shadow: 0 15px 38px rgba(24, 80, 70, .07);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.curriculum-card::after {
  content: "";
  position: absolute;
  right: -65px;
  bottom: -65px;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(68,200,188,.14), transparent 68%);
}

.curriculum-card:hover {
  transform: translateY(-7px);
  border-color: rgba(12,103,92,.3);
  box-shadow: 0 25px 60px rgba(24, 80, 70, .12);
}

.curriculum-tag {
  color: var(--lab-teal);
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.curriculum-symbol {
  width: 68px;
  height: 68px;
  margin: 1.1rem 0 1.2rem;
  border-radius: 20px;
  display: grid;
  place-items: center;
  color: white;
  background: linear-gradient(145deg, var(--lab-teal), #0a554d);
  box-shadow: 0 10px 25px rgba(8,117,104,.2);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 1.15rem;
  font-weight: 800;
}

.curriculum-card:nth-child(2) .curriculum-symbol,
.curriculum-card:nth-child(5) .curriculum-symbol {
  background: linear-gradient(145deg, #ef967b, #d56b52);
}

.curriculum-card:nth-child(3) .curriculum-symbol,
.curriculum-card:nth-child(6) .curriculum-symbol {
  background: linear-gradient(145deg, #e6b348, #b77d15);
}

.curriculum-card h3 {
  margin: 0;
  color: var(--lab-ink);
  font-family: var(--serif);
  font-size: 1.55rem;
}

.curriculum-card p {
  margin: .7rem 0 0;
  line-height: 1.65;
}

.curriculum-card ul {
  position: relative;
  z-index: 1;
  margin: 1.1rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: .48rem;
  color: #395a53;
  font-size: .86rem;
  font-weight: 600;
}

.curriculum-card li::before {
  content: "✓";
  margin-right: .55rem;
  color: var(--lab-teal);
  font-weight: 900;
}

.project-section {
  width: 100%;
  max-width: none;
  padding: 92px max(32px, calc((100% - 1360px) / 2));
  background: linear-gradient(180deg, #f1faf7, #fffaf3);
}

.project-showcase {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.15rem;
}

.project-card {
  min-height: 255px;
  padding: 1.6rem;
  border: 1px solid rgba(8,117,104,.11);
  border-radius: 22px;
  background: rgba(255,255,255,.82);
  box-shadow: 0 15px 35px rgba(24, 80, 70, .06);
}

.project-card.featured {
  grid-column: 1 / -1;
  min-height: 360px;
  padding: 0;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  overflow: hidden;
  background: #073f39;
}

.project-visual {
  position: relative;
  min-height: 360px;
  overflow: hidden;
  background:
    linear-gradient(rgba(4,51,46,.42), rgba(4,51,46,.72)),
    url('../images/slide-03.jpg') center/cover;
}

.project-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: .38;
  background-image:
    linear-gradient(rgba(103,255,229,.22) 1px, transparent 1px),
    linear-gradient(90deg, rgba(103,255,229,.22) 1px, transparent 1px);
  background-size: 38px 38px;
}

.face-box {
  position: absolute;
  width: 120px;
  height: 145px;
  padding: .18rem .32rem;
  border: 2px solid #71ffdc;
  color: #063b34;
  background: linear-gradient(#71ffdc 0 22px, transparent 22px);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: .62rem;
  font-weight: 800;
}

.face-one { left: 22%; top: 24%; }
.face-two { right: 19%; top: 30%; border-color: #ffaf86; background: linear-gradient(#ffaf86 0 22px, transparent 22px); }

.camera-focus {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 90px;
  height: 90px;
  border: 1px solid rgba(255,255,255,.45);
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.camera-focus::before,
.camera-focus::after {
  content: "";
  position: absolute;
  background: rgba(255,255,255,.45);
}

.camera-focus::before { left: -35px; right: -35px; top: 50%; height: 1px; }
.camera-focus::after { top: -35px; bottom: -35px; left: 50%; width: 1px; }

.project-content {
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: rgba(241,255,252,.75);
}

.project-content > span {
  color: #83eadb;
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.project-content h3 {
  margin: .65rem 0 0;
  color: white;
  font-family: var(--serif);
  font-size: clamp(2rem, 3vw, 3.25rem);
  line-height: 1.08;
}

.project-content p {
  margin: 1rem 0 0;
  line-height: 1.75;
}

.tech-pills {
  margin-top: 1.25rem;
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
}

.tech-pills b {
  padding: .4rem .7rem;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 999px;
  color: #eafffb;
  background: rgba(255,255,255,.07);
  font-size: .72rem;
}

.project-mini-icon {
  width: 62px;
  height: 62px;
  margin-bottom: 1rem;
  border-radius: 18px;
  display: grid;
  place-items: center;
  background: #e9f6f2;
  font-size: 1.7rem;
}

.project-card h3 {
  margin: 0;
  color: var(--lab-ink);
  font-family: var(--serif);
  font-size: 1.45rem;
}

.project-card > p {
  margin: .7rem 0 0;
  line-height: 1.65;
}

.lab-experience-section {
  padding-top: 100px;
  padding-bottom: 100px;
}

.lab-experience-grid {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  align-items: center;
  gap: 4.5rem;
}

.lab-experience-copy > p:not(.eyebrow) {
  margin: 1.1rem 0 0;
  line-height: 1.8;
}

.experience-list {
  margin-top: 1.4rem;
  display: grid;
  gap: .7rem;
  color: #27534b;
  font-weight: 700;
}

.tools-cloud {
  min-height: 430px;
  padding: 2.2rem;
  border: 1px solid rgba(8,117,104,.12);
  border-radius: 34px;
  display: flex;
  flex-wrap: wrap;
  align-content: center;
  align-items: center;
  justify-content: center;
  gap: .75rem;
  background:
    radial-gradient(circle at 50% 50%, rgba(82,206,188,.18), transparent 60%),
    linear-gradient(145deg, #f4fbf9, #fff);
  box-shadow: 0 25px 60px rgba(24,80,70,.09);
}

.tools-cloud span {
  padding: .65rem .95rem;
  border: 1px solid rgba(8,117,104,.16);
  border-radius: 999px;
  color: #17574e;
  background: rgba(255,255,255,.82);
  box-shadow: 0 8px 18px rgba(24,80,70,.06);
  font-size: .85rem;
  font-weight: 800;
}

.tools-cloud .tool-large {
  padding: .85rem 1.25rem;
  color: white;
  border-color: transparent;
  background: linear-gradient(135deg, var(--lab-teal), #075149);
  font-size: 1.05rem;
}

.tools-cloud .tool-coral {
  color: white;
  border-color: transparent;
  background: linear-gradient(135deg, #ed967d, #d66e55);
}

.tools-cloud .tool-gold {
  color: #5c3d06;
  border-color: transparent;
  background: linear-gradient(135deg, #ffe19e, #e9b952);
}

.outcomes-section {
  width: 100%;
  max-width: none;
  padding: 88px max(32px, calc((100% - 1360px) / 2));
  background: #f4faf8;
}

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

.outcome-card {
  min-height: 255px;
  padding: 1.65rem;
  border-top: 4px solid var(--lab-teal);
  border-radius: 0 0 20px 20px;
  background: white;
  box-shadow: 0 12px 30px rgba(24,80,70,.06);
}

.outcome-card:nth-child(2) { border-color: var(--lab-coral); }
.outcome-card:nth-child(3) { border-color: var(--lab-gold); }
.outcome-card:nth-child(4) { border-color: #4c93c1; }

.outcome-card strong {
  color: rgba(8,117,104,.18);
  font-family: var(--serif);
  font-size: 2.7rem;
}

.outcome-card h3 {
  margin: .4rem 0 0;
  color: var(--lab-ink);
  font-family: var(--serif);
  font-size: 1.35rem;
}

.outcome-card p {
  margin: .7rem 0 0;
  line-height: 1.65;
}

.lab-cta-section {
  width: min(1360px, calc(100% - 64px));
  margin: auto;
  padding: 90px 0;
}

.lab-cta-card {
  position: relative;
  padding: clamp(2rem, 5vw, 4.5rem);
  border-radius: 34px;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1.25fr .75fr;
  align-items: center;
  gap: 3rem;
  color: white;
  background:
    radial-gradient(circle at 92% 10%, rgba(125,237,220,.32), transparent 19rem),
    linear-gradient(135deg, #064b43, #08796b);
  box-shadow: 0 30px 70px rgba(10,72,63,.2);
}

.lab-cta-card::after {
  content: "AI";
  position: absolute;
  right: 3%;
  bottom: -22%;
  color: rgba(255,255,255,.045);
  font-family: var(--serif);
  font-size: 17rem;
  font-weight: 800;
  line-height: 1;
}

.lab-cta-card h2 {
  color: white;
}

.lab-cta-card > div {
  position: relative;
  z-index: 1;
}

.lab-cta-card > div > p:last-child {
  max-width: 720px;
  margin: 1rem 0 0;
  color: rgba(236,255,251,.74);
  line-height: 1.75;
}

.lab-cta-actions {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: .9rem;
}

.lab-white-button {
  color: var(--lab-teal);
  background: white;
  box-shadow: 0 12px 28px rgba(1,30,26,.18);
}

.lab-phone-link {
  color: #d9fff9;
  font-weight: 800;
  text-align: center;
}

.lab-footer {
  margin-top: 0;
}

@media (max-width: 1180px) {
  .lab-page .brand-copy small { display: block; }
  .lab-hero-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .vision-frame, .vision-frame img { height: 390px; min-height: 390px; }
  .training-journey { grid-template-columns: repeat(2, 1fr); }
  .training-journey::before { display: none; }
  .curriculum-grid { grid-template-columns: repeat(2, 1fr); }
  .outcome-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  .lab-page .primary-nav { font-size: .9rem; }
  .lab-hero { min-height: auto; }
  .lab-hero-grid {
    width: min(100% - 36px, 760px);
    padding: 78px 0;
    grid-template-columns: 1fr;
  }
  .vision-demo { transform: none; }
  .lab-section, .lab-cta-section { width: min(100% - 36px, 760px); }
  .lab-about-grid, .lab-experience-grid { grid-template-columns: 1fr; }
  .project-card.featured { grid-template-columns: 1fr; }
  .project-showcase { grid-template-columns: repeat(2, 1fr); }
  .lab-cta-card { grid-template-columns: 1fr; }
  .lab-cta-actions { max-width: 360px; }
}

@media (max-width: 640px) {
  .lab-page .brand-copy small { font-size: .52rem; }
  .lab-hero-grid { width: calc(100% - 28px); padding: 58px 0; }
  .lab-hero-copy h1 { font-size: clamp(3rem, 14vw, 4.4rem); }
  .lab-kicker { align-items: flex-start; font-size: .64rem; line-height: 1.6; }
  .lab-hero-metrics { grid-template-columns: 1fr; }
  .vision-demo { padding: 8px; border-radius: 20px; }
  .vision-frame, .vision-frame img { min-height: 310px; height: 310px; }
  .vision-demo-topbar, .vision-demo-footer { font-size: .52rem; }
  .detect-student { left: 10%; width: 31%; }
  .detect-screen { right: 7%; width: 34%; }
  .detect-learning { right: 9%; width: 50%; }
  .lab-section { width: calc(100% - 28px); padding: 66px 0; }
  .training-section, .project-section, .outcomes-section { padding: 68px 14px; }
  .lab-section-heading { margin-bottom: 2rem; }
  .lab-about-grid, .training-journey, .curriculum-grid, .project-showcase, .outcome-grid { grid-template-columns: 1fr; }
  .lab-feature-panel, .lab-feature-panel.wide { grid-column: auto; grid-template-columns: 1fr; padding: 1.45rem; }
  .journey-step, .curriculum-card { min-height: auto; }
  .project-card.featured { grid-column: auto; }
  .project-visual { min-height: 300px; }
  .project-content { padding: 1.6rem; }
  .tools-cloud { min-height: 340px; padding: 1.2rem; border-radius: 24px; }
  .lab-cta-section { width: calc(100% - 28px); padding: 65px 0; }
  .lab-cta-card { padding: 2rem 1.4rem; border-radius: 24px; }
  .lab-cta-card::after { font-size: 9rem; }
}

.programme-link {
  position: relative;
  z-index: 2;
  margin-top: 1rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #246f9f;
  font-size: .77rem;
  font-weight: 800;
}

.programme-link:hover {
  text-decoration: underline;
}
