/* Aira Frequency Yard — shop (polished UI) */
:root {
  --fq-ink: #142f2b;
  --fq-deep: #1d4a44;
  --fq-teal: #2ea89c;
  --fq-lime: #c9f25a;
  --fq-coral: #e85a3c;
  --fq-amber: #e0a800;
  --fq-moss: #3f8f55;
  --fq-mint: #8fd6c4;
  --fq-paper: #eef5ee;
  --fq-line: rgba(20, 47, 43, 0.12);
  --fq-mute: rgba(20, 47, 43, 0.58);
  --fq-display: "Young Serif", Georgia, serif;
  --fq-sans: "Kumbh Sans", "Segoe UI", sans-serif;
  --fq-ease: cubic-bezier(0.2, 0.85, 0.25, 1);
  --fq-shadow: 0 20px 46px rgba(20, 47, 43, 0.12);
}

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

body.aira-freq {
  margin: 0;
  min-height: 100%;
  color: var(--fq-ink);
  font-family: var(--fq-sans);
  background: var(--fq-paper);
  -webkit-font-smoothing: antialiased;
}

body.aira-freq .aira-bare-main {
  min-height: 100vh;
  padding: 0 !important;
  max-width: none !important;
  width: 100%;
  display: block;
}

.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.fq-yard {
  position: relative;
  min-height: 100vh;
  overflow-x: clip;
  display: flex;
  flex-direction: column;
  padding-bottom: 1.5rem;
}

.fq-noise {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(75% 55% at 100% 0%, rgba(201, 242, 90, 0.18), transparent 55%),
    radial-gradient(65% 48% at 0% 100%, rgba(46, 168, 156, 0.14), transparent 50%),
    linear-gradient(165deg, #e8f1e7 0%, var(--fq-paper) 48%, #e3ece4 100%);
}

.fq-noise::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.fq-mast,
.fq-tuner,
.fq-toolbar,
.fq-deck,
.fq-empty,
.fq-channels,
.fq-foot {
  position: relative;
  z-index: 1;
}

.fq-mast {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 1rem 1.4rem;
  align-items: end;
  padding: 1.05rem clamp(1rem, 4vw, 2.75rem) 0.35rem;
}

.fq-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  color: var(--fq-ink);
}

.fq-seal {
  width: 2.35rem;
  height: 2.35rem;
  display: grid;
  place-items: center;
  background: var(--fq-ink);
  color: var(--fq-lime);
  font-weight: 800;
  border-radius: 0.55rem 0.55rem 1.05rem 0.55rem;
  transition: transform 0.28s var(--fq-ease), background 0.28s ease;
}

.fq-brand:hover .fq-seal {
  transform: rotate(-8deg) scale(1.05);
  background: var(--fq-deep);
}

.fq-brand-name {
  font-family: var(--fq-display);
  font-size: 1.15rem;
  letter-spacing: -0.02em;
}

.fq-brand-hero {
  margin: 0 0 0.2rem;
  font-family: var(--fq-display);
  font-size: clamp(2.2rem, 6.5vw, 3.6rem);
  font-weight: 400;
  letter-spacing: -0.04em;
  line-height: 0.92;
  color: var(--fq-ink);
}

.fq-kicker {
  margin: 0 0 0.2rem;
  font-size: 0.66rem;
  font-weight: 750;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--fq-teal);
}

.fq-mast-meta h1 {
  margin: 0;
  font-family: var(--fq-display);
  font-size: clamp(1.35rem, 3vw, 1.9rem);
  letter-spacing: -0.03em;
  line-height: 1.08;
}

.fq-count {
  margin: 0.35rem 0 0;
  font-size: 0.88rem;
  color: var(--fq-mute);
}

.fq-mast-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1rem;
  justify-self: end;
}

.fq-mast-links a {
  color: var(--fq-ink);
  text-decoration: none;
  font-weight: 700;
  font-size: 0.88rem;
  border-bottom: 2px solid transparent;
  padding-bottom: 0.08rem;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.fq-mast-links a:hover {
  color: var(--fq-coral);
  border-bottom-color: var(--fq-coral);
}

/* Equalizer filter */
.fq-tuner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1rem;
  align-items: end;
  padding: 1.1rem clamp(1rem, 4vw, 2.75rem) 0.4rem;
}

