:root {
  --navy: #06264a;
  --navy-dark: #021a33;
  --navy-800: #0a325f;
  --cream: #f7f1e8;
  --cream-alt: #f4efe6;
  --rust: #a94722;
  --rust-2: #b6532c;
  --rust-glow: #d98a5c;
  --white: #ffffff;
  --ink: #06264a;
  --body: #4a5666;
  --body-light: rgba(247, 241, 232, 0.8);
  --border: rgba(6, 38, 74, 0.14);
  --border-light: rgba(247, 241, 232, 0.16);
  --blueprint: rgba(6, 38, 74, 0.05);
  --blueprint-light: rgba(247, 241, 232, 0.07);
  --shadow-sm: 0 6px 18px rgba(6, 38, 74, 0.08);
  --shadow-md: 0 16px 38px rgba(6, 38, 74, 0.13);
  --shadow-lg: 0 28px 66px rgba(6, 38, 74, 0.2);
  --serif: "Playfair Display", Georgia, "Times New Roman", serif;
  --sans: "Inter", "Work Sans", Arial, sans-serif;
  --container: min(1240px, calc(100% - 48px));
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
}

body {
  margin: 0;
  overflow-x: hidden;
  color: var(--body);
  background: var(--white);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.7;
}

body.nav-open { overflow: hidden; }

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }

:focus-visible { outline: 3px solid var(--rust); outline-offset: 3px; }
::selection { color: var(--cream); background: var(--rust); }

