/* =======================================================
   CORNERSTONE ROOFING CO.
   Design system — forest/copper/cream editorial
   Fraunces (display) + Inter Tight (text)
   ======================================================= */

:root {
  /* Palette */
  --ink: #1A1F1C;
  --ink-soft: #2C3531;
  --forest: #384a3f;
  --forest-light: #556052;
  --cream: #F5F0E6;
  --cream-2: #EBE4D5;
  --copper: #B85C38;
  --copper-deep: #8E4528;
  --muted: #6B6B66;
  --hairline: rgba(26, 31, 28, 0.1);
  --hairline-strong: rgba(26, 31, 28, 0.18);
  --overlay-dark: rgba(26, 31, 28, 0.55);
  --overlay-deep: rgba(26, 31, 28, 0.78);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter Tight', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

/* Paper grain fixed overlay — very subtle */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 200;
  opacity: 0.028;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  mix-blend-mode: multiply;
}

img { max-width: 100%; display: block; }

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

.wrap {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
}

@media (max-width: 640px) {
  .wrap { padding: 0 1.25rem; }
}

/* =====================
   TYPOGRAPHY
   ===================== */

h1, h2, h3, h4 {
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 400;
  letter-spacing: -0.025em;
  line-height: 1.08;
  color: var(--ink);
}

.h-display {
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 400;
  font-size: clamp(2.75rem, 7vw, 5.75rem);
  line-height: 0.98;
  letter-spacing: -0.035em;
}

.h-display em {
  font-style: italic;
  font-weight: 300;
  color: var(--copper);
}

.h-section {
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 400;
  font-size: clamp(2rem, 4.5vw, 3.25rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
  max-width: 22ch;
}

.h-section em {
  font-style: italic;
  color: var(--copper);
}

.eyebrow {
  font-family: 'Inter Tight', sans-serif;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.28em;
  font-weight: 600;
  color: var(--copper-deep);
  display: inline-block;
  margin-bottom: 1.5rem;
}

.eyebrow-light {
  color: var(--copper);
}

.lede {
  font-size: clamp(1.05rem, 1.4vw, 1.2rem);
  line-height: 1.7;
  color: var(--ink-soft);
  max-width: 56ch;
}

/* =====================
   HEADER / NAV
   ===================== */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 1rem 2rem;
  transition: all 400ms cubic-bezier(0.32, 0.72, 0, 1);
}

.site-header.scrolled {
  padding: 0.6rem 2rem;
}

.nav-island {
  max-width: 1200px;
  margin: 0 auto;
  background: rgba(245, 240, 230, 0.78);
  backdrop-filter: saturate(1.4) blur(18px);
  -webkit-backdrop-filter: saturate(1.4) blur(18px);
  border: 1px solid rgba(26, 31, 28, 0.08);
  border-radius: 100px;
  padding: 0.5rem 0.5rem 0.5rem 1.75rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  box-shadow: 0 4px 24px rgba(26, 31, 28, 0.04);
  transition: all 400ms cubic-bezier(0.32, 0.72, 0, 1);
}

.site-header.scrolled .nav-island {
  background: rgba(245, 240, 230, 0.92);
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: 'Fraunces', serif;
  font-size: 1.15rem;
  letter-spacing: -0.015em;
  color: var(--ink);
  white-space: nowrap;
}

.brand-mark {
  width: 28px;
  height: 28px;
  position: relative;
  flex-shrink: 0;
}

.brand-mark svg {
  width: 100%;
  height: 100%;
}

.brand-name em {
  font-style: italic;
  color: var(--copper);
}

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
  font-size: 0.9rem;
  font-weight: 500;
}

.nav-links a {
  color: var(--ink-soft);
  transition: color 300ms;
  position: relative;
}

.nav-links a:hover {
  color: var(--copper);
}

.nav-links a.active {
  color: var(--ink);
}

.nav-links a.active::after {
  content: '';
  position: absolute;
  bottom: -0.35rem;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--copper);
}

