/* ==========================================================================
   JN Nova Pharma — Global Styles
   HTML5 / CSS3 only — no frameworks
   ========================================================================== */

:root {
  --bg: #ffffff;
  --bg-soft: #f4f8fc;
  --bg-blue: #eaf3fa;
  --primary: #1769aa;
  --primary-hover: #12568c;
  --dark: #0b2d4d;
  --text: #172333;
  --text-secondary: #5e6b78;
  --border: #dce7f0;
  --white: #ffffff;
  --shadow-sm: 0 2px 8px rgba(11, 45, 77, 0.06);
  --shadow-md: 0 8px 24px rgba(11, 45, 77, 0.08);
  --shadow-lg: 0 16px 48px rgba(11, 45, 77, 0.12);
  --radius: 16px;
  --radius-sm: 10px;
  --radius-lg: 24px;
  --header-h: 80px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --transition: 0.3s ease;
  --max: 1200px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: color var(--transition);
}

a:hover {
  color: var(--primary-hover);
}

ul,
ol {
  list-style: none;
}

button,
input,
textarea,
select {
  font-family: inherit;
  font-size: inherit;
}

/* --------------------------------------------------------------------------
   Accessibility
   -------------------------------------------------------------------------- */

.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  z-index: 10000;
  background: var(--dark);
  color: var(--white);
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
}

.skip-link:focus {
  top: 1rem;
}

:focus-visible {
  outline: 3px solid var(--primary);
  outline-offset: 3px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* --------------------------------------------------------------------------
   Layout utilities
   -------------------------------------------------------------------------- */

.container {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: 5.5rem 0;
  position: relative;
}

.section--soft {
  background: var(--bg-soft);
}

.section--blue {
  background: var(--bg-blue);
}

.section--dark {
  background: var(--dark);
  color: var(--white);
}

.section--dark .section-label,
.section--dark .section-lead,
.section--dark p {
  color: rgba(255, 255, 255, 0.82);
}

.section-label {
  display: inline-block;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 0.75rem;
}

.section-title {
  font-size: clamp(1.85rem, 4vw, 2.75rem);
  font-weight: 700;
  line-height: 1.2;
  color: var(--dark);
  letter-spacing: -0.02em;
  margin-bottom: 1.25rem;
}

.section--dark .section-title {
  color: var(--white);
}

.section-lead {
  font-size: 1.125rem;
  color: var(--text-secondary);
  max-width: 640px;
  margin-bottom: 2rem;
}

.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: center;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

/* --------------------------------------------------------------------------
   Header / Navigation
   -------------------------------------------------------------------------- */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--header-h);
  display: flex;
  align-items: center;
  transition: background 0.35s ease, box-shadow 0.35s ease, backdrop-filter 0.35s ease;
  background: rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
}

.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.97);
  box-shadow: var(--shadow-sm);
  border-bottom-color: var(--border);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 1.5rem;
  gap: 1.5rem;
}

.nav-cluster {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  flex: 1;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  cursor: pointer;
  padding: 10px;
  flex-shrink: 0;
}

.nav-toggle span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--dark);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.primary-nav ul {
  display: flex;
  align-items: center;
  gap: 0.15rem;
  flex-wrap: wrap;
}

.primary-nav a {
  position: relative;
  display: inline-block;
  padding: 0.5rem 0.7rem;
  color: var(--text);
  font-size: 0.9375rem;
  font-weight: 500;
}

.primary-nav a::after {
  content: "";
  position: absolute;
  left: 0.7rem;
  right: 0.7rem;
  bottom: 0.2rem;
  height: 2px;
  background: var(--primary);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.primary-nav a:hover,
.primary-nav a[aria-current="page"] {
  color: var(--primary);
}

.primary-nav a:hover::after,
.primary-nav a[aria-current="page"]::after {
  transform: scaleX(1);
}

.logo-link {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  margin-left: auto;
}

.logo-link img {
  height: 44px;
  width: auto;
  object-fit: contain;
}

.nav-dropdown {
  position: relative;
}

.nav-dropdown > button {
  background: none;
  border: none;
  cursor: pointer;
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.5rem 0.7rem;
  color: var(--text);
  font-size: 0.9375rem;
  font-weight: 500;
}

.nav-dropdown > button::after {
  content: "";
  width: 0;
  height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid currentColor;
  opacity: 0.6;
}

.nav-dropdown-panel {
  position: absolute;
  top: calc(100% + 0.5rem);
  left: 0;
  min-width: 220px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-md);
  padding: 0.5rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease;
  z-index: 100;
}

.nav-dropdown.is-open .nav-dropdown-panel,
.nav-dropdown:hover .nav-dropdown-panel,
.nav-dropdown:focus-within .nav-dropdown-panel {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav-dropdown-panel a {
  display: block;
  padding: 0.65rem 0.85rem;
  border-radius: 8px;
  color: var(--text);
  font-size: 0.9rem;
}

.nav-dropdown-panel a::after {
  display: none;
}

.nav-dropdown-panel a:hover {
  background: var(--bg-soft);
  color: var(--primary);
}

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.9rem 1.75rem;
  font-weight: 600;
  font-size: 0.975rem;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: background 0.3s ease, color 0.3s ease, border-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
  text-align: center;
  line-height: 1.2;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn--primary {
  background: var(--primary);
  color: var(--white);
  box-shadow: 0 4px 14px rgba(23, 105, 170, 0.28);
}

.btn--primary:hover {
  background: var(--primary-hover);
  color: var(--white);
  box-shadow: 0 8px 20px rgba(23, 105, 170, 0.35);
}

.btn--outline {
  background: transparent;
  color: var(--primary);
  border-color: var(--primary);
}

.btn--outline:hover {
  background: var(--primary);
  color: var(--white);
}

.btn--light {
  background: var(--white);
  color: var(--primary);
}

.btn--light:hover {
  background: var(--bg-blue);
  color: var(--primary-hover);
}

.btn--ghost {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.45);
}

.btn--ghost:hover {
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
}

.btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2rem;
}

/* --------------------------------------------------------------------------
   Hero — Homepage
   -------------------------------------------------------------------------- */

.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  padding: calc(var(--header-h) + 3rem) 0 4rem;
  overflow: hidden;
  background:
    radial-gradient(ellipse 80% 60% at 85% 20%, rgba(23, 105, 170, 0.12) 0%, transparent 55%),
    radial-gradient(ellipse 50% 40% at 10% 80%, rgba(234, 243, 250, 0.9) 0%, transparent 50%),
    linear-gradient(165deg, #ffffff 0%, #f4f8fc 55%, #eaf3fa 100%);
}

.hero__shapes {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.hero__shape {
  position: absolute;
  border-radius: 50%;
  filter: blur(40px);
  opacity: 0.45;
  animation: floatShape 18s ease-in-out infinite;
}

.hero__shape--1 {
  width: 420px;
  height: 420px;
  background: #1769aa;
  top: -10%;
  right: -5%;
  opacity: 0.12;
}

.hero__shape--2 {
  width: 280px;
  height: 280px;
  background: #0b2d4d;
  bottom: 10%;
  left: -8%;
  opacity: 0.08;
  animation-delay: -6s;
  animation-duration: 22s;
}

.hero__shape--3 {
  width: 180px;
  height: 180px;
  background: #1769aa;
  top: 45%;
  right: 30%;
  opacity: 0.1;
  animation-delay: -12s;
  animation-duration: 16s;
}

@keyframes floatShape {
  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }
  33% {
    transform: translate(20px, -30px) scale(1.05);
  }
  66% {
    transform: translate(-15px, 15px) scale(0.95);
  }
}

