:root{
  --cream:#FBF3E3;
  --cream-deep:#F3E4C6;
  --sand:#EEDFC2;
  --amber:#E2A64C;
  --amber-deep:#C07C2A;
  --coral:#E1613E;
  --coral-deep:#C24B2C;
  --ink:#241A10;
  --ink-soft:#6B5C48;
  --ink-faint:#9C8B73;
  --black:#18120B;
  --line:rgba(36,26,16,.12);
  --whatsapp:#25D366;
  --whatsapp-dark:#1da851;
}

*{box-sizing:border-box;}
html{scroll-behavior:smooth;}
@media (prefers-reduced-motion: reduce){ html{ scroll-behavior:auto; } }

body{
  margin:0;
  background:var(--cream);
  color:var(--ink-soft);
  font-family:'Plus Jakarta Sans', ui-sans-serif, system-ui, sans-serif;
  -webkit-font-smoothing:antialiased;
  overflow-x:hidden;
}
img{display:block;width:100%;height:100%;object-fit:cover;}
a{color:inherit;}
h1,h2,h3{font-family:'Plus Jakarta Sans', sans-serif; font-weight:800; margin:0; color:var(--ink); text-wrap:balance; letter-spacing:-.01em;}
p{margin:0;}
button{font-family:inherit;}
.wrap{max-width:1220px; margin:0 auto; padding-left:28px; padding-right:28px;}
@media (max-width:640px){ .wrap{padding-left:20px; padding-right:20px;} }
.visually-hidden{ position:absolute; width:1px; height:1px; overflow:hidden; clip:rect(0 0 0 0); }
.visually-hidden:focus{ position:static; width:auto; height:auto; clip:auto; padding:8px 14px; background:var(--ink); color:#fff; }
[hidden]{ display:none !important; }

.eyebrow{ font-size:12px; letter-spacing:.18em; text-transform:uppercase; font-weight:700; color:var(--amber-deep); }

/* ---------- reveal-on-scroll ---------- */
[data-reveal]{ opacity:0; transform:translateY(22px); transition:opacity .7s ease, transform .7s ease; }
[data-reveal].in-view{ opacity:1; transform:translateY(0); }
@media (prefers-reduced-motion: reduce){ [data-reveal]{ opacity:1; transform:none; transition:none; } }

/* ---------- header ---------- */
header.site-header{ position:sticky; top:0; z-index:50; background:rgba(251,243,227,.92); backdrop-filter:blur(10px); border-bottom:1px solid var(--line); }
.nav{ display:flex; align-items:center; justify-content:space-between; padding:16px 28px; gap:20px; }
.wordmark{ display:flex; align-items:center; gap:9px; text-decoration:none; color:var(--ink); flex:none; }
.wordmark svg{ width:26px; height:29px; color:var(--coral-deep); }
.wordmark span{ font-size:16px; font-weight:800; letter-spacing:.01em; }
.nav-links{ display:flex; align-items:center; gap:36px; list-style:none; margin:0; padding:0; }
.nav-links a{ font-size:14px; font-weight:600; text-decoration:none; color:var(--ink-soft); transition:color .18s; }
.nav-links a:hover{ color:var(--coral-deep); }
@media (max-width:860px){ .nav-links{ display:none; } }
.nav-right{ display:flex; align-items:center; gap:14px; flex:none; }
.nav-ig-link{ font-size:13px; font-weight:700; text-decoration:none; color:var(--ink-soft); white-space:nowrap; }
@media (max-width:760px){ .nav-ig-link{ display:none; } }

.icon-btn{
  position:relative; background:none; border:none; color:var(--ink); cursor:pointer;
  display:flex; align-items:center; justify-content:center; padding:5px;
}
.cart-count{
  position:absolute; top:-5px; right:-7px; min-width:17px; height:17px; padding:0 4px; border-radius:9px;
  background:var(--coral-deep); color:#fff; font-size:10px; font-weight:700; display:flex; align-items:center; justify-content:center;
}

/* ---------- hero ---------- */
.hero{ position:relative; padding:64px 0 40px; overflow:hidden; }
.hero::before{
  content:''; position:absolute; top:-160px; right:-160px; width:520px; height:520px; border-radius:50%;
  background:radial-gradient(circle at 35% 35%, var(--amber), var(--coral) 78%); opacity:.28; filter:blur(10px); z-index:0;
}
.hero-grid{ position:relative; z-index:1; display:grid; grid-template-columns:1.05fr .95fr; align-items:center; gap:56px; }
@media (max-width:900px){ .hero-grid{ grid-template-columns:1fr; gap:36px; } }
.hero-copy h1{ font-size:clamp(38px,6vw,68px); line-height:1.02; margin-top:16px; }
.hero-copy h1 em{ font-style:normal; color:var(--coral-deep); }
.hero-copy .lede{ margin-top:20px; font-size:17px; line-height:1.65; max-width:44ch; }
.hero-actions{ display:flex; gap:14px; margin-top:32px; flex-wrap:wrap; }

.btn{
  display:inline-flex; align-items:center; justify-content:center; gap:8px; padding:15px 28px; font-size:14px;
  text-decoration:none; font-weight:700; border:1.5px solid transparent; border-radius:100px;
  cursor:pointer; transition:transform .18s ease, background .18s ease, color .18s ease, border-color .18s ease, box-shadow .18s ease;
}
.btn-solid{ background:var(--ink); color:var(--cream); }
.btn-solid:hover{ background:var(--black); transform:translateY(-1px); }
.btn-outline{ border-color:var(--ink); color:var(--ink); background:transparent; }
.btn-outline:hover{ background:var(--ink); color:var(--cream); }
.btn-whatsapp{ background:var(--whatsapp); color:#fff; }
.btn-whatsapp:hover{ background:var(--whatsapp-dark); }
.btn-block{ width:100%; border-radius:6px; }
.btn[disabled]{ opacity:.5; cursor:not-allowed; }

.hero-visual{ position:relative; display:flex; justify-content:center; }
.hero-frame{
  position:relative; width:min(440px,100%); aspect-ratio:4/5; border-radius:220px 220px 24px 24px;
  overflow:hidden; box-shadow:0 30px 60px -20px rgba(36,26,16,.35); background:var(--sand);
}
.hero-frame img{ filter:saturate(1.05) contrast(1.02); }
.hero-ring{
  position:absolute; inset:-18px; border-radius:236px 236px 42px 42px; border:1.5px solid var(--amber);
  opacity:.55; pointer-events:none;
}
.hero-chip{
  position:absolute; left:-18px; bottom:28px; background:#fff; border-radius:16px; padding:12px 16px;
  box-shadow:0 14px 34px -14px rgba(36,26,16,.4); display:flex; align-items:center; gap:10px;
}
@media (max-width:520px){ .hero-chip{ left:8px; bottom:-14px; } }
.hero-chip strong{ display:block; font-size:13px; color:var(--ink); }
.hero-chip span{ font-size:11.5px; color:var(--ink-faint); }

/* ---------- section shell ---------- */
section{ padding:88px 0; }
.section-head{ text-align:center; max-width:600px; margin:0 auto 48px; }
.section-head h2{ font-size:clamp(28px,4vw,42px); margin-top:12px; }
.section-head p{ margin-top:14px; font-size:15.5px; line-height:1.65; }

/* ---------- collection ---------- */
.collection{ background:var(--cream); }
.filter-row{ display:flex; justify-content:center; gap:10px; flex-wrap:wrap; margin-bottom:40px; }
.filter-pill{
  border:1.5px solid var(--line); background:#fff; color:var(--ink-soft); padding:9px 20px; border-radius:100px;
  font-size:13px; font-weight:700; cursor:pointer; transition:all .18s;
}
.filter-pill:hover{ border-color:var(--amber-deep); color:var(--ink); }
.filter-pill[aria-pressed="true"]{ background:var(--ink); border-color:var(--ink); color:var(--cream); }

.piece-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:32px 26px; }
@media (max-width:900px){ .piece-grid{ grid-template-columns:repeat(2,1fr); gap:28px 16px; } }
@media (max-width:480px){ .piece-grid{ grid-template-columns:1fr; max-width:360px; margin:0 auto; } }
.piece{ background:transparent; display:flex; flex-direction:column; }
.piece-body{ padding-top:16px; display:flex; flex-direction:column; gap:4px; flex:1; }
.piece-tag{ font-size:12px; letter-spacing:.03em; color:var(--ink-faint); order:2; }
.piece-name{ font-family:'Plus Jakarta Sans', sans-serif; font-size:17px; font-weight:700; color:var(--ink); order:1; }
.piece-desc{ display:none; }
.piece-price{ font-family:'Plus Jakarta Sans', sans-serif; font-size:16px; font-weight:800; color:var(--coral-deep); margin-top:8px; order:3; font-variant-numeric:tabular-nums; }
.piece-foot{ margin-top:14px; order:4; }
@media (hover:hover) and (pointer:fine){ .piece-foot{ opacity:0; transform:translateY(6px); transition:opacity .2s ease, transform .2s ease; } .piece:hover .piece-foot{ opacity:1; transform:translateY(0); } }
.add-btn{
  width:100%; background:var(--ink); color:var(--cream); border:none; padding:12px 14px; font-size:12.5px;
  letter-spacing:.04em; text-transform:uppercase; font-weight:700; cursor:pointer; transition:background .18s; border-radius:6px;
}
.add-btn:hover{ background:var(--black); }
.add-btn.added{ background:var(--whatsapp); }
.add-btn[disabled]{ opacity:.5; cursor:not-allowed; }

/* swipeable product gallery */
.gallery{ position:relative; aspect-ratio:1/1; background:var(--sand); border-radius:18px; overflow:hidden; }
.gallery-track{
  display:flex; height:100%; overflow-x:auto; scroll-snap-type:x mandatory; scroll-behavior:smooth;
  -webkit-overflow-scrolling:touch; scrollbar-width:none;
}
.gallery-track::-webkit-scrollbar{ display:none; }
.gallery-track .slide{ flex:0 0 100%; height:100%; scroll-snap-align:start; overflow:hidden; }
.gallery-track img{ transition:transform .5s ease; }
@media (hover:hover) and (pointer:fine){ .piece:hover .gallery-track img{ transform:scale(1.06); } }
.gallery-count{
  position:absolute; top:12px; right:12px; z-index:2;
  background:rgba(24,18,11,.6); color:#fff; font-size:10.5px; letter-spacing:.04em;
  padding:3px 8px; border-radius:20px; pointer-events:none; font-variant-numeric:tabular-nums;
}
.gallery-dots{ position:absolute; left:0; right:0; bottom:12px; z-index:2; display:flex; justify-content:center; gap:5px; }
.gallery-dots .dot{ width:5px; height:5px; border-radius:50%; background:rgba(255,255,255,.6); border:none; padding:0; cursor:pointer; }
.gallery-dots .dot[aria-current="true"]{ background:#fff; }
.gallery-arrow{
  position:absolute; top:50%; transform:translateY(-50%); z-index:2; width:30px; height:30px; border-radius:50%;
  background:rgba(255,255,255,.92); border:none; display:flex; align-items:center; justify-content:center; cursor:pointer;
  opacity:0; transition:opacity .18s ease; color:var(--ink); font-size:15px; line-height:1;
}
.gallery:hover .gallery-arrow, .gallery:focus-within .gallery-arrow{ opacity:1; }
.gallery-arrow.prev{ left:10px; } .gallery-arrow.next{ right:10px; }
.gallery-arrow:hover{ background:#fff; }
.gallery[data-count="1"] .gallery-arrow, .gallery[data-count="1"] .gallery-dots, .gallery[data-count="1"] .gallery-count{ display:none; }
.badge{
  position:absolute; top:12px; left:12px; z-index:2; background:var(--coral); color:#fff;
  font-size:10.5px; letter-spacing:.04em; text-transform:uppercase; font-weight:700; padding:5px 11px; border-radius:20px;
}

/* ---------- story / about ---------- */
.story{ background:var(--sand); }
.story-grid{ display:grid; grid-template-columns:1fr 1fr; gap:56px; align-items:center; }
@media (max-width:900px){ .story-grid{ grid-template-columns:1fr; gap:36px; } }
.story-copy h2{ font-size:clamp(28px,3.6vw,38px); }
.story-copy p{ margin-top:18px; font-size:15.5px; line-height:1.75; max-width:52ch; }
.story-quote{ margin-top:24px; padding-left:18px; border-left:3px solid var(--coral); font-style:italic; font-size:16px; color:var(--ink); }
.story-visual{ display:grid; grid-template-columns:1fr 1fr; gap:16px; }
.story-visual .shot{ border-radius:20px; overflow:hidden; aspect-ratio:3/4; box-shadow:0 20px 40px -20px rgba(36,26,16,.35); }
.story-visual .shot:nth-child(2){ margin-top:36px; }

/* ---------- testimonials ---------- */
.testimonials{ background:var(--cream); }
.t-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:24px; }
@media (max-width:860px){ .t-grid{ grid-template-columns:1fr; max-width:480px; margin:0 auto; } }
.t-card{ background:#fff; border-radius:20px; padding:30px 26px; box-shadow:0 20px 40px -28px rgba(36,26,16,.3); }
.t-mark{ font-family:Georgia,serif; font-size:44px; color:var(--amber); line-height:1; }
.t-quote{ margin-top:6px; font-size:15px; line-height:1.65; color:var(--ink); font-style:italic; }
.t-attr{ margin-top:18px; display:flex; align-items:center; gap:10px; }
.t-avatar{ width:34px; height:34px; border-radius:50%; background:var(--sand); display:flex; align-items:center; justify-content:center; font-size:13px; font-weight:800; color:var(--coral-deep); }
.t-attr span{ font-size:12.5px; font-weight:700; color:var(--ink-soft); }

/* ---------- instagram strip ---------- */
.ig-strip{ background:var(--sand); }
.ig-head{ display:flex; align-items:center; justify-content:space-between; margin-bottom:28px; flex-wrap:wrap; gap:12px; }
.ig-head h2{ font-size:24px; }
.ig-head a{ font-size:13.5px; font-weight:700; text-decoration:none; color:var(--coral-deep); }
.ig-row{ display:grid; grid-auto-flow:column; grid-auto-columns:minmax(150px,1fr); gap:12px; overflow-x:auto; padding-bottom:6px; scroll-snap-type:x proximity; }
.ig-row::-webkit-scrollbar{ height:6px; }
.ig-row::-webkit-scrollbar-thumb{ background:var(--line); border-radius:4px; }
.ig-item{ position:relative; aspect-ratio:1/1; border-radius:14px; overflow:hidden; scroll-snap-align:start; text-decoration:none; }
.ig-item::after{ content:''; position:absolute; inset:0; background:linear-gradient(180deg, rgba(24,18,11,0) 55%, rgba(24,18,11,.55)); opacity:0; transition:opacity .2s; }
.ig-item:hover::after{ opacity:1; }
.ig-item svg{ position:absolute; right:10px; bottom:10px; width:18px; height:18px; color:#fff; opacity:0; transition:opacity .2s; }
.ig-item:hover svg{ opacity:1; }

/* ---------- contact ---------- */
.contact{ background:var(--black); color:#c9bfae; text-align:center; }
.contact .eyebrow{ color:var(--amber); }
.contact h2{ color:var(--cream); font-size:clamp(24px,3.4vw,34px); margin-top:14px; }
.contact p{ margin-top:16px; font-size:15px; line-height:1.65; max-width:48ch; margin-left:auto; margin-right:auto; }
.contact .btn{ margin-top:28px; }

/* ---------- footer ---------- */
footer{ background:var(--black); border-top:1px solid rgba(255,255,255,.08); padding:36px 0; }
.foot-grid{ display:flex; justify-content:space-between; align-items:center; gap:20px; flex-wrap:wrap; }
.foot-grid .wordmark{ color:var(--cream); }
.foot-grid .wordmark svg{ color:var(--amber); }
.foot-links{ display:flex; gap:22px; flex-wrap:wrap; }
.foot-links a{ font-size:12.5px; font-weight:700; text-decoration:none; color:#a89a86; }
.foot-links a:hover{ color:var(--cream); }
.foot-copy{ font-size:11.5px; color:#75695a; text-align:center; margin-top:22px; }

/* ---------- floating cart (mobile) ---------- */
.fab-cart{
  position:fixed; right:18px; bottom:18px; z-index:60; background:var(--ink); color:var(--cream);
  border:none; border-radius:100px; padding:14px 20px; display:flex; align-items:center; gap:9px;
  box-shadow:0 14px 30px -10px rgba(24,18,11,.5); cursor:pointer; font-size:13px; font-weight:700;
}
.fab-cart svg{ width:18px; height:18px; }
.fab-cart .fab-count{
  background:var(--coral); color:#fff; min-width:18px; height:18px; border-radius:9px; font-size:10.5px;
  display:flex; align-items:center; justify-content:center; padding:0 4px;
}
@media (min-width:861px){ .fab-cart{ display:none; } }

/* ---------- mobile menu ---------- */
.menu-toggle{ display:none; background:none; border:none; color:var(--ink); cursor:pointer; padding:5px; }
@media (max-width:860px){ .menu-toggle{ display:flex; } }
.mobile-menu{
  position:fixed; inset:0 22% 0 0; background:var(--cream); z-index:80; transform:translateX(-100%);
  transition:transform .28s ease; padding:90px 30px 30px; display:flex; flex-direction:column; gap:24px;
  box-shadow:0 0 40px rgba(0,0,0,.15);
}
.mobile-menu.open{ transform:translateX(0); }
.mobile-menu a{ font-size:16px; font-weight:700; text-decoration:none; color:var(--ink); }
.menu-overlay{ position:fixed; inset:0; background:rgba(24,18,11,.4); z-index:79; opacity:0; pointer-events:none; transition:opacity .28s ease; }
.menu-overlay.open{ opacity:1; pointer-events:auto; }

/* ---------- cart drawer ---------- */
.drawer-overlay{
  position:fixed; inset:0; background:rgba(24,18,11,.45); opacity:0; pointer-events:none;
  transition:opacity .25s ease; z-index:90;
}
.drawer-overlay.open{ opacity:1; pointer-events:auto; }
.cart-drawer{
  position:fixed; top:0; right:0; bottom:0; width:min(420px,100%); background:var(--cream);
  z-index:91; display:flex; flex-direction:column;
  transform:translateX(100%); transition:transform .3s ease;
}
.cart-drawer.open{ transform:translateX(0); }
.cart-header{ display:flex; align-items:center; justify-content:space-between; padding:22px 24px; border-bottom:1px solid var(--line); }
.cart-header h2{ font-size:19px; }
.cart-items{ flex:1; overflow-y:auto; padding:16px 24px; display:flex; flex-direction:column; gap:18px; }
.cart-empty{ color:var(--ink-faint); font-size:13.5px; padding:40px 0; text-align:center; }
.cart-item{ display:grid; grid-template-columns:64px 1fr auto; gap:14px; align-items:flex-start; }
.cart-item-media{ width:64px; height:64px; background:var(--sand); overflow:hidden; flex:none; border-radius:10px; }
.cart-item-info{ min-width:0; }
.cart-item-name{ font-size:14px; font-weight:700; color:var(--ink); }
.cart-item-price{ font-size:13px; color:var(--coral-deep); margin-top:6px; font-variant-numeric:tabular-nums; font-weight:700; }
.qty-stepper{ display:flex; align-items:center; gap:10px; margin-top:8px; }
.qty-stepper button{
  width:22px; height:22px; border:1px solid var(--line); background:transparent; color:var(--ink);
  cursor:pointer; font-size:13px; line-height:1; display:flex; align-items:center; justify-content:center; border-radius:50%;
}
.qty-stepper button:hover{ border-color:var(--ink); }
.qty-stepper span{ font-size:12.5px; min-width:16px; text-align:center; font-variant-numeric:tabular-nums; }
.cart-item-remove{
  background:transparent; border:none; color:var(--ink-faint); font-size:11px; letter-spacing:.03em; text-transform:uppercase;
  cursor:pointer; padding:4px 0; text-decoration:underline;
}
.cart-item-remove:hover{ color:var(--coral-deep); }
.cart-footer{ padding:18px 24px 24px; border-top:1px solid var(--line); display:flex; flex-direction:column; gap:12px; }
.cart-subtotal{ display:flex; justify-content:space-between; font-size:16px; font-weight:800; color:var(--ink); }
.cart-note{ font-size:11.5px; color:var(--ink-faint); text-align:center; line-height:1.5; }

.toast{
  position:fixed; left:50%; bottom:28px; transform:translate(-50%,20px); background:var(--ink); color:var(--cream);
  padding:12px 20px; border-radius:100px; font-size:13px; font-weight:700; opacity:0; pointer-events:none; transition:opacity .25s, transform .25s;
  z-index:99;
}
.toast.show{ opacity:1; transform:translate(-50%,0); }
