*, *::before, *::after { box-sizing: border-box; }
:root {
  --ink: #2b1d16; --muted: #7a6a5f; --line: #e8dccd;
  --cream: #faf4ea; --sand: #f2e6d4; --rust: #8a3b1e; --rust-dark: #6b2c15;
  --teal: #1f5f63; --mustard: #d99a1e; --wa: #25d366;
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Jost", -apple-system, "Segoe UI", sans-serif;
}
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--sans); color: var(--ink); background: var(--cream); line-height: 1.6; }
a { color: inherit; }
img { max-width: 100%; }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.15; margin: 0; }
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 16px; }
.eyebrow { font-size: .75rem; letter-spacing: .2em; text-transform: uppercase; color: var(--rust); margin: 0 0 10px; font-weight: 500; }
.center { text-align: center; margin-top: 40px; }

/* buttons */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 13px 26px; border-radius: 999px; text-decoration: none; font-weight: 500; letter-spacing: .02em; transition: transform .2s, background .2s; }
.btn:hover { transform: translateY(-1px); }
.btn-wa { background: var(--wa); color: #fff; }
.btn-light { background: var(--cream); color: var(--ink); }
.btn-dark { background: var(--rust); color: #fff; }
.btn-dark:hover { background: var(--rust-dark); }

/* header */
.site-header { background: var(--cream); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 10; }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 6px; padding-bottom: 6px; }
.logo { display: flex; align-items: center; gap: 4px; text-decoration: none; }
.logo img { width: 64px; height: 64px; object-fit: cover; mix-blend-mode: multiply; }
.logo span { font-family: var(--serif); font-size: 1.25rem; font-weight: 600; color: var(--rust); }
.nav { display: flex; align-items: center; gap: 24px; font-size: .95rem; }
.nav a { text-decoration: none; }
.nav a:hover, .nav a[aria-current] { color: var(--rust); }
.nav-wa { display: inline-flex; align-items: center; gap: 6px; background: var(--wa); color: #fff !important; padding: 7px 14px; border-radius: 999px; }

/* hero */
.hero { position: relative; min-height: min(82vh, 760px); display: flex; align-items: center; color: #fff;
  background: linear-gradient(90deg, rgba(30,15,8,.88) 0%, rgba(30,15,8,.6) 45%, rgba(30,15,8,.1) 100%), url(assets/banner-wide.jpg) center / cover; }
.hero-inner { padding-top: 80px; padding-bottom: 80px; }
.hero .eyebrow { color: var(--mustard); }
.hero h1 { font-size: clamp(2.6rem, 6vw, 4.6rem); font-weight: 500; max-width: 12em; }
.hero h1 em { color: #f3c96b; }
.lede { font-size: 1.15rem; max-width: 34em; opacity: .92; margin: 20px 0 32px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; }

/* features */
.features { background: var(--rust); color: #fbeee0; }
.features-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; padding-top: 48px; padding-bottom: 48px; }
.feature svg { width: 40px; height: 40px; fill: none; stroke: #f3c96b; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.feature h3 { font-size: 1.4rem; margin: 10px 0 6px; color: #fff; }
.feature p { margin: 0; font-size: .95rem; opacity: .85; }

/* sections */
.section { padding: 88px 0; }
.section-head { text-align: center; margin-bottom: 44px; }
.section-head h2 { font-size: clamp(2rem, 4vw, 2.9rem); }

/* collections */
.collections { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.collection { position: relative; display: block; aspect-ratio: 4 / 5; overflow: hidden; border-radius: 4px; text-decoration: none; color: #fff; }
.collection img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.collection:hover img { transform: scale(1.05); }
.collection::after { content: ""; position: absolute; inset: 0; background: linear-gradient(transparent 45%, rgba(25,12,6,.85)); }
.collection-text { position: absolute; left: 24px; right: 24px; bottom: 22px; z-index: 1; }
.collection-text h3 { font-size: 1.9rem; }
.collection-text p { margin: 4px 0 10px; opacity: .9; }
.collection-text span { font-size: .8rem; letter-spacing: .15em; text-transform: uppercase; color: #f3c96b; }

/* story */
.story { background: var(--sand); padding: 96px 0; }
.story-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 64px; align-items: center; }
.story-art { position: relative; height: 560px; }
.story-art img { position: absolute; object-fit: cover; border-radius: 4px; box-shadow: 0 20px 40px rgba(43,29,22,.18); }
.story-art img:first-child { left: 0; top: 0; width: 52%; height: 100%; }
.story-art img:last-child { right: 0; bottom: 40px; width: 58%; aspect-ratio: 735 / 528; border: 8px solid var(--sand); }
.story-text h2 { font-size: clamp(2rem, 3.6vw, 2.8rem); margin-bottom: 20px; }
.story-text p { color: #4d3b30; font-size: 1.05rem; }
.story-text .btn { margin-top: 12px; }

/* product grid */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 28px 20px; }
.card { text-decoration: none; display: block; }
.card[hidden] { display: none; }
.thumb { aspect-ratio: 3 / 4; background: var(--sand); border-radius: 4px; overflow: hidden; }
.thumb img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s; }
.card:hover .thumb img { transform: scale(1.04); }
.card-body h3 { font-family: var(--sans); font-size: .95rem; font-weight: 500; line-height: 1.4; margin: 12px 0 2px; }
.price { color: var(--rust); font-size: .85rem; margin: 0; font-weight: 500; }

/* steps */
.steps { padding: 88px 0; border-top: 1px solid var(--line); }
.steps-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; counter-reset: s; }
.steps-grid li { text-align: center; }
.steps-grid span { display: inline-grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; border: 1.5px solid var(--rust); color: var(--rust); font-family: var(--serif); font-size: 1.5rem; }
.steps-grid h3 { font-size: 1.5rem; margin: 14px 0 6px; }
.steps-grid p { margin: 0; color: var(--muted); }

/* CTA band */
.cta-band { color: #fff; text-align: center;
  background: linear-gradient(rgba(20,40,42,.82), rgba(20,40,42,.82)), url(assets/banner.jpg) center / cover; }
.cta-inner { padding-top: 96px; padding-bottom: 96px; }
.cta-band h2 { font-size: clamp(2rem, 4vw, 3rem); }
.cta-band p { opacity: .9; margin: 12px 0 28px; font-size: 1.1rem; }

/* footer */
.site-footer { background: var(--ink); color: #d9cbbb; font-size: .95rem; }
.footer-inner { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; padding-top: 56px; padding-bottom: 32px; }
.footer-inner h4 { font-family: var(--serif); font-size: 1.25rem; color: #fff; margin: 0 0 12px; font-weight: 600; }
.footer-inner a { display: block; text-decoration: none; margin-bottom: 6px; }
.footer-inner a:hover { color: #f3c96b; }
.footer-brand img { width: 96px; height: 96px; object-fit: cover; background: var(--cream); border-radius: 50%; }
.footer-brand p { max-width: 26em; }
.copy { text-align: center; margin: 0; padding: 18px; border-top: 1px solid rgba(255,255,255,.1); font-size: .85rem; opacity: .7; }

/* catalog */
.page-head { text-align: center; padding: 48px 0 8px; }
.page-head h1 { font-size: clamp(2.2rem, 5vw, 3.2rem); }
.page-head p { color: var(--muted); margin: 8px 0 0; }
.toolbar { display: flex; flex-wrap: wrap; gap: 8px; margin: 24px 0 8px; }
.toolbar input, .toolbar select { font: inherit; padding: 11px 14px; border: 1px solid var(--line); border-radius: 4px; background: #fff; color: var(--ink); }
.toolbar input { flex: 1 1 240px; }
.toolbar select { flex: 0 1 190px; }
.count { color: var(--muted); font-size: .9rem; margin: 8px 0 20px; }
.empty { text-align: center; color: var(--muted); padding: 48px 0; }
.page-catalog main, .page-product main { padding-bottom: 72px; }

/* product */
.crumbs { margin: 24px 0; }
.crumbs a { color: var(--muted); text-decoration: none; }
.product { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
.gallery #main { width: 100%; border-radius: 4px; background: var(--sand); display: block; }
.thumbs { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.thumbs button { padding: 0; border: 2px solid transparent; border-radius: 3px; background: none; cursor: pointer; width: 64px; height: 80px; overflow: hidden; }
.thumbs button.active { border-color: var(--rust); }
.thumbs img { width: 100%; height: 100%; object-fit: cover; display: block; }
.info h1 { font-size: 2.2rem; margin: 0 0 10px; }
.info .price { font-size: 1.1rem; margin-bottom: 20px; }
.meta { display: grid; grid-template-columns: auto 1fr; gap: 6px 20px; margin: 0 0 24px; font-size: .95rem; }
.meta dt { color: var(--muted); }
.meta dd { margin: 0; }
.desc { margin-top: 28px; border-top: 1px solid var(--line); padding-top: 20px; color: #4d3b30; }
.desc img { max-width: 100%; height: auto; }

@media (max-width: 900px) {
  .features-grid, .steps-grid { grid-template-columns: repeat(2, 1fr); }
  .collections { grid-template-columns: repeat(2, 1fr); }
  .story-grid { grid-template-columns: 1fr; gap: 40px; }
  .story-art { height: 440px; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  .logo span, .nav a:not(.nav-wa):not([href$="catalog.html"]) { display: none; }
  .nav { gap: 14px; }
  .hero { min-height: min(75vh, 640px); background: linear-gradient(rgba(30,15,8,.75), rgba(30,15,8,.75)), url(assets/banner-wide.jpg) center / cover; }
  .section, .story, .steps { padding: 64px 0; }
  .features-grid { gap: 24px; }
  .collections { grid-template-columns: 1fr 1fr; gap: 12px; }
  .collection-text { left: 14px; right: 14px; bottom: 14px; }
  .collection-text h3 { font-size: 1.3rem; }
  .collection-text p { display: none; }
  .grid { grid-template-columns: repeat(2, 1fr); gap: 20px 12px; }
  .product { grid-template-columns: 1fr; gap: 24px; }
  .toolbar select { flex: 1 1 45%; }
  .story-art { height: 380px; }
}
