/* =========================================================
   useskill.it · web.css (7 ottobre 2026): il catalogo a due linee.
   Dal mockup v3 approvato (side-projects/useskill/site-mock-v3/, web.css e
   pagine.css), con i caratteri del sito: Bricolage Grotesque, General Sans,
   JetBrains Mono, da useskill.css. Si carica dopo useskill.css e dopo
   landing.css o landing-bundle.css, e non tocca nessuno dei tre file:
   aggiunge solo le parti nuove.
   Linea Social = fondo bone e acido. Linea Web = fondo ink con la griglia.

     1. Navigazione con le due linee
     2. Hero a due porte
     3. Etichetta della linea
     4. Linea social: schede e cataloghi
     5. Linea web: come lavorano, le cinque skill
     6. Megapack web (sopra .bundle) e quale mi serve in home
     7. Footer a quattro colonne
     8. Pagine della linea web: collage, galleria, cosa ti lascia, limiti, per chi
     9. Tabella di confronto
    10. Movimento
   Ogni modifica a questo file alza ?v= in tutte le pagine che lo caricano.
   ========================================================= */

/* ---------- 1. navigazione con le due linee ---------- */

@media (min-width: 960px) {
  .nav-links .nl-line { gap: 8px; }
  .nav-links .nl-line::before {
    content: '';
    width: 10px;
    height: 10px;
    border: 2px solid var(--ink);
  }
  .nav-links .nl-social::before { background: var(--acid); }
  .nav-links .nl-web::before { background: var(--ink); }
}

/* ---------- 2. hero a due porte ---------- */

.hero-v3 .hero-inner { padding-block: 26px clamp(48px, 6vw, 88px); }
.hero-v3 .hero-title { max-width: 14ch; }
.doors { display: grid; gap: 28px; margin-top: clamp(28px, 4vw, 48px); }
.door {
  position: relative;
  display: grid;
  gap: 14px;
  align-content: start;
  padding: 20px 20px 22px;
  border: var(--bw) solid var(--ink);
  transition: transform 160ms var(--ease-out), box-shadow 160ms var(--ease-out);
}
.door-social { background: var(--acid); box-shadow: 10px 10px 0 0 var(--ink); }
.door-web { background: var(--ink); color: var(--bone); box-shadow: 10px 10px 0 0 var(--acid), 10px 10px 0 var(--bw) var(--ink); --focus: var(--acid); }
.door-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; }
.door-name {
  font-family: var(--f-display);
  font-weight: 800;
  font-variation-settings: 'wdth' 75;
  font-size: clamp(4rem, 2rem + 7vw, 9.5rem);
  line-height: 0.8;
  letter-spacing: -0.045em;
}
.door-desc { max-width: 36ch; font-size: clamp(1rem, 0.95rem + 0.3vw, 1.1875rem); line-height: 1.45; text-wrap: pretty; }
.door-social .door-desc { color: var(--ink-2); }
.door-web .door-desc { color: var(--on-ink-2); }
.door-meta { display: flex; flex-wrap: wrap; gap: 6px 14px; font-family: var(--f-mono); font-size: 0.8125rem; font-weight: 500; }
.door-thumbs { display: flex; gap: 14px; align-items: flex-end; overflow: hidden; padding: 4px 10px 12px 2px; }
.door-thumbs img { height: clamp(104px, 11vw, 168px); width: auto; border: var(--bw) solid var(--ink); flex: none; }
.door-web .door-thumbs img { border-color: var(--bone); }
.door-thumbs img:nth-child(odd) { transform: rotate(-3deg); }
.door-thumbs img:nth-child(even) { transform: rotate(2deg); }
.door-go {
  justify-self: start;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  font-family: var(--f-mono);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  text-decoration: underline;
  text-decoration-thickness: 3px;
  text-underline-offset: 6px;
}
/* tutta la porta si apre col link, che resta l'unico elemento attivo */
.door-go::after { content: ''; position: absolute; inset: 0; }
.door:has(.door-go:focus-visible) { outline: 3px solid var(--ink); outline-offset: 4px; }
.door-go:focus-visible { outline: none; }
@media (hover: hover) and (pointer: fine) {
  .door:hover { transform: translate(-3px, -3px); }
  .door-social:hover { box-shadow: 13px 13px 0 0 var(--ink); }
  .door-web:hover { box-shadow: 13px 13px 0 0 var(--acid), 13px 13px 0 var(--bw) var(--ink); }
}
.door:active { transform: translate(4px, 4px); transition-duration: 100ms; }
@media (max-width: 559px) {
  .door-web .door-thumbs img + img { display: none; }
}
@media (min-width: 900px) {
  .doors { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; }
  .door { padding: 26px 26px 28px; }
}

