/* =========================================================
   895 — Premium Store
   Minimal 2026 · black + brushed gold · mobile-first
   ========================================================= */

:root {
  /* Brushed / champagne gold (muted, not neon) */
  --gold-1: #efe1b8;   /* highlight */
  --gold-2: #cdb079;   /* primary accent */
  --gold-3: #b0925b;   /* mid */
  --gold-4: #8b7043;   /* deep */

  /* Hairlines */
  --line:   rgba(208, 186, 140, .15);
  --line-2: rgba(208, 186, 140, .30);

  /* Surfaces */
  --ink: #070706;
  --surface: rgba(255, 255, 255, .022);
  --surface-2: rgba(255, 255, 255, .04);

  --text: #ece7db;
  --text-dim: #9d9484;

  /* Soft metallic gradient (refined) */
  --grad-gold: linear-gradient(180deg, #f1e2b6 0%, #d8bd84 46%, #b1935a 100%);
  --grad-gold-fill: linear-gradient(180deg, #e8d4a2, #c4a668);

  /* Motion */
  --ease-out: cubic-bezier(.16, .84, .34, 1);
  --ease-io: cubic-bezier(.65, .05, .36, 1);

  /* Размер логотипа — меняй ТОЛЬКО это значение (сейчас ×1.3 от исходного).
     Хочешь ещё крупнее — увеличь числа, мельче — уменьши. */
  --logo-w: clamp(224px, 66vw, 300px);

  /* Шрифт заголовков (Каталог, Правила, названия и т.д.) — меняй ТОЛЬКО эту строку.
     Сейчас строгий гротеск. Хочешь серифную антикву — поставь:
       "PT Serif", Georgia, serif
     и добавь PT+Serif в <link> шрифтов в index.html. */
  --font-display: "Montserrat", system-ui, sans-serif;
}

* { box-sizing: border-box; }

html, body { margin: 0; min-height: 100%; }

body {
  font-family: "Montserrat", system-ui, sans-serif;
  color: var(--text);
  background: var(--ink);
  min-height: 100vh;
  min-height: 100dvh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* ===================== BACKGROUND LAYERS ===================== */
.stage {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.bg-photo {
  position: absolute;
  inset: -2%;
  background: #050505 url("../assets/bg.jpg") center top / cover no-repeat;
  filter: saturate(.82) brightness(.82);
  transform: scale(1.05);
  animation: bgDrift 30s var(--ease-io) infinite alternate;
}

/* Soft spotlight from top-center */
.bg-spot {
  position: absolute;
  left: 50%;
  top: -18%;
  width: 130%;
  height: 90%;
  transform: translateX(-50%);
  background: radial-gradient(58% 52% at 50% 0%,
      rgba(240, 214, 158, .22) 0%,
      rgba(190, 156, 92, .08) 36%,
      transparent 66%);
  mix-blend-mode: screen;
  opacity: 0;
  animation: spotIn 2.4s var(--ease-out) .2s forwards;
}

/* Faint vertical beam */
.beam {
  position: absolute;
  left: 50%;
  top: 6%;
  width: 240px;
  height: 88%;
  transform: translateX(-50%);
  background: linear-gradient(180deg, transparent 0%, rgba(232, 204, 140, .10) 18%, rgba(232, 204, 140, .04) 55%, transparent 90%);
  filter: blur(34px);
  opacity: 0;
  animation: beamIn 2.8s var(--ease-out) .5s forwards;
}

.vignette {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(120% 92% at 50% 38%, transparent 52%, rgba(0, 0, 0, .62) 100%),
    linear-gradient(180deg, rgba(0,0,0,.35), transparent 22%, transparent 66%, rgba(0,0,0,.6));
}

/* ===================== CARD LAYOUT ===================== */
.card {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 440px;
  margin: 0 auto;
  min-height: 100vh;
  min-height: 100dvh;
  padding: max(clamp(26px, 7vh, 58px), calc(env(safe-area-inset-top) + 16px)) 24px calc(30px + env(safe-area-inset-bottom));
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* ===================== BRAND / LOGO ===================== */
.brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

.logo-wrap {
  position: relative;
  width: var(--logo-w);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
}

.logo {
  position: relative;
  z-index: 2;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 6px 20px rgba(0, 0, 0, .55)) drop-shadow(0 0 22px rgba(230, 195, 115, .12));
}

/* Soft glow behind logo */
.logo-halo {
  position: absolute;
  inset: 6%;
  border-radius: 50%;
  z-index: 1;
  background: radial-gradient(circle at 50% 46%,
      rgba(245, 220, 165, .30) 0%,
      rgba(210, 165, 95, .10) 36%,
      transparent 62%);
  filter: blur(8px);
}

.tagline {
  margin: clamp(4px, 1.6vh, 12px) 0 clamp(24px, 5vh, 40px);
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: .12em;
  font-size: clamp(16px, 4.6vw, 22px);
  text-align: center;
  line-height: 1.2;
  background: var(--grad-gold);
  -webkit-background-clip: text;
          background-clip: text;
  color: transparent;
  filter: drop-shadow(0 1px 1px rgba(0, 0, 0, .5));
  transition: opacity .8s var(--ease-out), transform .8s var(--ease-out);
}
.js .tagline { opacity: 0; transform: translateY(8px); }
.tagline.show { opacity: 1; transform: none; }

/* ===================== MENU BUTTONS ===================== */
.menu {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: clamp(10px, 1.8vh, 14px);
}

.btn {
  --bd: rgba(206, 182, 132, .26);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 11px;
  width: 100%;
  padding: clamp(15px, 2.3vh, 18px) 22px;
  border: 1px solid var(--bd);
  border-radius: 13px;
  background: var(--surface);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: var(--gold-2);
  font-family: inherit;
  font-weight: 500;
  font-size: clamp(13px, 3.5vw, 14px);
  letter-spacing: .17em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: transform .3s var(--ease-out), border-color .3s, background .3s, box-shadow .3s;
  -webkit-tap-highlight-color: transparent;
}
.btn__ic {
  width: 18px;
  height: 18px;
  flex: none;
  color: var(--gold-3);
}
.btn:hover {
  --bd: rgba(226, 202, 150, .55);
  background: var(--surface-2);
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(0, 0, 0, .32);
}
.btn:active { transform: translateY(0) scale(.99); }

/* primary = catalog (single clear CTA) */
.btn--primary {
  --bd: transparent;
  background: var(--grad-gold-fill);
  color: #1b1509;
  font-weight: 600;
  box-shadow: 0 10px 26px rgba(150, 120, 60, .22);
}
.btn--primary .btn__ic { color: #3a2c12; }
.btn--primary:hover {
  background: linear-gradient(180deg, #eedaa9, #ccae70);
  box-shadow: 0 14px 32px rgba(160, 130, 65, .3);
  transform: translateY(-2px);
}

/* ===================== CONTACT ===================== */
.contact {
  margin-top: clamp(24px, 5vh, 38px);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 9px;
  text-align: center;
}
.contact__row {
  margin: 0;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 13px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--text-dim);
}
.contact__row a { color: var(--gold-2); text-decoration: none; }
.contact__ic { width: 16px; height: 16px; color: var(--gold-3); flex: none; }

/* ===================== SOCIALS ===================== */
.socials {
  margin-top: clamp(20px, 3.6vh, 28px);
  display: flex;
  gap: 13px;
}
.soc {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--surface);
  color: var(--gold-2);
  transition: transform .3s var(--ease-out), border-color .3s, background .3s;
}
.soc svg { width: 18px; height: 18px; }
.soc:hover {
  transform: translateY(-3px);
  border-color: var(--line-2);
  background: var(--surface-2);
}

.foot {
  margin-top: auto;
  padding-top: clamp(24px, 4.5vh, 34px);
  font-size: 11px;
  letter-spacing: .26em;
  color: rgba(190, 180, 158, .7);
  text-transform: uppercase;
}

/* ===================== REVEAL ANIMATION ===================== */
.js .reveal {
  opacity: 0;
  transform: translateY(24px);
}
.reveal.in {
  opacity: 1;
  transform: none;
  transition:
    opacity .7s var(--ease-out) calc(var(--i, 0) * 95ms),
    transform .7s var(--ease-out) calc(var(--i, 0) * 95ms);
}

/* ===================== CATALOG ===================== */
.catalog {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  visibility: hidden;
  pointer-events: none;
}
.catalog.open { visibility: visible; pointer-events: auto; }

.catalog::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(4, 4, 3, 0);
  -webkit-backdrop-filter: blur(0px);
  backdrop-filter: blur(0px);
  transition: background .45s var(--ease-out), backdrop-filter .45s var(--ease-out);
}
.catalog.open::before {
  background: rgba(4, 4, 3, .66);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
}

.catalog__panel {
  position: relative;
  width: 100%;
  max-width: 640px;
  height: 93vh;
  height: 93dvh;
  display: flex;
  flex-direction: column;
  background: linear-gradient(180deg, rgba(19, 18, 15, .99), rgba(10, 10, 9, .99));
  border: 1px solid var(--line-2);
  border-bottom: none;
  border-radius: 26px 26px 0 0;
  box-shadow: 0 -20px 60px rgba(0, 0, 0, .6);
  transform: translateY(100%);
  opacity: 0;
  transition: transform .52s var(--ease-out), opacity .4s var(--ease-out);
}
.catalog.open .catalog__panel { transform: none; opacity: 1; }

.catalog__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 22px 16px;
}
.catalog__bar::after { /* grip */
  content: "";
  position: absolute;
  top: 10px;
  left: 50%;
  width: 40px;
  height: 4px;
  border-radius: 4px;
  transform: translateX(-50%);
  background: var(--line-2);
}
.catalog__title { display: flex; flex-direction: column; gap: 3px; }
.catalog__title-sub {
  font-size: 10px;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--text-dim);
}
.catalog__title-main {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: .04em;
  font-size: 20px;
  background: var(--grad-gold);
  -webkit-background-clip: text;
          background-clip: text;
  color: transparent;
}
.catalog__close {
  width: 44px; height: 44px;
  display: grid; place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--surface);
  color: var(--gold-2);
  cursor: pointer;
  transition: border-color .25s, background .25s;
}
.catalog__close svg { width: 17px; height: 17px; }
.catalog__close:hover { border-color: var(--line-2); background: var(--surface-2); }

