/* ============================================================
   Guelph Balcony Brothers — shared stylesheet
   Extracted from the original one-page site and extended
   for the multi-page build. All colors/type are unchanged.
   ============================================================ */

:root {
  --ink: #1F2A24;
  --cream: #F5F1E8;
  --rust: #C75D3A;
  --sage: #7A8B7F;
  --white: #FFFFFF;
  --rust-soft: #E8C9BC;
  --max-w: 1140px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html, body { overflow-x: hidden; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Work Sans', sans-serif;
  color: var(--ink);
  background: var(--cream);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  font-family: 'Fraunces', serif;
  line-height: 1.1;
  font-weight: 600;
  letter-spacing: -0.01em;
}

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

.wrap {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- corrosion edge divider (signature element) ---------- */
.corrosion-edge {
  width: 100%;
  height: 28px;
  display: block;
  line-height: 0;
}
.corrosion-edge svg { width: 100%; height: 100%; display: block; }

/* ---------- header ---------- */
header {
  background: var(--ink);
  color: var(--cream);
  position: sticky;
  top: 0;
  z-index: 50;
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0;
  gap: 24px;
}
.logo {
  font-family: 'Fraunces', serif;
  font-weight: 700;
  font-size: 1.35rem;
  letter-spacing: -0.01em;
  white-space: nowrap;
  padding-left: 12px;
}
.logo span { color: var(--rust); }
.nav-links {
  display: flex;
  gap: 26px;
  align-items: center;
  font-size: 0.95rem;
  font-weight: 500;
}
.nav-links a { opacity: 0.85; transition: opacity 0.2s; }
.nav-links a:hover { opacity: 1; }
.nav-links a.active {
  opacity: 1;
  border-bottom: 2px solid var(--rust);
  padding-bottom: 2px;
}
.nav-cta {
  background: var(--rust);
  color: var(--white) !important;
  padding: 10px 22px;
  border-radius: 3px;
  font-weight: 600;
  font-size: 0.9rem;
  opacity: 1 !important;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  transition: background 0.2s;
  border-bottom: none !important;
}
.nav-cta:hover { background: #B14E30; }

/* mobile nav toggle */
.nav-toggle {
  display: none;
  background: none;
  border: 1px solid rgba(245,241,232,0.3);
  border-radius: 3px;
  color: var(--cream);
  padding: 8px 12px;
  font-size: 1.1rem;
  cursor: pointer;
  line-height: 1;
}

/* ---------- hero (home) ---------- */
.hero {
  background: var(--ink);
  color: var(--cream);
  padding: 72px 0 96px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  top: -120px;
  right: -120px;
  width: 420px;
  height: 420px;
  border: 1px solid rgba(245,241,232,0.08);
  border-radius: 50%;
}
.hero::after {
  content: "";
  position: absolute;
  top: -40px;
  right: 40px;
  width: 280px;
  height: 280px;
  border: 1px solid rgba(199,93,58,0.25);
  border-radius: 50%;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 56px;
  align-items: center;
  position: relative;
}
/* Brothers photo stands flush on the hero's bottom edge (feet on the line) */
.hero .hero-visual {
  align-self: end;
  position: relative;
}
.hero .hero-visual .hero-photo {
  margin-bottom: -96px; /* equals hero bottom padding, so feet meet the edge */
  align-self: end;
}
.hero .hero-visual .hero-photo img {
  display: block;
  width: 100%;
  height: auto;
}
.eyebrow {
  font-size: 0.8rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--rust-soft);
  font-weight: 600;
  margin-bottom: 18px;
  display: inline-block;
}
.hero h1 {
  font-size: clamp(2.6rem, 6vw, 4.4rem);
  color: var(--white);
  margin-bottom: 22px;
}
.hero h1 em {
  font-style: italic;
  color: var(--rust);
}
.hero p.sub {
  font-size: 1.15rem;
  color: rgba(245,241,232,0.82);
  max-width: 540px;
  margin-bottom: 32px;
}
.btn-row { display: flex; gap: 16px; flex-wrap: wrap; align-items: center; }
.btn-primary {
  background: var(--rust);
  color: var(--white);
  padding: 16px 32px;
  border-radius: 3px;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  transition: background 0.2s, transform 0.2s;
  display: inline-block;
  border: none;
  cursor: pointer;
}
.btn-primary:hover { background: #B14E30; transform: translateY(-1px); }
.btn-secondary {
  color: var(--cream);
  font-weight: 600;
  border-bottom: 1px solid var(--rust);
  padding-bottom: 4px;
  font-size: 0.95rem;
}
.btn-secondary-dark {
  color: var(--ink);
  font-weight: 600;
  border-bottom: 1px solid var(--rust);
  padding-bottom: 4px;
  font-size: 0.95rem;
}

/* hero visual card */
.hero-visual { position: relative; }
.hero-card {
  background: var(--cream);
  border-radius: 4px;
  padding: 32px;
  color: var(--ink);
  box-shadow: 0 24px 60px rgba(0,0,0,0.35);
  position: relative;
}
.hero-card .label {
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--rust);
  font-weight: 700;
  margin-bottom: 10px;
}
.hero-card h3 { font-size: 1.5rem; margin-bottom: 14px; }
.hero-card ul {
  list-style: none;
  font-size: 0.95rem;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.hero-card li { display: flex; gap: 10px; align-items: flex-start; }
.hero-card li::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--rust);
  margin-top: 7px;
  flex-shrink: 0;
}

/* ---------- hero risk strip ---------- */
.risk-strip {
  background: var(--ink);
  color: var(--cream);
  padding: 0 0 40px;
}
.risk-strip-label {
  display: block;
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--rust-soft);
  margin-bottom: 20px;
  padding-top: 28px;
  border-top: 1px solid rgba(245,241,232,0.12);
}
.risk-items {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.risk-items li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.92rem;
  color: rgba(245,241,232,0.85);
  line-height: 1.35;
}
.risk-items svg {
  width: 26px;
  height: 26px;
  color: var(--rust);
  flex-shrink: 0;
}

