:root {
  color-scheme: light;
  --bg: #f7f9fc;
  --paper: #ffffff;
  --ink: #111827;
  --muted: #5f6b7a;
  --subtle: #dce3ed;
  --line: #e7edf5;
  --blue: #0469dc;
  --cyan: #03aaf2;
  --deep: #073b7a;
  --shadow: 0 18px 60px rgba(8, 36, 77, 0.11);
  --max: 1240px;
  --header: 76px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    "PingFang SC", "Microsoft YaHei", sans-serif;
  line-height: 1.5;
}

[id] {
  scroll-margin-top: calc(var(--header) + 24px);
}

body.menu-open {
  overflow: hidden;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header);
  padding: 0 34px;
  background: rgba(255, 255, 255, 0.91);
  border-bottom: 1px solid rgba(220, 227, 237, 0.86);
  backdrop-filter: blur(18px);
}

.brand {
  display: flex;
  align-items: center;
  width: min(246px, 42vw);
}

.brand img {
  width: 100%;
  height: auto;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-left: 24px;
  font-size: 13px;
  color: #2f3b4a;
  white-space: nowrap;
}

.desktop-nav a {
  position: relative;
  padding: 29px 0;
}

.desktop-nav a::after {
  position: absolute;
  right: 0;
  bottom: 21px;
  left: 0;
  height: 2px;
  background: var(--blue);
  content: "";
  opacity: 0;
  transform: scaleX(0.2);
  transition:
    opacity 180ms ease,
    transform 180ms ease;
}

.desktop-nav a:hover::after,
.desktop-nav a.is-active::after {
  opacity: 1;
  transform: scaleX(1);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-left: 24px;
}

