/* Q Platform v1.0.4 — WordPress compatibility layer. Source layout remains in source.css. */
html,body{font-family:Inter,Arial,sans-serif!important;font-weight:400}
button,input,select,textarea,.header,.footer{font-family:Inter,Arial,sans-serif!important}
h1,h2,h3,h4,h5,h6,strong,b,.btn{font-weight:600!important}

/* Logo = WordPress Site Identity only */
.q-site-logo{display:flex;align-items:center;flex:0 0 auto;min-width:42px}
.q-custom-logo{display:block;max-width:180px;max-height:44px;width:auto!important;height:auto!important;object-fit:contain}
.q-logo-text{font-size:35px;font-weight:600;letter-spacing:-.07em;line-height:1}

/* Exact source header behaviour, hardened for long desktop navigation */
.q-header{overflow:visible}
.q-source-nav{min-width:0;white-space:nowrap}
.q-source-nav .mega-menu{white-space:normal}
.q-source-nav .q-mega-places{left:-210px}

@media(max-width:720px){.header-search{display:none!important}.header-inner>.icon-btn{margin-left:auto}.q-custom-logo{max-width:145px;max-height:38px}}

/* Breadcrumb is additional WP behaviour but deliberately quiet */
.q-breadcrumb{display:flex;gap:7px;align-items:center;flex-wrap:wrap;font-size:10px;color:#7b746b;padding-top:16px}
.q-breadcrumb a{color:inherit;text-decoration:none}

/* User requested smaller headings than source prototype */
.hero h1{font-size:clamp(42px,4.6vw,60px)!important;line-height:.98!important;letter-spacing:-.055em!important}
.page-hero h1,.catalog-hero h1,.directory-hero h1{font-size:clamp(36px,4.1vw,54px)!important;line-height:1!important;letter-spacing:-.05em!important}
.partner-hero h1{font-size:clamp(36px,4vw,52px)!important;line-height:1.02!important;letter-spacing:-.045em!important;margin:16px 0!important}
.detail-info h1{font-size:clamp(34px,3.6vw,44px)!important;line-height:1.04!important}
.article-hero-v4 h1,.collection-copy h1,.history-hero h1,.people-hero h1{font-size:clamp(36px,4vw,52px)!important;line-height:1!important}
.section-head h2,.lux-section .section-head h2{font-size:clamp(26px,2.6vw,34px)!important;line-height:1.1!important}
.dark-band h2,.auction-hero h2,.q-manifesto h2{font-size:clamp(28px,3vw,38px)!important;line-height:1.05!important}
.heritage-head h2{font-size:clamp(28px,3vw,38px)!important}
.article h2,.article-content-v4 h2{font-size:clamp(24px,2.4vw,31px)!important}
.story-content h3{font-size:clamp(20px,2vw,26px)!important}

/* Dynamic media must preserve source card geometry */
.q-initial-thumb{width:100%;height:100%;min-height:100%;display:flex;align-items:center;justify-content:center;background:#ece7de;color:#857967;font-size:44px;font-weight:600;letter-spacing:-.06em}
.q-story-initial{position:absolute;inset:0;font-size:72px;background:#2d2d2d;color:#c8bfae}
.profile-list-card .profile-visual img{width:100%;height:100%;object-fit:cover;border-radius:14px}
.article-cover-v4 .q-initial-thumb,.detail-image .q-initial-thumb{min-height:430px}
.detail-image .q-initial-thumb{min-height:560px}
.story-card>.q-initial-thumb,.story-card>img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.place-row .thumb .q-initial-thumb{min-height:64px;font-size:18px}

/* Catalog: keep source card shape; requested 4/3/2 responsive columns */
.catalog-grid{grid-template-columns:repeat(4,minmax(0,1fr))!important}
.catalog-card .content>p{min-height:48px}
.catalog-card .cover .q-initial-thumb{aspect-ratio:4/3}
.catalog-pagination .page-numbers{width:34px;height:34px;border:1px solid var(--line);background:#fff;border-radius:50%;display:inline-grid;place-items:center;text-decoration:none;font-size:10px;margin:0 3px}
.catalog-pagination .current{background:var(--dark);color:#fff}
.q-people-list-grid{grid-template-columns:1fr 1fr!important}

/* Detail / form / WP content */
.q-richtext{font-size:14px;line-height:1.85;color:#514c45}
.q-richtext img{height:auto;border-radius:16px}
.q-gallery{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin:18px 0}.q-gallery img{width:100%;aspect-ratio:4/3;object-fit:cover;border-radius:14px}
.q-faqs details{border-top:1px solid var(--line);padding:14px 0}.q-faqs summary{font-weight:600;cursor:pointer}
.q-video iframe{max-width:100%;width:100%;aspect-ratio:16/9;height:auto;border:0;border-radius:18px}
.q-sticky-contact{position:sticky;top:104px}
.q-contact-card{background:var(--paper);border:1px solid var(--line);border-radius:18px;padding:16px}
.q-contact-card .q-contact-card{border:0;padding:0;background:transparent}
.q-contact-card h3{font-size:17px;margin:0 0 12px}
.q-contact-list{display:grid;gap:7px}.q-contact-list a,.q-contact-list>div{font-size:11px;text-decoration:none;border-bottom:1px solid var(--line);padding:8px 0;color:#5b554d}
.q-contact-form,.q-submit-form{display:grid;gap:10px}.q-contact-form input,.q-contact-form textarea,.q-submit-form input,.q-submit-form textarea,.q-submit-form select{width:100%;border:1px solid var(--line);background:#fff;border-radius:12px;padding:11px 12px;box-sizing:border-box}
.q-contact-form .btn,.q-submit-form .btn{justify-self:start}
.q-contact-bottom{max-width:780px}
.q-editable-page-section{display:grid;grid-template-columns:1fr 1fr;gap:28px;align-items:center}.q-editable-page-section img{width:100%;border-radius:22px}
.locator-layout{display:grid;grid-template-columns:1.15fr .85fr;gap:16px}

/* Default WordPress posts use source visual language */
.q-post-layout,.q-post-single{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:28px;padding:24px 0 54px}
.q-post-sidebar>*{position:sticky;top:96px}
.q-post-single article>h1{font-size:clamp(36px,4vw,52px);line-height:1;letter-spacing:-.05em;margin:14px 0 22px}
.q-post-hero{border-radius:24px;overflow:hidden;max-height:620px;margin:20px 0}.q-post-hero img{width:100%;height:100%;object-fit:cover}
.q-related-posts{display:grid;grid-template-columns:1fr 1fr;gap:10px}.q-related-post{display:grid;grid-template-columns:90px 1fr;gap:11px;align-items:center;border:1px solid var(--line);border-radius:14px;padding:9px;text-decoration:none;background:#fff}.q-related-post img,.q-related-post>.q-initial-thumb{width:90px;height:70px;min-height:70px;object-fit:cover;border-radius:9px}.q-related-post b{font-size:11px}.q-related-post span{display:block;font-size:9px;color:var(--muted);margin-top:5px}

/* Footer mobile = 2 columns as requested */
.q-footer-desc{font-size:12px;line-height:1.7;color:#b9c0c7;max-width:300px}
.q-mobile-bottom{display:none}
.q-floating-chat{position:fixed;right:18px;bottom:22px;z-index:130;background:#171717;color:#fff;text-decoration:none;padding:11px 15px;border-radius:999px;box-shadow:var(--shadow);font-size:11px;font-weight:600}

@media(max-width:1050px){
  .catalog-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important}
  .detail-sections{grid-template-columns:minmax(0,1fr) 280px}
}
@media(max-width:860px){
  .catalog-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important}
  .detail-hero,.detail-sections,.q-post-layout,.q-post-single,.q-editable-page-section,.locator-layout{grid-template-columns:1fr}
  .q-sticky-contact,.q-post-sidebar>*{position:static}
  .detail-image{min-height:420px}
  .q-gallery{grid-template-columns:repeat(2,1fr)}
  .footer-grid{grid-template-columns:repeat(2,1fr)!important;gap:28px 18px!important}.footer-grid>div:first-child{grid-column:1/-1}
  .q-mobile-bottom{position:fixed;left:0;right:0;bottom:0;z-index:120;display:grid;grid-template-columns:repeat(4,1fr);background:#fff;border-top:1px solid var(--line);padding:7px 8px calc(7px + env(safe-area-inset-bottom))}.q-mobile-bottom a{display:flex;flex-direction:column;align-items:center;gap:2px;text-decoration:none;font-size:16px}.q-mobile-bottom span{font-size:9px}.footer{padding-bottom:78px}.q-floating-chat{bottom:72px;right:12px}
}
@media(max-width:620px){
  .shell{padding-left:16px!important;padding-right:16px!important}
  .topbar{font-size:9px;padding:7px 8px}
  .header-inner{height:66px}
  .hero{padding:48px 0 38px}.hero h1{font-size:34px!important}.hero-copy{grid-template-columns:1fr;gap:12px}.hero-copy p{font-size:15px}.hero-actions{justify-content:flex-start}
  .page-hero h1,.catalog-hero h1,.directory-hero h1,.partner-hero h1,.article-hero-v4 h1,.collection-copy h1{font-size:32px!important}
  .section-head h2,.lux-section .section-head h2{font-size:26px!important}.section-head{gap:12px}
  .catalog-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important}
  .q-people-list-grid{grid-template-columns:1fr!important}
  .catalog-card .content{padding:12px}.catalog-card h3{font-size:15px}.catalog-card p{font-size:9.5px}.catalog-card .content>p{min-height:46px}.catalog-card .price strong{font-size:11px}
  .type-grid{grid-template-columns:repeat(2,1fr)!important}.type-card{min-height:170px;padding:16px}.type-card h3{font-size:20px}.type-card p{font-size:10px}
  .masonry{grid-template-columns:1fr!important}.story-card,.story-card.tall{min-height:400px}
  .directory-cats{grid-template-columns:1fr 1fr!important}
  .place-panorama{grid-template-columns:1fr!important}
  .q-manifesto{grid-template-columns:1fr!important}.q-manifesto .big-q{font-size:120px!important}
  .standard-grid{grid-template-columns:1fr!important}.standard-card{min-height:190px}.standard-card h3{margin-top:28px}
  .detail-image,.detail-image .q-initial-thumb{min-height:340px}.detail-info h1{font-size:32px!important}.detail-actions{flex-wrap:wrap}.spec{grid-template-columns:110px 1fr}
  .collection-hero{min-height:430px}.collection-copy{left:22px;right:22px;bottom:24px}
  .q-related-posts{grid-template-columns:1fr 1fr}.q-related-post{grid-template-columns:1fr}.q-related-post img,.q-related-post>.q-initial-thumb{width:100%;height:95px}
  .footer-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}.footer-grid>div:first-child{grid-column:1/-1}.footer h4{font-size:9px}.footer a{font-size:10px}
}
.q-dash-logo-img{display:block;max-width:72px;max-height:42px;width:auto;height:auto;object-fit:contain}

/* v1.0.3 — full-width desktop header + compact search + explicit submenu '+' buttons */
.q-header .shell.header-inner{
  max-width:none!important;
  width:100%!important;
  box-sizing:border-box;
  padding-left:24px!important;
  padding-right:24px!important;
  gap:14px!important;
}
.q-header .q-site-logo{margin-right:2px}
.q-source-nav{
  flex:1 1 auto!important;
  gap:14px!important;
  min-width:0;
  justify-content:flex-start;
}
.q-source-nav>a,.q-source-nav .nav-item>a{font-size:12px!important;white-space:nowrap}
.q-source-nav .nav-item{gap:3px}
.q-source-nav .nav-item>a:after{content:none!important}
.q-submenu-toggle{
  width:22px;height:22px;flex:0 0 22px;padding:0;
  display:inline-flex;align-items:center;justify-content:center;
  border:1px solid #d9d3c9;border-radius:50%;background:#fff;color:var(--navy);
  font:600 15px/1 Inter,Arial,sans-serif;cursor:pointer;transition:.18s ease;
}
.q-submenu-toggle:hover,.q-submenu-toggle[aria-expanded="true"]{background:var(--navy);border-color:var(--navy);color:#fff}
.q-submenu-toggle[aria-expanded="true"]{transform:rotate(45deg)}
.q-source-nav .nav-item:hover>.mega-menu,.q-source-nav .nav-item:focus-within>.mega-menu{display:none}
.q-source-nav .nav-item.is-open>.mega-menu{display:block!important}
.q-source-nav .mega-menu{top:68px!important}
.q-source-nav .nav-item:first-child .mega-menu{left:0!important}
.q-source-nav .q-mega-places{left:-160px!important}
.header-search{
  flex:0 0 205px!important;
  width:205px!important;
  min-width:205px!important;
  max-width:205px!important;
  padding:5px 6px 5px 12px!important;
}
.header-search input{font-size:10.5px!important;text-overflow:ellipsis;white-space:nowrap;overflow:hidden}
.header-search button{width:29px!important;height:29px!important;flex:0 0 29px}
.header-partner-link{
  flex:0 0 auto;display:inline-flex;align-items:center;justify-content:center;height:38px;
  padding:0 13px;border:1px solid #d9d3c9;border-radius:999px;background:#fff;color:var(--navy);
  text-decoration:none;font-size:10px;font-weight:600;white-space:nowrap;
}
.header-partner-link:hover{border-color:var(--navy)}
@media(max-width:1139px){
  .q-source-nav{display:none!important}
  .mobile-menu-btn{display:inline-flex!important}
  .header-search{margin-left:auto!important;flex-basis:230px!important;width:230px!important;min-width:230px!important;max-width:230px!important}
}
@media(min-width:1140px){.mobile-menu-btn{display:none!important}}
@media(max-width:720px){
  .q-header .shell.header-inner{padding-left:12px!important;padding-right:12px!important;gap:8px!important}
  .q-custom-logo{max-width:88px!important;max-height:34px!important}
  .header-partner-link{display:none!important}
  .header-search{display:flex!important;margin-left:auto!important;flex:1 1 auto!important;width:auto!important;min-width:0!important;max-width:170px!important;padding-left:9px!important}
  .header-search input{font-size:9.5px!important}
  .header-search button{width:28px!important;height:28px!important;flex-basis:28px!important}
}

/* v1.0.3 — important services in a narrow sidebar are compact rows, never a 4-column catalog */
.q-important-services{padding:14px!important;overflow:hidden}
.q-important-services>h3{margin:0 0 9px!important;font-size:14px!important;line-height:1.25!important}
.q-important-list{display:grid;grid-template-columns:1fr;gap:7px;min-width:0}
.q-important-service{
  display:grid;grid-template-columns:68px minmax(0,1fr) 18px;align-items:center;gap:9px;
  min-width:0;padding:7px;border:1px solid var(--line);border-radius:12px;background:#fff;
  color:inherit;text-decoration:none;transition:.18s ease;
}
.q-important-service:hover{border-color:#b9ae9e;box-shadow:0 8px 22px rgba(20,20,20,.07);transform:translateY(-1px)}
.q-important-thumb{display:block;width:68px;height:58px;border-radius:9px;overflow:hidden;background:#ece7de}
.q-important-thumb img{display:block;width:100%;height:100%;object-fit:cover}
.q-important-initial{display:flex;width:100%;height:100%;align-items:center;justify-content:center;font-size:20px;font-weight:600;color:#857967}
.q-important-copy{display:block;min-width:0}
.q-important-copy small{display:block;margin-bottom:3px;font-size:7.5px;letter-spacing:.09em;color:#9a8258;font-style:normal;font-weight:600;text-transform:uppercase;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.q-important-copy b{display:-webkit-box;overflow:hidden;-webkit-box-orient:vertical;-webkit-line-clamp:2;font-size:10.5px;line-height:1.32;font-weight:600}
.q-important-copy em{display:block;margin-top:4px;font-size:8.5px;line-height:1.2;color:#6f665b;font-style:normal;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.q-important-arrow{font-size:13px;justify-self:end}


/* v1.0.4 — header order: logo -> search -> menu; nav is right aligned */
@media(min-width:1140px){
  .q-header .shell.header-inner{
    display:flex!important;
    align-items:center!important;
    flex-wrap:nowrap!important;
    gap:12px!important;
  }
  .q-header .q-site-logo{
    order:1;
    flex:0 0 auto!important;
    margin:0!important;
  }
  .q-header .header-search{
    order:2;
    flex:0 0 188px!important;
    width:188px!important;
    min-width:188px!important;
    max-width:188px!important;
    margin:0 0 0 4px!important;
  }
  .q-header .q-source-nav{
    order:3;
    flex:0 1 auto!important;
    width:auto!important;
    min-width:0!important;
    margin-left:auto!important;
    justify-content:flex-end!important;
    gap:12px!important;
  }
  .q-header .q-source-nav>a,
  .q-header .q-source-nav .nav-item>a{
    font-size:11.5px!important;
  }
  .q-header .header-partner-link{
    order:4;
    flex:0 0 auto!important;
    margin-left:2px!important;
  }
  .q-header .mobile-menu-btn{order:5}
}
@media(min-width:1140px) and (max-width:1279px){
  .q-header .shell.header-inner{gap:9px!important;padding-left:16px!important;padding-right:16px!important}
  .q-header .header-search{flex-basis:156px!important;width:156px!important;min-width:156px!important;max-width:156px!important}
  .q-header .q-source-nav{gap:8px!important}
  .q-header .q-source-nav>a,.q-header .q-source-nav .nav-item>a{font-size:10.5px!important}
  .q-header .header-partner-link{padding-left:10px!important;padding-right:10px!important}
}


/* v1.0.5 — desktop header: logo -> search -> right-aligned menu cluster; hover opens level 2 */
@media(min-width:1280px){
  .q-header .shell.header-inner{
    display:flex!important;align-items:center!important;flex-wrap:nowrap!important;
    max-width:none!important;width:100%!important;padding-left:24px!important;padding-right:14px!important;gap:12px!important;
  }
  .q-header .q-site-logo{order:1;flex:0 0 auto!important;margin:0!important}
  .q-header .header-search{
    order:2;flex:0 0 166px!important;width:166px!important;min-width:166px!important;max-width:166px!important;
    margin-left:6px!important;margin-right:0!important;
  }
  .q-header .header-right{
    order:3;display:flex!important;align-items:center!important;justify-content:flex-end!important;
    flex:0 0 auto!important;margin-left:auto!important;gap:12px!important;min-width:0;
  }
  .q-header .q-source-nav{
    display:flex!important;flex:0 0 auto!important;width:auto!important;min-width:0!important;
    margin:0!important;justify-content:flex-end!important;gap:11px!important;
  }
  .q-header .q-source-nav>a,.q-header .q-source-nav .nav-item>a{font-size:11px!important}
  .q-header .header-partner-link{flex:0 0 auto!important;margin:0!important}
  .q-header .mobile-menu-btn{display:none!important}
  .q-source-nav .nav-item:hover>.mega-menu,
  .q-source-nav .nav-item:focus-within>.mega-menu,
  .q-source-nav .nav-item.is-open>.mega-menu{display:block!important}
  .q-source-nav .q-nav-industries>.mega-menu{left:-420px!important}
  .q-source-nav .q-nav-places>.mega-menu{left:-500px!important}
}
@media(min-width:1280px) and (max-width:1450px){
  .q-header .shell.header-inner{padding-left:16px!important;padding-right:10px!important;gap:8px!important}
  .q-header .header-search{flex-basis:132px!important;width:132px!important;min-width:132px!important;max-width:132px!important;margin-left:2px!important}
  .q-header .header-search input{font-size:9px!important}
  .q-header .header-right{gap:8px!important}
  .q-header .q-source-nav{gap:6px!important}
  .q-header .q-source-nav>a,.q-header .q-source-nav .nav-item>a{font-size:9.7px!important}
  .q-submenu-toggle{width:19px!important;height:19px!important;flex-basis:19px!important;font-size:13px!important}
  .q-header .header-partner-link{padding-left:8px!important;padding-right:8px!important;font-size:9.5px!important}
  .q-source-nav .q-nav-industries>.mega-menu{left:-350px!important;width:min(980px,calc(100vw - 32px))!important}
  .q-source-nav .q-nav-places>.mega-menu{left:-420px!important;width:min(980px,calc(100vw - 32px))!important}
}
@media(max-width:1279px){
  .q-header .header-right{display:none!important}
  .q-header .mobile-menu-btn{display:inline-flex!important}
  .q-header .header-search{margin-left:auto!important;flex-basis:230px!important;width:230px!important;min-width:230px!important;max-width:230px!important}
}
@media(max-width:720px){
  .q-header .header-search{display:flex!important;flex:1 1 auto!important;width:auto!important;min-width:0!important;max-width:170px!important}
}

/* Contact page uses editable Page Design + global contact settings. */
.q-contact-page{padding-bottom:72px}
.q-contact-hero.has-image{display:grid;grid-template-columns:minmax(0,1fr) minmax(320px,.72fr);gap:34px;align-items:center}
.q-contact-hero-media{border-radius:22px;overflow:hidden;min-height:300px;background:#eee8dd}
.q-contact-hero-media img{display:block;width:100%;height:100%;min-height:300px;object-fit:cover}
.q-contact-page-grid{display:grid;grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr);gap:20px;align-items:start}
.q-contact-page-grid .q-contact-card{height:100%}
.q-page-editable-section{display:grid;grid-template-columns:minmax(0,1fr) minmax(280px,.72fr);gap:28px;align-items:center}
.q-page-editable-section>img{width:100%;border-radius:18px;display:block}
@media(max-width:760px){.q-contact-hero.has-image,.q-contact-page-grid,.q-page-editable-section{grid-template-columns:1fr}.q-contact-hero-media{min-height:220px}.q-contact-hero-media img{min-height:220px}}
