/* Electrical Wire Buyers Utah — single stylesheet. HTML + CSS only. */

:root {
  --ink: #0e0e0e;
  --ink-soft: #34322e;
  --ink-mute: #5d5a54;
  --paper: #ffffff;
  --paper-2: #f6f5f2;
  --paper-3: #eeebe5;
  --line: #ded9d1;
  --line-dark: #2a2825;
  --red: #c8102e;
  --red-dark: #9d0c23;
  --max: 1180px;
  --pad: 20px;
  --radius: 2px;
  --shadow: 0 18px 40px rgba(14, 14, 14, 0.16);
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  /* keep in-page anchors clear of the sticky navigation */
  scroll-padding-top: 76px;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink-soft);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", Helvetica, Arial,
    sans-serif;
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  /* room for the sticky mobile action bar */
  padding-bottom: 74px;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--ink);
  text-decoration-color: var(--red);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover {
  color: var(--red);
}

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

h1,
h2,
h3,
h4 {
  color: var(--ink);
  margin: 0 0 0.6em;
  font-weight: 800;
  letter-spacing: -0.015em;
  line-height: 1.08;
  text-transform: uppercase;
  text-wrap: balance;
}

h1 {
  font-size: clamp(2rem, 6.4vw, 3.9rem);
  letter-spacing: -0.025em;
  line-height: 1.02;
}

h2 {
  font-size: clamp(1.5rem, 4.1vw, 2.45rem);
}

h3 {
  font-size: 1.16rem;
  letter-spacing: 0;
  text-transform: none;
  font-weight: 700;
  line-height: 1.3;
}

h4 {
  font-size: 0.95rem;
  letter-spacing: 0.02em;
}

p {
  margin: 0 0 1.05em;
}

p:last-child,
ul:last-child,
ol:last-child {
  margin-bottom: 0;
}

strong {
  color: var(--ink);
  font-weight: 700;
}

small {
  font-size: 0.86rem;
}

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

.wrap--narrow {
  max-width: 820px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--red);
  color: #fff;
  padding: 12px 18px;
  z-index: 60;
  font-weight: 700;
}

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

/* ---------- header ---------- */

.utility {
  background: var(--ink);
  color: #d8d4cd;
  font-size: 0.79rem;
  letter-spacing: 0.02em;
}

.utility .wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 18px;
  align-items: center;
  justify-content: space-between;
  min-height: 38px;
  padding-top: 6px;
  padding-bottom: 6px;
}

.utility a {
  color: #fff;
  text-decoration: none;
  font-weight: 600;
}

.utility a:hover {
  color: #ff9aa9;
}

.utility__note {
  display: none;
}

.masthead {
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}

.masthead .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 12px;
  padding-bottom: 12px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
  color: var(--ink);
}

.brand:hover {
  color: var(--ink);
}

.brand__mark {
  width: 44px;
  height: 44px;
  background: var(--ink);
  border-bottom: 4px solid var(--red);
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  flex: none;
}

.brand__name {
  display: block;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  line-height: 1.05;
  font-size: 0.95rem;
}

.brand__name span {
  display: block;
  font-size: 0.66rem;
  letter-spacing: 0.16em;
  font-weight: 600;
  color: var(--ink-mute);
  margin-top: 3px;
}

.header-phone {
  display: none;
  text-decoration: none;
  text-align: right;
  line-height: 1.15;
}

.header-phone small {
  display: block;
  font-size: 0.63rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-mute);
  font-weight: 700;
}

.header-phone b {
  font-size: 1.06rem;
  letter-spacing: -0.01em;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}

.nav {
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 40;
  box-shadow: 0 1px 0 rgba(14, 14, 14, 0.04);
}

.nav ul {
  display: flex;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.nav ul::-webkit-scrollbar {
  display: none;
}

.nav li {
  flex: none;
}

.nav a {
  display: flex;
  align-items: center;
  min-height: 48px;
  padding: 0 14px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--ink);
  border-bottom: 3px solid transparent;
  white-space: nowrap;
}

.nav a:hover {
  border-bottom-color: var(--red);
  color: var(--ink);
}

.nav a[aria-current="page"] {
  border-bottom-color: var(--red);
  color: var(--red);
}