.lang {
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.header-link {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 18px;
  border: 1px solid var(--subtle);
  color: #172336;
  font-size: 13px;
}

.menu-toggle {
  position: relative;
  display: none;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid var(--subtle);
  background: #fff;
}

.menu-toggle span {
  position: absolute;
  top: 20px;
  left: 12px;
  display: block;
  width: 17px;
  height: 2px;
  margin: 0;
  background: var(--ink);
  transition: transform 180ms ease;
}

.menu-toggle span:first-child {
  transform: translateY(-4px);
}

.menu-toggle span:last-child {
  transform: translateY(4px);
}

.menu-open .menu-toggle span:first-child {
  transform: rotate(45deg);
}

.menu-open .menu-toggle span:last-child {
  transform: rotate(-45deg);
}

.mobile-nav {
  position: fixed;
  top: var(--header);
  right: 0;
  left: 0;
  display: none;
  grid-template-columns: 1fr;
  gap: 0;
  padding: 14px 24px 28px;
  background: rgba(255, 255, 255, 0.98);
  border-bottom: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.mobile-nav a {
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
  color: #172336;
  font-size: 16px;
}

.section-grid,
.section,
.mission,
.contact-band,
.site-footer {
  width: min(var(--max), calc(100% - 56px));
  margin: 0 auto;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(420px, 1.1fr);
  gap: 54px;
  min-height: min(720px, calc(100vh - var(--header)));
  padding: 56px 0 44px;
  align-items: center;
}

.hero-copy {
  position: relative;
}

.hero-copy::before {
  position: absolute;
  top: -28px;
  left: -48px;
  width: 170px;
  height: 170px;
  border: 1px solid rgba(4, 105, 220, 0.14);
  content: "";
  transform: rotate(45deg);
}

.section-kicker,
.section-heading span,
.mission-card span,
.contact-band span {
  display: inline-block;
  margin-bottom: 12px;
  color: var(--blue);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

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

h1 {
  position: relative;
  max-width: 700px;
  margin-bottom: 16px;
  font-size: clamp(40px, 4.7vw, 66px);
  line-height: 1.05;
  letter-spacing: 0;
}

.hero-lede {
  max-width: 620px;
  margin-bottom: 18px;
  color: #263548;
  font-size: clamp(19px, 2.1vw, 28px);
  line-height: 1.32;
}

.hero-body {
  max-width: 620px;
  color: var(--muted);
  font-size: 16px;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 46px;
  padding: 0 22px;
  border: 1px solid var(--subtle);
  font-size: 14px;
  font-weight: 700;
  transition:
    background 180ms ease,
    color 180ms ease,
    border-color 180ms ease,
    transform 180ms ease;
}

.btn svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

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

.btn.primary {
  background: var(--blue);
  border-color: var(--blue);
  color: #fff;
}

.btn.ghost {
  background: #fff;
  color: var(--deep);
}

.btn.light {
  min-width: 220px;
  border-color: rgba(255, 255, 255, 0.64);
  color: #fff;
}

.btn.light:hover {
  background: #fff;
  color: var(--blue);
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 34px;
  color: #4f5b69;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.hero-tags span {
  position: relative;
  padding-right: 18px;
}

.hero-tags span:not(:last-child)::after {
  position: absolute;
  top: 50%;
  right: 0;
  width: 3px;
  height: 3px;
  background: var(--cyan);
  content: "";
  transform: translateY(-50%);
}

.hero-visual {
  position: relative;
  min-height: 420px;
  overflow: hidden;
  background: #dfeaf5;
  box-shadow: var(--shadow);
}

.hero-visual::before {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(90deg, rgba(3, 68, 138, 0.22), rgba(3, 170, 242, 0));
  content: "";
  pointer-events: none;
}

.hero-visual img {
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: cover;
}

.visual-panel {
  position: absolute;
  right: 0;
  bottom: 0;
  z-index: 2;
  width: min(245px, 52%);
  padding: 28px;
  background: rgba(4, 105, 220, 0.9);
  color: #fff;
}

.visual-panel strong {
  display: block;
  font-size: 42px;
  line-height: 1;
}

.visual-panel span {
  display: block;
  margin-top: 8px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.mission {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #fff;
}

.mission-card {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 24px;
  padding: 58px 48px;
  border-right: 1px solid var(--line);
}

.mission-card:last-child {
  border-right: 0;
}

.mission-card h2,
.section-heading h2 {
  margin-bottom: 16px;
  font-size: clamp(29px, 3vw, 44px);
  line-height: 1.12;
}

.mission-card p,
.section-heading p,
.pillar-card p,
.news-card p,
.contact-band p,
.site-footer p {
  color: var(--muted);
}

.line-icon {
  display: grid;
  width: 72px;
  height: 72px;
  place-items: center;
  color: var(--blue);
}

.line-icon svg {
  width: 70px;
  height: 70px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.section {
  padding: 92px 0 0;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(300px, 0.85fr);
  gap: 48px;
  align-items: end;
  margin-bottom: 38px;
}

.section-heading.compact {
  margin-bottom: 30px;
}

.section-heading p {
  max-width: 620px;
  margin-bottom: 20px;
  font-size: 16px;
}

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

.pillar-card {
  display: grid;
  min-height: 520px;
  background: #fff;
  border: 1px solid var(--line);
  transition:
    transform 180ms ease,
    box-shadow 180ms ease;
}

.pillar-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-3px);
}

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

.pillar-card:nth-child(3) img {
  filter: contrast(1.04);
}

.pillar-card div {
  padding: 32px;
}

.pillar-card span {
  display: block;
  margin-bottom: 18px;
  color: var(--blue);
  font-size: 44px;
  font-weight: 800;
  line-height: 1;
}

.pillar-card h3,
.news-card h3 {
  margin-bottom: 12px;
  font-size: 22px;
  line-height: 1.24;
}

.awards {
  padding-bottom: 22px;
}

.award-strip {
  display: grid;
  grid-auto-columns: minmax(138px, 1fr);
  grid-auto-flow: column;
  gap: 18px;
  overflow-x: auto;
  padding: 26px 0 22px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  scrollbar-width: thin;
}

.award-strip img {
  width: 100%;
  height: 82px;
  padding: 14px 18px;
  background: #fff;
  border: 1px solid var(--line);
  object-fit: contain;
}

.partner-table {
  background: #fff;
  border-top: 1px solid var(--line);
}

.partner-row {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 22px;
  align-items: center;
  min-height: 108px;
  padding: 24px 28px;
  border-bottom: 1px solid var(--line);
}

.partner-row h3 {
  margin: 0;
  color: #344154;
  font-size: 15px;
}

.logo-grid,
.text-logo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(118px, 1fr));
  gap: 16px;
  align-items: center;
}

.logo-grid img,
.text-logo-grid span {
  display: grid;
  min-height: 58px;
  place-items: center;
  padding: 10px 14px;
  background: #f9fbfe;
  border: 1px solid #eef3f9;
}

.logo-grid img {
  width: 100%;
  height: 58px;
  object-fit: contain;
}

.text-logo-grid span {
  color: #263548;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.2;
  text-align: center;
}

.media-grid img {
  filter: saturate(0.9);
}

.text-link {
  justify-self: end;
  color: var(--blue);
  font-size: 14px;
  font-weight: 800;
}

.news {
  padding-bottom: 86px;
}

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

.news-card {
  background: #fff;
  border: 1px solid var(--line);
  transition:
    box-shadow 180ms ease,
    transform 180ms ease;
}

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

.news-card img {
  width: 100%;
  aspect-ratio: 1.38;
  object-fit: cover;
}

.news-card div {
  padding: 22px;
}

.news-card time {
  display: block;
  margin-bottom: 14px;
  color: #718094;
  font-size: 12px;
  font-weight: 700;
}

.news-card p {
  margin-bottom: 0;
  font-size: 14px;
}

.contact-band {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 38px;
  align-items: center;
  padding: 54px 68px;
  background:
    linear-gradient(90deg, rgba(3, 55, 122, 0.96), rgba(4, 105, 220, 0.82)),
    url("assets/photos/hero-icade.webp") center/cover;
  color: #fff;
}

.contact-band span {
  color: #9ae3ff;
}

.contact-band h2 {
  margin-bottom: 12px;
  font-size: clamp(28px, 3.2vw, 46px);
  line-height: 1.14;
}

.contact-band p {
  max-width: 720px;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 17px;
}

.site-footer {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) minmax(140px, 0.45fr) minmax(220px, 0.75fr);
  gap: 54px;
  padding: 46px 0 34px;
}

