:root {
  --ink: #151817;
  --paper: #f2f4f1;
  --white: #fff;
  --muted: #69716e;
  --line: #d8ddd8;
  --accent: #e7ff45;
  --teal: #075c57;
  --header: 76px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: "Manrope", sans-serif; }
body.modal-open { overflow: hidden; }
button, a { color: inherit; font: inherit; }
button { cursor: pointer; }
a { text-decoration: none; }

.site-header { position: fixed; z-index: 20; top: 0; width: 100%; height: var(--header); padding: 0 clamp(18px, 5vw, 72px); display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; background: rgba(242, 244, 241, .95); border-bottom: 1px solid rgba(21, 24, 23, .14); }
.brand { display: inline-flex; align-items: center; gap: 10px; justify-self: start; }
.brand-mark { width: 38px; height: 38px; display: grid; place-items: center; color: var(--accent); background: var(--ink); }
.brand-mark svg { width: 22px; }
.brand-mark img { width: 100%; height: 100%; display: block; }
.brand strong, .brand small { display: block; letter-spacing: 0; }
.brand strong { font: 600 18px/1 "Oswald", sans-serif; }
.brand small { margin-top: 4px; font-size: 8px; font-weight: 800; }
.desktop-nav { display: flex; gap: 32px; font-size: 12px; font-weight: 800; }
.desktop-nav a { padding: 29px 0 25px; border-bottom: 3px solid transparent; }
.desktop-nav a:hover { border-color: var(--teal); }
.header-tools { display: flex; align-items: center; justify-self: end; gap: 14px; }
.languages { display: flex; gap: 2px; }
.lang { width: 31px; height: 31px; padding: 0; color: var(--muted); background: transparent; border: 0; font-size: 10px; font-weight: 800; }
.lang.active { color: var(--white); background: var(--teal); }
.button { min-height: 46px; padding: 0 20px; display: inline-flex; align-items: center; justify-content: center; gap: 11px; border: 1px solid transparent; border-radius: 2px; font-size: 11px; font-weight: 800; text-transform: uppercase; }
.button svg { width: 17px; }
.dark { color: var(--white); background: var(--ink); }
.accent { color: var(--ink); background: var(--accent); }
.ghost { color: var(--white); background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .55); }
.light-button { color: var(--ink); background: var(--white); }
.icon-button { width: 44px; height: 44px; display: grid; place-items: center; color: inherit; background: transparent; border: 1px solid currentColor; }
.icon-button svg { width: 19px; }
.menu-toggle, .mobile-nav { display: none; }

