/* ============================================================
   RESET & ROOT TOKENS
   ============================================================ */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --blue: #0a61ae;
  --blue-mid: #1672c8;
  --blue-light: #e2f8ff;
  --blue-glow: rgba(10, 97, 174, 0.12);
  --yellow: #ffda4b;
  --yellow-deep: #ffc107;
  --base-800: #0d0d0d;
  --base: #444;
  --base-100: #f3f4f6;
  --white: #ffffff;
  --card-border: rgba(10, 97, 174, 0.1);
  --card-shadow: 0 2px 20px rgba(10, 97, 174, 0.07);
  --card-hover: 0 16px 48px rgba(10, 97, 174, 0.16);
  --radius-xl: 28px;
  --radius-lg: 18px;
  --radius-md: 12px;
  --radius-sm: 8px;
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --t: 0.28s;
}

/* ============================================================
   SCROLL PROGRESS BAR
   ============================================================ */
#scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0%;
  background: linear-gradient(90deg, var(--blue), #61dafb, var(--blue));
  background-size: 200% 100%;
  animation: shimmer-bar 2s linear infinite;
  z-index: 9999;
  transition: width 0.08s linear;
}

@keyframes shimmer-bar {
  0% {
    background-position: 0% 0%
  }

  100% {
    background-position: 200% 0%
  }
}

/* ============================================================
   BODY & TYPE
   ============================================================ */
body {
  font-family: "Open Sans", sans-serif;
  font-size: 1.1rem;
  line-height: 1.75;
  color: var(--base-800);
  background: #fff;
  overflow-x: hidden;
}

h2 {
  font-size: 58px;
  font-weight: 800;
  line-height: 1.05;
  text-align: center;
  padding: 30px 30px 20px;
  color: var(--base-800);

  small {
    display: block;
    font-weight: 400;
    font-size: 0.42em;
    letter-spacing: 0.14em;
    color: var(--blue);
    margin-bottom: 6px;
  }

  @media(max-width:1024px) {
    font-size: 42px;
  }

  @media(max-width:768px) {
    font-size: 32px;
  }
}

h3 {
  font-size: 26px;
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: 14px;
  color: var(--base-800);
}

h4 {
  text-align: center;
  margin-bottom: 0.5rem;

  @media(max-width:1024px) {
    font-size: medium;
  }
}

h4 span:nth-child(2) {
  font-size: large;
  color: var(--blue);
}

a {
  text-decoration: none;
  color: var(--blue);

  &:hover {
    text-decoration: underline;
  }
}

/* ============================================================
   STICKY HEADER
   ============================================================ */
header {
  position: sticky;
  top: 0;
  z-index: 500;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(10, 97, 174, 0.08);
  padding: 10px 36px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: box-shadow var(--t) var(--ease);

  &.scrolled {
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.07);
  }

  .logo-holder {
    display: flex;
    align-items: center;
    gap: 14px;
    font-weight: 700;
    color: var(--base-800);
    text-decoration: none;

    .logo {
      width: 52px;
      height: 52px;
      border-radius: 50%;
      flex-shrink: 0;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 26px;
      font-weight: 800;
      color: #fff;
      background: linear-gradient(135deg, #0d0d0d 0%, var(--blue) 100%);
      transition: transform var(--t) var(--ease), box-shadow var(--t) var(--ease);

      &:hover {
        transform: rotate(-6deg) scale(1.1);
        box-shadow: 0 6px 20px var(--blue-glow);
      }
    }

    .logo-text span {
      @media(max-width:768px) {
        display: none;
      }
    }
  }

  #bismillah {
    font-size: 1.3rem;
    font-weight: 500;
    text-align: center;
    color: var(--base-800);
    text-shadow: 2px 2px 0 var(--yellow);
  }

  nav {
    display: flex;
    align-items: center;

    ul {
      display: flex;
      list-style: none;
      gap: 2px;

      li a {
        display: inline-block;
        padding: 8px 15px;
        color: var(--base);
        border-radius: var(--radius-sm);
        font-weight: 500;
        font-size: 0.93rem;
        transition: all var(--t) var(--ease);

        &:hover {
          background: var(--blue-glow);
          color: var(--blue);
          text-decoration: none;
        }
      }

      li.nav-active a {
        color: var(--blue);
        background: var(--blue-glow);
      }

      #live {
        border-radius: var(--radius-sm);

        a {
          color: #fff;
          font-weight: 700;
          background: linear-gradient(135deg, #e63946, #b91c1c);

          &:hover {
            background: rgba(19, 19, 19, 0.66);
            color: #fff;
          }
        }
      }
    }

    .mobile-toggle {
      display: none;
      color: var(--base-800);
      padding: 10px;
      cursor: pointer;

      @media(max-width:768px) {
        display: inline-block;
        position: absolute;
        top: 18px;
        right: 18px;
      }
    }
  }

  @media(max-width:1024px) {
    flex-direction: column;
    align-items: center;
    padding: 10px 20px;
  }

  @media(max-width:768px) {
    flex-direction: column;
    align-items: center;

    nav {
      margin-top: 10px;
      width: 80%;

      ul {
        display: none;
        flex-direction: column;
        text-align: center;
        width: 100%;
        gap: 4px;

        a {
          width: 100%;
        }

        &.active {
          display: flex;
        }
      }
    }
  }
}

