/* Coda company dancing: světlý vzdušný styl podle roll-upu 2026 (Fraunces + Allison + Ubuntu) */
:root {
  --paper: #faf5f3;
  --white: #ffffff;
  --blush: #f5e9ea;
  --blush-2: #ecd8db;
  --rose: #824e50;
  --rose-deep: #6a3b3e;
  --pink: #c9577c;
  --ink: #3a2a2e;
  --muted: #7a6669;
  --line: rgba(130, 78, 80, 0.18);
  --shadow: 0 24px 60px -30px rgba(106, 59, 62, 0.45);

  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-script: "Allison", "Brush Script MT", cursive;
  --font-body: "Ubuntu", "Helvetica Neue", Arial, sans-serif;

  --radius: 14px;
  --radius-lg: 24px;
  --container: 1200px;
  --header-h: 88px;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
  -webkit-text-size-adjust: 100%;
}

html,
body {
  overflow-x: clip;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  font-weight: 300;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--pink);
  outline-offset: 3px;
  border-radius: 6px;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 350;
  font-variation-settings: "SOFT" 100;
  line-height: 1.1;
}

p {
  margin: 0 0 1em;
}

strong,
b {
  font-weight: 500;
}

.container {
  width: min(100% - 2.5rem, var(--container));
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 100;
  padding: 0.75rem 1.25rem;
  background: var(--rose);
  color: var(--white);
  font-weight: 500;
  border-radius: 999px;
  text-decoration: none;
}

.skip-link:focus {
  top: 1rem;
}

/* Tlačítka */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 52px;
  padding: 0.85rem 1.8rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: lowercase;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.25s var(--ease), background-color 0.25s, border-color 0.25s, color 0.25s;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn--primary {
  background: var(--rose);
  color: var(--white);
  box-shadow: 0 14px 30px -14px rgba(130, 78, 80, 0.8);
}

.btn--primary:hover {
  background: var(--rose-deep);
}

.btn--ghost {
  border-color: rgba(130, 78, 80, 0.45);
  color: var(--rose);
  background: rgba(255, 255, 255, 0.5);
}

.btn--ghost:hover {
  border-color: var(--rose);
  background: var(--white);
}

.btn--small {
  min-height: 42px;
  padding: 0.5rem 1.3rem;
  font-size: 0.9rem;
}

/* Psací štítek nad nadpisem */
.eyebrow {
  margin: 0 0 0.1rem;
  color: var(--rose);
  font-family: var(--font-script);
  font-size: clamp(2.9rem, 4.6vw, 3.9rem);
  font-weight: 400;
  line-height: 1;
}

.section__title {
  color: var(--ink);
  font-size: clamp(2rem, 4.2vw, 3.4rem);
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.section__lead {
  max-width: 40rem;
  margin-top: 1.25rem;
  color: var(--muted);
  font-size: 1.125rem;
}

/* Hlavička */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  transition: background-color 0.3s, box-shadow 0.3s, backdrop-filter 0.3s;
}

.site-header.is-scrolled,
.nav-open .site-header {
  background: rgba(250, 245, 243, 0.9);
  backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 var(--line);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  height: var(--header-h);
}

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

.brand__logo {
  width: 140px;
  height: auto;
}

.nav__toggle {
  display: none;
}

.nav__list {
  display: flex;
  align-items: center;
  gap: 0.15rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav__list a:not(.btn) {
  position: relative;
  display: block;
  padding: 0.5rem 0.7rem;
  color: var(--ink);
  font-size: 0.95rem;
  font-weight: 400;
  letter-spacing: 0.04em;
  text-decoration: none;
}

.nav__list a:not(.btn)::after {
  content: "";
  position: absolute;
  left: 0.7rem;
  right: 0.7rem;
  bottom: 0.3rem;
  height: 1px;
  background: var(--rose);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease);
}

.nav__list a:not(.btn):hover::after,
.nav__list a[aria-current]::after {
  transform: scaleX(1);
}

.nav__cta-item {
  margin-left: 0.75rem;
}

/* Hero */
.hero {
  position: relative;
  min-height: min(100svh, 920px);
  padding: calc(var(--header-h) + 2rem) 0 0;
  overflow: hidden;
  isolation: isolate;
  background: linear-gradient(180deg, var(--paper) 0%, #f8eeee 100%);
}

.hero__wave {
  position: absolute;
  inset: 0;
  z-index: -1;
}

.hero__wave::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(250, 245, 243, 0.92) 0%, rgba(250, 245, 243, 0.7) 32%, rgba(250, 245, 243, 0) 58%);
}

