/* SB-presentationen – grund. Jungs formspråk enligt inskicket 12/11. */
@font-face{font-family:'AM Kosmos';font-weight:500;font-display:swap;src:url("/fonts/AMKosmos-Medium.woff2") format("woff2")}
@font-face{font-family:'Jung Times';font-weight:700;font-display:swap;src:url("/fonts/TimesCond-Bold.woff2") format("woff2")}

:root{
  --ink:#030303; --ink-2:#141414; --ink-3:#3a3a3a;
  --paper:#f0f0ee; --paper-2:#e6e6e3; --white:#fff;
  --line:rgba(3,3,3,.12); --muted:#6e6e6e;
  --studio:#2b2b2a; --studio-2:#1f1f1e;
  --red:#ff3b2a; --orange:#ff8a1f; --green:#2fb36a; --blue:#4f8dff; --yellow:#f4d03f;
  --visited:#6c4ad6; --visited-bg:rgba(108,74,214,.12);
  --sb-green:#00813c; --sb-yellow:#fcd205;
  --serif:'Jung Times','Times New Roman MT Condensed','Times New Roman',serif;
  --sans:'AM Kosmos','Helvetica Neue',Arial,sans-serif;
  --r-pill:4rem; --r-card:.75rem;
  --ease:cubic-bezier(.2,.7,.1,1); --ease-io:cubic-bezier(.65,0,.35,1);
}
*,*::before,*::after{box-sizing:border-box}
html,body{margin:0;height:100%}
body{background:var(--paper);color:var(--ink);font-family:var(--sans);font-weight:500;line-height:1.4;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}
img,video,svg{display:block;max-width:100%}
a{color:inherit}
button{font:inherit;color:inherit;background:none;border:0;padding:0;cursor:pointer}
h1,h2,h3,h4,p{margin:0}
h1,h2,h3,h4{font-family:var(--serif);font-weight:700;letter-spacing:-.025em;line-height:.92}
.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.pill{display:inline-flex;align-items:center;gap:.4em;padding:.35em .8em;border-radius:var(--r-pill);font-size:.8rem;line-height:1;letter-spacing:.02em;background:var(--ink);color:#fff}
[hidden]{display:none!important}
@keyframes fadeUp{from{opacity:0;transform:translateY(14px)}to{opacity:1;transform:none}}
/* SV/EN-switch */
@property --fill{syntax:'<color>';inherits:true;initial-value:#030303}
@property --dim{syntax:'<color>';inherits:true;initial-value:rgba(3,3,3,.32)}
.lang-switch{display:inline-flex;align-items:center;gap:.15em;font-size:.78rem;line-height:1;flex:none;letter-spacing:.06em}
.lang-switch::before{content:"/";order:1;opacity:.3}
.lang-switch button{position:relative;padding:.4em .2em;color:inherit;opacity:.38;transition:opacity .25s}
.lang-switch button[data-lang=en]{order:2}
.lang-switch button:hover{opacity:.7}
.lang-switch button[aria-pressed=true]{opacity:1}
.lang-switch button::after{content:"";position:absolute;left:.2em;right:.2em;bottom:0;height:1.5px;background:currentColor;transform:scaleX(0);transform-origin:left;transition:transform .45s var(--ease)}
.lang-switch button[aria-pressed=true]::after{transform:scaleX(1)}
.lang-switch.dark{color:#fff}
/* Som en app: ingen text markeras och inga bilder dras eller sparas. Fält och redigeringsläget fungerar som vanligt. */
html,body{overscroll-behavior:none}
.app,.gate,.player{-webkit-user-select:none;user-select:none;-webkit-touch-callout:none}
.app img,.app video,.app svg,.app a,.player video{-webkit-user-drag:none;user-drag:none}
input,textarea,[contenteditable]{-webkit-user-select:text;user-select:text}
