* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  font-family: Arial, Helvetica, sans-serif;
  background: #fff;
}

button,
a {
  font: inherit;
}

button {
  border: 0;
  cursor: pointer;
}

.landing {
  --ink: #313131;
  --muted-ink: #595959;
  --accent: #f54932;
  --blue: #3057a2;
  --gold: #fbce51;
  min-width: 0;
  overflow: hidden;
  color: var(--ink);
}

.page-shell {
  width: min(100% - 40px, 1222px);
  margin-inline: auto;
}

.section {
  padding-block: clamp(52px, 8vw, 112px);
}

.hero {
  position: relative;
  min-height: 700px;
  background-image: url('assets/header.png'); 
}


.hero__inner {
  position: relative;
  min-height: 700px;
  padding-top: 26px;
}

.brand {
  position: relative;
  z-index: 2;
  display: inline-flex;
  gap: 8px;
  align-items: center;
  color: var(--muted-ink);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.05;
  text-decoration: none;
  text-transform: uppercase;
}

.brand__horses {
  color: #49423b;
  font-size: 27px;
  letter-spacing: -8px;
}

.hero__content {
  position: relative;
  z-index: 2;
  width: min(542px, 100%);
  margin-top: 62px;
  text-align: center;
}

.hero__content h1,
.section-title h2,
.members h2,
.support h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  line-height: 1.1;
  text-transform: uppercase;
}

.hero__content h1 {
  font-size: clamp(36px, 5vw, 60px);
}

.hero__title-line {
  display: block;
}

.hero__content p {
  margin: 24px 0 0;
  color: #313131;
  font-size: 18px;
  line-height: 1.3;
}

.hero__actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 38px;
}

