/* Quality Affordable Concrete LLC
   Palette: sign red, charcoal, white, and concrete blue-gray.
   Slab headings (Alfa Slab One) and a brush script (Kaushan Script)
   used sparingly for accents.
*/
@font-face {
  font-family: "Alfa Slab One";
  src: url("../fonts/AlfaSlabOne-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Kaushan Script";
  src: url("../fonts/KaushanScript-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  --red: #C4161C;
  --red-hover: #9E1016;
  --red-soft: #F6E8E8;
  --concrete: #6E7E8A;
  --concrete-dk: #586874;
  --charcoal: #161616;
  --charcoal-2: #1E1E1E;
  --ink: #1A1A1A;
  --ink-soft: #3A3A3A;
  --muted: #5C5C5C;
  --paper: #F3F2EF;
  --paper-2: #E6E4DF;
  --white: #FFFFFF;
  --band: #F7F7F5;
  --line: #D5D2CC;
  --on-dark: #F5F5F3;
  --on-dark-muted: #C8C4BE;
  --focus: #0F4C81;
  --shadow: 0 16px 36px rgba(16, 16, 16, 0.14);
  --radius: 10px;
  --header-h: 5.25rem;
  --max: 72rem;
  --font: "Segoe UI", "Helvetica Neue", Roboto, "Noto Sans", Arial, sans-serif;
  --display: "Alfa Slab One", "Rockwell", "Rockwell Extra Bold", "Times New Roman", serif;
  --script: "Kaushan Script", "Segoe Script", "Brush Script MT", cursive;
}

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

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

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  min-height: 100vh;
}

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

a {
  color: var(--red);
  text-underline-offset: 0.15em;
}

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

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

.skip {
  position: absolute;
  left: 0.75rem;
  top: -3.5rem;
  background: var(--white);
  color: var(--ink);
  padding: 0.5rem 0.85rem;
  z-index: 100;
  border-radius: 6px;
}

.skip:focus { top: 0.75rem; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(22, 22, 22, 0.97);
  color: var(--on-dark);
  backdrop-filter: blur(10px);
  border-bottom: 3px solid var(--red);
}

.header-inner {
  max-width: var(--max);
  margin: 0 auto;
  min-height: var(--header-h);
  padding: 0.55rem 1.15rem;
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.logo {
  color: var(--on-dark);
  text-decoration: none;
  display: flex;
  align-items: center;
  min-width: 0;
  flex: 0 0 auto;
}

.logo:hover { color: var(--on-dark); }

.logo img {
  height: 3.55rem;
  width: auto;
  display: block;
  border: 1px solid rgba(0, 0, 0, 0.35);
}

.header-call {
  margin-left: auto;
  color: var(--white);
  background: var(--red);
  text-decoration: none;
  font-weight: 800;
  letter-spacing: 0.02em;
  border: 2px solid var(--red);
  padding: 0.5rem 0.8rem;
  border-radius: 6px;
  white-space: nowrap;
  font-size: 0.95rem;
}

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

#nav-toggle {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

.nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.6rem;
  height: 2.6rem;
  border: 1px solid rgba(245, 245, 243, 0.25);
  border-radius: 6px;
  cursor: pointer;
  background: transparent;
  color: var(--on-dark);
}

.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  display: block;
  width: 1.15rem;
  height: 2px;
  background: currentColor;
  position: relative;
  transition: transform 0.2s ease;
}

.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
}

.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }

#nav-toggle:checked + .nav-toggle span { background: transparent; }
#nav-toggle:checked + .nav-toggle span::before { top: 0; transform: rotate(45deg); }
#nav-toggle:checked + .nav-toggle span::after { top: 0; transform: rotate(-45deg); }

.site-nav {
  display: none;
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  background: var(--charcoal);
  border-bottom: 3px solid var(--red);
  padding: 0.5rem 1.15rem 1rem;
}

#nav-toggle:checked ~ .site-nav { display: block; }

.site-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
}

.site-nav a {
  color: var(--on-dark);
  text-decoration: none;
  display: block;
  padding: 0.7rem 0.35rem;
  border-bottom: 1px solid rgba(245, 245, 243, 0.08);
  font-weight: 600;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: #fff;
}

.site-nav a[aria-current="page"] {
  box-shadow: inset 3px 0 0 var(--red);
  padding-left: 0.65rem;
}

