/* Shared base of the 3B Agency demo sites. Each site sets its own colours with --bg, --ink, --muted, --line, --acc. */
@font-face { font-family: "Geist"; src: url("../fonts/geist.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Geist Mono"; src: url("../fonts/geist-mono.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Instrument Serif"; src: url("../fonts/instrument-serif-italic.woff2") format("woff2"); font-style: italic; font-display: swap; }
:root { --ease: cubic-bezier(.23,1,.32,1); --mono: "Geist Mono", ui-monospace, Menlo, monospace; --serif: "Instrument Serif", Georgia, serif; }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 17px/1.58 "Geist", system-ui, sans-serif; -webkit-font-smoothing: antialiased; overflow-x: clip; }
a { color: inherit; }
img, svg { display: block; }
.serif { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: -.01em; }
.mono { font-family: var(--mono); }
.wrap { max-width: 1240px; margin: 0 auto; padding-left: 24px; padding-right: 24px; }
.demo-bar { position: relative; z-index: 80; background: #000; color: #b8b8b8; font: 13px/1.4 "Geist", sans-serif; text-align: center; padding: 8px 14px; }
.demo-bar a { color: #9cc4ff; }
.lang { display: flex; font-family: var(--mono); font-size: 12px; border: 1px solid var(--line); border-radius: 999px; overflow: hidden; flex: none; }
.lang button { background: none; border: 0; color: var(--muted); cursor: pointer; padding: 6px 10px; font: inherit; }
.lang button[aria-pressed="true"] { background: var(--ink); color: var(--bg); }
.kick { font-family: var(--mono); font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--acc); }
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
section { padding: 110px 0; }
.out { min-height: 22px; font-size: 15px; }
footer.demo-foot { border-top: 1px solid var(--line); padding: 36px 0 60px; color: var(--muted); font-size: 13px; }
footer.demo-foot .wrap { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } .reveal { opacity: 1; transform: none; } }
