/* Brooke Electrical typography and component styles. */
.mobile-contact { display: none; }
@media (max-width: 700px) {
  .mobile-contact:not([hidden]) {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    position: fixed;
    z-index: 20;
    inset: auto 0 0;
    padding: 10px max(16px, env(safe-area-inset-right)) calc(10px + env(safe-area-inset-bottom)) max(16px, env(safe-area-inset-left));
    background: #132939;
    border-top: 1px solid #ffffff25;
    box-shadow: 0 -5px 22px #07192320;
  }
  .mobile-contact a { display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 46px; border-radius: 4px; font-size: 14px; font-weight: 600; }
  .mobile-contact .mobile-call { color: #132939; background: linear-gradient(135deg, #ffdb68, #f2c335); }
  .mobile-contact .mobile-email { color: #fff; border: 1px solid #ffffff65; }
  .mobile-contact .icon { font-size: 18px; }
  .mobile-contact a:focus-visible { outline-offset: 2px; outline-color: #fff; }
  html { scroll-padding-bottom: calc(80px + env(safe-area-inset-bottom)); }
}
@media print { .mobile-contact:not([hidden]) { display: none; } }
@font-face {
  font-family: 'Manrope';
  src: url('assets/fonts/manrope-variable.ttf') format('truetype');
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
}
@font-face {
  font-family: 'Space Grotesk';
  src: url('assets/fonts/space-grotesk-variable.ttf') format('truetype');
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
}
:root { --paper: #f4f6f5; }
::selection { background: var(--yellow); color: var(--navy); }
header nav > a:not(.nav-cta) { position: relative; padding: 10px 0; }
header nav > a:not(.nav-cta)::after { content: ''; position: absolute; bottom: 3px; left: 0; width: 0; height: 2px; background: var(--yellow); transition: width .2s; }
header nav > a:hover::after { width: 100%; }
.hero-copy { position: relative; background-image: radial-gradient(ellipse at 0 10%, #38627a55, transparent 75%); }
.hero h1 em { position: relative; display: inline-block; }
.hero h1 em::after { content: ''; display: block; width: 34%; height: 3px; margin-top: 15px; background: var(--yellow); }
.hero-actions { margin-bottom: 24px; }
.button, .nav-cta { border-radius: 5px; box-shadow: inset 0 1px 0 #ffffff20, 0 4px 10px #07192315; }
.button.yellow { background: linear-gradient(135deg, #ffdb68, var(--yellow)); box-shadow: inset 0 1px 0 #ffffff70, 0 5px 14px #06152028; }
.button.yellow:hover { background: linear-gradient(135deg, #ffe28b, #f8cc46); }
.button > span, .text-link > span { transition: transform .2s; }
.button:hover > span, .text-link:hover > span { transform: translate(3px,-3px); }
.hero-stamp { position: absolute; z-index: 2; right: 28px; top: 28px; max-width: calc(100% - 56px); padding: 12px 16px; border: 1px solid #ffffff26; border-radius: 4px; background: #132939; color: #fff; display: flex; align-items: center; gap: 11px; }
.hero-stamp > span:last-child { font-size: 13px; font-weight: 500; line-height: 1.5; letter-spacing: .02em; }
.hero-stamp .stamp-accent { width: 6px; height: 6px; flex: 0 0 6px; border-radius: 50%; background: var(--yellow); }
.hero-stamp .stamp-divider { color: #9cafbb; margin: 0 7px; }
.trust { padding-top: 25px; padding-bottom: 25px; }
.reviews { display: block; background: radial-gradient(ellipse at 80% 30%, #fff 0, #edf2f3 70%); position: relative; overflow: hidden; }
.reviews::before { content: ''; position: absolute; top: 0; left: 6%; width: 90px; height: 5px; background: var(--yellow); }
.reviews h2 { font-size: clamp(36px,3.5vw,54px); }
.reviews h2 em {
  color: var(--navy);
  background: linear-gradient(135deg, #ffdb68, var(--yellow));
  padding: .015em .12em .06em;
  border-radius: 2px;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}
.reviews-intro > p:not(.eyebrow) { color: #596c78; max-width: 350px; margin: 23px 0 14px; }
.review-card { position: relative; background: white; padding: 30px 36px 28px; border: 1px solid #dce5e8; border-top: 3px solid var(--yellow); border-radius: 8px; box-shadow: 0 24px 50px -24px #13293940, 0 3px 8px #13293905; }
.review-card-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 13px; }
.quote-mark { font: 72px/.8 Georgia,serif; color: #c19416; height: 46px; padding-top: 10px; }
.review-card blockquote { font-size: clamp(26px,2.65vw,40px); line-height: 1.3; margin: 15px 0 30px; letter-spacing: -1px; }
.review-card mark { background: linear-gradient(transparent 65%,#f2c33566 65%); color: inherit; }
.review-card figcaption { display: flex; flex-direction: row; align-items: center; gap: 13px; padding: 23px 0 0; border-top: 1px solid var(--line); }
.review-card figcaption strong { display: block; font-size: 15px; font-weight: 700; letter-spacing: 0; }
.review-card figcaption div > span { display: block; font-size: 12px; letter-spacing: 0; color: #657580; }
.review-card figcaption > a { display: inline-block; color: #46657a; font-size: 12px; text-decoration: underline; text-underline-offset: 3px; }
.review-card figcaption > a:hover { color: var(--navy); }
.service-grid { border: 0; gap: 18px; }
.service { position: relative; border: 1px solid var(--line); border-radius: 7px; background: linear-gradient(155deg, #fff 55%, #f5f8f9); box-shadow: 0 3px 6px #13293904; min-height: 305px; transition: transform .25s, box-shadow .25s, border-color .25s; }
.service:hover, .service:focus-visible { border-color: #9fb5c3; transform: translateY(-3px); box-shadow: 0 16px 30px -15px #13293935; }
.service-number { align-items: center; gap: 10px; margin-bottom: 29px; }
.service-icon { box-sizing: content-box; width: 32px; height: 32px; padding: 10px; border: 1px solid #dce6ec; border-radius: 12px; background: #edf3f6; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.service p { font-size: 16px; }
.service.emergency { border-color: #e7b92d; background: linear-gradient(135deg, #ffda63, var(--yellow)); }
.emergency .service-icon { background: #ffffff26; border-color: #13293920; }
.service.emergency:hover { background: #ffda63; }
.about { position: relative; }
.about::before { content: ''; position: absolute; top: 0; left: 6%; height: 4px; width: 70px; background: var(--blue); }
.project-grid figure { position: relative; }
.project-grid img { border-radius: 8px; box-shadow: 0 18px 35px -24px #13293960; }
.project-grid figcaption { margin: 0; padding: 20px 0 0; gap: 5px; }
.project-grid figcaption > span { font-size: 14px; letter-spacing: 0; color: #657580; }
.project-grid figcaption strong { line-height: 1.35; }
.contact { position: relative; overflow: hidden; background: radial-gradient(ellipse at 100% 0, #2d5067 0, var(--navy) 65%); }
.contact::before { content: ''; pointer-events: none; position: absolute; width: 390px; height: 390px; border: 1px solid #ffffff09; border-radius: 50%; left: -240px; top: -120px; box-shadow: 0 0 0 45px #ffffff04, 0 0 0 90px #ffffff03; }
@media (min-width: 1051px) { .hero-actions { gap: 18px; } .hero-actions .button { padding-left: 17px; padding-right: 17px; gap: 16px; } }
@media (max-width: 1050px) { header nav { gap: 23px; } .reviews { gap: 35px; } .review-card { padding: 26px; } }
@media (max-width: 700px) {
  .hero-stamp { top: 18px; right: 18px; max-width: calc(100% - 36px); padding: 10px 13px; }
  .reviews { grid-template-columns: 1fr; gap: 30px; }
  .reviews-intro > p:not(.eyebrow) { max-width: 440px; }
  .review-card { padding: 24px; margin-right: 7px; }
  .review-card blockquote { font-size: 30px; }
  .service-grid { gap: 12px; }
  .service { padding: 23px 17px; }
  .service-number { gap: 5px; }
  .service-icon { width: 28px; height: 28px; padding: 7px; }
  .service p { font-size: 16px; }
  .project-grid { gap: 32px; }
}
@media (max-width: 440px) { .service-grid { grid-template-columns: 1fr; } .service { min-height: 275px; padding: 26px; } }
@media (prefers-reduced-motion: reduce) { .service:hover, .button:hover > span, .text-link:hover > span { transform: none; } }

/* Local fonts keep the typography consistent without a hosted font service. */
header { border-bottom: 1px solid #1329390d; }
.hero-visual { margin: 20px 20px 20px 0; border-radius: 8px; box-shadow: 0 14px 40px #07192330; }
.hero-stamp { box-shadow: 0 6px 18px #07192325; }
.photo-label { padding-left: 17px; border-left: 2px solid var(--yellow); max-width: calc(100% - 135px); }
.photo-label strong { display: block; line-height: 1.3; }
.trust { position: relative; z-index: 1; box-shadow: 0 5px 18px #13293905; }
.trust b { display: flex; align-items: center; justify-content: center; gap: 10px; }
.trust { gap: 0; }
.trust > span { padding-inline: 18px; text-align: center; }
.trust b .icon { color: #b38a12; font-size: 23px; line-height: 1; }
.section-top > p { border-left: 1px solid #dce1e3; padding-left: 24px; }
.service p { flex-grow: 1; }
.text-link { border-color: #b6c5cf; }
.text-link:hover { color: #32638a; border-color: #32638a; }
@media (min-width: 1051px) { .section { padding-top: 105px; padding-bottom: 105px; } }
@media (max-width: 700px) {
  .hero-visual { margin: 0 16px 18px; min-height: 360px; }
  .photo-label { left: 20px; bottom: 26px; max-width: calc(100% - 100px); padding-left: 12px; }
  .photo-label strong { font-size: 20px; }
  .photo-label span { font-size: 11px; letter-spacing: .1em; }
  .scroll-cue { right: 18px; bottom: 26px; }
  .section-top > p { padding-left: 0; border-left: 0; }
  .review-card { margin-right: 0; }
}
@media (prefers-reduced-motion: reduce) { .service:focus-visible { transform: none; } }
body { font-family: 'Manrope', Arial, sans-serif; font-weight: 400; }
h1, h2, h3, .trust b, blockquote,
.photo-label strong, figcaption strong, .contact-phone, .footer-brand{
  font-family: 'Space Grotesk', 'Manrope', sans-serif;
}
h1 { font-weight: 600; letter-spacing: -.055em; }
h2 { font-weight: 500; letter-spacing: -.045em; }
.service h3 { font-weight: 500; letter-spacing: -.035em; }
.trust b { font-size: 23px; font-weight: 600; letter-spacing: -.035em; margin-bottom: 6px; }
.trust > span { font-size: 13px; line-height: 1.65; }
.review-card blockquote { font-weight: 400; letter-spacing: -.035em; }
.project-grid figcaption strong { font-weight: 500; letter-spacing: -.025em; }
.eyebrow{ font-weight: 700; letter-spacing: .12em; }
.hero-desc { line-height: 1.8; }
.hero-actions { flex-wrap: wrap; }
.service-icon { display: grid; place-items: center; font-size: 30px; }
.scroll-cue { display: grid; place-items: center; font-size: 18px; }
.footer-legal { line-height: 1.8; }
footer { flex-wrap: wrap; }
.footer-payments { flex-basis: 100%; display: flex; align-items: center; justify-content: center; gap: 28px; padding-top: 24px; border-top: 1px solid var(--line); color: var(--navy); }
.footer-payments > p { font-size: 13px; font-weight: 600; }
.footer-payments ul { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 26px; list-style: none; margin: 0; padding: 0; }
.footer-payments li { display: flex; align-items: center; gap: 9px; font-size: 12px; }
.footer-payments .icon { font-size: 23px; color: #46657a; }
@media (max-width: 700px) {
  .footer-payments { flex-direction: column; gap: 18px; }
  .footer-payments ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 28px; }
}
.contact-phone, .contact-email { align-items: center; gap: 18px; }
.contact > div:first-child { text-align: left; align-self: center; }
@media (min-width: 1051px) {
  .contact > div:first-child { padding-left: clamp(32px, 3.6vw, 65px); }
}
.contact > div:first-child > p:last-child { max-width: 440px; margin-inline: 0; }
.contact-phone > span, .contact-email > span { flex-shrink: 0; display: flex; align-items: center; }
.contact-phone .icon, .contact-email .icon { font-size: 24px; }
.icon-credit { display: block; font-size: 12px; color: #737d85; }
.icon-credit a { text-decoration: none; }
.icon-credit a:hover, .icon-credit a:focus-visible { color: var(--navy); text-decoration: underline; text-underline-offset: 3px; }
/* Services: simple rows with a shared icon, title and description alignment. */
.services .service-grid { display: block; }
.services .service {
  display: grid;
  grid-template-columns: 55px minmax(0, 1fr) minmax(0, 1.25fr);
  gap: 25px;
  align-items: center;
  min-height: 0;
  padding: 25px 0;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  box-shadow: none;
  background: transparent;
  transition: background .2s;
}
.services .service-number { margin: 0; }
.services .service-icon { padding: 0; border: 0; border-radius: 0; background: none; }
.services .service h3, .services .service p { margin: 0; }
.services .service p { max-width: 480px; }
.services .service.emergency h3 { color: #8b6a06; }
.services .service:hover, .services .service:focus-visible { transform: none; box-shadow: none; background: #f6f8f9; }
@media (max-width: 800px) {
  .services .service { grid-template-columns: 40px minmax(0, 1fr); gap: 12px; }
  .services .service p { grid-column: 2; max-width: none; }
}
.reviews .reviews-heading { display: block; text-align: center; margin-bottom: 42px; }
.reviews-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.reviews-grid .review-card { display: flex; flex-direction: column; padding: 26px; min-width: 0; }
.review-job { font-size: 13px; color: #46657a; font-weight: 600; }
.reviews-grid blockquote { font-size: clamp(25px, 2.25vw, 33px); margin: 14px 0 20px; line-height: 1.3; }
.reviews-grid figcaption { margin-top: auto; gap: 8px; flex-direction: column; align-items: flex-start; border-top: 0; padding-top: 8px; }
.reviews-grid figcaption strong { font-family: 'Manrope', sans-serif; font-weight: 600; font-size: 14px; }
.reviews-grid figcaption div > span { margin-top: 3px; }
.review-note { font-size: 12px; color: #657580; margin-top: 25px; text-align: center; }
.work { background: #132939; color: #fff; }
.work .eyebrow { color: #b7cbd8; }
.work .text-link { color: #e0e9ef; border-color: #ffffff40; }
.work .text-link:hover { color: var(--yellow); border-color: var(--yellow); }
.work.section { padding-block: 64px; }
.work .section-top { margin-bottom: 30px; }
.work .section-top > .text-link { justify-self: end; }
.work .project-grid figure { overflow: hidden; border-radius: 8px; background: #203b4d; box-shadow: 0 15px 35px #06131c30; }
.work .project-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.work .project-photo, .work .project-detail .project-photo { aspect-ratio: 4 / 5; border-radius: 0; }
.work .project-grid figure::after { content: ''; position: absolute; inset: 45% 0 0; background: linear-gradient(transparent, #0a1c2acf); pointer-events: none; }
.work .project-grid figcaption { position: absolute; z-index: 1; left: 0; right: 0; bottom: 0; padding: 20px; gap: 8px; }
.work .project-grid figcaption::before { content: ''; display: block; width: 32px; height: 3px; background: linear-gradient(135deg, #ffdb68, var(--yellow)); margin-bottom: 7px; }
.work .project-grid figcaption strong { color: #fff; font-size: 20px; letter-spacing: -.025em; }
.work .project-grid figcaption > span { color: #d5e0e8; font-size: 14px; }
.work .project-grid figcaption > span { display: none; }
@media (max-width: 1050px) {
  .work .project-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
  .work .project-photo, .work .project-detail .project-photo { aspect-ratio: 4 / 3; }
}
@media (max-width: 700px) {
  .work.section { padding-block: 44px; }
  .work .project-grid figcaption { padding: 14px; }
  .work .project-grid figcaption strong { font-size: 17px; }
  .work .project-photo, .work .project-detail .project-photo { aspect-ratio: 4 / 5; }
}
@media (max-width: 370px) {
  .work .project-grid { grid-template-columns: 1fr; }
  .work .project-photo, .work .project-detail .project-photo { aspect-ratio: 4 / 3; }
}
.about { background: #fff; }
.team-intro > p:last-child { max-width: 390px; margin-top: 24px; color: #657580; line-height: 1.8; }
.process-summary > h3 { font-size: 21px; font-weight: 500; margin: 0 0 22px; }
.process-rows { list-style: none; margin: 0; padding: 0; }
.process-rows li { padding: 18px 0; border-top: 1px solid var(--line); }
.process-rows li:last-child { padding-bottom: 0; }
.process-rows h4 { font-family: 'Manrope', sans-serif; font-size: 15px; font-weight: 600; margin: 0 0 5px; }
.process-rows p { color: #657580; font-size: 14px; line-height: 1.75; }
.project-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px; }
.project-grid figure:nth-child(2) { padding-top: 0; }
.project-photo { position: relative; overflow: hidden; border-radius: 8px; aspect-ratio: 4 / 3; }
.project-grid figure .project-photo img { position: absolute; inset: 0; display: block; height: 100%; width: 100%; border-radius: 0; box-shadow: none; object-fit: cover; transition: transform .45s ease; }
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .project-grid figure .project-photo img { transition: transform .55s ease, filter .55s ease; }
  .project-grid figure:hover img { transform: scale(1.025); filter: brightness(1.07) saturate(1.03); }
}

@keyframes gentle-entrance {
  from { opacity: .25; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}
@media (prefers-reduced-motion: no-preference) {
  .scroll-enter { animation: gentle-entrance .65s cubic-bezier(.22, .61, .36, 1) both; }
}
@media (prefers-reduced-motion: reduce) {
  .scroll-enter { animation: none; }
}
@media print {
  .scroll-enter { animation: none; opacity: 1; transform: none; }
}
@media (min-width: 701px) and (max-width: 1050px) {
  .reviews-grid { gap: 14px; }
  .reviews-grid .review-card { padding: 20px; }
  .reviews-grid blockquote { font-size: 25px; }
}
@media (max-width: 700px) {
  .reviews-heading { display: block; margin-bottom: 30px; }
.reviews-grid, .project-grid{ grid-template-columns: 1fr; }
  .reviews-grid { gap: 20px; }
  .reviews-grid .review-card { padding: 26px; }
  .reviews-grid blockquote { font-size: 29px; }
  .project-grid figcaption { min-height: 0; }
}
@media (max-width: 700px) {
  .service-icon { font-size: 26px; }
  .trust b { font-size: 21px; }
  .contact-email { font-size: clamp(16px, 4.3vw, 20px); }
}

/* Shared page edges and column starts across the newer sections. */
.section { padding-inline: 5%; }
.reviews::before, .about::before { left: 5%; }
.reviews::before { left: 50%; transform: translateX(-50%); }
footer { padding-inline: 5%; }
@media (min-width: 801px) {
  .section-top, .reviews-heading {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 48px;
    align-items: end;
    margin-bottom: 42px;
  }
.section-top > p{
    border-left: 0;
    padding-left: 0;
    max-width: 380px;
  }
  .section-top > .text-link { justify-self: start; }
  .services .service {
    grid-template-columns: 40px minmax(0, calc(50% - 64px)) minmax(0, 1fr);
    column-gap: 24px;
  }
  .about, .contact { column-gap: 48px; }
.reviews-grid, .project-grid{ gap: 24px; }
}
@media (max-width: 700px) {
  .section, footer { padding-inline: 6%; }
  .reviews::before, .about::before { left: 6%; }
  .reviews::before { left: 50%; }
  .trust { row-gap: 24px; }
  .trust > span { padding-inline: 10px; }
}
