/* ATAD × Bechtel-inspired — Precision at global scale */
:root {
  --brand-blue: #0067ac;
  --brand-blue-deep: #00548c;
  --signal-red: #0067ac;
  --signal-red-hover: #00548c;
  --ink: #454145;
  --slate: #454145;
  --mute: #5C6773;
  --mist: #EEF1F4;
  --cloud: #F7F8FA;
  --white: #FFFFFF;
  --line: rgba(255, 255, 255, 0.14);
  --line-dark: rgba(69, 65, 69, 0.1);
  --container: 1180px;
  --header-h: 110px;
  --header-h-scrolled: 88px;
  --radius: 10px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --font-display: "Archivo", system-ui, sans-serif;
  --font-body: "Manrope", system-ui, sans-serif;
  --dot: rgba(69, 65, 69, 0.07);
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }

.container {
  width: min(100% - 48px, var(--container));
  margin-inline: auto;
}

.dot-bg {
  background-color: var(--cloud);
  background-image: radial-gradient(var(--dot) 1px, transparent 1px);
  background-size: 18px 18px;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
}

.header-inner {
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  gap: 20px;
  min-height: var(--header-h);
  transition: min-height 0.3s var(--ease);
}

.logo {
  position: relative;
  display: block;
  width: 200px;
  height: calc(200px * 77 / 150);
  flex-shrink: 0;
  align-self: center;
  transition: width 0.3s var(--ease), height 0.3s var(--ease);
}
.logo img {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: opacity 0.2s var(--ease);
}
.logo-dark {
  opacity: 0;
  pointer-events: none;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 50%;
}
.nav-toggle span {
  display: block;
  width: 16px;
  height: 1.5px;
  margin: 4px auto;
  background: var(--white);
}

.primary-nav {
  display: flex;
  align-items: stretch;
  align-self: stretch;
  gap: 2px;
  flex: 1;
  justify-content: flex-end;
}

.nav-item { position: static; display: flex; }

.nav-item > a {
  display: flex;
  align-items: center;
  padding: 0 11px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  position: relative;
}

.nav-item > a:hover,
.nav-item > a.is-current,
.nav-item:focus-within > a {
  color: var(--white);
}

.nav-item > a.is-current::after {
  content: "";
  position: absolute;
  left: 11px;
  right: 11px;
  top: calc(50% + 0.9em);
  height: 2px;
  background: var(--signal-red);
}

.mega {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% - 2px);
  width: 100%;
  padding: 0;
  background: var(--white);
  color: var(--ink);
  box-shadow: 0 28px 56px rgba(69, 65, 69, 0.14);
  border-top: 1px solid var(--line-dark);
  border-radius: 0;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.2s var(--ease), visibility 0.2s var(--ease);
  transition-delay: 0.12s;
  z-index: 20;
}

.mega::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 100%;
  height: 16px;
}

.mega-inner {
  width: min(100% - 48px, var(--container));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.2fr);
  grid-template-areas:
    "intro groups"
    "feature groups";
  gap: 18px 56px;
  padding: 40px 0 36px;
  align-items: start;
}

/* Compact megas (Giới thiệu, Tin tức, Thư viện, Tuyển dụng): image | copy | submenu */
.mega-inner--compact {
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr) minmax(0, 0.85fr);
  grid-template-areas: "feature intro groups";
  gap: 28px 40px;
  align-items: stretch;
}

.mega-inner--compact .mega-intro {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  min-width: 0;
}

.mega-inner--compact .mega-feature {
  min-height: 280px;
  height: 100%;
  align-self: stretch;
}

.mega-inner--compact .mega-feature img {
  min-height: 280px;
  max-height: none;
}

.mega-inner--compact .mega-groups {
  grid-template-columns: 1fr;
  padding-left: 28px;
  align-content: start;
}

.mega-intro { grid-area: intro; }

.mega-title {
  margin: 0 0 14px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.7rem, 2.8vw, 2.55rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: var(--ink);
}

.mega-title a {
  color: inherit;
  transition: color 0.2s ease;
}

.mega-title a:hover {
  color: var(--brand-blue);
}

