:root {
  --ink: #15212e;
  --midnight: #213147;
  --blue: #315c91;
  --teal: #0f766e;
  --sage: #dce8df;
  --field: #eef6f2;
  --paper: #fbfaf7;
  --white: #ffffff;
  --on-dark: #ffffff;
  --deep-bg: #15212e;
  --line: #d8e0df;
  --muted: #5f6f78;
  --copper: #b45309;
  --gold: #c9942c;
  --header-bg: rgba(251, 250, 247, 0.92);
  --header-border: rgba(216, 224, 223, 0.9);
  --hero-overlay-a: rgba(21, 33, 46, 0.92);
  --hero-overlay-b: rgba(21, 33, 46, 0.72);
  --hero-overlay-c: rgba(15, 118, 110, 0.3);
  --hero-overlay-d: rgba(21, 33, 46, 0.7);
  --hero-overlay-e: rgba(21, 33, 46, 0.1);
  --soft-panel: rgba(255, 255, 255, 0.58);
  --footer-bg: #213147;
  --footer-text: rgba(255, 255, 255, 0.7);
  --footer-link: rgba(255, 255, 255, 0.82);
  --cta-bg: linear-gradient(135deg, #0f766e, #315c91);
  --cta-text: #ffffff;
  --cta-muted: rgba(255, 255, 255, 0.82);
  --cta-primary-bg: #ffffff;
  --cta-primary-text: #15212e;
  --cta-ghost-bg: rgba(255, 255, 255, 0.1);
  --cta-ghost-text: #ffffff;
  --cta-ghost-border: rgba(255, 255, 255, 0.42);
  --shadow: 0 16px 40px rgba(21, 33, 46, 0.12);
  --lift-shadow: 0 24px 70px rgba(21, 33, 46, 0.18);
  --motion-ease: cubic-bezier(0.22, 1, 0.36, 1);
  --motion-spring: cubic-bezier(0.16, 1, 0.3, 1);
  --radius: 8px;
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme]) {
    --ink: #e8f1ee;
    --midnight: #d8e5e2;
    --blue: #82aee3;
    --teal: #50d0c0;
    --sage: #263f3d;
    --field: #13211f;
    --paper: #182725;
    --white: #0f181b;
    --on-dark: #f4fbf8;
    --deep-bg: #071113;
    --line: #2b4442;
    --muted: #a8b9b6;
    --copper: #f2b46d;
    --gold: #e2b552;
    --header-bg: rgba(15, 24, 27, 0.9);
    --header-border: rgba(43, 68, 66, 0.9);
    --hero-overlay-a: rgba(5, 12, 16, 0.9);
    --hero-overlay-b: rgba(5, 12, 16, 0.74);
    --hero-overlay-c: rgba(15, 118, 110, 0.28);
    --hero-overlay-d: rgba(5, 12, 16, 0.74);
    --hero-overlay-e: rgba(5, 12, 16, 0.16);
    --soft-panel: rgba(255, 255, 255, 0.06);
    --footer-bg: #0b1215;
    --footer-text: rgba(232, 241, 238, 0.68);
    --footer-link: rgba(232, 241, 238, 0.86);
    --cta-bg: linear-gradient(135deg, #102320, #162537);
    --cta-text: #eef8f4;
    --cta-muted: #aabcb8;
    --cta-primary-bg: #d7e6df;
    --cta-primary-text: #071113;
    --cta-ghost-bg: rgba(255, 255, 255, 0.06);
    --cta-ghost-text: #eef8f4;
    --cta-ghost-border: rgba(232, 241, 238, 0.24);
    --shadow: 0 18px 44px rgba(0, 0, 0, 0.28);
    --lift-shadow: 0 28px 72px rgba(0, 0, 0, 0.34);
    color-scheme: dark;
  }
}

