/* ==========================================================
   Centre Stage Arts — main stylesheet
   To change a colour site-wide, edit the values just below.
   ========================================================== */
:root {
  --plum: #5E287E;      /* purple bands: top bar, banners, feature sections */
  --deep: #3F1757;      /* footer */
  --purple: #5E287E;    /* brand purple: headings, links */
  --lilac: #F3EEF8;     /* soft tinted backgrounds */
  --ember: #C2410C;     /* buttons and small accents */
  --ember-light: #F59563; /* accents on dark backgrounds */
  --ink: #1F1A24;       /* body text */
  --muted: #57505F;     /* secondary text */
  --line: #E6DEED;
  --on-dark: #E2D7EC;
  --heading: 'Bricolage Grotesque', system-ui, sans-serif;
  --body: 'Figtree', system-ui, sans-serif;
  --radius: 24px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; font-family: var(--body); font-size: 17px; line-height: 1.6; color: var(--ink); background: #fff; }
img { max-width: 100%; display: block; }
a { color: var(--purple); }
a:hover { color: var(--ember); }
:focus-visible { outline: 3px solid var(--ember); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3 { font-family: var(--heading); font-weight: 700; color: var(--plum); margin: 0; }
p { margin: 0; }
p, blockquote, li { text-align: justify; hyphens: none; -webkit-hyphens: none; word-break: normal; overflow-wrap: normal; }

.wrap { max-width: 1240px; margin: 0 auto; padding: 0 24px; }
.section { padding: 104px 0; }
.section--lilac { background: var(--lilac); }
.section--dark { background: var(--plum); color: var(--on-dark); }
.section--dark h2, .section--dark h3 { color: #fff; }

.eyebrow { margin-bottom: 12px; font-size: 14px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ember); }
.section--dark .eyebrow, .hero .eyebrow { color: var(--ember-light); }
.h2 { font-size: clamp(32px, 4vw, 48px); line-height: 1.1; margin-bottom: 24px; }
.lead { font-size: 19px; }
.muted { color: var(--muted); }
.section--dark .muted { color: var(--on-dark); }
.stack > * + * { margin-top: 18px; }

/* Buttons */
.btn { display: inline-block; font-weight: 700; text-decoration: none; padding: 15px 28px; border-radius: 999px; border: 0; font-family: inherit; font-size: 16px; cursor: pointer; }
.btn--primary { background: var(--ember); color: #fff; }
.btn--primary:hover { background: #9A3412; color: #fff; }
.btn--outline { color: #fff; border: 1px solid #8C6AA8; }
.btn--outline:hover { color: #fff; border-color: #fff; }
.btn--white { background: #fff; color: var(--plum); }
.btn--white:hover { color: var(--ember); }
.text-link { font-weight: 700; }

/* Top bar + header */
.topbar { background: var(--plum); color: #E9E1F0; font-size: 14px; }
.topbar .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; padding-top: 8px; padding-bottom: 8px; }
.topbar a { color: #fff; text-decoration: none; }
.site-header { background: #fff; border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 50; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-top: 14px; padding-bottom: 14px; }
.logo img { width: 200px; height: auto; }
.nav { display: flex; align-items: center; gap: 28px; }
.nav a { color: var(--ink); font-weight: 500; text-decoration: none; padding: 8px 2px; border-bottom: 2px solid transparent; }
.nav a:hover { color: var(--purple); }
.nav a[aria-current="page"] { color: var(--purple); font-weight: 700; border-bottom-color: var(--ember); }
.nav .btn { color: #fff; border-bottom: 0; padding: 12px 22px; }
.menu-toggle { display: none; background: none; border: 1px solid var(--line); border-radius: 10px; padding: 10px 14px; font: inherit; font-weight: 600; color: var(--plum); cursor: pointer; }

@media (max-width: 960px) {
  .menu-toggle { display: block; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-bottom: 1px solid var(--line); flex-direction: column; align-items: stretch; gap: 0; padding: 8px 24px 24px; }
  .nav.is-open { display: flex; }
  .nav a { padding: 14px 0; border-bottom: 1px solid var(--line); }
  .nav a[aria-current="page"] { border-bottom-color: var(--line); }
  .nav .btn { margin-top: 16px; text-align: center; padding: 14px 22px; }
}

/* Split hero (image on one side) */
.hero { background: var(--plum); }
.hero .wrap { display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; }
.hero__text { padding: 112px 48px 112px 0; display: flex; flex-direction: column; justify-content: center; }
.hero h1 { color: #fff; font-size: clamp(44px, 6vw, 80px); line-height: 1; letter-spacing: -0.025em; }
.hero p.lead { color: var(--on-dark); font-size: 20px; margin-top: 28px; max-width: 520px; }
.hero__buttons { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 40px; }
.hero__img { position: relative; min-height: 560px; }
.hero__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 42% center; }
@media (max-width: 860px) {
  .hero .wrap { grid-template-columns: 1fr; padding: 0; }
  .hero__text { padding: 72px 24px; }
  .hero__img { min-height: 340px; }
}

/* Simple page hero */
.page-hero { background: var(--lilac); padding: 88px 0 72px; }
.page-hero h1 { font-size: clamp(40px, 5.5vw, 72px); line-height: 1.02; letter-spacing: -0.02em; max-width: 900px; }
.page-hero p.lead { font-size: 20px; color: var(--muted); margin-top: 24px; max-width: 640px; }

/* Credentials strip */
.credentials { border-bottom: 1px solid var(--line); }
.credentials .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px 24px; padding-top: 26px; padding-bottom: 26px; font-size: 15px; font-weight: 600; color: var(--purple); }

/* Two-column layouts */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split--top { align-items: start; }
.split--reverse > :first-child { order: 2; }
.split img.rounded { width: 100%; height: 460px; object-fit: cover; border-radius: var(--radius); }
.portrait { width: 100%; max-width: 460px; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius); }
@media (max-width: 860px) {
  .split { grid-template-columns: 1fr; gap: 40px; }
  .split--reverse > :first-child { order: 0; }
  .split img.rounded { height: 320px; }
}

/* Service cards (home) */
.cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
.card { background: var(--lilac); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
.card img { width: 100%; height: 280px; object-fit: cover; }
.card__body { padding: 36px; display: flex; flex-direction: column; gap: 14px; flex-grow: 1; }
.card h3 { font-size: 30px; line-height: 1.15; }
.card .text-link { margin-top: auto; }
@media (max-width: 760px) { .cards { grid-template-columns: 1fr; } }

/* Tick lists */
.ticks { list-style: none; padding: 0; margin: 28px 0 36px; display: grid; gap: 14px; }
.ticks li { display: flex; gap: 14px; }
.ticks svg { flex-shrink: 0; margin-top: 3px; }
.price-row { display: flex; flex-wrap: wrap; align-items: center; gap: 20px 32px; }
.price { font-size: 15px; color: var(--muted); }
.price strong { font-family: var(--heading); font-size: 30px; color: var(--plum); }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; margin-top: 48px; }
.step { border-top: 2px solid var(--ember-light); padding-top: 24px; }
.step__num { font-family: var(--heading); font-size: 40px; font-weight: 800; color: var(--ember-light); margin-bottom: 10px; }
.step h3 { font-size: 22px; margin-bottom: 8px; }
.step p { font-size: 16px; }
@media (max-width: 900px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }

/* Testimonials */
.quotes { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; margin-top: 48px; }
.quote { margin: 0; background: #fff; border-radius: 20px; padding: 36px; display: flex; flex-direction: column; gap: 20px; }
.quote blockquote { margin: 0; font-size: 18px; flex-grow: 1; }
.quote figcaption { font-size: 15px; }
.quote figcaption strong { color: var(--plum); display: block; }
.quote figcaption span { color: var(--muted); }

/* Qualifications */
.quals { list-style: none; margin: 0; padding: 0; border-top: 1px solid #E0D4EA; font-size: 18px; font-weight: 500; color: var(--plum); }
.quals li { padding: 16px 0; border-bottom: 1px solid #E0D4EA; }
.stat { background: var(--plum); border-radius: var(--radius); padding: 36px; margin-top: 24px; }
.stat strong { display: block; font-family: var(--heading); font-size: 56px; line-height: 1; color: var(--ember-light); margin-bottom: 8px; }
.stat p { color: var(--on-dark); font-size: 18px; }

/* Shows */
.shows { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; margin-top: 48px; }
.show { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
.show img { width: 100%; height: 240px; object-fit: cover; }
.show__body { padding: 32px; display: flex; flex-direction: column; gap: 12px; flex-grow: 1; }
.show h3 { font-size: 28px; line-height: 1.15; }
.show .btn { margin-top: auto; align-self: flex-start; }
.panel { background: #fff; border-radius: var(--radius); padding: 36px; }
.panel h3 { font-size: 24px; margin-bottom: 12px; }
.gallery { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; margin-top: 48px; }
.gallery img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 18px; }
@media (max-width: 760px) { .shows { grid-template-columns: 1fr; } .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* Call to action band */
.cta { background: var(--purple); padding: 80px 0; }
.cta .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 32px; }
.cta h2 { color: #fff; font-size: clamp(32px, 4vw, 48px); line-height: 1.1; }
.cta p { color: #EADFF3; font-size: 19px; margin-top: 16px; max-width: 640px; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 56px; align-items: start; }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.form .full { grid-column: 1 / -1; }
.form label { display: block; font-size: 15px; font-weight: 600; color: var(--plum); }
.form input, .form select, .form textarea { display: block; width: 100%; margin-top: 8px; padding: 14px 16px; font: inherit; font-size: 16px; color: var(--ink); background: #fff; border: 1px solid #CDBFD9; border-radius: 12px; }
.form textarea { resize: vertical; min-height: 160px; }
.form .hp { position: absolute; left: -9999px; }
.contact-card { background: var(--plum); color: var(--on-dark); border-radius: var(--radius); padding: 40px; display: grid; gap: 28px; }
.contact-card .eyebrow { color: var(--ember-light); margin-bottom: 6px; }
.contact-card p, .contact-card a { color: #fff; font-size: 19px; }
.socials { display: flex; flex-wrap: wrap; gap: 18px; }
.socials a { font-size: 17px; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .form { grid-template-columns: 1fr; } }

/* Footer */
.site-footer { background: var(--plum); color: #D9CFE3; font-size: 15px; }
.site-footer .cols { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 40px; padding: 64px 0 32px; }
.site-footer .brand { font-family: var(--heading); font-size: 24px; font-weight: 700; color: #fff; margin-bottom: 12px; }
.site-footer h4 { margin: 0 0 12px; color: #fff; font-size: 15px; }
.site-footer a { color: #D9CFE3; text-decoration: none; }
.site-footer a:hover { color: #fff; }
.site-footer .links { display: grid; gap: 6px; }
.site-footer .email { color: var(--ember-light); }
.site-footer .bottom { border-top: 1px solid #3D2650; padding: 20px 0 28px; font-size: 14px; color: #B9AAC6; }

/* Results (home) */
.results { border: 2px dashed #E8572A; border-radius: var(--radius); padding: 48px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px 56px; align-items: start; }
.results h3 { font-size: 20px; color: var(--purple); margin-bottom: 16px; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { display: inline-block; padding: 10px 18px; border-radius: 999px; font-weight: 600; font-size: 16px; background: var(--purple); color: #fff; }
.chip--add { background: #fff; color: var(--muted); border: 1px dashed #B9A3C9; }
@media (max-width: 900px) { .results { grid-template-columns: 1fr; padding: 32px; } }

/* FAQ (services) */
.faq-grid { display: grid; grid-template-columns: 1fr 2fr; gap: 48px 64px; align-items: start; }
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); padding: 22px 0; }
.faq summary { cursor: pointer; font-family: var(--heading); font-size: 21px; font-weight: 700; color: var(--purple); }
.faq details p { margin-top: 14px; color: var(--muted); max-width: 760px; }
@media (max-width: 860px) { .faq-grid { grid-template-columns: 1fr; } }

/* WhatsApp */
.wa-float { position: fixed; right: 20px; bottom: 20px; z-index: 60; display: flex; align-items: center; gap: 10px; background: #0E7A3D; color: #fff; text-decoration: none; font-weight: 700; font-size: 16px; padding: 14px 22px 14px 18px; border-radius: 999px; box-shadow: 0 6px 20px rgba(14,122,61,0.35); }
.wa-float:hover { color: #fff; background: #0B6332; }
@media (max-width: 560px) { .wa-float span { display: none; } .wa-float { padding: 16px; } }
.wa-btn { display: inline-flex !important; align-items: center; gap: 10px; background: #0E7A3D; color: #fff !important; text-decoration: none; font-weight: 700; font-size: 17px !important; padding: 12px 20px 12px 16px; border-radius: 999px; }

/* Form note + privacy page */
.form-note { font-size: 14px; color: var(--muted); }
.prose { max-width: 760px; font-size: 18px; }
.prose h2 { font-size: 26px; color: var(--purple); margin: 40px 0 12px; }
.prose h2:first-child { margin-top: 0; }

/* Social icons */
.social-icons { display: flex; gap: 12px; margin-top: 16px; }
.social-icons a { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(255,255,255,0.35); color: #fff !important; font-size: 20px !important; text-decoration: none; }
.social-icons a:hover { background: rgba(255,255,255,0.12); border-color: #fff; }
.contact-card .social-icons { margin-top: 0; }

/* Corporate Training page */
.corp-hero { background: var(--purple); padding: 104px 0 96px; }
.corp-hero h1 { color: #fff; font-size: clamp(40px, 5.5vw, 72px); line-height: 1.02; letter-spacing: -0.02em; max-width: 920px; }
.corp-hero .eyebrow { color: var(--ember-light); }
.corp-hero .lead { color: var(--on-dark); font-size: 20px; margin-top: 24px; max-width: 680px; }
.clients { border-bottom: 1px solid var(--line); }
.clients .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 40px; padding-top: 30px; padding-bottom: 30px; font-weight: 600; color: var(--purple); }
.clients__label { font-size: 14px; font-weight: 700; color: var(--muted); }
.programmes { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 24px; }
.programme { border: 2px dashed #E8572A; border-radius: var(--radius); padding: 32px; display: flex; flex-direction: column; gap: 12px; }
.programme__meta { font-size: 14px; font-weight: 700; color: var(--ember); }
.programme h3 { font-size: 26px; line-height: 1.15; color: var(--purple); }
.cta--orange { background: var(--ember); }
.cta--orange p { color: #FFEDE4; }

/* six menu items need the mobile menu a little earlier */
@media (max-width: 1120px) {
  .menu-toggle { display: block; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-bottom: 1px solid var(--line); flex-direction: column; align-items: stretch; gap: 0; padding: 8px 24px 24px; }
  .nav.is-open { display: flex; }
  .nav a { padding: 14px 0; border-bottom: 1px solid var(--line); }
  .nav a[aria-current="page"] { border-bottom-color: var(--line); }
  .nav .btn { margin-top: 16px; text-align: center; padding: 14px 22px; }
}

/* Full-width featured testimonial (About page) */
.quote--wide { grid-column: 1 / -1; }
.quote blockquote p + p { margin-top: 14px; }

/* Credentials banner (Corporate Training) */
.cred-banner { border-bottom: 1px solid var(--line); }
.cred-banner .wrap { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.cred-banner .wrap > div { padding: 36px 16px; text-align: center; border-left: 1px solid var(--line); }
.cred-banner .wrap > div:first-child { border-left: 0; }
.cred-banner p { text-align: center; font-size: 16px; color: #3A3340; }
.cred-banner .cred-banner__big { white-space: nowrap; font-family: var(--heading); font-size: clamp(30px, 3.4vw, 46px); line-height: 1; font-weight: 700; letter-spacing: -0.02em; color: #E8572A; margin-bottom: 10px; }
@media (max-width: 900px) {
  .cred-banner .wrap { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cred-banner .wrap > div:nth-child(3) { border-left: 0; }
  .cred-banner .wrap > div:nth-child(n+3) { border-top: 1px solid var(--line); }
}
@media (max-width: 480px) {
  .cred-banner .wrap { grid-template-columns: 1fr; }
  .cred-banner .wrap > div { border-left: 0; }
  .cred-banner .wrap > div + div { border-top: 1px solid var(--line); }
}

/* Show posters with clickable city star */
.show__poster { position: relative; }
.show__poster img { width: 100%; height: auto; aspect-ratio: 1 / 1; object-fit: cover; }
.show img { height: auto; }
.city-star { position: absolute; top: 53%; right: 12px; width: 132px; height: 132px; display: flex; align-items: center; justify-content: center; text-decoration: none; transition: transform 0.15s ease; }
.city-star:hover { transform: rotate(-6deg) scale(1.05); }
@media (prefers-reduced-motion: reduce) { .city-star { transition: none; } .city-star:hover { transform: none; } }
.city-star svg { position: absolute; inset: 0; width: 100%; height: 100%; filter: drop-shadow(0 4px 10px rgba(36,16,51,0.35)); }
.city-star polygon { fill: var(--purple); stroke: #fff; stroke-width: 2.5; stroke-linejoin: round; }
.city-star__text { position: relative; display: flex; flex-direction: column; align-items: center; color: #fff; text-align: center; font-family: var(--heading); line-height: 1.05; }
.city-star__city { font-size: 20px; font-weight: 800; }
.city-star__cta { font-size: 12px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; margin-top: 4px; }
@media (max-width: 480px) { .city-star { width: 108px; height: 108px; } .city-star__city { font-size: 17px; } }

/* Past productions list */
.past-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 20px; }
.past { border: 1px solid #4A2A63; border-radius: 20px; padding: 28px; background: #2E1641; display: flex; flex-direction: column; gap: 8px; min-height: 150px; }
.past__num { font-size: 13px; font-weight: 700; letter-spacing: 0.1em; color: var(--ember-light); }
.past h3 { font-size: 24px; line-height: 1.15; color: #fff; }
.past p { font-size: 15px; color: #CBBBD9; text-align: left; }
.stat { margin-top: 0; }

/* About intro: smaller headshot aligned with the text */
.about-intro { display: grid; grid-template-columns: 300px 1fr; gap: 56px; align-items: start; }
.about-intro__photo { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: center top; border-radius: 20px; margin-top: 6px; }
@media (max-width: 760px) { .about-intro { grid-template-columns: 1fr; gap: 32px; } .about-intro__photo { max-width: 280px; } }


/* ==========================================================
   Purple, orange & white scheme (matches the approved Home page)
   ========================================================== */
h1, h2, h3 { color: var(--purple); }
.hero h1, .corp-hero h1, .section--dark h2, .section--dark h3, .cta h2, .past h3 { color: #fff; }
.section--lilac { background: #fff; border-top: 1px solid var(--line); }
.card { background: #fff; border: 2px dashed #E8572A; }
.quote { border: 1px solid #E3D6EC; border-top: 4px solid #E8572A; }
.cta { background: var(--ember); }
.cta p { color: #FFEDE4; }
.site-footer { background: var(--deep); }
.site-footer .bottom { border-top-color: #57307A; }
.panel { border: 1px solid #E3D6EC; }
.page-hero h1 { color: var(--purple); }
.past { background: #4E2069; border-color: #7A4C99; }
.stat { background: var(--purple); }
.contact-card { background: var(--purple); }

/* Past productions with book covers */
.past-grid { grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 40px 28px; }
.past { background: none; border: 0; padding: 0; min-height: 0; gap: 0; }
.past__cover { aspect-ratio: 4 / 5; border-radius: 16px; overflow: hidden; background: #fff; box-shadow: 0 10px 24px rgba(20,6,30,0.35); margin-bottom: 14px; }
.past__cover img { width: 100%; height: 100%; object-fit: cover; }
.past h3 { font-size: 19px; line-height: 1.2; }
.past p { font-size: 14px; margin-top: 4px; }
@media (max-width: 480px) { .past-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 16px; } .past h3 { font-size: 16px; } }
/* show each whole cover, centred on a soft lilac tile */
.past__cover { aspect-ratio: 1 / 1; background: #EFE6F6; display: flex; align-items: center; justify-content: center; padding: 14px; }
.past__cover img { width: auto; height: auto; max-width: 100%; max-height: 100%; object-fit: contain; border-radius: 8px; box-shadow: 0 4px 12px rgba(20,6,30,0.25); }
/* uniform square cover tiles (backdrop is built into each image) */
.past__cover { aspect-ratio: 1 / 1; padding: 0; background: #2E1641; display: block; }
.past__cover img { width: 100%; height: 100%; max-width: none; max-height: none; object-fit: cover; border-radius: 0; box-shadow: none; }
