 /* =========================================================
   PROJECT DETAIL TEMPLATE
   Depends on: foundations.css, home.css (header/footer/btn/tag reuse)
========================================================= */





  :root {
    --bg: #01091d;
    --surface: #0c1725;
    --surface2: #1c2330;
    --accent: #f5a623;
    --accent2: #4ecdc4;
    --text: #e6edf3;
    --text-muted: #7d8590;
    --border: #161f2b;
    --green: #3fb950;
  }

  * { margin: 0; padding: 0; box-sizing: border-box; }

  html { scroll-behavior: smooth; }

  body {
    background: var(--bg);
    color: var(--text);
    font-family: 'Barlow', sans-serif;
    font-weight: 300;
    line-height: 1.6;
    overflow-x: hidden;
  }


  /* HERO */
  .hero {
    min-height: 100vh;
    display: flex; flex-direction: column; justify-content: center;
    padding: 80px 4rem 4rem;
    position: relative;
    overflow: hidden;
  }
  .hero::before {
    content: '';
    position: absolute; inset: 0;
    background: radial-gradient(ellipse 60% 50% at 80% 50%, rgba(245,166,35,0.07) 0%, transparent 70%),
                radial-gradient(ellipse 40% 60% at 20% 80%, rgba(78,205,196,0.05) 0%, transparent 60%);
    pointer-events: none;
  }
  .hero-eyebrow {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 0.72rem;
    color: var(--accent);
    letter-spacing: 0.15em;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
    opacity: 0; animation: fadeUp 0.6s 0.1s forwards;
  }
  .hero-title {
    font-family: 'Montserrat', sans-serif;;
    font-weight: 900;
    font-size: clamp(3.5rem, 8vw, 7rem);
    line-height: 0.95;
    text-transform: uppercase;
    letter-spacing: -0.01em;
    max-width: 900px;
    opacity: 0; animation: fadeUp 0.7s 0.2s forwards;
  }
  .hero-title span { color: var(--accent); }
  .hero-subtitle {
    margin-top: 2rem;
    max-width: 540px;
    color: var(--text-muted);
    font-size: 1rem;
    font-weight: 400;
    opacity: 0; animation: fadeUp 0.7s 0.35s forwards;
  }
  .hero-meta {
    margin-top: 3rem;
    display: flex; gap: 3rem; flex-wrap: wrap;
    opacity: 0; animation: fadeUp 0.7s 0.5s forwards;
  }
  
  .meta-label {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 0.65rem;
    color: var(--text-muted);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 0.3rem;
  }
  .meta-value {
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 600;
    font-size: 1.1rem;
    color: var(--text);
  }
  .hero-scroll {
    position: absolute; bottom: 2rem; left: 4rem;
    font-family: 'IBM Plex Mono', monospace;
    font-size: 0.65rem;
    color: var(--text-muted);
    letter-spacing: 0.1em;
    display: flex; align-items: center; gap: 0.8rem;
  }
  .hero-scroll::before {
    content: '';
    display: block; width: 40px; height: 1px;
    background: var(--text-muted);
  }

  /* SECTIONS */
  section {
    padding: 3rem 4rem;
    border-top: 1px solid var(--border);
  }
  .section-header {
    
    align-items: baseline; gap: 1.5rem;
    margin-bottom: 1.5rem;
  }
  .section-num {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 0.7rem;
    color: var(--accent);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 0.3em;
  }
  .section-title {
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 800;
    font-size: clamp(1.8rem, 4vw, 3rem);
    text-transform: uppercase;
    letter-spacing: 0.01em;
  }
  .section-desc {
    max-width: 700px;
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 2.5rem;
    line-height: 1.7;
  }

  /* KPI GRID */
  .kpi-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1px;
    background: var(--border);
    border: 1px solid var(--border);
    margin-bottom: 3rem;
  }
  .kpi-card {
    background: var(--surface);
    padding: 1.8rem 1.5rem;
  }
  .kpi-label {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 0.65rem;
    color: var(--text-muted);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 0.6rem;
  }
  .kpi-value {
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 800;
    font-size: 2.2rem;
    color: var(--accent2);
    line-height: 1;
    margin-bottom: 0.3rem;
  }
  .kpi-value.orange { color: var(--accent); }
  .kpi-value.green { color: var(--green); }
  .kpi-note {
    font-size: 0.78rem;
    color: var(--text-muted);
  }

  /* CHART CONTAINERS */
  .chart-wrap {
    background: var(--surface);
    border: 1px solid var(--border);
    padding: 1.5rem;
    margin-bottom: 1rem;
  }
  .chart-caption {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 0.72rem;
    color: var(--text-muted);
    padding: 0.8rem 0 0;
    border-top: 1px solid var(--border);
    margin-top: 0.5rem;
    line-height: 1.5;
  }
  .chart-title-inline {
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 600;
    font-size: 1.1rem;
    letter-spacing: 0.02em;
    margin-bottom: 1rem;
    color: var(--text);
  }

  /* TWO-COL */
  .two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
  @media (max-width: 900px) { .two-col { grid-template-columns: 1fr; } }

  /* DATASET INFO */
  .dataset-grid {
    display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem;
    margin-bottom: 2.5rem;
  }
  @media (max-width: 700px) { .dataset-grid { grid-template-columns: 1fr; } }
  .dataset-card {
    background: var(--surface);
    border: 1px solid var(--border);
    padding: 1.6rem;
  }
  .dataset-card h3 {
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 600;
    font-size: 1rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--accent2);
    margin-bottom: 1rem;
  }
  .dataset-row {
    display: flex; gap: 1rem;
    font-size: 0.85rem;
    margin-bottom: 0.5rem;
    border-bottom: 1px solid var(--border);
    padding-bottom: 0.5rem;
  }
  .dataset-row:last-child { border-bottom: none; }
  .dataset-row .dk {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 0.68rem;
    color: var(--text-muted);
    min-width: 70px;
    padding-top: 0.1rem;
  }
  .pipeline {
    display: flex; align-items: center; gap: 0; flex-wrap: wrap;
    margin-bottom: 2rem;
  }
  .pipe-step {
    background: var(--surface);
    border: 1px solid var(--border);
    padding: 0.6rem 1rem;
    font-family: 'IBM Plex Mono', monospace;
    font-size: 0.7rem;
    color: var(--text-muted);
    letter-spacing: 0.05em;
    margin-top: 0.5em;
  }
  .pipe-arrow {
    padding: 0 0.3rem;
    color: var(--accent);
    font-size: 0.8rem;
  }

  /* INSIGHTS */
  .insight-list { display: flex; flex-direction: column; gap: 1rem; }
  .insight-item {
    background: var(--surface);
    border: 1px solid var(--border);
    border-left: 3px solid var(--accent);
    padding: 1.2rem 1.5rem;
    font-size: 0.9rem;
    line-height: 1.6;
  }
  .insight-item.teal { border-left-color: var(--accent2); }
  .insight-item.green { border-left-color: var(--green); }
  .insight-head {
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 600;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.4rem;
  }

  /* METHODOLOGY */
  .method-note {
    background: var(--surface);
    border: 1px solid var(--border);
    border-left: 3px solid var(--text-muted);
    padding: 1rem 1.5rem;
    font-family: 'IBM Plex Mono', monospace;
    font-size: 0.72rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-top: 1rem;
  }
  .method-note strong { color: var(--text); }

  /* FOOTER */
  footer {
    padding: 1rem 4rem;
    display: flex; justify-content: space-between; align-items: center;
    flex-wrap: wrap; gap: 1rem;
  }
  .footer-left {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 0.8rem;
    color: var(--text-muted);
    line-height: 1.8;
    padding-top: 3em;
  }
  .tag-row { display: flex; gap: 0.5rem; flex-wrap: wrap; margin-top: 1rem; }
  .tag {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 0.65rem;
    color: var(--text-muted);
    border: 1px solid var(--border);
    padding: 0.2rem 0.6rem;
    letter-spacing: 0.05em;
  }

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

  /* RESPONSIVE */
  @media (max-width: 700px) {
    .hero, section, footer { padding-left: 1.3rem; padding-right: 1.3rem; }
    .hero-scroll { left: 1.5rem; }
    .nav-links { display: none; }
    .hero {margin-top: 2em;}
  }






