:root {
  --terracotta: #C4502A;
  --terracotta-deep: #A83F1F;
  --plum: #3D1F2B;
  --plum-deep: #2B1520;
  --cream: #FBF3E7;
  --cream-deep: #F0E4D2;
  --forest: #4A5D3A;
  --ink: #2A1810;
  --line: rgba(42, 24, 16, 0.14);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --cream: #1A1410;
    --cream-deep: #201914;
    --ink: #F0E4D2;
    --line: rgba(240, 228, 210, 0.16);
  }
}
:root[data-theme="dark"] {
  --cream: #1A1410;
  --cream-deep: #201914;
  --ink: #F0E4D2;
  --line: rgba(240, 228, 210, 0.16);
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: 'Manrope', -apple-system, sans-serif;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3 {
  font-family: 'Bricolage Grotesque', Georgia, serif;
  font-weight: 800;
  margin: 0;
  color: var(--ink);
}

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

.wrap {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 28px;
}

.eyebrow {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--terracotta);
  margin-bottom: 10px;
}

/* ---- Nav ---- */
.nav {
  position: sticky;
  top: 0;
  z-index: 30;
  background: var(--cream);
  border-bottom: 1px solid var(--line);
  padding: 18px 0;
}
.nav .wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.logo {
  font-family: 'Bricolage Grotesque', serif;
  font-weight: 800;
  font-size: 1.25rem;
}
.logo span { color: var(--terracotta); }
.nav-links {
  display: flex;
  gap: 28px;
  font-size: 0.92rem;
  font-weight: 600;
}
.nav-links a:hover { color: var(--terracotta); }
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 6px;
}
.menu-toggle span {
  width: 22px;
  height: 2px;
  background: var(--ink);
  display: block;
}

