:root {
  --bg: #f3f1ec;
  --surface: #ffffff;
  --text: #15211e;
  --muted: #6a7470;
  --line: #d8ddd9;
  --accent: #d78933;
  --accent-dark: #a86422;
  --dark: #10201b;
  --dark-2: #162a23;
  --container: 1180px;
  --radius: 18px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Manrope", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
img { max-width: 100%; display: block; }
.container { width: min(calc(100% - 40px), var(--container)); margin: 0 auto; }
.section { padding: 110px 0; }

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  background: rgba(243, 241, 236, .88);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(21, 33, 30, .08);
}
.nav-wrap { height: 82px; display: flex; align-items: center; justify-content: space-between; }
.brand { display: inline-flex; align-items: center; gap: 11px; font-weight: 700; letter-spacing: .03em; }
.brand-mark {
  width: 38px; height: 38px; display: grid; place-items: center;
  color: #fff; background: var(--accent); font-weight: 800; font-size: 20px;
  clip-path: polygon(0 0, 100% 0, 100% 75%, 75% 100%, 0 100%);
}
.brand-text strong { color: var(--accent-dark); font-weight: 800; }
.main-nav { display: flex; align-items: center; gap: 32px; font-size: 14px; font-weight: 600; }
.main-nav > a:not(.nav-cta) { position: relative; }
.main-nav > a:not(.nav-cta)::after {
  content: ""; position: absolute; left: 0; bottom: -7px; width: 0; height: 2px;
  background: var(--accent); transition: width .25s ease;
}
.main-nav > a:hover::after { width: 100%; }
.nav-cta { padding: 11px 17px; border: 1px solid var(--text); transition: .25s ease; }
.nav-cta:hover { background: var(--text); color: #fff; }
.menu-toggle { display: none; border: 0; background: transparent; padding: 8px; cursor: pointer; }
.menu-toggle span { display: block; width: 24px; height: 2px; margin: 5px 0; background: var(--text); }

.hero {
  position: relative;
  min-height: 820px;
  padding: 160px 0 90px;
  overflow: hidden;
  background: linear-gradient(135deg, #f4f1eb 0%, #ecebe4 100%);
}
.hero-grid-lines {
  position: absolute; inset: 0; opacity: .25;
  background-image:
    linear-gradient(rgba(21,33,30,.09) 1px, transparent 1px),
    linear-gradient(90deg, rgba(21,33,30,.09) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: linear-gradient(to right, transparent 0%, #000 42%, #000 100%);
}
.hero-grid { position: relative; z-index: 2; display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: 70px; }
.eyebrow, .section-kicker { display: block; margin: 0 0 18px; font-size: 12px; font-weight: 800; letter-spacing: .18em; color: var(--accent-dark); }
.hero h1 { margin: 0; max-width: 760px; font-size: clamp(50px, 6vw, 82px); line-height: 1.02; letter-spacing: -.045em; }
.hero h1 span { color: var(--accent-dark); }
.hero-copy > p { max-width: 690px; margin: 28px 0 0; color: var(--muted); font-size: 18px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 13px; margin-top: 36px; }
.btn { min-height: 52px; display: inline-flex; justify-content: center; align-items: center; padding: 0 22px; border: 1px solid transparent; cursor: pointer; font-weight: 700; transition: transform .2s ease, background .2s ease, color .2s ease, border .2s ease; }
.btn:hover { transform: translateY(-2px); }
.btn-primary { color: #fff; background: var(--dark); }
.btn-primary:hover { background: var(--accent-dark); }
.btn-secondary { border-color: var(--text); background: transparent; }
.btn-secondary:hover { background: #fff; }
.hero-points { display: flex; gap: 24px; flex-wrap: wrap; margin-top: 42px; padding-top: 24px; border-top: 1px solid var(--line); color: #4e5a56; font-size: 13px; font-weight: 700; }
.hero-points span { position: relative; padding-left: 14px; }
.hero-points span::before { content: ""; position: absolute; left: 0; top: .65em; width: 5px; height: 5px; background: var(--accent); }

.hero-visual { display: flex; justify-content: flex-end; }
.blueprint-card {
  position: relative; width: min(100%, 500px); aspect-ratio: .9;
  padding: 26px; overflow: hidden; color: #dce9e4; background: var(--dark);
  box-shadow: 30px 35px 0 rgba(215, 137, 51, .17);
}
.blueprint-card::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.06) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.06) 1px, transparent 1px); background-size: 25px 25px; }
.blueprint-top { position: relative; z-index: 2; display: flex; justify-content: space-between; font-size: 11px; letter-spacing: .15em; color: #95aaa2; }
.structure-sketch { position: absolute; inset: 22% 12% 20%; border-bottom: 2px solid #c9d7d1; }
.beam, .column, .floor { position: absolute; background: #dbe7e2; }
.beam { height: 3px; transform-origin: left center; }
.beam-a { left: 8%; top: 18%; width: 48%; transform: rotate(-21deg); }
.beam-b { left: 53%; top: 1%; width: 38%; transform: rotate(32deg); }
.column { width: 3px; bottom: 0; }
.column-a { left: 13%; height: 63%; }
.column-b { left: 52%; height: 82%; }
.column-c { right: 10%; height: 58%; }
.floor { left: 13%; height: 2px; }
.floor-a { bottom: 22%; width: 77%; }
.floor-b { bottom: 46%; width: 67%; }
.floor-c { bottom: 70%; width: 40%; }
.measure { position: absolute; z-index: 2; color: #8fa59c; font-size: 10px; letter-spacing: .1em; }
.measure-a { left: 13%; bottom: 14%; }
.measure-b { right: 8%; top: 26%; transform: rotate(90deg); }
.blueprint-note { position: absolute; z-index: 2; right: 25px; bottom: 24px; font-size: 12px; color: var(--accent); font-weight: 800; letter-spacing: .08em; }

.intro-strip { background: var(--surface); }
.intro-grid { display: grid; grid-template-columns: .65fr 1.35fr 1fr; gap: 50px; align-items: start; }
.intro-grid h2, .section-head h2, .approach-copy h2, .cta-copy h2 { margin: 0; font-size: clamp(34px, 4vw, 54px); line-height: 1.08; letter-spacing: -.035em; }
.intro-grid > p:last-child { margin: 0; color: var(--muted); }

.services { background: #eeece6; }
.section-head { display: flex; justify-content: space-between; gap: 70px; align-items: end; margin-bottom: 52px; }
.section-head > div { max-width: 720px; }
.section-head > p { max-width: 380px; margin: 0; color: var(--muted); }
.service-grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid #c8cfca; border-left: 1px solid #c8cfca; }
.service-card { position: relative; min-height: 340px; padding: 28px; border-right: 1px solid #c8cfca; border-bottom: 1px solid #c8cfca; background: rgba(255,255,255,.25); transition: .3s ease; }
.service-card:hover { background: var(--surface); transform: translateY(-4px); }
.service-number { color: var(--accent-dark); font-size: 12px; font-weight: 800; letter-spacing: .15em; }
.service-card h3 { margin: 90px 0 16px; font-size: 22px; line-height: 1.25; }
.service-card p { margin: 0; color: var(--muted); font-size: 14px; }
.service-line { position: absolute; left: 28px; bottom: 28px; width: 38px; height: 3px; background: var(--accent); transition: width .3s ease; }
.service-card:hover .service-line { width: 75px; }

.approach { background: var(--surface); }
.approach-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 90px; align-items: center; }
.approach-panel { min-height: 600px; position: relative; padding: 28px; background: var(--dark); color: #fff; overflow: hidden; }
.approach-panel::before { content: ""; position: absolute; inset: 0; background: linear-gradient(transparent 95%, rgba(255,255,255,.05) 95%), linear-gradient(90deg, transparent 95%, rgba(255,255,255,.05) 95%); background-size: 40px 40px; }
.panel-label { position: relative; z-index: 1; font-size: 11px; color: #9dafaa; letter-spacing: .15em; font-weight: 800; }
.panel-diagram { position: absolute; inset: 110px 50px 70px; }
.diagram-box { position: absolute; z-index: 2; width: 120px; height: 70px; display: grid; place-items: center; border: 1px solid #587068; font-size: 11px; font-weight: 800; letter-spacing: .12em; }
.d1 { left: 0; top: 0; }
.d2 { right: 0; top: 26%; }
.d3 { left: 5%; bottom: 26%; border-color: var(--accent); color: var(--accent); }
.d4 { right: 8%; bottom: 0; }
.diagram-line { position: absolute; height: 1px; background: #587068; transform-origin: left center; }
.l1 { width: 55%; left: 23%; top: 19%; transform: rotate(19deg); }
.l2 { width: 56%; left: 20%; top: 52%; transform: rotate(155deg); }
.l3 { width: 52%; left: 24%; bottom: 18%; transform: rotate(18deg); }
.approach-copy > p:not(.section-kicker) { color: var(--muted); font-size: 16px; margin: 24px 0 0; }
.feature-list { margin-top: 42px; border-top: 1px solid var(--line); }
.feature-item { display: grid; grid-template-columns: 55px 1fr; gap: 15px; padding: 23px 0; border-bottom: 1px solid var(--line); }
.feature-item > span { color: var(--accent-dark); font-size: 12px; font-weight: 800; }
.feature-item h3 { margin: 0 0 5px; font-size: 18px; }
.feature-item p { margin: 0; color: var(--muted); font-size: 14px; }

.process { background: #ece9e2; }
.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.process-item { padding: 26px 0 0; border-top: 3px solid var(--text); }
.process-item span { display: block; margin-bottom: 64px; color: var(--accent-dark); font-size: 12px; font-weight: 800; }
.process-item h3 { margin: 0 0 12px; font-size: 20px; }
.process-item p { margin: 0; color: var(--muted); font-size: 14px; }

.cta { background: var(--dark); color: #fff; }
.cta-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 90px; align-items: start; }
.section-kicker.light { color: #e5a760; }
.cta-copy p:last-child { max-width: 520px; color: #aab8b3; }
.contact-form { display: grid; gap: 18px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.contact-form label { display: grid; gap: 8px; }
.contact-form label > span { color: #aab8b3; font-size: 12px; font-weight: 700; }
.contact-form input, .contact-form select, .contact-form textarea {
  width: 100%; border: 1px solid #365047; background: var(--dark-2); color: #fff;
  padding: 14px 15px; outline: none; border-radius: 0; transition: border .2s ease;
}
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { border-color: var(--accent); }
.contact-form textarea { resize: vertical; }
.contact-form option { color: #111; }
.btn-light { justify-self: start; color: var(--dark); background: #fff; }
.btn-light:hover { background: var(--accent); color: #fff; }
.form-note { min-height: 24px; margin: 0; color: #bfcbc7; font-size: 13px; }

.site-footer { padding: 35px 0; background: #0a1511; color: #82918c; }
.footer-wrap { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 30px; align-items: center; font-size: 12px; }
.footer-brand { color: #fff; }
.footer-wrap p { margin: 0; }
.footer-wrap p:last-child { text-align: right; }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

@media (max-width: 980px) {
  .section { padding: 80px 0; }
  .hero { min-height: auto; }
  .hero-grid, .approach-grid, .cta-grid { grid-template-columns: 1fr; gap: 55px; }
  .hero-copy { padding-top: 25px; }
  .hero-visual { justify-content: flex-start; }
  .blueprint-card { width: min(100%, 620px); aspect-ratio: 1.1; }
  .intro-grid { grid-template-columns: 1fr; gap: 20px; }
  .section-head { align-items: start; }
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .process-grid { grid-template-columns: repeat(2, 1fr); gap: 40px 24px; }
  .footer-wrap { grid-template-columns: 1fr; }
  .footer-wrap p:last-child { text-align: left; }
}

@media (max-width: 760px) {
  .container { width: min(calc(100% - 28px), var(--container)); }
  .nav-wrap { height: 72px; }
  .menu-toggle { display: block; }
  .main-nav {
    display: none; position: absolute; top: 72px; left: 0; right: 0; padding: 22px 20px 26px;
    flex-direction: column; align-items: stretch; gap: 18px; background: var(--bg); border-bottom: 1px solid var(--line);
  }
  .main-nav.open { display: flex; }
  .nav-cta { text-align: center; }
  .hero { padding-top: 125px; }
  .hero h1 { font-size: clamp(44px, 13vw, 66px); }
  .hero-copy > p { font-size: 16px; }
  .blueprint-card { aspect-ratio: .95; }
  .section-head { display: grid; gap: 20px; }
  .service-grid, .process-grid { grid-template-columns: 1fr; }
  .service-card { min-height: 270px; }
  .service-card h3 { margin-top: 55px; }
  .approach-panel { min-height: 500px; }
  .panel-diagram { inset: 95px 25px 50px; }
  .diagram-box { width: 100px; height: 60px; }
  .field-row { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
}
