:root {
  --bg: #060815;
  --bg-soft: #0a1022;
  --panel: rgba(11, 17, 36, 0.86);
  --panel-solid: #0d1429;
  --panel-2: #121a33;
  --text: #f7f8ff;
  --muted: #aab1c8;
  --muted-2: #7f88a5;
  --line: rgba(255, 255, 255, 0.12);
  --line-strong: rgba(255, 255, 255, 0.22);
  --gold: #ffd426;
  --gold-soft: #ffe782;
  --violet: #8a6cff;
  --cyan: #51d9ff;
  --green: #52edac;
  --danger: #ff7f9b;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.38);
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 17px;
  --radius-sm: 12px;
  --shell: min(1560px, calc(100% - 40px));
  --header-height: 76px;
  --transition: 180ms ease;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 280px;
  min-height: 100vh;
  color: var(--text);
  background:
    radial-gradient(circle at 15% 8%, rgba(138, 108, 255, 0.18), transparent 30rem),
    radial-gradient(circle at 82% 12%, rgba(81, 217, 255, 0.11), transparent 27rem),
    radial-gradient(circle at 52% 84%, rgba(255, 212, 38, 0.07), transparent 32rem),
    var(--bg);
  overflow-x: clip;
}
button, input, textarea, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; }
img { display: block; max-width: 100%; }
[hidden] { display: none !important; }

::selection { color: #070910; background: var(--gold); }

.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.skip-link {
  position: fixed;
  z-index: 9999;
  top: 10px;
  left: 50%;
  transform: translate(-50%, -150%);
  padding: 12px 18px;
  border-radius: 999px;
  color: #080a12;
  background: var(--gold);
  font-weight: 850;
  text-decoration: none;
  transition: transform var(--transition);
}
.skip-link:focus { transform: translate(-50%, 0); }

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

.cosmic-field {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  overflow: hidden;
}
.cosmic-field::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.18;
  background-image:
    linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(to bottom, #000, transparent 82%);
}
.cosmic-field span {
  position: absolute;
  width: 36rem;
  aspect-ratio: 1;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.12;
}
.cosmic-field span:nth-child(1) { left: -16rem; top: 5rem; background: var(--violet); }
.cosmic-field span:nth-child(2) { right: -18rem; top: 22rem; background: var(--cyan); }
.cosmic-field span:nth-child(3) { left: 35%; bottom: -25rem; background: var(--gold); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  min-height: var(--header-height);
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
  background: rgba(6, 8, 21, 0.86);
  backdrop-filter: blur(22px) saturate(1.25);
}
.header-shell {
  width: var(--shell);
  min-height: var(--header-height);
  margin-inline: auto;
  display: flex;
  align-items: center;
  gap: 18px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  min-width: max-content;
  text-decoration: none;
}
.brand img { width: 38px; height: 38px; object-fit: contain; }
.brand span { display: grid; line-height: 1; }
.brand strong { font-size: 0.77rem; letter-spacing: 0.19em; }
.brand small { margin-top: 5px; color: var(--gold); font-size: 0.55rem; font-weight: 800; letter-spacing: 0.22em; }
.privacy-chip {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 13px;
  border: 1px solid rgba(82, 237, 172, 0.24);
  border-radius: 999px;
  color: #bff9df;
  background: rgba(82, 237, 172, 0.07);
  font-size: 0.72rem;
  font-weight: 750;
  white-space: nowrap;
}
.privacy-chip i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 16px rgba(82, 237, 172, 0.75);
}
.header-actions { display: flex; align-items: center; gap: 10px; }
.language-link {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--muted);
  text-decoration: none;
  font-size: 0.72rem;
  font-weight: 850;
}

