/* Home page Features section */
.features-section {
  background-color: #2a2a2a;
  background-image:
    repeating-linear-gradient(
      45deg,
      rgba(255,255,255,0.02) 0,
      rgba(255,255,255,0.02) 1px,
      transparent 1px,
      transparent 4px
    );
  padding: 8px 2rem;        /* â†“ tiny vertical padding, keep original side padding */
  text-align: center;
}

/* Features grid spanning full width */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  width: 100%;              /* â†“ full-width */
  margin: 0;                /* no centering */
}

/* Feature box styling (green theme) */
.feature-box {
  background: var(--amp-gold-gradient);
  border: 1px solid rgba(69, 43, 14, 0.55);
  padding: 0.82rem 0.9rem;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.5),
              0 8px 15px rgba(0, 0, 0, 0.4);
  transition: transform 0.3s ease,
              box-shadow 0.3s ease,
              filter 0.3s ease;
}

.feature-box:hover {
  transform: translateY(-4px) scale(1.05);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.7);
  filter: brightness(1.05);
}

.feature-box i {
  font-size: 2.25rem;
  color: #fff;
  margin-bottom: 8px;
}

.feature-box h3 {
  font-size: 1.12rem;
  color: #fff;
  margin-bottom: 6px;
  font-weight: 600;
}

.feature-box p {
  font-size: 0.86rem;
  color: #ddd;
  line-height: 1.32;
}

/* ==========================
   AMP TRIM: Metal Effect & Rivets
   ========================== */
.amp-trim {
  --divider-band-height: clamp(32px, 4.5vw, 56px);
  --divider-rail-height: 8px;
  position: relative;
  background-color: #2a2a2a;
  padding: 40px 0;
  margin: 0 -10px;
  border: 5px solid #444;
  box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.8),
              0 4px 8px rgba(0, 0, 0, 0.5);
  border-radius: 12px;
}

.amp-trim:before,
.amp-trim:after {
  content: '';
  position: absolute;
  left: 0;
  width: 100%;
  height: var(--divider-band-height);
  overflow: hidden;
  pointer-events: none;
  background-image:
    var(--amp-gold-gradient),
    var(--amp-gold-gradient),
    url("../images/backgrounds/audio-wave.svg"),
    linear-gradient(180deg, rgba(9, 9, 9, 0.98) 0%, rgba(0, 0, 0, 1) 50%, rgba(9, 9, 9, 0.98) 100%);
  background-size:
    100% var(--divider-rail-height),
    100% var(--divider-rail-height),
    360px calc(100% - (var(--divider-rail-height) * 2) - 4px),
    100% 100%;
  background-position:
    left top,
    left bottom,
    0 50%,
    center;
  background-repeat:
    no-repeat,
    no-repeat,
    repeat-x,
    no-repeat;
  animation: dividerWaveScroll 16s linear infinite;
}

.amp-trim:before {
  top: calc(var(--divider-band-height) * -0.5);
}

.amp-trim:after {
  bottom: calc(var(--divider-band-height) * -0.5);
}

/* INTRO SECTION */
.intro-slab .intro-copy {
  max-width: 72ch;
  margin: 0 auto;
  padding: 0 clamp(1rem, 4vw, 3rem);
  text-align: center;
}

.intro-slab .intro-copy h2 {
  font-size: clamp(1.7rem, 4vw, 2.6rem);
  margin-bottom: 0.9rem;
}

.intro-slab .intro-copy p {
  color: #d4d4d4;
}

.brand-gold {
  color: #ccae5a;
}

.intro-slab {
  background-color: #0b0b0b;
  background-image:
    linear-gradient(rgba(0, 0, 0, 0.72), rgba(0, 0, 0, 0.72)),
    url("../images/backgrounds/gold.webp");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: scroll;
}

#introduction.intro-slab {
  background-image:
    linear-gradient(rgba(0, 0, 0, 0.72), rgba(0, 0, 0, 0.72)),
    url("../images/backgrounds/blackhex.webp");
}

#learn.intro-slab {
  background-image:
    linear-gradient(rgba(0, 0, 0, 0.72), rgba(0, 0, 0, 0.72)),
    url("../images/backgrounds/blackhex.webp");
}

#introduction .intro-copy {
  padding-top: clamp(1rem, 2vw, 1.5rem);
}

#introduction.amp-trim::before {
  content: none;
}

#introduction.amp-trim {
  border-top: 0;
  border-left: 0;
  border-right: 0;
  border-bottom: 0;
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
}

#introduction.amp-trim::after {
  content: none;
}

/* Homepage learning-path prototype */
.learning-path {
  position: relative;
  overflow: hidden;
  min-height: 680px;
}

.learning-path__inner {
  position: relative;
  z-index: 1;
  width: min(calc(100% - clamp(2rem, 8vw, 8rem)), 1440px);
  max-width: 1440px;
  margin-inline: auto;
  padding-top: clamp(.75rem, 2vw, 1.5rem);
  padding-bottom: clamp(4.5rem, 8vw, 7.25rem);
}

