/* ============================================================
   Честные люди — Права сотрудников университета
   Paper / notebook aesthetic, inspired by editorial explainers
   ============================================================ */

:root {
  --paper: #faf9f5;
  --paper-2: #f5f4ed;
  --paper-3: #eeece2;
  --ink: #141413;
  --ink-2: #30302e;
  --muted: #5e5d59;
  --faint: #87867f;
  --line: rgba(20, 20, 19, 0.10);
  --line-2: rgba(20, 20, 19, 0.18);
  --grid: rgba(20, 20, 19, 0.055);
  --green: #6ff24a;         /* brand asterisk */
  --green-ink: #2f7d16;
  --green-wash: rgba(111, 242, 74, 0.38);
  --red: #c44e40;           /* flag red, used sparingly */
  --red-wash: rgba(196, 78, 64, 0.14);
  --blue-wash: rgba(120, 150, 230, 0.22);

  --serif: "Source Serif 4", "PT Serif", Georgia, serif;
  --sans: "Inter", "Helvetica Neue", Arial, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, Menlo, monospace;

  --radius: 10px;
  --shadow: 0 1px 0 rgba(20, 20, 19, 0.04), 0 6px 24px -10px rgba(20, 20, 19, 0.18);
  --maxw: 1240px;
  --gutter: clamp(16px, 4vw, 48px);
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: clip; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--serif);
  font-size: 17px;
  line-height: 1.55;
  font-optical-sizing: auto;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; text-decoration-color: rgba(20,20,19,.35); transition: text-decoration-color .2s, background-color .2s; }
a:hover { text-decoration-color: var(--ink); }
p { margin: 0 0 0.9em; }
strong { font-weight: 600; }
::selection { background: var(--green-wash); }

.skip { position: absolute; left: -9999px; top: 8px; background: var(--ink); color: var(--paper); padding: 8px 12px; border-radius: 8px; z-index: 100; font-family: var(--sans); font-size: 14px; }
.skip:focus { left: 8px; }

:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: 4px; }

/* ---------- grid paper ---------- */
.gridpaper {
  background-color: var(--paper);
  background-image:
    linear-gradient(var(--grid) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid) 1px, transparent 1px);
  background-size: 28px 28px;
  background-position: -1px -1px;
}

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(250, 249, 245, 0.88);
  backdrop-filter: saturate(1.2) blur(10px);
  -webkit-backdrop-filter: saturate(1.2) blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s;
}
.site-header.is-scrolled { border-bottom-color: var(--line); }
.site-header__inner {
  max-width: var(--maxw); margin: 0 auto; padding: 12px var(--gutter);
  display: flex; align-items: center; gap: 24px;
}
.brand { display: flex; align-items: center; flex-shrink: 0; }
.brand img { height: 24px; width: auto; }
.nav { display: flex; gap: 22px; margin-left: auto; font-family: var(--sans); font-size: 14.5px; letter-spacing: -0.01em; }
.nav a { text-decoration: none; color: var(--ink-2); padding: 4px 0; position: relative; }
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px; background: var(--ink); transform: scaleX(0); transform-origin: left; transition: transform .25s; }
.nav a:hover::after, .nav a.is-active::after { transform: scaleX(1); }
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--sans); font-size: 14px; font-weight: 500; letter-spacing: -0.005em;
  background: var(--ink); color: var(--paper); text-decoration: none;
  padding: 9px 16px; border-radius: 999px; border: 1px solid var(--ink);
  transition: transform .15s, background-color .2s, color .2s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn--ghost { background: var(--paper-2); color: var(--ink-2); border-color: var(--line-2); }
