/* ==========================================================================
   Chemilogistics
   Refined industrial interface for a single-page freight coordination site.
   Light-only palette, accessible contrast, responsive layouts, and crisp
   operational details without decorative clutter.
   ========================================================================== */

:root {
  --ink: #151b1f;
  --ink-2: #20282e;
  --ink-3: #303a41;
  --paper: #fbfaf7;
  --paper-2: #f3efe7;
  --paper-3: #e8e1d5;
  --white: #ffffff;
  --line: #ddd5c8;
  --line-strong: #c7bbab;
  --line-dark: rgba(255, 255, 255, 0.16);
  --text: #171d21;
  --text-soft: #3a444b;
  --muted: #68747c;
  --muted-dark: #bbc6ce;
  --signal: #c44a1c;
  --signal-2: #963713;
  --signal-soft: #fff0e8;
  --teal: #16736a;
  --teal-soft: #e5f2ef;
  --ok-bg: #e6f4e9;
  --ok-text: #1c6f3a;
  --err-bg: #fff0ec;
  --err-text: #a93419;
  --shadow-sm: 0 10px 28px rgba(21, 27, 31, 0.08);
  --shadow-md: 0 22px 60px rgba(21, 27, 31, 0.14);
  --r: 8px;
  --shell: 1180px;
  --display: "Archivo", "Segoe UI", Arial, sans-serif;
  --body: "IBM Plex Sans", "Segoe UI", Arial, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, "Cascadia Mono", Consolas, monospace;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background:
    linear-gradient(90deg, rgba(21, 27, 31, 0.035) 1px, transparent 1px) 0 0 / 72px 72px,
    var(--paper);
  color: var(--text);
  font-family: var(--body);
  font-size: 16.5px;
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

p {
  margin: 0 0 1.1em;
}

a {
  color: inherit;
  text-decoration: none;
}

h1,
h2,
h3 {
  margin: 0 0 0.5em;
  color: var(--text);
  font-family: var(--display);
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.08;
  text-wrap: balance;
}

h1 {
  font-size: 4.55rem;
  max-width: 10.8ch;
}

h2 {
  font-size: 2.85rem;
}

h3 {
  font-size: 1.12rem;
  line-height: 1.2;
}

.shell {
  width: 100%;
  max-width: var(--shell);
  margin: 0 auto;
  padding: 0 32px;
}

.shell-narrow {
  max-width: 780px;
}

section[id] {
  scroll-margin-top: 104px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 200;
  background: var(--ink);
  color: var(--white);
  padding: 12px 18px;
  font-size: 14px;
}

.skip-link:focus {
  left: 16px;
  top: 16px;
}

:focus-visible {
  outline: 2px solid var(--signal);
  outline-offset: 3px;
}

.icon {
  width: 20px;
  height: 20px;
  flex: none;
}

.icon-lg {
  width: 26px;
  height: 26px;
}

.label {
  margin: 0 0 18px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: uppercase;
}

.label-signal {
  color: var(--signal);
}

.fineprint {
  margin: 0;
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.65;
}

.hazard-rule {
  height: 4px;
  background: repeating-linear-gradient(
    -45deg,
    var(--signal) 0 12px,
    var(--ink) 12px 24px
  );
}

/* ============================== Buttons ============================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  gap: 9px;
  padding: 12px 20px;
  border: 1px solid transparent;
  border-radius: var(--r);
  font-family: var(--body);
  font-size: 14.5px;
  font-weight: 600;
  letter-spacing: 0;
  cursor: pointer;
  transition:
    background-color 0.18s ease,
    border-color 0.18s ease,
    box-shadow 0.18s ease,
    color 0.18s ease,
    transform 0.18s ease;
}

.btn .icon {
  width: 17px;
  height: 17px;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-signal {
  background: var(--signal);
  color: var(--white);
  box-shadow: 0 10px 22px rgba(196, 74, 28, 0.23);
}

.btn-signal:hover {
  background: var(--signal-2);
  box-shadow: 0 14px 28px rgba(150, 55, 19, 0.25);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.28);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.46);
}

.btn-lg {
  min-height: 52px;
  padding: 15px 25px;
  font-size: 15.5px;
}

.btn-block {
  width: 100%;
}

.inline-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--signal);
  font-size: 15px;
  font-weight: 600;
  border-bottom: 1px solid currentColor;
  padding-bottom: 2px;
}

.inline-link .icon {
  width: 16px;
  height: 16px;
}

.inline-link:hover {
  color: var(--signal-2);
}

/* ============================ Utility bar ============================ */
.utility-bar {
  background: var(--ink);
  color: var(--muted-dark);
  font-size: 12.5px;
}

.utility-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 38px;
}

