/* ============================================================
   /cases/primateks — «сайт как кейс» для концепта редизайна
   сайта ателье «Приматекс» (primateks.vercel.app).
   Дизайн-система концепта (primateks/src/app/globals.css),
   перенесённая в ванильный CSS и изолированная под .ptx:
   сырой хлопок, холст, графит, мёд и сигнальный оранжевый
   (только рабочая одежда); Unbounded + Onest + JetBrains Mono;
   соты, пунктирные строчки, бирки, кнопки-пилюли.
   Анимации — transform/opacity (морф сот — clip-path на ховере).
   ============================================================ */
.ptx {
  --ptx-cotton: #f7f1e3;
  --ptx-cotton-2: #f1e9d6;
  --ptx-canvas: #e9e1cf;
  --ptx-canvas-2: #ddd2ba;
  --ptx-ink: #1c1a16;
  --ptx-ink-2: #26231d;
  --ptx-ink-3: #322e26;
  --ptx-muted: #6f675a;
  --ptx-honey: #e8a317;
  --ptx-honey-hi: #f6c453;
  --ptx-honey-deep: #b77a06;
  --ptx-honey-text: #8a5c04; /* мёд для мелкого текста на светлом, 5.2:1 */
  --ptx-signal: #f26a1b;
  --ptx-signal-text: #a8430a; /* сигнальный для мелкого текста на светлом */
  --ptx-paper: #fffcf4;
  --ptx-line: rgb(28 26 22 / 0.14);
  --ptx-line-hi: rgb(28 26 22 / 0.28);
  --ptx-ease: cubic-bezier(0.16, 1, 0.3, 1);
  --ptx-pad: clamp(16px, 2.6vw, 32px);

  position: relative;
  background: var(--ptx-cotton);
  color: var(--ptx-ink);
  font-family: var(--ptx-font-text), system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
  color-scheme: light;
  overflow-x: clip;
}
.ptx *,
.ptx *::before,
.ptx *::after { box-sizing: border-box; }
.ptx :where(a) { color: inherit; text-decoration: none; }
.ptx :where(h1, h2, h3, p, ul, ol, figure, figcaption) { margin: 0; padding: 0; }
.ptx :where(ul, ol) { list-style: none; }
.ptx :where(button) { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
.ptx img { max-width: 100%; }
.ptx [id] { scroll-margin-top: calc(var(--site-top, 72px) + 16px); }
.ptx ::selection { background: var(--ptx-honey); color: var(--ptx-ink); }
.ptx :focus-visible { outline: 2px dashed var(--ptx-honey-deep); outline-offset: 4px; border-radius: 4px; }
.ptx-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.ptx-container { width: 100%; max-width: 1440px; margin-inline: auto; padding-inline: var(--ptx-pad); }
.ptx-section { position: relative; padding-block: clamp(88px, 9vw, 136px); }
.ptx-section-tight { padding-block: clamp(72px, 7vw, 112px); }
/* фон-соты (едва заметные), как .honeycomb-bg концепта */
.ptx-comb {
  background-color: var(--ptx-cotton);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='97' viewBox='0 0 56 97'%3E%3Cpath d='M28 0l28 16v32L28 64 0 48V16zM28 64v33M0 16L-28 0M56 16l28-16' fill='none' stroke='%231c1a16' stroke-opacity='.06' stroke-width='1'/%3E%3C/svg%3E");
  background-size: 56px 97px;
}
.ptx-dark {
  --ptx-line: rgb(247 241 227 / 0.14);
  --ptx-line-hi: rgb(247 241 227 / 0.28);
  background: var(--ptx-ink);
  color: var(--ptx-cotton);
}

/* ---------- Типографика ---------- */
.ptx-display { font-family: var(--ptx-font-display), 'Arial Black', sans-serif; font-weight: 800; letter-spacing: -0.045em; line-height: 0.92; }
.ptx-mono { font-family: var(--ptx-font-mono), ui-monospace, monospace; }
.ptx-eyebrow { font-family: var(--ptx-font-mono), ui-monospace, monospace; font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; }
.ptx-head-k { color: var(--ptx-honey-text); }
.ptx-dark .ptx-head-k { color: var(--ptx-honey); }
.ptx-signal-t { color: var(--ptx-signal-text) !important; }
.ptx-dark .ptx-signal-t { color: var(--ptx-signal) !important; }
.ptx-honey-t { color: var(--ptx-honey-deep); }
.ptx-dark .ptx-honey-t { color: var(--ptx-honey); }
.ptx-h1 { font-size: clamp(48px, 7.4vw, 124px); }
.ptx-h2 { font-size: clamp(38px, 5.6vw, 92px); }
.ptx-body { font-size: 16px; line-height: 1.65; color: rgb(28 26 22 / 0.75); }
.ptx-mask-line { display: block; overflow: hidden; padding-bottom: 0.08em; margin-bottom: -0.04em; }
.ptx-mask-line > span { display: block; }
.ptx-note { margin-top: 20px; font-size: 13px; color: var(--ptx-muted); }
.ptx-dark .ptx-note { color: rgb(247 241 227 / 0.5); }
.ptx-link-stitch {
  background-image: linear-gradient(90deg, currentColor 0 60%, transparent 60% 100%);
  background-size: 8px 1.5px;
  background-repeat: repeat-x;
  background-position: 0 100%;
  padding-bottom: 2px;
}

/* Бирка: моно, пунктирная строчка по краю */
.ptx-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  padding: 0.35em 0.75em;
  font-family: var(--ptx-font-mono), ui-monospace, monospace;
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border: 1px dashed currentColor;
  border-radius: 3px;
  white-space: nowrap;
}
.ptx-tag-honey { color: var(--ptx-honey-text); }
.ptx-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--ptx-honey); }
.ptx-stitch-box { position: absolute; inset: 9px; border: 1.5px dashed var(--ptx-cotton); border-radius: inherit; opacity: 0.45; pointer-events: none; }

/* Логотип */
.ptx-logo { display: inline-flex; align-items: center; gap: 10px; }
.ptx-logo-mark { width: 36px; height: 36px; flex-shrink: 0; transition: transform 0.6s var(--ptx-ease); }
a:hover > .ptx-logo .ptx-logo-mark { transform: rotate(60deg); }
.ptx-logo-txt { display: grid; line-height: 1; }
.ptx-logo-name { font-family: var(--ptx-font-display), sans-serif; font-weight: 800; font-size: 18px; letter-spacing: -0.04em; }
.ptx-logo-sub { margin-top: 4px; font-family: var(--ptx-font-mono), monospace; font-size: 9px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--ptx-muted); }
.ptx-logo-hex { display: inline-block; width: 18px; height: 20px; background: var(--ptx-honey); clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%); }

