/* ===== Design tokens ===== */
:root {
  /* Warm palette, tuned to the red P&P logo */
  --ink: #2a1712;
  --ink-soft: #6d554e;
  --forest: #cc2b2b;        /* primary brand red (was green) */
  --forest-deep: #8a1c1c;   /* deep red — dark surfaces & headings */
  --forest-pale: #fbe6e1;   /* pale rose */
  --sage: #e0968a;          /* soft coral */
  --cream: #fdf8f1;         /* warm cream, matches logo backdrop */
  --paper: #f7ecdf;         /* warm paper */
  --clay: #dd7a44;          /* warm terracotta accent */
  --clay-deep: #bd5f30;
  --clay-pale: #fbe7da;
  --gold: #cf9a2b;
  --white: #ffffff;
  --border: rgba(42, 23, 18, 0.12);
  --border-soft: rgba(42, 23, 18, 0.07);

  --radius: 20px;
  --radius-sm: 13px;
  --radius-lg: 28px;

  --shadow-sm: 0 2px 10px rgba(120, 32, 24, 0.08);
  --shadow: 0 16px 36px -12px rgba(120, 32, 24, 0.20), 0 4px 12px -6px rgba(120, 32, 24, 0.12);
  --shadow-lg: 0 34px 70px -16px rgba(90, 22, 18, 0.30), 0 10px 24px -10px rgba(90, 22, 18, 0.18);
  --shadow-clay: 0 14px 30px -8px rgba(217, 118, 74, 0.4);

  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);

  --space-1: 8px;
  --space-2: 16px;
  --space-3: 24px;
  --space-4: 32px;
  --space-5: 48px;
  --space-6: 64px;
  --space-7: 96px;
}

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

html { scroll-behavior: smooth; background-color: var(--cream); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

body {
  font-family: "Manrope", system-ui, -apple-system, sans-serif;
  color: var(--ink);
  /* Transparent so the fixed .bg-morph layer shows through behind every
     section. Sections still layer their own tint on top (see hero, alt,
     trust-bar, contact, footer). */
  background-color: transparent;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

/* ===== Scroll-driven background morph =====
   A single fixed layer behind the whole page. The 7 room frames are stacked
   and crossfaded by scroll progress (see script.js), so the space transforms
   from cluttered (top) to spotless (bottom). The veil's opacity is also
   scroll-driven: thin in the hero (photo reads strong) and thicker over the
   content (text stays readable). */
.bg-morph {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  background-color: var(--cream); /* fallback if images fail to load */
}

.bg-frame {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  will-change: opacity;
  opacity: 0;
}

.bg-frame:first-of-type { opacity: 1; } /* messy base visible before JS runs */

.bg-veil {
  position: absolute;
  inset: 0;
  background: var(--cream);
  opacity: 0.62;
}

/* No JS (or reduced motion): show the spotless end state under a steady veil. */
html:not(.js) .bg-frame { opacity: 0; }
html:not(.js) .bg-frame:last-of-type { opacity: 1; }

@media (prefers-reduced-motion: reduce) {
  .bg-frame { opacity: 0 !important; }
  .bg-frame:last-of-type { opacity: 1 !important; }
  .bg-veil { opacity: 0.66 !important; }
}

/* Every image ships as <picture> with a WebP source and a JPEG/PNG fallback.
   display:contents keeps the wrapper out of the layout, so the existing
   img rules (and any flex/grid parent) behave exactly as they did before. */
picture {
  display: contents;
}

.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 var(--space-3);
}

h1, h2, h3 {
  font-family: "Fraunces", Georgia, serif;
  line-height: 1.12;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--forest-deep);
}

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

a { color: inherit; }

::selection { background: var(--clay); color: var(--white); }

/* Grain texture overlay, used on dark / hero surfaces for depth */
.grain {
  position: relative;
  isolation: isolate;
}

.grain::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.5;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.5'/%3E%3C/svg%3E");
}

.grain > * { position: relative; z-index: 1; }

/* Scroll-reveal (progressive enhancement — see script.js).
   Only hidden once `.js` is set on <html> by the inline head script, so
   content stays visible by default if JS fails to load or run. */
.js .reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}

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

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