.container { width: var(--container); margin-inline: auto; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

.skip-link {
  position: fixed; top: 14px; left: 14px; z-index: 1000; padding: 10px 14px;
  color: var(--cream); background: var(--navy); border-radius: 4px; transform: translateY(-160%);
}
.skip-link:focus { transform: translateY(0); }

/* ===== TYPOGRAPHY ===== */

h1, h2, h3, h4 {
  margin: 0; color: var(--ink); font-family: var(--serif);
  font-weight: 600; line-height: 1.1; letter-spacing: -0.01em;
}
h1 { font-size: clamp(2.6rem, 5.2vw, 4.4rem); }
h2 { font-size: clamp(2rem, 3.8vw, 3rem); }
h3 { font-size: 1.3rem; }
p { margin: 0; }

.eyebrow {
  margin: 0 0 18px; color: var(--rust); font-family: var(--sans);
  font-size: 0.78rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase;
}

.eyebrow-line {
  display: inline-flex; align-items: center; gap: 14px;
}
.eyebrow-line::before {
  content: ""; width: 34px; height: 2px; background: var(--rust); flex: 0 0 auto;
}
.centered .eyebrow-line,
.eyebrow-line.center { justify-content: center; }

.section-heading { max-width: 780px; margin-bottom: 56px; }
.section-heading.centered { margin-inline: auto; text-align: center; }
.section-heading h2 { position: relative; }

/* ===== BLUEPRINT MOTIF ===== */

.blueprint-soft {
  background-image:
    linear-gradient(var(--blueprint) 1px, transparent 1px),
    linear-gradient(90deg, var(--blueprint) 1px, transparent 1px);
  background-size: 46px 46px;
}
.blueprint-dark {
  background-image:
    linear-gradient(var(--blueprint-light) 1px, transparent 1px),
    linear-gradient(90deg, var(--blueprint-light) 1px, transparent 1px);
  background-size: 54px 54px;
}

/* ===== BUTTONS ===== */

.button {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 54px; padding: 15px 30px; border: 1.5px solid transparent; border-radius: 4px;
  font-family: var(--sans); font-size: 0.82rem; font-weight: 700; letter-spacing: 0.09em;
  text-transform: uppercase; text-align: center; transition: all 200ms ease;
}
.button svg { width: 17px; height: 17px; }

.button-primary { color: var(--cream); background: var(--navy); border-color: var(--navy); }
.button-primary:hover { background: var(--navy-dark); transform: translateY(-2px); box-shadow: var(--shadow-md); }

.button-rust { color: var(--white); background: var(--rust); border-color: var(--rust); box-shadow: 0 10px 24px rgba(169, 71, 34, 0.28); }
.button-rust:hover { background: var(--rust-2); transform: translateY(-2px); box-shadow: 0 14px 30px rgba(169, 71, 34, 0.36); }

.button-outline { color: var(--navy); background: transparent; border-color: rgba(6, 38, 74, 0.35); }
.button-outline:hover { color: var(--rust); border-color: var(--rust); }

.button-outline-light { color: var(--cream); background: rgba(247, 241, 232, 0.06); border-color: rgba(247, 241, 232, 0.45); backdrop-filter: blur(4px); }
.button-outline-light:hover { border-color: var(--rust); color: var(--white); background: var(--rust); }

.button:disabled { cursor: wait; opacity: 0.6; transform: none; }

.text-link {
  display: inline-flex; align-items: center; gap: 8px; color: var(--navy);
  font-size: 0.8rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
  transition: gap 180ms ease, color 180ms ease;
}
.text-link svg { width: 16px; height: 16px; }
.text-link:hover { color: var(--rust); gap: 13px; }

/* ===== HEADER / NAVBAR ===== */

.site-header {
  position: sticky; top: 0; z-index: 100; background: var(--cream);
  border-bottom: 1px solid var(--border); transition: box-shadow 200ms ease;
}
.site-header.is-scrolled { box-shadow: var(--shadow-sm); }

.header-inner {
  min-height: 98px; display: flex; align-items: center; justify-content: space-between; gap: 28px;
}

.brand { display: inline-flex; align-items: center; gap: 16px; min-width: 0; }
.brand-logo { height: 74px; width: auto; object-fit: contain; }
.brand-copy { display: flex; flex-direction: column; line-height: 1; }
.brand-name {
  font-family: var(--serif); font-size: 1.72rem; font-weight: 700; color: var(--navy); letter-spacing: 0.01em;
}
.brand-subtitle {
  margin-top: 5px; font-family: var(--sans); font-size: 0.66rem; font-weight: 600;
  letter-spacing: 0.26em; text-transform: uppercase; color: var(--rust);
}

.primary-nav { display: flex; align-items: center; gap: 34px; }
.primary-nav a:not(.nav-cta) {
  position: relative; padding-block: 10px; color: var(--navy);
  font-size: 0.82rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase;
  transition: color 180ms ease;
}
.primary-nav a:not(.nav-cta)::after {
  content: ""; position: absolute; right: 0; bottom: 2px; left: 0; height: 2px;
  background: var(--rust); transform: scaleX(0); transform-origin: center; transition: transform 180ms ease;
}
.primary-nav a:not(.nav-cta):hover, .primary-nav a[aria-current="page"] { color: var(--rust); }
.primary-nav a:not(.nav-cta):hover::after, .primary-nav a[aria-current="page"]::after { transform: scaleX(1); }

.nav-cta {
  display: inline-flex; align-items: center; min-height: 48px; padding: 13px 24px;
  color: var(--white); background: var(--rust); border-radius: 4px; font-size: 0.76rem;
  font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  box-shadow: 0 10px 20px rgba(169, 71, 34, 0.24); transition: all 200ms ease; white-space: nowrap;
}
.nav-cta:hover { background: var(--rust-2); transform: translateY(-2px); }

.nav-toggle {
  display: none; width: 50px; height: 50px; flex: 0 0 50px;
  border: 1px solid var(--border); border-radius: 4px; background: var(--white);
}
.nav-toggle span:not(.sr-only) { display: block; width: 24px; height: 2px; margin: 5px auto; background: var(--navy); }

/* ===== HERO ===== */

.hero {
  position: relative; min-height: clamp(600px, 84vh, 800px);
  display: flex; align-items: center; overflow: hidden; color: var(--cream); isolation: isolate;
}
.hero-bg { position: absolute; inset: 0; z-index: -3; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; object-position: center; }

.hero-overlay {
  position: absolute; inset: 0; z-index: -2;
  background:
    linear-gradient(90deg, rgba(2, 26, 51, 0.96) 0%, rgba(2, 26, 51, 0.82) 34%, rgba(4, 22, 45, 0.46) 62%, rgba(4, 22, 45, 0.12) 100%),
    linear-gradient(0deg, rgba(2, 26, 51, 0.6) 0%, rgba(2, 26, 51, 0) 45%);
}
.hero-lines {
  position: absolute; inset: 0; z-index: -1; opacity: 0.5;
  background-image:
    linear-gradient(var(--blueprint-light) 1px, transparent 1px),
    linear-gradient(90deg, var(--blueprint-light) 1px, transparent 1px);
  background-size: 60px 60px;
  -webkit-mask-image: linear-gradient(90deg, #000 0%, rgba(0,0,0,0.35) 55%, transparent 85%);
  mask-image: linear-gradient(90deg, #000 0%, rgba(0,0,0,0.35) 55%, transparent 85%);
}
.hero::after {
  content: ""; position: absolute; right: 5%; bottom: -16%; z-index: -1;
  width: 42%; height: 74%; border-top: 1px solid rgba(217, 138, 92, 0.4);
  border-left: 1px solid rgba(217, 138, 92, 0.22); transform: skewX(-16deg);
}
.hero-content { position: relative; z-index: 1; padding: 96px 0; max-width: 660px; margin-right: auto; text-align: left; }
.hero-content .eyebrow { color: var(--rust-glow); }
.hero-content h1 { color: var(--white); margin-bottom: 26px; }
.hero-content h1 .accent { color: var(--rust-glow); }
.hero-lede {
  max-width: 560px; margin-bottom: 38px; color: rgba(247, 241, 232, 0.9); font-size: 1.12rem; line-height: 1.8;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 16px; }

/* ===== BRAND IDENTITY STRIP ===== */

.brand-strip {
  background: var(--navy-dark); color: var(--cream);
  border-top: 3px solid var(--rust); border-bottom: 1px solid var(--border-light);
}
.brand-strip-grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.brand-strip-item { display: flex; align-items: center; gap: 20px; padding: 36px 40px; position: relative; }
.brand-strip-item + .brand-strip-item::before {
  content: ""; position: absolute; left: 0; top: 22%; height: 56%; width: 1px; background: var(--border-light);
}
.brand-strip-icon { flex: 0 0 auto; color: var(--rust-glow); }
.brand-strip-icon svg { width: 34px; height: 34px; }
.brand-strip-flag { width: 38px; height: auto; border-radius: 2px; box-shadow: 0 0 0 1px rgba(247, 241, 232, 0.2); }
.brand-strip-text strong {
  display: block; font-family: var(--sans); font-size: 1.02rem; font-weight: 700; letter-spacing: 0.03em; color: var(--cream);
}
.brand-strip-text span {
  display: block; margin-top: 5px; color: var(--rust-glow);
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
}

/* ===== STATS ===== */

.stats { background: var(--cream); padding: 64px 0; }
.stats-frame {
  position: relative; padding: 20px 0;
  border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
}
.stats-frame::before, .stats-frame::after {
  content: ""; position: absolute; width: 14px; height: 14px; border: 2px solid var(--rust);
}
.stats-frame::before { top: -1px; left: -1px; border-right: 0; border-bottom: 0; }
.stats-frame::after { bottom: -1px; right: -1px; border-left: 0; border-top: 0; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { display: flex; align-items: center; gap: 18px; padding: 18px 34px; position: relative; }
.stat + .stat::before {
  content: ""; position: absolute; left: 0; top: 14%; height: 72%; width: 1px; background: var(--border);
}
.stat-icon { flex: 0 0 auto; color: var(--rust); }
.stat-icon svg { width: 44px; height: 44px; stroke-width: 1.4; }
.stat-number { font-family: var(--serif); font-size: clamp(2.2rem, 3vw, 2.9rem); font-weight: 700; color: var(--navy); line-height: 1; }
.stat-label { margin-top: 6px; font-size: 0.74rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--body); }

/* ===== SECTIONS ===== */

.section { padding: 104px 0; }
.section.cream { background: var(--cream); }
.section.cream-alt { background: var(--cream-alt); }
.section.white { background: var(--white); }

.section-cta { display: flex; justify-content: center; margin-top: 56px; }

/* ===== SERVICES SHOWCASE (homepage) ===== */

.svc-showcase {
  display: flex; flex-wrap: wrap; gap: 30px; justify-content: center; margin-top: 8px;
}
.svc-card {
  position: relative; flex: 1 1 350px; max-width: 400px; display: flex; flex-direction: column;
  background: var(--white); border: 1px solid var(--border); border-radius: 12px; overflow: hidden;
  box-shadow: var(--shadow-sm); transition: transform 240ms ease, box-shadow 240ms ease, border-color 240ms ease;
}
.svc-card:hover { transform: translateY(-10px); box-shadow: var(--shadow-lg); border-color: rgba(169, 71, 34, 0.4); }
.svc-media { position: relative; height: 218px; overflow: hidden; }
.svc-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 500ms ease; }
.svc-card:hover .svc-media img { transform: scale(1.06); }
.svc-media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(6, 38, 74, 0) 40%, rgba(6, 38, 74, 0.35));
}
.svc-badge {
  position: absolute; left: 26px; top: 187px; z-index: 2; width: 62px; height: 62px;
  display: flex; align-items: center; justify-content: center;
  background: var(--navy); color: var(--cream); border-radius: 50%;
  border: 3px solid var(--cream); box-shadow: var(--shadow-md);
}
.svc-badge svg { width: 28px; height: 28px; }
.svc-body { padding: 44px 30px 32px; display: flex; flex-direction: column; flex: 1; }
.svc-body h3 { font-size: 1.35rem; margin-bottom: 12px; }
.svc-body p { flex: 1; color: var(--body); font-size: 0.97rem; line-height: 1.65; margin-bottom: 20px; }
.svc-link {
  display: inline-flex; align-items: center; gap: 8px; color: var(--rust);
  font-size: 0.76rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
  transition: gap 180ms ease;
}
.svc-link svg { width: 15px; height: 15px; }
.svc-link:hover { gap: 12px; }