.hero__grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3rem;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero__brand {
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 800;
  color: var(--dark);
  letter-spacing: -0.03em;
  line-height: 1.05;
  margin-bottom: 1rem;
}

.hero__title {
  font-size: clamp(1.5rem, 3.2vw, 2.15rem);
  font-weight: 700;
  color: var(--primary);
  line-height: 1.25;
  letter-spacing: -0.02em;
  margin-bottom: 0.85rem;
}

.hero__subtitle {
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  font-weight: 600;
  color: var(--text);
  margin-bottom: 1.25rem;
}

.hero__text {
  color: var(--text-secondary);
  max-width: 540px;
  margin-bottom: 0.75rem;
}

.hero__visual {
  position: relative;
  height: min(520px, 70vh);
}

.hero__image-frame {
  position: absolute;
  inset: 0;
  border-radius: 32% 68% 45% 55% / 55% 35% 65% 45%;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: linear-gradient(145deg, #0b2d4d 0%, #1769aa 55%, #4a9fd4 100%);
  animation: morphFrame 20s ease-in-out infinite, driftImage 12s ease-in-out infinite;
}

.hero__image-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transform: scale(1.06);
}

.hero__image-frame::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(160deg, rgba(11, 45, 77, 0.15) 0%, rgba(23, 105, 170, 0.28) 100%);
  pointer-events: none;
}

.hero__image-frame::after {
  content: "";
  position: absolute;
  width: 55%;
  height: 55%;
  top: 20%;
  left: 22%;
  z-index: 1;
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-radius: 40% 60% 55% 45% / 50% 40% 60% 50%;
  animation: driftImage 10s ease-in-out infinite reverse;
  pointer-events: none;
}

.hero__accent-card {
  position: absolute;
  bottom: 8%;
  left: -8%;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.15rem 1.35rem;
  box-shadow: var(--shadow-md);
  max-width: 240px;
  z-index: 2;
  animation: driftImage 14s ease-in-out infinite;
}

.hero__accent-card strong {
  display: block;
  color: var(--dark);
  font-size: 0.9rem;
  margin-bottom: 0.25rem;
}

.hero__accent-card span {
  font-size: 0.8rem;
  color: var(--text-secondary);
  line-height: 1.4;
}

@keyframes morphFrame {
  0%,
  100% {
    border-radius: 32% 68% 45% 55% / 55% 35% 65% 45%;
  }
  50% {
    border-radius: 55% 45% 60% 40% / 40% 55% 45% 60%;
  }
}

@keyframes driftImage {
  0%,
  100% {
    transform: translate(0, 0);
  }
  50% {
    transform: translate(8px, -12px);
  }
}

/* --------------------------------------------------------------------------
   Page hero (interior)
   -------------------------------------------------------------------------- */

.page-hero {
  position: relative;
  padding: calc(var(--header-h) + 4rem) 0 4rem;
  overflow: hidden;
  background:
    radial-gradient(ellipse 70% 80% at 100% 0%, rgba(23, 105, 170, 0.15) 0%, transparent 50%),
    linear-gradient(135deg, #eaf3fa 0%, #f4f8fc 45%, #ffffff 100%);
}

.page-hero__shapes {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.page-hero__shape {
  position: absolute;
  border-radius: 40% 60% 55% 45%;
  background: rgba(23, 105, 170, 0.08);
  animation: floatShape 20s ease-in-out infinite;
}

.page-hero__shape--1 {
  width: 300px;
  height: 300px;
  top: -20%;
  right: 5%;
}

.page-hero__shape--2 {
  width: 200px;
  height: 200px;
  bottom: -10%;
  left: 10%;
  animation-delay: -8s;
}

.page-hero .container {
  position: relative;
  z-index: 1;
}

.page-hero h1 {
  font-size: clamp(2rem, 4.5vw, 3.25rem);
  font-weight: 800;
  color: var(--dark);
  letter-spacing: -0.03em;
  line-height: 1.15;
  max-width: 800px;
  margin-bottom: 1rem;
}

.page-hero p {
  font-size: 1.15rem;
  color: var(--text-secondary);
  max-width: 620px;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  align-items: center;
  font-size: 0.875rem;
  color: var(--text-secondary);
  margin-bottom: 1.25rem;
}

.breadcrumb a {
  color: var(--primary);
}

.breadcrumb span[aria-hidden="true"] {
  opacity: 0.5;
}

/* --------------------------------------------------------------------------
   Cards
   -------------------------------------------------------------------------- */

.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: rgba(23, 105, 170, 0.25);
}

.card__icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--bg-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.15rem;
  color: var(--primary);
  flex-shrink: 0;
}

.card__icon svg {
  width: 24px;
  height: 24px;
}

.card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 0.65rem;
  letter-spacing: -0.01em;
}

.card p {
  color: var(--text-secondary);
  font-size: 0.975rem;
  flex: 1;
}

.card__link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 1.25rem;
  font-weight: 600;
  font-size: 0.925rem;
  color: var(--primary);
}

.card__link svg {
  width: 16px;
  height: 16px;
  transition: transform 0.3s ease;
}

.card:hover .card__link svg {
  transform: translateX(4px);
}

.card--link {
  text-decoration: none;
  color: inherit;
}

.card--link:hover {
  color: inherit;
}

.feature-list {
  display: grid;
  gap: 0.85rem;
}

.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  padding: 1rem 1.15rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  transition: border-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-list li:hover {
  border-color: rgba(23, 105, 170, 0.3);
  transform: translateX(4px);
  box-shadow: var(--shadow-sm);
}

.feature-list .check {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--bg-blue);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
}

.feature-list .check svg {
  width: 14px;
  height: 14px;
}

.feature-list span {
  font-weight: 500;
  color: var(--text);
  padding-top: 0.15rem;
}

/* --------------------------------------------------------------------------
   Our Partners — logo wheel
   -------------------------------------------------------------------------- */

.partners-section {
  padding: 3.5rem 0 2.5rem;
  background: var(--white);
  overflow: hidden;
}

.partners-section__header {
  text-align: center;
  margin-bottom: 2rem;
}

