/*
Theme Name:  CalmTweets
Description: Immersive music-listening theme for CalmTweets.com
Version:     4.2.2
Author:      CalmTweets
Text Domain: calmtweets
*/

/* ═══════════════════════════════════════════════════════════════
   DESIGN SYSTEM
   Philosophy: premium ambient music app — dark, cinematic, warm.
   Accent is teal (#77c9d3). Every interaction rewards the user.
   ═══════════════════════════════════════════════════════════════ */
:root {
  /* Core palette — richer, more nuanced */
  --ct-bg:          #06090d;
  --ct-surface:     #0d1117;
  --ct-card:        #111720;
  --ct-card-hover:  #171f2b;
  --ct-accent:      #77c9d3;
  --ct-accent-2:    #9adde6;
  --ct-accent-dim:  rgba(119,201,211,0.14);
  --ct-accent-glow: rgba(119,201,211,0.22);
  --ct-gold:        #c9a84c;
  --ct-text:        #edf3f8;
  --ct-text-2:      #a8b8c4;
  --ct-muted:       #5c6b78;
  --ct-border:      rgba(255,255,255,0.06);
  --ct-border-2:    rgba(255,255,255,0.11);
  --ct-glass:       rgba(13,17,23,0.72);

  /* Typography */
  --ct-font:   'Cormorant Garamond', Georgia, serif;
  --ct-sans:   'DM Sans', system-ui, sans-serif;

  /* Geometry */
  --ct-radius:    16px;
  --ct-radius-sm: 10px;
  --ct-nav-size:  50px;

  /* Motion — smoother, more deliberate */
  --ct-ease:       cubic-bezier(0.16, 1, 0.3, 1);
  --ct-ease-out:   cubic-bezier(0.0, 0.0, 0.2, 1);
  --ct-trans:      0.32s var(--ct-ease);
  --ct-trans-fast: 0.18s var(--ct-ease);
}

/* ── Reset ──────────────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden; /* prevent any child from blowing out width */
  max-width: 100%;
}
body {
  background: var(--ct-bg);
  color: var(--ct-text);
  font-family: var(--ct-sans);
  font-size: 16px;
  line-height: 1.65;
  min-height: 100vh;
  overflow-x: hidden;
  max-width: 100%;
  width: 100%;
}
a { color: var(--ct-accent); text-decoration: none; transition: color var(--ct-trans); }
a:hover { color: #9adde6; }
img { max-width: 100%; display: block; }
button { cursor: pointer; }

/* ── HEADER ─────────────────────────────────────────────────────────────────── */
#ct-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  height: 70px;
  padding: 0 5vw;
  display: flex;
  align-items: center;
  background: linear-gradient(180deg, rgba(6,9,13,0.96) 0%, rgba(6,9,13,0.0) 100%);
  backdrop-filter: blur(20px) saturate(1.6);
  -webkit-backdrop-filter: blur(20px) saturate(1.6);
  border-bottom: 0.1px solid rgb(128 128 128 / 45%);
  transition: background 0.4s var(--ct-ease), border-color 0.4s;
}
#ct-header.scrolled {
  background: rgba(6,9,13,0.98);
  border-color: var(--ct-border);
  box-shadow: 0 1px 40px rgba(0,0,0,0.5);
}

/* Logo */
.ct-logo {
  font-family: var(--ct-font);
  font-size: 1.55rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--ct-text) !important;
  display: flex;
  align-items: center;
  flex-shrink: 0;
  transition: opacity var(--ct-trans);
}
.ct-logo:hover { opacity: 0.75; color: var(--ct-text) !important; }
.ct-logo span { color: var(--ct-accent); }
.ct-logo--img { font-size: 0; flex-shrink: 0; }
.ct-logo--img img,
.ct-logo--img .custom-logo-link img {
  height: 40px !important;
  width: 146px !important;
  max-height: 40px !important;
  max-width: 146px !important;
  object-fit: contain !important;
  display: block !important;
}
.ct-logo--img .custom-logo-link,
.custom-logo-link { display: inline-flex !important; align-items: center; }

/* Nav — pushed right */
#ct-nav { margin-left: auto; }
#ct-nav ul { list-style: none; display: flex; gap: 2.2rem; align-items: center; }
#ct-nav ul li a {
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ct-muted);
  position: relative;
  padding-bottom: 4px;
  transition: color var(--ct-trans);
}
#ct-nav ul li a::after {
  content: '';
  position: absolute;
  bottom: 0; left: 50%; right: 50%;
  height: 1px;
  background: var(--ct-accent);
  border-radius: 1px;
  transition: left 0.4s var(--ct-ease), right 0.4s var(--ct-ease);
  opacity: 0.8;
}
#ct-nav ul li a:hover,
#ct-nav ul li.current-menu-item a { color: var(--ct-text); }
#ct-nav ul li a:hover::after,
#ct-nav ul li.current-menu-item a::after { left: 0; right: 0; }

/* Mobile hamburger */
.ct-menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 6px;
  margin-left: auto;
}
.ct-menu-toggle span {
  display: block; width: 22px; height: 1.5px;
  background: var(--ct-text-2); border-radius: 2px;
  transition: var(--ct-trans);
}

/* ── HERO ───────────────────────────────────────────────────────────────────── */
#ct-hero {
  position: relative;
  min-height: 72vh;
  max-height: 800px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  overflow: hidden;
}

/* Background: lightly blurred, colour-rich atmosphere */
.ct-hero-bg {
  position: absolute; inset: -40px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  filter: blur(28px) saturate(0.9) brightness(0.42);
  opacity: 0;
  transform: scale(1.08);
  transition: opacity 2.2s cubic-bezier(0.16,1,0.3,1), transform 2.2s cubic-bezier(0.16,1,0.3,1);
  will-change: transform, opacity;
}
.ct-hero-bg.loaded {
  opacity: 1;
  transform: scale(1.04);
  animation: ct-breathe 22s ease-in-out 2.2s infinite;
}

/* Overlay — lighter, lets bg colour breathe */
.ct-hero-overlay {
  position: absolute; inset: 0;
  background: none;
}
.ct-hero-overlay::after {
  content: '';
  position: absolute; inset: 0;
  box-shadow: inset 0 0 60px rgba(8,12,16,0.3);
  pointer-events: none;
}

/* Hero content: horizontal — left-anchored, full width */
.ct-hero-content {
  position: relative;
  z-index: 10;
  padding: 6rem 5vw 3.5rem;
  width: 100%;
  max-width: 1100px;
  margin: 0;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  gap: 3.5rem;
}

/* Album art thumbnail — prominent square */
.ct-hero-thumb {
  flex-shrink: 0;
  width: 220px; height: 220px;
  border-radius: 20px;
  background: var(--ct-card) center/cover no-repeat;
  border: 1px solid rgba(255,255,255,0.1);
  box-shadow:
    0 40px 100px rgba(0,0,0,0.8),
    0 0 0 1px rgba(119,201,211,0.12),
    0 0 80px rgba(119,201,211,0.05),
    inset 0 1px 0 rgba(255,255,255,0.08);
  opacity: 0;
  animation: ct-rise 1s var(--ct-ease) 0.15s both;
  position: relative;
  overflow: hidden;
  transition: box-shadow 0.6s var(--ct-ease);
}
.ct-hero-thumb:hover {
  box-shadow:
    0 48px 120px rgba(0,0,0,0.85),
    0 0 0 1px rgba(119,201,211,0.22),
    0 0 100px rgba(119,201,211,0.1);
}
.ct-hero-thumb::after {
  content: '';
  position: absolute; inset: 0;
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(255,255,255,0.05) 0%, transparent 60%);
  pointer-events: none;
}

/* Right: text + controls */
.ct-hero-info {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
}

/* Category pill */
.ct-category-badge {
  display: inline-block;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ct-accent);
  border: 1px solid rgba(119,201,211,0.28);
  border-radius: 2rem;
  padding: 0.28rem 0.9rem;
  margin-bottom: 1rem;
  background: rgba(119,201,211,0.05);
  backdrop-filter: blur(8px);
  align-self: flex-start;
  opacity: 0;
  animation: ct-rise 0.7s var(--ct-ease) 0.28s both;
}