.hero__wave img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 70%;
  opacity: 0.9;
  animation: wave-in 2.4s var(--ease) both;
}

@keyframes wave-in {
  from {
    opacity: 0;
    transform: scale(1.06);
  }
  to {
    opacity: 0.9;
    transform: none;
  }
}

.hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  align-items: end;
  gap: 2rem;
  min-height: calc(min(100svh, 920px) - var(--header-h) - 2rem);
}

.hero__text {
  align-self: center;
  padding-bottom: 4rem;
}

.hero__title {
  display: grid;
  margin: 0 0 1.5rem;
  font-weight: 400;
}

.hero__script {
  width: clamp(200px, 24vw, 360px);
  height: auto;
  margin-left: -0.5rem;
}

.hero__claim {
  margin-top: -0.4em;
  color: var(--ink);
  font-family: var(--font-script);
  font-size: clamp(3.6rem, 7.4vw, 7rem);
  font-weight: 400;
  line-height: 1.05;
}

.hero__lead {
  max-width: 28rem;
  color: var(--ink);
  font-size: 1.15rem;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2rem;
}

.hero__media {
  margin: 0;
  align-self: end;
}

.hero__media img {
  width: 100%;
  max-height: calc(min(100svh, 920px) - var(--header-h) - 2rem);
  object-fit: contain;
  object-position: bottom center;
  animation: rise 1.4s 0.2s var(--ease) both;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

/* Pro každého / Divadlo / Soutěže */
.pillars-band {
  position: relative;
  background: var(--white);
  border-bottom: 1px solid var(--line);
}

.pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin: 0;
  padding: 0;
  list-style: none;
}

.pillar {
  padding: 3.5rem 2.5rem;
  text-align: center;
}

.pillar + .pillar {
  border-left: 1px solid var(--line);
}

.pillar__num {
  display: block;
  margin-bottom: 0.75rem;
  color: var(--pink);
  font-family: var(--font-display);
  font-size: 1rem;
  font-style: italic;
  letter-spacing: 0.2em;
}

.pillar__title {
  margin-bottom: 0.9rem;
  color: var(--rose);
  font-size: clamp(1.6rem, 2.6vw, 2.2rem);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.pillar p {
  max-width: 20rem;
  margin: 0 auto;
  color: var(--muted);
}

/* Sekce */
.section {
  position: relative;
  padding: clamp(5rem, 10vw, 8.5rem) 0;
}

.section--tight {
  padding: clamp(4rem, 7vw, 6rem) 0;
}

.section--blush {
  background: var(--blush);
}

.section__head {
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}

.section__head--center {
  text-align: center;
}

.section__head--row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
}

.section__aside {
  max-width: 24rem;
  margin: 0;
  color: var(--muted);
}

.empty {
  color: var(--muted);
}

/* Aktuálně */
.news {
  display: grid;
  grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
  gap: clamp(2rem, 6vw, 6rem);
  align-items: start;
}

.news__main .section__title {
  margin-bottom: 1.5rem;
}

.news__text {
  max-width: 34rem;
  font-size: 1.15rem;
}

.news__text a {
  color: var(--rose);
  text-underline-offset: 3px;
}

.news__sign {
  margin: 1.5rem 0 2rem;
  color: var(--rose);
  font-family: var(--font-script);
  font-size: 3.2rem;
  line-height: 1;
}

.grant {
  display: grid;
  gap: 1.25rem;
  padding: 2rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: var(--shadow);
}

.grant__logo {
  width: 170px;
}

.grant__item {
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.95rem;
}

.grant__item p {
  margin: 0;
}

.grant__title {
  margin-bottom: 0.35rem !important;
  color: var(--ink);
  font-weight: 500;
}

/* O nás */
.about {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(2rem, 6vw, 6rem);
  align-items: start;
}

.about__media {
  position: sticky;
  top: calc(var(--header-h) + 2rem);
  display: grid;
  justify-items: center;
}

