/*
Theme Name: Lunar Records
Theme URI: https://lunarrecords.co.uk
Author: R!CHYRiCH
Description: Custom theme for Lunar Records, a recording, mixing and mastering studio in East London. Creates its pages and menu on activation and includes a built-in booking form. Rates and contact details are editable under Appearance → Customize → Lunar Records.
Version: 1.22.0
Requires at least: 6.0
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: lunar-records
*/

:root {
	--bg: #050505;
	--surface: #0d0e0f;
	--surface-2: #141516;
	--line: rgba(255, 255, 255, 0.09);
	--text: #ededee;
	--muted: #9a9ca1;
	--accent: #14dc94;
	--accent-ink: #02140c;
	--silver: linear-gradient(180deg, #ffffff 0%, #d9dade 38%, #8e9197 52%, #c9cbcf 70%, #f4f4f5 100%);
	--radius: 14px;
	--max: 1180px;
	--font-head: "Chakra Petch", "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
	--font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html { background: var(--bg); }
body {
	margin: 0;
	background: transparent;
	color: var(--text);
	font-family: var(--font-body);
	font-size: 17px;
	line-height: 1.65;
	-webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.04; margin: 0 0 .5em; letter-spacing: 0.01em; font-weight: 700; text-transform: uppercase; }
h1, h2 {
	background: var(--silver); -webkit-background-clip: text; background-clip: text;
	color: transparent; -webkit-text-fill-color: transparent;
	filter: drop-shadow(0 1px 0 rgba(0,0,0,.6));
}
h1 em, h2 em { font-style: normal; -webkit-text-fill-color: var(--accent); color: var(--accent); }
h1 { font-size: clamp(2.6rem, 7vw, 5.6rem); }
h2 { font-size: clamp(2rem, 4.4vw, 3.2rem); }
h3 { font-size: 1.3rem; letter-spacing: -0.01em; }
p { margin: 0 0 1.1em; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px,1px,1px,1px); }
.skip-link:focus { position: fixed; top: 10px; left: 10px; z-index: 999; width: auto; height: auto; clip: auto; background: var(--accent); color: var(--accent-ink); padding: 10px 16px; border-radius: 8px; }

/* ---------- Header ---------- */
.site-header {
	position: sticky; top: 0; z-index: 50;
	background: transparent;
	transition: background .3s ease;
}
.site-header::before {
	content: ""; position: absolute; inset: 0 0 -40px; z-index: -1; pointer-events: none; opacity: 0;
	background: linear-gradient(to bottom, rgba(5,5,5,.97) 0%, rgba(5,5,5,.97) 68%, rgba(5,5,5,0) 100%);
	transition: opacity .3s ease;
}
.site-header.is-scrolled::before { opacity: 1; }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 124px; gap: 24px; transition: height .3s ease; }
.site-header.is-scrolled .header-inner { height: 124px; }
.brand { display: flex; align-items: center; gap: 12px; color: var(--text); font-family: var(--font-head); font-weight: 700; font-size: 1.05rem; letter-spacing: .14em; text-transform: uppercase; }
.brand:hover { text-decoration: none; }
.brand-mark { width: 30px; height: 30px; flex: none; }
/* Logos: no box, no background. "screen" blending makes any black logo background vanish. */
.brand, .custom-logo-link { background: none !important; border: 0 !important; padding: 0 !important; box-shadow: none !important; display: inline-flex; }
.brand-logo, .custom-logo { mix-blend-mode: screen; background: none; border: 0; border-radius: 0; box-shadow: none; }
.brand-logo { height: 100px; width: auto; transition: height .3s ease; }
.custom-logo { height: 100px !important; max-height: none; width: auto !important; transition: height .3s ease; }
.site-header.is-scrolled .brand-logo, .site-header.is-scrolled .custom-logo { height: 100px !important; }
.site-footer .brand-logo, .site-footer .custom-logo { height: 120px !important; }
@media (max-width: 860px) {
	.header-inner, .site-header.is-scrolled .header-inner { height: 112px; }
	.brand-logo, .custom-logo, .site-header.is-scrolled .brand-logo, .site-header.is-scrolled .custom-logo { height: 96px !important; }
}

.main-nav ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 30px; }
.main-nav a { color: var(--muted); font-size: .95rem; font-weight: 500; transition: color .2s; }
.main-nav a:hover, .main-nav .current-menu-item > a, .main-nav .current_page_item > a { color: var(--text); text-decoration: none; }
.main-nav .menu-cta > a, .main-nav li:last-child > a {
	color: var(--accent-ink); background: var(--accent); padding: 10px 18px; border-radius: 999px; font-weight: 600;
}
.main-nav li:last-child > a:hover { color: var(--accent-ink); filter: brightness(1.06); }
.nav-toggle { display: none; background: none; border: 1px solid var(--line); color: var(--text); border-radius: 10px; width: 44px; height: 44px; cursor: pointer; }
.nav-toggle span { display: block; width: 18px; height: 2px; background: currentColor; margin: 4px auto; transition: transform .2s, opacity .2s; }

