/* ==========================================================================
   Fall Porch Charm — Design System
   Brand: taupe #A48B79 · burnt orange #CD652E · cream #FAF2EC
   Type: Playfair Display (display) · Parisienne (script) · Montserrat (body)
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;1,400;1,500&family=Alex+Brush&family=Montserrat:wght@400;500;600&display=swap');

:root {
  --cream: #FAF2EC;
  --cream-deep: #F3E7DC;
  --taupe: #A48B79;
  --taupe-light: #C9B8AA;
  --orange: #CD652E;
  --orange-dark: #B05423;
  --ink: #3E3128;
  --ink-soft: #6B5B4E;
  --brown-deep: #2E241C;
  --white: #FFFFFF;
  --serif: 'Playfair Display', Georgia, serif;
  --script: 'Alex Brush', cursive;
  --sans: 'Montserrat', 'Segoe UI', sans-serif;
  --radius: 14px;
  --shadow: 0 18px 50px -22px rgba(62, 49, 40, .35);
  --maxw: 1180px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  font-size: 16.5px;
  line-height: 1.75;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--orange); text-decoration: none; }

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

/* ---------- Type ---------- */

h1, h2, h3 { font-family: var(--serif); font-weight: 500; line-height: 1.15; color: var(--ink); }

h1 { font-size: clamp(2.5rem, 5.5vw, 4.1rem); }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.7rem); }
h3 { font-size: 1.35rem; }

.script-accent {
  font-family: var(--script);
  font-weight: 400;
  color: var(--orange);
  font-size: clamp(2rem, 3.8vw, 3.1rem);
  display: block;
  line-height: 1.2;
  margin-bottom: .35rem;
}

.eyebrow {
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--taupe);
  margin-bottom: 1rem;
}

.lead { font-size: 1.12rem; color: var(--ink-soft); }

@media (min-width: 900px) {
  .h2-one-line { white-space: nowrap; }
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-block;
  font-family: var(--sans);
  font-size: .82rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  padding: 1.05em 2.3em;
  border-radius: 999px;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: all .25s ease;
}

.btn-primary { background: var(--orange); color: var(--white); }
.btn-primary:hover { background: var(--orange-dark); transform: translateY(-2px); box-shadow: 0 12px 26px -12px rgba(205, 101, 46, .7); }

.btn-outline { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-outline:hover { background: var(--ink); color: var(--cream); }

.btn-light { background: var(--cream); color: var(--ink); }
.btn-light:hover { background: var(--white); transform: translateY(-2px); }

/* ---------- Announcement bar ---------- */

.announce {
  background: var(--brown-deep);
  color: var(--cream);
  text-align: center;
  font-size: .8rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  padding: .65em 1em;
}
.announce a { color: var(--taupe-light); text-decoration: underline; text-underline-offset: 3px; }
.announce a:hover { color: var(--white); }

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(250, 242, 236, .92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(164, 139, 121, .25);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: .7rem 24px;
  max-width: var(--maxw);
  margin: 0 auto;
}

.brand { display: flex; align-items: center; gap: .8rem; }
.brand img { width: 62px; height: 62px; }
.brand-name {
  font-family: var(--serif);
  font-size: 1.15rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ink);
  line-height: 1.25;
}

.nav { display: flex; align-items: center; gap: 1.9rem; }
.nav a {
  font-size: .8rem;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ink);
  padding: .4em 0;
  border-bottom: 1.5px solid transparent;
  transition: all .2s;
}
.nav a:hover, .nav a.active { color: var(--orange); border-bottom-color: var(--orange); }
.nav .btn { padding: .85em 1.8em; border-bottom: none; }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: .4rem;
}
.nav-toggle span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--ink);
  margin: 6px 0;
  transition: all .3s;
}

/* ---------- Hero (split, arched image) ---------- */

.hero { overflow: hidden; }

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
  padding-top: clamp(3rem, 6vw, 5.5rem);
  padding-bottom: clamp(3rem, 6vw, 5.5rem);
}

.hero-copy .lead { margin: 1.4rem 0 2.2rem; max-width: 34rem; }

.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; }

.hero-note { font-size: .85rem; color: var(--taupe); margin-top: 1.4rem; letter-spacing: .04em; }

.arch-img {
  border-radius: 999px 999px var(--radius) var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  position: relative;
}
.arch-img img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 5; }

