@font-face {
  font-family: "Barlow Condensed";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/oferrellrebar/fonts/barlow-condensed-700.woff2") format("woff2");
}

@font-face {
  font-family: Inter;
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/oferrellrebar/fonts/inter-400.woff2") format("woff2");
}

@font-face {
  font-family: Inter;
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/oferrellrebar/fonts/inter-600.woff2") format("woff2");
}

@font-face {
  font-family: Inter;
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/oferrellrebar/fonts/inter-700.woff2") format("woff2");
}

:root {
  --brand-red: #a81218;
  --brand-red-700: #8a0e14;
  --brand-red-50: #fbedee;
  --charcoal: #383838;
  --ink: #1f1f1f;
  --gray-600: #5c5c5c;
  --gray-300: #d4d2ce;
  --paper: #f7f6f3;
  --white: #ffffff;
  --s-1: 4px;
  --s-2: 8px;
  --s-3: 12px;
  --s-4: 16px;
  --s-5: 24px;
  --s-6: 32px;
  --s-7: 48px;
  --s-8: 64px;
  --s-9: 96px;
  --content: 1200px;
}

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

html {
  scroll-behavior: auto;
}

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--paper);
  color: var(--ink);
  font: 400 17px/1.65 Inter, system-ui, sans-serif;
}

main {
  flex: 1 0 auto;
}

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

h1,
h2,
h3 {
  color: var(--ink);
}

h1 {
  font: 700 clamp(40px, 5.2vw, 64px)/1.02 "Barlow Condensed", sans-serif;
  text-transform: uppercase;
  letter-spacing: -0.005em;
  margin: 0 0 24px;
}

h2 {
  font: 700 clamp(30px, 3.4vw, 42px)/1.05 "Barlow Condensed", sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.005em;
  border: 0;
  padding: 0;
  margin: 0 0 16px;
}

h2::before {
  content: "";
  display: block;
  width: 48px;
  height: 3px;
  background: var(--brand-red);
  margin-bottom: 14px;
}

h3 {
  font: 600 19px/1.3 Inter, sans-serif;
  text-transform: none;
  letter-spacing: 0;
  margin: 0 0 8px;
}

p,
ul,
dl {
  margin: 0 0 16px;
}

p,
li {
  max-width: 68ch;
}

ul {
  padding-left: 1.2rem;
}

li {
  margin: 0.25rem 0;
}

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

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

main a:hover {
  color: var(--brand-red-700);
  text-decoration-thickness: 2px;
}

a.more {
  font-weight: 600;
}

a.more::after {
  content: " →";
}

.wrap {
  width: min(var(--content), calc(100% - 32px));
  margin-inline: auto;
}

.skip {
  position: absolute;
  left: 8px;
  top: -5rem;
  z-index: 20;
  background: var(--brand-red);
  color: var(--white);
  font-weight: 700;
  padding: 10px 14px;
  min-height: 44px;
}

.skip:focus {
  top: 8px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: var(--white);
  color: var(--charcoal);
  border-top: 4px solid var(--brand-red);
  border-bottom: 1px solid var(--gray-300);
}

.bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 16px;
  width: min(var(--content), calc(100% - 32px));
  margin-inline: auto;
  min-height: 64px;
}

.brand {
  display: flex;
  align-items: center;
  min-height: 44px;
  min-width: 0;
  margin-right: auto;
  color: inherit;
  text-decoration: none;
}

.brand img {
  display: block;
  height: 36px;
  width: auto;
  background: transparent;
}

.wordmark {
  display: none;
}

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
  padding: 0 12px;
  border: 1.5px solid var(--charcoal);
  border-radius: 4px;
  background: transparent;
  color: var(--charcoal);
  font: 700 15px/1 Inter, sans-serif;
}

a.call {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  height: 48px;
  min-width: 48px;
  padding: 0 22px;
  background: var(--brand-red);
  color: var(--white);
  border: 2px solid var(--brand-red);
  border-radius: 4px;
  font: 700 15px/1 Inter, sans-serif;
  text-decoration: none;
  letter-spacing: 0;
}

a.call:hover {
  background: var(--brand-red-700);
  border-color: var(--brand-red-700);
  color: var(--white);
}

a.call.ghost {
  background: transparent;
  color: var(--charcoal);
  border: 2px solid var(--charcoal);
}

a.call.ghost:hover {
  background: var(--charcoal);
  color: var(--white);
}

