:root {
  --background: #eee0d7;
  --fonts: #04384b;
  --accent-bright: #03607e;
  --accent: #48cae4;
  --white: #ffffff;
  --sandy: #e7c9af;
  --red: #8f0707;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  height: 200vh;
  overflow-x: hidden;
  font-family: "Libre Franklin", sans-serif;
  background-color: var(--background);
  transition: background-color 0.4s ease;
  color: var(--fonts);
}

@font-face {
  font-family: 'GT Super';
  src: url('/fonts/GT-Super/GT-Super-Display-Light-Trial.otf') format('woff2');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'GT Super';
  src: url('/fonts/GT-Super/GT-Super-Display-Light-Italic-Trial.otf') format('woff2');
  font-weight: 300;
  font-style: italic;
  font-display: swap;
}

.mission-hero {
  position: relative;
  height: 100vh;
  overflow: hidden;
}

.mission-left-panel,
.mission-right-panel {
  position: fixed;
  top: 0;
  width: 50%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-family: 'GT Super';
  font-weight: 300;
  color: var(--sandy);
  text-transform: uppercase;
  background-color: var(--fonts);
  z-index: 2;
}

.mission-left-panel {
  left: 0;
}
.mission-right-panel {
  right: 0;
}

.mission-title {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  overflow: hidden;
}

.mission-letter {
  display: inline-block;
  transform: translateY(100%);
  opacity: 0;
  font-size: clamp(32px, 3vw, 60px);
  will-change: transform, opacity;
}

.mission-ampersand {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: 'GT Super';
  display: flex;
  justify-content: center;
  align-items: center;
}

.mission-video {
  position: relative;
  width: 100%;
  height: auto;
  opacity: 0;
  z-index: 1;
}

.exhibit-section {
  height: auto;
  padding-top: 100px;
}

.exhibit-with-accordion {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 120px;
  padding: 0 60px 150px;
  max-width: 1600px;
  margin: 0 auto;
}

.image-wrapper-about {
  flex: 1;
  position: relative;
  max-width: 48%;
}

.exhibit-image {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.accordion-column {
  flex: 0 0 45%;
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-self: center;
}

.accordion-item {
  position: relative;
}

.accordion-title {
  display: block;
  width: 100%;
  background: transparent;
  border: 0;
  padding: 20px 40px 20px 6px;
  cursor: pointer;
  font-family: 'GT Super';
  font-weight: 300;
  text-transform: uppercase;
  color: var(--fonts);
  font-size: 32px;
  letter-spacing: 0.06em;
  text-align: left;
}

.accordion-arrow {
  position: absolute;
  top: 24px;
  right: 10px;
  transform: rotate(0deg);
  transition: transform 0.3s ease;
}

.accordion-arrow svg {
  width: 24px;
  height: 24px;
  stroke: var(--accent-bright);
  fill: none;
}

.accordion-title[aria-expanded="true"] + .accordion-arrow {
  transform: rotate(45deg);
}

.accordion-line {
  width: 60px;
  height: 3px;
  background-color: var(--accent-bright);
  margin-top: -8px;
  margin-left: 6px;
}

.accordion-content {
  overflow: hidden;
  height: auto;
  opacity: 1;
  display: block;
  transition: height 0.5s ease, opacity 0.5s ease;
  color: var(--fonts);
  padding: 16px 6px 20px;
  font-weight: 200;
  line-height: 1.6;
}

.watermark-about {
  position: absolute;
  bottom: 20px;
  left: 60px;
  font-size: 28px;
  color: rgba(229, 240, 241, 0.5);
  pointer-events: none;
  user-select: none;
}

.scroll-indicator {
  position: fixed;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  width: 30px;
  height: 50px;
  border: 2px solid var(--sandy);
  border-radius: 25px;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding-top: 8px;
  opacity: 0.6;
  z-index: 5;
  pointer-events: none;
}

.scroll-indicator span {
  display: block;
  width: 6px;
  height: 6px;
  background-color: var(--sandy);
  border-radius: 50%;
  opacity: 0.6;
  animation: scrollBounce 1.8s infinite;
}
.accordion-line {
  display: block;
  width: 60px;
  height: 3px;
  background-color: var(--accent-bright);
  margin-top: -8px;
  margin-left: 6px;
  transition: width 0.4s ease;
}

.accordion-item[open] .accordion-line {
  width: 90px; 
}


@keyframes scrollBounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(12px);
  }
  60% {
    transform: translateY(6px);
  }
}

@media (max-width: 1200px) {
  .exhibit-with-accordion {
    gap: 80px;
    padding: 0 40px 100px;
  }
  .accordion-title{
    font-size: 22px;
  }

  .exhibit-image {
    max-width: 750px;
  }
}

@media (max-width: 980px) {
  .exhibit-with-accordion {
    flex-direction: column;
    align-items: center; 
    padding: 24px;
    gap: 40px; 
  }

  .image-wrapper-about {
    flex: none;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 24px;
  }

  .exhibit-image {
    width: 550px;
    height: auto;
    margin: 0 auto;
    display: block;
  }

  .accordion-column {
    width: 100%;
    max-width: 600px; 
    margin: 0 auto;
    padding-left: 0;
  }
}

@media (max-width: 768px) {
  .mission-left-panel,
  .mission-right-panel {
    width: 100%;
    height: 50%;
  }

  .mission-left-panel { top: 0; }
  .mission-right-panel { top: 50%; }

  .mission-title {
    font-size: 2rem;
  }

  .exhibit-section {
    padding: 60px 15px;
  }

  .exhibit-image {
width: 550px;
    margin: 0 auto;
  }

  .accordion-title {
    font-size: 24px;
  }
}

@media (max-width: 768px) {
   .exhibit-image {
    width: 450px;
   }
}

@media (max-width: 480px) {
  .accordion-title {
    font-size: 22px;
  }
  .accordion-content {
    font-size: 15px;
  }
  .exhibit-image {
width: 445px;
    max-height: 230px;
  }
}
