﻿/* ==========================================================================
   Александр Баль — официальный сайт
   Одностраничный сайт-слайдер. Без внешних зависимостей.
   ========================================================================== */

/* ---------- Шрифты (self-hosted, без запросов к Google) ---------- */
@font-face {
  font-family: "Great Vibes Logo";
  src: url("../fonts/GreatVibes-Logo.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Montserrat";
  src: url("../fonts/Montserrat-var-cyrillic.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "Montserrat";
  src: url("../fonts/Montserrat-var-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
                 U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212,
                 U+2215, U+FEFF, U+FFFD;
}

/* ---------- Переменные ---------- */
:root {
  --bg: #08080a;
  --white: #f7f4ef;
  --muted: rgba(247, 244, 239, 0.66);
  --faint: rgba(247, 244, 239, 0.55);
  --line: rgba(247, 244, 239, 0.2);
  --line-soft: rgba(247, 244, 239, 0.11);
  --accent: #e7c69a;
  --glass: rgba(12, 12, 15, 0.58);

  --gutter: clamp(20px, 3.2vw, 56px);
  --gutter-y: clamp(20px, 3.4vh, 38px);
  --control-size: 46px;
  --card-width: clamp(320px, 33vw, 410px);
  --radius-card: 22px;

  --font-ui: "Montserrat", "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-logo: "Great Vibes Logo", "Segoe Script", "Brush Script MT", cursive;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);

  /* Ч/б фотографий. Чтобы вернуть цвет — поставьте filter: none. */
  --photo-filter: grayscale(1) contrast(1.06) brightness(1.02);

  color-scheme: dark;
}

/* ---------- Сброс ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
  margin: 0;
}

html {
  background: var(--bg);
  -webkit-text-size-adjust: 100%;
}

body {
  overflow: hidden;
  overscroll-behavior: none;
  background: var(--bg);
  color: var(--white);
  font-family: var(--font-ui);
  font-size: 16px;
  line-height: 1.4;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img,
picture,
svg {
  display: block;
  max-width: 100%;
}

button {
  font: inherit;
  color: inherit;
  border: 0;
  background: none;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

a {
  color: inherit;
  -webkit-tap-highlight-color: transparent;
}

h1,
h2,
p,
ol {
  margin: 0;
}

ol {
  padding: 0;
  list-style: none;
}

[hidden] {
  display: none !important;
}

::selection {
  background: var(--accent);
  color: #111;
}

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

.sr-only {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  padding: 12px 18px;
  border-radius: 999px;
  background: var(--white);
  color: #111;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transform: translateY(-160%);
  transition: transform 0.2s var(--ease);
}

.skip-link:focus {
  transform: translateY(0);
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

/* ---------- Каркас ---------- */
main {
  height: 100vh;
  height: 100svh;
  height: 100dvh;
}

.hero {
  position: relative;
  height: 100%;
  overflow: hidden;
  isolation: isolate;
  background: #050506;
  touch-action: pan-y;
}

.hero__media {
  position: absolute;
  inset: 0;
}

/* ---------- Слайды ---------- */
.slide {
  position: absolute;
  inset: 0;
  margin: 0;
  opacity: 0;
  transition: opacity 1.15s var(--ease);
  will-change: opacity;
}

.slide.is-active {
  opacity: 1;
  z-index: 2;
}

.slide picture,
.slide img {
  display: block;
  width: 100%;
  height: 100%;
}

.slide img {
  object-fit: cover;
  object-position: 50% 42%;
  user-select: none;
  -webkit-user-drag: none;
  pointer-events: none;
  filter: var(--photo-filter);
}

/* Кадрирование под узкие экраны: сохраняем лицо в кадре */
.slide:nth-child(1) img { object-position: 48% 44%; }
.slide:nth-child(2) img { object-position: 38% 44%; }
.slide:nth-child(3) img { object-position: 67% 46%; }

.slide.is-active img {
  animation: kenburns 11s var(--ease) both;
}

@keyframes kenburns {
  from { transform: scale(1.015); }
  to   { transform: scale(1.06); }
}

/* ---------- Затемнение для читаемости интерфейса ---------- */
.hero__scrim {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  background:
    linear-gradient(to bottom,
      rgba(5, 5, 7, 0.62) 0%,
      rgba(5, 5, 7, 0.28) 14%,
      rgba(5, 5, 7, 0) 31%),
    linear-gradient(to top,
      rgba(5, 5, 7, 0.82) 0%,
      rgba(5, 5, 7, 0.42) 17%,
      rgba(5, 5, 7, 0) 46%),
    radial-gradient(120% 95% at 50% 42%,
      rgba(5, 5, 7, 0) 52%,
      rgba(5, 5, 7, 0.34) 100%);
}

/* ---------- Плёночное зерно ---------- */
.hero__grain {
  position: absolute;
  inset: 0;
  z-index: 4;
  pointer-events: none;
  background-image: url("../img/grain.png");
  background-repeat: repeat;
  background-size: 220px 220px;
  opacity: 0.22;
  mix-blend-mode: overlay;
}

@supports not (mix-blend-mode: overlay) {
  .hero__grain {
    display: none;
  }
}

/* ---------- Шапка ---------- */
.topbar {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  padding: var(--gutter-y) var(--gutter);
  padding-top: calc(var(--gutter-y) + env(safe-area-inset-top, 0px));
  pointer-events: none;
}

.topbar > * {
  pointer-events: auto;
}

.brand {
  --brand-size: clamp(2.125rem, 1.3rem + 1.9vw, 3.375rem);
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  font-size: var(--brand-size);
  text-decoration: none;
  color: var(--white);
  transition: opacity 0.3s var(--ease);
}

.brand:hover {
  opacity: 0.78;
}

.brand__name {
  font-family: var(--font-logo);
  font-size: 1em;
  font-weight: 400;
  line-height: 0.95;
  letter-spacing: 0.005em;
  white-space: nowrap;
  text-shadow: 0 2px 26px rgba(0, 0, 0, 0.55);
}

/* Латиница — младшая строка логотипа: слева, легче и с обычным трекингом. */
.brand__latin {
  margin-top: 0.36em;
  margin-left: calc(var(--brand-size) * -0.2);
  margin-right: 0;
  font-family: var(--font-ui);
  font-size: 0.36em;
  font-size: max(12.5px, 0.36em);
  font-weight: 350;
  line-height: 1.2;
  letter-spacing: normal;
  text-transform: none;
  white-space: nowrap;
  color: rgba(247, 244, 239, 0.76);
  text-shadow: 0 1px 14px rgba(0, 0, 0, 0.7);
}

/* ---------- Социальные сети ---------- */
.socials {
  display: flex;
  align-items: center;
  gap: 2px;
  margin: -11px -11px 0 0;
}

.social-link {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  color: rgba(247, 244, 239, 0.9);
  transition: color 0.25s var(--ease), background-color 0.25s var(--ease),
              transform 0.25s var(--ease);
}

.social-link svg {
  width: 24px;
  height: 24px;
  filter: drop-shadow(0 1px 8px rgba(0, 0, 0, 0.45));
}

/* ---------- Анонсы ---------- */
.announce {
  position: absolute;
  left: var(--gutter);
  bottom: calc(var(--gutter-y) + var(--control-size) + 32px + env(safe-area-inset-bottom, 0px));
  z-index: 8;
  display: flex;
  flex-direction: column;
  width: var(--card-width);
  max-height: min(52vh, 430px);
  max-height: min(52svh, 430px);
  overflow: hidden;
  color: var(--white);
  background:
    linear-gradient(155deg, rgba(30, 30, 34, 0.72) 0%, rgba(9, 9, 11, 0.68) 58%),
    rgba(9, 9, 11, 0.6);
  border: 1px solid rgba(247, 244, 239, 0.16);
  border-radius: var(--radius-card);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.1),
    0 28px 70px -24px rgba(0, 0, 0, 0.85);
  -webkit-backdrop-filter: blur(22px) saturate(1.3);
  backdrop-filter: blur(22px) saturate(1.3);
  transition: width 0.4s var(--ease);
}

.announce[data-collapsed="true"] {
  right: auto;
  width: min(340px, calc(100vw - 32px));
}

.announce__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex: 0 0 auto;
  padding: 16px 14px 15px 20px;
}

.announce__title {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 7px;
  font-size: 10px;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: 0.17em;
  text-transform: uppercase;
  color: rgba(247, 244, 239, 0.86);
}

.announce__count {
  display: inline-grid;
  place-items: center;
  min-width: 17px;
  height: 17px;
  padding: 0 5px;
  border: 1px solid rgba(231, 198, 154, 0.4);
  border-radius: 999px;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--accent);
  font-variant-numeric: tabular-nums;
}