.hero-badge {
  position: absolute;
  bottom: 18px;
  left: 18px;
  background: rgba(250, 242, 236, .94);
  border-radius: 10px;
  padding: .7em 1.2em;
  font-size: .78rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--ink);
}

/* ---------- Sections ---------- */

.section { padding: clamp(3.5rem, 7vw, 6rem) 0; }
.section-white { background: var(--white); }
.section-deep { background: var(--cream-deep); }
.section-brown { background: var(--brown-deep); color: var(--cream); }
.section-brown h2, .section-brown h3 { color: var(--cream); }

.section-head { max-width: 46rem; margin: 0 auto 3rem; text-align: center; }
.section-head.left { margin-left: 0; text-align: left; }

.rule {
  width: 64px;
  height: 2px;
  background: var(--taupe);
  margin: 1.3rem auto 0;
  border: none;
}
.section-head.left .rule { margin-left: 0; }

/* ---------- Intro / editorial split ---------- */

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}
.split .arch-img img { aspect-ratio: 3 / 4; }
.split-copy h1, .split-copy h2, .split-copy h3 { margin-bottom: 1.4rem; }
.split-copy p + p { margin-top: 1.1rem; }
.split-copy .btn { margin-top: 2rem; }

/* ---------- Package cards ---------- */

.pkg-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.pkg-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  transition: transform .3s ease;
}
.pkg-card:hover { transform: translateY(-6px); }

.pkg-card .pkg-img { aspect-ratio: 4 / 3.4; overflow: hidden; }
.pkg-card .pkg-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.pkg-card:hover .pkg-img img { transform: scale(1.05); }

.pkg-body { padding: 1.8rem 1.8rem 2.1rem; display: flex; flex-direction: column; flex: 1; }
.pkg-body h3 { margin-bottom: .3rem; }

.pkg-price {
  font-family: var(--serif);
  font-size: 1.5rem;
  color: var(--orange);
  margin-bottom: .8rem;
}
.pkg-price small { font-family: var(--sans); font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--taupe); }

.pkg-body p { font-size: .95rem; color: var(--ink-soft); flex: 1; }
.pkg-body p:has(+ .pkg-list) { flex: 0 0 auto; }

.pkg-list { list-style: none; margin: 1.1rem 0 0; flex: 1; }
.pkg-list li {
  font-size: .93rem;
  color: var(--ink-soft);
  padding: .42em 0 .42em 1.5em;
  position: relative;
  border-bottom: 1px dashed rgba(164, 139, 121, .3);
}
.pkg-list li::before { content: '✦'; position: absolute; left: 0; color: var(--taupe); font-size: .7rem; top: .75em; }

.pkg-body .btn { margin-top: 1.6rem; text-align: center; }

.pkg-note { text-align: center; margin-top: 2.8rem; }
.pkg-note p { max-width: 40rem; margin: 0 auto .4rem; color: var(--ink-soft); }

/* ---------- Steps ---------- */

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
  counter-reset: step;
}

.step { text-align: center; padding: 0 .5rem; }

.step-num {
  font-family: var(--script);
  font-size: 2.6rem;
  color: var(--orange);
  line-height: 1;
  margin-bottom: 1rem;
}

.step h3 { margin-bottom: .6rem; }
.step p { font-size: .97rem; color: var(--ink-soft); }

/* ---------- Gallery ---------- */

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.gallery-grid a {
  border-radius: 10px;
  overflow: hidden;
  display: block;
}
.gallery-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 1 / 1;
  transition: transform .6s ease;
}
.gallery-grid a:hover img { transform: scale(1.06); }

.gallery-note { text-align: center; font-size: .88rem; color: var(--taupe); margin-top: 1.6rem; letter-spacing: .04em; }

/* ---------- Lightbox ---------- */

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(46, 36, 28, .93);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s ease;
}
.lightbox.open { opacity: 1; pointer-events: auto; }

.lightbox img {
  max-width: min(88vw, 1100px);
  max-height: 85vh;
  border-radius: 10px;
  box-shadow: 0 30px 80px -20px rgba(0, 0, 0, .6);
  user-select: none;
}

.lb-btn {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 1.5px solid rgba(250, 242, 236, .45);
  background: rgba(250, 242, 236, .08);
  color: var(--cream);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  transition: all .2s;
}
.lb-btn:hover { background: var(--orange); border-color: var(--orange); }