.learning-path__intro {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.learning-path__intro .section-kicker {
  display: inline-flex;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: none;
  color: #e3b94f;
}

.learning-path__intro h2 {
  margin: 1.3rem 0 .8rem;
  font-size: clamp(2rem, 4vw, 3.35rem);
  line-height: 1.05;
}

.learning-path__intro p:last-child {
  max-width: 690px;
  margin: 0 auto;
  color: rgba(255, 255, 255, .8);
  font-size: clamp(1rem, 1.6vw, 1.25rem);
}

.learning-path__roadmap {
  position: relative;
}

.learning-path__fretboard {
  position: relative;
  z-index: 0;
  display: block;
  width: calc(100% + 4rem);
  max-width: none;
  height: auto;
  margin: clamp(1.5rem, 3vw, 2.25rem) auto 0;
  transform: translateX(-2rem);
  filter: drop-shadow(0 0 10px rgba(226, 173, 53, .36));
  opacity: .9;
  pointer-events: none;
}

.learning-path__steps {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(1.25rem, 4vw, 4.5rem);
  margin: 0;
  padding: 0;
  list-style: none;
}

.learning-path__step {
  position: relative;
  display: grid;
  justify-items: center;
  padding-top: 34px;
  text-align: center;
}

.learning-path__medallion {
  display: grid;
  width: clamp(110px, 10vw, 142px);
  aspect-ratio: 1;
  place-items: center;
  border: 2px solid #e7ba50;
  border-radius: 50%;
  background: radial-gradient(circle at 34% 28%, #f8d880 0, #d69d32 58%, #8f5e15 100%);
  box-shadow: inset 0 0 0 5px rgba(25, 16, 4, .7), 0 0 22px rgba(224, 171, 48, .46);
}

.learning-path__medallion > img,
.learning-path__medallion > svg,
.learning-path__medallion > span {
  grid-column: 1;
  grid-row: 1;
  place-self: center;
  margin: 0;
  transform-origin: center;
}

.learning-path__medallion svg {
  width: 58%;
  height: 58%;
  fill: none;
  stroke: #080705;
  stroke-width: 3.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.learning-path__medallion svg circle { fill: #080705; }
.learning-path__medallion svg ellipse { fill: #080705; }

.learning-path__medallion .learning-path__solid-icon {
  fill: #080705;
  stroke: none;
}

.learning-path__medallion .learning-path__note-icon {
  display: block;
  width: 46%;
  height: 68%;
  object-fit: contain;
}

.learning-path__chord-icon .learning-path__chord-nut {
  fill: #080705;
  stroke: none;
}

.learning-path__chord-icon .learning-path__chord-nut-line {
  stroke-width: 5;
}

.learning-path__chord-icon .learning-path__open-string {
  fill: none;
  stroke: #080705;
  stroke-width: 2.5;
}

.learning-path__chord-icon text {
  fill: #080705;
  stroke: none;
  font-family: Arial, sans-serif;
  font-size: 13px;
  font-weight: 800;
}

.learning-path__interval-icon {
  color: #080705;
  font-family: Georgia, serif;
  font-size: clamp(2.15rem, 3.1vw, 3.15rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -.08em;
  transform: translateX(-.08em);
}

.learning-path__interval-icon b {
  display: inline-block;
  margin-right: .05em;
  font-size: .78em;
  vertical-align: .13em;
}

.learning-path__card {
  width: 100%;
  margin: 1.25rem 0 0;
  min-height: 168px;
  padding: 1.25rem 1.1rem 1.35rem;
  border: 1px solid rgba(219, 168, 52, .48);
  border-radius: 14px;
  background: rgba(9, 9, 9, .82);
  transition: border-color .25s ease, box-shadow .25s ease, transform .25s ease;
}

.learning-path__step:nth-child(1) { --card-animation-delay: 0s; }
.learning-path__step:nth-child(2) { --card-animation-delay: .35s; }
.learning-path__step:nth-child(3) { --card-animation-delay: .7s; }
.learning-path__step:nth-child(4) { --card-animation-delay: 1.05s; }

.learning-path__step.is-visible .learning-path__card {
  animation: learningCardFloat 4.8s ease-in-out var(--card-animation-delay, 0s) infinite;
}

.learning-path__card:hover {
  border-color: rgba(231, 186, 80, .9);
  box-shadow: 0 14px 32px rgba(214, 164, 65, .2);
  transform: scale(1.025);
}

.learning-path__card h3 {
  margin: 0;
  color: #d6a441;
  font-size: clamp(1rem, 1.45vw, 1.28rem);
  font-weight: 500;
  line-height: 1.2;
}

.learning-path__card h3::after {
  content: "";
  display: block;
  width: 42px;
  height: 1px;
  margin: .8rem auto;
  background: #d7a53f;
}

.learning-path__card p {
  max-width: 26ch;
  margin: 0 auto;
  color: rgba(255, 255, 255, .72);
  font-size: clamp(.82rem, 1vw, .95rem);
  font-weight: 400;
  line-height: 1.5;
}

@keyframes learningCardFloat {
  0%,
  100% {
    translate: 0 0;
    box-shadow: 0 0 0 rgba(214, 164, 65, 0);
  }

  50% {
    translate: 0 -8px;
    box-shadow: 0 12px 28px rgba(214, 164, 65, .16);
  }
}

@media (prefers-reduced-motion: reduce) {
  .learning-path__step.is-visible .learning-path__card {
    animation: none;
    translate: none;
  }
}

@media (max-width: 800px) {
  .learning-path { min-height: 0; }
  .learning-path__intro { margin-bottom: 3.5rem; }
  .learning-path__steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .learning-path__fretboard { display: none; }
}

@media (max-width: 480px) {
  .learning-path__steps { grid-template-columns: 1fr; max-width: 260px; margin-inline: auto; }
}

.home-white-section {
  position: relative;
  overflow: hidden;
  min-height: clamp(420px, 55vh, 680px);
  background: #fff;
  color: #111;
}

.home-white-section__inner {
  position: relative;
  z-index: 1;
  display: block;
  width: min(1440px, calc(100% - clamp(2rem, 8vw, 8rem)));
  min-height: inherit;
  margin-inline: auto;
}

.home-white-section .theory-lab {
  width: 100%;
  min-height: clamp(680px, 86vh, 900px);
  padding-inline: 0;
  background: transparent;
}

.home-white-section .theory-lab::before {
  content: none;
}

.home-white-section .theory-lab .theory-lab__content h2 {
  color: #d6a441;
}

.home-white-section .theory-lab .theory-lab__content p {
  color: #222;
}

.home-white-section .theory-lab .theory-lab__content h2,
.home-white-section .theory-lab .theory-lab__content p {
  text-shadow: none;
}

.home-white-section__visual {
  position: absolute;
  z-index: 0;
  top: 50%;
  bottom: auto;
  left: 0;
  height: 100%;
  transform: translate(-22%, -50%);
  opacity: .16;
  pointer-events: none;
}

.home-white-section__visual img {
  display: block;
  width: auto;
  height: 100%;
  max-width: none;
  max-height: none;
  object-fit: contain;
}

@media (max-width: 700px) {
  .home-white-section__inner { grid-template-columns: 1fr; }
  .home-white-section__visual {
    left: 0;
    height: 100%;
    transform: translate(-30%, -50%);
  }
}

.intro-features {
  background: transparent;
  padding: clamp(2.4rem, 5vw, 3.6rem) clamp(1rem, 4vw, 3rem) clamp(2.4rem, 5vw, 3.6rem);
}

/* LEARN SECTION (Styled Like Intro) */
.learn-slab {
  padding: clamp(4rem, 7vw, 6rem) 0;
}

#learn.amp-trim {
  padding: clamp(4.5rem, 8vw, 6.5rem) 0;
  border-left: 0;
  border-right: 0;
  border-top: 0;
  border-bottom: 0;
  border-top-left-radius: 0;
  border-top-right-radius: 0;
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
}

#learn.amp-trim::before {
  content: none;
}

#learn.amp-trim::after {
  content: none;
}

.section-wave-divider {
  --divider-band-height: clamp(32px, 4.5vw, 56px);
  --divider-rail-height: 8px;
  height: var(--divider-band-height);
  margin: 0 -10px;
  position: relative;
  overflow: hidden;
  background-image:
    var(--amp-gold-gradient),
    var(--amp-gold-gradient),
    url("../images/backgrounds/audio-wave.svg"),
    linear-gradient(180deg, rgba(9, 9, 9, 0.98) 0%, rgba(0, 0, 0, 1) 50%, rgba(9, 9, 9, 0.98) 100%);
  background-size:
    100% var(--divider-rail-height),
    100% var(--divider-rail-height),
    360px calc(100% - (var(--divider-rail-height) * 2) - 4px),
    100% 100%;
  background-position:
    left top,
    left bottom,
    0 50%,
    center;
  background-repeat:
    no-repeat,
    no-repeat,
    repeat-x,
    no-repeat;
  animation: dividerWaveScroll 16s linear infinite;
  pointer-events: none;
}

.hero-video {
  overflow: visible;
}

.seam-bridge {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -22px;
  height: 44px;
  z-index: 5;
  pointer-events: none;
  background:
    linear-gradient(
      180deg,
      #b9912f 0,
      #b9912f 2px,
      #050505 2px,
      #0a0a0a 50%,
      #050505 calc(100% - 2px),
      #9f7e2d calc(100% - 2px),
      #9f7e2d 100%
    );
  box-shadow:
    0 -10px 18px rgba(0, 0, 0, 0.55),
    0 10px 18px rgba(0, 0, 0, 0.6),
    inset 0 1px 0 rgba(255, 224, 139, 0.2),
    inset 0 -1px 0 rgba(0, 0, 0, 0.45);
}

.seam-bridge::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(
      90deg,
      rgba(255, 255, 255, 0.05) 0,
      rgba(255, 255, 255, 0.05) 2px,
      rgba(0, 0, 0, 0) 2px,
      rgba(0, 0, 0, 0) 8px
    );
  opacity: 0.2;
  z-index: 0;
}

.seam-bridge-divider {
  position: relative;
  height: 44px;
  margin: 0 -10px;
  z-index: 2;
  pointer-events: none;
  background:
    linear-gradient(
      180deg,
      #b9912f 0,
      #b9912f 2px,
      #050505 2px,
      #0a0a0a 50%,
      #050505 calc(100% - 2px),
      #9f7e2d calc(100% - 2px),
      #9f7e2d 100%
    );
  box-shadow:
    0 -10px 18px rgba(0, 0, 0, 0.55),
    0 10px 18px rgba(0, 0, 0, 0.6),
    inset 0 1px 0 rgba(255, 224, 139, 0.2),
    inset 0 -1px 0 rgba(0, 0, 0, 0.45);
}

.seam-bridge-divider::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(
      90deg,
      rgba(255, 255, 255, 0.05) 0,
      rgba(255, 255, 255, 0.05) 2px,
      rgba(0, 0, 0, 0) 2px,
      rgba(0, 0, 0, 0) 8px
    );
  opacity: 0.2;
  z-index: 0;
}

.seam-bridge::after,
.seam-bridge-divider::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 80px;
  height: 80px;
  transform: translate(-50%, -50%);
  background: url("../images/icons/guitar-theory-online-logo.png") center / contain no-repeat;
  filter: drop-shadow(0 1px 3px rgba(0, 0, 0, 0.65));
  z-index: 1;
}

.section-trim {
  --divider-band-height: clamp(32px, 4.5vw, 56px);
  --divider-rail-height: 8px;
  height: var(--divider-band-height);
  margin: 0 -10px;
  position: relative;
  overflow: hidden;
  background-image:
    var(--amp-gold-gradient),
    var(--amp-gold-gradient),
    url("../images/backgrounds/audio-wave.svg"),
    linear-gradient(180deg, rgba(9, 9, 9, 0.98) 0%, rgba(0, 0, 0, 1) 50%, rgba(9, 9, 9, 0.98) 100%);
  background-size:
    100% var(--divider-rail-height),
    100% var(--divider-rail-height),
    360px calc(100% - (var(--divider-rail-height) * 2) - 4px),
    100% 100%;
  background-position:
    left top,
    left bottom,
    0 50%,
    center;
  background-repeat:
    no-repeat,
    no-repeat,
    repeat-x,
    no-repeat;
  animation: dividerWaveScroll 16s linear infinite;
  pointer-events: none;
}

