@import url("https://fonts.googleapis.com/css2?family=Outfit:wght@400;500;600;700;800&family=Plus+Jakarta+Sans:ital,wght@0,400;0,500;0,600;0,700;1,400;1,600&display=swap");

:root {
  --font-sans: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-serif: "Outfit", "Plus Jakarta Sans", -apple-system, sans-serif;
  --font-display: "Outfit", sans-serif;
  --header-height: 88px;
  --bg: #f8fafc;
  --surface: #ffffff;
  --surface-strong: #ffffff;
  --surface-glass: rgba(255, 255, 255, 0.85);
  --surface-soft: #f1f5f9;
  --leaf: #059669;
  --leaf-deep: #0f172a;
  --leaf-brand: #059669;
  --leaf-soft: #10b981;
  --leaf-glow: #34d399;
  --cyan: #06b6d4;
  --cyan-glow: #22d3ee;
  --soil: #475569;
  --grain: #e2e8f0;
  --gold: #f59e0b;
  --gold-warm: #d97706;
  --ruby: #ef4444;
  --amber: #b45309;
  --mist: rgba(15, 23, 42, 0.04);
  --text: #0f172a;
  --muted: #475569;
  --muted-light: #64748b;
  --line: rgba(15, 23, 42, 0.08);
  --line-strong: rgba(15, 23, 42, 0.16);
  --shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.05);
  --shadow-soft: 0 10px 25px -5px rgba(15, 23, 42, 0.05), 0 8px 10px -6px rgba(15, 23, 42, 0.03);
  --shadow-lg: 0 20px 40px -10px rgba(15, 23, 42, 0.08), 0 1px 3px rgba(15, 23, 42, 0.05);
  --shadow-glow: 0 0 25px rgba(16, 185, 129, 0.25);
  --shadow-glow-cyan: 0 0 25px rgba(6, 182, 212, 0.25);
  --radius-xs: 8px;
  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 28px;
  --radius-pill: 999px;
  --ring-focus: 0 0 0 3px rgba(16, 185, 129, 0.35);
  --container: min(1280px, calc(100vw - 48px));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 120px;
}

body {
  margin: 0;
  padding-top: var(--header-height);
  overflow-x: hidden;
  color: var(--text);
  font-family: var(--font-sans);
  line-height: 1.7;
  background:
    radial-gradient(circle at 10% 15%, rgba(16, 185, 129, 0.05), transparent 40%),
    radial-gradient(circle at 90% 10%, rgba(6, 182, 212, 0.05), transparent 40%),
    linear-gradient(180deg, #f8fafc 0%, #f1f5f9 50%, #f8fafc 100%);
  isolation: isolate;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(rgba(15, 23, 42, 0.04) 1px, transparent 1px);
  background-size: 28px 28px;
  opacity: 0.6;
  z-index: -1;
}

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

figure {
  margin: 0;
}

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

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

p,
ul,
ol {
  margin: 0;
}

ul,
ol {
  padding-left: 1.2rem;
}

main {
  position: relative;
  z-index: 1;
  min-height: 60vh;
}

.container {
  width: var(--container);
  margin: 0 auto;
}

.section,
.content-shell {
  padding: clamp(56px, 8vw, 96px) 0;
}

.section-soft {
  position: relative;
}

.section-soft::before {
  content: "";
  position: absolute;
  inset: 36px 0;
  z-index: -1;
  background:
    linear-gradient(180deg, #f1f5f9 0%, #f8fafc 100%);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section-heading {
  display: grid;
  gap: 10px;
  margin-bottom: 28px;
}

.section-title {
  margin: 0;
  font-family: var(--font-serif);
  font-size: clamp(2.1rem, 3.2vw, 3.4rem);
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: var(--text);
}

.section-intro {
  max-width: 72ch;
  color: var(--muted);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: fit-content;
  padding: 8px 16px;
  border: 1px solid rgba(5, 150, 105, 0.2);
  border-radius: var(--radius-pill);
  background: rgba(16, 185, 129, 0.08);
  color: var(--leaf);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  box-shadow: 0 4px 14px rgba(5, 150, 105, 0.06);
}

.eyebrow::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--leaf-soft), var(--cyan));
}

.surface-panel,
.info-card,
.project-card,
.team-list,
.note-card,
.timeline-row,
.doc-item,
.person-card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: #ffffff;
  box-shadow: var(--shadow-soft);
  transition:
    transform 0.3s cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 0.3s cubic-bezier(0.16, 1, 0.3, 1),
    border-color 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.surface-panel::before,
.info-card::before,
.project-card::before,
.team-list::before,
.note-card::before,
.person-card::before {
  content: "";
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--leaf), var(--cyan), var(--leaf-soft));
  opacity: 0.9;
}

.surface-panel,
.info-card,
.project-card,
.team-list,
.note-card {
  padding: 28px;
}

.surface-panel:hover,
.surface-panel:focus-within,
.info-card:hover,
.info-card:focus-within,
.project-card:hover,
.project-card:focus-within,
.team-list:hover,
.team-list:focus-within,
.note-card:hover,
.note-card:focus-within,
.timeline-row:hover,
.timeline-row:focus-within,
.doc-item:hover,
.doc-item:focus-within,
.person-card:hover,
.person-card:focus-within {
  transform: translateY(-6px);
  border-color: rgba(16, 185, 129, 0.4);
  box-shadow: 0 20px 40px -10px rgba(15, 23, 42, 0.08), 0 0 20px rgba(16, 185, 129, 0.12);
}

.info-card h2,
.project-card h3,
.team-list h3,
.note-card h2 {
  margin: 0 0 14px;
  font-family: var(--font-serif);
  color: var(--leaf-deep);
}

.info-card ul li + li,
.team-list ul li + li,
.note-card ul li + li {
  margin-top: 12px;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.04);
}

.site-header::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  background: linear-gradient(90deg, var(--leaf), var(--cyan), var(--leaf-soft));
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 88px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
  min-width: 0;
}

.brand-badge {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  min-width: 52px;
  min-height: 52px;
  flex-shrink: 0;
  padding: 4px;
  border-radius: 14px;
  background: #ffffff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.brand-badge img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.brand-text {
  min-width: 0;
  flex-shrink: 0;
}

.brand-text strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 800;
  line-height: 1.1;
  color: var(--text);
  letter-spacing: -0.01em;
  white-space: nowrap;
}

.brand-text span {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 50px;
  height: 50px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 250, 243, 0.95);
  color: var(--leaf-deep);
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  margin: 0 auto;
  background: currentColor;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

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

.nav-toggle.is-open span:nth-child(2) {
  opacity: 0;
}

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

.site-nav {
  margin-left: auto;
}

.nav-list,
.subnav {
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-item {
  position: relative;
  z-index: 1;
}

.nav-link,
.nav-button {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0.7rem 0.82rem;
  border: 0;
  border-radius: var(--radius-pill);
  background: transparent;
  color: var(--text);
  font-size: 0.93rem;
  font-weight: 700;
  white-space: nowrap;
  cursor: pointer;
  transition:
    color 0.2s ease,
    background-color 0.2s ease,
    transform 0.2s ease;
}

.nav-link:hover,
.nav-button:hover,
.nav-link:focus-visible,
.nav-button:focus-visible,
.nav-link.is-current,
.nav-item.is-current > .nav-button {
  color: var(--leaf);
  background: rgba(5, 150, 105, 0.08);
  transform: translateY(-1px);
  outline: none;
}

.nav-caret {
  width: 8px;
  height: 8px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translateY(-1px);
  transition: transform 0.25s ease;
}

.nav-item.is-open > .nav-button .nav-caret {
  transform: rotate(225deg) translateY(-1px);
}

.nav-item.has-dropdown::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  height: 14px;
}

.subnav {
  position: absolute;
  top: calc(100% + 12px);
  left: 0;
  min-width: 260px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 16px 36px rgba(15, 23, 42, 0.1);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s ease;
}

.subnav .nav-link,
.subnav .nav-button {
  width: 100%;
  justify-content: space-between;
  border-radius: 16px;
}

.nav-item:hover > .subnav,
.nav-item:focus-within > .subnav,
.nav-item.is-open > .subnav {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  z-index: 10;
}

.nav-list > .nav-item.has-dropdown > .subnav {
  left: auto;
  right: 0;
}

.subnav .subnav {
  top: -12px;
  left: auto;
  right: calc(100% - 8px);
}

.subnav .nav-item.has-dropdown::after {
  top: -8px;
  right: auto;
  left: -14px;
  width: 18px;
  height: calc(100% + 16px);
}

.hero-slider {
  position: relative;
  overflow: hidden;
  background: #0b1120;
}

.hero-slider--home {
  min-height: min(880px, calc(100vh - var(--header-height)));
  border-radius: 0 0 44px 44px;
}

.slider-viewport {
  position: relative;
  min-height: 380px;
  aspect-ratio: 16 / 7;
}

.hero-slider--home .slider-viewport {
  min-height: min(880px, calc(100vh - var(--header-height)));
  aspect-ratio: auto;
}

.slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.8s ease;
}

.slide.is-active {
  opacity: 1;
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(13, 29, 17, 0.78), rgba(13, 29, 17, 0.38) 44%, rgba(13, 29, 17, 0.22)),
    linear-gradient(180deg, rgba(13, 29, 17, 0.08), rgba(13, 29, 17, 0.3));
}

body[data-page="hackathon"] .hero-slider .slider-viewport {
  aspect-ratio: 16 / 6.5;
  min-height: 320px;
}

