/*
Theme Name: BM Creations
Description: Filmisch WordPress-thema voor BM Creations.
Version: 1.2.3
Requires at least: 5.9
Requires PHP: 7.4
Text Domain: bm-creations
License: GNU General Public License v2 or later
*/
:root {
  color-scheme: dark;
  --ink: #100f0e;
  --panel: #191714;
  --paper: #f7f1e8;
  --muted: #c1b7ac;
  --accent: #ff7043;
  --line: #ffffff26;
  --display: "Barlow Condensed", "Arial Narrow", Impact, sans-serif;
  --body: "DM Sans", system-ui, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body { margin: 0; background: var(--ink); color: var(--paper); font: 1rem/1.55 var(--body); }
h1,h2,h3,p { margin: 0; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
a:focus-visible,button:focus-visible,summary:focus-visible { outline: 2px solid currentColor; outline-offset: 5px; }
img { display: block; width: 100%; height: 100%; object-fit: cover; }
img[hidden] { display: none; }
.wrap { width: min(100% - 96px, 1336px); margin-inline: auto; }
.skip { position: fixed; left: 1rem; top: -4rem; z-index: 10; padding: .5rem 1rem; background: var(--paper); color: var(--ink); }
.skip:focus { top: 1rem; }
.top { position: sticky; top: 0; z-index: 3; background: #100f0ef5; border-bottom: 1px solid var(--line); }
.nav { display: flex; justify-content: space-between; align-items: center; min-height: 76px; }
.brand { display: inline-flex; align-items: center; gap: .55rem; font: 700 1.65rem/.95 var(--display); letter-spacing: .035em; }
.mark { background: var(--accent); color: var(--ink); padding: .22em .24em .26em; font-weight: 800; }
#navlinks { display: flex; gap: clamp(1rem, 3vw, 3rem); align-items: center; font-size: .94rem; font-weight: 600; }
#navlinks a:hover,.text-link:hover,.footer a:hover,.phone:hover { color: var(--accent); }
.nav-cta { border: 1px solid #ffffff45; padding: .58rem .9rem; }
.nav-cta span { margin-left: .4rem; }
.menu { display: none; }
.hero { position: relative; isolation: isolate; min-height: min(740px, 90svh); display: flex; flex-direction: column; justify-content: end; background: radial-gradient(ellipse at 78% 32%, #a84229, #4b2722 32%, #100f0e 74%); }
.hero-image { position: absolute; inset: 0; z-index: -2; object-position: center 52%; }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg,#0c0b0bee,#0c0b0b95 42%,#0c0b0b14 83%),linear-gradient(0deg,#100f0e 0%,transparent 38%); }
.hero-inner { padding-block: clamp(5.8rem, 12vh, 10rem) 3.8rem; }
.eyebrow,.tag,.hero-foot { font-size: .73rem; font-weight: 700; text-transform: uppercase; letter-spacing: .16em; }
.eyebrow { display: flex; align-items: center; gap: .6rem; margin-bottom: 1rem; }
.dot { width: .52rem; height: .52rem; background: var(--accent); border-radius: 50%; }
h1,h2 { font-family: var(--display); font-weight: 800; line-height: .88; letter-spacing: -.018em; }
h1 { font-size: clamp(5rem, 13vw, 12.5rem); }
h1 em { font-style: normal; color: var(--accent); }
h2 { font-size: clamp(3rem, 6.7vw, 7rem); }
h3 { font-size: clamp(1.23rem, 2.2vw, 1.95rem); line-height: 1.15; }
.intro { color: #f0e7df; max-width: 29rem; margin-top: 1.5rem; font-size: clamp(1rem, 1.6vw, 1.2rem); }
.actions { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: 1.5rem; }
.button { display: inline-flex; align-items: center; gap: 1rem; justify-content: center; padding: .8rem 1.1rem; min-height: 47px; font-weight: 700; border: 1px solid transparent; transition: background .2s, color .2s; }
.primary { background: var(--accent); color: var(--ink); }
.primary:hover { background: var(--paper); }
.outline { border-color: #ffffff65; background: #100f0e50; }
.outline:hover { background: var(--paper); color: var(--ink); }
.hero-foot { display: flex; justify-content: space-between; gap: 1rem; padding-block: .9rem 1.1rem; color: var(--muted); border-top: 1px solid var(--line); }
.section { padding-block: clamp(3.4rem, 7vw, 7rem); }
.heading { display: flex; justify-content: space-between; align-items: end; gap: 1rem 2rem; flex-wrap: wrap; margin-bottom: 1.75rem; }
.text-link { display: inline-block; width: fit-content; font-weight: 700; border-bottom: 1px solid currentColor; padding-bottom: .22rem; }
.text-link span { color: var(--accent); margin-left: .25em; }
.projects { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 2rem 1.25rem; }
.lead { grid-column: 1/-1; }
.project-image { position: relative; display: block; aspect-ratio: 16/9; overflow: hidden; background: #222; }
.lead .project-image { aspect-ratio: 2.6; }
.warm { background: radial-gradient(ellipse at center,#be5027,#301516 68%); }
.blue { background: radial-gradient(ellipse at center,#365f8a,#171c2a 68%); }
.purple { background: radial-gradient(ellipse at center,#643989,#20142c 68%); }
.project-image img { transition: transform .35s; }
.project-image:hover img { transform: scale(1.035); }
.round { position: absolute; right: 1rem; bottom: 1rem; display: grid; place-items: center; width: 2.8rem; aspect-ratio: 1; border-radius: 50%; background: var(--paper); color: var(--ink); }
.caption { padding-block: .9rem; border-bottom: 1px solid var(--line); }
.tag { color: var(--accent); margin-bottom: .35rem; }
.services { background: var(--panel); border-block: 1px solid var(--line); }
.split { display: grid; grid-template-columns: 1fr 1fr; align-items: start; gap: clamp(1.75rem, 6vw, 6rem); }
.muted { color: var(--muted); margin-top: 1.3rem; max-width: 31rem; }
details { border-top: 1px solid var(--line); }
details:last-child { border-bottom: 1px solid var(--line); }
summary { cursor: pointer; list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-block: .85rem; font-size: clamp(1.12rem, 2vw, 1.55rem); font-weight: 700; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; color: var(--accent); font-size: 1.5rem; }
details[open] summary::after { content: "−"; }
details p { color: var(--muted); padding: 0 1.25rem 1rem 0; }
.location { align-items: center; }
.location-image { aspect-ratio: 4/3; background: radial-gradient(ellipse at 60% 40%,#8f412e,#292023 68%); }
.location-copy .text-link { margin-top: 1.3rem; }
.contact { background: var(--accent); color: var(--ink); padding-block: clamp(3rem, 6vw, 6rem); }
.contact .split { align-items: end; }
.contact p { max-width: 30rem; }
.dark { background: var(--ink); color: var(--paper); margin-top: 1.2rem; }
.dark:hover { background: var(--paper); color: var(--ink); }
.phone { display: inline-block; margin: 1rem 0 0 1rem; font-weight: 700; }
.phone:hover { color: var(--ink); text-decoration: underline; }
.footer { background: #141211; border-top: 1px solid var(--line); }
.footer-main { display: grid; grid-template-columns: 1.45fr 1fr .75fr 1fr; align-items: start; gap: 2.2rem clamp(1.25rem, 3vw, 4rem); padding-block: clamp(2.5rem, 5vw, 5rem); }
.footer-brand p { color: var(--muted); max-width: 28ch; margin-block: 1rem; }
.footer-links { display: block; overflow-wrap: anywhere; }
.footer-links h2 { margin-bottom: .9rem; font: 700 1.1rem/1.2 var(--body); }
.footer-links ul { display: grid; gap: .45rem; list-style: none; margin: 0; padding: 0; color: var(--muted); }
.footer-social, .footer-bottom-links { display: flex; flex-wrap: wrap; gap: .55rem 1.2rem; }
.footer-social { margin-top: 1rem; }
.footer-social span, .footer-bottom-links span { color: var(--accent); }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: .6rem 1rem; border-top: 1px solid var(--line); padding-block: 1.1rem; color: var(--muted); font-size: .9rem; }
.page-intro-copy { padding-top: clamp(1.75rem, 4vw, 3.5rem); }
@media (max-width: 900px) { .footer-main { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 490px) { .footer-main { grid-template-columns: minmax(0, 1fr); } }
dialog { width: min(56rem, calc(100% - 2rem)); padding: 1rem; border: 1px solid var(--line); background: var(--panel); color: var(--paper); }
dialog::backdrop { background: #000d; }
.dialog-top { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: .85rem; }
.dialog-top h2 { font: 700 clamp(1rem,3vw,1.5rem)/1.2 var(--body); }
.close { background: transparent; color: inherit; border: 1px solid var(--line); width: 2.5rem; height: 2.5rem; font-size: 1.5rem; }
.player { aspect-ratio: 16/9; background: #000; }
.player iframe { display: block; border: 0; width: 100%; height: 100%; }
.video-link { margin-top: .8rem; }
@media (max-width: 740px) {
  .wrap { width: calc(100% - 36px); }
  .nav { min-height: 63px; }
  .brand { font-size: 1.45rem; }
  .js .menu { display: block; background: transparent; border: 1px solid var(--line); color: var(--paper); padding: .4rem .75rem; }
  .nav { flex-wrap: wrap; }
  #navlinks { width: 100%; flex-wrap: wrap; gap: .7rem 1rem; padding: .5rem 0 1rem; }
  .js #navlinks:not(.open) { display: none; }
  .hero { min-height: 610px; }
  .hero::after { background: linear-gradient(90deg,#0c0b0bc9,#0c0b0b2e),linear-gradient(0deg,#100f0e 0%,transparent 65%); }
  .hero-inner { padding-block: 5rem 2.5rem; }
  .hero-foot { font-size: .61rem; letter-spacing: .1em; }
  .split,.projects { grid-template-columns: 1fr; }
  .lead .project-image { aspect-ratio: 16/9; }
}
@media (prefers-reduced-motion: reduce) {
  *,*::before,*::after { scroll-behavior: auto !important; transition: none !important; }
}

.primary-menu { display: flex; align-items: center; flex-wrap: wrap; gap: .75rem 1.5rem; list-style: none; margin: 0; padding: 0; }
.custom-logo { width: auto; max-width: min(190px, 55vw); height: auto; max-height: 54px; object-fit: contain; }
.admin-bar .top { top: 32px; }
.wp-content { overflow-wrap: break-word; min-height: 65vh; }
.wp-content h1 { font-size: clamp(3rem, 8vw, 7rem); margin-bottom: 1.5rem; }
.wp-content h2 { font-size: clamp(2.2rem, 5vw, 4rem); margin-block: 1rem; }
.wp-content p + p { margin-top: 1rem; }
.wp-content p a, .form-link a { text-decoration: underline; }
.wp-content img { height: auto; max-width: 100%; width: auto; }
.wp-content article + article { margin-top: 2rem; }
.form-link { margin-top: 1rem; }
.inner-hero { padding-block: clamp(4rem, 11vw, 9rem) clamp(3rem, 6vw, 6rem); border-bottom: 1px solid var(--line); background: radial-gradient(ellipse at 85% 0%, #753721, transparent 63%), var(--panel); }
.inner-hero h1 { font-size: clamp(3.5rem, 10vw, 9rem); text-transform: uppercase; overflow-wrap: anywhere; max-width: 14ch; }
.inner-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.4rem; }
.inner-card { border-top: 2px solid var(--accent); background: var(--panel); padding: clamp(1rem, 2vw, 2rem); }
.inner-card h2, .inner-grid .caption h3 { font: 700 clamp(1.2rem, 2vw, 1.8rem)/1.15 var(--body); }
.home-project-grid { padding-top: 0; }
.home-project-grid .heading h2 { font-size: clamp(2.65rem, 5.5vw, 5.5rem); text-transform: uppercase; }
.inner-card h2 a:hover, .inner-grid .caption a:hover { color: var(--accent); }
.inner-card p { margin-top: .75rem; color: var(--muted); }
.inner-contact { display: flex; flex-wrap: wrap; gap: 1rem; padding-top: 2rem; }
.inner-copy { overflow-wrap: break-word; }
.inner-copy img { height: auto; max-width: 100%; }
.inner-copy a:not(.button) { text-decoration: underline; }
.inner-copy h2, .inner-copy h3 { margin-block: 1.2rem .6rem; }
.inner-copy h2 { font-size: clamp(2rem, 5vw, 4.5rem); }
.inner-copy p + p { margin-top: 1rem; }
.project-cover { margin-top: 2rem; }
.project-cover img { max-height: 70vh; height: auto; }
.project-pagination { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 2rem; }
.project-pagination .page-numbers { padding: .45rem .8rem; border: 1px solid var(--line); }
.project-pagination .current { background: var(--accent); color: var(--ink); }
.editorial-section { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; padding-block: clamp(2.5rem, 6vw, 5rem); }
.editorial-card { border: 1px solid var(--line); border-top: 3px solid var(--accent); padding: clamp(1.3rem, 3.5vw, 3rem); background: var(--panel); }
.editorial-card h2 { font-size: clamp(2rem, 4.2vw, 4rem); line-height: .98; }
.editorial-card p { margin-top: 1rem; color: var(--muted); max-width: 58ch; }
.editorial-link { margin-top: 1.1rem; }
.project-terms { color: var(--accent); margin-bottom: 1rem; }
.location-gallery, .contact-form-section { padding-block: clamp(2.5rem, 6vw, 5rem); }
.location-gallery h2, .contact-form-panel h2 { font-size: clamp(2.7rem, 6vw, 5.5rem); margin-bottom: 1.5rem; }
.location-gallery-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .75rem; }
.location-gallery-item { aspect-ratio: 4 / 3; overflow: hidden; background: var(--panel); }
.location-gallery-item img { transition: transform .25s; }
.location-gallery-item:hover img { transform: scale(1.04); }
.contact-form-panel { max-width: 54rem; border-top: 3px solid var(--accent); padding: clamp(1.25rem, 4vw, 3rem); background: var(--panel); }
.contact-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.15rem; margin-bottom: 1.25rem; }
.contact-fields label { display: block; font-weight: 700; }
.contact-fields label span { color: var(--muted); font-weight: 400; }
.contact-fields :is(input, textarea) { display: block; width: 100%; margin-top: .35rem; padding: .75rem; border: 1px solid #ffffff65; background: var(--ink); color: var(--paper); font: inherit; font-weight: 400; }
.contact-fields :is(input, textarea):focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.contact-message { grid-column: 1 / -1; }
.contact-trap { position: absolute; left: -10000px; }
.contact-notice { padding: .75rem; margin-bottom: 1.1rem; border-left: 3px solid var(--accent); }
.contact-privacy { margin-top: 1rem; }
.contact-privacy a { text-decoration: underline; }
@media (max-width: 740px) { .location-gallery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .contact-fields { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 660px) { .editorial-section { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 900px) { .inner-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .inner-grid { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 782px) { .admin-bar .top { top: 46px; } }
@media (max-width: 600px) { .admin-bar .top { top: 0; } }