/* ===== Navigation ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(251, 247, 238, 0.85);
  backdrop-filter: blur(14px) saturate(1.4);
  -webkit-backdrop-filter: blur(14px) saturate(1.4);
  border-bottom: 1px solid var(--border-soft);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 104px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  flex-shrink: 0;
}

.logo-mark {
  height: 88px;
  width: auto;
  display: block;
}

.logo-lockup {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.logo-name {
  font-family: "Fraunces", Georgia, serif;
  font-weight: 700;
  font-size: 1.5rem;
  letter-spacing: -0.01em;
  color: var(--forest-deep);
}

.logo-name .amp { color: var(--forest); font-style: italic; padding: 0 1px; }

.logo-tag {
  margin-top: 5px;
  font-family: "Manrope", system-ui, sans-serif;
  font-weight: 700;
  font-size: 0.7rem;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--forest);
}

@media (max-width: 560px) {
  .nav-wrap { height: 88px; }
  .logo-mark { height: 66px; }
  .logo-name { font-size: 1.2rem; }
  .logo-tag { font-size: 0.6rem; letter-spacing: 0.28em; }
}

@media (max-width: 400px) {
  .logo { gap: 9px; }
  .logo-tag { letter-spacing: 0.2em; }
}

.main-nav {
  display: flex;
  align-items: center;
  gap: var(--space-4);
}

.main-nav a {
  text-decoration: none;
  color: var(--ink-soft);
  font-weight: 600;
  font-size: 0.95rem;
  transition: color 0.2s;
  position: relative;
}

.main-nav a:not(.nav-cta)::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -6px;
  height: 2px;
  background: var(--clay);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.25s var(--ease-out);
}

.main-nav a:not(.nav-cta):hover::after { transform: scaleX(1); transform-origin: left; }

.main-nav a:hover { color: var(--forest-deep); }

.nav-cta {
  background: var(--forest);
  color: var(--white) !important;
  padding: 10px 20px;
  border-radius: 999px;
  box-shadow: 0 8px 20px -6px rgba(138, 28, 28, 0.42);
  transition: background 0.2s, transform 0.2s var(--ease-spring);
}

.nav-cta:hover { background: var(--forest-deep); transform: translateY(-2px); }

.nav-toggle {
  display: none;
  position: relative;
  width: 42px;
  height: 42px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 80;
}

.nav-toggle span {
  position: absolute;
  left: 9px;
  right: 9px;
  height: 2px;
  background: var(--forest-deep);
  border-radius: 2px;
  transition: transform 0.3s var(--ease-spring), opacity 0.2s, top 0.3s var(--ease-spring);
}

.nav-toggle span:nth-child(1) { top: 15px; }
.nav-toggle span:nth-child(2) { top: 21px; }
.nav-toggle span:nth-child(3) { top: 27px; }

.nav-toggle.open span:nth-child(1) { top: 21px; transform: rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { top: 21px; transform: rotate(-45deg); }

.nav-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(18, 30, 23, 0.4);
  backdrop-filter: blur(2px);
  z-index: 55;
  opacity: 0;
  transition: opacity 0.25s;
}

.nav-backdrop.open { display: block; opacity: 1; }

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 15px 28px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1rem;
  border: none;
  cursor: pointer;
  transition: background 0.2s, transform 0.25s var(--ease-spring), box-shadow 0.25s;
}

.btn:active { transform: scale(0.97); }

.btn:focus-visible {
  outline: 2px solid var(--clay);
  outline-offset: 3px;
}

.btn-primary {
  background: var(--clay);
  color: var(--white);
  box-shadow: var(--shadow-clay);
}

.btn-primary:hover { background: var(--clay-deep); transform: translateY(-3px); box-shadow: 0 20px 34px -10px rgba(217, 118, 74, 0.5); }

.btn-ghost {
  background: rgba(255, 255, 255, 0.6);
  color: var(--forest-deep);
  border: 1.5px solid var(--forest);
}

.btn-ghost:hover { background: var(--white); transform: translateY(-3px); }

.btn-full { width: 100%; justify-content: center; }

/* ===== Hero ===== */
.hero {
  position: relative;
  overflow: hidden;
  padding: 64px 0 100px;
  /* Left-heavy cream scrim over the morph layer: keeps the headline readable
     on the left while the transforming room photo reads strongest on the right. */
  background-image:
    linear-gradient(112deg,
      rgba(253, 248, 241, 0.92) 0%,
      rgba(253, 248, 241, 0.80) 42%,
      rgba(253, 248, 241, 0.40) 78%,
      rgba(253, 248, 241, 0.22) 100%);
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  z-index: 0;
  pointer-events: none;
}

