/* The printed edition of «Живи». */
@font-face {
  font-family: "Onest Atelier";
  src: url("assets/onest-var.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}
@font-face {
  font-family: "Ysabeau Atelier";
  src: url("assets/ysabeau-var.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --paper: #f6efdf;
  --paper-light: #fff9ed;
  --ink: #242018;
  --muted: #5d574c;
  --blue: #202eaa;
  --blue-deep: #17238e;
  --orange: #f2643d;
  --pink: #f59eb6;
  --green: #bfd27c;
  --rule: #c7bdab;
  --gutter: clamp(20px, 5vw, 92px);
  --wide: 1440px;
  --body: "Onest Atelier", Onest, Arial, sans-serif;
  --hand: "Ysabeau Atelier", Ysabeau, Georgia, serif;
  --paper-grain: radial-gradient(ellipse, rgba(69, 51, 24, .10) .48px, transparent .8px);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 1.5rem; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font: 430 1.0625rem / 1.52 var(--body);
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4, p, figure, blockquote, dl, dd { margin: 0; }
img, video { display: block; max-width: 100%; }
button, input, textarea, select { font: inherit; }
button { cursor: pointer; }
button, a { touch-action: manipulation; }
a { color: inherit; text-underline-offset: .21em; }
a:focus-visible, button:focus-visible, [tabindex="0"]:focus-visible {
  outline: 3px solid currentColor;
  outline-offset: 4px;
}
::selection { background: var(--pink); color: var(--ink); }
.shell {
  width: min(100%, var(--wide));
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.sr-only, .visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  white-space: nowrap;
  clip-path: inset(50%);
}
.skip-link, .skip {
  position: fixed;
  z-index: 30;
  inset: 10px auto auto 10px;
  padding: 10px 18px;
  background: var(--paper-light);
  color: var(--ink);
  transform: translateY(-150%);
}
.skip-link:focus, .skip:focus { transform: none; }

.site-header {
  color: var(--ink);
  background: var(--paper);
  border-bottom: 1px solid var(--ink);
}
.header-inner {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  gap: 10px;
  font-size: 2.1rem;
  font-weight: 850;
  line-height: 1;
  letter-spacing: -.09em;
  text-decoration: none;
}
.brand::before {
  content: "";
  width: .69em;
  height: .69em;
  flex: none;
  background: var(--orange);
  clip-path: polygon(50% 0,57% 31%,78% 6%,70% 36%,100% 25%,77% 47%,100% 55%,70% 61%,87% 92%,58% 71%,51% 100%,42% 71%,20% 94%,30% 63%,0 73%,23% 52%,0 43%,31% 38%,12% 12%,41% 29%);
}
.brand:has(svg, img, .mark, .spark)::before { display: none; }
.nav { display: flex; align-items: center; justify-content: center; gap: clamp(14px, 2vw, 36px); }
.nav a, .header-help {
  display: inline-flex;
  align-items: center;
  font-size: .82rem;
  font-weight: 595;
  line-height: 1.25;
  text-decoration: none;
}
.nav a { padding-block: 12px; }
.nav a:hover, .site-footer a:hover { text-decoration: underline; }
.header-help {
  flex: none;
  justify-content: center;
  border-radius: 999px;
  padding: 10px 16px;
  border: 1px solid var(--ink);
}
.header-help:hover { background: var(--ink); color: var(--paper); }

.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background-color: var(--paper);
  background-image: var(--paper-grain);
  background-size: 5px 5px;
}
.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(28px, 5vw, 88px);
  padding-block: clamp(62px, 7.5vw, 126px) clamp(70px, 8vw, 134px);
}
.hero-copy { position: relative; z-index: 2; }
.kicker, .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: .74rem;
  font-weight: 650;
  line-height: 1.45;
  letter-spacing: .035em;
}
.kicker::before, .eyebrow::before {
  content: "";
  width: .75em;
  height: .75em;
  flex: none;
  border-radius: 45% 53% 48% 57%;
  background: var(--orange);
}
.hero h1 {
  margin: .22em 0 .26em -.052em;
  max-width: 8.15em;
  font-size: clamp(76px, 9.5vw, 156px);
  line-height: .84;
  font-weight: 850;
  letter-spacing: -.095em;
  text-wrap: balance;
}
.hero h1 > span { display: block; text-transform: uppercase; }
.hero h1 > span:first-child { transform: rotate(1deg); transform-origin: left center; }
.hero h1 em, .hero h1 i, .hero h1 .accent, .hero h1 .lower, .hero h1 > span:nth-child(2) {
  color: var(--blue);
  font-style: normal;
  display: block;
  transform: rotate(-3deg);
  transform-origin: left center;
}
.hero-intro {
  max-width: 37ch;
  font-size: clamp(18px, 1.5vw, 25px);
  line-height: 1.38;
  letter-spacing: -.031em;
}
.primary-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 13px 20px;
  min-height: 46px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: var(--ink);
  color: var(--paper-light);
  font: 630 .94rem/1.25 var(--body);
  text-decoration: none;
  transition: transform .18s;
}
.hero .primary-action { margin-top: clamp(23px, 2.4vw, 38px); }
.primary-action:hover { background: var(--blue); transform: translateY(-2px); }
.primary-action:focus-visible { outline-color: var(--blue); }

