/*
Theme Name: Koson TV Premium
Theme URI: https://koson.tv/
Author: Koson TV
Author URI: https://koson.tv/
Description: Tema WordPress premium para Koson TV como marca independiente, con portada dinámica, secciones editables, perfiles de artistas, lanzamientos musicales, videoclips oficiales y optimización responsive.
Version: 2.7.0
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 7.4
License: GPL-2.0-or-later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: koson-tv
Tags: custom-logo, custom-menu, featured-images, theme-options, blog, entertainment, responsive-layout
*/

:root {
  --koson-primary: #e50914;
  --koson-accent: #f5b23d;
  --koson-dark: #08080a;
  --koson-ink: #191316;
  --koson-muted: #6d6265;
  --koson-paper: #fff7ef;
  --koson-white: #ffffff;
  --koson-soft: #fffdf9;
  --koson-line: rgba(25, 19, 22, 0.12);
  --koson-dark-line: rgba(255, 255, 255, 0.13);
  --koson-radius: 22px;
  --koson-radius-sm: 15px;
  --koson-shadow: 0 20px 60px rgba(8, 8, 10, 0.13);
  --koson-shadow-soft: 0 14px 36px rgba(8, 8, 10, 0.08);
  --koson-max: 1180px;
  --safe-bottom: env(safe-area-inset-bottom, 0px);
}

* { box-sizing: border-box; }

html {
  min-height: 100%;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  min-height: 100%;
  margin: 0;
  color: var(--koson-ink);
  background: var(--koson-paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  text-rendering: optimizeSpeed;
  overflow-x: hidden;
}

img, svg, video, iframe { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--koson-primary); }
button, input, textarea, select { font: inherit; }
button { cursor: pointer; }

.screen-reader-text, .skip-link {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link:focus {
  position: fixed;
  z-index: 100000;
  top: 12px;
  left: 12px;
  width: auto;
  height: auto;
  padding: 10px 14px;
  color: #fff;
  background: #000;
  clip: auto;
  border-radius: 999px;
}

.koson-wrap {
  width: min(var(--koson-max), calc(100% - clamp(28px, 5vw, 70px)));
  margin-inline: auto;
}

.site-shell { min-height: 100vh; isolation: isolate; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  width: 100%;
  padding-top: max(8px, env(safe-area-inset-top, 0px));
  background: rgba(255, 247, 239, 0.96);
  border-bottom: 1px solid transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  transition: background 240ms ease, box-shadow 240ms ease, border-color 240ms ease;
}

.has-header-effects .site-header { animation: headerDrop 280ms ease both; }
.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.96);
  border-bottom-color: var(--koson-line);
  box-shadow: 0 8px 22px rgba(8, 8, 10, 0.055);
}

.site-header__inner {
  min-height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.site-branding {
  display: inline-flex;
  align-items: center;
  min-width: 0;
  gap: 11px;
  color: var(--koson-ink);
}

.site-branding__logo {
  width: clamp(40px, 6vw, 52px);
  height: clamp(40px, 6vw, 52px);
  flex: 0 0 auto;
  border-radius: 16px;
  overflow: hidden;
  background: #111;
  box-shadow: 0 8px 18px rgba(8, 8, 10, 0.12);
}

.site-branding__logo img { width: 100%; height: 100%; object-fit: cover; }
.site-branding__copy { display: flex; flex-direction: column; min-width: 0; }
.site-branding strong { font-size: 1.05rem; line-height: 1.05; letter-spacing: -0.025em; white-space: nowrap; }
.site-branding small { max-width: 330px; color: var(--koson-muted); font-size: 0.76rem; line-height: 1.2; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.main-navigation { display: flex; align-items: center; justify-content: flex-end; }
.primary-menu, .footer-menu { display: flex; align-items: center; gap: 4px; list-style: none; padding: 0; margin: 0; }
.primary-menu a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 8px 11px;
  border-radius: 999px;
  color: var(--koson-ink);
  font-size: 0.9rem;
  font-weight: 750;
  letter-spacing: -0.01em;
}
.primary-menu a:hover, .primary-menu .current-menu-item > a { color: var(--koson-primary); background: rgba(229, 9, 20, 0.08); }

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  border: 1px solid var(--koson-line);
  border-radius: 15px;
  background: #fff;
  color: var(--koson-ink);
}
.nav-toggle__bar { display: block; width: 19px; height: 2px; border-radius: 999px; background: currentColor; transition: transform 220ms ease, opacity 220ms ease; }
.nav-open .nav-toggle__bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-open .nav-toggle__bar:nth-child(2) { opacity: 0; }
.nav-open .nav-toggle__bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.hero-section {
  position: relative;
  overflow: hidden;
  padding: clamp(42px, 7vw, 82px) 0 clamp(32px, 5vw, 62px);
  background:
    radial-gradient(circle at 12% 10%, rgba(245, 178, 61, 0.18), transparent 28%),
    radial-gradient(circle at 88% 18%, rgba(229, 9, 20, 0.12), transparent 32%),
    linear-gradient(135deg, #fff7ef 0%, #fff 55%, #fff1e8 100%);
}
.hero-section:after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(229, 9, 20, 0.28), transparent);
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(285px, 0.55fr);
  align-items: center;
  gap: clamp(26px, 5vw, 66px);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  color: var(--koson-primary);
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}
.eyebrow:before { content: ""; width: 8px; height: 8px; border-radius: 999px; background: var(--koson-accent); }