/* ---------- Кнопки (.btn концепта): пилюли ---------- */
.ptx-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6em;
  min-height: 54px;
  padding: 0 1.75rem;
  border-radius: 999px;
  font-family: var(--ptx-font-text), sans-serif;
  font-weight: 600;
  font-size: 15px;
  letter-spacing: -0.005em;
  white-space: nowrap;
  transition: background-color 0.35s var(--ptx-ease), color 0.35s var(--ptx-ease), box-shadow 0.35s var(--ptx-ease), border-color 0.35s, transform 0.2s;
}
.ptx-btn:active { transform: scale(0.97); }
.ptx-btn-sm { min-height: 42px; padding: 0 1.2rem; font-size: 14px; }
.ptx-btn-block { width: 100%; }
.ptx .ptx-btn-honey { background: var(--ptx-honey); color: var(--ptx-ink); box-shadow: inset 0 -2px 0 rgb(0 0 0 / 0.12); }
.ptx .ptx-btn-honey:hover { background: var(--ptx-honey-hi); box-shadow: inset 0 -2px 0 rgb(0 0 0 / 0.12), 0 10px 30px -10px rgb(232 163 23 / 0.8); }
.ptx .ptx-btn-ink { background: var(--ptx-ink); color: var(--ptx-cotton); }
.ptx .ptx-btn-ink:hover { background: var(--ptx-ink-3); }
.ptx .ptx-btn-ghost { border: 1.5px solid var(--ptx-line-hi); color: var(--ptx-ink); background: rgb(247 241 227 / 0.6); }
.ptx .ptx-btn-ghost:hover { border-color: var(--ptx-ink); }
.ptx .ptx-btn-ghost-light { border: 1.5px solid rgb(247 241 227 / 0.25); color: var(--ptx-cotton); }
.ptx .ptx-btn-ghost-light:hover { border-color: var(--ptx-cotton); }

/* Чипы */
.ptx-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.ptx-chip { display: inline-flex; align-items: center; justify-content: center; min-width: 3rem; height: 2.75rem; padding: 0 1rem; border-radius: 12px; border: 1.5px solid var(--ptx-line); font-family: var(--ptx-font-mono), monospace; font-size: 14px; transition: border-color 0.25s, background-color 0.25s, color 0.25s; }
.ptx-chip:hover { border-color: var(--ptx-ink); }
.ptx-chip[aria-checked='true'] { background: var(--ptx-ink); border-color: var(--ptx-ink); color: var(--ptx-cotton); }

/* ---------- HERO ---------- */
.ptx-hero {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: center;
  min-height: 100vh;
  min-height: 100svh;
  padding: calc(var(--site-top, 72px) + 72px) 0 120px;
  overflow: hidden;
  touch-action: pan-y;
}
.ptx-site-header { position: absolute; top: var(--site-top, 72px); left: 0; right: 0; z-index: 6; }
.ptx-site-header-in { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 72px; }
.ptx-site-nav { display: flex; gap: 28px; margin-left: auto; margin-right: 8px; font-size: 15px; color: rgb(28 26 22 / 0.8); }
.ptx-site-nav a { transition: color 0.2s; }
.ptx-site-nav a:hover { color: var(--ptx-honey-text); }
.ptx-hero-glow { position: absolute; top: 12%; right: -12%; z-index: -1; width: 60vw; height: 70vh; border-radius: 50%; background: radial-gradient(closest-side, rgb(232 163 23 / 0.28), transparent); pointer-events: none; }

.ptx-hero-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 24px; align-items: center; width: 100%; }
.ptx-hero-copy { position: relative; z-index: 3; }
.ptx-back { display: table; margin-bottom: 20px; font-size: 13px; color: var(--ptx-muted) !important; }
.ptx-back:hover { color: var(--ptx-ink) !important; }
.ptx-hero-tag { margin-bottom: 28px; color: var(--ptx-honey-text); }
.ptx-hero-lead { max-width: 34rem; margin-top: 28px; font-size: 18px; line-height: 1.6; color: rgb(28 26 22 / 0.78); }
.ptx-hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; position: relative; z-index: 3; }
.ptx-hero-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 40px; color: rgb(28 26 22 / 0.72); }

.ptx-hero-art { position: relative; width: 100%; padding-left: 32px; }
.ptx-arch { position: relative; z-index: 1; aspect-ratio: 4 / 5; overflow: hidden; border-radius: 999px 999px 28px 28px; background: var(--ptx-canvas); box-shadow: 0 40px 80px -40px rgb(28 26 22 / 0.45); }
.ptx-arch img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 78% 50%; }
.ptx-hero-card { position: absolute; left: 0; bottom: -20px; z-index: 3; display: flex; align-items: center; gap: 12px; padding: 10px 16px 10px 12px; border-radius: 16px; background: rgb(247 241 227 / 0.95); box-shadow: 0 10px 30px -10px rgb(28 26 22 / 0.35); transition: transform 0.3s var(--ptx-ease); }
.ptx-hero-card:hover { transform: translateY(-4px); }
.ptx-hero-card b { display: block; font-size: 14px; font-weight: 600; }
.ptx-hero-card .ptx-mono { display: block; font-size: 12px; color: var(--ptx-muted); }
.ptx-hero-card-badge { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--ptx-honey); font-family: var(--ptx-font-mono), monospace; font-size: 9px; font-weight: 500; }

.ptx-swarm { position: absolute; inset: 0; z-index: 2; width: 100%; height: 100%; pointer-events: none; opacity: 0; transition: opacity 1s; }
.ptx-swarm.is-on { opacity: 1; }

.ptx-game { position: absolute; left: 50%; bottom: 24px; z-index: 4; display: flex; flex-direction: column; align-items: center; gap: 8px; width: calc(100% - 32px); max-width: 560px; transform: translateX(-50%); animation: ptx-fade 0.8s var(--ptx-ease) both; }
.ptx-game-bar { display: flex; align-items: center; gap: 4px; padding: 4px; border-radius: 999px; background: var(--ptx-ink); color: var(--ptx-cotton); font-size: 13px; box-shadow: 0 16px 40px -16px rgb(28 26 22 / 0.6); }
.ptx-game-bar button { padding: 8px 16px; border-radius: 999px; font-weight: 500; color: rgb(247 241 227 / 0.72); transition: background-color 0.35s var(--ptx-ease), color 0.35s; }
.ptx-game-bar button:hover { color: var(--ptx-cotton); }
.ptx-game-bar button[aria-pressed='true'] { background: var(--ptx-honey); color: var(--ptx-ink); }
.ptx-game-count { padding: 0 12px; font-family: var(--ptx-font-mono), monospace; font-size: 12px; color: rgb(247 241 227 / 0.82); font-variant-numeric: tabular-nums; white-space: nowrap; }
.ptx-game-hint { font-family: var(--ptx-font-mono), monospace; font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase; text-align: center; color: rgb(28 26 22 / 0.6); }
.ptx-game-card { position: absolute; top: 50%; left: 50%; z-index: 5; width: calc(100% - 32px); max-width: 440px; padding: 28px; border-radius: 28px; background: var(--ptx-ink); color: var(--ptx-cotton); text-align: center; box-shadow: 0 30px 80px -20px rgb(0 0 0 / 0.5); transform: translate(-50%, -50%); animation: ptx-pop 0.5s var(--ptx-ease) both; }
.ptx-game-card-k { color: var(--ptx-honey); }
.ptx-game-card-t { margin-top: 12px; font-size: 28px; line-height: 1.05; }
.ptx-game-card-d { margin-top: 14px; font-size: 14px; color: rgb(247 241 227 / 0.7); }
.ptx-game-card-a { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 22px; }