.call-full {
  display: none;
}

.call-short {
  display: block;
}

.site-nav {
  flex: 1 0 100%;
}

.site-nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 28px;
  list-style: none;
  margin: 0;
  padding: 0 0 12px;
}

.site-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 8px 0;
  border-bottom: 2px solid transparent;
  color: var(--charcoal);
  font: 600 15px/1 Inter, sans-serif;
  text-decoration: none;
}

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

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

html.js .site-nav {
  display: none;
}

html.js .site-nav.is-open {
  display: block;
}

.eyebrow,
.section-kicker {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 18px;
  color: var(--brand-red);
  font: 600 13px/1 Inter, sans-serif;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.eyebrow::before,
.section-kicker::before {
  content: "";
  width: 32px;
  height: 3px;
  background: var(--brand-red);
}

.lead {
  font-size: 19px;
  line-height: 1.65;
  color: var(--gray-600);
  max-width: 34em;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
}

.hero-cta .call {
  margin: 0;
}

main > section {
  padding-block: 64px;
}

main > section:nth-child(even) {
  background: var(--white);
  border-block: 1px solid var(--gray-300);
}

main > section.page-intro,
main > section.split-hero {
  background: transparent;
  border: 0;
}

main > section.strip {
  background: var(--charcoal);
  color: var(--white);
  border: 0;
  padding-block: 0;
}

.page-intro {
  padding: 32px 0 24px;
}

.split-hero {
  padding: 48px 0 40px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  align-items: center;
}

.split-photos {
  position: relative;
  max-width: 480px;
}

.split-photos .accent,
.split-photos .shot-offset {
  display: none;
}

.split-photos figure {
  margin: 0;
  max-width: 480px;
}

.split-photos .shot-main img {
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: 60% 60%;
}

.strip {
  background: var(--charcoal);
  color: var(--white);
}

.strip .wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px 24px;
  padding: 22px 0;
}

.strip p {
  margin: 0;
  max-width: none;
}

.strip b {
  display: block;
  color: var(--white);
  font: 700 26px/1.1 "Barlow Condensed", sans-serif;
  letter-spacing: 0.02em;
}

.strip span {
  color: #cfcfcf;
  font: 600 15px/1.3 Inter, sans-serif;
}

.cards,
.markets {
  display: grid;
  gap: 24px;
}

.card {
  background: var(--white);
  border: 1px solid var(--gray-300);
  border-top: 3px solid var(--brand-red);
  border-radius: 4px;
  padding: 24px;
}

.card p,
.card h3 {
  max-width: none;
}

.card p {
  margin: 0 0 12px;
  color: var(--gray-600);
  font-size: 16px;
  line-height: 1.6;
}

.card p:last-child {
  margin-bottom: 0;
}

.media {
  display: grid;
  gap: 32px;
  align-items: center;
}

.product-groups .product-group {
  break-inside: avoid;
  margin: 0 0 16px;
}

figure {
  margin: 0;
  max-width: 480px;
  background: var(--white);
  padding: 8px;
  border-radius: 4px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06), 0 8px 24px rgba(31, 31, 31, 0.1);
}

figure img {
  display: block;
  width: 100%;
  max-width: 480px;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  background: var(--gray-300);
  border-radius: 2px;
}

.photos {
  display: grid;
  gap: 24px;
  margin: 24px 0 0;
}

.photos figure {
  margin: 0;
}

.work-list {
  list-style: none;
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
}

.work-list li {
  max-width: none;
  margin: 0;
  padding: 14px 0;
  border-bottom: 1px solid var(--gray-300);
  font-weight: 600;
}

.work-list span {
  display: block;
  font-weight: 400;
  color: var(--gray-600);
  font-size: 15px;
}

.product-groups h3,
.product-groups ul {
  break-inside: avoid;
}

.facts,
.faq {
  margin: 0;
}

.facts dt,
.faq dt {
  font: 600 15px/1.4 Inter, sans-serif;
  color: var(--gray-600);
  margin: 0;
  padding-top: 12px;
}

.facts dd,
.faq dd {
  margin: 0;
  padding: 4px 0 12px;
  border-bottom: 1px solid #eee;
  color: var(--ink);
  font-size: 16px;
}

.contact-card {
  background: var(--white);
  border: 1px solid var(--gray-300);
  border-top: 3px solid var(--brand-red);
  border-radius: 4px;
  padding: 24px;
}

