/* ==========================================================================
   CEDARLINE FENCE AND DECK
   Warm linen, cedar brown buttons and an amber accent under a sturdy slab
   serif: photo hero with a quote card, about video, four sticky service
   panels, three reasons, crew, trust band, FAQ, contact.
   ========================================================================== */

:root {
  --background: #F7F4EF;
  --card: #FFFFFF;
  --foreground: #1D211C;
  --primary-cta: #6E3F22;
  --primary-cta-text: #FFFFFF;
  --secondary-cta: #FFFFFF;
  --secondary-cta-text: #1D211C;
  --accent: #B5752C;
  --background-accent: #E3D3BF;
  --font-body: 'General Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-heading: 'Bespoke Slab', 'General Sans', Georgia, serif;
  --radius: 1.5rem;
  --content-width: 87.5vw;
  --section-head-size: var(--text-6xl);
  --nav-ink: #ffffff;
  --nav-ink-scrolled: var(--foreground);
}

@media (width >= 1536px) {
  :root { --section-head-size: var(--text-7xl); }
}

/* --- Hero ---------------------------------------------------------------- */

.hero {
  position: relative;
  width: 100%;
  height: 100svh;
  min-height: 42rem;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  margin-bottom: 5rem;
}

.hero__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Light scrim only on the left, where the copy sits. */
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(10, 25, 10, 0.55) 0%, rgba(10, 25, 10, 0.15) 45%, transparent 70%);
}

.hero__inner {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.15rem;
  padding-top: 8rem;
  color: #fff;
}

.hero__inner .eyebrow {
  background: rgba(255, 255, 255, 0.85);
  color: var(--foreground);
  border: 0;
}

.hero__title {
  max-width: 14ch;
  font-size: var(--text-8xl);
  line-height: 1.05;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.hero__lede {
  max-width: 50ch;
  font-size: var(--text-xl);
  line-height: 1.45;
}

.hero__actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 0.5rem; }

.hero .float-review { color: var(--foreground); }
.hero .float-review .testimonial__stars { color: var(--accent); }

@media (width <= 900px) {
  .hero { height: auto; min-height: 0; padding-bottom: 3rem; margin-bottom: 3rem; }
  .hero__inner { padding-top: 7rem; }
  .hero__title { font-size: var(--text-7xl); max-width: 12ch; }
  .hero::after { background: linear-gradient(to top, rgba(10, 25, 10, 0.75), rgba(10, 25, 10, 0.3)); }
  .hero .float-review { background: var(--card); }
}

/* --- Video statement ------------------------------------------------------ */

.statement { display: flex; flex-direction: column; gap: 2rem; align-items: center; }

.statement h2 {
  max-width: 26ch;
  font-size: var(--text-5xl);
  line-height: 1.25;
  text-align: center;
  text-wrap: balance;
}

.statement__media {
  width: 100%;
  border-radius: var(--radius);
  overflow: hidden;
}

.statement__media video {
  width: 100%;
  aspect-ratio: 21 / 9;
  object-fit: cover;
}

@media (width <= 768px) {
  .statement__media video { aspect-ratio: 16 / 10; }
}

/* --- Services ------------------------------------------------------------- */

.service-panels { display: flex; flex-direction: column; gap: 1.25rem; }

/* --- Reasons -------------------------------------------------------------- */

.reason-tile { border-radius: var(--radius); overflow: hidden; }

.reason-tile img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

.reason-tile__body { padding: 1.5rem; }
.reason-tile__body h3 { font-size: var(--text-3xl); margin-bottom: 0.4rem; }
.reason-tile__body p { font-size: var(--text-lg); line-height: 1.45; }

/* --- Trust band ----------------------------------------------------------- */

.trust-band {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  padding: 3.5rem 2rem;
  border-radius: var(--radius);
  text-align: center;
}

.trust-band h3 {
  max-width: 28ch;
  font-size: var(--text-4xl);
  line-height: 1.3;
  font-weight: 500;
  text-wrap: balance;
}

.trust-band .avatar-stack { justify-content: center; }
.trust-band .avatar-stack__row img { width: 3rem; height: 3rem; }

/* --- Contact -------------------------------------------------------------- */

.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  align-items: stretch;
}

.contact-panel {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  padding: 2.5rem;
  border-radius: var(--radius);
  text-align: center;
}

.contact-panel h2 { font-size: var(--text-6xl); line-height: 1.1; }

.contact-panel > p {
  max-width: 36ch;
  font-size: var(--text-lg);
  line-height: 1.45;
  margin-bottom: 0.75rem;
}

.contact-grid__media { border-radius: var(--radius); overflow: hidden; }

.contact-grid__media img {
  width: 100%;
  height: 100%;
  min-height: 22rem;
  object-fit: cover;
}

@media (width <= 900px) {
  .contact-grid { grid-template-columns: minmax(0, 1fr); }
  .contact-panel { padding: 1.5rem; }
  .contact-grid__media img { min-height: 16rem; }
}

/* --- Footer --------------------------------------------------------------- */

.site-footer { border-radius: var(--radius) var(--radius) 0 0; padding-block: 4rem; }

.footer-top { display: grid; grid-template-columns: 1fr auto; gap: 3rem; align-items: start; }

.footer-brand { font-size: var(--text-5xl); font-weight: 700; letter-spacing: -0.02em; }

.footer-nav { display: grid; grid-template-columns: repeat(3, minmax(9rem, auto)); gap: 2.5rem; }

.footer-nav h3 { font-size: var(--text-base); font-weight: 500; opacity: 0.6; margin-bottom: 1rem; }
.footer-nav ul { display: flex; flex-direction: column; gap: 0.75rem; }
.footer-nav a { font-size: var(--text-lg); transition: opacity 0.2s; }
.footer-nav a:hover { opacity: 0.7; }

.footer-legal-bar {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.25);
  font-size: var(--text-base);
  opacity: 0.7;
}

.footer-legal-bar div { display: flex; gap: 1.25rem; }

@media (width <= 768px) {
  .footer-top { grid-template-columns: minmax(0, 1fr); gap: 2rem; }
  .footer-nav { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem; }
}

.section-head h2,
.grad-head { background: none; color: var(--foreground); }

/* The deck photo is bright, so the scrim carries the headline and intro. */
.hero::after { background: linear-gradient(100deg, rgba(24, 16, 10, 0.82) 0%, rgba(24, 16, 10, 0.58) 45%, rgba(24, 16, 10, 0.22) 78%); }
@media (width <= 768px) {
  .hero::after { background: linear-gradient(to top, rgba(24, 16, 10, 0.88), rgba(24, 16, 10, 0.6)); }
}

/* Footer column labels were dimmed to 4.3:1; they sit at full strength. */
.footer-nav h3 { opacity: 1; }
