/* Salinas & Sons v4 — wms-measure inspired layout */
* { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --pink: #FF1F7A;
  --pink-soft: rgba(255, 31, 122, 0.08);
  --pink-soft-2: rgba(255, 31, 122, 0.14);
  --pink-muted: #C43870;
  --ink: #0F0F0F;
  --ink-2: #1F1F1F;
  --text: #3A3A3A;
  --muted: #6B6B6B;
  --faint: #9A9A9A;
  --bg: #FAF7F3;
  --surface: #FFFFFF;
  --surface-2: #F2EDE6;
  --border: #E8E2DA;
  --border-soft: #EFEAE3;
  --radius-sm: 10px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-pill: 999px;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

/* Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
}

/* NAV */
.nav-wrap { background: var(--bg); padding: 20px 0; position: sticky; top: 0; z-index: 10; }
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.logo-group { display: flex; align-items: center; gap: 14px; }
/* nav_logo.svg is cropped tight to the icon, so height sets the icon's own size */
.logo-img {
  height: 28px;
  width: auto;
  display: block;
}
.logo {
  width: 32px; height: 32px; border-radius: 50%;
  background: var(--ink);
  display: flex; align-items: center; justify-content: center;
  color: var(--pink); font-weight: 700; font-size: 11px;
  letter-spacing: -0.3px;
}
.brand {
  font-size: 21px;
  font-weight: 700;
  letter-spacing: 0.3px;
  text-transform: uppercase;
  line-height: 1.2;
  color: var(--pink);
}
.brand span { display: block; color: var(--muted); font-weight: 500; font-size: 11px; letter-spacing: 0.8px; }
.nav-links { display: flex; align-items: center; gap: 28px; font-size: 14px; flex-wrap: wrap; }
.nav-links a {
  color: var(--text);
  font-weight: 500;
  transition: color 0.15s;
}
.nav-links a:hover { color: var(--ink); }
.nav-links a.active { color: var(--pink); }
.nav-cta {
  background: var(--ink);
  color: #fff !important;
  padding: 10px 18px;
  border-radius: var(--radius-pill);
  font-weight: 500;
  transition: background 0.15s;
}
.nav-cta:hover { background: var(--ink-2); color: #fff !important; }

/* Eyebrow label (WMS uses these before every section heading) */
.eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.5px;
  color: var(--pink);
  margin-bottom: 14px;
}
.eyebrow.muted { color: var(--muted); }

/* Buttons */
.btn-ink {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--ink); color: #fff;
  padding: 12px 22px; border-radius: var(--radius-pill);
  font-size: 14px; font-weight: 500;
  border: none; cursor: pointer;
  transition: all 0.15s;
}
.btn-ink:hover { background: var(--ink-2); }
.btn-pink {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--pink); color: #fff;
  padding: 12px 22px; border-radius: var(--radius-pill);
  font-size: 14px; font-weight: 500;
  border: none; cursor: pointer;
  transition: all 0.15s;
}
.btn-pink:hover { background: var(--pink-muted); }
.btn-outline {
  display: inline-flex; align-items: center; gap: 8px;
  background: transparent; color: var(--ink);
  padding: 11px 21px; border-radius: var(--radius-pill);
  font-size: 14px; font-weight: 500;
  border: 1px solid var(--border);
  cursor: pointer;
  transition: all 0.15s;
}
.btn-outline:hover { background: var(--surface); border-color: var(--ink); }

/* ===================== HOME HERO — split layout like WMS ===================== */
.hero {
  padding: 40px 0 60px;
}
.hero-roof-accent {
  width: 100%;
  max-width: 550px;
  height: auto;
  margin-bottom: 16px;
  display: block;
}
/* Name, trade and woman-owned stacked and centred under the roof accent (same max-width) */
.hero-brand-line {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 4px;
  font-weight: 500;
  margin-bottom: 24px;
  line-height: 1.2;
  max-width: 550px;
}
.brand-name {
  color: var(--pink);
  font-size: 44px;
  font-weight: 600;
  letter-spacing: -1px;
}
.brand-subtitle {
  color: var(--muted);
  text-transform: uppercase;
  font-size: 18px;
  letter-spacing: 1.5px;
}
.brand-woman {
  color: var(--ink);
  font-size: 16px;
  letter-spacing: 0.3px;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 48px;
  align-items: center;
}
.hero-headline {
  font-size: 72px;
  font-weight: 500;
  line-height: 0.95;
  letter-spacing: -2.5px;
  margin-bottom: 24px;
}
.hero-headline .accent { color: var(--pink); font-style: italic; font-weight: 500; }
.hero-sub {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.6;
  max-width: 480px;
  margin-bottom: 28px;
}
.hero-btns { display: flex; gap: 10px; flex-wrap: wrap; }

