
:root {
  --bg: #fbfaf7;
  --paper: #ffffff;
  --ink: #17202a;
  --muted: #65717f;
  --line: rgba(23, 32, 42, 0.12);
  --copper: #b76422;
  --copper-dark: #8b4e1f;
  --charcoal: #111820;
  --shadow: 0 24px 60px rgba(17, 24, 32, 0.14);
  --max: 1180px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; color: var(--ink); background: var(--bg); line-height: 1.55; }
img { max-width: 100%; display: block; }
a { color: inherit; }
.container { width: min(var(--max), calc(100% - 42px)); margin-inline: auto; }
.narrow { max-width: 1080px; }
.section-pad { padding: 86px 0; }
.section-anchor { scroll-margin-top: 156px; }
.sr-only, .skip-link:not(:focus) { 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:focus { position: fixed; top: 10px; left: 10px; z-index: 999; padding: 10px 14px; background: #fff; border-radius: 8px; }
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,0.94); backdrop-filter: blur(16px); border-bottom: 1px solid rgba(17,24,32,.08); }
.nav-wrap { display: flex; align-items: center; justify-content: space-between; min-height: 156px; gap: 24px; }
.brand { display: inline-flex; align-items: center; text-decoration: none; }
.brand img { width: 472px; height: auto; }
.site-nav { display: flex; align-items: center; gap: 28px; font-size: .95rem; font-weight: 650; }
.site-nav a { text-decoration: none; position: relative; padding: 54px 0; }
.site-nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 46px; height: 2px; background: var(--copper); transform: scaleX(0); transform-origin: left; transition: transform .18s ease; }
.site-nav a:hover::after, .site-nav a.active::after { transform: scaleX(1); }
.nav-toggle { display: none; border: 0; background: transparent; padding: 10px; }
.nav-toggle span { display: block; width: 25px; height: 2px; background: var(--ink); margin: 5px 0; }

