/* ============================================================
   BRAND.CSS — Gamaliel Das Color Palette Override
   Only this file changes. Zero structure impact.
   
   Rayo default accent (dark mode): #DDF160  lime-yellow
   Gamaliel brand accent:           #fc4c1f  orange
   ============================================================ */

/* ── Override the dark-mode accent variables ─────────────────
   Rayo reads these via [color-scheme=dark] selector.
   All buttons, tags, highlights, CTAs update automatically.
   ─────────────────────────────────────────────────────────── */
:root {
  --accent--dark:            #fc4c1f;
  --accent-rgb--dark:        252, 76, 31;
  --additional--dark:        #ff7c52;
  --additional-rgb--dark:    255, 124, 82;
}

[color-scheme="dark"],
[color-scheme=dark] {
  --accent:         #fc4c1f;
  --accent-rgb:     252, 76, 31;
  --additional:     #ff7c52;
  --additional-rgb: 255, 124, 82;
}

[color-scheme="light"],
[color-scheme=light] {
  --accent:         #fc4c1f;
  --accent-rgb:     252, 76, 31;
  --additional:     #ff7c52;
  --additional-rgb: 255, 124, 82;
}

/* ── Force dark mode as the default page color scheme ────────
   Prevents flash of light theme on load.
   ─────────────────────────────────────────────────────────── */
@media (prefers-color-scheme: light) {
  [color-scheme="dark"],
  [color-scheme=dark] {
    --base:              var(--base--dark);
    --base-tint:         var(--base-tint--dark);
    --base-shade:        var(--base-shade--dark);
    --base-opp:          var(--base-opp--dark);
    --base-opp-tint:     var(--base-opp-tint--dark);
    --accent:            #fc4c1f;
    --accent-rgb:        252, 76, 31;
    --additional:        #ff7c52;
    --additional-rgb:    255, 124, 82;
    --t-bright:          var(--t-bright--dark);
    --t-medium:          var(--t-medium--dark);
    --t-muted:           var(--t-muted--dark);
    --t-muted-extra:     var(--t-muted-extra--dark);
    --st-bright:         var(--st-bright--dark);
    --st-medium:         var(--st-medium--dark);
    --st-muted:          var(--st-muted--dark);
    --neutral-transparent: var(--neutral-transparent--dark);
    --fw-regular:        var(--fw-regular--dark);
    --fw-medium:         var(--fw-medium--dark);
    --fw-semibold:       var(--fw-semibold--dark);
    --fw-bold:           var(--fw-bold--dark);
  }
}

/* ============================================================
   ABOUT & VISION SECTION — Enhanced Editorial Bento UI
   ============================================================ */

.mxd-about-vision__left {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
  padding-right: 0;
  gap: 3rem;
}

@media only screen and (min-width: 1200px) {
  .mxd-about-vision__left {
    padding-right: 4.5rem;
  }
}

.mxd-about-vision__header {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.8rem;
}

.mxd-about-vision__status {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  padding: 0.8rem 1.6rem;
  border-radius: 10rem;
  background-color: var(--base-tint);
  border: 1px solid rgba(252, 76, 31, 0.28);
  font: normal var(--fw-medium) 1.4rem/1.2 var(--_font-default);
  color: var(--t-bright);
  letter-spacing: 0.02em;
}

.mxd-about-vision__status-dot {
  width: 0.85rem;
  height: 0.85rem;
  border-radius: 50%;
  background-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(252, 76, 31, 0.2);
  animation: av-pulse 2s infinite ease-in-out;
}

@keyframes av-pulse {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(252, 76, 31, 0.45);
  }
  50% {
    box-shadow: 0 0 0 7px rgba(252, 76, 31, 0);
  }
}

/* Left Bio & Identity Card */
.mxd-about-profile-card {
  position: relative;
  background-color: var(--base-tint);
  border: 1px solid var(--st-muted);
  border-radius: var(--_radius-m);
  padding: 3.2rem 2.8rem;
  overflow: hidden;
  transition: border-color 0.35s ease, transform 0.35s ease;
}

.mxd-about-profile-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--additional), transparent);
}

.mxd-about-profile-card:hover {
  border-color: rgba(252, 76, 31, 0.45);
}

.mxd-about-profile-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.6rem;
  margin-bottom: 2.2rem;
}

.mxd-about-profile-card__identity {
  display: flex;
  align-items: center;
  gap: 1.6rem;
}

.mxd-about-profile-card__avatar {
  width: 5.4rem;
  height: 5.4rem;
  border-radius: 1.4rem;
  background: linear-gradient(135deg, rgba(252, 76, 31, 0.18), rgba(252, 76, 31, 0.04));
  border: 1px solid rgba(252, 76, 31, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.mxd-about-profile-card__avatar img {
  width: 3.2rem;
  height: 3.2rem;
  object-fit: contain;
}

.mxd-about-profile-card__name {
  font: normal var(--fw-semibold) 2.2rem/1.2 var(--_font-accent);
  color: var(--t-bright);
  margin: 0;
}

.mxd-about-profile-card__role {
  font: normal var(--fw-regular) 1.4rem/1.4 var(--_font-default);
  color: var(--accent);
  margin: 0.3rem 0 0 0;
}

.mxd-about-profile-card__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 4rem;
  height: 4rem;
  border-radius: 50%;
  background-color: rgba(252, 76, 31, 0.1);
  color: var(--accent);
  font-size: 1.8rem;
  flex-shrink: 0;
}

.mxd-about-profile-card__bio {
  font: normal var(--fw-regular) 1.65rem/1.65 var(--_font-default);
  color: var(--t-medium);
  margin-bottom: 2.4rem;
}

.mxd-about-profile-card__bio strong {
  color: var(--t-bright);
  font-weight: var(--fw-medium);
}

.mxd-about-profile-card__meta {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  padding: 1.6rem 0;
  margin-bottom: 2.2rem;
  border-top: 1px solid var(--st-muted);
  border-bottom: 1px solid var(--st-muted);
}

.mxd-about-meta-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  font: normal var(--fw-regular) 1.45rem/1.35 var(--_font-default);
  color: var(--t-medium);
}

.mxd-about-meta-item i {
  color: var(--accent);
  font-size: 1.7rem;
  flex-shrink: 0;
}

.mxd-about-meta-item strong {
  color: var(--t-bright);
  font-weight: var(--fw-medium);
}

.mxd-about-profile-card__label {
  display: block;
  font: normal var(--fw-semibold) 1.2rem/1.2 var(--_font-default);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--t-muted);
  margin-bottom: 1.2rem;
}

.mxd-about-profile-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.mxd-about-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.6rem 1.3rem;
  border-radius: 0.8rem;
  background-color: var(--base);
  border: 1px solid var(--st-muted);
  font: normal var(--fw-regular) 1.35rem/1.2 var(--_font-default);
  color: var(--t-bright);
  transition: border-color 0.25s ease, color 0.25s ease, transform 0.25s ease;
}

.mxd-about-tag i {
  color: var(--accent);
  font-size: 1.4rem;
}

.mxd-about-tag:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
}

/* Right Column — Manifest + Vision & Mission Cards + Pillars */
.mxd-manifest-lead {
  position: relative;
  padding-bottom: 3.6rem;
  border-bottom: 1px solid var(--st-muted);
}

.mxd-manifest-lead .mxd-manifest {
  line-height: 1.38;
  letter-spacing: -0.02em;
}

.mxd-manifest-highlight {
  color: var(--accent) !important;
  font-weight: var(--fw-medium) !important;
}

/* Vision & Mission Bento Grid */
.mxd-vision-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-top: 3.6rem;
}

@media only screen and (min-width: 768px) {
  .mxd-vision-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2.4rem;
  }
}

.mxd-vision-card {
  position: relative;
  background-color: var(--base-tint);
  border: 1px solid var(--st-muted);
  border-radius: var(--_radius-m);
  padding: 3rem 2.8rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 2rem;
  overflow: hidden;
  transition: transform 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
}

.mxd-vision-card:hover {
  transform: translateY(-4px);
  border-color: rgba(252, 76, 31, 0.5);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.22);
}

.mxd-vision-card--accent {
  background: linear-gradient(145deg, rgba(252, 76, 31, 0.14) 0%, var(--base-tint) 65%);
  border-color: rgba(252, 76, 31, 0.32);
}

.mxd-vision-card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.mxd-vision-card__tag {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  font: normal var(--fw-semibold) 1.25rem/1 var(--_font-default);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--accent);
}