body[data-page="hackathon"] .slide img {
  object-fit: contain;
  background: #0b1d12;
}

body[data-page="hackathon"] .slide::after {
  display: none;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  align-items: center;
}

.hero-overlay-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(300px, 0.7fr);
  gap: 28px;
  align-items: center;
}

.hero-copy {
  max-width: 620px;
  color: #fff;
  padding: 50px 0 60px;
}

.hero-copy .status-chip {
  background: rgba(16, 185, 129, 0.28);
  border: 1px solid rgba(16, 185, 129, 0.6);
  color: #ffffff;
  font-weight: 700;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
}

.hero-copy .eyebrow {
  background: rgba(255, 251, 243, 0.18);
  border-color: rgba(255, 255, 255, 0.18);
  color: #fff;
}

.hero-copy h1 {
  margin: 14px 0 12px;
  font-family: var(--font-serif);
  font-size: clamp(2.2rem, 3.8vw, 3.6rem);
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: #ffffff;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.45);
}

.hero-copy p {
  max-width: 54ch;
  color: rgba(255, 255, 255, 0.94);
  font-size: 1.05rem;
  line-height: 1.6;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.4);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 24px;
}

.hero-panel {
  position: relative;
  margin-bottom: 0;
  padding: 0;
  border: none;
  background: transparent;
  color: #fff;
  box-shadow: none;
  backdrop-filter: none;
}

.hero-panel::before {
  content: "";
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.88), rgba(248, 215, 141, 0.9), rgba(209, 241, 187, 0.72));
}

.hero-panel h2 {
  margin: 0 0 14px;
  font-family: var(--font-serif);
  font-size: 1.5rem;
}

.hero-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.hero-list li + li {
  margin-top: 12px;
}

.hero-list li {
  position: relative;
  padding-left: 18px;
}

.hero-list li::before {
  content: "";
  position: absolute;
  top: 11px;
  left: 0;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: linear-gradient(135deg, #f8d78d, #d1f1bb);
}

.slider-control {
  position: absolute;
  top: 50%;
  z-index: 3;
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
  color: #fff;
  background: rgba(18, 39, 24, 0.38);
  transform: translateY(-50%);
  cursor: pointer;
  transition: background-color 0.2s ease, transform 0.2s ease;
  backdrop-filter: blur(10px);
}

.slider-control:hover,
.slider-control:focus-visible {
  background: rgba(18, 39, 24, 0.58);
  outline: none;
}

.slider-control.prev {
  left: 24px;
}

.slider-control.next {
  right: 24px;
}

.slider-dots {
  position: absolute;
  left: 50%;
  bottom: 24px;
  z-index: 3;
  display: flex;
  gap: 10px;
  transform: translateX(-50%);
}

.slider-dots button {
  width: 10px;
  height: 10px;
  padding: 0;
  border: 0;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.55);
  cursor: pointer;
  transition: width 0.2s ease, background-color 0.2s ease;
}

.slider-dots button.is-active {
  width: 34px;
  background: #fff;
}

.slider-progress {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 54px;
  z-index: 3;
  height: 4px;
  overflow: hidden;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.28);
  pointer-events: none;
}

.slider-progress-bar {
  display: block;
  width: 100%;
  height: 100%;
  background: #fff;
  transform: scaleX(0);
  transform-origin: left center;
  will-change: transform;
}

.logo-strip {
  position: relative;
  z-index: 2;
  margin-top: clamp(14px, 2.4vw, 28px);
}

.logo-strip-shell {
  padding: 28px;
  border: 1px solid rgba(47, 106, 62, 0.12);
  border-radius: 34px;
  background:
    linear-gradient(180deg, rgba(255, 251, 244, 0.98), rgba(247, 243, 234, 0.96));
  box-shadow: var(--shadow-lg);
}

.logo-strip-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 22px;
  margin-bottom: 20px;
}

.logo-strip-heading p {
  max-width: 56ch;
  color: var(--muted);
}

.logo-list {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 18px;
}

.logo-card {
  display: grid;
  place-items: center;
  min-height: 112px;
  padding: 18px;
  border: 1px solid rgba(47, 106, 62, 0.1);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.86);
}

.logo-card img {
  width: auto;
  max-width: 100%;
  max-height: 68px;
  object-fit: contain;
}

.news-bar {
  margin-top: 36px;
}

.news-inner {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 18px 22px;
  border: 1px solid rgba(47, 106, 62, 0.12);
  border-radius: 24px;
  color: #fff;
  background:
    linear-gradient(90deg, rgba(24, 56, 34, 0.96), rgba(47, 106, 62, 0.92));
  box-shadow: var(--shadow-soft);
}

.news-label {
  flex-shrink: 0;
  padding: 9px 14px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.14);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.news-track {
  flex: 1;
}

.news-track p {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0;
  padding-left: 0;
  color: #ffffff;
  font-size: 0.95rem;
  line-height: 1.5;
}

.news-track a {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--gold-warm);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.2s ease;
}

.news-track a:hover {
  color: #ffffff;
}

.about-shell {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
  gap: 28px;
  align-items: start;
}

.about-story {
  padding: 34px;
}

.about-story p {
  color: var(--text);
}

.about-story p + p {
  margin-top: 16px;
}

.about-side {
  display: grid;
  gap: 22px;
}

.about-figure {
  overflow: hidden;
  border: 1px solid rgba(47, 106, 62, 0.1);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.about-figure img {
  width: 100%;
  height: 100%;
  min-height: 340px;
  object-fit: cover;
}

.about-note {
  padding: 24px;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.value-card {
  position: relative;
  overflow: hidden;
  min-height: 100%;
  padding: 30px;
  border: 1px solid rgba(47, 106, 62, 0.12);
  border-radius: 32px;
  box-shadow: var(--shadow-soft);
}

.value-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at top right, rgba(198, 152, 71, 0.14), transparent 34%),
    radial-gradient(circle at bottom left, rgba(94, 141, 86, 0.12), transparent 38%);
}

.value-card > * {
  position: relative;
  z-index: 1;
}

.value-card--mission {
  background: linear-gradient(180deg, rgba(246, 251, 240, 0.96), rgba(232, 242, 226, 0.92));
}

.value-card--vision {
  background: linear-gradient(180deg, rgba(255, 248, 238, 0.96), rgba(248, 238, 222, 0.92));
}

.value-kicker {
  display: inline-flex;
  margin-bottom: 14px;
  padding: 8px 13px;
  border-radius: var(--radius-pill);
  background: rgba(24, 56, 34, 0.08);
  color: var(--leaf-deep);
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.value-card ul {
  display: grid;
  gap: 14px;
}

.card-grid {
  display: grid;
  gap: 24px;
}

.section-projects {
  position: relative;
}

.projects-shell {
  display: grid;
  grid-template-columns: minmax(280px, 0.88fr) minmax(0, 1.7fr);
  gap: 28px;
  align-items: start;
}

.projects-intro {
  padding: 34px;
}

.projects-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 24px;
}

.project-stat {
  padding: 16px 14px;
  border: 1px solid rgba(47, 106, 62, 0.1);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.62);
}

.project-stat strong {
  display: block;
  margin-bottom: 4px;
  font-family: var(--font-serif);
  font-size: 1.45rem;
  color: var(--leaf-deep);
}

.project-stat span {
  color: var(--muted);
  font-size: 0.94rem;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.card-grid.three-up {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.card-grid.two-up {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.project-card {
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-height: 100%;
  padding: 30px;
}

.project-card::after {
  content: "";
  position: absolute;
  inset: auto -40px -50px auto;
  width: 170px;
  height: 170px;
  border-radius: 50%;
  opacity: 0.22;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.95), transparent 66%);
}

.project-card--apple {
  background: linear-gradient(180deg, rgba(245, 253, 239, 0.96), rgba(230, 242, 220, 0.95));
}

.project-card--walnut {
  background: linear-gradient(180deg, rgba(252, 246, 237, 0.96), rgba(241, 230, 212, 0.95));
}

.project-card--saffron {
  background: linear-gradient(180deg, rgba(249, 251, 235, 0.96), rgba(238, 242, 209, 0.95));
}

.project-badge {
  display: grid;
  place-items: center;
  width: 88px;
  height: 88px;
  padding: 16px;
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: inset 0 0 0 1px rgba(47, 106, 62, 0.1);
}

.project-badge img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.project-card p {
  color: var(--muted);
}

.project-chip {
  display: inline-flex;
  width: fit-content;
  margin-bottom: 10px;
  padding: 8px 12px;
  border-radius: var(--radius-pill);
  background: rgba(24, 56, 34, 0.08);
  color: var(--leaf-deep);
  font-size: 0.77rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.project-points {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.project-points li {
  position: relative;
  padding-left: 16px;
  color: var(--muted);
}

.project-points li::before {
  content: "";
  position: absolute;
  top: 11px;
  left: 0;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), var(--leaf-soft));
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--leaf);
  font-weight: 800;
  letter-spacing: 0.02em;
}

.text-link::after {
  content: "->";
}

.team-shell {
  display: grid;
  gap: 28px;
}

.people-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
}

.core-grid {
  grid-template-columns: repeat(3, minmax(0, 248px));
  justify-content: center;
  gap: 18px;
}

.project-team-section {
  position: relative;
}

.team-lead-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  margin-bottom: 28px;
}