/* ---------- buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 52px;
  padding: 14px 24px;
  border: 2px solid transparent;
  border-radius: var(--radius);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  text-align: center;
  line-height: 1.2;
  cursor: pointer;
}

.btn--primary {
  background: var(--red);
  border-color: var(--red);
  color: #fff;
}

.btn--primary:hover {
  background: var(--red-dark);
  border-color: var(--red-dark);
  color: #fff;
}

.btn--dark {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
}

.btn--dark:hover {
  background: #000;
  color: #fff;
}

.btn--ghost {
  background: transparent;
  border-color: var(--ink);
  color: var(--ink);
}

.btn--ghost:hover {
  background: var(--ink);
  color: #fff;
}

.btn--onphoto {
  background: transparent;
  border-color: #fff;
  color: #fff;
}

.btn--onphoto:hover {
  background: #fff;
  color: var(--ink);
}

.btn--wide {
  width: 100%;
}

.btn--sm {
  min-height: 44px;
  padding: 10px 16px;
  font-size: 0.72rem;
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.btn-row .btn {
  flex: 1 1 240px;
}

/* ---------- hero ---------- */

.hero {
  position: relative;
  background: var(--ink);
  color: #fff;
  overflow: hidden;
}

.hero__media {
  position: absolute;
  inset: 0;
}

.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 62%;
  filter: saturate(1.02) contrast(1.02);
}

.hero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(10, 10, 10, 0.62) 0%,
    rgba(10, 10, 10, 0.72) 55%,
    rgba(10, 10, 10, 0.88) 100%
  );
}

.hero__inner {
  position: relative;
  padding-top: 54px;
  padding-bottom: 46px;
}

.hero h1 {
  color: #fff;
  max-width: 19ch;
}

.hero__lede {
  font-size: 1.06rem;
  max-width: 56ch;
  color: #f0eee9;
  margin-top: 18px;
}

.hero .eyebrow {
  color: #fff;
}

.hero .eyebrow::before {
  background: var(--red);
}

.hero__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 10px;
  margin-top: 26px;
  padding: 0;
  list-style: none;
}

.hero__badges li {
  font-size: 0.63rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: 1px solid rgba(255, 255, 255, 0.34);
  padding: 6px 9px;
  color: #fff;
}

@media (min-width: 620px) {
  .hero__badges li {
    font-size: 0.71rem;
    letter-spacing: 0.09em;
    padding: 7px 11px;
  }
}

/* ---------- sections ---------- */

.section {
  padding: 56px 0;
  border-top: 1px solid var(--line);
}

.section--tight {
  padding: 40px 0;
}

.section--paper {
  background: var(--paper-2);
}

.section--dark {
  background: var(--ink);
  color: #d9d5ce;
  border-top-color: var(--line-dark);
}

.section--dark h2,
.section--dark h3,
.section--dark strong {
  color: #fff;
}

.section--dark a {
  color: #fff;
}

.section--dark a:hover {
  color: #ff9aa9;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 16px;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink);
}

.eyebrow::before {
  content: "";
  width: 4px;
  height: 17px;
  background: var(--red);
  flex: none;
}

.lede {
  font-size: 1.1rem;
  color: var(--ink-soft);
  max-width: 68ch;
}

.section--dark .lede {
  color: #cfcac2;
}

.section-head {
  margin-bottom: 30px;
}

.section-head h2 {
  margin-bottom: 10px;
}

.split {
  display: grid;
  gap: 26px;
}

@media (min-width: 900px) {
  .split {
    grid-template-columns: minmax(220px, 300px) minmax(0, 1fr);
    gap: 54px;
    align-items: start;
  }

  .split__label .eyebrow {
    margin-bottom: 0;
  }
}

.prose > h2:first-child,
.prose > h3:first-child {
  margin-top: 0;
}

.prose h3 {
  margin-top: 1.9em;
}

.prose ul,
.prose ol {
  margin: 0 0 1.1em;
  padding-left: 1.15em;
}

.prose li {
  margin-bottom: 0.5em;
}

.prose li::marker {
  color: var(--red);
}

.checklist {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
}

.checklist li {
  position: relative;
  padding-left: 26px;
  margin: 0;
}

.checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 11px;
  height: 11px;
  background: var(--red);
}

.section--dark .checklist li::before {
  background: var(--red);
}

/* ---------- hairline card grids ---------- */

.grid {
  display: grid;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  margin: 0;
  padding: 0;
  list-style: none;
}

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