/* ---------- 3. etichetta della linea ---------- */

.line-k {
  justify-self: start;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--f-mono);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  line-height: 1;
  padding: 7px 10px;
  border: var(--bw) solid currentColor;
}
.line-k::before { content: ''; width: 11px; height: 11px; background: currentColor; }
.line-k-social { background: var(--acid); color: var(--ink); }
.line-k-web { background: var(--ink); color: var(--acid); }
.door-social .line-k-social { background: var(--ink); color: var(--acid); border-color: var(--ink); }
.door-web .line-k-web { background: var(--acid); color: var(--ink); border-color: var(--acid); }
.line-head { display: grid; gap: 22px; }
.lp-hero .line-k { margin-bottom: 18px; }

/* ---------- 4. linea social ---------- */

.line-social { padding-top: clamp(64px, 8vw, 128px); border-top: var(--bw) solid var(--ink); }
.line-social .freebie-band { margin-top: 12px; }
.sk-wrap { padding-block: clamp(64px, 7vw, 104px) clamp(72px, 9vw, 140px); }
.sk-grid { display: grid; gap: 48px 28px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); }
.sk { display: grid; gap: 12px; align-content: start; }
.sk-media {
  aspect-ratio: 4 / 5;
  border: var(--bw) solid var(--ink);
  background: var(--ink);
  box-shadow: 10px 10px 0 0 var(--ink);
  overflow: hidden;
  margin-bottom: 12px;
}
.sk:nth-child(even) .sk-media { box-shadow: 10px 10px 0 0 var(--acid), 10px 10px 0 var(--bw) var(--ink); }
.sk-media img { width: 100%; height: 100%; object-fit: cover; }
.sk-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding-top: 12px; border-top: var(--bw) solid var(--ink); }
.sk-name {
  font-family: var(--f-display);
  font-weight: 800;
  font-variation-settings: 'wdth' 80;
  font-size: clamp(1.5rem, 1.2rem + 0.9vw, 2rem);
  line-height: 1;
  letter-spacing: -0.025em;
}
.sk-price { font-family: var(--f-mono); font-weight: 700; font-size: 1rem; white-space: nowrap; }
.sk-desc { color: var(--ink-2); text-wrap: pretty; }
.sk-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; margin-top: 4px; }
/* sul telefono la scheda si mette di lato: miniatura a sinistra, testo a destra */
@media (max-width: 559px) {
  .sk-grid { gap: 40px; }
  .sk { grid-template-columns: 104px minmax(0, 1fr); column-gap: 18px; align-items: start; }
  .sk > :not(.sk-media) { grid-column: 2; }
  .sk-media { grid-column: 1; grid-row: 1 / span 5; margin-bottom: 0; box-shadow: 6px 6px 0 0 var(--ink); }
  .sk:nth-child(even) .sk-media { box-shadow: 6px 6px 0 0 var(--acid), 6px 6px 0 var(--bw) var(--ink); }
  .sk-head { flex-wrap: wrap; padding-top: 0; border-top: 0; }
  .sk .req { font-size: 0.75rem; }
}

