@font-face {
  font-family: Inter;
  src: url("assets/inter-variable.woff2") format("woff2");
  font-weight: 400 700;
  font-display: swap;
}

@font-face {
  font-family: "Barlow Condensed";
  src: url("assets/barlow-condensed-bold.woff2") format("woff2");
  font-weight: 700;
  font-display: swap;
}

:root {
  --navy: #101e24;
  --navy-deep: #0b171c;
  --cream: #f7f5ef;
  --white: #fffdf8;
  --ink: #142329;
  --muted: #526168;
  --line: #d9dfda;
  --gold: #f5b634;
  --body: Inter, Arial, sans-serif;
  --display: "Barlow Condensed", "Arial Narrow", Impact, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--cream); color: var(--ink); font: 400 1rem/1.6 var(--body); }
h1, h2, h3, p { margin: 0; }
h1, h2 { font-family: var(--display); font-weight: 700; line-height: .96; letter-spacing: -.018em; }
h2 { font-size: clamp(2.9rem, 5.2vw, 4.6rem); }
a { color: inherit; }
button, input, select, textarea { font: inherit; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 2px solid #34768d;
  outline-offset: 3px;
}
[hidden] { display: none !important; }

.container { width: min(100% - 100px, 1240px); margin-inline: auto; }
.skip-link {
  position: absolute;
  top: 6px;
  left: 8px;
  z-index: 4;
  transform: translateY(-130%);
  padding: .5rem .8rem;
  background: var(--white);
}
.skip-link:focus { transform: none; }
.site-header { background: var(--navy); color: var(--white); border-bottom: 1px solid #2b3a40; }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 76px; }
.brand { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; white-space: nowrap; font: 700 1.68rem/1 var(--display); letter-spacing: .065em; }
.brand-mark { display: inline-block; flex: 0 0 auto; position: relative; width: 23px; height: 26px; }
.brand-mark::before, .brand-mark::after {
  content: "";
  position: absolute;
  top: 1px;
  left: 9px;
  width: 5px;
  height: 24px;
  background: var(--gold);
  transform: skewX(-33deg);
}
.brand-mark::after { transform: skewX(33deg); }
.main-nav { display: flex; gap: clamp(22px, 3vw, 45px); color: #e4eaec; font-size: .9rem; }
.main-nav a { text-decoration: none; }
.main-nav a:hover, .text-link:hover { text-decoration: underline; text-underline-offset: 5px; }
.site-header :focus-visible, .hero :focus-visible, .site-footer :focus-visible { outline-color: var(--gold); }
.header-actions { display: flex; align-items: center; gap: 16px; }
.phone-link { display: inline-flex; align-items: center; min-height: 44px; font-weight: 700; white-space: nowrap; text-underline-offset: 4px; }
.header-phone { color: #ffd27b; font-size: .85rem; text-decoration: none; }
.header-phone:hover { text-decoration: underline; }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 13px;
  min-height: 46px;
  padding: 10px 16px;
  border: 1px solid transparent;
  border-radius: 4px;
  font-size: .9rem;
  font-weight: 700;
  line-height: 1.35;
  text-decoration: none;
  cursor: pointer;
}
.button-arrow {
  position: relative;
  flex: 0 0 12px;
  width: 12px;
  height: 12px;
  transform: rotate(-45deg);
}
.button-arrow::before {
  content: "";
  position: absolute;
  top: 5px;
  left: 0;
  width: 11px;
  border-top: 2px solid currentColor;
}
.button-arrow::after {
  content: "";
  position: absolute;
  top: 3px;
  right: 1px;
  width: 5px;
  height: 5px;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
  transform: rotate(45deg);
}
.button-outline { border-color: #657378; color: var(--white); }
.button-outline:hover { background: #23353d; border-color: #a3afb1; }
.button-primary { background: var(--gold); color: #172027; padding-inline: 19px; }
.button-primary:hover { background: #ffd16d; }
.button:disabled { cursor: default; opacity: .65; }

.hero { position: relative; isolation: isolate; overflow: hidden; background: var(--navy-deep); color: var(--white); }
.hero-image { position: absolute; z-index: -2; top: 0; right: 0; width: 76%; height: 100%; object-fit: cover; object-position: 58% 45%; }
.hero::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background: linear-gradient(90deg, #0b171c 0%, #0b171c 20%, rgba(11, 23, 28, .93) 33%, rgba(11, 23, 28, .63) 54%, rgba(11, 23, 28, .13) 79%),
              linear-gradient(0deg, rgba(11, 23, 28, .34), transparent 60%);
}
.hero-inner { display: flex; align-items: center; min-height: 550px; padding-block: 62px 78px; }
.hero-copy { max-width: 770px; }
.eyebrow { display: flex; align-items: center; gap: 11px; color: #ffd27b; font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .17em; }
.eyebrow span { display: block; width: 26px; height: 1px; background: currentColor; }
h1 { margin-top: 20px; font-size: clamp(3.75rem, 7.5vw, 7.4rem); }
h1 em { color: #ffc14b; font-style: normal; }
.hero-intro { max-width: 465px; margin-top: 25px; color: #e0e7e8; font-size: clamp(.98rem, 1.3vw, 1.14rem); }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 26px; margin-top: 30px; }
.hero-actions .button { min-height: 51px; }
.text-link { font-size: .9rem; font-weight: 600; text-decoration: none; }
.text-link span { margin-left: 5px; color: #ffc14b; }

.section { padding-block: 74px; scroll-margin-top: 20px; }
.section-head { display: grid; grid-template-columns: 1.15fr 1fr; align-items: end; gap: 24px 50px; margin-bottom: 32px; }
.section-head p { justify-self: end; max-width: 370px; color: var(--muted); }
.service-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 15px; }
.service-card { min-height: 184px; padding: 25px 26px 28px; background: var(--white); border: 1px solid #e0e1d8; border-radius: 5px; }
.service-marker { display: block; width: 24px; height: 3px; margin-bottom: 15px; background: #d28f18; }
.service-card h3, .steps h3 { font-size: 1.16rem; line-height: 1.25; letter-spacing: -.026em; }
.service-card p, .steps p { margin-top: 8px; color: var(--muted); font-size: .94rem; line-height: 1.6; }
.service-card p strong { color: var(--ink); }

.section.supplier-services { padding-block-start: 0; }
.supplier-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.supplier-link {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: .9rem;
  font-weight: 700;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}
.supplier-link:hover { color: #34768d; }

.process { background: #e9eeea; border-block: 1px solid #dde4de; }
.process-inner { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 24px 50px; }
.steps { list-style: none; margin: 0; padding: 0; }
.steps li { display: flex; gap: 17px; align-items: flex-start; padding: 18px 0; border-top: 1px solid #cbd5cf; }
.steps li:last-child { border-bottom: 1px solid #cbd5cf; }
.step-number { flex: 0 0 31px; display: grid; place-items: center; height: 31px; margin-top: 1px; border: 1px solid #aabdb3; border-radius: 50%; color: #355248; font-size: .85rem; font-weight: 700; }

.quote { background: var(--white); }
.quote-inner { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 32px 50px; align-items: start; }
.quote-copy > p { max-width: 365px; margin-top: 17px; color: var(--muted); }
.quote-phone { color: var(--ink); }
.quote-phone:hover { color: #34768d; }
.quote-copy .quote-notice { margin-top: 24px; padding-left: 12px; border-left: 2px solid #d28f18; font-size: .85rem; }
.quote-form { min-width: 0; padding: 25px; background: var(--cream); border: 1px solid #e0e1d8; border-radius: 5px; }
.form-help { color: var(--muted); font-size: .81rem; }
.fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 15px 13px; margin-top: 13px; }
.quote-fields, .freight-fields { min-width: 0; padding: 0; border: 0; margin-inline: 0; }
.freight-fields { margin-block: 0; }
.field { display: grid; min-width: 0; gap: 4px; align-content: start; }
.field-full { grid-column: 1 / -1; }
.field label { font-size: .84rem; font-weight: 600; }
.field input, .field select, .field textarea {
  width: 100%;
  min-width: 0;
  min-height: 44px;
  padding: 8px 10px;
  color: var(--ink);
  background: #fff;
  border: 1px solid #adb9b5;
  border-radius: 4px;
  font-size: .95rem;
}
.field input[type="date"] { appearance: none; }
.field textarea { display: block; resize: vertical; }
.field ::placeholder { color: #5a666b; opacity: 1; }
.form-submit { margin-top: 16px; }
.quote-result { margin-top: 20px; padding: 15px; border: 1px solid #cbd5cf; background: #e9eeea; border-radius: 4px; font-size: .94rem; }
.quote-result[data-state="error"] { border-color: #d9b5a1; background: #fcf0e9; color: #752c19; }

.site-footer { padding-block: 24px; background: var(--navy); color: var(--white); }
.footer-inner { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 13px 24px; }
.footer-brand { display: flex; gap: 10px; align-items: center; }
.footer-brand strong, .footer-brand div span { display: block; }
.footer-brand strong { font-size: .95rem; }
.footer-brand div span, .photo-credit { color: #c5d1d2; font-size: .78rem; }

@media (max-width: 1020px) {
  .container { width: min(100% - 64px, 1240px); }
  .hero-inner { min-height: 510px; }
  .hero-image { width: 86%; }
  .hero::before {
    background: linear-gradient(90deg, #0b171c 5%, rgba(11, 23, 28, .94) 23%, rgba(11, 23, 28, .73) 51%, rgba(11, 23, 28, .17) 100%);
  }
  .section { padding-block: 58px; }
  .supplier-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 940px) {
  .main-nav { display: none; }
}

@media (max-width: 760px) {
  .container { width: calc(100% - 44px); }
  .header-inner { min-height: 68px; gap: 12px; }
  .brand { gap: 8px; font-size: 1.46rem; }
  .button-outline { min-height: 40px; padding: 7px 10px; gap: 7px; font-size: .79rem; }
  .hero-image { width: 100%; object-position: 55% 34%; }
  .hero::before {
    background: linear-gradient(90deg, rgba(11, 23, 28, .94), rgba(11, 23, 28, .66) 75%, rgba(11, 23, 28, .38)),
                linear-gradient(0deg, rgba(11, 23, 28, .6), transparent 70%);
  }
  .hero-inner { min-height: 470px; padding-block: 53px; }
  h1 { font-size: clamp(3.25rem, 10.3vw, 5.5rem); }
  .hero-intro { margin-top: 18px; }
  .hero-actions { margin-top: 24px; }
  .section { padding-block: 44px; }
  .section-head, .process-inner, .quote-inner { grid-template-columns: 1fr; gap: 15px; }
  .section-head { margin-bottom: 23px; }
  .section-head p, .supplier-link { justify-self: start; }
  .service-grid { grid-template-columns: 1fr; }
  .service-card { min-height: auto; padding: 18px 20px 21px; }
  .service-marker { margin-bottom: 10px; }
  .quote-inner { gap: 22px; }
}

@media (max-width: 500px) {
  .header-inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas: "brand quote" "phone quote";
    gap: 2px 10px;
    padding-block: 10px;
  }
  .header-inner .brand { grid-area: brand; justify-self: start; font-size: 1.35rem; }
  .header-actions { display: contents; }
  .header-phone { grid-area: phone; justify-self: start; min-height: 32px; font-size: .8rem; }
  .header-actions .button-outline { grid-area: quote; min-height: 44px; }
}

@media (max-width: 430px) {
  .container { width: calc(100% - 34px); }
  .hero-break { display: none; }
  .hero-actions { gap: 15px; }
  .hero-actions .button { padding-inline: 12px; }
  .quote-form { padding: 16px; }
  .fields { grid-template-columns: 1fr; }
  .field input, .field select, .field textarea { font-size: 1rem; }
}

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