/* Track title */
.ct-track-title {
  font-family: var(--ct-font);
  font-size: clamp(2rem, 3.8vw, 3.8rem);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.025em;
  color: #fff;
  margin-bottom: 0.4rem;
  text-shadow: 0 4px 32px rgba(0,0,0,0.5), 0 1px 0 rgba(255,255,255,0.05);
  opacity: 0;
  animation: ct-rise 0.9s var(--ct-ease) 0.38s both;
}
/* ── Hero title row — title + heart inline ──────────────────────────────────── */
.ct-hero-title-row {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 0.5rem;
}
.ct-hero-title-row .ct-track-title {
  margin-bottom: 0;
  flex: 1;
  min-width: 0;
}

/* Hero heart — same size/style as .ct-nav-btn, sits before the title */
.ct-hero-heart {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px; height: 40px;
  border-radius: 50%;
  border: 1.5px solid rgba(255,255,255,0.28);
  background: rgba(255,255,255,0.08);
  backdrop-filter: blur(10px);
  cursor: pointer;
  transition: background var(--ct-trans), border-color var(--ct-trans),
              transform var(--ct-trans), box-shadow var(--ct-trans);
  box-shadow: 0 2px 12px rgba(0,0,0,0.3), inset 0 1px 0 rgba(255,255,255,0.1);
}
.ct-hero-heart svg {
  width: 17px; height: 17px;
  fill: rgba(255,255,255,0.65);
  transition: fill 0.3s, transform 0.3s var(--ct-ease);
}
.ct-hero-heart:hover {
  background: rgba(224,82,82,0.18);
  border-color: #e05252;
  transform: scale(1.1);
  box-shadow: 0 4px 20px rgba(224,82,82,0.25);
}
.ct-hero-heart:hover svg { fill: #e05252; transform: scale(1.15); }
.ct-hero-heart.saved {
  background: rgba(224,82,82,0.2);
  border-color: #e05252;
  box-shadow: 0 4px 20px rgba(224,82,82,0.3);
}
.ct-hero-heart.saved svg { fill: #e05252; }
.ct-hero-heart.saved-pulse { animation: ct-heart-pulse 0.35s var(--ct-ease); }
@keyframes ct-heart-pulse {
  0%   { transform: scale(1); }
  50%  { transform: scale(1.22); }
  100% { transform: scale(1); }
}



/* Credit line */
.ct-hero-credit {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.38);
  letter-spacing: 0.04em;
  margin-bottom: 0.6rem;
  opacity: 0;
  animation: ct-rise 0.7s var(--ct-ease) 0.52s both;
}

/* Listener count */
.ct-listeners {
  font-size: 0.77rem;
  color: rgba(255,255,255,0.35);
  letter-spacing: 0.06em;
  margin-bottom: 1.6rem;
  opacity: 0;
  animation: ct-rise 0.65s var(--ct-ease) 0.58s both;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}
.ct-listeners::before {
  content: '';
  display: inline-block;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--ct-accent);
  box-shadow: 0 0 6px var(--ct-accent);
  animation: ct-pulse 2s ease infinite;
  flex-shrink: 0;
}
.ct-listeners strong { color: rgba(255,255,255,0.55); font-weight: 400; }

/* Rotating message — opacity-only fade, height NEVER changes */
.ct-message {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.45);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-style: italic;
  height: 1.4em;
  line-height: 1.4em;
  margin-bottom: 0.8rem;
  margin-top: -0.8rem;
  overflow: hidden;
  display: block;
  opacity: 0;
  /* Never set display:none — opacity transition only */
  transition: opacity 1.6s ease;
}

/* Player wrapper — horizontal: play button left, controls right */
#ct-player {
  opacity: 0;
  animation: ct-rise 0.75s var(--ct-ease) 0.75s both;
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

/* Play button — left side */
.ct-play-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 68px; height: 68px;
  border-radius: 50%;
  border: 1.5px solid rgba(119,201,211,0.45);
  background: rgba(119,201,211,0.08);
  backdrop-filter: blur(12px);
  position: relative;
  flex-shrink: 0;
  transition: background var(--ct-trans), transform var(--ct-trans),
              border-color var(--ct-trans), box-shadow var(--ct-trans);
  box-shadow: 0 4px 24px rgba(0,0,0,0.4), inset 0 1px 0 rgba(255,255,255,0.08);
}
.ct-play-btn:hover {
  background: rgba(119,201,211,0.18);
  border-color: var(--ct-accent);
  transform: scale(1.07);
  box-shadow: 0 8px 40px rgba(119,201,211,0.28), 0 0 0 4px rgba(119,201,211,0.08);
}
.ct-play-btn svg { width: 26px; height: 26px; fill: var(--ct-accent); transition: opacity 0.2s; }
.ct-play-btn .icon-pause { display: none; }
.ct-play-btn.playing .icon-play  { display: none; }
.ct-play-btn.playing .icon-pause { display: block; }
.ct-play-btn.playing::before,
.ct-play-btn.playing::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(119,201,211,0.3);
}
.ct-play-btn.playing::before { inset: -10px; animation: ct-pulse 2.4s ease-out infinite; }
.ct-play-btn.playing::after  { inset: -20px; border-color: rgba(119,201,211,0.12); animation: ct-pulse 2.4s ease-out 0.7s infinite; }
.ct-play-btn.loading svg { opacity: 0; }
.ct-play-btn.loading::before {
  content: '';
  position: absolute; inset: auto;
  width: 28px; height: 28px;
  border: 2px solid rgba(119,201,211,0.2);
  border-top-color: var(--ct-accent);
  border-radius: 50%;
  animation: ct-spin 0.8s linear infinite;
}

/* Right side — nav buttons stacked above volume */
.ct-player-controls {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  justify-content: center;
}

/* Nav row — prev / shuffle / next */
.ct-player-nav {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-top: 0;
}

/* Prev / Next */
.ct-nav-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.18);
  background: rgba(255,255,255,0.07);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: rgba(255,255,255,0.8);
  text-decoration: none;
  transition: background var(--ct-trans), border-color var(--ct-trans),
              transform var(--ct-trans), box-shadow var(--ct-trans), color var(--ct-trans);
  box-shadow: 0 2px 16px rgba(0,0,0,0.35), inset 0 1px 0 rgba(255,255,255,0.08);
}
.ct-nav-btn:hover {
  background: rgba(119,201,211,0.15);
  border-color: rgba(119,201,211,0.5);
  color: var(--ct-accent);
  transform: scale(1.08);
  box-shadow: 0 6px 24px rgba(119,201,211,0.2), inset 0 1px 0 rgba(255,255,255,0.1);
}
.ct-nav-btn svg { width: 17px; height: 17px; fill: currentColor; }

/* Shuffle — same size as nav btns for visual consistency */
.ct-shuffle-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px; height: 32px;
  border-radius: 50%;
  border: 1.5px solid rgba(255,255,255,0.18);
  background: rgba(255,255,255,0.05);
  backdrop-filter: blur(8px);
  color: rgba(255,255,255,0.45);
  transition: var(--ct-trans);
}
.ct-shuffle-btn:hover  { color: var(--ct-accent); border-color: var(--ct-accent); background: var(--ct-accent-dim); }
.ct-shuffle-btn.active { color: var(--ct-accent); border-color: var(--ct-accent); background: rgba(119,201,211,0.14); }
.ct-shuffle-btn svg { width: 13px; height: 13px; fill: currentColor; }

/* Volume — sits below nav row, aligned left */
.ct-volume-wrap {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin-top: 0;
}
.ct-volume-wrap svg { width: 13px; height: 13px; fill: rgba(255,255,255,0.3); flex-shrink: 0; }
.ct-volume-slider {
  -webkit-appearance: none; appearance: none;
  width: 100px; height: 3px;
  background: rgba(255,255,255,0.12);
  border-radius: 2px; outline: none;
}
.ct-volume-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 12px; height: 12px;
  border-radius: 50%;
  background: var(--ct-accent);
  cursor: pointer;
  transition: transform 0.2s;
  box-shadow: 0 0 6px rgba(119,201,211,0.5);
}
.ct-volume-slider::-webkit-slider-thumb:hover { transform: scale(1.3); }

/* Credit now inline in hero-info — hide old absolute version */
.ct-track-credit { display: none; }