.contact-card .phone-lg {
  margin: 8px 0 16px;
  font: 700 32px/1.1 "Barlow Condensed", sans-serif;
  color: var(--brand-red);
}

.contact-card .phone-lg a {
  color: var(--brand-red);
  text-decoration: none;
}

.contact-card p,
.contact-card dd {
  max-width: none;
}

.contact-card h2 {
  font-size: 26px;
}

.contact-card a {
  overflow-wrap: anywhere;
}

.product-groups > h2,
.product-groups > p {
  column-span: all;
}

.cta-band {
  background: var(--brand-red);
  color: var(--white);
  padding: 56px 0;
  border: 0;
}

main > section.cta-band {
  background: var(--brand-red);
  border: 0;
  color: var(--white);
}

.cta-band h2,
.cta-band p,
.cta-band a:not(.call) {
  color: var(--white);
}

.cta-band h2::before {
  background: var(--white);
}

.cta-band .call {
  background: var(--white);
  color: var(--brand-red);
  border-color: var(--white);
}

.cta-band .call:hover {
  background: var(--paper);
  color: var(--brand-red-700);
  border-color: var(--paper);
}

.site-footer {
  background: var(--charcoal);
  color: #e6e6e6;
  padding: 48px 0 32px;
  font-size: 15px;
}

.footer-grid {
  display: grid;
  gap: 28px;
}

.footer-brand img {
  display: block;
  height: 40px;
  width: auto;
  margin-bottom: 16px;
}

.site-footer p,
.site-footer li {
  max-width: none;
  color: #e6e6e6;
}

.site-footer a {
  color: var(--white);
  text-decoration: none;
}

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

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

.footer-nav a {
  display: block;
  padding: 10px 0;
  min-height: 44px;
}

.footer-phones p {
  margin: 0 0 8px;
}

address {
  font-style: normal;
}

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

.cta-band :focus-visible,
.bar > a.call:focus-visible {
  outline-color: var(--white);
}

.bar > a.call {
  width: 48px;
  min-width: 48px;
  padding: 0;
}

@media (max-width: 63.99rem) {
  .bar {
    column-gap: 8px;
  }

  .nav-toggle {
    padding: 0 8px;
  }
}

@media (max-width: 22.49rem) {
  .brand img {
    height: 30px;
  }

  .bar {
    gap: 8px;
  }

  .nav-toggle {
    padding: 0 8px;
  }

  .bar > a.call {
    width: 44px;
    min-width: 44px;
  }
}

@media (max-width: 39.99rem) {
  .hero-cta {
    flex-direction: column;
  }

  .hero-cta .call {
    width: 100%;
  }
}

@media (min-width: 40rem) {
  .hero-cta {
    gap: 14px;
  }

  .markets,
  .cards {
    grid-template-columns: 1fr 1fr;
  }

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

  .photos.three {
    grid-template-columns: 1fr 1fr;
  }

  .work-list {
    grid-template-columns: 1fr 1fr;
    column-gap: 32px;
  }

  .product-groups {
    columns: 2;
    column-gap: 48px;
  }

  .facts,
  .faq {
    display: grid;
    grid-template-columns: 180px 1fr;
  }

  .facts dt,
  .faq dt {
    padding: 12px 16px 12px 0;
  }

  .facts dd,
  .faq dd {
    padding: 12px 0;
  }
}

@media (min-width: 48rem) {
  .wrap,
  .bar {
    width: min(var(--content), calc(100% - 64px));
  }

  .page-intro {
    padding: 56px 0 40px;
  }

  .media {
    grid-template-columns: 7fr 5fr;
    gap: 48px;
  }

  .media > figure {
    order: 2;
  }

  .media.reverse {
    grid-template-columns: 5fr 7fr;
  }

  .media.reverse > figure {
    order: 0;
  }

  .contact-layout {
    display: grid;
    grid-template-columns: 7fr 5fr;
    gap: 48px;
    align-items: start;
  }

  .contact-card {
    position: sticky;
    top: 96px;
  }

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

  .strip .wrap {
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
  }
}

