@font-face {
  font-family: "Horta";
  src: url("assets/fonts/horta.ttf") format("truetype");
  font-display: swap;
}

@font-face {
  font-family: "Roboto Condensed";
  src: url("assets/fonts/RobotoCondensed-Light.ttf") format("truetype");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Roboto Condensed";
  src: url("assets/fonts/RobotoCondensed-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Roboto Condensed";
  src: url("assets/fonts/RobotoCondensed-Medium.ttf") format("truetype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Roboto Condensed";
  src: url("assets/fonts/RobotoCondensed-SemiBold.ttf") format("truetype");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Roboto Condensed";
  src: url("assets/fonts/RobotoCondensed-Bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Roboto Condensed";
  src: url("assets/fonts/RobotoCondensed-ExtraBold.ttf") format("truetype");
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

:root {
  --font-heading: "Horta", Impact, "Arial Narrow", "Roboto Condensed", sans-serif;
  --font-body: "Roboto Condensed", "Arial Narrow", Arial, sans-serif;
  --ink: #2b2d32;
  --muted: #55565c;
  --paper: #fbfbfb;
  --warm: #f4ecd9;
  --dark: #1f2230;
  --gold: #e3b74b;
  --gold-dark: #be8d20;
  --red: #bf1722;
  --line: rgba(31, 34, 48, 0.36);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.35;
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body,
button,
input {
  font-family: var(--font-body);
}

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

a {
  color: inherit;
}

section[id],
footer[id] {
  scroll-margin-top: 40px;
}

h1,
h2,
h3,
h4,
summary,
.footer-logo {
  font-family: var(--font-heading);
  font-weight: 400;
  letter-spacing: 0;
}

h1,
h2,
h3,
h4,
p {
  overflow-wrap: anywhere;
}

h1,
h2,
h3,
h4,
p {
  margin: 0;
}

h1 {
  max-width: 970px;
  color: #fff;
  font-size: clamp(3.1rem, 7.2vw, 7.6rem);
  line-height: 0.92;
  text-align: center;
  text-transform: uppercase;
}

h2 {
  font-size: 40px;
  line-height: 0.95;
  text-align: center;
}

h3 {
  font-size: 26px;
  line-height: 0.98;
}

h3 + p {
  margin-top: 16px;
}

.site-header {
  position: relative;
  z-index: 50;
  min-height: 96px;
  background: #fbfbfb;
  box-shadow: none;
}

.header-inner {
  width: min(1120px, 100%);
  min-height: 96px;
  display: flex;
  align-items: center;
  gap: 42px;
  margin: 0 auto;
  padding: 0 20px;
}

.logo {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  width: 124px;
  color: var(--ink);
  text-decoration: none;
}

.logo img {
  width: 100%;
  height: auto;
}

.footer-logo {
  display: grid;
  width: max-content;
  color: var(--ink);
  text-decoration: none;
}

.footer-logo span {
  font-size: 1.75rem;
  line-height: 0.78;
}

.footer-logo small {
  font-family: var(--font-body);
  font-size: 0.83rem;
  line-height: 1;
  letter-spacing: 0.04em;
}

.nav {
  display: flex;
  flex: 1 1 auto;
  justify-content: flex-end;
  align-items: center;
  gap: clamp(2.25rem, 3.35vw, 2.85rem);
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 500;
  line-height: 1;
}

.nav a {
  color: #222;
  text-decoration: none;
  transition: opacity 160ms ease, color 160ms ease;
}

.nav a:hover {
  color: #222;
  opacity: 0.68;
}

.header-button {
  display: inline-flex;
  flex: 0 0 auto;
  height: 44px;
  align-items: center;
  justify-content: center;
  border-radius: 2px;
  padding: 0 28px;
  background: #e3b64b;
  color: #222;
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 500;
  line-height: 1;
  text-decoration: none;
  transition: background 160ms ease, transform 160ms ease;
}

.header-button:hover {
  background: #d4a438;
  transform: translateY(-1px);
}

.mobile-header-button,
.menu-toggle,
.mobile-menu {
  display: none;
}

.back-to-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 60;
  display: inline-flex;
  width: 48px;
  height: 48px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(32, 34, 49, 0.16);
  border-radius: 50%;
  background: #e3b64b;
  color: #202231;
  font-family: var(--font-body);
  font-size: 28px;
  font-weight: 400;
  line-height: 1;
  box-shadow: 0 16px 32px rgba(32, 34, 49, 0.2);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity 180ms ease, visibility 180ms ease, transform 180ms ease, background 160ms ease;
}

.back-to-top:hover {
  background: #d4a438;
  transform: translateY(8px);
}

.back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top.is-visible:hover {
  transform: translateY(-2px);
}

@media (min-width: 721px) {
  .site-header {
    box-shadow: none;
  }

  .logo {
    width: 144px;
  }

  .nav {
    gap: clamp(2.85rem, 4vw, 3.6rem);
    font-weight: 400;
  }
}

.button {
  position: relative;
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border: 0;
  border-radius: 2px;
  padding: 0.86rem 2.35rem;
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.28rem;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

.button-small {
  min-height: 40px;
  padding: 0.62rem 1.4rem;
  font-size: 1rem;
}

.button span {
  position: relative;
  z-index: 1;
}

.button::before {
  content: "";
  position: absolute;
  inset: 0;
  transform: translateX(-125%) skewX(-18deg);
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.5), transparent);
  transition: transform 650ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button:hover::before {
  transform: translateX(125%) skewX(-18deg);
}

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

.button-gold:hover {
  background: #eac760;
}

.button-glass {
  color: #fff;
}

.button-glass::before {
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.28), transparent);
}

.glass {
  border: 1px solid rgba(255, 255, 255, 0.48);
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.16);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.hero {
  position: relative;
  min-height: 700px;
  display: grid;
  place-items: center;
  overflow: hidden;
  padding: 6rem 0 6.25rem;
}

.hero-media,
.hero-media picture,
.hero-image,
.hero-overlay,
.renewal-bg,
.renewal-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-media picture {
  display: block;
}

.hero-image {
  object-fit: cover;
  object-position: center 45%;
  filter: saturate(0.96);
}

.hero-overlay {
  z-index: 1;
  background:
    linear-gradient(
      to bottom,
      rgba(0, 0, 0, 0.34) 0%,
      rgba(0, 0, 0, 0.46) 45%,
      rgba(0, 0, 0, 0.50) 100%
    );
  backdrop-filter: blur(1.2px);
  -webkit-backdrop-filter: blur(1.2px);
}

.hero-edge {
  position: absolute;
  left: -2px;
  right: auto;
  display: block;
  width: calc(100% + 4px);
  min-width: calc(100% + 4px);
  height: auto;
  margin: 0;
  padding: 0;
  border: 0;
  pointer-events: none;
  z-index: 2;
}

.hero-edge-top {
  top: 0;
  left: 0;
  width: 100%;
  min-width: 100%;
}

.hero-edge-bottom {
  bottom: 0;
}

.hero-content-container {
  position: relative;
  z-index: 3;
  width: min(1120px, 100%);
  margin: 0 auto;
  padding-inline: 20px;
}

.hero-content {
  width: min(780px, 100%);
  margin: 0 auto;
  display: grid;
  justify-items: center;
  color: #fff;
  text-align: center;
}

.hero h1 {
  max-width: 900px;
  color: #fff;
  font-family: var(--font-heading);
  font-size: clamp(46px, 4.4vw, 56px);
  font-weight: 700;
  line-height: 1.05;
  text-align: center;
  text-transform: uppercase;
}

.hero-title-line {
  display: inline;
}

.hero-subtitle-line {
  display: inline;
}

.hero-content p {
  max-width: 740px;
  margin-top: 24px;
  color: #fff;
  font-family: var(--font-body);
  font-size: 18px;
  font-weight: 400;
  line-height: 1.4;
  text-align: center;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: clamp(36px, 4vw, 48px);
  margin-top: 40px;
}

.hero-actions .button {
  width: 246px;
  min-height: 56px;
  padding: 0 24px;
  box-shadow: none;
  font-family: var(--font-body);
  font-size: 21px;
  font-weight: 400;
}

.hero-actions .button-gold {
  background: #e1b848;
  color: #202231;
}

.hero-actions .button-glass {
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
}

@media (min-width: 721px) {
  .site-header {
    margin-bottom: 0;
    border-bottom: 0;
    box-shadow: none;
  }

  .hero {
    min-height: 760px;
    overflow: visible;
    padding: 7.35rem 0 8.5rem;
    z-index: 1;
  }

  .hero-image {
    object-position: center 48%;
  }

  .hero-overlay {
    background:
      linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.62) 0%,
        rgba(0, 0, 0, 0.54) 35%,
        rgba(0, 0, 0, 0.45) 70%,
        rgba(0, 0, 0, 0.42) 100%
      );
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  .hero-edge-top {
    top: 0;
    left: -2px;
    width: calc(100% + 4px);
    min-width: calc(100% + 4px);
  }

  .hero-edge-bottom {
    bottom: -1px;
    height: auto;
    z-index: 4;
  }

  .hero-content-container {
    z-index: 5;
  }

  .hero-content {
    width: min(900px, 100%);
  }

  .hero h1 {
    max-width: 1040px;
    font-size: clamp(56px, 4.55vw, 68px);
    font-weight: 400;
    line-height: 0.98;
  }

  .hero-title-line {
    display: block;
  }

  .hero-content p {
    max-width: 980px;
    margin-top: 28px;
    font-size: 22px;
    font-weight: 400;
    line-height: 1.35;
  }

  .hero-subtitle-line {
    display: block;
  }

  .hero-actions {
    gap: 54px;
    margin-top: 46px;
  }

  .hero-actions .button {
    width: 260px;
    min-height: 56px;
    font-size: 18px;
    font-weight: 400;
  }

  .hero-actions .button-glass {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
  }
}

.torn {
  --tear: 42px;
}

.torn-bottom::after,
.torn-top::before {
  content: "";
  position: absolute;
  z-index: 4;
  left: 0;
  right: 0;
  height: var(--tear);
  pointer-events: none;
  background: var(--paper);
}

.torn-bottom::after {
  bottom: -1px;
  clip-path: polygon(0 45%, 7% 59%, 16% 43%, 25% 56%, 34% 42%, 43% 54%, 52% 40%, 61% 57%, 70% 44%, 79% 58%, 89% 42%, 100% 55%, 100% 100%, 0 100%);
}

.torn-top::before {
  top: -1px;
  clip-path: polygon(0 0, 100% 0, 100% 55%, 91% 42%, 82% 58%, 72% 41%, 63% 55%, 54% 43%, 44% 57%, 35% 42%, 25% 55%, 15% 43%, 7% 57%, 0 44%);
}

.section {
  position: relative;
  padding: clamp(5rem, 9vw, 9rem) clamp(1rem, 5vw, 5rem);
}

.section-heading {
  position: relative;
  z-index: 2;
  width: min(850px, 100%);
  margin: 0 auto clamp(2.5rem, 5vw, 4.5rem);
  text-align: center;
}

.section-heading p {
  margin-top: 1.1rem;
  color: var(--muted);
  font-family: var(--font-body);
  font-size: 20px;
  font-weight: 400;
  line-height: 1.4;
}

.ornament::before,
.ornament::after {
  content: "";
  position: absolute;
  z-index: 0;
  width: 270px;
  height: 270px;
  opacity: 0.12;
  pointer-events: none;
  background:
    linear-gradient(45deg, transparent 40%, var(--red) 41% 59%, transparent 60%),
    linear-gradient(-45deg, transparent 40%, var(--red) 41% 59%, transparent 60%),
    radial-gradient(circle at center, transparent 0 20%, var(--red) 21% 28%, transparent 29%);
  background-size: 92px 92px;
}

.ornament-left::before {
  left: -55px;
  bottom: 6%;
}

.ornament-right::after {
  right: -70px;
  bottom: 9%;
}

#about.about {
  overflow: hidden;
  scroll-margin-top: 120px;
  padding: 20px 20px 82px;
  background: transparent;
}

