:root {
  /* Logo-driven palette: SmartRose green + rose pink */
  --background: 0 0% 100%;
  --foreground: 0 0% 10%;
  --card-token: 0 0% 100%;
  --card-foreground: 0 0% 10%;
  --primary: 145 66% 27%;
  --primary-foreground: 0 0% 100%;
  --secondary: 220 14% 97%;
  --secondary-foreground: 220 15% 18%;
  --muted-token: 220 14% 96%;
  --muted-foreground: 220 8% 38%;
  --accent: 336 88% 96%;
  --accent-foreground: 337 66% 34%;
  --border-token: 220 13% 90%;
  --ring: 145 66% 27%;
  --rose: 337 76% 60%;
  --rose-soft: 336 88% 96%;
  --rose-deep: 337 66% 44%;
  --logo-green: #0f6b45;
  --logo-green-dark: #0b5437;
  --logo-pink: #e24486;
  --logo-pink-dark: #c7276a;
  --page-green: 0 0% 100%;

  /* Aliases */
  --bg: hsl(var(--background));
  --bg-soft: hsl(var(--secondary));
  --card: hsl(var(--card-token));
  --text: hsl(var(--foreground));
  --muted: hsl(var(--muted-foreground));
  --brand: hsl(var(--primary));
  --brand-dark: hsl(var(--ring));
  --border: hsl(var(--border-token));
  --surface: 0 0% 100%;
  --hairline: 220 14% 91%;
  --accent-line: 145 66% 27%;
  --ink: #1a1a1a;
}

* {
  box-sizing: border-box;
}

body {
  position: relative;
  overflow-x: hidden;
}

html,
body {
  margin: 0;
  padding: 0;
  font-family: "Inter", system-ui, -apple-system, sans-serif;
  color: var(--text);
  background: #fff;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

.rose-bg {
  display: none;
}

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

.container {
  width: min(1440px, 95vw);
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

main > section {
  scroll-margin-top: 90px;
}

.site-header {
  min-height: 0;
  border-bottom: 1px solid hsl(var(--hairline) / 0.55);
  position: relative;
  overflow: hidden;
}

.site-header::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  width: min(420px, 55vw);
  height: min(420px, 55vw);
  border-radius: 50%;
  background: radial-gradient(circle at 40% 40%, hsl(var(--primary) / 0.06) 0 45%, transparent 46%);
  pointer-events: none;
  opacity: 1;
}

.site-header::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(180deg, rgba(12, 12, 12, 0.38) 0%, rgba(8, 8, 8, 0.68) 100%);
  pointer-events: none;
}

.hero-bg-slider {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg-layer {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0;
  transform: scale(1.03);
  transition: opacity 1100ms ease, transform 7000ms ease;
  filter: blur(3px) saturate(0.88) brightness(0.68);
}

.hero-bg-layer--active {
  opacity: 1;
  transform: scale(1);
}

.nav {
  position: fixed;
  top: 0.4rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 50;
  width: min(1450px, 96vw);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid hsl(var(--hairline) / 0.75);
  border-radius: 14px;
  box-shadow: 0 8px 28px rgba(15, 15, 15, 0.13);
  transition: background-color 220ms ease, border-color 220ms ease;
}

.nav-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  padding: 0.58rem 0.75rem;
}

.nav.nav-hidden {
  transform: none;
}

