/* Public colour theme. Brand gold is shared with index.php and header.php. */
:root, [data-theme="dark"] {
    --madola-gold: #D4AF37;
    --madola-surface: #000000;
    --primary-color: var(--madola-gold);
    --font-color: #FFFFFF;
    --heading-color: var(--madola-gold);
    --bg-color: #000000;
    --bg-grey: #000000;
    --bg-lightgrey: #000000;
    --nav-color: #FFFFFF;
    --dropdown-color: #000000;
    --footer-bg: #000000;
    --footer-bglight: #000000;
    --border-color: var(--madola-gold);
    --border-color-light: var(--madola-gold);
}
html { color-scheme: dark; scroll-behavior: smooth; background-color: #000000; }
body { background: #000000 !important; color: #FFFFFF !important; }
/* Keep image banners and video layers intact; only replace their base colour. */
body section, body .hero-banner, body .inner-banner { background-color: #000000 !important; }
/* These sections contain colour gradients, rather than background photographs. */
body :is(.w3l-ab-page, .w3l-about-2, .w3l-process, .albums-section,
    .accomplishments-section, .contact-section, .reviews-section,
    .review-form-section, .sv-hero, .sv-body, .inner-banner) {
    background-image: none !important;
}
body :is(.bg-light, .bg-white, .bg-dark, .blog-bg-sec, .faq-container,
    .box-wrap, .w3l-features .grids-1, .card, .card-header, .card-body, .card-footer, .modal-content,
    .album-card, .accomplishment-card, .blog-card, .review-card, .testimonial-card,
    .testimonial-header, .form-card, .contact-info-card, .grids_info, .team-item,
    .team-item .text-center, .portfolio-card, .project-card, .fee-details,
    .empty-albums, .empty-reviews, .empty-testimonials, .catchy-message,
    .content-placeholder, .content-video, .music-panel, .top-bar, .main-nav-wrap,
    .dropdown-menu, .navbar-collapse.show, .faq-question, .faq-answer,
    .sv-option, .sv-standard-card, .sv-alert, #site-header, footer) {
    background: #000000 !important;
    color: #FFFFFF !important;
}
body :is(.card, .album-card, .accomplishment-card, .blog-card, .review-card,
    .testimonial-card, .form-card, .contact-info-card, .portfolio-card,
    .content-faq, .content-video, .content-placeholder, .modal-content,
    .modal-header, .modal-footer, .sv-options, .sv-option, .sv-standard-card,
    .sv-alert, .border-top, .top-bar) { border-color: var(--madola-gold) !important; }
body :is(p, .text-para, .text-muted, .text-dark, li, label,
    .blog-meta, .blog-meta span, .blog-date, .review-date, .review-text,
    .review-content, .review-count, .service-description, .testimonial-text,
    .client-info, .client-detail-item, .process-text,
    .sv-option span, .sv-standard-title, .sv-standard-desc, .sv-sublabel,
    .sv-hint, .sv-privacy-note, .contact-links a) { color: #FFFFFF !important; }
body :is(h1, h2, h3, h4, h5, h6, .title-head, .title-style, .title-w3l,
    .section-title, .form-title, .title-content h3, .project-header,
    .text-warning, .text-gold, .gold-text, .content-faq summary,
    .sv-num, .sv-required, .sv-standard-eyebrow) { color: var(--madola-gold) !important; }
/* Solid heading colour replaces light-theme text gradients. */
body :is(.title-style, .title-w3l, .section-title, .form-title,
    .title-content h3, .inner-w3-title) { background-image: none !important; }
body .hero-content h1 { color: #FFFFFF !important; }
body a:not(.btn):not(.nav-link):not(.social-icon) { color: var(--madola-gold); }
body a[style]:not(.btn) { color: var(--madola-gold) !important; }
body a:hover, body a:focus-visible { color: #FFFFFF !important; text-decoration: underline !important; }
body :is(.nav-link, .dropdown-item) { color: #FFFFFF !important; }
body .dropdown-item { white-space: normal; }
body :is(.nav-link:hover, .nav-link:focus-visible, .nav-link.active,
    .nav-link.show, .dropdown-item:hover, .dropdown-item:focus,
    .dropdown-item.active, .dropdown-item:active) {
    color: var(--madola-gold) !important;
    background-color: #000000 !important;
}
body :is(.btn-primary, .btn-style, .btn-visit, .btn-toggle, .sv-submit-btn,
    .music-control, input[type=submit], #movetop, .call-float, .whatsapp-float) {
    background: var(--madola-gold) !important;
    border-color: var(--madola-gold) !important;
    color: #000000 !important;
}
body :is(.btn-primary, .btn-style, .btn-visit, .btn-toggle, .sv-submit-btn,
    .music-control, input[type=submit], #movetop, .call-float, .whatsapp-float):is(:hover, :focus-visible, :active) {
    background: #000000 !important;
    color: var(--madola-gold) !important;
    box-shadow: inset 0 0 0 1px var(--madola-gold);
}
body :is(.btn-outline-primary, .read-more-btn, .social-icon, .social-links a,
    .social-links-contact a, .address-grid i) {
    background: #000000 !important;
    color: var(--madola-gold) !important;
    border-color: var(--madola-gold) !important;
}
body :is(.btn-outline-primary, .read-more-btn, .social-icon, .social-links a,
    .social-links-contact a, .portfolio-filters a):is(:hover, :focus-visible, :active),
body .portfolio-filters a[aria-current=page] {
    background: var(--madola-gold) !important;
    color: #000000 !important;
    border-color: var(--madola-gold) !important;
}
body :is(.btn, .btn-visit, .btn-toggle, .sv-submit-btn, .music-control,
    .call-float, .whatsapp-float, .social-icon, .social-links a,
    .social-links-contact a, .read-more-btn) :is(i, span) { color: inherit !important; }
body input:not([type=checkbox]):not([type=radio]):not([type=submit]),
body textarea, body select {
    background: #000000 !important;
    color: #FFFFFF !important;
    border-color: var(--madola-gold) !important;
}
body input::placeholder, body textarea::placeholder { color: #FFFFFF !important; opacity: 1; }
/* Visit form questions lead; examples remain secondary to entered text. */
body .sv-label { color: #fff !important; font-size: 16px; font-weight: 700; line-height: 1.5; letter-spacing: .02em; text-transform: none; }
body :is(.sv-input, .sv-textarea)::placeholder { color: #929292 !important; opacity: 1; font-size: 14px; font-weight: 400; }
body :is(.sv-input, .sv-textarea) { color: #fff !important; font-size: 16px; }
body :is(.sv-input, .sv-textarea):focus-visible { outline: 2px solid var(--madola-gold); outline-offset: 3px; }
body :is(input[type=checkbox], input[type=radio]) { accent-color: var(--madola-gold); border-color: var(--madola-gold) !important; }
body :is(.sv-option, .sv-standard-card) input { background-color: #000000; }
body :is(.sv-option, .sv-standard-card) input:checked { background-color: var(--madola-gold); }
body :is(.sv-option, .sv-standard-card) input[type=checkbox]:checked::after { border-color: #000000; }
body :is(.sv-option, .sv-standard-card) input[type=radio]:checked::after { background-color: #000000; }
body :is(.sv-option, .sv-standard-card):is(:hover, :focus-within) { box-shadow: inset 0 0 0 1px var(--madola-gold); }
body .navbar-toggler { color: var(--madola-gold) !important; border-color: var(--madola-gold) !important; }
body .btn-close { filter: invert(1); }
body :is(a, button, summary, input, textarea, select, video):focus-visible {
    outline: 3px solid var(--madola-gold) !important;
    outline-offset: 4px;
}
body .portfolio-filters a { border-color: var(--madola-gold); }
body .gg-container, body .gg-container [data-theme="dark"], body #gg-screen {
    --main-color: #D4AF37;
    --secondary-color: #FFFFFF;
    --txt-color: #000000;
    --img-bg-color: #000000;
    --backdrop-color: #000000;
}
body .gg-btn { background-color: var(--madola-gold); color: #000000; }
body .gg-btn:hover { background-color: #FFFFFF; }
body :is(.reviewer-avatar, .client-avatar) {
    background: var(--madola-gold) !important;
    color: #000000 !important;
}
body .owl-carousel .owl-nav button {
    background: #000000 !important;
    color: var(--madola-gold) !important;
    border-color: var(--madola-gold) !important;
}
body .owl-carousel .owl-nav button:hover {
    background: var(--madola-gold) !important;
    color: #000000 !important;
}
body .owl-carousel .owl-dot span { background: #FFFFFF !important; }
body .owl-carousel .owl-dot.active span { background: var(--madola-gold) !important; }

body .skip-link { position: fixed; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); clip-path: inset(50%); white-space: nowrap; }
body .skip-link:focus-visible { left: 1rem; top: 1rem; z-index: 10000; width: auto; height: auto; padding: 1rem; margin: 0; overflow: visible; clip: auto; clip-path: none; background: #000; color: #fff; }
.content-shell { width: min(1120px, calc(100% - 2rem)); margin: 0 auto; padding: 190px 0 4rem; overflow-wrap: anywhere; }
.content-shell > h1 { font-size: clamp(2rem, 4vw, 3.5rem); line-height: 1.2; margin: 1.5rem 0 2rem; }
.content-shell nav { font-size: .95rem; }
.page-copy { max-width: 900px; }
.page-copy p, .page-copy li, .content-faq p { line-height: 1.85; font-size: 1.05rem; }
.page-copy p { margin: 1rem 0; }
.page-copy h2 { font-size: clamp(1.35rem, 3vw, 1.9rem); margin: 3rem 0 1rem; line-height: 1.4; }
.page-copy h3 { font-size: 1.25rem; margin: 2rem 0 1rem; }
.page-copy ul, .page-copy ol { padding-left: 1.7rem; margin: 1.25rem 0; }
.content-placeholder { padding: 1.25rem; margin: 1.5rem 0; border: 1px dashed var(--madola-gold); border-radius: 8px; background: #000000 !important; color: #FFFFFF; }
.content-video { display: block; width: 100%; max-height: 620px; aspect-ratio: 16/9; object-fit: contain; background: #000000; border: 1px solid var(--madola-gold); border-radius: 12px; margin: 1rem 0; }
.content-faq { margin: 1rem 0; border: 1px solid var(--madola-gold); border-radius: 8px; padding: 1rem 1.25rem; }
.content-faq summary { font-weight: 600; cursor: pointer; color: var(--madola-gold); }
.team-grid, .portfolio-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; margin: 2rem 0; }
.team-photo { min-height: 190px; display: grid; place-items: center; border: 1px solid var(--madola-gold); }
.team-card { margin: 0; }
.portfolio-card { min-width: 0; border: 1px solid var(--madola-gold); padding: 1rem; border-radius: 10px; background: #000000; }
.portfolio-card h3 { font-size: 1.25rem; line-height: 1.4; }
.portfolio-filters { display: flex; flex-wrap: wrap; gap: .65rem; margin: 2rem 0; }
.portfolio-filters a { padding: .6rem .9rem; border: 1px solid var(--madola-gold); border-radius: 25px; text-decoration: none; }
.portfolio-filters a[aria-current=page] { background: var(--madola-gold); color: #000000 !important; }
.home-directory { text-align: center; padding: 3rem 1rem 0; }
.hero-content .hero-actions { display: flex; flex-direction: column; align-items: center; gap: .75rem; }
.hero-video { height: auto !important; min-height: max(620px, 100svh) !important; padding: calc(var(--madola-header-height, 140px) + 2rem) 0 5rem; }
.hero-content h1 { font-size: clamp(1.6rem, 4vw, 3.6rem); line-height: 1.25; max-width: 1000px; margin: 0 auto; color: #fff; text-shadow: 0 2px 12px #000; }
.hero-content p { font-size: clamp(1rem, 2vw, 1.35rem) !important; line-height: 1.6 !important; margin: 1rem 0 !important; }
#testimonial-slider { display: block; }
.music-panel { padding: 1rem; text-align: center; border-top: 1px solid var(--madola-gold); background: #000000; }
.music-control { padding: .6rem 1rem; border-radius: 6px; }
.music-control:disabled { opacity: .7; cursor: not-allowed; }
.google-reviews-placeholder { max-width: 950px; margin: 2rem auto; text-align: center; }
@media (max-width: 900px) { .team-grid, .portfolio-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .navbar-nav { max-height: 65vh; overflow-y: auto; } }
@media (max-width: 600px) { .team-grid, .portfolio-grid { grid-template-columns: 1fr; } .content-shell { padding-top: 210px; } .hero-content { width: calc(100% - 1rem); } .content-video { aspect-ratio: 4/3; } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; } }

.w3l-features .grids-1 .content-video { height: 250px; object-fit: cover; margin: 0; }
.w3l-whyblock .content-video { height: 350px; object-fit: contain; margin: 0; }
/* Content remains readable while the optional carousel library is unavailable. */
#testimonial-slider:not(.owl-loaded), #owl-demo1:not(.owl-loaded), #owl-demo2:not(.owl-loaded) { display: block; }

/* Content points keep their white text and use the existing brand gold for markers. */
body ul:not(nav ul):not(header ul):not(footer ul):not(.social):not(.social-links):not(.list-unstyled):not(.footer-links) {
    list-style: disc outside; padding-left: 1.4rem;
}
body ul:not(nav ul):not(header ul):not(footer ul):not(.social):not(.social-links):not(.list-unstyled):not(.footer-links) > li {
    display: list-item; list-style: disc outside; padding-left: .25rem; margin-block: .45rem;
}
body ul:not(nav ul):not(header ul):not(footer ul) > li::marker,
body .page-copy ol > li::marker { color: var(--madola-gold); font-size: .85em; }
body .page-copy ol > li { display: list-item; list-style: decimal outside; }
body footer :is(.footer-links, .footer-gd-16) a { color: #FFFFFF !important; }
body footer :is(.footer-links, .footer-gd-16) a:is(:hover, :focus-visible) { color: var(--madola-gold) !important; }

/* Restore the full-width background hero. */
body .hero-video { position: relative; display: flex; align-items: center; justify-content: center; min-height: max(600px, 100svh) !important; height: auto; padding: calc(var(--madola-header-height, 140px) + 2rem) 0 8rem; overflow: hidden; }
body .hero-video::before { content: ''; position: absolute; inset: 0; z-index: 2; pointer-events: none; background: linear-gradient(180deg, rgba(0,0,0,.25), rgba(0,0,0,.4) 45%, rgba(0,0,0,.2)); }
body .hero-video > .hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: brightness(.75); z-index: 1; }
body .hero-video > .hero-content { position: relative; z-index: 3; width: 100%; max-width: 1200px; padding: 0 20px; text-align: center; }
body .hero-content h1 { font-family: 'Georgia', 'Times New Roman', serif; font-size: clamp(2.5rem, 4.8vw, 4.75rem); font-weight: 600; line-height: 1.25; letter-spacing: .005em; text-transform: none; color: #FFFFFF !important; text-shadow: 0 2px 4px #000, 0 4px 24px rgba(0,0,0,.95); margin: 0 auto; max-width: 1050px; text-wrap: balance; }
.hero-content .hero-actions { flex-direction: row; justify-content: center; align-items: center; gap: 20px; margin-top: 2.5rem; }
.hero-content .hero-actions .btn { margin-top: 0 !important; min-width: 156px; min-height: 34px; padding: 6px 18px; gap: 6px; border-radius: 50px; font-size: 12px; line-height: 1.25; letter-spacing: .02em; white-space: nowrap; }
@media (max-width: 600px) {
    body .hero-content h1 { font-size: clamp(1.5rem, 6.2vw, 1.85rem); line-height: 1.35; max-width: 480px; }
    .hero-content .hero-actions { gap: 16px; margin-top: 2rem; }
    .hero-content .hero-actions .btn { min-width: clamp(112px, 32vw, 144px); min-height: 32px; padding: 5px 10px; font-size: clamp(10px, 2.8vw, 12px); letter-spacing: 0; }
}
.hero-video > .video-watch { z-index: 4; }
.home-faqs > h2 { margin: 0 0 1.5rem; }
.home-about-heading { font-size: clamp(1.5rem, 2.5vw, 2rem); font-weight: 700; padding: 0; border: 0; background: none; }
.home-directory { display: flex; justify-content: center; flex-wrap: wrap; gap: 1rem; padding: 1.25rem 1rem .25rem; }
body .directory-link { display: inline-flex; align-items: center; justify-content: center; padding: .9rem 1.4rem; border: 1px solid var(--madola-gold); border-radius: 6px; font-weight: 700; color: var(--madola-gold); }
body .directory-link:is(:hover, :focus-visible) { color: #000 !important; background: var(--madola-gold); }

.video-frame { position: relative; width: 100%; aspect-ratio: 16/10; overflow: hidden; background: #000; }
body .video-frame > .content-video { display: block; width: 100%; height: 100%; max-height: none; aspect-ratio: auto; object-fit: cover; border: 0; border-radius: 0; margin: 0; }
.video-frame > video { position: absolute; inset: 0; cursor: pointer; pointer-events: auto; }
body .video-watch { position: absolute; left: .75rem; bottom: .75rem; display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px; padding: 0; background: transparent; border: 0; border-radius: 0; color: var(--madola-gold); text-decoration: none; }
.video-watch svg { display: block; flex-shrink: 0; filter: drop-shadow(0 1px 3px #000); }
body .video-watch:is(:hover, :focus-visible) { background: transparent; color: #FFFFFF !important; text-decoration: none !important; }
/* Borderless media cards use restrained dark elevation on the black page. */
body :is(.portfolio-card, .team-card, .album-card, .accomplishment-card, .project-card, .blog-card, .w3l-features .grids-1) { border: 0; border-radius: 4px; background: #0C0C0C !important; box-shadow: 0 8px 24px rgba(0,0,0,.8), 0 1px 0 rgba(255,255,255,.06); }
body :is(.portfolio-card, .team-card, .album-card, .accomplishment-card, .project-card, .blog-card, .w3l-features .grids-1):hover { box-shadow: 0 12px 30px rgba(0,0,0,.9), 0 1px 0 rgba(255,255,255,.1); }
body .content-video { border: 0; border-radius: 0; }
body .w3l-features .grids-1 { padding: 0; overflow: hidden; }
body .w3l-features .grids-1 > .video-frame { flex-shrink: 0; border-radius: 0; }
body .w3l-features .grids-1 .content-video { width: 100%; height: 100%; margin: 0; border-radius: 0; }
body .w3l-features#features { padding-top: .75rem !important; }
body .w3l-features#features > .container { padding-top: 0 !important; }
body .w3l-features#features .row > div { margin-top: 1rem !important; }
body .w3l-features#features .grids-1 { margin-top: 0; }

.w3l-features .grids-1 > h4 { margin: 1.25rem 1.25rem .75rem; }
.w3l-features .grids-1 > .text-para { padding: 0 1.25rem; }
.w3l-features .grids-1 > a { margin: auto 1.25rem 1.5rem; }
.video-dialog { position: fixed; width: min(1120px, calc(100% - 2rem)); max-height: 94svh; padding: 2.75rem 0 0; border: 0; border-radius: 0; background: transparent; color: #fff; }
.video-dialog::backdrop { background: rgba(0,0,0,.94); }
.video-close { position: absolute; top: 0; right: 0; display: grid; place-items: center; width: 40px; height: 40px; border: 0; border-radius: 0; background: transparent; color: var(--madola-gold); padding: 0; font-size: 2.25rem; line-height: 1; cursor: pointer; }
.video-close span { color: inherit; }
.video-close:hover { color: #fff; }
.video-close:focus-visible { outline: 2px solid var(--madola-gold); outline-offset: -3px; }
.video-dialog video { display: block; width: 100%; max-height: 80svh; background: #000; object-fit: contain; pointer-events: auto; }
body:has(.video-dialog[open]) { overflow: hidden; }

.portfolio-copy { max-width: none; }
.portfolio-toolbar { display: flex; gap: 1.5rem; flex-wrap: wrap; justify-content: space-between; align-items: center; margin: 2rem 0; }
.portfolio-picker { display: flex; align-items: center; flex-wrap: wrap; gap: .75rem; margin: 0; }
.portfolio-picker > span { font-size: .9rem; }
.portfolio-dropdown { position: relative; width: 320px; max-width: 100%; }
.portfolio-dropdown > summary { display: flex; justify-content: space-between; align-items: center; gap: 1rem; min-height: 46px; padding: .75rem 1rem; border: 1px solid #555; border-radius: 8px; background: #101010; color: #fff; font-size: .95rem; line-height: 1.5; cursor: pointer; list-style: none; box-shadow: 0 4px 12px rgba(0,0,0,.5); }
.portfolio-dropdown > summary::-webkit-details-marker { display: none; }
.portfolio-dropdown > summary svg { flex-shrink: 0; color: var(--madola-gold); }
.portfolio-dropdown[open] > summary svg { transform: rotate(180deg); }
.portfolio-dropdown[open] > summary, .portfolio-dropdown > summary:hover { border-color: var(--madola-gold); }
.portfolio-dropdown > summary:focus-visible, .portfolio-category-menu a:focus-visible { outline: 2px solid var(--madola-gold); outline-offset: 3px; }
body .portfolio-category-menu { position: absolute; top: calc(100% + 8px); right: 0; z-index: 20; width: 100%; max-height: min(360px, 55svh); overflow-y: auto; padding: 6px; border: 1px solid var(--madola-gold); border-radius: 10px; background: #101010; box-shadow: 0 12px 30px rgba(0,0,0,.65); scrollbar-color: var(--madola-gold) #101010; }
body .portfolio-category-menu a { display: block; padding: .7rem .85rem; border-radius: 5px; color: #fff !important; font-size: .95rem; line-height: 1.5; text-decoration: none; overflow-wrap: anywhere; }
body .portfolio-category-menu a:is(:hover, :focus-visible, [aria-current="page"]) { color: var(--madola-gold) !important; background: rgba(212,175,55,.12); }
.portfolio-category-menu a[aria-current="page"] { font-weight: 700; }
.portfolio-group-title { border-top: 1px solid #282828; padding-top: 1.5rem; margin-top: 3rem; }
.portfolio-card { display: flex; flex-direction: column; padding: 0; overflow: hidden; border-radius: 12px; }
.portfolio-card-copy { padding: 1.25rem; display: flex; flex: 1; flex-direction: column; align-items: flex-start; gap: .65rem; }
.portfolio-card-copy :is(h3, h4, p) { margin: 0; }
.portfolio-card-copy .btn { margin-top: auto; }
.category-media-placeholder { display: grid; place-items: center; aspect-ratio: 16/10; border-bottom: 1px dashed #444; color: #fff; }
.category-video-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }

.team-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2rem; }
.team-card { padding: 0; overflow: hidden; border: 1px solid var(--madola-gold); border-radius: 12px; background: #000; }
.team-card .team-photo { display: block; width: 100%; height: auto; min-height: 0; aspect-ratio: 4/5; object-fit: cover; border: 0; }
.team-card .team-photo-placeholder { display: grid; place-items: center; }
.team-card-copy { padding: 1.5rem; }
.team-card-copy h3 { margin: 0 0 .5rem; }
body .team-card .team-role { color: var(--madola-gold) !important; font-weight: 600; margin: 0 0 1rem; }
.team-biography summary { cursor: pointer; color: var(--madola-gold); font-weight: 600; padding-block: .5rem; }
.team-biography > div { margin-top: .75rem; line-height: 1.8; color: #fff; }
.team-card-copy:has(.team-biography[open]) .team-excerpt { display: none; }

.w3l-passion-mid-grids { row-gap: 2rem; }
.faq-container > h2 { margin-bottom: 1.5rem; }
.faq-container .faq-item { margin: 0 0 1.1rem; padding: 0; border: 1px solid var(--madola-gold); border-radius: 12px; overflow: hidden; }
.faq-container .faq-question { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.2rem 1.4rem; font-size: 1rem; line-height: 1.6; list-style: none; border: 0; border-radius: 0; transform: none; }
.faq-question::-webkit-details-marker { display: none; }
.faq-container .faq-question::after { content: '+'; color: var(--madola-gold); font-size: 1.4rem; flex-shrink: 0; }
.faq-container .faq-item[open] .faq-question::after { content: '−'; }
.faq-container .faq-item .faq-answer { display: block; padding: 0 1.4rem 1.4rem; margin: 0; border-radius: 0; }
.faq-container .faq-item:not([open]) .faq-answer { display: none !important; }
.faq-container .faq-item.hidden-faq { display: none; }
@media (max-width: 991.98px) {
    .team-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    #site-header .navbar-toggler { display: flex; align-self: center; align-items: center; justify-content: center; margin: 0; line-height: 1; }
    #site-header .navbar-toggler .navbar-toggler-icon { inset: 0; width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; line-height: 1; }
}
@media (max-width: 767px) {
    .portfolio-toolbar, .portfolio-picker { align-items: stretch; flex-direction: column; }
    .portfolio-dropdown { width: 100%; }
    .portfolio-grid, .category-video-grid, .team-grid { grid-template-columns: 1fr; }
}

/* Keep the occupied header space stable while its fixed chrome slides away. */
#site-header { transition: transform .25s ease; }
@media (max-width: 991.98px) {
    #site-header.header-hidden { transform: translateY(-100%); pointer-events: none; }
}
@media (prefers-reduced-motion: reduce) { #site-header { transition: none; } }

/* Supplied documents keep their own scoped layouts within the shared application. */
.client-page-shell { width: 100%; max-width: none; padding-bottom: 0; }
.client-page-shell > :is(nav, h1), .client-page-introduction { width: min(1120px, calc(100% - 2rem)); margin-left: auto; margin-right: auto; }
.client-page-introduction { max-width: 900px; padding: 0 0 2rem; }
.client-page-introduction p { margin: 1rem 0; line-height: 1.85; }

/* Keep project actions aligned with the document's reading width. */
.client-page-shell > .page-project-cta { display: flex; justify-content: center; width: min(1120px, calc(100% - 2rem)); margin: 0 auto; padding: 2rem 1rem 3rem; }
.client-page-shell > .page-project-cta .btn { max-width: 100%; text-align: center; }
@media (max-width: 767px) {
    .client-page-shell > .page-project-cta .btn { width: 100%; max-width: 360px; }
}

/* Compact speaker at the far right of the social bar; no footer music panel. */
.music-widget { display: none; align-items: center; }
#site-header .music-widget { display: inline-flex; position: static; }
body .music-widget .music-control { display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; padding: 4px; border: 0; border-radius: 0; background: transparent !important; color: var(--madola-gold) !important; box-shadow: none; }
body .music-widget .music-control:is(:hover, :focus-visible) { background: transparent !important; color: #FFFFFF !important; box-shadow: none; }
.music-control:disabled { opacity: .5; cursor: default; }
.music-icon-on { display: none; }
.music-control:is([data-music-state="playing"], [data-music-state="starting"]) .music-icon-on { display: initial; }
.music-control:is([data-music-state="playing"], [data-music-state="starting"]) .music-icon-off { display: none; }
body .music-widget .music-control:is([data-music-state="playing"], [data-music-state="starting"]) { background: #e87918 !important; color: #000 !important; }
.music-status { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }

/* Reserve a separate right-hand speaker slot; keep the social links in their flex flow. */
#site-header .top-bar-wrapper { position: relative; padding-right: 44px; min-height: 32px; }
#site-header .music-slot { position: absolute; right: 4px; bottom: 0; width: 32px; height: 32px; }
#site-header .social-links { gap: 6px; }
.music-control .music-icon-off { display: initial; }
.music-control:is([data-music-state="playing"], [data-music-state="starting"]) .music-icon-off { display: none; }
@media (max-width: 992px) { #site-header .social-links { gap: 4px; } }
@media (max-width: 768px) { #site-header .social-links { gap: 3px; } }
@media (max-width: 576px) { #site-header .social-links { gap: 2px; } }

/* Portfolio: category-led browsing, with a separate complete video collection. */
.portfolio-explorer { margin-top: 2.5rem; }
body .portfolio-category-menu a { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
body .portfolio-category-menu .portfolio-menu-group { padding: 1rem .85rem .35rem; margin: 0; color: var(--madola-gold) !important; font-size: .7rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; border-top: 1px solid #302b1c; }
.portfolio-menu-count { min-width: 1.5rem; text-align: center; opacity: .8; font-size: .8rem; }
body .portfolio-explorer .portfolio-eyebrow { color: var(--madola-gold) !important; font-size: .7rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; line-height: 1.6; margin: 0 0 .65rem; }
.portfolio-explorer .portfolio-section-heading { max-width: 760px; margin: 2.5rem 0; }
.portfolio-explorer .portfolio-section-heading h2 { margin: 0 0 .75rem; font-size: clamp(1.65rem, 3vw, 2.35rem); }
.portfolio-explorer .portfolio-section-heading > p:last-child { margin: 0; color: #ccc; }
.portfolio-explorer .portfolio-group-title { margin: 3rem 0 1.5rem; padding-top: 1.5rem; border-color: #353126; font-size: clamp(1.25rem, 2.3vw, 1.65rem); }
.portfolio-explorer .category-card { border: 1px solid #302b1c; border-radius: 10px; box-shadow: none; transition: border-color .2s ease, transform .2s ease; }
.portfolio-explorer .category-card:hover { border-color: var(--madola-gold); transform: translateY(-3px); }
.portfolio-category-cover { position: relative; display: block; width: 100%; aspect-ratio: 16/10; overflow: hidden; background: #101010; }
.portfolio-category-cover img { display: block; width: 100%; height: 100%; object-fit: cover; }
.portfolio-cover-count { position: absolute; bottom: .85rem; left: .85rem; padding: .3rem .65rem; border: 1px solid #645328; border-radius: 20px; background: rgba(0,0,0,.85); color: #fff; font-size: .75rem; line-height: 1.5; }
.portfolio-cover-placeholder { display: flex; width: 100%; height: 100%; flex-direction: column; justify-content: center; align-items: center; gap: 1rem; background: radial-gradient(ellipse at center, #282212 0%, #0d0d0d 75%); }
.portfolio-cover-placeholder > i { font-size: 2.5rem; color: var(--madola-gold); }
.portfolio-cover-placeholder > span { font-size: .85rem; color: #e4d5a2; }
.portfolio-explorer .portfolio-card-copy { padding: 1.35rem; gap: .8rem; }
.portfolio-explorer .portfolio-card-copy h4 { font-size: 1.2rem; line-height: 1.4; }
body .portfolio-explorer .portfolio-card-copy h4 a { color: #fff; text-decoration: none; }
.portfolio-explorer .portfolio-card-copy > p:not(.portfolio-eyebrow) { margin: 0; font-size: .9rem; line-height: 1.7; }
body .portfolio-explorer .portfolio-gallery-link { display: inline-flex; justify-content: center; align-items: center; align-self: flex-start; min-height: 34px; max-width: 100%; margin-top: auto; padding: .4rem .85rem; border: 1px solid var(--madola-gold); border-radius: 6px; background: var(--madola-gold); color: #000 !important; font-size: .75rem; font-weight: 600; line-height: 1.5; text-align: center; text-decoration: none; }
body .portfolio-explorer .portfolio-gallery-link:is(:hover, :focus-visible) { background: #e6c65b; border-color: #e6c65b; color: #000 !important; text-decoration: none !important; }
.portfolio-explorer .portfolio-card-copy .portfolio-eyebrow { margin: 0; font-size: .65rem; }
.portfolio-explorer .portfolio-card-copy h3 { margin: 0; font-size: 1.2rem; line-height: 1.4; }
.portfolio-explorer .portfolio-results-count { margin: 0 0 1.5rem; font-size: .85rem; }
.portfolio-empty-state { padding: clamp(2rem, 6vw, 4rem); border: 1px solid #504322; border-radius: 12px; text-align: center; background: linear-gradient(140deg, #18150e, #070707); }
.portfolio-empty-state > i { color: var(--madola-gold); font-size: 2.5rem; margin-bottom: 1.5rem; }
.portfolio-empty-state h3 { margin: 0 0 1rem; font-size: clamp(1.35rem, 2.5vw, 1.8rem); }
.portfolio-empty-state > p { max-width: 600px; margin: 0 auto 1rem; }
.portfolio-empty-state .portfolio-empty-count { font-size: .85rem; }
.portfolio-pagination { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: .5rem; margin: 2.5rem 0; }
.portfolio-pagination a { display: inline-flex; justify-content: center; align-items: center; min-width: 44px; min-height: 44px; padding: .5rem .75rem; border: 1px solid #504322; border-radius: 6px; text-decoration: none; }
body .portfolio-pagination a[aria-current="page"] { color: #000; background: var(--madola-gold); border-color: var(--madola-gold); }
.portfolio-explorer :is(a, summary):focus-visible { outline: 2px solid var(--madola-gold); outline-offset: 3px; }
.portfolio-explorer .portfolio-project-invitation { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 1.5rem; margin-top: 4rem; padding: 2rem 0; border-top: 1px solid #504322; }
.portfolio-project-invitation > div { flex: 1 1 300px; }
.portfolio-explorer .portfolio-project-invitation h2 { margin: 0 0 .75rem; font-size: clamp(1.5rem, 2.5vw, 2rem); }
.portfolio-explorer .portfolio-project-invitation p:last-child { margin: 0; }
.portfolio-project-invitation > a { max-width: 100%; white-space: normal; text-align: center; }
@media (max-width: 767px) {
    .portfolio-explorer .portfolio-toolbar { gap: 1rem; }
    .portfolio-explorer .portfolio-picker { gap: .4rem; }
    .portfolio-explorer .portfolio-section-heading { margin: 2rem 0; }
}
@media (prefers-reduced-motion: reduce) { .portfolio-explorer .category-card { transition: none; } .portfolio-explorer .category-card:hover { transform: none; } }
.portfolio-featured-group .category-grid { grid-template-columns: minmax(0, 1fr); }
.portfolio-explorer .portfolio-featured-group .category-card { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.portfolio-featured-group .portfolio-card-copy { justify-content: center; padding: clamp(1.5rem, 4vw, 3rem); }
.portfolio-featured-group .portfolio-gallery-link { margin-top: .5rem; }
@media (max-width: 767px) { .portfolio-explorer .portfolio-featured-group .category-card { grid-template-columns: minmax(0, 1fr); } }

/* The same two typefaces throughout public pages, including supplied documents. */
:root { --madola-heading-font: 'Playfair Display', Georgia, serif; --madola-body-font: 'Montserrat', Arial, sans-serif; }
body, body :is(p, li, label, input, textarea, select, button, .cd-sans, .cd-body-lg, .cd-body-md, .cd-body-sm, .cd-body-lg-light, .cd-body-md-light, .cd-body-sm-light) { font-family: var(--madola-body-font) !important; }
body :is(h1, h2, h3, h4, h5, h6, .hero-title, .inner-w3-title, .title-main, .title-style, .title-w3l, .section-title, .project-header, .cd-display) { font-family: var(--madola-heading-font) !important; }
body :is(h1, h2, h3, h4, h5, h6) :is(a, span, strong, em) { font-family: inherit !important; }
/* Keep headings below the measured fixed header, including long mobile introductions. */
body .hero-banner { padding: calc(var(--madola-header-height, 140px) + 1.5rem) 0 2.5rem; }
body .hero-banner .hero-content-overlay { padding: 1.5rem 20px; }
body .hero-banner .hero-title { margin-top: 0; }
.page-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1.5rem; margin: 3rem 0 1rem; }
.page-actions .btn { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; max-width: 100%; padding: .85rem 1.5rem; white-space: normal; text-align: center; line-height: 1.5; }
.stored-copy > p { margin-bottom: 1rem; line-height: 1.8; }
.portfolio-explorer .portfolio-toolbar { justify-content: flex-start; }
body .portfolio-dropdown > summary { color: #fff !important; }
@media (max-width: 600px) {
    .page-actions { flex-direction: column; align-items: stretch; gap: 1.25rem; margin-top: 2rem; }
    body .hero-banner { padding-top: calc(var(--madola-header-height, 140px) + 1rem); }
    body .hero-banner .hero-content-overlay { padding: 1rem 12px; }
}

/* Lightweight, silent portfolio cover clips keep the still image as a fallback. */
.portfolio-category-preview { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; pointer-events: none; }
.portfolio-category-preview.is-playing { opacity: 1; }
@media (prefers-reduced-motion: reduce) { .portfolio-category-preview { display: none; } }

/* The portfolio's closing copy has the same care as its galleries. */
.portfolio-story { margin-top: clamp(3rem, 6vw, 5rem); }
.portfolio-story-section { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.4fr); gap: clamp(1.5rem, 5vw, 5rem); padding: clamp(2rem, 4vw, 3.5rem) 0; border-top: 1px solid #302c23; }
body .portfolio-story-section > h2 { margin: 0; max-width: 21ch; font-size: clamp(1.5rem, 2.5vw, 2.1rem); line-height: 1.4; color: var(--madola-gold) !important; }
.portfolio-story-copy, .portfolio-principle { min-width: 0; }
.portfolio-story-copy > p:first-child { margin-top: 0; }
.portfolio-story-copy > p:last-child { margin-bottom: 0; }
.portfolio-story-section:has(.portfolio-principles) { grid-template-columns: minmax(0, 1fr); gap: 1rem; }
.portfolio-story-section:has(.portfolio-principles) > h2 { max-width: none; }
.portfolio-story-section:has(.portfolio-principles) .portfolio-story-copy > p { max-width: 72ch; }
.portfolio-principles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; margin-top: 2rem; }
.portfolio-principle { padding: clamp(1.25rem, 2vw, 1.75rem); background: #0c0c0c; border: 1px solid #302c23; border-radius: 8px; }
body .portfolio-principle h3 { margin: 0 0 .8rem; font-size: 1.15rem; line-height: 1.5; color: var(--madola-gold) !important; }
.portfolio-principle p { margin: 0; }
.portfolio-story-closing { margin-top: 1rem; padding: clamp(1.5rem, 4vw, 3rem); background: #0c0c0c; border: 1px solid #393326; border-radius: 8px; }
.portfolio-story-closing .btn { max-width: 100%; min-height: 44px; white-space: normal; font-size: .9rem; }
@media (min-width: 601px) and (max-width: 991.98px) { .portfolio-principles { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 767px) { .portfolio-story-section { grid-template-columns: minmax(0, 1fr); gap: 1.25rem; } .portfolio-story-section > h2 { max-width: none; } }
@media (max-width: 600px) { .portfolio-principles { grid-template-columns: minmax(0, 1fr); } }
