/* Appily Ninetyfive — Frequency Desk (policy)
   Rose + teal on cool mist · Fraunces + Source Sans 3
   Full-width channel strip nav · single-column transcript deck
   Not Matter Brief docket/ruled sheet · quarry sidebar+sheet ·
   Harborline dual-column rail/sheet · generic dual-column legal docs
   Body contrast: ink #101820 on #FFFFFF (AA+); mute #3D4A56 on white (AA) */

:root {
  --fq-ink: #101820;
  --fq-mist: #E8F4FF;
  --fq-plate: #FFFFFF;
  --fq-rose: #BE123C;
  --fq-rose-deep: #BE123C;
  --fq-teal: #0D9488;
  --fq-teal-deep: #0F766E;
  --fq-gold: #A16207;
  --fq-mute: #344048;
  --fq-border: rgba(16, 24, 32, 0.16);
  --fq-console: #0B1220;

  --fq-display: "Fraunces", "Georgia", serif;
  --fq-body: "Source Sans 3", "Segoe UI", sans-serif;

  --fq-1: 8px;
  --fq-2: 16px;
  --fq-3: 24px;
  --fq-4: 32px;
  --fq-5: 48px;
  --fq-6: 64px;
  --fq-page: clamp(16px, 4vw, 32px);
  --fq-radius: 16px;
  --fq-pill: 999px;
  --fq-shadow: 0 16px 36px rgba(16, 24, 32, 0.1);
  --fq-ease: cubic-bezier(0.34, 1.25, 0.64, 1);
  --fq-wipe: cubic-bezier(0.65, 0, 0.35, 1);
  --fq-fast: 220ms var(--fq-wipe);
  --fq-spring: 360ms var(--fq-ease);
}

@media (prefers-reduced-motion: reduce) {
  :root { --fq-fast: 0.01ms; --fq-spring: 0.01ms; }
  .a95-fq-channel,
  .a95-fq-deck,
  .a95-fq-seg { transition: none !important; animation: none !important; }
}

*, *::before, *::after { box-sizing: border-box; }

body.frequency-desk {
  margin: 0;
  min-height: 100vh;
  font-family: var(--fq-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--fq-ink);
  background:
    radial-gradient(ellipse at 12% -6%, rgba(225, 29, 72, 0.1), transparent 42%),
    radial-gradient(ellipse at 90% 0%, rgba(13, 148, 136, 0.12), transparent 40%),
    var(--fq-mist);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: var(--fq-rose-deep); }

.skip-link {
  position: absolute; left: var(--fq-2); top: -100px; z-index: 1000;
  padding: 0.55rem 1rem; background: var(--fq-rose); color: #fff;
  font-family: var(--fq-display); font-weight: 700; text-decoration: none; border-radius: var(--fq-pill);
}
.skip-link:focus { top: var(--fq-2); }

.container {
  width: min(760px, calc(100% - 2 * var(--fq-page)));
  margin-inline: auto;
}

.container--wide {
  width: min(1040px, calc(100% - 2 * var(--fq-page)));
}

/* Hop */
.a95-fq-hop {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--fq-2);
  padding: 0.85rem var(--fq-page);
  background: var(--fq-console);
  color: #E8F4FF;
}

.a95-fq-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  text-decoration: none;
  color: inherit;
}

.a95-fq-brand-mark {
  width: 1.35rem;
  height: 1.35rem;
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 50%, var(--fq-rose) 0 28%, transparent 29%),
    conic-gradient(from 200deg, var(--fq-teal), var(--fq-rose), var(--fq-gold), var(--fq-teal));
  box-shadow: 0 0 0 2px #E8F4FF;
}

.a95-fq-brand-word {
  font-family: var(--fq-display);
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.a95-fq-hops {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem;
}

.a95-fq-hops a {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  min-height: 36px;
  padding: 0 0.85rem;
  border-radius: var(--fq-pill);
  color: #E8F4FF;
  font-weight: 700;
  font-size: 0.9rem;
  text-decoration: none;
  border: 2px solid transparent;
  transition: background var(--fq-fast), color var(--fq-fast), border-color var(--fq-fast);
}

.a95-fq-hops a:hover,
.a95-fq-hops a[aria-current="page"] {
  background: var(--fq-teal);
  color: #fff;
  border-color: var(--fq-teal);
}

.a95-fq-hops em {
  font-style: normal;
  background: var(--fq-rose);
  color: #fff;
  border-radius: var(--fq-pill);
  padding: 0.05rem 0.4rem;
  font-size: 0.75rem;
}

/* Mast */
.a95-fq-mast {
  padding: var(--fq-5) 0 var(--fq-3);
  text-align: center;
}

.a95-fq-kicker {
  margin: 0 0 0.4rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--fq-rose-deep);
}

