/*
 * Dendrila Editorial — composition inspirée de la grammaire de presse de l’advarP.
 * Typographie, colonnes, filets et lecture longue ; aucun logo, nom, texte ni
 * identité colorimétrique de l’advarP n'est incorporé.
 */
[data-dendrila-theme="editorial"]{
 --dendrila-color-bg:#f4f2ec;--dendrila-color-surface:#fffcf5;
 --dendrila-color-text:#1d2627;--dendrila-color-muted:#565b59;
 --dendrila-color-primary:#385c65;--dendrila-color-primary-strong:#203e46;
 --dendrila-color-secondary:#805243;--dendrila-color-accent-soft:#e9ebe6;
 --dendrila-color-border:#aeb6b3;
 --dendrila-font-heading:Georgia,"Times New Roman",serif;
 --dendrila-font-body:Georgia,"Times New Roman",serif;
 margin:0;background:var(--dendrila-color-bg);color:var(--dendrila-color-text);
 font:1.075rem/1.7 var(--dendrila-font-body);overflow-wrap:break-word;
}
[data-dendrila-theme="editorial"] *,[data-dendrila-theme="editorial"] *::before,[data-dendrila-theme="editorial"] *::after{box-sizing:border-box}
[data-dendrila-theme="editorial"] img{max-width:100%;height:auto}
[data-dendrila-theme="editorial"] a{color:var(--dendrila-color-primary-strong);text-underline-offset:.17em}
[data-dendrila-theme="editorial"] :focus-visible{outline:3px solid var(--dendrila-color-primary);outline-offset:4px}
[data-dendrila-theme="editorial"] .d-shell{width:min(calc(100% - 2.4rem),var(--dendrila-content-max,76rem));margin-inline:auto}
[data-dendrila-theme="editorial"] .d-prose{max-width:var(--dendrila-text-max,44rem)}
[data-dendrila-theme="editorial"] .d-skip-link{position:absolute;top:-20rem;left:1rem;z-index:20;padding:.65rem 1rem;background:var(--dendrila-color-text);color:var(--dendrila-color-surface)}
[data-dendrila-theme="editorial"] .d-skip-link:focus{top:.5rem}
[data-dendrila-theme="editorial"] .d-header{background:var(--dendrila-color-surface);border-bottom:1px solid var(--dendrila-color-border)}
[data-dendrila-theme="editorial"] .d-header__inner{display:flex;align-items:center;justify-content:space-between;gap:1.5rem;min-height:4.5rem}
[data-dendrila-theme="editorial"] .d-brand{font:700 clamp(1.25rem,2.4vw,1.75rem)/1.1 var(--dendrila-font-heading);letter-spacing:-.03em;text-decoration:none;color:var(--dendrila-color-text)}
[data-dendrila-theme="editorial"] .d-nav{display:flex;gap:clamp(.7rem,2vw,1.8rem);flex-wrap:wrap}
[data-dendrila-theme="editorial"] .d-nav a{font:.78rem/1.35 system-ui,sans-serif;letter-spacing:.06em;text-transform:uppercase;font-weight:700;text-decoration:none;border-bottom:2px solid transparent;padding:.4rem 0}
[data-dendrila-theme="editorial"] .d-nav a:hover,[data-dendrila-theme="editorial"] .d-nav a[aria-current="page"]{border-bottom-color:var(--dendrila-color-primary)}
[data-dendrila-theme="editorial"] .d-hero{margin-block:2.25rem 1.75rem}
[data-dendrila-theme="editorial"] .d-hero__grid{border-top:5px double var(--dendrila-color-text);border-bottom:1px solid var(--dendrila-color-border);padding-block:1.3rem 2rem;display:grid;grid-template-columns:minmax(0,1.7fr) minmax(14rem,.75fr);gap:clamp(1.2rem,3vw,3rem);align-items:start}
[data-dendrila-theme="editorial"] .d-hero__copy{min-width:0}
[data-dendrila-theme="editorial"] .d-eyebrow{margin:0 0 .6rem;color:var(--dendrila-color-primary);font:800 .73rem/1.4 system-ui,sans-serif;text-transform:uppercase;letter-spacing:.1em}
[data-dendrila-theme="editorial"] .d-title{font:700 clamp(2.7rem,5.3vw,5.4rem)/1.02 var(--dendrila-font-heading);letter-spacing:-.045em;max-width:19ch;text-wrap:balance;margin:.1em 0 .35em}
[data-dendrila-theme="editorial"] .d-lead{font-size:clamp(1.15rem,1.75vw,1.38rem);line-height:1.53;max-width:48ch;color:var(--dendrila-color-muted);margin:0}
[data-dendrila-theme="editorial"] .d-actions{margin-top:1.55rem}
[data-dendrila-theme="editorial"] .d-button{display:inline-flex;align-items:center;justify-content:center;min-height:2.8rem;border:1px solid var(--dendrila-color-primary-strong);background:var(--dendrila-color-primary-strong);color:var(--dendrila-color-surface);font:700 .83rem/1.25 system-ui,sans-serif;text-decoration:none;padding:.8rem 1.15rem}
[data-dendrila-theme="editorial"] .d-button:hover{background:var(--dendrila-color-surface);color:var(--dendrila-color-primary-strong)}
[data-dendrila-theme="editorial"] .d-hero__media{max-width:100%;min-width:0;align-self:start}
[data-dendrila-theme="editorial"] .d-media{overflow:hidden;margin:0}
[data-dendrila-theme="editorial"] .d-media__image{display:block;width:100%;height:auto;aspect-ratio:4/3;object-fit:cover;object-position:var(--d-media-x,50%) var(--d-media-y,50%);border-radius:var(--d-media-radius,0)}
[data-dendrila-theme="editorial"] [data-media-shape="circle"] .d-media__image{border-radius:50%;aspect-ratio:1}
[data-dendrila-theme="editorial"] [data-media-shape="arch"] .d-media__image{border-radius:50% 50% 0 0/28% 28% 0 0}
[data-dendrila-theme="editorial"] [data-media-shape="rounded"] .d-media__image,[data-dendrila-theme="editorial"] [data-media-shape="organic-soft"] .d-media__image{border-radius:var(--dendrila-radius,.35rem)}
[data-dendrila-theme="editorial"] .d-section{padding-block:clamp(1.5rem,3vw,3rem);border-bottom:1px solid var(--dendrila-color-border)}
[data-dendrila-theme="editorial"] .d-section--soft{background:var(--dendrila-color-accent-soft)}
[data-dendrila-theme="editorial"] .d-section__heading{border-top:4px solid var(--dendrila-color-text);padding-top:.7rem;margin-bottom:1.4rem}
[data-dendrila-theme="editorial"] .d-heading{font:700 clamp(1.7rem,3vw,2.9rem)/1.13 var(--dendrila-font-heading);letter-spacing:-.025em;margin:.15rem 0 0}
[data-dendrila-theme="editorial"] .d-section--block-text .d-shell,.d-section--block-rich_text .d-shell{max-width:var(--dendrila-text-max,44rem)}
[data-dendrila-theme="editorial"] .d-prose p{margin:.4rem 0 1.35rem;line-height:1.78}
[data-dendrila-theme="editorial"] .d-card-grid{display:grid;grid-template-columns:minmax(0,1.7fr) repeat(2,minmax(0,1fr));gap:0;border-top:4px solid var(--dendrila-color-text);border-bottom:3px double var(--dendrila-color-text)}
[data-dendrila-theme="editorial"] .d-card{min-width:0;padding:1.1rem 1.3rem;border-right:1px solid var(--dendrila-color-border);border-bottom:1px solid var(--dendrila-color-border);background:transparent}
[data-dendrila-theme="editorial"] .d-card:first-child{padding-left:0}
[data-dendrila-theme="editorial"] .d-card:last-child{border-right:0}
[data-dendrila-theme="editorial"] .d-card__title{font:700 clamp(1.4rem,2.2vw,2rem)/1.2 var(--dendrila-font-heading);margin:.25rem 0}
[data-dendrila-theme="editorial"] .d-card p{font-size:.99rem;line-height:1.6;color:var(--dendrila-color-muted)}
[data-dendrila-theme="editorial"] .d-card__media img{width:100%;aspect-ratio:16/9;object-fit:cover}
[data-dendrila-theme="editorial"] .d-gallery{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.85rem}
[data-dendrila-theme="editorial"] .d-gallery__item{margin:0;min-width:0}
[data-dendrila-theme="editorial"][data-dendrila-gallery="editorial"] .d-gallery__item:first-child{grid-column:span 2;grid-row:span 2}
[data-dendrila-theme="editorial"][data-dendrila-gallery="filmstrip"] .d-gallery{display:flex;overflow-x:auto;scroll-snap-type:x proximity}
[data-dendrila-theme="editorial"][data-dendrila-gallery="filmstrip"] .d-gallery__item{flex:0 0 min(72vw,30rem);scroll-snap-align:start}
[data-dendrila-theme="editorial"] .d-caption{font-size:.8rem;color:var(--dendrila-color-muted);margin-top:.35rem}
[data-dendrila-theme="editorial"] .d-stats,.dendrila-editorial .d-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));border-top:4px solid var(--dendrila-color-text)}
[data-dendrila-theme="editorial"] .d-stat{padding:1rem;border-right:1px solid var(--dendrila-color-border)}
[data-dendrila-theme="editorial"] .d-stat__value{display:block;font:700 2.8rem/1.1 var(--dendrila-font-heading)}
[data-dendrila-theme="editorial"] .d-key-values__item{display:flex;justify-content:space-between;gap:1rem;padding:.9rem 0;border-bottom:1px solid var(--dendrila-color-border)}
[data-dendrila-theme="editorial"] .d-faq{border-top:4px solid var(--dendrila-color-text)}
[data-dendrila-theme="editorial"] .d-faq details{padding:1rem 0;border-bottom:1px solid var(--dendrila-color-border)}
[data-dendrila-theme="editorial"] .d-faq summary{cursor:pointer;font-weight:700}
[data-dendrila-theme="editorial"] .d-embed{border:1px solid var(--dendrila-color-border);padding:1rem}
[data-dendrila-theme="editorial"] .d-cta-band{margin-top:1rem;background:var(--dendrila-color-primary-strong);color:var(--dendrila-color-surface)}
[data-dendrila-theme="editorial"] .d-cta-band__inner{padding-block:1.7rem}
[data-dendrila-theme="editorial"] .d-cta-band .d-button{border-color:var(--dendrila-color-surface);background:transparent;color:var(--dendrila-color-surface)}
[data-dendrila-theme="editorial"] .d-cta-band a{color:var(--dendrila-color-surface)}
[data-dendrila-theme="editorial"] .d-footer{background:var(--dendrila-color-text);color:var(--dendrila-color-surface);padding-block:1.5rem}
[data-dendrila-theme="editorial"] .d-footer__grid{display:flex;justify-content:space-between;flex-wrap:wrap;gap:1.2rem}
[data-dendrila-theme="editorial"] .d-footer a{color:inherit}
@media(max-width:55rem){
 [data-dendrila-theme="editorial"] .d-hero__grid{grid-template-columns:minmax(0,1fr) minmax(12rem,.65fr)}
 [data-dendrila-theme="editorial"] .d-card-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
 [data-dendrila-theme="editorial"] .d-card:first-child{grid-column:1/-1;border-right:0;padding-left:1.3rem}
 [data-dendrila-theme="editorial"] .d-gallery{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:38rem){
 [data-dendrila-theme="editorial"] .d-shell{width:min(calc(100% - 1.25rem),var(--dendrila-content-max,76rem))}
 [data-dendrila-theme="editorial"] .d-header__inner{padding-block:.8rem;align-items:flex-start;flex-direction:column;gap:.65rem}
 [data-dendrila-theme="editorial"] .d-nav{gap:1rem;max-width:100%;overflow-x:auto;flex-wrap:nowrap}
 [data-dendrila-theme="editorial"] .d-nav a{white-space:nowrap}
 [data-dendrila-theme="editorial"] .d-hero__grid{grid-template-columns:1fr}
 [data-dendrila-theme="editorial"] .d-hero__media{max-width:100%}
 [data-dendrila-theme="editorial"] .d-title{font-size:clamp(2.15rem,9.5vw,3.3rem)}
 [data-dendrila-theme="editorial"] .d-card-grid{display:block;border-bottom:0}
 [data-dendrila-theme="editorial"] .d-card,[data-dendrila-theme="editorial"] .d-card:first-child{padding:1rem 0;border-right:0;border-bottom:1px solid var(--dendrila-color-border)}
 [data-dendrila-theme="editorial"] .d-card p{margin-bottom:.3rem}
 [data-dendrila-theme="editorial"] .d-gallery{grid-template-columns:1fr 1fr;gap:.5rem}
 [data-dendrila-theme="editorial"] .d-stats{grid-template-columns:1fr 1fr}
 [data-dendrila-theme="editorial"] .d-key-values__item{display:block}
}
@media(prefers-reduced-motion:reduce){
 [data-dendrila-theme="editorial"] *,[data-dendrila-theme="editorial"] *::before,[data-dendrila-theme="editorial"] *::after{scroll-behavior:auto!important;animation:none!important;transition:none!important}
}


/* Institutional brochure: quiet masthead, narrow cover image and ruled expertise list. */
[data-dendrila-theme="editorial"] .d-header{border-top:6px solid var(--dendrila-color-primary-strong)}
[data-dendrila-theme="editorial"] .d-brand{font-size:1.3rem;max-width:21ch;display:flex;align-items:center;gap:.7rem}
[data-dendrila-theme="editorial"] .d-brand__mark{font-size:2rem}
[data-dendrila-theme="editorial"] .d-hero__grid{grid-template-columns:minmax(0,1.4fr) minmax(0,.6fr);border-top:0;align-items:center;padding-block:2.5rem;gap:4rem}
[data-dendrila-theme="editorial"] .d-title{font-size:clamp(2.5rem,4.5vw,4.8rem);max-width:19ch;line-height:1.08;font-weight:400;letter-spacing:-.035em}
[data-dendrila-theme="editorial"] .d-hero__media .d-media__image{aspect-ratio:3/4;object-fit:cover}
[data-dendrila-theme="editorial"] .d-section--block-text>.d-shell{max-width:var(--dendrila-content-max,68rem);font-size:1.3rem;line-height:1.7}
[data-dendrila-theme="editorial"] .d-key-values{margin:0;border-top:1px solid var(--dendrila-color-text)}
[data-dendrila-theme="editorial"] .d-key-values__item{display:grid;grid-template-columns:1fr 2fr;padding:1.5rem 0}
[data-dendrila-theme="editorial"] .d-key-values dt{font-size:1.5rem}
[data-dendrila-theme="editorial"] .d-key-values dd{margin:0;font-family:system-ui,sans-serif;font-size:1rem}
[data-dendrila-theme="editorial"] .d-stats{border-top:1px solid var(--dendrila-color-border)}
[data-dendrila-theme="editorial"] .d-stat{padding:1.5rem 0;border:0}
@media(max-width:52rem){[data-dendrila-theme="editorial"] .d-hero__grid{grid-template-columns:1fr;gap:2rem}[data-dendrila-theme="editorial"] .d-hero__media{max-width:24rem}[data-dendrila-theme="editorial"] .d-key-values__item{grid-template-columns:1fr;gap:.6rem}}


/* V2 — genuine broadsheet: no corporate brochure treatment. */
[data-dendrila-theme="editorial"] .d-header{border-top:0;border-bottom:4px double var(--dendrila-color-text)}
[data-dendrila-theme="editorial"] .d-header__inner{flex-direction:column;justify-content:center;align-items:center;gap:.45rem;padding:1.3rem 0 .6rem}
[data-dendrila-theme="editorial"] .d-brand{font:700 clamp(1.8rem,4vw,3.2rem)/1 Georgia,serif;letter-spacing:-.055em;max-width:none}
[data-dendrila-theme="editorial"] .d-nav{border-top:1px solid var(--dendrila-color-border);width:100%;justify-content:center;padding-top:.5rem}
[data-dendrila-theme="editorial"] .d-hero__grid{display:grid;grid-template-columns:1fr;border-top:0;gap:0;padding-block:3rem 1.75rem;min-height:0}
[data-dendrila-theme="editorial"] .d-title{max-width:19ch;font:700 clamp(2.7rem,7.4vw,7.3rem)/.99 Georgia,serif;letter-spacing:-.07em}
[data-dendrila-theme="editorial"] .d-hero__copy{max-width:80rem}
[data-dendrila-theme="editorial"] .d-hero__copy .d-lead{max-width:52rem;font-size:clamp(1.13rem,2.2vw,1.55rem)}
[data-dendrila-theme="editorial"] .d-section--block-cards .d-card-grid{grid-template-columns:minmax(0,1.6fr) repeat(2,minmax(0,1fr));border-top:5px solid var(--dendrila-color-text);gap:0}
[data-dendrila-theme="editorial"] .d-section--block-cards .d-card{background:transparent!important;border-radius:0;min-height:0;padding:1.7rem 1.4rem;box-shadow:none}
[data-dendrila-theme="editorial"] .d-section--block-cards .d-card:first-child{grid-row:span 2;border-right:2px solid var(--dendrila-color-text);padding-left:0}
[data-dendrila-theme="editorial"] .d-section--block-cards .d-card:first-child .d-card__title{font-size:clamp(1.9rem,3vw,3.2rem)}
[data-dendrila-theme="editorial"] .d-section--block-cards .d-card p{max-width:36ch}
[data-dendrila-theme="editorial"] .d-section--block-text>.d-shell{max-width:var(--dendrila-text-max,44rem);margin-left:clamp(1rem,18vw,20rem);font-size:1.15rem;line-height:1.75}
[data-dendrila-theme="editorial"] .d-section--block-steps .d-steps{display:grid;grid-template-columns:repeat(2,1fr);gap:2rem}
[data-dendrila-theme="editorial"] .d-section--block-steps .d-step{border-top:3px solid var(--dendrila-color-text)}
[data-dendrila-theme="editorial"] .d-section--block-pricing .d-pricing__card{border-radius:0}
@media(max-width:48rem){
 [data-dendrila-theme="editorial"] .d-section--block-cards .d-card-grid{grid-template-columns:1fr 1fr}
 [data-dendrila-theme="editorial"] .d-section--block-cards .d-card:first-child{grid-row:auto;grid-column:1/-1;border-right:0;border-bottom:2px solid var(--dendrila-color-text)}
 [data-dendrila-theme="editorial"] .d-section--block-text>.d-shell{margin-inline:auto}
}
@media(max-width:36rem){
 [data-dendrila-theme="editorial"] .d-title{font-size:clamp(2.3rem,11vw,4rem)}
 [data-dendrila-theme="editorial"] .d-section--block-cards .d-card-grid,[data-dendrila-theme="editorial"] .d-section--block-steps .d-steps{grid-template-columns:1fr}
 [data-dendrila-theme="editorial"] .d-section--block-cards .d-card:first-child{grid-column:auto}
}


/* All links: no underline; preserve visible keyboard focus and hover contrast. */
body[data-dendrila-theme="editorial"] a,
body[data-dendrila-theme="editorial"] a:hover,
body[data-dendrila-theme="editorial"] a:focus,
body[data-dendrila-theme="editorial"] a:active {
    text-decoration: none !important;
    text-decoration-line: none !important;
}
body[data-dendrila-theme="editorial"] .d-nav a {
    border-bottom: 0 !important;
}
body[data-dendrila-theme="editorial"] .d-nav a::after {
    display: none !important;
}
body[data-dendrila-theme="editorial"] a:focus-visible {
    outline: 3px solid currentColor;
    outline-offset: 4px;
}


/* V3 responsive contract (shared, independently bundled with every kit).
   Native details/summary menu works with no JS and no overlapping link rows. */
.d-mobile-menu{display:none}
@media(max-width:64rem){
 body[data-dendrila-theme] .d-header{z-index:90}
 body[data-dendrila-theme] .d-header__inner{
  position:relative;display:flex!important;flex-direction:row!important;
  flex-wrap:nowrap!important;justify-content:space-between!important;
  align-items:center!important;gap:.75rem!important;min-height:4.2rem!important;
  padding-block:.55rem!important
 }
 body[data-dendrila-theme] .d-brand{
  display:inline-flex!important;align-items:center;flex:0 1 auto;min-width:0;
  max-width:calc(100% - 7rem);margin:0!important
 }
 body[data-dendrila-theme] .d-brand span{overflow-wrap:anywhere}
 body[data-dendrila-theme] .d-header__inner>.d-nav{display:none!important}
 body[data-dendrila-theme] .d-mobile-menu{display:block;flex:0 0 auto;margin:0}
 body[data-dendrila-theme] .d-mobile-menu summary{
  list-style:none;cursor:pointer;display:flex;align-items:center;justify-content:center;
  gap:.65rem;min-width:5.75rem;min-height:2.75rem;padding:.45rem .7rem;
  font:700 .9rem/1.2 system-ui,sans-serif;letter-spacing:.015em;
  background:var(--dendrila-color-surface,#fff);
  color:var(--dendrila-color-text,#202020);
  border:2px solid currentColor;border-radius:var(--dendrila-radius,.35rem);
  touch-action:manipulation
 }
 body[data-dendrila-theme] .d-mobile-menu summary::-webkit-details-marker{display:none}
 body[data-dendrila-theme] .d-mobile-menu summary::marker{content:""}
 body[data-dendrila-theme] .d-mobile-menu__icon{display:grid;gap:3px;width:19px;flex:none}
 body[data-dendrila-theme] .d-mobile-menu__icon i{
  display:block;width:100%;height:2px;background:currentColor;border-radius:2px
 }
 body[data-dendrila-theme] .d-mobile-menu[open] .d-mobile-menu__icon i:nth-child(2){opacity:0}
 body[data-dendrila-theme] .d-mobile-menu__panel{
  position:absolute;top:calc(100% - 1px);right:0;z-index:95;
  width:min(27rem,calc(100vw - 2rem));max-height:min(70dvh,31rem);
  overflow-y:auto;overscroll-behavior:contain;box-sizing:border-box;
  padding:.65rem;background:var(--dendrila-color-bg,#fff);
  color:var(--dendrila-color-text,#202020);
  border:2px solid var(--dendrila-color-text,#202020);
  box-shadow:0 1rem 1.8rem rgba(0,0,0,.13)
 }
 body[data-dendrila-theme] .d-mobile-menu__panel .d-nav{
  display:flex!important;flex-direction:column!important;align-items:stretch!important;
  flex-wrap:nowrap!important;gap:0!important;overflow:visible!important;
  width:100%!important;padding:0!important;border:0!important;
  margin:0!important;transform:none!important
 }
 body[data-dendrila-theme] .d-mobile-menu__panel .d-nav a{
  display:flex!important;align-items:center!important;justify-content:flex-start!important;
  width:100%!important;box-sizing:border-box!important;min-width:0!important;
  min-height:2.8rem!important;white-space:normal!important;overflow-wrap:anywhere;
  padding:.7rem .9rem!important;margin:0!important;transform:none!important;
  border-radius:0!important;border:0!important;text-decoration:none!important;
  background:transparent!important;color:inherit!important;
  font:700 1rem/1.35 system-ui,sans-serif!important;
  letter-spacing:normal!important;text-transform:none!important
 }
 body[data-dendrila-theme] .d-mobile-menu__panel .d-nav a+a{
  border-top:1px solid var(--dendrila-color-border,#ddd)!important
 }
 body[data-dendrila-theme] .d-mobile-menu__panel .d-nav a:hover,
 body[data-dendrila-theme] .d-mobile-menu__panel .d-nav a:focus-visible{
  background:var(--dendrila-color-accent-soft,#eee)!important;
  color:var(--dendrila-color-text,#202020)!important
 }
 body[data-dendrila-theme] .d-mobile-menu summary:focus-visible,
 body[data-dendrila-theme] .d-mobile-menu__panel a:focus-visible{
  outline:3px solid currentColor!important;outline-offset:2px!important
 }
 body[data-dendrila-theme] .d-main-content,
 body[data-dendrila-theme] .d-hero__grid,
 body[data-dendrila-theme] .d-section>.d-shell{min-width:0}
 body[data-dendrila-theme] .d-hero__copy,
 body[data-dendrila-theme] .d-hero__media,
 body[data-dendrila-theme] .d-hero__art,
 body[data-dendrila-theme] .d-gallery__item,
 body[data-dendrila-theme] .d-card{min-width:0;max-width:100%}
 body[data-dendrila-theme] .d-card__title,
 body[data-dendrila-theme] .d-heading,
 body[data-dendrila-theme] .d-title{overflow-wrap:break-word}
 body[data-dendrila-theme] .d-pricing,
 body[data-dendrila-theme] .d-steps{min-width:0}
}
@media(max-width:42rem){
 body[data-dendrila-theme] .d-shell{width:min(calc(100% - 1.5rem),var(--dendrila-content-max,68rem))}
 body[data-dendrila-theme] .d-section{padding-block:clamp(2rem,7vw,3.25rem)}
 body[data-dendrila-theme] .d-lead{font-size:clamp(1rem,4vw,1.2rem);line-height:1.55}
 body[data-dendrila-theme] .d-footer__grid{display:grid;grid-template-columns:minmax(0,1fr);gap:1.5rem}
 body[data-dendrila-theme] .d-pricing{grid-template-columns:minmax(0,1fr)}
 body[data-dendrila-theme] .d-pricing__card{min-width:0}
 body[data-dendrila-theme] .d-steps{gap:.6rem}
 body[data-dendrila-theme] .d-step{grid-template-columns:auto minmax(0,1fr);gap:.7rem}
 body[data-dendrila-theme] .d-step__number{width:2.15rem;height:2.15rem;font-size:.9rem}
 body[data-dendrila-theme] .d-mobile-menu__panel{right:0;width:min(24rem,calc(100vw - 1.5rem))}
}
@media(max-width:23rem){
 body[data-dendrila-theme] .d-brand{font-size:1rem;max-width:calc(100% - 5.5rem)}
 body[data-dendrila-theme] .d-mobile-menu__label{font-size:.82rem}
 body[data-dendrila-theme] .d-mobile-menu summary{min-width:4.7rem;gap:.35rem;padding:.4rem}
 body[data-dendrila-theme] .d-title{font-size:clamp(2.2rem,11vw,3.4rem)}
}
@media(prefers-reduced-motion:reduce){
 body[data-dendrila-theme] .d-mobile-menu *,
 body[data-dendrila-theme] .d-mobile-menu *::before,
 body[data-dendrila-theme] .d-mobile-menu *::after{
  animation-duration:.01ms!important;transition-duration:.01ms!important
 }
}


/* Newspaper masthead stays readable on tiny screens: one-story column below 42rem. */
@media(max-width:60rem){
 body[data-dendrila-theme="editorial"] .d-header__inner{min-height:4rem!important}
 body[data-dendrila-theme="editorial"] .d-brand{
  max-width:calc(100% - 7rem);font-size:clamp(1.25rem,3vw,2rem)
 }
 body[data-dendrila-theme="editorial"] .d-hero__grid{
  padding-block:clamp(2rem,4vw,3.5rem);min-height:0
 }
 body[data-dendrila-theme="editorial"] .d-title{
  font-size:clamp(2.8rem,8vw,5.2rem);max-width:22ch
 }
 body[data-dendrila-theme="editorial"] .d-section--block-cards .d-card-grid{
  grid-template-columns:minmax(0,1.3fr) minmax(0,1fr)
 }
 body[data-dendrila-theme="editorial"] .d-section--block-cards .d-card:first-child{
  grid-row:span 2;grid-column:auto
 }
 body[data-dendrila-theme="editorial"] .d-section--block-text>.d-shell{
  margin-inline:auto;max-width:46rem
 }
}
@media(max-width:42rem){
 body[data-dendrila-theme="editorial"] .d-header__inner{padding-block:.5rem!important}
 body[data-dendrila-theme="editorial"] .d-brand{font-size:clamp(1.1rem,5vw,1.55rem)}
 body[data-dendrila-theme="editorial"] .d-title{
  font-size:clamp(2.3rem,10vw,3.8rem);letter-spacing:-.05em
 }
 body[data-dendrila-theme="editorial"] .d-section--block-cards .d-card-grid{
  grid-template-columns:minmax(0,1fr);gap:0
 }
 body[data-dendrila-theme="editorial"] .d-section--block-cards .d-card,
 body[data-dendrila-theme="editorial"] .d-section--block-cards .d-card:first-child{
  grid-column:1;grid-row:auto;border-right:0;min-height:0;
  padding:1.3rem 0;border-bottom:1px solid var(--dendrila-color-border)
 }
 body[data-dendrila-theme="editorial"] .d-section--block-cards .d-card:first-child{
  border-bottom:3px solid var(--dendrila-color-text)
 }
 body[data-dendrila-theme="editorial"] .d-section--block-steps .d-steps{
  grid-template-columns:minmax(0,1fr)
 }
 body[data-dendrila-theme="editorial"] .d-section--block-text>.d-shell{
  max-width:100%;margin-inline:auto
 }
}


/* V4 theme-owned homepage composition: editable independent sections, not blog rows. */
body[data-dendrila-theme] .d-home-composition{
 display:grid;grid-template-columns:repeat(12,minmax(0,1fr));
 align-items:stretch;gap:clamp(.8rem,2vw,2rem);
 width:min(calc(100% - 3rem),var(--dendrila-content-max,80rem));
 margin:clamp(1.5rem,4vw,4rem) auto;
}
body[data-dendrila-theme] .d-home-tile{min-width:0;max-width:100%}
body[data-dendrila-theme] .d-home-tile>.d-section{padding:0;height:100%}
body[data-dendrila-theme] .d-home-tile>.d-section>.d-shell{width:100%;max-width:none}
body[data-dendrila-theme] .d-home-tile .d-section__heading{margin-bottom:1.15rem}
body[data-dendrila-theme] .d-home-tile .d-heading{font-size:clamp(1.18rem,2.3vw,1.95rem)}
body[data-dendrila-theme] .d-home-tile .d-gallery:empty{min-height:15rem}
@media(max-width:46rem){
 body[data-dendrila-theme] .d-home-composition{
  width:min(calc(100% - 1.5rem),var(--dendrila-content-max,80rem));
  grid-template-columns:minmax(0,1fr);gap:1.2rem
 }
 body[data-dendrila-theme] .d-home-tile{
  grid-column:1/-1!important;grid-row:auto!important
 }
 body[data-dendrila-theme] .d-home-tile>.d-section{padding:1rem 0}
}


body[data-dendrila-theme="editorial"] .d-hero__grid{
 display:grid;grid-template-columns:minmax(0,1.3fr) minmax(0,.7fr);
 align-items:center;gap:clamp(1.2rem,3vw,3rem)
}
body[data-dendrila-theme="editorial"] .d-hero__art{
 min-height:19rem;align-self:stretch;border:1px solid var(--dendrila-color-border);
 display:block
}
body[data-dendrila-theme="editorial"] .d-hero__art img{
 display:block;width:100%;height:100%;object-fit:cover;filter:grayscale(1) contrast(1.04)
}
body[data-dendrila-theme="editorial"] .d-home-composition{
 border-top:5px solid var(--dendrila-color-text);gap:clamp(1.2rem,3vw,3rem);
 padding-top:1rem
}
body[data-dendrila-theme="editorial"] .d-home-tile:first-child{grid-column:span 8}
body[data-dendrila-theme="editorial"] .d-home-tile:nth-child(2){
 grid-column:span 4;border-left:2px solid var(--dendrila-color-text);
 padding-left:clamp(1rem,2vw,1.5rem)
}
body[data-dendrila-theme="editorial"] .d-home-tile .d-heading{
 font:700 .83rem/1.4 system-ui,sans-serif;letter-spacing:.13em;text-transform:uppercase
}
body[data-dendrila-theme="editorial"] .d-home-tile .d-card-grid{
 display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0;border:0
}
body[data-dendrila-theme="editorial"] .d-home-tile .d-card:first-child{
 grid-column:1/-1;grid-row:auto;min-height:0;border:0;border-bottom:2px solid var(--dendrila-color-text)
}
body[data-dendrila-theme="editorial"] .d-home-tile .d-card{
 grid-column:auto;grid-row:auto;min-height:0;padding:1rem;border-bottom:1px solid var(--dendrila-color-border)
}
body[data-dendrila-theme="editorial"] .d-home-tile .d-key-values{
 display:grid;grid-template-columns:1fr;gap:.5rem
}
@media(max-width:60rem){
 body[data-dendrila-theme="editorial"] .d-hero__grid{grid-template-columns:1fr}
 body[data-dendrila-theme="editorial"] .d-hero__art{min-height:15rem;max-height:20rem}
 body[data-dendrila-theme="editorial"] .d-home-tile:first-child{grid-column:span 7}
 body[data-dendrila-theme="editorial"] .d-home-tile:nth-child(2){grid-column:span 5}
}
@media(max-width:46rem){
 body[data-dendrila-theme="editorial"] .d-hero__art{min-height:12rem;max-height:15rem}
 body[data-dendrila-theme="editorial"] .d-home-tile:nth-child(2){
  border-left:0;border-top:2px solid var(--dendrila-color-text);padding-left:0;padding-top:1rem
 }
 body[data-dendrila-theme="editorial"] .d-home-tile .d-card-grid{grid-template-columns:1fr}
 body[data-dendrila-theme="editorial"] .d-home-tile .d-card:first-child{grid-column:1}
}


/* V5 shared footer: horizontal three-column navigation, never a vertical list. */
body[data-dendrila-theme="editorial"] .d-footer__grid {
    display:grid!important;
    grid-template-columns:minmax(0,1fr)!important;
    gap:clamp(1.1rem,2.8vw,2rem)!important;
    align-items:start!important;
}
body[data-dendrila-theme="editorial"] .d-footer__grid > div {
    min-width:0;
}
body[data-dendrila-theme="editorial"] .d-footer__links {
    display:grid!important;
    grid-template-columns:repeat(4,minmax(0,1fr))!important;
    gap:.65rem clamp(.75rem,3.5vw,3.5rem)!important;
    align-items:start!important;
    width:100%!important;
    border:0!important;
    padding:0!important;
    margin:0!important;
}
body[data-dendrila-theme="editorial"] .d-footer__links a {
    display:block!important;
    width:auto!important;
    min-width:0!important;
    margin:0!important;
    padding:.4rem 0!important;
    overflow-wrap:anywhere;
    line-height:1.45;
    text-decoration:none!important;
    text-transform:none!important;
}
body[data-dendrila-theme="editorial"] .d-footer__links a:focus-visible {
    outline:3px solid currentColor;
    outline-offset:3px;
}
@media(max-width:25rem) {
 body[data-dendrila-theme="editorial"] .d-footer__links {
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
 }
}


/* V6 solid high-contrast native mobile navigation (no transparent burger). */
@media (max-width:64rem) {
 body[data-dendrila-theme="editorial"] .d-mobile-menu > summary,
 body[data-dendrila-theme="editorial"] .d-mobile-menu[open] > summary {
    background:#1d2627!important;
    background-color:#1d2627!important;
    color:#fffdf8!important;
    border:2px solid #1d2627!important;
    opacity:1!important;
    box-shadow:none!important;
    -webkit-text-fill-color:#fffdf8!important;
 }
 body[data-dendrila-theme="editorial"] .d-mobile-menu__icon i {
    background-color:#fffdf8!important;
    opacity:1;
 }
 body[data-dendrila-theme="editorial"] .d-mobile-menu[open] .d-mobile-menu__icon i:nth-child(2) {
    opacity:0;
 }
 body[data-dendrila-theme="editorial"] .d-mobile-menu__panel {
    background:#fffcf5!important;
    background-color:#fffcf5!important;
    color:#1d2627!important;
    border:2px solid #1d2627!important;
    opacity:1!important;
 }
 body[data-dendrila-theme="editorial"] .d-mobile-menu__panel .d-nav a {
    color:#1d2627!important;
    -webkit-text-fill-color:#1d2627!important;
    background:transparent!important;
 }
 body[data-dendrila-theme="editorial"] .d-mobile-menu__panel .d-nav a:is(:hover,:focus-visible) {
    background:#e9ebe6!important;
    background-color:#e9ebe6!important;
    color:#1d2627!important;
    -webkit-text-fill-color:#1d2627!important;
 }
 body[data-dendrila-theme="editorial"] .d-mobile-menu > summary:focus-visible,
 body[data-dendrila-theme="editorial"] .d-mobile-menu__panel a:focus-visible {
    outline:3px solid #1d2627!important;
    outline-offset:3px!important;
 }
}

/* V8 concluding CTA across all six starter homepages. */
body[data-dendrila-theme="editorial"] .d-home-composition>.d-home-tile--cta{
    grid-column:1/-1!important;
    grid-row:auto!important;
    align-self:stretch;
    min-width:0;
    width:100%;
    margin:0;
}
body[data-dendrila-theme="editorial"] .d-home-composition>.d-home-tile--cta .d-cta-band{
    display:flex;
    align-items:center;
    justify-content:center;
    min-height:clamp(8rem,14vw,12rem);
    background:#1f292b!important;
    color:#ffffff!important;
    border-radius:clamp(.55rem,2vw,1.3rem);
    isolation:isolate;
}
body[data-dendrila-theme="editorial"] .d-home-composition>.d-home-tile--cta .d-cta-band__inner{
    width:min(100% - 2rem,45rem);
    min-height:0;
    padding:clamp(1.75rem,3.8vw,3rem) 0;
    justify-content:center;
}
body[data-dendrila-theme="editorial"] .d-home-composition>.d-home-tile--cta .d-cta-band__inner a{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    min-height:48px;
    max-width:100%;
    white-space:normal;
    overflow-wrap:anywhere;
    text-align:center;
    padding:clamp(.85rem,2vw,1.1rem) clamp(1.35rem,3vw,2.2rem);
    background:#ffffff!important;
    color:#1f292b!important;
    font:700 clamp(1rem,1.5vw,1.2rem)/1.4 system-ui,sans-serif;
    border:2px solid #ffffff!important;
    border-radius:.5rem;
    text-decoration:none!important;
    box-shadow:none;
}
body[data-dendrila-theme="editorial"] .d-home-composition>.d-home-tile--cta .d-cta-band__inner a:is(:hover,:focus-visible){
    background:#ecebea!important;color:#1f292b!important;
    border-color:#ecebea!important;outline:3px solid currentColor;
    outline-offset:3px;
}
@media(max-width:46rem){
 body[data-dendrila-theme="editorial"] .d-home-composition>.d-home-tile--cta .d-cta-band{
    min-height:7rem;
 }
 body[data-dendrila-theme="editorial"] .d-home-composition>.d-home-tile--cta .d-cta-band__inner{
    width:calc(100% - 2rem);
    padding:1.5rem 0;
 }
 body[data-dendrila-theme="editorial"] .d-home-composition>.d-home-tile--cta .d-cta-band__inner a{
    width:100%;
 }
}

/* Four legal/contact links: 4 desktop / 2 tablet-phone without orphan rows. */
@media(max-width:52rem){
 body[data-dendrila-theme="editorial"] .d-footer__links{
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  gap:.75rem 1.25rem!important;
 }
}


/* V10 layering fix: menu must paint above hero and every content card. */
body[data-dendrila-theme="editorial"] .d-header {
    position:relative!important;
    z-index:5000!important;
    isolation:isolate;
    overflow:visible!important;
    transform:none!important;
    filter:none!important;
}
@media(max-width:64rem){
    body[data-dendrila-theme="editorial"] .d-header__inner{
        position:relative!important;
        z-index:1!important;
        overflow:visible!important;
        transform:none!important;
        clip-path:none!important;
        -webkit-mask:none!important;
        mask:none!important;
    }
    body[data-dendrila-theme="editorial"] .d-mobile-menu[open]{
        position:relative;
        z-index:10!important;
    }
    body[data-dendrila-theme="editorial"] .d-mobile-menu__panel{
        z-index:20!important;
        opacity:1!important;
        visibility:visible!important;
    }
}

/* V11 CTA full-width section background, not a floating button strip. */
body[data-dendrila-theme="editorial"] .d-home-composition>.d-home-tile--cta {
    grid-column:1/-1!important;
    position:relative!important;
    box-sizing:border-box!important;
    width:100vw!important;
    max-width:none!important;
    margin-left:calc(50% - 50vw)!important;
    margin-right:0!important;
    padding:0!important;
    background:#1f292b!important;
    border:0!important;
    border-radius:0!important;
}
body[data-dendrila-theme="editorial"] .d-home-composition>.d-home-tile--cta>.d-cta-band {
    box-sizing:border-box!important;
    width:100%!important;
    min-width:0!important;
    margin:0!important;
    padding:clamp(1.5rem,4vw,3rem) clamp(1rem,4vw,2.5rem)!important;
    border:0!important;
    border-radius:0!important;
    background:transparent!important;
    color:#fff!important;
}
body[data-dendrila-theme="editorial"] .d-home-composition>.d-home-tile--cta .d-cta-band__inner {
    box-sizing:border-box!important;
    width:min(100%,45rem)!important;
    max-width:100%!important;
    margin:0 auto!important;
    padding:0!important;
    min-height:0!important;
    display:flex;
    justify-content:center!important;
}
@media(max-width:46rem){
    body[data-dendrila-theme="editorial"] .d-home-composition>.d-home-tile--cta>.d-cta-band {
        padding:2rem clamp(1rem,5vw,2rem)!important;
    }
}
html.d-reading-readable body[data-dendrila-theme="editorial"] .d-home-composition>.d-home-tile--cta {
    background:#fff!important;
    border-block:2px solid #111!important;
    color:#111!important;
}


/* V13 first-class contact form: accessible, responsive, theme-specific. */
body[data-dendrila-theme="editorial"] .d-section--block-contact-form {
  padding:clamp(2rem,5vw,4rem) 0!important;
  background:#f3f2ed;
}
body[data-dendrila-theme="editorial"] .d-section--block-contact-form>.d-shell {
  width:min(calc(100% - 2rem),57rem)!important;
  max-width:57rem!important;
  box-sizing:border-box;
}
body[data-dendrila-theme="editorial"] .d-section--block-contact-form .d-section__heading {
  margin-bottom:1.4rem;
}
body[data-dendrila-theme="editorial"] .d-contact-form__frame {
  box-sizing:border-box;
  max-width:100%;
  padding:clamp(1.3rem,3.7vw,3rem);
  background:#fffef9;
  border:1px solid #1f292b;
  border-radius:clamp(.5rem,2vw,1.25rem);
  color:#1f292b;
}
body[data-dendrila-theme="editorial"] .d-contact-form__status {
  display:block;
  margin:0 0 clamp(1.2rem,2.6vw,1.8rem);
  padding:1rem 1.1rem;
  color:#1f292b;
  background:#f3f2ed;
  border-left:4px solid #1f292b;
  font-size:clamp(.96rem,2vw,1.05rem);
  line-height:1.55;
}
body[data-dendrila-theme="editorial"] .d-contact-form,
body[data-dendrila-theme="editorial"] .d-contact-form__fields {
  box-sizing:border-box;
  display:grid;
  min-width:0;
  width:100%;
  padding:0;
  margin:0;
  border:0;
  gap:clamp(1.15rem,2.5vw,1.7rem);
}
body[data-dendrila-theme="editorial"] .d-contact-form__fields:disabled,
body[data-dendrila-theme="editorial"] .d-contact-form__fields[disabled] {
  opacity:1!important;
}
body[data-dendrila-theme="editorial"] .d-contact-form__grid {
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:clamp(1rem,2.5vw,1.5rem);
}
body[data-dendrila-theme="editorial"] .d-contact-form label {
  display:flex;
  flex-direction:column;
  min-width:0;
  gap:.55rem;
  font-weight:650;
  line-height:1.5;
}
body[data-dendrila-theme="editorial"] .d-contact-form :is(input,textarea) {
  box-sizing:border-box;
  display:block;
  width:100%;
  min-width:0;
  max-width:100%;
  border:2px solid #1f292b;
  border-radius:.45rem;
  padding:.85rem 1rem;
  background:#fffef9;
  color:#1f292b;
  font:inherit;
  line-height:1.45;
  opacity:1;
  box-shadow:none;
}
body[data-dendrila-theme="editorial"] .d-contact-form input {
  min-height:48px;
}
body[data-dendrila-theme="editorial"] .d-contact-form textarea {
  min-height:11rem;
  resize:vertical;
}
body[data-dendrila-theme="editorial"] .d-contact-form :is(input,textarea):focus-visible {
  outline:3px solid #1f292b;
  outline-offset:3px;
}
body[data-dendrila-theme="editorial"] .d-contact-form__submit {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  justify-self:start;
  min-height:48px;
  max-width:100%;
  padding:.85rem clamp(1.2rem,3vw,2rem);
  border:2px solid #1f292b;
  border-radius:.5rem;
  color:#fffef9!important;
  background:#1f292b!important;
  font-weight:700;
  cursor:pointer;
  text-decoration:none!important;
}
body[data-dendrila-theme="editorial"] .d-contact-form__submit[disabled] {
  opacity:1!important;
  cursor:not-allowed;
  background:#f3f2ed!important;
  color:#1f292b!important;
  border-color:#1f292b!important;
}
body[data-dendrila-theme="editorial"] .d-contact-form__trap {
  position:absolute!important;
  width:1px!important;
  height:1px!important;
  overflow:hidden!important;
  clip-path:inset(50%)!important;
}
body[data-dendrila-theme="editorial"] .d-visually-hidden {
  position:absolute!important;
  width:1px!important;
  height:1px!important;
  overflow:hidden!important;
  clip-path:inset(50%)!important;
}
@media(max-width:42rem) {
 body[data-dendrila-theme="editorial"] .d-section--block-contact-form>.d-shell {
   width:calc(100% - 1.5rem)!important;
 }
 body[data-dendrila-theme="editorial"] .d-contact-form__grid {
   grid-template-columns:minmax(0,1fr);
   gap:1.15rem;
 }
 body[data-dendrila-theme="editorial"] .d-contact-form__frame {
   padding:clamp(1.25rem,5vw,1.8rem);
 }
 body[data-dendrila-theme="editorial"] .d-contact-form__submit {
   justify-self:stretch;
   width:100%;
 }
}
