:root {
  --ink: #081119;
  --navy: #0b1720;
  --navy-2: #101e28;
  --paper: #f3f0e8;
  --white: #fff;
  --muted: #a7b0b5;
  --copper: #c9783a;
  --copper-light: #e49a5c;
  --line: rgba(255,255,255,.14);
  --dark-line: rgba(8,17,25,.16);
  --pad: clamp(24px, 5.5vw, 88px);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: "DM Sans", sans-serif; }
body.menu-open { overflow: hidden; }
body.intro-active { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }

.video-intro {
  position: fixed;
  z-index: 200;
  inset: 0;
  min-height: 100svh;
  color: white;
  background: #050b10;
  overflow: hidden;
  transition: opacity .65s ease, visibility .65s ease, transform .65s ease;
}
.video-intro.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: scale(1.015);
}
.intro-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  opacity: 0;
  background: #03070b;
  transition: opacity .35s ease;
}
.video-intro.is-playing .intro-video { opacity: 1; }
.intro-vignette {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 72% 22%, rgba(228,154,92,.14), transparent 32%),
    linear-gradient(90deg, rgba(5,11,16,.96) 0%, rgba(5,11,16,.72) 44%, rgba(5,11,16,.22) 100%),
    linear-gradient(0deg, rgba(5,11,16,.72), transparent 48%);
}
.video-intro.is-playing .intro-vignette { opacity: 0; }
.intro-start {
  position: relative;
  z-index: 2;
  width: min(760px, calc(100% - 2 * var(--pad)));
  min-height: 100svh;
  margin-left: var(--pad);
  padding-top: clamp(120px, 18vh, 210px);
  transition: opacity .35s ease, transform .35s ease, visibility .35s ease;
}
.video-intro.is-playing .intro-start {
  opacity: 0;
  visibility: hidden;
  transform: translateY(16px);
}
.intro-brand {
  margin-bottom: clamp(44px, 8vh, 84px);
}
.intro-brand .brand-mark .mark-cut { fill: var(--ink); }
.intro-start h1 {
  margin-bottom: 26px;
  font-size: clamp(60px, 8vw, 126px);
}
.intro-copy {
  max-width: 560px;
  color: #d4dadc;
  font-size: clamp(16px, 1.35vw, 20px);
  line-height: 1.7;
}
.intro-actions {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-top: 36px;
}
.intro-skip,
.intro-close {
  color: white;
  background: transparent;
  border: 0;
  cursor: pointer;
}
.intro-skip {
  padding: 0 0 8px;
  border-bottom: 1px solid rgba(255,255,255,.36);
  font-weight: 600;
}
.intro-skip span { margin-left: 14px; color: var(--copper-light); }
.intro-close {
  position: absolute;
  z-index: 3;
  right: var(--pad);
  top: 34px;
  min-height: 42px;
  padding: 0 18px;
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 999px;
  color: #dce0e1;
  background: rgba(8,17,25,.38);
  backdrop-filter: blur(14px);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  transition: .2s;
}
.intro-close:hover {
  color: white;
  border-color: rgba(228,154,92,.58);
}