/* legacy service grid (services subpage) */
.services-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 22px; }
.service-card {
  display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--border);
  border-radius: 10px; padding: 34px 26px; box-shadow: var(--shadow-sm);
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: rgba(169, 71, 34, 0.4); }
.service-badge {
  width: 70px; height: 70px; margin-bottom: 22px; display: flex; align-items: center; justify-content: center;
  background: var(--navy); color: var(--cream); border-radius: 50%;
}
.service-badge svg { width: 32px; height: 32px; }
.service-card h3 { font-size: 1.2rem; letter-spacing: 0.02em; text-transform: uppercase; margin-bottom: 12px; }
.service-card p { font-size: 0.95rem; line-height: 1.6; color: var(--body); }
.service-thumb { width: 100%; height: 128px; margin-top: 20px; object-fit: cover; border-radius: 6px; }
.service-list { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 11px; }
.service-list li { position: relative; padding-left: 27px; color: var(--body); font-size: 0.93rem; }
.service-list li svg { position: absolute; left: 0; top: 4px; width: 16px; height: 16px; color: var(--rust); }

/* ===== ABOUT SPLIT ===== */

.about-split { display: grid; grid-template-columns: 0.9fr 1.1fr; border-radius: 12px; overflow: hidden; box-shadow: var(--shadow-md); }
.about-panel {
  position: relative; background: var(--navy); color: var(--cream); padding: 70px 56px;
  display: flex; flex-direction: column; justify-content: center; overflow: hidden;
}
.about-panel::before {
  content: ""; position: absolute; inset: 0; opacity: 0.5;
  background-image:
    linear-gradient(var(--blueprint-light) 1px, transparent 1px),
    linear-gradient(90deg, var(--blueprint-light) 1px, transparent 1px);
  background-size: 46px 46px;
}
.about-panel > * { position: relative; }
.about-panel .eyebrow { color: var(--rust-glow); }
.about-panel h2 { color: var(--cream); margin-bottom: 24px; }
.about-panel p { color: var(--body-light); font-size: 1.04rem; line-height: 1.8; margin-bottom: 34px; }
.about-cards { background: var(--white); display: grid; grid-template-columns: repeat(3, 1fr); }
.about-card { padding: 52px 32px; text-align: center; border-right: 1px solid var(--border); }
.about-card:last-child { border-right: none; }
.about-card-icon {
  width: 62px; height: 62px; margin: 0 auto 24px; display: flex; align-items: center; justify-content: center;
  color: var(--rust); border: 1.5px solid rgba(169, 71, 34, 0.3); border-radius: 50%;
}
.about-card-icon svg { width: 28px; height: 28px; }
.about-card h3 { font-size: 1.12rem; text-transform: uppercase; letter-spacing: 0.04em; margin-bottom: 14px; }
.about-card p { font-size: 0.92rem; color: var(--body); line-height: 1.65; }

