/* ---------- Fonts ---------- */
@font-face { font-family: "Jost"; src: url("assets/fonts/jost.woff2") format("woff2"); font-weight: 300 600; font-display: swap; }
@font-face { font-family: "Marcellus"; src: url("assets/fonts/marcellus.woff2") format("woff2"); font-display: swap; }
@font-face { font-family: "Tiro Devanagari Hindi"; src: url("assets/fonts/tiro-devanagari.woff2") format("woff2"); font-display: swap; unicode-range: U+0900-097F, U+200C-200D, U+25CC; }

/* ---------- Tokens ---------- */
:root {
  --ivory: #FBF8F2;
  --paper: #F2ECE1;
  --sand: #E6DCCB;
  --green: #1D4A32;
  --green-deep: #12321F;
  --gold: #A8844A;
  --gold-text: #87672F;
  --gold-soft: #D8C49B;
  --ink: #1E1B16;
  --muted: #6F685D;
  --line: #E3D9C8;

  --serif: "Marcellus", "Trajan Pro", Georgia, serif;
  --label: "Marcellus", Georgia, serif;
  --sans: "Jost", "Futura", "Century Gothic", sans-serif;
  --hindi: "Tiro Devanagari Hindi", serif;

  --gutter: clamp(16px, 4vw, 56px);
  --max: 1440px;
  --ease: cubic-bezier(.22, .61, .36, 1);
  --header-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--ivory);
  color: var(--ink);
  font: 400 16px/1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body.locked { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3, p, figure, dl, dd, ol, ul { margin: 0; }
ol, ul { padding: 0; list-style: none; }
:focus-visible { outline: 1.5px solid var(--gold); outline-offset: 3px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--green); color: var(--ivory); padding: 8px 14px; }
.skip:focus { left: 8px; }

/* ---------- Type ---------- */
.display { font: 400 clamp(44px, 5.6vw, 88px)/1.02 var(--serif); letter-spacing: 0; }
.display em, .h2 em, h2 em, h3 em { font-style: normal; color: var(--green); }
.h2 { font: 400 clamp(30px, 3.2vw, 46px)/1.12 var(--serif); letter-spacing: 0; }
.h3 { font: 400 clamp(22px, 2vw, 28px)/1.2 var(--serif); }
.eyebrow { font: 400 12.5px/1.4 var(--label); letter-spacing: .2em; text-transform: uppercase; color: var(--gold-text); margin-bottom: 16px; }
.lede { font-size: clamp(16px, 1.25vw, 18px); color: var(--muted); max-width: 44ch; }

/* ---------- Buttons & links ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  height: 52px; padding: 0 30px;
  font: 400 13px/1 var(--label); letter-spacing: .18em; text-transform: uppercase;
  border: 1px solid transparent;
  transition: background-color .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease);
}
.btn-green { background: var(--green); color: var(--ivory); }
.btn-green:hover { background: var(--green-deep); }
.btn-ivory { background: var(--ivory); color: var(--green-deep); }
.btn-ivory:hover { background: var(--gold-soft); }
.btn-block { width: 100%; }
.link-arrow { display: inline-flex; align-items: center; gap: 10px; font-size: 15px; border-bottom: 1px solid currentColor; padding-bottom: 3px; }
.link-arrow::after { content: "→"; transition: transform .3s var(--ease); }
.link-arrow:hover::after { transform: translateX(4px); }

/* ---------- Arch (the chaukhat) ---------- */
.arch {
  position: relative; display: block; overflow: hidden;
  border-radius: 999px 999px 0 0;
  background: var(--paper);
  isolation: isolate;
}
.arch img { width: 100%; height: 100%; object-fit: cover; }
.arch::after {
  content: ""; position: absolute; inset: 9px 9px 0;
  border: 1px solid rgba(232, 214, 176, .9); border-bottom: 0;
  border-radius: 999px 999px 0 0;
  pointer-events: none; z-index: 1;
}