.partners-wheel {
  position: relative;
  width: 100%;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.partners-wheel__track {
  display: flex;
  width: max-content;
  animation: partnersWheel 35s linear infinite;
  will-change: transform;
  transform: translate3d(0, 0, 0);
  backface-visibility: hidden;
}

.partners-wheel:hover .partners-wheel__track {
  animation-play-state: paused;
}

.partners-wheel__list {
  display: flex;
  align-items: center;
  gap: 3.5rem;
  list-style: none;
  margin: 0;
  padding: 0.75rem 1.75rem;
}

.partners-wheel__list li {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 88px;
  padding: 0 0.5rem;
}

.partners-wheel__list img {
  display: block;
  max-height: 72px;
  width: auto;
  max-width: 200px;
  object-fit: contain;
  filter: none;
  opacity: 0.92;
  transition: opacity 0.3s ease;
}

.partners-wheel__list img[src*="sinai-health"],
.partners-wheel__list img[src*="canada-nrc"] {
  max-height: 88px;
  max-width: 220px;
  border-radius: 6px;
}

.partners-wheel__list li:hover img {
  opacity: 1;
}

@keyframes partnersWheel {
  from {
    transform: translate3d(0, 0, 0);
  }
  to {
    transform: translate3d(-50%, 0, 0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .partners-wheel__track {
    animation: none;
    flex-wrap: wrap;
    width: 100%;
    justify-content: center;
  }

  .partners-wheel__list[aria-hidden="true"] {
    display: none;
  }

  .partners-wheel__list {
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem 2.5rem;
    padding: 0.75rem 1.25rem;
  }

  .partners-wheel {
    mask-image: none;
    -webkit-mask-image: none;
  }
}

/* --------------------------------------------------------------------------
   Mission / Vision — lively band
   -------------------------------------------------------------------------- */

.mv-section {
  position: relative;
  overflow: hidden;
  padding: 5.5rem 0;
  background:
    linear-gradient(145deg, #0b2d4d 0%, #134a75 42%, #1769aa 78%, #2f8fc4 100%);
}

.mv-section .container {
  position: relative;
  z-index: 1;
}

.mv-section__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.mv-section__grid {
  position: absolute;
  inset: 0;
  opacity: 0.14;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.35) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.35) 1px, transparent 1px);
  background-size: 36px 36px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 50%, #000 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 50%, #000 20%, transparent 75%);
}

.mv-section__orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(2px);
  animation: mvOrbFloat 12s ease-in-out infinite;
}

.mv-section__orb--1 {
  width: 280px;
  height: 280px;
  top: -80px;
  left: -60px;
  background: radial-gradient(circle, rgba(74, 159, 212, 0.55) 0%, transparent 70%);
  animation-duration: 14s;
}

.mv-section__orb--2 {
  width: 340px;
  height: 340px;
  right: -100px;
  bottom: -120px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.22) 0%, transparent 68%);
  animation-duration: 16s;
  animation-direction: reverse;
}

.mv-section__orb--3 {
  width: 160px;
  height: 160px;
  top: 40%;
  left: 45%;
  background: radial-gradient(circle, rgba(91, 184, 214, 0.4) 0%, transparent 70%);
  animation-duration: 10s;
}

.mv-section__ring {
  position: absolute;
  border: 1.5px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
  animation: mvRingPulse 9s ease-in-out infinite;
}

.mv-section__ring--1 {
  width: 220px;
  height: 220px;
  top: 12%;
  right: 12%;
}

.mv-section__ring--2 {
  width: 140px;
  height: 140px;
  bottom: 18%;
  left: 10%;
  animation-delay: -3s;
  animation-duration: 11s;
}

.mv-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.75rem;
}

.mv-card {
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: var(--radius-lg);
  padding: 2.35rem 2.15rem 2.15rem;
  position: relative;
  overflow: hidden;
  box-shadow:
    0 20px 50px rgba(11, 45, 77, 0.22),
    0 0 0 1px rgba(255, 255, 255, 0.08) inset;
  backdrop-filter: blur(10px);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.mv-card:hover {
  transform: translateY(-8px);
  box-shadow:
    0 28px 60px rgba(11, 45, 77, 0.3),
    0 0 0 1px rgba(255, 255, 255, 0.15) inset;
}

.mv-card__glow {
  position: absolute;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  top: -90px;
  right: -70px;
  pointer-events: none;
  opacity: 0.85;
  animation: mvCardGlow 6s ease-in-out infinite;
}

.mv-card--mission .mv-card__glow {
  background: radial-gradient(circle, rgba(23, 105, 170, 0.28) 0%, transparent 70%);
}

.mv-card--vision .mv-card__glow {
  background: radial-gradient(circle, rgba(47, 143, 196, 0.32) 0%, transparent 70%);
  animation-delay: -2s;
}

.mv-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: linear-gradient(90deg, var(--primary), #4a9fd4, #7ec8e8);
  background-size: 200% 100%;
  animation: mvAccentShift 5s ease infinite;
}

.mv-card--vision::before {
  background: linear-gradient(90deg, #4a9fd4, #7ec8e8, var(--primary));
  background-size: 200% 100%;
}

.mv-card__icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.15rem;
  color: var(--primary);
  background: linear-gradient(145deg, var(--bg-blue), #ffffff);
  border: 1px solid rgba(23, 105, 170, 0.15);
  box-shadow: 0 8px 20px rgba(23, 105, 170, 0.12);
  animation: mvIconBob 4.5s ease-in-out infinite;
}

.mv-card--vision .mv-card__icon {
  animation-delay: -1.5s;
  color: #134a75;
}

.mv-card__label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 0.45rem;
}

.mv-card h2 {
  font-size: clamp(1.45rem, 2.5vw, 1.85rem);
  font-weight: 800;
  color: var(--dark);
  letter-spacing: -0.03em;
  margin-bottom: 1rem;
  line-height: 1.2;
}

.mv-card p:last-child {
  color: var(--text-secondary);
  font-size: 1.05rem;
  line-height: 1.7;
  margin: 0;
}

@keyframes mvOrbFloat {
  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }
  50% {
    transform: translate(18px, -22px) scale(1.08);
  }
}

@keyframes mvRingPulse {
  0%,
  100% {
    transform: scale(1);
    opacity: 0.55;
  }
  50% {
    transform: scale(1.12);
    opacity: 1;
  }
}

@keyframes mvCardGlow {
  0%,
  100% {
    transform: scale(1);
    opacity: 0.7;
  }
  50% {
    transform: scale(1.15);
    opacity: 1;
  }
}

@keyframes mvAccentShift {
  0%,
  100% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
}

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

/* --------------------------------------------------------------------------
   Highlight / platform band
   -------------------------------------------------------------------------- */

.highlight-band {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--dark) 0%, #134a75 50%, var(--primary) 100%);
  color: var(--white);
  padding: 5rem 0;
}

.highlight-band::before {
  content: "";
  position: absolute;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  top: -40%;
  right: -10%;
  animation: floatShape 24s ease-in-out infinite;
}

.highlight-band .section-title {
  color: var(--white);
}

.highlight-band p {
  color: rgba(255, 255, 255, 0.85);
  max-width: 700px;
}

.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2rem;
}

.pill {
  display: inline-flex;
  align-items: center;
  padding: 0.55rem 1.1rem;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--white);
  backdrop-filter: blur(4px);
}

/* --------------------------------------------------------------------------
   Image treatments
   -------------------------------------------------------------------------- */

.media-frame {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  aspect-ratio: 4 / 3;
  background: linear-gradient(145deg, var(--dark), var(--primary));
}

.media-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.media-frame--asymmetric {
  border-radius: 40% 60% 50% 50% / 50% 40% 60% 50%;
  aspect-ratio: 1;
}

.media-frame--overlap {
  margin-bottom: -3rem;
  z-index: 2;
}

.media-frame__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, transparent 40%, rgba(11, 45, 77, 0.45) 100%);
  pointer-events: none;
}