.learn-slab .section-head {
  max-width: 72ch;
  margin: 0 auto;
  padding: 0 clamp(1rem, 4vw, 3rem);
  text-align: center;
}

.learn-slab .section-head h2 {
  margin-bottom: 1.6rem;
}

.learn-slab .section-head p {
  margin-bottom: 2rem;
}

.learn-slab .prism-grid {
  width: 100%;
  margin: 2.4rem 0 0;
  padding: 0 clamp(1rem, 4vw, 3rem);
}

.learn-slab .prism-card {
  text-align: center;
  background: var(--amp-gold-gradient);
  border: 1px solid rgba(69, 43, 14, 0.55);
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.5),
              0 8px 15px rgba(0, 0, 0, 0.4);
  padding: 1.2rem;
  min-height: 220px;
  transform: translateY(0);
  transition: transform 0.3s ease,
              box-shadow 0.3s ease,
              filter 0.3s ease;
}

.learn-slab .prism-card::before {
  display: none;
}

.learn-slab .prism-card:hover {
  transform: translateY(-4px) scale(1.05);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.7);
  filter: brightness(1.05);
}

.learn-slab .prism-card img {
  width: 54px;
  height: 54px;
  margin: 0 auto 0.6rem;
}

.learn-slab .prism-card h3 {
  font-size: 1.15rem;
  margin-bottom: 0.4rem;
  color: #fff;
  text-shadow:
    -1px -1px 0 #000,
    1px -1px 0 #000,
    -1px 1px 0 #000,
    1px 1px 0 #000;
}

.learn-slab .prism-card p {
  font-size: 0.9rem;
  color: #ddd;
  line-height: 1.4;
  text-shadow:
    -1px -1px 0 #000,
    1px -1px 0 #000,
    -1px 1px 0 #000,
    1px 1px 0 #000;
}

/* What-you-can-learn: reuse the existing circle of fifths as the left anchor. */
.learn-showcase {
  display: grid;
  grid-template-columns: minmax(320px, .9fr) minmax(0, 1.15fr);
  align-items: center;
  gap: clamp(2.5rem, 6vw, 7rem);
  width: min(1500px, calc(100% - clamp(2rem, 6vw, 6rem)));
  margin-inline: auto;
}

.learn-showcase__circle {
  justify-self: center;
  width: min(100%, 500px);
  margin: 0;
  transform: none;
}

.learn-showcase__circle.circle-fifths {
  --cof-size: min(100%, 500px);
  --cof-radius: calc((var(--cof-size) / 2) - 16px);
  --cof-inner-radius: calc((var(--cof-size) / 2) - 86px);
}

.learn-showcase__content .section-head {
  max-width: 650px;
  margin: 0;
  padding: 0;
  text-align: left;
}

.learn-showcase__content .section-head h2 {
  font-size: clamp(2.15rem, 3.6vw, 4rem);
  line-height: 1.04;
}

.learn-showcase__content .section-head p {
  max-width: 56ch;
}

.learn-showcase__content .prism-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1.6rem;
  padding: 0;
}

.learn-showcase__content .prism-card {
  display: grid;
  grid-template-columns: 50px minmax(0, 1fr);
  column-gap: 1rem;
  min-height: 0;
  padding: 1.25rem;
  text-align: left;
  background: rgba(10, 10, 10, .74);
  border: 1px solid rgba(212, 162, 54, .36);
  border-radius: 14px;
  box-shadow: none;
}

.learn-showcase__content .prism-card:hover {
  transform: translateY(-4px);
  background: rgba(19, 16, 10, .86);
  box-shadow: 0 14px 32px rgba(0, 0, 0, .35);
  filter: none;
}

.learn-showcase__content .prism-card img {
  grid-row: span 2;
  width: 48px;
  height: 48px;
  margin: 0;
  object-fit: contain;
}

.learn-showcase__content .prism-card h3,
.learn-showcase__content .prism-card p {
  margin: 0;
  text-shadow: none;
}

.learn-showcase__content .prism-card h3 { font-size: 1.05rem; }
.learn-showcase__content .prism-card p { margin-top: .45rem; color: #cfcac0; }

@media (max-width: 960px) {
  .learn-showcase {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .learn-showcase__circle { width: min(100%, 460px); }
  .learn-showcase__content .section-head { max-width: 720px; margin-inline: auto; text-align: center; }
  .learn-showcase__content .section-head p { margin-inline: auto; }
}

@media (max-width: 580px) {
  .learn-showcase__content .prism-grid { grid-template-columns: 1fr; }
}

/* ==========================
   Responsive: For smaller screens
   ========================== */
@media (max-width: 768px) {
  .learn-slab {
    padding: clamp(2.4rem, 7vw, 3.2rem) 0;
  }

  #learn.amp-trim {
    padding: clamp(2.8rem, 8vw, 3.6rem) 0;
  }

  .learn-slab .section-head p {
    margin-bottom: 1.2rem;
  }

  .learn-slab .prism-grid {
    margin-top: 1.2rem;
  }

  .learn-slab .prism-card {
    min-height: 180px;
  }

  .feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .feature-grid {
    grid-template-columns: 1fr;
  }

  .feature-box i {
    font-size: 2rem;
  }

  .feature-box h3 {
    font-size: 1.1rem;
  }

  .feature-box p {
    font-size: 0.85rem;
  }
}

/* SECTION START: Shared Section Labels + Theory Layout */
/* Page extensions */
.section-kicker {
  display: inline-block;
  margin-bottom: 0.7rem;
  padding: 0.25rem 0.7rem;
  border: 1px solid rgba(204, 174, 90, 0.45);
  background: rgba(204, 174, 90, 0.12);
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.72rem;
  color: #f2f2f2;
}

.reveal-text {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.6s ease, transform 0.6s ease;
  transition-delay: var(--reveal-delay, 0s);
  will-change: opacity, transform;
}

.reveal-text.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.theory-lab {
  position: relative;
  display: grid;
  grid-template-columns: 1fr minmax(260px, 420px);
  gap: 2rem;
  min-height: clamp(760px, 92vh, 980px);
  padding: clamp(3rem, 6vw, 4.6rem) clamp(1rem, 4vw, 4rem) clamp(5.8rem, 10vw, 8.2rem);
  background: #0a0a0a;
  overflow: hidden;
}

.theory-lab::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("../images/backgrounds/paisley3.webp");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: scroll;
  opacity: 0.02;
  filter: brightness(0.68) contrast(1);
  pointer-events: none;
  z-index: 0;
}

@media (min-width: 961px) and (prefers-reduced-motion: no-preference) {
  .intro-slab {
    background-attachment: fixed;
  }

  .theory-lab::before {
    background-attachment: fixed;
  }
}

.theory-lab::after {
  content: none;
}

.theory-lab__wave {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  width: 100%;
  height: clamp(60px, 8vw, 130px);
  display: block;
  opacity: 0.72;
  pointer-events: none;
  z-index: 2;
}

.gold-dust {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0.6;
  mix-blend-mode: screen;
  background-image:
    radial-gradient(3px 3px at 12% 18%, rgba(244, 216, 156, 0.45), transparent 65%),
    radial-gradient(2px 2px at 28% 64%, rgba(220, 184, 108, 0.35), transparent 65%),
    radial-gradient(3px 3px at 46% 32%, rgba(255, 228, 166, 0.4), transparent 65%),
    radial-gradient(2px 2px at 62% 72%, rgba(216, 178, 96, 0.32), transparent 65%),
    radial-gradient(3px 3px at 76% 22%, rgba(255, 232, 176, 0.36), transparent 65%),
    radial-gradient(2px 2px at 86% 58%, rgba(204, 174, 90, 0.32), transparent 65%);
  background-size: 160px 160px;
  background-repeat: repeat;
  animation: dustDrift 30s linear infinite;
}

.gold-dust::after {
  content: "";
  position: absolute;
  inset: -12% -6%;
  background-image:
    radial-gradient(3px 3px at 18% 38%, rgba(244, 216, 156, 0.3), transparent 65%),
    radial-gradient(2px 2px at 36% 12%, rgba(255, 226, 158, 0.26), transparent 65%),
    radial-gradient(2px 2px at 58% 48%, rgba(216, 178, 96, 0.24), transparent 65%),
    radial-gradient(3px 3px at 82% 36%, rgba(204, 174, 90, 0.24), transparent 65%);
  background-size: 200px 200px;
  background-repeat: repeat;
  opacity: 0.6;
  animation: dustDrift 36s linear infinite reverse;
}

.theory-lab__content,
.orbit-console {
  position: relative;
  z-index: 3;
}

.theory-lab__content {
  max-width: 68ch;
}

