:root {
  color-scheme: light;
  --aclasa-type-body: 1rem;
  --aclasa-type-control: 1rem;
  --aclasa-type-navigation: .875rem;
  --aclasa-type-label: .875rem;
  --aclasa-type-helper: .875rem;
  --aclasa-type-compact: .8125rem;
  --aclasa-type-heading-2: 1.5rem;
  --aclasa-type-heading-3: 1.125rem;
  --aclasa-type-kpi: 1.5rem;
  --white: #ffffff;
  --snow: #f8fbff;
  --ice: #ddeeff;
  --mist: #bfd8ff;
  --lavender: #dccbff;
  --blush: #f2d6ff;
  --iris: #8a63e8;
  --deep-violet: #4a2c8a;
  --violet-ink: #2f185f;
  --ink: #201933;
  --muted: #625b73;
  --gold-text: #725a00;
  --red: #d51f2f;
  --success: #17633b;
  --warning: #7b4b00;
  --line: rgba(74, 44, 138, .18);
  --radius: 1.1rem;
  --shadow: 0 1.35rem 3.5rem rgba(74, 44, 138, .14);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--snow); }
body {
  min-height: 100vh;
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 8% 7%, rgba(191, 216, 255, .68), transparent 24rem),
    radial-gradient(circle at 90% 20%, rgba(242, 214, 255, .55), transparent 28rem),
    linear-gradient(145deg, var(--snow), var(--white) 48%, #f9f5ff);
  font-size: var(--aclasa-type-body);
  line-height: 1.55;
}
body::before {
  position: fixed;
  z-index: 0;
  inset: 0;
  content: "";
  pointer-events: none;
  opacity: .32;
  background-image:
    linear-gradient(rgba(138, 99, 232, .07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(138, 99, 232, .07) 1px, transparent 1px);
  background-size: 3rem 3rem;
  mask-image: linear-gradient(to bottom, black, transparent 46rem);
}
button, input, select { font: inherit; }
button, select { cursor: pointer; }
button, input, select { min-width: 0; }
img { display: block; max-width: 100%; }
a { color: inherit; }

.skip-link {
  position: fixed;
  z-index: 100;
  top: .75rem;
  left: .75rem;
  min-height: 2.75rem;
  padding: .7rem 1rem;
  transform: translateY(-180%);
  color: var(--white);
  background: var(--deep-violet);
  border-radius: .65rem;
}
.skip-link:focus { transform: none; }
.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: sticky;
  z-index: 20;
  top: 0;
  display: grid;
  grid-template-columns: minmax(9rem, 13rem) minmax(0, 1fr) auto;
  align-items: center;
  gap: clamp(.75rem, 2vw, 2rem);
  min-height: 4.5rem;
  padding: .55rem clamp(1rem, 4vw, 3.5rem);
  color: var(--white);
  border-bottom: 1px solid rgba(255, 255, 255, .16);
  background: rgba(47, 24, 95, .94);
  box-shadow: 0 .55rem 2rem rgba(47, 24, 95, .16);
  backdrop-filter: blur(18px);
}
.brand { width: fit-content; }
.brand img { width: min(10.5rem, 30vw); height: auto; }
nav { display: flex; min-width: 0; justify-content: center; align-items: center; gap: .45rem; }
nav a,
.nav-draft {
  position: relative;
  min-height: 2.75rem;
  padding: .65rem .9rem;
  color: rgba(255, 255, 255, .82);
  border: 1px solid transparent;
  border-radius: 999px;
  background: transparent;
  font-size: var(--aclasa-type-navigation);
  line-height: 1.3;
  text-decoration: none;
}
nav a::before,
.nav-draft::before {
  position: absolute;
  z-index: -1;
  inset: -.2rem;
  content: "";
  pointer-events: none;
  border-radius: inherit;
  opacity: 0;
  box-shadow: 0 0 1.3rem rgba(220, 203, 255, .72);
  transition: opacity .18s ease;
}
nav a:hover,
nav a:focus-visible,
.nav-draft:hover,
.nav-draft:focus-visible {
  color: var(--white);
  border-color: rgba(255, 255, 255, .22);
  background: rgba(255, 255, 255, .1);
}
nav a:hover::before,
nav a:focus-visible::before,
.nav-draft:hover::before,
.nav-draft:focus-visible::before { opacity: 1; }
nav a[aria-current="page"] {
  color: var(--violet-ink);
  border-color: var(--lavender);
  background: var(--lavender);
  font-weight: 800;
}
.draft-count {
  display: inline-grid;
  place-items: center;
  min-width: 1.55rem;
  min-height: 1.55rem;
  margin-inline-start: .25rem;
  padding-inline: .25rem;
  color: var(--deep-violet);
  background: var(--white);
  border-radius: 999px;
  font-size: var(--aclasa-type-compact);
  font-weight: 850;
}
.language-control {
  display: grid;
  gap: .15rem;
  color: rgba(255, 255, 255, .82);
  font-size: var(--aclasa-type-label);
  line-height: 1.35;
}
.language-control select {
  min-height: 2.75rem;
  max-width: 14rem;
  color: var(--violet-ink);
  border: 1px solid rgba(255, 255, 255, .45);
  border-radius: .7rem;
  background: var(--white);
}