.media-frame__pattern {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 35% 35%, rgba(255, 255, 255, 0.18) 0%, transparent 45%),
    repeating-linear-gradient(
      45deg,
      transparent,
      transparent 24px,
      rgba(255, 255, 255, 0.04) 24px,
      rgba(255, 255, 255, 0.04) 25px
    );
  pointer-events: none;
}

.img-zoom {
  overflow: hidden;
  border-radius: var(--radius);
}

.img-zoom img {
  transition: transform 0.6s ease;
}

.img-zoom:hover img {
  transform: scale(1.06);
}

.split-section .media-frame {
  animation: driftImage 16s ease-in-out infinite;
}

/* --------------------------------------------------------------------------
   Team cards
   -------------------------------------------------------------------------- */

.team-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
  height: 100%;
}

.team-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}

.team-card__avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--bg-blue), var(--primary));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-weight: 700;
  font-size: 1.25rem;
  margin-bottom: 1.25rem;
  letter-spacing: 0.02em;
}

.team-card__role {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 0.4rem;
}

.team-card h3 {
  font-size: 1.35rem;
  color: var(--dark);
  margin-bottom: 1rem;
}

.team-card p {
  color: var(--text-secondary);
  font-size: 0.975rem;
}

.team-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.75rem;
}

/* --------------------------------------------------------------------------
   News / Media
   -------------------------------------------------------------------------- */

.news-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
  display: grid;
  grid-template-columns: 200px 1fr;
}

.news-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.news-card__date {
  background: linear-gradient(160deg, var(--dark), var(--primary));
  color: var(--white);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem 1rem;
  text-align: center;
}

.news-card__date strong {
  font-size: 2rem;
  font-weight: 800;
  line-height: 1;
}

.news-card__date span {
  font-size: 0.9rem;
  opacity: 0.85;
  margin-top: 0.35rem;
}

.news-card__body {
  padding: 2rem;
}

.news-card__body h3 {
  font-size: 1.35rem;
  color: var(--dark);
  margin-bottom: 0.85rem;
}

.news-card__body p {
  color: var(--text-secondary);
}

/* --------------------------------------------------------------------------
   Contact form
   -------------------------------------------------------------------------- */

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 3rem;
  align-items: start;
}

.form-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  box-shadow: var(--shadow-sm);
}

.contact-email-alt {
  margin-top: 1.5rem;
  padding-top: 1.35rem;
  border-top: 1px solid var(--border);
  text-align: center;
  font-size: 0.95rem;
  color: var(--text-secondary);
}

.contact-email-alt a {
  color: var(--primary);
  font-weight: 600;
  text-decoration: none;
}

.contact-email-alt a:hover {
  text-decoration: underline;
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--dark);
  margin-bottom: 0.4rem;
}

.form-group .required {
  color: var(--primary);
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--bg);
  color: var(--text);
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(23, 105, 170, 0.15);
}

.form-group input.is-invalid,
.form-group textarea.is-invalid {
  border-color: #c0392b;
}

.form-error {
  display: none;
  color: #c0392b;
  font-size: 0.825rem;
  margin-top: 0.35rem;
}

.form-group.has-error .form-error {
  display: block;
}

.form-success {
  display: none;
  background: var(--bg-blue);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 1rem 1.25rem;
  color: var(--dark);
  margin-bottom: 1.25rem;
}

.form-success.is-visible {
  display: block;
}

.contact-info p {
  color: var(--text-secondary);
  margin-bottom: 1rem;
}

/* Compact contact page — fit first viewport */
.page-contact .contact-section {
  padding: calc(var(--header-h) + 1.75rem) 0 2rem;
}

.page-contact .contact-grid {
  gap: 2.25rem;
  align-items: start;
}

.page-contact .contact-info .breadcrumb {
  margin-bottom: 0.65rem;
}

.page-contact .contact-info .section-label {
  margin-bottom: 0.5rem;
}

.page-contact .contact-info .section-title {
  font-size: clamp(1.45rem, 2.6vw, 1.9rem);
  margin-bottom: 0.9rem;
  line-height: 1.28;
}

.page-contact .contact-info p {
  font-size: 0.975rem;
  line-height: 1.6;
  margin-bottom: 0.8rem;
}

.page-contact .contact-info .link-row {
  margin-top: 1rem;
  gap: 0.75rem;
}

.page-contact .contact-info .btn {
  padding: 0.65rem 1.15rem;
  font-size: 0.9rem;
}

.page-contact .form-card {
  padding: 1.5rem 1.6rem 1.35rem;
  border-radius: var(--radius);
}

.page-contact .form-group {
  margin-bottom: 0.85rem;
}

.page-contact .form-group label {
  font-size: 0.85rem;
  margin-bottom: 0.3rem;
}

.page-contact .form-group input,
.page-contact .form-group textarea,
.page-contact .form-group select {
  padding: 0.65rem 0.85rem;
  font-size: 0.925rem;
}

.page-contact .form-group textarea {
  min-height: 0;
  resize: vertical;
}

.page-contact .form-card .btn {
  padding: 0.65rem 1.25rem;
  font-size: 0.9rem;
  width: auto;
}

.page-contact .contact-email-alt {
  margin-top: 1rem;
  padding-top: 0.9rem;
  font-size: 0.9rem;
}

/* --------------------------------------------------------------------------
   CTA band
   -------------------------------------------------------------------------- */

.cta-band {
  text-align: center;
  padding: 5rem 0;
  background:
    radial-gradient(ellipse 60% 80% at 50% 100%, rgba(23, 105, 170, 0.1) 0%, transparent 60%),
    var(--bg-soft);
}

