/* ============================================================
   NOVAMESH SOLUTIONS — DESIGN SYSTEM
   ============================================================ */
:root {
  /* Brand Colors */
  --dark: #1C2118;
  --dark2: #252E21;
  --dark3: #2E3A28;
  --green: #5A9E6A;
  --green-bold: #3D7A4F;
  --green-xbold: #2C5C3A;
  --green-light: #EAF4EE;
  --green-mid: #C4E0CB;
  --cream: #F7F5F0;
  --white: #FFFFFF;
  --text: #1C2118;
  --text2: #4A5548;
  --text3: #7A8A76;
  --border: #E2EAE0;
  --border2: #C8D8C4;

  /* Typography */
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'DM Sans', system-ui, sans-serif;
  --font-mono: 'DM Mono', monospace;

  /* Spacing */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2.5rem;
  --space-xl: 4rem;
  --space-2xl: 6rem;

  /* Radius */
  --r-sm: 6px;
  --r-md: 10px;
  --r-lg: 16px;
  --r-xl: 24px;

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(28, 33, 24, .06), 0 1px 2px rgba(28, 33, 24, .04);
  --shadow-md: 0 4px 16px rgba(28, 33, 24, .08), 0 2px 6px rgba(28, 33, 24, .04);
  --shadow-lg: 0 12px 40px rgba(28, 33, 24, .12), 0 4px 12px rgba(28, 33, 24, .06);
}

/* ============================================================
   RESET & BASE
   ============================================================ */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--white);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

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

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

ul {
  list-style: none;
}

/* ============================================================
   UTILITY CLASSES
   ============================================================ */
.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 2rem;
}

.section {
  padding: var(--space-xl) 0;
}

.section--alt {
  background: var(--cream);
}

.section--dark {
  background: var(--dark);
  color: var(--white);
}

.eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--green-bold);
  display: block;
  margin-bottom: .5rem;
}

.eyebrow--light {
  color: var(--green);
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(26px, 4vw, 36px);
  font-weight: 500;
  line-height: 1.15;
  color: var(--dark);
  margin-bottom: .75rem;
}

.section-title--light {
  color: #fff;
}

.section-title em {
  color: var(--green);
  font-style: normal;
}

.section-sub {
  font-size: 15px;
  color: var(--text2);
  line-height: 1.75;
  max-width: 540px;
  margin-bottom: 2.5rem;
}

.section-sub--light {
  color: #8FA888;
}

/* Grid helpers */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

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

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

.grid-auto {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 500;
  padding: 11px 22px;
  border-radius: var(--r-md);
  cursor: pointer;
  border: none;
  transition: all .2s ease;
  text-decoration: none;
}

.btn--dark {
  background: var(--dark);
  color: #fff;
}

.btn--dark:hover {
  background: var(--dark2);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.btn--green {
  background: var(--green);
  color: #fff;
}

.btn--green:hover {
  background: var(--green-bold);
  transform: translateY(-1px);
}

.btn--outline {
  background: transparent;
  color: var(--dark);
  border: 1px solid var(--border2);
}

.btn--outline:hover {
  border-color: var(--dark);
  background: var(--cream);
}

.btn--outline-light {
  background: transparent;
  color: #fff;
  border: 1px solid var(--dark3);
}

.btn--outline-light:hover {
  background: var(--dark2);
}

/* Tags / Pills */
.tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 500;
  padding: 3px 10px;
  border-radius: 20px;
  background: var(--green-light);
  color: var(--green-bold);
}

.tag--dark {
  background: var(--dark3);
  color: var(--green);
}

.tag--border {
  background: transparent;
  border: 1px solid var(--border2);
  color: var(--text2);
}

/* ============================================================
   NAVIGATION
   ============================================================ */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, .95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 2rem;
}

.nav__logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav__logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.nav__logo-name {
  font-family: var(--font-display);
  font-size: 18px;
}

.nav__logo-name span {
  color: var(--green);
}

.nav__logo-sub {
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: .18em;
  color: var(--green-bold);
  margin-top: 2px;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav__link {
  font-size: 13px;
  color: var(--text2);
  transition: color .15s;
}

.nav__link:hover {
  color: var(--text);
}

.nav__cta {
  margin-left: 8px;
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  padding: 6rem 0 5rem;
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}

.hero__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 2rem;
}

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: var(--green-light);
  border: 1px solid var(--green-mid);
  border-radius: 20px;
  padding: 5px 14px;
  font-size: 12px;
  font-weight: 500;
  color: var(--green-bold);
  margin-bottom: 1.5rem;
}

.hero__eyebrow-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green);
}

.hero__h1 {
  font-family: var(--font-display);
  font-size: clamp(36px, 5vw, 52px);
  font-weight: 500;
  line-height: 1.08;
  color: var(--dark);
  margin-bottom: 1.5rem;
}

.hero__h1 em {
  color: var(--green);
  font-style: normal;
}

.hero__sub {
  font-size: 16px;
  color: var(--text2);
  line-height: 1.75;
  margin-bottom: 2.25rem;
  max-width: 460px;
}

.hero__btns {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}

.hero__proof {
  display: flex;
  align-items: center;
  gap: 12px;
}

.hero__avatars {
  display: flex;
}

.hero__av {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 2px solid var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 500;
  margin-right: -8px;
}

.hero__proof-text {
  font-size: 13px;
  color: var(--text2);
}

.hero__proof-text strong {
  color: var(--text);
  font-weight: 500;
}

