/* Homepage, full width (13 Oct 2026) — the approved "version 1" layout.
   Headings sit left, the 1360px band is used for layout, and projects run as
   full-width bands, one under another, in order. Loaded after style.css. */

.hhead { display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; margin-bottom: 44px; text-align: left; }
.hhead .section-title { margin: 12px 0 0; }
.hhead-sub { max-width: 520px; color: var(--gray-600); font-size: 1.05rem; margin: 0; }
.section-header { text-align: left; }
.section-header .section-sub { margin-left: 0; }

/* hero: the accent word readable on a photograph, and two clear actions */
.hero-title--accent { color: #CFE0AE !important; -webkit-text-fill-color: #CFE0AE; }
.hero-sub { max-width: 600px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.hero-btn { display: inline-flex; align-items: center; min-height: 50px; padding: 0 24px; font-weight: 600; border-radius: 2px; border: 1px solid #fff; transition: background .25s, color .25s; }
.hero-btn--light { background: #fff; color: var(--olive); }
.hero-btn--light:hover { background: transparent; color: #fff; }
.hero-btn--ghost { color: #fff; }
.hero-btn--ghost:hover { background: #fff; color: var(--olive); }

/* facts we can stand behind, in place of the unverified counters */
.hfacts { border-bottom: 1px solid var(--gray-200); }
.hfacts-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.hfact { padding: 34px 28px 34px 0; }
.hfact + .hfact { padding-left: 28px; border-left: 1px solid var(--gray-200); }
.hfact strong { display: block; font-family: var(--font-display); font-size: 1.25rem; font-weight: 600; color: var(--charcoal); }
.hfact span { font-size: .9rem; color: var(--gray-500); }

/* services: two panels, Build and Renewables */
.hsvc-panels { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
.hsvc-panel { background: #fff; border: 1px solid var(--gray-200); padding: 40px; }
.hsvc-panel h3 { font-family: var(--font-display); font-size: 1.9rem; font-weight: 700; letter-spacing: -.02em; margin: 10px 0 20px; }
.hsvc-row { display: flex; justify-content: space-between; align-items: center; gap: 24px; min-height: 64px; padding: 18px 0; border-top: 1px solid var(--gray-200); color: var(--charcoal); }
.hsvc-row strong { display: block; font-family: var(--font-display); font-size: 1.05rem; font-weight: 600; }
.hsvc-row em { display: block; font-style: normal; font-size: .9rem; color: var(--gray-500); margin-top: 4px; }
.hsvc-row b { color: var(--olive); font-size: 1.3rem; transition: transform .3s; }
.hsvc-row:hover strong { color: var(--olive); }
.hsvc-row:hover b { transform: translateX(6px); }

/* projects: full-width bands, one under another */
.hprojects .container { margin-bottom: 0; }
.pbands { display: grid; gap: 14px; }
.pband { position: relative; display: block; height: min(68vh, 640px); min-height: 420px; overflow: hidden; background: #DDD; color: #fff; }
.pband-ph { position: absolute; inset: -48px 0; transform: translate3d(0, var(--py, 0px), 0); will-change: transform; }
/* a <picture> only picks the file (AVIF, WebP or the JPEG); the box is the img's */
.pband-ph picture, .pview-top picture, .pview-gal picture { display: contents; }
.pband-ph picture > source, .pview-top picture > source, .pview-gal picture > source { display: none; }
.pband img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.14); transition: transform 1.4s cubic-bezier(.16,1,.3,1); }
.pband.in img { transform: scale(1.04); }
.pband:hover img { transform: scale(1.09); transition-duration: .9s; }
.pband::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0,0,0,.62), rgba(0,0,0,.12) 55%, transparent); transition: opacity .6s; }
.pband:hover::after { opacity: .78; }
.pband-cap { position: relative; z-index: 2; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; padding-bottom: 48px; }
.pband-cap > * { opacity: 0; transform: translateY(22px); transition: opacity .8s ease, transform .9s cubic-bezier(.16,1,.3,1); }
.pband.in .pband-cap > * { opacity: 1; transform: none; }
.pband.in .pband-cap > :nth-child(2) { transition-delay: .08s; }
.pband.in .pband-cap > :nth-child(3) { transition-delay: .16s; }
.pband.in .pband-cap > :nth-child(4) { transition-delay: .24s; }
.pband.in .pband-cap > :nth-child(5) { transition-delay: .32s; }
.pband-tag { align-self: flex-start; margin-top: 14px; font-size: .72rem; font-weight: 600;
    letter-spacing: .1em; text-transform: uppercase; color: #1A1A1A; background: #CCF4D9;
    padding: 6px 10px; border-radius: 999px; }
.pband-n { font-size: .8rem; font-weight: 600; letter-spacing: .16em; color: #CFE0AE; }
.pband h3 { font-family: var(--font-display); font-size: clamp(2rem, 3.4vw, 3.25rem); font-weight: 700; letter-spacing: -.02em; margin: 10px 0 8px; color: #fff; }
.pband p { font-size: 1.05rem; opacity: .92; margin: 0; }
.pband-go { align-self: flex-start; margin-top: 20px; font-weight: 600; border-bottom: 2px solid #fff; padding-bottom: 4px; }
.pband-go b { display: inline-block; transition: transform .4s; }
.pband:hover .pband-go b { transform: translateX(6px); }
.pband:focus-visible { outline: 3px solid var(--olive); outline-offset: -3px; }
.pband-zoom { position: fixed; z-index: 10001; object-fit: cover; pointer-events: none; }

/* the project, opened over the page */
.pview { position: fixed; inset: 0; z-index: 10000; background: #fff; overflow-y: auto; opacity: 0; visibility: hidden; transition: opacity .35s; }
.pview.on { opacity: 1; visibility: visible; }
.pview-top { position: relative; height: 72vh; min-height: 420px; color: #fff; }
.pview-top img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.pview-top::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(0,0,0,.66), transparent 60%); }
.pview-top .container { position: relative; z-index: 2; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; padding-bottom: 48px; }
.pview-top .section-tag { color: #CFE0AE; }
.pview-top h2 { font-family: var(--font-display); font-size: clamp(2.4rem, 4.6vw, 4.5rem); font-weight: 700; letter-spacing: -.025em; margin: 10px 0 6px; color: #fff; }
.pview-top p { font-size: 1.15rem; opacity: .92; margin: 0; }
.pview-x { position: fixed; top: 22px; right: 22px; z-index: 10002; width: 52px; height: 52px; border-radius: 50%; border: 0; background: #fff; font-size: 26px; line-height: 1; cursor: pointer; box-shadow: 0 4px 18px rgba(0,0,0,.18); }
.pview-facts { display: flex; flex-wrap: wrap; gap: 24px 60px; padding: 40px 0; border-bottom: 1px solid var(--gray-200); }
.pview-facts strong { display: block; font-family: var(--font-display); font-size: 1.6rem; font-weight: 700; }
.pview-facts span { font-size: .9rem; color: var(--gray-500); }
.pview-about { display: grid; grid-template-columns: 4fr 8fr; gap: 72px; padding: 56px 0; }
.pview-about p { font-size: 1.15rem; line-height: 1.7; color: var(--gray-700); max-width: 680px; margin: 0; }
.pview-case { display: inline-flex; align-items: center; min-height: 44px; margin-top: 18px; font-weight: 600; color: var(--olive); border-bottom: 2px solid var(--olive); }
.pview-gal { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; padding-bottom: 90px; }
.pview-gal img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }

/* about: the paragraph beside its heading */
.about-layout { display: block !important; }
.about-content { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); column-gap: 72px; align-items: start; max-width: none; }
.about-content > .section-tag, .about-content > .section-title { grid-column: 1; }
.about-content > .about-text { grid-column: 2; grid-row: 1 / span 2; max-width: 680px; font-size: 1.15rem; line-height: 1.75; margin: 0; }

@media (max-width: 900px) {
  .hhead { flex-direction: column; align-items: flex-start; gap: 16px; }
  .hfacts-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hfact:nth-child(3) { border-left: 0; padding-left: 0; }
  .hsvc-panels { grid-template-columns: minmax(0, 1fr); }
  .hsvc-panel { padding: 28px 22px; }
  .pband { height: 380px; min-height: 0; }
  .pband-cap { padding-bottom: 28px; }
  .pview-about { grid-template-columns: minmax(0, 1fr); gap: 16px; padding: 36px 0; }
  .pview-gal { grid-template-columns: minmax(0, 1fr); }
  .pview-facts { gap: 18px 32px; }
  .about-content { display: block; }
  .about-content > .about-text { margin-top: 18px; }
}
@media (prefers-reduced-motion: reduce) {
  .pband-ph { transform: none; }
  .pband img, .pband.in img, .pband:hover img { transform: none; transition: none; }
  .pband-cap > * { opacity: 1; transform: none; transition: none; }
}
