* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

:root {
  --cream: #fbf6ed;
  --paper: #fffdf8;
  --navy: #0b2d59;
  --wine: #9d1237;
  --wine-hover: #5e0b21;
  --gold: #d79b22;
  --orange: #db5b18;
  --orange-hover: #9c4110;
  --green: #28794b;
  --green-hover: #154028;
  --purple: #7650a4;
  --purple-hover: #442d5f;
  --line: #e7ded0;
	--text-color: #1e2937;
	--text-color-hover: #0057a8;
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--text-color);
  font: 16px/1.5 Arial, sans-serif;
  /*padding-bottom: 76px;*/
}

img {
  max-width: 100%;
  max-height: 100%;
}

a {
  text-decoration: none;
  color: inherit;
}

a:hover {
	color: var(--text-color-hover);
}

.container {
  width: min(1440px, calc(100% - 48px));
  margin: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: #fff;
  border-bottom: 1px solid var(--line);
}

.header-inner {
  min-height: 105px;
  display: flex;
  align-items: center;
  gap: 28px;
}

.brand-group {
  display: flex;
  align-items: center;
  gap: 20px
}

.festival-brand img {
  width: 190px;
}

.brand-divider {
  height: 65px;
  width: 1px;
  background: #233d5f;
}

.partner-brand {
  display: flex;
  flex-direction: column;
	align-items: flex-start;
  position: relative;
  top: -4px;
}

.partner-brand span {
  font-size: 10px;
	line-height: 12px;
  text-transform: uppercase;
  color: var(--navy);
  font-weight: 700;
}

.partner-brand img {
  max-width: 180px;
  height: 52px;
  object-fit: contain;
}

.desktop-nav {
  display: flex;
  gap: 27px;
  margin-left: auto;
  font-weight: 700;
  font-size: 14px;
}

.btn {
  min-height: 48px;
  padding: 0 20px;
  border-radius: 7px;
  border: 1px solid transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  text-transform: uppercase;
  font-weight: 800;
  cursor: pointer;
  font-size: 13px;
}

.btn-primary {
  background: var(--wine);
  color: #fff;
}

.btn-primary:hover {
	background: var(--wine-hover);
  color: #fff;
}

.btn-outline {
  border-color: var(--wine);
  color: var(--wine);
}

.btn-outline:hover {
	background: var(--wine-hover);
  border-color: var(--wine-hover);
  color: #fff;
}

.btn-green {
  background: var(--green);
  color: #fff;
}

.btn-green:hover {
  background: var(--green-hover);
  color: #fff;
}

.btn-purple {
  background: var(--purple);
  color: #fff;
}

.btn-purple:hover {
  background: var(--purple-hover);
  color: #fff;
}

.btn-orange {
  background: var(--orange);
  color: #fff;
}

.btn-orange:hover {
  background: var(--orange-hover);
  color: #fff;
}

.btn-gold {
  border-color: #dfad3d;
  color: #efc15b;
}

.btn-gold:hover {
  border-color: #ce9e39;
  background-color: #ce9e39;
  color: #fff;
}

.full {
  width: 100%;
}

.menu-btn,
.mobile-menu {
  display: none;
}

.screen {
  border-bottom: 1px solid var(--line);
}

.hero-screen,
.hero-about {
  background-color: #fff;
}

.hero-grid {
  display: grid;
  position: relative;
  grid-template-columns: 44% 56%;
  min-height: 730px;
  overflow: hidden;
}

.hero-image-container {
  display: flex;
  justify-content: flex-end;
  align-items: flex-end;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  text-align: right;
}

.hero-image {
  position: relative;
  height: 100%;
}

.hero-picture {
  object-fit: cover;
}

.hero-copy {
  padding: 10px 25px 30px 8px;
  position: relative;
}

.hero-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.hero-btn svg {
  position: relative;
  width: 30px;
  height: 30px;
  flex-shrink: 0;
  fill: currentColor;
  top: -2px;
}

.eyebrow {
  text-transform: uppercase;
  color: var(--navy);
  font-weight: 700;
  font-size: 14px;
}