/* ---------- Announcement ---------- */
.announce {
  position: relative; height: 38px; overflow: hidden;
  background: var(--green-deep); color: var(--ivory);
  font-size: 12.5px; letter-spacing: .06em; text-align: center;
}
.announce-msg {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; gap: .35em; padding: 0 16px;
  opacity: 0; transform: translateY(8px);
  transition: opacity .6s var(--ease), transform .6s var(--ease);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.announce-msg.is-active { opacity: 1; transform: none; }
.announce a { text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Header ---------- */
.header {
  position: sticky; top: 0; z-index: 40;
  background: rgba(251, 248, 242, .97);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  max-width: var(--max); margin: 0 auto; height: var(--header-h);
  padding: 0 var(--gutter);
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
}
.nav { display: flex; align-items: center; gap: clamp(18px, 2.2vw, 34px); }
.nav-right { justify-content: flex-end; gap: clamp(10px, 1.4vw, 20px); }
.nav-link {
  position: relative; font: 400 12.5px/1 var(--label); letter-spacing: .18em; text-transform: uppercase;
  padding: 8px 0;
}
.nav-link::after { content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
.nav-link:hover::after, .nav-item.open > .nav-link::after { transform: scaleX(1); }
.icon-btn { position: relative; width: 40px; height: 40px; display: grid; place-items: center; }
.icon-btn svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.3; stroke-linecap: round; stroke-linejoin: round; }
.count {
  position: absolute; top: 3px; right: 1px; min-width: 17px; height: 17px; padding: 0 4px;
  border-radius: 9px; background: var(--green); color: var(--ivory);
  font: 500 10.5px/17px var(--sans); text-align: center;
}
.menu-toggle { display: none; }

.logo { display: grid; justify-items: center; line-height: 1; color: var(--green); }
.logo-arch { width: 26px; height: 17px; fill: none; stroke: var(--gold); stroke-width: 1.3; stroke-linecap: round; margin-bottom: 4px; }
.logo-word { font: 400 22px/1 var(--label); letter-spacing: .26em; text-transform: uppercase; margin-right: -.26em; }
.logo-sub { font: 400 11px/1 var(--hindi); color: var(--gold-text); margin-top: 5px; letter-spacing: .1em; }

/* Mega menu */
.mega {
  position: absolute; left: 0; right: 0; top: 100%;
  background: var(--ivory); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity .3s var(--ease), transform .3s var(--ease), visibility .3s;
}
.nav-item.open .mega { opacity: 1; visibility: visible; transform: none; }
.mega-inner {
  max-width: var(--max); margin: 0 auto; padding: 36px var(--gutter) 44px;
  display: grid; grid-template-columns: 1fr 1fr 1.3fr; gap: 40px;
}
.mega-col { display: grid; align-content: start; gap: 12px; }
.mega-col a { font-size: 15.5px; width: fit-content; transition: color .2s; }
.mega-col a:hover { color: var(--green); }
.mega-title { font: 400 12px/1 var(--label); letter-spacing: .2em; text-transform: uppercase; color: var(--gold-text); margin-bottom: 8px; }
.tag { font: 400 10px/1 var(--label); letter-spacing: .14em; text-transform: uppercase; color: var(--green); border: 1px solid currentColor; padding: 3px 6px 2px; margin-left: 6px; vertical-align: 2px; }
.mega-feature { display: grid; grid-template-columns: 150px 1fr; gap: 24px; align-items: end; }
.mega-feature .arch { aspect-ratio: 3 / 4; }
.mega-feature-text { display: grid; gap: 8px; }
.mega-feature-text em { font: 400 26px/1.15 var(--serif); }
.mega-feature-text span { font-size: 14px; color: var(--muted); }

/* ---------- Hero (split, Mejuri-style) ---------- */
.hero {
  position: relative;
  display: grid; grid-template-columns: 1fr 1fr;
  height: calc(100svh - 38px); min-height: 600px; max-height: 1000px;
  margin-top: calc(var(--header-h) * -1 - 1px);
  background: var(--green-deep);
}
.hero-panel { position: relative; overflow: hidden; }
.hero-panel img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-left img { object-position: center 30%; transform: scale(1.1); transform-origin: 65% 15%; }
.hero-right::before { content: ""; position: absolute; inset: 0 0 auto; height: 30%; z-index: 1; pointer-events: none; background: linear-gradient(180deg, rgba(20, 16, 10, .42), rgba(20, 16, 10, 0)); }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10, 30, 18, .45) 0%, rgba(10, 30, 18, 0) 38%, rgba(10, 30, 18, 0) 55%, rgba(10, 30, 18, .5) 100%); }
.hero-facts {
  position: absolute; left: var(--gutter); top: calc(var(--header-h) + 22px); right: var(--gutter);
  display: grid; gap: 2px;
  font: 500 clamp(12.5px, 1.05vw, 16px)/1.35 var(--sans); letter-spacing: .02em; text-transform: uppercase;
  color: var(--gold-soft);
}
.hero-word {
  position: absolute; left: var(--gutter); right: var(--gutter); bottom: clamp(20px, 4vh, 44px);
  color: var(--gold-soft); line-height: .8; white-space: nowrap;
}
.hero-word span { display: inline-block; font: 400 100px/.8 var(--label); text-transform: uppercase; letter-spacing: .02em; }
.hero-slides img { visibility: hidden; }
.hero-slides img.is-active { visibility: visible; }
.curtain { position: absolute; inset: 0; z-index: 2; pointer-events: none; }
.curtain i { position: absolute; top: 0; bottom: 0; width: 50.5%; background: var(--green-deep); transform: scaleX(0); }
.curtain-l { left: 0; transform-origin: 0 50%; box-shadow: inset -1px 0 0 var(--gold-soft); }
.curtain-r { right: 0; transform-origin: 100% 50%; box-shadow: inset 1px 0 0 var(--gold-soft); }
.hero-pause {
  position: absolute; right: 20px; bottom: 20px; z-index: 3;
  width: 40px; height: 40px; display: grid; place-items: center; color: var(--ivory);
}
.hero-pause svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linejoin: round; filter: drop-shadow(0 1px 2px rgba(0,0,0,.4)); }
.hero-pause .i-play { display: none; fill: currentColor; stroke: none; }
.hero-pause[aria-pressed="true"] .i-pause { display: none; }
.hero-pause[aria-pressed="true"] .i-play { display: block; }

