/**
 * Chumvi — Laikipia community borehole (275m, donor-funded)
 * Depth descent layout · dry-aquifer drama · drip future
 */
@import url('kisima-project-ngatataek.css');

.kisima-chumvi-page {
  --cv-rust: #c2410c;
  --cv-dust: #d6d3d1;
  --cv-deep: #1e1b4b;
  --cv-gold: #eab308;
  --cv-teal: #0d9488;
  --cv-sand: #fafaf9;
  --ng-sky: #6366f1;
  --ng-water: #4f46e5;
  --ng-navy: #1e1b4b;
  --ng-earth: #c2410c;
  --ng-sand: #fafaf9;
  background: var(--cv-sand);
}

/* ——— Opening: depth theatre ——— */
.cv-opening {
  position: relative;
  min-height: clamp(520px, 92vh, 820px);
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  color: #fff;
}

.cv-opening__bg {
  position: absolute;
  inset: 0;
  background: center / cover no-repeat;
}

.cv-opening__veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(0deg, #1e1b4b 0%, rgba(30, 27, 75, 0.75) 35%, rgba(30, 27, 75, 0.4) 100%),
    linear-gradient(90deg, rgba(30, 27, 75, 0.85) 0%, transparent 55%);
}

.cv-opening__content {
  position: relative;
  z-index: 2;
  width: min(1200px, 100% - 2rem);
  margin: 0 auto;
  padding: clamp(5rem, 12vh, 7rem) 0 clamp(2.5rem, 5vw, 3.5rem);
}

.cv-opening__crumb {
  font-size: 0.8rem;
  margin-bottom: 1rem;
  opacity: 0.8;
}

.cv-opening__crumb a {
  color: #a5b4fc;
  text-decoration: none;
}

.cv-opening__flags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.1rem;
}