.team-lead-card {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 18px;
  align-items: center;
  padding: 22px;
  border: 1px solid rgba(47, 106, 62, 0.12);
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(255, 251, 243, 0.98), rgba(241, 236, 224, 0.94));
  box-shadow: var(--shadow-soft);
}

.team-lead-card img {
  width: 92px;
  height: 92px;
  border-radius: 24px;
  object-fit: cover;
  box-shadow: 0 16px 32px rgba(18, 35, 22, 0.18);
}

.team-lead-card h3 {
  margin: 0 0 8px;
  font-family: var(--font-serif);
  color: var(--leaf-deep);
}

.team-lead-card .role {
  display: inline-flex;
  margin-bottom: 6px;
  padding: 7px 12px;
  border-radius: var(--radius-pill);
  background: rgba(24, 56, 34, 0.08);
  color: var(--leaf);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.team-lead-card .org {
  color: var(--muted);
  font-size: 0.94rem;
}

.team-cluster-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.team-cluster {
  padding: 28px;
}

.team-cluster-head {
  margin-bottom: 18px;
}

.team-cluster-head h3 {
  margin: 0 0 6px;
  font-family: var(--font-serif);
  color: var(--leaf-deep);
}

.team-cluster-head p {
  color: var(--muted);
}

.team-group + .team-group {
  margin-top: 22px;
  padding-top: 22px;
  border-top: 1px solid rgba(47, 106, 62, 0.12);
}

.team-group-title {
  margin: 0 0 14px;
  color: var(--soil);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.project-person-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.project-person {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 14px;
  align-items: center;
  padding: 16px;
  border: 1px solid rgba(47, 106, 62, 0.1);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.58);
  transition: transform 0.24s ease, border-color 0.24s ease, box-shadow 0.24s ease;
}

.project-person:hover,
.project-person:focus-within {
  transform: translateY(-4px);
  border-color: rgba(47, 106, 62, 0.2);
  box-shadow: 0 22px 42px rgba(18, 35, 22, 0.12);
}

.project-person img {
  width: 72px;
  height: 72px;
  border-radius: 20px;
  object-fit: cover;
  background: rgba(255, 255, 255, 0.7);
}

.project-person h4 {
  margin: 0 0 4px;
  font-family: var(--font-serif);
  font-size: 1rem;
  line-height: 1.24;
  color: var(--leaf-deep);
}

.project-person .designation {
  color: var(--leaf);
  font-size: 0.92rem;
  font-weight: 700;
}

.project-person .org {
  margin-top: 2px;
  color: var(--muted);
  font-size: 0.88rem;
}

.person-card {
  padding: 18px;
  text-align: center;
}

.person-card img {
  width: 100%;
  aspect-ratio: 0.94;
  border-radius: 22px;
  object-fit: cover;
}

.core-grid .person-card {
  padding: 16px;
}

.core-grid .person-card img {
  width: min(100%, 214px);
  margin: 0 auto;
  aspect-ratio: 0.9;
}

.core-grid .person-card h3 {
  font-size: 1.05rem;
}

.person-card h3 {
  margin: 16px 0 6px;
  font-family: var(--font-serif);
  font-size: 1.15rem;
  line-height: 1.24;
  color: var(--leaf-deep);
}

.person-card .role {
  margin-bottom: 4px;
  color: var(--leaf);
  font-weight: 700;
}

.person-card .org {
  color: var(--muted);
  font-size: 0.95rem;
}

.page-banner {
  position: relative;
  overflow: hidden;
  color: #fff;
  background: #0d2416;
}

.page-banner img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-banner::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(10, 24, 15, 0.88) 0%, rgba(10, 24, 15, 0.72) 50%, rgba(10, 24, 15, 0.5) 100%),
    linear-gradient(180deg, rgba(10, 24, 15, 0.2), rgba(10, 24, 15, 0.6));
}

.page-banner .container {
  position: relative;
  z-index: 1;
  padding: clamp(80px, 12vw, 120px) 0 44px;
}

.page-banner .eyebrow {
  background: rgba(255, 251, 243, 0.22);
  border-color: rgba(255, 255, 255, 0.3);
  color: #fff;
  font-weight: 800;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}

.page-banner h1 {
  margin: 14px 0 12px;
  max-width: 28ch;
  font-family: var(--font-serif);
  font-size: clamp(2.2rem, 4vw, 3.8rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: #ffffff;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.7);
}

.page-banner p {
  max-width: 76ch;
  color: rgba(255, 255, 255, 0.95);
  font-size: 1.05rem;
  line-height: 1.6;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.6);
}

.two-column {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.methodology-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.figure-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: linear-gradient(180deg, rgba(255, 250, 242, 0.98), rgba(247, 242, 233, 0.94));
  box-shadow: var(--shadow-soft);
  transition:
    transform 0.28s ease,
    box-shadow 0.28s ease,
    border-color 0.28s ease;
  cursor: pointer;
}

.figure-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  cursor: zoom-in;
}

.figure-card figcaption {
  padding: 22px;
}

.figure-card h3 {
  margin: 0 0 8px;
  font-family: var(--font-serif);
  color: var(--leaf-deep);
}

.figure-card p {
  color: var(--muted);
}

.figure-card:hover,
.figure-card:focus-within {
  transform: translateY(-6px);
  border-color: rgba(47, 106, 62, 0.22);
  box-shadow: 0 28px 62px rgba(23, 48, 28, 0.14);
}

.text-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.team-list h3 {
  font-size: 1.22rem;
}

.activity-links {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.activity-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: linear-gradient(180deg, rgba(255, 251, 243, 0.96), rgba(244, 239, 229, 0.92));
  box-shadow: var(--shadow-soft);
  transition:
    transform 0.28s ease,
    box-shadow 0.28s ease,
    border-color 0.28s ease;
}

.activity-card h3 {
  margin: 0;
  font-family: var(--font-serif);
  color: var(--leaf-deep);
}

.activity-card p {
  color: var(--muted);
}

.activity-card::after {
  content: "->";
  font-weight: 700;
  color: var(--leaf);
}

.activity-card:hover,
.activity-card:focus-visible {
  transform: translateY(-6px);
  border-color: rgba(47, 106, 62, 0.22);
  box-shadow: 0 28px 62px rgba(23, 48, 28, 0.14);
  outline: none;
}

.activity-quick-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
}

.activity-quick-links a {
  display: inline-flex;
  align-items: center;
  padding: 11px 16px;
  border: 1px solid rgba(47, 106, 62, 0.16);
  border-radius: var(--radius-pill);
  background: rgba(255, 251, 243, 0.72);
  color: var(--leaf-deep);
  font-weight: 700;
  transition: transform 0.22s ease, border-color 0.22s ease, background-color 0.22s ease;
}

.activity-quick-links a:hover,
.activity-quick-links a:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(47, 106, 62, 0.26);
  background: rgba(248, 244, 235, 0.96);
  outline: none;
}

.activity-explorer {
  display: grid;
  gap: 24px;
}

.activity-tablist {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
  padding: 14px;
  border: 1px solid rgba(47, 106, 62, 0.12);
  border-radius: 30px;
  background: linear-gradient(180deg, rgba(255, 251, 243, 0.98), rgba(243, 238, 228, 0.94));
  box-shadow: var(--shadow-soft);
}

.activity-tab {
  display: grid;
  gap: 6px;
  justify-items: start;
  min-height: 100%;
  padding: 18px 20px;
  border: 1px solid transparent;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.42);
  color: var(--leaf-deep);
  text-align: left;
  transition:
    transform 0.24s ease,
    border-color 0.24s ease,
    background-color 0.24s ease,
    box-shadow 0.24s ease;
}

.activity-tab span {
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--leaf);
}

.activity-tab strong {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  line-height: 1.18;
}

.activity-tab small {
  font-size: 0.92rem;
  color: var(--muted);
}

.activity-tab:hover,
.activity-tab:focus-visible {
  transform: translateY(-3px);
  border-color: rgba(47, 106, 62, 0.18);
  background: rgba(255, 255, 255, 0.74);
  box-shadow: 0 20px 40px rgba(23, 48, 28, 0.1);
  outline: none;
}

.activity-tab.is-active {
  border-color: rgba(47, 106, 62, 0.22);
  background: linear-gradient(180deg, rgba(226, 243, 218, 0.96), rgba(247, 241, 228, 0.96));
  box-shadow: 0 24px 44px rgba(23, 48, 28, 0.12);
}

.activity-panel {
  display: grid;
  gap: 24px;
  padding: 28px;
  border: 1px solid rgba(47, 106, 62, 0.12);
  border-radius: 32px;
  background:
    radial-gradient(circle at top right, rgba(209, 241, 187, 0.28), transparent 30%),
    linear-gradient(180deg, rgba(255, 251, 243, 0.98), rgba(244, 239, 229, 0.95));
  box-shadow: var(--shadow-soft);
}

.activity-panel[hidden] {
  display: none !important;
}

.activity-panel.is-active {
  animation: activityPanelIn 0.3s ease;
}

.activity-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(240px, 0.75fr);
  gap: 22px;
  align-items: stretch;
}

.activity-hero-copy h3 {
  margin: 16px 0 10px;
  font-family: var(--font-serif);
  font-size: clamp(1.7rem, 2.8vw, 2.25rem);
  line-height: 1.04;
  color: var(--leaf-deep);
}

.activity-hero-copy p {
  color: var(--muted);
}

.activity-kpis {
  display: grid;
  gap: 12px;
}

.activity-kpi {
  display: grid;
  gap: 4px;
  padding: 18px;
  border: 1px solid rgba(47, 106, 62, 0.12);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.74);
}