/* Scroll hint */
.ct-scroll-hint {
  position: absolute;
  bottom: 2.2rem; left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  opacity: 0;
  animation: ct-rise 0.65s 1.3s forwards;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.ct-scroll-hint span {
  display: block;
  width: 1.5px; height: 24px;
  background: linear-gradient(to bottom, rgba(255,255,255,0), rgba(255,255,255,0.3));
  border-radius: 2px;
  animation: ct-scrollline 2s ease-in-out infinite;
}

#ct-audio { display: none; }

/* Mobile hero */
@media (max-width: 640px) {
  #ct-hero { min-height: 90vh; max-height: none; justify-content: center; }
  .ct-hero-content {
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    padding: 6rem 1.5rem 3rem;
    gap: 1.6rem;
  }
  .ct-hero-thumb { width: 160px; height: 160px; }
  .ct-track-title { font-size: clamp(1.8rem, 7vw, 2.6rem); }
  /* Player stays horizontal on mobile — play btn + controls side by side */
  #ct-player { gap: 1.2rem; }
  .ct-play-btn { width: 56px; height: 56px; }
  .ct-play-btn svg { width: 22px; height: 22px; }
  .ct-nav-btn { width: 36px; height: 36px; }
  .ct-nav-btn svg { width: 15px; height: 15px; }
  .ct-volume-slider { width: 80px; }
}


/* ── ARCHIVE BLURRED BACKGROUND ─────────────────────────────────────────────── */
.ct-archive-bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
}
/* Four image shards fill the background, each slightly offset */
.ct-archive-bg__shard {
  position: absolute;
  background-size: cover;
  background-position: center;
  filter: blur(60px) saturate(0.55) brightness(0.22);
  /* Each shard covers a quadrant and overlaps for smooth blending */
  width: 70%; height: 70%;
}
.ct-archive-bg__shard--1 { top: -10%; left: -10%; }
.ct-archive-bg__shard--2 { top: -10%; right: -10%; }
.ct-archive-bg__shard--3 { bottom: -10%; left: -10%; }
.ct-archive-bg__shard--4 { bottom: -10%; right: -10%; }

/* Dark overlay on top to keep it subtle and close to site bg color */
.ct-archive-bg__overlay {
  position: absolute;
  inset: 0;
  background: rgba(8,12,16,0.82);
}

/* ── ARCHIVE HEADER ─────────────────────────────────────────────────────────── */
.ct-archive-header {
  padding: 9rem 2rem 2.5rem;
  text-align: center;
  position: relative;
}
/* Soft teal radial glow behind title */
.ct-archive-header::before {
  content: '';
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: 600px; height: 300px;
  background: radial-gradient(ellipse at 50% 0%, rgba(119,201,211,0.09), transparent 70%);
  pointer-events: none;
}
.ct-archive-title {
  font-family: var(--ct-font);
  font-size: clamp(2.6rem, 6vw, 5rem);
  font-weight: 600;
  color: var(--ct-text);
  margin-bottom: 0.6rem;
  letter-spacing: -0.025em;
  opacity: 0;
  animation: ct-rise 0.7s 0.1s forwards;
}
.ct-archive-desc {
  color: var(--ct-muted);
  font-size: 0.95rem;
  max-width: 480px;
  margin: 0 auto;
  opacity: 0;
  animation: ct-rise 0.6s 0.22s forwards;
}
.ct-archive-line {
  width: 0; height: 2px;
  background: var(--ct-accent);
  margin: 1.2rem auto 2.5rem;
  border-radius: 1px;
  opacity: 0;
  animation: ct-widen 0.55s 0.38s forwards;
}

/* ── TRACK GRID ─────────────────────────────────────────────────────────────── */
.ct-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(270px, 100%), 1fr));
  gap: 1.1rem;
  padding: 0 max(1rem, 2vw) 5rem;
  max-width: 1240px;
  margin: 0 auto;
}

/* Card — hidden from the start, JS reveals with ct-visible */
.ct-card {
  position: relative;
  border-radius: var(--ct-radius);
  overflow: hidden;
  aspect-ratio: 4/3;
  background: var(--ct-card);
  display: block;
  text-decoration: none;
  border: 1px solid var(--ct-border);
  opacity: 0;
  transform: translateY(24px) scale(0.98);
  transition: none;
}
.ct-card.ct-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
  transition: opacity 0.7s var(--ct-ease), transform 0.7s var(--ct-ease),
              box-shadow 0.5s var(--ct-ease), border-color 0.5s;
}
.ct-card.ct-visible:hover {
  transform: translateY(-8px) scale(1.018);
  box-shadow: 0 32px 64px rgba(0,0,0,0.6), 0 0 0 1px rgba(119,201,211,0.2),
              0 0 40px rgba(119,201,211,0.04);
  border-color: rgba(119,201,211,0.22);
  transition: transform 0.65s var(--ct-ease), box-shadow 0.65s var(--ct-ease), border-color 0.65s;
}

/* Album art */
.ct-card-img {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 0.8s var(--ct-ease);
}
.ct-card:hover .ct-card-img { transform: scale(1.08); }

/* Dark gradient from bottom */
.ct-card-overlay {
  position: absolute; inset: 0;
  background:
    linear-gradient(to top, rgba(6,9,13,0.97) 0%, rgba(6,9,13,0.5) 40%, rgba(6,9,13,0.05) 100%),
    linear-gradient(135deg, rgba(119,201,211,0.02) 0%, transparent 60%);
  transition: background 0.65s var(--ct-ease);
}
.ct-card:hover .ct-card-overlay {
  background:
    linear-gradient(to top, rgba(6,9,13,0.88) 0%, rgba(6,9,13,0.52) 50%, rgba(6,9,13,0.1) 100%),
    linear-gradient(135deg, rgba(119,201,211,0.04) 0%, transparent 60%);
}

/* Title at bottom */
.ct-card-body {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 1.1rem 1.25rem 1.2rem;
  transform: translateY(3px);
  transition: transform 0.6s var(--ct-ease);
}
.ct-card:hover .ct-card-body { transform: translateY(0); }
.ct-card-title {
  font-family: var(--ct-font);
  font-size: 1.3rem;
  font-weight: 500;
  color: #fff;
  line-height: 1.18;
  letter-spacing: -0.01em;
  text-shadow: 0 2px 12px rgba(0,0,0,0.5);
}

/* Play circle appears on hover */
.ct-card-play {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%) scale(0.6);
  opacity: 0;
  width: 54px; height: 54px;
  background: var(--ct-accent);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  transition: opacity 0.45s var(--ct-ease), transform 0.55s var(--ct-ease);
  box-shadow: 0 8px 32px rgba(119,201,211,0.45), 0 0 0 6px rgba(119,201,211,0.12);
}
.ct-card:hover .ct-card-play { opacity: 1; transform: translate(-50%, -50%) scale(1); }
.ct-card-play svg { width: 20px; height: 20px; fill: #080c10; margin-left: 3px; }

/* Teal accent bar slides in on hover */
.ct-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 100%;
  height: 2px;
  background: linear-gradient(to right, var(--ct-accent), #9adde6);
  transition: right 0.7s var(--ct-ease);
}
.ct-card:hover::after { right: 0; }

/* ── HOMEPAGE CATEGORY CARDS ────────────────────────────────────────────────── */
.ct-categories-section {
  padding: 5rem 2rem 6rem;
  max-width: 1240px;
  margin: 0 auto;
}

.ct-section-title {
  font-family: var(--ct-font);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 600;
  color: var(--ct-text);
  margin-bottom: 0.5rem;
  text-align: center;
  letter-spacing: -0.01em;
}
.ct-section-line {
  width: 40px; height: 1.5px;
  background: linear-gradient(to right, var(--ct-accent), var(--ct-accent-2));
  border-radius: 1px;
  margin: 0 auto 2.8rem;
  opacity: 0.8;
}

.ct-cat-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.1rem;
}
@media (min-width: 640px) { .ct-cat-grid { grid-template-columns: repeat(4, 1fr); gap: 1rem; } }

.ct-cat-card {
  position: relative;
  border-radius: var(--ct-radius);
  overflow: hidden;
  aspect-ratio: 3/4;
  display: flex;
  align-items: flex-end;
  padding: 1.75rem 1.5rem;
  background: var(--ct-card);
  text-decoration: none;
  border: 1px solid var(--ct-border);
  opacity: 0;
  animation: ct-rise 0.65s var(--ct-ease) forwards;
  transition: transform 0.65s var(--ct-ease), box-shadow 0.65s, border-color 0.65s;
}
.ct-cat-card:nth-child(1) { animation-delay: 0.08s; }
.ct-cat-card:nth-child(2) { animation-delay: 0.16s; }
.ct-cat-card:nth-child(3) { animation-delay: 0.24s; }
.ct-cat-card:nth-child(4) { animation-delay: 0.32s; }