.site-header {
  position: fixed; z-index: 50; inset: 0 0 auto; height: 84px; padding: 0 var(--pad);
  display: flex; align-items: center; justify-content: space-between; color: white;
  border-bottom: 1px solid rgba(255,255,255,.12); transition: .35s ease;
}
.site-header.scrolled { height: 70px; background: rgba(8,17,25,.94); backdrop-filter: blur(16px); }
.brand { display: flex; align-items: center; gap: 11px; font: 600 13px/1 "Manrope"; letter-spacing: .18em; }
.brand strong { color: var(--copper-light); font-weight: 800; }
.brand-mark { width: 32px; height: 32px; }
.brand-mark svg { width: 100%; fill: var(--copper); }
.brand-mark .mark-cut { fill: var(--ink); }
.nav-links { height: 100%; display: flex; align-items: center; gap: clamp(22px,3vw,48px); font-size: 13px; }
.nav-links > a:not(.nav-cta) { color: #dce0e1; transition: color .2s; }
.nav-links > a:hover { color: var(--copper-light); }
.nav-cta { align-self: stretch; display: flex; align-items: center; gap: 30px; padding: 0 24px; background: var(--copper); font-weight: 600; }
.nav-cta:hover { color: white !important; background: #dc8847; }
.menu-toggle { display: none; background: none; border: 0; padding: 10px; }
.menu-toggle span { display: block; width: 26px; height: 1px; margin: 6px; background: white; }

.hero { min-height: 100svh; position: relative; color: white; overflow: hidden; display: flex; align-items: center; }
.hero-media { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(5,13,19,.98) 0%, rgba(5,13,19,.89) 33%, rgba(5,13,19,.32) 68%, rgba(5,13,19,.3) 100%), url("assets/hero-civil-site.png") center/cover; transform: scale(1.02); animation: heroZoom 12s ease-out forwards; }
.hero-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(5,13,19,.56), transparent 50%); }
.hero-grain { position: absolute; inset: 0; opacity: .16; pointer-events: none; background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.35'/%3E%3C/svg%3E"); }
@keyframes heroZoom { to { transform: scale(1.08); } }
.hero-content { position: relative; z-index: 2; width: min(820px, 78vw); margin-left: var(--pad); padding-top: 80px; }
.eyebrow { margin: 0 0 26px; color: var(--copper-light); font: 600 11px/1.2 "Manrope"; letter-spacing: .22em; text-transform: uppercase; }
.eyebrow::before { content: ""; display: inline-block; width: 34px; height: 1px; margin: 0 13px 3px 0; background: currentColor; }
.eyebrow.dark { color: #9c5728; }
h1,h2,h3,p { margin-top: 0; }
h1,h2,h3 { font-family: "Manrope", sans-serif; }
h1 { margin-bottom: 27px; font-size: clamp(58px, 8.6vw, 132px); line-height: .88; letter-spacing: -.065em; font-weight: 700; }
h1 em { color: var(--copper-light); font-style: normal; font-weight: 500; }
.hero-copy { width: min(585px, 100%); margin-bottom: 38px; color: #d3d8d9; font-size: clamp(16px,1.4vw,20px); line-height: 1.65; }
.hero-actions { display: flex; align-items: center; gap: 34px; }
.button { border: 0; display: inline-flex; align-items: center; justify-content: space-between; gap: 42px; min-height: 58px; padding: 0 22px; font-weight: 600; cursor: pointer; transition: .25s; }
.button-primary { background: var(--copper); color: white; }
.button-primary:hover, .button-dark:hover { transform: translateY(-2px); background: var(--copper-light); }
.text-link, .arrow-link { font-weight: 600; font-size: 14px; border-bottom: 1px solid rgba(255,255,255,.38); padding-bottom: 8px; }
.text-link span, .arrow-link span { margin-left: 16px; color: var(--copper-light); }
.hero-rail { position: absolute; z-index: 2; right: var(--pad); bottom: 39px; display: flex; gap: 12px; align-items: center; color: #c2c8ca; font: 600 10px/1 "Manrope"; letter-spacing: .16em; }
.hero-rail i { width: 30px; height: 1px; background: rgba(255,255,255,.35); }
.scroll-cue { position: absolute; z-index: 2; left: 50%; bottom: 28px; width: 22px; height: 38px; border: 1px solid rgba(255,255,255,.38); border-radius: 20px; }
.scroll-cue span { position: absolute; left: 50%; top: 8px; width: 3px; height: 3px; border-radius: 50%; background: white; animation: scroll 2s infinite; }
@keyframes scroll { 0% { transform: translate(-50%,0); opacity: 0 } 25% { opacity: 1 } 70% { transform: translate(-50%,13px); opacity: 0 } 100% { opacity: 0 } }

.section { padding: clamp(90px, 12vw, 180px) var(--pad); }
.intro { display: grid; grid-template-columns: .25fr 1.3fr .85fr; gap: 5vw; align-items: start; }
.section-number { color: #9c5728; font: 600 12px "Manrope"; }
.intro h2, .approach h2, .contact h2 { font-size: clamp(44px,5.2vw,78px); line-height: 1.02; letter-spacing: -.055em; }
.intro h2 span, .approach h2 span, .contact h2 span { color: #a65d2b; font-weight: 500; }
.intro-copy { padding-top: 46px; font-size: 16px; line-height: 1.75; color: #4a555c; }
.intro-copy p:first-child { color: var(--ink); font-size: 20px; }
.arrow-link { display: inline-block; margin-top: 25px; border-color: var(--dark-line); color: var(--ink); }

.section-dark { padding: clamp(90px, 11vw, 165px) var(--pad); color: white; background: var(--navy); }
.section-top { display: grid; grid-template-columns: 1fr .45fr; align-items: end; gap: 8vw; margin-bottom: 70px; }
.section-top h2 { margin-bottom: 0; font-size: clamp(50px,6vw,88px); line-height: .97; letter-spacing: -.06em; }
.section-aside { margin: 0 0 8px; color: var(--muted); line-height: 1.7; }
.service { min-height: 175px; display: grid; grid-template-columns: 50px 90px 1fr 40px; align-items: center; gap: 3vw; border-top: 1px solid var(--line); transition: .3s; }
.service:last-child { border-bottom: 1px solid var(--line); }
.service:hover { background: rgba(255,255,255,.035); padding: 0 20px; }
.service-index { align-self: start; margin-top: 35px; color: var(--copper-light); font: 600 11px "Manrope"; }
.service-icon { width: 70px; height: 70px; display: grid; place-items: center; border: 1px solid var(--line); }
.service-icon svg { width: 42px; fill: none; stroke: var(--copper-light); stroke-width: 1.4; }
.service h3 { margin: 0 0 10px; font-size: clamp(24px,2.3vw,34px); }
.service p { margin: 0; color: var(--muted); line-height: 1.6; max-width: 720px; }
.service-arrow { color: var(--copper-light); font-size: 22px; }

.approach { display: grid; grid-template-columns: 1fr 1fr; gap: 10vw; }
.approach-sticky { position: sticky; top: 130px; align-self: start; }
.approach-sticky > p:last-child { max-width: 500px; color: #536068; line-height: 1.75; }
.approach-steps { counter-reset: approach; }
.step { min-height: 235px; display: grid; grid-template-columns: 55px 1fr; gap: 30px; border-top: 1px solid var(--dark-line); padding: 34px 0; }
.step:last-child { border-bottom: 1px solid var(--dark-line); }
.step > span { color: #a65d2b; font: 600 12px "Manrope"; }
.step h3 { font-size: 25px; margin-bottom: 15px; }
.step p { color: #536068; line-height: 1.7; }

.markets { color: white; background: linear-gradient(125deg, #0d1a23 0%, #142532 58%, #7b4324 140%); padding: clamp(90px, 11vw, 165px) var(--pad); }
.markets-content { max-width: 720px; margin-bottom: 80px; }
.markets-content h2 { font-size: clamp(52px,7vw,100px); letter-spacing: -.065em; line-height: .93; }
.markets-content > p:last-child { max-width: 570px; color: #b6c0c4; font-size: 18px; line-height: 1.7; }
.market-grid { display: grid; grid-template-columns: repeat(3,1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.market-card { min-height: 250px; padding: 32px; border-right: 1px solid var(--line); }
.market-card:last-child { border: 0; }
.market-card span { color: var(--copper-light); font: 600 11px "Manrope"; }
.market-card h3 { margin: 80px 0 15px; font-size: 28px; }
.market-card p { color: #aeb9bd; line-height: 1.6; }

.contact { display: grid; grid-template-columns: .8fr 1fr; gap: 10vw; }
.contact-lead > p:not(.eyebrow) { max-width: 430px; color: #536068; line-height: 1.7; }
.contact-email { display: inline-flex; gap: 20px; margin-top: 24px; padding-bottom: 8px; border-bottom: 1px solid var(--dark-line); font-weight: 600; }
.contact-email span { color: var(--copper); }
.inquiry-form { display: flex; flex-direction: column; gap: 27px; padding-top: 15px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
label { display: flex; flex-direction: column; gap: 9px; }
label > span { color: #59646a; font-size: 12px; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; }
input, textarea, select { width: 100%; border: 0; border-bottom: 1px solid #aeb2b1; padding: 10px 0 13px; color: var(--ink); background: transparent; outline: 0; border-radius: 0; }
input:focus, textarea:focus, select:focus { border-color: var(--copper); }
textarea { min-height: 90px; resize: vertical; }
.button-dark { align-self: flex-start; color: white; background: var(--ink); }
.form-note { color: #707a7f; font-size: 12px; }

footer { min-height: 230px; padding: 55px var(--pad) 35px; color: #aab3b7; background: var(--ink); display: grid; grid-template-columns: 1fr 1fr; align-items: start; gap: 30px; }
.footer-brand { color: white; }
footer > p { text-align: right; font-size: 13px; }
footer > div { grid-column: 1/-1; align-self: end; display: flex; justify-content: space-between; border-top: 1px solid var(--line); padding-top: 22px; font-size: 11px; }

.reveal { opacity: 0; transform: translateY(26px); transition: opacity .75s ease, transform .75s ease; }
.reveal.visible { opacity: 1; transform: none; }

@media (max-width: 900px) {
  .site-header { height: 70px; }
  .menu-toggle { display: block; z-index: 2; }
  .nav-links { position: fixed; inset: 0; height: 100svh; padding: 120px var(--pad) 50px; flex-direction: column; align-items: flex-start; gap: 30px; background: var(--ink); transform: translateX(100%); transition: transform .35s ease; font: 600 28px "Manrope"; }
  .nav-links.open { transform: none; }
  .nav-cta { align-self: auto; height: 65px; font-size: 16px; }
  .hero-content { width: calc(100% - 2 * var(--pad)); }
  .hero-rail { display: none; }
  .intro { grid-template-columns: 45px 1fr; }
  .intro-copy { grid-column: 2; padding-top: 0; }
  .section-top, .approach, .contact { grid-template-columns: 1fr; }
  .section-aside { max-width: 520px; }
  .approach-sticky { position: static; }
  .market-grid { grid-template-columns: 1fr; }
  .market-card { min-height: 200px; border-right: 0; border-bottom: 1px solid var(--line); }
  .market-card h3 { margin-top: 50px; }
}

@media (max-width: 600px) {
  .intro-start {
    width: calc(100% - 2 * var(--pad));
    margin: 0 var(--pad);
    padding-top: 118px;
  }
  .intro-start h1 { font-size: clamp(54px, 17vw, 78px); }
  .intro-actions {
    align-items: flex-start;
    flex-direction: column;
    gap: 22px;
  }
  .intro-close {
    right: 20px;
    top: 20px;
  }
  .hero { align-items: flex-end; padding-bottom: 120px; }
  .hero-media { background-position: 61% center; }
  .hero-content { padding-top: 100px; }
  h1 { font-size: clamp(56px, 18vw, 82px); }
  .hero-copy { font-size: 15px; }
  .hero-actions { align-items: flex-start; flex-direction: column; gap: 24px; }
  .scroll-cue { display: none; }
  .intro { display: block; }
  .section-number { margin-bottom: 30px; }
  .service { grid-template-columns: 30px 55px 1fr; gap: 14px; padding: 28px 0; }
  .service:hover { padding: 28px 8px; }
  .service-index { margin-top: 7px; }
  .service-icon { width: 50px; height: 50px; }
  .service-icon svg { width: 32px; }
  .service-arrow { display: none; }
  .field-row { grid-template-columns: 1fr; gap: 27px; }
  footer { grid-template-columns: 1fr; }
  footer > p { text-align: left; }
}

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