:root {
  --navy: #092337;
  --navy-deep: #061825;
  --navy-soft: #102e42;
  --cream: #f2eadc;
  --cream-deep: #e7ddca;
  --paper: #fbf4e8;
  --red: #a93221;
  --red-dark: #852819;
  --rust: #c2472f;
  --gold: #d09a30;
  --ink: #10273b;
  --muted: #4a5a63;
  --white: #fff8eb;
  --max: 1180px;
  --condensed: "Bebas Neue", "Roboto Condensed", Impact, sans-serif;
  --body: "Inter", Arial, sans-serif;
  --marker: "Permanent Marker", "Comic Sans MS", cursive;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.5;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: 20;
  pointer-events: none;
  content: "";
  opacity: 0.28;
  mix-blend-mode: multiply;
  background-image:
    radial-gradient(circle at 20% 30%, rgba(6, 24, 37, 0.13) 0 1px, transparent 1.5px),
    radial-gradient(circle at 80% 10%, rgba(169, 50, 33, 0.12) 0 1px, transparent 1.5px),
    radial-gradient(circle at 40% 80%, rgba(6, 24, 37, 0.08) 0 1px, transparent 1.5px);
  background-size: 19px 23px, 31px 29px, 13px 17px;
}

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

img {
  display: block;
  max-width: 100%;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

.site-header {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 10;
  display: grid;
  width: 100%;
  min-height: 122px;
  grid-template-columns: minmax(150px, 190px) 1fr auto;
  align-items: center;
  gap: 28px;
  padding: 18px clamp(24px, 5vw, 46px) 16px;
  color: var(--cream);
  background:
    linear-gradient(180deg, rgba(6, 24, 37, 0.96), rgba(6, 24, 37, 0.86) 68%, rgba(6, 24, 37, 0)),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.04) 0 1px, transparent 1px 7px);
}

.brand {
  width: clamp(128px, 13vw, 164px);
}

.brand img,
.footer-brand img {
  filter: brightness(0) saturate(100%) invert(93%) sepia(20%) saturate(401%) hue-rotate(334deg) brightness(104%) contrast(92%);
}

.brand img {
  width: clamp(128px, 13vw, 164px);
  height: clamp(78px, 7.5vw, 98px);
  object-fit: fill;
}

.site-nav {
  display: flex;
  justify-content: center;
  gap: clamp(22px, 4vw, 62px);
  align-items: center;
}

.site-nav a,
.footer-links a {
  position: relative;
  font-family: var(--condensed);
  font-size: 17px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.site-nav a::after {
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 0;
  height: 2px;
  content: "";
  background: var(--red);
  transition: width 160ms ease;
}

.site-nav a:hover::after {
  width: 100%;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 28px;
  border: 2px solid currentColor;
  font-family: var(--condensed);
  font-size: 18px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: 0;
  text-transform: uppercase;
  transition:
    transform 160ms ease,
    background-color 160ms ease,
    color 160ms ease;
}

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

.button span {
  margin-left: 9px;
}

.button-red {
  color: var(--cream);
  border-color: #c04931;
  background: var(--red);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.09);
}

.button-red:hover {
  background: var(--red-dark);
}

.button-outline {
  color: var(--ink);
  background: rgba(255, 248, 235, 0.15);
}

.button-outline:hover {
  color: var(--cream);
  background: var(--ink);
}

.button-light {
  color: var(--cream);
  background: rgba(255, 255, 255, 0.04);
}

.button-light:hover {
  color: var(--red);
  background: var(--cream);
}

.nav-toggle {
  display: none;
  width: 46px;
  height: 42px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 6px;
  border: 2px solid rgba(242, 234, 220, 0.72);
  color: var(--cream);
  background: rgba(6, 24, 37, 0.55);
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 21px;
  height: 2px;
  background: currentColor;
}

.hero {
  position: relative;
  min-height: 710px;
  isolation: isolate;
  overflow: hidden;
  color: var(--cream);
  background: var(--navy-deep);
}

.hero::before,
.site-footer::before,
.process-strip::before,
.section-paper::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  content: "";
  pointer-events: none;
}

