/*
Theme Name: El-Chez Designs
Description: Bespoke cinematic studio theme with React, GSAP and Three.js. Includes the visual studio index, films and enquiry tool.
Version: 1.0.1
Author: El-Chez Designs
Text Domain: el-chez-designs
Requires at least: 6.5
Requires PHP: 7.4
License: GPL-2.0-or-later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
*/

#elchez-studio-root:not(.is-enhanced) [aria-haspopup="dialog"],
#elchez-studio-root:not(.is-enhanced) .menu-toggle,
#elchez-studio-root:not(.is-enhanced) .journey-index { visibility: hidden; }
#elchez-studio-root:not(.is-enhanced) .preloader { display: none; }
.elchez-runtime-loading #elchez-studio-root:not(.is-enhanced) .preloader { display: flex; }
.wordmark.has-custom-logo img { position: static; inset: auto; width: 100%; height: 100%; object-fit: contain; }
.admin-bar .site-header { top: 32px; }
body.admin-bar .studio-index { top: 32px; height: calc(100dvh - 32px); }
.wp-studio-header, .wp-studio-footer, .wp-studio-content { width: min(1350px, calc(100% - 48px)); margin-inline: auto; }
.wp-studio-header { display: flex; align-items: center; justify-content: space-between; gap: 30px; padding-block: 24px 44px; }
.wp-studio-brand img { width: 110px; height: 120px; object-fit: contain; }
.wp-studio-nav ul, .wp-studio-footer ul { display: flex; flex-wrap: wrap; gap: 18px 30px; margin: 0; padding: 0; list-style: none; }
.wp-studio-nav a, .wp-studio-footer a { color: var(--bone); text-underline-offset: 5px; }
.wp-studio-nav a:hover, .wp-studio-footer a:hover { color: var(--gilt-light); }
.wp-studio-content { min-height: 45svh; padding-block: 60px 100px; }
.wp-studio-content h1 { max-width: 1000px; margin: 0 0 48px; font: 700 clamp(3.5rem, 8vw, 7rem)/1 var(--font-display); letter-spacing: -.025em; }
.wp-studio-entry { max-width: 900px; }
.wp-studio-entry :is(p, ul, ol, blockquote, table) { margin-block: 24px; line-height: 1.8; }
.wp-studio-entry :is(ul, ol) { padding-left: 26px; }
.wp-studio-entry h2, .wp-studio-entry h3 { margin-block: 38px 18px; font-weight: 600; line-height: 1.2; }
.wp-studio-entry h2 { font-size: 2.2rem; }
.wp-studio-entry h3 { font-size: 1.6rem; }
.wp-studio-entry a { color: var(--gilt-light); text-decoration: underline; text-underline-offset: 4px; }
.wp-studio-entry :is(img, video, iframe) { max-width: 100%; height: auto; }
.wp-studio-article { padding-block: 32px; border-top: 1px solid var(--line); }
.wp-studio-article h2 { margin-bottom: 18px; font: 700 clamp(2.4rem, 4vw, 4rem)/1.1 var(--font-display); }
.wp-studio-meta { margin-bottom: 18px; color: var(--muted); font-size: .875rem; }
.wp-studio-footer { display: grid; gap: 28px; padding-block: 36px; border-top: 1px solid var(--line); }
.wp-studio-content :is(input, textarea) { max-width: 100%; padding: 12px; color: var(--bone); background: var(--black-2); border: 1px solid var(--line-strong); }
.wp-studio-content :is(button, input[type="submit"]) { min-height: 44px; padding: 12px 22px; border: 1px solid var(--gilt); color: var(--black); background: var(--gilt-light); }
.wp-studio-content .nav-links { display: flex; gap: 20px; margin-top: 38px; }
.wp-studio-content :focus-visible, .wp-studio-header :focus-visible, .wp-studio-footer :focus-visible { outline: 2px solid var(--gilt-light); outline-offset: 5px; }
.wp-studio-comments { margin-top: 70px; }
.wp-studio-comments .comment-list { list-style: none; padding: 0; }
.wp-studio-comments .comment-body { margin-block: 24px; padding: 24px; border: 1px solid var(--line); }
.wp-studio-comments label { display: block; margin-bottom: 6px; }
@media (min-width: 900px) and (max-height: 960px) { .hero-sequence .hero-stats { display: none; } }
@media (max-width: 782px) {
  .admin-bar .site-header { top: 46px; }
  body.admin-bar .studio-index { top: 46px; height: calc(100dvh - 46px); }
  .wp-studio-header { align-items: start; }
  .wp-studio-nav ul { justify-content: end; gap: 12px 20px; }
}
@media (max-width: 600px) { #wpadminbar { position: fixed; } }
