/**
 * Saikeri · Kajiado County
 * "Into the Caves" theme — Mount Suswa volcanic terrain
 * 300m · 6 m³/hr · livestock + agriculture · drilled past 240m of cave-pocketed volcanic rock
 */
@import url('kisima-project-ngatataek.css');

.kisima-saikeri-page {
  --sk-ink: #f3f4f6;
  --sk-basalt: #0a0a0c;
  --sk-rock: #18181b;
  --sk-rock-2: #27272a;
  --sk-rock-3: #3f3f46;
  --sk-ash: #71717a;
  --sk-paper: #fafaf6;
  --sk-cream: #f5f3eb;
  --sk-lava: #ea580c;
  --sk-lava-hot: #f97316;
  --sk-ember: #fbbf24;
  --sk-glow: #fde047;
  --sk-cobalt: #0369a1;
  --sk-deep: #0c4a6e;
  --sk-aqua: #06b6d4;
  --ng-water: #0369a1;
  --ng-sky: #06b6d4;
  --ng-navy: #0a0a0c;
  --ng-earth: #ea580c;
  background: var(--sk-basalt);
  color: var(--sk-ink);
}

/* ——— Cinematic volcanic hero ——— */
.sk-hero {
  position: relative;
  min-height: clamp(620px, 100vh, 920px);
  overflow: hidden;
  isolation: isolate;
  color: #fff;
}

.sk-hero__bg {
  position: absolute;
  inset: 0;
  background-image: url('/blog/images/projects/saikeri/IMG_1084.jpeg');
  background-size: cover;
  background-position: center;
  z-index: 0;
  transform: scale(1.05);
  animation: sk-zoom 24s ease-out forwards;
  filter: contrast(1.05) brightness(0.55);
}

@keyframes sk-zoom { to { transform: scale(1); } }

.sk-hero__scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(10, 10, 12, 0.75) 0%, rgba(10, 10, 12, 0.45) 35%, rgba(10, 10, 12, 0.96) 100%),
    radial-gradient(60% 60% at 25% 70%, rgba(234, 88, 12, 0.42) 0%, transparent 60%),
    radial-gradient(50% 50% at 80% 30%, rgba(251, 191, 36, 0.22) 0%, transparent 65%);
  z-index: 1;
}

/* Lava-ember particles */
.sk-hero__embers {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 2;
  background-image:
    radial-gradient(2px 2px at 18% 78%, rgba(253, 224, 71, 0.55), transparent),
    radial-gradient(1px 1px at 32% 65%, rgba(251, 146, 60, 0.65), transparent),
    radial-gradient(2px 2px at 55% 85%, rgba(251, 191, 36, 0.5), transparent),
    radial-gradient(1px 1px at 72% 70%, rgba(253, 224, 71, 0.4), transparent),
    radial-gradient(1px 1px at 88% 55%, rgba(251, 146, 60, 0.55), transparent),
    radial-gradient(2px 2px at 12% 45%, rgba(253, 224, 71, 0.35), transparent);
  animation: sk-ember 8s ease-in-out infinite alternate;
}

@keyframes sk-ember {
  0% { opacity: 0.45; transform: translateY(0); }
  100% { opacity: 0.85; transform: translateY(-12px); }
}

.sk-hero__inner {
  position: relative;
  z-index: 4;
  width: min(1300px, 100% - 2rem);
  margin: 0 auto;
  padding: clamp(5rem, 12vh, 7rem) 0 clamp(2.5rem, 5vw, 3.5rem);
  min-height: clamp(620px, 100vh, 920px);
  display: flex;
  flex-direction: column;
}

.sk-hero__top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: auto;
}

.sk-hero__crumb {
  font-family: ui-monospace, monospace;
  font-size: 0.76rem;
  letter-spacing: 0.05em;
  opacity: 0.85;
}

.sk-hero__crumb a { color: var(--sk-ember); text-decoration: none; }

