:root {
  --ink: #f7f3ea;
  --muted: rgba(247, 243, 234, 0.7);
  --charcoal: #151719;
  --concrete: rgba(255, 255, 255, 0.07);
  --paper: #101213;
  --panel: rgba(255, 255, 255, 0.075);
  --panel-strong: rgba(255, 255, 255, 0.11);
  --brass: #d2aa5d;
  --brass-deep: #b88a3c;
  --navy: #78a6c7;
  --blue: #4f8ab2;
  --green: #7c986d;
  --line: rgba(255, 255, 255, 0.14);
  --shadow: 0 26px 80px rgba(0, 0, 0, 0.36);
  --radius: 8px;
  --container: min(1160px, calc(100% - 40px));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 15.5px;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 20% 0%, rgba(210, 170, 93, 0.12), transparent 28rem),
    linear-gradient(145deg, #0d0f10, #17191a 52%, #111315);
  color: var(--ink);
  font-family: "Segoe UI", Tahoma, Arial, sans-serif;
  font-weight: 750;
  line-height: 1.72;
  overflow-x: hidden;
}

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

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

button {
  font: inherit;
}

.site-header {
  position: fixed;
  top: 16px;
  left: 50%;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(1160px, calc(100% - 40px));
  margin-inline: auto;
  padding: 10px 14px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--radius);
  color: #fff;
  background: rgba(18, 23, 27, 0.42);
  backdrop-filter: blur(18px);
  transform: translateX(-50%);
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.site-header.scrolled {
  color: #fff;
  background: rgba(18, 20, 21, 0.82);
  border-color: var(--line);
}

.brand {
  display: inline-flex;
  align-items: baseline;
  gap: 7px;
  direction: ltr;
  letter-spacing: 0;
}

.brand-mark {
  font-weight: 900;
  font-size: 1.24rem;
}

.brand-text {
  color: var(--brass);
  font-weight: 900;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
  font-size: 1rem;
  font-weight: 900;
}

.nav-links a {
  opacity: 0.88;
  transition: color 0.2s ease, opacity 0.2s ease;
}

.nav-links a:hover {
  color: var(--brass);
  opacity: 1;
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid currentColor;
  border-radius: var(--radius);
  color: inherit;
  background: transparent;
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 6px auto;
  background: currentColor;
}

.hero {
  position: relative;
  min-height: 88svh;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(250px, 318px);
  align-items: end;
  gap: 34px;
  padding: 132px max(20px, calc((100vw - 1160px) / 2)) 54px;
  isolation: isolate;
  color: #fff;
}

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

.hero-media {
  z-index: -3;
  overflow: hidden;
  background: var(--charcoal);
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: heroDrift 16s ease-in-out infinite alternate;
}

.hero-shade {
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(7, 12, 16, 0.82), rgba(12, 18, 24, 0.55) 44%, rgba(10, 15, 20, 0.24)),
    linear-gradient(0deg, rgba(10, 14, 18, 0.72), rgba(10, 14, 18, 0.05) 45%);
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 6px;
  background: linear-gradient(90deg, var(--brass), var(--blue), var(--green));
}

.hero-content {
  max-width: 760px;
  padding-block: 30px;
}

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

.hero h1 {
  margin: 0;
  font-size: 7.4rem;
  line-height: 0.9;
  direction: ltr;
  text-align: right;
  letter-spacing: 0;
  font-weight: 900;
  font-family: "Arial Black", "Segoe UI Black", Tahoma, Arial, sans-serif;
}

.hero-lead {
  max-width: 660px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: 1.28rem;
  font-weight: 900;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 11px 20px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-weight: 900;
  font-size: 1rem;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

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

.btn.primary {
  color: #151718;
  background: var(--brass);
  border-color: var(--brass);
}

.btn.ghost {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.46);
  background: rgba(255, 255, 255, 0.08);
}

.btn.ghost.dark {
  color: #151718;
  border-color: rgba(23, 27, 31, 0.24);
  background: rgba(255, 255, 255, 0.78);
}

.phone-link {
  direction: ltr;
  unicode-bidi: isolate;
}

