:root {
  --ink: #111827;
  --ink-soft: #334155;
  --muted: #64748b;
  --paper: #f8fafc;
  --surface: #ffffff;
  --surface-strong: #eef5ff;
  --line: #d7dfeb;
  --navy: #0f172a;
  --blue: #1d4ed8;
  --teal: #0f766e;
  --gold: #b7791f;
  --crimson: #9f1239;
  --green: #15803d;
  --shadow: 0 18px 42px rgba(15, 23, 42, 0.12);
  --shadow-strong: 0 28px 70px rgba(15, 23, 42, 0.22);
  --radius: 8px;
  --focus: 0 0 0 3px rgba(29, 78, 216, 0.25);
  --hero-start: #0f172a;
  --hero-end: #1e3a8a;
  color-scheme: light;
}

:root[data-theme="dark"] {
  --ink: #e5e7eb;
  --ink-soft: #cbd5e1;
  --muted: #94a3b8;
  --paper: #020617;
  --surface: #0f172a;
  --surface-strong: #111f36;
  --line: #263348;
  --navy: #e5e7eb;
  --blue: #60a5fa;
  --teal: #2dd4bf;
  --gold: #fbbf24;
  --crimson: #fb7185;
  --green: #4ade80;
  --shadow: 0 18px 42px rgba(0, 0, 0, 0.28);
  --shadow-strong: 0 28px 70px rgba(0, 0, 0, 0.38);
  --focus: 0 0 0 3px rgba(96, 165, 250, 0.28);
  --hero-start: #020617;
  --hero-end: #172554;
  color-scheme: dark;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  background:
    linear-gradient(180deg, var(--paper), var(--paper)),
    var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
  letter-spacing: 0;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.admin-open {
  background: var(--paper);
}

body.overlay-open {
  overflow: hidden;
}

img,
svg {
  display: block;
}

img {
  max-width: 100%;
}

@keyframes siteFadeUp {
  from {
    opacity: 0;
    transform: translateY(14px);
  }

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

@keyframes heroImageImpact {
  0% {
    opacity: 0.92;
    transform: scale(0.985) translateY(6px);
    filter: saturate(1) contrast(1) drop-shadow(0 24px 48px rgba(2, 6, 23, 0.24));
  }

  45% {
    opacity: 1;
    transform: scale(1.006) translateY(0);
  }

  100% {
    opacity: 1;
    transform: scale(1.018) translateY(-4px);
    filter: saturate(1.12) contrast(1.03) drop-shadow(0 30px 60px rgba(2, 6, 23, 0.3));
  }
}

@keyframes heroBackdropImpact {
  0% {
    transform: scale(1.05);
  }

  100% {
    transform: scale(1.11);
  }
}

@keyframes landingCopyReveal {
  from {
    opacity: 0;
    filter: blur(8px);
    transform: translateY(18px);
  }

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

@keyframes landingImageReveal {
  from {
    opacity: 0.86;
    transform: translateY(10px) scale(0.992);
  }

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

@keyframes landingBackdropDrift {
  from {
    transform: translate3d(-8px, 0, 0) scale(1.08);
  }

  to {
    transform: translate3d(8px, -6px, 0) scale(1.12);
  }
}

@keyframes landingAccentSweep {
  from {
    opacity: 0;
    transform: translateX(-34%);
  }

  22%,
  72% {
    opacity: 0.72;
  }

  to {
    opacity: 0;
    transform: translateX(34%);
  }
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

:focus-visible {
  outline: none;
  box-shadow: var(--focus);
}

.skip-link {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 100;
  padding: 10px 14px;
  color: #ffffff;
  background: #0f172a;
  border-radius: var(--radius);
  transform: translateY(-180%);
}

.skip-link:focus {
  transform: translateY(0);
}

.shell {
  width: min(1160px, calc(100% - 32px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  border-bottom: 1px solid color-mix(in srgb, var(--line) 82%, transparent);
  backdrop-filter: blur(18px);
}

.header-shell {
  width: min(1160px, calc(100% - 32px));
  display: grid;
  grid-template-columns: minmax(230px, 260px) minmax(0, 1fr) auto;
  align-items: center;
  gap: 16px;
  min-height: 82px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand > span:last-child {
  min-width: 0;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  flex: 0 0 auto;
  color: #ffffff;
  background: linear-gradient(135deg, #1d4ed8, #0f766e 54%, #9f1239);
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 50%;
  font-weight: 900;
}

.brand strong,
.brand small {
  display: block;
  max-width: 100%;
  overflow: hidden;
}

.brand strong {
  color: var(--ink);
  font-size: 0.98rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.brand small {
  display: -webkit-box;
  max-width: 210px;
  margin-top: 2px;
  overflow: hidden;
  color: var(--muted);
  font-size: 0.61rem;
  font-weight: 700;
  line-height: 1.18;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.main-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
}

.mobile-menu-tools {
  display: none;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 12px;
  color: var(--ink-soft);
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 750;
  white-space: nowrap;
}

.nav-link:hover {
  color: var(--blue);
  background: var(--surface-strong);
}

.nav-link[aria-current="page"] {
  color: #ffffff;
  background: var(--blue);
}

.header-actions {
  display: inline-flex;
  justify-content: end;
  align-items: center;
  gap: 8px;
}

.nav-toggle {
  display: none;
  place-items: center;
  width: 40px;
  height: 40px;
  padding: 0;
  color: var(--ink);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 50%;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 2px 0;
  background: currentColor;
  border-radius: 999px;
  transition: transform 160ms ease, opacity 160ms ease;
}

.nav-toggle.active span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.nav-toggle.active span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.nav-toggle.active {
  color: #020617;
  background: #ffffff;
  border-color: #cbd5e1;
}

.language-switcher {
  display: inline-flex;
  align-items: center;
  padding: 3px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 999px;
  box-shadow: 0 1px 0 rgba(15, 23, 42, 0.04);
}

.language-switcher button {
  display: grid;
  place-items: center;
  min-width: 40px;
  min-height: 32px;
  padding: 0 10px;
  color: var(--ink-soft);
  background: transparent;
  border: 0;
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 850;
}

.language-switcher button strong {
  font: inherit;
}

.language-switcher button span {
  display: none;
}

.language-switcher button[aria-pressed="true"] {
  color: #ffffff;
  background: var(--navy);
}

:root[data-theme="dark"] .language-switcher button[aria-pressed="true"] {
  color: #020617;
  background: var(--ink);
}

.icon-button {
  display: inline-grid;
  place-items: center;
  width: 40px;
  height: 40px;
  color: var(--ink);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 50%;
}

.icon-button:hover {
  color: var(--blue);
  border-color: color-mix(in srgb, var(--blue) 38%, var(--line));
}

.icon-button svg {
  width: 18px;
  height: 18px;
}

.hero {
  position: relative;
  min-height: calc(100svh - 76px);
  display: grid;
  align-items: center;
  overflow: hidden;
  color: #ffffff;
  background:
    linear-gradient(125deg, color-mix(in srgb, var(--hero-start) 95%, #111827), var(--hero-end) 68%, #0f766e),
    var(--hero-start);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.08), transparent 18%, transparent 82%, rgba(255, 255, 255, 0.06)),
    linear-gradient(180deg, rgba(2, 6, 23, 0), rgba(2, 6, 23, 0.2));
}

.hero.hero-carousel {
  display: block;
  min-height: calc(100svh - 76px);
  background:
    radial-gradient(circle at 72% 36%, rgba(29, 78, 216, 0.22), transparent 34%),
    #08111f;
}

.hero-carousel::before {
  display: none;
}

.hero-carousel-inner {
  position: relative;
  min-height: inherit;
  overflow: hidden;
}

.hero-slide {
  position: absolute;
  inset: 0;
  min-height: inherit;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateX(100%) scale(0.98);
  transition: transform 760ms cubic-bezier(0.22, 1, 0.36, 1), opacity 760ms ease;
  will-change: transform, opacity;
}

.hero-slide.active {
  z-index: 2;
  pointer-events: auto;
  opacity: 1;
  visibility: visible;
  transform: translateX(0) scale(1);
}

.hero-slide.slide-enter-next {
  z-index: 3;
  opacity: 0;
  visibility: visible;
  transform: translateX(100%) scale(0.98);
}

.hero-slide.slide-enter-prev {
  z-index: 3;
  opacity: 0;
  visibility: visible;
  transform: translateX(-100%) scale(0.98);
}

.hero-slide.slide-exit-left {
  z-index: 1;
  opacity: 0;
  transform: translateX(-100%) scale(0.98);
}

.hero-slide.slide-exit-right {
  z-index: 1;
  opacity: 0;
  transform: translateX(100%) scale(0.98);
}

.hero-slide.active .hero-slide-backdrop {
  animation: heroBackdropImpact 5200ms ease-out both;
}

.hero-slide.active .hero-slide-image {
  animation: heroImageImpact 5200ms ease-out both;
}

.hero-slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(2, 6, 23, 0.58), rgba(15, 23, 42, 0.34) 38%, rgba(15, 23, 42, 0.08) 68%, rgba(2, 6, 23, 0.3)),
    linear-gradient(180deg, rgba(2, 6, 23, 0.1), rgba(2, 6, 23, 0.04) 48%, rgba(2, 6, 23, 0.42));
}

.hero-slide-backdrop {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: var(--hero-position, center center);
  opacity: 0.85;
  filter: saturate(1.1) contrast(1.04);
  transform: scale(1.02);
}

.hero-slide-media,
.hero-slide-image {
  display: none;
}

.hero-slide-shell.hero-slide-shell-overlay {
  position: relative;
  z-index: 3;
  width: min(620px, 100%);
  padding: clamp(24px, 4vw, 42px);
  background: linear-gradient(180deg, rgba(4, 10, 24, 0.88), rgba(4, 10, 24, 0.72));
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 24px;
  box-shadow: 0 42px 84px rgba(2, 6, 23, 0.32);
}

.hero-slide-shell {
  position: relative;
  z-index: 2;
  display: grid;
  justify-items: start;
  align-items: center;
  min-height: calc(100svh - 76px);
  padding: clamp(56px, 8vh, 92px) clamp(24px, 6vw, 108px);
}

.hero-slide-shell.hero-slide-shell-overlay {
  max-width: min(760px, 100%);
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(4, 10, 24, 0.92), rgba(4, 10, 24, 0.72));
  box-shadow: 0 44px 90px rgba(2, 6, 23, 0.3);
}

.hero-slide-shell.hero-slide-shell-overlay .hero-carousel-copy {
  padding: 0;
  background: transparent;
  box-shadow: none;
}

.hero-slide-shell.hero-slide-shell-overlay .hero-actions {
  margin-top: 20px;
}

.hero-carousel-copy {
  width: min(520px, 100%);
  padding: clamp(22px, 3vw, 34px);
  background: linear-gradient(145deg, rgba(2, 6, 23, 0.84), rgba(15, 23, 42, 0.67));
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 18px;
  box-shadow: 0 24px 60px rgba(2, 6, 23, 0.28);
  backdrop-filter: blur(14px);
  text-shadow: 0 2px 18px rgba(2, 6, 23, 0.62);
  animation: siteFadeUp 620ms ease both;
}

.hero-carousel-copy .eyebrow {
  max-width: 42rem;
  font-size: clamp(0.62rem, 0.9vw, 0.72rem);
  line-height: 1.35;
  letter-spacing: 0.08em;
}

.hero-carousel-copy .hero-title {
  max-width: 100%;
  font-size: clamp(2.1rem, 4.1vw, 3.15rem);
}

.hero-kicker-list {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-bottom: 14px;
}

.hero-kicker-list span {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 5px 10px;
  color: #dbeafe;
  background: rgba(37, 99, 235, 0.24);
  border: 1px solid rgba(191, 219, 254, 0.3);
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 850;
  line-height: 1.2;
}

.hero-carousel-copy .hero-role {
  max-width: 42rem;
  font-size: 0.86rem;
}

.hero-carousel-copy .hero-subtitle {
  max-width: 37rem;
  font-size: clamp(0.82rem, 1.15vw, 0.96rem);
  line-height: 1.35;
}

.hero-clean-copy {
  width: min(680px, 100%);
}

.hero-clean-copy .hero-title {
  max-width: 13ch;
}

.hero-clean-copy .hero-slide-title {
  max-width: min(680px, 20ch);
  font-size: clamp(1.55rem, 3.4vw, 2.85rem);
  line-height: 1.08;
}

.hero-clean-copy .hero-subtitle {
  max-width: 620px;
  font-size: clamp(0.92rem, 1.4vw, 1.08rem);
  font-weight: 850;
}

.hero-slide-panel {
  display: grid;
  gap: 6px;
  max-width: 600px;
  margin-top: 12px;
  padding-left: 14px;
  border-left: 3px solid #fbbf24;
}

.hero-slide-panel span {
  width: max-content;
  max-width: 100%;
  padding: 4px 9px;
  color: #bfdbfe;
  background: rgba(255, 255, 255, 0.13);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.hero-slide-panel h2 {
  margin: 0;
  max-width: 100%;
  font-size: clamp(1.02rem, 1.8vw, 1.48rem);
  line-height: 1.12;
  overflow-wrap: anywhere;
}

.hero-slide-panel p {
  max-width: 560px;
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: clamp(0.78rem, 1.05vw, 0.9rem);
  line-height: 1.42;
  overflow-wrap: anywhere;
}

.hero-carousel-copy .hero-actions {
  margin-top: 14px;
}

.hero-carousel-copy .button {
  min-height: 40px;
  padding: 0 15px;
  font-size: 0.82rem;
}

.hero-carousel-copy .hero-social {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, max-content));
  gap: 8px;
  align-items: center;
  max-width: 100%;
  margin-top: 10px;
}

.hero-carousel-copy .hero-social .social-link {
  min-height: 32px;
  padding: 0 10px;
  font-size: 0.74rem;
  white-space: nowrap;
}

.hero-carousel-indicators {
  position: absolute;
  left: 50%;
  bottom: 28px;
  z-index: 7;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 7px;
  width: auto;
  max-width: min(600px, calc(100% - 116px));
  margin: 0;
  padding: 8px 10px;
  background: rgba(15, 23, 42, 0.24);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  backdrop-filter: blur(12px);
  transform: translateX(-50%);
}

.hero-carousel-indicators button {
  width: 9px;
  height: 9px;
  padding: 0;
  background: rgba(255, 255, 255, 0.62);
  border: 0;
  border-radius: 999px;
  opacity: 0.9;
  transition: width 180ms ease, background-color 180ms ease, opacity 180ms ease;
}

.hero-carousel-indicators button.active {
  width: 30px;
  background: #fbbf24;
  opacity: 1;
}

.hero-carousel-control {
  position: absolute;
  top: 50%;
  z-index: 7;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  padding: 0;
  color: #020617;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 50%;
  box-shadow: 0 18px 44px rgba(2, 6, 23, 0.28);
  transform: translateY(-50%);
  transition: transform 160ms ease, background-color 160ms ease;
}

.hero-carousel-control:hover {
  background: #ffffff;
  transform: translateY(-50%) scale(1.04);
}

.hero-carousel-control svg {
  width: 20px;
  height: 20px;
}

.hero-carousel-prev {
  left: max(18px, calc((100vw - 1160px) / 2 - 72px));
}

.hero-carousel-prev svg {
  transform: rotate(180deg);
}

.hero-carousel-next {
  right: max(18px, calc((100vw - 1160px) / 2 - 72px));
}

.hero-shell {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(270px, 360px);
  gap: 38px;
  align-items: center;
  padding: 28px 0 34px;
}

.hero-copy {
  width: min(660px, 100%);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 12px;
  color: #bfdbfe;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 36px;
  height: 2px;
  background: #fbbf24;
}

.hero-title,
.page-title {
  margin: 0;
  line-height: 1.03;
  letter-spacing: 0;
  overflow-wrap: anywhere;
}

.hero-title {
  max-width: 12ch;
  font-size: clamp(2.9rem, 5.4vw, 3.95rem);
  font-weight: 900;
}

.hero-text {
  display: grid;
  gap: 9px;
  max-width: 660px;
  margin: 14px 0 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.92rem;
  line-height: 1.48;
}

.hero-text p {
  margin: 0;
}

.hero-role {
  margin: 10px 0 0;
  color: #bfdbfe;
  font-size: 0.92rem;
  font-weight: 850;
  line-height: 1.35;
}

.hero-subtitle {
  max-width: 620px;
  margin: 8px 0 0;
  color: #ffffff;
  font-size: 1rem;
  font-weight: 850;
  line-height: 1.35;
}

.hero-actions,
.section-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.hero-social {
  margin-top: 12px;
}

.social-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 38px;
  padding: 0 12px;
  color: var(--ink-soft);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.84rem;
  font-weight: 850;
  transition: transform 160ms ease, border-color 160ms ease, background-color 160ms ease;
}

.hero-social .social-link {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.24);
}

.social-link:hover {
  transform: translateY(-2px);
  border-color: color-mix(in srgb, var(--blue) 35%, var(--line));
}

.social-link svg {
  width: 17px;
  height: 17px;
  flex: 0 0 auto;
}

.social-link.youtube {
  color: #ffffff;
  background: #dc2626;
  border-color: #dc2626;
}

.hero-portrait {
  min-width: 0;
  justify-self: end;
}

.portrait-frame {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  max-height: 430px;
  background: #0f172a;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: var(--radius);
  box-shadow: var(--shadow-strong);
  animation: siteFadeUp 520ms ease both;
}

.hero-photo,
.profile-photo,
.contact-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-photo {
  object-position: center 32%;
}

.portrait-caption {
  display: grid;
  gap: 3px;
  margin-top: 14px;
  padding-left: 14px;
  border-left: 3px solid #fbbf24;
}

.portrait-caption strong {
  color: #ffffff;
  font-size: 1.04rem;
}

.portrait-caption span {
  color: rgba(255, 255, 255, 0.74);
  overflow-wrap: anywhere;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 46px;
  padding: 0 18px;
  color: var(--ink);
  background: var(--surface);
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 850;
  text-align: center;
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease, background-color 160ms ease;
}

.button:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.12);
}

.button svg {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
}

.button.primary {
  color: #ffffff;
  background: var(--blue);
}

.button.secondary {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.32);
}

.button.dark {
  color: #ffffff;
  background: #0f172a;
}

:root[data-theme="dark"] .button.dark {
  color: #020617;
  background: #e5e7eb;
}

.button.light {
  color: var(--ink);
  background: var(--surface);
  border-color: var(--line);
}

.button.warning {
  color: #ffffff;
  background: var(--crimson);
}

.section {
  padding: 82px 0;
}

.section.alt {
  background: var(--surface-strong);
}

.section.deep {
  color: #ffffff;
  background:
    linear-gradient(135deg, #0f172a, #1e293b 58%, #102f32),
    #0f172a;
}

:root[data-theme="dark"] .section.deep {
  background:
    linear-gradient(135deg, #020617, #111827 58%, #0b2f2f),
    #020617;
}

.metrics-section {
  padding: 34px 0 42px;
  background: var(--surface);
  border-bottom: 1px solid var(--line);
}

.metric-carousel {
  position: relative;
  margin-top: 24px;
  padding: 24px 58px 28px;
  overflow: hidden;
  background:
    radial-gradient(circle at 18% 14%, rgba(251, 191, 36, 0.2), transparent 28%),
    linear-gradient(135deg, rgba(15, 23, 42, 0.97), rgba(30, 64, 175, 0.9) 54%, rgba(15, 118, 110, 0.92)),
    #0f172a;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  box-shadow: 0 24px 64px rgba(2, 6, 23, 0.22);
}

.metric-carousel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
  color: #ffffff;
}

.metric-carousel-head .section-kicker {
  margin-bottom: 4px;
}

.metric-carousel-head h2 {
  margin: 0;
  font-size: 1.45rem;
  line-height: 1.2;
}

.metric-carousel-controls {
  display: flex;
  justify-content: space-between;
  position: absolute;
  left: 12px;
  right: 12px;
  top: calc(50% + 28px);
  z-index: 5;
  pointer-events: none;
  transform: translateY(-50%);
}

.carousel-arrow {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  color: #020617;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(255, 255, 255, 0.64);
  border-radius: 50%;
  box-shadow: 0 14px 34px rgba(2, 6, 23, 0.24);
  pointer-events: auto;
}

.carousel-arrow:hover {
  color: var(--blue);
  border-color: color-mix(in srgb, var(--blue) 38%, var(--line));
}

.carousel-arrow svg {
  width: 19px;
  height: 19px;
}

.carousel-prev svg {
  transform: rotate(180deg);
}

.metric-carousel-viewport {
  overflow: hidden;
  touch-action: pan-y;
  border-radius: var(--radius);
}

.metric-carousel-track {
  display: flex;
  gap: 18px;
  transition: transform 520ms cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}

.metric-carousel-card {
  position: relative;
  flex: 0 0 calc((100% - 54px) / 4);
  min-width: 0;
  min-height: 300px;
  margin: 0;
  overflow: hidden;
  color: #ffffff;
  background: #0f172a;
  border-radius: var(--radius);
  box-shadow: 0 14px 34px rgba(2, 6, 23, 0.22);
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.metric-carousel-card:hover,
.metric-carousel-card:focus-within {
  transform: translateY(-4px);
  box-shadow: 0 22px 48px rgba(2, 6, 23, 0.34);
}

.metric-carousel-open {
  display: block;
  position: relative;
  width: 100%;
  height: 100%;
  min-height: inherit;
  padding: 0;
  overflow: hidden;
  color: inherit;
  background: transparent;
  border: 0;
  border-radius: inherit;
  text-align: left;
}

.metric-carousel-card img {
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: cover;
  transition: transform 520ms cubic-bezier(0.22, 1, 0.36, 1), filter 520ms ease;
}

.metric-carousel-card img.contain {
  object-fit: contain;
  padding: 10px;
  background: #020617;
}

.metric-carousel-card:hover img,
.metric-carousel-card:focus-within img {
  transform: scale(1.08);
  filter: saturate(1.08) contrast(1.04);
}

.metric-carousel-card:hover img.contain,
.metric-carousel-card:focus-within img.contain {
  transform: scale(1.02);
}

.metric-carousel-card figcaption {
  position: absolute;
  inset: auto 0 0;
  display: grid;
  gap: 6px;
  padding: 44px 14px 14px;
  background: linear-gradient(180deg, transparent, rgba(2, 6, 23, 0.88));
  pointer-events: none;
}

.metric-carousel-card figcaption span {
  width: max-content;
  max-width: 100%;
  padding: 3px 8px;
  color: #bfdbfe;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 850;
  text-transform: uppercase;
}

.metric-carousel-card figcaption strong {
  line-height: 1.2;
  overflow-wrap: anywhere;
}

.home-about-heading {
  align-items: center;
}

.home-about-actions {
  justify-content: flex-end;
  margin-top: 0;
}

.profile-story-section {
  background:
    linear-gradient(180deg, var(--surface), var(--paper));
}

.professional-profile-section {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 92% 8%, color-mix(in srgb, var(--blue) 12%, transparent), transparent 28%),
    linear-gradient(180deg, var(--surface), var(--paper));
}

.professional-profile-section::before {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  content: "";
  background: linear-gradient(90deg, var(--blue), var(--teal), var(--gold));
}

.professional-profile-header {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(340px, 0.9fr);
  gap: 48px;
  align-items: end;
  margin-bottom: 38px;
}

.professional-profile-title {
  max-width: 12ch;
  font-size: clamp(2.2rem, 4.5vw, 4.5rem);
  line-height: 0.98;
  letter-spacing: -0.045em;
}

.professional-profile-intro {
  display: grid;
  gap: 14px;
  padding-left: 24px;
  border-left: 3px solid var(--blue);
}

.professional-profile-lead {
  margin: 0;
  color: var(--ink);
  font-size: clamp(1.08rem, 1.7vw, 1.3rem);
  font-weight: 800;
  line-height: 1.42;
}

.professional-profile-layout {
  display: grid;
  grid-template-columns: minmax(300px, 0.62fr) minmax(0, 1.38fr);
  gap: 24px;
  align-items: start;
}

.professional-profile-visual {
  position: sticky;
  top: 96px;
  min-width: 0;
}

.professional-profile-images {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.72fr);
  gap: 12px;
  align-items: start;
}

.professional-profile-images img {
  width: 100%;
  height: 360px;
  object-fit: cover;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.professional-profile-images img:nth-child(2) {
  height: 260px;
  margin-top: 42px;
}

.professional-profile-section .profile-expertise {
  margin: 14px 0 0 !important;
  padding: 16px;
  color: #ffffff !important;
  background:
    linear-gradient(135deg, rgba(29, 78, 216, 0.3), transparent 64%),
    #0f172a;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  font-size: 0.86rem;
  line-height: 1.5;
}

.professional-role-panel {
  padding: 12px;
  background: color-mix(in srgb, var(--surface) 92%, transparent);
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 4px);
  box-shadow: var(--shadow);
}

.professional-role-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.professional-role-item {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr);
  gap: 9px;
  align-items: start;
  min-height: 0;
  padding: 11px;
  background: var(--surface-strong);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.professional-role-item:last-child {
  grid-column: 1 / -1;
}

.professional-role-item:hover {
  z-index: 1;
  border-color: color-mix(in srgb, var(--blue) 55%, var(--line));
  box-shadow: 0 14px 28px rgba(15, 23, 42, 0.1);
  transform: translateY(-2px);
}

.professional-role-item > span {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  color: #ffffff;
  background: var(--blue);
  border-radius: 50%;
  font-size: 0.65rem;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.professional-role-item p {
  margin: 2px 0 0;
  color: var(--ink-soft);
  font-size: 0.83rem;
  font-weight: 700;
  line-height: 1.36;
}

.professional-profile-actions {
  justify-content: flex-end;
  margin-top: 12px;
}

.profile-story {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.72fr);
  gap: 34px;
  align-items: center;
}

.story-media {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.78fr);
  gap: 14px;
  align-items: end;
}