.hero::before {
  z-index: 1;
  opacity: 0.55;
  background:
    radial-gradient(circle at 12% 34%, rgba(255, 255, 255, 0.16) 0 1px, transparent 1.5px),
    radial-gradient(circle at 82% 72%, rgba(255, 255, 255, 0.11) 0 1px, transparent 1.5px);
  background-size: 12px 15px, 23px 21px;
  mix-blend-mode: overlay;
}

.hero::after {
  position: absolute;
  inset: 0;
  z-index: 2;
  content: "";
  background:
    linear-gradient(90deg, rgba(6, 24, 37, 0.98) 0%, rgba(6, 24, 37, 0.95) 31%, rgba(6, 24, 37, 0.48) 58%, rgba(6, 24, 37, 0.08) 100%),
    linear-gradient(180deg, rgba(6, 24, 37, 0.32), rgba(6, 24, 37, 0.12) 52%, rgba(6, 24, 37, 0.42));
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center right;
  filter: saturate(0.78) contrast(1.08);
}

.hero-copy {
  position: relative;
  z-index: 3;
  width: min(660px, calc(100% - 44px));
  padding: 168px 0 72px clamp(24px, 4vw, 44px);
}

.eyebrow,
.section-kicker {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin: 0 0 20px;
  color: var(--red);
  font-family: var(--condensed);
  font-size: 22px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.eyebrow {
  justify-content: flex-start;
  gap: 17px;
  margin-bottom: 18px;
}

.eyebrow::before,
.eyebrow::after,
.section-kicker::before,
.section-kicker::after {
  content: "★";
  color: var(--cream);
  font-size: 18px;
  line-height: 1;
}

.section-kicker::before,
.section-kicker::after {
  color: var(--ink);
}

.section-kicker-left {
  justify-content: flex-start;
}

.hero h1,
.section-heading h2,
.services h2,
.process-strip h2 {
  margin: 0;
  font-family: var(--condensed);
  font-weight: 900;
  line-height: 0.94;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 610px;
  color: var(--white);
  font-size: clamp(66px, 6.9vw, 90px);
  text-shadow: 0 2px 0 rgba(0, 0, 0, 0.22);
}

.hero-rule {
  width: 106px;
  height: 4px;
  margin: 28px 0 28px;
  background: var(--red);
  box-shadow: 20px 0 0 var(--red);
}

.hero-copy p:not(.eyebrow) {
  max-width: 420px;
  margin: 0 0 34px;
  color: #f5ead8;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.55;
}

.section-paper {
  position: relative;
  isolation: isolate;
  background:
    linear-gradient(0deg, rgba(255, 255, 255, 0.34), rgba(255, 255, 255, 0.14)),
    var(--paper);
}

.section-paper::before {
  opacity: 0.45;
  background:
    radial-gradient(circle at 8% 17%, rgba(16, 39, 59, 0.13) 0 1px, transparent 1.3px),
    radial-gradient(circle at 72% 39%, rgba(169, 50, 33, 0.11) 0 1px, transparent 1.3px),
    repeating-linear-gradient(90deg, rgba(16, 39, 59, 0.04) 0 1px, transparent 1px 9px);
  background-size: 17px 19px, 23px 29px, auto;
}

.work {
  padding: 36px clamp(20px, 4vw, 44px) 76px;
  border-bottom: 1px solid rgba(16, 39, 59, 0.18);
}

.section-heading {
  max-width: var(--max);
  margin: 0 auto 32px;
  text-align: center;
}

.section-heading h2 {
  color: var(--ink);
  font-size: clamp(42px, 5vw, 66px);
}

.work-grid {
  display: grid;
  max-width: var(--max);
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin: 0 auto 32px;
}

.work-card {
  text-align: center;
}

.video-thumb {
  position: relative;
  display: block;
  aspect-ratio: 1.42 / 1;
  overflow: hidden;
  border: 4px solid var(--paper);
  background: var(--navy);
  box-shadow: 0 1px 0 rgba(16, 39, 59, 0.2);
}

.video-thumb::before {
  position: absolute;
  inset: 0;
  z-index: 1;
  content: "";
  background: rgba(6, 24, 37, 0.28);
  transition: background-color 160ms ease;
}

.video-thumb:hover::before {
  background: rgba(6, 24, 37, 0.12);
}

.video-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.82) contrast(1.08);
  transition: transform 180ms ease;
}

.video-thumb:hover img {
  transform: scale(1.04);
}

