/* BuildCore Construction — main stylesheet */
:root {
  --ink: #0b1b2b;
  --ink-2: #142b3d;
  --ink-3: #264457;
  --orange: #f97316;
  --orange-dark: #db5707;
  --amber: #f6b91d;
  --cream: #f5f1e9;
  --paper: #fffdf9;
  --white: #ffffff;
  --muted: #607080;
  --line: #dce2e5;
  --soft: #eef2f3;
  --green: #1d8a59;
  --red: #bd3e3e;
  --shadow-sm: 0 8px 26px rgba(11, 27, 43, 0.08);
  --shadow-lg: 0 24px 70px rgba(11, 27, 43, 0.16);
  --radius-sm: 8px;
  --radius: 16px;
  --radius-lg: 28px;
  --container: 1180px;
  --font: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --serif: Georgia, "Times New Roman", serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
body.menu-open { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { line-height: 1.12; letter-spacing: -0.03em; }
h1 { font-size: clamp(3rem, 7vw, 6.8rem); }
h2 { font-size: clamp(2.25rem, 4.6vw, 4.5rem); }
h3 { font-size: 1.35rem; }
p { color: var(--muted); }
::selection { background: var(--orange); color: var(--white); }

.container { width: min(var(--container), calc(100% - 48px)); margin-inline: auto; }
.section { padding: 112px 0; }
.soft-section { background: var(--soft); }
.dark-section { position: relative; overflow: hidden; background: var(--ink); color: var(--white); }
.dark-section p { color: #aebbc5; }
.sr-only {
  position: absolute !important; width: 1px !important; height: 1px !important;
  padding: 0 !important; margin: -1px !important; overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important; white-space: nowrap !important; border: 0 !important;
}
.skip-link {
  position: fixed; top: 12px; left: 12px; z-index: 9999; padding: 10px 16px;
  color: var(--white); background: var(--ink); transform: translateY(-160%);
}
.skip-link:focus { transform: translateY(0); }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px; margin-bottom: 22px;
  color: var(--orange-dark); font-size: 0.72rem; font-weight: 800; letter-spacing: 0.18em;
}
.eyebrow::before { content: ""; width: 32px; height: 2px; background: currentColor; }
.eyebrow-light { color: var(--amber); }
.lead-copy { color: var(--ink); font-size: 1.2rem; line-height: 1.6; }
.empty-state {
  grid-column: 1 / -1; padding: 32px; border: 1px dashed #b8c2c8;
  background: var(--white); border-radius: var(--radius); text-align: center;
}

/* Buttons and links */
.btn {
  display: inline-flex; min-height: 48px; align-items: center; justify-content: center; gap: 14px;
  padding: 12px 22px; border: 1px solid transparent; border-radius: 2px;
  font-size: 0.84rem; font-weight: 800; letter-spacing: 0.03em; transition: 180ms ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--orange); color: var(--white); box-shadow: 0 9px 25px rgba(249, 115, 22, 0.22); }
.btn-primary:hover { background: var(--orange-dark); box-shadow: 0 13px 30px rgba(249, 115, 22, 0.32); }
.btn-light { background: var(--white); color: var(--ink); }
.btn-light:hover { background: var(--amber); }
.btn-outline { border-color: #acb7be; background: transparent; color: var(--ink); }
.btn-outline:hover { border-color: var(--ink); background: var(--ink); color: var(--white); }
.btn-lg { min-height: 58px; padding: 16px 28px; }
.btn-block { width: 100%; }
.text-link {
  display: inline-flex; align-items: center; gap: 12px; padding-bottom: 4px;
  border-bottom: 1px solid #aeb8be; color: var(--ink); font-size: 0.86rem; font-weight: 800;
}
.text-link span { color: var(--orange); transition: transform 180ms ease; }
.text-link:hover span { transform: translateX(5px); }
.text-link-light { border-color: rgba(255,255,255,.38); color: var(--white); }

/* Header */
.topbar { background: #07131f; color: #bdc9d1; font-size: 0.72rem; letter-spacing: 0.05em; }
.topbar-inner { min-height: 36px; display: flex; align-items: center; justify-content: space-between; }
.topbar p { margin: 0; color: inherit; }
.topbar-links { display: flex; gap: 12px; }
.topbar a:hover { color: var(--amber); }
.site-header {
  position: sticky; top: 0; z-index: 1000; border-bottom: 1px solid rgba(11,27,43,.08);
  background: rgba(255,253,249,.95); backdrop-filter: blur(16px); transition: box-shadow 180ms ease;
}
.site-header.scrolled { box-shadow: var(--shadow-sm); }
.nav-wrap { min-height: 82px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 12px; flex-shrink: 0; }
.brand-mark { position: relative; width: 37px; height: 38px; display: flex; align-items: flex-end; gap: 3px; }
.brand-mark span { display: block; width: 9px; background: var(--orange); transform: skewY(-28deg); }
.brand-mark span:nth-child(1) { height: 20px; }
.brand-mark span:nth-child(2) { height: 30px; background: var(--amber); }
.brand-mark span:nth-child(3) { height: 38px; }
.brand-copy { display: flex; flex-direction: column; line-height: 1; }
.brand-copy strong { font-size: 1.08rem; letter-spacing: .08em; }
.brand-copy small { margin-top: 5px; color: var(--muted); font-size: .6rem; letter-spacing: .28em; }
.primary-nav { display: flex; align-items: center; gap: clamp(16px, 2vw, 28px); }
.primary-nav > a:not(.btn) {
  position: relative; padding: 28px 0; color: #344b5c; font-size: .8rem; font-weight: 750;
}
.primary-nav > a:not(.btn)::after {
  content: ""; position: absolute; bottom: 18px; left: 0; width: 0; height: 2px;
  background: var(--orange); transition: width 180ms ease;
}
.primary-nav > a:not(.btn):hover, .primary-nav > a.active { color: var(--ink); }
.primary-nav > a:not(.btn):hover::after, .primary-nav > a.active::after { width: 100%; }
.nav-cta { min-height: 46px; }
.menu-toggle { display: none; width: 44px; height: 44px; padding: 11px; border: 0; background: transparent; }
.menu-toggle > span:not(.sr-only) { display: block; width: 100%; height: 2px; margin: 5px 0; background: var(--ink); transition: 180ms; }

/* Messages */
.flash-stack { position: fixed; z-index: 1100; top: 130px; right: 24px; width: min(420px, calc(100% - 48px)); }
.flash { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 10px; padding: 15px 18px; border-radius: 8px; background: var(--white); box-shadow: var(--shadow-lg); }
.flash-success { border-left: 4px solid var(--green); }
.flash-error { border-left: 4px solid var(--red); }
.flash button { border: 0; background: transparent; color: var(--muted); font-size: 1.3rem; }

/* Home hero */
.hero { position: relative; min-height: 760px; overflow: hidden; display: flex; align-items: stretch; background: var(--ink); color: var(--white); }
.hero-media {
  position: absolute; inset: 0;
  background: url("https://images.unsplash.com/photo-1504307651254-35680f356dfd?auto=format&fit=crop&w=2200&q=90") center 48% / cover no-repeat;
  transform: scale(1.01);
}
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(5,18,29,.96) 0%, rgba(5,18,29,.84) 42%, rgba(5,18,29,.38) 72%, rgba(5,18,29,.5) 100%); }
.hero-gridlines { position: absolute; inset: 0; opacity: .14; background-image: linear-gradient(rgba(255,255,255,.18) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.16) 1px, transparent 1px); background-size: 80px 80px; mask-image: linear-gradient(90deg, #000, transparent 75%); }
.hero-inner { position: relative; z-index: 2; display: grid; grid-template-columns: 1fr 290px; align-items: center; gap: 80px; padding-top: 86px; padding-bottom: 100px; }
.hero-copy { max-width: 800px; }
.hero-copy .eyebrow::before { display: none; }
.hero-copy .eyebrow > span { display: block; width: 32px; height: 2px; background: var(--amber); }
.hero h1 { max-width: 820px; margin-bottom: 28px; font-weight: 750; letter-spacing: -.055em; }
.hero h1 em { color: var(--amber); font-family: var(--serif); font-weight: 400; }
.hero-copy > p { max-width: 680px; margin-bottom: 38px; color: #d1dae0; font-size: clamp(1rem, 1.7vw, 1.22rem); }
.hero-actions { display: flex; align-items: center; gap: 30px; flex-wrap: wrap; }
.hero-proof { align-self: end; margin-bottom: 46px; padding: 26px; border: 1px solid rgba(255,255,255,.18); background: rgba(7,22,34,.76); backdrop-filter: blur(12px); }
.hero-proof-top { display: flex; justify-content: space-between; margin-bottom: 34px; color: #aebcc5; font-size: .62rem; letter-spacing: .13em; }
.hero-proof > strong { display: block; color: var(--amber); font-family: var(--serif); font-size: 4.6rem; font-weight: 400; line-height: .9; }
.hero-proof > p { margin: 14px 0 25px; color: #d9e0e4; font-size: .86rem; }
.proof-line { height: 1px; background: rgba(255,255,255,.16); }
.hero-proof ul { margin: 20px 0 0; padding: 0; list-style: none; }
.hero-proof li { margin: 10px 0; color: #d5dde2; font-size: .76rem; }
.hero-proof li span { margin-right: 8px; color: var(--amber); }
.hero-scroll { position: absolute; z-index: 2; bottom: 28px; left: 50%; display: flex; align-items: center; gap: 12px; transform: translateX(-50%); color: #a8b4bc; font-size: .62rem; letter-spacing: .14em; text-transform: uppercase; }
.hero-scroll span { width: 1px; height: 28px; background: var(--orange); animation: scrollPulse 1.8s infinite; }
@keyframes scrollPulse { 0%,100% { opacity: .25; transform: scaleY(.6); } 50% { opacity: 1; transform: scaleY(1); } }

.trust-strip { border-bottom: 1px solid var(--line); background: var(--white); }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.trust-grid > div { display: flex; align-items: center; gap: 14px; min-height: 112px; padding: 20px 34px; border-right: 1px solid var(--line); }
.trust-grid > div:first-child { border-left: 1px solid var(--line); }
.trust-grid strong { color: var(--ink); font-family: var(--serif); font-size: 2.15rem; font-weight: 400; white-space: nowrap; }
.trust-grid span { color: var(--muted); font-size: .7rem; line-height: 1.35; text-transform: uppercase; letter-spacing: .08em; }

/* Home sections */
.split-heading { display: grid; grid-template-columns: 1.15fr .85fr; gap: 100px; align-items: end; margin-bottom: 64px; }
.split-heading h2 { margin-bottom: 0; }
.split-heading h2 span, .section-heading-row h2 span, .quality-copy h2 span { color: var(--orange-dark); font-family: var(--serif); font-weight: 400; font-style: italic; }
.section-lead p { margin-bottom: 24px; font-size: 1.03rem; }
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.service-card { position: relative; min-height: 300px; padding: 38px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--white); transition: 220ms ease; }
.service-card:hover { z-index: 2; background: var(--ink); color: var(--white); transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.service-number { margin-bottom: 54px; color: var(--orange); font-family: var(--serif); font-size: 1.2rem; }
.service-card h3 { margin-bottom: 16px; font-size: 1.45rem; }
.service-card p { margin-bottom: 28px; font-size: .9rem; }
.service-card a { position: absolute; bottom: 34px; display: flex; align-items: center; gap: 12px; font-size: .76rem; font-weight: 800; }
.service-card a span { color: var(--orange); }
.service-card:hover p { color: #b9c5cd; }

.process-section { padding: 118px 0 126px; }
.process-shape { position: absolute; right: -100px; top: -160px; width: 560px; height: 560px; border: 1px solid rgba(255,255,255,.08); transform: rotate(45deg); }
.process-shape::before, .process-shape::after { content: ""; position: absolute; inset: 70px; border: 1px solid rgba(255,255,255,.06); }
.process-shape::after { inset: 140px; }
.split-heading-light h2 { color: var(--white); }
.split-heading-light h2 span { color: var(--amber); font-family: var(--serif); font-weight: 400; font-style: italic; }
.split-heading-light > p { margin: 0; }
.process-grid { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); margin: 0; padding: 0; list-style: none; }
.process-grid::before { content: ""; position: absolute; top: 31px; left: 28px; right: 28px; height: 1px; background: rgba(255,255,255,.22); }
.process-grid li { position: relative; padding: 0 34px 0 0; }
.process-grid li > span { position: relative; z-index: 2; display: grid; width: 62px; height: 62px; place-items: center; margin-bottom: 35px; border: 1px solid rgba(255,255,255,.3); border-radius: 50%; background: var(--ink); color: var(--amber); font-family: var(--serif); }
.process-grid li:first-child > span { border-color: var(--orange); background: var(--orange); color: var(--white); }
.process-grid strong { display: block; margin-bottom: 14px; font-size: 1.15rem; }
.process-grid p { font-size: .84rem; }

.section-heading-row { display: flex; justify-content: space-between; align-items: end; gap: 30px; margin-bottom: 58px; }
.section-heading-row h2 { margin-bottom: 0; }
.project-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.project-card { overflow: hidden; background: var(--white); }
.project-image { position: relative; display: block; aspect-ratio: 4 / 3; overflow: hidden; background: var(--soft); }
.project-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 600ms cubic-bezier(.2,.7,.2,1); }
.project-card:hover .project-image img { transform: scale(1.06); }
.project-arrow { position: absolute; right: 18px; bottom: 18px; display: grid; width: 48px; height: 48px; place-items: center; background: var(--white); color: var(--ink); font-size: 1.15rem; transition: 180ms; }
.project-card:hover .project-arrow { background: var(--orange); color: var(--white); }
.project-card-body { padding: 26px 8px 10px; }
.project-meta { display: flex; gap: 10px; margin-bottom: 14px; color: var(--orange-dark); font-size: .65rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.project-meta span + span::before { content: "•"; margin-right: 10px; color: #9ba8b0; }
.project-card h3 { margin-bottom: 11px; font-size: 1.42rem; }
.project-card h3 a:hover { color: var(--orange-dark); }
.project-card p { font-size: .86rem; }

.quality-section { padding-top: 60px; }
.quality-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 105px; align-items: center; }
.quality-image { position: relative; min-height: 650px; }
.quality-image::before { content: ""; position: absolute; left: -20px; top: -20px; width: 180px; height: 180px; background: repeating-linear-gradient(45deg, transparent 0 8px, rgba(249,115,22,.18) 8px 10px); }
.quality-image img { position: relative; width: 100%; height: 650px; object-fit: cover; }
.quality-stamp { position: absolute; right: -40px; bottom: 45px; width: 190px; height: 190px; display: flex; flex-direction: column; justify-content: center; padding: 26px; background: var(--orange); color: var(--white); }
.quality-stamp strong { font-family: var(--serif); font-size: 2.9rem; font-weight: 400; }
.quality-stamp span { font-size: .68rem; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; }
.quality-copy > p { margin-bottom: 34px; }
.check-list { margin: 0 0 30px; padding: 0; list-style: none; }
.check-list li { display: grid; grid-template-columns: 44px 1fr; gap: 22px; padding: 20px 0; border-top: 1px solid var(--line); }
.check-list li > span { color: var(--orange); font-family: var(--serif); }
.check-list strong { display: block; margin-bottom: 4px; }
.check-list p { margin: 0; font-size: .83rem; }

.testimonials-section { background: #f0ede6; }
.center-heading { max-width: 760px; margin: 0 auto 58px; text-align: center; }
.center-heading .eyebrow::before { display: none; }
.testimonial-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.testimonial-card { margin: 0; padding: 36px; background: var(--white); box-shadow: var(--shadow-sm); }
.stars { margin-bottom: 22px; color: var(--amber); letter-spacing: .15em; }
.testimonial-card blockquote { min-height: 145px; margin: 0 0 28px; color: var(--ink-2); font-family: var(--serif); font-size: 1.18rem; line-height: 1.55; }
.testimonial-card figcaption { display: flex; align-items: center; gap: 13px; }
.testimonial-card figcaption > span { display: grid; width: 42px; height: 42px; place-items: center; border-radius: 50%; background: var(--ink); color: var(--white); font-weight: 800; }
.testimonial-card figcaption div { display: flex; flex-direction: column; }
.testimonial-card figcaption strong { font-size: .84rem; }
.testimonial-card figcaption small { color: var(--muted); font-size: .72rem; }

/* Page hero and standard pages */
.page-hero { position: relative; overflow: hidden; padding: 100px 0 92px; background: var(--ink); color: var(--white); }
.page-hero-pattern { position: absolute; inset: 0; opacity: .18; background-image: linear-gradient(rgba(255,255,255,.15) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.15) 1px, transparent 1px); background-size: 70px 70px; mask-image: linear-gradient(90deg, #000, transparent); }
.page-hero::after { content: ""; position: absolute; top: -160px; right: -80px; width: 450px; height: 450px; border: 70px solid rgba(249,115,22,.12); transform: rotate(45deg); }
.page-hero-inner { position: relative; z-index: 2; display: grid; grid-template-columns: 1.1fr .9fr; gap: 90px; align-items: end; }
.page-hero h1 { margin: 0; max-width: 820px; font-size: clamp(3.2rem, 6vw, 6rem); }
.page-hero p { max-width: 520px; margin: 0 0 8px; color: #bbc7cf; font-size: 1.05rem; }

.story-grid, .contact-layout { display: grid; grid-template-columns: .92fr 1.08fr; gap: 100px; align-items: center; }
.story-copy h2 { margin-bottom: 30px; }
.story-visual { position: relative; padding: 0 0 40px 40px; }
.story-visual::before { content: ""; position: absolute; left: 0; bottom: 0; width: 72%; height: 80%; background: var(--amber); }
.story-visual img { position: relative; width: 100%; aspect-ratio: 1 / .84; object-fit: cover; }
.story-note { position: absolute; right: -30px; bottom: 0; display: flex; align-items: center; gap: 14px; width: 250px; padding: 20px; background: var(--ink); color: var(--white); }
.story-note strong { color: var(--amber); font-family: var(--serif); font-size: 2.5rem; font-weight: 400; }
.story-note span { font-size: .72rem; line-height: 1.4; }
.value-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: #cfd7db; }
.value-card { min-height: 280px; padding: 34px; background: var(--white); }
.value-card > span { display: block; margin-bottom: 50px; color: var(--orange); font-family: var(--serif); }
.value-card p { font-size: .86rem; }
.commitment-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 120px; align-items: start; }
.commitment-grid h2 { font-size: clamp(2.4rem, 4vw, 4rem); }
.commitment-list > div { display: grid; grid-template-columns: 40px 150px 1fr; gap: 22px; padding: 23px 0; border-top: 1px solid rgba(255,255,255,.16); }
.commitment-list span { color: var(--amber); font-family: var(--serif); }
.commitment-list p { margin: 0; font-size: .83rem; }

.service-detail-list { display: grid; gap: 100px; }
.service-detail { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; scroll-margin-top: 120px; }
.service-detail:nth-child(even) .service-detail-image { order: 2; }
.service-detail-image { position: relative; }
.service-detail-image img { width: 100%; aspect-ratio: 1.2 / 1; object-fit: cover; }
.service-detail-image > span { position: absolute; left: -18px; bottom: -18px; display: grid; width: 82px; height: 82px; place-items: center; background: var(--orange); color: var(--white); font-family: var(--serif); font-size: 1.55rem; }
.service-detail-copy h2 { margin-bottom: 24px; font-size: clamp(2.3rem, 4vw, 4rem); }
.service-detail-copy .text-link { margin-top: 16px; }
.inclusion-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 110px; }
.feature-list { display: grid; grid-template-columns: 1fr 1fr; gap: 0 30px; margin: 0; padding: 0; list-style: none; }
.feature-list li { padding: 20px 0; border-top: 1px solid #c8d0d4; font-weight: 700; }
.feature-list span { margin-right: 10px; color: var(--orange); }

.filter-bar { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 48px; }
.filter-bar a { padding: 10px 18px; border: 1px solid var(--line); background: var(--white); color: var(--muted); font-size: .76rem; font-weight: 750; }
.filter-bar a:hover, .filter-bar a.active { border-color: var(--ink); background: var(--ink); color: var(--white); }
.project-grid-wide { grid-template-columns: repeat(2, 1fr); gap: 48px 32px; }
.project-grid-wide .project-image { aspect-ratio: 16 / 10; }

.project-detail-header { padding: 78px 0 72px; background: var(--ink); color: var(--white); }
.back-link { display: inline-block; margin-bottom: 45px; color: #bdc8cf; font-size: .75rem; font-weight: 750; }
.back-link:hover { color: var(--amber); }
.project-title-row { display: grid; grid-template-columns: 1.15fr .85fr; gap: 80px; align-items: end; }
.project-title-row h1 { margin: 0; font-size: clamp(3rem, 6vw, 5.9rem); }
.project-title-row p { margin: 0 0 10px; color: #bac6ce; font-size: 1.08rem; }
.project-detail-image { max-height: 720px; overflow: hidden; background: var(--soft); }
.project-detail-image img { width: 100%; height: min(65vw, 720px); object-fit: cover; }
.project-facts { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: -45px; position: relative; z-index: 2; background: var(--white); box-shadow: var(--shadow-lg); }
.project-facts > div { padding: 28px; border-right: 1px solid var(--line); }
.project-facts > div:last-child { border: 0; }
.project-facts span { display: block; margin-bottom: 7px; color: var(--muted); font-size: .65rem; letter-spacing: .12em; text-transform: uppercase; }
.project-facts strong { font-size: .93rem; }
.project-story { display: grid; grid-template-columns: .85fr 1.15fr; gap: 120px; }
.project-story h2 { font-size: clamp(2.3rem, 4vw, 4rem); }
.project-story .btn { margin-top: 24px; }

/* Forms */
.form-page { display: grid; min-height: calc(100vh - 118px); grid-template-columns: minmax(340px, .82fr) minmax(620px, 1.18fr); }
.form-page-aside { position: relative; overflow: hidden; min-height: 900px; background: url("https://images.unsplash.com/photo-1531834685032-c34bf0d84c77?auto=format&fit=crop&w=1400&q=88") center / cover; color: var(--white); }
.form-page-aside-overlay { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(7,23,36,.72), rgba(7,23,36,.98)); }
.form-aside-content { position: sticky; z-index: 2; top: 130px; max-width: 560px; padding: 70px clamp(32px, 6vw, 84px); }
.form-aside-content h1 { margin-bottom: 24px; font-size: clamp(3rem, 5vw, 5.2rem); }
.form-aside-content > p { color: #c0cad1; }
.form-aside-content ul { margin: 40px 0; padding: 0; list-style: none; }
.form-aside-content li { display: grid; grid-template-columns: 38px 1fr; gap: 15px; margin: 19px 0; }
.form-aside-content li > span { display: grid; width: 34px; height: 34px; place-items: center; border: 1px solid rgba(255,255,255,.35); border-radius: 50%; color: var(--amber); font-family: var(--serif); font-size: .8rem; }
.form-aside-content li div { display: flex; flex-direction: column; }
.form-aside-content li strong { font-size: .9rem; }
.form-aside-content li small { color: #9faeb8; }
.privacy-note { padding: 16px; border: 1px solid rgba(255,255,255,.14); color: #b9c5cc; font-size: .73rem; }
.form-page-main { padding: 72px clamp(30px, 6vw, 90px); background: #f7f7f5; }
.form-shell { max-width: 790px; margin: 0 auto; }
.form-heading { margin-bottom: 42px; }
.form-heading h2 { margin-bottom: 8px; font-size: 3rem; }
.form-heading p { font-size: .82rem; }
.quote-form fieldset { margin: 0 0 42px; padding: 0; border: 0; }
.quote-form legend { width: 100%; margin-bottom: 24px; padding-bottom: 14px; border-bottom: 1px solid var(--line); color: var(--ink); font-weight: 800; }
.quote-form legend span { margin-right: 12px; color: var(--orange); font-family: var(--serif); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.field-full { grid-column: 1 / -1; }
.field-group { display: flex; flex-direction: column; gap: 7px; }
.field-group label { color: var(--ink-2); font-size: .74rem; font-weight: 800; }
.form-control {
  width: 100%; min-height: 50px; padding: 12px 14px; border: 1px solid #cad2d7;
  border-radius: 3px; outline: 0; background: var(--white); color: var(--ink); transition: 150ms;
}
.form-control:focus { border-color: var(--orange); box-shadow: 0 0 0 3px rgba(249,115,22,.13); }
textarea.form-control { resize: vertical; }
.field-error { color: var(--red); font-size: .72rem; }
.field-helper { display: flex; justify-content: space-between; gap: 16px; color: #7b8993; font-size: .68rem; }
.form-alert { margin-bottom: 24px; padding: 14px; border-left: 4px solid var(--red); background: #fff1f1; color: var(--red); }
.consent-row { display: grid; grid-template-columns: 20px 1fr; gap: 10px; align-items: start; margin: 0 0 24px; }
.consent-row input[type="checkbox"] { width: 18px; min-height: 18px; margin-top: 3px; accent-color: var(--orange); }
.consent-row label { font-size: .76rem; color: var(--muted); }
.consent-row .field-error { grid-column: 2; }
.submit-note { margin: 12px 0 0; text-align: center; font-size: .7rem; }

.result-page { min-height: 760px; padding: 95px 0; background: var(--soft); }
.result-card { max-width: 900px; padding: 65px; background: var(--white); box-shadow: var(--shadow-lg); text-align: center; }
.success-icon { display: grid; width: 76px; height: 76px; place-items: center; margin: 0 auto 28px; border-radius: 50%; background: #e8f7ef; color: var(--green); font-size: 2rem; }
.result-card h1 { margin-bottom: 18px; font-size: clamp(2.5rem, 5vw, 4.5rem); }
.result-card > p { max-width: 660px; margin: 0 auto 30px; }
.reference-box { display: inline-grid; grid-template-columns: 1fr auto; gap: 5px 24px; min-width: 360px; margin: 0 auto 45px; padding: 18px 20px; background: var(--ink); color: var(--white); text-align: left; }
.reference-box span { grid-column: 1 / -1; color: #aebbc3; font-size: .62rem; letter-spacing: .1em; text-transform: uppercase; }
.reference-box strong { font-size: 1.25rem; letter-spacing: .06em; }
.reference-box button { border: 0; background: transparent; color: var(--amber); font-size: .73rem; font-weight: 800; }
.next-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; margin-bottom: 36px; background: var(--line); text-align: left; }
.next-steps > div { padding: 25px; background: var(--white); }
.next-steps span { color: var(--orange); font-family: var(--serif); }
.next-steps strong { display: block; margin: 12px 0 8px; }
.next-steps p { font-size: .76rem; }
.result-actions { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; }

.tracking-section { background: #f4f5f3; }
.tracking-layout { display: grid; grid-template-columns: 380px 1fr; gap: 40px; align-items: start; }
.tracker-form-card, .status-card, .timeline-card, .not-found-card, .tracker-placeholder { padding: 34px; background: var(--white); box-shadow: var(--shadow-sm); }
.tracker-form-card h2 { margin-bottom: 8px; font-size: 1.7rem; }
.tracker-form-card > p { margin-bottom: 24px; font-size: .82rem; }
.tracker-form-card form { display: grid; gap: 18px; margin-bottom: 20px; }
.tracker-form-card > small { color: var(--muted); }
.tracker-form-card > small a { color: var(--orange-dark); font-weight: 750; }
.tracker-result { display: grid; gap: 20px; }
.status-card-head { display: flex; justify-content: space-between; align-items: start; gap: 20px; margin-bottom: 28px; }
.status-card-head > div { display: flex; flex-direction: column; }
.status-card-head > div span { color: var(--muted); font-size: .62rem; letter-spacing: .12em; }
.status-pill { padding: 7px 12px; border-radius: 999px; background: #edf1f3; color: var(--ink-3); font-size: .68rem; font-weight: 800; }
.status-approved, .status-completed { background: #e1f5e9; color: var(--green); }
.status-closed { background: #f5e4e4; color: var(--red); }
.status-card h2 { margin-bottom: 7px; font-size: 2rem; }
.status-card > p { font-size: .78rem; }
.progress-track { height: 8px; margin-top: 30px; overflow: hidden; border-radius: 99px; background: #e1e6e8; }
.progress-track span { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--orange), var(--amber)); transition: width 500ms; }
.progress-labels { display: flex; justify-content: space-between; margin-top: 8px; color: #83919a; font-size: .6rem; text-transform: uppercase; }
.timeline-card h3 { margin-bottom: 28px; }
.status-timeline { margin: 0; padding: 0; list-style: none; }
.status-timeline li { position: relative; display: grid; grid-template-columns: 18px 1fr; gap: 18px; padding-bottom: 28px; }
.status-timeline li::before { content: ""; position: absolute; top: 13px; bottom: -4px; left: 5px; width: 1px; background: #d6dde1; }
.status-timeline li:last-child::before { display: none; }
.status-timeline li > span { position: relative; z-index: 2; width: 11px; height: 11px; margin-top: 5px; border: 3px solid var(--white); border-radius: 50%; background: var(--orange); box-shadow: 0 0 0 1px var(--orange); }
.status-timeline div { display: grid; grid-template-columns: 1fr auto; gap: 5px 20px; }
.status-timeline time { color: #82909a; font-size: .68rem; }
.status-timeline p { grid-column: 1 / -1; margin: 3px 0 0; font-size: .79rem; }
.not-found-card, .tracker-placeholder { min-height: 360px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; }
.not-found-card > span { display: grid; width: 60px; height: 60px; place-items: center; margin-bottom: 20px; border-radius: 50%; background: var(--soft); color: var(--orange); font-family: var(--serif); font-size: 1.6rem; }
.not-found-card p, .tracker-placeholder p { max-width: 480px; }
.blueprint-icon { display: flex; align-items: flex-end; gap: 6px; height: 70px; margin-bottom: 25px; }
.blueprint-icon span { width: 18px; border: 2px solid var(--orange); }
.blueprint-icon span:nth-child(1) { height: 35px; }
.blueprint-icon span:nth-child(2) { height: 68px; }
.blueprint-icon span:nth-child(3) { height: 50px; }

.contact-layout { align-items: start; }
.contact-details > p { margin-bottom: 35px; }
.contact-details ul { margin: 0 0 36px; padding: 0; list-style: none; }
.contact-details li { display: grid; grid-template-columns: 90px 1fr; gap: 2px 20px; padding: 20px 0; border-top: 1px solid var(--line); }
.contact-details li > span { grid-row: 1 / 3; color: var(--orange-dark); font-size: .62rem; font-weight: 800; letter-spacing: .1em; }
.contact-details li a, .contact-details li strong { font-size: 1rem; }
.contact-details li small { color: var(--muted); }
.contact-form-card { padding: 45px; background: var(--white); box-shadow: var(--shadow-lg); }
.contact-form-card form { display: grid; gap: 18px; }
.legal-copy { max-width: 800px; }
.legal-copy h2 { margin: 42px 0 14px; font-size: 1.6rem; }
.legal-updated { padding-bottom: 24px; border-bottom: 1px solid var(--line); font-size: .76rem; }
.legal-copy a { color: var(--orange-dark); font-weight: 750; }
.error-page { min-height: 650px; display: grid; place-items: center; padding: 90px 0; background: var(--ink); color: var(--white); text-align: center; }
.error-page span { color: var(--amber); font-family: var(--serif); font-size: 5rem; }
.error-page h1 { margin: 10px 0 20px; font-size: clamp(2.5rem, 5vw, 5rem); }
.error-page p { color: #b7c3ca; }

/* Footer */
.footer-cta { padding: 74px 0; background: var(--orange); color: var(--white); }
.footer-cta-grid { display: grid; grid-template-columns: 1fr auto; gap: 60px; align-items: center; }
.footer-cta h2 { margin-bottom: 14px; font-size: clamp(2.3rem, 4vw, 4rem); }
.footer-cta p { max-width: 700px; margin: 0; color: #fff1e7; }
.footer-cta .eyebrow { color: var(--ink); }
.site-footer { padding: 80px 0 26px; background: #07131f; color: var(--white); }
.footer-grid { display: grid; grid-template-columns: 1.45fr .7fr 1fr 1fr; gap: 65px; padding-bottom: 65px; }
.brand-light .brand-copy small { color: #9cabb5; }
.footer-brand-column > p { max-width: 360px; margin: 26px 0; color: #9eacb5; font-size: .86rem; }
.license-chip { display: inline-block; padding: 8px 11px; border: 1px solid #31414e; color: #bdc8ce; font-size: .64rem; letter-spacing: .06em; text-transform: uppercase; }
.site-footer h3 { margin-bottom: 25px; color: #c7d1d7; font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; }
.footer-links, .footer-contact { margin: 0; padding: 0; list-style: none; }
.footer-links li { margin: 11px 0; }
.footer-links a, .footer-contact { color: #a8b5bd; font-size: .8rem; }
.footer-links a:hover, .footer-contact a:hover { color: var(--amber); }
.footer-contact li { margin-bottom: 14px; }
.footer-contact span { display: block; color: #657681; font-size: .6rem; letter-spacing: .08em; text-transform: uppercase; }
.site-footer > .container p, .footer-grid > div > p { color: #8e9ea8; font-size: .8rem; }
.newsletter-form { display: flex; margin: 20px 0 9px; border-bottom: 1px solid #4d5b65; }
.newsletter-input { width: 100%; padding: 10px 0; border: 0; outline: 0; background: transparent; color: var(--white); }
.newsletter-form button { width: 40px; border: 0; background: transparent; color: var(--amber); font-size: 1.2rem; }
.site-footer small { color: #64747f; font-size: .65rem; }
.footer-bottom { display: flex; justify-content: space-between; padding-top: 24px; border-top: 1px solid #263642; }
.footer-bottom p { margin: 0; font-size: .65rem !important; }
.floating-quote { display: none; }

/* Reveal animations */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 650ms ease, transform 650ms ease; }
.reveal.is-visible { opacity: 1; transform: none; }
@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; }
}

/* Responsive */
@media (max-width: 1100px) {
  .primary-nav { gap: 14px; }
  .primary-nav > a:not(.btn) { font-size: .72rem; }
  .hero-inner { grid-template-columns: 1fr 250px; gap: 40px; }
  .split-heading, .quality-grid, .story-grid, .contact-layout { gap: 60px; }
  .service-card { padding: 30px; }
  .footer-grid { grid-template-columns: 1.3fr .7fr 1fr; }
  .footer-grid > div:last-child { grid-column: 1 / -1; max-width: 440px; }
  .form-page { grid-template-columns: 380px 1fr; }
  .form-page-main { padding-inline: 45px; }
}

@media (max-width: 900px) {
  .topbar { display: none; }
  .nav-wrap { min-height: 72px; }
  .menu-toggle { display: block; position: relative; z-index: 1002; }
  .menu-toggle[aria-expanded="true"] > span:nth-child(2) { transform: translateY(7px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] > span:nth-child(3) { opacity: 0; }
  .menu-toggle[aria-expanded="true"] > span:nth-child(4) { transform: translateY(-7px) rotate(-45deg); }
  .primary-nav { position: fixed; z-index: 1001; inset: 0; display: flex; flex-direction: column; align-items: stretch; justify-content: center; gap: 0; padding: 90px 36px 40px; background: var(--paper); transform: translateX(100%); transition: transform 280ms ease; }
  .primary-nav.open { transform: translateX(0); }
  .primary-nav > a:not(.btn) { padding: 13px 0; border-bottom: 1px solid var(--line); font-size: 1.05rem; }
  .primary-nav > a:not(.btn)::after { display: none; }
  .primary-nav .nav-cta { margin-top: 24px; }
  .hero { min-height: 700px; }
  .hero-inner { grid-template-columns: 1fr; align-items: center; }
  .hero-proof { display: none; }
  .hero-overlay { background: linear-gradient(90deg, rgba(5,18,29,.94), rgba(5,18,29,.58)); }
  .trust-grid { grid-template-columns: 1fr 1fr; }
  .trust-grid > div:nth-child(3) { border-left: 1px solid var(--line); }
  .split-heading, .page-hero-inner, .commitment-grid, .inclusion-grid, .project-story { grid-template-columns: 1fr; gap: 36px; }
  .service-grid { grid-template-columns: 1fr 1fr; }
  .process-grid { grid-template-columns: 1fr 1fr; gap: 45px 20px; }
  .process-grid::before { display: none; }
  .project-grid { grid-template-columns: 1fr 1fr; }
  .quality-grid { grid-template-columns: 1fr; }
  .quality-image { max-width: 680px; min-height: auto; }
  .quality-image img { height: 560px; }
  .quality-stamp { right: 20px; }
  .testimonial-grid { grid-template-columns: 1fr; }
  .testimonial-card blockquote { min-height: auto; }
  .page-hero { padding: 80px 0; }
  .page-hero p { max-width: 700px; }
  .story-grid { grid-template-columns: 1fr; }
  .story-visual { max-width: 720px; }
  .value-grid { grid-template-columns: 1fr 1fr; }
  .service-detail { gap: 45px; }
  .tracking-layout { grid-template-columns: 1fr; }
  .tracker-form-card { max-width: 600px; }
  .form-page { grid-template-columns: 1fr; }
  .form-page-aside { min-height: auto; }
  .form-aside-content { position: relative; top: auto; max-width: 760px; }
  .form-page-main { padding-block: 60px; }
  .project-facts { grid-template-columns: 1fr 1fr; margin-top: 0; }
  .project-facts > div:nth-child(2) { border-right: 0; }
  .project-facts > div:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > div:last-child { grid-column: auto; }
}

@media (max-width: 640px) {
  .container { width: min(100% - 32px, var(--container)); }
  .section { padding: 76px 0; }
  h2 { font-size: 2.35rem; }
  .brand-copy strong { font-size: .94rem; }
  .hero { min-height: 650px; }
  .hero-inner { padding-top: 55px; padding-bottom: 75px; }
  .hero h1 { font-size: clamp(3rem, 15vw, 4.5rem); }
  .hero-actions { align-items: stretch; flex-direction: column; gap: 20px; }
  .hero-actions .btn { width: 100%; }
  .hero-actions .text-link { align-self: flex-start; }
  .hero-scroll { display: none; }
  .trust-grid > div { min-height: 90px; padding: 16px; }
  .trust-grid strong { font-size: 1.65rem; }
  .trust-grid span { font-size: .6rem; }
  .split-heading { margin-bottom: 42px; }
  .service-grid, .project-grid, .project-grid-wide { grid-template-columns: 1fr; }
  .service-card { min-height: 265px; }
  .process-grid { grid-template-columns: 1fr; gap: 32px; }
  .process-grid li { display: grid; grid-template-columns: 54px 1fr; gap: 5px 20px; padding: 0; }
  .process-grid li > span { grid-row: 1 / 3; width: 50px; height: 50px; margin: 0; }
  .process-grid p { grid-column: 2; }
  .section-heading-row { align-items: start; flex-direction: column; }
  .quality-image img { height: 430px; }
  .quality-stamp { width: 150px; height: 150px; right: 0; bottom: 20px; }
  .quality-stamp strong { font-size: 2.2rem; }
  .page-hero { padding: 65px 0; }
  .page-hero h1 { font-size: 3.2rem; }
  .story-visual { padding: 0 0 25px 22px; }
  .story-note { right: 0; width: 220px; }
  .value-grid { grid-template-columns: 1fr; }
  .value-card { min-height: auto; }
  .value-card > span { margin-bottom: 25px; }
  .commitment-list > div { grid-template-columns: 34px 1fr; }
  .commitment-list p { grid-column: 2; }
  .service-detail, .service-detail:nth-child(even) { grid-template-columns: 1fr; gap: 35px; }
  .service-detail:nth-child(even) .service-detail-image { order: initial; }
  .feature-list { grid-template-columns: 1fr; }
  .project-title-row { grid-template-columns: 1fr; gap: 25px; }
  .project-detail-header { padding: 55px 0; }
  .project-facts { grid-template-columns: 1fr; }
  .project-facts > div { border-right: 0; border-bottom: 1px solid var(--line) !important; }
  .form-aside-content { padding: 50px 24px; }
  .form-aside-content h1 { font-size: 3.1rem; }
  .form-page-main { padding: 50px 18px; }
  .form-grid { grid-template-columns: 1fr; }
  .field-full { grid-column: auto; }
  .field-helper { flex-direction: column; gap: 3px; }
  .result-page { padding: 60px 0; }
  .result-card { padding: 42px 22px; }
  .reference-box { min-width: 0; width: 100%; }
  .next-steps { grid-template-columns: 1fr; }
  .tracker-form-card, .status-card, .timeline-card, .not-found-card, .tracker-placeholder { padding: 25px; }
  .status-card-head { flex-direction: column; }
  .status-timeline div { grid-template-columns: 1fr; }
  .status-timeline time, .status-timeline p { grid-column: 1; }
  .contact-form-card { padding: 28px 20px; }
  .contact-details li { grid-template-columns: 70px 1fr; }
  .footer-cta-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-cta .btn { width: 100%; }
  .footer-grid { grid-template-columns: 1fr; gap: 40px; }
  .footer-grid > div:last-child { grid-column: auto; }
  .footer-bottom { flex-direction: column; gap: 7px; }
  .floating-quote { position: fixed; z-index: 900; right: 14px; bottom: 14px; display: flex; align-items: center; gap: 10px; padding: 13px 15px; background: var(--orange); color: var(--white); box-shadow: var(--shadow-lg); font-size: .72rem; font-weight: 800; }
  .floating-quote strong { font-size: 1rem; }
}