.nav.scrolled {
  background: rgba(255, 255, 255, 0.98);
  border-color: hsl(var(--hairline) / 0.65);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.brand-logo {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.nav-links {
  display: flex;
  gap: 1.3rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  color: #2f2f2f;
  font-weight: 600;
  border-radius: 999px;
  padding: 0.3rem 0.65rem;
  border: 1px solid transparent;
  transition: color 180ms ease, border-color 180ms ease, background-color 180ms ease;
}

.nav-links a:hover {
  color: var(--text);
}

.nav-links a.active {
  color: hsl(var(--primary));
  border-color: hsl(var(--primary) / 0.25);
  background: hsl(var(--primary) / 0.1);
}

.nav-toggle {
  display: none;
  background: hsl(var(--surface) / 0.5);
  color: var(--text);
  border: 1px solid hsl(var(--hairline) / 0.7);
  border-radius: 999px;
  padding: 0.45rem 0.8rem;
}

.hero {
  padding: 6.7rem 0 3.1rem;
}

.hero-stage {
  text-align: center;
  padding: 1rem 0.6rem 0;
}

.hero-logo {
  width: 132px;
  height: auto;
  object-fit: contain;
  display: block;
  margin: 0 auto 1rem;
  filter: drop-shadow(0 10px 22px rgba(0, 0, 0, 0.26));
}

.tag {
  width: fit-content;
  margin: 0 auto 1rem;
  padding: 0.42rem 1rem;
  font-size: 0.72rem;
  text-transform: none;
  letter-spacing: 0.02em;
  border-radius: 999px;
  color: #202020;
  background: rgba(255, 255, 255, 0.92);
  font-weight: 700;
  box-shadow: none;
}

.hero h1 {
  margin: 0;
  max-width: 1040px;
  font-size: clamp(2.05rem, 5vw, 3.65rem);
  line-height: 1.12;
  color: #fff;
  text-shadow: 0 3px 14px rgba(0, 0, 0, 0.38);
  margin-inline: auto;
}

.hero-copy {
  margin-top: 1.2rem;
  max-width: 900px;
  color: rgba(255, 255, 255, 0.98);
  font-size: 1.05rem;
  line-height: 1.6;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.45);
  margin-inline: auto;
}

.hero-actions {
  margin-top: 1.45rem;
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
  justify-content: center;
}

.hero-metrics {
  margin-top: 1.45rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem;
  max-width: none;
}

.metric {
  border-radius: 0;
  padding: 0.45rem 0.25rem 0.45rem 0;
  background: transparent;
  border: none;
  min-height: 0;
}

.metric-value {
  display: block;
  font-size: 1.06rem;
  font-weight: 800;
  color: #fff;
}

.metric-label {
  display: block;
  margin-top: 0.2rem;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.96);
}

.hero-inline-details {
  margin-top: 0.85rem;
  max-width: none;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
}

.hero-inline-item h3 {
  margin: 0 0 0.32rem;
  font-size: 0.95rem;
  font-weight: 700;
  color: #151515;
}

.hero-inline-item p {
  margin: 0;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.6;
  font-size: 0.94rem;
}

.hero-inline-item {
  background: transparent;
  border: none;
  border-radius: 0;
  padding: 0.15rem 0;
}

.hero-gallery {
  margin-top: 0.9rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem;
}

.hero-gallery img {
  width: 100%;
  height: 122px;
  object-fit: cover;
  border-radius: 14px;
  border: 2px solid rgba(255, 255, 255, 0.68);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.hero-details-band {
  position: relative;
  background: linear-gradient(180deg, #f9fbfa 0%, #ffffff 100%);
  padding: 1.1rem 0 1.75rem;
  border-bottom: 1px solid hsl(var(--hairline) / 0.45);
}

.hero-details-wrap {
  display: grid;
  gap: 0.85rem;
}

.detail-card {
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(15, 107, 69, 0.14);
  border-radius: 14px;
  box-shadow: 0 10px 22px rgba(14, 29, 20, 0.08);
  transition: transform 200ms ease, box-shadow 200ms ease, border-color 200ms ease;
}

.detail-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(14, 29, 20, 0.14);
  border-color: rgba(15, 107, 69, 0.3);
}

.hero-details-band .hero-metrics {
  margin-top: 0;
}

.hero-details-band .metric {
  border-radius: 14px;
  padding: 1.05rem 1rem;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(15, 107, 69, 0.14);
  min-height: 114px;
}

.hero-details-band .metric-value {
  color: #101010;
}

.hero-details-band .metric-label {
  color: #4a4a4a;
}

.hero-details-band .hero-inline-details {
  margin-top: 0;
}

.hero-details-band .hero-inline-item {
  padding: 0.9rem 1rem;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(15, 107, 69, 0.14);
  border-radius: 14px;
}

.hero-details-band .hero-inline-item h3 {
  color: #111;
}

.hero-details-band .hero-inline-item p {
  color: #434343;
}

.hero-details-band .hero-gallery {
  margin-top: 0.2rem;
}

.hero-details-band .hero-gallery img {
  height: 132px;
  border: 2px solid rgba(15, 107, 69, 0.24);
  box-shadow: 0 8px 22px rgba(12, 25, 18, 0.12);
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.hero-details-band .hero-gallery img:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(12, 25, 18, 0.2);
  border-color: rgba(15, 107, 69, 0.42);
}

.btn {
  padding: 0.68rem 1.05rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 700;
  transition: filter 200ms ease, background-color 200ms ease, box-shadow 200ms ease;
}

.btn-primary {
  background: linear-gradient(135deg, var(--logo-pink) 0%, var(--logo-pink-dark) 100%);
  color: hsl(var(--primary-foreground));
}

.btn:hover {
  filter: brightness(1.04);
  box-shadow: 0 6px 20px hsl(var(--primary) / 0.2);
}

.btn-secondary {
  border-color: hsl(var(--hairline) / 0.9);
  background: hsl(var(--surface) / 0.4);
  color: var(--text);
}

.milestone-select {
  width: 100%;
  margin-top: 0.6rem;
  border-radius: 0.6rem;
  padding: 0.6rem 0.75rem;
  border: 1px solid hsl(var(--hairline) / 0.8);
  background: hsl(var(--surface) / 0.45);
  color: var(--text);
  box-shadow: none;
}

.section {
  padding: 4rem 0;
  position: relative;
}

/* First section after hero — was visually too far from content above */
main > .section:first-child {
  padding-top: 2.35rem;
}

.alt {
  background: transparent;
  border: none;
  border-top: 1px solid hsl(var(--hairline) / 0.45);
}

h2 {
  margin: 0 0 0.35rem;
  font-size: clamp(1.65rem, 3.2vw, 2.35rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--logo-green);
  position: relative;
}

h2::before {
  content: none;
}

h3,
h4 {
  margin: 0;
}

h3 {
  line-height: 1.35;
}

.grid {
  display: grid;
  gap: 1.25rem;
}

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

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

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

.card {
  background: #fff;
  border: 1px solid #e8e8ed;
  border-radius: 0.65rem;
  padding: 1.15rem 1.2rem;
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
  height: 100%;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
}

.card p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.65;
}

