/* CMS design system v0.1.6. A single token layer, identical in frontend and editor preview.
   Custom values come from /theme.css.php, with these defaults as no-DB fallback. */
:root{
  --theme-accent:#c0a078;--theme-accent-ink:#101820;--theme-accent-link:#80633f;
  --theme-dark:#151d25;--theme-on-dark:#ffffff;--theme-soft:#f4f1ec;
  --theme-ink:#1d252c;--theme-font:system-ui,-apple-system,"Segoe UI",Arial,sans-serif;
  --theme-width:1200px;--theme-corners:2px;--theme-space:96px;--theme-mobile-space:68px;
}
:root{--ink:var(--theme-ink);--deep:var(--theme-dark);--gold:var(--theme-accent);--cream:var(--theme-soft);--max:var(--theme-width)}
body{font-family:var(--theme-font)}
.site-header{background:#fff}
.brand-dot,.footer-wordmark span{color:var(--theme-accent-link)}
.site-header nav a:hover,.site-header nav a[aria-current="page"]{color:var(--theme-accent-link)}
.hero,.site-footer{background:var(--theme-dark);color:var(--theme-on-dark)}
.hero-lead,.footer-layout p,.footer-links a,.footer-bottom{color:var(--theme-on-dark);opacity:.85}
.hero .eyebrow,.chess-label{color:var(--theme-on-dark);opacity:.85}
.hero .chess-art::before{background:linear-gradient(90deg,var(--theme-dark) 1%,transparent 50%),linear-gradient(180deg,var(--theme-dark) 3%,transparent 45%,var(--theme-dark) 100%)}
.button{border-radius:var(--theme-corners)}
.button.primary{background:var(--theme-accent);color:var(--theme-accent-ink)}
.button.primary:hover{filter:brightness(.94);background:var(--theme-accent)}
.button.ghost{color:var(--theme-on-dark);border-color:currentColor}
.button.ghost:hover{color:var(--theme-on-dark);background:transparent;filter:brightness(.85)}
.section{padding-top:var(--theme-space);padding-bottom:var(--theme-space)}
.facts{background:var(--theme-soft)}
.facts .fact{border-top-color:var(--theme-accent)}
.facts .fact span{color:var(--theme-ink)}
.body-text,.cms-column-body,.section h2,.facts h2{color:var(--theme-ink)}
.section-cta{background:var(--theme-soft)}
.cta-grid .button{background:var(--theme-ink);color:#fff}
.cta-grid .button:hover{background:var(--theme-ink);filter:brightness(1.15)}
.form-section{background:var(--theme-soft)}
.eyebrow.dark,.body-text li::marker{color:var(--theme-accent-link)}
.hero-lead li::marker{color:var(--theme-on-dark)}
.site-header nav a:focus-visible,.button:focus-visible{outline:3px solid var(--theme-accent-link);outline-offset:3px}
@media(max-width:760px){.section{padding-top:var(--theme-mobile-space);padding-bottom:var(--theme-mobile-space)}}


/* v0.1.15: shared, bounded per-block appearance options (public site AND editor). */
.cms-block-bg-light{background:var(--theme-soft)!important;color:var(--theme-ink)!important}
.cms-block-bg-dark{background:var(--theme-dark)!important;color:var(--theme-on-dark)!important}
.cms-block-bg-light :is(h1,h2,.body-text,.cms-column-body,.fact span,.hero-lead,.eyebrow,.eyebrow.dark,figcaption){color:var(--theme-ink)!important;opacity:1}
.cms-block-bg-dark :is(h1,h2,.body-text,.cms-column-body,.fact span,.hero-lead,.eyebrow,.eyebrow.dark,figcaption){color:var(--theme-on-dark)!important;opacity:1}
.cms-block-bg-dark a:not(.button){color:var(--theme-on-dark)}
.cms-block-bg-light a:not(.button){color:var(--theme-ink)}
.cms-block-bg-dark .cta-grid .button{background:var(--theme-accent);color:var(--theme-accent-ink)}
.cms-block-align-center{text-align:center}
.cms-block-align-center .body-text,.cms-block-align-center .hero-lead{margin-inline:auto}
.cms-block-align-center .hero-copy{margin-inline:auto}
.cms-block-align-center .hero-actions{justify-content:center}
.cms-block-align-center .fact{align-items:center}
.cms-block-align-center .cta-grid .button{justify-self:center}
.cms-block-align-center .body-text ul,.cms-block-align-center .body-text ol,.cms-block-align-center .hero-lead ul,.cms-block-align-center .hero-lead ol{display:inline-block;text-align:left}
.cms-block-space-compact.section{padding-block:calc(var(--theme-space)*.6)}
.cms-block-space-spacious.section{padding-block:calc(var(--theme-space)*1.3)}
.cms-block-space-compact.facts{padding-block:40px}
.cms-block-space-spacious.facts{padding-block:108px}
.cms-block-space-compact.hero .hero-layout{min-height:390px}
.cms-block-space-spacious.hero .hero-layout{min-height:720px}
.cms-block-space-compact.hero .hero-copy{padding-block:36px}
.cms-block-space-spacious.hero .hero-copy{padding-block:100px}
.cms-block-space-compact.content-image{margin-block:12px 25px}
.cms-block-space-spacious.content-image{margin-block:65px 85px}
@media(max-width:760px){
 .cms-block-space-compact.section{padding-block:calc(var(--theme-mobile-space)*.6)}
 .cms-block-space-spacious.section{padding-block:calc(var(--theme-mobile-space)*1.3)}
 .cms-block-space-compact.hero .hero-layout,.cms-block-space-spacious.hero .hero-layout{min-height:0}
 .cms-block-space-compact.hero .hero-copy{padding-block:34px}
 .cms-block-space-spacious.hero .hero-copy{padding-block:76px}
 .cms-block-space-compact.facts{padding-block:30px}
 .cms-block-space-spacious.facts{padding-block:85px}
}
