.contact-page {
  --contact-ink: #102332;
  --contact-paper: #f7f7f3;
  --contact-accent: #ff682b;
  --contact-line: #cbd0cc;
  --contact-muted: #536169;
  color: var(--contact-ink);
  background: var(--contact-paper);
  font-family: "Barlow", Arial, sans-serif;
}
.contact-layout {
  width: min(1280px, 88%);
  margin-inline: auto;
  padding-block: clamp(3rem, 6vw, 6.5rem);
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(0, 1.28fr);
  align-items: start;
  gap: clamp(3rem, 6.5vw, 7.75rem);
}
.contact-page :is(h1, h2) {
  font-family: "Barlow Condensed", "Arial Narrow", sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  margin: 0;
}
.contact-page h1 {
  font-size: clamp(4rem, 6.9vw, 7.2rem);
  line-height: .91;
  letter-spacing: -.028em;
}
.contact-page h1 span { color: var(--contact-accent); }
.contact-lede {
  max-width: 43ch;
  margin: 22px 0 32px;
  font-size: clamp(1.05rem, 1.45vw, 1.25rem);
  line-height: 1.55;
  color: var(--contact-muted);
}
.dispatch-panel {
  max-width: 455px;
  overflow: hidden;
  background: var(--contact-ink);
  color: #fff;
}
.dispatch-image { height: clamp(75px, 8vw, 125px); overflow: hidden; }
.dispatch-image img { width: 100%; height: 100%; object-fit: cover; object-position: center 52%; display: block; }
.dispatch-body { padding: clamp(1.35rem, 2.25vw, 2rem); }
.dispatch-body h2 { font-size: 1.8rem; line-height: 1; }
.dispatch-person { margin: 8px 0 0; color: #c5ced3; font-size: 1rem; line-height: 1.5; }
.dispatch-methods { list-style: none; margin: 19px 0 0; padding: 0; }
.dispatch-methods li {
  display: flex;
  align-items: flex-start;
  gap: 13px;
  padding: 11px 0;
  border-top: 1px solid #38505b;
  font-size: 1rem;
  line-height: 1.45;
}
.dispatch-methods li:last-child { padding-bottom: 0; }
.dispatch-methods li > svg {
  width: 18px;
  height: 18px;
  margin-top: 3px;
  flex: 0 0 18px;
  fill: none;
  stroke: var(--contact-accent);
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.dispatch-methods a { color: #fff; text-decoration: none; }
.dispatch-methods a:hover { text-decoration: underline; text-underline-offset: 4px; }
.dispatch-methods .dispatch-text { display: inline-block; margin-left: 15px; color: #ffc7aa; font-size: .86rem; text-decoration: underline; text-underline-offset: 3px; }
.quote-sheet {
  min-width: 0;
  scroll-margin-top: 6rem;
  border: 1px solid var(--contact-line);
  border-top: 4px solid var(--contact-accent);
  padding: clamp(1.5rem, 3.3vw, 3.25rem);
  background: white;
}
.quote-sheet h2 { font-size: clamp(2.15rem, 3.2vw, 3.15rem); line-height: .98; letter-spacing: -.015em; }
.quote-instructions { margin: 13px 0 28px; color: var(--contact-muted); font-size: .96rem; line-height: 1.5; }
.quote-instructions a { color: var(--contact-ink); text-decoration: underline; text-underline-offset: 3px; }
.quote-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 21px 16px; }
.quote-wide { grid-column: 1/-1; }
.quote-sheet label { display: block; font-size: .96rem; line-height: 1.3; font-weight: 600; }
.quote-sheet :is(input, textarea, select) {
  display: block;
  box-sizing: border-box;
  width: 100%;
  min-width: 0;
  border: 1px solid #aeb8b6;
  border-radius: 0;
  background: white;
  color: var(--contact-ink);
  padding: 12px;
  margin-top: 7px;
  font: 400 1rem/1.35 "Barlow", Arial, sans-serif;
}
.quote-sheet :is(input, select) { min-height: 47px; }
.quote-sheet :is(input, textarea)::placeholder { color: #687477; opacity: 1; }
.quote-sheet select { padding-right: 26px; }
.quote-sheet textarea { resize: vertical; min-height: 90px; }
.contact-page :is(a, button, input, select, textarea):focus-visible {
  outline: 3px solid #b63d00;
  outline-offset: 3px;
}
.dispatch-panel a:focus-visible { outline-color: #ffa174; }
.quote-submit { margin-top: 26px; }
.quote-primary, .quote-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  min-height: 48px;
  border: 1px solid transparent;
  padding: 12px 19px;
  font: 700 1rem/1.25 "Barlow", Arial, sans-serif;
  text-decoration: none;
  cursor: pointer;
}
.quote-primary { background: var(--contact-accent); color: var(--contact-ink); }
.quote-primary:hover { background: #ff804a; }
.quote-primary svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.quote-secondary { background: white; color: var(--contact-ink); border-color: var(--contact-ink); }
.quote-secondary:hover { background: var(--contact-paper); }
.quote-submit p, .quote-feedback { margin: 12px 0 0; color: var(--contact-muted); font-size: .9rem; line-height: 1.45; }
.quote-sheet [hidden] { display: none !important; }
.quote-draft-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.quote-edit { padding: 0; margin: 15px 0 0; border: 0; color: var(--contact-ink); background: none; text-decoration: underline; text-underline-offset: 4px; font: 600 .95rem/1.5 "Barlow", Arial, sans-serif; cursor: pointer; }
.quote-edit:hover { color: #a73b0f; }
@media (max-width: 900px) {
  .contact-layout { width: 92%; gap: 25px; grid-template-columns: minmax(0,.74fr) minmax(0,1.26fr); }
  .quote-sheet { padding: 23px; }
}
@media (max-width: 720px) {
  .contact-layout { width: min(90%, 560px); grid-template-columns: minmax(0, 1fr); gap: 0; padding-block: 40px; }
  .contact-info { display: contents; }
  .contact-page h1 { font-size: clamp(3.4rem, 11vw, 4.8rem); }
  .contact-page h1 br { display: none; }
  .contact-lede { margin: 18px 0 24px; }
  .quote-sheet { grid-row: 3; padding: 22px; }
  .dispatch-panel { grid-row: 4; margin-top: 25px; max-width: none; }
}
@media (max-width: 460px) {
  .quote-grid { grid-template-columns: minmax(0, 1fr); gap: 17px; }
  .quote-sheet { padding: 20px 17px; }
  .quote-primary { width: 100%; }
}