.nav-cta {
  background: var(--ink);
  color: var(--cream);
  padding: 0.7rem 0.7rem 0.7rem 1.25rem;
  border-radius: 100px;
  font-size: 0.85rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  transition: all 400ms cubic-bezier(0.32, 0.72, 0, 1);
  border: none;
  cursor: pointer;
  white-space: nowrap;
}

.nav-cta:hover {
  background: var(--copper);
}

.nav-cta-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(245, 240, 230, 0.12);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 400ms cubic-bezier(0.32, 0.72, 0, 1);
}

.nav-cta:hover .nav-cta-icon {
  transform: translate(2px, -1px);
  background: rgba(245, 240, 230, 0.2);
}

.mobile-toggle {
  display: none;
  width: 28px;
  height: 28px;
  background: transparent;
  border: none;
  cursor: pointer;
  position: relative;
}

.mobile-toggle span {
  position: absolute;
  left: 4px;
  width: 20px;
  height: 1.5px;
  background: var(--ink);
  transition: all 300ms cubic-bezier(0.32, 0.72, 0, 1);
}
.mobile-toggle span:nth-child(1) { top: 9px; }
.mobile-toggle span:nth-child(2) { top: 18px; }

.mobile-toggle.open span:nth-child(1) {
  top: 13.5px;
  transform: rotate(45deg);
}
.mobile-toggle.open span:nth-child(2) {
  top: 13.5px;
  transform: rotate(-45deg);
}

.mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(26, 31, 28, 0.96);
  backdrop-filter: blur(20px);
  z-index: 99;
  padding: 6rem 2rem 2rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 400ms;
}

.mobile-menu.open {
  opacity: 1;
  pointer-events: auto;
}

.mobile-menu ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.mobile-menu a {
  font-family: 'Fraunces', serif;
  font-size: 2rem;
  color: var(--cream);
  display: block;
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(245, 240, 230, 0.1);
}

.mobile-menu a em {
  color: var(--copper);
  font-style: italic;
}

@media (max-width: 900px) {
  .nav-links, .nav-cta { display: none; }
  .mobile-toggle { display: block; }
  .site-header { padding: 1rem 1.25rem; }
  .nav-island { padding: 0.55rem 0.75rem 0.55rem 1.25rem; }
}

/* =====================
   HERO (Home)
   ===================== */

.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
  padding: 8rem 0 2rem;
}

.hero-video, .hero-poster {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.hero-poster {
  background-size: cover;
  background-position: center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to bottom, rgba(26, 31, 28, 0.55) 0%, rgba(26, 31, 28, 0.3) 40%, rgba(26, 31, 28, 0.85) 100%),
    linear-gradient(to right, rgba(26, 31, 28, 0.6) 0%, rgba(26, 31, 28, 0.1) 60%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
  width: 100%;
}

.hero-inner {
  max-width: 900px;
}

.hero .eyebrow {
  color: var(--copper);
  margin-bottom: 2rem;
}

.hero h1 {
  color: var(--cream);
  margin-bottom: 1.75rem;
  max-width: 15ch;
}

.hero h1 em {
  color: var(--copper);
  font-weight: 300;
}

.hero-sub {
  font-size: clamp(1.05rem, 1.3vw, 1.2rem);
  line-height: 1.7;
  color: rgba(245, 240, 230, 0.88);
  max-width: 46ch;
  margin-bottom: 2.5rem;
}

.hero-cta-row {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}

.btn-primary {
  background: var(--copper);
  color: var(--cream);
  padding: 1rem 1rem 1rem 1.75rem;
  border-radius: 100px;
  font-size: 0.95rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  transition: all 500ms cubic-bezier(0.32, 0.72, 0, 1);
  border: none;
  cursor: pointer;
  letter-spacing: -0.005em;
  white-space: nowrap;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(184, 92, 56, 0.32);
}

.btn-primary:active {
  transform: scale(0.98);
}

.btn-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(245, 240, 230, 0.18);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 500ms cubic-bezier(0.32, 0.72, 0, 1);
  flex-shrink: 0;
}

