
/* ============================================================
   TOKENS
   ============================================================ */
:root{
  --navy:        #0B2D4D;
  --navy-dark:   #071F36;
  --navy-soft:   #2F6F9F;
  --white:       #FFFFFF;
  --soft-bg:     #F3F6F9;
  --light-grey:  #E8EEF3;
  --text-muted:  #4A6580;

  --radius-card: 22px;
  --radius-pill: 14px;

  --font-head: 'Poppins', 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-body: 'Inter', 'Poppins', system-ui, -apple-system, 'Segoe UI', sans-serif;
}

/* ============================================================
   RESET
   ============================================================ */
*, *::before, *::after{ box-sizing: border-box; }

html, body{
  margin: 0;
  padding: 0;
  overflow-x: hidden;               /* no horizontal scroll */
}


/* ============================================================
   SECTION SHELL
   ============================================================ */
.breadcrumb-section{
  position: relative;
  isolation: isolate;
  width: 100%;
  min-height: 400px;                /* desktop: 260–320px */
  display: flex;
  align-items: center;
  overflow: hidden;
  background-color: var(--soft-bg);
  border-bottom: 1px solid rgba(11, 45, 77, .07);
}

/* ---------- Background photograph (softened / blurred) ---------- */
.breadcrumb-section__bg{
  position: absolute;
  inset: -24px;                      /* hide blur bleed */
  z-index: -3;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  filter: blur(2px) saturate(.85) contrast(.95);
  transform: scale(1.04);
}

/* ---------- Readability overlay (white → light grey + navy tint) ---------- */
.breadcrumb-section__overlay{
  position: absolute;
  inset: 0;
  z-index: -2;
}

/* ============================================================
   DECORATIVE LAYER (very low opacity, never interactive)
   ============================================================ */
.breadcrumb-decor{
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  overflow: hidden;
}

