/* ГЕРОФАРМ — «Диабет в лицах: 5 оттенков любви» */

:root {
  --width-base: 1600;
  --width-current: 100vw;
  --width-max: 100px;
  --width-multiplier: min(calc(var(--width-current) / var(--width-base)), var(--width-max));
  --m: var(--width-multiplier); /* размеры: calc(px_макета * var(--m)); база 1600 / 768 / 360 */

  --bg: #181818;
  --blue: #2062af;
  --white: #fff;
  --muted: rgba(255, 255, 255, .4);
  --glass: rgba(255, 255, 255, .1);
  --ff-head: "Montserrat", "Arial", sans-serif;
  --ff-text: "Golos Text", "Arial", sans-serif;

  --ease: cubic-bezier(.76, 0, .24, 1);
  --ease-out: cubic-bezier(.22, 1, .36, 1);

  --pad: calc(32 * var(--m));
  --btn: calc(64 * var(--m));
  --ring: min(calc(100svh - 64 * var(--m)), calc(100vw - 580 * var(--m)));
  --bubble: calc(142 * var(--m));
  --bubble-x: 84.3%;
  --bubble-y: 15.7%;
  --name: calc(80 * var(--m));
  --h3: calc(30 * var(--m));
  --h3-lh: calc(33 * var(--m));
  --text: calc(16 * var(--m));
  --text-lh: calc(20.8 * var(--m));
  --label: calc(14 * var(--m));
  --label-sm: calc(14 * var(--m));
}

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

html {
  -webkit-text-size-adjust: 100%;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, .22) transparent;
}

/* тонкий полупрозрачный скроллбар (Safari и старые Chromium; Firefox/Chrome 121+ берут scrollbar-width/color) */
::-webkit-scrollbar { width: 6px; height: 6px; background: transparent; }
::-webkit-scrollbar-track,
::-webkit-scrollbar-corner { background: transparent; }
::-webkit-scrollbar-thumb { background: rgba(255, 255, 255, .22); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: rgba(255, 255, 255, .4); }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--white);
  font-family: var(--ff-text);
  font-size: var(--text);
  line-height: var(--text-lh);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
body.is-loading { overflow: hidden; }

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
p, h1, h2 { margin: 0; font-weight: inherit; }

:focus-visible { outline: 2px solid var(--white); outline-offset: 3px; }

.icon { display: block; flex: none; }

/* Типографика */
.h3 {
  font-family: var(--ff-head);
  font-weight: 500;
  font-size: var(--h3);
  line-height: var(--h3-lh);
  text-transform: uppercase;
}
.text { font-family: var(--ff-text); font-size: var(--text); line-height: var(--text-lh); }
.text--muted { color: var(--muted); }
.text--strong { font-weight: 600; }

/* разбивка текста на строки/буквы */
.split-line {
  display: block;
  overflow: hidden;
  padding-bottom: .14em;
  margin-bottom: -.14em;
}
.split-line > span {
  display: block;
  translate: 0 110%;
  transition: translate 1.1s var(--ease-out);
  transition-delay: calc(var(--i, 0) * 90ms + var(--d, 0ms));
}
.is-in .split-line > span { translate: 0 0; }

.char { display: inline-block; white-space: pre; }

/* Кнопки */
.btn-round {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: var(--btn);
  height: var(--btn);
  border-radius: 50%;
  background: var(--blue);
  color: var(--white);
  transition: background-color .35s var(--ease-out), color .35s var(--ease-out), scale .35s var(--ease-out);
}
.btn-round .icon--tg { width: calc(21 * var(--m)); height: calc(19 * var(--m)); }
.btn-round .icon--vk { width: calc(22 * var(--m)); height: calc(22 * var(--m)); }
.btn-round .icon--chev { width: calc(8 * var(--m)); height: calc(13 * var(--m)); }
.btn-round .icon--close { width: calc(18 * var(--m)); height: calc(18 * var(--m)); }

.pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: calc(40 * var(--m));
  padding: 0 calc(20 * var(--m));
  border-radius: 999px;
  background: var(--glass);
  -webkit-backdrop-filter: blur(calc(15 * var(--m)));
  backdrop-filter: blur(calc(15 * var(--m)));
  font-family: var(--ff-head);
  font-weight: 600;
  font-size: var(--label);
  line-height: 1.1;
  letter-spacing: .01em;
  text-transform: uppercase;
  white-space: nowrap;
}
.pill--sm { font-size: var(--label-sm); }
.pill--btn { transition: background-color .35s var(--ease-out), color .35s var(--ease-out), scale .35s var(--ease-out); }