.cta-band .section-title {
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.cta-band .section-lead {
  margin-left: auto;
  margin-right: auto;
}

.cta-band .btn-group {
  justify-content: center;
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */

.site-footer {
  background: var(--dark);
  color: rgba(255, 255, 255, 0.8);
  padding: 2.5rem 0 1.35rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 1.5rem 2rem;
  margin-bottom: 1.75rem;
}

.footer-brand img {
  height: 36px;
  width: auto;
  margin-bottom: 0.65rem;
  opacity: 0.95;
}

.footer-brand p {
  font-size: 0.85rem;
  line-height: 1.5;
  max-width: 260px;
}

.footer-col h4 {
  color: var(--white);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}

.footer-col ul {
  display: grid;
  gap: 0.4rem;
}

.footer-col a {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.85rem;
  transition: color 0.25s ease;
}

.footer-col a:hover {
  color: var(--white);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 1rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.55);
}

/* --------------------------------------------------------------------------
   Animations — scroll & page load
   -------------------------------------------------------------------------- */

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-left {
  opacity: 0;
  transform: translateX(-32px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal-left.is-visible {
  opacity: 1;
  transform: translateX(0);
}

.reveal-right {
  opacity: 0;
  transform: translateX(32px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal-right.is-visible {
  opacity: 1;
  transform: translateX(0);
}

.stagger > * {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.stagger.is-visible > *:nth-child(1) {
  transition-delay: 0.05s;
}
.stagger.is-visible > *:nth-child(2) {
  transition-delay: 0.12s;
}
.stagger.is-visible > *:nth-child(3) {
  transition-delay: 0.19s;
}
.stagger.is-visible > *:nth-child(4) {
  transition-delay: 0.26s;
}
.stagger.is-visible > *:nth-child(5) {
  transition-delay: 0.33s;
}
.stagger.is-visible > *:nth-child(6) {
  transition-delay: 0.4s;
}

.stagger.is-visible > * {
  opacity: 1;
  transform: translateY(0);
}

.page-load {
  animation: pageFade 0.8s ease forwards;
}

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

.parallax-img {
  will-change: transform;
}

.gradient-accent {
  background: linear-gradient(90deg, var(--primary), #4a9fd4, var(--primary));
  background-size: 200% 100%;
  animation: gradientShift 8s ease infinite;
  height: 3px;
  border: none;
  border-radius: 2px;
}

@keyframes gradientShift {
  0%,
  100% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
}

/* --------------------------------------------------------------------------
   Accordion
   -------------------------------------------------------------------------- */

.accordion {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--white);
}

.accordion-item + .accordion-item {
  border-top: 1px solid var(--border);
}

.accordion-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.15rem 1.35rem;
  background: transparent;
  border: none;
  cursor: pointer;
  text-align: left;
  font-weight: 600;
  color: var(--dark);
  font-size: 1rem;
}

.accordion-trigger svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  transition: transform 0.3s ease;
  color: var(--primary);
}

.accordion-trigger[aria-expanded="true"] svg {
  transform: rotate(180deg);
}

.accordion-panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.35s ease;
}

.accordion-panel.is-open {
  grid-template-rows: 1fr;
}

.accordion-panel__inner {
  overflow: hidden;
}

.accordion-panel__inner p {
  padding: 0 1.35rem 1.25rem;
  color: var(--text-secondary);
}

/* --------------------------------------------------------------------------
   Text utilities
   -------------------------------------------------------------------------- */

.prose p + p {
  margin-top: 1.15rem;
}

.prose p {
  color: var(--text-secondary);
}

.text-center {
  text-align: center;
}

.mt-1 {
  margin-top: 0.5rem;
}
.mt-2 {
  margin-top: 1rem;
}
.mt-3 {
  margin-top: 1.5rem;
}
.mt-4 {
  margin-top: 2rem;
}

.mb-0 {
  margin-bottom: 0;
}

.link-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2rem;
}

/* --------------------------------------------------------------------------
   Homepage overview + innovation pillars
   -------------------------------------------------------------------------- */

.home-overview {
  max-width: 1000px;
  margin: 0 auto;
}

.home-overview__lead {
  font-size: clamp(1.15rem, 2.2vw, 1.35rem);
  line-height: 1.75;
  color: var(--text);
  max-width: 820px;
}

.home-overview__rule {
  max-width: 120px;
  margin: 2rem 0 2.5rem;
}

.home-overview__body {
  align-items: center;
}

.home-overview__body p {
  color: var(--text-secondary);
  font-size: 1.0625rem;
}

.home-pillars {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  list-style: none;
}

.home-pillars li {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  padding: 1.15rem 1.25rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.home-pillars li:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: rgba(23, 105, 170, 0.28);
}

.home-pillars .check {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--bg-blue);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
}

.home-pillars .check svg {
  width: 14px;
  height: 14px;
}

.home-pillars span:last-child {
  font-weight: 500;
  color: var(--text);
  padding-top: 0.15rem;
}

/* --------------------------------------------------------------------------
   About page layout
   -------------------------------------------------------------------------- */

.about-layout {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 4rem;
  align-items: start;
}

.about-layout__content {
  max-width: 680px;
}

.about-lead {
  font-size: clamp(1.15rem, 2vw, 1.3rem);
  line-height: 1.75;
  color: var(--text);
  margin-bottom: 2.75rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--border);
}

.about-block {
  margin-bottom: 2.25rem;
}

.about-block h2 {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--dark);
  letter-spacing: -0.02em;
  margin-bottom: 0.85rem;
  line-height: 1.3;
}

.about-block p {
  color: var(--text-secondary);
  line-height: 1.75;
}

.about-block .card__link {
  margin-top: 1rem;
}

.about-block--goal {
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem 1.85rem;
  margin-top: 0.5rem;
}

.about-block--goal h2 {
  color: var(--primary);
}

.about-layout__visual {
  position: sticky;
  top: calc(var(--header-h) + 1.5rem);
  display: grid;
  gap: 3.75rem;
  padding: 1.5rem 0 2rem;
  isolation: isolate;
}

.about-layout__orbit {
  position: absolute;
  width: 78%;
  aspect-ratio: 1;
  top: 6%;
  right: -8%;
  border-radius: 50%;
  border: 1px solid rgba(23, 105, 170, 0.22);
  background:
    radial-gradient(circle at 30% 30%, rgba(74, 159, 212, 0.16), transparent 55%),
    radial-gradient(circle at 70% 70%, rgba(23, 105, 170, 0.1), transparent 50%);
  z-index: -1;
  animation: aboutOrbitPulse 10s ease-in-out infinite;
  pointer-events: none;
}

.about-layout__frame {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-lg);
  box-shadow: 0 18px 40px rgba(11, 45, 77, 0.16);
}

.about-layout__frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.about-layout__frame--primary {
  width: 92%;
  justify-self: start;
  border-radius: 42% 58% 48% 52% / 52% 42% 58% 48%;
  animation: aboutMorph 14s ease-in-out infinite, aboutFloat 9s ease-in-out infinite;
  overflow: hidden;
}

.about-layout__frame--primary img {
  transform-origin: center center;
  animation: aboutKenBurns 18s ease-in-out infinite;
}

.about-layout__shine {
  position: absolute;
  inset: -20%;
  background: linear-gradient(
    115deg,
    transparent 35%,
    rgba(255, 255, 255, 0.18) 48%,
    transparent 62%
  );
  transform: translateX(-60%) rotate(8deg);
  animation: aboutShine 7s ease-in-out infinite;
  pointer-events: none;
  z-index: 2;
}

.about-layout__shine--delayed {
  animation-delay: 3.5s;
  animation-duration: 8s;
}