.hero-copy h1 {
  margin: 0;
  color: var(--koson-ink);
  font-size: clamp(2.75rem, 8vw, 5.8rem);
  line-height: 0.94;
  letter-spacing: -0.075em;
}
.hero-subtitle {
  max-width: 760px;
  margin: 18px 0 0;
  color: var(--koson-ink);
  font-size: clamp(1.12rem, 2.55vw, 1.72rem);
  line-height: 1.18;
  font-weight: 820;
  letter-spacing: -0.04em;
}
.hero-text { max-width: 700px; margin: 16px 0 0; color: var(--koson-muted); font-size: clamp(0.97rem, 1.6vw, 1.08rem); }

.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.koson-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 11px 17px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 850;
  font-size: 0.94rem;
  letter-spacing: -0.02em;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}
.koson-button:hover { transform: translateY(-1px); }
.koson-button--primary { color: #fff; background: var(--koson-primary); box-shadow: 0 12px 26px rgba(229, 9, 20, 0.22); }
.koson-button--ghost { color: var(--koson-ink); background: rgba(255, 255, 255, 0.78); border-color: var(--koson-line); }

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  max-width: 650px;
  margin-top: 26px;
}
.hero-stats a, .hero-stats > span {
  display: grid;
  gap: 1px;
  padding: 14px;
  border: 1px solid var(--koson-line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.76);
}
.hero-stats strong { font-size: clamp(1.25rem, 2.2vw, 1.75rem); line-height: 1; letter-spacing: -0.045em; }
.hero-stats span, .hero-stats em { color: var(--koson-muted); font-size: 0.82rem; font-style: normal; font-weight: 750; }