.button, .tool-button, .view-tab {
  border: 0;
  cursor: pointer;
  text-decoration: none;
  transition: transform var(--transition), border-color var(--transition), background var(--transition), color var(--transition), box-shadow var(--transition);
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 19px;
  border-radius: 999px;
  font-weight: 850;
  letter-spacing: -0.01em;
}
.button:hover, .tool-button:hover, .view-tab:hover { transform: translateY(-2px); }
.button--small { min-height: 40px; padding-inline: 16px; font-size: 0.78rem; }
.button--primary { color: #080a12; background: var(--gold); box-shadow: 0 12px 30px rgba(255, 212, 38, 0.16); }
.button--primary:hover { background: var(--gold-soft); }
.button--ghost { border: 1px solid var(--line); color: var(--text); background: rgba(255,255,255,.035); }
.button--ghost:hover { border-color: var(--line-strong); background: rgba(255,255,255,.07); }

main { display: block; }
.builder-hero {
  width: var(--shell);
  margin-inline: auto;
  padding: clamp(54px, 7vw, 100px) 0 clamp(36px, 5vw, 70px);
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(380px, 0.95fr);
  align-items: end;
  gap: clamp(36px, 6vw, 90px);
}
.builder-hero__copy { max-width: 820px; }
.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 18px;
  color: var(--gold);
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.19em;
  text-transform: uppercase;
}
.eyebrow span { width: 38px; height: 1px; background: currentColor; }
.builder-hero h1 {
  max-width: 900px;
  margin: 0;
  font-size: clamp(3.15rem, 6.1vw, 7.4rem);
  line-height: 0.9;
  letter-spacing: -0.07em;
}
.builder-hero h1 em { color: transparent; font-style: normal; -webkit-text-stroke: 1.5px var(--gold); }
.builder-hero__copy > p:not(.eyebrow) {
  max-width: 720px;
  margin: 26px 0 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.4vw, 1.18rem);
  line-height: 1.72;
}
.hero-actions { margin-top: 30px; display: flex; flex-wrap: wrap; gap: 12px; }
.builder-principles { display: grid; gap: 12px; }
.builder-principles article {
  position: relative;
  min-height: 116px;
  padding: 20px 22px 20px 76px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, rgba(255,255,255,.055), rgba(255,255,255,.018));
  box-shadow: 0 16px 60px rgba(0,0,0,.12);
}
.builder-principles article > span {
  position: absolute;
  left: 20px;
  top: 20px;
  display: grid;
  place-items: center;
  width: 39px;
  height: 39px;
  border: 1px solid rgba(255,212,38,.3);
  border-radius: 50%;
  color: var(--gold);
  font-size: 0.67rem;
  font-weight: 900;
}
.builder-principles strong { display: block; font-size: 0.96rem; }
.builder-principles p { margin: 8px 0 0; color: var(--muted); font-size: 0.82rem; line-height: 1.55; }