/* filters — underline tabs, wrapped */
.catalog__filters {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 18px;
  padding: 8px 22px 4px;
  border-bottom: 1px solid var(--line);
}
.chip {
  flex: none;
  position: relative;
  padding: 12px 0;
  border: none;
  background: none;
  color: var(--text-dim);
  font-family: inherit;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .18em;
  text-transform: uppercase;
  cursor: pointer;
  white-space: nowrap;
  transition: color .25s var(--ease-out);
}
.chip.active { color: var(--gold-2); }
.chip.active::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -1px;
  height: 2px;
  border-radius: 2px;
  background: var(--grad-gold);
}

/* grid */
.catalog__grid {
  flex: 1;
  overflow-y: auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-auto-rows: max-content;
  align-content: start;
  gap: 14px;
  padding: 18px 22px calc(28px + env(safe-area-inset-bottom));
  scrollbar-width: thin;
  scrollbar-color: var(--line-2) transparent;
}
@media (min-width: 560px) {
  .catalog__grid { grid-template-columns: repeat(3, 1fr); }
}

/* product card */
.pcard {
  position: relative;
  display: block;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(255, 255, 255, .035), rgba(255, 255, 255, .008));
  overflow: hidden;
  opacity: 0;
  transform: translateY(16px);
  animation: cardIn .55s var(--ease-out) forwards;
  animation-delay: calc(var(--d, 0) * 70ms);
  transition: transform .35s var(--ease-out), border-color .35s, box-shadow .35s;
}
.pcard:hover {
  transform: translateY(-4px);
  border-color: var(--line-2);
  box-shadow: 0 18px 40px rgba(0, 0, 0, .5);
}
.pcard__open {
  display: flex;
  flex-direction: column;
  width: 100%;
  padding: 0;
  margin: 0;
  border: none;
  background: none;
  font: inherit;
  color: inherit;
  text-align: left;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.pcard__media {
  position: relative;
  aspect-ratio: 5 / 6;
  display: grid;
  place-items: center;
  padding: 12px;
  background: radial-gradient(72% 62% at 50% 40%, rgba(205, 172, 110, .12), transparent 70%);
}
.pcard__media img {
  width: 88%;
  height: 90%;
  object-fit: contain;
  filter: drop-shadow(0 12px 20px rgba(0, 0, 0, .55));
  transition: transform .4s var(--ease-out);
}
.pcard:hover .pcard__media img { transform: scale(1.05); }
.pcard__badge {
  position: absolute;
  top: 11px;
  left: 11px;
  padding: 4px 9px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--gold-1);
  background: rgba(20, 17, 12, .55);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
}
.pcard__body {
  padding: 13px 14px 15px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.pcard__spec {
  font-size: 9.5px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--text-dim);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.pcard__name {
  font-size: 14.5px;
  font-weight: 600;
  letter-spacing: .01em;
  color: var(--text);
  line-height: 1.2;
}
.pcard__row {
  margin-top: 9px;
  display: flex;
  align-items: center;
  min-height: 34px;
  padding-right: 44px; /* clear the absolute add button */
}
.pcard__price {
  font-size: clamp(12.5px, 3.7vw, 14.5px);
  font-weight: 600;
  letter-spacing: .01em;
  white-space: nowrap;
  color: var(--gold-2);
}
.pcard__add {
  position: absolute;
  right: 12px;
  bottom: 12px;
  width: 30px; height: 30px;
  flex: none;
  display: grid;
  place-items: center;
  border: 1px solid var(--line-2);
  border-radius: 50%;
  background: rgba(12, 11, 9, .6);
  color: var(--gold-2);
  cursor: pointer;
  transition: background .25s var(--ease-out), color .25s, border-color .25s, transform .2s;
}
.pcard__add svg { width: 18px; height: 18px; }
.pcard__add:hover { background: var(--grad-gold-fill); color: #1b1509; border-color: transparent; }
.pcard__add:active { transform: scale(.9); }
.pcard__add.done { background: var(--grad-gold-fill); color: #1b1509; border-color: transparent; }

/* ===================== ITEM DETAIL ===================== */
.item-detail {
  position: absolute;
  inset: 0;
  z-index: 5;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  visibility: hidden;
  pointer-events: none;
}
.item-detail::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0);
  transition: background .35s var(--ease-out);
}
.item-detail.open { visibility: visible; pointer-events: auto; }
.item-detail.open::before { background: rgba(0, 0, 0, .55); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); }

