:root {
  --navy-950: #00142e;
  --navy-900: #031d3f;
  --navy-800: #082a55;
  --navy-700: #113969;
  --yellow: #f4ad16;
  --yellow-strong: #ffb300;
  --paper: #ffffff;
  --white: #ffffff;
  --ink: #061b39;
  --muted: #6f7784;
  --line: rgba(6, 27, 57, 0.16);
  --shadow: 0 24px 80px rgba(0, 20, 46, 0.22);
  --heading: "Oswald", "Impact", "Arial Narrow", sans-serif;
  --body: "Barlow", "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--body);
  font-size: 16px;
  overflow-x: hidden;
}

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

img,
svg {
  display: block;
}

button,
input,
select,
textarea {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  min-height: 82px;
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  background: var(--navy-950);
  color: var(--white);
  box-shadow: 0 10px 30px rgba(0, 20, 46, 0.25);
}

.brand {
  position: relative;
  min-width: 330px;
  display: flex;
  align-items: center;
  padding: 8px 48px 8px 30px;
  background: var(--navy-900);
  clip-path: polygon(0 0, 100% 0, 88% 100%, 0 100%);
}

.brand-logo {
  width: clamp(225px, 19vw, 285px);
  height: auto;
  max-height: 66px;
  object-fit: contain;
  object-position: left center;
}

.site-nav {
  display: flex;
  align-items: stretch;
  margin-left: auto;
}

.site-nav a {
  position: relative;
  display: grid;
  place-items: center;
  min-width: 116px;
  padding: 0 18px;
  font-family: var(--heading);
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.9);
}

.site-nav a:not(.nav-cta) {
  display: none;
}

.site-nav a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 28%;
  right: 28%;
  height: 4px;
  background: var(--yellow);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 180ms ease;
}

.site-nav a:hover::after,
.site-nav a.is-active::after {
  transform: scaleX(1);
}

.site-nav .nav-cta {
  min-width: 212px;
  margin-left: 12px;
  color: var(--navy-950);
  background: var(--yellow);
  clip-path: polygon(14% 0, 100% 0, 86% 100%, 0 100%);
}

.site-nav .nav-cta::after {
  display: none;
}

.hero {
  position: relative;
  min-height: 0;
  height: clamp(280px, 21vw, 315px);
  display: grid;
  grid-template-columns: minmax(0, 48%) minmax(0, 52%);
  overflow: hidden;
  background: var(--white);
}

.hero::before {
  display: none;
}

.hero-copy {
  position: relative;
  z-index: 2;
  align-self: center;
  padding: 44px 30px 46px clamp(28px, 4.5vw, 66px);
}

.hero-copy::before {
  display: none;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--yellow);
  font-family: var(--heading);
  font-size: 0.95rem;
  font-weight: 700;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 820px;
  margin: 0;
  color: var(--navy-950);
  font-family: var(--heading);
  font-size: clamp(3.45rem, 4.8vw, 5.05rem);
  font-weight: 700;
  line-height: 0.98;
  text-transform: uppercase;
}

.hero h1 span {
  display: block;
}

.hero h1 span + span {
  margin-top: 0.14em;
}

.hero h1 .title-line {
  white-space: nowrap;
}

.hero h1::after,
.section-heading h2::after {
  content: "";
  display: block;
  width: min(420px, 76%);
  height: 3px;
  margin-top: 18px;
  background: var(--yellow);
}

.hero-slogan {
  margin: 20px 0 0;
  color: var(--navy-950);
  font-family: var(--heading);
  font-size: clamp(1.45rem, 2vw, 2.1rem);
  font-weight: 700;
  text-transform: uppercase;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 0;
  border-radius: 4px;
  padding: 0 22px;
  cursor: pointer;
  font-family: var(--heading);
  font-weight: 700;
  text-transform: uppercase;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    background 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.button-primary {
  color: var(--navy-950);
  background: var(--yellow);
  box-shadow: 0 12px 28px rgba(244, 173, 22, 0.28);
}

.button-secondary {
  color: var(--navy-950);
  background: rgba(6, 27, 57, 0.08);
}

.hero-photo {
  position: relative;
  z-index: 1;
  min-height: 0;
  height: 100%;
  margin: 0;
  clip-path: polygon(14% 0, 100% 0, 100% 100%, 0 100%);
}

.hero-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0, 20, 46, 0.22), transparent 42%);
  pointer-events: none;
}

.hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 50%;
}