.duo { display: grid; gap: 28px; margin-top: clamp(64px, 8vw, 112px); }
.duo-main, .duo-alt { display: grid; gap: 14px; align-content: start; border: var(--bw) solid var(--ink); }
.duo-main { background: var(--acid); padding: 26px 22px 30px; box-shadow: 12px 12px 0 0 var(--ink); }
.duo-alt { background: var(--bone-2); padding: 22px 20px 24px; }
.duo-k { font-family: var(--f-mono); font-size: 0.75rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }
.duo h3 {
  font-family: var(--f-display);
  font-weight: 800;
  font-variation-settings: 'wdth' 75;
  font-size: clamp(2.25rem, 1.4rem + 3vw, 4.5rem);
  line-height: 0.9;
  letter-spacing: -0.035em;
}
.duo-alt h3 { font-size: clamp(1.75rem, 1.3rem + 1.4vw, 2.5rem); }
.duo-price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 14px; font-family: var(--f-mono); font-weight: 700; font-size: 1.125rem; }
.duo-price b { font-family: var(--f-display); font-weight: 800; font-variation-settings: 'wdth' 75; font-size: clamp(3rem, 2rem + 3vw, 5rem); line-height: 0.85; letter-spacing: -0.04em; }
.duo-alt .duo-price b { font-size: clamp(2.25rem, 1.8rem + 1.5vw, 3rem); }
.duo-text { max-width: 52ch; text-wrap: pretty; }
.duo-alt .duo-text { color: var(--ink-2); }
.duo-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin-top: 6px; }
@media (min-width: 960px) {
  .duo { grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); align-items: end; gap: 40px; }
}

/* ---------- 5. linea web ---------- */

.line-web {
  position: relative;
  isolation: isolate;
  background: var(--ink);
  color: var(--bone);
  padding-block: clamp(64px, 8vw, 128px) clamp(80px, 10vw, 160px);
  overflow-x: clip;
  --focus: var(--acid);
}
/* la griglia da progetto: decorativa, su uno pseudo-elemento, sotto il testo */
.line-web::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(245, 240, 232, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(245, 240, 232, 0.07) 1px, transparent 1px);
  background-size: 56px 56px;
  pointer-events: none;
}
.line-web .big-head h2 { color: var(--bone); }
.line-web .big-head p { color: var(--on-ink-2); }
.line-web .req-k { background: var(--acid); color: var(--ink); }
.line-web .text-link { color: var(--bone); }
.line-web code { background: var(--acid); color: var(--ink); }

.wsteps { display: grid; border-top: var(--bw) solid var(--bone); }
.wstep { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 6px 16px; align-content: start; padding-block: 20px; border-bottom: 1px solid var(--on-ink-line); }
.wstep-n { grid-row: span 2; font-family: var(--f-mono); font-weight: 700; font-size: 0.8125rem; color: var(--acid); padding-top: 4px; }
.wstep-h { font-family: var(--f-display); font-weight: 800; font-variation-settings: 'wdth' 85; font-size: 1.25rem; line-height: 1.15; }
.wstep p:not(.wstep-n):not(.wstep-h) { color: var(--on-ink-2); text-wrap: pretty; }
@media (min-width: 760px) {
  .wsteps { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 40px; }
}
@media (min-width: 1200px) {
  .wsteps { grid-template-columns: repeat(4, minmax(0, 1fr)); column-gap: 32px; }
  .wstep { border-bottom: 0; grid-template-columns: 1fr; padding-block: 22px 0; }
  .wstep-n { grid-row: auto; padding-top: 0; }
}

