:root {
  --ink: #1a2332;
  --muted: #5a6578;
  --accent: #a67c4a;
  --accent-bright: #c9a056;
  --bg: #e6ecf4;
  --panel: #f5f8fc;
  --border: rgba(26, 35, 50, 0.12);
  --font-ui: Outfit, ui-sans-serif, system-ui, sans-serif;
  --font-display: "Cormorant Garamond", Georgia, serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-ui);
  line-height: 1.55;
}

body.mkt {
  position: relative;
  isolation: isolate;
  overflow-x: hidden;
}

.mkt-ambient {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.mkt-photo {
  position: absolute;
  inset: -8%;
  background-repeat: no-repeat;
  background-size: cover;
  opacity: 0.18;
  filter: saturate(0.7) blur(8px);
}

.mkt-wm {
  position: absolute;
  object-fit: contain;
  mix-blend-mode: multiply;
  filter: saturate(0.85);
  opacity: 0.18;
}

.mkt-wm--a {
  width: min(42vw, 380px);
  left: -6%;
  bottom: -8%;
  transform: rotate(-14deg);
}

.mkt-wm--b {
  width: min(36vw, 300px);
  right: -4%;
  top: 8%;
  transform: rotate(16deg);
  opacity: 0.12;
}

.mkt-wm--c {
  width: min(28vw, 220px);
  right: 18%;
  bottom: 4%;
  transform: rotate(8deg);
  opacity: 0.1;
}

.mkt--notation .mkt-photo {
  background-image: url("/brand/wallpapers/notation-manuscript.jpg");
  background-position: center 8%;
}

.mkt--chords .mkt-photo {
  background-image: url("/brand/wallpapers/chords-hud.jpg");
  background-position: center 42%;
  mix-blend-mode: multiply;
  opacity: 0.22;
}

.mkt--leadsheet .mkt-photo {
  background-image: url("/brand/wallpapers/leadsheet-studio.jpg");
  background-position: 30% 40%;
}

.mkt--classrooms .mkt-photo {
  background-image: url("/brand/wallpapers/notation-manuscript.jpg");
  background-position: center 20%;
  opacity: 0.14;
}

.mkt-bar,
.mkt-main {
  position: relative;
  z-index: 1;
}

.mkt-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 20px;
  max-width: 980px;
  margin: 0 auto;
  padding: 18px 22px 8px;
}

.mkt-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--ink);
}

.mkt-brand img {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  object-fit: cover;
  box-shadow: 0 8px 18px -10px rgba(26, 35, 50, 0.45);
}

.mkt-wordmark {
  display: inline-flex;
  align-items: baseline;
  font-family: var(--font-display);
  line-height: 0.82;
  font-style: italic;
}

.mkt-wordmark .ink {
  font-size: 1.05rem;
  font-weight: 600;
  transform: rotate(-4deg);
  margin-right: 0.04em;
}

.mkt-wordmark .clef {
  font-size: 1.85rem;
  font-weight: 600;
  letter-spacing: -0.04em;
  background: linear-gradient(105deg, #c9a056 0%, #a67c52 28%, #7a8cb8 62%, #b7a0c9 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.mkt-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 4px;
}

.mkt-nav a {
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  color: var(--muted);
}

.mkt-nav a:hover,
.mkt-nav a.is-current {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.72);
}

