/* KB#3976 Academy — only the articles (the Commander, 09.10.2026: «Оставь в нем только статьи… как в лучших
   интернет-изданиях… с иконкой, с обложкой… в стиле тяжёлый люкс»). One stylesheet, this page only.
   Index: a deep teal-black band in both themes (as #trust and #home-faq on the home page) — the copper label, the large
   brand-serif title with the cast-copper book, then the issue: the lead story (cover left, text right) and the other
   stories in two columns. Each cover is a ChatGPT render in the house material (green marble, cast copper, dark jade)
   in a 2 px bronze frame with chamfered corners; each story carries its cast-copper rubric icon, number and rubric.
   Reader: an article opens on the same page by its anchor (#academy-<slug>-article-title, the links the FAQ already
   uses) — CSS only: the targeted article shows, the index hides; Back returns to the index. Without :has() the
   articles simply follow the index. The reading column is 680 px of Brygada 1918 at 19 px; warm paper in the light
   theme, deep jade in the dark one. The article copy itself is unchanged. */

body[data-page="academyUpdates"] {
  --acad-band-ink: #f6f1ea;
  --acad-band-copy: #cfddd9;
  --acad-band-muted: #a9bdb7;
  --acad-band-copper: #e6b283;
  --acad-band-line: rgb(196 150 104 / .34);
  --acad-band-link: #dcae7f;
  --acad-paper: #f4eee3;
  --acad-paper-2: #ece3d3;
  --acad-ink: #1d1914;
  --acad-copy: #302b25;
  --acad-muted: #5d554b;
  --acad-copper: #85552f;
  --acad-line: rgb(133 85 47 / .3);
  --acad-focus-paper: #1d1914;
}
html[data-theme="dark"] body[data-page="academyUpdates"] {
  --acad-paper: #051f19;
  --acad-paper-2: #03160f;
  --acad-ink: #f6f1ea;
  --acad-copy: #dfe7e3;
  --acad-muted: #a9bdb7;
  --acad-copper: #e6b283;
  --acad-line: rgb(196 150 104 / .34);
  --acad-focus-paper: var(--pn-fg-on-dark-focus, #dff7ca);
}

body[data-page="academyUpdates"] #main.acad-journal {
  background:
    radial-gradient(40% 36% at 12% 6%, rgb(160 104 52 / .16) 0%, transparent 72%),
    radial-gradient(70% 50% at 50% 20%, #062119 0%, #031a15 55%, #02130f 100%);
  color: var(--acad-band-copy);
  overflow-x: clip;
  /* dark in both themes: focus rings take the on-dark ink, links the copper (lesson of KB#3968) */
  --pn-fg-focus: var(--pn-fg-on-dark-focus);
  --pn-fg-link: var(--acad-band-link);
}
html[dir="rtl"] body[data-page="academyUpdates"] #main.acad-journal {
  background:
    radial-gradient(40% 36% at 88% 6%, rgb(160 104 52 / .16) 0%, transparent 72%),
    radial-gradient(70% 50% at 50% 20%, #062119 0%, #031a15 55%, #02130f 100%);
}

/* the crumbs keep the 16 px side gutter on a phone (the shared rule leaves them at the screen edge) */
@media (max-width: 767px) {
  body[data-page="academyUpdates"] .breadcrumb-nav { padding-inline: 16px; }
}

/* ---------- no crumbs on the journal (the Commander, 09.10: «этот визуальный косяк, абсолютно ненужный на этом
   экране») ----------
   main.js puts «Главная / Академия» at the top of <main>, and main.css gives the Academy crumbs a dark box of their own
   with a cyan rule (Commander Issue #142, for the old page) — on the jade band a darker strip 24 px off the title's
   column. The journal does not need them: the menu marks the Academy, the masthead names it, an article has
   «All articles». */
body[data-page="academyUpdates"] #main.acad-journal > .breadcrumb-nav { display: none; }

/* ---------- masthead ---------- */
body[data-page="academyUpdates"] .acad-hero {
  padding-block: clamp(40px, 6vw, 88px) clamp(28px, 4vw, 52px);
}
body[data-page="academyUpdates"] .acad-hero-inner {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.6vw, 36px);
}
body[data-page="academyUpdates"] .acad-emblem {
  flex: none;
  width: clamp(72px, 9vw, 112px);
  height: auto;
  filter: drop-shadow(0 10px 18px rgb(0 0 0 / .45));
}
body[data-page="academyUpdates"] .acad-hero .section-label {
  margin: 0 0 10px;
  color: var(--acad-band-copper);
  opacity: 1;
  font: 600 1rem/1.3 var(--pn-font-ui);
  letter-spacing: .2em;
  text-transform: uppercase;
  text-align: start;
}
body[data-page="academyUpdates"] .acad-hero h1 {
  margin: 0;
  color: var(--acad-band-ink);
  font: 700 clamp(3rem, 8vw, 6.25rem)/.98 var(--pn-font-ui);
  letter-spacing: -0.015em;
  text-align: start;
  text-wrap: balance;
  overflow-wrap: anywhere;
}
body[data-page="academyUpdates"] .acad-hero-rule {
  display: block;
  height: 1px;
  margin-top: clamp(26px, 3.4vw, 44px);
  background: linear-gradient(90deg, var(--acad-band-line), rgb(196 150 104 / .7) 18%, var(--acad-band-line) 60%, transparent);
}
html[dir="rtl"] body[data-page="academyUpdates"] .acad-hero-rule {
  background: linear-gradient(270deg, var(--acad-band-line), rgb(196 150 104 / .7) 18%, var(--acad-band-line) 60%, transparent);
}

