/* SOICON shared design system + block contract.
   This file is loaded by static previews and the WordPress theme. */
:root{
  --soicon-black:#0b0b0c;
  --soicon-black-2:#111113;
  --soicon-paper:#f5f3ee;
  --soicon-paper-2:#faf9f6;
  --soicon-ink:#101011;
  --soicon-red:#ef2d33;
  /* Every red text colour uses this darker red (review 2026-11-09, finding 13); --soicon-red stays for graphics and surfaces. */
  --soicon-red-text:#c00000;
  /* Three font sizes per section (docs/anleitung-3-schriftgroessen.md): Untertitel and Grafik are the same on every page. */
  --soicon-font-subtitle:clamp(18px,1.5vw,23px);
  --soicon-font-graphic:clamp(15px,1.05vw,18px);
  --soicon-muted:#6c6963;
  --soicon-line:#d8d4cb;
  /* Side gutter shared by navigation and content. Beyond the frame width it grows, so logo, language switch and
     content edges stay aligned inside a centred 1600px frame while section backgrounds stay full-bleed. */
  --soicon-frame:1600px;
  --soicon-pad:calc(max(clamp(22px,4vw,66px),calc((100vw - var(--soicon-frame)) / 2)) * .75);
  --soicon-max:100%;
  --soicon-radius-card:24px;
  --soicon-focus:2px solid currentColor;
  /* short aliases retained for the existing design */
  --black:var(--soicon-black);--black2:var(--soicon-black-2);--paper:var(--soicon-paper);--paper2:var(--soicon-paper-2);--ink:var(--soicon-ink);--red:var(--soicon-red);--muted:var(--soicon-muted);--line:var(--soicon-line);--pad:var(--soicon-pad);--max:var(--soicon-max);
}
*,*::before,*::after{box-sizing:border-box}
html{scroll-behavior:smooth;background:var(--soicon-black)}
body{margin:0;overflow-x:hidden;font-family:Arial,Helvetica,sans-serif;background:var(--soicon-black);color:var(--soicon-ink)}
body.modal-open{overflow:hidden}
a{color:inherit;text-decoration:none}button,input,textarea,select{font:inherit}img,svg{max-width:100%}::selection{background:var(--soicon-red);color:#fff}
.skip-link{position:fixed;left:16px;top:12px;z-index:2000;transform:translateY(-180%);padding:10px 14px;border-radius:999px;background:#fff;color:#111;font-size:13px;transition:transform .2s}.skip-link:focus{transform:none}
:focus-visible{outline:var(--soicon-focus);outline-offset:4px}[hidden],[data-lang-content][hidden]{display:none!important}[data-block]{scroll-margin-top:92px}

/* BLOCK CONTRACT: every visual section declares its own surface, rather than inheriting it from body or a neighbouring block. */
.soicon-block{--soicon-block-bg:transparent;--soicon-block-fg:var(--soicon-ink);--soicon-block-muted:var(--soicon-muted);position:relative;background-color:var(--soicon-block-bg);color:var(--soicon-block-fg);isolation:isolate}
.soicon-block[data-surface="light"]{--soicon-block-bg:var(--soicon-paper);--soicon-block-fg:var(--soicon-ink);--soicon-block-muted:#6c6963}
.soicon-block[data-surface="light-alt"]{--soicon-block-bg:var(--soicon-paper-2);--soicon-block-fg:var(--soicon-ink);--soicon-block-muted:#6c6963}
.soicon-block[data-surface="dark"]{--soicon-block-bg:var(--soicon-black);--soicon-block-fg:#fff;--soicon-block-muted:#9a9894}
.soicon-block[data-surface="dark-alt"]{--soicon-block-bg:#0e0e10;--soicon-block-fg:#fff;--soicon-block-muted:#8d8a84}
.soicon-block[data-surface="red"]{--soicon-block-bg:var(--soicon-red);--soicon-block-fg:#fff;--soicon-block-muted:rgba(255,255,255,.75)}
.soicon-block.section{padding:clamp(90px,10vw,160px) var(--soicon-pad)}

/* progressive enhancement */
/* Solid colour + a thin white ring (no mix-blend-mode, user 2026-11-13): "multiply" made the dot nearly invisible on
   dark sections (e.g. the Home hero at the very top of the page) because red multiplied with near-black is near-black.
   The ring keeps it visible on every surface, including the red one. */
.cursor-dot{position:fixed;left:0;top:0;width:10px;height:10px;border-radius:50%;background:var(--soicon-red);box-shadow:0 0 0 1.5px rgba(255,255,255,.9),0 1px 5px rgba(0,0,0,.3);pointer-events:none;z-index:1000;opacity:0;transform:translate(-50%,-50%);transition:width .16s,height .16s,opacity .16s}
.reveal{opacity:0;transform:translateY(30px);transition:opacity 1.1s cubic-bezier(.16,1,.3,1),transform 1.4s cubic-bezier(.16,1,.3,1)}.reveal.in{opacity:1;transform:none}
/* Pinegrow should show editable content even when IntersectionObserver is not running in the design canvas. */
html[data-pg-id] .reveal{opacity:1;transform:none}
@media(pointer:coarse){.cursor-dot{display:none}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*::before,*::after{animation:none!important;scroll-behavior:auto!important;transition:none!important}.reveal{opacity:1;transform:none}}

/* SOI-Web 1.01 type scale: consistent section identifiers across all standard pages */
:where(.about-kicker,.about-label,.portfolio-kicker,.section-kicker,.section-label,.eyebrow,.kicker,[class*="section-number"],[class*="section-index"]){font-size:clamp(14px,1.12vw,16px)!important;line-height:1.35}

/* PAGE TITLES (2026-11-10): one headline size for the title sections of About, Results, People, Join us and Blog – the Results
   values (challenge-explorer/assets/v5.css, .hero-v5-copy h1). Layout and kicker of all title sections follow the People hero. */
:root{--soicon-hero-title:clamp(66px,7.2vw,110px)}
@media(max-width:930px){:root{--soicon-hero-title:clamp(58px,7.9vw,88px)}}
@media(max-width:760px){:root{--soicon-hero-title:clamp(54px,9vw,81px)}}
@media(max-width:450px){:root{--soicon-hero-title:51px}}
