:root {
  --bg: #f3f7fb;
  --surface: rgba(255, 255, 255, 0.78);
  --surface-strong: #ffffff;
  --text: #17324d;
  --muted: #5c7185;
  --line: rgba(18, 55, 94, 0.08);
  --primary: #103c71;
  --primary-2: #1c91be;
  --accent: #e6f7fc;
  --shadow: 0 18px 50px rgba(15, 41, 68, 0.08);
  --radius-xl: 30px;
  --radius-lg: 26px;
  --radius-md: 20px;
  --radius-sm: 14px;
  --max: 1260px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Inter", system-ui, sans-serif;
  color: var(--text);
  background: linear-gradient(180deg, #f8fbfd 0%, var(--bg) 100%);
  position: relative;
}

.page-bg {
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 92% 10%, rgba(28, 145, 190, 0.08), transparent 18%),
    radial-gradient(circle at 8% 8%, rgba(16, 60, 113, 0.04), transparent 22%);
}

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

.site-shell {
  width: min(calc(100% - 40px), var(--max));
  margin: 24px auto 28px;
  position: relative;
  z-index: 1;
}

.topbar,
.navbar,
.contact-strip,
.card,
.footer,
.copyright {
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 18px 26px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl) var(--radius-xl) 0 0;
}

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

.brand-logo {
  width: 80px;
  height: 80px;
  object-fit: contain;
  flex: 0 0 auto;
}

.brand-title {
  font-family: "Playfair Display", serif;
  font-size: clamp(1.8rem, 2.7vw, 2.5rem);
  font-weight: 800;
  line-height: 1.05;
}

.brand-subtitle {
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.98rem;
}

.topbar-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.lang-switch {
  display: flex;
  gap: 10px;
  align-items: center;
  color: var(--muted);
  font-weight: 700;
}

.lang-switch a.active { color: var(--primary-2); }

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 22px;
  background: rgba(255,255,255,0.72);
  border-left: 1px solid var(--line);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.nav-toggle {
  display: none;
  background: transparent;
  border: 0;
  font-size: 1.4rem;
  cursor: pointer;
  color: var(--primary);
  padding: 16px 4px;
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  padding: 10px 0;
}

.nav-links a {
  position: relative;
  padding: 14px 8px;
  color: var(--muted);
  font-weight: 600;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--primary);
}

.nav-links a.active::after,
.nav-links a:hover::after {
  content: "";
  position: absolute;
  left: 8px;
  right: 8px;
  bottom: 6px;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--primary-2), var(--primary));
}

.hero-banner {
  position: relative;
  margin-top: 0;
  border-left: 1px solid var(--line);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(255,255,255,0.75);
  overflow: hidden;
}

.hero-banner-image {
  display: block;
  width: 100%;
  height: auto;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: min(52%, 640px);
  padding: 36px 38px;
  background:
    linear-gradient(90deg, rgba(248,251,253,0.88) 0%, rgba(248,251,253,0.78) 40%, rgba(248,251,253,0.15) 75%, rgba(248,251,253,0) 100%);
}

.announcement {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  width: fit-content;
  background: linear-gradient(180deg, #effaff, #dff3fb);
  color: #216d8c;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid rgba(28, 145, 190, 0.14);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.65);
  font-weight: 600;
  font-size: 0.95rem;
}

.announcement-icon {
  display: inline-grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 999px;
  background: rgba(28, 145, 190, 0.12);
}

.hero-overlay h1 {
  margin: 18px 0 8px;
  font-family: "Playfair Display", serif;
  font-size: clamp(2.2rem, 4.8vw, 4.6rem);
  line-height: 0.98;
  letter-spacing: -0.025em;
}

.hero-role {
  margin: 0 0 14px;
  color: var(--primary-2);
  font-size: clamp(1.02rem, 2vw, 1.42rem);
  font-weight: 600;
}

.hero-text {
  margin: 0;
  max-width: 540px;
  color: #304c68;
  font-size: 1.03rem;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 24px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 160px;
  padding: 13px 18px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  transition: transform 0.16s ease, box-shadow 0.16s ease;
}

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

.btn-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--primary), #0b2f59);
  box-shadow: 0 10px 24px rgba(16, 60, 113, 0.25);
}

.btn-secondary {
  color: var(--primary-2);
  background: rgba(255,255,255,0.86);
  border: 1px solid rgba(28, 145, 190, 0.16);
}

.contact-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin: -22px 18px 0;
  position: relative;
  z-index: 5;
  background: rgba(255,255,255,0.95);
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.contact-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 22px 24px;
  border-right: 1px solid var(--line);
}

.contact-item:last-child { border-right: 0; }

.icon {
  display: inline-grid;
  place-items: center;
  width: 48px;
  height: 48px;
  flex: 0 0 48px;
  border-radius: 999px;
  background: #eef8fc;
  font-size: 1.1rem;
}