/* ---------- the issue: story cards ---------- */
body[data-page="academyUpdates"] .acad-index {
  padding-block: 0 clamp(64px, 8vw, 120px);
}
body[data-page="academyUpdates"] .acad-list {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(40px, 5vw, 64px) clamp(28px, 3.4vw, 48px);
  margin: 0;
  padding: 0;
  list-style: none;
}
body[data-page="academyUpdates"] .acad-card { min-width: 0; }
body[data-page="academyUpdates"] .acad-card-link {
  display: grid;
  gap: clamp(16px, 2vw, 22px);
  color: inherit;
  text-decoration: none;
}
body[data-page="academyUpdates"] .acad-card-link:focus-visible {
  outline: 2px solid var(--pn-fg-on-dark-focus, #dff7ca);
  outline-offset: 6px;
}

/* the bronze-framed cover (the framed photo window of KB#3945) */
body[data-page="academyUpdates"] .acad-cover {
  display: block;
  padding: 2px;
  background:
    radial-gradient(44px 44px at 0 0, rgb(255 228 196 / .85), transparent 72%),
    linear-gradient(150deg, #e2b588 0%, #a6764c 32%, #6b4428 64%, #c08a5c 100%);
  clip-path: polygon(10px 0, calc(100% - 10px) 0, 100% 10px, 100% calc(100% - 10px), calc(100% - 10px) 100%, 10px 100%, 0 calc(100% - 10px), 0 10px);
  box-shadow: 0 18px 40px rgb(0 0 0 / .35);
}
body[data-page="academyUpdates"] .acad-cover-in {
  display: block;
  overflow: hidden;
  clip-path: polygon(9px 0, calc(100% - 9px) 0, 100% 9px, 100% calc(100% - 9px), calc(100% - 9px) 100%, 9px 100%, 0 calc(100% - 9px), 0 9px);
  background: #031612;
}
body[data-page="academyUpdates"] .acad-cover img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

body[data-page="academyUpdates"] .acad-card-body {
  display: grid;
  align-content: start;
  gap: 12px;
  min-width: 0;
}
body[data-page="academyUpdates"] .acad-kicker {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px 12px;
  color: var(--acad-band-copper);
}
/* the rubric icon is a photographed object (cast copper and marble, the covers' studio): it reads at 44 px and up */
body[data-page="academyUpdates"] .acad-kicker-icon {
  flex: none;
  width: 44px;
  height: 44px;
  object-fit: contain;
  filter: drop-shadow(0 4px 6px rgb(0 0 0 / .45));
}
body[data-page="academyUpdates"] .acad-kicker-num {
  font: 700 1.0625rem/1 var(--pn-font-brand);
  font-variant-numeric: lining-nums tabular-nums;
}
body[data-page="academyUpdates"] .acad-kicker-num::after {
  content: "";
  display: inline-block;
  width: 22px;
  height: 1px;
  margin-inline-start: 12px;
  vertical-align: middle;
  background: currentColor;
  opacity: .6;
}
body[data-page="academyUpdates"] .acad-kicker-rubric {
  font: 600 .8125rem/1.3 var(--pn-font-brand);
  letter-spacing: .16em;
  text-transform: uppercase;
}
body[data-page="academyUpdates"] .acad-card-title {
  margin: 0;
  color: var(--acad-band-ink);
  font: 700 clamp(1.375rem, 2vw, 1.75rem)/1.2 var(--pn-font-brand);
  letter-spacing: -0.005em;
  text-wrap: balance;
  overflow-wrap: anywhere;
}
body[data-page="academyUpdates"] .acad-dek {
  display: -webkit-box;
  margin: 0;
  overflow: hidden;
  color: var(--acad-band-copy);
  font: 400 1.0625rem/1.62 var(--pn-font-brand);
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  line-clamp: 3;
}
body[data-page="academyUpdates"] .acad-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 14px;
  color: var(--acad-band-muted);
  font: 500 .875rem/1.4 var(--pn-font-ui);
}
body[data-page="academyUpdates"] .acad-read b { font-weight: 600; font-variant-numeric: lining-nums; }
/* Korean and Japanese write the minutes right after the number */
html:is(:lang(ko), :lang(ja), :lang(zh)) body[data-page="academyUpdates"] .acad-read-sep { display: none; }
body[data-page="academyUpdates"] .acad-orig {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 2px 10px;
  border: 1px solid var(--acad-band-line);
  border-radius: 999px;
  font-size: .75rem;
  letter-spacing: .02em;
}
body[data-page="academyUpdates"] .acad-orig b { color: var(--acad-band-copper); font-weight: 700; letter-spacing: .06em; }
/* on the Russian page the copy is in the reader's language: no «original» mark */
html:lang(ru) body[data-page="academyUpdates"] .acad-orig { display: none; }
body[data-page="academyUpdates"] .acad-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  justify-self: start;
  padding-block: 4px;
  border-bottom: 1px solid rgb(196 150 104 / .55);
  color: var(--acad-band-link);
  font: 600 .9375rem/1.3 var(--pn-font-ui);
  letter-spacing: .02em;
}
body[data-page="academyUpdates"] .acad-arrow { display: inline-block; }
html[dir="rtl"] body[data-page="academyUpdates"] .acad-arrow { transform: scaleX(-1); }