.mxd-vision-card__icon {
  width: 4.4rem;
  height: 4.4rem;
  border-radius: 1.2rem;
  background-color: var(--base);
  border: 1px solid var(--st-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  font-size: 2.1rem;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

.mxd-vision-card:hover .mxd-vision-card__icon {
  background-color: var(--accent);
  border-color: var(--accent);
  color: #ffffff;
}

.mxd-vision-card__title {
  font: normal var(--fw-medium) 2.4rem/1.25 var(--_font-accent);
  color: var(--t-bright);
  margin: 0 0 1rem 0;
}

.mxd-vision-card__descr {
  font: normal var(--fw-regular) 1.6rem/1.6 var(--_font-default);
  color: var(--t-medium);
  margin: 0;
}

/* 4 Core Pillars Strip */
.mxd-pillars-strip {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.4rem;
  margin-top: 2.4rem;
}

@media only screen and (min-width: 768px) {
  .mxd-pillars-strip {
    grid-template-columns: repeat(4, 1fr);
    gap: 1.6rem;
  }
}

.mxd-pillar-item {
  background-color: var(--base-tint);
  border: 1px solid var(--st-muted);
  border-radius: 1.4rem;
  padding: 1.8rem 1.6rem;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  transition: border-color 0.3s ease, transform 0.3s ease;
}

.mxd-pillar-item:hover {
  border-color: var(--accent);
  transform: translateY(-3px);
}

.mxd-pillar-item__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.mxd-pillar-item__num {
  font: normal var(--fw-semibold) 1.2rem/1 var(--_font-accent);
  color: var(--t-muted);
}

.mxd-pillar-item__icon {
  color: var(--accent);
  font-size: 1.8rem;
}

.mxd-pillar-item__title {
  font: normal var(--fw-medium) 1.65rem/1.25 var(--_font-accent);
  color: var(--t-bright);
  margin: 0;
}

.mxd-pillar-item__sub {
  font: normal var(--fw-regular) 1.3rem/1.4 var(--_font-default);
  color: var(--t-muted);
  margin: 0;
}

/* Controls Row */
.mxd-manifest__controls-group {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 2rem;
  margin-top: 4rem;
}

/* ============================================================
   ACADEMIC PATH & INDUSTRY EXPERIENCE — Central Scroll Tracker
   ============================================================ */

.mxd-exp-header {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: 5.5rem;
}

@media only screen and (min-width: 992px) {
  .mxd-exp-header {
    flex-direction: row;
    align-items: flex-end;
  }
}

.mxd-exp-badge {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  padding: 0.9rem 1.8rem;
  border-radius: 10rem;
  background-color: var(--base-tint);
  border: 1px solid var(--st-muted);
  font: normal var(--fw-semibold) 1.3rem/1 var(--_font-default);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--t-bright);
  margin-bottom: 1.8rem;
}

.mxd-exp-badge i {
  color: var(--accent);
  font-size: 1.6rem;
}

.mxd-exp-title {
  font: normal var(--fw-medium) 4.2rem/1.1 var(--_font-accent);
  color: var(--t-bright);
  letter-spacing: -0.04em;
  margin: 0;
}

@media only screen and (min-width: 768px) {
  .mxd-exp-title {
    font-size: 5.6rem;
  }
}

.mxd-exp-subtitle {
  font: normal var(--fw-regular) 1.7rem/1.6 var(--_font-default);
  color: var(--t-medium);
  max-width: 44rem;
  margin: 0;
}

/* Central Scroll-Tracked Timeline Container */
.mxd-center-timeline {
  position: relative;
  padding-left: 3.6rem;
}

@media only screen and (min-width: 1200px) {
  .mxd-center-timeline {
    padding-left: 0;
  }
}

/* Single Center Vertical Track (Left on Mobile, Exact Center on Desktop) */
.mxd-center-timeline__axis {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 1rem;
  width: 3px;
  background-color: var(--st-muted);
  border-radius: 4px;
  z-index: 1;
}

@media only screen and (min-width: 1200px) {
  .mxd-center-timeline__axis {
    left: 50%;
    transform: translateX(-50%);
  }
}

/* Glowing Scroll Progress Fill inside the Center Line */
.mxd-center-timeline__progress {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 0%;
  background: linear-gradient(180deg, var(--additional) 0%, var(--accent) 100%);
  border-radius: 4px;
  box-shadow: 0 0 16px rgba(252, 76, 31, 0.65);
  will-change: height;
}

/* Moving Glowing Scroll Tracker Dot at Tip of Progress Line */
.mxd-center-timeline__tracker {
  position: absolute;
  top: 0%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 50%;
  background-color: var(--accent);
  border: 4px solid var(--base);
  box-shadow:
    0 0 0 6px rgba(252, 76, 31, 0.25),
    0 0 24px rgba(252, 76, 31, 0.9);
  z-index: 4;
  will-change: top;
  transition: box-shadow 0.25s ease;
}

.mxd-center-timeline__tracker::after {
  content: "";
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 1.5px solid rgba(252, 76, 31, 0.55);
  animation: exp-tracker-ping 2s cubic-bezier(0, 0, 0.2, 1) infinite;
}

@keyframes exp-tracker-ping {
  0% {
    transform: scale(0.85);
    opacity: 0.9;
  }
  100% {
    transform: scale(1.75);
    opacity: 0;
  }
}

/* Stage Block (01 Academic Path / 02 Industry Experience) */
.mxd-timeline-stage {
  position: relative;
  z-index: 2;
  margin-bottom: 6.4rem;
}

.mxd-timeline-stage:last-child {
  margin-bottom: 0;
}

/* Stage Pill Header Centered on the Timeline Line */
.mxd-timeline-stage__header {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  margin-bottom: 3.4rem;
  position: relative;
}

@media only screen and (min-width: 1200px) {
  .mxd-timeline-stage__header {
    justify-content: center;
  }
}

.mxd-timeline-stage__pill {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 2.2rem;
  border-radius: 10rem;
  background-color: var(--base);
  border: 1.5px solid var(--st-muted);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.25);
  font: normal var(--fw-semibold) 1.35rem/1 var(--_font-accent);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--t-bright);
  transition: border-color 0.35s ease, box-shadow 0.35s ease, transform 0.35s ease;
}

.mxd-timeline-stage__pill i {
  color: var(--accent);
  font-size: 1.7rem;
}

.mxd-timeline-stage.is-active .mxd-timeline-stage__pill {
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(252, 76, 31, 0.15), 0 12px 30px rgba(0, 0, 0, 0.35);
}

/* 2-Column Split Grid for Left & Right Cards around the Center Line */
.mxd-exp-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: 3.6rem;
}

@media only screen and (min-width: 1200px) {
  .mxd-exp-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 8.4rem;
  }
}

/* Center Junction Node between Left & Right Cards on Desktop */
.mxd-exp-grid__center-node {
  display: none;
}

@media only screen and (min-width: 1200px) {
  .mxd-exp-grid__center-node {
    display: block;
    position: absolute;
    top: 8.2rem;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 1.4rem;
    height: 1.4rem;
    border-radius: 50%;
    background-color: var(--base-tint);
    border: 2.5px solid var(--st-muted);
    z-index: 3;
    transition: background-color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
  }

  .mxd-timeline-stage.is-active .mxd-exp-grid__center-node {
    background-color: var(--accent);
    border-color: var(--base);
    box-shadow: 0 0 0 4px rgba(252, 76, 31, 0.22);
  }
}

/* Timeline Column Item */
.mxd-exp-timeline-col {
  position: relative;
  display: flex;
  flex-direction: column;
}

/* Horizontal Connector Line from Center Axis to Left & Right Cards on Desktop */
@media only screen and (min-width: 1200px) {
  .mxd-exp-timeline-col.is-left::after {
    content: "";
    position: absolute;
    top: 8.2rem;
    right: -4.2rem;
    width: 4.2rem;
    height: 2px;
    background: linear-gradient(90deg, rgba(252, 76, 31, 0.15), rgba(252, 76, 31, 0.55));
  }

  .mxd-exp-timeline-col.is-right::before {
    content: "";
    position: absolute;
    top: 8.2rem;
    left: -4.2rem;
    width: 4.2rem;
    height: 2px;
    background: linear-gradient(270deg, rgba(252, 76, 31, 0.15), rgba(252, 76, 31, 0.55));
  }
}

/* Mobile Connector Dot on the Left Axis */
.mxd-exp-timeline__dot {
  position: absolute;
  top: 0.4rem;
  left: -3.35rem;
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 50%;
  background-color: var(--accent);
  border: 3px solid var(--base);
  box-shadow: 0 0 0 4px rgba(252, 76, 31, 0.2);
  z-index: 3;
}

@media only screen and (min-width: 1200px) {
  .mxd-exp-timeline__dot {
    display: none;
  }
}

/* Date & Location Row above each Card */
.mxd-exp-meta-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.2rem;
  margin-bottom: 1.6rem;
}

.mxd-exp-date {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  font: normal var(--fw-semibold) 1.5rem/1.2 var(--_font-accent);
  color: var(--accent);
  letter-spacing: 0.02em;
}

.mxd-exp-location {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font: normal var(--fw-regular) 1.4rem/1.2 var(--_font-default);
  color: var(--t-muted);
}

.mxd-exp-location i {
  color: var(--accent);
}

/* Experience / Academic Card */
.mxd-exp-card {
  position: relative;
  flex: 1;
  background-color: var(--base-tint);
  border: 1px solid var(--st-muted);
  border-radius: var(--_radius-m);
  padding: 3.4rem 3rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 2.6rem;
  overflow: hidden;
  transition: transform 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
}

.mxd-exp-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--additional), transparent);
  opacity: 0.85;
}

.mxd-exp-card:hover,
.mxd-timeline-stage.is-active .mxd-exp-card {
  border-color: rgba(252, 76, 31, 0.42);
}

.mxd-exp-card:hover {
  transform: translateY(-5px);
  border-color: rgba(252, 76, 31, 0.6);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.28);
}

/* Company / Institution Header with Logo */
.mxd-exp-card__company-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.8rem;
  padding-bottom: 2.2rem;
  border-bottom: 1px solid var(--st-muted);
}

.mxd-exp-card__company-info {
  display: flex;
  align-items: center;
  gap: 1.8rem;
}

.mxd-exp-card__logo {
  width: 6.2rem;
  height: 6.2rem;
  border-radius: 1.6rem;
  background-color: var(--base);
  border: 1px solid rgba(252, 76, 31, 0.32);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  flex-shrink: 0;
  box-shadow: inset 0 0 20px rgba(252, 76, 31, 0.06);
}

.mxd-exp-card__logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.mxd-exp-card__role {
  font: normal var(--fw-semibold) 2.25rem/1.22 var(--_font-accent);
  color: var(--t-bright);
  margin: 0 0 0.5rem 0;
}

.mxd-exp-card__company-name {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font: normal var(--fw-medium) 1.55rem/1.3 var(--_font-default);
  color: var(--t-medium);
  margin: 0;
}

.mxd-exp-card__company-name span {
  color: var(--accent);
  font-weight: var(--fw-semibold);
}

.mxd-exp-card__step-num {
  font: normal var(--fw-bold) 3.2rem/1 var(--_font-accent);
  color: var(--st-muted);
  user-select: none;
}

