:root {
  --blue-950: #0d2b77;
  --blue-900: #14398f;
  --blue-700: #2c55ad;
  --blue-500: #4d73be;
  --ink-950: #20243a;
  --ink-700: #4e556e;
  --white: #ffffff;
  --paper: #f7f7fb;
  --paper-deep: #efedf0;
  --line: rgba(255, 255, 255, 0.5);
  --shadow-soft: 0 22px 50px rgba(17, 34, 84, 0.15);
  --container: min(1180px, calc(100vw - 96px));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Helvetica Neue", Arial, sans-serif;
  color: var(--ink-950);
  background:
    radial-gradient(circle at top, rgba(23, 61, 151, 0.12), transparent 30%),
    linear-gradient(180deg, #fcfdff 0%, #f7f7fb 100%);
}

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

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

.page-shell {
  min-height: 100vh;
}

.section-frame {
  width: var(--container);
  margin: 0 auto;
}

.site-header {
  position: absolute;
  top: 18px;
  left: 50%;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  width: var(--container);
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.5);
  transform: translateX(-50%);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--white);
}

.brand-mark {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(255, 255, 255, 0.75);
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #9cd2ff, #0d419c 70%);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.1rem;
  font-weight: 700;
}

.brand-text {
  display: flex;
  flex-direction: column;
  gap: 1px;
  font-size: 0.82rem;
  line-height: 1.05;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  color: rgba(255, 255, 255, 0.96);
  font-size: 0.84rem;
}

.site-nav a {
  position: relative;
  padding: 10px 0;
}

.site-nav a.is-active::after,
.site-nav a:hover::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -15px;
  left: 0;
  height: 1px;
  background: var(--white);
}

.header-actions {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.icon-button,
.lang-button,
.outline-button {
  border: 1px solid rgba(255, 255, 255, 0.78);
  background: transparent;
  color: var(--white);
}

.icon-button,
.lang-button {
  height: 34px;
  border-radius: 999px;
}

.icon-button {
  width: 34px;
  display: inline-grid;
  place-items: center;
}

.search-icon {
  width: 12px;
  height: 12px;
  border: 1.5px solid currentColor;
  border-radius: 50%;
  position: relative;
}

.search-icon::after {
  content: "";
  position: absolute;
  right: -4px;
  bottom: -3px;
  width: 6px;
  height: 1.5px;
  background: currentColor;
  transform: rotate(45deg);
  transform-origin: right center;
}

.lang-button {
  padding: 0 16px;
  font-size: 0.74rem;
  letter-spacing: 0.02em;
}

.lang-select-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.lang-select {
  min-width: 110px;
  padding-right: 34px;
  appearance: none;
  cursor: pointer;
}

.lang-select-wrap::after {
  content: "";
  position: absolute;
  right: 14px;
  top: 50%;
  width: 7px;
  height: 7px;
  border-right: 1px solid currentColor;
  border-bottom: 1px solid currentColor;
  color: var(--white);
  pointer-events: none;
  transform: translateY(-65%) rotate(45deg);
}

.lang-select:focus {
  outline: none;
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.18);
}

.hero-section {
  position: relative;
  min-height: 760px;
  color: var(--white);
  overflow: hidden;
}

.hero-backdrop {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(8, 29, 88, 0.92) 0%, rgba(17, 44, 112, 0.38) 28%, rgba(8, 20, 47, 0.28) 100%),
    url("./assets/home/hero.png") center 35% / cover no-repeat;
  transform: scale(1.02);
}

.hero-content {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  min-height: 760px;
  padding-top: 110px;
}

.hero-copy {
  max-width: 520px;
}

.eyebrow {
  margin: 0 0 18px;
  font-size: 0.88rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.72);
}

h1,
h2,
h3 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 700;
}

.hero-copy h1 {
  font-size: clamp(3rem, 5vw, 4.45rem);
  line-height: 0.96;
  letter-spacing: -0.04em;
}

.hero-text {
  margin: 18px 0 28px;
  font-size: 1rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.92);
}

.outline-button {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  padding: 11px 18px;
  font-size: 0.84rem;
  letter-spacing: 0.01em;
  transition:
    background-color 180ms ease,
    color 180ms ease,
    transform 180ms ease;
}

.outline-button::after {
  content: "";
  width: 20px;
  height: 1px;
  background: currentColor;
  box-shadow: 5px 0 0 0 currentColor;
}

.outline-button:hover {
  background: rgba(255, 255, 255, 0.12);
  transform: translateY(-1px);
}

.outline-button--small {
  color: var(--blue-900);
  border-color: rgba(20, 57, 143, 0.28);
}

.outline-button--light {
  border-color: rgba(255, 255, 255, 0.72);
}

.intro-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 84px;
  padding: 110px 0 80px;
}

.intro-art {
  position: relative;
  max-width: 440px;
}

