:root {
    --amber: #f4ad00;
    --amber-soft: #ffc536;
    --charcoal: #1d1d1d;
    --charcoal-2: #292929;
    --ink: #282828;
    --muted: #6e6b65;
    --paper: #f4f1e9;
    --white: #ffffff;
    --line: rgba(29, 29, 29, 0.14);
    --shell: min(1180px, calc(100vw - 40px));
    --shadow: 0 24px 60px rgba(20, 20, 20, 0.14);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 92px; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; line-height: 1.6; }
body.nav-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
.shell { width: var(--shell); 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; left: 18px; top: -100px; z-index: 999; background: var(--white); color: var(--charcoal); padding: 10px 16px; font-weight: 800; }
.skip-link:focus { top: 18px; }

.utility-bar { background: var(--charcoal); color: rgba(255,255,255,.78); font-size: .78rem; letter-spacing: .02em; }
.utility-inner { min-height: 34px; display: flex; justify-content: space-between; align-items: center; gap: 24px; }
.utility-links { display: flex; gap: 20px; }
.utility-links a:hover { color: var(--amber-soft); }

.site-header { position: sticky; top: 0; z-index: 100; background: rgba(244,241,233,.96); border-bottom: 1px solid transparent; backdrop-filter: blur(14px); transition: box-shadow .2s ease, border-color .2s ease; }
.site-header.is-scrolled { border-color: var(--line); box-shadow: 0 12px 28px rgba(20,20,20,.08); }
.header-inner { min-height: 82px; display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.brand { display: inline-flex; align-items: center; gap: 11px; flex: none; }
.brand-mark { width: 48px; height: 48px; display: grid; place-items: center; }
.brand-mark svg { width: 100%; height: 100%; fill: none; stroke: var(--charcoal); stroke-width: 4; stroke-linecap: square; stroke-linejoin: miter; }
.brand-mark svg path:last-child { stroke: var(--amber); }
.brand-copy { display: grid; line-height: .92; text-transform: uppercase; letter-spacing: -.035em; }
.brand-copy strong { font-size: .92rem; font-weight: 950; }
.brand-copy span { font-size: 1.18rem; font-weight: 950; }
.primary-nav { display: flex; align-items: center; gap: 27px; font-size: .88rem; font-weight: 760; }
.primary-nav > a:not(.nav-cta) { position: relative; }
.primary-nav > a:not(.nav-cta)::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -8px; height: 2px; background: var(--amber); transition: right .2s ease; }
.primary-nav > a:not(.nav-cta):hover::after { right: 0; }
.nav-cta { background: var(--charcoal); color: var(--white); padding: 12px 18px; border: 2px solid var(--charcoal); }
.nav-cta:hover { background: var(--amber); border-color: var(--amber); color: var(--charcoal); }
.nav-toggle { display: none; background: transparent; border: 0; width: 46px; height: 46px; padding: 10px; }
.nav-toggle > span:not(.sr-only) { display: block; height: 2px; background: var(--charcoal); margin: 5px 0; }

