/* Dark atelier — whole-word Persian typography only (no letter-split) */
:root {
  --bg: #0a0a0b;
  --bg-2: #111114;
  --bg-3: #18181c;
  --ink: #ece8e1;
  --muted: #8b8793;
  --line: rgba(236, 232, 225, 0.1);
  --accent: #c4a574;
  --accent-2: #7a9e9a;
  --danger-soft: rgba(196, 165, 116, 0.15);
  --font: "Vazirmatn", Tahoma, sans-serif;
  --font-display: "Amiri", "Times New Roman", serif;
  --shell: min(1180px, calc(100% - 2.5rem));
  --narrow: min(36rem, calc(100% - 2.5rem));
  --ease: cubic-bezier(.22, 1, .36, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body.theme-dark {
  margin: 0;
  color: var(--ink);
  background: var(--bg);
  font-family: var(--font);
  font-weight: 400;
  line-height: 1.9;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
a:hover { color: var(--accent); }

.skip {
  position: absolute;
  inset-inline-start: 1rem;
  top: -3rem;
  z-index: 80;
  background: var(--ink);
  color: var(--bg);
  padding: .5rem .75rem;
}
.skip:focus { top: 1rem; }

.shell { width: var(--shell); margin-inline: auto; }
.narrow { width: var(--narrow); margin-inline: auto; }

/* boot wipe */
.boot {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: #000;
  transform-origin: bottom;
  animation: bootOut 1.05s var(--ease) .15s forwards;
  pointer-events: none;
}
@keyframes bootOut {
  to { transform: scaleY(0); opacity: .4; }
}

/* header */
.top {
  position: fixed;
  inset-inline: 0;
  top: 0;
  z-index: 50;
  background: transparent;
  transition: background .35s, border-color .35s, backdrop-filter .35s;
  border-bottom: 1px solid transparent;
}
.top.is-on {
  background: rgba(10, 10, 11, .82);
  backdrop-filter: blur(14px);
  border-bottom-color: var(--line);
}
.top-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 4rem;
  gap: 1rem;
}
.brand {
  text-decoration: none;
  font-weight: 600;
  font-size: 1.05rem;
  letter-spacing: -0.01em;
}
.nav {
  display: flex;
  gap: .2rem 1.35rem;
  font-size: .88rem;
  font-weight: 400;
}
.nav a {
  text-decoration: none;
  color: var(--muted);
  transition: color .25s;
}
.nav a:hover { color: var(--ink); }
.nav-toggle {
  display: none;
  width: 2.4rem;
  height: 2.4rem;
  border: 0;
  background: transparent;
  padding: 0;
}
.nav-toggle span {
  display: block;
  height: 1px;
  margin: .45rem .4rem;
  background: var(--ink);
  transition: transform .35s var(--ease), opacity .25s;
}

/* hero */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: grid;
  align-items: end;
  overflow: hidden;
  isolation: isolate;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  transform: scale(1.08);
  filter: brightness(.55) saturate(.85) contrast(1.05);
  animation: heroIn 2.2s var(--ease) both;
}
.hero-scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(105deg, rgba(10,10,11,.88) 0%, rgba(10,10,11,.35) 48%, rgba(10,10,11,.55) 100%),
    linear-gradient(to top, rgba(10,10,11,.95) 0%, transparent 45%);
}
.hero-body {
  position: relative;
  z-index: 2;
  padding: 0 0 4.5rem;
  animation: rise 1.1s var(--ease) .35s both;
}
.hero-name {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 7.5vw, 5.2rem);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: 0;
}
.hero h1 {
  margin: .55rem 0 0;
  font-size: clamp(1.15rem, 2.2vw, 1.45rem);
  font-weight: 400;
  color: rgba(236,232,225,.78);
}
.hero-place {
  margin: .45rem 0 0;
  color: var(--accent);
  font-size: .92rem;
  letter-spacing: .28em;
  font-weight: 300;
}
.hero-go {
  display: inline-block;
  text-decoration: none;
  color: var(--ink);
  border: 1px solid rgba(236,232,225,.28);
  padding: .65rem 1.35rem;
  font-size: .9rem;
  transition: background .3s, border-color .3s, color .3s;
  background: transparent;
  cursor: pointer;
  font-family: inherit;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem 1rem;
  margin-top: 1.75rem;
  align-items: center;
}
.hero-gift {
  appearance: none;
  border: 1px solid rgba(196,165,116,.45);
  background: rgba(196,165,116,.12);
  color: var(--accent);
  padding: .65rem 1.2rem;
  font-size: .9rem;
  font-family: inherit;
  cursor: pointer;
  transition: background .3s, border-color .3s, color .3s;
}
.hero-gift:hover {
  background: rgba(196,165,116,.22);
  border-color: var(--accent);
  color: #f0e6d2;
}
.hero-go:hover {
  background: var(--ink);
  color: var(--bg);
  border-color: var(--ink);
}