/* ===== PROJECTS (subpages) ===== */

.projects-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; margin-bottom: 44px; }
.projects-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.project-card { background: var(--white); border: 1px solid var(--border); border-radius: 10px; overflow: hidden; transition: transform 220ms ease, box-shadow 220ms ease; }
.project-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.project-image { width: 100%; height: 210px; object-fit: cover; }
.project-body { padding: 26px 24px 28px; }
.project-title { font-family: var(--serif); font-size: 1.24rem; font-weight: 600; color: var(--navy); margin-bottom: 10px; }
.project-location { display: flex; align-items: center; gap: 7px; color: var(--body); font-size: 0.86rem; margin-bottom: 14px; }
.project-location svg { width: 15px; height: 15px; color: var(--rust); flex: 0 0 auto; }
.project-category { color: var(--rust); font-size: 0.72rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; padding-top: 12px; border-top: 1px solid var(--border); }

/* ===== WHY CHOOSE ===== */

.why { background: var(--cream-alt); padding: 96px 0; }
.why-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 22px; }
.why-item {
  display: flex; flex-direction: column; align-items: center; text-align: center;
  padding: 38px 24px; background: var(--white); border: 1px solid var(--border);
  border-top: 3px solid var(--rust); border-radius: 10px; box-shadow: var(--shadow-sm);
  transition: transform 220ms ease, box-shadow 220ms ease;
}
.why-item:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.why-icon { width: 60px; height: 60px; margin-bottom: 20px; display: flex; align-items: center; justify-content: center; color: var(--rust); }
.why-icon svg { width: 40px; height: 40px; stroke-width: 1.4; }
.why-item h3 { font-family: var(--sans); font-size: 0.98rem; font-weight: 700; color: var(--navy); margin-bottom: 10px; letter-spacing: 0.02em; }
.why-item p { font-size: 0.84rem; color: var(--body); line-height: 1.6; }

/* ===== CTA BAND ===== */

.cta-band {
  position: relative; background: var(--navy-dark); color: var(--cream);
  padding: 76px 0; border-top: 3px solid var(--rust); border-bottom: 1px solid var(--border-light); overflow: hidden;
}
.cta-band::before {
  content: ""; position: absolute; inset: 0; opacity: 0.6;
  background-image:
    linear-gradient(var(--blueprint-light) 1px, transparent 1px),
    linear-gradient(90deg, var(--blueprint-light) 1px, transparent 1px);
  background-size: 54px 54px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 70%);
  mask-image: linear-gradient(90deg, transparent, #000 70%);
}
.cta-band-inner { position: relative; display: grid; grid-template-columns: 1.3fr auto auto; align-items: center; gap: 48px; }
.cta-band h2 { color: var(--cream); margin-bottom: 12px; }
.cta-band p { color: var(--body-light); max-width: 560px; font-size: 1.02rem; }
.cta-phone { display: flex; align-items: center; gap: 16px; }
.cta-phone-icon {
  width: 56px; height: 56px; flex: 0 0 auto; display: flex; align-items: center; justify-content: center;
  border: 1.5px solid rgba(247, 241, 232, 0.28); border-radius: 50%; color: var(--cream);
}
.cta-phone-icon svg { width: 24px; height: 24px; }
.cta-phone-label { font-size: 0.74rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--rust-glow); }
.cta-phone-number { display: block; font-family: var(--serif); font-size: 1.55rem; font-weight: 700; color: var(--cream); }