.play {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 2;
  width: 58px;
  height: 58px;
  transform: translate(-50%, -50%);
  border: 3px solid var(--cream);
  border-radius: 50%;
  background: rgba(6, 24, 37, 0.28);
}

.play::after {
  position: absolute;
  top: 50%;
  left: 53%;
  width: 0;
  height: 0;
  transform: translate(-38%, -50%);
  content: "";
  border-top: 13px solid transparent;
  border-bottom: 13px solid transparent;
  border-left: 18px solid var(--cream);
}

.work-card h3,
.service-item h3,
.footer-links h2,
.american h2 {
  margin: 13px 0 2px;
  color: var(--ink);
  font-family: var(--condensed);
  font-size: 24px;
  line-height: 1;
  letter-spacing: 0;
  text-transform: uppercase;
}

.work-card p {
  margin: 0;
  color: #24384a;
  font-size: 14px;
  font-weight: 600;
}

.work > .button {
  display: flex;
  width: fit-content;
  margin: 0 auto;
}

.services {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 585px);
  gap: clamp(34px, 6vw, 76px);
  align-items: center;
  padding: 46px clamp(24px, 4vw, 44px) 70px;
}

.services-copy {
  max-width: 590px;
  justify-self: end;
}

.services h2 {
  max-width: 570px;
  color: var(--ink);
  font-size: clamp(48px, 5.5vw, 72px);
}

.lead {
  max-width: 520px;
  margin: 24px 0 34px;
  color: #24384a;
  font-size: 15px;
  font-weight: 700;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px 30px;
}

.service-item {
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 16px;
  align-items: start;
}

.service-item h3 {
  margin: 0 0 6px;
  font-size: 21px;
}

.service-item p {
  margin: 0;
  color: #263d4d;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.35;
}

.service-icon {
  position: relative;
  display: block;
  width: 52px;
  height: 52px;
  color: var(--red);
}

.camera-icon::before {
  position: absolute;
  left: 4px;
  top: 16px;
  width: 30px;
  height: 22px;
  border: 4px solid currentColor;
  border-radius: 5px;
  content: "";
}

.camera-icon::after {
  position: absolute;
  left: 34px;
  top: 19px;
  width: 13px;
  height: 17px;
  border: 4px solid currentColor;
  border-left: 0;
  content: "";
  clip-path: polygon(0 18%, 100% 0, 100% 100%, 0 82%);
}

.tools-icon::before,
.tools-icon::after {
  position: absolute;
  top: 5px;
  left: 23px;
  width: 6px;
  height: 43px;
  border-radius: 4px;
  content: "";
  background: currentColor;
}

.tools-icon::before {
  transform: rotate(45deg);
}

.tools-icon::after {
  transform: rotate(-45deg);
}

.quote-icon::before {
  position: absolute;
  left: 2px;
  top: 9px;
  width: 40px;
  height: 26px;
  border: 4px solid currentColor;
  border-radius: 18px;
  content: "";
}

.quote-icon::after {
  position: absolute;
  left: 28px;
  top: 31px;
  width: 14px;
  height: 14px;
  border-right: 4px solid currentColor;
  border-bottom: 4px solid currentColor;
  content: "";
  transform: rotate(18deg);
}

.phone-icon::before {
  position: absolute;
  left: 12px;
  top: 3px;
  width: 27px;
  height: 44px;
  border: 4px solid currentColor;
  border-radius: 5px;
  content: "";
}

.phone-icon::after {
  position: absolute;
  left: 22px;
  bottom: 8px;
  width: 8px;
  height: 4px;
  border-radius: 4px;
  content: "";
  background: currentColor;
}

.hard-work-card {
  position: relative;
  max-width: 585px;
  margin: 0;
  overflow: hidden;
  border: 8px solid rgba(255, 248, 235, 0.75);
  box-shadow: 0 1px 0 rgba(16, 39, 59, 0.2);
}

.hard-work-card::after {
  position: absolute;
  inset: 0;
  content: "";
  background:
    linear-gradient(90deg, rgba(6, 24, 37, 0.34), rgba(6, 24, 37, 0.08)),
    linear-gradient(180deg, transparent 54%, rgba(6, 24, 37, 0.28));
}

.hard-work-card img {
  width: 100%;
  aspect-ratio: 1.26 / 1;
  object-fit: cover;
  filter: saturate(0.78) contrast(1.08);
}

