:root {
  --asphalt: #15171B;
  --red: #C6191E;
  --red-ink: #A9151A;
  --yellow: #FFD100;
  --concrete: #F2F3F5;
  --light: #E5E7EA;
  --caption: #555B63;
  --ink: #15171B;
}

@font-face {
  font-family: 'Teko';
  src: url('../fonts/teko.woff2') format('woff2');
  font-weight: 600 700;
  font-display: swap;
  font-style: normal;
}

@font-face {
  font-family: 'Nunito Sans';
  src: url('../fonts/nunito-sans.woff2') format('woff2');
  font-weight: 400 700;
  font-display: swap;
  font-style: normal;
}

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

body {
  margin: 0;
  font-family: 'Nunito Sans', sans-serif;
  color: var(--ink);
  background: #fff;
  line-height: 1.5;
  overflow-x: hidden;
  padding-bottom: 120px;
}
@media (min-width: 768px) {
  body {
    padding-bottom: 60px;
  }
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Teko', sans-serif;
  text-transform: uppercase;
  margin: 0 0 0.5em;
  line-height: 1.1;
}

p {
  margin: 0 0 1rem;
}

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

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

.asphalt-bg {
  background-color: var(--asphalt);
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' opacity='0.05'/%3E%3C/svg%3E");
  color: var(--light);
}

