:root {
  --ink: #1c1612;
  --ink-soft: #4a4038;
  --cream: #f3ece3;
  --paper: #faf6f1;
  --white: #fffdfb;
  --clay: #8f3a32;
  --clay-deep: #6a241e;
  --gold: #9a7840;
  --gold-soft: #c6a56a;
  --olive: #243028;
  --line: rgba(28, 22, 18, 0.12);
  --line-light: rgba(243, 236, 227, 0.18);
  --shadow: 0 30px 70px rgba(28, 22, 18, 0.16);
  --header: 76px;
  --serif: "Noto Serif Bengali", "Times New Roman", serif;
  --latin: "Cormorant Garamond", "Times New Roman", serif;
  --sans: "Hind Siliguri", "Nirmala UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.02rem;
  line-height: 1.65;
}
img, svg { display: block; max-width: 100%; }
button, input, textarea { font: inherit; color: inherit; }
a { color: inherit; }
button { cursor: pointer; }
::selection { background: var(--clay); color: var(--paper); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

.sr {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}
.skip {
  position: absolute;
  left: 1rem;
  top: -4rem;
  background: var(--ink);
  color: var(--cream);
  padding: 0.6rem 1rem;
  z-index: 80;
}
.skip:focus { top: 1rem; }

.progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 2px;
  width: 100%;
  transform: scaleX(0);
  transform-origin: 0 50%;
  background: var(--gold-soft);
  z-index: 70;
  pointer-events: none;
}

.mark { width: 36px; height: 36px; }
.mark path { fill: none; stroke: currentColor; stroke-linecap: round; }
.mark path:nth-of-type(1),
.mark path:nth-of-type(2) { stroke-width: 2.4; }
.mark-soft { stroke-width: 1.3; opacity: 0.55; }

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  color: inherit;
}
.logo-en {
  font-family: var(--latin);
  font-style: italic;
  font-weight: 500;
  font-size: 1.7rem;
  letter-spacing: 0.01em;
  line-height: 1;
  display: block;
}
.logo-bn {
  display: block;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  color: var(--gold);
  margin-top: 0.12rem;
}

.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 40;
  color: var(--cream);
  transition: background 0.35s ease, color 0.35s ease, box-shadow 0.35s ease;
}
.header.is-solid {
  background: rgba(250, 246, 241, 0.92);
  color: var(--ink);
  backdrop-filter: blur(16px);
  box-shadow: 0 1px 0 var(--line);
}
.header-bar {
  position: relative;
  z-index: 2;
  height: var(--header);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0 4vw;
}
.header.is-open .header-bar { background: var(--paper); }
.nav { display: flex; gap: 1.5rem; }
.nav a {
  text-decoration: none;
  font-size: 0.95rem;
  position: relative;
}
.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 100%;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s ease;
}
.nav a:hover::after { transform: scaleX(1); }

.header-actions { display: flex; align-items: center; gap: 0.4rem; }
.bag-btn, .menu-btn, .icon-x, .add, .filters button, .tile {
  background: none;
  border: 0;
}
.bag-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: inherit;
  padding: 0.4rem 0.2rem;
}
.bag-btn svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
}
.bag-btn em {
  font-style: normal;
  min-width: 1.3rem;
  height: 1.3rem;
  border-radius: 99px;
  background: var(--clay);
  color: var(--paper);
  font-size: 0.72rem;
  display: grid;
  place-items: center;
  padding: 0 0.3rem;
}
.bag-btn em.pop { animation: pop 0.35s ease; }
.menu-btn {
  display: none;
  width: 42px;
  height: 42px;
  position: relative;
  color: inherit;
}
.menu-btn span {
  position: absolute;
  left: 10px;
  right: 10px;
  height: 1.5px;
  background: currentColor;
  transition: 0.3s ease;
}
.menu-btn span:first-child { top: 16px; }
.menu-btn span:nth-child(2) { top: 24px; }
.menu-btn.is-open span:first-child { top: 20px; transform: rotate(40deg); }
.menu-btn.is-open span:nth-child(2) { top: 20px; transform: rotate(-40deg); }