/* Hero Visual Panel */
.hero__visual {
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 10px;
  box-shadow: var(--shadow-lg);
}

.hv__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 4px;
}

.hv__header-title {
  font-size: 13px;
  font-weight: 500;
  color: var(--dark);
}

.hv__live {
  font-size: 10px;
  font-weight: 500;
  background: var(--green-light);
  color: var(--green-bold);
  padding: 3px 10px;
  border-radius: 20px;
}

.hv__card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: .9rem;
}

.hv__row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 7px;
}

.hv__name {
  font-size: 12px;
  color: var(--text2);
}

.hv__pct {
  font-size: 12px;
  font-weight: 500;
  color: var(--dark);
}

.hv__bar {
  height: 5px;
  border-radius: 3px;
  background: var(--border);
  overflow: hidden;
}

.hv__fill {
  height: 100%;
  border-radius: 3px;
  background: var(--green);
}

.hv__complete .hv__fill {
  background: var(--dark);
}

.hv__stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.hv__stat {
  background: var(--green-light);
  border-radius: var(--r-sm);
  padding: .7rem;
  text-align: center;
}

.hv__stat-num {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 500;
  color: var(--green-bold);
}

.hv__stat-lbl {
  font-size: 10px;
  color: var(--text3);
}

/* ============================================================
   STATS STRIP
   ============================================================ */
.stats-strip {
  background: var(--dark);
  padding: 2rem 0;
}

.stats-strip__inner {
  display: flex;
  justify-content: center;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 2rem;
  flex-wrap: wrap;
}

.stats-strip__item {
  flex: 1;
  min-width: 130px;
  text-align: center;
  padding: .75rem 1rem;
  border-right: 1px solid var(--dark3);
}

.stats-strip__item:last-child {
  border-right: none;
}

.stats-strip__num {
  font-family: var(--font-display);
  font-size: 30px;
  color: var(--green);
  display: block;
}

.stats-strip__label {
  font-size: 11px;
  color: #6A7A66;
}

/* ============================================================
   TRUSTED BY
   ============================================================ */
.trusted {
  padding: 1.75rem 0;
  border-bottom: 1px solid var(--border);
}

.trusted__inner {
  display: flex;
  align-items: center;
  gap: 2rem;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 2rem;
  flex-wrap: wrap;
}

.trusted__label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--text3);
  white-space: nowrap;
}

.trusted__logos {
  display: flex;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
}

/* DEVELOPER NOTE: Replace .logo-placeholder with real <img> tags */
.logo-placeholder {
  height: 22px;
  border-radius: 4px;
  background: var(--border);
  opacity: .55;
  display: block;
}

/* ============================================================
   SERVICES
   ============================================================ */
.services__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 12px;
}

.service-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 1.5rem;
  transition: border-color .2s, transform .2s, box-shadow .2s;
  cursor: default;
}

.service-card:hover {
  border-color: var(--green);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.service-card__icon {
  width: 42px;
  height: 42px;
  border-radius: var(--r-md);
  background: var(--green-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

.service-card__icon svg {
  width: 20px;
  height: 20px;
  stroke: var(--green-bold);
  fill: none;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.service-card__name {
  font-size: 14px;
  font-weight: 500;
  color: var(--dark);
  margin-bottom: 5px;
}

.service-card__desc {
  font-size: 12.5px;
  color: var(--text2);
  line-height: 1.65;
  margin-bottom: 10px;
}

.service-card__tech {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--text3);
}

/* ============================================================
   FEATURED WORK (Homepage — 3 projects)
   ============================================================ */
.featured-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 16px;
}

.featured-grid .case-card:first-child {
  grid-column: 1 / -1;
}

/* ============================================================
   CASE STUDY CARD (used on homepage + portfolio page)
   ============================================================ */
.case-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: box-shadow .2s, transform .2s;
  display: flex;
  flex-direction: column;
}

.case-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-3px);
}

/* Thumbnail — DEVELOPER NOTE: replace background-color with actual screenshot */
.case-card__thumb {
  width: 100%;
  height: 220px;
  background: var(--cream);
  overflow: hidden;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.case-card__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  transition: transform .4s ease;
}

.case-card:hover .case-card__thumb img {
  transform: scale(1.03);
}

/* Placeholder screen when no screenshot yet */
.case-card__thumb-placeholder {
  width: 78%;
  max-width: 320px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.thumb-bar {
  height: 22px;
  background: var(--cream);
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 0 8px;
  border-bottom: 1px solid var(--border);
}

.thumb-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--border2);
}

.thumb-body {
  padding: 10px;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.thumb-line {
  height: 5px;
  border-radius: 2px;
  background: var(--border);
}

.thumb-accent {
  height: 5px;
  border-radius: 2px;
  background: var(--green-light);
}

.thumb-block {
  height: 30px;
  border-radius: 6px;
  background: var(--green-light);
}

/* Large card thumb is taller */
.case-card--large .case-card__thumb {
  height: 300px;
}

.case-card__body {
  padding: 1.25rem 1.4rem 1.4rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.case-card__tags {
  display: flex;
  gap: 5px;
  flex-wrap: wrap;
  margin-bottom: .85rem;
}

.case-card__title {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 500;
  color: var(--dark);
  margin-bottom: .5rem;
  line-height: 1.3;
}

.case-card__desc {
  font-size: 13px;
  color: var(--text2);
  line-height: 1.7;
  margin-bottom: 1.1rem;
  flex: 1;
}

.case-card__metrics {
  display: flex;
  gap: 1.25rem;
  padding-top: 1rem;
  margin-top: auto;
  border-top: 1px solid var(--border);
}

.case-card__metric-num {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 500;
  color: var(--green-bold);
  display: block;
}

.case-card__metric-lbl {
  font-size: 10px;
  color: var(--text3);
  font-family: var(--font-mono);
}

.case-card__link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  font-weight: 500;
  color: var(--green-bold);
  margin-top: 1rem;
  transition: gap .15s;
}

.case-card__link:hover {
  gap: 8px;
}

/* ============================================================
   PORTFOLIO PAGE GRID
   ============================================================ */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 20px;
}

