@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400..700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&display=swap');

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

:root {
  --pink: #ffb3c6;
  --chrome-light: #f0f0f0;
  --chrome-mid: #c8c8c8;
  --chrome-dark: #888;
  --chrome-shine: #ffffff;
}

body {
  background-color: var(--pink);
  background-image: url('background.webp');
  background-size: 120%;
  background-position: center;
  background-attachment: fixed;
  min-height: 100vh;
  font-family: 'Montserrat', sans-serif;
  font-weight: 550;
  font-size: clamp(15px, 14px + 0.3vw, 18px);
  overflow-x: hidden;
  }

/* ── MAIN ── */
main {
  padding: 92px 24px 40px;
  min-height: 100vh;
  position: relative;
}

.stage {
  width: 90vw;
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: calc(100vh - 92px - 40px);
  position: relative;
}

.page-section {
  max-width: 66vw;
  width: 100%;
  margin: 40px auto;
  padding: 72px 56px;
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(14px);
  border-radius: 16px;
  scroll-margin-top: 80px;
}

.page-section h2 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(24px, 21px + 0.8vw, 32px);
  font-weight: 550;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 28px;
  color: #111;
}

.page-section h2.section-heading {
  display: inline-block;
  background: #fff;
  border: 2px solid #111;
  border-radius: 40% 60% 55% 45% / 60% 40% 60% 40%;
  box-shadow: 0 6px 0 #000, 0 10px 25px rgba(0,0,0,0.25);
  padding: 12px 40px;
  animation: slimeMorph 6s ease-in-out infinite;
  text-align: center;
}

.page-section h3 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(20px, 17px + 0.8vw, 28px);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-top: 48px;
  margin-bottom: 20px;
  color: #111;
}

.page-section h4 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(18px, 16.5px + 0.4vw, 22px);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-top: 28px;
  margin-bottom: 8px;
  color: #111;
}

.bookstore-grid {
  columns: 3;
  column-gap: 40px;
  margin-top: 32px;
}

.bookstore-grid > div {
  break-inside: avoid;
  margin-bottom: 20px;
}

.bookstore-grid h4 {
  margin-top: 0;
}

.page-section p {
  font-family: 'Montserrat', sans-serif;
  font-weight: 550;
  font-size: clamp(15px, 14px + 0.3vw, 18px);
  line-height: 1.8;
  color: #333;
  margin-bottom: 20px;
}

.page-section ul {
  list-style: none;
  padding: 0;
  margin-bottom: 20px;
}

.page-section li {
  font-family: 'Montserrat', sans-serif;
  font-weight: 550;
  font-size: clamp(15px, 14px + 0.3vw, 18px);
  line-height: 1.8;
  color: #333;
  padding-left: 24px;
  position: relative;
  margin-bottom: 10px;
}

.page-section ul[style*="list-style-type"] {
  list-style: inherit;
  padding-left: 24px;
}

.page-section ul[style*="list-style-type"] li {
  padding-left: 0;
}

.page-section ul[style*="list-style-type"] li::before {
  content: none;
}

.page-section ul[style*="list-style-type"] li::marker {
  font-size: 1.5em;
}

.page-section li::before {
  content: "—";
  position: absolute;
  left: 0;
  color: #ff1493;
}

.page-section a {
  color: #111;
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: color 0.2s ease;
}

.page-section a:hover {
  color: #ff1493;
}

/* ── EVENTS ACCORDION ── */
.event-item {
  border-bottom: 1px solid rgba(0,0,0,0.06);
}

.event-item:last-child {
  border-bottom: none;
}

.event-header {
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  padding: 14px 0;
  user-select: none;
  transition: color 0.2s;
}

.event-header:hover {
  color: #ff1493;
}

.event-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 26px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  flex: 0 0 25%;
}

.event-header:hover .event-meta,
.event-item.open .event-meta {
  font-weight: 700;
}

.event-meta {
  font-family: 'Montserrat', sans-serif;
  font-weight: 550;
  font-size: clamp(15px, 14px + 0.3vw, 18px);
  line-height: 1.8;
  color: #333;
  flex: 1;
}

.event-toggle {
  font-size: 38px;
  font-weight: 300;
  color: #ff1493;
  transition: transform 0.3s ease;
  flex-shrink: 0;
  margin-left: auto;
  line-height: 1;
}

.event-item.open .event-toggle {
  transform: rotate(45deg);
}

.event-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease, opacity 0.3s ease;
  opacity: 0;
}

.event-item.open .event-body {
  max-height: 1200px;
  padding-bottom: 16px;
  opacity: 1;
}

.event-body p {
  margin: 0 0 16px;
  font-size: clamp(15px, 14px + 0.3vw, 18px);
  line-height: 1.8;
  color: #333;
}

.event-body p:last-child {
  margin-bottom: 0;
}