.lb-prev { left: max(16px, 3vw); top: 50%; transform: translateY(-50%); }
.lb-next { right: max(16px, 3vw); top: 50%; transform: translateY(-50%); }
.lb-close { top: 18px; right: max(16px, 3vw); font-size: 1.7rem; }

.lb-count {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(250, 242, 236, .75);
  font-size: .82rem;
  letter-spacing: .14em;
}

@media (max-width: 640px) {
  .lb-btn { width: 44px; height: 44px; }
  .lb-prev { left: 8px; }
  .lb-next { right: 8px; }
  .lightbox img { max-width: 94vw; }
}

/* ---------- Testimonials ---------- */

.quote-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }

.quote-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2.4rem 2.4rem 2rem;
  box-shadow: var(--shadow);
  position: relative;
}
.quote-card::before {
  content: '\201C';
  font-family: var(--serif);
  font-size: 4.5rem;
  color: var(--taupe-light);
  position: absolute;
  top: .4rem;
  left: 1.6rem;
  line-height: 1;
}
.quote-card blockquote { font-family: var(--serif); font-size: 1.12rem; font-style: italic; line-height: 1.6; padding-top: 1.2rem; }
.quote-card cite {
  display: block;
  margin-top: 1.2rem;
  font-style: normal;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--taupe);
}

/* ---------- CTA band ---------- */

.cta-band { position: relative; overflow: hidden; }
.cta-band .cta-bg { position: absolute; inset: 0; }
.cta-band .cta-bg img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.cta-band .cta-bg::after { content: ''; position: absolute; inset: 0; background: linear-gradient(rgba(46, 36, 28, .72), rgba(46, 36, 28, .72)); }

.cta-inner { position: relative; text-align: center; padding: clamp(6rem, 12vw, 10rem) 24px; max-width: 44rem; margin: 0 auto; }
.cta-inner h2 { color: var(--cream); margin-bottom: 1rem; }
.cta-inner p { color: rgba(250, 242, 236, .85); margin-bottom: 2.2rem; }

/* ---------- Forms ---------- */

.form-wrap { max-width: 720px; margin: 0 auto; background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); padding: clamp(2rem, 4vw, 3.2rem); }

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
.form-grid .full { grid-column: 1 / -1; }

label {
  display: block;
  font-size: .74rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: .45rem;
}

input, select, textarea {
  width: 100%;
  font-family: var(--sans);
  font-size: 1rem;
  color: var(--ink);
  background: var(--cream);
  border: 1px solid rgba(164, 139, 121, .4);
  border-radius: 8px;
  padding: .85em 1em;
  transition: border-color .2s, box-shadow .2s;
}
input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(205, 101, 46, .15);
}

textarea { min-height: 130px; resize: vertical; }

input[type='file'] { padding: .6em; background: var(--white); }

.form-note { font-size: .88rem; color: var(--ink-soft); margin-top: 1.4rem; text-align: center; }

.form-wrap .btn { width: 100%; margin-top: 1.6rem; }

/* ---------- FAQ ---------- */

.faq-list { max-width: 780px; margin: 0 auto; }

.faq-item { background: var(--white); border-radius: 12px; box-shadow: var(--shadow); margin-bottom: 1rem; overflow: hidden; }

.faq-item summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1.3rem 1.6rem;
  font-family: var(--serif);
  font-size: 1.12rem;
  font-weight: 500;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+';
  font-family: var(--sans);
  font-size: 1.4rem;
  color: var(--orange);
  transition: transform .25s;
  flex-shrink: 0;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item .faq-a { padding: 0 1.6rem 1.4rem; color: var(--ink-soft); font-size: .98rem; }

/* ---------- Meet Us ---------- */

.meet-photos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; margin-top: 3rem; }
.meet-photos img { border-radius: var(--radius); aspect-ratio: 1 / 1; object-fit: cover; width: 100%; }

/* ---------- Service area chips ---------- */

.area-chips { display: flex; flex-wrap: wrap; gap: .6rem; justify-content: center; margin-top: 1.6rem; }
.area-chips span {
  font-size: .8rem;
  letter-spacing: .08em;
  padding: .45em 1.1em;
  border: 1px solid rgba(164, 139, 121, .5);
  border-radius: 999px;
  color: var(--ink-soft);
  background: var(--white);
}

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