.story-media img {
  width: 100%;
  height: 430px;
  object-fit: cover;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.story-media img:nth-child(2) {
  height: 330px;
}

.story-copy {
  min-width: 0;
}

.highlight-list {
  display: grid;
  gap: 12px;
  padding: 0;
  margin: 24px 0 0;
  list-style: none;
}

.highlight-list li {
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  color: var(--ink-soft);
}

.highlight-list svg {
  width: 18px;
  height: 18px;
  margin-top: 4px;
  color: var(--blue);
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(280px, 0.55fr);
  gap: 28px;
  align-items: end;
  margin-bottom: 34px;
}

.section-kicker {
  margin: 0 0 10px;
  color: var(--blue);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.deep .section-kicker {
  color: #93c5fd;
}

.section-title,
.page-title {
  margin: 0;
  font-size: 2rem;
  font-weight: 830;
}

.section-text {
  margin: 0;
  color: var(--muted);
  font-size: 1rem;
}

.deep .section-text,
.deep .card p {
  color: rgba(255, 255, 255, 0.76);
}

.page-hero {
  min-height: 50px;
  display: grid;
  align-items: end;
  color: #ffffff;
  background:
    linear-gradient(135deg, rgba(15, 23, 42, 0.96), rgba(30, 64, 175, 0.86)),
    #0f172a;
}

.page-hero-shell {
  padding: 62px 0 42px;
  animation: siteFadeUp 460ms ease both;
}

.page-hero .section-kicker {
  color: #bfdbfe;
}

.page-hero .section-text {
  max-width: 720px;
  margin-top: 12px;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.52;
}

.metric-grid,
.service-grid,
.blog-grid,
.value-grid {
  display: grid;
  gap: 18px;
}

.metric-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.service-grid,
.blog-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.blog-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.home-explore-section {
  padding: 36px 0 32px;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.04), rgba(255, 255, 255, 0.95));
}

.home-explore-shell {
  display: grid;
  gap: 20px;
}

.home-explore-intro {
  max-width: 620px;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
}

.home-explore-intro .section-kicker {
  margin-bottom: 0.2rem;
}

.home-explore-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.75fr);
  gap: 24px;
  align-items: stretch;
}

.home-explore-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 4px;
}

.home-explore-highlights span {
  display: inline-flex;
  align-items: center;
  padding: 0.65rem 0.95rem;
  border: 1px solid rgba(15, 23, 42, 0.08);
  background: rgba(255, 255, 255, 0.84);
  color: var(--ink-soft);
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 600;
}

.home-explore-nav {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  height: 100%;
  align-content: center;
}

