/* ============================================================
   Resin by Paridhi — premium design system
   Warm ivory · deep ink · gold accents
   ============================================================ */
@import url("https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,500;0,600;0,700;1,400;1,500&family=Jost:ital,wght@0,300;0,400;0,500;0,600;1,400&display=swap");

:root {
  --ivory: #faf6ee;
  --ivory-deep: #f3ecdd;
  --ink: #211d17;
  --ink-soft: #4a443b;
  --taupe: #8a7d6b;
  --gold: #b08d4f;
  --gold-soft: #d9c49a;
  --line: #e7dcc8;
  --card: #fffdf8;
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Jost", -apple-system, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  background: var(--ivory);
  color: var(--ink);
  font-weight: 300;
  letter-spacing: 0.01em;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

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

/* ---------- Announcement bar ---------- */
.announce {
  background: var(--ink); color: var(--ivory);
  text-align: center; font-size: 11px; letter-spacing: 0.28em;
  text-transform: uppercase; padding: 10px 16px; font-weight: 400;
}
.announce span { color: var(--gold-soft); }

/* ---------- Header / nav ---------- */
.site-head {
  position: sticky; top: 0; z-index: 60;
  background: rgba(250, 246, 238, 0.92);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.head-in { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.brand { font-family: var(--serif); font-size: 27px; font-weight: 600; letter-spacing: 0.02em; }
.brand em { color: var(--gold); font-style: italic; }
.nav { display: flex; gap: 34px; align-items: center; }
.nav a {
  font-size: 12.5px; letter-spacing: 0.22em; text-transform: uppercase;
  font-weight: 400; color: var(--ink-soft); position: relative; padding: 6px 0;
}
.nav a:hover, .nav a.active { color: var(--ink); }
.nav a.active::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0;
  height: 1px; background: var(--gold);
}
.head-actions { display: flex; align-items: center; gap: 18px; }
.cart-btn {
  background: none; border: 1px solid var(--line); border-radius: 999px;
  padding: 9px 20px; font-family: var(--sans); font-size: 12px;
  letter-spacing: 0.2em; text-transform: uppercase; cursor: pointer;
  display: flex; align-items: center; gap: 10px; color: var(--ink);
  transition: border-color 0.25s, background 0.25s;
}
.cart-btn:hover { border-color: var(--gold); background: #fff; }
.cart-count {
  background: var(--ink); color: var(--ivory); border-radius: 999px;
  min-width: 22px; height: 22px; display: inline-flex; align-items: center;
  justify-content: center; font-size: 11px; padding: 0 6px;
}
.burger { display: none; background: none; border: 0; font-size: 24px; cursor: pointer; color: var(--ink); }

/* ---------- Hero ---------- */
.hero {
  min-height: 92vh; display: flex; align-items: flex-end;
  position: relative; color: #fff; overflow: hidden;
  background: var(--ink);
}
.hero-bg { position: absolute; inset: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; }
.hero-shade {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(20,16,12,0.82) 0%, rgba(20,16,12,0.25) 55%, rgba(20,16,12,0.15) 100%);
}
.hero-in { position: relative; z-index: 2; padding: 0 28px 110px; max-width: 1240px; margin: 0 auto; width: 100%; }
.eyebrow {
  font-size: 12px; letter-spacing: 0.34em; text-transform: uppercase;
  color: var(--gold-soft); margin-bottom: 22px; font-weight: 400;
}
.hero h1 {
  font-family: var(--serif); font-weight: 500;
  font-size: clamp(46px, 7.5vw, 96px); line-height: 1.04; letter-spacing: 0.01em;
  max-width: 14ch;
}
.hero h1 em { font-style: italic; color: var(--gold-soft); }
.hero p {
  margin-top: 26px; max-width: 52ch; font-size: 17px; font-weight: 300;
  color: rgba(255,255,255,0.88);
}
.hero-cta { margin-top: 38px; display: flex; gap: 16px; flex-wrap: wrap; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block; padding: 15px 38px; border-radius: 999px;
  font-size: 12.5px; letter-spacing: 0.24em; text-transform: uppercase; font-weight: 500;
  border: 1px solid transparent; cursor: pointer; transition: all 0.3s;
  font-family: var(--sans);
}
.btn-solid { background: var(--ink); color: var(--ivory); }
.btn-solid:hover { background: #000; transform: translateY(-1px); }
.btn-ghost { border-color: rgba(255,255,255,0.55); color: #fff; background: transparent; }
.btn-ghost:hover { border-color: #fff; background: rgba(255,255,255,0.08); }
.btn-gold { background: var(--gold); color: #fff; }
.btn-gold:hover { background: #9a7a40; }
.btn-line { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-line:hover { background: var(--ink); color: var(--ivory); }

/* ---------- Sections ---------- */
.section { padding: 110px 0; }
.section-tight { padding: 70px 0; }
.kicker {
  font-size: 12px; letter-spacing: 0.34em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 18px; font-weight: 500;
}
.h2 {
  font-family: var(--serif); font-weight: 500;
  font-size: clamp(34px, 4.4vw, 58px); line-height: 1.12; letter-spacing: 0.01em;
}
.h2 em { font-style: italic; color: var(--gold); }
.lede { margin-top: 18px; max-width: 62ch; color: var(--ink-soft); font-size: 17px; }
.center { text-align: center; }
.center .lede { margin-left: auto; margin-right: auto; }

/* ---------- Edition cards ---------- */
.edition-grid {
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 22px; margin-top: 60px;
}
.edition-card { position: relative; overflow: hidden; border-radius: 4px; aspect-ratio: 3/4.4; display: block; background: var(--ivory-deep); }
.edition-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s cubic-bezier(0.2,0.7,0.2,1); }
.edition-card:hover img { transform: scale(1.06); }
.edition-shade {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(20,16,12,0.78), rgba(20,16,12,0) 55%);
}
.edition-meta { position: absolute; left: 0; right: 0; bottom: 0; padding: 26px 22px; color: #fff; }
.edition-meta h3 { font-family: var(--serif); font-size: 25px; font-weight: 600; }
.edition-meta p { font-size: 13px; color: rgba(255,255,255,0.82); margin-top: 6px; line-height: 1.55; }
.edition-meta .go { font-size: 11px; letter-spacing: 0.26em; text-transform: uppercase; color: var(--gold-soft); margin-top: 12px; display: block; }

/* ---------- Product cards ---------- */
.product-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px 24px; margin-top: 56px;
}
.pcard { background: var(--card); border: 1px solid var(--line); border-radius: 4px; overflow: hidden; display: flex; flex-direction: column; transition: box-shadow 0.35s, transform 0.35s; }
.pcard:hover { box-shadow: 0 24px 60px -24px rgba(60,45,25,0.28); transform: translateY(-4px); }
.pcard-img { aspect-ratio: 1/1.08; overflow: hidden; position: relative; background: var(--ivory-deep); cursor: pointer; }
.pcard-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.9s cubic-bezier(0.2,0.7,0.2,1); }
.pcard:hover .pcard-img img { transform: scale(1.05); }
.pcard-badge {
  position: absolute; top: 14px; left: 14px; background: var(--ink); color: var(--ivory);
  font-size: 10px; letter-spacing: 0.24em; text-transform: uppercase; padding: 7px 14px; border-radius: 999px;
}
.pcard-badge.new { background: var(--gold); }
.pcard-body { padding: 22px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.pcard-ed { font-size: 10.5px; letter-spacing: 0.26em; text-transform: uppercase; color: var(--gold); margin-bottom: 8px; }
.pcard-name { font-family: var(--serif); font-size: 21px; font-weight: 600; line-height: 1.25; cursor: pointer; }
.pcard-line { font-size: 13.5px; color: var(--taupe); font-style: italic; font-family: var(--serif); font-size: 16px; margin-top: 6px; flex: 1; }
.pcard-price { margin-top: 14px; display: flex; align-items: baseline; gap: 10px; }
.pcard-price .now { font-size: 17px; font-weight: 500; letter-spacing: 0.02em; }
.pcard-price .was { font-size: 13.5px; color: var(--taupe); text-decoration: line-through; }
.pcard-price .por { font-size: 13px; color: var(--gold); letter-spacing: 0.08em; }
.pcard-add {
  margin-top: 16px; width: 100%; padding: 13px; border-radius: 999px;
  border: 1px solid var(--ink); background: transparent; color: var(--ink);
  font-family: var(--sans); font-size: 11.5px; letter-spacing: 0.22em; text-transform: uppercase;
  cursor: pointer; transition: all 0.3s; font-weight: 500;
}
.pcard-add:hover { background: var(--ink); color: var(--ivory); }
.pcard-add.added { background: var(--gold); border-color: var(--gold); color: #fff; }

/* ---------- Lifestyle row ---------- */
.life-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; margin-top: 56px; }
.life-card { border-radius: 4px; overflow: hidden; aspect-ratio: 3/4; position: relative; background: var(--ivory-deep); }
.life-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s cubic-bezier(0.2,0.7,0.2,1); }
.life-card:hover img { transform: scale(1.06); }
.life-cap {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 22px 20px; color: #fff;
  background: linear-gradient(to top, rgba(20,16,12,0.7), transparent);
  font-family: var(--serif); font-size: 19px; font-style: italic;
}

/* ---------- Maker / editorial split ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center; }
.split img { border-radius: 4px; width: 100%; aspect-ratio: 4/4.6; object-fit: cover; }
.split .h2 { margin-bottom: 8px; }
.split p { color: var(--ink-soft); margin-top: 16px; }
.sig { font-family: var(--serif); font-style: italic; font-size: 26px; color: var(--gold); margin-top: 26px; }

/* ---------- Marquee strip ---------- */
.strip { background: var(--ink); color: var(--ivory); padding: 26px 0; overflow: hidden; }
.strip-track { display: flex; gap: 60px; white-space: nowrap; width: max-content; animation: slide 30s linear infinite; }
.strip-track span { font-family: var(--serif); font-style: italic; font-size: 20px; color: var(--gold-soft); }
.strip-track i { color: var(--gold); font-style: normal; }
@keyframes slide { to { transform: translateX(-50%); } }

/* ---------- Filter chips ---------- */
.chips { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 40px; }
.chip {
  border: 1px solid var(--line); background: var(--card); border-radius: 999px;
  padding: 11px 26px; font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase;
  cursor: pointer; font-family: var(--sans); color: var(--ink-soft); transition: all 0.3s; font-weight: 400;
}
.chip:hover { border-color: var(--gold); }
.chip.on { background: var(--ink); color: var(--ivory); border-color: var(--ink); }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { padding: 90px 0 30px; text-align: center; }
.page-hero .h2 { max-width: 20ch; margin: 0 auto; }

/* ---------- Forms ---------- */
.field { margin-bottom: 20px; }
.field label { display: block; font-size: 11.5px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--taupe); margin-bottom: 8px; font-weight: 500; }
.field input, .field textarea, .field select {
  width: 100%; padding: 14px 18px; border: 1px solid var(--line); border-radius: 3px;
  font-family: var(--sans); font-size: 15px; background: #fff; color: var(--ink); font-weight: 300;
}
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--gold); }
.field input.invalid { border-color: #b3402e; }
.ferr { display: none; color: #b3402e; font-size: 12.5px; margin-top: 6px; }
.ferr.show { display: block; }
.form-note { font-size: 13px; color: var(--taupe); }

/* ---------- Cart drawer / sheets ---------- */
.backdrop {
  position: fixed; inset: 0; background: rgba(25,20,14,0.5); z-index: 90;
  opacity: 0; pointer-events: none; transition: opacity 0.35s;
}
.backdrop.open { opacity: 1; pointer-events: auto; }
.drawer {
  position: fixed; top: 0; right: 0; bottom: 0; width: min(430px, 94vw); z-index: 95;
  background: var(--ivory); transform: translateX(105%); transition: transform 0.45s cubic-bezier(0.2,0.7,0.2,1);
  display: flex; flex-direction: column; border-left: 1px solid var(--line);
}
.drawer.open { transform: none; }
.drawer-head { padding: 26px 28px; border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; }
.drawer-head h3 { font-family: var(--serif); font-size: 24px; font-weight: 600; }
.x-btn { background: none; border: 0; font-size: 26px; cursor: pointer; color: var(--ink-soft); line-height: 1; }
.drawer-body { flex: 1; overflow-y: auto; padding: 24px 28px; }
.drawer-foot { padding: 24px 28px 30px; border-top: 1px solid var(--line); background: var(--card); }
.trow { display: flex; justify-content: space-between; font-size: 14.5px; margin-bottom: 8px; color: var(--ink-soft); }
.trow.grand { font-size: 18px; color: var(--ink); font-weight: 500; margin: 14px 0 20px; }
.cart-line { display: flex; gap: 16px; margin-bottom: 22px; align-items: flex-start; }
.cart-line .thumb { width: 74px; height: 84px; border-radius: 3px; overflow: hidden; position: relative; background: var(--ivory-deep); flex-shrink: 0; }
.cart-line-main { flex: 1; }
.cart-line-main strong { font-family: var(--serif); font-size: 17px; font-weight: 600; display: block; line-height: 1.3; }
.cart-line .unit { font-size: 12.5px; color: var(--taupe); }
.qty { display: inline-flex; align-items: center; gap: 12px; margin-top: 8px; border: 1px solid var(--line); border-radius: 999px; padding: 4px 12px; }
.qty button { background: none; border: 0; font-size: 17px; cursor: pointer; color: var(--ink); width: 24px; }
.qty output { font-size: 14px; min-width: 20px; text-align: center; }
.remove-link { background: none; border: 0; color: var(--taupe); font-size: 12px; text-decoration: underline; cursor: pointer; margin-top: 6px; font-family: var(--sans); }
.line-total { font-weight: 500; font-size: 15px; }
.empty-note { text-align: center; color: var(--taupe); font-family: var(--serif); font-style: italic; font-size: 18px; padding: 60px 10px; line-height: 1.8; }
.free-ship { font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold); margin-bottom: 14px; font-weight: 500; }

/* checkout sheet */
.sheet {
  position: fixed; inset: 0; z-index: 96; display: flex; align-items: center; justify-content: center;
  padding: 20px; opacity: 0; pointer-events: none; transition: opacity 0.35s;
}
.sheet.open { opacity: 1; pointer-events: auto; }
.sheet-card {
  background: var(--ivory); border-radius: 6px; width: min(620px, 96vw); max-height: 92vh;
  overflow-y: auto; padding: 44px 46px; position: relative; border: 1px solid var(--line);
}
.sheet-card h3 { font-family: var(--serif); font-size: 30px; font-weight: 600; margin-bottom: 6px; }
.sheet-sub { color: var(--taupe); font-size: 14px; margin-bottom: 28px; }
.sum-box { background: var(--card); border: 1px solid var(--line); border-radius: 4px; padding: 22px 24px; margin-bottom: 28px; }
.sum-box .row { display: flex; justify-content: space-between; font-size: 14px; padding: 5px 0; color: var(--ink-soft); }
.sum-box .row.grand { font-size: 17px; color: var(--ink); font-weight: 500; border-top: 1px solid var(--line); margin-top: 10px; padding-top: 14px; }
.f2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px; }
.hidden { display: none !important; }
.secure-note { display: flex; align-items: center; gap: 10px; font-size: 12.5px; color: var(--taupe); margin-top: 18px; }

/* quick view */
.qv { position: fixed; inset: 0; z-index: 96; display: flex; align-items: center; justify-content: center; padding: 20px; opacity: 0; pointer-events: none; transition: opacity 0.35s; }
.qv.open { opacity: 1; pointer-events: auto; }
.qv-card { background: var(--ivory); border-radius: 6px; width: min(880px, 96vw); max-height: 92vh; overflow-y: auto; display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--line); position: relative; }
.qv-img { background: var(--ivory-deep); min-height: 420px; }
.qv-img img { width: 100%; height: 100%; object-fit: cover; }
.qv-body { padding: 48px 44px; }
.qv-body h3 { font-family: var(--serif); font-size: 32px; font-weight: 600; line-height: 1.2; }
.qv-line { font-family: var(--serif); font-style: italic; font-size: 18px; color: var(--taupe); margin: 12px 0 20px; }
.qv-tags { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 20px; }
.tag-pill { font-size: 10.5px; letter-spacing: 0.2em; text-transform: uppercase; border: 1px solid var(--line); border-radius: 999px; padding: 6px 14px; color: var(--taupe); }
.qv-price { display: flex; align-items: baseline; gap: 12px; margin: 18px 0 26px; }
.qv-price .now { font-size: 24px; font-weight: 500; }
.qv-price .was { color: var(--taupe); text-decoration: line-through; }

/* toast */
.toast {
  position: fixed; bottom: 28px; left: 50%; transform: translate(-50%, 80px); z-index: 120;
  background: var(--ink); color: var(--ivory); padding: 15px 30px; border-radius: 999px;
  font-size: 14px; letter-spacing: 0.02em; opacity: 0; transition: all 0.4s; max-width: 90vw; text-align: center;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ---------- Footer ---------- */
footer { background: var(--ink); color: rgba(250,246,238,0.78); margin-top: 0; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; padding: 80px 0 60px; }
.foot-brand { font-family: var(--serif); font-size: 30px; color: #fff; font-weight: 600; }
.foot-brand em { color: var(--gold-soft); font-style: italic; }
.foot-grid p { font-size: 14px; margin-top: 14px; max-width: 34ch; }
.foot-grid h4 { font-size: 12px; letter-spacing: 0.28em; text-transform: uppercase; color: var(--gold-soft); margin-bottom: 20px; font-weight: 500; }
.foot-grid ul { list-style: none; }
.foot-grid li { margin-bottom: 12px; }
.foot-grid li a { font-size: 14.5px; }
.foot-grid li a:hover { color: #fff; }
.foot-base { border-top: 1px solid rgba(255,255,255,0.12); padding: 26px 0; display: flex; justify-content: space-between; font-size: 12.5px; color: rgba(250,246,238,0.5); flex-wrap: wrap; gap: 10px; }

/* ---------- About / policies prose ---------- */
.prose { max-width: 760px; margin: 0 auto; }
.prose h3 { font-family: var(--serif); font-size: 26px; font-weight: 600; margin: 44px 0 12px; }
.prose p { color: var(--ink-soft); margin-bottom: 16px; }
.prose ul { margin: 12px 0 16px 22px; color: var(--ink-soft); }
.prose li { margin-bottom: 8px; }
.drop::first-letter {
  font-family: var(--serif); font-size: 58px; float: left; line-height: 0.9;
  padding-right: 12px; color: var(--gold); font-weight: 600;
}

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .edition-grid { grid-template-columns: repeat(3, 1fr); }
  .product-grid { grid-template-columns: repeat(3, 1fr); }
  .life-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 860px) {
  .nav { display: none; }
  .burger { display: block; }
  .nav.mobile-open {
    display: flex; position: absolute; top: 76px; left: 0; right: 0;
    background: var(--ivory); flex-direction: column; padding: 20px 28px 30px;
    border-bottom: 1px solid var(--line); gap: 18px; align-items: flex-start;
  }
  .product-grid { grid-template-columns: repeat(2, 1fr); gap: 20px 14px; }
  .edition-grid { grid-template-columns: repeat(2, 1fr); }
  .split { grid-template-columns: 1fr; gap: 40px; }
  .section { padding: 70px 0; }
  .qv-card { grid-template-columns: 1fr; }
  .qv-img { min-height: 300px; max-height: 380px; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .f2 { grid-template-columns: 1fr; }
  .sheet-card { padding: 34px 26px; }
}
@media (max-width: 560px) {
  .foot-grid { grid-template-columns: 1fr; }
  .hero-in { padding-bottom: 80px; }
}

/* ---------- v2: model showcase (homepage) ---------- */
.show-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; margin-top: 56px; }
.show-card { background: var(--card); border: 1px solid var(--line); border-radius: 4px; overflow: hidden; display: flex; flex-direction: column; transition: box-shadow 0.35s, transform 0.35s; }
.show-card:hover { box-shadow: 0 24px 60px -24px rgba(60,45,25,0.28); transform: translateY(-4px); }
.show-img { aspect-ratio: 3/4; overflow: hidden; position: relative; background: var(--ivory-deep); cursor: pointer; }
.show-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s cubic-bezier(0.2,0.7,0.2,1); }
.show-card:hover .show-img img { transform: scale(1.05); }
.show-body { padding: 22px 22px 24px; display: flex; flex-direction: column; flex: 1; }

/* ---------- v2: category sections (collection page) ---------- */
.cat-section { border-top: 1px solid var(--line); }
.cat-section:first-of-type { border-top: 0; }

@media (max-width: 1080px) {
  .show-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .show-grid { grid-template-columns: 1fr; }
}