.hero { position: relative; overflow: hidden; min-height: 760px; display: grid; align-items: center; background: var(--charcoal); }
.hero-bg { position: absolute; inset: 0; background-image: linear-gradient(90deg, rgba(251,250,247,.98) 0%, rgba(251,250,247,.92) 25%, rgba(251,250,247,.62) 39%, rgba(251,250,247,.18) 56%, rgba(251,250,247,0) 78%), url('../images/team-hero.jpg'); background-size: cover; background-position: 62% center; transform: scale(1.005); }
.hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 170px; background: linear-gradient(0deg, rgba(251,250,247,1), rgba(251,250,247,0)); }
.hero-grid { position: relative; z-index: 1; padding: 92px 0 150px; }
.hero-copy { max-width: 440px; }
.eyebrow { margin: 0 0 12px; color: var(--copper); text-transform: uppercase; letter-spacing: .14em; font-size: .76rem; font-weight: 800; }
.center { text-align: center; }
h1, h2, h3 { margin: 0; line-height: 1.02; letter-spacing: -0.05em; }
h1 { font-size: clamp(3rem, 5.2vw, 5.5rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: 1.2rem; letter-spacing: -0.03em; }
.hero-text { font-size: 1.07rem; color: #374454; margin: 24px 0 28px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 24px; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 0 20px; border-radius: 4px; border: 1px solid transparent; text-decoration: none; font-size: .84rem; text-transform: uppercase; letter-spacing: .04em; font-weight: 800; transition: transform .18s ease, box-shadow .18s ease, background .18s ease; }
.button:hover { transform: translateY(-2px); box-shadow: 0 12px 24px rgba(17,24,32,.12); }
.button-primary { background: var(--copper); color: #fff; }
.button-secondary { background: rgba(255,255,255,.9); border-color: rgba(183,100,34,.45); color: var(--charcoal); }
.hero-badges { display: flex; flex-wrap: wrap; gap: 18px; color: #596574; font-weight: 700; font-size: .92rem; }
.hero-badges span { position: relative; padding-left: 18px; }
.hero-badges span::before { content: ""; position: absolute; left: 0; top: .48em; width: 8px; height: 8px; border: 2px solid var(--copper); border-radius: 50%; }

.stats-wrap { margin-top: -78px; position: relative; z-index: 3; }
.stats-card { background: var(--paper); border-radius: 6px; border: 1px solid rgba(17,24,32,.08); box-shadow: 0 22px 52px rgba(17,24,32,.14); display: grid; grid-template-columns: repeat(4, 1fr); overflow: hidden; }
.stat { padding: 30px 18px 25px; text-align: center; position: relative; }
.stat::after { content: ""; position: absolute; right: 0; top: 24px; bottom: 24px; width: 1px; background: rgba(17,24,32,.08); }
.stat:last-child::after { display: none; }
.stat-icon { width: 45px; height: 45px; margin: 0 auto 13px; color: var(--copper); display: flex; align-items: center; justify-content: center; }
.stat-icon svg, .service-icon svg { width: 100%; height: auto; display: block; }
.stat strong { display: block; font-size: clamp(2.45rem, 3.8vw, 3.35rem); line-height: .95; letter-spacing: -.05em; }
.stat span { display: block; margin-top: 8px; font-size: 1.06rem; color: #364454; font-weight: 650; }

.section-heading { margin-bottom: 34px; }
.section-heading p { max-width: 740px; margin: 14px auto 0; color: #526172; font-size: 1.03rem; }
.solar { position: relative; overflow: hidden; padding-top: 52px; padding-bottom: 86px; background: var(--bg); }
.solar-bg-left, .solar-bg-right { position: absolute; top: 70px; bottom: 65px; width: 29vw; min-width: 250px; background-size: cover; background-position: center; opacity: .94; }
.solar-bg-left { left: 0; background-image: linear-gradient(90deg, rgba(0,0,0,.12), rgba(0,0,0,0)), url('../images/solar-field-1.jpg'); clip-path: polygon(0 0, 88% 0, 70% 100%, 0 100%); }
.solar-bg-right { right: 0; background-image: linear-gradient(270deg, rgba(0,0,0,.18), rgba(0,0,0,0)), url('../images/solar-field-2.jpg'); clip-path: polygon(25% 0, 100% 0, 100% 100%, 0 100%); }
.solar-panel { position: relative; z-index: 2; background: rgba(255,255,255,.98); border: 1px solid rgba(17,24,32,.08); border-radius: 6px; box-shadow: 0 18px 38px rgba(17,24,32,.08); padding: 56px 34px 34px; }
.service-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.service-card, .project-card, .structural-card { background: var(--paper); border: 1px solid rgba(183,100,34,.22); border-radius: 6px; box-shadow: 0 8px 20px rgba(17,24,32,.05); }
.service-card { padding: 22px 14px 20px; text-align: center; }
.service-icon { width: 62px; height: 62px; color: var(--copper); margin: 0 auto 16px; display: flex; align-items: center; justify-content: center; background: rgba(183,100,34,.07); border-radius: 12px; padding: 10px; }
.service-card h3 { font-size: 1.1rem; line-height: 1.14; margin-bottom: 10px; }
.service-card p { margin: 0; color: #586574; font-size: .92rem; }
.note-card { margin-top: 18px; background: #fff; border: 1px solid rgba(17,24,32,.08); border-radius: 4px; padding: 18px 20px 18px 30px; position: relative; }
.note-card p { margin: 0; color: #435261; font-weight: 600; }
.accent-bar { position: absolute; left: 14px; top: 16px; bottom: 16px; width: 4px; background: var(--copper); }

.projects { background: #faf8f3; padding-top: 68px; }
.project-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.project-card { border-color: rgba(17,24,32,.08); overflow: hidden; }
.project-card img, .structural-card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.project-body { padding: 16px; }
.project-type { display: inline-block; margin-bottom: 10px; color: var(--copper); font-size: .74rem; text-transform: uppercase; letter-spacing: .08em; font-weight: 800; }
.project-card h3 { font-size: 1.12rem; margin-bottom: 4px; }
.project-meta { margin: 0 0 4px; font-weight: 800; }
.project-card p:last-child { margin: 0; color: #5d6b79; }

.structural { background: #fff; }
.structural-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.structural-card { overflow: hidden; border-color: rgba(17,24,32,.08); }
.structural-card div { padding: 16px; }
.structural-card h3 { font-size: 1.08rem; margin-bottom: 6px; }
.structural-card p { margin: 0; color: #5b6977; }

.about { background: #fff; border-top: 1px solid rgba(17,24,32,.08); }
.about-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 48px; align-items: center; }
.about-copy p { color: #374454; font-size: 1.02rem; }
.about-copy p:first-of-type { margin-top: 22px; }
.about-media img { width: 100%; border-radius: 6px; box-shadow: 0 18px 42px rgba(17,24,32,.12); }
.about-highlights { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 16px; }
.about-highlight { padding: 16px; border-radius: 6px; border: 1px solid rgba(17,24,32,.08); background: #fbfaf7; color: var(--copper-dark); font-weight: 800; text-align: center; line-height: 1.2; }

.contact { position: relative; overflow: hidden; padding: 84px 0; min-height: 480px; background: linear-gradient(180deg, #fbfaf7 0%, #f5efe5 100%); }
.contact-sketch { position: absolute; right: -36px; bottom: -16px; width: min(52vw, 580px); pointer-events: none; z-index: 0; }
.contact-sketch img { display: block; width: 100%; filter: opacity(0.88); }
.contact-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr 1fr; gap: 42px; align-items: center; }
.contact-copy p:not(.eyebrow) { color: #445261; font-size: 1.06rem; max-width: 520px; margin: 18px 0 24px; }
.contact-card { background: rgba(255,255,255,.88); border: 1px solid rgba(17,24,32,.08); border-radius: 6px; box-shadow: 0 18px 42px rgba(17,24,32,.10); padding: 34px; }
.contact-card address { font-style: normal; color: #394756; margin: 16px 0; }
.contact-card p { margin: 10px 0; font-weight: 800; }
.contact-card a { text-underline-offset: 3px; text-decoration-color: rgba(183,100,34,.5); }
.small-note { margin-top: 18px !important; font-size: .94rem; color: #63707d; font-weight: 650 !important; }

.site-footer { background: var(--charcoal); color: rgba(255,255,255,.78); padding: 22px 0; font-size: .92rem; }
.footer-grid { display: flex; justify-content: space-between; align-items: center; gap: 20px; }
.footer-grid p { margin: 0; }
.footer-links { display: flex; gap: 20px; }
.footer-links a { color: rgba(255,255,255,.82); text-decoration: none; }
.footer-links a:hover { text-decoration: underline; text-underline-offset: 4px; }
.legal-main { padding: 100px 0 70px; }
.legal-page { max-width: 860px; margin: 0 auto; background: #fff; border: 1px solid rgba(17,24,32,.08); border-radius: 10px; padding: 34px; box-shadow: 0 14px 34px rgba(17,24,32,.06); }
.legal-page h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); margin-bottom: 18px; }
.legal-page h2 { font-size: 1.35rem; margin: 28px 0 8px; }
.legal-page p, .legal-page li { color: #3f4d5b; }
.reveal { opacity: 0; transform: translateY(20px); transition: opacity .65s ease, transform .65s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

@media (max-width: 1100px) {
  .brand img { width: 360px; }
  .site-nav { gap: 18px; font-size: .89rem; }
  .hero-bg { background-position: 70% center; }
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .project-grid, .structural-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 760px) {
  .container { width: min(100% - 28px, var(--max)); }
  .nav-wrap { min-height: 82px; }
  .brand img { width: 200px; }
  .nav-toggle { display: block; }
  .site-nav { position: fixed; top: 82px; left: 14px; right: 14px; display: grid; gap: 0; background: rgba(255,255,255,.98); border: 1px solid rgba(17,24,32,.1); border-radius: 12px; box-shadow: var(--shadow); padding: 8px; transform: translateY(-12px); opacity: 0; pointer-events: none; transition: .18s ease; }
  .site-nav.is-open { transform: none; opacity: 1; pointer-events: auto; }
  .site-nav a { padding: 13px 14px; border-radius: 10px; }
  .site-nav a::after { display: none; }
  .site-nav a:hover { background: rgba(183,100,34,.08); }
  .hero { min-height: 720px; }
  .hero-bg { background-image: linear-gradient(180deg, rgba(251,250,247,.98) 0%, rgba(251,250,247,.92) 36%, rgba(251,250,247,.35) 100%), url('../images/team-hero.jpg'); background-position: 60% center; }
  .hero-grid { padding: 70px 0 124px; }
  h1 { font-size: clamp(2.35rem, 11vw, 4.1rem); }
  .stats-card { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(2)::after { display: none; }
  .stat { padding: 26px 16px; }
  .section-pad { padding: 64px 0; }
  .solar-bg-left, .solar-bg-right { display: none; }
  .solar-panel { padding: 40px 20px 22px; }
  .service-grid, .project-grid, .structural-grid, .about-grid, .contact-grid, .about-highlights { grid-template-columns: 1fr; }
  .contact-sketch { width: 88vw; right: -20px; bottom: -10px; }
  .contact-sketch img { filter: opacity(0.45); }
  .footer-grid { display: grid; }
}