.home-explore-nav-link {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  min-height: 60px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: calc(var(--radius) * 1.05);
  box-shadow: 0 12px 36px rgba(15, 23, 42, 0.08);
  text-decoration: none;
  overflow: hidden;
  opacity: 0;
  transform: translateY(20px);
  animation: homeNavEntrance 620ms ease forwards, homeNavFloat 2500ms ease-in-out infinite 700ms;
  animation-delay: calc(90ms * var(--explore-order));
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.home-explore-nav-link::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(59, 130, 246, 0.16), transparent 70%);
  opacity: 0;
  transition: opacity 240ms ease;
  pointer-events: none;
}

.home-explore-nav-link:hover,
.home-explore-nav-link:focus-visible {
  transform: translateY(-3px) scale(1.02);
  border-color: rgba(59, 130, 246, 0.4);
  box-shadow: 0 24px 64px rgba(15, 23, 42, 0.14);
}

.home-explore-nav-link:hover::before,
.home-explore-nav-link:focus-visible::before {
  opacity: 1;
}

.home-explore-nav-link:hover .home-explore-nav-action,
.home-explore-nav-link:focus-visible .home-explore-nav-action {
  transform: translateX(3px);
  background: rgba(59, 130, 246, 0.16);
}

.home-explore-nav-index {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  color: #ffffff;
  background: var(--blue);
  border-radius: 50%;
  font-size: 0.9rem;
  font-weight: 700;
  box-shadow: 0 8px 18px rgba(59, 130, 246, 0.25);
}

.home-explore-nav-copy {
  display: grid;
  gap: 4px;
}

.home-explore-nav-copy strong {
  font-size: 0.95rem;
}

.home-explore-nav-copy em {
  color: var(--ink-soft);
  font-style: normal;
  font-size: 0.8rem;
  line-height: 1.45;
}

.home-explore-nav-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  color: var(--blue);
  background: rgba(59, 130, 246, 0.1);
  border-radius: 50%;
  transition: transform 220ms ease, background 220ms ease;
}

.blog-page-section {
  padding-top: 40px;
  padding-bottom: 60px;
  background: #f9fafb;
}

.blog-page-head {
  display: grid;
  gap: 24px;
  max-width: 980px;
  margin-bottom: 40px;
}

.blog-page-head .section-title {
  margin-bottom: 1rem;
}

.blog-highlight-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.blog-highlight-card {
  display: grid;
  gap: 10px;
  padding: 22px 24px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  background: linear-gradient(145deg, #ffffff, #f8fbff);
  box-shadow: 0 20px 50px rgba(15, 23, 42, 0.06);
}

.blog-highlight-card h3 {
  margin: 0;
  font-size: 1.08rem;
}

.blog-highlight-card p {
  margin: 0;
  color: var(--ink-soft);
  line-height: 1.7;
}

.blog-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}

.blog-main {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-auto-rows: 1fr;
  gap: 24px;
  align-items: stretch;
}

.blog-card-link {
  display: flex;
  height: 100%;
  min-width: 0;
  text-decoration: none;
  color: inherit;
}

.blog-card {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: calc(var(--radius) * 1.2);
  border: 1px solid rgba(15, 23, 42, 0.08);
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  box-shadow: 0 20px 55px rgba(15, 23, 42, 0.08);
  transition: transform 260ms ease, box-shadow 260ms ease, border-color 260ms ease;
  opacity: 0;
  transform: translateY(20px);
  animation: blogCardReveal 700ms cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
  animation-delay: calc(120ms * var(--blog-index));
}

.blog-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  background: linear-gradient(90deg, rgba(37, 99, 235, 0.95), rgba(6, 182, 212, 0.92));
  opacity: 0.95;
}

.blog-card-link:hover .blog-card,
.blog-card-link:focus-visible .blog-card {
  transform: translateY(-6px) scale(1.01);
  border-color: rgba(59, 130, 246, 0.3);
  box-shadow: 0 36px 90px rgba(15, 23, 42, 0.14);
}

.blog-card-link:hover .blog-card-body h2,
.blog-card-link:focus-visible .blog-card-body h2 {
  color: var(--blue);
}

.blog-card-header {
  position: relative;
  overflow: hidden;
  min-height: 170px;
  flex-shrink: 0;
  background: linear-gradient(145deg, #e2e8f0, #f8fafc);
  transition: transform 260ms ease;
}

.blog-card-link:hover .blog-card-header,
.blog-card-link:focus-visible .blog-card-header {
  transform: translateY(-2px);
}

.blog-card-header .blog-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 540ms ease;
}

.blog-card-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  padding: 16px;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.24), transparent 60%);
  pointer-events: none;
}

.blog-card-overlay span {
  display: inline-flex;
  padding: 0.42rem 0.72rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  color: var(--ink);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.blog-card:hover .blog-image,
.blog-card:focus-within .blog-image {
  transform: scale(1.05);
}

.blog-card-body {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  gap: 10px;
  min-width: 0;
  padding: 18px 20px 20px;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.blog-card-meta {
  display: inline-flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
  width: fit-content;
  max-width: 100%;
  padding: 0.4rem 0.7rem;
  border-radius: 999px;
  font-size: 0.78rem;
  letter-spacing: 0.02em;
  color: var(--blue);
  text-transform: uppercase;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.blog-card-meta span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.blog-card-meta span::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
}

.blog-card-body h2 {
  margin: 0;
  font-size: clamp(1.1rem, 1.6vw, 1.28rem);
  line-height: 1.25;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.blog-card-body p {
  margin: 0;
  color: var(--ink-soft);
  line-height: 1.5;
  max-width: 100%;
  font-size: 0.94rem;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.blog-card-actions {
  display: flex;
  justify-content: flex-start;
  margin-top: auto;
  padding-top: 2px;
}

.blog-card-actions .button {
  padding: 0.8rem 1.05rem;
  border-radius: 999px;
}

.blog-read-more {
  color: var(--blue);
  background: rgba(59, 130, 246, 0.08);
  border: 1px solid rgba(59, 130, 246, 0.14);
}

.blog-read-more:hover,
.blog-read-more:focus-visible {
  background: rgba(59, 130, 246, 0.12);
}

.blog-detail-shell {
  max-width: 900px;
}

.blog-detail-card {
  overflow: hidden;
  border-radius: calc(var(--radius) * 1.3);
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 20px 60px rgba(15, 23, 42, 0.08);
}

.blog-detail-media {
  background: #e2e8f0;
}

.blog-detail-image {
  display: block;
  width: 100%;
  height: 320px;
  object-fit: cover;
}

.blog-detail-body {
  display: grid;
  gap: 16px;
  padding: 28px;
}

.blog-detail-text {
  display: grid;
  gap: 12px;
  color: var(--ink-soft);
  line-height: 1.9;
}

.blog-detail-actions {
  display: flex;
  justify-content: flex-start;
  margin-top: 4px;
}

@keyframes homeNavEntrance {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes homeNavFloat {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-2px);
  }
}


@keyframes floatIn {
  from {
    opacity: 0;
    transform: translateY(32px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 1100px) {
  .home-explore-layout,
  .blog-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 900px) {
  .blog-highlight-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 800px) {
  .home-explore-nav-link {
    grid-template-columns: auto 1fr auto;
  }

  .blog-main {
    grid-template-columns: 1fr;
  }

  .blog-sidebar {
    width: 100%;
  }
}

@media (max-width: 1100px) {
  .blog-layout {
    grid-template-columns: 1fr;
  }
}

.blog-sidebar {
  display: grid;
  gap: 20px;
}

.blog-sidebar-card {
  padding: 24px;
  display: grid;
  gap: 18px;
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: var(--radius);
}

.blog-sidebar-card--accent {
  color: #ffffff;
  background: linear-gradient(135deg, rgba(30, 64, 175, 0.96), rgba(59, 130, 246, 0.9));
}

.blog-sidebar-card--accent .section-kicker,
.blog-sidebar-card--accent h2,
.blog-sidebar-card--accent p {
  color: #ffffff;
}

.blog-sidebar-card--accent .button {
  justify-self: start;
  color: var(--blue);
  background: #ffffff;
}

.blog-sidebar-card--accent .button:hover,
.blog-sidebar-card--accent .button:focus-visible {
  background: #f8fbff;
}

.blog-sidebar-card h2 {
  margin: 0;
  font-size: clamp(1.3rem, 2vw, 1.75rem);
}

.blog-sidebar-nav {
  display: grid;
  gap: 12px;
}

.blog-sidebar-nav a {
  color: var(--ink-soft);
  text-decoration: none;
  transition: color 180ms ease;
}

.blog-sidebar-nav a:hover,
.blog-sidebar-nav a:focus-visible {
  color: var(--ink);
}

.blog-post {
  display: grid;
  gap: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.08);
}

.blog-card-header {
  overflow: hidden;
}

.blog-card-header .blog-image {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.blog-card-body {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  gap: 16px;
  padding: 28px;
}

.blog-card-body h2 {
  margin: 0;
  font-size: clamp(1.45rem, 2.3vw, 2rem);
}

.blog-card-body p {
  margin: 0;
  color: var(--ink-soft);
  line-height: 1.75;
}

.blog-date {
  color: var(--blue);
  font-size: 0.85rem;
  font-weight: 700;
}

@media (max-width: 1200px) {
  .explore-grid,
  .blog-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 800px) {
  .explore-grid,
  .blog-layout {
    gap: 16px;
  }

  .blog-sidebar {
    width: 100%;
  }
}

.home-blog-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.home-blog-card {
  min-height: 340px;
}

.value-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.media-strip,
.gallery-grid {
  display: grid;
  gap: 16px;
}

.media-strip {
  grid-template-columns: repeat(6, minmax(0, 1fr));
}

.gallery-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.gallery-actions {
  justify-content: center;
}

.gallery-item {
  position: relative;
  min-width: 0;
  min-height: 250px;
  margin: 0;
  overflow: hidden;
  color: #ffffff;
  background: #0f172a;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: transform 180ms ease, box-shadow 180ms ease;
  animation: siteFadeUp 420ms ease both;
}

.gallery-open {
  display: block;
  width: 100%;
  height: 100%;
  min-height: inherit;
  padding: 0;
  color: inherit;
  background: transparent;
  border: 0;
  text-align: left;
}

.gallery-item:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-strong);
}

.media-strip .gallery-item {
  min-height: 280px;
}

.gallery-grid .gallery-item:nth-child(6n + 1),
.gallery-grid .gallery-item:nth-child(6n + 4) {
  grid-row: span 2;
  min-height: 520px;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: cover;
  transition: transform 220ms ease, filter 220ms ease;
}

.gallery-item img.contain {
  object-fit: contain;
  padding: 10px;
  background: #020617;
}

.gallery-item:hover img {
  transform: scale(1.035);
  filter: saturate(1.05);
}

.gallery-item:hover img.contain {
  transform: scale(1.01);
}

.gallery-item figcaption {
  position: absolute;
  inset: auto 0 0;
  display: grid;
  gap: 4px;
  padding: 44px 16px 16px;
  background: linear-gradient(180deg, transparent, rgba(2, 6, 23, 0.84));
}

.gallery-item figcaption span {
  width: max-content;
  max-width: 100%;
  padding: 3px 8px;
  color: #bfdbfe;
  background: rgba(255, 255, 255, 0.13);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 850;
  text-transform: uppercase;
}

.gallery-item figcaption strong {
  line-height: 1.2;
  overflow-wrap: anywhere;
}

.gallery-lightbox {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: none;
  place-items: center;
  padding: 24px;
}

.gallery-lightbox.open {
  display: grid;
}

.gallery-lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(2, 6, 23, 0.82);
  backdrop-filter: blur(8px);
}

.gallery-lightbox-dialog {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr) 54px;
  gap: 12px;
  width: min(1060px, 100%);
  max-height: min(90vh, 880px);
  padding: 18px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-strong);
}

.modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 4;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  color: #020617;
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: 50%;
  font-size: 1rem;
  font-weight: 950;
  box-shadow: 0 12px 32px rgba(2, 6, 23, 0.18);
}

.gallery-lightbox-stage {
  grid-column: 2;
  display: grid;
  place-items: center;
  min-height: 420px;
  overflow: hidden;
  background: #020617;
  border-radius: var(--radius);
  cursor: grab;
  touch-action: pan-y;
}

.gallery-lightbox-stage:active {
  cursor: grabbing;
}

.gallery-lightbox-stage img {
  width: 100%;
  height: min(62vh, 620px);
  object-fit: contain;
  user-select: none;
}

.gallery-lightbox-nav {
  align-self: center;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  color: var(--ink);
  background: var(--surface-strong);
  border: 1px solid var(--line);
  border-radius: 50%;
}

.gallery-lightbox-nav svg {
  width: 20px;
  height: 20px;
}

.gallery-prev svg {
  transform: rotate(180deg);
}

.gallery-lightbox-caption {
  grid-column: 2;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.gallery-lightbox-caption span {
  padding: 4px 9px;
  color: var(--blue);
  background: color-mix(in srgb, var(--blue) 10%, var(--surface));
  border: 1px solid color-mix(in srgb, var(--blue) 16%, var(--line));
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 900;
  text-transform: uppercase;
}

.gallery-lightbox-caption strong {
  min-width: 0;
  overflow-wrap: anywhere;
}

.gallery-lightbox-strip {
  grid-column: 1 / -1;
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding: 4px 0 2px;
  scrollbar-width: thin;
}

.gallery-thumb {
  flex: 0 0 86px;
  overflow: hidden;
  aspect-ratio: 1;
  padding: 0;
  background: #020617;
  border: 2px solid transparent;
  border-radius: var(--radius);
  opacity: 0.62;
}

.gallery-thumb.active,
.gallery-thumb:hover {
  border-color: var(--blue);
  opacity: 1;
}

.gallery-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.compact-grid {
  margin-top: 30px;
}

.card {
  min-width: 0;
  padding: 24px;
  color: var(--ink);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 1px 0 rgba(15, 23, 42, 0.04);
  overflow-wrap: anywhere;
  animation: siteFadeUp 420ms ease both;
}

.deep .card {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.14);
}

.metric-card {
  padding: 26px 22px;
}

.metric-value {
  display: block;
  color: var(--blue);
  font-size: 3rem;
  font-weight: 950;
  line-height: 1;
}

.metric-label {
  display: block;
  margin-top: 8px;
  color: var(--ink-soft);
  font-weight: 800;
}

.card-icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 18px;
  color: #ffffff;
  background: var(--blue);
  border-radius: 50%;
}

.card-icon.rust {
  background: var(--teal);
}

.card-icon.gold {
  background: var(--gold);
}

.card-icon.crimson {
  background: var(--crimson);
}

.card-icon svg {
  width: 20px;
  height: 20px;
}