/* ===== FOOTER ===== */

.site-footer { position: relative; background: var(--navy-dark); color: var(--body-light); padding: 84px 0 0; overflow: hidden; }
.site-footer::before {
  content: ""; position: absolute; inset: 0; opacity: 0.4;
  background-image:
    linear-gradient(var(--blueprint-light) 1px, transparent 1px),
    linear-gradient(90deg, var(--blueprint-light) 1px, transparent 1px);
  background-size: 60px 60px;
  -webkit-mask-image: linear-gradient(180deg, #000, transparent 55%);
  mask-image: linear-gradient(180deg, #000, transparent 55%);
}
.site-footer .container { position: relative; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.1fr 1fr; gap: 44px; padding-bottom: 56px; }
.footer-brand-block { max-width: 340px; }
.footer-logo-card {
  display: inline-flex; align-items: center; justify-content: center; padding: 24px 30px;
  background: var(--cream); border-radius: 12px; box-shadow: 0 16px 34px rgba(2, 26, 51, 0.45); margin-bottom: 24px;
}
.footer-logo { height: 96px; width: auto; object-fit: contain; }
.footer-statement { color: var(--body-light); font-size: 0.96rem; line-height: 1.7; margin-bottom: 24px; }
.footer-social { display: flex; gap: 12px; }
.footer-social a {
  width: 42px; height: 42px; display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--border-light); border-radius: 50%; color: var(--cream); transition: all 200ms ease;
}
.footer-social a:hover { background: var(--rust); border-color: var(--rust); color: var(--white); }
.footer-social svg { width: 18px; height: 18px; }
.footer-col h3 { font-family: var(--sans); font-size: 0.8rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--rust-glow); margin-bottom: 22px; }
.footer-col nav, .footer-col .footer-links { display: grid; gap: 13px; }
.footer-col a, .footer-col p { color: var(--body-light); font-size: 0.93rem; line-height: 1.5; transition: color 180ms ease; }
.footer-col a:hover { color: var(--rust-glow); }
.footer-contact-item { display: flex; align-items: flex-start; gap: 11px; }
.footer-contact-item svg { width: 17px; height: 17px; flex: 0 0 auto; margin-top: 3px; color: var(--rust-glow); }
.footer-chicago-flag { width: 48px; height: auto; border-radius: 3px; margin-bottom: 14px; box-shadow: 0 0 0 1px rgba(247, 241, 232, 0.18); }
.footer-bottom {
  border-top: 1px solid var(--border-light); padding: 26px 0; display: flex; align-items: center;
  justify-content: space-between; flex-wrap: wrap; gap: 14px; font-size: 0.82rem; color: rgba(247, 241, 232, 0.6);
}
.footer-bottom-tag { letter-spacing: 0.14em; text-transform: uppercase; font-size: 0.72rem; color: var(--rust-glow); }
.footer-legal { display: flex; gap: 18px; }
.footer-legal a:hover { color: var(--rust-glow); }

/* ===== PAGE HERO (subpages) ===== */