.btn--ghost:hover { background: var(--paper-3); }
.btn--green { background: var(--green); color: var(--ink); border-color: #4fd12a; }
.btn svg { width: 16px; height: 16px; flex-shrink: 0; }
.progress { position: absolute; left: 0; bottom: -1px; height: 2px; width: 100%; background: var(--ink); transform-origin: left; transform: scaleX(0); }
.menu-toggle { display: none; margin-left: auto; background: none; border: 1px solid var(--line-2); border-radius: 999px; padding: 7px 12px; font: 500 14px var(--sans); color: var(--ink); cursor: pointer; }

@media (max-width: 920px) {
  .nav { display: none; }
  .menu-toggle { display: inline-flex; }
  .site-header .btn--header { display: none; }
  .nav.is-open {
    display: flex; flex-direction: column; gap: 4px;
    position: absolute; top: 100%; left: 0; right: 0;
    background: var(--paper); border-bottom: 1px solid var(--line);
    padding: 12px var(--gutter) 20px; font-size: 17px;
  }
  .nav.is-open a { padding: 10px 0; border-bottom: 1px solid var(--line); }
  .nav.is-open a::after { display: none; }
}

/* ---------- layout ---------- */
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: 720px; }
section { position: relative; }
.section { padding: clamp(64px, 10vw, 128px) 0; }
.section + .section { border-top: 1px solid var(--line); }

.kicker {
  font-family: var(--sans); font-size: 13px; font-weight: 500; letter-spacing: 0.02em;
  color: var(--muted); display: inline-flex; align-items: center; gap: 10px; margin-bottom: 18px;
}
.kicker .num { font-family: var(--mono); font-size: 12px; color: var(--ink); background: var(--paper-2); border: 1px solid var(--line-2); border-radius: 6px; padding: 2px 7px; }
h1, h2, h3 { font-weight: 400; letter-spacing: -0.015em; margin: 0; }
h2.section-title { font-size: clamp(32px, 4.6vw, 54px); line-height: 1.06; margin-bottom: 22px; text-wrap: balance; }
.lede { font-size: clamp(18px, 1.6vw, 21px); line-height: 1.5; color: var(--ink-2); max-width: 640px; text-wrap: pretty; }

/* hand-drawn highlighter */
.mark {
  background-image: linear-gradient(104deg, transparent 0.6%, var(--green-wash) 2.4%, var(--green-wash) 96%, transparent 99%);
  background-size: 100% 0.62em; background-repeat: no-repeat; background-position: 0 88%;
  padding: 0 2px; box-decoration-break: clone; -webkit-box-decoration-break: clone;
}
.squiggle { display: block; width: 180px; height: 12px; margin-top: 10px; color: var(--ink); }

/* ---------- hero ---------- */
.hero { position: relative; height: calc(100svh - 56px); min-height: 520px; max-height: 980px; overflow: hidden; border-bottom: 1px solid var(--line); }
.hero__art { position: absolute; inset: 0; }
.hero__art img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; mix-blend-mode: multiply; }
.hero__art::after { content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(180deg, rgba(250,249,245,0) 0%, rgba(250,249,245,.4) 38%, rgba(250,249,245,.8) 66%, var(--paper) 94%),
    radial-gradient(120% 90% at 0% 100%, rgba(250,249,245,.92) 0%, rgba(250,249,245,.6) 38%, rgba(250,249,245,0) 62%); }
.hero__art .draw-in { clip-path: inset(0 100% 0 0); animation: draw 2.4s cubic-bezier(.65,.05,.3,1) .2s forwards; }
@keyframes draw { to { clip-path: inset(0 0 0 0); } }
.hero__title { position: absolute; left: 0; right: 0; bottom: 0; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter) clamp(32px, 6vh, 72px); }
.hero h1 { font-size: clamp(44px, 8vw, 120px); line-height: .95; letter-spacing: -0.035em; max-width: 17ch; text-wrap: balance;
  text-shadow:
    0 0 2px var(--paper), 0 0 2px var(--paper), 0 0 2px var(--paper), 0 0 2px var(--paper),
    0 0 6px var(--paper), 0 0 6px var(--paper), 0 0 6px var(--paper), 0 0 6px var(--paper),
    0 0 16px var(--paper), 0 0 16px var(--paper), 0 0 16px var(--paper),
    0 0 34px var(--paper), 0 0 34px var(--paper);
  opacity: 0; transform: translateY(18px); animation: rise 1s cubic-bezier(.2,.7,.2,1) .9s forwards; }