.card:hover,
.asset-card:hover,
.flow-card:hover {
  transform: none;
  background: #fff;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
  border-color: #e0e0e8;
}

.section-intro { margin: 0 0 1.35rem; color: var(--muted); max-width: 52rem; line-height: 1.6; }

/* Section title + small label (Downloads, Milestones, …) */
.section-heading {
  margin-bottom: 0.35rem;
}

.section-eyebrow {
  margin: 0 0 0.35rem;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--logo-pink-dark);
}

.section-heading + .section-intro {
  margin-top: 0.5rem;
}

.video-card {
  background: #fff;
  border: 1px solid #e8e8ed;
  border-radius: 0.65rem;
  padding: 0.9rem;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
}

.video-frame-wrap {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
  border-radius: 0.5rem;
  overflow: hidden;
  background: #000;
}

.video-frame {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.milestone-lead {
  max-width: 44rem;
}

.module-card h3 {
  font-size: 1.5rem;
  color: var(--logo-green);
  margin-bottom: 0.25rem;
  font-weight: 800;
}

.module-card h4 {
  margin-top: 0.4rem;
  font-size: 1rem;
}

.domain-stack {
  display: grid;
  gap: 1.15rem;
}

/* Match .card / .flow-card: same raised surface as Methodology & modules */
.domain-block {
  background: #fff;
  border: 1px solid #e8e8ed;
  border-radius: 0.65rem;
  border-left: 3px solid hsl(var(--primary));
  padding: 1.2rem 1.2rem 1.25rem;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.domain-block:hover {
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
  border-color: #e0e0e8;
}

.domain-subeyebrow {
  margin: 0 0 0.5rem;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: hsl(var(--primary));
}

.domain-block__title {
  margin: 0 0 1.35rem;
  font-size: clamp(1.25rem, 2.4vw, 1.6rem);
  font-weight: 800;
  color: var(--ink);
  letter-spacing: -0.02em;
}

.domain-block p {
  margin: 0.5rem 0 0;
  color: #4a4a4a;
  line-height: 1.75;
  font-size: 0.98rem;
}

#domain .domain-block p + p {
  margin-top: 1.1rem;
}

/* Literature Survey — 2 columns (reference layout) */
.literature-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 2.25rem 3rem;
  margin-top: 0.75rem;
  align-items: start;
}