@media (hover: hover) {
  .btn-round:hover,
  .pill--btn:hover { background: var(--white); color: var(--blue); }
}
.btn-round:active,
.pill--btn:active { background: var(--white); color: var(--blue); scale: .95; }

/* ПРЕЛОАДЕР */
.preloader {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg);
}
.preloader.is-hidden { display: none; }
/* повторный заход в сессии без обновления страницы — без прелоадера */
.no-preloader .preloader { display: none; }

.preloader__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: calc(24 * var(--m));
}

.preloader__circle { position: relative; width: calc(100 * var(--m)); height: calc(100 * var(--m)); }

.preloader__ring { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.preloader__track,
.preloader__bar { fill: none; stroke-width: 2; }
.preloader__track { stroke: rgba(255, 255, 255, .2); stroke-width: 1; }
.preloader__bar { stroke: var(--blue); stroke-dasharray: 100 100; stroke-dashoffset: 100; }

.preloader__photos {
  position: absolute;
  inset: 10%;
  border-radius: 50%;
  overflow: hidden;
  background: #222;
}
.preloader__photos img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  scale: 1.08;
  transition: opacity .6s ease, scale 1.6s var(--ease-out);
}
.preloader__photos img.is-active { opacity: 1; scale: 1; }

.preloader__pct {
  position: absolute;
  left: 84%;
  top: 0;
  font-family: var(--ff-text);
  font-size: var(--text);
  line-height: var(--text-lh);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.preloader__title {
  font-family: var(--ff-head);
  font-weight: 500;
  font-size: calc(20 * var(--m));
  line-height: calc(22 * var(--m));
  text-transform: uppercase;
  text-align: center;
}
.preloader__title .line { display: block; overflow: hidden; padding-bottom: .14em; margin-bottom: -.14em; }
.preloader__title .line > span { display: block; }

/* ГЛАВНАЯ */
.page { position: relative; }

/* до интро */
.pre [data-intro] { opacity: 0; }

/* Шапка */
.header {
  position: absolute;
  z-index: 30;
  top: 0;
  left: 0;
  right: 0;
  padding: var(--pad);
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  pointer-events: none;
}
.header a,
.header button { pointer-events: auto; }

.header__logo { display: block; }
.header__logo .icon--logo { width: calc(240 * var(--m)); height: calc(32 * var(--m)); }
.header__logo .icon--logo-mark { display: none; width: calc(73 * var(--m)); height: calc(40 * var(--m)); }

.header__socials { display: flex; gap: calc(8 * var(--m)); }

/* Сцена (слайдер) */
.stage {
  position: relative;
  height: 100svh;
  min-height: calc(560 * var(--m));
  overflow: hidden;
  touch-action: pan-y;
}

.stage__media,
.stage__shade { position: absolute; inset: 0; }
.stage__media { z-index: 0; background: var(--bg); }

.slide { position: absolute; inset: 0; overflow: hidden; }
.slide picture,
.slide img { display: block; width: 100%; height: 100%; }
.slide img { object-fit: cover; object-position: center; }

/* ≥1200: фото масштабируется от высоты экрана, но не уже экрана (шире 16:9 — обрезается сверху/снизу) */
@media (min-width: 1200px) {
  .slide picture { position: absolute; inset: 0; }
  .slide img {
    position: absolute;
    left: 50%;
    top: 50%;
    width: auto;
    min-width: 100%;
    height: 133.334%;
    max-width: none;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    translate: -50% -50%;
  }
}

/* затемнение фото */
.stage__shade {
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(180deg,
    rgba(24, 24, 24, 0) 0%,
    rgba(24, 24, 24, .05) 50%,
    rgba(24, 24, 24, .5) 100%);
}

/* Круг-таймер */
.ring {
  position: absolute;
  z-index: 3;
  left: 50%;
  top: 50%;
  width: var(--ring);
  height: var(--ring);
  translate: -50% -50%;
  pointer-events: none;
}
.ring__svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.ring__track,
.ring__arc { fill: none; }
.ring__track { stroke: rgba(255, 255, 255, .2); stroke-width: 1; }
.ring__arc { stroke: var(--white); stroke-width: 2; stroke-dasharray: 100 100; stroke-dashoffset: 100; }

/* «Моя история» */
.bubble {
  position: absolute;
  left: var(--bubble-x);
  top: var(--bubble-y);
  width: var(--bubble);
  height: var(--bubble);
  translate: -50% -50%;
  border-radius: 50%;
  background: var(--blue);
  color: var(--white);
  pointer-events: auto;
  transition: background-color .4s var(--ease-out), color .4s var(--ease-out), scale .5s var(--ease-out);
}
.bubble__arrow {
  position: absolute;
  top: calc(36 * var(--m));
  right: calc(36 * var(--m));
  transition: translate .5s var(--ease-out);
}
.bubble__arrow .icon { width: calc(16 * var(--m)); height: calc(16 * var(--m)); }
.bubble__text {
  position: absolute;
  left: calc(32 * var(--m));
  bottom: calc(32 * var(--m));
  font-family: var(--ff-head);
  font-weight: 600;
  font-size: var(--label);
  line-height: 1.1;
  letter-spacing: .01em;
  text-transform: uppercase;
}
@media (hover: hover) {
  .bubble:hover { background: var(--white); color: var(--blue); scale: 1.04; }
  .bubble:hover .bubble__arrow { translate: calc(3 * var(--m)) calc(-3 * var(--m)); }
}
.bubble:active { background: var(--white); color: var(--blue); scale: .97; }

/* Имя героя */
.hero-title {
  position: absolute;
  z-index: 4;
  left: 50%;
  bottom: calc(120 * var(--m));
  translate: -50% 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: calc(16 * var(--m));
  text-align: center;
  pointer-events: none;
}
.hero-title__name {
  font-family: var(--ff-head);
  font-weight: 500;
  font-size: var(--name);
  line-height: 1;
  letter-spacing: -.02em;
  text-transform: uppercase;
  white-space: nowrap;
}

/* Пагинация (моб.) */
.dots { display: none; }

/* Инфо-колонки */
.info {
  position: absolute;
  z-index: 10;
  inset: 0;
  pointer-events: none;
}
.info a,
.info button { pointer-events: auto; }

.info__left {
  position: absolute;
  left: var(--pad);
  bottom: var(--pad);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.slider-nav {
  display: flex;
  align-items: center;
  gap: calc(8 * var(--m));
  margin-bottom: calc(91 * var(--m));
  pointer-events: auto;
}
.slider-nav__btn--prev .icon { rotate: 180deg; }
.slider-nav__counter {
  margin-left: calc(8 * var(--m));
  font-size: calc(14 * var(--m));
  font-variant-numeric: tabular-nums;
}
.slider-nav__counter i {
  width: calc(2 * var(--m));
  height: calc(2 * var(--m));
  margin: 0 calc(8 * var(--m));
  border-radius: 50%;
  background: currentColor;
}

.info__cols { width: calc(256 * var(--m)); }
.info__countries { color: var(--muted); }
.info__project { margin-top: calc(32 * var(--m)); }

.info__right {
  position: absolute;
  right: var(--pad);
  bottom: var(--pad);
  width: calc(256 * var(--m));
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.info__about { display: flex; flex-direction: column; align-items: center; gap: calc(24 * var(--m)); }
.info__contacts {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: calc(141 * var(--m));
}
.info__mail { transition: color .3s; }
@media (hover: hover) { .info__mail:hover { color: #8fb6e6; } }
.info__copy { margin-top: calc(24 * var(--m)); }

/* МОДАЛКА «О ПРОЕКТЕ» */
.modal {
  position: fixed;
  inset: 0;
  z-index: 50;
  background: var(--bg);
  clip-path: circle(0 at var(--ox, 50%) var(--oy, 50%));
  transition: clip-path .95s var(--ease);
}
.modal[hidden] { display: none; }
.modal.is-open { clip-path: circle(var(--or, 150vmax) at var(--ox, 50%) var(--oy, 50%)); }

.modal__head {
  position: absolute;
  z-index: 5;
  top: 0;
  left: 0;
  right: 0;
  padding: var(--pad);
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  pointer-events: none;
}
.modal__head .btn-round { pointer-events: auto; }

.modal__scroll {
  position: absolute;
  inset: 0;
  overflow-y: auto;
  overflow-x: hidden;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, .22) transparent;
}
.modal__content { position: relative; }

.modal__body {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(2, calc(384 * var(--m)));
  justify-content: center;
  align-items: start;
  padding: calc(208 * var(--m)) 0 calc(80 * var(--m));
}
.modal__title { padding-right: calc(56 * var(--m)); }

.modal__text { display: flex; flex-direction: column; gap: calc(48 * var(--m)); }
.modal__lead { text-align: center; }
.modal__group { display: flex; flex-direction: column; gap: var(--text-lh); }
.modal__share { display: flex; flex-direction: column; gap: calc(8 * var(--m)); text-align: center; }
.modal__quote { text-align: center; }

/* аватары: координаты от центра экрана */
.modal__avatars {
  position: absolute;
  z-index: 1;
  top: 0;
  left: 50%;
  width: 0;
  height: 100%;
  pointer-events: none;
}
.ava {
  position: absolute;
  left: calc(var(--x) * var(--m));
  top: calc(var(--y) * var(--m));
  width: calc(var(--s) * var(--m));
  height: calc(var(--s) * var(--m));
  opacity: 0;
  scale: .4;
  transition: opacity .8s var(--ease-out), scale 1.1s var(--ease-out);
  will-change: translate;
}
.ava img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  animation: ava-float var(--fd, 7s) ease-in-out var(--fdel, 0s) infinite alternate;
}
@keyframes ava-float {
  from { transform: translate3d(0, -4%, 0); }
  to   { transform: translate3d(0, 4%, 0); }
}

/* 1600 */
.ava[data-a="1"]  { --x: -768; --y: 223;  --s: 128; --fd: 6.4s; }
.ava[data-a="6"]  { --x: -512; --y: 387;  --s: 70;  --fd: 5.2s; --fdel: -2s; }
.ava[data-a="7"]  { --x: -512; --y: 672;  --s: 128; --fd: 7.1s; --fdel: -1s; }
.ava[data-a="2"]  { --x: -896; --y: 811;  --s: 256; --fd: 8s;   --fdel: -3s; }
.ava[data-a="8"]  { --x: -256; --y: 811;  --s: 70;  --fd: 5.6s; --fdel: -4s; }
.ava[data-a="10"] { --x: -256; --y: 1096; --s: 128; --fd: 6.8s; --fdel: -2.5s; }
.ava[data-a="5"]  { --x: 128;  --y: 58;   --s: 70;  --fd: 5.9s; --fdel: -1.5s; }
.ava[data-a="9"]  { --x: 512;  --y: 313;  --s: 128; --fd: 7.4s; --fdel: -3.5s; }
.ava[data-a="3"]  { --x: 570;  --y: 951;  --s: 70;  --fd: 6.1s; --fdel: -.5s; }

/* появление контента */
[data-reveal] {
  opacity: 0;
  translate: 0 calc(24 * var(--m));
  transition: opacity .8s var(--ease-out), translate 1s var(--ease-out);
}
[data-reveal].is-in { opacity: 1; translate: 0 0; }
.modal.is-open .ava { opacity: 1; scale: 1; }
.modal.is-closing .ava { transition-duration: .4s; transition-delay: 0s !important; }

/* 768–1199 · макет 768 */
@media (max-width: 1199.98px) {
  :root {
    --width-base: 768;
    --width-max: 1.3px;
    --pad: calc(24 * var(--m));
    --ring: calc(100vw - 48 * var(--m));
    --stage-h: calc(var(--ring) + 168 * var(--m));
    --name: calc(64 * var(--m));
  }

  .header { position: fixed; }

  .stage { height: var(--stage-h); min-height: 0; }

  /* фото светлое до имени и уходит в фон страницы к нижнему краю */
  .stage__shade {
    background: linear-gradient(180deg,
      rgba(24, 24, 24, 0) 0%,
      rgba(24, 24, 24, 0) 50%,
      rgba(24, 24, 24, .3) 72%,
      rgba(24, 24, 24, .75) 88%,
      #181818 100%);
  }

  .ring { top: calc(112 * var(--m)); translate: -50% 0; }

  .hero-title { bottom: calc(136 * var(--m)); }

  .info { position: static; padding: calc(24 * var(--m)) var(--pad) calc(40 * var(--m)); pointer-events: auto; }
  .info__left { position: static; display: block; }

  .slider-nav {
    position: absolute;
    z-index: 10;
    top: calc(var(--stage-h) - 188 * var(--m));
    left: var(--pad);
    right: var(--pad);
    margin: 0;
  }
  .slider-nav__counter { margin-left: auto; }

  .info__cols { width: auto; display: grid; grid-template-columns: 1fr 1fr; }
  .info__cols > * { padding-right: calc(40 * var(--m)); }
  .info__project { margin-top: 0; }

  .info__right { position: static; width: auto; margin-top: calc(48 * var(--m)); }
  .info__about .text,
  .info__contacts { width: calc(360 * var(--m)); }
  .info__contacts { margin-top: calc(88 * var(--m)); }

  /* модалка */
  .modal__body { grid-template-columns: 1fr 1fr; padding: calc(189 * var(--m)) var(--pad) calc(64 * var(--m)); }
  .modal__title { padding-right: calc(40 * var(--m)); }

  .ava[data-a="2"] { --x: -440; --y: 977; --s: 200; }
  .ava[data-a="5"] { --x: 120;  --y: -16; --s: 70; }
  .ava[data-a="6"] { --x: -120; --y: 515; --s: 70; }
  .ava[data-a="1"] { --x: -368; --y: 332; --s: 128; }
  .ava[data-a="7"] { --x: -248; --y: 683; --s: 128; }
  .ava[data-a="8"] { --x: -120; --y: 931; --s: 70; }
  .ava[data-a="3"],
  .ava[data-a="9"],
  .ava[data-a="10"] { display: none; }
}

/* < 768 · макет 360 */
@media (max-width: 767.98px) {
  :root {
    --width-base: 360;
    --width-max: 1.4px;
    --pad: calc(16 * var(--m));
    --btn: calc(48 * var(--m));
    --ring: calc(100vw - 32 * var(--m));
    --media-h: calc(var(--ring) + 237 * var(--m));
    --bubble: calc(104 * var(--m));
    --bubble-x: 81.7%;
    --bubble-y: 18.6%;
    --name: calc(40 * var(--m));
    --h3: calc(24 * var(--m));
    --h3-lh: calc(26.4 * var(--m));
    --label-sm: calc(12 * var(--m));
  }

  .header__socials { display: contents; }
  .header .btn-round--tg { order: -1; }
  .header__logo { margin-top: calc(4 * var(--m)); }
  .header__logo .icon--logo { display: none; }
  .header__logo .icon--logo-mark { display: block; }

  .stage {
    height: auto;
    padding-top: calc(88 * var(--m) + var(--ring) + 32 * var(--m));
  }
  .stage__media,
  .stage__shade { bottom: auto; height: var(--media-h); }

  .ring { top: calc(88 * var(--m)); }

  .bubble__arrow { display: none; }
  .bubble__text {
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-size: calc(12 * var(--m));
  }

  .hero-title {
    position: relative;
    left: auto;
    bottom: auto;
    translate: none;
    gap: calc(8 * var(--m));
  }

  .dots {
    position: relative;
    z-index: 5;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: calc(6 * var(--m));
    height: calc(8 * var(--m));
    margin-top: calc(40 * var(--m));
  }
  .dots span {
    width: calc(2 * var(--m));
    height: calc(2 * var(--m));
    border-radius: 50%;
    background: var(--glass);
    transition: width .4s var(--ease-out), height .4s var(--ease-out), background-color .4s;
  }
  .dots span.near { width: calc(4 * var(--m)); height: calc(4 * var(--m)); }
  .dots span.active { width: calc(8 * var(--m)); height: calc(8 * var(--m)); background: var(--blue); }
  .dots span.far { display: none; }

  .slider-nav { top: calc(104 * var(--m)); left: var(--pad); right: auto; }
  .slider-nav__btn { display: none; }
  .slider-nav__counter { margin-left: 0; }

  .info { padding: calc(40 * var(--m)) var(--pad) calc(32 * var(--m)); text-align: center; }
  .info__cols { display: block; padding: 0 calc(32 * var(--m)); }
  .info__cols > * { padding-right: 0; }
  .info__project { margin-top: calc(24 * var(--m)); }
  .info__right { margin-top: calc(40 * var(--m)); }
  .info__about .text,
  .info__contacts { width: 100%; }
  .info__contacts { margin-top: calc(40 * var(--m)); }

  /* модалка */
  .modal__head { justify-content: center; }
  .modal__head .header__logo { margin-top: calc(4 * var(--m)); }
  .modal__head .header__logo .icon--logo { display: none; }
  .modal__head .header__logo .icon--logo-mark { display: block; }
  .modal__close { position: absolute; top: var(--pad); right: var(--pad); }

  .modal__body { grid-template-columns: 1fr; padding: calc(112 * var(--m)) var(--pad) calc(32 * var(--m)); }
  .modal__title { padding-right: 0; }
  .modal__text { margin-top: calc(32 * var(--m)); gap: calc(32 * var(--m)); }
  .modal__indent { margin-left: calc(82 * var(--m)); }

  .modal__avatars { display: none; }
}

/* Переход между страницами.
   Пока не нужен — display: none: iOS Safari красит «уши» (статус-бар и панель)
   в фон fixed-слоя на весь экран, даже прозрачного. */
.page-fade {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 90;
  background: var(--bg);
}
.is-leaving .page-fade { display: block; animation: page-fade-in .6s var(--ease) both; }
@keyframes page-fade-in { from { opacity: 0; } to { opacity: 1; } }

/* Меньше движения */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    transition-delay: 0s !important;
  }
}

/* Типографика: браузер сам избегает одиноких слов в последней строке (дополняет js/typograph.js) */
p, h1, h2, h3, .text, .h3 { text-wrap: pretty; }
