/* ============================================================
   Milan Kalita — Case Study (project detail page)
   Editorial. White. Big grotesque. Full-bleed imagery.
   ============================================================ */

:root {
  --black: #000000;
  --ink: #111111;
  --ink-2: #2b2b2b;
  --muted: #6a6a6a;
  --muted-2: #8c8c8c;
  --paper: #ffffff;
  --paper-2: #f6f6f5;
  --line: rgba(0, 0, 0, 0.12);
  --line-2: rgba(0, 0, 0, 0.07);
  --line-dark: rgba(255, 255, 255, 0.16);
  --accent: #2b53ff;

  --font-display: "Inter Tight", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --font-body: "Inter Tight", "Helvetica Neue", Helvetica, Arial, sans-serif;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --gutter: clamp(20px, 5vw, 96px);
  --maxw: 1320px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  background: var(--paper);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
}
::selection { background: var(--accent); color: #fff; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }

/* ---------- layout helpers ---------- */
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); width: 100%; }
.cs-section { padding: clamp(72px, 11vh, 170px) 0; }
.cs-section--tight { padding: clamp(40px, 6vh, 90px) 0; }
.cs-section--dark { background: var(--black); color: #fff; }

.fullbleed { width: 100vw; margin-left: calc(50% - 50vw); }

.label {
  font-size: clamp(11px, 0.8vw, 13px);
  font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--muted);
  display: inline-flex; align-items: center; gap: 12px;
}
.label::before { content: ""; width: 28px; height: 1px; background: currentColor; opacity: 0.5; }
.cs-section--dark .label { color: var(--muted-2); }

.heading {
  font-family: var(--font-display);
  font-weight: 800; letter-spacing: -0.03em; line-height: 0.94;
  font-size: clamp(34px, 5.6vw, 88px);
  text-wrap: balance;
}
.body { font-size: clamp(16px, 1.15vw, 19px); line-height: 1.62; color: var(--ink-2); }
.body + .body { margin-top: 1.2em; }
.cs-section--dark .body { color: #c9c9c9; }
.measure { max-width: 60ch; }

/* two-column: sticky label left, content right */
.two-col {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: clamp(28px, 5vw, 96px);
  align-items: start;
}
.two-col__label { position: sticky; top: 96px; }
@media (max-width: 860px) {
  .two-col { grid-template-columns: 1fr; gap: 22px; }
  .two-col__label { position: static; }
}

/* ============================================================
   TOP NAV
   ============================================================ */
.cs-topbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 80;
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px var(--gutter);
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.4s var(--ease), background 0.4s var(--ease);
}
.cs-topbar.is-stuck { border-color: var(--line-2); }
.cs-back { display: inline-flex; align-items: center; gap: 9px; font-size: 14px; font-weight: 500; transition: color 0.35s var(--ease); }
.cs-back .ar { transition: transform 0.35s var(--ease); }
.cs-back .lbl { position: relative; }
.cs-back .lbl::after {
  content: ""; position: absolute; left: 0; bottom: -2px;
  width: 100%; height: 1px; background: currentColor;
  transform: scaleX(0); transform-origin: right;
  transition: transform 0.4s var(--ease);
}
.cs-back:hover { color: var(--accent); }
.cs-back:hover .ar { transform: translateX(-4px); }
.cs-back:hover .lbl::after { transform: scaleX(1); transform-origin: left; }
.cs-topbar__title { font-family: var(--font-display); font-weight: 700; font-size: 15px; letter-spacing: -0.01em; }
.cs-topbar__cta { font-size: 13px; font-weight: 500; color: var(--muted); }
@media (max-width: 640px) { .cs-topbar__cta { display: none; } }

/* ============================================================
   HERO
   ============================================================ */
.hero { padding-top: clamp(110px, 16vh, 200px); }
.hero__cat { margin-bottom: clamp(20px, 3vw, 40px); }
.hero__title {
  font-family: var(--font-display);
  font-weight: 800; letter-spacing: -0.045em; line-height: 0.9;
  font-size: clamp(52px, 11vw, 184px);
  text-transform: none;
}
.hero__sub {
  margin-top: clamp(20px, 2.6vw, 40px);
  font-size: clamp(18px, 1.9vw, 30px); font-weight: 400; line-height: 1.34;
  color: var(--muted); max-width: 30ch; letter-spacing: -0.01em;
}
.hero__sub b { color: var(--ink); font-weight: 500; }