.ct-cat-card:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 40px 80px rgba(0,0,0,0.7), 0 0 0 1px rgba(119,201,211,0.24),
              0 0 60px rgba(119,201,211,0.06);
  border-color: rgba(119,201,211,0.26);
}

.ct-cat-card-bg {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 0.9s var(--ct-ease);
}
.ct-cat-card:hover .ct-cat-card-bg { transform: scale(1.09); }

.ct-cat-card-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top,
    rgba(8,12,16,0.92) 0%,
    rgba(8,12,16,0.35) 50%,
    rgba(8,12,16,0.08) 100%);
  transition: background 0.4s;
}
.ct-cat-card:hover .ct-cat-card-overlay {
  background: linear-gradient(to top,
    rgba(8,12,16,0.82) 0%,
    rgba(8,12,16,0.45) 55%,
    rgba(8,12,16,0.15) 100%);
}

.ct-cat-card-label {
  position: relative;
  z-index: 1;
  font-family: var(--ct-font);
  font-size: 1.8rem;
  font-weight: 600;
  color: #fff;
  text-shadow: 0 4px 24px rgba(0,0,0,0.6);
  transition: transform 0.45s var(--ct-ease), letter-spacing 0.45s;
  line-height: 1.1;
  letter-spacing: -0.01em;
}
.ct-cat-card:hover .ct-cat-card-label { transform: translateY(-4px); letter-spacing: 0; }

/* Count badge */
.ct-cat-card-count {
  position: relative;
  z-index: 1;
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.45);
  text-transform: uppercase;
  margin-top: 0.3rem;
  display: block;
  transition: color 0.28s;
}
.ct-cat-card:hover .ct-cat-card-count { color: var(--ct-accent); }

/* Accent bar */
.ct-cat-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 100%;
  height: 2.5px;
  background: linear-gradient(to right, var(--ct-accent), #9adde6);
  border-radius: 0 0 0 var(--ct-radius);
  transition: right 0.45s var(--ct-ease);
  z-index: 2;
}
.ct-cat-card:hover::after { right: 0; }

/* ── SINGLE PAGE BELOW PLAYER ───────────────────────────────────────────────── */
.ct-single-below {
  padding: 4rem max(1rem, 2vw) 5rem;
  max-width: 900px;
  margin: 0 auto;
  box-sizing: border-box;
}
.ct-sound-description {
  color: var(--ct-text-2);
  line-height: 2;
  font-size: 1.05rem;
  margin-bottom: 3.5rem;
  border-left: 1.5px solid rgba(119,201,211,0.5);
  padding-left: 1.5rem;
  opacity: 0;
  animation: ct-rise 0.65s 0.2s forwards;
  font-family: var(--ct-font);
  font-size: 1.15rem;
  letter-spacing: 0.01em;
}
.ct-similar-title {
  font-family: var(--ct-font);
  font-size: 2rem;
  font-weight: 600;
  color: var(--ct-text);
  margin-bottom: 1.4rem;
  letter-spacing: -0.015em;
  opacity: 0;
  animation: ct-rise 0.6s 0.3s forwards;
}
.ct-similar-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(210px, 100%), 1fr));
  gap: 1rem;
  margin-bottom: 2.5rem;
}
.ct-browse-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.78rem 2rem;
  border: 1.5px solid rgba(119,201,211,0.5);
  border-radius: 2rem;
  color: var(--ct-accent);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: background var(--ct-trans), color var(--ct-trans),
              border-color var(--ct-trans), transform var(--ct-trans), box-shadow var(--ct-trans);
}
.ct-browse-btn:hover {
  background: var(--ct-accent);
  border-color: var(--ct-accent);
  color: var(--ct-bg);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(119,201,211,0.32);
}

/* ── STATIC PAGES ───────────────────────────────────────────────────────────── */
.ct-page-wrap {
  padding: 8rem 2rem 5rem;
  max-width: 760px;
  margin: 0 auto;
}
.ct-page-title {
  font-family: var(--ct-font);
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 600;
  margin-bottom: 2rem;
  color: var(--ct-text);
  opacity: 0;
  animation: ct-rise 0.65s 0.1s forwards;
}
.ct-page-content {
  color: var(--ct-text-2);
  line-height: 1.9;
  opacity: 0;
  animation: ct-rise 0.6s 0.25s forwards;
}

/* ── FOOTER ─────────────────────────────────────────────────────────────────── */
#ct-footer {
  border-top: 1px solid var(--ct-border);
  padding: 1.75rem 5vw;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  max-width: 1240px;
  margin: 0 auto;
  background: linear-gradient(to top, rgba(119,201,211,0.015) 0%, transparent 100%);
}
.ct-footer-copy { font-size: 0.75rem; color: var(--ct-muted); }
.ct-footer-copy a { color: var(--ct-muted); }
.ct-footer-copy a:hover { color: var(--ct-accent); }
.ct-footer-links { display: flex; gap: 1.75rem; }
.ct-footer-links a {
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ct-muted);
  transition: color var(--ct-trans);
}
.ct-footer-links a:hover { color: var(--ct-accent); }

/* ── PAGINATION ─────────────────────────────────────────────────────────────── */
.navigation.pagination {
  text-align: center;
  padding: 0.5rem 2rem 4rem;
}
.nav-links a, .nav-links span {
  display: inline-block;
  padding: 0.5rem 1rem;
  margin: 0 3px;
  border: 1px solid var(--ct-border-2);
  border-radius: var(--ct-radius-sm);
  color: var(--ct-muted);
  font-size: 0.82rem;
  transition: var(--ct-trans);
}
.nav-links a:hover { border-color: var(--ct-accent); color: var(--ct-accent); background: var(--ct-accent-dim); }
.nav-links .current { border-color: var(--ct-accent); color: var(--ct-accent); background: var(--ct-accent-dim); }

/* ── 404 ────────────────────────────────────────────────────────────────────── */
.ct-404 {
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  text-align: center;
  padding: 2rem;
}
.ct-404-num {
  font-family: var(--ct-font);
  font-size: 8rem;
  line-height: 1;
  color: var(--ct-accent);
  opacity: 0.4;
  margin-bottom: 0.5rem;
}
.ct-404 p { color: var(--ct-muted); margin-bottom: 2rem; }

/* ── KEYFRAMES ──────────────────────────────────────────────────────────────── */
@keyframes ct-rise {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes ct-breathe {
  0%,100% { transform: scale(1.04); }
  50%      { transform: scale(1.11); }
}
@keyframes ct-pulse {
  0%   { opacity: 0.5; transform: scale(1); }
  100% { opacity: 0;   transform: scale(1.65); }
}
@keyframes ct-spin  { to { transform: rotate(360deg); } }
@keyframes ct-widen {
  from { opacity: 0; width: 0; }
  to   { opacity: 1; width: 32px; }
}
@keyframes ct-scrollline {
  0%   { transform: scaleY(0); transform-origin: top; opacity: 0; }
  30%  { opacity: 1; }
  100% { transform: scaleY(1); transform-origin: top; opacity: 0; }
}

/* ── UTILITIES ──────────────────────────────────────────────────────────────── */
.ct-container { max-width: 1240px; margin: 0 auto; padding: 0 2rem; }
.screen-reader-text {
  position: absolute; width: 1px; height: 1px;
  overflow: hidden; clip: rect(0,0,0,0);
}

/* ── MOBILE ─────────────────────────────────────────────────────────────────── */
@media (max-width: 768px) {
  #ct-header { padding: 0 1.25rem; height: 60px; }
  #ct-nav ul { display: none; }
  #ct-nav.open ul {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 60px; left: 0; right: 0;
    background: rgba(8,12,16,0.98);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--ct-border-2);
    padding: 1rem 1.5rem 1.5rem;
    gap: 1.2rem;
  }
  .ct-menu-toggle { display: flex; }
  .ct-track-title { font-size: clamp(1.6rem, 6vw, 2.2rem); }
  .ct-grid { grid-template-columns: 1fr 1fr; gap: 0.75rem; padding: 0 1rem 3rem; }
  .ct-similar-grid { grid-template-columns: 1fr 1fr; }
  .ct-categories-section { padding: 3rem 1rem 4rem; }
  .ct-cat-card { aspect-ratio: 3/4; }
  /* #ct-footer mobile handled in footer social section below */
  :root { --ct-nav-size: 44px; }
}
@media (max-width: 400px) {
  .ct-grid { grid-template-columns: 1fr; }
  .ct-cat-grid { grid-template-columns: 1fr 1fr; }
}