.sk-hero__loc {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.4rem 0.85rem;
  background: rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(251, 191, 36, 0.35);
  border-radius: 999px;
  font-family: ui-monospace, monospace;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  backdrop-filter: blur(8px);
}

.sk-hero__loc i { color: var(--sk-ember); }

/* Suswa badge */
.sk-hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.55rem 1rem;
  background: linear-gradient(135deg, rgba(234, 88, 12, 0.25), rgba(251, 191, 36, 0.18));
  border: 1px solid rgba(251, 191, 36, 0.55);
  border-radius: 999px;
  font-family: ui-monospace, monospace;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--sk-glow);
  width: fit-content;
  margin-bottom: 1.5rem;
  backdrop-filter: blur(10px);
  text-shadow: 0 0 14px rgba(251, 191, 36, 0.4);
}

.sk-hero__badge::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--sk-lava-hot);
  box-shadow: 0 0 14px var(--sk-lava-hot);
}

.sk-hero h1 {
  font-size: clamp(2.2rem, 6vw, 4.2rem);
  font-weight: 800;
  line-height: 1.04;
  letter-spacing: -0.035em;
  text-wrap: balance;
  max-width: 24ch;
  margin-bottom: 1rem;
}

.sk-hero h1 .sk-lava-text {
  background: linear-gradient(135deg, var(--sk-lava-hot) 0%, var(--sk-ember) 50%, var(--sk-glow) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-style: italic;
}

.sk-hero h1 .sk-water-text {
  color: var(--sk-aqua);
}

.sk-hero__lead {
  font-size: clamp(1rem, 1.85vw, 1.18rem);
  line-height: 1.6;
  opacity: 0.92;
  max-width: 50rem;
  margin-bottom: 1.75rem;
}

.sk-hero__lead strong { color: var(--sk-ember); }
.sk-hero__lead em { color: var(--sk-aqua); font-style: normal; font-weight: 600; }

.sk-hero__pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 2rem;
}

.sk-pill {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #e2e8f0;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.sk-pill--lava { background: linear-gradient(135deg, var(--sk-lava), var(--sk-ember)); color: #1c1003; border-color: transparent; }
.sk-pill--water { background: linear-gradient(135deg, var(--sk-cobalt), var(--sk-aqua)); color: #fff; border-color: transparent; }

.sk-hero__strap {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.7rem;
  max-width: 60rem;
}

.sk-hero__stat {
  padding: 1rem 1.15rem;
  background: rgba(10, 10, 12, 0.65);
  border: 1px solid rgba(251, 191, 36, 0.25);
  border-radius: 14px;
  backdrop-filter: blur(10px);
}

.sk-hero__stat strong {
  display: block;
  font-family: ui-monospace, monospace;
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--sk-ember);
  line-height: 1.1;
}

.sk-hero__stat--water strong { color: var(--sk-aqua); }

.sk-hero__stat span {
  display: block;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  opacity: 0.85;
  margin-top: 0.2rem;
}

.sk-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1.5rem;
}

/* ——— Section frame ——— */
.sk-section {
  padding: clamp(3.5rem, 7vw, 5.5rem) 0;
  position: relative;
}