/* Use the existing circle of fifths as the left-hand visual for this section. */
.theory-lab {
  grid-template-columns: minmax(380px, .86fr) minmax(0, 1.14fr);
  align-items: center;
  gap: clamp(2rem, 3.5vw, 4.25rem);
}

.theory-lab__content {
  grid-column: 2;
  grid-row: 1;
  align-self: center;
  justify-self: start;
  width: min(100%, 760px);
}

.theory-lab .orbit-console {
  grid-column: 1;
  grid-row: 1;
  justify-self: end;
  width: var(--cof-size);
  margin: 0;
  transform: none;
}

.theory-lab .circle-fifths {
  --cof-size: clamp(300px, 30vw, 430px);
  --cof-radius: calc((var(--cof-size) / 2) - 14px);
  --cof-inner-radius: calc((var(--cof-size) / 2) - 74px);
}

/* Match the roadmap's amber treatment exactly; no extra bloom. */
.theory-lab .cof-core,
.theory-lab .cof-note:not(.cof-note--minor) > span {
  background: radial-gradient(circle at 34% 28%, #f8d880 0, #d69d32 58%, #8f5e15 100%);
}

.theory-lab .cof-note:not(.cof-note--minor) > span {
  border-color: #e7ba50;
  box-shadow: none;
}

.theory-lab .cof-ring { border-color: rgba(231, 186, 80, .52); }
.theory-lab .cof-ring::before { border-color: rgba(231, 186, 80, .28); }

/* SECTION START: Theory Visual - Circle of Fifths */
.theory-lab .theory-lab__content h2 {
  position: relative;
  z-index: 1;
  margin-bottom: 1.2rem;
  font-family: "Cal Sans", sans-serif;
  font-size: clamp(2rem, 4vw, 3.35rem);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -.025em;
  text-shadow: none;
}

.theory-lab .theory-lab__content h2::after {
  content: none;
}

.tools-combo .section-head h2 {
  position: relative;
  z-index: 1;
}

.tools-combo .section-head h2::after {
  content: none;
}

.theory-lab .theory-lab__content p {
  color: rgba(255, 255, 255, .8);
  max-width: 58ch;
  font-family: "Cal Sans", sans-serif;
  font-size: clamp(1rem, 1.35vw, 1.15rem);
  font-weight: 400;
  line-height: 1.58;
  text-shadow: none;
}

.theory-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 1.1rem;
}

.theory-tags span {
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  font-size: 0.84rem;
}

.theory-list {
  margin: 0.9rem 0 1rem;
  padding-left: 1.2rem;
  color: #d4d4d4;
}

.theory-list li {
  margin: 0.4rem 0;
}

.theory-list li strong {
  color: #ccae5a;
}

.theory-actions {
  margin-top: 2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.theory-btn {
  min-width: 190px;
  text-align: center;
}

.theory-deep-links {
  margin-top: 0.85rem;
  margin-bottom: 0;
  font-size: 0.95rem;
  color: rgba(226, 211, 177, 0.9);
}

.theory-deep-links a {
  color: #f1c76f;
  text-decoration: none;
}

.theory-deep-links a:hover {
  color: #ffe2a6;
  text-decoration: underline;
}

.orbit-console {
  position: relative;
  width: min(82vw, 440px);
  aspect-ratio: 1;
  align-self: center;
  justify-self: end;
  margin-top: clamp(2rem, 6vh, 4.2rem);
  margin-left: 0;
  transform: translateX(-8.5rem);
}

.circle-fifths {
  --cof-size: min(82vw, 430px);
  --cof-radius: calc((var(--cof-size) / 2) - 14px);
  --cof-inner-radius: calc((var(--cof-size) / 2) - 74px);
  width: var(--cof-size);
}

@media (max-width: 1200px) {
  .theory-lab {
    grid-template-columns: 1fr minmax(240px, 360px);
  }

  .orbit-console {
    width: min(70vw, 390px);
    justify-self: end;
    margin-top: clamp(1.2rem, 3.6vh, 2.6rem);
    margin-left: 0;
    transform: translateX(-4rem);
  }

  .circle-fifths {
    --cof-size: min(70vw, 380px);
  }
}

.cof-core {
  position: absolute;
  inset: 50% auto auto 50%;
  transform: translate(-50%, -50%);
  width: 78px;
  height: 78px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 35% 35%, #edd9aa 0%, #ccae5a 55%, #7b5a22 100%);
  border: 1px solid rgba(0, 0, 0, 0.45);
  box-shadow: 0 0 0 0 rgba(204, 174, 90, 0.45);
  animation: cofCorePulse 3.6s ease-in-out infinite;
  z-index: 2;
}

.cof-ring {
  position: absolute;
  inset: 50% auto auto 50%;
  width: var(--cof-size);
  height: var(--cof-size);
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.24);
  transform: translate(-50%, -50%);
  animation: cofSpin 30s linear infinite;
}

.cof-ring::before {
  content: "";
  position: absolute;
  inset: 24px;
  border-radius: 50%;
  border: 1px dashed rgba(255, 255, 255, 0.18);
}

.cof-note {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(calc(var(--i) * 30deg)) translateY(calc(var(--cof-radius) * -1));
}

.cof-note--minor {
  transform: translate(-50%, -50%) rotate(calc(var(--i) * 30deg)) translateY(calc(var(--cof-inner-radius) * -1));
}

.cof-step-0 { --i: 0; }
.cof-step-1 { --i: 1; }
.cof-step-2 { --i: 2; }
.cof-step-3 { --i: 3; }
.cof-step-4 { --i: 4; }
.cof-step-5 { --i: 5; }
.cof-step-6 { --i: 6; }
.cof-step-7 { --i: 7; }
.cof-step-8 { --i: 8; }
.cof-step-9 { --i: 9; }
.cof-step-10 { --i: 10; }
.cof-step-11 { --i: 11; }

.cof-note > span {
  min-width: 34px;
  height: 34px;
  padding: 0 8px;
  border-radius: 999px;
  background: rgba(204, 174, 90, 0.95);
  color: #17120b;
  font-weight: 700;
  font-size: 0.76rem;
  display: grid;
  place-items: center;
  border: 1px solid rgba(0, 0, 0, 0.32);
  box-shadow: 0 0 14px rgba(204, 174, 90, 0.34);
  animation:
    cofCounterSpin 30s linear infinite,
    cofNotePulse 3.6s ease-in-out infinite;
  animation-delay:
    0s,
    calc(var(--i) * 0.22s);
}

.cof-note--minor > span {
  min-width: 28px;
  height: 28px;
  padding: 0 6px;
  font-size: 0.62rem;
  background: rgba(22, 22, 22, 0.9);
  color: #e4d1a4;
  border-color: rgba(204, 174, 90, 0.4);
  box-shadow: 0 0 10px rgba(204, 174, 90, 0.25);
}

/* SECTION START: Harmony Section Cards */
.harmony-prism,
.lesson-runway {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.harmony-prism > *,
.lesson-runway > * {
  position: relative;
  z-index: 2;
}

.audio-visualizer {
  position: absolute;
  left: 0;
  width: 100%;
  height: 68px;
  padding: 0 clamp(0.7rem, 2.2vw, 2.2rem);
  display: flex;
  align-items: flex-end;
  gap: clamp(4px, 0.6vw, 8px);
  pointer-events: none;
  z-index: 1;
  opacity: 0.64;
}

.audio-visualizer:not(.audio-visualizer--footer) {
  background:
    linear-gradient(
      to top,
      rgba(0, 0, 0, 0.96) 0%,
      rgba(0, 0, 0, 0.74) 44%,
      rgba(0, 0, 0, 0) 100%
    );
}

.audio-visualizer:not(.audio-visualizer--footer)::before {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(204, 174, 90, 0.3), transparent);
  opacity: 0.45;
}

.audio-visualizer--top {
  top: -30px;
}

.audio-visualizer--bottom {
  bottom: -16px;
}

.vis-bar {
  flex: 1 1 0;
  min-width: 4px;
  height: 100%;
  display: flex;
  align-items: flex-end;
}

.vis-bar::before {
  content: "";
  width: 100%;
  height: 88%;
  border-radius: 5px 5px 0 0;
  background:
    linear-gradient(
      to top,
      rgba(143, 107, 50, 0.92) 0%,
      rgba(204, 174, 90, 0.98) 62%,
      rgba(242, 224, 176, 0.95) 100%
    );
  box-shadow:
    0 0 8px rgba(204, 174, 90, 0.32),
    inset 0 1px 0 rgba(255, 245, 215, 0.38);
  transform-origin: bottom center;
  animation: visualizerPulse var(--dur, 1.4s) ease-in-out infinite;
  animation-delay: var(--delay, 0s);
}