@media (max-width: 860px) {
	.nav-toggle { display: block; }
	.main-nav { position: absolute; top: 112px; left: 0; right: 0; background: rgba(5,5,5,.97); border-bottom: 1px solid var(--line); display: none; }
	.main-nav.is-open { display: block; }
	.main-nav ul { flex-direction: column; align-items: stretch; gap: 0; padding: 12px 24px 24px; }
	.main-nav a { display: block; padding: 14px 0; font-size: 1.1rem; border-bottom: 1px solid var(--line); }
	.main-nav li:last-child > a { margin-top: 16px; text-align: center; border: 0; }
	.nav-open .nav-toggle span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
	.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
	.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
}

/* ---------- Buttons ---------- */
.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 10px;
	padding: 15px 26px; border-radius: 999px; font-weight: 600; font-size: 1rem;
	border: 1px solid transparent; cursor: pointer; font-family: var(--font-body);
	transition: transform .15s ease, filter .2s, background .2s, border-color .2s;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-primary { background: var(--accent); color: var(--accent-ink); }
.btn-primary:hover { filter: brightness(1.06); color: var(--accent-ink); }
.btn-ghost { border-color: rgba(255,255,255,.18); color: var(--text); }
.btn-ghost:hover { border-color: var(--text); color: var(--text); }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }

/* ---------- Sections ---------- */
.section { padding: 110px 0; }
.section-tight { padding: 70px 0; }
.section-alt { background: linear-gradient(180deg, rgba(13,14,15,0), rgba(13,14,15,.55) 18%, rgba(13,14,15,.55) 82%, rgba(13,14,15,0)); }
.eyebrow { display: inline-block; font-size: .78rem; letter-spacing: .22em; text-transform: uppercase; color: var(--accent); font-weight: 600; margin-bottom: 18px; }
.section-head { max-width: 680px; margin-bottom: 56px; }
.section-head p { color: var(--muted); font-size: 1.1rem; }
.lead { font-size: 1.2rem; color: var(--muted); max-width: 620px; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding: 120px 0 130px; }
.hero .container { position: relative; z-index: 1; }
.hero-art {
	position: absolute; right: max(24px, calc((100vw - var(--max)) / 2 + 40px)); top: 50%; width: min(18vw, 220px); transform: translateY(-58%);
	pointer-events: none; z-index: 0; opacity: .32;
}
.hero-art svg { width: 100%; height: auto; display: block; filter: none; }
.hero-art .dot { filter: drop-shadow(0 0 14px rgba(20,220,148,.45)); }
@media (max-width: 900px) {
	.hero-art { display: none; }
}
.hero h1 { max-width: 900px; }
.hero .lead { margin-bottom: 36px; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 28px; margin-top: 64px; padding-top: 28px; border-top: 1px solid var(--line); color: var(--muted); font-size: .95rem; }
.hero-meta strong { display: block; color: var(--text); font-family: var(--font-head); font-size: 1.6rem; letter-spacing: 0.02em; text-transform: uppercase; }

.page-hero { padding: 100px 0 60px; position: relative; overflow: hidden; }
.page-hero::before {
	content: ""; position: absolute; width: 420px; height: 420px; right: -120px; top: -180px; border-radius: 50%;
	background: radial-gradient(circle, rgba(20,220,148,.14), rgba(20,220,148,0) 65%); pointer-events: none;
}

