:root {
  --sand: #F0DFC8;
  --brown: #643114;
  --ivory: #FFF9F0;
  --muted: #9A633A;
  --tint: color-mix(in srgb, var(--sand) 45%, var(--ivory));
  --radius: 28px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }
body {
  font-family: 'DM Sans', 'Segoe UI', Arial, sans-serif;
  font-size: 17px;
  background: var(--ivory);
  color: var(--brown);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

h1, h2, h3 { font-family: 'Yeseva One', Georgia, serif; font-weight: 400; color: var(--brown); line-height: 1.08; letter-spacing: -0.01em; }
h1 { font-size: clamp(3rem, 9vw, 7rem); letter-spacing: -0.025em; line-height: 1.02; margin-bottom: 1.4rem; }
h2 { font-size: clamp(1.9rem, 4vw, 3rem); margin-bottom: 1rem; }
h2.big { font-size: clamp(2.3rem, 6vw, 4.6rem); letter-spacing: -0.02em; line-height: 1.05; margin-bottom: 1.5rem; }
h2 .soft { color: var(--muted); }
h3 { font-size: 1.5rem; margin-bottom: .5rem; }
p { margin-bottom: 1rem; }

.container { width: min(1180px, 90%); margin: 0 auto; }
.narrow { width: min(780px, 90%); }
.center { text-align: center; }
.mt { margin-top: 3rem; }

.eyebrow {
  text-transform: uppercase; letter-spacing: .2em; font-size: .75rem;
  font-weight: 700; color: var(--muted); margin-bottom: 1.2rem;
}
.lead { font-size: clamp(1.1rem, 2vw, 1.4rem); max-width: 620px; margin: 0 auto 2rem; color: var(--muted); }
.statement { font-size: clamp(1.1rem, 2vw, 1.35rem); line-height: 1.6; margin-bottom: 1.4rem; }

/* Buttons & links */
.btn {
  display: inline-block; background: var(--brown); color: var(--ivory);
  padding: .85rem 1.8rem; border-radius: 999px; font-weight: 500;
  border: 1px solid var(--brown); transition: background .3s var(--ease), transform .3s var(--ease);
  cursor: pointer;
}
.btn:hover { background: var(--muted); border-color: var(--muted); }
.btn:active { transform: scale(.98); }
.btn-small { padding: .4rem 1.1rem; font-size: .9rem; }
.btn-light { background: var(--ivory); color: var(--brown); border-color: var(--ivory); }
.btn-light:hover { background: var(--sand); border-color: var(--sand); }

.link-arrow { color: var(--muted); font-weight: 500; transition: color .25s; }
.link-arrow::after { content: " \203A"; display: inline-block; transition: transform .25s var(--ease); }
.link-arrow:hover { color: var(--brown); }
.link-arrow:hover::after { transform: translateX(4px); }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 249, 240, .8);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid rgba(100, 49, 20, .08);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.logo img { height: 50px; width: auto; }
.logo-fallback { font-family: 'Yeseva One', serif; font-size: 1.4rem; }
.main-nav { display: flex; align-items: center; gap: 2rem; font-size: .92rem; }
.main-nav a:not(.btn) { color: var(--brown); opacity: .8; transition: opacity .25s; }
.main-nav a:not(.btn):hover { opacity: 1; }
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; width: 44px; height: 44px; position: relative; }
.nav-toggle span { position: absolute; left: 11px; right: 11px; height: 1.5px; background: var(--brown); transition: transform .3s var(--ease), top .3s var(--ease); }
.nav-toggle span:first-child { top: 18px; }
.nav-toggle span:last-child { top: 26px; }
.nav-toggle[aria-expanded="true"] span:first-child { top: 22px; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:last-child { top: 22px; transform: rotate(-45deg); }

/* Hero */
.hero { padding: 6rem 0 2rem; background: radial-gradient(ellipse at 50% 0%, var(--sand) 0%, var(--ivory) 65%); }
.hero-inner { display: flex; flex-direction: column; align-items: center; text-align: center; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 1.8rem; margin-bottom: 3rem; }
.hero-image { width: min(1080px, 100%); }
.hero-image img { width: 100%; height: auto; filter: drop-shadow(0 30px 40px rgba(100, 49, 20, .22)); }

/* Sections */
.section { padding: 8rem 0; }
.section-alt { background: var(--tint); }

/* Features */
.features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; margin-top: 4rem; }
.feature { background: var(--tint); border-radius: var(--radius); padding: 2.4rem 1.8rem 2.2rem; }
.feature svg { width: 44px; height: 44px; fill: none; stroke: var(--muted); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 1.6rem; }
.feature h3 { font-size: 1.3rem; }
.feature p { font-size: .97rem; color: var(--muted); margin: 0; }

