/* HuPok cosmic refresh — visual layer only. */
@font-face {
  font-family: Pretendard;
  src: url('/assets/fonts/pretendard/PretendardVariable.woff2') format('woff2');
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}
:root {
  --paper: #ffffff;
  --white: #ffffff;
  --ink: #183047;
  --muted: #52677b;
  --line: #d9e3eb;
  --dark: #f4f7fb;
  --green: #c58c50;
  --green-dark: #a97039;
  --display: Pretendard, 'Apple SD Gothic Neo', 'Malgun Gothic', sans-serif;
  --sans: Pretendard, 'Apple SD Gothic Neo', 'Malgun Gothic', system-ui, sans-serif;
  color-scheme: light;
}
html { background: #f4f7fb; scroll-behavior: smooth; }
body { color: #183047; background: #f4f7fb; font-family: var(--sans); }
::selection { color: #183047; background: #dbeaf4; }
a { color: inherit; }
:focus-visible { outline: 3px solid #a86e36 !important; outline-offset: 3px; }
button, input, select, textarea { font: inherit; }
button:not(:disabled), a { -webkit-tap-highlight-color: transparent; }
.button, .button-plan, .button-creator, .email-field .button { border-radius: 5px; transition: background-color .18s ease, color .18s ease, border-color .18s ease; }
.button-green { color: #fff; background: #a97039; }
.button-green:hover:not(:disabled) { color: #fff; background: #8d5c2e; }
.button-dark { color: #fff; background: #183047; }
.button-dark:hover:not(:disabled) { background: #284a64; }
.button-outline { border-color: #a8bfd0; color: #183047; }
.site-header { height: 76px; color: #183047; background: rgba(255,255,255,.96); border-bottom: 1px solid #d9e3eb; box-shadow: 0 2px 12px rgba(26,57,79,.035); }
.header-inner { gap: clamp(20px, 4vw, 60px); }
.brand-logo { width: 74px; }
.brand-logo img { filter: brightness(0) saturate(100%) invert(17%) sepia(25%) saturate(1030%) hue-rotate(162deg) brightness(94%) contrast(94%); }
.site-header nav > a, .soundcloud-placeholder, .account-trigger, .header-contact { color: #52677b; }
.site-header nav > a:hover, .header-contact:hover { color: #183047; }
.account-trigger { border: 1px solid #c8d7e2; border-radius: 5px; }
.menu-toggle span { background: #183047; }
.hero { color: #183047; background: #c6d9e7; }
.hero-background { background-image: linear-gradient(90deg,rgba(244,247,251,.98) 0%,rgba(244,247,251,.94) 34%,rgba(244,247,251,.72) 54%,rgba(244,247,251,.10) 100%), url('/assets/hupok-cosmic-flight-header-1600.jpg'); background-position: center, 57% center; background-size: cover; }
.hero-inner { min-height: 590px; padding-top: 52px; padding-bottom: 58px; }
.hero-copy { max-width: 650px; }
.artist-mark { display: inline-flex; align-items: center; gap: 12px; margin: 0 0 24px; }
.artist-mark img { display: block; width: 48px; height: 48px; border: 2px solid rgba(255,255,255,.92); border-radius: 50%; object-fit: cover; box-shadow: 0 2px 10px rgba(24,48,71,.14); }
.artist-mark span { display: grid; gap: 3px; }
.artist-mark strong { color: #183047; font-size: 15px; font-weight: 700; }
.artist-mark small { color: #52677b; font-size: 12px; }
.hero .eyebrow, .hero h1, .hero-description { color: #183047; }
.hero .eyebrow { margin-bottom: 16px; }
.hero h1 { max-width: 650px; margin-bottom: 22px; font-size: clamp(58px,7.1vw,94px); line-height: .99; letter-spacing: -.055em; }
.hero h1 > span { color: #315b78; }
.live-dot { background: #c58c50; box-shadow: 0 0 0 4px rgba(197,140,80,.17); }
.hero-description { max-width: 450px; margin-bottom: 26px; color: #415a70; }
.hero-text-link { color: #183047; border-color: #7892a7; }
.hero-text-link:hover { color: #315b78; border-color: #315b78; }
.hero-note { color: #52677b; }
.demo-tag { color: #825a32; }
.hero-art { right: 2px; bottom: 34px; width: 300px; padding: 16px 16px 13px; color: #183047; border: 1px solid rgba(255,255,255,.78); border-radius: 8px; background: rgba(255,255,255,.9); box-shadow: 0 14px 40px rgba(20,48,70,.13); backdrop-filter: blur(12px); }
.featured-top, .featured-bottom, .featured-artist, .featured-track strong, .featured-track > div:nth-child(2) > span:last-child { color: #52677b; }
.featured-track strong { color: #183047; }
.featured-art { border-radius: 5px; }
.art-play { color: #fff; border-radius: 50%; background: #183047; }
.platform-strip { color: #52677b; background: #fff; border-bottom: 1px solid #e1e9ef; }
.platform-strip a { color: #315b78; }
.section-index, .eyebrow { color: #52677b; }
section:not(.hero) { color: #183047; }
.site-footer { color: #d9e4ec; background: #203d55; }
.site-footer .footer-top > p { color: #b8cbd9; }
.site-footer .footer-bottom { color: #b8cbd9; border-top-color: rgba(217,228,236,.28); }
.site-footer .footer-bottom a, .site-footer .footer-bottom .privacy-link { color: #d9e4ec; }
.site-footer .brand-logo img { filter: brightness(0) invert(1); }
.site-footer a:hover { color: #fff; }
.player { color: #183047; border-top: 1px solid #cbd9e4; background: rgba(255,255,255,.98); box-shadow: 0 -8px 28px rgba(24,48,71,.09); }
.player-track-text > span, .player-demo, .player-timeline > span { color: #52677b; }
.player-toggle { color: #fff; background: #183047; }
.player .icon-button { color: #183047; }
.player input[type='range'] { accent-color: #a97039; }
.modal { color: #183047; border: 1px solid #d5e1e9; border-radius: 9px; background: #fff; box-shadow: 0 20px 70px rgba(14,37,57,.2); }
.modal::backdrop { background: rgba(18,41,60,.52); backdrop-filter: blur(3px); }
.modal h2, .modal h3, .modal .field-label { color: #183047; }
.modal-description, .service-notice, .credit-note, .account-login-note, .privacy-modal p, .privacy-modal dd { color: #52677b; }
.modal-input, .modal input[type=email], .modal select, .modal textarea { color: #183047; border: 1px solid #b9cbd8; border-radius: 4px; background: #fff; }
.modal-input::placeholder, .modal input::placeholder { color: #788b9b; }
.check-row, .format-fieldset, .visitor-gate-message, .account-balance, .account-entitlements, .account-delete-panel { color: #334e65; }
.modal-close, .icon-button { color: #183047; }
input[type='checkbox'], input[type='radio'] { accent-color: #a97039; }
input[type='range'] { accent-color: #a97039; }
.music-page, .intake-page, .studio-page, .trial-page { color: #183047; background: #f4f7fb; }
.music-page header, .intake-header, .studio-header, .trial-header, body > header { color: #183047; background: #fff; border-color: #d9e3eb; }
.music-page .brand-logo img, .intake-header .brand-logo img { filter: brightness(0) saturate(100%) invert(17%) sepia(25%) saturate(1030%) hue-rotate(162deg) brightness(94%) contrast(94%); }
.music-page a, .intake-page a, .studio-page a, .trial-page a { color: inherit; }
.music-hero { color: #183047; background: linear-gradient(115deg,#eef4f8,#dceaf3); }
.music-hero h1, .music-hero h2, .music-hero p { color: #183047; }
.connections-page, .privacy-page { color: #183047; background: #f4f7fb; }
body:has(> main > .intake-hero), body:has(> main > .music-hero) { background: #f4f7fb; }
body > header:not(.site-header) { border-bottom: 1px solid #d9e3eb; }
body > header:not(.site-header) .brand, body > header:not(.site-header) .wordmark { color: #183047; }
body > main > .intake-hero, .intake-hero, .music-hero, .studio-hero { color: #183047; }
.intake-hero h1, .intake-hero .lead, .music-hero h1, .music-hero p { color: #183047; }
.scope-card, .music-card, .artist-card, .studio-panel, .trial-card { border-color: #d9e3eb; background: #fff; box-shadow: 0 8px 26px rgba(24,48,71,.06); }
input:not([type=checkbox]):not([type=radio]):not([type=range]), select, textarea { color: #183047; }
input::placeholder, textarea::placeholder { color: #788b9b; }
button:disabled { cursor: not-allowed; }
@media (max-width: 900px) {
  .hero-inner { min-height: 550px; }
  .hero-copy { max-width: 58%; }
  .hero-art { width: 270px; }
  .hero-background { background-image: linear-gradient(90deg,rgba(244,247,251,.99),rgba(244,247,251,.91) 44%,rgba(244,247,251,.35) 100%), url('/assets/hupok-cosmic-flight-header-1600.jpg'); background-position: center, 60% center; }
}
@media (max-width: 600px) {
  .site-header { height: 66px; }
  .header-inner { gap: 12px; }
  .brand-logo { width: 66px; }
  .site-header nav { background: #fff; border: 1px solid #d9e3eb; box-shadow: 0 12px 28px rgba(24,48,71,.12); }
  .site-header nav > a { color: #183047; }
  .header-end { gap: 8px; }
  .account-trigger { padding: 9px 10px; color: #183047; }
  .header-contact { display: none; }
  .hero-inner { min-height: 650px; padding-top: 30px; padding-bottom: 235px; }
  .hero-copy { max-width: 100%; }
  .artist-mark { margin-bottom: 17px; }
  .artist-mark img { width: 42px; height: 42px; }
  .hero h1 { margin-bottom: 17px; font-size: clamp(48px,13vw,68px); letter-spacing: -.05em; }
  .hero-description { font-size: 15px; }
  .hero-actions { flex-wrap: wrap; gap: 14px 20px; }
  .hero-art { right: 0; bottom: 22px; left: 0; width: auto; }
  .hero-background { background-image: linear-gradient(180deg,rgba(244,247,251,.93) 0%,rgba(244,247,251,.90) 42%,rgba(244,247,251,.62) 68%,rgba(244,247,251,.32) 100%), url('/assets/hupok-cosmic-flight-header-1600.jpg'); background-position: center, 68% center; }
  .player-inner { gap: 10px; }
  .player-track { width: min(42vw,190px); }
  .player-demo { display: none; }
  .modal { width: min(100vw - 24px, 520px); max-height: calc(100dvh - 24px); padding: 24px 20px; }
  .music-shell, .shell { width: min(100% - 32px, 1280px); }
}
@media (max-width: 380px) {
  .hero-inner { min-height: 680px; }
  .hero-actions .button { padding-inline: 14px; gap: 14px; }
  .player-track { width: 35vw; }
  .player-transport .icon-button, .player-toggle { width: 38px; min-width: 38px; height: 38px; min-height: 38px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; transition-duration: .01ms !important; }
}
/* Additional color corrections for legacy hard-coded surfaces. */
.packs-section { color: #183047; background: #eaf1f6; }
.packs-section .section-index { color: #52677b; }
.packs-section h2 span { color: #315b78; }
.packs-section .section-description { color: #52677b; }
.collection-label, .collection-label strong { color: #52677b; }
.pack-topline h3 { color: #183047; }
.pack-topline .price, .pack-subtitle, .pack-tag, .pack-status { color: #52677b; }
.pack-bottomline { border-color: #cad9e4; }
.chart-section { background: #eef3f7; border-color: #d9e3eb; }
.chart-list { border-color: #c4d4df; }
.chart-empty h3 { color: #183047; }
.music-page #music-nav { color: #183047; background: #fff; border-color: #d9e3eb; }
.music-page #music-nav a { color: #52677b; }
.music-page #music-nav a:hover, .music-page #music-nav a[aria-current=page] { color: #183047; }
body:has(> main > .intro) .status-grid article { color: #183047; background: #e8f0f5; }
body:has(> main > .intro) .status-grid span,
body:has(> main > .intro) .status-grid small { color: #52677b; }
body:has(> main > .intro) button:not(.secondary):not(.quiet) { color: #fff; background: #183047; }
body:has(> main > .intro) button:not(.secondary):not(.quiet):hover:not(:disabled) { background: #315b78; }
body:has(> main > .intro) header .brand small { color: #52677b; }

/* Studio workspace surfaces use the same bright ink-and-ice palette. */
.sidebar { color:#183047; background:#ffffff; border-right-color:#d9e3eb; box-shadow:2px 0 16px rgba(24,48,71,.04); }
.sidebar .wordmark { color:#183047; }
.sidebar .brand-dot, .sidebar .live-dot { background:#c58c50; }
.sidebar .workspace-label, .sidebar .sidebar-footer { color:#52677b; }
.sidebar .nav-item { color:#52677b; }
.sidebar .nav-item > span:first-child { color:#52677b; }
.sidebar .nav-item.active { color:#183047; background:#eaf1f6; }
.sidebar .nav-item.active > span:first-child { color:#9b6631; }
.sidebar .nav-item:hover:not(.active) { color:#183047; background:#f4f7fb; }
.sidebar .visit-site { color:#315b78; }
.stat-card.dark { color:#183047; background:#eaf1f6; border-color:#d9e3eb; }
.stat-card.dark > span, .stat-card.dark small { color:#52677b; }
.stat-card.dark > strong { color:#183047; }
@media (max-width: 600px) {
  .hero h1 { font-size:clamp(32px, 8.2vw, 42px); letter-spacing:-1.25px; word-break:keep-all; }
}

/* Clear light-theme overrides for the separate store stylesheet. */
body.music-page { --m-ink:#183047; --m-paper:#f4f7fb; --m-white:#ffffff; --m-text:#183047; --m-muted:#52677b; --m-line:#d9e3eb; --m-accent:#c58c50; color:#183047; background:#f4f7fb; }
body.music-page .music-header { color:#183047; background:#ffffff; border-bottom:1px solid #d9e3eb; }
body.music-page .music-header nav a { color:#52677b; }
body.music-page .music-header nav a[aria-current=page], body.music-page .music-header nav a:hover { color:#183047; }
body.music-page .music-header .brand-logo img { filter:brightness(0) saturate(100%) invert(17%) sepia(25%) saturate(1030%) hue-rotate(162deg) brightness(94%) contrast(94%); }
body.music-page .music-hero .format-summary small { color:#52677b; }
body.music-page .music-hero .format-summary > div { border-color:#cbd9e4; }
body.music-page .music-hero .format-mark { border-color:#a9bdcc; color:#315b78; }
body.music-page .music-hero .wav-mark { border-color:#c58c50; color:#9b6631; }
body.music-page .music-primary-link { color:#ffffff; background:#a97039; }
body.music-page .music-primary-link:hover { background:#8d5c2e; }
body.music-page #music-nav { background:#ffffff; border:1px solid #d9e3eb; box-shadow:0 12px 28px rgba(24,48,71,.12); }
body.music-page #music-nav a { color:#52677b; }
body.music-page #music-nav a:hover, body.music-page #music-nav a[aria-current=page] { color:#183047; }
body.privacy-page { color:#183047; background:#f4f7fb; color-scheme:light; }
body.privacy-page a { color:#315b78; }
body.privacy-page header { border-color:#d9e3eb; }
body.privacy-page .brand, body.privacy-page .brand span { color:#183047; }
body.privacy-page header > a:last-child { color:#52677b; }
body.privacy-page .eyebrow, body.privacy-page .updated, body.privacy-page footer { color:#52677b; }
body.privacy-page h1, body.privacy-page h2 { color:#183047; }
body.privacy-page .lead { color:#415a70; }
body.privacy-page p { color:#52677b; }
body.privacy-page section { border-color:#d9e3eb; }
body.privacy-page .table-wrap { border-color:#d9e3eb; background:#ffffff; }
body.privacy-page th { color:#183047; background:#eaf1f6; }
body.privacy-page td { color:#334e65; }
body.privacy-page th, body.privacy-page td { border-color:#d9e3eb; }
body.privacy-page footer { border-color:#d9e3eb; }
body.privacy-page main { color:#183047; }
.intake-header nav a { color:#52677b; }
.brand-logo img { border-radius:0; }
@media(max-width:600px) { body.music-page .music-header { background:#ffffff; color:#183047; } }