/* ---------- Cards / services ---------- */
.grid { display: grid; gap: 22px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 980px) { .grid-4 { grid-template-columns: repeat(2, 1fr); } .grid-3 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

.card {
	background: rgba(13,14,15,.9); border: 1px solid var(--line); border-radius: var(--radius);
	padding: 32px; display: flex; flex-direction: column; transition: border-color .2s, transform .2s;
}
.section-alt .card { background: rgba(20,21,22,.92); }
.card:hover { border-color: rgba(20,220,148,.35); transform: translateY(-2px); }
.card p { color: var(--muted); }
.card .price { font-family: var(--font-head); font-size: 2.4rem; font-weight: 700; color: var(--text); margin: 8px 0 2px; letter-spacing: 0; }
.card .price small { font-family: var(--font-body); font-size: .95rem; color: var(--muted); font-weight: 400; letter-spacing: 0; }
.card .price-note { font-size: .9rem; color: var(--accent); margin-bottom: 18px; }
.card .card-foot { margin-top: auto; padding-top: 18px; }
.card .card-link { font-weight: 600; }
.card-icon { width: 44px; height: 44px; border-radius: 12px; background: rgba(20,220,148,.1); color: var(--accent); display: grid; place-items: center; margin-bottom: 22px; }
.card-icon svg { width: 22px; height: 22px; }
.card.is-featured { border-color: rgba(20,220,148,.5); background: linear-gradient(180deg, rgba(20,220,148,.08), var(--surface) 60%); }
.tag { display: inline-block; font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 600; color: var(--accent-ink); background: var(--accent); padding: 4px 10px; border-radius: 999px; margin-bottom: 16px; align-self: flex-start; }
.feature-list { list-style: none; margin: 0 0 8px; padding: 0; }
.feature-list li { position: relative; padding-left: 26px; margin-bottom: 10px; color: var(--muted); }
.feature-list li::before { content: ""; position: absolute; left: 0; top: .62em; width: 12px; height: 2px; background: var(--accent); }

/* ---------- Signal chain ---------- */
.chain { display: flex; align-items: stretch; gap: 0; flex-wrap: wrap; }
.chain-step { flex: 1 1 200px; padding: 28px; border: 1px solid var(--line); background: var(--surface-2); position: relative; }
.chain-step:first-child { border-radius: var(--radius) 0 0 var(--radius); }
.chain-step:last-child { border-radius: 0 var(--radius) var(--radius) 0; }
.chain-step + .chain-step { border-left: 0; }
.chain-step .num { font-size: .78rem; letter-spacing: .2em; color: var(--accent); font-weight: 600; }
.chain-step h3 { margin: 10px 0 4px; }
.chain-step p { color: var(--muted); margin: 0; font-size: .95rem; }
@media (max-width: 760px) {
	.chain { flex-direction: column; }
	.chain-step, .chain-step:first-child, .chain-step:last-child { border-radius: 0; border-left: 1px solid var(--line); }
	.chain-step + .chain-step { border-top: 0; }
	.chain-step:first-child { border-radius: var(--radius) var(--radius) 0 0; }
	.chain-step:last-child { border-radius: 0 0 var(--radius) var(--radius); }
}

.gear-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.gear-list li { display: flex; justify-content: space-between; gap: 20px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.gear-list strong { font-family: var(--font-head); font-size: 1.15rem; font-weight: 600; }
.gear-list span { color: var(--muted); text-align: right; }

/* ---------- Steps ---------- */
.steps { counter-reset: step; }
.step { padding-top: 26px; border-top: 1px solid var(--line); }
.step::before { counter-increment: step; content: "0" counter(step); display: block; font-family: var(--font-head); font-size: 2.2rem; color: var(--accent); margin-bottom: 14px; font-weight: 700; }
.step p { color: var(--muted); }

/* ---------- CTA ---------- */
.cta-band {
	border-radius: 28px; padding: 72px 56px; text-align: center; position: relative; overflow: hidden;
	background: radial-gradient(ellipse at 50% -20%, rgba(20,220,148,.16), rgba(20,220,148,0) 60%), var(--surface);
	border: 1px solid var(--line);
}
.cta-band h2 { max-width: 760px; margin-left: auto; margin-right: auto; }
.cta-band p { color: var(--muted); max-width: 560px; margin: 0 auto 30px; font-size: 1.1rem; }
.cta-band .btn-row { justify-content: center; }
@media (max-width: 640px) { .cta-band { padding: 52px 24px; } }

/* ---------- Two column ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.split-wide { grid-template-columns: 1.35fr 1fr; }
@media (max-width: 900px) { .split, .split-wide { grid-template-columns: 1fr; gap: 40px; } }

/* ---------- Rate table ---------- */
.rate-table { width: 100%; border-collapse: collapse; }
.rate-table td { padding: 16px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.rate-table td:last-child { text-align: right; font-family: var(--font-head); font-weight: 700; font-size: 1.15rem; white-space: nowrap; }
.rate-table small { display: block; color: var(--muted); font-size: .88rem; }

/* ---------- Form ---------- */
.form-card { background: rgba(13,14,15,.92); border: 1px solid var(--line); border-radius: 24px; padding: 40px; }
@media (max-width: 640px) { .form-card { padding: 26px 20px; } }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } }
.field label { display: block; font-size: .88rem; font-weight: 600; margin-bottom: 8px; color: var(--text); }
.field label .req { color: var(--accent); }
.field input, .field select, .field textarea {
	width: 100%; background: var(--bg); color: var(--text); border: 1px solid rgba(255,255,255,.12);
	border-radius: 12px; padding: 14px 16px; font: inherit; font-size: 1rem; transition: border-color .2s, box-shadow .2s;
	color-scheme: dark;
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(20,220,148,.18); }
.field .hint { font-size: .82rem; color: var(--muted); margin-top: 6px; }
.hp-field { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.form-actions { margin-top: 24px; display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }
.form-actions small { color: var(--muted); }
.notice { border-radius: 14px; padding: 18px 20px; margin-bottom: 24px; font-weight: 500; }
.notice-success { background: rgba(120, 200, 140, .12); border: 1px solid rgba(120, 200, 140, .4); color: #b6f2d9; }
.notice-error { background: rgba(230, 110, 110, .12); border: 1px solid rgba(230, 110, 110, .4); color: #f3c0c0; }

.contact-list { list-style: none; margin: 0; padding: 0; }
.contact-list li { padding: 16px 0; border-bottom: 1px solid var(--line); }
.contact-list span { display: block; font-size: .78rem; text-transform: uppercase; letter-spacing: .18em; color: var(--muted); margin-bottom: 4px; }
.contact-list a, .contact-list strong { color: var(--text); font-size: 1.05rem; font-weight: 500; }

/* ---------- Generic page content ---------- */
.entry-content { max-width: 760px; }
.entry-content > * + * { margin-top: 1em; }
.entry-content a { text-decoration: underline; }
.entry-content img { border-radius: 14px; }
.wp-block-button__link { background: var(--accent); color: var(--accent-ink); border-radius: 999px; }
.alignwide { max-width: var(--max); }
.alignfull { width: 100vw; margin-left: calc(50% - 50vw); }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); padding: 72px 0 40px; margin-top: 40px; color: var(--muted); font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr; gap: 48px; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr; gap: 32px; } }
.site-footer h4 { font-family: var(--font-body); font-size: .78rem; text-transform: uppercase; letter-spacing: .2em; color: var(--text); margin-bottom: 16px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 10px; }
.site-footer a { color: var(--muted); }
.site-footer a:hover { color: var(--text); }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--line); font-size: .85rem; }