/* Hero visual block (right side) */
.hero-visual {
  background: linear-gradient(135deg, #4a4a4a 0%, #1a1a1a 100%);
  border-radius: var(--radius-lg);
  aspect-ratio: 4 / 5;
  position: relative;
  overflow: hidden;
}
/* Hero photo fills the slot; the gradient behind stays as the fallback */
.hero-visual img { width: 100%; height: 100%; object-fit: cover; object-position: 30% 50%; display: block; }
/* Scrim so the white caption stays legible over the photo */
.hero-visual::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0; height: 42%;
  background: linear-gradient(to top, rgba(0,0,0,0.55), rgba(0,0,0,0));
  pointer-events: none;
}
.hero-visual-caption {
  position: absolute;
  bottom: 20px; left: 20px; right: 20px;
  color: #fff;
  z-index: 2;
}
.hero-visual-caption .t { font-size: 18px; font-weight: 600; margin-bottom: 4px; }
.hero-visual-caption .s { font-size: 13px; color: rgba(255,255,255,0.7); }
.photo-placeholder {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  color: rgba(255,255,255,0.3);
  font-size: 13px;
  letter-spacing: 2px;
  font-weight: 500;
}

/* ===================== STATS ROW (tight inline) ===================== */
.stats-inline {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 28px 0;
  margin-bottom: 40px;
}
.stat-inline {
  padding: 0 28px;
  border-right: 1px solid var(--border);
}
.stat-inline:last-child { border-right: none; }
.stat-num {
  font-size: 40px;
  font-weight: 500;
  letter-spacing: -1.2px;
  line-height: 1;
  margin-bottom: 6px;
}
.stat-num.pink { color: var(--pink); }
/* Text value rather than a number: smaller so it sits on one line beside the figures */
.stat-num.is-text { font-size: 24px; letter-spacing: -0.4px; }
.stat-label {
  font-size: 13px;
  color: var(--muted);
}

/* ===================== SERVICE CHIPS (horizontal row before detail) ===================== */
.service-chips {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 60px;
}
.chip {
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 10px 18px;
  border-radius: var(--radius-pill);
  font-size: 13px;
  font-weight: 500;
  color: var(--text);
  transition: all 0.15s;
}
.chip:hover { border-color: var(--ink); color: var(--ink); }

/* ===================== ABOUT SECTION (split) ===================== */
.about-section { padding: 60px 0; border-top: 1px solid var(--border); }
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}
.about-title {
  font-size: 48px;
  font-weight: 500;
  letter-spacing: -1.5px;
  line-height: 1.05;
  margin-bottom: 20px;
}
.about-title .accent { color: var(--pink); font-style: italic; font-weight: 500; }
.about-body { color: var(--text); font-size: 15px; line-height: 1.65; margin-bottom: 16px; }
.about-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
}
.about-card-photo {
  width: 100%;
  aspect-ratio: 5 / 3;
  background: linear-gradient(135deg, var(--pink) 0%, var(--pink-muted) 100%);
  border-radius: var(--radius-md);
  position: relative;
  overflow: hidden;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.3);
  font-size: 13px;
  letter-spacing: 2px;
  font-weight: 500;
}
/* jess-homepage.jpg is cropped to the slot's 5:3, so it fills it without shifting */
.about-card-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.about-card-name { font-size: 20px; font-weight: 600; letter-spacing: -0.3px; margin-bottom: 4px; }
.about-card-role { font-size: 13px; color: var(--pink); font-weight: 500; margin-bottom: 14px; }
.about-card-quote {
  font-size: 14px;
  color: var(--text);
  line-height: 1.6;
  font-style: italic;
  padding: 14px 0;
  border-top: 1px solid var(--border);
}
.about-card-stat {
  padding-top: 14px;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: baseline;
  gap: 12px;
}
.about-card-stat .n { font-size: 32px; font-weight: 500; letter-spacing: -1px; }
.about-card-stat .l { font-size: 12px; color: var(--muted); line-height: 1.4; }