@keyframes heroIn {
  from { transform: scale(1.16); opacity: .4; }
  to { transform: scale(1.08); opacity: 1; }
}
@keyframes rise {
  from { opacity: 0; transform: translateY(28px); }
  to { opacity: 1; transform: none; }
}

/* blocks */
.block { padding: 5rem 0; }
.block-title {
  margin: 0 0 2rem;
  font-size: clamp(1.5rem, 2.8vw, 2rem);
  font-weight: 600;
  letter-spacing: -0.02em;
}
.about {
  border-bottom: 1px solid var(--line);
  padding-top: 4rem;
  padding-bottom: 3.5rem;
}
.lead {
  margin: 0;
  font-size: clamp(1.2rem, 2.3vw, 1.65rem);
  font-weight: 400;
  line-height: 1.85;
  color: rgba(236,232,225,.88);
}

/* gallery — neat equal tiles, side enter via keyframes (forced, visible) */
.grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.15rem .9rem;
}
.cell {
  text-decoration: none;
  color: inherit;
  opacity: 0;
}
.cell.is-in.from-start {
  animation: cellInStart .85s cubic-bezier(.22, 1, .36, 1) both;
  animation-delay: calc((var(--i, 0) % 4) * 70ms);
}
.cell.is-in.from-end {
  animation: cellInEnd .85s cubic-bezier(.22, 1, .36, 1) both;
  animation-delay: calc((var(--i, 0) % 4) * 70ms);
}
@keyframes cellInStart {
  from { opacity: 0; transform: translate3d(100px, 0, 0); }
  to { opacity: 1; transform: translate3d(0, 0, 0); }
}
@keyframes cellInEnd {
  from { opacity: 0; transform: translate3d(-100px, 0, 0); }
  to { opacity: 1; transform: translate3d(0, 0, 0); }
}
.cell-media {
  position: relative;
  display: block;
  overflow: hidden;
  background: var(--bg-3);
  aspect-ratio: 3 / 4;
  border: 1px solid var(--line);
}
.cell-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform .7s var(--ease), filter .45s ease;
  filter: brightness(.93) saturate(.92);
}
.cell:hover .cell-media img {
  transform: scale(1.04);
  filter: brightness(1.02) saturate(1);
}
.cell-cap {
  display: block;
  padding: .55rem 0 .1rem;
}
.cell-title {
  display: block;
  font-size: .82rem;
  font-weight: 500;
  color: var(--muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: color .3s;
}
.cell:hover .cell-title { color: var(--ink); }
.count {
  position: absolute;
  top: .5rem;
  inset-inline-start: .5rem;
  font-size: .65rem;
  letter-spacing: .06em;
  color: var(--ink);
  background: rgba(10,10,11,.7);
  border: 1px solid rgba(236,232,225,.12);
  padding: .2rem .4rem;
}

/* exhibitions */
.shows {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}
.show {
  display: block;
  text-decoration: none;
  color: inherit;
}
.show img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  background: var(--bg-3);
  filter: brightness(.9);
  transition: filter .45s, transform .8s var(--ease);
}
.show:hover img {
  filter: brightness(1);
  transform: scale(1.01);
}
.show span {
  display: block;
  margin-top: .75rem;
  font-size: 1.05rem;
  font-weight: 500;
}

.poem-box { margin-bottom: 1.25rem; }
.poem-name {
  margin: 0 0 .75rem;
  font-size: clamp(1.5rem, 2.8vw, 2rem);
  font-weight: 600;
}
.poem-box p { margin: .15rem 0; color: var(--muted); }
.quiet { color: var(--muted); margin: 0; }
.text-link {
  color: var(--accent);
  text-decoration: none;
  border-bottom: 1px solid rgba(196,165,116,.35);
}
.text-link:hover { border-bottom-color: var(--accent); color: var(--accent); }