/* ---------- Space background ---------- */
#lunar-space { position: fixed; inset: 0; width: 100%; height: 100%; z-index: -2; pointer-events: none; display: block; }
.lunar-nebula {
	position: fixed; inset: -20% -10%; z-index: -1; pointer-events: none; will-change: transform;
	background:
		radial-gradient(40% 30% at 80% 20%, rgba(20,220,148,.10), rgba(20,220,148,0) 70%),
		radial-gradient(35% 28% at 10% 70%, rgba(120,140,255,.07), rgba(120,140,255,0) 70%),
		radial-gradient(30% 25% at 60% 95%, rgba(20,220,148,.06), rgba(20,220,148,0) 70%);
}
.site-footer { background: linear-gradient(180deg, rgba(5,5,5,0), rgba(5,5,5,.85) 40%); border-top: 0; }
.chain-step { background: rgba(20,21,22,.72); }
.cta-band { background: radial-gradient(ellipse at 50% -20%, rgba(20,220,148,.16), rgba(20,220,148,0) 60%), rgba(13,14,15,.78); }
.hero-art { will-change: transform; }

/* Reveal on scroll (only when JS + motion allowed) */
.js-anim .reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s ease, transform .8s cubic-bezier(.2,.7,.2,1); }
.js-anim .reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
	.js-anim .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---------- Gear photos ---------- */