/* ── NINJA FORMS ────────────────────────────────────────────────────────────── */
.nf-form-cont, [id^="nf-form-"] { max-width: 640px !important; }
.nf-form-wrap, .nf-form-layout {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  padding: 0 !important;
}
.nf-field-container { margin-bottom: 1.75rem !important; }
.nf-field-label label, .nf-field-label .nf-label-span {
  font-family: var(--ct-sans) !important;
  font-size: 0.75rem !important;
  font-weight: 500 !important;
  letter-spacing: 0.12em !important;
  text-transform: uppercase !important;
  color: var(--ct-muted) !important;
  margin-bottom: 0.5rem !important;
  display: block !important;
}
.nf-field-label .ninja-forms-req-symbol { color: var(--ct-accent) !important; margin-left: 3px !important; }
.nf-field-element input[type="text"],
.nf-field-element input[type="email"],
.nf-field-element input[type="tel"],
.nf-field-element input[type="number"],
.nf-field-element input[type="url"],
.nf-field-element textarea,
.nf-field-element select {
  width: 100% !important;
  background: rgba(255,255,255,0.04) !important;
  border: 1.5px solid rgba(255,255,255,0.1) !important;
  border-radius: var(--ct-radius-sm) !important;
  color: var(--ct-text) !important;
  font-family: var(--ct-sans) !important;
  font-size: 0.95rem !important;
  padding: 0.85rem 1.1rem !important;
  outline: none !important;
  transition: border-color 0.25s, background 0.25s, box-shadow 0.25s !important;
  -webkit-appearance: none !important;
  appearance: none !important;
  box-shadow: none !important;
}
.nf-field-element input:focus,
.nf-field-element textarea:focus,
.nf-field-element select:focus {
  border-color: var(--ct-accent) !important;
  background: rgba(119,201,211,0.04) !important;
  box-shadow: 0 0 0 3px rgba(119,201,211,0.1) !important;
}
.nf-field-element input::placeholder,
.nf-field-element textarea::placeholder { color: rgba(255,255,255,0.18) !important; }
.nf-field-element textarea { min-height: 160px !important; resize: vertical !important; line-height: 1.65 !important; }
.nf-field-element input[type="button"],
.nf-field-element input[type="submit"],
.submit-container input, .submit-wrap input {
  padding: 0.82rem 2.5rem !important;
  border: 1.5px solid var(--ct-accent) !important;
  border-radius: 2rem !important;
  background: transparent !important;
  color: var(--ct-accent) !important;
  font-family: var(--ct-sans) !important;
  font-size: 0.75rem !important;
  font-weight: 500 !important;
  letter-spacing: 0.12em !important;
  text-transform: uppercase !important;
  cursor: pointer !important;
  transition: background 0.28s, color 0.28s, transform 0.22s, box-shadow 0.28s !important;
  -webkit-appearance: none !important;
}
.nf-field-element input[type="submit"]:hover,
.submit-container input:hover, .submit-wrap input:hover {
  background: var(--ct-accent) !important;
  color: var(--ct-bg) !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 8px 24px rgba(119,201,211,0.3) !important;
}
.nf-error .nf-field-element input,
.nf-error .nf-field-element textarea {
  border-color: #e05252 !important;
  box-shadow: 0 0 0 3px rgba(224,82,82,0.1) !important;
}
.nf-error-msg, .ninja-forms-error { color: #e05252 !important; font-size: 0.76rem !important; margin-top: 0.4rem !important; }
.nf-response-msg, .nf-success-msg {
  background: rgba(119,201,211,0.07) !important;
  border: 1px solid rgba(119,201,211,0.25) !important;
  border-radius: var(--ct-radius-sm) !important;
  color: var(--ct-accent) !important;
  padding: 1rem 1.25rem !important;
  font-size: 0.92rem !important;
  margin-top: 1rem !important;
}
.nf-field-container.hidden-container, li.nf-field-container.nf-hp { display: none !important; }
.nf-form-wrap .nf-before-form-content p, .nf-form-fields-required {
  font-size: 0.78rem !important;
  color: var(--ct-muted) !important;
  margin-bottom: 1.5rem !important;
}

/* ── PAGE-LOAD RENDER GUARD ──────────────────────────────────────────────────
   Everything that animates in is frozen at opacity:0 until JS adds
   body.ct-ready on window.load. This eliminates the render-lag flash.
   All animation-delay values are bumped by 0.3s to give the browser
   a comfortable paint window before motion begins.
   ─────────────────────────────────────────────────────────────────────────── */

/* Block ALL entry animations until the page is fully loaded */
body:not(.ct-ready) .ct-hero-thumb,
body:not(.ct-ready) .ct-hero-credit,
body:not(.ct-ready) .ct-hero-heart,
body:not(.ct-ready) .ct-category-badge,
body:not(.ct-ready) .ct-track-title,
body:not(.ct-ready) .ct-listeners,
body:not(.ct-ready) #ct-player,
body:not(.ct-ready) .ct-track-credit,
body:not(.ct-ready) .ct-scroll-hint,
body:not(.ct-ready) .ct-archive-title,
body:not(.ct-ready) .ct-archive-desc,
body:not(.ct-ready) .ct-archive-line,
body:not(.ct-ready) .ct-cat-card,
body:not(.ct-ready) .ct-sound-description,
body:not(.ct-ready) .ct-similar-title,
body:not(.ct-ready) .ct-page-title,
body:not(.ct-ready) .ct-page-content,
body:not(.ct-ready) #ct-header {
  opacity: 0 !important;
  animation: none !important;
  transition: none !important;
}

/* Also hold the hero background */
body:not(.ct-ready) .ct-hero-bg {
  opacity: 0 !important;
  animation: none !important;
  transition: none !important;
}

/* Once ready — re-apply all animations with generous delays */
body.ct-ready .ct-hero-thumb {
  animation: ct-rise 0.9s var(--ct-ease) 0.2s both;
}
body.ct-ready .ct-hero-credit {
  animation: ct-rise 0.7s var(--ct-ease) 0.52s both;
}
body.ct-ready .ct-hero-heart {
  animation: ct-rise 0.7s var(--ct-ease) 0.38s both;
}
body.ct-ready .ct-category-badge {
  animation: ct-rise 0.9s var(--ct-ease) 0.15s both;
}
body.ct-ready .ct-track-title {
  animation: ct-rise 1s var(--ct-ease) 0.3s both;
}
body.ct-ready .ct-listeners {
  animation: ct-rise 0.85s var(--ct-ease) 0.5s both;
}
body.ct-ready #ct-player {
  animation: ct-rise 0.9s var(--ct-ease) 0.7s both;
}
body.ct-ready .ct-track-credit {
  animation: ct-rise 0.75s var(--ct-ease) 1.1s both;
}
body.ct-ready .ct-scroll-hint {
  animation: ct-rise 0.75s var(--ct-ease) 1.4s both;
}

/* Header fades in gently */
body.ct-ready #ct-header {
  animation: ct-rise 0.7s var(--ct-ease) 0.05s both;
}

/* Hero bg — slow fade + breathe starts only after image is in */
body.ct-ready .ct-hero-bg {
  transition: opacity 1.8s ease, transform 1.8s ease;
}
body.ct-ready .ct-hero-bg.loaded {
  opacity: 1;
  transform: scale(1.05);
  animation: ct-breathe 16s ease-in-out 1.8s infinite;
}

/* Archive page elements */
body.ct-ready .ct-archive-title {
  animation: ct-rise 0.85s var(--ct-ease) 0.2s both;
}
body.ct-ready .ct-archive-desc {
  animation: ct-rise 0.75s var(--ct-ease) 0.38s both;
}
body.ct-ready .ct-archive-line {
  animation: ct-widen 0.6s var(--ct-ease) 0.55s both;
}

/* Category cards — staggered, starts after header settles */
body.ct-ready .ct-cat-card:nth-child(1) { animation: ct-rise 0.7s var(--ct-ease) 0.35s both; }
body.ct-ready .ct-cat-card:nth-child(2) { animation: ct-rise 0.7s var(--ct-ease) 0.48s both; }
body.ct-ready .ct-cat-card:nth-child(3) { animation: ct-rise 0.7s var(--ct-ease) 0.61s both; }
body.ct-ready .ct-cat-card:nth-child(4) { animation: ct-rise 0.7s var(--ct-ease) 0.74s both; }