.page-hero {
  position: relative; background: linear-gradient(120deg, var(--navy) 0%, var(--navy-dark) 100%);
  color: var(--cream); padding: 118px 0 84px; border-bottom: 3px solid var(--rust); overflow: hidden;
}
.page-hero::before {
  content: ""; position: absolute; inset: 0; opacity: 0.5;
  background-image:
    linear-gradient(var(--blueprint-light) 1px, transparent 1px),
    linear-gradient(90deg, var(--blueprint-light) 1px, transparent 1px);
  background-size: 54px 54px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 80%);
  mask-image: linear-gradient(90deg, transparent, #000 80%);
}
.page-hero::after {
  content: ""; position: absolute; right: -6%; bottom: -55%; width: 42%; height: 130%;
  border: 1px solid rgba(217, 138, 92, 0.28); transform: skewX(-16deg);
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero .eyebrow { color: var(--rust-glow); }
.page-hero h1 { color: var(--cream); max-width: 880px; }
.page-hero p { max-width: 720px; margin-top: 22px; color: var(--body-light); font-size: 1.1rem; }

/* ===== POLICY / CONTENT ===== */

.policy-content { max-width: 860px; }
.policy-content article { padding: 30px 0; border-bottom: 1px solid var(--border); }
.policy-content article:first-child { padding-top: 0; }
.policy-content h2 { font-size: 1.7rem; margin-bottom: 14px; }
.policy-content p, .policy-content li { color: var(--body); font-size: 0.98rem; }
.policy-content a { color: var(--rust); text-decoration: underline; text-underline-offset: 3px; }
.policy-content ul { margin: 14px 0 0; padding-left: 22px; }

/* ===== GENERIC SPLIT / INFO CARDS ===== */

.split-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.info-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.info-card { background: var(--white); border: 1px solid var(--border); border-top: 3px solid var(--rust); border-radius: 10px; padding: 34px 28px; }
.info-card h3 { font-size: 1.14rem; margin-bottom: 12px; }
.info-card p { font-size: 0.93rem; color: var(--body); line-height: 1.65; }

/* ===== CONTACT ===== */

.contact-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 56px; align-items: start; }
.contact-detail { margin-top: 32px; display: grid; gap: 24px; }
.contact-detail-item { display: flex; align-items: flex-start; gap: 14px; }
.contact-detail-item svg { width: 22px; height: 22px; flex: 0 0 auto; color: var(--rust); margin-top: 3px; }
.contact-detail-item .label { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--body); margin-bottom: 3px; }
.contact-detail-item a, .contact-detail-item p { color: var(--navy); font-weight: 600; }
.contact-form { background: var(--white); border: 1px solid var(--border); border-radius: 12px; padding: 40px; box-shadow: var(--shadow-sm); display: grid; gap: 20px; }
.form-row { display: grid; gap: 8px; }
.form-row label { font-size: 0.8rem; font-weight: 700; color: var(--navy); }
.contact-form input, .contact-form select, .contact-form textarea {
  width: 100%; padding: 14px 15px; color: var(--ink); background: var(--cream); border: 1px solid var(--border); border-radius: 5px;
}
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { border-color: var(--rust); background: var(--white); }
.contact-form textarea { resize: vertical; }
.form-status { min-height: 22px; font-weight: 600; color: var(--body); }
.form-status.is-success { color: #2f7d4f; }
.form-status.is-error { color: var(--rust); }
.direct-email-link { color: var(--rust); font-weight: 700; text-decoration: underline; text-underline-offset: 4px; }

/* ===== COOKIE BANNER ===== */

.cookie-banner {
  position: fixed; right: 18px; bottom: 18px; left: 18px; z-index: 300; max-width: 1000px; margin-inline: auto;
  padding: 24px 28px; color: var(--cream); background: var(--navy-dark);
  border: 1px solid rgba(169, 71, 34, 0.4); border-radius: 12px; box-shadow: var(--shadow-lg);
  transform: translateY(150%); opacity: 0; transition: transform 300ms ease, opacity 300ms ease;
}
.cookie-banner.is-visible { transform: translateY(0); opacity: 1; }
.cookie-banner-inner { display: flex; flex-wrap: wrap; align-items: center; gap: 20px; }
.cookie-banner-text { flex: 1 1 340px; margin: 0; color: var(--body-light); font-size: 0.92rem; line-height: 1.6; }
.cookie-banner-text a { color: var(--rust-glow); text-decoration: underline; text-underline-offset: 3px; }
.cookie-banner-prefs { flex: 1 1 100%; display: grid; gap: 12px; padding: 16px 20px; background: rgba(247, 241, 232, 0.05); border: 1px solid var(--border-light); border-radius: 6px; }
.cookie-pref-item { display: flex; align-items: center; gap: 10px; color: var(--body-light); font-size: 0.88rem; font-weight: 600; }
.cookie-pref-item input { width: 16px; height: 16px; accent-color: var(--rust); }
.cookie-banner-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-left: auto; }
.cookie-banner-actions .button { min-height: 44px; padding: 11px 20px; }

/* ===== RESPONSIVE ===== */

@media (max-width: 1160px) {
  .primary-nav { gap: 24px; }
  .primary-nav a:not(.nav-cta) { font-size: 0.76rem; }
  .brand-logo { height: 64px; }
  .brand-name { font-size: 1.5rem; }
  .services-grid, .why-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; row-gap: 46px; }
}