.cv-flag {
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  padding: 0.35rem 0.75rem;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.cv-flag--donor {
  background: linear-gradient(135deg, #ca8a04, #eab308);
  color: #1c1917;
  border: none;
}

.cv-flag--yield {
  background: linear-gradient(135deg, #0d9488, #14b8a6);
  color: #042f2e;
  border: none;
}

.cv-opening h1 {
  font-size: clamp(2rem, 5vw, 3.4rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.03em;
  max-width: 18ch;
  margin-bottom: 1rem;
}

.cv-opening__lead {
  font-size: clamp(1rem, 2vw, 1.15rem);
  line-height: 1.65;
  max-width: 40rem;
  opacity: 0.92;
  margin-bottom: 1.75rem;
}

.cv-depth-meter {
  display: flex;
  align-items: flex-end;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.cv-depth-meter__num {
  font-size: clamp(3.5rem, 12vw, 6rem);
  font-weight: 800;
  line-height: 1;
  color: #a5b4fc;
  letter-spacing: -0.04em;
}

.cv-depth-meter__meta {
  padding-bottom: 0.5rem;
}

.cv-depth-meter__meta strong {
  display: block;
  font-size: 1.1rem;
  color: #fcd34d;
}

.cv-depth-meter__meta span {
  font-size: 0.82rem;
  opacity: 0.85;
}

.cv-opening__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1.75rem;
}

/* ——— Dry landscape strip ——— */
.cv-dry-strip {
  background: #292524;
  color: #e7e5e4;
  padding: 1.25rem 0;
  border-bottom: 3px solid var(--cv-rust);
}

.cv-dry-strip__inner {
  width: min(1200px, 100% - 2rem);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1rem;
  text-align: center;
}

.cv-dry-strip__item strong {
  display: block;
  font-size: 1.35rem;
  font-weight: 800;
  color: #fca5a5;
}

.cv-dry-strip__item span {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  opacity: 0.8;
}

/* ——— Two-world: before travel / after water ——— */
.cv-two-world {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 320px;
}

.cv-two-world__side {
  padding: clamp(2rem, 5vw, 3rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.cv-two-world__side--before {
  background: linear-gradient(145deg, #44403c, #292524);
  color: #d6d3d1;
}

.cv-two-world__side--after {
  background: linear-gradient(145deg, #ecfdf5, #d1fae5);
  color: #14532d;
}

.cv-two-world__label {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.75rem;
  opacity: 0.7;
}

.cv-two-world__side h2 {
  font-size: clamp(1.35rem, 3vw, 1.75rem);
  font-weight: 800;
  margin-bottom: 0.75rem;
  line-height: 1.2;
}

.cv-two-world__side p {
  font-size: 0.95rem;
  line-height: 1.6;
  margin: 0;
}

.cv-two-world__side ul {
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
}

.cv-two-world__side li {
  font-size: 0.88rem;
  padding-left: 1.2rem;
  position: relative;
  margin-bottom: 0.4rem;
  line-height: 1.45;
}

.cv-two-world__side--before li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: #fca5a5;
}

.cv-two-world__side--after li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: #059669;
  font-weight: 700;
}

/* ——— Depth descent timeline ——— */
.cv-descent {
  padding: clamp(3rem, 8vw, 5rem) 0;
  background: #fff;
}

.cv-descent__track {
  position: relative;
  max-width: 640px;
  margin: 2.5rem auto 0;
  padding-left: 3rem;
  border-left: 4px solid #e7e5e4;
}

.cv-descent__track::before {
  content: '';
  position: absolute;
  left: -4px;
  top: 0;
  width: 4px;
  height: 72%;
  background: linear-gradient(180deg, #fca5a5 0%, #c2410c 45%, #4f46e5 72%, #0d9488 100%);
}

.cv-descent__node {
  position: relative;
  margin-bottom: 2.5rem;
  padding-bottom: 0.5rem;
}

.cv-descent__dot {
  position: absolute;
  left: -3rem;
  top: 0.15rem;
  width: 1.25rem;
  height: 1.25rem;
  margin-left: -0.625rem;
  border-radius: 50%;
  background: #fff;
  border: 4px solid var(--cv-rust);
  box-shadow: 0 0 0 4px rgba(194, 65, 12, 0.2);
}

.cv-descent__node--aquifer .cv-descent__dot {
  border-color: #4f46e5;
  box-shadow: 0 0 0 6px rgba(79, 70, 229, 0.25);
  width: 1.5rem;
  height: 1.5rem;
  margin-left: -0.75rem;
  left: -3.05rem;
}

.cv-descent__node--strike .cv-descent__dot {
  border-color: #0d9488;
  background: #14b8a6;
  box-shadow: 0 0 0 8px rgba(13, 148, 136, 0.3);
}

.cv-descent__depth {
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--cv-rust);
  margin-bottom: 0.25rem;
}

.cv-descent__node--aquifer .cv-descent__depth { color: #4f46e5; }
.cv-descent__node--strike .cv-descent__depth { color: #0d9488; }

.cv-descent__node h3 {
  font-size: 1.15rem;
  font-weight: 800;
  margin-bottom: 0.4rem;
  color: #1c1917;
}

.cv-descent__node p {
  font-size: 0.92rem;
  line-height: 1.6;
  color: #57534e;
  margin: 0;
}

/* ——— Donor + community cards ——— */
.cv-partners {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin-top: 2rem;
}

.cv-partner-card {
  padding: 1.5rem;
  border-radius: 18px;
  border: 1px solid #e7e5e4;
  background: #fff;
}

.cv-partner-card--donor {
  border-color: #fde68a;
  background: linear-gradient(145deg, #fffbeb, #fff);
}

.cv-partner-card h3 {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.05rem;
  font-weight: 800;
  margin-bottom: 0.65rem;
}

.cv-partner-card--donor h3 { color: #a16207; }
.cv-partner-card p {
  font-size: 0.9rem;
  line-height: 1.6;
  color: #57534e;
  margin: 0;
}

/* ——— Six acres drip band ——— */
.cv-drip-band {
  background: linear-gradient(135deg, #14532d 0%, #166534 50%, #15803d 100%);
  color: #fff;
  padding: clamp(3rem, 7vw, 4.5rem) 0;
  position: relative;
  overflow: hidden;
}

.cv-drip-band::after {
  content: '';
  position: absolute;
  right: -10%;
  top: -20%;
  width: 50%;
  height: 140%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.06) 0%, transparent 70%);
  pointer-events: none;
}

.cv-drip-band__inner {
  width: min(1200px, 100% - 2rem);
  margin: 0 auto;
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: center;
}

.cv-drip-band h2 {
  font-size: clamp(1.6rem, 3.5vw, 2.2rem);
  font-weight: 800;
  margin-bottom: 1rem;
}

.cv-drip-band p {
  font-size: 1rem;
  line-height: 1.7;
  opacity: 0.92;
  margin-bottom: 0.85rem;
}

.cv-acres-badge {
  display: inline-flex;
  align-items: baseline;
  gap: 0.35rem;
  padding: 0.75rem 1.25rem;
  background: rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  margin-top: 0.5rem;
}

.cv-acres-badge strong {
  font-size: 2.5rem;
  font-weight: 800;
  color: #86efac;
}

.cv-drip-band__img {
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.3);
}

.cv-drip-band__img img {
  width: 100%;
  aspect-ratio: 16/11;
  object-fit: cover;
}

/* ——— Photo grid ——— */
.cv-mosaic {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: 120px;
  gap: 0.5rem;
  margin-top: 2rem;
}

.cv-mosaic__item {
  border-radius: 12px;
  overflow: hidden;
  position: relative;
}

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

.cv-mosaic__item--a { grid-column: span 6; grid-row: span 2; }
.cv-mosaic__item--b { grid-column: span 3; grid-row: span 2; }
.cv-mosaic__item--c { grid-column: span 3; grid-row: span 1; }
.cv-mosaic__item--d { grid-column: span 3; grid-row: span 1; }
.cv-mosaic__item--e { grid-column: span 4; grid-row: span 2; }
.cv-mosaic__item--f { grid-column: span 4; grid-row: span 1; }
.cv-mosaic__item--g { grid-column: span 4; grid-row: span 1; }
.cv-mosaic__item--h { grid-column: span 6; grid-row: span 1; }
.cv-mosaic__item--i { grid-column: span 3; grid-row: span 1; }
.cv-mosaic__item--j { grid-column: span 3; grid-row: span 1; }

.cv-mosaic__cap {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 0.5rem 0.65rem;
  font-size: 0.7rem;
  font-weight: 600;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.75), transparent);
  color: #fff;
}

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

.kisima-chumvi-page .ng-quote__scrim {
  background: linear-gradient(135deg, rgba(30, 27, 75, 0.95), rgba(20, 83, 45, 0.9));
}

.kisima-chumvi-page .ng-quote__text,
.kisima-chumvi-page .ng-quote__author {
  color: #fff;
}

.kisima-chumvi-page .ng-quote__author {
  color: #d1fae5;
}

@media (max-width: 900px) {
  .cv-two-world,
  .cv-partners,
  .cv-drip-band__inner,
  .cv-dry-strip__inner {
    grid-template-columns: 1fr;
  }

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

  .cv-mosaic {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 140px;
  }

  .cv-mosaic__item {
    grid-column: span 1 !important;
    grid-row: span 1 !important;
  }

  .cv-mosaic__item--a {
    grid-column: span 2 !important;
    grid-row: span 2 !important;
  }
}

/* ——— Opening stat pills ——— */
.cv-opening__stats {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-bottom: 1.25rem;
}

.cv-opening__stat {
  padding: 0.55rem 0.9rem;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.16);
  font-size: 0.78rem;
  opacity: 0.92;
}

.cv-opening__stat strong {
  display: block;
  font-size: 1.05rem;
  color: #fcd34d;
}

.cv-opening__stat span {
  display: block;
  font-size: 0.68rem;
  opacity: 0.88;
  margin-top: 0.1rem;
}

/* ——— James thank-you banner ——— */
.cv-thanks {
  background: linear-gradient(135deg, #1e1b4b 0%, #312e81 45%, #4338ca 100%);
  color: #fff;
  padding: clamp(2.5rem, 6vw, 3.5rem) 0;
  position: relative;
  overflow: hidden;
}

.cv-thanks::after {
  content: '';
  position: absolute;
  right: -5%;
  top: -30%;
  width: 40%;
  height: 160%;
  background: radial-gradient(circle, rgba(234, 179, 8, 0.15) 0%, transparent 65%);
  pointer-events: none;
}

.cv-thanks__inner {
  width: min(900px, 100% - 2rem);
  margin: 0 auto;
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
  position: relative;
  z-index: 1;
}

.cv-thanks__icon {
  flex-shrink: 0;
  width: 3.5rem;
  height: 3.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: linear-gradient(135deg, #eab308, #f59e0b);
  color: #1c1917;
  font-size: 1.35rem;
  box-shadow: 0 12px 32px rgba(234, 179, 8, 0.35);
}

.cv-thanks__eyebrow {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #fcd34d;
  margin: 0 0 0.5rem;
}

.cv-thanks h2 {
  font-size: clamp(1.5rem, 3.5vw, 2rem);
  font-weight: 800;
  margin: 0 0 1rem;
  letter-spacing: -0.02em;
}

.cv-thanks p {
  font-size: 1rem;
  line-height: 1.75;
  opacity: 0.94;
  margin: 0 0 1rem;
}

.cv-thanks p:last-child {
  margin-bottom: 0;
}

/* ——— Photo journey ——— */
.cv-journey {
  padding: clamp(3rem, 8vw, 5rem) 0;
  background: #fff;
}

.cv-journey-block {
  margin-top: 3rem;
  padding-top: 2.5rem;
  border-top: 1px solid #e7e5e4;
}

.cv-journey-block:first-of-type {
  margin-top: 2rem;
  padding-top: 0;
  border-top: none;
}

.cv-journey-block--water {
  background: linear-gradient(180deg, #eff6ff 0%, #fff 100%);
  padding: 2rem;
  border-radius: 20px;
  border-top: none;
}

.cv-journey-block--joy {
  background: linear-gradient(180deg, #ecfdf5 0%, #fff 100%);
  padding: 2rem;
  border-radius: 20px;
}

.cv-journey-block__title {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: clamp(1.2rem, 2.5vw, 1.45rem);
  font-weight: 800;
  color: #1c1917;
  margin: 0 0 0.35rem;
}

.cv-journey-block__title span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2rem;
  height: 2rem;
  padding: 0 0.5rem;
  border-radius: 8px;
  background: var(--cv-deep);
  color: #a5b4fc;
  font-size: 0.78rem;
  font-weight: 800;
}

.cv-journey-block--water .cv-journey-block__title span {
  background: #1d4ed8;
  color: #bfdbfe;
}

.cv-journey-block--joy .cv-journey-block__title span {
  background: #047857;
  color: #a7f3d0;
}

.cv-journey-block__lead {
  font-size: 0.95rem;
  color: #78716c;
  margin: 0 0 1.25rem;
  max-width: 52ch;
}

/* ——— Gallery grid (uniform, compact tiles) ——— */
.cv-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  max-width: 960px;
}

.cv-gallery--pair {
  grid-template-columns: repeat(2, 1fr);
  max-width: 560px;
}

.cv-gallery--trio {
  max-width: 720px;
}

.cv-gallery__item {
  margin: 0;
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
  border: 1px solid #e7e5e4;
  box-shadow: 0 4px 14px rgba(28, 25, 23, 0.06);
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.cv-gallery__item:hover {
  box-shadow: 0 8px 24px rgba(28, 25, 23, 0.1);
  transform: translateY(-2px);
}

.cv-gallery__item img {
  display: block;
  width: 100%;
  height: 190px;
  object-fit: cover;
}

.cv-gallery__item--lead {
  grid-column: span 2;
}

.cv-gallery__item--lead img {
  height: 220px;
}

.cv-gallery__item figcaption {
  padding: 0.5rem 0.65rem;
  font-size: 0.7rem;
  font-weight: 600;
  color: #57534e;
  background: #fafaf9;
  line-height: 1.35;
  border-top: 1px solid #f5f5f4;
}

.cv-journey-block--joy .cv-gallery__item {
  border-color: #bbf7d0;
}

.cv-journey-block--joy .cv-gallery__item figcaption {
  background: #f0fdf4;
  color: #166534;
  border-top-color: #dcfce7;
}

.cv-video {
  display: block;
  width: 100%;
  border-radius: 16px;
  background: #000;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.2);
}

.cv-video__cap {
  margin: 0.5rem 0 0;
  font-size: 0.82rem;
  color: #78716c;
}

/* ——— First water moment (section 03) ——— */
.cv-water-moment {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.85rem;
  max-width: 820px;
}

.cv-water-moment__photo {
  margin: 0;
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 6px 20px rgba(29, 78, 216, 0.1);
  border: 1px solid #dbeafe;
}

.cv-water-moment__photo img {
  display: block;
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.cv-water-moment__photo figcaption {
  padding: 0.55rem 0.7rem;
  font-size: 0.72rem;
  font-weight: 600;
  color: #1e40af;
  background: #fff;
  line-height: 1.35;
}

.cv-water-moment__video {
  grid-column: 1 / -1;
  max-width: 480px;
  margin: 0.25rem auto 0;
  width: 100%;
}

.cv-water-moment__video .cv-video {
  border-radius: 12px;
  box-shadow: 0 10px 28px rgba(29, 78, 216, 0.15);
  border: 1px solid #dbeafe;
}

.cv-water-moment__video .cv-video__cap {
  text-align: center;
  color: #64748b;
}

@media (max-width: 900px) {
  .cv-thanks__inner {
    flex-direction: column;
  }

  .cv-gallery,
  .cv-gallery--pair,
  .cv-gallery--trio {
    grid-template-columns: repeat(2, 1fr);
    max-width: 100%;
  }

  .cv-gallery__item--lead {
    grid-column: span 2;
  }

  .cv-gallery__item img {
    height: 170px;
  }

  .cv-gallery__item--lead img {
    height: 200px;
  }

  .cv-water-moment {
    grid-template-columns: 1fr;
    max-width: 100%;
  }

  .cv-water-moment__photo img {
    height: 200px;
  }

  .cv-water-moment__video {
    max-width: 100%;
  }

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

@media (max-width: 520px) {
  .cv-gallery,
  .cv-gallery--pair,
  .cv-gallery--trio {
    grid-template-columns: 1fr;
  }

  .cv-gallery__item--lead {
    grid-column: span 1;
  }
}

@media (min-width: 901px) {
  .cv-dry-strip__inner {
    grid-template-columns: repeat(5, 1fr);
  }
}

/* ——— James Hillencamp story (donor voice) ——— */
.cv-james-story {
  padding: clamp(3rem, 8vw, 5rem) 0;
  background: #fff;
}

.cv-james-story__panel {
  margin-top: 1.75rem;
  padding: clamp(1.75rem, 4vw, 2.5rem);
  background: linear-gradient(145deg, #fafaf9 0%, #f5f5f4 100%);
  border: 1px solid #e7e5e4;
  border-left: 4px solid #eab308;
  border-radius: 0 18px 18px 0;
  box-shadow: 0 12px 40px rgba(30, 27, 75, 0.06);
}

.cv-james-story__panel p {
  font-size: 1.02rem;
  line-height: 1.8;
  color: #292524;
  margin: 0 0 1.15rem;
}

.cv-james-story__scope {
  margin: 0 0 1.15rem 1.25rem;
  padding: 0;
  color: #292524;
}

.cv-james-story__scope li {
  margin-bottom: 0.5rem;
  line-height: 1.65;
  font-size: 1rem;
}

.cv-james-story__sign {
  margin: 1.5rem 0 0;
  padding-top: 1.25rem;
  border-top: 1px solid #d6d3d1;
  font-size: 1.1rem;
  font-weight: 700;
  font-style: normal;
  color: #1e1b4b;
}

/* ——— Drilling specification ——— */
.cv-spec-section {
  padding: clamp(3rem, 8vw, 5rem) 0;
  background: linear-gradient(180deg, #f8fafc 0%, #fff 100%);
}

.cv-spec-phases {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin: 2rem 0 2.5rem;
}

.cv-spec-phase {
  padding: 1.35rem 1.5rem;
  background: #fff;
  border: 1px solid #e7e5e4;
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(30, 27, 75, 0.04);
}

.cv-spec-phase__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2rem;
  height: 2rem;
  margin-bottom: 0.65rem;
  border-radius: 8px;
  background: var(--cv-deep);
  color: #a5b4fc;
  font-size: 0.75rem;
  font-weight: 800;
}

.cv-spec-phase h3 {
  font-size: 1.05rem;
  font-weight: 800;
  color: #1c1917;
  margin: 0 0 0.5rem;
}

.cv-spec-phase p {
  font-size: 0.92rem;
  line-height: 1.65;
  color: #57534e;
  margin: 0;
}

.cv-spec {
  position: relative;
  border-radius: 22px;
  background: #1e1b4b;
  color: #fff;
  padding: clamp(1.5rem, 4vw, 2.25rem);
  overflow: hidden;
  box-shadow: 0 24px 48px rgba(30, 27, 75, 0.2);
}

.cv-spec::before {
  content: 'CHUMVI · 275M · 3.2 M³/HR';
  position: absolute;
  top: 1rem;
  right: 1.25rem;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  opacity: 0.45;
  font-family: ui-monospace, monospace;
}

.cv-spec__head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.5rem 1rem;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.cv-spec__title {
  font-size: 1.3rem;
  font-weight: 800;
}

.cv-spec__sub {
  font-size: 0.78rem;
  opacity: 0.7;
  font-family: ui-monospace, monospace;
}

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

.cv-spec__cell {
  padding: 1rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(165, 180, 252, 0.15);
  border-radius: 12px;
}

.cv-spec__cell--accent {
  background: linear-gradient(145deg, rgba(234, 179, 8, 0.18), rgba(234, 179, 8, 0.08));
  border-color: rgba(253, 224, 71, 0.35);
}

.cv-spec__cell strong {
  display: block;
  font-size: 1.35rem;
  font-weight: 800;
  color: #c7d2fe;
  margin-bottom: 0.2rem;
}

.cv-spec__cell--accent strong {
  color: #fcd34d;
}

.cv-spec__cell span {
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  opacity: 0.75;
}

.cv-spec-future {
  margin-top: 2rem;
  padding: 1.5rem 1.75rem;
  background: linear-gradient(135deg, #ecfdf5, #d1fae5);
  border: 1px solid #a7f3d0;
  border-radius: 18px;
}

.cv-spec-future h3 {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.05rem;
  font-weight: 800;
  color: #065f46;
  margin: 0 0 1rem;
}

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

.cv-spec-future__item {
  padding: 0.85rem 1rem;
  background: rgba(255, 255, 255, 0.7);
  border-radius: 12px;
  border: 1px solid rgba(16, 185, 129, 0.2);
}

.cv-spec-future__item strong {
  display: block;
  font-size: 1.1rem;
  font-weight: 800;
  color: #047857;
}

.cv-spec-future__item span {
  font-size: 0.72rem;
  color: #065f46;
  opacity: 0.85;
}

/* ——— Drip band tower badge ——— */
.cv-tower-badge {
  display: inline-flex;
  align-items: baseline;
  gap: 0.35rem;
  padding: 0.75rem 1.25rem;
  background: rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  margin-top: 0.65rem;
  margin-left: 0.5rem;
}

.cv-tower-badge strong {
  font-size: 1rem;
  font-weight: 800;
  color: #86efac;
}

.cv-tower-badge span {
  font-size: 0.78rem;
  opacity: 0.88;
}

/* ——— James contact card ——— */
.cv-james-contact {
  padding: clamp(2.5rem, 6vw, 4rem) 0;
  background: #fff;
}

.cv-james-contact__card {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
  max-width: 36rem;
  margin-top: 1.5rem;
  padding: 1.75rem;
  background: linear-gradient(135deg, #fafaf9, #f5f5f4);
  border: 1px solid #e7e5e4;
  border-radius: 20px;
  box-shadow: 0 16px 40px rgba(30, 27, 75, 0.06);
}

.cv-james-contact__avatar {
  flex-shrink: 0;
  width: 3.5rem;
  height: 3.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: linear-gradient(135deg, #ca8a04, #eab308);
  color: #1c1917;
  font-size: 1.35rem;
}

.cv-james-contact__body h3 {
  font-size: 1.25rem;
  font-weight: 800;
  margin: 0 0 0.2rem;
  color: #1c1917;
}

.cv-james-contact__role {
  font-size: 0.85rem;
  color: #78716c;
  margin: 0 0 1rem;
}

.cv-james-contact__list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.cv-james-contact__list li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 0.65rem;
  font-size: 0.95rem;
}

.cv-james-contact__list li i {
  color: #6366f1;
  font-size: 0.9rem;
}

.cv-james-contact__list a {
  color: #1e1b4b;
  font-weight: 600;
  text-decoration: none;
}

.cv-james-contact__list a:hover {
  text-decoration: underline;
}

.cv-james-contact__list span {
  font-size: 0.82rem;
  color: #78716c;
}

@media (max-width: 900px) {
  .cv-spec-phases,
  .cv-spec__grid,
  .cv-spec-future__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .cv-tower-badge {
    display: flex;
    margin-left: 0;
  }
}

@media (max-width: 520px) {
  .cv-spec__grid,
  .cv-spec-future__grid {
    grid-template-columns: 1fr;
  }

  .cv-spec-phases {
    grid-template-columns: 1fr;
  }

  .cv-james-contact__card {
    flex-direction: column;
  }
}