.activity-kpi strong {
  font-family: var(--font-serif);
  font-size: 1.55rem;
  color: var(--leaf-deep);
}

.activity-kpi span {
  color: var(--muted);
  font-size: 0.95rem;
}

.activity-section-stack,
.activity-subsection {
  display: grid;
  gap: 24px;
}

.section-heading-compact {
  margin-bottom: 0;
}

@keyframes activityPanelIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.gallery-card {
  overflow: hidden;
  border: 1px solid rgba(47, 106, 62, 0.12);
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(255, 251, 243, 0.98), rgba(247, 243, 234, 0.94));
  box-shadow: var(--shadow-soft);
  transition:
    transform 0.28s ease,
    box-shadow 0.28s ease,
    border-color 0.28s ease;
  cursor: pointer;
}

.gallery-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  cursor: zoom-in;
}

.gallery-card p {
  padding: 16px 18px 18px;
  font-weight: 700;
  color: var(--leaf-deep);
}

.gallery-card:hover,
.gallery-card:focus-within {
  transform: translateY(-6px);
  border-color: rgba(47, 106, 62, 0.22);
  box-shadow: 0 28px 62px rgba(23, 48, 28, 0.14);
}

/* ==========================================================================
   GALLERY FEATURED VIDEO & VIDEO CARDS
   ========================================================================== */
.gallery-featured-video-section {
  padding: 40px 0 20px;
}

.featured-video-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
  margin-top: 16px;
}

@media (max-width: 960px) {
  .featured-video-grid {
    grid-template-columns: 1fr;
  }
}

.featured-video-card {
  border: 1px solid rgba(47, 106, 62, 0.16);
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(246, 251, 248, 0.94));
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 20px 48px rgba(15, 23, 42, 0.08);
  padding: clamp(20px, 3.5vw, 30px);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.featured-video-meta {
  padding-top: 18px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.featured-video-meta h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--leaf-deep);
  margin: 6px 0 4px;
}

.featured-video-meta p {
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.55;
  margin: 0;
}

.featured-video-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.featured-video-copy h2 {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.5vw, 1.85rem);
  font-weight: 800;
  color: var(--leaf-deep);
  margin: 10px 0 8px;
  line-height: 1.25;
}

.featured-video-copy p {
  color: var(--muted);
  font-size: 0.98rem;
  max-width: 680px;
  line-height: 1.6;
}

.featured-video-tags {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.tag-pill {
  display: inline-flex;
  align-items: center;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(5, 150, 105, 0.08);
  border: 1px solid rgba(5, 150, 105, 0.2);
  color: #065f46;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.video-player-container {
  position: relative;
  width: 100%;
  border-radius: 20px;
  overflow: hidden;
  background: #000000;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.18);
  max-height: 580px;
  aspect-ratio: 16 / 9;
}

.featured-video-player {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

/* Inline Gallery Video Card */
.gallery-card--video {
  cursor: default !important;
}

.gallery-video-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  background: #0b1510;
  overflow: hidden;
}

.gallery-inline-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.gallery-video-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(8px);
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 700;
  pointer-events: none;
  z-index: 2;
}

.lightbox-overlay {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 28px 24px;
  background: rgba(7, 16, 10, 0.88);
  backdrop-filter: blur(12px);
}

.lightbox-overlay.is-open {
  display: flex;
}

.lightbox-dialog {
  position: relative;
  width: min(1120px, 100%);
}

.lightbox-stage {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 30px;
  background: linear-gradient(180deg, rgba(11, 20, 13, 0.94), rgba(18, 31, 21, 0.96));
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.35);
}

.lightbox-stage img {
  width: 100%;
  max-height: min(78vh, 820px);
  object-fit: contain;
}

.lightbox-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 16px 6px 0;
  color: #fff;
}

.lightbox-caption {
  font-family: var(--font-serif);
  font-size: 1.12rem;
}

.lightbox-counter {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.94rem;
}

.lightbox-control,
.lightbox-close {
  position: absolute;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  cursor: pointer;
  backdrop-filter: blur(10px);
  transition: transform 0.2s ease, background-color 0.2s ease;
}

.lightbox-control:hover,
.lightbox-control:focus-visible,
.lightbox-close:hover,
.lightbox-close:focus-visible {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.16);
  outline: none;
}

.lightbox-control {
  top: 50%;
  transform: translateY(-50%);
}

.lightbox-control.prev {
  left: 18px;
}

.lightbox-control.next {
  right: 18px;
}

.lightbox-close {
  top: 18px;
  right: 18px;
}

.timeline {
  display: grid;
  gap: 16px;
}

.timeline-row {
  display: grid;
  grid-template-columns: minmax(170px, 220px) 1fr;
  gap: 18px;
  align-items: start;
  padding: 22px 24px;
}

.timeline-row strong {
  color: var(--leaf-deep);
}

.doc-list {
  display: grid;
  gap: 16px;
}

.doc-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 24px;
}

.button-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border: 1px solid rgba(5, 150, 105, 0.2);
  border-radius: var(--radius-pill);
  background: linear-gradient(135deg, var(--leaf), #047857);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  box-shadow: 0 4px 14px rgba(5, 150, 105, 0.35);
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.button-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(5, 150, 105, 0.45);
  background: linear-gradient(135deg, var(--leaf-soft), var(--leaf));
}

.button-link.secondary {
  background: #ffffff;
  color: var(--text);
  border: 1px solid var(--line-strong);
  box-shadow: var(--shadow-sm);
}

.button-link.secondary:hover {
  background: var(--surface-soft);
  color: var(--leaf);
  border-color: rgba(5, 150, 105, 0.4);
  box-shadow: var(--shadow-soft);
}

.qr-card {
  max-width: 240px;
}

.site-footer {
  position: relative;
  margin-top: 64px;
  padding: 64px 0 32px;
  color: rgba(255, 255, 255, 0.85);
  background:
    radial-gradient(circle at top left, rgba(6, 182, 212, 0.08), transparent 32%),
    radial-gradient(circle at top right, rgba(16, 185, 129, 0.08), transparent 32%),
    linear-gradient(180deg, #0f172a 0%, #090d16 100%);
}

.site-footer::before {
  content: "";
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--leaf), var(--cyan), var(--leaf-soft));
}

.footer-brandbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  margin-bottom: 28px;
  padding: 26px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.06);
}

.footer-lockup {
  display: flex;
  align-items: center;
  gap: 16px;
  max-width: 520px;
}

.footer-seal {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  padding: 10px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.92);
}

.footer-seal img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.footer-lockup strong {
  display: block;
  margin-bottom: 6px;
  font-family: var(--font-serif);
  font-size: 1.35rem;
  color: #fff;
}

.footer-lockup p {
  color: rgba(255, 255, 255, 0.75);
}

.footer-partners {
  display: grid;
  grid-template-columns: repeat(5, minmax(74px, 96px));
  gap: 12px;
  align-items: stretch;
}

.footer-partner-tile {
  display: grid;
  place-items: center;
  min-height: 76px;
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 14px 26px rgba(7, 17, 10, 0.16);
}

.footer-partners img {
  width: 100%;
  max-height: 50px;
  object-fit: contain;
  filter: none;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.footer-card {
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.06);
}