/* ============================================================
   CASE STUDY DETAIL PAGE
   ============================================================ */
.case-hero {
  padding: 4rem 0 0;
  border-bottom: 1px solid var(--border);
}

.case-hero__breadcrumb {
  font-size: 12px;
  color: var(--text3);
  margin-bottom: 1.5rem;
}

.case-hero__breadcrumb a {
  color: var(--green-bold);
}

.case-hero__title {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 500;
  line-height: 1.1;
  color: var(--dark);
  margin-bottom: 1rem;
  max-width: 720px;
}

.case-hero__sub {
  font-size: 16px;
  color: var(--text2);
  line-height: 1.75;
  max-width: 640px;
  margin-bottom: 2rem;
}

.case-hero__meta {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  padding: 1.5rem 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  margin-bottom: 2.5rem;
}

.case-hero__meta-item {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.case-hero__meta-label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .1em;
  color: var(--text3);
  text-transform: uppercase;
}

.case-hero__meta-val {
  font-size: 13px;
  font-weight: 500;
  color: var(--dark);
}

/* Full-width project screenshot */
.case-screenshot {
  width: 100%;
  height: 400px;
  border: 1px solid var(--border);
  border-radius: var(--r-lg) var(--r-lg) 0 0;
  overflow: hidden;
  background: var(--cream);
}

.case-screenshot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
}

/* Case study body */
.case-body {
  padding: var(--space-xl) 0;
}

.case-body__grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 4rem;
  align-items: start;
}

.case-body__main {}

.case-body__sidebar {
  position: sticky;
  top: 90px;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.case-section-title {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 500;
  color: var(--dark);
  margin-bottom: 1rem;
  margin-top: 2.5rem;
}

.case-section-title:first-child {
  margin-top: 0;
}

.case-body p {
  font-size: 15px;
  color: var(--text2);
  line-height: 1.8;
  margin-bottom: 1rem;
}

/* Sidebar cards */
.sidebar-card {
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 1.25rem;
}

.sidebar-card__title {
  font-size: 12px;
  font-weight: 500;
  color: var(--text3);
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-bottom: .85rem;
  font-family: var(--font-mono);
}

.sidebar-metric {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-bottom: .75rem;
  padding-bottom: .75rem;
  border-bottom: 1px solid var(--border);
}

.sidebar-metric:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.sidebar-metric__num {
  font-family: var(--font-display);
  font-size: 24px;
  color: var(--green-bold);
}

.sidebar-metric__lbl {
  font-size: 12px;
  color: var(--text2);
}

/* ============================================================
   PROCESS
   ============================================================ */
.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  position: relative;
}

.process-steps::before {
  content: '';
  position: absolute;
  top: 28px;
  left: 10%;
  right: 10%;
  height: 1px;
  background: var(--border);
}

.process-step {
  padding: 1.5rem;
  text-align: center;
}

.process-step__num {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--dark);
  color: var(--green);
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  position: relative;
  z-index: 1;
}

.process-step__title {
  font-size: 14px;
  font-weight: 500;
  color: var(--dark);
  margin-bottom: 6px;
}

.process-step__desc {
  font-size: 12.5px;
  color: var(--text2);
  line-height: 1.65;
}

/* ============================================================
   INDUSTRIES
   ============================================================ */
.industries-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 10px;
}

.industry-item {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 1.25rem;
  text-align: center;
  cursor: default;
  transition: border-color .2s, background .2s;
}

.industry-item:hover {
  border-color: var(--green);
  background: var(--green-light);
}

.industry-item__icon {
  width: 38px;
  height: 38px;
  border-radius: var(--r-md);
  background: var(--green-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto .75rem;
}

.industry-item__icon svg {
  width: 18px;
  height: 18px;
  stroke: var(--green-bold);
  fill: none;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.industry-item__name {
  font-size: 12px;
  color: var(--text2);
}

/* ============================================================
   TECH STACK
   ============================================================ */
.stack-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.stack-pill {
  font-size: 12px;
  font-family: var(--font-mono);
  padding: 6px 14px;
  border-radius: 20px;
  border: 1px solid var(--border2);
  color: var(--text2);
  background: var(--white);
  transition: border-color .15s, color .15s;
}

.stack-pill:hover {
  border-color: var(--green);
  color: var(--green-bold);
}

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.testi-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 16px;
}

.testi-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
}

.testi-card__stars {
  color: var(--green);
  font-size: 14px;
  letter-spacing: 2px;
  margin-bottom: .85rem;
}

.testi-card__quote {
  font-size: 13.5px;
  color: var(--text2);
  line-height: 1.75;
  font-style: italic;
  flex: 1;
  margin-bottom: 1.25rem;
}

.testi-card__footer {
  display: flex;
  align-items: center;
  gap: 12px;
  border-top: 1px solid var(--border);
  padding-top: 1rem;
}

.testi-card__avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 500;
  flex-shrink: 0;
}