/* an odd number of cards should not leave a hole in the hairline grid */
.grid--2 > li:last-child:nth-child(odd) {
  grid-column: 1 / -1;
}

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

.card {
  background: var(--paper);
  padding: 22px 20px 24px;
}

.card h3 {
  margin-bottom: 8px;
  font-size: 1.05rem;
}

.card p {
  font-size: 0.95rem;
  margin-bottom: 12px;
}

.card__link {
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--red);
}

.card__link:hover {
  text-decoration: underline;
  color: var(--red-dark);
}

.card__meta {
  display: block;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-mute);
  font-weight: 700;
  margin-bottom: 10px;
}

.section--dark .grid {
  background: #34322e;
  border-color: #34322e;
}

.section--dark .card {
  background: #161614;
}

.section--dark .card h3 {
  color: #fff;
}

.section--dark .card p {
  color: #c6c1b8;
}

.section--dark .card__meta {
  color: #8f8a81;
}

/* ---------- steps ---------- */

.steps {
  counter-reset: step;
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1px;
  background: var(--line);
  border-top: 1px solid var(--line);
}

.steps li {
  counter-increment: step;
  background: var(--paper);
  padding: 24px 20px 26px 62px;
  position: relative;
}

.steps li::before {
  content: counter(step, decimal-leading-zero);
  position: absolute;
  left: 20px;
  top: 22px;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--red);
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.03em;
}

.steps h3 {
  margin-bottom: 6px;
}

.steps p {
  margin: 0;
  font-size: 0.96rem;
}

/* ---------- photo blocks ---------- */

.photo-band {
  position: relative;
  background: var(--ink);
  color: #fff;
  overflow: hidden;
}

.photo-band img {
  width: 100%;
  height: 260px;
  object-fit: cover;
}

.photo-band__caption {
  background: var(--ink);
  color: #b8b3aa;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 10px 0;
  margin: 0;
}

.photo-band__caption .wrap {
  display: block;
}

figure.media {
  margin: 0;
  border: 1px solid var(--line);
  background: var(--paper-2);
}

figure.media img {
  width: 100%;
}

figure.media figcaption {
  font-size: 0.76rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-mute);
  padding: 10px 12px;
  border-top: 1px solid var(--line);
  font-weight: 600;
}

.media-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: 1fr;
}

@media (min-width: 700px) {
  .media-grid {
    grid-template-columns: 1fr 1fr;
  }
}

/* ---------- tables ---------- */

.table-scroll {
  overflow-x: auto;
  border: 1px solid var(--line);
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.93rem;
  min-width: 460px;
}

caption {
  caption-side: bottom;
  text-align: left;
  font-size: 0.76rem;
  color: var(--ink-mute);
  padding: 10px 12px;
  border-top: 1px solid var(--line);
}

th,
td {
  text-align: left;
  padding: 11px 13px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

thead th {
  background: var(--paper-3);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink);
  font-weight: 800;
}

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

td.num,
th.num {
  font-variant-numeric: tabular-nums;
}

/* ---------- callouts ---------- */

.callout {
  border-left: 4px solid var(--red);
  background: var(--paper-2);
  padding: 20px 22px;
  margin: 26px 0;
}

.callout h3 {
  margin-bottom: 6px;
  font-size: 1rem;
}

.callout p {
  margin: 0;
  font-size: 0.96rem;
}

.note {
  font-size: 0.86rem;
  color: var(--ink-mute);
}

/* ---------- breadcrumbs ---------- */

.crumbs {
  background: var(--paper-2);
  border-bottom: 1px solid var(--line);
  font-size: 0.76rem;
  letter-spacing: 0.03em;
}

.crumbs ol {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  list-style: none;
  margin: 0;
  padding: 11px 0;
}

.crumbs li {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--ink-mute);
}

.crumbs li + li::before {
  content: "/";
  color: #b6b0a6;
}

.crumbs a {
  color: var(--ink-soft);
  text-decoration: none;
  font-weight: 600;
}

.crumbs a:hover {
  color: var(--red);
  text-decoration: underline;
}

/* ---------- page header ---------- */

.page-head {
  padding: 34px 0 30px;
  border-bottom: 1px solid var(--line);
}

.page-head h1 {
  max-width: 24ch;
}

.page-head .lede {
  margin-top: 16px;
  margin-bottom: 0;
}

/* ---------- FAQ ---------- */

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

.faq__item {
  border-bottom: 1px solid var(--line);
  padding: 20px 0;
}