.gear-card { background: rgba(13,14,15,.72); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: border-color .2s, transform .2s; }
.gear-card:hover { border-color: rgba(20,220,148,.35); transform: translateY(-2px); }
.gear-photo { aspect-ratio: 4 / 3; background: #0b0c0d; overflow: hidden; position: relative; }
.gear-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.gear-card:hover .gear-photo img { transform: scale(1.04); }
.gear-photo.is-empty { display: grid; place-items: center; background: radial-gradient(circle at 50% 40%, rgba(255,255,255,.05), rgba(255,255,255,0) 60%), #0b0c0d; }
.gear-photo.is-empty .brand-mark { width: 54px; height: 54px; opacity: .18; }
.gear-body { padding: 22px 24px 26px; }
.gear-body h3 { margin: 0 0 4px; }
.gear-body p { margin: 0; color: var(--muted); }
.chain-step .gear-photo { margin: -28px -28px 22px; aspect-ratio: 4 / 3; }
.chain-step:first-child .gear-photo { border-top-left-radius: var(--radius); }
.chain-step:last-child .gear-photo { border-top-right-radius: var(--radius); }
@media (max-width: 760px) {
	.chain-step:first-child .gear-photo { border-radius: var(--radius) var(--radius) 0 0; }
	.chain-step:last-child .gear-photo { border-radius: 0; }
}

.gear-photo.is-daw .daw-overlay { position: absolute; inset: 0; display: grid; place-items: center; background: radial-gradient(ellipse at 50% 50%, rgba(5,5,5,.55), rgba(5,5,5,.1) 70%); }
.gear-photo.is-daw .daw-logo { width: 58% !important; height: auto !important; max-height: 50%; object-fit: contain; filter: drop-shadow(0 4px 18px rgba(0,0,0,.7)); }
.gear-card:hover .gear-photo.is-daw .daw-logo { transform: none; }
.daw-word { font-family: var(--font-head); font-weight: 700; font-size: clamp(1.4rem, 2.6vw, 2.2rem); letter-spacing: .14em; background: var(--silver); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent; filter: drop-shadow(0 3px 12px rgba(0,0,0,.9)); }

/* ---------- Credits ---------- */
.credit-card { background: rgba(13,14,15,.72); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: border-color .2s, transform .2s; }
.credit-card:hover { border-color: rgba(20,220,148,.4); transform: translateY(-3px); }
.credit-cover { position: relative; display: block; aspect-ratio: 1 / 1; overflow: hidden; background: #000; }
.credit-cover img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease, filter .3s; }
.credit-card:hover .credit-cover img { transform: scale(1.04); filter: brightness(.7); }
.credit-play { position: absolute; left: 50%; top: 50%; width: 68px; height: 68px; margin: -34px 0 0 -34px; border-radius: 50%; background: var(--accent); color: var(--accent-ink); display: grid; place-items: center; opacity: 0; transform: scale(.85); transition: opacity .25s, transform .25s; box-shadow: 0 0 40px rgba(20,220,148,.5); }
.credit-play svg { width: 28px; height: 28px; margin-left: 3px; }
.credit-card:hover .credit-play, .credit-cover:focus-visible .credit-play { opacity: 1; transform: none; }
.credit-body { padding: 24px 24px 26px; display: flex; flex-direction: column; flex: 1; }
.credit-roles { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 14px; }
.credit-roles span { font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 600; color: var(--accent); border: 1px solid rgba(20,220,148,.35); border-radius: 999px; padding: 4px 10px; }
.credit-body h3 { font-size: 1.5rem; margin: 0 0 2px; }
.credit-artist { color: var(--muted); margin-bottom: 18px; }
.credit-stat { color: var(--muted); font-size: .95rem; margin-bottom: 12px; }
.credit-stat strong { display: block; font-family: var(--font-head); font-size: 2.3rem; line-height: 1.05; background: var(--silver); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent; }
.credit-badges { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 16px; }
.credit-badges span { font-size: .78rem; color: var(--text); background: rgba(255,255,255,.07); border-radius: 6px; padding: 4px 9px; }
.credit-by { font-size: .85rem; color: var(--muted); margin-bottom: 18px; }
.credit-by strong { color: var(--text); letter-spacing: .04em; }
.credit-links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: auto; }
.btn-sm { padding: 9px 16px; font-size: .88rem; }


/* ---------- Homepage studio photo ---------- */
.studio-showcase { padding-top: 10px; }
.showcase-frame { position: relative; margin: 0; border-radius: 24px; overflow: hidden; border: 1px solid var(--line); box-shadow: 0 40px 120px -40px rgba(80,60,255,.45); }
.showcase-frame img { width: 100%; height: auto; display: block; aspect-ratio: 16 / 9; object-fit: cover; }
.showcase-frame::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(5,5,5,0) 35%, rgba(5,5,5,.85) 100%); pointer-events: none; }
.showcase-caption { position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; padding: 40px 44px; }
.showcase-caption h2 { margin-bottom: 22px; }
@media (max-width: 700px) {
	.showcase-frame img { aspect-ratio: 3 / 4; }
	.showcase-caption { padding: 26px 22px; }
	.showcase-caption .btn-row { flex-direction: column; align-items: stretch; }
}