.hero-panel {
  align-self: end;
  border-radius: var(--radius);
  overflow: hidden;
  background: rgba(14, 18, 20, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: var(--shadow);
}

.logo-wall {
  width: 100%;
  aspect-ratio: 1.45;
  object-fit: cover;
}

.hero-profile {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 14px;
  align-items: center;
  padding: 14px;
}

.hero-profile img {
  width: 64px;
  height: 64px;
  border: 2px solid rgba(198, 164, 92, 0.85);
  border-radius: 50%;
  object-fit: cover;
}

.hero-profile span,
.hero-profile strong,
.hero-profile small {
  display: block;
  direction: ltr;
  text-align: left;
}

.hero-profile span {
  color: rgba(255, 255, 255, 0.74);
  font-size: 0.82rem;
  text-transform: uppercase;
}

.hero-profile strong {
  color: #fff;
  font-size: 1.18rem;
  line-height: 1.2;
}

.hero-profile small {
  color: var(--brass);
  font-size: 0.86rem;
}

.metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  width: var(--container);
  margin: 28px auto 0;
  gap: 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.012)),
    rgba(4, 6, 7, 0.78);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.metric {
  padding: 26px;
  border-left: 1px solid rgba(210, 170, 93, 0.18);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.015)),
    rgba(2, 4, 5, 0.52);
}

.metric strong {
  display: block;
  color: var(--brass);
  font-size: 3.15rem;
  line-height: 1;
  font-weight: 900;
}

.metric span {
  display: block;
  margin-top: 8px;
  color: #fff;
  font-weight: 900;
  font-size: 1.08rem;
}

.metric p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 0.98rem;
  font-weight: 800;
  line-height: 1.65;
}

.section,
.showcase,
.process,
.contact {
  padding: 92px max(20px, calc((100vw - 1160px) / 2));
}

.section,
.showcase,
.process,
.contact,
.metrics {
  scroll-margin-top: 112px;
}

.section-head {
  max-width: 760px;
  margin-bottom: 34px;
}

.section-head h2,
.about-copy h2,
.contact-copy h2 {
  margin: 0;
  font-size: 2.85rem;
  line-height: 1.15;
  letter-spacing: 0;
  font-weight: 900;
  font-family: "Arial", "Segoe UI", Tahoma, sans-serif;
}

.services-section {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.015)),
    rgba(8, 10, 11, 0.92);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.service-card,
.process-step {
  min-height: 255px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(5, 7, 8, 0.58);
  backdrop-filter: blur(18px);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.service-card:hover,
.process-step:hover {
  transform: translateY(-6px);
  border-color: rgba(198, 164, 92, 0.5);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.22);
}

.service-index,
.process-step span {
  color: var(--brass-deep);
  font-weight: 900;
}

.service-card h3,
.process-step h3 {
  margin: 28px 0 12px;
  font-size: 1.34rem;
  line-height: 1.25;
  font-weight: 900;
}

.service-card p,
.process-step p,
.about-copy p,
.contact-copy p {
  margin: 0;
  color: var(--muted);
  font-size: 1rem;
  font-weight: 800;
}

.showcase {
  color: #fff;
  background:
    linear-gradient(180deg, rgba(4, 5, 5, 0.86), rgba(11, 8, 6, 0.8) 44%, rgba(5, 6, 6, 0.88)),
    url("assets/project-night.webp") center / cover fixed;
}

.showcase .project-gallery {
  padding-top: 4px;
}

.project-gallery {
  display: grid;
  gap: 54px;
}

.gallery-group {
  display: grid;
  gap: 18px;
}

.gallery-title {
  margin: 0;
  color: #fff;
  font-size: 2.3rem;
  line-height: 1.15;
  font-weight: 900;
}

.gallery-title::after {
  content: "";
  display: block;
  width: 86px;
  height: 3px;
  margin-top: 12px;
  background: var(--brass);
}

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

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

.project-frame {
  display: grid;
  min-width: 0;
  margin: 0;
}

.project-frame img {
  width: 100%;
  height: 410px;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: 0 26px 80px rgba(0, 0, 0, 0.34);
  transform: translateY(18px) scale(0.985);
  filter: saturate(0.98) contrast(1.05);
  transition: transform 1s cubic-bezier(0.16, 1, 0.3, 1), filter 0.35s ease, box-shadow 0.35s ease;
}

.project-frame:hover img,
.project-frame.visible img {
  transform: translateY(0) scale(1);
  box-shadow: 0 32px 95px rgba(0, 0, 0, 0.42);
}

.project-frame.reveal {
  transform: translateY(70px);
  filter: blur(8px);
}

.project-frame.reveal.visible {
  transform: translateY(0) scale(1);
  filter: blur(0);
}

.about-section {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
  gap: 42px;
  align-items: center;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.035)),
    rgba(13, 15, 16, 0.86);
}

.about-copy {
  max-width: 680px;
}

.about-copy p {
  margin-top: 18px;
  font-size: 1.08rem;
}

.skill-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 24px;
}