@media (hover: hover) {
  body[data-page="academyUpdates"] .acad-card-link:hover .acad-card-title { color: #fff8ee; }
  body[data-page="academyUpdates"] .acad-card-link:hover .acad-cta { border-bottom-color: currentColor; }
}
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  body[data-page="academyUpdates"] .acad-cover img { transition: transform .6s cubic-bezier(.2, .7, .2, 1), filter .6s; }
  body[data-page="academyUpdates"] .acad-card-link:hover .acad-cover img { transform: scale(1.035); filter: brightness(1.06); }
}

@media (min-width: 720px) {
  body[data-page="academyUpdates"] .acad-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  body[data-page="academyUpdates"] .acad-card--lead { grid-column: 1 / -1; }
}
@media (min-width: 980px) {
  body[data-page="academyUpdates"] .acad-card--lead .acad-card-link {
    grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr);
    align-items: center;
    gap: clamp(28px, 3.6vw, 56px);
  }
  body[data-page="academyUpdates"] .acad-card--lead .acad-card-title { font-size: clamp(1.875rem, 2.5vw, 2.5rem); line-height: 1.12; }
  body[data-page="academyUpdates"] .acad-card--lead .acad-dek { -webkit-line-clamp: 5; line-clamp: 5; font-size: 1.125rem; }
  body[data-page="academyUpdates"] .acad-card--lead .acad-kicker-icon { width: 52px; height: 52px; }
  body[data-page="academyUpdates"] .acad-card--lead { padding-bottom: clamp(40px, 5vw, 64px); border-bottom: 1px solid var(--acad-band-line); }
}

/* ---------- reader ---------- */
body[data-page="academyUpdates"] .acad-article {
  display: none;
  padding-block: clamp(28px, 4vw, 56px) clamp(64px, 8vw, 120px);
  background:
    radial-gradient(60% 40% at 50% 0%, var(--acad-paper) 0%, var(--acad-paper-2) 100%);
  color: var(--acad-copy);
  --pn-fg-focus: var(--acad-focus-paper);
  --pn-fg-link: var(--acad-copper);
}
body[data-page="academyUpdates"] .acad-article:target,
body[data-page="academyUpdates"] .acad-article:has(:target) { display: block; }
body[data-page="academyUpdates"] #main:has(.acad-article:target, .acad-article :target) :is(.acad-hero, .acad-index) { display: none; }
/* while an article is open the whole page is its paper, the crumbs included */
body[data-page="academyUpdates"] #main.acad-journal:has(.acad-article:target, .acad-article :target) {
  background: var(--acad-paper);
  --pn-fg-focus: var(--acad-focus-paper);
}
/* browsers without :has() keep every article visible after the index */
@supports not selector(:has(*)) {
  body[data-page="academyUpdates"] .acad-article { display: block; }
}