.literature-col--visual {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

.literature-insight {
  display: flex;
  gap: 0.9rem;
  align-items: flex-start;
  padding: 1.35rem 1.35rem;
  border: 1px solid hsl(173 45% 78%);
  border-radius: 0.75rem;
  background: hsl(150 22% 97%);
}

.literature-insight__badge {
  flex-shrink: 0;
  width: 2.1rem;
  height: 2.1rem;
  border-radius: 0.4rem;
  background: linear-gradient(145deg, hsl(142 50% 42%), hsl(160 45% 36%));
  color: #fff;
  font-size: 0.65rem;
  font-weight: 800;
  display: grid;
  place-items: center;
  line-height: 1;
}

.literature-insight p {
  margin: 0;
  font-size: 0.94rem;
  line-height: 1.65;
  color: var(--ink);
}

.literature-col--text p + p {
  margin-top: 1.15rem;
}

.literature-figure {
  margin: 0;
  padding: 1rem 1rem 0.75rem;
  border: 1px solid #e4e4ea;
  border-radius: 0.35rem;
  background: #fafafa;
  max-width: 400px; 
  margin: 0 auto;
}

.literature-figure__placeholder {
  min-height: 200px;
  display: grid;
  place-items: center;
  text-align: center;
  color: #888;
  font-size: 0.86rem;
  padding: 1rem;
}
.literature-figure__img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 0.25rem;
  border: 1px solid #ececf0;
  background: #fff;
}

.literature-figure figcaption {
  margin-top: 0.75rem;
  font-size: 0.8rem;
  color: #666;
  line-height: 1.5;
}

.literature-refs {
  margin-top: 1.85rem;
  padding-top: 1.5rem;
  border-top: 1px solid #ececf0;
}

.literature-refs h4 {
  margin: 0 0 0.65rem;
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--ink);
}

.literature-refs ol {
  margin: 0;
  padding-left: 1.1rem;
  color: #4a4a4a;
  font-size: 0.88rem;
  line-height: 1.65;
}

.literature-refs li {
  margin-bottom: 0.5rem;
  padding-left: 0.35rem;
}

/* Research Gap — 3 columns, icons (reference layout) */
.domain-gap-lead {
  max-width: 42rem;
  margin: 0 0 2.4rem;
  color: #4a4a4a;
  line-height: 1.75;
  font-size: 0.98rem;
}

.gap-cols {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2.5rem 2.25rem;
}

.gap-col {
  text-align: center;
  padding: 0.4rem 0.6rem 0.5rem;
}

.gap-col__icon {
  display: flex;
  justify-content: center;
  margin: 0 auto 1.2rem;
  width: 3.25rem;
  height: 3.25rem;
  color: hsl(142 60% 32%);
}

.gap-col__icon svg {
  width: 100%;
  height: 100%;
}

.gap-col__title {
  margin: 0 0 0.7rem;
  font-size: 1.02rem;
  font-weight: 800;
  color: var(--ink);
  line-height: 1.4;
}

.gap-col__text {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.7;
  color: #4a4a4a;
}

/* —— Vertical milestone timeline (reference style) */
.timeline-pro {
  position: relative;
  margin: 0.5rem 0 0;
  padding: 0 0 0 0.5rem;
}

.timeline-pro::before {
  content: "";
  position: absolute;
  left: 20px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--ink);
}

.timeline-pro__item {
  position: relative;
  display: flex;
  gap: 1.1rem;
  padding: 0 0 2.4rem 2.85rem;
  margin: 0;
}

.timeline-pro__item:last-child {
  padding-bottom: 0;
}

.timeline-pro__marker {
  position: absolute;
  left: 10px;
  top: 6px;
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  z-index: 1;
  background: #fff;
}

.timeline-diamond {
  width: 14px;
  height: 14px;
  border: 1px solid var(--ink);
  background: #fff;
  transform: rotate(45deg);
  position: relative;
  display: block;
}

.timeline-diamond--past::after {
  content: "";
  position: absolute;
  inset: 3px;
  background: var(--ink);
  transform: rotate(0deg);
}

.timeline-diamond--active {
  border-color: hsl(var(--primary));
}
.timeline-diamond--active::after {
  content: "";
  position: absolute;
  inset: 3px;
  background: hsl(var(--primary));
}

.timeline-pro__body {
  flex: 1;
  min-width: 0;
}