.a95-fq-mast h1 {
  margin: 0 0 0.5rem;
  font-family: var(--fq-display);
  font-size: clamp(1.85rem, 4.8vw, 2.75rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: var(--fq-ink);
}

.a95-fq-lede {
  margin: 0 auto;
  max-width: 36rem;
  color: var(--fq-mute);
  font-weight: 600;
  font-size: 1.05rem;
}

.a95-fq-stage { padding-bottom: var(--fq-6); }

/* —— Channel strip (full-width nav, not sidebar rail) —— */
.a95-fq-band {
  margin-bottom: var(--fq-4);
  padding: 1rem 0 1.15rem;
  background: var(--fq-console);
  border-block: 3px solid var(--fq-ink);
  box-shadow: var(--fq-shadow);
}

.a95-fq-band-inner {
  display: grid;
  gap: 0.75rem;
}

.a95-fq-band-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0 var(--fq-page);
}

.a95-fq-band-meta strong {
  font-family: var(--fq-display);
  font-size: 1rem;
  font-weight: 700;
  color: #E8F4FF;
}

.a95-fq-band-meta span {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #5EEAD4;
}

.a95-fq-channels {
  display: flex;
  gap: 0.45rem;
  overflow-x: auto;
  padding: 0.15rem var(--fq-page) 0.35rem;
  scroll-snap-type: x proximity;
  -webkit-overflow-scrolling: touch;
}

.a95-fq-channel {
  flex: 0 0 auto;
  scroll-snap-align: start;
  display: grid;
  gap: 0.35rem;
  justify-items: center;
  min-width: 5.6rem;
  padding: 0.55rem 0.7rem 0.65rem;
  border: 2px solid rgba(232, 244, 255, 0.22);
  border-radius: 14px;
  background: rgba(232, 244, 255, 0.06);
  color: #D7E6F5;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.88rem;
  transition: background var(--fq-fast), border-color var(--fq-fast), color var(--fq-fast), transform var(--fq-spring);
  animation: fq-tune 380ms var(--fq-ease) both;
}

.a95-fq-channel:nth-child(1) { animation-delay: 40ms; }
.a95-fq-channel:nth-child(2) { animation-delay: 70ms; }
.a95-fq-channel:nth-child(3) { animation-delay: 100ms; }
.a95-fq-channel:nth-child(4) { animation-delay: 130ms; }
.a95-fq-channel:nth-child(5) { animation-delay: 160ms; }
.a95-fq-channel:nth-child(6) { animation-delay: 190ms; }

@keyframes fq-tune {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

.a95-fq-channel-dot {
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: rgba(232, 244, 255, 0.35);
  box-shadow: 0 0 0 0 transparent;
  transition: background var(--fq-fast), box-shadow var(--fq-spring), transform var(--fq-spring);
}

.a95-fq-channel.is-live,
.a95-fq-channel[aria-current="page"] {
  background: var(--fq-rose);
  border-color: #fff;
  color: #fff;
  transform: translateY(-2px);
}

.a95-fq-channel.is-live .a95-fq-channel-dot,
.a95-fq-channel[aria-current="page"] .a95-fq-channel-dot {
  background: #fff;
  box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.28);
  transform: scale(1.15);
}

.a95-fq-channel:hover:not(.is-live):not([aria-current="page"]) {
  border-color: var(--fq-teal);
  color: #5EEAD4;
}

.a95-fq-channel:hover:not(.is-live):not([aria-current="page"]) .a95-fq-channel-dot {
  background: var(--fq-teal);
}

/* —— Transcript deck (single column, calm reading) —— */
.a95-fq-deck {
  background: var(--fq-plate);
  border: 3px solid var(--fq-ink);
  border-radius: 20px;
  box-shadow: var(--fq-shadow);
  overflow: hidden;
  animation: fq-settle 420ms var(--fq-ease) both;
}

