/*
Theme Name: Mobile Music DJ Services
Theme URI: https://mobilemusicdjservices.ca/
Author: AI Advantage Consulting
Author URI: https://theaiadvantage.ca/
Description: Custom theme for Mobile Music DJ Services. Brand colours, header, footer, booking form and search engine tags live in the theme. Page content lives in the WordPress editor.
Version: 1.0.1
Requires at least: 6.3
Requires PHP: 7.4
License: GPL-2.0-or-later
Text Domain: mobile-music
*/

/* ---------- Fonts (served from this site, no outside requests) ---------- */
@font-face { font-family: "Saira Condensed"; font-weight: 600; font-style: normal; font-display: swap; src: url("assets/fonts/saira-condensed-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Saira Condensed"; font-weight: 700; font-style: normal; font-display: swap; src: url("assets/fonts/saira-condensed-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Barlow"; font-weight: 400; font-style: normal; font-display: swap; src: url("assets/fonts/barlow-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Barlow"; font-weight: 400; font-style: italic; font-display: swap; src: url("assets/fonts/barlow-latin-400-italic.woff2") format("woff2"); }
@font-face { font-family: "Barlow"; font-weight: 500; font-style: normal; font-display: swap; src: url("assets/fonts/barlow-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Barlow"; font-weight: 600; font-style: normal; font-display: swap; src: url("assets/fonts/barlow-latin-600-normal.woff2") format("woff2"); }

/* ---------- Brand tokens: change a colour here and it changes everywhere ---------- */
:root {
	--orange: #F16724;      /* logo orange */
	--orange-deep: #B8460F; /* orange for text on white */
	--ink: #231F20;         /* logo black */
	--ink-soft: #3A3536;
	--white: #FFFFFF;
	--smoke: #F1EFEE;
	--line: #DAD6D4;
	--text: #2B2728;
	--text-quiet: #5C5557;
	--display: "Saira Condensed", "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
	--body: "Barlow", "Segoe UI", Helvetica, Arial, sans-serif;
	--wrap: 1160px;
	--gutter: clamp(1.25rem, 4vw, 2.5rem);
	--band-y: clamp(3.5rem, 8vw, 6.5rem);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 7rem; }
body { margin: 0; font-family: var(--body); font-size: 1.125rem; line-height: 1.6; color: var(--text); background: var(--white); -webkit-font-smoothing: antialiased; }
img, video, svg { max-width: 100%; height: auto; display: block; }
h1, h2, h3 { font-family: var(--display); font-weight: 700; line-height: 1.02; text-transform: uppercase; letter-spacing: 0.005em; color: var(--ink); margin: 0 0 0.5em; text-wrap: balance; }
h1 { font-size: clamp(2.75rem, 7vw, 5rem); }
h2 { font-size: clamp(2.1rem, 4.6vw, 3.4rem); }
h3 { font-size: clamp(1.45rem, 2.4vw, 1.8rem); line-height: 1.1; }
p { margin: 0 0 1.1em; max-width: 68ch; }
a { color: var(--orange-deep); text-decoration-thickness: 2px; text-underline-offset: 3px; }
a:hover { color: var(--ink); }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; }
ul, ol { padding-left: 1.2em; }
.wrap { width: 100%; max-width: calc(var(--wrap) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.skip { position: absolute; left: -999px; top: 0; background: var(--ink); color: var(--white); padding: 0.75rem 1rem; z-index: 100; }
.skip:focus { left: 0; }
.lede { font-size: clamp(1.2rem, 2vw, 1.4rem); line-height: 1.5; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 3.25rem; padding: 0.7rem 1.6rem; font-family: var(--display); font-weight: 700; font-size: 1.3rem; line-height: 1; letter-spacing: 0.03em; text-transform: uppercase; text-decoration: none; border: 2px solid transparent; border-radius: 3px; cursor: pointer; transition: background-color 0.15s, color 0.15s, border-color 0.15s; }
.btn--primary { background: var(--orange); color: var(--ink); }
.btn--primary:hover { background: var(--ink); color: var(--white); }
.btn--ink { background: var(--ink); color: var(--white); }
.btn--ink:hover { background: var(--white); color: var(--ink); }
.btn--ghost { border-color: currentColor; color: var(--ink); background: transparent; }
.btn--ghost:hover { background: var(--ink); color: var(--white); border-color: var(--ink); }
.btn-row { display: flex; flex-wrap: wrap; gap: 0.9rem; align-items: center; margin: 1.75rem 0 0; max-width: none; }
.text-link { font-weight: 600; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--white); border-bottom: 3px solid var(--orange); }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; min-height: 6rem; }
.site-header__logo img { width: auto; height: 5.4rem; padding-block: 0.4rem; }
.nav { display: flex; align-items: center; gap: 1.5rem; }
.nav__list { display: flex; gap: clamp(0.9rem, 1.6vw, 1.6rem); list-style: none; margin: 0; padding: 0; }
.nav__list a { font-family: var(--display); font-weight: 600; font-size: 1.2rem; letter-spacing: 0.03em; text-transform: uppercase; color: var(--ink); text-decoration: none; padding: 0.4rem 0; border-bottom: 3px solid transparent; white-space: nowrap; }
.nav__list a:hover, .nav__list .current-menu-item > a, .nav__list .current_page_item > a { border-bottom-color: var(--orange); }
.nav__cta { min-height: 2.75rem; padding: 0.5rem 1.1rem; font-size: 1.15rem; white-space: nowrap; }
.nav-toggle { display: none; align-items: center; gap: 0.6rem; background: none; border: 2px solid var(--ink); border-radius: 3px; padding: 0.55rem 0.8rem; font-family: var(--display); font-weight: 700; font-size: 1.1rem; text-transform: uppercase; letter-spacing: 0.03em; color: var(--ink); cursor: pointer; }
.nav-toggle__bars { width: 1.25rem; height: 2px; background: currentColor; box-shadow: 0 -6px 0 currentColor, 0 6px 0 currentColor; }

@media (max-width: 1060px) {
	.nav-toggle { display: inline-flex; }
	.nav { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; gap: 0; background: var(--white); border-bottom: 3px solid var(--orange); padding: 0.5rem var(--gutter) 1.5rem; box-shadow: 0 18px 30px rgba(35, 31, 32, 0.18); }
	.nav.is-open { display: flex; }
	.nav__list { flex-direction: column; gap: 0; }
	.nav__list a { display: block; font-size: 1.5rem; padding: 0.8rem 0; border-bottom: 1px solid var(--line); }
	.nav__cta { margin-top: 1.25rem; min-height: 3.25rem; font-size: 1.3rem; }
}

/* ---------- Home hero ---------- */
.hero { position: relative; isolation: isolate; background: var(--ink); color: var(--white); overflow: hidden; }
.hero__photo { position: absolute; inset: 0; z-index: -2; }
.hero__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 70% 40%; }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(35, 31, 32, 0.94) 0%, rgba(35, 31, 32, 0.8) 42%, rgba(35, 31, 32, 0.2) 100%); }
.hero__inner { padding-block: clamp(4rem, 10vw, 8rem) clamp(3rem, 7vw, 5.5rem); }
.hero h1 { color: var(--white); max-width: 14ch; font-size: clamp(3.1rem, 9vw, 6.75rem); line-height: 0.95; margin-bottom: 0.35em; }
.hero__lede { font-size: clamp(1.2rem, 2.1vw, 1.45rem); line-height: 1.45; max-width: 34ch; color: #F3EFEC; }
.hero .btn--ghost { color: var(--white); }
.hero .btn--ghost:hover { background: var(--white); color: var(--ink); border-color: var(--white); }
.hero .btn--primary:hover { background: var(--white); color: var(--ink); }
@media (max-width: 700px) {
	.hero::after { background: linear-gradient(180deg, rgba(35, 31, 32, 0.9) 0%, rgba(35, 31, 32, 0.82) 100%); }
}

/* Voice clip player: the logo's pulse line, played */
.voice { display: flex; align-items: center; gap: 1.1rem; margin-top: clamp(2.25rem, 5vw, 3.5rem); max-width: 31rem; }
.voice__btn { flex: none; width: 4.25rem; height: 4.25rem; border-radius: 50%; border: 0; background: var(--orange); color: var(--ink); display: grid; place-items: center; cursor: pointer; transition: transform 0.15s, background-color 0.15s; }
.voice__btn:hover { background: var(--white); transform: scale(1.05); }
.voice__icon { width: 1.9rem; height: 1.9rem; }
.voice__icon--pause { display: none; }
.voice.is-playing .voice__icon--play { display: none; }
.voice.is-playing .voice__icon--pause { display: block; }
.voice__body { flex: 1; min-width: 0; }
.voice__label { display: flex; justify-content: space-between; gap: 1rem; font-family: var(--display); font-weight: 600; font-size: 1.3rem; letter-spacing: 0.03em; text-transform: uppercase; line-height: 1.2; }
.voice__time { font-variant-numeric: tabular-nums; opacity: 0.8; }
.voice__track { position: relative; height: 2.75rem; cursor: pointer; color: rgba(255, 255, 255, 0.4); }
.voice__line { position: absolute; left: 0; top: 0; width: 100%; height: 100%; max-width: none; }
.voice__fill { position: absolute; inset: 0; color: var(--orange); clip-path: inset(0 calc(100% - var(--played, 0%)) 0 0); }
.voice.is-playing .voice__track { color: rgba(255, 255, 255, 0.55); }

/* ---------- Interior page heading ---------- */
.page-head { position: relative; background: var(--ink); color: var(--white); padding-block: clamp(3rem, 7vw, 5.5rem) clamp(3.5rem, 7vw, 5.5rem); overflow: hidden; }
.page-head h1 { color: var(--white); max-width: 16ch; }
.page-head__lede { font-size: clamp(1.2rem, 2vw, 1.4rem); line-height: 1.5; max-width: 52ch; color: #F3EFEC; margin-bottom: 0; }
.page-head .pulse { position: absolute; left: 0; right: 0; bottom: 0.4rem; width: 100%; height: 2.5rem; color: var(--orange); opacity: 0.9; }
.page-head .btn--ghost { color: var(--white); }
.page-head .btn--ghost:hover { background: var(--white); color: var(--ink); border-color: var(--white); }
.page-head .btn--primary:hover { background: var(--white); color: var(--ink); }
.page-head a:not(.btn) { color: var(--orange); }

/* ---------- Sections ---------- */
.band { padding-block: var(--band-y); }
.band--smoke { background: var(--smoke); }
.band--ink { background: var(--ink); color: #EDE9E6; }
.band--ink h2, .band--ink h3 { color: var(--white); }
.band--ink a:not(.btn) { color: var(--orange); }
.band--ink a:not(.btn):hover { color: var(--white); }
.band--tight { padding-block: clamp(2.5rem, 5vw, 4rem); }
.band__head { margin-bottom: clamp(1.75rem, 4vw, 3rem); }
.band__head p { font-size: 1.2rem; }
.band__foot { margin: clamp(1.75rem, 4vw, 2.75rem) 0 0; }

.split { display: grid; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
@media (min-width: 880px) {
	.split { grid-template-columns: 1fr 1fr; }
	.split--wide-left { grid-template-columns: 1.15fr 0.85fr; }
	.split--top { align-items: start; }
}
.media-frame { background: var(--ink); border-bottom: 6px solid var(--orange); }
.media-frame video, .media-frame img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; background: var(--ink); }
.media-note { margin: 0; padding: 0.6rem 0.9rem; font-size: 0.95rem; background: #FFF3C4; color: var(--ink); max-width: none; }

/* What are you planning: three big links */
.events { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--ink); }
.events li { border-bottom: 2px solid var(--ink); }
.events a { display: grid; grid-template-columns: 1fr; gap: 0.25rem 2rem; align-items: baseline; padding: 1.5rem 0; text-decoration: none; color: var(--ink); transition: background-color 0.15s, padding 0.15s; }
.events__name { font-family: var(--display); font-weight: 700; font-size: clamp(2rem, 4.6vw, 3.4rem); line-height: 1; text-transform: uppercase; }
.events__what { color: var(--text-quiet); font-size: 1.1rem; }
.events a:hover { background: var(--orange); padding-inline: 1.25rem; }
.events a:hover .events__what { color: var(--ink); }
@media (min-width: 820px) { .events a { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }

/* Packages */
.pkgs { display: grid; gap: 1.5rem; }
@media (min-width: 880px) { .pkgs { grid-template-columns: 1fr 1fr; align-items: stretch; } }
.pkg { display: flex; flex-direction: column; background: var(--white); border: 2px solid var(--ink); border-top: 10px solid var(--ink); padding: clamp(1.5rem, 3vw, 2.5rem); }
.pkg--lead { border-top-color: var(--orange); }
.pkg__for { font-weight: 600; color: var(--orange-deep); margin-bottom: 0.4rem; }
.pkg h2, .pkg h3 { font-size: clamp(1.9rem, 3.4vw, 2.6rem); margin-bottom: 0.35em; }
.pkg__price { font-family: var(--display); font-weight: 600; font-size: 1.35rem; text-transform: uppercase; letter-spacing: 0.02em; padding-block: 0.8rem; margin: 0.5rem 0 1.1rem; border-block: 1px solid var(--line); color: var(--ink); }
.pkg .btn { margin-top: auto; align-self: flex-start; }
.pkg .ticks { margin-bottom: 1.75rem; }

.ticks { list-style: none; margin: 0 0 1.1em; padding: 0; }
.ticks li { position: relative; padding-left: 1.9rem; margin-bottom: 0.55rem; max-width: 62ch; }
.ticks li::before { content: ""; position: absolute; left: 0; top: 0.42em; width: 1.05rem; height: 0.55rem; border-left: 3px solid var(--orange); border-bottom: 3px solid var(--orange); transform: rotate(-45deg); }

/* Steps: used only where the order matters */
.steps { list-style: none; counter-reset: step; margin: 0; padding: 0; display: grid; gap: 1.5rem; }
.steps li { counter-increment: step; position: relative; padding-left: 4rem; }
.steps li::before { content: counter(step); position: absolute; left: 0; top: -0.1rem; width: 2.9rem; height: 2.9rem; display: grid; place-items: center; font-family: var(--display); font-weight: 700; font-size: 1.7rem; background: var(--orange); color: var(--ink); border-radius: 50%; }
.steps h3 { margin-bottom: 0.25em; }
.steps p { margin-bottom: 0; }
@media (min-width: 880px) { .steps--row { grid-template-columns: repeat(var(--cols, 3), 1fr); gap: 2.5rem; } }

/* Reviews */
.quotes { display: grid; gap: clamp(1.75rem, 3vw, 2.75rem); }
@media (min-width: 880px) { .quotes--3 { grid-template-columns: repeat(3, 1fr); } .quotes--2 { grid-template-columns: repeat(2, 1fr); } }
.quote { margin: 0; padding: 0 0 0 1.4rem; border-left: 5px solid var(--orange); }
.quote blockquote { margin: 0 0 0.9rem; font-size: 1.15rem; line-height: 1.55; }
.quote blockquote p { margin-bottom: 0.7em; }
.quote blockquote p:last-child { margin-bottom: 0; }
.quote figcaption { font-weight: 600; color: var(--ink); }
.quote figcaption span { display: block; font-weight: 400; color: var(--text-quiet); font-size: 1rem; }
.band--ink .quote figcaption { color: var(--white); }
.band--ink .quote figcaption span { color: #C9C2BF; }
.quote--big blockquote { font-family: var(--display); font-weight: 600; font-size: clamp(1.7rem, 3.4vw, 2.6rem); line-height: 1.12; text-transform: uppercase; color: var(--ink); }
.band--ink .quote--big blockquote { color: var(--white); }
.review-list { display: grid; gap: clamp(2rem, 4vw, 3rem); max-width: 50rem; }

/* FAQ */
.faq { max-width: 52rem; border-top: 2px solid var(--ink); }
.faq details { border-bottom: 2px solid var(--ink); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 1.5rem; align-items: center; padding: 1.2rem 0; font-family: var(--display); font-weight: 700; font-size: clamp(1.4rem, 2.6vw, 1.8rem); line-height: 1.12; text-transform: uppercase; color: var(--ink); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; width: 2.25rem; height: 2.25rem; display: grid; place-items: center; background: var(--orange); border-radius: 50%; font-family: var(--body); font-weight: 500; font-size: 1.6rem; line-height: 1; }
.faq details[open] summary::after { content: "\2212"; }
.faq details > div { padding: 0 3.5rem 1.4rem 0; }
.faq details > div p:last-child { margin-bottom: 0; }

/* Booking form */
.form { display: grid; gap: 1.1rem; }
.form__row { display: grid; gap: 1.1rem; }
@media (min-width: 640px) { .form__row { grid-template-columns: 1fr 1fr; } }
.field { margin: 0; max-width: none; }
.field label { display: block; font-weight: 600; margin-bottom: 0.35rem; color: var(--ink); }
.field__opt { font-weight: 400; color: var(--text-quiet); font-size: 0.95rem; }
.field input, .field select, .field textarea { width: 100%; font: inherit; color: var(--ink); background: var(--white); border: 2px solid var(--ink); border-radius: 3px; padding: 0.75rem 0.9rem; min-height: 3.25rem; }
.field textarea { resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 3px solid var(--orange); outline-offset: 1px; }
.form__trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.5rem; margin: 0.5rem 0 0; max-width: none; }
.form__fine { font-size: 0.98rem; color: var(--text-quiet); }
.form-card { background: var(--white); border: 2px solid var(--ink); border-top: 10px solid var(--orange); padding: clamp(1.5rem, 3.5vw, 2.75rem); }
.notice { padding: 1.25rem 1.5rem; border-left: 6px solid var(--orange); background: var(--smoke); margin-bottom: 1.5rem; }
.notice h3 { margin-bottom: 0.3em; }
.notice p { margin: 0; }
.notice--error { border-left-color: #B3261E; background: #FCEEEC; }
.contact-list { list-style: none; margin: 0 0 2rem; padding: 0; }
.contact-list li { padding: 1rem 0; border-bottom: 1px solid var(--line); }
.contact-list strong { display: block; font-family: var(--display); font-weight: 700; font-size: 1.15rem; letter-spacing: 0.03em; text-transform: uppercase; color: var(--ink); }
.contact-list a { font-size: 1.3rem; font-weight: 600; }

/* Plain text pages */
.prose { max-width: 46rem; }
.prose h2 { font-size: clamp(1.6rem, 3vw, 2.1rem); margin-top: 1.6em; }

/* ---------- Booking band ---------- */
.book-band { position: relative; background: var(--orange); color: var(--ink); padding-block: clamp(3rem, 6vw, 4.75rem); overflow: hidden; }
.book-band__pulse { position: absolute; left: 0; bottom: 0; width: 100%; height: 100%; color: rgba(35, 31, 32, 0.13); }
.book-band__inner { position: relative; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 1.75rem 3rem; }
.book-band h2 { font-size: clamp(2.6rem, 6vw, 4.5rem); margin-bottom: 0.15em; }
.book-band p { margin: 0; font-size: 1.25rem; font-weight: 500; }
.book-band__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.5rem; }
.book-band__phone { color: var(--ink); font-weight: 600; font-size: 1.2rem; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: #D9D3D0; padding-block: clamp(3rem, 6vw, 4.5rem) 1.75rem; font-size: 1.02rem; }
.site-footer a { color: var(--white); text-decoration-thickness: 1px; }
.site-footer a:hover { color: var(--orange); }
.site-footer__grid { display: grid; gap: 2.5rem; }
@media (min-width: 720px) { .site-footer__grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1040px) { .site-footer__grid { grid-template-columns: 1.3fr 1.2fr 1fr 0.8fr; } }
.site-footer__brand img { width: 13.5rem; margin-bottom: 1.1rem; }
.site-footer__brand p { max-width: 26ch; }
.site-footer__title { font-size: 1.3rem; color: var(--orange); letter-spacing: 0.04em; margin-bottom: 0.8rem; }
.site-footer__list { list-style: none; margin: 0; padding: 0; }
.site-footer__list li { margin-bottom: 0.5rem; }
.site-footer__legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.5rem 2rem; margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid #4A4446; font-size: 0.95rem; }
.site-footer__legal p { margin: 0; max-width: none; }

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