/* ==========================================================================
   GENESYS LABS · CAPITOLO OFFICINA 93014 · il sito nuovo (1° novembre 2026)
   officina93014.it com'è oggi: la bacheca del paese e l'officina, nei colori
   del logo. In alto la finestra del sito (testata ed eroe a 1100 × 688 px,
   con 1em = 1px del sito: regole e misure da sito/src/style.css del repo
   Officina93014.it), sotto il tabellone «Partenze» della restanza.
   La torre e il tabellone vengono dal codice vero (tower.js, board.js);
   l'accensione la muove officina.js. Tela del capitolo: 22em × 26em.
   ========================================================================== */
@font-face { font-family: 'Big Shoulders Display Officina'; font-style: normal; font-weight: 100 900; font-display: swap; src: url(../vendor/fonts/big-shoulders-display.woff2) format('woff2'); }
@font-face { font-family: 'Atkinson Hyperlegible Next Officina'; font-style: normal; font-weight: 200 800; font-display: swap; src: url(../vendor/fonts/atkinson-hyperlegible-next.woff2) format('woff2'); }

.fr-officina[data-ui] {
  --carta: #ebe2d4;
  --carta-2: #e0d4c2;
  --ruggine: #b64926;
  --rosso: #8e2800;
  --petrolio: #024059;
  --petrolio-2: #0a5f7c;
  --inchiostro: #1d1714;
  --inchiostro-2: rgba(29, 23, 20, .72);
  --sole: #f2b544;
  --of-display: 'Big Shoulders Display Officina', 'Arial Narrow', Impact, sans-serif;
  --of-testo: 'Atkinson Hyperlegible Next Officina', 'Segoe UI', system-ui, sans-serif;
  position: relative; width: 22em; height: 26em; font-size: var(--fr-fs, 14px); text-align: left;
}
.fr-officina[data-ui] *, .fr-officina[data-ui] *::before, .fr-officina[data-ui] *::after { box-sizing: border-box; }
.fr-officina[data-attivo="false"] * { animation-play-state: paused !important; }

/* il palco è largo 44 unità e alto 52 */
.of-palco { position: absolute; top: 0; right: 0; bottom: 0; left: 0; font-size: .5em; line-height: 1.3; }
.of-palco img { display: block; max-width: none; }
.of-palco svg { max-width: none; overflow: visible; }