/* Single page below-player */
body.ct-ready .ct-sound-description {
  animation: ct-rise 0.8s var(--ct-ease) 0.25s both;
}
body.ct-ready .ct-similar-title {
  animation: ct-rise 0.7s var(--ct-ease) 0.4s both;
}

/* Static pages */
body.ct-ready .ct-page-title {
  animation: ct-rise 0.85s var(--ct-ease) 0.2s both;
}
body.ct-ready .ct-page-content {
  animation: ct-rise 0.75s var(--ct-ease) 0.38s both;
}

/* ═══════════════════════════════════════════════════════════════
   NEW SECTIONS — Homepage / Archive / Single
   ═══════════════════════════════════════════════════════════════ */

/* ── Shared section wrapper ────────────────────────────────────────────────── */
.ct-home-section {
  padding: 4rem max(1rem, 2vw) 3.5rem;
  max-width: 1240px;
  margin: 0 auto;
  box-sizing: border-box;
}
.ct-section-header {
  text-align: center;
  margin-bottom: 3rem;
}
.ct-section-header--row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  text-align: left;
}
.ct-section-desc {
  color: var(--ct-muted);
  font-size: 0.95rem;
  max-width: 520px;
  margin: 0.6rem auto 0;
  line-height: 1.7;
}

/* ── Category card content (desc + count) ──────────────────────────────────── */
.ct-cat-card-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}
.ct-cat-card-desc {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.55);
  display: block;
  transition: color 0.5s;
  line-height: 1.4;
}
.ct-cat-card:hover .ct-cat-card-desc { color: rgba(255,255,255,0.8); }

/* ── Card category label ───────────────────────────────────────────────────── */
.ct-card-cat {
  display: block;
  font-family: var(--ct-sans);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ct-accent);
  margin-bottom: 0.25rem;
}
.ct-card-credit {
  display: block;
  font-size: 0.72rem;
  color: rgba(255,255,255,0.4);
  margin-top: 0.25rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ── Why CalmTweets section ────────────────────────────────────────────────── */
.ct-why-section {
  background: var(--ct-surface);
  max-width: 100%;
  border-top: 1px solid var(--ct-border);
  border-bottom: 1px solid var(--ct-border);
  padding: 5rem max(1rem, 2vw);
}
.ct-why-section .ct-section-header { margin-bottom: 3rem; }
.ct-why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(220px, calc(50% - 0.75rem)), 1fr));
  gap: 1.5rem;
  max-width: 1240px;
  margin: 0 auto;
}
.ct-why-card {
  background: var(--ct-card);
  border: 1px solid var(--ct-border);
  border-radius: var(--ct-radius);
  padding: 2rem 1.75rem;
  transition: border-color 0.55s var(--ct-ease), transform 0.55s var(--ct-ease),
              box-shadow 0.55s var(--ct-ease);
  position: relative;
  overflow: hidden;
}
.ct-why-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(119,201,211,0.3), transparent);
  opacity: 0;
  transition: opacity 0.55s;
}
.ct-why-card:hover {
  border-color: rgba(119,201,211,0.2);
  transform: translateY(-5px);
  box-shadow: 0 20px 48px rgba(0,0,0,0.4), 0 0 0 1px rgba(119,201,211,0.1);
}
.ct-why-card:hover::before { opacity: 1; }
.ct-why-icon {
  width: 48px; height: 48px;
  background: var(--ct-accent-dim);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.25rem;
}
.ct-why-icon svg { width: 24px; height: 24px; fill: var(--ct-accent); }
.ct-why-card h3 {
  font-family: var(--ct-font);
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--ct-text);
  margin-bottom: 0.6rem;
}
.ct-why-card p {
  font-size: 0.88rem;
  color: var(--ct-muted);
  line-height: 1.75;
}

/* ── Recently Added / Explore strip ────────────────────────────────────────── */
.ct-recent-strip {
  display: flex;
  flex-direction: column;
  gap: 0;
  border: 1px solid var(--ct-border);
  border-radius: var(--ct-radius);
  overflow: hidden;
}
.ct-recent-item {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  padding: 1rem 1.25rem;
  background: var(--ct-card);
  border-bottom: 1px solid var(--ct-border);
  text-decoration: none;
  transition: background 0.5s var(--ct-ease);
}
.ct-recent-item:last-child { border-bottom: none; }
.ct-recent-item:hover { background: var(--ct-card-hover); }
.ct-recent-thumb {
  width: 64px; height: 64px;
  border-radius: 8px;
  background: var(--ct-surface) center/cover no-repeat;
  flex-shrink: 0;
  position: relative;
  overflow: hidden;
}
.ct-recent-play {
  position: absolute; inset: 0;
  background: rgba(8,12,16,0.5);
  display: flex; align-items: center; justify-content: center;
  opacity: 0;
  transition: opacity 0.4s;
}
.ct-recent-item:hover .ct-recent-play { opacity: 1; }
.ct-recent-play svg { width: 22px; height: 22px; fill: #fff; margin-left: 3px; }
.ct-recent-info {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}
.ct-recent-cat {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--ct-accent);
}
.ct-recent-title {
  font-family: var(--ct-font);
  font-size: clamp(0.95rem, 2vw, 1.1rem);
  font-weight: 500;
  color: var(--ct-text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.2;
}
.ct-recent-credit {
  font-size: 0.75rem;
  color: var(--ct-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.ct-recent-arrow { flex-shrink: 0; }
.ct-recent-arrow svg {
  width: 18px; height: 18px;
  fill: var(--ct-muted);
  opacity: 0.4;
  transition: opacity 0.4s, fill 0.4s;
}
.ct-recent-item:hover .ct-recent-arrow svg { fill: var(--ct-accent); opacity: 1; }

/* ── Archive count badge ────────────────────────────────────────────────────── */
.ct-archive-count {
  display: inline-block;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ct-accent);
  border: 1px solid rgba(119,201,211,0.3);
  border-radius: 2rem;
  padding: 0.25rem 0.9rem;
  margin-bottom: 1rem;
  background: rgba(119,201,211,0.05);
  opacity: 0;
  animation: ct-rise 0.6s 0.18s both;
}
body.ct-ready .ct-archive-count { animation: ct-rise 0.6s 0.18s both; }

/* ── Archive about section ──────────────────────────────────────────────────── */
.ct-archive-about {
  background: var(--ct-surface);
  border-top: 1px solid var(--ct-border);
  border-bottom: 1px solid var(--ct-border);
  padding: 4rem max(1rem, 3vw);
  margin-top: 2rem;
}
.ct-archive-about__inner {
  max-width: 700px;
  margin: 0 auto;
}
.ct-archive-about h2 {
  font-family: var(--ct-font);
  font-size: 1.8rem;
  font-weight: 600;
  color: var(--ct-text);
  margin-bottom: 1.2rem;
}
.ct-archive-about p {
  color: var(--ct-text-2);
  line-height: 1.9;
  font-size: 0.95rem;
  margin-bottom: 1rem;
}

/* ── Archive explore section ────────────────────────────────────────────────── */
.ct-archive-explore {
  padding-top: 3rem;
}

/* ── Single — track meta strip ──────────────────────────────────────────────── */
.ct-track-meta-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 2rem;
  padding: 1.25rem 0 2rem;
  border-bottom: 1px solid var(--ct-border);
  margin-bottom: 2.5rem;
  opacity: 0;
  animation: ct-rise 0.65s 0.15s both;
}
body.ct-ready .ct-track-meta-strip { animation: ct-rise 0.65s 0.15s both; }

.ct-track-meta-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ct-accent);
  background: var(--ct-accent-dim);
  border: 1px solid rgba(119,201,211,0.25);
  border-radius: 2rem;
  padding: 0.35rem 0.9rem;
  transition: background var(--ct-trans);
}
.ct-track-meta-badge:hover { background: rgba(119,201,211,0.25); color: var(--ct-accent); }
.ct-track-meta-badge svg { width: 13px; height: 13px; fill: currentColor; }

.ct-track-meta-listeners,
.ct-track-meta-credit {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.8rem;
  color: var(--ct-muted);
}
.ct-track-meta-listeners svg,
.ct-track-meta-credit svg { width: 14px; height: 14px; fill: currentColor; opacity: 0.6; }