.about-layout__frame--offset {
  aspect-ratio: 5 / 4;
  width: 86%;
  justify-self: end;
  margin-left: 0;
  margin-top: 0.5rem;
  border-radius: 48% 52% 42% 58% / 45% 55% 45% 55%;
  animation: aboutMorphAlt 12s ease-in-out infinite, aboutFloatAlt 8s ease-in-out infinite;
  overflow: hidden;
  background: linear-gradient(160deg, #f7fbfe 0%, #eaf3fa 55%, #dceaf6 100%);
  box-shadow: 0 18px 40px rgba(11, 45, 77, 0.14);
  border: 1px solid rgba(23, 105, 170, 0.12);
}

.about-layout__frame--offset img {
  transform-origin: 55% 45%;
  animation: aboutKenBurnsAlt 14s ease-in-out infinite;
}

.about-layout__drawing {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem;
}

.about-drawing {
  width: 100%;
  height: 100%;
  display: block;
}

.about-drawing__wash {
  fill: rgba(255, 255, 255, 0.55);
  opacity: 0;
  animation: aboutDrawWash 12s ease-in-out infinite;
}

.about-drawing__line {
  fill: none;
  stroke: var(--primary);
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-dasharray: 900;
  stroke-dashoffset: 900;
  animation: aboutDrawStroke 12s ease-in-out infinite;
}

.about-drawing__line--1 { stroke: var(--dark); stroke-width: 2.6; animation-delay: 0.1s; }
.about-drawing__line--2 { animation-delay: 0.35s; }
.about-drawing__line--3 { animation-delay: 0.55s; }
.about-drawing__line--4 { animation-delay: 0.75s; }
.about-drawing__line--5 { animation-delay: 0.95s; }
.about-drawing__line--6 { animation-delay: 1.15s; }
.about-drawing__line--7 { animation-delay: 1.35s; }
.about-drawing__line--8 { stroke: var(--dark); animation-delay: 1.55s; }
.about-drawing__line--9 { stroke: #4a9fd4; stroke-width: 2; animation-delay: 1.75s; }
.about-drawing__line--10 { animation-delay: 1.95s; }
.about-drawing__line--11 { stroke: #4a9fd4; stroke-width: 2; animation-delay: 2.15s; }
.about-drawing__line--12 { stroke: #4a9fd4; stroke-width: 2; animation-delay: 2.3s; }
.about-drawing__line--13 { stroke: #4a9fd4; stroke-width: 1.8; animation-delay: 2.5s; }
.about-drawing__line--14 { animation-delay: 2.7s; }

.about-drawing__fill {
  fill: var(--primary);
  opacity: 0;
  animation: aboutDrawFill 12s ease-in-out infinite;
}

.about-drawing__fill--soft {
  animation-delay: 0.2s;
}

.about-drawing__fill--core {
  fill: #4a9fd4;
  animation-delay: 0.35s;
}

@keyframes aboutDrawStroke {
  0% {
    stroke-dashoffset: 900;
    opacity: 0.2;
  }
  8% {
    opacity: 1;
  }
  28%,
  72% {
    stroke-dashoffset: 0;
    opacity: 1;
  }
  88%,
  100% {
    stroke-dashoffset: 900;
    opacity: 0.15;
  }
}

@keyframes aboutDrawFill {
  0%,
  22% {
    opacity: 0;
  }
  32%,
  68% {
    opacity: 0.12;
  }
  82%,
  100% {
    opacity: 0;
  }
}

@keyframes aboutDrawWash {
  0%,
  12% {
    opacity: 0;
  }
  28%,
  70% {
    opacity: 1;
  }
  88%,
  100% {
    opacity: 0;
  }
}

.about-layout__frame.img-zoom:hover img {
  animation-play-state: paused;
  transform: scale(1.08);
}

.about-layout__frame.img-zoom:hover > *:not(img) {
  transform: none;
}

@keyframes aboutMorph {
  0%,
  100% {
    border-radius: 42% 58% 48% 52% / 52% 42% 58% 48%;
  }
  33% {
    border-radius: 55% 45% 60% 40% / 40% 60% 40% 60%;
  }
  66% {
    border-radius: 38% 62% 45% 55% / 58% 38% 62% 42%;
  }
}

@keyframes aboutFloat {
  0%,
  100% {
    transform: translateY(0) translateX(0);
  }
  50% {
    transform: translateY(-14px) translateX(6px);
  }
}

@keyframes aboutFloatAlt {
  0%,
  100% {
    transform: rotate(-3.5deg) translateY(0) translateX(0);
  }
  50% {
    transform: rotate(-1.5deg) translateY(16px) translateX(-8px);
  }
}

@keyframes aboutMorphAlt {
  0%,
  100% {
    border-radius: 48% 52% 42% 58% / 45% 55% 45% 55%;
  }
  33% {
    border-radius: 40% 60% 55% 45% / 55% 40% 60% 45%;
  }
  66% {
    border-radius: 58% 42% 48% 52% / 42% 58% 42% 58%;
  }
}

@keyframes aboutKenBurnsAlt {
  0%,
  100% {
    transform: scale(1.04) translate(0, 0);
  }
  50% {
    transform: scale(1.14) translate(2.5%, -2%);
  }
}

@keyframes aboutKenBurns {
  0%,
  100% {
    transform: scale(1.02) translate(0, 0);
  }
  50% {
    transform: scale(1.12) translate(-2%, 1.5%);
  }
}

@keyframes aboutPan {
  0%,
  100% {
    transform: scale(1.06) translate(0, 0);
  }
  50% {
    transform: scale(1.12) translate(2%, -1%);
  }
}

@keyframes aboutShine {
  0%,
  35% {
    transform: translateX(-70%) rotate(8deg);
    opacity: 0;
  }
  45% {
    opacity: 1;
  }
  65%,
  100% {
    transform: translateX(70%) rotate(8deg);
    opacity: 0;
  }
}

@keyframes aboutOrbitPulse {
  0%,
  100% {
    transform: scale(1);
    opacity: 0.85;
  }
  50% {
    transform: scale(1.06);
    opacity: 1;
  }
}

/* --------------------------------------------------------------------------
   About — opportunity / clinical / manufacturing (grid background)
   -------------------------------------------------------------------------- */

.about-grid-section {
  position: relative;
  padding: 5rem 0;
  background-color: #f3f7fb;
  background-image:
    linear-gradient(rgba(23, 105, 170, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(23, 105, 170, 0.055) 1px, transparent 1px);
  background-size: 28px 28px;
  border-top: 1px solid rgba(23, 105, 170, 0.08);
  border-bottom: 1px solid rgba(23, 105, 170, 0.08);
}

.about-grid-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 50% at 10% 0%, rgba(255, 255, 255, 0.75), transparent 55%),
    radial-gradient(ellipse 50% 40% at 90% 100%, rgba(234, 243, 250, 0.9), transparent 50%);
  pointer-events: none;
}

.about-grid-section .container {
  position: relative;
  z-index: 1;
}

.about-grid-section__intro {
  max-width: 820px;
  margin-bottom: 2.5rem;
}

.about-grid-section__title {
  font-size: clamp(1.35rem, 2.8vw, 1.85rem);
  font-weight: 700;
  color: var(--dark);
  letter-spacing: -0.02em;
  line-height: 1.4;
}

.about-grid-section__title span {
  color: var(--primary);
}

.about-grid-section__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-bottom: 2.5rem;
}

.about-stat {
  padding: 1.35rem 1.4rem;
  border-left: 3px solid var(--primary);
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(4px);
}

.about-stat__value {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 800;
  color: var(--dark);
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 0.35rem;
}

.about-stat__label {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.4;
  margin: 0;
}

.about-grid-section__panels {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.about-panel {
  padding: 1.85rem 1.75rem;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(23, 105, 170, 0.12);
  backdrop-filter: blur(4px);
}

.about-panel__eyebrow {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 0.55rem;
}

.about-panel h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--dark);
  letter-spacing: -0.02em;
  margin-bottom: 0.85rem;
}

.about-panel p {
  color: var(--text-secondary);
  font-size: 0.975rem;
  line-height: 1.7;
  margin: 0;
}

/* --------------------------------------------------------------------------
   Technology page layout
   -------------------------------------------------------------------------- */

.tech-layout {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3.5rem;
  align-items: center;
}

.tech-layout__frame {
  aspect-ratio: 1;
  border-radius: 42% 58% 48% 52% / 52% 42% 58% 48%;
}

.tech-drawing-frame {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  overflow: hidden;
  background: linear-gradient(160deg, #f7fbfe 0%, #eaf3fa 50%, #d5e8f6 100%);
  border: 1px solid rgba(23, 105, 170, 0.14);
  box-shadow: 0 18px 40px rgba(11, 45, 77, 0.14);
  animation: aboutMorph 16s ease-in-out infinite, aboutFloat 10s ease-in-out infinite;
}

.tech-drawing {
  width: 100%;
  height: 100%;
  display: block;
}

.tech-drawing__line {
  fill: none;
  stroke: var(--primary);
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-dasharray: 1000;
  stroke-dashoffset: 1000;
  animation: techDrawStroke 14s ease-in-out infinite;
}

.tech-drawing__line--orbit {
  stroke: rgba(23, 105, 170, 0.35);
  stroke-width: 1.6;
  animation-delay: 0.05s;
}

.tech-drawing__line--orbit2 {
  stroke: rgba(74, 159, 212, 0.45);
  stroke-width: 1.4;
  stroke-dasharray: 6 10;
  animation-delay: 0.2s;
}

.tech-drawing__line--organ {
  stroke: var(--dark);
  stroke-width: 2.2;
  animation-delay: 0.35s;
}

.tech-drawing__line--core {
  stroke-width: 2.8;
  animation-delay: 0.7s;
}

.tech-drawing__line--core2 {
  stroke: #4a9fd4;
  stroke-width: 2.2;
  animation-delay: 0.9s;
}

.tech-drawing__line--arm {
  stroke-width: 2.2;
  animation-delay: 1.1s;
}

.tech-drawing__line--node {
  stroke: #4a9fd4;
  stroke-width: 2;
  animation-delay: 1.35s;
}

.tech-drawing__line--path {
  stroke: var(--dark);
  stroke-width: 2.2;
  animation-delay: 1.6s;
}

.tech-drawing__line--path2 {
  stroke: #4a9fd4;
  stroke-width: 1.8;
  animation-delay: 1.8s;
}

.tech-drawing__line--ind {
  stroke: var(--primary);
  stroke-width: 2.2;
  animation-delay: 2s;
}

.tech-drawing__line--link {
  stroke: #4a9fd4;
  stroke-width: 1.8;
  animation-delay: 2.2s;
}

.tech-drawing__fill {
  fill: var(--primary);
  opacity: 0;
  animation: techDrawFill 14s ease-in-out infinite;
}

.tech-drawing__fill--core {
  animation-delay: 0.4s;
}

.tech-drawing__fill--inner {
  fill: #4a9fd4;
  animation-delay: 0.55s;
}

.tech-drawing__fill--node {
  fill: #4a9fd4;
  animation-delay: 0.7s;
}

@keyframes techDrawStroke {
  0% {
    stroke-dashoffset: 1000;
    opacity: 0.15;
  }
  6% {
    opacity: 1;
  }
  26%,
  72% {
    stroke-dashoffset: 0;
    opacity: 1;
  }
  88%,
  100% {
    stroke-dashoffset: 1000;
    opacity: 0.12;
  }
}

@keyframes techDrawFill {
  0%,
  20% {
    opacity: 0;
  }
  30%,
  68% {
    opacity: 0.14;
  }
  82%,
  100% {
    opacity: 0;
  }
}

.tech-potential {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
  padding: 0.5rem 0;
}

.tech-potential p {
  color: var(--text-secondary);
  font-size: 1.125rem;
  line-height: 1.75;
}

.tech-advantages {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.tech-advantage {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.65rem 1.5rem;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  height: 100%;
}

.tech-advantage:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(23, 105, 170, 0.28);
}

.tech-advantage__num {
  display: block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--primary);
  margin-bottom: 0.85rem;
}

.tech-advantage h3 {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--dark);
  line-height: 1.4;
  letter-spacing: -0.01em;
}

/* --------------------------------------------------------------------------
   Team page profiles
   -------------------------------------------------------------------------- */

.team-profiles {
  display: grid;
  gap: 1.5rem;
  max-width: 900px;
}

.team-profile {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem 2.15rem;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.team-profile:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: rgba(23, 105, 170, 0.22);
}

.team-profile__header {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 1.35rem;
  padding-bottom: 1.35rem;
  border-bottom: 1px solid var(--border);
}

.team-profile__avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--bg-blue), var(--primary));
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: 0.02em;
  flex-shrink: 0;
}