.hero h1 em { font-style: italic; color: var(--ink-2); }
@keyframes rise { to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .hero__art .draw-in, .hero h1 { animation: none; clip-path: none; opacity: 1; transform: none; } }
@media (max-width: 700px) {
  .hero { height: auto; min-height: 0; }
  .hero__art { position: relative; aspect-ratio: 4 / 3; }
  .hero__art::after { background: linear-gradient(180deg, rgba(250,249,245,0) 55%, var(--paper) 100%); }
  .hero h1 { max-width: none; }
  .hero__title { position: relative; padding-top: 8px; }
}

.intro { border-bottom: 1px solid var(--line); }
.intro__inner { max-width: 760px; margin: 0 auto; padding: clamp(48px, 8vw, 96px) var(--gutter); }
.hero__standfirst { font-size: clamp(18px, 1.7vw, 21px); line-height: 1.55; color: var(--ink-2); }
.hero__standfirst strong { font-weight: 600; color: var(--ink); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.partners { display: flex; align-items: center; flex-wrap: wrap; gap: 12px 22px; margin-top: 32px; padding-top: 18px; border-top: 1px dashed var(--line-2); }
.partners span { font-family: var(--sans); font-size: 12.5px; color: var(--muted); }
.partners img { height: 19px; width: auto; }
.partners img.chu { height: 17px; }

/* ---------- scrollytelling ---------- */
.story__grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); }
.story__figure { position: sticky; top: 88px; height: 72vh; max-height: 640px; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); }
.story__figure .fig { position: absolute; left: 50%; top: 50%; width: min(84%, 78vh); aspect-ratio: 1; transform: translate(-50%, -50%); }
.story__figure .fig img { width: 100%; height: 100%; object-fit: cover; mix-blend-mode: multiply; transition: transform 1.2s cubic-bezier(.2,.7,.2,1); }
.story__figure .fig { overflow: visible; }
.story__figure .figure-frame { position: absolute; inset: -1px; border: 1.5px solid var(--ink); border-radius: 3px; filter: url(#rough); pointer-events: none; }
.story__figure .fig img { transform: scale(1.02) translate(0, 0); filter: contrast(1); }
.story[data-step="1"] .fig img { transform: scale(1.14) translate(-3%, -4%); }
.story[data-step="2"] .fig img { transform: scale(1.22) translate(5%, 3%); }
.story__figure .figure-frame { transition: opacity .6s, transform .6s; opacity: .55; transform: scale(.985); }
.story[data-step="1"] .figure-frame, .story[data-step="2"] .figure-frame { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .story__figure .fig img, .story[data-step="1"] .fig img, .story[data-step="2"] .fig img { transform: none; transition: none; }
}
.story__label { position: absolute; left: 0; top: -26px; font-family: var(--sans); font-size: 12px; font-weight: 600; color: var(--ink); }
.story__steps { padding: 0 clamp(20px, 4vw, 64px); }
.story__intro { min-height: 70vh; display: flex; flex-direction: column; justify-content: center; padding-top: 80px; }
.step { min-height: 90vh; display: flex; align-items: center; }
.step:last-child { min-height: 80vh; }
.card {
  background: var(--paper-2); border: 1px solid var(--line-2); border-radius: var(--radius);
  padding: 22px 24px; box-shadow: var(--shadow); max-width: 440px;
  opacity: .35; transform: translateY(10px); transition: opacity .5s, transform .5s;
}
.step.is-active .card { opacity: 1; transform: none; }
.card h3 { font-family: var(--sans); font-weight: 700; font-size: 17px; letter-spacing: -0.01em; margin-bottom: 10px; }
.card p:last-child { margin-bottom: 0; }
.card .foot { font-family: var(--sans); font-size: 13px; color: var(--muted); margin-top: 12px; }

@media (max-width: 900px) {
  .story__grid { grid-template-columns: 1fr; gap: 0; }
  .story__figure { top: 56px; height: 52vh; max-height: none; border-radius: 0; border-left: 0; border-right: 0; border-top: 0; z-index: 1; }
  .story__steps { position: relative; z-index: 2; }
  .story__intro { min-height: 0; padding: 48px 0 24px; background: var(--paper); margin: 0 calc(-1 * clamp(20px,4vw,64px)); padding-left: clamp(20px,4vw,64px); padding-right: clamp(20px,4vw,64px); }
  .step { min-height: 70vh; }
  .card { opacity: 1; transform: none; }
}

/* ---------- documents: chips ---------- */
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 36px; align-items: flex-start; }
.chip {
  font-family: var(--sans); font-size: 14.5px; font-weight: 500; line-height: 1.3; letter-spacing: -0.005em;
  background: var(--paper); border: 1px solid var(--line-2); border-radius: 999px; color: var(--ink);
  transition: background-color .2s, border-color .2s, border-radius .25s, transform .15s;
}
a.chip, span.chip { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; text-decoration: none; }
.chip--static { background: transparent; border-style: dashed; color: var(--ink-2); font-weight: 400; }
.chip--link { border-color: var(--ink); }
.chip--link:hover { background: #fff; transform: translateY(-1px); }
.chip--link svg { width: 13px; height: 13px; flex-shrink: 0; color: var(--muted); }
.chip__src { font-family: var(--mono); font-size: 11.5px; font-weight: 400; color: var(--muted); }

details.chip { display: block; padding: 0; max-width: 100%; }
details.chip > summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; gap: 10px;
  padding: 10px 16px; border-radius: inherit;
}
details.chip > summary::-webkit-details-marker { display: none; }
details.chip:hover { border-color: var(--ink); }
details.chip[open] { border-radius: 14px; background: var(--paper-2); border-color: var(--line-2); flex: 1 1 100%; max-width: 560px; }
details.chip[open] > summary { font-weight: 600; }
.chip__pm { width: 18px; height: 18px; border: 1px solid var(--line-2); border-radius: 50%; position: relative; flex-shrink: 0; margin-left: auto; background: var(--paper); transition: background-color .2s, border-color .2s; }
.chip__pm::before, .chip__pm::after { content: ""; position: absolute; left: 50%; top: 50%; width: 8px; height: 1.5px; background: var(--ink); transform: translate(-50%, -50%); }
.chip__pm::after { transform: translate(-50%, -50%) rotate(90deg); transition: transform .3s; }
details.chip[open] .chip__pm { background: var(--green); border-color: #4fd12a; }
details.chip[open] .chip__pm::after { transform: translate(-50%, -50%) rotate(0deg); }
.chip__body { padding: 0 18px 16px; font-size: 13.5px; color: var(--ink-2); line-height: 1.5; }
@media (max-width: 560px) { .chip, details.chip > summary { font-size: 14px; } details.chip[open] { max-width: 100%; } }

/* ---------- FAQ / chapter ---------- */
.chapter { display: grid; grid-template-columns: minmax(0, 360px) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.chapter__aside { position: sticky; top: 88px; }
.chapter__aside .section-title { font-size: clamp(32px, 4vw, 48px); }
.chapter__aside .lede { font-size: 17.5px; }
.chapter__aside .art { margin-top: 28px; border: 1px solid var(--line-2); border-radius: var(--radius); overflow: hidden; background: var(--paper); }
.chapter__aside .art img { mix-blend-mode: multiply; aspect-ratio: 1; object-fit: cover; width: 100%; height: auto; }
.chapter__aside .actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
@media (max-width: 980px) {
  .chapter { grid-template-columns: 1fr; }
  .chapter__aside { position: static; }
  .chapter__aside .art { max-width: 420px; }
}

.faq-tools { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; flex-wrap: wrap; }
.search {
  flex: 1 1 260px; display: flex; align-items: center; gap: 10px;
  background: var(--paper); border: 1px solid var(--line-2); border-radius: 999px; padding: 10px 16px;
  font-family: var(--sans); font-size: 15px; transition: border-color .2s, box-shadow .2s;
}
.search:focus-within { border-color: var(--ink); box-shadow: 0 0 0 3px var(--green-wash); }
.search svg { width: 17px; height: 17px; color: var(--muted); flex-shrink: 0; }
.search input { border: 0; outline: 0; background: transparent; font: inherit; color: var(--ink); width: 100%; }
.search input::placeholder { color: var(--faint); }
.linkbtn { font-family: var(--sans); font-size: 13.5px; color: var(--muted); background: none; border: 0; cursor: pointer; padding: 6px 4px; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--line-2); }
.linkbtn:hover { color: var(--ink); }
.faq-count { font-family: var(--sans); font-size: 13px; color: var(--muted); }
.faq-empty { display: none; font-family: var(--sans); font-size: 15px; color: var(--muted); padding: 24px 0; }

.faq { border-top: 1px solid var(--line-2); }
.faq details { border-bottom: 1px solid var(--line-2); }
.faq summary {
  list-style: none; cursor: pointer; display: grid; grid-template-columns: minmax(0, 1fr) 28px; gap: 12px; align-items: baseline;
  padding: 20px 4px; font-family: var(--sans); font-size: 17.5px; font-weight: 600; letter-spacing: -0.012em; line-height: 1.35;
  transition: background-color .2s;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { background: linear-gradient(90deg, var(--paper-2), transparent); }
.faq .qn { font-family: var(--mono); font-size: 12px; font-weight: 400; color: var(--faint); }
.faq .pm { width: 24px; height: 24px; border: 1px solid var(--line-2); border-radius: 50%; position: relative; align-self: center; transition: transform .3s, background-color .2s; }
.faq .pm::before, .faq .pm::after { content: ""; position: absolute; left: 50%; top: 50%; width: 10px; height: 1.5px; background: var(--ink); transform: translate(-50%, -50%); }
.faq .pm::after { transform: translate(-50%, -50%) rotate(90deg); transition: transform .3s; }
.faq details[open] .pm { background: var(--green); border-color: #4fd12a; }
.faq details[open] .pm::after { transform: translate(-50%, -50%) rotate(0deg); }
.faq .answer { padding: 0 44px 26px 4px; max-width: 760px; color: var(--ink-2); }
.faq .answer ul { padding-left: 1.1em; margin: 0 0 0.9em; }
.faq .answer li { margin-bottom: .4em; }
.faq .answer a { text-decoration-color: var(--green-ink); text-decoration-thickness: 1.5px; }
.faq .answer a:hover { background: var(--green-wash); }
.faq details.is-hidden { display: none; }
.faq mark { background: var(--green-wash); color: inherit; padding: 0 1px; border-radius: 2px; }
@media (max-width: 600px) {
  .faq summary { grid-template-columns: minmax(0, 1fr) 26px; font-size: 16.5px; padding: 18px 0; }
  .faq .answer { padding: 0 0 22px 0; }
}

.ref {
  display: inline-flex; align-items: center; gap: 6px; margin: 2px 0 14px;
  font-family: var(--mono); font-size: 12.5px; color: var(--ink);
  background: var(--paper-2); border: 1px solid var(--line-2); border-radius: 6px; padding: 3px 9px;
}
.ref::before { content: "§"; color: var(--muted); }

/* ---------- figures / charts ---------- */
.figure {
  margin: 0 0 40px; background: var(--paper); border: 1px solid var(--line-2); border-radius: var(--radius); overflow: hidden;
}
.figure__head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 16px 20px 0; flex-wrap: wrap; }
.figure__title { font-family: var(--sans); font-weight: 700; font-size: 14px; letter-spacing: -0.005em; }
.figure__src { font-family: var(--sans); font-size: 12px; color: var(--muted); }
.figure__body { padding: 8px 20px 20px; }
.figure svg { width: 100%; height: auto; display: block; overflow: visible; }
.figure svg text { font-family: var(--sans); fill: var(--ink); }
.figure svg .muted { fill: var(--muted); }
.rough { filter: url(#rough); }
.figure__body img { width: 100%; height: auto; display: block; }
.figure__body--scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; overscroll-behavior-x: contain; }
.figure__body--scroll img { min-width: 520px; }
.draw-path { stroke-dasharray: var(--len, 1000); stroke-dashoffset: var(--len, 1000); transition: stroke-dashoffset 1.6s cubic-bezier(.6,.1,.3,1); }
.in-view .draw-path { stroke-dashoffset: 0; }
.pop { opacity: 0; transform: translateY(6px); transition: opacity .5s, transform .5s; }
.in-view .pop { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .draw-path { transition: none; stroke-dashoffset: 0; } .pop { opacity: 1; transform: none; transition: none; } }

/* deadlines timeline */
.deadlines { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.deadline { display: grid; grid-template-columns: 160px minmax(0, 1fr); gap: 16px; align-items: center; padding: 12px 0; border-top: 1px dashed var(--line-2); }
.deadline:first-child { border-top: 0; }
.deadline__bar { height: 16px; border-radius: 3px; border: 1.5px solid var(--ink); background: repeating-linear-gradient(-55deg, var(--ink) 0 1.2px, transparent 1.2px 5px), var(--green-wash); filter: url(#rough); transform-origin: left; transform: scaleX(0); transition: transform 1.1s cubic-bezier(.6,.1,.3,1); }
.in-view .deadline__bar { transform: scaleX(1); }
.deadline__val { font-family: var(--sans); font-weight: 700; font-size: 15px; line-height: 1.25; }
.deadline__val small { font-weight: 400; color: var(--muted); font-size: 12.5px; display: block; }
.deadline__txt { font-size: 15.5px; color: var(--ink-2); line-height: 1.4; }
.deadline__track { display: grid; gap: 6px; }
@media (max-width: 560px) { .deadline { grid-template-columns: 1fr; gap: 8px; } .deadline__val small { display: inline; margin-left: 6px; } }
@media (prefers-reduced-motion: reduce) { .deadline__bar { transform: none; transition: none; } }

/* ---------- footer ---------- */
.site-footer { border-top: 1px solid var(--line); padding: 56px 0 40px; font-family: var(--sans); font-size: 14px; color: var(--muted); }
.site-footer .wrap { display: flex; align-items: center; justify-content: space-between; gap: 20px 32px; flex-wrap: wrap; }
.foot-copy { margin: 0; font-size: 13px; color: var(--muted); }
.site-footer h4 { font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: var(--ink); margin: 0 0 12px; font-weight: 600; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.site-footer a { color: var(--ink-2); }
.foot-logos { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; margin: 0; }
.foot-logos img { height: 20px; width: auto; }
.foot-logos img.chu { height: 18px; }
.foot-bottom { grid-column: 1 / -1; border-top: 1px dashed var(--line-2); padding-top: 18px; font-size: 12.5px; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
@media (max-width: 760px) { .site-footer .wrap { flex-direction: column; align-items: flex-start; } }

/* ---------- reveal ---------- */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .7s, transform .7s; }
.reveal.in-view { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }
.no-js .reveal, .no-js .pop { opacity: 1; transform: none; }
.no-js .draw-path { stroke-dashoffset: 0; }
.no-js .deadline__bar { transform: none; }
.no-js .card { opacity: 1; transform: none; }

/* ---------- 404 ---------- */
.nf { min-height: calc(100vh - 56px); display: grid; place-items: center; text-align: center; padding: 40px var(--gutter); }
.nf h1 { font-size: clamp(90px, 18vw, 200px); line-height: .9; letter-spacing: -0.05em; }
.nf p { font-size: 19px; color: var(--ink-2); margin: 18px 0 26px; }

.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.partners a, .foot-logos a { display: inline-flex; transition: opacity .2s; }
.partners a:hover, .foot-logos a:hover { opacity: .7; }