.mkt-main {
  max-width: 980px;
  margin: 0 auto;
  padding: 12px 22px 64px;
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.mkt-hero {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(180px, 0.85fr);
  gap: 28px;
  align-items: center;
  padding: 36px 32px 40px;
  overflow: hidden;
  border-radius: 22px;
  border: 1px solid var(--border);
  background:
    radial-gradient(ellipse 55% 70% at 88% 35%, rgba(120, 155, 210, 0.26), transparent 60%),
    radial-gradient(ellipse 40% 50% at 8% 92%, rgba(201, 160, 86, 0.16), transparent 55%),
    linear-gradient(155deg, #f5f8fc 0%, #e9eef6 50%, #dfe7f2 100%);
  box-shadow: 0 20px 48px -16px rgba(40, 55, 80, 0.22);
}

.mkt--chords .mkt-hero {
  background:
    radial-gradient(ellipse 60% 80% at 92% 20%, rgba(0, 180, 255, 0.16), transparent 55%),
    radial-gradient(ellipse 50% 50% at 8% 90%, rgba(176, 38, 255, 0.1), transparent 50%),
    linear-gradient(155deg, #f4f7fc 0%, #e6edf8 52%, #dce6f4 100%);
}

.mkt--leadsheet .mkt-hero {
  background:
    radial-gradient(ellipse 50% 60% at 90% 30%, rgba(201, 160, 86, 0.22), transparent 58%),
    radial-gradient(ellipse 40% 45% at 6% 88%, rgba(90, 70, 50, 0.08), transparent 50%),
    linear-gradient(155deg, #f7f4ee 0%, #efe8dc 50%, #e6ecf4 100%);
}

.mkt-kicker {
  margin: 0 0 10px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
}

h1 {
  margin: 0 0 12px;
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 4vw, 2.55rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.12;
  color: var(--ink);
}

.mkt-lede {
  margin: 0;
  max-width: 48ch;
  font-size: 15px;
  color: var(--muted);
}

.mkt-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 8px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.mkt-chips li {
  font-size: 12px;
  font-weight: 600;
  color: #7a5a2e;
  padding: 5px 11px;
  border-radius: 999px;
  border: 1px solid rgba(166, 124, 74, 0.35);
  background: rgba(201, 160, 86, 0.12);
}

.mkt-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.btn-primary,
.btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 16px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
}

.btn-primary {
  background: linear-gradient(145deg, var(--accent-bright), var(--accent) 55%, #a67c52);
  color: #1a140c;
  border: 1px solid rgba(232, 201, 138, 0.45);
  box-shadow: 0 6px 18px rgba(196, 165, 116, 0.28);
}

.btn-ghost {
  color: var(--ink);
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.78);
}

.mkt-hero-frame {
  position: relative;
  justify-self: end;
  width: min(100%, 280px);
}

.mkt-hero-frame img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 22px;
  object-fit: cover;
  box-shadow:
    0 22px 44px -18px rgba(26, 35, 50, 0.35),
    0 0 0 1px rgba(26, 35, 50, 0.08);
  transform: rotate(-3deg);
  background: #fff;
}

.mkt-body {
  padding: 8px 6px 0;
}

.mkt-body p {
  margin: 0 0 14px;
  max-width: 62ch;
  color: var(--muted);
  font-size: 15px;
}

.mkt-related {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.mkt-related a {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 12px;
  align-items: center;
  padding: 12px;
  border-radius: 18px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.78);
  text-decoration: none;
  color: inherit;
  box-shadow: 0 10px 28px -16px rgba(40, 55, 80, 0.22);
}

.mkt-related img {
  width: 72px;
  height: 72px;
  border-radius: 14px;
  object-fit: cover;
  background: #eef2f8;
}

.mkt-related h2 {
  margin: 0 0 4px;
  font-size: 0.95rem;
  font-weight: 700;
}

.mkt-related p {
  margin: 0;
  font-size: 12px;
  color: var(--muted);
  line-height: 1.4;
}

.mkt-note {
  margin: 4px 0 0;
  font-size: 13px;
  color: #8a6a38;
}

@media (max-width: 720px) {
  .mkt-hero {
    grid-template-columns: 1fr;
    padding: 26px 18px 28px;
  }

  .mkt-hero-frame {
    justify-self: center;
    order: -1;
    width: min(70%, 220px);
  }

  .mkt-related {
    grid-template-columns: 1fr;
  }

  .mkt-wm--a,
  .mkt-wm--b {
    opacity: 0.08;
  }
}