.hero-stripe {
  position: absolute;
  z-index: 3;
  top: 0;
  bottom: 0;
  left: 49%;
  width: clamp(58px, 6vw, 86px);
  background: linear-gradient(180deg, var(--yellow), #d99000);
  transform: skewX(-24deg);
  box-shadow: 16px 0 0 rgba(0, 20, 46, 0.22);
}

.service-band {
  position: relative;
  z-index: 5;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  background:
    linear-gradient(115deg, var(--navy-950), var(--navy-800));
  color: var(--white);
  border-top: 5px solid var(--navy-900);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.service-card {
  display: flex;
  align-items: center;
  gap: 24px;
  min-height: 126px;
  padding: 22px clamp(28px, 5vw, 74px);
}

.service-card + .service-card {
  border-left: 1px solid rgba(255, 255, 255, 0.35);
}

.service-icon {
  flex: 0 0 auto;
  width: 78px;
  height: 78px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--navy-900);
  overflow: hidden;
}

.service-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.service-card h2 {
  margin: 0;
  font-family: var(--heading);
  font-size: clamp(1.55rem, 2.1vw, 2.15rem);
  line-height: 1.02;
  text-transform: uppercase;
}

.service-card h2::after {
  content: "";
  display: block;
  width: 46px;
  height: 3px;
  margin-top: 10px;
  background: var(--yellow);
}

.service-card p {
  max-width: 520px;
  margin: 12px 0 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.02rem;
  line-height: 1.45;
}

.proof-contact {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 67%) minmax(400px, 33%);
  align-items: stretch;
  background: var(--white);
}

.proof-contact::after {
  content: "";
  position: absolute;
  right: 26%;
  bottom: 0;
  width: 16px;
  height: 92px;
  background: var(--yellow);
  transform: skewX(-28deg);
  box-shadow:
    26px 0 0 var(--yellow),
    52px 0 0 var(--yellow);
}

.realizations {
  padding: 34px clamp(24px, 4.5vw, 72px) 48px;
  background: var(--white);
}

.section-heading h2 {
  margin: 0;
  color: var(--navy-950);
  font-family: var(--heading);
  font-size: clamp(2rem, 3.2vw, 3.1rem);
  line-height: 1;
  text-transform: uppercase;
}

.section-heading h2::after {
  width: 58px;
  height: 4px;
  margin-top: 10px;
}

.gallery {
  display: grid;
  grid-template-columns: 1.08fr 1fr 1fr 1fr;
  gap: 12px;
  margin-top: 18px;
}

.gallery-item {
  position: relative;
  height: 190px;
  border: 0;
  border-radius: 0;
  padding: 0;
  overflow: hidden;
  cursor: pointer;
  background: var(--navy-900);
  box-shadow: 0 12px 24px rgba(0, 20, 46, 0.12);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 260ms ease, opacity 260ms ease;
}

.gallery-item:hover img {
  transform: scale(1.04);
  opacity: 0.88;
}

.gallery-item::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 5px;
  background: var(--yellow);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 220ms ease;
}

.gallery-item:hover::after,
.gallery-item.is-featured::after {
  transform: scaleX(1);
}

.gallery-dots {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 22px;
}

.gallery-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #c8c9ca;
}

.gallery-dots .is-active {
  background: var(--yellow);
}

.contact-panel {
  position: relative;
  z-index: 6;
  min-height: 430px;
  margin-top: -88px;
  padding: 34px clamp(24px, 3.2vw, 58px) 64px 88px;
  color: var(--white);
  background:
    radial-gradient(circle at 92% 10%, rgba(255, 179, 0, 0.14), transparent 26%),
    linear-gradient(138deg, var(--navy-950), var(--navy-800));
  clip-path: polygon(12% 0, 100% 0, 100% 100%, 0 100%);
}

.contact-panel::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  background: var(--yellow);
  transform: skewX(-15deg);
}

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

.contact-form {
  display: grid;
  gap: 10px;
  margin-top: 22px;
}

.contact-form label {
  display: grid;
  gap: 6px;
}

.form-honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.contact-form span {
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.9rem;
  font-weight: 600;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  min-height: 48px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 4px;
  padding: 12px 14px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
  outline: none;
  transition: border-color 160ms ease, background 160ms ease;
}

.contact-form textarea {
  resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--yellow);
  background: rgba(255, 255, 255, 0.12);
}

.form-button {
  width: min(250px, 100%);
  margin-top: 4px;
}

.form-status {
  min-height: 22px;
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.92rem;
}

.form-status.is-success {
  color: #9df0bd;
}

.form-status.is-error {
  color: #ffb7b7;
}