@keyframes ptx-up { from { transform: translateY(105%); } to { transform: none; } }
@keyframes ptx-fade { from { opacity: 0; transform: translate(-50%, 16px); } to { opacity: 1; transform: translate(-50%, 0); } }
@keyframes ptx-rise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@keyframes ptx-pop { from { opacity: 0; transform: translate(-50%, -50%) scale(0.92); } to { opacity: 1; transform: translate(-50%, -50%); } }
@keyframes ptx-art { from { opacity: 0; transform: translateY(40px) scale(0.97); } to { opacity: 1; transform: none; } }
.ptx-rise-line { animation: ptx-up 1.1s var(--ptx-ease) 0.1s both; }
.ptx-rise { animation: ptx-rise 0.9s var(--ptx-ease) 0.5s both; }
.ptx-rise-art { animation: ptx-art 1.3s var(--ptx-ease) 0.2s both; }

/* ---------- Бегущая медовая лента ---------- */
.ptx-marquee { position: relative; overflow: hidden; padding: 14px 0; background: var(--ptx-honey); color: var(--ptx-ink); border-block: 1px solid var(--ptx-honey-deep); }
.ptx-marquee-track { display: flex; width: max-content; animation: ptx-marquee 40s linear infinite; }
.ptx-marquee-track > span { display: flex; }
.ptx-marquee-item { display: inline-flex; align-items: center; gap: 40px; padding-right: 40px; font-family: var(--ptx-font-mono), monospace; font-size: 12px; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; white-space: nowrap; }
.ptx-marquee-item i { width: 8px; height: 9px; background: var(--ptx-ink); clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%); }
@keyframes ptx-marquee { to { transform: translateX(-50%); } }

/* ---------- Шапка секции ---------- */
.ptx-head { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 24px 48px; align-items: end; margin-bottom: clamp(44px, 5vw, 72px); }
.ptx-head .ptx-head-k { margin-bottom: 20px; }
.ptx-head-lead { max-width: 34rem; padding-bottom: 8px; font-size: 17px; line-height: 1.6; color: rgb(28 26 22 / 0.75); }
.ptx-dark .ptx-head-lead { color: rgb(247 241 227 / 0.72); }

/* ---------- 01 Было / стало ---------- */
.ptx-ba { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(20px, 3vw, 40px); }
.ptx-ba-card { display: grid; gap: 18px; align-content: start; }
.ptx-ba-shot { position: relative; display: block; overflow: hidden; border-radius: 22px; border: 1px solid var(--ptx-line); background: var(--ptx-canvas); box-shadow: 0 30px 60px -40px rgb(28 26 22 / 0.5); }
.ptx-ba-shot img { display: block; width: 100%; height: auto; transition: transform 1.2s var(--ptx-ease); }
a.ptx-ba-shot:hover img { transform: scale(1.03); }
.ptx-ba-card figcaption { display: grid; justify-items: start; gap: 10px; padding-inline: 4px; }
.ptx-ba-card .ptx-tag { color: var(--ptx-muted); }
.ptx-ba-card .ptx-tag-honey { color: var(--ptx-honey-text); }
.ptx-ba-note { font-size: 12px; color: var(--ptx-muted); }
.ptx-ba-text { max-width: 44ch; font-size: 16px; line-height: 1.6; color: rgb(28 26 22 / 0.8); }
.ptx-points { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; margin-top: clamp(56px, 6vw, 88px); }
.ptx-points li { padding-top: 22px; background-image: linear-gradient(90deg, var(--ptx-ink) 0 60%, transparent 60% 100%); background-size: 10px 2px; background-repeat: repeat-x; background-position: 0 0; }
.ptx-points-n { display: block; margin-bottom: 14px; font-size: 12px; color: var(--ptx-honey-text); }
.ptx-dark .ptx-points-n { color: var(--ptx-honey); }
.ptx-points h3, .ptx-how-list h3 { font-family: var(--ptx-font-display), sans-serif; font-weight: 700; font-size: 19px; letter-spacing: -0.03em; line-height: 1.2; }
.ptx-points p, .ptx-how-list p { margin-top: 10px; font-size: 15px; line-height: 1.6; color: rgb(28 26 22 / 0.72); }

/* ---------- Шов по скроллу ---------- */
.ptx-seam { position: relative; z-index: 1; height: 48px; margin-inline: var(--ptx-pad); color: var(--ptx-honey-deep); pointer-events: none; }
.ptx-seam-win { position: absolute; inset: -6px 0; overflow: hidden; transform: translateX(calc((var(--p, 1) - 1) * 100%)); will-change: transform; }
.ptx-seam-in { position: absolute; inset: 6px 0; transform: translateX(calc((1 - var(--p, 1)) * 100%)); will-change: transform; }
.ptx-seam svg { display: block; width: 100%; height: 100%; overflow: visible; filter: drop-shadow(0 8px 16px rgb(232 163 23 / 0.25)); }
.ptx-needle { position: absolute; top: 0; left: 0; width: 0; height: 0; opacity: 0; transition: opacity 0.3s; }
.ptx-needle svg { position: absolute; top: -7px; left: -46px; transform: rotate(-24deg); transform-origin: right center; }

/* ---------- Медовая кромка ---------- */
.ptx-drip { position: relative; z-index: 1; height: clamp(96px, 12vw, 180px); background: linear-gradient(var(--ptx-cotton) 0 22%, var(--ptx-ink) 22%); pointer-events: none; }
.ptx-drip svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.ptx-drip-stem { transform-box: fill-box; transform-origin: 50% 0; transform: scaleY(0.05); }
.ptx-drip-tip { transform-box: fill-box; }

