:root {
  --navy: #071f39;
  --navy-soft: #0d2d4c;
  --yellow: #f4b900;
  --yellow-hover: #ffd129;
  --white: #ffffff;
  --ink: #14263a;
  --muted: #5d6b79;
  --line: #dfe4e8;
  --container: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: "Inter", Arial, sans-serif;
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}

.site-header {
  min-height: 82px;
  padding: 14px max(24px, calc((100% - var(--container)) / 2));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  background: var(--white);
}

.brand {
  display: inline-flex;
  align-items: center;
}

.brand-lockup {
  display: block;
  object-fit: contain;
}

.header-lockup {
  width: clamp(210px, 18vw, 260px);
  height: auto;
  max-height: 62px;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 34px;
  margin-left: auto;
  font-size: 0.94rem;
  font-weight: 600;
}

.main-nav a {
  transition: color 160ms ease;
}

.main-nav a:hover {
  color: #946f00;
}

.button {
  min-height: 52px;
  padding: 13px 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 2px solid var(--yellow);
  border-radius: 5px;
  color: var(--navy);
  background: var(--yellow);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.12);
  font-size: 0.96rem;
  font-weight: 800;
  line-height: 1.2;
  transition: background 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.button:hover {
  border-color: var(--yellow-hover);
  background: var(--yellow-hover);
  transform: translateY(-2px);
}

.button:focus-visible,
.main-nav a:focus-visible,
.text-link:focus-visible {
  outline: 3px solid #4c9aff;
  outline-offset: 4px;
}

.button-small {
  min-height: 46px;
  padding: 10px 18px;
}

.button-small svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.hero {
  min-height: 560px;
  padding: 86px max(24px, calc((100% - var(--container)) / 2));
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  isolation: isolate;
  color: var(--white);
  background: var(--navy);
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(760px, 64%);
}

.hero h1,
.section-heading h2,
.about h2,
.contact h2 {
  margin: 0;
  font-family: "Barlow Condensed", Impact, sans-serif;
  font-weight: 800;
  line-height: 0.98;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 760px;
  font-size: clamp(3.35rem, 5vw, 4.8rem);
  letter-spacing: -0.025em;
  text-transform: none;
}

.hero-content > p {
  max-width: 610px;
  margin: 28px 0 32px;
  color: #e8eef4;
  font-size: 1.08rem;
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 30px;
}

.text-link {
  padding: 10px 0 7px;
  border-bottom: 2px solid var(--yellow);
  font-weight: 700;
}

.text-link span {
  margin-left: 8px;
  color: var(--yellow);
  font-size: 1.35rem;
}

.hero-lines {
  position: absolute;
  z-index: 1;
  top: 0;
  right: 0;
  width: 48%;
  height: 100%;
}

.wire {
  position: absolute;
  display: block;
  width: 160%;
  height: 14px;
  border-radius: 20px;
  background: var(--yellow);
  transform: rotate(-45deg);
}

.wire-one {
  top: 23%;
  left: -12%;
  box-shadow: 0 40px 0 var(--navy), 0 54px 0 var(--yellow);
}

.wire-two {
  right: -58%;
  bottom: 13%;
  background: var(--white);
  box-shadow: 0 40px 0 var(--navy), 0 54px 0 var(--yellow);
}

.bolt {
  position: absolute;
  top: 50%;
  left: 48%;
  width: 118px;
  fill: var(--yellow);
  filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.24));
  transform: translate(-50%, -50%) rotate(7deg);
}

.services {
  padding: 90px max(24px, calc((100% - var(--container)) / 2));
}

.section-heading {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: end;
  margin-bottom: 50px;
}

.section-heading h2,
.about h2,
.contact h2 {
  color: var(--navy);
  font-size: clamp(2.4rem, 4vw, 3.6rem);
}

.section-heading p {
  max-width: 510px;
  margin: 0;
  color: var(--muted);
}

.service-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.service-item {
  min-height: 260px;
  padding: 34px 28px 36px;
  border-right: 1px solid var(--line);
  text-align: center;
}

.service-item:first-child {
  padding-left: 0;
}

.service-item:last-child {
  padding-right: 0;
  border-right: 0;
}

.service-icon {
  width: 68px;
  height: 68px;
  fill: none;
  stroke: var(--navy);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 3;
}

.service-icon .accent {
  stroke: var(--yellow);
}

.service-item h3 {
  margin: 20px 0 12px;
  color: var(--navy);
  font-family: "Barlow Condensed", Impact, sans-serif;
  font-size: 1.65rem;
  line-height: 1.05;
  text-transform: uppercase;
}

.service-item p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.7;
}

