:root {
  --ink: #172026;
  --muted: #66747c;
  --paper: #ffffff;
  --line: #d9e0e3;
  --coal: #101820;
  --steel: #2f596d;
  --amber: #d5962a;
  --oxide: #b85432;
  --mist: #eef3f4;
  --shadow: 0 24px 70px rgba(15, 24, 32, 0.22);
  --container: min(1180px, calc(100% - 40px));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: #f8faf9;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.45;
}

body.menu-open {
  overflow: hidden;
}

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

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

button {
  font: inherit;
  cursor: pointer;
}

.contact-strip {
  position: sticky;
  top: 0;
  z-index: 40;
  display: flex;
  min-height: 38px;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 6px max(16px, calc((100% - 1180px) / 2));
  color: #edf4f6;
  background: #101820;
  font-size: 0.9rem;
  font-weight: 800;
}

.contact-strip a,
.menu-phone,
.button,
.scope-item {
  display: inline-flex;
  align-items: center;
  gap: 9px;
}

.site-header {
  position: sticky;
  top: 38px;
  z-index: 35;
  display: flex;
  min-height: 76px;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 12px max(16px, calc((100% - 1180px) / 2));
  border-bottom: 1px solid rgba(217, 224, 227, 0.72);
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  min-width: fit-content;
  align-items: center;
  gap: 11px;
}

.brand-mark {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border-radius: 8px;
  color: #ffffff;
  background: linear-gradient(145deg, var(--steel), var(--amber));
  font-weight: 900;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  line-height: 1.1;
}

.brand small {
  color: var(--muted);
  font-size: 0.78rem;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: clamp(16px, 3vw, 34px);
  color: #34424a;
  font-size: 0.94rem;
  font-weight: 800;
}

.desktop-nav a {
  padding: 8px 0;
}

.desktop-nav a:hover {
  color: var(--oxide);
}

.menu-toggle,
.menu-close,
.slider-button {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 8px;
  color: #ffffff;
  background: var(--coal);
}

.menu-panel {
  position: fixed;
  inset: 0;
  z-index: 80;
  visibility: hidden;
  opacity: 0;
  background: rgba(16, 24, 32, 0.58);
  transition: opacity 220ms ease, visibility 220ms ease;
}

.menu-panel.is-open {
  visibility: visible;
  opacity: 1;
}

.menu-panel-inner {
  position: absolute;
  top: 0;
  right: 0;
  display: grid;
  width: min(520px, 100%);
  min-height: 100%;
  align-content: space-between;
  gap: 40px;
  padding: 30px;
  color: #ffffff;
  background:
    linear-gradient(160deg, rgba(47, 89, 109, 0.88), rgba(16, 24, 32, 0.98)),
    url("assets/project-foundation.png") center/cover;
  box-shadow: -20px 0 70px rgba(0, 0, 0, 0.32);
  transform: translateX(100%);
  transition: transform 260ms ease;
}

.menu-panel.is-open .menu-panel-inner {
  transform: translateX(0);
}

.menu-close {
  justify-self: end;
  background: rgba(255, 255, 255, 0.1);
}

.overlay-nav {
  display: grid;
  gap: 10px;
}

.overlay-nav a {
  display: flex;
  align-items: baseline;
  gap: 18px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  font-size: clamp(2rem, 8vw, 4rem);
  font-weight: 900;
  line-height: 1;
}

.overlay-nav span {
  color: var(--amber);
  font-size: 0.9rem;
}

.menu-phone {
  width: fit-content;
  min-height: 48px;
  padding: 0 18px;
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.12);
  font-weight: 900;
}

.hero {
  position: relative;
  min-height: clamp(590px, 82svh, 800px);
  overflow: hidden;
  isolation: isolate;
}

.hero-slider,
.slide,
.slide img,
.hero-shade {
  position: absolute;
  inset: 0;
}

.hero-slider {
  z-index: -3;
}

.slide {
  opacity: 0;
  transform: scale(1.035);
  transition: opacity 700ms ease, transform 1200ms ease;
}

.slide.is-active {
  opacity: 1;
  transform: scale(1);
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-shade {
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(8, 13, 18, 0.92) 0%, rgba(8, 13, 18, 0.7) 42%, rgba(8, 13, 18, 0.18) 78%),
    linear-gradient(180deg, rgba(213, 150, 42, 0.18), rgba(16, 24, 32, 0.42));
}

.hero-content {
  width: var(--container);
  margin: 0 auto;
  padding: clamp(82px, 13vw, 150px) 0 160px;
  color: #ffffff;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--oxide);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #f2b75b;
}

.hero h1 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(3rem, 8vw, 6.9rem);
  line-height: 0.94;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 570px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(1.02rem, 1.8vw, 1.28rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.button {
  min-height: 48px;
  justify-content: center;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 900;
}

.button.primary {
  color: #101820;
  background: #f2b75b;
  box-shadow: 0 16px 36px rgba(213, 150, 42, 0.26);
}

.button.primary:hover {
  background: #d5962a;
}

.button.ghost {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.36);
  background: rgba(255, 255, 255, 0.1);
}

.slider-controls {
  position: absolute;
  right: max(20px, calc((100% - 1180px) / 2));
  bottom: 58px;
  display: grid;
  grid-template-columns: 46px minmax(210px, 290px) 46px;
  align-items: center;
  gap: 10px;
  color: #ffffff;
}

.slider-button {
  background: rgba(16, 24, 32, 0.62);
  backdrop-filter: blur(12px);
}

.slider-button:hover {
  color: #101820;
  background: #f2b75b;
}

.slide-meta {
  min-height: 66px;
  padding: 12px 16px;
  border: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: 8px;
  background: rgba(16, 24, 32, 0.58);
  backdrop-filter: blur(12px);
}