.utility-note {
  font-family: var(--mono);
  letter-spacing: 0;
}

.utility-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--white);
  font-weight: 600;
}

.utility-link .icon {
  width: 15px;
  height: 15px;
  color: #ff7b45;
}

.utility-link:hover {
  color: #ffb293;
}

/* ============================== Masthead ============================= */
.masthead {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(251, 250, 247, 0.94);
  border-bottom: 1px solid rgba(221, 213, 200, 0.85);
  box-shadow: 0 10px 28px rgba(21, 27, 31, 0.06);
  backdrop-filter: blur(14px);
}

.masthead-inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 78px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 13px;
  min-width: 0;
}

.brand-mark svg {
  border-radius: var(--r);
  box-shadow: 0 8px 18px rgba(21, 27, 31, 0.14);
}

.brand-words {
  display: flex;
  flex-direction: column;
  min-width: 0;
  line-height: 1.15;
}

.brand-name {
  color: var(--text);
  font-family: var(--display);
  font-size: 21px;
  font-weight: 700;
  letter-spacing: 0;
  white-space: nowrap;
}

.brand-desc {
  margin-top: 3px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0;
  text-transform: uppercase;
  white-space: nowrap;
}

.primary-nav {
  display: flex;
  align-items: center;
  gap: 26px;
}

.primary-nav a:not(.btn) {
  position: relative;
  color: var(--text-soft);
  font-size: 15px;
  font-weight: 600;
  padding: 9px 0;
}

.primary-nav a:not(.btn)::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 3px;
  height: 2px;
  background: var(--signal);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.18s ease;
}

.primary-nav a:not(.btn):hover {
  color: var(--text);
}

.primary-nav a:not(.btn):hover::after {
  transform: scaleX(1);
}

.nav-cta {
  min-height: 42px;
  padding: 10px 18px;
  font-size: 14px;
}

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 42px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r);
  cursor: pointer;
  box-shadow: var(--shadow-sm);
}

.nav-toggle-bars {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.nav-toggle-bars span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--ink);
}

/* ================================ Hero =============================== */
.hero {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px) 0 0 / 58px 58px,
    linear-gradient(0deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px) 0 0 / 58px 58px,
    var(--ink);
  color: var(--white);
  padding: 106px 0 110px;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(120deg, transparent 0 58%, rgba(196, 74, 28, 0.16) 58% 72%, transparent 72%),
    linear-gradient(155deg, transparent 0 68%, rgba(22, 115, 106, 0.18) 68% 82%, transparent 82%);
  opacity: 0.8;
  pointer-events: none;
}

.hero::after {
  content: "";
  position: absolute;
  right: max(18px, calc((100vw - var(--shell)) / 2));
  bottom: 0;
  width: min(42vw, 520px);
  height: 22px;
  background: var(--signal);
  clip-path: polygon(8% 0, 100% 0, 92% 100%, 0 100%);
  opacity: 0.95;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(340px, 0.78fr);
  gap: 72px;
  align-items: center;
}

.hero h1 {
  color: var(--white);
  margin-bottom: 0.34em;
}

.hero .label {
  color: #ff9a6d;
}

.hero-lead {
  max-width: 37em;
  margin-bottom: 34px;
  color: #d6dde1;
  font-size: 18.5px;
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 13px;
}

.profile-card {
  position: relative;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.075);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--r);
  padding: 30px;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(10px);
}

.profile-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: linear-gradient(90deg, var(--signal), var(--teal));
}

.profile-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
}

.profile-head .label {
  margin: 0;
  color: #d4dde4;
}

.profile-tag {
  color: #ffe0d2;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0;
  text-transform: uppercase;
  border: 1px solid rgba(255, 154, 109, 0.48);
  border-radius: 999px;
  padding: 4px 9px;
}

.profile-rows {
  margin: 18px 0 0;
}

.profile-rows > div {
  display: grid;
  grid-template-columns: minmax(92px, 0.42fr) minmax(0, 1fr);
  gap: 16px;
  padding: 13px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.13);
}

.profile-rows dt {
  color: #aeb9c0;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0;
  text-transform: uppercase;
  padding-top: 2px;
}