.hero-strip {
  display: flex; justify-content: space-between; align-items: center; gap: 24px;
  padding: 22px var(--gutter);
  border-bottom: 1px solid var(--line);
  font: 500 15px/1.4 var(--sans); letter-spacing: .03em; text-transform: uppercase;
}
.hero-strip a { border-bottom: 1.5px solid currentColor; padding-bottom: 2px; white-space: nowrap; transition: color .2s; }
.hero-strip a:hover { color: var(--green); }

.khass-band {
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 80px); align-items: center;
  padding: clamp(48px, 6vw, 88px) var(--gutter);
  background: var(--green); color: var(--ivory);
}
.khass-band h2 { font: 400 clamp(30px, 3.4vw, 50px)/1.1 var(--serif); text-align: center; }
.khass-band h2 em { color: var(--gold-soft); }
.khass-band-copy { max-width: 560px; }
.khass-band-copy p { font-size: clamp(16px, 1.2vw, 18px); line-height: 1.7; color: rgba(251, 248, 242, .86); }
.khass-band-copy em { font-family: var(--serif); color: var(--gold-soft); }
.band-link { display: inline-block; margin-top: 22px; font: 400 13px/1 var(--label); letter-spacing: .18em; text-transform: uppercase; border-bottom: 1px solid var(--gold-soft); padding-bottom: 5px; }

/* header floating over the hero */
.header { transition: background-color .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease); }
.header.on-hero:not(:has(.nav-item.open)) { background: transparent; border-bottom-color: transparent; color: var(--ivory); }
.header.on-hero:not(:has(.nav-item.open)) .logo { color: var(--ivory); }
.header.on-hero:not(:has(.nav-item.open)) .logo-sub, .header.on-hero:not(:has(.nav-item.open)) .logo-arch { color: var(--gold-soft); stroke: var(--gold-soft); }
.header.on-hero:not(:has(.nav-item.open)) .count { background: var(--ivory); color: var(--green-deep); }

/* ---------- Sections ---------- */
.section { max-width: var(--max); margin: 0 auto; padding: clamp(56px, 7vw, 104px) var(--gutter); }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: clamp(28px, 3.5vw, 48px); }
.section-head .eyebrow { margin-bottom: 12px; }