.testi-card__name {
  font-size: 13px;
  font-weight: 500;
  color: var(--dark);
}

.testi-card__role {
  font-size: 11px;
  color: var(--text3);
}

.testi-card__flag {
  margin-left: auto;
  font-size: 18px;
}

/* ============================================================
   TEAM
   ============================================================ */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 14px;
}

.team-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 1.5rem;
  text-align: center;
}

.team-card__av {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 17px;
  font-weight: 500;
  margin: 0 auto 1rem;
  border: 2px solid var(--green-mid);
  /* DEVELOPER NOTE: Replace with <img> for real photos */
}

.team-card__name {
  font-size: 14px;
  font-weight: 500;
  color: var(--dark);
  margin-bottom: 3px;
}

.team-card__role {
  font-size: 12px;
  color: var(--green-bold);
}

.team-card__exp {
  font-size: 11px;
  color: var(--text3);
  margin-top: 4px;
}

/* ============================================================
   CTA BAND
   ============================================================ */
.cta-band {
  background: var(--dark);
  padding: 5rem 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-band::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 20% 50%, rgba(90, 158, 106, .08) 0%, transparent 60%),
    radial-gradient(circle at 80% 50%, rgba(90, 158, 106, .06) 0%, transparent 60%);
}

.cta-band__inner {
  position: relative;
  z-index: 1;
  padding: 0 2rem;
}

.cta-band__h {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 500;
  color: #fff;
  margin-bottom: .75rem;
}

.cta-band__h em {
  color: var(--green);
  font-style: normal;
}

.cta-band__sub {
  font-size: 15px;
  color: #6A7A66;
  margin-bottom: 2.25rem;
}

.cta-band__btns {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ============================================================
   CONTACT
   ============================================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 3.5rem;
}

.contact-nda {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: var(--green-light);
  border: 1px solid var(--green-mid);
  border-radius: 20px;
  padding: 5px 14px;
  font-size: 11px;
  font-weight: 500;
  color: var(--green-bold);
  margin-bottom: 1.75rem;
}

.contact-info {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 1.5rem;
}

.contact-info__icon {
  width: 38px;
  height: 38px;
  border-radius: var(--r-md);
  background: var(--green-light);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-info__icon svg {
  width: 17px;
  height: 17px;
  stroke: var(--green-bold);
  fill: none;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.contact-info__label {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--green-bold);
  letter-spacing: .08em;
  margin-bottom: 2px;
}

.contact-info__val {
  font-size: 13px;
  color: var(--dark);
}

.contact-response {
  background: var(--green-light);
  border: 1px solid var(--green-mid);
  border-radius: var(--r-lg);
  padding: 1.1rem 1.25rem;
  margin-top: 1rem;
}

.contact-response__title {
  font-size: 12px;
  font-weight: 500;
  color: var(--green-bold);
  margin-bottom: 3px;
}

.contact-response__sub {
  font-size: 12px;
  color: var(--text2);
}

/* Form */
.form-box {
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: 2rem;
}

.form-group {
  margin-bottom: 1.1rem;
}

.form-label {
  display: block;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .1em;
  color: var(--text3);
  text-transform: uppercase;
  margin-bottom: 6px;
}

.form-input {
  width: 100%;
  background: var(--white);
  border: 1px solid var(--border2);
  border-radius: var(--r-sm);
  padding: 10px 14px;
  font-size: 13px;
  color: var(--dark);
  font-family: var(--font-body);
  transition: border-color .15s;
}

.form-input:focus {
  outline: none;
  border-color: var(--green);
}

.form-input::placeholder {
  color: var(--border2);
}

.form-textarea {
  resize: vertical;
  min-height: 100px;
}

.form-submit {
  width: 100%;
  background: var(--dark);
  color: #fff;
  border: none;
  border-radius: var(--r-md);
  padding: 13px;
  font-size: 13px;
  font-weight: 500;
  font-family: var(--font-body);
  cursor: pointer;
  margin-top: .5rem;
  transition: background .2s;
}

.form-submit:hover {
  background: var(--dark2);
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--dark);
  padding: 3rem 0 2rem;
  color: #6A7A66;
}

.footer__inner {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 2rem;
}

.footer__top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 2rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid var(--dark3);
}

.footer__links {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  align-items: center;
}

.footer__link {
  font-size: 13px;
  cursor: pointer;
  transition: color .15s;
}

.footer__link:hover {
  color: #fff;
}

.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: .75rem;
  padding-top: 1.5rem;
  font-size: 12px;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 900px) {
  .hero__inner {
    grid-template-columns: 1fr;
  }

  .hero__visual {
    display: none;
  }

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

  .case-body__grid {
    grid-template-columns: 1fr;
  }

  .case-body__sidebar {
    position: static;
  }

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

  .featured-grid .case-card:first-child {
    grid-column: auto;
  }

  .process-steps {
    grid-template-columns: 1fr 1fr;
  }

  .process-steps::before {
    display: none;
  }
}