@media (min-width: 1240px) {
  .nav-toggle { display: none; }
  .site-nav {
    display: block;
    position: static;
    background: transparent;
    border: 0;
    padding: 0;
    margin-left: 0.35rem;
    flex: 1 1 auto;
  }
  .site-nav ul {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 0.1rem;
  }
  .site-nav a {
    border: 0;
    padding: 0.4rem 0.48rem;
    font-size: 0.86rem;
    font-weight: 650;
  }
  .site-nav a[aria-current="page"] {
    box-shadow: none;
    padding-left: 0.48rem;
    color: #fff;
    border-bottom: 3px solid var(--red);
    border-radius: 0;
  }
  .header-call { order: 3; margin-left: 0.6rem; }
  .logo { margin-right: 0.25rem; }
  .logo img { height: 4.15rem; }
}

/* Hero */
.hero {
  background: var(--charcoal);
  color: var(--on-dark);
  padding: 3.25rem 1.15rem 3.5rem;
  position: relative;
  overflow: hidden;
  min-height: 28rem;
  display: flex;
  align-items: flex-end;
}

.hero-photo { padding-top: 4.25rem; padding-bottom: 3.5rem; min-height: 34rem; }

.hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(16,16,16,0.72) 0%, rgba(16,16,16,0.42) 52%, rgba(16,16,16,0.22) 100%),
    linear-gradient(180deg, rgba(16,16,16,0.28) 0%, rgba(16,16,16,0.12) 42%, rgba(16,16,16,0.78) 100%);
  pointer-events: none;
}
.hero-photo .hero-inner {
  text-shadow: 0 1px 2px rgba(0,0,0,0.55), 0 10px 28px rgba(0,0,0,0.35);
}
.hero-photo picture {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: block;
}

.hero-inner,
.wrap {
  max-width: var(--max);
  margin: 0 auto;
}

.hero-inner { position: relative; z-index: 2; max-width: 46rem; }

.eyebrow {
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.75rem;
  font-weight: 700;
  color: #f0c9c9;
  margin: 0 0 0.7rem;
}

.hero-tagline {
  font-family: var(--script);
  font-size: clamp(1.65rem, 4vw, 2.45rem);
  line-height: 1.2;
  color: #fff;
  margin: 0 0 1rem;
  font-weight: 400;
  text-shadow: 0 2px 0 rgba(0,0,0,0.45);
}

.hero h1,
.page-hero h1 {
  font-family: var(--display);
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1.12;
  margin: 0 0 0.85rem;
}

.hero h1 { font-size: clamp(1.85rem, 4.4vw, 3.05rem); }

.lede {
  font-size: 1.12rem;
  color: var(--on-dark-muted);
  margin: 0 0 1.5rem;
  max-width: 38rem;
}

.hero-actions,
.actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  text-decoration: none;
  font-weight: 800;
  border-radius: 6px;
  padding: 0.82rem 1.25rem;
  line-height: 1.2;
  border: 2px solid transparent;
  letter-spacing: 0.01em;
}

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

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

.btn-ghost {
  background: transparent;
  color: var(--on-dark);
  border-color: rgba(245, 245, 243, 0.4);
}

.btn-ghost:hover {
  background: rgba(245, 245, 243, 0.08);
  color: #fff;
}

.btn-secondary {
  background: var(--white);
  color: var(--ink);
  border-color: var(--line);
}

.btn-secondary:hover {
  background: var(--paper-2);
  color: var(--ink);
}

/* Trust bar */
.trust-bar {
  background: var(--charcoal);
  color: var(--on-dark);
  border-top: 0;
  border-bottom: 3px solid var(--red);
  padding: 0.85rem 1.15rem;
}

.trust-inner {
  display: grid;
  gap: 0.65rem 1.25rem;
  grid-template-columns: 1fr 1fr;
  justify-items: start;
}

.trust-item {
  margin: 0;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 800;
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 1.25;
}

.trust-item svg {
  width: 1.25rem;
  height: 1.25rem;
  flex: 0 0 1.25rem;
  color: var(--red);
}

@media (min-width: 860px) {
  .trust-inner {
    grid-template-columns: 1fr 1fr 1.05fr 1.55fr;
    align-items: center;
    justify-items: center;
  }
  .trust-item { font-size: 0.78rem; white-space: nowrap; }
}

/* Page hero (interior) */
.page-hero {
  padding: 2.5rem 1.15rem 3.1rem;
  background: #161616;
  color: var(--on-dark);
  position: relative;
  overflow: hidden;
}