.faq__item h3 {
  margin-bottom: 8px;
  font-size: 1.03rem;
}

.faq__item p {
  margin: 0;
  font-size: 0.97rem;
}

/* ---------- form ---------- */

.quote {
  background: var(--paper-2);
  border-top: 4px solid var(--ink);
  padding: 30px 20px 34px;
}

.quote__head h2 {
  margin-bottom: 8px;
}

.quote__head p {
  font-size: 0.97rem;
  max-width: 62ch;
}

form {
  margin: 24px 0 0;
}

fieldset {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 0 0 8px;
  padding: 20px 0 6px;
}

legend {
  padding: 0 10px 0 0;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink);
}

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

.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

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

.field label,
.field-label {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink);
}

.field .req {
  color: var(--red);
}

.field .hint {
  display: block;
  margin-top: 3px;
  font-size: 0.79rem;
  color: var(--ink-mute);
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
}

input[type="text"],
input[type="tel"],
input[type="email"],
input[type="number"],
select,
textarea {
  width: 100%;
  font: inherit;
  font-size: 16px;
  color: var(--ink);
  background: var(--paper);
  border: 1.5px solid #cbc5ba;
  border-radius: var(--radius);
  padding: 12px 13px;
  min-height: 48px;
}

textarea {
  min-height: 120px;
  resize: vertical;
}

select {
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--ink) 50%),
    linear-gradient(135deg, var(--ink) 50%, transparent 50%);
  background-position: calc(100% - 20px) 21px, calc(100% - 14px) 21px;
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
  padding-right: 38px;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--ink);
  outline: 3px solid rgba(200, 16, 46, 0.28);
  outline-offset: 0;
}

input[type="file"] {
  font-size: 0.9rem;
  background: var(--paper);
  border: 1.5px dashed #c0bab0;
  padding: 14px;
  width: 100%;
  border-radius: var(--radius);
}

.radio-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.radio-row label {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border: 1.5px solid #cbc5ba;
  background: var(--paper);
  padding: 10px 13px;
  min-height: 44px;
  cursor: pointer;
}

.radio-row input {
  accent-color: var(--red);
  width: 17px;
  height: 17px;
  margin: 0;
}

.consent {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 0.88rem;
  color: var(--ink-soft);
  margin: 18px 0 0;
}

.consent input {
  width: 20px;
  height: 20px;
  margin: 2px 0 0;
  accent-color: var(--red);
  flex: none;
}

.form-actions {
  margin-top: 22px;
  display: grid;
  gap: 12px;
}

.form-actions .note {
  margin: 0;
}

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

.alert {
  border: 1px solid var(--red);
  border-left-width: 5px;
  background: #fff5f6;
  padding: 16px 18px;
  margin: 0 0 22px;
}

.alert h2 {
  font-size: 1.05rem;
  margin-bottom: 8px;
  color: var(--red);
  text-transform: none;
  letter-spacing: 0;
}

.alert ul {
  margin: 0;
  padding-left: 1.1em;
  font-size: 0.94rem;
}

.error-text {
  color: var(--red);
  font-size: 0.82rem;
  font-weight: 700;
}

/* ---------- contact blocks ---------- */

.contact-grid {
  display: grid;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  grid-template-columns: 1fr;
}

.contact-card {
  background: var(--paper);
  padding: 24px 20px;
}

.contact-card a.big {
  display: inline-block;
  font-size: clamp(1.15rem, 4.4vw, 1.6rem);
  font-weight: 800;
  letter-spacing: -0.01em;
  text-decoration: none;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}

.contact-card a.big:hover {
  color: var(--red);
}

.contact-card p {
  font-size: 0.94rem;
  margin-bottom: 10px;
}

/* ---------- footer ---------- */

.site-footer {
  background: var(--ink);
  color: #b7b2a9;
  padding: 44px 0 30px;
  font-size: 0.9rem;
}

.site-footer h2,
.site-footer h3 {
  color: #fff;
  font-size: 0.74rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.site-footer a {
  color: #e6e2db;
  text-decoration: none;
}

.site-footer a:hover {
  color: #ff9aa9;
  text-decoration: underline;
}

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

.footer-grid ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
  font-size: 0.88rem;
}

.footer-brand p {
  max-width: 34ch;
  font-size: 0.88rem;
}