.hero::before {
  width: 480px; height: 480px;
  top: -180px; right: -120px;
  background: radial-gradient(circle, rgba(204, 43, 43, 0.18), transparent 70%);
}

.hero::after {
  width: 380px; height: 380px;
  bottom: -160px; left: -100px;
  background: radial-gradient(circle, rgba(217, 118, 74, 0.18), transparent 70%);
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: var(--space-6);
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 7px 18px 7px 8px;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--forest-deep);
  margin-bottom: 24px;
  box-shadow: var(--shadow-sm);
}

.hero-badge .dot {
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--clay);
  box-shadow: 0 0 0 4px var(--clay-pale);
}

.hero h1 {
  font-size: clamp(2.2rem, 4.8vw, 3.6rem);
  margin-bottom: 20px;
}

.hero h1 em {
  font-style: normal;
  color: var(--clay-deep);
  background: linear-gradient(120deg, transparent 0%, transparent 6%, var(--clay-pale) 6%, var(--clay-pale) 100%);
  padding: 0 4px;
}

.hero-sub {
  font-size: 1.15rem;
  color: var(--ink-soft);
  margin-bottom: 30px;
  max-width: 50ch;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 30px;
}

.hero-trust {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 26px;
  color: var(--forest-deep);
  font-weight: 600;
  font-size: 0.92rem;
}

.hero-visual {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  position: relative;
  z-index: 1;
}

.hero-card {
  margin: 0;
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--border-soft);
  box-shadow: var(--shadow);
  overflow: hidden;
  text-align: center;
  transition: transform 0.3s var(--ease-spring), box-shadow 0.3s;
}

.hero-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }

.hero-card img {
  width: 100%;
  height: 132px;
  object-fit: cover;
  display: block;
}

.hero-card figcaption {
  padding: 12px 10px;
  font-weight: 700;
  font-family: "Fraunces", serif;
  color: var(--forest-deep);
  font-size: 1rem;
}

/* Third card spans the full width as a wide banner */
.hero-card-wide { grid-column: 1 / -1; }
.hero-card-wide img { height: 150px; }

/* ===== Trust bar ===== */
.trust-bar {
  background-image:
    linear-gradient(rgba(138, 28, 28, 0.90), rgba(138, 28, 28, 0.90));
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  background-repeat: no-repeat;
  color: var(--white);
  padding: 26px 0;
  position: relative;
}

.trust-bar-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  text-align: center;
}

.trust-item strong {
  display: block;
  font-family: "Fraunces", serif;
  font-size: 1.7rem;
  color: #eac274;
}

.trust-item span {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.7);
}

/* ===== Sections ===== */
.section { padding: var(--space-7) 0; }

.section-alt {
  background-image:
    linear-gradient(rgba(247, 236, 223, 0.80), rgba(247, 236, 223, 0.80));
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  background-repeat: no-repeat;
}

.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--clay-deep);
  margin-bottom: 12px;
}

.section-kicker::before {
  content: "";
  width: 22px;
  height: 2px;
  background: var(--clay);
  display: inline-block;
}

.section-kicker.light { color: #e3b56a; }
.section-kicker.light::before { background: #e3b56a; }

.section h2 {
  font-size: clamp(1.8rem, 3.4vw, 2.5rem);
  margin-bottom: 16px;
}

.section-sub {
  color: var(--ink-soft);
  max-width: 62ch;
  margin-bottom: var(--space-5);
  font-size: 1.05rem;
}

/* Launch pricing banner */
.launch-banner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  background: linear-gradient(120deg, var(--forest-pale), #fdf3ea);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 18px 22px;
  margin-bottom: var(--space-5);
}

.launch-banner-icon { font-size: 1.6rem; }

.launch-banner strong { color: var(--forest-deep); }

.launch-banner p { color: var(--ink-soft); font-size: 0.95rem; margin: 0; }

/* ===== Services ===== */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-3);
}