.page-hero h1 { font-size: clamp(1.7rem, 3.6vw, 2.55rem); }
.page-hero .lede { margin-bottom: 0.35rem; }

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, transparent 0%, transparent 78%, var(--paper));
  pointer-events: none;
}
.page-hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
}
.page-hero.has-photo::before {
  background:
    linear-gradient(90deg, rgba(16,16,16,0.66) 0%, rgba(16,16,16,0.40) 55%, rgba(16,16,16,0.28) 100%),
    linear-gradient(180deg, rgba(16,16,16,0.28) 0%, rgba(16,16,16,0.45) 58%, var(--paper));
}
.page-hero.has-photo {
  min-height: 16.5rem;
}
.page-hero.has-photo .wrap {
  text-shadow: 0 1px 2px rgba(0,0,0,0.5), 0 8px 24px rgba(0,0,0,0.3);
}
.page-hero picture.page-hero-picture {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: block;
}
.page-hero .wrap,
.page-hero .lede,
.page-hero h1,
.page-hero .eyebrow { position: relative; z-index: 2; }

/* Sections */
.section { padding: 2.75rem 1.15rem; }
.section-alt { background: var(--white); }
.section h2,
.card h2,
.card h3 {
  font-family: var(--display);
  letter-spacing: 0;
  line-height: 1.2;
  margin: 0 0 0.75rem;
  font-weight: 400;
}

.section h2 { font-size: clamp(1.5rem, 2.8vw, 2rem); }

.intro {
  max-width: 42rem;
  color: var(--ink-soft);
  margin: 0 0 1.75rem;
}

.script-line {
  font-family: var(--script);
  font-size: clamp(1.45rem, 3vw, 2.05rem);
  line-height: 1.25;
  color: var(--red);
  margin: 0 0 0.85rem;
}

/* Service cards */
.grid {
  display: grid;
  gap: 1rem;
}

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

@media (min-width: 980px) {
  .grid-4 { grid-template-columns: repeat(4, 1fr); }
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .grid-5 { grid-template-columns: repeat(3, 1fr); }
}

@media (min-width: 1180px) {
  .grid-5 { grid-template-columns: repeat(5, 1fr); }
}

.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.3rem 1.2rem 1.3rem;
  box-shadow: 0 1px 0 rgba(16, 16, 16, 0.03);
  display: flex;
  flex-direction: column;
}

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

.card p { margin: 0 0 1rem; color: var(--ink-soft); flex: 1; }

.card-link {
  font-weight: 700;
  text-decoration: none;
  color: var(--red);
}

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

.icon-row {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 8px;
  background: var(--red-soft);
  color: var(--red);
  display: grid;
  place-items: center;
  margin-bottom: 0.9rem;
}

.icon-row svg { width: 1.35rem; height: 1.35rem; }

.note {
  background: var(--red-soft);
  border-left: 4px solid var(--red);
  padding: 0.9rem 1rem;
  border-radius: 0 8px 8px 0;
  color: var(--ink-soft);
  margin: 1.25rem 0 0;
}

.note strong { color: var(--ink); }

/* Project gallery */
.gallery-grid {
  display: grid;
  gap: 1.15rem;
  grid-template-columns: 1fr;
  align-items: start;
}

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

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

.shot {
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--white);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding: 0;
  color: var(--ink);
  position: relative;
  overflow: hidden;
}

.shot picture {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #1c1c1c;
}
.shot img {
  width: 100%;
  height: 100%;
  position: static;
  display: block;
  object-fit: cover;
  object-position: center 55%;
}

.shot-caption {
  position: static;
  color: var(--ink);
  padding: 0.7rem 0.9rem 0.9rem;
  background: var(--white);
}

.shot-caption strong { display: block; margin-bottom: 0.15rem; }
.shot-caption span { color: var(--muted); font-size: 0.9rem; }

.slot-flag {
  display: inline-block;
  margin-top: 0.35rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: #f7e3e3;
  color: #7a1418;
  border-radius: 4px;
  padding: 0.12rem 0.4rem;
}

/* Contact stack */
.contact-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.85rem;
}

.contact-list li {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.1rem 1.2rem;
}

.contact-list .label {
  display: block;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--muted);
  margin-bottom: 0.2rem;
}

.contact-list a {
  color: var(--ink);
  text-decoration: none;
  font-weight: 700;
  font-size: 1.2rem;
}

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

.phone-xl {
  font-size: clamp(1.6rem, 4vw, 2.2rem) !important;
}

/* Prose */
.prose { max-width: 44rem; }
.prose p { margin: 0 0 1rem; color: var(--ink-soft); }
.prose ul { margin: 0 0 1.2rem; padding-left: 1.2rem; color: var(--ink-soft); }
.prose li { margin: 0.3rem 0; }
.prose h2 { margin-top: 2rem; }