h1,
h2,
h3 {
  font-family: Georgia, serif;
  color: var(--navy);
}

h1 {
  font-size: clamp(46px, 4.4vw, 56px);
  line-height: .98;
  letter-spacing: -.03em;
  margin: 20px 0 25px;
}

h2 {
  font-size: clamp(30px, 3vw, 46px);
  line-height: 1.05;
  margin: 0 0 12px;
}

h3 {
  font-size: 20px;
  line-height: 1.15;
}

.lead {
  font-size: 16px;
  max-width: 650px;
}

.facts {
  display: flex;
  gap: 20px 50px;
  margin: 28px 0;
}

.fact {
  display: flex;
  gap: 9px;
  max-width: 245px;
}

.fact span {
  color: var(--wine);
  font-size: 21px;
}

.fact svg {
  width: 30px;
  height: 30px;
  fill: var(--wine);
  flex-shrink: 0;
}

.hero-actions {
  display: flex;
  gap: 8px 16px;
  margin: 28px 0 15px;
}

.text-link {
  text-decoration: underline;
  color: var(--navy);
  font-weight: 700;
}

.hero-visual {
  position: relative;
}

.hero-visual_mobile {
  display: none;
}

.fund-card {
  position: absolute;
  right: 40px;
  bottom: 36px;
  background: #fff;
  border-radius: 20px;
  padding: 28px 32px;
  width: min(470px, 75%);
  box-shadow: 0 14px 38px #40200d22;
}

.fund-card-target-title {
  color: var(--navy);
  text-transform: uppercase;
  font-weight: 700;
}

.fund-card-target-value {
  display: block;
  font: 700 46px Georgia;
  color: var(--wine);
  margin: 10px 0 18px;
}

.fund-row {
  display: flex;
  justify-content: space-between;
  gap: 10px;
}

.progress {
  height: 11px;
  background: #ebe6de;
  border-radius: 50px;
  overflow: hidden;
  margin: 10px 0;
}

.progress i {
  display: block;
  height: 100%;
  width: 0;
  background: var(--wine);
  border-radius: inherit;
}

.section-wrap {
  padding: 52px 8px 60px;
}

.section-heading {
  position: relative;
  margin-bottom: 28px;
}

.section-heading p {
  max-width: 900px;
}

.purpose-grid {
  display: grid;
  grid-template-columns: 1.4fr .6fr;
  gap: 24px;
}