.btn-primary:hover .btn-icon {
  transform: translate(3px, -2px) scale(1.05);
  background: rgba(245, 240, 230, 0.28);
}

.btn-ghost {
  color: var(--cream);
  padding: 1rem 1.5rem;
  border-radius: 100px;
  font-size: 0.95rem;
  font-weight: 500;
  border: 1px solid rgba(245, 240, 230, 0.3);
  transition: all 400ms cubic-bezier(0.32, 0.72, 0, 1);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: rgba(245, 240, 230, 0.05);
}

.btn-ghost:hover {
  background: rgba(245, 240, 230, 0.12);
  border-color: rgba(245, 240, 230, 0.5);
}

.hero-phone {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--cream);
  font-size: 0.95rem;
  font-weight: 500;
}

.hero-phone-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(245, 240, 230, 0.12);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(245, 240, 230, 0.2);
}

.hero-phone-number {
  font-family: 'Fraunces', serif;
  font-size: 1.1rem;
  letter-spacing: -0.01em;
}

.hero-phone-label {
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: rgba(245, 240, 230, 0.6);
  font-weight: 600;
  margin-bottom: 0.15rem;
  display: block;
}

.hero-trust {
  position: relative;
  z-index: 2;
  max-width: 1280px;
  margin: 4rem auto 0;
  padding: 2rem 2rem 0;
  width: 100%;
  border-top: 1px solid rgba(245, 240, 230, 0.12);
  display: flex;
  gap: 3rem;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
}

.trust-badge {
  display: flex;
  flex-direction: column;
  color: rgba(245, 240, 230, 0.85);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-weight: 600;
  line-height: 1.4;
}

.trust-badge strong {
  font-family: 'Fraunces', serif;
  font-size: 1.35rem;
  color: var(--cream);
  letter-spacing: -0.01em;
  text-transform: none;
  font-weight: 400;
  margin-bottom: 0.2rem;
  display: block;
}

.trust-badge em {
  font-style: italic;
  color: var(--copper);
}

/* =====================
   SECTIONS
   ===================== */

section {
  padding: clamp(4rem, 8vw, 7rem) 0;
  position: relative;
}

.section-head {
  margin-bottom: 4rem;
  max-width: 1280px;
  padding: 0 2rem;
  margin-left: auto;
  margin-right: auto;
}

.section-head-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: end;
}

@media (max-width: 840px) {
  .section-head-split { grid-template-columns: 1fr; gap: 1.5rem; }
}

/* =====================
   PROBLEM FRAMING
   ===================== */

.problem {
  background: var(--cream);
  border-top: 1px solid var(--hairline);
}

.problem-content {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 4rem;
  align-items: center;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
}

.problem-text .h-section {
  margin-bottom: 2rem;
}

.problem-list {
  list-style: none;
  margin-top: 2rem;
}

.problem-list li {
  padding: 1rem 0 1rem 2rem;
  border-top: 1px solid var(--hairline);
  position: relative;
  font-size: 1.05rem;
  color: var(--ink-soft);
}

.problem-list li:last-child {
  border-bottom: 1px solid var(--hairline);
}

.problem-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 1.5rem;
  width: 14px;
  height: 1.5px;
  background: var(--copper);
}

.problem-image {
  position: relative;
  aspect-ratio: 4/5;
  border-radius: 1.5rem;
  overflow: hidden;
  background: var(--forest);
  box-shadow: 0 24px 60px -20px rgba(26, 31, 28, 0.35);
}

.problem-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.problem-image-tag {
  position: absolute;
  bottom: 1.25rem;
  left: 1.25rem;
  right: 1.25rem;
  background: rgba(245, 240, 230, 0.96);
  backdrop-filter: blur(10px);
  padding: 0.85rem 1.25rem;
  border-radius: 100px;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--ink);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.problem-image-tag strong {
  color: var(--copper);
  font-weight: 600;
}