/* -----------------------------
   Project hero
----------------------------- */
.project-hero {
  position: relative;
  z-index: 0;
  overflow: hidden;
  padding-top: clamp(7rem, 12vw, 9.5rem);
  padding-bottom: var(--space-7);
  color: var(--color-white);
}

.project-hero__bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  background: var(--color-navy-deep);
}

.project-hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  top: -15%;
  left: 0;
  width: 100%;
  height: 130%;
  will-change: transform;
  transform: translateY(0);
  opacity: 30%;
}



.project-hero__title {
  font-size: var(--fs-2xl);
  letter-spacing: 0.01em;
  margin-bottom: var(--space-4);
}

.project-hero__desc {
  color: var(--color-on-dark);
  max-width: 58ch;
  margin-bottom: var(--space-2);
  font-size: var(--fs-md);
  font-weight: 300;
}

.project-hero__desc strong {
  color: var(--color-white);
}

.project-hero__credit {
  margin-top: var(--space-4);
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-on-dark-soft);
}

.project-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  margin-top: var(--space-4);
}


.project-hero__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-6);
}

.project-hero__content {
  max-width: 40rem;
  flex: 1 1 560px;
}

.project-hero__showcase {
  position: relative;
  width: 80%;
  max-width: 900px;
  margin-left: auto;
  margin-top: -200px;   /* sube la imagen sobre el hero */
  margin-bottom: -20px; /* ajusta el solape hacia la sección "about" */
  pointer-events: none; /* evita que bloquee clics en el contenido de abajo */
  
}

