/* dirtydeedschicago.css */

@font-face {
  font-family: 'Passion One';
  src: url('./fonts/PassionOne-700.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Figtree';
  src: url('./fonts/Figtree-400.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Figtree';
  src: url('./fonts/Figtree-600.woff2') format('woff2');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Figtree';
  src: url('./fonts/Figtree-700.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --ink: #211F1D;
  --page: #F6F5F2;
  --purple: #6E4B9E;
  --deep: #5C3D86;
  --muted: #5C5A55;
  --on-dark: #EFEDE8;
  --tint: #C9B7E2;
}

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

body {
  margin: 0;
  padding: 0;
  background-color: var(--page);
  color: var(--ink);
  font-family: 'Figtree', sans-serif;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Passion One', system-ui, sans-serif;
  text-transform: uppercase;
  margin-top: 0;
  line-height: 1.1;
  letter-spacing: 0.02em;
}

a {
  color: var(--deep);
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Ribbon */
.ribbon {
  background: var(--ink);
  color: var(--on-dark);
  text-align: center;
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  position: relative;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 1rem;
}
.ribbon a {
  color: var(--on-dark);
  text-decoration: underline;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}
.ribbon .chips {
  display: flex;
  gap: 0.5rem;
  align-items: center;
}
.ribbon .chip {
  background: var(--deep);
  padding: 0.25rem 0.75rem;
  border-radius: 4px;
  text-decoration: none;
}
.ribbon button {
  background: transparent;
  border: none;
  color: var(--on-dark);
  cursor: pointer;
  text-decoration: underline;
  min-height: 44px;
  padding: 0 0.5rem;
}

/* Header */
header {
  background: white;
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.logo {
  font-family: 'Passion One', sans-serif;
  font-size: 1.5rem;
  color: var(--ink);
  text-decoration: none;
  display: block;
  line-height: 1;
}
.logo-tag {
  font-family: 'Figtree', sans-serif;
  font-size: 0.65rem;
  text-transform: uppercase;
  color: var(--muted);
  letter-spacing: 0.05em;
  margin-top: 0.25rem;
}
nav {
  display: flex;
  align-items: center;
  gap: 2rem;
}
nav a {
  color: var(--ink);
  font-weight: 600;
  font-size: 0.9rem;
}
.nav-cta {
  background: var(--deep);
  color: white !important;
  padding: 0.5rem 1.5rem;
  border-radius: 4px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  text-decoration: none !important;
}

/* Fold */
.fold {
  background: var(--ink);
  color: var(--on-dark);
  padding: 4rem 2rem;
  overflow: hidden;
}
.fold-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.kicker {
  color: var(--tint);
  text-transform: uppercase;
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  margin-bottom: 1rem;
}
.fold h1 {
  font-size: clamp(3rem, 6vw, 5rem);
  margin-bottom: 1.5rem;
}
.fold .sub {
  font-size: 1.125rem;
  margin-bottom: 2rem;
  max-width: 500px;
}
.fold-ctas {
  display: flex;
  gap: 1rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}
.btn-primary {
  background: var(--deep);
  color: white;
  padding: 0.75rem 2rem;
  border-radius: 4px;
  font-weight: 600;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}
.btn-outline {
  background: transparent;
  color: var(--on-dark);
  border: 2px solid var(--on-dark);
  padding: 0.75rem 2rem;
  border-radius: 4px;
  font-weight: 600;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}
.btn-outline:hover {
  background: rgba(255,255,255,0.1);
  text-decoration: none;
}
.fold-warranty {
  font-size: 0.875rem;
  color: var(--on-dark);
}
.fold-warranty a {
  color: var(--on-dark);
  text-decoration: underline;
}

.fold-img-wrap {
  position: relative;
  display: inline-block;
}
.fold-img-wrap img {
  border-radius: 8px;
}
.caption-chip {
  position: absolute;
  bottom: 1rem;
  left: 1rem;
  background: var(--ink);
  color: var(--on-dark);
  padding: 0.5rem 1rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  border-radius: 4px;
  text-transform: uppercase;
}
.stamp {
  position: absolute;
  bottom: -2rem;
  right: -2rem;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  border: 5px solid rgba(110, 75, 158, 0.9);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transform: rotate(-12deg);
  background: rgba(110, 75, 158, 0.15);
  backdrop-filter: blur(2px);
  z-index: 10;
  box-shadow: inset 0 0 0 2px rgba(110, 75, 158, 0.9);
  text-align: center;
}
.stamp .s-top {
  font-family: 'Passion One', sans-serif;
  color: var(--purple);
  font-size: 1.5rem;
  line-height: 1;
  margin-bottom: 0.25rem;
}
.stamp .s-bot {
  font-family: 'Figtree', sans-serif;
  font-weight: 700;
  color: var(--purple);
  font-size: 0.6rem;
  letter-spacing: 0.1em;
}

/* Core Four */
.core-four {
  padding: 5rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
}
.section-kicker {
  color: var(--deep);
  text-transform: uppercase;
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  margin-bottom: 0.5rem;
  text-align: center;
}
.core-four h2 {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 3rem;
}
.cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  align-items: stretch;
}
/* The Core Four are four EQUIVALENT services, not a ranked gallery - so equal
   weight, equal size. (The old design staggered image heights + margin-top
   inside solid white cards, which read as misalignment, not editorial.)
   Photo-forward tiles with the label overlaid on a scrim - same photo-caption
   language as the hero image. */
.card {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 6px 18px rgba(0,0,0,0.10);
}
.card img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  height: auto;
  object-fit: cover;
}
.card-label {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 2rem 1.1rem 1rem;
  font-weight: 700;
  font-size: 1.05rem;
  text-align: left;
  color: #fff;
  background: linear-gradient(to top, rgba(0,0,0,0.78) 0%, rgba(0,0,0,0.35) 55%, rgba(0,0,0,0) 100%);
}

/* Promise Band */
.promise {
  padding: 5rem 2rem;
  background: var(--page);
  position: relative;
  overflow: hidden;
}
.promise-inner {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
}
.promise h2 {
  font-size: 3rem;
  max-width: 700px;
  margin-bottom: 1.5rem;
}
.promise p {
  font-size: 1.125rem;
  max-width: 600px;
  margin-bottom: 2rem;
}
.check-items {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  font-weight: 600;
  font-size: 0.875rem;
}
.check-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.check-item svg {
  width: 16px;
  height: 16px;
  color: var(--deep);
}
.promise .stamp {
  right: 0;
  top: 50%;
  transform: translateY(-50%) rotate(-12deg);
  width: 200px;
  height: 200px;
  border-width: 6px;
}
.promise .stamp .s-top {
  font-size: 2rem;
}
.promise .stamp .s-bot {
  font-size: 0.8rem;
}

/* Drywall Band */
.drywall {
  background: var(--ink);
  color: var(--on-dark);
  padding: 0;
  display: flex;
}
.drywall-img {
  flex: 1;
  min-height: 400px;
  background: url('./img/drywall-purple.jpg') center/cover;
}
.drywall-content {
  flex: 1;
  padding: 5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.drywall-content .section-kicker {
  color: var(--tint);
  text-align: left;
}
.drywall h2 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
}
.drywall p {
  margin-bottom: 1rem;
  font-size: 1.125rem;
  color: var(--on-dark);
}
.drywall .small {
  font-size: 0.875rem;
  color: #aaa;
}

/* Gallery */
.gallery {
  padding: 5rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
}
.gallery h2 {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 3rem;
}
.masonry {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1rem;
  align-items: start;
}
.masonry img {
  border-radius: 8px;
  width: 100%;
  object-fit: cover;
}
.masonry img:nth-child(1) { height: 300px; }
.masonry img:nth-child(2) { height: 250px; margin-top: 50px; }
.masonry img:nth-child(3) { height: 350px; }
.masonry img:nth-child(4) { height: 200px; margin-top: 100px; }
.masonry img:nth-child(5) { height: 280px; margin-top: 20px; }

/* Contact */
.contact {
  padding: 5rem 2rem;
  background: var(--page);
}
.contact-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
}
.contact-info h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}
.contact-info p {
  margin-bottom: 1.5rem;
}
.contact-phone {
  font-family: 'Passion One', sans-serif;
  font-size: 3rem;
  color: var(--deep);
  display: block;
  margin-bottom: 1rem;
}
.contact-email {
  font-weight: 600;
}
.contact-form {
  background: white;
  padding: 2rem;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}
.contact-form h3 {
  font-family: 'Passion One', sans-serif;
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
}
.form-group {
  margin-bottom: 1rem;
}
.form-group label {
  display: block;
  font-weight: 700;
  font-size: 0.875rem;
  margin-bottom: 0.5rem;
}
.form-group input {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-family: 'Figtree', sans-serif;
}
.btn-submit {
  background: var(--deep);
  color: white;
  border: none;
  padding: 0.75rem 2rem;
  border-radius: 4px;
  font-weight: 600;
  width: 100%;
  cursor: pointer;
  min-height: 44px;
}
.form-thanks {
  display: none;
  background: #E8F5E9;
  color: #2E7D32;
  padding: 1rem;
  border-radius: 4px;
  margin-top: 1rem;
  font-weight: 600;
}

/* Footer */
footer {
  background: var(--ink);
  color: var(--on-dark);
  padding: 3rem 2rem;
}
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}
.footer-logo {
  font-family: 'Passion One', sans-serif;
  font-size: 1.25rem;
  text-transform: uppercase;
}
.footer-contact {
  text-align: right;
  font-size: 0.875rem;
}
.footer-contact a {
  color: var(--on-dark);
}
.footer-bottom {
  max-width: 1200px;
  margin: 2rem auto 0;
  display: flex;
  justify-content: space-between;
  font-size: 0.75rem;
  color: var(--muted);
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 1rem;
}
.footer-motto {
  font-weight: 700;
  color: var(--on-dark);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* Services Page Specs */
.services-header {
  background: var(--ink);
  color: var(--on-dark);
  padding: 4rem 2rem;
  text-align: center;
}
.services-header h1 {
  font-size: 4rem;
  margin-bottom: 1rem;
}
.services-list-container {
  padding: 5rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
}
.services-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 4rem;
}
.service-tag {
  background: white;
  border: 1px solid #ddd;
  padding: 0.75rem 1.5rem;
  border-radius: 30px;
  font-weight: 600;
  font-size: 0.9rem;
}
.service-tag.highlight {
  background: var(--deep);
  color: white;
  border-color: var(--deep);
}
.drywall-feature {
  background: white;
  padding: 3rem;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  margin-bottom: 4rem;
}
.drywall-feature h3 {
  font-size: 2rem;
  color: var(--deep);
  margin-bottom: 1.5rem;
}
.drywall-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 1rem;
}
.drywall-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
}
.drywall-list li svg {
  width: 16px;
  height: 16px;
  color: var(--deep);
  flex-shrink: 0;
  margin-top: 0.2rem;
}
.services-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-bottom: 4rem;
}
.services-gallery img {
  border-radius: 8px;
  width: 100%;
  height: 250px;
  object-fit: cover;
}
.cta-band {
  background: var(--tint);
  padding: 4rem 2rem;
  text-align: center;
}
.cta-band h2 {
  font-size: 2.5rem;
  color: var(--ink);
  margin-bottom: 1.5rem;
}