/* ── Single — listening tips ────────────────────────────────────────────────── */
.ct-listening-tips {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem;
  padding: 1.25rem 1.5rem;
  background: var(--ct-surface);
  border: 1px solid var(--ct-border);
  border-radius: var(--ct-radius);
  margin-bottom: 3rem;
  opacity: 0;
  animation: ct-rise 0.65s 0.35s both;
}
body.ct-ready .ct-listening-tips { animation: ct-rise 0.65s 0.35s both; }
.ct-tip {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  color: var(--ct-muted);
  min-width: 0;
  word-break: break-word;
}
.ct-tip svg { width: 15px; height: 15px; fill: var(--ct-accent); flex-shrink: 0; }
@media (max-width: 768px) {
  .ct-listening-tips {
    grid-template-columns: repeat(1, minmax(0, 1fr));
    padding: 0.75rem 0.75rem;
  }
}

/* ── Single — similar section header ───────────────────────────────────────── */
.ct-similar-section { margin-bottom: 3.5rem; }
.ct-similar-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1.4rem;
}
.ct-other-moods-section { margin-bottom: 3rem; }

/* ── CTA Banner ─────────────────────────────────────────────────────────────── */
.ct-cta-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.5rem;
  background: var(--ct-surface);
  border: 1px solid var(--ct-border);
  border-left: 3px solid var(--ct-accent);
  border-radius: var(--ct-radius);
  padding: 2rem 1.75rem;
  margin-top: 1rem;
}
.ct-cta-banner__text h3 {
  font-family: var(--ct-font);
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--ct-text);
  margin-bottom: 0.4rem;
}
.ct-cta-banner__text p {
  font-size: 0.88rem;
  color: var(--ct-muted);
  max-width: 420px;
  line-height: 1.7;
}
.ct-cta-banner__actions {
  display: flex;
  gap: 0.75rem;
  flex-shrink: 0;
  flex-wrap: wrap;
}
.ct-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.7rem 1.4rem;
  border-radius: 2rem;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: transform 0.5s var(--ct-ease), box-shadow 0.5s var(--ct-ease);
  text-decoration: none;
}
.ct-cta-btn svg { width: 15px; height: 15px; fill: currentColor; }
.ct-cta-btn--fb {
  background: #1877f2;
  color: #fff;
}
.ct-cta-btn--fb:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 8px 20px rgba(24,119,242,0.35); }
.ct-cta-btn--home {
  border: 1.5px solid rgba(119,201,211,0.4);
  color: var(--ct-accent);
  background: transparent;
}
.ct-cta-btn--home:hover { background: var(--ct-accent-dim); color: var(--ct-accent); transform: translateY(-2px); }

/* ── Mobile adjustments ─────────────────────────────────────────────────────── */
@media (max-width: 768px) {
  .ct-home-section { padding: 3.5rem 1rem 3rem; }
  .ct-why-grid { grid-template-columns: 1fr 1fr; gap: 1rem; }
  .ct-track-meta-strip { gap: 0.75rem 1.25rem; }
  .ct-cta-banner { flex-direction: column; }
  .ct-cta-banner__actions { width: 100%; }
  .ct-cta-btn { flex: 1; justify-content: center; }
  .ct-similar-header { flex-direction: column; align-items: flex-start; }
  .ct-section-header--row { flex-direction: column; align-items: flex-start; }
}
/* merged into mobile safety block */

/* ── MOBILE OVERFLOW SAFETY NET ─────────────────────────────────────────────
   Catch anything that might break out on narrow screens.
   ─────────────────────────────────────────────────────────────────────────── */
@media (max-width: 480px) {
  /* Ensure no element exceeds viewport */
  * { max-width: 100%; }
  img, video, audio, iframe, table { width: auto; max-width: 100%; }

  /* Grid always 1 col on very small screens */
  .ct-grid { grid-template-columns: 1fr !important; padding: 0 1rem 3rem !important; }
  .ct-cat-grid { grid-template-columns: 1fr 1fr !important; gap: 0.75rem !important; }
  .ct-similar-grid { grid-template-columns: 1fr 1fr !important; }
  .ct-why-grid { grid-template-columns: 1fr !important; }

  /* Hero thumb smaller on tiny screens */
  .ct-hero-thumb { width: 130px !important; height: 130px !important; }
  .ct-hero-content { gap: 1.2rem !important; padding: 5.5rem 1.2rem 2.5rem !important; }

  /* Track title — ensure readable but not cramped */
  .ct-track-title { font-size: clamp(1.5rem, 6vw, 2rem) !important; }
  .ct-archive-title { font-size: clamp(1.6rem, 6vw, 2.2rem) !important; }

  /* Section padding on tiny screens */
  .ct-home-section,
  .ct-why-section,
  .ct-archive-about { padding-left: 1rem !important; padding-right: 1rem !important; }

  /* Player controls — make tappable */
  :root { --ct-nav-size: 44px; }
  .ct-play-btn { width: 58px !important; height: 58px !important; }

  /* Recent strip */
  .ct-recent-thumb { width: 52px !important; height: 52px !important; }
  .ct-recent-title { font-size: 0.9rem !important; }

  /* CTA banner */
  .ct-cta-btn { padding: 0.7rem 1rem !important; font-size: 0.75rem !important; }

  /* Footer */
  #ct-footer { padding: 1.5rem 1rem !important; }

  /* Listening tips — stack */
  /* tips flow naturally on mobile — no forced stacking */
}

/* ── TEXT SIZE AUDIT CORRECTIONS ────────────────────────────────────────────
   Ensure all text is readable across breakpoints.
   ─────────────────────────────────────────────────────────────────────────── */
@media (max-width: 768px) {
  /* Nav links — larger for tap targets */
  #ct-nav.open ul li a { font-size: 1rem; letter-spacing: 0.08em; }

  /* Card titles */
  .ct-card-title { font-size: 1.1rem; }

  /* Category card labels */
  .ct-cat-card-label { font-size: 1.25rem; }
  .ct-cat-card-desc  { font-size: 0.8rem; }

  /* Archive header */
  .ct-archive-desc { font-size: 0.9rem; }

  /* Why cards */
  .ct-why-card h3 { font-size: 1.15rem; }
  .ct-why-card p  { font-size: 0.85rem; }

  /* Hero credit + listeners */
  .ct-hero-credit { font-size: 0.82rem; }
  .ct-listeners   { font-size: 0.82rem; }

  /* Similar title */
  .ct-similar-title { font-size: 1.45rem; }

  /* Section desc */
  .ct-section-desc { font-size: 0.9rem; }

  /* CTA banner */
  .ct-cta-banner__text h3 { font-size: 1.2rem; }
  .ct-cta-banner__text p  { font-size: 0.85rem; }

  /* Page title */
  .ct-page-title { font-size: clamp(1.6rem, 5vw, 2.4rem); }

  /* Track meta strip */
  .ct-track-meta-badge,
  .ct-track-meta-listeners,
  .ct-track-meta-credit { font-size: 0.78rem; }
}

