:root {
  --navy-950: #07111a;
  --navy-900: #0b1722;
  --navy-800: #122535;
  --navy-700: #1d3a4d;
  --concrete-100: #f2f0eb;
  --concrete-200: #e4e0d7;
  --concrete-300: #ccc6ba;
  --ink: #10212c;
  --muted: #66727a;
  --white: #fff;
  --amber: #e29a2f;
  --amber-light: #f3ba5f;
  --line-dark: rgba(16, 33, 44, 0.15);
  --line-light: rgba(255, 255, 255, 0.16);
  --font-display: "Barlow Condensed", "Arial Narrow", sans-serif;
  --font-body: "Manrope", Arial, sans-serif;
  --header-height: 84px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-height);
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--concrete-100);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  text-rendering: optimizeLegibility;
}

body,
button,
a {
  -webkit-font-smoothing: antialiased;
}

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

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

button {
  font: inherit;
}

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

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 12px;
  left: 12px;
  padding: 10px 16px;
  color: var(--navy-950);
  background: var(--amber-light);
  font-weight: 700;
  transform: translateY(-150%);
  transition: transform 0.2s ease;
}

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

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

.site-header {
  position: fixed;
  z-index: 100;
  inset: 0 0 auto;
  height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 clamp(22px, 4vw, 72px);
  color: var(--white);
  border-bottom: 1px solid transparent;
  transition: background 0.25s ease, border-color 0.25s ease, height 0.25s ease;
}

.site-header.is-scrolled {
  height: 72px;
  background: rgba(7, 17, 26, 0.94);
  border-color: var(--line-light);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  flex: 0 0 auto;
}

.brand__monogram {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid var(--amber);
  color: var(--amber-light);
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.brand__text {
  font-family: var(--font-display);
  font-size: 1.15rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.brand__text strong {
  color: var(--amber-light);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.2vw, 38px);
}

.main-nav a {
  position: relative;
  padding: 11px 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: color 0.2s ease;
}

.main-nav a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 5px;
  left: 0;
  height: 2px;
  background: var(--amber);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.22s ease;
}

.main-nav a:hover,
.main-nav a.is-active {
  color: var(--white);
}

.main-nav a:hover::after,
.main-nav a.is-active::after {
  transform: scaleX(1);
  transform-origin: left;
}

.main-nav .main-nav__contact {
  padding: 10px 18px;
  color: var(--navy-950);
  background: var(--amber);
}

.main-nav .main-nav__contact::after {
  display: none;
}

.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  padding: 11px;
  background: transparent;
  border: 1px solid var(--line-light);
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  margin: 5px 0;
  background: var(--white);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.menu-toggle.is-open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

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

.menu-toggle.is-open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(340px, 0.82fr);
  align-items: center;
  gap: clamp(44px, 7vw, 110px);
  overflow: hidden;
  padding: calc(var(--header-height) + 70px) clamp(24px, 7vw, 120px) 76px;
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(5, 14, 22, 0.97) 0%, rgba(6, 17, 26, 0.88) 44%, rgba(6, 17, 26, 0.38) 100%),
    url("../assets/hero-construction.webp") center / cover no-repeat;
  isolation: isolate;
}

.hero::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background: linear-gradient(180deg, rgba(7, 17, 26, 0.05), rgba(7, 17, 26, 0.72));
}

.hero__blueprint,
.contact-section__grid {
  position: absolute;
  z-index: -1;
  inset: 0;
  opacity: 0.09;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.7) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.7) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(90deg, #000, transparent 76%);
}