.cards-column {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.info-card,
.program-grid article,
.theatres article,
.budget-grid article,
.help-grid article {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 22px;
}

.help-grid-inner {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.help-grid-buttons {
  margin-top: auto;
}

.help-grid-button {
  margin-top: 30px;
}

.info-card {
  display: flex;
  gap: 14px;
}

.info-card svg,
.program-grid article svg {
  width: 30px;
  height: 30px;
  flex-shrink: 0;
  fill: var(--gold);
}

.info-card-title {
  margin-top: 0;
}

.purpose-image {
  border-radius: 18px;
  overflow: hidden;
}

.purpose-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.program-screen {
  background: #fffaf3;
}

.program-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.participants-screen {
  background: #f3f6f9;
}

.theatres {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
}

.theatres article {
  padding: 13px;
}

.theatres article > span {
  font: 700 18px Georgia;
  color: #2d7a49;
}

.theatres .penza {
  color: var(--wine);
}

.theatres .music {
  color: #7a4da0;
}

.theatres h3 {
  font: 700 14px Arial;
  color: #222;
  min-height: 52px;
}

.theatres img {
  width: 100%;
  height: 135px;
  object-fit: cover;
  border-radius: 8px;
}

.theatres p {
  font: 700 14px Georgia;
}

.budget-total {
  margin-bottom: 20px;
}

.budget-total strong {
  display: block;
  font: 700 42px Georgia;
  color: var(--wine);
}

.budget-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.budget-grid article {
  text-align: center;
}

.budget-grid-icon {
  width: 58px;
  height: 58px;
  margin: auto;
  display: grid;
  place-items: center;
  border-radius: 50%;
}

.budget-grid-icon svg {
  fill: #fff;
  width: 30px;
  height: 30px;
}

.gold {
  background: var(--gold);
}

.green {
  background: #5d8a58;
}

.blue {
  background: #3b7dc2;
}

.purple {
  background: #865cb0;
}

.budget-grid article > strong {
  display: block;
  font: 700 27px Georgia;
  color: var(--navy);
  margin: 12px 0;
}

.budget-grid p {
  min-height: 125px;
}

.help-screen {
  background: #faf9fb;
}

.help-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.help-grid-title {
  margin-top: 0;
}

.help-grid input {
  width: 100%;
  height: 43px;
  border: 1px solid #d4d0c8;
  border-radius: 6px;
  padding: 0 10px;
  margin: 5px 0;
}

.amounts {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 7px;
  margin: 12px 0;
}

.amounts a,
.amounts button,
.sticky-buttons-fast {
  background: #fff;
  border: 1px solid #a7a7a7;
  border-radius: 5px;
  text-align: center;
  height: 40px;
  line-height: 40px;
}

.final-screen {
  position: relative;
  background: #082c55 url('assets/closing-bg.jpg') center/cover;
  color: #fff;
}

.final-screen:before {
  content: '';
  position: absolute;
  inset: 0;
  background: #082c55d9;
}

.final-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.2fr .75fr .85fr;
  gap: 30px;
  align-items: center;
  padding: 48px 8px;
}

.final-copy {
  position: relative;
}

.final-copy h2,
.final-copy p {
  color: #fff;
}

.light {
  background: #fff;
  color: var(--navy);
}

.final-card {
  background: #fffaf2;
  color: #222;
  padding: 24px;
  border-radius: 14px;
}

.final-card strong {
  display: block;
  color: var(--wine);
  font: 700 34px Georgia;
  margin: 8px 0;
}

.final-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.final-actions p {
  color: #f1c14f;
  font: 700 18px Georgia;
}

.footer-grid {
  display: grid;
  grid-template-columns: 180px 1fr 1fr 180px;
  gap: 24px;
  align-items: center;
  padding: 28px 8px;
}

.footer-logo-partner {
  text-align: right;
}

.footer-grid img {
  width: 140px;
}

.sticky {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 50;
  min-height: 76px;
  background: #062f5c;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px max(28px, calc((100vw - 1420px)/2));
  font-size: 17px;
}

.sticky-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.sticky-icon {
  position: relative;
  width: 30px;
  height: 30px;
  fill: #fff;
  top: -2px;
}

.sticky-buttons {
  display: flex;
  gap: 12px;
}

.sticky-buttons-fast {
  color: #fff;
  background: transparent;
  border-color: #b9cbe0;
  width: 100px;
}

.sticky-buttons-fast:hover {
  background-color: #0006;
  color: #fff;
}

.sticky-buttons-custom {
  display: flex;
  align-items: center;
  padding: 0 24px;
  background: #efb643;
  color: #13253b;
  font-weight: 800;
  border-radius: 6px;
}

.sticky-buttons-custom:hover {
  background-color: #ce9e39;
  color: #fff;
}

.mobile-menu {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: #fff;
  padding: 18px 28px;
  flex-direction: column;
  gap: 14px;
  font-weight: 700;
  box-shadow: 0 12px 25px #0002;
}

@keyframes preloader-animation {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

.preloader {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80px;
  height: 80px;
  background-color: #fff;
  padding: 5px;
  border-radius: 50%;
}

.preloader-container {
  width: 70px;
  height: 70px;
  border: 6px solid rgb(234, 234, 234);
  border-top: 6px solid var(--gold);
  border-radius: 50%;
  animation: preloader-animation 1s linear infinite;
}

.g-hidden {
  display: none;
}

.alert {
	position: relative;
	padding: 0.75rem 1.25rem;
	margin-bottom: 1rem;
	border: 1px solid transparent;
	border-radius: 0.25rem;
}

.alert-danger {
	color: #721c24;
	background-color: #f8d7da;
	border-color: #f5c6cb;
}

.alert-success {
	color: #155724;
	background-color: #d4edda;
	border-color: #c3e6cb;
}

.alert:empty {
  display: none;
}

.footer {
  background-color: #fff;
}

.help-grid-share {
  position: relative;
}

.help-grid-share-popup {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: 60px;
  border-radius: 6px;
  box-shadow: 0 2px 10px #1c0e0533;
}

.help-grid-share-popup::before {
  content: '';
  display: inline-block;
  position: absolute;
  left: calc(50% - 10px);
  bottom: -8px;
  width: 20px;
  height: 20px;
  background-color: #fff;
  transform: rotate(45deg);
  box-shadow: 0 2px 10px #1c0e0533;
  z-index: 1;
}

.help-grid-share-popup-content {
  position: relative;
  background-color: #fff;
  padding: 10px;
  border-radius: inherit;
  z-index: 2;
}

.help-grid-share:not(.is-active) .help-grid-share-popup {
  display: none;
}

.help-grid-share-list {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

.help-grid-share-item {
  display: flex;
}

.help-grid-share-item svg {
  width: 35px;
  height: 35px;
}

@media(max-width:1400px) {
	.festival-brand img {
		width: 140px;
	}

	.partner-brand img {
		max-width: 100px;
	}

  .hero-image::before {
    content: '';
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, #fff 0%, transparent 20%);
  }

  .hero-image-container {
    left: 20%;
    right: -10%;
  }

  .facts {
    flex-wrap: wrap;
  }

  .hero-actions {
    flex-direction: column;
  }

  .cards-column {
    grid-template-columns: 1fr 1fr;
  }

  .cards-column .info-card:nth-child(3n) {
    grid-column: span 2;
  }
}

@media(max-width:1200px) {
	.brand-divider {
		display: none;
	}

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

  .footer-logo {
    order: 1;
  }

  .footer-logo-org {
    order: 3;
  }

  .footer-logo-location {
    order: 4;
    text-align: right;
  }
  
  .footer-logo-partner {
    order: 2;
  }
}

@media(max-width:1120px) {
  .desktop-nav,
  .header-cta {
    display: none;
  }

  .menu-btn {
    margin-left: auto;
    display: flex;
    width: 42px;
    height: 42px;
    border: 0;
    background: none;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
		cursor: pointer;
  }

  .menu-btn span {
    width: 28px;
    height: 3px;
    background: var(--navy);
  }

  .mobile-menu.is-open {
    display: flex;
  }

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

  .program-grid,
  .budget-grid,
  .help-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .theatres {
    grid-template-columns: repeat(3, 1fr);
  }

  .final-grid {
    grid-template-columns: repeat(2, 1fr);
    align-items: flex-start;
  }

  .final-copy {
    grid-row: span 2 / span 2;
  }
}

@media(max-width:992px) {
  .hero-copy {
    padding: 30px 0 20px;
  }

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

  .hero-image-container {
    left: 40%;
    right: -20%;
  }
  
  .hero-visual {
    padding: 20px;
    margin-bottom: 40px;
  }

  .fund-card {
    position: relative;
    width: 100%;
    right: auto;
    bottom: auto;
  }

  .purpose-grid {
    grid-template-columns: 1.8fr 1fr;
  }

  .cards-column {
    grid-template-columns: 1fr;
  }

  .cards-column .info-card:nth-child(3n) {
    grid-column: auto;
  }
}

@media(max-width:760px) {
  body {
    /*padding-bottom: 68px;*/
    font-size: 15px;
  }

  .container {
    width: calc(100% - 28px);
  }

  .hero-about .section-wrap {
    padding-bottom: 0; 
  }

  .purpose-grid {
    gap: 0;
  }

  .purpose-image {
    border-radius: 0;
    margin: 0 -14px;
  }

  .header-inner {
    min-height: 84px;
  }

  .festival-brand img {
    width: 150px;
  }

  .hero-image-container {
    top: 400px;
    left: auto;
    width: 530px;
  }

  .hero-visual {
    display: none;
  }

  .hero-visual_mobile {
    display: block;
    margin-top: 150px;
    margin-bottom: 0;
  }

  .brand-divider {
    display: none;
  }

  .eyebrow {
    font-size: 12px;
    padding-top: 12px;
  }

  h1 {
    font-size: 42px;
  }

  .lead {
    font-size: 15.5px;
  }

  .facts {
    display: grid;
    gap: 12px;
  }

  .fund-card > strong {
    font-size: 37px;
  }

  .section-wrap {
    padding: 40px 0;
  }

  .purpose-grid,
  .cards-column,
  .program-grid,
  .budget-grid,
  .help-grid {
    grid-template-columns: 1fr;
  }

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

  .theatres article {
    display: grid;
    grid-template-columns: 1fr 115px;
    gap: 10px;
    align-items: center;
  }

  .theatres h3,
  .theatres p,
  .theatres span {
    grid-column: 1;
  }

  .theatres img {
    grid-column: 2;
    grid-row: 1/4;
    height: 100px;
  }

  .budget-grid article {
    text-align: left;
    display: grid;
    grid-template-columns: 62px 1fr;
    column-gap: 12px;
  }

  .budget-grid-icon {
    width: 48px;
    height: 48px;
    grid-row: 1/5;
    margin: 0;
  }

  .budget-grid article > strong {
    margin-top: 0;
  }

  .budget-grid article > strong,
  .budget-grid article h3,
  .budget-grid article p,
  .budget-grid article small {
    grid-column: 2;
  }

  .budget-grid p {
    min-height: 0;
  }

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

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

  .footer-logo-location {
    text-align: left;
  }

  .footer-logo-partner {
    text-align: left;
  }

  .sticky {
    min-height: 68px;
    padding: 9px 16px;
  }

  .sticky-buttons-fast {
    display: none;
  }

  .sticky-buttons-custom {
    padding: 0 14px;
    height: 42px;
    font-size: 13px;
  }

  .final-copy {
    grid-row: auto;
  }
}

@media(max-width:500px) {
  .hero-image-container {
    top: 540px;
    right: -35%;
  }
}

@media(max-width:430px) {
  h1 {
    font-size: 38px;
  }

  .fund-card > strong {
    font-size: 34px;
  }

  .sticky {
    font-size: 13px;
  }
}

.footer-bottom {
  background-color: #2a2a2a;
}

.footer-bottom-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 12px;
  padding-bottom: 12px;
}

@media screen and (max-width: 770px) {
  .footer-bottom-container {
    flex-direction: column;
    padding-top: 0;
  }
}

.footer-copyright {
  margin-right: auto;
}

@media screen and (max-width: 992px) {
  .footer-copyright {
    width: 50%;
    margin-right: 0;
    text-align: center;
  }
}

@media screen and (max-width: 770px) {
  .footer-copyright {
    width: 100%;
    padding: 15px 0;
    position: relative;
  }
}

.footer-copyright-list {
  display: flex;
  flex-wrap: wrap;
  padding: 0;
  margin: 0;
}

@media screen and (max-width: 770px) {
  .footer-copyright-list {
    flex-direction: column;
    align-items: center;
  }
}

@media screen and (max-width: 770px) {
  .footer-copyright::after {
    content: "";
    position: absolute;
    width: 100vw;
    max-width: 100vw;
    left: -20px;
    border-bottom: 1px solid rgba(182, 182, 182, 0.5);
    bottom: 0;
  }
}

.footer-copyright-list-item {
  font-size: 14px;
  line-height: 16px;
  color: #ccc;
  list-style: none;
}

@media screen and (max-width: 992px) {
  .footer-copyright-list-item {
    text-align: left;
  }
}

@media screen and (max-width: 770px) {
  .footer-copyright-list-item {
    text-align: center;
  }
}

@media screen and (max-width: 992px) {
  .footer-copyright-list-item:not(:last-child) {
    margin-bottom: 10px;
  }
}

.footer-develop {
  display: flex;
  flex-wrap: wrap;
  font-size: 14px;
  line-height: 16px;
  color: #ccc;
}

@media screen and (max-width: 770px) {
  .footer-develop {
    padding-top: 10px;
    margin: 0 auto;
  }
}

.footer-develop-label {
  margin-right: 9px;
}

.footer-develop-link {
  margin-top: -2px;
}

.footer-develop-img {
  max-width: 91px;
  max-height: 40px;
}