@media (max-width: 840px) {
  .problem-content { grid-template-columns: 1fr; gap: 2.5rem; }
  .problem-image { aspect-ratio: 5/4; }
}

/* =====================
   SERVICES
   ===================== */

.services {
  background: var(--ink);
  color: var(--cream);
}

.services .h-section {
  color: var(--cream);
}

.services .h-section em {
  color: var(--copper);
}

.services-sub {
  color: rgba(245, 240, 230, 0.7);
  font-size: 1.05rem;
  max-width: 46ch;
}

.services-grid {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.service-card {
  /* Outer shell */
  background: rgba(245, 240, 230, 0.04);
  border: 1px solid rgba(245, 240, 230, 0.08);
  border-radius: 1.75rem;
  padding: 0.5rem;
  transition: all 600ms cubic-bezier(0.32, 0.72, 0, 1);
}

.service-card:hover {
  transform: translateY(-4px);
  background: rgba(245, 240, 230, 0.08);
  border-color: rgba(184, 92, 56, 0.3);
}

.service-card-inner {
  /* Inner core */
  background: rgba(245, 240, 230, 0.03);
  border-radius: calc(1.75rem - 0.5rem);
  padding: 2.25rem 1.75rem;
  height: 100%;
  display: flex;
  flex-direction: column;
  box-shadow: inset 0 1px 0 rgba(245, 240, 230, 0.06);
  position: relative;
  overflow: hidden;
}

.service-card-inner::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 40px;
  height: 2px;
  background: var(--copper);
  transition: width 600ms cubic-bezier(0.32, 0.72, 0, 1);
}

.service-card:hover .service-card-inner::before {
  width: 80px;
}

.service-num {
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-size: 0.95rem;
  color: var(--copper);
  margin-bottom: 2rem;
}

.service-name {
  font-family: 'Fraunces', serif;
  font-size: 1.6rem;
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: var(--cream);
  margin-bottom: 0.85rem;
  min-height: 2.3em;
}

.service-desc {
  font-size: 0.92rem;
  color: rgba(245, 240, 230, 0.65);
  line-height: 1.65;
  margin-bottom: 2rem;
  flex: 1;
}

.service-link {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--cream);
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-weight: 600;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(245, 240, 230, 0.1);
  transition: color 300ms;
}

.service-card:hover .service-link {
  color: var(--copper);
}

.service-link-arrow {
  transition: transform 400ms cubic-bezier(0.32, 0.72, 0, 1);
}

.service-card:hover .service-link-arrow {
  transform: translate(3px, -2px);
}

@media (max-width: 1000px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  .services-grid { grid-template-columns: 1fr; }
}

/* =====================
   TRUST / CERTIFICATIONS
   ===================== */

.trust-section {
  background: var(--cream-2);
  padding: 4rem 0;
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
}

.trust-grid {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
  display: grid;
  grid-template-columns: auto repeat(4, 1fr);
  gap: 2.5rem;
  align-items: center;
}

.trust-label {
  font-family: 'Fraunces', serif;
  font-size: 1.05rem;
  font-style: italic;
  color: var(--muted);
  max-width: 14ch;
  line-height: 1.3;
}

.trust-cert {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding-left: 2rem;
  border-left: 1px solid var(--hairline-strong);
}

.trust-cert-name {
  font-family: 'Fraunces', serif;
  font-size: 1.2rem;
  color: var(--ink);
  letter-spacing: -0.01em;
}

.trust-cert-meta {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--muted);
  font-weight: 600;
}

@media (max-width: 900px) {
  .trust-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
  .trust-label {
    grid-column: 1 / -1;
    max-width: none;
    text-align: center;
  }
  .trust-cert {
    padding-left: 1.5rem;
  }
}

/* =====================
   OWNER / ABOUT BLOCK
   ===================== */