.hero__content {
  max-width: 760px;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-bottom: 24px;
  color: var(--amber-light);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.eyebrow span {
  width: 42px;
  height: 2px;
  background: currentColor;
}

.eyebrow--dark {
  color: #9b641c;
}

.hero h1,
.section__heading h2,
.contact-section h2 {
  margin-bottom: 28px;
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 0.88;
  text-transform: uppercase;
}

.hero h1 {
  font-size: clamp(4.3rem, 8.8vw, 9.2rem);
}

.hero h1 em,
.section__heading h2 em,
.contact-section h2 em {
  color: var(--amber-light);
  font-style: normal;
}

.hero__lead {
  max-width: 650px;
  margin-bottom: 35px;
  padding-left: 22px;
  color: rgba(255, 255, 255, 0.78);
  border-left: 2px solid var(--amber);
  font-size: clamp(1rem, 1.35vw, 1.18rem);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 52px;
}

.button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  border: 1px solid transparent;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}

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

.button--primary {
  color: var(--navy-950);
  background: var(--amber);
}

.button--primary:hover {
  background: var(--amber-light);
}

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

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

.hero__credentials {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  max-width: 700px;
  border-top: 1px solid var(--line-light);
  border-bottom: 1px solid var(--line-light);
}

.hero__credentials div {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 12px;
  min-height: 86px;
  padding: 14px 20px;
  border-right: 1px solid var(--line-light);
}

.hero__credentials div:first-child {
  padding-left: 0;
}

.hero__credentials div:last-child {
  border-right: 0;
}

.hero__credentials strong {
  color: var(--amber-light);
  font-family: var(--font-display);
  font-size: 2.1rem;
  line-height: 1;
}

.hero__credentials span {
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.7rem;
  line-height: 1.5;
}

.hero__identity {
  position: relative;
  max-width: 450px;
  justify-self: end;
  align-self: end;
}

.hero__portrait-shell {
  position: relative;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  background: rgba(7, 17, 26, 0.44);
  box-shadow: 0 35px 80px rgba(0, 0, 0, 0.38);
}

.hero__portrait-shell::before,
.hero__portrait-shell::after {
  content: "";
  position: absolute;
  z-index: -1;
  background: var(--amber);
}

.hero__portrait-shell::before {
  top: -14px;
  right: -14px;
  width: 90px;
  height: 3px;
}

.hero__portrait-shell::after {
  top: -14px;
  right: -14px;
  width: 3px;
  height: 90px;
}

.hero__portrait-shell img {
  width: 100%;
  max-height: 65vh;
  min-height: 420px;
  object-fit: cover;
  object-position: center 18%;
  filter: saturate(0.9) contrast(1.03);
}

.hero__portrait-label {
  position: absolute;
  right: -24px;
  bottom: 32px;
  min-width: 82%;
  padding: 16px 22px;
  color: var(--navy-950);
  background: var(--amber);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.22);
}

.hero__portrait-label span,
.hero__portrait-label strong {
  display: block;
}