body[data-page="academyUpdates"] .acad-article-inner {
  max-width: 1080px;
}
body[data-page="academyUpdates"] .acad-col {
  max-width: 680px;
  margin-inline: auto;
}
body[data-page="academyUpdates"] .acad-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--acad-copper);
  font: 600 .9375rem/1.3 var(--pn-font-ui);
  letter-spacing: .02em;
  text-decoration: none;
  border-bottom: 1px solid transparent;
}
body[data-page="academyUpdates"] .acad-back:hover { border-bottom-color: currentColor; }
body[data-page="academyUpdates"] .acad-back:focus-visible,
body[data-page="academyUpdates"] .acad-next:focus-visible {
  outline: 2px solid var(--acad-focus-paper);
  outline-offset: 4px;
}
body[data-page="academyUpdates"] .acad-article-head {
  display: grid;
  gap: 14px;
  margin-top: clamp(22px, 3vw, 36px);
}
body[data-page="academyUpdates"] .acad-article .acad-kicker { color: var(--acad-copper); }
body[data-page="academyUpdates"] .acad-article-title {
  margin: 0;
  color: var(--acad-ink);
  font: 700 clamp(2rem, 4.4vw, 3.375rem)/1.08 var(--pn-font-brand);
  letter-spacing: -0.012em;
  text-wrap: balance;
  overflow-wrap: anywhere;
  /* arrival from a link lands at the top of the article, not under the header */
  scroll-margin-top: calc(var(--nav-height, 61px) + 400px);
}
body[data-page="academyUpdates"] .acad-article .acad-meta { color: var(--acad-muted); }
body[data-page="academyUpdates"] .acad-article .acad-orig { border-color: var(--acad-line); }
body[data-page="academyUpdates"] .acad-article .acad-orig b { color: var(--acad-copper); }
body[data-page="academyUpdates"] .acad-article-cover {
  margin: clamp(28px, 4vw, 48px) 0 clamp(32px, 4.4vw, 56px);
}