/* ===================== CAPABILITIES (numbered list) ===================== */
.caps-section { padding: 60px 0; border-top: 1px solid var(--border); }
.caps-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 40px;
  flex-wrap: wrap;
  gap: 20px;
}
.caps-title {
  font-size: 48px;
  font-weight: 500;
  letter-spacing: -1.5px;
  line-height: 1.05;
}
.caps-title .accent { color: var(--pink); font-style: italic; font-weight: 500; }
.caps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--border);
}
.cap {
  padding: 28px 24px;
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  transition: background 0.15s;
}
.cap:nth-child(3n) { border-right: none; }
.cap:hover { background: var(--surface); }
.cap-num {
  font-size: 12px;
  color: var(--pink);
  font-weight: 500;
  margin-bottom: 14px;
  letter-spacing: 0.3px;
}
.cap-title {
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.3px;
  margin-bottom: 8px;
}
.cap-desc {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.55;
}

/* ===================== FEATURED PROJECTS (home) ===================== */
.projects-section { padding: 60px 0; border-top: 1px solid var(--border); }
.projects-head {
  display: flex; justify-content: space-between; align-items: flex-end;
  margin-bottom: 32px; flex-wrap: wrap; gap: 20px;
}
.projects-title {
  font-size: 48px; font-weight: 500;
  letter-spacing: -1.5px; line-height: 1.05;
}
.projects-title .accent { color: var(--pink); font-style: italic; font-weight: 500; }
.featured-row {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 14px;
}
.featured-main {
  background: linear-gradient(135deg, #3a3a3a 0%, #1a1a1a 100%);
  border-radius: var(--radius-lg);
  aspect-ratio: 4 / 3;
  position: relative;
  overflow: hidden;
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  color: #fff;
}
/* Photos fill the featured tiles; gradients stay behind as fallback */
.featured-main img {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover;
}
.featured-main::after {
  content: "";
  position: absolute; left: 0; right: 0; bottom: 0; height: 55%;
  background: linear-gradient(to top, rgba(0,0,0,0.6), rgba(0,0,0,0));
  pointer-events: none;
}
.featured-main .featured-tag,
.featured-main .featured-title { position: relative; z-index: 2; }
.featured-tag {
  display: inline-block;
  background: var(--pink);
  color: #fff;
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.5px;
  align-self: flex-start;
  margin-bottom: 10px;
}
.featured-title { font-size: 20px; font-weight: 600; letter-spacing: -0.3px; margin-bottom: 4px; }
.featured-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.featured-tile {
  border-radius: var(--radius-md);
  aspect-ratio: 1 / 1;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #3a3a3a, #1a1a1a);
}
/* Four photos across five slots: the last tile spans the row rather than
   leaving an empty square in the corner of the 2x2 block */
.featured-tile.wide { grid-column: 1 / -1; aspect-ratio: 2 / 1; }
.featured-tile img { width: 100%; height: 100%; object-fit: cover; display: block; }
.featured-tile::after {
  content: "";
  position: absolute; left: 0; right: 0; bottom: 0; height: 50%;
  background: linear-gradient(to top, rgba(0,0,0,0.55), rgba(0,0,0,0));
  pointer-events: none;
}
.featured-tile-label {
  position: absolute; left: 12px; bottom: 10px; z-index: 2;
  color: #fff; font-size: 12px; font-weight: 600; letter-spacing: 0.2px;
}

/* ===================== TESTIMONIAL BAND ===================== */
.testi-section { padding: 60px 0; border-top: 1px solid var(--border); }
.testi-quote {
  max-width: 900px;
  font-size: 32px;
  font-weight: 500;
  letter-spacing: -0.8px;
  line-height: 1.25;
  margin-bottom: 20px;
}
.testi-quote .accent { color: var(--pink); font-style: italic; }
.testi-author { font-size: 14px; color: var(--muted); }

/* ===================== CONTACT / FINAL CTA ===================== */
.contact-section { padding: 60px 0 80px; border-top: 1px solid var(--border); }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}
.contact-title {
  font-size: 48px; font-weight: 500;
  letter-spacing: -1.5px; line-height: 1.05;
  margin-bottom: 20px;
}
.contact-title .accent { color: var(--pink); font-style: italic; font-weight: 500; }
.contact-sub {
  font-size: 15px; color: var(--muted);
  line-height: 1.65; margin-bottom: 24px;
}
.contact-info {
  display: flex; gap: 10px; flex-wrap: wrap;
  margin-bottom: 28px;
}
/* Links and the plain-text location share the chip look; only links get hover */
.contact-info a,
.contact-info span {
  background: var(--surface); border: 1px solid var(--border);
  padding: 10px 18px; border-radius: var(--radius-pill);
  font-size: 13px; font-weight: 500;
  transition: all 0.15s;
}
.contact-info a:hover { border-color: var(--ink); }
.contact-info .pink { border-color: var(--pink); color: var(--pink); }
.contact-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
}
.contact-card h3 {
  font-size: 22px; font-weight: 600; letter-spacing: -0.3px;
  margin-bottom: 8px;
}
.contact-card p { color: var(--muted); font-size: 14px; margin-bottom: 20px; }

