:root {
  --ink: #111827;
  --muted: #667085;
  --line: #d9e2ec;
  --paper: #ffffff;
  --soft: #f5f8fb;
  --blue: #0b4f8f;
  --blue-2: #123a63;
  --gold: #f2b705;
  --green: #1f8a70;
  --red: #c63d4f;
  --shadow: 0 18px 45px rgba(20, 39, 70, .12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  color: var(--ink);
  background: var(--soft);
  letter-spacing: 0;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, .94);
  border-bottom: 1px solid rgba(217, 226, 236, .78);
  backdrop-filter: blur(16px);
}

.nav {
  width: min(1180px, calc(100% - 40px));
  min-height: 74px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

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

.brand img {
  width: 44px;
  height: 44px;
  object-fit: contain;
}

.brand strong {
  display: block;
  font-size: 1rem;
  line-height: 1.1;
}

.brand span {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-size: .8rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #344054;
  font-size: .92rem;
}

.nav-links a {
  min-height: 38px;
  padding: 10px 12px;
  border-radius: 8px;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  background: #eaf2fb;
  color: var(--blue);
}

.language-selector {
  position: relative;
  color: var(--blue-2);
}

.language-selector summary {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 8px 10px;
  gap: 8px;
  border: 1px solid rgba(18, 58, 99, .16);
  border-radius: 8px;
  background: #fff;
  font-weight: 800;
  cursor: pointer;
  list-style: none;
  transition: background .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.language-selector summary::-webkit-details-marker {
  display: none;
}

.language-selector summary:hover,
.language-selector[open] summary {
  background: #eaf2fb;
  border-color: rgba(11, 79, 143, .28);
  box-shadow: 0 10px 20px rgba(18, 58, 99, .08);
}

.language-flag {
  width: 22px;
  height: 15px;
  border-radius: 2px;
  object-fit: cover;
  box-shadow: 0 0 0 1px rgba(18, 58, 99, .18);
}

.language-caret {
  width: 14px;
  height: 14px;
  margin-left: 1px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform .18s ease;
}

.language-selector[open] .language-caret {
  transform: rotate(180deg);
}

.language-menu {
  position: absolute;
  top: calc(100% + 22px);
  right: 0;
  z-index: 30;
  min-width: 190px;
  padding: 6px;
  border: 1px solid rgba(18, 58, 99, .12);
  border-radius: 8px;
  background: rgba(255, 255, 255, .98);
  box-shadow: 0 18px 36px rgba(18, 58, 99, .16);
}

.language-menu a {
  display: flex;
  align-items: center;
  min-height: 40px;
  padding: 9px 10px;
  gap: 10px;
  border-radius: 6px;
  color: #344054;
}

.language-menu a:hover,
.language-menu a[aria-current="true"] {
  background: #eaf2fb;
  color: var(--blue);
}

.language-menu em {
  margin-left: auto;
  color: var(--muted);
  font-size: .75rem;
  font-style: normal;
  font-weight: 800;
}

.menu-button {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--blue);
  cursor: pointer;
}

.menu-button svg {
  width: 22px;
  height: 22px;
  margin: 9px auto;
}

.hero {
  position: relative;
  min-height: 640px;
  overflow: hidden;
  isolation: isolate;
  background: #102a43;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(9, 31, 54, .92) 0%, rgba(9, 31, 54, .72) 43%, rgba(9, 31, 54, .18) 100%),
    url("../img/admissions.jpg") center / cover;
  transform: scale(1.03);
}

.hero::after {
  content: "";
  position: absolute;
  right: -9vw;
  bottom: -18%;
  z-index: -1;
  width: 54vw;
  min-width: 540px;
  height: 82%;
  background:
    linear-gradient(135deg, rgba(242, 183, 5, .86), rgba(31, 138, 112, .72)),
    url("../img/faculty-design.jpg") center / cover;
  clip-path: polygon(18% 0, 100% 0, 82% 100%, 0 88%);
  opacity: .93;
}

.hero-inner,
.section-inner {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.hero-inner {
  min-height: 640px;
  display: grid;
  align-content: center;
  padding: 88px 0 72px;
}

.home-hero {
  min-height: calc(100svh - 74px);
}

.home-hero .hero-inner {
  min-height: calc(100svh - 74px);
}

.home-hero .hero-copy {
  max-width: 600px;
}

.home-hero .hero-note {
  margin-top: 22px;
}

.home-hero .hero-actions {
  margin-top: 38px;
}

.home-hero .action-tile {
  min-height: 166px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--gold);
  font-weight: 800;
  font-size: .88rem;
}

.hero h1,
.page-hero h1 {
  max-width: 760px;
  margin: 0;
  color: #fff;
  font-size: 4.8rem;
  line-height: .95;
  font-weight: 900;
}

.hero-copy {
  max-width: 670px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, .86);
  font-size: 1.2rem;
  line-height: 1.6;
}

