:root {
  --forest: #0b3d34;
  --teal: #0f6b5c;
  --mint: #8ed0bc;
  --sage: #d5eadc;
  --cream: #f4efe4;
  --ivory: #fbf8f1;
  --gold: #c4a35a;
  --gold-2: #e4d2a0;
  --ink: #13241f;
  --muted: #5d716a;
  --line: rgba(11, 61, 52, 0.12);
  --shadow: 0 24px 60px rgba(11, 61, 52, 0.16);
  --serif: "Cormorant Garamond", "Vazirmatn", serif;
  --sans: "Vazirmatn", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--sans);
  color: var(--ink);
  background: var(--ivory);
  line-height: 1.7;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, textarea { font: inherit; }
.sr-only {
  position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0);
}
[hidden] { display: none !important; }

.grain {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 1;
  opacity: 0.07;
  background-image: url("../assets/images/texture.jpg");
  background-size: 680px;
  mix-blend-mode: multiply;
}

.header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 40;
  padding: 18px 28px;
  transition: background 0.3s, box-shadow 0.3s, padding 0.3s;
}
.header.is-solid {
  background: rgba(251, 248, 241, 0.9);
  backdrop-filter: blur(16px);
  box-shadow: 0 1px 0 var(--line);
  padding: 10px 28px;
}
.header-inner {
  max-width: 1320px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}
.logo img {
  width: 46px;
  height: 46px;
  object-fit: cover;
  border-radius: 10px;
  box-shadow: 0 0 0 1px var(--line);
}
.logo strong {
  display: block;
  font-size: 16px;
  letter-spacing: -0.02em;
}
.logo em {
  display: block;
  font-family: var(--serif);
  font-style: normal;
  font-size: 11px;
  letter-spacing: 0.22em;
  color: var(--gold);
}
.nav { display: flex; gap: 26px; }
.nav a {
  font-size: 14px;
  color: var(--forest);
  opacity: 0.82;
}
.nav a:hover { opacity: 1; }
.header-actions { display: flex; align-items: center; gap: 8px; }
.icon-btn {
  width: 42px;
  height: 42px;
  border: 0;
  background: transparent;
  color: var(--forest);
  border-radius: 50%;
  display: grid;
  place-items: center;
  cursor: pointer;
}
.icon-btn svg { width: 20px; height: 20px; }
.cart-btn { position: relative; }
.cart-count {
  position: absolute;
  top: 4px;
  left: 4px;
  min-width: 16px;
  height: 16px;
  padding: 0 4px;
  border-radius: 99px;
  background: var(--teal);
  color: #fff;
  font-size: 10px;
  display: grid;
  place-items: center;
}
.menu-btn {
  display: none;
  width: 42px;
  height: 42px;
  border: 0;
  background: none;
  cursor: pointer;
}
.menu-btn span {
  display: block;
  width: 18px;
  height: 1.5px;
  background: var(--forest);
  margin: 5px auto;
}
.mobile-nav {
  position: fixed;
  inset: 72px 16px auto;
  z-index: 39;
  background: var(--ivory);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 12px;
  display: grid;
  gap: 4px;
  box-shadow: var(--shadow);
}
.mobile-nav a { padding: 10px 12px; border-radius: 10px; }
.mobile-nav a:hover { background: var(--sage); }