@keyframes fq-settle {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}

.a95-fq-deck-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--fq-2);
  padding: 1.15rem 1.35rem;
  background: linear-gradient(180deg, #F4FBFF, var(--fq-plate));
  border-bottom: 2px solid var(--fq-border);
  position: relative;
}

.a95-fq-deck-head::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 6px;
  background: var(--fq-teal);
  transform: scaleY(0);
  transform-origin: top center;
  animation: fq-bar 480ms var(--fq-wipe) 120ms both;
}

@keyframes fq-bar {
  to { transform: scaleY(1); }
}

.a95-fq-deck-head h2 {
  margin: 0;
  font-family: var(--fq-display);
  font-size: clamp(1.35rem, 3vw, 1.7rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--fq-ink);
}

.a95-fq-revised {
  margin: 0;
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0.2rem 0.7rem;
  border-radius: var(--fq-pill);
  background: rgba(13, 148, 136, 0.12);
  border: 2px solid var(--fq-teal);
  color: var(--fq-teal-deep);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.a95-fq-body {
  padding: 1.35rem 1.35rem 1.75rem;
  color: var(--fq-ink);
}

.a95-fq-seg {
  margin: 0 0 1.35rem;
  padding-left: 0.85rem;
  border-left: 3px solid rgba(13, 148, 136, 0.28);
  animation: fq-seg 400ms var(--fq-ease) both;
}

.a95-fq-seg:nth-child(1) { animation-delay: 60ms; }
.a95-fq-seg:nth-child(2) { animation-delay: 100ms; }
.a95-fq-seg:nth-child(3) { animation-delay: 140ms; }
.a95-fq-seg:nth-child(4) { animation-delay: 180ms; }
.a95-fq-seg:nth-child(5) { animation-delay: 220ms; }
.a95-fq-seg:nth-child(6) { animation-delay: 260ms; }
.a95-fq-seg:last-child { margin-bottom: 0; }

@keyframes fq-seg {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

.a95-fq-seg h2 {
  margin: 0 0 0.45rem;
  font-family: var(--fq-display);
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: -0.015em;
  color: var(--fq-ink);
  position: relative;
}

.a95-fq-seg h2::after {
  content: "";
  display: block;
  width: 2.5rem;
  height: 3px;
  margin-top: 0.35rem;
  background: var(--fq-rose);
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 320ms var(--fq-wipe);
}

.a95-fq-seg.is-in h2::after {
  transform: scaleX(1);
}

.a95-fq-seg p,
.a95-fq-seg li {
  color: var(--fq-ink);
  font-weight: 500;
}

.a95-fq-seg p {
  margin: 0 0 0.65rem;
}

.a95-fq-seg p:last-child { margin-bottom: 0; }

.a95-fq-seg ul {
  margin: 0;
  padding-left: 1.15rem;
  display: grid;
  gap: 0.4rem;
}

.a95-fq-seg a {
  color: var(--fq-rose-deep);
  font-weight: 700;
  text-decoration-thickness: 2px;
  text-underline-offset: 2px;
}

.a95-fq-seg a:hover {
  color: var(--fq-teal-deep);
}

.a95-fq-seg strong {
  color: var(--fq-ink);
  font-weight: 700;
}

/* Footer tint */
body.frequency-desk .a95-colophon {
  background: var(--fq-console);
  color: #E8F4FF;
  border-top: 4px solid var(--fq-rose);
}

body.frequency-desk .a95-colophon-word,
body.frequency-desk .a95-colophon-blurb,
body.frequency-desk .a95-colophon-col a,
body.frequency-desk .a95-colophon-contact,
body.frequency-desk .a95-colophon-base {
  color: #E8F4FF;
}

body.frequency-desk .a95-colophon-col h4 { color: #5EEAD4; background: transparent; }
body.frequency-desk .a95-colophon-mark { background: var(--fq-rose); color: #fff; }
body.frequency-desk .a95-scroll-top { background: var(--fq-teal); color: #fff; border-color: var(--fq-ink); }

@media (max-width: 560px) {
  .a95-fq-hops { width: 100%; }
  .a95-fq-body { padding: 1.1rem 1rem 1.4rem; }
  .a95-fq-deck-head { padding: 1rem; }
}