.owner {
  background: var(--cream);
  padding: clamp(5rem, 10vw, 9rem) 0;
}

.owner-content {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 5rem;
  align-items: center;
}

.owner-image {
  position: relative;
  aspect-ratio: 4/5;
  border-radius: 1.5rem;
  overflow: hidden;
  background: var(--forest);
}

.owner-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.owner-badge {
  position: absolute;
  top: 1.5rem;
  left: 1.5rem;
  background: var(--cream);
  padding: 0.85rem 1.25rem;
  border-radius: 100px;
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-size: 0.95rem;
  color: var(--ink);
  box-shadow: 0 8px 24px rgba(26, 31, 28, 0.12);
}

.owner-text .eyebrow {
  color: var(--copper-deep);
}

.owner-text .h-section {
  margin-bottom: 2rem;
}

.owner-text p {
  font-size: 1.05rem;
  color: var(--ink-soft);
  line-height: 1.75;
  margin-bottom: 1.25rem;
  max-width: 50ch;
}

.owner-sig {
  margin-top: 2.5rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--hairline);
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.owner-sig-name {
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-size: 1.8rem;
  color: var(--copper);
  letter-spacing: -0.01em;
}

.owner-sig-role {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--muted);
  font-weight: 600;
  line-height: 1.5;
  border-left: 1px solid var(--hairline-strong);
  padding-left: 1.5rem;
}

@media (max-width: 900px) {
  .owner-content { grid-template-columns: 1fr; gap: 3rem; }
  .owner-image { aspect-ratio: 5/4; max-width: 500px; }
}

/* =====================
   PROCESS
   ===================== */

.process {
  background: var(--forest);
  color: var(--cream);
  padding: clamp(5rem, 9vw, 8rem) 0;
}

.process .h-section { color: var(--cream); }
.process .h-section em { color: var(--copper); }
.process .eyebrow { color: var(--copper); }

.process-grid {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  margin-top: 4rem;
}

.process-step {
  position: relative;
  padding-top: 3rem;
}

.process-step::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: rgba(245, 240, 230, 0.2);
}

.process-step::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 30%;
  height: 1px;
  background: var(--copper);
}

.process-num {
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-size: 0.9rem;
  color: var(--copper);
  margin-bottom: 1.5rem;
  display: block;
}

.process-title {
  font-family: 'Fraunces', serif;
  font-size: 1.5rem;
  color: var(--cream);
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
  line-height: 1.15;
}

.process-desc {
  font-size: 0.92rem;
  color: rgba(245, 240, 230, 0.7);
  line-height: 1.65;
}

@media (max-width: 900px) {
  .process-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 540px) {
  .process-grid { grid-template-columns: 1fr; }
}

/* =====================
   REVIEWS
   ===================== */

.reviews {
  background: var(--cream);
  padding: clamp(5rem, 9vw, 8rem) 0;
}

.reviews-grid {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.review-card {
  background: var(--cream);
  border: 1px solid var(--hairline);
  border-radius: 1.5rem;
  padding: 2rem 1.75rem;
  display: flex;
  flex-direction: column;
  box-shadow: 0 2px 0 rgba(26, 31, 28, 0.02);
  transition: all 500ms cubic-bezier(0.32, 0.72, 0, 1);
}

.review-card:hover {
  transform: translateY(-2px);
  border-color: var(--copper);
  box-shadow: 0 12px 32px -12px rgba(184, 92, 56, 0.2);
}

.review-stars {
  display: flex;
  gap: 0.25rem;
  margin-bottom: 1rem;
  color: var(--copper);
}

.review-text {
  font-size: 0.98rem;
  line-height: 1.65;
  color: var(--ink-soft);
  margin-bottom: 1.75rem;
  flex: 1;
  font-family: 'Fraunces', serif;
  font-weight: 400;
  font-size: 1.08rem;
  letter-spacing: -0.005em;
}

.review-author {
  padding-top: 1.25rem;
  border-top: 1px solid var(--hairline);
  display: flex;
  align-items: center;
  gap: 1rem;
}

.review-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--forest);
  color: var(--cream);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Fraunces', serif;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.review-meta {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.review-name {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--ink);
}

