/* Row X Row Ag: black, silver and white, taken from the logo */
:root {
  --black: #000000;
  --silver: #b7b7b7;
  --silver-dark: #8f8f8f;
  --steel: #5c5c5c;
  --ash: #ededed;
  --white: #ffffff;
  --font: "Archivo", "Arial Black", Arial, Helvetica, sans-serif;
  --wrap: 72rem;
  --rule: 6px;  /* the logo's silver outline, scaled for the page */
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--black);
  background: var(--white);
}

img, svg { display: block; max-width: 100%; }

a { color: var(--black); text-underline-offset: 0.2em; text-decoration-thickness: 2px; }
a:hover { color: var(--steel); }

:focus-visible { outline: 3px solid var(--silver-dark); outline-offset: 3px; }

h1, h2, h3 {
  font-weight: 800;
  font-stretch: 112%;
  line-height: 1.02;
  letter-spacing: -0.015em;
  margin: 0 0 0.5em;
}
h1 { font-size: clamp(2.6rem, 6vw, 4.9rem); }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.6rem); }
h3 { font-size: 1.4rem; margin-bottom: 0.35em; }

p { margin: 0 0 1em; max-width: 38em; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 1.5rem; }

.skip {
  position: absolute; left: -999px; top: 0; z-index: 10;
  background: var(--black); color: var(--white); padding: 0.6rem 1rem;
}
.skip:focus { left: 1rem; }

/* ---------- Header ---------- */
.site-header { background: var(--white); border-bottom: var(--rule) solid var(--silver); }
.site-header .wrap {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 0.75rem 2rem; padding-top: 0.75rem; padding-bottom: 0.75rem;
}
.brand { display: flex; align-items: center; gap: 0.8rem; text-decoration: none; color: var(--black); }
.brand img { width: 62px; height: auto; }
.brand-name { font-weight: 800; font-stretch: 112%; font-size: 1.35rem; line-height: 1.05; }
.brand-name small { display: block; font-weight: 500; font-stretch: 100%; font-size: 0.85rem; color: var(--steel); letter-spacing: 0; }

.site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 0.25rem 1.6rem; }
.site-nav a { text-decoration: none; font-weight: 600; padding: 0.3rem 0; border-bottom: 3px solid transparent; }
.site-nav a:hover { border-bottom-color: var(--silver); color: var(--black); }
.site-nav a[aria-current="page"] { border-bottom-color: var(--black); }
.site-nav .nav-call {
  background: var(--black); color: var(--white); border: 3px solid var(--silver);
  padding: 0.4rem 0.9rem; border-radius: 4px;
}
.site-nav .nav-call:hover { background: var(--steel); color: var(--white); border-color: var(--silver); }

