.frequency-page {
  background: #08090d;
}

.frequency-hero {
  position: relative;
  display: grid;
  min-height: min(82vh, 820px);
  align-items: center;
  overflow: hidden;
  padding: clamp(80px, 11vw, 160px) max(6vw, calc((100vw - 1200px) / 2));
  background: radial-gradient(circle at 74% 48%, rgba(109, 165, 216, .18), transparent 29%),
              radial-gradient(circle at 35% 76%, rgba(237, 71, 142, .13), transparent 35%),
              radial-gradient(circle at 52% 95%, rgba(221, 185, 95, .12), transparent 45%),
              #08090d;
}

.frequency-hero-copy {
  position: relative;
  z-index: 1;
  max-width: 960px;
}

.frequency-hero .eyebrow,
.frequency-step {
  color: var(--gold-bright);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
}

.frequency-hero .eyebrow span,
.frequency-step span {
  margin: 0 .6em;
  color: rgba(245, 217, 136, .5);
}

.frequency-hero h1 {
  margin: 18px 0 26px;
  color: var(--ivory);
  font: 400 clamp(65px, 10vw, 150px)/.9 var(--serif);
  letter-spacing: -.065em;
}

.frequency-hero h1 em {
  color: var(--gold-bright);
  font-weight: 400;
}

.frequency-deck {
  max-width: 650px;
  margin: 0;
  color: #e8e1d5;
  font: clamp(23px, 3.2vw, 38px)/1.25 var(--serif);
}

.frequency-enter {
  display: inline-flex;
  gap: 20px;
  align-items: center;
  margin-top: 42px;
  border-bottom: 1px solid var(--gold);
  padding-bottom: 7px;
  color: var(--gold-bright);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .15em;
  text-transform: uppercase;
}

.frequency-enter:hover {
  color: var(--ivory);
}

.frequency-hero-orbit {
  position: absolute;
  top: 5%;
  right: -13%;
  display: grid;
  width: min(65vw, 780px);
  aspect-ratio: 1;
  place-items: center;
  border: 1px solid rgba(245, 217, 136, .16);
  border-radius: 50%;
  box-shadow: inset 0 0 90px rgba(221, 185, 95, .04), 0 0 80px rgba(109, 165, 216, .05);
  transform: rotate(-18deg) scaleX(.84);
}

.frequency-hero-orbit::before,
.frequency-hero-orbit::after {
  position: absolute;
  inset: 9%;
  border: 1px solid rgba(237, 71, 142, .13);
  border-radius: 50%;
  content: "";
  transform: rotate(50deg) scaleX(.68);
}

.frequency-hero-orbit::after {
  inset: 22%;
  border-color: rgba(109, 165, 216, .19);
  transform: rotate(-36deg) scaleX(.78);
}

.frequency-hero-orbit span {
  color: var(--gold-bright);
  font-size: clamp(100px, 22vw, 310px);
  text-shadow: 0 0 45px rgba(245, 217, 136, .42);
  opacity: .44;
}

.frequency-section {
  max-width: 1140px;
  margin: 0 auto;
  padding: clamp(78px, 10vw, 145px) 5vw;
}

.frequency-section h2 {
  max-width: 820px;
  margin: 15px 0 30px;
  color: var(--ivory);
  font: 400 clamp(43px, 5.8vw, 78px)/1.06 var(--serif);
  letter-spacing: -.04em;
}

.frequency-question {
  display: grid;
  justify-items: center;
  text-align: center;
}

.frequency-question blockquote {
  max-width: 810px;
  margin: 24px 0 0;
  color: var(--gold-bright);
  font: italic clamp(24px, 3.2vw, 42px)/1.35 var(--serif);
}