/* ============================================================
   SECTION
   ============================================================ */
section {
  max-width: 1440px;
  margin: 50px auto;
  gap: 30px;

  @media(max-width:1440px) {
    padding: 0 30px;
  }
}

/* ============================================================
   BUTTON
   ============================================================ */
.button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 26px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.94rem;
  transition: all var(--t) var(--ease);
  background: var(--blue);
  color: #fff;
  border: 2px solid transparent;

  &:hover {
    text-decoration: none;
    background: var(--blue-mid);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(10, 97, 174, 0.28);
  }

  &.black {
    background: #000;

    &:hover {
      background: #222;
      box-shadow: 0 8px 24px rgba(0, 0, 0, 0.22);
    }
  }

  &.white {
    background: #fff;
    color: var(--base-800);
    border-color: var(--base-100);

    &:hover {
      background: var(--base-100);
      color: var(--base);
    }
  }
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  display: flex;
  gap: 20px;
  min-height: 540px;

  @media(max-width:1024px) {
    flex-direction: column;
  }

  .hero-blue {
    flex: 1.15;
    background: linear-gradient(155deg, #ddf4ff 0%, #c4e8f9 50%, #e6f4fd 100%);
    border-radius: var(--radius-xl);
    padding: 44px 44px 38px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    overflow: hidden;

    /* animated orb */
    &::before {
      content: '';
      position: absolute;
      width: 350px;
      height: 350px;
      background: radial-gradient(circle, rgba(97, 218, 251, 0.22) 0%, transparent 70%);
      top: -80px;
      right: -80px;
      border-radius: 50%;
      animation: orb-float 6s ease-in-out infinite;
    }

    &::after {
      content: '';
      position: absolute;
      width: 200px;
      height: 200px;
      background: radial-gradient(circle, rgba(10, 97, 174, 0.1) 0%, transparent 70%);
      bottom: 30px;
      left: 20px;
      border-radius: 50%;
      animation: orb-float 8s ease-in-out infinite reverse;
    }

    h2 {
      text-align: left;
      padding: 0;
      margin-bottom: 4px;
      font-size: 50px;

      @media(max-width:768px) {
        font-size: 34px;
      }
    }

    h4 {
      text-align: left;
      font-size: 1.05rem;
      margin-bottom: 18px;
    }

    p {
      font-size: 0.98rem;
      color: #2c3e50;
      line-height: 1.78;
      position: relative;
      z-index: 1;
    }

    p span.desktop-bio {
      font-weight: 500;
      font-size: 0.98rem;
    }

    p span.mobile-bio {
      font-weight: 500;
      font-size: 0.98rem;
      display: none;
    }

    @media(max-width:768px) {
      padding: 28px 24px;

      p span.desktop-bio {
        display: none;
      }

      p span.mobile-bio {
        display: inline;
      }
    }

    .call-to-action {
      margin-top: 26px;
      margin-bottom: 14px;
      display: flex;
      flex-wrap: wrap;
      gap: 10px;
      position: relative;
      z-index: 1;
    }

    .social-links {
      text-align: end;
      position: relative;
      z-index: 1;

      a {
        i {
          font-size: 34px;
          transition: transform var(--t) var(--ease), color var(--t) var(--ease);
        }

        &:nth-child(1) i {
          color: #000;
        }

        &:nth-child(2) i {
          color: #0077B5;
        }

        &:hover {
          text-decoration: none;

          i {
            transform: translateY(-4px) scale(1.12);
            color: #61dafb;
          }
        }
      }
    }

    .spacer {
      display: block;
      height: 9px;
    }
  }

  .hero-yellow {
    flex: 0.85;
    background: linear-gradient(155deg, #ffe870 0%, #ffda4b 55%, #ffc800 100%);
    border-radius: var(--radius-xl);
    padding: 0 30px;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    overflow: visible;
    position: relative;

    img {
      margin-top: -28px;
      max-width: 425px;
      width: 100%;
      position: relative;
      z-index: 1;
      filter: drop-shadow(0 24px 48px rgba(0, 0, 0, 0.18));
      transition: transform 0.7s var(--ease);

      &:hover {
        transform: translateY(-10px) scale(1.02);
      }
    }
  }
}

@keyframes orb-float {

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

  50% {
    transform: translateY(-20px) scale(1.05);
  }
}

/* Typing cursor blink */
.hero h4 span:nth-child(2)::after {
  content: '|';
  animation: blink 1.1s step-end infinite;
  margin-left: 2px;
}

@keyframes blink {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0;
  }
}