@media (max-width: 600px) {
  .nav__links {
    display: none;
  }

  .process-steps {
    grid-template-columns: 1fr;
  }

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



/* ================================================================
   NOVAMESH — CASE STUDIES PAGE
   Aesthetic: editorial precision / luxury minimal
   Differentiator: inline row-expansion case studies
   ================================================================ */

:root {
  --dark: #1C2118;
  --dark-mid: #252E21;
  --dark-line: #2E3A28;
  --green: #5A9E6A;
  --green-bold: #3D7A4F;
  --green-deep: #2C5C3A;
  --green-light: #EAF4EE;
  --green-mid: #C4E0CB;
  --cream: #F7F5F0;
  --off: #F0EDE8;
  --white: #FFFFFF;
  --text: #1C2118;
  --text-2: #4A5548;
  --text-3: #7A8A76;
  --border: #E2EAE0;
  --border-2: #CBD8C4;
  --fd: 'Playfair Display', Georgia, serif;
  --fb: 'DM Sans', system-ui, sans-serif;
  --fm: 'DM Mono', monospace;
  --r: 12px;
  --r-lg: 20px;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--fb);
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
}

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

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

button {
  font-family: var(--fb);
  cursor: pointer;
  border: none;
  background: none;
}

/* ================================================================
   NAV
   ================================================================ */
.nav {
  position: sticky;
  top: 0;
  z-index: 200;
  background: rgba(255, 255, 255, .97);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  height: 66px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1;
  gap: 2px;
}

.logo-name {
  font-family: var(--fd);
  font-size: 17px;
  color: var(--dark);
}

.logo-name b {
  color: var(--green);
  font-weight: 400;
}

.logo-sub {
  font-family: var(--fm);
  font-size: 7.5px;
  letter-spacing: .2em;
  color: var(--green-bold);
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-link {
  font-size: 13px;
  color: var(--text-2);
  transition: color .15s;
}

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

.nav-link.active {
  color: var(--text);
  font-weight: 500;
}

.nav-cta {
  padding: 8px 18px;
  border-radius: 8px;
  background: var(--dark);
  color: #fff;
  font-size: 12.5px;
  font-weight: 500;
  transition: background .15s, transform .15s;
}

.nav-cta:hover {
  background: var(--dark-mid);
  transform: translateY(-1px);
}

/* ================================================================
   PAGE HERO
   ================================================================ */
.page-hero {
  padding: 4.5rem 0 3.5rem;
  border-bottom: 1px solid var(--border);
  background: var(--white);
}

.page-hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 3rem;
  align-items: end;
}

.hero-eyebrow {
  font-family: var(--fm);
  font-size: 11px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--green-bold);
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 1rem;
}

.hero-eyebrow::before {
  content: '';
  width: 24px;
  height: 1px;
  background: var(--green-bold);
}

.hero-h1 {
  font-family: var(--fd);
  font-size: clamp(32px, 5vw, 56px);
  font-weight: 500;
  line-height: 1.08;
  color: var(--dark);
  margin-bottom: 1rem;
}

.hero-h1 em {
  color: var(--green);
  font-style: italic;
}

.hero-sub {
  font-size: 15px;
  color: var(--text-2);
  line-height: 1.75;
  max-width: 520px;
}

.hero-stats {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  align-items: flex-end;
}

.stat {
  text-align: right;
}

.stat-num {
  font-family: var(--fd);
  font-size: 36px;
  font-weight: 500;
  color: var(--dark);
  display: block;
  line-height: 1;
}

.stat-label {
  font-family: var(--fm);
  font-size: 10px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--text-3);
  margin-top: 4px;
}

/* ================================================================
   FILTER BAR
   ================================================================ */
.filter-bar {
  position: sticky;
  top: 66px;
  z-index: 100;
  background: rgba(255, 255, 255, .97);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  padding: .85rem 0;
}

.filter-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  gap: .5rem;
  flex-wrap: wrap;
}

.filter-label {
  font-family: var(--fm);
  font-size: 10px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--text-3);
  margin-right: .5rem;
  white-space: nowrap;
}

.filter-pill {
  font-family: var(--fm);
  font-size: 11px;
  letter-spacing: .03em;
  padding: 5px 14px;
  border-radius: 20px;
  border: 1px solid var(--border-2);
  color: var(--text-2);
  background: transparent;
  transition: all .18s;
  white-space: nowrap;
}

.filter-pill:hover {
  border-color: var(--dark);
  color: var(--text);
}

.filter-pill.active {
  background: var(--dark);
  color: #fff;
  border-color: var(--dark);
}

.filter-count {
  margin-left: auto;
  font-family: var(--fm);
  font-size: 11px;
  color: var(--text-3);
  white-space: nowrap;
}

/* ================================================================
   PROJECT GRID
   ================================================================ */
.projects-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 3rem 2rem 5rem;
}

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

/* ================================================================
   PROJECT CARD
   ================================================================ */
.project-card {
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  cursor: pointer;
  transition: background .2s;
  position: relative;
  overflow: hidden;
}

.project-card:nth-child(3n) {
  border-right: none;
}

.project-card:hover {
  background: var(--cream);
}

.project-card.active {
  background: var(--cream);
}

.project-card.hidden {
  display: none;
}

.card-inner {
  padding: 2rem 1.75rem;
}