.hard-work-card figcaption {
  position: absolute;
  left: 38px;
  bottom: 42px;
  z-index: 2;
  color: var(--cream);
  font-family: var(--marker);
  font-size: clamp(40px, 4.4vw, 66px);
  line-height: 1.17;
  text-shadow: 0 3px 16px rgba(0, 0, 0, 0.42);
}

.hard-work-card figcaption::after {
  display: block;
  width: 128px;
  height: 8px;
  margin-top: 18px;
  content: "";
  transform: rotate(-5deg);
  border-radius: 8px;
  background: var(--red);
}

.process-strip {
  position: relative;
  z-index: 1;
  display: grid;
  min-height: 146px;
  grid-template-columns: 1fr auto;
  gap: 28px;
  align-items: center;
  padding: 30px clamp(24px, 7.2vw, 145px);
  overflow: hidden;
  color: var(--cream);
  background:
    linear-gradient(0deg, rgba(118, 29, 20, 0.84), rgba(118, 29, 20, 0.84)),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.08) 0 1px, transparent 1px 8px),
    var(--red);
}

.process-strip::before {
  z-index: -1;
  opacity: 0.5;
  background:
    radial-gradient(circle at 4% 45%, rgba(255, 248, 235, 0.22) 0 1px, transparent 1.4px),
    radial-gradient(circle at 87% 23%, rgba(255, 248, 235, 0.15) 0 1px, transparent 1.4px);
  background-size: 15px 16px, 27px 25px;
}

.horse-watermark {
  position: absolute;
  left: -2px;
  bottom: -33px;
  width: 180px;
  height: 180px;
  opacity: 0.13;
  background: url("./assets/bronco-logo.svg") center / contain no-repeat;
  filter: brightness(0) invert(1);
}

.process-strip h2 {
  font-size: clamp(42px, 4vw, 62px);
}

.process-strip p {
  margin: 6px 0 0;
  font-size: 16px;
  font-weight: 800;
}

.site-footer {
  position: relative;
  display: grid;
  grid-template-columns: minmax(220px, 1.15fr) 0.85fr 1fr 1.2fr;
  gap: clamp(28px, 5vw, 82px);
  padding: 48px clamp(24px, 4vw, 52px) 22px;
  isolation: isolate;
  color: var(--cream);
  background: var(--navy-deep);
}

.site-footer::before {
  opacity: 0.58;
  background:
    radial-gradient(circle at 16% 42%, rgba(255, 255, 255, 0.14) 0 1px, transparent 1.3px),
    radial-gradient(circle at 86% 34%, rgba(255, 255, 255, 0.1) 0 1px, transparent 1.3px),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.035) 0 1px, transparent 1px 8px);
  background-size: 18px 18px, 26px 28px, auto;
}

.footer-brand img {
  width: 170px;
  margin-bottom: 14px;
}

.footer-brand p {
  max-width: 260px;
  margin: 0 0 18px;
  color: #e5dccd;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.42;
}

.socials {
  display: flex;
  gap: 13px;
}