@media (max-width: 1000px) {
  .header-inner { min-height: 78px; }
  .brand-logo { height: 56px; }
  .brand-name { font-size: 1.35rem; }
  .brand-subtitle { font-size: 0.6rem; }
  .nav-toggle { display: block; position: fixed; top: 14px; right: 16px; z-index: 210; }
  .primary-nav {
    position: fixed; inset: 78px 16px auto; flex-direction: column; align-items: stretch; gap: 0;
    padding: 12px; background: var(--cream); border: 1px solid var(--border); border-radius: 10px;
    box-shadow: var(--shadow-lg); transform: translateY(-14px); opacity: 0; pointer-events: none;
    transition: transform 200ms ease, opacity 200ms ease;
  }
  .primary-nav.is-open { transform: translateY(0); opacity: 1; pointer-events: auto; }
  .primary-nav a:not(.nav-cta) { padding: 14px; border-bottom: 1px solid var(--border); font-size: 0.85rem; }
  .primary-nav a:not(.nav-cta)::after { display: none; }
  .nav-cta { margin-top: 10px; justify-content: center; }
  .brand-strip-grid { grid-template-columns: 1fr; }
  .brand-strip-item + .brand-strip-item::before { top: 0; left: 40px; right: 40px; width: auto; height: 1px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); row-gap: 34px; }
  .stat:nth-child(3)::before { display: none; }
  .about-split { grid-template-columns: 1fr; }
  .about-cards { grid-template-columns: repeat(3, 1fr); }
  .projects-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: repeat(3, 1fr); gap: 22px; }
  .cta-band-inner { grid-template-columns: 1fr; gap: 30px; }
  .split-2, .contact-grid { grid-template-columns: 1fr; gap: 46px; }
}

@media (max-width: 720px) {
  :root { --container: calc(100% - 36px); }
  .section { padding: 68px 0; }
  .hero-content { padding: 72px 0; }
  .services-grid, .projects-grid, .why-grid, .about-cards, .info-cards { grid-template-columns: 1fr; }
  .svc-card { flex: 1 1 100%; max-width: 460px; }
  .stats-grid { grid-template-columns: 1fr; }
  .stat { justify-content: flex-start; }
  .stat + .stat::before { display: none; }
  .about-card { border-right: none; border-bottom: 1px solid var(--border); }
  .about-card:last-child { border-bottom: none; }
  .brand-logo { height: 50px; }
  .brand-name { font-size: 1.2rem; }
  .hero-actions { flex-direction: column; }
  .hero-actions .button { width: 100%; }
  .projects-head { flex-direction: column; align-items: flex-start; gap: 18px; }
  .footer-grid { grid-template-columns: 1fr; gap: 38px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .cookie-banner { right: 10px; bottom: 10px; left: 10px; padding: 20px; }
  .cookie-banner-actions { width: 100%; }
  .cookie-banner-actions .button { flex: 1 1 auto; }
  .contact-form { padding: 26px; }
  .footer-logo { height: 84px; }
}

/* ===== ABOUT REAL IMAGE ===== */
.about-media { position: relative; }
.about-media img {
  width: 100%; height: 100%; min-height: 400px; object-fit: cover;
  border-radius: 12px; box-shadow: var(--shadow-md);
}
.about-media::after {
  content: ""; position: absolute; left: -14px; bottom: -14px; width: 120px; height: 120px;
  border-left: 2px solid var(--rust); border-bottom: 2px solid var(--rust); border-radius: 0 0 0 12px;
}
.about-text .eyebrow { margin-top: 4px; }
.about-text > p { margin-top: 18px; color: var(--body); font-size: 1.04rem; line-height: 1.8; }

.mvv-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 60px; }
.mvv-card {
  background: var(--white); border: 1px solid var(--border); border-top: 3px solid var(--rust);
  border-radius: 10px; padding: 34px 28px;
}
.mvv-card .about-card-icon { margin: 0 0 18px; }
.mvv-card h3 { font-size: 1.1rem; text-transform: uppercase; letter-spacing: 0.04em; margin-bottom: 12px; }
.mvv-card p { font-size: 0.93rem; color: var(--body); line-height: 1.65; }

/* ===== FEATURED PROJECTS SHOWCASE ===== */
.proj-showcase { display: flex; flex-wrap: wrap; gap: 26px; justify-content: center; margin-top: 8px; }
.proj-showcase .project-card { flex: 1 1 340px; max-width: 400px; display: flex; flex-direction: column; }
.proj-showcase .project-image { height: 232px; }
.proj-showcase .project-body { display: flex; flex-direction: column; flex: 1; }
.proj-cat { color: var(--rust); font-size: 0.72rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 10px; }
.proj-desc { margin-top: 12px; color: var(--body); font-size: 0.9rem; line-height: 1.62; }

/* ===== WORK IN PROGRESS GALLERY ===== */
.wip-gallery { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: 212px; gap: 16px; }
.wip-item { position: relative; overflow: hidden; border-radius: 8px; border: 1px solid var(--border); }
.wip-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 600ms ease; }
.wip-item:hover img { transform: scale(1.06); }
.wip-item::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(2,26,51,0) 42%, rgba(2,26,51,0.85)); }
.wip-cap {
  position: absolute; left: 16px; bottom: 14px; z-index: 1; color: var(--cream);
  font-size: 0.74rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
}
.wip-feature { grid-column: span 2; grid-row: span 2; }

@media (max-width: 900px) {
  .mvv-grid { grid-template-columns: 1fr; }
  .wip-gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 180px; }
  .wip-feature { grid-column: span 2; grid-row: span 1; }
}
@media (max-width: 560px) {
  .wip-gallery { grid-template-columns: 1fr; grid-auto-rows: 220px; }
  .wip-feature { grid-column: span 1; }
  .about-media img { min-height: 280px; }
}