/* ---------- 02 Брендбук ---------- */
.ptx-bb { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 460px); gap: clamp(32px, 5vw, 72px); align-items: start; }
.ptx-swatches { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; }
.ptx-swatch { position: relative; display: grid; gap: 4px; padding: 8px 8px 14px; text-align: left; border-radius: 18px; border: 1.5px solid var(--ptx-line); background: rgb(255 255 255 / 0.4); transition: border-color 0.3s, background-color 0.3s; }
.ptx-swatch:hover { border-color: var(--ptx-ink); }
.ptx-swatch[aria-selected='true'] { border-color: var(--ptx-ink); background: var(--ptx-paper); }
.ptx-swatch-chip { display: block; height: 120px; margin-bottom: 8px; border-radius: 12px; border: 1px solid var(--ptx-line); clip-path: polygon(50% 0, 100% 18%, 100% 82%, 50% 100%, 0 82%, 0 18%); transition: clip-path 0.6s var(--ptx-ease); }
.ptx-swatch[aria-selected='true'] .ptx-swatch-chip { clip-path: polygon(50% 0, 100% 0, 100% 100%, 50% 100%, 0 100%, 0 0); }
.ptx-swatch-name { font-size: 14px; font-weight: 600; line-height: 1.25; }
.ptx-swatch-hex { font-size: 11px; color: var(--ptx-muted); }
.ptx-swatch-roles { display: grid; margin-top: 24px; }
.ptx-swatch-roles p {
  grid-area: 1 / 1;
  max-width: 60ch;
  padding-left: 16px;
  border-left: 2px dashed var(--ptx-honey-deep);
  font-size: 16px;
  color: rgb(28 26 22 / 0.78);
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: opacity 0.35s, transform 0.35s var(--ptx-ease), visibility 0s 0.35s;
}
.ptx[data-hl='all'] [data-role='all'],
.ptx[data-hl='cotton'] [data-role='cotton'],
.ptx[data-hl='ink'] [data-role='ink'],
.ptx[data-hl='honey'] [data-role='honey'],
.ptx[data-hl='canvas'] [data-role='canvas'],
.ptx[data-hl='signal'] [data-role='signal'] { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }

.ptx-types { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin-top: 48px; padding-top: 28px; border-top: 1px solid var(--ptx-line); }
.ptx-type-sample { min-height: 2.4em; font-size: 22px; line-height: 1.15; }
.ptx-type-sample.ptx-display { font-size: 30px; line-height: 1; }
.ptx-type-text { font-weight: 500; }
.ptx-type-mono { font-family: var(--ptx-font-mono), monospace; font-size: 16px; letter-spacing: 0.04em; }
.ptx-type-name { margin-top: 14px; font-size: 12px; color: var(--ptx-honey-text); }
.ptx-type-role { margin-top: 6px; font-size: 14px; line-height: 1.55; color: rgb(28 26 22 / 0.72); }

/* демо-карточка: фоны отдельными span, чтобы гасить цвет, а не детей */
.ptx-bbs { position: relative; display: grid; gap: 18px; padding: clamp(20px, 2.4vw, 28px); border-radius: 28px; border: 1.5px solid var(--ptx-line-hi); overflow: hidden; }
.ptx-bbs > :not(.ptx-bbs-bg) { position: relative; }
.ptx-bbs-bg { position: absolute; inset: 0; background-color: var(--ptx-cotton); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='97' viewBox='0 0 56 97'%3E%3Cpath d='M28 0l28 16v32L28 64 0 48V16zM28 64v33M0 16L-28 0M56 16l28-16' fill='none' stroke='%231c1a16' stroke-opacity='.08' stroke-width='1'/%3E%3C/svg%3E"); background-size: 56px 97px; }
.ptx-bbs-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.ptx-bbs-prod { display: grid; justify-items: center; gap: 6px; text-align: center; }
.ptx-bbs-hex { position: relative; display: block; width: 100%; aspect-ratio: 4 / 5; overflow: hidden; background: var(--ptx-canvas); clip-path: polygon(50% 0, 98% 22%, 98% 78%, 50% 100%, 2% 78%, 2% 22%); }
.ptx-bbs-hex img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ptx-bbs-sig { margin-top: 6px; padding: 3px 8px; border: 1px dashed currentColor; border-radius: 3px; font-family: var(--ptx-font-mono), monospace; font-size: 10px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ptx-signal-text); }
.ptx-bbs-sig-honey { color: var(--ptx-honey-text); }
.ptx-bbs-name { font-size: 14px; font-weight: 600; }
.ptx-bbs-price { font-size: 13px; }
.ptx-bbs-sum { display: grid; gap: 8px; padding: 22px; color: var(--ptx-cotton); }
.ptx-bbs-sum > :not(.ptx-bbs-sum-bg) { position: relative; }
.ptx-bbs-sum-bg { position: absolute; inset: 0; border-radius: 22px; background: var(--ptx-ink); }
.ptx-bbs-sum-k { font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--ptx-honey); }
.ptx-bbs-line { display: flex; align-items: baseline; gap: 10px; font-size: 13px; }
.ptx-bbs-line i { flex: 1; border-bottom: 1px dashed rgb(247 241 227 / 0.25); }
.ptx-bbs-total { justify-self: end; margin-top: 6px; font-size: 40px; color: var(--ptx-honey); }
.ptx-bbs-btn { position: relative; display: grid; place-items: center; height: 46px; font-size: 14px; font-weight: 600; color: var(--ptx-ink); }
.ptx-bbs-btn > span:last-child { position: relative; }
.ptx-bbs-btn-bg { position: absolute; inset: 0; border-radius: 999px; background: var(--ptx-honey); }
.ptx-bbs [data-c] { transition: opacity 0.35s; }
.ptx[data-hl='cotton'] .ptx-bbs [data-c]:not([data-c~='cotton']),
.ptx[data-hl='ink'] .ptx-bbs [data-c]:not([data-c~='ink']),
.ptx[data-hl='honey'] .ptx-bbs [data-c]:not([data-c~='honey']),
.ptx[data-hl='canvas'] .ptx-bbs [data-c]:not([data-c~='canvas']),
.ptx[data-hl='signal'] .ptx-bbs [data-c]:not([data-c~='signal']) { opacity: 0.12; }
/* хлопок — это и текст на графите: подложку графита гасим не до конца */
.ptx[data-hl='cotton'] .ptx-bbs .ptx-bbs-sum-bg { opacity: 0.55; }