:root[data-theme="dark"] {
  --ink: #e8f1ee;
  --midnight: #d8e5e2;
  --blue: #82aee3;
  --teal: #50d0c0;
  --sage: #263f3d;
  --field: #13211f;
  --paper: #182725;
  --white: #0f181b;
  --on-dark: #f4fbf8;
  --deep-bg: #071113;
  --line: #2b4442;
  --muted: #a8b9b6;
  --copper: #f2b46d;
  --gold: #e2b552;
  --header-bg: rgba(15, 24, 27, 0.9);
  --header-border: rgba(43, 68, 66, 0.9);
  --hero-overlay-a: rgba(5, 12, 16, 0.9);
  --hero-overlay-b: rgba(5, 12, 16, 0.74);
  --hero-overlay-c: rgba(15, 118, 110, 0.28);
  --hero-overlay-d: rgba(5, 12, 16, 0.74);
  --hero-overlay-e: rgba(5, 12, 16, 0.16);
  --soft-panel: rgba(255, 255, 255, 0.06);
  --footer-bg: #0b1215;
  --footer-text: rgba(232, 241, 238, 0.68);
  --footer-link: rgba(232, 241, 238, 0.86);
  --cta-bg: linear-gradient(135deg, #102320, #162537);
  --cta-text: #eef8f4;
  --cta-muted: #aabcb8;
  --cta-primary-bg: #d7e6df;
  --cta-primary-text: #071113;
  --cta-ghost-bg: rgba(255, 255, 255, 0.06);
  --cta-ghost-text: #eef8f4;
  --cta-ghost-border: rgba(232, 241, 238, 0.24);
  --shadow: 0 18px 44px rgba(0, 0, 0, 0.28);
  --lift-shadow: 0 28px 72px rgba(0, 0, 0, 0.34);
  color-scheme: dark;
}

:root[data-theme="light"] {
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
  animation: pageIn 620ms var(--motion-ease) both;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

.container {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 1000;
  background: var(--header-bg);
  border-bottom: 1px solid var(--header-border);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
  transition: box-shadow 320ms var(--motion-ease), background 320ms var(--motion-ease), border-color 320ms var(--motion-ease);
}

.site-header.is-scrolled {
  box-shadow: 0 16px 44px rgba(21, 33, 46, 0.12);
}

.navbar {
  width: min(1240px, calc(100% - 32px));
  height: 76px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  transition: height 320ms var(--motion-ease);
}

.site-header.is-scrolled .navbar {
  height: 68px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  min-width: 245px;
  transition: transform 260ms var(--motion-ease);
}

.brand:hover {
  transform: translateY(-1px);
}

.brand-mark,
.footer-mark {
  width: 44px;
  height: 44px;
  object-fit: cover;
  border-radius: 8px;
  transition: transform 420ms var(--motion-ease), box-shadow 420ms var(--motion-ease);
}

.brand:hover .brand-mark {
  box-shadow: 0 10px 28px rgba(15, 118, 110, 0.2);
  transform: rotate(-2deg) scale(1.04);
}

.brand-copy {
  display: grid;
  gap: 1px;
}

.brand-copy strong {
  font-size: 0.98rem;
  line-height: 1.2;
}

.brand-copy small {
  color: var(--muted);
  font-size: 0.76rem;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-link,
.nav-group-trigger {
  appearance: none;
  border: 0;
  background: transparent;
  color: var(--midnight);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 11px;
  font: inherit;
  font-size: 0.92rem;
  font-weight: 650;
  text-decoration: none;
  position: relative;
  transition: color 220ms var(--motion-ease), transform 220ms var(--motion-ease);
}

.nav-link::after,
.nav-group-trigger::before {
  content: "";
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: 4px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--gold), var(--teal));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 260ms var(--motion-ease);
}

.nav-link.active,
.nav-group.active > .nav-group-trigger,
.nav-link:hover,
.nav-group-trigger:hover {
  color: var(--teal);
}

.nav-link:hover,
.nav-group-trigger:hover {
  transform: translateY(-1px);
}

.nav-link.active::after,
.nav-link:hover::after,
.nav-group.active > .nav-group-trigger::before,
.nav-group-trigger:hover::before {
  transform: scaleX(1);
}

.nav-mail {
  color: var(--copper);
}

.mobile-actions {
  display: none;
  align-items: center;
  gap: 10px;
}

.mobile-email-link {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--copper);
  font-size: 0.86rem;
  font-weight: 850;
  text-decoration: none;
  white-space: nowrap;
  transition: border-color 220ms var(--motion-ease), color 220ms var(--motion-ease), transform 220ms var(--motion-ease);
}