.fq-eq {
  display: flex;
  align-items: end;
  gap: 0.4rem;
  min-height: 9.2rem;
  padding: 0.7rem 0.8rem 0.6rem;
  background: rgba(255, 255, 255, 0.58);
  border: 1px solid var(--fq-line);
  border-radius: 1.05rem;
  overflow-x: auto;
  scrollbar-width: thin;
  -webkit-overflow-scrolling: touch;
}

.fq-bar {
  position: relative;
  flex: 1 0 3rem;
  min-width: 3rem;
  height: 7.3rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
  text-decoration: none;
  color: var(--fq-ink);
  isolation: isolate;
}

.fq-bar-fill {
  width: 56%;
  height: var(--fq-h, 40%);
  border-radius: 0.55rem 0.55rem 0.3rem 0.3rem;
  background: linear-gradient(180deg, var(--fq-lime), var(--fq-teal));
  transform-origin: bottom;
  transition: height 0.4s var(--fq-ease), transform 0.3s var(--fq-ease), filter 0.28s ease, box-shadow 0.28s ease;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.22);
}

.fq-bar-label {
  margin-top: 0.35rem;
  font-size: 0.64rem;
  font-weight: 750;
  letter-spacing: 0.02em;
  line-height: 1.15;
  text-align: center;
  white-space: nowrap;
}

.fq-bar-n {
  font-size: 0.6rem;
  color: var(--fq-mute);
  font-weight: 650;
}

.fq-bar:hover .fq-bar-fill,
.fq-bar.is-hot .fq-bar-fill {
  transform: scaleY(1.08);
  filter: brightness(1.05);
  box-shadow: 0 8px 18px rgba(46, 168, 156, 0.25);
}

