/* ============================================================
   The Old House Playbook — homepage content styles
   Clean, bright, white. Content sections are calm and
   article-like; mood lives in the corridor hero only.
   Type: Geist on white, one accent (terracotta) for links.
   ============================================================ */
.home-section {
  position: relative;
  padding: clamp(3.5rem, 7vw, 6rem) var(--pad);
  background: #ffffff;
}
.home-eyebrow {
  font-family: var(--f-mono, 'Geist Mono', monospace);
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #8a8a8a;
  margin: 0 0 14px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.home-eyebrow::before {
  content: "";
  width: 26px;
  height: 2px;
  background: var(--terracotta, #c4703f);
  flex-shrink: 0;
}
.home-title {
  font-family: var(--f-body, 'Geist', sans-serif);
  font-weight: 600;
  font-size: clamp(1.7rem, 3.2vw, 2.5rem);
  letter-spacing: -0.02em;
  color: #141414;
  line-height: 1.1;
  margin: 0 0 14px;
}
.home-lead {
  font-family: var(--f-body, 'Geist', sans-serif);
  font-weight: 300;
  font-size: 1.04rem;
  color: #555;
  line-height: 1.75;
  max-width: 62ch;
  margin: 0;
  margin-bottom: 2.4rem;
}
.more-link {
  color: var(--terracotta, #c4703f);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.96rem;
  border-bottom: 1px solid rgba(196, 112, 63, 0.4);
}
.more-link:hover { border-bottom-color: var(--terracotta, #c4703f); }

/* ─── Before & After gallery ─── */
.ba-gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.ba-item {
  margin: 0;
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  background: #f0f0f0;
  cursor: zoom-in;
}
.ba-item img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}
.ba-item:hover img { transform: scale(1.04); }
.ba-item figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 26px 14px 12px;
  font-family: var(--f-mono, 'Geist Mono', monospace);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.92);
  background: linear-gradient(to top, rgba(0, 0, 0, 0.55), transparent);
}

/* ─── News-style blocks (problem → deliverable) ─── */
.news {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
  padding: 3.2rem 0 3.6rem;
  border-top: 1px solid #eeeeee;
}
.news:last-child { padding-bottom: 0; }
.news:nth-child(even) .news-media { order: -1; }
.news-kicker {
  font-family: var(--f-mono, 'Geist Mono', monospace);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #9a8f80;
  display: block;
  margin-bottom: 10px;
}
.news h3 {
  font-family: var(--f-body, 'Geist', sans-serif);
  font-weight: 600;
  font-size: clamp(1.3rem, 2.4vw, 1.7rem);
  letter-spacing: -0.01em;
  color: #141414;
  line-height: 1.2;
  margin: 0 0 12px;
}
.news p {
  font-family: var(--f-body, 'Geist', sans-serif);
  font-weight: 300;
  font-size: 1rem;
  color: #4b4b4b;
  line-height: 1.8;
  margin: 0 0 14px;
}
.news ul {
  list-style: none;
  margin: 0 0 20px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.news li {
  font-family: var(--f-body, 'Geist', sans-serif);
  font-weight: 300;
  font-size: 0.95rem;
  color: #4b4b4b;
  padding-left: 18px;
  position: relative;
}
.news li::before {
  content: "—";
  position: absolute;
  left: 0;
  color: var(--terracotta, #c4703f);
}
.news-media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 8px;
  cursor: zoom-in;
  box-shadow: 0 20px 44px rgba(0, 0, 0, 0.08);
}

/* ─── Full-bleed bright background bands ─── */
.band {
  position: relative;
  padding: clamp(4.5rem, 9vw, 7rem) var(--pad);
  background-color: #f5efe4;
  background-size: cover;
  background-position: center;
  overflow: hidden;
}
.band::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.84);
}
/* Soft band: photo stays clearly visible (used behind the pricing card) */
.band-soft::before { background: rgba(255, 255, 255, 0.3); }
.band > * { position: relative; z-index: 1; }
.band-center { text-align: center; display: flex; flex-direction: column; align-items: center; }
.band-center .home-title { max-width: 22ch; }
.band-center .home-lead { margin: 0 auto 1.8rem; }
.band-actions { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; }

/* ─── Stats strip — proof numbers ─── */
.stats-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: #ececec;
  border: 1px solid #ececec;
  margin: 2.4rem 0 0;
}
.stats-cell {
  background: #fff;
  padding: 1.8rem 1.4rem;
  text-align: center;
}
.stats-num {
  font-family: var(--f-body, 'Geist', sans-serif);
  font-weight: 600;
  font-size: clamp(2rem, 4vw, 2.9rem);
  letter-spacing: -0.02em;
  color: #141414;
  line-height: 1;
}
.stats-num small {
  font-size: 0.5em;
  font-weight: 400;
  color: #9a8f80;
}
.stats-label {
  font-family: var(--f-mono, 'Geist Mono', monospace);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #777;
  margin-top: 8px;
}
.news-kicker.proof { color: #a3714f; }

/* ─── Plain deliverable tiles ─── */
.kit-tiles {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 14px;
}
.kit-tile {
  background: #fbfbfb;
  border: 1px solid #ededed;
  border-radius: 8px;
  padding: 1.5rem 1.6rem;
}
.kit-tile .n {
  font-family: var(--f-mono, 'Geist Mono', monospace);
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--terracotta, #c4703f);
  display: block;
  margin-bottom: 10px;
}
.kit-tile h3 {
  font-family: var(--f-body, 'Geist', sans-serif);
  font-weight: 600;
  font-size: 1.08rem;
  color: #161616;
  margin: 0 0 8px;
}
.kit-tile p {
  font-family: var(--f-body, 'Geist', sans-serif);
  font-weight: 300;
  font-size: 0.9rem;
  color: #555;
  line-height: 1.65;
  margin: 0;
}

/* Homepage pricing / capture sit on white too */
.home-pricing { background: #ffffff; }
.home-pricing .pricing-card { background: #fff; border-color: #e7e3da; box-shadow: 0 18px 50px rgba(0, 0, 0, 0.06); }
.home-pricing .section-label { color: #8a8a8a; }

/* ─── Pricing: family photo as prominent image + card ─── */
.pricing-row {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}
.pricing-photo {
  margin: 0;
}
.pricing-photo img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 10px;
  cursor: zoom-in;
  box-shadow: 0 26px 60px rgba(0, 0, 0, 0.14);
}
.pricing-photo figcaption {
  margin-top: 12px;
  font-family: var(--f-mono, 'Geist Mono', monospace);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #8a8a8a;
}
.pricing-card-wrap .pricing-card { max-width: 460px; margin: 0 auto; }

/* ─── Pricing: full-bleed sharp photo + borderless right-third window ─── */
.pricing-full {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: clamp(1.6rem, 4vw, 3rem);
  background-color: #e9e2d4;
  background-size: cover;
  background-position: center;
}
.pricing-window {
  width: 33.333%;
  min-width: 320px;
  max-width: 460px;
  padding: clamp(2rem, 3.4vw, 2.8rem) clamp(1.6rem, 2.6vw, 2.4rem);
  background: rgba(255, 255, 255, 0.93);
  backdrop-filter: blur(8px);
  border: none;
  border-radius: 0;
  box-shadow: none;
}
.pricing-window .price-features { text-align: left; }

/* Responsive */
@media (max-width: 900px) {
  .pricing-full { min-height: 92svh; align-items: flex-end; }
  .pricing-window { width: 100%; max-width: none; }
}
@media (max-width: 980px) {
  .pricing-row { grid-template-columns: 1fr; }
  .pricing-card-wrap .pricing-card { max-width: 460px; }
}
@media (max-width: 980px) {
  .ba-gallery { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 760px) {
  .ba-gallery { grid-template-columns: repeat(2, 1fr); }
  .news { grid-template-columns: 1fr; gap: 1.4rem; }
  .news:nth-child(even) .news-media { order: 0; }
  .news-media img { aspect-ratio: 16 / 10; }
}
@media (max-width: 480px) {
  .ba-gallery { grid-template-columns: 1fr; }
}

/* ─── Merged Kit + Pricing page (last 4 sections → one) ─── */
.kitpricing {
  position: relative;
  min-height: 100svh;
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
  padding: clamp(2rem, 5vw, 4rem);
  background-color: #e9e2d4;
  background-size: cover;
  background-position: center;
}
.kp-left {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(6px);
  border: none;
  border-radius: 0;
  box-shadow: none;
  padding: clamp(2rem, 4vw, 3rem);
}
.kp-tiles {
  list-style: none;
  margin: 0 0 1.6rem;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 11px 24px;
}
.kp-tiles li {
  font-family: var(--f-body, 'Geist', sans-serif);
  font-size: 0.96rem;
  color: #2b2b2b;
  font-weight: 500;
  display: flex;
  gap: 10px;
  align-items: baseline;
}
.kp-tiles li span {
  font-family: var(--f-mono, 'Geist Mono', monospace);
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--terracotta, #c4703f);
  flex-shrink: 0;
}
.kitpricing .capture-form { max-width: 460px; }
.kp-note { font-size: 0.88rem; color: #666; margin-top: 1.1rem; line-height: 1.6; }
.kp-note a { color: var(--terracotta, #c4703f); }

@media (max-width: 1100px) {
  .kitpricing { grid-template-columns: 1fr; min-height: auto; }
  .kitpricing .pricing-window { width: 100%; max-width: none; }
}