.mobile-email-link:hover {
  border-color: var(--copper);
  transform: translateY(-1px);
}

.theme-toggle {
  appearance: none;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--white);
  color: var(--midnight);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  padding: 0 12px;
  font: inherit;
  font-size: 0.86rem;
  font-weight: 800;
  transition: border-color 220ms var(--motion-ease), color 220ms var(--motion-ease), transform 220ms var(--motion-ease);
}

.theme-toggle:hover {
  color: var(--teal);
  border-color: var(--teal);
  transform: translateY(-1px);
}

.theme-toggle-icon {
  width: 18px;
  height: 18px;
  border: 2px solid currentColor;
  border-radius: 50%;
  background: linear-gradient(90deg, currentColor 50%, transparent 50%);
  flex: 0 0 auto;
}

.nav-group {
  position: relative;
}

.nav-group-trigger::after {
  content: "";
  width: 7px;
  height: 7px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
  margin-left: 8px;
}

.nav-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 210px;
  padding: 8px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px) scale(0.98);
  transition: opacity 240ms var(--motion-ease), transform 240ms var(--motion-ease), visibility 240ms var(--motion-ease);
}

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

.nav-dropdown a {
  display: block;
  padding: 10px 12px;
  border-radius: 6px;
  color: var(--midnight);
  text-decoration: none;
  font-weight: 600;
  transition: background 200ms var(--motion-ease), color 200ms var(--motion-ease), transform 200ms var(--motion-ease);
}

.nav-dropdown a:hover,
.nav-dropdown a.active {
  background: var(--field);
  color: var(--teal);
  transform: translateX(2px);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  padding: 0;
  place-items: center;
  align-content: center;
  justify-content: center;
  gap: 5px;
  transition: border-color 220ms var(--motion-ease), transform 220ms var(--motion-ease);
}

.nav-toggle:hover {
  border-color: var(--teal);
  transform: translateY(-1px);
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--ink);
  border-radius: 999px;
  transition: transform 260ms var(--motion-ease), opacity 260ms var(--motion-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);
}

.home-hero,
.page-hero {
  position: relative;
  isolation: isolate;
  display: grid;
  align-items: end;
  min-height: 86vh;
  padding: 156px 0 86px;
  color: var(--on-dark);
  background: var(--deep-bg);
  overflow: hidden;
  --hero-pan-x: 0px;
  --hero-pan-y: 0px;
}

.page-hero {
  min-height: 520px;
  padding-bottom: 78px;
}

.home-hero::before,
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background-size: cover;
  background-position: calc(50% + var(--hero-pan-x)) calc(50% + var(--hero-pan-y));
  transform: scale(1.07);
  transition: background-position 520ms ease-out;
  animation: heroDrift 24s var(--motion-ease) infinite alternate;
  will-change: transform, background-position;
}

.hero-university-hero::before {
  background-image: url("images/university-hero-bg.jpg");
}

.hero-university-building::before {
  background-image: url("images/university-building.jpg");
}

.hero-tech-lab::before {
  background-image: url("images/tech-lab.jpg");
}

.hero-students::before {
  background-image: url("images/students-studying.jpg");
}

.hero-innovation::before {
  background-image: url("images/innovation-center.jpg");
}

.hero-tech-world::before {
  background-image: url("images/tech-world-background.jpg");
}