.hero__meta {
  margin-top: clamp(36px, 5vw, 70px);
  display: flex; align-items: center; justify-content: space-between;
  gap: 20px; flex-wrap: wrap;
  padding: 22px 0; border-top: 1px solid var(--line);
}
.hero__chips { display: flex; gap: 10px; }
.chip {
  padding: 9px 18px; border: 1px solid var(--line); border-radius: 100px;
  font-size: 13px; font-weight: 500;
}
.hero__copyright { font-size: 14px; color: var(--muted); font-weight: 500; }
.hero__client { font-size: 14px; color: var(--ink); font-weight: 500; }

.hero__shot {
  margin-top: clamp(34px, 4vw, 60px);
  aspect-ratio: 16 / 8.4;
  border-radius: 8px; overflow: hidden; background: var(--paper-2);
}
/* Soil Testing Kit only: smaller, more horizontal hero image */
.proj-uxui .hero__shot {
  max-width: 900px;
  margin-left: auto; margin-right: auto;
  aspect-ratio: 21 / 8;
  background: var(--paper-2);
}
/* show the whole hero image (no crop), centred within the box */
.proj-uxui .hero__shot image-slot::part(image) {
  object-fit: contain;
  object-position: center;
}
/* Soil Testing Kit only: center the exploded-view image box */
.proj-uxui .cad3-fig {
  max-width: 640px;
  margin-left: auto; margin-right: auto;
}
/* SmileO only: exploded-view image box spans full width, short height */
.proj-smileo .cad3-fig {
  max-width: none;
  width: 100%;
}
.proj-smileo .cad3-fig[data-ar="21-9"] { aspect-ratio: 16 / 11; max-width: 1080px; margin-left: auto; margin-right: auto; }
.proj-smileo .cad3-fig[data-ar="21-9"] image-slot::part(image) { object-fit: contain; object-position: center; }
/* Soil Testing Kit only: narrower final-outcome render */
.proj-uxui .final-hero-fig {
  max-width: 1100px;
  margin-left: auto; margin-right: auto;
}
.hero__shot image-slot { width: 100%; height: 100%; }

/* ============================================================
   FIGURES + IMAGE SLOTS
   ============================================================ */
.fig { position: relative; overflow: hidden; border-radius: 8px; background: var(--paper-2); }
.fig--flat { border-radius: 0; }
.fig image-slot { width: 100%; height: 100%; transition: transform 0.9s var(--ease); transform-origin: center; }
.fig:hover image-slot { transform: scale(1.035); }
.fig[data-ar="16-9"] { aspect-ratio: 16 / 9; }
.fig[data-ar="4-3"] { aspect-ratio: 4 / 3; }
.fig[data-ar="1-1"] { aspect-ratio: 1 / 1; }
.fig[data-ar="3-4"] { aspect-ratio: 3 / 4; }
.fig[data-ar="21-9"] { aspect-ratio: 21 / 9; }
.fig[data-ar="2-1"] { aspect-ratio: 2 / 1; }

/* expand-to-lightbox button (only on filled, on hover) */
.fig__zoom {
  position: absolute; top: 12px; right: 12px; z-index: 3;
  width: 40px; height: 40px; border-radius: 50%;
  background: rgba(0,0,0,0.6); color: #fff; backdrop-filter: blur(6px);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; transform: scale(0.9); transition: opacity 0.3s var(--ease), transform 0.3s var(--ease), background 0.3s var(--ease);
  pointer-events: none;
}
.fig.is-filled:hover .fig__zoom { opacity: 1; transform: scale(1); pointer-events: auto; }
.fig.no-expand .fig__zoom { display: none !important; }
.fig__zoom:hover { background: rgba(0,0,0,0.85); }
.fig__cap { margin-top: 14px; font-size: 13px; color: var(--muted); letter-spacing: 0.01em; }