.project-hero__slide img {
  width: 100%;
  height: auto;
  display: block;
} 

@media (max-width: 860px) {
  .project-hero__showcase {
    width: 100%;
    margin-inline: auto;
    margin-top: -70px;
    margin-bottom: 0;
  }
}

/* -----------------------------
   Section eyebrow (shared look)
----------------------------- */
.section-eyebrow {
  color: var(--color-navy);
  font-size: var(--fs-md);
  font-weight: 300;
  margin-bottom: var(--space-5);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* -----------------------------
   CONTEXT
----------------------------- */
.story {
  background: var(--color-bg);
  padding-block: var(--space-2);
}

.story__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-6);
  margin-bottom: var(--space-3);
}

.story__grid p {
  color: var(--color-ink-soft);
  line-height: var(--lh-normal);
  font-weight: 500;
  font-size: large;
}

.story__grid p.emphasis {
  color: var(--color-ink);
  font-weight: 700;
  font-size: var(--fs-md);
  line-height: var(--lh-snug);
}

.meta-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-5) var(--space-6);
  border-top: var(--border-hairline);
  padding-top: var(--space-5);
  border-bottom: var(--border-hairline);
  padding-bottom: var(--space-5);
}

.meta-grid dt {
  font-weight: 700;
  font-size: var(--fs-sm);
  margin-bottom: 0.3em;
}

.meta-grid dd {
  color: var(--color-ink-soft);
  font-size: var(--fs-sm);
  line-height: var(--lh-normal);
}

/* -----------------------------
   Quote / strategy banner (reused for closing banner too)
----------------------------- */
.quote-banner {
  position: relative;
  z-index: 0;
  overflow: hidden;
  text-align: center;
  padding-block: var(--space-8);
  color: var(--color-white);
}

.quote-banner__bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  backdrop-filter: blur(50px) saturate(1.4);
  -webkit-backdrop-filter: blur(50px) saturate(1.4);
  
}

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


.quote-banner__bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(3, 23, 62, 0.72);
}