/* ============================================================
   MARQUEE
   ============================================================ */
.logos {
  background: linear-gradient(135deg, #f7f9fb 0%, #edf3f8 100%);
  border-radius: var(--radius-xl);
  padding: 18px 0;

  @media(max-width:1440px) {
    border-radius: 0;
  }

  .marquee {
    width: 100%;
    height: 106px;
    overflow: hidden;
    position: relative;
    display: flex;
    align-items: center;

    .track {
      position: absolute;
      white-space: nowrap;
      will-change: transform;
      animation: marquee 44s linear infinite;
      display: flex;
      align-items: center;
      gap: 14px;

      &:hover {
        animation-play-state: paused;
      }

      img {
        height: 72px;
        width: auto;
        object-fit: contain;
        opacity: 0.75;
        filter: grayscale(20%);
        transition: all var(--t) var(--ease);
        flex-shrink: 0;

        &:hover {
          opacity: 1;
          filter: grayscale(0%) drop-shadow(0 4px 14px rgba(10, 97, 174, 0.25));
          transform: scale(1.15) translateY(-4px);
        }
      }
    }
  }
}

@keyframes marquee {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

/* ============================================================
   SKILLS / ABOUT
   ============================================================ */
.skills .holder-blue {
  background: linear-gradient(150deg, #eaf6ff 0%, #d8effc 100%);
  border-radius: var(--radius-xl);
  padding: 40px;
  display: flex;
  gap: 44px;
  border: 1px solid rgba(10, 97, 174, 0.09);

  @media(max-width:1024px) {
    flex-direction: column;
    gap: 28px;
  }

  .left-column {
    flex: 1;

    h3 {
      font-size: 18px;
      font-weight: 700;
      letter-spacing: 0.12em;
      text-transform: uppercase;
      color: var(--blue);
      margin-top: 22px;
      margin-bottom: 16px;

      &:first-child {
        margin-top: 0;
      }
    }

    ul {
      list-style: none;
      display: flex;
      flex-wrap: wrap;
      gap: 7px;
      margin-bottom: 6px;

      li {
        background: rgba(10, 97, 174, 0.08);
        color: var(--blue);
        padding: 5px 14px;
        border-radius: 99px;
        font-size: 0.92rem;
        font-weight: 600;
        border: 1px solid rgba(10, 97, 174, 0.22);
        transition: all var(--t) var(--ease);
        cursor: default;

        &:hover {
          background: var(--blue);
          color: #fff;
          border-color: var(--blue);
          transform: translateY(-2px);
          box-shadow: 0 4px 14px rgba(10, 97, 174, 0.28);
        }
      }
    }
  }

  .right-column {
    flex: 1.15;

    h3 {
      font-size: 26px;
    }

    p {
      margin-bottom: 18px;
      font-size: 1.05rem;
      font-weight: 600;
      color: #2c3e50;
      line-height: 1.82;
    }

    a {
      color: var(--blue);
      font-weight: 600;
      text-decoration: underline;
      text-underline-offset: 3px;
    }
  }
}

/* ============================================================
   WORK EXPERIENCE
   ============================================================ */
.work-experience .jobs {
  display: flex;
  gap: 22px;

  @media(max-width:1024px) {
    flex-direction: column;
  }

  article {
    background: var(--white);
    flex: 1;
    border-radius: var(--radius-xl);
    padding: 28px;
    border: 1px solid var(--card-border);
    box-shadow: var(--card-shadow);
    transition: all var(--t) var(--ease);
    position: relative;
    overflow: hidden;

    &::before {
      content: '';
      position: absolute;
      top: 0;
      left: 0;
      right: 0;
      height: 3px;
      background: linear-gradient(90deg, var(--blue), #61dafb);
      transform: scaleX(0);
      transform-origin: left;
      transition: transform 0.4s var(--ease);
    }

    &:hover {
      box-shadow: var(--card-hover);
      transform: translateY(-5px);
      border-color: rgba(10, 97, 174, 0.22);

      &::before {
        transform: scaleX(1);
      }
    }

    h3 {
      margin-top: 16px;
      margin-bottom: 6px;
      font-size: 19px;
    }

    div.date {
      font-size: 0.8rem;
      font-weight: 700;
      color: var(--blue);
      margin-bottom: 12px;
      display: flex;
      align-items: center;
      gap: 6px;

      &::before {
        content: '';
        display: inline-block;
        width: 7px;
        height: 7px;
        border-radius: 50%;
        background: var(--blue);
      }
    }

    p {
      font-size: 1rem;
      font-weight: 500;
      color: #3a3a3a;
      line-height: 1.75;
      margin-bottom: 8px;
    }

    figure {
      width: 100%;
      padding-top: 52%;
      overflow: hidden;
      position: relative;
      border-radius: var(--radius-md);

      img {
        position: absolute;
        top: 0;
        left: 0;
        height: 100%;
        width: 100%;
        object-fit: cover;
        transition: transform 3.5s ease;
      }

      figcaption {
        position: absolute;
        bottom: 0;
        left: 0;
        right: 0;
        background: linear-gradient(to top, rgba(0, 0, 0, 0.72), transparent);
        color: #fff;
        text-align: center;
        padding: 22px 12px 12px;
        font-size: 0.86rem;
        font-weight: 600;
        opacity: 0;
        visibility: hidden;
        transition: all var(--t) var(--ease);
      }

      &:hover {
        figcaption {
          opacity: 1;
          visibility: visible;
        }

        img {
          transform: scale(1.07);
        }
      }
    }
  }
}

/* See more */
.truncated-text {
  display: none;
}

.see-more-link {
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--blue);
  border-bottom: 1px solid currentColor;
  white-space: nowrap;
  transition: opacity var(--t);

  &:hover {
    opacity: 0.65;
    text-decoration: none;
  }
}

.see-more-dots {
  font-weight: 700;
}

/* ============================================================
   CLIENT WORK
   ============================================================ */
.client-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 30px;

  @media(max-width:1024px) {
    grid-template-columns: repeat(2, 1fr);
  }

  @media(max-width:768px) {
    grid-template-columns: 1fr;
  }
}

.client-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--card-shadow);
  border: 1px solid var(--card-border);
  transition: all var(--t) var(--ease);
  display: block;

  img {
    width: 100%;
    height: 350px;
    object-fit: cover;
    transition: transform 0.5s ease;

    @media(max-width:768px) {
      height: 350px;
      width: 100%;
    }
  }

  .client-card-body {
    padding: 14px 18px 18px;
    background-color: antiquewhite;
  }

  h6 {
    font-size: 0.93rem;
    font-weight: 600;
    color: var(--base-800);
    line-height: 1.4;
  }

  .badge {
    position: absolute;
    top: 14px;
    right: 14px;
    background: linear-gradient(135deg, #e63946, #b91c1c);
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    padding: 5px 11px;
    border-radius: 99px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
  }

  &:hover {
    transform: translateY(-6px);
    box-shadow: var(--card-hover);
    text-decoration: none;

    img {
      transform: scale(1.07);
    }
  }
}

/* ============================================================
   BENTO / PROJECTS
   ============================================================ */
.bento .bento-grid {
  display: grid;
  grid-gap: 22px;
  grid-template-columns: repeat(8, 1fr);
  grid-template-rows: repeat(13, 1fr);
  height: 960px;

  @media(max-width:1024px) {
    grid-template-rows: repeat(8, 1fr);
  }

  @media(max-width:768px) {
    display: flex;
    flex-direction: column;
    gap: 16px;
    height: auto;
  }

  .bento-item {
    padding: 30px;
    background: var(--base-100);
    border-radius: var(--radius-lg);
    position: relative;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(0, 0, 0, 0.04);
    transition: all var(--t) var(--ease);

    img {
      position: absolute;
      top: 0;
      left: 0;
      height: 100%;
      width: 100%;
      object-fit: cover;
      transition: transform 4s ease, opacity var(--t) var(--ease);
    }

    /* dark gradient overlay always on */
    &::after {
      content: '';
      position: absolute;
      inset: 0;
      background: linear-gradient(to top, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0.1) 45%, transparent 100%);
      pointer-events: none;
    }

    &:hover {
      transform: scale(1.025);
      box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);

      img {
        transform: scale(1.12);
        opacity: 0.72;
      }
    }

    .fa-brands {
      position: absolute;
      bottom: 14px;
      right: 14px;
      font-size: 40px;
      z-index: 4;
      filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.4));
    }

    @media(max-width:768px) {
      height: 240px;
    }

    &:nth-child(1) {
      grid-column: span 4;
      grid-row: span 4;

      @media(max-width:1024px) {
        grid-column: span 2;
        grid-row: span 2;
      }
    }

    &:nth-child(2) {
      grid-column: span 4;
      grid-row: span 5;

      @media(max-width:1024px) {
        grid-column: span 2;
        grid-row: span 2;
      }
    }

    &:nth-child(3) {
      grid-column: span 3;
      grid-row: span 4;

      @media(max-width:1024px) {
        grid-column: span 2;
        grid-row: span 2;
      }
    }

    &:nth-child(4) {
      grid-column: span 1;
      grid-row: span 5;
      width: 200px;

      img {
        padding: 6px;
      }

      @media(max-width:1024px) {
        grid-column: span 2;
        grid-row: span 2;
        width: auto;
      }
    }

    &:nth-child(5) {
      grid-column: span 1;
      grid-row: span 5;
      width: 200px;

      img {
        padding: 6px;
      }

      @media(max-width:1024px) {
        grid-column: span 2;
        grid-row: span 2;
        width: auto;
      }
    }

    &:nth-child(6) {
      grid-column: span 3;
      grid-row: span 4;

      @media(max-width:1024px) {
        grid-column: span 2;
        grid-row: span 2;
      }
    }

    &:nth-child(7) {
      grid-column: span 3;
      grid-row: span 4;

      @media(max-width:1024px) {
        grid-column: span 2;
        grid-row: span 2;
      }
    }
  }

  h6 {
    position: absolute;
    bottom: 13px;
    left: 13px;
    margin: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(8px);
    padding: 5px 10px;
    border-radius: 8px;
    font-size: 0.83rem;
    font-weight: 600;
    color: #fff;
    z-index: 4;
    pointer-events: none;
    letter-spacing: 0.2px;
  }
}

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.testimonials {
  background: linear-gradient(140deg, #ffe85a 0%, #ffda4b 60%, #ffc800 100%);
  border-radius: var(--radius-xl);
  padding: 60px 40px;
  margin-top: 60px;

  h2 small {
    color: rgba(0, 0, 0, 0.45);
    font-weight: 600;
  }
}

.testimonial-wrapper {
  overflow: hidden;
  width: 100%;
  padding: 22px 0;
}

.testimonial-track {
  display: flex;
  gap: 18px;
  width: max-content;
  animation: scrollLeft 26s linear infinite;
}

.testimonial-wrapper:hover .testimonial-track {
  animation-play-state: paused;
}

@keyframes scrollLeft {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

.testimonial-card {
  min-width: 300px;
  background: black;
  backdrop-filter: blur(12px);
  padding: 24px;
  border-radius: var(--radius-lg);
  color: #fff;
  box-shadow: 0 10px 36px rgba(0, 0, 0, 0.22);
  border: 1px solid rgba(255, 255, 255, 0.07);
  transition: transform var(--t) var(--ease);

  &:hover {
    transform: translateY(-5px);
  }

  p {
    font-size: 0.93rem;
    line-height: 1.65;
    margin-bottom: 14px;
    color: rgba(255, 255, 255, 0.9);
  }

  h5 {
    font-size: 0.8rem;
    color: var(--yellow);
    font-weight: 700;
    letter-spacing: 0.03em;
  }
}

.stars {
  color: #ffd700;
  font-size: 0.95rem;
  margin-bottom: 10px;
  letter-spacing: 2px;
}

/* ============================================================
   FOOTER
   ============================================================ */
footer {
  background: #080808;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 22px 30px;

  h6 {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 400;
    color: #999;
    font-size: 0.88rem;

    small {
      font-size: 0.84rem;
    }
  }

  a i {
    color: #666;
    font-size: 17px;
    transition: color var(--t) var(--ease), transform var(--t) var(--ease);

    &:hover {
      color: #61dafb;
      transform: translateY(-2px);
    }
  }

  @media(max-width:768px) {
    font-size: 0.76rem;
  }
}

/* ============================================================
   SCROLL ANIMATIONS
   ============================================================ */
html {
  scroll-behavior: smooth;
}

[data-animate] {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.75s var(--ease), transform 0.75s var(--ease);
}

[data-animate].in-view {
  opacity: 1;
  transform: translateY(0);
}

/* Staggered children */
[data-animate].in-view>*:nth-child(1) {
  transition-delay: 0s;
}

[data-animate].in-view>*:nth-child(2) {
  transition-delay: 0.07s;
}

[data-animate].in-view>*:nth-child(3) {
  transition-delay: 0.14s;
}

@media(prefers-reduced-motion:reduce) {
  [data-animate] {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .track {
    animation: none !important;
  }

  .hero-blue::before,
  .hero-blue::after {
    animation: none !important;
  }
}

/* ============================================================
   BACK TO TOP
   ============================================================ */
#backToTop {
  position: fixed;
  bottom: 26px;
  right: 26px;
  z-index: 200;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  background: linear-gradient(135deg, var(--blue), var(--blue-mid));
  color: #fff;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(10, 97, 174, 0.38);
  opacity: 0;
  transform: translateY(10px);
  transition: opacity var(--t) var(--ease), transform var(--t) var(--ease), box-shadow var(--t) var(--ease);

  &:hover {
    box-shadow: 0 8px 32px rgba(10, 97, 174, 0.55);
    transform: translateY(-2px);
  }

  &.show {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ============================================================
   ACTIVE NAV HIGHLIGHT
   ============================================================ */
nav ul li.nav-active a {
  color: var(--blue);
  background: var(--blue-glow);
}

/* ============================================================
   RESPONSIVE BIO
   ============================================================ */
.hero .hero-blue p span.desktop-bio {
  display: inline;
}

.hero .hero-blue p span.mobile-bio {
  display: none;
}

@media(max-width:768px) {
  .hero .hero-blue p span.desktop-bio {
    display: none !important;
  }

  .hero .hero-blue p span.mobile-bio {
    display: inline !important;
  }
}