@font-face {
  font-family: "e-Ukraine";
  src: url("../fonts/e-Ukraine-Light.otf") format("opentype");
  font-style: normal;
  font-weight: 300;
  font-display: swap;
}

@font-face {
  font-family: "e-Ukraine";
  src: url("../fonts/e-Ukraine-Regular.otf") format("opentype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "e-Ukraine";
  src: url("../fonts/e-Ukraine-Medium.otf") format("opentype");
  font-style: normal;
  font-weight: 600;
  font-display: swap;
}

@font-face {
  font-family: "e-Ukraine Head";
  src: url("../fonts/e-UkraineHead-Regular.otf") format("opentype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "e-Ukraine Head";
  src: url("../fonts/e-UkraineHead-Medium.otf") format("opentype");
  font-style: normal;
  font-weight: 600;
  font-display: swap;
}

:root {
  --ore: #812a3e;
  --ore-deep: #571725;
  --steel: #dddcde;
  --slate: #151515;
  --river: #5072a7;
  --river-bright: #79a8d8;
  --oak: #455859;
  --sand: #d3b781;
  --paper: #f5f2eb;
  --paper-soft: #ece8df;
  --white: #ffffff;
  --ink-soft: #52504d;
  --focus: #ffd75a;
  --header-h: 78px;
  --page-pad: clamp(20px, 4vw, 72px);
  --content: 1440px;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-smooth: cubic-bezier(0.65, 0, 0.35, 1);
  color-scheme: light;
  font-synthesis: none;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 18px);
  background: var(--slate);
}

body {
  margin: 0;
  color: var(--slate);
  background: var(--paper);
  font-family: "e-Ukraine", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  font-weight: 300;
  line-height: 1.55;
  overflow-x: hidden;
  text-rendering: optimizeLegibility;
}

body.menu-open {
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.22em;
}

button,
input {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

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

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

h1,
h2,
h3 {
  font-family: "e-Ukraine Head", "e-Ukraine", sans-serif;
  font-weight: 400;
  letter-spacing: -0.035em;
  line-height: 1.02;
}

::selection {
  color: var(--white);
  background: var(--ore);
}

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  z-index: 999;
  top: 10px;
  left: 10px;
  padding: 12px 16px;
  color: var(--slate);
  background: var(--focus);
  transform: translateY(-160%);
  transition: transform 160ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.shell {
  width: min(100%, var(--content));
  margin-inline: auto;
  padding-inline: var(--page-pad);
}

.site-header {
  position: fixed;
  z-index: 100;
  inset: 0 0 auto;
  height: var(--header-h);
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  color: var(--white);
  background: linear-gradient(180deg, rgba(15, 15, 15, 0.92), rgba(15, 15, 15, 0.72));
  backdrop-filter: blur(18px) saturate(120%);
  transition: background 240ms ease, color 240ms ease, box-shadow 240ms ease;
}

.site-header.is-scrolled {
  color: var(--slate);
  background: rgba(245, 242, 235, 0.94);
  border-color: rgba(21, 21, 21, 0.12);
  box-shadow: 0 12px 44px rgba(21, 21, 21, 0.08);
}

.header-inner {
  display: flex;
  height: 100%;
  align-items: center;
  gap: 28px;
}

.wordmark {
  position: relative;
  display: inline-grid;
  flex: 0 0 auto;
  grid-template-columns: 11px auto;
  grid-template-rows: auto auto;
  min-height: 44px;
  align-content: center;
  column-gap: 10px;
  color: currentColor;
  text-decoration: none;
}

.wordmark::before {
  content: "";
  grid-row: 1 / span 2;
  width: 11px;
  background: linear-gradient(180deg, var(--sand) 0 44%, var(--ore) 44% 74%, var(--river) 74% 100%);
  clip-path: polygon(0 0, 100% 7%, 100% 100%, 0 92%);
}

.wordmark strong {
  font-family: "e-Ukraine Head", sans-serif;
  font-size: 16px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.02em;
}

.wordmark small {
  margin-top: 5px;
  font-size: 9px;
  font-weight: 400;
  letter-spacing: 0.16em;
  line-height: 1;
  opacity: 0.72;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: clamp(12px, 1.6vw, 28px);
  margin-left: auto;
}

.desktop-nav a {
  position: relative;
  padding: 10px 0;
  font-size: 13px;
  font-weight: 400;
  text-decoration: none;
  white-space: nowrap;
}

.desktop-nav a::after {
  content: "";
  position: absolute;
  inset: auto 0 5px;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 260ms var(--ease-out);
}

.desktop-nav a:hover::after,
.desktop-nav a[aria-current="page"]::after {
  transform: scaleX(1);
  transform-origin: left;
}

.language-menu {
  position: relative;
  flex: 0 0 auto;
}

.language-menu summary {
  display: flex;
  min-width: 62px;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid currentColor;
  cursor: pointer;
  font-size: 12px;
  font-weight: 600;
  list-style: none;
}

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

.language-menu summary::after {
  content: "";
  width: 6px;
  height: 6px;
  border-right: 1px solid;
  border-bottom: 1px solid;
  transform: rotate(45deg) translateY(-2px);
}

.language-menu[open] summary::after {
  transform: rotate(225deg) translate(-1px, -1px);
}

.language-list {
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  display: grid;
  min-width: 210px;
  margin: 0;
  padding: 8px;
  color: var(--slate);
  background: var(--white);
  border: 1px solid rgba(21, 21, 21, 0.1);
  box-shadow: 0 22px 60px rgba(21, 21, 21, 0.18);
  list-style: none;
}

.language-list a {
  display: flex;
  min-height: 44px;
  align-items: center;
  justify-content: space-between;
  padding: 8px 12px;
  text-decoration: none;
}

.language-list a:hover,
.language-list a[aria-current="true"] {
  color: var(--white);
  background: var(--ore);
}

.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  margin-left: auto;
  border: 1px solid currentColor;
  color: inherit;
  background: transparent;
  cursor: pointer;
}

.menu-toggle span,
.menu-toggle::before,
.menu-toggle::after {
  display: block;
  width: 20px;
  height: 1px;
  margin: 5px auto;
  content: "";
  background: currentColor;
  transition: transform 240ms var(--ease-out), opacity 180ms ease;
}

.menu-open .menu-toggle span {
  opacity: 0;
}

.menu-open .menu-toggle::before {
  transform: translateY(6px) rotate(45deg);
}

.menu-open .menu-toggle::after {
  transform: translateY(-6px) rotate(-45deg);
}

.mobile-drawer {
  position: fixed;
  z-index: 90;
  inset: var(--header-h) 0 0;
  display: none;
  padding: 28px var(--page-pad) 42px;
  color: var(--white);
  background: var(--slate);
  overflow-y: auto;
}

.menu-open .mobile-drawer {
  display: block;
  animation: drawer-in 280ms var(--ease-out) both;
}

@keyframes drawer-in {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}

.mobile-drawer nav {
  display: grid;
  gap: 0;
}

.mobile-drawer nav a {
  padding: 14px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  font-family: "e-Ukraine Head", sans-serif;
  font-size: clamp(24px, 7vw, 34px);
  line-height: 1.1;
  text-decoration: none;
}

.mobile-languages {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 32px;
}

.mobile-languages a {
  min-width: 48px;
  min-height: 44px;
  display: inline-grid;
  place-items: center;
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  text-align: center;
  text-decoration: none;
}

.mobile-languages a[aria-current="true"] {
  color: var(--slate);
  background: var(--sand);
}

.hero {
  position: relative;
  min-height: 100svh;
  padding-top: calc(var(--header-h) + 46px);
  color: var(--white);
  background: var(--slate);
  isolation: isolate;
  overflow: hidden;
}

.hero::before {
  position: absolute;
  z-index: -3;
  inset: 0;
  content: "";
  background:
    radial-gradient(circle at 12% 85%, rgba(129, 42, 62, 0.36), transparent 32%),
    radial-gradient(circle at 80% 28%, rgba(80, 114, 167, 0.24), transparent 27%),
    var(--slate);
}

.hero::after {
  position: absolute;
  z-index: -2;
  inset: 0;
  content: "";
  pointer-events: none;
  opacity: 0.28;
  background-image: linear-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(90deg, transparent 0, black 50%, black 100%);
}

.hero-grid {
  display: grid;
  min-height: calc(100svh - var(--header-h) - 46px);
  grid-template-columns: minmax(0, 0.92fr) minmax(520px, 1.08fr);
  align-items: center;
  gap: clamp(32px, 5vw, 92px);
  padding-bottom: 74px;
}

.hero-copy {
  position: relative;
  z-index: 3;
  max-width: 720px;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
  color: var(--sand);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
}

.eyebrow::before {
  width: 38px;
  height: 1px;
  content: "";
  background: currentColor;
}

.hero h1 {
  max-width: 760px;
  margin-bottom: 28px;
  font-size: clamp(50px, 6.4vw, 104px);
  line-height: 0.94;
}

.hero h1 .accent {
  color: var(--sand);
}

.hero-lead {
  max-width: 650px;
  margin-bottom: 34px;
  color: rgba(255, 255, 255, 0.78);
  font-size: clamp(17px, 1.4vw, 22px);
  line-height: 1.5;
}

.hero-actions,
.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  position: relative;
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 12px 20px;
  border: 1px solid transparent;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition: color 220ms ease, background 220ms ease, border-color 220ms ease, transform 220ms var(--ease-out);
}