.frequency-score {
  max-width: none;
  padding-right: 0;
  padding-left: 0;
  background: linear-gradient(180deg, #0a0d14, #111421 57%, #0a0b0e);
}

.frequency-score-heading,
.frequency-words {
  max-width: 1020px;
  margin: 0 auto;
  padding-right: 5vw;
  padding-left: 5vw;
}

.frequency-figure {
  max-width: 1320px;
  margin: clamp(40px, 7vw, 90px) auto clamp(55px, 8vw, 110px);
  padding: 0 4vw;
}

.frequency-bars {
  display: flex;
  height: clamp(210px, 34vw, 390px);
  align-items: flex-end;
  justify-content: center;
  gap: clamp(7px, 1.6vw, 22px);
  border-bottom: 1px solid rgba(245, 217, 136, .25);
  padding: 0 clamp(7px, 2vw, 28px);
}

.frequency-bar {
  display: block;
  width: clamp(13px, 3.9vw, 48px);
  height: var(--height);
  flex: 1 1 0;
  max-width: 48px;
  border-radius: 999px 999px 0 0;
  background: linear-gradient(180deg, #ffc88f, #b47491 62%, rgba(110, 107, 153, .36));
  box-shadow: 0 0 25px rgba(237, 71, 142, .18);
  transform-origin: bottom;
  animation: frequency-breathe 4s ease-in-out var(--delay) infinite alternate;
}

.frequency-bar--crest {
  background: linear-gradient(180deg, #fff5c7, #f5d988 48%, #c8876b);
  box-shadow: 0 0 25px rgba(245, 217, 136, .55), 0 0 95px rgba(245, 217, 136, .28);
}

.frequency-bar--quiet {
  background: #9894ab;
  box-shadow: none;
}

.frequency-bar--chime {
  background: linear-gradient(180deg, #cdefff, #8cc8de 55%, #466481);
  box-shadow: 0 0 25px rgba(109, 165, 216, .28);
}

.frequency-figure figcaption {
  margin-top: 17px;
  color: #b9b9bf;
  font-size: 13px;
  text-align: center;
}

.frequency-words {
  max-width: 950px;
}

.frequency-words p:not(.frequency-beat) {
  max-width: 790px;
  margin: 0 auto 30px;
  color: #e4e2df;
  font: clamp(20px, 2.5vw, 30px)/1.58 var(--serif);
}

.frequency-words strong {
  color: var(--gold-bright);
  font-weight: 400;
  font-style: italic;
}

.frequency-beat {
  margin: clamp(55px, 9vw, 110px) auto;
  color: var(--gold-bright);
  font: 400 clamp(31px, 5vw, 72px)/1.25 var(--serif);
  letter-spacing: -.03em;
  text-align: center;
  text-wrap: balance;
}

.frequency-beat span {
  color: #89b8d3;
  padding: 0 .1em;
}

.frequency-answer {
  max-width: 990px;
  text-align: center;
}

.frequency-answer h2 {
  margin-right: auto;
  margin-left: auto;
}

.frequency-answer blockquote {
  max-width: 850px;
  margin: clamp(35px, 6vw, 75px) auto;
  color: var(--gold-bright);
  font: clamp(21px, 2.8vw, 34px)/1.6 var(--serif);
  overflow-wrap: anywhere;
}

.frequency-coda {
  color: #c9c6c0;
  font: italic clamp(19px, 2.4vw, 29px)/1.4 var(--serif);
}

.frequency-next {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--line);
}

.frequency-next a {
  display: grid;
  gap: 8px;
  border-right: 1px solid var(--line);
  padding: 38px max(5vw, calc((100vw - 1200px) / 2));
}

.frequency-next a:last-child {
  border-right: 0;
}

.frequency-next span {
  color: var(--gold-bright);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.frequency-next strong {
  color: var(--ivory);
  font: 400 clamp(22px, 3vw, 36px)/1.2 var(--serif);
}

@keyframes frequency-breathe {
  from { filter: brightness(.88); transform: scaleY(.96); }
  to { filter: brightness(1.12); transform: scaleY(1); }
}

@media (max-width: 720px) {
  .frequency-hero { min-height: 75vh; padding: 75px 6vw 100px; }
  .frequency-hero h1 { font-size: clamp(62px, 14vw, 98px); }
  .frequency-hero-orbit { top: 8%; right: -55%; width: 100vw; opacity: .45; }
  .frequency-section { padding: 70px 6vw; }
  .frequency-score { padding-right: 0; padding-left: 0; }
  .frequency-score-heading, .frequency-words { padding-right: 6vw; padding-left: 6vw; }
  .frequency-bars { gap: 5px; height: 210px; }
  .frequency-bar { min-width: 8px; }
  .frequency-next { grid-template-columns: 1fr; }
  .frequency-next a { border-right: 0; border-bottom: 1px solid var(--line); padding: 30px 6vw; }
}

@media (prefers-reduced-motion: reduce) {
  .frequency-bar { animation: none; }
}

:root[data-a11y-motion="reduced"] .frequency-bar {
  animation: none;
}

:root[data-a11y-contrast="stronger"] .frequency-hero,
:root[data-a11y-contrast="stronger"] .frequency-score {
  background: #000;
}

:root[data-a11y-contrast="stronger"] .frequency-figure figcaption,
:root[data-a11y-contrast="stronger"] .frequency-words p:not(.frequency-beat),
:root[data-a11y-contrast="stronger"] .frequency-coda {
  color: #f7f7f4;
}
