/* ==========================================================
   AISEL — HOME SECTION (hero, terminal, marquee, particles)
========================================================== */

  /* ---------- hero ---------- */
  .hero{ position:relative; overflow:hidden; padding:170px 0 80px; border-bottom:1px solid var(--line); background: radial-gradient(circle at top left, rgba(59,130,246,.10), transparent 40%), radial-gradient(circle at bottom right, rgba(14,165,233,.08), transparent 40%), linear-gradient( 180deg, #FFFFFF, #F7FAFC); }
  .hero-grid{ position:absolute; top:70px; left:0; right:0; bottom:0; }
  .glow{ position:absolute; width:700px; height:700px; border-radius:50%; background:radial-gradient(circle, rgba(99,85,199,0.14), transparent 70%); top:-160px; right:-120px; z-index:0; pointer-events:none; animation:drift1 12s ease-in-out infinite; }
  .glow2{ position:absolute; width:420px; height:420px; border-radius:50%; background:radial-gradient(circle, rgba(18,137,122,0.12), transparent 70%); bottom:-140px; left:-100px; z-index:0; pointer-events:none; animation:drift2 14s ease-in-out infinite; }
  @keyframes drift1{ 0%,100%{ transform:translate(0,0);} 50%{ transform:translate(-30px,25px);} }
  @keyframes drift2{ 0%,100%{ transform:translate(0,0);} 50%{ transform:translate(25px,-20px);} }
  .hero-inner{ position:relative; z-index:1; display:grid; grid-template-columns:1.2fr 0.8fr; gap:80px; align-items:flex-start; padding-top:20px; }
  @media (max-width:900px){ .hero-inner{ grid-template-columns:1fr; } }
  .eyebrow{ font-family:var(--font-mono); font-size:12.5px; color:var(--teal); letter-spacing:0.08em; text-transform:uppercase; display:flex; align-items:center; gap:8px; margin-bottom:18px; }
  .eyebrow::before{ content:'//'; color:var(--ink-faint); }
  h1.title{ font-family:var(--font-mono); font-size:clamp(50px,6vw,72px); font-weight:700; line-height:1.08; letter-spacing:-2px; max-width:680px; margin-bottom:28px; }
  h1.title .accent{ background:linear-gradient(90deg, var(--violet), var(--teal)); -webkit-background-clip:text; background-clip:text; color:transparent; background-size:200% 100%; animation:shine 4s linear infinite; }
  @keyframes shine{ 0%{ background-position:0% 0;} 100%{ background-position:200% 0;} }
  .lede{ max-width:620px; font-size:19px; line-height:1.85; color:#5B6475; margin-top:26px; text-align:justify; text-justify:inter-word; }

/* ==========================================================
   AISEL — HERO LEDE / INTELLIGENT LIGHTING ANIMATION
   Only affects the main hero description
========================================================== */

.hero .lede {
  position: relative;
  max-width: 650px;

  color: #5B6475;

  opacity: 0;
  transform: translateY(28px);

  filter: blur(5px);

  animation:
    aiLedeReveal 1.4s
    cubic-bezier(.22, 1, .36, 1)
    .45s
    forwards;

  overflow: hidden;
}


/* ----------------------------------------------------------
   TEXT LAYER
---------------------------------------------------------- */

.hero .lede-text {
  position: relative;
  display: inline;
}


/* ----------------------------------------------------------
   MOVING LIGHT ACROSS THE WHOLE PARAGRAPH
---------------------------------------------------------- */

.hero .lede::before {
  content: "";

  position: absolute;

  top: -20%;
  left: -80%;

  width: 45%;
  height: 140%;

  pointer-events: none;

  background:
    linear-gradient(
      105deg,
      transparent 0%,
      rgba(255,255,255,0) 25%,
      rgba(255,255,255,.85) 48%,
      rgba(99,85,199,.16) 52%,
      rgba(14,165,233,.12) 56%,
      rgba(255,255,255,0) 75%,
      transparent 100%
    );

  filter: blur(12px);

  transform: skewX(-18deg);

  opacity: 0;

  animation:
    aiLedeLightSweep
    2.8s
    cubic-bezier(.4,0,.2,1)
    1.4s
    forwards;
}


/* ----------------------------------------------------------
   MAIN REVEAL
---------------------------------------------------------- */

@keyframes aiLedeReveal {

  0% {
    opacity: 0;
    transform:
      translateY(28px)
      scale(.985);

    filter: blur(5px);
  }

  45% {
    opacity: .75;
    filter: blur(2px);
  }

  75% {
    opacity: .95;
    transform:
      translateY(-2px)
      scale(1.002);

    filter: blur(.5px);
  }

  100% {
    opacity: 1;
    transform:
      translateY(0)
      scale(1);

    filter: blur(0);
  }

}


/* ----------------------------------------------------------
   LIGHT SWEEP
---------------------------------------------------------- */

@keyframes aiLedeLightSweep {

  0% {
    left: -80%;
    opacity: 0;
  }

  12% {
    opacity: .85;
  }

  50% {
    opacity: .55;
  }

  88% {
    opacity: .18;
  }

  100% {
    left: 145%;
    opacity: 0;
  }

}


/* ==========================================================
   IMPORTANT RESEARCH TERMS
========================================================== */

.hero .lede strong {

  position: relative;

  color: #263a8f;

  font-weight: 700;

  transition:
    color .35s ease,
    text-shadow .35s ease;

  animation:
    aiConceptGlow
    3.8s
    ease-in-out
    2.5s
    infinite;
}


/* ----------------------------------------------------------
   GLOWING UNDERLINE
---------------------------------------------------------- */

.hero .lede strong::after {

  content: "";

  position: absolute;

  left: 0;
  bottom: -3px;

  width: 0;
  height: 2px;

  border-radius: 999px;

  background:
    linear-gradient(
      90deg,
      var(--violet),
      var(--teal)
    );

  box-shadow:
    0 0 5px rgba(99,85,199,.35),
    0 0 10px rgba(14,165,233,.22);

  animation:
    aiUnderline
    1.1s
    cubic-bezier(.22,1,.36,1)
    forwards;
}


/* Stagger the highlights */

.hero .lede strong:nth-of-type(1)::after {
  animation-delay: 1.25s;
}

.hero .lede strong:nth-of-type(2)::after {
  animation-delay: 1.45s;
}

.hero .lede strong:nth-of-type(3)::after {
  animation-delay: 1.70s;
}

.hero .lede strong:nth-of-type(4)::after {
  animation-delay: 1.95s;
}

.hero .lede strong:nth-of-type(5)::after {
  animation-delay: 2.20s;
}

.hero .lede strong:nth-of-type(6)::after {
  animation-delay: 2.45s;
}

.hero .lede strong:nth-of-type(7)::after {
  animation-delay: 2.70s;
}


/* ----------------------------------------------------------
   UNDERLINE ANIMATION
---------------------------------------------------------- */

@keyframes aiUnderline {

  0% {
    width: 0;
    opacity: 0;
  }

  30% {
    opacity: 1;
  }

  100% {
    width: 100%;
    opacity: 1;
  }

}


/* ----------------------------------------------------------
   CONTINUOUS SOFT LIGHT / GLOW
---------------------------------------------------------- */

@keyframes aiConceptGlow {

  0%,
  100% {

    color: #263a8f;

    text-shadow:
      0 0 0 rgba(99,85,199,0);

  }

  50% {

    color: #334bb0;

    text-shadow:
      0 0 5px rgba(99,85,199,.18),
      0 0 12px rgba(14,165,233,.12);

  }

}


/* ==========================================================
   SUBTLE PARAGRAPH BREATHING
========================================================== */

.hero .lede-text {

  animation:
    aiTextBreathing
    5s
    ease-in-out
    3s
    infinite;
}

@keyframes aiTextBreathing {

  0%,
  100% {
    text-shadow:
      0 0 0 rgba(99,85,199,0);
  }

  50% {
    text-shadow:
      0 0 10px rgba(99,85,199,.035);
  }

}


/* ==========================================================
   HOVER — EXTRA LIGHTING
========================================================== */

.hero .lede:hover strong {

  color: #1f3db0;

  text-shadow:
    0 0 7px rgba(99,85,199,.25),
    0 0 16px rgba(14,165,233,.14);

}


/* ==========================================================
   ACCESSIBILITY
========================================================== */

@media (prefers-reduced-motion: reduce) {

  .hero .lede,
  .hero .lede::before,
  .hero .lede-text,
  .hero .lede strong,
  .hero .lede strong::after {

    animation: none !important;

    opacity: 1;

    transform: none;

    filter: none;

    text-shadow: none;
  }

  .hero .lede strong::after {
    width: 100%;
  }

}


  /* ---------- Terminal ---------- */
  .terminal{ background:var(--term-bg); color:var(--term-ink); border-radius:22px; overflow:hidden; box-shadow:0 35px 80px rgba(18,24,43,.28); font-family:var(--font-mono); font-size:13px; margin-top:5px; opacity:0; transition:transform .4s ease, box-shadow .4s ease; transform:translateY(25px) scale(.98); animation:terminalReveal .9s cubic-bezier(.22,1,.36,1) .45s forwards;}
  @keyframes terminalReveal{ to{ opacity:1; transform:translateY(0) scale(1); } }
  .terminal:hover{ transform:translateY(-4px); box-shadow:0 40px 90px rgba(18,24,43,.32); }
  .term-bar{ display:flex; align-items:center; gap:8px; padding:11px 14px; background:rgba(255,255,255,0.04); border-bottom:1px solid rgba(255,255,255,0.08); }
  .term-bar span{ width:10px; height:10px; border-radius:50%; }
  .term-bar span:nth-child(1){ background:var(--amber); }
  .term-bar span:nth-child(2){ background:var(--teal); }
  .term-bar span:nth-child(3){ background:var(--violet); }
  .term-title{ margin-left:8px; color:rgba(231,234,243,0.45); font-size:12px; }
  .term-body{ padding:28px; min-height:230px; white-space:pre-wrap; word-break:break-word; }
  .term-body .prompt{ color:var(--teal); }
  .term-body .ok{ color:var(--teal); }
  .term-body .comment{ color:rgba(231,234,243,0.5); }
  .cursor{ display:inline-block; width:7px; height:15px; background:var(--term-ink); margin-left:2px; animation:blink 1s steps(1) infinite; vertical-align:-2px; }
  @keyframes blink{ 50%{ opacity:0; } }

  /* ---------- marquee ---------- */
  .marquee{ border-bottom:1px solid var(--line); background:var(--card); overflow:hidden; padding:10px 0; }
  .marquee-track{ display:flex; width:max-content; animation:scrollLeft 26s linear infinite; }
  .marquee-track span{ font-family:var(--font-mono); font-size:13px; color:var(--ink-faint); padding:0 22px; display:flex; align-items:center; gap:22px; }
  .marquee-track span::after{ content:'◆'; color:var(--violet); font-size:9px; }
  @keyframes scrollLeft{ from{ transform:translateX(0);} to{ transform:translateX(-50%);} }

  /* ---------- particle network canvas ---------- */
  #particle-network{ position:absolute; inset:0; width:100%; height:100%; z-index:0; opacity:.22; pointer-events:none;}

  /* ---------- CTA-Row ---------- */
  .cta-row{ display:flex; gap:18px; margin-top:36px;}
  .cta-row .btn{ transition: transform .25s ease, box-shadow .25s ease; }
  .cta-row .btn:hover{ transform:translateY(-3px); } 
  .cta-row .btn-primary:hover{ box-shadow:0 12px 28px rgba(99,85,199,.20); }


  /* ==========================================================
   AISEL — LAB STATISTICS
========================================================== */

.hero-stats{
  display:grid;
  grid-template-columns:repeat(4, 1fr);
  gap:28px;
  margin-top:42px;
  position:relative;
  z-index:3;
}

.hero-stat{
  position:relative;

  min-height:250px;
  padding:32px 24px 28px;

  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;

  text-align:center;

  background:#ffffff;

  border:1px solid #E4E7EC;
  border-radius:24px;

  box-shadow:
    0 18px 40px rgba(15, 23, 42, 0.08);

  overflow:hidden;

  opacity:0;
  transform:translateY(25px);

  animation:
    statCardReveal .7s cubic-bezier(.22,1,.36,1) forwards;

  transition:
    transform .35s ease,
    box-shadow .35s ease,
    border-color .35s ease;
}


/* Staggered entrance */

.hero-stat:nth-child(1){
  animation-delay:.15s;
}

.hero-stat:nth-child(2){
  animation-delay:.28s;
}

.hero-stat:nth-child(3){
  animation-delay:.41s;
}

.hero-stat:nth-child(4){
  animation-delay:.54s;
}


/* Soft hover */

.hero-stat:hover{
  transform:translateY(-8px);

  box-shadow:
    0 25px 55px rgba(15, 23, 42, 0.13);

  border-color:#D9DDE5;
}


/* Icon container */

.stat-icon{
  width:84px;
  height:84px;

  display:flex;
  align-items:center;
  justify-content:center;

  margin-bottom:25px;

  border-radius:22px;

  background:
    linear-gradient(
      145deg,
      #F7F8FA,
      #ECEEF2
    );

  color:#657181;

  font-size:30px;

  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.9),
    0 10px 22px rgba(15,23,42,.08);

  transition:
    transform .35s ease,
    box-shadow .35s ease;
}


/* Icon hover */

.hero-stat:hover .stat-icon{
  transform:translateY(-3px) scale(1.04);

  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.9),
    0 14px 28px rgba(15,23,42,.12);
}


/* Number */

.hero-stat h2{
  margin:0;

  font-family:var(--font-sans);

  font-size:44px;
  line-height:1;

  font-weight:750;

  letter-spacing:-1.5px;

  color:#172033;
}


/* Label */

.hero-stat span{
  display:block;

  margin-top:14px;

  font-family:var(--font-sans);

  font-size:12px;

  font-weight:700;

  line-height:1.3;

  color:#566174;

  text-transform:uppercase;

  letter-spacing:.8px;
}


/* Entrance */

@keyframes statCardReveal{

  from{
    opacity:0;
    transform:translateY(25px);
  }

  to{
    opacity:1;
    transform:translateY(0);
  }

}


/* Responsive */

@media(max-width:1100px){

  .hero-stats{
    grid-template-columns:repeat(2,1fr);
  }

}


@media(max-width:600px){

  .hero-stats{
    grid-template-columns:1fr;
    gap:18px;
  }

  .hero-stat{
    min-height:220px;
  }

}



/* ==========================================================
   AISEL — FEATURED RESEARCH AREAS
   Premium Navy Research Portfolio
========================================================== */


/* ----------------------------------------------------------
   SECTION
---------------------------------------------------------- */

.featured-research {
  position: relative;
  overflow: hidden;

  padding: 88px 0 82px;

  color: #ffffff;

  background:
    radial-gradient(
      circle at 12% 15%,
      rgba(86, 112, 210, 0.16),
      transparent 30%
    ),
    radial-gradient(
      circle at 88% 80%,
      rgba(31, 160, 157, 0.11),
      transparent 32%
    ),
    linear-gradient(
      135deg,
      #0b142b 0%,
      #111d3b 52%,
      #0b1731 100%
    );

  border-bottom: 1px solid rgba(255,255,255,.08);

  isolation: isolate;
}


/* ----------------------------------------------------------
   BACKGROUND GRID
---------------------------------------------------------- */

.featured-bg-grid {
  position: absolute;
  inset: 0;

  pointer-events: none;

  opacity: .16;

  background-image:
    linear-gradient(
      rgba(255,255,255,.045) 1px,
      transparent 1px
    ),
    linear-gradient(
      90deg,
      rgba(255,255,255,.045) 1px,
      transparent 1px
    );

  background-size: 52px 52px;

  mask-image:
    linear-gradient(
      to bottom,
      transparent,
      black 18%,
      black 82%,
      transparent
    );
}


/* ----------------------------------------------------------
   BACKGROUND ORBS
---------------------------------------------------------- */

.featured-bg-orb {
  position: absolute;

  width: 420px;
  height: 420px;

  border-radius: 50%;

  pointer-events: none;

  filter: blur(2px);

  opacity: .65;

  animation:
    featuredOrbFloat 14s ease-in-out infinite;
}


.featured-bg-orb-1 {
  top: -230px;
  left: -180px;

  background:
    radial-gradient(
      circle,
      rgba(92, 116, 224, .20),
      transparent 68%
    );
}


.featured-bg-orb-2 {
  right: -210px;
  bottom: -240px;

  background:
    radial-gradient(
      circle,
      rgba(26, 173, 161, .14),
      transparent 68%
    );

  animation-delay: -6s;
}


@keyframes featuredOrbFloat {

  0%, 100% {
    transform:
      translate3d(0,0,0)
      scale(1);
  }

  50% {
    transform:
      translate3d(25px,-20px,0)
      scale(1.07);
  }

}


/* ----------------------------------------------------------
   SOFT GLOW
---------------------------------------------------------- */

.featured-bg-glow {
  position: absolute;

  width: 260px;
  height: 260px;

  border-radius: 50%;

  pointer-events: none;

  filter: blur(70px);

  opacity: .22;

  animation:
    featuredGlowMove 10s ease-in-out infinite;
}


.featured-bg-glow-1 {
  top: 28%;
  left: 35%;

  background: #526fd6;
}


.featured-bg-glow-2 {
  right: 28%;
  bottom: 10%;

  background: #168f89;

  animation-delay: -4s;
}


@keyframes featuredGlowMove {

  0%,100% {
    transform: translate3d(0,0,0);
    opacity: .15;
  }

  50% {
    transform: translate3d(35px,-25px,0);
    opacity: .25;
  }

}


/* ----------------------------------------------------------
   HEADER
---------------------------------------------------------- */

.featured-head {
  position: relative;
  z-index: 2;

  max-width: 900px;

  margin: 0 auto 50px;

  text-align: center;
}


/* ----------------------------------------------------------
   KICKER
---------------------------------------------------------- */

.featured-kicker {
  display: flex;

  align-items: center;
  justify-content: center;

  gap: 11px;

  margin-bottom: 16px;

  color: #9db2e8;

  font-family: var(--font-mono);

  font-size: 11px;

  font-weight: 600;

  letter-spacing: 2.4px;

  text-transform: uppercase;

  opacity: 0;

  transform: translateY(15px);

  transition:
    opacity .6s ease,
    transform .6s ease;
}


.featured-head.is-visible .featured-kicker {
  opacity: 1;

  transform: translateY(0);
}


.kicker-line {
  width: 30px;
  height: 1px;

  background:
    linear-gradient(
      90deg,
      transparent,
      #6e8ddc
    );

  transition:
    width .7s ease;
}


.featured-kicker .kicker-line:last-child {
  background:
    linear-gradient(
      90deg,
      #6e8ddc,
      transparent
    );
}


.featured-head.is-visible .kicker-line {
  width: 43px;
}


.kicker-icon {
  width: 23px;
  height: 23px;

  display: inline-flex;

  align-items: center;
  justify-content: center;

  border: 1px solid rgba(157,178,232,.25);

  border-radius: 7px;

  background: rgba(255,255,255,.05);

  color: #9db2e8;

  font-size: 10px;
}


/* ----------------------------------------------------------
   TITLE
---------------------------------------------------------- */

.featured-title {
  margin: 0;

  color: #ffffff;

  font-family: var(--font-sans);

  font-size: clamp(36px, 5vw, 56px);

  line-height: 1.05;

  font-weight: 750;

  letter-spacing: -2.3px;

  opacity: 0;

  transform: translateY(25px);

  transition:
    opacity .7s ease,
    transform .7s ease;
}


.featured-head.is-visible .featured-title {
  opacity: 1;

  transform: translateY(0);
}


.featured-title span {
  color: #8daaff;

  background:
    linear-gradient(
      90deg,
      #91aaff,
      #6e91ed
    );

  -webkit-background-clip: text;
  background-clip: text;

  -webkit-text-fill-color: transparent;
}


/* ----------------------------------------------------------
   TITLE LINE
---------------------------------------------------------- */

.featured-title-line {
  width: 0;
  height: 5px;

  margin: 20px auto 25px;

  border-radius: 999px;

  background:
    linear-gradient(
      90deg,
      #667fe0,
      #39b7b0
    );

  box-shadow:
    0 0 18px rgba(91,123,222,.35);

  transition:
    width .8s cubic-bezier(.22,1,.36,1);
}


.featured-head.is-visible .featured-title-line {
  width: 105px;
}


/* ----------------------------------------------------------
   DESCRIPTION
---------------------------------------------------------- */

.featured-description {
  max-width: 820px;

  margin: 0 auto;

  color: rgba(226,232,240,.76);

  font-family: var(--font-sans);

  font-size: 15px;

  line-height: 1.78;

  text-align: center;

  text-justify: inter-word;

  opacity: 0;

  transform: translateY(20px);

  transition:
    opacity .7s ease .05s,
    transform .7s ease .05s;
}


.featured-head.is-visible .featured-description {
  opacity: 1;

  transform: translateY(0);
}


.featured-description strong {
  color: #ffffff;

  font-weight: 700;
}


/* ----------------------------------------------------------
   CAROUSEL
---------------------------------------------------------- */

.featured-carousel {
  position: relative;

  display: flex;

  align-items: center;

  width: 100%;
}


.featured-viewport {
  width: 100%;

  overflow: hidden;

  padding: 12px 3px 30px;

  outline: none;
}


.featured-viewport:focus-visible {
  border-radius: 24px;

  box-shadow:
    0 0 0 2px rgba(133,160,255,.7);
}


.featured-track {
  display: flex;

  gap: 22px;

  will-change: transform;

  transition:
    transform .75s cubic-bezier(.22,1,.36,1);
}


/* ----------------------------------------------------------
   CARD
---------------------------------------------------------- */

.featured-card {
  position: relative;

  flex: 0 0 calc(
    (100% - 44px) / 3
  );

  min-width: 0;

  background:
    linear-gradient(
      180deg,
      #ffffff 0%,
      #f8fafc 100%
    );

  color: #172033;

  border: 1px solid rgba(255,255,255,.10);

  border-radius: 18px;

  overflow: hidden;

  box-shadow:
    0 18px 42px rgba(0,0,0,.22);

  transform:
    translateY(35px)
    scale(.985);

  opacity: 0;

  transition:
    transform .55s cubic-bezier(.22,1,.36,1),
    opacity .55s ease,
    box-shadow .45s ease,
    border-color .35s ease;
}


/* Animated top accent */

.featured-card::before {
  content: "";

  position: absolute;

  z-index: 4;

  top: 0;
  left: 0;

  width: 100%;
  height: 3px;

  background:
    linear-gradient(
      90deg,
      #5e76d9,
      #38a9a0,
      #7b8fe9
    );

  transform:
    scaleX(0);

  transform-origin: left;

  transition:
    transform .55s cubic-bezier(.22,1,.36,1);
}


.featured-card.is-visible {
  opacity: 1;

  transform:
    translateY(0)
    scale(1);
}


.featured-card:hover {
  transform:
    translateY(-8px)
    scale(1.008);

  border-color:
    rgba(113,143,229,.42);

  box-shadow:
    0 28px 58px rgba(0,0,0,.30);
}


.featured-card:hover::before {
  transform: scaleX(1);
}


/* ----------------------------------------------------------
   CARD IMAGE
---------------------------------------------------------- */

.featured-image {
  position: relative;

  height: 188px;

  overflow: hidden;

  background: #101a31;
}


.featured-image img {
  width: 100%;
  height: 100%;

  object-fit: cover;

  transition:
    transform .85s cubic-bezier(.22,1,.36,1),
    filter .55s ease;
}


.featured-card:hover .featured-image img {
  transform:
    scale(1.075);

  filter:
    saturate(1.12)
    contrast(1.03);
}


/* ----------------------------------------------------------
   IMAGE OVERLAY
---------------------------------------------------------- */

.featured-image-overlay {
  position: absolute;

  inset: 0;

  background:
    linear-gradient(
      180deg,
      rgba(8,15,30,.05) 0%,
      rgba(8,15,30,.12) 40%,
      rgba(8,15,30,.74) 100%
    );

  pointer-events: none;

  transition:
    background .45s ease;
}


.featured-card:hover .featured-image-overlay {
  background:
    linear-gradient(
      180deg,
      rgba(8,15,30,.03) 0%,
      rgba(8,15,30,.10) 35%,
      rgba(8,15,30,.82) 100%
    );
}


/* ----------------------------------------------------------
   CARD NUMBER
---------------------------------------------------------- */

.featured-card-number {
  position: absolute;

  top: 15px;
  left: 15px;

  display: flex;

  align-items: center;
  justify-content: center;

  width: 38px;
  height: 38px;

  border-radius: 11px;

  background:
    rgba(255,255,255,.90);

  backdrop-filter: blur(12px);

  color: #172033;

  font-family: var(--font-mono);

  font-size: 10px;

  font-weight: 700;

  letter-spacing: .5px;

  box-shadow:
    0 8px 20px rgba(0,0,0,.16);

  transition:
    transform .4s cubic-bezier(.22,1,.36,1),
    box-shadow .4s ease;
}


.featured-card:hover .featured-card-number {
  transform:
    translateY(-3px)
    rotate(-4deg);

  box-shadow:
    0 12px 25px rgba(0,0,0,.22);
}


/* ----------------------------------------------------------
   FLOATING ICON
---------------------------------------------------------- */

.featured-image-icon {
  position: absolute;

  right: 15px;
  bottom: 15px;

  width: 48px;
  height: 48px;

  display: flex;

  align-items: center;
  justify-content: center;

  border-radius: 14px;

  background:
    rgba(255,255,255,.94);

  backdrop-filter: blur(12px);

  color: #344b9d;

  font-size: 18px;

  box-shadow:
    0 10px 26px rgba(0,0,0,.20);

  transform:
    translateY(8px)
    scale(.92);

  opacity: .95;

  transition:
    transform .45s cubic-bezier(.22,1,.36,1),
    color .35s ease,
    box-shadow .35s ease,
    background .35s ease;
}


/* Icon animated glow */

.featured-image-icon::before {
  content: "";

  position: absolute;

  inset: -5px;

  border-radius: 17px;

  border: 1px solid rgba(135,158,238,.45);

  opacity: 0;

  transform: scale(.75);

  transition:
    opacity .35s ease,
    transform .45s ease;
}


.featured-card:hover .featured-image-icon {
  transform:
    translateY(0)
    scale(1.05)
    rotate(3deg);

  color: #526fd0;

  background: #ffffff;

  box-shadow:
    0 14px 30px rgba(0,0,0,.25);
}


.featured-card:hover .featured-image-icon::before {
  opacity: 1;

  transform: scale(1);

  animation:
    featuredIconPulse 1.7s ease-in-out infinite;
}


@keyframes featuredIconPulse {

  0%,100% {
    opacity: .35;
  }

  50% {
    opacity: .85;
  }

}


/* ----------------------------------------------------------
   CARD BODY
---------------------------------------------------------- */

.featured-card-body {
  padding: 21px 22px 20px;
}


.featured-card-label {
  margin-bottom: 8px;

  color: #7b8799;

  font-family: var(--font-mono);

  font-size: 9px;

  font-weight: 600;

  letter-spacing: 1.35px;

  text-transform: uppercase;
}


/* ----------------------------------------------------------
   CARD TITLE
---------------------------------------------------------- */

.featured-card-body h3 {
  margin: 0 0 12px;

  color: #172033;

  font-family: var(--font-sans);

  font-size: 20px;

  line-height: 1.22;

  font-weight: 750;

  letter-spacing: -.45px;
}


/* ----------------------------------------------------------
   CARD DESCRIPTION
---------------------------------------------------------- */

.featured-card-body p {
  min-height: 174px;

  margin: 0;

  color: #5e6a7d;

  font-family: var(--font-sans);

  font-size: 12.8px;

  line-height: 1.68;

  text-align: justify;

  text-justify: inter-word;
}


.featured-card-body p strong {
  color: #303d54;

  font-weight: 700;
}


/* ----------------------------------------------------------
   META
---------------------------------------------------------- */

.featured-card-meta {
  display: flex;

  align-items: center;

  flex-wrap: wrap;

  gap: 8px;

  margin-top: 18px;

  padding-top: 15px;

  border-top:
    1px solid #e9edf2;
}


.featured-card-meta span {
  display: inline-flex;

  align-items: center;

  gap: 6px;

  padding: 5px 8px;

  border:
    1px solid #e5e9ef;

  border-radius: 999px;

  background: #f8fafc;

  color: #667286;

  font-family: var(--font-sans);

  font-size: 9.5px;

  font-weight: 600;

  transition:
    transform .3s ease,
    border-color .3s ease,
    background .3s ease,
    color .3s ease;
}


.featured-card-meta i {
  color: #536fca;

  font-size: 10px;

  transition:
    transform .3s ease;
}


.featured-card:hover .featured-card-meta span {
  border-color: #d7dff1;

  background: #f1f5ff;

  color: #42537d;

  transform: translateY(-2px);
}


.featured-card:hover .featured-card-meta i {
  transform:
    scale(1.12);
}


/* ----------------------------------------------------------
   ARROWS
---------------------------------------------------------- */

.featured-arrow {
  position: absolute;

  top: 50%;

  z-index: 10;

  width: 52px;
  height: 52px;

  display: flex;

  align-items: center;
  justify-content: center;

  border:
    1px solid rgba(255,255,255,.18);

  border-radius: 50%;

  background:
    rgba(255,255,255,.08);

  backdrop-filter: blur(12px);

  color: #ffffff;

  font-size: 16px;

  cursor: pointer;

  box-shadow:
    0 12px 28px rgba(0,0,0,.20);

  transform:
    translateY(-50%);

  transition:
    transform .3s ease,
    background .3s ease,
    color .3s ease,
    border-color .3s ease,
    box-shadow .3s ease;
}


.featured-arrow:hover {
  background: #ffffff;

  color: #172033;

  border-color: #ffffff;

  box-shadow:
    0 16px 34px rgba(0,0,0,.28);

  transform:
    translateY(-50%)
    scale(1.07);
}


.featured-arrow:active {
  transform:
    translateY(-50%)
    scale(.94);
}


.featured-arrow-prev {
  left: -26px;
}


.featured-arrow-next {
  right: -26px;
}


/* ----------------------------------------------------------
   DOTS
---------------------------------------------------------- */

.featured-controls {
  display: flex;

  align-items: center;
  justify-content: center;

  margin-top: 2px;
}


.featured-dots {
  display: flex;

  align-items: center;

  gap: 9px;
}


.featured-dot {
  width: 7px;
  height: 7px;

  padding: 0;

  border: 0;

  border-radius: 999px;

  background:
    rgba(255,255,255,.28);

  cursor: pointer;

  transition:
    width .35s ease,
    background .35s ease,
    transform .35s ease,
    box-shadow .35s ease;
}


.featured-dot:hover {
  transform:
    scale(1.25);

  background:
    rgba(255,255,255,.65);
}


.featured-dot.active {
  width: 27px;

  background:
    #8fa7ff;

  box-shadow:
    0 0 12px rgba(143,167,255,.45);
}


/* ----------------------------------------------------------
   VIEW ALL BUTTON
---------------------------------------------------------- */

.featured-action {
  display: flex;

  justify-content: center;

  margin-top: 45px;
}


.featured-view-button {
  position: relative;

  display: inline-flex;

  align-items: center;

  gap: 13px;

  min-width: 300px;

  padding: 13px 20px;

  border:
    1px solid rgba(255,255,255,.15);

  border-radius: 13px;

  background:
    rgba(255,255,255,.07);

  backdrop-filter: blur(12px);

  color: #ffffff !important;

  text-decoration: none !important;

  font-family: var(--font-sans);

  font-size: 13px;

  font-weight: 700;

  box-shadow:
    0 12px 28px rgba(0,0,0,.16);

  overflow: hidden;

  transition:
    transform .35s ease,
    background .35s ease,
    border-color .35s ease,
    box-shadow .35s ease;
}


.featured-view-button::before {
  content: "";

  position: absolute;

  inset: 0;

  background:
    linear-gradient(
      110deg,
      transparent 20%,
      rgba(255,255,255,.13) 48%,
      transparent 72%
    );

  transform:
    translateX(-120%);

  transition:
    transform .8s ease;
}


.featured-view-button:hover::before {
  transform:
    translateX(120%);
}


.featured-view-button:hover {
  transform:
    translateY(-4px);

  background:
    rgba(255,255,255,.12);

  border-color:
    rgba(255,255,255,.28);

  box-shadow:
    0 18px 38px rgba(0,0,0,.25);
}


.featured-button-icon {
  width: 32px;
  height: 32px;

  display: flex;

  align-items: center;
  justify-content: center;

  border:
    1px solid rgba(255,255,255,.17);

  border-radius: 9px;

  color: #9eb2ff;

  font-size: 12px;
}


.featured-button-arrow {
  margin-left: auto;

  font-size: 14px;

  transition:
    transform .35s ease;
}


.featured-view-button:hover .featured-button-arrow {
  transform:
    translateX(6px);
}


/* ----------------------------------------------------------
   TABLET
---------------------------------------------------------- */

@media (max-width: 1050px) {

  .featured-card {
    flex-basis:
      calc((100% - 22px) / 2);
  }

  .featured-card-body p {
    min-height: 180px;
  }

  .featured-arrow-prev {
    left: 8px;
  }

  .featured-arrow-next {
    right: 8px;
  }

}


/* ----------------------------------------------------------
   MOBILE
---------------------------------------------------------- */

@media (max-width: 700px) {

  .featured-research {
    padding: 72px 0 68px;
  }


  .featured-head {
    margin-bottom: 38px;
  }


  .featured-kicker {
    font-size: 9px;

    letter-spacing: 1.7px;
  }


  .featured-title {
    font-size: 37px;

    letter-spacing: -1.6px;
  }


  .featured-description {
    padding: 0 8px;

    font-size: 13.5px;

    line-height: 1.72;
  }


  .featured-card {
    flex-basis: 100%;

    border-radius: 17px;
  }


  .featured-image {
    height: 195px;
  }


  .featured-card-body {
    padding: 20px 19px 19px;
  }


  .featured-card-body h3 {
    font-size: 20px;
  }


  .featured-card-body p {
    min-height: 0;

    font-size: 13px;

    line-height: 1.68;
  }


  .featured-arrow {
    width: 44px;
    height: 44px;

    font-size: 13px;
  }


  .featured-arrow-prev {
    left: 5px;
  }


  .featured-arrow-next {
    right: 5px;
  }


  .featured-view-button {
    width: 100%;

    max-width: 330px;

    min-width: 0;
  }

}


/* ----------------------------------------------------------
   SMALL MOBILE
---------------------------------------------------------- */

@media (max-width: 430px) {

  .featured-research {
    padding: 65px 0 62px;
  }


  .featured-title {
    font-size: 31px;
  }


  .featured-kicker {
    font-size: 8.5px;

    letter-spacing: 1.25px;
  }


  .featured-description {
    font-size: 12.8px;
  }


  .featured-image {
    height: 180px;
  }


  .featured-card-number {
    top: 13px;
    left: 13px;
  }


  .featured-image-icon {
    right: 13px;
    bottom: 13px;
  }

}


/* ----------------------------------------------------------
   ACCESSIBILITY
---------------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {

  .featured-bg-orb,
  .featured-bg-glow,
  .featured-card,
  .featured-image img,
  .featured-image-icon,
  .featured-image-icon::before,
  .featured-view-button::before {
    animation: none !important;

    transition: none !important;
  }

}