.card h3 {
  margin: 0 0 10px;
  font-size: 1.1rem;
  line-height: 1.25;
}

.card p {
  margin: 0;
  color: var(--muted);
}

.service-card {
  min-height: 240px;
}

.home-doctoral-section {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(2, 6, 23, 0.98), rgba(15, 23, 42, 0.95) 48%, rgba(15, 118, 110, 0.78)),
    #020617;
}

.home-doctoral-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px),
    linear-gradient(0deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.65), transparent 72%);
  pointer-events: none;
}

.home-doctoral-section .shell {
  position: relative;
  z-index: 1;
}

.home-doctoral-title {
  max-width: 880px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.65rem, 2.55vw, 2.45rem);
  font-weight: 700;
  line-height: 1.16;
  letter-spacing: 0;
}

.profile-expertise {
  margin-top: 1.25rem !important;
  color: var(--ink) !important;
  font-weight: 700;
  line-height: 1.65;
}

.home-description-section {
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--blue) 5%, transparent), transparent 46%),
    var(--paper);
}

.home-description-section .about-highlight-card {
  min-height: 250px;
  border-top: 3px solid var(--blue);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.home-description-section .about-highlight-card:nth-child(2) {
  border-top-color: var(--teal);
}

.home-description-section .about-highlight-card:nth-child(3) {
  border-top-color: var(--gold);
}

.home-description-section .about-highlight-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-4px);
}

.home-doctoral-section .section-heading {
  grid-template-columns: 1fr;
  max-width: 900px;
}

.doctoral-focus-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  align-items: stretch;
}

.doctoral-focus-card {
  --doctoral-accent: #60a5fa;
  position: relative;
  display: flex;
  min-height: 286px;
  flex-direction: column;
  gap: 18px;
  overflow: hidden;
  padding: 20px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.13), rgba(255, 255, 255, 0.07)),
    rgba(15, 23, 42, 0.52);
  border-color: rgba(255, 255, 255, 0.18);
  box-shadow: 0 24px 56px rgba(2, 6, 23, 0.22);
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.doctoral-focus-card:nth-child(2) {
  --doctoral-accent: #2dd4bf;
}

.doctoral-focus-card:nth-child(3) {
  --doctoral-accent: #fbbf24;
}

.doctoral-focus-card:nth-child(4) {
  --doctoral-accent: #fb7185;
}

.doctoral-focus-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: var(--doctoral-accent);
}

.doctoral-focus-card:hover {
  border-color: color-mix(in srgb, var(--doctoral-accent) 55%, rgba(255, 255, 255, 0.22));
  box-shadow: 0 30px 68px rgba(2, 6, 23, 0.3);
  transform: translateY(-4px);
}

.doctoral-focus-marker {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.doctoral-focus-icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  color: #ffffff;
  background: color-mix(in srgb, var(--doctoral-accent) 28%, rgba(255, 255, 255, 0.08));
  border: 1px solid color-mix(in srgb, var(--doctoral-accent) 48%, rgba(255, 255, 255, 0.24));
  border-radius: 50%;
}

.doctoral-focus-icon svg {
  width: 20px;
  height: 20px;
}

.doctoral-focus-number {
  color: color-mix(in srgb, var(--doctoral-accent) 76%, #ffffff);
  font-size: 0.78rem;
  font-weight: 950;
  letter-spacing: 0.1em;
}

.doctoral-focus-content {
  display: grid;
  gap: 10px;
}

.doctoral-focus-card h3 {
  margin: 0;
  font-size: 1.04rem;
  line-height: 1.28;
}

.doctoral-focus-card p {
  font-size: 0.9rem;
  line-height: 1.58;
}

.gallery-at-glance-section .section-heading {
  align-items: start;
}

.gallery-at-glance-title {
  font-size: clamp(1.75rem, 3vw, 2.65rem);
  line-height: 1.12;
}

.services-page-section {
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--blue) 7%, transparent), transparent 42%),
    linear-gradient(315deg, color-mix(in srgb, var(--teal) 8%, transparent), transparent 44%),
    var(--paper);
}

.services-overview-card {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.72fr);
  gap: 28px;
  align-items: stretch;
  margin-bottom: 28px;
  overflow: hidden;
  padding: 30px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.services-overview-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 5px;
  background: linear-gradient(90deg, var(--blue), var(--teal), var(--gold), var(--crimson));
}

.services-overview-copy {
  position: relative;
  display: grid;
  align-content: start;
  gap: 12px;
}

.services-overview-copy .card-icon {
  margin-bottom: 4px;
}

.services-overview-copy h2 {
  max-width: 720px;
  margin: 0;
  font-size: clamp(1.75rem, 3vw, 2.45rem);
  line-height: 1.08;
}

.services-overview-copy p:last-child {
  max-width: 720px;
  margin: 0;
  color: var(--ink-soft);
  font-size: 1.02rem;
}

.services-overview-list {
  display: grid;
  gap: 12px;
}

.services-overview-item {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  min-height: 92px;
  padding: 14px;
  background: var(--surface-strong);
  border: 1px solid color-mix(in srgb, var(--line) 80%, transparent);
  border-radius: var(--radius);
}

.services-overview-item span {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  color: var(--blue);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 50%;
  font-size: 0.75rem;
  font-weight: 950;
  letter-spacing: 0.08em;
}

.services-overview-item strong {
  display: block;
  color: var(--ink);
  line-height: 1.25;
}

.services-overview-item p {
  margin: 5px 0 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.45;
}

.service-detail-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.service-detail-card {
  position: relative;
  display: flex;
  min-height: 100%;
  flex-direction: column;
  align-items: flex-start;
  overflow: hidden;
  padding: 22px;
  border-color: color-mix(in srgb, var(--line) 88%, transparent);
  box-shadow: 0 16px 36px rgba(15, 23, 42, 0.08);
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.service-detail-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: var(--blue);
}

.service-detail-card:nth-child(4n + 2)::before {
  background: var(--teal);
}

.service-detail-card:nth-child(4n + 3)::before {
  background: var(--gold);
}

.service-detail-card:nth-child(4n + 4)::before {
  background: var(--crimson);
}

.service-detail-card:hover {
  border-color: color-mix(in srgb, var(--blue) 38%, var(--line));
  box-shadow: var(--shadow);
  transform: translateY(-4px);
}

.service-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  gap: 12px;
  margin-bottom: 18px;
}

.service-card-head .card-icon {
  margin-bottom: 0;
}

.service-card-number {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 950;
  letter-spacing: 0.1em;
}

.service-detail-card h3 {
  margin-bottom: 8px;
  font-size: 1.08rem;
}

.service-summary {
  margin: 0 0 1rem !important;
  color: var(--ink-soft) !important;
  font-weight: 700;
  line-height: 1.45;
}

.service-bullet-list {
  display: grid;
  gap: 0;
  width: 100%;
  margin: 0.2rem 0 0;
  padding: 0;
  list-style: none;
}

.service-bullet-list li {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  gap: 0.62rem;
  padding: 10px 0;
  border-top: 1px solid color-mix(in srgb, var(--line) 78%, transparent);
  color: var(--ink-soft);
  font-size: 0.93rem;
  line-height: 1.5;
}

.service-bullet-list li:first-child {
  border-top: 0;
}

.service-bullet-list svg {
  width: 1rem;
  height: 1rem;
  margin-top: 0.25rem;
  color: var(--blue);
}

@media (max-width: 1100px) {
  .services-overview-card,
  .service-detail-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .services-overview-copy {
    grid-column: 1 / -1;
  }

  .services-overview-list {
    grid-column: 1 / -1;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .services-overview-card,
  .service-detail-grid {
    grid-template-columns: 1fr;
  }

  .services-overview-card {
    padding: 22px;
  }

  .services-overview-list {
    grid-template-columns: 1fr;
  }

  .services-overview-item {
    min-height: 0;
  }
}

.research-layout,
.education-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(300px, 0.48fr);
  gap: 28px;
  align-items: start;
}

.research-main-card {
  padding: 32px;
}

.research-main-card h2,
.education-card h2 {
  margin: 0 0 14px;
  font-size: 2rem;
  line-height: 1.12;
}

.research-main-card p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 1.03rem;
}

.research-panel strong {
  font-size: 1.18rem;
}

.publication-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.publication-card {
  min-height: 250px;
}

.publication-card small {
  display: block;
  margin-top: 16px;
  color: var(--ink-soft);
  font-weight: 800;
}

.academic-search-section {
  padding: 64px 0;
}

.search-page-hero {
  min-height: 430px;
  overflow: hidden;
  background:
    radial-gradient(circle at 82% 22%, rgba(45, 212, 191, 0.2), transparent 24%),
    radial-gradient(circle at 72% 88%, rgba(59, 130, 246, 0.26), transparent 32%),
    linear-gradient(135deg, #07111f, #172554 58%, #134e4a);
}

.search-page-hero-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.42fr);
  gap: 48px;
  align-items: end;
}

.search-hero-copy {
  min-width: 0;
}

.search-page-hero .page-title {
  max-width: 20ch;
  font-size: clamp(2.45rem, 5vw, 4.4rem);
  line-height: 0.98;
}

.academic-hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-column: 1 / -1;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.09);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 14px;
  backdrop-filter: blur(12px);
}

.academic-hero-stats div {
  display: grid;
  gap: 2px;
  min-width: 0;
  padding: 15px 18px;
  border-right: 1px solid rgba(255, 255, 255, 0.16);
}

.academic-hero-stats div:last-child {
  border-right: 0;
}

.academic-hero-stats strong {
  color: #ffffff;
  font-size: 1.55rem;
  line-height: 1;
}

.academic-hero-stats span {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.76rem;
  font-weight: 800;
}

.academic-feature {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 0.42fr);
  gap: 20px;
  align-items: stretch;
}

.academic-feature-main,
.academic-panel,
.academic-list-panel {
  min-width: 0;
  padding: 28px;
  color: var(--ink);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 1px 0 rgba(15, 23, 42, 0.04);
}

.academic-feature-main {
  display: grid;
  gap: 14px;
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--blue) 11%, transparent), transparent 58%),
    var(--surface);
  border-top: 4px solid var(--blue);
}

.academic-feature-main h2,
.academic-panel h2 {
  margin: 0;
  font-size: clamp(1.5rem, 3vw, 2.35rem);
  line-height: 1.08;
  overflow-wrap: anywhere;
}

.academic-feature-main p,
.academic-panel p,
.academic-list p {
  margin: 0;
  color: var(--ink-soft);
}

.academic-author {
  color: var(--blue) !important;
  font-weight: 900;
}

.academic-doi-button {
  justify-self: start;
  margin-top: 4px;
}

.academic-meta-list {
  display: grid;
  gap: 14px;
  min-width: 0;
  margin: 0;
  padding: 22px;
  color: #ffffff;
  background:
    linear-gradient(150deg, #0f172a, #1e3a8a 58%, #0f766e),
    #0f172a;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.academic-meta-list div {
  min-width: 0;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}

.academic-meta-list div:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.academic-meta-list dt {
  margin-bottom: 5px;
  color: #bfdbfe;
  font-size: 0.74rem;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.academic-meta-list dd {
  margin: 0;
  color: rgba(255, 255, 255, 0.88);
  font-weight: 760;
  overflow-wrap: anywhere;
}

.academic-meta-list a {
  color: #ffffff;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.academic-list-panel {
  padding: 0;
  overflow: hidden;
}

.academic-list {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.academic-list li {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 14px;
  padding: 22px 24px;
  border-bottom: 1px solid var(--line);
  transition: background-color 160ms ease;
}

.academic-list li:hover {
  background: var(--surface-strong);
}

.academic-conference-panel {
  overflow: visible;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.academic-conference-panel .academic-list {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.academic-conference-panel .academic-list li {
  min-width: 0;
  align-content: start;
  background: var(--surface);
  border: 1px solid var(--line);
  border-top: 4px solid color-mix(in srgb, var(--blue) 78%, var(--teal));
  border-radius: 12px;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.07);
}

.academic-conference-panel .academic-list li:last-child:nth-child(odd) {
  grid-column: 1 / -1;
}

.academic-conference-panel .academic-list li:hover {
  background: color-mix(in srgb, var(--surface-strong) 72%, var(--surface));
}

.academic-list li:last-child {
  border-bottom: 0;
}

.academic-list-index {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  color: #ffffff;
  background: var(--blue);
  border-radius: 50%;
}

.academic-list-index svg {
  width: 18px;
  height: 18px;
}

.academic-list h3,
.academic-compact-item h3 {
  margin: 0 0 7px;
  font-size: 1.05rem;
  line-height: 1.22;
  overflow-wrap: anywhere;
}

.academic-meta,
.academic-note {
  margin-bottom: 7px !important;
  font-size: 0.9rem;
  font-weight: 820;
}

.academic-note {
  color: var(--muted) !important;
  font-style: italic;
}

.academic-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.academic-panel {
  display: grid;
  gap: 18px;
}

.academic-compact-list {
  display: grid;
  gap: 12px;
}

.academic-compact-item {
  padding: 15px;
  background: var(--surface-strong);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.academic-compact-item p {
  font-size: 0.92rem;
  font-weight: 760;
}

.academic-review-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.7fr) minmax(300px, 0.7fr);
  gap: 28px;
  align-items: start;
}

.academic-review-list {
  display: grid;
  gap: 12px;
}

.academic-review-list p {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  gap: 10px;
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
}

.academic-review-list svg {
  width: 18px;
  height: 18px;
  margin-top: 3px;
  color: #fbbf24;
}

.academic-review-list strong {
  color: #ffffff;
}

.credential-card {
  display: grid;
  gap: 12px;
}

.credential-list {
  display: grid;
  gap: 14px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.credential-list li {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  color: var(--ink-soft);
  font-weight: 760;
}

.credential-list svg {
  width: 18px;
  height: 18px;
  margin-top: 3px;
  color: var(--blue);
}

.education-media {
  position: relative;
  min-height: 430px;
  margin: 0;
  overflow: hidden;
  color: #ffffff;
  background: #0f172a;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.education-media img {
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: cover;
}

.education-media figcaption {
  position: absolute;
  inset: auto 0 0;
  padding: 46px 18px 18px;
  background: linear-gradient(180deg, transparent, rgba(2, 6, 23, 0.86));
  color: rgba(255, 255, 255, 0.88);
  font-weight: 800;
}

.service-showcase {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.58fr);
  gap: 34px;
  align-items: center;
}

.service-showcase-copy .section-title {
  max-width: 860px;
}

.service-focus-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 24px;
}

.service-focus-list span {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 58px;
  padding: 12px 14px;
  color: var(--ink-soft);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-weight: 850;
}

.service-focus-list svg {
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  color: var(--blue);
}

.service-showcase-media {
  position: relative;
  min-height: 430px;
  margin: 0;
  overflow: hidden;
  color: #ffffff;
  background: #0f172a;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.service-showcase-media img {
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: cover;
}

.service-showcase-media figcaption {
  position: absolute;
  inset: auto 0 0;
  padding: 46px 18px 18px;
  background: linear-gradient(180deg, transparent, rgba(2, 6, 23, 0.86));
  color: rgba(255, 255, 255, 0.88);
  font-weight: 800;
}

.blog-card {
  display: flex;
  flex-direction: column;
  padding: 0;
  min-height: 300px;
  overflow: hidden;
}

.blog-image {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  background: var(--surface-strong);
  border-bottom: 1px solid var(--line);
}

.blog-card-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 22px;
}

.blog-date {
  display: inline-flex;
  align-items: center;
  width: max-content;
  max-width: 100%;
  min-height: 30px;
  padding: 0 10px;
  margin-bottom: 16px;
  color: var(--blue);
  background: color-mix(in srgb, var(--blue) 11%, var(--surface));
  border: 1px solid color-mix(in srgb, var(--blue) 14%, var(--line));
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 850;
}

.blog-card .button {
  width: max-content;
  max-width: 100%;
  margin-top: auto;
}

.youtube-section {
  background:
    linear-gradient(180deg, var(--paper), color-mix(in srgb, var(--blue) 5%, var(--paper)));
}

.youtube-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.youtube-video-card {
  min-width: 0;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 1px 0 rgba(15, 23, 42, 0.04);
  animation: siteFadeUp 420ms ease both;
}

.youtube-video-card:hover {
  border-color: color-mix(in srgb, var(--blue) 34%, var(--line));
}

.youtube-card-frame,
.youtube-frame-wrap {
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: #020617;
  border-radius: var(--radius);
}

.youtube-card-frame {
  border-radius: 0;
}

.youtube-card-frame iframe,
.youtube-frame-wrap iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.youtube-card-body {
  display: grid;
  gap: 8px;
  padding: 14px 16px;
}

.youtube-card-number {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 30px;
  color: #ffffff;
  background: #dc2626;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 950;
}

.youtube-card-body h3 {
  margin: 0;
  font-size: 1rem;
  line-height: 1.25;
  text-align: center;
}

.youtube-card-body p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.youtube-card-actions,
.youtube-section-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.youtube-section-footer {
  justify-content: center;
  margin-top: 24px;
}

.video-modal {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: none;
  place-items: center;
  padding: 24px;
}

.video-modal.open {
  display: grid;
}

.video-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(2, 6, 23, 0.78);
  backdrop-filter: blur(8px);
}