.button::after {
  content: "↗";
  font-size: 18px;
  font-weight: 300;
  transition: transform 220ms var(--ease-out);
}

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

.button:hover::after {
  transform: translate(3px, -3px);
}

.button-primary {
  color: var(--slate);
  background: var(--sand);
}

.button-primary:hover {
  background: #e2ca9c;
}

.button-secondary {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.36);
}

.button-secondary:hover {
  border-color: var(--white);
  background: rgba(255, 255, 255, 0.08);
}

.hero-note {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 34px;
  color: rgba(255, 255, 255, 0.54);
  font-size: 11px;
  letter-spacing: 0.04em;
}

.hero-note span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--river-bright);
  box-shadow: 0 0 0 7px rgba(121, 168, 216, 0.12);
}

.hero-collage {
  position: relative;
  width: min(100%, 770px);
  height: min(72svh, 760px);
  min-height: 570px;
  margin-left: auto;
  perspective: 1200px;
  transform: translate3d(calc(var(--pointer-x, 0) * 7px), calc(var(--pointer-y, 0) * 5px), 0);
  transition: transform 120ms linear;
}

.collage-frame {
  position: absolute;
  inset: 0 2% 3% 4%;
  border: 1px solid rgba(255, 255, 255, 0.24);
  clip-path: polygon(7% 0, 100% 0, 94% 100%, 0 92%);
}