/* Footer */
.footer-wrap { border-top: 1px solid var(--border); padding: 32px 0; }
.footer {
  display: flex; justify-content: space-between;
  flex-wrap: wrap; gap: 20px;
  font-size: 13px; color: var(--muted);
}
.footer-links { display: flex; gap: 24px; flex-wrap: wrap; }
.footer-links a:hover { color: var(--pink); }

/* ===================== PAGE HEADERS (inner pages) ===================== */
.page-hero {
  padding: 40px 0 56px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 56px;
}
.page-hero-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 40px;
  align-items: flex-end;
}
.page-hero h1 {
  font-size: 72px; font-weight: 500;
  letter-spacing: -2.5px; line-height: 0.95;
}
.page-hero h1 .accent { color: var(--pink); font-style: italic; font-weight: 500; }
.page-hero-meta {
  font-size: 14px; color: var(--muted);
  max-width: 320px; line-height: 1.55;
}

/* ===================== TEAM PAGE ===================== */
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 60px;
}
.team-card {
  transition: transform 0.15s;
}
.team-card:hover { transform: translateY(-2px); }
.team-photo {
  width: 100%;
  aspect-ratio: 4 / 5;
  background: linear-gradient(135deg, #3a3a3a, #0f0f0f);
  border-radius: var(--radius-md);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.15);
  font-size: 80px;
  font-weight: 600;
  margin-bottom: 14px;
  overflow: hidden;
}
.team-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.team-card.owner .team-photo {
  background: linear-gradient(135deg, var(--pink) 0%, var(--pink-muted) 100%);
  color: rgba(255,255,255,0.3);
}
.team-owner-tag {
  display: inline-block;
  font-size: 11px;
  color: var(--pink);
  font-weight: 500;
  letter-spacing: 0.3px;
  margin-bottom: 6px;
}
.team-name { font-size: 18px; font-weight: 600; letter-spacing: -0.3px; margin-bottom: 2px; }
.team-role { font-size: 13px; color: var(--muted); margin-bottom: 8px; }
.team-bio { font-size: 13px; color: var(--text); line-height: 1.55; }
.team-bio p + p { margin-top: 8px; }

.hire-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: center;
  padding: 32px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  margin-bottom: 60px;
}
.hire-row h3 { font-size: 22px; font-weight: 600; letter-spacing: -0.3px; margin-bottom: 4px; }
.hire-row p { color: var(--muted); font-size: 14px; }