.hero-web3::before {
  background-image: url("images/web3-development.jpg");
}

.hero-graduate::before {
  background-image: url("images/graduate-success.jpg");
}

.home-hero::after,
.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(70% 55% at 74% 24%, rgba(201, 148, 44, 0.2), transparent 58%),
    radial-gradient(58% 52% at 88% 66%, rgba(15, 118, 110, 0.22), transparent 62%),
    linear-gradient(90deg, var(--hero-overlay-a) 0%, var(--hero-overlay-b) 44%, var(--hero-overlay-c) 100%),
    linear-gradient(0deg, var(--hero-overlay-d), var(--hero-overlay-e));
  background-size: 120% 120%, 130% 130%, auto, auto;
  background-position: 44% 44%, 62% 54%, center, center;
  animation: heroAmbientGlow 16s ease-in-out infinite alternate;
}

.home-hero-content,
.hero-content {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.home-hero-content {
  max-width: 820px;
  margin-left: max(20px, calc((100% - 1120px) / 2));
}

.home-hero-content > *,
.hero-content > * {
  opacity: 0;
  transform: translateY(26px);
  animation: heroContentIn 760ms var(--motion-spring) forwards;
}

.home-hero-content > :nth-child(2),
.hero-content > :nth-child(2) {
  animation-delay: 120ms;
}

.home-hero-content > :nth-child(3),
.hero-content > :nth-child(3) {
  animation-delay: 240ms;
}

.home-hero-content > :nth-child(4),
.hero-content > :nth-child(4) {
  animation-delay: 360ms;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 920px;
  margin-bottom: 18px;
  font-size: clamp(2.4rem, 7vw, 5.25rem);
  line-height: 0.98;
  letter-spacing: 0;
}

.page-hero h1 {
  font-size: clamp(2.15rem, 5vw, 4.4rem);
}

.hero-lead,
.hero-content > p:not(.eyebrow) {
  max-width: 760px;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(1.08rem, 2vw, 1.35rem);
  overflow-wrap: break-word;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: transform 240ms var(--motion-ease), box-shadow 240ms var(--motion-ease), background 240ms var(--motion-ease), border-color 240ms var(--motion-ease);
}

.btn::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 0%, rgba(255, 255, 255, 0.28) 48%, transparent 58%);
  transform: translateX(-120%);
  transition: transform 620ms var(--motion-ease);
  pointer-events: none;
}

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

.btn:hover::after {
  transform: translateX(120%);
}

.btn:active {
  transform: translateY(0) scale(0.99);
}

.btn.primary {
  background: var(--teal);
  color: var(--on-dark);
  box-shadow: 0 10px 24px rgba(15, 118, 110, 0.24);
}

.btn.secondary,
.btn.ghost {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.45);
  color: var(--on-dark);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

.cta-band .btn.ghost {
  background: var(--cta-ghost-bg);
  color: var(--cta-ghost-text);
  border-color: var(--cta-ghost-border);
}

.cta-band .btn.primary {
  background: var(--cta-primary-bg);
  color: var(--cta-primary-text);
  box-shadow: none;
}

.section {
  padding: 92px 0;
  background: var(--white);
  position: relative;
}

.section.compact {
  padding: 34px 0;
}

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

.section-deep {
  background: var(--deep-bg);
  color: var(--on-dark);
  position: relative;
  overflow: hidden;
}

.section-deep::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(120deg, rgba(201, 148, 44, 0.12), transparent 28%),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.05) 0 1px, transparent 1px 120px);
  background-size: 100% 100%, 120px 100%;
  background-position: center, var(--ambient-shift, 0px) 0;
  opacity: 0.42;
  pointer-events: none;
  transition: background-position 600ms ease-out;
}

.section-deep > * {
  position: relative;
  z-index: 1;
}

.section-deep p,
.section-deep .feature-list span {
  color: rgba(255, 255, 255, 0.78);
}