.timeline-date {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.28rem 0.5rem;
  border-radius: 3px;
  margin-bottom: 0.5rem;
}

.timeline-date--dark {
  color: #fff;
  background: var(--ink);
}

.timeline-date--teal {
  color: #fff;
  background: hsl(var(--primary));
}

.timeline-pro__title {
  margin: 0 0 0.4rem;
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--ink);
}

.timeline-pro__desc {
  margin: 0 0 0.5rem;
  color: #4a4a4a;
  font-size: 0.94rem;
  line-height: 1.6;
  max-width: 52rem;
}

.timeline-pro__marks {
  margin: 0 0 0.5rem;
  font-size: 0.9rem;
  color: var(--ink);
}
.timeline-marks-label {
  font-weight: 600;
}

.timeline-bar {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  max-width: 100%;
}
.timeline-bar__track {
  flex: 1;
  max-width: 220px;
  height: 6px;
  border-radius: 999px;
  background: #ececf2;
  overflow: hidden;
}
.timeline-bar__fill {
  height: 100%;
  border-radius: 999px;
  min-width: 2px;
  transition: width 0.4s ease;
}
.timeline-bar__fill--done {
  background: #22c55e;
}
.timeline-bar__fill--active {
  background: hsl(var(--primary));
}
.timeline-bar__pct {
  font-size: 0.72rem;
  font-weight: 700;
  color: #4a4a4a;
  min-width: 2.2rem;
}

.timeline {
  display: grid;
  gap: 0.9rem;
}

.timeline-item {
  background: var(--card);
  border-left: 3px solid var(--brand-dark);
  border-radius: 0.625rem;
  border-top: 1px solid var(--border);
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 1rem;
}

.timeline-item p {
  margin: 0.4rem 0 0;
  color: var(--muted);
}

.method-flow {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.15rem;
  margin-bottom: 1.1rem;
}

.flow-card {
  position: relative;
  padding: 1.05rem 1.1rem 1.05rem 1.15rem;
  border-radius: 0.65rem;
  border: 1px solid #e8e8ed;
  background: #fff;
  border-left: 3px solid hsl(var(--primary));
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.flow-step {
  display: inline-block;
  margin-bottom: 0.45rem;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: hsl(var(--primary-foreground));
  background: hsl(var(--primary));
  border-radius: 999px;
  padding: 0.2rem 0.5rem;
}

.flow-card h3 {
  font-size: 1rem;
  margin-bottom: 0.2rem;
}

.flow-card p {
  margin-top: 0.45rem;
  color: var(--muted);
  line-height: 1.55;
}

.method-panels {
  margin-top: 0.9rem;
}

/* —— Document / slide cards (4-col reference) */
.doc-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.25rem;
  margin-top: 0.25rem;
}

.doc-card {
  background: #fff;
  border: 1px solid #e5e5ea;
  border-radius: 0.5rem;
  padding: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
}
.doc-card:hover {
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.08);
  border-color: #ddd;
}

.doc-card__top {
  display: flex;
  gap: 0.75rem;
  padding: 1.1rem 1.1rem 0.9rem;
  align-items: flex-start;
}
.doc-card__icon {
  flex-shrink: 0;
  color: var(--ink);
  line-height: 0;
  margin-top: 2px;
}
.doc-card__title {
  margin: 0 0 0.25rem;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.35;
}
.doc-card__meta {
  margin: 0;
  font-size: 0.8rem;
  color: #6b6b76;
  line-height: 1.45;
}
.doc-card__divider {
  height: 1px;
  background: #ececf0;
  margin: 0 0.1rem;
}
.doc-card__foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.65rem 1.1rem 0.85rem;
  font-size: 0.8rem;
  color: #555;
}
.doc-card__foot span {
  color: #666;
  font-weight: 500;
}
.doc-card__action {
  color: var(--logo-green) !important;
  font-weight: 600;
  text-decoration: none;
}
.doc-card__action:hover {
  text-decoration: underline;
  text-underline-offset: 0.12em;
}
.doc-card__action--pending {
  color: #8a8a94 !important;
  font-weight: 600;
  cursor: default;
  pointer-events: none;
}
.doc-card--member-pdfs .doc-card__file-list {
  list-style: none;
  margin: 0;
  padding: 0.4rem 1.1rem 0.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}