.intro-accent {
  position: absolute;
  top: 58px;
  left: 66px;
  width: 160px;
  height: 248px;
  background: linear-gradient(180deg, #2451b0 0%, #153982 100%);
}

.intro-art img {
  position: relative;
  width: 340px;
  object-fit: cover;
  filter: saturate(0.86) contrast(1.05);
  box-shadow: var(--shadow-soft);
}

.intro-copy {
  justify-self: end;
  max-width: 420px;
}

.intro-copy h2,
.section-heading h2,
.information-copy h2 {
  color: var(--blue-950);
}

.intro-copy h2 {
  font-size: clamp(2.6rem, 3.7vw, 4rem);
  line-height: 0.95;
  text-align: right;
}

.intro-copy p {
  margin: 38px 0 28px;
  font-size: 0.97rem;
  line-height: 1.9;
  color: var(--ink-700);
}

.intro-copy .outline-button {
  float: right;
}

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

.section-heading h2 {
  font-size: clamp(2.6rem, 3.5vw, 4rem);
  line-height: 1;
}

.section-heading p {
  margin: 10px 0 0;
  font-size: 1rem;
  color: var(--blue-950);
}

.heading-divider {
  display: inline-block;
  width: 44px;
  height: 2px;
  margin-top: 22px;
  background: rgba(31, 70, 155, 0.34);
}

.institution-section {
  padding: 20px 0 92px;
}

.institution-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 52px;
}

.image-card {
  position: relative;
  overflow: hidden;
  min-height: 360px;
  background: #e6e1de;
}

.image-card > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 220ms ease;
}

.image-card:hover > img {
  transform: scale(1.04);
}

.image-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(7, 13, 30, 0.02) 35%, rgba(5, 8, 18, 0.58) 100%);
}

.image-card__content {
  position: absolute;
  right: 22px;
  bottom: 18px;
  left: 22px;
  color: var(--white);
}

.image-card__content h3 {
  font-size: 2rem;
  line-height: 0.98;
  text-shadow: 0 10px 30px rgba(0, 0, 0, 0.34);
}

.card-line {
  display: inline-block;
  width: 32px;
  height: 2px;
  margin-top: 18px;
  background: rgba(255, 255, 255, 0.9);
}

.global-section {
  padding: 0 0 108px;
}

.map-stage {
  margin-top: 36px;
  padding: 18px 0 0;
}

.map-stage img {
  width: 100%;
  object-fit: contain;
  filter: saturate(0.92);
}

.information-section {
  padding-bottom: 44px;
}

.information-banner {
  position: relative;
  min-height: 420px;
  overflow: hidden;
  background: #d6e7fb;
}

.information-banner > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.information-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(12, 41, 112, 0.5) 0%, rgba(12, 41, 112, 0.12) 42%, rgba(12, 41, 112, 0.04) 100%);
}

.information-copy {
  position: absolute;
  top: 50%;
  left: 52px;
  transform: translateY(-50%);
  color: var(--white);
}

.information-copy h2 {
  color: var(--white);
  font-size: clamp(2.7rem, 4.4vw, 4rem);
  line-height: 0.94;
}

.information-copy .outline-button {
  margin-top: 28px;
}

.site-footer {
  padding: 10px 0 44px;
}

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

.footer-columns h3 {
  margin-bottom: 14px;
  color: var(--blue-950);
  font-size: 1.45rem;
  line-height: 1.1;
}

.footer-columns p {
  margin: 4px 0;
  color: var(--ink-700);
  font-size: 0.94rem;
  line-height: 1.5;
}

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

.social-row a {
  display: inline-grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border: 1px solid rgba(20, 57, 143, 0.18);
  border-radius: 50%;
  color: var(--blue-950);
  font-size: 0.8rem;
}

@media (max-width: 1040px) {
  :root {
    --container: min(100vw - 48px, 920px);
  }

  .site-header {
    flex-wrap: wrap;
    justify-content: center;
    padding-bottom: 18px;
  }

  .hero-section,
  .hero-content {
    min-height: 700px;
  }

  .intro-section {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .intro-copy,
  .intro-copy .outline-button {
    justify-self: start;
    float: none;
    text-align: left;
  }

  .intro-copy h2 {
    text-align: left;
  }

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

  .image-card {
    min-height: 320px;
  }
}

@media (max-width: 720px) {
  :root {
    --container: calc(100vw - 32px);
  }

  .site-header {
    top: 14px;
    gap: 16px;
  }

  .site-nav {
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px 18px;
    font-size: 0.78rem;
  }

  .hero-section,
  .hero-content {
    min-height: 620px;
  }

  .hero-copy h1,
  .intro-copy h2,
  .section-heading h2,
  .information-copy h2 {
    font-size: 2.5rem;
  }

  .intro-section {
    padding-top: 84px;
  }

  .intro-art img {
    width: min(100%, 310px);
  }

  .intro-accent {
    left: 38px;
    width: 144px;
    height: 220px;
  }

  .information-banner {
    min-height: 320px;
  }

  .information-copy {
    left: 28px;
  }
}