.card-num {
  font-family: var(--fm);
  font-size: 11px;
  letter-spacing: .1em;
  color: var(--text-3);
  margin-bottom: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.card-num-val {
  color: var(--green-bold);
  font-weight: 500;
}

/* Project mockup thumbnail */
.card-thumb {
  width: 100%;
  height: 160px;
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 1.1rem;
  position: relative;
  border: 1px solid var(--border);
}

.card-thumb-inner {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

/* Browser chrome mockup */
.mini-browser {
  width: 86%;
  background: var(--white);
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(28, 33, 24, .1);
  border: 1px solid var(--border);
}

.mini-bar {
  height: 18px;
  display: flex;
  align-items: center;
  gap: 3px;
  padding: 0 7px;
  border-bottom: 1px solid var(--border);
}

.mini-dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
}

.mini-url {
  flex: 1;
  height: 8px;
  border-radius: 4px;
  margin-left: 4px;
}

.mini-content {
  padding: 7px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.mini-line {
  height: 4px;
  border-radius: 2px;
  background: var(--border);
}

.mini-block {
  height: 22px;
  border-radius: 4px;
}

.mini-row {
  display: flex;
  gap: 3px;
}

.card-tags {
  display: flex;
  gap: 5px;
  flex-wrap: wrap;
  margin-bottom: .7rem;
}

.ctag {
  font-family: var(--fm);
  font-size: 10px;
  letter-spacing: .03em;
  padding: 2px 9px;
  border-radius: 20px;
  background: var(--green-light);
  color: var(--green-bold);
  border: 1px solid var(--green-mid);
}

.ctag-ind {
  background: var(--off);
  color: var(--text-2);
  border-color: var(--border);
}

.card-title {
  font-family: var(--fd);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.3;
  color: var(--dark);
  margin-bottom: .5rem;
}

.card-desc {
  font-size: 12.5px;
  color: var(--text-2);
  line-height: 1.65;
  margin-bottom: 1.1rem;
}

.card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: .85rem;
  border-top: 1px solid var(--border);
}

.card-expand {
  font-family: var(--fm);
  font-size: 11px;
  letter-spacing: .05em;
  color: var(--green-bold);
  display: flex;
  align-items: center;
  gap: 5px;
  transition: gap .15s;
}

.card-expand svg {
  transition: transform .25s;
}

.project-card.active .card-expand svg {
  transform: rotate(45deg);
}

.card-live {
  font-family: var(--fm);
  font-size: 10px;
  color: var(--text-3);
  display: flex;
  align-items: center;
  gap: 3px;
}

/* ================================================================
   CASE STUDY EXPANSION PANEL
   ================================================================ */
.expansion-panel {
  grid-column: 1 / -1;
  max-height: 0;
  overflow: hidden;
  transition: max-height .55s cubic-bezier(.16, 1, .3, 1);
  border-bottom: 1px solid var(--border);
}

.expansion-panel.open {
  max-height: 2000px;
}

.expansion-inner {
  padding: 3rem 0;
  background: var(--cream);
  border-top: 2px solid var(--green);
}

.exp-container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* Expansion header */
.exp-header {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: start;
  gap: 2rem;
  margin-bottom: 2.5rem;
}

.exp-title {
  font-family: var(--fd);
  font-size: clamp(22px, 3vw, 32px);
  font-weight: 500;
  line-height: 1.15;
  color: var(--dark);
}

.exp-title em {
  color: var(--green);
  font-style: italic;
}

.exp-meta {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin-top: .85rem;
}

.exp-meta-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.exp-meta-label {
  font-family: var(--fm);
  font-size: 9px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--text-3);
}

.exp-meta-val {
  font-size: 12.5px;
  font-weight: 500;
  color: var(--dark);
}

.exp-close {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--border-2);
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--white);
  cursor: pointer;
  transition: background .15s, transform .15s;
  flex-shrink: 0;
}

.exp-close:hover {
  background: var(--dark);
  color: #fff;
  transform: rotate(90deg);
}

/* Metrics row */
.exp-metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  margin-bottom: 2.5rem;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--r);
  overflow: hidden;
}

.exp-metric {
  background: var(--white);
  padding: 1.25rem 1rem;
  text-align: center;
}

.exp-metric-num {
  font-family: var(--fd);
  font-size: 28px;
  font-weight: 500;
  color: var(--green-bold);
  display: block;
  line-height: 1;
}

.exp-metric-label {
  font-size: 11px;
  color: var(--text-2);
  margin-top: 5px;
}

/* Content grid */
.exp-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 280px;
  gap: 2rem;
}

/* Section */
.exp-section-title {
  font-family: var(--fm);
  font-size: 10px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--green-bold);
  display: flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 1rem;
}

.exp-section-title::before {
  content: '';
  width: 16px;
  height: 1px;
  background: var(--green-bold);
}

.exp-section-body {
  font-size: 13.5px;
  color: var(--text-2);
  line-height: 1.8;
}

.exp-section-body ul {
  padding-left: 1.1rem;
}

.exp-section-body ul li {
  margin-bottom: .35rem;
}

.exp-section-body ul li::marker {
  color: var(--green);
}

/* Before / After */
.ba-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--border);
  border-radius: var(--r);
  overflow: hidden;
  margin-top: 1rem;
}

.ba-col {
  background: var(--white);
  padding: 1.1rem;
}

.ba-label {
  font-family: var(--fm);
  font-size: 9.5px;
  letter-spacing: .12em;
  text-transform: uppercase;
  margin-bottom: .65rem;
  display: block;
}

.ba-label.before {
  color: #C05030;
}

.ba-label.after {
  color: var(--green-bold);
}

.ba-col ul {
  padding-left: 1rem;
}

.ba-col li {
  font-size: 12.5px;
  color: var(--text-2);
  line-height: 1.65;
  margin-bottom: .3rem;
}

/* Sidebar */
.exp-sidebar {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.sidebar-box {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 1.1rem;
}

.sb-title {
  font-family: var(--fm);
  font-size: 9.5px;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--text-3);
  margin-bottom: .85rem;
}

.sb-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