/* bright drop/browse affordance for slots on dark sections */
.cs-section--dark .fig image-slot { color: rgba(255, 255, 255, 0.9); }
.cs-section--dark .fig image-slot::part(empty) { color: rgba(255, 255, 255, 0.9); }
.cs-section--dark .fig image-slot::part(ring) { border-color: rgba(255, 255, 255, 0.3); }
.cs-section--dark .fig image-slot::part(frame) { background: #141414; }

/* ============================================================
   OVERVIEW
   ============================================================ */
.overview-grid {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 1px; background: var(--line);
  border: 1px solid var(--line); border-radius: 10px; overflow: hidden;
}
.ov-item { background: var(--paper); padding: clamp(22px, 2.4vw, 36px); }
.ov-item h4 { font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; font-weight: 600; }
.ov-item p { font-family: var(--font-display); font-size: clamp(18px, 1.5vw, 24px); font-weight: 600; letter-spacing: -0.01em; line-height: 1.25; }
.ov-item--wide { grid-column: 1 / -1; }
@media (max-width: 640px) { .overview-grid { grid-template-columns: 1fr; } }

/* ============================================================
   CHALLENGE — big editorial statement
   ============================================================ */
.statement {
  font-family: var(--font-display);
  font-weight: 600; letter-spacing: -0.028em; line-height: 1.08;
  font-size: clamp(28px, 4.2vw, 64px);
  text-wrap: balance; max-width: 20ch;
}
.statement em { font-style: normal; color: var(--muted-2); }
.challenge-points { margin-top: clamp(40px, 5vw, 76px); display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(24px, 3vw, 52px); }
.cpoint { border-top: 1px solid var(--line); padding-top: 22px; }
.cpoint h5 { font-size: 14px; font-weight: 600; letter-spacing: 0.02em; margin-bottom: 10px; }
.cpoint p { font-size: 15px; line-height: 1.55; color: var(--muted); }
@media (max-width: 760px) { .challenge-points { grid-template-columns: 1fr; } }

/* ============================================================
   RESEARCH — insight cards + images
   ============================================================ */
.research-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: clamp(16px, 1.6vw, 28px); }
.r-card {
  grid-column: span 6; background: var(--paper-2); border-radius: 10px;
  padding: clamp(26px, 2.6vw, 40px); display: flex; flex-direction: column; gap: 14px;
  min-height: 220px; justify-content: space-between;
}
.r-card .r-num { font-size: 12px; color: var(--muted); letter-spacing: 0.12em; font-weight: 600; }
.r-card h4 { font-family: var(--font-display); font-size: clamp(20px, 1.7vw, 27px); font-weight: 600; letter-spacing: -0.01em; }
.r-card p { font-size: 15px; line-height: 1.55; color: var(--muted); }
.r-img { grid-column: span 6; }
.r-stat { grid-column: span 3; }
.r-stat .num { font-family: var(--font-display); font-weight: 800; font-size: clamp(40px, 4.4vw, 68px); letter-spacing: -0.03em; line-height: 1; }
.r-stat .lab { font-size: 13px; color: var(--muted); margin-top: 10px; }
@media (max-width: 860px) {
  .r-card, .r-img { grid-column: span 12; }
  .r-stat { grid-column: span 6; }
}

/* ============================================================
   CRITERIA — visual cards
   ============================================================ */