/* ---------- The Build page ---------- */
.build-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
@media (max-width: 700px) { .build-grid { grid-template-columns: 1fr; } }
.build-media { margin: 0; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: #0b0c0d; display: flex; flex-direction: column; }
.build-media img, .build-media video { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; display: block; background: #000; }
.build-media figcaption { padding: 14px 18px; color: var(--muted); font-size: .92rem; }
.thanks-card { border-radius: 24px; padding: 48px; background: radial-gradient(ellipse at 0% 0%, rgba(20,220,148,.12), rgba(20,220,148,0) 55%), rgba(13,14,15,.8); border: 1px solid var(--line); max-width: 860px; }
.thanks-card p { color: var(--muted); font-size: 1.1rem; max-width: 640px; }
@media (max-width: 640px) { .thanks-card { padding: 30px 22px; } }

/* ---------- Dolby Atmos page ---------- */
.atmos-photo { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
.atmos-photo .gear-photo { border-radius: 0; }
.atmos-price { border-radius: 24px; padding: 40px; background: radial-gradient(ellipse at 100% 0%, rgba(20,220,148,.14), rgba(20,220,148,0) 55%), rgba(13,14,15,.82); border: 1px solid var(--line); }
.atmos-price .price { font-family: var(--font-head); font-size: 3rem; font-weight: 700; line-height: 1.1; margin: 6px 0 4px; }
.atmos-price .price small { font-family: var(--font-body); font-size: 1rem; color: var(--muted); font-weight: 400; }
.atmos-price p { color: var(--muted); }
.atmos-price .btn { margin-top: 10px; }
@media (max-width: 640px) { .atmos-price { padding: 28px 22px; } }
.platform-note { color: var(--muted); margin-top: 26px; max-width: 760px; }
.faq { max-width: 860px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-child { border-top: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 22px 40px 22px 0; position: relative; font-family: var(--font-head); font-weight: 600; font-size: 1.12rem; color: var(--text); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 6px; top: 50%; transform: translateY(-50%); color: var(--accent); font-size: 1.5rem; font-weight: 500; line-height: 1; }
.faq details[open] summary::after { content: "\2212"; }
.faq summary:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
.faq details p { color: var(--muted); margin: 0 0 22px; max-width: 720px; }

/* ---------- Booking page: WhatsApp + short form ---------- */
.wa-card { border-radius: 24px; padding: 36px 40px; background: radial-gradient(ellipse at 0% 0%, rgba(20,220,148,.16), rgba(20,220,148,0) 60%), rgba(13,14,15,.82); border: 1px solid rgba(20,220,148,.3); display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
.wa-card h2 { font-size: clamp(1.6rem, 3vw, 2.1rem); margin: 6px 0 8px; }
.wa-card p { color: var(--muted); margin: 0; }
.btn-wa { display: inline-flex; align-items: center; gap: 10px; font-size: 1.05rem; padding: 16px 26px; margin-top: 6px; }
.btn-wa svg { width: 22px; height: 22px; flex: none; }
.wa-number { color: var(--muted); font-size: .92rem; }
@media (max-width: 640px) { .wa-card { padding: 28px 22px; } .btn-wa { width: 100%; justify-content: center; } }
.or-divider { display: flex; align-items: center; gap: 16px; margin: 30px 0; color: var(--muted); font-size: .78rem; text-transform: uppercase; letter-spacing: .18em; }
.or-divider::before, .or-divider::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.field label .optional { color: var(--muted); font-weight: 400; }
#booking-form .field textarea { min-height: 96px; }

/* =========================================================================
 * Immersive scroll journey
 * Only active when html has .immersive (added in the <head>, skipped when the
 * visitor's device asks for reduced motion). Without it the page is unchanged.
 * ====================================================================== */
:root { --hh: 124px; }
@media (max-width: 860px) { :root { --hh: 112px; } }
.scroll-cue, .portal-intro, .portal-ring { display: none; }

/* Thin green progress line across the top of every page */
.scroll-progress { position: fixed; left: 0; right: 0; top: 0; height: 2px; z-index: 60; pointer-events: none; transform-origin: 0 50%; transform: scaleX(0); background: linear-gradient(90deg, rgba(20,220,148,.15), var(--accent)); box-shadow: 0 0 12px rgba(20,220,148,.6); }

/* 1. Hero: the headline flies towards you and you pass the moon */
.immersive .journey-hero { height: 140vh; }
.immersive .journey-hero .hero { position: sticky; top: var(--hh); min-height: calc(100vh - var(--hh)); min-height: calc(100svh - var(--hh)); box-sizing: border-box; display: flex; align-items: center; padding: 30px 0 100px; }
.immersive .journey-hero .hero .container {
	transform-origin: 25% 55%;
	transform: translate3d(0, calc(var(--p, 0) * -70px), 0) scale(calc(1 + var(--p, 0) * .3));
	opacity: calc(1 - var(--p, 0) * 1.7);
	will-change: transform, opacity;
}
.immersive .journey-hero .hero-meta { margin-top: 44px; }
@media (max-width: 900px) {
	.immersive .journey-hero .hero-art { display: block; width: 30vw; right: 5vw; top: 16%; }
}
.immersive .scroll-cue {
	display: flex; flex-direction: column; align-items: center; gap: 10px; position: absolute; left: 50%; bottom: 26px; z-index: 2;
	transform: translateX(-50%); color: var(--muted); font-size: .7rem; letter-spacing: .28em; text-transform: uppercase; pointer-events: none;
	opacity: calc(1 - var(--p, 0) * 5);
}
.scroll-cue span { width: 22px; height: 36px; border: 1.5px solid rgba(255,255,255,.35); border-radius: 12px; position: relative; }
.scroll-cue span::after { content: ""; position: absolute; left: 50%; top: 7px; width: 3px; height: 7px; margin-left: -1.5px; border-radius: 2px; background: var(--accent); animation: lunar-cue 1.7s ease-in-out infinite; }
@keyframes lunar-cue { 0% { transform: translateY(0); opacity: 1; } 70% { transform: translateY(13px); opacity: 0; } 100% { opacity: 0; } }

/* 2. Portal: a glowing circle in space opens up into the studio */
.immersive .journey-portal { height: 210vh; }
.immersive .journey-portal .studio-showcase { position: sticky; top: var(--hh); height: calc(100vh - var(--hh)); height: calc(100svh - var(--hh)); padding: 0; overflow: hidden; }
.immersive .journey-portal .studio-showcase > .container { max-width: none; padding: 0; height: 100%; }
.immersive .journey-portal .showcase-frame {
	height: 100%; border: 0; border-radius: 0; box-shadow: none;
	-webkit-clip-path: circle(var(--r, 20vmin) at 50% 55%); clip-path: circle(var(--r, 20vmin) at 50% 55%);
}
.immersive .journey-portal .showcase-frame picture { display: block; height: 100%; }
.immersive .journey-portal .showcase-frame img { height: 100%; aspect-ratio: auto; transform: scale(calc(1.5 - var(--open, 0) * .5)); will-change: transform; }
.immersive .journey-portal .showcase-frame::after { opacity: var(--cap, 0); }
.immersive .journey-portal .showcase-caption {
	max-width: var(--max); margin: 0 auto; padding: 0 24px 56px;
	opacity: var(--cap, 0); transform: translate3d(0, calc((1 - var(--cap, 0)) * 40px), 0); pointer-events: none;
}
.immersive .journey-portal.is-open .showcase-caption { pointer-events: auto; }
.immersive .portal-intro {
	display: block; position: absolute; left: 0; right: 0; top: 4%; z-index: 3; text-align: center; padding: 0 24px; pointer-events: none;
	opacity: calc(1 - var(--open, 0) * 2.6); transform: translate3d(0, calc(var(--open, 0) * -60px), 0) scale(calc(1 + var(--open, 0) * .5));
}
.portal-intro h2 { font-size: clamp(2.2rem, 6vw, 4.6rem); margin: 0; }
.immersive .portal-ring {
	display: block; position: absolute; left: 50%; top: 55%; z-index: 2; pointer-events: none;
	width: calc(var(--r, 20vmin) * 2); height: calc(var(--r, 20vmin) * 2); transform: translate(-50%, -50%); border-radius: 50%;
	border: 1.5px solid rgba(20,220,148,.75); box-shadow: 0 0 50px 6px rgba(20,220,148,.35), inset 0 0 40px rgba(20,220,148,.25);
	opacity: calc(1 - var(--open, 0) * 1.3);
}
.portal-ring::before, .portal-ring::after { content: ""; position: absolute; inset: -1.5px; border-radius: 50%; border: 1px solid rgba(20,220,148,.5); animation: lunar-wave 2.8s cubic-bezier(.2,.6,.3,1) infinite; }
.portal-ring::after { animation-delay: 1.4s; }
@keyframes lunar-wave { 0% { transform: scale(1); opacity: .8; } 100% { transform: scale(1.55); opacity: 0; } }
@media (max-width: 700px) {
	.immersive .journey-portal .showcase-caption { padding: 0 22px 34px; }
}

/* 3. Cards rise out of the page in 3D */
.js-anim .reveal.reveal-3d {
	transform: perspective(1100px) translate3d(0, 80px, -60px) rotateX(24deg) scale(.94);
	transform-origin: 50% 100%;
	transition: opacity 1s ease, transform 1.2s cubic-bezier(.16,.84,.24,1);
}
.js-anim .reveal.reveal-3d.is-in { transform: none; }

/* 4. Cards tilt toward the mouse, with a soft green glare */
.tilt { position: relative; transform-style: preserve-3d; }
.tilt::after {
	content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity .3s; z-index: 2;
	background: radial-gradient(circle at var(--mx, 50%) var(--my, 50%), rgba(20,220,148,.16), rgba(20,220,148,0) 55%);
}
.tilt:hover::after { opacity: 1; }

@media (prefers-reduced-motion: reduce) {
	.scroll-progress { display: none; }
	.js-anim .reveal.reveal-3d { transform: none; transition: none; }
}

/* =========================================================================
 * Intro (homepage, once per visit)
 * Just the crescent and green dot. As you swipe up (or scroll), the dot
 * swells, bursts into dust that orbits behind the crescent and round in
 * front (clockwise), and the screen slides up into the site — all following
 * your finger in real time. Driven by assets/js/intro.js.
 * ====================================================================== */
.lunar-intro { display: none; }
.intro-on, .intro-on body { overflow: hidden; overscroll-behavior: none; }
.intro-on .lunar-intro {
	display: block; position: fixed; inset: 0; z-index: 200; overflow: hidden; touch-action: none; user-select: none; -webkit-user-select: none;
	background: radial-gradient(45% 35% at 50% 46%, rgba(20,220,148,.06), rgba(20,220,148,0) 70%), #050506;
	will-change: transform;
}
.intro-canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.intro-front { z-index: 3; pointer-events: none; }
.intro-moon {
	position: absolute; left: 50%; top: 46%; width: 132px; height: 132px; margin: -66px 0 0 -66px; padding: 0; border: 0; background: none; cursor: pointer; z-index: 2; border-radius: 50%;
}
@media (max-width: 600px) { .intro-moon { width: 112px; height: 112px; margin: -56px 0 0 -56px; } }
.intro-moon .brand-mark { width: 100%; height: 100%; display: block; overflow: visible; animation: intro-moon-in 1.6s cubic-bezier(.16,.84,.24,1) both; }
.intro-moon:focus-visible { outline: 2px solid var(--accent); outline-offset: 14px; }
/* The dot follows the swipe: it stretches out along the orbit (right and slightly down)
   with --pull, and fades away with --burst as it breaks into specks. Keep in step with intro.js. */
.intro-moon .brand-mark circle {
	transform-origin: 314px 245px;
	transform: rotate(16deg) scale(calc(1 + var(--pull, 0) * 2.4 + var(--burst, 0) * .9), calc(1 - var(--pull, 0) * .28 + var(--burst, 0) * .2));
	opacity: calc(1 - var(--burst, 0));
	filter: drop-shadow(0 0 calc(10px + var(--pull, 0) * 30px) rgba(20,220,148,.9));
}
@keyframes intro-moon-in { from { opacity: 0; transform: scale(.82); } to { opacity: 1; transform: none; } }

/* Small instructions under the moon */
.intro-foot { position: absolute; left: 0; right: 0; bottom: max(34px, env(safe-area-inset-bottom)); z-index: 4; display: flex; justify-content: center; padding: 0 24px; opacity: calc(1 - var(--pull, 0) * 2.5); }
.intro-cue {
	display: flex; flex-direction: column; align-items: center; gap: 12px; background: none; border: 0; padding: 8px 14px; cursor: pointer;
	color: var(--muted); font-family: var(--font-body); font-size: .7rem; letter-spacing: .3em; text-transform: uppercase;
	animation: intro-foot-in 1.2s ease 1.2s both;
}
.intro-cue:hover { color: var(--text); }
.intro-cue:focus-visible { outline: 1px solid var(--accent); outline-offset: 4px; border-radius: 6px; }
.intro-chevron { width: 12px; height: 12px; border-left: 1.5px solid var(--accent); border-top: 1.5px solid var(--accent); transform: rotate(45deg); animation: intro-chev 1.8s ease-in-out infinite; }
@keyframes intro-chev { 0% { transform: translateY(8px) rotate(45deg); opacity: 0; } 40% { opacity: 1; } 100% { transform: translateY(-4px) rotate(45deg); opacity: 0; } }
@keyframes intro-foot-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.cue-mouse { display: none; }
@media (hover: hover) and (pointer: fine) { .cue-mouse { display: inline; } .cue-touch { display: none; } }

/* Phones: the studio photo sits fully visible, with its heading and buttons underneath instead of on top */
@media (max-width: 700px) {
	html:not(.immersive) .showcase-frame { background: rgba(13,14,15,.95); }
	html:not(.immersive) .showcase-frame img { aspect-ratio: 4 / 5; }
	html:not(.immersive) .showcase-frame::after { display: none; }
	html:not(.immersive) .showcase-caption { position: static; padding: 24px 22px 26px; }
}