/* ===================== PROJECTS PAGE ===================== */
.ba-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-bottom: 60px;
}
.ba-compare {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 14px;
}
.ba-half {
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-md);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.4);
  font-size: 12px;
  letter-spacing: 1.5px;
  font-weight: 500;
  overflow: hidden;
}
/* Cards with one finished-work photo instead of a before/after pair */
.ba-compare.single { grid-template-columns: 1fr; }
/* One photo spanning the card is capped to the height of a paired card's halves */
.ba-compare.single .ba-half { aspect-ratio: 8 / 3; }
/* Single photo shown at its own 4:3 shape (community page cards) */
.ba-compare.single.natural .ba-half { aspect-ratio: 4 / 3; }
.ba-half img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.ba-before { background: linear-gradient(135deg, #636363, #3a3a3a); }
.ba-after { background: linear-gradient(135deg, #1a1a1a, #000); }
.ba-label {
  position: absolute;
  top: 10px; left: 10px;
  background: rgba(255,255,255,0.95);
  color: var(--ink);
  padding: 4px 10px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 1px;
  border-radius: var(--radius-pill);
}
.ba-after .ba-label {
  background: var(--pink);
  color: #fff;
}
.ba-meta {
  font-size: 11px;
  color: var(--pink);
  font-weight: 500;
  letter-spacing: 0.3px;
  margin-bottom: 6px;
}
.ba-title { font-size: 18px; font-weight: 600; letter-spacing: -0.3px; margin-bottom: 6px; }
.ba-desc { font-size: 13px; color: var(--muted); line-height: 1.55; }

/* ===================== REVIEWS PAGE ===================== */
.reviews-hero-grid {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 40px;
  align-items: center;
  margin-bottom: 56px;
  padding-bottom: 56px;
  border-bottom: 1px solid var(--border);
}
.reviews-rating-big {
  background: var(--ink);
  color: #fff;
  padding: 36px 44px;
  border-radius: var(--radius-lg);
  text-align: center;
}
.reviews-rating-big .num { font-size: 72px; font-weight: 500; letter-spacing: -2.5px; line-height: 1; }
.reviews-rating-big .stars { color: var(--pink); font-size: 18px; letter-spacing: 3px; margin: 12px 0 8px; }
.reviews-rating-big .label { font-size: 11px; color: var(--faint); letter-spacing: 0.5px; }
.reviews-copy h2 {
  font-size: 40px;
  font-weight: 500;
  letter-spacing: -1.2px;
  line-height: 1.05;
  margin-bottom: 14px;
}
.reviews-copy h2 .accent { color: var(--pink); font-style: italic; font-weight: 500; }
.reviews-copy p {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.6;
  margin-bottom: 16px;
}
.source-chips { display: flex; gap: 8px; flex-wrap: wrap; }
.source-chip {
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--ink);
  padding: 7px 14px;
  border-radius: var(--radius-pill);
  font-size: 12px;
  font-weight: 500;
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-bottom: 40px;
}
.review-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 26px;
  transition: all 0.15s;
}
.review-card:hover { border-color: var(--ink); }
.review-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}
.review-author { display: flex; align-items: center; gap: 12px; }
.review-avatar {
  width: 38px; height: 38px; border-radius: 50%;
  background: var(--ink);
  color: var(--pink);
  display: flex; align-items: center; justify-content: center;
  font-weight: 600; font-size: 12px;
}
.review-name { font-size: 14px; font-weight: 600; }
.review-date { font-size: 12px; color: var(--faint); }
.review-meta { text-align: right; }
.review-stars { color: var(--pink); font-size: 13px; letter-spacing: 2px; margin-bottom: 4px; }
.review-source {
  font-size: 11px; color: var(--muted);
  font-weight: 500;
}
.review-body { font-size: 14px; color: var(--text); line-height: 1.6; }

.leave-review {
  background: var(--ink);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 36px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: center;
  margin-bottom: 60px;
}
.leave-review h3 { font-size: 24px; font-weight: 600; letter-spacing: -0.4px; margin-bottom: 4px; }
.leave-review p { color: var(--faint); font-size: 14px; }
.leave-review-btns { display: flex; gap: 10px; flex-wrap: wrap; }
.leave-review .btn-outline { border-color: #444; color: #fff; }
.leave-review .btn-outline:hover { border-color: #fff; background: transparent; }

/* ===================== ESTIMATE PAGE ===================== */
.estimate-grid {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 24px;
  margin-bottom: 60px;
}
.form-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px;
}
.form-section {
  padding-bottom: 24px;
  margin-bottom: 24px;
  border-bottom: 1px solid var(--border);
}
.form-section:last-of-type { border-bottom: none; padding-bottom: 0; margin-bottom: 0; }
.form-section-label {
  font-size: 11px;
  color: var(--pink);
  font-weight: 500;
  letter-spacing: 0.3px;
  margin-bottom: 4px;
}
.form-section-title {
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.3px;
  margin-bottom: 16px;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 14px;
}
.form-row.full { grid-template-columns: 1fr; }
/* Direct child only, so the checkbox-item labels inside .checkbox-grid keep their own layout */
.form-field > label {
  display: block;
  font-size: 12px;
  font-weight: 500;
  margin-bottom: 6px;
  color: var(--text);
}
.form-field > label .req { color: var(--pink); }
/* Text-style fields only; checkboxes are styled by .checkbox-item */
.form-field input:not([type="checkbox"]),
.form-field select,
.form-field textarea {
  width: 100%;
  padding: 11px 14px;
  font-size: 14px;
  font-family: inherit;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--bg);
  color: var(--ink);
  transition: all 0.15s;
}
.form-field input:not([type="checkbox"]):focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--pink);
  background: var(--surface);
}
.form-field textarea { min-height: 110px; resize: vertical; }

.checkbox-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}
.checkbox-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  padding: 10px 14px;
  background: var(--bg);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all 0.15s;
  border: 1px solid var(--border-soft);
}
.checkbox-item:hover { border-color: var(--ink); }
.checkbox-item input { accent-color: var(--pink); width: 16px; height: 16px; margin: 0; flex: none; }

.form-submit {
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  display: flex; justify-content: space-between; align-items: center;
  gap: 16px; flex-wrap: wrap;
}
.form-note { font-size: 12px; color: var(--faint); max-width: 300px; }

