/* (2026-12-03, owner) the site footer: real pages only, five columns; shared by the homepage, About, Check, Claude Code and the Journal */
footer.sfoot{display:block!important;max-width:none!important;margin:0!important;padding:0!important;border-top:1px solid #ded3be!important;background:#fbf7ed!important;font:14px/1.5 Inter,system-ui,sans-serif!important;color:#6e5a44!important}
footer.sfoot .sf{max-width:1040px;margin:0 auto;padding:40px 28px 8px;display:grid;grid-template-columns:1.25fr repeat(4,1fr);gap:28px 32px}
footer.sfoot h4{margin:0 0 10px;font:600 11px/1.2 Inter,system-ui,sans-serif;letter-spacing:.16em;text-transform:uppercase;color:#8a6a45}
footer.sfoot ul{list-style:none;margin:0;padding:0}
footer.sfoot li{margin:0 0 7px}
footer.sfoot a{color:#302b25!important;text-decoration:none!important;transition:color .15s cubic-bezier(.2,.75,.3,1)}
footer.sfoot a:hover{color:#b3271b!important}
footer.sfoot .sf-brand img{display:block;height:40px;width:auto;margin:0 0 10px}
footer.sfoot .sf-brand p{margin:0 0 6px;color:#6e5a44}
footer.sfoot .sf-ask a{color:#b3271b!important;font-weight:600}
footer.sfoot .sf-bot{max-width:1040px;margin:0 auto;padding:16px 28px 22px;border-top:1px solid #ece3d0;display:flex;justify-content:space-between;flex-wrap:wrap;gap:8px;font-size:13px;color:#8a6a45}
footer.sfoot .sf-bot a{color:#8a6a45!important}
@media(max-width:900px){footer.sfoot .sf{grid-template-columns:repeat(2,minmax(0,1fr));padding:32px 20px 4px}footer.sfoot .sf-brand{grid-column:1/-1}footer.sfoot .sf-bot{padding:14px 20px 20px}}
/* (2026-12-04, owner) the footer as the last page of a book: gold hairline + swirl medallion, even columns, enamel "Ask AI" pills, drawn underlines, centred colophon */
footer.sfoot{position:relative!important;border-top:0!important;background:linear-gradient(180deg,#fcf8ee,#f8f0dc)!important}
footer.sfoot::before{content:"";position:absolute;left:0;right:0;top:0;height:1px;background:linear-gradient(90deg,transparent,#c9973c 18%,#f0cf7f 50%,#c9973c 82%,transparent)}
footer.sfoot::after{content:"";position:absolute;left:50%;top:0;width:46px;height:46px;margin:-23px 0 0 -23px;border-radius:50%;
  background:url(/ch/logo-swirl.webp) center/34px auto no-repeat,radial-gradient(circle at 38% 30%,#fffdf6,#f6e7c2 65%,#e6cd8e);
  box-shadow:0 0 0 1.5px #c9973c,0 0 0 4px #fcf8ee,0 0 0 5px rgba(201,151,60,.45),0 6px 14px -6px rgba(80,50,10,.5)}
footer.sfoot .sf{max-width:1120px;padding:60px 28px 14px;grid-template-columns:1.05fr .9fr 1.35fr 1.25fr .95fr;gap:28px 30px}
footer.sfoot h4{position:relative;margin:0 0 16px;padding-bottom:9px;font:700 10.5px/1.2 Inter,system-ui,sans-serif;letter-spacing:.2em;color:#a8771f}
footer.sfoot h4::after{content:"";position:absolute;left:0;bottom:0;width:22px;height:1.5px;background:linear-gradient(90deg,#c9973c,#f0cf7f)}
footer.sfoot li{margin:0 0 9px;padding-left:12px;text-indent:-12px;line-height:1.4}
footer.sfoot nav a{background:linear-gradient(#c9973c,#c9973c) 0 100%/0 1.5px no-repeat;padding-bottom:2px;transition:background-size .4s cubic-bezier(.2,.75,.3,1),color .15s}
footer.sfoot nav a:hover{color:#2a1d10!important;background-size:100% 1.5px}
footer.sfoot .sf-brand img{height:44px;margin-bottom:14px}
footer.sfoot .sf-ask{font-size:0!important;line-height:0;display:flex;flex-wrap:wrap;gap:0}
footer.sfoot .sf-ask::before{content:"Ask AI about us:";flex-basis:100%;margin-bottom:3px;font:500 13px/1.4 Inter,system-ui,sans-serif;color:#8a6a45}
footer.sfoot .sf-ask br{display:none}
footer.sfoot .sf-ask a{display:inline-flex;align-items:center;gap:6px;margin:0 7px 7px 0;padding:5px 11px 5px 9px;border-radius:999px;font:600 12.5px/1.2 Inter,system-ui,sans-serif!important;color:#3a2708!important;
  background:linear-gradient(180deg,#fffdf7,#f6ead0);border:1px solid rgba(183,134,46,.5);box-shadow:0 1px 0 #fff inset,0 3px 8px -5px rgba(80,50,10,.45);transition:transform .2s,box-shadow .2s}
footer.sfoot .sf-ask a::before{content:"";width:7px;height:7px;border-radius:50%;background:#13907e;box-shadow:inset 0 -1px 1px rgba(0,0,0,.25)}
footer.sfoot .sf-ask a:nth-of-type(2)::before{background:#cc6b3d} footer.sfoot .sf-ask a:nth-of-type(3)::before{background:#3d7a8f}
footer.sfoot .sf-ask a:hover{transform:translateY(-1px);box-shadow:0 1px 0 #fff inset,0 6px 12px -6px rgba(80,50,10,.5)}
footer.sfoot .sf-bot{max-width:1120px;border-top:0;justify-content:center;align-items:center;gap:14px;padding:18px 28px 28px;font-size:12.5px;letter-spacing:.04em}
footer.sfoot .sf-bot::before,footer.sfoot .sf-bot::after{content:"";width:70px;height:1px;background:linear-gradient(90deg,transparent,#c9973c)}
footer.sfoot .sf-bot::after{transform:scaleX(-1)}
footer.sfoot .sf-bot span::before{content:"";display:inline-block;vertical-align:-3px;width:30px;height:15px;margin-right:9px;background:url(/ch/logo-swirl.webp) center/contain no-repeat;opacity:.85}
@media(max-width:900px){footer.sfoot .sf{grid-template-columns:repeat(2,minmax(0,1fr));padding:52px 20px 8px}}