.collage-item {
  position: absolute;
  overflow: hidden;
  background: var(--oak);
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.28);
  transform: translate3d(calc(var(--pointer-x, 0) * var(--depth, 8px)), calc(var(--pointer-y, 0) * var(--depth, 8px)), 0);
  transition: transform 140ms linear, filter 300ms ease;
}

.collage-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.86) contrast(1.04);
  transition: transform 1.2s var(--ease-out), filter 500ms ease;
}

.collage-item:hover img {
  transform: scale(1.045);
  filter: saturate(1.05) contrast(1.04);
}

.collage-item::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(180deg, transparent 45%, rgba(15, 15, 15, 0.76));
}

.collage-item figcaption {
  position: absolute;
  z-index: 2;
  right: 16px;
  bottom: 14px;
  left: 16px;
  color: var(--white);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.035em;
}

.collage-a {
  --depth: -10px;
  top: 0;
  right: 1%;
  width: 67%;
  height: 44%;
  clip-path: polygon(9% 0, 100% 0, 94% 100%, 0 88%);
}

.collage-b {
  --depth: 5px;
  top: 33%;
  left: 0;
  width: 52%;
  height: 39%;
  clip-path: polygon(0 8%, 92% 0, 100% 88%, 8% 100%);
}

.collage-c {
  --depth: 12px;
  right: 2%;
  bottom: 1%;
  width: 58%;
  height: 47%;
  clip-path: polygon(8% 7%, 100% 0, 91% 100%, 0 91%);
}

.collage-signal {
  position: absolute;
  z-index: 5;
  top: 18%;
  left: 3%;
  display: grid;
  width: 128px;
  height: 128px;
  place-content: center;
  padding: 16px;
  border-radius: 50%;
  color: var(--slate);
  background: var(--sand);
  font-family: "e-Ukraine Head", sans-serif;
  font-size: 14px;
  line-height: 1.15;
  text-align: center;
  transform: rotate(-8deg);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.22);
}

.collage-signal::before {
  position: absolute;
  inset: -9px;
  content: "";
  border: 1px solid rgba(211, 183, 129, 0.62);
  border-radius: 50%;
  animation: signal-pulse 3.6s ease-in-out infinite;
}

@keyframes signal-pulse {
  0%, 100% { transform: scale(0.96); opacity: 0.45; }
  50% { transform: scale(1.08); opacity: 1; }
}

.motion-strip {
  position: relative;
  display: flex;
  height: 56px;
  align-items: center;
  color: var(--white);
  background: var(--ore);
  overflow: hidden;
}

.motion-track {
  display: flex;
  width: max-content;
  animation: ticker 30s linear infinite;
}

.motion-track span {
  display: inline-flex;
  align-items: center;
  gap: 26px;
  padding-right: 26px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  white-space: nowrap;
}

.motion-track span::after {
  width: 8px;
  height: 8px;
  content: "";
  background: var(--sand);
  transform: rotate(45deg);
}

@keyframes ticker {
  to { transform: translateX(-50%); }
}

.section {
  position: relative;
  padding-block: clamp(82px, 11vw, 164px);
}

.section-header {
  display: grid;
  grid-template-columns: minmax(180px, 0.34fr) minmax(0, 0.66fr);
  gap: clamp(30px, 7vw, 120px);
  align-items: start;
  margin-bottom: clamp(46px, 7vw, 98px);
}

.section-index {
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--ore);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
}

.section-index::after {
  flex: 1;
  height: 1px;
  content: "";
  background: currentColor;
  opacity: 0.5;
}

.section-title h2 {
  max-width: 970px;
  margin-bottom: 22px;
  font-size: clamp(40px, 5.4vw, 82px);
}

.section-title p {
  max-width: 760px;
  margin-bottom: 0;
  color: var(--ink-soft);
  font-size: clamp(17px, 1.4vw, 21px);
}

.cooperation-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.92fr);
  gap: clamp(28px, 6vw, 90px);
  align-items: stretch;
}

.statement-card {
  position: relative;
  min-height: 480px;
  padding: clamp(28px, 5vw, 68px);
  color: var(--white);
  background: var(--ore);
  overflow: hidden;
}

.statement-card::before {
  position: absolute;
  right: -12%;
  bottom: -42%;
  width: 72%;
  aspect-ratio: 1;
  content: "";
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 50%;
  box-shadow: 0 0 0 45px rgba(255, 255, 255, 0.025), 0 0 0 90px rgba(255, 255, 255, 0.02);
}