.footer-card h2 {
  margin: 0 0 16px;
  color: #fff;
  font-size: 0.94rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.footer-card p + p {
  margin-top: 10px;
}

.footer-card a {
  color: rgba(255, 255, 255, 0.94);
}

.footer-links {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

.footer-links a {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: 10px 14px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-pill);
  transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.footer-links a:hover,
.footer-links a:focus-visible {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.09);
  border-color: rgba(255, 255, 255, 0.24);
  outline: none;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
  margin-top: 26px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.95rem;
}

.footer-mini-logos {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.footer-mini-logos img {
  width: 44px;
  height: 44px;
  padding: 7px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.96);
  object-fit: contain;
  filter: none;
}

body.is-lightbox-open {
  overflow: hidden;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .slide,
  .slider-control,
  .slider-dots button,
  .nav-toggle span,
  .nav-caret,
  .subnav {
    transition: none;
  }

  .news-track p {
    white-space: normal;
    padding-left: 0;
    animation: none;
  }
}

@media (max-width: 1280px) {
  .header-inner {
    gap: 14px;
  }

  .brand-text span {
    display: none;
  }

  .nav-list {
    gap: 2px;
  }

  .nav-link,
  .nav-button {
    padding: 0.58rem 0.68rem;
    font-size: 0.88rem;
    gap: 5px;
  }

  .header-cta {
    padding: 8px 14px;
    font-size: 0.84rem;
  }
}

@media (max-width: 1140px) {
  .header-inner {
    gap: 16px;
  }

  .brand-text span {
    display: none;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 12px);
    left: 16px;
    right: 16px;
    display: none;
    margin-left: 0;
    padding: 16px;
    max-height: calc(100vh - 110px);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    border: 1px solid rgba(47, 106, 62, 0.12);
    border-radius: 24px;
    background: linear-gradient(180deg, rgba(255, 251, 243, 0.99), rgba(245, 241, 232, 0.98));
    box-shadow: var(--shadow-lg);
  }

  .site-nav.is-open {
    display: block;
  }

  .nav-list {
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
  }

  .nav-link,
  .nav-button {
    width: 100%;
    justify-content: space-between;
    padding: 0.84rem 1rem;
    font-size: 0.98rem;
    border-radius: 16px;
  }

  .header-cta {
    display: flex;
    justify-content: center;
    width: 100%;
    margin-top: 8px;
    padding: 12px 18px;
    font-size: 0.95rem;
    text-align: center;
  }

  .subnav,
  .subnav .subnav,
  .nav-list > .nav-item.has-dropdown > .subnav {
    position: static;
    min-width: 0;
    margin-top: 8px;
    padding: 8px 0 0 16px;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    transform: none;
    display: none;
  }

  .nav-item:hover > .subnav,
  .nav-item:focus-within > .subnav {
    display: none;
  }

  .nav-item.is-open > .subnav {
    display: block;
  }

  .nav-item.has-dropdown::after,
  .subnav .nav-item.has-dropdown::after {
    content: none;
  }

  .hero-overlay-inner,
  .about-shell,
  .footer-brandbar,
  .footer-grid,
  .people-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .projects-shell,
  .team-cluster-grid {
    grid-template-columns: 1fr;
  }

  .projects-grid,
  .team-lead-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .core-grid {
    grid-template-columns: repeat(2, minmax(0, 248px));
  }

  .footer-brandbar {
    display: grid;
  }

  .footer-partners {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }

  .card-grid.three-up,
  .activity-links,
  .gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .activity-hero {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 980px) {
  .hero-slider--home {
    min-height: auto;
    border-radius: 0 0 32px 32px;
  }

  .hero-slider--home .slider-viewport {
    min-height: auto;
    aspect-ratio: 16 / 9;
  }

  .slider-viewport {
    min-height: 240px;
    aspect-ratio: 16 / 9;
    position: relative;
  }

  /* Anchor slider controls to the image viewport */
  .hero-slider .slider-control {
    top: clamp(100px, 22vw, 150px);
    width: 40px;
    height: 40px;
    font-size: 0.95rem;
  }

  .hero-slider .slider-control.prev {
    left: 12px;
  }

  .hero-slider .slider-control.next {
    right: 12px;
  }

  .hero-slider .slider-dots {
    top: calc(clamp(190px, 42vw, 280px) - 22px);
    bottom: auto;
    gap: 6px;
  }

  .hero-slider .slider-dots button {
    width: 8px;
    height: 8px;
  }

  .hero-slider .slider-dots button.is-active {
    width: 22px;
  }

  /* Hide floating badges on tablets and phones so they don't block text or controls */
  .floating-tech-badge {
    display: none !important;
  }

  .hero-overlay {
    position: static;
  }

  .hero-overlay-inner {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 20px 0 36px;
  }

  .hero-copy {
    margin: 0;
    padding: 8px 0 0;
    max-width: none;
  }

  .hero-copy h1 {
    font-size: clamp(1.75rem, 5.5vw, 2.35rem);
    line-height: 1.2;
    letter-spacing: -0.015em;
    margin: 12px 0 10px;
  }

  .hero-copy p {
    font-size: 0.96rem;
    line-height: 1.55;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 18px;
    max-width: none;
  }

  .hero-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 100%;
    margin-top: 16px;
  }

  .hero-actions .button-link {
    width: 100%;
    justify-content: center;
    text-align: center;
    padding: 12px 18px;
    font-size: 0.92rem;
  }

  @media (min-width: 520px) and (max-width: 980px) {
    .hero-actions {
      flex-direction: row;
      flex-wrap: wrap;
    }
    .hero-actions .button-link {
      width: auto;
    }
  }

  .hero-panel {
    max-width: 100%;
    width: 100%;
    margin: 0;
    padding: 0;
  }

  .crop-switcher-container {
    padding: 20px 18px;
    border-radius: 20px;
  }

  .logo-strip {
    margin-top: 18px;
  }

  .logo-strip-heading,
  .projects-grid,
  .split-layout,
  .two-column,
  .methodology-grid,
  .text-columns,
  .values-grid,
  .team-lead-grid,
  .team-cluster-grid,
  .project-person-grid,
  .about-shell,
  .footer-brandbar {
    grid-template-columns: 1fr;
  }

  .timeline-row,
  .doc-item {
    grid-template-columns: 1fr;
  }

  .doc-item {
    align-items: flex-start;
    flex-direction: column;
  }

  .lightbox-overlay {
    padding: 24px 18px;
  }
}

@media (max-width: 720px) {
  :root {
    --header-height: 76px;
    --container: min(calc(100vw - 32px), 100%);
  }

  .header-inner {
    gap: 12px;
    min-height: 76px;
  }

  .brand {
    gap: 10px;
  }

  .brand-badge {
    width: 44px;
    height: 44px;
    min-width: 44px;
    min-height: 44px;
    border-radius: 12px;
    padding: 3px;
  }

  .brand-text strong {
    font-size: 1.1rem;
  }

  .brand-text span {
    display: none;
  }

  .nav-toggle {
    width: 44px;
    height: 44px;
    border-radius: 12px;
  }

  .site-nav {
    top: calc(100% + 8px);
    left: 12px;
    right: 12px;
    padding: 14px;
    border-radius: 20px;
    max-height: calc(100vh - 96px);
  }

  .nav-link,
  .nav-button {
    padding: 0.74rem 0.9rem;
    font-size: 0.92rem;
    border-radius: 14px;
  }

  .logo-strip-shell,
  .news-inner,
  .projects-intro,
  .surface-panel,
  .info-card,
  .project-card,
  .team-list,
  .note-card,
  .footer-card {
    padding: 20px 16px;
    border-radius: 20px;
  }

  .about-shell {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .about-story {
    padding: 22px 18px;
    border-radius: 20px;
  }

  .about-figure img {
    min-height: 200px;
    max-height: 300px;
  }

  .footer-brandbar {
    padding: 24px 18px;
    grid-template-columns: 1fr;
    gap: 22px;
    border-radius: 24px;
  }

  .footer-lockup {
    max-width: 100%;
    gap: 14px;
  }

  .footer-seal {
    width: 52px;
    height: 52px;
    border-radius: 16px;
  }

  .footer-lockup strong {
    font-size: 1.2rem;
  }

  .footer-lockup p {
    font-size: 0.88rem;
  }

  .footer-partners {
    grid-template-columns: repeat(auto-fit, minmax(84px, 1fr));
    gap: 8px;
    width: 100%;
  }

  .footer-partner-tile {
    min-height: 64px;
    padding: 8px;
    border-radius: 12px;
  }

  .logo-list,
  .card-grid.three-up,
  .card-grid.two-up,
  .activity-links,
  .gallery-grid,
  .people-grid,
  .core-grid,
  .projects-stats,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .logo-strip-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .news-inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .news-track {
    width: 100%;
  }

  .news-track p {
    white-space: normal;
    padding-left: 0;
    animation: none;
  }

  .slider-progress {
    left: 14px;
    right: 14px;
    bottom: 50px;
  }

  .activity-tablist,
  .activity-panel,
  .activity-kpis {
    grid-template-columns: 1fr;
  }

  .activity-panel {
    padding: 20px 16px;
    border-radius: 20px;
  }

  .team-lead-card,
  .project-person {
    grid-template-columns: 1fr;
  }

  .team-lead-card img,
  .project-person img {
    width: 80px;
    height: 80px;
  }

  .lightbox-overlay {
    padding: 16px 10px;
  }

  .lightbox-control,
  .lightbox-close {
    width: 44px;
    height: 44px;
  }

  .lightbox-control.prev {
    left: 8px;
  }

  .lightbox-control.next,
  .lightbox-close {
    right: 8px;
  }

  .lightbox-meta {
    align-items: flex-start;
    flex-direction: column;
  }

  .page-banner {
    min-height: auto;
  }

  .page-banner .container {
    padding: 64px 0 28px;
  }

  .page-banner h1 {
    max-width: none;
    font-size: clamp(1.4rem, 5.2vw, 1.95rem);
    line-height: 1.24;
    letter-spacing: -0.015em;
    margin: 10px 0 8px;
  }

  .page-banner p {
    font-size: 0.92rem;
    line-height: 1.5;
  }
}

/* ==========================================================================
   AGRI-EXCELLENCE EXTENDED DESIGN SYSTEM & INTERACTIVE COMPONENTS
   ========================================================================== */

/* Skip Link for Accessibility */
.skip-link {
  position: absolute;
  top: -100px;
  left: 20px;
  z-index: 1000;
  padding: 12px 20px;
  background: var(--leaf-deep);
  color: #ffffff;
  font-weight: 700;
  border-radius: var(--radius-xs);
  box-shadow: var(--shadow-lg);
  transition: top 0.2s ease;
  text-decoration: none;
}

.skip-link:focus {
  top: 20px;
  outline: 3px solid var(--gold);
}

/* Focus Utility */
:focus-visible {
  outline: 3px solid var(--leaf-glow);
  outline-offset: 2px;
}

/* Header Live Hackathon CTA */
.header-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: var(--radius-pill);
  background: linear-gradient(135deg, var(--leaf-deep), var(--leaf));
  color: #ffffff !important;
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  box-shadow: 0 4px 14px rgba(12, 36, 18, 0.25);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  white-space: nowrap;
}

.header-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(16, 185, 129, 0.35);
  background: linear-gradient(135deg, var(--leaf), #1e7542);
}

.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--leaf-glow);
  box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
  animation: pulse-ring 1.8s infinite;
}

@keyframes pulse-ring {
  0% {
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
  }
  70% {
    box-shadow: 0 0 0 8px rgba(16, 185, 129, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0);
  }
}

/* Live Status Chip */
.status-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.3);
  color: #0b4f2c;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* Impact Metrics Strip */