.criteria { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.crit {
  border-right: 1px solid var(--line); border-bottom: 1px solid var(--line);
  padding: clamp(26px, 2.6vw, 42px); min-height: clamp(190px, 17vw, 250px);
  display: flex; flex-direction: column; justify-content: space-between;
  transition: background 0.4s var(--ease), color 0.4s var(--ease);
}
.crit:hover { background: var(--ink); color: #fff; }
.crit__n { font-size: 12px; color: var(--muted); font-weight: 600; letter-spacing: 0.1em; transition: color 0.4s var(--ease); }
.crit:hover .crit__n { color: rgba(255,255,255,0.6); }
.crit__t { font-family: var(--font-display); font-size: clamp(20px, 1.8vw, 28px); font-weight: 700; letter-spacing: -0.02em; }
.crit__d { font-size: 14px; line-height: 1.5; color: var(--muted); margin-top: 10px; transition: color 0.4s var(--ease); }
.crit:hover .crit__d { color: rgba(255,255,255,0.66); }
@media (max-width: 860px) { .criteria { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .criteria { grid-template-columns: 1fr; } }

/* ============================================================
   IDEATION — masonry gallery
   ============================================================ */
.masonry { columns: 3; column-gap: clamp(16px, 1.6vw, 26px); }
.masonry .fig { break-inside: avoid; margin-bottom: clamp(16px, 1.6vw, 26px); width: 100%; }
@media (max-width: 900px) { .masonry { columns: 2; } }
@media (max-width: 560px) { .masonry { columns: 1; } }

/* ============================================================
   DEVELOPMENT — concept progression
   ============================================================ */
.progression { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(14px, 1.4vw, 24px); align-items: start; }
.concept .concept__tag {
  display: flex; align-items: center; gap: 10px; margin-bottom: 14px;
  font-size: 13px; font-weight: 600; letter-spacing: 0.02em;
}
.concept .concept__tag .i { width: 24px; height: 24px; border-radius: 6px; background: var(--paper-2); display: inline-flex; align-items: center; justify-content: center; font-size: 12px; color: var(--muted); }
.concept--final .concept__tag .i { background: var(--accent); color: #fff; }
.concept .body { font-size: 14px; margin-top: 12px; color: var(--muted); }
@media (max-width: 860px) { .progression { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .progression { grid-template-columns: 1fr; } }

/* ============================================================
   FULL-BLEED PAIRS / TRIOS
   ============================================================ */
.pair { display: grid; grid-template-columns: 1fr 1fr; gap: 0; }
.trio { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; }
.pair .fig, .trio .fig { border-radius: 0; aspect-ratio: 1 / 1; }
@media (max-width: 640px) { .pair, .trio { grid-template-columns: 1fr; } }

/* ============================================================
   PROTOTYPING — timeline
   ============================================================ */
.timeline { border-top: 1px solid var(--line); }
.tl {
  display: grid; grid-template-columns: 120px 1fr 1.1fr; gap: clamp(20px, 3vw, 56px);
  padding: clamp(28px, 3.2vw, 52px) 0; border-bottom: 1px solid var(--line);
  align-items: start; position: relative;
}
.tl::before { content: ""; position: absolute; left: 0; top: -1px; height: 1px; width: 0; background: var(--accent); transition: width 0.9s var(--ease); }
.tl.in::before { width: 100%; }
.tl__phase { font-family: var(--font-display); font-weight: 700; font-size: clamp(16px, 1.3vw, 20px); letter-spacing: -0.01em; }
.tl__phase span { display: block; font-size: 12px; color: var(--muted); font-weight: 500; margin-top: 4px; letter-spacing: 0.02em; }
.tl__txt h4 { font-size: clamp(18px, 1.6vw, 24px); font-weight: 600; letter-spacing: -0.015em; margin-bottom: 10px; }
.tl__txt p { font-size: 15px; line-height: 1.55; color: var(--muted); }
.tl__media { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 860px) { .tl { grid-template-columns: 1fr; gap: 16px; } }

/* ============================================================
   FINAL OUTCOME — immersive
   ============================================================ */
.final-title {
  font-family: var(--font-display); font-weight: 800; letter-spacing: -0.04em;
  line-height: 0.9; font-size: clamp(46px, 10vw, 168px); text-align: center;
  padding: 0 var(--gutter);
}
.detail-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(14px, 1.4vw, 24px); }
@media (max-width: 760px) { .detail-row { grid-template-columns: 1fr; } }

/* ============================================================
   RESULTS — stats
   ============================================================ */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line-dark); border: 1px solid var(--line-dark); }
.stat { background: var(--black); padding: clamp(28px, 3vw, 48px) clamp(22px, 2.4vw, 36px); }
.stat .num { font-family: var(--font-display); font-weight: 800; letter-spacing: -0.04em; line-height: 0.92; font-size: clamp(44px, 5.4vw, 90px); }
.stat .num b { color: var(--accent); font-weight: 800; }
.stat .lab { margin-top: 16px; font-size: 14px; color: #b6b6b6; line-height: 1.45; }
@media (max-width: 860px) { .stats { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 460px) { .stats { grid-template-columns: 1fr; } }

.benefits { margin-top: clamp(40px, 5vw, 72px); display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(24px, 3vw, 52px); }
.benefit { border-top: 1px solid var(--line-dark); padding-top: 20px; }
.benefit h5 { font-size: 15px; font-weight: 600; margin-bottom: 8px; }
.benefit p { font-size: 14px; line-height: 1.55; color: #a8a8a8; }
@media (max-width: 760px) { .benefits { grid-template-columns: 1fr; } }

/* ============================================================
   REFLECTION
   ============================================================ */
.reflect-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(30px, 4vw, 68px); }
.reflect h4 { font-family: var(--font-display); font-size: clamp(20px, 1.7vw, 26px); font-weight: 600; letter-spacing: -0.01em; margin-bottom: 14px; }
.reflect p { font-size: 16px; line-height: 1.62; color: var(--ink-2); }
@media (max-width: 700px) { .reflect-grid { grid-template-columns: 1fr; } }

/* ============================================================
   FOOTER NAV (prev / next / back)
   ============================================================ */
.cs-foot { border-top: 1px solid var(--line-dark); }
.cs-foot__row {
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(20px, 4vw, 60px);
  padding: clamp(50px, 7vw, 110px) 0;
}
.foot-link { display: flex; flex-direction: column; gap: 10px; }
.foot-link .k { font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted-2); }
.foot-link .v {
  font-family: var(--font-display); font-weight: 800; letter-spacing: -0.03em;
  font-size: clamp(28px, 4.6vw, 74px); line-height: 0.95; color: #fff;
  transition: color 0.4s var(--ease);
}
.foot-link:hover .v { color: var(--accent); }
.foot-link.next { text-align: right; align-items: flex-end; }
.cs-foot__bottom {
  display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap;
  padding: 30px 0 clamp(40px, 5vw, 70px); border-top: 1px solid var(--line-dark);
}
.cs-foot__bottom .back {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 26px; border-radius: 100px; border: 1px solid var(--line-dark);
  font-size: 15px; font-weight: 500; transition: background 0.4s var(--ease), color 0.4s var(--ease);
}
.cs-foot__bottom .back:hover { background: #fff; color: #000; }
.cs-foot__bottom .meta { font-size: 13px; color: var(--muted-2); }

/* ============================================================
   REVEAL
   ============================================================ */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal[data-d="1"] { transition-delay: 0.07s; }
.reveal[data-d="2"] { transition-delay: 0.14s; }
.reveal[data-d="3"] { transition-delay: 0.21s; }
.reveal[data-d="4"] { transition-delay: 0.28s; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1 !important; transform: none !important; } }

/* ============================================================
   LIGHTBOX
   ============================================================ */
.lightbox {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(8, 8, 8, 0.94); backdrop-filter: blur(8px);
  display: flex; align-items: center; justify-content: center; padding: 4vw;
  opacity: 0; pointer-events: none; transition: opacity 0.35s var(--ease);
}
.lightbox.is-open { opacity: 1; pointer-events: auto; }
.lightbox img { max-width: 100%; max-height: 92vh; border-radius: 6px; transform: scale(0.97); transition: transform 0.35s var(--ease); box-shadow: 0 40px 120px rgba(0,0,0,0.6); }
.lightbox.is-open img { transform: scale(1); }
.lightbox__close { position: absolute; top: 22px; right: 26px; width: 46px; height: 46px; border-radius: 50%; background: rgba(255,255,255,0.12); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 20px; }
.lightbox__close:hover { background: rgba(255,255,255,0.22); }

/* progress bar */
.cs-progress { position: fixed; top: 0; left: 0; height: 2px; width: 0; background: var(--accent); z-index: 90; transition: width 0.1s linear; }

/* custom cursor dot (cursor-aware, matches landing page) */
.cursor-dot {
  position: fixed; top: 0; left: 0; z-index: 200;
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--accent); pointer-events: none;
  transform: translate(-50%, -50%); mix-blend-mode: difference;
  transition: width 0.3s var(--ease), height 0.3s var(--ease), opacity 0.3s;
  opacity: 0;
}
@media (hover: none) { .cursor-dot { display: none; } }

/* heading hover highlight — small animation when the cursor passes over a heading */
.heading, .hero__title { position: relative; transition: transform 0.5s var(--ease), color 0.5s var(--ease); }
.heading::after, .hero__title::after {
  content: ""; position: absolute; left: 0; bottom: -0.12em;
  width: 100%; height: 2px; background: var(--accent);
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.6s var(--ease);
}
.heading.is-hot, .hero__title.is-hot { color: var(--accent); }
.heading.is-hot::after, .hero__title.is-hot::after { transform: scaleX(1); }
.cs-section--dark .heading.is-hot { color: #fff; }
.cs-section--dark .heading.is-hot::after { background: var(--accent); }
@media (hover: none) { .heading::after, .hero__title::after { display: none; } }
@media (prefers-reduced-motion: reduce) {
  .heading::after, .hero__title::after { transition: none; }
}

/* ---------- double-click slot menu ---------- */
.slot-menu {
  position: fixed; z-index: 220; min-width: 210px; padding: 6px;
  background: #161616; border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 12px; box-shadow: 0 18px 48px rgba(0, 0, 0, 0.5);
  display: none; flex-direction: column; gap: 2px;
  opacity: 0; transform: translateY(-6px) scale(0.98); transform-origin: top left;
  transition: opacity 0.16s var(--ease), transform 0.16s var(--ease);
  font-family: var(--font-body);
}
.slot-menu.is-open { display: flex; opacity: 1; transform: none; }
.slot-menu button {
  display: flex; align-items: center; gap: 11px; padding: 11px 13px;
  border-radius: 8px; font-size: 14px; font-weight: 500; color: #f0f0f0; text-align: left;
  transition: background 0.18s var(--ease), color 0.18s var(--ease);
}
.slot-menu button:hover { background: rgba(255, 255, 255, 0.08); }
.slot-menu button .i {
  display: inline-flex; align-items: center; justify-content: center;
  width: 20px; height: 20px; border-radius: 6px; background: var(--accent); color: #fff;
  font-size: 16px; font-weight: 600; line-height: 1;
}
.slot-menu button.danger { color: #ff8a7a; }
.slot-menu button.danger:hover { background: rgba(255, 90, 60, 0.12); }