.hero-note {
  max-width: 740px;
  margin-top: 26px;
  padding-left: 18px;
  border-left: 4px solid var(--gold);
  color: rgba(255, 255, 255, .88);
  line-height: 1.55;
}

.hero-note img {
  display: inline-block;
  width: 86px;
  height: auto;
  margin: 0 8px -8px 8px;
}

.hero-actions {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-top: 44px;
}

.action-tile {
  min-height: 190px;
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, .32);
  border-radius: 8px;
  background: rgba(255, 255, 255, .12);
  color: #fff;
  box-shadow: 0 16px 34px rgba(0, 0, 0, .17);
  backdrop-filter: blur(12px);
  transition: transform .22s ease, background .22s ease, border-color .22s ease;
}

.action-tile:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, .2);
  border-color: rgba(255, 255, 255, .7);
}

.action-tile svg {
  width: 44px;
  height: 44px;
  margin-bottom: 22px;
  color: var(--gold);
}

.action-tile strong {
  display: block;
  min-height: 52px;
  font-size: 1.25rem;
  line-height: 1.2;
}

.action-tile span {
  display: block;
  margin-top: 12px;
  color: rgba(255, 255, 255, .76);
  font-size: .93rem;
  line-height: 1.45;
}

.section {
  padding: 86px 0;
}

.section.alt {
  background: #fff;
}

.section-title {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 40px;
  align-items: end;
  margin-bottom: 42px;
}

.section-title h2,
.page-section h2 {
  margin: 0;
  color: var(--blue-2);
  font-size: 2.3rem;
  line-height: 1.08;
}

.section-title p,
.page-section .lead {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 42px;
  align-items: center;
}

.image-band {
  min-height: 430px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.image-band img {
  width: 100%;
  height: 100%;
  min-height: 430px;
  object-fit: cover;
}

.feature-list {
  display: grid;
  gap: 18px;
}

.feature {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.feature svg {
  width: 34px;
  height: 34px;
  color: var(--green);
}

.feature h3 {
  margin: 0 0 7px;
  color: var(--blue-2);
  font-size: 1.12rem;
}

.feature p {
  margin: 0;
  color: var(--muted);
  line-height: 1.58;
}

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

.metric {
  min-height: 154px;
  padding: 22px;
  border-radius: 8px;
  background: #fff;
  border: 1px solid var(--line);
}

.metric strong {
  display: block;
  color: var(--blue);
  font-size: 2rem;
  line-height: 1;
}

.metric span {
  display: block;
  margin-top: 13px;
  color: var(--muted);
  line-height: 1.45;
}

.page-hero {
  position: relative;
  overflow: hidden;
  background: #102a43;
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(16, 42, 67, .92), rgba(16, 42, 67, .64)),
    var(--hero-image, url("../img/knutd-ranking.jpg")) center / cover;
}

.page-hero .section-inner {
  position: relative;
  min-height: 430px;
  padding: 84px 0 70px;
  display: grid;
  align-content: center;
}

.page-hero p {
  max-width: 760px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, .84);
  font-size: 1.13rem;
  line-height: 1.62;
}

.breadcrumb {
  display: flex;
  gap: 8px;
  align-items: center;
  margin-bottom: 22px;
  color: rgba(255, 255, 255, .76);
  font-size: .92rem;
}