.staff-scroll {
  --staff-line-gap: 10px;
  --staff-half-step: calc(var(--staff-line-gap) / 2);
  position: relative;
  height: clamp(78px, 9vw, 110px);
  overflow: hidden;
  background:
    radial-gradient(circle at 22% 50%, rgba(255, 242, 204, 0.48), transparent 46%),
    linear-gradient(180deg, #c8a66d 0%, #b58f57 52%, #8d693a 100%);
  border-top: 1px solid rgba(54, 33, 12, 0.65);
  border-bottom: 1px solid rgba(46, 26, 9, 0.72);
  box-shadow:
    inset 0 10px 14px rgba(255, 244, 213, 0.22),
    inset 0 -10px 14px rgba(59, 34, 12, 0.42);
  isolation: isolate;
}

.staff-scroll::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      to bottom,
      transparent 0 calc(50% - 20px),
      rgba(37, 22, 8, 0.62) calc(50% - 20px) calc(50% - 18px),
      transparent calc(50% - 18px) calc(50% - 10px),
      rgba(37, 22, 8, 0.62) calc(50% - 10px) calc(50% - 8px),
      transparent calc(50% - 8px) calc(50%),
      rgba(37, 22, 8, 0.62) calc(50%) calc(50% + 2px),
      transparent calc(50% + 2px) calc(50% + 10px),
      rgba(37, 22, 8, 0.62) calc(50% + 10px) calc(50% + 12px),
      transparent calc(50% + 12px) calc(50% + 20px),
      rgba(37, 22, 8, 0.62) calc(50% + 20px) calc(50% + 22px),
      transparent calc(50% + 22px) 100%
    );
  opacity: 0.85;
}

.staff-scroll::after {
  content: "";
  position: absolute;
  inset: -35% -18%;
  background: linear-gradient(106deg, transparent 0%, rgba(255, 244, 213, 0.35) 45%, transparent 72%);
  animation: parchmentSweep 9s linear infinite;
  pointer-events: none;
}

.staff-scroll__notes {
  position: absolute;
  top: 0;
  bottom: 0;
  left: -12%;
  width: 124%;
  display: flex;
  align-items: center;
  justify-content: space-around;
  gap: clamp(1.4rem, 4vw, 3.5rem);
  animation: staffDrift 16s linear infinite;
  z-index: 1;
}

.staff-note-icon {
  --slot: 0;
  --note-head-adjust: -7px;
  width: clamp(28px, 3.6vw, 48px);
  height: auto;
  max-height: 68px;
  object-fit: contain;
  transform: translateY(calc((var(--slot) * var(--staff-half-step)) + var(--note-head-adjust)));
  opacity: 0.92;
  filter: drop-shadow(0 2px 2px rgba(24, 12, 3, 0.45));
}

.staff-note-icon[src*="note2"] {
  --note-head-adjust: -6px;
}

.staff-note-icon:nth-child(8n + 1) { --slot: -4; } /* line 1 */
.staff-note-icon:nth-child(8n + 2) { --slot: -3; } /* space 1 */
.staff-note-icon:nth-child(8n + 3) { --slot: -2; } /* line 2 */
.staff-note-icon:nth-child(8n + 4) { --slot: -1; } /* space 2 */
.staff-note-icon:nth-child(8n + 5) { --slot: 0; }  /* line 3 */
.staff-note-icon:nth-child(8n + 6) { --slot: 1; }  /* space 3 */
.staff-note-icon:nth-child(8n + 7) { --slot: 2; }  /* line 4 */
.staff-note-icon:nth-child(8n + 8) { --slot: 3; }  /* space 4 */

.harmony-prism {
  margin: 0;
  padding: clamp(2.6rem, 5vw, 4.2rem) clamp(1rem, 4vw, 4rem);
  background: #0a0a0a;
}

.section-head h2 {
  font-size: clamp(1.55rem, 3.2vw, 2.5rem);
}

.section-head p {
  color: #d4d4d4;
  max-width: 70ch;
}

.prism-grid {
  margin-top: 1.4rem;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.prism-card {
  position: relative;
  padding: 1.3rem;
  border-radius: 14px;
  background:
    linear-gradient(150deg, rgba(204, 174, 90, 0.24), rgba(255, 255, 255, 0.02)),
    #151515;
  border: 1px solid rgba(255, 255, 255, 0.12);
  overflow: hidden;
  transform: translateY(0) rotate(0deg);
  transition: transform 0.35s ease, border-color 0.35s ease;
}

.prism-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 0%, rgba(255, 255, 255, 0.16) 50%, transparent 100%);
  transform: translateX(-120%);
  transition: transform 0.8s ease;
}

.prism-card:hover {
  transform: translateY(-6px) rotate(-1deg);
  border-color: rgba(204, 174, 90, 0.72);
}

.prism-card:hover::before {
  transform: translateX(120%);
}

.prism-card img {
  width: 46px;
  height: 46px;
  margin-bottom: 0.8rem;
}

.prism-card h3 {
  margin-bottom: 0.4rem;
}

.prism-card p {
  color: #cfcfcf;
}

/* SECTION START: Interactive Tools */
.faq-intro {
  position: relative;
  padding: 0;
  overflow: hidden;
  background: #0b0b0b;
  color: #f4f0e8;
}

.faq-intro__inner {
  position: relative;
  z-index: 1;
  width: min(760px, 100%);
  margin-inline: auto;
  padding: clamp(3.5rem, 7vw, 5.5rem) clamp(1rem, 4vw, 2rem);
  text-align: center;
}

.faq-intro h2 {
  margin: .65rem 0 1rem;
  color: #d6a441;
  font-family: "Cal Sans", sans-serif;
  font-size: clamp(2rem, 4vw, 3.35rem);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -.025em;
}

.faq-intro__inner > p:not(.section-kicker) {
  max-width: 62ch;
  margin: 0 auto;
  color: rgba(255, 255, 255, .8);
  font-size: clamp(1rem, 1.35vw, 1.15rem);
  line-height: 1.65;
}

.faq-accordion {
  display: grid;
  gap: 0;
  width: min(720px, 100%);
  margin: clamp(2rem, 4vw, 2.8rem) auto 0;
  text-align: left;
  counter-reset: faq-item;
  border-top: 1px solid rgba(255, 255, 255, .2);
}

.faq-accordion details {
  counter-increment: faq-item;
  border: 0;
  border-bottom: 1px solid rgba(255, 255, 255, .2);
  border-radius: 0;
  background: transparent;
}

.faq-accordion details[open] {
  border-color: rgba(214, 164, 65, .62);
  background: transparent;
}

.faq-accordion summary {
  position: relative;
  display: flex;
  min-height: 64px;
  align-items: center;
  padding: 1rem 3rem 1rem 3.7rem;
  color: #f7f3ea;
  font-size: clamp(.9rem, 1.25vw, 1rem);
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: .01em;
  list-style: none;
  cursor: pointer;
}

.faq-accordion summary::-webkit-details-marker {
  display: none;
}

.faq-accordion summary::before {
  content: counter(faq-item, decimal-leading-zero);
  position: absolute;
  left: .5rem;
  color: #d6a441;
  font-size: .88rem;
  font-weight: 800;
  letter-spacing: .06em;
}

.faq-accordion summary::after {
  content: "+";
  position: absolute;
  top: 50%;
  right: .5rem;
  color: #d6a441;
  background: transparent;
  font-size: 1.55rem;
  font-weight: 300;
  line-height: 1;
  transform: translateY(-50%);
}

.faq-accordion details[open] summary::after {
  content: "\2212";
}

.faq-accordion summary:hover,
.faq-accordion summary:focus-visible {
  color: #d6a441;
  outline: none;
}

.faq-accordion__answer {
  padding: 0 3rem 1.25rem 3.7rem;
  border-top: 0;
}

.faq-accordion__answer p {
  margin: 1rem 0 0;
  color: rgba(255, 255, 255, .78);
  font-size: .95rem;
  line-height: 1.65;
}

.faq-accordion__answer a {
  color: #d6a441;
  text-decoration-color: rgba(214, 164, 65, .55);
  text-underline-offset: .18em;
}

.faq-accordion__answer a:hover,
.faq-accordion__answer a:focus-visible {
  color: #efd58c;
  text-decoration-color: currentColor;
}

.faq-intro__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .8rem;
  margin-top: 1.8rem;
}

.faq-intro__visualizer {
  margin-top: clamp(1.5rem, 4vw, 3rem);
}

@media (max-width: 520px) {
  .faq-intro__actions {
    flex-direction: column;
  }

  .faq-intro__actions .site-button {
    width: 100%;
  }
}

.tool-suite {
  position: relative;
  margin: 0;
  padding: clamp(2.6rem, 5vw, 4.2rem) clamp(1rem, 4vw, 4rem);
  background-color: #0b0b0b;
  overflow: hidden;
}

