/* Shared EN/TR homepage layout. No rules target the hero, navigation or cursor. */
.homeSection {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  column-gap: 5vw;
  row-gap: 28px;
  padding: clamp(42px, 6.7vw, 72px) 7vw;
}

.homeSection .homeAside,
.homeSection .homeContent {
  min-width: 0;
  align-self: start;
}

.homeSection .homeAside {
  position: static;
}

.homeSection .homeContent {
  position: relative;
}

.homeSection .homeAside .sectionNo {
  margin: 8px 0 0;
  font-size: 9px;
  letter-spacing: .16em;
}

.homeSection .homeAside .sectionDescription {
  margin: 20px 0 0;
  font-size: 10px;
  line-height: 1.6;
  color: #655a4b;
}

.homeSection.ensemble .sectionDescription,
.homeSection.events .sectionDescription,
.homeSection.gallery .sectionDescription,
footer.homeSection .homeAside .sectionDescription {
  color: #d4c9b6;
}

.homeSection .homeContent > h2 {
  margin: 0 0 28px;
  font-size: clamp(26px, 3.1vw, 38px);
  line-height: 1.12;
  letter-spacing: -.04em;
}

.homeSection .aboutSummary {
  margin-top: 0;
  font-size: 14px;
  line-height: 1.6;
}

.homeSection .aboutSummary > p {
  font-size: 12px;
  line-height: 1.6;
}

.homeSection .project > p:not(.eyebrow),
.homeSection .upcomingNotice > p:not(.eyebrow) {
  font-size: 14px;
  line-height: 1.6;
}

.homeSection.events {
  padding-top: clamp(40px, 5.8vw, 58px);
  padding-bottom: clamp(36px, 5.2vw, 48px);
}

.homeSection .upcomingNotice {
  width: 100%;
  margin: 0 0 28px;
}

.homeSection .pastLabel,
.homeSection .eventList,
.homeSection .past {
  width: 100%;
  margin-left: 0;
  margin-right: 0;
}

.homeSection .upcomingNotice h3,
.homeSection .eventRow h3 {
  font-size: 22px;
  line-height: 1.12;
}

.homeSection .eventRow {
  grid-template-columns: 130px minmax(0, 1fr);
  gap: 24px;
  padding: 22px 0;
}

.homeSection .eventRow time b {
  font-size: 40px;
}

.homeSection .projectGrid,
.homeSection .memberGrid,
.homeSection .instrumentList,
.homeSection .galleryTrack {
  display: grid;
  grid-template-columns: none;
  grid-auto-flow: column;
  width: 100%;
  min-width: 0;
  margin: 0;
  padding: 0 0 16px;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
}

.homeSection .projectGrid {
  grid-auto-columns: clamp(220px, calc(32.25vw - 10.5px), 460px);
  gap: 24px;
}

.homeSection .project {
  min-width: 0;
  scroll-snap-align: start;
}

.homeSection .projectImage {
  width: 100%;
  aspect-ratio: 4 / 5;
  margin-bottom: 22px;
}

.homeSection .project h3 {
  min-height: 2.24em;
  margin: 4px 0 14px;
  font-size: 23px;
  line-height: 1.12;
}

/* Match the original portrait dimensions, not the reduced programme images. */
.homeSection .memberGrid {
  grid-auto-columns: clamp(180px, calc(26.3333vw - 12px), 380px);
  gap: 24px;
}

.homeSection .member img {
  width: 100%;
  aspect-ratio: 4 / 3;
}

.homeSection .member h3 {
  margin: 17px 0 6px;
  font-size: 23px;
}

.homeSection .homeContentTitle {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px 20px;
  margin-bottom: 28px;
}

.homeSection .homeContentTitle h2,
.homeSection .homeContentTitle .readMore {
  margin: 0;
}

.homeSection .instrumentList {
  grid-auto-columns: clamp(182px, calc(21.5vw - 10.6667px), 270px);
  gap: 16px;
}

.homeSection .instrument {
  display: block;
  min-height: 0;
  border: 0 !important;
  padding: 0 !important;
}

.homeSection .instrumentImage {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  aspect-ratio: 5 / 4;
  padding: 12px;
  border: 1px solid #681f1b55;
}

.homeSection .instrumentImage img {
  width: 100%;
  height: 100%;
  min-width: 0;
  min-height: 0;
  object-fit: contain;
  object-position: center;
  mix-blend-mode: multiply;
}

.homeSection .instrumentCaption {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-top: 10px;
}

.homeSection .instrument h3 {
  font-size: 19px;
  line-height: 1.2;
  overflow-wrap: anywhere;
}

.homeSection .galleryTrack {
  grid-auto-columns: clamp(230px, 28vw, 400px);
  gap: 16px;
}

.homeSection .carouselControls {
  position: absolute;
  right: 0;
  top: calc(100% - 8px);
  display: flex;
  margin: 0;
}

.homeSection .carouselControls[hidden] {
  display: none;
}

.homeSection .carouselButton {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  font: 16px Georgia, serif;
  line-height: 1;
}

.homeSection .carouselButton:disabled {
  opacity: .3;
}

footer.homeSection {
  position: relative;
  padding-top: 54px;
  padding-bottom: 26px;
  row-gap: 36px;
}

footer.homeSection::before {
  content: "";
  position: absolute;
  top: 0;
  left: 7vw;
  right: 7vw;
  border-top: 1px solid #fff5;
  pointer-events: none;
}

footer.homeSection .homeContent {
  align-self: end;
}

.homeSection .footerMain {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  align-items: flex-end;
  gap: 24px;
  padding: 0;
}

.homeSection .footerActions {
  flex-wrap: wrap;
  margin: 0;
}

.homeSection .footerActions .button {
  margin-top: 0;
}

.homeSection .footerBottom {
  grid-column: 1 / -1;
  flex-wrap: wrap;
  gap: 18px;
  padding-top: 22px;
}

.homeSection .footerBottom > div {
  flex-wrap: wrap;
  gap: 14px;
}

.homeSection .footerBottom,
.homeSection .footerBottom > div {
  align-items: center;
}

.homeSection .footerSocials {
  display: flex;
  align-items: center;
  gap: 6px;
}

.homeSection .footerSocials .socialLink {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  color: inherit;
}

.homeSection .socialLink svg {
  display: block;
  width: 16px;
  height: 16px;
}

.homeSection .socialLink:hover {
  color: #e9c782;
}

.homeSection .socialLink:focus-visible {
  outline: 1px solid currentColor;
  outline-offset: 2px;
}

@media (max-width: 800px) {
  .homeSection {
    grid-template-columns: 1fr;
    row-gap: 26px;
  }

  .homeSection .homeAside .sectionDescription {
    max-width: 440px;
  }

  .homeSection .homeContent > h2,
  .homeSection .homeContentTitle {
    margin-bottom: 24px;
  }
}

@media (max-width: 520px) {
  .homeSection .projectGrid {
    grid-auto-columns: 58.5vw;
  }

  .homeSection .memberGrid {
    grid-auto-columns: 78vw;
  }

  .homeSection .instrumentList {
    grid-auto-columns: 72vw;
  }

  .homeSection .eventRow {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .homeSection .eventRow time {
    display: flex;
  }
}