/* ---- Hero ---- */
.hero {
  position: relative;
  padding: 70px 0 0;
  overflow: hidden;
}
.hero-diagonal {
  position: absolute;
  top: -10%;
  right: -15%;
  width: 60%;
  height: 130%;
  background: linear-gradient(155deg, var(--plum), var(--plum-deep));
  transform: skewX(-12deg);
  z-index: 0;
}
.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: center;
  padding-bottom: 60px;
}
.hero-copy h1 {
  font-size: clamp(2.4rem, 4.8vw, 3.8rem);
  line-height: 1.05;
}
.hero-copy h1 span { color: var(--terracotta); }
.hero-sub {
  margin-top: 20px;
  max-width: 42ch;
  font-size: 1.05rem;
  opacity: 0.85;
}
.hero-ctas {
  margin-top: 30px;
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
.btn-primary {
  display: inline-block;
  padding: 14px 26px;
  background: var(--terracotta);
  color: var(--cream);
  font-weight: 700;
  font-size: 0.92rem;
  border: none;
  border-radius: 3px;
  cursor: pointer;
  transition: background 0.15s ease, transform 0.15s ease;
}
.btn-primary:hover { background: var(--terracotta-deep); transform: translateY(-1px); }
.btn-ghost {
  display: inline-block;
  padding: 14px 26px;
  border: 1.5px solid var(--ink);
  color: var(--ink);
  font-weight: 700;
  font-size: 0.92rem;
  border-radius: 3px;
}
.btn-ghost:hover { background: var(--ink); color: var(--cream); }
.hero-media {
  width: 100%;
  max-width: 380px;
  justify-self: end;
  display: block;
}

/* ---- Stats ---- */
.stats {
  background: var(--plum);
  padding: 40px 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  text-align: center;
}
.stat .num {
  font-family: 'Bricolage Grotesque', serif;
  font-size: 2.1rem;
  font-weight: 800;
  color: var(--cream);
}
.stat .label {
  font-size: 0.8rem;
  color: rgba(251, 243, 231, 0.65);
  margin-top: 4px;
}

/* ---- Section shared ---- */
section { padding: 84px 0; }
.section-head { margin-bottom: 44px; max-width: 44ch; }
.section-head h2 { font-size: clamp(1.7rem, 3vw, 2.2rem); line-height: 1.15; }

/* ---- Bento packages ---- */
.bento {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: auto auto;
  gap: 20px;
}
.bento-card {
  background: var(--cream-deep);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 28px 26px;
  position: relative;
  transition: transform 0.15s ease, border-color 0.15s ease;
}
.bento-card:hover { transform: translateY(-3px); border-color: var(--terracotta); }
.bento-card h3 { font-size: 1.15rem; margin-bottom: 10px; }
.bento-card p { font-size: 0.9rem; opacity: 0.78; margin: 0 0 18px; }
.bento-price {
  font-family: 'Bricolage Grotesque', serif;
  font-weight: 800;
  color: var(--terracotta);
}
.bento-large {
  grid-column: span 2;
  grid-row: span 2;
  background: var(--plum);
  color: var(--cream);
}
.bento-large h3 { color: var(--cream); font-size: 1.5rem; }
.bento-large p { color: rgba(251,243,231,0.8); }
.bento-large .bento-price { color: var(--terracotta); font-size: 1.2rem; }
.bento-tag {
  display: inline-block;
  background: var(--terracotta);
  color: var(--cream);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 999px;
  margin-bottom: 16px;
}
.bento-wide { grid-column: span 2; }

/* ---- Gallery ---- */
.gallery { padding-bottom: 60px; }
.gallery-strip {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  padding: 4px 28px 20px;
  scroll-snap-type: x mandatory;
}
.gallery-strip img {
  flex: 0 0 auto;
  width: 220px;
  height: 220px;
  object-fit: cover;
  border-radius: 4px;
  scroll-snap-align: start;
}

/* ---- Process ---- */
.process-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.process-num {
  font-family: 'Bricolage Grotesque', serif;
  font-size: 2rem;
  font-weight: 800;
  color: var(--terracotta);
  opacity: 0.5;
  margin-bottom: 10px;
}
.process-item h3 { font-size: 1.05rem; margin-bottom: 8px; }
.process-item p { font-size: 0.88rem; opacity: 0.75; margin: 0; }

/* ---- Testimonials ---- */
.testimonials { background: var(--cream-deep); }
.testi-stack {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.testi-card {
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 26px;
  font-size: 0.95rem;
}
.testi-offset { transform: translateY(20px); }
.testi-offset-2 { transform: translateY(-10px); }
.testi-name { margin-top: 16px; font-size: 0.82rem; opacity: 0.65; font-weight: 600; }

/* ---- CTA band ---- */
.cta-band {
  background: var(--terracotta);
  color: var(--cream);
}
.cta-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}
.cta-band h2 { color: var(--cream); font-size: 2rem; }
.cta-sub { opacity: 0.85; margin-top: 12px; max-width: 36ch; }
.quote-form .field { margin-bottom: 14px; }
.quote-form label {
  display: block;
  font-size: 0.8rem;
  margin-bottom: 6px;
  opacity: 0.85;
}
.quote-form input {
  width: 100%;
  padding: 12px 14px;
  border: none;
  border-radius: 3px;
  font-family: inherit;
  font-size: 0.92rem;
  background: var(--cream);
  color: var(--ink);
}
.quote-form input:focus { outline: 2px solid var(--plum); outline-offset: 1px; }
.btn-block { width: 100%; text-align: center; background: var(--plum); }
.btn-block:hover { background: var(--plum-deep); }
.form-success { margin-top: 12px; font-size: 0.88rem; font-weight: 600; }

footer {
  padding: 28px 0;
  font-size: 0.85rem;
  opacity: 0.65;
  border-top: 1px solid var(--line);
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}

@media (max-width: 900px) {
  .hero-diagonal { display: none; }
  .hero-inner { grid-template-columns: 1fr; }
  .hero-media { justify-self: center; max-width: 300px; }
  .stats-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
  .bento { grid-template-columns: 1fr 1fr; }
  .bento-large { grid-column: span 2; grid-row: span 1; }
  .bento-wide { grid-column: span 2; }
  .process-list { grid-template-columns: 1fr 1fr; }
  .testi-stack { grid-template-columns: 1fr; }
  .testi-offset, .testi-offset-2 { transform: none; }
  .cta-grid { grid-template-columns: 1fr; }
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--cream);
    flex-direction: column;
    padding: 20px 28px;
    border-bottom: 1px solid var(--line);
    gap: 16px;
  }
  .nav-links.open { display: flex; }
  .menu-toggle { display: flex; }
}

@media (max-width: 560px) {
  .bento { grid-template-columns: 1fr; }
  .bento-large, .bento-wide { grid-column: span 1; grid-row: span 1; }
  .process-list { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; }
}