.item-detail__sheet {
  position: relative;
  width: 100%;
  max-width: 640px;
  max-height: calc(100vh - 24px);
  max-height: calc(100dvh - 24px);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  background: linear-gradient(180deg, rgba(22, 20, 16, .99), rgba(12, 11, 9, .99));
  border: 1px solid var(--line-2);
  border-radius: 24px 24px 0 0;
  padding: 24px 22px calc(26px + env(safe-area-inset-bottom));
  transform: translateY(100%);
  transition: transform .44s var(--ease-out);
  box-shadow: 0 -16px 44px rgba(0, 0, 0, .6);
}
.item-detail.open .item-detail__sheet { transform: none; }

.item-detail__close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 2;
  width: 44px; height: 44px;
  display: grid; place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: rgba(20, 18, 14, .6);
  color: var(--gold-2);
  cursor: pointer;
}
.item-detail__close svg { width: 16px; height: 16px; }

.detail-media {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: clamp(150px, 22vh, 200px);
  margin: 6px 0 22px;
  padding: 8px;
  border-radius: 18px;
  background: radial-gradient(64% 58% at 50% 44%, rgba(205, 172, 110, .16), transparent 72%);
}
.detail-media img {
  max-height: clamp(150px, 22vh, 200px); /* явный max-height, не % — иначе фото наезжает на текст */
  max-width: 78%;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 18px 30px rgba(0, 0, 0, .6));
}
.detail-cat {
  font-size: 11px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--text-dim);
}
.detail-name {
  margin: 6px 0 0;
  font-family: var(--font-display);
  font-size: 23px;
  font-weight: 700;
  color: var(--text);
  line-height: 1.15;
}
.detail-desc {
  margin: 12px 0 20px;
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-dim);
}
.detail-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  row-gap: 14px;
}
.detail-price {
  flex-shrink: 0;
  font-size: 26px;
  font-weight: 700;
  letter-spacing: .01em;
  background: var(--grad-gold);
  -webkit-background-clip: text;
          background-clip: text;
  color: transparent;
}
.detail-price small { font-size: 13px; color: var(--text-dim); -webkit-text-fill-color: var(--text-dim); }
.buy-btn {
  display: inline-flex;
  flex: 1 1 auto;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 15px 24px;
  border: none;
  border-radius: 13px;
  background: var(--grad-gold-fill);
  color: #1b1509;
  font-family: inherit;
  font-weight: 600;
  font-size: 13.5px;
  letter-spacing: .12em;
  text-transform: uppercase;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(160, 130, 65, .26);
  transition: transform .25s var(--ease-out), box-shadow .25s;
}
.buy-btn svg { width: 18px; height: 18px; }
.buy-btn:hover { transform: translateY(-2px); box-shadow: 0 14px 30px rgba(160, 130, 65, .38); }
.buy-btn:active { transform: translateY(0) scale(.98); }