.tool-suite::before,
.tool-suite::after {
  content: none;
}

.tool-suite::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("../images/backgrounds/paisley3.webp");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  opacity: 0.012;
  filter: brightness(0.58) contrast(1);
  pointer-events: none;
  z-index: 0;
}

.tool-suite::after {
  content: none;
}

.tool-grid {
  margin-top: 1.6rem;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.4rem;
}

.tool-grid--compact {
  margin-top: 1.2rem;
}

.tool-card {
  position: relative;
  padding: 1.5rem;
  border-radius: 14px;
  background: #181818;
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.35);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.tool-card p {
  color: #d3d3d3;
}

.tool-card ul {
  margin: 0.8rem 0 0.9rem;
  padding-left: 1.1rem;
  color: #d3d3d3;
}

.tool-card li {
  margin: 0.35rem 0;
}

.tool-card .btn {
  margin-top: 0.6rem;
}

.tool-card--compact {
  padding: 1.1rem 1.1rem 1rem;
}

.tool-card--compact:hover {
  transform: translateY(-4px) scale(1.03);
  box-shadow: 0 16px 28px rgba(0, 0, 0, 0.45);
  border-color: rgba(204, 174, 90, 0.5);
}

.tool-card--compact p {
  margin-bottom: 0.6rem;
}

.tool-card--compact ul {
  margin: 0.6rem 0 0;
}

.tools-combo .contact-voltage__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
  border-radius: 0;
}

.tool-suite > * {
  position: relative;
  z-index: 2;
}


.tools-combo__head {
  text-align: center;
}

.tools-combo__head p {
  margin-left: auto;
  margin-right: auto;
}

.tools-combo__meter {
  margin-top: 1.6rem;
}

/* Match the homepage hero's typography and action styling. */
.tools-combo,
.tools-combo button,
.tools-combo a {
  font-family: "Cal Sans", sans-serif;
}

.tools-combo .section-kicker {
  color: #c99a3d;
  font-size: .75rem;
  font-weight: 800;
  letter-spacing: .22em;
  text-shadow: none;
}

.tools-combo .section-head h2 {
  margin: 1rem auto .85rem;
  max-width: 22ch;
  color: #f6f3ed;
  font-size: clamp(2rem, 4vw, 3.35rem);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -.025em;
  text-shadow: none;
}

.tools-combo .section-head > p:last-child {
  max-width: 60ch;
  color: rgba(255, 255, 255, .8);
  font-size: clamp(1rem, 1.35vw, 1.15rem);
  font-weight: 400;
  line-height: 1.58;
  text-shadow: none;
}

.tools-combo .tool-card h3 {
  color: #f6f3ed;
  font-weight: 500;
  line-height: 1.15;
}

.tools-combo .tool-card p,
.tools-combo .tool-card li {
  font-weight: 400;
  line-height: 1.5;
}

.tools-combo .contact-choice {
  min-height: 48px;
  padding: .85rem 1.2rem;
  border: 1px solid #c99a3d;
  border-radius: 10px;
  background: rgba(0, 0, 0, .35);
  box-shadow: none;
  color: #f3eee4;
  font-size: .78rem;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: .04em;
  text-shadow: none;
}

.tools-combo .contact-choice.is-active {
  border-color: #efd58c;
  background: #d2a449;
  box-shadow: none;
  color: #171109;
}

.tools-combo .contact-choice:hover,
.tools-combo .contact-choice:focus-visible {
  border-color: #f5dda0;
  background: #e0b65d;
  box-shadow: none;
  color: #171109;
  outline: none;
  transform: translateY(-3px);
}

/* SECTION START: Contact Section + Interactive Metronome */
.contact-voltage {
  position: relative;
  padding: clamp(2.6rem, 6vw, 5rem) 1rem;
  background: #0b0b0b;
}

.contact-voltage::before {
  content: none;
  position: absolute;
  inset: 12% auto auto 6%;
  width: clamp(150px, 30vw, 360px);
  height: clamp(150px, 30vw, 360px);
  border-radius: 50%;
  border: 1px solid rgba(204, 174, 90, 0.46);
  animation: rotate360 28s linear infinite;
  transform-origin: center center;
  pointer-events: none;
}

.contact-voltage__inner {
  position: relative;
  z-index: 1;
  max-width: 1050px;
  margin: 0 auto;
  padding: clamp(1.4rem, 4vw, 2.2rem);
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.04);
  display: grid;
  gap: 1.25rem;
}

.contact-copy {
  max-width: 66ch;
  margin: 0 auto;
  text-align: center;
}

.contact-copy h2 {
  font-size: clamp(1.6rem, 3.2vw, 2.5rem);
}

.contact-copy p {
  color: #d4d4d4;
}

.contact-meter {
  display: grid;
  grid-template-columns: minmax(180px, 1fr) 190px minmax(180px, 1fr);
  align-items: center;
  gap: clamp(0.7rem, 2vw, 1.2rem);
}

.contact-choice {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 54px;
  padding: 0.7rem 1rem;
  border-radius: 999px;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(204, 174, 90, 0.48);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 8px 16px rgba(0, 0, 0, 0.35);
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, border-color 0.25s ease;
}

.contact-choice:hover {
  transform: translateY(-2px);
  background: rgba(204, 174, 90, 0.16);
  border-color: rgba(204, 174, 90, 0.78);
}

.contact-choice.is-active {
  background: var(--amp-gold-gradient);
  border-color: rgba(69, 43, 14, 0.7);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.22),
    0 10px 20px rgba(0, 0, 0, 0.45);
}

.contact-metronome {
  position: relative;
  width: 190px;
  height: 200px;
  justify-self: center;
  filter: drop-shadow(0 10px 14px rgba(0, 0, 0, 0.45));
}

.contact-metronome .metro-body {
  position: absolute;
  inset: 0;
  background-image: url("../images/icons/metronome2.webp");
  background-repeat: no-repeat;
  background-position: center bottom;
  background-size: contain;
  z-index: 1;
}

.contact-metronome .metro-body::before {
  content: none;
}

.contact-metronome .metro-body::after {
  content: none;
}

.contact-metronome .metro-arm {
  position: absolute;
  left: 50%;
  top: 20px;
  width: 2px;
  height: 116px;
  background: linear-gradient(to bottom, #f7e7bf 0%, #ccae5a 58%, #88652e 100%);
  transform-origin: 50% 94%;
  transform: translateX(-50%) rotate(-22deg);
  transition: transform 0.38s cubic-bezier(0.22, 1, 0.36, 1);
  z-index: 2;
}

.contact-metronome .metro-arm::before {
  content: "";
  position: absolute;
  top: -4px;
  left: 50%;
  width: 8px;
  height: 8px;
  transform: translateX(-50%);
  border-radius: 50%;
  background: #e9d09a;
  border: 1px solid rgba(69, 43, 14, 0.55);
}

.contact-metronome .metro-arm::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 36px;
  width: 21px;
  height: 14px;
  transform: translateX(-50%);
  border-radius: 999px;
  background: var(--amp-gold-gradient);
  border: 1px solid rgba(69, 43, 14, 0.55);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
}

.contact-meter[data-meter-state="left"] .contact-metronome .metro-arm {
  transform: translateX(-50%) rotate(-22deg);
}

.contact-meter[data-meter-state="right"] .contact-metronome .metro-arm {
  transform: translateX(-50%) rotate(22deg);
}

/* SECTION START: Footer */
.site-footer {
  display: grid;
  gap: 0;
  padding: 0;
  margin-top: -1px;
  border-top: none;
  background-color: #0b0b0b !important;
  color: #d8c8a5;
  font-size: 0.9rem;
  position: relative;
  isolation: isolate;
}

.site-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("../images/backgrounds/paisley3.webp");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  opacity: 0.012;
  filter: brightness(0.58) contrast(1);
  pointer-events: none;
  z-index: 0;
}

.site-footer > * {
  position: relative;
  z-index: 1;
}