/* ---------- 03 Экраны: карточки-соты ---------- */
.ptx-screens { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(28px, 3vw, 44px) clamp(20px, 2.4vw, 32px); }
.ptx-hex { display: block; }
.ptx-hex-shape { position: relative; display: block; overflow: hidden; background: var(--ptx-canvas); }
.ptx-hex-wide .ptx-hex-shape { aspect-ratio: 16 / 10; clip-path: polygon(10% 0, 90% 0, 100% 50%, 90% 100%, 10% 100%, 0 50%); transition: clip-path 0.8s var(--ptx-ease); }
.ptx-hex:hover .ptx-hex-shape,
.ptx-hex:focus-visible .ptx-hex-shape { clip-path: polygon(0 0, 100% 0, 100% 50%, 100% 100%, 0 100%, 0 50%); }
.ptx-hex-img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 0; transition: transform 1.2s var(--ptx-ease); }
.ptx-hex:hover .ptx-hex-img { transform: scale(1.03); }
.ptx-hex-tag { position: absolute; top: 14px; left: 50%; background: rgb(247 241 227 / 0.9); color: var(--ptx-ink); opacity: 0; transform: translate(-50%, 18px); transition: opacity 0.5s var(--ptx-ease), transform 0.5s var(--ptx-ease); }
.ptx-hex:hover .ptx-hex-tag, .ptx-hex:focus-visible .ptx-hex-tag { opacity: 1; transform: translate(-50%, 0); }
.ptx-lens { position: absolute; top: 0; left: 0; width: 150px; height: 150px; overflow: hidden; border-radius: 50%; box-shadow: 0 0 0 2px rgb(247 241 227 / 0.9), 0 20px 40px -10px rgb(0 0 0 / 0.45); opacity: 0; pointer-events: none; transition: opacity 0.3s; will-change: transform; }
.ptx-lens-in { position: absolute; top: 0; left: 0; background-size: 100% 100%; background-color: var(--ptx-canvas); will-change: transform; }
.ptx-hex:hover .ptx-lens { opacity: 1; }
@media (hover: none) { .ptx-lens { display: none; } }
.ptx-hex-cap { display: grid; justify-items: center; gap: 6px; margin-top: 18px; padding-inline: 8px; text-align: center; }
.ptx-hex-t { font-size: 17px; font-weight: 600; line-height: 1.3; transition: color 0.25s; }
.ptx-hex:hover .ptx-hex-t { color: var(--ptx-honey-text); }
.ptx-hex-d { max-width: 40ch; font-size: 14px; line-height: 1.5; color: var(--ptx-muted); }
.ptx-hex-p { font-size: 12px; color: rgb(28 26 22 / 0.7); }

.ptx-phones { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 40px; align-items: center; margin-top: clamp(72px, 8vw, 112px); padding: clamp(28px, 4vw, 56px); border-radius: 32px; background: var(--ptx-canvas); }
.ptx-phones-t { margin-bottom: 16px; font-size: clamp(30px, 3.4vw, 52px); }
.ptx-phones-row { display: flex; justify-content: center; gap: clamp(16px, 3vw, 40px); }
.ptx-phone { display: grid; justify-items: center; gap: 12px; width: min(220px, 42%); }
.ptx-phone:nth-child(2) { margin-top: 48px; }
.ptx-phone-frame { display: block; width: 100%; overflow: hidden; border: 7px solid var(--ptx-ink); border-radius: 34px; background: var(--ptx-ink); box-shadow: 0 30px 60px -30px rgb(28 26 22 / 0.6); }
.ptx-phone-frame img { display: block; width: 100%; height: auto; border-radius: 27px; }
.ptx-phone figcaption { font-size: 11px; letter-spacing: 0.14em; color: var(--ptx-muted); }

/* ---------- 04 Фото изделий ---------- */
.ptx-prods { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 40px clamp(16px, 2vw, 28px); }
.ptx-prod:nth-child(4n + 2), .ptx-prod:nth-child(4n + 4) { margin-top: 56px; }
.ptx-prod-hex { position: relative; display: block; aspect-ratio: 4 / 5; overflow: hidden; background: var(--ptx-canvas); clip-path: polygon(50% 0, 98% 22%, 98% 78%, 50% 100%, 2% 78%, 2% 22%); transition: clip-path 0.8s var(--ptx-ease); }
.ptx-prod:hover .ptx-prod-hex { clip-path: polygon(50% 0, 100% 0, 100% 100%, 50% 100%, 0 100%, 0 0); }
.ptx-prod-hex img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ptx-ease); }
.ptx-prod:hover .ptx-prod-hex img { transform: scale(1.04); }
.ptx-prod-tag { position: absolute; top: 16px; left: 50%; background: rgb(247 241 227 / 0.88); color: var(--ptx-ink); opacity: 0; transform: translate(-50%, 24px); transition: opacity 0.5s var(--ptx-ease), transform 0.5s var(--ptx-ease); }
.ptx-prod:hover .ptx-prod-tag { opacity: 1; transform: translate(-50%, 0); }
.ptx-prod figcaption { display: grid; justify-items: center; gap: 4px; margin-top: 14px; text-align: center; }
.ptx-prod-cat { font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ptx-muted); }
.ptx-prod-name { font-size: 15px; font-weight: 600; line-height: 1.3; }

/* ---------- 05 Как собирали ---------- */
.ptx-how-sec { background: var(--ptx-cotton-2); }
.ptx-how { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.ptx-how-photo { position: relative; aspect-ratio: 4 / 3; overflow: hidden; border-radius: 28px; }
.ptx-how-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 40% 50%; }
.ptx-how-tag { position: absolute; left: 20px; bottom: 20px; background: rgb(247 241 227 / 0.9); color: var(--ptx-ink); }
.ptx-how .ptx-h2 { margin-top: 20px; }
.ptx-how-list { display: grid; gap: 0; margin-top: 40px; }
.ptx-how-list li { display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 8px; padding: 22px 0; border-top: 1px solid var(--ptx-line); }
.ptx-how-list li .ptx-points-n { margin: 3px 0 0; }
.ptx-how-list p { margin-top: 8px; }