.doc-card--member-pdfs .doc-card__file-list a {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--logo-green) !important;
  text-decoration: none;
}
.doc-card--member-pdfs .doc-card__file-list a:hover {
  text-decoration: underline;
  text-underline-offset: 0.12em;
}
.doc-card__foot-note {
  font-size: 0.8rem;
  font-weight: 500;
  color: #888;
}
.team-group-title {
  margin-bottom: 1rem;
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--ink);
}

.team-group-title.second {
  margin-top: 2.25rem;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.25rem;
}

.person-card {
  background: #fff;
  border: 1px solid #e8e8ed;
  border-radius: 0.5rem;
  padding: 0 0 0.2rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.07);
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.2s ease;
}
.person-card:hover {
  box-shadow: 0 10px 36px rgba(0, 0, 0, 0.09);
}

.person-card__photo {
  aspect-ratio: 4 / 3;
  width: 100%;
  display: grid;
  place-items: center;
  background: #f4f4f6;
  color: #888;
  font-size: 0.85rem;
  font-weight: 600;
  margin: 0;
  border-radius: 0.5rem 0.5rem 0 0;
  overflow: hidden;
}

.person-card__photo--img {
  padding: 0;
}
.person-card__photo--img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 22%;
  display: block;
}

.person-card__name {
  margin: 1rem 1.1rem 0.4rem;
  font-size: 0.98rem;
  font-weight: 800;
  color: var(--ink);
  line-height: 1.3;
}
.person-card__role {
  display: inline-block;
  margin: 0 1.1rem 0.5rem;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #fff;
  background: #3a3a42;
  padding: 0.2rem 0.5rem;
  border-radius: 999px;
  width: fit-content;
}
.person-card__level {
  margin: 0 1.1rem 0.15rem;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--ink);
}
.person-card__school,
.person-card__dept {
  margin: 0 1.1rem 0.4rem;
  font-size: 0.8rem;
  line-height: 1.5;
  color: #4a4a4a;
}
.person-card__dept strong {
  color: var(--ink);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.person-card__rule {
  height: 1px;
  background: #ececf0;
  margin: 0.5rem 1.1rem 0.65rem;
}
.person-card__links {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.5rem 1rem;
  padding: 0 1.1rem 1rem;
}
.person-card__link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--logo-green) !important;
  text-decoration: none;
}
.person-card__link:hover {
  text-decoration: underline;
  text-underline-offset: 0.12em;
}
.person-card__link svg {
  flex-shrink: 0;
}

.pro-banner {
  text-align: center;
  max-width: 40rem;
  margin: 0 auto;
  padding: 0.5rem 0 0.25rem;
}
.pro-banner h2 {
  margin-bottom: 0.5rem;
}
.pro-banner p {
  margin: 0;
  color: #4a4a4a;
  line-height: 1.6;
  font-size: 0.98rem;
}

.pro-banner-section {
  padding-top: 2.5rem;
  padding-bottom: 1rem;
}

#contact.section {
  padding: 0;
  margin-top: -0.5rem;
}

.contact-shell {
  width: min(72rem, 100%);
  margin: 0 auto;
  padding-inline: 1.5rem;
  padding-block: 5rem;
  margin-bottom: 5rem;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
  gap: 3rem;
  align-items: start;
  width: 100%;
}

.contact-left {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  height: 100%;
  gap: 1.5rem;
  max-width: 28rem;
}

.contact-inline {
  margin: 0;
  text-align: left;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-inline__label {
  margin: 0;
  font-size: 0.875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: #7a7a84;
}

.contact-inline__label--spaced {
  margin-top: 0;
}

.contact-inline__link {
  color: var(--logo-green) !important;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  line-height: 1.4;
}

.contact-inline__link:hover {
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

#contact .section-heading,
#contact .section-intro {
  text-align: left;
}

#contact .section-intro {
  margin-inline: 0;
  margin-bottom: 0;
  max-width: 28rem;
}

.contact-form {
  position: relative;
  background: #fff;
  border: 1px solid #e8e8ed;
  border-radius: 0.65rem;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
  padding: 1.35rem 1.4rem 1.45rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  height: fit-content;
  align-self: start;
}

.contact-form__field {
  margin-bottom: 0;
}

.contact-form__field label {
  display: block;
  margin: 0 0 0.4rem;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #555;
}