.about__media::before {
  content: "";
  position: absolute;
  inset: 12% 4% 6%;
  z-index: 0;
  border-radius: 50% 50% 46% 54% / 55% 45% 55% 45%;
  background: radial-gradient(circle at 40% 40%, #fff 0%, var(--blush-2) 80%);
}

.about__dancer {
  position: relative;
  z-index: 1;
  width: min(100%, 360px);
}

.about__motto {
  position: relative;
  z-index: 2;
  width: min(100%, 380px);
  margin-top: -1.5rem;
}

.prose p {
  color: var(--ink);
}

.prose .lead {
  margin-top: 1.5rem;
  color: var(--ink);
  font-size: 1.25rem;
  font-weight: 400;
}

.founder {
  margin: 2.5rem 0 0;
  padding: 1.75rem 2rem;
  border-left: 2px solid var(--rose);
  border-radius: 0 var(--radius) var(--radius) 0;
  background: rgba(255, 255, 255, 0.7);
}

.founder p {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-style: italic;
  line-height: 1.6;
}

/* Rozvrh */
.schedule {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
}

.schedule__intro p {
  margin: 1.5rem 0 2rem;
  color: var(--muted);
}

.schedule__card a {
  display: block;
  overflow: hidden;
  padding: 0.75rem;
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: var(--shadow);
  cursor: zoom-in;
  transition: transform 0.4s var(--ease);
}

.schedule__card a:hover {
  transform: translateY(-4px);
}

.schedule__card img {
  width: 100%;
  border-radius: calc(var(--radius-lg) - 8px);
}

/* Tým */
.team {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 2.5rem 1.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.person__photo {
  overflow: hidden;
  aspect-ratio: 4 / 5;
  margin-bottom: 1rem;
  border-radius: 200px 200px var(--radius) var(--radius);
  background: var(--blush-2);
}

.person__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 25%;
  transition: transform 0.6s var(--ease);
}

.person:hover .person__photo img {
  transform: scale(1.05);
}

.person__name {
  margin-bottom: 0.25rem;
  font-size: 1.3rem;
  font-weight: 400;
}

.person__role {
  margin-bottom: 0.4rem;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.5;
}

.person__tel {
  color: var(--rose);
  font-size: 0.95rem;
  font-weight: 400;
  text-decoration: none;
}

.person__tel:hover {
  text-decoration: underline;
}

/* Galerie */
.albums {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.25rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.album {
  position: relative;
  display: grid;
  align-content: end;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  padding: 1.5rem;
  border-radius: var(--radius-lg);
  background: var(--blush-2);
  color: var(--white);
  text-decoration: none;
  isolation: isolate;
}

.album__photo,
.album__photo img {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.album__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease);
}

.album::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, transparent 40%, rgba(58, 30, 34, 0.75) 100%);
  transition: opacity 0.4s;
}

.album:hover .album__photo img {
  transform: scale(1.06);
}

.album__year {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 4vw, 3.4rem);
  font-variation-settings: "SOFT" 100;
  font-weight: 350;
  line-height: 1;
}

.album__count {
  margin-top: 0.4rem;
  font-size: 0.85rem;
  letter-spacing: 0.25em;
  text-transform: lowercase;
}

/* Partneři */
.partners {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.partner {
  display: grid;
  place-items: center;
  width: 190px;
  height: 120px;
  padding: 1rem 1.25rem;
  border-radius: var(--radius);
  background: var(--white);
  transition: transform 0.3s var(--ease), box-shadow 0.3s;
}

.partner:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.partner img {
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: 88px;
  object-fit: contain;
}

/* Kontakt */
.contacts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.contact-card {
  padding: 2rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--white);
}

.contact-card__title {
  margin-bottom: 0.75rem;
  font-size: 1.5rem;
  font-weight: 400;
}

