:root {
  --green: #173f35;
  --green-2: #0f2d26;
  --gold: #b8873b;
  --gold-soft: #e9d9bd;
  --slate: #2e3b4a;
  --sand: #f5f0e8;
  --ink: #1d2a2a;
  --muted: #5d6b6b;
  --line: #e2dbcf;
  --radius: 14px;
  --wrap: 1180px;
  --head: "Poppins", system-ui, sans-serif;
  --body: "Lato", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body { margin: 0; font: 17px/1.65 var(--body); color: var(--ink); background: #fff; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: var(--green); }
h1, h2, h3 { font-family: var(--head); line-height: 1.15; margin: 0 0 .5em; color: var(--green); }
h1 { font-size: clamp(2.1rem, 5vw, 3.6rem); font-weight: 800; letter-spacing: -.01em; }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.5rem); font-weight: 700; }
h3 { font-size: 1.15rem; font-weight: 600; }
p { margin: 0 0 1em; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--green); color: #fff; padding: 8px 14px; z-index: 100; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }

.eyebrow { font: 700 .78rem/1 var(--head); letter-spacing: .18em; text-transform: uppercase; color: var(--gold); margin-bottom: 14px; }
.lead { font-size: 1.2rem; }
.muted { color: var(--muted); }
.small { font-size: .85rem; }