.site-footer { background: var(--brown-deep); color: rgba(250, 242, 236, .8); font-size: .92rem; }

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1.2fr;
  gap: 3rem;
  padding-top: clamp(3rem, 6vw, 4.5rem);
  padding-bottom: 2.5rem;
}

.footer-grid h4 {
  font-family: var(--sans);
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--taupe-light);
  margin-bottom: 1.1rem;
}

.site-footer a { color: rgba(250, 242, 236, .85); }
.site-footer a:hover { color: var(--white); }

.footer-brand img { width: 74px; margin-bottom: 1rem; filter: brightness(0) invert(.95); }
.footer-brand p { max-width: 20rem; }

.footer-links ul { list-style: none; }
.footer-links li { margin-bottom: .5rem; }

.footer-social { display: flex; gap: 1rem; margin-top: 1rem; }
.footer-social a {
  display: inline-flex;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(250, 242, 236, .3);
  border-radius: 50%;
  transition: all .2s;
}
.footer-social a:hover { background: var(--orange); border-color: var(--orange); }
.footer-social svg { width: 17px; height: 17px; fill: currentColor; }

.footer-bottom {
  border-top: 1px solid rgba(250, 242, 236, .15);
  padding: 1.4rem 0;
  text-align: center;
  font-size: .8rem;
  color: rgba(250, 242, 236, .55);
}
.footer-bottom a { color: rgba(250, 242, 236, .7); }

/* ---------- Page hero (inner pages) ---------- */

.page-hero { position: relative; overflow: hidden; }
.page-hero .ph-bg { position: absolute; inset: 0; }
.page-hero .ph-bg img { width: 100%; height: 100%; object-fit: cover; }
.page-hero .ph-bg::after { content: ''; position: absolute; inset: 0; background: linear-gradient(rgba(46, 36, 28, .6), rgba(46, 36, 28, .6)); }
.page-hero .ph-inner { position: relative; text-align: center; padding: clamp(4.5rem, 9vw, 7.5rem) 24px; max-width: 50rem; margin: 0 auto; }
.page-hero h1 { color: var(--cream); font-size: clamp(2.2rem, 4.5vw, 3.4rem); }
.page-hero p { color: rgba(250, 242, 236, .88); margin-top: 1rem; font-size: 1.08rem; }
.page-hero .eyebrow { color: var(--taupe-light); }

/* ---------- Reveal on scroll ---------- */

.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Responsive ---------- */

@media (max-width: 960px) {
  .pkg-grid, .steps { grid-template-columns: 1fr; max-width: 30rem; margin-left: auto; margin-right: auto; }
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
  .quote-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 2.2rem; }
}

@media (max-width: 860px) {
  .hero-grid, .split { grid-template-columns: 1fr; gap: 0; }
  .hero-grid { padding-top: 2.5rem; }

  /* Stack two-column sections as: eyebrow, heading, image, then text */
  .hero-copy, .split-copy { display: contents; }
  .hero-copy > *, .split-copy > * { order: 4; }
  .hero-copy > .eyebrow, .split-copy > .eyebrow { order: 1; }
  .hero-copy > h1, .split-copy > h1, .split-copy > h2, .split-copy > h3 { order: 2; margin-bottom: 0; }
  .hero-grid > .arch-img, .split > .arch-img { order: 3; margin: 1.4rem 0; }
  .hero-copy > .lead { margin-top: 0; }

  /* backdrop-filter would trap the fixed-position menu inside the header box */
  .site-header { backdrop-filter: none; background: var(--cream); }

  .nav {
    position: fixed;
    inset: 0;
    top: 0;
    background: var(--cream);
    flex-direction: column;
    justify-content: safe center;
    gap: 1.6rem;
    padding: 2rem 0;
    overflow-y: auto;
    transform: translateX(100%);
    transition: transform .35s ease;
    z-index: 60;
  }
  .nav.open { transform: none; }
  .nav a { font-size: 1rem; }
  .nav-toggle { display: block; position: relative; z-index: 70; }
  .nav-toggle.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
  .nav-toggle.open span:nth-child(2) { opacity: 0; }
  .nav-toggle.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
}

@media (max-width: 640px) {
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .form-grid { grid-template-columns: 1fr; }
  .meet-photos { grid-template-columns: 1fr; }
  .brand-name { font-size: .95rem; }
}