.quote-banner h2 {
  max-width: 40rem;
  margin-inline: auto;
  font-size: var(--fs-xl);
  font-weight: 600;
}

.quote-banner p {
  max-width: 34rem;
  margin: var(--space-3) auto 0;
  color: var(--color-on-dark-soft);
  font-size: var(--fs-md);
}

.quote-banner em {
  font-style: normal;
  font-weight: 700;
  color: var(--color-mint-light);
}

/* -----------------------------
   The Process
----------------------------- */
.process {
  background: var(--color-bg);
}

.process__panel {
  background: #EDEDFB;
  border-radius: var(--radius-md);
  padding: var(--space-6);
}

.process__grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: var(--space-6);
  align-items: start;
}

.process__grid p {
  color: var(--color-ink-soft);
  margin-bottom: var(--space-3);
}

.process__grid p.lead {
  color: var(--color-ink);
  font-weight: 700;
  font-size: var(--fs-md);
  line-height: var(--lh-snug);
}

.process__extra {
  margin-top: var(--space-5);
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.process__extra p {
  color: var(--color-ink-soft);
  margin: 0;
}

/* Floating media: tilted photo/screenshot with shadow, used across process/results */
.float-media {
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 30px 60px -20px rgba(3, 23, 62, 0.35);
  transform: rotate(1.2deg);
  transition: transform var(--dur-med) var(--ease-out);
}

.float-media:hover {
  transform: rotate(0deg) translateY(-4px);
}

.float-media img {
  width: 100%;
  display: block;
}

.float-media--wide {
  max-width: 900px;
  margin-inline: auto;
  transform: rotate(-0.8deg);
}

.process__collage {
  margin-top: var(--space-7);
}


.rationale-block__media img {
  cursor: zoom-in;
}

.lightbox img {
  
  will-change: transform;
  cursor: zoom-in;
}

.lightbox img.is-zoomed {
  cursor: grab;
}

.lightbox img.is-dragging {
  cursor: grabbing;
}

.lightbox img.is-transitioning {
  transition: transform 0.2s var(--ease-out);
}

.lightbox__frame {
  max-width: 90vw;
  max-height: 82vh;
  overflow: auto;
  border-radius: var(--radius-sm);
  box-shadow: 0 30px 80px rgba(0,0,0,0.5);
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.lightbox__frame::-webkit-scrollbar {
  display: none;
}

.lightbox__frame.is-dragging {
  cursor: grabbing;
}

.lightbox__frame img {
  display: block;
  max-width: 90vw;
  max-height: 82vh;
  cursor: zoom-in;
  transition: width 0.25s ease;
}

.lightbox__frame img.is-zoomed {
  max-width: none;
  max-height: none;
  width: 200%;
  cursor: grab;
}


/* -----------------------------
   Gallery with next/prev + lightbox
----------------------------- */
.gallery {
  position: relative;
}

.gallery__viewport {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background: var(--color-line);
  box-shadow: 0 30px 60px -20px rgba(3, 23, 62, 0.25);
}

.gallery__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--dur-med) var(--ease-out);
  cursor: zoom-in;
}

.gallery__slide.is-active {
  opacity: 1;
  visibility: visible;
}

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

.gallery__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255,255,255,0.9);
  color: var(--color-navy-deep);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 18px rgba(3,23,62,0.2);
  transition: background var(--dur-fast) var(--ease-out);
}

.gallery__nav:hover {
  background: var(--color-white);
}

.gallery__nav--prev { left: var(--space-3); }
.gallery__nav--next { right: var(--space-3); }

.gallery__dots {
  display: flex;
  justify-content: center;
  gap: var(--space-2);
  margin-top: var(--space-4);
}

.gallery__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-line-strong);
  transition: background var(--dur-fast) var(--ease-out), transform var(--dur-fast) var(--ease-out);
}

.gallery__dot.is-active {
  background: var(--color-navy);
  transform: scale(1.3);
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(3, 23, 62, 0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--dur-med) var(--ease-out);
}

