:root {
  --paper: #fff8f1;
  --ink: #2c2a32;
  --coral: #e07a5f;
  --coral-d: #c45c42;
  --indigo: #3d4a8a;
  --sage: #81b29a;
  --muted: #5c5660;
  --line: rgba(44, 42, 50, 0.12);
  --font: "DM Sans", "Segoe UI", sans-serif;
  --display: Sora, "Segoe UI", sans-serif;
  --space: clamp(3.2rem, 7vw, 6.4rem);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--paper);
  font-size: 1.08rem;
  line-height: 1.55;
}

body.nav-open { overflow: hidden; }

img { max-width: 100%; height: auto; display: block; }
a { color: var(--indigo); }
h1, h2, h3 { font-family: var(--display); margin: 0 0 0.5em; line-height: 1.15; }
h1 { font-size: clamp(2.2rem, 5.5vw, 3.8rem); }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.6rem); }

.frame { width: min(1100px, calc(100% - 2rem)); margin-inline: auto; }

.skip { position: absolute; left: 0.75rem; top: -4rem; background: var(--indigo); color: #fff; padding: 0.55rem 0.8rem; z-index: 80; }
.skip:focus { top: 0.75rem; }

.demo-bar {
  display: flex; align-items: center; justify-content: space-between; gap: 0.75rem;
  background: var(--ink); color: #fff8f1; padding: 0.5rem 1rem; font-size: 0.95rem;
}
.demo-bar p { margin: 0; }
.demo-bar a { color: #f0b8a8; }
.demo-bar-dismiss { min-width: 44px; min-height: 44px; border: 0; background: transparent; color: inherit; font-size: 1.4rem; cursor: pointer; }

.color-stripe { height: 8px; background: linear-gradient(90deg, var(--coral), var(--sage), var(--indigo)); }

.site-header {
  position: sticky; top: 0; z-index: 40;
  background: rgba(255, 248, 241, 0.94); backdrop-filter: blur(12px);
}
.header-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; min-height: 4.2rem; }
.logo { font-family: var(--display); font-weight: 700; color: var(--ink); text-decoration: none; font-size: 1.3rem; }

.nav-toggle { width: 44px; height: 44px; border: 0; background: transparent; display: grid; place-items: center; cursor: pointer; }
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  display: block; width: 1.3rem; height: 2px; background: var(--ink); position: relative;
}
.nav-toggle span::before, .nav-toggle span::after { content: ""; position: absolute; left: 0; }
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }

.site-nav { display: none; flex-direction: column; width: 100%; padding-bottom: 1rem; }
.site-nav.is-open { display: flex; }
.site-nav a { color: var(--ink); text-decoration: none; min-height: 44px; display: inline-flex; align-items: center; }
.nav-phone { font-weight: 700; color: var(--coral-d); }

.hero { padding: 3.2rem 0 2.5rem; }
.eyebrow { text-transform: uppercase; letter-spacing: 0.14em; font-size: 0.76rem; font-weight: 700; color: var(--indigo); }
.lead { max-width: 36rem; color: var(--muted); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.7rem; margin-top: 1.2rem; }

.btn {
  min-height: 48px; padding: 0.7rem 1.15rem; border-radius: 1.2rem; display: inline-flex; align-items: center; justify-content: center;
  font-weight: 700; text-decoration: none; border: 0; cursor: pointer; font-family: inherit; font-size: 1rem;
}
.btn-coral { background: var(--coral); color: #fff; }
.btn-coral:hover { background: var(--coral-d); color: #fff; }
.btn-ink { background: var(--ink); color: #fff; }

.section { padding: var(--space) 0; }
.cards, .gallery, .contact { display: grid; gap: 1rem; }
.cards article {
  background: #fff; border-radius: 1.4rem; padding: 1.3rem;
  box-shadow: 0 12px 30px rgba(44, 42, 50, 0.06);
}

.swatches { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.6rem; margin-top: 1.2rem; }
.swatch {
  min-height: 88px; border-radius: 1.1rem; display: flex; align-items: flex-end; padding: 0.7rem;
  color: #fff; font-weight: 700;
}
.s1 { background: #f4efe6; color: var(--ink); }
.s2 { background: #c4a882; }
.s3 { background: var(--coral); }
.s4 { background: var(--indigo); }
.s5 { background: var(--sage); color: var(--ink); }

.gallery img { width: 100%; height: 16rem; object-fit: cover; border-radius: 1.3rem; background: #eadfd0; }
.gallery figcaption { margin-top: 0.4rem; color: var(--muted); }

.quotes-wrap { background: #fff; }
blockquote { margin: 0 0 1.4rem; font-size: 1.35rem; font-family: var(--display); }
blockquote footer { font-family: var(--font); font-size: 0.95rem; color: var(--muted); }

.contact-form { display: grid; gap: 0.8rem; background: #fff; padding: 1.2rem; border-radius: 1.3rem; }
.contact-form label { display: grid; gap: 0.3rem; font-size: 0.92rem; font-weight: 700; }
input, textarea { font: inherit; border: 1px solid var(--line); border-radius: 0.9rem; padding: 0.7rem 0.8rem; min-height: 48px; }
textarea { min-height: 7.5rem; resize: vertical; }

.site-footer { padding: 1.3rem 0 1.6rem; color: var(--muted); font-size: 0.95rem; border-top: 1px solid var(--line); }
.footer-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.7rem; }
.footer-contact {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.85rem;
  flex: 1 1 100%;
}
.footer-contact a { margin-left: 0; }
.legal-page { padding: 4rem 0 5rem; }
.legal-page .note { background: #fff; padding: 0.9rem 1rem; border-radius: 1rem; }

:focus-visible { outline: 3px solid var(--coral); outline-offset: 3px; }

@media (min-width: 840px) {
  .nav-toggle { display: none; }
  .site-nav { display: flex; flex-direction: row; width: auto; gap: 1.1rem; padding: 0; align-items: center; }
  .cards, .gallery, .contact { grid-template-columns: 1fr 1fr; }
  .cards { grid-template-columns: 1fr 1fr; }
  .gallery { grid-template-columns: repeat(3, 1fr); }
  .swatches { grid-template-columns: repeat(5, 1fr); }
}

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