/* faint scientific grid, faded out toward the left */
.breadcrumb-decor::before{
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(11,45,77,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(11,45,77,.05) 1px, transparent 1px);
  background-size: 58px 58px;
  -webkit-mask-image: radial-gradient(115% 105% at 82% 50%, #000 0%, transparent 74%);
          mask-image: radial-gradient(115% 105% at 82% 50%, #000 0%, transparent 74%);
}

.decor{
  position: absolute;
  color: var(--navy);
  opacity: .07;
  will-change: transform;
}

.decor--molecule{
  top: -46px;
  right: 3%;
  width: 300px;
  height: 300px;
  opacity: .075;
}

.decor--capsule{
  top: 44px;
  right: 26%;
  width: 190px;
  height: 90px;
  opacity: .06;
}

.decor--flask{
  bottom: -14px;
  right: 12%;
  width: 118px;
  height: 140px;
  opacity: .065;
}

.decor--molecule-sm{
  bottom: 34px;
  right: 34%;
  width: 130px;
  height: 130px;
  opacity: .05;
}

/* ============================================================
   INNER CONTAINER
   ============================================================ */
.breadcrumb-inner{
  position: relative;
  width: 100%;
  max-width: 1400px;                 /* max content width */
  margin: 0 auto;
  padding: 44px 48px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
}

/* ============================================================
   EYEBROW BADGE (neumorphic pill)
   ============================================================ */
.breadcrumb-eyebrow{
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 8px 17px 8px 12px;
  border-radius: 999px;
  background: linear-gradient(145deg, #ffffff, #eef3f8);
  border: 1px solid rgba(255,255,255,.9);
  box-shadow:
    inset 3px 3px 7px rgba(7,31,54,.10),
    inset -3px -3px 7px rgba(255,255,255,.95),
    0 6px 16px rgba(7,31,54,.08);
  font-family: var(--font-head);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--navy-soft);
  line-height: 1;
  white-space: nowrap;
}

.breadcrumb-eyebrow svg{
  width: 15px;
  height: 15px;
  flex: 0 0 auto;
  color: var(--navy-soft);
  opacity: .85;
}

/* ============================================================
   NEUMORPHIC BREADCRUMB CARD
   ============================================================ */
.breadcrumb-nav{
  display: inline-flex;
  max-width: 100%;
  padding: 11px 16px;
  border-radius: var(--radius-card);
  background: linear-gradient(145deg, #ffffff 0%, #f1f5f9 100%);
  border: 1px solid rgba(255,255,255,.85);
  box-shadow:
    inset 6px 6px 12px rgba(7,31,54,.12),
    inset -4px -4px 10px rgba(255,255,255,.90),
    0 8px 25px rgba(7,31,54,.10);
  outline: 1px solid rgba(11,45,77,.05);
  outline-offset: -1px;
  transition: box-shadow .3s ease;
}

.breadcrumb{
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.breadcrumb__item{
  display: inline-flex;
  align-items: center;
  gap: 4px;
  min-width: 0;                       /* allow ellipsis inside flex */
}

/* ---------- Links ---------- */
.breadcrumb__link{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 14px;
  border-radius: var(--radius-pill);
  font-family: var(--font-head);
  font-size: 15px;
  font-weight: 500;
  line-height: 1.2;
  color: var(--text-muted);
  text-decoration: none;
  white-space: nowrap;
  transition:
    color .25s ease,
    background .25s ease,
    box-shadow .25s ease,
    transform .25s ease;
}

.breadcrumb__link svg{
  width: 15px;
  height: 15px;
  flex: 0 0 auto;
  opacity: .8;
  transition: opacity .25s ease, transform .25s ease;
}

/* raised neumorphic lift on hover */
.breadcrumb__link:hover{
  color: var(--navy);
  background: linear-gradient(145deg, #fbfdff, #ffffff);
  box-shadow:
    3px 3px 8px rgba(7,31,54,.10),
    -3px -3px 8px rgba(255,255,255,1),
    inset 0 0 0 1px rgba(11,45,77,.04);
  transform: translateY(-1px);
}

.breadcrumb__link:hover svg{
  opacity: 1;
  transform: translateY(-1px);
}

.breadcrumb__link:active{
  transform: translateY(0);
  box-shadow:
    inset 3px 3px 6px rgba(7,31,54,.12),
    inset -2px -2px 6px rgba(255,255,255,.95);
}

.breadcrumb__link:focus-visible{
  outline: 2px solid var(--navy-soft);
  outline-offset: 2px;
}

/* ---------- Separator ---------- */
.breadcrumb__sep{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
  color: var(--navy-soft);
  opacity: .5;
}

.breadcrumb__sep svg{
  width: 13px;
  height: 13px;
  display: block;
}

/* ---------- Current page (skeuomorphic inset navy key) ---------- */
.breadcrumb__current{
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 9px 17px;
  border-radius: var(--radius-pill);
  font-family: var(--font-head);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.2;
  color: var(--white);
  white-space: nowrap;
  background: linear-gradient(145deg, #0E3A61 0%, #082742 100%);
  box-shadow:
    inset 0 2px 6px rgba(0,0,0,.38),
    inset 0 -1px 0 rgba(255,255,255,.14),
    0 6px 16px rgba(7,31,54,.28);
}

.breadcrumb__current::before{
  content: "";
  width: 7px;
  height: 7px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: #7FC4F2;
  box-shadow:
    0 0 0 3px rgba(127,196,242,.22),
    0 0 10px rgba(127,196,242,.75);
}

.breadcrumb__current span{
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* ============================================================
   RESPONSIVE — 1200px
   ============================================================ */
@media (max-width: 1200px){
  .breadcrumb-section{ min-height: 270px; }

  .breadcrumb-inner{ padding: 20px 40px; }

  .decor--molecule{ width: 250px; height: 250px; right: -2%; }
  .decor--capsule{ right: 18%; }
  .decor--flask{ right: 6%; }
}

/* ============================================================
   RESPONSIVE — 1024px (tablet landscape)
   ============================================================ */
@media (max-width: 1024px){
  .breadcrumb-section{ min-height: 245px; }

  .breadcrumb-inner{
    padding: 36px 32px;
    gap: 16px;
  }

  .breadcrumb-nav{ padding: 10px 14px; border-radius: 20px; }
  .breadcrumb__link,
  .breadcrumb__current{ font-size: 14.5px; padding: 8px 13px; }
  .breadcrumb__current{ padding: 8px 15px; }

  .decor--capsule{ display: none; }
  .decor--molecule{ width: 210px; height: 210px; opacity: .06; }
  .decor--flask{ width: 100px; height: 120px; right: 4%; }
}

/* ============================================================
   RESPONSIVE — 768px (tablet portrait / centered)
   ============================================================ */
@media (max-width: 768px){
  .breadcrumb-section{ min-height: 215px; }

  .breadcrumb-inner{
    padding: 32px 24px;
    align-items: center;
    text-align: center;
    gap: 14px;
  }

  .breadcrumb{ justify-content: center; }

  .breadcrumb__link,
  .breadcrumb__current{ font-size: 14px; }

  .breadcrumb__sep{ width: 16px; }

  .decor--molecule{ top: -60px; right: -10%; width: 190px; height: 190px; }
  .decor--molecule-sm{ display: none; }
  .decor--flask{ width: 84px; height: 100px; right: 5%; bottom: -8px; }

  .breadcrumb-decor::before{ background-size: 46px 46px; }
}

/* ============================================================
   RESPONSIVE — 480px (mobile)
   ============================================================ */
@media (max-width: 480px){
  .breadcrumb-section{ min-height: 195px; }

  .breadcrumb-inner{ padding: 26px 16px; gap: 12px; }

  .breadcrumb-nav{
    padding: 9px 11px;
    border-radius: 18px;
    width: auto;
    max-width: 100%;
  }

  .breadcrumb{ gap: 2px; }

  .breadcrumb__link,
  .breadcrumb__current{
    font-size: 13px;
    padding: 7px 11px;
    border-radius: 12px;
    gap: 6px;
  }

  .breadcrumb__current{ padding: 7px 13px; max-width: 190px; }
  .breadcrumb__current::before{ width: 6px; height: 6px; }

  .breadcrumb__link svg{ width: 13px; height: 13px; }
  .breadcrumb__sep{ width: 13px; }
  .breadcrumb__sep svg{ width: 11px; height: 11px; }

  .breadcrumb-eyebrow{
    font-size: 10px;
    letter-spacing: .12em;
    padding: 7px 14px 7px 10px;
  }
  .breadcrumb-eyebrow svg{ width: 13px; height: 13px; }

  .decor--molecule{ top: -70px; right: -22%; width: 165px; height: 165px; }
  .decor--flask{ display: none; }
}

/* ============================================================
   RESPONSIVE — 360px (small mobile)
   ============================================================ */
@media (max-width: 360px){
  .breadcrumb-section{ min-height: 185px; }

  .breadcrumb-inner{ padding: 22px 12px; }

  .breadcrumb__link,
  .breadcrumb__current{ font-size: 12.5px; padding: 7px 10px; }
  .breadcrumb__current{ max-width: 150px; padding: 7px 11px; }

  .breadcrumb-eyebrow{ font-size: 9.5px; }
}

/* ============================================================
   ACCESSIBILITY
   ============================================================ */
@media (prefers-reduced-motion: reduce){
  *{
    transition: none !important;
    animation: none !important;
  }
}