.slide-meta span,
.project-card span,
.process-strip span {
  display: block;
  color: #f2b75b;
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
}

.slide-meta strong {
  display: block;
  margin-top: 3px;
  font-size: 1.02rem;
}

.slider-dots {
  position: absolute;
  left: max(20px, calc((100% - 1180px) / 2));
  bottom: 76px;
  display: flex;
  gap: 8px;
}

.slider-dot {
  width: 38px;
  height: 4px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.42);
}

.slider-dot.is-active {
  background: #f2b75b;
}

.visual-band {
  position: relative;
  z-index: 4;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  width: var(--container);
  margin: -36px auto 0;
  overflow: hidden;
  border-radius: 8px;
  background: var(--paper);
  box-shadow: var(--shadow);
}

.visual-band div {
  padding: 24px;
}

.visual-band div + div {
  border-left: 1px solid var(--line);
}

.visual-band strong {
  display: block;
  font-size: clamp(1.8rem, 4vw, 3rem);
  line-height: 1;
}

.visual-band span {
  color: var(--muted);
  font-weight: 800;
}

.section {
  width: var(--container);
  margin: 0 auto;
  padding: 94px 0;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 28px;
}

.section-heading h2,
.scope-list h2 {
  margin: 0;
  font-size: clamp(2.2rem, 5vw, 4.5rem);
  line-height: 0.98;
  letter-spacing: 0;
}

.project-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.8fr;
  grid-auto-rows: 270px;
  gap: 16px;
}

.project-card {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  color: #ffffff;
  background: #101820;
}

.project-card.featured {
  grid-row: span 2;
}

.project-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 550ms ease;
}

.project-card:hover img {
  transform: scale(1.05);
}

.project-card::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(180deg, rgba(16, 24, 32, 0.02), rgba(16, 24, 32, 0.78));
}

.project-card div {
  position: absolute;
  right: 18px;
  bottom: 18px;
  left: 18px;
  z-index: 2;
}

.project-card h3 {
  margin: 6px 0 0;
  font-size: clamp(1.25rem, 2vw, 1.9rem);
  line-height: 1.05;
}

.scope-section {
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  gap: 34px;
  align-items: center;
}

.scope-visual {
  overflow: hidden;
  border-radius: 8px;
  min-height: 540px;
}

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

.scope-list {
  display: grid;
  gap: 14px;
}

.scope-list h2 {
  margin-bottom: 12px;
}

.scope-item {
  min-height: 62px;
  padding: 0 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  color: #26343c;
  font-weight: 900;
}

.scope-item svg {
  color: var(--oxide);
}

.process-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: #101820;
  color: #ffffff;
}

.process-strip div {
  min-height: 160px;
  padding: 32px max(20px, calc((100vw - 1180px) / 2 / 4));
  border-right: 1px solid rgba(255, 255, 255, 0.13);
}

.process-strip strong {
  display: block;
  margin-top: 8px;
  font-size: clamp(1.35rem, 3vw, 2.4rem);
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding: 36px max(20px, calc((100% - 1180px) / 2));
  background: #ffffff;
}

.site-footer address {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  justify-content: flex-end;
  color: #27363d;
  font-style: normal;
  font-weight: 900;
}

svg {
  width: 18px;
  height: 18px;
  stroke-width: 2.25;
}

@media (max-width: 980px) {
  .desktop-nav {
    display: none;
  }

  .hero-content {
    padding-bottom: 190px;
  }

  .slider-controls {
    right: auto;
    left: max(20px, calc((100% - 1180px) / 2));
    bottom: 54px;
  }

  .slider-dots {
    bottom: 138px;
  }

  .visual-band,
  .scope-section,
  .site-footer {
    grid-template-columns: 1fr;
  }

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

  .project-card.featured {
    grid-column: span 2;
    grid-row: span 1;
  }

  .scope-visual,
  .scope-visual img {
    min-height: 420px;
  }

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

  .site-footer {
    display: grid;
  }

  .site-footer address {
    justify-content: flex-start;
  }
}

@media (max-width: 680px) {
  :root {
    --container: min(100% - 28px, 1180px);
  }

  .contact-strip {
    align-items: flex-start;
    flex-direction: column;
    gap: 2px;
    min-height: 54px;
    font-size: 0.82rem;
  }

  .site-header {
    top: 54px;
    min-height: 68px;
  }

  .brand-mark {
    width: 39px;
    height: 39px;
  }

  .brand strong {
    font-size: 0.95rem;
  }

  .brand small {
    font-size: 0.72rem;
  }

  .menu-toggle,
  .menu-close,
  .slider-button {
    width: 42px;
    height: 42px;
  }

  .menu-panel-inner {
    padding: 22px;
  }

  .hero {
    min-height: 760px;
  }

  .hero-content {
    padding-top: 72px;
  }

  .hero h1 {
    max-width: 8ch;
    font-size: clamp(2.75rem, 13vw, 4rem);
    line-height: 1;
  }

  .hero-actions .button {
    width: 100%;
  }

  .slider-controls {
    grid-template-columns: 42px minmax(0, 1fr) 42px;
    right: 14px;
    left: 14px;
  }

  .slider-dots {
    left: 14px;
  }

  .visual-band {
    grid-template-columns: 1fr;
  }

  .visual-band div + div {
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .section {
    padding: 72px 0;
  }

  .section-heading {
    display: grid;
  }

  .project-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: 250px;
  }

  .project-card.featured {
    grid-column: span 1;
  }

  .scope-visual,
  .scope-visual img {
    min-height: 340px;
  }

  .process-strip {
    grid-template-columns: 1fr;
  }

  .process-strip div {
    min-height: 112px;
    padding: 24px 20px;
  }
}

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