.concrete-bg {
  background-color: var(--concrete);
  color: var(--ink);
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Ribbon */
.preview-ribbon {
  background: var(--ink);
  color: var(--light);
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  position: fixed;
  bottom: 56px;
  left: 0;
  width: 100%;
  z-index: 100;
  flex-wrap: wrap;
}
@media (min-width: 768px) {
  .preview-ribbon {
    bottom: 0;
  }
}
.preview-ribbon button {
  background: none;
  border: none;
  color: var(--light);
  cursor: pointer;
  padding: 0.25rem;
  margin-left: auto;
}
.preview-ribbon a {
  text-decoration: underline;
}

/* Header */
.site-header {
  background: var(--concrete);
  padding: 1rem 0;
  position: relative;
  z-index: 50;
}
.site-header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.logo-plate {
  background: #000;
  padding: 0.5rem;
  display: inline-block;
}
.logo-plate img {
  height: 44px;
  width: auto;
}
.desktop-nav {
  display: none;
  align-items: center;
  gap: 2rem;
  font-weight: 700;
}
.desktop-nav a:hover {
  text-decoration: underline;
}

.btn-red {
  background: var(--red);
  color: #fff;
  padding: 0.75rem 1.5rem;
  border-radius: 4px;
  font-weight: 700;
  display: inline-block;
  text-align: center;
  border: 1px solid var(--red);
}
.btn-red:hover {
  background: var(--red-ink);
  border-color: var(--red-ink);
}

.btn-outline-yellow {
  background: transparent;
  color: #fff;
  padding: 0.75rem 1.5rem;
  border: 2px solid var(--yellow);
  border-radius: 4px;
  font-weight: 700;
  display: inline-block;
  text-align: center;
}
.btn-outline-yellow:hover {
  background: rgba(255, 209, 0, 0.1);
}

.mobile-nav {
  position: relative;
}
.mobile-nav summary {
  list-style: none;
  font-weight: 700;
  cursor: pointer;
  padding: 0.5rem 1rem;
  border: 1px solid var(--caption);
  border-radius: 4px;
  background: #fff;
}
.mobile-nav summary::-webkit-details-marker {
  display: none;
}
.mobile-nav-dropdown {
  position: absolute;
  top: 100%;
  right: 0;
  background: #fff;
  border: 1px solid var(--caption);
  padding: 1rem;
  width: 200px;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
  z-index: 60;
  border-radius: 4px;
  margin-top: 0.5rem;
}
.mobile-nav-dropdown a {
  font-weight: 700;
}

/* Sticky Call Bar */
.sticky-call {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: var(--red);
  color: #fff;
  text-align: center;
  padding: 1rem;
  font-weight: 700;
  z-index: 90;
  display: block;
}
@media (min-width: 768px) {
  .sticky-call {
    display: none;
  }
  .mobile-nav {
    display: none;
  }
  .desktop-nav {
    display: flex;
  }
}

/* Hero Section */
.hero {
  position: relative;
  padding: 4rem 0 0;
  overflow: hidden;
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 880px;
  padding-bottom: 4rem;
}
.centerline {
  position: absolute;
  top: 0;
  bottom: 0;
  right: 0.5rem;
  width: 4px;
  background-image: repeating-linear-gradient(to bottom, var(--yellow) 0, var(--yellow) 60px, transparent 60px, transparent 120px);
  z-index: 1;
}

.kicker {
  color: var(--yellow);
  font-weight: 700;
  font-size: 0.875rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}
.kicker::before {
  content: "";
  display: block;
  width: 40px;
  height: 2px;
  background: var(--yellow);
}

.hero h1 {
  font-size: clamp(2.6rem, 4.6vw, 4.2rem);
  max-width: 860px;
  color: #fff;
  margin-bottom: 1rem;
}
.hero p {
  font-size: 1.125rem;
  margin-bottom: 2rem;
  max-width: 560px;
}
.hero-ctas {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 3rem;
}
@media (min-width: 600px) {
  .hero-ctas {
    flex-direction: row;
  }
}

.proof-strip {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  border-top: 2px solid #fff;
  padding-top: 1rem;
}
.proof-item {
  font-family: 'Teko', sans-serif;
  font-size: 1.5rem;
  color: #fff;
  text-transform: uppercase;
  line-height: 1;
}
.proof-item a {
  color: var(--yellow);
  text-decoration: underline;
}
.proof-item span {
  color: var(--yellow);
}
@media (min-width: 768px) {
  .proof-strip {
    flex-direction: row;
    border-top: none;
    padding-top: 0;
  }
  .proof-item {
    border-left: 2px solid #fff;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
  .proof-item:first-child {
    border-left: none;
    padding-left: 0;
  }
  .hero {
    padding: 6rem 0 0;
  }
  .centerline {
    right: 33%;
    width: 10px;
  }
}

/* Photo Band */
.photo-band {
  position: relative;
}
.photo-band img {
  width: 100%;
  height: 40vh;
  object-fit: cover;
  display: block;
}
.caption-plate {
  background: #fff;
  color: var(--caption);
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  display: inline-block;
  margin-top: -2rem;
  position: relative;
  z-index: 10;
  margin-left: 1.5rem;
}

/* Services */
.services-section {
  padding: 4rem 0;
}
.services-section h2 {
  font-size: 2.5rem;
}
.services-intro {
  max-width: 700px;
  margin-bottom: 3rem;
  color: var(--caption);
}

.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}
.service-card {
  background: var(--concrete);
  border-radius: 4px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.service-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}
.service-card-body {
  padding: 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.service-card-body h3 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}
.service-card-body p {
  color: var(--caption);
  flex: 1;
  font-size: 0.9375rem;
}
.service-card-body .details-link {
  color: var(--red);
  font-weight: 700;
  font-size: 0.875rem;
  margin-top: 1rem;
}
.service-card-body .details-link:hover {
  text-decoration: underline;
}

@media (min-width: 768px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .service-card.featured {
    grid-column: span 2;
  }
  .service-card.featured img {
    height: 300px;
  }
}
@media (min-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .service-card.featured {
    grid-column: span 3;
  }
  /* Wait, "No equal-card grids; stall cards sized 2-1-1 wrap" */
}

/* Why Maintain */
.why-maintain {
  padding: 4rem 0;
}
.why-maintain h2 {
  font-size: 2.5rem;
}
.why-maintain-intro {
  max-width: 800px;
  margin-bottom: 3rem;
}
.chips-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}
.chip {
  background: #fff;
  padding: 1.5rem;
  border-radius: 4px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}