/* ===================== SHEET (generic slide-up modal: Работа и т.п.) ===================== */
.sheet {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  visibility: hidden;
  pointer-events: none;
}
.sheet.open { visibility: visible; pointer-events: auto; }
.sheet::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(4, 4, 3, 0);
  -webkit-backdrop-filter: blur(0px);
  backdrop-filter: blur(0px);
  transition: background .45s var(--ease-out), backdrop-filter .45s var(--ease-out);
}
.sheet.open::before {
  background: rgba(4, 4, 3, .66);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
}
.sheet__panel {
  position: relative;
  width: 100%;
  max-width: 640px;
  height: 93vh;
  height: 93dvh;
  display: flex;
  flex-direction: column;
  background: linear-gradient(180deg, rgba(19, 18, 15, .99), rgba(10, 10, 9, .99));
  border: 1px solid var(--line-2);
  border-bottom: none;
  border-radius: 26px 26px 0 0;
  box-shadow: 0 -20px 60px rgba(0, 0, 0, .6);
  transform: translateY(100%);
  opacity: 0;
  transition: transform .52s var(--ease-out), opacity .4s var(--ease-out);
}
.sheet.open .sheet__panel { transform: none; opacity: 1; }
.sheet__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 22px 16px;
  border-bottom: 1px solid var(--line);
}
.sheet__bar::after {
  content: "";
  position: absolute;
  top: 10px;
  left: 50%;
  width: 40px;
  height: 4px;
  border-radius: 4px;
  transform: translateX(-50%);
  background: var(--line-2);
}
.sheet__title { display: flex; flex-direction: column; gap: 3px; }
.sheet__title-sub {
  font-size: 10px;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--text-dim);
}
.sheet__title-main {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: .04em;
  font-size: 20px;
  background: var(--grad-gold);
  -webkit-background-clip: text;
          background-clip: text;
  color: transparent;
}
.sheet__close {
  width: 44px; height: 44px;
  display: grid; place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--surface);
  color: var(--gold-2);
  cursor: pointer;
  transition: border-color .25s, background .25s;
}
.sheet__close svg { width: 17px; height: 17px; }
.sheet__close:hover { border-color: var(--line-2); background: var(--surface-2); }
.sheet__body {
  flex: 1;
  overflow-y: auto;
  padding: 18px 22px calc(28px + env(safe-area-inset-bottom));
  scrollbar-width: thin;
  scrollbar-color: var(--line-2) transparent;
}