.lightbox.is-open {
  opacity: 1;
  visibility: visible;
}

.lightbox img {
  max-width: 90vw;
  max-height: 82vh;
  border-radius: var(--radius-sm);
  box-shadow: 0 30px 80px rgba(0,0,0,0.5);
}

.lightbox__close {
  position: absolute;
  top: var(--space-4);
  right: var(--space-4);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255,255,255,0.12);
  color: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255,255,255,0.12);
  color: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox__nav:hover,
.lightbox__close:hover {
  background: rgba(255,255,255,0.24);
}

.lightbox__nav--prev { left: var(--space-4); }
.lightbox__nav--next { right: var(--space-4); }

/* -----------------------------
   Impact & Results
----------------------------- */
.results {
  background: var(--color-bg);
}

.results__intro {
  font-size: var(--fs-md);
  font-weight: 700;
  color: var(--color-ink);
  max-width: 56rem;
  margin-bottom: var(--space-6);
}

.results-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-4);
}

.result-card {
  background: #F4F5F7;
  border-radius: var(--radius-md);
  padding: var(--space-5);
}

.result-card h3 {
  font-size: var(--fs-md);
  margin-bottom: var(--space-2);
}

.result-card p {
  color: var(--color-ink-soft);
  font-size: var(--fs-sm);
  line-height: var(--lh-normal);
}


/* -----------------------------
   Numbered process steps
----------------------------- */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-4);
}

.step-card {
  background: #F4F5F7;
  border-radius: var(--radius-md);
  padding: var(--space-5);
}

.step-card__num {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--color-navy-deep);
  color: var(--color-white);
  font-size: var(--fs-sm);
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-3);
}


.step-card h3 {
  font-size: var(--fs-xl);
  margin-bottom: var(--space-2);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.step-card p {
  color: var(--color-ink-soft);
  font-size: var(--fs-sm);
  line-height: var(--lh-normal);
  font-weight: 500;
  font-size: medium;
}



/* -----------------------------
   Tools
----------------------------- */
.tools-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  margin-top: var(--space-3);
}

/* -----------------------------
   Design Rationale (before/after with annotations)
----------------------------- */
.rationale {
  background: var(--color-bg);
  margin-bottom: var(--space-7);
}

.rationale__intro {
  font-size: var(--fs-md);
  font-weight: 700;
  color: var(--color-ink);
  max-width: 56rem;
  
}


.rationale-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-6);
  align-items: start;
  margin-bottom: var(--space-8);
}

.rationale-block:last-child {
  margin-bottom: 0;
}

.rationale-block__media img {
  width: 100%;
  border-radius: var(--radius-md);
  box-shadow: 0 30px 60px -20px rgba(3, 23, 62, 0.25);
}

.rationale-block__label {
  display: inline-flex;
  align-items: center;
  font-size: var(--fs-sm);
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.4em 1em;
  border-radius: var(--radius-pill);
  margin-bottom: var(--space-3);
}

.rationale-block__label--before {
  background: #FBE4E9;
  color: #A3324B;
}

.rationale-block__label--after {
  background: #DFF3E8;
  color: #1B6B4F;
}

.rationale-block__title {
  font-size: var(--fs-lg);
  margin-bottom: var(--space-4);
}


.callout-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.callout {
  display: flex;
  gap: var(--space-3);
}

.callout__num {
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--color-navy-deep);
  color: var(--color-white);
  font-size: var(--fs-xs);
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.callout__text {
  color: var(--color-ink-soft);
  font-size: var(--fs-md);
  line-height: var(--lh-normal);
}

.callout__text strong {
  color: var(--color-ink);
}

/* -----------------------------
   Insights / reflection box
----------------------------- */
.insights {
  background: var(--color-bg);
  padding-bottom: var(--space-8);
}

.insights-box {
  background: var(--color-navy-deep);
  border-radius: var(--radius-md);
  padding: var(--space-6);
  display: grid;
  grid-template-columns: repeat(2, auto);
  gap: var(--space-5);
  align-items: start;
}