/* Sidebar for estimate page */
.est-sidebar { display: flex; flex-direction: column; gap: 12px; }
.side-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 22px;
}
.side-card.dark { background: var(--ink); color: #fff; border-color: var(--ink); }
.side-label {
  font-size: 11px;
  color: var(--pink);
  letter-spacing: 0.5px;
  font-weight: 500;
  margin-bottom: 6px;
}
.side-value { font-size: 17px; font-weight: 600; letter-spacing: -0.3px; }
.side-sub { font-size: 13px; color: var(--muted); margin-top: 4px; line-height: 1.5; }
.side-card.dark .side-sub { color: var(--faint); }

/* Mobile */
@media (max-width: 860px) {
  .container { padding: 0 20px; }
  .hero-grid { grid-template-columns: 1fr; gap: 32px; }
  .hero-headline { font-size: 44px; letter-spacing: -1.5px; }
  .hero-roof-accent { max-width: 100%; }
  .hero-brand-line { max-width: 100%; }
  .brand-name { font-size: 34px; }
  .brand-subtitle { font-size: 15px; }
  .logo-img { height: 22px; }
  .brand { font-size: 18px; }
  .about-grid { grid-template-columns: 1fr; gap: 32px; }
  .about-title, .caps-title, .projects-title, .contact-title { font-size: 32px; letter-spacing: -1px; }
  .caps-grid { grid-template-columns: 1fr; }
  .cap { border-right: none; }
  .cap:nth-child(3n) { border-right: none; }
  .featured-row { grid-template-columns: 1fr; }
  .testi-quote { font-size: 22px; }
  .contact-grid { grid-template-columns: 1fr; gap: 32px; }
  .nav-links a:not(.nav-cta) { display: none; }
  .stat-inline { padding: 0 16px; }
  .stat-num { font-size: 28px; }
  .page-hero-grid { grid-template-columns: 1fr; }
  .page-hero h1 { font-size: 44px; letter-spacing: -1.5px; }
  .reviews-hero-grid { grid-template-columns: 1fr; gap: 24px; }
  .reviews-copy h2 { font-size: 28px; }
  .team-grid { grid-template-columns: 1fr; }
  .ba-grid { grid-template-columns: 1fr; }
  .reviews-grid { grid-template-columns: 1fr; }
  .leave-review { grid-template-columns: 1fr; text-align: center; }
  .hire-row { grid-template-columns: 1fr; text-align: center; }
  .estimate-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .checkbox-grid { grid-template-columns: 1fr; }
  .form-card { padding: 24px; }
}

/* ===================== OWNER BIO (team page) ===================== */
.owner-bio {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 48px;
  align-items: start;
  padding-bottom: 60px;
  margin-bottom: 60px;
  border-bottom: 1px solid var(--border);
}
.owner-bio-photo {
  width: 100%;
  aspect-ratio: 4 / 5;
  background: linear-gradient(135deg, var(--pink) 0%, var(--pink-muted) 100%);
  border-radius: var(--radius-md);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.3);
  font-size: 80px;
  font-weight: 600;
  overflow: hidden;
  margin-bottom: 20px;
}
.owner-bio-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; display: block; }
/* Second, wider photo below the facts card */
.owner-bio-photo.landscape { aspect-ratio: 4 / 3; margin: 20px 0 0; }
.owner-bio-photo.landscape img { object-position: 0 50%; }
.owner-bio-caption {
  font-size: 13px;
  color: var(--muted);
  margin: -8px 0 20px;
}
.owner-bio-facts {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 8px 24px;
}
.owner-bio-facts .fact {
  display: flex;
  align-items: baseline;
  gap: 14px;
  padding: 16px 0;
  border-bottom: 1px solid var(--border-soft);
}
.owner-bio-facts .fact:last-child { border-bottom: none; }
.owner-bio-facts .n {
  font-size: 30px; font-weight: 500; letter-spacing: -1px;
  min-width: 62px;
}
.owner-bio-facts .l { font-size: 12px; color: var(--muted); line-height: 1.4; }
.owner-bio-name {
  font-size: 48px;
  font-weight: 500;
  letter-spacing: -1.5px;
  line-height: 1.05;
  margin-bottom: 24px;
}
.owner-bio-text p {
  color: var(--text);
  font-size: 15px;
  line-height: 1.7;
  margin-bottom: 16px;
  max-width: 68ch;
}
.owner-bio-badge {
  display: inline-block;
  margin-top: 8px;
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  background: var(--pink-soft);
  color: var(--pink);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.3px;
}
.team-section-head { margin-bottom: 28px; }
.team-section-title {
  font-size: 36px;
  font-weight: 500;
  letter-spacing: -1px;
  line-height: 1.05;
}
.team-section-title .accent { color: var(--pink); font-style: italic; font-weight: 500; }