.hero__portrait-label span {
  font-size: 0.67rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero__portrait-label strong {
  font-family: var(--font-display);
  font-size: 1.75rem;
  line-height: 1.1;
  text-transform: uppercase;
}

.hero__location {
  margin: 14px 0 0;
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-align: right;
  text-transform: uppercase;
}

.hero__index {
  position: absolute;
  right: clamp(22px, 4vw, 72px);
  bottom: 20px;
  color: rgba(255, 255, 255, 0.38);
  font-family: var(--font-display);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
}

.sector-strip {
  overflow: hidden;
  padding: 17px 0;
  color: var(--navy-950);
  background: var(--amber);
}

.sector-strip__track {
  display: flex;
  width: max-content;
  align-items: center;
  gap: 26px;
  animation: marquee 30s linear infinite;
}

.sector-strip span {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.sector-strip i {
  width: 7px;
  height: 7px;
  background: var(--navy-950);
  transform: rotate(45deg);
}

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

.section,
.projects-section__inner,
.contact-section {
  position: relative;
  padding: clamp(90px, 11vw, 160px) clamp(24px, 7vw, 120px);
}

.section {
  overflow: hidden;
}

.section--light {
  background: var(--concrete-100);
}

.section--concrete {
  background:
    linear-gradient(rgba(228, 224, 215, 0.94), rgba(228, 224, 215, 0.94)),
    repeating-linear-gradient(0deg, transparent, transparent 7px, rgba(16, 33, 44, 0.08) 8px);
}

.section--navy {
  color: var(--white);
  background: var(--navy-900);
}

.section--infrastructure {
  background: #e9e5dd;
}

.section__number {
  position: absolute;
  top: 42px;
  right: clamp(24px, 7vw, 120px);
  color: rgba(16, 33, 44, 0.09);
  font-family: var(--font-display);
  font-size: clamp(5rem, 11vw, 11rem);
  font-weight: 800;
  line-height: 1;
}

.section--navy .section__number,
.projects-section .section__number {
  color: rgba(255, 255, 255, 0.08);
}

.section__heading {
  position: relative;
  z-index: 1;
  max-width: 920px;
  margin-bottom: clamp(54px, 7vw, 90px);
}

.section__heading h2,
.contact-section h2 {
  color: var(--ink);
  font-size: clamp(3.5rem, 7.4vw, 7.2rem);
}

.section--navy .section__heading h2,
.projects-section .section__heading h2,
.contact-section h2 {
  color: var(--white);
}

.section__heading--split {
  max-width: none;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
  align-items: end;
  gap: 60px;
}

.section__heading--split h2 {
  margin-bottom: 0;
}

.section__heading--split > p {
  margin-bottom: 10px;
  color: rgba(255, 255, 255, 0.62);
}

.profile-grid {
  display: grid;
  grid-template-columns: minmax(280px, 0.75fr) minmax(0, 1.25fr);
  gap: clamp(50px, 9vw, 140px);
}

.profile-grid__statement > p {
  margin-bottom: 30px;
  font-size: clamp(1.3rem, 2vw, 1.8rem);
  font-weight: 500;
  line-height: 1.55;
}

.text-link {
  display: inline-flex;
  gap: 12px;
  align-items: center;
  padding-bottom: 5px;
  color: #805215;
  border-bottom: 1px solid #805215;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.text-link span {
  transition: transform 0.2s ease;
}

.text-link:hover span {
  transform: translateX(5px);
}

.profile-grid__pillars {
  border-top: 1px solid var(--line-dark);
}

.pillar {
  display: grid;
  grid-template-columns: 50px minmax(120px, 0.45fr) minmax(0, 1fr);
  gap: 24px;
  align-items: start;
  padding: 28px 0;
  border-bottom: 1px solid var(--line-dark);
}

.pillar__number,
.expertise > span {
  color: #9b641c;
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.pillar h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.65rem;
  line-height: 1;
  text-transform: uppercase;
}

.pillar p {
  margin: -5px 0 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.expertise-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line-light);
  border-left: 1px solid var(--line-light);
}

.expertise {
  position: relative;
  min-height: 210px;
  padding: 30px;
  border-right: 1px solid var(--line-light);
  border-bottom: 1px solid var(--line-light);
  transition: background 0.25s ease, color 0.25s ease;
}

.expertise::after {
  content: "";
  position: absolute;
  right: 28px;
  bottom: 28px;
  width: 22px;
  height: 22px;
  border-right: 2px solid rgba(255, 255, 255, 0.28);
  border-bottom: 2px solid rgba(255, 255, 255, 0.28);
}

.expertise:hover {
  color: var(--navy-950);
  background: var(--amber);
}

.expertise:hover > span {
  color: var(--navy-950);
}

.expertise h3 {
  max-width: 260px;
  margin: 54px 0 0;
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2vw, 1.9rem);
  line-height: 1.1;
  text-transform: uppercase;
}

.section--infrastructure .section__heading--split > p {
  color: var(--muted);
}

.infrastructure-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.92fr);
  grid-template-rows: repeat(2, minmax(280px, 340px));
  gap: 18px;
}

.infra-card {
  position: relative;
  min-height: 280px;
  margin: 0;
  overflow: hidden;
  background: var(--navy-800);
  isolation: isolate;
}