.mega-desc {
  margin: 0 0 16px;
  color: var(--mute);
  font-size: 1.02rem;
}

.mega-intro-more {
  margin: 0 0 16px;
  padding-top: 0;
  align-self: flex-start;
  width: fit-content;
}

.mega-intro-links {
  list-style: none;
  margin: 0;
  padding: 12px 0 0;
  border-top: 1px solid var(--line-dark);
}

.mega-intro-links a {
  display: block;
  padding: 7px 0;
  font-size: 15px;
  color: var(--brand-blue);
}

.mega-intro-links a:hover { color: var(--brand-blue-deep); }

.mega-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 14px;
  color: var(--brand-blue);
}

.mega-cta svg {
  width: 16px;
  height: 16px;
}

.mega-cta:hover { gap: 14px; color: var(--brand-blue-deep); }

.mega-feature {
  grid-area: feature;
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: var(--radius);
  min-height: 200px;
  background: var(--slate);
}

.mega-feature img {
  width: 100%;
  height: 100%;
  min-height: 200px;
  max-height: 240px;
  object-fit: cover;
  transition: transform 0.8s var(--ease);
}

.mega-feature:hover img { transform: scale(1.05); }

.mega-groups {
  grid-area: groups;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px 20px;
  padding: 0 0 0 36px;
  border-left: 1px solid var(--line-dark);
  align-self: stretch;
  align-content: start;
}

.mega-group h4 {
  margin: 0 0 12px;
  font-size: 15px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink);
  font-family: var(--font-display);
}

.mega-group h4 a {
  display: inline;
  padding: 0;
  font-size: inherit;
  font-family: inherit;
  letter-spacing: inherit;
  text-transform: inherit;
  font-weight: inherit;
  color: var(--ink);
}

.mega-group h4 a:hover {
  color: var(--brand-blue);
}

.mega-group ul { list-style: none; margin: 0; padding: 0; }

.mega-group a {
  display: block;
  padding: 7px 0;
  font-size: 15px;
  color: var(--brand-blue);
}

.mega-group a:hover { color: var(--brand-blue-deep); }

.nav-item:hover .mega,
.nav-item:focus-within .mega {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transition-delay: 0s;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
  margin-left: 8px;
  align-self: center;
}

.lang-switch {
  position: relative;
}

.lang-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 40px;
  padding: 0 12px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 999px;
  color: var(--white);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: border-color 0.2s, color 0.2s, background 0.2s;
}

.lang-toggle svg {
  width: 14px;
  height: 14px;
  transition: transform 0.2s var(--ease);
}

.lang-switch.is-open .lang-toggle svg { transform: rotate(180deg); }

.lang-menu {
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  min-width: 88px;
  margin: 0;
  padding: 8px 0;
  list-style: none;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: 0 16px 40px rgba(69, 65, 69, 0.16);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(6px);
  transition: 0.2s var(--ease);
  z-index: 30;
}

.lang-switch.is-open .lang-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: none;
}

.lang-menu a {
  display: block;
  padding: 8px 16px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink);
}

.lang-menu a:hover,
.lang-menu a.is-active {
  color: var(--brand-blue);
  background: var(--cloud);
}

body.is-scrolled {
  --header-h: var(--header-h-scrolled);
}

body.is-scrolled .site-header,
body.nav-open .site-header,
body:has(.nav-item:hover) .site-header,
body:has(.nav-item:focus-within) .site-header {
  background: var(--white);
  border-bottom-color: var(--line-dark);
}

body.is-scrolled .logo {
  width: 150px;
  height: calc(150px * 77 / 150);
}

body.is-scrolled .logo-light,
body.nav-open .logo-light,
body:has(.nav-item:hover) .logo-light,
body:has(.nav-item:focus-within) .logo-light { opacity: 0; }

body.is-scrolled .logo-dark,
body.nav-open .logo-dark,
body:has(.nav-item:hover) .logo-dark,
body:has(.nav-item:focus-within) .logo-dark { opacity: 1; }

body.is-scrolled .nav-item > a,
body.nav-open .nav-item > a,
body:has(.nav-item:hover) .nav-item > a,
body:has(.nav-item:focus-within) .nav-item > a { color: var(--ink); }