.review-location {
  font-size: 0.78rem;
  color: var(--muted);
}

@media (max-width: 1000px) {
  .reviews-grid { grid-template-columns: 1fr; max-width: 600px; }
}

/* =====================
   QUOTE CTA FORM
   ===================== */

.quote-cta {
  background: var(--ink);
  color: var(--cream);
  padding: clamp(5rem, 10vw, 8rem) 0;
  position: relative;
  overflow: hidden;
}

.quote-cta::before {
  content: '';
  position: absolute;
  top: -30%;
  right: -10%;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(184, 92, 56, 0.15) 0%, transparent 60%);
  pointer-events: none;
}

.quote-cta::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(56, 74, 63, 0.35) 0%, transparent 60%);
  pointer-events: none;
}

.quote-content {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
  position: relative;
  z-index: 1;
}

.quote-text .eyebrow { color: var(--copper); }
.quote-text .h-section { color: var(--cream); margin-bottom: 1.5rem; }
.quote-text .h-section em { color: var(--copper); }

.quote-sub {
  color: rgba(245, 240, 230, 0.7);
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 2.5rem;
  max-width: 44ch;
}

.quote-perks {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(245, 240, 230, 0.1);
}

.quote-perks li {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  font-size: 0.95rem;
  color: rgba(245, 240, 230, 0.85);
}

.quote-perks li svg {
  flex-shrink: 0;
  color: var(--copper);
}

.quote-form-wrap {
  background: rgba(245, 240, 230, 0.04);
  border: 1px solid rgba(245, 240, 230, 0.1);
  border-radius: 2rem;
  padding: 0.6rem;
  backdrop-filter: blur(8px);
}

.quote-form {
  background: rgba(245, 240, 230, 0.03);
  border-radius: calc(2rem - 0.6rem);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.quote-form-head {
  font-family: 'Fraunces', serif;
  font-size: 1.35rem;
  color: var(--cream);
  letter-spacing: -0.01em;
  margin-bottom: 0.5rem;
  line-height: 1.2;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.form-field label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: rgba(245, 240, 230, 0.55);
  font-weight: 600;
}

.form-field input,
.form-field select,
.form-field textarea {
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(245, 240, 230, 0.2);
  color: var(--cream);
  padding: 0.7rem 0;
  font-family: 'Inter Tight', sans-serif;
  font-size: 0.98rem;
  transition: all 300ms;
  outline: none;
  width: 100%;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-bottom-color: var(--copper);
}

.form-field textarea {
  resize: vertical;
  min-height: 80px;
}

.form-field select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' fill='%23F5F0E6'%3E%3Cpath d='M5 7.5L0 2.5h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right center;
  padding-right: 1.5rem;
  cursor: pointer;
}

.form-field select option {
  background: var(--ink);
  color: var(--cream);
}

.form-submit {
  background: var(--copper);
  color: var(--cream);
  border: none;
  padding: 1rem 1.5rem;
  border-radius: 100px;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  margin-top: 0.75rem;
  transition: all 400ms cubic-bezier(0.32, 0.72, 0, 1);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
}

.form-submit:hover {
  background: var(--copper-deep);
  transform: translateY(-1px);
}

@media (max-width: 900px) {
  .quote-content { grid-template-columns: 1fr; gap: 3rem; }
}

/* =====================
   FOOTER
   ===================== */

footer.site-footer {
  background: var(--ink);
  color: var(--cream);
  padding: 5rem 0 2rem;
  border-top: 1px solid var(--forest);
}

.footer-top {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 4rem;
  border-bottom: 1px solid rgba(245, 240, 230, 0.1);
}

.footer-brand {
  font-family: 'Fraunces', serif;
  font-size: 1.5rem;
  color: var(--cream);
  margin-bottom: 1rem;
}