.sections-decor-wrapper {
  position: relative;
  overflow: visible;
  background: #fbfbfb;
}

.sections-decor-wrapper > section {
  position: relative;
  z-index: 2;
}

.decor-ornament {
  position: absolute;
  z-index: 0;
  width: 520px;
  height: auto;
  opacity: 0.13;
  pointer-events: none;
}

.decor-ornament--left {
  width: 600px;
  left: max(-250px, calc((100vw - 1900px) / 2 - 130px));
  top: 34%;
  transform: translateY(-50%);
}

.decor-ornament--right {
  right: max(-220px, calc((100vw - 1900px) / 2 - 60px));
  top: 72%;
  transform: translateY(-50%);
}

.about .section-heading {
  width: min(780px, 100%);
  margin-bottom: 66px;
}

.about .section-heading h2 {
  color: #202231;
  font-family: var(--font-heading);
  font-size: 40px;
  font-weight: 700;
  line-height: 1.05;
}

.about .section-heading p {
  max-width: 760px;
  margin: 18px auto 0;
  color: #3f4149;
  font-family: var(--font-body);
  font-size: 20px;
  font-weight: 400;
  line-height: 1.4;
}

.about-grid {
  position: relative;
  z-index: 2;
  width: min(1120px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 38px 34px;
  align-items: start;
}

.about-item {
  display: grid;
  gap: 34px;
  align-items: flex-start;
}

.about-item-left {
  grid-template-columns: 160px minmax(0, 1fr);
}

.about-item-right {
  grid-template-columns: minmax(0, 1fr) 160px;
}

.about-grid img {
  width: 100%;
  height: 130px;
  border-radius: 2px;
  object-fit: cover;
  margin-top: 0;
  transform: none;
}

.about-grid picture {
  display: block;
  height: 130px;
  margin-top: 0;
  transform: none;
}

.about-grid article {
  min-height: 0;
}

.about-grid h3 {
  margin-top: 0;
  color: #202231;
  font-family: var(--font-heading);
  font-size: 26px;
  font-weight: 700;
  line-height: 1.08;
}

.about-grid p,
.audience-grid p,
.mission-grid p,
.restoration-card p,
.participation-tab span,
.participation-panel p,
.faq p {
  font-family: var(--font-body);
  font-size: 17px;
  font-weight: 400;
  line-height: 1.4;
  color: var(--muted);
}

.about-grid article p {
  color: #4d5058;
  font-family: var(--font-body);
  font-size: 17px;
  font-weight: 400;
  line-height: 1.35;
}

.audience-grid {
  position: relative;
  z-index: 2;
  width: min(1120px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 2rem;
  text-align: center;
}

.audience-grid img {
  width: 100%;
  height: 170px;
  border-radius: 2px;
  object-fit: contain;
  object-position: center bottom;
  margin-bottom: 10px;
}

.audience-grid h3 {
  line-height: 1.08;
}

.audience-grid h3 + p {
  margin-top: 16px;
}

.audience-grid p {
  color: #4d5058;
  font-size: 17px;
  line-height: 1.28;
}

.audience {
  padding-top: 86px;
  padding-bottom: 104px;
}

.mission {
  overflow: hidden;
  padding: 78px 20px 96px;
  background: transparent;
}

.mission::after {
  content: none;
}

.mission .section-heading {
  width: min(860px, 100%);
  margin-bottom: 96px;
}

.mission .section-heading p {
  max-width: 780px;
  margin: 1.1rem auto 0;
  color: #3f4149;
  font-size: 20px;
  line-height: 1.4;
}

.mission-grid {
  position: relative;
  z-index: 2;
  width: min(1120px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 80px;
  text-align: center;
}

.heart {
  width: 86px;
  height: auto;
  margin: 0 auto 22px;
  object-fit: contain;
}

.mission-grid h3 {
  line-height: 1.08;
}

.mission-grid h3 + p {
  margin-top: 16px;
}

.mission-grid p {
  color: #4d5058;
  font-size: 17px;
  line-height: 1.28;
}

.renewal {
  position: relative;
  min-height: 690px;
  display: grid;
  place-items: center;
  overflow: hidden;
  color: #fff;
  padding: 7rem 1rem;
}

.renewal.torn::before,
.renewal.torn::after {
  display: none;
}

.renewal-bg {
  object-fit: cover;
  object-position: center;
}

.renewal-edge {
  position: absolute;
  left: -2px;
  z-index: 4;
  display: block;
  width: calc(100% + 4px);
  min-width: calc(100% + 4px);
  height: auto;
  pointer-events: none;
  transform: scaleX(-1);
}

.renewal-edge-top {
  top: -1px;
}

.renewal-edge-bottom {
  bottom: -1px;
}

.renewal-shade {
  background:
    radial-gradient(circle at 82% 68%, rgba(197, 59, 31, 0.24), transparent 31%),
    linear-gradient(to bottom, rgba(0, 0, 0, 0.28), rgba(0, 0, 0, 0.36));
}

.renewal-content {
  position: relative;
  z-index: 2;
  width: min(1120px, 100%);
  transform: translateY(-34px);
}

.renewal h2 {
  width: min(850px, 100%);
  margin: 0 auto;
  color: #fff;
}

.renewal h2 span {
  display: block;
}

.renewal mark {
  position: relative;
  z-index: 0;
  display: inline-block;
  padding-inline: 0.08em;
  color: #fff;
  background: transparent;
}

.renewal mark::after {
  content: "";
  position: absolute;
  left: -0.18em;
  right: -0.18em;
  top: 0.02em;
  bottom: -0.02em;
  z-index: -1;
  border: 5px solid var(--gold);
  border-radius: 50%;
  transform: rotate(-7deg);
}

.renewal-cards {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  justify-items: center;
  gap: 3rem 3.6rem;
  width: min(1000px, 100%);
  margin-top: 4rem;
  margin-inline: auto;
}

.renewal-cards article {
  width: 280px;
  min-height: 112px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  padding: 1.2rem;
  text-align: center;
}

.renewal-cards h3 + p {
  margin-top: 0;
}

.renewal .glass {
  border-color: rgba(255, 255, 255, 0.52);
  background: rgba(255, 255, 255, 0.13);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 18px 38px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
}

.renewal-cards article:nth-child(1) {
  grid-column: 1 / 3;
}

.renewal-cards article:nth-child(2) {
  grid-column: 3 / 5;
}

.renewal-cards article:nth-child(3) {
  grid-column: 5 / 7;
}

.renewal-cards article:nth-child(4) {
  grid-column: 2 / 4;
}

.renewal-cards article:nth-child(5) {
  grid-column: 4 / 6;
}

.renewal-cards p {
  color: rgba(255, 255, 255, 0.82);
  font-family: var(--font-body);
  font-size: 17px;
  font-weight: 400;
  line-height: 1.4;
}

.restoration {
  overflow: hidden;
  padding-top: 3.5rem;
  background: #fbfbfb;
}

.restoration .section-heading {
  margin-bottom: 1.2rem;
}

.restoration .section-heading p {
  margin-top: 0.65rem;
  line-height: 1.25;
}

.carousel {
  position: relative;
  width: min(1120px, 100%);
  margin: 0 auto;
  overflow: hidden;
  border-radius: 2px;
  padding: 0 3.5rem 1.2rem;
  background: #fbfbfb;
  box-shadow: none;
}

.carousel-stage {
  position: relative;
  height: 500px;
  overflow: hidden;
  perspective: 1250px;
  perspective-origin: 50% 48%;
  transform-style: preserve-3d;
  cursor: grab;
  touch-action: pan-y;
  user-select: none;
}

.carousel-stage.is-dragging {
  cursor: grabbing;
}

.carousel-track {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  transform:
    translate(-50%, -50%)
    translateZ(calc(var(--ring-radius, 620px) * -1))
    rotateY(var(--ring-rotation, 0deg));
  transform-style: preserve-3d;
}

.restoration-card {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 300px;
  min-height: 360px;
  padding: 0 0 1rem;
  overflow: hidden;
  border: 1px solid rgba(31, 34, 48, 0.08);
  border-radius: 2px;
  background: #fff;
  box-shadow: 0 24px 55px rgba(55, 54, 94, 0.26);
  opacity: 0;
  cursor: default;
  transform:
    translate(-50%, -50%)
    rotateY(var(--angle, 0deg))
    translateZ(var(--radius, 620px))
    scale(var(--scale, 0.7));
  transform-origin: center center;
  transform-style: preserve-3d;
  pointer-events: none;
  z-index: var(--z, 1);
}

.restoration-card img {
  width: 100%;
  height: 128px;
  border-radius: 2px 2px 0 0;
  object-fit: cover;
}

.restoration-card h3,
.restoration-card p {
  position: relative;
  z-index: 1;
}

.restoration-card::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: calc(100% - 128px);
  background: url("assets/stage-bg.jpg") center / cover no-repeat;
  z-index: 0;
}

.restoration-card h3,
.restoration-card p {
  padding-inline: 1.15rem;
}

.restoration-card h3 {
  margin-top: 0.95rem;
  font-size: 26px;
  line-height: 1;
}

.restoration-card p {
  font-size: 16px;
  line-height: 1.22;
}

.restoration-card.is-active {
  opacity: 1;
  pointer-events: auto;
  filter: none;
}

.restoration-card.is-visible {
  opacity: var(--opacity, 0.7);
  filter:
    blur(var(--blur, 0px))
    saturate(var(--sat, 0.78))
    brightness(var(--bright, 0.98));
}

.carousel.is-intro .restoration-card.is-active {
  animation: none;
}

.carousel-arrow {
  position: absolute;
  top: 50%;
  z-index: 8;
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border: 1px solid rgba(31, 34, 48, 0.24);
  border-radius: 50%;
  background: rgba(251, 251, 251, 0.86);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 38px;
  font-weight: 300;
  line-height: 1;
  cursor: pointer;
  transform: translateY(-50%);
  transition: background 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.carousel-arrow:hover {
  border-color: var(--gold);
  background: var(--gold);
  transform: translateY(-50%) scale(1.04);
}

.carousel-arrow-prev {
  left: 0.75rem;
}

.carousel-arrow-next {
  right: 0.75rem;
}

.team {
  position: relative;
  overflow: hidden;
  padding: 6.2rem clamp(3rem, 9vw, 9rem) 7.8rem;
  background: var(--dark);
  color: #fff;
}

.team.torn::before,
.team.torn::after {
  display: none;
}

.team-edge {
  position: absolute;
  left: -2px;
  z-index: 4;
  display: block;
  width: calc(100% + 4px);
  min-width: calc(100% + 4px);
  height: auto;
  pointer-events: none;
}

.team-edge-top {
  top: -1px;
}

.team-edge-bottom {
  bottom: -1px;
}

.team-wrap {
  position: relative;
  z-index: 2;
  width: min(980px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 430px minmax(0, 1fr);
  gap: clamp(2rem, 3vw, 2.8rem);
  align-items: center;
}

.team-photo {
  width: 430px;
  height: 440px;
  border-radius: 2px;
  object-fit: cover;
}

.team-copy {
  width: min(500px, 100%);
  justify-self: center;
}

.team h2 {
  color: var(--gold);
  text-align: left;
}

.team h3 {
  margin-top: 1.25rem;
}

.team p {
  color: rgba(255, 255, 255, 0.84);
  font-family: var(--font-body);
  font-size: 17px;
  font-weight: 400;
  line-height: 1.4;
}

.team p + p {
  margin-top: 1rem;
}

.participation {
  width: min(980px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(360px, 0.94fr);
  gap: 1.45rem;
}

.join {
  padding-top: clamp(4rem, 6vw, 6rem);
}

.join .section-heading {
  width: min(1120px, 100%);
  margin-bottom: 2rem;
}

.join .section-heading p {
  width: min(940px, 100%);
  margin: 0.85rem auto 0;
  font-size: 20px;
  line-height: 1.2;
}

.participation-tabs {
  display: grid;
  gap: 1.05rem;
}

.participation-tab {
  position: relative;
  display: grid;
  gap: 0.35rem;
  width: 100%;
  min-height: 88px;
  border: 1px solid var(--line);
  border-radius: 2px;
  background: transparent;
  padding: 0.85rem 1.2rem;
  color: var(--ink);
  text-align: left;
  cursor: pointer;
}

.participation-tab:hover:not(.is-active) {
  background: #ececec;
}

.participation-tab strong {
  font-family: var(--font-heading);
  font-size: 24px;
  line-height: 0.95;
}

.participation-tab span {
  font-size: 15px;
  line-height: 1.18;
}

.participation-tab.is-active {
  background: var(--dark);
  color: #fff;
}

.participation-tab.is-active strong {
  color: var(--gold);
}

.participation-tab.is-active span {
  color: rgba(255, 255, 255, 0.8);
}

.participation-tab.is-active::after {
  content: "";
  position: absolute;
  right: -16px;
  top: 50%;
  transform: translateY(-50%);
  border-top: 13px solid transparent;
  border-bottom: 13px solid transparent;
  border-left: 16px solid var(--dark);
}

.participation-panels {
  display: grid;
  min-height: 397px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 2px;
  background: #fff;
}

.participation-panel {
  min-height: 395px;
  padding: 1.15rem 1.25rem;
}

.participation-panel[hidden] {
  display: none !important;
}

.participation-panel[data-panel="donate"].is-active {
  display: flex;
  flex-direction: column;
  padding-bottom: 0;
}

.participation-panel h3 {
  margin-bottom: 0;
  font-size: 24px;
}

.participation-panel p + p {
  margin-top: 0.9rem;
}

.participation-panel p {
  font-size: 16px;
  line-height: 1.24;
}

.donate-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-content: start;
  gap: 1.05rem;
  flex: 1;
  min-height: 178px;
  margin: 1.05rem -1.25rem 0;
  padding: 1.2rem 1.25rem 1.65rem;
  background: url("assets/stage-bg.jpg") center / cover no-repeat;
}

.donate-options h4 {
  margin-bottom: 0.65rem;
  font-size: 24px;
}

.donate-link {
  position: relative;
  display: flex;
  width: 150px;
  max-width: 100%;
  align-items: center;
  justify-content: center;
  gap: 0.28rem;
  overflow: hidden;
  min-height: 34px;
  margin-top: 0.65rem;
  border-radius: 2px;
  padding: 0.35rem 0.6rem;
  font-weight: 700;
  text-decoration: none;
  transition: transform 180ms ease, box-shadow 180ms ease, filter 180ms ease;
}

.donate-link::after {
  content: "";
  position: absolute;
  inset: 0;
  transform: translateX(-130%) skewX(-18deg);
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.45), transparent);
  transition: transform 620ms ease;
}

.donate-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgba(32, 34, 49, 0.18);
}

.donate-link:hover::after {
  transform: translateX(130%) skewX(-18deg);
}

.donate-link img {
  position: relative;
  z-index: 1;
  width: 21px;
  height: 21px;
  object-fit: contain;
}

.donate-link-coffee span {
  position: relative;
  z-index: 1;
  font-family: "Lobster", cursive;
  font-size: 15px;
  line-height: 1;
  text-shadow: none;
  white-space: nowrap;
}

.donate-link-coffee-gold {
  background: #ffd622;
  color: #27220b;
}

.donate-link-zrzutka-pink {
  background: #f34f79;
  color: #fff;
}

.donate-link-zrzutka-pink img {
  filter: brightness(0);
}

.donate-link-dark.donate-link-coffee img {
  filter: none;
}

.donate-link-dark.donate-link-zrzutka img {
  filter: brightness(0) saturate(100%) invert(45%) sepia(82%) saturate(1882%) hue-rotate(314deg) brightness(99%) contrast(93%);
}

.donate-link-zrzutka span {
  position: relative;
  z-index: 1;
  font-family: var(--font-body);
  font-size: 17px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.02em;
  white-space: nowrap;
}

.donate-link-zrzutka .zrzutka-pl {
  color: currentColor;
}

.donate-link-dark .zrzutka-pl {
  color: #f34f79;
}

.donate-link-zrzutka-pink .zrzutka-pl {
  color: #fff;
}

.donate-link-dark {
  background: #202231;
  color: #fff;
}

.contact-list {
  display: grid;
  gap: 1.15rem;
  margin-top: 1.7rem;
  font-size: 20px;
  line-height: 1.15;
}

.contact-list a {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  text-decoration: none;
}

.contact-icon {
  position: relative;
  flex: 0 0 auto;
  width: 36px;
  height: 36px;
  color: #050505;
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
}

.contact-icon-mail::before {
  content: none;
}

.contact-icon-mail::after {
  content: none;
}

.contact-icon-mail {
  background-image: url("assets/Icon-mail.png");
}

.contact-icon-phone {
  background-image: url("assets/Icon-phone.png");
}

.contact-icon-phone::before {
  content: none;
}

.contact-icon-phone::after {
  content: none;
}

.social-row {
  display: flex;
  justify-content: center;
  gap: 1rem;
}

.social-row a {
  display: grid;
  width: 52px;
  height: 52px;
  place-items: center;
  border-radius: 2px;
  background: var(--dark);
  color: #fff;
  transition: transform 180ms ease, background 180ms ease;
}

.social-row a:hover {
  transform: translateY(-2px);
  background: #303449;
}

.social-row svg {
  width: 29px;
  height: 29px;
  fill: currentColor;
}

.share-button {
  width: min(320px, 100%);
  min-height: 48px;
  margin-top: 1.35rem;
  font-size: 21px;
}

.participation-panel .social-row {
  justify-content: flex-start;
  gap: 1.35rem;
  margin-top: 1.15rem;
}

.participation-panel .social-row a {
  width: 44px;
  height: 44px;
}

.participation-panel .social-row svg {
  width: 25px;
  height: 25px;
}

.share-status {
  min-height: 1.3em;
  margin-top: 1rem;
  color: var(--gold-dark);
  font-weight: 800;
}

.faq {
  padding: clamp(5rem, 8vw, 8rem) clamp(1rem, 5vw, 5rem);
  background: var(--dark);
  color: #fff;
}

.faq h2 {
  margin-bottom: 3rem;
}

.faq-list {
  width: min(1120px, 100%);
  margin: 0 auto;
  display: grid;
  gap: 1.2rem;
}

details {
  border: 1px solid rgba(255, 255, 255, 0.58);
  border-radius: 2px;
  padding: 1.35rem 1.7rem;
}

summary {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  font-size: 26px;
  cursor: pointer;
}

summary::-webkit-details-marker {
  display: none;
}

summary::after {
  content: "-";
  display: grid;
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  place-items: center;
  border: 3px solid var(--gold);
  border-radius: 50%;
  color: var(--gold);
}

details:not([open]) summary::after {
  content: "+";
}

.faq p {
  max-width: 980px;
  margin-top: 0.8rem;
  color: rgba(255, 255, 255, 0.78);
}

.footer {
  position: relative;
  display: grid;
  justify-items: center;
  gap: 0.95rem;
  overflow: hidden;
  padding: 4.6rem 1rem 5.1rem;
  background:
    linear-gradient(rgba(242, 223, 220, 0.86), rgba(242, 223, 220, 0.86)),
    url("assets/mroja-p05-01-2304x1296.jpg") center / cover no-repeat;
  text-align: center;
}

.footer > * {
  position: relative;
  z-index: 1;
}

.footer .social-row {
  gap: 1.35rem;
  align-items: center;
}

.footer .social-row a {
  width: 38px;
  height: 38px;
}

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

.footer > a {
  font-size: 17px;
  text-decoration: none;
}

.footer-logo {
  margin-top: 0.8rem;
}

.footer-logo img {
  display: block;
  width: 154px;
  height: auto;
}

.ornament-footer::before {
  left: -36px;
  bottom: -72px;
}

.ornament-footer::after {
  right: -36px;
  top: 8px;
}

.ornament-footer::before,
.ornament-footer::after {
  width: 310px;
  height: 310px;
  opacity: 0.16;
  background: transparent center / contain no-repeat;
}

.ornament-footer::before {
  background-image: url("assets/ornament-belarus.svg");
}

.ornament-footer::after {
  background-image: url("assets/ornament-rich.svg");
}

@media (max-width: 1060px) {
  .header-inner {
    gap: 24px;
  }

  .nav {
    flex-wrap: wrap;
    gap: 0.9rem 1.4rem;
  }

  .audience-grid,
  .mission-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .about {
    padding-inline: 18px;
  }

  .about-grid {
    grid-template-columns: 1fr;
    width: min(760px, 100%);
    gap: 28px 28px;
  }

  .about-item,
  .about-item-left,
  .about-item-right {
    grid-template-columns: 150px minmax(0, 1fr);
    gap: 28px;
  }

  .about-item-right article {
    grid-column: 2;
    grid-row: 1;
  }

  .about-item-right picture {
    grid-column: 1;
    grid-row: 1;
  }

  .participation,
  .team-wrap {
    grid-template-columns: 1fr;
  }

  .team {
    padding-block: 5.5rem;
  }

  .team-photo {
    width: min(430px, 100%);
    height: auto;
    aspect-ratio: 1 / 1;
  }

  .team-copy {
    max-width: 100%;
  }

  .participation-tab.is-active::after {
    display: none;
  }
}

@media (max-width: 720px) {
  body {
    font-size: 16px;
  }

  body.is-menu-open {
    overflow: hidden;
  }

  .site-header {
    position: sticky;
    top: 0;
    z-index: 80;
    min-height: 0;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    transition: background 180ms ease, backdrop-filter 180ms ease, box-shadow 180ms ease;
  }

  .site-header.is-scrolled {
    background: rgba(255, 255, 255, 0.74);
    box-shadow: 0 10px 28px rgba(32, 34, 49, 0.08);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
  }

  .header-inner {
    position: relative;
    z-index: 82;
    min-height: 68px;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 18px;
  }

  .logo {
    width: 82px;
  }

  .nav,
  .header-button {
    display: none;
  }

  .mobile-header-button {
    position: absolute;
    left: 50%;
    top: 50%;
    display: inline-flex;
    height: 38px;
    align-items: center;
    justify-content: center;
    border-radius: 2px;
    padding: 0 16px;
    background: var(--gold);
    color: #202231;
    font-family: var(--font-body);
    font-size: 16px;
    font-weight: 500;
    line-height: 1;
    text-decoration: none;
    transform: translate(-50%, -50%);
    white-space: nowrap;
  }

  .menu-toggle {
    display: inline-flex;
    width: 42px;
    height: 42px;
    flex: 0 0 auto;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: 0;
    border-radius: 2px;
    padding: 0;
    background: transparent;
    color: #202231;
    cursor: pointer;
  }

  .menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: currentColor;
  }

  .menu-toggle span + span {
    margin-top: 0;
  }

  .mobile-menu {
    position: fixed;
    inset: 0;
    z-index: 90;
    display: block;
    padding: 92px 34px 34px;
    background: rgba(251, 251, 251, 0.96);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: opacity 180ms ease, visibility 180ms ease, transform 180ms ease;
    pointer-events: none;
  }

  body.is-menu-open .mobile-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
  }

  .mobile-menu-close {
    position: absolute;
    top: 28px;
    right: 26px;
    width: 44px;
    height: 44px;
    border: 0;
    background: transparent;
    color: #202231;
    cursor: pointer;
  }

  .mobile-menu-close::before,
  .mobile-menu-close::after {
    content: "";
    position: absolute;
    left: 10px;
    top: 21px;
    width: 24px;
    height: 2px;
    background: currentColor;
  }

  .mobile-menu-close::before {
    transform: rotate(45deg);
  }

  .mobile-menu-close::after {
    transform: rotate(-45deg);
  }

  .mobile-menu-nav {
    display: grid;
    gap: 22px;
    max-width: 320px;
  }

  .mobile-menu-nav a {
    color: #202231;
    font-family: var(--font-body);
    font-size: clamp(38px, 12vw, 50px);
    font-weight: 700;
    line-height: 0.95;
    text-decoration: none;
  }

  .hero-edge-top {
    display: none;
  }

  .hero-edge-bottom {
    left: -10px;
    width: calc(100% + 20px);
    min-width: calc(100% + 20px);
    bottom: -1px;
  }

  .hero {
    min-height: 620px;
    margin-top: 0;
    padding: 5.5rem 0 4.4rem;
  }

  .hero-image {
    object-position: center 48%;
  }

  .hero-content-container {
    padding-inline: 16px;
  }

  .hero h1 {
    max-width: 360px;
    font-size: clamp(34px, 9.5vw, 42px);
  }

  .hero-content p {
    max-width: 350px;
    margin-top: 18px;
    font-size: clamp(18px, 5.2vw, 22px);
    font-weight: 400;
    line-height: 1.3;
  }

  .hero-actions {
    margin-top: 30px;
  }

  .hero-actions,
  .donate-options {
    grid-template-columns: 1fr;
  }

  .hero-actions {
    display: grid;
    width: min(310px, 100%);
    gap: 0.8rem;
  }

  .hero-actions .button {
    width: 100%;
    min-height: 54px;
    font-size: 20px;
  }

  .team {
    padding: 4.8rem 16px;
  }

  .team h2,
  .team h3,
  .team p {
    text-align: left;
  }

  .audience-grid,
  .mission-grid,
  .renewal-cards {
    grid-template-columns: 1fr;
  }

  .about {
    padding: 70px 16px 76px;
  }

  .about::before {
    left: -90px;
    bottom: 20px;
    width: 230px;
    height: 230px;
    opacity: 0.1;
  }

  .about .section-heading {
    margin-bottom: 42px;
  }

  .about .section-heading h2 {
    font-size: 40px;
  }

  .about .section-heading p {
    max-width: 100%;
    font-size: 20px;
    line-height: 1.4;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .about-item,
  .about-item-left,
  .about-item-right {
    grid-template-columns: minmax(118px, 36vw) minmax(0, 1fr);
    gap: 22px;
    align-items: flex-start;
  }

  .about-item-right article {
    grid-column: 2;
    grid-row: auto;
  }

  .about-item-right picture {
    grid-column: 1;
    grid-row: auto;
  }

  .about-grid img {
    grid-column: auto;
    width: 100%;
    height: 132px;
    margin: 0;
  }

  .about-grid article {
    grid-column: auto;
    min-height: 0;
    text-align: left;
  }

  .about-grid h3 {
    font-size: 26px;
  }

  .about-grid article p {
    max-width: none;
    margin: 10px 0 0;
    font-size: 17px;
  }

  .audience-grid img {
    height: 180px;
  }

  .renewal-cards article,
  .renewal-cards article:nth-child(1),
  .renewal-cards article:nth-child(2),
  .renewal-cards article:nth-child(3),
  .renewal-cards article:nth-child(4),
  .renewal-cards article:nth-child(5) {
    grid-column: auto;
    width: 100%;
  }

  .carousel-stage {
    height: 470px;
  }

  .carousel {
    padding-inline: 2.5rem;
  }

  .carousel-arrow {
    width: 38px;
    height: 38px;
    font-size: 32px;
  }

  .carousel-arrow-prev {
    left: 0.25rem;
  }

  .carousel-arrow-next {
    right: 0.25rem;
  }

  .restoration-card {
    width: min(280px, 76vw);
    min-height: 360px;
    top: 50%;
  }

  .participation-panel,
  .participation-panels {
    min-height: 0;
  }

  .footer-logo span {
    font-size: 3rem;
  }

  .footer-logo small {
    font-size: 1.45rem;
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: 1ms !important;
    scroll-behavior: auto !important;
    transition-duration: 1ms !important;
  }

  .button::before {
    display: none;
  }
}