.hero { position: relative; min-height: 690px; display: grid; align-items: center; overflow: hidden; color: var(--white); background: #292929; }
.hero-media { position: absolute; inset: 0; background-image: linear-gradient(90deg, rgba(18,18,18,.95) 0%, rgba(18,18,18,.86) 43%, rgba(18,18,18,.38) 72%, rgba(18,18,18,.55) 100%), url('../images/hero-equipment.jpg'); background-size: cover; background-position: center; transform: scale(1.025); }
.hero-grid-overlay { position: absolute; inset: 0; opacity: .18; background-image: linear-gradient(rgba(255,255,255,.08) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.08) 1px, transparent 1px); background-size: 64px 64px; mask-image: linear-gradient(90deg, #000, transparent 85%); }
.hero::after { content: ""; position: absolute; right: -180px; bottom: -230px; width: 600px; height: 600px; border: 88px solid rgba(244,173,0,.13); border-radius: 50%; }
.hero-inner { position: relative; z-index: 2; padding-block: 90px 110px; }
.hero-copy { max-width: 780px; }
.eyebrow { margin: 0 0 18px; color: var(--amber-soft); font-size: .75rem; font-weight: 900; text-transform: uppercase; letter-spacing: .18em; }
.eyebrow.dark { color: #9a6d00; }
.hero h1, .section h2, .service-area h2, .contact-section h2 { margin: 0; font-size: clamp(2.8rem, 6.4vw, 5.8rem); line-height: .98; letter-spacing: -.055em; font-weight: 950; }
.hero h1 { max-width: 780px; }
.hero-intro { max-width: 670px; margin: 26px 0 0; color: rgba(255,255,255,.82); font-size: clamp(1.02rem, 1.6vw, 1.22rem); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 13px; margin-top: 34px; }
.button { min-height: 52px; display: inline-flex; align-items: center; justify-content: center; border: 2px solid transparent; padding: 0 23px; font-size: .77rem; font-weight: 950; text-transform: uppercase; letter-spacing: .12em; transition: transform .18s ease, background .18s ease, border-color .18s ease, color .18s ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--amber); color: var(--charcoal); }
.button-primary:hover { background: var(--amber-soft); }
.button-ghost { border-color: rgba(255,255,255,.5); color: var(--white); }
.button-ghost:hover { border-color: var(--white); background: var(--white); color: var(--charcoal); }
.button-dark { width: 100%; background: var(--charcoal); color: var(--white); }
.button-dark:hover { background: var(--amber); color: var(--charcoal); }
.trust-row { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); max-width: 750px; list-style: none; margin: 70px 0 0; padding: 0; border-top: 1px solid rgba(255,255,255,.25); }
.trust-row li { padding: 20px 22px 0 0; }
.trust-row strong, .trust-row span { display: block; }
.trust-row strong { font-size: 1.02rem; }
.trust-row span { color: rgba(255,255,255,.61); font-size: .79rem; }

.service-strip { position: relative; z-index: 5; margin-top: -36px; }
.service-strip-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); box-shadow: var(--shadow); }
.service-strip a { min-height: 116px; display: flex; flex-direction: column; justify-content: center; gap: 7px; padding: 20px 25px; background: var(--white); border-right: 1px solid var(--line); transition: background .18s ease, color .18s ease; }
.service-strip a:last-child { border-right: 0; }
.service-strip a:hover { background: var(--amber); }
.service-strip span { color: #a27600; font-size: .67rem; font-weight: 950; letter-spacing: .16em; }
.service-strip strong { line-height: 1.2; }

.section { padding: 120px 0; }
.section-heading { display: grid; grid-template-columns: minmax(0,1.2fr) minmax(280px,.65fr); gap: 70px; align-items: end; margin-bottom: 54px; }
.section-heading.compact { margin-bottom: 40px; }
.section-heading h2, .about-copy h2, .process-intro h2 { font-size: clamp(2.15rem, 4.4vw, 4rem); }
.section-heading > p { margin: 0; color: var(--muted); font-size: 1.02rem; }

.service-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.service-card { position: relative; min-height: 360px; padding: 38px; background: rgba(255,255,255,.55); border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); overflow: hidden; }
.service-card::after { content: ""; position: absolute; left: 38px; bottom: 0; width: 48px; height: 4px; background: var(--amber); transition: width .22s ease; }
.service-card:hover::after { width: calc(100% - 76px); }
.service-number { color: #a27600; font-size: .7rem; font-weight: 950; letter-spacing: .15em; }
.service-card h3 { margin: 65px 0 12px; font-size: 1.55rem; line-height: 1.12; letter-spacing: -.03em; }
.service-card p { margin: 0; color: var(--muted); font-size: .94rem; }
.service-card ul { margin: 24px 0 0; padding: 0; list-style: none; color: #4c4944; font-size: .85rem; }
.service-card li { padding: 5px 0 5px 18px; position: relative; }
.service-card li::before { content: ""; position: absolute; left: 0; top: 13px; width: 8px; height: 2px; background: var(--amber); }
.image-card { color: var(--white); background-size: cover; background-position: center; }
.image-card.plumbing { background-image: url('../images/plumbing-work.jpg'); }
.image-card.electrical { background-image: url('../images/electrical-work.jpg'); }
.card-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20,20,20,.24), rgba(20,20,20,.9)); }
.image-card > *:not(.card-shade) { position: relative; z-index: 1; }
.image-card .service-number { color: var(--amber-soft); }
.image-card h3 { margin-top: 110px; }
.image-card p { color: rgba(255,255,255,.78); }