main { position: relative; z-index: 1; }
.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 9rem;
  gap: clamp(1rem, 4vw, 3rem);
  align-items: center;
  max-width: 82rem;
  min-height: 10.4rem;
  margin: 0 auto;
  padding: 1rem clamp(1rem, 4vw, 3.5rem);
}
.hero-copy { min-width: 0; max-width: 66rem; }
.eyebrow {
  margin: 0;
  color: var(--gold-text);
  font-size: var(--aclasa-type-label);
  font-weight: 850;
  line-height: 1.35;
  letter-spacing: .08em;
  text-transform: uppercase;
}
h1 {
  max-width: 24ch;
  margin: .15rem 0 .4rem;
  color: var(--gold-text);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 600;
  line-height: 1.02;
  letter-spacing: -.025em;
}
.hero-lead { max-width: 50rem; margin: 0; color: var(--ink); font-size: 1.05rem; }
.price-note {
  max-width: 52rem;
  margin: .55rem 0 0;
  padding-inline-start: .75rem;
  color: var(--muted);
  border-inline-start: .2rem solid var(--iris);
  font-size: var(--aclasa-type-helper);
  line-height: 1.5;
}
.hero-art { display: grid; place-items: center; }
.hero-frame {
  width: 7.25rem;
  aspect-ratio: 4 / 5;
  padding: .28rem;
  transform: rotate(2deg);
  border-radius: .7rem;
  background: linear-gradient(145deg, var(--mist), var(--lavender), var(--blush));
  box-shadow: var(--shadow);
}
.hero-frame img { width: 100%; height: 100%; object-fit: cover; border-radius: .45rem; }

.launch-notice {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 1rem;
  max-width: 76rem;
  margin: 0 auto 1rem;
  padding: .9rem 1rem;
  color: var(--violet-ink);
  border: 1px solid rgba(138, 99, 232, .28);
  border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(221, 238, 255, .94), rgba(220, 203, 255, .62));
  box-shadow: 0 .7rem 2rem rgba(74, 44, 138, .1);
}
.launch-notice h2 { margin: .1rem 0 .25rem; font-size: var(--aclasa-type-heading-3); }
.launch-notice p { margin: 0; }
.launch-status { color: var(--gold-text); font-size: var(--aclasa-type-label); font-weight: 850; text-transform: uppercase; letter-spacing: .06em; }
.launch-notice .primary { white-space: nowrap; }