.breadcrumb a {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.page-section {
  padding: 72px 0;
}

.page-section h2 {
  margin-bottom: 24px;
}

.grid-2,
.grid-3,
.grid-4 {
  display: grid;
  gap: 18px;
}

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

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

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

.panel {
  min-height: 100%;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 12px 24px rgba(20, 39, 70, .06);
}

.panel.dark {
  background: var(--blue-2);
  border-color: var(--blue-2);
  color: #fff;
}

.panel.accent {
  border-color: rgba(242, 183, 5, .5);
  background: #fff9df;
}

.panel h3 {
  margin: 0 0 12px;
  color: var(--blue-2);
  font-size: 1.22rem;
  line-height: 1.25;
}

.panel.dark h3,
.panel.dark p,
.panel.dark li,
.panel.dark strong {
  color: #fff;
}

.panel p,
.panel li {
  color: var(--muted);
  line-height: 1.58;
}

.panel p {
  margin: 0;
}

.panel ul,
.panel ol {
  margin: 12px 0 0;
  padding-left: 19px;
}

.panel li + li {
  margin-top: 8px;
}

.label {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  margin-bottom: 13px;
  padding: 5px 9px;
  border-radius: 8px;
  background: #eaf2fb;
  color: var(--blue);
  font-weight: 800;
  font-size: .8rem;
}

.concept-shell {
  overflow: hidden;
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
}

.concept-top {
  min-height: 520px;
  padding: 34px;
  color: #fff;
  background:
    linear-gradient(90deg, rgba(9, 31, 54, .9), rgba(9, 31, 54, .24)),
    url("../img/knutd-ranking.jpg") center / cover;
}

.concept-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.concept-nav img {
  width: 62px;
  height: 62px;
  object-fit: contain;
  background: #fff;
  border-radius: 8px;
  padding: 7px;
}

.concept-nav span {
  display: inline-flex;
  min-height: 34px;
  padding: 8px 10px;
  border: 1px solid rgba(255, 255, 255, .38);
  border-radius: 8px;
  color: rgba(255, 255, 255, .86);
}

.concept-top h2 {
  max-width: 670px;
  margin: 96px 0 0;
  color: #fff;
  font-size: 3rem;
  line-height: 1;
}

.concept-top p {
  max-width: 580px;
  margin-top: 18px;
  color: rgba(255, 255, 255, .85);
  line-height: 1.62;
}

.concept-quick {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
}

.concept-quick div {
  padding: 24px;
  background: #fff;
}

.concept-quick strong {
  display: block;
  color: var(--blue-2);
  font-size: 1.08rem;
}

.concept-quick span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  line-height: 1.45;
}

.photo-grid {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 18px;
}

.photo-grid img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  border-radius: 8px;
}

.photo-grid img:first-child {
  height: 578px;
  grid-row: span 2;
}

.table {
  width: 100%;
  border-collapse: collapse;
  overflow: hidden;
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
}

.table th,
.table td {
  padding: 17px 18px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.table th {
  color: var(--blue-2);
  background: #eef5fc;
}

.table td {
  color: #344054;
  line-height: 1.52;
}

.risk-high {
  color: var(--red);
  font-weight: 800;
}

.risk-medium {
  color: #a15c00;
  font-weight: 800;
}

.roadmap {
  counter-reset: step;
  display: grid;
  gap: 14px;
}

.roadmap-item {
  position: relative;
  padding: 22px 24px 22px 72px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.roadmap-item::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: 22px;
  top: 22px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--blue);
  color: #fff;
  font-weight: 900;
}

.roadmap-item h3 {
  margin: 0 0 7px;
  color: var(--blue-2);
}

.roadmap-item p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.cta-band {
  padding: 44px;
  border-radius: 8px;
  color: #fff;
  background:
    linear-gradient(100deg, rgba(11, 79, 143, .98), rgba(31, 138, 112, .92)),
    url("../img/research.jpg") center / cover;
}

.cta-band h2 {
  margin: 0;
  max-width: 760px;
  color: #fff;
}

.cta-band p {
  max-width: 760px;
  color: rgba(255, 255, 255, .84);
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 16px;
  border-radius: 8px;
  border: 1px solid transparent;
  background: var(--gold);
  color: #172033;
  font-weight: 900;
}

.button.secondary {
  background: #fff;
  border-color: rgba(255, 255, 255, .55);
  color: var(--blue-2);
}

.site-footer {
  padding: 44px 0;
  color: rgba(255, 255, 255, .76);
  background: #0d2438;
}

.knutd-site {
  background: #fff;
}

