:root {
  --navy: #1F2F46;
  --navy-deep: #141E2C;
  --charcoal: #2E2E2E;
  --concrete: #D9D9D6;
  --concrete-deep: #B9B9B4;
  --gold: #C99A2E;
  --paper: #F4F2EC;
  --white: #FFFFFF;
  --line: rgba(31, 47, 70, 0.14);
  --line-light: rgba(255, 255, 255, 0.14);

  --font-display: 'Oswald', 'Arial Narrow', sans-serif;
  --font-body: 'IBM Plex Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-mono: 'IBM Plex Mono', 'Courier New', monospace;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--charcoal);
  background: var(--paper);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 28px;
}

img { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

/* ---------- Blueprint grid texture ---------- */
.grid-bg {
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 44px 44px;
}

.grid-bg-dark {
  background-image:
    linear-gradient(var(--line-light) 1px, transparent 1px),
    linear-gradient(90deg, var(--line-light) 1px, transparent 1px);
  background-size: 44px 44px;
}

/* ---------- Corner tick cards (survey / drawing registration marks) ---------- */
.tick-card {
  position: relative;
  background: var(--white);
  border: 1px solid var(--line);
  padding: 30px;
}

.tick-card::before,
.tick-card::after {
  content: '';
  position: absolute;
  width: 14px;
  height: 14px;
  border: 2px solid var(--gold);
}

.tick-card::before {
  top: -1px;
  left: -1px;
  border-right: none;
  border-bottom: none;
}

.tick-card::after {
  bottom: -1px;
  right: -1px;
  border-left: none;
  border-top: none;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--paper);
  border-bottom: 2px solid var(--navy);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 88px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.brand-icon { height: 52px; width: auto; }

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.brand-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 24px;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  color: var(--navy);
}

.brand-sub {
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 11.5px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--gold);
}

.site-nav { display: flex; align-items: center; gap: 8px; }

.site-nav a {
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 13px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--navy);
  padding: 10px 16px;
}

.site-nav a:hover { color: var(--gold); }

.nav-cta {
  background: var(--navy);
  color: var(--white) !important;
}

.nav-cta:hover { background: var(--gold) !important; color: var(--navy) !important; }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 32px;
  height: 32px;
  background: none;
  border: none;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--navy);
}

.mobile-nav {
  display: none;
  flex-direction: column;
  background: var(--paper);
  border-bottom: 2px solid var(--navy);
  position: sticky;
  top: 88px;
  z-index: 99;
}

.mobile-nav.open { display: flex; }

.mobile-nav a {
  padding: 16px 28px;
  border-top: 1px solid var(--line);
  font-family: var(--font-mono);
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 13px;
  color: var(--navy);
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  color: var(--white);
  padding: 84px 0 0;
  overflow: hidden;
}

.hero-photo {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
}

.hero-scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(20,30,44,0.88) 0%, rgba(20,30,44,0.80) 55%, var(--navy-deep) 100%);
}

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 800px;
  padding-bottom: 56px;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  color: var(--gold);
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 12.5px;
  margin-bottom: 18px;
}

.eyebrow::before {
  content: '';
  width: 22px;
  height: 2px;
  background: var(--gold);
  flex-shrink: 0;
}

.eyebrow-light { color: var(--gold); }

.hero h1 {
  font-family: var(--font-display);
  font-size: 58px;
  font-weight: 700;
  text-transform: uppercase;
  line-height: 1.05;
  letter-spacing: 0.01em;
  margin-bottom: 22px;
  text-wrap: balance;
}

.hero-sub {
  font-size: 18px;
  color: var(--concrete);
  max-width: 540px;
  margin-bottom: 36px;
}

.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 44px; }

.btn {
  display: inline-block;
  font-family: var(--font-mono);
  padding: 15px 26px;
  font-weight: 500;
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border: 1px solid transparent;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.btn-primary {
  background: var(--gold);
  color: var(--navy) !important;
}

.btn-primary:hover { background: var(--white); }

.btn-ghost {
  border-color: rgba(255,255,255,0.4);
  color: var(--white) !important;
}

.btn-ghost:hover { border-color: var(--gold); color: var(--gold) !important; }

.hero-badges {
  display: flex;
  gap: 0;
  flex-wrap: wrap;
  list-style: none;
}

.hero-badges li {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--concrete);
  padding: 14px 22px 14px 0;
  margin-right: 22px;
  border-top: 1px solid var(--line-light);
}

