:root {
  color-scheme: light;
  --navy: #010067;
  --navy-deep: #07083c;
  --lime: #a2ce44;
  --ink: #171a2c;
  --muted: #5e6371;
  --paper: #f4f5f1;
  --white: #fff;
  --line: #d9dce0;
  --display: "Barlow Semi Condensed", "Arial Narrow", sans-serif;
  --body: "Source Sans 3", "Segoe UI", sans-serif;
  --content: 1240px;
  --ease: cubic-bezier(.16, 1, .3, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 92px; background: var(--paper); }
body { margin: 0; color: var(--ink); background: var(--paper); font: 400 17px/1.55 var(--body); }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 3px solid var(--lime); outline-offset: 4px; }
button { font: inherit; }
h1, h2, h3, p { text-wrap: pretty; }
h1, h2, h3 { font-family: var(--display); font-weight: 600; }
.wrap { width: min(var(--content), calc(100% - 64px)); margin-inline: auto; }
.skip-link { position: absolute; z-index: 20; top: 8px; left: 8px; transform: translateY(-160%); padding: .7rem 1rem; background: var(--white); color: var(--navy); }
.skip-link:focus { transform: translateY(0); }

.topline { min-height: 34px; display: flex; align-items: center; background: var(--navy); color: #e8e9f3; font-size: .73rem; letter-spacing: .035em; }
.topline-inner { display: flex; align-items: center; gap: .65rem; }
.topline-dot { width: 7px; height: 7px; flex: 0 0 auto; background: var(--lime); border-radius: 50%; }
.site-header { position: relative; z-index: 10; background: var(--white); border-bottom: 1px solid var(--line); }
.header-inner { min-height: 82px; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }
.brand, .footer-brand { display: inline-flex; align-items: center; flex: 0 0 auto; text-decoration: none; }
.brand img { width: 182px; height: auto; }
.desktop-nav { display: flex; align-items: center; gap: clamp(1.1rem, 2.4vw, 2.3rem); }
.desktop-nav a, .mobile-nav a { color: #303343; font-size: .86rem; font-weight: 600; text-decoration: none; }
.desktop-nav a:hover, .mobile-nav a:hover { color: var(--navy); text-decoration: underline; text-underline-offset: 5px; }
.button { min-height: 50px; display: inline-flex; align-items: center; justify-content: center; gap: .8rem; padding: .75rem 1.15rem; border: 1px solid transparent; border-radius: 2px; font-size: .91rem; font-weight: 700; text-decoration: none; transition: background-color .18s var(--ease), color .18s var(--ease), transform .18s var(--ease); }
.button:hover { transform: translateY(-2px); }
.button--header { min-height: 44px; background: var(--navy); color: var(--white); font-size: .82rem; }
.button--header:hover, .button--navy:hover { background: var(--navy-deep); }
.button--lime { background: var(--lime); color: var(--navy); }
.button--lime:hover { background: #b3dc5d; }
.button--navy { background: var(--navy); color: var(--white); }
.menu-toggle { display: none; width: 44px; height: 44px; place-content: center; gap: 6px; border: 1px solid var(--line); background: var(--white); cursor: pointer; }
.menu-toggle span { width: 18px; height: 2px; background: var(--navy); transition: transform .18s var(--ease); }
.menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }
.mobile-nav { display: none; padding: .35rem 24px 1rem; background: var(--white); }
.mobile-nav:not([hidden]) { display: grid; }
.mobile-nav a { padding: .75rem 0; border-top: 1px solid var(--line); }

.hero { overflow: hidden; background: var(--navy); color: var(--white); }
.hero-grid { min-height: 588px; display: grid; grid-template-columns: .92fr 1.08fr; align-items: stretch; }
.hero-copy { align-self: center; padding: 4.8rem clamp(2rem, 5vw, 5rem) 3.5rem 0; }
.eyebrow { display: flex; align-items: center; gap: .65rem; margin: 0 0 1.05rem; color: var(--navy); font-size: .72rem; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; }
.hero .eyebrow, .closing .eyebrow { color: var(--lime); }
.eyebrow-line { width: 24px; height: 2px; background: var(--lime); }
h1 { max-width: 11ch; margin: 0; font-size: clamp(3.6rem, 6.2vw, 6.1rem); line-height: .92; letter-spacing: -.025em; }
.hero-intro { max-width: 45ch; margin: 1.4rem 0 1.65rem; color: #e0e2ec; font-size: 1.08rem; }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 1.3rem; }
.text-link { display: inline-flex; align-items: center; gap: .55rem; color: var(--white); font-size: .91rem; font-weight: 600; text-decoration: none; }
.text-link:hover { color: var(--lime); }
.hero-details { display: flex; gap: clamp(1.6rem, 4vw, 3.4rem); margin-top: 2.6rem; padding-top: 1.1rem; border-top: 1px solid #ffffff38; }
.hero-details div { display: grid; gap: .12rem; }
.hero-details span { color: #c4c7d5; font-size: .72rem; }
.hero-details strong { color: var(--white); font-size: .9rem; font-weight: 600; }
.hero-photo { position: relative; min-height: 588px; margin: 0; overflow: hidden; background: #c6c8c2; }
.hero-photo::after { position: absolute; inset: 55% 0 0; background: linear-gradient(0deg, #080a20a8, transparent); content: ""; pointer-events: none; }
.hero-photo img { width: 100%; height: 100%; position: absolute; inset: 0; object-fit: cover; object-position: 55% center; }
.hero-photo figcaption { position: absolute; z-index: 1; right: 1.2rem; bottom: 1.15rem; display: flex; align-items: center; gap: .6rem; color: white; font-size: .78rem; font-weight: 600; }
.photo-mark { width: 7px; height: 7px; background: var(--lime); }

.section { padding-block: clamp(4.5rem, 8vw, 7.5rem); }
.section-heading { display: grid; grid-template-columns: 1fr .72fr; align-items: end; gap: clamp(2rem, 7vw, 7rem); margin-bottom: 2.9rem; }
.section-heading h2, .request h2, .faq h2, .closing h2 { max-width: 13ch; margin: 0; font-size: clamp(2.7rem, 4.7vw, 4.5rem); line-height: .98; letter-spacing: -.02em; }
.section-heading > p { max-width: 48ch; margin: 0 0 .25rem; color: var(--muted); }
.services { background: var(--paper); }
.service-list { border-top: 1px solid #c9cdd2; }
.service-row { display: grid; grid-template-columns: 52px minmax(210px, .9fr) 1.35fr 175px; gap: 1.2rem; align-items: center; padding: 1.4rem 0; border-bottom: 1px solid #c9cdd2; }
.service-row--primary { padding-block: 1.65rem; }
.service-symbol { width: 42px; height: 42px; display: grid; place-items: center; background: #e4eccf; color: var(--navy); }
.service-symbol svg { width: 23px; height: 23px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.service-title { align-self: center; }
.service-kicker { margin: 0 0 .28rem; color: #646b78; font-size: .68rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.service-row--primary .service-kicker { color: #617c25; }
.service-row h3 { margin: 0; font-size: clamp(1.35rem, 2vw, 1.8rem); line-height: 1.04; }
.service-row > p { margin: 0; color: var(--muted); font-size: .92rem; }
.row-link { justify-self: end; display: inline-flex; align-items: center; gap: .5rem; color: var(--navy); font-size: .81rem; font-weight: 700; text-decoration: none; white-space: nowrap; }
.row-link:hover { text-decoration: underline; text-underline-offset: 4px; }

.portfolio { background: var(--navy-deep); color: var(--white); }
.portfolio .eyebrow { color: var(--lime); }
.portfolio-heading > p { color: #c4c7d5; }
.portfolio-grid { display: grid; grid-template-columns: 1.25fr .85fr .9fr; grid-template-rows: 268px 230px; grid-template-areas: "kitchen solar window" "commercial commercial build"; gap: 13px; }
.project { position: relative; min-width: 0; min-height: 0; margin: 0; overflow: hidden; background: #262942; }
.project::after { position: absolute; inset: 42% 0 0; background: linear-gradient(0deg, #080a20d9, transparent); content: ""; }
.project img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s var(--ease); }
.project:hover img { transform: scale(1.025); }
.project--kitchen { grid-area: kitchen; }
.project--solar { grid-area: solar; }
.project--window { grid-area: window; }
.project--commercial { grid-area: commercial; }
.project--build { grid-area: build; }
.project figcaption { position: absolute; z-index: 1; right: 1.1rem; bottom: 1rem; left: 1.1rem; display: grid; gap: .12rem; }
.project figcaption span { color: #e5e7ed; font-size: .68rem; letter-spacing: .045em; }
.project figcaption strong { color: white; font: 600 1.35rem/1.05 var(--display); }

.request { background: #e9ecdf; }
.request-layout { display: grid; grid-template-columns: .92fr 1.08fr; gap: clamp(3rem, 9vw, 8.5rem); align-items: center; }
.request-intro h2 { max-width: 10ch; }
.request-intro > p:not(.eyebrow) { max-width: 41ch; margin: 1.1rem 0 1.5rem; color: var(--muted); }
.request-steps { margin: 0; padding: 0; list-style: none; border-top: 1px solid #bdc4b4; }
.request-steps li { display: grid; grid-template-columns: 44px 1fr; gap: 1rem; padding: 1.1rem 0; border-bottom: 1px solid #bdc4b4; }
.step-number { color: #5c7721; font: 600 1.12rem var(--display); }
.request-steps h3 { margin: 0; font-size: 1.42rem; }
.request-steps p { margin: .25rem 0 0; color: var(--muted); font-size: .91rem; }

.faq { background: var(--white); }
.faq-layout { display: grid; grid-template-columns: .74fr 1.26fr; gap: clamp(3rem, 8vw, 7rem); }
.faq h2 { max-width: 8ch; }
.faq-list { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { position: relative; padding: 1.15rem 2.5rem 1.15rem 0; color: var(--ink); font-weight: 700; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { position: absolute; top: 50%; right: .3rem; color: var(--navy); font-size: 1.25rem; content: "+"; transform: translateY(-50%); }
.faq details[open] summary::after { content: "−"; }
.faq details p { max-width: 60ch; margin: -.2rem 2.5rem 1.15rem 0; color: var(--muted); font-size: .92rem; }

.closing { padding-block: clamp(3.5rem, 6.5vw, 6rem); background: var(--navy); color: var(--white); }
.closing-inner { display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.closing h2 { max-width: 12ch; }
.closing-inner > div > p:last-child { margin: .85rem 0 0; color: #d4d6e1; }
.button--closing { min-width: 258px; }
.site-footer { background: var(--white); }
.footer-inner { min-height: 86px; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }
.footer-brand img { width: 156px; height: auto; }
.footer-inner p { margin: 0; color: var(--muted); font-size: .78rem; }
.footer-inner > a:last-child { display: inline-flex; align-items: center; gap: .4rem; color: var(--navy); font-size: .81rem; font-weight: 700; text-decoration: none; }
.mobile-contact { display: none; }

@media (max-width: 980px) {
  .wrap { width: min(var(--content), calc(100% - 48px)); }
  .desktop-nav { gap: 1rem; }
  .desktop-nav a { font-size: .8rem; }
  .hero-grid { grid-template-columns: .95fr 1.05fr; min-height: 530px; }
  .hero-photo { min-height: 530px; }
  .hero-copy { padding-right: 2rem; }
  h1 { font-size: clamp(3.45rem, 6.4vw, 5.25rem); }
  .service-row { grid-template-columns: 46px minmax(180px, .95fr) 1.2fr; gap: .9rem; }
  .row-link { grid-column: 2 / -1; justify-self: start; margin-top: -.25rem; }
  .portfolio-grid { grid-template-rows: 230px 210px; }
}

@media (max-width: 720px) {
  html { scroll-padding-top: 72px; }
  body { font-size: 16px; padding-bottom: calc(76px + env(safe-area-inset-bottom)); }
  .wrap { width: min(var(--content), calc(100% - 36px)); }
  .topline { min-height: 32px; font-size: .68rem; }
  .header-inner { min-height: 72px; gap: .8rem; }
  .brand img { width: 158px; }
  .desktop-nav, .button--header { display: none; }
  .menu-toggle { display: grid; }
  .hero-grid { width: 100%; grid-template-columns: 1fr; }
  .hero-copy { padding: 3.6rem max(18px, calc((100vw - 600px)/2)) 2.3rem; }
  h1 { max-width: 12ch; font-size: clamp(3.15rem, 10vw, 4.6rem); }
  .hero-intro { max-width: 52ch; font-size: 1rem; }
  .hero-details { margin-top: 1.9rem; }
  .hero-photo { min-height: clamp(250px, 68vw, 390px); }
  .hero-photo img { object-position: center 55%; }
  .section { padding-block: 4.2rem; }
  .section-heading, .request-layout, .faq-layout { grid-template-columns: 1fr; gap: 1.4rem; }
  .section-heading { margin-bottom: 2rem; }
  .section-heading h2, .request h2, .faq h2, .closing h2 { max-width: 12ch; font-size: clamp(2.65rem, 8vw, 3.55rem); }
  .service-row { grid-template-columns: 42px 1fr; gap: .25rem .8rem; padding-block: 1.15rem; }
  .service-symbol { grid-row: span 3; width: 38px; height: 38px; }
  .service-row h3 { font-size: 1.42rem; }
  .service-row > p { grid-column: 2; margin-top: .35rem; font-size: .88rem; }
  .row-link { grid-column: 2; margin-top: .25rem; font-size: .79rem; }
  .portfolio-grid { grid-template-columns: 1fr 1fr; grid-template-rows: 235px 190px 225px 210px; grid-template-areas: "kitchen kitchen" "solar window" "commercial commercial" "build build"; gap: 9px; }
  .project figcaption { right: .8rem; bottom: .8rem; left: .8rem; }
  .project figcaption strong { font-size: 1.25rem; }
  .request-layout { gap: 2.2rem; }
  .closing-inner { align-items: flex-start; flex-direction: column; }
  .button--closing { width: 100%; }
  .footer-inner { min-height: auto; align-items: flex-start; flex-direction: column; padding-block: 1.5rem; gap: .65rem; }
  .mobile-contact { position: fixed; z-index: 15; right: 12px; bottom: calc(10px + env(safe-area-inset-bottom)); left: 12px; min-height: 52px; display: flex; align-items: center; justify-content: center; gap: .6rem; padding: .8rem 1rem; background: var(--lime); color: var(--navy); box-shadow: 0 6px 22px #05063c38; font-size: .9rem; font-weight: 700; text-decoration: none; }
}

@media (max-width: 390px) {
  .wrap { width: calc(100% - 30px); }
  .brand img { width: 146px; }
  .hero-copy { padding-inline: 15px; }
  .hero-actions { align-items: flex-start; flex-direction: column; gap: 1rem; }
  .hero-actions .button { width: 100%; }
  .hero-details { gap: 1.5rem; }
}

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