.builder-workspace {
  width: var(--shell);
  margin: 0 auto clamp(70px, 8vw, 120px);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: rgba(8, 12, 27, 0.72);
  box-shadow: var(--shadow);
  overflow: clip;
}
.builder-toolbar {
  position: sticky;
  top: var(--header-height);
  z-index: 60;
  min-height: 76px;
  padding: 13px 16px;
  display: flex;
  align-items: center;
  gap: 16px;
  border-bottom: 1px solid var(--line);
  background: rgba(10, 15, 32, 0.95);
  backdrop-filter: blur(18px);
}
.view-tabs {
  display: inline-flex;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255,255,255,.025);
}
.view-tab {
  min-height: 38px;
  padding: 0 17px;
  border-radius: 999px;
  color: var(--muted);
  background: transparent;
  font-size: 0.71rem;
  font-weight: 900;
  letter-spacing: 0.09em;
}
.view-tab.is-active { color: #080a12; background: var(--gold); }
.purpose-switch {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
  display: flex;
  align-items: center;
  gap: 6px;
}
.purpose-switch legend {
  float: left;
  margin-right: 4px;
  color: var(--muted-2);
  font-size: 0.64rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.purpose-switch label { position: relative; }
.purpose-switch input { position: absolute; opacity: 0; pointer-events: none; }
.purpose-switch span {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 13px;
  border: 1px solid transparent;
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 780;
  cursor: pointer;
}
.purpose-switch input:checked + span { border-color: rgba(138,108,255,.5); color: #efeaff; background: rgba(138,108,255,.14); }
.purpose-switch input:focus-visible + span { outline: 3px solid var(--cyan); outline-offset: 3px; }
.toolbar-actions { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.tool-button {
  min-height: 38px;
  padding: 0 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--text);
  background: rgba(255,255,255,.035);
  font-size: 0.72rem;
  font-weight: 820;
}
.tool-button--accent { border-color: rgba(255,212,38,.3); color: var(--gold-soft); }
.share-status {
  max-width: 210px;
  padding: 8px 11px;
  border-radius: 10px;
  color: var(--muted-2);
  background: rgba(255,255,255,.025);
  font-size: 0.65rem;
  line-height: 1.35;
}

.workspace-grid {
  display: grid;
  grid-template-columns: minmax(420px, 0.88fr) minmax(540px, 1.12fr);
  align-items: start;
}
.editor-panel { min-width: 0; padding: 24px; border-right: 1px solid var(--line); }
.editor-overview {
  padding: 10px 4px 24px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 24px;
}
.panel-kicker { margin: 0 0 8px; color: var(--gold); font-size: 0.63rem; font-weight: 900; letter-spacing: 0.15em; }
.editor-overview h2 { margin: 0; font-size: clamp(1.7rem, 3vw, 2.4rem); letter-spacing: -0.04em; }
.editor-overview p:not(.panel-kicker) { margin: 9px 0 0; max-width: 620px; color: var(--muted); font-size: 0.82rem; line-height: 1.55; }
.completion { min-width: 160px; }
.completion > span { display: flex; justify-content: space-between; gap: 12px; color: var(--muted); font-size: 0.66rem; }
.completion b { color: var(--text); }
.completion > div { height: 6px; margin-top: 8px; border-radius: 999px; background: rgba(255,255,255,.08); overflow: hidden; }
.completion i { display: block; width: 0; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--violet), var(--gold)); transition: width 280ms ease; }

.editor-section {
  margin: 0 0 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: rgba(255,255,255,.023);
  overflow: clip;
}
.editor-section[open] { border-color: rgba(255,255,255,.18); background: rgba(255,255,255,.035); }
.editor-section summary {
  min-height: 74px;
  padding: 15px 18px;
  display: flex;
  align-items: center;
  gap: 14px;
  cursor: pointer;
  list-style: none;
}
.editor-section summary::-webkit-details-marker { display: none; }
.editor-section summary::after { content: "+"; margin-left: auto; color: var(--muted); font-size: 1.3rem; }
.editor-section[open] summary::after { content: "−"; }
.editor-section summary > span {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 37px;
  height: 37px;
  border-radius: 50%;
  color: var(--gold);
  background: rgba(255,212,38,.08);
  font-size: 0.66rem;
  font-weight: 900;
}
.editor-section summary div { min-width: 0; display: grid; gap: 4px; }
.editor-section summary strong { font-size: 0.9rem; }
.editor-section summary small { color: var(--muted-2); font-size: 0.71rem; line-height: 1.35; }
.editor-section__body { padding: 2px 18px 20px; }
.field-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 15px; }
.field { min-width: 0; }
.field--full { grid-column: 1 / -1; }
.field label, .field-group-title {
  display: block;
  margin: 0 0 8px;
  color: #dce0f0;
  font-size: 0.72rem;
  font-weight: 780;
}
.field label span { color: var(--gold); }
.field input:not([type="file"]), .field textarea, .field select, .achievement-grid input {
  width: 100%;
  min-height: 46px;
  padding: 11px 13px;
  border: 1px solid var(--line);
  border-radius: 12px;
  color: var(--text);
  background: rgba(3,7,17,.58);
  outline: none;
  transition: border-color var(--transition), box-shadow var(--transition), background var(--transition);
}
.field textarea { min-height: 112px; resize: vertical; line-height: 1.55; }
.field input::placeholder, .field textarea::placeholder { color: #68718e; }
.field input:focus, .field textarea:focus, .field select:focus, .achievement-grid input:focus {
  border-color: rgba(81,217,255,.65);
  box-shadow: 0 0 0 4px rgba(81,217,255,.08);
  background: rgba(4,9,22,.9);
}
.field input.is-invalid, .field textarea.is-invalid { border-color: rgba(255,127,155,.75); }
.field > small { display: block; margin-top: 6px; color: var(--muted-2); font-size: 0.61rem; text-align: right; }
.field-group-title { margin-bottom: 10px; }
.achievement-grid { display: grid; gap: 9px; }

.file-drop {
  position: relative;
  min-height: 94px;
  border: 1px dashed rgba(255,255,255,.2);
  border-radius: 14px;
  background: rgba(255,255,255,.02);
  overflow: hidden;
}
.file-drop:hover { border-color: rgba(255,212,38,.45); background: rgba(255,212,38,.035); }
.file-drop input {
  position: absolute;
  inset: 0;
  z-index: 2;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
}
.file-drop label {
  min-height: 94px;
  margin: 0;
  padding: 17px;
  display: grid;
  place-content: center;
  gap: 5px;
  text-align: center;
  cursor: pointer;
}
.file-drop label strong { color: var(--gold-soft); font-size: 0.78rem; }
.file-drop label span { color: var(--muted-2); font-size: 0.66rem; }
.file-status {
  margin-top: 8px;
  min-height: 22px;
  padding: 7px 9px;
  border-radius: 9px;
  color: var(--muted);
  background: rgba(255,255,255,.025);
  font-size: 0.65rem;
  line-height: 1.4;
}
.file-status--gallery { white-space: pre-line; }
.remove-file {
  margin-top: 7px;
  padding: 5px 0;
  border: 0;
  color: var(--danger);
  background: transparent;
  cursor: pointer;
  font-size: 0.66rem;
  font-weight: 800;
}
.check-field {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  padding: 13px;
  border: 1px solid var(--line);
  border-radius: 13px;
  cursor: pointer;
}
.check-field input { margin-top: 3px; accent-color: var(--gold); }
.check-field span { display: grid; gap: 4px; }
.check-field strong { font-size: 0.74rem; }
.check-field small { color: var(--muted-2); font-size: 0.65rem; line-height: 1.4; }
.material-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; }
.material-upload {
  padding: 13px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: rgba(3,7,17,.45);
}
.material-upload label { display: block; margin-bottom: 8px; font-size: 0.7rem; font-weight: 780; }
.material-upload input { width: 100%; color: var(--muted); font-size: 0.65rem; }
.material-upload span { display: block; margin-top: 8px; color: var(--muted-2); font-size: 0.62rem; overflow-wrap: anywhere; }
.material-upload button { margin-top: 7px; padding: 0; border: 0; color: var(--danger); background: transparent; cursor: pointer; font-size: 0.63rem; }
.editor-privacy-note {
  margin-top: 18px;
  padding: 17px;
  border: 1px solid rgba(82,237,172,.18);
  border-radius: var(--radius-md);
  background: rgba(82,237,172,.045);
}
.editor-privacy-note strong { color: #bff9df; font-size: 0.78rem; }
.editor-privacy-note p { margin: 7px 0 0; color: var(--muted); font-size: 0.7rem; line-height: 1.55; }

.preview-panel { min-width: 0; padding: 24px; }
.preview-frame {
  position: sticky;
  top: calc(var(--header-height) + 92px);
  border: 1px solid var(--line);
  border-radius: 24px;
  background: #080b16;
  box-shadow: 0 18px 60px rgba(0,0,0,.34);
  overflow: hidden;
}
.preview-frame__bar {
  height: 43px;
  padding: 0 15px;
  display: flex;
  align-items: center;
  gap: 7px;
  border-bottom: 1px solid rgba(255,255,255,.08);
  background: #0d1120;
}
.preview-frame__bar > span { width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,.25); }
.preview-frame__bar > span:first-child { background: #ff7e89; }
.preview-frame__bar > span:nth-child(2) { background: #ffd463; }
.preview-frame__bar > span:nth-child(3) { background: #55e7a7; }
.preview-frame__bar small { margin-left: auto; color: var(--muted-2); font-size: 0.56rem; font-weight: 850; letter-spacing: 0.13em; }

.epk-document {
  --epk-accent: #ffd426;
  display: flex;
  flex-direction: column;
  max-height: calc(100vh - 235px);
  color: #f8f8ff;
  background:
    radial-gradient(circle at 84% 5%, rgba(138,108,255,.19), transparent 26rem),
    #070a14;
  overflow: auto;
  overscroll-behavior: contain;
  scrollbar-color: rgba(255,255,255,.24) transparent;
}
.epk-document > * { flex: 0 0 auto; }
.epk-hero { order: 0; position: relative; min-height: 520px; display: grid; align-items: end; overflow: hidden; }
.epk-hero__media { position: absolute; inset: 0; background: linear-gradient(135deg,#171c35,#0b1023); }
.epk-hero__media > img { width: 100%; height: 100%; object-fit: cover; object-position: center 24%; }
.epk-hero__placeholder { width: 100%; height: 100%; display: grid; place-items: center; color: rgba(255,255,255,.2); background: radial-gradient(circle at 50% 40%,rgba(138,108,255,.33),transparent 35%), linear-gradient(135deg,#12172b,#070a14); }
.epk-hero__placeholder span { font-size: clamp(5rem,13vw,10rem); font-weight: 950; letter-spacing: -.08em; }
.epk-hero__veil { position: absolute; inset: 0; background: linear-gradient(to top, #070a14 2%, rgba(7,10,20,.76) 35%, rgba(7,10,20,.12) 78%), linear-gradient(90deg,rgba(7,10,20,.82),transparent 76%); }
.epk-hero__content { position: relative; z-index: 2; width: min(100% - 46px, 900px); padding: 58px 0 46px; }
.epk-brandline { display: flex; align-items: center; gap: 8px; color: var(--epk-accent); font-size: .58rem; font-weight: 900; letter-spacing: .16em; }
.epk-brandline img { width: 24px; height: 24px; object-fit: contain; }
.epk-purpose { display: inline-flex; margin: 18px 0 0; padding: 7px 10px; border: 1px solid rgba(255,212,38,.34); border-radius: 999px; color: #ffe783; background: rgba(255,212,38,.07); font-size: .59rem; font-weight: 850; letter-spacing: .08em; text-transform: uppercase; }
.epk-relation { margin: 14px 0 0; color: #d8dcf0; font-size: .68rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.epk-hero h2 { max-width: 760px; margin: 10px 0 0; font-size: clamp(3.1rem,7vw,6.4rem); line-height: .9; letter-spacing: -.07em; overflow-wrap: anywhere; }
.epk-tagline { max-width: 680px; margin: 17px 0 0; color: #c7cce0; font-size: clamp(.96rem,1.8vw,1.2rem); line-height: 1.55; }
.epk-meta { margin-top: 14px; display: flex; flex-wrap: wrap; gap: 8px; }
.epk-meta span { padding: 6px 9px; border: 1px solid rgba(255,255,255,.16); border-radius: 999px; color: #d6daea; background: rgba(0,0,0,.2); font-size: .61rem; font-weight: 780; }
.epk-hero__actions { margin-top: 22px; display: flex; flex-wrap: wrap; gap: 10px; }
.epk-button { min-height: 42px; padding: 0 16px; display: inline-flex; align-items: center; justify-content: center; border-radius: 999px; text-decoration: none; font-size: .69rem; font-weight: 850; }
.epk-button--primary { color: #080a12; background: var(--epk-accent); }
.epk-button--ghost { border: 1px solid rgba(255,255,255,.22); color: #fff; background: rgba(0,0,0,.25); }
.epk-socials { margin-top: 17px; display: flex; flex-wrap: wrap; gap: 7px; }
.epk-socials a { color: #cdd2e5; text-decoration: none; font-size: .62rem; font-weight: 760; }
.epk-socials a::after { content: " ↗"; color: var(--epk-accent); }

.epk-nav { order: 1; padding: 12px 23px; display: flex; flex-wrap: wrap; gap: 7px; border-bottom: 1px solid rgba(255,255,255,.09); background: rgba(9,13,26,.9); }
.epk-nav a { padding: 7px 10px; border-radius: 999px; color: #afb6cd; text-decoration: none; font-size: .6rem; font-weight: 800; }
.epk-nav a:hover { color: #fff; background: rgba(255,255,255,.07); }
.epk-empty { order: 2; margin: 26px; padding: 30px; border: 1px dashed rgba(255,255,255,.18); border-radius: 20px; text-align: center; }
.epk-empty strong { font-size: 1rem; }
.epk-empty p { margin: 8px auto 0; max-width: 620px; color: #9098b3; font-size: .75rem; line-height: 1.55; }
.epk-section { padding: clamp(34px,5vw,64px) clamp(23px,5vw,58px); border-top: 1px solid rgba(255,255,255,.08); }
.epk-section__heading p, .epk-booking-card > p { margin: 0 0 9px; color: var(--epk-accent); font-size: .58rem; font-weight: 900; letter-spacing: .17em; }
.epk-section__heading h3, .epk-booking-card h3 { margin: 0; font-size: clamp(1.9rem,4vw,3.5rem); line-height: 1; letter-spacing: -.05em; }
.epk-section--music { order: 10; }
.epk-section--bio { order: 20; }
.epk-section--video { order: 30; }
.epk-section--gallery { order: 40; }
.epk-section--proof { order: 50; }
.epk-section--booking { order: 60; }
.epk-section--materials { order: 70; }
.epk-document[data-purpose="booking"] .epk-section--booking { order: 10; }
.epk-document[data-purpose="booking"] .epk-section--music { order: 20; }
.epk-document[data-purpose="booking"] .epk-section--video { order: 30; }
.epk-document[data-purpose="booking"] .epk-section--gallery { order: 40; }
.epk-document[data-purpose="booking"] .epk-section--bio { order: 50; }
.epk-document[data-purpose="booking"] .epk-section--materials { order: 60; }
.epk-document[data-purpose="booking"] .epk-section--proof { order: 70; }
.epk-document[data-purpose="press"] .epk-section--music { order: 10; }
.epk-document[data-purpose="press"] .epk-section--bio { order: 20; }
.epk-document[data-purpose="press"] .epk-section--proof { order: 30; }
.epk-document[data-purpose="press"] .epk-section--gallery { order: 40; }
.epk-document[data-purpose="press"] .epk-section--video { order: 50; }
.epk-document[data-purpose="press"] .epk-section--booking { order: 60; }
.epk-document[data-purpose="press"] .epk-section--materials { order: 70; }
.epk-footer { order: 100; padding: 24px 30px; display: flex; justify-content: space-between; gap: 20px; border-top: 1px solid rgba(255,255,255,.08); color: #858ea9; background: #050711; }
.epk-footer div { display: flex; align-items: center; gap: 8px; color: #d9ddeb; font-size: .6rem; font-weight: 900; letter-spacing: .11em; }
.epk-footer img { width: 23px; height: 23px; object-fit: contain; }
.epk-footer p { margin: 0; max-width: 430px; font-size: .57rem; line-height: 1.45; text-align: right; }

.epk-release { margin-top: 25px; display: grid; grid-template-columns: minmax(150px,230px) 1fr; gap: 24px; align-items: center; }
.epk-release__cover { aspect-ratio: 1; border-radius: 18px; display: grid; place-items: center; overflow: hidden; background: linear-gradient(135deg,#242b4c,#10152b); box-shadow: 0 18px 55px rgba(0,0,0,.35); }
.epk-release__cover img { width: 100%; height: 100%; object-fit: cover; }
.epk-release__cover span { color: rgba(255,255,255,.35); font-size: 4rem; }
.epk-release__copy > p { margin: 0 0 8px; color: #919ab6; font-size: .66rem; font-weight: 790; letter-spacing: .08em; text-transform: uppercase; }
.epk-release__copy h4 { margin: 0; font-size: clamp(1.7rem,3.4vw,3rem); line-height: 1; letter-spacing: -.045em; overflow-wrap: anywhere; }
.epk-music-links { margin-top: 18px; display: flex; flex-wrap: wrap; gap: 8px; }
.epk-music-links a, .epk-track-list a, .epk-track-list span { padding: 8px 11px; border: 1px solid rgba(255,255,255,.14); border-radius: 999px; color: #e3e6f1; background: rgba(255,255,255,.035); text-decoration: none; font-size: .62rem; font-weight: 800; }
.epk-music-links a::after, .epk-track-list a::after { content: " ↗"; color: var(--epk-accent); }
.epk-audio { margin-top: 25px; padding: 14px; display: grid; grid-template-columns: minmax(150px,.55fr) 1fr; gap: 18px; align-items: center; border: 1px solid rgba(255,255,255,.12); border-radius: 16px; background: rgba(255,255,255,.035); }
.epk-audio div { display: grid; gap: 5px; }
.epk-audio small { color: var(--epk-accent); font-size: .55rem; font-weight: 900; letter-spacing: .13em; }
.epk-audio strong { font-size: .77rem; overflow-wrap: anywhere; }
.epk-audio audio { width: 100%; height: 40px; }
.epk-track-list { margin-top: 16px; display: flex; flex-wrap: wrap; gap: 8px; }

.epk-bio-copy { max-width: 820px; margin-top: 24px; }
.epk-bio-copy p { margin: 0; color: #b8bfd5; font-size: .83rem; line-height: 1.75; white-space: pre-line; }
.epk-bio-copy p + p { margin-top: 17px; color: #9099b5; }
.epk-bio-lead { color: #e5e8f3 !important; font-size: clamp(.98rem,1.7vw,1.18rem) !important; }

.epk-video-card { margin-top: 24px; display: grid; grid-template-columns: minmax(180px,300px) 1fr; align-items: stretch; border: 1px solid rgba(255,255,255,.12); border-radius: 20px; color: inherit; background: rgba(255,255,255,.035); text-decoration: none; overflow: hidden; }
.epk-video-card__media { min-height: 180px; display: grid; place-items: center; background: linear-gradient(135deg,#222a4d,#0d132a); overflow: hidden; }
.epk-video-card__media img { width: 100%; height: 100%; object-fit: cover; }
.epk-video-card__media span { display: grid; place-items: center; width: 62px; height: 62px; border-radius: 50%; color: #090b14; background: var(--epk-accent); font-size: 1rem; }
.epk-video-card > div:last-child { padding: 25px; display: grid; align-content: center; gap: 7px; }
.epk-video-card small { color: var(--epk-accent); font-size: .58rem; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
.epk-video-card strong { font-size: clamp(1.25rem,2.5vw,2rem); }
.epk-video-card > div:last-child > span { color: #aeb6ce; font-size: .68rem; }

.epk-gallery { margin-top: 24px; display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; }
.epk-gallery figure { position: relative; min-height: 230px; margin: 0; border-radius: 16px; overflow: hidden; background: #151a2f; }
.epk-gallery figure:first-child:nth-last-child(3), .epk-gallery figure:first-child:nth-last-child(4) { grid-row: span 2; min-height: 470px; }
.epk-gallery img { width: 100%; height: 100%; object-fit: cover; }
.epk-gallery figcaption { position: absolute; inset: auto 10px 10px; display: flex; justify-content: space-between; gap: 10px; align-items: center; padding: 8px 10px; border-radius: 10px; color: #e9ecf5; background: rgba(4,6,12,.74); backdrop-filter: blur(9px); font-size: .58rem; }
.epk-gallery figcaption a { color: var(--epk-accent); font-weight: 850; text-decoration: none; }

.epk-quotes { margin-top: 24px; display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; }
.epk-quotes blockquote { margin: 0; padding: 20px; border: 1px solid rgba(255,255,255,.12); border-radius: 16px; background: rgba(255,255,255,.03); }
.epk-quotes p { margin: 0; color: #d7dbea; font-size: .82rem; line-height: 1.65; }
.epk-quotes footer { margin-top: 12px; color: #8f98b4; font-size: .63rem; }
.epk-quotes footer a { color: var(--epk-accent); text-decoration: none; }
.epk-achievements { margin: 18px 0 0; padding: 0; display: grid; gap: 8px; list-style: none; }
.epk-achievements li { padding: 11px 13px 11px 35px; position: relative; border: 1px solid rgba(255,255,255,.1); border-radius: 12px; color: #c9cee0; font-size: .72rem; line-height: 1.5; }
.epk-achievements li::before { content: "✓"; position: absolute; left: 13px; color: var(--epk-accent); font-weight: 900; }

.epk-booking-card { padding: clamp(28px,5vw,52px); border: 1px solid rgba(255,212,38,.2); border-radius: 24px; background: radial-gradient(circle at 100% 0,rgba(255,212,38,.12),transparent 25rem), linear-gradient(135deg,#11172d,#0a0e1d); }
.epk-booking-card > p:not(:first-child) { max-width: 720px; margin: 17px 0 0; color: #b5bdd4; font-size: .81rem; line-height: 1.65; white-space: pre-line; }
.epk-booking-meta { margin-top: 18px; display: flex; flex-wrap: wrap; gap: 9px; }
.epk-booking-meta span { padding: 8px 10px; border-radius: 10px; color: #d9ddea; background: rgba(255,255,255,.05); font-size: .65rem; }
.epk-booking-actions { margin-top: 20px; display: flex; flex-wrap: wrap; gap: 9px; }
.epk-booking-card > small { display: block; margin-top: 15px; color: #858ea9; font-size: .58rem; line-height: 1.5; }
.epk-materials { margin-top: 22px; display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; }
.epk-materials a { min-height: 78px; padding: 14px; display: grid; align-content: center; gap: 5px; border: 1px solid rgba(255,255,255,.12); border-radius: 14px; color: inherit; background: rgba(255,255,255,.03); text-decoration: none; }
.epk-materials strong { font-size: .72rem; }
.epk-materials span { color: #8f98b4; font-size: .59rem; overflow-wrap: anywhere; }

body.is-previewing .workspace-grid { grid-template-columns: 1fr; }
body.is-previewing .editor-panel { display: none; }
body.is-previewing .preview-panel { padding: clamp(18px,3vw,38px); }
body.is-previewing .preview-frame { position: relative; top: auto; max-width: 1240px; margin-inline: auto; }
body.is-previewing .epk-document { max-height: none; overflow: visible; }

.builder-disclosure {
  width: var(--shell);
  margin: 0 auto clamp(80px,10vw,140px);
  padding: clamp(28px,5vw,58px);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  display: grid;
  grid-template-columns: .72fr 1.28fr;
  gap: 38px;
  background: linear-gradient(135deg,rgba(255,255,255,.045),rgba(255,255,255,.012));
}
.builder-disclosure h2 { margin: 0; font-size: clamp(2rem,4vw,4.2rem); line-height: .98; letter-spacing: -.055em; }
.disclosure-grid { display: grid; gap: 10px; }
.disclosure-grid article { padding: 17px; border: 1px solid var(--line); border-radius: 15px; background: rgba(5,8,19,.48); }
.disclosure-grid strong { font-size: .82rem; }
.disclosure-grid p { margin: 7px 0 0; color: var(--muted); font-size: .72rem; line-height: 1.55; }

.immersive-exit {
  position: fixed;
  z-index: 1000;
  top: 14px;
  right: 14px;
  min-height: 42px;
  padding: 0 15px;
  border: 1px solid rgba(255,255,255,.23);
  border-radius: 999px;
  color: #fff;
  background: rgba(4,6,12,.78);
  backdrop-filter: blur(14px);
  cursor: pointer;
  font-size: .7rem;
  font-weight: 850;
}
body.is-immersive { background: #050711; }
body.is-immersive .site-header,
body.is-immersive .builder-hero,
body.is-immersive .builder-toolbar,
body.is-immersive .editor-panel,
body.is-immersive .builder-disclosure { display: none !important; }
body.is-immersive .builder-workspace { width: 100%; margin: 0; border: 0; border-radius: 0; box-shadow: none; }
body.is-immersive .workspace-grid { display: block; }
body.is-immersive .preview-panel { padding: 0; }
body.is-immersive .preview-frame { position: static; max-width: none; border: 0; border-radius: 0; box-shadow: none; }
body.is-immersive .preview-frame__bar { display: none; }
body.is-immersive .epk-document { min-height: 100vh; max-height: none; overflow: visible; }
body.is-immersive .immersive-exit { display: inline-flex !important; align-items: center; }

.toast {
  position: fixed;
  z-index: 1200;
  left: 50%;
  bottom: 22px;
  transform: translateX(-50%);
  max-width: min(520px,calc(100% - 30px));
  padding: 12px 16px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  color: #eef1fb;
  background: rgba(11,16,32,.96);
  box-shadow: 0 18px 55px rgba(0,0,0,.4);
  font-size: .72rem;
  text-align: center;
}

@media (max-width: 1220px) {
  :root { --shell: min(100% - 30px, 1400px); }
  .workspace-grid { grid-template-columns: minmax(380px,.9fr) minmax(480px,1.1fr); }
  .builder-toolbar { flex-wrap: wrap; }
  .toolbar-actions { margin-left: 0; }
}

@media (max-width: 980px) {
  :root { --header-height: 70px; }
  .builder-hero { grid-template-columns: 1fr; }
  .builder-principles { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .builder-principles article { min-height: 148px; padding: 62px 16px 17px; }
  .builder-principles article > span { left: 16px; top: 16px; }
  .workspace-grid { grid-template-columns: 1fr; }
  .editor-panel { border-right: 0; }
  .preview-frame { position: relative; top: auto; }
  .epk-document { max-height: none; }
  body.is-editing .preview-panel { display: none; }
  .builder-disclosure { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  :root { --shell: calc(100% - 22px); }
  .header-shell { gap: 10px; }
  .brand span { display: none; }
  .privacy-chip { margin-left: 0; }
  .privacy-chip span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .privacy-chip { width: 38px; height: 38px; padding: 0; justify-content: center; }
  .header-actions { margin-left: auto; }
  .header-actions .button { display: none; }
  .builder-hero { padding-top: 46px; }
  .builder-hero h1 { font-size: clamp(3rem,14.7vw,5.5rem); }
  .builder-principles { grid-template-columns: 1fr; }
  .builder-principles article { min-height: 0; padding: 17px 17px 17px 66px; }
  .builder-principles article > span { left: 15px; top: 16px; }
  .builder-workspace { border-radius: 22px; }
  .builder-toolbar { top: var(--header-height); align-items: flex-start; gap: 10px; padding: 11px; }
  .view-tabs { width: 100%; }
  .view-tab { flex: 1; }
  .purpose-switch { width: 100%; overflow-x: auto; padding-bottom: 2px; }
  .purpose-switch legend { display: none; }
  .purpose-switch label { flex: 1 0 auto; }
  .purpose-switch span { justify-content: center; width: 100%; }
  .toolbar-actions { width: 100%; display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); }
  .tool-button { width: 100%; }
  .share-status { grid-column: 1 / -1; max-width: none; text-align: center; }
  .editor-panel, .preview-panel { padding: 14px; }
  .editor-overview { grid-template-columns: 1fr; gap: 15px; }
  .completion { min-width: 0; }
  .field-grid, .material-grid { grid-template-columns: 1fr; }
  .field--full { grid-column: auto; }
  .editor-section summary { padding: 13px; }
  .editor-section summary small { display: none; }
  .editor-section__body { padding-inline: 13px; }
  .epk-hero { min-height: 500px; }
  .epk-hero__content { width: calc(100% - 30px); padding-bottom: 32px; }
  .epk-hero h2 { font-size: clamp(3rem,15vw,5rem); }
  .epk-release, .epk-video-card { grid-template-columns: 1fr; }
  .epk-release__cover { max-width: 280px; }
  .epk-audio { grid-template-columns: 1fr; }
  .epk-gallery figure:first-child:nth-last-child(3), .epk-gallery figure:first-child:nth-last-child(4) { min-height: 360px; }
  .epk-quotes, .epk-materials { grid-template-columns: 1fr; }
  .epk-footer { flex-direction: column; }
  .epk-footer p { text-align: left; }
  .builder-disclosure { padding: 24px 18px; border-radius: 22px; }
}

@media (max-width: 470px) {
  .language-link { width: 36px; height: 36px; }
  .builder-hero__copy > p:not(.eyebrow) { font-size: .94rem; }
  .hero-actions { display: grid; }
  .hero-actions .button { width: 100%; }
  .builder-workspace { width: calc(100% - 12px); }
  .epk-hero { min-height: 470px; }
  .epk-hero__veil { background: linear-gradient(to top,#070a14 3%,rgba(7,10,20,.84) 45%,rgba(7,10,20,.22) 85%); }
  .epk-hero__actions { display: grid; }
  .epk-button { width: 100%; }
  .epk-section { padding: 34px 17px; }
  .epk-nav { padding-inline: 14px; flex-wrap: nowrap; overflow-x: auto; }
  .epk-nav a { flex: 0 0 auto; }
  .epk-gallery { grid-template-columns: 1fr; }
  .epk-gallery figure, .epk-gallery figure:first-child:nth-last-child(3), .epk-gallery figure:first-child:nth-last-child(4) { min-height: 350px; grid-row: auto; }
  .epk-booking-actions { display: grid; }
  .epk-booking-actions .epk-button { width: 100%; }
}

@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 print {
  @page { size: A4; margin: 0; }
  * { -webkit-print-color-adjust: exact !important; print-color-adjust: exact !important; }
  body { background: #fff !important; }
  body > *:not(main), .site-header, .builder-hero, .builder-toolbar, .editor-panel, .builder-disclosure, .preview-frame__bar, .immersive-exit, .toast { display: none !important; }
  main, .builder-workspace, .workspace-grid, .preview-panel, .preview-frame, .epk-document {
    display: block !important;
    width: 100% !important;
    max-width: none !important;
    max-height: none !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    overflow: visible !important;
  }
  .epk-section, .epk-booking-card, .epk-release, .epk-video-card, .epk-gallery figure { break-inside: avoid; }
  .epk-hero { min-height: 190mm; }
  .epk-document { font-size: 11pt; }
  a { text-decoration: none; }
}

.track-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}
.track-grid > div {
  min-width: 0;
  padding: 11px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: rgba(3, 7, 17, .38);
}
.track-grid label {
  display: block;
  margin-bottom: 7px;
  color: #dce0f0;
  font-size: .68rem;
  font-weight: 800;
}
.track-grid input {
  width: 100%;
  min-height: 42px;
  padding: 9px 10px;
  border: 1px solid var(--line);
  border-radius: 10px;
  color: var(--text);
  background: rgba(3, 7, 17, .58);
  outline: none;
}
.track-grid input + input { margin-top: 7px; }
.track-grid input:focus { border-color: rgba(81,217,255,.65); box-shadow: 0 0 0 4px rgba(81,217,255,.08); }
@media (max-width: 760px) { .track-grid { grid-template-columns: 1fr; } }