.statement-card .large-quote {
  max-width: 760px;
  margin-bottom: 80px;
  font-family: "e-Ukraine Head", sans-serif;
  font-size: clamp(30px, 3.8vw, 58px);
  line-height: 1.08;
  letter-spacing: -0.035em;
}

.statement-card .statement-foot {
  position: absolute;
  right: clamp(28px, 5vw, 68px);
  bottom: clamp(28px, 5vw, 56px);
  left: clamp(28px, 5vw, 68px);
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.28);
  padding-top: 18px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 12px;
}

.principles {
  display: grid;
  gap: 1px;
  background: rgba(21, 21, 21, 0.18);
  border: 1px solid rgba(21, 21, 21, 0.18);
}

.principle {
  display: grid;
  min-height: 148px;
  grid-template-columns: 62px 1fr;
  gap: 12px;
  align-items: start;
  padding: 26px;
  background: var(--paper);
  transition: background 260ms ease, color 260ms ease;
}

.principle:hover {
  color: var(--white);
  background: var(--oak);
}

.principle-number {
  color: var(--ore);
  font-size: 12px;
  font-weight: 600;
}

.principle:hover .principle-number {
  color: var(--sand);
}

.principle h3 {
  margin-bottom: 10px;
  font-size: 23px;
}

.principle p {
  margin-bottom: 0;
  color: var(--ink-soft);
  font-size: 13px;
}

.principle:hover p {
  color: rgba(255, 255, 255, 0.72);
}

.system-section {
  color: var(--white);
  background: var(--slate);
  overflow: hidden;
}

.system-section::before {
  position: absolute;
  inset: 0;
  content: "";
  opacity: 0.35;
  pointer-events: none;
  background:
    radial-gradient(circle at 12% 48%, rgba(129, 42, 62, 0.48), transparent 26%),
    radial-gradient(circle at 90% 30%, rgba(80, 114, 167, 0.38), transparent 24%);
}

.system-section .section-index {
  color: var(--sand);
}

.system-section .section-title p {
  color: rgba(255, 255, 255, 0.64);
}

.system-layout {
  position: relative;
  display: grid;
  grid-template-columns: minmax(520px, 1.12fr) minmax(320px, 0.88fr);
  gap: clamp(36px, 5vw, 80px);
  align-items: center;
}

.system-visual {
  position: relative;
  width: min(100%, 720px);
  aspect-ratio: 1;
  margin-inline: auto;
}

.system-rings {
  position: absolute;
  inset: 4%;
  width: 92%;
  height: 92%;
  overflow: visible;
}

.system-rings .grid-ring {
  fill: none;
  stroke: rgba(255, 255, 255, 0.14);
  stroke-width: 1;
}

.system-rings .grid-ring:nth-child(2) {
  stroke-dasharray: 4 7;
  animation: ring-rotate 46s linear infinite;
  transform-origin: center;
}

.system-rings .flow-path {
  fill: none;
  stroke: url("#flowGradient");
  stroke-width: 2;
  stroke-linecap: round;
  stroke-dasharray: 1 13;
  animation: flow-dash 2.2s linear infinite;
  opacity: 0.8;
}

.system-rings .flow-path.secondary {
  stroke-width: 1;
  opacity: 0.34;
  animation-duration: 3.8s;
  animation-direction: reverse;
}

@keyframes ring-rotate {
  to { transform: rotate(360deg); }
}

@keyframes flow-dash {
  to { stroke-dashoffset: -56; }
}

.system-center {
  position: absolute;
  z-index: 3;
  top: 50%;
  left: 50%;
  display: grid;
  width: 32%;
  aspect-ratio: 1;
  place-content: center;
  padding: 12px;
  border-radius: 50%;
  color: var(--slate);
  background: var(--sand);
  text-align: center;
  transform: translate(-50%, -50%);
  box-shadow: 0 0 0 20px rgba(211, 183, 129, 0.08), 0 0 80px rgba(211, 183, 129, 0.18);
}

.system-center strong {
  font-family: "e-Ukraine Head", sans-serif;
  font-size: clamp(16px, 2.4vw, 30px);
  font-weight: 400;
  line-height: 1.05;
}

.system-center small {
  margin-top: 8px;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.08em;
}

.sector-node {
  position: absolute;
  z-index: 4;
  display: grid;
  width: 23%;
  aspect-ratio: 1;
  place-content: center;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 50%;
  color: var(--white);
  background: rgba(21, 21, 21, 0.84);
  cursor: pointer;
  text-align: center;
  transition: transform 320ms var(--ease-out), color 240ms ease, background 240ms ease, border-color 240ms ease, box-shadow 240ms ease;
}

.sector-node span {
  display: block;
  font-family: "e-Ukraine Head", sans-serif;
  font-size: clamp(12px, 1.45vw, 19px);
  line-height: 1.12;
}

.sector-node small {
  display: block;
  margin-bottom: 6px;
  color: var(--sand);
  font-size: 9px;
  font-weight: 600;
}

