/* RC920 house style — "Werkplaats" (workshop): calm, warm, light, a little playful with the bots.
   Shared by every RC920 page. Fonts: Bricolage Grotesque (display), Inter (text), JetBrains Mono (labels). */
:root{
  color-scheme:light;
  --bg:#F5F2EC;      /* paper */
  --paper:#FFFFFF;   /* cards */
  --sand:#ECE6DB;    /* panels, illustration grounds */
  --sand-2:#E2DBCD;
  --line:#E2DDD3;
  --ink:#1B1A17;     /* text, outlines */
  --ink-2:#4A463F;   /* body copy */
  --muted:#5E5A53;   /* secondary copy (5.9:1 on --bg) */
  --acc:#A64B27;     /* terracotta: buttons, links (5.1:1 on paper, 5.7:1 under white text) */
  --acc-ink:#8A3F22; /* small accent text */
  --acc-soft:#F2A57E;/* bot eyes, highlights */
  --biz:#4F74A8; --life:#5C8C66; --play:#A64B27;
  --night:#161514;   /* the lab panel */
  --r-lg:28px; --r-md:18px; --r-sm:12px; --r-pill:999px;
  --f-display:"Bricolage Grotesque",ui-sans-serif,system-ui,sans-serif;
  --f-text:Inter,ui-sans-serif,system-ui,sans-serif;
  --f-mono:"JetBrains Mono",ui-monospace,Menlo,monospace;
  --shadow:0 1px 0 rgba(27,26,23,.04),0 18px 40px -28px rgba(27,26,23,.35);
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;background:var(--bg);color:var(--ink);font-family:var(--f-text);font-size:16px;line-height:1.6;-webkit-font-smoothing:antialiased}
a{color:var(--acc)}a:hover{color:var(--acc-ink)}
img{max-width:100%}
.wrap{width:100%;max-width:1200px;margin:0 auto;padding:0 32px}
@media (max-width:640px){.wrap{padding:0 20px}}
.mono{font-family:var(--f-mono)}
:focus-visible{outline:2px solid var(--acc);outline-offset:3px}

/* nav */
.site-nav{position:sticky;top:0;z-index:20;background:rgba(245,242,236,.88);backdrop-filter:saturate(1.4) blur(10px);-webkit-backdrop-filter:saturate(1.4) blur(10px);border-bottom:1px solid transparent;transition:border-color .2s}
.site-nav.scrolled{border-bottom-color:var(--line)}
.site-nav .wrap{display:flex;align-items:center;justify-content:space-between;gap:16px;min-height:76px;flex-wrap:wrap}
.brand{display:flex;align-items:center;gap:10px;color:var(--ink);text-decoration:none;font-family:var(--f-display);font-weight:700;font-size:20px;letter-spacing:-.02em}
.brand:hover{color:var(--ink)}
.brand small{font-family:var(--f-mono);font-weight:500;font-size:12px;letter-spacing:.02em;color:var(--muted)}
.nav-links{display:flex;align-items:center;flex-wrap:wrap;gap:4px 26px;font-size:15px;font-weight:500}
.nav-links a{color:var(--ink);text-decoration:none;padding:10px 0}
.nav-links a:hover,.nav-links a[aria-current=page]{color:var(--acc)}
.nav-links a.btn{padding:0 18px}.nav-links a.btn-line:hover{color:var(--bg)}
@media (max-width:760px){.site-nav .wrap{min-height:64px;padding-top:10px;padding-bottom:10px}.nav-links{width:100%;flex-wrap:nowrap;overflow-x:auto;gap:20px;font-size:14px;scrollbar-width:none}.nav-links::-webkit-scrollbar{display:none}.nav-links a{white-space:nowrap}.nav-links .btn{display:none}}

/* buttons */
.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:52px;padding:0 26px;border-radius:var(--r-pill);font-family:var(--f-text);font-weight:600;font-size:16px;text-decoration:none;border:1.5px solid transparent;cursor:pointer;transition:background .2s,color .2s,border-color .2s,transform .2s}
.btn:hover{transform:translateY(-1px)}
.btn-primary{background:var(--acc);color:#fff}.btn-primary:hover{background:var(--acc-ink);color:#fff}
.btn-line{border-color:var(--ink);color:var(--ink);background:transparent}.btn-line:hover{background:var(--ink);color:var(--bg)}
.btn-text{color:var(--ink);padding:0 14px}.btn-text:hover{color:var(--acc)}
.btn-sm{min-height:44px;padding:0 18px;font-size:15px}
@media (prefers-reduced-motion:reduce){.btn{transition:none}.btn:hover{transform:none}}

/* type */
.eyebrow{display:inline-flex;align-items:center;gap:10px;padding:7px 14px 7px 10px;border-radius:var(--r-pill);background:var(--sand);font-family:var(--f-mono);font-size:12.5px;color:var(--ink-2)}
.eyebrow svg{width:16px;height:20px;flex:none}
.kicker{font-family:var(--f-mono);font-size:13px;color:var(--acc-ink)}
.display{margin:0;font-family:var(--f-display);font-weight:700;letter-spacing:-.035em;line-height:1.02}
.h1{font-size:clamp(42px,5.4vw,72px)}
.h2{font-size:clamp(32px,4vw,52px);letter-spacing:-.03em;line-height:1.05}
.h3{font-size:22px;letter-spacing:-.02em;line-height:1.2}
.lead{margin:0;font-size:18px;line-height:1.65;color:var(--ink-2)}
.small{font-size:14px;color:var(--muted)}

/* surfaces */
.card{background:var(--paper);border-radius:var(--r-md);box-shadow:var(--shadow)}
.panel{background:var(--sand);border-radius:var(--r-lg)}
.chip{display:inline-flex;align-items:center;gap:8px;min-height:32px;padding:0 12px;border-radius:var(--r-pill);background:var(--sand);font-family:var(--f-mono);font-size:12px;color:var(--ink-2)}
.dot{width:10px;height:10px;border-radius:3px;flex:none;background:var(--pc,var(--acc))}

/* sections */
.section{padding:112px 0}
.section-head{display:flex;flex-direction:column;gap:14px;max-width:680px;margin-bottom:48px}
@media (max-width:640px){.section{padding:80px 0}}

/* bots */
.bot-bob{animation:bot-bob 3.2s ease-in-out infinite}
.bot-bob-2{animation:bot-bob 3.2s ease-in-out -1.4s infinite}
.bot-wave{transform-box:fill-box;transform-origin:50% 100%;animation:bot-wave 1.6s ease-in-out infinite}
.bot-think circle{animation:bot-dot 1.4s ease-in-out infinite}.bot-think circle:nth-child(2){animation-delay:.2s}.bot-think circle:nth-child(3){animation-delay:.4s}
@keyframes bot-bob{50%{transform:translateY(-4px)}}
@keyframes bot-wave{0%,100%{transform:rotate(0)}50%{transform:rotate(-22deg)}}
@keyframes bot-dot{50%{opacity:.2}}
@media (prefers-reduced-motion:reduce){.bot-bob,.bot-bob-2,.bot-wave,.bot-think circle{animation:none}}

/* footer */
.site-foot{border-top:1px solid var(--line);padding:40px 0 48px;font-size:14px;color:var(--muted)}
.site-foot .wrap{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:16px 32px}
.site-foot nav{display:flex;flex-wrap:wrap;gap:8px 22px}
.site-foot a{color:var(--ink-2);text-decoration:none}.site-foot a:hover{color:var(--acc)}