.knutd-header .nav {
  width: min(1280px, calc(100% - 40px));
}

.university-brand img {
  width: 50px;
  height: 50px;
}

.university-brand strong {
  color: var(--blue-2);
}

.university-brand span span {
  max-width: 340px;
}

.knutd-hero {
  position: relative;
  min-height: calc(100svh - 74px);
  overflow: hidden;
  color: #fff;
  background:
    linear-gradient(90deg, rgba(10, 31, 53, .92), rgba(10, 31, 53, .62), rgba(10, 31, 53, .24)),
    url("../img/admissions.jpg") center / cover;
}

.knutd-hero::after {
  content: "";
  position: absolute;
  right: -12vw;
  bottom: -20%;
  width: 62vw;
  min-width: 520px;
  height: 86%;
  background:
    linear-gradient(135deg, rgba(242, 183, 5, .84), rgba(31, 138, 112, .72)),
    url("../img/student-center.jpg") center / cover;
  clip-path: polygon(22% 0, 100% 0, 82% 100%, 0 88%);
  opacity: .9;
}

.knutd-hero-inner {
  position: relative;
  z-index: 1;
  width: calc(100% - 100px);
  min-height: calc(100svh - 74px);
  margin: 0 auto;
  padding: 86px 0 70px;
  display: grid;
  grid-template-columns: minmax(0, 780px) minmax(280px, 380px);
  gap: 44px;
  justify-content: space-between;
  align-items: center;
}

.knutd-hero h1 {
  margin: 0;
  max-width: 760px;
  color: #fff;
  font-size: 4.35rem;
  line-height: .98;
  font-weight: 900;
}

.knutd-hero p:not(.eyebrow) {
  max-width: 660px;
  color: rgba(255, 255, 255, .86);
  font-size: 1.16rem;
  line-height: 1.62;
}

.knutd-hero .button-row {
  gap: 18px;
  margin-top: 34px;
}

.knutd-hero .button {
  position: relative;
  isolation: isolate;
  min-width: 300px;
  min-height: 92px;
  overflow: hidden;
  padding: 26px 36px;
  border-color: rgba(255, 255, 255, .28);
  font-size: 1.18rem;
  box-shadow: 0 22px 48px rgba(0, 0, 0, .24), inset 0 1px 0 rgba(255, 255, 255, .42);
  transition: transform .24s ease, box-shadow .24s ease, border-color .24s ease, background .24s ease;
  animation: hero-cta-glow 3.4s ease-in-out infinite;
}

.knutd-hero .button::before {
  content: "";
  position: absolute;
  inset: -80% -45%;
  z-index: 0;
  background: linear-gradient(115deg, transparent 38%, rgba(255, 255, 255, .58) 50%, transparent 62%);
  opacity: 0;
  transform: translateX(-70%) rotate(9deg);
  transition: opacity .2s ease, transform .62s ease;
}

.knutd-hero .button span {
  position: relative;
  z-index: 1;
}

.knutd-hero .button.secondary {
  box-shadow: 0 20px 44px rgba(0, 0, 0, .2), inset 0 1px 0 rgba(255, 255, 255, .7);
  animation-delay: .35s;
}

.knutd-hero .button:hover,
.knutd-hero .button:focus-visible {
  transform: translateY(-5px) scale(1.025);
  border-color: rgba(255, 255, 255, .7);
  box-shadow: 0 30px 64px rgba(0, 0, 0, .3), inset 0 1px 0 rgba(255, 255, 255, .55);
}

.knutd-hero .button:hover::before,
.knutd-hero .button:focus-visible::before {
  opacity: .85;
  transform: translateX(70%) rotate(9deg);
}

.knutd-hero .button:active {
  transform: translateY(-1px) scale(.99);
}

.knutd-hero-panel {
  position: relative;
  left: auto;
  width: 100%;
  align-self: start;
  justify-self: end;
  margin-top: -36px;
  padding: 26px;
  border: 1px solid rgba(255, 229, 121, .58);
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(242, 183, 5, .38), rgba(255, 232, 128, .18));
  backdrop-filter: blur(16px);
  box-shadow: 0 18px 42px rgba(65, 49, 0, .18), inset 0 1px 0 rgba(255, 255, 255, .28);
}

.knutd-hero-panel strong {
  display: block;
  margin-bottom: 16px;
  color: #fff;
  font-size: 1.15rem;
}