.skill-cloud span {
  padding: 8px 12px;
  border: 1px solid rgba(210, 170, 93, 0.2);
  border-radius: var(--radius);
  color: #fff;
  background: rgba(255, 255, 255, 0.075);
  font-weight: 900;
}

.office-card {
  min-height: 330px;
  display: grid;
  align-content: end;
  padding: 28px;
  border: 1px solid rgba(198, 164, 92, 0.38);
  border-radius: var(--radius);
  color: #fff;
  background:
    linear-gradient(180deg, rgba(16, 22, 28, 0.18), rgba(16, 22, 28, 0.82)),
    url("assets/rebar-grid.webp") center / cover;
  box-shadow: var(--shadow);
}

.office-card span {
  color: var(--brass);
  font-weight: 900;
  direction: ltr;
  text-align: left;
}

.office-card strong {
  margin-top: 8px;
  font-size: 2.4rem;
  line-height: 1;
  direction: ltr;
  text-align: left;
}

.office-card p {
  max-width: 360px;
  margin: 16px 0 0;
  color: rgba(255, 255, 255, 0.78);
}

.process {
  background: rgba(10, 12, 13, 0.82);
}

.process-line {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.contact {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, auto);
  gap: 28px;
  align-items: center;
  color: #fff;
  background:
    linear-gradient(135deg, rgba(4, 6, 7, 0.92), rgba(8, 10, 11, 0.88)),
    url("assets/project-classic.webp") center / cover;
}

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

.contact-copy p {
  margin-top: 14px;
  color: rgba(255, 255, 255, 0.76);
}

.contact-actions {
  justify-content: flex-start;
  margin-top: 0;
  max-width: 360px;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 22px max(20px, calc((100vw - 1160px) / 2));
  color: rgba(255, 255, 255, 0.78);
  background: rgba(6, 8, 9, 0.96);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.78s ease, transform 0.78s ease, filter 0.78s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes heroDrift {
  from {
    transform: scale(1);
  }

  to {
    transform: scale(1.055) translate3d(0, -12px, 0);
  }
}

@media (max-width: 920px) {
  .site-header {
    top: 12px;
    width: calc(100% - 28px);
  }

  .menu-toggle {
    display: inline-block;
  }

  .nav-links {
    position: absolute;
    inset: calc(100% + 8px) 0 auto;
    display: grid;
    gap: 0;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: rgba(18, 20, 21, 0.96);
    color: #fff;
    max-height: 0;
    opacity: 0;
    transition: max-height 0.25s ease, opacity 0.2s ease;
  }

  .nav-links.open {
    max-height: 260px;
    opacity: 1;
  }

  .nav-links a {
    padding: 14px 16px;
    border-bottom: 1px solid var(--line);
  }

  .nav-links a:last-child {
    border-bottom: 0;
  }

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

  .hero {
    min-height: auto;
    padding-top: 118px;
  }

  .hero h1 {
    font-size: 5.6rem;
  }

  .hero-lead {
    font-size: 1.12rem;
  }

  .section-head h2,
  .about-copy h2,
  .contact-copy h2 {
    font-size: 2.15rem;
  }

  .hero-panel {
    max-width: 380px;
  }

  .services-grid,
  .process-line,
  .metrics {
    grid-template-columns: 1fr;
  }

  .metric {
    border-left: 0;
    border-bottom: 1px solid var(--line);
  }

  .metric:last-child {
    border-bottom: 0;
  }

  .showcase {
    background-attachment: scroll;
  }

  .gallery-title {
    font-size: 2rem;
  }

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

  .project-frame img {
    height: 350px;
  }

  .contact-actions {
    width: 100%;
    max-width: none;
  }
}

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

  .section,
  .showcase,
  .process,
  .contact {
    padding: 76px 14px;
  }

  .hero {
    padding: 108px 14px 40px;
    gap: 18px;
  }

  .hero h1 {
    font-size: 3.6rem;
  }

  .section-head h2,
  .about-copy h2,
  .contact-copy h2 {
    font-size: 1.78rem;
  }

  .hero-lead {
    font-size: 1.12rem;
  }

  .btn {
    width: 100%;
  }

  .project-gallery {
    gap: 42px;
  }

  .gallery-title {
    font-size: 1.72rem;
  }

  .image-row,
  .concrete-row {
    grid-template-columns: 1fr;
  }

  .project-frame {
    min-height: 0;
  }

  .project-frame img {
    height: 390px;
  }

  .service-card,
  .process-step {
    min-height: 220px;
  }

  .site-footer {
    display: grid;
    text-align: center;
  }
}

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

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