.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: end;
  color: #f7f3ea;
}
.hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 55% 40%;
}
.hero-veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(8, 28, 24, 0.18) 0%, rgba(8, 28, 24, 0.08) 32%, rgba(8, 28, 24, 0.72) 100%),
    linear-gradient(90deg, rgba(8, 28, 24, 0.45), transparent 55%);
}
.hero-copy, .hero-meta { position: relative; z-index: 2; }
.hero-copy {
  padding: 0 7vw 48px;
  max-width: 760px;
}
.eyebrow {
  margin: 0 0 12px;
  font-size: 12px;
  letter-spacing: 0.18em;
  color: var(--gold-2);
  text-transform: none;
}
.hero h1 {
  margin: 0;
  font-weight: 700;
  font-size: clamp(44px, 7vw, 92px);
  line-height: 1.05;
  letter-spacing: -0.04em;
}
.lede {
  max-width: 34rem;
  color: rgba(247, 243, 234, 0.86);
  font-weight: 300;
  font-size: 17px;
}
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }
.hero-meta {
  display: flex;
  gap: 28px;
  padding: 18px 7vw 28px;
  font-size: 13px;
  color: rgba(247, 243, 234, 0.72);
  border-top: 1px solid rgba(255,255,255,0.12);
}
.hero-meta span { position: relative; }
.hero-meta span + span::before {
  content: "";
  position: absolute;
  right: -16px;
  top: 50%;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--gold);
  transform: translateY(-50%);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
}
.btn-gold { background: var(--gold); color: #1a160c; }
.btn-gold:hover { filter: brightness(1.06); }
.btn-ghost {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,0.35);
}
.btn-block { width: 100%; }

.trust {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  background: var(--forest);
  color: var(--sage);
}
.trust-item {
  padding: 36px 28px;
  border-left: 1px solid rgba(255,255,255,0.08);
  display: flex;
  gap: 16px;
}
.trust-num {
  font-family: var(--serif);
  color: var(--gold);
  font-size: 22px;
}
.trust h3 { margin: 0 0 6px; color: #fff; font-size: 16px; }
.trust p { margin: 0; font-size: 13px; opacity: 0.75; }

.section { padding: 88px 7vw; }
.section-head { margin-bottom: 36px; }
.section-head.split {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 24px;
}
.section .eyebrow { color: var(--teal); }
.section h2 {
  margin: 0;
  font-size: clamp(28px, 4vw, 46px);
  line-height: 1.2;
  letter-spacing: -0.03em;
}

.mosaic {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  grid-auto-rows: 240px;
  gap: 14px;
}
.tile {
  position: relative;
  overflow: hidden;
  border-radius: 18px;
  color: #fff;
}
.tile-lg { grid-row: span 2; }
.tile-wide { grid-column: span 2; }
.tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s ease;
}
.tile:hover img { transform: scale(1.06); }
.tile::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 35%, rgba(8, 28, 24, 0.78));
}
.tile-cap {
  position: absolute;
  inset: auto 18px 16px;
  z-index: 1;
}
.tile-cap span {
  display: block;
  font-family: var(--serif);
  color: var(--gold-2);
  font-size: 13px;
}
.tile-cap strong { display: block; font-size: 22px; }
.tile-cap em { font-style: normal; font-size: 13px; opacity: 0.8; }