.sector-node:hover,
.sector-node.is-active {
  color: var(--slate);
  background: var(--white);
  border-color: var(--white);
  box-shadow: 0 18px 56px rgba(0, 0, 0, 0.28);
  transform: scale(1.07);
}

.sector-node.is-active small {
  color: var(--ore);
}

.sector-energy { top: 1%; left: 38.5%; }
.sector-economy { top: 38.5%; right: 1%; }
.sector-social { right: 38.5%; bottom: 1%; }
.sector-water { top: 38.5%; left: 1%; }

.system-copy {
  min-height: 500px;
}

.system-panel {
  display: none;
  animation: panel-in 420ms var(--ease-out) both;
}

.system-panel.is-active {
  display: block;
}

@keyframes panel-in {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}

.system-panel .panel-number {
  margin-bottom: 20px;
  color: var(--sand);
  font-size: 12px;
  font-weight: 600;
}

.system-panel h3 {
  margin-bottom: 24px;
  font-size: clamp(34px, 4.1vw, 62px);
}

.system-panel > p {
  margin-bottom: 34px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 17px;
}

.flow-list {
  display: grid;
  gap: 1px;
  background: rgba(255, 255, 255, 0.16);
}

.flow-list div {
  display: grid;
  grid-template-columns: 24px 1fr;
  gap: 12px;
  padding: 16px;
  background: var(--slate);
  font-size: 13px;
}

.flow-list div::before {
  color: var(--sand);
  content: "↗";
}

.priority-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 18px;
}

.priority-card {
  position: relative;
  display: flex;
  min-height: 520px;
  flex-direction: column;
  justify-content: space-between;
  padding: clamp(26px, 3vw, 42px);
  color: var(--white);
  background: var(--oak);
  overflow: hidden;
  isolation: isolate;
}

.priority-card:nth-child(1),
.priority-card:nth-child(4) {
  grid-column: span 7;
}

.priority-card:nth-child(2),
.priority-card:nth-child(3) {
  grid-column: span 5;
}

.priority-card::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  content: "";
  background: linear-gradient(180deg, rgba(15, 15, 15, 0.14), rgba(15, 15, 15, 0.88));
}

.priority-card::after {
  position: absolute;
  z-index: -2;
  inset: 0;
  content: "";
  background-image: var(--card-image);
  background-position: center;
  background-size: cover;
  transition: transform 900ms var(--ease-out), filter 600ms ease;
}

.priority-card:hover::after {
  transform: scale(1.05);
  filter: saturate(1.12);
}

.priority-energy { --card-image: url("../img/energy-solar-1024.webp"); }
.priority-economy { --card-image: url("../img/industry-steel-1024.webp"); }
.priority-social { --card-image: url("../img/veteran-office-640.webp"); }
.priority-water { --card-image: url("../img/water-infrastructure-1024.webp"); }

.button-dark {
  color: var(--white);
  background: var(--slate);
}

.button-dark:hover {
  background: var(--ore);
}

.priority-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.07em;
}

.priority-top .hex {
  display: grid;
  width: 48px;
  height: 54px;
  place-content: center;
  color: var(--slate);
  background: var(--sand);
  clip-path: polygon(25% 6%, 75% 6%, 100% 50%, 75% 94%, 25% 94%, 0 50%);
}

.priority-card h3 {
  max-width: 630px;
  margin-bottom: 18px;
  font-size: clamp(32px, 4vw, 58px);
}

.priority-card p {
  max-width: 600px;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 15px;
}

.portfolio-section {
  background: var(--steel);
}

.portfolio-board {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 18px;
}

.portfolio-feature {
  position: relative;
  display: flex;
  min-height: 580px;
  flex-direction: column;
  justify-content: end;
  padding: clamp(28px, 5vw, 64px);
  color: var(--white);
  background: var(--ore);
  overflow: hidden;
}

.portfolio-feature::before {
  position: absolute;
  inset: 0;
  content: "";
  opacity: 0.78;
  background:
    linear-gradient(150deg, transparent 0 30%, rgba(255, 255, 255, 0.08) 30% 31%, transparent 31% 50%, rgba(255, 255, 255, 0.08) 50% 51%, transparent 51%),
    radial-gradient(circle at 72% 22%, rgba(211, 183, 129, 0.46), transparent 28%);
}

.portfolio-feature > * {
  position: relative;
  z-index: 1;
}

.status-pill {
  align-self: flex-start;
  margin-bottom: auto;
  padding: 8px 12px;
  border: 1px solid rgba(255, 255, 255, 0.42);
  color: rgba(255, 255, 255, 0.74);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.08em;
}

.portfolio-feature h3 {
  max-width: 680px;
  margin-bottom: 22px;
  font-size: clamp(42px, 5.1vw, 76px);
}

.portfolio-feature p {
  max-width: 640px;
  color: rgba(255, 255, 255, 0.72);
}

.portfolio-stack {
  display: grid;
  gap: 18px;
}

