/* Belle Imaging — reproduces the Photography-theme look in our own small CSS.
   Montserrat, neutral white/grey palette, uppercase spaced headings. */
/* iOS renders <button> text blue unless a colour is set */
button { color: inherit; }

:root {
  --ink: #2b2b2b;
  --muted: #7a7a7a;
  --line: #e1e1e1;
  --bg: #ffffff;
  --max: 1200px;
  --gap: 1.5rem;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: "Montserrat", system-ui, Arial, sans-serif;
  font-weight: 400;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.7;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--ink); text-decoration: none; }
a:hover { color: var(--muted); }

h1, h2, h3 { font-weight: 600; letter-spacing: .12em; text-transform: uppercase; line-height: 1.25; }
h1 { font-size: 1.7rem; margin: 0 0 .6rem; }
h2 { font-size: 1.25rem; }
.intro, .tagline { color: var(--muted); font-weight: 300; letter-spacing: .04em; text-transform: none; }

/* Header + nav */
.site-header {
  display: flex; align-items: center; flex-wrap: wrap; gap: 1rem;
  padding: 1rem clamp(16px, 4vw, 3rem);
  border-bottom: 1px solid var(--line); position: sticky; top: 0; background: rgba(255,255,255,.96);
  backdrop-filter: saturate(150%) blur(6px); z-index: 50;
}
.brand { display: flex; flex-direction: row; align-items: center; gap: .6rem; line-height: 1; margin-right: auto; }
.brand-wordmark { display: block; width: 192px; height: auto; filter: invert(1); }
.site-nav > ul { display: flex; flex-wrap: wrap; align-items: center; gap: .1rem 1.1rem; list-style: none; margin: 0; padding: 0; }
.site-nav a { font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--ink); }
.nav-toggle { display: none; font-size: 1.4rem; background: none; border: 0; cursor: pointer; color: var(--ink); }

/* Hero slider — Revslider "Home 5 Slider" reproduced: 6 slides, fade 1000ms, 7000ms hold,
   full-screen height, arrows, no Ken Burns (per the recovered DB spec). */