.insights-box__icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--color-mint);
  color: var(--color-navy-deep);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.insights-box__item {
  padding-bottom: 1em;
}

.insights-box__item h3 {
  color: var(--color-mint);
  font-size: var(--fs-md);
  margin-bottom: var(--space-2);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: var(--fs-lg);
  
}

.insights-box__item p {
  color: var(--color-on-dark-soft);
  font-size: var(--fs-sm);
  line-height: var(--lh-normal);
  font-weight: 500;
  font-size: var(--fs-md);
}

.insights-note {
  margin-top: var(--space-4);
  font-size: var(--fs-xs);
  color: var(--color-ink-faint);
}


/* -----------------------------
   Info cards (glassmorphic)
----------------------------- */
.info-cards {
  position: relative;
  z-index: 0;
  display: grid;
  grid-template-columns: 1fr 1fr 1.15fr;
  grid-template-rows: repeat(3, auto);
  gap: var(--space-4);
  padding-top: var(--space-5);
}

.info-cards__blob {
  position: absolute;
  z-index: -1;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.9;
}

.info-cards__blob--1 {
  width: 220px;
  height: 220px;
  top: -60px;
  left: -60px;
  background: radial-gradient(circle, var(--color-mint-light), transparent 80%);
}

.info-cards__blob--2 {
  width: 260px;
  height: 260px;
  bottom: -80px;
  right: -60px;
  background: radial-gradient(circle, var(--color-navy), transparent 40%);
}

.info-card {
  grid-column: span 1;
  background: rgba(255, 255, 255, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: var(--radius-md);
  padding: var(--space-4);
  backdrop-filter: blur(20px) saturate(1.3);
  -webkit-backdrop-filter: blur(20px) saturate(1.3);
  box-shadow: 0 15px 35px -15px rgba(3, 23, 62, 0.15);
}

.info-card--industry { grid-column: 1; grid-row: 1; }
.info-card--duration { grid-column: 1; grid-row: 2; }
.info-card--tools    { grid-column: 1; grid-row: 3; }

.info-card--deliverable {
  grid-column: 2;
  grid-row: 1 / span 2;
}

.info-card--team {
  grid-column: 3;
  grid-row: 1 / span 1;
}



.info-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--color-line-strong);
  color: var(--color-ink-soft);
  margin-bottom: var(--space-3);
}

.info-card__title {
  font-size: var(--fs-sm);
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-navy);
  margin-bottom: var(--space-2);
}

.info-card__text {
  font-size: var(--fs-sm);
  font-weight: 500;
  color: var(--color-ink-soft);
  line-height: var(--lh-normal);
  margin-bottom: var(--space-2);
}

.info-card__text:last-child {
  margin-bottom: 0;
}

.info-card__tags {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  align-items: flex-start;
  color: var(--ink-soft)
}

@media (max-width: 860px) {
  .info-cards {
    grid-template-columns: 1fr 1fr;
  }
  .info-card--team {
    grid-row: auto;
    grid-column: span 2;
  }
}

@media (max-width: 640px) {
  .info-cards {
    grid-template-columns: 1fr;
  }
  .info-card--team {
    grid-column: span 1;
  }

  .insights-box {
    padding: var(--space-5);
  }
}










/* -----------------------------
   Project footer nav (prev/next)
----------------------------- */
.project-nav {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  font-size: var(--fs-sm);
}

.project-nav a:hover {
  color: var(--color-white);
}

/* -----------------------------
   Responsive
----------------------------- */
@media (max-width: 860px) {
  .story__grid,
  .process__grid 
  .rationale-block {
    grid-template-columns: 1fr;
  }
  
  .steps-grid {
    grid-template-columns: repeat(1, 1fr);
  }
  .meta-grid {
    grid-template-columns: 1fr;
  }

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

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

  .insights-box {
    grid-template-columns: 1fr;
  }
  .float-media {
    transform: none;
  }

  .float-media:hover {
    transform: translateY(-4px);
  }
}