.hero-baseline {
  position: relative;
  z-index: 1;
  border-top: 1px solid var(--line-light);
  padding: 14px 0;
  display: flex;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(217,217,214,0.7);
}

/* ---------- Sections ---------- */
.section { padding: 88px 0; }

.section-alt { background: var(--white); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

.section-dark { background: var(--navy-deep); color: var(--white); }

.section-head { margin-bottom: 44px; max-width: 640px; }

.section h2 {
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  color: var(--navy);
  text-wrap: balance;
}

.section h2.light-heading { color: var(--white); }

.lead { font-size: 17px; max-width: 680px; color: var(--charcoal); margin-top: 10px; }

.section-dark .lead { color: var(--concrete); }

/* ---------- Services ---------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.service-card {
  display: block;
  transition: border-color 0.2s ease;
}

.service-card:hover { border-color: var(--gold); }

.service-card h3 {
  font-family: var(--font-display);
  color: var(--navy);
  font-size: 20px;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  margin-bottom: 16px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}

.service-card ul { list-style: none; }

.service-card li {
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding: 9px 0;
  font-size: 15px;
}

.service-card li::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--gold);
  flex-shrink: 0;
}

.additional-services {
  margin-top: 28px;
  font-family: var(--font-mono);
  color: var(--charcoal);
  opacity: 0.7;
  font-size: 13px;
}

/* ---------- Leadership ---------- */
.leadership-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

.leader-card h3 {
  font-family: var(--font-display);
  color: var(--navy);
  font-size: 22px;
  text-transform: uppercase;
  letter-spacing: 0.01em;
}

.leader-title {
  font-family: var(--font-mono);
  color: var(--gold);
  font-weight: 500;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin: 8px 0 16px;
}

.leader-card p:last-child { font-size: 15px; }

/* ---------- Experience ---------- */
.experience-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.experience-tag {
  display: inline-block;
  font-family: var(--font-mono);
  color: var(--gold);
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--gold);
}

.experience-card h3 {
  font-family: var(--font-display);
  color: var(--navy);
  font-size: 19px;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  margin-bottom: 6px;
}

.experience-client {
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 12.5px;
  color: var(--charcoal);
  opacity: 0.65;
  margin-bottom: 12px;
}

.experience-card p:last-child { font-size: 14.5px; }

.experience-note {
  margin-top: 28px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--charcoal);
  opacity: 0.55;
}

/* ---------- Process rail ---------- */
.process-rail {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}

.process-step {
  border-top: 2px solid var(--gold);
  padding-top: 18px;
}

.process-num {
  display: block;
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 13px;
  color: var(--gold);
  margin-bottom: 14px;
}

.process-step h3 {
  font-family: var(--font-display);
  color: var(--navy);
  font-size: 18px;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  margin-bottom: 10px;
}

.process-step p { font-size: 14.5px; }

/* ---------- Featured project ---------- */
.featured-project {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 0;
  border: 1px solid var(--line);
  margin-bottom: 28px;
  background: var(--white);
}

.featured-photo {
  position: relative;
  min-height: 320px;
  overflow: hidden;
}

.featured-photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.featured-copy {
  padding: 36px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.featured-copy h3 {
  font-family: var(--font-display);
  color: var(--navy);
  font-size: 26px;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  margin-bottom: 6px;
}

.featured-copy p:last-child { font-size: 15px; margin-top: 4px; }

.secondary-experience {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

/* ---------- About layout ---------- */
.about-layout {
  display: grid;
  grid-template-columns: 0.8fr 1.5fr;
  gap: 44px;
  align-items: stretch;
}

.about-photo {
  position: relative;
  border: 1px solid var(--line);
}

.about-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ---------- What Sets Us Apart ---------- */
.apart-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line-light);
  border: 1px solid var(--line-light);
}

.apart-item {
  background: var(--navy-deep);
  padding: 28px 24px;
}

.apart-item h3 {
  font-family: var(--font-display);
  color: var(--gold);
  font-size: 16px;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  margin-bottom: 12px;
}

.apart-item p {
  font-size: 14px;
  color: var(--concrete);
}

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.contact-item {
  display: block;
  background: var(--white);
  border: 1px solid var(--line);
  border-left: 3px solid var(--gold);
  padding: 24px 26px;
  transition: border-color 0.2s ease, background 0.2s ease;
}

a.contact-item:hover { background: var(--navy); border-left-color: var(--gold); }

a.contact-item:hover .contact-label { color: var(--gold); }