body.is-scrolled .nav-item > a:hover,
body.is-scrolled .nav-item > a.is-current,
body.is-scrolled .nav-item:focus-within > a,
body.nav-open .nav-item > a:hover,
body.nav-open .nav-item > a.is-current,
body.nav-open .nav-item:focus-within > a,
body:has(.nav-item:hover) .nav-item > a:hover,
body:has(.nav-item:hover) .nav-item > a.is-current,
body:has(.nav-item:focus-within) .nav-item > a:hover,
body:has(.nav-item:focus-within) .nav-item > a.is-current {
  color: var(--brand-blue);
}

body.is-scrolled .nav-toggle,
body.nav-open .nav-toggle,
body:has(.nav-item:hover) .nav-toggle,
body:has(.nav-item:focus-within) .nav-toggle { border-color: var(--line-dark); }

body.is-scrolled .nav-toggle span,
body.nav-open .nav-toggle span,
body:has(.nav-item:hover) .nav-toggle span,
body:has(.nav-item:focus-within) .nav-toggle span { background: var(--ink); }

body.is-scrolled .lang-toggle,
body.nav-open .lang-toggle,
body:has(.nav-item:hover) .lang-toggle,
body:has(.nav-item:focus-within) .lang-toggle {
  color: var(--ink);
  border-color: var(--line-dark);
}

.cta {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.02em;
  color: var(--ink);
  transition: gap 0.3s var(--ease);
}
.cta:hover { gap: 18px; }

.cta-orb {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--signal-red);
  color: var(--white);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  transition: background 0.25s, transform 0.3s var(--ease);
}
.cta:hover .cta-orb {
  background: var(--signal-red-hover);
  transform: scale(1.05);
}
.cta-orb svg { width: 18px; height: 18px; }

.cta-light { color: var(--white); }
.cta-light .cta-orb { background: var(--signal-red); }

.cta-ghost .cta-orb {
  background: transparent;
  border: 1.5px solid currentColor;
  color: inherit;
}
.cta-ghost:hover .cta-orb {
  background: var(--ink);
  color: var(--white);
  border-color: var(--ink);
}
.cta-light.cta-ghost .cta-orb {
  border-color: rgba(255,255,255,0.55);
  color: var(--white);
}
.cta-light.cta-ghost:hover .cta-orb {
  background: var(--white);
  color: var(--ink);
  border-color: var(--white);
}

.btn-compact {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 18px;
  background: var(--signal-red);
  color: var(--white);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: 999px;
}
.btn-compact:hover { background: var(--signal-red-hover); }

.hero {
  position: relative;
  min-height: calc(100svh - 110px);
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  color: var(--white);
  background: var(--ink);
}

.hero-media { position: absolute; inset: 0; }
.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: kenburns 24s var(--ease) forwards;
}
@keyframes kenburns { to { transform: scale(1.06); } }

.hero-media::after { content: none; display: none; }

.hero-content {
  position: relative;
  z-index: 2;
  width: min(100% - 48px, var(--container));
  margin: 0 auto;
  padding: 100px 0 72px;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 48px;
  align-items: end;
}

.hero-kicker {
  margin: 0 0 16px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
}

.hero-kicker em {
  font-style: normal;
  color: var(--signal-red);
}

.hero-title {
  margin: 0 0 20px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.8rem, 7vw, 5.4rem);
  line-height: 0.95;
  letter-spacing: -0.035em;
  max-width: 10ch;
}

.hero-aside p {
  margin: 0 0 28px;
  color: rgba(255,255,255,0.75);
  font-size: 1.05rem;
  max-width: 36ch;
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 20px 28px; align-items: center; }

.section { padding: 104px 0; }

.section-label {
  margin: 0 0 14px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--signal-red);
}

.section-title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2rem, 4.2vw, 3.4rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
}

.section-lead {
  margin: 16px 0 0;
  color: var(--mute);
  font-size: 1.08rem;
  max-width: 48ch;
}

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

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.85s var(--ease), transform 0.85s var(--ease);
}
.reveal.is-in { opacity: 1; transform: none; }