.profile-rows dd {
  margin: 0;
  color: var(--white);
  font-size: 14.5px;
  font-weight: 600;
}

.profile-foot {
  margin: 20px 0 0;
  padding-top: 17px;
  color: #c4cdd4;
  border-top: 1px solid rgba(255, 255, 255, 0.13);
  font-size: 13.5px;
  line-height: 1.55;
}

/* ========================== Capability strip ========================= */
.capability-strip {
  background: var(--white);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 14px 30px rgba(21, 27, 31, 0.05);
}

.capability-inner {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.capability {
  display: flex;
  align-items: center;
  min-height: 82px;
  gap: 12px;
  padding: 18px 26px 18px 0;
  color: var(--text-soft);
  font-size: 14.5px;
  font-weight: 600;
}

.capability + .capability {
  padding-left: 26px;
  border-left: 1px solid var(--line);
}

.capability .icon {
  width: 23px;
  height: 23px;
  color: var(--teal);
}

/* =============================== Bands =============================== */
.band {
  padding: 104px 0;
}

.band-paper {
  background:
    linear-gradient(90deg, rgba(21, 27, 31, 0.03) 1px, transparent 1px) 0 0 / 76px 76px,
    var(--paper-2);
}

.band-ink {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px) 0 0 / 68px 68px,
    var(--ink);
  color: var(--white);
}

.band-ink::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 1px;
  background: var(--line-dark);
}

.band-ink > .shell {
  position: relative;
  z-index: 1;
}

.band-ink h2,
.band-ink h3 {
  color: var(--white);
}

.band-head {
  max-width: 48rem;
  margin-bottom: 56px;
}

.band-head h2 {
  margin-bottom: 0.42em;
}

.band-lead {
  margin: 0;
  color: var(--muted);
  font-size: 17.5px;
  line-height: 1.65;
}

.band-ink .band-lead {
  color: #c6d0d7;
}

/* ============================== Services ============================= */
.service-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.service {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: 26px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r);
  box-shadow: var(--shadow-sm);
}

.service-num {
  color: var(--signal);
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0;
}

.service-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  margin: 18px 0 24px;
  color: var(--teal);
  background: var(--teal-soft);
  border: 1px solid rgba(22, 115, 106, 0.25);
  border-radius: var(--r);
}

.service-icon .icon {
  width: 28px;
  height: 28px;
}

.service-body {
  display: flex;
  flex: 1;
  flex-direction: column;
}

.service-body h3 {
  margin-bottom: 0.55em;
}

.service-body p {
  color: var(--muted);
  font-size: 15.5px;
  margin-bottom: 20px;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: auto;
}

.tag-row li {
  color: var(--text-soft);
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0;
  line-height: 1.35;
  padding: 6px 10px;
}

.band-paper .tag-row li,
.form-panel .tag-row li {
  background: var(--white);
}

.tag-row-wide li {
  font-size: 11.5px;
  padding: 7px 12px;
}

/* ============================== Expertise ============================ */
.split {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  gap: 72px;
  align-items: start;
}

.split-aside {
  position: sticky;
  top: 120px;
}

.split-aside h2 {
  margin-bottom: 0.45em;
}

.split-aside .band-lead {
  margin-bottom: 24px;
}

.split-main {
  padding: 4px 0;
}

.capability-list {
  margin: 0;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r);
  box-shadow: var(--shadow-sm);
}

.capability-item {
  padding: 26px 28px;
  border-bottom: 1px solid var(--line);
}

.capability-item:last-child {
  border-bottom: 0;
}

.capability-item dt {
  display: flex;
  align-items: center;
  gap: 11px;
  margin-bottom: 9px;
  color: var(--text);
  font-family: var(--display);
  font-size: 1.08rem;
  font-weight: 700;
  letter-spacing: 0;
}

.capability-item dt .icon {
  width: 22px;
  height: 22px;
  color: var(--signal);
}

.capability-item dd {
  margin: 0 0 0 33px;
  color: var(--muted);
  font-size: 15.5px;
}

.doc-block {
  margin: 38px 0 34px;
}

.doc-block .label {
  margin-bottom: 14px;
}

/* ================================ Lanes ============================== */
.table-wrap {
  overflow-x: auto;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r);
  box-shadow: var(--shadow-sm);
}

.lane-table {
  width: 100%;
  min-width: 670px;
  border-collapse: collapse;
}

