:root {
  color-scheme: light;
  --ink: #201e20;
  --charcoal: #211f22;
  --paper: #f7f4ef;
  --white: #fffdfb;
  --line: #e4dfd9;
  --muted: #575155;
  --brand: #ff0000;
  --red: #ba1d22;
  --red-light: #ff827b;
  --hero: #17161a;
  --heading: 'Barlow Condensed', 'Arial Narrow', sans-serif;
  --body: 'Inter', system-ui, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; position: relative; color: var(--ink); background: var(--paper); font: 400 1rem/1.65 var(--body); }
h1, h2, h3, p, figure, dl, dd { margin: 0; }
h1, h2 { font-family: var(--heading); font-weight: 700; }
h2 { font-size: clamp(3rem, 5.6vw, 5rem); line-height: .95; letter-spacing: -.025em; }
h3 { font-size: 1.09rem; line-height: 1.25; letter-spacing: -.022em; }
a { color: inherit; }
img { display: block; max-width: 100%; }
a:focus-visible, summary:focus-visible { outline: 3px solid #0061c9; outline-offset: 4px; }
.wrap { width: min(1240px, calc(100% - 104px)); margin-inline: auto; }
.skip { position: fixed; top: 10px; left: 10px; z-index: 10; transform: translateY(-180%); background: #fff; padding: 10px 18px; }
.skip:focus { transform: none; }

.site-header { position: absolute; inset: 0 0 auto; z-index: 3; }
.navigation { color: #fff; }
.nav-inner { min-height: 86px; display: flex; align-items: center; gap: 28px; position: relative; border-bottom: 1px solid #ffffff40; }
.brand { display: inline-flex; flex: none; align-items: center; padding: 7px 10px; border-radius: 8px; background: var(--white); }
.brand img { width: 111px; height: auto; }
.nav-links { display: flex; align-items: center; gap: clamp(24px, 3.25vw, 48px); margin: 0 auto; }
.nav-links a, .mobile-menu nav a { text-decoration: none; font-size: .88rem; font-weight: 650; }
.nav-links a:hover { color: var(--red-light); }
.mobile-menu nav a:hover { color: var(--red); }
.button { display: inline-flex; justify-content: space-between; align-items: center; gap: 13px; min-height: 49px; padding: 11px 19px; border: 1px solid transparent; border-radius: 100px; font-weight: 700; line-height: 1.2; font-size: .86rem; text-decoration: none; }
.button span { font-size: 1.13rem; line-height: 1; }
.primary { background: var(--red); color: white; }
.primary:hover { background: #9f161b; }
.on-dark { color: #fff; border-color: #ffffffa5; }
.on-dark:hover { background: #ffffff17; border-color: white; }
.light-button { background: #fff; color: var(--ink); }
.light-button:hover { background: #ffebe6; }
.nav-call { min-height: 42px; white-space: nowrap; }
.mobile-menu { display: none; }
.arrow-up { position: relative; flex: 0 0 11px; width: 11px; height: 11px; display: inline-block; }
.arrow-up::before { content: ""; position: absolute; right: 0; top: 0; width: 7px; height: 7px; border-top: 1.5px solid; border-right: 1.5px solid; }
.arrow-up::after { content: ""; position: absolute; right: 1px; top: 0; width: 11px; height: 1.5px; background: currentColor; transform-origin: right; transform: rotate(-45deg); }

.hero {
  position: relative;
  isolation: isolate;
  display: grid;
  align-items: center;
  min-height: clamp(650px, 53vw, 770px);
  padding-block: 130px 112px;
  color: #fff;
  background: var(--hero);
  overflow: hidden;
}
.hero::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background:
    linear-gradient(180deg, #131117da 0%, #13111712 26%, #13111700 63%, #17161afc 100%),
    linear-gradient(90deg, #141216fa 0%, #151217dc 25%, #1512177a 50%, #15121700 79%);
}
.hero-media { position: absolute; inset: 0; z-index: -2; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 62% 55%; filter: brightness(1.31); }
.hero-copy { max-width: 710px; }
.hero h1 { font-size: clamp(4.7rem, 7.35vw, 7.4rem); line-height: .91; letter-spacing: -.024em; }
.hero h1 span { display: block; max-width: 600px; text-wrap: balance; margin-top: .1em; color: var(--red-light); font-size: .7em; line-height: .94; letter-spacing: -.018em; }
.hero-description { max-width: 47ch; margin-top: 25px; color: #f0eced; }
.actions { display: flex; align-items: center; flex-wrap: wrap; gap: 9px; margin-top: 25px; }
.proof { position: relative; margin-top: -44px; padding-bottom: 29px; }
.proof-inner { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border: 1px solid var(--line); border-radius: 18px; background: var(--white); padding: 20px 0; }
.proof-inner > div { display: flex; flex-direction: column; padding: 2px clamp(14px, 3vw, 36px); border-left: 1px solid var(--line); }
.proof-inner > div:first-child { border-left: 0; }
.proof dd { order: -1; color: var(--red); font: 700 clamp(2.65rem, 4.2vw, 3.65rem)/.98 var(--heading); letter-spacing: -.02em; }
.proof dt { margin-top: 7px; color: var(--muted); font-size: .78rem; line-height: 1.3; }

.section { padding-block: clamp(62px, 7.1vw, 100px); }
.eyebrow { display: flex; align-items: center; gap: 8px; font-size: .7rem; letter-spacing: .12em; font-weight: 700; line-height: 1.4; text-transform: uppercase; color: var(--red); }
.eyebrow i { width: 8px; height: 8px; flex: none; border-radius: 2px; background: currentColor; }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 20px; margin-bottom: 30px; }
.company h2 { margin-top: 11px; }
.text-link { display: inline-flex; align-items: center; gap: 10px; font-size: .87rem; font-weight: 700; text-underline-offset: 4px; text-decoration-color: #aaa19a; }
.text-link:hover { text-decoration-color: currentColor; }
.text-link span { color: var(--red); }
.services { background: var(--white); border-top: 1px solid var(--line); }
.service-grid { display: grid; grid-template-columns: 1.35fr repeat(3, minmax(0, 1fr)); gap: 13px; }
.service-grid article { min-height: 169px; background: var(--paper); border: 1px solid var(--line); border-radius: 16px; padding: 22px 23px; }
.service-grid .service-main {
  position: relative;
  isolation: isolate;
  display: grid;
  align-content: space-between;
  grid-row: span 2;
  overflow: hidden;
  background: var(--red);
  border-color: var(--red);
  color: #fff;
}
.service-main::after {
  content: "";
  position: absolute;
  z-index: -1;
  top: 24px;
  right: -13%;
  width: 90%;
  height: 73%;
  background: #ffffff1d;
  clip-path: polygon(58% 0, 23% 54%, 51% 54%, 35% 100%, 88% 40%, 58% 40%, 75% 0);
}
.service-main h3 { font: 700 clamp(2rem, 3vw, 3.4rem)/1 var(--heading); overflow-wrap: anywhere; }
.service-grid article:last-child { grid-column: span 2; }
.service-grid article p { margin-top: 7px; color: var(--muted); font-size: .9rem; line-height: 1.56; }
.service-grid .service-main p { color: #ffedeb; }
.service-icon { width: 40px; height: 40px; margin-bottom: 13px; display: grid; place-items: center; border-radius: 12px; background: #f4e2dc; color: var(--red); }
.service-grid .service-main .service-icon { background: #ffffff24; color: #fff; }
.service-icon i { position: relative; display: block; width: 19px; height: 17px; }
.icon-bolt { background: currentColor; clip-path: polygon(56% 0, 17% 55%, 47% 55%, 38% 100%, 86% 37%, 56% 37%, 69% 0); }
.icon-meter { border: 2px solid; border-radius: 50% 50% 3px 3px; }
.icon-meter::after { content: ""; position: absolute; width: 7px; height: 2px; background: currentColor; left: 6px; top: 8px; transform-origin: left; transform: rotate(-48deg); }
.service-icon .icon-light { width: 13px; height: 14px; border: 2px solid; border-radius: 60% 60% 38% 38%; transform: translateY(-2px); }
.icon-light::after { content: ""; position: absolute; left: 1px; width: 7px; bottom: -5px; border-bottom: 2px solid; }
.icon-climate { border: 2px solid; border-radius: 4px; transform: scaleY(.77); }
.icon-climate::after { content: ""; position: absolute; left: 2px; right: 2px; bottom: 3px; border-bottom: 2px solid; }
.icon-home::before { content: ""; position: absolute; inset: 4px 2px 0; border: 2px solid; border-top: 0; border-radius: 2px; }
.icon-home::after { content: ""; position: absolute; left: 3px; top: 0; width: 13px; height: 13px; border: solid; border-width: 2px 0 0 2px; transform: rotate(45deg); border-radius: 2px; }
.service-icon .icon-video { width: 15px; height: 13px; margin-right: 5px; border: 2px solid; border-radius: 3px; }
.icon-video::after { content: ""; position: absolute; inset: 0 -7px 0 auto; width: 5px; background: currentColor; clip-path: polygon(0 34%, 100% 0, 100% 100%, 0 66%); }

.projects { background: var(--charcoal); color: #fff; }
.projects .text-link span { color: var(--red-light); }
.project-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.project-card {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border-radius: 16px;
  background: #312e33;
}
.project-trigger {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  aspect-ratio: 10 / 9;
  background: #312e33;
  cursor: zoom-in;
}
.project-trigger img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 48%;
  transition: transform 300ms ease-out;
}
.project-card:first-child img { object-position: center 72%; }
.project-trigger::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 16px;
  background: linear-gradient(0deg, #170f14e8 0%, #170f1400 40%);
  box-shadow: inset 0 0 0 2px transparent;
  transition: box-shadow 220ms ease-out;
}
.project-card figcaption {
  position: absolute;
  inset: auto 16px 14px;
  font-size: .96rem;
  font-weight: 700;
  line-height: 1.3;
  pointer-events: none;
}
.project-zoom {
  position: absolute;
  z-index: 1;
  top: 12px;
  right: 12px;
  width: 40px;
  height: 40px;
  border: 1px solid #ffffff80;
  border-radius: 100%;
  background:
    linear-gradient(#fff, #fff) center / 14px 2px no-repeat,
    linear-gradient(#fff, #fff) center / 2px 14px no-repeat,
    #241b20d9;
  transition: background-color 220ms, transform 220ms;
}
.project-trigger:focus-visible { outline: 0; }
.project-trigger:focus-visible::after { box-shadow: inset 0 0 0 3px var(--red-light); }
.project-trigger:focus-visible .project-zoom { background-color: var(--red); }
@media (hover: hover) {
  .project-trigger:hover img { transform: scale(1.055); }
  .project-trigger:hover::after { box-shadow: inset 0 0 0 2px var(--red-light); }
  .project-trigger:hover .project-zoom { background-color: var(--red); transform: scale(1.08); }
}
.project-dialog {
  width: min(500px, calc(100% - 32px));
  max-height: calc(100% - 32px);
  padding: 0;
  border: 1px solid #ffffff30;
  border-radius: 14px;
  background: var(--charcoal);
  color: #fff;
}
.project-dialog::backdrop { background: #140f14e8; }
.project-dialog-header { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 10px 12px; }
.project-dialog h2 { font: 650 .94rem/1.35 var(--body); letter-spacing: 0; }
.project-dialog button { min-height: 40px; padding: 6px 12px; border: 1px solid #ffffff70; border-radius: 6px; background: transparent; color: #fff; font: 650 .8rem var(--body); cursor: pointer; }
.project-dialog button:focus-visible { outline: 2px solid var(--red-light); outline-offset: 3px; }
.project-dialog-image img {
  width: auto;
  height: auto;
  max-height: min(70dvh, 533px);
  margin-inline: auto;
  object-fit: contain;
}

.info-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(35px, 7vw, 94px); }
.company-intro > p:not(.eyebrow) { color: var(--muted); margin: 18px 0; max-width: 43ch; }
.questions { padding: clamp(18px, 3.1vw, 34px); border: 1px solid var(--line); border-radius: 18px; background: var(--white); }
.questions h2 { margin: 0 0 15px; font-size: 2.55rem; }
.questions details { border-top: 1px solid var(--line); }
summary { cursor: pointer; list-style: none; }
summary::-webkit-details-marker { display: none; }
.questions summary { min-height: 53px; display: flex; justify-content: space-between; align-items: center; gap: 10px; font-size: .89rem; font-weight: 700; padding: 12px 0; }
.questions summary span { width: 19px; height: 19px; flex: none; border-radius: 100%; background: linear-gradient(var(--red), var(--red)) center / 10px 1.5px no-repeat, linear-gradient(var(--red), var(--red)) center / 1.5px 10px no-repeat, #f4e2dc; }
.questions details[open] summary span { background-size: 10px 1.5px, 0 0, auto; }
.questions details p { padding: 0 17px 14px 0; color: var(--muted); font-size: .9rem; }

.contact { padding-bottom: clamp(40px, 6vw, 84px); }
.contact-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 21px 30px;
  padding: clamp(25px, 5vw, 60px);
  border-radius: 22px;
  background: var(--red);
  color: #fff;
}
.contact-inner .actions { margin: 0; }
.contact h2 + p { margin-top: 12px; }
.footer { border-top: 3px solid var(--brand); background: var(--charcoal); color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1fr .55fr 1.35fr; gap: clamp(24px, 5vw, 68px); padding-block: clamp(36px, 5.4vw, 71px) 34px; }
.footer h2 { margin-bottom: 15px; font-size: 2rem; letter-spacing: 0; }
.footer-brand { margin-bottom: 15px; }
.footer address, .footer-hours, .footer-nav a { color: #e6dfe0; font-size: .9rem; }
.footer address { display: grid; gap: 5px; font-style: normal; overflow-wrap: anywhere; }
.footer address strong { font-size: 1.02rem; color: #fff; }
.footer-hours { margin-top: 14px; line-height: 1.55; }
.footer-nav a { display: block; width: fit-content; padding: 4px 0; }
.footer-map { display: block; width: 100%; height: 224px; margin: 0 0 12px; border: 0; border-radius: 12px; background: #f1edeb; }
.footer a { text-decoration: none; }
.footer a:hover { text-decoration: underline; text-underline-offset: 4px; }
.footer-location .text-link span { color: var(--red-light); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; gap: 14px; padding: 16px 0 21px; border-top: 1px solid #ffffff27; color: #e6dfe0; font-size: .8rem; }

@media (max-width: 1100px) {
  .wrap { width: calc(100% - 76px); }
  .hero h1 { font-size: clamp(3.6rem, 7.2vw, 5.15rem); }
}
@media (max-width: 900px) {
  .hero h1 { font-size: clamp(4.25rem, 10vw, 5.75rem); }
  .service-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .service-grid .service-main { grid-row: auto; }
  .service-main h3 { font-size: clamp(1.6rem, 3.6vw, 2.55rem); }
  .service-grid article:last-child { grid-column: auto; }
}
@media (max-width: 760px) {
  .wrap { width: calc(100% - 40px); }
  .nav-links { display: none; }
  .nav-inner { min-height: 65px; gap: 13px; }
  .brand { padding: 5px 7px; }
  .brand img { width: 89px; }
  .nav-call { margin-left: auto; min-height: 38px; padding: 8px 11px; font-size: .77rem; gap: 6px; }
  .nav-call .arrow-up { transform: scale(.84); }
  .mobile-menu { display: block; }
  .mobile-menu summary { display: flex; min-height: 44px; gap: 6px; align-items: center; font-size: .78rem; font-weight: 700; }
  .mobile-menu summary span { width: 14px; height: 9px; border-block: 1.5px solid; }
  .mobile-menu nav { display: grid; position: absolute; z-index: 5; inset: calc(100% + 5px) 0 auto; background: var(--white); color: var(--ink); padding: 8px 16px; border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 14px 30px #201e2020; }
  .mobile-menu nav a { padding: 9px 0; }
  .hero { min-height: 600px; padding-block: 113px 87px; }
  .hero::after { background: linear-gradient(180deg, #151218c2 0%, #15121885 24%, #151218be 65%, #17161afe 100%), linear-gradient(90deg, #15121877, #15121820); }
  .hero-media img { object-position: 61% center; }
  .hero-description { margin-top: 17px; font-size: .94rem; }
  .hero h1 { font-size: clamp(3.25rem, 10.8vw, 5rem); }
  .proof-inner { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 16px; padding-block: 15px; }
  .proof-inner > div:nth-child(odd) { border-left: 0; }
  .service-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .section-head { align-items: start; flex-direction: column; gap: 10px; margin-bottom: 23px; }
  .project-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .project-grid figure:first-child { grid-column: 1 / -1; }
  .project-card:first-child .project-trigger { aspect-ratio: auto; height: clamp(220px, 66vw, 330px); }
  .project-card figcaption { inset: auto 10px 10px; font-size: .82rem; }
  .project-zoom { top: 8px; right: 8px; width: 35px; height: 35px; }
  .info-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr .6fr; }
  .footer-location { grid-column: 1 / -1; }
}
@media (max-width: 450px) {
  .wrap { width: calc(100% - 32px); }
  .hero h1 { font-size: clamp(2.72rem, 13vw, 3.65rem); }
  .hero .actions { margin-top: 17px; }
  .hero .button { padding-inline: 11px; gap: 7px; font-size: .76rem; min-height: 45px; }
  .service-grid { grid-template-columns: 1fr; gap: 9px; }
  .service-grid article { min-height: 0; padding: 15px; }
  .service-main h3 { font-size: 2rem; }
  .service-icon { margin-bottom: 10px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .project-trigger img, .project-trigger::after, .project-zoom { transition: none; }
  .project-trigger:hover img, .project-trigger:hover .project-zoom { transform: none; }
}
@font-face {
  font-family: 'Barlow Condensed';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(assets/barlow.woff2) format('woff2');
  unicode-range: U+20-7e, U+a9, U+c1, U+c9, U+cd, U+d3, U+da, U+dd, U+e1, U+e9, U+ed, U+f3, U+fa, U+fd, U+106-107, U+10c-10f, U+11a-11b, U+139-13a, U+13d-13e, U+143-144, U+147-148, U+154-155, U+158-15b, U+160-161, U+164-165, U+179-17a, U+17d-17e, U+1cd-1d4, U+1e6-1e9, U+1f0, U+1f4-1f5, U+21e-21f, U+301, U+30c, U+1e30-1e31, U+1e3e-1e3f, U+1e54-1e55, U+1e82-1e83, U+2013-2014, U+2191, U+2193;
}

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url(assets/inter.woff2) format('woff2');
  unicode-range: U+20-7e, U+a9, U+c1, U+c9, U+cd, U+d3, U+da, U+dd, U+e1, U+e9, U+ed, U+f3, U+fa, U+fd, U+106-107, U+10c-10f, U+11a-11b, U+139-13a, U+13d-13e, U+143-144, U+147-148, U+154-155, U+158-15b, U+160-161, U+164-165, U+179-17a, U+17d-17e, U+1cd-1d4, U+1e6-1e9, U+1f0, U+1f4-1f5, U+21e-21f, U+301, U+30c, U+1e30-1e31, U+1e3e-1e3f, U+1e54-1e55, U+1e82-1e83, U+2013-2014, U+2191, U+2193;
}