.hero {
  min-height: 100svh;
  background:
    radial-gradient(900px 480px at 85% 20%, rgba(198, 165, 106, 0.16), transparent 60%),
    linear-gradient(160deg, #161210 0%, #243028 58%, #1c1612 100%);
  color: var(--cream);
  padding: calc(var(--header) + 3rem) 4vw 2.5rem;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  grid-template-rows: 1fr auto;
  gap: 2rem 4vw;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: "bhongi";
  position: absolute;
  right: -2vw;
  bottom: 8%;
  font-family: var(--latin);
  font-style: italic;
  font-size: 18vw;
  line-height: 0.8;
  color: rgba(243, 236, 227, 0.04);
  pointer-events: none;
}
.eyebrow, .kicker {
  letter-spacing: 0.12em;
  font-size: 0.78rem;
  color: var(--gold-soft);
  margin: 0 0 1rem;
}
.eyebrow span { margin-right: 0.8rem; }
.hero h1, .band h2, .craft h2, .note h2, .story h2 {
  font-family: var(--serif);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.12;
  margin: 0;
}
.hero h1 { font-size: clamp(3rem, 6.4vw, 6.1rem); max-width: 9ch; }
.lede { max-width: 38rem; font-size: 1.12rem; color: rgba(243, 236, 227, 0.82); }
.hero-cta { display: flex; flex-wrap: wrap; gap: 0.8rem; margin-top: 1.6rem; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  border: 1px solid transparent;
  min-height: 48px;
  padding: 0.7rem 1.3rem;
  border-radius: 999px;
  transition: transform 0.25s ease, background 0.25s ease, color 0.25s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-light { background: var(--cream); color: var(--ink); }
.btn-ghost { border-color: rgba(243, 236, 227, 0.4); color: var(--cream); }
.btn-ghost:hover { background: rgba(243, 236, 227, 0.08); }
.btn-dark { background: var(--ink); color: var(--cream); border: 0; }
.btn-block { width: 100%; }

.hero-stage {
  position: relative;
  align-self: end;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  grid-template-rows: auto 1fr;
  gap: 0.9rem 0.85rem;
  min-height: 460px;
}
.frame {
  position: relative;
  border-radius: 18px;
  box-shadow: var(--shadow);
  overflow: hidden;
  min-height: 0;
}
.frame span {
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  letter-spacing: 0.08em;
  font-size: 0.85rem;
}
.frame-a {
  grid-column: 1;
  grid-row: 1 / span 2;
  border-radius: 18px 18px 72px 18px;
}
.frame-b {
  grid-column: 2;
  grid-row: 2;
  border-radius: 18px 18px 18px 72px;
}
.seal {
  grid-column: 2;
  grid-row: 1;
  justify-self: end;
  align-self: start;
  position: relative;
  width: 92px;
  height: 92px;
  border: 1px solid var(--gold-soft);
  border-radius: 50%;
  display: grid;
  place-items: center;
  text-align: center;
  transform: rotate(8deg);
  animation: drift 7s ease-in-out infinite;
}
.seal strong, .seal em {
  font-family: var(--serif);
  font-style: normal;
  font-weight: 600;
  line-height: 1.1;
}
.seal em { font-family: var(--latin); font-style: italic; color: var(--gold-soft); }

.hero-facts {
  position: relative;
  z-index: 2;
  grid-column: 1 / -1;
  margin: 0.4rem 0 0;
  display: grid;
  grid-template-columns: repeat(3, max-content);
  gap: 2.5rem;
  border-top: 1px solid var(--line-light);
  padding-top: 1.3rem;
}
.hero-facts dt { font-size: 0.75rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold-soft); }
.hero-facts dd { margin: 0.2rem 0 0; font-family: var(--serif); font-size: 1.45rem; }

.swatch { position: relative; overflow: hidden; }
.swatch::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 35%, rgba(255, 255, 255, 0.28) 50%, transparent 65%);
  transform: translateX(-130%);
}
.product:hover .swatch::after,
.tile:hover .swatch::after { transform: translateX(130%); transition: transform 0.8s ease; }