.announce__demo {
  padding: 2px 6px;
  border-radius: 999px;
  background: rgba(231, 198, 154, 0.16);
  font-size: 8px;
  letter-spacing: 0.12em;
  color: var(--accent);
}

.announce[data-collapsed="true"] .announce__demo {
  display: none;
}

.announce__toggle {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 30px;
  height: 30px;
  margin: -5px -4px -5px 0;
  border-radius: 50%;
  color: rgba(247, 244, 239, 0.7);
  transition: background-color 0.25s var(--ease), color 0.25s var(--ease);
}

.announce__toggle svg {
  transition: transform 0.35s var(--ease);
}

.announce[data-collapsed="true"] .announce__toggle svg {
  transform: rotate(180deg);
}

.announce__body {
  display: grid;
  grid-template-rows: 1fr;
  min-height: 0;
  visibility: visible;
  transition: grid-template-rows 0.4s var(--ease), opacity 0.28s var(--ease),
              visibility 0s linear 0s;
}

.announce[data-collapsed="true"] .announce__body {
  grid-template-rows: 0fr;
  opacity: 0;
  visibility: hidden;
  transition: grid-template-rows 0.4s var(--ease), opacity 0.28s var(--ease),
              visibility 0s linear 0.4s;
}

.announce__inner {
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 0 20px 6px;
  scrollbar-width: thin;
  scrollbar-color: rgba(247, 244, 239, 0.24) transparent;
}