/* Summary & Bullet List */
.mxd-exp-card__summary {
  font: normal var(--fw-regular) 1.65rem/1.65 var(--_font-default);
  color: var(--t-bright);
  margin: 0 0 1.8rem 0;
}

.mxd-exp-card__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.mxd-exp-card__list li {
  position: relative;
  padding-left: 2.4rem;
  font: normal var(--fw-regular) 1.55rem/1.6 var(--_font-default);
  color: var(--t-medium);
}

.mxd-exp-card__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.85rem;
  width: 0.8rem;
  height: 0.8rem;
  border-radius: 50%;
  background-color: var(--accent);
  box-shadow: 0 0 8px rgba(252, 76, 31, 0.5);
}

.mxd-exp-card__list li strong {
  color: var(--t-bright);
  font-weight: var(--fw-medium);
}

/* Tech Stack Pills at bottom of Card */
.mxd-exp-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  padding-top: 2rem;
  border-top: 1px solid var(--st-muted);
}

/* ============================================================
   STATISTICS CARDS — Split-Bento Grid, Framing & Hover Polish
   ============================================================ */

.mxd-stats-cards__item {
  height: auto !important;
  min-height: 460px;
}

@media only screen and (min-width: 768px) {
  .mxd-stats-cards__item {
    height: 430px !important;
  }
}

@media only screen and (min-width: 1600px) {
  .mxd-stats-cards__item {
    height: 500px !important;
  }
}

.mxd-stats-cards__inner.mxd-stats-bento {
  display: grid !important;
  grid-template-columns: 1fr;
  gap: 2.2rem !important;
  padding: 2.4rem !important;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(145deg, #1b1b1e 0%, #141416 100%);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.28);
  transition:
    transform 0.45s cubic-bezier(0.22, 1, 0.36, 1),
    border-color 0.4s ease,
    box-shadow 0.45s ease;
  align-items: stretch !important;
}

/* Flagship Card 01 subtle warm accent tint with high-contrast white text */
.mxd-stats-cards__inner.mxd-stats-bento--featured {
  background:
    radial-gradient(circle at 92% 12%, rgba(252, 76, 31, 0.18) 0%, transparent 58%),
    linear-gradient(145deg, #201a18 0%, #151416 100%);
  border-color: rgba(252, 76, 31, 0.28);
}

@media only screen and (min-width: 768px) {
  .mxd-stats-cards__inner.mxd-stats-bento {
    padding: 2.8rem !important;
    gap: 2.8rem !important;
  }

  /* Narrower 5-col cards (Card 1 & Card 4) */
  .col-xl-5 .mxd-stats-bento--media-left {
    grid-template-columns: 46% minmax(0, 1fr);
  }

  .col-xl-5 .mxd-stats-bento--media-right {
    grid-template-columns: minmax(0, 1fr) 46%;
  }

  /* Wider 7-col cards (Card 2 & Card 3) */
  .col-xl-7 .mxd-stats-bento--media-left {
    grid-template-columns: 52% minmax(0, 1fr);
  }

  .col-xl-7 .mxd-stats-bento--media-right {
    grid-template-columns: minmax(0, 1fr) 52%;
  }
}

@media only screen and (min-width: 1400px) {
  .mxd-stats-cards__inner.mxd-stats-bento {
    padding: 3.2rem !important;
    gap: 3.2rem !important;
  }
}

/* Ambient Glow Overlay on Hover */
.mxd-stats-cards__inner.mxd-stats-bento::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(
    circle at 85% 15%,
    rgba(252, 76, 31, 0.15) 0%,
    transparent 62%
  );
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.45s ease;
  z-index: 0;
}

.mxd-stats-cards__item:hover .mxd-stats-cards__inner.mxd-stats-bento {
  transform: translateY(-7px);
  border-color: rgba(252, 76, 31, 0.65);
  box-shadow:
    0 26px 56px rgba(0, 0, 0, 0.48),
    0 0 36px rgba(252, 76, 31, 0.16);
}

.mxd-stats-cards__item:hover .mxd-stats-cards__inner.mxd-stats-bento::after {
  opacity: 1;
}

/* Content Column (Pill + Number + Description + CTA) */
.mxd-stats-bento__content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-start;
  text-align: left;
  height: 100%;
  min-width: 0;
  gap: 1.8rem;
  padding: 0.4rem 0;
}

@media only screen and (min-width: 768px) {
  .mxd-stats-bento--media-left .mxd-stats-bento__content {
    align-items: flex-end;
    text-align: right;
  }

  .mxd-stats-bento--media-right .mxd-stats-bento__content {
    align-items: flex-start;
    text-align: left;
  }
}

/* Counter Number & Description Readability + Hover Pop */
.mxd-stats-bento__content .mxd-counter {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: inherit;
  gap: 0.8rem;
  width: 100%;
}

.mxd-stats-bento__content .mxd-counter__number {
  display: inline-block;
  color: var(--t-bright) !important;
  font-size: clamp(5.2rem, 4.6vw, 7.8rem);
  line-height: 0.95;
  letter-spacing: -0.03em;
  margin: 0;
  transition:
    transform 0.4s cubic-bezier(0.22, 1, 0.36, 1),
    color 0.35s ease,
    text-shadow 0.4s ease;
  transform-origin: left center;
}

@media only screen and (min-width: 768px) {
  .mxd-stats-bento--media-left .mxd-counter__number {
    transform-origin: right center;
  }
}

.mxd-stats-cards__item:hover .mxd-counter__number {
  transform: scale(1.05);
  color: #ffffff !important;
  text-shadow: 0 8px 28px rgba(252, 76, 31, 0.38);
}

.mxd-stats-bento__content .mxd-counter__descr {
  color: rgba(255, 255, 255, 0.82) !important;
  font-size: clamp(1.55rem, 1.15vw, 1.85rem);
  line-height: 1.42;
  max-width: 26rem;
  margin: 0;
}

.mxd-stats-cards__btngroup {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 1.2rem;
  flex-shrink: 0;
}

/* Compact Glassmorphic Category Pill (Never Full-Width) */
.mxd-stats-pill {
  display: inline-flex;
  align-items: center;
  width: fit-content !important;
  max-width: max-content;
  flex-shrink: 0;
  gap: 0.75rem;
  padding: 0.7rem 1.45rem;
  border-radius: 10rem;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  font: normal var(--fw-semibold) 1.2rem/1 var(--_font-default);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--t-bright);
  white-space: nowrap;
  transition:
    border-color 0.35s ease,
    background-color 0.35s ease,
    transform 0.35s ease,
    box-shadow 0.35s ease;
}

.mxd-stats-pill i {
  color: var(--accent);
  font-size: 1.45rem;
}

.mxd-stats-pill--accent {
  background: rgba(252, 76, 31, 0.14);
  border-color: rgba(252, 76, 31, 0.42);
  color: #ffffff;
}

.mxd-stats-cards__item:hover .mxd-stats-pill {
  border-color: var(--accent);
  background: rgba(252, 76, 31, 0.14);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(252, 76, 31, 0.18);
}

/* Framed Event Photo Column */
.mxd-stats-bento__media {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 240px;
  border-radius: 2rem;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.42);
  background: #101012;
}

@media only screen and (min-width: 768px) {
  .mxd-stats-bento__media {
    height: 100%;
    min-height: 100%;
  }
}

/* Subtle inner vignette on photos so frames feel integrated with dark UI */
.mxd-stats-bento__media::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.04) 0%,
    rgba(0, 0, 0, 0.28) 100%
  );
  pointer-events: none;
  z-index: 1;
}

.mxd-stats-bento__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
  filter: brightness(0.9) contrast(1.05);
  transition:
    transform 0.65s cubic-bezier(0.22, 1, 0.36, 1),
    filter 0.5s ease;
}

/* Crop out the blurred grey top/bottom letterbox bars in 1.png */
.mxd-stats-bento__media--crop-1 img {
  object-position: center 52%;
  transform: scale(1.26);
}

/* Center Siva's profile cleanly in 8.png */
.mxd-stats-bento__media--crop-4 img {
  object-position: center 22%;
}

.mxd-stats-cards__item:hover .mxd-stats-bento__media img {
  transform: scale(1.06);
  filter: brightness(1) contrast(1.06);
}

.mxd-stats-cards__item:hover .mxd-stats-bento__media--crop-1 img {
  transform: scale(1.32);
  filter: brightness(1) contrast(1.06);
}

/* ============================================================
   PINNED PROJECTS (#work) — 100% Full Image Visibility & Cards
   ============================================================ */

.mxd-pinned-projects .mxd-project-item {
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
  background: linear-gradient(145deg, #19191d 0%, #121215 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 2.8rem;
  padding: 1.4rem;
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.35);
  transition:
    transform 0.45s cubic-bezier(0.22, 1, 0.36, 1),
    border-color 0.4s ease,
    box-shadow 0.45s ease;
}

@media only screen and (min-width: 768px) {
  .mxd-pinned-projects .mxd-project-item {
    padding: 1.8rem;
    border-radius: 3rem;
  }
}

@media only screen and (min-width: 1600px) {
  .mxd-pinned-projects .mxd-project-item {
    max-width: 620px;
  }
}

.mxd-pinned-projects .mxd-project-item:hover {
  transform: translateY(-6px);
  border-color: rgba(252, 76, 31, 0.55);
  box-shadow:
    0 28px 60px rgba(0, 0, 0, 0.5),
    0 0 36px rgba(252, 76, 31, 0.14);
}

.mxd-pinned-projects .mxd-project-item__media {
  height: auto !important;
  margin-bottom: 1.8rem !important;
  border-radius: 2rem;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: #0d0e12;
}

.mxd-pinned-projects .mxd-project-item__preview {
  height: auto !important;
  aspect-ratio: 1 / 1;
  width: 100%;
  border-radius: 2rem;
  background-image: none !important;
  background-color: #0d0e12;
  display: block;
  overflow: hidden;
}