@media (min-width: 861px) {
  .site-header {
    position: static;
  }

  .proof-contact {
    align-items: start;
  }

  .service-band {
    padding-right: 33%;
  }

  .hero h1 {
    font-size: clamp(3rem, 4.2vw, 4.45rem);
    line-height: 0.98;
  }

  .hero-slogan {
    font-size: clamp(1.18rem, 1.65vw, 1.55rem);
  }

  .service-card {
    min-height: 96px;
    padding-top: 14px;
    padding-bottom: 14px;
  }

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

  .service-card h2 {
    font-size: clamp(1.45rem, 1.9vw, 2rem);
  }

  .realizations {
    padding-top: 22px;
    padding-bottom: 18px;
  }

  .gallery {
    gap: 10px;
    margin-top: 14px;
  }

  .gallery-item {
    height: clamp(150px, 11.5vw, 190px);
  }

  .contact-panel {
    min-height: 0;
    margin-top: -70px;
    padding-top: 24px;
    padding-bottom: 20px;
  }

  .hero-actions,
  .service-card p {
    display: none;
  }

  .service-card h2 {
    max-width: 410px;
  }

  .contact-form span {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
  }

  .contact-form input,
  .contact-form textarea {
    min-height: 36px;
    padding-top: 7px;
    padding-bottom: 7px;
  }

  .contact-form textarea {
    min-height: 68px;
  }

  .contact-form {
    gap: 8px;
    margin-top: 14px;
  }

  .form-button {
    min-height: 40px;
  }

  .site-footer {
    min-height: 56px;
    padding-top: 8px;
    padding-bottom: 8px;
  }
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: rgba(255, 255, 255, 0.62);
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0;
  padding: 22px clamp(24px, 4vw, 72px);
  background: var(--navy-950);
  color: var(--white);
}

.site-footer a,
.site-footer span {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 34px;
  padding: 0 26px;
  color: rgba(255, 255, 255, 0.92);
  font-size: clamp(1rem, 1.5vw, 1.25rem);
  font-weight: 500;
}

.site-footer a:first-child,
.site-footer span:first-child {
  padding-left: 0;
}

.site-footer a + a,
.site-footer span {
  border-left: 1px solid rgba(255, 255, 255, 0.34);
}

