
/* Flexible CMS sections - Studio Tachi staging */
.cms-flex{max-width:1280px;margin:auto;padding:clamp(45px,6vw,84px) 34px;scroll-margin-top:100px}
.cms-flex-inner{max-width:1200px;margin:auto}
.cms-flex-kicker{display:inline-flex;align-items:center;gap:9px;font-size:11px;font-weight:900;letter-spacing:.14em;color:#13795f;margin:0 0 18px;text-transform:uppercase}
.cms-flex h2{font-size:clamp(30px,4.6vw,59px);line-height:1.1;letter-spacing:-.055em;font-weight:950;margin:0 0 25px;color:#152c23;max-width:930px;text-wrap:balance}
.cms-flex p{font-size:clamp(16px,1.55vw,20px);line-height:1.77;color:#456356;max-width:860px;margin:0 0 17px}
.cms-flex-mint{background:#e8f7ee;max-width:none}
.cms-flex-mint .cms-flex-inner{max-width:1212px}
.cms-flex-split .cms-flex-inner{display:grid;grid-template-columns:1fr 1fr;gap:clamp(24px,5vw,72px);align-items:center}
.cms-flex-photo{display:block;width:100%;aspect-ratio:5/4;object-fit:contain;border:5px solid white;background:#e5f1e9;border-radius:14px 55px 14px 55px;box-shadow:0 15px 28px #182b1e16}
.cms-flex-gallery .cms-flex-images{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px;margin-top:28px}
.cms-flex-images figure{margin:0;border:1px solid #dce8df;border-radius:14px;overflow:hidden;background:#f1f7f3}
.cms-flex-images img{width:100%;height:240px;object-fit:contain;display:block}
.cms-flex-cta{max-width:none;background:#ffdf53}
.cms-flex-cta .cms-flex-inner{max-width:1212px}
.cms-flex-cta p{color:#534218}
.cms-flex-btn{display:inline-flex;align-items:center;gap:10px;background:#ff891f;border-radius:50px;min-height:50px;padding:13px 24px;font-weight:850;text-decoration:none;color:#2b1c0b;font-size:13px}
.cms-flex-btn:hover{background:#f7a14f}
.cms-flex-btn:focus-visible{outline:3px solid #2066d1;outline-offset:4px}
.cms-flex-quote{max-width:none;background:#143126;color:#fff}
.cms-flex-quote .cms-flex-kicker{color:#a8f0d0}
.cms-flex-quote h2,.cms-flex-quote p{color:#fff}
.cms-flex-quote blockquote{font-size:clamp(22px,3.6vw,44px);line-height:1.25;letter-spacing:-.03em;font-weight:750;max-width:960px;margin:12px 0}
.cms-preview-banner{position:sticky;top:0;z-index:99;padding:12px 22px;background:#ffdb4c;color:#1c311f;text-align:center;font-weight:850}
@media(max-width:780px){.cms-flex{padding:50px 20px}.cms-flex-split .cms-flex-inner{grid-template-columns:1fr}.cms-flex-gallery .cms-flex-images{grid-template-columns:repeat(2,minmax(0,1fr))}.cms-flex-images img{height:210px}}
@media(max-width:480px){.cms-flex{padding:42px 18px}.cms-flex-gallery .cms-flex-images{grid-template-columns:1fr}.cms-flex-images img{height:240px}}

/* Approved Studio Tachi brand styling presets for editable sections */
.cms-flex.cms-tone-white{background:#fff;max-width:none}
.cms-flex.cms-tone-mint{background:#ddf4e9;max-width:none}
.cms-flex.cms-tone-yellow{background:#ffe364;max-width:none}
.cms-flex.cms-tone-blush{background:#f8e9f0;max-width:none}
.cms-flex.cms-tone-ink{background:#18372c;max-width:none;color:#fff}
.cms-flex.cms-tone-ink h2,.cms-flex.cms-tone-ink p,.cms-flex.cms-tone-ink blockquote{color:#fff}
.cms-flex.cms-tone-ink .cms-flex-kicker{color:#a2e7c9}
.cms-flex.cms-tone-ink .cms-flex-btn{color:#231a0b}
.cms-flex.cms-density-compact{padding-top:34px;padding-bottom:34px}
.cms-flex.cms-density-normal{padding-top:68px;padding-bottom:68px}
.cms-flex.cms-density-spacious{padding-top:105px;padding-bottom:105px}
.cms-flex.cms-align-center{text-align:center}
.cms-flex.cms-align-center h2,.cms-flex.cms-align-center p{margin-left:auto;margin-right:auto}
.cms-flex.cms-align-right{text-align:right}
.cms-flex.cms-align-right h2,.cms-flex.cms-align-right p{margin-left:auto;margin-right:0}
.cms-flex-split.cms-media-left .cms-flex-inner>img{grid-column:1;grid-row:1}
.cms-flex-split.cms-media-left .cms-flex-inner>div{grid-column:2;grid-row:1}
@media(max-width:780px){
.cms-flex.cms-density-spacious{padding-top:69px;padding-bottom:69px}
.cms-flex-split.cms-media-left .cms-flex-inner>img,.cms-flex-split.cms-media-left .cms-flex-inner>div{grid-column:auto;grid-row:auto}
}

/* Section-level design tokens: independent from global theme */
.cms-flex[data-ts-custom="1"]{background:var(--ts-sec-bg)!important;color:var(--ts-sec-text)!important;font-family:var(--ts-sec-font)!important}
.cms-flex[data-ts-custom="1"] h2{font-family:var(--ts-sec-font)!important;color:var(--ts-sec-text)!important;font-size:var(--ts-sec-title-size)!important}
.cms-flex[data-ts-custom="1"] p,.cms-flex[data-ts-custom="1"] blockquote{color:var(--ts-sec-text)!important;font-size:var(--ts-sec-body-size)!important}
.cms-flex[data-ts-custom="1"] .cms-flex-kicker{color:var(--ts-sec-accent)!important}