.sb-tag {
  font-family: var(--fm);
  font-size: 10px;
  padding: 3px 9px;
  border-radius: 10px;
  background: var(--cream);
  border: 1px solid var(--border-2);
  color: var(--text-2);
}

.sb-live {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px;
  border-radius: var(--r);
  background: var(--green-light);
  border: 1px solid var(--green-mid);
  font-size: 12.5px;
  font-weight: 500;
  color: var(--green-bold);
  transition: background .15s;
}

.sb-live:hover {
  background: var(--green-mid);
}

.sb-cta {
  background: var(--dark);
  border-radius: var(--r);
  padding: 1.1rem;
}

.sb-cta-title {
  font-size: 12px;
  font-weight: 500;
  color: #fff;
  margin-bottom: 5px;
}

.sb-cta-sub {
  font-size: 11.5px;
  color: #8FA888;
  line-height: 1.6;
  margin-bottom: .75rem;
}

.sb-cta-btn {
  width: 100%;
  padding: 9px;
  border-radius: 8px;
  background: var(--green);
  color: #fff;
  font-size: 12px;
  font-weight: 500;
  border: none;
  cursor: pointer;
  font-family: var(--fb);
  transition: background .15s;
}

.sb-cta-btn:hover {
  background: var(--green-bold);
}

/* Expansion footer */
.exp-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 2rem;
  margin-top: 2.5rem;
  border-top: 1px solid var(--border);
}

.exp-footer-left {
  display: flex;
  gap: .75rem;
}

.exp-btn {
  padding: 9px 18px;
  border-radius: 8px;
  font-size: 12.5px;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all .15s;
}

.exp-btn-dark {
  background: var(--dark);
  color: #fff;
  border: 1px solid var(--dark);
}

.exp-btn-dark:hover {
  background: var(--dark-mid);
}

.exp-btn-out {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border-2);
}

.exp-btn-out:hover {
  border-color: var(--dark);
}

/* ================================================================
   AWARDS / CTA STRIP
   ================================================================ */
.awards-strip {
  background: var(--dark);
  padding: 2rem 0;
  border-top: 1px solid var(--dark-line);
}

.awards-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.awards-label {
  font-family: var(--fm);
  font-size: 10px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #6A7A66;
}

.awards-logos {
  display: flex;
  gap: 1.5rem;
  align-items: center;
  flex-wrap: wrap;
}

.award-badge {
  font-family: var(--fm);
  font-size: 10px;
  color: #8FA888;
  border: 1px solid var(--dark-line);
  padding: 4px 12px;
  border-radius: 20px;
}

/* Bottom CTA */
.page-cta {
  background: var(--dark);
  padding: 5rem 2rem;
  text-align: center;
}

.page-cta-eyebrow {
  font-family: var(--fm);
  font-size: 11px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.page-cta-eyebrow::before,
.page-cta-eyebrow::after {
  content: '';
  width: 24px;
  height: 1px;
  background: var(--green);
}

.page-cta-title {
  font-family: var(--fd);
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 500;
  color: #fff;
  margin-bottom: .75rem;
}

.page-cta-title em {
  color: var(--green);
  font-style: italic;
}

.page-cta-sub {
  font-size: 14px;
  color: #6A7A66;
  margin-bottom: 2.25rem;
}

.page-cta-btns {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
}

.cta-btn-green {
  padding: 12px 26px;
  border-radius: 9px;
  background: var(--green);
  color: #fff;
  font-size: 13px;
  font-weight: 500;
  border: none;
  cursor: pointer;
  font-family: var(--fb);
  transition: background .15s;
}

.cta-btn-green:hover {
  background: var(--green-bold);
}

.cta-btn-ghost {
  padding: 12px 26px;
  border-radius: 9px;
  border: 1px solid var(--dark-line);
  background: transparent;
  color: #fff;
  font-size: 13px;
  cursor: pointer;
  font-family: var(--fb);
  transition: border-color .15s;
}

.cta-btn-ghost:hover {
  border-color: #4A5548;
}

/* Footer */
.footer {
  background: var(--dark);
  border-top: 1px solid var(--dark-line);
  padding: 2.5rem 2rem 1.75rem;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-links {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  align-items: center;
}

.footer-link {
  font-size: 12.5px;
  color: #6A7A66;
  transition: color .15s;
}

.footer-link:hover {
  color: #fff;
}

.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: .5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--dark-line);
  font-size: 11.5px;
  color: #4A5548;
}

/* No results */
.no-results {
  grid-column: 1/-1;
  padding: 4rem;
  text-align: center;
  color: var(--text-3);
  font-size: 14px;
}

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

  .project-card:nth-child(3n) {
    border-right: 1px solid var(--border);
  }

  .project-card:nth-child(2n) {
    border-right: none;
  }

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

  .exp-sidebar {
    display: none;
  }

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

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

  .project-card {
    border-right: none;
  }

  .project-card:nth-child(2n) {
    border-right: none;
  }

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

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

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

  .hero-stats {
    flex-direction: row;
    align-items: flex-start;
  }

  .stat {
    text-align: left;
  }

  .nav-links {
    display: none;
  }

  .exp-header {
    grid-template-columns: 1fr;
  }
}

/* ============================================================
   ACTIVE NAV STATE
   ============================================================ */
.nav__link--active {
  color: var(--dark) !important;
  font-weight: 500;
  position: relative;
}

.nav__link--active::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--green);
  border-radius: 2px;
}

/* ============================================================
   SERVICES GRID — 3-COLUMN EVEN LAYOUT
   ============================================================ */