/* ---------- inner-page hero (smaller) ---------- */
.page-hero {
  background: var(--ink);
  color: var(--cream);
  padding: 64px 0 72px;
  position: relative;
  overflow: hidden;
}
.page-hero::after {
  content: "";
  position: absolute;
  top: -80px;
  right: -60px;
  width: 320px;
  height: 320px;
  border: 1px solid rgba(199,93,58,0.25);
  border-radius: 50%;
}
.page-hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  color: var(--white);
  margin-bottom: 18px;
  max-width: 720px;
  position: relative;
}
.page-hero h1 em { font-style: italic; color: var(--rust); }
.page-hero p.sub {
  font-size: 1.1rem;
  color: rgba(245,241,232,0.82);
  max-width: 620px;
  margin-bottom: 28px;
  position: relative;
}
.page-hero .btn-row { position: relative; }

/* Our Work hero: compact, text-only, so the first job peeks into view */
.page-hero.ourwork-hero { padding: 44px 0 40px; }
.page-hero.ourwork-hero h1 { margin-bottom: 14px; }
.page-hero.ourwork-hero p.sub { margin-bottom: 22px; }
@media (max-width: 860px) {
  .page-hero.ourwork-hero { padding: 32px 0 30px; }
}

/* hero with brothers photo on the right */
.hero-with-photo .wrap {
  display: grid;
  grid-template-columns: 1fr minmax(280px, 420px);
  column-gap: 40px;
  align-items: end;
}
.hero-with-photo .hero-text { grid-column: 1; min-width: 0; }
.hero-with-photo .hero-btns { grid-column: 1; }
.hero-with-photo .hero-photo { grid-column: 2; grid-row: 1 / span 2; }
.hero-with-photo .hero-text h1,
.hero-with-photo .hero-text p.sub { max-width: none; }
.hero-photo {
  position: relative;
  align-self: end;
  margin-bottom: -72px; /* let them stand on the section edge */
}
.hero-photo img {
  display: block;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 12px 30px rgba(0,0,0,0.35));
}
@media (max-width: 860px) {
  .hero-with-photo .wrap {
    display: flex;
    flex-direction: column;
  }
  .hero-with-photo .hero-text { order: 1; }
  .hero-with-photo .hero-photo {
    order: 2;
    margin: 8px auto 24px;
    max-width: 300px;
    width: 100%;
  }
  .hero-with-photo .hero-btns { order: 3; }
}