.featured-posts { background: var(--white); border-bottom: 1px solid var(--line-dark); }

.posts-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 24px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.posts-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.post-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding-top: 20px;
  border-top: 3px solid var(--ink);
  transition: border-color 0.25s;
}
.post-card:hover { border-top-color: var(--signal-red); }

.post-card time {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--mute);
}

.post-card h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.015em;
}
.post-card:hover h3 { color: var(--brand-blue); }

.statement {
  background: var(--ink);
  color: var(--white);
}

.statement .section-lead { color: rgba(255,255,255,0.68); }
.statement-actions { margin-top: 36px; }

.projects-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 24px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.project-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.project-card .thumb {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  aspect-ratio: 4 / 3;
  background: var(--slate);
}

.project-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1s var(--ease);
}
.project-card:hover img { transform: scale(1.05); }

.project-card .meta {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--mute);
}

.project-card h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.015em;
}

.capabilities { padding: 0; }

.cap-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 520px;
}

.cap-panel {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  min-height: 420px;
  color: var(--white);
}

.cap-panel img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s var(--ease);
}
.cap-panel:hover img { transform: scale(1.05); }

.cap-panel::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 25%, rgba(69,65,69,0.88) 100%);
}

.cap-body {
  position: relative;
  z-index: 1;
  padding: 48px;
  width: 100%;
}

.cap-body h3 {
  margin: 0 0 12px;
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 2.5vw, 2.2rem);
  font-weight: 800;
}

.cap-body p {
  margin: 0 0 24px;
  max-width: 34ch;
  color: rgba(255,255,255,0.72);
}

.scale-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.scale-item strong {
  display: block;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(3rem, 6vw, 4.75rem);
  line-height: 0.95;
  letter-spacing: -0.04em;
}

.scale-item span {
  display: block;
  margin-top: 14px;
  color: var(--mute);
  max-width: 18ch;
  font-size: 15px;
}

.people-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
}

.people-media {
  overflow: hidden;
  border-radius: var(--radius);
  min-height: 420px;
  background: var(--slate);
}
.people-media img {
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: cover;
}

.esg-teaser {
  background: var(--ink);
  color: var(--white);
}

.esg-teaser .section-lead { color: rgba(255,255,255,0.68); }

.esg-pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin-top: 48px;
  border-top: 1px solid var(--line);
}

.esg-pillars a {
  padding: 28px 24px 28px 0;
  border-bottom: 1px solid var(--line);
  display: grid;
  gap: 10px;
}

.esg-pillars a + a {
  padding-left: 24px;
  border-left: 1px solid var(--line);
}

.esg-pillars b {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
}

.esg-pillars span {
  color: rgba(255,255,255,0.55);
  font-size: 14px;
}

.esg-pillars em {
  font-style: normal;
  font-family: var(--font-display);
  font-weight: 800;
  color: var(--signal-red);
  font-size: 0.95rem;
  letter-spacing: 0.06em;
}

.esg-pillars a:hover b { color: #8ec8ef; }

.site-footer {
  background: var(--signal-red);
  color: rgba(255, 255, 255, 0.82);
  padding: 72px 0 20px;
}

.footer-shell {
  width: min(100% - 48px, var(--container));
  margin: 0 auto;
  padding: 0;
  border: 0;
  border-radius: 0;
}

.footer-main {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 24px 20px;
  align-items: start;
  margin-bottom: 20px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}

.footer-brand-block {
  display: grid;
  gap: 14px;
  justify-items: start;
  text-align: left;
  min-width: 0;
}

.footer-logo img {
  height: 80px;
  width: auto;
  max-width: 100%;
  filter: brightness(0) invert(1);
}

.footer-certs {
  display: grid;
  gap: 16px;
  width: 100%;
  margin-top: 4px;
}

.footer-cert {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.footer-cert img {
  width: 56px;
  height: 56px;
  flex: 0 0 56px;
  object-fit: contain;
  border-radius: 50%;
}

.footer-cert-text {
  display: grid;
  gap: 2px;
  min-width: 0;
  font-size: 0.7rem;
  line-height: 1.3;
  color: var(--white);
}

.footer-cert-sub {
  font-size: 0.68rem;
  font-weight: 500;
  line-height: 1.25;
  color: rgba(255, 255, 255, 0.82);
}

.footer-navs {
  display: contents;
}

.footer-navs > div {
  min-width: 0;
}

.site-footer h4 {
  margin: 0 0 18px;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  text-transform: none;
  color: var(--white);
}

.site-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-footer li {
  margin-bottom: 12px;
  font-size: 0.85rem;
}

.site-footer li a {
  color: rgba(255, 255, 255, 0.78);
}

.site-footer li a:hover {
  color: var(--white);
}

.footer-social {
  display: flex;
  flex-wrap: nowrap;
  justify-content: flex-start;
  gap: 20px;
  margin-top: 12px;
}

.footer-social a {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 28px;
  height: 28px;
  color: var(--white);
  opacity: 0.92;
  transition: opacity 0.2s, transform 0.2s;
}

.footer-social a:hover {
  opacity: 1;
  transform: translateY(-2px);
}

.footer-social svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 20px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.7);
}