.contact-form__field input,
.contact-form__field textarea {
  width: 100%;
  box-sizing: border-box;
  padding: 0.75rem 0.85rem;
  font: inherit;
  font-size: 0.95rem;
  line-height: 1.5;
  color: var(--ink);
  background: #fafafa;
  border: 1px solid hsl(var(--hairline) / 0.85);
  border-radius: 0.45rem;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.contact-form__field input {
  min-height: 2.75rem;
}

.contact-form__field textarea {
  resize: vertical;
  min-height: 7rem;
}

.contact-form__field input::placeholder,
.contact-form__field textarea::placeholder {
  color: #9a9aa4;
}

.contact-form__field input:focus,
.contact-form__field textarea:focus {
  outline: none;
  border-color: hsl(var(--primary) / 0.75);
  box-shadow: 0 0 0 3px hsl(var(--primary) / 0.12);
  background: #fff;
}

.contact-form__submit {
  margin-top: 1.5rem;
  width: 100%;
  padding: 0.72rem 1rem;
  cursor: pointer;
  font-size: 0.95rem;
  border: none;
}

.contact-form__submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.contact-form__hp {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: 0;
  border: 0;
  clip: rect(0, 0, 0, 0);
  overflow: hidden;
  white-space: nowrap;
}

.pro-contact {
  max-width: none;
  margin-top: 0;
  padding: 1.25rem 1.35rem;
  border: 1px solid #e8e8ed;
  border-radius: 0.65rem;
  background: #fff;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
  align-self: start;
}
.pro-contact__label {
  margin: 0 0 0.4rem;
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #7a7a84;
}

.pro-contact__label--spaced {
  margin-top: 1.15rem;
}
.pro-contact__email {
  display: inline-block;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--logo-green) !important;
  text-decoration: none;
  line-height: 1.35;
}
.pro-contact__email:hover {
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.pro-contact__phone {
  display: inline-block;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--logo-green) !important;
  text-decoration: none;
  line-height: 1.35;
}

.pro-contact__phone:hover {
  text-decoration: underline;
  text-underline-offset: 0.15em;
}
.pro-contact__note {
  margin: 0.9rem 0 0;
  color: #4a4a4a;
  font-size: 0.92rem;
  line-height: 1.55;
}

.contact {
  max-width: 700px;
}

/* Technologies — full-width equal columns; icons centered in each cell */
.tech-logo-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 0.95rem 0.5rem;
  margin-top: 0.1rem;
  width: 100%;
  justify-items: center;
  align-items: start;
}

.tech-logo-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.4rem;
  max-width: 5rem;
  width: 100%;
  margin: 0;
  padding: 0;
  background: none;
  border: none;
}

.tech-logo-disc {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 50%;
  background: hsl(var(--surface));
  display: grid;
  place-items: center;
  box-shadow:
    0 2px 10px hsl(220 25% 45% / 0.08),
    0 1px 3px hsl(220 20% 50% / 0.04);
  transition: box-shadow 0.2s ease, transform 0.2s ease;
  flex-shrink: 0;
}

.tech-logo-disc img {
  width: 32px;
  height: 32px;
  object-fit: contain;
}

.tech-logo-label {
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--muted);
  line-height: 1.25;
  letter-spacing: 0.01em;
}

.tech-logo-item:hover .tech-logo-disc {
  box-shadow:
    0 4px 16px hsl(220 25% 45% / 0.1),
    0 1px 4px hsl(220 20% 50% / 0.05);
  transform: translateY(-1px);
}

.simple-list {
  margin: 0.7rem 0 0;
  padding-left: 1rem;
  color: var(--muted);
  line-height: 1.7;
}

.asset-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.15rem;
}

.asset-card {
  background: hsl(var(--surface) / 0.38);
  border: none;
  border-radius: 1rem;
  padding: 1.05rem 1.1rem;
  transition: background 200ms ease, box-shadow 200ms ease;
  box-shadow: none;
}

.asset-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.6rem;
}

.asset-head h3 {
  font-size: 1rem;
  line-height: 1.4;
}

.asset-card p {
  margin: 0.65rem 0 0.9rem;
  color: var(--muted);
  line-height: 1.55;
}

.asset-link {
  display: inline;
  border: none;
  color: hsl(var(--primary));
  border-radius: 0;
  padding: 0;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 0.18em;
  text-decoration-color: hsl(var(--primary) / 0.35);
  transition: text-decoration-color 200ms ease, color 200ms ease;
}