/* ---------- 06 Конструктор сайта ---------- */
.ptx-kit { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(32px, 4vw, 56px); align-items: start; }
.ptx-kit-steps { display: grid; gap: 44px; }
.ptx-kit-k { margin-bottom: 16px; color: var(--ptx-muted); }
.ptx-kit-bases { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.ptx-kit-base { display: grid; gap: 4px; padding: 8px 8px 14px; text-align: left; border-radius: 22px; border: 1.5px solid var(--ptx-line); background: rgb(255 255 255 / 0.4); transition: background-color 0.5s var(--ptx-ease), border-color 0.3s, color 0.5s; }
.ptx-kit-base:hover { border-color: var(--ptx-ink); }
.ptx-kit-base[aria-pressed='true'] { background: var(--ptx-ink); border-color: var(--ptx-ink); color: var(--ptx-cotton); }
.ptx-kit-base-img { position: relative; display: block; aspect-ratio: 4 / 3; overflow: hidden; margin-bottom: 8px; border-radius: 15px; background: var(--ptx-canvas); }
.ptx-kit-base-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 0; transition: transform 0.7s var(--ptx-ease); }
.ptx-kit-base:hover .ptx-kit-base-img img { transform: scale(1.05); }
.ptx-kit-base-t { padding-inline: 4px; font-size: 15px; font-weight: 600; line-height: 1.25; }
.ptx-kit-base-d { padding-inline: 4px; font-size: 12px; opacity: 0.7; }
.ptx-kit-extras { display: grid; gap: 10px; }
.ptx-kit-extra { display: flex; align-items: center; gap: 16px; width: 100%; padding: 10px 14px 10px 10px; text-align: left; border-radius: 18px; border: 1.5px solid var(--ptx-line); background: rgb(255 255 255 / 0.4); transition: border-color 0.3s, background-color 0.3s; }
.ptx-kit-extra:hover, .ptx-kit-extra[aria-checked='true'] { border-color: var(--ptx-ink); }
.ptx-kit-extra[aria-checked='true'] { background: rgb(255 255 255 / 0.8); }
.ptx-kit-extra-img { position: relative; flex-shrink: 0; width: 48px; height: 56px; overflow: hidden; background: var(--ptx-canvas); clip-path: polygon(50% 0, 97% 25%, 97% 75%, 50% 100%, 3% 75%, 3% 25%); }
.ptx-kit-extra-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ptx-kit-extra-txt { display: grid; flex: 1; min-width: 0; }
.ptx-kit-extra-t { font-size: 15px; font-weight: 600; }
.ptx-kit-extra-d { font-size: 13px; color: var(--ptx-muted); }
.ptx-kit-box { display: grid; place-items: center; flex-shrink: 0; width: 24px; height: 24px; border-radius: 6px; border: 1.5px solid var(--ptx-line-hi); color: var(--ptx-honey); transition: background-color 0.25s, border-color 0.25s; }
.ptx-kit-extra[aria-checked='true'] .ptx-kit-box { background: var(--ptx-ink); border-color: var(--ptx-ink); }
.ptx-kit-note { margin-top: 12px; max-width: 46ch; font-size: 13px; color: var(--ptx-muted); }
.ptx-kit-sum { position: sticky; top: calc(var(--site-top, 72px) + 24px); padding: 8px; border-radius: 30px; background: var(--ptx-ink); color: var(--ptx-cotton); box-shadow: 0 40px 80px -40px rgb(28 26 22 / 0.6); }
.ptx-kit-sum-in { position: relative; padding: 24px; border-radius: 24px; border: 1.5px dashed rgb(247 241 227 / 0.2); }
.ptx-kit-sum-k { color: var(--ptx-honey); }
.ptx-kit-sum-size { margin-top: 4px; font-size: 12px; color: rgb(247 241 227 / 0.55); }
.ptx-kit-lines { display: grid; gap: 10px; margin-top: 22px; }
.ptx-kit-lines li { display: flex; align-items: baseline; gap: 10px; font-size: 14px; animation: ptx-rise 0.45s var(--ptx-ease) both; }
.ptx-kit-lines li > span { min-width: 0; }
.ptx-kit-lines i { flex: 1; min-width: 16px; border-bottom: 1px dashed rgb(247 241 227 / 0.22); }
.ptx-kit-lines b { flex-shrink: 0; font-weight: 400; font-size: 12px; color: var(--ptx-honey); }
.ptx-kit-total { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin: 24px 0 20px; padding-top: 20px; border-top: 1px solid rgb(247 241 227 / 0.14); }
.ptx-kit-total > span:first-child { color: rgb(247 241 227 / 0.65); }
.ptx-kit-total-n { font-size: clamp(30px, 3vw, 44px); color: var(--ptx-honey); }
.ptx-kit-sum-note { margin-top: 14px; font-size: 12px; text-align: center; color: rgb(247 241 227 / 0.55); }
@keyframes ptx-tick { from { opacity: 0.2; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.ptx-tick { display: inline-block; animation: ptx-tick 0.45s var(--ptx-ease) both; }

/* ---------- 07 Путь заказа + админка ---------- */
.ptx-op { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(20px, 3vw, 40px); align-items: start; }
.ptx-op-co { min-height: 100%; padding: clamp(20px, 2.4vw, 32px); border-radius: 28px; border: 1px solid var(--ptx-line); background: rgb(255 255 255 / 0.04); }
.ptx-op-k { margin: 22px 0 12px; color: rgb(247 241 227 / 0.55); }
.ptx-op-k:first-child { margin-top: 0; }
.ptx-op-item { display: flex; align-items: center; gap: 14px; }
.ptx-op-item-img { position: relative; flex-shrink: 0; width: 52px; height: 60px; overflow: hidden; clip-path: polygon(50% 0, 97% 25%, 97% 75%, 50% 100%, 3% 75%, 3% 25%); background: var(--ptx-canvas); }
.ptx-op-item-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ptx-op-item-t { flex: 1; min-width: 0; font-size: 15px; font-weight: 500; }
.ptx-op-qty { display: inline-flex; align-items: center; gap: 4px; padding: 3px; border-radius: 999px; border: 1px solid var(--ptx-line-hi); }
.ptx-op-qty button { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; font-size: 18px; transition: background-color 0.2s; }
.ptx-op-qty button:hover { background: rgb(247 241 227 / 0.1); }
.ptx-op-qty .ptx-mono { min-width: 18px; text-align: center; }
.ptx-op-opts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.ptx-op-opt { display: flex; align-items: flex-start; gap: 10px; padding: 14px; text-align: left; border-radius: 18px; border: 1.5px solid var(--ptx-line); transition: border-color 0.25s, background-color 0.25s; }
.ptx-op-opt:hover { border-color: var(--ptx-line-hi); }
.ptx-op-opt[aria-checked='true'] { border-color: var(--ptx-honey); background: rgb(232 163 23 / 0.08); }
.ptx-op-opt b { display: block; font-size: 14px; font-weight: 600; }
.ptx-op-opt small { display: block; margin-top: 3px; font-size: 12px; line-height: 1.4; color: rgb(247 241 227 / 0.6); }
.ptx-op-dot { flex-shrink: 0; width: 18px; height: 18px; margin-top: 1px; border-radius: 50%; border: 1.5px solid var(--ptx-line-hi); transition: box-shadow 0.25s, border-color 0.25s; }
.ptx-op-opt[aria-checked='true'] .ptx-op-dot { border-color: var(--ptx-honey); box-shadow: inset 0 0 0 4px var(--ptx-ink), inset 0 0 0 9px var(--ptx-honey); }
.ptx-op-total { display: flex; align-items: baseline; justify-content: space-between; margin: 24px 0 16px; padding-top: 18px; border-top: 1px solid var(--ptx-line); }
.ptx-op-total > span:first-child { color: rgb(247 241 227 / 0.65); }
.ptx-op-total .ptx-display { font-size: 34px; }
.ptx-op-fine { margin-top: 12px; font-size: 12px; text-align: center; color: rgb(247 241 227 / 0.5); }
.ptx-op-done { display: grid; justify-items: center; padding-block: 24px; text-align: center; animation: ptx-rise 0.5s var(--ptx-ease) both; }
.ptx-op-done-hex { display: grid; place-items: center; width: 64px; height: 72px; margin-bottom: 18px; background: var(--ptx-honey); color: var(--ptx-ink); clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%); }
.ptx-op-done-hex svg { width: 26px; height: 26px; }
.ptx-op-done .ptx-op-k { margin: 0 0 10px; color: var(--ptx-honey); }
.ptx-op-done-n { font-size: clamp(40px, 4vw, 56px); }
.ptx-op-done-d { max-width: 34ch; margin-top: 14px; font-size: 15px; color: rgb(247 241 227 / 0.75); }
.ptx-op-done-a { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 22px; }

.ptx-adm { padding: clamp(16px, 2vw, 24px); border-radius: 24px; background: var(--ptx-paper); color: var(--ptx-ink); box-shadow: 0 30px 80px -30px rgb(0 0 0 / 0.6); }
.ptx-adm-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.ptx-adm-logo { display: inline-flex; align-items: center; gap: 10px; font-family: var(--ptx-font-display), sans-serif; font-weight: 800; font-size: 20px; letter-spacing: -0.04em; }
.ptx-adm-tabs { display: flex; gap: 4px; padding: 4px; border-radius: 14px; background: var(--ptx-canvas); }
.ptx-adm-tabs button { padding: 7px 14px; border-radius: 10px; font-size: 14px; font-weight: 500; color: var(--ptx-muted); transition: background-color 0.25s, color 0.25s; }
.ptx-adm-tabs button[aria-selected='true'] { background: var(--ptx-ink); color: var(--ptx-cotton); }
.ptx-adm-list { display: grid; }
.ptx-adm-list li { position: relative; display: grid; grid-template-columns: auto minmax(0, 1fr) auto auto; align-items: center; gap: 14px; min-height: 58px; padding: 8px 6px; border-top: 1px solid var(--ptx-line); font-size: 15px; }
.ptx-adm-list li::before { content: ''; position: absolute; inset: 0; border-radius: 12px; background: rgb(232 163 23 / 0.18); opacity: 0; pointer-events: none; }
.ptx-adm-list li.is-fresh::before { animation: ptx-flash 2.4s ease both; }
@keyframes ptx-flash { 0%, 40% { opacity: 1; } 100% { opacity: 0.35; } }
.ptx-adm-n { font-size: 14px; }
.ptx-adm-who { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: rgb(28 26 22 / 0.8); }
.ptx-adm-sum { font-size: 14px; text-align: right; }
.ptx-adm-kind { font-size: 14px; color: var(--ptx-muted); white-space: nowrap; }
.ptx-adm-list li:has(.ptx-adm-kind) { grid-template-columns: 9.5rem minmax(0, 1fr) auto; }
.ptx-adm-list li:has(.ptx-adm-thumb) { grid-template-columns: 40px minmax(0, 1fr) 8.5rem; }
.ptx-adm-thumb { position: relative; width: 36px; height: 44px; overflow: hidden; border-radius: 8px; background: var(--ptx-canvas); }
.ptx-adm-thumb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ptx-adm-price input { width: 100%; height: 40px; padding: 0 12px; border-radius: 10px; border: 1.5px solid var(--ptx-line); background: #fff; font-size: 14px; text-align: right; color: var(--ptx-ink); }
.ptx-adm-price input::placeholder { color: rgb(111 103 90 / 0.8); }
.ptx-adm-price input:focus { outline: none; border-color: var(--ptx-honey-deep); }
.ptx-adm-note { margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--ptx-line); font-size: 13px; color: var(--ptx-muted); }

.ptx-badge { position: relative; display: inline-flex; align-items: center; justify-content: center; min-width: 7.6rem; padding: 4px 10px; border-radius: 999px; border: 1px solid; font-size: 12px; font-weight: 500; white-space: nowrap; }
.ptx-badge select { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; font-size: 16px; }
.ptx-badge:focus-within { outline: 2px dashed var(--ptx-honey-deep); outline-offset: 3px; }
.ptx-badge-new { background: #fdf0d2; border-color: #e8a317; color: #6b4a00; }
.ptx-badge-confirmed { background: #e7f0fb; border-color: #8bb2e0; color: #1f5596; }
.ptx-badge-sewing { background: #f1eafb; border-color: #b9a0e3; color: #5a35a0; }
.ptx-badge-shipped { background: #e5f4ec; border-color: #8cc8a6; color: #1d6b44; }
.ptx-badge-done { background: #f1efe9; border-color: #cfc8ba; color: #5c564b; }
.ptx-badge-cancelled { background: #fdecea; border-color: #eba59f; color: #a8261d; text-decoration: line-through; }

/* ---------- 08 Цифры: плитки «Обзор» ---------- */
.ptx-metrics-h { margin: 16px 0 clamp(36px, 4vw, 56px); }
.ptx-tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.ptx-tile { padding: 22px 22px 24px; border-radius: 20px; border: 1px solid var(--ptx-line); background: var(--ptx-paper); box-shadow: 0 1px 2px rgb(28 26 22 / 0.04); }
.ptx-tile-l { font-size: 14px; color: var(--ptx-muted); }
.ptx-tile-n { margin-top: 10px; font-size: clamp(48px, 5vw, 76px); font-variant-numeric: tabular-nums; }
.ptx-tile-s { margin-top: 12px; font-size: 12px; line-height: 1.5; color: var(--ptx-muted); }

/* ---------- Итог + CTA ---------- */
.ptx-cta { padding: clamp(64px, 7vw, 104px) 0 32px; }
.ptx-cta-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 48px; align-items: end; }
.ptx-cta-t { margin-top: 16px; font-size: clamp(40px, 5.6vw, 88px); }
.ptx-cta-text { max-width: 56ch; margin-top: 24px; font-size: 17px; line-height: 1.65; color: rgb(247 241 227 / 0.75); }
.ptx-cta-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.ptx-cta-facts { display: grid; }
.ptx-cta-facts li { display: grid; gap: 6px; padding: 16px 0; border-top: 1px dashed rgb(247 241 227 / 0.2); font-size: 15px; line-height: 1.5; color: rgb(247 241 227 / 0.85); }
.ptx-cta-facts .ptx-eyebrow { color: var(--ptx-honey); }
.ptx-stamp { margin: clamp(56px, 6vw, 88px) 0 -0.12em; font-family: var(--ptx-font-display), sans-serif; font-weight: 800; font-size: clamp(52px, 11.5vw, 190px); line-height: 0.9; letter-spacing: -0.06em; color: rgb(247 241 227 / 0.07); white-space: nowrap; pointer-events: none; user-select: none; }
.ptx-foot { position: relative; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 24px; padding-top: 24px; border-top: 1px solid var(--ptx-line); font-size: 13px; color: rgb(247 241 227 / 0.5); }
.ptx-foot-badge img { display: block; }

/* ---------- Появления (только с JS и без reduced-motion) ---------- */
.ptx.js-sc [data-sc='reveal']:not(.ptx-mask) {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.9s var(--ptx-ease) calc(var(--i, 0) * 90ms), transform 0.9s var(--ptx-ease) calc(var(--i, 0) * 90ms);
}
.ptx.js-sc [data-sc='reveal'].in-view:not(.ptx-mask) { opacity: 1; transform: none; }
.ptx.js-sc .ptx-mask .ptx-mask-line > span { transform: translateY(105%); transition: transform 1.1s var(--ptx-ease) calc(var(--i, 0) * 110ms); }
.ptx.js-sc .ptx-mask.in-view .ptx-mask-line > span { transform: none; }

@media (prefers-reduced-motion: reduce) {
  .ptx-rise, .ptx-rise-line, .ptx-rise-art, .ptx-game, .ptx-game-card, .ptx-marquee-track, .ptx-tick, .ptx-kit-lines li, .ptx-op-done, .ptx-adm-list li.is-fresh::before { animation: none; }
  .ptx-game { transform: translateX(-50%); }
  .ptx-game-card { transform: translate(-50%, -50%); }
  .ptx-hex-shape, .ptx-prod-hex, .ptx-swatch-chip, .ptx-hex-img, .ptx-prod-hex img, .ptx-ba-shot img, .ptx-kit-base-img img, .ptx-swarm { transition: none; }
  .ptx-marquee-track { flex-wrap: wrap; width: auto; }
  .ptx-marquee-track > span + span { display: none; }
}

/* ---------- Адаптив ---------- */
@media (max-width: 1180px) {
  .ptx-site-nav { display: none; }
}
@media (max-width: 1023px) {
  .ptx-hero { display: block; padding-bottom: 140px; }
  .ptx-hero-grid { grid-template-columns: 1fr; gap: 56px; }
  .ptx-hero-art { max-width: 400px; margin-inline: auto; padding-left: 0; }
  .ptx-head { grid-template-columns: 1fr; }
  .ptx-bb { grid-template-columns: 1fr; }
  .ptx-bbs { max-width: 520px; }
  .ptx-screens { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ptx-phones { grid-template-columns: 1fr; }
  .ptx-prods { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ptx-prod:nth-child(4n + 2), .ptx-prod:nth-child(4n + 4) { margin-top: 0; }
  .ptx-prod:nth-child(even) { margin-top: 48px; }
  .ptx-how { grid-template-columns: 1fr; }
  .ptx-kit { grid-template-columns: 1fr; }
  .ptx-kit-sum { position: relative; top: auto; }
  .ptx-op { grid-template-columns: 1fr; }
  .ptx-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ptx-cta-grid { grid-template-columns: 1fr; }
}
@media (max-width: 767px) {
  .ptx-hero { padding-top: calc(var(--site-top, 72px) + 64px); }
  .ptx-site-header-in { height: 64px; }
  .ptx-site-header .ptx-btn { min-height: 38px; padding: 0 14px; font-size: 13px; }
  .ptx-logo-mark { width: 32px; height: 32px; }
  .ptx-logo-name { font-size: 16px; }
  .ptx-hero-lead { font-size: 16px; }
  .ptx-hero-tags { margin-top: 28px; }
  .ptx-hero-art { max-width: 320px; }
  .ptx-game-bar { font-size: 12px; }
  .ptx-game-bar button { padding: 8px 12px; }
  .ptx-ba { grid-template-columns: 1fr; }
  .ptx-points { grid-template-columns: 1fr; gap: 28px; }
  .ptx-swatches { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; }
  .ptx-swatch { padding: 5px 5px 10px; border-radius: 12px; }
  .ptx-swatch-chip { height: 72px; border-radius: 8px; }
  .ptx-swatch-name { font-size: 11px; }
  .ptx-swatch-hex { font-size: 9px; }
  .ptx-types { grid-template-columns: 1fr; gap: 22px; }
  .ptx-screens { grid-template-columns: 1fr; }
  .ptx-phones { padding: 24px 16px; border-radius: 24px; }
  .ptx-phone { width: 46%; }
  .ptx-prods { gap: 28px 14px; }
  .ptx-prod-name { font-size: 14px; }
  .ptx-kit-bases { gap: 8px; }
  .ptx-kit-base { padding: 5px 5px 10px; border-radius: 16px; }
  .ptx-kit-base-img { border-radius: 11px; }
  .ptx-kit-base-t { font-size: 13px; }
  .ptx-kit-base-d { font-size: 11px; }
  .ptx-kit-extra { gap: 12px; }
  .ptx-kit-sum-in { padding: 18px; }
  .ptx-op-opts { grid-template-columns: 1fr; }
  .ptx-adm-list li { grid-template-columns: auto minmax(0, 1fr) auto; gap: 10px; }
  .ptx-adm-list li .ptx-adm-sum { display: none; }
  .ptx-adm-list li:has(.ptx-adm-kind) { grid-template-columns: minmax(0, 1fr) auto; }
  .ptx-adm-list li:has(.ptx-adm-kind) .ptx-adm-who { grid-column: 1; grid-row: 2; font-size: 13px; }
  .ptx-adm-list li:has(.ptx-adm-kind) .ptx-badge { grid-column: 2; grid-row: 1 / span 2; }
  .ptx-adm-list li:has(.ptx-adm-thumb) { grid-template-columns: 40px minmax(0, 1fr) 6.5rem; }
  .ptx-badge { min-width: 6.8rem; padding: 4px 8px; }
  .ptx-tile { padding: 16px; }
  .ptx-tile-l { font-size: 13px; }
}
@media (max-width: 479px) {
  .ptx-h1 { font-size: 46px; }
  .ptx-adm-tabs button { padding: 7px 10px; font-size: 13px; }
}
