@font-face {
  font-family: "Barlow Semi Condensed";
  src: url("/assets/barlow-semi-condensed-800.woff2") format("woff2");
  font-style: normal;
  font-weight: 800;
  font-display: swap;
}

:root {
  color-scheme: light;
  --ink: #102143;
  --muted: #435574;
  --navy: #0b1831;
  --deep-blue: #11234e;
  --truck-blue: #1a3170;
  --door-silver: #b4b4b8;
  --silver: #d6e0ed;
  --pale: #eef3f9;
  --edge: #d1dce9;
  --white: #fff;
  --body-font: "Avenir Next", "Segoe UI", Arial, sans-serif;
  --heading-font: "Barlow Semi Condensed", "Arial Narrow", "Avenir Next Condensed", var(--body-font);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font: 1rem/1.58 var(--body-font);
}
img { display: block; max-width: 100%; }
a { color: inherit; }
button, input, textarea { font: inherit; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid #417bed; outline-offset: 4px; }
section[id] { scroll-margin-top: 6rem; }
.wrap { width: min(100% - 3.75rem, 75rem); margin-inline: auto; }
.skip-link {
  position: absolute;
  z-index: 3;
  inset: .75rem auto auto .75rem;
  padding: .6rem 1rem;
  color: var(--navy);
  background: var(--white);
  transform: translateY(-180%);
}
.skip-link:focus { transform: none; }

h1, h2, h3, p, figure { margin: 0; }
h1, h2 {
  font-family: var(--heading-font);
  font-weight: 800;
  line-height: .96;
}
h2 { font-size: clamp(2.8rem, 5.5vw, 5.2rem); letter-spacing: -.025em; }
h3 { font-size: 1.22rem; line-height: 1.22; }
p { text-wrap: pretty; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 2;
  background: var(--navy);
  color: var(--white);
  border-bottom: 1px solid #33476c;
}
.header-inner {
  min-height: 5.15rem;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 2rem;
}
.brand { justify-self: start; display: inline-flex; align-items: center; }
.brand img { width: clamp(7rem, 13vw, 10rem); height: auto; }
nav { display: flex; gap: clamp(1rem, 3vw, 2.8rem); white-space: nowrap; }
nav a { color: var(--silver); font-size: .95rem; font-weight: 600; text-decoration: none; }
nav a:hover { color: var(--white); text-decoration: underline; text-underline-offset: .35em; }

.button {
  display: inline-flex;
  width: fit-content;
  min-height: 3rem;
  align-items: center;
  justify-content: center;
  padding: .63rem 1.12rem;
  border: 1px solid transparent;
  border-radius: .3rem;
  font-weight: 750;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: color .16s, background-color .16s, border-color .16s;
}
.button-header { justify-self: end; background: #1e376e; color: var(--white); border-color: #59709a; white-space: nowrap; }
.button-header:hover { background: #2d4b86; }
.button-silver { background: var(--silver); color: #102143; }
.button-silver:hover { background: var(--white); }
.button-outline { color: var(--white); border-color: #a8bbd9; background: #0b193b55; }
.button-outline:hover { background: #263f76; border-color: var(--white); }

.hero {
  position: relative;
  display: grid;
  align-items: end;
  min-height: clamp(34rem, 48vw, 44rem);
  background: #102449;
  isolation: isolate;
  overflow: hidden;
  color: var(--white);
}
.hero-image {
  position: absolute;
  z-index: -1;
  inset: 0 0 0 auto;
  width: min(71%, 85rem);
  display: grid;
  align-items: center;
}
.hero-image picture { display: block; position: relative; }
.hero-image img { width: 100%; height: auto; }
.hero-image picture::after {
  position: absolute;
  content: "";
  inset: 0;
  background: linear-gradient(90deg, #102449 0%, #102449dc 16%, #10244940 41%, transparent 61%),
    linear-gradient(180deg, #102449 0%, transparent 14%, transparent 84%, #102449 100%);
}
.hero::after {
  position: absolute;
  content: "";
  inset: auto 0 1.1rem 0;
  height: 6px;
  background: linear-gradient(98deg, #f3f7ffe0, #8eacd0aa 43%, #8eacd000 72%);
  clip-path: polygon(0 0, 100% 52%, 0 100%);
  pointer-events: none;
}
.hero-inner { padding-block: clamp(4rem, 11vw, 8rem) clamp(4rem, 9vw, 6.5rem); }
.eyebrow {
  display: flex;
  align-items: center;
  gap: .64rem;
  color: #425b86;
  font-size: .885rem;
  font-weight: 750;
  line-height: 1.3;
  letter-spacing: .105em;
  text-transform: uppercase;
}
.eyebrow span {
  flex: 0 0 1.9rem;
  height: .19rem;
  background: linear-gradient(90deg,#6986b0,#a6bbd3);
  clip-path: polygon(0 0,100% 39%,100% 61%,0 100%);
}
.hero .eyebrow, .quote .eyebrow { color: #dbe5f5; }
.hero h1 { margin-top: 1.03rem; font-size: clamp(4rem, 8.3vw, 8rem); letter-spacing: -.027em; }
.hero-copy { max-width: 35rem; margin-top: 1.32rem; color: #edf3fc; font-size: clamp(1.02rem, 1.6vw, 1.22rem); }
.actions { margin-top: 1.7rem; display: flex; flex-wrap: wrap; gap: .7rem; }

.proof { background: #e6edf7; border-bottom: 1px solid #d1dce9; }
.proof-inner { display: grid; grid-template-columns: repeat(3, 1fr); }
.proof p { padding: 1.4rem clamp(1rem, 4vw, 3.5rem); border-left: 1px solid #cbd9eb; line-height: 1.32; }
.proof p:first-child { border: 0; padding-left: 0; }
.proof strong { display: block; color: #142a53; font-size: clamp(1.12rem, 2.1vw, 1.65rem); line-height: 1.2; }
.proof span { display: block; margin-top: .27rem; color: #4c5c74; font-size: .94rem; }

.section { padding-block: clamp(3.4rem, 7.5vw, 6.5rem); }
.section h2 { margin-top: .7rem; }
.section-intro > p:last-child, .coverage h2 + p, .quote h2 + p { margin-top: 1.15rem; }
.section-split { display: grid; grid-template-columns: minmax(14rem, .8fr) minmax(0, 1.4fr); gap: clamp(2rem, 8vw, 7rem); }
.section-intro > p:last-child { max-width: 24rem; color: var(--muted); }
.service-list { border-top: 1px solid var(--edge); }
.service-list article { position: relative; padding: 1.1rem .25rem 1.14rem 1.32rem; border-bottom: 1px solid var(--edge); }
.service-list article::before {
  position: absolute;
  content: "";
  width: 1.01rem;
  height: .52rem;
  top: 1.32rem;
  left: .01rem;
  border-bottom: .18rem solid #5a7eac;
  border-radius: 0 0 85% 68%;
  transform: rotate(-28deg);
}
.service-list p { margin-top: .29rem; color: var(--muted); }

.work { background: var(--pale); }
.work-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 1.25rem; margin-top: 2rem; }
.work figure { background: var(--white); border: 1px solid var(--edge); border-radius: .36rem; overflow: hidden; }
.work figcaption { padding: 1rem 1.05rem 1.2rem; }
.work figcaption strong { display: block; font-size: 1.1rem; line-height: 1.25; }
.work figcaption span { display: block; margin-top: .33rem; color: var(--muted); }

.coverage-inner { display: grid; grid-template-columns: 1.05fr .95fr; align-items: start; gap: clamp(2rem,8vw,6rem); }
.coverage h2 { max-width: 37rem; }
.coverage h2 + p { max-width: 33rem; color: var(--muted); }
.route-card { border-left: 4px solid #839fca; padding: 1.35rem 1.5rem; background: var(--pale); border-radius: .23rem; }
.route-card ul { margin: .75rem 0 0; list-style: none; padding: 0; }
.route-card li { padding: .68rem 0; border-top: 1px solid var(--edge); line-height: 1.35; }
.route-card span { display: block; margin-top: .14rem; color: var(--muted); font-size: .94rem; }

.quote {
  color-scheme: dark;
  color: var(--white);
  background-color: var(--deep-blue);
  background-image: linear-gradient(159deg, transparent 73%, #a8bcd01b 73.12%, transparent 74.3%),
    linear-gradient(159deg, transparent 77%, #a8bcd031 77.2%, transparent 79%),
    linear-gradient(159deg, #234480 0%, var(--deep-blue) 50%, var(--navy) 100%);
}
.quote-inner { display: grid; grid-template-columns: .94fr 1.06fr; gap: clamp(2rem, 7vw, 6rem); align-items: start; }
.quote h2 + p { margin-bottom: 1.3rem; color: #ebf1fa; max-width: 31rem; }
.quote-contact { display: grid; gap: .55rem; max-width: 31rem; margin-top: 1.3rem; }
.quote-contact a {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: .16rem .8rem;
  padding: .68rem .85rem .72rem 1rem;
  color: var(--white);
  background: #a8bfeb19;
  border-left: 3px solid #b8cae3;
  border-radius: .28rem;
  text-decoration: none;
  box-shadow: 0 3px 9px #07142a24;
}
.quote-contact a:hover { background: #b7cdf630; }
.quote-contact a:focus-visible { outline-color: #d7e6ff; }
.quote-contact span { color: #d6e3f6; font-size: .84rem; font-weight: 650; grid-column: 1; }
.quote-contact strong { font-size: 1.025rem; line-height: 1.35; grid-column: 1; overflow-wrap: anywhere; }
.quote-contact a::after {
  content: "";
  align-self: center;
  grid-area: 1 / 2 / span 2 / 3;
  width: .5rem;
  height: .5rem;
  border-top: 2px solid #a9bfdc;
  border-right: 2px solid #a9bfdc;
  transform: rotate(45deg);
}
form { padding: clamp(1rem,3vw,1.7rem); border: 1px solid #7188ac; border-radius: .4rem; background: #0b1730e0; }
.fields { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: .8rem; margin-bottom: .8rem; }
label { display: block; font-size: .95rem; font-weight: 650; color: #eef4ff; }
label span { font-weight: 450; color: #c5d4eb; }
input, textarea {
  display: block;
  width: 100%;
  min-height: 2.85rem;
  margin-top: .27rem;
  padding: .56rem .65rem;
  border: 1px solid #8ca0be;
  border-radius: .23rem;
  background: #122448;
  color: var(--white);
}
textarea { resize: vertical; }
textarea::placeholder { color: #c8d7ef; opacity: 1; }
.form-end { display: flex; gap: .8rem; align-items: center; flex-wrap: wrap; margin-top: .9rem; }
.form-status { font-size: .9rem; color: #dce6f7; }
.form-status:not(:empty) { margin-top: .7rem; }
.footer { background: #08152b; color: #d5e1f5; padding-block: 1.6rem; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 1.2rem; }
.footer strong { color: var(--white); }
.footer address { font-style: normal; }
.footer a { text-underline-offset: .22em; }

@media (max-width: 860px) {
  .header-inner { gap: 1rem; }
  nav { gap: 1rem; }
  .work-grid { gap: .8rem; }
  .section-split, .coverage-inner, .quote-inner { gap: 2rem; }
}
@media (max-width: 760px) {
  .wrap { width: calc(100% - 2.3rem); }
  .site-header { position: relative; }
  section[id] { scroll-margin-top: 1rem; }
  .header-inner { min-height: 4.35rem; grid-template-columns: 1fr auto; }
  nav { display: none; }
  .button-header { min-height: 2.65rem; padding-inline: .8rem; }
  .hero { min-height: 0; align-items: start; }
  .hero-image { position: relative; inset: auto; width: 100%; grid-area: 2 / 1; }
  .hero-image picture::after { background: linear-gradient(180deg, #102449, transparent 23%); }
  .hero-inner { grid-area: 1 / 1; padding-block: 2.9rem .9rem; }
  .hero h1 { font-size: clamp(3.25rem, 11.5vw, 5.7rem); margin-top: .7rem; }
  .hero-copy { margin-top: .85rem; max-width: 32rem; }
  .actions { margin-top: 1.15rem; }
  .proof p { padding: .9rem .52rem .9rem .63rem; }
  .proof strong { font-size: clamp(.97rem,3.4vw,1.25rem); }
  .proof span { font-size: .8rem; }
  .section-split, .coverage-inner, .quote-inner { grid-template-columns: minmax(0,1fr); gap: 1.5rem; }
  .work-grid { grid-template-columns: minmax(0,1fr); gap: 1rem; margin-top: 1.25rem; }
  .section { padding-block: 3.2rem; }
  .footer-inner { align-items: flex-start; flex-wrap: wrap; }
}
@media (max-width: 375px) {
  .fields { grid-template-columns: 1fr; }
  .hero .button { padding-inline: .8rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}

/* Shared navigation and credit */
:root {
  --button-shadow: 0 2px 5px #080f291d, 0 1px 2px #080f2916;
  --credit-height: 2.55rem;
}
body { padding-bottom: calc(var(--credit-height) + env(safe-area-inset-bottom, 0px)); }
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: #102450;
  border: 0;
  box-shadow: 0 4px 13px #070f2726;
}
.brand img { width: clamp(7.1rem, 14vw, 10.6rem); }
.mobile-gallery { display: none; }
.footer {
  position: fixed;
  z-index: 9;
  inset: auto 0 0;
  background: #102450;
  padding: 0 0 env(safe-area-inset-bottom, 0px);
  box-shadow: 0 -3px 12px #080f261b;
}
.footer-inner {
  min-height: var(--credit-height);
  align-items: center;
  flex-wrap: nowrap;
  gap: .45rem;
  font-size: .82rem;
}
.footer-credit { display: inline-flex; align-items: center; gap: .35rem; text-decoration: none; white-space: nowrap; }
.footer-credit img { width: 1.28rem; height: 1.28rem; padding: 2px; border-radius: .16rem; background: #1a3170; }
.footer-credit:hover { text-decoration: underline; }
.button { border: 0; box-shadow: var(--button-shadow); }
.button-header { background: #e0e9f9; color: #12244e; }
.button-header:hover { background: #fff; color: #12244e; }
.button-contrast { background: #385993; color: #fff; }
.button-contrast:hover { background: #466baa; }
.button-blue { background: #1c3976; color: #fff; }
.button-blue:hover { background: #2c4b88; }
.button:disabled { opacity: .72; cursor: progress; }

/* Selected freight photos and photo library */
.work-navigation { display: flex; flex-wrap: wrap; align-items: center; gap: .65rem; margin-top: 1.2rem; }
.work-navigation button { min-height: 2.6rem; padding: .45rem .82rem; }
.work-navigation a { margin-left: auto; }
.work-grid.photo-rail {
  display: grid;
  grid-auto-flow: column;
  grid-template-columns: none;
  grid-auto-columns: calc((100% - 2.5rem) / 3);
  padding: .12rem .12rem .75rem;
  scroll-snap-type: x mandatory;
  overflow-x: auto;
  scrollbar-color: #7791ba #d9e4f2;
}
.photo-rail figure { scroll-snap-align: start; }
.photo-rail a { display: block; text-decoration: none; }
.photo-frame {
  display: block;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  aspect-ratio: 2.15;
  background: #142644;
}
.photo-frame::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: -.8rem;
  background: var(--photo-backdrop) center / cover no-repeat;
  filter: blur(.75rem) brightness(.67) saturate(.85);
}
.photo-frame img { width: 100%; height: 100%; object-fit: contain; }
.photo-rail a:hover img { opacity: .94; }
.photo-collections { padding-block: clamp(3rem, 7vw, 5.5rem); background: #dfe9f6; }
.collections-heading { display: flex; align-items: end; justify-content: space-between; gap: 1rem; margin-bottom: 1.5rem; }
.collections-heading h2 { margin-top: .58rem; }
.album-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: .9rem; }
.album-tile { display: block; border-radius: .38rem; overflow: hidden; background: var(--navy); color: white; text-decoration: none; box-shadow: var(--button-shadow); }
.album-tile-label { display: flex; padding: .74rem .9rem; min-height: 3.35rem; align-items: center; font-weight: 720; line-height: 1.2; }
.album-tile:hover .album-tile-label { background: #254175; }
.gallery-mast { color: var(--white); padding-block: clamp(3rem, 7vw, 5rem); background: linear-gradient(152deg,#234581,#10234c 73%); }
.gallery-return { margin-bottom: 1.3rem; }
.gallery-mast .eyebrow { color: var(--silver); }
.gallery-mast h1 { font-size: clamp(3.7rem, 8vw, 6.5rem); margin: .65rem 0; }
.gallery-mast p:last-child { max-width: 44rem; }
.gallery-jump { margin-top: 1.5rem; display: flex; flex-wrap: wrap; gap: .6rem; }
.gallery-jump a { background: #e6edf7; color: #102450; font-size: .9rem; min-height: 2.55rem; }
.gallery-section { scroll-margin-top: 6.7rem; padding-block: 2.2rem 2.75rem; }
.gallery-section:nth-of-type(odd) { background: var(--pale); }
.gallery-section-head { display: flex; justify-content: space-between; gap: .7rem; align-items: center; margin: 0 0 1.05rem; }
.gallery-section h2 { font-size: clamp(2rem, 5vw, 3.4rem); }
.photo-library { columns: 4; column-gap: .8rem; }
.photo-library a {
  display: block;
  break-inside: avoid;
  margin-bottom: .8rem;
  background: #122643;
  border-radius: .32rem;
  overflow: hidden;
}
.photo-library a:hover img { opacity: .9; }
.photo-library a:focus-visible { outline-offset: -3px; }
.photo-library img { width: 100%; height: auto; }
.gallery-contact { background: #102450; color: var(--white); padding: 2.5rem 0; }
.gallery-contact .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.gallery-contact h2 { font-size: clamp(2rem, 5vw, 4rem); }
.gallery-contact-actions { display: flex; flex-wrap: wrap; gap: .65rem; }
.pswp__button--tbh-play {
  color: white;
  font: 650 .875rem/1.2 Arial,sans-serif;
  width: auto;
  padding: 0 .75rem;
  text-shadow: none;
}
.pswp__tbh-caption {
  position: absolute; left: 50%; transform: translateX(-50%); bottom: 1rem; width: max-content; max-width: calc(100% - 2rem);
  padding: .55rem .8rem; border-radius: .25rem; color: white; background: #0b1625db;
  font: 500 .9rem/1.45 var(--body-font); text-align: center; pointer-events: none;
}

/* Quote fields and verification */
.quote-address { margin-top: 1.08rem; font-style: normal; color: var(--silver); }
.facebook-link {
  display: inline-flex; align-items: center; gap: .75rem; margin-top: 1rem; padding: .48rem .7rem; border-radius: .32rem;
  background: #fff; color: #1b2943; text-decoration: none; font: 700 .9rem/1.42 var(--body-font);
}
.facebook-link img { width: 24px; height: 24px; object-fit: contain; }
.facebook-link:hover { text-decoration: underline; text-underline-offset: .2em; }
.quote form {
  color-scheme: light;
  color: var(--ink);
  background: linear-gradient(100deg, #a3b6d0, #dae6f3 48%, #b9cde7) top / 100% .24rem no-repeat #f4f7fc;
  border: 0;
  box-shadow: 0 8px 24px #0817302b;
}
.quote label { color: #162b52; }
.quote input, .quote textarea { background: #fff; color: #14284d; border-color: #bccade; }
.quote textarea::placeholder { color: #576a8b; }
.wide-field { grid-column: 1 / -1; }
.quote .form-status { color: #364d72; }
.quote .form-status[data-state="error"] { color: #8c233a; }
@media (max-width: 860px) {
  .work-grid.photo-rail { grid-auto-columns: calc((100% - .8rem) / 2); }
  .photo-library { columns: 3; }
}
@media (max-width: 760px) {
  .site-header { position: sticky; }
  .header-inner { grid-template-columns: 1fr auto auto; gap: .55rem; }
  .brand img { width: clamp(5.9rem,25vw,8rem); }
  .mobile-gallery { display: inline-flex; color: #e6edf9; padding: .5rem .32rem; font-weight: 650; font-size: .88rem; text-decoration: none; }
  .button-header { font-size: .9rem; padding-inline: .55rem; }
  .work-grid.photo-rail { grid-auto-columns: 87%; }
  .work-navigation a { margin-left: 0; }
  .collections-heading { align-items: start; flex-direction: column; }
  .album-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .photo-library { columns: 2; }
  .gallery-section { scroll-margin-top: 5.15rem; }
  .gallery-section-head, .gallery-contact .wrap { align-items: flex-start; flex-wrap: wrap; }
  section[id] { scroll-margin-top: 5.1rem; }
  .footer-inner { font-size: .73rem; }
}
