.trust-ticker {
  border-color: var(--brand-navy);
  background: var(--brand-gold);
  color: var(--brand-navy);
}

.trust-ticker b {
  color: var(--brand-navy);
}

.credibility {
  display: block;
  padding-block: clamp(64px, 8vw, 110px);
  background: var(--brand-card);
}

.credibility h3 {
  max-width: 18ch;
  font-size: clamp(36px, 5.5vw, 76px);
  line-height: 1;
  letter-spacing: -.045em;
}

.proof-points div {
  border-left-color: var(--brand-blue);
  font-size: 16px;
}

.proof-points b {
  color: var(--brand-blue);
}

.split-section {
  background: var(--brand-cream);
}

.problem b {
  color: var(--brand-blue);
}

.workflows,
.dark {
  background: var(--brand-navy);
}

.dark .eyebrow {
  color: var(--brand-gold);
}

.workflow-grid {
  gap: 1px;
  background: var(--brand-navy);
}

.workflow,
.workflow:nth-child(2),
.workflow:first-child {
  background: var(--brand-navy);
  color: white;
  min-height: 360px;
  border: 1px solid rgb(255 255 255 / 14%);
  isolation: isolate;
}

.workflow:nth-child(2) {
  background: var(--brand-navy);
}

.workflow:nth-child(3) {
  background: var(--brand-navy);
}

.workflow::before,
.workflow::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.workflow::before {
  z-index: 0;
  background-position: center;
  background-size: cover;
  opacity: .96;
  transition: transform .55s ease;
}

.workflow::after {
  z-index: 0;
  background:
    linear-gradient(180deg, rgb(2 20 57 / 26%) 0%, rgb(2 20 57 / 32%) 42%, rgb(2 20 57 / 88%) 100%),
    linear-gradient(90deg, rgb(2 20 57 / 78%) 0%, rgb(2 20 57 / 34%) 66%, rgb(2 20 57 / 52%) 100%);
}

.workflow:nth-child(1)::before {
  background-image: url("assets/brand/derived/workflow-quote.webp");
}

.workflow:nth-child(2)::before {
  background-image: url("assets/brand/derived/workflow-exception.webp");
  background-position: 60% center;
}

.workflow:nth-child(3)::before {
  background-image: url("assets/brand/derived/workflow-customer.webp");
  background-position: 62% center;
}

.workflow:hover::before {
  transform: scale(1.04);
}

.workflow h3 {
  max-width: 11ch;
  font-size: clamp(30px, 2.7vw, 40px);
  line-height: 1.02;
  z-index: 1;
}

.workflow p,
.workflow:first-child p {
  color: rgb(255 255 255 / 72%);
  max-width: 26ch;
  font-size: 16px;
  line-height: 1.45;
  z-index: 1;
}

.workflow .number {
  z-index: 1;
}

.process-step .status {
  color: var(--brand-blue);
}

.interface-section {
  background: #e4e9f2;
}

.interface {
  border-radius: var(--radius);
  background: var(--brand-card);
  box-shadow: 13px 13px 0 var(--brand-blue);
}

.interface-source {
  background: var(--brand-cream);
}

.fake-tag {
  border-radius: 5px;
}

.approval {
  border-radius: var(--radius);
  background: var(--brand-gold);
  box-shadow: 5px 5px 0 var(--brand-navy);
}

.logo-cloud div {
  border-radius: var(--radius);
  background: var(--brand-card);
}

.logo-cloud div::after {
  color: var(--brand-gold);
}

.control-section {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background: var(--brand-navy);
}

.control-story {
  max-width: 52ch;
  margin-top: 18px;
  color: rgb(255 255 255 / 74%);
}

.control-graphic {
  position: relative;
  margin: clamp(42px, 6vw, 72px) calc(clamp(20px, 8vw, 130px) * -1) 0;
  border: 0;
  border-radius: 0;
  overflow: hidden;
  background: transparent;
  box-shadow: none;
}

.control-graphic::after {
  display: none;
}

.control-graphic-video,
.control-graphic-poster {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.control-graphic-video {
  position: relative;
  z-index: 0;
  background: var(--brand-navy);
}

.control-graphic-poster {
  position: absolute;
  inset: 0;
  z-index: -1;
  visibility: hidden;
}

.control-graphic {
  min-width: 0;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.faq-item button {
  color: var(--brand-navy);
}

.cta-band {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: var(--brand-blue);
  color: white;
}

.cta-band::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background: url("assets/brand/derived/cta-motion.webp") center / cover;
  opacity: .55;
}

.cta-band::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    url("assets/brand/derived/grain-overlay.svg"),
    linear-gradient(90deg, rgb(2 20 57 / 92%), rgb(2 20 57 / 38%));
  background-size: 160px 160px, auto;
  background-repeat: repeat, no-repeat;
  background-blend-mode: soft-light, normal;
}

.cta-band .button {
  background: white;
  color: var(--brand-navy);
  border: 1px solid rgb(255 255 255 / 72%);
  box-shadow: 0 10px 24px rgb(2 20 57 / 18%);
}

.page-hero {
  padding: 100px var(--gutter) 72px;
  background: var(--brand-cream);
}

.page-hero h1 {
  max-width: 11ch;
  color: var(--brand-navy);
  font-size: clamp(52px, 7.2vw, 102px);
  font-weight: 400;
}

.company-statement {
  background: var(--brand-navy);
}

.company-statement em {
  color: var(--brand-gold);
}

.case-card {
  border-radius: var(--radius);
}