.sk-section--dark {
  background:
    radial-gradient(80% 60% at 50% 0%, rgba(234, 88, 12, 0.06) 0%, transparent 50%),
    linear-gradient(180deg, #0a0a0c 0%, #18181b 100%);
  color: var(--sk-ink);
}

.sk-section--rock {
  background: linear-gradient(180deg, #18181b 0%, #27272a 100%);
  color: var(--sk-ink);
}

.sk-section--paper {
  background: var(--sk-cream);
  color: var(--sk-basalt);
}

.sk-section--lake {
  background: linear-gradient(180deg, var(--sk-cream) 0%, #e0f2fe 100%);
  color: var(--sk-basalt);
}

.sk-wrap {
  width: min(1280px, 100% - 2rem);
  margin-inline: auto;
}

.sk-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: ui-monospace, monospace;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--sk-lava-hot);
  margin-bottom: 0.75rem;
}

.sk-eyebrow::before {
  content: '';
  width: 2rem;
  height: 2px;
  background: currentColor;
}

.sk-eyebrow--water { color: var(--sk-aqua); }
.sk-eyebrow--ash { color: var(--sk-ash); }

.sk-h2 {
  font-size: clamp(1.95rem, 4.5vw, 2.7rem);
  font-weight: 800;
  letter-spacing: -0.028em;
  line-height: 1.1;
  margin-bottom: 1rem;
  text-wrap: balance;
}

.sk-h2 em { font-style: italic; color: var(--sk-lava-hot); }
.sk-h2 b { font-weight: 800; color: var(--sk-aqua); }

.sk-section--paper .sk-h2 em { color: var(--sk-lava); }
.sk-section--paper .sk-h2 b { color: var(--sk-cobalt); }

.sk-lead {
  font-size: 1.05rem;
  line-height: 1.7;
  opacity: 0.88;
  max-width: 48rem;
}

.sk-section--dark .sk-lead,
.sk-section--rock .sk-lead { color: #d4d4d8; }

/* ——— Suswa essay (dark) ——— */
.sk-essay {
  margin-top: 2rem;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 2.5rem;
  align-items: center;
}

.sk-essay__copy {
  font-size: 1.02rem;
  line-height: 1.75;
  color: #d4d4d8;
}

.sk-essay__copy p { margin-bottom: 1rem; }
.sk-essay__copy p:last-child { margin-bottom: 0; }

.sk-essay__copy strong { color: var(--sk-ember); font-weight: 700; }

.sk-essay__quote {
  font-family: 'Inter', sans-serif;
  font-style: italic;
  font-size: 1.25rem;
  line-height: 1.5;
  color: var(--sk-glow);
  border-left: 3px solid var(--sk-lava-hot);
  padding: 0.5rem 0 0.5rem 1.5rem;
  margin: 1.25rem 0;
  font-weight: 500;
}

.sk-essay__visual {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  aspect-ratio: 4/5;
  box-shadow: 0 28px 60px rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(251, 191, 36, 0.2);
}

.sk-essay__visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: contrast(1.05) saturate(1.1);
}

.sk-essay__visual-cap {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1.5rem 1.25rem 1rem;
  background: linear-gradient(0deg, rgba(10, 10, 12, 0.92), transparent);
  color: var(--sk-ember);
  font-family: ui-monospace, monospace;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

/* ——— THE CAVE DIAGRAM (signature) ——— */
.sk-cave {
  margin-top: 3rem;
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 3rem;
  align-items: start;
}

.sk-cave__diagram {
  position: relative;
  background:
    radial-gradient(circle at 50% 100%, rgba(3, 105, 161, 0.45) 0%, transparent 50%),
    linear-gradient(180deg, #18181b 0%, #0a0a0c 70%, #0c4a6e 100%);
  border-radius: 20px;
  overflow: hidden;
  height: 700px;
  border: 1px solid rgba(251, 191, 36, 0.18);
  box-shadow:
    0 28px 60px rgba(0, 0, 0, 0.55),
    inset 0 0 60px rgba(234, 88, 12, 0.06);
}

.sk-cave__diagram svg {
  width: 100%;
  height: 100%;
  display: block;
}

.sk-cave__copy h3 {
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 0.75rem;
  color: var(--sk-ink);
}

.sk-cave__copy p {
  font-size: 1rem;
  line-height: 1.7;
  color: #d4d4d8;
  margin-bottom: 0.85rem;
}

.sk-cave__copy p strong { color: var(--sk-ember); }

.sk-cave__points {
  display: grid;
  gap: 0.7rem;
  margin-top: 1.5rem;
}

.sk-cave__point {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  padding: 1rem 1.15rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(251, 191, 36, 0.18);
  border-left: 4px solid var(--sk-lava-hot);
  border-radius: 10px;
}

.sk-cave__point i {
  font-size: 1.15rem;
  color: var(--sk-lava-hot);
  margin-top: 0.1rem;
}

.sk-cave__point strong {
  display: block;
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--sk-ink);
  margin-bottom: 0.2rem;
}

.sk-cave__point span {
  font-size: 0.88rem;
  color: #a1a1aa;
  line-height: 1.55;
}

/* ——— "No cuttings is the cuttings" insight ——— */
.sk-insight {
  margin-top: 3rem;
  background:
    radial-gradient(80% 80% at 100% 0%, rgba(234, 88, 12, 0.2) 0%, transparent 55%),
    linear-gradient(135deg, #18181b 0%, #0a0a0c 100%);
  border: 1px solid rgba(251, 191, 36, 0.3);
  border-radius: 24px;
  padding: clamp(2rem, 4vw, 3rem);
  position: relative;
  overflow: hidden;
}

.sk-insight__inner {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 2rem;
  align-items: center;
  position: relative;
  z-index: 2;
}

.sk-insight__mark {
  font-family: 'Inter', sans-serif;
  font-weight: 800;
  font-style: italic;
  font-size: clamp(4rem, 10vw, 7rem);
  color: var(--sk-lava-hot);
  line-height: 0.9;
  text-shadow: 0 0 30px rgba(234, 88, 12, 0.5);
  flex-shrink: 0;
}

.sk-insight__body h3 {
  font-size: clamp(1.35rem, 2.8vw, 1.75rem);
  font-weight: 800;
  margin-bottom: 0.6rem;
  color: var(--sk-ink);
  line-height: 1.25;
}

.sk-insight__body h3 em { color: var(--sk-glow); font-style: italic; }

.sk-insight__body p {
  font-size: 1rem;
  line-height: 1.65;
  color: #d4d4d8;
  margin: 0;
}

/* ——— The decision band ——— */
.sk-decision {
  margin-top: 3rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.sk-decision__card {
  padding: 1.85rem 1.85rem 2rem;
  border-radius: 20px;
  position: relative;
  overflow: hidden;
}

.sk-decision__card--stop {
  background: linear-gradient(160deg, rgba(254, 226, 226, 0.06) 0%, rgba(127, 29, 29, 0.18) 100%);
  border: 1px solid rgba(127, 29, 29, 0.6);
  color: #fecaca;
}

.sk-decision__card--go {
  background: linear-gradient(160deg, rgba(6, 95, 70, 0.12) 0%, rgba(6, 182, 212, 0.22) 100%);
  border: 1px solid rgba(6, 182, 212, 0.55);
  color: #cffafe;
}

.sk-decision__tag {
  display: inline-block;
  font-family: ui-monospace, monospace;
  font-size: 0.65rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 0.3rem 0.6rem;
  border-radius: 4px;
  margin-bottom: 0.75rem;
}

.sk-decision__card--stop .sk-decision__tag { background: #7f1d1d; color: #fecaca; }
.sk-decision__card--go .sk-decision__tag { background: #0c4a6e; color: #67e8f9; }

.sk-decision__card h3 {
  font-size: 1.25rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
  color: var(--sk-ink);
}

.sk-decision__card p {
  font-size: 0.95rem;
  line-height: 1.6;
  margin: 0;
  opacity: 0.92;
}

/* ——— 6 m³/hr usage band ——— */
.sk-usage {
  margin-top: 2.5rem;
  background:
    radial-gradient(80% 60% at 100% 0%, rgba(132, 204, 22, 0.2) 0%, transparent 55%),
    linear-gradient(135deg, #064e3b 0%, #065f46 50%, #134e4a 100%);
  color: #fff;
  border-radius: 24px;
  padding: clamp(2rem, 4vw, 3rem);
  position: relative;
  overflow: hidden;
}

.sk-usage__inner {
  position: relative;
  z-index: 2;
}

.sk-usage__h {
  font-size: clamp(1.4rem, 3vw, 1.9rem);
  font-weight: 800;
  margin-bottom: 0.5rem;
  max-width: 38rem;
}

.sk-usage__h em { color: #a7f3d0; font-style: italic; }

.sk-usage__lead {
  font-size: 1rem;
  line-height: 1.6;
  opacity: 0.92;
  margin-bottom: 1.75rem;
  max-width: 44rem;
}

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

.sk-usage__tile {
  padding: 1.15rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(167, 243, 208, 0.18);
  border-radius: 14px;
  backdrop-filter: blur(8px);
}

.sk-usage__tile i {
  font-size: 1.45rem;
  color: #a7f3d0;
  display: block;
  margin-bottom: 0.4rem;
}

.sk-usage__tile strong {
  display: block;
  font-family: ui-monospace, monospace;
  font-size: 1.05rem;
  font-weight: 800;
  margin-bottom: 0.15rem;
}

.sk-usage__tile span {
  font-size: 0.78rem;
  line-height: 1.45;
  opacity: 0.85;
}

/* ——— Gallery ——— */
.sk-gallery {
  margin-top: 2.5rem;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-auto-rows: 175px;
  gap: 0.55rem;
}

.sk-gallery__item {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  background: #18181b;
}

.sk-gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.sk-gallery__item:hover img { transform: scale(1.04); }

.sk-gallery__item--xl { grid-column: span 4; grid-row: span 2; }
.sk-gallery__item--big { grid-column: span 2; grid-row: span 2; }
.sk-gallery__item--w { grid-column: span 2; }
.sk-gallery__item--t { grid-column: span 1; }
.sk-gallery__item--ww { grid-column: span 3; }

.sk-gallery__cap {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 0.6rem 0.85rem 0.5rem;
  background: linear-gradient(0deg, rgba(10, 10, 12, 0.85), transparent);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 600;
}

.sk-gallery__tag {
  position: absolute;
  top: 0.55rem;
  left: 0.55rem;
  padding: 0.3rem 0.55rem;
  font-family: ui-monospace, monospace;
  font-size: 0.62rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  background: rgba(10, 10, 12, 0.85);
  color: var(--sk-ember);
  border-radius: 4px;
  border: 1px solid rgba(251, 191, 36, 0.25);
}

/* ——— Quote override ——— */
.kisima-saikeri-page .ng-quote__scrim {
  background:
    radial-gradient(circle at 30% 70%, rgba(234, 88, 12, 0.35) 0%, transparent 60%),
    radial-gradient(circle at 80% 20%, rgba(3, 105, 161, 0.4) 0%, transparent 65%),
    linear-gradient(135deg, rgba(10, 10, 12, 0.94), rgba(15, 23, 42, 0.9));
}

.kisima-saikeri-page .ng-quote__text,
.kisima-saikeri-page .ng-quote__author { color: #fff; }
.kisima-saikeri-page .ng-quote__mark { color: var(--sk-ember); }

/* ——— Reveal ——— */
.sk-reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.sk-reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* ——— Responsive ——— */
@media (max-width: 1024px) {
  .sk-essay,
  .sk-cave { grid-template-columns: 1fr; gap: 2rem; }
  .sk-cave__diagram { max-width: 400px; margin: 0 auto; height: 600px; }
  .sk-essay__visual { max-width: 420px; margin: 0 auto; }
  .sk-decision { grid-template-columns: 1fr; }
  .sk-usage__grid { grid-template-columns: repeat(2, 1fr); }
  .sk-gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 160px; }
  .sk-gallery__item--xl,
  .sk-gallery__item--big,
  .sk-gallery__item--ww { grid-column: span 2; }
  .sk-gallery__item--w,
  .sk-gallery__item--t { grid-column: span 1; }
}

@media (max-width: 640px) {
  .sk-hero__strap { grid-template-columns: repeat(2, 1fr); }
  .sk-insight__inner { grid-template-columns: 1fr; gap: 1rem; text-align: center; }
  .sk-usage__grid { grid-template-columns: 1fr; }
  .sk-cave__diagram { height: 520px; }
}