.wk-list { display: grid; gap: clamp(72px, 9vw, 136px); margin-top: clamp(64px, 8vw, 120px); }
.wk { display: grid; gap: 30px; align-items: center; }
.wk-shot { margin: 0; min-width: 0; }
.wk-frame {
  aspect-ratio: 1400 / 680;
  border: var(--bw) solid var(--bone);
  background: var(--bone);
  box-shadow: 14px 14px 0 0 var(--acid);
  overflow: hidden;
}
.wk-frame img { width: 100%; height: 100%; object-fit: cover; object-position: top left; }
.wk-cap { margin-top: 20px; font-family: var(--f-mono); font-size: 0.75rem; line-height: 1.55; color: var(--on-ink-2); max-width: 70ch; }
.wk-cap b { color: var(--bone); font-weight: 700; }
.wk-body { display: grid; gap: 14px; justify-items: start; min-width: 0; }
.wk-n { font-family: var(--f-mono); font-size: 0.75rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--acid); }
.wk-name {
  font-family: var(--f-display);
  font-weight: 800;
  font-variation-settings: 'wdth' 75;
  font-size: clamp(2.5rem, 1.5rem + 3.6vw, 5rem);
  line-height: 0.88;
  letter-spacing: -0.04em;
  text-wrap: balance;
}
.wk-price { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; color: var(--acid); font-family: var(--f-display); font-weight: 800; font-variation-settings: 'wdth' 75; font-size: clamp(2rem, 1.6rem + 1.4vw, 3rem); line-height: 1; letter-spacing: -0.03em; }
.wk-desc { max-width: 46ch; color: var(--on-ink-2); text-wrap: pretty; }
.wk-desc strong { color: var(--bone); font-weight: 600; }
.wk-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 22px; margin-top: 4px; }
@media (max-width: 699px) {
  .wk-list { gap: 64px; }
  .wk { gap: 20px; }
  .wk-frame { box-shadow: 8px 8px 0 0 var(--acid); }
  .wk-cap { margin-top: 14px; }
  .wk-body { gap: 10px; }
}
@media (min-width: 1000px) {
  .wk { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(40px, 5vw, 88px); }
  .wk:nth-child(even) .wk-shot { order: 2; }
  /* rotate e non transform: l'animazione di entrata usa transform e non la cancella */
  .wk:nth-child(odd) .wk-frame { rotate: -1.2deg; }
  .wk:nth-child(even) .wk-frame { rotate: 1.2deg; }
}

/* ---------- 6. Megapack web, sopra .bundle, e quale mi serve in home ---------- */

.mega .bl-price { white-space: nowrap; }
.mega-links { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 24px; }

.pick { padding-block: clamp(72px, 9vw, 140px); }
.pick-list { border-top: var(--bw) solid var(--ink); }
.pick-list li {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 4px 24px;
  padding-block: 16px;
  border-bottom: var(--bw) solid var(--ink);
}
.pick-need { font-size: clamp(1.0625rem, 1rem + 0.3vw, 1.25rem); }
.pick-skill { font-family: var(--f-display); font-weight: 800; font-variation-settings: 'wdth' 85; font-size: clamp(1.25rem, 1.05rem + 0.7vw, 1.75rem); line-height: 1.05; }
.pick-skill a { text-decoration-thickness: 2px; text-underline-offset: 4px; }
.pick .text-link { margin-top: 18px; }
@media (min-width: 760px) {
  .pick-list li { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); align-items: baseline; }
}

/* ---------- 7. footer con le due linee: quattro colonne da 1100 px ---------- */

@media (min-width: 900px) and (max-width: 1099px) {
  .footer-cols-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1100px) {
  .footer-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); width: min(100%, 960px); }
}

/* ---------- 8. pagine della linea web ---------- */

/* collage della testata con schermate orizzontali (da desktop, come .lp-collage) */
@media (min-width: 1000px) {
  .lp-collage-web { aspect-ratio: 1 / 0.95; }
  .lp-collage-web .lp-shot-a { left: 0; top: 0; width: 100%; transform: rotate(-3deg); box-shadow: 14px 14px 0 0 var(--ink); }
  .lp-collage-web .lp-shot-b {
    right: -4%;
    top: 36%;
    width: 92%;
    z-index: var(--z-raised);
    transform: rotate(2deg);
    box-shadow: 14px 14px 0 0 var(--acid), 14px 14px 0 var(--bw) var(--ink);
  }
}

/* galleria delle demo, su fondo ink (.proofs di useskill.css) */
.gal { display: grid; gap: clamp(64px, 8vw, 112px); }
.gal-item { margin: 0; display: grid; gap: 26px; }
.gal-frame {
  aspect-ratio: 1400 / 680;
  border: var(--bw) solid var(--bone);
  background: var(--bone);
  box-shadow: 14px 14px 0 0 var(--acid);
  overflow: hidden;
}
.gal-frame img { width: 100%; height: 100%; object-fit: cover; object-position: top left; }
.gal-item:nth-child(2) .gal-frame { box-shadow: 14px 14px 0 0 var(--bone); border-color: var(--acid); }
.gal-item .ask { margin-top: 0; max-width: 62ch; }
@media (min-width: 1000px) {
  .gal-item { grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); align-items: end; gap: clamp(32px, 4vw, 64px); }
  .gal-item:nth-child(even) { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); }
  .gal-item:nth-child(even) .gal-frame { order: 2; }
  .gal-item:nth-child(odd) .gal-frame { rotate: -1deg; }
  .gal-item:nth-child(even) .gal-frame { rotate: 1deg; }
}