.site-footer__content {
  position: relative;
  display: grid;
  grid-template-columns: minmax(220px, 1.25fr) repeat(2, minmax(180px, 1fr));
  gap: 0.9rem 1.2rem;
  padding: 1rem 1.1rem;
  border-radius: 0;
  background: linear-gradient(180deg, #2f1f12 0%, #24170d 42%, #1a110a 100%);
  border: 3px solid #130c06;
  box-shadow:
    inset 0 1px 0 rgba(255, 223, 178, 0.18),
    inset 0 -10px 20px rgba(0, 0, 0, 0.55),
    0 12px 28px rgba(0, 0, 0, 0.45);
  overflow: hidden;
}

.site-footer__content::before {
  content: "";
  position: absolute;
  inset: 8px;
  border-radius: 10px;
  background:
    repeating-linear-gradient(
      45deg,
      rgba(255, 255, 255, 0.04) 0,
      rgba(255, 255, 255, 0.04) 1px,
      rgba(0, 0, 0, 0.22) 1px,
      rgba(0, 0, 0, 0.22) 4px
    ),
    repeating-linear-gradient(
      -45deg,
      rgba(255, 255, 255, 0.035) 0,
      rgba(255, 255, 255, 0.035) 1px,
      rgba(0, 0, 0, 0.2) 1px,
      rgba(0, 0, 0, 0.2) 4px
    ),
    linear-gradient(180deg, #141414 0%, #0b0b0b 100%);
  border: 1px solid rgba(255, 230, 190, 0.16);
  box-shadow:
    inset 0 10px 18px rgba(255, 255, 255, 0.06),
    inset 0 -10px 18px rgba(0, 0, 0, 0.55);
  z-index: 0;
  pointer-events: none;
}

.site-footer__content::after {
  content: "";
  position: absolute;
  inset: 3px;
  border-radius: 12px;
  border: 1px solid rgba(207, 166, 109, 0.32);
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.5);
  z-index: 0;
  pointer-events: none;
}

.site-footer__content > * {
  position: relative;
  z-index: 1;
}

.site-footer__brand {
  display: grid;
  align-content: start;
  gap: 0.32rem;
}

.site-footer__logo-link {
  width: fit-content;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.34rem 0.48rem;
  border-radius: 11px;
  border: 1px solid rgba(255, 230, 190, 0.24);
  background: rgba(0, 0, 0, 0.3);
  box-shadow: inset 0 0 0 1px rgba(255, 219, 150, 0.1);
}

.site-footer__logo {
  width: auto;
  height: 42px;
  display: block;
}

.site-footer__tagline {
  margin: 0;
  font-family: "Cal Sans", system-ui, sans-serif;
  letter-spacing: 0.02em;
  font-size: 1rem;
  color: #f2d497;
}

.site-footer__summary {
  margin: 0;
  max-width: 38ch;
  color: rgba(236, 222, 187, 0.92);
  line-height: 1.45;
}

.site-footer__panel {
  display: grid;
  align-content: start;
  gap: 0.42rem;
}

.site-footer__panel-title {
  margin: 0 0 0.12rem;
  font-family: "Cal Sans", system-ui, sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.75rem;
  color: #f2d497;
}

.site-footer__bottom {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  margin-top: 0.15rem;
  padding: 0.55rem 0.18rem 0;
  border-top: 1px solid rgba(207, 166, 109, 0.28);
}

.site-footer__bottom p {
  margin: 0;
  color: rgba(226, 211, 177, 0.84);
  font-size: 0.8rem;
}

.audio-visualizer--footer {
  position: relative;
  left: auto;
  bottom: auto;
  width: 100%;
  height: 62px;
  padding-top: 4px;
  border-radius: 0 0 10px 10px;
  opacity: 0.72;
  background: transparent !important;
  background-image: none !important;
  box-shadow: none;
  overflow: hidden;
}
.site-footer .audio-visualizer--footer::before {
  content: none;
  opacity: 0;
  background: none !important;
}
.site-footer .audio-visualizer--footer::after {
  content: none;
  opacity: 0;
  background: none !important;
}

.site-footer a {
  color: #f1c76f;
  text-decoration: none;
  width: fit-content;
  transition: color 0.2s ease, transform 0.2s ease;
}

.site-footer a:hover {
  color: #ffe2a6;
  text-decoration: underline;
  transform: translateX(1px);
}

/* SECTION START: Keyframe Animations */
@keyframes cofSpin {
  from {
    transform: translate(-50%, -50%) rotate(0deg);
  }
  to {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}

@keyframes cofCounterSpin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(-360deg);
  }
}

@keyframes rotate360 {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

@keyframes cofCorePulse {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(204, 174, 90, 0.45);
  }
  50% {
    box-shadow: 0 0 0 18px rgba(204, 174, 90, 0);
  }
}

@keyframes cofNotePulse {
  0%,
  100% {
    box-shadow: 0 0 10px rgba(204, 174, 90, 0.24);
  }
  50% {
    box-shadow: 0 0 22px rgba(204, 174, 90, 0.75);
  }
}

@keyframes visualizerPulse {
  0% {
    transform: scaleY(var(--s1, 0.22));
    opacity: 0.48;
  }
  25% {
    transform: scaleY(var(--s2, 0.76));
    opacity: 1;
  }
  50% {
    transform: scaleY(var(--s3, 0.4));
    opacity: 0.7;
  }
  75% {
    transform: scaleY(var(--s4, 0.92));
    opacity: 1;
  }
  100% {
    transform: scaleY(var(--s1, 0.22));
    opacity: 0.48;
  }
}

@keyframes staffDrift {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-18%);
  }
}

@keyframes parchmentSweep {
  from {
    transform: translateX(-12%);
  }
  to {
    transform: translateX(12%);
  }
}

@keyframes floatCard {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-6px);
  }
}

@keyframes dustDrift {
  0% {
    transform: translate3d(0, 0, 0);
  }
  50% {
    transform: translate3d(-2.5%, 1.5%, 0);
  }
  100% {
    transform: translate3d(0, 0, 0);
  }
}

@keyframes starTwinkle {
  0%,
  100% {
    opacity: 0.75;
    filter: brightness(1);
  }
  50% {
    opacity: 1;
    filter: brightness(1.4);
  }
}

@keyframes smokeDrift {
  0% {
    transform: translate3d(-2%, -1%, 0) scale(1);
  }
  50% {
    transform: translate3d(2%, 2%, 0) scale(1.03);
  }
  100% {
    transform: translate3d(-2%, -1%, 0) scale(1);
  }
}

@keyframes smokeDriftSlow {
  0% {
    transform: translate3d(1.5%, 0, 0) scale(1.02);
  }
  50% {
    transform: translate3d(-1.5%, -1.5%, 0) scale(1);
  }
  100% {
    transform: translate3d(1.5%, 0, 0) scale(1.02);
  }
}

@keyframes dividerWaveScroll {
  from {
    background-position:
      left top,
      left bottom,
      0 50%,
      center;
  }
  to {
    background-position:
      left top,
      left bottom,
      -360px 50%,
      center;
  }
}


/* SECTION START: Responsive Breakpoints */
@media (max-width: 940px) {
  .theory-lab {
    grid-template-columns: 1fr;
    min-height: clamp(620px, 84vh, 820px);
    padding: clamp(2.6rem, 6vw, 3.4rem) clamp(0.9rem, 4vw, 2rem) clamp(4rem, 10vw, 5.2rem);
  }

  .theory-lab__content {
    grid-column: 1;
    grid-row: 2;
  }

  .theory-lab .orbit-console {
    grid-column: 1;
    grid-row: 1;
  }

  .theory-lab::after {
    content: none;
  }

  .theory-lab__wave {
    height: clamp(52px, 9vw, 90px);
  }

  .orbit-console {
    margin-top: 0.5rem;
    margin-left: 0;
    justify-self: center;
    transform: none;
  }

  .contact-meter {
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 0.8rem;
  }

  .contact-choice {
    width: min(320px, 100%);
  }

  .audio-visualizer {
    height: 58px;
    opacity: 0.56;
  }

  .staff-scroll {
    height: clamp(70px, 14vw, 90px);
  }

  .prism-grid {
    grid-template-columns: 1fr;
  }

  .tool-grid {
    grid-template-columns: 1fr;
  }

  .site-footer__content {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .site-footer__brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 600px) {
  .theory-lab__content h2 {
    font-size: clamp(1.45rem, 7.8vw, 2rem);
  }

  .theory-lab__content p,
  .theory-list li {
    font-size: 0.98rem;
  }

  .theory-lab__wave {
    height: clamp(46px, 11vw, 70px);
  }

  .theory-actions {
    flex-direction: column;
    width: 100%;
  }

  .theory-btn {
    width: 100%;
    min-width: 0;
  }

  .circle-fifths {
    --cof-size: min(86vw, 300px);
    --cof-inner-radius: calc((var(--cof-size) / 2) - 66px);
  }

  .cof-core {
    width: 66px;
    height: 66px;
  }

  .cof-note > span {
    min-width: 30px;
    height: 30px;
    padding: 0 7px;
    font-size: 0.7rem;
  }

  .cof-note--minor > span {
    min-width: 24px;
    height: 24px;
    padding: 0 5px;
    font-size: 0.56rem;
  }

  .contact-metronome {
    transform: scale(0.88);
    transform-origin: center;
  }

  .audio-visualizer {
    height: 50px;
    opacity: 0.48;
  }

  .site-footer__content {
    grid-template-columns: 1fr;
    padding: 0.9rem 0.85rem;
  }

  .site-footer__bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.25rem;
  }

  .staff-scroll__notes {
    gap: 1.6rem;
  }
}

