:root {
  --navy: #041a2b;
  --navy-2: #0b2639;
  --navy-deep: #02101b;
  --gold: #b37f1c;
  --gold-dark: #8f6516;
  --gold-light: #d1a24a;
  --grey: #f2f3f5;
  --ink: #1b2430;
  --muted: #5b6573;
  --line: #e0e3e8;
  --head: "Barlow Condensed", "Barlow", "Segoe UI", Arial, sans-serif;
  --body: "Barlow", "Segoe UI", Arial, sans-serif;
  --wrap: 1200px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body { margin: 0; background: #fff; color: var(--ink); font: 17px/1.65 var(--body); -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--head); font-weight: 700; margin: 0; line-height: 1.05; text-transform: uppercase; letter-spacing: .01em; }
h2 { font-size: clamp(2.2rem, 4vw, 3.1rem); color: var(--navy); }
h3 { font-size: 1.4rem; letter-spacing: .02em; }
p { margin: 0 0 1em; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 28px; }

.eyebrow { display: flex; align-items: center; gap: 12px; font: 600 .82rem var(--body); letter-spacing: .18em; text-transform: uppercase; color: var(--gold-light); margin: 0 0 14px; }
.eyebrow::before { content: ""; width: 28px; height: 2px; background: var(--gold); }
.eyebrow-dark { color: var(--gold-dark); }

/* Buttons */
.btn { display: inline-block; padding: 16px 28px; font: 700 1rem/1 var(--head); letter-spacing: .1em; text-transform: uppercase; text-decoration: none; border: 2px solid transparent; cursor: pointer; transition: background .2s, color .2s, border-color .2s; }
.btn-gold { background: var(--gold); color: #fff; }
.btn-gold:hover { background: var(--gold-dark); }
.btn-line { color: #fff; border-color: rgba(255,255,255,.6); }
.btn-line:hover { border-color: var(--gold-light); color: var(--gold-light); }

/* Socials */
.socials { display: flex; gap: 10px; }
.socials a { width: 38px; height: 38px; display: grid; place-items: center; background: rgba(255,255,255,.06); color: rgba(255,255,255,.85); transition: background .2s, color .2s; }
.socials a:hover { background: var(--gold); color: #fff; }
.socials svg { width: 18px; height: 18px; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--navy); color: #fff; transition: box-shadow .3s; }
.site-header.solid { box-shadow: 0 6px 24px rgba(0,0,0,.25); }
.header-inner { display: flex; align-items: center; gap: 36px; height: 76px; }
.brand img { height: 52px; width: auto; }
.nav { display: flex; align-items: center; gap: 32px; margin-left: auto; }
.nav a { text-decoration: none; font: 600 1.05rem var(--head); letter-spacing: .1em; text-transform: uppercase; color: rgba(255,255,255,.88); transition: color .2s; }
.nav a:hover { color: var(--gold-light); }
.header-call { display: flex; align-items: center; gap: 10px; height: 76px; padding: 0 22px; margin-right: -28px; background: var(--gold); color: #fff; text-decoration: none; font: 700 1.1rem var(--head); letter-spacing: .06em; white-space: nowrap; transition: background .2s; }
.header-call:hover { background: var(--gold-dark); }
.header-call svg { width: 18px; height: 18px; }
.menu-btn { display: none; }

/* Hero */
.hero { position: relative; min-height: calc(100vh - 76px); min-height: calc(100svh - 76px); display: flex; flex-direction: column; justify-content: flex-end; color: #fff; overflow: hidden; }
.hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 60%; }
/* The house sits mid-photo; on wide screens push it right so the headline doesn't cover it */
@media (min-width: 901px) { .hero-img { width: 140%; max-width: none; object-position: 50% 66%; } }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(8,18,28,.88) 0%, rgba(8,18,28,.6) 42%, rgba(8,18,28,.15) 75%); }
.hero-content { position: relative; padding-top: 80px; padding-bottom: 70px; width: 100%; }
.hero h1 { font-size: clamp(3rem, 7vw, 5.6rem); line-height: .98; }
.hero-lede { font-size: 1.15rem; max-width: 520px; margin: 26px 0 34px; color: rgba(255,255,255,.88); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-stats { position: relative; background: rgba(4,26,43,.92); border-top: 3px solid var(--gold); }
.stats-inner { display: grid; grid-template-columns: repeat(4, 1fr); }
.stats-inner div { padding: 24px 20px; border-left: 1px solid rgba(255,255,255,.08); }
.stats-inner div:first-child { border-left: 0; padding-left: 0; }
.stats-inner strong { display: block; font: 700 2rem/1 var(--head); color: var(--gold-light); margin-bottom: 6px; }
.stats-inner span { font-size: .9rem; color: rgba(255,255,255,.75); }

/* Sections */
.section { padding: 100px 0; }
.section-grey { background: var(--grey); }
.section-dark { background: var(--navy); color: #fff; }
.section-dark h2 { color: #fff; }
.head { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; margin-bottom: 52px; }
.head-note { max-width: 420px; color: var(--muted); margin: 0; }
.head-light .head-note { color: rgba(255,255,255,.72); }

/* Service cards */
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.svc { background: #fff; border: 1px solid var(--line); transition: transform .25s, box-shadow .25s; }
.svc:hover { transform: translateY(-4px); box-shadow: 0 16px 36px rgba(4,26,43,.12); }
.svc-img { position: relative; aspect-ratio: 4 / 3; overflow: hidden; }
.svc-img img { width: 100%; height: 100%; object-fit: cover; }
.svc-n { position: absolute; left: 0; bottom: 0; background: var(--gold); color: #fff; font: 700 1.3rem/1 var(--head); padding: 12px 16px; }
.svc-body { padding: 26px 26px 30px; }
.svc-body h3 { color: var(--navy); margin-bottom: 10px; }
.svc-body p { color: var(--muted); margin: 0; }
.mini-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; margin-top: 26px; }
.mini { background: var(--grey); border-top: 3px solid var(--navy); padding: 24px 26px; }
.mini h3 { font-size: 1.25rem; color: var(--navy); margin-bottom: 6px; }
.mini p { color: var(--muted); font-size: .95rem; margin: 0; }

/* Projects */
.proj-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; grid-template-rows: 300px 300px; gap: 20px; }
.proj { position: relative; padding: 0; border: 0; overflow: hidden; cursor: pointer; background: var(--navy); color: #fff; text-align: left; font: inherit; }
.proj-lg { grid-row: span 2; }
.proj:nth-child(4) { grid-column: span 2; }
.proj img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.proj:hover img { transform: scale(1.05); }
.proj::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(8,18,28,.9) 0%, rgba(8,18,28,.25) 50%, rgba(8,18,28,0) 75%); }
.proj-label { position: absolute; left: 24px; right: 24px; bottom: 22px; z-index: 1; }
.proj-tag { display: inline-block; background: var(--gold); font: 600 .72rem var(--body); letter-spacing: .14em; text-transform: uppercase; padding: 4px 9px; margin-bottom: 10px; }
.proj-title { display: block; font: 700 1.7rem/1.05 var(--head); text-transform: uppercase; }
.proj-more { display: block; margin-top: 8px; font-size: .9rem; color: var(--gold-light); }
.proj:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }

/* Steps */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); border-top: 2px solid var(--navy); }
.steps li { padding: 28px 22px 0 0; position: relative; }
.steps li::before { content: ""; position: absolute; top: -7px; left: 0; width: 12px; height: 12px; background: var(--gold); }
.step-n { display: block; font: 700 2.6rem/1 var(--head); color: var(--line); margin-bottom: 12px; }
.steps h3 { font-size: 1.25rem; color: var(--navy); margin-bottom: 8px; }
.steps p { font-size: .94rem; color: var(--muted); margin: 0; }

/* Groundworks */
.gw-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.gw { background: var(--navy-2); padding: 28px; border-top: 3px solid var(--gold); }
.gw h3 { color: #fff; margin-bottom: 10px; }
.gw p { color: rgba(255,255,255,.72); font-size: .95rem; margin: 0; }
.gw-feature { grid-row: span 3; background: var(--gold); border-top-color: var(--gold-light); }
@media (max-width: 900px) { .gw-feature { grid-row: span 2; } }
.gw-feature p { color: rgba(255,255,255,.92); }
.gw:last-child { grid-column: 2 / -1; }
.fleet { list-style: none; padding: 0; margin: 20px 0 16px; display: grid; grid-template-columns: 1fr 1fr; gap: 6px 14px; font-size: .94rem; }
.fleet li { padding-left: 14px; position: relative; }
.fleet li::before { content: ""; position: absolute; left: 0; top: .65em; width: 6px; height: 6px; background: var(--navy); }
.gw .fine { font-size: .85rem; }

/* About */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center; }
.about-photos { position: relative; padding: 0 60px 60px 0; }
.about-a { width: 100%; aspect-ratio: 4 / 3.4; object-fit: cover; }
.about-b { position: absolute; right: 0; bottom: 0; width: 48%; aspect-ratio: 4 / 3; object-fit: cover; border: 8px solid #fff; box-shadow: 0 14px 30px rgba(4,26,43,.2); }
.about-text h2 { margin-bottom: 22px; }
.about-text p { color: var(--muted); }
.checks { list-style: none; padding: 0; margin: 24px 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 24px; }
.checks li { position: relative; padding-left: 26px; font-weight: 500; font-size: .96rem; }
.checks li::before { content: ""; position: absolute; left: 2px; top: .35em; width: 7px; height: 12px; border: solid var(--gold); border-width: 0 2.5px 2.5px 0; transform: rotate(45deg); }

/* Accreditations */
.accred { padding: 48px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.accred-inner { display: grid; grid-template-columns: 170px 1fr; gap: 30px; align-items: center; }
.accred-title { margin: 0; font: 700 1.2rem/1.1 var(--head); text-transform: uppercase; letter-spacing: .04em; color: var(--navy); }
.accred-logos { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 26px; }
.accred-logos img { height: 62px; width: auto; filter: grayscale(1); opacity: .8; transition: filter .25s, opacity .25s; }
.accred-logos img:hover { filter: none; opacity: 1; }

/* FAQ */
.faq-grid { display: grid; grid-template-columns: 1fr 1.6fr; gap: 60px; }
.faq-side { color: var(--muted); margin-top: 20px; }
.faq-side a { color: var(--gold-dark); font-weight: 600; text-decoration: none; }
.faq-list details { background: #fff; margin-bottom: 10px; border-left: 3px solid transparent; transition: border-color .2s; }
.faq-list details[open] { border-left-color: var(--gold); }
.faq-list summary { list-style: none; cursor: pointer; padding: 20px 56px 20px 24px; position: relative; font: 700 1.2rem var(--head); text-transform: uppercase; letter-spacing: .02em; color: var(--navy); }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; position: absolute; right: 22px; top: 50%; transform: translateY(-50%); font: 400 1.6rem var(--body); color: var(--gold); transition: transform .2s; }
.faq-list details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq-list details p { color: var(--muted); padding: 0 24px 20px; margin: 0; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 70px; align-items: start; }
.contact-info h2 { margin-bottom: 18px; }
.contact-info > p { color: rgba(255,255,255,.78); max-width: 440px; }
.contact-list { list-style: none; padding: 0; margin: 30px 0; }
.contact-list li { padding: 14px 0; border-top: 1px solid rgba(255,255,255,.1); }
.contact-list li:last-child { border-bottom: 1px solid rgba(255,255,255,.1); }
.contact-list span { display: block; font: 600 .78rem var(--body); letter-spacing: .14em; text-transform: uppercase; color: var(--gold-light); margin-bottom: 2px; }
.contact-list a { text-decoration: none; }
.contact-list a:hover { color: var(--gold-light); }
.contact-form { background: #fff; color: var(--ink); padding: 36px; display: grid; gap: 16px; border-top: 4px solid var(--gold); }
.contact-form h3 { color: var(--navy); font-size: 1.6rem; margin-bottom: 4px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.contact-form label { display: grid; gap: 6px; font-size: .85rem; font-weight: 600; color: var(--navy); }
.contact-form input, .contact-form select, .contact-form textarea { font: 400 1rem var(--body); color: var(--ink); background: var(--grey); border: 1px solid var(--line); padding: 12px 14px; width: 100%; }
.contact-form textarea { resize: vertical; }
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { outline: 2px solid var(--gold); outline-offset: -1px; background: #fff; }
.contact-form .invalid { border-color: #c0412b; }
.contact-form .btn { justify-self: start; }
.form-msg { margin: 0; font-size: .9rem; color: var(--muted); }

/* Footer */
.site-footer { background: var(--navy-deep); color: rgba(255,255,255,.6); padding: 56px 0 26px; font-size: .9rem; }
.footer-top { display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; padding-bottom: 38px; }
.brand-footer img { height: 120px; width: auto; }
.footer-links { display: flex; flex-wrap: wrap; gap: 10px 30px; }
.footer-links a { color: rgba(255,255,255,.85); text-decoration: none; font: 600 1rem var(--head); letter-spacing: .1em; text-transform: uppercase; }
.footer-links a:hover { color: var(--gold-light); }
.footer-bottom { display: flex; justify-content: space-between; gap: 8px 24px; flex-wrap: wrap; border-top: 1px solid rgba(255,255,255,.1); padding-top: 22px; font-size: .84rem; }
.footer-bottom p { margin: 0; }
.footer-bottom a { color: rgba(255,255,255,.75); text-decoration: none; }
.footer-bottom a:hover { color: var(--gold-light); }

/* Lightbox */
.lightbox { position: fixed; inset: 0; z-index: 100; background: rgba(8,14,22,.95); display: flex; align-items: center; justify-content: center; }
.lightbox[hidden] { display: none; }
.lb-figure { margin: 0; max-width: min(1200px, 86vw); }
.lb-figure img { max-height: 80vh; width: auto; max-width: 100%; margin: 0 auto; }
.lb-figure figcaption { display: flex; justify-content: space-between; color: rgba(255,255,255,.75); font-size: .92rem; padding-top: 14px; }
.lb-title { font: 600 1.15rem var(--head); text-transform: uppercase; letter-spacing: .04em; color: #fff; }
.lightbox button { position: absolute; background: none; border: 0; color: #fff; cursor: pointer; font: 300 3rem/1 var(--body); padding: 16px; opacity: .8; }
.lightbox button:hover { opacity: 1; }
.lb-close { top: 10px; right: 16px; }
.lb-prev { left: 12px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 12px; top: 50%; transform: translateY(-50%); }

/* Responsive */
@media (max-width: 1100px) {
  .nav { gap: 22px; }
  .steps { grid-template-columns: repeat(3, 1fr); row-gap: 36px; }
  .accred-inner { grid-template-columns: 1fr; gap: 18px; }
  .accred-logos { justify-content: flex-start; }
}

@media (max-width: 900px) {
  .header-call { margin-left: auto; margin-right: 0; height: 44px; padding: 0 14px; font-size: 1rem; }
  .menu-btn { display: flex; flex-direction: column; justify-content: center; gap: 5px; width: 44px; height: 44px; padding: 10px; background: none; border: 0; cursor: pointer; color: #fff; }
  .menu-btn span { display: block; height: 2px; background: currentColor; transition: transform .25s, opacity .25s; }
  .menu-btn[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .menu-btn[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .menu-btn[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .nav { position: fixed; top: 76px; left: 0; right: 0; bottom: 0; flex-direction: column; align-items: stretch; gap: 0; background: var(--navy); padding: 10px 24px 40px; transform: translateX(100%); visibility: hidden; transition: transform .3s, visibility .3s; }
  .nav.open { transform: none; visibility: visible; }
  .nav a { font-size: 1.5rem; padding: 16px 0; border-bottom: 1px solid rgba(255,255,255,.1); }
  .head { flex-direction: column; align-items: flex-start; gap: 16px; }
  .svc-grid, .mini-grid { grid-template-columns: 1fr 1fr; }
  .svc:last-child { grid-column: span 2; }
  .svc:last-child .svc-img { aspect-ratio: 16 / 8; }
  .proj-grid { grid-template-columns: 1fr 1fr; grid-template-rows: auto; }
  .proj { aspect-ratio: 4 / 3; }
  .proj-lg, .proj:nth-child(4) { grid-column: span 2; grid-row: auto; aspect-ratio: 16 / 9; }
  .gw-grid { grid-template-columns: 1fr 1fr; }
  .gw:last-child { grid-column: 1 / -1; }
  .about-grid, .contact-grid, .faq-grid { grid-template-columns: 1fr; gap: 44px; }
  .stats-inner { grid-template-columns: 1fr 1fr; }
  .stats-inner div:nth-child(3) { border-left: 0; padding-left: 0; }
  .stats-inner div:nth-child(n+3) { border-top: 1px solid rgba(255,255,255,.08); }
}

@media (max-width: 600px) {
  body { font-size: 16px; }
  .wrap { padding: 0 18px; }
  .section { padding: 70px 0; }
  .head { margin-bottom: 36px; }
  .brand img { height: 44px; }
  .header-inner { gap: 12px; }
  .header-call { font-size: 0; gap: 0; width: 44px; justify-content: center; padding: 0; }
  .header-call svg { width: 20px; height: 20px; }
  .hero-content { padding-top: 56px; padding-bottom: 48px; }
  .hero-shade { background: linear-gradient(to top, rgba(8,18,28,.92) 15%, rgba(8,18,28,.55) 70%, rgba(8,18,28,.6)); }
  .hero-actions .btn { width: 100%; text-align: center; }
  .stats-inner div { padding: 18px 12px 18px 0; }
  .stats-inner div:nth-child(2n) { padding-left: 14px; }
  .stats-inner strong { font-size: 1.6rem; }
  .svc-grid, .mini-grid, .gw-grid, .steps { grid-template-columns: 1fr; }
  .svc:last-child { grid-column: auto; }
  .svc:last-child .svc-img { aspect-ratio: 4 / 3; }
  .proj-grid { grid-template-columns: 1fr; }
  .proj, .proj-lg, .proj:nth-child(4) { grid-column: auto; aspect-ratio: 4 / 3; }
  .gw-feature { grid-row: auto; }
  .gw:last-child { grid-column: auto; }
  .about-photos { padding: 0 30px 40px 0; }
  .checks { grid-template-columns: 1fr; }
  .accred-logos img { height: 48px; }
  .field-row { grid-template-columns: 1fr; }
  .contact-form { padding: 26px 20px; }
  .footer-top { flex-direction: column; align-items: flex-start; }
  .footer-bottom { flex-direction: column; }
  .lb-prev, .lb-next { top: auto; bottom: 16px; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