/* Reduced Motion */
@media (prefers-reduced-motion: no-preference) {
  .fade-up {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeUp 0.6s forwards;
  }
}
@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Mobile */
@media (max-width: 768px) {
  body {
    padding-bottom: 70px;
  }
  .desktop-nav {
    display: none;
  }
  .mobile-nav {
    display: block;
  }
  details.mobile-menu summary {
    list-style: none;
    font-size: 1.5rem;
    cursor: pointer;
  }
  details.mobile-menu summary::-webkit-details-marker {
    display: none;
  }
  details.mobile-menu[open] .menu-content {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    padding: 1rem 2rem;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    z-index: 50;
    gap: 1rem;
  }
  details.mobile-menu a {
    min-height: 44px;
    display: flex;
    align-items: center;
  }
  header {
    position: relative;
  }
  
  .fold-inner {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .fold h1 {
    font-size: 3rem;
  }
  
  .stamp {
    width: 100px;
    height: 100px;
    bottom: -1rem;
    right: -1rem;
  }
  .stamp .s-top { font-size: 1rem; }
  .stamp .s-bot { font-size: 0.4rem; }
  
  .cards {
    grid-template-columns: 1fr;
  }
  .card img {
    height: auto !important;
    margin-top: 0 !important;
  }
  
  .promise .stamp {
    display: none;
  }
  
  .drywall {
    flex-direction: column;
  }
  .drywall-img {
    min-height: 250px;
  }
  .drywall-content {
    padding: 2rem;
  }
  
  .masonry {
    grid-template-columns: 1fr;
  }
  .masonry img {
    height: auto !important;
    margin-top: 0 !important;
  }
  
  .contact-inner {
    grid-template-columns: 1fr;
  }
  
  .services-gallery {
    grid-template-columns: 1fr;
  }
  
  .sticky-call {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--deep);
    padding: 1rem;
    text-align: center;
    z-index: 100;
  }
  .sticky-call a {
    color: white;
    font-weight: 700;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    min-height: 44px;
  }
}

@media (min-width: 769px) {
  .mobile-nav, .sticky-call {
    display: none;
  }
}
