:root{
  --bg:#07070a;
  --bg2:#0b0c12;
  --card:#0f1016;
  --card2:#121423;
  --text:#eef2f7;
  --muted:#a7b3c2;
  --line:#1b1e2a;
  --brand:#87b3ff;
  --brand-2:#9de1cf;
  --blue:#4997f0;
  --glow: rgba(157,225,207,.22);
  --shadow: 0 24px 60px rgba(0,0,0,.55);
  --radius: 18px;
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  font-family:Inter,system-ui,-apple-system,Segoe UI,Roboto,Ubuntu,Cantarell,Helvetica,Arial,sans-serif;
  color:var(--text);
  background:
    radial-gradient(1200px 600px at 15% -10%, rgba(73,151,240,.18) 0%, transparent 60%),
    radial-gradient(900px 520px at 85% 10%, rgba(157,225,207,.12) 0%, transparent 55%),
    linear-gradient(180deg,var(--bg),var(--bg2) 60%,var(--bg));
  overflow-x:hidden;
}
a{color:inherit; text-decoration:none}
p{color:#d2dbe6; line-height:1.75}
/* Page title scale: real h1 + in-section display titles (e.g. h2.banner-adjacent) */
h1,
.heading-display{
  margin:.65rem 0 .75rem;
  font-size: clamp(2rem, 3.3vw + 1rem, 3.1rem);
  line-height:1.05;
  font-weight:800;
  color:#eaf2ff;
  letter-spacing:-.02em;
}
h2:not(.heading-display){
  margin:0;
  font-size:1.35rem;
  color:var(--blue);
  letter-spacing:-.01em;
}
.container{max-width:1260px; margin:0 auto; padding:0 20px}
.muted{color:var(--muted)}

/* Header */
.site-header{
  position:sticky; top:0; z-index:999;
  background:
    linear-gradient(180deg, rgba(255,255,255,.028) 0%, transparent 42%),
    linear-gradient(180deg, rgba(8,9,14,.97), rgba(4,5,9,.94));
  backdrop-filter: blur(12px) saturate(124%);
  border-bottom:1px solid rgba(255,255,255,.055);
  box-shadow:
    0 1px 0 rgba(0,0,0,.45),
    0 6px 28px rgba(0,0,0,.22);
}
.site-header > .container{
  padding-top:6px;
  padding-bottom:6px;
}
.topbar{
  display:flex;
  align-items:center;
  justify-content:flex-start;
  gap:clamp(12px, 2.2vw, 28px);
  min-height:44px;
  padding:1px 0;
}
.brand{
  display:flex;
  align-items:center;
  flex-shrink:0;
  line-height:0;
}
/* Header logo: scoped to .site-header so footer .brand / .logo-wide rules stay intact */
.site-header .brand img{
  height:clamp(46px, 3.4vw + 26px, 64px);
  max-height:64px;
  width:auto;
  max-width:min(268px, 40vw);
  display:block;
  object-fit:contain;
  object-position:left center;
  filter:
    drop-shadow(0 2px 10px rgba(0,0,0,.55))
    drop-shadow(0 0 0.5px rgba(255,255,255,.06));
}
@media (max-width:768px){
  .site-header > .container{
    padding-top:5px;
    padding-bottom:5px;
  }
  .site-header .brand img{
    height:clamp(40px, 10.5vw, 48px);
    max-height:48px;
    max-width:min(210px, 60vw);
  }
  .topbar{
    min-height:42px;
    padding:1px 0;
    gap:10px;
  }
}
.logo-wide{height:64px; width:auto; display:block; object-fit:contain; filter: drop-shadow(0 10px 26px rgba(0,0,0,.35));}
.logo-wide-xl{height:80px}
.brand-footer{margin-bottom:10px}
.text-site-muted{color:var(--muted); max-width:46ch}
.text-site-muted-tight{margin:0 0 6px}
.text-site-muted-zero{margin:0}

nav[aria-label="Menú principal"]{
  display:flex;
  align-items:center;
  gap:2px 4px;
  flex-wrap:wrap;
  justify-content:flex-end;
  margin-left:auto;
  min-width:0;
}
.nav-link{
  padding:8px 11px;
  border-radius:10px;
  font-weight:600;
  font-size:.935rem;
  letter-spacing:.01em;
  line-height:1.25;
  color:var(--muted);
  transition: color .16s ease, background .16s ease;
}
.nav-link:hover,.nav-link:focus{color:var(--text); background:rgba(255,255,255,.07); outline:none}

.menu{position:relative}
.menu[aria-expanded="true"] .menu-panel{display:block}
.menu-button{display:flex; align-items:center; gap:6px; min-height:40px}
.caret{width:8px; height:8px; border:2px solid var(--muted); border-top:transparent; border-left:transparent; transform:rotate(45deg); margin-top:2px}
.menu-panel{
  display:none; position:absolute; top:calc(100% + 7px); left:0; min-width:328px;
  background:linear-gradient(180deg, rgba(16,18,30,.99), rgba(8,9,14,.98));
  border:1px solid rgba(255,255,255,.1);
  border-radius:14px;
  box-shadow: var(--shadow);
  padding:9px;
  overflow:hidden;
}
.menu-panel:before{
  content:""; position:absolute; inset:-40px;
  background: radial-gradient(420px 260px at 20% 20%, rgba(157,225,207,.16), transparent 55%);
  pointer-events:none;
}
.menu-grid{display:grid; grid-template-columns:1fr; gap:6px; position:relative}
.menu-item{
  display:flex;
  gap:12px;
  padding:10px;
  border-radius:12px;
  align-items:flex-start;
  color:var(--text);
  border:1px solid transparent;
  transition:.18s ease;
}
.menu-item:hover{
  background:#ffffff08;
  border-color:#ffffff14;
  transform: translateY(-1px);
}
.menu-item h4{margin:0; font-size:.98rem; color:#4997f0}
.menu-item p{margin:2px 0 0; color:var(--muted); font-size:.86rem}

.menu-logo{
  width:28px;
  height:28px;
  border-radius:8px;
  flex:0 0 auto;
}
.menu-logo-meteoritics{background:radial-gradient(120% 120% at 30% 30%, var(--brand-2) 0%, #5365c9 28%, #231b6e 62%, #0c0a14 100%)}
.menu-logo-tech{background:radial-gradient(120% 120% at 30% 30%, var(--brand-2) 0%, #53c9aa 28%, #1b6e58 62%, #0a1412 100%)}
.menu-logo-conservation{background:radial-gradient(120% 120% at 30% 30%, var(--brand-2) 0%, #c95353 28%, #6e2c1b 62%, #140a0a 100%)}
.menu-logo-campus{background:radial-gradient(120% 120% at 30% 30%, var(--brand-2) 0%, #5dc953 28%, #1c6e1b 62%, #0b140a 100%)}

.hamburger{
  display:none;
  flex-shrink:0;
  width:40px;
  height:40px;
  margin-left:6px;
  border-radius:10px;
  border:1px solid rgba(255,255,255,.08);
  background:rgba(255,255,255,.04);
  color:#e8edf5;
  font-size:1.05rem;
  line-height:1;
}
.hamburger:hover,.hamburger:focus-visible{
  background:rgba(255,255,255,.08);
  color:#fff;
  outline:none;
}
#mobileNav{
  display:none;
  border-top:1px solid rgba(255,255,255,.06);
  background:linear-gradient(180deg, rgba(10,11,18,.98), rgba(5,6,10,.97));
}
#mobileNav:not([hidden]){display:block}
#mobileNav a{display:block; padding:14px 20px; border-bottom:1px solid var(--line); color:var(--muted)}
#mobileNav a:hover{background:#ffffff08; color:var(--text)}
.mobile-nav-title{
  display:block;
  padding:12px 20px;
  color:var(--text);
}

@media (max-width: 980px){
  nav[aria-label="Menú principal"]{display:none}
  .hamburger{
    display:block;
    margin-left:auto;
  }
}

/* Hero / banner variants:
   - .banner--overlay: original overlaid composition (image-led)
   - .banner--full: split full-width variant */
.banner{width:100%; margin:26px 0 10px; display:flex; justify-content:center}
.banner > .container{
  width:100%;
  max-width:1260px;
  flex:1 1 auto;
  min-width:0;
}
.banner.banner--full .banner-wrap{
  position:relative;
  width:92%;
  max-width:1240px;
  min-width:0;
  border-radius:22px;
  overflow:hidden;
  border:0;
  background:
    radial-gradient(900px 400px at 0% 40%, rgba(73,151,240,.08), transparent 55%),
    linear-gradient(165deg, rgba(12,14,22,.98), rgba(6,7,12,.96));
  box-shadow: var(--shadow);
  display:grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.06fr);
  grid-template-rows: minmax(0, 1fr);
  gap:clamp(14px, 2.2vw, 22px);
  padding:clamp(14px, 2.2vw, 22px);
  align-items:stretch;
}
.banner.banner--full .banner-wrap--container{
  width:100%;
  max-width:none;
}
.banner.banner--full .banner-img{
  grid-column:2;
  grid-row:1;
  width:100%;
  height:100%;
  min-height:clamp(280px, 34vw, 400px);
  object-fit:cover;
  object-position:center;
  border-radius:16px;
  border:1px solid rgba(255,255,255,.1);
  filter:saturate(1.04) contrast(1.04) brightness(.9);
  box-shadow:
    inset 0 0 0 1px rgba(0,0,0,.2),
    0 12px 36px rgba(0,0,0,.25);
}
.banner.banner--full .banner-img.banner-img-short{
  min-height:clamp(260px, 32vw, 360px);
}
.banner.banner--full .banner-img.banner-img-medium{
  min-height:clamp(275px, 33vw, 380px);
}
.banner.banner--full .banner-text{
  grid-column:1;
  grid-row:1;
  position:relative;
  inset:auto;
  align-self:stretch;
  display:flex;
  flex-direction:column;
  justify-content:center;
  width:100%;
  max-width:none;
  min-width:0;
  padding:clamp(20px, 3vw, 32px) clamp(20px, 3vw, 34px);
  border-radius:16px;
  background:linear-gradient(165deg, rgba(18,20,34,.95), rgba(9,11,18,.97));
  border:1px solid rgba(255,255,255,.1);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.05),
    0 16px 44px rgba(0,0,0,.32);
  backdrop-filter:blur(8px) saturate(132%);
  z-index:2;
}
.banner.banner--full .banner-text h1{
  margin:2px 0 12px;
  font-size: clamp(1.85rem, 2.8vw + 1rem, 3.05rem);
  line-height:1.06;
  font-weight:800;
  letter-spacing:-.02em;
  color:#f2f6ff;
  text-shadow:none;
}
.banner.banner--full .banner-text h3{
  margin:0 0 12px;
  font-size: clamp(1.4rem, 1.6vw + 1rem, 1.95rem);
  line-height:1.12;
  font-weight:800;
  letter-spacing:-.02em;
  color:#f2f6ff;
}
.banner.banner--full .banner-text .kicker{
  margin-bottom:10px;
  letter-spacing:.115em;
}
.banner.banner--full .banner-text .lead{
  max-width:48ch;
  line-height:1.62;
  margin:0 0 10px;
}
.banner.banner--full .banner-text .lead + .lead{
  font-size:.96rem;
  line-height:1.57;
  color:#bcc6d4;
  margin:0 0 14px;
}
.banner.banner--full .banner-text p:not(.lead){
  margin:0 0 14px;
  color:#d0d8e4;
  line-height:1.65;
  font-size:1.02rem;
  max-width:48ch;
}
.banner.banner--full .banner-text .cta-row{
  margin-top:14px;
  gap:10px;
}
.banner.banner--full .banner-text .cta-row .btn.primary{
  min-width:min(200px, 100%);
  justify-content:center;
  padding:12px 20px;
  font-size:.9rem;
  letter-spacing:.035em;
  box-shadow: 0 16px 40px rgba(73,151,240,.22);
}
.banner.banner--full .banner-text .cta-row.index-hero-dept-row{
  display:flex;
  flex-wrap:nowrap;
  justify-content:space-between;
  gap:8px;
  max-width:100%;
  overflow:hidden;
}
.banner.banner--full .banner-text .cta-row.index-hero-dept-row .btn.primary{
  flex:1 1 0;
  width:auto;
  min-width:0;
  justify-content:center;
  padding:10px 12px;
  font-size:.8rem;
  letter-spacing:.02em;
  white-space:nowrap;
}
.banner.banner--full .banner-text > .btn{
  margin-top:12px;
  align-self:flex-start;
}
.banner.banner--full .banner-text > .btn.primary{
  box-shadow: 0 16px 40px rgba(73,151,240,.22);
}

.banner.banner--overlay .banner-wrap{
  position:relative;
  width:92%;
  max-width:1240px;
  border-radius:22px;
  overflow:hidden;
  border:1px solid rgba(255,255,255,.12);
  background:#0b0d13;
  box-shadow: var(--shadow);
}
.banner.banner--overlay .banner-wrap--container{
  width:100%;
  max-width:none;
}
.banner.banner--overlay .banner-img{
  width:100%;
  height:530px;
  object-fit:cover;
  object-position:center;
  filter:saturate(1.05) contrast(1.05) brightness(.85);
  transform: scale(1.02);
}
.banner.banner--overlay .banner-img.banner-img-short{height:460px}
.banner.banner--overlay .banner-img.banner-img-medium{height:500px}
.banner.banner--overlay .banner-text{
  position:absolute;
  inset:auto auto 26px 26px;
  max-width: min(720px, calc(100% - 52px));
  padding:20px 24px;
  border-radius:16px;
  background:linear-gradient(165deg, rgba(16,20,35,.86), rgba(9,12,21,.9));
  border:1px solid rgba(255,255,255,.14);
  box-shadow:0 16px 44px rgba(0,0,0,.34);
  backdrop-filter:blur(8px) saturate(125%);
}
.kicker{
  display:inline-flex;
  align-items:center;
  gap:10px;
  text-transform:uppercase;
  letter-spacing:.12em;
  font-weight:700;
  font-size:.8rem;
  color:#a6edd9;
  margin-bottom:10px;
}
.kicker-dot{
  width:8px;height:8px;border-radius:99px;
  background:var(--brand);
  box-shadow: 0 0 0 6px rgba(157,225,207,.12);
}
.lead{
  margin:0 0 14px;
  color:#d6deea;
  line-height:1.6;
  font-size:1.05rem;
}
.cta-row{display:flex; gap:10px; flex-wrap:wrap; margin-top:8px}

/* Buttons */
.btn{
  display:inline-flex; align-items:center; gap:10px;
  padding:12px 15px;
  border-radius:14px;
  border:1px solid #ffffff18;
  background:#ffffff08;
  font-weight:700;
  transition: .18s ease;
}
.btn:hover{background:#ffffff12; transform: translateY(-1px)}
.btn.primary{
  border:0;
  background:linear-gradient(180deg, rgba(73,151,240,.98), rgba(28,60,170,.92));
  box-shadow: 0 16px 40px rgba(73,151,240,.20);
}
.btn.primary:hover{filter:brightness(1.08)}
.btn .icon{width:18px;height:18px; opacity:.95}

@media (max-width: 900px){
  .banner.banner--full .banner-wrap{
    grid-template-columns:1fr;
    grid-template-rows:auto auto;
    gap:12px;
    padding:14px;
  }
  .banner.banner--full .banner-text{
    grid-column:1;
    grid-row:1;
    justify-content:flex-start;
    padding:20px 20px 18px;
  }
  .banner.banner--full .banner-img{
    grid-column:1;
    grid-row:2;
    height:auto;
    min-height:min(44vw, 260px);
    max-height:min(52vw, 300px);
  }
  .banner.banner--full .banner-img.banner-img-short{
    min-height:min(40vw, 240px);
    max-height:min(48vw, 280px);
  }
  .banner.banner--full .banner-img.banner-img-medium{
    min-height:min(42vw, 250px);
    max-height:min(50vw, 290px);
  }
  .banner.banner--overlay .banner-img{
    height:340px;
    transform:none;
  }
  .banner.banner--overlay .banner-img.banner-img-short{height:300px}
  .banner.banner--overlay .banner-img.banner-img-medium{height:320px}
  .banner.banner--overlay .banner-text{
    inset:auto 16px 16px 16px;
    max-width:none;
    padding:16px 16px 14px;
  }
  .banner.banner--full .banner-text .cta-row.index-hero-dept-row{
    flex-wrap:wrap;
    gap:10px;
    overflow:visible;
  }
  .banner.banner--full .banner-text .cta-row.index-hero-dept-row .btn.primary{
    flex:1 1 auto;
    min-width:min(200px, 100%);
    padding:12px 20px;
    font-size:.9rem;
    letter-spacing:.035em;
  }
}
@media (max-width: 560px){
  .banner.banner--full .banner-wrap{
    padding:12px;
    gap:10px;
  }
  .banner.banner--full .banner-text{
    padding:16px 16px 14px;
    border-radius:14px;
  }
  .banner.banner--full .banner-img,
  .banner.banner--full .banner-img.banner-img-short,
  .banner.banner--full .banner-img.banner-img-medium{
    border-radius:12px;
    min-height:200px;
    max-height:min(56vw, 240px);
  }
  .banner.banner--full .banner-text .lead{
    margin-bottom:10px;
    line-height:1.55;
    max-width:none;
  }
  .banner.banner--full .banner-text .lead + .lead{
    margin-bottom:12px;
    font-size:.93rem;
  }
  .banner.banner--full .banner-text .cta-row{
    margin-top:12px;
    gap:8px;
  }
  .banner.banner--full .banner-text .cta-row .btn.primary{
    width:100%;
    min-width:0;
  }
  .banner.banner--overlay .banner-img{
    height:240px;
  }
  .banner.banner--overlay .banner-text{
    inset:auto 12px 12px 12px;
  }
}

@media (min-width: 768px) and (max-width: 1024px){
  .sobre-hero-banner .banner-text .cta-row.sobre-hero-actions{
    display:flex;
    flex-wrap:nowrap;
    align-items:stretch;
    gap:8px;
    width:100%;
    min-width:0;
  }
  .sobre-hero-banner .banner-text .cta-row.sobre-hero-actions .btn{
    flex:1 1 0;
    width:auto;
    min-width:0;
    white-space:nowrap;
    padding:8px 8px;
    font-size:.86rem;
    letter-spacing:normal;
    justify-content:center;
  }
  .banner.banner--full.sobre-hero-banner .banner-text .cta-row.sobre-hero-actions .btn,
  .banner.banner--full.sobre-hero-banner .banner-text .cta-row.sobre-hero-actions .btn.primary{
    flex:1 1 0;
    width:auto;
    min-width:0;
  }
  .banner.banner--full.sobre-hero-banner .banner-wrap{
    grid-template-columns:minmax(0,1.18fr) minmax(0,.88fr);
    gap:12px;
  }
  .banner.banner--full.sobre-hero-banner .banner-text{
    padding:16px 14px;
  }
}

/* Sections */
.section{padding:36px 0}
.section.section-continues{padding-top:0}

/* Laboratory page — rhythm, gallery anchor, cap density (laboratorio.html; IDs in main) */
main:has(#lab-services-heading) .content-stream{
  gap:22px;
}
main:has(#lab-services-heading) .card-inner.prose-flow{
  padding:22px 22px 24px;
}
@media (max-width: 760px){
  main:has(#lab-services-heading) .card-inner.prose-flow{
    padding:18px;
  }
}
main:has(#lab-services-heading) .prose-flow > .section-title,
main:has(#lab-services-heading) .prose-flow > header.section-title{
  margin-bottom:16px;
}
main:has(#lab-services-heading) .prose-flow > .section-title .section-sub,
main:has(#lab-services-heading) .prose-flow > header.section-title .section-sub{
  max-width:62ch;
  line-height:1.65;
}
main:has(#lab-services-heading) .prose-flow > .grid-2{
  margin-top:14px;
  column-gap:18px;
  row-gap:20px;
}
main:has(#lab-services-heading) .content-stream > .grid-2{
  margin-top:0;
  column-gap:20px;
  row-gap:20px;
  align-items:stretch;
  grid-template-columns:minmax(0, 1.08fr) minmax(0, 0.92fr);
}
@media (max-width: 980px){
  main:has(#lab-services-heading) .content-stream > .grid-2{
    grid-template-columns:1fr;
    row-gap:20px;
  }
}
main:has(#lab-services-heading) .prose-flow > .divider{
  margin:22px 0;
}
main:has(#lab-services-heading) aside.card .prose-flow > .divider{
  margin:14px 0;
  opacity:.92;
}
main:has(#lab-services-heading) .stack-rhythm{
  gap:14px;
  margin-bottom:6px;
}
main:has(#lab-services-heading) .stack-rhythm > h2{
  margin:0;
}
main:has(#lab-services-heading) .cap-grid{
  gap:16px;
  margin-top:10px;
}
main:has(#lab-services-heading) .cap-grid > .cap-card{
  min-height:0;
  padding:18px 18px 20px;
}
main:has(#lab-services-heading) .tile p{
  font-size:.95rem;
  line-height:1.68;
  color:#c8d4e2;
}
main:has(#lab-services-heading) .research-module{
  padding:22px 22px 22px;
}
main:has(#lab-services-heading) .content-stream > .grid-2 > .fade-up .research-module{
  padding:24px 24px 24px;
}
main:has(#lab-services-heading) .research-module .research-body{
  margin:0 0 18px;
  max-width:58ch;
  font-size:.98rem;
  line-height:1.68;
  color:#c5ced9;
}
main:has(#lab-services-heading) .research-header{
  margin-bottom:8px;
  padding-bottom:14px;
  border-bottom:1px solid rgba(255,255,255,.055);
  gap:6px;
  flex-wrap:wrap;
  align-items:baseline;
}
main:has(#lab-services-heading) .research-title{
  font-size:1.26rem;
  letter-spacing:-.014em;
  font-weight:800;
  color:#eef3fa;
}
main:has(#lab-services-heading) .research-meta{
  font-size:.86rem;
  letter-spacing:.04em;
  opacity:.92;
}
main:has(#lab-services-heading) .research-gallery{
  gap:12px;
}
main:has(#lab-services-heading) .research-gallery > .research-figure.grid-full:first-child .research-image{
  height:clamp(252px, 31vw, 308px);
}
main:has(#lab-services-heading) .research-gallery .research-figure:not(.grid-full) .research-image{
  height:212px;
}
main:has(#lab-services-heading) .research-gallery .research-figure:nth-child(2) .research-image{
  filter:brightness(.93) saturate(.96);
}
main:has(#lab-services-heading) .research-gallery .research-caption{
  font-size:.89rem;
  line-height:1.48;
  letter-spacing:.01em;
  padding:9px 11px;
}
main:has(#lab-services-heading) aside.card .card-inner.prose-flow{
  padding:24px 26px 28px;
}
main:has(#lab-services-heading) aside.card .prose-flow > h2{
  margin:0 0 14px;
  letter-spacing:-.02em;
}
main:has(#lab-services-heading) aside.card .prose-flow > .editorial-flow{
  margin-bottom:8px;
  max-width:54ch;
}
main:has(#lab-services-heading) aside.card .editorial-flow p{
  margin:0 0 12px;
  line-height:1.68;
  font-size:.98rem;
}
main:has(#lab-services-heading) aside.card .editorial-flow p:last-child{
  margin-bottom:0;
}
main:has(#lab-services-heading) aside.card .stack-rhythm{
  gap:8px;
  margin-bottom:0;
}
main:has(#lab-services-heading) aside.card .stack-rhythm .cap-title{
  font-size:1.02rem;
  margin-bottom:1px;
  color:#e2ebf8;
}
main:has(#lab-services-heading) aside.card .quick-link-row{
  padding:12px 2px;
  font-size:.96rem;
}
main:has(#lab-services-heading) aside.card .prose-flow > .tile-featured{
  margin-top:6px;
  padding:17px 18px 18px;
  border-color:rgba(255,255,255,.11);
  background:linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.025));
}
main:has(#lab-services-heading) aside.card .tile-featured .cap-title{
  margin-top:0;
  margin-bottom:8px;
  font-size:1.04rem;
}
main:has(#lab-services-heading) aside.card .tile-featured p:last-of-type{
  margin-bottom:0;
}
main:has(#lab-services-heading) aside.card .prose-flow p{
  line-height:1.7;
}
@media (max-width: 820px){
  main:has(#lab-services-heading) .research-gallery > .research-figure.grid-full:first-child .research-image{
    height:min(48vw, 248px);
  }
  main:has(#lab-services-heading) .research-gallery .research-figure:not(.grid-full) .research-image{
    height:192px;
  }
  main:has(#lab-services-heading) .content-stream > .grid-2 > .fade-up .research-module{
    padding:20px 18px 20px;
  }
}
@media (max-width: 760px){
  main:has(#lab-services-heading) aside.card .card-inner.prose-flow{
    padding:20px 18px 22px;
  }
}
.section-title{
  display:flex; align-items:flex-end; justify-content:space-between; gap:14px; flex-wrap:wrap;
  margin-bottom:14px;
}
.section-sub{
  margin:0;
  color:var(--muted);
  line-height:1.6;
  max-width: 70ch;
}
.divider{
  height:1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.12), transparent);
  margin:18px 0;
}

/* Cards / tiles */
.grid{display:grid; grid-template-columns: 1.4fr 1fr; gap:18px}
@media (max-width: 980px){ .grid{grid-template-columns:1fr} }
.grid-2{
  display:grid;
  grid-template-columns:1fr 1fr;
  column-gap:16px;
  row-gap:22px;
  margin-top:18px;
}
@media (max-width: 980px){ .grid-2{grid-template-columns:1fr} }

/* Vertical rhythm when a full card follows a 2-column grid */
.container > .grid-2 + .card{
  margin-top:24px;
}
@media (max-width: 980px){
  .container > .grid-2 + .card{
    margin-top:20px;
  }
}

.card{
  position:relative;
  border-radius: var(--radius);
  border:1px solid #ffffff14;
  background:
    radial-gradient(700px 340px at 20% 0%, rgba(157,225,207,.10), transparent 55%),
    linear-gradient(180deg, rgba(18,20,35,.86), rgba(10,10,14,.92));
  box-shadow: 0 20px 52px rgba(0,0,0,.45);
  overflow:hidden;
}
.card:before{
  content:"";
  position:absolute; inset:-2px;
  background: radial-gradient(520px 260px at 85% 10%, rgba(73,151,240,.16), transparent 60%);
  pointer-events:none;
  opacity:.95;
}
.card-inner{position:relative; padding:18px}

.choice{
  border-radius:18px;
  border:1px solid #ffffff14;
  background: rgba(255,255,255,.05);
  padding:18px;
  transition:.18s ease;
  min-height: 240px;
  display:flex;
  flex-direction:column;
  justify-content:space-between;
}
.choice:hover{
  transform: translateY(-3px);
  border-color:#ffffff22;
  background: rgba(255,255,255,.08);
  box-shadow: 0 20px 44px rgba(0,0,0,.35);
}
.choice h2{margin:0 0 8px; font-size:1.25rem; color:#eaf2ff; letter-spacing:-.01em}
.choice p{margin:0; color:var(--muted); line-height:1.65}
.choice p + p{margin-top:10px}

/* Comfortable padding variant for dense hub / panel cards */
.choice--comfort{
  padding:22px 24px 24px;
  min-height:260px;
}
/* Badge → heading → body vertical rhythm inside cards (choice, tile, etc.) */
.stack-rhythm{
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  gap:20px;
  width:100%;
}
.stack-rhythm > .badge{
  flex-shrink:0;
}
.stack-rhythm > h2{
  margin:0;
  line-height:1.28;
}
.stack-rhythm > p{
  margin:0;
  align-self:stretch;
  width:100%;
  max-width:100%;
  box-sizing:border-box;
}
.stack-rhythm > .bullets,
.stack-rhythm > .link-stack{
  margin:0;
  align-self:stretch;
  width:100%;
}
.stack-rhythm > .bullets li{margin:10px 0}
.stack-rhythm > .bullets li:first-child{margin-top:2px}
.stack-rhythm > .bullets li:last-child{margin-bottom:2px}

.menu-panel-image{
  width:100%;
  border-radius:16px;
  border:1px solid rgba(255,255,255,.12);
  margin-bottom:12px;
}
/* tech.html hub (.choice): cap image height so visuals support copy (same pattern on any hub page) */
.choice .menu-panel-image{
  display:block;
  max-height:min(200px, 34vw);
  object-fit:cover;
}

.mini-grid{display:grid; grid-template-columns:repeat(3,1fr); gap:12px; margin-top:12px}
@media (max-width: 980px){ .mini-grid{grid-template-columns:1fr} }

.tile{
  border:1px solid #ffffff14;
  background: linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.03));
  border-radius:16px;
  padding:14px;
  transition: .18s ease;
}
.tile:hover{
  transform: translateY(-2px);
  border-color:#ffffff22;
  box-shadow: 0 20px 44px rgba(0,0,0,.35);
}
.tile-top{display:flex; align-items:center; justify-content:space-between; gap:10px; margin-bottom:8px}
.tile h3{margin:2px 0 8px; font-size:1.05rem; color:#d9e7ff}

.badge{
  font-size:.78rem;
  font-weight:800;
  letter-spacing:.08em;
  text-transform:uppercase;
  padding:7px 10px;
  border-radius:999px;
  border:1px solid #ffffff18;
  background: rgba(157,225,207,.10);
  color:#c8f4e6;
}
.pill{
  display:inline-flex; align-items:center; gap:8px;
  padding:8px 12px;
  border-radius:999px;
  border:1px solid #ffffff18;
  background:#ffffff08;
  color:#e2ebf7;
  font-size:.92rem;
  font-weight:700;
}
.bullets{margin:0; padding:0 0 0 18px; color:#d2dbe6}
.bullets li{margin:8px 0}
.bullets-top-spaced{margin-top:12px}

/* Institutional capability cards */
.cap-grid{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap:14px;
  margin-top:12px;
}
.cap-grid.cap-grid--four{
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
@media (max-width: 1180px){
  .cap-grid.cap-grid--four{grid-template-columns:repeat(2, minmax(0, 1fr))}
}
@media (max-width: 980px){
  .cap-grid,
  .cap-grid.cap-grid--four{grid-template-columns:1fr}
}
.cap-card{
  position:relative;
  border-radius:18px;
  border:1px solid #ffffff14;
  background:
    radial-gradient(700px 360px at 10% 0%, rgba(157,225,207,.10), transparent 55%),
    linear-gradient(180deg, rgba(18,20,35,.86), rgba(10,10,14,.92));
  box-shadow: 0 20px 52px rgba(0,0,0,.45);
  overflow:hidden;
  padding:16px 16px 14px;
  min-height: 270px;
}
.cap-card:before{
  content:"";
  position:absolute; inset:-2px;
  background: radial-gradient(420px 240px at 85% 10%, rgba(73,151,240,.16), transparent 60%);
  pointer-events:none;
  opacity:.95;
}
.cap-head{
  position:relative;
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:12px;
  margin-bottom:10px;
}
.cap-badge{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:7px 10px;
  border-radius:999px;
  border:1px solid #ffffff18;
  background: rgba(255,255,255,.06);
  color:#cfe3ff;
  font-weight:900;
  letter-spacing:.08em;
  text-transform:uppercase;
  font-size:.78rem;
}
.cap-icon{
  width:58px;
  height:58px;
  border-radius:16px;
  border:1px solid #ffffff14;
  background:
    radial-gradient(110px 80px at 30% 25%, rgba(157,225,207,.18), transparent 60%),
    linear-gradient(180deg, rgba(255,255,255,.07), rgba(255,255,255,.03));
  display:grid;
  place-items:center;
  box-shadow: 0 18px 44px rgba(0,0,0,.35);
}
.cap-icon svg{width:28px;height:28px; opacity:.95}
.cap-title{position:relative; margin:0 0 6px; font-size:1.08rem; color:#eaf2ff; letter-spacing:-.01em}
.cap-desc{position:relative; margin:0 0 10px; color:var(--muted); line-height:1.6}
.cap-list{position:relative; margin:0; padding-left:18px; color:#d2dbe6}
.cap-list li{margin:8px 0}
.cap-foot{position:relative; margin-top:12px; display:flex; gap:10px; flex-wrap:wrap; align-items:center; color:var(--muted); font-size:.92rem}
.cap-link{
  display:inline-flex; align-items:center; gap:8px;
  padding:8px 10px; border-radius:12px;
  border:1px solid #ffffff14;
  background:#ffffff06;
  color:#dbe6f6;
  font-weight:800;
}
.cap-link:hover{background:#ffffff10}

.tile-featured{border-color:#ffffff22}
.section-title-spacious{margin-bottom:20px}

/* Paragraph rhythm for long-form blocks inside sections */
.prose-flow p{margin:0 0 1rem}
.prose-flow p:last-child{margin-bottom:0}
.prose-flow p + h3.cap-title{margin-top:1.35rem}
.card-inner.prose-flow > .pill{margin-bottom:14px}

/* Stacked navigation links inside cards */
.link-stack{
  display:flex;
  flex-direction:column;
  gap:0;
  width:100%;
}
.quick-link-row{
  display:flex;
  align-items:center;
  padding:15px 2px;
  border-bottom:1px solid rgba(255,255,255,.07);
  color:#d2dbe6;
  font-weight:600;
  font-size:.98rem;
  letter-spacing:.01em;
  transition:color .18s ease, background .18s ease;
}
.quick-link-row:last-child{border-bottom:0}
.quick-link-row:hover{
  color:var(--text);
  background:rgba(255,255,255,.04);
}

/* cap-card variant: media on top + stacked body (reuses .cap-card surface + ::before) */
.cap-card.cap-card--media{
  padding:0;
  min-height:0;
  display:flex;
  flex-direction:column;
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}
.cap-card.cap-card--media:hover{
  transform: translateY(-2px);
  border-color:#ffffff22;
  box-shadow: 0 24px 56px rgba(0,0,0,.5);
}
.cap-card-media{
  position:relative;
  margin:0;
  aspect-ratio:16/9;
  overflow:hidden;
  border-bottom:1px solid #ffffff12;
  background:#0b0d13;
}
.cap-card-media img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}
.cap-card-stack{
  position:relative;
  padding:16px 18px 18px;
  display:flex;
  flex-direction:column;
  flex:1;
  gap:10px;
}
.cap-card-stack .badge{align-self:flex-start}
.cap-card-stack :is(h3,h4){
  margin:0;
  font-size:1.08rem;
  color:#eaf2ff;
  letter-spacing:-.01em;
}
.cap-card-stack p{
  margin:0;
  flex:1;
  color:var(--muted);
  line-height:1.65;
  font-size:.96rem;
}
.cap-card-stack .btn{margin-top:auto; align-self:flex-start}

/* Footer */
footer{
  border-top:1px solid var(--line);
  background:
    radial-gradient(920px 380px at 12% -12%, rgba(73,151,240,.12), transparent 58%),
    linear-gradient(180deg, #0a0c14, #07080c 58%);
}
footer .container{
  padding-left: clamp(22px, 6vw, 34px);
  padding-right: clamp(22px, 6vw, 34px);
}
.footer-grid{
  display:grid;
  grid-template-columns:1fr;
  gap:14px;
  padding:24px 0 16px;
  align-items:start;
}
.footer-grid > div{min-width:0}
.footer-grid > div:first-child{
  max-width:42ch;
}
.footer-grid > div{
  padding:0 0 11px;
  border-bottom:1px solid rgba(255,255,255,.06);
}
.footer-grid > div:last-child{
  border-bottom:0;
  padding-bottom:0;
}
.footer-grid .brand-footer{margin-bottom:6px}
.footer-grid .brand-footer .logo-wide{
  height:62px;
  filter: drop-shadow(0 10px 24px rgba(0,0,0,.34));
}
.footer-grid h6{
  margin:0 0 8px;
  font-size:.78rem;
  letter-spacing:.1em;
  text-transform:uppercase;
  font-weight:780;
  color:#8fc3ff;
}
.footer-grid a{
  display:block;
  padding:7px 0;
  color:#b3c0d0;
  line-height:1.36;
  transition:color .18s ease, opacity .18s ease, transform .18s ease;
}
.footer-grid a:focus-visible{
  outline:2px solid rgba(139,191,255,.65);
  outline-offset:2px;
  border-radius:4px;
}
.footer-grid a:hover{
  color:var(--text);
  opacity:1;
}
.legal{
  display:grid;
  grid-template-columns:1fr;
  gap:6px;
  border-top:1px solid rgba(255,255,255,.1);
  padding:11px 0 16px;
  color:#97a9bd;
  font-size:.86rem;
  line-height:1.3;
}
.legal a{opacity:.92}
.legal a:hover{opacity:1}

@media (min-width: 621px){
  .footer-grid{
    grid-template-columns:1fr 1fr;
    gap:18px;
    padding:26px 0 18px;
  }
  .footer-grid > div{
    border-bottom:0;
    padding:0;
  }
  .footer-grid > div:first-child{
    grid-column:1 / -1;
    padding-right:0;
    max-width:none;
    margin-bottom:4px;
  }
  .legal{
    display:flex;
    gap:9px 14px;
    flex-wrap:wrap;
    align-items:center;
    padding:11px 0 16px;
  }
}
@media (min-width: 900px){
  .footer-grid{
    grid-template-columns:1.34fr 1fr 1fr;
    gap:20px;
    padding:28px 0 20px;
  }
  .footer-grid > div:first-child{
    grid-column:auto;
    max-width:35ch;
    margin-bottom:0;
  }
}
@media (min-width: 1180px){
  .footer-grid{
    grid-template-columns:1.45fr 1fr 1fr 1.15fr 1fr;
    gap:22px;
    padding:30px 0 22px;
  }
  .footer-grid > div:first-child{
    max-width:34ch;
  }
}
@media (min-width: 860px){
  .footer-grid .brand-footer .logo-wide{
    height:66px;
  }
}
@media (max-width: 380px){
  footer .container{
    padding-left:20px;
    padding-right:20px;
  }
}
@media (hover: hover){
  .footer-grid a:hover{
    transform:translateX(1px);
  }
}

/* Timeline support */
.timeline{
  margin-top:22px;
  border-radius:20px;
  border:1px solid #ffffff14;
  background:
    radial-gradient(900px 420px at 50% 0%, rgba(73,151,240,.18), transparent 65%),
    radial-gradient(700px 380px at 85% 20%, rgba(157,225,207,.10), transparent 60%),
    linear-gradient(180deg, rgba(18,20,35,.78), rgba(10,10,14,.96));
  box-shadow: 0 24px 60px rgba(0,0,0,.55);
  padding:32px 28px;
  position:relative;
  overflow:hidden;
}
.timeline-inner{position:relative; max-width:920px; margin:0 auto}
.tl-track{position:relative; margin-top:10px; padding:10px 0}
.tl-line{
  position:absolute;
  left:50%;
  top:22px;
  bottom:22px;
  width:2px;
  transform:translateX(-50%);
  background: linear-gradient(180deg, rgba(157,225,207,.65), rgba(255,255,255,.16));
  border-radius:99px;
  z-index:0;
}
.tl-line-progress{
  position:absolute;
  left:50%;
  top:22px;
  width:2px;
  height:0;
  transform:translateX(-50%);
  background: linear-gradient(180deg, rgba(157,225,207,.95), rgba(73,151,240,.45));
  border-radius:99px;
  filter: drop-shadow(0 0 10px rgba(157,225,207,.20));
  z-index:1;
}
.tl-step{
  position:relative;
  width:50%;
  padding:18px 26px;
  margin:0 0 34px;
  z-index:2;
  opacity:0;
  transform: translateY(14px);
  transition: opacity .55s ease, transform .55s ease;
}
.tl-step.left{left:0; text-align:right}
.tl-step.right{left:50%; text-align:left}
.tl-step:before{
  content:"";
  position:absolute;
  top:22px;
  left: calc(100% - 7px);
  width:14px;
  height:14px;
  border-radius:50%;
  background: rgba(157,225,207,1);
  box-shadow: 0 0 0 6px rgba(157,225,207,.14);
  z-index:3;
}
.tl-step.right:before{left:-7px}
.tl-step.in{opacity:1; transform:none}
.tl-card{
  border-radius:16px;
  border:1px solid #ffffff14;
  background: rgba(255,255,255,.05);
  padding:16px;
  transition: .22s ease;
}
.tl-card:hover{
  transform: translateY(-3px);
  background: rgba(255,255,255,.08);
  border-color:#ffffff22;
  box-shadow: 0 18px 42px rgba(0,0,0,.34);
}
.tl-number{
  font-size:.78rem;
  font-weight:900;
  letter-spacing:.10em;
  text-transform:uppercase;
  color:#c8f4e6;
  margin-bottom:6px;
}
.tl-card h3{margin:0 0 8px; font-size:1.08rem; color:#eaf2ff}
.tl-card p{margin:0; color:var(--muted); line-height:1.6; font-size:.96rem}
@media (max-width: 820px){
  .tl-line, .tl-line-progress{ left:14px; transform:none; }
  .tl-line{ top:22px; bottom:22px; }
  .tl-step, .tl-step.left, .tl-step.right{
    width:100%;
    left:0;
    text-align:left;
    padding:18px 18px 18px 44px;
  }
  .tl-step:before{ left:7px !important; }
}

/* Motion */
.fade-up{opacity:0; transform: translateY(10px); transition: .6s ease}
.fade-up.in{opacity:1; transform:none}
@media (prefers-reduced-motion: reduce){
  .fade-up,.tl-step{opacity:1; transform:none; transition:none}
  .tile:hover,.btn:hover,.menu-item:hover,.choice:hover,.tl-card:hover,.cap-card.cap-card--media:hover{transform:none}
}

/* =========================
   ICON SYSTEM
========================= */

.icon-web,
.icon-dashboard,
.icon-support {
  width: 20px;
  height: 20px;
  display: block;
  background: currentColor;
  mask-size: contain;
  mask-repeat: no-repeat;
  mask-position: center;
  -webkit-mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-position: center;
}

/* Corporate web */
.icon-web {
  mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Crect x='3' y='5' width='18' height='14' rx='2' stroke='black' stroke-width='2'/%3E%3Cpath d='M3 9H21' stroke='black' stroke-width='2'/%3E%3Cpath d='M7 13H11' stroke='black' stroke-width='2'/%3E%3Cpath d='M7 16H13' stroke='black' stroke-width='2'/%3E%3Crect x='14.5' y='12' width='4' height='4' rx='1' stroke='black' stroke-width='2'/%3E%3C/svg%3E");
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Crect x='3' y='5' width='18' height='14' rx='2' stroke='black' stroke-width='2'/%3E%3Cpath d='M3 9H21' stroke='black' stroke-width='2'/%3E%3Cpath d='M7 13H11' stroke='black' stroke-width='2'/%3E%3Cpath d='M7 16H13' stroke='black' stroke-width='2'/%3E%3Crect x='14.5' y='12' width='4' height='4' rx='1' stroke='black' stroke-width='2'/%3E%3C/svg%3E");
}

/* Dashboard */
.icon-dashboard {
  mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' fill='none'%3E%3Crect x='3' y='4' width='18' height='16' rx='2' stroke='black' stroke-width='2'/%3E%3Cpath d='M8 4V20' stroke='black' stroke-width='2'/%3E%3Crect x='11' y='7' width='7' height='3' rx='1' stroke='black' stroke-width='2'/%3E%3Crect x='11' y='12' width='3' height='3' rx='1' stroke='black' stroke-width='2'/%3E%3Crect x='15' y='12' width='3' height='3' rx='1' stroke='black' stroke-width='2'/%3E%3C/svg%3E");
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' fill='none'%3E%3Crect x='3' y='4' width='18' height='16' rx='2' stroke='black' stroke-width='2'/%3E%3Cpath d='M8 4V20' stroke='black' stroke-width='2'/%3E%3Crect x='11' y='7' width='7' height='3' rx='1' stroke='black' stroke-width='2'/%3E%3Crect x='11' y='12' width='3' height='3' rx='1' stroke='black' stroke-width='2'/%3E%3Crect x='15' y='12' width='3' height='3' rx='1' stroke='black' stroke-width='2'/%3E%3C/svg%3E");
}

/* Support */
.icon-support {
  mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M12 3L19 6V11C19 15.5 16.2 18.9 12 20.5C7.8 18.9 5 15.5 5 11V6L12 3Z' stroke='black' stroke-width='2'/%3E%3Cpath d='M9 11.8L11 13.8L15 9.8' stroke='black' stroke-width='2'/%3E%3C/svg%3E");
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M12 3L19 6V11C19 15.5 16.2 18.9 12 20.5C7.8 18.9 5 15.5 5 11V6L12 3Z' stroke='black' stroke-width='2'/%3E%3Cpath d='M9 11.8L11 13.8L15 9.8' stroke='black' stroke-width='2'/%3E%3C/svg%3E");
}

/* Editorial/profile page utilities */
.content-stream{display:grid; gap:18px}
.section-heading{margin:0 0 12px}
.hero-editorial-grid{
  display:grid;
  grid-template-columns:1.15fr .85fr;
  gap:18px;
  align-items:stretch;
}
@media (max-width: 980px){ .hero-editorial-grid{grid-template-columns:1fr} }

.pill-row{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin-top:12px;
}

.media-block{
  border-radius:16px;
  overflow:hidden;
  border:1px solid #ffffff14;
  background:#0b0d13;
  position:relative;
}
.media-block img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
  filter:brightness(.88);
}
.media-h-160{min-height:160px}
.media-h-180{min-height:180px}
.media-h-220{min-height:220px}
.media-h-240{min-height:240px}

.stats-grid{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:10px;
  margin-top:16px;
}
@media (max-width: 980px){ .stats-grid{grid-template-columns:repeat(2,1fr)} }
.stat-card{
  border:1px solid #ffffff14;
  background:#ffffff06;
  border-radius:14px;
  padding:12px;
}
.stat-card strong{display:block; font-size:1.15rem; color:#fff}
.stat-card span{display:block; margin-top:2px; color:var(--muted); font-size:.9rem}

.link-card{display:block}
.link-card .media-block{margin-top:10px}

.disclosure{
  border:1px solid #ffffff14;
  border-radius:16px;
  background:#ffffff06;
  padding:12px 14px;
}
.disclosure summary{
  cursor:pointer;
  font-weight:700;
  color:#cfd6de;
  list-style:none;
}
.disclosure summary::-webkit-details-marker{display:none}
.disclosure .disclosure-body{margin-top:12px}
.disclosure-list{
  margin:10px 0 0;
  padding-left:18px;
  color:#d8dee6;
}

/* Utility: span full width inside grid layouts */
.grid-full{grid-column:1 / -1}

/* Reusable research/results module */
.research-module{
  border-radius:18px;
  border:1px solid #ffffff14;
  background:
    radial-gradient(700px 360px at 10% 0%, rgba(157,225,207,.10), transparent 55%),
    linear-gradient(180deg, rgba(18,20,35,.86), rgba(10,10,14,.92));
  box-shadow: 0 20px 52px rgba(0,0,0,.45);
  overflow:hidden;
  padding:18px 20px;
}
.research-header{
  display:flex;
  align-items:baseline;
  justify-content:space-between;
  gap:12px;
  margin:0 0 12px;
}
.research-title{
  margin:0;
  font-size:1.2rem;
}
.research-meta{
  color:var(--muted);
  font-size:.9rem;
}
.research-body{
  color:#cfd6de;
  line-height:1.65;
  margin:10px 0 16px;
  font-size:1.02rem;
}
.research-gallery{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:12px;
}
.research-figure{
  margin:0;
  border:1px solid #ffffff14;
  border-radius:12px;
  overflow:hidden;
  background:#0b0d13;
}
.research-image{
  display:block;
  width:100%;
  height:280px;
  object-fit:cover;
  filter:brightness(.98);
}
.research-caption{
  padding:10px 12px;
  color:var(--muted);
  font-size:.92rem;
  border-top:1px solid #ffffff14;
}
@media (max-width: 820px){
  .research-header{
    align-items:flex-start;
    flex-wrap:wrap;
  }
  .research-title{
    flex:1 1 240px;
  }
  .research-meta{
    flex:1 1 220px;
  }
  .research-gallery{grid-template-columns:1fr}
  .research-image{height:220px}
}
@media (max-width: 560px){
  .research-header{
    display:grid;
    gap:8px;
  }
}

/* Reusable modal dialog (address forms, confirmations, etc.) */
.modal-root{
  position:fixed;
  inset:0;
  z-index:5000;
}
.modal-root[hidden]{
  display:none !important;
}
.modal-overlay{
  position:absolute;
  inset:0;
  background:rgba(0,0,0,.72);
  backdrop-filter:blur(6px);
}
.modal-shell{
  position:relative;
  min-height:100%;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:22px;
}
.modal-panel.card{
  width:min(720px, 96vw);
  text-align:left;
  box-shadow:0 24px 60px rgba(0,0,0,.75);
}
.modal-panel .card-inner{
  padding:22px 24px 24px;
}
.modal-panel .kicker{
  margin-bottom:8px;
}
.modal-panel h2{
  margin:10px 0 12px;
  color:var(--blue);
}
.modal-desc{
  color:#cfd6de;
  max-width:70ch;
  margin:0 0 14px;
  line-height:1.6;
}
.modal-actions{
  margin-top:16px;
}

/* Accessible hidden label helper */
.visually-hidden{
  position:absolute!important;
  width:1px;
  height:1px;
  padding:0;
  margin:-1px;
  overflow:hidden;
  clip:rect(0,0,0,0);
  white-space:nowrap;
  border:0;
}

/* Reusable form primitives */
.form-shell{max-width:900px}
.form-stack{
  display:grid;
  gap:12px;
}
.form-label{
  display:block;
  margin:0 0 6px;
  color:#cfd6de;
  font-weight:600;
  font-size:.92rem;
}
.form-input,
.form-textarea{
  width:100%;
  padding:12px 14px;
  border-radius:12px;
  border:1px solid var(--line);
  background:#0b0d13;
  color:var(--text);
  font:inherit;
  line-height:1.45;
  transition:border-color .18s ease, box-shadow .18s ease, background .18s ease;
}
.form-textarea{
  min-height:130px;
  resize:vertical;
}
.form-input::placeholder,
.form-textarea::placeholder{color:#9ba8b8}
.form-input:focus,
.form-textarea:focus{
  outline:none;
  border-color:rgba(139,191,255,.8);
  box-shadow:0 0 0 3px rgba(139,191,255,.18);
  background:#0d1018;
}

/* Home landing sections */
.landing-hero{
  margin:18px 0 26px;
}
.landing-hero-grid{
  display:grid;
  grid-template-columns:1.05fr .95fr;
  gap:24px;
  align-items:stretch;
}
.landing-hero-copy{
  border:1px solid #ffffff14;
  border-radius:18px;
  padding:24px 24px 22px;
  background:linear-gradient(180deg,rgba(19,22,33,.9),rgba(13,15,24,.86));
  box-shadow:0 18px 44px rgba(0,0,0,.34);
}
.landing-hero-copy h1{margin:0 0 10px}
.landing-hero-copy p{
  margin:0;
  color:#d2d9e3;
  max-width:56ch;
}
.landing-hero-copy .cta-row{
  margin-top:16px;
  flex-wrap:nowrap;
}
.landing-hero-art{
  min-height:100%;
  border-radius:18px;
  overflow:hidden;
  border:1px solid #ffffff14;
  background:#0b0d13;
  box-shadow: 0 20px 52px rgba(0,0,0,.45);
}
.landing-hero-art img{
  width:100%;
  height:100%;
  min-height:340px;
  object-fit:cover;
  display:block;
  filter:brightness(.92);
}
.hero-cta-main{min-width:210px}
.hero-cta-secondary{background:#ffffff08}
.hero-cta-secondary:hover{background:#ffffff12}
.hero-cta-unified{
  min-width:190px;
  justify-content:center;
}

.home-editorial{
  padding:8px 0 10px;
}
.editorial-panel{
  border:1px solid #ffffff14;
  border-radius:18px;
  background:linear-gradient(180deg,#131722,#0f121b);
  box-shadow:0 18px 44px rgba(0,0,0,.28);
  width:100%;
  max-width:100%;
  box-sizing:border-box;
}
.editorial-panel .card-inner{padding:24px 24px 22px}
.editorial-panel h2{margin:0 0 10px}
.editorial-panel h1{
  margin:0 0 14px;
  font-size:clamp(1.72rem, 2.1vw + 1rem, 2.35rem);
  line-height:1.1;
  font-weight:800;
  letter-spacing:-.02em;
  color:#4997f0;
}
.editorial-flow > .kicker{margin-bottom:12px}
.editorial-flow p{
  margin:0 0 12px;
  color:#cfd6de;
  line-height:1.75;
}
.editorial-flow p:last-child{margin-bottom:0}
.text-justify{ text-align:justify; text-justify:inter-word; }

.home-depts{padding:8px 0 6px}
.home-depts-head{
  margin:2px 0 18px;
}
.home-depts-head .section-title{
  margin:0;
  padding-bottom:8px;
  border-bottom:1px solid #ffffff14;
}
.home-depts-head h2{
  margin:0;
  letter-spacing:.01em;
}
.home-depts-grid{display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:16px}
.home-dept-card{
  border:1px solid #ffffff16;
  border-radius:16px;
  background:linear-gradient(180deg,#121621,#0f131c);
  display:flex;
  flex-direction:column;
}
.home-dept-card .media-block{margin-bottom:14px}
.home-dept-card h3{margin:0 0 8px; color:#4997f0}
.home-dept-card p{margin:0 0 14px; color:#cfd6de; text-align:justify}
.home-dept-card .btn{margin-top:auto}

.home-promos{padding:10px 0 22px}
.home-promos-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:16px;
}
.home-promo{
  min-height:100%;
  border:1px solid #ffffff1e;
  box-shadow:0 14px 34px rgba(0,0,0,.24);
  display:flex;
  flex-direction:column;
}
.home-promo .media-block{margin:8px 0 12px}
.home-promo h4{margin:0 0 8px}
.home-promo p{margin:0; color:var(--muted)}
.home-promo .btn{margin-top:14px}

.home-promos.home-promos--spotlight{
  padding-top:36px;
  padding-bottom:30px;
  margin-top:10px;
  border-top:1px solid #ffffff14;
  background:
    radial-gradient(920px 300px at 10% 0%, rgba(73,151,240,.09), transparent 58%),
    radial-gradient(640px 240px at 92% 24%, rgba(157,225,207,.06), transparent 52%);
}
.home-promos-head{
  margin-bottom:22px;
  padding-bottom:16px;
  border-bottom:1px solid #ffffff12;
}
.home-promos-head .section-title{
  margin-bottom:0;
  align-items:flex-end;
}
.home-promos-head h2{
  margin:0;
  letter-spacing:.01em;
  color:#4997f0;
  font-size:clamp(1.32rem, 1.15vw + 1rem, 1.68rem);
}
.home-promos-head .section-sub{
  margin:12px 0 0;
  max-width:68ch;
}
.home-promos--spotlight .home-promos-grid{
  gap:18px;
}

.home-news{padding:24px 0 18px}
.home-news-head{
  margin-bottom:14px;
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:12px;
}
.home-news-head h2{margin:0}
.home-news-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:14px;
}
.home-news-item{
  border:1px solid #ffffff12;
  border-radius:14px;
  overflow:hidden;
  background:linear-gradient(180deg,#121420,#0f1016);
  display:flex;
  flex-direction:column;
}
.home-news-img{
  aspect-ratio:16/9;
  overflow:hidden;
  background:#0b0d13;
}
.home-news-img img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
  transition:transform .35s ease;
}
.home-news-item:hover .home-news-img img{transform:scale(1.04)}
.home-news-content{padding:14px}
.home-news-date{font-size:.8rem; color:var(--muted)}
.home-news-content h3{margin:5px 0 8px; font-size:1rem; color:#b3d2ff}
.home-news-content p{margin:0; color:#cfd6de; font-size:.94rem; line-height:1.5}

.home-support-banner{padding:12px 0 16px}
.home-support-banner .banner-wrap{
  min-height:0;
}
.home-support-banner .banner-text{
  max-width:min(560px, 100%);
  text-align:left;
}
.home-support-banner .banner-text p:not(.lead){
  max-width:min(52ch, 100%);
}

.dept-logos{
  margin:24px 0 0;
  padding:16px 0 6px;
  border-top:1px solid #ffffff0f;
  background:transparent;
}
.dept-logos-wrap{
  display:flex;
  justify-content:center;
  align-items:center;
  gap:130px;
  flex-wrap:wrap;
  margin-bottom: 35px;
}
.dept-logo{padding:0; border:none; background:none}
.dept-logo img{
  height:116px;
  width:auto;
  opacity:.74;
  filter:saturate(.9);
  transition:opacity .2s ease, transform .2s ease, filter .2s ease;
}
.dept-logo:hover img{
  opacity:.95;
  transform:translateY(-1px);
  filter:saturate(1);
}

@media (max-width: 1040px){
  .landing-hero-grid{grid-template-columns:1fr}
  .landing-hero-art img{min-height:280px}
  .landing-hero-copy .cta-row{flex-wrap:wrap}
  .home-depts-grid{grid-template-columns:1fr 1fr}
  .home-promos-grid{grid-template-columns:1fr 1fr}
  .home-news-grid{grid-template-columns:1fr 1fr}
}
@media (max-width: 760px){
  .landing-hero-copy{padding:18px}
  .editorial-panel .card-inner{padding:18px}
  .home-depts-grid{grid-template-columns:1fr}
  .home-news-grid{grid-template-columns:1fr}
  .home-promos-grid{grid-template-columns:1fr}
  .home-news-head{
    align-items:flex-start;
    flex-direction:column;
  }
  .dept-logos-wrap{gap:28px}
  .dept-logo img{height:88px}
}

/* Mars clock widget */
.mars-clock-section{
  margin:88px auto 64px;
  padding:44px;
  border-radius:26px;
  background:
    radial-gradient(1200px 600px at 10% -10%, rgba(60,95,190,0.12), transparent 50%),
    radial-gradient(900px 420px at 110% 10%, rgba(120,190,220,0.10), transparent 46%),
    linear-gradient(180deg, #141726 0%, #0b0e15 100%);
  box-shadow: 0 8px 40px rgba(30,60,130,0.28), inset 0 0 18px rgba(90,120,190,0.12);
  max-width:1180px;
  border:1px solid rgba(170,190,255,0.20);
}
.mars-title{
  text-align:center;
  color:#8fd0ff;
  font-size:1.95rem;
  letter-spacing:.03em;
  margin:0 0 10px;
}
.mars-subtitle{
  text-align:center;
  color:#b7bfd1;
  margin:0 0 26px;
  font-size:.96rem;
}
.mars-card{border:1px solid rgba(180,200,255,0.22);border-radius:18px;background:linear-gradient(180deg,#121628,#0c0f19);padding:20px;box-shadow:inset 0 0 20px rgba(60,90,160,0.18)}
.mars-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:18px;margin-bottom:20px}
.mars-box,.mars-wide{border:1px solid rgba(150,160,200,0.25);border-radius:12px;background:rgba(10,12,20,0.9);padding:14px}
.mars-wide{margin-top:12px}
.mars-row{display:flex;gap:16px;flex-wrap:wrap}
.mini{margin-top:8px}
.mini-col{flex:1 1 140px}
.space-between{justify-content:space-between}
.right{text-align:right}
.mars-metrics{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:14px;margin-bottom:16px}
.metric{border:1px solid rgba(170,185,230,0.22);border-radius:12px;padding:12px;background:linear-gradient(180deg,#0f1423,#0b0f1a)}
.metric-label{color:#9fb3ce;font-size:.86rem}
.metric-value{font-family:ui-monospace,Menlo,Consolas;font-size:1.25rem;font-weight:700;color:#e8f2ff}
.metric-hint{color:#9aa6bf;font-size:.82rem;margin-top:2px}
.mars-label{color:#9fb3ce;font-size:.86rem}
.mars-sub{color:#9fb3ce;font-size:.82rem;margin-bottom:2px}
.mars-mono{font-family:ui-monospace,Menlo,Consolas;font-weight:600}
.mars-big{font-family:ui-monospace,Menlo,Consolas;font-size:1.6rem;color:#c8e3ff}
.mars-xl{font-size:1.8rem;font-weight:700;color:#f2f5fa}
.mars-hint{color:#8f9bb4;font-size:.8rem;margin-top:4px}
.mars-input{width:100%;padding:8px;border-radius:8px;border:1px solid rgba(140,150,180,0.4);background:#0b0d13;color:#dfe4ee;margin-top:3px}
.mars-subgrid{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.mars-progress{margin-top:14px}
.mars-progress-top{display:flex;justify-content:space-between;margin-bottom:4px}
.mars-bar{height:8px;width:100%;border-radius:999px;background:#11131c;overflow:hidden;border:1px solid rgba(180,190,220,0.2)}
.mars-bar-fill{height:100%;width:0%;background:linear-gradient(90deg,#6ab9ff,#8ef0d2)}
.thermo{display:flex;align-items:center}
.thermo-row{display:flex;gap:16px;align-items:center}
.thermo-col{flex:1}
.thermo-value{font-size:1.7rem;font-weight:800;color:#e8f2ff}
.thermo-bar{width:18px;height:120px;border-radius:12px;background:linear-gradient(180deg,#0c1120,#0a0d16);border:1px solid rgba(160,175,220,0.28);padding:3px;display:flex;align-items:flex-end}
.thermo-fill{width:100%;height:0%;border-radius:8px;background:linear-gradient(180deg,#9de1cf,#6ab9ff)}
.maas-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:10px;margin-top:10px}
.maas-label{color:#9fb3ce;font-size:.82rem}
.mars-foot{margin-top:14px; color:#8f9bb4; font-size:.8rem}
@media (max-width: 820px){ .mars-subgrid{grid-template-columns:1fr} }

/* cursos.html — editorial course catalogue (full-width rows; text-led; images secondary) */
main#contenido #course-list .container.content-stream{
  gap: clamp(24px, 3.2vw, 36px);
}
main#contenido #course-list article.card > .card-inner{
  padding: clamp(20px, 2.4vw, 30px);
}
main#contenido #course-list .grid{
  align-items: start;
  column-gap: clamp(22px, 3vw, 36px);
  row-gap: 22px;
}
main#contenido #course-list .stack-rhythm.prose-flow{
  gap: clamp(18px, 2.2vw, 26px);
}
main#contenido #course-list .stack-rhythm.prose-flow p{
  max-width: min(62ch, 100%);
}
main#contenido #course-list .media-block{
  align-self: start;
  max-width: 100%;
}
main#contenido #course-list .media-block img{
  width: 100%;
  height: auto;
  object-fit: cover;
  min-height: 0;
  display: block;
}
main#contenido #course-list .cta-row{
  gap: 12px 16px;
  margin-top: 6px;
  flex-wrap: wrap;
}
body.cursos-page .cap-card.cap-card--media .cap-card-stack .link-stack{
  margin-top: 4px;
}
body.cursos-page .cap-card.cap-card--media .cap-card-stack .quick-link-row{
  padding: 10px 2px;
  font-size: .92rem;
}
body.cursos-page #course-list .editorial-panel .heading-display{
  margin-bottom: 8px;
}
@media (max-width: 980px){
  body.cursos-page .cap-grid.cap-grid--four{
    gap: 14px;
  }
}

/* libros.html — restored original alternating layout */
body.libros-page .hero{
  border-bottom:1px solid var(--line);
}
body.libros-page .hero .wrap{
  padding:40px 0;
  text-align:justify;
}
body.libros-page .hero h1{
  margin:0 0 10px;
  color:var(--blue);
}
body.libros-page .hero p{
  margin:0;
  color:#d2dbe6;
  line-height:1.62;
  max-width:110ch;
}
body.libros-page .courses{
  padding:20px 0 64px;
}
body.libros-page .course{
  border:1px solid var(--line);
  border-radius:18px;
  background:var(--card);
  overflow:hidden;
  margin:20px 0;
  display:grid;
  grid-template-columns:420px 1fr;
  gap:0;
  align-items:stretch;
}
body.libros-page .course.reverse{
  grid-template-columns:1fr 420px;
}
body.libros-page .course-media{
  position:relative;
  min-height:260px;
  background:#0e0f13;
}
body.libros-page .course-media img{
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:center;
  filter:brightness(.9);
}
body.libros-page .course-body{
  padding:22px;
  display:flex;
  flex-direction:column;
  gap:10px;
  justify-content:center;
  text-align:justify;
}
body.libros-page .course-body .kicker{
  font-size:.82rem;
  letter-spacing:.04em;
  text-transform:uppercase;
  color:var(--brand-2);
}
body.libros-page .course-body h2{
  margin:0;
  color:var(--blue);
  font-size:1.5rem;
}
body.libros-page .course-body p{
  margin:0;
  color:var(--text);
}
body.libros-page .course-body .meta{
  color:var(--muted);
  font-size:.95rem;
}
@media (max-width: 1024px){
  body.libros-page .course,
  body.libros-page .course.reverse{
    grid-template-columns:1fr;
  }
  body.libros-page .course-media{
    min-height: clamp(240px, 44vw, 330px);
  }
  body.libros-page .course.reverse .course-media{
    order:0;
  }
}
@media (max-width: 640px){
  body.libros-page .hero .wrap{
    padding:32px 0;
  }
  body.libros-page .hero p{
    line-height:1.68;
  }
  body.libros-page .course{
    margin:16px 0;
  }
  body.libros-page .course-body{
    padding:18px;
  }
  body.libros-page .course-media{
    min-height: clamp(210px, 58vw, 280px);
  }
}

/* catalogo.html — scientific specimens catalog integrated in common system */
body.catalogo-page .catalog-intro{
  padding-top:8px;
  padding-bottom:10px;
}
body.catalogo-page .catalog-intro .editorial-panel .card-inner{
  padding:24px 24px 22px;
}
body.catalogo-page .catalog-intro .kicker{
  margin-bottom:12px;
}
body.catalogo-page .catalog-intro h1{
  margin:0 0 12px;
  color:var(--blue);
}
body.catalogo-page .catalog-intro .lead{
  margin:0;
  max-width:110ch;
  color:#d2dbe6;
  line-height:1.68;
  text-align:justify;
}
body.catalogo-page .filter-toolbar{
  display:flex;
  gap:10px;
  align-items:center;
  border:1px solid #ffffff14;
  border-radius:14px;
  padding:10px;
  background:linear-gradient(180deg, rgba(18, 20, 35, 0.7), rgba(10, 10, 14, 0.78));
}
body.catalogo-page .filter-toolbar.filter-toolbar--embedded{
  margin-top:4px;
  padding:12px;
  border-color:#ffffff1c;
  border-radius:16px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.04);
}
body.catalogo-page .filter-input{
  flex:1;
  min-width:0;
  border:1px solid #ffffff1c;
  border-radius:12px;
  padding:10px 12px;
  color:var(--text);
  background:rgba(255, 255, 255, 0.04);
  font:inherit;
}
body.catalogo-page .filter-input::placeholder{
  color:var(--muted);
}
body.catalogo-page .filter-input:focus{
  outline:none;
  border-color:rgba(139, 191, 255, 0.8);
  box-shadow:0 0 0 3px rgba(139, 191, 255, 0.16);
}
body.catalogo-page .filter-toolbar .btn{
  flex:0 0 auto;
  min-width:116px;
  justify-content:center;
}
body.catalogo-page .catalog-collection{
  padding-top:4px;
}
body.catalogo-page .catalog-collection .card{
  border-radius:20px;
}
body.catalogo-page .catalog-collection .card-inner{
  padding:20px;
}
body.catalogo-page .empty-state-wrap{
  padding:0 2px 6px;
}
body.catalogo-page .empty-state-wrap p{
  margin:0;
  border:1px solid #ffffff16;
  border-radius:14px;
  padding:18px;
  background:linear-gradient(180deg, rgba(18, 20, 35, 0.8), rgba(10, 10, 14, 0.9));
  color:#cfd6de;
  text-align:center;
}
body.catalogo-page .specimens{
  padding:0 2px 14px;
  display:grid;
  grid-template-columns:repeat(3, minmax(0, 1fr));
  gap:16px;
}
body.catalogo-page .specimen{
  border:1px solid #ffffff16;
  border-radius:16px;
  background:linear-gradient(180deg, rgba(18, 20, 35, 0.92), rgba(10, 10, 14, 0.94));
  box-shadow:0 20px 52px rgba(0, 0, 0, 0.35);
  overflow:hidden;
  display:flex;
  flex-direction:column;
}
body.catalogo-page .specimen-media{
  background:#0b0d13;
}
body.catalogo-page .specimen-media a{
  display:block;
  cursor:zoom-in;
}
body.catalogo-page .specimen-media img{
  width:100%;
  aspect-ratio:4 / 3;
  object-fit:cover;
  display:block;
}
body.catalogo-page .specimen-body{
  padding:14px 14px 10px;
}
body.catalogo-page .specimen-body h3{
  margin:0 0 8px;
  color:#b3d2ff;
  font-size:1.02rem;
}
body.catalogo-page .specimen-body figcaption{
  margin:0;
  color:#cfd6de;
  line-height:1.52;
  font-size:.9rem;
}
body.catalogo-page .actions{
  padding:0 14px 14px;
  margin-top:auto;
}
body.catalogo-page .actions .btn{
  width:100%;
  justify-content:center;
  padding:10px 12px;
}
@media (max-width: 1040px){
  body.catalogo-page .specimens{
    grid-template-columns:repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 700px){
  body.catalogo-page .catalog-intro{
    padding-top:6px;
    padding-bottom:10px;
  }
  body.catalogo-page .catalog-intro .editorial-panel .card-inner{
    padding:18px;
  }
  body.catalogo-page .filter-toolbar{
    flex-direction:column;
    align-items:stretch;
  }
  body.catalogo-page .filter-toolbar .btn{
    width:100%;
  }
  body.catalogo-page .specimens{
    grid-template-columns:1fr;
  }
}

/* Lightbox (shared utility) */
.lightbox{
  position:fixed;
  inset:0;
  z-index:5000;
  display:none;
  align-items:center;
  justify-content:center;
  padding:20px;
  background:rgba(4, 6, 10, 0.82);
  backdrop-filter:blur(4px);
}
.lightbox.is-open{
  display:flex;
}
.lightbox-panel{
  width:min(980px, 96vw);
  max-height:92vh;
  border:1px solid rgba(255, 255, 255, 0.16);
  border-radius:16px;
  overflow:hidden;
  background:linear-gradient(180deg, rgba(16, 18, 30, 0.98), rgba(8, 9, 14, 0.98));
  box-shadow:0 24px 60px rgba(0, 0, 0, 0.6);
}
.lightbox-top{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  padding:12px 14px;
  border-bottom:1px solid rgba(255, 255, 255, 0.1);
}
.lightbox-title{
  font-weight:700;
  color:#eaf2ff;
}
.lightbox-close{
  width:36px;
  height:36px;
  border-radius:10px;
  border:1px solid rgba(255, 255, 255, 0.14);
  background:rgba(255, 255, 255, 0.06);
  color:#fff;
  cursor:pointer;
}
.lightbox-media{
  padding:14px;
  background:#0b0d13;
}
.lightbox-media img{
  width:100%;
  max-height:min(68vh, 760px);
  object-fit:contain;
  display:block;
}
.lightbox-caption{
  padding:12px 14px 14px;
  color:#cfd6de;
  font-size:.94rem;
  line-height:1.52;
  border-top:1px solid rgba(255, 255, 255, 0.08);
}

/* founding-statement.html — institutional manifesto (reading rhythm, quiet imagery) */
body.founding-statement-page .founding-statement-hero{
  padding: clamp(36px, 5.5vw, 56px) 0 clamp(32px, 4.5vw, 48px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  background:
    radial-gradient(ellipse 95% 70% at 50% -15%, rgba(73, 151, 240, 0.055), transparent 58%),
    linear-gradient(180deg, rgba(14, 16, 24, 0.45), rgba(7, 8, 12, 0));
}
body.founding-statement-page .founding-statement-hero-inner{
  max-width: min(52rem, 100%);
}
body.founding-statement-page .founding-statement-hero h1{
  margin: 0.45rem 0 0.95rem;
  letter-spacing: -0.03em;
}
body.founding-statement-page .founding-statement-hero .kicker{
  margin-bottom: 0.72rem;
  opacity: 0.95;
}
body.founding-statement-page .founding-statement-hero .lead{
  margin: 0;
  max-width: min(46ch, 100%);
  color: var(--muted);
  font-size: 1.04rem;
  line-height: 1.65;
  font-weight: 400;
}
body.founding-statement-page .founding-statement-body.section-continues{
  padding-top: clamp(14px, 2.5vw, 22px);
}
body.founding-statement-page .founding-manifest-inner{
  padding: clamp(26px, 3.4vw, 40px) clamp(20px, 3vw, 32px);
}
body.founding-statement-page .founding-split{
  display: grid;
  grid-template-columns: minmax(0, 17.5rem) minmax(0, 1fr);
  gap: clamp(24px, 4vw, 44px);
  align-items: start;
}
@media (max-width: 900px){
  body.founding-statement-page .founding-split{
    grid-template-columns: 1fr;
  }
}
body.founding-statement-page .founding-portrait img{
  max-height: min(256px, 48vw);
  width: 100%;
  object-fit: cover;
  object-position: center top;
  filter: brightness(0.93) saturate(0.97);
}
body.founding-statement-page .founding-photo-caption{
  margin-top: 12px;
  font-size: 0.88rem;
  line-height: 1.55;
  color: var(--muted);
  letter-spacing: 0.01em;
}
body.founding-statement-page .founding-photo-caption strong{
  color: #d2dbe6;
  font-weight: 600;
}
body.founding-statement-page .founding-photo-caption a{
  color: var(--muted);
  text-decoration: underline;
  text-underline-offset: 3px;
}
body.founding-statement-page .founding-photo-caption a:hover{
  color: var(--text);
}
body.founding-statement-page .founding-prose > p:not(.founding-closing){
  max-width: min(68ch, 100%);
  line-height: 1.84;
  color: #d0d8e4;
  margin-bottom: 1.48rem;
}
body.founding-statement-page .founding-prose > p.founding-closing{
  margin-top: clamp(2.65rem, 5vw, 3.35rem);
  margin-bottom: 0;
  padding-top: clamp(1.45rem, 2.6vw, 1.85rem);
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  max-width: min(42ch, 100%);
  font-size: 0.98rem;
  font-weight: 600;
  font-style: normal;
  color: #e8eef6;
  letter-spacing: 0.045em;
  line-height: 1.74;
  text-transform: none;
}
body.founding-statement-page .founding-support-gallery{
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px 16px;
  margin-top: clamp(30px, 4.2vw, 44px);
  padding-top: clamp(26px, 3.8vw, 36px);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
@media (max-width: 720px){
  body.founding-statement-page .founding-support-gallery{
    grid-template-columns: 1fr;
    gap: 10px;
  }
}
body.founding-statement-page .founding-plate{
  border-color: rgba(255, 255, 255, 0.09);
  background: rgba(8, 9, 14, 0.65);
}
body.founding-statement-page .founding-plate img{
  max-height: min(148px, 28vw);
  width: 100%;
  object-fit: cover;
  opacity: 0.94;
  filter: brightness(0.92) saturate(0.96);
}
body.founding-statement-page .founding-support-figure{
  margin: 0;
}

/* Educational product line: stacked disclosures / long-form rhythm */
.main-edu-product-line .content-stream > .disclosure + .disclosure{
  margin-top: 14px;
}

/* ---- News listing page (news.html) ---- */
html.news-page{
  scroll-behavior: smooth;
}
/* Hero: premium editorial text panel (scoped to news page only) */
main#contenido .news-page-hero.banner.banner--full .banner-text.news-page-hero-text{
  max-width: min(42rem, 100%);
  margin-right: auto;
  padding: clamp(26px, 4.2vw, 46px) clamp(24px, 3.8vw, 44px);
  border-radius: 18px;
  background: linear-gradient(152deg, rgba(17, 19, 32, 0.97), rgba(8, 10, 17, 0.95));
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.075),
    0 26px 64px rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(10px) saturate(140%);
}
main#contenido .news-page-hero .banner-text.news-page-hero-text .kicker{
  margin: 0 0 16px;
  letter-spacing: 0.11em;
}
main#contenido .news-page-hero .banner-text.news-page-hero-text h1{
  margin: 0 0 20px;
  font-size: clamp(2.05rem, 3.4vw + 0.85rem, 3.35rem);
  line-height: 1.03;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #f4f7ff;
}
main#contenido .news-page-hero .banner-text.news-page-hero-text .lead{
  margin: 0;
  max-width: 52ch;
  font-size: clamp(1.05rem, 1.05vw + 0.88rem, 1.2rem);
  line-height: 1.7;
  color: #d6dde8;
}
@media (max-width: 900px){
  main#contenido .news-page-hero .banner-text.news-page-hero-text{
    padding: clamp(22px, 5vw, 34px) clamp(18px, 4vw, 28px);
  }
  main#contenido .news-page-hero .banner-text.news-page-hero-text h1{
    font-size: clamp(1.75rem, 5vw + 0.5rem, 2.45rem);
    margin-bottom: 14px;
  }
  main#contenido .news-page-hero .banner-text.news-page-hero-text .lead{
    max-width: none;
  }
}
.news-page-section{
  scroll-margin-top: clamp(100px, 18vh, 150px);
}
.news-index{
  position: sticky;
  z-index: 100;
  top: clamp(50px, 11vw, 78px);
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(180deg, rgba(15, 16, 22, 0.94), rgba(8, 9, 14, 0.9));
  backdrop-filter: blur(10px) saturate(120%);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.22);
}
.news-index .container{
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  align-items: center;
}
.news-index a.pill{
  text-decoration: none;
  white-space: normal;
  text-align: center;
  max-width: min(300px, 92vw);
  line-height: 1.28;
  font-weight: 650;
}
.news-index a.pill.is-active,
.news-index a.pill[aria-current="true"]{
  border-color: rgba(73, 151, 240, 0.45);
  background: rgba(73, 151, 240, 0.16);
  color: #eaf2ff;
  box-shadow: 0 0 0 1px rgba(157, 225, 207, 0.12);
}
@media (max-width: 700px){
  .news-index .container{
    gap: 8px;
  }
}
.news-page-section .news-sub{
  margin: 4px 0 8px;
  color: #b3d2ff;
  font-weight: 500;
  font-size: 1.02rem;
}
.news-page-section .news-meta{
  font-size: 0.9rem;
  color: var(--muted);
}
.news-page-section .news-article-head .news-meta{
  margin: 0;
}
/* News articles: section rhythm */
main#contenido .news-page-section.section{
  padding-top: 28px;
  padding-bottom: 28px;
}
@media (max-width: 700px){
  main#contenido .news-page-section.section{
    padding-top: 22px;
    padding-bottom: 22px;
  }
}
/* Editorial layout: headline band + split (copy | compact figure) */
.news-page-section .news-article.card{
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.3);
}
.news-page-section .news-article.card:before{
  opacity: 0.62;
}
.news-article-inner{
  padding: 18px 18px 20px;
}
@media (min-width: 901px){
  .news-article-inner{
    padding: 20px 24px 24px;
  }
}
.news-article-head{
  margin-bottom: 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
}
.news-page-section .news-article-head h2{
  margin: 0 0 8px;
  font-size: clamp(1.2rem, 2vw, 1.48rem);
  letter-spacing: -0.02em;
  line-height: 1.22;
}
.news-page-section .news-article-head .news-sub{
  margin: 0 0 6px;
}
.news-article-split{
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 540px);
  gap: clamp(20px, 3.2vw, 36px);
  align-items: start;
}
.news-article-main.prose-flow{
  max-width: 56ch;
}
.news-article-main.prose-flow p{
  font-size: 0.98rem;
  line-height: 1.68;
}
.news-article-aside .news-article-media.media-block{
  margin: 0;
  width: 100%;
  aspect-ratio: 4 / 3;
  min-height: 0;
  border-radius: 12px;
}
.news-article-aside .news-article-media.media-block img{
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: cover;
}
@media (max-width: 900px){
  .news-article-split{
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .news-article-aside{
    order: -1;
    justify-self: center;
    max-width: min(100%, 420px);
  }
  .news-article-aside .news-article-media.media-block{
    max-height: min(260px, 58vw);
  }
  .news-article-main.prose-flow{
    max-width: none;
  }
}