/* ── la finestra del browser ── */
.of-fin {
  position: absolute; left: 0; top: 0; width: 44em;
  border-radius: 1.1em; overflow: hidden; background: var(--carta);
  border: .1em solid rgba(29, 23, 20, .28);
  box-shadow: 0 2.6em 5em -1.8em rgba(0, 0, 0, .6); /* taste-skill-ignore: la finestra del sito vero */
}
.of-barra { display: flex; align-items: center; gap: 1.1em; height: 2.5em; padding: 0 1.1em; background: #f6f1e9; border-bottom: .08em solid #d6cab7; }
.of-semafori { display: flex; gap: .45em; }
.of-semafori i { width: .72em; height: .72em; border-radius: 50%; background: #cfc3b0; }
.of-url { display: flex; align-items: center; gap: .55em; height: 1.6em; max-width: 19em; flex: 1; margin: 0 auto; padding: 0 .9em; border-radius: .8em; background: #ebe4d8; color: #5e554c; font-family: var(--font, 'Geist', system-ui, sans-serif); font-size: .86em; }
.of-url i { font-size: .8em; color: #8a8077; }

/* ── il sito, a misura vera: 1em = 1px di officina93014.it ── */
.of-sito {
  position: relative; width: 1100em; height: 688em; overflow: hidden;
  font-size: calc(44em / 1100);
  background: var(--carta); color: var(--inchiostro); font-family: var(--of-testo); line-height: 1.55;
}
.of-testata { position: absolute; left: 0; right: 0; top: 0; height: 70em; display: flex; align-items: center; gap: 25.6em; padding: 0 44em; }
.of-marchio { height: 46em; width: auto; }
.of-nav { display: flex; margin-left: auto; font-family: var(--of-display); font-weight: 800; font-size: 19.2em; text-transform: uppercase; line-height: 1; }
.of-nav span + span { margin-left: 1.1667em; } /* 22.4px */
.of-ing-testa { width: 30em; height: 30em; fill: var(--petrolio); display: block; }

.of-btn {
  display: inline-flex; align-items: center; justify-content: center; min-height: 2.4em; padding: .6em 1.3em;
  font-family: var(--of-display); font-weight: 800; font-size: 20em; letter-spacing: .02em; line-height: 1; border-radius: .2em; white-space: nowrap;
}
.of-btn-ruggine { background: var(--ruggine); color: #fff8ef; box-shadow: 0 .2em 0 var(--rosso); }
.of-btn-linea { box-shadow: inset 0 0 0 .1em var(--inchiostro); color: var(--inchiostro); }
.of-cta { font-size: 17.6em; min-height: 2.386em; }

.of-eroe {
  position: absolute; left: 0; top: 0; width: 1100em; height: 688em;
  display: grid; grid-template-columns: 577.5em 412.5em; gap: 22em; align-items: center;
  padding: 98em 44em 41.3em;
}
.of-kicker { margin: 0 0 1.143em; font-weight: 700; color: var(--petrolio-2); font-size: 16.8em; }
.of-motto { margin: 0; font-family: var(--of-display); font-weight: 900; text-transform: uppercase; color: var(--ruggine); font-size: 106.6em; line-height: .84; letter-spacing: -.012em; }
.of-w { display: inline-block; transform-origin: 50% 80%; }
.of-w:nth-child(4n + 2) { color: var(--rosso); }
.of-sub { margin: 1.333em 0 0; font-size: 19.2em; max-width: 36em; color: var(--inchiostro-2); }
.of-tasti { display: flex; flex-wrap: wrap; gap: 14.4em; margin: 28.8em 0 0; }
.of-torre { align-self: end; width: 412.5em; height: 574em; display: block; }

/* la torre dell'orologio (tower.js) */
.of-gear-petrolio { fill: var(--petrolio); }
.of-gear-ruggine { fill: var(--ruggine); }
.of-t-fill { fill: var(--carta-2); }
.of-t-line { fill: none; stroke: var(--inchiostro); stroke-width: 3.5; stroke-linejoin: round; stroke-linecap: round; }
.of-t-stone { fill: none; stroke: rgba(29, 23, 20, .28); stroke-width: 1.6; }
.of-t-win, .of-t-door { fill: var(--inchiostro); }
.of-t-bell { fill: var(--sole); stroke: var(--inchiostro); stroke-width: 2.5; }
.of-t-flag { fill: var(--ruggine); stroke: var(--inchiostro); stroke-width: 2; stroke-linejoin: round; }
.of-clock-face { fill: var(--carta); stroke: var(--inchiostro); stroke-width: 3.5; }
.of-clock-dial { fill: var(--carta); stroke: var(--inchiostro); stroke-width: 2.5; }
.of-hand { stroke: var(--inchiostro); stroke-linecap: round; }
.of-hand-h { stroke-width: 5; }
.of-hand-m { stroke-width: 3.5; }
.of-hand-pin { fill: var(--inchiostro); }

/* ── il tabellone delle partenze (board.js) ── */
.of-tabellone {
  position: absolute; left: 1.4em; bottom: .4em; width: 42em; padding: 1.5em 1.6em 1.7em;
  background: #10141a; border-radius: .6em;
  box-shadow: 0 0 0 .18em #2a3540, 0 1.8em 3.4em rgba(0, 0, 0, .45); /* taste-skill-ignore: il tabellone vero di Officina 93014 */
}
.of-tab-titolo { font-family: var(--of-display); font-weight: 800; font-size: 1.3em; text-transform: uppercase; color: var(--sole); margin: 0 0 .5em; letter-spacing: .04em; line-height: 1; }
.of-flap { display: grid; gap: .5em; font-family: var(--of-display); font-weight: 700; font-size: 1.62em; perspective: 20em; }
.of-riga { display: grid; grid-template-columns: 5fr 10fr 10fr; gap: .9em; }
.of-intesta { font-family: var(--of-testo); font-weight: 700; font-size: .42em; color: #8ea3b3; }
.of-campo { display: flex; gap: .12em; }
.of-c {
  position: relative; flex: 1; min-width: 0; height: 1.4em; display: grid; place-items: center; font-style: normal;
  background: linear-gradient(#262c33 50%, #1f252b 50%); /* taste-skill-ignore: le palette del tabellone vero */
  color: #f5f1e6; border-radius: .1em; line-height: 1;
}
.of-c::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: .04em; background: #0c0f12; }
.of-c.of-flip { animation: of-flap .16s ease-out; }
@keyframes of-flap { 0% { transform: rotateX(70deg); filter: brightness(1.6); } 100% { transform: rotateX(0); } }
.of-casa .of-c { color: var(--sole); }