.subgrid {
  display: grid;
  gap: 1rem;
  margin: 1.25rem 0 1.5rem;
}
@media (min-width: 700px) {
  .subgrid { grid-template-columns: 1fr 1fr; }
}

/* Promo / flyer */
.flyer-promo img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  background: var(--charcoal);
}
.flyer-promo figcaption {
  padding: 0.65rem 0.9rem 0.8rem;
  font-size: 0.9rem;
  color: var(--muted);
}

.media {
  margin: 0 0 1.5rem;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--paper-2);
}

.media img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.media figcaption {
  padding: 0.65rem 0.9rem 0.8rem;
  font-size: 0.9rem;
  color: var(--muted);
}

.brand-sign {
  margin: 0 0 1.5rem;
  max-width: 28rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--charcoal);
}
.brand-sign img {
  width: 100%;
  height: auto;
  aspect-ratio: auto;
}

/* CTA band */
.cta {
  background: var(--charcoal);
  color: var(--on-dark);
  padding: 2.75rem 1.15rem;
  border-top: 3px solid var(--red);
}

.cta h2 { color: var(--on-dark); margin-bottom: 0.45rem; }
.cta .script-line { color: #fff; margin-bottom: 0.7rem; }
.cta p { color: var(--on-dark-muted); margin: 0 0 1.25rem; max-width: 36rem; }

/* Footer */
.site-footer {
  background: #100f0f;
  color: var(--on-dark-muted);
  padding: 2.5rem 1.15rem 6.5rem;
  font-size: 0.95rem;
}

@media (min-width: 800px) {
  .site-footer { padding-bottom: 2.5rem; }
}

.footer-grid {
  display: grid;
  gap: 1.75rem;
}

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

.site-footer h2 {
  font-family: var(--display);
  color: var(--on-dark);
  font-size: 1.15rem;
  margin: 0 0 0.6rem;
  font-weight: 400;
}

.site-footer a { color: #f0c9c9; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; color: #fff; }

.footer-nav { list-style: none; margin: 0; padding: 0; }
.footer-nav li { margin: 0.3rem 0; }

.legal {
  margin-top: 2rem;
  padding-top: 1.1rem;
  border-top: 1px solid rgba(245, 245, 243, 0.1);
  font-size: 0.85rem;
}

/* Mobile call bar */
.callbar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 40;
  background: var(--red);
  padding: 0.7rem 1rem calc(0.7rem + env(safe-area-inset-bottom));
  display: flex;
  justify-content: center;
  box-shadow: 0 -8px 24px rgba(0,0,0,0.25);
}

.callbar a {
  color: #fff;
  font-weight: 800;
  text-decoration: none;
  letter-spacing: 0.04em;
  font-size: 1.05rem;
  text-transform: uppercase;
}

@media (min-width: 800px) {
  .callbar { display: none; }
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

@media (max-width: 480px) {
  .logo img { height: 3.1rem; }
  .header-call { font-size: 0.78rem; padding: 0.38rem 0.5rem; }
  :root { --header-h: 4.6rem; }
}


/* tighter mobile hero so the first screen can end at the trust bar above the call bar */
@media (max-width: 700px) {
  .hero,
  .hero-photo {
    min-height: 0;
    padding-top: 2rem;
    padding-bottom: 1.6rem;
  }
  .hero-photo { min-height: 22rem; }
  .hero h1 { font-size: 1.85rem; }
  .hero-tagline { font-size: 1.45rem; margin-bottom: 0.7rem; }
  .lede { font-size: 1rem; margin-bottom: 1.1rem; }
  .page-hero { padding: 2rem 1.15rem 1.6rem; }
}


/* Before / after pairs */
.ba-block { margin: 0 0 2rem; }
.ba-block > p { margin: 0 0 1rem; color: var(--ink-soft); }
.ba-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}
@media (min-width: 720px) {
  .ba-grid { grid-template-columns: 1fr 1fr; }
}
.ba-grid figure {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--white);
}
.ba-grid picture { display: block; }
.ba-grid img {
  width: 100%;
  height: auto;
  display: block;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center;
}
.ba-grid figcaption {
  padding: 0.7rem 0.9rem 0.9rem;
  font-size: 0.95rem;
  color: var(--ink-soft);
}
.ba-grid figcaption strong {
  display: block;
  color: var(--red);
  font-family: var(--display);
  font-weight: 400;
  letter-spacing: 0.02em;
  margin-bottom: 0.2rem;
}
.media picture { display: block; }
.media.media-square img { aspect-ratio: 1 / 1; }
.media.media-portrait img { aspect-ratio: 4 / 5; object-position: center 40%; }