.video-modal-dialog {
  position: relative;
  z-index: 1;
  width: min(980px, 100%);
  padding: 18px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-strong);
}

.video-modal-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 14px;
}

.video-modal-meta strong {
  min-width: 0;
  color: var(--ink);
  overflow-wrap: anywhere;
}

.video-modal-meta a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #dc2626;
  font-weight: 900;
}

.video-modal-meta svg {
  width: 18px;
  height: 18px;
}

.contact-feature-card {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(320px, 1fr);
  gap: 24px;
  align-items: center;
  padding: 26px;
  margin-bottom: 28px;
  color: var(--ink);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 1px 0 rgba(15, 23, 42, 0.04);
}

.contact-feature-card h2 {
  margin: 0 0 10px;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  line-height: 1.05;
}

.contact-feature-card p {
  margin: 0;
  color: var(--muted);
}

.contact-quick-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.contact-quick-grid a,
.contact-quick-grid > span {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  min-height: 58px;
  padding: 12px 14px;
  color: var(--ink-soft);
  background: var(--surface-strong);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-weight: 850;
}

.contact-quick-grid span span,
.contact-quick-grid a span {
  min-width: 0;
  overflow-wrap: anywhere;
  white-space: normal;
}

.contact-quick-grid strong,
.contact-quick-grid small {
  display: block;
}

.contact-quick-grid strong {
  color: var(--ink);
  font-size: 0.82rem;
  line-height: 1.2;
}

.contact-quick-grid small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.3;
}

.contact-quick-grid svg {
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  color: var(--blue);
}

.about-layout,
.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(300px, 0.48fr);
  gap: 28px;
  align-items: start;
}

.about-main {
  display: grid;
  gap: 24px;
}

.about-layout .profile-panel {
  position: sticky;
  top: 96px;
}

.about-narrative-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.46fr);
  gap: 24px;
  padding: 30px;
  color: var(--ink);
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--blue) 8%, transparent), transparent 58%),
    var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 1px 0 rgba(15, 23, 42, 0.04);
}

.about-narrative-copy,
.about-achievement-panel,
.about-section-card {
  min-width: 0;
}

.about-narrative-copy h2,
.about-section-card h2 {
  margin: 0;
  font-size: clamp(1.45rem, 3vw, 2.15rem);
  line-height: 1.08;
  overflow-wrap: anywhere;
}

.about-body {
  display: grid;
  gap: 12px;
  margin-top: 16px;
  color: var(--ink-soft);
}

.about-body p,
.about-section-card p {
  margin: 0;
}

.about-achievement-panel {
  align-self: stretch;
  padding: 18px;
  background: var(--surface-strong);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.about-achievement-list {
  display: grid;
  gap: 12px;
}

.about-achievement-item {
  display: grid;
  gap: 6px;
  padding: 14px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.about-achievement-item span,
.publication-mini-card span,
.about-timeline-number {
  color: var(--blue);
  font-size: 0.78rem;
  font-weight: 950;
  letter-spacing: 0.08em;
}

.about-achievement-item strong {
  line-height: 1.2;
}

.about-achievement-item p,
.about-section-card p,
.publication-mini-card p {
  color: var(--muted);
}

.about-section-card {
  display: grid;
  gap: 18px;
  padding: 26px;
  overflow-wrap: anywhere;
}

.about-section-head {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
}

.about-section-head .card-icon {
  margin: 0;
}

.about-research-card {
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--teal) 10%, transparent), transparent 58%),
    var(--surface);
}

.about-chip-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.about-cta-section {
  padding-top: 24px;
  padding-bottom: 8px;
}

.about-cta-actions {
  justify-content: flex-start;
}

.about-project-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.about-project-card {
  display: grid;
  gap: 12px;
  padding: 22px;
  background: var(--surface-strong);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.about-project-card strong {
  line-height: 1.2;
}

.project-institution {
  color: var(--blue);
  font-weight: 850;
}

.about-project-card p {
  margin: 0;
  color: var(--ink-soft);
}

.about-chip-list span {
  max-width: 100%;
  padding: 7px 10px;
  color: var(--ink-soft);
  background: var(--surface-strong);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 850;
}

.about-split-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1fr);
  gap: 16px;
  align-items: stretch;
}

.about-position {
  color: var(--ink-soft);
}

.publication-mini-grid {
  display: grid;
  gap: 10px;
}

.publication-mini-card {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  gap: 4px 10px;
  padding: 13px;
  background: var(--surface-strong);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.publication-mini-card h3 {
  margin: 0;
  font-size: 0.98rem;
  line-height: 1.2;
}

.publication-mini-card p {
  grid-column: 2;
  margin: 0;
  font-size: 0.9rem;
}

.about-timeline {
  display: grid;
  gap: 10px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.about-timeline li {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  padding: 14px;
  color: var(--ink-soft);
  background: var(--surface-strong);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-weight: 760;
}

.about-intro-card {
  padding: 30px;
  color: var(--ink);
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--blue) 8%, transparent), transparent 56%),
    var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 1px 0 rgba(15, 23, 42, 0.04);
}

.about-intro-card h2 {
  max-width: 760px;
  margin: 0 0 14px;
  font-size: clamp(1.8rem, 4vw, 3.1rem);
  line-height: 1.05;
}

.about-intro-card p {
  max-width: 860px;
  margin: 0;
  color: var(--ink-soft);
  font-size: 1.05rem;
}

.about-proof-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.about-highlight-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.about-highlight-card {
  min-height: 220px;
}

.about-highlight-card p {
  margin: 0;
  color: var(--muted);
}

.about-detail-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.about-detail-card {
  min-height: 240px;
}

.about-detail-card p {
  margin: 0;
  color: var(--muted);
}

.mini-list {
  display: grid;
  gap: 6px;
  padding-left: 18px;
  margin: 14px 0 0;
  color: var(--ink-soft);
  font-weight: 760;
}

.about-proof-strip span {
  min-width: 0;
  padding: 16px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.about-proof-strip strong,
.about-proof-strip small {
  display: block;
}

.about-proof-strip strong {
  color: var(--blue);
  font-size: 0.92rem;
  text-transform: uppercase;
}

.about-proof-strip small {
  margin-top: 6px;
  color: var(--muted);
  font-weight: 750;
  line-height: 1.35;
}

.about-value-grid {
  margin-top: 0;
}

.about-value-card {
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.about-value-card:hover {
  transform: translateY(-3px);
  border-color: color-mix(in srgb, var(--blue) 25%, var(--line));
  box-shadow: 0 16px 34px rgba(15, 23, 42, 0.11);
}

.profile-panel,
.contact-panel {
  padding: 24px;
  color: #ffffff;
  background:
    linear-gradient(150deg, #0f172a, #1e3a8a 56%, #0f766e),
    #0f172a;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.profile-photo,
.contact-photo {
  aspect-ratio: 1 / 1;
  margin-bottom: 18px;
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.24);
  object-position: center 30%;
}

.contact-photo {
  aspect-ratio: 16 / 10;
}

.profile-panel strong {
  display: block;
  margin-bottom: 6px;
  font-size: 1.15rem;
}

.profile-panel-action {
  width: 100%;
  margin-top: 22px;
}

.profile-panel span,
.contact-panel h2 {
  overflow-wrap: anywhere;
}

.contact-panel h2 {
  margin-bottom: 4px;
  font-size: clamp(1.35rem, 2.1vw, 1.8rem);
  line-height: 1.1;
}

.profile-list,
.contact-list {
  display: grid;
  gap: 14px;
  padding: 0;
  margin: 22px 0 0;
  list-style: none;
}

.profile-list li,
.contact-list li {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  color: rgba(255, 255, 255, 0.84);
  overflow-wrap: anywhere;
}

.contact-list li > span {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.contact-list strong {
  color: #ffffff;
  font-size: 0.78rem;
  line-height: 1.2;
}

.contact-list small,
.contact-list a {
  color: rgba(255, 255, 255, 0.84);
  line-height: 1.35;
}

.profile-list svg,
.contact-list svg {
  width: 18px;
  height: 18px;
  margin-top: 3px;
  color: #bfdbfe;
}

.contact-social-note {
  display: grid;
  gap: 10px;
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.contact-social-note strong {
  font-size: 0.9rem;
}

.contact-social-note p {
  margin: 0;
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.84rem;
  line-height: 1.48;
}

.contact-social-links {
  gap: 8px;
  justify-content: start;
}

.contact-social-links .social-link {
  width: 40px;
  height: 40px;
  justify-content: center;
  padding: 0;
}

.contact-form {
  display: grid;
  gap: 16px;
  padding: 28px;
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--blue) 7%, transparent), transparent 55%),
    var(--surface);
}

.contact-form-header {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-bottom: 8px;
}

.contact-form-header .card-icon {
  margin: 0;
}

.contact-form-header h2 {
  margin: 3px 0 0;
  font-size: clamp(1.35rem, 2.5vw, 2rem);
  line-height: 1.1;
}

.contact-form-intro {
  max-width: 62ch;
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.45;
}

.events-section {
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--blue) 8%, transparent), transparent 52%),
    var(--surface);
}

.event-feature {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(320px, 0.72fr);
  gap: 34px;
  align-items: center;
}

.event-feature-media {
  min-width: 0;
  margin: 0;
  overflow: hidden;
  background: #020617;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-strong);
}

.event-feature-media img {
  width: 100%;
  max-height: 660px;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  background: #020617;
}

.event-feature-copy {
  display: grid;
  gap: 13px;
  min-width: 0;
}

.event-feature-copy .section-title {
  font-size: clamp(2rem, 4.3vw, 3.15rem);
  line-height: 1.04;
}

.event-badge {
  display: inline-flex;
  align-items: center;
  width: max-content;
  max-width: 100%;
  min-height: 30px;
  padding: 7px 10px;
  color: #ffffff;
  background: linear-gradient(135deg, var(--blue), var(--teal));
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 900;
  line-height: 1.15;
  overflow-wrap: anywhere;
  text-align: left;
  text-transform: uppercase;
  white-space: normal;
}

.event-meta {
  margin: 0;
  color: var(--blue);
  font-weight: 900;
  overflow-wrap: anywhere;
}

.event-meta-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 8px;
}

.event-meta-grid span {
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr);
  gap: 8px;
  align-items: start;
  min-width: 0;
  padding: 13px;
  color: var(--ink-soft);
  background: var(--surface-strong);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-size: 0.88rem;
  font-weight: 760;
}

.event-meta-grid svg,
.event-detail-list svg {
  width: 17px;
  height: 17px;
  margin-top: 3px;
  color: var(--blue);
}

.events-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  align-items: stretch;
}

.event-card {
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: auto minmax(0, 1fr);
  min-width: 0;
  overflow: hidden;
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--blue) 5%, transparent), transparent 44%),
    var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.08);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.event-card:hover {
  transform: translateY(-3px);
  border-color: color-mix(in srgb, var(--blue) 28%, var(--line));
  box-shadow: var(--shadow);
}

.event-card-media {
  aspect-ratio: 4 / 3;
  min-height: 0;
  overflow: hidden;
  background: #020617;
}

.event-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 240ms ease, filter 240ms ease;
}

.event-card-media img.contain {
  object-fit: contain;
  padding: 10px;
  background: #020617;
}

.event-card:hover .event-card-media img {
  transform: scale(1.035);
  filter: saturate(1.06);
}

.event-card:hover .event-card-media img.contain {
  transform: scale(1.02);
}

.event-card-body {
  display: grid;
  align-content: start;
  gap: 8px;
  min-width: 0;
  padding: 16px;
}

.event-card-body h3 {
  margin: 0;
  font-size: 1rem;
  line-height: 1.16;
  overflow-wrap: anywhere;
}