.contact-label {
  margin-bottom: 6px;
  color: var(--muted);
  font-weight: 700;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.card-grid {
  display: grid;
  gap: 18px;
  margin-top: 22px;
}

.three-up { grid-template-columns: repeat(3, 1fr); }
.lower-grid { grid-template-columns: 1fr 1fr 1.35fr; }

.card {
  background: rgba(255,255,255,0.82);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 24px;
  box-shadow: var(--shadow);
}

.card-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 18px;
}

.card h2 {
  margin: 0;
  font-size: 1.35rem;
}

.card-arrow {
  color: var(--primary-2);
  font-size: 1.3rem;
  font-weight: 700;
}

.timeline,
.bullet-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.timeline li,
.bullet-list li {
  position: relative;
  padding-left: 18px;
  margin-bottom: 18px;
}

.timeline li::before,
.bullet-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62rem;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--primary-2), var(--primary));
}

.timeline strong,
.bullet-list strong,
.publication strong {
  display: block;
  font-size: 1rem;
  line-height: 1.45;
}

.timeline span,
.bullet-list span,
.publication span {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  line-height: 1.6;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.tag {
  display: inline-flex;
  align-items: center;
  padding: 12px 16px;
  border-radius: 999px;
  border: 1px solid rgba(28, 145, 190, 0.2);
  background: #f8fdff;
  color: var(--primary-2);
  font-weight: 700;
}

.more-link {
  display: inline-block;
  margin-top: 10px;
  color: var(--primary-2);
  font-weight: 700;
}

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

.publication {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 14px;
  align-items: start;
}

.pub-icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: #eef6fb;
}

.footer {
  display: grid;
  grid-template-columns: 1.35fr 1fr 1fr;
  gap: 24px;
  margin-top: 22px;
  padding: 30px;
  background: linear-gradient(180deg, #0f3563, #0a2a50);
  color: rgba(255,255,255,0.94);
  border-radius: 26px 26px 0 0;
}

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

.footer-logo-wrap {
  width: 80px;
  height: 80px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  background: rgba(255,255,255,0.96);
  padding: 8px;
  flex: 0 0 auto;
}

.footer-logo {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.footer-title {
  font-size: 1.25rem;
  font-weight: 800;
}

.footer-subtitle {
  margin-top: 4px;
  opacity: 0.94;
}

.footer-motto {
  margin-top: 8px;
  font-size: 0.95rem;
  opacity: 0.72;
}

.footer-col h3 {
  margin-top: 0;
  margin-bottom: 12px;
  font-size: 1rem;
}

.footer-col p,
.footer-links a {
  color: rgba(255,255,255,0.8);
  line-height: 1.7;
}

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

.copyright {
  padding: 16px 26px 24px;
  text-align: center;
  background: linear-gradient(180deg, #0a2a50, #082240);
  color: rgba(255,255,255,0.72);
  border-radius: 0 0 26px 26px;
}

@media (max-width: 1120px) {
  .hero-overlay {
    width: min(58%, 620px);
    padding: 26px 28px;
  }

  .contact-strip,
  .three-up,
  .lower-grid,
  .footer {
    grid-template-columns: 1fr;
  }

  .contact-item {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .contact-item:last-child { border-bottom: 0; }
}

@media (max-width: 860px) {
  .topbar {
    align-items: flex-start;
    flex-direction: column;
  }

  .hero-banner {
    min-height: 540px;
  }

  .hero-banner-image {
    width: 100%;
    height: 540px;
    object-fit: cover;
    object-position: 76% center;
  }

  .hero-overlay {
    width: 100%;
    padding: 24px 22px;
    justify-content: flex-start;
    background:
      linear-gradient(180deg, rgba(248,251,253,0.94) 0%, rgba(248,251,253,0.84) 55%, rgba(248,251,253,0.20) 100%);
  }

  .hero-text {
    max-width: 100%;
  }
}

@media (max-width: 760px) {
  .site-shell {
    width: min(calc(100% - 18px), var(--max));
    margin-top: 10px;
  }

  .topbar {
    padding: 18px 18px 16px;
    border-radius: 22px 22px 0 0;
  }

  .brand {
    align-items: flex-start;
  }

  .brand-logo {
    width: 54px;
    height: 54px;
  }

  .navbar {
    padding: 0 14px;
  }

  .nav-toggle { display: block; }

  .nav-links {
    display: none;
    width: 100%;
    padding-bottom: 12px;
    flex-direction: column;
    gap: 2px;
  }

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

  .hero-banner {
    min-height: 560px;
  }

  .hero-banner-image {
    height: 560px;
    object-position: 78% center;
  }

  .announcement {
    font-size: 0.87rem;
  }

  .hero-overlay h1 {
    font-size: 2.45rem;
  }

  .hero-role {
    font-size: 1.02rem;
  }

  .hero-text {
    font-size: 0.98rem;
  }

  .btn {
    min-width: 145px;
  }

  .contact-strip {
    margin: -16px 8px 0;
    border-radius: 20px;
  }

  .card {
    padding: 20px;
  }

  .footer {
    border-radius: 20px 20px 0 0;
  }

  .copyright {
    border-radius: 0 0 20px 20px;
  }
}