.event-image {
  width: 50%;
  height: auto;
  display: block;
  margin: 0 auto 16px;
  border-radius: 8px;
}

.event-image-row {
  display: flex;
  gap: 16px;
  margin-bottom: 16px;
}

.event-image-row .event-image {
  width: 50%;
  margin-bottom: 0;
}

/* ── CAROUSEL ── */
.carousel {
  position: relative;
  width: 80%;
  margin: 40px auto;
  overflow: hidden;
  border-radius: 12px;
  aspect-ratio: 3 / 2;
  background: #e0e0e0;
}

.carousel-track {
  display: flex;
  height: 100%;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.carousel-slide {
  min-width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  background: rgba(255, 255, 255, 0.85);
  border: none;
  font-size: 24px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  cursor: pointer;
  color: #111;
  transition: background 0.2s ease, transform 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.carousel-arrow:hover {
  background: #fff;
  transform: translateY(-50%) scale(1.1);
}

.carousel-prev {
  left: 16px;
}

.carousel-next {
  right: 16px;
}



#logo-svg {
  width: 100%;
  height: auto;
  overflow: visible;
  margin-top: 180px;
}

#hero-subtitle {
  opacity: 0;
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(16px, 11.5px + 1.2vw, 28px);
  font-weight: 550;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #111;
  background: #fff;
  padding: 28px 48px;
  border: 2px solid #111;
  border-radius: 40% 60% 55% 45% / 60% 40% 60% 40%;
  box-shadow: 0 6px 0 #000, 0 10px 25px rgba(0,0,0,0.25);
  text-align: center;
  max-width: 1000px;
  width: 100%;
  margin: 80px auto 0;
  animation: slimeMorph 6s ease-in-out infinite;
}

.spaced {
  letter-spacing: 0.35em;
  font-style: normal;
}

@keyframes slimeMorph {
  0%   { border-radius: 35% 65% 60% 40% / 60% 40% 60% 40%; }
  25%  { border-radius: 60% 40% 50% 50% / 40% 60% 40% 60%; }
  50%  { border-radius: 45% 55% 70% 30% / 55% 45% 65% 35%; }
  75%  { border-radius: 65% 35% 40% 60% / 35% 65% 35% 65%; }
  100% { border-radius: 35% 65% 60% 40% / 60% 40% 60% 40%; }
}

/* ── SCROLL PROMPT ── */
#scroll-prompt {
  opacity: 0;
  position: absolute;
  bottom: -100px;
  left: 0;
  right: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  cursor: pointer;
}

#scroll-arrow {
  font-size: 48px;
  line-height: 1;
  transition: transform 0.2s ease;
  cursor: pointer;
  animation: arrowBounce 1.5s ease-in-out infinite;
}

#scroll-arrow:hover {
  transform: scale(1.15);
}

@keyframes arrowBounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(10px); }
}

.ecoslay-mark {
  color: #ff1493;
  font-weight: bold;
}

/* ── TEAM ── */
#team .team-container {
  position: relative;
  width: 100%;
  max-width: 640px;
  margin: 0 auto;
}

#team .team-photo {
  display: block;
  width: 100%;
  height: auto;
}

#team .team-contours {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

#team .team-contours path {
  fill: transparent;
  stroke: transparent;
  transition: fill 0.3s, stroke 0.3s;
  cursor: pointer;
}

#team .team-contours path:hover {
  fill: rgba(255, 20, 147, 0.3);
  stroke: #ff1493;
  stroke-width: 0.5px;
}

.team-label {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  font-family: 'Bebas Neue', sans-serif;
  font-size: 22px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #ff1493;
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(8px);
  padding: 8px 28px;
  border-radius: 999px;
  opacity: 0;
  transition: opacity 0.3s;
  pointer-events: none;
}

.team-label.visible {
  opacity: 1;
}

/* ── MEMBER BIOS ── */
.member {
  display: flex;
  gap: 40px;
  align-items: flex-start;
  margin-top: 40px;
}

.member-headshot {
  flex-shrink: 0;
  width: 180px;
}

.member-headshot img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  display: block;
}

.member-bio {
  flex: 1;
  min-width: 0;
}

.member-bio h4 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 22px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #ff1493;
  margin-top: 0;
  margin-bottom: 12px;
}

.member-bio p {
  font-family: 'Montserrat', sans-serif;
  font-weight: 550;
  line-height: 1.6;
  color: #111;
}

@media (max-width: 700px) {
  .member {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .member-headshot {
    width: 140px;
  }
}

/* ── TOP BAR ── */
#topbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 64px;
  background: #fff;
  padding: 0 24px;
  height: 64px;
  border-bottom: 1px solid #ddd;
}