@media (max-width: 1100px) {
  .footer-main {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .footer-brand-block {
    grid-column: 1 / -1;
  }
}

@media (max-width: 640px) {
  .footer-main {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .footer-brand-block {
    justify-items: center;
    text-align: center;
    padding-bottom: 24px;
  }

  .footer-social {
    justify-content: center;
  }

  .footer-navs > div {
    padding: 18px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.16);
  }

  .footer-bottom {
    flex-direction: column;
    justify-content: center;
    text-align: center;
  }
}

@media (max-width: 1024px) {
  .hero-content,
  .split,
  .posts-grid,
  .project-grid,
  .people-grid,
  .esg-pillars,
  .cap-row,
  .scale-row {
    grid-template-columns: 1fr;
  }

  .esg-pillars a + a {
    padding-left: 0;
    border-left: 0;
  }

  .mega-inner,
  .mega-inner--compact {
    grid-template-columns: 1fr;
    grid-template-areas:
      "intro"
      "feature"
      "groups";
    gap: 24px;
    padding: 28px 0 24px;
  }

  .mega-inner--compact {
    grid-template-areas:
      "feature"
      "intro"
      "groups";
  }

  .mega-inner--compact .mega-feature,
  .mega-inner--compact .mega-feature img {
    min-height: 200px;
  }

  .mega-groups,
  .mega-inner--compact .mega-groups {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    padding-left: 0;
    border-left: 0;
    padding-top: 20px;
    border-top: 1px solid var(--line-dark);
    align-content: start;
  }

  .mega-inner--compact .mega-groups {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 860px) {
  :root {
    --header-h: 72px;
    --header-h-scrolled: 64px;
  }

  .container {
    width: min(100% - 32px, var(--container));
  }

  .header-inner {
    align-items: center;
    flex-wrap: nowrap;
    gap: 10px;
    min-height: var(--header-h);
  }

  .logo {
    order: 1;
    width: 120px;
    height: calc(120px * 77 / 150);
    flex-shrink: 0;
    align-self: center;
  }

  body.is-scrolled .logo {
    width: 108px;
    height: calc(108px * 77 / 150);
  }

  .nav-toggle {
    order: 2;
    display: block;
    position: relative;
    width: 40px;
    height: 40px;
    padding: 0;
    margin-left: auto;
    flex-shrink: 0;
    align-self: center;
  }

  .header-actions {
    order: 3;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-left: 0;
    flex-shrink: 0;
    align-self: center;
  }

  .primary-nav { order: 4; }

  .lang-toggle {
    min-height: 40px;
    height: 40px;
    padding: 0 12px;
    box-sizing: border-box;
  }

  .nav-toggle span {
    position: absolute;
    left: 50%;
    top: 50%;
    margin: 0;
    transition: transform 0.25s var(--ease), opacity 0.2s;
    transform: translate(-50%, -50%);
  }

  .nav-toggle span:nth-child(1) { transform: translate(-50%, calc(-50% - 5px)); }
  .nav-toggle span:nth-child(3) { transform: translate(-50%, calc(-50% + 5px)); }

  body.nav-open .nav-toggle span:nth-child(1) {
    transform: translate(-50%, -50%) rotate(45deg);
  }

  body.nav-open .nav-toggle span:nth-child(2) {
    opacity: 0;
  }

  body.nav-open .nav-toggle span:nth-child(3) {
    transform: translate(-50%, -50%) rotate(-45deg);
  }

  body.nav-open {
    overflow: hidden;
  }

  .header-actions .btn-compact { display: none; }

  .primary-nav {
    position: fixed;
    inset: var(--header-h) 0 0 0;
    max-height: none;
    height: calc(100dvh - var(--header-h));
    overflow: auto;
    overscroll-behavior: contain;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    background-color: #fff;
    padding: 8px 20px calc(28px + env(safe-area-inset-bottom, 0px));
    transform: translateY(-12px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.28s var(--ease), transform 0.28s var(--ease), visibility 0.28s;
    -webkit-overflow-scrolling: touch;
    z-index: 110;
  }

  body.nav-open .primary-nav {
    transform: none;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  .nav-item {
    display: block;
  }

  .nav-item > a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 14px 0;
    border-bottom: 1px solid var(--line-dark);
    font-size: 13px;
    letter-spacing: 0.06em;
    color: var(--ink);
  }

  .nav-item > a.is-current::after {
    display: none;
  }

  .nav-item:has(.mega) > a::after {
    content: "";
    width: 8px;
    height: 8px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(45deg) translateY(-2px);
    opacity: 0.55;
    flex-shrink: 0;
    transition: transform 0.2s var(--ease);
  }

  .nav-item.is-open > a::after {
    transform: rotate(225deg) translateY(-2px);
  }

  .mega::before { display: none; }

  .mega, .mega.wide {
    position: static;
    transform: none;
    width: auto;
    min-width: 0;
    display: none;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    box-shadow: none;
    background: transparent;
    color: var(--mute);
    padding: 4px 0 14px;
    border: 0;
    border-radius: 0;
  }

  .nav-item.is-open .mega { display: block; }

  .mega-inner,
  .mega-inner--compact {
    width: 100%;
    grid-template-columns: 1fr;
    grid-template-areas:
      "intro"
      "groups";
    gap: 12px;
    padding: 8px 0 4px;
  }

  .mega-inner--compact {
    grid-template-areas:
      "intro"
      "groups";
  }

  .mega-feature { display: none; }

  .mega-title { font-size: 1.15rem; }
  .mega-desc { font-size: 0.92rem; margin-bottom: 10px; }
  .mega-groups {
    grid-template-columns: 1fr;
    gap: 14px;
    padding: 12px 0 0;
    border-left: 0;
    border-top: 1px solid var(--line-dark);
  }
  .mega-group h4 { color: var(--ink); }
  .mega-group a {
    color: var(--brand-blue);
    padding: 9px 0;
  }
  .mega-intro-links a { color: var(--brand-blue); }

  .hero-title { max-width: none; font-size: clamp(2.1rem, 10vw, 3rem); }
  .hero-content { padding: 72px 0 40px; }
  .section { padding: 56px 0; }
  .hero-actions { gap: 14px 18px; }
}

@media (max-width: 640px) {
  :root {
    --header-h: 64px;
    --header-h-scrolled: 60px;
  }

  body { font-size: 16px; }

  .container {
    width: min(100% - 28px, var(--container));
  }

  .header-inner {
    gap: 8px;
  }

  .logo {
    width: 104px;
    height: calc(104px * 77 / 150);
  }

  body.is-scrolled .logo {
    width: 96px;
    height: calc(96px * 77 / 150);
  }

  .nav-toggle,
  .lang-toggle {
    width: 38px;
    height: 38px;
    min-height: 38px;
  }

  .lang-toggle {
    width: auto;
    padding: 0 10px;
  }

  .primary-nav {
    padding-inline: 16px;
  }

  .hero-title { font-size: clamp(1.9rem, 9.5vw, 2.6rem); }
  .hero-content { padding: 64px 0 36px; }
  .section { padding: 48px 0; }
  .btn-compact {
    min-height: 44px;
  }
}
