/* KB#3999 «Доверие — это люди» (the Commander, 10.10.2026, Decision #474): the page /proof-transparency shows living
   people of the community — sixteen cards, each a real link to the person's Telegram, and under them a plaque into the
   community chat. Material is the one of the header and the table of contents (KB#3987, Decision #473): polished jade
   plates with a copper rim (toc-plate.svg) and the header slab frame (toc-slab.svg); portraits sit in a cast bronze
   ring and the chat emblem is a cast copper paper plane — both rendered by ChatGPT in the site's material. */
body[data-page="proofTransparency"] {
  --tp-font: var(--pn-font-ui, "Brygada 1918", Georgia, "Times New Roman", serif);
  --tp-jade: url("/landing-assets/toc/jade.webp");
  --tp-jade-plate: url("/landing-assets/toc/jade-plate.webp");
  --tp-cut: 6px;
  --tp-oct: polygon(var(--tp-cut) 0, calc(100% - var(--tp-cut)) 0, 100% var(--tp-cut), 100% calc(100% - var(--tp-cut)), calc(100% - var(--tp-cut)) 100%, var(--tp-cut) 100%, 0 calc(100% - var(--tp-cut)), 0 var(--tp-cut));
  --tp-title-ink: linear-gradient(180deg, #f8dcbc 0%, #dcab7e 46%, #ab6d43 100%);
  --tp-title-shadow: drop-shadow(0 2px 0 rgb(0 0 0 / .5));
  --tp-rule: #b98458;
  --tp-ink-name: #f3ead9;
  --tp-ink-handle: #d9a87c;
  --tp-ink-cta: #f5dab4;
  --tp-shadow: drop-shadow(0 10px 18px rgb(0 0 0 / .45));
}
[data-theme="light"] body[data-page="proofTransparency"] {
  --tp-title-ink: linear-gradient(180deg, #a8693f 0%, #7d4a28 55%, #5c3519 100%);
  --tp-title-shadow: drop-shadow(0 1px 0 rgb(255 245 230 / .7));
  --tp-rule: #9a6a43;
  --tp-shadow: drop-shadow(0 8px 16px rgb(10 40 30 / .28));
}

body[data-page="proofTransparency"] .trust-people {
  box-sizing: border-box;
  width: 100%;
  max-width: 1200px;
  margin-inline: auto;
  padding: 40px 24px 96px;
}

/* the title: cast copper letters and a copper rule with a diamond under them */
body[data-page="proofTransparency"] .tp-hero { margin: 0 0 40px; text-align: center; }
body[data-page="proofTransparency"] .tp-title {
  margin: 0;
  font: 700 clamp(2.25rem, 1.35rem + 3.8vw, 4.25rem)/1.08 var(--tp-font);
  letter-spacing: .005em;
  font-synthesis: none;
  text-wrap: balance;
  background: var(--tp-title-ink);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: var(--tp-title-shadow);
}
body[data-page="proofTransparency"] .tp-hero::after {
  content: "";
  display: block;
  width: min(420px, 72%);
  height: 12px;
  margin: 20px auto 0;
  background:
    linear-gradient(45deg, transparent 0 46%, var(--tp-rule) 46% 54%, transparent 54%) center / 12px 12px no-repeat,
    linear-gradient(-45deg, transparent 0 46%, var(--tp-rule) 46% 54%, transparent 54%) center / 12px 12px no-repeat,
    linear-gradient(90deg, transparent 0, var(--tp-rule) 18%, var(--tp-rule) calc(50% - 14px), transparent calc(50% - 14px), transparent calc(50% + 14px), var(--tp-rule) calc(50% + 14px), var(--tp-rule) 82%, transparent 100%) center / 100% 1px no-repeat;
}

/* sixteen people: four columns, two on narrow screens — never a lone card in a row */
body[data-page="proofTransparency"] .tp-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
  margin: 0;
  padding: 0;
  list-style: none;
}
body[data-page="proofTransparency"] .tp-item { min-width: 0; filter: var(--tp-shadow); }

/* a card is one link: the portrait, the name, the @name and the button all open the person's Telegram */
body[data-page="proofTransparency"] .tp-card {
  position: relative;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  height: 100%;
  padding: 24px 16px 20px;
  border: 12px solid transparent;
  border-image: url("/landing-assets/toc/toc-plate.svg") 8 / 12px / 0 stretch;
  clip-path: var(--tp-oct);
  background:
    linear-gradient(118deg, rgb(0 0 0 / 0) 62%, rgb(225 255 235 / .08) 72%, rgb(0 0 0 / 0) 84%) border-box,
    linear-gradient(180deg, rgb(170 235 195 / .08) 0, rgb(0 0 0 / 0) 42%, rgb(0 0 0 / .22) 100%) border-box,
    var(--tp-jade-plate) var(--tp-jx, 0) var(--tp-jy, 0) / 520px auto border-box;
  box-shadow: inset 0 0 14px 0 rgb(92 176 126 / .26), inset 0 -18px 16px -10px rgb(0 0 0 / .5);
  color: var(--tp-ink-name);
  text-align: center;
  text-decoration: none;
  transition: transform .18s ease, box-shadow .18s ease;
}
body[data-page="proofTransparency"] .tp-item:nth-child(4n + 2) .tp-card { --tp-jx: -130px; --tp-jy: -60px; }
body[data-page="proofTransparency"] .tp-item:nth-child(4n + 3) .tp-card { --tp-jx: -260px; --tp-jy: -170px; }
body[data-page="proofTransparency"] .tp-item:nth-child(4n) .tp-card { --tp-jx: -60px; --tp-jy: -240px; }
body[data-page="proofTransparency"] .tp-card:hover {
  transform: translateY(-3px);
  border-image-source: url("/landing-assets/toc/toc-plate-active.svg");
  box-shadow: inset 0 0 16px 1px rgb(150 205 120 / .34), inset 0 -18px 16px -10px rgb(0 0 0 / .45);
}
body[data-page="proofTransparency"] .tp-card:focus-visible { outline: none; box-shadow: inset 0 0 0 2px #f5dab4, inset 0 0 14px 0 rgb(92 176 126 / .26); }

body[data-page="proofTransparency"] .tp-portrait {
  position: relative;
  display: block;
  width: min(168px, 100%);
  aspect-ratio: 1;
  margin-bottom: 8px;
}
body[data-page="proofTransparency"] .tp-portrait::after {
  content: "";
  position: absolute;
  inset: 0;
  background: url("/landing-assets/trust-people/frame.webp") center / 100% 100% no-repeat;
  pointer-events: none;
}
body[data-page="proofTransparency"] .tp-photo {
  position: absolute;
  top: 12.6%;
  left: 12.6%;
  width: 74.8%;
  height: 74.8%;
  border-radius: 50%;
  object-fit: cover;
  background: #0d1f1a;
}
body[data-page="proofTransparency"] .tp-portrait--initial { background: url("/landing-assets/trust-people/medallion.webp") center / 100% 100% no-repeat; }
body[data-page="proofTransparency"] .tp-portrait--initial::after { content: none; }
body[data-page="proofTransparency"] .tp-initial {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font: 700 3.6rem/1 var(--tp-font);
  font-synthesis: none;
  background: linear-gradient(180deg, #f6d3ad 0%, #d39a68 48%, #9c5f36 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 2px 1px rgb(0 0 0 / .65));
}
body[data-page="proofTransparency"] .tp-name {
  display: block;
  max-width: 100%;
  font: 600 1.18rem/1.25 var(--tp-font);
  font-synthesis: none;
  color: var(--tp-ink-name);
  overflow-wrap: anywhere;
  text-wrap: balance;
}
body[data-page="proofTransparency"] .tp-handle {
  display: block;
  max-width: 100%;
  margin-bottom: 14px;
  font: 500 .95rem/1.3 var(--tp-font);
  color: var(--tp-ink-handle);
  overflow-wrap: anywhere;
}

/* the button: dark jade face in the bronze action rim of the site (action-bronze.svg) */
body[data-page="proofTransparency"] :is(.tp-cta, .tp-chat-cta) {
  position: relative;
  isolation: isolate;
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  margin-top: auto;
  padding: 8px 22px;
  font: 600 1rem/1.2 var(--tp-font);
  font-synthesis: none;
  color: var(--tp-ink-cta);
  text-align: center;
  text-wrap: balance;
  text-decoration: none;
}
body[data-page="proofTransparency"] .tp-cta { width: 100%; margin-top: auto; }
body[data-page="proofTransparency"] :is(.tp-cta, .tp-chat-cta)::before {
  content: "";
  position: absolute;
  inset: 4.5px;
  z-index: -1;
  clip-path: polygon(7.5px 0, calc(100% - 7.5px) 0, 100% 7.5px, 100% calc(100% - 7.5px), calc(100% - 7.5px) 100%, 7.5px 100%, 0 calc(100% - 7.5px), 0 7.5px);
  background: radial-gradient(130% 120% at 35% 20%, #22332d 0%, #1b2925 50%, #141f1b 100%);
}
body[data-page="proofTransparency"] :is(.tp-cta, .tp-chat-cta)::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border: 20px solid transparent;
  border-image: url("/landing-assets/frames/action-bronze.svg") 20 / 20px stretch;
  pointer-events: none;
}
body[data-page="proofTransparency"] .tp-card:hover .tp-cta::before,
body[data-page="proofTransparency"] .tp-chat-cta:hover::before { background: radial-gradient(130% 120% at 35% 20%, #2b4038 0%, #20322c 50%, #18251f 100%); }
body[data-page="proofTransparency"] .tp-chat-cta:focus-visible { outline: none; }
body[data-page="proofTransparency"] .tp-chat-cta:focus-visible::before { box-shadow: inset 0 0 0 2px #f5dab4; }

/* the plaque into the community chat: a jade slab in the header frame, the cast copper paper plane on the left */
body[data-page="proofTransparency"] .tp-chat {
  position: relative;
  box-sizing: border-box;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 24px 52px;
  margin-top: 64px;
  padding: 44px 72px;
  border: 24px solid transparent;
  border-image: url("/landing-assets/toc/toc-slab.svg") 24 / 24px / 0 stretch;
  background:
    radial-gradient(90% 120% at 18% 30%, rgb(170 235 195 / .10), rgb(0 0 0 / 0) 60%) border-box,
    linear-gradient(180deg, rgb(0 0 0 / 0) 40%, rgb(0 0 0 / .28) 100%) border-box,
    var(--tp-jade) -120px -80px / 900px auto border-box;
  box-shadow: inset 0 0 22px 0 rgb(92 176 126 / .22);
  filter: var(--tp-shadow);
}
body[data-page="proofTransparency"] .tp-chat-emblem { display: block; width: clamp(140px, 17vw, 228px); height: auto; filter: drop-shadow(0 6px 10px rgb(0 0 0 / .55)); }
body[data-page="proofTransparency"] .tp-chat-copy { display: flex; flex-direction: column; align-items: flex-start; gap: 22px; min-width: 0; }
body[data-page="proofTransparency"] .tp-chat-title {
  margin: 0;
  font: 700 clamp(1.8rem, 1.1rem + 2.6vw, 3.1rem)/1.15 var(--tp-font);
  font-synthesis: none;
  text-wrap: balance;
  overflow-wrap: anywhere;
  background: linear-gradient(180deg, #f8dcbc 0%, #dcab7e 46%, #ab6d43 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 2px 0 rgb(0 0 0 / .5));
}
body[data-page="proofTransparency"] .tp-chat-cta { min-height: 60px; margin-top: 0; padding: 12px 44px; font-size: 1.25rem; }

/* --pn-font-ui (KB#3957) is Brygada on Latin, Cyrillic and Greek and the system font on scripts it does not cover. */

@media (max-width: 1060px) {
  body[data-page="proofTransparency"] .tp-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 720px) {
  body[data-page="proofTransparency"] .trust-people { padding: 28px 16px 72px; }
  body[data-page="proofTransparency"] .tp-hero { margin-bottom: 28px; }
  body[data-page="proofTransparency"] .tp-grid { gap: 14px; }
  body[data-page="proofTransparency"] .tp-card { padding: 16px 8px 14px; border-width: 10px; border-image-width: 10px; }
  body[data-page="proofTransparency"] .tp-portrait { width: min(118px, 100%); }
  body[data-page="proofTransparency"] .tp-initial { font-size: 2.6rem; }
  body[data-page="proofTransparency"] .tp-name { font-size: 1.02rem; }
  body[data-page="proofTransparency"] .tp-handle { font-size: .85rem; }
  body[data-page="proofTransparency"] .tp-cta { min-height: 44px; padding: 6px 10px; font-size: .9rem; }
  body[data-page="proofTransparency"] .tp-chat { grid-template-columns: 1fr; justify-items: center; margin-top: 36px; padding: 18px 14px; text-align: center; border-width: 18px; border-image-width: 18px; }
  body[data-page="proofTransparency"] .tp-chat-copy { align-items: center; }
  body[data-page="proofTransparency"] .tp-chat-emblem { width: 128px; }
}
@media (prefers-reduced-motion: reduce) {
  body[data-page="proofTransparency"] .tp-card { transition: none; }
  body[data-page="proofTransparency"] .tp-card:hover { transform: none; }
}

/* ===================== REAL METAL · KB#4083 S4 =====================
 * Decision #502 (Commander, 12.10.2026): metal is real copper poured into the jade, never drawn. The headings and the initials were filled with copper gradients, the
 * rule under the heading was a copper hairline with a lozenge, the cards, the actions and the chat slab wore procedural SVG
 * frames drawn in copper (toc-plate.svg, action-bronze.svg, toc-slab.svg). The headings and the initials are solid
 * ink, the rule is a groove, the cards wear the photographed plate rim, the actions the cast copper button rim, the
 * chat slab the cast panel frame with forged steel corners (panel-frame.webp). */
body[data-page="proofTransparency"] { --tp-rule: rgb(0 0 0 / .5); }
[data-theme="light"] body[data-page="proofTransparency"] { --tp-rule: rgb(20 40 30 / .3); }
body[data-page="proofTransparency"] .tp-title {
  background: none;
  color: #f6f1ea;
  -webkit-text-fill-color: currentColor;
}
[data-theme="light"] body[data-page="proofTransparency"] .tp-title { color: #1d1914; }
body[data-page="proofTransparency"] .tp-chat-title {
  background: none;
  color: #f6f1ea;
  -webkit-text-fill-color: currentColor;
}
body[data-page="proofTransparency"] .tp-initial {
  background: none;
  color: #f3d2ad;
  -webkit-text-fill-color: currentColor;
}
body[data-page="proofTransparency"] .tp-card {
  border-image: url(/shared/luxury-elements/plate-rim.webp) 130 / 12px stretch;
  clip-path: polygon(8px 0, calc(100% - 8px) 0, 100% 8px, 100% calc(100% - 8px), calc(100% - 8px) 100%, 8px 100%, 0 calc(100% - 8px), 0 8px);
}
body[data-page="proofTransparency"] :is(.tp-cta, .tp-chat-cta)::after {
  border-width: 10px 14px;
  border-image: url(/shared/luxury-elements/button-copper.webp) 45 65 / 10px 14px stretch;
}
body[data-page="proofTransparency"] .tp-chat { border-image: url(/shared/luxury-elements/panel-frame.webp) 92 / 24px stretch; }
@media (max-width: 767px) {
  body[data-page="proofTransparency"] .tp-card { border-image-width: 10px; }
  body[data-page="proofTransparency"] .tp-chat { border-image-width: 18px; }
}

/* ================= KB#4093 W5 · READING FLOOR =================
 * Commander 13.10.2026: the site is a workplace people read for hours. The workplace scale of W2 — reading
 * text from 16 px, compact labels from 15 px — for the text this page set smaller (found on production rule
 * by rule). Same selectors and media as the rules they follow: only the font size changes. */
@media (max-width: 720px) {
  body[data-page="proofTransparency"] .tp-handle { font-size: .9375rem; }
  body[data-page="proofTransparency"] .tp-cta { font-size: 1rem; }
}