.lane-table thead th {
  padding: 16px 24px;
  color: var(--muted);
  background: var(--paper-2);
  border-bottom: 1px solid var(--line-strong);
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0;
  text-align: left;
  text-transform: uppercase;
}

.lane-table tbody th,
.lane-table tbody td {
  padding: 22px 24px;
  border-bottom: 1px solid var(--line);
  font-size: 15.5px;
  text-align: left;
  vertical-align: baseline;
}

.lane-table tbody tr:last-child th,
.lane-table tbody tr:last-child td {
  border-bottom: 0;
}

.lane-table tbody th {
  color: var(--text);
  font-family: var(--display);
  font-size: 1.02rem;
  font-weight: 700;
  white-space: nowrap;
}

.lane-table tbody td {
  color: var(--muted);
}

.lane-primary {
  background: var(--signal-soft);
}

.lane-primary th {
  color: var(--signal-2);
}

.lane-flag {
  display: inline-block;
  margin-left: 10px;
  padding: 4px 8px;
  color: var(--white);
  background: var(--signal);
  border-radius: 999px;
  font-family: var(--mono);
  font-size: 9.5px;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: uppercase;
  vertical-align: 2px;
}

/* =============================== Why us ============================== */
.reason-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.reason {
  min-height: 100%;
  padding: 24px;
  background: rgba(255, 255, 255, 0.065);
  border: 1px solid var(--line-dark);
  border-radius: var(--r);
}

.reason .icon {
  width: 26px;
  height: 26px;
  margin-bottom: 18px;
  color: #60c3b7;
}

.reason h3 {
  margin-bottom: 0.55em;
}

.reason p {
  margin: 0;
  color: #c6d0d7;
  font-size: 15px;
}

/* ============================ Quote / form =========================== */
.quote-band {
  background:
    linear-gradient(90deg, rgba(21, 27, 31, 0.03) 1px, transparent 1px) 0 0 / 76px 76px,
    var(--paper-2);
  border-top: 1px solid var(--line);
  padding: 104px 0;
}

.quote-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(420px, 1.18fr);
  gap: 72px;
  align-items: start;
}

.quote-aside h2 {
  margin-bottom: 0.42em;
}

.quote-lead {
  margin-bottom: 34px;
  color: var(--muted);
  font-size: 17px;
}

.contact-block {
  margin-bottom: 32px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r);
  box-shadow: var(--shadow-sm);
}

.contact-row {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 18px 20px;
  border-bottom: 1px solid var(--line);
}

.contact-row:last-child {
  border-bottom: 0;
}

.contact-row .icon {
  width: 22px;
  height: 22px;
  color: var(--teal);
}

.contact-row > span {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.contact-label {
  color: var(--muted);
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0;
  text-transform: uppercase;
}

.contact-value {
  margin-top: 2px;
  color: var(--text);
  font-size: 16.5px;
  font-weight: 600;
  overflow-wrap: anywhere;
}

.contact-row:hover .contact-value {
  color: var(--signal);
}

.prep-note {
  padding-top: 2px;
}

.prep-note .label {
  margin-bottom: 12px;
}

.prep-note ul {
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.prep-note li {
  position: relative;
  padding-left: 21px;
  color: var(--muted);
  font-size: 15px;
}

.prep-note li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 8px;
  height: 8px;
  background: var(--signal);
  border-radius: 50%;
}

.form-panel {
  position: relative;
  background: var(--white);
  border: 1px solid var(--line-strong);
  border-radius: var(--r);
  padding: 40px 42px 36px;
  box-shadow: var(--shadow-md);
}

.form-panel::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: linear-gradient(90deg, var(--signal), var(--teal));
  border-radius: var(--r) var(--r) 0 0;
}

.quote-form fieldset {
  border: 0;
  padding: 0;
  margin: 0 0 30px;
}

.quote-form legend {
  width: 100%;
  margin-bottom: 18px;
  padding: 0 0 11px;
  border-bottom: 1px solid var(--line);
}

.field-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px 22px;
}

.field {
  display: flex;
  flex-direction: column;
  margin: 0;
}

.field-full {
  grid-column: 1 / -1;
}

.field label {
  margin-bottom: 8px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: uppercase;
}

.req {
  color: var(--signal);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 48px;
  padding: 13px 14px;
  color: var(--text);
  background: var(--paper);
  border: 1px solid var(--line-strong);
  border-radius: var(--r);
  font-family: var(--body);
  font-size: 15.5px;
  transition:
    background-color 0.15s ease,
    border-color 0.15s ease,
    box-shadow 0.15s ease;
}