.metrics-strip {
  position: relative;
  z-index: 10;
  margin-top: -36px;
  padding: 0 0 40px;
}

.metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.metric-card {
  padding: 24px 20px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(28, 54, 34, 0.1);
  box-shadow: var(--shadow-soft);
  text-align: center;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.metric-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(16, 185, 129, 0.3);
}

.metric-number {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 3.2vw, 3rem);
  font-weight: 800;
  line-height: 1;
  color: var(--leaf-deep);
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 2px;
}

.metric-suffix {
  font-size: 1.6rem;
  color: var(--gold);
}

.metric-label {
  margin-top: 8px;
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--text);
}

.metric-sub {
  margin-top: 4px;
  font-size: 0.78rem;
  color: var(--muted);
}

/* Interactive Hero Crop Switcher */
.crop-switcher-container {
  margin-top: 0;
  padding: 24px;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.8);
  box-shadow: 0 20px 45px -10px rgba(15, 23, 42, 0.15), 0 0 25px rgba(16, 185, 129, 0.12);
  color: var(--text);
}

.crop-switcher-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.crop-switcher-title {
  font-size: 0.85rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--leaf);
}

.crop-nav-tabs {
  display: flex;
  gap: 8px;
  background: var(--surface-soft);
  padding: 5px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--line);
  margin-bottom: 20px;
}

.crop-tab-btn {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 8px 16px;
  border: 1px solid transparent;
  border-radius: var(--radius-pill);
  background: transparent;
  color: var(--muted);
  font-weight: 700;
  font-size: 0.88rem;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.crop-tab-btn:hover {
  color: var(--leaf);
  background: rgba(255, 255, 255, 0.8);
}

.crop-tab-btn.is-active {
  background: #ffffff;
  color: var(--leaf);
  border-color: rgba(5, 150, 105, 0.2);
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.08);
}

.crop-panel-display {
  display: grid;
  grid-template-columns: 1fr 140px;
  gap: 16px;
  align-items: center;
  animation: cropFadeIn 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.crop-panel-info h3 {
  margin: 0 0 6px;
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--leaf-deep);
}

.crop-panel-info p {
  margin: 0 0 10px;
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.5;
}

.crop-tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.crop-tag {
  display: inline-block;
  padding: 4px 10px;
  border-radius: var(--radius-xs);
  background: rgba(27, 99, 54, 0.12);
  color: #0c3619;
  font-size: 0.78rem;
  font-weight: 700;
}

.crop-panel-thumb {
  width: 140px;
  height: 95px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}

.crop-panel-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.crop-panel-thumb:hover img {
  transform: scale(1.05);
}

/* Hackathon Live Countdown */
.hackathon-banner-box {
  margin: 24px 0 36px;
  padding: 32px 28px;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, #0a1f13 0%, #153b24 60%, #1a492d 100%);
  color: #ffffff;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(16, 185, 129, 0.2);
  position: relative;
  overflow: hidden;
}

.hackathon-banner-box::before {
  content: "";
  position: absolute;
  top: -80px;
  right: -80px;
  width: 240px;
  height: 240px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.25), transparent 70%);
  pointer-events: none;
}

.countdown-flex {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}

.countdown-intro {
  max-width: 480px;
}

.countdown-intro .badge-amber {
  display: inline-block;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  background: rgba(245, 158, 11, 0.2);
  border: 1px solid rgba(245, 158, 11, 0.4);
  color: #fbbf24;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 10px;
}

.countdown-intro h2 {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.4vw, 2.1rem);
  color: #ffffff;
  margin: 0 0 8px;
}

.countdown-intro p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.92rem;
  margin: 0;
}

.countdown-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.countdown-card {
  min-width: 76px;
  padding: 14px 10px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  text-align: center;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.countdown-value {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 2.6vw, 2.4rem);
  font-weight: 800;
  line-height: 1;
  color: #ffffff;
}

.countdown-unit {
  display: block;
  margin-top: 4px;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.65);
  font-weight: 700;
}

.countdown-cta-wrap {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* Sub-Thematic Area Explorer */
.subtheme-controls {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin: 24px 0;
}

.subtheme-filter-btn {
  padding: 8px 18px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--line);
  background: #ffffff;
  color: var(--text);
  font-size: 0.88rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
}

.subtheme-filter-btn:hover {
  background: var(--surface-soft);
  border-color: var(--leaf);
}

.subtheme-filter-btn.is-active {
  background: var(--leaf-deep);
  color: #ffffff;
  border-color: var(--leaf-deep);
}

.subtheme-card-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.subtheme-tile {
  padding: 24px;
  border-radius: var(--radius-md);
  background: #ffffff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  transition: all 0.25s ease;
  position: relative;
  overflow: hidden;
}

.subtheme-tile::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--leaf), var(--gold));
}

.subtheme-tile:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-soft);
  border-color: rgba(27, 99, 54, 0.3);
}

.subtheme-tile.is-hidden {
  display: none !important;
}

.subtheme-code-badge {
  display: inline-block;
  padding: 4px 10px;
  border-radius: var(--radius-xs);
  background: rgba(27, 99, 54, 0.1);
  color: var(--leaf-deep);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.82rem;
  margin-bottom: 10px;
}

.subtheme-tile h3 {
  margin: 0 0 10px;
  font-family: var(--font-display);
  font-size: 1.12rem;
  color: var(--leaf-deep);
}

.subtheme-tile p {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.6;
  margin: 0;
}

/* Interactive Proposal / Registration Modal */
.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: rgba(10, 24, 15, 0.7);
  backdrop-filter: blur(8px);
  display: grid;
  place-items: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.modal-backdrop.is-open {
  opacity: 1;
  pointer-events: auto;
}

.modal-dialog-box {
  width: min(640px, 100%);
  max-height: 90vh;
  overflow-y: auto;
  border-radius: var(--radius-lg);
  background: #ffffff;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(255, 255, 255, 0.3);
  padding: 32px;
  transform: scale(0.95) translateY(12px);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-backdrop.is-open .modal-dialog-box {
  transform: scale(1) translateY(0);
}

.modal-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}

.modal-top h2 {
  margin: 0 0 4px;
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--leaf-deep);
}

.modal-top p {
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
}

.modal-close-trigger {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--surface-soft);
  color: var(--text);
  font-size: 1.3rem;
  line-height: 1;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: background 0.2s ease;
}

.modal-close-trigger:hover {
  background: rgba(220, 38, 38, 0.1);
  color: #dc2626;
  border-color: rgba(220, 38, 38, 0.2);
}

.form-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-field-group {
  margin-bottom: 16px;
}

.form-field-group label {
  display: block;
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--text);
  margin-bottom: 6px;
}

.form-field-group label span {
  color: #dc2626;
}

.form-input-text,
.form-input-select,
.form-input-textarea {
  width: 100%;
  padding: 10px 14px;
  border-radius: var(--radius-xs);
  border: 1px solid var(--line-strong);
  background: #ffffff;
  color: var(--text);
  font-size: 0.92rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-input-text:focus,
.form-input-select:focus,
.form-input-textarea:focus {
  border-color: var(--leaf);
  outline: none;
  box-shadow: var(--ring-focus);
}

.form-actions-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: 24px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.demo-autofill-btn {
  padding: 8px 14px;
  border-radius: var(--radius-pill);
  border: 1px dashed var(--leaf);
  background: rgba(27, 99, 54, 0.06);
  color: var(--leaf-deep);
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
}

.demo-autofill-btn:hover {
  background: rgba(27, 99, 54, 0.14);
}

.form-feedback-panel {
  display: none;
  padding: 20px;
  border-radius: var(--radius-sm);
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.35);
  color: #064e3b;
  text-align: center;
  margin-top: 16px;
}

.form-feedback-panel.is-visible {
  display: block;
}

/* Gallery Filter Bar */
.gallery-filter-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 28px;
  padding: 8px;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  width: fit-content;
}