.about {
  padding: 56px max(24px, calc((100% - var(--container)) / 2));
  display: grid;
  grid-template-columns: minmax(300px, 0.85fr) minmax(0, 1.45fr);
  gap: 56px;
  align-items: center;
  background: #f3f5f7;
}

.about-logo {
  width: 100%;
  max-width: 380px;
  height: auto;
}

.about-copy {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 34px;
  align-items: center;
  padding-left: 40px;
  border-left: 3px solid var(--yellow);
}

.about-text h2 {
  margin-bottom: 12px;
}

.about-copy p {
  max-width: 610px;
  margin: 0;
  color: var(--muted);
}

.about-cta {
  white-space: nowrap;
}

.contact {
  padding: 72px max(24px, calc((100% - var(--container)) / 2));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  color: var(--white);
  background: var(--navy);
}

.contact h2 {
  color: var(--white);
}

.contact p {
  margin: 12px 0 0;
  color: #cfdae4;
}

.site-footer {
  padding: 34px max(24px, calc((100% - var(--container)) / 2));
  display: flex;
  align-items: center;
  gap: 32px;
  color: #cbd5df;
  background: #041528;
  font-size: 0.8rem;
}

.brand-footer {
  margin-right: auto;
}

.brand-footer img {
  width: 250px;
  height: auto;
}

@media (max-width: 900px) {
  .desktop-break {
    display: none;
  }

  .site-header {
    min-height: 72px;
  }

  .main-nav {
    display: none;
  }

  .hero {
    min-height: auto;
    padding-top: 74px;
    padding-bottom: 80px;
  }

  .hero-content {
    width: min(700px, 78%);
  }

  .hero-lines {
    right: -16%;
    width: 58%;
    opacity: 0.6;
  }

  .service-list {
    grid-template-columns: repeat(2, 1fr);
  }

  .service-item:nth-child(2) {
    border-right: 0;
  }

  .service-item:first-child,
  .service-item:nth-child(3) {
    padding-left: 20px;
  }

  .service-item:last-child,
  .service-item:nth-child(2) {
    padding-right: 20px;
  }

  .service-item:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }

  .about-copy {
    grid-template-columns: 1fr;
    padding-left: 30px;
  }

  .about-cta {
    justify-self: start;
  }
}

@media (max-width: 620px) {
  .site-header {
    min-height: 68px;
    padding: 8px 16px;
    gap: 16px;
  }

  .header-lockup {
    width: clamp(165px, 48vw, 196px);
    max-height: 52px;
  }

  .button-small {
    min-height: 44px;
    padding: 10px 14px;
    font-size: 0.84rem;
  }

  .hero {
    padding: 56px 20px 60px;
  }

  .hero-content {
    width: 100%;
  }

  .hero h1 {
    max-width: 350px;
    font-size: clamp(2.8rem, 13.5vw, 3.7rem);
    line-height: 1;
  }

  .hero-content > p {
    max-width: 94%;
    margin: 22px 0 26px;
    font-size: 0.96rem;
  }

  .hero-lines {
    right: -48%;
    width: 100%;
    opacity: 0.22;
  }

  .bolt {
    width: 92px;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
    gap: 14px;
  }

  .hero-actions .button {
    width: 100%;
  }

  .text-link {
    align-self: flex-start;
  }

  .services {
    padding: 58px 20px;
  }

  .section-heading {
    grid-template-columns: 1fr;
    gap: 18px;
    margin-bottom: 36px;
  }

  .service-list {
    grid-template-columns: 1fr;
  }

  .service-item,
  .service-item:first-child,
  .service-item:nth-child(3),
  .service-item:nth-child(2),
  .service-item:last-child {
    min-height: auto;
    padding: 28px 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .service-item:last-child {
    border-bottom: 0;
  }

  .service-item h3 {
    margin-top: 14px;
  }

  .service-icon {
    width: 58px;
    height: 58px;
  }

  .about {
    padding: 54px 20px;
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .about-logo {
    width: min(100%, 390px);
    max-width: none;
  }

  .about-copy {
    display: grid;
    grid-template-columns: 1fr;
    gap: 18px;
    padding: 24px 0 0;
    border-left: 0;
    border-top: 3px solid var(--yellow);
  }

  .about-cta {
    width: 100%;
  }

  .contact {
    padding: 58px 20px;
    align-items: stretch;
    flex-direction: column;
    gap: 28px;
  }

  .site-footer {
    padding: 34px 20px;
    align-items: flex-start;
    flex-direction: column;
    gap: 14px;
  }

  .brand-footer {
    margin-right: 0;
  }

  .brand-footer img {
    width: min(100%, 310px);
  }

  .site-footer p {
    margin: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
  }
}