.site-footer svg {
  width: 28px;
  height: 28px;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.lightbox {
  width: min(1000px, calc(100vw - 32px));
  border: 0;
  padding: 0;
  background: transparent;
}

.lightbox::backdrop {
  background: rgba(0, 20, 46, 0.82);
}

.lightbox img {
  width: 100%;
  max-height: 86vh;
  object-fit: contain;
  background: var(--navy-950);
  box-shadow: var(--shadow);
}

.lightbox-close {
  position: fixed;
  top: 20px;
  right: 24px;
  z-index: 2;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  color: var(--navy-950);
  background: var(--yellow);
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
}

@media (max-width: 1100px) {
  .site-header {
    min-height: 66px;
  }

  .brand {
    min-width: 260px;
    padding-left: 22px;
  }

  .site-nav a {
    min-width: 92px;
    padding: 0 12px;
  }

  .site-nav .nav-cta {
    min-width: 174px;
  }

  .hero {
    min-height: 500px;
    grid-template-columns: 48% 52%;
  }

  .hero-copy {
    padding-left: 32px;
  }

  .hero h1 {
    font-size: clamp(3.4rem, 7vw, 5.8rem);
    line-height: 0.98;
  }

  .gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .contact-panel {
    padding-left: 64px;
  }
}

@media (max-width: 860px) {
  .site-header {
    align-items: center;
    min-height: 68px;
  }

  .brand {
    min-width: 235px;
    align-self: stretch;
  }

  .brand-logo {
    width: 185px;
    height: auto;
    max-height: 52px;
  }

  .site-nav {
    position: static;
    display: flex;
    flex-direction: row;
    align-self: stretch;
    background: transparent;
    box-shadow: none;
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    min-height: 68px;
  }

  .site-nav .nav-cta {
    min-width: 172px;
    margin: 0;
    clip-path: polygon(13% 0, 100% 0, 87% 100%, 0 100%);
  }

  .hero {
    grid-template-columns: 1fr;
    height: auto;
    min-height: 0;
  }

  .hero::before {
    width: 100%;
  }

  .hero-copy {
    min-height: 430px;
    padding: 48px 24px 42px;
  }

  .hero-photo {
    min-height: 360px;
    clip-path: polygon(0 8%, 100% 0, 100% 100%, 0 100%);
  }

  .hero-stripe {
    top: 384px;
    bottom: auto;
    left: auto;
    right: 32px;
    height: 80px;
  }

  .service-band,
  .proof-contact {
    grid-template-columns: 1fr;
  }

  .service-card + .service-card {
    border-top: 1px solid rgba(255, 255, 255, 0.22);
    border-left: 0;
  }

  .contact-panel {
    clip-path: none;
    padding: 42px 24px 52px;
  }

  .contact-panel::before {
    display: none;
  }

  .proof-contact::after {
    display: none;
  }

  .site-footer a,
  .site-footer span {
    width: 100%;
    padding: 12px 0;
    border-left: 0;
  }

  .site-footer a + a,
  .site-footer span {
    border-top: 1px solid rgba(255, 255, 255, 0.16);
    border-left: 0;
  }
}

@media (max-width: 540px) {
  .brand {
    min-width: 210px;
    padding-right: 34px;
  }

  .brand-logo {
    width: 168px;
    height: auto;
    max-height: 48px;
  }

  .hero h1 {
    font-size: clamp(3rem, 15vw, 4.4rem);
    line-height: 0.98;
  }

  .hero h1 .title-line {
    white-space: normal;
  }

  .hero-slogan {
    font-size: 1.35rem;
  }

  .service-card {
    align-items: flex-start;
    padding: 24px;
  }

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

  .gallery {
    grid-template-columns: 1fr;
  }
}

@media (min-width: 861px) {
  .proof-contact {
    align-items: start;
  }

  .contact-panel {
    min-height: 0;
    margin-top: -70px;
    padding-top: 22px;
    padding-bottom: 18px;
  }

  .contact-panel .section-heading h2 {
    font-size: clamp(2.15rem, 2.6vw, 2.7rem);
  }

  .contact-form {
    gap: 7px;
    margin-top: 12px;
  }

  .contact-form input {
    height: 34px;
    min-height: 34px;
    padding: 6px 12px;
  }

  .contact-form textarea {
    height: 66px;
    min-height: 66px;
    padding: 8px 12px;
  }

  .form-button {
    min-height: 38px;
  }

  .site-footer {
    min-height: 54px;
    padding-top: 8px;
    padding-bottom: 8px;
  }

  .site-footer a,
  .site-footer span {
    min-height: 28px;
    font-size: clamp(0.94rem, 1.15vw, 1.08rem);
    padding-right: 22px;
    padding-left: 22px;
  }

  .site-footer svg {
    width: 24px;
    height: 24px;
  }
}

@media (min-width: 861px) and (max-height: 760px) {
  .site-header {
    min-height: 58px;
    height: 58px;
  }

  .brand {
    min-width: 270px;
    padding-top: 6px;
    padding-bottom: 6px;
  }

  .brand-logo {
    width: 205px;
    height: auto;
    max-height: 50px;
  }

  .site-nav a {
    min-width: 92px;
    font-size: 0.92rem;
  }

  .site-nav .nav-cta {
    min-width: 176px;
  }

  .hero {
    height: 225px;
  }

  .hero-copy {
    padding-top: 22px;
    padding-bottom: 22px;
  }

  .eyebrow {
    margin-bottom: 8px;
    font-size: 0.82rem;
  }

  .hero h1 {
    font-size: clamp(2.7rem, 4vw, 3.35rem);
    line-height: 0.98;
  }

  .hero h1::after,
  .section-heading h2::after {
    margin-top: 10px;
  }

  .hero-slogan {
    margin-top: 14px;
    font-size: clamp(1rem, 1.5vw, 1.25rem);
  }

  .service-card {
    min-height: 70px;
    gap: 16px;
    padding-top: 8px;
    padding-bottom: 8px;
  }

  .service-icon {
    width: 56px;
    height: 56px;
    border-width: 2px;
  }

  .service-card h2 {
    font-size: clamp(1.28rem, 1.65vw, 1.5rem);
  }

  .service-card h2::after {
    margin-top: 7px;
  }

  .realizations {
    padding-top: 14px;
    padding-bottom: 10px;
  }

  .section-heading h2 {
    font-size: clamp(1.8rem, 2.8vw, 2.25rem);
  }

  .gallery {
    margin-top: 8px;
  }

  .gallery-item {
    height: 118px;
  }

  .gallery-dots {
    margin-top: 8px;
  }

  .contact-panel {
    margin-top: -70px;
    padding-top: 18px;
    padding-bottom: 12px;
    padding-left: 70px;
  }

  .contact-panel .section-heading h2 {
    font-size: clamp(2rem, 3.3vw, 2.35rem);
  }

  .contact-form {
    gap: 5px;
    margin-top: 8px;
  }

  .contact-form input {
    height: 30px;
    min-height: 30px;
    padding: 4px 10px;
  }

  .contact-form textarea {
    height: 42px;
    min-height: 42px;
    padding: 6px 10px;
  }

  .form-button {
    min-height: 34px;
  }

  .site-footer {
    min-height: 36px;
    padding-top: 2px;
    padding-bottom: 2px;
  }

  .site-footer a,
  .site-footer span {
    min-height: 24px;
    font-size: 0.9rem;
  }

  .site-footer svg {
    width: 22px;
    height: 22px;
  }
}