.swatch-jamdani {
  background-color: #f4ecdc;
  background-image:
    radial-gradient(circle at 20% 30%, #9a7840 1.3px, transparent 1.5px),
    radial-gradient(circle at 70% 65%, #8f3a32 1.1px, transparent 1.4px);
  background-size: 26px 26px, 34px 34px;
  color: var(--ink);
}
.swatch-silk {
  background:
    radial-gradient(120% 80% at 10% 10%, rgba(255, 250, 240, 0.35), transparent 40%),
    linear-gradient(145deg, #6a241e, #a24b45 45%, #3d1816 80%);
  color: var(--cream);
}
.swatch-kantha {
  background-color: #1e3358;
  background-image: repeating-linear-gradient(90deg, transparent, transparent 10px, rgba(243, 236, 227, 0.35) 10px, rgba(243, 236, 227, 0.35) 12px),
    repeating-linear-gradient(0deg, transparent, transparent 14px, rgba(198, 165, 106, 0.45) 14px, rgba(198, 165, 106, 0.45) 16px);
  color: var(--cream);
}
.swatch-khadi {
  background-color: #e7dccb;
  background-image: repeating-linear-gradient(90deg, rgba(28, 22, 18, 0.05) 0 1px, transparent 1px 7px);
  color: var(--ink);
}
.swatch-wool {
  background-color: #211c1a;
  background-image: repeating-linear-gradient(135deg, rgba(243, 236, 227, 0.08) 0 2px, transparent 2px 8px);
  color: var(--cream);
}
.swatch-clay {
  background:
    radial-gradient(circle at 50% 58%, #c46a45 0 34%, transparent 35%),
    radial-gradient(circle at 50% 42%, #e7b598 0 16%, transparent 17%),
    linear-gradient(#f0d2bf, #d7a184);
  color: var(--ink);
}
.swatch-silver {
  background:
    radial-gradient(circle at 30% 40%, #f7f4ef 0 18%, transparent 19%),
    radial-gradient(circle at 68% 62%, transparent 0 16%, #d9d3cb 17% 20%, transparent 21%),
    linear-gradient(160deg, #8d9096, #eceae6 40%, #5c6168);
  color: var(--ink);
}
.swatch-olive {
  background-color: #3d4a38;
  background-image: repeating-linear-gradient(45deg, rgba(243, 236, 227, 0.16) 0 6px, transparent 6px 12px),
    repeating-linear-gradient(-45deg, rgba(28, 22, 18, 0.18) 0 6px, transparent 6px 12px);
  color: var(--cream);
}

.ticker {
  background: var(--clay);
  color: var(--cream);
  overflow: hidden;
  padding: 0.85rem 0;
}
.ticker-track {
  display: flex;
  width: max-content;
  animation: ticker 28s linear infinite;
}
.ticker p {
  margin: 0;
  font-family: var(--serif);
  font-size: 1.05rem;
  letter-spacing: 0.08em;
  white-space: nowrap;
}

.band { padding: 6.5rem 4vw; }
.section-head { max-width: 760px; margin-bottom: 2.2rem; }
.section-head h2, .craft h2, .note h2 { font-size: clamp(2.1rem, 4vw, 3.6rem); }
.kicker { color: var(--gold); }
.section-head p:last-child { color: var(--ink-soft); margin-bottom: 0; }

.mosaic {
  display: grid;
  grid-template-columns: 1.35fr 1fr 1fr;
  grid-template-rows: 250px 250px;
  gap: 0.9rem;
}
.tile {
  position: relative;
  padding: 0;
  text-align: left;
  border-radius: 18px;
  overflow: hidden;
  color: var(--cream);
  min-height: 220px;
}
.tile-women { grid-row: 1 / span 2; }
.tile .swatch { position: absolute; inset: 0; transition: transform 0.7s ease; }
.tile:hover .swatch { transform: scale(1.06); }
.tile-copy {
  position: absolute;
  left: 1.1rem;
  right: 1.1rem;
  bottom: 1.1rem;
  z-index: 1;
  display: grid;
}
.tile-copy small { letter-spacing: 0.16em; opacity: 0.8; }
.tile-copy strong { font-family: var(--serif); font-size: 2rem; font-weight: 600; }
.tile-copy em { font-style: normal; opacity: 0.85; }
.tile-women .tile-copy strong { font-size: 3rem; }

.filters { display: flex; flex-wrap: wrap; gap: 0.45rem; margin-top: 1.2rem; }
.filters button {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.4rem 0.9rem;
  background: transparent;
}
.filters button.is-on { background: var(--ink); color: var(--cream); border-color: var(--ink); }

.grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.1rem 0.9rem;
}
.product {
  background: var(--white);
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid transparent;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}
.product:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.product .swatch { height: 250px; display: flex; align-items: flex-end; justify-content: space-between; padding: 1rem; }
.product .swatch b {
  font-family: var(--serif);
  font-size: 1.7rem;
  font-weight: 600;
}
.product .swatch i {
  font-style: normal;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border: 1px solid currentColor;
  border-radius: 99px;
  padding: 0.15rem 0.5rem;
  align-self: flex-start;
}
.product-body { padding: 0.95rem 1rem 1.1rem; }
.cat, .note { margin: 0; color: var(--ink-soft); }
.cat { font-size: 0.75rem; letter-spacing: 0.14em; text-transform: uppercase; }
.product h3 { font-family: var(--serif); font-size: 1.35rem; margin: 0.25rem 0; font-weight: 600; }
.note { font-size: 0.92rem; }
.product-row { display: flex; align-items: center; justify-content: space-between; gap: 0.5rem; margin-top: 0.8rem; }
.price { font-family: var(--serif); font-size: 1.2rem; }
.add {
  border: 1px solid var(--ink);
  border-radius: 999px;
  padding: 0.4rem 0.8rem;
  background: var(--ink);
  color: var(--cream);
  transition: 0.25s ease;
}
.add:hover, .add.is-in { background: var(--clay); border-color: var(--clay); }
.empty-shop { text-align: center; color: var(--ink-soft); }

.craft {
  background: var(--olive);
  color: var(--cream);
  padding: 6.5rem 4vw;
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 3rem;
}
.craft .kicker { color: var(--gold-soft); }
.craft-intro p:last-child { color: rgba(243, 236, 227, 0.78); }
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; }
.steps li {
  border-top: 1px solid var(--line-light);
  padding-top: 1rem;
}
.steps span { color: var(--gold-soft); letter-spacing: 0.14em; font-size: 0.8rem; }
.steps h3 { font-family: var(--serif); font-size: 1.8rem; margin: 0.3rem 0; font-weight: 600; }
.steps p { margin: 0; color: rgba(243, 236, 227, 0.78); }

.story {
  padding: 6.5rem 4vw;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 1.2rem;
}
.story-panel, .story-aside, .note-card, .store {
  background: var(--white);
  border-radius: 20px;
}
.story-panel { padding: 2.4rem; }
.story blockquote {
  margin: 0 0 1rem;
  font-family: var(--serif);
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  line-height: 1.25;
  font-weight: 600;
}
.text-link { color: var(--clay-deep); font-weight: 600; }
.story-aside {
  background: var(--ink);
  color: var(--cream);
  padding: 2rem;
}
.aside-en {
  font-family: var(--latin);
  font-style: italic;
  font-size: 2rem;
  margin: 0;
  color: var(--gold-soft);
}
.aside-bn { font-family: var(--serif); font-size: 1.35rem; }
.story-aside ul { list-style: none; margin: 1.5rem 0 0; padding: 0; }
.story-aside li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  border-top: 1px solid var(--line-light);
  padding: 0.8rem 0;
}
.story-aside span { color: rgba(243, 236, 227, 0.65); }

.visit { padding: 2rem 4vw 6rem; }
.stores { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.9rem; }
.store { padding: 1.5rem; border: 1px solid var(--line); min-height: 220px; display: flex; flex-direction: column; }
.store p { margin: 0; letter-spacing: 0.16em; text-transform: uppercase; font-size: 0.75rem; color: var(--gold); }
.store h3 { font-family: var(--serif); font-size: 2rem; margin: 0.4rem 0; }
.store address { font-style: normal; color: var(--ink-soft); flex: 1; }
.store span { font-size: 0.92rem; }

.note { padding: 0 4vw 5rem; }
.note-card {
  background: var(--cream);
  padding: 2rem;
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  align-items: end;
}
.note-form { display: flex; flex-wrap: wrap; gap: 0.6rem; min-width: min(100%, 420px); align-items: center; }
.note-form input, .checkout input, .checkout textarea {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.85rem 1rem;
  min-width: 220px;
  flex: 1;
}
.checkout textarea { border-radius: 16px; min-height: 80px; resize: vertical; width: 100%; }
.form-msg { flex-basis: 100%; margin: 0; min-height: 1.2em; color: var(--clay-deep); }

.footer {
  background: var(--ink);
  color: var(--cream);
  padding: 3.5rem 4vw 1.5rem;
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 1.5rem 2rem;
}
.footer a { display: block; text-decoration: none; margin: 0.25rem 0; color: rgba(243, 236, 227, 0.82); }
.footer a:hover { color: var(--cream); }
.footer-brand p, .foot-quiet { color: rgba(243, 236, 227, 0.65); }
.foot-label { letter-spacing: 0.16em; text-transform: uppercase; font-size: 0.72rem; color: var(--gold-soft); }
.legal { grid-column: 1 / -1; border-top: 1px solid var(--line-light); margin: 0.5rem 0 0; padding-top: 1rem; color: rgba(243, 236, 227, 0.55); font-size: 0.9rem; }

.drawer { position: fixed; inset: 0; z-index: 60; pointer-events: none; }
.drawer.is-open { pointer-events: auto; }
.drawer-backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(28, 22, 18, 0.45);
  opacity: 0;
  transition: opacity 0.35s ease;
}
.drawer.is-open .drawer-backdrop { opacity: 1; }
.drawer-panel {
  position: absolute;
  top: 0;
  right: 0;
  height: 100%;
  width: min(420px, 100%);
  background: var(--paper);
  transform: translateX(104%);
  transition: transform 0.45s cubic-bezier(0.2, 0.7, 0.2, 1);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: var(--shadow);
}
.drawer.is-open .drawer-panel { transform: none; }
.drawer-head, .drawer-foot { padding: 1.1rem 1.2rem; }
.drawer-head {
  flex: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--line);
}
.drawer-head h2 { font-family: var(--serif); margin: 0; font-size: 1.6rem; }
.icon-x { border: 0; background: none; font-size: 1.8rem; line-height: 1; padding: 0.2rem 0.4rem; }
.drawer-items {
  flex: 1 1 auto;
  min-height: 7.5rem;
  max-height: 36vh;
  overflow: auto;
  padding: 0.2rem 1.2rem;
}
.bag-row {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr) auto;
  gap: 0.8rem;
  align-items: center;
  min-height: 88px;
  padding: 0.9rem 0;
  border-bottom: 1px solid var(--line);
}
.bag-swatch { width: 64px; height: 72px; border-radius: 10px; }
.bag-row h3 { margin: 0; font-size: 1rem; font-family: var(--serif); }
.bag-row p { margin: 0.15rem 0 0; color: var(--ink-soft); font-size: 0.9rem; }
.qty { display: inline-flex; align-items: center; gap: 0.35rem; margin-top: 0.4rem; }
.qty button {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--white);
}
.remove {
  border: 0;
  background: none;
  color: var(--ink-soft);
  text-decoration: underline;
  padding: 0;
}
.drawer-empty { padding: 2rem 1.2rem; display: grid; gap: 1rem; justify-items: start; }
.drawer-empty[hidden],
.drawer-foot[hidden] { display: none; }
.drawer-foot {
  flex: 1 1 auto;
  min-height: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  border-top: 1px solid var(--line);
}
.drawer-scroll {
  flex: 1 1 auto;
  min-height: 0;
  overflow: auto;
}
.drawer-foot .btn-block { flex: none; }
.drawer-scroll > p:first-child { display: flex; justify-content: space-between; font-family: var(--serif); font-size: 1.3rem; margin: 0 0 0.3rem; }
.ship { margin: 0 0 0.8rem; color: var(--ink-soft); font-size: 0.88rem; }
.checkout { display: grid; gap: 0.55rem; }
.checkout label { display: grid; gap: 0.25rem; font-size: 0.85rem; }
.checkout input, .checkout textarea { width: 100%; min-width: 0; border-radius: 12px; }

.js .preloader {
  position: fixed;
  inset: 0;
  z-index: 90;
  background: #1c1612;
  color: var(--cream);
  display: grid;
  place-items: center;
  transition: transform 0.8s cubic-bezier(0.76, 0, 0.2, 1);
}
.preloader { display: none; }
.preloader.is-done { transform: translateY(-100%); }
.preloader-inner { text-align: center; }
.preloader .mark { width: 72px; height: 72px; margin: 0 auto; }
.preloader-word {
  font-family: var(--latin);
  font-style: italic;
  font-size: 2.4rem;
  margin: 0.4rem 0 0;
}
.preloader-bn { letter-spacing: 0.28em; color: var(--gold-soft); margin: 0; }
.mark-draw .draw {
  stroke-dasharray: 180;
  stroke-dashoffset: 180;
  animation: draw 1.1s ease forwards;
}
.draw-late { animation-delay: 0.25s; }
.draw-soft { animation-delay: 0.15s; stroke-width: 1.3; opacity: 0.55; }

.js .rise { animation: rise 0.9s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
.d1 { animation-delay: 0.12s; }
.d2 { animation-delay: 0.22s; }
.d3 { animation-delay: 0.32s; }
.d4 { animation-delay: 0.42s; }
.d5 { animation-delay: 0.52s; }
.js .reveal { opacity: 0; transform: translateY(28px); animation: rise 0.8s ease both; animation-play-state: paused; }
.js .reveal.in { animation-play-state: running; }

body.locked { overflow: hidden; }

@keyframes rise {
  from { opacity: 0; transform: translateY(28px); }
  to { opacity: 1; transform: none; }
}
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes ticker { to { transform: translateX(-50%); } }
@keyframes drift {
  0%, 100% { transform: rotate(8deg) translateY(0); }
  50% { transform: rotate(8deg) translateY(-8px); }
}
@keyframes pop {
  0% { transform: scale(1); }
  40% { transform: scale(1.25); }
  100% { transform: scale(1); }
}

@media (max-width: 980px) {
  .nav {
    position: fixed;
    inset: 0;
    background: var(--paper);
    color: var(--ink);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 1.4rem;
    font-family: var(--serif);
    font-size: 2rem;
    transform: translateY(-110%);
    visibility: hidden;
    transition: transform 0.45s ease, visibility 0.45s ease;
  }
  .nav.is-open { transform: none; visibility: visible; }
  .menu-btn { display: inline-block; }
  .header.is-open { color: var(--ink); }
  .hero, .mosaic, .grid, .craft, .story, .stores, .footer { grid-template-columns: 1fr; }
  .hero { grid-template-rows: auto; min-height: auto; padding-top: calc(var(--header) + 2rem); }
  .hero-stage {
    min-height: 0;
    margin-top: 0.4rem;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
  }
  .frame-a,
  .frame-b {
    grid-column: auto;
    grid-row: auto;
    height: 230px;
    border-radius: 16px;
  }
  .seal { width: 76px; height: 76px; }
  .mosaic { grid-template-rows: none; }
  .tile-women { grid-row: auto; min-height: 320px; }
  .grid { grid-template-columns: 1fr 1fr; }
  .note-card { flex-direction: column; align-items: stretch; }
  .hero-facts { grid-template-columns: 1fr; gap: 0.8rem; }
}

@media (max-width: 640px) {
  .grid { grid-template-columns: 1fr; }
  .bag-btn span { display: none; }
  .hero h1 { font-size: 2.7rem; }
  .frame-a,
  .frame-b { height: 168px; }
  .seal { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
  .js .reveal, .js .rise { opacity: 1; transform: none; }
  .preloader { display: none !important; }
}
