/* Ricky Racks ASMR — site styles */
:root {
  --bg: #05080b;
  --bg-2: #091016;
  --surface: #0d151b;
  --surface-2: #121d25;
  --line: rgba(120, 210, 216, 0.11);
  --line-strong: rgba(120, 210, 216, 0.22);
  --text: #e6f0f1;
  --muted: #93a8ad;
  --dim: #607379;
  --accent: #3cc6cf;
  --accent-soft: #8fe4e8;
  --accent-ink: #03191c;
  --glow: rgba(60, 198, 207, 0.32);
  --adult: #e0a35a;

  --f-display: "Outfit", system-ui, sans-serif;
  --f-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Consolas, monospace;

  --r-sm: 8px;
  --r: 14px;
  --r-lg: 22px;
  --wrap: 1240px;
  --gutter: clamp(16px, 4vw, 40px);
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 16px/1.6 var(--f-body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
::selection { background: var(--accent); color: var(--accent-ink); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--accent); color: var(--accent-ink); padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(5, 8, 11, 0.78);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; gap: 24px; height: 68px; }
.brand { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.brand img { width: 38px; height: 38px; border-radius: 50%; box-shadow: 0 0 0 1px var(--line-strong), 0 0 24px -6px var(--glow); }
.brand-word { font: 600 15px/1.05 var(--f-display); letter-spacing: .16em; text-transform: uppercase; }
.brand-word small { display: block; font: 500 10px/1.4 var(--f-mono); letter-spacing: .3em; color: var(--accent); }
.nav-links { display: flex; gap: 4px; margin-left: auto; list-style: none; padding: 0; margin-top: 0; margin-bottom: 0; }
.nav-links a {
  display: block; padding: 8px 14px; border-radius: 999px;
  font-size: 14px; font-weight: 500; color: var(--muted);
  transition: color .2s, background .2s;
}
.nav-links a:hover { color: var(--text); background: var(--surface-2); }
.nav-links a[aria-current="page"] { color: var(--text); background: var(--surface-2); box-shadow: inset 0 0 0 1px var(--line); }
.nav-toggle { display: none; margin-left: auto; background: none; border: 1px solid var(--line-strong); border-radius: 10px; width: 42px; height: 42px; cursor: pointer; }
.nav-toggle span { display: block; width: 18px; height: 1.5px; background: var(--text); margin: 4px auto; transition: transform .25s var(--ease), opacity .2s; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  min-height: 44px; padding: 0 20px; border-radius: 999px;
  font: 600 14px/1 var(--f-body); letter-spacing: .01em;
  border: 1px solid transparent; cursor: pointer; white-space: nowrap;
  transition: transform .2s var(--ease), background .2s, box-shadow .25s, border-color .2s;
}
.btn svg { width: 16px; height: 16px; flex-shrink: 0; }
.btn-primary { background: var(--accent); color: var(--accent-ink); box-shadow: 0 8px 30px -10px var(--glow); }
.btn-primary:hover { background: var(--accent-soft); transform: translateY(-1px); }
.btn-ghost { background: rgba(255,255,255,.03); border-color: var(--line-strong); color: var(--text); }
.btn-ghost:hover { border-color: var(--accent); background: rgba(60,198,207,.07); }
.btn-yt { background: #fff; color: #0b0b0b; }
.btn-yt:hover { background: #e9f8f8; transform: translateY(-1px); }
.btn-yt svg { color: #ff0033; }
.btn-sm { min-height: 36px; padding: 0 14px; font-size: 13px; }

/* ---------- Type ---------- */
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font: 500 12px/1 var(--f-mono); letter-spacing: .22em; text-transform: uppercase; color: var(--accent); }
.eyebrow::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 12px var(--accent); animation: pulse 2.6s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: .35; box-shadow: 0 0 2px var(--accent); } }
h1, h2, h3 { font-family: var(--f-display); font-weight: 500; letter-spacing: -.02em; line-height: 1.08; margin: 0; text-wrap: balance; }
h1 { font-size: clamp(40px, 6.4vw, 78px); font-weight: 400; }
h1 em, h2 em { font-style: normal; color: var(--accent-soft); }
h2 { font-size: clamp(28px, 3.4vw, 42px); }
h3 { font-size: 18px; letter-spacing: -.01em; line-height: 1.3; }
.lede { font-size: clamp(16px, 1.5vw, 19px); color: var(--muted); max-width: 58ch; margin: 0; }
.mono { font-family: var(--f-mono); }

/* ---------- Sections ---------- */
.section { padding: clamp(56px, 8vw, 96px) 0; }
.section + .section { padding-top: 0; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 28px; flex-wrap: wrap; }
.section-head p { margin: 10px 0 0; color: var(--muted); max-width: 60ch; }
.link-more { font: 500 13px/1 var(--f-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--accent); display: inline-flex; gap: 8px; align-items: center; padding: 10px 0; }
.link-more:hover { color: var(--accent-soft); }
.link-more::after { content: "→"; transition: transform .2s var(--ease); }
.link-more:hover::after { transform: translateX(4px); }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; border-bottom: 1px solid var(--line); isolation: isolate; }
.hero-bg { position: absolute; inset: 0; z-index: -1; }
/* Banner shown at full width (not cropped) so the whole "RICKY RACKS" wordmark is visible */
.hero-bg img { position: absolute; top: clamp(8px, 2vw, 28px); left: 0; width: 100%; height: auto; opacity: .2; filter: saturate(1.2); -webkit-mask-image: linear-gradient(180deg, #000 55%, transparent); mask-image: linear-gradient(180deg, #000 55%, transparent); }
.hero-bg canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-bg::after { content: ""; position: absolute; inset: 0; background:
  radial-gradient(60% 70% at 75% 40%, rgba(60,198,207,.10), transparent 70%),
  linear-gradient(180deg, rgba(5,8,11,.2) 0%, var(--bg) 100%); }
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; padding-top: clamp(56px, 9vw, 120px); padding-bottom: clamp(56px, 8vw, 100px); }
.hero h1 { margin: 22px 0 22px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 32px; }
.hero-feature { position: relative; }
.hero-feature .label { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; font: 500 12px/1 var(--f-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.hero-feature h3 { margin-top: 16px; font-size: 20px; }
.hero-feature .meta { margin-top: 6px; }

/* ---------- Waveform ---------- */
.wave { display: flex; align-items: center; gap: 3px; height: 22px; }
.wave i { display: block; width: 3px; border-radius: 3px; background: var(--accent); opacity: .85; animation: wave 1.6s ease-in-out infinite; }
.wave i:nth-child(1) { height: 30%; animation-delay: -.2s; }
.wave i:nth-child(2) { height: 70%; animation-delay: -.5s; }
.wave i:nth-child(3) { height: 100%; animation-delay: -.9s; }
.wave i:nth-child(4) { height: 55%; animation-delay: -.3s; }
.wave i:nth-child(5) { height: 85%; animation-delay: -1.1s; }
.wave i:nth-child(6) { height: 40%; animation-delay: -.7s; }
.wave i:nth-child(7) { height: 65%; animation-delay: -1.3s; }
@keyframes wave { 0%,100% { transform: scaleY(.35); } 50% { transform: scaleY(1); } }

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); border-radius: var(--r-lg); background: linear-gradient(180deg, var(--surface), var(--bg-2)); overflow: hidden; }
.stat { padding: 26px 28px; border-left: 1px solid var(--line); }
.stat:first-child { border-left: 0; }
.stat b { display: block; font: 400 clamp(28px, 3.2vw, 40px)/1 var(--f-display); letter-spacing: -.02em; }
.stat span { display: block; margin-top: 10px; font: 500 11px/1.3 var(--f-mono); letter-spacing: .16em; text-transform: uppercase; color: var(--dim); }

/* ---------- Video player / facade ---------- */
.player { position: relative; aspect-ratio: 16 / 9; border-radius: var(--r); overflow: hidden; background: #000; box-shadow: 0 0 0 1px var(--line-strong), 0 40px 80px -40px rgba(0,0,0,.9), 0 0 80px -30px var(--glow); }
.player iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.facade { position: absolute; inset: 0; width: 100%; height: 100%; padding: 0; border: 0; cursor: pointer; background: #000; }
.facade img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease), opacity .3s; opacity: .9; }
.facade:hover img { transform: scale(1.03); opacity: 1; }
.facade .play { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 72px; height: 72px; border-radius: 50%; display: grid; place-items: center; background: rgba(5,8,11,.55); backdrop-filter: blur(6px); border: 1px solid rgba(255,255,255,.25); transition: transform .3s var(--ease), background .3s; }
.facade .play svg { width: 24px; height: 24px; margin-left: 4px; color: #fff; }
.facade:hover .play { transform: translate(-50%, -50%) scale(1.08); background: var(--accent); }
.facade:hover .play svg { color: var(--accent-ink); }

/* ---------- Cards ---------- */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 28px 20px; }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.card { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.thumb { position: relative; aspect-ratio: 16 / 9; border-radius: var(--r); overflow: hidden; background: var(--surface-2); box-shadow: 0 0 0 1px var(--line); }
.thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease), filter .3s; }
.card:hover .thumb img { transform: scale(1.045); }
.card:hover .thumb { box-shadow: 0 0 0 1px var(--accent), 0 14px 40px -18px var(--glow); }
.thumb .dur { position: absolute; right: 8px; bottom: 8px; padding: 3px 7px; border-radius: 6px; background: rgba(0,0,0,.78); font: 500 11.5px/1.3 var(--f-mono); }
.thumb .ep { position: absolute; left: 8px; top: 8px; padding: 3px 8px; border-radius: 6px; background: var(--accent); color: var(--accent-ink); font: 600 11px/1.3 var(--f-mono); letter-spacing: .06em; }
.thumb::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(0,0,0,.45)); opacity: 0; transition: opacity .3s; }
.card:hover .thumb::after { opacity: 1; }
.card h3 { font-size: 15.5px; font-weight: 500; line-height: 1.38; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; transition: color .2s; }
.card:hover h3 { color: var(--accent-soft); }
.meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; font: 400 12.5px/1.4 var(--f-mono); color: var(--dim); }
.meta .dot { width: 3px; height: 3px; border-radius: 50%; background: currentColor; opacity: .7; }
.tag { display: inline-flex; align-items: center; padding: 3px 9px; border-radius: 999px; border: 1px solid var(--line-strong); font: 500 11px/1.4 var(--f-mono); letter-spacing: .05em; color: var(--muted); white-space: nowrap; }
a.tag:hover { border-color: var(--accent); color: var(--accent); }
.tag.adult { color: var(--adult); border-color: rgba(224,163,90,.35); }