.footer-brand img {
  width: 240px;
  margin-bottom: 18px;
}

.site-footer h3 {
  margin-bottom: 14px;
  font-size: 14px;
}

.site-footer a,
.site-footer p {
  display: block;
  margin: 0 0 9px;
  color: var(--muted);
  font-size: 14px;
}

.copyright {
  grid-column: 1 / -1;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

@media (max-width: 1180px) {
  .desktop-nav {
    gap: 18px;
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: 70px;
  }

  .hero-visual {
    min-height: 430px;
  }

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

@media (max-width: 940px) {
  :root {
    --header: 70px;
  }

  .site-header {
    padding: 0 22px;
  }

  .desktop-nav,
  .header-link {
    display: none;
  }

  .menu-toggle {
    display: block;
  }

  .menu-open .mobile-nav {
    display: grid;
  }

  .section-grid,
  .section,
  .mission,
  .contact-band,
  .site-footer {
    width: min(100% - 32px, var(--max));
  }

  .mission,
  .section-heading,
  .pillar-grid,
  .contact-band,
  .site-footer {
    grid-template-columns: 1fr;
  }

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

  .mission-card:last-child {
    border-bottom: 0;
  }

  .partner-row {
    grid-template-columns: 1fr;
  }

  .text-link {
    justify-self: start;
  }
}

@media (max-width: 640px) {
  .brand {
    width: 196px;
  }

  .lang {
    display: none;
  }

  .hero {
    gap: 36px;
    padding: 52px 0 40px;
  }

  .hero-copy::before {
    left: -76px;
  }

  .hero-visual,
  .hero-visual img {
    min-height: 330px;
  }

  .visual-panel {
    width: 180px;
    padding: 20px;
  }

  .visual-panel strong {
    font-size: 34px;
  }

  .mission-card {
    grid-template-columns: 1fr;
    padding: 40px 28px;
  }

  .section {
    padding-top: 68px;
  }

  .pillar-card {
    min-height: auto;
  }

  .pillar-card img {
    height: 210px;
  }

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

  .contact-band {
    padding: 42px 26px;
  }

  .btn.light {
    width: 100%;
  }
}