.foot {
  border-top: 1px solid var(--line);
  padding: 1.75rem 0 2.4rem;
  color: var(--muted);
  font-size: .86rem;
}
.foot-inner {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

/* work page */
.work-page { padding: 5rem 0 3.5rem; }
.work-frame {
  width: min(1360px, calc(100% - 1.5rem));
  margin-inline: auto;
  display: grid;
  grid-template-columns: 1.5fr .9fr;
  gap: 1.75rem;
  align-items: start;
}
.viewer {
  background: #050506;
  min-height: 70vh;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
}
.stage {
  position: relative;
  flex: 1;
  min-height: 66vh;
  overflow: hidden;
}
.stage-track {
  display: flex;
  height: 100%;
  min-height: 66vh;
  transition: transform .55s cubic-bezier(.22, 1, .36, 1);
  will-change: transform;
}
.stage .slide {
  position: relative;
  flex: 0 0 100%;
  width: 100%;
  display: grid;
  place-items: center;
  padding: 1.25rem;
  margin: 0;
}
.stage img {
  max-height: 76vh;
  max-width: 100%;
  width: auto;
  object-fit: contain;
}
.slide-meta {
  margin: 0;
  padding: .55rem;
  text-align: center;
  color: var(--muted);
  font-size: .78rem;
  letter-spacing: .1em;
  border-top: 1px solid var(--line);
}
.work-side h1 {
  margin: .2rem 0 1rem;
  font-size: clamp(1.55rem, 2.6vw, 2.1rem);
  font-weight: 600;
  line-height: 1.35;
}
.crumb { margin: 0 0 .4rem; color: var(--muted); font-size: .86rem; }
.crumb a { text-decoration: none; color: inherit; }
.crumb a:hover { color: var(--accent); }
.caption p { margin: 0 0 .45rem; color: rgba(236,232,225,.82); }
.caption .tag { color: var(--accent-2); }
.work-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.4rem;
  margin-top: 1.5rem;
}

.nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  width: 2.6rem;
  height: 2.6rem;
  border: 1px solid rgba(236,232,225,.2);
  background: rgba(10,10,11,.55);
  cursor: pointer;
  backdrop-filter: blur(6px);
}
.nav-btn::before {
  content: "";
  display: block;
  width: .5rem;
  height: .5rem;
  margin: auto;
  border-inline-end: 1.5px solid var(--ink);
  border-bottom: 1.5px solid var(--ink);
}
.nav-btn.prev { inset-inline-start: .7rem; }
.nav-btn.prev::before { transform: rotate(-45deg); margin-inline-start: .3rem; }
.nav-btn.next { inset-inline-end: .7rem; }
.nav-btn.next::before { transform: rotate(135deg); margin-inline-end: .3rem; }
.nav-btn:hover { background: rgba(236,232,225,.12); }

/* lightbox */
.lightbox[hidden] { display: none !important; }
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 70;
  display: grid;
  grid-template-columns: 1fr min(380px, 38vw);
  background: rgba(5,5,6,.94);
  animation: lbFade .35s ease both;
}
.lb-dim { position: absolute; inset: 0; }
.lb-x {
  position: absolute;
  top: 1rem;
  inset-inline-end: 1rem;
  z-index: 5;
  width: 2.5rem;
  height: 2.5rem;
  border: 0;
  background: transparent;
  cursor: pointer;
}
.lb-x::before,
.lb-x::after {
  content: "";
  position: absolute;
  inset: 50% auto auto 50%;
  width: 1.1rem;
  height: 1px;
  background: var(--ink);
}
.lb-x::before { transform: translate(-50%,-50%) rotate(45deg); }
.lb-x::after { transform: translate(-50%,-50%) rotate(-45deg); }
.lb-view {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  padding: 3rem 2rem;
  min-height: 0;
}
.lb-window {
  position: relative;
  width: min(100%, 980px);
  height: min(82vh, 900px);
  overflow: hidden;
}
.lb-track {
  display: flex;
  height: 100%;
  transition: transform .55s cubic-bezier(.22, 1, .36, 1);
  will-change: transform;
}
.lb-track .lb-slide {
  flex: 0 0 100%;
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  margin: 0;
}
.lb-track img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}
.nav-btn[hidden] { display: none !important; }
.lb-info {
  position: relative;
  z-index: 2;
  background: var(--bg-2);
  border-inline-start: 1px solid var(--line);
  padding: 4.5rem 1.4rem 1.5rem;
  overflow: auto;
}
.lb-info h2 {
  margin: 0 0 .35rem;
  font-size: 1.35rem;
  font-weight: 600;
  line-height: 1.4;
}
.lb-n {
  margin: 0 0 1rem;
  color: var(--muted);
  font-size: .78rem;
  letter-spacing: .08em;
}

@keyframes lbFade {
  from { opacity: 0; }
  to { opacity: 1; }
}