/* Our Work hero: photo tucked into the top-right corner next to the title */
.page-hero.hero-with-photo { padding-top: 48px; padding-bottom: 60px; }
.page-hero.hero-with-photo .wrap {
  grid-template-columns: 1fr minmax(240px, 360px);
  align-items: start;
}
.page-hero.hero-with-photo .hero-photo {
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: start;
  margin-bottom: 0;
  position: relative;
  z-index: 2;
}
.page-hero.hero-with-photo .hero-photo img {
  filter: drop-shadow(0 10px 26px rgba(0,0,0,0.4));
}
@media (max-width: 860px) {
  .page-hero.hero-with-photo .hero-photo { max-width: 260px; }
  /* Deterrents bird: center it in the free space with equal breathing room
     above and below, so it isn't crammed against the estimate button */
  .page-hero.deterrent-hero .hero-photo {
    max-width: 220px;
    margin: 28px auto 56px;
  }
}

/* About hero: trust strip filling the bottom-left (desktop only) */
.hero-trust { display: none; }
@media (min-width: 861px) {
  .about-hero .wrap { align-items: stretch; }
  .about-hero .hero-text {
    display: flex;
    flex-direction: column;
    grid-row: 1 / span 2;
  }
  .about-hero .hero-photo { grid-row: 1 / span 2; }
  .about-hero .hero-text .sub { margin-bottom: 0; }
  .hero-trust {
    display: grid;
    grid-template-columns: repeat(3, auto);
    justify-content: start;
    gap: 0;
    list-style: none;
    margin-top: auto;
    padding-top: 48px;
  }
  .hero-trust li {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 4px 26px 4px 0;
    margin-right: 26px;
    border-right: 1px solid rgba(199,93,58,0.35);
  }
  .hero-trust li:last-child { border-right: none; margin-right: 0; padding-right: 0; }
  .hero-trust strong {
    font-family: 'Fraunces', serif;
    font-size: 1.04rem;
    font-weight: 600;
    color: var(--white);
    line-height: 1.2;
  }
  .hero-trust span {
    font-size: 0.82rem;
    color: rgba(245,241,232,0.7);
    line-height: 1.3;
  }
}

/* Homepage hero: brothers stand flush on the bottom edge (feet on the line) */
.page-hero.home-hero { padding-bottom: 0; overflow: hidden; }
.page-hero.home-hero .wrap {
  grid-template-columns: 1.15fr 0.85fr;
  align-items: end;
}
.page-hero.home-hero .hero-photo {
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: end;
  max-width: 420px;
  margin: 0 0 0 auto;
  margin-bottom: -4px; /* feet sit right on the bottom line */
  z-index: 2;
}
.page-hero.home-hero .hero-text { align-self: center; padding-bottom: 40px; }
.page-hero.home-hero .hero-btns { align-self: end; padding-bottom: 40px; }
@media (max-width: 860px) {
  .page-hero.home-hero .wrap {
    display: flex;
    flex-direction: column;
    align-items: stretch;
  }
  .page-hero.home-hero .hero-text { order: 1; align-self: stretch; }
  .page-hero.home-hero .hero-btns {
    order: 2;
    align-self: stretch;
    width: 100%;
    margin: 0 0 8px;
    padding-bottom: 0;
  }
  .page-hero.home-hero .hero-photo {
    order: 3;
    align-self: center;
    max-width: 320px;
    margin: 0 auto;
    margin-bottom: -4px;
  }
  .page-hero.home-hero .hero-text { padding-bottom: 0; }
  .page-hero.home-hero .hero-btns .btn-primary { width: 100%; text-align: center; }
}

/* ---------- sections ---------- */
section { padding: 80px 0; }
.section-ink { background: var(--ink); color: var(--cream); }
.section-white { background: var(--white); }