.button {
  display: inline-flex;
  min-height: 72px;
  align-items: center;
  justify-content: center;
  border: 2px solid #1f1f1f;
  border-radius: 999px;
  padding: 14px 28px;
  color: #1f1f1f;
  font-weight: 700;
  line-height: 1.3;
  text-align: center;
  text-decoration: none;
  transition:
    transform 180ms ease,
    background-color 180ms ease,
    color 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button--dark {
  background: #1f1f1f;
  color: #fff;
}

.button--dark:hover {
  border-color: var(--gold);
  background: var(--gold);
  color: #1f1f1f;
}

.button--light {
  background: rgb(255 255 255 / 0.15);
}

.button--light:hover {
  background: #1f1f1f;
  color: #fff;
}

.marquee {
  position: relative;
  z-index: 4;
  overflow: hidden;
  background: var(--accent);
  color: #fff;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 22px;
  line-height: 60px;
  text-transform: uppercase;
  white-space: nowrap;
}

.marquee__track {
  display: flex;
  width: max-content;
  animation: marquee 24s linear infinite;
}

.marquee__item {
  padding-right: 18px;
}

.support__lead {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 394px;
  gap: 64px;
  align-items: center;
}

.support h2 {
  font-size: clamp(28px, 4vw, 36px);
}

.support strong,
.event-info strong {
  color: var(--accent);
  font-weight: inherit;
}

.lecture-photo {
  display: grid;
  height: 250px;
  place-items: center;
  border-radius: 50%;
  background-image: url('assets/15.png'); 
  color: #2f261f;
  font-size: 56px;
  filter: sepia(0.8);
}

.event-grid {
  display: grid;
  grid-template-columns: 474px minmax(0, 1fr);
  gap: 44px;
  align-items: center;
  margin-top: 42px;
}

.event-collage {
  position: relative;
  min-height: 527px;
background-image: url('assets/16.png');
background-size: 474px 527px;
background-repeat: no-repeat; 
}

.burst {
  position: absolute;
  inset: 34px 34px auto 0;
  height: 360px;
  background: var(--gold);
  clip-path: polygon(
    50% 0,
    58% 24%,
    82% 8%,
    70% 34%,
    100% 32%,
    76% 50%,
    98% 70%,
    68% 66%,
    72% 100%,
    50% 76%,
    28% 100%,
    32% 66%,
    2% 70%,
    24% 50%,
    0 32%,
    30% 34%,
    18% 8%,
    42% 24%
  );
}

.player-card {
  position: absolute;
  top: 110px;
  left: 80px;
  display: grid;
  width: 230px;
  height: 270px;
  place-items: center;
  border: 10px solid #fff;
  background: #1f1a15;
  color: #e6d6bd;
  font-size: 140px;
  transform: rotate(-6deg);
}

.banknote {
  position: absolute;
  right: 52px;
  width: 150px;
  height: 78px;
  border: 5px solid #fff;
  background: linear-gradient(135deg, #d7c8ab, #f4ead8);
  transform: rotate(5deg);
}

.banknote--one {
  top: 96px;
}

.banknote--two {
  top: 176px;
  right: 26px;
}

.hand {
  position: absolute;
  color: #1c1815;
  font-size: 136px;
  text-shadow: 0 8px 0 #fff;
}

.hand--top {
  right: 30px;
  bottom: 76px;
  transform: rotate(80deg);
}

.hand--bottom {
  bottom: 38px;
  left: 42px;
  transform: rotate(-62deg);
}

.event-info h2 {
  max-width: 704px;
}

.facts {
  margin-top: 44px;
  font-size: 20px;
}

.facts div {
  display: grid;
  grid-template-columns: minmax(210px, 306px) 1fr;
  border-bottom: 1px solid #d0d0d0;
}

.facts dt,
.facts dd {
  padding: 16px 16px 16px 0;
}

.facts dt {
  color: #666;
}

.facts dd {
  margin: 0;
  border-left: 1px solid #d0d0d0;
  padding-left: 16px;
  font-weight: 700;
}

.facts s {
  color: #6f2118;
  text-decoration-color: var(--accent);
  text-decoration-thickness: 2px;
}

.note {
  margin-top: 28px;
  color: var(--blue);
  font-size: 20px;
}

.section-title {
  display: flex;
  align-items: flex-end;
  gap: 20px;
  margin-bottom: 54px;
}

.section-title h2,
.members h2 {
  margin: 0;
  max-width: 806px;
  font-size: clamp(36px, 5vw, 54px);
  line-height: 0.95;
  text-transform: uppercase;
}

.section-title p {
  max-width: 280px;
  margin: 0 -532px 1px;
  color: var(--blue);
  font-size: 20px;
  line-height: 1.2;
}

.stages__desktop {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.stage-card {
  display: flex;
  gap: 16px;
  min-height: 112px;
  padding: 20px;
  background-image: url('assets/img1.png');
  font-size: 20px;
  font-weight: 600;
  line-height: 1.2;
}

.stage-card p {
  margin: 0;
}

.stage-card__number {
  flex: 0 0 auto;
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border-radius: 50%;
  background: #fff;
  font-weight: 700;
}

.stage-card--3 {
  grid-row: span 2;
}

.stage-card--7 {
  grid-column: span 2;
  min-height: 136px;
  padding-right: 330px;
  background-image: url('assets/img7.png');
}

.plane {
  position: absolute;
  right: -80px;
  bottom: -6px;
  color: #17120f;
  font-size: 210px;
  line-height: 0.75;
  opacity: 0.9;
  transform: rotate(-8deg);
}

.stages__mobile {
  display: none;
}

.members__head {
  display: flex;
  gap: 24px;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 58px;
}

.carousel-controls {
  display: flex;
  flex: 0 0 auto;
  gap: 14px;
  align-items: center;
  color: #666;
  font-weight: 600;
}

.carousel-controls button {
  padding: 0;
  border: none;
  font-family: inherit;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #313131;
  color: #fff;
  font-size: 34px;
  line-height: 0;
  padding-bottom: 4px; 
  transition:
    background-color 180ms ease,
    transform 180ms ease;
  
}

.carousel-controls button:not(:disabled):hover {
  background: var(--gold);
  color: #313131;
  transform: scale(1.05);
}

.carousel-controls button:disabled {
  background: #d6d6d6;
  cursor: not-allowed;
  transform: none; 
}
.members__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 64px;
}

.members-viewport {
  overflow: hidden;
  width: 100%;
  position: relative; 
}

[data-members-list] {
  display: flex;
  flex-wrap: nowrap;
  gap: 20px; 
  margin: 0;
  padding: 0; 
  will-change: transform;
}

.member-card {
  width: calc((100% - 40px) / 3);
  flex-shrink: 0; 
  flex-grow: 0;
  box-sizing: border-box;
  display: flex;
  flex-direction: column; 
  align-items: center;    
  text-align: center;
}

.member-card .avatar img {
  max-width: 100%;
  height: auto;
  object-fit: cover;
}

.member-card p {
  margin-top: 10px;
  margin-bottom: 20px; 
}

.member-card a {
  margin-top: auto; 
  display: inline-block;
  padding: 10px 20px;
  text-decoration: none;
}


@media (max-width: 1024px) {
  .member-card {
    width: calc((100% - 20px) / 2); 
  }
}

@media (max-width: 768px) {
  .member-card {
    width: 100%; 
  }
}

.avatar {
  width: min(100%, 320px);
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: 50%;
  background: #d8cbb9;
}

.avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.avatar__piece {
  color: #0c0c0c;
  font-size: clamp(130px, 16vw, 220px);
  line-height: 0.82;
}

.member-card h3 {
  margin: 28px 0 0;
  font-size: 24px;
  font-weight: 700;
}

.member-card p {
  margin: 6px 0 0;
  color: #6b6b6b;
  font-size: 20px;
}

.member-card a {
  margin-top: 20px;
  border: 1px solid var(--blue);
  border-radius: 999px;
  padding: 10px 18px;
  color: var(--blue);
  font-weight: 600;
  text-decoration: none;
  transition:
    background-color 180ms ease,
    color 180ms ease;
}

.member-card a:hover {
  background: var(--blue);
  color: #fff;
}

footer {
  margin-top: 28px;
  background: #e9ded4;
}

.footer__text {
  padding-block: 40px 72px;
  color: #6b6b6b;
  font-size: 16px;
  line-height: 1.3;
}

.animate-rise {
  animation: rise 700ms ease both;
}

@media (max-width: 980px) {
  .page-shell {
    width: min(100% - 32px, 720px);
  }

  .hero {
    min-height: 780px;
  }

  .hero__content {
    margin-top: 44px;
    text-align: left;
  }

  .hero__content p {
    text-align: center;
  }

  .hero__actions {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .button {
    min-height: 54px;
    padding-block: 12px;
  }

  .button--light {
    border-color: #fff;
    background: #fff;
  }

  .hero__art {
    right: -160px;
    bottom: 52px;
    width: 720px;
    max-width: none;
    transform: scale(0.72);
    transform-origin: right bottom;
  }

  .marquee {
    font-size: 16px;
    line-height: 38px;
  }

  .support__lead,
  .event-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .support__lead .lecture-photo {
    order: -1;
    width: min(100%, 394px);
    margin-inline: auto;
  }

  .event-collage {
    min-height: 440px;
    transform: scale(0.86);
    transform-origin: center top;
  }

  .facts div {
    grid-template-columns: 1fr;
  }

  .facts dd {
    border-left: 0;
    padding-top: 0;
    padding-left: 0;
  }

  .section-title {
    display: block;
  }

  .section-title p {
    margin-top: 12px;
  }

  .stages__desktop {
    display: none;
  }

  .stages__mobile {
    display: block;
  }

  .stage-page {
    min-height: 362px;
    padding-top: 110px;
    background:
      linear-gradient(rgb(239 224 207 / 0.86), rgb(239 224 207 / 0.86)),
      repeating-linear-gradient(
        115deg,
        transparent 0 9px,
        rgb(49 49 49 / 0.035) 9px 11px
      ), #ead9c4;
  }

  .stage-page .stage-card {
    min-height: 0;
    padding: 16px 20px;
    background: transparent;
  }

   .stages__mobile::before {
    display: none !important;
  }

  .stages__mobile .carousel-controls {
    justify-content: center;
    margin-top: 28px;
  }

  .members__head {
    display: block;
  }

  .members__head .carousel-controls {
    justify-content: center;
    margin-top: 28px;
  }

  .members__grid {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .member-card:nth-child(n + 2) {
    display: none;
  }
}

@media (max-width: 520px) {
  .page-shell {
    width: min(100% - 24px, 420px);
  }

  .section {
    padding-block: 48px;
  }

  .hero {
    min-height: 812px;
  }

  .hero__content h1 {
    font-size: 36px;
  }

  .hero__content p {
    font-size: 18px;
  }

  .hero__art {
    right: -220px;
    transform: scale(0.58);
  }

  .support h2,
  .event-info h2 {
    font-size: 28px;
  }

  .lecture-photo {
    height: 212px;
  }

  .event-collage {
    min-height: 380px;
    margin-inline: -44px;
    transform: scale(0.72);
  }

  .facts,
  .note,
  .stage-card,
  .member-card p {
    font-size: 18px;
  }

  .section-title h2,
  .members h2 {
    font-size: 36px;
  }

  .stage-card {
    padding-inline: 18px;
  }

  .footer__text {
    padding-bottom: 60px;
  }
}

@keyframes marquee {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

@keyframes slow-spin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(28px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fade-in {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.support-mobile-block {
  display: none !important;
}

@media (max-width: 768px) {
  
  
  .hero {
    background-image: url('assets/mobile-header.png'); 
    display: flex;
    flex-direction: column; 
  }

  .hero__inner {
    min-height: auto; 
    flex-grow: 1;     
    padding-bottom: 20px; 
  }

 
  .marquee {
    margin-top: auto; 
  }

  
  .brand__horses {
    letter-spacing: 0px; 
  }

 
  .hero__content,
  .hero__content h1,
  .hero__content p {
    text-align: left;
  }

  .hero__title-line {
    text-align: center; 
  }

  
  .hero__actions {
    grid-template-columns: 1fr;
  }
}

@media screen and (max-width: 768px) {
  
 
  .support-desktop-block {
    display: none !important;
  }

 
  .support-mobile-block {
    display: flex !important;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    width: 100%;
  }

 
  .support-mobile-block h2 {
    margin: 0;
    text-align: center;
  }

  .support-mobile-block .lecture-photo {
    width: 335px !important;    
    height: 212px !important;   
    flex-shrink: 0;
    border-radius: 50% !important; 
    
    background-size: cover !important;
    background-position: center !important;
    margin: 10px auto;
    max-width: 100% !important;
  }


  .event-grid {
    display: flex !important;
    flex-direction: column !important;
    gap: 30px;
    margin-top: 40px;
  }

  .event-collage {
    width: 335px !important; 
    height: 402px !important; 
    min-height: auto !important; 
    max-width: 100% !important; 
    margin: 0 auto !important; 
    background-size: 120% 120% !important; 
    background-position: center !important;
    background-repeat: no-repeat !important;
  }
}

@media (max-width: 768px) {
	  
  .section-title {
    flex-direction: column; 
    align-items: flex-start; 
    gap: 16px; 
    margin-bottom: 60px;
  }

  .section-title p {
    margin: 0 !important;
    max-width: 100%; 
    font-size: 18px; 
  }


  .stage-page {
    position: relative; 
  }

 
  .plane-mobile {
    position: absolute;
    top: -53px;   
    right: 14%;  
    width: 80%;  
    z-index: 10;  
    opacity: 0.9; 
    pointer-events: none; 
  }

  .plane-mobile img {
    width: 100%;
    height: auto;
    transform: rotate(-8deg); 
  }

  .carousel-dots {
    display: flex;
    gap: 6px;
    align-items: center;
    justify-content: center;
    margin: 0 10px; 
  }

  .stage-dot {
    display: block;
    width: 10px !important;  
    height: 10px !important; 
    border-radius: 50% !important; 
    background-color: #d6d6d6 !important;
    padding: 0;
    margin: 0;
    cursor: pointer;
    transition: background-color 0.3s ease;
  }

  .stage-dot.active {
    background-color: #313131 !important; 
  }

}