@media (max-width: 980px) {
  .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .work-frame { grid-template-columns: 1fr; }
  .lightbox { grid-template-columns: 1fr; grid-template-rows: 1fr auto; }
  .lb-info {
    border-inline-start: 0;
    border-top: 1px solid var(--line);
    max-height: 34vh;
    padding-top: 1.25rem;
  }
  .shows { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .85rem .65rem; }
  .nav-toggle { display: block; }
  .nav {
    position: fixed;
    inset: 4rem 0 auto 0;
    display: none;
    flex-direction: column;
    gap: 0;
    background: rgba(10,10,11,.96);
    border-bottom: 1px solid var(--line);
    padding: .5rem 1.25rem 1rem;
  }
  .top.is-open .nav { display: flex; }
  .top.is-open .nav-toggle span:first-child {
    transform: translateY(.45rem) rotate(45deg);
  }
  .top.is-open .nav-toggle span:last-child {
    transform: translateY(-.45rem) rotate(-45deg);
  }
  .nav a { padding: .65rem 0; border-bottom: 1px solid var(--line); color: var(--ink); }
  .hero-body { padding-bottom: 3.2rem; }
  @keyframes cellInStart {
    from { opacity: 0; transform: translate3d(56px, 0, 0); }
    to { opacity: 1; transform: translate3d(0, 0, 0); }
  }
  @keyframes cellInEnd {
    from { opacity: 0; transform: translate3d(-56px, 0, 0); }
    to { opacity: 1; transform: translate3d(0, 0, 0); }
  }
}

@media (prefers-reduced-motion: reduce) {
  .boot { display: none; }
  .hero-bg img, .hero-body { animation: none !important; opacity: 1; transform: none; }
  .stage-track, .lb-track { transition: none !important; }
}

/* —— featured + filters —— */
.gallery-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.5rem;
}
.gallery-bar .block-title { margin: 0; }
.filters {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem;
}
.filter {
  appearance: none;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--muted);
  font-family: inherit;
  font-size: .78rem;
  padding: .35rem .7rem;
  cursor: pointer;
  transition: color .25s, border-color .25s, background .25s;
}
.filter.is-on,
.filter:hover {
  color: var(--ink);
  border-color: rgba(196,165,116,.45);
  background: rgba(196,165,116,.1);
}
.cell.is-hidden { display: none; }
.feat-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: .85rem;
}
.feat {
  text-decoration: none;
  color: inherit;
  display: block;
}
.feat img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  background: var(--bg-3);
  border: 1px solid var(--line);
  transition: filter .4s, transform .7s var(--ease);
  filter: brightness(.92);
}
.feat:hover img {
  filter: brightness(1.02);
  transform: scale(1.015);
}
.feat span {
  display: block;
  margin-top: .5rem;
  font-size: .82rem;
  color: var(--muted);
}
.exhibit-note { margin: -.8rem 0 1.4rem; }

/* darkroom */
.lb-darkroom {
  position: absolute;
  top: 1rem;
  inset-inline-end: 4rem;
  z-index: 5;
  width: 2.5rem;
  height: 2.5rem;
  border: 1px solid rgba(236,232,225,.2);
  background: rgba(10,10,11,.45);
  color: var(--ink);
  cursor: pointer;
  font-size: 1rem;
}
.lightbox.is-darkroom .lb-info,
.lightbox.is-darkroom .lb-darkroom,
.lightbox.is-darkroom .lb-x,
.lightbox.is-darkroom .nav-btn {
  opacity: 0;
  pointer-events: none;
}
.lightbox.is-darkroom .lb-view { grid-column: 1 / -1; }
.lightbox.is-darkroom {
  grid-template-columns: 1fr;
}
.lightbox.is-darkroom:hover .lb-x,
.lightbox.is-darkroom:hover .lb-darkroom {
  opacity: 1;
  pointer-events: auto;
}

