@import url('https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@600;700&family=DM+Sans:wght@400;500;600;700&display=swap');

:root {
  color-scheme: light;
  --ink: #101820;
  --dark: #15232c;
  --muted: #4d5a60;
  --paper: #f4f6f2;
  --white: #fbfcf9;
  --lime: #d9fc67;
  --line: #d3dad3;
  --display: "Barlow Condensed", "Arial Narrow", sans-serif;
  font-family: "DM Sans", Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; }
a { color: inherit; }
button, input, select, textarea { font: inherit; }
h1, h2, h3, p { margin: 0; }
p { line-height: 1.6; }
h1, h2 { font-family: var(--display); font-weight: 700; line-height: .94; }
h2 { font-size: clamp(3.1rem, 7vw, 5.4rem); }
h3 { font-size: 1.35rem; line-height: 1.2; }
:focus-visible { outline: 3px solid #668900; outline-offset: 4px; }
.shell { width: min(1192px, calc(100% - 96px)); margin-inline: auto; }
.skip-link { position: absolute; top: .5rem; left: .5rem; transform: translateY(-200%); z-index: 2; padding: .75rem; background: var(--lime); }
.skip-link:focus { transform: none; }

.header, .footer { background: var(--ink); color: var(--white); }
.header { border-bottom: 1px solid #34434a; }
.header-inner, .footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; min-height: 76px; }
.header-inner { display: grid; grid-template-columns: auto 1fr auto; }
.brand { display: inline-flex; align-items: center; gap: .75rem; text-decoration: none; font-family: var(--display); font-weight: 700; font-size: 1.75rem; line-height: 1; letter-spacing: .045em; white-space: nowrap; }
.brand-group { font-weight: 600; margin-inline-start: .25em; color: #c6d1cc; }
.brand-mark { width: 27px; height: 24px; display: flex; gap: 4px; align-items: center; transform: skewX(-22deg); }
.brand-mark i { width: 5px; background: var(--lime); height: 15px; }
.brand-mark i:nth-child(2) { height: 23px; }
.brand-mark i:nth-child(3) { height: 18px; }
nav { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: .4rem clamp(.8rem, 2.5vw, 2rem); }
nav a { text-decoration: none; font-size: .95rem; font-weight: 600; }
nav a:hover { color: var(--lime); }
.nav-contact { border: 1px solid #87958b; padding: .55rem .9rem; }

.hero { position: relative; isolation: isolate; overflow: hidden; background: var(--ink); color: var(--white); }
.hero-image { position: absolute; z-index: -2; inset: 0 0 0 auto; width: 76%; height: 100%; object-fit: cover; object-position: 54% 50%; }
.hero::after { content: ""; position: absolute; z-index: -1; inset: 0; background: linear-gradient(90deg, #101820 18%, #101820f7 32%, #10182078 68%, #10182026), linear-gradient(0deg, #101820b0, transparent 48%); }
.hero-inner { min-height: 590px; padding-block: 100px 112px; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; }
.eyebrow { margin-bottom: 1.05rem; font-weight: 700; font-size: .875rem; letter-spacing: .15em; text-transform: uppercase; }
.hero .eyebrow, .approach .eyebrow { color: var(--lime); }
h1 { font-size: clamp(4.1rem, 8.9vw, 8.65rem); letter-spacing: -.025em; }
h1 span { color: var(--lime); }
.hero-copy { max-width: 28rem; font-size: 1.15rem; margin-top: 1.75rem; color: #e0e8e3; }
.button { display: inline-flex; align-items: center; justify-content: center; border: 1px solid transparent; background: var(--lime); color: var(--ink); min-height: 48px; padding: .8rem 1.25rem; text-decoration: none; font-weight: 700; cursor: pointer; }
.button:hover { background: #eeffa5; border-color: #779325; }
.client-login { justify-self: end; min-height: 44px; padding: .55rem .9rem; font-size: .95rem; white-space: nowrap; }
.client-portal { width: min(28rem, calc(100% - 2rem)); padding: 2rem; border: 1px solid var(--line); background: var(--white); color: var(--ink); }
.client-portal::backdrop { background: #101820b8; }
.client-portal h2 { font-size: 2.75rem; }
#client-portal-message { color: var(--muted); margin-block: 1rem 1.25rem; }
.client-portal-actions { display: flex; flex-wrap: wrap; gap: .65rem; margin-top: .35rem; }
.client-portal-close { background: var(--white); border-color: #87948a; }
.client-portal-close:hover { background: var(--paper); }
.client-portal-status { color: var(--muted); font-size: .9375rem; }
.client-portal-status:empty { display: none; }
.hero .button { margin-top: 2rem; }

.section { padding-block: clamp(4rem, 8vw, 7rem); }
.about, .partners { background: var(--white); border-block-end: 1px solid var(--line); }
.section-heading { display: grid; grid-template-columns: 1.4fr 1fr; align-items: end; gap: 2rem; }
.section-heading > p, .about-copy, .partners-copy > p, .contact > div > p:last-child { max-width: 30rem; color: var(--muted); font-size: 1.1rem; }
.about-copy p + p { margin-top: .85rem; }
.partners-copy .button { margin-top: 1rem; }
.service-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; margin-top: 2.75rem; border: 1px solid var(--line); background: var(--line); }
.service { display: flex; flex-direction: column; padding: clamp(1.25rem, 3vw, 2.25rem); background: var(--white); }
.service > p { color: var(--muted); margin-block: .75rem 1.5rem; }
.service details { margin-top: auto; }
.service-icon { display: block; position: relative; width: 42px; height: 42px; margin-bottom: 1.5rem; background: var(--lime); }
.service-icon::before, .service-icon::after { content: ""; position: absolute; inset: 11px; border: 2px solid var(--ink); }
.icon-cabling::after { inset: 16px 11px; border-inline: 0; }
.icon-fiber::before { border-radius: 50%; }
.icon-fiber::after { inset: 17px; border-radius: 50%; background: var(--ink); }
.icon-wireless::before { inset: 11px 9px 6px; border-color: var(--ink) transparent transparent; border-radius: 50%; }
.icon-wireless::after { inset: 17px 15px 11px; border-color: var(--ink) transparent transparent; border-radius: 50%; }
.icon-security::before { inset: 15px 11px 10px; }
.icon-security::after { inset: 9px 16px 25px; border-radius: 6px 6px 0 0; border-bottom: 0; }
.icon-premises::before { inset: 13px 13px 12px; transform: rotate(45deg); }
.icon-premises::after { inset: 18px; background: var(--ink); }
.icon-infrastructure::before { inset: 10px 12px 17px; }
.icon-infrastructure::after { inset: 27px 17px 9px; border-width: 0 0 2px; }
details { border-top: 1px solid var(--line); padding-top: .9rem; }
summary { cursor: pointer; font-weight: 700; }
details p { padding-top: .7rem; color: var(--muted); }

.approach { background: var(--dark); color: var(--white); }
.approach-inner, .contact { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2.25rem, 8vw, 7rem); align-items: start; }
.process { padding-left: 1.7rem; margin: 0; }
.process li { padding: 1.1rem 0 1.15rem .45rem; border-bottom: 1px solid #526059; }
.process li:first-child { padding-top: 0; }
.process li::marker { color: var(--lime); font-weight: 700; }
.process p { color: #d5ded9; margin-top: .4rem; }
.contact > div > p:last-child { margin-top: 1.2rem; }
form { display: grid; gap: .65rem; }
form label { font-weight: 700; }
input, select, textarea { width: 100%; min-width: 0; border: 1px solid #87948a; border-radius: 0; background: var(--white); color: var(--ink); padding: .7rem .85rem; margin-bottom: .35rem; }
textarea { resize: vertical; }
.form-note { font-size: .875rem; color: var(--muted); }
form .button { justify-self: start; }
#form-status:empty { display: none; }
.footer-inner > span { color: #c6d1cc; }

@media (max-width: 900px) {
  .header-inner { grid-template-columns: minmax(0, 1fr) auto; gap: .8rem; padding-block: .85rem; }
  .header-inner nav { grid-area: 2 / 1 / 3 / -1; justify-content: flex-start; }
  .client-login { grid-area: 1 / 2; }
}
@media (max-width: 800px) {
  .shell { width: calc(100% - 48px); }
  .hero-inner { min-height: 520px; padding-block: 80px; }
  .hero-image { width: 100%; }
  .hero::after { background: linear-gradient(90deg, #101820f5 4%, #101820b0 58%, #10182080); }
  .section-heading { grid-template-columns: 1fr; gap: 1rem; }
  .service-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .shell { width: calc(100% - 36px); }
  .header .brand { gap: .5rem; font-size: clamp(1.25rem, 5vw, 1.75rem); }
  nav { column-gap: 1rem; }
  .nav-contact { padding: .25rem .55rem; }
  .hero-inner { min-height: 470px; }
  h1 { font-size: clamp(3rem, 11.75vw, 4.5rem); }
  .hero-copy { font-size: 1rem; }
  .approach-inner, .contact, .service-grid { grid-template-columns: 1fr; }
  .footer-inner { align-items: flex-start; flex-direction: column; gap: .6rem; padding-block: 1.1rem; }
}