.knutd-hero-panel a {
  display: block;
  padding: 13px 0;
  border-top: 1px solid rgba(255, 239, 166, .32);
  color: rgba(255, 255, 255, .92);
}

.knutd-section {
  padding: 82px 0;
  scroll-margin-top: 88px;
}

.knutd-section-blue {
  background: #eef5fc;
}

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

.knutd-action {
  min-height: 220px;
  padding: 26px;
  border-radius: 8px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 14px 30px rgba(20, 39, 70, .07);
  transition: transform .2s ease, box-shadow .2s ease;
}

.knutd-action:hover,
.program-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.knutd-action span {
  display: block;
  margin-bottom: 42px;
  color: var(--gold);
  font-weight: 900;
}

.knutd-action strong,
.program-card strong {
  display: block;
  color: var(--blue-2);
  font-size: 1.25rem;
  line-height: 1.24;
}

.knutd-action p {
  margin: 14px 0 0;
  color: var(--muted);
  line-height: 1.58;
}

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

.program-card {
  overflow: hidden;
  border-radius: 8px;
  background: #fff;
  border: 1px solid var(--line);
  transition: transform .2s ease, box-shadow .2s ease;
}

.program-card img {
  width: 100%;
  height: 230px;
  object-fit: cover;
}

.program-card strong,
.program-card span {
  margin-left: 22px;
  margin-right: 22px;
}

.program-card strong {
  margin-top: 22px;
}

.program-card span {
  display: block;
  margin-top: 10px;
  margin-bottom: 24px;
  color: var(--muted);
  line-height: 1.5;
}

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

.student-links a {
  min-height: 72px;
  padding: 20px;
  border-radius: 8px;
  background: #f6f9fc;
  border: 1px solid var(--line);
  color: var(--blue-2);
  font-weight: 800;
}

.knutd-news-section {
  background: #f5f8fb;
}

.news-layout {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 24px;
}

.news-main {
  overflow: hidden;
  border-radius: 8px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.news-main img {
  width: 100%;
  height: auto;
  aspect-ratio: 15 / 4;
  padding: 18px;
  object-fit: contain;
  background: #fff;
}

.news-main div {
  padding: 24px;
}

.news-main span {
  color: var(--gold);
  font-weight: 900;
}

.news-main h3 {
  margin: 10px 0 10px;
  color: var(--blue-2);
  font-size: 1.45rem;
}

.news-main p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.news-list {
  display: grid;
  gap: 14px;
}

.news-list a {
  padding: 22px;
  border-radius: 8px;
  background: #fff;
  border: 1px solid var(--line);
}

.news-list strong,
.news-list span {
  display: block;
}

.news-list strong {
  color: var(--blue-2);
  font-size: 1.1rem;
}

.news-list span {
  margin-top: 8px;
  color: var(--muted);
  line-height: 1.5;
}

.knutd-contact {
  background: #fff;
}

.knutd-page-hero {
  position: relative;
  overflow: hidden;
  color: #fff;
  background: #102a43;
  isolation: isolate;
}

.knutd-page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(10, 31, 53, .94), rgba(10, 31, 53, .7), rgba(10, 31, 53, .3)),
    var(--page-image) center / cover;
  transform: scale(1.03);
}

.knutd-page-hero::after {
  content: "";
  position: absolute;
  right: -16vw;
  bottom: -24%;
  z-index: -1;
  width: 58vw;
  min-width: 480px;
  height: 82%;
  background: linear-gradient(135deg, rgba(242, 183, 5, .82), rgba(31, 138, 112, .68));
  clip-path: polygon(18% 0, 100% 0, 82% 100%, 0 84%);
}

.knutd-page-hero .section-inner {
  min-height: 460px;
  padding: 86px 0 76px;
  display: grid;
  align-content: center;
}

.knutd-page-hero h1 {
  max-width: 820px;
  margin: 0;
  color: #fff;
  font-size: 4.1rem;
  line-height: .98;
}

.knutd-page-hero p:not(.eyebrow) {
  max-width: 720px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, .86);
  font-size: 1.15rem;
  line-height: 1.62;
}

.admissions-page-hero {
  --page-image: url("../img/admissions.jpg");
}