@media (min-width: 56rem) {
  .hero-grid {
    grid-template-columns: 1.1fr 1fr;
    gap: 64px;
  }

  .split-hero {
    padding: 72px 0 80px;
  }

  .split-photos {
    height: 520px;
    max-width: none;
  }

  .split-photos .accent {
    display: block;
    position: absolute;
    right: -16px;
    bottom: 60px;
    width: 120px;
    height: 120px;
    background: var(--brand-red-50);
    z-index: 0;
  }

  .split-photos .shot-offset {
    display: block;
  }

  .split-photos figure {
    position: absolute;
    margin: 0;
    padding: 10px;
    background: var(--white);
    border-radius: 4px;
    box-shadow: 0 18px 40px rgba(31, 31, 31, 0.18);
    max-width: none;
  }

  .split-photos .shot-main {
    width: 330px;
    height: 420px;
    right: 0;
    top: 0;
    z-index: 1;
  }

  .split-photos .shot-offset {
    width: 250px;
    height: 300px;
    left: 0;
    bottom: 0;
    z-index: 2;
    border-top: 4px solid var(--brand-red);
  }

  .split-photos img {
    width: 100%;
    height: 100%;
    max-width: none;
    aspect-ratio: auto;
    object-fit: cover;
    border-radius: 2px;
  }

  .split-photos .shot-main img {
    object-position: 60% 60%;
  }

  .split-photos .shot-offset img {
    object-position: 50% 72%;
  }
}

@media (min-width: 64rem) {
  .bar {
    flex-wrap: nowrap;
    min-height: 76px;
    gap: 32px;
  }

  .brand img {
    height: 44px;
  }

  .nav-toggle,
  html.js .nav-toggle {
    display: none;
  }

  .site-nav,
  html.js .site-nav {
    display: block;
    flex: 1 1 auto;
  }

  .site-nav ul {
    justify-content: flex-end;
    flex-wrap: nowrap;
    padding: 0;
  }

  .bar > a.call {
    order: 2;
    width: auto;
    padding: 0 22px;
  }

  .call-full {
    display: inline;
  }

  .call-short {
    display: none;
  }

  .site-nav {
    order: 1;
  }

  main > section {
    padding-block: 96px;
  }

  main > section.page-intro {
    padding: 56px 0 40px;
  }

  main > section.split-hero {
    padding: 72px 0 80px;
  }

  main > section.cta-band {
    padding: 56px 0;
  }

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

  .markets {
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
    gap: 32px;
  }

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

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

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

/* services-fix.css: tighter rhythm + consistent image crops */
main > section { padding-block: 40px; }
main > section.page-intro { padding: 32px 0 8px; }
main > section.cta-band { padding-block: 40px; }
main > section h2 { margin-top: 0; margin-bottom: 16px; }
main > section h3 { margin: 16px 0 4px; }
main > section h2 + h3 { margin-top: 0; }
main > section p { margin-bottom: 0; }
.media { gap: 24px; align-items: stretch; }
.media > div { align-self: center; }
figure { max-width: none; width: 100%; padding: 6px; }
figure img { max-width: none; width: 100%; aspect-ratio: 3 / 2; height: auto; object-fit: cover; object-position: 50% 55%; }
#products ~ ul, .product-groups ul { margin: 0; }
.product-groups .product-group { margin-bottom: 12px; }

@media (min-width: 48rem) {
  main > section { padding-block: 64px; }
  main > section.page-intro { padding: 48px 0 16px; }
  main > section.cta-band { padding-block: 48px; }
  /* Services: lift Estimating/Detailing into the text column so the photo spans all four */
  section[aria-labelledby="services"] .wrap { display: grid; grid-template-columns: 7fr 5fr; column-gap: 48px; align-items: start; }
  section[aria-labelledby="services"] .wrap > :not(.media) { grid-column: 1; }
  section[aria-labelledby="services"] .media { display: contents; }
  section[aria-labelledby="services"] .media > div { grid-column: 1; }
  section[aria-labelledby="services"] .media > figure { grid-column: 2; grid-row: 1 / span 6; align-self: stretch; }
  .media, .media.reverse { gap: 48px; grid-template-columns: 7fr 5fr; }
  .media.reverse > figure { order: 0; }
  .media > figure, .media.reverse > figure { align-self: stretch; display: flex; max-width: none; }
  .media > figure img { aspect-ratio: auto; height: 100%; min-height: 320px; max-height: 520px; }
  /* Short text block (Specifiers): fixed 3:2 crop, centered with text */
  section[aria-labelledby="specifiers"] .media > figure { align-self: center; }
  section[aria-labelledby="specifiers"] .media > figure img { aspect-ratio: 3 / 2; height: auto; min-height: 0; }
}