/* ── SHARE BUTTONS (#2) ──────────────────────────────────────────────────── */
.ct-share-banner {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  background: var(--ct-surface);
  border: 1px solid var(--ct-border);
  border-left: 3px solid var(--ct-accent);
  border-radius: var(--ct-radius);
  padding: 1.75rem;
  margin-top: 1rem;
}
.ct-share-banner__text h3 {
  font-family: var(--ct-font);
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--ct-text);
  margin-bottom: 0.3rem;
}
.ct-share-banner__text p {
  font-size: 0.85rem;
  color: var(--ct-muted);
  line-height: 1.6;
}
.ct-share-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}
.ct-share-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.55rem 1.1rem;
  border-radius: 2rem;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: transform 0.4s var(--ct-ease), box-shadow 0.4s var(--ct-ease), opacity 0.3s;
  font-family: var(--ct-sans);
}
.ct-share-btn svg { width: 15px; height: 15px; fill: currentColor; flex-shrink: 0; }
.ct-share-btn:hover { transform: translateY(-2px); opacity: 0.92; }
.ct-share-btn--wa  { background: #25d366; color: #fff; }
.ct-share-btn--wa:hover  { box-shadow: 0 6px 18px rgba(37,211,102,0.4); }
.ct-share-btn--fb  { background: #1877f2; color: #fff; }
.ct-share-btn--fb:hover  { box-shadow: 0 6px 18px rgba(24,119,242,0.4); }
.ct-share-btn--tg  { background: #2ca5e0; color: #fff; }
.ct-share-btn--tg:hover  { box-shadow: 0 6px 18px rgba(44,165,224,0.4); }
.ct-share-btn--ms  { background: #0084ff; color: #fff; }
.ct-share-btn--ms:hover  { box-shadow: 0 6px 18px rgba(0,132,255,0.4); }
.ct-share-btn--tw  { background: #000; color: #fff; }
.ct-share-btn--tw:hover  { box-shadow: 0 6px 18px rgba(0,0,0,0.4); }
.ct-share-btn--copy {
  background: var(--ct-card);
  border: 1.5px solid rgba(119,201,211,0.35);
  color: var(--ct-accent);
}
.ct-share-btn--copy:hover { box-shadow: 0 6px 18px rgba(119,201,211,0.2); }
.ct-share-btn--copy.copied { background: rgba(119,201,211,0.15); border-color: var(--ct-accent); }

/* ── FOOTER SOCIAL ICONS ─────────────────────────────────────────────────── */
/* PC: one row — credit · social icons · nav links */
#ct-footer {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
}
/* Remove the .ct-footer-top wrapper visual — footer IS the row on PC */
.ct-footer-top {
  display: contents; /* children participate in footer's flex row directly */
}
.ct-footer-social {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  order: 2; /* middle: credit(1) · social(2) · links(3) */
}
.ct-footer-copy  { order: 1; }
.ct-footer-links { order: 3; }
.ct-footer-social__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px; height: 32px;
  border-radius: 50%;
  border: 1px solid var(--ct-border);
  color: var(--ct-muted);
  background: var(--ct-surface);
  transition: border-color 0.35s, color 0.35s, background 0.35s, transform 0.35s var(--ct-ease);
}
.ct-footer-social__link svg { width: 14px; height: 14px; fill: currentColor; }
.ct-footer-social__link:hover {
  color: var(--ct-accent);
  border-color: rgba(119,201,211,0.4);
  background: var(--ct-accent-dim);
  transform: translateY(-2px);
}
/* Mobile: stack vertically, social centered */
@media (max-width: 768px) {
  #ct-footer { flex-direction: column; align-items: center; text-align: center; gap: 0.85rem; }
  .ct-footer-top { display: contents; }
  .ct-footer-social { order: 2; }
  .ct-footer-copy  { order: 1; }
  .ct-footer-links { order: 3; }
}

/* ═══════════════════════════════════════════════════════════════
   PREMIUM ADDITIONS — progress bar, scrollbar, micro-details
   ═══════════════════════════════════════════════════════════════ */

/* ── Audio progress bar under hero ──────────────────────────────────────────── */
.ct-progress-wrap {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: rgba(255,255,255,0.06);
  z-index: 20;
  cursor: pointer;
}
.ct-progress-bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(to right, var(--ct-accent), var(--ct-accent-2));
  border-radius: 0 2px 2px 0;
  transition: width 0.5s linear;
  position: relative;
}
.ct-progress-bar::after {
  content: '';
  position: absolute;
  right: -3px; top: 50%;
  transform: translateY(-50%) scale(0);
  width: 10px; height: 10px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 8px var(--ct-accent);
  transition: transform 0.2s var(--ct-ease);
}
.ct-progress-wrap:hover .ct-progress-bar::after { transform: translateY(-50%) scale(1); }
.ct-progress-wrap:hover { height: 5px; }
.ct-progress-wrap:hover .ct-progress-bar { border-radius: 0 4px 4px 0; }


/* ── Custom scrollbar ────────────────────────────────────────────────────────── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--ct-bg); }
::-webkit-scrollbar-thumb {
  background: rgba(119,201,211,0.2);
  border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover { background: rgba(119,201,211,0.4); }

/* ── Selection colour ────────────────────────────────────────────────────────── */
::selection { background: rgba(119,201,211,0.25); color: #fff; }

/* ── Focus rings — accessibility ────────────────────────────────────────────── */
:focus-visible {
  outline: 1.5px solid var(--ct-accent);
  outline-offset: 3px;
  border-radius: 4px;
}
button:focus-visible, a:focus-visible { outline-offset: 4px; }

/* ── Smooth page transitions ─────────────────────────────────────────────────── */
.ct-single-below > * { will-change: opacity, transform; }

/* ── Archive count badge animation ──────────────────────────────────────────── */
.ct-archive-count {
  animation: ct-rise 0.6s 0.22s both;
}

/* ── Hero gradient bottom fade — connect hero to content ────────────────────── */
#ct-hero::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 120px;
  background: linear-gradient(to bottom, transparent 0%, var(--ct-bg) 100%);
  pointer-events: none;
  z-index: 5;
}

/* ── Card image subtle zoom on load ─────────────────────────────────────────── */
.ct-card.ct-visible .ct-card-img {
  animation: ct-img-reveal 0.8s var(--ct-ease) both;
}
@keyframes ct-img-reveal {
  from { transform: scale(1.06); filter: brightness(0.7); }
  to   { transform: scale(1);    filter: brightness(1);   }
}
/* Don't re-run on hover */
.ct-card.ct-visible:hover .ct-card-img {
  animation: none;
  transform: scale(1.08);
}

/* ── Why icon glow ───────────────────────────────────────────────────────────── */
.ct-why-icon {
  width: 48px; height: 48px;
  background: rgba(119,201,211,0.08);
  border: 1px solid rgba(119,201,211,0.15);
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.25rem;
  transition: background 0.5s, border-color 0.5s, box-shadow 0.5s;
}
.ct-why-card:hover .ct-why-icon {
  background: rgba(119,201,211,0.14);
  border-color: rgba(119,201,211,0.3);
  box-shadow: 0 0 24px rgba(119,201,211,0.15);
}

/* ── Recent strip hover ──────────────────────────────────────────────────────── */
.ct-recent-item {
  transition: background 0.35s var(--ct-ease), transform 0.35s var(--ct-ease);
}
.ct-recent-item:hover {
  background: var(--ct-card-hover);
  transform: translateX(4px);
}

/* ── Browse button ───────────────────────────────────────────────────────────── */
.ct-browse-btn {
  border-radius: 2rem;
  transition: background var(--ct-trans), border-color var(--ct-trans),
              box-shadow var(--ct-trans), transform var(--ct-trans);
}
.ct-browse-btn:hover {
  background: rgba(119,201,211,0.1);
  border-color: var(--ct-accent);
  box-shadow: 0 4px 16px rgba(119,201,211,0.18);
  transform: translateY(-1px);
}

/* ── Archive about section ───────────────────────────────────────────────────── */
.ct-archive-about h2 {
  font-size: clamp(1.4rem, 3vw, 2rem);
  letter-spacing: -0.015em;
}
.ct-archive-about p {
  font-size: 1rem;
  line-height: 2;
}

/* ── Category page explore ───────────────────────────────────────────────────── */
.ct-archive-explore .ct-section-title { text-align: left; }
.ct-archive-explore .ct-section-line  { margin-left: 0; }

/* ── Pagination refinement ───────────────────────────────────────────────────── */
.navigation.pagination .nav-links {
  display: flex; gap: 0.4rem;
  justify-content: center;
  flex-wrap: wrap;
}
.navigation.pagination .page-numbers {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 38px; height: 38px;
  padding: 0 0.6rem;
  border: 1px solid var(--ct-border);
  border-radius: 8px;
  color: var(--ct-muted);
  font-size: 0.82rem;
  transition: var(--ct-trans);
  background: var(--ct-card);
}
.navigation.pagination .page-numbers:hover { border-color: var(--ct-accent); color: var(--ct-accent); }
.navigation.pagination .page-numbers.current {
  background: rgba(119,201,211,0.12);
  border-color: rgba(119,201,211,0.4);
  color: var(--ct-accent);
}

/* ── Mobile refinements ──────────────────────────────────────────────────────── */
@media (max-width: 768px) {
  .ct-hero-thumb { width: 170px; height: 170px; }
  .ct-track-title { font-size: clamp(1.9rem, 7vw, 2.8rem); }
  .ct-archive-title { font-size: clamp(2rem, 8vw, 3.2rem); }
  .ct-cat-card-label { font-size: 1.5rem; }
  .ct-why-card { padding: 1.5rem 1.25rem; }
  .ct-similar-title { font-size: 1.65rem; }
  .ct-section-title { font-size: clamp(1.4rem, 5vw, 1.8rem); }
}