.programs-page-hero {
  --page-image: url("../img/education.jpg");
}

.faculties-page-hero {
  --page-image: url("../img/faculty-fashion.jpg");
}

.students-page-hero {
  --page-image: url("../img/student-center.jpg");
}

.science-page-hero {
  --page-image: url("../img/research.jpg");
}

.news-page-hero {
  --page-image: url("../img/knutd-ranking.jpg");
}

.page-quick-nav,
.program-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 30px;
}

.page-quick-nav a,
.program-filter button {
  min-height: 42px;
  padding: 11px 14px;
  border: 1px solid rgba(255, 255, 255, .32);
  border-radius: 8px;
  background: rgba(255, 255, 255, .13);
  color: #fff;
  font: inherit;
  font-weight: 800;
  backdrop-filter: blur(12px);
  cursor: pointer;
}

.program-filter button:hover,
.page-quick-nav a:hover {
  background: rgba(255, 255, 255, .22);
  border-color: rgba(255, 255, 255, .58);
}

.path-steps,
.page-card-grid,
.service-hub,
.faculty-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.page-card-grid {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.page-card,
.service-card {
  min-height: 220px;
  padding: 24px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: 0 14px 30px rgba(20, 39, 70, .07);
  transition: transform .2s ease, box-shadow .2s ease;
}

.page-card:hover,
.service-card:hover,
.faculty-tile:hover,
.program-row:hover,
.news-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.page-card span,
.service-card span {
  display: block;
  margin-bottom: 34px;
  color: var(--gold);
  font-weight: 900;
}

.page-card h3,
.service-card h3 {
  margin: 0;
  color: var(--blue-2);
  font-size: 1.18rem;
  line-height: 1.22;
}

.page-card p,
.service-card p {
  margin: 12px 0 0;
  color: var(--muted);
  line-height: 1.56;
}

.consultation-panel,
.student-dashboard,
.faculty-spotlight {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(320px, 1fr);
  gap: 32px;
  align-items: center;
  padding: 34px;
  border-radius: 8px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.consultation-panel h2,
.student-dashboard h2,
.faculty-spotlight h2 {
  margin: 0;
  color: var(--blue-2);
  font-size: 2.15rem;
  line-height: 1.08;
}

.consultation-panel p:not(.eyebrow),
.student-dashboard p,
.faculty-spotlight p {
  color: var(--muted);
  line-height: 1.64;
}

.lead-form {
  display: grid;
  gap: 12px;
}

.lead-form label {
  display: grid;
  gap: 7px;
  color: var(--blue-2);
  font-weight: 800;
}

.lead-form input {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  font: inherit;
}

.program-directory {
  display: grid;
  gap: 14px;
}

.program-row {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr) auto;
  gap: 22px;
  align-items: center;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  transition: transform .2s ease, box-shadow .2s ease;
}

.program-row img {
  width: 180px;
  height: 126px;
  border-radius: 6px;
  object-fit: cover;
}

.program-row span,
.program-row em,
.news-feature span {
  color: var(--gold);
  font-style: normal;
  font-weight: 900;
}

.program-row h3 {
  margin: 7px 0;
  color: var(--blue-2);
  font-size: 1.35rem;
}

.program-row p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

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

.faculty-tile {
  min-height: 360px;
  overflow: hidden;
  border-radius: 8px;
  background: #fff;
  border: 1px solid var(--line);
  transition: transform .2s ease, box-shadow .2s ease;
}

.faculty-tile img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.faculty-tile span,
.faculty-tile h3 {
  display: block;
  margin-left: 22px;
  margin-right: 22px;
}

.faculty-tile span {
  margin-top: 20px;
  color: var(--green);
  font-weight: 900;
}

.faculty-tile h3 {
  margin-top: 10px;
  color: var(--blue-2);
  font-size: 1.26rem;
  line-height: 1.22;
}

.faculty-spotlight {
  grid-template-columns: 1fr;
}

.faculty-spotlight > div {
  max-width: 760px;
}

.faculty-spotlight img {
  width: 100%;
  height: auto;
  aspect-ratio: 1500 / 399;
  border-radius: 8px;
  object-fit: contain;
  background: #fff;
}

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

.student-dashboard {
  grid-template-columns: minmax(0, 1fr) minmax(320px, .8fr);
}

.student-dashboard ul {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.student-dashboard li {
  display: grid;
  grid-template-columns: 70px 1fr;
  gap: 14px;
  align-items: center;
  min-height: 70px;
  padding: 16px;
  border-radius: 8px;
  background: #f6f9fc;
  border: 1px solid var(--line);
}

.student-dashboard strong {
  color: var(--gold);
}

.student-dashboard span {
  color: var(--blue-2);
  font-weight: 800;
}

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

.research-metrics div {
  min-height: 142px;
  padding: 24px;
  border-radius: 8px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 14px 30px rgba(20, 39, 70, .07);
}

.research-metrics strong {
  display: block;
  color: var(--blue);
  font-size: 2rem;
  line-height: 1;
}

.research-metrics span {
  display: block;
  margin-top: 13px;
  color: var(--muted);
  line-height: 1.45;
}

.news-board {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 24px;
  align-items: start;
}

.news-feature,
.news-item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.news-feature {
  overflow: hidden;
  box-shadow: var(--shadow);
}

.news-feature img {
  width: 100%;
  height: 330px;
  padding: 18px;
  object-fit: contain;
  background: #fff;
}

.news-feature div {
  padding: 26px;
}

.news-feature h2 {
  margin: 9px 0 10px;
  color: var(--blue-2);
  font-size: 1.75rem;
  line-height: 1.14;
}

.news-feature p,
.news-item span {
  color: var(--muted);
  line-height: 1.56;
}

.news-feed {
  display: grid;
  gap: 12px;
}

.news-item {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 14px;
  min-height: 118px;
  padding: 20px;
  transition: transform .2s ease, box-shadow .2s ease;
}

.news-item time {
  grid-row: 1 / span 2;
  color: var(--gold);
  font-weight: 900;
}

.news-item strong,
.news-item span {
  grid-column: 2;
  display: block;
}

.news-item strong {
  color: var(--blue-2);
  font-size: 1.08rem;
}

.knutd-footer {
  padding: 42px 0;
  color: rgba(255, 255, 255, .78);
  background: #0d2438;
}

.knutd-footer .footer-brand img {
  width: 58px;
  background: #fff;
  border-radius: 8px;
  padding: 6px;
}

.knutd-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.footer-inner {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: center;
}

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

.footer-brand img {
  width: 82px;
  height: auto;
}

.footer-brand strong {
  color: #fff;
}

.reveal {
  opacity: 1;
  transform: translateY(0);
  animation: reveal-up .48s ease both;
}

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

@keyframes reveal-up {
  from {
    opacity: .01;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes hero-cta-glow {
  0%,
  100% {
    filter: drop-shadow(0 0 0 rgba(242, 183, 5, 0));
  }
  50% {
    filter: drop-shadow(0 0 18px rgba(242, 183, 5, .32));
  }
}

@media (prefers-reduced-motion: reduce) {
  .reveal,
  .action-tile,
  .knutd-hero .button,
  .knutd-hero .button::before,
  html {
    animation: none;
    transition: none;
    scroll-behavior: auto;
  }
}

@media (max-width: 1180px) {
  .knutd-header .menu-button {
    display: block;
  }

  .knutd-header .nav-links {
    position: absolute;
    top: 74px;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 12px 20px 18px;
    background: #fff;
    border-bottom: 1px solid var(--line);
  }

  .knutd-header .nav-links.is-open {
    display: flex;
  }

  .knutd-header .language-selector {
    width: 100%;
  }

  .knutd-header .language-selector summary {
    width: 100%;
  }

  .knutd-header .language-menu {
    position: static;
    margin-top: 8px;
    box-shadow: none;
    background: #f8fbff;
  }
}

@media (max-width: 1040px) {
  .hero-actions,
  .metric-row,
  .grid-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero::after {
    opacity: .36;
  }

  .knutd-hero-inner,
  .news-layout,
  .news-board,
  .consultation-panel,
  .student-dashboard,
  .faculty-spotlight {
    grid-template-columns: 1fr;
  }

  .knutd-hero-panel {
    width: min(100%, 520px);
    max-width: 520px;
    justify-self: start;
    margin-top: 0;
  }

  .knutd-actions,
  .program-grid,
  .path-steps,
  .page-card-grid,
  .faculty-grid,
  .service-hub,
  .research-metrics {
    grid-template-columns: 1fr;
  }

  .program-row {
    grid-template-columns: 150px minmax(0, 1fr);
  }

  .program-row em {
    grid-column: 2;
  }
}

@media (max-width: 820px) {
  .nav {
    min-height: 66px;
  }

  .menu-button {
    display: block;
  }

  .nav-links {
    position: absolute;
    top: 66px;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 12px 20px 18px;
    background: #fff;
    border-bottom: 1px solid var(--line);
  }

  .nav-links.is-open {
    display: flex;
  }

  .language-selector {
    width: 100%;
  }

  .language-selector summary {
    width: 100%;
  }

  .language-caret {
    margin-left: auto;
  }

  .language-menu {
    position: static;
    margin-top: 8px;
    box-shadow: none;
    background: #f8fbff;
  }

  .hero,
  .hero-inner {
    min-height: auto;
  }

  .hero-inner {
    padding: 74px 0 54px;
  }

  .hero h1,
  .page-hero h1 {
    font-size: 3.1rem;
  }

  .home-hero,
  .home-hero .hero-inner {
    min-height: auto;
  }

  .hero-actions,
  .section-title,
  .split,
  .grid-2,
  .grid-3,
  .concept-quick,
  .photo-grid,
  .footer-inner {
    grid-template-columns: 1fr;
  }

  .action-tile {
    min-height: 160px;
  }

  .home-hero .action-tile {
    min-height: 138px;
  }

  .photo-grid img,
  .photo-grid img:first-child {
    height: 260px;
    grid-row: auto;
  }

  .concept-top h2 {
    font-size: 2.25rem;
  }

  .knutd-hero,
  .knutd-hero-inner {
    min-height: auto;
  }

  .knutd-hero-inner {
    width: min(1000px, calc(100% - 40px));
    padding: 58px 0 46px;
  }

  .knutd-hero h1 {
    font-size: 3rem;
  }

  .knutd-page-hero .section-inner {
    min-height: auto;
    padding: 64px 0 54px;
  }

  .knutd-page-hero h1 {
    font-size: 2.85rem;
  }

  .knutd-page-hero::after {
    opacity: .36;
  }

  .knutd-hero .button-row {
    gap: 12px;
    margin-top: 26px;
  }

  .knutd-hero .button {
    flex: 1 1 100%;
    min-width: 0;
    min-height: 76px;
    padding: 20px 24px;
    font-size: 1.08rem;
  }

  .knutd-hero::after {
    opacity: .32;
  }

  .student-links {
    grid-template-columns: 1fr;
  }

  .program-row,
  .news-item {
    grid-template-columns: 1fr;
  }

  .news-item time,
  .news-item strong,
  .news-item span {
    grid-column: auto;
    grid-row: auto;
  }

  .program-row img {
    width: 100%;
    height: 210px;
  }

  .program-row em {
    grid-column: auto;
  }

  .consultation-panel,
  .student-dashboard,
  .faculty-spotlight {
    padding: 24px;
  }

  .news-feature img {
    height: 250px;
  }

  .faculty-spotlight img {
    height: auto;
  }

  .table {
    display: block;
    overflow-x: auto;
  }
}

@media (max-width: 520px) {
  .hero-inner,
  .section-inner,
  .nav,
  .footer-inner {
    width: min(100% - 28px, 1180px);
  }

  .brand span {
    display: none;
  }

  .hero h1,
  .page-hero h1 {
    font-size: 2.42rem;
  }

  .knutd-hero h1 {
    font-size: 2.42rem;
  }

  .hero-copy,
  .page-hero p {
    font-size: 1.02rem;
  }

  .section,
  .page-section {
    padding: 56px 0;
  }

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

  .hero-actions,
  .metric-row,
  .grid-4 {
    grid-template-columns: 1fr;
  }

  .concept-top {
    padding: 22px;
  }

  .concept-nav {
    align-items: flex-start;
    flex-direction: column;
  }

  .cta-band {
    padding: 28px;
  }

  .knutd-section {
    padding: 56px 0;
  }

  .program-card img {
    height: 190px;
  }

  .news-main img {
    height: auto;
  }

  .knutd-footer-links {
    display: grid;
    gap: 10px;
  }
}
