/*
Theme Name: Da Capo Concert Band
Theme URI: https://www.dacapoconcertband.co.uk/
Author: Da Capo Concert Band
Description: A bespoke, responsive theme for North London's Concert Band. Original branding, editable WordPress blocks, concert details, rehearsal schedules and archive downloads.
Version: 1.1.0
Requires at least: 6.6
Requires PHP: 7.4
Text Domain: dacapo
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Tags: custom-logo, custom-menu, editor-style, wide-blocks, accessibility-ready
*/
:root { --purple: #913397; --deep: #45235d; --ink: #2e2734; --muted: #6c626f; --lilac: #f5eff8; --line: #e6dce9; --paper: #fff; --font-body: 'Roboto', 'Segoe UI', Arial, sans-serif; --font-heading: 'Arimo', Arial, sans-serif; }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font: 400 18px/1.7 var(--font-body); }
img { max-width: 100%; height: auto; vertical-align: middle; }
a { color: #79307f; text-underline-offset: .2em; }
a:hover { color: var(--deep); }
button, input, textarea, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid #cc9020; outline-offset: 4px; }
.wrap { width: min(1120px, calc(100% - 64px)); margin-inline: auto; }
.skip-link { position: fixed; z-index: 100000; top: 8px; left: 12px; padding: 10px 18px; background: #fff; transform: translateY(-160%); }
.skip-link:focus { transform: none; }
.brand-row { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding-block: 24px; }
.brand { display: flex; align-items: center; gap: 20px; min-width: 0; }
.brand-logo, .custom-logo-link { flex-shrink: 0; display: block; }
.brand-logo img, .custom-logo { width: 80px; height: 72px; object-fit: contain; }
.brand-title { display: block; color: var(--purple); font-family: var(--font-heading); font-size: clamp(20px, 2.7vw, 32px); font-weight: 700; text-transform: uppercase; letter-spacing: .025em; line-height: 1.2; text-decoration: none; }
.brand-text p { margin: 7px 0 0; font-size: 16px; font-style: italic; color: var(--deep); }
.header-email { font-size: 13px; color: var(--muted); }
.nav-bar { background: var(--purple); }
.nav-inner { display: flex; align-items: stretch; justify-content: space-between; gap: 16px; }
.nav-menu { display: flex; flex-wrap: wrap; gap: 0; list-style: none; padding: 0; margin: 0; }
.nav-menu li { margin: 0; }
.nav-menu a { display: block; padding: 16px 13px; color: #fff; font-size: 14px; font-weight: 600; text-decoration: none; }
.nav-menu li:first-child a { padding-left: 0; padding-right: 20px; }
.nav-menu a:hover, .nav-menu .current-menu-item a, .nav-menu a[aria-current] { text-decoration: underline; text-underline-offset: 6px; }
.nav-ticket { display: flex; align-items: center; gap: 22px; flex-shrink: 0; font-size: 14px; font-weight: 600; color: #fff; text-decoration: none; border-left: 1px solid #b367b7; padding: 0 0 0 22px; }
.nav-ticket:hover { color: #fff; text-decoration: underline; }
.menu-toggle { display: none; background: none; border: 0; color: #fff; padding: 12px 0; font-weight: 600; }
.entry-content > :first-child { margin-top: 0; }
.entry-content > :last-child { margin-bottom: 0; }
.entry-content h1, .entry-content h2, .entry-content h3, .page-heading h1 { font-family: var(--font-heading); font-weight: 700; color: var(--deep); line-height: 1.15; }
.entry-content h1 { font-size: clamp(42px, 5.1vw, 60px); letter-spacing: -.025em; margin: 16px 0 24px; }
.entry-content h2 { font-size: clamp(30px, 3.2vw, 40px); letter-spacing: -.02em; margin: 0 0 22px; }
.entry-content h3 { font-size: 25px; margin: 0 0 14px; }
.entry-content p { margin: 0 0 22px; }
.entry-content .eyebrow, .eyebrow { color: #79307f; font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; margin: 0 0 18px; }
.entry-content .lead { font-size: 20px; font-weight: 500; line-height: 1.65; color: #56475f; }
.hero-section { padding: 68px 0; background: var(--lilac); border-bottom: 1px solid var(--line); }
.hero-grid { display: grid; grid-template-columns: 1.35fr 1fr; gap: 64px; align-items: center; }
.hero-copy p:not(.eyebrow) { max-width: 590px; }
.concert-meta { font-size: 16px; color: var(--deep); margin: 26px 0 !important; }
.concert-meta strong { display: block; margin-bottom: 5px; font-size: 19px; }
.wp-block-buttons { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0; }
.wp-block-button__link, .button { display: inline-block; padding: 13px 25px; background: var(--purple); color: #fff; font-size: 15px; font-weight: 600; border: 1px solid var(--purple); border-radius: 4px; text-decoration: none; line-height: 1.4; box-shadow: none; }
.wp-block-button__link:hover, .button:hover { background: var(--deep); color: #fff; border-color: var(--deep); }
.is-style-outline .wp-block-button__link { background: transparent; color: #79307f; border: 1px solid #a575aa; }
.is-style-outline .wp-block-button__link:hover { background: #fff; color: var(--deep); }
.concert-poster { position: relative; padding: 36px; background: var(--deep); color: #fff; border-radius: 2px; box-shadow: 12px 12px 0 #e7d8ed; overflow: hidden; }
.concert-poster::before { content: ''; position: absolute; width: 230px; height: 230px; border: 1px solid #ffffff24; border-radius: 50%; right: -130px; top: 35px; box-shadow: 0 0 0 25px #ffffff05, 0 0 0 50px #ffffff05; pointer-events: none; }
.entry-content .concert-poster .eyebrow { color: #e6c5e9; font-size: 11px; }
.entry-content .concert-poster h2 { font-size: 43px; color: #fff; margin-bottom: 24px; }
.entry-content .poster-date { font: 700 72px/1 var(--font-heading); color: #fff; margin: 0 0 9px; letter-spacing: -.03em; }
.poster-date-label { font-size: 13px; letter-spacing: .13em; text-transform: uppercase; color: #e6c5e9; }
.poster-rule { border-top: 1px solid #ffffff40; padding-top: 24px; margin-top: 26px; }
.poster-rule p { font-size: 14px; margin-bottom: 10px; }
.section { padding: 70px 0; }
.section-soft { background: #fbf9fc; border-block: 1px solid var(--line); }
.intro-grid, .content-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 64px; align-items: start; }
.intro-grid { grid-template-columns: 1fr 1.45fr; align-items: center; }
.entry-content .photo-frame { margin: 0; }
.photo-frame img { display: block; width: 100%; object-fit: cover; border-radius: 3px; }
.intro-grid .photo-frame img { min-height: 240px; }
.entry-content .photo-frame figcaption { font-size: 12px; color: var(--muted); margin: 12px 0 0; line-height: 1.5; }
.text-link { font-size: 15px; font-weight: 600; }
.price-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin: 30px 0; border-block: 1px solid var(--line); }
.price-item { padding: 24px 20px; border-right: 1px solid var(--line); }
.price-item:first-child { padding-left: 0; }
.price-item:last-child { border: 0; }
.entry-content .price-label { font-size: 14px; margin: 0 0 8px; }
.entry-content .price-amount { font: 700 34px/1.2 var(--font-heading); color: var(--deep); margin: 0 0 8px; }
.entry-content .small { font-size: 13px; color: var(--muted); margin-bottom: 0; }
.join-band { display: grid; grid-template-columns: 1.5fr 1fr; gap: 48px; align-items: center; background: var(--lilac); padding: 40px; border-left: 4px solid var(--purple); }
.join-band .wp-block-buttons { justify-content: flex-end; margin: 0; }
.join-band p { margin-bottom: 0; }
.page-main { padding-block: 58px 80px; min-height: 62vh; }
.page-heading { padding-bottom: 30px; margin-bottom: 36px; border-bottom: 1px solid var(--line); }
.page-heading h1 { font-size: clamp(40px, 5vw, 58px); margin: 0; letter-spacing: -.025em; }
.page-main .entry-content > p, .page-main .entry-content > h2, .page-main .entry-content > h3 { max-width: 800px; }
.page-main .entry-content > h2 { margin-top: 44px; }
.page-main .entry-content .wp-block-buttons { margin-block: 28px; }
.info-box { background: var(--lilac); padding: 30px; border-left: 3px solid var(--purple); }
.info-box h2, .info-box h3 { font-size: 27px; }
.info-box p { font-size: 16px; }
.info-box .wp-block-buttons { margin-bottom: 0; }
.info-box .wp-block-button__link { padding: 12px 18px; }
.portrait img { max-height: 430px; object-fit: contain; background: var(--lilac); }
.image-trio { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; margin: 36px 0; }
.image-trio img { width: 100%; height: 205px; object-fit: cover; border-radius: 3px; }
.image-trio figure { margin: 0; }
.image-trio figcaption { font-size: 13px; color: var(--muted); margin: 8px 0; }
.signup-frame { display: block; width: 100%; height: 760px; border: 1px solid var(--line); background: #fff; border-radius: 4px; }
.form-note { font-size: 14px; color: var(--muted); }
.wp-block-table { margin: 28px 0 36px; overflow-x: auto; }
.wp-block-table table { width: 100%; border-collapse: collapse; font-size: 15px; }
.wp-block-table th { background: var(--deep); color: #fff; text-align: left; font-weight: 600; }
.wp-block-table th, .wp-block-table td { padding: 14px 18px; border: 1px solid var(--line); }
.wp-block-table tbody tr:nth-child(even) { background: #fbf8fc; }
.wp-block-table a { font-weight: 600; }
.rehearsal-table table { min-width: 630px; }
.archive-table table { min-width: 540px; }
.site-footer { background: #34203f; color: #ddcfe2; padding: 48px 0 20px; font-size: 14px; }
.site-footer a { color: #f6edf8; overflow-wrap: anywhere; }
.footer-main { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 48px; padding-bottom: 35px; }
.footer-main p { margin: 0 0 12px; }
.footer-main > div:not(:first-child) a { display: block; text-decoration: none; margin: 6px 0; }
.footer-main a:hover { text-decoration: underline; }
.footer-title { font: 700 25px/1.2 var(--font-heading); color: #fff; }
.footer-label { font-size: 11px; letter-spacing: .13em; text-transform: uppercase; color: #c8abce; }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; border-top: 1px solid #ffffff20; padding-top: 20px; font-size: 12px; }
.footer-bottom p { margin: 0; }
.footer-bottom img { background: #fff; padding: 3px; }
.news-entry { padding-block: 24px; border-bottom: 1px solid var(--line); }
.woocommerce a.button, .woocommerce button.button { background: var(--purple); color: #fff; }
@media (max-width: 1050px) {
  .header-email { display: none; }
  .nav-menu a { padding-inline: 10px; font-size: 13px; }
  .hero-grid { gap: 36px; }
  .intro-grid, .content-grid { gap: 36px; }
}
@media (max-width: 860px) {
  .wrap { width: calc(100% - 40px); }
  .brand-row { padding-block: 18px; }
  .brand-logo img, .custom-logo { width: 65px; height: 59px; }
  .brand { gap: 16px; }
  .brand-title { font-size: 25px; }
  .brand-text p { font-size: 14px; }
  .nav-inner { flex-wrap: wrap; align-items: center; gap: 0; }
  .menu-toggle { display: inline-flex; align-items: center; justify-content: space-between; gap: 25px; order: 0; }
  .nav-ticket { order: 1; margin-left: auto; padding-left: 20px; }
  .main-navigation { width: 100%; order: 2; }
  .nav-menu { flex-direction: column; padding: 0 0 12px; }
  .has-js .nav-menu { display: none; }
  .has-js .nav-menu.is-open { display: flex; }
  .nav-menu a, .nav-menu li:first-child a { padding: 10px 0; font-size: 15px; }
  .hero-grid { grid-template-columns: 1fr 1fr; gap: 30px; }
  .hero-section { padding-block: 48px; }
  .entry-content h1 { font-size: 40px; }
  .concert-poster { padding: 25px; }
  .entry-content .concert-poster h2 { font-size: 34px; }
  .entry-content .poster-date { font-size: 58px; }
  .join-band { padding: 30px; gap: 24px; }
  .price-grid { grid-template-columns: repeat(2,1fr); }
  .price-item { border-bottom: 1px solid var(--line); }
  .price-item:nth-child(even) { border-right: 0; }
  .price-item:nth-child(odd) { padding-left: 0; }
  .price-item:nth-child(n+3) { border-bottom: 0; }
  .footer-main { gap: 28px; }
}
@media (max-width: 620px) {
  body { font-size: 17px; }
  .brand { gap: 12px; }
  .brand-title { font-size: 18px; letter-spacing: .04em; max-width: 250px; }
  .brand-text p { font-size: 12px; }
  .brand-logo img, .custom-logo { width: 54px; height: 49px; }
  .hero-grid, .intro-grid, .content-grid, .join-band { grid-template-columns: 1fr; }
  .hero-grid { gap: 30px; }
  .entry-content h1 { font-size: 40px; }
  .entry-content .lead { font-size: 18px; }
  .concert-poster { margin-right: 12px; padding: 30px; }
  .entry-content .concert-poster h2 { font-size: 38px; }
  .section { padding-block: 44px; }
  .join-band { gap: 18px; padding: 26px; }
  .join-band .wp-block-buttons { justify-content: flex-start; }
  .intro-grid .photo-frame { max-width: 420px; }
  .intro-grid .photo-frame img { min-height: 0; }
  .page-main { padding-block: 38px 54px; }
  .page-heading { margin-bottom: 28px; padding-bottom: 24px; }
  .page-heading h1 { font-size: 42px; }
  .content-grid { gap: 30px; }
  .image-trio { grid-template-columns: 1fr; gap: 24px; }
  .image-trio img { height: auto; max-height: 320px; object-fit: contain; background: var(--lilac); }
  .footer-main { grid-template-columns: 1fr 1fr; gap: 30px; }
  .footer-main > div:first-child { grid-column: 1 / -1; }
  .site-footer { padding-top: 36px; }
  .wp-block-table th, .wp-block-table td { padding: 12px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