.contact-card__person {
  margin-bottom: 0.5rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.contact-card address {
  margin-bottom: 1rem;
  font-style: normal;
}

.contact-card__links {
  display: grid;
  gap: 0.25rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.contact-card__links a {
  color: var(--rose);
  font-weight: 400;
  text-decoration: none;
  overflow-wrap: anywhere;
}

.contact-card__links a:hover {
  text-decoration: underline;
}

.contact-card--cta {
  display: grid;
  align-content: start;
  gap: 0.75rem;
  border: 0;
  background: var(--rose);
  color: var(--white);
}

.contact-card--cta p {
  color: rgba(255, 255, 255, 0.85);
}

.contact-card--cta .btn--primary {
  background: var(--white);
  color: var(--rose);
  box-shadow: none;
}

.contact-card--cta .btn--ghost {
  border-color: rgba(255, 255, 255, 0.55);
  background: transparent;
  color: var(--white);
}

.social {
  display: flex;
  gap: 0.5rem;
  margin: 0.5rem 0 0;
  padding: 0;
  list-style: none;
}

.social a {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 50%;
  color: inherit;
  transition: background-color 0.25s, color 0.25s;
}

.social a:hover {
  background: var(--white);
  color: var(--rose);
}

.social svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

/* Patička ve stylu pruhu z roll-upu */
.site-footer {
  padding: 4.5rem 0 1.5rem;
  background: var(--rose);
  color: var(--white);
}

.site-footer__inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 3rem;
}

.site-footer__logo {
  width: 190px;
  margin-bottom: 1.5rem;
}

.site-footer__web {
  margin: 0 0 0.25rem;
  font-family: var(--font-display);
  font-size: 1.6rem;
  letter-spacing: 0.18em;
}

.site-footer__brand p:not(.site-footer__web) {
  color: rgba(255, 255, 255, 0.8);
  letter-spacing: 0.08em;
}

.site-footer__title {
  margin-bottom: 1rem;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 400;
  letter-spacing: 0.3em;
  text-transform: lowercase;
  opacity: 0.75;
}

.site-footer__list {
  display: grid;
  gap: 0.4rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-footer__list--cols {
  grid-template-columns: 1fr 1fr;
}

.site-footer a {
  text-decoration: none;
}

.site-footer a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.site-footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 3.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.9rem;
}

.site-footer__bottom p {
  margin: 0;
}

/* Podstránka galerie */
.page-hero {
  position: relative;
  padding: calc(var(--header-h) + 4rem) 0 3.5rem;
  overflow: hidden;
  isolation: isolate;
  background: linear-gradient(180deg, var(--paper), var(--blush));
}

.page-hero__media {
  position: absolute;
  inset: 0 0 0 45%;
  z-index: -1;
}

.page-hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 60%);
  mask-image: linear-gradient(90deg, transparent, #000 60%);
  opacity: 0.55;
}

.page-hero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, var(--blush));
}

.page-hero__title {
  font-size: clamp(3.5rem, 10vw, 7.5rem);
  font-weight: 300;
  line-height: 1;
}

.page-hero__lead {
  margin-top: 1rem;
  color: var(--muted);
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.breadcrumb a {
  color: var(--rose);
}

.photos {
  columns: 4 260px;
  column-gap: 0.75rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.photos li {
  break-inside: avoid;
  margin-bottom: 0.75rem;
}

.photos__item {
  display: block;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--blush-2);
  cursor: zoom-in;
}

.photos__item img {
  width: 100%;
  transition: transform 0.6s var(--ease);
}

.photos__item:hover img {
  transform: scale(1.04);
}

.years {
  margin-top: 4rem;
  padding-top: 2rem;
  border-top: 1px solid var(--line);
}

.years__label {
  color: var(--rose);
  font-family: var(--font-script);
  font-size: 3rem;
  line-height: 1;
}

.years__list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.years__list a {
  display: block;
  padding: 0.5rem 1.15rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--white);
  font-family: var(--font-display);
  font-size: 1.05rem;
  text-decoration: none;
  transition: background-color 0.25s, border-color 0.25s, color 0.25s;
}

.years__list a:hover {
  border-color: var(--rose);
}

.years__list a[aria-current] {
  border-color: var(--rose);
  background: var(--rose);
  color: var(--white);
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1rem;
  padding: 1.5rem;
  background: rgba(36, 22, 25, 0.94);
}

.lightbox[hidden] {
  display: none;
}

.lightbox__figure {
  display: grid;
  justify-items: center;
  gap: 0.75rem;
  margin: 0;
  min-width: 0;
}

.lightbox__img {
  max-width: 100%;
  max-height: calc(100svh - 7rem);
  border-radius: 10px;
  object-fit: contain;
}

.lightbox__caption {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
}

.lightbox__close,
.lightbox__nav {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
  font-size: 1.9rem;
  line-height: 1;
  cursor: pointer;
  transition: background-color 0.25s;
}

.lightbox__close:hover,
.lightbox__nav:hover {
  background: var(--rose);
}

.lightbox__nav[hidden] {
  visibility: hidden;
}

.lightbox__close {
  position: absolute;
  top: 1rem;
  right: 1rem;
}