.service-card {
  position: relative;
  background: var(--white);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  padding: 32px 26px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: transform 0.3s var(--ease-spring), box-shadow 0.3s;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.service-card.featured {
  border: 2px solid var(--clay);
  background: linear-gradient(165deg, var(--white) 60%, var(--clay-pale) 140%);
}

.service-badge {
  position: absolute;
  top: -14px;
  right: 22px;
  background: var(--clay);
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 5px 15px;
  border-radius: 999px;
  box-shadow: var(--shadow-clay);
}

.service-icon {
  display: inline-grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: 15px;
  background: var(--forest-pale);
  font-size: 1.7rem;
  margin-bottom: 18px;
}

.service-icon svg {
  width: 30px;
  height: 30px;
  color: var(--forest);
}

.service-card h3 { margin-bottom: 10px; font-size: 1.3rem; }

.service-card > p { color: var(--ink-soft); margin-bottom: 18px; }

.service-card ul {
  list-style: none;
  margin-bottom: 22px;
  flex-grow: 1;
}

.service-card ul li {
  padding-left: 26px;
  position: relative;
  margin-bottom: 9px;
  color: var(--ink-soft);
  font-size: 0.95rem;
}

.service-card ul li::before {
  content: "✔";
  position: absolute;
  left: 0;
  color: var(--forest);
  font-weight: 700;
}

.price {
  font-size: 1.02rem;
  color: var(--ink-soft);
  border-top: 1px solid var(--border-soft);
  padding-top: 18px;
}

.price strong {
  font-family: "Fraunces", serif;
  font-size: 1.6rem;
  color: var(--forest-deep);
}

/* ===== Price table ===== */
.price-table-wrap {
  margin-top: var(--space-5);
  background: var(--white);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  padding: 30px;
  box-shadow: var(--shadow-sm);
}

.price-table-title { margin-bottom: 18px; font-size: 1.25rem; }

.table-scroll { overflow-x: auto; }

.price-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 480px;
}

.price-table th,
.price-table td {
  padding: 14px 16px;
  text-align: center;
  border-bottom: 1px solid var(--border-soft);
}

.price-table th:first-child,
.price-table td:first-child { text-align: left; }

.price-table thead th {
  background: var(--forest-pale);
  color: var(--forest-deep);
  font-weight: 700;
}

.price-table td { font-weight: 700; font-size: 1.05rem; font-family: "Fraunces", serif; color: var(--forest-deep); }
.price-table td:first-child { font-family: "Manrope", sans-serif; font-weight: 600; color: var(--ink); font-size: 0.95rem; }

.price-table-note {
  margin-top: 16px;
  font-size: 0.88rem;
  color: var(--ink-soft);
}

/* ===== Instant quote calculator ===== */
.quote-calc {
  display: grid;
  grid-template-columns: 1.3fr 0.9fr;
  gap: var(--space-4);
  background: var(--white);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: 38px;
}

.quote-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  align-content: start;
}

.quote-fields label {
  display: grid;
  gap: 7px;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--ink);
}

.quote-fields select {
  font: inherit;
  padding: 12px 14px;
  border: 1.5px solid var(--border);
  border-radius: 10px;
  background: var(--cream);
  transition: border-color 0.2s;
}

.quote-fields select:focus {
  outline: none;
  border-color: var(--forest);
  background: var(--white);
}

.quote-extras {
  grid-column: 1 / -1;
  border: 1.5px solid var(--border);
  border-radius: 10px;
  padding: 15px 16px;
  display: grid;
  gap: 11px;
}

.quote-extras legend {
  font-weight: 700;
  font-size: 0.85rem;
  padding: 0 6px;
  color: var(--forest-deep);
}

.chk {
  display: flex !important;
  flex-direction: row;
  align-items: center;
  gap: 10px !important;
  font-weight: 500 !important;
}

.chk input {
  width: 18px;
  height: 18px;
  accent-color: var(--forest);
}