/* Categories */
.cats { display: grid; grid-template-columns: repeat(6, 1fr); gap: clamp(12px, 1.6vw, 24px); }
.cat { display: grid; gap: 14px; justify-items: center; }
.cat .arch { width: 100%; aspect-ratio: 3 / 4; }
.cat img { transition: transform .9s var(--ease); }
.cat:hover img { transform: scale(1.05); }
.cat-name { font: 400 13px/1 var(--label); letter-spacing: .18em; text-transform: uppercase; }

/* ---------- Collection ---------- */
#khass { padding-top: clamp(24px, 3vw, 48px); }
.collection-head { display: grid; grid-template-columns: 1.3fr 1fr; align-items: end; gap: 32px; margin-bottom: clamp(28px, 3.5vw, 48px); }
.collection-head .h2 { max-width: 18ch; }
.chips { display: flex; justify-content: flex-end; gap: 8px; flex-wrap: wrap; }
.chip {
  height: 38px; padding: 0 18px; border: 1px solid var(--line); border-radius: 19px;
  font-size: 14px; transition: border-color .25s, background-color .25s, color .25s;
}
.chip:hover { border-color: var(--ink); }
.chip.is-active { background: var(--green); border-color: var(--green); color: var(--ivory); }

.grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(28px, 3vw, 44px) clamp(12px, 1.6vw, 24px); }
.card-top { position: relative; }
.card-media { position: relative; display: block; aspect-ratio: 4 / 5; background: var(--paper); overflow: hidden; }
.card-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity .5s var(--ease), transform 1s var(--ease); }
.card-media .img-alt { opacity: 0; }
.card:hover .img-alt { opacity: 1; }
.card:hover .card-media img { transform: scale(1.03); }
.card-badge {
  position: absolute; top: 12px; left: 12px; z-index: 2;
  font: 400 10.5px/1 var(--label); letter-spacing: .16em; text-transform: uppercase;
  background: var(--ivory); padding: 6px 8px 5px;
}
.wish {
  position: absolute; top: 8px; right: 8px; z-index: 2;
  width: 38px; height: 38px; display: grid; place-items: center; border-radius: 50%;
  background: rgba(251, 248, 242, .9); transition: transform .2s;
}
.wish svg { width: 18px; height: 18px; fill: none; stroke: var(--ink); stroke-width: 1.4; }
.wish[aria-pressed="true"] svg { fill: var(--green); stroke: var(--green); }
.wish:active { transform: scale(.9); }
.quick-add {
  position: absolute; left: 10px; right: 10px; bottom: 10px; z-index: 2;
  height: 44px; background: var(--green); color: var(--ivory);
  font: 400 12px/1 var(--label); letter-spacing: .18em; text-transform: uppercase;
  opacity: 0; transform: translateY(8px);
  transition: opacity .3s var(--ease), transform .3s var(--ease), background-color .2s;
}
.quick-add:hover { background: var(--green-deep); }
.card:hover .quick-add, .quick-add:focus-visible { opacity: 1; transform: none; }
.card-info { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-top: 14px; }
.card-name { font: 400 21px/1.2 var(--serif); }
.card-price { font-size: 15px; white-space: nowrap; }
.card-meta { font-size: 14px; color: var(--muted); margin-top: 2px; }
.grid-empty { grid-column: 1 / -1; text-align: center; color: var(--muted); padding: 40px 0; }

/* ---------- Story ---------- */
.story {
  max-width: var(--max); margin: 0 auto; padding: clamp(40px, 5vw, 80px) var(--gutter) clamp(56px, 7vw, 104px);
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 110px); align-items: center;
}
.story-media { position: relative; aspect-ratio: 4 / 5; overflow: hidden; }
.story-media img { width: 100%; height: 100%; object-fit: cover; }
.story-media::after { /* rectangular chaukhat frame */
  content: ""; position: absolute; inset: 14px; pointer-events: none;
  border: 1px solid rgba(232, 214, 176, .85);
  box-shadow: inset 0 0 0 5px transparent, inset 0 0 0 6px rgba(232, 214, 176, .45);
}
.story-copy { max-width: 540px; }
.story-copy .h2 { margin-bottom: 24px; }
.story-copy > p:not(.eyebrow) { color: var(--muted); margin-bottom: 14px; }
.story-points { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 40px; }
.story-points div { border-top: 1px solid var(--gold-soft); padding-top: 14px; }
.story-points dt { font: 400 19px/1.2 var(--serif); }
.story-points dd { font-size: 14px; color: var(--muted); margin-top: 4px; }