.gallery-filter-btn {
  padding: 8px 18px;
  border-radius: var(--radius-pill);
  border: 1px solid transparent;
  background: transparent;
  color: var(--muted);
  font-weight: 700;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.gallery-filter-btn:hover {
  color: var(--leaf);
  background: var(--surface-soft);
  border-color: rgba(5, 150, 105, 0.2);
}

.gallery-filter-btn.is-active {
  background: var(--leaf);
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(5, 150, 105, 0.35);
}

.gallery-card.is-filtered-out {
  display: none !important;
}

/* Responsive Overrides */
@media (max-width: 980px) {
  .metrics-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .crop-panel-display {
    grid-template-columns: 1fr;
  }

  .crop-panel-thumb {
    width: 100%;
    height: 160px;
  }

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

  .form-grid-2 {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .metrics-strip {
    margin-top: 14px;
    padding: 0 0 24px;
  }

  .metrics-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .metric-card {
    padding: 16px 12px;
    border-radius: 16px;
  }

  .metric-number {
    font-size: 1.65rem;
  }

  .metric-label {
    font-size: 0.8rem;
    margin-top: 6px;
  }

  .metric-sub {
    font-size: 0.72rem;
  }

  .countdown-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }

  .countdown-card {
    min-width: 0;
    padding: 10px 8px;
  }

  .countdown-value {
    font-size: 1.5rem;
  }

  .hackathon-banner-box {
    padding: 20px 16px;
    border-radius: 20px;
  }

  .modal-dialog-box {
    padding: 20px 16px;
    border-radius: 20px;
  }

  .form-actions-bar {
    flex-direction: column-reverse;
    align-items: stretch;
  }

  .gallery-filter-bar {
    width: 100%;
    overflow-x: auto;
    flex-wrap: nowrap;
    -webkit-overflow-scrolling: touch;
    padding: 6px;
    gap: 6px;
    scrollbar-width: none;
  }

  .gallery-filter-bar::-webkit-scrollbar {
    display: none;
  }

  .gallery-filter-btn {
    white-space: nowrap;
    padding: 7px 14px;
    font-size: 0.82rem;
    flex-shrink: 0;
  }

  .featured-video-card {
    padding: 16px;
    border-radius: 20px;
  }

  .featured-video-copy h2 {
    font-size: 1.3rem;
  }

  .analytics-tabs-wrap {
    justify-content: flex-start;
    padding: 0 4px;
    margin-bottom: 20px;
  }

  .analytics-tabs {
    width: 100%;
    padding: 4px;
    gap: 4px;
    scrollbar-width: none;
  }

  .analytics-tabs::-webkit-scrollbar {
    display: none;
  }

  .analytics-tab-btn {
    padding: 8px 14px;
    font-size: 0.82rem;
    flex-shrink: 0;
  }

  .analytics-card {
    padding: 18px 14px;
    border-radius: 18px;
  }

  .analytics-ribbon {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    padding: 14px 16px;
  }

  .comm-hero {
    padding: 100px 0 40px;
  }

  .comm-hero h1 {
    font-size: clamp(1.6rem, 6vw, 2.2rem);
  }

  .comm-filter-section {
    padding: 14px 0;
  }

  .filter-row {
    gap: 8px;
  }

  .filter-btn {
    padding: 5px 12px;
    font-size: 0.8rem;
  }
}

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

/* ==========================================================================
   MODERN MOTION SUITE & TECH PARTICLES CANVAS
   ========================================================================== */

#tech-particles {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

.floating-tech-badge {
  position: absolute;
  z-index: 4;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  background: rgba(15, 23, 42, 0.75);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25), 0 0 15px rgba(16, 185, 129, 0.2);
  color: #ffffff;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  pointer-events: none;
}

.floating-tech-badge.badge-top {
  top: 15%;
  right: 5%;
  animation: floatBadgeA 5s ease-in-out infinite;
}

.floating-tech-badge.badge-bottom {
  bottom: 12%;
  left: 6%;
  animation: floatBadgeB 6s ease-in-out infinite;
}

@keyframes floatBadgeA {
  0%, 100% {
    transform: translateY(0px) rotate(0deg);
  }
  50% {
    transform: translateY(-10px) rotate(1deg);
  }
}

@keyframes floatBadgeB {
  0%, 100% {
    transform: translateY(0px) rotate(0deg);
  }
  50% {
    transform: translateY(8px) rotate(-1deg);
  }
}

.pulse-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
  animation: pulseGlow 2s infinite;
}

.pulse-dot.cyan {
  background: #06b6d4;
  box-shadow: 0 0 0 0 rgba(6, 182, 212, 0.7);
  animation: pulseGlowCyan 2s infinite;
}

@keyframes pulseGlow {
  0% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
  }
  70% {
    transform: scale(1);
    box-shadow: 0 0 0 8px rgba(16, 185, 129, 0);
  }
  100% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0);
  }
}

@keyframes pulseGlowCyan {
  0% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(6, 182, 212, 0.7);
  }
  70% {
    transform: scale(1);
    box-shadow: 0 0 0 8px rgba(6, 182, 212, 0);
  }
  100% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(6, 182, 212, 0);
  }
}

/* Fallback visibility for AOS if blocked or offline */
[data-aos] {
  pointer-events: auto;
}

/* Tilt and 3D Micro-interactions */
.tilt-card {
  position: relative;
  transform-style: preserve-3d;
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.2s ease;
}

.tilt-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(
    circle at var(--glare-x, 50%) var(--glare-y, 50%),
    rgba(255, 255, 255, 0.25) 0%,
    rgba(255, 255, 255, 0.05) 45%,
    transparent 70%
  );
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
  z-index: 2;
}

.tilt-card:hover {
  box-shadow: 0 20px 35px -10px rgba(16, 185, 129, 0.15), 0 10px 15px -3px rgba(15, 23, 42, 0.08);
}

.tilt-card:hover::before {
  opacity: 1;
}

@media (hover: none) and (pointer: coarse) {
  .tilt-card {
    transform: none !important;
  }
  .tilt-card::before {
    display: none !important;
  }
}

/* Metric Counter High-Impact Styling */
.metric-tile {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.metric-tile:hover {
  transform: translateY(-4px);
  border-color: rgba(16, 185, 129, 0.4);
}

.metric-number {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 4vw, 3.2rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  background: linear-gradient(135deg, var(--text), var(--leaf));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ==========================================================================
   INTERACTIVE AI ANALYTICS DASHBOARD
   ========================================================================== */
.section-analytics {
  position: relative;
  background: linear-gradient(180deg, #f8fafc 0%, #ffffff 40%, #f1f5f9 100%);
  padding: 64px 0 80px;
}

.analytics-tabs-wrap {
  display: flex;
  justify-content: center;
  margin-bottom: 32px;
}

.analytics-tabs {
  display: inline-flex;
  gap: 8px;
  padding: 6px;
  background: var(--surface-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-sm);
  max-width: 100%;
  overflow-x: auto;
}

.analytics-tab-btn {
  padding: 10px 22px;
  border-radius: var(--radius-pill);
  border: 1px solid transparent;
  background: transparent;
  color: var(--muted);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.92rem;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  white-space: nowrap;
}

.analytics-tab-btn:hover {
  color: var(--leaf);
  background: rgba(255, 255, 255, 0.85);
}

.analytics-tab-btn.is-active {
  background: #ffffff;
  color: var(--leaf);
  border-color: rgba(5, 150, 105, 0.25);
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.08);
}

.analytics-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin-bottom: 28px;
}

.analytics-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 26px;
  border-radius: var(--radius-md);
  background: #ffffff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s ease;
}

.analytics-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 35px -10px rgba(16, 185, 129, 0.12), 0 10px 15px -3px rgba(15, 23, 42, 0.06);
  border-color: rgba(16, 185, 129, 0.35);
}

.card-header-compact {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}

.badge-mini {
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--leaf);
}

.speed-boost-badge {
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  background: rgba(16, 185, 129, 0.12);
  color: var(--leaf);
  font-weight: 800;
  font-size: 0.8rem;
  letter-spacing: 0.02em;
}

.sensor-info-chip {
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  background: rgba(6, 182, 212, 0.12);
  color: #0891b2;
  font-weight: 700;
  font-size: 0.78rem;
}

/* Gauge SVG */
.gauge-wrap {
  position: relative;
  display: grid;
  place-items: center;
  margin: 14px auto 4px;
}

.gauge-svg {
  transform: rotate(-90deg);
}

.gauge-circle-bg {
  fill: none;
  stroke: var(--surface-soft);
  stroke-width: 12;
}

.gauge-circle-val {
  fill: none;
  stroke: url(#emerald-cyan-grad);
  stroke-width: 12;
  stroke-linecap: round;
  stroke-dasharray: 427.26;
  stroke-dashoffset: 80;
  transition: stroke-dashoffset 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.gauge-text-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.gauge-number {
  font-family: var(--font-display);
  font-size: 2.6rem;
  font-weight: 800;
  line-height: 1;
  color: var(--text);
  letter-spacing: -0.02em;
}

.gauge-unit {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--muted);
  margin-top: 4px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Speed Rows */
.speed-row {
  margin-bottom: 16px;
}

.speed-meta {
  display: flex;
  justify-content: space-between;
  margin-bottom: 6px;
  font-size: 0.88rem;
  font-weight: 700;
}

.bar-track {
  width: 100%;
  height: 10px;
  background: var(--surface-soft);
  border-radius: var(--radius-pill);
  overflow: hidden;
}

.bar-fill {
  height: 100%;
  border-radius: var(--radius-pill);
  transition: width 0.9s cubic-bezier(0.16, 1, 0.3, 1);
}

.bar-fill-muted {
  background: #94a3b8;
}

.bar-fill-emerald {
  background: linear-gradient(90deg, var(--leaf), var(--cyan));
}

/* Accuracy List & Tooltips */
.accuracy-item {
  position: relative;
  margin-bottom: 14px;
  padding: 4px 6px;
  border-radius: var(--radius-xs);
  transition: background 0.2s ease;
}

.accuracy-item:hover,
.accuracy-item:focus-within {
  background: var(--surface-soft);
}

.accuracy-meta {
  display: flex;
  justify-content: space-between;
  margin-bottom: 4px;
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--text);
}

.accuracy-pct {
  color: var(--leaf);
  font-weight: 800;
}

.accuracy-tooltip {
  position: absolute;
  bottom: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%) translateY(4px);
  padding: 8px 14px;
  border-radius: 8px;
  background: rgba(15, 23, 42, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
  color: #ffffff;
  font-size: 0.78rem;
  font-weight: 500;
  line-height: 1.4;
  white-space: normal;
  width: max-content;
  max-width: 280px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  z-index: 20;
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
}

.accuracy-tooltip::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border: 5px solid transparent;
  border-top-color: rgba(15, 23, 42, 0.92);
}

.accuracy-item:hover .accuracy-tooltip,
.accuracy-item:focus-within .accuracy-tooltip {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

/* Ribbon */
.analytics-ribbon {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-around;
  gap: 16px;
  padding: 16px 24px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}

.ribbon-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  color: var(--text);
}

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