.hero { position: relative; }
.slider { position: relative; height: 100svh; min-height: 460px; max-height: 1200px; overflow: hidden; background: #111; }
.slide {
  position: absolute; inset: 0;
  opacity: 0; transition: opacity 1000ms ease-in-out;
  display: flex; align-items: center; justify-content: center;
}
.slide-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.slide.is-active { opacity: 1; }
.slide-caption { position: relative; z-index: 1; text-align: center; color: #fff; padding: 1rem; text-shadow: 0 2px 20px rgba(0,0,0,.45); }
.slide-caption .svc { display: block; font-weight: 400; text-transform: uppercase; letter-spacing: .04em; font-size: clamp(2.8rem, 8vw, 8rem); line-height: 1; }
.slide-caption .svc-sub { display: block; font-weight: 400; text-transform: uppercase; letter-spacing: .3em; font-size: clamp(1.1rem, 3.4vw, 3rem); margin-top: .5rem; }
.slide-caption .btn-light { display: inline-block; margin-top: 1.6rem; border: 1px solid #fff; color: #fff; padding: .7rem 1.8rem; letter-spacing: .16em; text-transform: uppercase; font-size: .72rem; transition: background .3s, color .3s; }
.slide-caption .btn-light:hover { background: #fff; color: var(--ink); }
.slider-arrow {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 5;
  width: 48px; height: 48px; border: 0; cursor: pointer; font-size: 2rem; line-height: 1;
  color: #fff; background: rgba(0,0,0,.25); transition: background .3s;
}
.slider-arrow:hover { background: rgba(0,0,0,.5); }
.slider-arrow.prev { left: 0; }
.slider-arrow.next { right: 0; }
@media (hover: none) { .slider-arrow { display: none; } }  /* touch: swipe instead */

/* Layout */
.content { max-width: var(--max); margin: 0 auto; padding: clamp(2rem,5vw,4rem) clamp(16px,4vw,3rem); }
.page-head { text-align: center; margin-bottom: 2.5rem; }
.page-body { max-width: 760px; margin: 0 auto; }
.page-body :is(p, ul, ol) { color: #444; }

/* Home blocks */
.intro-block { text-align: center; max-width: 760px; margin: 0 auto 3rem; }
.service-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: var(--gap); }
.service-card {
  aspect-ratio: 4 / 3; display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--line); background: #fafafa; letter-spacing: .14em;
  text-transform: uppercase; font-size: .8rem; transition: background .3s;
}
.service-card:hover { background: #f0f0f0; }

/* Gallery — masonry (CSS columns), per the Elementor spec; column count + gap from the page.
   --cols/--gap set inline from galleries.json; lightbox via GLightbox. */
.gallery { column-count: var(--cols, 3); column-gap: var(--gap, 4px); margin-top: 2rem; }
.gallery figure { margin: 0 0 var(--gap, 4px); break-inside: avoid; overflow: hidden; }
.gallery a.glightbox { display: block; }
.gallery img { width: 100%; height: auto; display: block; transition: opacity .3s, transform .5s; }
.gallery img:hover { opacity: .9; transform: scale(1.02); }  /* approximated hover */
.gallery-placeholder { color: var(--muted); text-align: center; border: 1px dashed var(--line); padding: 3rem; margin-top: 2rem; }
@media (max-width: 900px) { .gallery { column-count: min(var(--cols, 3), 2); } }
@media (max-width: 560px) { .gallery { column-count: 1; } }
@media (min-width: 1200px) { .gallery { --gap: 8px; } }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 2.5rem clamp(16px,4vw,3rem); text-align: center; color: var(--muted); }
.foot-brand { display: inline-block; }
.foot-wordmark { width: 200px; height: auto; display: block; filter: invert(1); }
.foot-nav { display: flex; gap: 1.2rem; justify-content: center; flex-wrap: wrap; margin: 1rem 0; }
.foot-nav a { font-size: .75rem; letter-spacing: .1em; text-transform: uppercase; }
.foot-copy { font-size: .72rem; letter-spacing: .08em; }

/* Mobile nav */
@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .site-nav { flex-basis: 100%; display: none; }
  .site-nav.open { display: block; }
  .site-nav > ul { flex-direction: column; align-items: stretch; gap: .2rem; }
  .site-nav a { display: block; padding: .5rem 0; }
}

/* Testimonials + contact (content pages) */
.page-body blockquote {
  margin: 0 0 2rem; padding: 1.2rem 1.5rem; border-left: 2px solid var(--line); background: #fafafa;
}
.page-body blockquote p { margin: 0 0 .6rem; color: #444; font-style: italic; }
.page-body blockquote cite { font-style: normal; font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.contact-list { list-style: none; padding: 0; }
.contact-list li { padding: .3rem 0; }

/* Dropdown sub-menus (recovered from the original two-dropdown nav) */
.site-nav li.has-children { position: relative; }
.submenu-toggle {
  font: inherit; font-size: .72rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--muted); background: none; border: 0; cursor: pointer; padding: 0;
}
.submenu-toggle span { font-size: .9em; }
.site-nav li.has-children:hover .submenu-toggle,
.submenu-toggle[aria-expanded="true"] { color: var(--ink); }
/* Dropdown panel — recovered from the theme: mid-grey #ababab, 16px normal-case links,
   hover darkens background (#7a7a7a) and whitens text. */
.sub-menu {
  list-style: none; margin: -1px 0 0; padding: 0; position: absolute; top: 100%; left: 0;
  min-width: 210px; background: #fff; border: 1px solid var(--line); box-shadow: 0 8px 22px rgba(0,0,0,.09); display: none; z-index: 60;
}
.site-nav li.has-children:hover .sub-menu,
.sub-menu.open { display: block; }
.sub-menu li { padding: 0; }
.sub-menu a { display: block; padding: 10px 20px; font-size: 16px; font-weight: 400; letter-spacing: 0; text-transform: none; color: var(--ink); white-space: nowrap; transition: background .2s, color .2s; }
.sub-menu a:hover, .sub-menu a[aria-current="page"] { background: #efefef; color: var(--ink); }

@media (max-width: 860px) {
  .site-nav li.has-children { position: static; }
  .sub-menu { position: static; border: 0; box-shadow: none; padding: 0 0 .4rem 1rem; min-width: 0; }
  .sub-menu.open { display: block; }
  .submenu-toggle { display: block; padding: .5rem 0; }
}

/* Section templates (sections.njk) */
.sec-cta { text-align: center; margin: 3.5rem auto 0; padding: 3rem clamp(16px,4vw,3rem); border-top: 1px solid var(--line); max-width: 860px; }
.sec-cta.has-image { position: relative; max-width: none; margin: 0; border-top: 0; color: #fff; background-size: cover; background-position: center; padding: clamp(3.5rem,8vw,6.5rem) clamp(16px,4vw,3rem); }
.sec-cta.has-image::before { content: ""; position: absolute; inset: 0; background: rgba(0,0,0,.5); }
.sec-cta.has-image > * { position: relative; z-index: 1; }
.sec-cta.has-image .sec-cta-line { color: #fff; }
.sec-cta.has-image .sec-cta-contact, .sec-cta.has-image .sec-cta-contact a { color: #fff; }
.sec-cta.has-image .btn { border-color: #fff; color: #fff; }
.sec-cta.has-image .btn:hover { background: #fff; color: var(--ink); }
.sec-cta-line { font-size: 1.15rem; letter-spacing: .08em; text-transform: uppercase; font-weight: 600; margin: 0 0 1.4rem; }
.sec-cta-contact { display: flex; flex-direction: column; align-items: center; gap: .9rem; color: var(--muted); }
.btn { display: inline-block; padding: .7rem 1.8rem; border: 1px solid var(--ink); color: var(--ink); letter-spacing: .16em; text-transform: uppercase; font-size: .72rem; transition: background .3s, color .3s; }
.btn:hover { background: var(--ink); color: #fff; }
.sec-banner { padding: 3.5rem clamp(16px,4vw,3rem); text-align: center; background: #fafafa; }
.sec-banner.has-image { background-size: cover; background-position: center; color: #fff; }
.sec-banner.has-image .sec-banner-inner { background: rgba(0,0,0,.35); display: inline-block; padding: 1.5rem 2rem; }
.sec-split { display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem; align-items: center; margin: 3rem 0; }
.sec-split.flip .sec-split-text { order: 2; }
@media (max-width: 760px) { .sec-split { grid-template-columns: 1fr; } .sec-split.flip .sec-split-text { order: 0; } }

/* Testimonial slider */
.tslider { position: relative; min-height: 220px; }
.tslider blockquote { display: none; }
.tslider blockquote.is-active { display: block; animation: tfade .6s ease; }
@keyframes tfade { from { opacity: 0; } to { opacity: 1; } }
.tslider-controls { display: flex; justify-content: center; gap: 1rem; margin-top: 1rem; }
.tslider-controls button { width: 40px; height: 40px; border: 1px solid var(--line); background: #fff; cursor: pointer; font-size: 1.3rem; color: var(--muted); transition: color .3s, border-color .3s; }
.tslider-controls button:hover { color: var(--ink); border-color: var(--ink); }

/* Home service blocks + page sections */
.home-services { margin-top: 1rem; }
.sec-split-img img { width: 100%; aspect-ratio: 4/3; object-fit: cover; display: block; }
.sec-split .more { font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; }
.sec-split h2 { margin-top: 0; }
/* Full-bleed banner (breaks out of the content column) */
.sec-banner.has-image { width: 100vw; max-width: 100vw; margin-left: calc(50% - 50vw); min-height: 340px; display: flex; align-items: center; justify-content: center; text-align: center; }
.sec-banner.has-image h2 { color: #fff; }
.sec-banner.has-image p { color: #fff; }
/* Contact two-column */
.contact-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; margin-top: 2rem; }
@media (max-width: 640px) { .contact-cols { grid-template-columns: 1fr; } }
.contact-note { color: var(--muted); }

/* Transparent header over the hero (home only); turns solid on scroll.
   Single wordmark everywhere: white over the hero, inverted to dark on solid/inner headers. */
.site-header.over-hero { position: fixed; left: 0; right: 0; top: 0; background: transparent; backdrop-filter: none; border-bottom: none; }
.site-header.over-hero:not(.scrolled) .brand-wordmark { filter: none; }
.site-header.over-hero .site-nav a,
.site-header.over-hero .submenu-toggle,
.site-header.over-hero .nav-toggle,
.site-header.over-hero .site-nav a:hover,
.site-header.over-hero .submenu-toggle[aria-expanded="true"] { color: #fff; }
.site-header.over-hero .site-nav a[aria-current="page"] { color: #fff; opacity: .75; }
/* solid state after scrolling past the hero → normal colours */
.site-header.over-hero.scrolled { background: rgba(255,255,255,.96); backdrop-filter: saturate(150%) blur(6px); border-bottom: 1px solid var(--line); }
.site-header.over-hero.scrolled .site-nav a,
.site-header.over-hero.scrolled .submenu-toggle,
.site-header.over-hero.scrolled .nav-toggle { color: var(--muted); }
.site-header.over-hero.scrolled .site-nav a:hover,
.site-header.over-hero.scrolled .site-nav a[aria-current="page"] { color: var(--ink); opacity: 1; }
/* Landing over the dark hero: the theme's mid-grey dropdown. Inner/light pages (and the
   scrolled landing header) use the light panel defined in the base .sub-menu rules above. */
.site-header.over-hero:not(.scrolled) .sub-menu { background: #ababab; border-color: #ababab; box-shadow: none; }
.site-header.over-hero:not(.scrolled) .sub-menu a { color: #0b0b0b; }
.site-header.over-hero:not(.scrolled) .sub-menu a:hover,
.site-header.over-hero:not(.scrolled) .sub-menu a[aria-current="page"] { background: #7a7a7a; color: #fff; }

/* Contact form */
.contact-details .signature { margin-top: 1.5rem; height: 47px; width: auto; }
.contact-form { display: flex; flex-direction: column; gap: 1rem; }
.contact-form label { display: flex; flex-direction: column; gap: .4rem; font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.contact-form input[type="text"], .contact-form input[type="email"], .contact-form textarea {
  font: inherit; padding: .7rem .8rem; border: 1px solid var(--line); background: #fff; color: var(--ink); width: 100%;
}
.contact-form input:focus, .contact-form textarea:focus { outline: none; border-color: var(--ink); }
.contact-form .btn { align-self: flex-start; cursor: pointer; background: #fff; }
.contact-form .hp { position: absolute; left: -9999px; }
.form-status { min-height: 1.2em; font-size: .85rem; letter-spacing: normal; text-transform: none; }
.form-status.ok { color: #1f7a3d; }
.form-status.err { color: #b3261e; }
.form-fallback { font-size: .8rem; color: var(--muted); }

/* Inner-page lead paragraph + plain prose blocks */
.lead { font-size: 1.08rem; color: #444; }
.sec-prose { margin: 2.5rem 0; }

/* Before / after comparison slider (post-production) */
.ba { margin: 3rem 0; }
.ba-stage { position: relative; overflow: hidden; line-height: 0; border: 1px solid var(--line); cursor: ew-resize; touch-action: none; user-select: none; }
.ba-stage img { display: block; width: 100%; height: auto; }
.ba-before-wrap { position: absolute; top: 0; left: 0; height: 100%; width: 50%; overflow: hidden; }
.ba-before-wrap img { height: 100%; width: auto; max-width: none; }
.ba-handle { position: absolute; top: 0; bottom: 0; left: 50%; width: 2px; margin-left: -1px; background: #fff; box-shadow: 0 0 0 1px rgba(0,0,0,.25); pointer-events: none; }
.ba-handle::before { content: ""; position: absolute; top: 50%; left: 50%; width: 38px; height: 38px; transform: translate(-50%,-50%); border-radius: 50%; background: #fff; box-shadow: 0 1px 6px rgba(0,0,0,.3); }
.ba-handle::after { content: "\2039 \203A"; position: absolute; top: 50%; left: 50%; transform: translate(-50%,-55%); font: 700 16px/1 system-ui, sans-serif; color: #333; white-space: nowrap; }
.ba-tag { position: absolute; top: 12px; font: 600 11px/1 Montserrat, system-ui, sans-serif; letter-spacing: .12em; text-transform: uppercase; color: #fff; background: rgba(0,0,0,.55); padding: 5px 9px; border-radius: 2px; pointer-events: none; }
.ba-tag-before { left: 12px; }
.ba-tag-after { right: 12px; }
.ba-range { position: absolute; left: 0; bottom: 0; width: 100%; height: 100%; margin: 0; opacity: 0; pointer-events: none; }
.ba figcaption { margin-top: .8rem; font-size: .85rem; color: var(--muted); text-align: center; line-height: 1.5; }

/* Home wide mode: let the landing content span full width (service strips) */
.content-wide { max-width: none; padding: 0; }
.page-body-wide { max-width: none; }

/* Full-width home service strips — image half beside a text half, alternating
   light/dark bands (reconstructed from the ThemeGoods page-builder home). */
.hstrip { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: stretch; min-height: min(33vw, 760px); background: #fff; color: var(--ink); }
.hstrip.dark { background: #222; color: #fff; }
.hstrip-img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hstrip.flip .hstrip-img { order: 2; }
.hstrip-text { padding: clamp(2rem, 5vw, 4.5rem); display: flex; flex-direction: column; justify-content: center; }
.hstrip-sub { font-size: .7rem; letter-spacing: .22em; text-transform: uppercase; font-weight: 600; color: var(--muted); margin: 0 0 .5rem; }
.hstrip.dark .hstrip-sub { color: rgba(255,255,255,.75); }
.hstrip-title { font-family: Montserrat, sans-serif; font-weight: 600; font-size: clamp(1.8rem, 3.4vw, 2.8rem); letter-spacing: -.5px; line-height: 1.12; margin: 0; }
.hstrip .rule { width: 56px; height: 2px; border: 0; background: var(--ink); margin: 1.1rem 0 1.3rem; }
.hstrip.dark .rule { background: #fff; }
.hstrip-body { color: #555; margin-bottom: 1.6rem; }
.hstrip.dark .hstrip-body p { color: rgba(255,255,255,.85); }
.hstrip-text .btn { align-self: flex-start; }
.btn-light { border-color: #fff; color: #fff; }
.btn-light:hover { background: #fff; color: var(--ink); }
@media (max-width: 760px) {
  .hstrip, .hstrip.flip { grid-template-columns: 1fr; min-height: 0; }
  .hstrip.flip .hstrip-img { order: 0; }
  .hstrip-img { height: auto; aspect-ratio: 3 / 2; width: 100%; }
}

/* Condensed three-up service row beneath the strips */
.hmini { background: #222; color: #fff; padding: clamp(2.5rem,6vw,5rem) clamp(16px,4vw,3rem); }
.hmini-grid { max-width: 1140px; margin: 0 auto; display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 2.5rem; }
.hmini-img { display: block; overflow: hidden; }
.hmini-img img { width: 100%; aspect-ratio: 3/2; object-fit: cover; transition: transform .5s; }
.hmini-img:hover img { transform: scale(1.04); }
.hmini-title { font-size: 1.1rem; letter-spacing: .02em; margin: 1rem 0 .5rem; color: #fff; }
.hmini-body { color: rgba(255,255,255,.72); font-size: .92rem; margin-bottom: 1.2rem; }
.hmini-card .btn { font-size: .66rem; padding: .55rem 1.3rem; border-color: #fff; color: #fff; }
.hmini-card .btn:hover { background: #fff; color: var(--ink); }
@media (max-width: 860px) { .hmini-grid { grid-template-columns: 1fr; max-width: 520px; } }


/* Portrait-orientation before/after (narrower, centred) */
.ba.portrait { max-width: 480px; margin-left: auto; margin-right: auto; }

/* Banner title restyle: drop the grey box, larger type, legible per photo */
.sec-banner.has-image { position: relative; overflow: hidden; }
.sec-banner.has-image::before { content: ""; position: absolute; inset: 0; z-index: 0; background: rgba(0,0,0,.34); }
.sec-banner.has-image .sec-banner-inner { position: relative; z-index: 1; background: none; padding: 0; }
.sec-banner.has-image h2 { font-family: Montserrat, sans-serif; font-weight: 600; font-size: clamp(2.1rem, 5.2vw, 3.6rem); letter-spacing: -.5px; line-height: 1.1; margin: 0 0 .4rem; color: #fff; text-shadow: 0 2px 24px rgba(0,0,0,.5); }
.sec-banner.has-image p { color: #fff; text-shadow: 0 1px 14px rgba(0,0,0,.5); }
/* Light photos: dark ink title over a faint light scrim */
.sec-banner.has-image.dark-text::before { background: rgba(255,255,255,.4); }
.sec-banner.has-image.dark-text h2, .sec-banner.has-image.dark-text p { color: var(--ink); text-shadow: none; }

/* Condensed dark services band: force the narrative text light (beats .page-body p) */
.hmini-body p { color: rgba(255,255,255,.8); }

/* ---- Headshots mosaic layout (galleryLayout: mosaic) ---- */
/* Mosaic grid: a few large feature cells, the rest packed around, ragged bottom */
.gallery.mosaic { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; grid-auto-flow: dense; margin-top: 2rem; }
.gallery.mosaic figure { margin: 0; aspect-ratio: var(--cell, 4/5); overflow: hidden; break-inside: unset; }
.gallery.mosaic figure.feat { grid-column: span 2; grid-row: span 2; }
.gallery.mosaic figure.feat-left { grid-column: 1 / span 2; }
.gallery.mosaic figure.feat-right { grid-column: 3 / span 2; }
.gallery.mosaic a.glightbox { display: block; width: 100%; height: 100%; }
.gallery.mosaic img { width: 100%; height: 100%; object-fit: cover; display: block; transition: opacity .3s, transform .5s; }
.gallery.mosaic img:hover { opacity: .92; transform: scale(1.03); }
@media (max-width: 700px) { .gallery.mosaic { grid-template-columns: repeat(2, 1fr); } .gallery.mosaic figure.feat-left, .gallery.mosaic figure.feat-right { grid-column: 1 / span 2; } }


/* Banner with an intro paragraph inside it (taller) */
.sec-banner.has-image.has-body { min-height: 460px; }
.sec-banner-body { max-width: 620px; margin: 1.1rem auto 0; line-height: 1.6; }
.sec-banner.has-image .sec-banner-body p { margin: 0; }

/* Banners with body text: taller, with more breathing room between elements */
.sec-banner.has-image.has-body { min-height: 540px; padding-top: clamp(4rem, 9vw, 7rem); padding-bottom: clamp(4rem, 9vw, 7rem); }
.sec-banner.has-image.has-body h2 { margin-bottom: .8rem; }
.sec-banner.has-image.has-body .sec-banner-inner > p { margin: 0 0 .3rem; }
.sec-banner.has-image.has-body .sec-banner-body { margin-top: 1.7rem; line-height: 1.75; }

/* Testimonials: gap below the banner + centred quotes */
.tslider blockquote { text-align: center; border-left: 0; background: none; padding: 0; max-width: 680px; margin: 2.75rem auto 0; }
.tslider blockquote p { color: #444; font-style: italic; font-size: 1.05rem; line-height: 1.7; }
.tslider blockquote cite { display: block; margin-top: .6rem; }