body[data-page="academyUpdates"] .acad-copy {
  color: var(--acad-copy);
  font: 400 1.1875rem/1.75 var(--pn-font-brand);
  hyphens: manual;
  overflow-wrap: break-word;
}
body[data-page="academyUpdates"] .acad-copy p { margin: 0 0 1.15em; }
body[data-page="academyUpdates"] .acad-copy p:last-child { margin-bottom: 0; }
body[data-page="academyUpdates"] .acad-subhead {
  margin: 2.1em 0 .7em;
  color: var(--acad-ink);
  font: 700 clamp(1.375rem, 2.2vw, 1.625rem)/1.25 var(--pn-font-brand);
  letter-spacing: -0.005em;
  text-wrap: balance;
}
body[data-page="academyUpdates"] .acad-copy > .acad-subhead:first-child { margin-top: 0; }
body[data-page="academyUpdates"] .acad-subhead::before {
  content: "";
  display: block;
  width: 48px;
  height: 2px;
  margin-bottom: 14px;
  background: linear-gradient(90deg, #c08a5c, #e2b588);
}
html[dir="rtl"] body[data-page="academyUpdates"] .acad-subhead::before { background: linear-gradient(270deg, #c08a5c, #e2b588); }
@supports (initial-letter: 3) {
  body[data-page="academyUpdates"] .acad-copy > p:first-of-type::first-letter {
    initial-letter: 3;
    margin-inline-end: .14em;
    color: var(--acad-copper);
    font-weight: 700;
  }
}

body[data-page="academyUpdates"] .acad-foot {
  display: grid;
  gap: 22px;
  margin-top: clamp(48px, 6vw, 80px);
  padding-top: clamp(28px, 3.4vw, 40px);
  border-top: 1px solid var(--acad-line);
}
body[data-page="academyUpdates"] .acad-next {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 16px;
  color: inherit;
  text-decoration: none;
}
body[data-page="academyUpdates"] .acad-next-label {
  display: block;
  margin-bottom: 8px;
  color: var(--acad-copper);
  font: 600 .8125rem/1.3 var(--pn-font-ui);
  letter-spacing: .16em;
  text-transform: uppercase;
}
html:is(:lang(ar), :lang(he), :lang(hi), :lang(th), :lang(ka)) body[data-page="academyUpdates"] :is(.acad-next-label, .acad-hero .section-label) { letter-spacing: normal; }
body[data-page="academyUpdates"] .acad-next-title {
  display: block;
  color: var(--acad-ink);
  font: 700 clamp(1.25rem, 2vw, 1.5rem)/1.25 var(--pn-font-brand);
  text-wrap: balance;
  overflow-wrap: anywhere;
}
body[data-page="academyUpdates"] .acad-next .acad-cover { box-shadow: 0 10px 24px rgb(0 0 0 / .25); }
@media (min-width: 640px) {
  body[data-page="academyUpdates"] .acad-next { grid-template-columns: 200px minmax(0, 1fr); align-items: center; gap: 24px; }
}
@media (hover: hover) {
  body[data-page="academyUpdates"] .acad-next:hover .acad-next-title { text-decoration: underline; text-decoration-color: var(--acad-copper); text-underline-offset: 4px; }
}

/* ===================== REAL METAL · KB#4083 S4 =====================
 * Decision #502 (Commander, 12.10.2026): metal is real copper poured into the jade, never drawn. The bronze frame of the covers was a painted gradient, the rules
 * of the hero and of the subheads were copper gradients, the hairlines of the issue and of the article were copper.
 * The covers are set in the photographed rim of the element base (an overlay, cut at its corners), the subhead
 * rule is the cast copper bar, the hairlines and the hero rule are grooves. The copper of the ink stays. */
body[data-page="academyUpdates"] {
  --acad-band-line: rgb(0 0 0 / .5);
  --acad-line: rgb(20 40 30 / .2);
}
html[data-theme="dark"] body[data-page="academyUpdates"] {
  --acad-line: rgb(0 0 0 / .5);
}
body[data-page="academyUpdates"] .acad-hero-rule {
  background: linear-gradient(90deg, rgb(0 0 0 / .55), rgb(0 0 0 / .55) 60%, transparent);
  box-shadow: 0 1px 0 rgb(150 200 170 / .1);
}
html[dir="rtl"] body[data-page="academyUpdates"] .acad-hero-rule {
  background: linear-gradient(270deg, rgb(0 0 0 / .55), rgb(0 0 0 / .55) 60%, transparent);
}
body[data-page="academyUpdates"] .acad-cover {
  position: relative;
  padding: 0;
  background: #031612;
  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="academyUpdates"] .acad-cover-in { clip-path: none; }
body[data-page="academyUpdates"] .acad-cover::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  border: 12px solid transparent;
  border-image: url(/shared/luxury-elements/plate-rim.webp) 130 / 12px stretch;
  pointer-events: none;
}
body[data-page="academyUpdates"] .acad-next .acad-cover::after { border-width: 10px; border-image-width: 10px; }
body[data-page="academyUpdates"] .acad-kicker-num::after {
  background: rgb(0 0 0 / .55);
  box-shadow: 0 1px 0 rgb(150 200 170 / .12);
  opacity: 1;
}
body[data-page="academyUpdates"] .acad-cta { border-bottom-color: rgb(0 0 0 / .55); }
@media (hover: hover) {
  body[data-page="academyUpdates"] .acad-card-link:hover .acad-cta { border-bottom-color: rgb(246 241 234 / .55); }
}
body[data-page="academyUpdates"] .acad-subhead::before,
html[dir="rtl"] body[data-page="academyUpdates"] .acad-subhead::before {
  width: 56px;
  height: 6px;
  background: url(/shared/luxury-elements/bar-copper-h.webp) center / 100% 100% no-repeat;
}

/* ================= 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. */
body[data-page="academyUpdates"] .acad-kicker-rubric { font-size: .9375rem; }
body[data-page="academyUpdates"] .acad-meta { font-size: .9375rem; }
body[data-page="academyUpdates"] .acad-cta { font-size: 1rem; }
body[data-page="academyUpdates"] .academy-link-grid span { font-size: 1rem; }
