/* ==================== INTRO HOME ==================== */
#intro {
  position: fixed;
  inset: 0;
  z-index: 9000;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  transition: opacity 0.8s ease, transform 0.8s ease;
}

#intro.fadeOut {
  opacity: 0;
  transform: translateY(-30px);
  pointer-events: none;
}

#introContent {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  text-align: center;
  padding: 20px;
}

#staffContainer {
  width: min(860px, 90vw);
}

#staffSVG {
  width: 100%;
  height: auto;
  display: block;
}

.staffLine {
  stroke-dasharray: 800;
  stroke-dashoffset: 800;
  animation: drawLine 1s ease forwards;
}

.staffLine:nth-child(1) { animation-delay: 0.1s; }
.staffLine:nth-child(2) { animation-delay: 0.25s; }
.staffLine:nth-child(3) { animation-delay: 0.4s; }
.staffLine:nth-child(4) { animation-delay: 0.55s; }
.staffLine:nth-child(5) { animation-delay: 0.7s; }

@keyframes drawLine {
  to { stroke-dashoffset: 0; }
}

#clefAnim {
  animation: fadeInClef 0.6s ease 1s forwards;
}

@keyframes fadeInClef {
  to { opacity: 1; }
}

#introTitle {
  font-size: clamp(2.4rem, 6vw, 4.5rem);
  color: var(--accent);
  text-shadow: 0 0 8px #ff9900, 0 0 14px #ffcc99;
  margin: 0;
  opacity: 0;
  animation: slideUp 0.7s ease 1.6s forwards;
}

#introSubtitle {
  font-size: clamp(1rem, 2.5vw, 1.4rem);
  color: var(--text-muted);
  margin: 0;
  opacity: 0;
  animation: slideUp 0.7s ease 1.9s forwards;
}

#introBtn {
  opacity: 0;
  animation: slideUp 0.7s ease 2.2s forwards;
  margin-top: 8px;
  padding: 14px 36px;
  font-size: 1.1rem;
  background: linear-gradient(135deg, var(--accent), var(--accent-soft));
  color: white;
  border: none;
  border-radius: 40px;
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(255,102,0,0.35);
  transition: transform 0.2s, box-shadow 0.2s;
  width: auto;
  height: auto;
}

#introBtn:hover {
  transform: translateY(-2px) scale(1.04);
  box-shadow: 0 8px 28px rgba(255,102,0,0.45);
  background: linear-gradient(135deg, var(--accent), var(--accent-soft));
  color: white;
}

@keyframes slideUp {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ==================== HOME NAV ==================== */
#siteNav {
  position: fixed;
  top: var(--header-height);
  left: 0;
  right: 0;
  z-index: 900;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255,102,0,0.1);
  box-shadow: 0 4px 12px rgba(0,0,0,0.04);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 10px 16px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

#siteNav::-webkit-scrollbar {
  display: none;
}

.navPrimary,
.navActions {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-shrink: 0;
}

.navActions {
  gap: 8px;
  margin-left: auto;
  padding-left: 16px;
  border-left: 1px solid rgba(255,102,0,.16);
  justify-content: flex-end;
  min-width: max-content;
}

.navBtn {
  flex-shrink: 0;
  padding: 7px 16px;
  border-radius: 20px;
  border: 1.5px solid rgba(255,102,0,0.2);
  background: transparent;
  color: var(--text-muted);
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  white-space: nowrap;
  height: auto;
  width: auto;
}

.navBtn:hover {
  background: rgba(255,102,0,0.08);
  color: var(--accent);
  border-color: var(--accent);
  transform: none;
  box-shadow: none;
}

.navBtn.active {
  background: linear-gradient(135deg, var(--accent), var(--accent-soft));
  color: white;
  border-color: transparent;
}

.navActionBtn {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: auto;
  min-width: 82px;
  height: 34px;
  padding: 7px 13px;
  border-radius: 999px;
  border: 1px solid rgba(255,102,0,.12);
  background: rgba(255,255,255,.72);
  color: var(--text-muted);
  font-size: .82rem;
  font-weight: 800;
  white-space: nowrap;
  box-shadow: none;
}

.navActionBtn:hover {
  background: rgba(255,102,0,.08);
  color: var(--accent);
  transform: none;
  box-shadow: none;
}

.navActionBtn.navBtnAccess {
  border-color: rgba(232,93,4,.32);
  color: var(--action-orange);
  background: rgba(255,102,0,.06);
}

/* ==================== HOME LAYOUT ==================== */
.homePage #contentWrapper {
  width: 100%;
  max-width: 1300px;
  padding: 72px 20px 40px;
}

.siteSection {
  padding: 60px 0 40px;
  border-bottom: 1px solid rgba(0,0,0,0.06);
}

.siteSection:last-child {
  border-bottom: none;
}

.sectionTitle {
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  color: var(--accent);
  margin: 0 0 8px;
  text-align: center;
}

.sectionSubtitle {
  text-align: center;
  color: var(--text-muted);
  font-size: 1.05rem;
  margin: 0 0 36px;
}

@media (max-width: 768px) {
  .homePage #contentWrapper {
    padding: 64px 12px 28px;
  }

  #siteNav {
    padding: 8px 10px;
    gap: 10px;
    justify-content: flex-start;
  }

  .navActions {
    margin-left: 0;
    padding-left: 10px;
  }

  .siteSection {
    padding: 40px 0 28px;
  }
}

.siteFooter {
  margin-top: 70px;
  padding: 34px 20px 42px;
  border-top: 1px solid rgba(255, 102, 0, 0.18);
  background: rgba(255, 255, 255, 0.58);
}

.siteFooterInner {
  width: min(980px, 92vw);
  margin: 0 auto;
  text-align: center;
}

.siteFooterAbout strong {
  display: block;
  color: var(--text-main);
  font-size: 1rem;
  margin-bottom: 8px;
}

.siteFooterAbout p {
  margin: 0 auto 18px;
  max-width: 660px;
  color: var(--text-muted);
  line-height: 1.6;
  font-size: 0.95rem;
}

.siteFooterLinks {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;

  gap: 9px;

  color: var(--text-muted);
  font-weight: 700;
  text-align: center;
}

.siteFooterLinks a {
  color: var(--accent);
  text-decoration: none;
}

.siteFooterLinks a:hover {
  text-decoration: underline;
}

/* ==================== LEGAL PAGES FOOTER ==================== */

.legalFooter {
  margin-top: 40px;
  padding: 24px 0 0;

  border-top: 1px solid rgba(255, 102, 0, 0.18);

  text-align: center;
}

.legalFooter .siteFooterLinks {
  width: 100%;

  display: flex;
  justify-content: center;
  align-items: center;

  gap: 9px;

  color: var(--text-muted);
  font-weight: 700;
}

/* ==================== PRIVACY CHECK ==================== */

.privacyCheck {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: flex-start;

  gap: 10px;

  margin: 14px 0 16px;

  font-size: 0.9rem;
  line-height: 1.2;

  color: var(--text-muted);
}

.privacyCheck input {
  width: 18px !important;
  height: 18px !important;

  margin: 0 !important;
  padding: 0 !important;

  flex: 0 0 18px;

  accent-color: var(--accent);
}

.privacyCheck span {
  display: inline !important;
  white-space: nowrap;
}

.privacyCheck a {
  display: inline !important;
  color: var(--accent);
  font-weight: 800;
  text-decoration: none;
}

.privacyCheck a:hover {
  text-decoration: underline;
}