.proven { margin-top: clamp(64px, 8vw, 112px); display: grid; gap: 18px; padding-top: 22px; border-top: var(--bw) solid var(--bone); }
.proven h3 {
  font-family: var(--f-display);
  font-weight: 800;
  font-variation-settings: 'wdth' 80;
  font-size: clamp(1.75rem, 1.3rem + 1.6vw, 2.75rem);
  line-height: 0.95;
  letter-spacing: -0.03em;
  color: var(--bone);
}
.proven-list { display: grid; gap: 12px; max-width: 72ch; }
.proven-list li { position: relative; padding-left: 26px; color: var(--on-ink-2); text-wrap: pretty; }
.proven-list li::before { content: ''; position: absolute; left: 0; top: 0.5em; width: 11px; height: 11px; background: var(--acid); }
.proven-list li.proven-no::before { background: transparent; border: 2px solid var(--acid); }
.proven-list strong { color: var(--bone); font-weight: 600; }
.proven-list code { background: var(--acid); color: var(--ink); }

/* cosa ti lascia, su due colonne */
.get { padding-block: clamp(72px, 9vw, 140px); }
.get-list { border-top: var(--bw) solid var(--ink); }
.get-list div { display: grid; gap: 6px 24px; padding-block: 16px; border-bottom: 2px solid var(--ink); }
.get-list dt { font-family: var(--f-mono); font-weight: 700; font-size: 0.9375rem; overflow-wrap: anywhere; }
.get-list dd { margin: 0; color: var(--ink-2); text-wrap: pretty; }
@media (min-width: 760px) {
  .get-list div { grid-template-columns: minmax(0, 1fr) minmax(0, 2.6fr); align-items: baseline; }
}

/* limiti dichiarati */
.limits-sec { background: var(--bone-2); border-top: var(--bw) solid var(--ink); padding-block: clamp(72px, 9vw, 140px); }
.limits-grid { display: grid; gap: 48px; }
.limits { border-top: var(--bw) solid var(--ink); }
.limits li { display: grid; gap: 6px; padding-block: 18px; border-bottom: 2px solid var(--ink); }
.limits b {
  font-family: var(--f-display);
  font-weight: 800;
  font-variation-settings: 'wdth' 85;
  font-size: clamp(1.25rem, 1.1rem + 0.6vw, 1.625rem);
  line-height: 1.1;
}
.limits span { color: var(--ink-2); text-wrap: pretty; max-width: 62ch; }
.limits-fig { margin: 0; display: grid; gap: 14px; align-content: start; }
.limits-fig img { border: var(--bw) solid var(--ink); box-shadow: 10px 10px 0 0 var(--ink); width: 100%; height: auto; }
.limits-fig figcaption { font-family: var(--f-mono); font-size: 0.75rem; line-height: 1.55; color: var(--ink-2); }
@media (min-width: 1000px) {
  .limits-grid { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: clamp(40px, 5vw, 96px); align-items: start; }
  .limits-fig { position: sticky; top: calc(var(--nav-h) + 32px); }
}

/* per chi e' (Megapack) */
.forwho { display: grid; gap: 28px; }
.forwho-card { display: grid; gap: 12px; align-content: start; padding: 24px 22px 26px; border: var(--bw) solid var(--ink); background: var(--bone); }
.forwho-card:nth-child(2) { background: var(--ink); color: var(--bone); box-shadow: 12px 12px 0 0 var(--acid), 12px 12px 0 var(--bw) var(--ink); }
.forwho-card h3 {
  font-family: var(--f-display);
  font-weight: 800;
  font-variation-settings: 'wdth' 80;
  font-size: clamp(1.75rem, 1.3rem + 1.6vw, 2.75rem);
  line-height: 0.95;
  letter-spacing: -0.03em;
}
.forwho-card p { color: var(--ink-2); text-wrap: pretty; }
.forwho-card:nth-child(2) p { color: var(--on-ink-2); }
.forwho-card:nth-child(2) code { background: var(--acid); color: var(--ink); }
@media (min-width: 900px) {
  .forwho { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px; }
}

