/*
Theme Name: Gravois (Sullivan Chiropractic Center)
Description: Dependent Media rebuild, 2026-11. Brick, black awning and limestone from the real building on Gravois Avenue. No page builder.
Version: 1.0.0
Author: Dependent Media
*/
@font-face{font-family:"Caslon";src:url(assets/fonts/libre-caslon-text-latin-400.woff2) format("woff2");font-weight:400;font-style:normal;font-display:swap}
@font-face{font-family:"Caslon";src:url(assets/fonts/libre-caslon-text-latin-400i.woff2) format("woff2");font-weight:400;font-style:italic;font-display:swap}
@font-face{font-family:"Caslon";src:url(assets/fonts/libre-caslon-text-latin-700.woff2) format("woff2");font-weight:700;font-style:normal;font-display:swap}
@font-face{font-family:"Barlow";src:url(assets/fonts/barlow-500.woff2) format("woff2");font-weight:500;font-display:swap}
@font-face{font-family:"Barlow";src:url(assets/fonts/barlow-600.woff2) format("woff2");font-weight:600;font-display:swap}
@font-face{font-family:"Barlow";src:url(assets/fonts/barlow-700.woff2) format("woff2");font-weight:700;font-display:swap}
:root{--brick:#8c3322;--brick-d:#6c2518;--ink:#15110f;--stone:#f4ede1;--stone-2:#e9dfce;--mortar:#d5c9b4;--paper:#fffdf8;--text:#2a2420;--muted:#5d5248;--gold:#b9791a;--serif:"Caslon","Libre Caslon Text",Georgia,serif;--sans:"Barlow",system-ui,-apple-system,"Segoe UI",sans-serif;--wrap:1160px}
*{box-sizing:border-box}
html{scroll-behavior:smooth;scroll-padding-top:90px}
body{margin:0;background:var(--paper);color:var(--text);font:500 18px/1.65 var(--sans);-webkit-font-smoothing:antialiased}
img{max-width:100%;height:auto}
a{color:var(--brick);text-underline-offset:.18em}
a:hover{color:var(--brick-d)}
:focus-visible{outline:3px solid var(--gold);outline-offset:3px;border-radius:2px}
.stl-sr{position:absolute!important;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.stl-skip{position:absolute;left:-999px;top:8px;background:var(--ink);color:#fff;padding:.6em 1em;z-index:200}
.stl-skip:focus{left:8px}
.stl-wrap{width:min(var(--wrap),100% - 40px);margin-inline:auto}
.stl-ico{width:1.15em;height:1.15em;vertical-align:-.2em;flex:none}
h1,h2{text-wrap:balance}
h1,h2,h3{font-family:var(--serif);color:var(--ink);line-height:1.15;font-weight:700;margin:0 0 .5em}
h1{font-size:clamp(2.1rem,4.6vw,3.4rem)}
h2{font-size:clamp(1.65rem,3vw,2.35rem)}
h3{font-size:1.3rem}
p{margin:0 0 1.05em}
.stl-kicker{font:700 .85rem/1 var(--sans);letter-spacing:.14em;text-transform:uppercase;color:var(--brick);margin:0 0 .9em}
.stl-kicker--light{color:#f0c58a}
.stl-btn{display:inline-flex;align-items:center;gap:.5em;background:var(--brick);color:#fff;border:2px solid var(--brick);padding:.7em 1.25em;border-radius:3px;font:700 1rem/1.2 var(--sans);letter-spacing:.02em;text-decoration:none;cursor:pointer;transition:background .15s,color .15s,transform .15s}
.stl-btn:hover{background:var(--brick-d);border-color:var(--brick-d);color:#fff;transform:translateY(-1px)}
.stl-btn--line{background:transparent;color:var(--brick)}
.stl-btn--line:hover{background:var(--brick);color:#fff}
.stl-btn--light{background:#fff;color:var(--brick-d);border-color:#fff}
.stl-btn--light:hover{background:var(--stone);color:var(--brick-d);border-color:var(--stone)}
.stl-btn--ghost{background:transparent;color:#fff;border-color:#fff}
.stl-btn--ghost:hover{background:#fff;color:var(--ink)}
/* header */
.stl-header{position:sticky;top:0;z-index:90;background:var(--paper);border-bottom:3px solid var(--ink)}
.stl-header__in{display:flex;align-items:center;gap:20px;min-height:76px}
.stl-logo{display:block;flex:none;line-height:0}
.stl-logo img{width:236px;height:auto}
.stl-nav{margin-left:auto}
.stl-nav__list{display:flex;gap:4px;list-style:none;margin:0;padding:0;align-items:center}
.stl-nav__list>li>a,.stl-nav__btn{white-space:nowrap;display:inline-flex;align-items:center;gap:.3em;font:600 1rem var(--sans);color:var(--ink);text-decoration:none;padding:.6em .75em;background:none;border:0;cursor:pointer;border-radius:3px}
.stl-nav__list>li>a:hover,.stl-nav__btn:hover{color:var(--brick);background:var(--stone)}
.stl-nav__has{position:relative}
.stl-mega{display:none;position:absolute;right:-60px;top:100%;width:min(720px,92vw);background:var(--paper);border:3px solid var(--ink);border-top:0;box-shadow:0 24px 40px -22px rgba(0,0,0,.45);padding:22px 26px}
.stl-nav__has.is-open .stl-mega{display:block}
.stl-mega__grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px 26px}
.stl-mega__h{font:700 .78rem var(--sans);letter-spacing:.14em;text-transform:uppercase;color:var(--brick);margin:0 0 .4em}
.stl-mega ul{list-style:none;margin:0;padding:0}
.stl-mega a{display:block;padding:.2em 0;color:var(--ink);text-decoration:none;font-weight:600}
.stl-mega a:hover{color:var(--brick);text-decoration:underline}
.stl-burger{display:none;margin-left:auto;align-items:center;gap:.4em;background:var(--ink);color:#fff;border:0;border-radius:3px;padding:.55em .9em;font:700 1rem var(--sans);cursor:pointer}
.stl-header__call{white-space:nowrap}
@media (max-width:1000px){.stl-header__call span{display:none}}
@media (max-width:900px){
 .stl-burger{display:inline-flex}
 .stl-header__call{display:none}
 .stl-nav{display:none;position:absolute;left:0;right:0;top:100%;margin:0;background:var(--paper);border-bottom:3px solid var(--ink);padding:10px 20px 18px;max-height:calc(100vh - 80px);overflow:auto}
 .stl-nav.is-open{display:block}
 .stl-nav__list{flex-direction:column;align-items:stretch}
 .stl-mega{position:static;width:auto;border:0;box-shadow:none;padding:6px 0 6px 14px}
 .stl-mega__grid{grid-template-columns:1fr 1fr}
}
/* hero */
.stl-hero{position:relative;color:#fff;background:var(--ink);overflow:hidden;min-height:min(78vh,640px);display:flex;align-items:flex-end}
.stl-hero__img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:60% 40%;animation:stl-push 30s ease-in-out infinite alternate}
.stl-hero__shade{position:absolute;inset:0;background:linear-gradient(90deg,rgba(21,17,15,.86) 0%,rgba(21,17,15,.62) 42%,rgba(21,17,15,.1) 78%),linear-gradient(0deg,rgba(21,17,15,.65),rgba(21,17,15,0) 45%)}
.stl-hero__in{position:relative;padding:150px 0 56px;max-width:var(--wrap)}
.stl-hero h1{color:#fff;max-width:15ch;font-size:clamp(2.4rem,6vw,4.4rem);text-shadow:0 2px 20px rgba(0,0,0,.35)}
.stl-hero__lead{font-size:1.2rem;max-width:34em;margin-bottom:1.4em}
.stl-hero__btns{display:flex;flex-wrap:wrap;gap:12px}
.stl-hero__dot{margin:1.1em 0 0;font:700 1.02rem/1.4 var(--sans)}
.stl-hero__dot a{color:#fff;text-decoration:underline;text-underline-offset:.2em}
.stl-hero__dot a:hover{color:var(--stone-2)}
@keyframes stl-push{from{transform:scale(1)}to{transform:scale(1.07)}}
.stl-awning{position:absolute;left:0;right:0;top:0;height:92px;background:var(--ink);transform-origin:top;animation:stl-roll .9s cubic-bezier(.2,.8,.25,1) both;z-index:2;display:flex;align-items:center;justify-content:center;padding-bottom:16px}
.stl-awning::after{content:"";position:absolute;left:0;right:0;top:100%;height:18px;background:radial-gradient(circle at 18px 0,var(--ink) 17px,transparent 18px) 0 0/36px 18px repeat-x}
.stl-awning span{font:700 clamp(1rem,2.6vw,1.7rem)/1 var(--serif);letter-spacing:.2em;text-transform:uppercase;color:#fff;animation:stl-fade .8s .7s both;text-align:center;padding:0 10px}
@keyframes stl-roll{from{transform:scaleY(0)}to{transform:scaleY(1)}}
@keyframes stl-fade{from{opacity:0}to{opacity:1}}
.stl-open{display:inline-flex;align-items:center;gap:.5em;font:700 .95rem var(--sans);letter-spacing:.04em;margin:0 0 1em;padding:.35em .8em;border-radius:99px;background:rgba(255,255,255,.14);border:1px solid rgba(255,255,255,.35)}
.stl-open::before{content:"";width:.6em;height:.6em;border-radius:50%;background:#b9b0a4}
.stl-open.is-open::before{background:#5fd07a}
.stl-open[hidden]{display:none}
/* sections */
.stl-sec{padding:84px 0}
.stl-band--stone{background:var(--stone)}
.stl-band--ink{background:var(--ink);color:#eadfce}
.stl-band--ink h2,.stl-band--ink h3{color:#fff}
.stl-svcs{display:grid;grid-template-columns:repeat(auto-fill,minmax(250px,1fr));gap:28px 32px;margin-top:30px}
.stl-svcs__g h3{font:700 .8rem var(--sans);letter-spacing:.14em;text-transform:uppercase;color:var(--muted);border-bottom:2px solid var(--ink);padding-bottom:.5em;margin-bottom:.4em}
.stl-svcs ul{list-style:none;margin:0;padding:0}
.stl-svcs a{display:block;padding:.65em 0;border-bottom:1px solid var(--mortar);text-decoration:none;color:var(--text);transition:padding .15s}
.stl-svcs a strong{display:block;color:var(--brick);font-family:var(--serif);font-size:1.12rem}
.stl-svcs a span{display:block;font-size:.92rem;line-height:1.4;color:var(--muted)}
.stl-svcs a:hover{padding-left:8px}
.stl-svcs a:hover strong{text-decoration:underline}
.stl-adjust__grid{display:grid;grid-template-columns:200px 1fr;gap:56px;align-items:center}
.stl-adjust__fig{background:var(--stone);border-radius:3px;padding:24px 28px;border:2px solid var(--ink);box-shadow:8px 8px 0 var(--mortar)}
.stl-spine{display:block;width:100%;height:auto}
.stl-spine__cord{stroke:var(--mortar);stroke-width:3}
.stl-vert rect{fill:var(--ink)}
.stl-vert{transform-box:fill-box;transform-origin:center;transform:translateX(var(--dx)) rotate(var(--dr));transition:transform 1.2s cubic-bezier(.3,.9,.3,1);transition-delay:calc(var(--i)*70ms)}
.stl-adjust__fig.is-in .stl-vert{transform:none}
.stl-js:not(.stl-paused) .stl-adjust__fig.is-in .stl-vert rect{animation:stl-settle .9s calc(var(--i)*70ms + 1.4s) both}
@keyframes stl-settle{0%{fill:var(--ink)}40%{fill:var(--brick)}100%{fill:var(--ink)}}
.stl-steps{list-style:none;margin:36px 0 0;padding:0;display:grid;grid-template-columns:repeat(3,1fr);gap:26px}
.stl-steps li{border-top:4px solid #f0c58a;padding-top:20px}
.stl-brick{display:inline-grid;place-items:center;width:2.6em;height:1.9em;background:var(--brick);color:#fff;font:700 1.15rem var(--serif);border-radius:2px;margin-bottom:.7em;box-shadow:inset 0 -3px 0 rgba(0,0,0,.25)}
.stl-doc{display:grid;grid-template-columns:200px 1fr;gap:48px;align-items:center}
.stl-doc__img{border-radius:50%;border:5px solid var(--paper);box-shadow:0 0 0 3px var(--ink),10px 10px 0 var(--mortar);width:190px;height:190px;object-fit:cover}
.stl-quotes{display:grid;grid-template-columns:repeat(auto-fill,minmax(300px,1fr));gap:22px;margin:30px 0}
.stl-quote{margin:0;background:var(--paper);border:2px solid var(--ink);border-radius:3px;padding:50px 24px 22px;position:relative}
.stl-quote::before{content:"\201C";position:absolute;top:14px;left:20px;font:700 4rem/1 var(--serif);color:var(--brick);opacity:.9}
.stl-quote blockquote{margin:0 0 .8em;font:italic 400 1.12rem/1.55 var(--serif)}
.stl-quote figcaption{font:700 .9rem var(--sans);letter-spacing:.06em;text-transform:uppercase;color:var(--muted)}
.stl-find{display:grid;grid-template-columns:1.3fr 1fr;gap:48px;align-items:start}
.stl-map{position:relative;margin-top:18px;background:var(--stone-2);border:2px solid var(--ink);min-height:320px;display:grid;place-items:center;border-radius:3px;overflow:hidden}
.stl-map iframe{position:absolute;inset:0;width:100%;height:100%;border:0}
.stl-map__card{background:var(--paper);padding:18px 22px;border:2px solid var(--ink);border-radius:3px;text-align:center;position:relative;z-index:1}
.stl-map.is-loaded .stl-map__card{position:absolute;left:12px;bottom:12px;text-align:left;padding:10px 14px}
.stl-map.is-loaded .stl-map__card p:first-child{display:none}
.stl-board{background:var(--ink);color:#eadfce;border-radius:3px;padding:24px 26px;box-shadow:8px 8px 0 var(--mortar)}
.stl-board h2{color:#fff;font-size:1.5rem}
.stl-board dl{margin:0}
.stl-board dl div{display:flex;justify-content:space-between;gap:12px;padding:.5em 0;border-bottom:1px dashed rgba(255,255,255,.25)}
.stl-board dt{font-weight:700;color:#fff}
.stl-board dd{margin:0;text-align:right}
.stl-board .is-today dt::after{content:" · today";color:#f0c58a;font-weight:600}
.stl-board__note{font-size:.9rem;margin:.9em 0 0;color:#cdbfa9}
.stl-board .stl-open{margin-bottom:.9em;background:rgba(255,255,255,.1)}
.stl-cta{background:var(--brick);color:#fff;padding:54px 0}
.stl-cta__in{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:24px}
.stl-cta h2{color:#fff;margin-bottom:.2em}
.stl-cta p{margin:0;max-width:34em}
.stl-cta__btns{display:flex;flex-wrap:wrap;gap:12px}
/* inner pages */
.stl-phead{background:var(--stone);border-bottom:3px solid var(--ink);padding:54px 0 40px;position:relative}
.stl-phead::after{content:"";position:absolute;left:0;right:0;top:100%;height:14px;background:radial-gradient(circle at 14px 0,var(--ink) 13px,transparent 14px) 0 0/28px 14px repeat-x}
.stl-phead h1{max-width:20ch}
.stl-lead{font-size:1.2rem;max-width:40em;color:var(--muted);margin:0}
.stl-body{padding:64px 0 76px}
.stl-body--side{display:grid;grid-template-columns:minmax(0,1fr) 340px;gap:56px;align-items:start}
.stl-prose{max-width:46rem}
.stl-body--wide .stl-prose{max-width:none}
.stl-prose h2{margin-top:1.6em}
.stl-prose h3{margin-top:1.5em;color:var(--brick-d)}
.stl-prose h3:first-child,.stl-prose h2:first-child{margin-top:0}
.stl-prose ul,.stl-prose ol{padding-left:1.3em}
.stl-prose li{margin-bottom:.4em}
.stl-prose__cta{margin-top:2.2em;display:flex;flex-wrap:wrap;gap:12px}
.stl-side{position:sticky;top:96px;display:grid;gap:22px}
.stl-side__card{border:2px solid var(--ink);border-radius:3px;padding:20px 22px;background:var(--stone)}
.stl-list{list-style:none;margin:0;padding:0}
.stl-list li{padding:.5em 0;border-bottom:1px solid var(--mortar)}
.stl-posts{display:grid;grid-template-columns:repeat(auto-fill,minmax(320px,1fr));gap:26px}
.stl-post{border:2px solid var(--ink);border-radius:3px;padding:22px 24px;background:var(--paper)}
.stl-post h2{font-size:1.3rem}
.stl-post h2 a{color:var(--ink);text-decoration:none}
.stl-post h2 a:hover{color:var(--brick);text-decoration:underline}
.stl-more{font-weight:700}
.stl-pager{margin-top:36px;display:flex;flex-wrap:wrap;gap:8px}
.stl-pager .page-numbers{padding:.45em .85em;border:2px solid var(--ink);border-radius:3px;text-decoration:none;color:var(--ink);font-weight:700}
.stl-pager .current{background:var(--ink);color:#fff}
.stl-form{max-width:640px;display:grid;gap:16px}
.stl-form label{display:grid;gap:6px;font-weight:700;color:var(--ink)}
.stl-form input,.stl-form select,.stl-form textarea{font:500 1rem var(--sans);padding:.7em .8em;border:2px solid var(--ink);border-radius:3px;background:#fff;color:var(--text)}
.stl-form__row{display:grid;grid-template-columns:1fr 1fr;gap:16px}
.stl-opt{font-weight:500;color:var(--muted)}
.stl-form__fine{font-size:.92rem;color:var(--muted);margin:0}
.stl-form__err{background:#fbe9e5;border:2px solid var(--brick);padding:.7em 1em;border-radius:3px;margin:0}
.stl-hp{position:absolute;left:-9999px}
.stl-thanks{max-width:640px;border:2px solid var(--ink);border-radius:3px;padding:30px;background:var(--stone);text-align:center}
.stl-thanks__ico{display:inline-grid;place-items:center;width:64px;height:64px;border-radius:50%;background:var(--brick);color:#fff;margin-bottom:12px}
.stl-thanks__ico .stl-ico{width:34px;height:34px}
.stl-two{display:grid;grid-template-columns:1fr 1fr;gap:34px;align-items:start}
.stl-forms{list-style:none;margin:20px 0;padding:0;display:grid;gap:12px;max-width:640px}
.stl-forms li{border:2px solid var(--ink);border-radius:3px;padding:14px 18px;display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap;background:var(--stone)}
.stl-forms em{font-style:normal;font-weight:700;color:var(--muted)}
.stl-choice{display:grid;grid-template-columns:1fr 1fr;gap:20px;max-width:720px}
.stl-choice a{display:block;padding:28px 24px;border:2px solid var(--ink);border-radius:3px;text-decoration:none;font:700 1.3rem var(--serif);color:var(--ink);background:var(--stone);transition:transform .15s,box-shadow .15s}
.stl-choice a:hover{transform:translate(-3px,-3px);box-shadow:6px 6px 0 var(--brick)}
.stl-choice span{display:block;font:500 1rem var(--sans);color:var(--muted);margin-top:.4em}
/* footer */
.stl-footer{background:var(--ink);color:#d9cdb9;padding-top:56px}
.stl-footer a{color:#fff}
.stl-footer h2{font:700 .8rem var(--sans);letter-spacing:.14em;text-transform:uppercase;color:#f0c58a}
.stl-footer__grid{display:grid;grid-template-columns:1.3fr 1fr 1fr 1fr;gap:34px}
.stl-footer ul{list-style:none;margin:0;padding:0}
.stl-footer li{margin-bottom:.35em}
.stl-footer__logo{display:block;line-height:0;margin-bottom:14px}
.stl-footer__logo img{width:260px}
.stl-footer__bottom{border-top:1px solid rgba(255,255,255,.2);margin-top:42px;padding:20px 0;font-size:.92rem}
.stl-footer__bottom p{margin:0}
.stl-footer__bottom a{text-decoration:underline}
.stl-credit{font-weight:700}
/* call bar + pause pill */
.stl-callbar{display:none}
.stl-dock{position:fixed;right:14px;bottom:14px;z-index:65}
.stl-pill{display:inline-flex;align-items:center;gap:.55em;background:#fff;color:var(--ink);border:2px solid var(--ink);border-radius:999px;padding:.55em 1.05em .55em .75em;font:700 .92rem var(--sans);cursor:pointer;box-shadow:0 8px 20px -10px rgba(0,0,0,.6)}
.stl-pill:hover{background:var(--stone)}
.stl-pill .stl-ico{width:1.2em;height:1.2em}
.stl-pill__ico{display:inline-flex}
.stl-pill__ico--play{display:none}
.stl-pill[aria-pressed="true"] .stl-pill__ico--play{display:inline-flex}
.stl-pill[aria-pressed="true"] .stl-pill__ico--pause{display:none}
.stl-paused *,.stl-paused *::before,.stl-paused *::after{animation:none!important}
.stl-paused .stl-vert{transition:none}
.stl-paused .stl-awning{transform:none}
@media (prefers-reduced-motion:reduce){.stl-vert{transition:none}}
@media (max-width:1000px){
 .stl-body--side,.stl-find,.stl-two{grid-template-columns:1fr}
 .stl-side{position:static}
 .stl-footer__grid{grid-template-columns:1fr 1fr}
}
@media (max-width:760px){
 body{font-size:17px}
 .stl-sec{padding:56px 0}
 .stl-hero{min-height:560px}
 .stl-hero__in{padding:128px 0 40px}
 .stl-awning{height:72px}
 .stl-adjust__grid,.stl-doc{grid-template-columns:1fr;gap:28px}
 .stl-adjust__fig{max-width:200px}
 .stl-steps{grid-template-columns:1fr}
 .stl-form__row,.stl-choice{grid-template-columns:1fr}
 .stl-footer__grid{grid-template-columns:1fr}
 .stl-callbar{display:flex;position:fixed;left:0;right:0;bottom:0;z-index:70;background:#fff;border-top:3px solid var(--ink)}
 .stl-callbar a{flex:1;display:flex;align-items:center;justify-content:center;gap:.5em;padding:14px 8px;font-weight:700;text-decoration:none;color:var(--ink);font-size:.98rem;text-align:center}
 .stl-callbar a:first-child{background:var(--brick);color:#fff}
 .stl-footer{padding-bottom:64px}
 .stl-dock{bottom:70px}
}
@media print{.stl-header,.stl-dock,.stl-callbar,.stl-awning,.stl-footer{display:none}}
.stl-fig{display:block;width:100%;height:auto;border:2px solid var(--ink);border-radius:3px;box-shadow:8px 8px 0 var(--mortar);margin:0 0 1.6em}

.stl-bigcall .stl-btn{font-size:1.6rem;padding:.6em 1.2em}

.stl-map.is-loaded{min-height:340px;display:block}.stl-map.is-loaded .stl-map__card{position:absolute;left:12px;bottom:12px;padding:8px 10px}

.stl-footer__tag{font:600 1.05rem var(--sans);color:#f0c58a;margin:0 0 .6em}
@media (max-width:760px){.stl-logo img{width:210px}}

.stl-post{display:flex;flex-direction:column}
.stl-post__img{display:block;margin:-22px -24px 16px;border-bottom:2px solid var(--ink);overflow:hidden;aspect-ratio:16/9;background:var(--stone)}
.stl-post__img img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .4s}
.stl-post:hover .stl-post__img img{transform:scale(1.03)}
.stl-hero-fig{margin:0 0 1.6em}
.stl-hero-fig img{display:block;width:100%;height:auto;max-height:420px;object-fit:cover;border:2px solid var(--ink);border-radius:3px;box-shadow:8px 8px 0 var(--mortar)}
.stl-hero-fig figcaption{font-size:.88rem;color:var(--muted);margin-top:.7em}
@media (prefers-reduced-motion:reduce){.stl-post__img img{transition:none}}