.announce[data-collapsed="true"] .announce__inner {
  overflow: hidden;
}

.announce__inner::-webkit-scrollbar {
  width: 5px;
}

.announce__inner::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: rgba(247, 244, 239, 0.24);
}

.events {
  border-top: 1px solid var(--line-soft);
}

.event {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) auto;
  align-items: center;
  gap: 13px;
  padding: 13px 0;
}

.event + .event {
  border-top: 1px solid var(--line-soft);
}

.event__date {
  display: grid;
  justify-items: center;
  gap: 1px;
  line-height: 1;
  font-variant-numeric: tabular-nums lining-nums;
}

.event__weekday,
.event__month {
  font-size: 8px;
  font-weight: 500;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: rgba(247, 244, 239, 0.48);
}

.event__day {
  font-size: 23px;
  font-weight: 500;
  letter-spacing: -0.03em;
  color: var(--white);
}

.event__info {
  min-width: 0;
}

.event__city {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 7px;
  font-size: 13.5px;
  font-weight: 600;
  line-height: 1.25;
  color: var(--white);
}

.event__time {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--accent);
  font-variant-numeric: tabular-nums;
}

.event__venue {
  margin-top: 2px;
  font-size: 11.5px;
  line-height: 1.35;
  color: var(--muted);
  overflow-wrap: anywhere;
}

.event__note {
  display: inline-block;
  margin-top: 3px;
  font-size: 9px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--faint);
}

.event__cta {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 7px 11px;
  border: 1px solid rgba(247, 244, 239, 0.26);
  border-radius: 999px;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  color: var(--white);
  transition: background-color 0.25s var(--ease), color 0.25s var(--ease),
              border-color 0.25s var(--ease);
}

.event__cta svg {
  width: 10px;
  height: 10px;
}

.event__status {
  font-size: 9px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--faint);
  white-space: nowrap;
}

/* ---------- Нижняя панель ---------- */
.hero__footer {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 10;
  height: 0;
  pointer-events: none;
}

.hero__footer:focus-visible {
  outline: none;
}

.hero__footer:focus-visible .controls {
  outline: 2px solid var(--accent);
  outline-offset: 6px;
  border-radius: 999px;
}

.dots {
  position: absolute;
  left: 50%;
  bottom: calc(var(--gutter-y) + 11px + env(safe-area-inset-bottom, 0px));
  display: flex;
  align-items: center;
  gap: 4px;
  transform: translateX(-50%);
  pointer-events: auto;
}

.dot {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  padding: 0;
  border-radius: 50%;
}

.dot span {
  display: block;
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: rgba(247, 244, 239, 0.4);
  transition: width 0.35s var(--ease), background-color 0.25s var(--ease);
}