.fq-bar.is-live .fq-bar-fill {
  background: linear-gradient(180deg, var(--fq-coral), #ff8a45);
  box-shadow: 0 0 0 3px rgba(232, 90, 60, 0.16), 0 10px 20px rgba(232, 90, 60, 0.18);
  animation: fq-throb 1.8s ease-in-out infinite;
}

.fq-bar-teal .fq-bar-fill { background: linear-gradient(180deg, #7ee0d5, var(--fq-teal)); }
.fq-bar-coral .fq-bar-fill { background: linear-gradient(180deg, #ffb199, var(--fq-coral)); }
.fq-bar-amber .fq-bar-fill { background: linear-gradient(180deg, #ffe08a, var(--fq-amber)); }
.fq-bar-moss .fq-bar-fill { background: linear-gradient(180deg, #9fd6ad, var(--fq-moss)); }
.fq-bar-ink .fq-bar-fill { background: linear-gradient(180deg, #5f8a82, var(--fq-ink)); }
.fq-bar-mint .fq-bar-fill { background: linear-gradient(180deg, #c8f0e6, var(--fq-mint)); }

.fq-seek {
  display: flex;
  width: min(100%, 18rem);
  background: #fff;
  border: 1px solid var(--fq-line);
  border-radius: 0.75rem;
  overflow: hidden;
  box-shadow: 0 10px 26px rgba(20, 47, 43, 0.06);
}

.fq-seek input {
  flex: 1;
  min-width: 0;
  border: 0;
  padding: 0.85rem 1rem;
  font: inherit;
  font-size: 16px;
  outline: none;
  background: transparent;
  color: var(--fq-ink);
}

@media (min-width: 480px) {
  .fq-seek input {
    font-size: inherit;
  }
}

.fq-seek button {
  border: 0;
  background: var(--fq-ink);
  color: var(--fq-lime);
  font: inherit;
  font-weight: 750;
  padding: 0 1.1rem;
  cursor: pointer;
  transition: background 0.22s ease;
}

.fq-seek button:hover {
  background: var(--fq-deep);
}

.fq-toolbar {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.8rem;
  padding: 0.95rem clamp(1rem, 4vw, 2.75rem);
}

.fq-sort,
.fq-density {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem;
}

.fq-tool-label {
  font-size: 0.66rem;
  font-weight: 750;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--fq-mute);
  margin-right: 0.2rem;
}

.fq-pill {
  appearance: none;
  border: 1px solid var(--fq-line);
  background: rgba(255, 255, 255, 0.72);
  color: var(--fq-ink);
  font: inherit;
  font-size: 0.8rem;
  font-weight: 700;
  padding: 0.45rem 0.75rem;
  border-radius: 0.5rem;
  cursor: pointer;
  transition: background 0.22s ease, border-color 0.22s ease, transform 0.22s var(--fq-ease), color 0.22s ease;
}

.fq-pill:hover {
  transform: translateY(-1px);
  border-color: rgba(46, 168, 156, 0.4);
}

.fq-pill.is-on {
  background: var(--fq-ink);
  color: var(--fq-lime);
  border-color: transparent;
}

/* Broadcast / stack deck */
.fq-deck {
  display: grid;
  gap: 0.8rem;
  padding: 0 clamp(1rem, 4vw, 2.75rem) 1.35rem;
  flex: 1;
}

.fq-deck.is-broadcast {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.fq-deck.is-stack {
  grid-template-columns: 1fr;
  max-width: 52rem;
}

.fq-signal {
  display: grid;
  grid-template-columns: minmax(7.5rem, 36%) minmax(0, 1fr);
  min-height: 10.25rem;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid var(--fq-line);
  overflow: hidden;
  clip-path: polygon(0 0, calc(100% - 0.95rem) 0, 100% 0.95rem, 100% 100%, 0.95rem 100%, 0 calc(100% - 0.95rem));
  opacity: 0;
  transform: translateY(16px);
  animation: fq-rise 0.5s var(--fq-ease) forwards;
  animation-delay: calc(0.03s + var(--fq-i, 0) * 0.035s);
  transition: transform 0.3s var(--fq-ease), box-shadow 0.3s ease, border-color 0.25s ease;
}

.fq-deck.is-stack .fq-signal {
  grid-template-columns: minmax(9rem, 26%) minmax(0, 1fr);
  min-height: 8.25rem;
}

.fq-signal:hover {
  transform: translateY(-3px);
  box-shadow: var(--fq-shadow);
  border-color: rgba(46, 168, 156, 0.4);
}

.fq-signal-media {
  position: relative;
  display: block;
  background: #d7e6d9;
  overflow: hidden;
}

.fq-signal-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--fq-ease), filter 0.35s ease;
}

.fq-signal:hover .fq-signal-media img {
  transform: scale(1.06);
  filter: saturate(1.06);
}

.fq-badge {
  position: absolute;
  left: 0.6rem;
  top: 0.6rem;
  padding: 0.28rem 0.5rem;
  background: var(--fq-coral);
  color: #fff;
  font-size: 0.64rem;
  font-weight: 750;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: 0.35rem;
}

.fq-signal-meta {
  display: grid;
  align-content: space-between;
  gap: 0.5rem;
  padding: 0.95rem 1.05rem 0.95rem;
  min-width: 0;
}

.fq-aisle {
  font-size: 0.66rem;
  font-weight: 750;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--fq-teal);
}

.fq-signal-meta h2 {
  margin: 0;
  font-family: var(--fq-display);
  font-size: clamp(1.02rem, 2vw, 1.3rem);
  letter-spacing: -0.02em;
  line-height: 1.18;
  overflow-wrap: anywhere;
}

.fq-signal-meta h2 a {
  color: inherit;
  text-decoration: none;
}

.fq-signal-meta h2 a:hover {
  color: var(--fq-coral);
}

.fq-signal-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.7rem;
}

.fq-price {
  font-weight: 800;
  font-size: 1.02rem;
}

.fq-open {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.15rem;
  padding: 0.35rem 0.8rem;
  border-radius: 0.5rem;
  background: var(--fq-ink);
  color: var(--fq-lime);
  text-decoration: none;
  font-size: 0.78rem;
  font-weight: 750;
  transition: transform 0.22s var(--fq-ease), background 0.22s ease;
}

.fq-open:hover {
  transform: translateY(-1px);
  background: var(--fq-deep);
}

.fq-empty {
  margin: 1rem clamp(1rem, 4vw, 2.75rem) 2rem;
  padding: 2.25rem 1.35rem;
  text-align: center;
  background: rgba(255, 255, 255, 0.68);
  border: 1px dashed rgba(20, 47, 43, 0.22);
  border-radius: 1.15rem;
}

.fq-empty h2 {
  margin: 0 0 0.4rem;
  font-family: var(--fq-display);
  font-size: 1.7rem;
}

.fq-empty p {
  margin: 0 0 1rem;
  color: var(--fq-mute);
}

.fq-go {
  display: inline-flex;
  align-items: center;
  min-height: 2.65rem;
  padding: 0.6rem 1.1rem;
  border-radius: 0.65rem;
  background: var(--fq-lime);
  color: var(--fq-ink);
  text-decoration: none;
  font-weight: 800;
  transition: transform 0.22s var(--fq-ease), background 0.22s ease;
}

.fq-go:hover {
  transform: translateY(-1px);
  background: #d8ff62;
}

.fq-channels {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.6rem 0.9rem;
  padding: 0.4rem clamp(1rem, 4vw, 2.75rem) 1.35rem;
}

.fq-ch,
.fq-ch-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.3rem;
  min-width: 2.3rem;
  padding: 0 0.8rem;
  border-radius: 0.5rem;
  text-decoration: none;
  color: var(--fq-ink);
  font-weight: 750;
  font-size: 0.86rem;
  border: 1px solid var(--fq-line);
  background: rgba(255, 255, 255, 0.72);
  transition: background 0.22s ease, transform 0.22s var(--fq-ease), color 0.22s ease, border-color 0.22s ease;
}

.fq-ch:hover,
.fq-ch-num:hover {
  transform: translateY(-1px);
  background: var(--fq-lime);
  border-color: transparent;
}

.fq-ch.is-off {
  opacity: 0.4;
  pointer-events: none;
}

.fq-ch-nums {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem;
}

.fq-ch-num.is-live {
  background: var(--fq-ink);
  color: var(--fq-lime);
  border-color: transparent;
}

.fq-ch-ellipsis {
  display: inline-grid;
  place-items: center;
  min-width: 1.5rem;
  color: var(--fq-mute);
}

.fq-foot {
  margin-top: auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem 1.2rem;
  padding: 1.2rem clamp(1rem, 4vw, 2.75rem) 0.35rem;
  border-top: 1px solid var(--fq-line);
  margin-inline: clamp(1rem, 4vw, 2.75rem);
  font-size: 0.82rem;
  color: var(--fq-mute);
}

.fq-foot p {
  margin: 0;
}

.fq-foot nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1rem;
}

.fq-foot a {
  color: var(--fq-ink);
  font-weight: 700;
  text-decoration: none;
}

.fq-foot a:hover {
  color: var(--fq-coral);
}

@keyframes fq-rise {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fq-throb {
  0%,
  100% {
    filter: brightness(1);
  }
  50% {
    filter: brightness(1.08);
  }
}

@media (max-width: 900px) {
  .fq-mast {
    grid-template-columns: 1fr;
    justify-items: start;
    gap: 0.7rem;
  }

  .fq-mast-links {
    justify-self: start;
  }

  .fq-brand-hero {
    font-size: clamp(2rem, 9vw, 2.8rem);
  }

  .fq-tuner {
    grid-template-columns: 1fr;
  }

  .fq-seek {
    width: 100%;
  }

  .fq-deck.is-broadcast {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .fq-signal {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .fq-signal-media {
    aspect-ratio: 16 / 10;
  }

  .fq-bar {
    flex-basis: 2.55rem;
    min-width: 2.55rem;
  }

  .fq-bar-label {
    font-size: 0.58rem;
  }
}

@media (min-width: 1100px) {
  .fq-deck.is-broadcast {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .fq-deck.is-broadcast .fq-signal {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .fq-deck.is-broadcast .fq-signal-media {
    aspect-ratio: 4 / 3;
  }
}

@media (prefers-reduced-motion: reduce) {
  .fq-signal,
  .fq-bar.is-live .fq-bar-fill {
    animation: none !important;
  }

  .fq-signal {
    opacity: 1;
    transform: none;
  }
}