.mxd-pinned-projects .mxd-project-item__full-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center center;
  display: block;
  border-radius: 2rem;
  transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

.mxd-pinned-projects .mxd-project-item:hover .mxd-project-item__full-img {
  transform: scale(1.015);
}

.mxd-pinned-projects .mxd-project-item__promo {
  padding: 0 0.8rem 0.6rem 0.8rem !important;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.mxd-pinned-projects .mxd-project-item__name a {
  font-size: 2.2rem !important;
  line-height: 1.38 !important;
}

@media only screen and (min-width: 1400px) {
  .mxd-pinned-projects .mxd-project-item__name a {
    font-size: 2.4rem !important;
  }
}

.mxd-pinned-projects .mxd-project-item__tags {
  position: static !important;
  padding: 0 !important;
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.mxd-pinned-projects .mxd-project-item__tags .tag-permanent {
  background: rgba(255, 255, 255, 0.06);
  color: var(--t-bright);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(8px);
  font-size: 1.2rem;
  padding: 0.55rem 1.3rem;
  transition: border-color 0.3s ease, background-color 0.3s ease, color 0.3s ease;
}

.mxd-pinned-projects .mxd-project-item:hover .mxd-project-item__tags .tag-permanent {
  border-color: rgba(252, 76, 31, 0.45);
  background: rgba(252, 76, 31, 0.12);
  color: #ffffff;
}

/* "Latest Projects" title stays fixed on the left while project cards scroll
   on the right; releases naturally after the last project (tablet + laptop+).
   Mobile (≤767px) keeps the default stacked layout. */
@media only screen and (min-width: 768px) {
  .mxd-pinned-projects > .container-fluid > .row {
    display: flex !important;
    flex-wrap: nowrap !important;
    align-items: stretch !important;
  }

  .mxd-pinned-projects__static {
    flex: 0 0 40% !important;
    max-width: 40% !important;
    width: 40% !important;
  }

  .mxd-pinned-projects__scroll {
    flex: 0 0 60% !important;
    max-width: 60% !important;
    width: 60% !important;
    padding-top: 6rem;
  }

  .mxd-pinned-projects__static-inner {
    position: -webkit-sticky !important;
    position: sticky !important;
    top: 0 !important;
    padding-top: 6rem !important;
    padding-right: 2.4rem;
    text-align: left !important;
  }

  .mxd-pinned-projects__static-inner .mxd-section-title__controls {
    justify-content: flex-start !important;
  }
}

@media only screen and (min-width: 1200px) {
  .mxd-pinned-projects__static {
    flex: 0 0 41.666667% !important;
    max-width: 41.666667% !important;
    width: 41.666667% !important;
  }

  .mxd-pinned-projects__scroll {
    flex: 0 0 58.333333% !important;
    max-width: 58.333333% !important;
    width: 58.333333% !important;
  }
}

@media only screen and (min-width: 1600px) {
  .mxd-pinned-projects__static-inner,
  .mxd-pinned-projects__scroll {
    padding-top: 9rem !important;
  }
}

/* ============================================================
   AWARDS & INNOVATIONS (#awards) — Framed Full-Image Cards
   ============================================================ */

#awards .mxd-blog-preview__item {
  display: flex;
  flex-direction: column;
}

#awards .mxd-blog-preview__card {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: linear-gradient(145deg, #19191d 0%, #121215 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 2.8rem;
  padding: 1.6rem;
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.34);
  transition:
    transform 0.45s cubic-bezier(0.22, 1, 0.36, 1),
    border-color 0.4s ease,
    box-shadow 0.45s ease;
}

@media only screen and (min-width: 768px) {
  #awards .mxd-blog-preview__card {
    padding: 1.8rem;
    border-radius: 3rem;
  }
}

#awards .mxd-blog-preview__card:hover {
  transform: translateY(-7px);
  border-color: rgba(252, 76, 31, 0.55);
  box-shadow:
    0 26px 56px rgba(0, 0, 0, 0.48),
    0 0 34px rgba(252, 76, 31, 0.15);
}

#awards .mxd-blog-preview__media {
  height: auto !important;
  aspect-ratio: 1 / 1;
  margin-bottom: 1.8rem !important;
  border-radius: 2rem !important;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: #0d0e12;
}

#awards .mxd-blog-preview__image {
  height: auto !important;
  aspect-ratio: 1 / 1;
  width: 100%;
  border-radius: 2rem !important;
  background-image: none !important;
  background-color: #0d0e12;
  display: block;
  overflow: hidden;
}

#awards .mxd-blog-preview__full-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center center;
  display: block;
  border-radius: 2rem;
  transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

#awards .mxd-blog-preview__card:hover .mxd-blog-preview__full-img {
  transform: scale(1.02);
}

#awards .mxd-blog-preview__data {
  padding: 0 0.6rem 0.6rem 0.6rem !important;
  display: flex;
  flex-direction: column;
  gap: 1.3rem;
  flex-grow: 1;
}

#awards .mxd-blog-preview__tags {
  position: static !important;
  padding: 0 !important;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

#awards .mxd-blog-preview__tags .tag-permanent {
  background: rgba(255, 255, 255, 0.06);
  color: var(--t-bright);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(8px);
  font-size: 1.15rem;
  padding: 0.5rem 1.2rem;
  transition: border-color 0.3s ease, background-color 0.3s ease, color 0.3s ease;
}

#awards .mxd-blog-preview__card:hover .mxd-blog-preview__tags .tag-permanent {
  border-color: rgba(252, 76, 31, 0.45);
  background: rgba(252, 76, 31, 0.12);
  color: #ffffff;
}

#awards .mxd-blog-preview__data > a {
  font-size: 2rem !important;
  line-height: 1.42 !important;
}

/* ============================================================
   MY SERVICES STACK (#services) — Clean Vector Graphic Framing
   ============================================================ */

@media only screen and (min-width: 992px) {
  #services .services-stack__image .service-img {
    right: 2% !important;
    bottom: 50% !important;
    transform: translateY(50%);
    height: 88% !important;
    width: auto !important;
    max-width: 46%;
    object-fit: contain;
  }
}

/* ============================================================
   YOUTUBE MARQUEE VIDEO CARDS — 100% Full 16:9 Thumbnail View
   ============================================================ */

.marquee--gsap .marquee__item.yt-video-item,
.marquee--gsap .marquee__item.has-caption {
  width: 352px !important;
  height: 198px !important;
  aspect-ratio: 16 / 9;
  border-radius: 2rem !important;
}

@media only screen and (min-width: 768px) {
  .marquee--gsap .marquee__item.yt-video-item,
  .marquee--gsap .marquee__item.has-caption {
    width: 480px !important;
    height: 270px !important;
    border-radius: 2.4rem !important;
  }
}

.marquee__item.yt-video-item {
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: #0d0d10;
  box-shadow: 0 16px 38px rgba(0, 0, 0, 0.38);
  transition: border-color 0.35s ease, box-shadow 0.35s ease, transform 0.35s ease;
}

.marquee__item.yt-video-item:hover {
  border-color: var(--accent);
  box-shadow:
    0 22px 48px rgba(0, 0, 0, 0.52),
    0 0 30px rgba(252, 76, 31, 0.22);
}

.marquee__yt-link {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: inherit;
  background: #0d0d10;
}

/* Full 16:9 uncropped thumbnail view */
.marquee__yt-link img {
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
  object-position: center center !important;
  transform: scale(1) !important;
  filter: brightness(0.95) contrast(1.03);
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1), filter 0.4s ease;
}

.marquee__yt-link:hover img {
  transform: scale(1.02) !important;
  filter: brightness(1) contrast(1.05);
}

.marquee__yt-link::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0) 55%,
    rgba(0, 0, 0, 0.45) 100%
  );
  pointer-events: none;
  z-index: 1;
}

/* Centered Play Button */
.marquee__yt-play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 5.2rem;
  height: 5.2rem;
  border-radius: 50%;
  background: rgba(252, 76, 31, 0.88);
  border: 2px solid rgba(255, 255, 255, 0.38);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  z-index: 2;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.48);
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), background-color 0.35s ease, box-shadow 0.35s ease;
}

.marquee__yt-play i {
  margin-left: 0.25rem;
}

.marquee__yt-link:hover .marquee__yt-play {
  transform: translate(-50%, -50%) scale(1.14);
  background: #ff0000;
  box-shadow: 0 14px 34px rgba(255, 0, 0, 0.55);
}

/* Bottom-Left YouTube Pill Badge */
.marquee__yt-badge {
  position: absolute;
  bottom: 1.2rem;
  left: 1.4rem;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.5rem 1.15rem;
  border-radius: 10rem;
  background: rgba(14, 14, 18, 0.82);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.16);
  font: normal var(--fw-semibold) 1.1rem/1 var(--_font-default);
  color: #ffffff;
  letter-spacing: 0.04em;
  transition: border-color 0.35s ease, background-color 0.35s ease;
}

.marquee__yt-badge i {
  color: #ff0000;
  font-size: 1.45rem;
}

.marquee__yt-link:hover .marquee__yt-badge {
  border-color: rgba(255, 255, 255, 0.38);
  background: rgba(14, 14, 18, 0.94);
}

/* ============================================================
   HERO YOUTUBE PREVIEW WIDGET — Full 16:9 Thumbnail Framing
   ============================================================ */

.mxd-hero-01__video-wrap {
  aspect-ratio: 16 / 9;
  height: auto !important;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: #0d0d10;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.38);
}

.mxd-hero-01__yt-preview {
  display: block;
  width: 100%;
  height: 100%;
}