.quote-result {
  background: linear-gradient(160deg, var(--forest-deep), var(--forest));
  border-radius: var(--radius-sm);
  padding: 30px 24px;
  text-align: center;
  display: grid;
  gap: 10px;
  align-content: center;
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.quote-result-label {
  text-transform: uppercase;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  font-weight: 700;
  color: #f6d9c7;
}

.quote-result-price {
  font-family: "Fraunces", serif;
  font-size: 2.3rem;
  font-weight: 700;
  color: var(--white);
  transition: opacity 0.2s;
}

.quote-result-note { color: #f6d9c7; font-size: 0.92rem; }

.quote-result .btn-primary { margin-top: 4px; }

.quote-disclaimer {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.65);
}

/* ===== Before/after gallery ===== */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-3);
}

.ba-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-soft);
  transition: transform 0.3s var(--ease-spring), box-shadow 0.3s;
}

.ba-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }

.ba-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.ba-img {
  aspect-ratio: 1 / 1.1;
  display: flex;
  align-items: flex-end;
  padding: 12px;
}

.ba-photo {
  position: relative;
  overflow: hidden;
  background: #e7e5e4;
}

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

.ba-photo span { position: relative; z-index: 1; }

.ba-img span {
  background: rgba(18, 30, 23, 0.78);
  color: var(--white);
  font-size: 0.78rem;
  font-weight: 700;
  padding: 4px 13px;
  border-radius: 999px;
}

.ba-before {
  background:
    repeating-linear-gradient(45deg, rgba(76, 88, 80, 0.25) 0 12px, transparent 12px 24px),
    linear-gradient(160deg, #a8a29e, #78716c);
}

.ba-after {
  background: linear-gradient(160deg, var(--sage), var(--forest));
}

.ba-card figcaption {
  padding: 15px 18px;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--forest-deep);
}

.gallery-note {
  margin-top: var(--space-3);
  text-align: center;
  color: var(--ink-soft);
  font-size: 0.92rem;
}

/* ===== Why choose us ===== */
.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-3);
}

.why-card {
  background: var(--white);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  padding: 30px 24px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s var(--ease-spring), box-shadow 0.3s;
}

.why-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }

.why-icon {
  display: inline-grid;
  place-items: center;
  width: 50px;
  height: 50px;
  border-radius: 14px;
  background: var(--forest-pale);
  font-size: 1.5rem;
  margin-bottom: 16px;
}

.why-card h3 { font-size: 1.1rem; margin-bottom: 8px; }

.why-card p { color: var(--ink-soft); font-size: 0.94rem; }

.founder-note {
  margin-top: var(--space-5);
  background: var(--forest-deep);
  border-radius: var(--radius);
  padding: 34px 36px;
  color: var(--white);
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 22px;
  align-items: center;
}

.founder-avatar {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: linear-gradient(155deg, var(--clay), var(--clay-deep));
  display: grid;
  place-items: center;
  font-size: 1.5rem;
  flex-shrink: 0;
}

.founder-note p { margin: 0; color: rgba(255, 255, 255, 0.88); font-size: 1rem; }