.section-intro {
  max-width: 760px;
  margin-bottom: 34px;
}

.section-intro h2,
.split h2,
.cta-band h2,
.publication-list h2,
.news-list h2 {
  margin-bottom: 12px;
  font-size: clamp(1.8rem, 3vw, 3rem);
  line-height: 1.08;
}

.section-intro p,
.split p,
.cta-band p,
.publication-list p,
.news-list p {
  color: var(--muted);
  font-size: 1.04rem;
}

.section-deep .section-intro p,
.section-deep .split p,
.section-deep .news-preview p {
  color: rgba(255, 255, 255, 0.76);
}

.metric-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  border: 1px solid var(--line);
  background: var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 18px 48px rgba(21, 33, 46, 0.08);
}

.metric {
  min-height: 124px;
  display: grid;
  align-content: center;
  gap: 4px;
  padding: 22px;
  background: var(--paper);
  position: relative;
  overflow: hidden;
  transition: transform 260ms var(--motion-ease), background 260ms var(--motion-ease);
}

.metric::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(201, 148, 44, 0.12), transparent 42%);
  opacity: 0;
  transition: opacity 260ms var(--motion-ease);
}

.metric:hover {
  transform: translateY(-3px);
}

.metric:hover::before {
  opacity: 1;
}

.metric strong {
  color: var(--teal);
  font-size: 2rem;
  line-height: 1;
  position: relative;
}

.metric span {
  color: var(--muted);
  font-weight: 650;
  position: relative;
}

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

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

.image-card,
.text-card,
.process-grid article,
.publication-list article,
.news-list article,
.faq-grid details {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(21, 33, 46, 0.06);
  position: relative;
  transition: transform 320ms var(--motion-ease), box-shadow 320ms var(--motion-ease), border-color 320ms var(--motion-ease), background 320ms var(--motion-ease);
}

.image-card::before,
.text-card::before,
.process-grid article::before,
.publication-list article::before,
.news-list article::before,
.faq-grid details::before,
.contact-form::before {
  content: "";
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--teal), var(--blue));
  opacity: 0;
  transform: scaleX(0);
  transform-origin: left;
  transition: opacity 320ms var(--motion-ease), transform 420ms var(--motion-ease);
}

.image-card:hover,
.text-card:hover,
.process-grid article:hover,
.publication-list article:hover,
.news-list article:hover,
.faq-grid details:hover {
  border-color: rgba(15, 118, 110, 0.32);
  box-shadow: var(--lift-shadow);
  transform: translateY(-6px);
}

.image-card:hover::before,
.text-card:hover::before,
.process-grid article:hover::before,
.publication-list article:hover::before,
.news-list article:hover::before,
.faq-grid details:hover::before,
.contact-form:focus-within::before {
  opacity: 1;
  transform: scaleX(1);
}

.section-alt .image-card,
.section-alt .text-card,
.section-alt .publication-list article {
  background: var(--paper);
}

.image-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  transition: transform 700ms var(--motion-ease), filter 700ms var(--motion-ease);
}

.image-card:hover img {
  filter: saturate(1.06) contrast(1.03);
  transform: scale(1.045);
}

.image-card-body,
.text-card,
.process-grid article,
.publication-list article,
.news-list article,
.faq-grid details {
  padding: 24px;
}

.image-card h3,
.text-card h3,
.process-grid h3,
.publication-list h3,
.news-list h3 {
  margin-bottom: 10px;
  font-size: 1.2rem;
  line-height: 1.25;
}

.image-card p,
.text-card p,
.process-grid p,
.publication-list p,
.news-list p {
  margin-bottom: 0;
  color: var(--muted);
}

.text-card ul {
  margin: 16px 0 0;
  padding-left: 20px;
  color: var(--muted);
}

.meta-pill {
  display: inline-flex;
  margin-bottom: 12px;
  color: var(--copper);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  position: relative;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.9fr);
  gap: 46px;
  align-items: center;
}