/* SECTION START: Reduced Motion Accessibility */
@media (prefers-reduced-motion: reduce) {
  .hero-video::after,
  .section-wave-divider,
  .section-trim,
  .amp-trim::before,
  .amp-trim::after {
    animation: none;
  }

  .vis-bar::before {
    animation: none;
    transform: scaleY(0.5);
  }

  .staff-scroll::after,
  .staff-scroll__notes {
    animation: none;
  }

  .contact-metronome .metro-arm {
    transition: none;
  }

  .reveal-text {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* Static homepage hero */
.hero-video {
  position: relative;
  height: clamp(650px, 82vh, 900px);
  overflow: visible;
  isolation: isolate;
  border-bottom: 1px solid rgba(201, 154, 61, 0.75);
}

/* The hero divider extends 22px below the hero; reserve that space so the
   following Introduction slab cannot paint over its lower half. */
.hero-video + main > #introduction {
  margin-top: 22px;
}

.hero-video::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(90deg, rgba(0,0,0,.94) 0%, rgba(0,0,0,.82) 35%, rgba(0,0,0,.36) 63%, rgba(0,0,0,.12) 100%);
}

.hero-video__bg {
  object-position: center;
  filter: contrast(1.08) saturate(.9) brightness(.8);
}

.hero-static {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  width: min(1440px, 100%);
  height: 100%;
  margin: 0 auto;
  padding: clamp(2rem, 5vw, 5rem);
}

.hero-static__content {
  width: min(650px, 55vw);
  padding-top: 1rem;
}

.hero-static__eyebrow {
  margin: 0 0 .65rem;
  color: #c99a3d;
  font-size: .75rem;
  font-weight: 800;
  letter-spacing: .22em;
  text-transform: uppercase;
  animation: heroStaticIn .65s cubic-bezier(.16,1,.3,1) both;
}

.hero-static__title {
  max-width: 12ch;
  margin: 0;
  color: #f6f3ed;
  font-family: "Cal Sans", sans-serif;
  font-size: clamp(3.1rem, 6vw, 6.15rem);
  font-weight: 500;
  letter-spacing: -.035em;
  line-height: .91;
  text-wrap: balance;
  text-shadow: 0 4px 24px rgba(0,0,0,.72);
  animation: heroStaticIn .75s cubic-bezier(.16,1,.3,1) .08s both;
}

.hero-static__title span {
  display: block;
  color: #d6a441;
}

.hero-static__lead {
  max-width: 54ch;
  margin: 1.35rem 0 0;
  color: #dedbd4;
  font-size: clamp(1rem, 1.35vw, 1.2rem);
  line-height: 1.58;
  text-shadow: 0 2px 10px #000;
  animation: heroStaticIn .75s cubic-bezier(.16,1,.3,1) .16s both;
}

.hero-static__actions {
  display: flex;
  flex-wrap: wrap;
  gap: .8rem;
  margin-top: 1.65rem;
  animation: heroStaticIn .75s cubic-bezier(.16,1,.3,1) .24s both;
}

.hero-static__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .7rem;
  min-height: 48px;
  padding: .75rem 1.25rem;
  border: 1px solid #9f792e;
  border-radius: 8px;
  color: #f7f3ea;
  background: rgba(5,5,5,.74);
  font-size: .76rem;
  font-weight: 800;
  letter-spacing: .045em;
  text-decoration: none;
  text-transform: uppercase;
  transition: transform .2s ease, background .2s ease, color .2s ease, border-color .2s ease;
}

.hero-static__button--primary {
  color: #171109;
  background: #d2a449;
  border-color: #efd58c;
}

.hero-static__button:hover,
.hero-static__button:focus-visible {
  color: #171109;
  background: #e0b65d;
  border-color: #f5dda0;
  transform: translateY(-3px);
  outline: none;
}

.hero-static__proof {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(1.1rem, 3vw, 2.5rem);
  margin: 2.25rem 0 2rem;
  padding: 0;
  list-style: none;
  animation: heroStaticIn .75s cubic-bezier(.16,1,.3,1) .32s both;
}

.hero-static__proof li {
  display: flex;
  align-items: center;
  gap: .65rem;
}

.hero-static__proof-icon {
  display: block;
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  object-fit: contain;
}

.hero-static__proof strong,
.hero-static__proof small { display: block; }
.hero-static__proof strong { color: #d7ab4e; font-size: .76rem; line-height: 1.2; }
.hero-static__proof small { margin-top: .16rem; color: #bdb9b1; font-size: .67rem; white-space: nowrap; }

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

@media (max-width: 768px) {
  .hero-video { height: clamp(660px, 92vh, 820px); }
  .hero-video::before { background: rgba(0,0,0,.7); }
  .hero-video__bg { object-position: 62% center; }
  .hero-static { align-items: flex-end; padding: 2rem 1.15rem 3.4rem; }
  .hero-static__content { width: min(100%, 580px); }
  .hero-static__title { font-size: clamp(2.8rem, 13vw, 4.7rem); }
  .hero-static__lead { font-size: .98rem; }
  .hero-static__actions { flex-direction: column; align-items: stretch; }
  .hero-static__button { width: 100%; }
  .hero-static__proof { gap: 1rem 1.4rem; margin-top: 1.6rem; }
}

@media (max-width: 430px) {
  .hero-static__proof { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); }
  .hero-static__proof li:last-child { grid-column: 1 / -1; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-static__eyebrow,
  .hero-static__title,
  .hero-static__lead,
  .hero-static__actions,
  .hero-static__proof { animation: none; }
}

/* Shared homepage CTA styling, based on the hero buttons. */
.site-button.site-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .7rem;
  min-height: 48px;
  padding: .75rem 1.25rem;
  border: 1px solid #9f792e;
  border-radius: 8px;
  color: #f7f3ea;
  background: rgba(5, 5, 5, .74);
  box-shadow: none;
  font-size: .76rem;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .045em;
  text-align: center;
  text-decoration: none;
  text-shadow: none;
  text-transform: uppercase;
  transition: transform .2s ease, background .2s ease, color .2s ease, border-color .2s ease;
}

.site-button.site-button--primary {
  color: #171109;
  background: #d2a449;
  border-color: #efd58c;
}

.site-button.site-button:hover,
.site-button.site-button:focus-visible {
  color: #171109;
  background: #e0b65d;
  border-color: #f5dda0;
  box-shadow: none;
  transform: translateY(-3px);
  outline: none;
}

/* Improve white text contrast on bright accents */
.section-kicker,
.theory-lab__content h2,
.theory-lab__content p,
.prism-card h3,
.prism-card p,
.runway-stop h3,
.runway-stop p,
.contact-copy h2,
.contact-copy p,
.contact-choice,
.site-footer p,
.site-footer a {
  text-shadow:
    -1px -1px 0 #000,
    1px -1px 0 #000,
    -1px 1px 0 #000,
    1px 1px 0 #000;
}





.site-footer__to-top {
  display: none;
  border: 1px solid rgba(246, 194, 74, 0.48);
  background: rgba(16, 16, 20, 0.82);
  color: #f6c24a;
  border-radius: 999px;
  padding: 0.28rem 0.7rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  line-height: 1;
}

.site-footer__to-top:hover,
.site-footer__to-top:focus-visible {
  background: rgba(26, 22, 14, 0.95);
  color: #ffe3a2;
  border-color: rgba(255, 222, 160, 0.7);
}

@media (max-width: 600px) {
  .site-footer {
    gap: 0.44rem;
    padding: 0 0.52rem 0.3rem;
  }

  .audio-visualizer--footer {
    height: 34px;
    opacity: 0.38;
    border-radius: 0 0 8px 8px;
  }
.site-footer__content {
    gap: 0.5rem;
    padding: 0.68rem 0.7rem;
    border-radius: 11px;
  }

  .site-footer__content::before {
    inset: 5px;
    border-radius: 8px;
  }

  .site-footer__content::after {
    inset: 2px;
    border-radius: 10px;
  }

  .site-footer__panel,
  .site-footer__summary,
  .site-footer__bottom a[href*="terms"] {
    display: none;
  }

  .site-footer__brand {
    gap: 0.16rem;
  }

  .site-footer__logo-link {
    padding: 0.22rem 0.34rem;
    border-radius: 8px;
  }

  .site-footer__logo {
    height: 32px;
  }

  .site-footer__tagline {
    font-size: 0.86rem;
  }

  .site-footer__bottom {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.36rem;
    margin-top: 0;
    padding: 0.3rem 0.04rem 0;
  }

  .site-footer__bottom p,
  .site-footer__bottom a {
    font-size: 0.7rem;
  }

  .site-footer__to-top {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
}