.section-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 56px;
}
.section-head .eyebrow { color: var(--rust); display: block; text-align: center; }
.section-head h2 { font-size: clamp(1.9rem, 4vw, 2.7rem); margin-bottom: 16px; }
.section-head p { font-size: 1.05rem; color: var(--sage); }
.section-ink .section-head p { color: rgba(245,241,232,0.7); }

/* cards */
.cards-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.proof-dots { display: none; }
.cards-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}
.card {
  background: var(--cream);
  border-radius: 4px;
  padding: 36px 30px;
  border-top: 4px solid var(--rust);
}
.card h3 { font-size: 1.3rem; margin-bottom: 14px; color: var(--ink); }
.card p { color: #4d5750; font-size: 0.95rem; margin-bottom: 16px; }
.card ul {
  list-style: none;
  font-size: 0.92rem;
  display: flex;
  flex-direction: column;
  gap: 8px;
  color: #3a4540;
}
.card li { display: flex; gap: 10px; align-items: flex-start; }
.card li::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--rust);
  margin-top: 8px;
  flex-shrink: 0;
}
.card .card-link {
  display: inline-block;
  margin-top: 4px;
  color: var(--rust);
  font-weight: 600;
  font-size: 0.92rem;
}
.card .card-link:hover { color: #B14E30; }

/* card with image header (conversion proof cards) */
.card.has-img {
  padding: 0 0 30px;
  border-top: none;
  overflow: hidden;
}
.card.has-img .card-img {
  display: block;
  width: 100%;
  aspect-ratio: 720 / 420;
  object-fit: cover;
  border-bottom: 4px solid var(--rust);
  margin-bottom: 26px;
}
.card.has-img h3,
.card.has-img p { padding-left: 30px; padding-right: 30px; }

/* Before/After overlay labels on a proof card image (match the burned-in labels on the other cards) */
.card.has-img .card-img-wrap {
  position: relative;
  margin-bottom: 26px;
}
.card.has-img .card-img-wrap .card-img {
  margin-bottom: 0;
}
.ba-label {
  position: absolute;
  top: 0;
  display: inline-block;
  padding: 5px 14px;
  color: var(--white);
  font-family: 'Work Sans', sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  line-height: 1.2;
}
.ba-before {
  left: 0;
  background: var(--ink);
}
.ba-after {
  left: 50%;
  background: var(--rust);
}

/* corrosion comparison */
.corrosion-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 12px 40px rgba(0,0,0,0.06);
}
.corrosion-col { padding: 48px 40px; }
.col-bad { background: #2A2521; color: #E8DDD3; }
.col-good { background: var(--white); color: var(--ink); }
.corrosion-col h3 { font-size: 1.5rem; margin-bottom: 18px; }
.col-bad h3 { color: var(--rust-soft); }
.col-good h3 { color: var(--ink); }
.corrosion-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
  font-size: 0.98rem;
}
.corrosion-col li { display: flex; gap: 12px; align-items: flex-start; }
.col-bad li::before { content: "✕"; color: var(--rust); font-weight: 700; flex-shrink: 0; }
.col-good li::before { content: "✓"; color: #5C7A63; font-weight: 700; flex-shrink: 0; }

/* gimmick chips */
.gimmick-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
  margin-top: 36px;
}
.gimmick-chip {
  background: rgba(245,241,232,0.06);
  border: 1px solid rgba(245,241,232,0.15);
  color: rgba(245,241,232,0.6);
  padding: 10px 18px;
  border-radius: 100px;
  font-size: 0.88rem;
  text-decoration: line-through;
}

/* process */
.process {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  background: var(--ink);
  border-radius: 4px;
  padding: 48px 40px;
}
.process-step { position: relative; padding-top: 8px; }
.process-step .num {
  font-family: 'Fraunces', serif;
  font-size: 2.4rem;
  color: var(--rust-soft);
  font-weight: 700;
  margin-bottom: 8px;
  display: block;
}
.process-step h3 { font-size: 1.15rem; margin-bottom: 8px; color: var(--cream); }
.process-step p { font-size: 0.92rem; color: rgba(245,241,232,0.7); }