.topbar-link {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(16px, 11.5px + 1.2vw, 28px);
  font-weight: 550;
  letter-spacing: 0.12em;
  text-decoration: none;
  text-transform: uppercase;
  color: #111;
  padding: 0 4px;
  height: 64px;
  line-height: 64px;
  transition: color 0.2s ease;
  white-space: nowrap;
}

.topbar-link:hover {
  color: #ff1493;
}

.topbar-link[href="#open-call"] {
  animation: blinkPink 1.6s ease-in-out infinite;
  transition: transform 0.2s ease;
}

.topbar-link[href="#open-call"]:hover {
  transform: scale(1.12);
}

@keyframes blinkPink {
  0%, 100% { color: #111; }
  50% { color: #ff1493; }
}

h3.open-call-heading,
h3.apply-heading {
  animation: blinkPink 1.6s ease-in-out infinite;
  color: #111;
  font-size: clamp(22px, 19px + 1vw, 34px);
}

.open-call-video {
  width: 65%;
  max-width: 560px;
  border-radius: 12px;
  margin: 24px auto;
  display: block;
}

.impressum-section {
  background: none !important;
  backdrop-filter: none !important;
  border-radius: 0;
  padding-top: 40px;
  margin-left: auto;
  margin-right: 0;
  padding-bottom: 24px;
  margin-bottom: 16px;
  max-width: 38vw;
}

.impressum-section h2.section-heading {
  background: none;
  border: none;
  border-radius: 0;
  box-shadow: none;
  padding: 0;
  animation: none;
  display: block;
  text-align: left;
  font-size: clamp(18px, 16px + 0.5vw, 22px);
  margin-bottom: 16px;
}

.impressum-content p {
  font-size: clamp(13px, 12px + 0.3vw, 15px);
  margin-bottom: 10px;
}

.impressum-row {
  display: flex;
  align-items: center;
  gap: 24px;
}

.impressum-details p {
  font-size: clamp(13px, 12px + 0.3vw, 15px);
  margin-bottom: 10px;
}

.insta-logo {
  height: 120px;
  width: auto;
  flex-shrink: 0;
  transition: opacity 0.2s;
}

.insta-logo:hover {
  opacity: 0.7;
}

#nav-toggle {
  display: none;
}

@media (max-width: 700px) {
  .page-section {
    max-width: 95vw;
    padding: 40px 24px;
  }

  .page-section h2.section-heading {
    padding: 10px 28px;
  }

  .carousel {
    width: 100%;
  }

  #hero-subtitle {
    padding: 20px 28px;
    margin-top: 40px;
  }

  #team .team-container {
    max-width: none;
  }
}

@media (max-width: 600px) {
  #topbar {
    justify-content: flex-end;
    gap: 0;
    padding: 0 12px;
    height: 52px;
  }

  .topbar-link {
    display: none;
    font-size: 16px;
    height: 44px;
    line-height: 44px;
    padding: 0 16px;
    white-space: nowrap;
  }

  #topbar.nav-open .topbar-link {
    display: block;
  }

  #topbar.nav-open {
    flex-direction: column;
    align-items: stretch;
    height: auto;
    padding: 8px 12px;
    gap: 0;
  }

#nav-toggle {
    display: block;
    background: none;
    border: none;
    font-size: 28px;
    cursor: pointer;
    padding: 8px 4px;
    color: #111;
    font-family: 'Bebas Neue', sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.12em;
  }

  body {
    background: none;
    background-color: var(--pink);
  }

  body::before {
    content: '';
    position: fixed;
    inset: 0;
    z-index: -1;
    background-image: url('background19x6.jpg');
    background-size: cover;
    background-position: center;
  }
}

@media (max-width: 480px) {
  body {
    font-size: clamp(12px, 11px + 0.5vw, 14px);
  }

  .page-section {
    padding: 20px 12px;
    margin: 16px auto;
  }

  .page-section h2 {
    font-size: clamp(17px, 15px + 1vw, 20px);
  }

  .page-section h3 {
    font-size: clamp(15px, 13px + 1vw, 17px);
  }

  .page-section p,
  .page-section li,
  .event-body p,
  .event-meta {
    font-size: clamp(12px, 11px + 0.5vw, 14px);
  }

  #hero-subtitle {
    font-size: clamp(12px, 10px + 1.5vw, 15px);
    padding: 14px 16px;
    margin-top: 30px;
  }

  .topbar-link {
    font-size: clamp(12px, 10px + 1.5vw, 14px);
  }

  .event-title {
    font-size: 17px;
  }

  .event-header {
    padding: 8px 0;
  }

  .member {
    margin-top: 20px;
    gap: 20px;
  }

  .member-headshot {
    width: 80px;
  }

  .page-section h2.section-heading {
    padding: 6px 16px;
  }

  .impressum-section {
    max-width: 95vw;
  }

  .bookstore-grid {
    columns: 2;
    column-gap: 16px;
  }
}