.founder-note strong { color: #eac274; font-family: "Fraunces", serif; }

/* ===== FAQ ===== */
.faq-list {
  display: grid;
  gap: 12px;
  max-width: 760px;
}

.faq-item {
  background: var(--white);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.faq-item summary {
  cursor: pointer;
  padding: 19px 24px;
  font-weight: 700;
  list-style: none;
  position: relative;
  padding-right: 48px;
  font-family: "Fraunces", serif;
  color: var(--forest-deep);
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 22px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.4rem;
  color: var(--clay);
  transition: transform 0.25s var(--ease-spring);
}

.faq-item[open] summary::after { content: "\2013"; transform: translateY(-50%) rotate(180deg); }

.faq-item p {
  padding: 0 24px 20px;
  color: var(--ink-soft);
}

/* ===== Areas ===== */
.section-areas { padding-top: 0; }

.areas-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.chip {
  background: var(--white);
  border: 1px solid var(--border);
  color: var(--forest-deep);
  font-weight: 600;
  font-size: 0.9rem;
  font-family: inherit;
  padding: 9px 19px;
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.2s var(--ease-spring);
}

.chip:hover { background: var(--forest-pale); transform: translateY(-2px); }

.chip.active {
  background: var(--forest);
  border-color: var(--forest);
  color: var(--white);
}

.area-map {
  display: block;
  width: 100%;
  height: 420px;
  margin-top: var(--space-4);
  border-radius: var(--radius);
  border: 1px solid var(--border-soft);
  box-shadow: var(--shadow-sm);
  background: var(--paper);
}

.area-map-note {
  margin-top: 12px;
  font-size: 0.85rem;
  color: var(--ink-soft);
}

/* ===== Contact ===== */
.section-contact {
  background-image:
    linear-gradient(160deg, rgba(138, 28, 28, 0.93), rgba(58, 13, 13, 0.95) 70%);
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  background-repeat: no-repeat;
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.section-contact::before {
  content: "";
  position: absolute;
  width: 460px; height: 460px;
  top: -180px; right: -140px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(217, 118, 74, 0.22), transparent 70%);
  filter: blur(50px);
}

.contact-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: var(--space-6);
  align-items: start;
}

.contact-info h2 { color: var(--white); }

.contact-info > p { color: #edcfc3; margin-bottom: var(--space-4); }

.contact-list {
  list-style: none;
  display: grid;
  gap: 15px;
  font-size: 1.05rem;
}

.contact-list a {
  color: #e3b56a;
  text-decoration: none;
  font-weight: 600;
}

.contact-list a:hover { text-decoration: underline; }

.contact-form {
  background: var(--white);
  border-radius: var(--radius);
  padding: 34px 32px;
  box-shadow: var(--shadow-lg);
  display: grid;
  gap: 17px;
  color: var(--ink);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 17px;
}

.contact-form label {
  display: grid;
  gap: 7px;
  font-weight: 600;
  font-size: 0.9rem;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  font: inherit;
  padding: 12px 14px;
  border: 1.5px solid var(--border);
  border-radius: 10px;
  background: var(--cream);
  transition: border-color 0.2s, background 0.2s;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--forest);
  background: var(--white);
}

.form-note {
  text-align: center;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--forest);
  min-height: 1.2em;
}