/* testimonial */
.testimonial {
  background: var(--cream);
  color: var(--ink);
  border-left: 4px solid var(--rust);
  padding: 40px 48px;
  border-radius: 0 4px 4px 0;
  max-width: 760px;
  margin: 0 auto;
}
.testimonial p.quote {
  font-family: 'Fraunces', serif;
  font-size: 1.4rem;
  font-style: italic;
  margin-bottom: 18px;
  line-height: 1.5;
  color: var(--ink);
}
.testimonial .who { font-weight: 700; font-size: 0.95rem; color: var(--ink); }
.testimonial .who span {
  font-weight: 400;
  color: var(--sage);
  text-transform: uppercase;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
}

/* review carousel */
.review-carousel {
  position: relative;
  max-width: 920px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
}
.carousel-track {
  flex: 1;
  min-width: 0;
  max-width: 760px;
}
.carousel-slide { width: 100%; }
.carousel-slide[hidden] { display: none; }
.carousel-arrow {
  flex: 0 0 auto;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid rgba(245,241,232,0.35);
  background: transparent;
  color: var(--cream);
  font-size: 1.3rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
}
.carousel-arrow:hover {
  background: var(--rust);
  border-color: var(--rust);
  transform: scale(1.05);
}
.carousel-dots {
  position: absolute;
  bottom: -28px;
  left: 0;
  right: 0;
  display: flex;
  gap: 8px;
  justify-content: center;
}
.carousel-dots button {
  width: 8px;
  height: 8px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: rgba(245,241,232,0.3);
  cursor: pointer;
  transition: background 0.18s ease;
}
.carousel-dots button.active { background: var(--rust); }

/* Estimate form anchor: clear the sticky header when jumped to via #estimate */
#estimate { scroll-margin-top: 90px; }

/* About reviews: extra bottom room so the dots clear the green and leave breathing space */
.about-reviews { padding-bottom: 112px; }