.catalogue {
  padding: 1.15rem clamp(1rem, 4vw, 3.5rem) 5rem;
  border-top: 1px solid var(--line);
  background: rgba(255, 255, 255, .66);
}
.section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  max-width: 94rem;
  margin: 0 auto .8rem;
}
h2 {
  margin: 0;
  color: var(--deep-violet);
  font-family: Georgia, "Times New Roman", serif;
  font-size: var(--aclasa-type-heading-2);
  font-weight: 700;
  line-height: 1.15;
}
#result-count { color: var(--deep-violet); font-size: var(--aclasa-type-label); font-weight: 750; }
.filters {
  display: grid;
  grid-template-columns: minmax(15rem, 1.3fr) repeat(3, minmax(10rem, .6fr));
  gap: .75rem;
  max-width: 94rem;
  margin: 0 auto 1.25rem;
  padding: .85rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(248, 251, 255, .94);
  box-shadow: 0 .8rem 2.2rem rgba(74, 44, 138, .08);
}
.filters label:first-child { display: grid; gap: .3rem; color: var(--muted); font-size: var(--aclasa-type-label); line-height: 1.35; }
.filters input,
.filters select,
.config-fields select {
  width: 100%;
  min-height: 2.75rem;
  padding: .55rem .7rem;
  color: var(--ink);
  border: 1px solid rgba(74, 44, 138, .28);
  border-radius: .7rem;
  background: var(--white);
  font-size: var(--aclasa-type-control);
  line-height: 1.35;
}
.art-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 15.5rem), 1fr));
  gap: 1rem;
  max-width: 94rem;
  margin: 0 auto;
}
.art-card {
  display: grid;
  grid-template-rows: auto 1fr;
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 .8rem 2rem rgba(74, 44, 138, .08);
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
  overflow: hidden;
}
.art-card:hover { transform: translateY(-2px); border-color: rgba(138, 99, 232, .56); box-shadow: var(--shadow); }
.art-card figure { margin: 0; aspect-ratio: 4 / 5; overflow: hidden; background: var(--ice); }
.art-card figure img { width: 100%; height: 100%; object-fit: cover; transition: transform .25s ease; }
.art-card:hover figure img { transform: scale(1.018); }
.card-body { display: grid; min-width: 0; align-content: start; gap: .52rem; padding: .95rem; }
.content-type {
  width: fit-content;
  max-width: 100%;
  padding: .23rem .5rem;
  color: var(--deep-violet);
  border: 1px solid rgba(138, 99, 232, .26);
  border-radius: 999px;
  background: rgba(220, 203, 255, .42);
  font-size: var(--aclasa-type-compact);
  font-weight: 750;
  line-height: 1.4;
}
.song { color: var(--gold-text); font-size: var(--aclasa-type-label); font-weight: 850; line-height: 1.35; letter-spacing: .04em; text-transform: uppercase; }
.art-card h3 { margin: 0; font-size: var(--aclasa-type-heading-3); line-height: 1.25; overflow-wrap: anywhere; }
.status {
  width: fit-content;
  max-width: 100%;
  padding: .28rem .5rem;
  color: var(--success);
  border: 1px solid rgba(23, 99, 59, .24);
  border-radius: 999px;
  background: rgba(210, 244, 225, .7);
  font-size: var(--aclasa-type-label);
  line-height: 1.35;
}
.status.pending { color: var(--warning); border-color: rgba(123, 75, 0, .25); background: #fff2d7; }
.card-button,
.primary {
  min-height: 2.75rem;
  padding: .65rem .95rem;
  color: var(--white);
  border: 1px solid var(--deep-violet);
  border-radius: .72rem;
  background: linear-gradient(135deg, var(--deep-violet), var(--iris));
  font-size: var(--aclasa-type-control);
  font-weight: 800;
  line-height: 1.35;
  box-shadow: 0 .55rem 1.2rem rgba(74, 44, 138, .16);
}
.card-button:hover,
.primary:hover { background: var(--deep-violet); }
.card-button:disabled,
.primary:disabled { cursor: not-allowed; opacity: .55; box-shadow: none; }
.no-results { max-width: 94rem; margin: 2rem auto; color: var(--muted); }

footer {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding: 2.25rem 1rem;
  color: var(--gold-text);
  border-top: 1px solid var(--line);
  background: var(--white);
  font-size: var(--aclasa-type-helper);
}
footer img { width: 3.6rem; height: auto; }

dialog {
  width: min(48rem, calc(100vw - 1.5rem));
  max-height: calc(100vh - 1.5rem);
  padding: 1.3rem;
  color: var(--ink);
  border: 1px solid rgba(74, 44, 138, .26);
  border-radius: 1.2rem;
  background: var(--snow);
  box-shadow: 0 2rem 6rem rgba(47, 24, 95, .3);
  overflow: auto;
}
dialog::backdrop { background: rgba(47, 24, 95, .58); backdrop-filter: blur(4px); }
.dialog-close-form { position: sticky; z-index: 2; top: 0; display: flex; justify-content: flex-end; height: 0; }
.icon-button {
  width: 2.75rem;
  height: 2.75rem;
  color: var(--deep-violet);
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--white);
  font-size: 1.4rem;
}
.config-layout { display: grid; grid-template-columns: minmax(10rem, .7fr) minmax(0, 1fr); gap: 1.3rem; align-items: start; }
.config-layout > img { width: 100%; max-height: 30rem; object-fit: cover; border: 1px solid var(--line); border-radius: .85rem; }
.config-fields { display: grid; min-width: 0; gap: .8rem; }
.config-fields p { margin: 0; }
.config-fields label { display: grid; gap: .32rem; color: var(--muted); font-size: var(--aclasa-type-label); line-height: 1.35; }
.config-fields small { color: var(--muted); font-size: var(--aclasa-type-helper); line-height: 1.5; }
.inquiry-form { display: grid; gap: .85rem; }
.inquiry-form label { display: grid; min-width: 0; gap: .3rem; color: var(--muted); font-size: var(--aclasa-type-label); }
.inquiry-form input,
.inquiry-form textarea {
  width: 100%;
  min-height: 2.75rem;
  padding: .6rem .7rem;
  color: var(--ink);
  border: 1px solid rgba(74, 44, 138, .28);
  border-radius: .7rem;
  background: var(--white);
  font-size: var(--aclasa-type-control);
}
.inquiry-form textarea { resize: vertical; }
.inquiry-pair { display: grid; grid-template-columns: minmax(0, 1fr) minmax(7rem, .35fr); gap: .75rem; }
.price-box { margin: .15rem 0; padding: .9rem; border: 1px solid rgba(138, 99, 232, .2); border-radius: .75rem; background: linear-gradient(135deg, var(--ice), rgba(220, 203, 255, .58)); }
.price-box strong { display: block; margin-top: .2rem; color: var(--deep-violet); font-size: var(--aclasa-type-kpi); line-height: 1.1; }
.notice { color: var(--muted); line-height: 1.55; }
.blocked { padding: .8rem; color: var(--warning); border: 1px solid rgba(123, 75, 0, .25); border-radius: .75rem; background: #fff2d7; }
.draft-row { display: grid; grid-template-columns: 4.2rem minmax(0, 1fr) auto; gap: .8rem; align-items: center; padding: .8rem 0; border-bottom: 1px solid var(--line); }
.draft-row img { width: 4.2rem; height: 4.2rem; object-fit: cover; border-radius: .5rem; }
.draft-row h3,
.draft-row p { margin: 0; overflow-wrap: anywhere; }
.draft-row p { margin-top: .2rem; color: var(--muted); font-size: var(--aclasa-type-helper); }
.draft-row button { min-height: 2.75rem; color: #9f1725; border: 0; background: none; font-size: var(--aclasa-type-control); }
#download-draft { width: 100%; margin-top: 1rem; }

:focus-visible { outline: 3px solid var(--iris); outline-offset: 3px; }

@media (max-width: 980px) {
  .filters { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .filters label:first-child { grid-column: 1 / -1; }
}

@media (max-width: 760px) {
  .site-header { grid-template-columns: minmax(0, 1fr) auto; gap: .55rem; padding-inline: .8rem; }
  .site-header nav { grid-column: 1 / -1; grid-row: 2; justify-content: space-between; gap: .25rem; padding-top: .45rem; border-top: 1px solid rgba(255, 255, 255, .16); }
  .site-header nav a,
  .site-header .nav-draft { min-width: 0; padding-inline: .55rem; white-space: normal; }
  .brand img { width: 8.75rem; }
  .language-control select { width: min(10rem, 42vw); }
  .language-control span { display: none; }
  .hero { grid-template-columns: 1fr; min-height: 0; padding-block: .65rem; }
  .hero-art { display: none; }
  .launch-notice { grid-template-columns: 1fr; margin: 0 .8rem .8rem; }
  .launch-notice .primary { width: 100%; white-space: normal; }
  h1 { max-width: 24ch; margin-block: .08rem .25rem; font-size: clamp(1.6rem, 7.2vw, 2rem); line-height: 1.04; }
  .hero-lead { line-height: 1.4; }
  .price-note { margin-top: .35rem; line-height: 1.4; }
  .catalogue { padding-top: .55rem; }
  .section-head { margin-bottom: .45rem; }
  .filters { grid-template-columns: 1fr; }
  .filters label:first-child { grid-column: auto; }
  .config-layout { grid-template-columns: 1fr; }
  .inquiry-pair { grid-template-columns: 1fr; }
  .config-layout > img { max-height: 19rem; }
  .draft-row { grid-template-columns: 3.6rem minmax(0, 1fr); }
  .draft-row img { width: 3.6rem; height: 3.6rem; }
  .draft-row button { grid-column: 2; justify-self: start; }
}

@media (max-width: 380px) {
  .site-header nav { align-items: stretch; }
  .site-header nav a,
  .site-header .nav-draft { flex: 1 1 0; padding-inline: .35rem; }
  .section-head { align-items: flex-start; flex-direction: column; gap: .25rem; }
  .hero-lead { font-size: 1rem; }
}

@media (hover: none), (pointer: coarse) {
  nav a::before,
  .nav-draft::before { display: none; }
  .art-card:hover,
  .art-card:hover figure img { transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}

/* Canonical server-rendered administration surface. */
.admin-body { min-height: 100vh; background: #130d24; color: #f8f5ff; }
.admin-header { position: sticky; top: 0; z-index: 10; display: flex; align-items: center; gap: 1rem; padding: .8rem clamp(1rem, 4vw, 4rem); background: rgba(19, 13, 36, .96); border-bottom: 1px solid rgba(255,255,255,.12); }
.admin-header .brand { margin-inline-end: auto; }
.admin-header .brand img { width: 138px; height: auto; }
.admin-header button, .admin-header select, .admin-language button { min-height: 2.75rem; }
.admin-language { display: flex; align-items: end; gap: .5rem; }
.admin-language label { display: grid; gap: .25rem; font-size: .82rem; }
.admin-login { width: min(34rem, calc(100% - 2rem)); margin: clamp(3rem, 9vw, 8rem) auto; padding: clamp(1.5rem, 5vw, 3rem); border: 1px solid rgba(255,255,255,.16); border-radius: 1.5rem; background: linear-gradient(145deg, rgba(105,67,171,.3), rgba(19,13,36,.96)); box-shadow: 0 1.5rem 5rem rgba(0,0,0,.32); }
.admin-login h1, .admin-main h1 { color: #fff; overflow-wrap: anywhere; }
.admin-login p, .admin-login a { overflow-wrap: anywhere; }
.admin-login-form { display: grid; gap: 1rem; margin: 1.5rem 0; }
.admin-login-form label { display: grid; gap: .4rem; }
.admin-login-form input { min-height: 3rem; padding: .7rem .85rem; border: 1px solid rgba(255,255,255,.3); border-radius: .65rem; background: #fff; color: #171123; }
.admin-error { padding: .8rem 1rem; border-inline-start: .3rem solid #e72b3a; background: rgba(231,43,58,.13); }
.admin-main { width: min(100% - 2rem, 92rem); margin: 0 auto; padding: 2rem 0 5rem; }
.admin-title { display: flex; align-items: end; justify-content: space-between; gap: 1rem; margin-bottom: 2rem; }
.admin-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; margin-bottom: 1rem; }
.admin-stats article, .admin-panel { border: 1px solid rgba(255,255,255,.14); border-radius: 1rem; background: rgba(255,255,255,.065); }
.admin-stats article { display: grid; gap: .35rem; padding: 1.2rem; }
.admin-stats strong { color: #fff; font-size: clamp(1.8rem, 4vw, 3rem); }
.admin-stats span { color: #d8ceeb; }
.admin-panel { margin-top: 1rem; padding: clamp(1rem, 3vw, 2rem); }
.admin-table-wrap { overflow: auto; max-height: 68vh; margin-top: 1.25rem; border: 1px solid rgba(255,255,255,.13); border-radius: .75rem; }
.admin-table-wrap table { width: 100%; min-width: 76rem; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.admin-table-wrap th { position: sticky; top: 0; z-index: 1; background: #30204f; color: #fff; text-align: start; }
.admin-table-wrap th, .admin-table-wrap td { padding: .7rem .8rem; border-bottom: 1px solid rgba(255,255,255,.1); white-space: nowrap; }
.admin-table-wrap tbody tr:nth-child(even) { background: rgba(255,255,255,.04); }
@media (max-width: 760px) {
  .admin-header { flex-wrap: wrap; }
  .admin-header .brand { width: 100%; }
  .admin-language { display: grid; grid-template-columns: minmax(0, 1fr) auto; width: 100%; min-width: 0; }
  .admin-language label, .admin-language select { width: 100%; min-width: 0; }
  .admin-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .admin-title { align-items: start; flex-direction: column; }
}