.services__grid--3col {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

@media (max-width: 1024px) {
  .services__grid--3col { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  .services__grid--3col { grid-template-columns: 1fr; }
}

/* Make service cards clickable (anchor) */
a.service-card {
  display: block;
  text-decoration: none;
  color: inherit;
}

a.service-card:hover {
  border-color: var(--green);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

/* ============================================================
   FEATURED PROJECTS — EQUAL 3-COLUMN GRID
   ============================================================ */
.featured-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.featured-grid-3 .case-card {
  /* uniform height — no large card */
}

.featured-grid-3 .case-card__thumb {
  height: 220px;
}

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

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

/* Make case cards fully clickable as anchors */
a.case-card {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
}

/* ============================================================
   HERO VISUAL — SERVICES SHOWCASE
   ============================================================ */
.hv__service-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.hv__svc {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: .65rem .9rem;
  font-size: 12px;
  font-weight: 500;
  color: var(--dark);
}

.hv__svc-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}

.hv__svc-tag {
  margin-left: auto;
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--text3);
  font-weight: 400;
}

/* ============================================================
   CASE STUDY CARD — REAL IMAGE PREVIEW
   ============================================================ */
.card-thumb-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
  transition: transform .4s ease;
}

.card-thumb-inner {
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.project-card:hover .card-thumb-img {
  transform: scale(1.04);
}

/* ============================================================
   CASE STUDY EXPANSION — BEFORE/AFTER BUSINESS VALUE
   ============================================================ */
.ba-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: .75rem;
}

.ba-col {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1rem 1.1rem;
}

.ba-label {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 20px;
  margin-bottom: .75rem;
}

.ba-label.before {
  background: #fee2e2;
  color: #b91c1c;
}

.ba-label.after {
  background: var(--green-light);
  color: var(--green-bold);
}

.ba-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.ba-col ul li {
  font-size: 12.5px;
  color: var(--text2);
  line-height: 1.55;
  padding-left: 14px;
  position: relative;
}

.ba-col ul li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--text3);
  font-size: 10px;
  top: 2px;
}

/* ============================================================
   CASE STUDY CARD — IMPROVED UI
   ============================================================ */
.card-thumb-inner {
  width: 100%;
  height: 100%;
  overflow: hidden;
  position: relative;
}

.card-thumb-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
  transition: transform .5s ease;
}

.project-card:hover .card-thumb-img {
  transform: scale(1.05);
}

/* ============================================================
   PROCESS PAGE — IMPROVED STICKY TIMELINE
   ============================================================ */
.process-timeline-item {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  padding: 14px 16px;
  border-radius: 12px;
  cursor: pointer;
  transition: background .2s;
}

.process-timeline-item:hover,
.process-timeline-item.active {
  background: var(--green-light);
}

.process-timeline-item.active .process-num {
  background: var(--green) !important;
  color: #fff !important;
  border-color: var(--green) !important;
}

/* ============================================================
   HERO WIDGET — IMPROVED STATS BOTTOM
   ============================================================ */
.hv__stat-icon {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 4px;
}

.hv__stat-icon svg {
  width: 14px;
  height: 14px;
  stroke: var(--green-bold);
  fill: none;
  stroke-width: 2;
}

/* ============================================================
   INDUSTRIES — IMPROVED 4-COL RICH CARDS
   ============================================================ */
.industries-grid--4col {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

@media (max-width: 900px) {
  .industries-grid--4col { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 500px) {
  .industries-grid--4col { grid-template-columns: 1fr 1fr; }
}

.industry-item--rich {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 1.5rem 1.25rem;
  text-align: left;
  cursor: default;
  transition: border-color .2s, background .2s, transform .2s, box-shadow .2s;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.industry-item--rich:hover {
  border-color: var(--green);
  background: var(--white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.industry-item--rich .industry-item__icon {
  width: 44px;
  height: 44px;
  border-radius: var(--r-md);
  background: var(--green-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 0 4px;
  transition: background .2s;
}

.industry-item--rich:hover .industry-item__icon {
  background: var(--green-mid);
}

.industry-item--rich .industry-item__icon svg {
  width: 20px;
  height: 20px;
  stroke: var(--green-bold);
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.industry-item--rich .industry-item__name {
  font-size: 14px;
  font-weight: 600;
  color: var(--dark);
}

.industry-item__desc {
  font-size: 12px;
  color: var(--text3);
  line-height: 1.5;
}

/* ============================================================
   PROCESS CARDS — DARK SECTION (homepage)
   ============================================================ */
.process-card-dark {
  background: var(--dark2);
  padding: 2rem 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: background .2s;
}

.process-card-dark:hover {
  background: var(--dark3);
}

.process-card-dark--active {
  background: var(--dark3);
  position: relative;
}

.process-card-dark--active::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--green);
}

.process-card-dark__num {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--green);
  letter-spacing: .1em;
}

.process-card-dark__icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(90,158,106,.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--green);
}

.process-card-dark__icon svg {
  width: 22px;
  height: 22px;
}

.process-card-dark__title {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 500;
  color: #fff;
}

.process-card-dark__desc {
  font-size: 13px;
  color: #8FA888;
  line-height: 1.7;
  flex: 1;
}

.process-card-dark__time {
  font-family: var(--font-mono);
  font-size: 10px;
  color: #4A5A46;
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-top: 4px;
}

@media (max-width: 900px) {
  .process-card-dark {
    padding: 1.5rem;
  }
}

@media (max-width: 700px) {
  .process-card-dark {
    /* stack handled by parent grid */
  }
}