/* ===== Footer ===== */
.site-footer {
  background-image:
    linear-gradient(rgba(120, 24, 24, 0.93), rgba(120, 24, 24, 0.93));
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  background-repeat: no-repeat;
  color: rgba(255, 255, 255, 0.6);
  padding: 28px 0;
  font-size: 0.9rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-grid {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.site-footer nav { display: flex; gap: 20px; }

.site-footer a {
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
}

.site-footer a:hover { color: #e3b56a; }

/* ===== AI chat assistant ===== */
.chat-fab {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  border: none;
  background: var(--clay);
  color: var(--white);
  font-size: 1.6rem;
  cursor: pointer;
  box-shadow: var(--shadow-clay);
  z-index: 90;
  transition: transform 0.25s var(--ease-spring), background 0.2s;
}

.chat-fab:hover { transform: scale(1.08) rotate(-4deg); background: var(--clay-deep); }

.chat-panel {
  position: fixed;
  bottom: 96px;
  right: 24px;
  width: min(370px, calc(100vw - 32px));
  height: min(500px, calc(100vh - 130px));
  background: var(--white);
  border-radius: 20px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-soft);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  z-index: 95;
}

.chat-panel[hidden] { display: none; }

.chat-header {
  background: var(--forest-deep);
  color: var(--white);
  padding: 15px 18px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.chat-title { font-weight: 700; font-size: 0.95rem; font-family: "Fraunces", serif; }

.chat-close {
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.6);
  font-size: 1.1rem;
  cursor: pointer;
}

.chat-close:hover { color: var(--white); }

.chat-messages {
  flex: 1;
  overflow-y: auto;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: var(--paper);
}

.chat-msg {
  max-width: 85%;
  padding: 11px 15px;
  border-radius: 15px;
  font-size: 0.92rem;
  line-height: 1.45;
  white-space: pre-line;
}

.chat-msg.bot {
  background: var(--white);
  border: 1px solid var(--border-soft);
  border-bottom-left-radius: 4px;
  align-self: flex-start;
}

.chat-msg.user {
  background: var(--forest);
  color: var(--white);
  border-bottom-right-radius: 4px;
  align-self: flex-end;
}

.chat-quick {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 9px 12px;
  background: var(--paper);
  border-top: 1px solid var(--border-soft);
}

.chat-quick button {
  background: var(--white);
  border: 1px solid var(--border);
  color: var(--forest-deep);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 7px 13px;
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.2s;
}

.chat-quick button:hover { background: var(--forest-pale); }

.chat-input-row {
  display: flex;
  border-top: 1px solid var(--border-soft);
}

.chat-input-row input {
  flex: 1;
  border: none;
  padding: 15px 16px;
  font: inherit;
  font-size: 0.92rem;
}

.chat-input-row input:focus { outline: none; }

.chat-send {
  border: none;
  background: var(--clay);
  color: var(--white);
  padding: 0 20px;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.2s;
}

.chat-send:hover { background: var(--clay-deep); }

/* Fixed backgrounds are unreliable on iOS/small screens — fall back to scroll */
@media (max-width: 860px) {
  body,
  .hero,
  .section-alt,
  .trust-bar,
  .section-contact,
  .site-footer {
    background-attachment: scroll;
  }
}

/* ===== Tablet ===== */
@media (max-width: 1024px) {
  .container { padding: 0 20px; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { max-width: 480px; margin: 0 auto; }
  .cards-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; gap: var(--space-5); }
  .founder-note { grid-template-columns: 1fr; text-align: center; justify-items: center; }
}

/* ===== Mobile ===== */
@media (max-width: 860px) {
  .section { padding: var(--space-6) 0; }

  .nav-toggle { display: block; }

  .main-nav {
    position: fixed;
    top: 0;
    right: 0;
    height: 100vh;
    width: min(300px, 82vw);
    background: var(--cream);
    border-left: 1px solid var(--border);
    box-shadow: -20px 0 50px rgba(90, 22, 18, 0.18);
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 26px;
    padding: 32px;
    transform: translateX(100%);
    /* The closed drawer used to sit off the right edge as a real box, which
       stretched the page to ~690px on a 390px phone and let the whole site
       scroll sideways. Toggling `display` removes it entirely (and takes its
       links out of the tab order); allow-discrete + @starting-style keep the
       slide animation. Browsers without allow-discrete just snap open. */
    display: none;
    transition: transform 0.35s var(--ease-out), display 0.35s allow-discrete;
    z-index: 70;
  }

  .main-nav.open {
    display: flex;
    transform: translateX(0);
  }

  @starting-style {
    .main-nav.open { transform: translateX(100%); }
  }

  .main-nav a { font-size: 1.1rem; }

  .nav-cta { margin-top: 8px; }

  .quote-calc { grid-template-columns: 1fr; padding: 26px; }
  .quote-fields { grid-template-columns: 1fr; }

  .trust-bar-grid { grid-template-columns: repeat(2, 1fr); gap: 22px; }

  .cards-grid,
  .why-grid,
  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .hero-visual { grid-template-columns: 1fr 1fr; max-width: 360px; }

  .launch-banner { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 560px) {
  .form-row { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { justify-content: center; }
  .chat-panel {
    width: calc(100vw - 24px);
    right: 12px;
    bottom: 88px;
    height: min(70vh, 520px);
  }
  .chat-fab { right: 16px; bottom: 16px; }
  .founder-note { padding: 26px 22px; }
}

@media (max-width: 400px) {
  .hero-visual { grid-template-columns: 1fr 1fr; gap: 12px; }
  .hero-card { padding: 20px 12px; }
}

/* ===== Mobile: let the scroll-morph backdrop read stronger =====
   Narrow screens stack opaque cards that hide most of the photo, so we soften
   the hero scrim and lift the global veil (see veilRange() in script.js), then
   add a faint cream halo behind on-photo text to keep it readable. */
@media (max-width: 768px) {
  .hero {
    background-image:
      linear-gradient(180deg,
        rgba(253, 248, 241, 0.80) 0%,
        rgba(253, 248, 241, 0.52) 42%,
        rgba(253, 248, 241, 0.30) 100%);
  }
  .hero h1 { text-shadow: 0 1px 12px rgba(253, 248, 241, 0.8); }
  .hero-sub { text-shadow: 0 1px 10px rgba(253, 248, 241, 0.85); }
  .section-sub,
  .section > .container > h2 { text-shadow: 0 1px 9px rgba(253, 248, 241, 0.7); }
}