/* horizontal rail */
.rail { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(260px, 1fr); gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 10px; scrollbar-width: thin; scrollbar-color: var(--surface-2) transparent; }
.rail > * { scroll-snap-align: start; }
.rail-4 { grid-auto-columns: calc((100% - 60px) / 4); }

/* ---------- Mood picker ---------- */
.moods { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.mood { position: relative; display: flex; flex-direction: column; justify-content: space-between; gap: 22px; padding: 22px; min-height: 150px; border-radius: var(--r); border: 1px solid var(--line); background: linear-gradient(160deg, var(--surface-2), var(--surface) 60%); overflow: hidden; transition: border-color .25s, transform .3s var(--ease); }
.mood::before { content: ""; position: absolute; width: 220px; height: 220px; right: -90px; top: -90px; border-radius: 50%; background: radial-gradient(circle, var(--glow), transparent 70%); opacity: 0; transition: opacity .4s; }
.mood:hover { border-color: var(--accent); transform: translateY(-3px); }
.mood:hover::before { opacity: 1; }
.mood small { font: 500 11px/1 var(--f-mono); letter-spacing: .18em; text-transform: uppercase; color: var(--accent); }
.mood strong { display: block; font: 500 21px/1.2 var(--f-display); letter-spacing: -.01em; }
.mood p { margin: 6px 0 0; color: var(--muted); font-size: 14px; }

/* ---------- Category tiles ---------- */
.cats { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 18px; }
.cat { display: flex; flex-direction: column; border-radius: var(--r-lg); border: 1px solid var(--line); background: var(--surface); overflow: hidden; transition: border-color .25s, transform .3s var(--ease); }
.cat:hover { border-color: var(--accent); transform: translateY(-3px); }
.cat-mosaic { display: grid; grid-template-columns: 2fr 1fr; grid-template-rows: 1fr 1fr; gap: 2px; aspect-ratio: 16 / 8; background: var(--bg); }
/* YouTube hqdefault thumbs are 4:3 with letterbox bars; cells are 4:3, so scale 134% to crop the bars */
.cat-mosaic span { display: block; background: var(--surface-2) center / 134% no-repeat; filter: saturate(.9) brightness(.85); transition: filter .3s; }
.cat-mosaic span:first-child { grid-row: span 2; }
.cat:hover .cat-mosaic span { filter: saturate(1.05) brightness(1); }
.cat-body { padding: 18px 20px 22px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.cat-body h3 { font-size: 20px; }
.cat-body p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.55; }
.cat-body .meta { margin-top: auto; padding-top: 10px; }

/* ---------- Page header ---------- */
.page-head { position: relative; padding: clamp(48px, 7vw, 88px) 0 clamp(28px, 4vw, 44px); border-bottom: 1px solid var(--line); overflow: hidden; isolation: isolate; }
.page-head::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(50% 120% at 85% 0%, rgba(60,198,207,.12), transparent 70%); }
.page-head h1 { font-size: clamp(36px, 5vw, 60px); margin: 16px 0 14px; }
.crumbs { display: flex; gap: 8px; font: 500 12px/1 var(--f-mono); letter-spacing: .08em; color: var(--dim); text-transform: uppercase; }
.crumbs a:hover { color: var(--accent); }