.event-card-body p {
  margin: 0;
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.38;
  overflow-wrap: anywhere;
}

.event-card-body > p:not(.event-meta) {
  display: -webkit-box;
  min-height: 2.76em;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.event-card-featured {
  grid-column: span 2;
  grid-template-columns: 1fr;
  grid-template-rows: auto minmax(0, 1fr);
  border-top: 4px solid var(--blue);
}

.event-card-featured .event-card-media {
  min-height: 0;
  aspect-ratio: 4 / 3;
}

.event-card-featured .event-card-media img {
  object-position: var(--event-position, center 22%);
}

.event-card-featured .event-card-body {
  gap: 11px;
  padding: clamp(24px, 4vw, 42px);
}

.event-card-featured .event-card-body h3 {
  max-width: min(100%, 30ch);
  font-size: clamp(1.45rem, 2.4vw, 2rem);
  line-height: 1.08;
}

.event-announcement {
  display: grid;
  gap: 15px;
}

.event-announcement p {
  margin: 0;
  color: var(--ink-soft);
  font-size: clamp(0.86rem, 1.2vw, 0.94rem);
  line-height: 1.52;
  overflow-wrap: anywhere;
}

.event-announcement blockquote {
  display: grid;
  gap: 5px;
  margin: 2px 0;
  padding: 16px 18px;
  background: var(--surface-strong);
  border-left: 4px solid var(--gold);
  border-radius: 0 var(--radius) var(--radius) 0;
}

.event-announcement blockquote span {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.event-announcement blockquote strong {
  color: var(--ink);
  font-size: clamp(0.94rem, 1.4vw, 1.05rem);
  line-height: 1.35;
  overflow-wrap: anywhere;
}

@media (max-width: 1100px) {
  .event-card-featured {
    grid-column: span 1;
    grid-template-columns: 1fr;
  }

  .event-card-featured .event-card-media {
    min-height: 0;
    aspect-ratio: 16 / 10;
  }
}

@media (max-width: 700px) {
  .event-card-featured {
    grid-column: 1;
  }

  .event-card-featured .event-card-media {
    aspect-ratio: 4 / 3;
  }

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

  .event-announcement p {
    font-size: 0.88rem;
  }
}

.event-detail-list {
  display: grid;
  gap: 7px;
  padding: 0;
  margin: 8px 0 0;
  list-style: none;
}

.event-detail-list li {
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr);
  gap: 8px;
  align-items: start;
  color: var(--ink-soft);
  font-size: 0.82rem;
  font-weight: 750;
}

.event-social-wrap {
  margin-top: 28px;
}

.event-social-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.event-social-card {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  min-width: 0;
  padding: 18px;
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--teal) 8%, transparent), transparent 60%),
    var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.08);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.event-social-card:hover {
  transform: translateY(-3px);
  border-color: color-mix(in srgb, var(--blue) 32%, var(--line));
  box-shadow: var(--shadow);
}

.event-social-card > span {
  display: grid;
  grid-row: span 2;
  place-items: center;
  width: 44px;
  height: 44px;
  color: #ffffff;
  background: linear-gradient(135deg, var(--blue), var(--teal));
  border-radius: 50%;
}

.event-social-card svg {
  width: 20px;
  height: 20px;
}

.event-social-card strong,
.event-social-card small {
  min-width: 0;
  overflow-wrap: anywhere;
}

.event-social-card strong {
  align-self: end;
  font-size: 1rem;
}

.event-social-card small {
  align-self: start;
  color: var(--muted);
  line-height: 1.35;
}

.contact-field-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.field {
  display: grid;
  gap: 7px;
}

.field label {
  color: var(--ink-soft);
  font-size: 0.84rem;
  font-weight: 850;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 50px;
  padding: 12px 14px;
  color: var(--ink);
  background: var(--surface-strong);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: border-color 160ms ease, box-shadow 160ms ease, background-color 160ms ease;
}

.field textarea {
  min-height: 148px;
  resize: vertical;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--blue);
  background: var(--surface);
  box-shadow: var(--focus);
}

.field-helper {
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.35;
}

.admin-upload-control {
  position: relative;
  display: inline-flex;
  justify-self: start;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  padding: 10px 13px;
  color: var(--blue);
  background: color-mix(in srgb, var(--blue) 8%, var(--surface));
  border: 1px solid color-mix(in srgb, var(--blue) 26%, var(--line));
  border-radius: var(--radius);
  cursor: pointer;
  font-size: 0.86rem;
  font-weight: 850;
}

.admin-upload-control:hover {
  background: color-mix(in srgb, var(--blue) 12%, var(--surface));
}

.admin-upload-control svg {
  width: 17px;
  height: 17px;
}

.admin-upload-control input {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}

.admin-upload-control:has(input:disabled) {
  cursor: wait;
  opacity: 0.65;
}

.admin-grid {
  display: grid;
  grid-template-columns: 320px minmax(0, 1fr);
  gap: 22px;
  align-items: start;
}

.admin-hero {
  padding: 64px 0 30px;
  color: var(--ink);
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--blue) 10%, var(--paper)), var(--paper));
  border-bottom: 1px solid var(--line);
}

.admin-hero-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: end;
}

.admin-hero .page-title {
  margin-bottom: 12px;
}

.admin-hero-actions {
  justify-content: end;
  margin-top: 0;
}

.admin-dashboard {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  align-items: start;
}

.admin-traffic-panel {
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--blue) 8%, transparent), transparent 58%),
    var(--surface);
}

.admin-server-panel {
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--green) 8%, transparent), transparent 58%),
    var(--surface);
}

.admin-traffic-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.admin-stat-card {
  display: grid;
  gap: 7px;
  min-width: 0;
  padding: 16px;
  background: var(--surface-strong);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.admin-stat-card span {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.admin-stat-card strong {
  color: var(--ink);
  font-size: clamp(1.28rem, 2.5vw, 2rem);
  line-height: 1.05;
  overflow-wrap: anywhere;
}

.admin-stat-card small {
  color: var(--muted);
  line-height: 1.35;
}

.admin-traffic-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.admin-traffic-table {
  width: 100%;
  min-width: 520px;
  border-collapse: collapse;
  font-size: 0.9rem;
}

.admin-traffic-table th,
.admin-traffic-table td {
  padding: 12px 14px;
  border-bottom: 1px solid var(--line);
  text-align: left;
}

.admin-traffic-table th {
  color: var(--ink-soft);
  background: var(--surface-strong);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.admin-traffic-table tr:last-child td {
  border-bottom: 0;
}

.admin-panel-wide {
  grid-column: span 2;
}

.admin-panel-full {
  grid-column: 1 / -1;
}

.admin-card,
.admin-panel {
  padding: 22px;
  color: var(--ink);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 1px 0 rgba(15, 23, 42, 0.04);
}

.admin-panel {
  display: grid;
  gap: 20px;
}

.admin-panel-head {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: start;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}

.admin-panel-head > span {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  color: #ffffff;
  background: linear-gradient(135deg, var(--blue), var(--teal));
  border-radius: 50%;
}

.admin-panel-head svg {
  width: 20px;
  height: 20px;
}

.admin-panel-head h2 {
  margin: 0 0 4px;
  font-size: 1.08rem;
}

.status-pill {
  align-self: center;
  justify-self: end;
  padding: 7px 11px;
  color: var(--ink-soft);
  background: var(--surface-strong);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.78rem;
  line-height: 1;
  text-transform: uppercase;
}

.status-pill.ok {
  color: var(--green);
  background: color-mix(in srgb, var(--green) 10%, var(--surface));
  border-color: color-mix(in srgb, var(--green) 36%, var(--line));
}

.status-pill.warn {
  color: var(--crimson);
  background: color-mix(in srgb, var(--crimson) 9%, var(--surface));
  border-color: color-mix(in srgb, var(--crimson) 32%, var(--line));
}

.status-pill.pending {
  color: var(--gold);
  background: color-mix(in srgb, var(--gold) 10%, var(--surface));
  border-color: color-mix(in srgb, var(--gold) 34%, var(--line));
}

.admin-panel-head p {
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
}

.admin-card.sticky {
  position: sticky;
  top: 96px;
}

.admin-card h1,
.admin-card h2,
.admin-card h3,
.admin-panel h1,
.admin-panel h2,
.admin-panel h3 {
  margin: 0 0 14px;
}

.admin-section {
  display: grid;
  gap: 18px;
}

.admin-form {
  display: grid;
  gap: 18px;
}

.admin-form-columns {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
}

.admin-form-columns .field:has(textarea) {
  grid-column: span 2;
}

.admin-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}

.admin-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 14px;
}

.admin-list-item {
  display: grid;
  gap: 12px;
  padding: 16px;
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--blue) 4%, var(--surface)), var(--surface));
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.admin-item-preview,
.admin-video-preview,
.admin-media-preview {
  position: relative;
  overflow: hidden;
  width: 100%;
  background: #020617;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.admin-item-preview,
.admin-video-preview {
  aspect-ratio: 16 / 10;
}

.admin-media-preview {
  aspect-ratio: 4 / 3;
  max-width: 260px;
}

.admin-item-preview img,
.admin-video-preview img,
.admin-media-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.admin-item-preview img.contain,
.admin-media-preview img.contain {
  object-fit: contain;
  padding: 8px;
  background: #020617;
}

.admin-video-preview span {
  position: absolute;
  left: 12px;
  bottom: 12px;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  color: #ffffff;
  background: #dc2626;
  border-radius: 50%;
  box-shadow: 0 12px 30px rgba(2, 6, 23, 0.24);
}

.admin-video-preview svg {
  width: 22px;
  height: 22px;
}

.admin-list-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.admin-list-head strong {
  min-width: 0;
  overflow-wrap: anywhere;
}

.mini-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  color: var(--ink);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 50%;
}

.mini-button.danger {
  color: #ffffff;
  background: var(--crimson);
  border-color: var(--crimson);
}

.mini-button svg {
  width: 17px;
  height: 17px;
}

.admin-section-save {
  align-self: start;
  color: #ffffff;
  background: linear-gradient(135deg, var(--blue), var(--teal));
  border-color: transparent;
}

.login-panel {
  width: min(440px, calc(100% - 32px));
  margin: 72px auto;
}

.json-box {
  min-height: 170px;
  font-family: ui-monospace, SFMono-Regular, Consolas, "Liberation Mono", monospace;
  font-size: 0.84rem;
}

.site-footer {
  color: rgba(255, 255, 255, 0.74);
  background: #0f172a;
}

.footer-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 22px;
  align-items: center;
  min-height: 138px;
  padding: 26px 0;
}

.footer-brand strong {
  display: block;
  color: #ffffff;
  font-size: 1rem;
}

.footer-brand span {
  color: rgba(255, 255, 255, 0.68);
}

.footer-credit {
  grid-column: 1 / -1;
  justify-self: center;
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.86rem;
  text-align: center;
}

.creator-credit {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  color: #ffffff;
  background: linear-gradient(135deg, #1d4ed8, #0f766e);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  font-weight: 950;
}

.footer-stack {
  display: grid;
  gap: 14px;
  justify-items: end;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: end;
  gap: 12px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.82);
  font-weight: 750;
}

.footer-social {
  justify-content: end;
}

.footer-social .social-link {
  justify-content: center;
  width: 42px;
  height: 42px;
  min-height: 42px;
  padding: 0;
  color: rgba(255, 255, 255, 0.86);
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.14);
}

.footer-social .social-link span {
  display: none;
}

.toast {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 80;
  width: min(360px, calc(100% - 40px));
  padding: 13px 16px;
  color: #ffffff;
  background: #0f766e;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  opacity: 0;
  pointer-events: none;
  transform: translateY(16px);
  transition: opacity 180ms ease, transform 180ms ease;
}

.toast.visible {
  opacity: 1;
  transform: translateY(0);
}

.scroll-top-button {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 78;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  color: #ffffff;
  background: linear-gradient(135deg, var(--blue), var(--teal));
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 50%;
  box-shadow: 0 18px 42px rgba(15, 23, 42, 0.24);
  opacity: 0;
  pointer-events: none;
  transform: translateY(16px) scale(0.92);
  transition: opacity 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.scroll-top-button.visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}

.scroll-top-button:hover {
  box-shadow: 0 22px 54px rgba(15, 23, 42, 0.32);
  transform: translateY(-2px) scale(1.03);
}

.scroll-top-button svg {
  width: 20px;
  height: 20px;
  transform: rotate(-90deg);
}

.empty-state {
  padding: 30px;
  color: var(--muted);
  background: var(--surface);
  border: 1px dashed var(--line);
  border-radius: var(--radius);
}