a.contact-item:hover .contact-value { color: var(--white); }

.contact-label {
  display: block;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gold);
  margin-bottom: 10px;
}

.contact-value {
  display: block;
  font-family: var(--font-mono);
  font-size: 17px;
  font-weight: 500;
  color: var(--navy);
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--navy-deep);
  color: var(--concrete);
  padding: 48px 0 0;
  border-top: 2px solid var(--gold);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 36px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--line-light);
}

.footer-col { display: flex; flex-direction: column; gap: 8px; }

.footer-brand {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 16px;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--white);
}

.footer-brand span { color: var(--gold); }

.footer-tagline {
  font-family: var(--font-mono);
  font-size: 12.5px;
  color: var(--concrete);
  opacity: 0.8;
  max-width: 260px;
  margin-top: 4px;
}

.footer-nap p, .footer-nap a {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--concrete);
}

.footer-nap a:hover { color: var(--gold); }

.footer-links { display: flex; flex-direction: column; gap: 9px; }

.footer-links a {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--concrete);
}

.footer-links a:hover { color: var(--gold); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  padding: 18px 0 22px;
}

.footer-bottom p {
  font-family: var(--font-mono);
  font-size: 11px;
  opacity: 0.6;
}

/* ---------- Interior page hero ---------- */
.hero-page { padding: 74px 0 0; }

.hero-page .hero-inner { max-width: 740px; padding-bottom: 48px; }

.hero-page h1 { font-size: 42px; }

.breadcrumb {
  display: flex;
  gap: 8px;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(217,217,214,0.75);
  margin-bottom: 22px;
}

.breadcrumb a { color: rgba(217,217,214,0.75); }

.breadcrumb a:hover { color: var(--gold); }

.breadcrumb .sep { color: var(--gold); }

.breadcrumb .current { color: var(--white); }

/* ---------- Grid modifiers ---------- */
.process-rail-3 { grid-template-columns: repeat(3, 1fr); }

.apart-grid-3 { grid-template-columns: repeat(3, 1fr); }

.services-grid-1 { grid-template-columns: 1fr; }

/* ---------- Area / county chips ---------- */
.area-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
  list-style: none;
}

.area-chip {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--navy);
  background: var(--white);
  border: 1px solid var(--line);
  border-left: 3px solid var(--gold);
  padding: 9px 16px;
}

.section-dark .area-chip {
  background: var(--navy-deep);
  color: var(--concrete);
  border-color: var(--line-light);
  border-left-color: var(--gold);
}

.area-note {
  margin-top: 18px;
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--charcoal);
  opacity: 0.7;
}

.section-dark .area-note { color: var(--concrete); opacity: 0.75; }

/* ---------- Map embed ---------- */
.map-frame {
  position: relative;
  width: 100%;
  padding-bottom: 40%;
  border: 1px solid var(--line);
  margin-top: 8px;
}

.map-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

/* ---------- Inline CTA band ---------- */
.cta-band {
  background: var(--navy-deep);
  color: var(--white);
  padding: 56px 0;
  text-align: center;
}

.cta-band h2 {
  font-family: var(--font-display);
  font-size: 28px;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  color: var(--white);
  margin-bottom: 10px;
}

.cta-band p { color: var(--concrete); margin-bottom: 26px; }

.cta-band .hero-actions { justify-content: center; margin-bottom: 0; }

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .services-grid,
  .leadership-grid,
  .experience-grid,
  .secondary-experience,
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .apart-grid, .apart-grid-3 { grid-template-columns: repeat(2, 1fr); }
  .process-rail, .process-rail-3 { grid-template-columns: repeat(2, 1fr); }
  .featured-project { grid-template-columns: 1fr; }
  .featured-photo { min-height: 240px; }
  .about-layout { grid-template-columns: 1fr; }
  .about-photo img { min-height: 240px; }
  .hero h1 { font-size: 40px; }
  .hero-page h1 { font-size: 34px; }
  .hero-sub { font-size: 16px; }
  .section { padding: 60px 0; }
  .section h2 { font-size: 28px; }
  .map-frame { padding-bottom: 65%; }
}

@media (max-width: 940px) {
  .site-nav { display: none; }
  .nav-toggle { display: flex; }
}

@media (max-width: 700px) {
  .hero { padding-top: 56px; }
  .hero-page { padding-top: 48px; }
  .hero-baseline { flex-direction: column; gap: 4px; }
  .footer-inner { gap: 28px; }
  .footer-bottom { flex-direction: column; }
}