.about-section { background: var(--charcoal); color: var(--white); }
.about-grid { display: grid; grid-template-columns: minmax(0,.95fr) minmax(0,1fr); gap: 80px; align-items: center; }
.about-image { position: relative; min-height: 620px; background: linear-gradient(rgba(20,20,20,.18), rgba(20,20,20,.28)), url('../images/project-worker.jpg') center/cover; box-shadow: 26px 26px 0 var(--amber); }
.about-image::before { content: ""; position: absolute; inset: 28px; border: 1px solid rgba(255,255,255,.42); }
.experience-badge { position: absolute; left: -28px; bottom: 54px; width: 205px; padding: 22px; background: var(--amber); color: var(--charcoal); }
.experience-badge strong, .experience-badge span { display: block; }
.experience-badge strong { font-size: 1.55rem; line-height: 1; }
.experience-badge span { margin-top: 7px; font-size: .76rem; font-weight: 750; }
.about-copy h2 { max-width: 650px; }
.about-copy > p:not(.eyebrow) { color: rgba(255,255,255,.69); }
.about-points { display: grid; gap: 20px; margin: 34px 0; }
.about-points div { display: grid; grid-template-columns: 190px 1fr; gap: 18px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.16); }
.about-points span { color: rgba(255,255,255,.58); font-size: .88rem; }
.text-link { display: inline-flex; align-items: center; gap: 12px; color: var(--amber-soft); font-weight: 850; }
.text-link span { font-size: 1.35rem; transition: transform .18s ease; }
.text-link:hover span { transform: translateX(5px); }

.projects-section { background: #f8f6f0; }
.project-grid { display: grid; grid-template-columns: repeat(12, minmax(0,1fr)); grid-auto-rows: 255px; gap: 18px; }
.project-card { position: relative; overflow: hidden; background-size: cover; background-position: center; box-shadow: inset 0 0 0 1px rgba(0,0,0,.08); }
.project-card::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(15,15,15,.05), rgba(15,15,15,.88)); transition: background .22s ease; }
.project-card:hover::before { background: linear-gradient(180deg, rgba(15,15,15,.0), rgba(15,15,15,.75)); }
.project-wide { grid-column: span 7; grid-row: span 2; }
.project-card:not(.project-wide) { grid-column: span 5; }
.project-card.worker { background-image: url('../images/project-worker.jpg'); }
.project-card.grading { background-image: url('../images/grading-work.jpg'); }
.project-card.plumbing-project { background-image: url('../images/plumbing-work.jpg'); }
.project-card.electrical-project { background-image: url('../images/electrical-work.jpg'); }
.project-label { position: absolute; z-index: 1; left: 28px; right: 28px; bottom: 26px; color: var(--white); }
.project-label span { color: var(--amber-soft); font-size: .68rem; text-transform: uppercase; letter-spacing: .14em; font-weight: 900; }
.project-label h3 { margin: 7px 0 0; max-width: 520px; font-size: clamp(1.2rem, 2.2vw, 2rem); line-height: 1.08; letter-spacing: -.03em; }

.process-section { background: var(--amber); }
.process-intro { max-width: 850px; }
.process-intro .eyebrow { color: rgba(29,29,29,.66); }
.process-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 40px; margin-top: 60px; }
.process-grid article { padding-top: 28px; border-top: 2px solid rgba(29,29,29,.33); }
.process-grid span { display: grid; place-items: center; width: 42px; height: 42px; background: var(--charcoal); color: var(--white); font-weight: 900; }
.process-grid h3 { margin: 26px 0 8px; font-size: 1.25rem; }
.process-grid p { margin: 0; color: rgba(29,29,29,.7); }