.mxd-hero-01__video-wrap .mxd-hero-01__video {
  width: 100%;
  height: 100%;
  object-fit: contain !important;
  display: block;
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.mxd-hero-01__video-wrap:hover .mxd-hero-01__video {
  transform: scale(1.03);
}

/* ============================================================
   TRANSFORMER SELF-ATTENTION (Q, K, V) PRELOADER — 5s Sequence
   ============================================================ */

.tf-loader__wrapper {
  background: radial-gradient(circle at 50% 45%, rgba(252, 76, 31, 0.025) 0%, #161616 60%, #141414 100%) !important;
  background-color: #111111 !important;
  opacity: 1 !important;
  overflow: hidden;
  padding: 2.4rem 2rem;
}

.tf-loader__content {
  position: relative !important;
  left: auto !important;
  top: auto !important;
  transform: none !important;
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 1.8rem;
  z-index: 2;
}

/* Header: Model Badge & Attention Equation */
.tf-loader__header {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.2rem;
  padding: 0 1rem;
  opacity: 0;
  animation: tfFadeSlideDown 0.55s cubic-bezier(0.22, 1, 0.36, 1) 0.05s forwards;
}

.tf-loader__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
  padding: 0.65rem 1.4rem;
  border-radius: 10rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  font: normal 500 1.25rem/1 var(--_font-default);
  color: rgba(255, 255, 255, 0.88);
  letter-spacing: 0.03em;
}

.tf-loader__pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #fc4c1f;
  box-shadow: 0 0 10px #fc4c1f;
  animation: tfPulseDot 1.2s ease-in-out infinite;
}

.tf-loader__formula {
  padding: 0.6rem 1.4rem;
  border-radius: 0.8rem;
  background: rgba(252, 76, 31, 0.08);
  border: 1px solid rgba(252, 76, 31, 0.24);
  font: normal 500 1.25rem/1.2 "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
  color: #ffb199;
  letter-spacing: 0.02em;
}

.tf-loader__formula em {
  font-style: italic;
  font-weight: 700;
  color: #ffffff;
}

/* Main SVG Stage */
.tf-loader__stage {
  width: 100%;
  background: rgba(255, 255, 255, 0.008);
  border: 1px solid rgba(255, 255, 255, 0.04);
  border-radius: 2rem;
  padding: 1.4rem 1.8rem 1rem;
  box-shadow: none;
}

.tf-loader__svg {
  width: 100%;
  height: auto;
  max-height: 46vh;
  display: block;
  overflow: visible;
}