/* le cinque skill del Megapack: miniature orizzontali (schermate computer e telefono) */
.lp-skills-web .lp-skill { grid-template-columns: minmax(0, 1fr); grid-template-areas: "media" "head" "body"; }
.lp-skills-web .lp-thumb { aspect-ratio: 1400 / 680; object-position: top left; }
.lp-skills-web .lp-skill-media { max-width: 520px; }
@media (min-width: 900px) {
  .lp-skills-web .lp-skill {
    grid-template-columns: clamp(300px, 30vw, 440px) minmax(0, 1fr);
    grid-template-areas: "media head" "media body";
  }
}

/* ---------- 9. tabella di confronto ---------- */

.cmp-head { margin-top: 18px; margin-bottom: 0; }
.cmp-sec { padding-block: clamp(40px, 5vw, 72px) clamp(72px, 9vw, 140px); }
.cmp-scroll { border: var(--bw) solid var(--ink); background: var(--bone); }
.cmp { width: 100%; border-collapse: collapse; }
.cmp caption { text-align: left; padding: 14px 16px; font-family: var(--f-mono); font-size: 0.8125rem; color: var(--ink-2); border-bottom: var(--bw) solid var(--ink); }
.cmp th, .cmp td { padding: 16px; text-align: left; vertical-align: top; border-bottom: 2px solid var(--ink); text-wrap: pretty; }
.cmp thead th { background: var(--ink); color: var(--acid); font-family: var(--f-mono); font-size: 0.75rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }
.cmp tbody th { width: 17%; }
.cmp tbody th a { font-family: var(--f-display); font-weight: 800; font-variation-settings: 'wdth' 85; font-size: 1.375rem; line-height: 1.05; text-decoration-thickness: 2px; text-underline-offset: 4px; }
.cmp tbody th span { display: block; margin-top: 8px; font-family: var(--f-mono); font-size: 0.8125rem; font-weight: 700; }
.cmp tbody tr:nth-child(even) { background: var(--bone-2); }
.cmp tbody tr:target { background: var(--acid); }
.cmp td { color: var(--ink-2); font-size: 0.9375rem; }
/* sotto i 900 px ogni riga diventa una scheda, con l'etichetta della colonna sopra la cella */
@media (max-width: 899px) {
  .cmp thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .cmp, .cmp caption, .cmp tbody, .cmp tr, .cmp th, .cmp td, .cmp tbody th { display: block; width: auto; }
  .cmp tbody tr { border-bottom: var(--bw) solid var(--ink); padding-bottom: 6px; }
  .cmp tbody tr:last-child { border-bottom: 0; }
  .cmp th, .cmp td { border-bottom: 0; padding: 10px 16px; }
  .cmp tbody th { padding-top: 18px; }
  .cmp td::before {
    content: attr(data-k);
    display: block;
    margin-bottom: 4px;
    font-family: var(--f-mono);
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--ink);
  }
}
.cmp-note { margin-top: 22px; max-width: 70ch; font-family: var(--f-mono); font-size: 0.8125rem; line-height: 1.6; color: var(--ink-2); }
.cmp-sec .btn { margin-top: 18px; }

/* ---------- 10. movimento ---------- */

@media (prefers-reduced-motion: no-preference) {
  @supports (animation-timeline: view()) {
    .wk-frame, .sk-media {
      animation: rise-in var(--ease-out) both;
      animation-timeline: view();
      animation-range: entry 0% entry 100%;
    }
    .door-name {
      animation: push-in var(--ease-out) both;
      animation-timeline: view();
      animation-range: entry 0% cover 30%;
    }
  }
}
@media (prefers-reduced-motion: reduce) {
  .door, .door:hover, .door:active { transform: none !important; transition: none; }
}