.service-area { background: var(--charcoal-2); color: var(--white); padding: 92px 0; }
.service-area-grid { display: grid; grid-template-columns: minmax(0,1fr) minmax(320px,.9fr); align-items: center; gap: 80px; }
.service-area h2 { font-size: clamp(2.2rem, 4vw, 3.8rem); }
.area-list { display: flex; flex-wrap: wrap; gap: 10px; }
.area-list span { padding: 10px 15px; border: 1px solid rgba(255,255,255,.18); color: rgba(255,255,255,.72); font-size: .84rem; }

.contact-section { padding: 120px 0; background: var(--paper); }
.contact-grid { display: grid; grid-template-columns: minmax(0,.85fr) minmax(0,1.15fr); gap: 90px; align-items: start; }
.contact-section h2 { font-size: clamp(2.5rem, 4.5vw, 4.4rem); }
.contact-copy > p:not(.eyebrow) { color: var(--muted); font-size: 1.04rem; }
.contact-details { display: grid; gap: 0; margin-top: 42px; border-top: 1px solid var(--line); }
.contact-details > * { display: grid; grid-template-columns: 95px 1fr; gap: 20px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.contact-details span { color: #8a857d; font-size: .73rem; text-transform: uppercase; letter-spacing: .12em; font-weight: 850; }
.contact-details strong { font-size: .95rem; }
.contact-details a:hover strong { color: #9a6d00; }
.contact-panel { padding: 42px; background: var(--white); box-shadow: var(--shadow); border-top: 6px solid var(--amber); }
.contact-form { display: grid; gap: 18px; }
.form-row { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 16px; }
.contact-form label { display: grid; gap: 7px; }
.contact-form label > span { font-size: .72rem; font-weight: 850; text-transform: uppercase; letter-spacing: .09em; }
.contact-form input, .contact-form select, .contact-form textarea { width: 100%; border: 1px solid #d7d2c8; border-radius: 0; background: #fbfaf7; color: var(--ink); padding: 13px 14px; outline: none; }
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { border-color: var(--amber); box-shadow: 0 0 0 3px rgba(244,173,0,.15); }
.contact-form textarea { resize: vertical; min-height: 150px; }
.honeypot { position: absolute !important; left: -10000px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }
.form-note { margin: -3px 0 0; color: var(--muted); text-align: center; font-size: .8rem; }
.form-note a { font-weight: 850; }
.form-message { margin-bottom: 20px; padding: 14px 16px; font-weight: 700; font-size: .9rem; }
.form-message.success { background: #edf7e8; color: #315925; border-left: 4px solid #5d953f; }
.form-message.error { background: #fff0ed; color: #7c2e25; border-left: 4px solid #bd493b; }

.site-footer { background: #141414; color: rgba(255,255,255,.66); padding: 70px 0 18px; }
.footer-main { display: grid; grid-template-columns: 260px 1fr auto; align-items: center; gap: 50px; }
.footer-brand { color: var(--white); }
.footer-brand .brand-mark svg { stroke: var(--white); }
.footer-brand .brand-mark svg path:last-child { stroke: var(--amber); }
.footer-main p { max-width: 480px; margin: 0; }
.footer-links { display: flex; gap: 22px; font-size: .83rem; font-weight: 800; }
.footer-links a:hover { color: var(--amber-soft); }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; margin-top: 48px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.1); font-size: .72rem; }
.mobile-actions { display: none; }

.reveal { opacity: 1; transform: none; }
.js .reveal { opacity: 0; transform: translateY(20px); transition: opacity .65s ease, transform .65s ease; }
.js .reveal.is-visible { opacity: 1; transform: none; }

@media (max-width: 980px) {
    :root { --shell: min(100% - 32px, 760px); }
    .utility-inner > span { display: none; }
    .utility-inner { justify-content: center; }
    .nav-toggle { display: block; }
    .primary-nav { position: fixed; inset: 116px 0 auto; display: grid; gap: 0; padding: 18px 16px 30px; background: var(--paper); border-bottom: 1px solid var(--line); box-shadow: 0 22px 40px rgba(20,20,20,.15); transform: translateY(-130%); opacity: 0; pointer-events: none; transition: transform .24s ease, opacity .2s ease; }
    .primary-nav.is-open { transform: none; opacity: 1; pointer-events: auto; }
    .primary-nav a { padding: 15px 8px; border-bottom: 1px solid var(--line); }
    .primary-nav .nav-cta { margin-top: 16px; text-align: center; border-bottom: 2px solid var(--charcoal); }
    .hero { min-height: 650px; }
    .hero-media { background-image: linear-gradient(90deg, rgba(18,18,18,.94), rgba(18,18,18,.62)), url('../images/hero-equipment.jpg'); }
    .service-strip-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
    .service-strip a:nth-child(2) { border-right: 0; }
    .service-strip a:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
    .section { padding: 90px 0; }
    .section-heading, .about-grid, .service-area-grid, .contact-grid { grid-template-columns: 1fr; gap: 40px; }
    .service-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
    .about-image { min-height: 520px; }
    .project-wide, .project-card:not(.project-wide) { grid-column: span 6; }
    .project-wide { grid-row: span 1; }
    .process-grid { gap: 22px; }
    .footer-main { grid-template-columns: 1fr; }
    .footer-links { flex-wrap: wrap; }
}

@media (max-width: 680px) {
    :root { --shell: calc(100% - 24px); }
    html { scroll-padding-top: 78px; }
    .utility-bar { display: none; }
    .header-inner { min-height: 72px; }
    .brand-mark { width: 42px; height: 42px; }
    .brand-copy strong { font-size: .78rem; }
    .brand-copy span { font-size: 1rem; }
    .primary-nav { inset: 72px 0 auto; }
    .hero { min-height: 700px; }
    .hero-inner { padding-block: 76px 110px; }
    .hero h1 { font-size: clamp(2.55rem, 14vw, 4.2rem); }
    .hero-actions { display: grid; }
    .button { width: 100%; }
    .trust-row { grid-template-columns: 1fr; margin-top: 50px; }
    .trust-row li { display: grid; grid-template-columns: 120px 1fr; gap: 10px; padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,.14); }
    .service-strip { margin-top: -22px; }
    .service-strip-grid { grid-template-columns: 1fr; }
    .service-strip a { min-height: 92px; border-right: 0; border-bottom: 1px solid var(--line); }
    .service-strip a:last-child { border-bottom: 0; }
    .section { padding: 74px 0; }
    .section-heading { gap: 24px; margin-bottom: 34px; }
    .section-heading h2, .about-copy h2, .process-intro h2 { font-size: 2.35rem; }
    .service-grid { grid-template-columns: 1fr; }
    .service-card { min-height: 315px; padding: 30px; }
    .service-card h3 { margin-top: 50px; }
    .image-card h3 { margin-top: 95px; }
    .about-grid { gap: 58px; }
    .about-image { min-height: 420px; box-shadow: 14px 14px 0 var(--amber); }
    .experience-badge { left: -4px; bottom: -34px; }
    .about-points div { grid-template-columns: 1fr; gap: 5px; }
    .project-grid { grid-template-columns: 1fr; grid-auto-rows: 310px; }
    .project-wide, .project-card:not(.project-wide) { grid-column: auto; }
    .process-grid { grid-template-columns: 1fr; }
    .service-area-grid { gap: 30px; }
    .contact-panel { padding: 26px 20px; }
    .form-row { grid-template-columns: 1fr; }
    .footer-bottom { flex-direction: column; }
    .mobile-actions { position: fixed; z-index: 120; left: 0; right: 0; bottom: 0; display: grid; grid-template-columns: 1fr 1fr; box-shadow: 0 -8px 24px rgba(0,0,0,.22); }
    .mobile-actions a { min-height: 52px; display: grid; place-items: center; background: var(--charcoal); color: var(--white); font-size: .76rem; font-weight: 900; text-transform: uppercase; letter-spacing: .08em; }
    .mobile-actions a:last-child { background: var(--amber); color: var(--charcoal); }
    .site-footer { padding-bottom: 78px; }
}

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