.filters { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  border: 1px solid var(--line);
  background: transparent;
  color: var(--forest);
  border-radius: 999px;
  padding: 8px 16px;
  cursor: pointer;
}
.chip.is-on, .chip:hover { background: var(--forest); color: #fff; }

.grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.card {
  background: #fff;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 0 0 1px var(--line);
  cursor: pointer;
  transition: transform 0.25s, box-shadow 0.25s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card-img {
  aspect-ratio: 1;
  background: var(--cream);
  overflow: hidden;
}
.card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s; }
.card:hover .card-img img { transform: scale(1.04); }
.card-body { padding: 16px 16px 18px; }
.card-cat { margin: 0; font-size: 11px; letter-spacing: 0.12em; color: var(--teal); }
.card h3 { margin: 4px 0 8px; font-size: 16px; font-weight: 600; }
.card-row { display: flex; justify-content: space-between; align-items: center; }
.price { margin: 0; font-weight: 700; color: var(--forest); }
.add {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 0;
  background: var(--sage);
  color: var(--forest);
  cursor: pointer;
  font-size: 20px;
  line-height: 1;
}
.card[hidden] { display: none; }

.consult, .gift {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 640px;
}
.consult-photo img, .gift-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.consult-copy, .gift-copy {
  padding: 80px 8vw;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: var(--cream);
}
.consult-copy { background: #16352e; color: var(--sage); }
.consult-copy .eyebrow { color: var(--gold-2); }
.consult-copy h2, .gift-copy h2 {
  margin: 0 0 16px;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.2;
  color: #fff;
}
.gift-copy h2 { color: var(--ink); }
.consult-copy p { color: rgba(213, 234, 220, 0.82); }
.ask { display: grid; gap: 12px; margin-top: 22px; }
.ask textarea {
  width: 100%;
  border: 1px solid rgba(255,255,255,0.16);
  background: rgba(255,255,255,0.06);
  color: #fff;
  border-radius: 16px;
  padding: 14px 16px;
  resize: vertical;
}
.ask textarea::placeholder { color: rgba(255,255,255,0.45); }
.form-note { font-size: 13px; color: var(--gold-2); }
.facts { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 10px; }
.facts li { padding-right: 14px; border-right: 2px solid var(--gold); }

.footer {
  background: var(--forest);
  color: var(--sage);
  padding: 56px 7vw 28px;
}
.footer-brand { display: flex; gap: 12px; align-items: center; margin-bottom: 32px; }
.footer-brand img { width: 52px; height: 52px; border-radius: 12px; object-fit: cover; }
.footer-brand p { margin: 0; opacity: 0.7; font-size: 13px; }
.footer-cols { display: flex; gap: 80px; }
.footer-cols h4 { margin: 0 0 10px; color: #fff; }
.footer-cols a, .footer-cols span { display: block; opacity: 0.75; font-size: 14px; margin: 6px 0; }
.copy { margin: 40px 0 0; font-size: 12px; opacity: 0.55; }

.drawer {
  position: fixed;
  inset: 0 0 0 auto;
  width: min(400px, 92vw);
  background: var(--ivory);
  z-index: 60;
  transform: translateX(110%);
  transition: transform 0.35s ease;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow);
}
.drawer.is-open { transform: none; }
.drawer-head, .drawer-foot { padding: 20px 22px; border-bottom: 1px solid var(--line); }
.drawer-foot { border-bottom: 0; border-top: 1px solid var(--line); }
.drawer-head { display: flex; justify-content: space-between; align-items: center; }
.drawer-head h3 { margin: 0; }
.drawer-body { flex: 1; overflow: auto; padding: 12px 22px; }
.cart-row {
  display: grid;
  grid-template-columns: 64px 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}
.cart-row img { width: 64px; height: 64px; object-fit: cover; border-radius: 10px; }
.sum { display: flex; justify-content: space-between; margin-bottom: 12px; }
.scrim {
  position: fixed;
  inset: 0;
  background: rgba(10, 24, 20, 0.45);
  z-index: 50;
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 70;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(10, 24, 20, 0.5);
}
.sheet {
  width: min(920px, 100%);
  background: #fff;
  border-radius: 22px;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr 1fr;
  position: relative;
}
.sheet img { width: 100%; height: 100%; object-fit: cover; min-height: 360px; }
.sheet-copy { padding: 36px; }
.sheet-close {
  position: absolute;
  top: 12px;
  left: 12px;
  background: #fff;
  box-shadow: 0 0 0 1px var(--line);
  z-index: 2;
}

.toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--forest);
  color: #fff;
  padding: 10px 18px;
  border-radius: 999px;
  z-index: 90;
  font-size: 13px;
}

@media (max-width: 980px) {
  .nav { display: none; }
  .menu-btn { display: block; }
  .trust { grid-template-columns: 1fr 1fr; }
  .mosaic { grid-template-columns: 1fr 1fr; grid-auto-rows: 200px; }
  .tile-lg, .tile-wide { grid-column: span 2; grid-row: auto; }
  .grid { grid-template-columns: 1fr 1fr; }
  .consult, .gift, .sheet { grid-template-columns: 1fr; }
  .consult-photo { min-height: 360px; }
  .section-head.split { flex-direction: column; align-items: start; }
}
@media (max-width: 640px) {
  .header { padding: 12px 16px; }
  .trust { grid-template-columns: 1fr; }
  .grid, .mosaic { grid-template-columns: 1fr; }
  .tile, .tile-lg, .tile-wide { grid-column: auto; min-height: 220px; }
  .hero-meta { flex-direction: column; gap: 8px; }
  .hero-meta span + span::before { display: none; }
  .footer-cols { flex-direction: column; gap: 24px; }
}