/* ---------- Exhibitions ---------- */
#exhibitions { padding-top: 0; }
.events { border-top: 1px solid var(--line); }
.event {
  display: grid; grid-template-columns: 140px 1fr auto; align-items: center; gap: 24px;
  padding: 26px 12px; border-bottom: 1px solid var(--line);
  transition: background-color .3s;
}
.event:hover { background: var(--paper); }
.event-date { font: 400 13px/1 var(--label); letter-spacing: .18em; text-transform: uppercase; color: var(--gold-text); display: flex; align-items: baseline; gap: 10px; }
.event-date span { font: 400 40px/1 var(--serif); letter-spacing: 0; color: var(--ink); }
.event-body h3 { font: 400 24px/1.2 var(--serif); }
.event-body p { color: var(--muted); font-size: 15px; }
.event-meta { font-size: 14px; color: var(--green); white-space: nowrap; }
.stockists { display: flex; align-items: baseline; gap: 28px; flex-wrap: wrap; margin-top: 32px; }
.stockists .eyebrow { margin: 0; }
.stockists a { font: 400 20px/1.2 var(--serif); border-bottom: 1px solid transparent; transition: border-color .25s; }
.stockists a:hover { border-color: currentColor; }

/* ---------- Custom ---------- */
.custom {
  background: var(--green-deep); color: var(--ivory);
  display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 110px); align-items: center;
  padding: clamp(56px, 7vw, 104px) max(var(--gutter), calc((100vw - var(--max)) / 2 + var(--gutter)));
}
.custom-media { aspect-ratio: 3 / 4; max-width: 460px; width: 100%; justify-self: center; }
.custom .eyebrow { color: var(--gold-soft); }
.custom .h2 em { color: var(--gold-soft); }
.custom-copy { max-width: 540px; }
.custom-copy .h2 { margin-bottom: 20px; }
.custom-copy > p:not(.eyebrow) { color: rgba(251, 248, 242, .78); }
.steps { margin: 32px 0 40px; border-top: 1px solid rgba(216, 196, 155, .3); }
.steps li { display: flex; gap: 20px; align-items: baseline; padding: 16px 0; border-bottom: 1px solid rgba(216, 196, 155, .3); }
.steps span { font: 400 12px/1 var(--label); letter-spacing: .16em; color: var(--gold-soft); }

/* ---------- Instagram ---------- */
.ig-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; }
.ig-grid a { aspect-ratio: 1; overflow: hidden; background: var(--paper); }
.ig-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease), opacity .3s; }
.ig-grid a:hover img { transform: scale(1.05); opacity: .88; }

/* ---------- Footer ---------- */
.footer { background: var(--green); color: var(--ivory); padding: clamp(56px, 6vw, 88px) var(--gutter) 24px; }
.footer > * { max-width: var(--max); margin-left: auto; margin-right: auto; }
.footer-top { display: grid; grid-template-columns: 1.1fr 1.4fr; gap: clamp(32px, 6vw, 96px); }
.footer-news .h3 { max-width: 22ch; margin-bottom: 24px; }
.news-form { display: flex; border-bottom: 1px solid rgba(251, 248, 242, .5); max-width: 420px; }
.news-form input { flex: 1; min-width: 0; background: transparent; border: 0; color: var(--ivory); font: inherit; padding: 12px 0; outline: none; }
.news-form input::placeholder { color: rgba(251, 248, 242, .6); }
.news-form button { font-size: 20px; padding: 0 4px; }
.news-note { font-size: 14px; color: var(--gold-soft); min-height: 22px; margin-top: 10px; }
.footer-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.footer-cols div { display: grid; align-content: start; gap: 10px; }
.footer-cols a { font-size: 15px; color: rgba(251, 248, 242, .82); width: fit-content; }
.footer-cols a:hover { color: var(--ivory); text-decoration: underline; text-underline-offset: 4px; }
.footer-title { font: 400 12px/1 var(--label); letter-spacing: .2em; text-transform: uppercase; color: var(--gold-soft); margin-bottom: 8px; }
.care { margin-top: 48px; padding-top: 24px; border-top: 1px solid rgba(251, 248, 242, .16); font-size: 14px; color: rgba(251, 248, 242, .72); }
.care strong { font-weight: 500; color: var(--ivory); }
.footer-mark { display: grid; justify-items: center; margin-top: clamp(48px, 7vw, 96px); color: var(--ivory); }
.footer-mark .logo-arch { width: clamp(40px, 5vw, 64px); height: auto; stroke: var(--gold-soft); stroke-width: 1; margin-bottom: 10px; }
.footer-mark span { font: 400 clamp(40px, 11.5vw, 176px)/.9 var(--label); letter-spacing: .14em; text-transform: uppercase; margin-right: -.14em; }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 40px; padding-top: 18px; border-top: 1px solid rgba(251, 248, 242, .16); font-size: 13px; color: rgba(251, 248, 242, .7); }