.team-profile__photo {
  width: 128px;
  height: 128px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  background: transparent;
  border: 3px solid var(--bg-blue);
  box-shadow: 0 4px 16px rgba(11, 45, 77, 0.1);
}

.team-profile__role {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 0.35rem;
}

.team-profile h3 {
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--dark);
  letter-spacing: -0.02em;
  line-height: 1.25;
}

.team-profile > p {
  color: var(--text-secondary);
  line-height: 1.75;
  font-size: 0.975rem;
}

/* --------------------------------------------------------------------------
   Our People section (card grid)
   -------------------------------------------------------------------------- */

.people-section {
  padding: 5rem 0;
  background: linear-gradient(135deg, #5bb8d6 0%, #2f8fc4 45%, #1769aa 100%);
  position: relative;
  overflow: hidden;
}

.people-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 50% 60% at 10% 20%, rgba(255, 255, 255, 0.18) 0%, transparent 55%),
    radial-gradient(ellipse 40% 50% at 90% 80%, rgba(11, 45, 77, 0.15) 0%, transparent 50%);
  pointer-events: none;
}

.people-section .container {
  position: relative;
  z-index: 1;
}

.people-section__header {
  margin-bottom: 2.5rem;
}

.people-section__label {
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 0.85rem;
}

.people-section__title {
  display: inline-block;
  font-size: clamp(1.5rem, 3vw, 2.15rem);
  font-weight: 700;
  color: var(--dark);
  letter-spacing: -0.02em;
  line-height: 1.25;
  background: rgba(234, 243, 250, 0.92);
  border: 1px solid rgba(11, 45, 77, 0.2);
  border-radius: 4px;
  padding: 1rem 1.35rem;
  max-width: 100%;
}

.people-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  align-items: stretch;
}

.people-card {
  background: var(--white);
  border-radius: 14px;
  padding: 2rem 1.5rem 1.75rem;
  box-shadow: 0 10px 30px rgba(11, 45, 77, 0.15);
  text-align: center;
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.people-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 36px rgba(11, 45, 77, 0.2);
}

.people-card__photo {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 1.25rem;
  border: 3px solid var(--bg-blue);
  box-shadow: 0 4px 14px rgba(11, 45, 77, 0.12);
}

.people-card__name {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--dark);
  letter-spacing: -0.02em;
  margin-bottom: 0.35rem;
  line-height: 1.25;
}

.people-card__role {
  font-size: 0.925rem;
  font-weight: 600;
  color: #1a8a8c;
  margin-bottom: 1.15rem;
  line-height: 1.4;
}

.people-card__bio {
  text-align: left;
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.7;
  flex: 1;
}

/* --------------------------------------------------------------------------
   Scientific & Clinical Advisors
   -------------------------------------------------------------------------- */