.hero-art {
  position: relative;
  isolation: isolate;
  width: 100%;
  max-width: 670px;
  justify-self: end;
  margin-block: 20px 24px;
  padding: 4.5% 4% 5% 4%;
}
.hero-art::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 4% 8% 12% 3%;
  background: var(--blue);
  transform: rotate(-5.5deg);
}
.hero-art::after {
  content: "";
  position: absolute;
  z-index: 3;
  width: 24%;
  height: clamp(16px, 1.75vw, 26px);
  left: 11%;
  top: 3%;
  background: #d7d292;
  opacity: .84;
  transform: rotate(-10deg);
  clip-path: polygon(1% 0,99% 3%,98% 22%,100% 40%,98% 60%,100% 84%,99% 100%,1% 98%,2% 78%,0 60%,2% 43%,0 20%);
}
.hero-photo {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 1.26;
  height: auto;
  overflow: hidden;
  padding: clamp(7px, .75vw, 13px);
  color: var(--ink);
  background: var(--paper-light);
  box-shadow: 3px 5px 6px #30251728;
  object-fit: cover;
  transform: rotate(2deg);
}
.hero-photo img, .hero-photo picture {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-slip {
  position: absolute;
  isolation: isolate;
  z-index: 2;
  right: -1%;
  bottom: 5%;
  width: min(35%, 192px);
  aspect-ratio: 1.15;
  overflow: hidden;
  color: var(--pink);
  background-color: var(--blue);
  background-image: radial-gradient(#c6c1ee55 .6px, transparent .9px);
  background-size: 3px 3px;
  border: 4px solid var(--paper-light);
  box-shadow: 2px 4px 2px #3626193b;
  transform: rotate(-8deg);
}
.hero-slip::before {
  content: "";
  position: absolute;
  width: 25%;
  height: 75%;
  left: 49%;
  top: 48%;
  border-left: 4px solid var(--green);
  border-radius: 50%;
  transform: rotate(-33deg);
}
.hero-slip::after {
  content: "";
  position: absolute;
  width: 27%;
  height: 12%;
  left: 55%;
  bottom: 15%;
  background: var(--green);
  border-radius: 100% 0 90% 0;
  transform: rotate(-24deg);
}
.slip-flower {
  position: absolute;
  left: 8%;
  top: 2%;
  width: 68%;
  aspect-ratio: 1;
  transform: rotate(13deg);
  background:
    radial-gradient(circle at 50% 50%, var(--orange) 0 20%, transparent 21%),
    radial-gradient(ellipse at 50% 21%, currentColor 0 17%, transparent 18%),
    radial-gradient(ellipse at 71% 29%, currentColor 0 17%, transparent 18%),
    radial-gradient(ellipse at 79% 50%, currentColor 0 17%, transparent 18%),
    radial-gradient(ellipse at 71% 71%, currentColor 0 17%, transparent 18%),
    radial-gradient(ellipse at 50% 79%, currentColor 0 17%, transparent 18%),
    radial-gradient(ellipse at 29% 71%, currentColor 0 17%, transparent 18%),
    radial-gradient(ellipse at 21% 50%, currentColor 0 17%, transparent 18%),
    radial-gradient(ellipse at 29% 29%, currentColor 0 17%, transparent 18%);
}
@keyframes paper-settle {
  from { transform: translateY(8px) rotate(3deg); }
  to { transform: translateY(0) rotate(2deg); }
}
@media (prefers-reduced-motion: no-preference) {
  .hero-photo { animation: paper-settle .82s cubic-bezier(.23,.8,.35,1) both; }
}

.motto {
  color: var(--ink);
  background-color: var(--orange);
  background-image: var(--paper-grain);
  background-size: 3px 3px;
  border-block: 1px solid var(--ink);
}
.motto .shell {
  text-align: center;
  padding-block: clamp(12px, 1.5vw, 24px);
}
.motto p {
  font: italic 650 clamp(22px, 2.1vw, 35px) / 1.14 var(--hand);
  letter-spacing: -.035em;
}

.chapter, .future, .help-section { padding-block: clamp(70px, 9.25vw, 148px); }
.section-head { margin-bottom: clamp(28px, 4.2vw, 66px); }
.section-head h2, .future-inner h2, .help-section h2, .story-copy h2 {
  margin: .25em 0 .27em -.038em;
  font-size: clamp(46px, 6.1vw, 103px);
  font-weight: 745;
  line-height: .99;
  letter-spacing: -.077em;
  text-wrap: balance;
}
.section-head .lead, .lead {
  max-width: 52ch;
  font-size: clamp(18px, 1.48vw, 24px);
  line-height: 1.4;
  letter-spacing: -.028em;
}
.story-grid {
  display: grid;
  grid-template-columns: minmax(0, .97fr) minmax(0, 1.03fr);
  align-items: center;
  gap: clamp(35px, 7vw, 112px);
}
.story-copy, .future-inner, .help-card {
  overflow-wrap: break-word;
}
.story-copy p, .future-inner p:not(.eyebrow), .help-card p {
  max-width: 51ch;
  font-size: clamp(16px, 1.25vw, 21px);
  line-height: 1.56;
  letter-spacing: -.018em;
}
.story-copy p + p, .future-inner p + p { margin-top: 1em; }
.story-copy article + article {
  border-top: 1px solid var(--rule);
  margin-top: clamp(20px, 2.2vw, 34px);
  padding-top: clamp(18px, 2.2vw, 32px);
}
.story-copy article a {
  display: inline-block;
  margin-top: 10px;
  color: var(--blue-deep);
  font-size: .82rem;
  font-weight: 635;
}
.story-copy h3 {
  font-size: clamp(26px, 3.1vw, 52px);
  font-weight: 700;
  line-height: 1.03;
  letter-spacing: -.05em;
  margin-bottom: .5em;
}
.story-figure {
  position: relative;
  isolation: isolate;
  width: min(100%, 660px);
  justify-self: center;
  padding: clamp(9px, .8vw, 16px);
  background: var(--paper-light);
  box-shadow: 2px 6px 8px #3a301f20;
  transform: rotate(-2deg);
}
.story-figure::before {
  content: "";
  position: absolute;
  z-index: 1;
  width: 25%;
  height: 17px;
  top: -5px;
  right: 5%;
  background: #c3ce94dc;
  transform: rotate(8deg);
}
.story-figure img { width: 100%; height: auto; max-height: 560px; object-fit: cover; }
.facts {
  margin-top: clamp(22px, 3vw, 42px);
  padding: 0;
  border-top: 1px solid var(--rule);
}
.facts > div {
  display: grid;
  grid-template-columns: minmax(80px, .7fr) 1.3fr;
  gap: 14px;
  padding: 11px 0;
  border-bottom: 1px solid var(--rule);
}
.facts dt { font-size: .77rem; color: var(--muted); font-weight: 550; }
.facts dd { font-size: .95rem; }

.future {
  border-bottom: 1px solid var(--ink);
  background: var(--paper-light);
}
.future-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(0, .96fr);
  gap: clamp(28px, 6.7vw, 104px);
  align-items: start;
}
.agenda { border-top: 1px solid var(--ink); }
.agenda-item {
  display: grid;
  align-items: start;
  gap: 9px;
  padding: clamp(20px, 2.4vw, 36px) 0;
  border-bottom: 1px solid var(--rule);
}
.agenda-item time {
  color: var(--blue);
  font-size: .78rem;
  line-height: 1.3;
  font-weight: 680;
}
.agenda-item h3 {
  font-size: clamp(24px, 2vw, 36px);
  line-height: 1.1;
  font-weight: 690;
  letter-spacing: -.05em;
}
.agenda-item a { justify-self: start; font-size: .88rem; font-weight: 640; }
.agenda-item a:hover { color: var(--blue); }
.future-inner > a {
  justify-self: start;
  grid-column: 2;
  margin-top: -1.65em;
  font-size: .9rem;
  font-weight: 640;
}
.future .eyebrow::before { background: var(--blue); }
.future-inner h2 { margin-bottom: 0; }
.future-inner > :nth-child(2):not(.eyebrow):not(h2) { align-self: center; }
.help-section {
  position: relative;
  background: var(--green);
  color: var(--ink);
  border-bottom: 1px solid var(--ink);
}
.help-section .eyebrow::before { background: var(--ink); }
.help-grid {
  display: grid;
  gap: clamp(12px, 1.6vw, 26px);
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.help-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 0;
  min-height: 238px;
  padding: clamp(20px, 2.2vw, 39px);
  background: var(--paper-light);
  border: 1px solid var(--ink);
  color: var(--ink);
}
.help-card:nth-child(3n + 2) { background: #ffcfb9; }
.help-card:nth-child(3n) { background: #f0acc0; }
.help-card > :is(.num,.number,.card-number,small,span):first-child {
  font: 650 .78rem/1.25 var(--body);
  margin-bottom: clamp(15px, 1.8vw, 27px);
}
.help-card h3 {
  font-size: clamp(24px, 2.35vw, 43px);
  line-height: 1.05;
  letter-spacing: -.055em;
  font-weight: 700;
  margin-bottom: .5em;
}
.help-card p { font-size: clamp(15px, 1.08vw, 18px); }
.help-card p { margin-bottom: 22px; }
.help-card a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: auto;
  min-height: 40px;
  padding: 9px 13px;
  max-width: 100%;
  border: 1px solid var(--ink);
  border-radius: 30px;
  color: var(--ink);
  font-size: .78rem;
  line-height: 1.23;
  font-weight: 640;
  text-decoration: none;
}
.help-card a:hover { background: var(--ink); color: var(--paper-light); }
.site-footer {
  padding-block: 26px 32px;
  color: var(--ink);
  background-color: var(--paper);
  font-size: .83rem;
}
.site-footer .shell, .footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px 28px;
}
.site-footer a { text-decoration: none; }

@media (max-width: 1100px) {
  .help-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .header-inner { min-height: 66px; gap: 15px; }
  .nav { gap: 13px; }
  .nav a, .header-help { font-size: .76rem; }
  .hero-grid { gap: 24px; }
  .hero h1 { font-size: clamp(66px, 10vw, 93px); }
  .hero-slip { right: 0; }
  .help-card { min-height: 195px; }
}
@media (max-width: 720px) {
  .header-inner { min-height: 60px; flex-wrap: wrap; padding-block: 10px; }
  .brand { font-size: 1.8rem; }
  .header-help { margin-left: auto; }
  .nav {
    order: 3;
    justify-content: flex-start;
    width: 100%;
    gap: 6px 17px;
    flex-wrap: wrap;
  }
  .nav a { padding: 2px 0; }
  .hero-grid, .story-grid, .future-inner { grid-template-columns: 1fr; }
  .hero-grid { gap: 25px; padding-block: 34px 40px; }
  .hero h1 { font-size: clamp(80px, 15.4vw, 112px); max-width: 8.1em; margin-block: .24em .23em; }
  .hero-intro { font-size: 18px; }
  .hero-art { width: min(94%, 520px); justify-self: center; margin: 6px 0 17px; }
  .hero-photo { aspect-ratio: 1.49; }
  .hero-slip { right: -2%; bottom: 5%; width: min(33%, 146px); border-width: 3px; }
  .chapter, .future, .help-section { padding-block: clamp(55px, 10vw, 80px); }
  .section-head h2, .future-inner h2, .help-section h2, .story-copy h2 {
    font-size: clamp(43px, 9.65vw, 70px);
  }
  .story-grid, .future-inner { gap: 29px; }
  .future-inner > a { grid-column: 1; margin-top: -10px; }
  .story-figure { width: min(96%, 520px); }
  .help-grid { grid-template-columns: repeat(auto-fit, minmax(min(100%, 215px), 1fr)); }
  .help-card { min-height: auto; }
  .site-footer .shell, .footer-inner { align-items: flex-start; }
}
@media (max-width: 365px) {
  :root { --gutter: 16px; }
  .hero-copy h1 { font-size: 69px; }
  .header-help { padding: 8px 12px; }
  .hero-slip { width: 32%; }
  .section-head h2, .future-inner h2, .help-section h2, .story-copy h2 { font-size: 39px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
}
/* Keep the whole group in the frame at every viewport width. */
.hero-group .hero-photo {height:auto;aspect-ratio:auto;object-fit:contain}
.hero-group {padding-bottom:0}
.hero-group .hero-slip {bottom:-4px;right:0;width:min(18%,100px);aspect-ratio:1.15}
.hero-group::before {bottom:7%}
@media(max-width:700px){.hero-group .hero-slip{width:17%}}
.story-fabric {max-width:360px}
.story-fabric img {max-height:none;height:auto;object-fit:contain}
.reel-notes {margin:clamp(38px,5.2vw,80px) 0 0}
.reel-notes header h3 {margin:.3em 0 .65em;font-size:clamp(36px,5.1vw,76px);line-height:1.04;letter-spacing:-.065em}
.reel-grid {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:clamp(26px,4.2vw,78px);align-items:start}
.reel-entry {margin:0;min-width:0}
.reel-entry video {width:100%;height:auto;aspect-ratio:1;object-fit:contain;background:#242018}
.reel-entry figcaption {padding:14px 0 0}
.reel-entry strong {font-size:clamp(21px,2vw,32px);line-height:1.2;letter-spacing:-.035em}
.reel-entry p {max-width:44ch;font-size:1rem;line-height:1.48;margin-top:.4em}
@media(max-width:640px){.reel-grid{grid-template-columns:1fr}}