.socials a {
  display: inline-grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 50%;
  color: var(--navy);
  background: rgba(242, 234, 220, 0.78);
  font-weight: 900;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-links h2,
.american h2 {
  margin: 5px 0 16px;
  color: var(--cream);
  font-size: 24px;
}

.footer-links a {
  width: fit-content;
  color: #e7decc;
  font-family: var(--body);
  font-size: 14px;
  font-weight: 700;
  text-transform: none;
}

.footer-links a:hover {
  color: var(--rust);
}

.flag {
  position: relative;
  width: min(245px, 100%);
  height: 92px;
  margin: 4px 0 19px;
  opacity: 0.62;
  background: repeating-linear-gradient(
    to bottom,
    var(--cream) 0 7px,
    transparent 7px 14px
  );
}

.flag::before {
  position: absolute;
  top: 0;
  left: 0;
  width: 96px;
  height: 56px;
  content: "";
  background:
    radial-gradient(circle, var(--cream) 0 1px, transparent 1.5px) 0 0 / 15px 11px,
    var(--navy-soft);
}

.american p {
  margin: 0;
  color: #ded4c5;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.36;
  text-align: center;
}

.copyright {
  grid-column: 1 / -1;
  margin: 22px 0 0;
  color: rgba(242, 234, 220, 0.62);
  font-family: var(--body);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 5px;
  text-align: center;
  text-transform: uppercase;
}

.copyright span {
  margin: 0 20px;
}

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: auto 1fr auto;
    gap: 16px;
    min-height: 96px;
    padding-top: 18px;
  }

  .nav-toggle {
    display: flex;
    justify-self: end;
  }

  .site-nav {
    position: absolute;
    top: 78px;
    left: 24px;
    right: 24px;
    display: none;
    grid-column: 1 / -1;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 14px;
    border: 2px solid rgba(242, 234, 220, 0.26);
    background: rgba(6, 24, 37, 0.96);
  }

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

  .site-nav a {
    padding: 13px 8px;
    border-bottom: 1px solid rgba(242, 234, 220, 0.12);
  }

  .site-nav a:last-child {
    border-bottom: 0;
  }

  .header-cta {
    min-height: 42px;
    padding: 0 17px;
  }

  .hero {
    min-height: 680px;
  }

  .hero-copy {
    padding-top: 148px;
  }

  .hero::after {
    background:
      linear-gradient(90deg, rgba(6, 24, 37, 0.98) 0%, rgba(6, 24, 37, 0.88) 48%, rgba(6, 24, 37, 0.34) 100%),
      linear-gradient(180deg, rgba(6, 24, 37, 0.22), rgba(6, 24, 37, 0.42));
  }

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

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

  .services-copy {
    max-width: var(--max);
    justify-self: stretch;
  }

  .hard-work-card {
    max-width: 720px;
    justify-self: center;
  }

  .process-strip {
    grid-template-columns: 1fr;
  }

  .process-strip .button {
    width: fit-content;
  }

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

@media (max-width: 640px) {
  body {
    overflow-x: hidden;
  }

  .site-header {
    position: absolute;
    grid-template-columns: auto auto;
    padding-inline: 18px;
  }

  .brand {
    width: 128px;
  }

  .brand img {
    width: 128px;
    height: 84px;
  }

  .header-cta {
    grid-column: 1 / -1;
    width: fit-content;
    min-height: 40px;
  }

  .nav-toggle {
    grid-column: 2;
    grid-row: 1;
  }

  .site-nav {
    top: 70px;
    left: 18px;
    right: 18px;
  }

  .hero {
    min-height: 670px;
  }

  .hero::after {
    background:
      linear-gradient(180deg, rgba(6, 24, 37, 0.97) 0%, rgba(6, 24, 37, 0.9) 39%, rgba(6, 24, 37, 0.54) 100%),
      linear-gradient(90deg, rgba(6, 24, 37, 0.94), rgba(6, 24, 37, 0.28));
  }

  .hero-media img {
    object-position: 62% center;
  }

  .hero-copy {
    width: 100%;
    padding: 184px 22px 56px;
  }

  .eyebrow,
  .section-kicker {
    gap: 12px;
    font-size: 18px;
  }

  .eyebrow::before,
  .eyebrow::after,
  .section-kicker::before,
  .section-kicker::after {
    font-size: 14px;
  }

  .hero h1 {
    max-width: 100%;
    font-size: clamp(48px, 12.8vw, 58px);
  }

  .hero-copy p:not(.eyebrow) {
    max-width: 100%;
    font-size: 13px;
  }

  .work {
    padding-top: 30px;
    padding-inline: 18px;
  }

  .section-heading h2,
  .services h2 {
    max-width: 100%;
    font-size: clamp(38px, 10.8vw, 44px);
    line-height: 0.98;
  }

  .section-heading h2 {
    width: min(100%, 350px);
    margin-inline: auto;
  }

  .services {
    padding-inline: 18px;
  }

  .work-grid,
  .service-grid,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .service-item {
    grid-template-columns: 48px 1fr;
  }

  .hard-work-card {
    border-width: 5px;
  }

  .hard-work-card figcaption {
    left: 24px;
    bottom: 28px;
    font-size: clamp(34px, 11vw, 48px);
  }

  .process-strip {
    padding-inline: 24px;
  }

  .process-strip .button {
    width: 100%;
  }

  .copyright {
    letter-spacing: 2px;
    line-height: 1.8;
  }

  .copyright span {
    display: none;
  }
}