.infra-card--large {
  grid-row: 1 / span 2;
}

.infra-card::after {
  content: "";
  position: absolute;
  z-index: 1;
  inset: 0;
  background: linear-gradient(180deg, transparent 35%, rgba(5, 14, 22, 0.9) 100%);
}

.infra-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1), filter 0.3s ease;
}

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

.infra-card figcaption {
  position: absolute;
  z-index: 2;
  right: 0;
  bottom: 0;
  left: 0;
  padding: clamp(24px, 4vw, 42px);
  color: var(--white);
}

.infra-card figcaption span {
  display: block;
  margin-bottom: 8px;
  color: var(--amber-light);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.infra-card figcaption h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 3.3vw, 3.35rem);
  line-height: 1;
  text-transform: uppercase;
}

.timeline {
  max-width: 1080px;
  margin-left: auto;
}

.timeline__item {
  display: grid;
  grid-template-columns: 150px 46px minmax(0, 1fr);
  gap: 28px;
}

.timeline__period {
  padding-top: 4px;
  text-align: right;
}

.timeline__period strong,
.timeline__period span {
  display: block;
}

.timeline__period strong {
  font-family: var(--font-display);
  font-size: 2.4rem;
  line-height: 1;
}

.timeline__period span {
  color: var(--muted);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.timeline__marker {
  position: relative;
}

.timeline__marker::before {
  content: "";
  position: absolute;
  top: 8px;
  left: 17px;
  z-index: 1;
  width: 12px;
  height: 12px;
  background: var(--amber);
  border: 5px solid var(--concrete-200);
  box-shadow: 0 0 0 1px var(--amber);
}

.timeline__marker::after {
  content: "";
  position: absolute;
  top: 14px;
  bottom: 0;
  left: 22px;
  width: 1px;
  background: rgba(16, 33, 44, 0.23);
}

.timeline__item:last-child .timeline__marker::after {
  bottom: 80px;
}

.timeline__content {
  margin-bottom: 68px;
  padding: 0 0 48px;
  border-bottom: 1px solid var(--line-dark);
}

.timeline__company {
  margin-bottom: 7px;
  color: #8c5a18;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.timeline__content h3 {
  margin-bottom: 22px;
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4vw, 3.6rem);
  line-height: 1;
  text-transform: uppercase;
}

.timeline__content ul {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 34px;
  margin: 0;
  padding: 0;
  color: #4f5d65;
  list-style: none;
}

.timeline__content li {
  position: relative;
  padding-left: 19px;
  font-size: 0.88rem;
}

.timeline__content li::before {
  content: "";
  position: absolute;
  top: 0.7em;
  left: 0;
  width: 7px;
  height: 2px;
  background: #9b641c;
}

.projects-section {
  position: relative;
  color: var(--white);
  background: url("../assets/projects-construction.webp") center / cover fixed;
  isolation: isolate;
}

.projects-section__overlay {
  position: absolute;
  z-index: -1;
  inset: 0;
  background: linear-gradient(120deg, rgba(5, 14, 22, 0.97), rgba(8, 23, 34, 0.86));
}

.projects-section__inner {
  min-height: 960px;
}