.btn { display: inline-flex; align-items: center; gap: 8px; background: var(--gold); color: #fff; font: 600 .98rem var(--head); padding: 14px 24px; border-radius: 999px; text-decoration: none; border: 0; cursor: pointer; transition: transform .15s, background .15s; }
.btn:hover { background: #a57631; transform: translateY(-1px); }
.btn-ghost { background: transparent; color: #fff; box-shadow: inset 0 0 0 2px rgba(255,255,255,.75); }
.btn-ghost:hover { background: rgba(255,255,255,.12); }
.btn-small { padding: 10px 18px; font-size: .9rem; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.96); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.brand img { height: 52px; width: auto; }
.nav { display: flex; align-items: center; gap: 28px; }
.nav a:not(.btn) { text-decoration: none; color: var(--slate); font: 600 .95rem var(--head); }
.nav a:not(.btn):hover { color: var(--gold); }
.nav .btn { color: #fff; }
.nav-toggle { display: none; background: none; border: 2px solid var(--green); color: var(--green); font: 600 .9rem var(--head); padding: 8px 14px; border-radius: 999px; }

/* Hero */
.hero { position: relative; min-height: min(88vh, 760px); display: flex; align-items: flex-end; color: #fff; overflow: hidden; }
.hero-bg, .hero-bg img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(15,45,38,.15) 0%, rgba(15,45,38,.55) 45%, rgba(15,45,38,.92) 100%); }
.hero-content { position: relative; z-index: 1; padding-bottom: 72px; padding-top: 120px; }
.hero h1 { color: #fff; max-width: 15ch; }
.hero .lead { max-width: 52ch; color: #eef1ee; }
.hero .eyebrow { color: var(--gold-soft); }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 28px; }

/* Facts band */
.facts { background: var(--green); color: #fff; }
.facts-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.facts-grid div { padding: 28px 20px; border-left: 1px solid rgba(255,255,255,.12); }
.facts-grid div:first-child { border-left: 0; padding-left: 0; }
.facts strong { display: block; font: 700 1.25rem var(--head); color: var(--gold-soft); }
.facts span { font-size: .92rem; color: #c9d6d1; }

/* Sections */
.section { padding: 104px 0; }
.section-tint { background: var(--sand); }
.section-dark { background: var(--green-2); color: #dfe7e3; }
.section-dark h2, .section-dark h3 { color: #fff; }
.section-lead { max-width: 60ch; color: var(--muted); font-size: 1.08rem; }
.split { display: grid; grid-template-columns: 1fr 1.2fr; gap: 64px; align-items: start; }
.prose p { font-size: 1.08rem; }

.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 36px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 24px; }
.card svg { width: 44px; height: 44px; fill: none; stroke: var(--gold); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 18px; }
.card p { color: var(--muted); font-size: .98rem; margin: 0; }

/* Projects */
.project { display: grid; grid-template-columns: 1.35fr 1fr; gap: 40px; margin-top: 40px; align-items: start; }
.project-viewer { position: relative; background: linear-gradient(180deg, #dde6ea 0%, #eef0ea 100%); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
.project-viewer:fullscreen { border-radius: 0; display: flex; flex-direction: column; }
.project-viewer:fullscreen .viewer-canvas { flex: 1; aspect-ratio: auto; }
.viewer-canvas { position: relative; aspect-ratio: 4 / 3; cursor: grab; touch-action: none; }
.viewer-canvas:active { cursor: grabbing; }
.viewer-canvas canvas { width: 100% !important; height: 100% !important; display: block; }
.viewer-loading { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; padding: 24px; color: var(--muted); font: 600 .95rem var(--head); }
.viewer-tools { position: absolute; top: 14px; left: 14px; right: 14px; display: flex; gap: 8px; flex-wrap: wrap; }
.viewer-tools button, .switch { background: rgba(255,255,255,.92); border: 1px solid var(--line); border-radius: 999px; padding: 7px 14px; font: 600 .82rem var(--head); color: var(--green); cursor: pointer; display: inline-flex; align-items: center; gap: 8px; }
.viewer-tools button:hover { background: #fff; }
.switch input { accent-color: var(--gold); margin: 0; }
.viewer-note { margin: 0; font-size: .78rem; color: var(--muted); background: #fff; padding: 0 14px 12px; }
.tag { display: inline-block; background: var(--gold-soft); color: #6d4c17; font: 700 .75rem var(--head); letter-spacing: .08em; text-transform: uppercase; padding: 5px 12px; border-radius: 999px; }
.project-info h3 { font-size: 1.6rem; margin-top: 10px; margin-bottom: 2px; }
.stage { background: var(--sand); border-left: 3px solid var(--gold); padding: 10px 14px; border-radius: 0 8px 8px 0; font-size: .98rem; }
.scope { padding: 0; list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 6px 16px; font-size: .95rem; }
.scope li { padding-left: 22px; position: relative; }
.scope li::before { content: ""; position: absolute; left: 0; top: .55em; width: 10px; height: 10px; border-radius: 2px; background: var(--green); }
.gallery { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; margin-top: 18px; }
.thumb { padding: 0; border: 0; border-radius: 8px; overflow: hidden; cursor: zoom-in; aspect-ratio: 1; background: var(--sand); }
.thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .25s; }
.thumb:hover img { transform: scale(1.06); }

/* 3D build-stage bar */
.stage-bar { display: flex; flex-wrap: wrap; gap: 6px; padding: 12px 12px 8px; background: #fff; border-top: 1px solid var(--line); }
.stage-bar button { flex: 1 0 auto; display: inline-flex; align-items: center; gap: 8px; border: 1px solid var(--line); background: #fff; border-radius: 999px; padding: 7px 12px 7px 7px; font: 600 .8rem var(--head); color: var(--slate); cursor: pointer; white-space: nowrap; }
.stage-bar button span { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--sand); color: var(--green); font-size: .75rem; }
.stage-bar button[aria-pressed="true"] { background: var(--green); border-color: var(--green); color: #fff; }
.stage-bar button[aria-pressed="true"] span { background: var(--gold); color: #fff; }

/* Build journey */
.journey { list-style: none; padding: 0; margin: 40px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px 24px; }
.journey-item { background: #fff; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); display: flex; flex-direction: column; }
.journey-item .thumb { aspect-ratio: 4 / 3; border-radius: 0; }
.journey-text { padding: 18px 20px 22px; }
.journey-text h3 { margin-bottom: 6px; }
.journey-text p { font-size: .95rem; color: var(--muted); margin-bottom: 10px; }
.journey-text .journey-stage { font: 700 .72rem var(--head); letter-spacing: .1em; text-transform: uppercase; color: var(--gold); margin-bottom: 8px; }
.link-btn { background: none; border: 0; padding: 0; font: 600 .9rem var(--head); color: var(--green); cursor: pointer; }
.link-btn:hover { color: var(--gold); }
.hp { position: absolute; left: -9999px; }

/* Process */
.steps { list-style: none; padding: 0; margin: 40px 0 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; counter-reset: step; }
.steps li { counter-increment: step; border-top: 2px solid var(--gold); padding-top: 18px; }
.steps li::before { content: "0" counter(step); font: 800 1.9rem var(--head); color: var(--gold); display: block; margin-bottom: 8px; }
.steps p { font-size: .95rem; color: #b9c8c2; margin: 0; }

/* Contact */
.contact-list { list-style: none; padding: 0; margin: 24px 0 0; }
.contact-list li { padding: 14px 0; border-bottom: 1px solid var(--line); }
.contact-list span { display: block; font: 700 .75rem var(--head); letter-spacing: .12em; text-transform: uppercase; color: var(--gold); }
.enquiry { background: var(--sand); padding: 32px; border-radius: var(--radius); display: grid; gap: 16px; }
.enquiry label { display: grid; gap: 6px; font: 600 .9rem var(--head); color: var(--slate); }
.enquiry input, .enquiry textarea { font: inherit; font-family: var(--body); font-weight: 400; padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px; background: #fff; }
.enquiry button { justify-self: start; }
.form-note { margin: 0; font-size: .92rem; color: var(--green); min-height: 1.4em; }

/* Footer */
.site-footer { background: var(--green-2); color: #b9c8c2; padding: 40px 0; font-size: .92rem; }
.footer-inner { display: grid; grid-template-columns: auto 1fr auto; gap: 24px; align-items: center; }
.footer-inner img { filter: brightness(0) invert(1); opacity: .85; height: 44px; width: auto; }
.footer-inner p { margin: 0; }
.footer-inner .small { text-align: right; max-width: 34ch; }

/* Lightbox */
.lightbox { border: 0; padding: 0; background: transparent; max-width: min(1200px, 94vw); }
.lightbox::backdrop { background: rgba(10,25,21,.88); }
.lightbox img { max-height: 82vh; width: auto; margin: 0 auto; border-radius: 8px; }
.lightbox-caption { color: #fff; text-align: center; margin: 12px 0 0; }
.lightbox-close { position: fixed; top: 16px; right: 20px; background: none; border: 0; color: #fff; font-size: 2.4rem; cursor: pointer; line-height: 1; }

/* Responsive */
@media (max-width: 1000px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .project { grid-template-columns: 1fr; }
  .journey { grid-template-columns: repeat(2, 1fr); }
  .split { grid-template-columns: 1fr; gap: 24px; }
}
@media (max-width: 760px) {
  body { font-size: 16px; }
  .section { padding: 72px 0; }
  .nav-toggle { display: block; }
  .nav { position: fixed; inset: 76px 0 auto 0; background: #fff; flex-direction: column; align-items: stretch; gap: 0; padding: 8px 24px 20px; border-bottom: 1px solid var(--line); display: none; }
  .nav a:not(.btn) { padding: 14px 0; border-bottom: 1px solid var(--line); }
  .nav .btn { margin-top: 14px; justify-content: center; }
  .nav-open .nav { display: flex; }
  .brand img { height: 44px; }
  .facts-grid { grid-template-columns: 1fr 1fr; }
  .facts-grid div { padding: 20px 12px; border-left: 0; }
  .facts-grid div:first-child { padding-left: 12px; }
  .cards, .steps, .journey { grid-template-columns: 1fr; }
  .scope { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: repeat(3, 1fr); }
  .viewer-canvas { aspect-ratio: 1; }
  .footer-inner { grid-template-columns: 1fr; text-align: left; }
  .footer-inner .small { text-align: left; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}

.enquiry .check { display: flex; gap: 10px; align-items: flex-start; font: 400 .88rem/1.45 var(--body); color: var(--slate); }
.enquiry .check input { margin-top: 3px; width: 18px; height: 18px; flex: none; accent-color: var(--green); }
.connect { display: grid; gap: 10px; padding-top: 6px; border-top: 1px solid var(--line); }
.connect p { margin: 8px 0 0; font: 600 .9rem var(--head); color: var(--green); }
.btn-wa { background: #1f8f4e; justify-self: start; }
.btn-wa:hover { background: #18743f; }