.portfolio-card {
  position: relative;
  display: grid;
  min-height: 180px;
  grid-template-columns: 68px 1fr auto;
  gap: 18px;
  align-items: center;
  padding: 28px;
  border: 1px solid rgba(21, 21, 21, 0.16);
  background: rgba(255, 255, 255, 0.42);
  text-decoration: none;
  transition: color 260ms ease, background 260ms ease, transform 260ms var(--ease-out);
}

.portfolio-card:hover {
  color: var(--white);
  background: var(--slate);
  transform: translateX(-6px);
}

.portfolio-card .card-index {
  color: var(--ore);
  font-size: 11px;
  font-weight: 600;
}

.portfolio-card:hover .card-index {
  color: var(--sand);
}

.portfolio-card h3 {
  margin-bottom: 8px;
  font-size: clamp(22px, 2.3vw, 32px);
}

.portfolio-card p {
  margin-bottom: 0;
  color: var(--ink-soft);
  font-size: 12px;
}

.portfolio-card:hover p {
  color: rgba(255, 255, 255, 0.62);
}

.portfolio-card .arrow {
  font-size: 28px;
  font-weight: 300;
}

.method-section {
  color: var(--white);
  background: var(--oak);
}

.method-section .section-index {
  color: var(--sand);
}

.method-section .section-title p {
  color: rgba(255, 255, 255, 0.68);
}

.method-flow {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(255, 255, 255, 0.18);
}

.method-flow::before {
  position: absolute;
  z-index: 2;
  top: 77px;
  right: 8%;
  left: 8%;
  height: 1px;
  content: "";
  background: linear-gradient(90deg, var(--sand), var(--river-bright));
  transform: scaleX(var(--flow-progress, 0));
  transform-origin: left;
  transition: transform 1.4s var(--ease-smooth);
}

.method-flow.is-visible {
  --flow-progress: 1;
}

.method-step {
  position: relative;
  min-height: 330px;
  padding: 38px 28px;
  background: var(--oak);
}

.method-step .step-dot {
  position: relative;
  z-index: 3;
  display: grid;
  width: 40px;
  height: 40px;
  margin-bottom: 72px;
  place-content: center;
  border-radius: 50%;
  color: var(--slate);
  background: var(--sand);
  font-size: 11px;
  font-weight: 600;
}

.method-step h3 {
  margin-bottom: 14px;
  font-size: 28px;
}

.method-step p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.62);
  font-size: 13px;
}

.learning-banner {
  display: grid;
  min-height: 540px;
  grid-template-columns: minmax(0, 0.94fr) minmax(400px, 1.06fr);
  color: var(--white);
  background: var(--slate);
}

.learning-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(34px, 7vw, 96px);
}

.learning-copy .eyebrow {
  margin-bottom: 28px;
}

.learning-copy h2 {
  margin-bottom: 24px;
  font-size: clamp(42px, 5vw, 76px);
}

.learning-copy p {
  max-width: 650px;
  margin-bottom: 32px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 17px;
}

.learning-visual {
  position: relative;
  min-height: 540px;
  background:
    linear-gradient(90deg, rgba(21, 21, 21, 0.4), transparent),
    url("../img/industry-people-640.webp") center / cover;
  overflow: hidden;
}

.learning-visual::before {
  position: absolute;
  inset: 10% 8%;
  content: "";
  border: 1px solid rgba(255, 255, 255, 0.38);
  clip-path: polygon(8% 0, 100% 0, 92% 100%, 0 90%);
}

.book-card {
  position: absolute;
  right: 10%;
  bottom: 8%;
  width: min(56%, 390px);
  aspect-ratio: 0.73;
  padding: clamp(24px, 4vw, 44px);
  color: var(--white);
  background: var(--ore);
  box-shadow: 0 35px 75px rgba(0, 0, 0, 0.34);
  transform: rotate(4deg);
}

.book-card::before {
  position: absolute;
  inset: 18px;
  content: "";
  border: 1px solid rgba(255, 255, 255, 0.35);
}

.book-card strong,
.book-card small {
  position: relative;
  z-index: 1;
  display: block;
}

.book-card strong {
  margin-top: 40%;
  font-family: "e-Ukraine Head", sans-serif;
  font-size: clamp(24px, 3vw, 42px);
  font-weight: 400;
  line-height: 1.02;
}

.book-card small {
  margin-top: 18px;
  color: var(--sand);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.07em;
}

.gallery-section {
  padding-bottom: 0;
}

.gallery-grid {
  display: grid;
  height: min(78vw, 980px);
  min-height: 680px;
  grid-template-columns: 1.1fr 0.8fr 1.1fr;
  grid-template-rows: 1fr 0.74fr;
  gap: 10px;
}

.gallery-item {
  position: relative;
  min-height: 0;
  overflow: hidden;
  background: var(--steel);
}

.gallery-item:first-child {
  grid-row: span 2;
}

.gallery-item:nth-child(3) {
  grid-row: span 2;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.88);
  transition: transform 1s var(--ease-out), filter 400ms ease;
}

.gallery-item:hover img {
  transform: scale(1.045);
  filter: saturate(1.08);
}

