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

@font-face {
  font-family: "DM Sans";
  src: url("assets/dm-sans.ttf") format("truetype");
  font-weight: 100 1000;
  font-display: swap;
}

:root {
  --forest: #142622;
  --amber: #ffc34d;
  --ivory: #faf5e9;
  --sage: #c6d2c9;
  --paper: #fffdf7;
  --muted: #4a5d54;
  --line: #d5dace;
  --heading: "Barlow Condensed", "Arial Narrow", sans-serif;
  --body: "DM Sans", system-ui, sans-serif;
  --frame: min(1260px, calc(100% - 104px));
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--forest); background: var(--ivory); font: 400 16px/1.55 var(--body); }
img { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; }
a { color: inherit; }
p, h1, h2, h3, figure { margin: 0; }
h1, h2, h3, .form-title { font-family: var(--heading); font-weight: 700; line-height: .98; }
h2 { font-size: clamp(2.9rem, 5.2vw, 4.75rem); letter-spacing: -.025em; }
h3 { font-size: clamp(2rem, 3.4vw, 2.7rem); letter-spacing: -.014em; }
:focus-visible { outline: 3px solid #376759; outline-offset: 4px; }
.site-header :focus-visible, .hero :focus-visible, .how-section :focus-visible, .site-footer :focus-visible { outline-color: var(--amber); }
.frame { width: var(--frame); margin-inline: auto; }
.content-section { padding-block: 82px 92px; }
.skip-link { position: fixed; z-index: 5; top: 6px; left: 6px; padding: 8px 14px; background: var(--amber); transform: translateY(-150%); }
.skip-link:focus { transform: none; }

.preview-note {
  padding: 5px 16px 6px;
  background: var(--sage);
  color: var(--forest);
  font-size: .76rem;
  font-weight: 650;
  text-align: center;
}
.preview-note span { padding-inline: .25em; }
.site-header { background: var(--forest); color: var(--ivory); border-bottom: 1px solid rgb(198 210 201 / 19%); }
.header-inner { min-height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; gap: 10px; flex: none; align-items: center; font: 700 1.9rem/.9 var(--heading); text-decoration: none; }
.brand img { width: 39px; height: 39px; }
.brand strong { color: var(--amber); }
nav { display: flex; align-items: center; gap: clamp(16px, 2.7vw, 38px); }
nav a { padding-block: 8px; color: var(--sage); text-decoration: none; font-size: .94rem; font-weight: 650; white-space: nowrap; }
nav a:hover { color: var(--ivory); text-decoration: underline; text-underline-offset: 5px; }

.hero {
  overflow: hidden;
  color: var(--ivory);
  background: linear-gradient(114deg, var(--forest) 66%, #20342f 66%);
}
.hero-inner { display: grid; grid-template-columns: minmax(0, .87fr) minmax(0, 1.13fr); gap: clamp(26px, 4vw, 62px); align-items: center; padding-block: 72px 76px; }
.section-label { display: flex; align-items: center; gap: 12px; color: var(--sage); font-size: .81rem; font-weight: 700; text-transform: uppercase; letter-spacing: .14em; }
.section-label::before { content: ""; width: 27px; height: 3px; background: var(--amber); flex: none; }
h1 { margin-block: 23px 20px; font-size: clamp(3.6rem, 5.75vw, 5.7rem); letter-spacing: -.025em; }
h1 em { display: block; color: var(--amber); font-style: normal; }
.hero-location { color: var(--sage); font-size: clamp(.91rem, 1.4vw, 1.07rem); }
.hero-location > span[aria-hidden] { display: inline-block; padding-inline: 5px; }
.actions, .form-actions, .receipt-actions { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.actions { margin-top: 29px; }
.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 13px;
  min-height: 49px;
  padding: 10px 16px;
  border: 1px solid transparent;
  border-radius: 3px;
  cursor: pointer;
  font-size: .88rem;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
}
.button > span { font-size: 1rem; }
.button-small { min-height: 43px; }
.button-amber { color: var(--forest); background: var(--amber); }
.button-amber:hover { background: #ffce69; }
.button-outline { color: var(--ivory); border-color: #789287; background: transparent; }
.button-outline:hover { border-color: var(--ivory); background: rgb(198 210 201 / 10%); }
.button-dark { color: var(--ivory); background: var(--forest); }
.button-dark:hover { background: #28453c; }

.hero-photo { position: relative; min-width: 0; }
.hero-photo::before {
  position: absolute;
  content: "";
  width: 44px;
  height: 35px;
  top: -9px;
  right: -9px;
  border-top: 2px solid var(--amber);
  border-right: 2px solid var(--amber);
  pointer-events: none;
}
.hero-photo img { width: 100%; height: auto; aspect-ratio: 2.1; object-fit: contain; background: #253731; }
.hero-photo figcaption { margin-top: 8px; text-align: right; color: var(--sage); font-size: .74rem; }

.section-intro { display: grid; grid-template-columns: 1fr minmax(270px, 385px); align-items: end; gap: 20px 42px; margin-bottom: 28px; }
.section-intro > p, .request-intro > p { color: var(--muted); }
.fleet-grid, .how-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 23px; }
.trailer-card { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: 4px; overflow: hidden; background: var(--paper); }
.card-photo { width: 100%; height: auto; aspect-ratio: 1.9; object-fit: cover; background: var(--sage); }
.card-body { display: flex; flex: 1; flex-direction: column; align-items: start; padding: 25px 27px 29px; }
.card-body > p { margin-top: 13px; color: var(--muted); }
.card-body p.rate { color: var(--forest); font-weight: 650; }
.text-link { display: inline-flex; align-items: center; gap: 8px; font-size: .93rem; font-weight: 700; text-underline-offset: 4px; }
.text-link:hover { text-decoration-thickness: 2px; }
.text-link > span { text-decoration: none; }
.card-body .text-link { margin-top: auto; padding-top: 21px; }

.how-section { background: var(--forest); color: var(--ivory); }
.how-section .content-section { padding-block: 73px 79px; }
.how-grid { margin-top: 33px; }
.how-card { align-self: start; padding: 22px 24px 0 0; border-top: 1px solid #5b7267; }
.how-card h3 { color: var(--ivory); }
.how-card p { max-width: 46ch; margin-top: 16px; color: var(--sage); }
.how-card .text-link { margin-top: 22px; color: var(--amber); }

.request-section { display: grid; grid-template-columns: minmax(0, .72fr) minmax(0, 1.28fr); gap: clamp(30px, 6vw, 92px); align-items: start; }
.request-intro { padding-top: 10px; }
.request-intro > p { max-width: 38ch; margin-top: 19px; }
.request-intro > .testing-copy { font-size: .92rem; }
.form-card { min-width: 0; overflow: hidden; border: 1px solid var(--line); border-radius: 4px; background: var(--paper); }
.form-tabs { display: grid; grid-template-columns: 1fr 1fr; border-bottom: 1px solid var(--line); background: #eeefe5; }
.form-tabs button {
  position: relative;
  padding: 14px 10px;
  border: none;
  cursor: pointer;
  color: var(--muted);
  background: transparent;
  font-weight: 700;
  font-size: .92rem;
}
.form-tabs button:hover { color: var(--forest); background: #f5f3e8; }
.form-tabs button[aria-selected="true"] { color: var(--forest); background: var(--paper); }
.form-tabs button[aria-selected="true"]::after { position: absolute; content: ""; left: 0; right: 0; bottom: 0; height: 3px; background: var(--amber); }
.form-tabs button:focus-visible { outline-offset: -5px; z-index: 1; }
.request-panel { padding: clamp(18px, 3.8vw, 34px); }
.form-noscript { padding: 12px 20px; }
fieldset { display: grid; gap: 14px; min-width: 0; margin: 0; padding: 0; border: 0; }
legend { width: 100%; padding: 0; margin: 0 0 24px; font-size: clamp(2rem, 3.5vw, 2.65rem); }
.field-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.schedule-point { display: grid; min-width: 0; gap: 10px; }
.field { display: flex; flex-direction: column; min-width: 0; gap: 5px; }
.field label { font-size: .87rem; font-weight: 700; }
.optional { color: var(--muted); font-weight: 400; }
.field :is(input, select, textarea) {
  width: 100%;
  min-width: 0;
  min-height: 45px;
  padding: 8px 10px;
  color: var(--forest);
  background: #fffefa;
  border: 1px solid #768778;
  border-radius: 3px;
  font-size: 1rem;
}
.contact-strip { padding: 7px 18px; text-align: center; background: var(--sage); font-size: .9rem; font-weight: 650; }
.contact-strip a { text-underline-offset: 3px; }
.contact-options { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.contact-text { border-color: var(--forest); }
.privacy-note { font-size: .9rem; }
.form-error { padding: 12px; margin-bottom: 16px; background: #fff0d1; border-left: 3px solid #965019; color: #5a2d10; }
.bot-field { position: absolute; height: 1px; width: 1px; overflow: hidden; clip-path: inset(50%); }
.receipt-reference { font-weight: 650; }
.footer-contact > a { display: block; margin-bottom: 8px; text-underline-offset: 4px; }
.footer-bottom { display: flex; justify-content: space-between; border-top: 1px solid #5b7267; padding-block: 15px; font-size: .9rem; color: var(--sage); }
.privacy-section { padding-block: 45px 55px; max-width: 900px; }
.privacy-section h2 { font-size: 2.5rem; }
.privacy-section p { margin-top: 15px; color: var(--muted); }
.field select { appearance: none; padding-right: 32px; background-image: linear-gradient(45deg, transparent 50%, var(--forest) 50%), linear-gradient(135deg, var(--forest) 50%, transparent 50%); background-position: calc(100% - 18px) 19px, calc(100% - 13px) 19px; background-size: 5px 5px; background-repeat: no-repeat; }
fieldset:disabled { opacity: .75; }
.field textarea { resize: vertical; }
.field :is(input, textarea)::placeholder { color: #596961; }
.field :is(input, select, textarea):focus { outline: 2px solid #376759; outline-offset: 1px; }
.field-note { margin-block: -6px 0; color: var(--muted); font-size: .81rem; }
.form-actions { margin-top: 3px; }
.quiet-button { border: 0; padding: 8px 2px; cursor: pointer; color: var(--forest); background: transparent; font-size: .88rem; font-weight: 700; text-decoration: underline; text-underline-offset: 4px; }
.quiet-button:hover { color: #376759; }
.receipt { padding-block: 10px; }
.receipt p { margin-block: 14px 20px; color: var(--muted); }

.test-requests { margin-top: 26px; padding-block: 12px; border-block: 1px solid #b9c5b6; max-width: 450px; }
.test-requests summary { cursor: pointer; font-weight: 700; font-size: .94rem; }
#test-count { margin-left: 6px; padding: 1px 8px; background: var(--sage); border-radius: 1em; font-size: .78rem; }
.test-requests-body { padding-top: 10px; font-size: .88rem; }
#test-list { padding: 0; margin: 0; list-style: none; }
#test-list li { padding-block: 8px 11px; border-bottom: 1px solid #d9ded1; }
.request-detail > summary { font-size: .88rem; }
.request-detail dl { margin: 9px 0 0; }
.request-detail dt { font-weight: 650; }
.request-detail dd { margin: 0 0 6px; white-space: pre-wrap; overflow-wrap: anywhere; color: var(--muted); }

.site-footer { background: var(--forest); color: var(--ivory); }
.footer-inner { display: grid; grid-template-columns: 1fr auto; gap: 25px 45px; padding-block: 50px 57px; }
.footer-inner h2 { font-size: clamp(2rem, 4vw, 3.1rem); }
.footer-inner p { max-width: 53ch; margin-top: 12px; color: var(--sage); }
.footer-contact { align-self: end; text-align: right; color: var(--sage); font-size: .9rem; }
.footer-contact p { margin: 0; color: var(--ivory); font-weight: 700; }
.footer-contact > span { display: block; margin-top: 7px; }

@media (max-width: 1040px) {
  :root { --frame: calc(100% - 72px); }
  .hero-inner { gap: 30px; }
  .desktop-break { display: none; }
  .hero .button { padding-inline: 12px; }
}

@media (max-width: 760px) {
  :root { --frame: calc(100% - 44px); }
  .header-inner { min-height: 66px; gap: 14px; }
  .brand { font-size: 1.65rem; gap: 6px; }
  .brand img { width: 32px; height: 32px; }
  nav { gap: 15px; }
  nav a { font-size: .83rem; }
  .header-action { display: none; }
  .hero-inner { grid-template-columns: 1fr; padding-block: 43px 37px; gap: 35px; }
  h1 { font-size: clamp(3.5rem, 9vw, 5.1rem); margin-block: 17px 16px; }
  h1 em { max-width: 10ch; }
  .hero-photo figcaption { font-size: .71rem; }
  .content-section, .how-section .content-section { padding-block: 52px 60px; }
  .section-intro { grid-template-columns: 1fr; gap: 13px; }
  .fleet-grid, .how-grid, .request-section { grid-template-columns: 1fr; }
  .how-grid { gap: 30px; }
  .request-section { gap: 25px; }
  .request-intro { padding-top: 0; }
  .footer-inner { grid-template-columns: 1fr; }
  .footer-contact { text-align: left; }
}

@media (max-width: 440px) {
  :root { --frame: calc(100% - 36px); }
  .header-inner { flex-wrap: wrap; gap: 12px; padding-block: 12px; }
  .brand { font-size: 1.49rem; }
  .brand img { width: 29px; height: 29px; }
  nav { width: 100%; justify-content: space-between; gap: 10px; }
  nav a { font-size: .9rem; }
  .actions { gap: 8px; }
  .hero .button { gap: 6px; font-size: .8rem; }
  .field-row { grid-template-columns: 1fr; }
}

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