/* final CTA banner */
.final-cta {
  background: linear-gradient(135deg, var(--rust) 0%, #B14E30 100%);
  color: var(--white);
  border-radius: 4px;
  padding: 64px 48px;
  text-align: center;
}
.final-cta h2 { color: var(--white); font-size: clamp(1.9rem, 4vw, 2.6rem); margin-bottom: 14px; }
.final-cta p { font-size: 1.05rem; opacity: 0.92; max-width: 560px; margin: 0 auto 32px; }
.final-cta .btn-primary { background: var(--ink); color: var(--cream); }
.final-cta .btn-primary:hover { background: #0f1512; }

/* ---------- estimate form ---------- */
.estimate-form {
  max-width: 640px;
  margin: 0 auto;
  text-align: left;
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}
.field { display: flex; flex-direction: column; gap: 6px; }
.field-full { margin-bottom: 24px; }
.estimate-form label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--white);
  letter-spacing: 0.02em;
}
.estimate-form input,
.estimate-form textarea {
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.35);
  border-radius: 3px;
  padding: 12px 14px;
  color: var(--white);
  font-family: 'Work Sans', sans-serif;
  font-size: 0.95rem;
  resize: vertical;
}
.estimate-form input::placeholder,
.estimate-form textarea::placeholder { color: rgba(255,255,255,0.55); }
.estimate-form input:focus,
.estimate-form textarea:focus {
  outline: 2px solid var(--ink);
  outline-offset: 2px;
  background: rgba(255,255,255,0.18);
}
.form-submit {
  background: var(--ink);
  color: var(--cream);
  padding: 16px 32px;
  border-radius: 3px;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  width: 100%;
  display: block;
  transition: background 0.2s;
}
.form-submit:hover { background: #0f1512; }
.form-status {
  margin-top: 14px;
  font-size: 0.9rem;
  text-align: center;
  color: var(--white);
  min-height: 1.4em;
}

/* address autocomplete */
.field-address { position: relative; }
.address-suggestions {
  list-style: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  z-index: 20;
  background: var(--ink);
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 3px;
  margin-top: 4px;
  max-height: 220px;
  overflow-y: auto;
  display: none;
}
.address-suggestions.open { display: block; }
.address-suggestions li {
  padding: 10px 14px;
  font-size: 0.9rem;
  color: var(--cream);
  cursor: pointer;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.address-suggestions li:last-child { border-bottom: none; }
.address-suggestions li:hover,
.address-suggestions li.active { background: rgba(255,255,255,0.1); }

/* ---------- projects ---------- */
.project-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}
.project-card {
  background: var(--cream);
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 8px 28px rgba(0,0,0,0.06);
  display: flex;
  flex-direction: column;
}
.project-photo {
  aspect-ratio: 16 / 9;
  background: repeating-linear-gradient(
    -45deg,
    #2A2521,
    #2A2521 14px,
    #332D28 14px,
    #332D28 28px
  );
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(245,241,232,0.55);
  font-size: 0.82rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 600;
}
.project-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* before/after image: ONE fixed ratio for every card, identical on all devices.
   The before/after split, divider, and labels are baked into each JPG (1060x950),
   so the browser never crops differently across breakpoints. */
.ba-photo {
  width: 100%;
  aspect-ratio: 530 / 475;
  object-fit: cover;
  display: block;
  background: var(--ink);
}
.project-body { padding: 28px 28px 32px; }
.project-tag {
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--rust);
  font-weight: 700;
  margin-bottom: 8px;
  display: block;
}
.project-body h3 { font-size: 1.25rem; margin-bottom: 10px; }
.project-body p { font-size: 0.93rem; color: #4d5750; }
.project-result {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid rgba(31,42,36,0.12);
  font-size: 0.88rem;
  color: var(--ink);
  font-weight: 600;
}
.project-result span { color: var(--rust); }

/* ---------- FAQ ---------- */
.faq-list { max-width: 760px; margin: 0 auto; }
.faq-item {
  background: var(--cream);
  border-radius: 4px;
  margin-bottom: 14px;
  border-left: 4px solid var(--rust);
}
.faq-item summary {
  font-family: 'Fraunces', serif;
  font-weight: 600;
  font-size: 1.08rem;
  padding: 20px 24px;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  font-family: 'Work Sans', sans-serif;
  color: var(--rust);
  font-size: 1.4rem;
  font-weight: 400;
  flex-shrink: 0;
}
.faq-item[open] summary::after { content: "–"; }
.faq-item .faq-body {
  padding: 0 24px 22px;
  font-size: 0.95rem;
  color: #4d5750;
}

/* ---------- contact info blocks ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 48px;
  align-items: start;
}
.contact-info-card {
  background: var(--cream);
  border-radius: 4px;
  padding: 36px 32px;
  border-top: 4px solid var(--rust);
}
.contact-info-card h3 { font-size: 1.3rem; margin-bottom: 18px; }
.contact-line { margin-bottom: 18px; }
.contact-line .label {
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--rust);
  font-weight: 700;
  display: block;
  margin-bottom: 2px;
}
.contact-line .value { font-size: 1rem; font-weight: 600; }
.contact-line .value a { color: var(--ink); border-bottom: 1px solid var(--rust); }
.contact-form-panel {
  background: linear-gradient(135deg, var(--rust) 0%, #B14E30 100%);
  border-radius: 4px;
  padding: 44px 40px;
}
.contact-form-panel h3 {
  color: var(--white);
  font-size: 1.5rem;
  margin-bottom: 8px;
}
.contact-form-panel > p {
  color: rgba(255,255,255,0.9);
  font-size: 0.95rem;
  margin-bottom: 24px;
}

/* ---------- about page ---------- */
.story-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 56px;
  align-items: center;
}
.story-grid h2 { font-size: clamp(1.8rem, 3.5vw, 2.5rem); margin-bottom: 20px; }
.story-grid p { margin-bottom: 16px; color: #3a4540; font-size: 1rem; }
.values-stack { display: flex; flex-direction: column; gap: 18px; }
.value-item {
  background: var(--cream);
  border-left: 4px solid var(--rust);
  border-radius: 0 4px 4px 0;
  padding: 22px 26px;
}
.value-item h3 { font-size: 1.1rem; margin-bottom: 6px; }
.value-item p { font-size: 0.92rem; color: #4d5750; margin: 0; }

/* guarantee band */
.guarantee-band {
  background: var(--ink);
  color: var(--cream);
  border-radius: 4px;
  padding: 48px 44px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 32px;
  align-items: center;
}
.guarantee-mark {
  width: 84px;
  height: 84px;
  border: 2px solid var(--rust);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Fraunces', serif;
  font-weight: 700;
  font-size: 1.6rem;
  color: var(--rust-soft);
  flex-shrink: 0;
}
.guarantee-band h3 { color: var(--white); font-size: 1.5rem; margin-bottom: 8px; }
.guarantee-band p { color: rgba(245,241,232,0.75); font-size: 0.98rem; }

/* ---------- footer ---------- */
footer {
  background: var(--ink);
  color: rgba(245,241,232,0.6);
  padding: 56px 0 32px;
  font-size: 0.9rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 40px;
  margin-bottom: 40px;
}
.footer-grid h4 {
  color: var(--cream);
  font-family: 'Fraunces', serif;
  font-size: 1rem;
  margin-bottom: 16px;
  font-weight: 600;
}
.footer-grid ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-grid a:hover { color: var(--rust-soft); }
.footer-logo {
  font-family: 'Fraunces', serif;
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--cream);
  margin-bottom: 12px;
}
.footer-logo span { color: var(--rust); }
.footer-bottom {
  border-top: 1px solid rgba(245,241,232,0.1);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.82rem;
}
.email-row { display: flex; gap: 8px; margin-top: 12px; }
.email-row input {
  background: rgba(245,241,232,0.06);
  border: 1px solid rgba(245,241,232,0.18);
  border-radius: 3px;
  padding: 10px 14px;
  color: var(--cream);
  font-family: 'Work Sans', sans-serif;
  font-size: 0.9rem;
  flex: 1;
  min-width: 0;
}
.email-row input::placeholder { color: rgba(245,241,232,0.4); }
.email-row button {
  background: var(--rust);
  color: var(--white);
  border: none;
  border-radius: 3px;
  padding: 10px 18px;
  font-weight: 700;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  cursor: pointer;
}

/* ---------- responsive ---------- */
@media (max-width: 880px) {
  .nav-toggle { display: block; }
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--ink);
    flex-direction: column;
    align-items: flex-start;
    padding: 12px 24px 24px;
    gap: 18px;
    border-top: 1px solid rgba(245,241,232,0.12);
    box-shadow: 0 16px 32px rgba(0,0,0,0.35);
    z-index: 60;
  }
  .nav-links.open { display: flex; }
  .hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .risk-items { grid-template-columns: 1fr 1fr; gap: 18px 20px; }
  /* On stacked layout, sit the photo flush to the hero's bottom padding */
  .hero .hero-visual .hero-photo { margin-bottom: -64px; max-width: 360px; margin-left: auto; margin-right: auto; }
  .cards-3 { grid-template-columns: 1fr; }
  /* Our Work proof cards: swipeable carousel on mobile only */
  .cards-3.proof-carousel {
    display: flex;
    grid-template-columns: none;
    gap: 16px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scroll-padding: 0 20px;
    padding-bottom: 12px;
    margin-left: -4px;
    margin-right: -4px;
    scrollbar-width: none;
  }
  .cards-3.proof-carousel::-webkit-scrollbar { display: none; }
  .cards-3.proof-carousel .card {
    flex: 0 0 85%;
    scroll-snap-align: center;
  }
  .proof-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 18px;
  }
  .proof-dots button {
    width: 8px; height: 8px; padding: 0;
    border: none; border-radius: 50%;
    background: rgba(31,42,36,0.25);
    transition: background 0.2s ease, width 0.2s ease;
  }
  .proof-dots button.active { background: var(--rust); width: 22px; border-radius: 4px; }
  .cards-2 { grid-template-columns: 1fr; }
  /* Property-manager cards: swipeable carousel on mobile, reversed visual order.
     Use flex `order` (not row-reverse) so the carousel still scrolls normally. */
  .cards-3.pm-cards .card:nth-child(1) { order: 3; }
  .cards-3.pm-cards .card:nth-child(2) { order: 2; }
  .cards-3.pm-cards .card:nth-child(3) { order: 1; }
  .corrosion-grid { grid-template-columns: 1fr; }
  .process { grid-template-columns: 1fr 1fr; gap: 36px 24px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .project-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .contact-grid .contact-form-panel { order: 1; }
  .contact-grid .contact-info-card { order: 2; }
  .story-grid { grid-template-columns: 1fr; gap: 36px; }
  .guarantee-band { grid-template-columns: 1fr; text-align: center; }
  .guarantee-mark { margin: 0 auto; }
}
@media (max-width: 560px) {
  .form-grid { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
  section { padding: 56px 0; }
  .hero { padding: 48px 0 64px; }
  .page-hero { padding: 44px 0 56px; }
  .process { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .final-cta { padding: 44px 24px; }
  .contact-form-panel { padding: 32px 24px; }
}

/* ============================================================
   MOBILE POLISH — fine-tuning for phones (<= 600px)
   Same site, reshaped to feel native on small screens.
   ============================================================ */
@media (max-width: 600px) {
  .wrap { padding: 0 18px; }

  /* keep the decorative hero rings from causing sideways scroll */
  .hero::before, .hero::after, .page-hero::after { display: none; }

  /* tighter, more readable type scale */
  .hero h1 { font-size: clamp(2.1rem, 9vw, 2.8rem); margin-bottom: 18px; }
  .hero p.sub { font-size: 1.02rem; }
  .page-hero h1 { font-size: clamp(1.8rem, 8vw, 2.4rem); }
  .page-hero p.sub { font-size: 1rem; }
  .section-head h2 { font-size: clamp(1.6rem, 7vw, 2.1rem); }
  .section-head p { font-size: 0.98rem; }
  .section-head { margin-bottom: 40px; }

  /* full-width tappable buttons */
  .btn-row { flex-direction: column; align-items: stretch; gap: 14px; }
  .btn-primary { width: 100%; text-align: center; padding: 16px 24px; }
  .btn-secondary, .btn-secondary-dark { text-align: center; padding-bottom: 6px; }

  /* hero visual breathing room */
  .hero-card { padding: 26px 22px; }
  .hero-card h3 { font-size: 1.3rem; }

  /* cards & comparison columns */
  .card { padding: 28px 22px; }
  .corrosion-col { padding: 34px 24px; }
  .corrosion-col h3 { font-size: 1.3rem; }

  /* testimonial: less side padding so it doesn't feel boxed-in */
  .testimonial { padding: 30px 26px; }
  .testimonial p.quote { font-size: 1.18rem; }

  /* carousel: smaller arrows, tighter gap on mobile */
  .review-carousel { gap: 8px; }
  .carousel-arrow { width: 38px; height: 38px; font-size: 1.1rem; }

  /* final CTA banner */
  .final-cta { padding: 40px 22px; }
  .final-cta h2 { font-size: clamp(1.6rem, 7vw, 2.1rem); }
  .final-cta p { font-size: 0.98rem; }

  /* process steps a touch tighter */
  .process { padding: 36px 26px; gap: 30px; }
  .process-step .num { font-size: 2rem; }

  /* contact + guarantee bands */
  .contact-info-card { padding: 28px 24px; }
  .guarantee-band { padding: 36px 26px; gap: 20px; }
  .guarantee-band h3 { font-size: 1.3rem; }

  /* FAQ tap targets */
  .faq-item summary { padding: 18px 20px; font-size: 1rem; }
  .faq-item .faq-body { padding: 0 20px 20px; }

  /* footer: stack the newsletter input + button vertically */
  .footer-bottom { flex-direction: column; gap: 8px; }
  .email-row { flex-direction: column; }
  .email-row button { padding: 12px 18px; }

  /* larger nav tap targets in the open mobile menu */
  .nav-links a { padding: 4px 0; font-size: 1.02rem; }
  .nav-links .nav-cta { padding: 12px 22px; align-self: stretch; text-align: center; }
}

/* very small phones */
@media (max-width: 380px) {
  .logo { font-size: 1.15rem; }
  .hero h1 { font-size: 1.95rem; }
}

/* focus visibility */
a:focus-visible, button:focus-visible, input:focus-visible, summary:focus-visible {
  outline: 2px solid var(--rust);
  outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; scroll-behavior: auto !important; }
}
