.brand {
  width: 88px;
  height: 88px;
  flex: 0 0 88px;
  background: #fff;
  overflow: hidden;
}

.brand img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: none;
  display: block;
}

.hero h1 {
  font-size: clamp(3.45rem, 5.5vw, 6rem);
  line-height: .94;
  letter-spacing: -.055em;
}

@media (max-width: 900px) {
  .brand {
    width: 68px;
    height: 68px;
    flex-basis: 68px;
  }

  .hero h1 {
    font-size: clamp(2.65rem, 10.5vw, 5rem);
  }
}

/* Uniform rendering on current Safari, Chrome, Edge and Firefox. */
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  overflow-x: hidden;
}

body {
  min-width: 320px;
  overflow-x: hidden;
}

img { max-width: 100%; }

.nav > *, .hero-content, .intro-copy, .material-list, .sector-title,
.company-copy, .contact-main, .contact address { min-width: 0; }

.hero { height: 100vh; height: 100svh; }
.contact address a { overflow-wrap: anywhere; }

@media (max-width: 900px) {
  .nav {
    padding-left: max(22px, env(safe-area-inset-left));
    padding-right: max(22px, env(safe-area-inset-right));
  }

  .mobile-nav {
    padding-left: max(22px, env(safe-area-inset-left));
    padding-right: max(22px, env(safe-area-inset-right));
    padding-bottom: calc(22px + env(safe-area-inset-bottom));
    box-shadow: 0 18px 35px rgba(0, 0, 0, .35);
  }

  .hero { height: auto; }

  .hero-content {
    padding-left: max(22px, env(safe-area-inset-left));
    padding-right: max(22px, env(safe-area-inset-right));
  }
}

@media (max-width: 380px) {
  .hero h1 { font-size: 2.35rem; }
  .intro-copy h2, .materials h2, .sector-title h2, .company h2 { font-size: 2.25rem; }
  .proof { gap: 8px; }
  .proof div { margin-right: 0; }
  .proof span { letter-spacing: .04em; }
  .company-mark { font-size: 5.5rem; }
}

@media (max-height: 650px) and (orientation: landscape) {
  .hero { min-height: 650px; }
  .hero-content { padding-top: 120px; }
  .proof { margin-top: 30px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
}

.quote {
  max-width: none !important;
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: clamp(50px, 7vw, 110px);
  padding: 110px max(52px, calc((100vw - var(--max)) / 2 + 52px));
  background: #f1f2f2;
  color: #111;
}

.quote-intro h2 {
  margin: 30px 0 26px;
  font-size: clamp(2.7rem, 4.6vw, 5rem);
  line-height: 1;
  letter-spacing: -.055em;
}

.quote-intro h2 span { color: #73787d; }
.quote-intro > p { max-width: 560px; color: #555b60; font-size: 1.03rem; }
.quote-intro .file-note { margin-top: 30px; color: #111; font-size: .75rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.quote-form { align-self: start; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.quote-form label { display: grid; gap: 8px; font-size: .72rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.quote-form .full { grid-column: 1 / -1; }
.quote-form input, .quote-form textarea {
  width: 100%;
  min-height: 50px;
  border: 0;
  border-bottom: 1px solid #aeb3b6;
  border-radius: 0;
  padding: 12px 0;
  background: transparent;
  color: #111;
  font: 400 1rem/1.4 Arial, Helvetica, sans-serif;
  text-transform: none;
}
.quote-form textarea { resize: vertical; min-height: 105px; }
.quote-form input:focus, .quote-form textarea:focus { outline: 0; border-color: #111; box-shadow: 0 2px 0 #f2b91d; }
.quote-form input::placeholder, .quote-form textarea::placeholder { color: #92979b; opacity: 1; }
.file-field { position: relative; border: 1px dashed #aeb3b6; padding: 18px; }
.file-field input { min-height: auto; border: 0; padding: 5px 0; }
.file-field span { color: #747a7f; font-size: .72rem; font-weight: 400; letter-spacing: 0; text-transform: none; }
.consent { grid-template-columns: 20px 1fr !important; align-items: start; margin: 24px 0; color: #62676b; font-size: .7rem !important; font-weight: 400 !important; letter-spacing: 0 !important; line-height: 1.5; text-transform: none !important; }
.consent input { width: 18px; min-height: 18px; height: 18px; margin: 2px 0 0; appearance: auto; -webkit-appearance: checkbox; accent-color: #111; }
.quote-submit { border: 0; cursor: pointer; }
.honeypot { position: absolute !important; left: -9999px !important; width: 1px !important; height: 1px !important; }
.form-success { margin-top: 20px; padding: 14px 16px; border-left: 4px solid #111; background: #f2b91d; color: #111; font-weight: 800; }

.social-links { display: flex; gap: 9px; }
.social-links a { width: 42px; height: 42px; display: grid; place-items: center; border: 1px solid #34393e; color: #c6cacf; transition: border-color .2s ease, color .2s ease, background .2s ease; }
.social-links a:hover, .social-links a:focus-visible { border-color: var(--yellow); color: var(--yellow); outline: 0; }
.social-links svg { width: 20px; height: 20px; fill: currentColor; stroke: none; }
.social-links .instagram-icon rect, .social-links .instagram-icon circle:not(.fill-dot) { fill: none; stroke: currentColor; stroke-width: 2; }
.social-links svg .fill-dot { fill: currentColor; stroke: none; }

@media (max-width: 900px) {
  .quote { grid-template-columns: 1fr; padding: 80px 22px; gap: 50px; }
  footer { flex-wrap: wrap; }
}

@media (max-width: 600px) {
  .form-grid { grid-template-columns: 1fr; }
  .quote-form .full { grid-column: auto; }
  .quote-submit { width: 100%; }
  .social-links { order: 3; }
}