/* ---------- Library toolbar ---------- */
.toolbar { position: sticky; top: 68px; z-index: 20; padding: 16px 0; background: rgba(5,8,11,.9); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.toolbar-row { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.search { position: relative; flex: 1 1 280px; }
.search svg { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); width: 17px; height: 17px; color: var(--dim); pointer-events: none; }
.search input { width: 100%; height: 44px; padding: 0 16px 0 42px; border-radius: 999px; border: 1px solid var(--line-strong); background: var(--surface); color: var(--text); font: inherit; font-size: 15px; }
.search input::placeholder { color: var(--dim); }
.search input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px rgba(60,198,207,.12); }
.select { height: 44px; padding: 0 38px 0 16px; border-radius: 999px; border: 1px solid var(--line-strong); background: var(--surface) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='none' stroke='%2393a8ad' stroke-width='1.6'%3E%3Cpath d='M2 4l4 4 4-4'/%3E%3C/svg%3E") no-repeat right 15px center; color: var(--text); font: 500 14px var(--f-body); appearance: none; -webkit-appearance: none; cursor: pointer; }
.select:focus { outline: none; border-color: var(--accent); }
.chips { display: flex; gap: 8px; overflow-x: auto; padding: 14px 0 2px; scrollbar-width: none; }
.chips::-webkit-scrollbar { display: none; }
.chip { flex-shrink: 0; height: 36px; padding: 0 15px; border-radius: 999px; border: 1px solid var(--line-strong); background: transparent; color: var(--muted); font: 500 13.5px var(--f-body); cursor: pointer; transition: all .2s; display: inline-flex; align-items: center; gap: 8px; }
.chip:hover { color: var(--text); border-color: var(--dim); }
.chip[aria-pressed="true"] { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.chip .n { font: 500 11px var(--f-mono); opacity: .7; }
.result-line { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin: 28px 0 22px; color: var(--muted); font: 500 13px var(--f-mono); }
.empty { text-align: center; padding: 80px 0; color: var(--muted); }
.empty strong { display: block; font: 500 22px var(--f-display); color: var(--text); margin-bottom: 8px; }

/* ---------- Watch page ---------- */
.watch { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 36px; padding: 32px 0 80px; }
.watch h1 { font-size: clamp(24px, 2.6vw, 32px); font-weight: 500; line-height: 1.22; margin: 24px 0 14px; }
.watch-actions { display: flex; gap: 10px; flex-wrap: wrap; margin: 22px 0; }
.panel { border: 1px solid var(--line); border-radius: var(--r); background: var(--surface); padding: 22px; }
.panel + .panel { margin-top: 16px; }
.panel h4 { margin: 0 0 10px; font: 500 12px/1 var(--f-mono); letter-spacing: .16em; text-transform: uppercase; color: var(--accent); }
.panel p { margin: 0; color: var(--muted); font-size: 14.5px; }
.series-nav { display: flex; justify-content: space-between; gap: 12px; margin-top: 14px; }
.side-title { font: 500 12px/1 var(--f-mono); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin: 0 0 16px; }
.mini { display: grid; grid-template-columns: 168px 1fr; gap: 12px; padding: 8px; margin: 0 -8px; border-radius: var(--r-sm); transition: background .2s; }
.mini:hover { background: var(--surface); }
.mini .thumb { border-radius: 10px; }
.mini h3 { font-size: 14px; font-weight: 500; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.mini .meta { margin-top: 6px; font-size: 11.5px; }
.mini.current { background: var(--surface-2); box-shadow: inset 2px 0 0 var(--accent); }

/* ---------- Series ---------- */
.series-block { padding: 44px 0; border-top: 1px solid var(--line); }
.series-block:first-of-type { border-top: 0; }
.series-head { display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: end; margin-bottom: 26px; }
.series-head p { color: var(--muted); margin: 10px 0 0; max-width: 62ch; }

/* ---------- Shorts ---------- */
.shorts { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 18px; }
.short { position: relative; aspect-ratio: 9 / 16; border-radius: var(--r); overflow: hidden; background: #000; box-shadow: 0 0 0 1px var(--line); }
.short iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.short .facade img { opacity: .82; }
.short .cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 14px 14px; background: linear-gradient(180deg, transparent, rgba(0,0,0,.85)); text-align: left; pointer-events: none; }
.short .cap strong { display: block; font: 500 14px/1.35 var(--f-body); }
.short .cap span { font: 400 11.5px var(--f-mono); color: var(--muted); }
.short .facade .play { width: 54px; height: 54px; }
.rail-shorts { grid-auto-columns: minmax(170px, 1fr); }

/* ---------- About ---------- */
.about-grid { display: grid; grid-template-columns: 420px 1fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.portrait { position: relative; border-radius: var(--r-lg); overflow: hidden; box-shadow: 0 0 0 1px var(--line-strong), 0 0 90px -30px var(--glow); }
.portrait figcaption { position: absolute; left: 16px; bottom: 16px; font: 500 11px var(--f-mono); letter-spacing: .16em; text-transform: uppercase; color: var(--accent-soft); }
.prose p { color: var(--muted); font-size: 17px; margin: 0 0 18px; max-width: 64ch; }
.prose p strong { color: var(--text); font-weight: 500; }
.tips { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 16px; }
.tip { padding: 24px; border-radius: var(--r); border: 1px solid var(--line); background: var(--surface); }
.tip .num { font: 500 12px var(--f-mono); color: var(--accent); letter-spacing: .1em; }
.tip h3 { margin: 14px 0 8px; }
.tip p { margin: 0; color: var(--muted); font-size: 14.5px; }
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 22px 40px 22px 0; position: relative; font: 500 18px/1.35 var(--f-display); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%); font: 300 26px var(--f-display); color: var(--accent); transition: transform .3s var(--ease); }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { margin: 0 0 22px; color: var(--muted); max-width: 70ch; }

/* ---------- CTA band ---------- */
.cta { position: relative; display: grid; grid-template-columns: auto 1fr auto; gap: 28px; align-items: center; padding: clamp(28px, 4vw, 44px); border-radius: var(--r-lg); border: 1px solid var(--line-strong); background: radial-gradient(80% 140% at 0% 0%, rgba(60,198,207,.16), transparent 60%), var(--surface); overflow: hidden; }
.cta img { width: 96px; height: 96px; border-radius: 50%; box-shadow: 0 0 0 1px var(--line-strong), 0 0 40px -6px var(--glow); }
.cta h2 { font-size: clamp(24px, 2.8vw, 34px); }
.cta p { margin: 8px 0 0; color: var(--muted); }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); background: var(--bg-2); padding: 56px 0 36px; margin-top: 40px; }
.foot-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 32px; }
.foot-grid h5 { margin: 0 0 14px; font: 500 11px/1 var(--f-mono); letter-spacing: .18em; text-transform: uppercase; color: var(--dim); }
.foot-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.foot-grid a { color: var(--muted); font-size: 14px; }
.foot-grid a:hover { color: var(--accent); }
.foot-grid p { color: var(--muted); font-size: 14px; max-width: 36ch; margin: 14px 0 0; }
.foot-base { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 44px; padding-top: 22px; border-top: 1px solid var(--line); color: var(--dim); font: 400 12px var(--f-mono); }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .grid-4 { grid-template-columns: repeat(3, 1fr); }
  .rail-4 { grid-auto-columns: calc((100% - 40px) / 3); }
  .watch { grid-template-columns: 1fr; }
  .about-grid { grid-template-columns: 1fr; }
  .about-grid .portrait { max-width: 420px; }
}
@media (max-width: 880px) {
  .nav-toggle { display: block; }
  .nav-links { position: fixed; inset: 68px 0 auto 0; flex-direction: column; gap: 2px; padding: 12px var(--gutter) 20px; background: rgba(5,8,11,.97); border-bottom: 1px solid var(--line); transform: translateY(-8px); opacity: 0; pointer-events: none; transition: opacity .2s, transform .25s var(--ease); }
  .nav-links a { padding: 13px 14px; font-size: 16px; }
  .nav-open .nav-links { opacity: 1; transform: none; pointer-events: auto; }
  .nav-open .nav-toggle span:nth-child(1) { transform: translateY(5.5px) rotate(45deg); }
  .nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
  .nav-open .nav-toggle span:nth-child(3) { transform: translateY(-5.5px) rotate(-45deg); }
  .nav .btn-yt { display: none; }
  .hero-grid { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(3) { border-left: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--line); }
  .moods { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .rail-4 { grid-auto-columns: 72%; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .foot-grid > div:first-child { grid-column: 1 / -1; }
  .cta { grid-template-columns: 1fr; text-align: left; }
  .series-head { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .grid, .grid-4 { grid-template-columns: 1fr; }
  .moods { grid-template-columns: 1fr; }
  .mood { min-height: 0; }
  .mini { grid-template-columns: 140px 1fr; }
  .shorts { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .stat { padding: 20px; }
  .toolbar { position: static; }
  .brand-word small { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}