.gallery-item figcaption {
  position: absolute;
  inset: auto 14px 12px;
  padding: 8px 10px;
  color: var(--white);
  background: rgba(21, 21, 21, 0.74);
  backdrop-filter: blur(8px);
  font-size: 10px;
}

.site-footer {
  position: relative;
  padding-top: clamp(72px, 9vw, 120px);
  color: var(--white);
  background: var(--slate);
}

.footer-top {
  display: grid;
  grid-template-columns: minmax(260px, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(50px, 9vw, 150px);
  padding-bottom: 72px;
}

.footer-title {
  font-family: "e-Ukraine Head", sans-serif;
  font-size: clamp(40px, 5vw, 72px);
  line-height: 0.98;
  letter-spacing: -0.04em;
}

.footer-title span {
  color: var(--sand);
}

.footer-nav {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 36px;
  align-content: start;
}

.footer-nav a {
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  font-size: 14px;
  text-decoration: none;
}

.partner-block {
  padding-block: 36px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.partner-block h2 {
  margin-bottom: 26px;
  color: rgba(255, 255, 255, 0.58);
  font-family: "e-Ukraine", sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.09em;
}

.partner-row {
  display: grid;
  grid-template-columns: 1.25fr 0.68fr 1fr 0.78fr;
  gap: clamp(18px, 4vw, 50px);
  align-items: center;
}

.partner-logo {
  display: grid;
  min-height: 92px;
  place-items: center;
  padding: 18px;
  background: var(--white);
}

.partner-logo img {
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: 54px;
  object-fit: contain;
}

.partner-logo:nth-child(3) img {
  max-height: 64px;
}

.footer-legal {
  display: flex;
  min-height: 86px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  color: rgba(255, 255, 255, 0.52);
  font-size: 10px;
}

.placeholder-hero {
  min-height: 72svh;
  padding-top: calc(var(--header-h) + 80px);
  color: var(--white);
  background:
    linear-gradient(120deg, rgba(21, 21, 21, 0.96), rgba(87, 23, 37, 0.78)),
    url("../img/hero-quarry-2400.webp") center / cover;
}

.placeholder-hero .shell {
  display: flex;
  min-height: calc(72svh - var(--header-h) - 80px);
  flex-direction: column;
  justify-content: center;
  padding-bottom: 70px;
}

.placeholder-hero h1 {
  max-width: 900px;
  margin-bottom: 28px;
  font-size: clamp(52px, 7vw, 108px);
}

.placeholder-hero p {
  max-width: 680px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 19px;
}

.placeholder-state {
  display: inline-flex;
  align-self: flex-start;
  margin-bottom: 28px;
  padding: 8px 12px;
  color: var(--slate);
  background: var(--sand);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.08em;
}

.placeholder-body {
  display: grid;
  grid-template-columns: 0.4fr 0.6fr;
  gap: 80px;
}

.placeholder-body h2 {
  font-size: 44px;
}

.placeholder-body p {
  max-width: 720px;
  color: var(--ink-soft);
  font-size: 18px;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 700ms var(--ease-out), transform 700ms var(--ease-out);
}

[data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

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

  .desktop-nav { display: none; }
  .header-inner > .language-menu { margin-left: auto; }
  .menu-toggle { display: block; margin-left: 0; }

  .hero-grid {
    grid-template-columns: minmax(0, 0.92fr) minmax(420px, 1.08fr);
    gap: 24px;
  }

  .hero h1 { font-size: clamp(50px, 7vw, 82px); }
  .hero-collage { height: min(68svh, 680px); min-height: 520px; }

  .system-layout {
    grid-template-columns: minmax(460px, 1fr) minmax(300px, 0.8fr);
  }

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

@media (max-width: 900px) {
  .hero {
    min-height: auto;
  }

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

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

  .hero h1 {
    max-width: 820px;
    font-size: clamp(54px, 10vw, 90px);
  }

  .hero-collage {
    width: 100%;
    height: 62vw;
    min-height: 480px;
    max-height: 650px;
  }

  .collage-a { width: 64%; }
  .collage-b { width: 53%; }
  .collage-c { width: 58%; }

  .section-header {
    grid-template-columns: 1fr;
    gap: 26px;
  }

  .section-index::after { max-width: 150px; }

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

  .statement-card {
    min-height: 430px;
  }

  .system-layout {
    grid-template-columns: 1fr;
  }

  .system-visual {
    width: min(100%, 620px);
  }

  .system-copy {
    min-height: 440px;
  }

  .priority-card:nth-child(n) {
    grid-column: span 6;
    min-height: 500px;
  }

  .portfolio-board {
    grid-template-columns: 1fr;
  }

  .portfolio-feature {
    min-height: 500px;
  }

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

  .method-flow::before { display: none; }
  .method-step .step-dot { margin-bottom: 44px; }

  .learning-banner {
    grid-template-columns: 1fr;
  }

  .learning-visual { min-height: 620px; }

  .gallery-grid {
    height: 1100px;
    min-height: 0;
    grid-template-columns: 1.15fr 0.85fr;
    grid-template-rows: 1fr 0.72fr 0.92fr;
  }

  .gallery-item:first-child { grid-row: span 2; }
  .gallery-item:nth-child(3) { grid-row: auto; }
  .gallery-item:nth-child(4) { grid-column: span 2; }

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

  .placeholder-body {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}

@media (max-width: 640px) {
  :root {
    --header-h: 66px;
    --page-pad: 18px;
  }

  body { font-size: 15px; }
  .header-inner { gap: 10px; }
  .wordmark strong { font-size: 13px; }
  .wordmark small { font-size: 7px; }
  .header-inner > .language-menu { margin-left: auto; }
  .language-menu summary { min-width: 50px; min-height: 44px; }

  .hero {
    padding-top: calc(var(--header-h) + 34px);
  }

  .hero-grid {
    gap: 34px;
    padding-top: 18px;
  }

  .eyebrow {
    margin-bottom: 18px;
    font-size: 10px;
  }

  .hero h1 {
    margin-bottom: 22px;
    font-size: clamp(46px, 14.2vw, 70px);
  }

  .hero-lead {
    font-size: 16px;
  }

  .hero-actions,
  .button-row {
    display: grid;
    grid-template-columns: 1fr;
  }

  .button { width: 100%; }
  .hero-note { margin-top: 24px; }

  .hero-collage {
    height: 124vw;
    min-height: 500px;
    max-height: 660px;
  }

  .collage-a {
    right: 0;
    width: 82%;
    height: 40%;
  }

  .collage-b {
    top: 31%;
    width: 70%;
    height: 37%;
  }

  .collage-c {
    right: 0;
    bottom: 0;
    width: 78%;
    height: 40%;
  }

  .collage-signal {
    top: 15%;
    width: 96px;
    height: 96px;
    font-size: 11px;
  }

  .motion-strip { height: 48px; }

  .section {
    padding-block: 82px;
  }

  .section-header {
    margin-bottom: 44px;
  }

  .section-title h2 {
    font-size: clamp(38px, 11vw, 54px);
  }

  .section-title p {
    font-size: 16px;
  }

  .statement-card {
    min-height: 520px;
    padding: 28px;
  }

  .statement-card .large-quote {
    margin-bottom: 120px;
  }

  .statement-card .statement-foot {
    right: 28px;
    bottom: 28px;
    left: 28px;
    display: grid;
  }

  .principle {
    grid-template-columns: 42px 1fr;
    padding: 22px;
  }

  .system-layout { gap: 20px; }
  .system-visual { width: calc(100vw - 20px); margin-left: -8px; }
  .system-center { width: 35%; }
  .sector-node { width: 26%; padding: 8px; }
  .sector-energy { left: 37%; }
  .sector-economy { top: 37%; }
  .sector-social { right: 37%; }
  .sector-water { top: 37%; }
  .sector-node span { font-size: 11px; }
  .sector-node small { display: none; }
  .system-copy { min-height: 530px; }

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

  .priority-card:nth-child(n) {
    grid-column: auto;
    min-height: 480px;
  }

  .portfolio-feature {
    min-height: 560px;
  }

  .portfolio-card {
    min-height: 160px;
    grid-template-columns: 42px 1fr;
    padding: 22px;
  }

  .portfolio-card .arrow { display: none; }

  .method-flow {
    grid-template-columns: 1fr;
  }

  .method-step {
    min-height: auto;
    padding: 26px;
  }

  .method-step .step-dot {
    margin-bottom: 30px;
  }

  .learning-copy { padding: 64px 22px; }
  .learning-visual { min-height: 520px; }
  .book-card { right: 8%; width: 66%; }

  .gallery-grid {
    display: flex;
    height: auto;
    gap: 8px;
    padding-inline: var(--page-pad);
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }

  .gallery-grid::-webkit-scrollbar { display: none; }

  .gallery-item {
    flex: 0 0 82vw;
    height: 66svh;
    min-height: 480px;
    scroll-snap-align: center;
  }

  .gallery-item:first-child,
  .gallery-item:nth-child(3),
  .gallery-item:nth-child(4) {
    grid-row: auto;
    grid-column: auto;
  }

  .footer-top { padding-bottom: 48px; }
  .footer-nav { grid-template-columns: 1fr; }
  .partner-row { gap: 10px; }
  .partner-logo { min-height: 76px; padding: 12px; }
  .partner-logo img { max-height: 42px; }

  .footer-legal {
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    padding-block: 22px;
  }

  .placeholder-hero {
    min-height: 78svh;
  }

  .placeholder-hero h1 {
    font-size: clamp(48px, 14vw, 72px);
  }
}

@media (hover: none) {
  .collage-item:hover img,
  .priority-card:hover::after,
  .gallery-item:hover img {
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }

  [data-reveal] {
    opacity: 1;
    transform: none;
  }

  .motion-track { transform: none; }
}

@media print {
  .site-header,
  .mobile-drawer,
  .motion-strip,
  .hero-collage,
  .system-visual,
  .gallery-section,
  .site-footer {
    display: none !important;
  }

  body { color: #000; background: #fff; }
  .hero,
  .system-section,
  .method-section { color: #000; background: #fff; }
  .section { padding-block: 24px; }
}