.footer-brand em {
  color: var(--copper);
  font-style: italic;
}

.footer-tagline {
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-size: 1.05rem;
  color: rgba(245, 240, 230, 0.65);
  max-width: 28ch;
  line-height: 1.5;
}

.footer-col h4 {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--copper);
  margin-bottom: 1.25rem;
  font-weight: 600;
  font-family: 'Inter Tight', sans-serif;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.footer-col a {
  color: rgba(245, 240, 230, 0.75);
  font-size: 0.95rem;
  transition: color 300ms;
}

.footer-col a:hover { color: var(--copper); }

.footer-contact-block {
  font-size: 0.9rem;
  color: rgba(245, 240, 230, 0.75);
  line-height: 1.8;
}

.footer-contact-block strong {
  font-family: 'Fraunces', serif;
  font-weight: 400;
  color: var(--cream);
  font-size: 1.15rem;
  display: block;
  margin-bottom: 0.15rem;
}

.footer-bottom {
  max-width: 1280px;
  margin: 2rem auto 0;
  padding: 0 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.78rem;
  color: rgba(245, 240, 230, 0.5);
  flex-wrap: wrap;
  gap: 1rem;
}

@media (max-width: 900px) {
  .footer-top { grid-template-columns: 1fr 1fr; gap: 2.5rem; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 540px) {
  .footer-top { grid-template-columns: 1fr; }
}

/* =====================
   INNER PAGE HEADERS (non-home pages)
   ===================== */

.page-header {
  background: var(--forest);
  color: var(--cream);
  padding: 11rem 0 6rem;
  position: relative;
  overflow: hidden;
}

.page-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("https://images.pexels.com/photos/259588/pexels-photo-259588.jpeg?auto=compress&cs=tinysrgb&w=1920") center/cover;
  opacity: 0.18;
  mix-blend-mode: luminosity;
}

.page-header::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(56, 74, 63, 0.7) 0%, var(--forest) 100%);
  pointer-events: none;
}

.page-header-content {
  position: relative;
  z-index: 2;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
}

.page-header .eyebrow {
  color: var(--copper);
}

.page-header h1 {
  font-family: 'Fraunces', serif;
  font-weight: 400;
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  line-height: 1.02;
  letter-spacing: -0.035em;
  color: var(--cream);
  max-width: 18ch;
  margin-bottom: 1.25rem;
}

.page-header h1 em {
  font-style: italic;
  color: var(--copper);
}

.page-header .lede {
  color: rgba(245, 240, 230, 0.8);
  max-width: 56ch;
}

.breadcrumb {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: rgba(245, 240, 230, 0.55);
  margin-bottom: 2rem;
  font-weight: 600;
}

.breadcrumb a { color: rgba(245, 240, 230, 0.75); }

.breadcrumb-sep {
  color: var(--copper);
  margin: 0 0.75rem;
}

/* =====================
   SERVICE DETAIL CARDS (services page)
   ===================== */

.service-detail {
  background: var(--cream);
  border: 1px solid var(--hairline);
  border-radius: 2rem;
  padding: 0.6rem;
  margin-bottom: 1.5rem;
  transition: all 500ms cubic-bezier(0.32, 0.72, 0, 1);
}

.service-detail:hover {
  border-color: var(--copper);
}

.service-detail-inner {
  background: var(--cream);
  border-radius: calc(2rem - 0.6rem);
  padding: 2.5rem;
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 3rem;
  align-items: center;
}

.service-detail-image {
  aspect-ratio: 4/3;
  border-radius: 1.25rem;
  overflow: hidden;
  background: var(--forest);
}

.service-detail-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.service-detail-text h3 {
  font-family: 'Fraunces', serif;
  font-size: 1.8rem;
  line-height: 1.1;
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}

.service-detail-text h3 em {
  font-style: italic;
  color: var(--copper);
}

.service-detail-text p {
  color: var(--ink-soft);
  font-size: 1rem;
  line-height: 1.65;
  margin-bottom: 1.5rem;
}

