/* Soul Tone Atelier v1.5: one photographic layer for the whole site.
   Single fixed <img>; masthead and body see the SAME pixels at every scroll position.
   Page artwork lives within the editable content canvas, not this layer. */
:root { --st-header-h:90px; --st-paper:#FFFFFF; --st-ink:#4B4848; --st-rule:#E8E8E8; }
body { background:#F7F7F7!important; }
.st-site-wallpaper {position:fixed; inset:0; width:100vw; height:100vh; height:100dvh;
  overflow:hidden; z-index:0; pointer-events:none; background:#24332e;}
.st-site-wallpaper img {display:block;width:100%;height:100%;object-fit:cover;object-position:center center;
  max-width:none;filter:saturate(.88) contrast(.98);}
body.soul-tone-has-photo .site-frame {position:relative;z-index:1;background:transparent!important;overflow:clip;}
/* A single CSS background colour overlay is used for text readability;
   the photograph itself is never repeated on the sticky header. */
body.soul-tone-has-photo .site-header,
body.soul-tone-has-photo .site-header.is-scrolled,
body.soul-tone-has-photo .site-header:has(.primary-navigation.is-open),
body.soul-tone-has-photo.soul-tone-contact-page .site-header,
body.soul-tone-has-photo.soul-tone-contact-page .site-header:not(.is-scrolled){
  position:sticky!important;top:0!important;height:var(--st-header-h)!important;
  background:rgba(8,21,19,.37)!important;
  background-image:none!important;
  box-shadow:none!important;
  border-bottom:1px solid rgba(255,255,255,.22)!important;
  backdrop-filter:none!important;
}
body.soul-tone-has-photo .site-header .brand-wordmark,
body.soul-tone-has-photo .site-header.is-scrolled .brand-wordmark,
body.soul-tone-has-photo .site-header:has(.primary-navigation.is-open) .brand-wordmark,
body.soul-tone-has-photo .site-header .menu-toggle span,
body.soul-tone-has-photo .site-header.is-scrolled .menu-toggle span,
body.soul-tone-has-photo .site-header:has(.primary-navigation.is-open) .menu-toggle span{color:#fff!important;background:transparent;}
/* Correct the hamburger bars (wordmark transparent background does not affect it). */
body.soul-tone-has-photo .site-header .menu-toggle span,
body.soul-tone-has-photo .site-header.is-scrolled .menu-toggle span,
body.soul-tone-has-photo .site-header:has(.primary-navigation.is-open) .menu-toggle span{background:#fff!important;}
body.soul-tone-has-photo .site-header .header-action svg,
body.soul-tone-has-photo .site-header.is-scrolled .header-action svg{stroke:#fff!important;filter:drop-shadow(0 1px 2px rgba(0,0,0,.45));}
body.soul-tone-has-photo .site-header .brand-wordmark{background:none!important;text-shadow:0 1px 4px #0008!important;}
/* Preserve backdrop visibility before the first white page surface. */
body.soul-tone-has-photo .st-photo-clearance{height:clamp(78px,10vw,140px);background:transparent!important;}
/* The old photo banner is no longer rendered; just one fixed wallpaper globally. */
body.soul-tone-has-photo .soul-tone-photo-header{display:none!important;}
@media(min-width:900px){
  body.soul-tone-has-photo .page-main,
  body.soul-tone-has-photo .about-main,
  body.soul-tone-has-photo .contact-main,
  body.soul-tone-has-photo .shop-shell,
  body.soul-tone-has-photo .home-main {
    position:relative!important;z-index:2!important;
    width:min(calc(100% - 72px),1240px)!important;
    max-width:1240px!important;
    margin:0 auto 72px!important;
    background:#FFFFFF!important;
    box-shadow:0 18px 50px rgba(15,28,24,.11)!important;
  }
  body.soul-tone-has-photo .home-welcome{width:100%!important;max-width:none!important;margin:0!important;box-shadow:none!important;}
}
@media(max-width:899px){
 :root{--st-header-h:76px;}
 body.soul-tone-has-photo .st-photo-clearance{height:clamp(48px,9vw,88px);}
 body.soul-tone-has-photo .page-main,
 body.soul-tone-has-photo .about-main,
 body.soul-tone-has-photo .contact-main,
 body.soul-tone-has-photo .shop-shell,
 body.soul-tone-has-photo .home-main{width:100%!important;max-width:none!important;margin:0!important;background:#fff!important;box-shadow:none!important;}
 body.soul-tone-has-photo .home-welcome{width:100%!important;max-width:none!important;margin:0!important;box-shadow:none!important;}
}
@media(max-width:520px){ :root{--st-header-h:72px;}
 body.soul-tone-has-photo .st-photo-clearance{height:clamp(53px,16vw,83px);}
}
/* Keep the open menu below the shared photographic masthead; never draw another photo there. */
body.soul-tone-has-photo .primary-navigation,
body.soul-tone-has-photo.soul-tone-contact-page .primary-navigation{
  top:var(--st-header-h)!important;
  background:#FBFAF7!important;
}
/* Contact: reproduce supplied artwork within the paper canvas; never in the global header. */
.st-contact-editorial-banner{max-width:1209px;margin:0 auto;padding:0!important;text-align:center;}
.st-contact-editorial-banner figure{margin:0;}
.st-contact-editorial-banner img{display:block;max-width:100%;width:100%;height:auto;object-fit:contain;}
body.soul-tone-has-photo.soul-tone-contact-page .contact-main{background:#FFFFFF!important;}
.contact-creative,.contact-form-section{background:#FFFFFF!important;color:#4B4848!important;}
.contact-creative__subtitle{color:#4B4848!important;}
.contact-creative__cta,.contact-form-section .button--dark{background:#24453C!important;color:#FFFFFF!important;}
.contact-creative__cta:hover,.contact-form-section .button--dark:hover{background:#172F29!important;}
/* Client heritage photographs must never be cropped. */
.about-main .editorial-photo__img, .st-about-landmark img{width:100%!important;height:auto!important;object-fit:contain!important;aspect-ratio:auto!important;}
.about-main .editorial-photo{background:#fff;}
/* Editorial Gutenberg block styles are modest and easy to edit through Pages. */
.about-main .st-about-content{max-width:1040px;margin:0 auto;}
.about-main .st-about-content>h1{text-align:center;font-family:Baskerville,'Palatino Linotype',Georgia,serif;font-weight:400;}
.about-main .st-about-content>.st-subtitle{text-align:center;font-family:Georgia,serif;color:#4B4848;}
.st-about-landmark,.st-contact-hero-art,.st-contact-australia-art{margin:32px auto!important;}
.st-about-landmark img,.st-contact-hero-art img,.st-contact-australia-art img{width:100%;height:auto;object-fit:contain;}
.st-contact-hero-art{max-width:1209px;}
.st-contact-australia-art{max-width:560px;}
.st-contact-intro{text-align:center;}
.st-contact-intro .wp-block-buttons{justify-content:center;}
.st-contact-intro .wp-block-button__link{background:#24453C;color:white!important;}
/* Pale footer, consistent with the client's light content treatment. */
body.soul-tone-has-photo .site-footer{background:#FCFCFB!important;color:#4B4848!important;}
body.soul-tone-has-photo .site-footer .footer-heading{color:#334039!important;}
body.soul-tone-has-photo .site-footer .footer-brand p,
body.soul-tone-has-photo .site-footer .footer-grid>div:last-child p,
body.soul-tone-has-photo .site-footer .footer-grid a,
body.soul-tone-has-photo .site-footer .footer-bottom{color:#4B4848!important;}
body.soul-tone-has-photo .site-footer .brand-wordmark--footer{color:#28453B!important;}
body.soul-tone-has-photo .site-footer .footer-bottom{border-top:1px solid #E8E8E8!important;}
@media(min-width:900px){body.soul-tone-has-photo .site-footer{width:min(calc(100% - 72px),1240px);margin:0 auto 24px;}}
@media(max-width:899px){body.soul-tone-has-photo .site-footer{width:100%;margin:0;}}
@media(prefers-reduced-motion:reduce){.st-site-wallpaper img{transition:none!important;}}


/* ================================================================
   Soul Tone v1.6: one selectable photograph, across background,
   sticky header and open menu. Two DOM images are not selected;
   --st-selected-background always matches the wallpaper img.src.
   Browser fixed background attachment aligns the crop to viewport,
   including when the header becomes sticky. Mobile uses the same URL
   with a readable fallback crop where fixed backgrounds are limited.
   ================================================================ */
body.soul-tone-has-photo .site-header,
body.soul-tone-has-photo .site-header.is-scrolled,
body.soul-tone-has-photo .site-header:has(.primary-navigation.is-open),
body.soul-tone-has-photo.st-menu-open .site-header,
body.soul-tone-has-photo.soul-tone-contact-page .site-header,
body.soul-tone-has-photo.soul-tone-contact-page .site-header:not(.is-scrolled) {
  background-color:rgba(10,24,21,.43)!important;
  background-image:linear-gradient(rgba(11,25,22,.39),rgba(11,25,22,.39)),var(--st-selected-background)!important;
  background-attachment:scroll,fixed!important;
  background-size:cover,cover!important;
  background-position:center center,center center!important;
  background-repeat:no-repeat,no-repeat!important;
  box-shadow:0 1px 8px rgba(0,0,0,.13)!important;
}
/* Mobile Safari can ignore fixed CSS backgrounds. The single URL is still
   maintained; only the viewport crop may be reduced on those browsers. */
@supports (-webkit-touch-callout:none) {
  body.soul-tone-has-photo .site-header,
  body.soul-tone-has-photo .site-header.is-scrolled,
  body.soul-tone-has-photo.st-menu-open .site-header {
    background-attachment:scroll,scroll!important;
    background-size:cover,cover!important;
    background-position:center,center top!important;
  }
}
/* Passive three-pixel scroll indicator: muted gold, not a recognisable melody.
   Musically inspired engraving without adding decorative clutter. */
.st-scroll-progress {
  position:absolute;inset-inline:0;bottom:0;height:3px;z-index:1004;
  background:rgba(255,255,255,.20);pointer-events:none;
}
.st-scroll-progress__fill {
  display:block;width:100%;height:100%;transform:scaleX(0);
  transform-origin:left center;background:linear-gradient(90deg,#e5cd91,#bea16a);
  box-shadow:0 0 5px rgba(235,209,155,.30);will-change:transform;
}
[dir="rtl"] .st-scroll-progress__fill{transform-origin:right center;}
@media(prefers-reduced-motion:reduce){.st-scroll-progress__fill{transition:none!important;will-change:auto;}}
/* Full-bleed yet visually restrained footer. Main content stays narrower;
   inner links keep WordPress's native menu/content URLs, no hardcoding. */
body.soul-tone-has-photo .site-footer,
.site-footer {
  display:block;width:100%!important;max-width:none!important;
  margin:0!important;position:relative;background:#FCFCFB!important;
  padding:32px 0 15px!important;border-top:1px solid #E8E8E8!important;
  color:#4B4848!important;box-sizing:border-box;
}
.site-footer .footer-grid{grid-template-columns:1.45fr .85fr .95fr 1.1fr;
  column-gap:clamp(14px,2.3vw,32px)!important;row-gap:22px!important;
  padding-bottom:24px!important;}
.site-footer .footer-heading{margin-bottom:11px!important;color:#334039!important;}
.site-footer .footer-grid li{margin-bottom:5px!important;}
.site-footer .footer-grid a{color:#4B4848!important;}
.site-footer .footer-grid a:hover,.site-footer .footer-grid a:focus-visible{color:#24453c!important;text-decoration:underline;}
.site-footer .footer-brand p,.site-footer .footer-grid>div:last-child p{
  margin-top:9px!important;line-height:1.55!important;color:#4B4848!important;
}
.site-footer .brand-wordmark--footer{color:#28453B!important;}
.site-footer .footer-bottom{border-top:1px solid #E8E8E8!important;
  padding-top:13px!important;font-size:10px!important;color:#4B4848!important;}
@media(max-width:800px){
 .site-footer .footer-grid{grid-template-columns:1fr 1fr!important;gap:16px 25px!important;}
 .site-footer{padding:25px 0 12px!important;}
}
@media(max-width:520px){
 .site-footer .footer-grid{grid-template-columns:1fr 1fr!important;gap:16px!important;padding-bottom:19px!important;}
 .site-footer .brand-wordmark--footer{font-size:22px!important;}
 .site-footer .footer-heading{font-size:10px!important;}
 .site-footer .footer-grid li{margin-bottom:4px!important;}
 .site-footer .footer-bottom{padding-top:10px!important;line-height:1.6!important;}
}


/* ======================================================================
  v1.7 targeted mobile header, contact artwork and footer corrections.
  Scope is intentionally restricted to responsive presentation; desktop
  wallpaper, existing page content and WooCommerce features are unchanged.
====================================================================== */
/* Original beamed quavers move with reading progress over a five-line stave.
   This is an original purely decorative motif, not a borrowed melody. */
.st-scroll-progress{overflow:visible!important}
.st-scroll-progress__motif{
  position:absolute;left:0;bottom:-1px;width:30px;height:22px;
  display:block;color:#d4b56f;pointer-events:none;z-index:1005;
  filter:drop-shadow(0 1px 2px rgba(0,0,0,.38));
  transition:none!important;
}
.st-scroll-progress__motif svg{display:block;width:30px;height:22px;overflow:visible;}
/* Source Contact illustration fills its content canvas, not only the text column. */
body.soul-tone-contact-page .contact-main .st-contact-editorial-banner,
body.soul-tone-contact-page .contact-main .st-contact-editor-content {
  width:100%!important;max-width:none!important;margin-inline:0!important;
  padding-inline:0!important;
}
body.soul-tone-contact-page .contact-main .st-contact-hero-art,
body.soul-tone-contact-page .contact-main .st-contact-editorial-banner figure{
  width:100%!important;max-width:100%!important;margin:0!important;
}
body.soul-tone-contact-page .contact-main .st-contact-hero-art img,
body.soul-tone-contact-page .contact-main .st-contact-editorial-banner img {
  display:block!important;width:100%!important;max-width:none!important;
  height:auto!important;object-fit:contain!important;border:0;
}
body.soul-tone-contact-page .contact-main .st-contact-intro,
body.soul-tone-contact-page .contact-main .st-contact-form-section{
  width:min(100% - 44px,870px)!important;max-width:870px!important;
  margin-inline:auto!important;
}
/* Mobile: the selected image is confined to the *actual* sticky menu header.
   The full-viewport wallpaper is intentionally hidden, so there is no second
   independent crop occupying a third of the screen or jumping on scroll. */
@media(max-width:767px){
  :root{--st-header-h:72px;}
  body.soul-tone-has-photo .st-site-wallpaper{display:none!important;}
  body.soul-tone-has-photo .st-photo-clearance{display:none!important;height:0!important;}
  body.soul-tone-has-photo .site-frame{background:#F7F7F7!important;}
  body.soul-tone-has-photo .site-header,
  body.soul-tone-has-photo .site-header.is-scrolled,
  body.soul-tone-has-photo.st-menu-open .site-header,
  body.soul-tone-has-photo .site-header:has(.primary-navigation.is-open),
  body.soul-tone-has-photo.soul-tone-contact-page .site-header,
  body.soul-tone-has-photo.soul-tone-contact-page .site-header:not(.is-scrolled){
    height:var(--st-header-h)!important;min-height:var(--st-header-h)!important;
    background-color:#24362f!important;
    background-image:linear-gradient(rgba(8,21,18,.39),rgba(8,21,18,.39)),var(--st-selected-background)!important;
    background-attachment:scroll,scroll!important;
    background-size:cover,cover!important;
    background-position:center center,center center!important;
    background-repeat:no-repeat,no-repeat!important;
    border-bottom:1px solid rgba(255,255,255,.3)!important;
    transition:none!important;
  }
  body.soul-tone-has-photo .primary-navigation,
  body.soul-tone-has-photo.soul-tone-contact-page .primary-navigation{
    top:var(--st-header-h)!important;
    height:calc(100dvh - var(--st-header-h))!important;
    max-height:calc(100dvh - var(--st-header-h))!important;
  }
  /* Compact, readable mobile footer: brand, two link columns, clean ending. */
  .site-footer,body.soul-tone-has-photo .site-footer{
    padding:23px 0 14px!important;
  }
  .site-footer .footer-grid{
    display:grid!important;grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;
    gap:16px 18px!important;padding-bottom:14px!important;
    align-items:start;
  }
  .site-footer .footer-grid>div{min-width:0!important;}
  .site-footer .footer-grid>div:first-child{grid-column:1 / -1!important;margin:0!important;padding-bottom:10px!important;border-bottom:1px solid #E8E8E8!important;}
  .site-footer .footer-grid>div:last-child{display:none!important;}
  .site-footer .brand-wordmark--footer{font-size:21px!important;letter-spacing:.11em!important;}
  .site-footer .footer-brand p{font-size:12px!important;line-height:1.55!important;margin:6px 0 0!important;max-width:none!important;}
  .site-footer .footer-heading{font-size:10px!important;letter-spacing:.11em!important;margin:0 0 10px!important;}
  .site-footer .footer-grid ul{padding:0!important;margin:0!important;}
  .site-footer .footer-grid li{margin:0 0 7px!important;}
  .site-footer .footer-grid a{font-size:12px!important;line-height:1.45!important;overflow-wrap:anywhere;}
  .site-footer .footer-bottom{display:block!important;text-align:center!important;padding-top:13px!important;}
  .site-footer .footer-bottom>span{display:block!important;margin:0 0 4px!important;font-size:9px!important;line-height:1.6!important;}
  .site-footer .footer-bottom>span:last-child{opacity:.75!important;}
  body.soul-tone-contact-page .contact-main .st-contact-intro,
  body.soul-tone-contact-page .contact-main .st-contact-form-section{
    width:calc(100% - 34px)!important;max-width:none!important;
  }
}
@media(prefers-reduced-motion:reduce){.st-scroll-progress__motif{transition:none!important}}

/* v1.9: Stable mobile masthead, one selected image from first paint.
   Avoid background-attachment:fixed and state-dependent background changes in
   mobile Safari. The ::before layer is independent of is-scrolled/menu classes. */
@media (max-width:899px) {
  body.soul-tone-has-photo .site-header,
  body.soul-tone-has-photo .site-header.is-scrolled,
  body.soul-tone-has-photo.st-menu-open .site-header,
  body.soul-tone-has-photo .site-header:has(.primary-navigation.is-open) {
    background:#24362f!important;
    background-image:none!important;
    isolation:isolate;
    overflow:visible!important;
  }
  body.soul-tone-has-photo .site-header::before {
    content:"";
    position:absolute;
    inset:0;
    z-index:0;
    pointer-events:none;
    background-image:linear-gradient(rgba(8,21,18,.39),rgba(8,21,18,.39)), var(--st-selected-background);
    background-size:cover,cover;
    background-position:center,center;
    background-repeat:no-repeat,no-repeat;
    opacity:1;
  }
  body.soul-tone-has-photo .site-header__inner { position:relative; z-index:2; }
  body.soul-tone-has-photo .st-scroll-progress { z-index:3; }
}
/* Unobtrusive provider attribution, enabled explicitly in native Customiser. */
.st-provider-credit {
  width:100%;
  background:#F7F7F7;
  border-top:1px solid #E8E8E8;
  color:#686A68;
  text-align:center;
  padding:7px 0 9px;
  font:400 10px/1.5 Arial,sans-serif;
  letter-spacing:.035em;
}
.st-provider-credit .container {display:flex;gap:4px;justify-content:center;align-items:baseline;flex-wrap:wrap;}
.st-provider-credit a {color:#334D43!important;text-decoration:none!important;font-weight:600;}
.st-provider-credit a:hover,.st-provider-credit a:focus-visible {text-decoration:underline!important;}
@media(max-width:520px){.st-provider-credit{font-size:9px;padding:8px 0 10px;}}

/* WordPress-native Custom Logo, only visible if the site owner selects one. */
.site-header .site-brand .custom-logo-link{display:inline-flex;align-items:center;max-width:min(250px,43vw);max-height:calc(var(--st-header-h) - 14px);line-height:1;}
.site-header .site-brand .custom-logo{display:block;width:auto;max-width:100%;max-height:calc(var(--st-header-h) - 14px);height:auto;object-fit:contain;}
@media(max-width:767px){.site-header .site-brand .custom-logo-link{max-width:135px;}}