/* ---------- Drawers ---------- */
.scrim { position: fixed; inset: 0; z-index: 60; background: rgba(18, 26, 20, .38); opacity: 0; transition: opacity .35s var(--ease); }
.scrim.show { opacity: 1; }
.drawer {
  position: fixed; top: 0; bottom: 0; z-index: 70; width: min(420px, 100%);
  background: var(--ivory); display: flex; flex-direction: column;
  transition: transform .45s var(--ease), visibility .45s;
  visibility: hidden;
}
.drawer-right { right: 0; transform: translateX(100%); }
.drawer-left { left: 0; transform: translateX(-100%); }
.drawer.open { transform: none; visibility: visible; }
.drawer-head { display: flex; justify-content: space-between; align-items: center; padding: 18px 20px 18px 24px; border-bottom: 1px solid var(--line); }
.drawer-head .logo-word { color: var(--green); font-size: 18px; }
.drawer-nav { display: grid; padding: 12px 24px; }
.drawer-nav a { font: 400 26px/1.2 var(--serif); padding: 14px 0; border-bottom: 1px solid var(--line); }
.drawer-foot { margin-top: auto; padding: 24px; font-size: 15px; }

.cart-body { flex: 1; overflow-y: auto; padding: 8px 24px; }
.cart-empty { text-align: center; color: var(--muted); padding: 56px 12px; display: grid; gap: 18px; justify-items: center; }
.cart-empty p:first-child { font: 400 24px/1.2 var(--serif); color: var(--ink); }
.line-item { display: grid; grid-template-columns: 84px 1fr auto; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line); align-items: start; }
.line-item img { width: 84px; aspect-ratio: 4 / 5; object-fit: cover; background: var(--paper); }
.line-name { font: 400 19px/1.2 var(--serif); }
.line-meta { font-size: 13.5px; color: var(--muted); }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line); margin-top: 10px; }
.qty button { width: 30px; height: 30px; font-size: 16px; }
.qty span { min-width: 26px; text-align: center; font-size: 14px; }
.line-right { display: grid; justify-items: end; gap: 8px; font-size: 15px; }
.line-remove { font-size: 13px; color: var(--muted); text-decoration: underline; text-underline-offset: 3px; }
.cart-foot { padding: 20px 24px 24px; border-top: 1px solid var(--line); }
.cart-foot[hidden] { display: none; }
.cart-total { display: flex; justify-content: space-between; font-size: 17px; }
.cart-note { font-size: 13px; color: var(--muted); margin: 4px 0 16px; }