.project-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.project {
  position: relative;
  display: grid;
  grid-template-rows: auto 1fr auto;
  min-height: 500px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(7, 17, 26, 0.72);
  backdrop-filter: blur(7px);
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.project:hover {
  transform: translateY(-7px);
  border-color: var(--amber);
}

.project__topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 24px;
  color: rgba(255, 255, 255, 0.62);
  border-bottom: 1px solid var(--line-light);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.project__topline strong {
  color: var(--amber-light);
  font-size: 0.85rem;
}

.project__body {
  padding: clamp(32px, 5vw, 54px) clamp(24px, 4vw, 42px);
}

.project__authority {
  margin-bottom: 24px;
  color: var(--amber-light);
  font-size: 0.73rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.project h3 {
  margin-bottom: 30px;
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 3.1vw, 3rem);
  line-height: 1.05;
  text-transform: uppercase;
}

.project__location {
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.84rem;
}

.project__amount {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 24px;
  color: var(--navy-950);
  background: var(--amber);
}

.project__amount span {
  font-size: 0.67rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.project__amount strong {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2vw, 1.8rem);
  line-height: 1;
}

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

.education {
  min-height: 280px;
  padding: 30px;
  background: var(--white);
  border-top: 4px solid var(--navy-800);
  box-shadow: 0 18px 45px rgba(15, 32, 43, 0.07);
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.education:hover {
  transform: translateY(-6px);
  border-color: var(--amber);
}

.education__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 55px;
}

.education__level,
.education__meta time {
  color: #875717;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.education__meta time {
  display: grid;
  place-items: center;
  min-width: 58px;
  min-height: 34px;
  color: var(--concrete-100);
  background: var(--navy-800);
  font-family: var(--font-display);
  font-size: 1rem;
}

.education h3 {
  margin-bottom: 18px;
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 2.5vw, 2.35rem);
  line-height: 1.08;
  text-transform: uppercase;
}

.education p {
  margin: 0;
  color: var(--muted);
  font-size: 0.85rem;
}

.profile-details {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 22px;
  border: 1px solid var(--line-dark);
}

.profile-details div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 82px;
  padding: 18px 24px;
  border-right: 1px solid var(--line-dark);
}

.profile-details div:last-child {
  border-right: 0;
}

.profile-details span {
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.profile-details strong {
  font-family: var(--font-display);
  font-size: 1.1rem;
  text-align: right;
  text-transform: uppercase;
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(380px, 1.1fr);
  gap: clamp(60px, 9vw, 150px);
  overflow: hidden;
  color: var(--white);
  background: var(--navy-950);
  isolation: isolate;
}

.contact-section__grid {
  opacity: 0.06;
  mask-image: none;
}

.contact-section h2 {
  font-size: clamp(3.5rem, 6.7vw, 7rem);
}

.contact-section__content > p:last-child {
  max-width: 600px;
  color: rgba(255, 255, 255, 0.62);
}

.contact-cards {
  border-top: 1px solid var(--line-light);
}

.contact-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
  min-height: 108px;
  padding: 22px 4px;
  border-bottom: 1px solid var(--line-light);
  transition: padding 0.2s ease, background 0.2s ease;
}

a.contact-card:hover {
  padding-right: 18px;
  padding-left: 18px;
  background: rgba(255, 255, 255, 0.05);
}

.contact-card span {
  color: var(--amber-light);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.contact-card strong {
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 2.1vw, 1.75rem);
  font-weight: 600;
  text-align: right;
}