/* Postupné zobrazení */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* Responzivita */
@media (max-width: 1080px) {
  .nav__toggle {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    min-height: 44px;
    padding: 0.5rem 1rem;
    border: 1px solid rgba(130, 78, 80, 0.4);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.6);
    color: var(--rose);
    font: 400 0.95rem var(--font-body);
    letter-spacing: 0.08em;
    cursor: pointer;
  }

  .nav__bars,
  .nav__bars::before,
  .nav__bars::after {
    display: block;
    width: 18px;
    height: 1.5px;
    background: currentColor;
    transition: transform 0.3s var(--ease), opacity 0.3s;
  }

  .nav__bars {
    position: relative;
  }

  .nav__bars::before,
  .nav__bars::after {
    content: "";
    position: absolute;
    left: 0;
  }

  .nav__bars::before {
    top: -6px;
  }

  .nav__bars::after {
    top: 6px;
  }

  .nav__toggle[aria-expanded="true"] .nav__bars {
    background: transparent;
  }

  .nav__toggle[aria-expanded="true"] .nav__bars::before {
    transform: translateY(6px) rotate(45deg);
  }

  .nav__toggle[aria-expanded="true"] .nav__bars::after {
    transform: translateY(-6px) rotate(-45deg);
  }

  .nav__list {
    position: fixed;
    inset: var(--header-h) 0 auto;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    max-height: calc(100svh - var(--header-h));
    overflow-y: auto;
    padding: 1rem 1.25rem 2rem;
    background: rgba(250, 245, 243, 0.98);
    border-top: 1px solid var(--line);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: opacity 0.3s, transform 0.3s var(--ease), visibility 0.3s;
  }

  .nav__list.is-open {
    opacity: 1;
    visibility: visible;
    transform: none;
  }

  .nav__list a:not(.btn) {
    padding: 0.85rem 0.25rem;
    border-bottom: 1px solid var(--line);
    font-family: var(--font-display);
    font-size: 1.6rem;
    font-variation-settings: "SOFT" 100;
    letter-spacing: 0.03em;
    text-transform: uppercase;
  }

  .nav__list a:not(.btn)::after {
    display: none;
  }

  .nav__cta-item {
    margin: 1.5rem 0 0;
  }

  .nav__cta-item .btn {
    width: 100%;
    min-height: 52px;
  }

  .contacts {
    grid-template-columns: 1fr 1fr;
  }

  .contact-card--cta {
    grid-column: 1 / -1;
  }
}

@media (max-width: 860px) {
  .hero {
    min-height: 0;
  }

  .hero__inner {
    grid-template-columns: 1fr;
    min-height: 0;
    gap: 0;
  }

  .hero__text {
    padding: 1rem 0 0;
  }

  .hero__media img {
    max-height: 60svh;
  }

  .pillars {
    grid-template-columns: 1fr;
  }

  .pillar {
    padding: 2.5rem 1rem;
  }

  .pillar + .pillar {
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .news,
  .about,
  .schedule {
    grid-template-columns: 1fr;
  }

  .about__media {
    position: relative;
    top: 0;
    max-width: 22rem;
    margin-inline: auto;
  }

  .section__head--row {
    display: block;
  }

  .section__aside {
    margin-top: 1rem;
  }

  .site-footer__inner {
    grid-template-columns: 1fr 1fr;
  }

  .site-footer__brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 600px) {
  :root {
    --header-h: 72px;
  }

  .brand__logo {
    width: 112px;
  }

  .hero__actions .btn {
    flex: 1 1 100%;
  }

  .contacts,
  .site-footer__inner {
    grid-template-columns: 1fr;
  }

  .team {
    grid-template-columns: 1fr 1fr;
    gap: 2rem 1rem;
  }

  .person__name {
    font-size: 1.1rem;
  }

  .partner {
    width: calc(50% - 0.5rem);
    height: 100px;
  }

  .partner img {
    max-height: 68px;
  }

  .lightbox {
    grid-template-columns: 1fr;
    padding: 4.5rem 0.75rem 1rem;
  }

  .lightbox__nav {
    position: absolute;
    bottom: 1rem;
  }

  .lightbox__nav--prev {
    left: 1rem;
  }

  .lightbox__nav--next {
    right: 1rem;
  }

  .album {
    aspect-ratio: 3 / 2;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