.chip-kicker {
  display: block;
  width: 40px;
  height: 6px;
  border-top: 2px solid var(--yellow);
  border-bottom: 2px solid var(--yellow);
  margin-bottom: 1rem;
}
.chip h3 {
  font-size: 1.25rem;
}
.chip p {
  color: var(--caption);
  font-size: 0.875rem;
  margin: 0;
}
@media (min-width: 768px) {
  .chips-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Heritage */
.heritage-band {
  display: grid;
  grid-template-columns: 1fr;
}
.heritage-img {
  width: 100%;
  height: 300px;
  object-fit: cover;
}
.heritage-content {
  padding: 3rem 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.heritage-content h2 {
  font-size: 2.5rem;
  color: #fff;
}
.heritage-content p {
  color: var(--light);
}
@media (min-width: 768px) {
  .heritage-band {
    grid-template-columns: 1fr 1fr;
  }
  .heritage-img {
    height: 100%;
  }
  .heritage-content {
    padding: 4rem 3rem;
  }
}

/* Ask */
.ask-section {
  padding: 4rem 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}
.ask-info h2 {
  font-size: 2.5rem;
  max-width: 500px;
}
.ask-contact {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.ask-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  color: var(--caption);
}
.ask-contact-item svg {
  flex-shrink: 0;
  margin-top: 0.25rem;
  color: var(--red);
}

.ask-form-box {
  background: #fff;
  padding: 2rem;
  border-radius: 4px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}
.ask-form-box h3 {
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
}
.form-group {
  margin-bottom: 1rem;
}
.form-group label {
  display: block;
  font-size: 0.875rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}
.form-group input {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-family: inherit;
}
.btn-submit {
  width: 100%;
  background: var(--red);
  color: #fff;
  border: none;
  padding: 1rem;
  font-weight: 700;
  font-size: 1rem;
  border-radius: 4px;
  cursor: pointer;
  margin-top: 1rem;
}
.btn-submit:hover {
  background: var(--red-ink);
}
.form-note {
  display: block;
  font-size: 0.75rem;
  color: var(--caption);
  margin-top: 0.5rem;
  text-align: center;
}
@media (min-width: 768px) {
  .ask-section {
    grid-template-columns: 1fr 400px;
  }
}

/* Footer */
.site-footer {
  padding: 4rem 0;
  text-align: center;
}
.site-footer .logo-plate {
  margin-bottom: 2rem;
}
.footer-contact {
  margin-bottom: 2rem;
}
.footer-phone {
  color: var(--yellow);
  font-family: 'Teko', sans-serif;
  font-size: 2.5rem;
  font-weight: 700;
  display: block;
}
.footer-hours {
  color: var(--light);
  font-size: 0.875rem;
}
.copyright {
  color: var(--caption);
  font-size: 0.875rem;
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 2rem;
  margin-bottom: 4rem; /* space for mobile sticky bar */
}

/* Services Page specific */
.page-header {
  padding: 4rem 0;
  text-align: center;
  position: relative;
}
.page-header h1 {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  color: #fff;
  position: relative;
  z-index: 2;
}

.service-detail-section {
  padding: 4rem 0;
  border-bottom: 1px solid var(--light);
}
.service-detail-section:last-child {
  border-bottom: none;
}
.service-detail-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}
.service-detail-content h2 {
  font-size: 2.5rem;
}
.service-detail-img img {
  width: 100%;
  border-radius: 4px;
  height: 300px;
  object-fit: cover;
}
@media (min-width: 768px) {
  .service-detail-grid {
    grid-template-columns: 1fr 1fr;
    align-items: center;
  }
  .service-detail-section:nth-child(even) .service-detail-grid {
    direction: rtl;
  }
  .service-detail-section:nth-child(even) .service-detail-content {
    direction: ltr;
  }
  .service-detail-img img {
    height: 400px;
  }
}

/* Reveal */
@media (prefers-reduced-motion: no-preference) {
  .reveal.pre {
    opacity: 0;
    transform: translateY(20px);
  }
  .reveal {
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
  }
}