.advisors-section {
  padding: 5rem 0;
  background: linear-gradient(180deg, #f4f8fc 0%, #ffffff 45%, #eaf3fa 100%);
  position: relative;
}

.advisors-section__header {
  margin-bottom: 2.5rem;
}

.advisors-section__label {
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 0.85rem;
}

.advisors-section__title {
  font-size: clamp(1.5rem, 3vw, 2.15rem);
  font-weight: 700;
  color: var(--dark);
  letter-spacing: -0.02em;
  line-height: 1.25;
  padding-bottom: 0.85rem;
  border-bottom: 3px solid var(--primary);
  display: inline-block;
}

.advisors-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1.5rem;
  align-items: stretch;
}

.people-card--advisor {
  box-shadow: 0 8px 24px rgba(11, 45, 77, 0.08);
  border: 1px solid rgba(23, 105, 170, 0.12);
}

.people-card--advisor .people-card__name {
  color: var(--primary);
  font-size: 1.1rem;
}

.people-card--advisor .people-card__bio {
  text-align: center;
  font-style: italic;
  font-size: 0.875rem;
  margin-top: 0.35rem;
}

/* --------------------------------------------------------------------------
   Media page layout
   -------------------------------------------------------------------------- */

.media-intro {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3.5rem;
  align-items: center;
}

.media-intro__text {
  max-width: 640px;
}

.media-intro__text p {
  color: var(--text-secondary);
  font-size: 1.0625rem;
  line-height: 1.75;
}

.media-intro__frame {
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 16px 36px rgba(11, 45, 77, 0.12);
}

.media-intro__frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.media-news {
  display: grid;
  grid-template-columns: 140px 1fr;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  max-width: 900px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.media-news:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.media-news__meta {
  background: linear-gradient(160deg, var(--dark), var(--primary));
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 1rem;
  text-align: center;
}

.media-news__meta time {
  font-size: 1.75rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.media-news__body {
  padding: 2rem 2.15rem;
}

.media-news__body h3 {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--dark);
  letter-spacing: -0.02em;
  margin-bottom: 0.85rem;
  line-height: 1.3;
}

.media-news__body p {
  color: var(--text-secondary);
  line-height: 1.7;
}

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */

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

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

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .hero__grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .hero__visual {
    height: 360px;
    max-width: 420px;
    margin: 0 auto;
  }

  .hero__accent-card {
    left: 0;
  }
}

@media (max-width: 860px) {
  .home-pillars {
    grid-template-columns: 1fr;
  }

  .mv-section {
    padding: 4rem 0;
  }

  .about-layout {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .about-layout__visual {
    position: static;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    padding: 0.5rem 0;
  }

  .about-layout__orbit {
    display: none;
  }

  .about-layout__frame--primary {
    width: 100%;
    animation: aboutMorph 14s ease-in-out infinite, aboutFloat 9s ease-in-out infinite;
  }

  .about-layout__frame--offset {
    width: 100%;
    margin-left: 0;
    margin-top: 2.25rem;
    border-radius: 48% 52% 42% 58% / 45% 55% 45% 55%;
  }

  .about-grid-section {
    padding: 3.75rem 0;
  }

  .about-grid-section__stats,
  .about-grid-section__panels {
    grid-template-columns: 1fr;
  }

  .tech-layout {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

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

  .media-intro {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .media-news {
    grid-template-columns: 1fr;
  }

  .media-news__meta {
    padding: 1.25rem;
  }

  .people-grid {
    grid-template-columns: 1fr;
  }

  .advisors-grid {
    grid-template-columns: 1fr;
  }

  .people-section,
  .advisors-section {
    padding: 3.75rem 0;
  }

  .people-card__photo {
    width: 120px;
    height: 120px;
  }

  :root {
    --header-h: 72px;
  }

  .nav-toggle {
    display: flex;
    order: -1;
  }

  .nav-cluster {
    flex: 0;
  }

  .logo-link {
    margin-left: 0;
  }

  .header-inner {
    flex-wrap: nowrap;
  }

  .primary-nav {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    background: var(--white);
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-md);
    padding: 1rem;
    max-height: calc(100dvh - var(--header-h));
    overflow-y: auto;
    transform: translateY(-120%);
    opacity: 0;
    visibility: hidden;
    transition: transform 0.35s ease, opacity 0.35s ease, visibility 0.35s ease;
    z-index: 999;
  }

  .primary-nav.is-open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .primary-nav ul {
    flex-direction: column;
    align-items: stretch;
    gap: 0.15rem;
  }

  .primary-nav a,
  .nav-dropdown > button {
    display: block;
    width: 100%;
    padding: 0.85rem 1rem;
    text-align: left;
  }

  .primary-nav a::after {
    display: none;
  }

  .nav-dropdown-panel {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: none;
    padding: 0 0 0 1rem;
    display: none;
    min-width: 0;
  }

  .nav-dropdown.is-open .nav-dropdown-panel {
    display: block;
  }

  .grid-2,
  .grid-3,
  .mv-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

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

  .news-card__date {
    flex-direction: row;
    gap: 0.5rem;
    padding: 1.25rem;
  }

  .section {
    padding: 3.75rem 0;
  }

  .hero {
    min-height: auto;
    padding-top: calc(var(--header-h) + 2rem);
    padding-bottom: 3rem;
  }
}

@media (max-width: 560px) {
  .about-layout__visual {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .about-layout__frame--offset {
    margin-top: 0;
    transform: rotate(-2deg);
  }

  .tech-advantages {
    grid-template-columns: 1fr;
  }

  .team-profile {
    padding: 1.5rem;
  }

  .team-profile__photo {
    width: 96px;
    height: 96px;
  }

  .team-profile__header {
    gap: 1.15rem;
  }

  .grid-4 {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .btn {
    width: 100%;
  }

  .btn-group {
    flex-direction: column;
  }

  .hero__accent-card {
    display: none;
  }

  .logo-link img {
    height: 36px;
  }
}

/* --------------------------------------------------------------------------
   Reduced motion
   -------------------------------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .reveal,
  .reveal-left,
  .reveal-right,
  .stagger > * {
    opacity: 1;
    transform: none;
  }

  .hero__image-frame,
  .hero__accent-card,
  .split-section .media-frame,
  .about-layout__frame--primary,
  .about-layout__frame--offset,
  .about-layout__frame--primary img,
  .about-layout__frame--offset img,
  .about-layout__shine,
  .about-layout__orbit,
  .about-drawing__line,
  .about-drawing__fill,
  .about-drawing__wash,
  .tech-drawing__line,
  .tech-drawing__fill,
  .tech-drawing-frame,
  .mv-section__orb,
  .mv-section__ring,
  .mv-card__glow,
  .mv-card__icon,
  .mv-card::before {
    animation: none !important;
  }

  .about-drawing__line,
  .tech-drawing__line {
    stroke-dasharray: none;
    stroke-dashoffset: 0;
    opacity: 1;
  }

  .about-drawing__fill,
  .tech-drawing__fill {
    opacity: 0.12;
  }

  .about-drawing__wash {
    opacity: 1;
  }

  .about-layout__frame--primary,
  .about-layout__frame--offset,
  .tech-drawing-frame {
    border-radius: var(--radius-lg);
    transform: none;
  }

  .about-layout__frame--primary img,
  .about-layout__frame--offset img {
    transform: none;
  }
}