.footer-contact a {
  display: block;
  font-size: 1.1rem;
  font-weight: 800;
  color: #fff;
  font-variant-numeric: tabular-nums;
  margin-bottom: 6px;
}

.footer-bottom {
  border-top: 1px solid #2c2a26;
  margin-top: 32px;
  padding-top: 18px;
  display: grid;
  gap: 8px;
  font-size: 0.78rem;
  color: #918c83;
}

/* ---------- sticky / floating CTAs ---------- */

.mobile-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 50;
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 1px;
  background: var(--ink);
  border-top: 3px solid var(--red);
  padding-bottom: env(safe-area-inset-bottom, 0);
}

.mobile-bar a {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 60px;
  gap: 1px;
  text-decoration: none;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  line-height: 1.1;
}

.mobile-bar a span {
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: #a9a49b;
}

.mobile-bar a:first-child {
  background: var(--ink);
  color: #fff;
}

.mobile-bar a:last-child {
  background: var(--red);
  color: #fff;
}

.mobile-bar a:last-child span {
  color: #ffd7dd;
}

.floating-cta {
  display: none;
}

/* ---------- utilities ---------- */

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

.link-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}

.link-list li {
  border-bottom: 1px solid var(--line);
}

.link-list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 48px;
  padding: 10px 2px;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.92rem;
  letter-spacing: 0.01em;
}

.link-list a::after {
  content: "\2192";
  color: var(--red);
  font-weight: 700;
}

.link-list a:hover {
  color: var(--red);
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.tag-row li {
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  background: var(--paper-3);
  color: var(--ink);
  padding: 7px 10px;
  border-radius: 1px;
}

.section--dark .tag-row li {
  background: #262421;
  color: #e7e3dc;
}

.mt-0 {
  margin-top: 0;
}

.mt-2 {
  margin-top: 18px;
}

.mt-3 {
  margin-top: 30px;
}

/* ---------- responsive ---------- */

@media (min-width: 620px) {
  .field-grid {
    grid-template-columns: 1fr 1fr;
  }

  .grid--2,
  .grid--3 {
    grid-template-columns: 1fr 1fr;
  }

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

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

  .form-actions {
    grid-template-columns: minmax(0, 320px) minmax(0, 1fr);
    align-items: center;
  }
}

@media (min-width: 900px) {
  body {
    font-size: 18px;
    padding-bottom: 0;
  }

  .section {
    padding: 84px 0;
  }

  .section--tight {
    padding: 54px 0;
  }

  .hero__inner {
    padding-top: 104px;
    padding-bottom: 96px;
  }

  .hero__lede {
    font-size: 1.2rem;
  }

  .hero__media::after {
    background: linear-gradient(
      90deg,
      rgba(8, 8, 8, 0.9) 0%,
      rgba(8, 8, 8, 0.72) 46%,
      rgba(8, 8, 8, 0.35) 100%
    );
  }

  .page-head {
    padding: 52px 0 44px;
  }

  .grid--3 {
    grid-template-columns: repeat(3, 1fr);
  }

  .steps {
    grid-template-columns: repeat(4, 1fr);
  }

  .steps li {
    padding: 62px 22px 26px 22px;
  }

  .steps li::before {
    top: 22px;
    left: 22px;
  }

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

  .footer-bottom {
    grid-template-columns: 1fr auto;
    align-items: center;
  }

  .photo-band img {
    height: 380px;
  }

  .mobile-bar {
    display: none;
  }

  .floating-cta {
    position: fixed;
    right: 26px;
    bottom: 26px;
    z-index: 45;
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--red);
    color: #fff;
    text-decoration: none;
    padding: 15px 22px;
    border-radius: var(--radius);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.09em;
    text-transform: uppercase;
    box-shadow: var(--shadow);
  }

  .floating-cta:hover {
    background: var(--red-dark);
    color: #fff;
  }

  .header-phone {
    display: block;
  }

  .utility__note {
    display: inline;
  }

  .quote {
    padding: 48px 44px 50px;
  }

  .nav a {
    min-height: 54px;
    padding: 0 17px;
    font-size: 0.79rem;
  }

  .masthead .wrap {
    padding-top: 16px;
    padding-bottom: 16px;
  }

  .brand__mark {
    width: 52px;
    height: 52px;
    font-size: 1.05rem;
  }

  .brand__name {
    font-size: 1.05rem;
  }
}

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

  * {
    transition: none !important;
  }
}