.split-image {
  width: 100%;
  min-height: 360px;
  max-height: 520px;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: transform 520ms var(--motion-ease), box-shadow 520ms var(--motion-ease), filter 520ms var(--motion-ease);
}

.split-image:hover {
  filter: saturate(1.05) contrast(1.03);
  box-shadow: var(--lift-shadow);
  transform: translateY(-4px) scale(1.01);
}

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

.check-list span,
.feature-list span {
  min-height: 46px;
  display: flex;
  align-items: center;
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--soft-panel);
  color: var(--midnight);
  font-weight: 700;
  transition: transform 240ms var(--motion-ease), border-color 240ms var(--motion-ease), background 240ms var(--motion-ease);
}

.check-list span:hover,
.feature-list span:hover {
  border-color: rgba(15, 118, 110, 0.36);
  transform: translateY(-2px);
}

.section-deep .feature-list span {
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.06);
}

.timeline {
  display: grid;
  gap: 16px;
}

.timeline-item {
  display: grid;
  grid-template-columns: 110px minmax(0, 1fr);
  gap: 22px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  transition: transform 320ms var(--motion-ease), box-shadow 320ms var(--motion-ease), border-color 320ms var(--motion-ease);
}

.timeline-item:hover {
  border-color: rgba(15, 118, 110, 0.3);
  box-shadow: var(--shadow);
  transform: translateX(4px);
}

.timeline-item span {
  color: var(--teal);
  font-size: 1.3rem;
  font-weight: 900;
}

.timeline-item p {
  margin-bottom: 0;
  color: var(--muted);
}

.cta-band {
  padding: 62px 0;
  background: var(--cta-bg);
  color: var(--cta-text);
  position: relative;
  overflow: hidden;
}

.cta-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(115deg, transparent 0%, rgba(255, 255, 255, 0.14) 46%, transparent 58%),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.07) 0 1px, transparent 1px 96px);
  background-size: 220% 100%, auto;
  opacity: 0.42;
  animation: ctaFlow 12s ease-in-out infinite;
  pointer-events: none;
}

.cta-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 34px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.cta-inner p {
  max-width: 720px;
  color: var(--cta-muted);
}

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

.mini-link-grid a {
  display: flex;
  align-items: center;
  min-height: 58px;
  padding: 14px 16px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.06);
  color: var(--on-dark);
  text-decoration: none;
  font-weight: 800;
  position: relative;
  overflow: hidden;
  transition: transform 260ms var(--motion-ease), border-color 260ms var(--motion-ease), background 260ms var(--motion-ease);
}

.mini-link-grid a::after {
  content: "";
  width: 8px;
  height: 8px;
  margin-left: auto;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(-45deg);
  opacity: 0.72;
  transition: transform 260ms var(--motion-ease), opacity 260ms var(--motion-ease);
}

.mini-link-grid a:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.32);
  transform: translateY(-3px);
}

.mini-link-grid a:hover::after {
  opacity: 1;
  transform: translateX(4px) rotate(-45deg);
}

.news-preview {
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  gap: 36px;
  align-items: center;
}

.program-table {
  display: grid;
  gap: 0;
}

.table-row {
  display: grid;
  grid-template-columns: 0.7fr 1.2fr 1.1fr;
  gap: 18px;
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-top: 0;
  background: var(--white);
  transition: background 240ms var(--motion-ease), transform 240ms var(--motion-ease);
}

.table-row:not(.header):hover {
  background: var(--paper);
  transform: translateX(3px);
}

.table-row.header {
  border-top: 1px solid var(--line);
  background: var(--deep-bg);
  color: var(--on-dark);
  font-weight: 900;
}

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

.process-grid article span {
  display: inline-flex;
  margin-bottom: 18px;
  color: var(--teal);
  font-weight: 900;
  font-size: 1.5rem;
}

.publication-list,
.news-list {
  display: grid;
  gap: 16px;
}