@media (max-width: 980px) {
  .owner-bio { grid-template-columns: 260px 1fr; gap: 32px; }
  .owner-bio-name { font-size: 38px; letter-spacing: -1.2px; }
}
@media (max-width: 860px) {
  .owner-bio { grid-template-columns: 1fr; gap: 28px; padding-bottom: 40px; margin-bottom: 40px; }
  .owner-bio-photo { aspect-ratio: 5 / 4; font-size: 60px; }
  .owner-bio-name { font-size: 32px; letter-spacing: -1px; }
  .team-section-title { font-size: 28px; }
}

/* ===== PRODUCTS PAGE (.prod-* section heads are shared with process.html) ===== */
.prod-section { padding: 60px 0; border-top: 1px solid var(--border); }
.prod-section.first { border-top: none; padding-top: 0; }
.prod-head { margin-bottom: 28px; }
.prod-title {
  font-size: 48px;
  font-weight: 500;
  letter-spacing: -1.5px;
  line-height: 1.05;
}
.prod-title .accent { color: var(--pink); font-style: italic; font-weight: 500; }
/* Anchor targets sit below the sticky nav */
.step[id], .prod-section[id] { scroll-margin-top: 96px; }
.prod-intro {
  font-size: 16px;
  color: var(--text);
  line-height: 1.7;
  max-width: 780px;
}


/* Shingle line cards */
.shingle-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.shingle-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.15s, border-color 0.15s;
}
.shingle-card:hover { transform: translateY(-2px); border-color: var(--ink); }
.shingle-body {
  padding: 20px 22px 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.shingle-name { font-size: 18px; font-weight: 600; letter-spacing: -0.3px; margin-bottom: 4px; }
.shingle-tagline {
  font-size: 13px;
  color: var(--pink);
  font-style: italic;
  margin-bottom: 14px;
}
.shingle-features { list-style: none; margin-bottom: 14px; }
.shingle-features li {
  font-size: 13px;
  color: var(--text);
  line-height: 1.55;
  padding-left: 16px;
  margin-bottom: 7px;
  position: relative;
}
.shingle-features li::before {
  content: "";
  position: absolute;
  left: 0; top: 8px;
  width: 6px; height: 1px;
  background: var(--pink);
}
.shingle-note {
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid var(--border-soft);
  font-size: 12px;
  color: var(--muted);
  line-height: 1.5;
}
.shingle-note a { color: var(--pink); border-bottom: 1px solid var(--pink-soft-2); }
.shingle-note a:hover { border-bottom-color: var(--pink); }

/* The complete roofing system */
/* The six layers as one readable column (the cutaway illustration slot was removed) */
.system-grid {
  max-width: 760px;
}
.system-layers { list-style: none; counter-reset: layer; }
.system-layer {
  counter-increment: layer;
  padding: 0 0 20px 46px;
  position: relative;
}
.system-layer::before {
  content: counter(layer, decimal-leading-zero);
  position: absolute;
  left: 0; top: 1px;
  font-size: 12px;
  font-weight: 500;
  color: var(--pink);
  letter-spacing: 0.3px;
}
.system-layer:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 9px; top: 22px; bottom: 6px;
  width: 1px;
  background: var(--border);
}
.system-layer-title { font-size: 16px; font-weight: 600; letter-spacing: -0.2px; margin-bottom: 5px; }
.system-layer-desc { font-size: 14px; color: var(--muted); line-height: 1.6; }

/* Warranty */
.warranty-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.warranty-block {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 30px;
}
.warranty-block h3 { font-size: 20px; font-weight: 600; letter-spacing: -0.3px; margin-bottom: 10px; }
.warranty-block p { font-size: 14px; color: var(--text); line-height: 1.65; margin-bottom: 12px; }
.warranty-block p:last-child { margin-bottom: 0; }
.warranty-block a { color: var(--pink); border-bottom: 1px solid var(--pink-soft-2); }
.warranty-block a:hover { border-bottom-color: var(--pink); }
.page-hero .hero-btns { margin-top: 28px; }