/* ===== VALUE / CREDIBILITY STRIP ===== */
.value-strip { display: grid; grid-template-columns: repeat(4, 1fr); }
.value-item { display: flex; align-items: center; gap: 16px; padding: 18px 30px; position: relative; }
.value-item + .value-item::before {
  content: ""; position: absolute; left: 0; top: 14%; height: 72%; width: 1px; background: var(--border);
}
.value-icon { flex: 0 0 auto; color: var(--rust); }
.value-icon svg { width: 40px; height: 40px; stroke-width: 1.4; }
.value-title { font-family: var(--serif); font-size: 1.14rem; font-weight: 600; color: var(--navy); line-height: 1.15; }
.value-sub { margin-top: 7px; font-size: 0.78rem; color: var(--body); line-height: 1.5; letter-spacing: 0.02em; }

@media (max-width: 1000px) {
  .value-strip { grid-template-columns: repeat(2, 1fr); row-gap: 30px; }
  .value-item:nth-child(3)::before { display: none; }
}
@media (max-width: 620px) {
  .value-strip { grid-template-columns: 1fr; }
  .value-item::before { display: none !important; }
  .value-item { justify-content: flex-start; }
}

/* ===== SERVICE TILES (poster style) ===== */
.svc-tiles { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; }
.svc-tile {
  display: flex; flex-direction: column; align-items: center; text-align: center;
  background: var(--white); border: 1px solid var(--border); border-radius: 10px;
  padding: 32px 20px 22px; box-shadow: var(--shadow-sm);
  transition: transform 240ms ease, box-shadow 240ms ease, border-color 240ms ease;
}
.svc-tile:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); border-color: rgba(169, 71, 34, 0.4); }
.svc-tile.active { border-color: var(--rust); box-shadow: var(--shadow-md); }
.svc-tile-badge {
  width: 62px; height: 62px; display: flex; align-items: center; justify-content: center;
  background: var(--navy); color: var(--cream); border-radius: 50%; margin-bottom: 20px;
}
.svc-tile-badge svg { width: 28px; height: 28px; }
.svc-tile h3 { font-size: 1.1rem; text-transform: uppercase; letter-spacing: 0.03em; margin-bottom: 12px; }
.svc-tile p { color: var(--body); font-size: 0.89rem; line-height: 1.58; }
.svc-tile-thumb {
  width: 100%; height: 134px; object-fit: cover; border-radius: 7px;
  margin-top: auto; margin-bottom: 16px;
}
.svc-tile-link {
  display: inline-flex; align-items: center; gap: 7px; color: var(--rust);
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; transition: gap 180ms ease;
}
.svc-tile-link svg { width: 14px; height: 14px; }
.svc-tile-link:hover { gap: 11px; }

@media (max-width: 1160px) { .svc-tiles { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 760px) { .svc-tiles { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .svc-tiles { grid-template-columns: 1fr; } }

/* ===== PAGE HERO IMAGE VARIANT ===== */
.page-hero.has-image { background: var(--navy-dark); }
.page-hero-media { position: absolute; inset: 0; z-index: 0; }
.page-hero-media img { width: 100%; height: 100%; object-fit: cover; }
.page-hero-overlay {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(120deg, rgba(2,26,51,0.94) 0%, rgba(2,26,51,0.78) 52%, rgba(2,26,51,0.52) 100%);
}
.page-hero.has-image::before { display: none; }
.page-hero.has-image .container { position: relative; z-index: 2; }
.page-hero.has-image::after { z-index: 2; }

/* ===== SERVICE FEATURE ROWS ===== */
.split-2.reverse .about-media { order: 2; }
.svc-copy .svc-index {
  display: inline-flex; align-items: center; gap: 12px; color: var(--rust);
  font-size: 0.8rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
}
.svc-copy .svc-index::before { content: ""; width: 30px; height: 2px; background: var(--rust); }
.svc-copy h2 { margin: 16px 0 18px; }
.svc-copy > p { color: var(--body); font-size: 1.05rem; line-height: 1.8; }
.svc-copy .service-list { margin-top: 24px; }
.svc-copy .service-list li { font-size: 0.98rem; }

/* ===== ABOUT IMAGE BAND ===== */
.about-band {
  position: relative; border-radius: 12px; overflow: hidden; min-height: 360px;
  display: flex; align-items: center; box-shadow: var(--shadow-md);
}
.about-band img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.about-band::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(2,26,51,0.92) 0%, rgba(2,26,51,0.6) 60%, rgba(2,26,51,0.28) 100%);
}
.about-band-inner { position: relative; z-index: 1; padding: 54px; max-width: 600px; }
.about-band-inner h2 { color: var(--cream); }
.about-band-inner p { color: var(--body-light); margin-top: 14px; font-size: 1.02rem; line-height: 1.75; }

@media (max-width: 1000px) {
  .split-2.reverse .about-media { order: 0; }
  .about-band-inner { padding: 36px 28px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}