/* ---- Вакансии ---- */
.jobs__intro {
  margin: 2px 0 16px;
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--text-dim);
}
.job {
  border: 1px solid var(--line);
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(255, 255, 255, .035), rgba(255, 255, 255, .008));
  padding: 18px 18px 18px;
  margin-bottom: 14px;
  opacity: 0;
  transform: translateY(16px);
  animation: cardIn .55s var(--ease-out) forwards;
  animation-delay: calc(var(--d, 0) * 70ms);
}
.job__head { display: flex; align-items: center; gap: 13px; }
.job__ic {
  width: 42px; height: 42px;
  flex: none;
  display: grid; place-items: center;
  border: 1px solid var(--line-2);
  border-radius: 12px;
  background: radial-gradient(120% 120% at 50% 0%, rgba(205, 172, 110, .14), transparent 70%), rgba(255, 255, 255, .02);
  color: var(--gold-2);
}
.job__ic svg { width: 21px; height: 21px; }
.job__titles { min-width: 0; }
.job__tag {
  font-size: 10px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--gold-3);
}
.job__name {
  display: block;
  margin-top: 2px;
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 700;
  line-height: 1.15;
  color: var(--text);
}
.job__lead {
  margin: 13px 0 0;
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--text-dim);
}
.job__highlight {
  margin-top: 14px;
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 4px 10px;
}
.job__highlight b {
  font-size: 25px;
  font-weight: 700;
  letter-spacing: .01em;
  background: var(--grad-gold);
  -webkit-background-clip: text;
          background-clip: text;
  color: transparent;
}
.job__highlight span { font-size: 12px; color: var(--text-dim); }
.job__pay {
  margin-top: 14px;
  border-top: 1px solid var(--line);
}
.job__pay-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 11px 0;
  border-bottom: 1px solid var(--line);
}
.job__pay-row span { font-size: 13px; color: var(--text-dim); }
.job__pay-row b {
  font-size: 15px;
  font-weight: 600;
  color: var(--gold-2);
  white-space: nowrap;
}
.job__duties {
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.job__duties li {
  position: relative;
  padding-left: 20px;
  font-size: 13.5px;
  line-height: 1.4;
  color: var(--text);
}
.job__duties li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 6px;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--grad-gold-fill);
}
.job__note {
  margin: 14px 0 0;
  padding: 12px 14px;
  border-left: 2px solid var(--gold-3);
  border-radius: 0 10px 10px 0;
  background: rgba(205, 176, 120, .06);
  font-size: 13px;
  font-style: italic;
  line-height: 1.5;
  color: var(--text-dim);
}
.job__apply {
  margin-top: 17px;
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 13px 20px;
  border: 1px solid var(--line-2);
  border-radius: 12px;
  background: transparent;
  color: var(--gold-2);
  font-family: inherit;
  font-weight: 600;
  font-size: 12.5px;
  letter-spacing: .12em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background .25s var(--ease-out), color .25s, border-color .25s, transform .2s;
}
.job__apply svg { width: 16px; height: 16px; }
.job__apply:hover { background: var(--grad-gold-fill); color: #1b1509; border-color: transparent; }
.job__apply:active { transform: scale(.99); }
.job__apply.done { background: var(--grad-gold-fill); color: #1b1509; border-color: transparent; }

/* ---- Правила ---- */
.rules__intro {
  margin: 2px 0 16px;
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--text-dim);
}
.rule {
  border: 1px solid var(--line);
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(255, 255, 255, .035), rgba(255, 255, 255, .008));
  padding: 18px;
  margin-bottom: 14px;
  opacity: 0;
  transform: translateY(16px);
  animation: cardIn .55s var(--ease-out) forwards;
  animation-delay: calc(var(--d, 0) * 70ms);
}
.rule__head { display: flex; align-items: center; gap: 13px; }
.rule__ic {
  width: 42px; height: 42px;
  flex: none;
  display: grid; place-items: center;
  border: 1px solid var(--line-2);
  border-radius: 12px;
  background: radial-gradient(120% 120% at 50% 0%, rgba(205, 172, 110, .14), transparent 70%), rgba(255, 255, 255, .02);
  color: var(--gold-2);
}
.rule__ic svg { width: 21px; height: 21px; }
.rule__titles { min-width: 0; }
.rule__badge {
  display: inline-block;
  font-size: 9.5px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--gold-3);
}
.rule__name {
  display: block;
  margin-top: 2px;
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.15;
  color: var(--text);
}
.rule__lead {
  margin: 13px 0 0;
  font-size: 13px;
  line-height: 1.55;
  color: var(--text-dim);
}
.rule__list {
  margin: 13px 0 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 11px;
}
.rule__item {
  position: relative;
  padding-left: 26px;
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--text);
}
.rule__item b { font-weight: 600; color: var(--gold-2); }
.rule__list--bullet .rule__item::before {
  content: "";
  position: absolute;
  left: 6px; top: 8px;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--grad-gold-fill);
}
.rule__list--ordered { counter-reset: r; }
.rule__list--ordered .rule__item { counter-increment: r; padding-left: 34px; }
.rule__list--ordered .rule__item::before {
  content: counter(r);
  position: absolute;
  left: 0; top: -1px;
  width: 22px; height: 22px;
  display: grid; place-items: center;
  border: 1px solid var(--line-2);
  border-radius: 50%;
  font-family: "Montserrat", sans-serif;
  font-size: 11px;
  font-weight: 700;
  color: var(--gold-2);
}
.rule-note {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin: 4px 0 6px;
  padding: 16px;
  border: 1px solid var(--gold-line, var(--line-2));
  border-radius: 16px;
  background: radial-gradient(130% 130% at 0% 0%, rgba(205, 172, 110, .14), transparent 62%), rgba(255, 255, 255, .02);
}
.rule-note__ic { flex: none; width: 22px; height: 22px; color: var(--gold-2); margin-top: 1px; }
.rule-note__body { flex: 1; min-width: 0; }
.rule-note__text { font-size: 13px; line-height: 1.55; color: var(--text); margin: 0 0 6px; }
.rule-note__text:last-child { margin-bottom: 0; }

/* ===================== KEYFRAMES ===================== */
@keyframes bgDrift {
  from { transform: scale(1.05) translateY(0); }
  to   { transform: scale(1.1) translateY(-1.5%); }
}
@keyframes spotIn { to { opacity: 1; } }
@keyframes beamIn { to { opacity: 1; } }
@keyframes cardIn { to { opacity: 1; transform: none; } }

/* Intro: keep logo hidden until JS choreographs it */
.js .logo-wrap { opacity: 0; }
body.locked { overflow: hidden; }

/* screen-reader-only live region */
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* ===================== REDUCED MOTION ===================== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .1ms !important;
    animation-delay: 0s !important;
    transition-delay: 0s !important;
  }
  .bg-spot, .beam { opacity: 1 !important; }
  .pcard, .job, .rule { opacity: 1 !important; transform: none !important; }
}