.case-card h2 {
  overflow-wrap: normal;
  word-break: normal;
}

.workflow h3 {
  max-width: 11ch;
  font-size: clamp(30px, 2.7vw, 40px);
  line-height: 1.02;
  overflow-wrap: normal;
  word-break: normal;
}

.case-card:nth-child(1) {
  background: var(--brand-blue);
  color: white;
}

.case-card:nth-child(2) {
  background: var(--brand-gold);
}

.case-card:nth-child(3) {
  background: var(--brand-card);
}

.case-card:nth-child(4) {
  background: #e4e9f2;
}

.case-card::before {
  border-color: currentColor;
  opacity: .25;
}

.value {
  border-color: var(--brand-navy);
}

.contact-form,
.contact-direct {
  border-radius: var(--radius);
  background: var(--brand-navy);
}

.contact-form .eyebrow,
.contact-direct .eyebrow {
  color: var(--brand-gold);
}

.contact-form .button {
  background: var(--brand-gold);
}

.contact-form a.whatsapp-button {
  display: block;
  width: 100%;
  margin-top: 10px;
  background: transparent;
  color: white;
  border: 1px solid rgb(255 255 255 / 48%);
  text-align: center;
}

.contact-form a.whatsapp-button:hover {
  background: rgb(255 255 255 / 12%);
  color: white;
  border-color: white;
}

.field input:focus,
.field textarea:focus,
.field select:focus {
  border-bottom-color: var(--brand-gold);
}

.site-footer {
  background: var(--brand-navy);
}

.site-footer .brand {
  width: 148px;
}

.site-footer p,
.footer-bottom {
  color: rgb(255 255 255 / 65%);
}

.footer-links small {
  color: var(--brand-gold);
}

.site-footer .footer-links a {
  color: white;
}

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

  .trust-ticker div,
  .reveal {
    animation: none;
    transition: none;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }

  .control-graphic-video {
    display: none;
  }

  .control-graphic-poster {
    position: relative;
    inset: auto;
    z-index: 0;
    visibility: visible;
  }
}

@media (max-width: 1180px) {
  .workflow-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .workflow:first-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 900px) {
  .workflow-grid {
    grid-template-columns: minmax(0, 1fr);
  }

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

  .control-grid article {
    min-width: 0;
  }

  .workflow:first-child {
    grid-column: auto;
  }

  .case-card:nth-child(3) {
    grid-column: span 6;
  }

  .case-card:nth-child(4) {
    grid-column: span 6;
  }

  .case-card h2 {
    font-size: 34px;
  }

  .hero.freight-hero {
    min-height: auto;
    grid-template-columns: 1fr;
    padding-top: 124px;
  }

  .hero-proof {
    width: min(100%, 580px);
    justify-self: start;
  }

  .hero-signal {
    display: none;
  }
}

@media (max-width: 760px) {
  .site-header {
    height: 68px;
  }

  .brand {
    width: 112px;
  }

  .site-header.hero-mode .menu-button {
    color: white;
  }

  .site-header.hero-mode.menu-open {
    background: var(--brand-cream);
  }

  .site-header.hero-mode.menu-open .brand-logo-dark {
    display: block;
  }

  .site-header.hero-mode.menu-open .brand-logo-light {
    display: none;
  }

  .site-header.hero-mode.menu-open .menu-button,
  .site-header.hero-mode.menu-open .main-nav a {
    color: var(--brand-navy);
  }

  .main-nav {
    border-bottom: 1px solid var(--line);
  }

  .main-nav a {
    display: flex;
    min-height: 44px;
    align-items: center;
  }

  .contact-wrap-first {
    grid-template-columns: minmax(0, 1fr);
    padding-top: 52px;
  }

  .contact-wrap-first .contact-form,
  .contact-wrap-first .contact-aside {
    grid-column: auto;
    grid-row: auto;
  }

  .contact-wrap-first .contact-aside h1 {
    max-width: 12ch;
    font-size: clamp(42px, 12vw, 62px);
  }

  .contact-wrap-first .contact-aside h2 {
    margin-top: 52px;
    font-size: clamp(30px, 9vw, 42px);
  }

  .hero.freight-hero {
    gap: 42px;
    padding: 112px 20px 86px;
  }

  .hero.freight-hero::before {
    background-image: url("assets/brand/derived/hero-motion-mobile.webp");
    background-position: center;
  }

  .hero.freight-hero::after {
    background:
      url("assets/brand/derived/grain-overlay.svg"),
      linear-gradient(180deg, rgb(2 20 57 / 89%) 0%, rgb(2 20 57 / 68%) 55%, rgb(2 20 57 / 92%) 100%);
    background-size: 160px 160px, auto;
    background-repeat: repeat, no-repeat;
    background-blend-mode: soft-light, normal;
  }

  .freight-hero h1 {
    max-width: 13ch;
    font-size: clamp(43px, 13vw, 64px);
    line-height: 1;
  }

  .hero-actions {
    align-items: flex-start;
    flex-direction: column;
  }

  .hero-proof {
    padding: 14px 14px 112px;
  }

  .proof-card {
    grid-template-columns: 1fr;
    padding: 16px;
  }

  .proof-tags {
    justify-content: flex-start;
  }

  .review-dock {
    width: calc(100% - 48px);
  }

  .cta-band {
    padding-block: 76px;
  }

  .site-footer .brand {
    width: 130px;
  }

  .case-card h2 {
    font-size: clamp(27px, 9vw, 34px);
  }

  .footer-links a {
    display: flex;
    min-height: 44px;
    align-items: center;
  }
}
