/* ClipWelt — "editing bay" identity
   ink #1A2238 · fog #F3F5F9 · splice amber #FFC93C · record red #E8505B · slate #636B7E */
:root {
  --ink: #1A2238; --ink-2: #2B3554; --fog: #F3F5F9; --fog-2: #E6EAF1; --paper: #FFFFFF;
  --splice: #FFC93C; --splice-deep: #E9A800; --rec: #E8505B; --go: #1F9D74; --slate: #636B7E; --line: #D9DEE7;
  --display: 'Bricolage Grotesque', 'Segoe UI', system-ui, sans-serif;
  --body: 'Instrument Sans', 'Segoe UI', system-ui, -apple-system, sans-serif;
  --r-s: 6px; --r-m: 12px; --r-l: 22px;
  --shadow: 0 1px 0 rgba(26,34,56,.06), 0 8px 24px -12px rgba(26,34,56,.28);
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--body); font-size: 16px; line-height: 1.55; color: var(--ink); background: var(--glass-2); }
img, video { max-width: 100%; display: block; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--splice); outline-offset: 2px; border-radius: 4px; }
h1, h2, h3, h4 { font-family: var(--display); line-height: 1.08; margin: 0 0 .5em; letter-spacing: -0.02em; }
h1 { font-size: clamp(2.4rem, 6vw, 4.6rem); font-weight: 800; }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.6rem); font-weight: 750; }
h3 { font-size: 1.25rem; font-weight: 700; }
p { margin: 0 0 1em; }
.muted { color: var(--slate); }
.small { font-size: .875rem; }
.wrap { width: min(1180px, 100% - 40px); margin-inline: auto; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; padding: .7em 1.15em; border-radius: 999px; border: 1.5px solid var(--edge-strong);
  background: var(--solid); color: #fff; font-weight: 600; text-decoration: none; cursor: pointer; transition: transform .12s, background .12s; white-space: nowrap; }
.btn:hover { background: var(--ink-2); }
.btn:active { transform: translateY(1px); }
.btn.splice { background: var(--splice); border-color: var(--splice); color: var(--on-accent); }
.btn.splice:hover { background: #ffd666; }
.btn.ghost { background: transparent; color: var(--ink); }
.btn.ghost:hover { background: rgba(26,34,56,.06); }
.btn.quiet { background: transparent; border-color: transparent; color: var(--ink); padding: .45em .7em; }
.btn.quiet:hover { background: rgba(26,34,56,.07); }
.btn.danger { background: transparent; border-color: var(--rec); color: var(--rec); }
.btn.sm { padding: .4em .8em; font-size: .875rem; }
.btn[disabled] { opacity: .5; cursor: not-allowed; }

/* Forms */
label.field { display: grid; gap: .3em; font-weight: 600; font-size: .9rem; }
label.field span.hint { font-weight: 400; color: var(--slate); font-size: .82rem; }
input:not([type]), input[type=text], input[type=email], input[type=password], input[type=url], input[type=number], input[type=search], select, textarea {
  width: 100%; padding: .65em .8em; border: 1.5px solid var(--line); border-radius: var(--r-s); background: var(--glass); font-weight: 400; }
input:focus, select:focus, textarea:focus { border-color: var(--edge-strong); outline: none; box-shadow: 0 0 0 3px rgba(255,201,60,.55); }
textarea { resize: vertical; min-height: 90px; line-height: 1.5; }
input[type=color] { width: 44px; height: 38px; border: 1.5px solid var(--line); border-radius: var(--r-s); padding: 2px; background: var(--glass); }
input[type=range] { width: 100%; accent-color: var(--ink); }
.check { display: flex; align-items: center; gap: .55em; font-weight: 500; cursor: pointer; }
.check input { width: 18px; height: 18px; accent-color: var(--ink); }
.row { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.grid2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.grid3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
@media (max-width: 720px) { .grid2, .grid3 { grid-template-columns: 1fr; } }

/* Splice-tape marker: the recurring motif marking a cut */
.tape { display: inline-block; background: var(--splice); color: var(--on-accent); padding: .08em .45em; border-radius: 3px; font-weight: 700; transform: rotate(-1.5deg); }
.score { display: inline-flex; align-items: baseline; gap: 2px; font-family: var(--display); font-weight: 800; }
.score b { font-size: 1.35rem; }

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }
[hidden] { display: none !important; }