.hero-panel {
  border: 1px solid rgba(255, 255, 255, 0.76);
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.72);
  padding: clamp(16px, 2.4vw, 24px);
  box-shadow: var(--koson-shadow-soft);
  overflow: hidden;
}
.hero-panel__logo { aspect-ratio: 1 / 1; border-radius: 24px; overflow: hidden; background: var(--koson-dark); }
.hero-panel__logo img { width: 100%; height: 100%; object-fit: cover; }
.hero-panel__content { margin-top: 16px; padding: 17px; border-radius: 20px; background: linear-gradient(135deg, var(--koson-dark), #2b0a0d); color: #fff; }
.hero-panel__content span { display: block; color: var(--koson-accent); font-size: 0.74rem; font-weight: 850; text-transform: uppercase; letter-spacing: 0.08em; }
.hero-panel__content strong { display: block; margin-top: 6px; font-size: clamp(1.08rem, 2vw, 1.45rem); line-height: 1.08; letter-spacing: -0.04em; }
.hero-panel__content p { margin: 9px 0 0; color: rgba(255, 255, 255, 0.74); font-size: 0.92rem; }

.koson-section { padding: clamp(42px, 6vw, 82px) 0; }
.koson-section--intro { padding: clamp(28px, 4vw, 48px) 0; }
.koson-section--soft { background: rgba(255, 255, 255, 0.52); }
.koson-section--featured { padding-top: clamp(30px, 5vw, 62px); }
.koson-section--dark { background: var(--koson-dark); color: #fff; }
.has-lazy-sections .koson-section:not(.koson-section--intro), .has-lazy-sections .contact-section, .has-lazy-sections .site-footer { content-visibility: auto; contain-intrinsic-size: 1px 720px; }

.intro-band {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(20px, 5vw, 56px);
  padding: clamp(22px, 4vw, 34px);
  border: 1px solid var(--koson-line);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: var(--koson-shadow-soft);
}
.intro-band h2, .section-head h2, .platforms-copy h2, .contact-card h2 { margin: 0; font-size: clamp(1.55rem, 3.6vw, 2.65rem); line-height: 1.03; letter-spacing: -0.06em; }
.intro-band p, .section-head p, .platforms-copy p, .contact-card p { margin: 0; color: var(--koson-muted); font-size: clamp(0.98rem, 1.55vw, 1.08rem); }

.section-head { margin-bottom: clamp(20px, 3vw, 30px); }
.section-head--split { display: grid; grid-template-columns: minmax(0, 0.72fr) minmax(0, 0.78fr); align-items: end; gap: clamp(18px, 4vw, 50px); }
.section-head--compact { max-width: 380px; align-self: center; margin-bottom: 0; }
.section-head--compact p { margin-top: 12px; }
.section-head--dark p { color: rgba(255, 255, 255, 0.68); }
.section-head--dark h2 { color: #fff; }

.featured-layout { display: grid; grid-template-columns: minmax(250px, 0.45fr) minmax(0, 1fr); gap: clamp(18px, 4vw, 42px); }
.feature-story { display: grid; grid-template-columns: minmax(260px, 0.52fr) minmax(0, 0.65fr); gap: clamp(18px, 4vw, 34px); align-items: stretch; padding: clamp(16px, 2.6vw, 24px); border: 1px solid var(--koson-line); border-radius: 28px; background: var(--koson-white); box-shadow: var(--koson-shadow-soft); }
.feature-story__media { border-radius: 22px; overflow: hidden; background: #16090b; }
.feature-story__media img { width: 100%; height: 100%; min-height: 280px; object-fit: cover; transition: transform 300ms ease; }
.feature-story:hover .feature-story__media img { transform: scale(1.025); }
.feature-story__body { align-self: center; }
.feature-story__body h3 { margin: 9px 0 10px; font-size: clamp(1.45rem, 2.8vw, 2.25rem); line-height: 1.08; letter-spacing: -0.055em; }
.feature-story__body p { margin: 0 0 16px; color: var(--koson-muted); }

.path-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.path-card {
  position: relative;
  min-height: 240px;
  display: flex;
  flex-direction: column;
  padding: clamp(18px, 3vw, 26px);
  border: 1px solid var(--koson-line);
  border-radius: 26px;
  background: var(--koson-white);
  box-shadow: var(--koson-shadow-soft);
  overflow: hidden;
}
.path-card:before { content: ""; position: absolute; inset: 0 0 auto; height: 3px; background: linear-gradient(90deg, var(--koson-primary), var(--koson-accent)); opacity: 0.9; }
.path-card__number { position: absolute; right: 18px; top: 14px; color: rgba(25, 19, 22, 0.1); font-size: 3.4rem; font-weight: 950; line-height: 1; letter-spacing: -0.08em; }
.path-card__label { position: relative; display: inline-flex; width: fit-content; padding: 6px 10px; border-radius: 999px; color: var(--koson-primary); background: rgba(229, 9, 20, 0.08); font-size: 0.74rem; font-weight: 850; text-transform: uppercase; letter-spacing: 0.08em; }
.path-card h3 { position: relative; margin: auto 0 10px; font-size: clamp(1.25rem, 2.1vw, 1.65rem); line-height: 1.1; letter-spacing: -0.045em; }
.path-card p { position: relative; margin: 0 0 16px; color: var(--koson-muted); font-size: 0.95rem; }
.text-link { display: inline-flex; align-items: center; gap: 5px; color: var(--koson-primary); font-size: 0.93rem; font-weight: 850; letter-spacing: -0.015em; }

.post-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.post-grid--compact { gap: 14px; }
.post-card { position: relative; border: 1px solid var(--koson-line); border-radius: 24px; background: var(--koson-white); box-shadow: var(--koson-shadow-soft); overflow: hidden; transition: transform 180ms ease, box-shadow 180ms ease; }
.post-card:hover { transform: translateY(-2px); box-shadow: var(--koson-shadow); }
.post-card__media { position: relative; aspect-ratio: 16 / 10; display: block; overflow: hidden; background: #16090b; }
.post-card--artist .post-card__media { aspect-ratio: 1 / 1; }
.post-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 300ms ease; }
.post-card:hover .post-card__media img { transform: scale(1.035); }
.post-card__badge { position: absolute; left: 12px; bottom: 12px; max-width: calc(100% - 24px); padding: 6px 9px; border-radius: 999px; color: #fff; background: rgba(8, 8, 10, 0.72); font-size: 0.72rem; font-weight: 850; backdrop-filter: blur(4px); }
.post-card__body { padding: 17px; }
.post-card__meta { display: block; color: var(--koson-muted); font-size: 0.78rem; font-weight: 750; text-transform: uppercase; letter-spacing: 0.08em; }
.post-card h3 { margin: 7px 0 8px; font-size: clamp(1.04rem, 1.65vw, 1.28rem); line-height: 1.18; letter-spacing: -0.035em; }
.post-card p { margin: 0; color: var(--koson-muted); font-size: 0.93rem; line-height: 1.55; }

.video-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.video-card { border: 1px solid var(--koson-dark-line); border-radius: 26px; background: rgba(255, 255, 255, 0.06); overflow: hidden; }
.youtube-lite, .video-card__thumb { position: relative; width: 100%; aspect-ratio: 16 / 9; border: 0; padding: 0; background: #000; overflow: hidden; color: #fff; }
.youtube-lite img, .video-card__thumb img { width: 100%; height: 100%; object-fit: cover; opacity: 0.9; transition: transform 300ms ease, opacity 300ms ease; }
.youtube-lite:hover img, .video-card__thumb:hover img { transform: scale(1.025); opacity: 1; }
.youtube-lite span { position: absolute; inset: 50% auto auto 50%; width: 62px; height: 62px; transform: translate(-50%, -50%); border-radius: 999px; background: var(--koson-primary); box-shadow: 0 14px 28px rgba(0, 0, 0, 0.28); }
.youtube-lite span:after { content: ""; position: absolute; left: 25px; top: 20px; border-top: 11px solid transparent; border-bottom: 11px solid transparent; border-left: 17px solid #fff; }
.video-card iframe { width: 100%; aspect-ratio: 16 / 9; }
.video-card__body { padding: 17px; }
.video-card__body h3 { margin: 0 0 8px; font-size: clamp(1.08rem, 2vw, 1.42rem); line-height: 1.15; letter-spacing: -0.04em; }
.video-card__body p { margin: 0; color: rgba(255, 255, 255, 0.66); font-size: 0.94rem; }

.platforms-grid { display: grid; grid-template-columns: minmax(260px, 0.55fr) minmax(0, 1fr); gap: clamp(22px, 5vw, 58px); align-items: start; }
.platform-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.platform-list a { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 58px; padding: 14px 16px; border: 1px solid var(--koson-line); border-radius: 18px; background: #fff; font-weight: 850; box-shadow: 0 10px 26px rgba(8, 8, 10, 0.05); }
.platform-list strong { color: var(--koson-primary); font-size: 1rem; }

.contact-section { padding: clamp(42px, 6vw, 80px) 0; }
.contact-card { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: clamp(22px, 4vw, 36px); border-radius: 28px; background: linear-gradient(135deg, var(--koson-dark), #2a090d); color: #fff; box-shadow: var(--koson-shadow); }
.contact-card p { max-width: 640px; color: rgba(255, 255, 255, 0.72); }

.empty-state { padding: 28px; border: 1px dashed var(--koson-line); border-radius: 22px; background: rgba(255, 255, 255, 0.6); }
.empty-state h3 { margin: 0 0 8px; font-size: 1.2rem; letter-spacing: -0.035em; }
.empty-state p { margin: 0; color: var(--koson-muted); }
.empty-state--dark { border-color: var(--koson-dark-line); background: rgba(255, 255, 255, 0.06); }
.empty-state--dark p { color: rgba(255, 255, 255, 0.68); }

.page-hero, .artist-hero { padding: clamp(44px, 7vw, 82px) 0 clamp(34px, 5vw, 58px); background: linear-gradient(135deg, #fff7ef 0%, #fff 55%, #fff1e8 100%); border-bottom: 1px solid var(--koson-line); }
.page-hero h1, .artist-hero h1 { max-width: 900px; margin: 0; font-size: clamp(2rem, 5.2vw, 4.1rem); line-height: 1.02; letter-spacing: -0.07em; }
.page-hero p, .artist-hero p { max-width: 760px; margin: 16px 0 0; color: var(--koson-muted); font-size: clamp(1rem, 1.8vw, 1.12rem); }
.page-hero--post .post-kicker { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; color: var(--koson-muted); font-size: 0.82rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.08em; }
.page-hero--post .post-kicker a { color: var(--koson-primary); }

.content-section, .archive-section { padding: clamp(38px, 5vw, 72px) 0; }
.content-wrap { max-width: 860px; }
.featured-image { margin: 0 0 28px; border-radius: 26px; overflow: hidden; box-shadow: var(--koson-shadow-soft); }
.featured-image img { width: 100%; }
.entry-content { font-size: 1.02rem; color: #2a2426; }
.entry-content > *:first-child { margin-top: 0; }
.entry-content h2 { margin: 1.8em 0 0.45em; font-size: clamp(1.45rem, 3vw, 2.1rem); line-height: 1.12; letter-spacing: -0.045em; }
.entry-content h3 { margin: 1.5em 0 0.4em; font-size: clamp(1.18rem, 2.1vw, 1.55rem); line-height: 1.15; letter-spacing: -0.035em; }
.entry-content p, .entry-content li { color: #373033; }
.entry-content a { color: var(--koson-primary); font-weight: 800; }
.entry-content img { border-radius: 18px; }
.entry-content figure { margin-left: 0; margin-right: 0; }
.entry-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.entry-tags span { font-weight: 850; }
.entry-tags a { padding: 6px 10px; border-radius: 999px; background: rgba(229, 9, 20, 0.08); color: var(--koson-primary); font-size: 0.86rem; font-weight: 800; }
.post-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 34px; padding-top: 24px; border-top: 1px solid var(--koson-line); }
.post-nav div:last-child { text-align: right; }
.post-nav a { font-weight: 850; color: var(--koson-primary); }

.artist-hero__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(280px, 0.42fr); align-items: center; gap: clamp(24px, 5vw, 58px); }
.artist-hero__media { border-radius: 28px; overflow: hidden; background: var(--koson-dark); box-shadow: var(--koson-shadow-soft); }
.artist-hero__media img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; }

.pagination { display: flex; justify-content: center; gap: 6px; margin-top: 34px; }
.page-numbers { display: inline-flex; align-items: center; justify-content: center; min-width: 38px; min-height: 38px; padding: 8px 12px; border: 1px solid var(--koson-line); border-radius: 999px; background: #fff; font-weight: 800; }
.page-numbers.current { color: #fff; background: var(--koson-primary); border-color: var(--koson-primary); }
.search-form { display: flex; gap: 8px; max-width: 560px; margin-top: 22px; }
.search-field { min-width: 0; flex: 1; min-height: 46px; padding: 10px 14px; border: 1px solid var(--koson-line); border-radius: 999px; background: #fff; }
.search-submit { min-height: 46px; padding: 10px 16px; border: 0; border-radius: 999px; color: #fff; background: var(--koson-primary); font-weight: 850; }

.site-footer { padding: 46px 0 26px; background: #070709; color: #fff; }
.site-footer__grid { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px; align-items: start; padding-bottom: 26px; border-bottom: 1px solid var(--koson-dark-line); }
.site-footer .site-branding { color: #fff; }
.site-footer .site-branding small { color: rgba(255, 255, 255, 0.58); }
.site-footer__brand p { max-width: 520px; margin: 16px 0 0; color: rgba(255, 255, 255, 0.62); }
.footer-menu { flex-wrap: wrap; justify-content: flex-end; gap: 8px; }
.footer-menu a { display: inline-flex; padding: 7px 10px; border-radius: 999px; color: rgba(255, 255, 255, 0.76); font-size: 0.9rem; font-weight: 800; }
.footer-menu a:hover { color: #fff; background: rgba(255, 255, 255, 0.08); }
.site-footer__bottom { display: flex; justify-content: space-between; gap: 16px; padding-top: 20px; color: rgba(255, 255, 255, 0.54); font-size: 0.86rem; }

.back-to-top { position: fixed; right: max(18px, env(safe-area-inset-right, 0px)); bottom: calc(18px + var(--safe-bottom)); z-index: 1000; width: 46px; height: 46px; border: 0; border-radius: 999px; color: #fff; background: var(--koson-primary); box-shadow: 0 14px 28px rgba(229, 9, 20, 0.26); opacity: 0; visibility: hidden; transform: translateY(12px); transition: opacity 200ms ease, transform 200ms ease, visibility 200ms ease; }
.back-to-top.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top span { font-size: 1.2rem; font-weight: 900; }

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

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *:before, *:after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}

@media (max-width: 1080px) {
  .post-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .featured-layout { grid-template-columns: 1fr; }
  .section-head--compact { max-width: 720px; }
}

@media (max-width: 980px) {
  .nav-toggle { display: inline-flex; }
  .main-navigation { position: fixed; top: calc(78px + env(safe-area-inset-top, 0px)); left: clamp(14px, 5vw, 28px); right: clamp(14px, 5vw, 28px); display: none; padding: 12px; border: 1px solid var(--koson-line); border-radius: 20px; background: #fff; box-shadow: 0 18px 45px rgba(8, 8, 10, 0.12); }
  .main-navigation.is-open { display: block; }
  .primary-menu { display: grid; gap: 5px; }
  .primary-menu a { width: 100%; justify-content: space-between; }
  .hero-grid, .intro-band, .section-head--split, .platforms-grid, .artist-hero__grid { grid-template-columns: 1fr; }
  .hero-panel { max-width: 420px; }
  .section-head--split { align-items: start; }
  .feature-story { grid-template-columns: 1fr; }
  .platform-list { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
  body { font-size: 15.5px; }
  .koson-wrap { width: min(100% - 26px, var(--koson-max)); }
  .site-header__inner { min-height: 60px; }
  .site-branding__logo { width: 40px; height: 40px; border-radius: 13px; }
  .site-branding small { max-width: 176px; }
  .hero-section { padding: 30px 0 32px; }
  .hero-copy h1 { font-size: clamp(2.4rem, 15vw, 4rem); }
  .hero-subtitle { font-size: 1.08rem; letter-spacing: -0.028em; }
  .hero-stats, .path-grid, .post-grid, .video-grid, .platform-list { grid-template-columns: 1fr; }
  .hero-panel { display: none; }
  .intro-band, .contact-card { padding: 20px; border-radius: 23px; }
  .contact-card { align-items: flex-start; flex-direction: column; }
  .koson-button { width: 100%; }
  .feature-story__media img { min-height: 220px; }
  .post-nav { grid-template-columns: 1fr; }
  .post-nav div:last-child { text-align: left; }
  .site-footer__grid { grid-template-columns: 1fr; }
  .footer-menu { justify-content: flex-start; }
  .site-footer__bottom { flex-direction: column; }
  .search-form { flex-direction: column; }
  .search-submit { width: 100%; }
}