.publication-list article,
.news-list article {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  gap: 20px;
  align-items: start;
}

.publication-list article span,
.news-list article time {
  color: var(--copper);
  font-weight: 900;
  text-transform: uppercase;
  font-size: 0.82rem;
}

.faq-grid {
  display: grid;
  grid-template-columns: 0.75fr 1fr;
  gap: 18px;
  align-items: start;
}

.faq-grid > div {
  grid-row: span 3;
}

.faq-grid summary {
  cursor: pointer;
  font-weight: 900;
}

.faq-grid details p {
  margin: 12px 0 0;
}

.contact-layout {
  display: grid;
  grid-template-columns: 0.78fr 1fr;
  gap: 46px;
  align-items: start;
}

.contact-form {
  display: grid;
  gap: 16px;
  padding: 26px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  position: relative;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(21, 33, 46, 0.06);
  transition: box-shadow 320ms var(--motion-ease), border-color 320ms var(--motion-ease);
}

.contact-form:focus-within {
  border-color: rgba(15, 118, 110, 0.36);
  box-shadow: var(--lift-shadow);
}

.contact-form label {
  display: grid;
  gap: 7px;
  font-weight: 800;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 12px 13px;
  color: var(--ink);
  font: inherit;
  background: var(--paper);
  transition: border-color 220ms var(--motion-ease), box-shadow 220ms var(--motion-ease), background 220ms var(--motion-ease);
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: 0;
  border-color: var(--teal);
  box-shadow: 0 0 0 4px rgba(15, 118, 110, 0.12);
  background: var(--white);
}

.contact-form textarea {
  resize: vertical;
}

.notification {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 2000;
  max-width: 360px;
  padding: 14px 16px;
  border-radius: var(--radius);
  background: var(--deep-bg);
  color: var(--on-dark);
  box-shadow: var(--shadow);
  animation: toastIn 360ms var(--motion-spring) both;
}

.notification.error {
  background: #8f3f46;
}

.site-footer {
  background: var(--footer-bg);
  color: var(--on-dark);
}

.footer-inner {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  padding: 58px 0;
  display: grid;
  grid-template-columns: 1.2fr 0.7fr 0.9fr;
  gap: 36px;
}

.footer-brand {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.footer-brand p,
.footer-column p,
.footer-bottom {
  color: var(--footer-text);
}

.footer-column h2 {
  margin-bottom: 12px;
  font-size: 1rem;
}

.footer-column ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
}

.footer-column a {
  display: inline-block;
  color: var(--footer-link);
  text-decoration: none;
  transition: color 200ms var(--motion-ease), transform 200ms var(--motion-ease);
}

.footer-column a:hover {
  color: var(--gold);
  transform: translateX(2px);
}

.footer-bottom {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  padding: 18px 0 26px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  justify-content: space-between;
  gap: 20px;
  font-size: 0.9rem;
}

.reveal {
  opacity: 0;
  filter: blur(10px);
  transform: translateY(var(--reveal-y, 26px)) scale(0.985);
  transition: opacity 760ms var(--motion-spring), transform 760ms var(--motion-spring), filter 760ms ease;
  transition-delay: var(--reveal-delay, 0ms);
  will-change: opacity, transform, filter;
}

.reveal.in {
  opacity: 1;
  filter: blur(0);
  transform: translateY(0);
}

@keyframes pageIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes heroDrift {
  0% {
    transform: scale(1.07) translate3d(0, 0, 0);
  }

  100% {
    transform: scale(1.12) translate3d(-14px, -10px, 0);
  }
}

@keyframes heroAmbientGlow {
  0% {
    background-position: 42% 42%, 64% 52%, center, center;
    opacity: 0.92;
  }

  100% {
    background-position: 56% 50%, 48% 64%, center, center;
    opacity: 1;
  }
}