.field textarea {
  min-height: 136px;
  line-height: 1.55;
  resize: vertical;
}

.field input::placeholder,
.field textarea::placeholder {
  color: #909aa2;
}

.field input:hover,
.field select:hover,
.field textarea:hover {
  background: var(--white);
  border-color: var(--muted);
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  background: var(--white);
  border-color: var(--signal);
  box-shadow: 0 0 0 4px rgba(196, 74, 28, 0.14);
}

.field [aria-invalid="true"] {
  border-color: var(--err-text);
  box-shadow: 0 0 0 4px rgba(169, 52, 25, 0.12);
}

.select-wrap {
  position: relative;
  display: block;
}

.select-wrap::after {
  content: "";
  position: absolute;
  right: 16px;
  top: 50%;
  width: 9px;
  height: 9px;
  margin-top: -7px;
  border-right: 1.8px solid var(--muted);
  border-bottom: 1.8px solid var(--muted);
  transform: rotate(45deg);
  pointer-events: none;
}

.field select {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 42px;
  cursor: pointer;
}

.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-note {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}

.form-note a {
  color: var(--signal);
  border-bottom: 1px solid currentColor;
}

.alert {
  margin-bottom: 26px;
  padding: 15px 18px;
  border: 1px solid transparent;
  border-left-width: 4px;
  border-radius: var(--r);
  font-size: 14.5px;
}

.alert-success {
  color: var(--ok-text);
  background: var(--ok-bg);
  border-color: rgba(28, 111, 58, 0.3);
  border-left-color: var(--ok-text);
}

.alert-error {
  color: var(--err-text);
  background: var(--err-bg);
  border-color: rgba(169, 52, 25, 0.28);
  border-left-color: var(--err-text);
}

.alert a {
  text-decoration: underline;
}

/* =============================== Footer ============================== */
.site-footer {
  background: var(--ink);
  color: var(--muted-dark);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.45fr 0.8fr 1fr 1.25fr;
  gap: 48px;
  padding-top: 72px;
  padding-bottom: 56px;
}

.footer-brand .brand-mark {
  display: inline-flex;
  margin-bottom: 20px;
}

.footer-blurb {
  max-width: 32ch;
  margin: 0;
  font-size: 14.5px;
  line-height: 1.65;
}

.footer-col .label {
  margin-bottom: 16px;
  color: var(--white);
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 11px;
  font-size: 14.5px;
}

.footer-col a:hover {
  color: var(--white);
}

.footer-plain {
  color: var(--muted-dark);
}

.footer-cta p {
  margin-bottom: 18px;
  font-size: 14.5px;
  line-height: 1.6;
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px 32px;
  padding-top: 24px;
  padding-bottom: 32px;
  border-top: 1px solid var(--line-dark);
  font-size: 12.5px;
}

.footer-legal p {
  margin: 0;
}

/* ============================ Legal pages ============================ */
.legal-page {
  padding: 82px 0 100px;
}

.legal-page h1 {
  max-width: none;
  margin-bottom: 0.3em;
  font-size: 2.65rem;
}

.legal-page h2 {
  margin-top: 1.9em;
  font-size: 1.3rem;
}

.legal-page ul {
  margin-bottom: 1.2em;
  padding-left: 22px;
  color: var(--muted);
  list-style: disc;
}

.legal-page li {
  margin-bottom: 7px;
}

.legal-page p {
  color: var(--muted);
}

.legal-updated {
  font-family: var(--mono);
  font-size: 12.5px;
  letter-spacing: 0;
}

.legal-page a {
  color: var(--signal);
  border-bottom: 1px solid currentColor;
}

.legal-disclaimer {
  margin-top: 2.6em;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  font-size: 13.5px;
}

/* ============================= Responsive ============================ */
@media (max-width: 1100px) {
  .hero-grid,
  .split,
  .quote-grid {
    gap: 48px;
  }

  .service-list {
    grid-template-columns: 1fr;
  }

  .service {
    display: grid;
    grid-template-columns: 62px minmax(0, 1fr);
    gap: 18px 22px;
  }

  .service-num {
    grid-column: 1 / -1;
  }

  .service-icon {
    margin: 2px 0 0;
  }

  .service-body {
    display: block;
  }

  .tag-row {
    margin-top: 0;
  }

  .reason-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }
}