.service-detail-features {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem 1.5rem;
  margin-top: 1.5rem;
}

.service-detail-features li {
  font-size: 0.88rem;
  color: var(--ink-soft);
  padding-left: 1.25rem;
  position: relative;
}

.service-detail-features li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.55rem;
  width: 8px;
  height: 8px;
  border-right: 1.5px solid var(--copper);
  border-bottom: 1.5px solid var(--copper);
  transform: rotate(-45deg);
}

@media (max-width: 840px) {
  .service-detail-inner {
    grid-template-columns: 1fr;
    gap: 1.75rem;
    padding: 1.75rem;
  }
  .service-detail-features { grid-template-columns: 1fr; }
}

/* =====================
   SERVICE AREAS
   ===================== */

.areas-content {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 4rem;
  align-items: start;
}

.areas-map {
  position: sticky;
  top: 6rem;
  aspect-ratio: 4/5;
  background: var(--forest);
  border-radius: 1.5rem;
  overflow: hidden;
}

.areas-map iframe {
  width: 100%;
  height: 100%;
  border: 0;
  filter: grayscale(0.2) contrast(1.05);
}

.areas-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.5rem 2rem;
}

.area-item {
  padding: 1rem 0;
  border-bottom: 1px solid var(--hairline);
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-family: 'Fraunces', serif;
  font-size: 1.15rem;
  color: var(--ink);
}

.area-item-meta {
  font-family: 'Inter Tight', sans-serif;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--muted);
  font-weight: 600;
}

@media (max-width: 840px) {
  .areas-content { grid-template-columns: 1fr; }
  .areas-map { position: static; aspect-ratio: 16/10; }
}

/* =====================
   CONTACT PAGE
   ===================== */

.contact-layout {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.contact-info-card {
  background: var(--ink);
  color: var(--cream);
  border-radius: 2rem;
  padding: 0.6rem;
}

.contact-info-inner {
  background: var(--ink);
  border-radius: calc(2rem - 0.6rem);
  padding: 2.5rem;
  background-image:
    radial-gradient(circle at 100% 0%, rgba(184, 92, 56, 0.15) 0%, transparent 50%);
}

.contact-info-item {
  padding: 1.5rem 0;
  border-bottom: 1px solid rgba(245, 240, 230, 0.1);
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
}

.contact-info-item:first-child { padding-top: 0; }
.contact-info-item:last-child { border-bottom: none; padding-bottom: 0; }

.contact-info-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(184, 92, 56, 0.15);
  border: 1px solid rgba(184, 92, 56, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--copper);
  flex-shrink: 0;
}

.contact-info-label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: rgba(245, 240, 230, 0.55);
  font-weight: 600;
  margin-bottom: 0.35rem;
}

.contact-info-value {
  font-family: 'Fraunces', serif;
  font-size: 1.25rem;
  color: var(--cream);
  letter-spacing: -0.01em;
  line-height: 1.4;
}

.contact-info-value a { color: var(--cream); transition: color 300ms; }
.contact-info-value a:hover { color: var(--copper); }

.contact-info-sub {
  font-size: 0.88rem;
  color: rgba(245, 240, 230, 0.6);
  margin-top: 0.4rem;
}

@media (max-width: 840px) {
  .contact-layout { grid-template-columns: 1fr; }
}

/* =====================
   REVEAL ANIMATIONS
   ===================== */

.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 900ms cubic-bezier(0.32, 0.72, 0, 1), transform 900ms cubic-bezier(0.32, 0.72, 0, 1);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 100ms; }
.reveal-delay-2 { transition-delay: 200ms; }
.reveal-delay-3 { transition-delay: 300ms; }
.reveal-delay-4 { transition-delay: 400ms; }
.reveal-delay-5 { transition-delay: 500ms; }

/* Respect motion preferences */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  .reveal {
    opacity: 1;
    transform: none;
  }
}