.asset-link:hover {
  text-decoration-color: hsl(var(--primary));
  color: hsl(var(--primary));
  transform: none;
}

.badge {
  font-size: 0.72rem;
  font-weight: 700;
  border-radius: 999px;
  padding: 0.24rem 0.52rem;
  letter-spacing: 0.03em;
}

.badge.done {
  color: hsl(var(--primary-foreground));
  background: hsl(var(--primary));
}

.badge.pending {
  color: #4b3212;
  background: #f5cf87;
}

.badge.info {
  color: hsl(var(--accent-foreground));
  background: hsl(var(--accent));
}

.asset-card.callout {
  background: var(--card);
}

.asset-card.span-2 {
  grid-column: span 2;
}

.contact a {
  display: inline-block;
  margin-top: 0.8rem;
  color: var(--brand);
  font-weight: 700;
}

.site-footer {
  border-top: 1px solid hsl(var(--hairline) / 0.5);
  padding: 1.2rem 0;
  color: var(--muted);
  text-align: center;
  background: transparent;
}

.to-top-btn {
  position: fixed;
  right: 4.2rem;
  bottom: 3.4rem;
  width: 2.1rem;
  height: 2.1rem;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: #fff;
  color: hsl(var(--primary));
  font-weight: 800;
  font-size: 1.25rem;
  line-height: 1;
  border: none;
  box-shadow: 0 4px 18px hsl(220 25% 50% / 0.1);
  z-index: 20;
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition: filter 180ms ease, opacity 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.to-top-btn.visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.to-top-btn:hover {
  filter: brightness(1.04);
  box-shadow: 0 6px 24px hsl(220 25% 45% / 0.12);
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 520ms ease, transform 520ms ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1200px) {
  .tech-logo-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 0.8rem 0.5rem;
    max-width: none;
  }

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

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

@media (max-width: 980px) {
  .nav {
    width: 97vw;
  }

  .hero {
    padding-top: 6.2rem;
  }

  .hero h1 {
    font-size: clamp(1.85rem, 6vw, 3rem);
  }

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

  .section {
    padding: 3.6rem 0;
  }

  main > .section:first-child {
    padding-top: 1.85rem;
  }

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

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

  .method-flow {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

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

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

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

  .tech-logo-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.75rem 0.45rem;
  }

  .asset-card.span-2 {
    grid-column: span 1;
  }

  .literature-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .nav {
    top: 0.3rem;
    width: 96vw;
    border-radius: 12px;
  }

  .nav-inner {
    padding: 0.5rem 0.65rem;
  }

  .brand {
    font-size: 1rem;
  }

  .brand-logo {
    width: 28px;
    height: 28px;
  }

  .hero {
    padding-top: 5.8rem;
  }

  .hero-stage {
    padding-inline: 0.15rem;
  }

  .hero-logo {
    width: 108px;
    height: auto;
    margin-bottom: 0.75rem;
  }

  .hero-copy {
    font-size: 0.95rem;
  }

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

  .hero-gallery img {
    height: 142px;
  }

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

  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 0.4rem;
    background: hsl(var(--surface) / 0.96);
    border: 1px solid hsl(var(--hairline) / 0.6);
    border-radius: 0.75rem;
    padding: 0.65rem 0.75rem;
    flex-direction: column;
    min-width: 180px;
    box-shadow: 0 12px 40px hsl(220 25% 40% / 0.1);
  }

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

  .grid.two,
  .grid.three,
  .grid.four {
    grid-template-columns: 1fr;
  }

  .method-flow {
    grid-template-columns: 1fr;
  }

  .tech-logo-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.7rem 0.4rem;
  }

  .tech-logo-disc {
    width: 3.25rem;
    height: 3.25rem;
  }

  .tech-logo-disc img {
    width: 28px;
    height: 28px;
  }

  .tech-logo-label {
    font-size: 0.68rem;
  }

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

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

  .timeline-pro::before {
    left: 18px;
  }

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

  .gap-cols {
    grid-template-columns: 1fr;
  }

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

  .contact-layout {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .contact-shell {
    padding-inline: 1.25rem;
    padding-block: 4rem;
    margin-bottom: 4rem;
  }

  #contact.section {
    margin-top: 0;
  }
}