/* ==========================================================================
   Commercialisation Portal Styles
   ========================================================================== */

.comm-hero {
  position: relative;
  padding: 140px 0 60px;
  background: radial-gradient(circle at 80% 20%, rgba(6, 182, 212, 0.15) 0%, transparent 50%),
              radial-gradient(circle at 20% 80%, rgba(16, 185, 129, 0.15) 0%, transparent 50%),
              linear-gradient(180deg, #0b1510 0%, #0f172a 100%);
  color: #f8fafc;
  overflow: hidden;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.comm-hero-inner {
  max-width: 920px;
  margin: 0 auto;
  text-align: center;
}

.comm-hero-badges {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 22px;
}

.comm-agency-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #38bdf8;
  backdrop-filter: blur(8px);
}

.comm-hero h1 {
  font-size: clamp(2.2rem, 4.2vw, 3.4rem);
  line-height: 1.16;
  font-weight: 800;
  margin-bottom: 18px;
  letter-spacing: -0.02em;
  color: #ffffff;
}

.comm-hero h1 .gradient-text {
  background: linear-gradient(135deg, #34d399 0%, #06b6d4 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.comm-hero p.lead-text {
  font-size: clamp(1.05rem, 1.8vw, 1.25rem);
  color: #94a3b8;
  line-height: 1.6;
  margin-bottom: 32px;
}

.comm-hero-actions {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* KPI Banner */
.comm-kpi-strip {
  padding: 38px 0;
  background: #ffffff;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.comm-kpi-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
}

.comm-kpi-card {
  padding: 24px;
  border-radius: 16px;
  background: rgba(248, 250, 252, 0.9);
  border: 1px solid rgba(226, 232, 240, 0.95);
  text-align: center;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.comm-kpi-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 28px -8px rgba(0, 0, 0, 0.08);
}

.comm-kpi-num {
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--primary, #059669);
  line-height: 1;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.comm-kpi-label {
  font-size: 0.95rem;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 4px;
}

.comm-kpi-desc {
  font-size: 0.82rem;
  color: #64748b;
  line-height: 1.45;
}

/* Filter Controls */
.comm-filter-section {
  padding: 24px 0;
  background: rgba(248, 250, 252, 0.95);
  border-bottom: 1px solid #e2e8f0;
  position: sticky;
  top: 72px;
  z-index: 40;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.comm-filter-wrap {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.filter-row {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.filter-title {
  font-size: 0.8rem;
  text-transform: uppercase;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: #64748b;
  min-width: 90px;
}

.filter-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.filter-btn {
  padding: 6px 16px;
  border-radius: 999px;
  font-size: 0.86rem;
  font-weight: 600;
  background: #ffffff;
  border: 1px solid #cbd5e1;
  color: #475569;
  cursor: pointer;
  transition: all 0.2s ease;
}

.filter-btn:hover {
  background: #f1f5f9;
  border-color: #94a3b8;
  color: #0f172a;
}

.filter-btn.is-active {
  background: var(--primary, #059669);
  color: #ffffff;
  border-color: var(--primary, #059669);
  box-shadow: 0 4px 12px rgba(5, 150, 105, 0.25);
}

.filter-status-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.88rem;
  color: #64748b;
  padding-top: 4px;
  border-top: 1px dashed #e2e8f0;
  margin-top: 4px;
}

/* Technology Cards Grid */
.comm-catalog {
  padding: 60px 0 80px;
  background: #ffffff;
}

.comm-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr));
  gap: 32px;
}

.comm-card {
  background: #ffffff;
  border-radius: 20px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 4px 20px -4px rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.comm-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 36px -10px rgba(0, 0, 0, 0.1);
  border-color: rgba(5, 150, 105, 0.45);
}

.comm-card.is-hidden {
  display: none !important;
}

.comm-card-header {
  padding: 20px 24px 16px;
  border-bottom: 1px solid #f1f5f9;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
}

.trl-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: 8px;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.trl-badge.trl-8 {
  background: rgba(16, 185, 129, 0.14);
  color: #047857;
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.trl-badge.trl-7 {
  background: rgba(245, 158, 11, 0.14);
  color: #b45309;
  border: 1px solid rgba(245, 158, 11, 0.3);
}

.crop-tag-chip {
  font-size: 0.78rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 6px;
  background: #f1f5f9;
  color: #334155;
}

.comm-card-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.comm-card-title {
  font-size: 1.35rem;
  font-weight: 800;
  line-height: 1.25;
  color: #0f172a;
  margin-bottom: 8px;
}

.comm-card-partners {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  color: #64748b;
  margin-bottom: 16px;
}

.comm-card-partners strong {
  color: #334155;
}

.comm-metric-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 10px;
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  color: #065f46;
  font-size: 0.86rem;
  font-weight: 700;
  margin-bottom: 16px;
}

.comm-card-desc {
  font-size: 0.92rem;
  color: #475569;
  line-height: 1.55;
  margin-bottom: 18px;
}

.comm-points {
  list-style: none;
  padding: 0;
  margin: 0 0 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.comm-points li {
  font-size: 0.86rem;
  color: #334155;
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.comm-points li::before {
  content: "✓";
  color: var(--primary, #059669);
  font-weight: 800;
  font-size: 0.9rem;
  line-height: 1.2;
}

/* Expandable Datasheet Accordion */
.spec-accordion {
  border-top: 1px solid #f1f5f9;
  margin-top: auto;
  padding-top: 16px;
}

.spec-toggle-btn {
  background: transparent;
  border: none;
  color: #0284c7;
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 8px 0;
  text-align: left;
}

.spec-toggle-btn:hover {
  color: #0369a1;
  text-decoration: underline;
}

.spec-drawer {
  display: none;
  padding-top: 12px;
  animation: fadeIn 0.25s ease;
}

.spec-drawer.is-open {
  display: block;
}

.spec-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.8rem;
  background: #f8fafc;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid #e2e8f0;
}

.spec-table th, .spec-table td {
  padding: 8px 12px;
  text-align: left;
  border-bottom: 1px solid #e2e8f0;
}

.spec-table th {
  background: #f1f5f9;
  color: #475569;
  font-weight: 700;
  width: 40%;
}

.spec-table td {
  color: #0f172a;
}

.comm-card-footer {
  padding: 16px 24px 24px;
  border-top: 1px solid #f1f5f9;
  display: flex;
  gap: 12px;
}

.comm-card-footer .button-link {
  width: 100%;
  text-align: center;
  justify-content: center;
}

/* Transfer Pathway Roadmap */
.comm-pathway-section {
  padding: 80px 0;
  background: #0f172a;
  color: #f8fafc;
}

.pathway-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
  margin-top: 40px;
  position: relative;
}

.pathway-step {
  background: rgba(30, 41, 59, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 30px 24px;
  position: relative;
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.pathway-step:hover {
  transform: translateY(-4px);
  border-color: rgba(52, 211, 153, 0.5);
}

.step-num {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: linear-gradient(135deg, #059669, #06b6d4);
  color: #ffffff;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  margin-bottom: 20px;
}

.step-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 10px;
}

.step-desc {
  font-size: 0.88rem;
  color: #94a3b8;
  line-height: 1.5;
}

/* EoI Section & Modal */
.comm-eoi-section {
  padding: 80px 0;
  background: #f8fafc;
}

.eoi-shell {
  max-width: 860px;
  margin: 0 auto;
  background: #ffffff;
  border-radius: 24px;
  border: 1px solid #e2e8f0;
  padding: 44px;
  box-shadow: 0 16px 36px -12px rgba(0, 0, 0, 0.08);
}

.eoi-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 24px;
}

.eoi-form-full {
  grid-column: 1 / -1;
}

.eoi-form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.eoi-form-group label {
  font-size: 0.85rem;
  font-weight: 700;
  color: #1e293b;
}

.eoi-form-group input,
.eoi-form-group select,
.eoi-form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border-radius: 10px;
  border: 1px solid #cbd5e1;
  font-family: inherit;
  font-size: 0.95rem;
  background: #ffffff;
  color: #0f172a;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.eoi-form-group input:focus,
.eoi-form-group select:focus,
.eoi-form-group textarea:focus {
  outline: none;
  border-color: var(--primary, #059669);
  box-shadow: 0 0 0 3px rgba(5, 150, 105, 0.15);
}

.eoi-success-card {
  display: none;
  padding: 40px;
  text-align: center;
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  border-radius: 16px;
  animation: fadeIn 0.3s ease;
}

.eoi-success-card.is-active {
  display: block;
}

/* Modal Popup */
.eoi-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.75);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.eoi-modal-overlay.is-visible {
  display: flex;
}

.eoi-modal-box {
  background: #ffffff;
  border-radius: 20px;
  max-width: 720px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  position: relative;
  padding: 36px;
  animation: modalPop 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.eoi-modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: #f1f5f9;
  border: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #64748b;
  transition: all 0.2s ease;
}

.eoi-modal-close:hover {
  background: #e2e8f0;
  color: #0f172a;
}

@keyframes modalPop {
  from { opacity: 0; transform: scale(0.95); }
  to { opacity: 1; transform: scale(1); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@media (max-width: 768px) {
  .eoi-form-grid {
    grid-template-columns: 1fr;
  }
  .eoi-shell {
    padding: 24px;
  }
  .comm-filter-section {
    top: var(--header-height, 76px);
  }
}


