:root {
  --green-950: #081811;
  --green-900: #102b22;
  --green-800: #174231;
  --green-700: #1f624a;
  --green-600: #287659;
  --gold: #e8b44a;
  --gold-light: #efc66e;
  --ink: #111614;
  --muted: #64726c;
  --paper: #f4f6f3;
  --white: #fff;
  --line: #d8ddd9;
  --font-display: "Barlow Condensed", Impact, sans-serif;
  --font-body: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --shadow: 0 20px 55px rgb(8 24 17 / 15%);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: var(--font-body); font-size: 1rem; line-height: 1.65; }
body.menu-open { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
.container { width: min(1180px, calc(100% - 40px)); margin-inline: auto; }
.section { padding: 104px 0; }
.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; z-index: 9999; top: 12px; left: 12px; transform: translateY(-150%); padding: 10px 16px; color: #000; background: var(--gold); font-weight: 700; }
.skip-link:focus { transform: none; }

.contact-ribbon { color: #dce8e2; background: var(--green-950); font-size: .78rem; font-weight: 600; letter-spacing: .04em; }
.ribbon-inner { display: flex; min-height: 34px; align-items: center; justify-content: space-between; }
.ribbon-inner a { color: var(--gold-light); }
.site-header { position: sticky; z-index: 50; top: 0; color: #fff; background: rgb(16 43 34 / 96%); box-shadow: 0 4px 24px rgb(0 0 0 / 14%); backdrop-filter: blur(12px); }
.nav-wrap { display: flex; min-height: 78px; align-items: center; justify-content: space-between; }
.brand { width: 220px; }
.brand img { width: 100%; }
.main-nav { display: flex; align-items: center; gap: 31px; font-size: .87rem; font-weight: 700; letter-spacing: .035em; }
.main-nav > a:not(.nav-call) { position: relative; padding: 28px 0; }
.main-nav > a:not(.nav-call)::after { position: absolute; right: 0; bottom: 20px; left: 0; height: 2px; content: ""; transform: scaleX(0); background: var(--gold); transition: transform .2s ease; }
.main-nav > a:hover::after, .main-nav > a:focus-visible::after { transform: scaleX(1); }
.nav-call { padding: 11px 18px; color: #102b22; background: var(--gold); text-transform: uppercase; }
.nav-call:hover { background: var(--gold-light); }
.menu-toggle { display: none; width: 46px; height: 44px; border: 0; background: transparent; cursor: pointer; }
.menu-toggle > span:not(.sr-only) { display: block; width: 25px; height: 2px; margin: 5px auto; background: #fff; transition: .2s; }

.hero { position: relative; min-height: 720px; overflow: hidden; color: #fff; background: var(--green-950); }
.hero-image, .hero-shade, .hero-grid { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-image { object-fit: cover; object-position: center 48%; }
.hero-shade { background: linear-gradient(90deg, rgb(4 15 10 / 96%) 0%, rgb(8 27 19 / 88%) 40%, rgb(8 24 17 / 36%) 75%, rgb(8 24 17 / 12%) 100%); }
.hero-grid { opacity: .12; background-image: linear-gradient(rgb(255 255 255 / 12%) 1px, transparent 1px), linear-gradient(90deg, rgb(255 255 255 / 12%) 1px, transparent 1px); background-size: 56px 56px; mask-image: linear-gradient(90deg, #000, transparent 72%); }
.hero-content { position: relative; z-index: 2; display: flex; min-height: 720px; align-items: flex-start; justify-content: center; flex-direction: column; padding-block: 75px; }
.eyebrow { display: flex; align-items: center; gap: 11px; margin: 0 0 16px; color: var(--gold-light); font-size: .78rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.eyebrow span { width: 38px; height: 3px; background: currentColor; }
.eyebrow.dark { color: var(--green-700); }
.eyebrow.light { color: var(--gold-light); }
h1, h2, h3 { margin-top: 0; font-family: var(--font-display); line-height: .98; text-transform: uppercase; }
h1 { max-width: 800px; margin-bottom: 26px; font-size: clamp(4.5rem, 9.5vw, 8.25rem); letter-spacing: -.035em; }
h2 { margin-bottom: 20px; font-size: clamp(3rem, 5.5vw, 5rem); letter-spacing: -.025em; }
h3 { font-size: 1.75rem; letter-spacing: -.01em; }
.hero-copy { max-width: 690px; margin: 0 0 32px; color: #e0e9e4; font-size: 1.15rem; line-height: 1.7; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.button { display: inline-flex; min-height: 54px; align-items: center; justify-content: center; gap: 10px; padding: 13px 22px; border: 1px solid transparent; font-size: .87rem; font-weight: 800; letter-spacing: .035em; text-transform: uppercase; transition: transform .18s ease, background .18s ease, border-color .18s ease; }
.button:hover { transform: translateY(-2px); }
.button svg { width: 19px; fill: none; stroke: currentColor; stroke-width: 2; }
.button-gold { color: #102b22; background: var(--gold); }
.button-gold:hover { background: var(--gold-light); }
.button-ghost { color: #fff; border-color: rgb(255 255 255 / 45%); background: rgb(0 0 0 / 12%); }
.button-ghost:hover { border-color: #fff; background: rgb(255 255 255 / 9%); }
.hero-proof { display: flex; gap: 0; margin-top: 44px; color: #c8d4ce; font-size: .82rem; text-transform: uppercase; letter-spacing: .06em; }
.hero-proof span { padding: 0 25px; border-left: 1px solid rgb(255 255 255 / 25%); }
.hero-proof span:first-child { padding-left: 0; border-left: 0; }
.hero-proof strong { color: #fff; }

.section-heading { margin-bottom: 50px; }
.split-heading { display: grid; grid-template-columns: 1.25fr .75fr; align-items: end; gap: 80px; }
.split-heading h2 { margin-bottom: 0; }
.split-heading > p { margin: 0 0 7px; color: var(--muted); font-size: 1.05rem; }
.service-grid { display: grid; overflow: hidden; border: 1px solid var(--line); grid-template-columns: repeat(3, 1fr); background: var(--line); gap: 1px; box-shadow: var(--shadow); }
.service-card { position: relative; min-height: 250px; padding: 38px 34px 34px; overflow: hidden; background: #fff; }
.service-card::after { position: absolute; right: -26px; bottom: -26px; width: 70px; height: 70px; border: 1px solid #e2e7e3; content: ""; transform: rotate(45deg); }
.service-card h3 { margin: 15px 0 14px; color: var(--green-900); }
.service-card p { margin: 0; color: var(--muted); font-size: .93rem; }
.service-number { color: var(--green-600); font-family: var(--font-display); font-size: .85rem; font-weight: 700; letter-spacing: .12em; }
.featured-card { color: #fff; background: var(--green-900); }
.featured-card h3 { color: #fff; }
.featured-card p { color: #c9d6d0; }
.featured-card .service-number { color: var(--gold); }
.featured-card::after { border-color: rgb(232 180 74 / 45%); }
.service-note { display: grid; align-items: center; padding: 26px 30px; margin-top: 24px; color: #fff; background: var(--green-700); grid-template-columns: auto 1fr auto; gap: 19px; }
.service-note svg { width: 29px; fill: none; stroke: var(--gold); stroke-width: 1.8; }
.service-note p { margin: 0; }
.service-note a { color: var(--gold-light); font-weight: 800; white-space: nowrap; }

.work { color: #fff; background: var(--green-950); }
.centered-heading { max-width: 720px; margin-inline: auto; text-align: center; }
.centered-heading .eyebrow { justify-content: center; }
.centered-heading p:last-child { color: #b8c7c0; }
.photo-grid { display: grid; height: 620px; grid-template-columns: 1.2fr .8fr; grid-template-rows: 1fr 1fr; gap: 16px; }
.photo-card { position: relative; overflow: hidden; background: #0d261c; }
.photo-card::after { position: absolute; inset: 0; content: ""; background: linear-gradient(0deg, rgb(2 12 8 / 85%), transparent 60%); }
.photo-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.photo-card:hover img { transform: scale(1.03); }
.photo-large { grid-row: 1 / 3; }
.photo-caption { position: absolute; z-index: 2; right: 28px; bottom: 24px; left: 28px; }
.photo-caption span { color: var(--gold-light); font-size: .7rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.photo-caption h3 { margin: 5px 0 0; font-size: 2rem; }
.photo-disclaimer { margin: 17px 0 0; color: #81958b; font-size: .75rem; text-align: center; }

.about { background: #fff; }
.about-grid { display: grid; align-items: center; grid-template-columns: .82fr 1.18fr; gap: 90px; }
.about-mark { position: relative; min-height: 470px; overflow: hidden; background: var(--green-900); box-shadow: var(--shadow); }
.about-mark::before { position: absolute; inset: 38px; border: 1px solid rgb(232 180 74 / 40%); content: ""; }
.about-mark::after { position: absolute; width: 210px; height: 210px; right: -80px; bottom: -80px; border: 24px solid rgb(232 180 74 / 10%); content: ""; transform: rotate(45deg); }
.dd { position: absolute; inset: 0; display: grid; place-items: center; color: var(--gold); font-family: var(--font-display); font-size: 9rem; font-weight: 800; letter-spacing: -.12em; }
.measure { position: absolute; z-index: 1; left: 54px; width: 160px; height: 7px; background: repeating-linear-gradient(90deg, var(--gold) 0 2px, transparent 2px 14px); }
.measure-one { top: 69px; }
.measure-two { right: 54px; bottom: 69px; left: auto; }
.about-copy .lead { color: var(--green-900); font-size: 1.18rem; font-weight: 600; }
.about-copy > p:not(.eyebrow) { color: var(--muted); }
.owner-line { display: flex; align-items: center; gap: 14px; padding-top: 24px; margin-top: 30px; border-top: 1px solid var(--line); }
.owner-initial { display: grid; width: 50px; height: 50px; place-items: center; color: #102b22; background: var(--gold); font-family: var(--font-display); font-size: 1.35rem; font-weight: 800; }
.owner-line span:last-child { display: flex; flex-direction: column; }
.owner-line strong { color: var(--green-900); }
.owner-line small { color: var(--muted); }

.service-area { position: relative; overflow: hidden; color: #fff; background: var(--green-700); }
.service-area::after { position: absolute; top: -180px; right: -100px; width: 520px; height: 520px; border: 1px solid rgb(255 255 255 / 12%); border-radius: 50%; box-shadow: 0 0 0 70px rgb(255 255 255 / 3%), 0 0 0 140px rgb(255 255 255 / 3%); content: ""; }
.area-grid { position: relative; z-index: 1; display: grid; align-items: center; grid-template-columns: 1fr 1fr; gap: 90px; }
.area-grid h2 { margin-bottom: 16px; }
.area-grid p:last-child { color: #d6e0dc; }
.city-list { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid rgb(255 255 255 / 22%); }
.city-list span { padding: 24px 26px; border: 1px solid rgb(255 255 255 / 12%); font-family: var(--font-display); font-size: 1.55rem; font-weight: 700; text-transform: uppercase; }

.contact { background: linear-gradient(135deg, #f6f8f5, #e5ebe7); }
.contact-panel { display: grid; align-items: center; padding: 60px; background: #fff; box-shadow: var(--shadow); grid-template-columns: .95fr 1.05fr; gap: 70px; }
.contact-copy h2 { margin-bottom: 16px; }
.contact-copy p:last-child { margin-bottom: 0; color: var(--muted); font-size: 1.05rem; }
.contact-actions { display: grid; }
.contact-row { display: grid; align-items: center; padding: 18px 0; border-bottom: 1px solid var(--line); grid-template-columns: auto 1fr auto; gap: 16px; }
.contact-row:first-child { border-top: 1px solid var(--line); }
.contact-row:hover strong, .contact-row:focus-visible strong { color: var(--green-600); }
.contact-icon { display: grid; width: 44px; height: 44px; place-items: center; color: var(--green-700); background: #edf3ef; }
.contact-icon svg { width: 20px; fill: none; stroke: currentColor; stroke-width: 1.9; }
.contact-row > span:nth-child(2) { display: flex; min-width: 0; flex-direction: column; }
.contact-row small { color: var(--muted); font-size: .72rem; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; }
.contact-row strong { overflow-wrap: anywhere; color: var(--green-900); transition: color .18s; }
.contact-row b { color: var(--gold); font-size: 1.4rem; }

.site-footer { padding: 66px 0 26px; color: #afbeb7; background: var(--green-950); }
.footer-grid { display: grid; padding-bottom: 48px; grid-template-columns: 1.5fr .6fr .9fr; gap: 70px; }
.footer-brand img { width: min(290px, 100%); }
.footer-brand p { max-width: 430px; margin: 18px 0 0; }
.footer-links { display: flex; align-items: flex-start; flex-direction: column; gap: 10px; }
.footer-links strong { margin-bottom: 6px; color: #fff; font-family: var(--font-display); font-size: 1.1rem; letter-spacing: .06em; text-transform: uppercase; }
.footer-links a:hover { color: var(--gold-light); }
.footer-bottom { display: flex; padding-top: 23px; border-top: 1px solid rgb(255 255 255 / 12%); justify-content: space-between; font-size: .75rem; }
.mobile-contact { display: none; }

@media (max-width: 900px) {
  .menu-toggle { display: block; }
  .main-nav { position: fixed; top: 112px; right: 0; bottom: 0; left: 0; display: flex; visibility: hidden; padding: 38px 30px; opacity: 0; background: var(--green-950); flex-direction: column; align-items: stretch; gap: 0; transform: translateY(-10px); transition: .2s; }
  .menu-open .main-nav { visibility: visible; opacity: 1; transform: none; }
  .main-nav > a:not(.nav-call) { padding: 16px 0; border-bottom: 1px solid rgb(255 255 255 / 12%); font-family: var(--font-display); font-size: 1.6rem; text-transform: uppercase; }
  .main-nav > a:not(.nav-call)::after { display: none; }
  .nav-call { margin-top: 25px; text-align: center; }
  .menu-open .menu-toggle > span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .menu-open .menu-toggle > span:nth-child(2) { opacity: 0; }
  .menu-open .menu-toggle > span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .split-heading, .about-grid, .area-grid, .contact-panel { grid-template-columns: 1fr; }
  .split-heading { gap: 20px; }
  .service-grid { grid-template-columns: 1fr 1fr; }
  .about-grid { gap: 50px; }
  .about-mark { min-height: 330px; }
  .area-grid, .contact-panel { gap: 45px; }
  .contact-panel { padding: 44px; }
  .footer-grid { grid-template-columns: 1.2fr .8fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 640px) {
  html { scroll-padding-top: 82px; }
  body { padding-bottom: 66px; }
  .container { width: min(100% - 28px, 1180px); }
  .section { padding: 74px 0; }
  .contact-ribbon { display: none; }
  .nav-wrap { min-height: 78px; }
  .brand { width: 190px; }
  .main-nav { top: 78px; }
  .hero, .hero-content { min-height: 690px; }
  .hero-content { padding-block: 64px; justify-content: flex-end; }
  .hero-image { object-position: 61% center; }
  .hero-shade { background: linear-gradient(0deg, rgb(4 15 10 / 98%) 0%, rgb(8 27 19 / 90%) 55%, rgb(8 24 17 / 35%) 100%); }
  h1 { font-size: clamp(3.65rem, 17vw, 5.2rem); }
  h2 { font-size: clamp(2.7rem, 13vw, 3.7rem); }
  .hero-copy { font-size: 1rem; }
  .hero-actions, .button { width: 100%; }
  .hero-proof { display: grid; width: 100%; grid-template-columns: repeat(3, 1fr); }
  .hero-proof span { padding: 0 10px; font-size: .67rem; text-align: center; }
  .service-grid { grid-template-columns: 1fr; }
  .service-card { min-height: auto; }
  .service-note { padding: 25px; grid-template-columns: auto 1fr; }
  .service-note a { grid-column: 1 / -1; }
  .photo-grid { height: auto; grid-template-columns: 1fr; grid-template-rows: none; }
  .photo-card, .photo-large { height: 300px; grid-row: auto; }
  .photo-large { height: 400px; }
  .about-mark { min-height: 280px; }
  .dd { font-size: 7rem; }
  .city-list { grid-template-columns: 1fr; }
  .city-list span { padding: 17px 20px; }
  .contact-panel { width: calc(100% - 28px); padding: 32px 24px; }
  .footer-grid { grid-template-columns: 1fr; gap: 36px; }
  .footer-brand { grid-column: auto; }
  .footer-bottom { align-items: flex-start; flex-direction: column; gap: 8px; }
  .mobile-contact { position: fixed; z-index: 60; right: 0; bottom: 0; left: 0; display: grid; height: 66px; color: #102b22; background: var(--gold); grid-template-columns: repeat(3, 1fr); box-shadow: 0 -8px 24px rgb(0 0 0 / 20%); }
  .mobile-contact a { display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 2px; border-right: 1px solid rgb(16 43 34 / 18%); font-size: .74rem; font-weight: 800; text-transform: uppercase; }
  .mobile-contact a:last-child { border: 0; }
  .mobile-contact svg { width: 19px; fill: none; stroke: currentColor; stroke-width: 2; }
}

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

/* v1.0.1 refinements */
.logo-surface { display: inline-flex; align-items: center; padding: 7px 11px; background: #f7f8f4; border: 1px solid rgb(232 180 74 / 55%); box-shadow: 0 5px 18px rgb(0 0 0 / 16%); }
.brand .logo-surface { width: 100%; }
.brand .logo-surface img { width: 100%; }
.footer-logo-surface { width: min(300px, 100%); padding: 10px 14px; }
.footer-brand .footer-logo-surface img { width: 100%; }
.compact-services { grid-template-columns: repeat(4, 1fr); }
.compact-services .service-card { min-height: 178px; padding: 26px 25px 24px; }
.compact-services .service-card h3 { margin: 10px 0 9px; font-size: 1.5rem; }
.quote-panel { display: grid; align-items: start; padding: 60px; background: #fff; box-shadow: var(--shadow); grid-template-columns: .85fr 1.15fr; gap: 64px; }
.quote-direct { display: grid; margin-top: 30px; border-top: 1px solid var(--line); }
.quote-direct a { display: flex; justify-content: space-between; gap: 18px; padding: 13px 0; border-bottom: 1px solid var(--line); }
.quote-direct strong { color: var(--green-900); }
.quote-direct span { color: var(--muted); overflow-wrap: anywhere; text-align: right; }
.quote-form { display: grid; grid-template-columns: 1fr 1fr; gap: 17px; }
.form-field { display: flex; flex-direction: column; gap: 6px; }
.form-field-wide, .form-hint, .form-error, .quote-submit { grid-column: 1 / -1; }
.form-field label { color: var(--green-900); font-size: .77rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.form-field input, .form-field textarea { width: 100%; border: 1px solid #cbd3ce; border-radius: 0; padding: 13px 14px; color: var(--ink); background: #fbfcfa; font: inherit; outline: none; }
.form-field textarea { min-height: 130px; resize: vertical; }
.form-field input:focus, .form-field textarea:focus { border-color: var(--green-600); box-shadow: 0 0 0 3px rgb(40 118 89 / 12%); }
.form-hint { margin: -3px 0 0; color: var(--muted); font-size: .78rem; }
.form-error { min-height: 1.3em; margin: -8px 0 0; color: #9b2f24; font-size: .82rem; font-weight: 700; }
.quote-submit { border: 0; cursor: pointer; }
@media (max-width: 900px) {
  .compact-services { grid-template-columns: 1fr 1fr; }
  .quote-panel { grid-template-columns: 1fr; gap: 42px; padding: 44px; }
}
@media (max-width: 640px) {
  .brand { width: 205px; }
  .brand .logo-surface { padding: 5px 8px; }
  .compact-services { grid-template-columns: 1fr; }
  .compact-services .service-card { min-height: 0; padding: 23px 22px; }
  .quote-panel { width: calc(100% - 28px); padding: 32px 24px; }
  .quote-form { grid-template-columns: 1fr; }
  .form-field, .form-field-wide, .form-hint, .form-error, .quote-submit { grid-column: 1; }
  .quote-direct a { align-items: flex-start; flex-direction: column; gap: 1px; }
  .quote-direct span { text-align: left; }
}

/* v1.0.2 real project gallery */
.work-page-link { margin-top: 24px; text-align: center; }
.project-hero { padding: 86px 0 64px; color: #fff; background: var(--green-900); }
.project-hero h1 { max-width: 850px; margin: 10px 0 18px; }
.project-hero p { max-width: 720px; color: rgb(255 255 255 / 78%); }
.project-gallery { background: #f5f5f1; }
.project-block { margin-bottom: 64px; }
.project-block:last-child { margin-bottom: 0; }
.project-title { margin-bottom: 22px; }
.project-title h2 { margin: 7px 0 8px; }
.project-title p { max-width: 700px; color: var(--muted); }
.before-after { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.project-photo { overflow: hidden; background: #fff; box-shadow: var(--shadow); }
.project-photo img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.project-photo figcaption { padding: 14px 17px; color: var(--green-900); font-weight: 800; text-transform: uppercase; letter-spacing: .06em; font-size: .78rem; }
.project-feature { max-width: 980px; }
.project-feature img { aspect-ratio: 4 / 3; }
@media (max-width: 640px) {
  .project-hero { padding: 60px 0 48px; }
  .before-after { grid-template-columns: 1fr; }
  .project-block { margin-bottom: 48px; }
}

/* v1.0.3 — iOS/mobile navigation visibility fix */
@media (max-width: 900px) {
  .site-header { isolation: isolate; }
  .nav-wrap { position: relative; }
  .menu-toggle { position: relative; z-index: 102; }
  .main-nav {
    position: absolute;
    z-index: 101;
    top: 100%;
    right: -20px;
    bottom: auto;
    left: -20px;
    min-height: calc(100dvh - 112px);
    padding: 34px 30px 44px;
    color: #fff;
    background: #081811;
    box-shadow: 0 24px 40px rgb(0 0 0 / 38%);
    overflow-y: auto;
  }
  .main-nav > a:not(.nav-call) { color: #fff; }
}
@media (max-width: 640px) {
  .main-nav {
    top: 100%;
    right: -14px;
    left: -14px;
    min-height: calc(100dvh - 78px);
  }
}

/* v1.0.5 expanded Davco project portfolio */
.project-grid-three { display:grid; grid-template-columns:repeat(3,1fr); gap:18px; align-items:start; }
.project-grid-three .project-photo img { aspect-ratio:4 / 3; }
.project-photo-portrait img { object-position:center 48%; }
@media (max-width:900px){ .project-grid-three { grid-template-columns:1fr; } }

.project-photo-dock img{aspect-ratio:auto;height:auto;object-fit:contain;object-position:center;background:#fff;}