/* —— gift fab + birthday popup —— */
.gift-fab {
  position: fixed;
  inset-inline-end: 1.15rem;
  bottom: 1.15rem;
  z-index: 60;
  width: 3.6rem;
  height: 3.6rem;
  border: 0;
  border-radius: 50%;
  background: linear-gradient(145deg, #1a1a1f, #0e0e12);
  box-shadow: 0 10px 30px rgba(0,0,0,.45), 0 0 0 1px rgba(196,165,116,.35);
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: transform .35s var(--ease), box-shadow .35s;
}
.gift-fab:hover { transform: translateY(-3px) scale(1.04); }
.gift-fab.is-wiggle { animation: giftWiggle .7s ease 2; }
.gift-fab-pulse {
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 1px solid rgba(196,165,116,.35);
  animation: giftPulse 2.4s ease-out infinite;
  pointer-events: none;
}
.gift-fab-box {
  position: relative;
  width: 1.45rem;
  height: 1.25rem;
  display: block;
}
.gift-body {
  position: absolute;
  inset: .35rem 0 0;
  background: #c4a574;
  border-radius: 2px;
}
.gift-lid {
  position: absolute;
  inset: 0  -.08rem auto;
  height: .38rem;
  background: #e0c48a;
  border-radius: 2px 2px 0 0;
}
.gift-bow {
  position: absolute;
  left: 50%;
  top: .15rem;
  width: .22rem;
  height: 1.05rem;
  margin-left: -.11rem;
  background: #7a9e9a;
  border-radius: 1px;
  box-shadow: -.28rem .12rem 0 #7a9e9a, .28rem .12rem 0 #7a9e9a;
}

.gift-pop[hidden] { display: none !important; }
.gift-pop {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 1.25rem;
}
.gift-scrim {
  position: absolute;
  inset: 0;
  background: rgba(5,5,6,.78);
  backdrop-filter: blur(8px);
  opacity: 0;
  transition: opacity .4s ease;
}
.gift-pop.is-open .gift-scrim { opacity: 1; }
.gift-confetti {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}
.gift-card {
  position: relative;
  z-index: 2;
  width: min(440px, 100%);
  background:
    radial-gradient(ellipse at 50% 0%, rgba(196,165,116,.16), transparent 55%),
    linear-gradient(180deg, #16161a 0%, #0f0f12 100%);
  border: 1px solid rgba(196,165,116,.28);
  padding: 2.2rem 1.7rem 1.7rem;
  text-align: center;
  box-shadow: 0 30px 80px rgba(0,0,0,.55);
  transform: translateY(28px) scale(.96);
  opacity: 0;
  transition: transform .5s var(--ease), opacity .45s ease;
}
.gift-pop.is-open .gift-card {
  transform: none;
  opacity: 1;
}
.gift-x {
  position: absolute;
  top: .7rem;
  inset-inline-end: .7rem;
  width: 2.2rem;
  height: 2.2rem;
  border: 0;
  background: transparent;
  cursor: pointer;
}
.gift-x::before,
.gift-x::after {
  content: "";
  position: absolute;
  inset: 50% auto auto 50%;
  width: 1rem;
  height: 1px;
  background: var(--muted);
}
.gift-x::before { transform: translate(-50%,-50%) rotate(45deg); }
.gift-x::after { transform: translate(-50%,-50%) rotate(-45deg); }
.gift-ornament {
  display: flex;
  justify-content: center;
  gap: .45rem;
  margin-bottom: 1rem;
}
.gift-ornament span {
  width: .35rem;
  height: .35rem;
  border-radius: 50%;
  background: var(--accent);
  opacity: .7;
}
.gift-ornament span:nth-child(2) { background: var(--accent-2); }
.gift-kicker {
  margin: 0;
  color: var(--accent);
  letter-spacing: .28em;
  font-size: .78rem;
  font-weight: 300;
}
.gift-title {
  margin: .55rem 0 0;
  font-size: clamp(1.45rem, 4vw, 1.85rem);
  font-weight: 700;
  line-height: 1.45;
  color: var(--ink);
}
.gift-divider {
  width: 3rem;
  height: 1px;
  margin: 1.15rem auto;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
}
.gift-body-text p {
  margin: 0 0 .75rem;
  color: rgba(236,232,225,.84);
  font-size: .98rem;
  line-height: 1.95;
}
.gift-from {
  margin: 1.35rem 0 0;
  color: var(--muted);
  font-size: .92rem;
  line-height: 1.7;
}
.gift-from strong {
  color: var(--accent);
  font-weight: 600;
  font-size: 1.05rem;
}
.gift-cta {
  margin-top: 1.4rem;
  appearance: none;
  border: 1px solid rgba(196,165,116,.4);
  background: rgba(196,165,116,.14);
  color: var(--accent);
  font-family: inherit;
  font-size: .88rem;
  padding: .7rem 1.2rem;
  cursor: pointer;
  transition: background .3s;
}
.gift-cta:hover { background: rgba(196,165,116,.24); }
body.gift-open { overflow: hidden; }

@keyframes giftPulse {
  0% { transform: scale(1); opacity: .7; }
  100% { transform: scale(1.35); opacity: 0; }
}
@keyframes giftWiggle {
  0%, 100% { transform: rotate(0); }
  25% { transform: rotate(-8deg); }
  50% { transform: rotate(8deg); }
  75% { transform: rotate(-5deg); }
}

@media (max-width: 980px) {
  .feat-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .gift-fab { inset-inline-end: .85rem; bottom: .85rem; }
}