@keyframes heroContentIn {
  from {
    opacity: 0;
    transform: translateY(26px);
  }

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

@keyframes ctaFlow {
  0%,
  32% {
    background-position: -140% 0, center;
  }

  100% {
    background-position: 160% 0, center;
  }
}

@keyframes toastIn {
  from {
    opacity: 0;
    transform: translateY(12px) scale(0.98);
  }

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

@media (max-width: 1060px) {
  .site-header.is-scrolled .navbar {
    height: 76px;
  }

  .mobile-actions {
    display: flex;
  }

  .nav-toggle {
    display: grid;
  }

  .nav-menu {
    position: fixed;
    top: 76px;
    left: 0;
    right: 0;
    max-height: calc(100vh - 76px);
    overflow: auto;
    z-index: 999;
    display: none;
    padding: 14px 20px 22px;
    background: var(--white);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
  }

  .nav-menu.is-open {
    display: grid;
    align-items: stretch;
    animation: menuIn 260ms var(--motion-ease) both;
  }

  .nav-menu .nav-mail {
    display: none;
  }

  .nav-link,
  .nav-group-trigger {
    justify-content: space-between;
    min-height: 48px;
    width: 100%;
    padding: 0 4px;
  }

  .theme-toggle {
    justify-self: start;
    min-height: 38px;
    width: auto;
    margin-top: 8px;
    padding: 0 14px;
    background: var(--field);
    font-size: 0.84rem;
  }

  .nav-group {
    width: 100%;
  }

  .nav-dropdown {
    position: static;
    display: none;
    min-width: 0;
    margin: 0 0 10px;
    padding: 4px;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    transform: none;
  }

  .nav-group.open .nav-dropdown,
  .nav-group:focus-within .nav-dropdown {
    display: block;
  }
}

@keyframes menuIn {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }

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

@media (max-width: 860px) {
  .home-hero,
  .page-hero {
    min-height: 78vh;
    padding: 132px 0 70px;
  }

  .page-hero {
    min-height: 460px;
  }

  .metric-grid,
  .cards-grid,
  .cards-grid.three,
  .split,
  .news-preview,
  .cta-inner,
  .process-grid,
  .contact-layout,
  .footer-inner,
  .faq-grid {
    grid-template-columns: 1fr;
  }

  .faq-grid > div {
    grid-row: auto;
  }

  .publication-list article,
  .news-list article,
  .table-row {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
  }
}

@media (max-width: 560px) {
  .container,
  .home-hero-content,
  .hero-content,
  .footer-inner,
  .footer-bottom {
    width: min(calc(100% - 28px), 1120px);
  }

  .navbar {
    width: min(calc(100% - 20px), 1240px);
  }

  .brand {
    min-width: 0;
  }

  .brand-mark {
    width: 40px;
    height: 40px;
  }

  .brand-copy strong {
    font-size: 0.84rem;
  }

  .brand-copy small {
    font-size: 0.7rem;
  }

  .mobile-actions {
    gap: 8px;
  }

  .mobile-email-link {
    min-height: 38px;
    padding: 0 10px;
    font-size: 0.8rem;
  }

  .nav-toggle {
    width: 40px;
    height: 40px;
    gap: 4px;
  }

  .nav-toggle span {
    width: 20px;
  }

  .section {
    padding: 64px 0;
  }

  .section.compact {
    padding: 24px 0;
  }

  .check-list,
  .feature-list,
  .mini-link-grid {
    grid-template-columns: 1fr;
  }

  .hero-actions {
    align-items: stretch;
    width: 100%;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .image-card-body,
  .text-card,
  .process-grid article,
  .publication-list article,
  .news-list article,
  .faq-grid details,
  .contact-form {
    padding: 20px;
  }

  .timeline-item {
    grid-template-columns: 1fr;
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.001ms !important;
  }

  .home-hero-content > *,
  .hero-content > *,
  .reveal {
    opacity: 1 !important;
    filter: none !important;
    transform: none !important;
  }
}