@media (max-width: 940px) {
  .hero-grid,
  .split,
  .quote-grid {
    grid-template-columns: 1fr;
  }

  h1 {
    font-size: 3.65rem;
    max-width: 12ch;
  }

  h2 {
    font-size: 2.45rem;
  }

  .split-aside {
    position: static;
  }

  .quote-grid {
    gap: 46px;
  }
}

@media (max-width: 860px) {
  .primary-nav {
    gap: 18px;
  }

  .capability-inner {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .capability {
    padding: 17px 20px 17px 0;
  }

  .capability:nth-child(odd) {
    padding-left: 0;
    border-left: 0;
  }

  .capability:nth-child(even) {
    padding-left: 20px;
    border-left: 1px solid var(--line);
  }

  .capability:nth-child(n + 3) {
    border-top: 1px solid var(--line);
  }
}

@media (max-width: 760px) {
  body {
    font-size: 16px;
  }

  .shell {
    padding: 0 20px;
  }

  .utility-note {
    display: none;
  }

  .utility-inner {
    justify-content: flex-end;
  }

  .masthead-inner {
    min-height: 70px;
  }

  section[id] {
    scroll-margin-top: 82px;
  }

  .brand-mark svg {
    width: 36px;
    height: 36px;
  }

  .brand-name {
    font-size: 18px;
  }

  .brand-desc {
    max-width: 24ch;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  h1 {
    font-size: 3.05rem;
  }

  h2 {
    font-size: 2.15rem;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .primary-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px 0 16px;
    background: var(--paper);
    border: 1px solid var(--line);
    border-top: 0;
    border-radius: 0 0 var(--r) var(--r);
    box-shadow: var(--shadow-md);
  }

  .primary-nav.is-open {
    display: flex;
  }

  .primary-nav a:not(.btn) {
    padding: 15px 20px;
    border-bottom: 1px solid var(--line);
  }

  .primary-nav a:not(.btn)::after {
    display: none;
  }

  .nav-cta {
    margin: 16px 20px 0;
  }

  .hero {
    padding: 68px 0 76px;
  }

  .hero::after {
    width: 56vw;
    height: 16px;
  }

  .hero-actions .btn {
    flex: 1 1 100%;
  }

  .profile-card {
    padding: 24px;
  }

  .band,
  .quote-band {
    padding: 70px 0;
  }

  .band-head {
    margin-bottom: 38px;
  }

  .service {
    display: flex;
    padding: 24px;
  }

  .service-icon {
    width: 50px;
    height: 50px;
    margin: 18px 0 20px;
  }

  .capability-list {
    border-radius: var(--r);
  }

  .capability-item {
    padding: 22px;
  }

  .capability-item dd {
    margin-left: 0;
  }

  .reason-grid {
    grid-template-columns: 1fr;
  }

  .form-panel {
    padding: 30px 22px 24px;
  }

  .field-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 34px;
    padding-top: 52px;
  }

  .footer-legal {
    flex-direction: column;
  }
}

@media (max-width: 560px) {
  h1 {
    font-size: 2.45rem;
  }

  h2 {
    font-size: 1.9rem;
  }

  .utility-link {
    width: 100%;
    justify-content: flex-end;
  }

  .brand {
    gap: 10px;
  }

  .brand-desc {
    display: none;
  }

  .capability-inner {
    grid-template-columns: 1fr;
  }

  .capability,
  .capability + .capability,
  .capability:nth-child(even) {
    min-height: 66px;
    padding: 14px 0;
    border-left: 0;
  }

  .capability + .capability {
    border-top: 1px solid var(--line);
  }

  .profile-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .profile-rows > div {
    grid-template-columns: 1fr;
    gap: 2px;
  }

  .lane-flag {
    display: table;
    margin: 7px 0 0;
  }

  .contact-row {
    padding: 17px;
  }

}

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

  *,
  *::before,
  *::after {
    transition: none !important;
    animation: none !important;
  }
}

@media print {
  .utility-bar,
  .masthead,
  .hazard-rule,
  .quote-band,
  .site-footer {
    display: none;
  }

  body {
    background: var(--white);
    font-size: 12pt;
  }

  .hero,
  .band-ink {
    background: none;
    color: #000;
    padding: 0 0 24pt;
  }

  .hero h1,
  .band-ink h2,
  .band-ink h3 {
    color: #000;
  }
}
