/* Essence Music Rights — shared styles */
:root {
    --bg: #0a1624;
    --bg-2: #0f2135;
    --panel: rgba(18, 38, 61, 0.66);
    --card: #16304b;
    --ink: #f5f7fa;
    --soft: #c5d2e0;
    --muted: #9aaec4;
    --faint: #52667d;
    --line: rgba(201, 162, 39, 0.14);
    --line-2: rgba(201, 162, 39, 0.3);
    --gold: #c9a227;
    --gold-2: #e2c15a;
    --grad: linear-gradient(120deg, #f1d77c 0%, #c9a227 55%, #a37f14 100%);
    --serif: 'Fraunces', Georgia, 'Times New Roman', serif;
    --sans: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
    --wrap: 1220px;
    --gutter: clamp(1.25rem, 3vw, 2.25rem);
    --ease: cubic-bezier(0.22, 1, 0.36, 1);
    --r: 18px;
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }

body { font-family: var(--sans); font-size: 16.5px; line-height: 1.65; background: var(--bg); color: var(--ink); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
body::before { content: ''; position: fixed; inset: 0; z-index: 0; pointer-events: none; background: radial-gradient(ellipse 60% 45% at 85% 0%, rgba(201, 162, 39, 0.1), transparent 60%), radial-gradient(ellipse 70% 50% at 0% 100%, rgba(22, 48, 75, 0.9), transparent 70%); }

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
::selection { background: var(--gold); color: #0a1624; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }

.scan { position: fixed; inset: 0; width: 100vw; height: 100vh; z-index: 0; pointer-events: none; }
main, footer { position: relative; z-index: 1; }

.eyebrow { display: inline-flex; align-items: center; gap: 0.6rem; font-size: 0.76rem; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold-2); }
.eyebrow::before { content: ''; width: 8px; height: 8px; transform: rotate(45deg); border: 1.5px solid var(--gold); }

.serif { font-family: var(--serif); font-weight: 500; letter-spacing: -0.02em; line-height: 1.05; font-optical-sizing: auto; }
.serif em { font-style: italic; font-weight: 400; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; padding-right: 0.06em; }

/* ---------- Buttons ---------- */
.btn { position: relative; display: inline-flex; align-items: center; gap: 0.6rem; padding: 0.95rem 1.5rem; border-radius: 12px; font-weight: 600; font-size: 0.95rem; border: 1px solid var(--line-2); background: rgba(201, 162, 39, 0.04); overflow: hidden; isolation: isolate; white-space: nowrap; cursor: pointer; transition: border-color 0.3s ease, color 0.3s ease, transform 0.35s var(--ease), box-shadow 0.3s ease; }
.btn::before { content: ''; position: absolute; inset: 0; z-index: -1; background: var(--grad); transform: translateY(101%); transition: transform 0.45s var(--ease); }
.btn:hover { color: #0a1624; border-color: var(--gold); transform: translateY(-2px); box-shadow: 0 12px 34px rgba(201, 162, 39, 0.2); }
.btn:hover::before { transform: none; }
.btn .arr { transition: transform 0.3s var(--ease); }
.btn:hover .arr { transform: translateX(4px); }
.btn-gold { background: var(--grad); border-color: transparent; color: #0a1624; }
.btn-gold::before { background: #fff3c4; }
.btn-sm { padding: 0.6rem 1rem; font-size: 0.86rem; }
.actions { display: flex; flex-wrap: wrap; gap: 0.7rem; margin-top: 2.1rem; }

/* ---------- Header ---------- */
.site-header { position: fixed; inset: 0 0 auto 0; z-index: 60; border-bottom: 1px solid transparent; transition: background 0.35s ease, border-color 0.35s ease, transform 0.45s var(--ease); }
.site-header.scrolled { background: rgba(10, 22, 36, 0.82); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border-bottom-color: var(--line); }
.site-header.hidden { transform: translateY(-100%); }
.header-inner { display: flex; align-items: center; gap: 2rem; height: 78px; }
.brand { display: flex; align-items: center; gap: 0.7rem; }
.brand svg { width: 36px; height: 36px; transition: transform 0.6s var(--ease); }
.brand:hover svg { transform: rotate(-8deg); }
.brand .name { font-family: var(--serif); font-weight: 600; font-size: 1.3rem; letter-spacing: -0.02em; line-height: 1; }
.brand .name small { display: block; font-family: var(--sans); font-weight: 600; font-size: 0.58rem; letter-spacing: 0.28em; text-transform: uppercase; color: var(--gold-2); margin-top: 4px; }
.site-header nav[aria-label="Main"] { margin-left: auto; }
.nav { display: flex; gap: 1.8rem; list-style: none; }
.nav a { position: relative; font-weight: 500; font-size: 0.94rem; color: var(--muted); transition: color 0.2s ease; }
.nav a::after { content: ''; position: absolute; left: 0; right: 0; bottom: -6px; height: 1px; background: var(--gold); transform: scaleX(0); transition: transform 0.4s var(--ease); }
.nav a:hover, .nav a[aria-current="page"] { color: var(--ink); }
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }
.menu-btn { display: none; margin-left: auto; width: 46px; height: 46px; border-radius: 12px; border: 1px solid var(--line-2); background: none; cursor: pointer; }
.menu-btn span { display: block; width: 16px; height: 1.5px; background: var(--ink); margin: 4px auto; transition: transform 0.35s var(--ease), opacity 0.2s ease; }
.menu-btn[aria-expanded="true"] span:nth-child(1) { transform: translateY(5.5px) rotate(45deg); }
.menu-btn[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-btn[aria-expanded="true"] span:nth-child(3) { transform: translateY(-5.5px) rotate(-45deg); }
.mobile-nav { position: fixed; inset: 78px 0 0 0; background: var(--bg); padding: 1.25rem var(--gutter) 2rem; display: flex; flex-direction: column; opacity: 0; visibility: hidden; transition: opacity 0.3s ease, visibility 0.3s ease; }
.mobile-nav.open { opacity: 1; visibility: visible; }
.mobile-nav a { font-family: var(--serif); font-weight: 500; font-size: clamp(2rem, 9vw, 2.7rem); padding: 0.5rem 0; border-bottom: 1px solid var(--line); transform: translateY(14px); opacity: 0; transition: transform 0.5s var(--ease), opacity 0.4s ease; }
.mobile-nav.open a { transform: none; opacity: 1; }
.mobile-nav.open a:nth-child(2) { transition-delay: 0.04s; }
.mobile-nav.open a:nth-child(3) { transition-delay: 0.08s; }
.mobile-nav.open a:nth-child(4) { transition-delay: 0.12s; }
.mobile-nav.open a:nth-child(5) { transition-delay: 0.16s; }
.mobile-nav a[aria-current="page"] { color: var(--gold-2); }
.mobile-nav .btn { margin-top: 1.5rem; align-self: flex-start; font-family: var(--sans); font-size: 1rem; border-bottom: 1px solid transparent; }

/* ---------- Reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.9s var(--ease), transform 1s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.d1 { transition-delay: 0.08s !important; }
.d2 { transition-delay: 0.16s !important; }
.d3 { transition-delay: 0.24s !important; }
.js [data-lines] .ln { display: block; overflow: hidden; padding-bottom: 0.12em; margin-bottom: -0.12em; }
.js [data-lines] .ln > span { display: inline-block; transform: translateY(105%); transition: transform 1.1s var(--ease); }
[data-lines].in .ln > span { transform: none; }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: min(100svh, 920px); display: flex; align-items: center; padding: 140px 0 90px; }
.hero .wrap { width: 100%; }
.hero-grid { display: grid; grid-template-columns: 1.25fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.hero h1 { font-size: clamp(3rem, 7.2vw, 6.4rem); margin-top: 1.3rem; }
.hero .lead { max-width: 50ch; color: var(--soft); font-size: clamp(1.04rem, 1.5vw, 1.18rem); margin-top: 1.6rem; }
.trust { list-style: none; display: grid; gap: 0.7rem; margin-top: 2.4rem; }
.trust li { display: flex; gap: 0.8rem; align-items: flex-start; color: var(--muted); font-size: 0.95rem; }
.trust li svg { flex: none; width: 20px; height: 20px; color: var(--gold); margin-top: 2px; }

/* Claim ticket (hero side card) */
.ticket { position: relative; padding: 1.6rem; border-radius: 22px; border: 1px solid var(--line-2); background: linear-gradient(160deg, rgba(22, 48, 75, 0.9), rgba(15, 33, 53, 0.85)); backdrop-filter: blur(12px); box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45); }
.ticket .row { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 0.75rem 0; border-bottom: 1px dashed rgba(201, 162, 39, 0.22); font-size: 0.9rem; }
.ticket .row:last-of-type { border-bottom: 0; }
.ticket .row span { color: var(--muted); }
.ticket .row b { font-weight: 600; text-align: right; }
.ticket .top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 0.6rem; }
.ticket .top .id { font-family: var(--serif); font-size: 1.35rem; }
.status { display: inline-flex; align-items: center; gap: 0.45rem; padding: 0.35rem 0.75rem; border-radius: 999px; font-size: 0.75rem; font-weight: 600; background: rgba(201, 162, 39, 0.12); color: var(--gold-2); border: 1px solid var(--line-2); }
.status i { width: 7px; height: 7px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 10px var(--gold); animation: blink 1.6s ease-in-out infinite; }
@keyframes blink { 50% { opacity: 0.3; } }
.ticket .bar { height: 6px; border-radius: 6px; background: rgba(255, 255, 255, 0.06); overflow: hidden; margin-top: 1.1rem; }
.ticket .bar span { display: block; height: 100%; width: 0; background: var(--grad); border-radius: inherit; transition: width 2.2s var(--ease) 0.6s; }
.ticket.in .bar span { width: 82%; }
.ticket .note { margin-top: 0.8rem; font-size: 0.78rem; color: var(--faint); }

/* ---------- Sections ---------- */
section { padding: clamp(5rem, 10vw, 7.5rem) 0; }
section.bt { border-top: 1px solid var(--line); }
.head { display: grid; grid-template-columns: 1.3fr 1fr; gap: 2rem; align-items: end; margin-bottom: clamp(2.5rem, 6vw, 3.75rem); }
.head h2 { font-size: clamp(2.3rem, 5vw, 4rem); margin-top: 1rem; }
.head p { color: var(--muted); max-width: 44ch; }

/* ---------- Cards ---------- */
.grid { display: grid; gap: 1rem; }
.g2 { grid-template-columns: repeat(2, 1fr); }
.g3 { grid-template-columns: repeat(3, 1fr); }
.g4 { grid-template-columns: repeat(4, 1fr); }
.card { position: relative; display: block; padding: clamp(1.5rem, 2.5vw, 2rem); border-radius: var(--r); border: 1px solid rgba(154, 174, 196, 0.12); background: var(--panel); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); overflow: hidden; transition: border-color 0.35s ease, transform 0.5s var(--ease), background 0.35s ease; }
.card::after { content: ''; position: absolute; left: 0; top: 0; height: 2px; width: 100%; background: var(--grad); transform: scaleX(0); transform-origin: left; transition: transform 0.6s var(--ease); }
.card:hover { border-color: var(--line-2); transform: translateY(-4px); background: rgba(22, 48, 75, 0.82); }
.card:hover::after { transform: scaleX(1); }
.card .ico { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; background: rgba(201, 162, 39, 0.1); border: 1px solid var(--line-2); color: var(--gold-2); }
.card .ico svg { width: 22px; height: 22px; }
.card h3 { font-family: var(--serif); font-weight: 500; font-size: 1.45rem; line-height: 1.2; margin: 1.2rem 0 0.5rem; }
.card p { color: var(--muted); font-size: 0.97rem; }
.card .num { font-family: var(--serif); font-style: italic; font-size: 2.8rem; line-height: 1; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* Process */
.process { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; counter-reset: p; }
.process .card { padding-top: 2.4rem; }
.process .card .num { position: absolute; right: 1.2rem; top: 1rem; font-size: 2.4rem; opacity: 0.9; }

/* ---------- Page head ---------- */
.page-head { padding: clamp(9rem, 17vw, 12rem) 0 clamp(3rem, 7vw, 4.5rem); border-bottom: 1px solid var(--line); }
.page-head h1 { font-size: clamp(3rem, 7.5vw, 6rem); margin-top: 1.2rem; max-width: 16ch; }
.page-head .lead { max-width: 54ch; color: var(--soft); font-size: clamp(1.02rem, 1.5vw, 1.15rem); margin-top: 1.4rem; }

/* ---------- FAQ ---------- */
.acc-list { display: grid; gap: 0.7rem; }
.acc-list details { border: 1px solid rgba(154, 174, 196, 0.12); border-radius: 14px; background: var(--panel); backdrop-filter: blur(10px); transition: border-color 0.3s ease; }
.acc-list details[open] { border-color: var(--line-2); }
.acc-list summary { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1.15rem 1.3rem; cursor: pointer; list-style: none; font-family: var(--serif); font-weight: 500; font-size: 1.15rem; }
.acc-list summary::-webkit-details-marker { display: none; }
.acc-list .pm { flex: none; width: 30px; height: 30px; border-radius: 8px; display: grid; place-items: center; border: 1px solid var(--line-2); color: var(--gold-2); transition: transform 0.35s var(--ease), background 0.3s ease; }
.acc-list details[open] .pm { transform: rotate(45deg); background: rgba(201, 162, 39, 0.12); }
.acc-list p { color: var(--muted); padding: 0 1.3rem 1.2rem; max-width: 66ch; }

/* ---------- Claim form ---------- */
.form { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem 1.1rem; padding: clamp(1.5rem, 3vw, 2.2rem); border-radius: 22px; border: 1px solid var(--line-2); background: var(--panel); backdrop-filter: blur(12px); }
.field { display: grid; gap: 0.4rem; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 0.72rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.field input, .field select, .field textarea { width: 100%; padding: 0.85rem 1rem; border-radius: 10px; border: 1px solid rgba(154, 174, 196, 0.2); background: rgba(10, 22, 36, 0.7); color: var(--ink); outline: none; transition: border-color 0.2s ease, box-shadow 0.2s ease; }
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(201, 162, 39, 0.15); }
.field input[type="checkbox"] { width: auto; padding: 0; flex: none; }
.field label.consent { display: flex; gap: 0.7rem; align-items: flex-start; font-size: 0.88rem; color: var(--muted); letter-spacing: 0; text-transform: none; font-weight: 400; }
.field label.consent input { margin-top: 4px; }
.checks { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.checks label { display: inline-flex; align-items: center; gap: 0.45rem; white-space: nowrap; padding: 0.5rem 0.8rem; border-radius: 999px; border: 1px solid rgba(154, 174, 196, 0.2); font-size: 0.86rem; letter-spacing: 0; text-transform: none; color: var(--soft); cursor: pointer; }
.checks input { accent-color: var(--gold); }
.consent { display: flex; gap: 0.7rem; align-items: flex-start; font-size: 0.88rem; color: var(--muted); letter-spacing: 0; text-transform: none; font-weight: 400; }
.consent input { margin-top: 4px; accent-color: var(--gold); }
.form .hint { grid-column: 1 / -1; font-size: 0.84rem; color: var(--faint); }
.form .err { color: #f5a3a3; font-size: 0.8rem; min-height: 1em; }

/* ---------- Legal ---------- */
.legal > * { max-width: 760px; }
.legal h2 { font-family: var(--serif); font-weight: 500; font-size: 1.5rem; margin: 2.3rem 0 0.6rem; }
.legal p, .legal li { color: var(--soft); }
.legal ul { padding-left: 1.2rem; display: grid; gap: 0.35rem; margin-top: 0.5rem; }
.legal a { color: var(--gold-2); }

/* ---------- CTA ---------- */
.cta-card { position: relative; padding: clamp(2.5rem, 7vw, 4.5rem); border-radius: 28px; border: 1px solid var(--line-2); background: radial-gradient(ellipse at 100% 0%, rgba(201, 162, 39, 0.18), transparent 55%), var(--panel); backdrop-filter: blur(12px); overflow: hidden; }
.cta-card h2 { font-size: clamp(2.4rem, 5.6vw, 4.4rem); max-width: 16ch; }
.cta-card p { color: var(--soft); max-width: 48ch; margin-top: 1.2rem; }

/* ---------- Footer ---------- */
footer { border-top: 1px solid var(--line); padding: clamp(3.5rem, 8vw, 5rem) 0 2rem; background: linear-gradient(transparent, #07111d 40%); }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 2rem; }
.footer-grid p { color: var(--muted); font-size: 0.95rem; max-width: 34ch; margin-top: 1rem; }
.footer-grid h4 { font-size: 0.72rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold-2); margin-bottom: 1rem; }
.footer-grid ul { list-style: none; }
.footer-grid li + li { margin-top: 0.5rem; }
.footer-grid li a { color: var(--muted); transition: color 0.2s ease; }
.footer-grid li a:hover { color: var(--ink); }
.footer-mark { font-family: var(--serif); font-style: italic; font-weight: 400; text-align: center; white-space: nowrap; font-size: min(calc((100vw - 2 * var(--gutter)) / 4.3), 16rem); line-height: 0.95; letter-spacing: -0.04em; margin: clamp(2.5rem, 6vw, 4rem) 0 1.5rem; background: linear-gradient(180deg, rgba(201, 162, 39, 0.18), rgba(201, 162, 39, 0)); -webkit-background-clip: text; background-clip: text; color: transparent; user-select: none; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; color: var(--faint); font-size: 0.85rem; }
.footer-bottom a:hover { color: var(--gold-2); }

/* ---------- Responsive ---------- */
@media (max-width: 1000px) {
    .g4, .process { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 860px) {
    .nav, .header-cta { display: none; }
    .menu-btn { display: block; }
    .hero-grid, .head { grid-template-columns: 1fr; }
    .g3 { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
    .g2, .g4, .process, .form { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
    .hero .actions .btn { flex: 1 1 100%; justify-content: center; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation: none !important; transition: none !important; }
    .js .reveal, .js [data-lines] .ln > span { opacity: 1; transform: none; }
    .ticket .bar span { width: 82%; }
}