/* Product cards */
.grid-products { display: flex; flex-wrap: wrap; justify-content: center; gap: 1.5rem; margin-top: 4rem; }
.grid-products .card { flex: 0 1 calc((100% - 3rem) / 3); }
.card { background: var(--ivory); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
.card-img { aspect-ratio: 4/5; background: var(--sand); overflow: hidden; }
.card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.card:hover .card-img img { transform: scale(1.04); }
.card-body { padding: 1.8rem 1.8rem 2rem; display: flex; flex-direction: column; flex: 1; }
.card-body p:not(.tag) { font-size: .97rem; color: var(--muted); flex: 1; }
.tag { text-transform: uppercase; letter-spacing: .14em; font-size: .68rem; font-weight: 700; color: var(--muted); margin-bottom: .6rem; }

/* Missing-image placeholder */
.img-missing { position: relative; background: var(--sand); min-height: 200px; }
.img-missing img { display: none; }
.img-missing::after {
  content: "Add image in /assets"; position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  color: var(--muted); font-size: .85rem;
}
.hero-image.img-missing { border-radius: var(--radius); min-height: 320px; }

/* CTA */
.cta { background: var(--brown); color: var(--ivory); padding: 8rem 0; }
.cta h2 { color: var(--ivory); }
.cta p { color: var(--sand); margin-bottom: 2rem; }

/* Contact */
.contact-list { list-style: none; margin: 2.5rem auto 0; max-width: 520px; text-align: left; }
.contact-list li { display: flex; justify-content: space-between; gap: 1rem; padding: 1.1rem 0; border-top: 1px solid rgba(100, 49, 20, .15); }
.contact-list li:last-child { border-bottom: 1px solid rgba(100, 49, 20, .15); }
.contact-list span { color: var(--muted); }
.contact-list a { font-weight: 500; transition: color .25s; }
.contact-list a:hover { color: var(--muted); }

/* Footer */
.site-footer { background: var(--tint); padding: 2.5rem 0; text-align: center; font-size: .82rem; color: var(--muted); border-top: 1px solid rgba(100, 49, 20, .08); }
.footer-nav { display: flex; justify-content: center; flex-wrap: wrap; gap: .5rem 1.8rem; margin-bottom: 1rem; }
.footer-nav a:hover { color: var(--brown); }
.copy { margin: 0; }

/* Scroll reveal (only when JS is on) */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }
.features .feature:nth-child(2), .grid-products .card:nth-child(2) { transition-delay: .08s; }
.features .feature:nth-child(3), .grid-products .card:nth-child(3) { transition-delay: .16s; }
.features .feature:nth-child(4) { transition-delay: .24s; }
@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* Tablet */
@media (max-width: 960px) {
  .section { padding: 5.5rem 0; }
  .cta { padding: 5.5rem 0; }
  .features { grid-template-columns: repeat(2, 1fr); }
  .grid-products .card { flex-basis: calc((100% - 1.5rem) / 2); }
}

/* Mobile */
@media (max-width: 760px) {
  .nav-toggle { display: block; }
  .main-nav {
    position: absolute; top: 68px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0; padding: .5rem 5% 1.5rem;
    background: rgba(255, 249, 240, .97);
    -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(100, 49, 20, .08);
    display: none; font-size: 1.1rem;
  }
  .main-nav.open { display: flex; }
  .main-nav a:not(.btn) { padding: 1rem 0; border-bottom: 1px solid rgba(100, 49, 20, .08); }
  .main-nav .btn { margin-top: 1.2rem; text-align: center; padding: .8rem; }
  .hero { padding: 3.5rem 0 1rem; }
  .logo img { height: 42px; }
  .header-inner { height: 60px; }
  .main-nav { top: 60px; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .features { grid-template-columns: 1fr; }
  .grid-products .card { flex-basis: 100%; }
}