/* ---------- Home hero ---------- */
.hero { background: var(--black); color: var(--white); overflow: hidden; border-bottom: var(--rule) solid var(--silver); }
.hero-inner { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); min-height: 33rem; }
.hero-copy { padding: 4.5rem 2.5rem 4.5rem 0; }
.hero-copy .lede { font-size: 1.2rem; color: #d6d6d6; max-width: 30em; }
.hero-field { position: relative; margin-right: calc((100vw - min(100vw, var(--wrap))) / -2 - 1.5rem); }
.hero-field svg { position: absolute; inset: 0; width: 100%; height: 100%; }

/* The field rows plant themselves once on load */
.row-line { stroke-dasharray: 1600; stroke-dashoffset: 1600; animation: plant 1.8s cubic-bezier(.3,.6,.2,1) forwards; }
@keyframes plant { to { stroke-dashoffset: 0; } }
@media (prefers-reduced-motion: reduce) { .row-line { animation: none; stroke-dashoffset: 0; } }

/* Phone blocks, outlined like the logo */
.callers { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2rem; }
.call {
  display: block; text-decoration: none; color: var(--white); background: var(--black);
  border: var(--rule) solid var(--silver); border-radius: 4px;
  padding: 0.75rem 1.2rem 0.85rem; min-width: 15.5rem;
}
.call:hover { background: var(--white); color: var(--black); }
.call-name { display: block; font-size: 0.95rem; font-weight: 600; }
.call-number { display: block; font-weight: 800; font-stretch: 112%; font-size: 1.9rem; line-height: 1.1; }

/* ---------- Sections ---------- */
.section { padding: 5rem 0; }
.section-ash { background: var(--ash); }
.intro { max-width: 40rem; margin-bottom: 2.5rem; }
.intro p { font-size: 1.15rem; color: var(--steel); }

.services { list-style: none; margin: 0; padding: 0; display: grid; gap: 2.25rem; }
.services > li {
  display: grid; grid-template-columns: minmax(12rem, 17rem) minmax(0, 1fr); gap: 0.5rem 2.5rem;
  padding-left: 1.25rem; border-left: var(--rule) solid var(--black);
}
.services h3 { margin: 0; }
.services p { margin: 0 0 0.5rem; }
.services ul { margin: 0.5rem 0 0; padding-left: 1.2rem; }
.services ul li { margin-bottom: 0.3rem; }

.base { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 3rem; align-items: start; }
.panel { background: var(--white); border: var(--rule) solid var(--silver); padding: 1.75rem 2rem; }
.panel address { font-style: normal; font-size: 1.15rem; margin-bottom: 1rem; }
.panel h2 { font-size: 1.8rem; }

/* Driver band */
.hiring { background: var(--black); color: var(--white); border-top: var(--rule) solid var(--silver); border-bottom: var(--rule) solid var(--silver); }
.hiring .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.5rem 3rem; padding-top: 3rem; padding-bottom: 3rem; }
.hiring h2 { margin-bottom: 0.2em; }
.hiring p { margin: 0; color: #d6d6d6; }

/* Buttons */
.btn {
  display: inline-block; font: inherit; font-weight: 700; font-size: 1.05rem; text-decoration: none;
  background: var(--black); color: var(--white); border: 3px solid var(--black); border-radius: 4px;
  padding: 0.8rem 1.5rem; cursor: pointer;
}
.btn:hover { background: var(--steel); border-color: var(--steel); color: var(--white); }
.btn-light { background: var(--white); color: var(--black); border-color: var(--silver); }
.btn-light:hover { background: var(--silver); border-color: var(--silver); color: var(--black); }

/* ---------- Inner page hero ---------- */
.page-hero { background: var(--black); color: var(--white); position: relative; overflow: hidden; border-bottom: var(--rule) solid var(--silver); }
.page-hero .wrap { position: relative; z-index: 1; padding-top: 3.5rem; padding-bottom: 3.25rem; }
.page-hero h1 { font-size: clamp(2.4rem, 5vw, 3.9rem); margin-bottom: 0.3em; }
.page-hero p { color: #d6d6d6; font-size: 1.15rem; margin: 0; }
.page-hero-rows { position: absolute; top: 0; right: 0; bottom: 0; width: 50%; opacity: 0.55;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 60%); mask-image: linear-gradient(to right, transparent, #000 60%); }
.page-hero-rows svg { width: 100%; height: 100%; }

/* ---------- Forms ---------- */
.form-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 3.5rem; align-items: start; }
form { max-width: 40rem; }
.field { margin-bottom: 1.25rem; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
label, legend { display: block; font-weight: 700; margin-bottom: 0.35rem; }
.hint { font-weight: 400; color: var(--steel); font-size: 0.95rem; }
input[type="text"], input[type="tel"], input[type="email"], select, textarea {
  width: 100%; font: inherit; color: var(--black); background: var(--white);
  border: 2px solid var(--silver-dark); border-radius: 4px; padding: 0.65rem 0.75rem;
}
input:focus, select:focus, textarea:focus { border-color: var(--black); outline: 3px solid var(--silver); outline-offset: 1px; }
textarea { min-height: 8rem; resize: vertical; }
fieldset { border: 0; padding: 0; margin: 0 0 1.25rem; }
.checks { display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem; }
.checks label { font-weight: 400; display: flex; align-items: center; gap: 0.45rem; margin: 0; }
.checks input { width: 1.15rem; height: 1.15rem; accent-color: var(--black); }
.bot-field { position: absolute; left: -9999px; }

.panel .call { color: var(--black); background: var(--white); border-color: var(--silver); margin-bottom: 0.9rem; min-width: 0; }
.panel .call:hover { background: var(--black); color: var(--white); }
.checklist { padding-left: 1.2rem; margin: 0 0 1.5rem; }
.checklist li { margin-bottom: 0.4rem; }

/* ---------- Footer ---------- */
.site-footer { background: var(--black); color: #cfcfcf; padding: 3.5rem 0 2rem; font-size: 0.98rem; border-top: var(--rule) solid var(--silver); }
.site-footer a { color: var(--white); }
.site-footer a:hover { color: var(--silver); }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 2rem; margin-bottom: 2.5rem; }
.footer-grid h2 { font-size: 1.2rem; color: var(--white); margin-bottom: 0.6rem; }
.footer-grid address { font-style: normal; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; }
.footer-grid li { margin-bottom: 0.35rem; }
.footer-brand { display: flex; align-items: center; gap: 1rem; margin-bottom: 1rem; }
.footer-brand img { width: 72px; }
.footer-base { max-width: none; border-top: 1px solid #333; padding-top: 1.25rem; font-size: 0.9rem; }

/* ---------- Small screens ---------- */
@media (max-width: 860px) {
  .hero-inner { grid-template-columns: 1fr; min-height: 0; }
  .hero-field { order: -1; height: 10rem; margin: 0 -1.5rem; }
  .hero-copy { padding: 2.5rem 0 3.5rem; }
  .services > li { grid-template-columns: 1fr; }
  .base, .form-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-grid { grid-template-columns: 1fr; }
  .page-hero-rows { width: 100%; opacity: 0.2; }
}
@media (max-width: 560px) {
  .site-header .wrap { justify-content: center; }
  .brand-name small { display: none; }
  .site-nav ul { justify-content: center; gap: 0.25rem 1.1rem; }
  .field-row { grid-template-columns: 1fr; gap: 0; }
  .call { min-width: 0; width: 100%; }
  .section { padding: 3.5rem 0; }
}