/* ---------- Search ---------- */
.search {
  position: fixed; inset: 0 0 auto; z-index: 70; background: var(--ivory);
  border-bottom: 1px solid var(--line);
  transform: translateY(-102%); visibility: hidden;
  transition: transform .45s var(--ease), visibility .45s;
  max-height: 100svh; overflow-y: auto;
}
.search.open { transform: none; visibility: visible; }
.search-inner { max-width: 960px; margin: 0 auto; padding: 24px var(--gutter) 36px; }
.search-bar { display: flex; align-items: center; gap: 12px; border-bottom: 1px solid var(--ink); padding-bottom: 8px; }
.search-bar > svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.3; flex: none; }
.search-bar input { flex: 1; min-width: 0; border: 0; background: transparent; font: 400 clamp(22px, 2.6vw, 30px)/1.3 var(--serif); outline: none; color: var(--ink); }
.search-suggest { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: 18px; font-size: 14px; color: var(--muted); }
.search-suggest button { border: 1px solid var(--line); border-radius: 16px; padding: 4px 14px; color: var(--ink); }
.search-suggest button:hover { border-color: var(--ink); }
.search-results { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 24px; }
.search-results a { display: grid; gap: 8px; font-size: 14px; }
.search-results img { aspect-ratio: 4 / 5; object-fit: cover; background: var(--paper); }
.search-results strong { font: 400 18px/1.2 var(--serif); }
.search-results p { grid-column: 1 / -1; color: var(--muted); }

/* ---------- Toast ---------- */
.toast {
  position: fixed; left: 50%; bottom: 24px; z-index: 90;
  transform: translate(-50%, 20px); opacity: 0; pointer-events: none;
  background: var(--green-deep); color: var(--ivory); padding: 12px 20px; font-size: 14px;
  transition: opacity .3s var(--ease), transform .3s var(--ease);
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ---------- Rounded rectangle text reveal ---------- */
.rr-line { display: block; }
.rr-in { position: relative; display: inline-block; }
.rr-b {
  position: absolute; inset: -.06em -.18em; border-radius: 6px;
  background: var(--rr, var(--green)); transform: scaleX(0); transform-origin: 0 50%;
  pointer-events: none;
}
.hero, .khass-band, .custom, .footer { --rr: var(--gold-soft); }
.reveal-img { overflow: hidden; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .nav-left .nav-link:not(:first-child), .hide-sm { display: none; }
  .grid { grid-template-columns: repeat(3, 1fr); }
  .cats { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 860px) {
  :root { --header-h: 64px; }
  .menu-toggle { display: grid; }
  .nav-left { display: none; }
  .header-inner { grid-template-columns: 1fr auto 1fr; }
  .header-inner > .menu-toggle { justify-self: start; margin-left: -8px; }
  .logo-word { font-size: 18px; }
  .logo-arch { width: 22px; height: 14px; margin-bottom: 3px; }
  .hero { grid-template-columns: 1fr; height: auto; max-height: none; min-height: 0; }
  .hero-left { height: 82svh; min-height: 520px; }
  .hero-right { aspect-ratio: 4 / 5; }
  .khass-band { grid-template-columns: 1fr; }
  .khass-band h2 { text-align: left; }
  .collection-head { grid-template-columns: 1fr; }
  .chips { justify-content: flex-start; }
  .story, .custom { grid-template-columns: 1fr; }
  .custom-media { max-width: 340px; }
  .footer-top { grid-template-columns: 1fr; }
  .ig-grid { grid-template-columns: repeat(3, 1fr); }
  .search-results { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .announce { font-size: 11.5px; }
  .hero-strip { font-size: 13px; }
  .cats { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; margin: 0 calc(var(--gutter) * -1); padding: 0 var(--gutter); }
  .cats::-webkit-scrollbar { display: none; }
  .cat { flex: 0 0 38%; scroll-snap-align: start; }
  .grid { grid-template-columns: repeat(2, 1fr); gap: 28px 12px; }
  .card-name { font-size: 18px; }
  .card-info { flex-direction: column; gap: 0; }
  .card-meta { font-size: 13px; }
  .quick-add { opacity: 1; transform: none; left: auto; right: 8px; bottom: 8px; width: 38px; height: 38px; border-radius: 50%; font-size: 0; letter-spacing: 0; }
  .quick-add::before { content: "+"; font: 300 24px/1 var(--sans); }
  .event { grid-template-columns: 1fr; gap: 6px; padding: 22px 4px; }
  .story-points { grid-template-columns: 1fr; gap: 14px; }
  .footer-cols { grid-template-columns: repeat(2, 1fr); }
  .section-head { flex-wrap: wrap; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  html { scroll-behavior: auto; }
}