/* Column Headers inside SVG */
.tf-col-label {
  font: 600 11.5px/1 var(--_font-default);
  fill: rgba(255, 255, 255, 0.55);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* Stacked 12-Head Attention Backdrop Cards */
.tf-head-card {
  fill: rgba(255, 255, 255, 0.01);
  stroke: rgba(255, 255, 255, 0.05);
  stroke-width: 1;
}
.tf-head-card--back3 { opacity: 0.25; }
.tf-head-card--back2 { opacity: 0.45; }
.tf-head-card--back1 { opacity: 0.65; }
.tf-head-card--front {
  fill: rgba(255, 255, 255, 0.015);
  stroke: rgba(252, 76, 31, 0.15);
  stroke-width: 1;
}
.tf-head-meta {
  font: 500 11px/1 var(--_font-default);
  fill: rgba(255, 255, 255, 0.48);
  letter-spacing: 0.04em;
}

/* Stage 1: Input Tokens & Embeddings (0.1s - 0.9s) */
.tf-token-row {
  opacity: 0;
  transform: translateX(-14px);
  animation: tfTokenAppear 0.5s cubic-bezier(0.22, 1, 0.36, 1) forwards;
  animation-delay: calc(0.12s + var(--row-idx, 0) * 0.11s);
}

.tf-token-lbl {
  font: 600 14.5px/1 var(--_font-accent);
  fill: #ffffff;
  letter-spacing: 0.01em;
}

.tf-embed-box {
  fill: rgba(252, 76, 31, 0.16);
  stroke: rgba(255, 124, 82, 0.55);
  stroke-width: 1.2;
}

.tf-embed-bar {
  stroke: rgba(255, 177, 153, 0.75);
  stroke-width: 2;
  stroke-linecap: round;
}

.tf-embed-bar--accent {
  stroke: #fc4c1f;
}

/* Stage 2: Q, K, V Projections & Interweaving Curves (0.8s - 2.1s) */
.tf-flow-path {
  fill: none;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-dasharray: 220;
  stroke-dashoffset: 220;
  animation: tfDrawLine 0.75s cubic-bezier(0.33, 1, 0.68, 1) 0.75s forwards;
}
.tf-flow-q { stroke: url(#tfGradEmbedQ); }
.tf-flow-k { stroke: url(#tfGradEmbedK); }
.tf-flow-v { stroke: url(#tfGradEmbedV); }

.tf-qkv-badges {
  opacity: 0;
  animation: tfFadeIn 0.45s ease 1.15s forwards;
}

.tf-badge-q {
  fill: rgba(255, 255, 255, 0.18);
  stroke: #ffffff;
  stroke-width: 1.2;
}
.tf-badge-k {
  fill: rgba(252, 76, 31, 0.18);
  stroke: #fc4c1f;
  stroke-width: 1.2;
}
.tf-badge-v {
  fill: rgba(255, 177, 153, 0.18);
  stroke: #ffb199;
  stroke-width: 1.2;
}
.tf-badge-txt {
  font: 700 9.5px/1 var(--_font-default);
  fill: #ffffff;
}

.tf-weave-path {
  fill: none;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-dasharray: 280;
  stroke-dashoffset: 280;
  animation: tfDrawLine 0.85s cubic-bezier(0.33, 1, 0.68, 1) 1.3s forwards;
}
.tf-weave-q { stroke: rgba(255, 255, 255, 0.68); }
.tf-weave-k { stroke: rgba(252, 76, 31, 0.68); }
.tf-weave-v { stroke: rgba(255, 177, 153, 0.68); }

/* Stage 3: Self-Attention Matrix Core (1.85s - 3.1s) */
.tf-attention-core {
  opacity: 0;
  animation: tfFadeIn 0.5s ease 1.75s forwards;
}

.tf-sub-label {
  font: 700 11.5px/1 var(--_font-default);
  letter-spacing: 0.04em;
}
.tf-sub-label--k { fill: #fc4c1f; }
.tf-sub-label--q { fill: #ffffff; }
.tf-sub-label--v { fill: #ffb199; }
.tf-sub-label--out { fill: #ff7c52; }

.tf-mini-tok {
  font: 500 9.5px/1 var(--_font-default);
  fill: rgba(255, 255, 255, 0.72);
}

.tf-mat-guide {
  fill: none;
  stroke-width: 1.15;
  stroke-dasharray: 220;
  stroke-dashoffset: 220;
  animation: tfDrawLine 0.65s ease 1.95s forwards;
}
.tf-mat-guide--k { stroke: rgba(252, 76, 31, 0.55); }
.tf-mat-guide--q { stroke: rgba(255, 255, 255, 0.65); }

.tf-val-ribbon,
.tf-mat-cone {
  opacity: 0;
  animation: tfFadeIn 0.65s ease 2.35s forwards;
}

/* 5x5 Attention Weight Circles */
.tf-attn-dot {
  opacity: 0;
  transform-box: fill-box;
  transform-origin: center;
  animation: tfDotPop 0.45s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
  animation-delay: calc(2.05s + var(--d, 0s));
}
.tf-w-low {
  fill: rgba(252, 76, 31, 0.22);
  stroke: rgba(252, 76, 31, 0.45);
  stroke-width: 1;
}
.tf-w-med {
  fill: rgba(252, 76, 31, 0.52);
  stroke: rgba(255, 124, 82, 0.8);
  stroke-width: 1;
}
.tf-w-high {
  fill: rgba(252, 76, 31, 0.88);
  stroke: #ffe1d6;
  stroke-width: 1.2;
}
.tf-w-max {
  fill: #fc4c1f;
  stroke: #ffffff;
  stroke-width: 1.4;
}

.tf-attn-caption {
  font: 600 11px/1 var(--_font-default);
  fill: rgba(255, 255, 255, 0.65);
  letter-spacing: 0.04em;
}

.tf-out-tick {
  stroke: #ff7c52;
  stroke-width: 2.2;
  stroke-linecap: round;
}

/* Stage 4: Output Streams, MLP & Decoded Probabilities (2.8s - 4.1s) */
.tf-out-stream {
  fill: none;
  stroke: url(#tfGradOutStream);
  stroke-width: 2;
  stroke-dasharray: 240;
  stroke-dashoffset: 240;
  animation: tfDrawLine 0.55s cubic-bezier(0.33, 1, 0.68, 1) 2.3s forwards;
}

.tf-mlp-box {
  fill: rgba(252, 76, 31, 0.24);
  stroke: #ff7c52;
  stroke-width: 1.3;
  opacity: 0;
  animation: tfFadeIn 0.4s ease 2.55s forwards;
}

.tf-final-stream {
  fill: none;
  stroke: rgba(252, 76, 31, 0.65);
  stroke-width: 2;
  stroke-dasharray: 160;
  stroke-dashoffset: 160;
  animation: tfDrawLine 0.55s ease forwards;
  animation-delay: calc(2.6s + var(--s-idx, 0) * 0.06s);
}

.tf-prob-row {
  opacity: 0;
  transform: translateX(-10px);
  animation: tfTokenAppear 0.45s cubic-bezier(0.22, 1, 0.36, 1) forwards;
  animation-delay: calc(2.7s + var(--p-idx, 0) * 0.08s);
}

.tf-prob-pill {
  fill: rgba(255, 255, 255, 0.06);
  stroke: rgba(255, 255, 255, 0.22);
  stroke-width: 1.2;
}

.tf-prob-pill--accent {
  fill: rgba(252, 76, 31, 0.18);
  stroke: #fc4c1f;
  stroke-width: 1.5;
}

.tf-prob-word {
  font: 700 14px/1 var(--_font-accent);
  fill: #ffffff;
}

.tf-prob-word--accent {
  fill: #fc4c1f;
}

.tf-prob-bar {
  fill: rgba(252, 76, 31, 0.75);
}

.tf-prob-bar--accent {
  fill: #fc4c1f;
}

.tf-prob-pct {
  font: 600 11px/1 "SFMono-Regular", Consolas, monospace;
  fill: rgba(255, 255, 255, 0.7);
}

.tf-prob-pct--accent {
  fill: #fc4c1f;
}

/* Footer: "Attention Is All You Need" Big Headline & Progress Bar */
.tf-loader__footer {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.4rem;
  padding: 0 1rem;
}

.tf-loader__output-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
  text-align: center;
}

.tf-loader__output-tag {
  font: 700 1.05rem/1 var(--_font-default);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.46);
}

.tf-loader__headline {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.32em;
  margin: 0;
  font: 700 clamp(2.6rem, 4.6vw, 5.2rem)/1.08 var(--_font-accent);
  letter-spacing: -0.02em;
  color: #ffffff;
}

.tf-loader__headline .tf-word {
  display: inline-block;
  opacity: 0;
  transform: translateY(18px) scale(0.94);
  filter: blur(6px);
  animation: tfWordReveal 0.52s cubic-bezier(0.22, 1, 0.36, 1) forwards;
  animation-delay: calc(3.4s + var(--w-idx, 0) * 0.12s);
}

.tf-loader__headline .tf-word--highlight {
  color: #fc4c1f;
  text-shadow: 0 0 28px rgba(252, 76, 31, 0.45);
}

/* Bottom Progress Bar & Counter */
.tf-loader__progress-row {
  width: 100%;
  display: grid;
  grid-template-columns: 1fr minmax(200px, 420px) auto;
  align-items: center;
  gap: 1.8rem;
  padding-top: 0.8rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.tf-loader__stage-status {
  font: 500 1.3rem/1.2 var(--_font-default);
  color: rgba(255, 255, 255, 0.68);
  letter-spacing: 0.02em;
}

.tf-loader__progress-track {
  width: 100%;
  height: 6px;
  border-radius: 10rem;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
  position: relative;
}

.tf-loader__progress-fill {
  width: 0%;
  height: 100%;
  border-radius: 10rem;
  background: linear-gradient(90deg, #ffffff 0%, #fc4c1f 52%, #fc4c1f 100%);
  box-shadow: 0 0 14px rgba(252, 76, 31, 0.6);
  transition: width 0.08s linear;
}

.tf-loader__count {
  min-width: 7.5rem;
  justify-content: flex-end;
}

.tf-loader__count span {
  font: 700 2.6rem/1 var(--_font-accent) !important;
  color: #ffffff !important;
  letter-spacing: -0.03em !important;
}

/* Keyframes for Transformer Preloader */
/* Diagram phase fades away at ~3.1s, leaving only the headline */
.tf-loader__content {
  animation: tfDiagramOut 0.45s cubic-bezier(0.55, 0, 0.45, 1) 3.1s forwards;
}

.tf-loader__final {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2.4rem;
  padding: 0 2rem;
  pointer-events: none;
  z-index: 3;
}

.tf-loader__final .tf-loader__headline {
  font-size: clamp(3.4rem, 7vw, 9.6rem);
  line-height: 1;
  letter-spacing: -0.04em;
  font-weight: 600;
  text-shadow:
    0 2px 6px rgba(0, 0, 0, 0.95),
    0 8px 24px rgba(0, 0, 0, 0.9),
    0 0 60px rgba(0, 0, 0, 0.85);
}

.tf-loader__final .tf-loader__headline .tf-word--highlight {
  text-shadow:
    0 2px 6px rgba(0, 0, 0, 0.95),
    0 8px 24px rgba(0, 0, 0, 0.9),
    0 0 40px rgba(252, 76, 31, 0.35);
}

/* Solid dark backdrop behind the final headline so nothing shows through */
.tf-loader__final::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(ellipse at center, #050505 0%, #0b0b0b 45%, #111111 100%);
  opacity: 0;
  animation: tfFadeIn 0.4s ease 3.1s forwards;
}

.tf-loader__final-line {
  display: block;
  width: min(36rem, 60vw);
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, transparent, var(--accent, #fc4c1f), transparent);
  transform: scaleX(0);
  animation: tfLineGrow 0.6s cubic-bezier(0.22, 1, 0.36, 1) 3.95s forwards;
}

@keyframes tfDiagramOut {
  to { opacity: 0; filter: blur(4px); visibility: hidden; }
}

@keyframes tfLineGrow {
  to { transform: scaleX(1); }
}

@media (prefers-reduced-motion: reduce) {
  .tf-loader__content { display: none; }
  .tf-loader__final .tf-word,
  .tf-loader__final-line { animation-delay: 0s !important; animation-duration: 0.01s !important; }
}

@keyframes tfPulseDot {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.35); opacity: 0.65; }
}

@keyframes tfFadeSlideDown {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes tfFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes tfTokenAppear {
  from { opacity: 0; transform: translateX(-14px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes tfDrawLine {
  to { stroke-dashoffset: 0; }
}

@keyframes tfDotPop {
  0% { opacity: 0; transform: scale(0.2); }
  70% { opacity: 1; transform: scale(1.22); }
  100% { opacity: 1; transform: scale(1); }
}

@keyframes tfWordReveal {
  0% {
    opacity: 0;
    transform: translateY(18px) scale(0.94);
    filter: blur(6px);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
  }
}

/* Responsive adjustments for Mobile / Tablet */
@media only screen and (max-width: 991px) {
  .tf-loader__wrapper {
    padding: 1.6rem 1.2rem;
  }
  .tf-loader__header {
    justify-content: center;
    text-align: center;
  }
  .tf-loader__stage {
    padding: 1rem;
  }
  .tf-loader__progress-row {
    grid-template-columns: 1fr auto;
    gap: 1rem;
  }
  .tf-loader__progress-track {
    grid-column: 1 / -1;
    order: -1;
  }
}

@media only screen and (max-width: 575px) {
  .tf-loader__formula {
    font-size: 1.05rem;
    padding: 0.45rem 0.9rem;
  }
  .tf-loader__headline {
    font-size: 2.3rem;
  }
  .tf-loader__stage-status {
    font-size: 1.15rem;
  }
  .tf-loader__count span {
    font-size: 2rem !important;
  }
}












/* ============================================================
   RESPONSIVE REFINEMENTS & ALIGNMENT — Complete Cross-Device Suite
   Mobile (≤575px & 576-767px) · Tablet (768-1199px)
   Laptop (1200-1599px) · Desktop & 4K (1600px, 1920px, 2560px+)
   ============================================================ */

/* Global boundary guards: no horizontal overflow on any device.
   overflow-x: clip (not hidden) so position: sticky keeps working. */
html {
  overflow-x: hidden;
  overflow-x: clip !important;
  max-width: 100% !important;
}

body {
  overflow-x: hidden;
  overflow-x: clip !important;
  max-width: 100% !important;
  width: 100% !important;
  min-width: 0 !important;
}

.mxd-page-content,
.mxd-hero-section,
.mxd-hero-01,
.mxd-hero-01__wrap {
  max-width: 100vw !important;
}

.mxd-about-profile-card img,
.mxd-exp-card img,
.mxd-stats-bento img,
.mxd-project-item img,
.mxd-blog-preview__card img,
.mxd-hero-01__video-wrap img,
.mxd-testimonials-card img {
  max-width: 100%;
}

.mxd-exp-card__role,
.mxd-vision-card__title,
.mxd-about-profile-card__name,
.mxd-pinned-projects .mxd-project-item__name a,
#awards .mxd-blog-preview__data > a,
.mxd-section-title h2 {
  overflow-wrap: break-word;
  word-break: normal;
  hyphens: manual;
}

/* Flex children shrinking safety */
.mxd-exp-card__company-info,
.mxd-about-profile-card__identity,
.mxd-exp-card__company-info > div,
.mxd-about-profile-card__identity > div {
  min-width: 0;
}

/* ============================================================
   HERO BANNER & 3-TIER STACK — Exact Match to Reference UI
   Tier 1: Sivabharath (with Trophy on Left, Robot on Right)
   Tier 2: Orange Capsule Marquee Pill (Black Bold Text)
   Tier 3: Subtitle Centered Below
   ============================================================ */

.hero-aligned-wrap {
  position: relative !important;
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 auto !important;
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  padding: 0 1.5rem !important;
}

.hero-center-stack {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  text-align: center !important;
  position: relative !important;
  width: 100% !important;
  max-width: 1040px !important;
  margin: 0 auto !important;
  z-index: 2 !important;
}

/* Tier 1: Sivabharath — Centered precisely between Siva and Robot */
.hero-name-heading {
  margin: 0 0 1.4rem 0 !important;
  padding: 0 !important;
  line-height: 1.05 !important;
  position: relative !important;
  left: 20px !important;
  z-index: 3 !important;
}

.hero-name-heading span {
  font-family: var(--_font-accent) !important;
  font-size: clamp(4.2rem, 7vw, 9.8rem) !important;
  font-weight: 600 !important;
  color: #ffffff !important;
  letter-spacing: -0.03em !important;
  display: inline-block !important;
  text-align: center !important;
}

/* Tier 2: Orange Capsule Marquee Pill */
.hero-marquee-pill {
  position: relative !important;
  top: auto !important;
  right: auto !important;
  bottom: auto !important;
  left: auto !important;
  width: min(940px, 92vw) !important;
  height: clamp(56px, 6vw, 88px) !important;
  border-radius: 999px !important;
  background-color: var(--accent, #fc4c1f) !important;
  border: none !important;
  overflow: hidden !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  margin: 0 auto 2.2rem auto !important;
  box-shadow: 0 16px 40px rgba(252, 76, 31, 0.36) !important;
  z-index: 3 !important;
}

.hero-marquee-pill .marquee-flex {
  display: flex !important;
  align-items: center !important;
  gap: clamp(1.8rem, 2.6vw, 3.6rem) !important;
}

.hero-marquee-pill .marquee__item.item-regular {
  display: flex !important;
  align-items: center !important;
  gap: clamp(1.6rem, 2.2vw, 3.2rem) !important;
  margin: 0 !important;
  color: #161616 !important;
}

.hero-marquee-pill .marquee__item.item-regular p {
  font-family: var(--_font-accent) !important;
  font-size: clamp(2.6rem, 4vw, 5.4rem) !important;
  font-weight: 600 !important;
  color: #161616 !important;
  line-height: 1 !important;
  margin: 0 !important;
  white-space: nowrap !important;
}

.hero-marquee-pill .marquee__item.item-regular svg {
  width: clamp(2.4rem, 3.2vw, 4.2rem) !important;
  height: clamp(2.4rem, 3.2vw, 4.2rem) !important;
  fill: #161616 !important;
  color: #161616 !important;
  flex-shrink: 0 !important;
}

/* Tier 3: Subtitle */
.hero-banner-subtitle {
  font-family: var(--_font-default) !important;
  font-size: clamp(1.35rem, 1.35vw, 1.85rem) !important;
  font-weight: 400 !important;
  color: #ffffff !important;
  letter-spacing: -0.01em !important;
  line-height: 1.4 !important;
  text-align: center !important;
  margin: 1.6rem auto 0 auto !important;
  width: 100% !important;
  max-width: 100% !important;
  white-space: normal !important;
  display: block !important;
  position: relative !important;
  z-index: 3 !important;
}

/* Flanking Hero Images: Trophy on Left, Robot Mascot on Right — Anchored Directly to Central Stack */
.hero-center-stack .hero-01-image,
.hero-aligned-wrap .hero-01-image {
  display: block !important;
  position: absolute !important;
  pointer-events: none !important;
}

.hero-center-stack .hero-01-image img,
.hero-aligned-wrap .hero-01-image img {
  width: 100% !important;
  height: auto !important;
  display: block !important;
  object-fit: contain !important;
  filter: drop-shadow(0 14px 32px rgba(0, 0, 0, 0.6)) !important;
}

/* Siva with Trophy — Left: placed exactly in marked left oval, trophy fully visible */
.hero-center-stack .hero-01-image.image-01,
.hero-aligned-wrap .hero-01-image.image-01 {
  display: block !important;
  position: absolute !important;
  left: auto !important;
  right: calc(50% + 225px) !important;
  top: -88px !important;
  width: clamp(150px, 16vw, 205px) !important;
  z-index: 1 !important; /* Layer 2: behind orange pill and text */
}

/* Robot Mascot — Right: moved away from name to give clean breathing room */
.hero-center-stack .hero-01-image.image-02,
.hero-aligned-wrap .hero-01-image.image-02 {
  display: block !important;
  position: absolute !important;
  right: auto !important;
  left: calc(50% + 265px) !important;
  top: -22px !important;
  width: clamp(95px, 11vw, 140px) !important;
  z-index: 3 !important;
}

/* ---------- 1. MOBILE PHONES (≤767px) ---------- */
@media only screen and (max-width: 767px) {
  /* Hero Top Container & Wrapping */
  .mxd-hero-01__wrap {
    padding: 0 1.2rem !important;
  }

  .mxd-hero-01__top {
    padding: 4.8rem 0 2.5rem 0 !important;
    min-height: 0 !important;
    height: auto !important;
  }

  .hero-aligned-wrap {
    padding: 0 !important;
  }

  .hero-center-stack {
    max-width: 100% !important;
    padding: 0 4px !important;
    position: relative !important;
  }

  /* Siva with Trophy on Left */
  .hero-center-stack .hero-01-image.image-01,
  .hero-aligned-wrap .hero-01-image.image-01 {
    display: block !important;
    position: absolute !important;
    left: auto !important;
    right: calc(50% + 94px) !important;
    top: -28px !important;
    width: clamp(52px, 15vw, 68px) !important;
    z-index: 1 !important;
  }

  /* Robot Mascot on Right */
  .hero-center-stack .hero-01-image.image-02,
  .hero-aligned-wrap .hero-01-image.image-02 {
    display: block !important;
    position: absolute !important;
    right: auto !important;
    left: calc(50% + 104px) !important;
    top: -8px !important;
    width: clamp(38px, 11vw, 50px) !important;
    z-index: 3 !important;
  }

  /* Tier 1: Sivabharath Heading — Centered between Siva & Robot */
  .hero-name-heading {
    margin: 0 0 1rem 0 !important;
    position: relative !important;
    left: 5px !important;
  }

  .hero-name-heading span {
    font-size: clamp(2.4rem, 7.2vw, 3.4rem) !important;
    white-space: nowrap !important;
  }

  /* Tier 2: Orange Capsule Marquee Pill */
  .hero-marquee-pill {
    width: min(340px, 94vw) !important;
    max-width: 360px !important;
    height: 48px !important;
    margin: 0 auto 1.4rem auto !important;
  }

  .hero-marquee-pill .marquee__item.item-regular p {
    font-size: clamp(1.8rem, 4.8vw, 2.2rem) !important;
  }

  .hero-marquee-pill .marquee__item.item-regular svg {
    width: 2rem !important;
    height: 2rem !important;
  }

  /* Tier 3: Subtitle */
  .hero-banner-subtitle {
    font-size: clamp(1.15rem, 3.2vw, 1.35rem) !important;
    line-height: 1.5 !important;
    padding: 0 6px !important;
    white-space: normal !important;
    max-width: min(360px, 94vw) !important;
    margin: 1.2rem auto 0 auto !important;
    overflow-wrap: break-word !important;
  }

  /* Hero Bottom Area on Mobile */
  .mxd-hero-01__bottom {
    flex-direction: column-reverse !important;
    margin-top: 2.8rem !important;
    height: auto !important;
    gap: 2rem !important;
  }

  .mxd-hero-01__data-wrap {
    padding: 1.8rem 0 1.2rem 0 !important;
    text-align: center !important;
  }

  .mxd-hero-01__data-descr {
    max-width: min(360px, 92vw) !important;
    margin: 0 auto 1.8rem auto !important;
    text-align: center !important;
  }

  .mxd-hero-01__data-socials ul {
    justify-content: center !important;
    gap: 1.6rem !important;
  }

  .mxd-hero-01__data-btn {
    display: flex !important;
    justify-content: center !important;
    margin-bottom: 1.8rem !important;
  }

  .mxd-hero-01__video-wrap {
    width: 100% !important;
    max-width: min(380px, 92vw) !important;
    margin: 0 auto !important;
    border-radius: 1.6rem !important;
  }

  /* About / Vision on Mobile */
  .mxd-about-profile-card {
    padding: 2.6rem 2rem !important;
  }

  .mxd-about-profile-card__top {
    flex-wrap: wrap !important;
  }

  .mxd-vision-card {
    padding: 2.4rem 2rem !important;
  }

  .mxd-vision-card__title {
    font-size: 2.1rem !important;
  }

  .mxd-pillars-strip {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 1.2rem !important;
  }

  /* Education & Experience on Mobile */
  .mxd-exp-header {
    margin-bottom: 3.8rem !important;
  }

  .mxd-exp-title {
    font-size: 3.4rem !important;
  }

  .mxd-center-timeline {
    padding-left: 3rem !important;
  }

  .mxd-center-timeline__axis {
    left: 0.8rem !important;
  }

  .mxd-exp-timeline__dot {
    left: -2.85rem !important;
  }

  .mxd-exp-card {
    padding: 2.4rem 1.8rem !important;
    gap: 2rem !important;
  }

  .mxd-exp-card__company-head {
    align-items: flex-start !important;
    gap: 1.2rem !important;
    padding-bottom: 1.6rem !important;
  }

  .mxd-exp-card__logo {
    width: 4.8rem !important;
    height: 4.8rem !important;
    border-radius: 1.2rem !important;
    padding: 0.8rem !important;
  }

  .mxd-exp-card__role {
    font-size: 1.9rem !important;
  }

  /* Statistics Cards on Mobile */
  .mxd-stats-cards__item {
    min-height: 0 !important;
    height: auto !important;
  }

  .mxd-stats-cards__inner.mxd-stats-bento {
    padding: 1.8rem !important;
    gap: 1.8rem !important;
  }

  .mxd-stats-bento__media {
    height: 220px !important;
  }

  .mxd-stats-bento__content .mxd-counter__number {
    font-size: 4.8rem !important;
  }

  /* Projects & Awards on Mobile */
  .mxd-pinned-projects .mxd-project-item {
    padding: 1.1rem !important;
    border-radius: 2.2rem !important;
    max-width: 100% !important;
  }

  #awards .mxd-blog-preview__card {
    padding: 1.2rem !important;
    border-radius: 2.2rem !important;
  }

  /* Services vector images on Mobile */
  .services-stack__image {
    margin-top: 2rem !important;
    text-align: center !important;
  }

  .services-stack__image .service-img-s {
    max-height: 160px !important;
    width: auto !important;
    margin: 0 auto !important;
    display: block !important;
    object-fit: contain !important;
  }

  /* YouTube Marquee on Mobile */
  .marquee--gsap .marquee__item.yt-video-item,
  .marquee--gsap .marquee__item.has-caption {
    width: min(352px, 80vw) !important;
    height: auto !important;
    aspect-ratio: 16 / 9 !important;
  }

  /* Preloader Mobile Adjustments */
  .tf-mini-tok,
  .tf-head-meta,
  .tf-prob-pct {
    display: none !important;
  }

  .tf-loader__badge {
    font-size: 1.05rem !important;
    padding: 0.55rem 1rem !important;
  }

  .tf-loader__stage {
    border-radius: 1.4rem !important;
    padding: 0.8rem !important;
  }

  .tf-loader__svg {
    max-height: 38vh !important;
  }
}

/* Smallest phones (≤380px) */
@media only screen and (max-width: 380px) {
  .mxd-pillars-strip {
    grid-template-columns: 1fr !important;
  }

  .mxd-stats-pill {
    white-space: normal !important;
    max-width: 100% !important;
    font-size: 1.1rem !important;
  }

  .mxd-stats-bento__content .mxd-counter__number {
    font-size: 4.2rem !important;
  }

  .mxd-exp-title {
    font-size: 3rem !important;
  }

  .mxd-exp-card {
    padding: 2rem 1.5rem !important;
  }

  .mxd-exp-card__step-num {
    display: none !important;
  }

  .tf-loader__formula {
    display: none !important;
  }

  .tf-loader__final .tf-loader__headline {
    font-size: 2.8rem !important;
  }
}

/* ---------- 2. TABLETS (768px – 1199px) ---------- */
@media only screen and (min-width: 768px) and (max-width: 1199px) {
  .mxd-hero-01__wrap {
    padding: 0 2.5rem !important;
  }

  .mxd-hero-01__top {
    padding: 5.5rem 0 3.5rem 0 !important;
    min-height: 0 !important;
    height: auto !important;
  }

  .hero-center-stack {
    max-width: 720px !important;
    position: relative !important;
  }

  /* Siva with Trophy on Left */
  .hero-center-stack .hero-01-image.image-01,
  .hero-aligned-wrap .hero-01-image.image-01 {
    display: block !important;
    position: absolute !important;
    left: auto !important;
    right: calc(50% + 180px) !important;
    top: -68px !important;
    width: clamp(130px, 16vw, 165px) !important;
    z-index: 1 !important;
  }

  /* Robot Mascot on Right */
  .hero-center-stack .hero-01-image.image-02,
  .hero-aligned-wrap .hero-01-image.image-02 {
    display: block !important;
    position: absolute !important;
    right: auto !important;
    left: calc(50% + 215px) !important;
    top: -18px !important;
    width: clamp(85px, 11vw, 115px) !important;
    z-index: 3 !important;
  }

  /* Tier 1: Sivabharath Heading — Centered between Siva & Robot */
  .hero-name-heading {
    position: relative !important;
    left: 18px !important;
    margin-bottom: 1.2rem !important;
  }

  .hero-name-heading span {
    font-size: clamp(4.6rem, 6.4vw, 6.8rem) !important;
    white-space: nowrap !important;
  }

  /* Tier 2: Orange Capsule Marquee Pill */
  .hero-marquee-pill {
    width: min(680px, 90vw) !important;
    height: 68px !important;
    margin: 0 auto 1.8rem auto !important;
  }

  .hero-marquee-pill .marquee__item.item-regular p {
    font-size: clamp(3rem, 4vw, 4rem) !important;
  }

  .hero-marquee-pill .marquee__item.item-regular svg {
    width: 3.2rem !important;
    height: 3.2rem !important;
  }

  /* Tier 3: Subtitle */
  .hero-banner-subtitle {
    font-size: 1.55rem !important;
    line-height: 1.45 !important;
    white-space: normal !important;
    max-width: 680px !important;
    margin: 1.4rem auto 0 auto !important;
    text-align: center !important;
  }

  /* Hero Bottom Area on Tablet */
  .mxd-hero-01__bottom {
    display: flex !important;
    flex-direction: row !important;
    justify-content: space-between !important;
    align-items: flex-end !important;
    margin-top: 3.2rem !important;
    gap: 2.5rem !important;
    height: auto !important;
  }

  .mxd-hero-01__data-wrap {
    flex: 1 1 auto !important;
    max-width: 440px !important;
    padding: 0 !important;
  }

  .mxd-hero-01__video-wrap {
    flex: 0 0 260px !important;
    max-width: 280px !important;
    border-radius: 1.6rem !important;
    overflow: hidden !important;
  }

  /* Statistics Cards on Tablet */
  .mxd-stats-cards__item {
    height: auto !important;
    min-height: 340px !important;
    margin-bottom: 2.4rem !important;
  }

  .mxd-stats-cards__inner.mxd-stats-bento {
    grid-template-columns: 46% minmax(0, 1fr) !important;
    padding: 2.4rem !important;
    gap: 2.4rem !important;
    height: 100% !important;
  }

  .mxd-stats-bento--media-right {
    grid-template-columns: minmax(0, 1fr) 46% !important;
  }

  .mxd-stats-bento__media {
    height: 100% !important;
    min-height: 240px !important;
  }

  /* Awards on Tablet: 2-column on portrait, 3-column on landscape */
  #awards .mxd-blog-preview .row {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 2.2rem !important;
  }

  #awards .mxd-blog-preview__item {
    width: 100% !important;
    max-width: 100% !important;
  }

  /* Services vector images on Tablet */
  .services-stack__image .service-img-s {
    max-height: 200px !important;
    width: auto !important;
    margin: 0 auto !important;
    display: block !important;
    object-fit: contain !important;
  }

  /* Projects on Tablet */
  .mxd-pinned-projects .mxd-project-item {
    max-width: 520px !important;
  }
}

/* Tablet Landscape: 992px – 1199px adjustments */
@media only screen and (min-width: 992px) and (max-width: 1199px) {
  #awards .mxd-blog-preview .row {
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 2rem !important;
  }
}

/* ---------- 3. LAPTOP & DESKTOP (1200px – 1599px) ---------- */
@media only screen and (min-width: 1200px) and (max-width: 1599px) {
  .hero-center-stack {
    max-width: 1040px !important;
  }

  .hero-center-stack .hero-01-image.image-01,
  .hero-aligned-wrap .hero-01-image.image-01 {
    display: block !important;
    position: absolute !important;
    left: auto !important;
    right: calc(50% + 230px) !important;
    top: -88px !important;
    width: 215px !important;
    z-index: 1 !important;
  }

  .hero-center-stack .hero-01-image.image-02,
  .hero-aligned-wrap .hero-01-image.image-02 {
    display: block !important;
    position: absolute !important;
    right: auto !important;
    left: calc(50% + 270px) !important;
    top: -22px !important;
    width: 150px !important;
    z-index: 3 !important;
  }

  .hero-name-heading {
    position: relative !important;
    left: 20px !important;
  }

  .hero-name-heading span {
    font-size: 8.6rem !important;
  }

  .hero-marquee-pill {
    width: 940px !important;
    height: 88px !important;
    margin: 0 auto 2.2rem auto !important;
  }

  .hero-marquee-pill .marquee__item.item-regular p {
    font-size: 5.4rem !important;
  }

  .hero-marquee-pill .marquee__item.item-regular svg {
    width: 4.2rem !important;
    height: 4.2rem !important;
  }

  .hero-banner-subtitle {
    font-size: 1.85rem !important;
    white-space: nowrap !important;
  }
}

/* ---------- 4. LARGE SCREENS & 4K (≥1600px, 1920px, 2560px+) ---------- */
@media only screen and (min-width: 1600px) {
  .hero-center-stack {
    max-width: 1240px !important;
  }

  .hero-center-stack .hero-01-image.image-01,
  .hero-aligned-wrap .hero-01-image.image-01 {
    display: block !important;
    position: absolute !important;
    left: auto !important;
    right: calc(50% + 295px) !important;
    top: -115px !important;
    width: 270px !important;
    z-index: 1 !important;
  }

  .hero-center-stack .hero-01-image.image-02,
  .hero-aligned-wrap .hero-01-image.image-02 {
    display: block !important;
    position: absolute !important;
    right: auto !important;
    left: calc(50% + 345px) !important;
    top: -30px !important;
    width: 190px !important;
    z-index: 3 !important;
  }

  .hero-name-heading {
    position: relative !important;
    left: 25px !important;
  }

  .hero-name-heading span {
    font-size: 11.2rem !important;
  }

  .hero-marquee-pill {
    width: 1120px !important;
    height: 104px !important;
    margin: 0 auto 2.8rem auto !important;
  }

  .hero-marquee-pill .marquee__item.item-regular p {
    font-size: 6.8rem !important;
  }

  .hero-marquee-pill .marquee__item.item-regular svg {
    width: 5.2rem !important;
    height: 5.2rem !important;
  }

  .hero-banner-subtitle {
    font-size: 2.5rem !important;
    white-space: nowrap !important;
  }

  /* Ultra-wide centering and max container bounds */
  .mxd-hero-01 {
    max-width: 1920px !important;
    margin: 0 auto !important;
    width: 100% !important;
  }

  .mxd-container {
    max-width: 1920px !important;
    margin: 0 auto !important;
    width: 100% !important;
  }

  .tf-loader__content {
    max-width: 1440px !important;
  }

  .mxd-pinned-projects .mxd-project-item {
    max-width: 660px !important;
  }
}

/* ---------- 5. LANDSCAPE PHONES (Short Viewports) ---------- */
@media only screen and (max-height: 500px) and (orientation: landscape) {
  .tf-loader__header,
  .tf-loader__stage-status {
    display: none !important;
  }

  .tf-loader__content {
    gap: 1rem !important;
  }

  .tf-loader__svg {
    max-height: 62vh !important;
  }

  .tf-loader__final .tf-loader__headline {
    font-size: clamp(2.8rem, 6vw, 5rem) !important;
  }

  .mxd-hero-01__top {
    padding: 3rem 0 !important;
  }
}

/* ---------- 6. TOUCH DEVICES: Clean Interaction ---------- */
@media (hover: none) {
  .mxd-stats-cards__item:hover .mxd-stats-cards__inner.mxd-stats-bento,
  .mxd-pinned-projects .mxd-project-item:hover,
  #awards .mxd-blog-preview__card:hover,
  .mxd-exp-card:hover,
  .mxd-vision-card:hover,
  .mxd-pillar-item:hover {
    transform: none !important;
  }

  .mxd-stats-cards__item:hover .mxd-counter__number {
    transform: none !important;
  }
}