@media (max-width: 1100px) {
  .service-grid,
  .publication-grid,
  .value-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .media-strip,
  .gallery-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .youtube-card-grid,
  .admin-dashboard {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .admin-traffic-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .admin-panel-wide {
    grid-column: 1 / -1;
  }
}

@media (max-width: 1100px) {
  .header-shell {
    grid-template-columns: minmax(170px, 1fr) auto;
  }

  .nav-toggle {
    display: inline-grid;
  }

  .nav-toggle.active {
    position: fixed;
    top: 16px;
    right: 16px;
    z-index: 140;
    color: #020617;
    background: #ffffff;
    border-color: #cbd5e1;
    box-shadow: 0 16px 38px rgba(2, 6, 23, 0.22);
  }

  .header-actions > .language-switcher {
    display: none;
  }

  .main-nav {
    display: none;
    grid-column: 1 / -1;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 8px;
    padding: 0 0 14px;
    overflow: visible;
  }

  .main-nav.open {
    display: flex;
    padding-top: 58px;
  }

  .mobile-menu-tools {
    display: grid;
    gap: 10px;
    padding: 12px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
  }

  .menu-tool-label {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--ink-soft);
    font-size: 0.78rem;
    font-weight: 900;
    text-transform: uppercase;
  }

  .menu-tool-label svg {
    width: 16px;
    height: 16px;
    color: var(--blue);
  }

  .menu-language-switcher {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    width: 100%;
    max-width: none;
    padding: 0;
    overflow: visible;
    background: transparent;
    border: 0;
    box-shadow: none;
  }

  .menu-language-switcher button {
    justify-items: start;
    min-width: 0;
    min-height: 54px;
    padding: 8px 10px;
    background: var(--surface-strong);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    text-align: left;
  }

  .menu-language-switcher button span {
    display: block;
    max-width: 100%;
    overflow: hidden;
    color: currentColor;
    font-size: 0.72rem;
    font-weight: 700;
    line-height: 1.2;
    opacity: 0.72;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .nav-link {
    width: 100%;
    justify-content: flex-start;
    padding: 0 14px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
  }

  .header-actions {
    justify-self: end;
  }

  .hero {
    min-height: auto;
  }

  .hero-slide-shell {
    grid-template-columns: minmax(0, 48%) minmax(0, 1fr);
    gap: 24px;
  }

  .hero-slide-media {
    left: 52%;
  }

  .hero-carousel-copy {
    width: 100%;
    padding: 22px;
  }

  .hero-shell {
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 38px 0 48px;
  }

  .hero-title {
    max-width: 11ch;
    font-size: 3.7rem;
  }

  .hero-portrait {
    width: min(420px, 100%);
    justify-self: start;
  }

  .section-heading,
  .profile-story,
  .about-layout,
  .about-narrative-card,
  .about-split-grid,
  .research-layout,
  .academic-feature,
  .academic-grid,
  .academic-review-layout,
  .search-page-hero-shell,
  .education-layout,
  .service-showcase,
  .event-feature,
  .contact-feature-card,
  .contact-layout,
  .admin-hero-shell,
  .admin-grid {
    grid-template-columns: 1fr;
  }

  .search-page-hero-shell {
    gap: 26px;
  }

  .about-proof-strip,
  .about-highlight-grid,
  .about-detail-grid,
  .contact-field-row {
    grid-template-columns: 1fr;
  }

  .about-layout .profile-panel {
    position: static;
  }

  .story-media {
    order: 2;
  }

  .admin-card.sticky {
    position: static;
  }

  .admin-hero-actions {
    justify-content: start;
  }

  .metric-grid,
  .publication-grid,
  .blog-grid,
  .events-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .event-card {
    grid-template-columns: 1fr;
  }

  .event-card-media {
    min-height: 320px;
  }

  .metric-carousel-card {
    flex-basis: calc((100% - 18px) / 2);
  }

  .service-showcase-media,
  .education-media {
    min-height: 360px;
  }

  .contact-quick-grid {
    grid-template-columns: 1fr;
  }

  .section-title,
  .page-title {
    font-size: 2.55rem;
  }

  .gallery-grid .gallery-item:nth-child(6n + 1),
  .gallery-grid .gallery-item:nth-child(6n + 4) {
    grid-row: auto;
    min-height: 320px;
  }
}

@media (max-width: 700px) {
  .shell {
    width: min(100% - 24px, 1160px);
  }

  .header-shell {
    gap: 12px;
    min-height: 78px;
  }

  .brand {
    gap: 9px;
  }

  .brand-mark {
    width: 38px;
    height: 38px;
    font-size: 0.88rem;
  }

  .brand strong {
    max-width: 160px;
  }

  .brand small {
    display: -webkit-box;
    max-width: 160px;
    font-size: 0.55rem;
    -webkit-line-clamp: 2;
  }

  .header-actions {
    gap: 6px;
  }

  .header-actions > .language-switcher {
    max-width: 152px;
    overflow-x: auto;
  }

  .header-actions > .language-switcher button {
    min-width: 34px;
  }

  .menu-language-switcher {
    max-width: none;
    overflow: visible;
  }

  .icon-button {
    width: 38px;
    height: 38px;
  }

  .nav-toggle {
    width: 38px;
    height: 38px;
  }

  .hero-shell {
    gap: 10px;
    padding: 12px 0 16px;
    align-items: center;
  }

  .hero.hero-carousel {
    min-height: max(calc(100svh - 70px), 720px);
  }

  .hero-slide-shell {
    grid-template-columns: 1fr;
    min-height: max(calc(100svh - 70px), 720px);
    padding: 34px 0 76px;
    align-items: end;
  }

  .hero-slide::after {
    background:
      linear-gradient(180deg, rgba(2, 6, 23, 0.06), rgba(2, 6, 23, 0.12) 40%, rgba(2, 6, 23, 0.74)),
      linear-gradient(90deg, rgba(2, 6, 23, 0.4), rgba(2, 6, 23, 0.14), rgba(2, 6, 23, 0.36));
  }

  .hero-slide-backdrop {
    opacity: 0.7;
    filter: blur(18px) saturate(1.16) contrast(1.04);
  }

  .hero-slide-media {
    top: 8px;
    right: 8px;
    bottom: auto;
    left: 8px;
    height: 43%;
    padding: 6px;
    border-radius: 16px;
  }

  .hero-slide-image {
    object-position: center 18%;
    border-radius: 11px;
  }

  .hero-copy {
    order: 2;
    width: 100%;
    text-align: center;
  }

  .hero-carousel-copy {
    order: initial;
    padding: 17px;
    text-align: left;
    background: linear-gradient(145deg, rgba(2, 6, 23, 0.94), rgba(15, 23, 42, 0.88));
    border-radius: 14px;
    text-shadow: 0 2px 16px rgba(2, 6, 23, 0.72);
  }

  .hero-title {
    max-width: 11ch;
    margin: 0 auto;
    font-size: 1.92rem;
  }

  .hero-carousel-copy .hero-title {
    max-width: 12ch;
    margin: 0;
    font-size: clamp(1.58rem, 8vw, 2.18rem);
  }

  .hero-kicker-list {
    gap: 5px;
    margin-bottom: 9px;
  }

  .hero-kicker-list span {
    min-height: 24px;
    padding: 4px 8px;
    font-size: 0.6rem;
  }

  .hero-clean-copy .hero-slide-title {
    max-width: 100%;
    font-size: clamp(1.24rem, 6.1vw, 1.82rem);
    line-height: 1.08;
  }

  .hero-text {
    gap: 7px;
    max-width: 34rem;
    margin: 9px auto 0;
    font-size: 0.72rem;
    line-height: 1.31;
  }

  .hero-carousel-copy .hero-text {
    max-width: 31rem;
    margin: 10px 0 0;
    font-size: 0.8rem;
    line-height: 1.38;
  }

  .hero-role {
    max-width: 31rem;
    margin: 7px auto 0;
    font-size: 0.73rem;
  }

  .hero-carousel-copy .hero-role,
  .hero-carousel-copy .hero-subtitle {
    margin-left: 0;
    margin-right: 0;
  }

  .hero-carousel-copy .hero-role {
    display: none;
  }

  .hero-subtitle {
    max-width: 31rem;
    margin: 6px auto 0;
    font-size: 0.76rem;
  }

  .hero-clean-copy .hero-subtitle {
    max-width: 100%;
    font-size: 0.82rem;
    line-height: 1.32;
  }

  .eyebrow {
    justify-content: center;
    margin-bottom: 9px;
    font-size: 0.66rem;
  }

  .eyebrow::before {
    width: 24px;
  }

  .hero-carousel-copy .eyebrow {
    justify-content: flex-start;
  }

  .hero-slide-panel {
    gap: 5px;
    max-width: min(100%, 23rem);
    margin-top: 8px;
    padding-left: 12px;
  }

  .hero-slide-panel h2 {
    font-size: clamp(0.82rem, 3.6vw, 1rem);
    line-height: 1.12;
  }

  .hero-slide-panel p {
    display: block;
    font-size: 0.69rem;
    line-height: 1.28;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    justify-content: center;
    margin-top: 9px;
    gap: 8px;
  }

  .hero-actions .button {
    width: 100%;
    min-height: 38px;
    padding: 0 10px;
    font-size: 0.76rem;
  }

  .hero-carousel-control {
    top: auto;
    bottom: 18px;
    width: 40px;
    height: 40px;
    transform: none;
  }

  .hero-carousel-control:hover {
    transform: scale(1.04);
  }

  .hero-carousel-prev {
    left: 12px;
  }

  .hero-carousel-next {
    right: 12px;
  }

  .hero-carousel-indicators {
    bottom: 27px;
    max-width: calc(100% - 116px);
    gap: 5px;
    padding: 7px 9px;
  }

  .hero-carousel-indicators button {
    width: 7px;
    height: 7px;
  }

  .hero-carousel-indicators button.active {
    width: 22px;
  }

  .hero-portrait {
    order: 1;
    width: min(170px, 48vw);
    justify-self: center;
  }

  .portrait-frame {
    max-height: none;
  }

  .portrait-caption {
    display: none;
  }

  .metric-carousel {
    padding: 16px 48px 20px;
  }

  .metric-carousel-head {
    align-items: start;
  }

  .metric-carousel-controls {
    left: 8px;
    right: 8px;
  }

  .metric-carousel-card {
    flex-basis: 100%;
    min-height: 270px;
  }

  .button {
    width: 100%;
    min-height: 48px;
  }

  .hero-social,
  .youtube-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .hero-social {
    max-width: 330px;
    margin: 10px auto 0;
  }

  .hero-carousel-copy .hero-social {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
    max-width: 100%;
    margin-top: 8px;
  }

  .hero-carousel-copy .hero-social .social-link {
    min-height: 28px;
    justify-content: center;
    padding: 0 8px;
    font-size: 0.68rem;
  }

  .hero-social .social-link,
  .youtube-actions .button {
    width: 100%;
    justify-content: center;
    min-height: 28px;
    padding: 0 10px;
    font-size: 0.72rem;
  }

  .blog-card .button {
    width: 100%;
  }

  .section {
    padding: 58px 0;
  }

  .search-page-hero {
    min-height: auto;
  }

  .search-page-hero-shell {
    gap: 22px;
    padding: 58px 0 36px;
  }

  .search-page-hero .page-title {
    max-width: 100%;
    font-size: clamp(2.05rem, 10vw, 2.8rem);
    line-height: 1.02;
  }

  .search-page-hero .section-text {
    margin-top: 14px;
    font-size: 0.93rem;
  }

  .academic-hero-stats div {
    padding: 12px 10px;
  }

  .academic-hero-stats strong {
    font-size: 1.3rem;
  }

  .academic-hero-stats span {
    font-size: 0.68rem;
    line-height: 1.25;
  }

  .academic-search-section,
  .academic-conference-section,
  .academic-work-section {
    padding: 44px 0;
  }

  .about-narrative-card,
  .about-section-card,
  .academic-feature-main,
  .academic-panel {
    padding: 20px;
  }

  .academic-list li {
    grid-template-columns: 34px minmax(0, 1fr);
    gap: 10px;
    padding: 18px;
  }

  .academic-conference-panel .academic-list {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .academic-conference-panel .academic-list li:last-child:nth-child(odd) {
    grid-column: auto;
  }

  .academic-list-index {
    width: 32px;
    height: 32px;
  }

  .academic-meta-list {
    padding: 18px;
  }

  .academic-doi-button {
    width: 100%;
  }

  .about-section-head {
    grid-template-columns: 44px minmax(0, 1fr);
    gap: 12px;
  }

  .about-achievement-panel {
    padding: 14px;
  }

  .about-timeline li,
  .publication-mini-card {
    padding: 12px;
  }

  .page-hero {
    min-height: 260px;
  }

  .page-hero-shell {
    padding: 54px 0 36px;
  }

  .about-project-grid {
    grid-template-columns: 1fr;
  }

  .video-modal,
  .gallery-lightbox {
    padding: 12px;
  }

  .gallery-lightbox-dialog {
    grid-template-columns: 1fr;
    max-height: calc(100vh - 24px);
    overflow-y: auto;
    padding: 14px;
  }

  .gallery-lightbox-stage,
  .gallery-lightbox-caption,
  .gallery-lightbox-strip {
    grid-column: 1;
  }

  .gallery-lightbox-stage {
    min-height: 300px;
  }

  .gallery-lightbox-stage img {
    height: min(58vh, 520px);
  }

  .gallery-lightbox-nav {
    position: absolute;
    top: 50%;
    z-index: 3;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.92);
    color: #020617;
  }

  .gallery-prev {
    left: 18px;
  }

  .gallery-next {
    right: 18px;
  }

  .section-title,
  .page-title {
    font-size: 2.1rem;
  }

  .metric-grid,
  .service-grid,
  .publication-grid,
  .blog-grid,
  .value-grid,
  .media-strip,
  .gallery-grid,
  .youtube-card-grid,
  .events-grid,
  .event-meta-grid,
  .event-social-grid,
  .admin-dashboard,
  .admin-traffic-grid,
  .admin-form-columns {
    grid-template-columns: 1fr;
  }

  .admin-form-columns .field:has(textarea),
  .admin-panel-wide,
  .admin-panel-full {
    grid-column: 1;
  }

  .story-media {
    grid-template-columns: 1fr;
  }

  .service-focus-list {
    grid-template-columns: 1fr;
  }

  .service-showcase-media,
  .event-card-media,
  .education-media {
    min-height: 300px;
  }

  .event-feature-media img {
    max-height: none;
  }

  .event-card-media {
    aspect-ratio: 4 / 3;
    min-height: 0;
  }

  .event-card-body {
    padding: 20px;
  }

  .event-social-card {
    padding: 16px;
  }

  .scroll-top-button {
    right: 14px;
    bottom: 14px;
    width: 44px;
    height: 44px;
  }

  .story-media img,
  .story-media img:nth-child(2),
  .media-strip .gallery-item,
  .gallery-item,
  .gallery-grid .gallery-item:nth-child(6n + 1),
  .gallery-grid .gallery-item:nth-child(6n + 4) {
    min-height: 280px;
    height: 280px;
  }

  .metric-carousel-card {
    min-height: 280px;
  }

  .metric-value {
    font-size: 2.55rem;
  }

  .footer-shell {
    grid-template-columns: 1fr;
    padding: 28px 0;
  }

  .footer-links {
    justify-content: center;
  }

  .footer-stack,
  .footer-social {
    justify-items: center;
    justify-content: center;
  }

  .footer-brand {
    text-align: center;
  }

  .card,
  .admin-card,
  .profile-panel,
  .contact-panel {
    padding: 20px;
  }
}

@media (max-width: 360px) {
  .hero-shell {
    padding: 10px 0 12px;
  }

  .hero-title {
    font-size: 1.82rem;
  }

  .hero-carousel-copy .hero-title {
    font-size: 1.48rem;
  }

  .hero.hero-carousel,
  .hero-slide-shell {
    min-height: 700px;
  }

  .hero-slide-media {
    height: 40%;
  }

  .hero-clean-copy .hero-slide-title {
    font-size: 1.12rem;
  }

  .hero-text {
    font-size: 0.7rem;
    line-height: 1.28;
  }

  .hero-role {
    font-size: 0.71rem;
  }

  .hero-subtitle {
    font-size: 0.68rem;
  }

  .hero-clean-copy .hero-subtitle {
    font-size: 0.74rem;
  }

  .search-page-hero .page-title {
    font-size: 1.9rem;
  }

  .hero-slide-panel h2 {
    font-size: 0.78rem;
  }

  .hero-slide-panel p {
    font-size: 0.64rem;
  }

  .hero-portrait {
    width: min(154px, 46vw);
  }

  .hero-actions .button,
  .hero-social .social-link {
    min-height: 27px;
    font-size: 0.7rem;
  }
}

/* Featured hero: stable split layout for mixed portrait and landscape images. */
.hero.hero-carousel {
  height: clamp(600px, calc(100svh - 76px), 720px);
  min-height: 600px;
  background:
    radial-gradient(circle at 72% 18%, rgba(37, 99, 235, 0.25), transparent 30%),
    linear-gradient(135deg, #020617, #0f172a 56%, #102f32);
}

.hero-slide::after {
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(2, 6, 23, 0.95) 0%, rgba(2, 6, 23, 0.84) 38%, rgba(2, 6, 23, 0.24) 72%, rgba(2, 6, 23, 0.38) 100%);
}

.hero-slide-backdrop {
  opacity: 0.36;
  filter: blur(12px) saturate(1.3) contrast(1.06);
  transform: scale(1.09);
}

.featured-hero-layout {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: minmax(300px, 0.68fr) minmax(0, 1.32fr);
  gap: clamp(28px, 4vw, 52px);
  align-items: center;
  min-height: inherit;
  padding-top: 38px;
  padding-bottom: 76px;
}

.featured-hero-copy {
  min-width: 0;
}

.featured-hero-copy .hero-carousel-copy {
  width: 100%;
  max-width: 390px;
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  backdrop-filter: none;
  text-align: left;
}

.featured-hero-copy .hero-title {
  max-width: 11ch;
  font-size: clamp(2.35rem, 4vw, 3.55rem);
  line-height: 0.98;
  letter-spacing: -0.035em;
}

.featured-hero-copy .hero-subtitle {
  max-width: 34rem;
  margin-top: 11px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.9rem;
  line-height: 1.42;
}

.featured-hero-copy .hero-slide-panel {
  max-width: 390px;
  margin: 0;
  padding: 0 0 0 18px;
}

.featured-hero-copy .hero-slide-panel h2 {
  font-size: clamp(1.4rem, 2.4vw, 2rem);
  line-height: 1.12;
}

.featured-hero-copy .hero-slide-panel p {
  margin-top: 8px;
  font-size: 0.86rem;
  line-height: 1.42;
}

.featured-hero-copy .hero-actions {
  gap: 8px;
  margin-top: 18px;
}

.featured-hero-copy .hero-social {
  display: flex;
  flex-wrap: nowrap;
  gap: 8px;
  margin-top: 12px;
}

.featured-hero-copy .hero-social .social-link {
  width: 38px;
  min-width: 38px;
  min-height: 38px;
  justify-content: center;
  padding: 0;
  border-radius: 50%;
}

.featured-hero-media {
  position: relative;
  isolation: isolate;
  display: grid;
  place-items: stretch;
  width: 100%;
  height: clamp(400px, 61vh, 540px);
  overflow: hidden;
  padding: 0;
  background: #0f172a;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 18px;
  box-shadow: 0 30px 70px rgba(2, 6, 23, 0.42);
}

.featured-hero-media::before {
  content: "";
  position: absolute;
  z-index: 0;
  inset: -24px;
  display: block;
  background:
    linear-gradient(rgba(2, 6, 23, 0.2), rgba(2, 6, 23, 0.32)),
    var(--hero-media-image) center / cover no-repeat;
  filter: blur(18px) saturate(1.22);
  transform: scale(1.08);
}

.featured-hero-image {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: var(--hero-position, center center);
  border-radius: 17px;
  filter: saturate(1.06) contrast(1.02) drop-shadow(0 18px 34px rgba(2, 6, 23, 0.26));
}

.hero-slide.active .featured-hero-image {
  animation: heroImageImpact 5200ms ease-out both;
}

.featured-hero-count {
  position: absolute;
  right: 24px;
  bottom: 24px;
  z-index: 2;
  padding: 7px 11px;
  color: #ffffff;
  background: rgba(2, 6, 23, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  backdrop-filter: blur(10px);
}

@media (max-width: 980px) {
  .featured-hero-layout {
    grid-template-columns: minmax(270px, 0.78fr) minmax(330px, 1.22fr);
    gap: 22px;
  }

  .featured-hero-media {
    height: clamp(390px, 58vh, 500px);
  }

  .featured-hero-copy .hero-title {
    font-size: clamp(2.1rem, 5vw, 3rem);
  }
}

@media (max-width: 700px) {
  .hero.hero-carousel,
  .featured-hero-layout {
    height: auto;
    min-height: 760px;
  }

  .hero-slide::after {
    background: linear-gradient(180deg, rgba(2, 6, 23, 0.38), rgba(2, 6, 23, 0.96) 58%, #020617 100%);
  }

  .featured-hero-layout {
    grid-template-columns: 1fr;
    grid-template-rows: 285px auto;
    gap: 16px;
    align-content: start;
    padding-top: 14px;
    padding-bottom: 76px;
  }

  .featured-hero-media {
    order: -1;
    height: 285px;
    padding: 0;
    border-radius: 14px;
  }

  .featured-hero-image {
    border-radius: 13px;
  }

  .featured-hero-count {
    right: 16px;
    bottom: 16px;
  }

  .featured-hero-copy .hero-carousel-copy {
    max-width: none;
    padding: 0;
    background: transparent;
    border: 0;
    border-radius: 0;
  }

  .featured-hero-copy .hero-title {
    max-width: 100%;
    margin: 0;
    font-size: clamp(1.9rem, 9vw, 2.45rem);
    line-height: 1;
  }

  .featured-hero-copy .hero-slide-panel h2 {
    font-size: clamp(1.2rem, 5vw, 1.6rem);
  }

  .featured-hero-copy .hero-actions {
    margin-top: 16px;
  }

  .featured-hero-copy .hero-social {
    display: flex;
    flex-wrap: nowrap;
    justify-content: flex-start;
  }
}

@media (max-width: 400px) {
  .hero.hero-carousel,
  .featured-hero-layout {
    min-height: 730px;
  }

  .featured-hero-layout {
    grid-template-rows: 245px auto;
  }

  .featured-hero-media {
    height: 245px;
  }

  .featured-hero-copy .hero-carousel-copy {
    padding: 15px;
  }
}

/* Carousel treatment matched to the published portfolio, with compact copy. */
.reference-hero.hero-carousel {
  display: block;
  height: auto;
  min-height: calc(100svh - 76px);
  background:
    radial-gradient(circle at 72% 36%, rgba(29, 78, 216, 0.22), transparent 34%),
    #08111f;
}

.reference-hero.hero-carousel::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 4;
  display: block;
  pointer-events: none;
  background:
    linear-gradient(105deg, transparent 34%, rgba(255, 255, 255, 0.12) 49%, transparent 64%);
  mix-blend-mode: screen;
  animation: landingAccentSweep 2600ms cubic-bezier(0.22, 1, 0.36, 1) 480ms both;
}

.reference-hero .hero-slide::after {
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(2, 6, 23, 0.7), rgba(15, 23, 42, 0.4) 38%, rgba(15, 23, 42, 0.08) 68%, rgba(2, 6, 23, 0.3)),
    linear-gradient(180deg, rgba(2, 6, 23, 0.1), rgba(2, 6, 23, 0.04) 48%, rgba(2, 6, 23, 0.46));
}

.reference-hero .hero-slide-backdrop {
  position: absolute;
  inset: -22px;
  width: calc(100% + 44px);
  height: calc(100% + 44px);
  object-fit: cover;
  object-position: var(--hero-position, center center);
  opacity: 0.62;
  filter: blur(22px) saturate(1.18) contrast(1.05);
  transform: scale(1.06);
}

.reference-hero .hero-slide.active .hero-slide-backdrop {
  animation: landingBackdropDrift 9200ms ease-in-out infinite alternate;
}

.reference-hero .reference-hero-image {
  position: absolute;
  inset: 22px;
  display: block;
  width: calc(100% - 44px);
  height: calc(100% - 44px);
  object-fit: contain;
  object-position: var(--hero-position, center center);
  border-radius: 0;
  filter: saturate(1.08) contrast(1.02) drop-shadow(0 28px 54px rgba(2, 6, 23, 0.28));
}

.reference-hero .hero-slide.active .reference-hero-image {
  animation: landingImageReveal 900ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.reference-hero .reference-hero-shell {
  position: relative;
  z-index: 3;
  display: grid;
  justify-items: start;
  align-items: center;
  width: min(1160px, calc(100% - 32px));
  min-height: calc(100svh - 76px);
  padding: clamp(56px, 8vh, 92px) 0 clamp(76px, 10vh, 108px);
  background: transparent;
  border: 0;
  box-shadow: none;
}

.reference-hero .hero-carousel-copy {
  position: relative;
  width: min(420px, 100%);
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  backdrop-filter: none;
  text-align: left;
  text-shadow: 0 2px 18px rgba(2, 6, 23, 0.72);
  animation: none;
}

.reference-hero .hero-carousel-copy .hero-kicker-list,
.reference-hero .hero-carousel-copy .hero-title,
.reference-hero .hero-carousel-copy .hero-subtitle,
.reference-hero .hero-carousel-copy .hero-slide-panel,
.reference-hero .hero-carousel-copy .hero-actions,
.reference-hero .hero-carousel-copy .hero-social {
  animation: landingCopyReveal 720ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.reference-hero .hero-carousel-copy .hero-kicker-list,
.reference-hero .hero-carousel-copy .hero-slide-panel {
  animation-delay: 120ms;
}

.reference-hero .hero-carousel-copy .hero-title {
  animation-delay: 220ms;
}

.reference-hero .hero-carousel-copy .hero-subtitle {
  animation-delay: 320ms;
}

.reference-hero .hero-carousel-copy .hero-actions {
  animation-delay: 430ms;
}

.reference-hero .hero-carousel-copy .hero-social {
  animation-delay: 540ms;
}

.reference-hero .hero-carousel-copy .hero-title {
  max-width: 10ch;
  font-size: clamp(2.25rem, 4vw, 3.1rem);
  line-height: 1;
}

.reference-hero .hero-carousel-copy .hero-subtitle {
  max-width: 29rem;
  margin-top: 9px;
  font-size: 0.84rem;
  line-height: 1.35;
}

.reference-hero .hero-slide-panel {
  max-width: 410px;
  margin: 0;
  padding-left: 14px;
}

.reference-hero .hero-slide-panel h2 {
  font-size: clamp(1.05rem, 1.6vw, 1.35rem);
  line-height: 1.16;
}

.reference-hero .hero-slide-panel p {
  max-width: 360px;
  font-size: 0.8rem;
  line-height: 1.42;
}

.reference-hero .hero-actions {
  gap: 8px;
  margin-top: 14px;
}

.reference-hero .hero-actions .button {
  width: auto;
  min-height: 40px;
  padding: 0 14px;
  font-size: 0.8rem;
}

.reference-hero .hero-social {
  display: flex;
  flex-wrap: nowrap;
  gap: 8px;
  margin-top: 10px;
}

.reference-hero .hero-social .social-link {
  width: 36px;
  min-width: 36px;
  min-height: 36px;
  justify-content: center;
  padding: 0;
  border-radius: 50%;
}

@media (max-width: 700px) {
  .reference-hero.hero-carousel,
  .reference-hero .reference-hero-shell {
    min-height: max(calc(100svh - 70px), 700px);
  }

  .reference-hero .hero-slide::after {
    background:
      linear-gradient(180deg, rgba(2, 6, 23, 0.04), rgba(2, 6, 23, 0.12) 38%, rgba(2, 6, 23, 0.86) 72%, #020617),
      linear-gradient(90deg, rgba(2, 6, 23, 0.28), rgba(2, 6, 23, 0.08), rgba(2, 6, 23, 0.28));
  }

  .reference-hero .reference-hero-image {
    inset: 8px;
    width: calc(100% - 16px);
    height: calc(100% - 16px);
    object-position: var(--hero-position, center center);
  }

  .reference-hero .reference-hero-shell {
    align-items: end;
    padding: 34px 0 76px;
  }

  .reference-hero .hero-carousel-copy {
    width: 100%;
    max-width: 100%;
    padding: 15px;
    background: rgba(2, 6, 23, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 14px;
  }

  .reference-hero .hero-carousel-copy .hero-title {
    max-width: 100%;
    margin: 0;
    font-size: clamp(1.65rem, 8vw, 2.15rem);
  }

  .reference-hero .hero-slide-panel h2 {
    font-size: clamp(1rem, 4.8vw, 1.35rem);
  }

  .reference-hero .hero-actions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .reference-hero .hero-actions .button {
    width: 100%;
  }

  .reference-hero .hero-social {
    justify-content: flex-start;
  }
}

@media (max-width: 1100px) {
  .professional-profile-header,
  .professional-profile-layout {
    grid-template-columns: 1fr;
  }

  .professional-profile-header {
    gap: 24px;
  }

  .professional-profile-title {
    max-width: 15ch;
  }

  .professional-profile-visual {
    position: static;
  }

  .professional-profile-images {
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  }

  .professional-profile-images img,
  .professional-profile-images img:nth-child(2) {
    height: 300px;
    margin-top: 0;
  }

  .doctoral-focus-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .professional-role-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 700px) {
  .professional-profile-header {
    margin-bottom: 26px;
  }

  .professional-profile-title {
    max-width: 100%;
    font-size: clamp(2rem, 11vw, 3rem);
  }

  .professional-profile-intro {
    padding-left: 16px;
  }

  .professional-profile-images {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .professional-profile-images img,
  .professional-profile-images img:nth-child(2) {
    height: 250px;
  }

  .professional-role-panel {
    padding: 12px;
  }

  .professional-role-grid,
  .doctoral-focus-grid {
    grid-template-columns: 1fr;
  }

  .professional-role-item {
    min-height: 0;
  }

  .professional-profile-actions .button {
    width: 100%;
  }

  .home-description-section .about-highlight-card {
    min-height: 0;
  }

  .doctoral-focus-card {
    gap: 12px;
    min-height: 0;
    padding: 20px;
  }

  .gallery-at-glance-title {
    font-size: 1.8rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 1ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 1ms !important;
  }
}