/* ===================== PROCESS PAGE ===================== */
.timeline { margin-bottom: 60px; }
.step {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 28px;
  position: relative;
  padding-bottom: 28px;
}
.step-marker { position: relative; }
.step-num {
  width: 52px; height: 52px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--surface);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.3px;
  color: var(--pink);
}
.step:not(:last-child) .step-marker::after {
  content: "";
  position: absolute;
  left: 26px; top: 60px; bottom: -28px;
  width: 1px;
  background: var(--border);
}
.step-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 30px;
}
.step-label {
  font-size: 11px;
  color: var(--pink);
  font-weight: 500;
  letter-spacing: 0.5px;
  margin-bottom: 8px;
}
.step-title {
  font-size: 24px;
  font-weight: 600;
  letter-spacing: -0.5px;
  line-height: 1.2;
  margin-bottom: 14px;
}
.step-title em { color: var(--pink); font-style: italic; font-weight: 500; }
.step-body { font-size: 15px; color: var(--text); line-height: 1.7; margin-bottom: 14px; }
.step-body:last-child { margin-bottom: 0; }
.step-body a { color: var(--pink); border-bottom: 1px solid var(--pink-soft-2); }
.step-body a:hover { border-bottom-color: var(--pink); }
.step-callout {
  background: var(--pink-soft);
  border-left: 2px solid var(--pink);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  font-size: 14px;
  color: var(--text);
  line-height: 1.6;
  margin-bottom: 14px;
}
.step-aside {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.6;
  margin-top: 12px;
}
.step-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
  margin-top: 18px;
}
.step-media.wide { aspect-ratio: 21 / 9; }
.step-media {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: linear-gradient(135deg, #3a3a3a, #0f0f0f);
  border-radius: var(--radius-md);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.18);
  font-size: 12px;
  letter-spacing: 0.5px;
  margin-bottom: 20px;
  overflow: hidden;
}
.step-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
/* Tear-off photo is portrait; keep the crew on the roof in the 16:9 crop */
.step-media img { object-position: 50% 35%; }
/* Step 5 decking photo is portrait; keep the rotted hole in the 16:9 crop */
.step-media.decking img { object-position: 50% 48%; }

/* FAQ */
.faq-list {
  border-top: 1px solid var(--border);
  margin-bottom: 60px;
}
.faq-item { border-bottom: 1px solid var(--border); }
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 22px 44px 22px 0;
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.3px;
  position: relative;
  transition: color 0.15s;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--pink); }
.faq-item summary:focus-visible { outline: 2px solid var(--pink); outline-offset: 3px; }
.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 8px; top: 50%;
  transform: translateY(-50%);
  font-size: 20px;
  font-weight: 400;
  color: var(--pink);
  line-height: 1;
}
.faq-item[open] summary::after { content: "\2013"; }
.faq-answer {
  font-size: 15px;
  color: var(--text);
  line-height: 1.7;
  padding: 0 44px 24px 0;
  max-width: 820px;
}
.faq-answer p { margin-bottom: 12px; }
.faq-answer p:last-child { margin-bottom: 0; }

/* Homepage process teaser - reuses .hire-row with a flush modifier */
.hire-row.flush { margin-bottom: 0; }
.teaser-section { padding: 60px 0; border-top: 1px solid var(--border); }

@media (max-width: 1180px) {
  .shingle-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 860px) {
  .prod-title { font-size: 32px; letter-spacing: -1px; }
  .warranty-grid { grid-template-columns: 1fr; }
  .step { grid-template-columns: 1fr; gap: 16px; padding-bottom: 24px; }
  .step:not(:last-child) .step-marker::after { display: none; }
  .step-num { width: 44px; height: 44px; font-size: 15px; }
  .step-card { padding: 24px 22px; }
  .step-title { font-size: 20px; letter-spacing: -0.4px; }
  .faq-item summary { font-size: 16px; }
}
@media (max-width: 620px) {
  .shingle-grid { grid-template-columns: 1fr; }
  /* Stats row: two across, the third takes the full width underneath */
  .stats-inline { grid-template-columns: 1fr 1fr; }
  .stat-inline:nth-child(2) { border-right: none; }
  .stat-inline:nth-child(3) { grid-column: 1 / -1; margin-top: 20px; }
}
.footer-tagline { margin-top: 4px; color: var(--pink); font-weight: 500; }

/* Reviews page: multi-paragraph review text and the Google link under the grid */
.review-body p + p { margin-top: 10px; }
.reviews-more { display: flex; justify-content: center; margin: 0 0 60px; }

/* Homepage capability card that spans the full row, text beside a before/after pair */
.cap.cap-wide {
  grid-column: 1 / -1;
  border-right: none;
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 32px;
  align-items: center;
}
.cap-wide .ba-compare { margin-bottom: 0; }
@media (max-width: 860px) {
  .cap.cap-wide { grid-template-columns: 1fr; gap: 20px; }
}

/* Hidden from sighted users and screen readers alike; used for the form's spam trap */
.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