.footer {
  min-height: 110px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 32px;
  padding: 24px clamp(24px, 7vw, 120px);
  color: rgba(255, 255, 255, 0.58);
  background: #040c12;
  border-top: 1px solid rgba(255, 255, 255, 0.09);
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.brand--footer {
  color: var(--white);
}

.footer p {
  margin: 0;
}

.footer p:last-child {
  justify-self: end;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

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

@media (max-width: 1120px) {
  .site-header {
    padding-right: 24px;
    padding-left: 24px;
  }

  .main-nav {
    gap: 18px;
  }

  .main-nav a {
    font-size: 0.7rem;
  }

  .hero {
    grid-template-columns: 1fr 360px;
    padding-right: 48px;
    padding-left: 48px;
  }

  .hero h1 {
    font-size: clamp(4rem, 8vw, 7rem);
  }

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

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

  .contact-section {
    grid-template-columns: 1fr;
  }
}

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

  .site-header,
  .site-header.is-scrolled {
    height: var(--header-height);
    background: rgba(7, 17, 26, 0.96);
    border-color: var(--line-light);
  }

  .brand__text {
    display: none;
  }

  .menu-toggle {
    display: block;
  }

  .main-nav {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 16px 24px 24px;
    background: rgba(7, 17, 26, 0.98);
    border-bottom: 1px solid var(--line-light);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-10px);
    transition: opacity 0.22s ease, transform 0.22s ease;
  }

  .main-nav.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: none;
  }

  .main-nav a {
    min-height: 46px;
    display: flex;
    align-items: center;
    padding: 10px 0;
  }

  .main-nav .main-nav__contact {
    justify-content: center;
    margin-top: 8px;
  }

  .hero {
    min-height: auto;
    grid-template-columns: 1fr;
    gap: 58px;
    padding: 140px 24px 74px;
    background-position: 66% center;
  }

  .hero::before {
    background: rgba(5, 14, 22, 0.7);
  }

  .hero__content {
    max-width: none;
  }

  .hero__identity {
    width: min(100%, 440px);
    justify-self: center;
  }

  .hero__portrait-shell img {
    max-height: none;
    min-height: 0;
  }

  .hero__credentials {
    max-width: none;
  }

  .section__heading--split {
    grid-template-columns: 1fr;
    gap: 26px;
  }

  .timeline__item {
    grid-template-columns: 90px 32px minmax(0, 1fr);
    gap: 14px;
  }

  .timeline__marker::before {
    left: 9px;
  }

  .timeline__marker::after {
    left: 14px;
  }

  .timeline__content ul {
    grid-template-columns: 1fr;
  }

  .project-list,
  .education-grid,
  .infrastructure-grid {
    grid-template-columns: 1fr;
  }

  .infrastructure-grid {
    grid-template-rows: none;
  }

  .infra-card,
  .infra-card--large {
    grid-row: auto;
    min-height: 390px;
  }

  .project {
    min-height: 460px;
  }

  .profile-details {
    grid-template-columns: 1fr;
  }

  .profile-details div,
  .profile-details div:last-child {
    border-right: 0;
    border-bottom: 1px solid var(--line-dark);
  }

  .profile-details div:last-child {
    border-bottom: 0;
  }

  .footer {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }

  .footer p:last-child {
    justify-self: center;
  }
}

@media (max-width: 580px) {
  body {
    font-size: 15px;
  }

  .hero h1 {
    font-size: clamp(3.6rem, 18vw, 5.2rem);
  }

  .hero__lead {
    padding-left: 16px;
  }

  .hero__actions {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

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

  .hero__credentials div,
  .hero__credentials div:first-child {
    min-height: 70px;
    padding: 12px 0;
    border-right: 0;
    border-bottom: 1px solid var(--line-light);
  }

  .hero__credentials div:last-child {
    border-bottom: 0;
  }

  .hero__portrait-label {
    right: -10px;
    bottom: 20px;
    min-width: 90%;
  }

  .section,
  .projects-section__inner,
  .contact-section {
    padding-right: 20px;
    padding-left: 20px;
  }

  .section__number {
    top: 28px;
    right: 20px;
  }

  .section__heading h2,
  .contact-section h2 {
    font-size: clamp(3.1rem, 15vw, 4.5rem);
  }

  .pillar {
    grid-template-columns: 34px 1fr;
    gap: 16px;
  }

  .pillar p {
    grid-column: 2;
  }

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

  .expertise {
    min-height: 175px;
  }

  .timeline__item {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .timeline__period {
    display: flex;
    align-items: baseline;
    gap: 10px;
    margin-bottom: 14px;
    text-align: left;
  }

  .timeline__marker {
    display: none;
  }

  .timeline__content {
    margin-bottom: 44px;
  }

  .project__amount,
  .contact-card {
    align-items: flex-start;
    flex-direction: column;
  }

  .project__amount strong,
  .contact-card strong {
    text-align: left;
  }

  .projects-section {
    background-attachment: scroll;
  }

  .infra-card,
  .infra-card--large {
    min-height: 320px;
  }

  .profile-details div {
    align-items: flex-start;
    flex-direction: column;
  }

  .profile-details strong {
    text-align: left;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