.dot[aria-current="true"] span {
  width: 26px;
  background: var(--white);
}

.controls {
  position: absolute;
  right: var(--gutter);
  bottom: calc(var(--gutter-y) + env(safe-area-inset-bottom, 0px));
  display: flex;
  align-items: center;
  gap: 8px;
  pointer-events: auto;
}

.counter {
  margin-right: 6px;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.14em;
  color: rgba(247, 244, 239, 0.6);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.counter__current {
  color: var(--white);
}

.counter__slash {
  margin: 0 3px;
  color: rgba(247, 244, 239, 0.34);
}

.ctrl {
  display: grid;
  place-items: center;
  width: var(--control-size);
  height: var(--control-size);
  border: 1px solid rgba(247, 244, 239, 0.24);
  border-radius: 50%;
  color: var(--white);
  background: rgba(10, 10, 12, 0.32);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  transition: background-color 0.25s var(--ease), color 0.25s var(--ease),
              border-color 0.25s var(--ease), transform 0.25s var(--ease);
}

.ctrl svg {
  width: 19px;
  height: 19px;
}

.ctrl--pause .icon-play {
  display: none;
}

.ctrl--pause[data-playing="false"] .icon-pause {
  display: none;
}

.ctrl--pause[data-playing="false"] .icon-play {
  display: block;
}

/* ---------- Индикатор автопрокрутки ---------- */
.progress {
  position: absolute;
  left: 0;
  right: 0;
  bottom: env(safe-area-inset-bottom, 0px);
  z-index: 11;
  height: 2px;
  background: rgba(247, 244, 239, 0.2);
}

.progress__bar {
  display: block;
  height: 100%;
  transform: scaleX(0);
  transform-origin: 0 50%;
  background: linear-gradient(90deg, rgba(247, 244, 239, 0.9), var(--accent));
  will-change: transform;
}

/* ---------- Наведение только на устройствах с курсором ---------- */
@media (hover: hover) and (pointer: fine) {
  .social-link:hover {
    color: var(--white);
    background: rgba(247, 244, 239, 0.12);
    transform: translateY(-2px);
  }

  .announce__toggle:hover {
    color: var(--white);
    background: rgba(247, 244, 239, 0.09);
  }

  .event__cta:hover {
    color: #111;
    background: var(--white);
    border-color: var(--white);
  }

  .ctrl:hover {
    color: #111;
    background: var(--white);
    border-color: var(--white);
    transform: translateY(-1px);
  }

  .dot:hover span {
    background: rgba(247, 244, 239, 0.78);
  }
}

/* ==========================================================================
   Адаптив
   ========================================================================== */

/* Планшеты и небольшие ноутбуки */
@media (max-width: 900px) {
  :root {
    --card-width: 380px;
    --radius-card: 20px;
  }

  .event__city {
    font-size: 13px;
  }

  .event__venue {
    font-size: 11px;
  }

  .socials {
    gap: 0;
    margin-right: -7px;
  }

  .social-link {
    width: 42px;
    height: 42px;
  }

  .social-link svg {
    width: 22px;
    height: 22px;
  }
}

/* Телефоны */
@media (max-width: 720px) {
  :root {
    --gutter: 18px;
    --gutter-y: 18px;
    --control-size: 42px;
    --card-width: auto;
    --radius-card: 18px;
  }

  .topbar {
    flex-direction: column;
    align-items: flex-start;
    gap: 7px;
    padding-top: calc(var(--gutter-y) + env(safe-area-inset-top, 0px));
  }

  .socials {
    margin: 0 0 0 -9px;
    gap: 0;
  }

  .social-link {
    width: 44px;
    height: 44px;
  }

  .social-link svg {
    width: 22px;
    height: 22px;
  }

  .announce {
    left: 16px;
    right: 16px;
    bottom: calc(var(--gutter-y) + var(--control-size) + 24px + env(safe-area-inset-bottom, 0px));
    width: auto;
    max-height: min(46vh, 380px);
    max-height: min(46svh, 380px);
  }

  .announce__top {
    padding: 14px 12px 13px 16px;
  }

  .announce__title {
    font-size: 9.5px;
    letter-spacing: 0.15em;
  }

  .announce__inner {
    padding: 0 16px 4px;
  }

  .event {
    grid-template-columns: 42px minmax(0, 1fr) auto;
    gap: 10px;
    padding: 12px 0;
  }

  .event__day {
    font-size: 21px;
  }

  .event__city {
    font-size: 13px;
    gap: 6px;
  }

  .event__venue {
    font-size: 11px;
  }

  .event__cta {
    padding: 7px 9px;
    font-size: 8.5px;
    letter-spacing: 0.08em;
  }

  .dots {
    display: none;
  }

  .counter {
    margin-right: 4px;
    font-size: 9px;
    letter-spacing: 0.1em;
  }

  .controls {
    gap: 7px;
  }

  .ctrl svg {
    width: 18px;
    height: 18px;
  }

  .slide:nth-child(1) img { object-position: 48% 44%; }
  .slide:nth-child(2) img { object-position: 38% 42%; }
  .slide:nth-child(3) img { object-position: 67% 46%; }

  .hero__grain {
    background-size: 190px 190px;
    opacity: 0.18;
  }
}

@media (max-width: 380px) {
  .announce__demo {
    display: none;
  }
}

/* Очень узкие телефоны */
@media (max-width: 360px) {
  .social-link {
    width: 40px;
    height: 40px;
  }

  .social-link svg {
    width: 20px;
    height: 20px;
  }

  .event {
    grid-template-columns: 38px minmax(0, 1fr) auto;
    gap: 8px;
  }

  .event__venue {
    font-size: 10.5px;
  }
}

/* Низкие экраны: альбомная ориентация телефона, небольшие окна */
@media (max-height: 560px) and (orientation: landscape) {
  :root {
    --gutter: 18px;
    --gutter-y: 14px;
    --control-size: 38px;
  }

  .topbar {
    flex-direction: row;
    align-items: center;
    gap: 16px;
  }

  .brand {
    --brand-size: 1.9rem;
    font-size: var(--brand-size);
  }

  .socials {
    margin: -4px -8px 0 0;
  }

  .social-link {
    width: 34px;
    height: 34px;
  }

  .social-link svg {
    width: 18px;
    height: 18px;
  }

  .announce {
    left: var(--gutter);
    right: auto;
    bottom: calc(var(--gutter-y) + var(--control-size) + 18px);
    width: min(360px, 52vw);
    max-height: min(calc(100vh - 150px), 340px);
    max-height: min(calc(100svh - 150px), 340px);
  }

  .announce__demo {
    display: none;
  }

  .announce__top {
    padding: 11px 12px 10px 15px;
  }

  .announce__inner {
    padding: 0 15px 4px;
  }

  .event {
    padding: 9px 0;
  }

  .event__day {
    font-size: 19px;
  }

  .event__venue {
    font-size: 10.5px;
  }

  .dots {
    display: none;
  }

  .counter {
    display: none;
  }

  .progress {
    height: 2px;
  }
}

/* ==========================================================================
   Специальные возможности и предпочтения
   ========================================================================== */

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .slide {
    transition: none;
  }

  .slide.is-active img {
    animation: none;
    transform: none;
  }
}

@media (prefers-reduced-transparency: reduce) {
  .announce {
    background: #111114;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }

  .ctrl {
    background: #141416;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }
}

@media (prefers-contrast: more) {
  :root {
    --muted: rgba(247, 244, 239, 0.82);
    --faint: rgba(247, 244, 239, 0.68);
    --line: rgba(247, 244, 239, 0.5);
    --line-soft: rgba(247, 244, 239, 0.34);
  }

  .hero__grain {
    display: none;
  }

  .announce {
    background: #0c0c0e;
    border-color: rgba(247, 244, 239, 0.6);
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }

  .ctrl {
    background: #101012;
    border-color: rgba(247, 244, 239, 0.6);
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }

  .event__cta {
    border-color: rgba(247, 244, 239, 0.7);
  }
}

/* Печать: скрываем интерфейс слайдера */
@media print {
  body {
    overflow: visible;
    background: #fff;
    color: #000;
  }

  .topbar,
  .announce,
  .hero__footer,
  .hero__grain,
  .progress,
  .skip-link {
    display: none !important;
  }

  .hero,
  main {
    height: auto;
  }

  .slide {
    position: static;
    opacity: 1;
    page-break-inside: avoid;
  }

  .slide img {
    height: auto;
  }
}