.page-hero { min-height: 430px; padding: calc(var(--header) + 90px) clamp(22px, 7vw, 110px) 72px; display: flex; flex-direction: column; justify-content: flex-end; color: var(--white); background: var(--ink); }
.page-hero h1 { max-width: 1020px; margin: 17px 0 0; font: 500 clamp(52px, 6.6vw, 96px)/.98 "Oswald"; text-transform: uppercase; }
.page-hero h1 em { color: var(--accent); font-style: normal; }
.page-hero > p:not(.eyebrow) { max-width: 540px; margin: 20px 0 0; color: rgba(255,255,255,.68); font-size: 14px; line-height: 1.7; }
.catalog-page-hero { background: linear-gradient(110deg, #102a28, #075c57); }
.services-page-hero { background: linear-gradient(110deg, #151817, #26332f); }
.about-page-hero { color: var(--ink); background: var(--accent); }
.about-page-hero .eyebrow { color: var(--teal); }
.about-page-hero h1 em { color: var(--teal); }
.standalone-catalog { padding-top: 55px; }
.standalone-catalog .tabs { margin-top: 0; }
.standalone-services { padding-top: 30px; }
.standalone-about { padding-top: 80px; }

.hero { min-height: 760px; height: 94vh; position: relative; display: flex; align-items: flex-end; overflow: hidden; color: var(--white); background: var(--ink); }
.hero-image { position: absolute; inset: 0; background: url("https://images.unsplash.com/photo-1557597774-9d273605dfa9?auto=format&fit=crop&w=2200&q=88") center 40% / cover; animation: media-in 1.1s ease-out both; }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(8, 13, 12, .88), rgba(8, 13, 12, .48) 58%, rgba(8, 13, 12, .16)), linear-gradient(0deg, rgba(8, 13, 12, .62), transparent 56%); }
.hero-content { position: relative; z-index: 1; width: min(980px, 80vw); padding: 0 clamp(22px, 7vw, 110px) 145px; animation: rise-in .8s .15s ease-out both; }
.eyebrow { display: flex; align-items: center; gap: 10px; color: var(--teal); font-size: 10px; font-weight: 800; text-transform: uppercase; }
.eyebrow::before { content: ""; width: 27px; height: 2px; flex: none; background: currentColor; }
.eyebrow.light { color: var(--accent); }
.hero h1, .section h2, .contact-band h2, .modal h2 { margin: 20px 0; font-family: "Oswald", sans-serif; font-weight: 500; line-height: .98; letter-spacing: 0; text-transform: uppercase; }
.hero h1 { font-size: clamp(50px, 6.7vw, 102px); }
.hero h1 em, .about h2 em { color: var(--accent); font-style: normal; }
.hero-content > p:not(.eyebrow) { max-width: 650px; color: rgba(255, 255, 255, .76); font-size: 16px; line-height: 1.7; }
.actions { margin-top: 31px; display: flex; gap: 11px; }
.hero-facts { position: absolute; z-index: 1; right: clamp(22px, 5vw, 75px); bottom: 42px; display: flex; border-top: 1px solid rgba(255, 255, 255, .4); }
.hero-facts div { width: 150px; padding: 17px 19px; display: flex; gap: 11px; border-right: 1px solid rgba(255, 255, 255, .23); }
.hero-facts b { color: var(--accent); font: 500 14px "Oswald"; }
.hero-facts span { font-size: 10px; font-weight: 800; line-height: 1.45; text-transform: uppercase; }

.section { padding: 105px clamp(22px, 7vw, 110px); scroll-margin-top: var(--header); }
.section-number { color: var(--muted); font-size: 10px; font-weight: 800; text-transform: uppercase; }
.section-number::first-letter { color: var(--teal); }
.about { display: grid; grid-template-columns: 170px 1.3fr .7fr; gap: 48px; }
.about h2 { max-width: 790px; font-size: clamp(41px, 4.5vw, 70px); }
.about h2 em { color: var(--teal); }
.about-copy { padding-top: 40px; color: var(--muted); font-size: 13px; line-height: 1.85; }
.text-link { padding: 0 0 5px; display: inline-flex; align-items: center; gap: 8px; color: var(--ink); background: transparent; border: 0; border-bottom: 1px solid currentColor; font-size: 11px; font-weight: 800; text-transform: uppercase; }
.text-link svg { width: 15px; }
.about-copy .text-link { margin-top: 17px; }
.metrics { grid-column: 2 / 4; padding-top: 36px; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); }
.metrics div { padding-left: 25px; border-left: 2px solid var(--teal); }
.metrics strong, .metrics span { display: block; }
.metrics strong { font: 500 21px "Oswald"; text-transform: uppercase; }
.metrics span { margin-top: 7px; color: var(--muted); font-size: 11px; }

.catalog { background: var(--white); }
.section-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; }
.section-heading h2 { margin-bottom: 0; font-size: clamp(51px, 6vw, 84px); }
.section-heading > p { width: 390px; margin: 0 0 8px; color: var(--muted); font-size: 13px; line-height: 1.7; }
.tabs { margin-top: 50px; display: flex; overflow-x: auto; border-bottom: 1px solid var(--line); }
.tab { padding: 15px 18px; flex: none; color: var(--muted); background: transparent; border: 0; border-bottom: 3px solid transparent; font-size: 10px; font-weight: 800; text-transform: uppercase; }
.tab.active { color: var(--ink); border-color: var(--teal); }
.products { margin-top: 30px; display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.product { min-width: 0; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.product[hidden] { display: none; }
.product-image { height: 255px; position: relative; background-position: center; background-size: cover; filter: saturate(.75); }
.product-image span { position: absolute; top: 14px; left: 14px; width: 34px; height: 34px; display: grid; place-items: center; color: var(--white); background: var(--teal); font: 500 13px "Oswald"; }
.fire { background-image: url("https://upload.wikimedia.org/wikipedia/commons/9/91/FireAngel_smoke_detector_system_-_2021-07-07_-_Andy_Mabbett_-_03.jpg"); }
.video { background-image: url("https://images.unsplash.com/photo-1617897711385-df9c86b7dfe3?auto=format&fit=crop&w=900&q=80"); }
.access { background-image: url("https://images.unsplash.com/photo-1558002038-1055907df827?auto=format&fit=crop&w=900&q=80"); }
.network { background-image: url("https://images.unsplash.com/photo-1558494949-ef010cbdcc31?auto=format&fit=crop&w=900&q=80"); }
.product-copy { padding: 25px 22px 28px; }
.product-copy small { color: var(--teal); font-size: 9px; font-weight: 800; }
.product-copy h3 { min-height: 56px; margin: 8px 0; font: 500 22px/1.2 "Oswald"; text-transform: uppercase; }
.product-copy p { min-height: 81px; color: var(--muted); font-size: 11px; line-height: 1.65; }

.services { color: var(--white); background: var(--ink); }
.services .section-number, .services .section-heading > p { color: rgba(255, 255, 255, .52); }
.service-list { margin-top: 58px; border-top: 1px solid rgba(255, 255, 255, .2); }
.service-list article { min-height: 150px; display: grid; grid-template-columns: 65px 75px 1fr auto; align-items: center; gap: 20px; border-bottom: 1px solid rgba(255, 255, 255, .2); }
.service-list article > span { color: var(--accent); font: 500 14px "Oswald"; }
.service-list article > svg { width: 31px; color: var(--accent); }
.service-list h3 { margin: 0 0 9px; font: 500 25px "Oswald"; text-transform: uppercase; }
.service-list p { max-width: 760px; margin: 0; color: rgba(255, 255, 255, .55); font-size: 12px; line-height: 1.7; }
.service-list .icon-button { color: rgba(255, 255, 255, .6); }

.contact-band { padding: 96px 22px; text-align: center; color: var(--white); background: var(--teal); }
.contact-band .eyebrow { justify-content: center; }
.contact-band h2 { font-size: clamp(41px, 5vw, 72px); }
.contact-band > p:not(.eyebrow) { max-width: 670px; margin: 0 auto 28px; color: rgba(255, 255, 255, .72); line-height: 1.7; }
footer { padding: 65px clamp(22px, 7vw, 110px) 24px; display: grid; grid-template-columns: 2fr 1fr; gap: 40px; color: rgba(255, 255, 255, .7); background: #0b0e0d; }
footer .brand { color: var(--white); }
.footer-main p { max-width: 390px; font-size: 11px; line-height: 1.7; }
footer > div:not(.footer-main) { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; font-size: 12px; }
footer small { color: rgba(255, 255, 255, .35); font-size: 9px; font-weight: 800; text-transform: uppercase; }
footer .email { color: var(--accent); font-weight: 700; }
footer .text-link { color: var(--white); }
.copyright { grid-column: 1 / -1; margin: 20px 0 0; padding-top: 18px; border-top: 1px solid rgba(255, 255, 255, .12); font-size: 9px; }

.modal[hidden] { display: none; }
.modal { position: fixed; z-index: 100; inset: 0; padding: 20px; display: grid; place-items: center; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(5, 10, 9, .8); }
.modal-panel { position: relative; width: min(530px, 100%); padding: 50px; background: var(--paper); animation: modal-in .25s ease-out; }
.modal-close { position: absolute; top: 15px; right: 15px; width: 38px; height: 38px; border-color: var(--line); }
.modal-icon { width: 56px; height: 56px; margin-bottom: 27px; display: grid; place-items: center; color: var(--accent); background: var(--ink); }
.modal h2 { font-size: 46px; }
.modal-panel > p:not(.eyebrow) { color: var(--muted); font-size: 13px; line-height: 1.7; }
.modal-email { margin: 18px 0; display: block; color: var(--teal); font: 500 25px "Oswald"; }
.modal-action { width: 100%; }

@keyframes media-in { from { opacity: 0; transform: scale(1.05); } to { opacity: 1; transform: scale(1); } }
@keyframes rise-in { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: translateY(0); } }
@keyframes modal-in { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: translateY(0); } }

@media (max-width: 1060px) {
  .desktop-nav, .desktop-cta { display: none; }
  .site-header { grid-template-columns: 1fr auto; }
  .menu-toggle { display: grid; }
  .mobile-nav { position: absolute; top: var(--header); left: 0; width: 100%; padding: 24px; flex-direction: column; gap: 18px; color: var(--white); background: var(--ink); }
  .mobile-nav.open { display: flex; }
  .mobile-nav a { font: 500 25px "Oswald"; text-transform: uppercase; }
  .hero-content { width: 100%; }
  .about { grid-template-columns: 120px 1fr; }
  .about-copy, .metrics { grid-column: 2; }
  .products { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 680px) {
  :root { --header: 68px; }
  .site-header { padding: 0 16px; }
  .brand-mark { width: 35px; height: 35px; }
  .brand strong { font-size: 16px; }
  .header-tools { gap: 7px; }
  .lang { width: 27px; }
  .menu-toggle { width: 38px; height: 38px; }
  .hero { min-height: 710px; height: 92vh; }
  .hero-image { background-position: 62% center; }
  .hero-content { padding: 0 19px 165px; }
  .hero h1 { font-size: clamp(44px, 13.5vw, 64px); }
  .hero-content > p:not(.eyebrow) { font-size: 13px; }
  .actions { align-items: stretch; flex-direction: column; }
  .hero-facts { right: 18px; bottom: 22px; left: 18px; justify-content: space-between; }
  .hero-facts div { width: auto; max-width: 33%; padding: 12px 5px; gap: 5px; border-right: 0; }
  .hero-facts span { font-size: 8px; }
  .page-hero { min-height: 360px; padding: calc(var(--header) + 54px) 19px 50px; }
  .page-hero h1 { font-size: 48px; }
  .section { padding: 72px 19px; }
  .about { display: block; }
  .about-title { margin-top: 32px; }
  .about h2 { font-size: 39px; }
  .about-copy { padding-top: 5px; }
  .metrics { margin-top: 42px; display: grid; grid-template-columns: 1fr; gap: 22px; }
  .section-heading { align-items: flex-start; flex-direction: column; }
  .section-heading h2 { font-size: 52px; }
  .section-heading > p { width: auto; }
  .tabs { margin-right: -19px; }
  .products { grid-template-columns: 1fr; }
  .product-image { height: 240px; }
  .product-copy h3, .product-copy p { min-height: 0; }
  .service-list article { padding: 24px 0; grid-template-columns: 32px 42px 1fr; align-items: start; }
  .service-list article > svg { width: 24px; }
  .service-list .icon-button { display: none; }
  .service-list h3 { font-size: 20px; }
  .contact-band { padding: 72px 19px; }
  .contact-band h2 { font-size: 38px; }
  footer { grid-template-columns: 1fr; }
  .copyright { grid-column: 1; }
  .modal-panel { padding: 39px 23px 27px; }
  .modal h2 { font-size: 38px; }
  .modal-email { overflow-wrap: anywhere; font-size: 21px; }
}

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